@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.
Files changed (274) hide show
  1. package/dist/DateTimeComponent-DX3ALs4U.cjs +1 -0
  2. package/dist/DateTimeComponent-DaF6ca1f.js +174 -0
  3. package/dist/EquationComponent-BrbIAXFZ.js +105 -0
  4. package/dist/EquationComponent-DFRdSLyf.cjs +3 -0
  5. package/dist/ExcalidrawComponent-B2RIlh-t.js +174 -0
  6. package/dist/ExcalidrawComponent-VGrNBMwa.cjs +1 -0
  7. package/dist/ImageComponent-CFLPSAon.cjs +1 -0
  8. package/dist/ImageComponent-Dr9Y0gPd.js +286 -0
  9. package/dist/ImageResizer-riowDF8s.cjs +1 -0
  10. package/dist/ImageResizer-wZz1Oitl.js +199 -0
  11. package/dist/PollComponent-DpWrUNaL.js +152 -0
  12. package/dist/PollComponent-hitipp8H.cjs +1 -0
  13. package/dist/QuestionComponent-BYluUh-8.cjs +1 -0
  14. package/dist/QuestionComponent-DQFO_Or8.js +60 -0
  15. package/dist/StickyComponent-B-sytJ7W.js +161 -0
  16. package/dist/StickyComponent-DGi089bO.cjs +1 -0
  17. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  18. package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
  19. package/dist/babel-CqfpZa5G.js +7195 -0
  20. package/dist/babel-CryJy3T1.cjs +15 -0
  21. package/dist/estree-CJTW2kur.cjs +44 -0
  22. package/dist/estree-DmlwiAu4.js +4453 -0
  23. package/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  24. package/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  25. package/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  26. package/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  27. package/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  28. package/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  29. package/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  30. package/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  31. package/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  32. package/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  33. package/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  34. package/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  35. package/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  36. package/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  37. package/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  38. package/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  39. package/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  40. package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  41. package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  42. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  43. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  44. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  45. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  46. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  47. package/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  48. package/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  49. package/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  50. package/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  51. package/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  52. package/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  53. package/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  54. package/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  55. package/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  56. package/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  57. package/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  58. package/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  59. package/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  60. package/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  61. package/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  62. package/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  63. package/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  64. package/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  65. package/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  66. package/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  67. package/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  68. package/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  69. package/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  70. package/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  71. package/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  72. package/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  73. package/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  74. package/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  75. package/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  76. package/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  77. package/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  78. package/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  79. package/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  80. package/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  81. package/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  82. package/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  83. package/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  84. package/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  85. package/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  86. package/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  87. package/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  88. package/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  89. package/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  90. package/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  91. package/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  92. package/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  93. package/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  94. package/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  95. package/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  96. package/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  97. package/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  98. package/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  99. package/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  100. package/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  101. package/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  102. package/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  103. package/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  104. package/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  105. package/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  106. package/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  107. package/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  108. package/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  109. package/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  110. package/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  111. package/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  112. package/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  113. package/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  114. package/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  115. package/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  116. package/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  117. package/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  118. package/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  119. package/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  120. package/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  121. package/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  122. package/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  123. package/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  124. package/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  125. package/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  126. package/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  127. package/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  128. package/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  129. package/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  130. package/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  131. package/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  132. package/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  133. package/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  134. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  135. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  136. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  137. package/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  138. package/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  139. package/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  140. package/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  141. package/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  142. package/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  143. package/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  144. package/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  145. package/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  146. package/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  147. package/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  148. package/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  149. package/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  150. package/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  151. package/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  152. package/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  153. package/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  154. package/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  155. package/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  156. package/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  157. package/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  158. package/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  159. package/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  160. package/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  161. package/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  162. package/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  163. package/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  164. package/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  165. package/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  166. package/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  167. package/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  168. package/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  169. package/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  170. package/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  171. package/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  172. package/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  173. package/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  174. package/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  175. package/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  176. package/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  177. package/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  178. package/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  179. package/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  180. package/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  181. package/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  182. package/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  183. package/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  184. package/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  185. package/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  186. package/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  187. package/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  188. package/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  189. package/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  190. package/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  191. package/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  192. package/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  193. package/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  194. package/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  195. package/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  196. package/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  197. package/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  198. package/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  199. package/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  200. package/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  201. package/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  202. package/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  203. package/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  204. package/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  205. package/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  206. package/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  207. package/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  208. package/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  209. package/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  210. package/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  211. package/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  212. package/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  213. package/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  214. package/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  215. package/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  216. package/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  217. package/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  218. package/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  219. package/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  220. package/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  221. package/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  222. package/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  223. package/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  224. package/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  225. package/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  226. package/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  227. package/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  228. package/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  229. package/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  230. package/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  231. package/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  232. package/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  233. package/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  234. package/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  235. package/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  236. package/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  237. package/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  238. package/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  239. package/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  240. package/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  241. package/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  242. package/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  243. package/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  244. package/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  245. package/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  246. package/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  247. package/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  248. package/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  249. package/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  250. package/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  251. package/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  252. package/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  253. package/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  254. package/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  255. package/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  256. package/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  257. package/dist/html-C9xlBp6Q.cjs +25 -0
  258. package/dist/html-COoGaLph.js +2788 -0
  259. package/dist/index-BF-WAqsp.cjs +5 -0
  260. package/dist/index-C0BTrOQP.js +28947 -0
  261. package/dist/index.cjs +1 -0
  262. package/dist/index.d.ts +2 -0
  263. package/dist/index.mjs +4 -0
  264. package/dist/logo.svg +1 -0
  265. package/dist/markdown-B0Hak0DU.cjs +62 -0
  266. package/dist/markdown-BDWdOrGs.js +3192 -0
  267. package/dist/postcss-Byg44mmr.cjs +61 -0
  268. package/dist/postcss-CCzdrMa5.js +4735 -0
  269. package/dist/standalone-9koseMU7.js +2429 -0
  270. package/dist/standalone-B68uB4ar.cjs +29 -0
  271. package/dist/style.css +1 -0
  272. package/dist/typescript-BKKrhwbC.cjs +21 -0
  273. package/dist/typescript-BWpY7CXP.js +12965 -0
  274. package/package.json +106 -0
@@ -0,0 +1,2788 @@
1
+ import { g as $o } from "./_commonjsHelpers-C6fGbg64.js";
2
+ function jo(oe, Qe) {
3
+ for (var B = 0; B < Qe.length; B++) {
4
+ const I = Qe[B];
5
+ if (typeof I != "string" && !Array.isArray(I)) {
6
+ for (const L in I)
7
+ if (L !== "default" && !(L in oe)) {
8
+ const ue = Object.getOwnPropertyDescriptor(I, L);
9
+ ue && Object.defineProperty(oe, L, ue.get ? ue : {
10
+ enumerable: !0,
11
+ get: () => I[L]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(oe, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var Ot = { exports: {} }, ln;
19
+ function Xo() {
20
+ return ln || (ln = 1, (function(oe, Qe) {
21
+ (function(B) {
22
+ function I() {
23
+ var L = B();
24
+ return L.default || L;
25
+ }
26
+ oe.exports = I();
27
+ })(function() {
28
+ var B = Object.defineProperty, I = Object.getOwnPropertyDescriptor, L = Object.getOwnPropertyNames, ue = Object.prototype.hasOwnProperty, It = (e) => {
29
+ throw TypeError(e);
30
+ }, mn = (e, t, r) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
31
+ for (var r in t) B(e, r, { get: t[r], enumerable: !0 });
32
+ }, gn = (e, t, r, n) => {
33
+ if (t && typeof t == "object" || typeof t == "function") for (let a of L(t)) !ue.call(e, a) && a !== r && B(e, a, { get: () => t[a], enumerable: !(n = I(t, a)) || n.enumerable });
34
+ return e;
35
+ }, fn = (e) => gn(B({}, "__esModule", { value: !0 }), e), Mt = (e, t, r) => mn(e, typeof t != "symbol" ? t + "" : t, r), _n = (e, t, r) => t.has(e) || It("Cannot " + r), Oe = (e, t, r) => (_n(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Cn = (e, t, r) => t.has(e) ? It("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), qt = {};
36
+ Rt(qt, { languages: () => co, options: () => ho, parsers: () => en, printers: () => zo });
37
+ var Ze = (e, t) => (r, n, ...a) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, a), vn = String.prototype.replaceAll ?? function(e, t) {
38
+ return e.global ? this.replace(e, t) : this.split(e).join(t);
39
+ }, En = Ze("replaceAll", function() {
40
+ if (typeof this == "string") return vn;
41
+ }), k = En;
42
+ function Sn(e) {
43
+ return this[e < 0 ? this.length + e : e];
44
+ }
45
+ var An = Ze("at", function() {
46
+ if (Array.isArray(this) || typeof this == "string") return Sn;
47
+ }), Y = An, Tn = () => {
48
+ }, bn = Tn, Ht = "string", Vt = "array", Ut = "cursor", et = "indent", tt = "align", Wt = "trim", rt = "group", nt = "fill", at = "if-break", it = "indent-if-break", zt = "line-suffix", $t = "line-suffix-boundary", J = "line", jt = "label", st = "break-parent", Xt = /* @__PURE__ */ new Set([Ut, et, tt, Wt, rt, nt, at, it, zt, $t, J, jt, st]);
49
+ function kn(e) {
50
+ if (typeof e == "string") return Ht;
51
+ if (Array.isArray(e)) return Vt;
52
+ if (!e) return;
53
+ let { type: t } = e;
54
+ if (Xt.has(t)) return t;
55
+ }
56
+ var Gt = kn, wn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
57
+ function yn(e) {
58
+ let t = e === null ? "null" : typeof e;
59
+ if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
60
+ Expected it to be 'string' or 'object'.`;
61
+ if (Gt(e)) throw new Error("doc is valid.");
62
+ let r = Object.prototype.toString.call(e);
63
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
64
+ let n = wn([...Xt].map((a) => `'${a}'`));
65
+ return `Unexpected doc.type '${e.type}'.
66
+ Expected it to be ${n}.`;
67
+ }
68
+ var Dn = class extends Error {
69
+ name = "InvalidDocError";
70
+ constructor(e) {
71
+ super(yn(e)), this.doc = e;
72
+ }
73
+ }, xn = Dn;
74
+ function Kt(e, t) {
75
+ if (typeof e == "string") return t(e);
76
+ let r = /* @__PURE__ */ new Map();
77
+ return n(e);
78
+ function n(i) {
79
+ if (r.has(i)) return r.get(i);
80
+ let s = a(i);
81
+ return r.set(i, s), s;
82
+ }
83
+ function a(i) {
84
+ switch (Gt(i)) {
85
+ case Vt:
86
+ return t(i.map(n));
87
+ case nt:
88
+ return t({ ...i, parts: i.parts.map(n) });
89
+ case at:
90
+ return t({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
91
+ case rt: {
92
+ let { expandedStates: s, contents: o } = i;
93
+ return s ? (s = s.map(n), o = s[0]) : o = n(o), t({ ...i, contents: o, expandedStates: s });
94
+ }
95
+ case tt:
96
+ case et:
97
+ case it:
98
+ case jt:
99
+ case zt:
100
+ return t({ ...i, contents: n(i.contents) });
101
+ case Ht:
102
+ case Ut:
103
+ case Wt:
104
+ case $t:
105
+ case J:
106
+ case st:
107
+ return t(i);
108
+ default:
109
+ throw new xn(i);
110
+ }
111
+ }
112
+ }
113
+ function O(e, t = In) {
114
+ return Kt(e, (r) => typeof r == "string" ? Q(t, r.split(`
115
+ `)) : r);
116
+ }
117
+ var Nn = bn;
118
+ function F(e) {
119
+ return { type: et, contents: e };
120
+ }
121
+ function Bn(e, t) {
122
+ return { type: tt, contents: t, n: e };
123
+ }
124
+ function Ln(e) {
125
+ return Bn(Number.NEGATIVE_INFINITY, e);
126
+ }
127
+ var le = { type: st };
128
+ function Yt(e) {
129
+ return { type: nt, parts: e };
130
+ }
131
+ function A(e, t = {}) {
132
+ return Nn(t.expandedStates), { type: rt, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
133
+ }
134
+ function ce(e, t = "", r = {}) {
135
+ return { type: at, breakContents: e, flatContents: t, groupId: r.groupId };
136
+ }
137
+ function On(e, t) {
138
+ return { type: it, contents: e, groupId: t.groupId, negate: t.negate };
139
+ }
140
+ function Q(e, t) {
141
+ let r = [];
142
+ for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
143
+ return r;
144
+ }
145
+ var S = { type: J }, b = { type: J, soft: !0 }, Fn = { type: J, hard: !0 }, E = [Fn, le], Pn = { type: J, hard: !0, literal: !0 }, In = [Pn, le], Jt = Object.freeze({ character: "'", codePoint: 39 }), Qt = Object.freeze({ character: '"', codePoint: 34 }), Rn = Object.freeze({ preferred: Jt, alternate: Qt }), Mn = Object.freeze({ preferred: Qt, alternate: Jt });
146
+ function qn(e, t) {
147
+ let { preferred: r, alternate: n } = t === !0 || t === "'" ? Rn : Mn, { length: a } = e, i = 0, s = 0;
148
+ for (let o = 0; o < a; o++) {
149
+ let l = e.charCodeAt(o);
150
+ l === r.codePoint ? i++ : l === n.codePoint && s++;
151
+ }
152
+ return (i > s ? n : r).character;
153
+ }
154
+ var Hn = qn;
155
+ function Vn(e) {
156
+ if (typeof e != "string") throw new TypeError("Expected a string");
157
+ return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
158
+ }
159
+ var Un = class {
160
+ #e;
161
+ constructor(e) {
162
+ this.#e = new Set(e);
163
+ }
164
+ getLeadingWhitespaceCount(e) {
165
+ let t = this.#e, r = 0;
166
+ for (let n = 0; n < e.length && t.has(e.charAt(n)); n++) r++;
167
+ return r;
168
+ }
169
+ getTrailingWhitespaceCount(e) {
170
+ let t = this.#e, r = 0;
171
+ for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--) r++;
172
+ return r;
173
+ }
174
+ getLeadingWhitespace(e) {
175
+ let t = this.getLeadingWhitespaceCount(e);
176
+ return e.slice(0, t);
177
+ }
178
+ getTrailingWhitespace(e) {
179
+ let t = this.getTrailingWhitespaceCount(e);
180
+ return e.slice(e.length - t);
181
+ }
182
+ hasLeadingWhitespace(e) {
183
+ return this.#e.has(e.charAt(0));
184
+ }
185
+ hasTrailingWhitespace(e) {
186
+ return this.#e.has(Y(0, e, -1));
187
+ }
188
+ trimStart(e) {
189
+ let t = this.getLeadingWhitespaceCount(e);
190
+ return e.slice(t);
191
+ }
192
+ trimEnd(e) {
193
+ let t = this.getTrailingWhitespaceCount(e);
194
+ return e.slice(0, e.length - t);
195
+ }
196
+ trim(e) {
197
+ return this.trimEnd(this.trimStart(e));
198
+ }
199
+ split(e, t = !1) {
200
+ let r = `[${Vn([...this.#e].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
201
+ return e.split(n);
202
+ }
203
+ hasWhitespaceCharacter(e) {
204
+ let t = this.#e;
205
+ return Array.prototype.some.call(e, (r) => t.has(r));
206
+ }
207
+ hasNonWhitespaceCharacter(e) {
208
+ let t = this.#e;
209
+ return Array.prototype.some.call(e, (r) => !t.has(r));
210
+ }
211
+ isWhitespaceOnly(e) {
212
+ let t = this.#e;
213
+ return Array.prototype.every.call(e, (r) => t.has(r));
214
+ }
215
+ #t(e) {
216
+ let t = Number.POSITIVE_INFINITY;
217
+ for (let r of e.split(`
218
+ `)) {
219
+ if (r.length === 0) continue;
220
+ let n = this.getLeadingWhitespaceCount(r);
221
+ if (n === 0) return 0;
222
+ r.length !== n && n < t && (t = n);
223
+ }
224
+ return t === Number.POSITIVE_INFINITY ? 0 : t;
225
+ }
226
+ dedentString(e) {
227
+ let t = this.#t(e);
228
+ return t === 0 ? e : e.split(`
229
+ `).map((r) => r.slice(t)).join(`
230
+ `);
231
+ }
232
+ }, Wn = Un, zn = [" ", `
233
+ `, "\f", "\r", " "], $n = new Wn(zn), D = $n, jn = class extends Error {
234
+ name = "UnexpectedNodeError";
235
+ constructor(e, t, r = "type") {
236
+ super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`), this.node = e;
237
+ }
238
+ }, Xn = jn, Gn = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Kn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
239
+ function Zt(e, t, r) {
240
+ if (e.kind === "text" || e.kind === "comment") return null;
241
+ if (e.kind === "yaml" && delete t.value, e.kind === "attribute") {
242
+ let { fullName: n, value: a } = e;
243
+ n === "style" || n === "class" || n === "srcset" && (r.fullName === "img" || r.fullName === "source") || n === "allow" && r.fullName === "iframe" || n.startsWith("on") || n.startsWith("@") || n.startsWith(":") || n.startsWith(".") || n.startsWith("#") || n.startsWith("v-") || n === "vars" && r.fullName === "style" || (n === "setup" || n === "generic") && r.fullName === "script" || n === "slot-scope" || n.startsWith("(") || n.startsWith("[") || n.startsWith("*") || n.startsWith("bind") || n.startsWith("i18n") || n.startsWith("on-") || n.startsWith("ng-") || a?.includes("{{") ? delete t.value : a && (t.value = k(0, a, /'|&quot;|&apos;/gu, '"'));
244
+ }
245
+ if (e.kind === "docType" && (t.value = k(0, e.value.toLowerCase(), /\s+/gu, " ")), e.kind === "angularControlFlowBlock" && e.parameters?.children) for (let n of t.parameters.children) Kn.has(e.name) ? delete n.expression : n.expression = n.expression.trim();
246
+ e.kind === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.kind === "angularLetDeclarationInitializer" && delete t.value, e.kind === "element" && e.isVoid && !e.isSelfClosing && (t.isSelfClosing = !0);
247
+ }
248
+ Zt.ignoredProperties = Gn;
249
+ var Yn = Zt;
250
+ function pe(e, t = !0) {
251
+ return [F([b, e]), t ? b : ""];
252
+ }
253
+ function Z(e, t) {
254
+ let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
255
+ return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
256
+ }
257
+ async function x(e, t, r, n) {
258
+ r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
259
+ let a = !0;
260
+ n && (r.__onHtmlBindingRoot = (s, o) => {
261
+ a = n(s, o);
262
+ });
263
+ let i = await t(e, r, t);
264
+ return a ? A(i) : pe(i);
265
+ }
266
+ function Jn(e, t, r, n) {
267
+ let { node: a } = r, i = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
268
+ return /^\s*$/u.test(i) ? "" : x(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, Z);
269
+ }
270
+ var Qn = Jn, Zn = Array.prototype.toReversed ?? function() {
271
+ return [...this].reverse();
272
+ }, ea = Ze("toReversed", function() {
273
+ if (Array.isArray(this)) return Zn;
274
+ }), ta = ea;
275
+ function ra() {
276
+ let e = globalThis, t = e.Deno?.build?.os;
277
+ return typeof t == "string" ? t === "windows" : e.navigator?.platform?.startsWith("Win") ?? e.process?.platform?.startsWith("win") ?? !1;
278
+ }
279
+ var na = ra();
280
+ function er(e) {
281
+ if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
282
+ return e;
283
+ }
284
+ function aa(e) {
285
+ return e = er(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
286
+ }
287
+ function ia(e) {
288
+ e = er(e);
289
+ let t = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
290
+ return e.hostname !== "" && (t = `\\\\${e.hostname}${t}`), t;
291
+ }
292
+ function sa(e) {
293
+ return na ? ia(e) : aa(e);
294
+ }
295
+ var oa = (e) => String(e).split(/[/\\]/u).pop(), ua = (e) => String(e).startsWith("file:");
296
+ function la(e) {
297
+ return Array.isArray(e) && e.length > 0;
298
+ }
299
+ var ot = la;
300
+ function tr(e, t) {
301
+ if (!t) return;
302
+ let r = oa(t).toLowerCase();
303
+ return e.find(({ filenames: n }) => n?.some((a) => a.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n?.some((a) => r.endsWith(a)));
304
+ }
305
+ function ca(e, t) {
306
+ if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r?.includes(t)) ?? e.find(({ extensions: r }) => r?.includes(`.${t}`));
307
+ }
308
+ var pa = void 0;
309
+ function rr(e, t) {
310
+ if (t) {
311
+ if (ua(t)) try {
312
+ t = sa(t);
313
+ } catch {
314
+ return;
315
+ }
316
+ if (typeof t == "string") return e.find(({ isSupported: r }) => r?.({ filepath: t }));
317
+ }
318
+ }
319
+ function ha(e, t) {
320
+ let r = ta(0, e.plugins).flatMap((n) => n.languages ?? []);
321
+ return (ca(r, t.language) ?? tr(r, t.physicalFile) ?? tr(r, t.file) ?? rr(r, t.physicalFile) ?? rr(r, t.file) ?? pa?.(r, t.physicalFile))?.parsers[0];
322
+ }
323
+ var ut = ha, nr = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER");
324
+ function da(e) {
325
+ return !!e?.[nr];
326
+ }
327
+ var Fe = da, he = 3;
328
+ function ma(e) {
329
+ let t = e.slice(0, he);
330
+ if (t !== "---" && t !== "+++") return;
331
+ let r = e.indexOf(`
332
+ `, he);
333
+ if (r === -1) return;
334
+ let n = e.slice(he, r).trim(), a = e.indexOf(`
335
+ ${t}`, r), i = n;
336
+ if (i || (i = t === "+++" ? "toml" : "yaml"), a === -1 && t === "---" && i === "yaml" && (a = e.indexOf(`
337
+ ...`, r)), a === -1) return;
338
+ let s = a + 1 + he, o = e.charAt(s + 1);
339
+ if (!/\s?/u.test(o)) return;
340
+ let l = e.slice(0, s), c;
341
+ return { language: i, explicitLanguage: n || null, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: l.slice(-he), raw: l, start: { line: 1, column: 0, index: 0 }, end: { index: l.length, get line() {
342
+ return c ?? (c = l.split(`
343
+ `)), c.length;
344
+ }, get column() {
345
+ return c ?? (c = l.split(`
346
+ `)), Y(0, c, -1).length;
347
+ } }, [nr]: !0 };
348
+ }
349
+ function ga(e) {
350
+ let t = ma(e);
351
+ return t ? { frontMatter: t, get content() {
352
+ let { raw: r } = t;
353
+ return k(0, r, /[^\n]/gu, " ") + e.slice(r.length);
354
+ } } : { content: e };
355
+ }
356
+ var fa = ga, _a = "inline", ar = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }, Ca = "normal", ir = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
357
+ function va(e) {
358
+ return e.kind === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
359
+ }
360
+ var de = va, Ea = (e) => k(0, e, /^[\t\f\r ]*\n/gu, ""), sr = (e) => Ea(D.trimEnd(e)), Sa = (e) => {
361
+ let t = e, r = D.getLeadingWhitespace(t);
362
+ r && (t = t.slice(r.length));
363
+ let n = D.getTrailingWhitespace(t);
364
+ return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
365
+ };
366
+ function or(e, t) {
367
+ return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete || ee(e) && e.children.some((r) => r.kind !== "text" && r.kind !== "interpolation") || pt(e, t) && !R(e, t) && e.kind !== "interpolation");
368
+ }
369
+ function Pe(e) {
370
+ return e.kind === "attribute" || !e.parent || !e.prev ? !1 : Aa(e.prev);
371
+ }
372
+ function Aa(e) {
373
+ return e.kind === "comment" && e.value.trim() === "prettier-ignore";
374
+ }
375
+ function N(e) {
376
+ return e.kind === "text" || e.kind === "comment";
377
+ }
378
+ function R(e, t) {
379
+ return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || de(e) && (e.name === "script" || e.name === "style"));
380
+ }
381
+ function Ta(e, t) {
382
+ return e.children && !R(e, t);
383
+ }
384
+ function ba(e, t) {
385
+ return R(e, t) || e.kind === "interpolation" || ur(e);
386
+ }
387
+ function ur(e) {
388
+ return fr(e).startsWith("pre");
389
+ }
390
+ function ka(e, t) {
391
+ let r = n();
392
+ if (r && !e.prev && e.parent?.tagDefinition?.ignoreFirstLf) return e.kind === "interpolation";
393
+ return r;
394
+ function n() {
395
+ return Fe(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.prev && (e.prev.kind === "text" || e.prev.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : ee(e.parent) ? !0 : !(!e.prev && (e.parent.kind === "root" || ee(e) && e.parent || R(e.parent, t) || Re(e.parent, t) || !Fa(e.parent.cssDisplay)) || e.prev && !Ra(e.prev.cssDisplay));
396
+ }
397
+ }
398
+ function wa(e, t) {
399
+ return Fe(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.next && (e.next.kind === "text" || e.next.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : ee(e.parent) ? !0 : !(!e.next && (e.parent.kind === "root" || ee(e) && e.parent || R(e.parent, t) || Re(e.parent, t) || !Pa(e.parent.cssDisplay)) || e.next && !Ia(e.next.cssDisplay));
400
+ }
401
+ function ya(e, t) {
402
+ return Ma(e.cssDisplay) && !R(e, t);
403
+ }
404
+ function Ie(e) {
405
+ return Fe(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
406
+ }
407
+ function Da(e) {
408
+ return lr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => Na(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && pr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || hr(e.lastChild));
409
+ }
410
+ function lr(e) {
411
+ return e.kind === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
412
+ }
413
+ function lt(e) {
414
+ return dr(e) || e.prev && xa(e.prev) || cr(e);
415
+ }
416
+ function xa(e) {
417
+ return dr(e) || e.kind === "element" && e.fullName === "br" || cr(e);
418
+ }
419
+ function cr(e) {
420
+ return pr(e) && hr(e);
421
+ }
422
+ function pr(e) {
423
+ return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.kind === "root" || e.parent.startSourceSpan.end.line < e.sourceSpan.start.line);
424
+ }
425
+ function hr(e) {
426
+ return e.hasTrailingSpaces && (e.next ? e.next.sourceSpan.start.line > e.sourceSpan.end.line : e.parent.kind === "root" || e.parent.endSourceSpan && e.parent.endSourceSpan.start.line > e.sourceSpan.end.line);
427
+ }
428
+ function dr(e) {
429
+ switch (e.kind) {
430
+ case "ieConditionalComment":
431
+ case "comment":
432
+ case "directive":
433
+ return !0;
434
+ case "element":
435
+ return ["script", "select"].includes(e.name);
436
+ }
437
+ return !1;
438
+ }
439
+ function ct(e) {
440
+ return e.lastChild ? ct(e.lastChild) : e;
441
+ }
442
+ function Na(e) {
443
+ return e.children?.some((t) => t.kind !== "text");
444
+ }
445
+ function mr(e) {
446
+ if (e) switch (e) {
447
+ case "module":
448
+ case "text/javascript":
449
+ case "text/babel":
450
+ case "text/jsx":
451
+ case "application/javascript":
452
+ return "babel";
453
+ case "application/x-typescript":
454
+ return "typescript";
455
+ case "text/markdown":
456
+ return "markdown";
457
+ case "text/html":
458
+ return "html";
459
+ case "text/x-handlebars-template":
460
+ return "glimmer";
461
+ default:
462
+ if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules") return "json";
463
+ }
464
+ }
465
+ function Ba(e, t) {
466
+ let { name: r, attrMap: n } = e;
467
+ if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src")) return;
468
+ let { type: a, lang: i } = e.attrMap;
469
+ return !i && !a ? "babel" : ut(t, { language: i }) ?? mr(a);
470
+ }
471
+ function La(e, t) {
472
+ if (!pt(e, t)) return;
473
+ let { attrMap: r } = e;
474
+ if (Object.prototype.hasOwnProperty.call(r, "src")) return;
475
+ let { type: n, lang: a } = r;
476
+ return ut(t, { language: a }) ?? mr(n);
477
+ }
478
+ function Oa(e, t) {
479
+ if (e.name === "style") {
480
+ let { lang: r } = e.attrMap;
481
+ return r ? ut(t, { language: r }) : "css";
482
+ }
483
+ if (e.name === "mj-style" && t.parser === "mjml") return "css";
484
+ }
485
+ function gr(e, t) {
486
+ return Ba(e, t) ?? Oa(e, t) ?? La(e, t);
487
+ }
488
+ function me(e) {
489
+ return e === "block" || e === "list-item" || e.startsWith("table");
490
+ }
491
+ function Fa(e) {
492
+ return !me(e) && e !== "inline-block";
493
+ }
494
+ function Pa(e) {
495
+ return !me(e) && e !== "inline-block";
496
+ }
497
+ function Ia(e) {
498
+ return !me(e);
499
+ }
500
+ function Ra(e) {
501
+ return !me(e);
502
+ }
503
+ function Ma(e) {
504
+ return !me(e) && e !== "inline-block";
505
+ }
506
+ function ee(e) {
507
+ return fr(e).startsWith("pre");
508
+ }
509
+ function qa(e, t) {
510
+ let r = e;
511
+ for (; r; ) {
512
+ if (t(r)) return !0;
513
+ r = r.parent;
514
+ }
515
+ return !1;
516
+ }
517
+ function Ha(e, t) {
518
+ if (te(e, t)) return "block";
519
+ if (e.prev?.kind === "comment") {
520
+ let n = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
521
+ if (n) return n[1];
522
+ }
523
+ let r = !1;
524
+ if (e.kind === "element" && e.namespace === "svg") if (qa(e, (n) => n.fullName === "svg:foreignObject")) r = !0;
525
+ else return e.name === "svg" ? "inline-block" : "block";
526
+ switch (t.htmlWhitespaceSensitivity) {
527
+ case "strict":
528
+ return "inline";
529
+ case "ignore":
530
+ return "block";
531
+ default:
532
+ if (e.kind === "element" && (!e.namespace || r || de(e)) && Object.prototype.hasOwnProperty.call(ar, e.name)) return ar[e.name];
533
+ }
534
+ return _a;
535
+ }
536
+ function fr(e) {
537
+ return e.kind === "element" && (!e.namespace || de(e)) && Object.prototype.hasOwnProperty.call(ir, e.name) ? ir[e.name] : Ca;
538
+ }
539
+ function _r(e) {
540
+ return k(0, k(0, e, "&apos;", "'"), "&quot;", '"');
541
+ }
542
+ function w(e) {
543
+ return _r(e.value);
544
+ }
545
+ var Va = /* @__PURE__ */ new Set(["template", "style", "script"]);
546
+ function Re(e, t) {
547
+ return te(e, t) && !Va.has(e.fullName);
548
+ }
549
+ function te(e, t) {
550
+ return t.parser === "vue" && e.kind === "element" && e.parent.kind === "root" && e.fullName.toLowerCase() !== "html";
551
+ }
552
+ function pt(e, t) {
553
+ return te(e, t) && (Re(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
554
+ }
555
+ function Ua(e) {
556
+ let t = e.fullName;
557
+ return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
558
+ }
559
+ function Wa(e, t) {
560
+ let r = e.parent;
561
+ if (!te(r, t)) return !1;
562
+ let n = r.fullName, a = e.fullName;
563
+ return n === "script" && a === "setup" || n === "style" && a === "vars";
564
+ }
565
+ function Cr(e, t = e.value) {
566
+ return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? O(t) : O(D.dedentString(sr(t)), E) : Q(S, D.split(t));
567
+ }
568
+ function vr(e, t) {
569
+ return te(e, t) && e.name === "script";
570
+ }
571
+ function za(e) {
572
+ let { valueSpan: t, value: r } = e;
573
+ return t.end.offset - t.start.offset === r.length + 2;
574
+ }
575
+ function Er(e, t) {
576
+ if (za(e)) return !1;
577
+ let { value: r } = e;
578
+ return /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r) || t.parser === "lwc" && r.startsWith("{") && r.endsWith("}");
579
+ }
580
+ var Sr = /\{\{(.+?)\}\}/su, $a = ({ node: { value: e } }) => Sr.test(e);
581
+ async function ja(e, t, r) {
582
+ let n = w(r.node), a = [];
583
+ for (let [i, s] of n.split(Sr).entries()) if (i % 2 === 0) a.push(O(s));
584
+ else try {
585
+ a.push(A(["{{", F([S, await x(s, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), S, "}}"]));
586
+ } catch {
587
+ a.push("{{", O(s), "}}");
588
+ }
589
+ return a;
590
+ }
591
+ var ht = (e) => (t, r, n) => x(w(n.node), t, { parser: e }, Z), Xa = [{ test(e) {
592
+ let t = e.node.fullName;
593
+ return t.startsWith("(") && t.endsWith(")") || t.startsWith("on-");
594
+ }, print: ht("__ng_action") }, { test(e) {
595
+ let t = e.node.fullName;
596
+ return t.startsWith("[") && t.endsWith("]") || /^bind(?:on)?-/u.test(t) || /^ng-(?:if|show|hide|class|style)$/u.test(t);
597
+ }, print: ht("__ng_binding") }, { test: (e) => e.node.fullName.startsWith("*"), print: ht("__ng_directive") }, { test: (e) => /^i18n(?:-.+)?$/u.test(e.node.fullName), print: Ga }, { test: $a, print: ja }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "angular" && e(r), print: t }));
598
+ function Ga(e, t, { node: r }) {
599
+ let n = w(r);
600
+ return pe(Yt(Cr(r, n.trim())), !n.includes("@@"));
601
+ }
602
+ var Ka = Xa, Ya = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), Ja = (e, t, r) => w(r.node).trim().split(/\s+/u).join(" "), Qa = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"], Za = new Set(Qa), ei = ({ node: e }, t) => Za.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), ti = (e, t, r) => x(w(r.node), e, { parser: "babel", __isHtmlInlineEventHandler: !0 }, () => !1);
603
+ function ri(e) {
604
+ let t = [];
605
+ for (let r of e.split(";")) {
606
+ if (r = D.trim(r), !r) continue;
607
+ let [n, ...a] = D.split(r);
608
+ t.push({ name: n, value: a });
609
+ }
610
+ return t;
611
+ }
612
+ var ni = ri, ai = ({ node: e }, t) => e.fullName === "allow" && !t.parentParser && e.parent.fullName === "iframe" && !e.value.includes("{{");
613
+ function ii(e, t, r) {
614
+ let { node: n } = r, a = ni(w(n));
615
+ return a.length === 0 ? [""] : pe(a.map(({ name: i, value: s }, o) => [[i, ...s].join(" "), o === a.length - 1 ? ce(";") : [";", S]]));
616
+ }
617
+ function Ar(e) {
618
+ return e === " " || e === `
619
+ ` || e === "\f" || e === "\r" || e === " ";
620
+ }
621
+ var si = /^[ \t\n\r\u000c]+/, oi = /^[, \t\n\r\u000c]+/, ui = /^[^ \t\n\r\u000c]+/, li = /[,]+$/, Tr = /^\d+$/, ci = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
622
+ function pi(e) {
623
+ let t = e.length, r, n, a, i, s, o = 0, l;
624
+ function c(h) {
625
+ let f, v = h.exec(e.substring(o));
626
+ if (v) return [f] = v, o += f.length, f;
627
+ }
628
+ let p = [];
629
+ for (; ; ) {
630
+ if (c(oi), o >= t) {
631
+ if (p.length === 0) throw new Error("Must contain one or more image candidate strings.");
632
+ return p;
633
+ }
634
+ l = o, r = c(ui), n = [], r.slice(-1) === "," ? (r = r.replace(li, ""), g()) : C();
635
+ }
636
+ function C() {
637
+ for (c(si), a = "", i = "in descriptor"; ; ) {
638
+ if (s = e.charAt(o), i === "in descriptor") if (Ar(s)) a && (n.push(a), a = "", i = "after descriptor");
639
+ else if (s === ",") {
640
+ o += 1, a && n.push(a), g();
641
+ return;
642
+ } else if (s === "(") a += s, i = "in parens";
643
+ else if (s === "") {
644
+ a && n.push(a), g();
645
+ return;
646
+ } else a += s;
647
+ else if (i === "in parens") if (s === ")") a += s, i = "in descriptor";
648
+ else if (s === "") {
649
+ n.push(a), g();
650
+ return;
651
+ } else a += s;
652
+ else if (i === "after descriptor" && !Ar(s)) if (s === "") {
653
+ g();
654
+ return;
655
+ } else i = "in descriptor", o -= 1;
656
+ o += 1;
657
+ }
658
+ }
659
+ function g() {
660
+ let h = !1, f, v, P, q, K = {}, V, Je, se, Be, Lt;
661
+ for (q = 0; q < n.length; q++) V = n[q], Je = V[V.length - 1], se = V.substring(0, V.length - 1), Be = parseInt(se, 10), Lt = parseFloat(se), Tr.test(se) && Je === "w" ? ((f || v) && (h = !0), Be === 0 ? h = !0 : f = Be) : ci.test(se) && Je === "x" ? ((f || v || P) && (h = !0), Lt < 0 ? h = !0 : v = Lt) : Tr.test(se) && Je === "h" ? ((P || v) && (h = !0), Be === 0 ? h = !0 : P = Be) : h = !0;
662
+ if (!h) K.source = { value: r, startOffset: l }, f && (K.width = { value: f }), v && (K.density = { value: v }), P && (K.height = { value: P }), p.push(K);
663
+ else throw new Error(`Invalid srcset descriptor found in "${e}" at "${V}".`);
664
+ }
665
+ }
666
+ var hi = pi, di = (e) => e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"), br = { width: "w", height: "h", density: "x" }, mi = Object.keys(br);
667
+ function gi(e, t, r) {
668
+ let n = w(r.node), a = hi(n), i = mi.filter((h) => a.some((f) => Object.prototype.hasOwnProperty.call(f, h)));
669
+ if (i.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
670
+ let [s] = i, o = br[s], l = a.map((h) => h.source.value), c = Math.max(...l.map((h) => h.length)), p = a.map((h) => h[s] ? String(h[s].value) : ""), C = p.map((h) => {
671
+ let f = h.indexOf(".");
672
+ return f === -1 ? h.length : f;
673
+ }), g = Math.max(...C);
674
+ return pe(Q([",", S], l.map((h, f) => {
675
+ let v = [h], P = p[f];
676
+ if (P) {
677
+ let q = c - h.length + 1, K = g - C[f], V = " ".repeat(q + K);
678
+ v.push(ce(V, " "), P + o);
679
+ }
680
+ return v;
681
+ })));
682
+ }
683
+ var fi = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.value.includes("{{"), _i = async (e, t, r) => pe(await e(w(r.node), { parser: "css", __isHTMLStyleAttribute: !0 })), dt = /* @__PURE__ */ new WeakMap();
684
+ function Ci(e, t) {
685
+ let { root: r } = e;
686
+ return dt.has(r) || dt.set(r, r.children.some((n) => vr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), dt.get(r);
687
+ }
688
+ var re = Ci;
689
+ function vi(e, t, r) {
690
+ let n = w(r.node);
691
+ return x(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, Z);
692
+ }
693
+ function Ei(e, t, r, n) {
694
+ let a = w(r.node), i = re(r, n) ? "babel-ts" : "babel";
695
+ return x(`function _(${a}) {}`, e, { parser: i, __isVueBindings: !0 });
696
+ }
697
+ async function Si(e, t, r, n) {
698
+ let a = w(r.node), { left: i, operator: s, right: o } = Ai(a), l = re(r, n);
699
+ return [A(await x(`function _(${i}) {}`, e, { parser: l ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await x(o, e, { parser: l ? "__ts_expression" : "__js_expression" })];
700
+ }
701
+ function Ai(e) {
702
+ let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
703
+ if (!a) return;
704
+ let i = { for: a[3].trim() };
705
+ if (!i.for) return;
706
+ let s = k(0, a[1].trim(), n, ""), o = s.match(r);
707
+ o ? (i.alias = s.replace(r, ""), i.iterator1 = o[1].trim(), o[2] && (i.iterator2 = o[2].trim())) : i.alias = s;
708
+ let l = [i.alias, i.iterator1, i.iterator2];
709
+ if (!l.some((c, p) => !c && (p === 0 || l.slice(p + 1).some(Boolean)))) return { left: l.filter(Boolean).join(","), operator: a[2], right: i.for };
710
+ }
711
+ var Ti = [{ test: (e) => e.node.fullName === "v-for", print: Si }, { test: (e, t) => e.node.fullName === "generic" && vr(e.parent, t), print: vi }, { test: ({ node: e }, t) => Ua(e) || Wa(e, t), print: Ei }, { test(e) {
712
+ let t = e.node.fullName;
713
+ return t.startsWith("@") || t.startsWith("v-on:");
714
+ }, print: bi }, { test(e) {
715
+ let t = e.node.fullName;
716
+ return t.startsWith(":") || t.startsWith(".") || t.startsWith("v-bind:");
717
+ }, print: ki }, { test: (e) => e.node.fullName.startsWith("v-"), print: kr }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "vue" && e(r, n), print: t }));
718
+ async function bi(e, t, r, n) {
719
+ try {
720
+ return await kr(e, t, r, n);
721
+ } catch (s) {
722
+ if (s.cause?.code !== "BABEL_PARSER_SYNTAX_ERROR") throw s;
723
+ }
724
+ let a = w(r.node), i = re(r, n) ? "__vue_ts_event_binding" : "__vue_event_binding";
725
+ return x(a, e, { parser: i }, Z);
726
+ }
727
+ function ki(e, t, r, n) {
728
+ let a = w(r.node), i = re(r, n) ? "__vue_ts_expression" : "__vue_expression";
729
+ return x(a, e, { parser: i }, Z);
730
+ }
731
+ function kr(e, t, r, n) {
732
+ let a = w(r.node), i = re(r, n) ? "__ts_expression" : "__js_expression";
733
+ return x(a, e, { parser: i }, Z);
734
+ }
735
+ var wi = Ti, yi = [{ test: di, print: gi }, { test: fi, print: _i }, { test: ei, print: ti }, { test: Ya, print: Ja }, { test: ai, print: ii }, ...wi, ...Ka].map(({ test: e, print: t }) => ({ test: e, print: xi(t) }));
736
+ function Di(e, t) {
737
+ let { node: r } = e, { value: n } = r;
738
+ if (n) return Er(r, t) ? [r.rawName, "=", n] : yi.find(({ test: a }) => a(e, t))?.print;
739
+ }
740
+ function xi(e) {
741
+ return async (t, r, n, a) => {
742
+ let i = await e(t, r, n, a);
743
+ if (i) return i = Kt(i, (s) => typeof s == "string" ? k(0, s, '"', "&quot;") : s), [n.node.rawName, '="', A(i), '"'];
744
+ };
745
+ }
746
+ var Ni = Di, ge = (e) => e.sourceSpan.start.offset, Me = (e) => e.sourceSpan.end.offset;
747
+ function mt(e, t) {
748
+ return [e.isSelfClosing ? "" : Bi(e, t), fe(e, t)];
749
+ }
750
+ function Bi(e, t) {
751
+ return e.lastChild && ve(e.lastChild) ? "" : [Li(e, t), gt(e, t)];
752
+ }
753
+ function fe(e, t) {
754
+ return (e.next ? W(e.next) : Ce(e.parent)) ? "" : [_e(e, t), U(e, t)];
755
+ }
756
+ function Li(e, t) {
757
+ return Ce(e) ? _e(e.lastChild, t) : "";
758
+ }
759
+ function U(e, t) {
760
+ return ve(e) ? gt(e.parent, t) : qe(e) ? _t(e.next, t) : "";
761
+ }
762
+ function gt(e, t) {
763
+ if (wr(e, t)) return "";
764
+ switch (e.kind) {
765
+ case "ieConditionalComment":
766
+ return "<!";
767
+ case "element":
768
+ if (e.hasHtmComponentClosingTag) return "<//";
769
+ default:
770
+ return `</${e.rawName}`;
771
+ }
772
+ }
773
+ function _e(e, t) {
774
+ if (wr(e, t)) return "";
775
+ switch (e.kind) {
776
+ case "ieConditionalComment":
777
+ case "ieConditionalEndComment":
778
+ return "[endif]-->";
779
+ case "ieConditionalStartComment":
780
+ return "]><!-->";
781
+ case "interpolation":
782
+ return "}}";
783
+ case "angularIcuExpression":
784
+ return "}";
785
+ case "element":
786
+ if (e.isSelfClosing) return "/>";
787
+ default:
788
+ return ">";
789
+ }
790
+ }
791
+ function wr(e, t) {
792
+ return !e.isSelfClosing && !e.endSourceSpan && (Pe(e) || or(e.parent, t));
793
+ }
794
+ function W(e) {
795
+ return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !N(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
796
+ }
797
+ function Ce(e) {
798
+ return e.lastChild?.isTrailingSpaceSensitive && !e.lastChild.hasTrailingSpaces && !N(ct(e.lastChild)) && !ee(e);
799
+ }
800
+ function ve(e) {
801
+ return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && N(ct(e));
802
+ }
803
+ function qe(e) {
804
+ return e.next && !N(e.next) && N(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
805
+ }
806
+ function Oi(e) {
807
+ let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
808
+ return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
809
+ }
810
+ function He(e) {
811
+ return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
812
+ }
813
+ function Fi(e, t, r) {
814
+ let { node: n } = e;
815
+ if (!ot(n.attrs)) return n.isSelfClosing ? " " : "";
816
+ let a = n.prev?.kind === "comment" && Oi(n.prev.value), i = typeof a == "boolean" ? () => a : Array.isArray(a) ? (p) => a.includes(p.rawName) : () => !1, s = e.map(({ node: p }) => i(p) ? O(t.originalText.slice(ge(p), Me(p))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, l = t.singleAttributePerLine && n.attrs.length > 1 && !te(n, t) ? E : S, c = [F([o ? " " : S, Q(l, s)])];
817
+ return n.firstChild && He(n.firstChild) || n.isSelfClosing && Ce(n.parent) || o ? c.push(n.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? S : b), c;
818
+ }
819
+ function Pi(e) {
820
+ return e.firstChild && He(e.firstChild) ? "" : Ct(e);
821
+ }
822
+ function ft(e, t, r) {
823
+ let { node: n } = e;
824
+ return [Ee(n, t), Fi(e, t, r), n.isSelfClosing ? "" : Pi(n)];
825
+ }
826
+ function Ee(e, t) {
827
+ return e.prev && qe(e.prev) ? "" : [z(e, t), _t(e, t)];
828
+ }
829
+ function z(e, t) {
830
+ return He(e) ? Ct(e.parent) : W(e) ? _e(e.prev, t) : "";
831
+ }
832
+ var yr = "<!doctype";
833
+ function _t(e, t) {
834
+ switch (e.kind) {
835
+ case "ieConditionalComment":
836
+ case "ieConditionalStartComment":
837
+ return `<!--[if ${e.condition}`;
838
+ case "ieConditionalEndComment":
839
+ return "<!--<!";
840
+ case "interpolation":
841
+ return "{{";
842
+ case "docType": {
843
+ if (e.value === "html") {
844
+ let { filepath: n } = t;
845
+ if (n && /\.html?$/u.test(n)) return yr;
846
+ }
847
+ let r = ge(e);
848
+ return t.originalText.slice(r, r + yr.length);
849
+ }
850
+ case "angularIcuExpression":
851
+ return "{";
852
+ case "element":
853
+ if (e.condition) return `<!--[if ${e.condition}]><!--><${e.rawName}`;
854
+ default:
855
+ return `<${e.rawName}`;
856
+ }
857
+ }
858
+ function Ct(e) {
859
+ switch (e.kind) {
860
+ case "ieConditionalComment":
861
+ return "]>";
862
+ case "element":
863
+ if (e.condition) return "><!--<![endif]-->";
864
+ default:
865
+ return ">";
866
+ }
867
+ }
868
+ function Ii(e, t) {
869
+ if (!e.endSourceSpan) return "";
870
+ let r = e.startSourceSpan.end.offset;
871
+ e.firstChild && He(e.firstChild) && (r -= Ct(e).length);
872
+ let n = e.endSourceSpan.start.offset;
873
+ return e.lastChild && ve(e.lastChild) ? n += gt(e, t).length : Ce(e) && (n -= _e(e.lastChild, t).length), t.originalText.slice(r, n);
874
+ }
875
+ var Dr = Ii, Ri = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
876
+ function Mi(e, t) {
877
+ let { node: r } = e;
878
+ switch (r.kind) {
879
+ case "element":
880
+ if (R(r, t) || r.kind === "interpolation") return;
881
+ if (!r.isSelfClosing && pt(r, t)) {
882
+ let n = gr(r, t);
883
+ return n ? async (a, i) => {
884
+ let s = Dr(r, t), o = /^\s*$/u.test(s), l = "";
885
+ return o || (l = await a(sr(s), { parser: n, __embeddedInHtml: !0 }), o = l === ""), [z(r, t), A(ft(e, t, i)), o ? "" : E, l, o ? "" : E, mt(r, t), U(r, t)];
886
+ } : void 0;
887
+ }
888
+ break;
889
+ case "text":
890
+ if (R(r.parent, t)) {
891
+ let n = gr(r.parent, t);
892
+ if (n) return async (a) => {
893
+ let i = n === "markdown" ? D.dedentString(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
894
+ if (t.parser === "html" && n === "babel") {
895
+ let o = "script", { attrMap: l } = r.parent;
896
+ l && (l.type === "module" || (l.type === "text/babel" || l.type === "text/jsx") && l["data-type"] === "module") && (o = "module"), s.__babelSourceType = o;
897
+ }
898
+ return [le, z(r, t), await a(i, s), U(r, t)];
899
+ };
900
+ } else if (r.parent.kind === "interpolation") return async (n) => {
901
+ let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
902
+ return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = re(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [F([S, await n(r.value, a)]), r.parent.next && W(r.parent.next) ? " " : S];
903
+ };
904
+ break;
905
+ case "attribute":
906
+ return Ni(e, t);
907
+ case "angularControlFlowBlockParameters":
908
+ return Ri.has(e.parent.name) ? Qn : void 0;
909
+ case "angularLetDeclarationInitializer":
910
+ return (n) => x(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
911
+ }
912
+ }
913
+ var qi = Mi, Se = null;
914
+ function Ae(e) {
915
+ if (Se !== null && typeof Se.property) {
916
+ let t = Se;
917
+ return Se = Ae.prototype = null, t;
918
+ }
919
+ return Se = Ae.prototype = e ?? /* @__PURE__ */ Object.create(null), new Ae();
920
+ }
921
+ var Hi = 10;
922
+ for (let e = 0; e <= Hi; e++) Ae();
923
+ function Vi(e) {
924
+ return Ae(e);
925
+ }
926
+ function Ui(e, t = "type") {
927
+ Vi(e);
928
+ function r(n) {
929
+ let a = n[t], i = e[a];
930
+ if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: n });
931
+ return i;
932
+ }
933
+ return r;
934
+ }
935
+ var Wi = Ui, y = [["children"], []], zi = { root: y[0], element: ["attrs", "children"], ieConditionalComment: y[0], ieConditionalStartComment: y[1], ieConditionalEndComment: y[1], interpolation: y[0], text: y[0], docType: y[1], comment: y[1], attribute: y[1], cdata: y[1], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: y[0], angularControlFlowBlockParameter: y[1], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: y[1], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, $i = Wi(zi, "kind"), ji = $i, Xi = "format", Gi = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Ki = /^\s*<!--\s*@(?:format|prettier)\s*-->/u, Yi = (e) => Ki.test(e), Ji = (e) => Gi.test(e), Qi = (e) => `<!-- @${Xi} -->
936
+
937
+ ${e}`, Zi = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
938
+ function xr(e) {
939
+ let t = Me(e);
940
+ return e.kind === "element" && !e.endSourceSpan && ot(e.children) ? Math.max(t, xr(Y(0, e.children, -1))) : t;
941
+ }
942
+ function Te(e, t, r) {
943
+ let n = e.node;
944
+ if (Pe(n)) {
945
+ let a = xr(n);
946
+ return [z(n, t), O(D.trimEnd(t.originalText.slice(ge(n) + (n.prev && qe(n.prev) ? _t(n).length : 0), a - (n.next && W(n.next) ? _e(n, t).length : 0)))), U(n, t)];
947
+ }
948
+ return r();
949
+ }
950
+ function Ve(e, t) {
951
+ return N(e) && N(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? lt(t) ? E : S : "" : lt(t) ? E : b : qe(e) && (Pe(t) || t.firstChild || t.isSelfClosing || t.kind === "element" && t.attrs.length > 0) || e.kind === "element" && e.isSelfClosing && W(t) ? "" : !t.isLeadingSpaceSensitive || lt(t) || W(t) && e.lastChild && ve(e.lastChild) && e.lastChild.lastChild && ve(e.lastChild.lastChild) ? E : t.hasLeadingSpaces ? S : b;
952
+ }
953
+ function vt(e, t, r) {
954
+ let { node: n } = e;
955
+ if (lr(n)) return [le, ...e.map(() => {
956
+ let i = e.node, s = i.prev ? Ve(i.prev, i) : "";
957
+ return [s ? [s, Ie(i.prev) ? E : ""] : "", Te(e, t, r)];
958
+ }, "children")];
959
+ let a = n.children.map(() => /* @__PURE__ */ Symbol(""));
960
+ return e.map(({ node: i, index: s }) => {
961
+ if (N(i)) {
962
+ if (i.prev && N(i.prev)) {
963
+ let h = Ve(i.prev, i);
964
+ if (h) return Ie(i.prev) ? [E, E, Te(e, t, r)] : [h, Te(e, t, r)];
965
+ }
966
+ return Te(e, t, r);
967
+ }
968
+ let o = [], l = [], c = [], p = [], C = i.prev ? Ve(i.prev, i) : "", g = i.next ? Ve(i, i.next) : "";
969
+ return C && (Ie(i.prev) ? o.push(E, E) : C === E ? o.push(E) : N(i.prev) ? l.push(C) : l.push(ce("", b, { groupId: a[s - 1] }))), g && (Ie(i) ? N(i.next) && p.push(E, E) : g === E ? N(i.next) && p.push(E) : c.push(g)), [...o, A([...l, A([Te(e, t, r), ...c], { id: a[s] })]), ...p];
970
+ }, "children");
971
+ }
972
+ function es(e, t, r) {
973
+ let { node: n } = e, a = [];
974
+ ts(e) && a.push("} "), a.push("@", n.name), n.parameters && a.push(" (", A(r("parameters")), ")"), a.push(" {");
975
+ let i = Nr(n);
976
+ return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(F([E, vt(e, t, r)])), i && a.push(E, "}")) : i && a.push("}"), A(a, { shouldBreak: !0 });
977
+ }
978
+ function Nr(e) {
979
+ return !(e.next?.kind === "angularControlFlowBlock" && Zi.get(e.name)?.has(e.next.name));
980
+ }
981
+ function ts(e) {
982
+ let { previous: t } = e;
983
+ return t?.kind === "angularControlFlowBlock" && !Pe(t) && !Nr(t);
984
+ }
985
+ function rs(e, t, r) {
986
+ return [F([b, Q([";", S], e.map(r, "children"))]), b];
987
+ }
988
+ function ns(e, t, r) {
989
+ let { node: n } = e;
990
+ return [Ee(n, t), A([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", F([S, Q(S, e.map(r, "cases"))])] : "", b]), fe(n, t)];
991
+ }
992
+ function as(e, t, r) {
993
+ let { node: n } = e;
994
+ return [n.value, " {", A([F([b, e.map(({ node: a, isLast: i }) => {
995
+ let s = [r()];
996
+ return a.kind === "text" && (a.hasLeadingSpaces && s.unshift(S), a.hasTrailingSpaces && !i && s.push(S)), s;
997
+ }, "expression")]), b]), "}"];
998
+ }
999
+ function is(e, t, r) {
1000
+ let { node: n } = e;
1001
+ if (or(n, t)) return [z(n, t), A(ft(e, t, r)), O(Dr(n, t)), ...mt(n, t), U(n, t)];
1002
+ let a = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = /* @__PURE__ */ Symbol("element-attr-group-id"), s = (p) => A([A(ft(e, t, r), { id: i }), p, mt(n, t)]), o = (p) => a ? On(p, { groupId: i }) : (R(n, t) || Re(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : F(p), l = () => a ? ce(b, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? S : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? Ln(b) : b, c = () => (n.next ? W(n.next) : Ce(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? ce(b, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? S : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : b;
1003
+ return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? S : "") : s([Da(n) ? le : "", o([l(), vt(e, t, r)]), c()]);
1004
+ }
1005
+ var M = (function(e) {
1006
+ return e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA", e;
1007
+ })({});
1008
+ function Ue(e, t = !0) {
1009
+ if (e[0] != ":") return [null, e];
1010
+ let r = e.indexOf(":", 1);
1011
+ if (r === -1) {
1012
+ if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
1013
+ return [null, e];
1014
+ }
1015
+ return [e.slice(1, r), e.slice(r + 1)];
1016
+ }
1017
+ function Br(e) {
1018
+ return Ue(e)[1] === "ng-container";
1019
+ }
1020
+ function Lr(e) {
1021
+ return Ue(e)[1] === "ng-content";
1022
+ }
1023
+ function We(e) {
1024
+ return e === null ? null : Ue(e)[0];
1025
+ }
1026
+ function be(e, t) {
1027
+ return e ? `:${e}:${t}` : t;
1028
+ }
1029
+ var Or = { name: "custom-elements" }, Fr = { name: "no-errors-schema" }, ke = (function(e) {
1030
+ return e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL", e;
1031
+ })({}), ss = /-+([a-z0-9])/g;
1032
+ function os(e) {
1033
+ return e.replace(ss, (...t) => t[1].toUpperCase());
1034
+ }
1035
+ var ze;
1036
+ function Pr() {
1037
+ return ze || (ze = {}, $e(ke.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), $e(ke.STYLE, ["*|style"]), $e(ke.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), $e(ke.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), ze;
1038
+ }
1039
+ function $e(e, t) {
1040
+ for (let r of t) ze[r.toLowerCase()] = e;
1041
+ }
1042
+ var us = class {
1043
+ }, ls = "boolean", cs = "number", ps = "string", hs = "object", ds = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Ir = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), ms = Array.from(Ir).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), gs = class extends us {
1044
+ constructor() {
1045
+ super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), ds.forEach((e) => {
1046
+ let t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), [n, a] = e.split("|"), i = a.split(","), [s, o] = n.split("^");
1047
+ s.split(",").forEach((c) => {
1048
+ this._schema.set(c.toLowerCase(), t), this._eventSchema.set(c.toLowerCase(), r);
1049
+ });
1050
+ let l = o && this._schema.get(o.toLowerCase());
1051
+ if (l) {
1052
+ for (let [c, p] of l) t.set(c, p);
1053
+ for (let c of this._eventSchema.get(o.toLowerCase())) r.add(c);
1054
+ }
1055
+ i.forEach((c) => {
1056
+ if (c.length > 0) switch (c[0]) {
1057
+ case "*":
1058
+ r.add(c.substring(1));
1059
+ break;
1060
+ case "!":
1061
+ t.set(c.substring(1), ls);
1062
+ break;
1063
+ case "#":
1064
+ t.set(c.substring(1), cs);
1065
+ break;
1066
+ case "%":
1067
+ t.set(c.substring(1), hs);
1068
+ break;
1069
+ default:
1070
+ t.set(c, ps);
1071
+ }
1072
+ });
1073
+ });
1074
+ }
1075
+ hasProperty(e, t, r) {
1076
+ if (r.some((n) => n.name === Fr.name)) return !0;
1077
+ if (e.indexOf("-") > -1) {
1078
+ if (Br(e) || Lr(e)) return !1;
1079
+ if (r.some((n) => n.name === Or.name)) return !0;
1080
+ }
1081
+ return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(t);
1082
+ }
1083
+ hasElement(e, t) {
1084
+ return t.some((r) => r.name === Fr.name) || e.indexOf("-") > -1 && (Br(e) || Lr(e) || t.some((r) => r.name === Or.name)) ? !0 : this._schema.has(e.toLowerCase());
1085
+ }
1086
+ securityContext(e, t, r) {
1087
+ r && (t = this.getMappedPropName(t)), e = e.toLowerCase(), t = t.toLowerCase();
1088
+ let n = Pr()[e + "|" + t];
1089
+ return n || (n = Pr()["*|" + t], n || ke.NONE);
1090
+ }
1091
+ getMappedPropName(e) {
1092
+ return Ir.get(e) ?? e;
1093
+ }
1094
+ getDefaultComponentElementName() {
1095
+ return "ng-component";
1096
+ }
1097
+ validateProperty(e) {
1098
+ return e.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
1099
+ If '${e}' is a directive input, make sure the directive is imported by the current module.` } : { error: !1 };
1100
+ }
1101
+ validateAttribute(e) {
1102
+ return e.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...` } : { error: !1 };
1103
+ }
1104
+ allKnownElementNames() {
1105
+ return Array.from(this._schema.keys());
1106
+ }
1107
+ allKnownAttributesOfElement(e) {
1108
+ let t = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
1109
+ return Array.from(t.keys()).map((r) => ms.get(r) ?? r);
1110
+ }
1111
+ allKnownEventsOfElement(e) {
1112
+ return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
1113
+ }
1114
+ normalizeAnimationStyleProperty(e) {
1115
+ return os(e);
1116
+ }
1117
+ normalizeAnimationStyleValue(e, t, r) {
1118
+ let n = "", a = r.toString().trim(), i = null;
1119
+ if (fs(e) && r !== 0 && r !== "0") if (typeof r == "number") n = "px";
1120
+ else {
1121
+ let s = r.match(/^[+-]?[\d\.]+([a-z]*)$/);
1122
+ s && s[1].length == 0 && (i = `Please provide a CSS unit value for ${t}:${r}`);
1123
+ }
1124
+ return { error: i, value: a + n };
1125
+ }
1126
+ };
1127
+ function fs(e) {
1128
+ switch (e) {
1129
+ case "width":
1130
+ case "height":
1131
+ case "minWidth":
1132
+ case "minHeight":
1133
+ case "maxWidth":
1134
+ case "maxHeight":
1135
+ case "left":
1136
+ case "top":
1137
+ case "bottom":
1138
+ case "right":
1139
+ case "fontSize":
1140
+ case "outlineWidth":
1141
+ case "outlineOffset":
1142
+ case "paddingTop":
1143
+ case "paddingLeft":
1144
+ case "paddingBottom":
1145
+ case "paddingRight":
1146
+ case "marginTop":
1147
+ case "marginLeft":
1148
+ case "marginBottom":
1149
+ case "marginRight":
1150
+ case "borderRadius":
1151
+ case "borderWidth":
1152
+ case "borderTopWidth":
1153
+ case "borderLeftWidth":
1154
+ case "borderRightWidth":
1155
+ case "borderBottomWidth":
1156
+ case "textIndent":
1157
+ return !0;
1158
+ default:
1159
+ return !1;
1160
+ }
1161
+ }
1162
+ var m = class {
1163
+ constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = M.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: i = !1, preventNamespaceInheritance: s = !1, canSelfClose: o = !1 } = {}) {
1164
+ this.closedByChildren = {}, this.closedByParent = !1, e && e.length > 0 && e.forEach((l) => this.closedByChildren[l] = !0), this.isVoid = a, this.closedByParent = n || a, this.implicitNamespacePrefix = t || null, this.contentType = r, this.ignoreFirstLf = i, this.preventNamespaceInheritance = s, this.canSelfClose = o ?? a;
1165
+ }
1166
+ isClosedByChild(e) {
1167
+ return this.isVoid || e.toLowerCase() in this.closedByChildren;
1168
+ }
1169
+ getContentType(e) {
1170
+ return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
1171
+ }
1172
+ }, Rr, we;
1173
+ function Et(e) {
1174
+ return we || (Rr = new m({ canSelfClose: !0 }), we = Object.assign(/* @__PURE__ */ Object.create(null), { base: new m({ isVoid: !0 }), meta: new m({ isVoid: !0 }), area: new m({ isVoid: !0 }), embed: new m({ isVoid: !0 }), link: new m({ isVoid: !0 }), img: new m({ isVoid: !0 }), input: new m({ isVoid: !0 }), param: new m({ isVoid: !0 }), hr: new m({ isVoid: !0 }), br: new m({ isVoid: !0 }), source: new m({ isVoid: !0 }), track: new m({ isVoid: !0 }), wbr: new m({ isVoid: !0 }), p: new m({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new m({ closedByChildren: ["tbody", "tfoot"] }), tbody: new m({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new m({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new m({ closedByChildren: ["tr"], closedByParent: !0 }), td: new m({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new m({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new m({ isVoid: !0 }), svg: new m({ implicitNamespacePrefix: "svg" }), foreignObject: new m({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new m({ implicitNamespacePrefix: "math" }), li: new m({ closedByChildren: ["li"], closedByParent: !0 }), dt: new m({ closedByChildren: ["dt", "dd"] }), dd: new m({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new m({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new m({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new m({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new m({ ignoreFirstLf: !0 }), listing: new m({ ignoreFirstLf: !0 }), style: new m({ contentType: M.RAW_TEXT }), script: new m({ contentType: M.RAW_TEXT }), title: new m({ contentType: { default: M.ESCAPABLE_RAW_TEXT, svg: M.PARSABLE_DATA } }), textarea: new m({ contentType: M.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new gs().allKnownElementNames().forEach((t) => {
1175
+ !we[t] && We(t) === null && (we[t] = new m({ canSelfClose: !1 }));
1176
+ })), we[e] ?? Rr;
1177
+ }
1178
+ function je(e) {
1179
+ return e >= 9 && e <= 32 || e == 160;
1180
+ }
1181
+ function Xe(e) {
1182
+ return 48 <= e && e <= 57;
1183
+ }
1184
+ function ye(e) {
1185
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
1186
+ }
1187
+ function _s(e) {
1188
+ return e >= 97 && e <= 102 || e >= 65 && e <= 70 || Xe(e);
1189
+ }
1190
+ function Ge(e) {
1191
+ return e === 10 || e === 13;
1192
+ }
1193
+ function Mr(e) {
1194
+ return 48 <= e && e <= 55;
1195
+ }
1196
+ function St(e) {
1197
+ return e === 39 || e === 34 || e === 96;
1198
+ }
1199
+ var At = class cn {
1200
+ constructor(t, r, n, a) {
1201
+ this.file = t, this.offset = r, this.line = n, this.col = a;
1202
+ }
1203
+ toString() {
1204
+ return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
1205
+ }
1206
+ moveBy(t) {
1207
+ let r = this.file.content, n = r.length, a = this.offset, i = this.line, s = this.col;
1208
+ for (; a > 0 && t < 0; ) if (a--, t++, r.charCodeAt(a) == 10) {
1209
+ i--;
1210
+ let o = r.substring(0, a - 1).lastIndexOf(`
1211
+ `);
1212
+ s = o > 0 ? a - o : a;
1213
+ } else s--;
1214
+ for (; a < n && t > 0; ) {
1215
+ let o = r.charCodeAt(a);
1216
+ a++, t--, o == 10 ? (i++, s = 0) : s++;
1217
+ }
1218
+ return new cn(this.file, a, i, s);
1219
+ }
1220
+ getContext(t, r) {
1221
+ let n = this.file.content, a = this.offset;
1222
+ if (a != null) {
1223
+ a > n.length - 1 && (a = n.length - 1);
1224
+ let i = a, s = 0, o = 0;
1225
+ for (; s < t && a > 0 && (a--, s++, !(n[a] == `
1226
+ ` && ++o == r)); ) ;
1227
+ for (s = 0, o = 0; s < t && i < n.length - 1 && (i++, s++, !(n[i] == `
1228
+ ` && ++o == r)); ) ;
1229
+ return { before: n.substring(a, this.offset), after: n.substring(this.offset, i + 1) };
1230
+ }
1231
+ return null;
1232
+ }
1233
+ }, qr = class {
1234
+ constructor(e, t) {
1235
+ this.content = e, this.url = t;
1236
+ }
1237
+ }, d = class {
1238
+ constructor(e, t, r = e, n = null) {
1239
+ this.start = e, this.end = t, this.fullStart = r, this.details = n;
1240
+ }
1241
+ toString() {
1242
+ return this.start.file.content.substring(this.start.offset, this.end.offset);
1243
+ }
1244
+ }, Hr = (function(e) {
1245
+ return e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR", e;
1246
+ })({}), ne = class extends Error {
1247
+ constructor(e, t, r = Hr.ERROR, n) {
1248
+ super(t), this.span = e, this.msg = t, this.level = r, this.relatedError = n, Object.setPrototypeOf(this, new.target.prototype);
1249
+ }
1250
+ contextualMessage() {
1251
+ let e = this.span.start.getContext(100, 3);
1252
+ return e ? `${this.msg} ("${e.before}[${Hr[this.level]} ->]${e.after}")` : this.msg;
1253
+ }
1254
+ toString() {
1255
+ let e = this.span.details ? `, ${this.span.details}` : "";
1256
+ return `${this.contextualMessage()}: ${this.span.start}${e}`;
1257
+ }
1258
+ }, $ = class {
1259
+ constructor(e, t) {
1260
+ this.sourceSpan = e, this.i18n = t;
1261
+ }
1262
+ }, Cs = class extends $ {
1263
+ constructor(e, t, r, n) {
1264
+ super(t, n), this.value = e, this.tokens = r, this.kind = "text";
1265
+ }
1266
+ visit(e, t) {
1267
+ return e.visitText(this, t);
1268
+ }
1269
+ }, vs = class extends $ {
1270
+ constructor(e, t, r, n) {
1271
+ super(t, n), this.value = e, this.tokens = r, this.kind = "cdata";
1272
+ }
1273
+ visit(e, t) {
1274
+ return e.visitCdata(this, t);
1275
+ }
1276
+ }, Es = class extends $ {
1277
+ constructor(e, t, r, n, a, i) {
1278
+ super(n, i), this.switchValue = e, this.type = t, this.cases = r, this.switchValueSourceSpan = a, this.kind = "expansion";
1279
+ }
1280
+ visit(e, t) {
1281
+ return e.visitExpansion(this, t);
1282
+ }
1283
+ }, Ss = class {
1284
+ constructor(e, t, r, n, a) {
1285
+ this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a, this.kind = "expansionCase";
1286
+ }
1287
+ visit(e, t) {
1288
+ return e.visitExpansionCase(this, t);
1289
+ }
1290
+ }, As = class extends $ {
1291
+ constructor(e, t, r, n, a, i, s) {
1292
+ super(r, s), this.name = e, this.value = t, this.keySpan = n, this.valueSpan = a, this.valueTokens = i, this.kind = "attribute";
1293
+ }
1294
+ visit(e, t) {
1295
+ return e.visitAttribute(this, t);
1296
+ }
1297
+ get nameSpan() {
1298
+ return this.keySpan;
1299
+ }
1300
+ }, j = class extends $ {
1301
+ constructor(e, t, r, n, a, i, s, o = null, l = null, c, p) {
1302
+ super(i, p), this.name = e, this.attrs = t, this.directives = r, this.children = n, this.isSelfClosing = a, this.startSourceSpan = s, this.endSourceSpan = o, this.nameSpan = l, this.isVoid = c, this.kind = "element";
1303
+ }
1304
+ visit(e, t) {
1305
+ return e.visitElement(this, t);
1306
+ }
1307
+ }, Ts = class {
1308
+ constructor(e, t) {
1309
+ this.value = e, this.sourceSpan = t, this.kind = "comment";
1310
+ }
1311
+ visit(e, t) {
1312
+ return e.visitComment(this, t);
1313
+ }
1314
+ }, bs = class {
1315
+ constructor(e, t) {
1316
+ this.value = e, this.sourceSpan = t, this.kind = "docType";
1317
+ }
1318
+ visit(e, t) {
1319
+ return e.visitDocType(this, t);
1320
+ }
1321
+ }, ae = class extends $ {
1322
+ constructor(e, t, r, n, a, i, s = null, o) {
1323
+ super(n, o), this.name = e, this.parameters = t, this.children = r, this.nameSpan = a, this.startSourceSpan = i, this.endSourceSpan = s, this.kind = "block";
1324
+ }
1325
+ visit(e, t) {
1326
+ return e.visitBlock(this, t);
1327
+ }
1328
+ }, H = class extends $ {
1329
+ constructor(e, t, r, n, a, i, s, o, l, c = null, p) {
1330
+ super(o, p), this.componentName = e, this.tagName = t, this.fullName = r, this.attrs = n, this.directives = a, this.children = i, this.isSelfClosing = s, this.startSourceSpan = l, this.endSourceSpan = c, this.kind = "component";
1331
+ }
1332
+ visit(e, t) {
1333
+ return e.visitComponent(this, t);
1334
+ }
1335
+ }, ks = class {
1336
+ constructor(e, t, r, n, a = null) {
1337
+ this.name = e, this.attrs = t, this.sourceSpan = r, this.startSourceSpan = n, this.endSourceSpan = a, this.kind = "directive";
1338
+ }
1339
+ visit(e, t) {
1340
+ return e.visitDirective(this, t);
1341
+ }
1342
+ }, Vr = class {
1343
+ constructor(e, t) {
1344
+ this.expression = e, this.sourceSpan = t, this.kind = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
1345
+ }
1346
+ visit(e, t) {
1347
+ return e.visitBlockParameter(this, t);
1348
+ }
1349
+ }, Ur = class {
1350
+ constructor(e, t, r, n, a) {
1351
+ this.name = e, this.value = t, this.sourceSpan = r, this.nameSpan = n, this.valueSpan = a, this.kind = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
1352
+ }
1353
+ visit(e, t) {
1354
+ return e.visitLetDeclaration(this, t);
1355
+ }
1356
+ };
1357
+ function Wr(e, t, r = null) {
1358
+ let n = [], a = e.visit ? (i) => e.visit(i, r) || i.visit(e, r) : (i) => i.visit(e, r);
1359
+ return t.forEach((i) => {
1360
+ let s = a(i);
1361
+ s && n.push(s);
1362
+ }), n;
1363
+ }
1364
+ var ws = class {
1365
+ constructor() {
1366
+ }
1367
+ visitElement(e, t) {
1368
+ this.visitChildren(t, (r) => {
1369
+ r(e.attrs), r(e.directives), r(e.children);
1370
+ });
1371
+ }
1372
+ visitAttribute(e, t) {
1373
+ }
1374
+ visitText(e, t) {
1375
+ }
1376
+ visitCdata(e, t) {
1377
+ }
1378
+ visitComment(e, t) {
1379
+ }
1380
+ visitDocType(e, t) {
1381
+ }
1382
+ visitExpansion(e, t) {
1383
+ return this.visitChildren(t, (r) => {
1384
+ r(e.cases);
1385
+ });
1386
+ }
1387
+ visitExpansionCase(e, t) {
1388
+ }
1389
+ visitBlock(e, t) {
1390
+ this.visitChildren(t, (r) => {
1391
+ r(e.parameters), r(e.children);
1392
+ });
1393
+ }
1394
+ visitBlockParameter(e, t) {
1395
+ }
1396
+ visitLetDeclaration(e, t) {
1397
+ }
1398
+ visitComponent(e, t) {
1399
+ this.visitChildren(t, (r) => {
1400
+ r(e.attrs), r(e.children);
1401
+ });
1402
+ }
1403
+ visitDirective(e, t) {
1404
+ this.visitChildren(t, (r) => {
1405
+ r(e.attrs);
1406
+ });
1407
+ }
1408
+ visitChildren(e, t) {
1409
+ let r = [], n = this;
1410
+ function a(i) {
1411
+ i && r.push(Wr(n, i, e));
1412
+ }
1413
+ return t(a), Array.prototype.concat.apply([], r);
1414
+ }
1415
+ }, De = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "⁡", af: "⁡", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "⁣", ic: "⁣", InvisibleTimes: "⁢", it: "⁢", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "​", NegativeThickSpace: "​", NegativeThinSpace: "​", NegativeVeryThinSpace: "​", ZeroWidthSpace: "​", NewLine: `
1416
+ `, Nfr: "𝔑", NoBreak: "⁠", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: "  ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", 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: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "‎", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "‏", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "­", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "‍", zwnj: "‌" }, ys = "";
1417
+ De.ngsp = ys;
1418
+ var u = (function(e) {
1419
+ return e[e.TAG_OPEN_START = 0] = "TAG_OPEN_START", e[e.TAG_OPEN_END = 1] = "TAG_OPEN_END", e[e.TAG_OPEN_END_VOID = 2] = "TAG_OPEN_END_VOID", e[e.TAG_CLOSE = 3] = "TAG_CLOSE", e[e.INCOMPLETE_TAG_OPEN = 4] = "INCOMPLETE_TAG_OPEN", e[e.TEXT = 5] = "TEXT", e[e.ESCAPABLE_RAW_TEXT = 6] = "ESCAPABLE_RAW_TEXT", e[e.RAW_TEXT = 7] = "RAW_TEXT", e[e.INTERPOLATION = 8] = "INTERPOLATION", e[e.ENCODED_ENTITY = 9] = "ENCODED_ENTITY", e[e.COMMENT_START = 10] = "COMMENT_START", e[e.COMMENT_END = 11] = "COMMENT_END", e[e.CDATA_START = 12] = "CDATA_START", e[e.CDATA_END = 13] = "CDATA_END", e[e.ATTR_NAME = 14] = "ATTR_NAME", e[e.ATTR_QUOTE = 15] = "ATTR_QUOTE", e[e.ATTR_VALUE_TEXT = 16] = "ATTR_VALUE_TEXT", e[e.ATTR_VALUE_INTERPOLATION = 17] = "ATTR_VALUE_INTERPOLATION", e[e.DOC_TYPE_START = 18] = "DOC_TYPE_START", e[e.DOC_TYPE_END = 19] = "DOC_TYPE_END", e[e.EXPANSION_FORM_START = 20] = "EXPANSION_FORM_START", e[e.EXPANSION_CASE_VALUE = 21] = "EXPANSION_CASE_VALUE", e[e.EXPANSION_CASE_EXP_START = 22] = "EXPANSION_CASE_EXP_START", e[e.EXPANSION_CASE_EXP_END = 23] = "EXPANSION_CASE_EXP_END", e[e.EXPANSION_FORM_END = 24] = "EXPANSION_FORM_END", e[e.BLOCK_OPEN_START = 25] = "BLOCK_OPEN_START", e[e.BLOCK_OPEN_END = 26] = "BLOCK_OPEN_END", e[e.BLOCK_CLOSE = 27] = "BLOCK_CLOSE", e[e.BLOCK_PARAMETER = 28] = "BLOCK_PARAMETER", e[e.INCOMPLETE_BLOCK_OPEN = 29] = "INCOMPLETE_BLOCK_OPEN", e[e.LET_START = 30] = "LET_START", e[e.LET_VALUE = 31] = "LET_VALUE", e[e.LET_END = 32] = "LET_END", e[e.INCOMPLETE_LET = 33] = "INCOMPLETE_LET", e[e.COMPONENT_OPEN_START = 34] = "COMPONENT_OPEN_START", e[e.COMPONENT_OPEN_END = 35] = "COMPONENT_OPEN_END", e[e.COMPONENT_OPEN_END_VOID = 36] = "COMPONENT_OPEN_END_VOID", e[e.COMPONENT_CLOSE = 37] = "COMPONENT_CLOSE", e[e.INCOMPLETE_COMPONENT_OPEN = 38] = "INCOMPLETE_COMPONENT_OPEN", e[e.DIRECTIVE_NAME = 39] = "DIRECTIVE_NAME", e[e.DIRECTIVE_OPEN = 40] = "DIRECTIVE_OPEN", e[e.DIRECTIVE_CLOSE = 41] = "DIRECTIVE_CLOSE", e[e.EOF = 42] = "EOF", e;
1420
+ })({}), Ds = class {
1421
+ constructor(e, t, r) {
1422
+ this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
1423
+ }
1424
+ };
1425
+ function xs(e, t, r, n = {}) {
1426
+ let a = new Os(new qr(e, t), r, n);
1427
+ return a.tokenize(), new Ds(Hs(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
1428
+ }
1429
+ var Ns = /\r\n?/g;
1430
+ function X(e) {
1431
+ return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
1432
+ }
1433
+ function zr(e) {
1434
+ return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
1435
+ }
1436
+ function Bs(e, t) {
1437
+ return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
1438
+ }
1439
+ var Tt = (function(e) {
1440
+ return e.HEX = "hexadecimal", e.DEC = "decimal", e;
1441
+ })(Tt || {}), Ls = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"], xe = { start: "{{", end: "}}" }, Os = class {
1442
+ constructor(e, t, r) {
1443
+ this._getTagContentType = t, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._openDirectiveCount = 0, this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
1444
+ let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
1445
+ this._cursor = r.escapedString ? new Vs(e, n) : new Kr(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0, this._selectorlessEnabled = r.selectorlessEnabled ?? !1;
1446
+ try {
1447
+ this._cursor.init();
1448
+ } catch (a) {
1449
+ this.handleError(a);
1450
+ }
1451
+ }
1452
+ _processCarriageReturns(e) {
1453
+ return this._preserveLineEndings ? e : e.replace(Ns, `
1454
+ `);
1455
+ }
1456
+ tokenize() {
1457
+ for (; this._cursor.peek() !== 0; ) {
1458
+ let e = this._cursor.clone();
1459
+ try {
1460
+ if (this._attemptCharCode(60)) if (this._attemptCharCode(33)) this._attemptStr("[CDATA[") ? this._consumeCdata(e) : this._attemptStr("--") ? this._consumeComment(e) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(e) : this._consumeBogusComment(e);
1461
+ else if (this._attemptCharCode(47)) this._consumeTagClose(e);
1462
+ else {
1463
+ let t = this._cursor.clone();
1464
+ this._attemptCharCode(63) ? (this._cursor = t, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
1465
+ }
1466
+ else this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._isLetStart() ? this._consumeLetDeclaration(e) : this._tokenizeBlocks && this._isBlockStart() ? this._consumeBlockStart(e) : this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(e) : this._tokenizeIcu && this._tokenizeExpansionForm() || this._consumeWithInterpolation(u.TEXT, u.INTERPOLATION, () => this._isTextEnd(), () => this._isTagStart());
1467
+ } catch (t) {
1468
+ this.handleError(t);
1469
+ }
1470
+ }
1471
+ this._beginToken(u.EOF), this._endToken([]);
1472
+ }
1473
+ _getBlockName() {
1474
+ let e = !1, t = this._cursor.clone();
1475
+ return this._attemptCharCodeUntilFn((r) => je(r) ? !e : qs(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
1476
+ }
1477
+ _consumeBlockStart(e) {
1478
+ this._requireCharCode(64), this._beginToken(u.BLOCK_OPEN_START, e);
1479
+ let t = this._endToken([this._getBlockName()]);
1480
+ if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(_), this._attemptCharCode(41)) this._attemptCharCodeUntilFn(_);
1481
+ else {
1482
+ t.type = u.INCOMPLETE_BLOCK_OPEN;
1483
+ return;
1484
+ }
1485
+ this._attemptCharCode(123) ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([])) : t.type = u.INCOMPLETE_BLOCK_OPEN;
1486
+ }
1487
+ _consumeBlockEnd(e) {
1488
+ this._beginToken(u.BLOCK_CLOSE, e), this._endToken([]);
1489
+ }
1490
+ _consumeBlockParameters() {
1491
+ for (this._attemptCharCodeUntilFn(jr); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1492
+ this._beginToken(u.BLOCK_PARAMETER);
1493
+ let e = this._cursor.clone(), t = null, r = 0;
1494
+ for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t !== null; ) {
1495
+ let n = this._cursor.peek();
1496
+ if (n === 92) this._cursor.advance();
1497
+ else if (n === t) t = null;
1498
+ else if (t === null && St(n)) t = n;
1499
+ else if (n === 40 && t === null) r++;
1500
+ else if (n === 41 && t === null) {
1501
+ if (r === 0) break;
1502
+ r > 0 && r--;
1503
+ }
1504
+ this._cursor.advance();
1505
+ }
1506
+ this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(jr);
1507
+ }
1508
+ }
1509
+ _consumeLetDeclaration(e) {
1510
+ if (this._requireStr("@let"), this._beginToken(u.LET_START, e), je(this._cursor.peek())) this._attemptCharCodeUntilFn(_);
1511
+ else {
1512
+ let r = this._endToken([this._cursor.getChars(e)]);
1513
+ r.type = u.INCOMPLETE_LET;
1514
+ return;
1515
+ }
1516
+ let t = this._endToken([this._getLetDeclarationName()]);
1517
+ if (this._attemptCharCodeUntilFn(_), !this._attemptCharCode(61)) {
1518
+ t.type = u.INCOMPLETE_LET;
1519
+ return;
1520
+ }
1521
+ this._attemptCharCodeUntilFn((r) => _(r) && !Ge(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(u.LET_END), this._endToken([]), this._cursor.advance()) : (t.type = u.INCOMPLETE_LET, t.sourceSpan = this._cursor.getSpan(e));
1522
+ }
1523
+ _getLetDeclarationName() {
1524
+ let e = this._cursor.clone(), t = !1;
1525
+ return this._attemptCharCodeUntilFn((r) => ye(r) || r === 36 || r === 95 || t && Xe(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
1526
+ }
1527
+ _consumeLetDeclarationValue() {
1528
+ let e = this._cursor.clone();
1529
+ for (this._beginToken(u.LET_VALUE, e); this._cursor.peek() !== 0; ) {
1530
+ let t = this._cursor.peek();
1531
+ if (t === 59) break;
1532
+ St(t) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r) => r === 92 ? (this._cursor.advance(), !1) : r === t)), this._cursor.advance();
1533
+ }
1534
+ this._endToken([this._cursor.getChars(e)]);
1535
+ }
1536
+ _tokenizeExpansionForm() {
1537
+ if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
1538
+ if (Rs(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
1539
+ if (this._cursor.peek() === 125) {
1540
+ if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
1541
+ if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
1542
+ }
1543
+ return !1;
1544
+ }
1545
+ _beginToken(e, t = this._cursor.clone()) {
1546
+ this._currentTokenStart = t, this._currentTokenType = e;
1547
+ }
1548
+ _endToken(e, t) {
1549
+ if (this._currentTokenStart === null) throw new ne(this._cursor.getSpan(t), "Programming error - attempted to end a token when there was no start to the token");
1550
+ if (this._currentTokenType === null) throw new ne(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type");
1551
+ let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
1552
+ return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
1553
+ }
1554
+ _createError(e, t) {
1555
+ this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
1556
+ let r = new ne(t, e);
1557
+ return this._currentTokenStart = null, this._currentTokenType = null, r;
1558
+ }
1559
+ handleError(e) {
1560
+ if (e instanceof bt && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof ne) this.errors.push(e);
1561
+ else throw e;
1562
+ }
1563
+ _attemptCharCode(e) {
1564
+ return this._cursor.peek() === e ? (this._cursor.advance(), !0) : !1;
1565
+ }
1566
+ _attemptCharCodeCaseInsensitive(e) {
1567
+ return Ms(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
1568
+ }
1569
+ _requireCharCode(e) {
1570
+ let t = this._cursor.clone();
1571
+ if (!this._attemptCharCode(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1572
+ }
1573
+ _attemptStr(e) {
1574
+ let t = e.length;
1575
+ if (this._cursor.charsLeft() < t) return !1;
1576
+ let r = this._cursor.clone();
1577
+ for (let n = 0; n < t; n++) if (!this._attemptCharCode(e.charCodeAt(n))) return this._cursor = r, !1;
1578
+ return !0;
1579
+ }
1580
+ _attemptStrCaseInsensitive(e) {
1581
+ for (let t = 0; t < e.length; t++) if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t))) return !1;
1582
+ return !0;
1583
+ }
1584
+ _requireStr(e) {
1585
+ let t = this._cursor.clone();
1586
+ if (!this._attemptStr(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1587
+ }
1588
+ _requireStrCaseInsensitive(e) {
1589
+ let t = this._cursor.clone();
1590
+ if (!this._attemptStrCaseInsensitive(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1591
+ }
1592
+ _attemptCharCodeUntilFn(e) {
1593
+ for (; !e(this._cursor.peek()); ) this._cursor.advance();
1594
+ }
1595
+ _requireCharCodeUntilFn(e, t) {
1596
+ let r = this._cursor.clone();
1597
+ if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(r));
1598
+ }
1599
+ _attemptUntilChar(e) {
1600
+ for (; this._cursor.peek() !== e; ) this._cursor.advance();
1601
+ }
1602
+ _readChar() {
1603
+ let e = String.fromCodePoint(this._cursor.peek());
1604
+ return this._cursor.advance(), e;
1605
+ }
1606
+ _peekStr(e) {
1607
+ let t = e.length;
1608
+ if (this._cursor.charsLeft() < t) return !1;
1609
+ let r = this._cursor.clone();
1610
+ for (let n = 0; n < t; n++) {
1611
+ if (r.peek() !== e.charCodeAt(n)) return !1;
1612
+ r.advance();
1613
+ }
1614
+ return !0;
1615
+ }
1616
+ _isBlockStart() {
1617
+ return this._cursor.peek() === 64 && Ls.some((e) => this._peekStr(e));
1618
+ }
1619
+ _isLetStart() {
1620
+ return this._cursor.peek() === 64 && this._peekStr("@let");
1621
+ }
1622
+ _consumeEntity(e) {
1623
+ this._beginToken(u.ENCODED_ENTITY);
1624
+ let t = this._cursor.clone();
1625
+ if (this._cursor.advance(), this._attemptCharCode(35)) {
1626
+ let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
1627
+ if (this._attemptCharCodeUntilFn(Ps), this._cursor.peek() != 59) {
1628
+ this._cursor.advance();
1629
+ let i = r ? Tt.HEX : Tt.DEC;
1630
+ throw this._createError(Bs(i, this._cursor.getChars(t)), this._cursor.getSpan());
1631
+ }
1632
+ let a = this._cursor.getChars(n);
1633
+ this._cursor.advance();
1634
+ try {
1635
+ let i = parseInt(a, r ? 16 : 10);
1636
+ this._endToken([String.fromCodePoint(i), this._cursor.getChars(t)]);
1637
+ } catch {
1638
+ throw this._createError(zr(this._cursor.getChars(t)), this._cursor.getSpan());
1639
+ }
1640
+ } else {
1641
+ let r = this._cursor.clone();
1642
+ if (this._attemptCharCodeUntilFn(Is), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
1643
+ else {
1644
+ let n = this._cursor.getChars(r);
1645
+ this._cursor.advance();
1646
+ let a = De.hasOwnProperty(n) && De[n];
1647
+ if (!a) throw this._createError(zr(n), this._cursor.getSpan(t));
1648
+ this._endToken([a, `&${n};`]);
1649
+ }
1650
+ }
1651
+ }
1652
+ _consumeRawText(e, t) {
1653
+ this._beginToken(e ? u.ESCAPABLE_RAW_TEXT : u.RAW_TEXT);
1654
+ let r = [];
1655
+ for (; ; ) {
1656
+ let n = this._cursor.clone(), a = t();
1657
+ if (this._cursor = n, a) break;
1658
+ e && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(r.join(""))]), r.length = 0, this._consumeEntity(u.ESCAPABLE_RAW_TEXT), this._beginToken(u.ESCAPABLE_RAW_TEXT)) : r.push(this._readChar());
1659
+ }
1660
+ this._endToken([this._processCarriageReturns(r.join(""))]);
1661
+ }
1662
+ _consumeComment(e) {
1663
+ this._beginToken(u.COMMENT_START, e), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("-->")), this._beginToken(u.COMMENT_END), this._requireStr("-->"), this._endToken([]);
1664
+ }
1665
+ _consumeBogusComment(e) {
1666
+ this._beginToken(u.COMMENT_START, e), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(u.COMMENT_END), this._cursor.advance(), this._endToken([]);
1667
+ }
1668
+ _consumeCdata(e) {
1669
+ this._beginToken(u.CDATA_START, e), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("]]>")), this._beginToken(u.CDATA_END), this._requireStr("]]>"), this._endToken([]);
1670
+ }
1671
+ _consumeDocType(e) {
1672
+ this._beginToken(u.DOC_TYPE_START, e), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(u.DOC_TYPE_END), this._cursor.advance(), this._endToken([]);
1673
+ }
1674
+ _consumePrefixAndName(e) {
1675
+ let t = this._cursor.clone(), r = "";
1676
+ for (; this._cursor.peek() !== 58 && !Fs(this._cursor.peek()); ) this._cursor.advance();
1677
+ let n;
1678
+ this._cursor.peek() === 58 ? (r = this._cursor.getChars(t), this._cursor.advance(), n = this._cursor.clone()) : n = t, this._requireCharCodeUntilFn(e, r === "" ? 0 : 1);
1679
+ let a = this._cursor.getChars(n);
1680
+ return [r, a];
1681
+ }
1682
+ _consumeTagOpen(e) {
1683
+ let t, r, n, a, i = [];
1684
+ try {
1685
+ if (this._selectorlessEnabled && Ke(this._cursor.peek())) a = this._consumeComponentOpenStart(e), [n, r, t] = a.parts, r && (n += `:${r}`), t && (n += `:${t}`), this._attemptCharCodeUntilFn(_);
1686
+ else {
1687
+ if (!ye(this._cursor.peek())) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(e));
1688
+ a = this._consumeTagOpenStart(e), r = a.parts[0], t = n = a.parts[1], this._attemptCharCodeUntilFn(_);
1689
+ }
1690
+ for (; !Gr(this._cursor.peek()); ) if (this._selectorlessEnabled && this._cursor.peek() === 64) {
1691
+ let o = this._cursor.clone(), l = o.clone();
1692
+ l.advance(), Ke(l.peek()) && this._consumeDirective(o, l);
1693
+ } else {
1694
+ let o = this._consumeAttribute();
1695
+ i.push(o);
1696
+ }
1697
+ a.type === u.COMPONENT_OPEN_START ? this._consumeComponentOpenEnd() : this._consumeTagOpenEnd();
1698
+ } catch (o) {
1699
+ if (o instanceof ne) {
1700
+ a ? a.type = a.type === u.COMPONENT_OPEN_START ? u.INCOMPLETE_COMPONENT_OPEN : u.INCOMPLETE_TAG_OPEN : (this._beginToken(u.TEXT, e), this._endToken(["<"]));
1701
+ return;
1702
+ }
1703
+ throw o;
1704
+ }
1705
+ if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === u.TAG_OPEN_END_VOID) return;
1706
+ let s = this._getTagContentType(t, r, this._fullNameStack.length > 0, i);
1707
+ this._handleFullNameStackForTagOpen(r, t), s === M.RAW_TEXT ? this._consumeRawTextWithTagClose(r, a, n, !1) : s === M.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, a, n, !0);
1708
+ }
1709
+ _consumeRawTextWithTagClose(e, t, r, n) {
1710
+ this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(_), !this._attemptStrCaseInsensitive(e && t.type !== u.COMPONENT_OPEN_START ? `${e}:${r}` : r)) ? !1 : (this._attemptCharCodeUntilFn(_), this._attemptCharCode(62))), this._beginToken(t.type === u.COMPONENT_OPEN_START ? u.COMPONENT_CLOSE : u.TAG_CLOSE), this._requireCharCodeUntilFn((a) => a === 62, 3), this._cursor.advance(), this._endToken(t.parts), this._handleFullNameStackForTagClose(e, r);
1711
+ }
1712
+ _consumeTagOpenStart(e) {
1713
+ this._beginToken(u.TAG_OPEN_START, e);
1714
+ let t = this._consumePrefixAndName(G);
1715
+ return this._endToken(t);
1716
+ }
1717
+ _consumeComponentOpenStart(e) {
1718
+ this._beginToken(u.COMPONENT_OPEN_START, e);
1719
+ let t = this._consumeComponentName();
1720
+ return this._endToken(t);
1721
+ }
1722
+ _consumeComponentName() {
1723
+ let e = this._cursor.clone();
1724
+ for (; Xr(this._cursor.peek()); ) this._cursor.advance();
1725
+ let t = this._cursor.getChars(e), r = "", n = "";
1726
+ return this._cursor.peek() === 58 && (this._cursor.advance(), [r, n] = this._consumePrefixAndName(G)), [t, r, n];
1727
+ }
1728
+ _consumeAttribute() {
1729
+ let [e, t] = this._consumeAttributeName(), r;
1730
+ return this._attemptCharCodeUntilFn(_), this._attemptCharCode(61) && (this._attemptCharCodeUntilFn(_), r = this._consumeAttributeValue()), this._attemptCharCodeUntilFn(_), { prefix: e, name: t, value: r };
1731
+ }
1732
+ _consumeAttributeName() {
1733
+ let e = this._cursor.peek();
1734
+ if (e === 39 || e === 34) throw this._createError(X(e), this._cursor.getSpan());
1735
+ this._beginToken(u.ATTR_NAME);
1736
+ let t;
1737
+ if (this._openDirectiveCount > 0) {
1738
+ let n = 0;
1739
+ t = (a) => {
1740
+ if (this._openDirectiveCount > 0) {
1741
+ if (a === 40) n++;
1742
+ else if (a === 41) {
1743
+ if (n === 0) return !0;
1744
+ n--;
1745
+ }
1746
+ }
1747
+ return G(a);
1748
+ };
1749
+ } else if (e === 91) {
1750
+ let n = 0;
1751
+ t = (a) => (a === 91 ? n++ : a === 93 && n--, n <= 0 ? G(a) : Ge(a));
1752
+ } else t = G;
1753
+ let r = this._consumePrefixAndName(t);
1754
+ return this._endToken(r), r;
1755
+ }
1756
+ _consumeAttributeValue() {
1757
+ let e;
1758
+ if (this._cursor.peek() === 39 || this._cursor.peek() === 34) {
1759
+ let t = this._cursor.peek();
1760
+ this._consumeQuote(t);
1761
+ let r = () => this._cursor.peek() === t;
1762
+ e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, r, r), this._consumeQuote(t);
1763
+ } else {
1764
+ let t = () => G(this._cursor.peek());
1765
+ e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, t, t);
1766
+ }
1767
+ return e;
1768
+ }
1769
+ _consumeQuote(e) {
1770
+ this._beginToken(u.ATTR_QUOTE), this._requireCharCode(e), this._endToken([String.fromCodePoint(e)]);
1771
+ }
1772
+ _consumeTagOpenEnd() {
1773
+ let e = this._attemptCharCode(47) ? u.TAG_OPEN_END_VOID : u.TAG_OPEN_END;
1774
+ this._beginToken(e), this._requireCharCode(62), this._endToken([]);
1775
+ }
1776
+ _consumeComponentOpenEnd() {
1777
+ let e = this._attemptCharCode(47) ? u.COMPONENT_OPEN_END_VOID : u.COMPONENT_OPEN_END;
1778
+ this._beginToken(e), this._requireCharCode(62), this._endToken([]);
1779
+ }
1780
+ _consumeTagClose(e) {
1781
+ if (this._selectorlessEnabled) {
1782
+ let t = e.clone();
1783
+ for (; t.peek() !== 62 && !Ke(t.peek()); ) t.advance();
1784
+ if (Ke(t.peek())) {
1785
+ this._beginToken(u.COMPONENT_CLOSE, e);
1786
+ let r = this._consumeComponentName();
1787
+ this._attemptCharCodeUntilFn(_), this._requireCharCode(62), this._endToken(r);
1788
+ return;
1789
+ }
1790
+ }
1791
+ if (this._beginToken(u.TAG_CLOSE, e), this._attemptCharCodeUntilFn(_), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(_), this._requireCharCode(62), this._endToken([]);
1792
+ else {
1793
+ let [t, r] = this._consumePrefixAndName(G);
1794
+ this._attemptCharCodeUntilFn(_), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
1795
+ }
1796
+ }
1797
+ _consumeExpansionFormStart() {
1798
+ this._beginToken(u.EXPANSION_FORM_START), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(u.EXPANSION_FORM_START), this._beginToken(u.RAW_TEXT);
1799
+ let e = this._readUntil(44), t = this._processCarriageReturns(e);
1800
+ if (this._i18nNormalizeLineEndingsInICUs) this._endToken([t]);
1801
+ else {
1802
+ let n = this._endToken([e]);
1803
+ t !== e && this.nonNormalizedIcuExpressions.push(n);
1804
+ }
1805
+ this._requireCharCode(44), this._attemptCharCodeUntilFn(_), this._beginToken(u.RAW_TEXT);
1806
+ let r = this._readUntil(44);
1807
+ this._endToken([r]), this._requireCharCode(44), this._attemptCharCodeUntilFn(_);
1808
+ }
1809
+ _consumeExpansionCaseStart() {
1810
+ this._beginToken(u.EXPANSION_CASE_VALUE);
1811
+ let e = this._readUntil(123).trim();
1812
+ this._endToken([e]), this._attemptCharCodeUntilFn(_), this._beginToken(u.EXPANSION_CASE_EXP_START), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(_), this._expansionCaseStack.push(u.EXPANSION_CASE_EXP_START);
1813
+ }
1814
+ _consumeExpansionCaseEnd() {
1815
+ this._beginToken(u.EXPANSION_CASE_EXP_END), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(_), this._expansionCaseStack.pop();
1816
+ }
1817
+ _consumeExpansionFormEnd() {
1818
+ this._beginToken(u.EXPANSION_FORM_END), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop();
1819
+ }
1820
+ _consumeWithInterpolation(e, t, r, n) {
1821
+ this._beginToken(e);
1822
+ let a = [];
1823
+ for (; !r(); ) {
1824
+ let s = this._cursor.clone();
1825
+ this._attemptStr(xe.start) ? (this._endToken([this._processCarriageReturns(a.join(""))], s), a.length = 0, this._consumeInterpolation(t, s, n), this._beginToken(e)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(a.join(""))]), a.length = 0, this._consumeEntity(e), this._beginToken(e)) : a.push(this._readChar());
1826
+ }
1827
+ this._inInterpolation = !1;
1828
+ let i = this._processCarriageReturns(a.join(""));
1829
+ return this._endToken([i]), i;
1830
+ }
1831
+ _consumeInterpolation(e, t, r) {
1832
+ let n = [];
1833
+ this._beginToken(e, t), n.push(xe.start);
1834
+ let a = this._cursor.clone(), i = null, s = !1;
1835
+ for (; this._cursor.peek() !== 0 && (r === null || !r()); ) {
1836
+ let o = this._cursor.clone();
1837
+ if (this._isTagStart()) {
1838
+ this._cursor = o, n.push(this._getProcessedChars(a, o)), this._endToken(n);
1839
+ return;
1840
+ }
1841
+ if (i === null) if (this._attemptStr(xe.end)) {
1842
+ n.push(this._getProcessedChars(a, o)), n.push(xe.end), this._endToken(n);
1843
+ return;
1844
+ } else this._attemptStr("//") && (s = !0);
1845
+ let l = this._cursor.peek();
1846
+ this._cursor.advance(), l === 92 ? this._cursor.advance() : l === i ? i = null : !s && i === null && St(l) && (i = l);
1847
+ }
1848
+ n.push(this._getProcessedChars(a, this._cursor)), this._endToken(n);
1849
+ }
1850
+ _consumeDirective(e, t) {
1851
+ for (this._requireCharCode(64), this._cursor.advance(); Xr(this._cursor.peek()); ) this._cursor.advance();
1852
+ this._beginToken(u.DIRECTIVE_NAME, e);
1853
+ let r = this._cursor.getChars(t);
1854
+ if (this._endToken([r]), this._attemptCharCodeUntilFn(_), this._cursor.peek() === 40) {
1855
+ for (this._openDirectiveCount++, this._beginToken(u.DIRECTIVE_OPEN), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(_); !Gr(this._cursor.peek()) && this._cursor.peek() !== 41; ) this._consumeAttribute();
1856
+ if (this._attemptCharCodeUntilFn(_), this._openDirectiveCount--, this._cursor.peek() !== 41) {
1857
+ if (this._cursor.peek() === 62 || this._cursor.peek() === 47) return;
1858
+ throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(e));
1859
+ }
1860
+ this._beginToken(u.DIRECTIVE_CLOSE), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(_);
1861
+ }
1862
+ }
1863
+ _getProcessedChars(e, t) {
1864
+ return this._processCarriageReturns(t.getChars(e));
1865
+ }
1866
+ _isTextEnd() {
1867
+ return !!(this._isTagStart() || this._cursor.peek() === 0 || this._tokenizeIcu && !this._inInterpolation && (this.isExpansionFormStart() || this._cursor.peek() === 125 && this._isInExpansionCase()) || this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansion() && (this._isBlockStart() || this._isLetStart() || this._cursor.peek() === 125));
1868
+ }
1869
+ _isTagStart() {
1870
+ if (this._cursor.peek() === 60) {
1871
+ let e = this._cursor.clone();
1872
+ e.advance();
1873
+ let t = e.peek();
1874
+ if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33) return !0;
1875
+ }
1876
+ return !1;
1877
+ }
1878
+ _readUntil(e) {
1879
+ let t = this._cursor.clone();
1880
+ return this._attemptUntilChar(e), this._cursor.getChars(t);
1881
+ }
1882
+ _isInExpansion() {
1883
+ return this._isInExpansionCase() || this._isInExpansionForm();
1884
+ }
1885
+ _isInExpansionCase() {
1886
+ return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === u.EXPANSION_CASE_EXP_START;
1887
+ }
1888
+ _isInExpansionForm() {
1889
+ return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === u.EXPANSION_FORM_START;
1890
+ }
1891
+ isExpansionFormStart() {
1892
+ if (this._cursor.peek() !== 123) return !1;
1893
+ let e = this._cursor.clone(), t = this._attemptStr(xe.start);
1894
+ return this._cursor = e, !t;
1895
+ }
1896
+ _handleFullNameStackForTagOpen(e, t) {
1897
+ let r = be(e, t);
1898
+ (this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r) && this._fullNameStack.push(r);
1899
+ }
1900
+ _handleFullNameStackForTagClose(e, t) {
1901
+ let r = be(e, t);
1902
+ this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r && this._fullNameStack.pop();
1903
+ }
1904
+ };
1905
+ function _(e) {
1906
+ return !je(e) || e === 0;
1907
+ }
1908
+ function G(e) {
1909
+ return je(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
1910
+ }
1911
+ function Fs(e) {
1912
+ return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
1913
+ }
1914
+ function Ps(e) {
1915
+ return e === 59 || e === 0 || !_s(e);
1916
+ }
1917
+ function Is(e) {
1918
+ return e === 59 || e === 0 || !ye(e);
1919
+ }
1920
+ function Rs(e) {
1921
+ return e !== 125;
1922
+ }
1923
+ function Ms(e, t) {
1924
+ return $r(e) === $r(t);
1925
+ }
1926
+ function $r(e) {
1927
+ return e >= 97 && e <= 122 ? e - 97 + 65 : e;
1928
+ }
1929
+ function qs(e) {
1930
+ return ye(e) || Xe(e) || e === 95;
1931
+ }
1932
+ function jr(e) {
1933
+ return e !== 59 && _(e);
1934
+ }
1935
+ function Ke(e) {
1936
+ return e === 95 || e >= 65 && e <= 90;
1937
+ }
1938
+ function Xr(e) {
1939
+ return ye(e) || Xe(e) || e === 95;
1940
+ }
1941
+ function Gr(e) {
1942
+ return e === 47 || e === 62 || e === 60 || e === 0;
1943
+ }
1944
+ function Hs(e) {
1945
+ let t = [], r;
1946
+ for (let n = 0; n < e.length; n++) {
1947
+ let a = e[n];
1948
+ r && r.type === u.TEXT && a.type === u.TEXT || r && r.type === u.ATTR_VALUE_TEXT && a.type === u.ATTR_VALUE_TEXT ? (r.parts[0] += a.parts[0], r.sourceSpan.end = a.sourceSpan.end) : (r = a, t.push(r));
1949
+ }
1950
+ return t;
1951
+ }
1952
+ var Kr = class Ft {
1953
+ constructor(t, r) {
1954
+ if (t instanceof Ft) {
1955
+ this.file = t.file, this.input = t.input, this.end = t.end;
1956
+ let n = t.state;
1957
+ this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
1958
+ } else {
1959
+ if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
1960
+ this.file = t, this.input = t.content, this.end = r.endPos, this.state = { peek: -1, offset: r.startPos, line: r.startLine, column: r.startCol };
1961
+ }
1962
+ }
1963
+ clone() {
1964
+ return new Ft(this);
1965
+ }
1966
+ peek() {
1967
+ return this.state.peek;
1968
+ }
1969
+ charsLeft() {
1970
+ return this.end - this.state.offset;
1971
+ }
1972
+ diff(t) {
1973
+ return this.state.offset - t.state.offset;
1974
+ }
1975
+ advance() {
1976
+ this.advanceState(this.state);
1977
+ }
1978
+ init() {
1979
+ this.updatePeek(this.state);
1980
+ }
1981
+ getSpan(t, r) {
1982
+ t = t || this;
1983
+ let n = t;
1984
+ if (r) for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; ) n === t && (t = t.clone()), t.advance();
1985
+ let a = this.locationFromCursor(t);
1986
+ return new d(a, this.locationFromCursor(this), n !== t ? this.locationFromCursor(n) : a);
1987
+ }
1988
+ getChars(t) {
1989
+ return this.input.substring(t.state.offset, this.state.offset);
1990
+ }
1991
+ charAt(t) {
1992
+ return this.input.charCodeAt(t);
1993
+ }
1994
+ advanceState(t) {
1995
+ if (t.offset >= this.end) throw this.state = t, new bt('Unexpected character "EOF"', this);
1996
+ let r = this.charAt(t.offset);
1997
+ r === 10 ? (t.line++, t.column = 0) : Ge(r) || t.column++, t.offset++, this.updatePeek(t);
1998
+ }
1999
+ updatePeek(t) {
2000
+ t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
2001
+ }
2002
+ locationFromCursor(t) {
2003
+ return new At(t.file, t.state.offset, t.state.line, t.state.column);
2004
+ }
2005
+ }, Vs = class Pt extends Kr {
2006
+ constructor(t, r) {
2007
+ t instanceof Pt ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
2008
+ }
2009
+ advance() {
2010
+ this.state = this.internalState, super.advance(), this.processEscapeSequence();
2011
+ }
2012
+ init() {
2013
+ super.init(), this.processEscapeSequence();
2014
+ }
2015
+ clone() {
2016
+ return new Pt(this);
2017
+ }
2018
+ getChars(t) {
2019
+ let r = t.clone(), n = "";
2020
+ for (; r.internalState.offset < this.internalState.offset; ) n += String.fromCodePoint(r.peek()), r.advance();
2021
+ return n;
2022
+ }
2023
+ processEscapeSequence() {
2024
+ let t = () => this.internalState.peek;
2025
+ if (t() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t() === 110) this.state.peek = 10;
2026
+ else if (t() === 114) this.state.peek = 13;
2027
+ else if (t() === 118) this.state.peek = 11;
2028
+ else if (t() === 116) this.state.peek = 9;
2029
+ else if (t() === 98) this.state.peek = 8;
2030
+ else if (t() === 102) this.state.peek = 12;
2031
+ else if (t() === 117) if (this.advanceState(this.internalState), t() === 123) {
2032
+ this.advanceState(this.internalState);
2033
+ let r = this.clone(), n = 0;
2034
+ for (; t() !== 125; ) this.advanceState(this.internalState), n++;
2035
+ this.state.peek = this.decodeHexDigits(r, n);
2036
+ } else {
2037
+ let r = this.clone();
2038
+ this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 4);
2039
+ }
2040
+ else if (t() === 120) {
2041
+ this.advanceState(this.internalState);
2042
+ let r = this.clone();
2043
+ this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
2044
+ } else if (Mr(t())) {
2045
+ let r = "", n = 0, a = this.clone();
2046
+ for (; Mr(t()) && n < 3; ) a = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
2047
+ this.state.peek = parseInt(r, 8), this.internalState = a.internalState;
2048
+ } else Ge(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
2049
+ }
2050
+ decodeHexDigits(t, r) {
2051
+ let n = this.input.slice(t.internalState.offset, t.internalState.offset + r), a = parseInt(n, 16);
2052
+ if (isNaN(a)) throw t.state = t.internalState, new bt("Invalid hexadecimal escape sequence", t);
2053
+ return a;
2054
+ }
2055
+ }, bt = class extends Error {
2056
+ constructor(e, t) {
2057
+ super(e), this.msg = e, this.cursor = t, Object.setPrototypeOf(this, new.target.prototype);
2058
+ }
2059
+ }, T = class pn extends ne {
2060
+ static create(t, r, n) {
2061
+ return new pn(t, r, n);
2062
+ }
2063
+ constructor(t, r, n) {
2064
+ super(r, n), this.elementName = t;
2065
+ }
2066
+ }, Us = class {
2067
+ constructor(e, t) {
2068
+ this.rootNodes = e, this.errors = t;
2069
+ }
2070
+ }, Ws = class {
2071
+ constructor(e) {
2072
+ this.getTagDefinition = e;
2073
+ }
2074
+ parse(e, t, r, n = !1, a) {
2075
+ let i = (h) => (f, ...v) => h(f.toLowerCase(), ...v), s = n ? this.getTagDefinition : i(this.getTagDefinition), o = (h) => s(h).getContentType(), l = n ? a : i(a), c = xs(e, t, a ? (h, f, v, P) => {
2076
+ let q = l(h, f, v, P);
2077
+ return q !== void 0 ? q : o(h);
2078
+ } : o, r), p = r && r.canSelfClose || !1, C = r && r.allowHtmComponentClosingTags || !1, g = new zs(c.tokens, s, p, C, n);
2079
+ return g.build(), new Us(g.rootNodes, [...c.errors, ...g.errors]);
2080
+ }
2081
+ }, zs = class hn {
2082
+ constructor(t, r, n, a, i) {
2083
+ this.tokens = t, this.tagDefinitionResolver = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
2084
+ }
2085
+ build() {
2086
+ for (; this._peek.type !== u.EOF; ) this._peek.type === u.TAG_OPEN_START || this._peek.type === u.INCOMPLETE_TAG_OPEN ? this._consumeElementStartTag(this._advance()) : this._peek.type === u.TAG_CLOSE ? (this._closeVoidElement(), this._consumeElementEndTag(this._advance())) : this._peek.type === u.CDATA_START ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === u.COMMENT_START ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === u.TEXT || this._peek.type === u.RAW_TEXT || this._peek.type === u.ESCAPABLE_RAW_TEXT ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === u.EXPANSION_FORM_START ? this._consumeExpansion(this._advance()) : this._peek.type === u.BLOCK_OPEN_START ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === u.BLOCK_CLOSE ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === u.INCOMPLETE_BLOCK_OPEN ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === u.LET_START ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === u.DOC_TYPE_START ? this._consumeDocType(this._advance()) : this._peek.type === u.INCOMPLETE_LET ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._peek.type === u.COMPONENT_OPEN_START || this._peek.type === u.INCOMPLETE_COMPONENT_OPEN ? this._consumeComponentStartTag(this._advance()) : this._peek.type === u.COMPONENT_CLOSE ? this._consumeComponentEndTag(this._advance()) : this._advance();
2087
+ for (let t of this._containerStack) t instanceof ae && this.errors.push(T.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
2088
+ }
2089
+ _advance() {
2090
+ let t = this._peek;
2091
+ return this._index < this.tokens.length - 1 && this._index++, this._peek = this.tokens[this._index], t;
2092
+ }
2093
+ _advanceIf(t) {
2094
+ return this._peek.type === t ? this._advance() : null;
2095
+ }
2096
+ _consumeCdata(t) {
2097
+ let r = this._advance(), n = this._getText(r), a = this._advanceIf(u.CDATA_END);
2098
+ this._addToParent(new vs(n, new d(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
2099
+ }
2100
+ _consumeComment(t) {
2101
+ let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.COMMENT_END), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new d(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
2102
+ this._addToParent(new Ts(a, i));
2103
+ }
2104
+ _consumeDocType(t) {
2105
+ let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.DOC_TYPE_END), a = r != null ? r.parts[0].trim() : null, i = new d(t.sourceSpan.start, (n || r || t).sourceSpan.end);
2106
+ this._addToParent(new bs(a, i));
2107
+ }
2108
+ _consumeExpansion(t) {
2109
+ let r = this._advance(), n = this._advance(), a = [];
2110
+ for (; this._peek.type === u.EXPANSION_CASE_VALUE; ) {
2111
+ let s = this._parseExpansionCase();
2112
+ if (!s) return;
2113
+ a.push(s);
2114
+ }
2115
+ if (this._peek.type !== u.EXPANSION_FORM_END) {
2116
+ this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
2117
+ return;
2118
+ }
2119
+ let i = new d(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
2120
+ this._addToParent(new Es(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
2121
+ }
2122
+ _parseExpansionCase() {
2123
+ let t = this._advance();
2124
+ if (this._peek.type !== u.EXPANSION_CASE_EXP_START) return this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2125
+ let r = this._advance(), n = this._collectExpansionExpTokens(r);
2126
+ if (!n) return null;
2127
+ let a = this._advance();
2128
+ n.push({ type: u.EOF, parts: [], sourceSpan: a.sourceSpan });
2129
+ let i = new hn(n, this.tagDefinitionResolver, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
2130
+ if (i.build(), i.errors.length > 0) return this.errors = this.errors.concat(i.errors), null;
2131
+ let s = new d(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), o = new d(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
2132
+ return new Ss(t.parts[0], i.rootNodes, s, t.sourceSpan, o);
2133
+ }
2134
+ _collectExpansionExpTokens(t) {
2135
+ let r = [], n = [u.EXPANSION_CASE_EXP_START];
2136
+ for (; ; ) {
2137
+ if ((this._peek.type === u.EXPANSION_FORM_START || this._peek.type === u.EXPANSION_CASE_EXP_START) && n.push(this._peek.type), this._peek.type === u.EXPANSION_CASE_EXP_END) if (Yr(n, u.EXPANSION_CASE_EXP_START)) {
2138
+ if (n.pop(), n.length === 0) return r;
2139
+ } else return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2140
+ if (this._peek.type === u.EXPANSION_FORM_END) if (Yr(n, u.EXPANSION_FORM_START)) n.pop();
2141
+ else return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2142
+ if (this._peek.type === u.EOF) return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2143
+ r.push(this._advance());
2144
+ }
2145
+ }
2146
+ _getText(t) {
2147
+ let r = t.parts[0];
2148
+ if (r.length > 0 && r[0] == `
2149
+ `) {
2150
+ var n;
2151
+ let a = this._getClosestElementLikeParent();
2152
+ a != null && a.children.length == 0 && !((n = this._getTagDefinition(a)) === null || n === void 0) && n.ignoreFirstLf && (r = r.substring(1));
2153
+ }
2154
+ return r;
2155
+ }
2156
+ _consumeText(t) {
2157
+ let r = [t], n = t.sourceSpan, a = t.parts[0];
2158
+ if (a.length > 0 && a[0] === `
2159
+ `) {
2160
+ var i;
2161
+ let s = this._getContainer();
2162
+ s != null && s.children.length === 0 && !((i = this._getTagDefinition(s)) === null || i === void 0) && i.ignoreFirstLf && (a = a.substring(1), r[0] = { type: t.type, sourceSpan: t.sourceSpan, parts: [a] });
2163
+ }
2164
+ for (; this._peek.type === u.INTERPOLATION || this._peek.type === u.TEXT || this._peek.type === u.ENCODED_ENTITY; ) t = this._advance(), r.push(t), t.type === u.INTERPOLATION ? a += t.parts.join("").replace(/&([^;]+);/g, Jr) : t.type === u.ENCODED_ENTITY ? a += t.parts[0] : a += t.parts.join("");
2165
+ if (a.length > 0) {
2166
+ let s = t.sourceSpan;
2167
+ this._addToParent(new Cs(a, new d(n.start, s.end, n.fullStart, n.details), r));
2168
+ }
2169
+ }
2170
+ _closeVoidElement() {
2171
+ var t;
2172
+ let r = this._getContainer();
2173
+ r !== null && !((t = this._getTagDefinition(r)) === null || t === void 0) && t.isVoid && this._containerStack.pop();
2174
+ }
2175
+ _consumeElementStartTag(t) {
2176
+ var r;
2177
+ let n = [], a = [];
2178
+ this._consumeAttributesAndDirectives(n, a);
2179
+ let i = this._getElementFullName(t, this._getClosestElementLikeParent()), s = this._getTagDefinition(i), o = !1;
2180
+ if (this._peek.type === u.TAG_OPEN_END_VOID) {
2181
+ this._advance(), o = !0;
2182
+ let v = this._getTagDefinition(i);
2183
+ this.canSelfClose || v?.canSelfClose || We(i) !== null || v?.isVoid || this.errors.push(T.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
2184
+ } else this._peek.type === u.TAG_OPEN_END && (this._advance(), o = !1);
2185
+ let l = this._peek.sourceSpan.fullStart, c = new d(t.sourceSpan.start, l, t.sourceSpan.fullStart), p = new d(t.sourceSpan.start, l, t.sourceSpan.fullStart), C = new d(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), g = new j(i, n, a, [], o, c, p, void 0, C, s?.isVoid ?? !1), h = this._getContainer(), f = h !== null && !!(!((r = this._getTagDefinition(h)) === null || r === void 0) && r.isClosedByChild(g.name));
2186
+ this._pushContainer(g, f), o ? this._popContainer(i, j, c) : t.type === u.INCOMPLETE_TAG_OPEN && (this._popContainer(i, j, null), this.errors.push(T.create(i, c, `Opening tag "${i}" not terminated.`)));
2187
+ }
2188
+ _consumeComponentStartTag(t) {
2189
+ var r;
2190
+ let n = t.parts[0], a = [], i = [];
2191
+ this._consumeAttributesAndDirectives(a, i);
2192
+ let s = this._getClosestElementLikeParent(), o = this._getComponentTagName(t, s), l = this._getComponentFullName(t, s), c = this._peek.type === u.COMPONENT_OPEN_END_VOID;
2193
+ this._advance();
2194
+ let p = this._peek.sourceSpan.fullStart, C = new d(t.sourceSpan.start, p, t.sourceSpan.fullStart), g = new d(t.sourceSpan.start, p, t.sourceSpan.fullStart), h = new H(n, o, l, a, i, [], c, C, g, void 0), f = this._getContainer(), v = f !== null && h.tagName !== null && !!(!((r = this._getTagDefinition(f)) === null || r === void 0) && r.isClosedByChild(h.tagName));
2195
+ this._pushContainer(h, v), c ? this._popContainer(l, H, C) : t.type === u.INCOMPLETE_COMPONENT_OPEN && (this._popContainer(l, H, null), this.errors.push(T.create(l, C, `Opening tag "${l}" not terminated.`)));
2196
+ }
2197
+ _consumeAttributesAndDirectives(t, r) {
2198
+ for (; this._peek.type === u.ATTR_NAME || this._peek.type === u.DIRECTIVE_NAME; ) this._peek.type === u.DIRECTIVE_NAME ? r.push(this._consumeDirective(this._peek)) : t.push(this._consumeAttr(this._advance()));
2199
+ }
2200
+ _consumeComponentEndTag(t) {
2201
+ let r = this._getComponentFullName(t, this._getClosestElementLikeParent());
2202
+ if (!this._popContainer(r, H, t.sourceSpan)) {
2203
+ let n = this._containerStack[this._containerStack.length - 1], a;
2204
+ n instanceof H && n.componentName === t.parts[0] ? a = `, did you mean "${n.fullName}"?` : a = ". It may happen when the tag has already been closed by another tag.";
2205
+ let i = `Unexpected closing tag "${r}"${a}`;
2206
+ this.errors.push(T.create(r, t.sourceSpan, i));
2207
+ }
2208
+ }
2209
+ _getTagDefinition(t) {
2210
+ return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof j ? this.tagDefinitionResolver(t.name) : t instanceof H && t.tagName !== null ? this.tagDefinitionResolver(t.tagName) : null;
2211
+ }
2212
+ _pushContainer(t, r) {
2213
+ r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
2214
+ }
2215
+ _consumeElementEndTag(t) {
2216
+ var r;
2217
+ let n = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t, this._getClosestElementLikeParent());
2218
+ if (n && !((r = this._getTagDefinition(n)) === null || r === void 0) && r.isVoid) this.errors.push(T.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
2219
+ else if (!this._popContainer(n, j, t.sourceSpan)) {
2220
+ let a = `Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
2221
+ this.errors.push(T.create(n, t.sourceSpan, a));
2222
+ }
2223
+ }
2224
+ _popContainer(t, r, n) {
2225
+ let a = !1;
2226
+ for (let s = this._containerStack.length - 1; s >= 0; s--) {
2227
+ var i;
2228
+ let o = this._containerStack[s], l = o instanceof H ? o.fullName : o.name;
2229
+ if (We(l) ? l === t : (l === t || t === null) && o instanceof r) return o.endSourceSpan = n, o.sourceSpan.end = n !== null ? n.end : o.sourceSpan.end, this._containerStack.splice(s, this._containerStack.length - s), !a;
2230
+ (o instanceof ae || !(!((i = this._getTagDefinition(o)) === null || i === void 0) && i.closedByParent)) && (a = !0);
2231
+ }
2232
+ return !1;
2233
+ }
2234
+ _consumeAttr(t) {
2235
+ let r = be(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
2236
+ this._peek.type === u.ATTR_QUOTE && (a = this._advance());
2237
+ let i = "", s = [], o, l;
2238
+ if (this._peek.type === u.ATTR_VALUE_TEXT) for (o = this._peek.sourceSpan, l = this._peek.sourceSpan.end; this._peek.type === u.ATTR_VALUE_TEXT || this._peek.type === u.ATTR_VALUE_INTERPOLATION || this._peek.type === u.ENCODED_ENTITY; ) {
2239
+ let p = this._advance();
2240
+ s.push(p), p.type === u.ATTR_VALUE_INTERPOLATION ? i += p.parts.join("").replace(/&([^;]+);/g, Jr) : p.type === u.ENCODED_ENTITY ? i += p.parts[0] : i += p.parts.join(""), l = n = p.sourceSpan.end;
2241
+ }
2242
+ this._peek.type === u.ATTR_QUOTE && (l = n = this._advance().sourceSpan.end);
2243
+ let c = o && l && new d(a?.sourceSpan.start ?? o.start, l, a?.sourceSpan.fullStart ?? o.fullStart);
2244
+ return new As(r, i, new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, c, s.length > 0 ? s : void 0, void 0);
2245
+ }
2246
+ _consumeDirective(t) {
2247
+ let r = [], n = t.sourceSpan.end, a = null;
2248
+ if (this._advance(), this._peek.type === u.DIRECTIVE_OPEN) {
2249
+ for (n = this._peek.sourceSpan.end, this._advance(); this._peek.type === u.ATTR_NAME; ) r.push(this._consumeAttr(this._advance()));
2250
+ this._peek.type === u.DIRECTIVE_CLOSE ? (a = this._peek.sourceSpan, this._advance()) : this.errors.push(T.create(null, t.sourceSpan, "Unterminated directive definition"));
2251
+ }
2252
+ let i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new d(i.start, a === null ? t.sourceSpan.end : a.end, i.fullStart);
2253
+ return new ks(t.parts[0], r, s, i, a);
2254
+ }
2255
+ _consumeBlockOpen(t) {
2256
+ let r = [];
2257
+ for (; this._peek.type === u.BLOCK_PARAMETER; ) {
2258
+ let o = this._advance();
2259
+ r.push(new Vr(o.parts[0], o.sourceSpan));
2260
+ }
2261
+ this._peek.type === u.BLOCK_OPEN_END && this._advance();
2262
+ let n = this._peek.sourceSpan.fullStart, a = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new ae(t.parts[0], r, [], a, t.sourceSpan, i);
2263
+ this._pushContainer(s, !1);
2264
+ }
2265
+ _consumeBlockClose(t) {
2266
+ this._popContainer(null, ae, t.sourceSpan) || this.errors.push(T.create(null, t.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'));
2267
+ }
2268
+ _consumeIncompleteBlock(t) {
2269
+ let r = [];
2270
+ for (; this._peek.type === u.BLOCK_PARAMETER; ) {
2271
+ let o = this._advance();
2272
+ r.push(new Vr(o.parts[0], o.sourceSpan));
2273
+ }
2274
+ let n = this._peek.sourceSpan.fullStart, a = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new ae(t.parts[0], r, [], a, t.sourceSpan, i);
2275
+ this._pushContainer(s, !1), this._popContainer(null, ae, null), this.errors.push(T.create(t.parts[0], a, `Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
2276
+ }
2277
+ _consumeLet(t) {
2278
+ let r = t.parts[0], n, a;
2279
+ if (this._peek.type !== u.LET_VALUE) {
2280
+ this.errors.push(T.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
2281
+ return;
2282
+ } else n = this._advance();
2283
+ if (this._peek.type !== u.LET_END) {
2284
+ this.errors.push(T.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
2285
+ return;
2286
+ } else a = this._advance();
2287
+ let i = a.sourceSpan.fullStart, s = new d(t.sourceSpan.start, i, t.sourceSpan.fullStart), o = t.sourceSpan.toString().lastIndexOf(r), l = new d(t.sourceSpan.start.moveBy(o), t.sourceSpan.end), c = new Ur(r, n.parts[0], s, l, n.sourceSpan);
2288
+ this._addToParent(c);
2289
+ }
2290
+ _consumeIncompleteLet(t) {
2291
+ let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
2292
+ if (r.length > 0) {
2293
+ let a = t.sourceSpan.toString().lastIndexOf(r), i = new d(t.sourceSpan.start.moveBy(a), t.sourceSpan.end), s = new d(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new Ur(r, "", t.sourceSpan, i, s);
2294
+ this._addToParent(o);
2295
+ }
2296
+ this.errors.push(T.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
2297
+ }
2298
+ _getContainer() {
2299
+ return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
2300
+ }
2301
+ _getClosestElementLikeParent() {
2302
+ for (let t = this._containerStack.length - 1; t > -1; t--) {
2303
+ let r = this._containerStack[t];
2304
+ if (r instanceof j || r instanceof H) return r;
2305
+ }
2306
+ return null;
2307
+ }
2308
+ _addToParent(t) {
2309
+ let r = this._getContainer();
2310
+ r === null ? this.rootNodes.push(t) : r.children.push(t);
2311
+ }
2312
+ _getElementFullName(t, r) {
2313
+ return be(this._getPrefix(t, r), t.parts[1]);
2314
+ }
2315
+ _getComponentFullName(t, r) {
2316
+ let n = t.parts[0], a = this._getComponentTagName(t, r);
2317
+ return a === null ? n : a.startsWith(":") ? n + a : `${n}:${a}`;
2318
+ }
2319
+ _getComponentTagName(t, r) {
2320
+ let n = this._getPrefix(t, r), a = t.parts[2];
2321
+ return !n && !a ? null : !n && a ? a : be(n, a || "ng-component");
2322
+ }
2323
+ _getPrefix(t, r) {
2324
+ var n;
2325
+ let a, i;
2326
+ if (t.type === u.COMPONENT_OPEN_START || t.type === u.INCOMPLETE_COMPONENT_OPEN || t.type === u.COMPONENT_CLOSE ? (a = t.parts[1], i = t.parts[2]) : (a = t.parts[0], i = t.parts[1]), a = a || ((n = this._getTagDefinition(i)) === null || n === void 0 ? void 0 : n.implicitNamespacePrefix) || "", !a && r) {
2327
+ let s = r instanceof j ? r.name : r.tagName;
2328
+ if (s !== null) {
2329
+ let o = Ue(s)[1], l = this._getTagDefinition(o);
2330
+ l !== null && !l.preventNamespaceInheritance && (a = We(s));
2331
+ }
2332
+ }
2333
+ return a;
2334
+ }
2335
+ };
2336
+ function Yr(e, t) {
2337
+ return e.length > 0 && e[e.length - 1] === t;
2338
+ }
2339
+ function Jr(e, t) {
2340
+ return De[t] !== void 0 ? De[t] || e : /^#x[a-f0-9]+$/i.test(t) ? String.fromCodePoint(parseInt(t.slice(2), 16)) : /^#\d+$/.test(t) ? String.fromCodePoint(parseInt(t.slice(1), 10)) : e;
2341
+ }
2342
+ var $s = class extends Ws {
2343
+ constructor() {
2344
+ super(Et);
2345
+ }
2346
+ parse(e, t, r, n = !1, a) {
2347
+ return super.parse(e, t, r, n, a);
2348
+ }
2349
+ }, kt = null, js = () => (kt || (kt = new $s()), kt);
2350
+ function wt(e, t = {}) {
2351
+ let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1, tokenizeAngularLetDeclaration: o = !1, enableAngularSelectorlessSyntax: l = !1 } = t;
2352
+ return js().parse(e, "angular-html-parser", { tokenizeExpansionForms: s, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: o, selectorlessEnabled: l }, a, i);
2353
+ }
2354
+ var Xs = [Ks, Ys, Qs, eo, to, ao, ro, no, io, Zs];
2355
+ function Gs(e, t) {
2356
+ for (let r of Xs) r(e, t);
2357
+ return e;
2358
+ }
2359
+ function Ks(e) {
2360
+ e.walk((t) => {
2361
+ if (t.kind === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].kind === "text" && t.children[0].value[0] === `
2362
+ `) {
2363
+ let r = t.children[0];
2364
+ r.value.length === 1 ? t.removeChild(r) : r.value = r.value.slice(1);
2365
+ }
2366
+ });
2367
+ }
2368
+ function Ys(e) {
2369
+ let t = (r) => r.kind === "element" && r.prev?.kind === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && r.firstChild?.kind === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
2370
+ e.walk((r) => {
2371
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
2372
+ let a = r.children[n];
2373
+ if (!t(a)) continue;
2374
+ let i = a.prev, s = a.firstChild;
2375
+ r.removeChild(i), n--;
2376
+ let o = new d(i.sourceSpan.start, s.sourceSpan.end), l = new d(o.start, a.sourceSpan.end);
2377
+ a.condition = i.condition, a.sourceSpan = l, a.startSourceSpan = o, a.removeChild(s);
2378
+ }
2379
+ });
2380
+ }
2381
+ function Js(e, t, r) {
2382
+ e.walk((n) => {
2383
+ if (n.children) for (let a = 0; a < n.children.length; a++) {
2384
+ let i = n.children[a];
2385
+ if (i.kind !== "text" && !t(i)) continue;
2386
+ i.kind !== "text" && (i.kind = "text", i.value = r(i));
2387
+ let s = i.prev;
2388
+ !s || s.kind !== "text" || (s.value += i.value, s.sourceSpan = new d(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
2389
+ }
2390
+ });
2391
+ }
2392
+ function Qs(e) {
2393
+ return Js(e, (t) => t.kind === "cdata", (t) => `<![CDATA[${t.value}]]>`);
2394
+ }
2395
+ function Zs(e) {
2396
+ let t = (r) => r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !D.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && r.prev?.kind === "text" && r.next?.kind === "text";
2397
+ e.walk((r) => {
2398
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
2399
+ let a = r.children[n];
2400
+ if (!t(a)) continue;
2401
+ let i = a.prev, s = a.next;
2402
+ i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new d(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
2403
+ }
2404
+ });
2405
+ }
2406
+ function eo(e, t) {
2407
+ if (t.parser === "html") return;
2408
+ let r = /\{\{(.+?)\}\}/su;
2409
+ e.walk((n) => {
2410
+ if (Ta(n, t)) for (let a of n.children) {
2411
+ if (a.kind !== "text") continue;
2412
+ let i = a.sourceSpan.start, s = null, o = a.value.split(r);
2413
+ for (let l = 0; l < o.length; l++, i = s) {
2414
+ let c = o[l];
2415
+ if (l % 2 === 0) {
2416
+ s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(a, { kind: "text", value: c, sourceSpan: new d(i, s) });
2417
+ continue;
2418
+ }
2419
+ s = i.moveBy(c.length + 4), n.insertChildBefore(a, { kind: "interpolation", sourceSpan: new d(i, s), children: c.length === 0 ? [] : [{ kind: "text", value: c, sourceSpan: new d(i.moveBy(2), s.moveBy(-2)) }] });
2420
+ }
2421
+ n.removeChild(a);
2422
+ }
2423
+ });
2424
+ }
2425
+ function to(e, t) {
2426
+ e.walk((r) => {
2427
+ let n = r.$children;
2428
+ if (!n) return;
2429
+ if (n.length === 0 || n.length === 1 && n[0].kind === "text" && D.trim(n[0].value).length === 0) {
2430
+ r.hasDanglingSpaces = n.length > 0, r.$children = [];
2431
+ return;
2432
+ }
2433
+ let a = ba(r, t), i = ur(r);
2434
+ if (!a) for (let s = 0; s < n.length; s++) {
2435
+ let o = n[s];
2436
+ if (o.kind !== "text") continue;
2437
+ let { leadingWhitespace: l, text: c, trailingWhitespace: p } = Sa(o.value), C = o.prev, g = o.next;
2438
+ c ? (o.value = c, o.sourceSpan = new d(o.sourceSpan.start.moveBy(l.length), o.sourceSpan.end.moveBy(-p.length)), l && (C && (C.hasTrailingSpaces = !0), o.hasLeadingSpaces = !0), p && (o.hasTrailingSpaces = !0, g && (g.hasLeadingSpaces = !0))) : (r.removeChild(o), s--, (l || p) && (C && (C.hasTrailingSpaces = !0), g && (g.hasLeadingSpaces = !0)));
2439
+ }
2440
+ r.isWhitespaceSensitive = a, r.isIndentationSensitive = i;
2441
+ });
2442
+ }
2443
+ function ro(e) {
2444
+ e.walk((t) => {
2445
+ t.isSelfClosing = !t.children || t.kind === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
2446
+ });
2447
+ }
2448
+ function no(e, t) {
2449
+ e.walk((r) => {
2450
+ r.kind === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
2451
+ });
2452
+ }
2453
+ function ao(e, t) {
2454
+ e.walk((r) => {
2455
+ r.cssDisplay = Ha(r, t);
2456
+ });
2457
+ }
2458
+ function io(e, t) {
2459
+ e.walk((r) => {
2460
+ let { children: n } = r;
2461
+ if (n) {
2462
+ if (n.length === 0) {
2463
+ r.isDanglingSpaceSensitive = ya(r, t);
2464
+ return;
2465
+ }
2466
+ for (let a of n) a.isLeadingSpaceSensitive = ka(a, t), a.isTrailingSpaceSensitive = wa(a, t);
2467
+ for (let a = 0; a < n.length; a++) {
2468
+ let i = n[a];
2469
+ i.isLeadingSpaceSensitive = (a === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (a === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
2470
+ }
2471
+ }
2472
+ });
2473
+ }
2474
+ var so = Gs;
2475
+ function oo(e, t, r) {
2476
+ let { node: n } = e;
2477
+ switch (n.kind) {
2478
+ case "root":
2479
+ return t.__onHtmlRoot && t.__onHtmlRoot(n), [A(vt(e, t, r)), E];
2480
+ case "element":
2481
+ case "ieConditionalComment":
2482
+ return is(e, t, r);
2483
+ case "angularControlFlowBlock":
2484
+ return es(e, t, r);
2485
+ case "angularControlFlowBlockParameters":
2486
+ return rs(e, t, r);
2487
+ case "angularControlFlowBlockParameter":
2488
+ return D.trim(n.expression);
2489
+ case "angularLetDeclaration":
2490
+ return A(["@let ", A([n.id, " =", A(F([S, r("init")]))]), ";"]);
2491
+ case "angularLetDeclarationInitializer":
2492
+ return n.value;
2493
+ case "angularIcuExpression":
2494
+ return ns(e, t, r);
2495
+ case "angularIcuCase":
2496
+ return as(e, t, r);
2497
+ case "ieConditionalStartComment":
2498
+ case "ieConditionalEndComment":
2499
+ return [Ee(n), fe(n)];
2500
+ case "interpolation":
2501
+ return [Ee(n, t), ...e.map(r, "children"), fe(n, t)];
2502
+ case "text": {
2503
+ if (n.parent.kind === "interpolation") {
2504
+ let o = /\n[^\S\n]*$/u, l = o.test(n.value), c = l ? n.value.replace(o, "") : n.value;
2505
+ return [O(c), l ? E : ""];
2506
+ }
2507
+ let a = z(n, t), i = Cr(n), s = U(n, t);
2508
+ return i[0] = [a, i[0]], i.push([i.pop(), s]), Yt(i);
2509
+ }
2510
+ case "docType":
2511
+ return [A([Ee(n, t), " ", k(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), fe(n, t)];
2512
+ case "comment":
2513
+ return [z(n, t), O(t.originalText.slice(ge(n), Me(n))), U(n, t)];
2514
+ case "attribute": {
2515
+ if (n.value === null) return n.rawName;
2516
+ let a = _r(n.value), i = Er(n, t) ? "" : Hn(a, '"');
2517
+ return [n.rawName, "=", i, O(i === '"' ? k(0, a, '"', "&quot;") : k(0, a, "'", "&apos;")), i];
2518
+ }
2519
+ default:
2520
+ throw new Xn(n, "HTML");
2521
+ }
2522
+ }
2523
+ var uo = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, preprocess: so, print: oo, insertPragma: Qi, massageAstNode: Yn, embed: qi, getVisitorKeys: ji }, lo = uo, co = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }], Qr = { bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, Zr = "HTML", po = { bracketSameLine: Qr.bracketSameLine, htmlWhitespaceSensitivity: { category: Zr, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: Qr.singleAttributePerLine, vueIndentScriptAndStyle: { category: Zr, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, ho = po, en = {};
2524
+ Rt(en, { angular: () => Vo, html: () => Mo, lwc: () => Wo, mjml: () => Ho, vue: () => Uo });
2525
+ function mo(e, t) {
2526
+ let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
2527
+ return Object.assign(r, t);
2528
+ }
2529
+ var go = mo, fo = { canSelfClose: !0, normalizeTagName: !1, normalizeAttributeName: !1, allowHtmComponentClosingTags: !1, isTagNameCaseSensitive: !1, shouldParseFrontMatter: !0 };
2530
+ function tn(e) {
2531
+ return { ...fo, ...e };
2532
+ }
2533
+ function rn(e) {
2534
+ let { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, shouldParseAsRawText: a, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s } = e;
2535
+ return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: a ? (...o) => a(...o) ? M.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s };
2536
+ }
2537
+ var yt = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["command", "commandfor", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["closedby", "open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alpha", "alt", "autocomplete", "checked", "colorspace", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), _o = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fencedframe", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]), Ye = { attrs: !0, children: !0, cases: !0, expression: !0 }, nn = /* @__PURE__ */ new Set(["parent"]), ie, Dt, xt, Co = class Le {
2538
+ constructor(t = {}) {
2539
+ Cn(this, ie), Mt(this, "kind"), Mt(this, "parent");
2540
+ for (let r of /* @__PURE__ */ new Set([...nn, ...Object.keys(t)])) this.setProperty(r, t[r]);
2541
+ if (Fe(t)) for (let r of Object.getOwnPropertySymbols(t)) this.setProperty(r, t[r]);
2542
+ }
2543
+ setProperty(t, r) {
2544
+ if (this[t] !== r) {
2545
+ if (t in Ye && (r = r.map((n) => this.createChild(n))), !nn.has(t)) {
2546
+ this[t] = r;
2547
+ return;
2548
+ }
2549
+ Object.defineProperty(this, t, { value: r, enumerable: !1, configurable: !0 });
2550
+ }
2551
+ }
2552
+ map(t) {
2553
+ let r;
2554
+ for (let n in Ye) {
2555
+ let a = this[n];
2556
+ if (a) {
2557
+ let i = Eo(a, (s) => s.map(t));
2558
+ r !== a && (r || (r = new Le({ parent: this.parent })), r.setProperty(n, i));
2559
+ }
2560
+ }
2561
+ if (r) for (let n in this) n in Ye || (r[n] = this[n]);
2562
+ return t(r || this);
2563
+ }
2564
+ walk(t) {
2565
+ for (let r in Ye) {
2566
+ let n = this[r];
2567
+ if (n) for (let a = 0; a < n.length; a++) n[a].walk(t);
2568
+ }
2569
+ t(this);
2570
+ }
2571
+ createChild(t) {
2572
+ let r = t instanceof Le ? t.clone() : new Le(t);
2573
+ return r.setProperty("parent", this), r;
2574
+ }
2575
+ insertChildBefore(t, r) {
2576
+ let n = this.$children;
2577
+ n.splice(n.indexOf(t), 0, this.createChild(r));
2578
+ }
2579
+ removeChild(t) {
2580
+ let r = this.$children;
2581
+ r.splice(r.indexOf(t), 1);
2582
+ }
2583
+ replaceChild(t, r) {
2584
+ let n = this.$children;
2585
+ n[n.indexOf(t)] = this.createChild(r);
2586
+ }
2587
+ clone() {
2588
+ return new Le(this);
2589
+ }
2590
+ get $children() {
2591
+ return this[Oe(this, ie, Dt)];
2592
+ }
2593
+ set $children(t) {
2594
+ this[Oe(this, ie, Dt)] = t;
2595
+ }
2596
+ get firstChild() {
2597
+ return this.$children?.[0];
2598
+ }
2599
+ get lastChild() {
2600
+ return Y(1, this.$children, -1);
2601
+ }
2602
+ get prev() {
2603
+ let t = Oe(this, ie, xt);
2604
+ return t[t.indexOf(this) - 1];
2605
+ }
2606
+ get next() {
2607
+ let t = Oe(this, ie, xt);
2608
+ return t[t.indexOf(this) + 1];
2609
+ }
2610
+ get rawName() {
2611
+ return this.hasExplicitNamespace ? this.fullName : this.name;
2612
+ }
2613
+ get fullName() {
2614
+ return this.namespace ? this.namespace + ":" + this.name : this.name;
2615
+ }
2616
+ get attrMap() {
2617
+ return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
2618
+ }
2619
+ };
2620
+ ie = /* @__PURE__ */ new WeakSet(), Dt = function() {
2621
+ return this.kind === "angularIcuCase" ? "expression" : this.kind === "angularIcuExpression" ? "cases" : "children";
2622
+ }, xt = function() {
2623
+ return this.parent?.$children ?? [];
2624
+ };
2625
+ var vo = Co;
2626
+ function Eo(e, t) {
2627
+ let r = e.map(t);
2628
+ return r.some((n, a) => n !== e[a]) ? r : e;
2629
+ }
2630
+ var So = [{ regex: /^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su, parse: To }, { regex: /^\[if(?<condition>[^\]]*)\]><!$/u, parse: bo }, { regex: /^<!\s*\[endif\]$/u, parse: ko }];
2631
+ function Ao(e, t) {
2632
+ if (e.value) for (let { regex: r, parse: n } of So) {
2633
+ let a = e.value.match(r);
2634
+ if (a) return n(e, a, t);
2635
+ }
2636
+ return null;
2637
+ }
2638
+ function To(e, t, r) {
2639
+ let { openingTagSuffix: n, condition: a, data: i } = t.groups, s = 4 + n.length, o = e.sourceSpan.start.moveBy(s), l = o.moveBy(i.length), [c, p] = (() => {
2640
+ try {
2641
+ return [!0, r(i, o).children];
2642
+ } catch {
2643
+ return [!1, [{ kind: "text", value: i, sourceSpan: new d(o, l) }]];
2644
+ }
2645
+ })();
2646
+ return { kind: "ieConditionalComment", complete: c, children: p, condition: k(0, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new d(e.sourceSpan.start, o), endSourceSpan: new d(l, e.sourceSpan.end) };
2647
+ }
2648
+ function bo(e, t) {
2649
+ let { condition: r } = t.groups;
2650
+ return { kind: "ieConditionalStartComment", condition: k(0, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
2651
+ }
2652
+ function ko(e) {
2653
+ return { kind: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
2654
+ }
2655
+ var wo = class extends ws {
2656
+ visitExpansionCase(e, t) {
2657
+ t.parseOptions.name === "angular" && this.visitChildren(t, (r) => {
2658
+ r(e.expression);
2659
+ });
2660
+ }
2661
+ visit(e, { parseOptions: t }) {
2662
+ Bo(e), Lo(e, t), Fo(e, t), Oo(e);
2663
+ }
2664
+ };
2665
+ function yo(e, t, r, n) {
2666
+ Wr(new wo(), e.children, { parseOptions: r }), t && e.children.unshift(t);
2667
+ let a = new vo(e);
2668
+ return a.walk((i) => {
2669
+ if (i.kind === "comment") {
2670
+ let s = Ao(i, n);
2671
+ s && i.parent.replaceChild(i, s);
2672
+ }
2673
+ Do(i), xo(i), No(i);
2674
+ }), a;
2675
+ }
2676
+ function Do(e) {
2677
+ if (e.kind === "block") {
2678
+ if (e.name = k(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !ot(e.parameters)) {
2679
+ delete e.parameters;
2680
+ return;
2681
+ }
2682
+ for (let t of e.parameters) t.kind = "angularControlFlowBlockParameter";
2683
+ e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new d(e.parameters[0].sourceSpan.start, Y(0, e.parameters, -1).sourceSpan.end) };
2684
+ }
2685
+ }
2686
+ function xo(e) {
2687
+ e.kind === "letDeclaration" && (e.kind = "angularLetDeclaration", e.id = e.name, e.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new d(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
2688
+ }
2689
+ function No(e) {
2690
+ e.kind === "expansion" && (e.kind = "angularIcuExpression"), e.kind === "expansionCase" && (e.kind = "angularIcuCase");
2691
+ }
2692
+ function an(e, t) {
2693
+ let r = e.toLowerCase();
2694
+ return t(r) ? r : e;
2695
+ }
2696
+ function sn(e) {
2697
+ let t = e.name.startsWith(":") ? e.name.slice(1).split(":")[0] : null, r = e.nameSpan.toString(), n = t !== null && r.startsWith(`${t}:`), a = n ? r.slice(t.length + 1) : r;
2698
+ e.name = a, e.namespace = t, e.hasExplicitNamespace = n;
2699
+ }
2700
+ function Bo(e) {
2701
+ switch (e.kind) {
2702
+ case "element":
2703
+ sn(e);
2704
+ for (let t of e.attrs) sn(t), t.valueSpan ? (t.value = t.valueSpan.toString(), /["']/u.test(t.value[0]) && (t.value = t.value.slice(1, -1))) : t.value = null;
2705
+ break;
2706
+ case "comment":
2707
+ e.value = e.sourceSpan.toString().slice(4, -3);
2708
+ break;
2709
+ case "text":
2710
+ e.value = e.sourceSpan.toString();
2711
+ break;
2712
+ }
2713
+ }
2714
+ function Lo(e, t) {
2715
+ if (e.kind === "element") {
2716
+ let r = Et(t.isTagNameCaseSensitive ? e.name : e.name.toLowerCase());
2717
+ !e.namespace || e.namespace === r.implicitNamespacePrefix || de(e) ? e.tagDefinition = r : e.tagDefinition = Et("");
2718
+ }
2719
+ }
2720
+ function Oo(e) {
2721
+ e.sourceSpan && e.endSourceSpan && (e.sourceSpan = new d(e.sourceSpan.start, e.endSourceSpan.end));
2722
+ }
2723
+ function Fo(e, t) {
2724
+ if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix || de(e)) && (e.name = an(e.name, (r) => _o.has(r))), t.normalizeAttributeName)) for (let r of e.attrs) r.namespace || (r.name = an(r.name, (n) => yt.has(e.name) && (yt.get("*").has(n) || yt.get(e.name).has(n))));
2725
+ }
2726
+ function on(e, t) {
2727
+ let { rootNodes: r, errors: n } = wt(e, rn(t));
2728
+ return n.length > 0 && Nt(n[0]), { parseOptions: t, rootNodes: r };
2729
+ }
2730
+ function Po(e, t) {
2731
+ let r = rn(t), { rootNodes: n, errors: a } = wt(e, r);
2732
+ if (n.some((l) => l.kind === "docType" && l.value === "html" || l.kind === "element" && l.name.toLowerCase() === "html")) return on(e, Bt);
2733
+ let i, s = () => i ?? (i = wt(e, { ...r, getTagContentType: void 0 })), o = (l) => {
2734
+ let { offset: c } = l.startSourceSpan.start;
2735
+ return s().rootNodes.find((p) => p.kind === "element" && p.startSourceSpan.start.offset === c) ?? l;
2736
+ };
2737
+ for (let [l, c] of n.entries()) if (c.kind === "element") {
2738
+ if (c.isVoid) a = s().errors, n[l] = o(c);
2739
+ else if (Io(c)) {
2740
+ let { endSourceSpan: p, startSourceSpan: C } = c, g = s().errors.find((h) => h.span.start.offset > C.start.offset && h.span.start.offset < p.end.offset);
2741
+ g && Nt(g), n[l] = o(c);
2742
+ }
2743
+ }
2744
+ return a.length > 0 && Nt(a[0]), { parseOptions: t, rootNodes: n };
2745
+ }
2746
+ function Io(e) {
2747
+ if (e.kind !== "element" || e.name !== "template") return !1;
2748
+ let t = e.attrs.find((r) => r.name === "lang")?.value;
2749
+ return !t || t === "html";
2750
+ }
2751
+ function Nt(e) {
2752
+ let { msg: t, span: { start: r, end: n } } = e;
2753
+ throw go(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
2754
+ }
2755
+ function Ro(e, t, r, n, a, i) {
2756
+ let { offset: s } = n, o = k(0, t.slice(0, s), /[^\n]/gu, " ") + r, l = un(o, e, { ...a, shouldParseFrontMatter: !1 }, i);
2757
+ l.sourceSpan = new d(n, Y(0, l.children, -1).sourceSpan.end);
2758
+ let c = l.children[0];
2759
+ return c.length === s ? l.children.shift() : (c.sourceSpan = new d(c.sourceSpan.start.moveBy(s), c.sourceSpan.end), c.value = c.value.slice(s)), l;
2760
+ }
2761
+ function un(e, t, r, n = {}) {
2762
+ let { frontMatter: a, content: i } = r.shouldParseFrontMatter ? fa(e) : { content: e }, s = new qr(e, n.filepath), o = new At(s, 0, 0, 0), l = o.moveBy(e.length), { parseOptions: c, rootNodes: p } = t(i, r), C = { kind: "root", sourceSpan: new d(o, l), children: p }, g;
2763
+ if (a) {
2764
+ let [h, f] = [a.start, a.end].map((v) => new At(s, v.index, v.line - 1, v.column));
2765
+ g = { ...a, kind: "frontMatter", sourceSpan: new d(h, f) };
2766
+ }
2767
+ return yo(C, g, c, (h, f) => Ro(t, e, h, f, c, n));
2768
+ }
2769
+ var Bt = tn({ name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 });
2770
+ function Ne(e) {
2771
+ let t = tn(e), r = t.name === "vue" ? Po : on;
2772
+ return { parse: (n, a) => un(n, r, t, a), hasPragma: Yi, hasIgnorePragma: Ji, astFormat: "html", locStart: ge, locEnd: Me };
2773
+ }
2774
+ var Mo = Ne(Bt), qo = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), Ho = Ne({ ...Bt, name: "mjml", shouldParseAsRawText: (e) => qo.has(e) }), Vo = Ne({ name: "angular", tokenizeAngularBlocks: !0, tokenizeAngularLetDeclaration: !0 }), Uo = Ne({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
2775
+ return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: i }) => a === "lang" && i !== "html" && i !== "" && i !== void 0));
2776
+ } }), Wo = Ne({ name: "lwc", canSelfClose: !1 }), zo = { html: lo };
2777
+ return fn(qt);
2778
+ });
2779
+ })(Ot)), Ot.exports;
2780
+ }
2781
+ var dn = /* @__PURE__ */ Xo();
2782
+ const Go = /* @__PURE__ */ $o(dn), Yo = /* @__PURE__ */ jo({
2783
+ __proto__: null,
2784
+ default: Go
2785
+ }, [dn]);
2786
+ export {
2787
+ Yo as h
2788
+ };