cloudcommerce 0.11.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/ecomplus-stores/monocard/functions/ssr/index.js +2 -2
  3. package/ecomplus-stores/monocard/functions/ssr/src/env.d.ts +1 -0
  4. package/ecomplus-stores/monocard/functions/ssr/src/scripts/InlineScripts.astro +1 -1
  5. package/ecomplus-stores/tia-sonia/functions/ssr/index.js +2 -2
  6. package/ecomplus-stores/tia-sonia/functions/ssr/src/env.d.ts +3 -1
  7. package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/head-scripts.ts +2 -4
  8. package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/modules-info-preset.ts +1 -1
  9. package/package.json +8 -8
  10. package/packages/api/lib/types/orders.d.ts +15 -0
  11. package/packages/api/package.json +2 -3
  12. package/packages/api/src/types/orders.d.ts +15 -0
  13. package/packages/apps/correios/package.json +1 -1
  14. package/packages/apps/custom-payment/package.json +1 -1
  15. package/packages/apps/custom-shipping/package.json +1 -1
  16. package/packages/apps/datafrete/package.json +2 -2
  17. package/packages/apps/discounts/package.json +1 -1
  18. package/packages/apps/emails/package.json +1 -1
  19. package/packages/apps/fb-conversions/package.json +2 -2
  20. package/packages/apps/frenet/package.json +2 -2
  21. package/packages/apps/galaxpay/package.json +2 -2
  22. package/packages/apps/google-analytics/package.json +2 -2
  23. package/packages/apps/infinitepay/package.json +2 -2
  24. package/packages/apps/jadlog/package.json +1 -1
  25. package/packages/apps/loyalty-points/package.json +1 -1
  26. package/packages/apps/melhor-envio/package.json +2 -2
  27. package/packages/apps/mercadopago/package.json +2 -2
  28. package/packages/apps/pagarme/package.json +4 -4
  29. package/packages/apps/paghiper/package.json +2 -2
  30. package/packages/apps/pix/package.json +2 -2
  31. package/packages/apps/tiny-erp/package.json +2 -2
  32. package/packages/apps/webhooks/package.json +2 -2
  33. package/packages/cli/config/firebase.json +6 -16
  34. package/packages/cli/package.json +1 -1
  35. package/packages/config/package.json +1 -1
  36. package/packages/emails/package.json +3 -3
  37. package/packages/events/package.json +2 -2
  38. package/packages/feeds/CHANGELOG.md +1 -0
  39. package/packages/feeds/README.md +1 -0
  40. package/packages/feeds/firebase.js +1 -0
  41. package/packages/{ssr → feeds}/lib/firebase/serve-feeds.js +3 -2
  42. package/packages/{ssr → feeds}/lib/firebase/serve-feeds.js.map +1 -1
  43. package/packages/feeds/lib/firebase.js +17 -0
  44. package/packages/feeds/lib/firebase.js.map +1 -0
  45. package/packages/feeds/lib/index.js +1 -0
  46. package/packages/feeds/lib/index.js.map +1 -0
  47. package/packages/feeds/package.json +33 -0
  48. package/packages/{ssr → feeds}/src/firebase/serve-feeds.ts +3 -2
  49. package/packages/feeds/src/firebase.ts +17 -0
  50. package/packages/feeds/src/index.ts +0 -0
  51. package/packages/feeds/tsconfig.json +3 -0
  52. package/packages/firebase/lib/config.d.ts +1 -1
  53. package/packages/firebase/lib/config.js +1 -1
  54. package/packages/firebase/lib/config.js.map +1 -1
  55. package/packages/firebase/lib/handlers/check-store-events.d.ts +4 -0
  56. package/packages/firebase/lib/handlers/check-store-events.js +4 -7
  57. package/packages/firebase/lib/handlers/check-store-events.js.map +1 -1
  58. package/packages/firebase/package.json +3 -3
  59. package/packages/firebase/src/config.ts +1 -1
  60. package/packages/firebase/src/handlers/check-store-events.ts +20 -8
  61. package/packages/i18n/package.json +1 -1
  62. package/packages/modules/lib/firebase/call-app-module.js +6 -6
  63. package/packages/modules/lib/firebase/call-app-module.js.map +1 -1
  64. package/packages/modules/package.json +3 -3
  65. package/packages/modules/src/firebase/call-app-module.ts +17 -7
  66. package/packages/passport/package.json +2 -2
  67. package/packages/ssr/lib/firebase/serve-storefront.js +5 -6
  68. package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
  69. package/packages/ssr/lib/firebase.js +1 -13
  70. package/packages/ssr/lib/firebase.js.map +1 -1
  71. package/packages/ssr/package.json +7 -7
  72. package/packages/ssr/src/firebase/serve-storefront.ts +14 -9
  73. package/packages/ssr/src/firebase.ts +1 -13
  74. package/packages/storefront/client.d.ts +3 -3
  75. package/packages/storefront/config/storefront.cms.cjs +1 -1
  76. package/packages/storefront/config/storefront.cms.mjs +1 -1
  77. package/packages/storefront/dist/client/_astro/Carousel.e137cab2.js +1 -0
  78. package/packages/storefront/dist/client/_astro/HeroSlider.d677b64a.js +1 -0
  79. package/packages/storefront/dist/client/_astro/PitchBar.94f525f9.js +1 -0
  80. package/packages/storefront/dist/client/_astro/Prices.b8d4b8e4.js +1 -0
  81. package/packages/storefront/dist/client/_astro/ShopHeader.f12e72f6.js +4 -0
  82. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.116fec5b.js +1 -0
  83. package/packages/storefront/dist/client/_astro/client.c2102734.js +1 -0
  84. package/packages/storefront/dist/client/_astro/{firebase-app.f42d3d05.js → firebase-app.d513d4b8.js} +47 -47
  85. package/packages/storefront/dist/client/_astro/{format-money.d54c1237.js → format-money.1a95a3b5.js} +1 -1
  86. package/packages/storefront/dist/client/_astro/{hoisted.56fa2eff.js → hoisted.be7b77c7.js} +1 -1
  87. package/packages/storefront/dist/client/_astro/index.1190ddf5.js +1 -0
  88. package/packages/storefront/dist/client/_astro/{modules-info.ea748f9d.js → modules-info.bc2146d9.js} +1 -1
  89. package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.e2053595.js +1 -0
  90. package/packages/storefront/dist/client/_astro/session-utm.744b0db3.js +1 -0
  91. package/packages/storefront/dist/client/admin/.gitkeep +2 -0
  92. package/packages/storefront/dist/client/sw.js +1 -1
  93. package/packages/storefront/dist/server/chunks/{astro.5c9f0bea.mjs → astro.7ac24846.mjs} +320 -85
  94. package/packages/storefront/dist/server/chunks/pages/{all.5155c178.mjs → all.a42f9fc6.mjs} +87 -89
  95. package/packages/storefront/dist/server/entry.mjs +32 -25
  96. package/packages/storefront/package.json +12 -18
  97. package/packages/storefront/scripts/prepare-monorepo.sh +0 -1
  98. package/packages/storefront/server.d.ts +10 -6
  99. package/packages/storefront/src/lib/components/AccountLink.vue +2 -2
  100. package/packages/storefront/src/lib/components/globals/ALink.vue +1 -1
  101. package/packages/storefront/src/lib/composables/use-pitch-bar.ts +4 -7
  102. package/packages/storefront/src/lib/content.d.ts +10 -6
  103. package/packages/storefront/src/lib/layouts/BaseStateJson.astro +4 -4
  104. package/packages/storefront/src/lib/pages/_vue.ts +2 -2
  105. package/packages/storefront/src/lib/scripts/firebase-app.ts +1 -1
  106. package/packages/storefront/src/lib/scripts/modules-info-preset.ts +5 -5
  107. package/packages/storefront/src/lib/server-data.ts +1 -1
  108. package/packages/storefront/src/lib/ssr-context.ts +7 -9
  109. package/packages/storefront/src/lib/state/customer-session.ts +1 -1
  110. package/packages/storefront/src/lib/state/use-cms-preview.ts +15 -78
  111. package/packages/storefront/tailwind.config.cjs +5 -5
  112. package/packages/types/package.json +1 -1
  113. package/packages/api/fetch-polyfill.js +0 -21
  114. package/packages/storefront/dist/client/_astro/Carousel.06e8cee5.js +0 -1
  115. package/packages/storefront/dist/client/_astro/HeroSlider.2c4563ee.js +0 -1
  116. package/packages/storefront/dist/client/_astro/PitchBar.57e90997.js +0 -1
  117. package/packages/storefront/dist/client/_astro/Prices.bc136725.js +0 -1
  118. package/packages/storefront/dist/client/_astro/ShopHeader.0fddff0d.js +0 -4
  119. package/packages/storefront/dist/client/_astro/_commonjsHelpers.725317a4.js +0 -1
  120. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.d71c044e.js +0 -1
  121. package/packages/storefront/dist/client/_astro/client.5636c034.js +0 -128
  122. package/packages/storefront/dist/client/_astro/client.97e9e785.js +0 -1
  123. package/packages/storefront/dist/client/_astro/index.2402c50a.js +0 -9
  124. package/packages/storefront/dist/client/_astro/index.b12dff85.js +0 -1
  125. package/packages/storefront/dist/client/_astro/index.es.f69f3875.js +0 -1
  126. package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.e9908a78.js +0 -1
  127. package/packages/storefront/dist/client/_astro/server.browser.5ca16f46.js +0 -27
  128. package/packages/storefront/dist/client/_astro/session-utm.ac492493.js +0 -1
  129. package/packages/storefront/dist/client/admin/assets/Range.es-3e45690c.js +0 -1
  130. package/packages/storefront/dist/client/admin/assets/SchemaReference.es-68e2a833.js +0 -1
  131. package/packages/storefront/dist/client/admin/assets/brace-fold.es-f96db61f.js +0 -1
  132. package/packages/storefront/dist/client/admin/assets/closebrackets.es-0488b839.js +0 -2
  133. package/packages/storefront/dist/client/admin/assets/codemirror.es-15b9374a.js +0 -24
  134. package/packages/storefront/dist/client/admin/assets/comment.es-d4bed417.js +0 -2
  135. package/packages/storefront/dist/client/admin/assets/dialog.es-56aaee5b.js +0 -1
  136. package/packages/storefront/dist/client/admin/assets/foldgutter.es-55067bee.js +0 -1
  137. package/packages/storefront/dist/client/admin/assets/forEachState.es-1e367fb2.js +0 -1
  138. package/packages/storefront/dist/client/admin/assets/hint.es-07ec11aa.js +0 -1
  139. package/packages/storefront/dist/client/admin/assets/hint.es2-35fd7219.js +0 -1
  140. package/packages/storefront/dist/client/admin/assets/index-64cd926d.css +0 -1
  141. package/packages/storefront/dist/client/admin/assets/index-d5c6a1a9.js +0 -6332
  142. package/packages/storefront/dist/client/admin/assets/index-f1d880da.js +0 -216
  143. package/packages/storefront/dist/client/admin/assets/info-addon.es-eded2c26.js +0 -1
  144. package/packages/storefront/dist/client/admin/assets/info.es-93649208.js +0 -1
  145. package/packages/storefront/dist/client/admin/assets/javascript.es-634a06b1.js +0 -1
  146. package/packages/storefront/dist/client/admin/assets/jump-to-line.es-23d2d4a8.js +0 -1
  147. package/packages/storefront/dist/client/admin/assets/jump.es-732b233e.js +0 -1
  148. package/packages/storefront/dist/client/admin/assets/lint.es-240359bd.js +0 -6
  149. package/packages/storefront/dist/client/admin/assets/lint.es2-df11292b.js +0 -1
  150. package/packages/storefront/dist/client/admin/assets/lint.es3-aa543b52.js +0 -1
  151. package/packages/storefront/dist/client/admin/assets/matchbrackets.es-f5e3ac04.js +0 -1
  152. package/packages/storefront/dist/client/admin/assets/mode-indent.es-341daf63.js +0 -1
  153. package/packages/storefront/dist/client/admin/assets/mode.es-c74239d3.js +0 -1
  154. package/packages/storefront/dist/client/admin/assets/mode.es2-9319d2a9.js +0 -1
  155. package/packages/storefront/dist/client/admin/assets/mode.es3-deb92d78.js +0 -1
  156. package/packages/storefront/dist/client/admin/assets/search.es-143ba137.js +0 -2
  157. package/packages/storefront/dist/client/admin/assets/searchcursor.es-6069a13e.js +0 -7
  158. package/packages/storefront/dist/client/admin/assets/show-hint.es-ff4fde1d.js +0 -1
  159. package/packages/storefront/dist/client/admin/assets/sublime.es-23f726a0.js +0 -6
  160. package/packages/storefront/dist/client/admin/index.html +0 -15
@@ -1,216 +0,0 @@
1
- import{r as It,R as Ur,j as Mn,a as Da,F as f1,l as d1,u as m1,i as g1}from"./index-d5c6a1a9.js";var x1=Object.create,bu=Object.defineProperty,D1=Object.getOwnPropertyDescriptor,ah=Object.getOwnPropertyNames,y1=Object.getPrototypeOf,v1=Object.prototype.hasOwnProperty,C1=(e,t,r)=>t in e?bu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zs=(e,t)=>function(){return t||(0,e[ah(e)[0]])((t={exports:{}}).exports,t),t.exports},ml=(e,t)=>{for(var r in t)bu(e,r,{get:t[r],enumerable:!0})},E1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ah(t))!v1.call(e,i)&&i!==r&&bu(e,i,{get:()=>t[i],enumerable:!(n=D1(t,i))||n.enumerable});return e},ea=(e,t,r)=>(r=e!=null?x1(y1(e)):{},E1(t||!e||!e.__esModule?bu(r,"default",{value:e,enumerable:!0}):r,e)),A1=(e,t,r)=>(C1(e,typeof t!="symbol"?t+"":t,r),r),uh=Zs({"../../../node_modules/.pnpm/is-buffer@2.0.5/node_modules/is-buffer/index.js"(e,t){t.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}}}),b1=Zs({"../../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js"(e,t){var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,u=function(M){return typeof Array.isArray=="function"?Array.isArray(M):n.call(M)==="[object Array]"},o=function(M){if(!M||n.call(M)!=="[object Object]")return!1;var re=r.call(M,"constructor"),ue=M.constructor&&M.constructor.prototype&&r.call(M.constructor.prototype,"isPrototypeOf");if(M.constructor&&!re&&!ue)return!1;var le;for(le in M);return typeof le>"u"||r.call(M,le)},d=function(M,re){i&&re.name==="__proto__"?i(M,re.name,{enumerable:!0,configurable:!0,value:re.newValue,writable:!0}):M[re.name]=re.newValue},E=function(M,re){if(re==="__proto__")if(r.call(M,re)){if(a)return a(M,re).value}else return;return M[re]};t.exports=function w(){var M,re,ue,le,Se,_e,ye=arguments[0],tt=1,Ve=arguments.length,gt=!1;for(typeof ye=="boolean"&&(gt=ye,ye=arguments[1]||{},tt=2),(ye==null||typeof ye!="object"&&typeof ye!="function")&&(ye={});tt<Ve;++tt)if(M=arguments[tt],M!=null)for(re in M)ue=E(ye,re),le=E(M,re),ye!==le&&(gt&&le&&(o(le)||(Se=u(le)))?(Se?(Se=!1,_e=ue&&u(ue)?ue:[]):_e=ue&&o(ue)?ue:{},d(ye,{name:re,newValue:w(gt,_e,le)})):typeof le<"u"&&d(ye,{name:re,newValue:le}));return ye}}}),F1=Zs({"../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.8.0/node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),tp=Zs({"../../../node_modules/.pnpm/acorn@8.8.0/node_modules/acorn/dist/acorn.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.acorn={}))})(e,function(r){var n=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",u="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",o={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},d="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",E={5:d,"5module":d+" export import",6:d+" const class extends export import super"},w=/^in(stanceof)?$/,M=new RegExp("["+u+"]"),re=new RegExp("["+u+a+"]");function ue(s,l){for(var V=65536,Z=0;Z<l.length;Z+=2){if(V+=l[Z],V>s)return!1;if(V+=l[Z+1],V>=s)return!0}}function le(s,l){return s<65?s===36:s<91?!0:s<97?s===95:s<123?!0:s<=65535?s>=170&&M.test(String.fromCharCode(s)):l===!1?!1:ue(s,i)}function Se(s,l){return s<48?s===36:s<58?!0:s<65?!1:s<91?!0:s<97?s===95:s<123?!0:s<=65535?s>=170&&re.test(String.fromCharCode(s)):l===!1?!1:ue(s,i)||ue(s,n)}var _e=function(l,V){V===void 0&&(V={}),this.label=l,this.keyword=V.keyword,this.beforeExpr=!!V.beforeExpr,this.startsExpr=!!V.startsExpr,this.isLoop=!!V.isLoop,this.isAssign=!!V.isAssign,this.prefix=!!V.prefix,this.postfix=!!V.postfix,this.binop=V.binop||null,this.updateContext=null};function ye(s,l){return new _e(s,{beforeExpr:!0,binop:l})}var tt={beforeExpr:!0},Ve={startsExpr:!0},gt={};function Me(s,l){return l===void 0&&(l={}),l.keyword=s,gt[s]=new _e(s,l)}var f={num:new _e("num",Ve),regexp:new _e("regexp",Ve),string:new _e("string",Ve),name:new _e("name",Ve),privateId:new _e("privateId",Ve),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:!0,startsExpr:!0}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:!0,startsExpr:!0}),parenR:new _e(")"),comma:new _e(",",tt),semi:new _e(";",tt),colon:new _e(":",tt),dot:new _e("."),question:new _e("?",tt),questionDot:new _e("?."),arrow:new _e("=>",tt),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",tt),backQuote:new _e("`",Ve),dollarBraceL:new _e("${",{beforeExpr:!0,startsExpr:!0}),eq:new _e("=",{beforeExpr:!0,isAssign:!0}),assign:new _e("_=",{beforeExpr:!0,isAssign:!0}),incDec:new _e("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new _e("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ye("||",1),logicalAND:ye("&&",2),bitwiseOR:ye("|",3),bitwiseXOR:ye("^",4),bitwiseAND:ye("&",5),equality:ye("==/!=/===/!==",6),relational:ye("</>/<=/>=",7),bitShift:ye("<</>>/>>>",8),plusMin:new _e("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ye("%",10),star:ye("*",10),slash:ye("/",10),starstar:new _e("**",{beforeExpr:!0}),coalesce:ye("??",1),_break:Me("break"),_case:Me("case",tt),_catch:Me("catch"),_continue:Me("continue"),_debugger:Me("debugger"),_default:Me("default",tt),_do:Me("do",{isLoop:!0,beforeExpr:!0}),_else:Me("else",tt),_finally:Me("finally"),_for:Me("for",{isLoop:!0}),_function:Me("function",Ve),_if:Me("if"),_return:Me("return",tt),_switch:Me("switch"),_throw:Me("throw",tt),_try:Me("try"),_var:Me("var"),_const:Me("const"),_while:Me("while",{isLoop:!0}),_with:Me("with"),_new:Me("new",{beforeExpr:!0,startsExpr:!0}),_this:Me("this",Ve),_super:Me("super",Ve),_class:Me("class",Ve),_extends:Me("extends",tt),_export:Me("export"),_import:Me("import",Ve),_null:Me("null",Ve),_true:Me("true",Ve),_false:Me("false",Ve),_in:Me("in",{beforeExpr:!0,binop:7}),_instanceof:Me("instanceof",{beforeExpr:!0,binop:7}),_typeof:Me("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Me("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Me("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Y=/\r\n?|\n|\u2028|\u2029/,me=new RegExp(Y.source,"g");function be(s){return s===10||s===13||s===8232||s===8233}function pt(s,l,V){V===void 0&&(V=s.length);for(var Z=l;Z<V;Z++){var Ce=s.charCodeAt(Z);if(be(Ce))return Z<V-1&&Ce===13&&s.charCodeAt(Z+1)===10?Z+2:Z+1}return-1}var Ie=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,qe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,St=Object.prototype,fr=St.hasOwnProperty,Ar=St.toString,Qt=Object.hasOwn||function(s,l){return fr.call(s,l)},Zt=Array.isArray||function(s){return Ar.call(s)==="[object Array]"};function qt(s){return new RegExp("^(?:"+s.replace(/ /g,"|")+")$")}function dr(s){return s<=65535?String.fromCharCode(s):(s-=65536,String.fromCharCode((s>>10)+55296,(s&1023)+56320))}var Br=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Oe=function(l,V){this.line=l,this.column=V};Oe.prototype.offset=function(l){return new Oe(this.line,this.column+l)};var Ne=function(l,V,Z){this.start=V,this.end=Z,l.sourceFile!==null&&(this.source=l.sourceFile)};function pn(s,l){for(var V=1,Z=0;;){var Ce=pt(s,Z,l);if(Ce<0)return new Oe(V,l-Z);++V,Z=Ce}}var dn={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Cn=!1;function sr(s){var l={};for(var V in dn)l[V]=s&&Qt(s,V)?s[V]:dn[V];if(l.ecmaVersion==="latest"?l.ecmaVersion=1e8:l.ecmaVersion==null?(!Cn&&typeof console=="object"&&console.warn&&(Cn=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
- Defaulting to 2020, but this will stop working in the future.`)),l.ecmaVersion=11):l.ecmaVersion>=2015&&(l.ecmaVersion-=2009),l.allowReserved==null&&(l.allowReserved=l.ecmaVersion<5),s.allowHashBang==null&&(l.allowHashBang=l.ecmaVersion>=14),Zt(l.onToken)){var Z=l.onToken;l.onToken=function(Ce){return Z.push(Ce)}}return Zt(l.onComment)&&(l.onComment=Qr(l,l.onComment)),l}function Qr(s,l){return function(V,Z,Ce,rt,ht,Bt){var dt={type:V?"Block":"Line",value:Z,start:Ce,end:rt};s.locations&&(dt.loc=new Ne(this,ht,Bt)),s.ranges&&(dt.range=[Ce,rt]),l.push(dt)}}var Jr=1,$r=2,hn=4,Ln=8,Dn=16,Zn=32,Hn=64,ei=128,_n=256,Zr=Jr|$r|_n;function Un(s,l){return $r|(s?hn:0)|(l?Ln:0)}var En=0,Wn=1,mn=2,zn=3,si=4,On=5,tr=function(l,V,Z){this.options=l=sr(l),this.sourceFile=l.sourceFile,this.keywords=qt(E[l.ecmaVersion>=6?6:l.sourceType==="module"?"5module":5]);var Ce="";l.allowReserved!==!0&&(Ce=o[l.ecmaVersion>=6?6:l.ecmaVersion===5?5:3],l.sourceType==="module"&&(Ce+=" await")),this.reservedWords=qt(Ce);var rt=(Ce?Ce+" ":"")+o.strict;this.reservedWordsStrict=qt(rt),this.reservedWordsStrictBind=qt(rt+" "+o.strictBind),this.input=String(V),this.containsEsc=!1,Z?(this.pos=Z,this.lineStart=this.input.lastIndexOf(`
3
- `,Z-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Y).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=l.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&l.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Jr),this.regexpState=null,this.privateNameStack=[]},gn={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};tr.prototype.parse=function(){var l=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(l)},gn.inFunction.get=function(){return(this.currentVarScope().flags&$r)>0},gn.inGenerator.get=function(){return(this.currentVarScope().flags&Ln)>0&&!this.currentVarScope().inClassFieldInit},gn.inAsync.get=function(){return(this.currentVarScope().flags&hn)>0&&!this.currentVarScope().inClassFieldInit},gn.canAwait.get=function(){for(var s=this.scopeStack.length-1;s>=0;s--){var l=this.scopeStack[s];if(l.inClassFieldInit||l.flags&_n)return!1;if(l.flags&$r)return(l.flags&hn)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},gn.allowSuper.get=function(){var s=this.currentThisScope(),l=s.flags,V=s.inClassFieldInit;return(l&Hn)>0||V||this.options.allowSuperOutsideMethod},gn.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ei)>0},gn.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},gn.allowNewDotTarget.get=function(){var s=this.currentThisScope(),l=s.flags,V=s.inClassFieldInit;return(l&($r|_n))>0||V},gn.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&_n)>0},tr.extend=function(){for(var l=[],V=arguments.length;V--;)l[V]=arguments[V];for(var Z=this,Ce=0;Ce<l.length;Ce++)Z=l[Ce](Z);return Z},tr.parse=function(l,V){return new this(V,l).parse()},tr.parseExpressionAt=function(l,V,Z){var Ce=new this(Z,l,V);return Ce.nextToken(),Ce.parseExpression()},tr.tokenizer=function(l,V){return new this(V,l)},Object.defineProperties(tr.prototype,gn);var lt=tr.prototype,Be=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;lt.strictDirective=function(s){if(this.options.ecmaVersion<5)return!1;for(;;){qe.lastIndex=s,s+=qe.exec(this.input)[0].length;var l=Be.exec(this.input.slice(s));if(!l)return!1;if((l[1]||l[2])==="use strict"){qe.lastIndex=s+l[0].length;var V=qe.exec(this.input),Z=V.index+V[0].length,Ce=this.input.charAt(Z);return Ce===";"||Ce==="}"||Y.test(V[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Ce)||Ce==="!"&&this.input.charAt(Z+1)==="=")}s+=l[0].length,qe.lastIndex=s,s+=qe.exec(this.input)[0].length,this.input[s]===";"&&s++}},lt.eat=function(s){return this.type===s?(this.next(),!0):!1},lt.isContextual=function(s){return this.type===f.name&&this.value===s&&!this.containsEsc},lt.eatContextual=function(s){return this.isContextual(s)?(this.next(),!0):!1},lt.expectContextual=function(s){this.eatContextual(s)||this.unexpected()},lt.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||Y.test(this.input.slice(this.lastTokEnd,this.start))},lt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},lt.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},lt.afterTrailingComma=function(s,l){if(this.type===s)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),l||this.next(),!0},lt.expect=function(s){this.eat(s)||this.unexpected()},lt.unexpected=function(s){this.raise(s??this.start,"Unexpected token")};var ee=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};lt.checkPatternErrors=function(s,l){if(s){s.trailingComma>-1&&this.raiseRecoverable(s.trailingComma,"Comma is not permitted after the rest element");var V=l?s.parenthesizedAssign:s.parenthesizedBind;V>-1&&this.raiseRecoverable(V,l?"Assigning to rvalue":"Parenthesized pattern")}},lt.checkExpressionErrors=function(s,l){if(!s)return!1;var V=s.shorthandAssign,Z=s.doubleProto;if(!l)return V>=0||Z>=0;V>=0&&this.raise(V,"Shorthand property assignments are valid only in destructuring patterns"),Z>=0&&this.raiseRecoverable(Z,"Redefinition of __proto__ property")},lt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},lt.isSimpleAssignTarget=function(s){return s.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(s.expression):s.type==="Identifier"||s.type==="MemberExpression"};var ut=tr.prototype;ut.parseTopLevel=function(s){var l=Object.create(null);for(s.body||(s.body=[]);this.type!==f.eof;){var V=this.parseStatement(null,!0,l);s.body.push(V)}if(this.inModule)for(var Z=0,Ce=Object.keys(this.undefinedExports);Z<Ce.length;Z+=1){var rt=Ce[Z];this.raiseRecoverable(this.undefinedExports[rt].start,"Export '"+rt+"' is not defined")}return this.adaptDirectivePrologue(s.body),this.next(),s.sourceType=this.options.sourceType,this.finishNode(s,"Program")};var Jt={kind:"loop"},Hr={kind:"switch"};ut.isLet=function(s){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;qe.lastIndex=this.pos;var l=qe.exec(this.input),V=this.pos+l[0].length,Z=this.input.charCodeAt(V);if(Z===91||Z===92||Z>55295&&Z<56320)return!0;if(s)return!1;if(Z===123)return!0;if(le(Z,!0)){for(var Ce=V+1;Se(Z=this.input.charCodeAt(Ce),!0);)++Ce;if(Z===92||Z>55295&&Z<56320)return!0;var rt=this.input.slice(V,Ce);if(!w.test(rt))return!0}return!1},ut.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;qe.lastIndex=this.pos;var s=qe.exec(this.input),l=this.pos+s[0].length,V;return!Y.test(this.input.slice(this.pos,l))&&this.input.slice(l,l+8)==="function"&&(l+8===this.input.length||!(Se(V=this.input.charCodeAt(l+8))||V>55295&&V<56320))},ut.parseStatement=function(s,l,V){var Z=this.type,Ce=this.startNode(),rt;switch(this.isLet(s)&&(Z=f._var,rt="let"),Z){case f._break:case f._continue:return this.parseBreakContinueStatement(Ce,Z.keyword);case f._debugger:return this.parseDebuggerStatement(Ce);case f._do:return this.parseDoStatement(Ce);case f._for:return this.parseForStatement(Ce);case f._function:return s&&(this.strict||s!=="if"&&s!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Ce,!1,!s);case f._class:return s&&this.unexpected(),this.parseClass(Ce,!0);case f._if:return this.parseIfStatement(Ce);case f._return:return this.parseReturnStatement(Ce);case f._switch:return this.parseSwitchStatement(Ce);case f._throw:return this.parseThrowStatement(Ce);case f._try:return this.parseTryStatement(Ce);case f._const:case f._var:return rt=rt||this.value,s&&rt!=="var"&&this.unexpected(),this.parseVarStatement(Ce,rt);case f._while:return this.parseWhileStatement(Ce);case f._with:return this.parseWithStatement(Ce);case f.braceL:return this.parseBlock(!0,Ce);case f.semi:return this.parseEmptyStatement(Ce);case f._export:case f._import:if(this.options.ecmaVersion>10&&Z===f._import){qe.lastIndex=this.pos;var ht=qe.exec(this.input),Bt=this.pos+ht[0].length,dt=this.input.charCodeAt(Bt);if(dt===40||dt===46)return this.parseExpressionStatement(Ce,this.parseExpression())}return this.options.allowImportExportEverywhere||(l||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),Z===f._import?this.parseImport(Ce):this.parseExport(Ce,V);default:if(this.isAsyncFunction())return s&&this.unexpected(),this.next(),this.parseFunctionStatement(Ce,!0,!s);var gr=this.value,wr=this.parseExpression();return Z===f.name&&wr.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(Ce,gr,wr,s):this.parseExpressionStatement(Ce,wr)}},ut.parseBreakContinueStatement=function(s,l){var V=l==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?s.label=null:this.type!==f.name?this.unexpected():(s.label=this.parseIdent(),this.semicolon());for(var Z=0;Z<this.labels.length;++Z){var Ce=this.labels[Z];if((s.label==null||Ce.name===s.label.name)&&(Ce.kind!=null&&(V||Ce.kind==="loop")||s.label&&V))break}return Z===this.labels.length&&this.raise(s.start,"Unsyntactic "+l),this.finishNode(s,V?"BreakStatement":"ContinueStatement")},ut.parseDebuggerStatement=function(s){return this.next(),this.semicolon(),this.finishNode(s,"DebuggerStatement")},ut.parseDoStatement=function(s){return this.next(),this.labels.push(Jt),s.body=this.parseStatement("do"),this.labels.pop(),this.expect(f._while),s.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(f.semi):this.semicolon(),this.finishNode(s,"DoWhileStatement")},ut.parseForStatement=function(s){this.next();var l=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Jt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return l>-1&&this.unexpected(l),this.parseFor(s,null);var V=this.isLet();if(this.type===f._var||this.type===f._const||V){var Z=this.startNode(),Ce=V?"let":this.value;return this.next(),this.parseVar(Z,!0,Ce),this.finishNode(Z,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Z.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?l>-1&&this.unexpected(l):s.await=l>-1),this.parseForIn(s,Z)):(l>-1&&this.unexpected(l),this.parseFor(s,Z))}var rt=this.isContextual("let"),ht=!1,Bt=new ee,dt=this.parseExpression(l>-1?"await":!0,Bt);return this.type===f._in||(ht=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===f._in?l>-1&&this.unexpected(l):s.await=l>-1),rt&&ht&&this.raise(dt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(dt,!1,Bt),this.checkLValPattern(dt),this.parseForIn(s,dt)):(this.checkExpressionErrors(Bt,!0),l>-1&&this.unexpected(l),this.parseFor(s,dt))},ut.parseFunctionStatement=function(s,l,V){return this.next(),this.parseFunction(s,xe|(V?0:Cr),!1,l)},ut.parseIfStatement=function(s){return this.next(),s.test=this.parseParenExpression(),s.consequent=this.parseStatement("if"),s.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(s,"IfStatement")},ut.parseReturnStatement=function(s){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?s.argument=null:(s.argument=this.parseExpression(),this.semicolon()),this.finishNode(s,"ReturnStatement")},ut.parseSwitchStatement=function(s){this.next(),s.discriminant=this.parseParenExpression(),s.cases=[],this.expect(f.braceL),this.labels.push(Hr),this.enterScope(0);for(var l,V=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var Z=this.type===f._case;l&&this.finishNode(l,"SwitchCase"),s.cases.push(l=this.startNode()),l.consequent=[],this.next(),Z?l.test=this.parseExpression():(V&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),V=!0,l.test=null),this.expect(f.colon)}else l||this.unexpected(),l.consequent.push(this.parseStatement(null));return this.exitScope(),l&&this.finishNode(l,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(s,"SwitchStatement")},ut.parseThrowStatement=function(s){return this.next(),Y.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),s.argument=this.parseExpression(),this.semicolon(),this.finishNode(s,"ThrowStatement")};var Kr=[];ut.parseTryStatement=function(s){if(this.next(),s.block=this.parseBlock(),s.handler=null,this.type===f._catch){var l=this.startNode();if(this.next(),this.eat(f.parenL)){l.param=this.parseBindingAtom();var V=l.param.type==="Identifier";this.enterScope(V?Zn:0),this.checkLValPattern(l.param,V?si:mn),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),l.param=null,this.enterScope(0);l.body=this.parseBlock(!1),this.exitScope(),s.handler=this.finishNode(l,"CatchClause")}return s.finalizer=this.eat(f._finally)?this.parseBlock():null,!s.handler&&!s.finalizer&&this.raise(s.start,"Missing catch or finally clause"),this.finishNode(s,"TryStatement")},ut.parseVarStatement=function(s,l){return this.next(),this.parseVar(s,!1,l),this.semicolon(),this.finishNode(s,"VariableDeclaration")},ut.parseWhileStatement=function(s){return this.next(),s.test=this.parseParenExpression(),this.labels.push(Jt),s.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(s,"WhileStatement")},ut.parseWithStatement=function(s){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),s.object=this.parseParenExpression(),s.body=this.parseStatement("with"),this.finishNode(s,"WithStatement")},ut.parseEmptyStatement=function(s){return this.next(),this.finishNode(s,"EmptyStatement")},ut.parseLabeledStatement=function(s,l,V,Z){for(var Ce=0,rt=this.labels;Ce<rt.length;Ce+=1){var ht=rt[Ce];ht.name===l&&this.raise(V.start,"Label '"+l+"' is already declared")}for(var Bt=this.type.isLoop?"loop":this.type===f._switch?"switch":null,dt=this.labels.length-1;dt>=0;dt--){var gr=this.labels[dt];if(gr.statementStart===s.start)gr.statementStart=this.start,gr.kind=Bt;else break}return this.labels.push({name:l,kind:Bt,statementStart:this.start}),s.body=this.parseStatement(Z?Z.indexOf("label")===-1?Z+"label":Z:"label"),this.labels.pop(),s.label=V,this.finishNode(s,"LabeledStatement")},ut.parseExpressionStatement=function(s,l){return s.expression=l,this.semicolon(),this.finishNode(s,"ExpressionStatement")},ut.parseBlock=function(s,l,V){for(s===void 0&&(s=!0),l===void 0&&(l=this.startNode()),l.body=[],this.expect(f.braceL),s&&this.enterScope(0);this.type!==f.braceR;){var Z=this.parseStatement(null);l.body.push(Z)}return V&&(this.strict=!1),this.next(),s&&this.exitScope(),this.finishNode(l,"BlockStatement")},ut.parseFor=function(s,l){return s.init=l,this.expect(f.semi),s.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),s.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),s.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(s,"ForStatement")},ut.parseForIn=function(s,l){var V=this.type===f._in;return this.next(),l.type==="VariableDeclaration"&&l.declarations[0].init!=null&&(!V||this.options.ecmaVersion<8||this.strict||l.kind!=="var"||l.declarations[0].id.type!=="Identifier")&&this.raise(l.start,(V?"for-in":"for-of")+" loop variable declaration may not have an initializer"),s.left=l,s.right=V?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),s.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(s,V?"ForInStatement":"ForOfStatement")},ut.parseVar=function(s,l,V){for(s.declarations=[],s.kind=V;;){var Z=this.startNode();if(this.parseVarId(Z,V),this.eat(f.eq)?Z.init=this.parseMaybeAssign(l):V==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():Z.id.type!=="Identifier"&&!(l&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):Z.init=null,s.declarations.push(this.finishNode(Z,"VariableDeclarator")),!this.eat(f.comma))break}return s},ut.parseVarId=function(s,l){s.id=this.parseBindingAtom(),this.checkLValPattern(s.id,l==="var"?Wn:mn,!1)};var xe=1,Cr=2,Gr=4;ut.parseFunction=function(s,l,V,Z,Ce){this.initFunction(s),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Z)&&(this.type===f.star&&l&Cr&&this.unexpected(),s.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(s.async=!!Z),l&xe&&(s.id=l&Gr&&this.type!==f.name?null:this.parseIdent(),s.id&&!(l&Cr)&&this.checkLValSimple(s.id,this.strict||s.generator||s.async?this.treatFunctionsAsVar?Wn:mn:zn));var rt=this.yieldPos,ht=this.awaitPos,Bt=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Un(s.async,s.generator)),l&xe||(s.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(s),this.parseFunctionBody(s,V,!1,Ce),this.yieldPos=rt,this.awaitPos=ht,this.awaitIdentPos=Bt,this.finishNode(s,l&xe?"FunctionDeclaration":"FunctionExpression")},ut.parseFunctionParams=function(s){this.expect(f.parenL),s.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ut.parseClass=function(s,l){this.next();var V=this.strict;this.strict=!0,this.parseClassId(s,l),this.parseClassSuper(s);var Z=this.enterClassBody(),Ce=this.startNode(),rt=!1;for(Ce.body=[],this.expect(f.braceL);this.type!==f.braceR;){var ht=this.parseClassElement(s.superClass!==null);ht&&(Ce.body.push(ht),ht.type==="MethodDefinition"&&ht.kind==="constructor"?(rt&&this.raise(ht.start,"Duplicate constructor in the same class"),rt=!0):ht.key&&ht.key.type==="PrivateIdentifier"&&Nr(Z,ht)&&this.raiseRecoverable(ht.key.start,"Identifier '#"+ht.key.name+"' has already been declared"))}return this.strict=V,this.next(),s.body=this.finishNode(Ce,"ClassBody"),this.exitClassBody(),this.finishNode(s,l?"ClassDeclaration":"ClassExpression")},ut.parseClassElement=function(s){if(this.eat(f.semi))return null;var l=this.options.ecmaVersion,V=this.startNode(),Z="",Ce=!1,rt=!1,ht="method",Bt=!1;if(this.eatContextual("static")){if(l>=13&&this.eat(f.braceL))return this.parseClassStaticBlock(V),V;this.isClassElementNameStart()||this.type===f.star?Bt=!0:Z="static"}if(V.static=Bt,!Z&&l>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===f.star)&&!this.canInsertSemicolon()?rt=!0:Z="async"),!Z&&(l>=9||!rt)&&this.eat(f.star)&&(Ce=!0),!Z&&!rt&&!Ce){var dt=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?ht=dt:Z=dt)}if(Z?(V.computed=!1,V.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),V.key.name=Z,this.finishNode(V.key,"Identifier")):this.parseClassElementName(V),l<13||this.type===f.parenL||ht!=="method"||Ce||rt){var gr=!V.static&&jr(V,"constructor"),wr=gr&&s;gr&&ht!=="method"&&this.raise(V.key.start,"Constructor can't have get/set modifier"),V.kind=gr?"constructor":ht,this.parseClassMethod(V,Ce,rt,wr)}else this.parseClassField(V);return V},ut.isClassElementNameStart=function(){return this.type===f.name||this.type===f.privateId||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword},ut.parseClassElementName=function(s){this.type===f.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),s.computed=!1,s.key=this.parsePrivateIdent()):this.parsePropertyName(s)},ut.parseClassMethod=function(s,l,V,Z){var Ce=s.key;s.kind==="constructor"?(l&&this.raise(Ce.start,"Constructor can't be a generator"),V&&this.raise(Ce.start,"Constructor can't be an async method")):s.static&&jr(s,"prototype")&&this.raise(Ce.start,"Classes may not have a static property named prototype");var rt=s.value=this.parseMethod(l,V,Z);return s.kind==="get"&&rt.params.length!==0&&this.raiseRecoverable(rt.start,"getter should have no params"),s.kind==="set"&&rt.params.length!==1&&this.raiseRecoverable(rt.start,"setter should have exactly one param"),s.kind==="set"&&rt.params[0].type==="RestElement"&&this.raiseRecoverable(rt.params[0].start,"Setter cannot use rest params"),this.finishNode(s,"MethodDefinition")},ut.parseClassField=function(s){if(jr(s,"constructor")?this.raise(s.key.start,"Classes can't have a field named 'constructor'"):s.static&&jr(s,"prototype")&&this.raise(s.key.start,"Classes can't have a static field named 'prototype'"),this.eat(f.eq)){var l=this.currentThisScope(),V=l.inClassFieldInit;l.inClassFieldInit=!0,s.value=this.parseMaybeAssign(),l.inClassFieldInit=V}else s.value=null;return this.semicolon(),this.finishNode(s,"PropertyDefinition")},ut.parseClassStaticBlock=function(s){s.body=[];var l=this.labels;for(this.labels=[],this.enterScope(_n|Hn);this.type!==f.braceR;){var V=this.parseStatement(null);s.body.push(V)}return this.next(),this.exitScope(),this.labels=l,this.finishNode(s,"StaticBlock")},ut.parseClassId=function(s,l){this.type===f.name?(s.id=this.parseIdent(),l&&this.checkLValSimple(s.id,mn,!1)):(l===!0&&this.unexpected(),s.id=null)},ut.parseClassSuper=function(s){s.superClass=this.eat(f._extends)?this.parseExprSubscripts(!1):null},ut.enterClassBody=function(){var s={declared:Object.create(null),used:[]};return this.privateNameStack.push(s),s.declared},ut.exitClassBody=function(){for(var s=this.privateNameStack.pop(),l=s.declared,V=s.used,Z=this.privateNameStack.length,Ce=Z===0?null:this.privateNameStack[Z-1],rt=0;rt<V.length;++rt){var ht=V[rt];Qt(l,ht.name)||(Ce?Ce.used.push(ht):this.raiseRecoverable(ht.start,"Private field '#"+ht.name+"' must be declared in an enclosing class"))}};function Nr(s,l){var V=l.key.name,Z=s[V],Ce="true";return l.type==="MethodDefinition"&&(l.kind==="get"||l.kind==="set")&&(Ce=(l.static?"s":"i")+l.kind),Z==="iget"&&Ce==="iset"||Z==="iset"&&Ce==="iget"||Z==="sget"&&Ce==="sset"||Z==="sset"&&Ce==="sget"?(s[V]="true",!1):Z?!0:(s[V]=Ce,!1)}function jr(s,l){var V=s.computed,Z=s.key;return!V&&(Z.type==="Identifier"&&Z.name===l||Z.type==="Literal"&&Z.value===l)}ut.parseExport=function(s,l){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(s.exported=this.parseModuleExportName(),this.checkExport(l,s.exported,this.lastTokStart)):s.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),s.source=this.parseExprAtom(),this.semicolon(),this.finishNode(s,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(l,"default",this.lastTokStart);var V;if(this.type===f._function||(V=this.isAsyncFunction())){var Z=this.startNode();this.next(),V&&this.next(),s.declaration=this.parseFunction(Z,xe|Gr,!1,V)}else if(this.type===f._class){var Ce=this.startNode();s.declaration=this.parseClass(Ce,"nullableID")}else s.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(s,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())s.declaration=this.parseStatement(null),s.declaration.type==="VariableDeclaration"?this.checkVariableExport(l,s.declaration.declarations):this.checkExport(l,s.declaration.id,s.declaration.id.start),s.specifiers=[],s.source=null;else{if(s.declaration=null,s.specifiers=this.parseExportSpecifiers(l),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),s.source=this.parseExprAtom();else{for(var rt=0,ht=s.specifiers;rt<ht.length;rt+=1){var Bt=ht[rt];this.checkUnreserved(Bt.local),this.checkLocalExport(Bt.local),Bt.local.type==="Literal"&&this.raise(Bt.local.start,"A string literal cannot be used as an exported binding without `from`.")}s.source=null}this.semicolon()}return this.finishNode(s,"ExportNamedDeclaration")},ut.checkExport=function(s,l,V){s&&(typeof l!="string"&&(l=l.type==="Identifier"?l.name:l.value),Qt(s,l)&&this.raiseRecoverable(V,"Duplicate export '"+l+"'"),s[l]=!0)},ut.checkPatternExport=function(s,l){var V=l.type;if(V==="Identifier")this.checkExport(s,l,l.start);else if(V==="ObjectPattern")for(var Z=0,Ce=l.properties;Z<Ce.length;Z+=1){var rt=Ce[Z];this.checkPatternExport(s,rt)}else if(V==="ArrayPattern")for(var ht=0,Bt=l.elements;ht<Bt.length;ht+=1){var dt=Bt[ht];dt&&this.checkPatternExport(s,dt)}else V==="Property"?this.checkPatternExport(s,l.value):V==="AssignmentPattern"?this.checkPatternExport(s,l.left):V==="RestElement"?this.checkPatternExport(s,l.argument):V==="ParenthesizedExpression"&&this.checkPatternExport(s,l.expression)},ut.checkVariableExport=function(s,l){if(s)for(var V=0,Z=l;V<Z.length;V+=1){var Ce=Z[V];this.checkPatternExport(s,Ce.id)}},ut.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ut.parseExportSpecifiers=function(s){var l=[],V=!0;for(this.expect(f.braceL);!this.eat(f.braceR);){if(V)V=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;var Z=this.startNode();Z.local=this.parseModuleExportName(),Z.exported=this.eatContextual("as")?this.parseModuleExportName():Z.local,this.checkExport(s,Z.exported,Z.exported.start),l.push(this.finishNode(Z,"ExportSpecifier"))}return l},ut.parseImport=function(s){return this.next(),this.type===f.string?(s.specifiers=Kr,s.source=this.parseExprAtom()):(s.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),s.source=this.type===f.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(s,"ImportDeclaration")},ut.parseImportSpecifiers=function(){var s=[],l=!0;if(this.type===f.name){var V=this.startNode();if(V.local=this.parseIdent(),this.checkLValSimple(V.local,mn),s.push(this.finishNode(V,"ImportDefaultSpecifier")),!this.eat(f.comma))return s}if(this.type===f.star){var Z=this.startNode();return this.next(),this.expectContextual("as"),Z.local=this.parseIdent(),this.checkLValSimple(Z.local,mn),s.push(this.finishNode(Z,"ImportNamespaceSpecifier")),s}for(this.expect(f.braceL);!this.eat(f.braceR);){if(l)l=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;var Ce=this.startNode();Ce.imported=this.parseModuleExportName(),this.eatContextual("as")?Ce.local=this.parseIdent():(this.checkUnreserved(Ce.imported),Ce.local=Ce.imported),this.checkLValSimple(Ce.local,mn),s.push(this.finishNode(Ce,"ImportSpecifier"))}return s},ut.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===f.string){var s=this.parseLiteral(this.value);return Br.test(s.value)&&this.raise(s.start,"An export name cannot include a lone surrogate."),s}return this.parseIdent(!0)},ut.adaptDirectivePrologue=function(s){for(var l=0;l<s.length&&this.isDirectiveCandidate(s[l]);++l)s[l].directive=s[l].expression.raw.slice(1,-1)},ut.isDirectiveCandidate=function(s){return this.options.ecmaVersion>=5&&s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&(this.input[s.start]==='"'||this.input[s.start]==="'")};var en=tr.prototype;en.toAssignable=function(s,l,V){if(this.options.ecmaVersion>=6&&s)switch(s.type){case"Identifier":this.inAsync&&s.name==="await"&&this.raise(s.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":s.type="ObjectPattern",V&&this.checkPatternErrors(V,!0);for(var Z=0,Ce=s.properties;Z<Ce.length;Z+=1){var rt=Ce[Z];this.toAssignable(rt,l),rt.type==="RestElement"&&(rt.argument.type==="ArrayPattern"||rt.argument.type==="ObjectPattern")&&this.raise(rt.argument.start,"Unexpected token")}break;case"Property":s.kind!=="init"&&this.raise(s.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(s.value,l);break;case"ArrayExpression":s.type="ArrayPattern",V&&this.checkPatternErrors(V,!0),this.toAssignableList(s.elements,l);break;case"SpreadElement":s.type="RestElement",this.toAssignable(s.argument,l),s.argument.type==="AssignmentPattern"&&this.raise(s.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":s.operator!=="="&&this.raise(s.left.end,"Only '=' operator can be used for specifying default value."),s.type="AssignmentPattern",delete s.operator,this.toAssignable(s.left,l);break;case"ParenthesizedExpression":this.toAssignable(s.expression,l,V);break;case"ChainExpression":this.raiseRecoverable(s.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!l)break;default:this.raise(s.start,"Assigning to rvalue")}else V&&this.checkPatternErrors(V,!0);return s},en.toAssignableList=function(s,l){for(var V=s.length,Z=0;Z<V;Z++){var Ce=s[Z];Ce&&this.toAssignable(Ce,l)}if(V){var rt=s[V-1];this.options.ecmaVersion===6&&l&&rt&&rt.type==="RestElement"&&rt.argument.type!=="Identifier"&&this.unexpected(rt.argument.start)}return s},en.parseSpread=function(s){var l=this.startNode();return this.next(),l.argument=this.parseMaybeAssign(!1,s),this.finishNode(l,"SpreadElement")},en.parseRestBinding=function(){var s=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==f.name&&this.unexpected(),s.argument=this.parseBindingAtom(),this.finishNode(s,"RestElement")},en.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case f.bracketL:var s=this.startNode();return this.next(),s.elements=this.parseBindingList(f.bracketR,!0,!0),this.finishNode(s,"ArrayPattern");case f.braceL:return this.parseObj(!0)}return this.parseIdent()},en.parseBindingList=function(s,l,V){for(var Z=[],Ce=!0;!this.eat(s);)if(Ce?Ce=!1:this.expect(f.comma),l&&this.type===f.comma)Z.push(null);else{if(V&&this.afterTrailingComma(s))break;if(this.type===f.ellipsis){var rt=this.parseRestBinding();this.parseBindingListItem(rt),Z.push(rt),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(s);break}else{var ht=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(ht),Z.push(ht)}}return Z},en.parseBindingListItem=function(s){return s},en.parseMaybeDefault=function(s,l,V){if(V=V||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(f.eq))return V;var Z=this.startNodeAt(s,l);return Z.left=V,Z.right=this.parseMaybeAssign(),this.finishNode(Z,"AssignmentPattern")},en.checkLValSimple=function(s,l,V){l===void 0&&(l=En);var Z=l!==En;switch(s.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(s.name)&&this.raiseRecoverable(s.start,(Z?"Binding ":"Assigning to ")+s.name+" in strict mode"),Z&&(l===mn&&s.name==="let"&&this.raiseRecoverable(s.start,"let is disallowed as a lexically bound name"),V&&(Qt(V,s.name)&&this.raiseRecoverable(s.start,"Argument name clash"),V[s.name]=!0),l!==On&&this.declareName(s.name,l,s.start));break;case"ChainExpression":this.raiseRecoverable(s.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Z&&this.raiseRecoverable(s.start,"Binding member expression");break;case"ParenthesizedExpression":return Z&&this.raiseRecoverable(s.start,"Binding parenthesized expression"),this.checkLValSimple(s.expression,l,V);default:this.raise(s.start,(Z?"Binding":"Assigning to")+" rvalue")}},en.checkLValPattern=function(s,l,V){switch(l===void 0&&(l=En),s.type){case"ObjectPattern":for(var Z=0,Ce=s.properties;Z<Ce.length;Z+=1){var rt=Ce[Z];this.checkLValInnerPattern(rt,l,V)}break;case"ArrayPattern":for(var ht=0,Bt=s.elements;ht<Bt.length;ht+=1){var dt=Bt[ht];dt&&this.checkLValInnerPattern(dt,l,V)}break;default:this.checkLValSimple(s,l,V)}},en.checkLValInnerPattern=function(s,l,V){switch(l===void 0&&(l=En),s.type){case"Property":this.checkLValInnerPattern(s.value,l,V);break;case"AssignmentPattern":this.checkLValPattern(s.left,l,V);break;case"RestElement":this.checkLValPattern(s.argument,l,V);break;default:this.checkLValPattern(s,l,V)}};var un=function(l,V,Z,Ce,rt){this.token=l,this.isExpr=!!V,this.preserveSpace=!!Z,this.override=Ce,this.generator=!!rt},tn={b_stat:new un("{",!1),b_expr:new un("{",!0),b_tmpl:new un("${",!1),p_stat:new un("(",!1),p_expr:new un("(",!0),q_tmpl:new un("`",!0,!0,function(s){return s.tryReadTemplateToken()}),f_stat:new un("function",!1),f_expr:new un("function",!0),f_expr_gen:new un("function",!0,!1,null,!0),f_gen:new un("function",!1,!1,null,!0)},Hi=tr.prototype;Hi.initialContext=function(){return[tn.b_stat]},Hi.curContext=function(){return this.context[this.context.length-1]},Hi.braceIsBlock=function(s){var l=this.curContext();return l===tn.f_expr||l===tn.f_stat?!0:s===f.colon&&(l===tn.b_stat||l===tn.b_expr)?!l.isExpr:s===f._return||s===f.name&&this.exprAllowed?Y.test(this.input.slice(this.lastTokEnd,this.start)):s===f._else||s===f.semi||s===f.eof||s===f.parenR||s===f.arrow?!0:s===f.braceL?l===tn.b_stat:s===f._var||s===f._const||s===f.name?!1:!this.exprAllowed},Hi.inGeneratorContext=function(){for(var s=this.context.length-1;s>=1;s--){var l=this.context[s];if(l.token==="function")return l.generator}return!1},Hi.updateContext=function(s){var l,V=this.type;V.keyword&&s===f.dot?this.exprAllowed=!1:(l=V.updateContext)?l.call(this,s):this.exprAllowed=V.beforeExpr},Hi.overrideContext=function(s){this.curContext()!==s&&(this.context[this.context.length-1]=s)},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var s=this.context.pop();s===tn.b_stat&&this.curContext().token==="function"&&(s=this.context.pop()),this.exprAllowed=!s.isExpr},f.braceL.updateContext=function(s){this.context.push(this.braceIsBlock(s)?tn.b_stat:tn.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(tn.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(s){var l=s===f._if||s===f._for||s===f._with||s===f._while;this.context.push(l?tn.p_stat:tn.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(s){s.beforeExpr&&s!==f._else&&!(s===f.semi&&this.curContext()!==tn.p_stat)&&!(s===f._return&&Y.test(this.input.slice(this.lastTokEnd,this.start)))&&!((s===f.colon||s===f.braceL)&&this.curContext()===tn.b_stat)?this.context.push(tn.f_expr):this.context.push(tn.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===tn.q_tmpl?this.context.pop():this.context.push(tn.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(s){if(s===f._function){var l=this.context.length-1;this.context[l]===tn.f_expr?this.context[l]=tn.f_expr_gen:this.context[l]=tn.f_gen}this.exprAllowed=!0},f.name.updateContext=function(s){var l=!1;this.options.ecmaVersion>=6&&s!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(l=!0),this.exprAllowed=l};var Er=tr.prototype;Er.checkPropClash=function(s,l,V){if(!(this.options.ecmaVersion>=9&&s.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(s.computed||s.method||s.shorthand))){var Z=s.key,Ce;switch(Z.type){case"Identifier":Ce=Z.name;break;case"Literal":Ce=String(Z.value);break;default:return}var rt=s.kind;if(this.options.ecmaVersion>=6){Ce==="__proto__"&&rt==="init"&&(l.proto&&(V?V.doubleProto<0&&(V.doubleProto=Z.start):this.raiseRecoverable(Z.start,"Redefinition of __proto__ property")),l.proto=!0);return}Ce="$"+Ce;var ht=l[Ce];if(ht){var Bt;rt==="init"?Bt=this.strict&&ht.init||ht.get||ht.set:Bt=ht.init||ht[rt],Bt&&this.raiseRecoverable(Z.start,"Redefinition of property")}else ht=l[Ce]={init:!1,get:!1,set:!1};ht[rt]=!0}},Er.parseExpression=function(s,l){var V=this.start,Z=this.startLoc,Ce=this.parseMaybeAssign(s,l);if(this.type===f.comma){var rt=this.startNodeAt(V,Z);for(rt.expressions=[Ce];this.eat(f.comma);)rt.expressions.push(this.parseMaybeAssign(s,l));return this.finishNode(rt,"SequenceExpression")}return Ce},Er.parseMaybeAssign=function(s,l,V){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(s);this.exprAllowed=!1}var Z=!1,Ce=-1,rt=-1,ht=-1;l?(Ce=l.parenthesizedAssign,rt=l.trailingComma,ht=l.doubleProto,l.parenthesizedAssign=l.trailingComma=-1):(l=new ee,Z=!0);var Bt=this.start,dt=this.startLoc;(this.type===f.parenL||this.type===f.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=s==="await");var gr=this.parseMaybeConditional(s,l);if(V&&(gr=V.call(this,gr,Bt,dt)),this.type.isAssign){var wr=this.startNodeAt(Bt,dt);return wr.operator=this.value,this.type===f.eq&&(gr=this.toAssignable(gr,!1,l)),Z||(l.parenthesizedAssign=l.trailingComma=l.doubleProto=-1),l.shorthandAssign>=gr.start&&(l.shorthandAssign=-1),this.type===f.eq?this.checkLValPattern(gr):this.checkLValSimple(gr),wr.left=gr,this.next(),wr.right=this.parseMaybeAssign(s),ht>-1&&(l.doubleProto=ht),this.finishNode(wr,"AssignmentExpression")}else Z&&this.checkExpressionErrors(l,!0);return Ce>-1&&(l.parenthesizedAssign=Ce),rt>-1&&(l.trailingComma=rt),gr},Er.parseMaybeConditional=function(s,l){var V=this.start,Z=this.startLoc,Ce=this.parseExprOps(s,l);if(this.checkExpressionErrors(l))return Ce;if(this.eat(f.question)){var rt=this.startNodeAt(V,Z);return rt.test=Ce,rt.consequent=this.parseMaybeAssign(),this.expect(f.colon),rt.alternate=this.parseMaybeAssign(s),this.finishNode(rt,"ConditionalExpression")}return Ce},Er.parseExprOps=function(s,l){var V=this.start,Z=this.startLoc,Ce=this.parseMaybeUnary(l,!1,!1,s);return this.checkExpressionErrors(l)||Ce.start===V&&Ce.type==="ArrowFunctionExpression"?Ce:this.parseExprOp(Ce,V,Z,-1,s)},Er.parseExprOp=function(s,l,V,Z,Ce){var rt=this.type.binop;if(rt!=null&&(!Ce||this.type!==f._in)&&rt>Z){var ht=this.type===f.logicalOR||this.type===f.logicalAND,Bt=this.type===f.coalesce;Bt&&(rt=f.logicalAND.binop);var dt=this.value;this.next();var gr=this.start,wr=this.startLoc,Nn=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,Ce),gr,wr,rt,Ce),Fi=this.buildBinary(l,V,s,Nn,dt,ht||Bt);return(ht&&this.type===f.coalesce||Bt&&(this.type===f.logicalOR||this.type===f.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Fi,l,V,Z,Ce)}return s},Er.buildBinary=function(s,l,V,Z,Ce,rt){Z.type==="PrivateIdentifier"&&this.raise(Z.start,"Private identifier can only be left side of binary expression");var ht=this.startNodeAt(s,l);return ht.left=V,ht.operator=Ce,ht.right=Z,this.finishNode(ht,rt?"LogicalExpression":"BinaryExpression")},Er.parseMaybeUnary=function(s,l,V,Z){var Ce=this.start,rt=this.startLoc,ht;if(this.isContextual("await")&&this.canAwait)ht=this.parseAwait(Z),l=!0;else if(this.type.prefix){var Bt=this.startNode(),dt=this.type===f.incDec;Bt.operator=this.value,Bt.prefix=!0,this.next(),Bt.argument=this.parseMaybeUnary(null,!0,dt,Z),this.checkExpressionErrors(s,!0),dt?this.checkLValSimple(Bt.argument):this.strict&&Bt.operator==="delete"&&Bt.argument.type==="Identifier"?this.raiseRecoverable(Bt.start,"Deleting local variable in strict mode"):Bt.operator==="delete"&&Va(Bt.argument)?this.raiseRecoverable(Bt.start,"Private fields can not be deleted"):l=!0,ht=this.finishNode(Bt,dt?"UpdateExpression":"UnaryExpression")}else if(!l&&this.type===f.privateId)(Z||this.privateNameStack.length===0)&&this.unexpected(),ht=this.parsePrivateIdent(),this.type!==f._in&&this.unexpected();else{if(ht=this.parseExprSubscripts(s,Z),this.checkExpressionErrors(s))return ht;for(;this.type.postfix&&!this.canInsertSemicolon();){var gr=this.startNodeAt(Ce,rt);gr.operator=this.value,gr.prefix=!1,gr.argument=ht,this.checkLValSimple(ht),this.next(),ht=this.finishNode(gr,"UpdateExpression")}}if(!V&&this.eat(f.starstar))if(l)this.unexpected(this.lastTokStart);else return this.buildBinary(Ce,rt,ht,this.parseMaybeUnary(null,!1,!1,Z),"**",!1);else return ht};function Va(s){return s.type==="MemberExpression"&&s.property.type==="PrivateIdentifier"||s.type==="ChainExpression"&&Va(s.expression)}Er.parseExprSubscripts=function(s,l){var V=this.start,Z=this.startLoc,Ce=this.parseExprAtom(s,l);if(Ce.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return Ce;var rt=this.parseSubscripts(Ce,V,Z,!1,l);return s&&rt.type==="MemberExpression"&&(s.parenthesizedAssign>=rt.start&&(s.parenthesizedAssign=-1),s.parenthesizedBind>=rt.start&&(s.parenthesizedBind=-1),s.trailingComma>=rt.start&&(s.trailingComma=-1)),rt},Er.parseSubscripts=function(s,l,V,Z,Ce){for(var rt=this.options.ecmaVersion>=8&&s.type==="Identifier"&&s.name==="async"&&this.lastTokEnd===s.end&&!this.canInsertSemicolon()&&s.end-s.start===5&&this.potentialArrowAt===s.start,ht=!1;;){var Bt=this.parseSubscript(s,l,V,Z,rt,ht,Ce);if(Bt.optional&&(ht=!0),Bt===s||Bt.type==="ArrowFunctionExpression"){if(ht){var dt=this.startNodeAt(l,V);dt.expression=Bt,Bt=this.finishNode(dt,"ChainExpression")}return Bt}s=Bt}},Er.parseSubscript=function(s,l,V,Z,Ce,rt,ht){var Bt=this.options.ecmaVersion>=11,dt=Bt&&this.eat(f.questionDot);Z&&dt&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var gr=this.eat(f.bracketL);if(gr||dt&&this.type!==f.parenL&&this.type!==f.backQuote||this.eat(f.dot)){var wr=this.startNodeAt(l,V);wr.object=s,gr?(wr.property=this.parseExpression(),this.expect(f.bracketR)):this.type===f.privateId&&s.type!=="Super"?wr.property=this.parsePrivateIdent():wr.property=this.parseIdent(this.options.allowReserved!=="never"),wr.computed=!!gr,Bt&&(wr.optional=dt),s=this.finishNode(wr,"MemberExpression")}else if(!Z&&this.eat(f.parenL)){var Nn=new ee,Fi=this.yieldPos,Gi=this.awaitPos,Xi=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Ns=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1,Nn);if(Ce&&!dt&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(Nn,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Fi,this.awaitPos=Gi,this.awaitIdentPos=Xi,this.parseArrowExpression(this.startNodeAt(l,V),Ns,!0,ht);this.checkExpressionErrors(Nn,!0),this.yieldPos=Fi||this.yieldPos,this.awaitPos=Gi||this.awaitPos,this.awaitIdentPos=Xi||this.awaitIdentPos;var Qi=this.startNodeAt(l,V);Qi.callee=s,Qi.arguments=Ns,Bt&&(Qi.optional=dt),s=this.finishNode(Qi,"CallExpression")}else if(this.type===f.backQuote){(dt||rt)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Ki=this.startNodeAt(l,V);Ki.tag=s,Ki.quasi=this.parseTemplate({isTagged:!0}),s=this.finishNode(Ki,"TaggedTemplateExpression")}return s},Er.parseExprAtom=function(s,l){this.type===f.slash&&this.readRegexp();var V,Z=this.potentialArrowAt===this.start;switch(this.type){case f._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),V=this.startNode(),this.next(),this.type===f.parenL&&!this.allowDirectSuper&&this.raise(V.start,"super() call outside constructor of a subclass"),this.type!==f.dot&&this.type!==f.bracketL&&this.type!==f.parenL&&this.unexpected(),this.finishNode(V,"Super");case f._this:return V=this.startNode(),this.next(),this.finishNode(V,"ThisExpression");case f.name:var Ce=this.start,rt=this.startLoc,ht=this.containsEsc,Bt=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!ht&&Bt.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.overrideContext(tn.f_expr),this.parseFunction(this.startNodeAt(Ce,rt),0,!1,!0,l);if(Z&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(Ce,rt),[Bt],!1,l);if(this.options.ecmaVersion>=8&&Bt.name==="async"&&this.type===f.name&&!ht&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Bt=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(Ce,rt),[Bt],!0,l)}return Bt;case f.regexp:var dt=this.value;return V=this.parseLiteral(dt.value),V.regex={pattern:dt.pattern,flags:dt.flags},V;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return V=this.startNode(),V.value=this.type===f._null?null:this.type===f._true,V.raw=this.type.keyword,this.next(),this.finishNode(V,"Literal");case f.parenL:var gr=this.start,wr=this.parseParenAndDistinguishExpression(Z,l);return s&&(s.parenthesizedAssign<0&&!this.isSimpleAssignTarget(wr)&&(s.parenthesizedAssign=gr),s.parenthesizedBind<0&&(s.parenthesizedBind=gr)),wr;case f.bracketL:return V=this.startNode(),this.next(),V.elements=this.parseExprList(f.bracketR,!0,!0,s),this.finishNode(V,"ArrayExpression");case f.braceL:return this.overrideContext(tn.b_expr),this.parseObj(!1,s);case f._function:return V=this.startNode(),this.next(),this.parseFunction(V,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Er.parseExprImport=function(){var s=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var l=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(s);case f.dot:return s.meta=l,this.parseImportMeta(s);default:this.unexpected()}},Er.parseDynamicImport=function(s){if(this.next(),s.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var l=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(l,"Trailing comma is not allowed in import()"):this.unexpected(l)}return this.finishNode(s,"ImportExpression")},Er.parseImportMeta=function(s){this.next();var l=this.containsEsc;return s.property=this.parseIdent(!0),s.property.name!=="meta"&&this.raiseRecoverable(s.property.start,"The only valid meta property for import is 'import.meta'"),l&&this.raiseRecoverable(s.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(s.start,"Cannot use 'import.meta' outside a module"),this.finishNode(s,"MetaProperty")},Er.parseLiteral=function(s){var l=this.startNode();return l.value=s,l.raw=this.input.slice(this.start,this.end),l.raw.charCodeAt(l.raw.length-1)===110&&(l.bigint=l.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(l,"Literal")},Er.parseParenExpression=function(){this.expect(f.parenL);var s=this.parseExpression();return this.expect(f.parenR),s},Er.parseParenAndDistinguishExpression=function(s,l){var V=this.start,Z=this.startLoc,Ce,rt=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var ht=this.start,Bt=this.startLoc,dt=[],gr=!0,wr=!1,Nn=new ee,Fi=this.yieldPos,Gi=this.awaitPos,Xi;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(gr?gr=!1:this.expect(f.comma),rt&&this.afterTrailingComma(f.parenR,!0)){wr=!0;break}else if(this.type===f.ellipsis){Xi=this.start,dt.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else dt.push(this.parseMaybeAssign(!1,Nn,this.parseParenItem));var Ns=this.lastTokEnd,Qi=this.lastTokEndLoc;if(this.expect(f.parenR),s&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(Nn,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Fi,this.awaitPos=Gi,this.parseParenArrowList(V,Z,dt,l);(!dt.length||wr)&&this.unexpected(this.lastTokStart),Xi&&this.unexpected(Xi),this.checkExpressionErrors(Nn,!0),this.yieldPos=Fi||this.yieldPos,this.awaitPos=Gi||this.awaitPos,dt.length>1?(Ce=this.startNodeAt(ht,Bt),Ce.expressions=dt,this.finishNodeAt(Ce,"SequenceExpression",Ns,Qi)):Ce=dt[0]}else Ce=this.parseParenExpression();if(this.options.preserveParens){var Ki=this.startNodeAt(V,Z);return Ki.expression=Ce,this.finishNode(Ki,"ParenthesizedExpression")}else return Ce},Er.parseParenItem=function(s){return s},Er.parseParenArrowList=function(s,l,V,Z){return this.parseArrowExpression(this.startNodeAt(s,l),V,!1,Z)};var Xu=[];Er.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var s=this.startNode(),l=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){s.meta=l;var V=this.containsEsc;return s.property=this.parseIdent(!0),s.property.name!=="target"&&this.raiseRecoverable(s.property.start,"The only valid meta property for new is 'new.target'"),V&&this.raiseRecoverable(s.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(s.start,"'new.target' can only be used in functions and class static block"),this.finishNode(s,"MetaProperty")}var Z=this.start,Ce=this.startLoc,rt=this.type===f._import;return s.callee=this.parseSubscripts(this.parseExprAtom(),Z,Ce,!0,!1),rt&&s.callee.type==="ImportExpression"&&this.raise(Z,"Cannot use new with import()"),this.eat(f.parenL)?s.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):s.arguments=Xu,this.finishNode(s,"NewExpression")},Er.parseTemplateElement=function(s){var l=s.isTagged,V=this.startNode();return this.type===f.invalidTemplate?(l||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),V.value={raw:this.value,cooked:null}):V.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
4
- `),cooked:this.value},this.next(),V.tail=this.type===f.backQuote,this.finishNode(V,"TemplateElement")},Er.parseTemplate=function(s){s===void 0&&(s={});var l=s.isTagged;l===void 0&&(l=!1);var V=this.startNode();this.next(),V.expressions=[];var Z=this.parseTemplateElement({isTagged:l});for(V.quasis=[Z];!Z.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),V.expressions.push(this.parseExpression()),this.expect(f.braceR),V.quasis.push(Z=this.parseTemplateElement({isTagged:l}));return this.next(),this.finishNode(V,"TemplateLiteral")},Er.isAsyncProp=function(s){return!s.computed&&s.key.type==="Identifier"&&s.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!Y.test(this.input.slice(this.lastTokEnd,this.start))},Er.parseObj=function(s,l){var V=this.startNode(),Z=!0,Ce={};for(V.properties=[],this.next();!this.eat(f.braceR);){if(Z)Z=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var rt=this.parseProperty(s,l);s||this.checkPropClash(rt,Ce,l),V.properties.push(rt)}return this.finishNode(V,s?"ObjectPattern":"ObjectExpression")},Er.parseProperty=function(s,l){var V=this.startNode(),Z,Ce,rt,ht;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return s?(V.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(V,"RestElement")):(V.argument=this.parseMaybeAssign(!1,l),this.type===f.comma&&l&&l.trailingComma<0&&(l.trailingComma=this.start),this.finishNode(V,"SpreadElement"));this.options.ecmaVersion>=6&&(V.method=!1,V.shorthand=!1,(s||l)&&(rt=this.start,ht=this.startLoc),s||(Z=this.eat(f.star)));var Bt=this.containsEsc;return this.parsePropertyName(V),!s&&!Bt&&this.options.ecmaVersion>=8&&!Z&&this.isAsyncProp(V)?(Ce=!0,Z=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(V,l)):Ce=!1,this.parsePropertyValue(V,s,Z,Ce,rt,ht,l,Bt),this.finishNode(V,"Property")},Er.parsePropertyValue=function(s,l,V,Z,Ce,rt,ht,Bt){if((V||Z)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))s.value=l?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,ht),s.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)l&&this.unexpected(),s.kind="init",s.method=!0,s.value=this.parseMethod(V,Z);else if(!l&&!Bt&&this.options.ecmaVersion>=5&&!s.computed&&s.key.type==="Identifier"&&(s.key.name==="get"||s.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(V||Z)&&this.unexpected(),s.kind=s.key.name,this.parsePropertyName(s),s.value=this.parseMethod(!1);var dt=s.kind==="get"?0:1;if(s.value.params.length!==dt){var gr=s.value.start;s.kind==="get"?this.raiseRecoverable(gr,"getter should have no params"):this.raiseRecoverable(gr,"setter should have exactly one param")}else s.kind==="set"&&s.value.params[0].type==="RestElement"&&this.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!s.computed&&s.key.type==="Identifier"?((V||Z)&&this.unexpected(),this.checkUnreserved(s.key),s.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=Ce),s.kind="init",l?s.value=this.parseMaybeDefault(Ce,rt,this.copyNode(s.key)):this.type===f.eq&&ht?(ht.shorthandAssign<0&&(ht.shorthandAssign=this.start),s.value=this.parseMaybeDefault(Ce,rt,this.copyNode(s.key))):s.value=this.copyNode(s.key),s.shorthand=!0):this.unexpected()},Er.parsePropertyName=function(s){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return s.computed=!0,s.key=this.parseMaybeAssign(),this.expect(f.bracketR),s.key;s.computed=!1}return s.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Er.initFunction=function(s){s.id=null,this.options.ecmaVersion>=6&&(s.generator=s.expression=!1),this.options.ecmaVersion>=8&&(s.async=!1)},Er.parseMethod=function(s,l,V){var Z=this.startNode(),Ce=this.yieldPos,rt=this.awaitPos,ht=this.awaitIdentPos;return this.initFunction(Z),this.options.ecmaVersion>=6&&(Z.generator=s),this.options.ecmaVersion>=8&&(Z.async=!!l),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Un(l,Z.generator)|Hn|(V?ei:0)),this.expect(f.parenL),Z.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Z,!1,!0,!1),this.yieldPos=Ce,this.awaitPos=rt,this.awaitIdentPos=ht,this.finishNode(Z,"FunctionExpression")},Er.parseArrowExpression=function(s,l,V,Z){var Ce=this.yieldPos,rt=this.awaitPos,ht=this.awaitIdentPos;return this.enterScope(Un(V,!1)|Dn),this.initFunction(s),this.options.ecmaVersion>=8&&(s.async=!!V),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,s.params=this.toAssignableList(l,!0),this.parseFunctionBody(s,!0,!1,Z),this.yieldPos=Ce,this.awaitPos=rt,this.awaitIdentPos=ht,this.finishNode(s,"ArrowFunctionExpression")},Er.parseFunctionBody=function(s,l,V,Z){var Ce=l&&this.type!==f.braceL,rt=this.strict,ht=!1;if(Ce)s.body=this.parseMaybeAssign(Z),s.expression=!0,this.checkParams(s,!1);else{var Bt=this.options.ecmaVersion>=7&&!this.isSimpleParamList(s.params);(!rt||Bt)&&(ht=this.strictDirective(this.end),ht&&Bt&&this.raiseRecoverable(s.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var dt=this.labels;this.labels=[],ht&&(this.strict=!0),this.checkParams(s,!rt&&!ht&&!l&&!V&&this.isSimpleParamList(s.params)),this.strict&&s.id&&this.checkLValSimple(s.id,On),s.body=this.parseBlock(!1,void 0,ht&&!rt),s.expression=!1,this.adaptDirectivePrologue(s.body.body),this.labels=dt}this.exitScope()},Er.isSimpleParamList=function(s){for(var l=0,V=s;l<V.length;l+=1){var Z=V[l];if(Z.type!=="Identifier")return!1}return!0},Er.checkParams=function(s,l){for(var V=Object.create(null),Z=0,Ce=s.params;Z<Ce.length;Z+=1){var rt=Ce[Z];this.checkLValInnerPattern(rt,Wn,l?null:V)}},Er.parseExprList=function(s,l,V,Z){for(var Ce=[],rt=!0;!this.eat(s);){if(rt)rt=!1;else if(this.expect(f.comma),l&&this.afterTrailingComma(s))break;var ht=void 0;V&&this.type===f.comma?ht=null:this.type===f.ellipsis?(ht=this.parseSpread(Z),Z&&this.type===f.comma&&Z.trailingComma<0&&(Z.trailingComma=this.start)):ht=this.parseMaybeAssign(!1,Z),Ce.push(ht)}return Ce},Er.checkUnreserved=function(s){var l=s.start,V=s.end,Z=s.name;if(this.inGenerator&&Z==="yield"&&this.raiseRecoverable(l,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Z==="await"&&this.raiseRecoverable(l,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&Z==="arguments"&&this.raiseRecoverable(l,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(Z==="arguments"||Z==="await")&&this.raise(l,"Cannot use "+Z+" in class static initialization block"),this.keywords.test(Z)&&this.raise(l,"Unexpected keyword '"+Z+"'"),!(this.options.ecmaVersion<6&&this.input.slice(l,V).indexOf("\\")!==-1)){var Ce=this.strict?this.reservedWordsStrict:this.reservedWords;Ce.test(Z)&&(!this.inAsync&&Z==="await"&&this.raiseRecoverable(l,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(l,"The keyword '"+Z+"' is reserved"))}},Er.parseIdent=function(s,l){var V=this.startNode();return this.type===f.name?V.name=this.value:this.type.keyword?(V.name=this.type.keyword,(V.name==="class"||V.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!s),this.finishNode(V,"Identifier"),s||(this.checkUnreserved(V),V.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=V.start)),V},Er.parsePrivateIdent=function(){var s=this.startNode();return this.type===f.privateId?s.name=this.value:this.unexpected(),this.next(),this.finishNode(s,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(s),s},Er.parseYield=function(s){this.yieldPos||(this.yieldPos=this.start);var l=this.startNode();return this.next(),this.type===f.semi||this.canInsertSemicolon()||this.type!==f.star&&!this.type.startsExpr?(l.delegate=!1,l.argument=null):(l.delegate=this.eat(f.star),l.argument=this.parseMaybeAssign(s)),this.finishNode(l,"YieldExpression")},Er.parseAwait=function(s){this.awaitPos||(this.awaitPos=this.start);var l=this.startNode();return this.next(),l.argument=this.parseMaybeUnary(null,!0,!1,s),this.finishNode(l,"AwaitExpression")};var _s=tr.prototype;_s.raise=function(s,l){var V=pn(this.input,s);l+=" ("+V.line+":"+V.column+")";var Z=new SyntaxError(l);throw Z.pos=s,Z.loc=V,Z.raisedAt=this.pos,Z},_s.raiseRecoverable=_s.raise,_s.curPosition=function(){if(this.options.locations)return new Oe(this.curLine,this.pos-this.lineStart)};var Ai=tr.prototype,Qu=function(l){this.flags=l,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Ai.enterScope=function(s){this.scopeStack.push(new Qu(s))},Ai.exitScope=function(){this.scopeStack.pop()},Ai.treatFunctionsAsVarInScope=function(s){return s.flags&$r||!this.inModule&&s.flags&Jr},Ai.declareName=function(s,l,V){var Z=!1;if(l===mn){var Ce=this.currentScope();Z=Ce.lexical.indexOf(s)>-1||Ce.functions.indexOf(s)>-1||Ce.var.indexOf(s)>-1,Ce.lexical.push(s),this.inModule&&Ce.flags&Jr&&delete this.undefinedExports[s]}else if(l===si){var rt=this.currentScope();rt.lexical.push(s)}else if(l===zn){var ht=this.currentScope();this.treatFunctionsAsVar?Z=ht.lexical.indexOf(s)>-1:Z=ht.lexical.indexOf(s)>-1||ht.var.indexOf(s)>-1,ht.functions.push(s)}else for(var Bt=this.scopeStack.length-1;Bt>=0;--Bt){var dt=this.scopeStack[Bt];if(dt.lexical.indexOf(s)>-1&&!(dt.flags&Zn&&dt.lexical[0]===s)||!this.treatFunctionsAsVarInScope(dt)&&dt.functions.indexOf(s)>-1){Z=!0;break}if(dt.var.push(s),this.inModule&&dt.flags&Jr&&delete this.undefinedExports[s],dt.flags&Zr)break}Z&&this.raiseRecoverable(V,"Identifier '"+s+"' has already been declared")},Ai.checkLocalExport=function(s){this.scopeStack[0].lexical.indexOf(s.name)===-1&&this.scopeStack[0].var.indexOf(s.name)===-1&&(this.undefinedExports[s.name]=s)},Ai.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ai.currentVarScope=function(){for(var s=this.scopeStack.length-1;;s--){var l=this.scopeStack[s];if(l.flags&Zr)return l}},Ai.currentThisScope=function(){for(var s=this.scopeStack.length-1;;s--){var l=this.scopeStack[s];if(l.flags&Zr&&!(l.flags&Dn))return l}};var ps=function(l,V,Z){this.type="",this.start=V,this.end=0,l.options.locations&&(this.loc=new Ne(l,Z)),l.options.directSourceFile&&(this.sourceFile=l.options.directSourceFile),l.options.ranges&&(this.range=[V,0])},Ft=tr.prototype;Ft.startNode=function(){return new ps(this,this.start,this.startLoc)},Ft.startNodeAt=function(s,l){return new ps(this,s,l)};function Ge(s,l,V,Z){return s.type=l,s.end=V,this.options.locations&&(s.loc.end=Z),this.options.ranges&&(s.range[1]=V),s}Ft.finishNode=function(s,l){return Ge.call(this,s,l,this.lastTokEnd,this.lastTokEndLoc)},Ft.finishNodeAt=function(s,l,V,Z){return Ge.call(this,s,l,V,Z)},Ft.copyNode=function(s){var l=new ps(this,s.start,this.startLoc);for(var V in s)l[V]=s[V];return l};var He="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ye=He+" Extended_Pictographic",ot=Ye,at=ot+" EBase EComp EMod EPres ExtPict",Et=at,At={9:He,10:Ye,11:ot,12:at,13:Et},bt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",_t="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Lt=_t+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",$t=Lt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ut=$t+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Wt=Ut+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",rr={9:_t,10:Lt,11:$t,12:Ut,13:Wt},Kt={};function er(s){var l=Kt[s]={binary:qt(At[s]+" "+bt),nonBinary:{General_Category:qt(bt),Script:qt(rr[s])}};l.nonBinary.Script_Extensions=l.nonBinary.Script,l.nonBinary.gc=l.nonBinary.General_Category,l.nonBinary.sc=l.nonBinary.Script,l.nonBinary.scx=l.nonBinary.Script_Extensions}for(var Wr=0,Yr=[9,10,11,12,13];Wr<Yr.length;Wr+=1){var sn=Yr[Wr];er(sn)}var Ot=tr.prototype,we=function(l){this.parser=l,this.validFlags="gim"+(l.options.ecmaVersion>=6?"uy":"")+(l.options.ecmaVersion>=9?"s":"")+(l.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Kt[l.options.ecmaVersion>=13?13:l.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};we.prototype.reset=function(l,V,Z){var Ce=Z.indexOf("u")!==-1;this.start=l|0,this.source=V+"",this.flags=Z,this.switchU=Ce&&this.parser.options.ecmaVersion>=6,this.switchN=Ce&&this.parser.options.ecmaVersion>=9},we.prototype.raise=function(l){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+l)},we.prototype.at=function(l,V){V===void 0&&(V=!1);var Z=this.source,Ce=Z.length;if(l>=Ce)return-1;var rt=Z.charCodeAt(l);if(!(V||this.switchU)||rt<=55295||rt>=57344||l+1>=Ce)return rt;var ht=Z.charCodeAt(l+1);return ht>=56320&&ht<=57343?(rt<<10)+ht-56613888:rt},we.prototype.nextIndex=function(l,V){V===void 0&&(V=!1);var Z=this.source,Ce=Z.length;if(l>=Ce)return Ce;var rt=Z.charCodeAt(l),ht;return!(V||this.switchU)||rt<=55295||rt>=57344||l+1>=Ce||(ht=Z.charCodeAt(l+1))<56320||ht>57343?l+1:l+2},we.prototype.current=function(l){return l===void 0&&(l=!1),this.at(this.pos,l)},we.prototype.lookahead=function(l){return l===void 0&&(l=!1),this.at(this.nextIndex(this.pos,l),l)},we.prototype.advance=function(l){l===void 0&&(l=!1),this.pos=this.nextIndex(this.pos,l)},we.prototype.eat=function(l,V){return V===void 0&&(V=!1),this.current(V)===l?(this.advance(V),!0):!1},Ot.validateRegExpFlags=function(s){for(var l=s.validFlags,V=s.flags,Z=0;Z<V.length;Z++){var Ce=V.charAt(Z);l.indexOf(Ce)===-1&&this.raise(s.start,"Invalid regular expression flag"),V.indexOf(Ce,Z+1)>-1&&this.raise(s.start,"Duplicate regular expression flag")}},Ot.validateRegExpPattern=function(s){this.regexp_pattern(s),!s.switchN&&this.options.ecmaVersion>=9&&s.groupNames.length>0&&(s.switchN=!0,this.regexp_pattern(s))},Ot.regexp_pattern=function(s){s.pos=0,s.lastIntValue=0,s.lastStringValue="",s.lastAssertionIsQuantifiable=!1,s.numCapturingParens=0,s.maxBackReference=0,s.groupNames.length=0,s.backReferenceNames.length=0,this.regexp_disjunction(s),s.pos!==s.source.length&&(s.eat(41)&&s.raise("Unmatched ')'"),(s.eat(93)||s.eat(125))&&s.raise("Lone quantifier brackets")),s.maxBackReference>s.numCapturingParens&&s.raise("Invalid escape");for(var l=0,V=s.backReferenceNames;l<V.length;l+=1){var Z=V[l];s.groupNames.indexOf(Z)===-1&&s.raise("Invalid named capture referenced")}},Ot.regexp_disjunction=function(s){for(this.regexp_alternative(s);s.eat(124);)this.regexp_alternative(s);this.regexp_eatQuantifier(s,!0)&&s.raise("Nothing to repeat"),s.eat(123)&&s.raise("Lone quantifier brackets")},Ot.regexp_alternative=function(s){for(;s.pos<s.source.length&&this.regexp_eatTerm(s););},Ot.regexp_eatTerm=function(s){return this.regexp_eatAssertion(s)?(s.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(s)&&s.switchU&&s.raise("Invalid quantifier"),!0):(s.switchU?this.regexp_eatAtom(s):this.regexp_eatExtendedAtom(s))?(this.regexp_eatQuantifier(s),!0):!1},Ot.regexp_eatAssertion=function(s){var l=s.pos;if(s.lastAssertionIsQuantifiable=!1,s.eat(94)||s.eat(36))return!0;if(s.eat(92)){if(s.eat(66)||s.eat(98))return!0;s.pos=l}if(s.eat(40)&&s.eat(63)){var V=!1;if(this.options.ecmaVersion>=9&&(V=s.eat(60)),s.eat(61)||s.eat(33))return this.regexp_disjunction(s),s.eat(41)||s.raise("Unterminated group"),s.lastAssertionIsQuantifiable=!V,!0}return s.pos=l,!1},Ot.regexp_eatQuantifier=function(s,l){return l===void 0&&(l=!1),this.regexp_eatQuantifierPrefix(s,l)?(s.eat(63),!0):!1},Ot.regexp_eatQuantifierPrefix=function(s,l){return s.eat(42)||s.eat(43)||s.eat(63)||this.regexp_eatBracedQuantifier(s,l)},Ot.regexp_eatBracedQuantifier=function(s,l){var V=s.pos;if(s.eat(123)){var Z=0,Ce=-1;if(this.regexp_eatDecimalDigits(s)&&(Z=s.lastIntValue,s.eat(44)&&this.regexp_eatDecimalDigits(s)&&(Ce=s.lastIntValue),s.eat(125)))return Ce!==-1&&Ce<Z&&!l&&s.raise("numbers out of order in {} quantifier"),!0;s.switchU&&!l&&s.raise("Incomplete quantifier"),s.pos=V}return!1},Ot.regexp_eatAtom=function(s){return this.regexp_eatPatternCharacters(s)||s.eat(46)||this.regexp_eatReverseSolidusAtomEscape(s)||this.regexp_eatCharacterClass(s)||this.regexp_eatUncapturingGroup(s)||this.regexp_eatCapturingGroup(s)},Ot.regexp_eatReverseSolidusAtomEscape=function(s){var l=s.pos;if(s.eat(92)){if(this.regexp_eatAtomEscape(s))return!0;s.pos=l}return!1},Ot.regexp_eatUncapturingGroup=function(s){var l=s.pos;if(s.eat(40)){if(s.eat(63)&&s.eat(58)){if(this.regexp_disjunction(s),s.eat(41))return!0;s.raise("Unterminated group")}s.pos=l}return!1},Ot.regexp_eatCapturingGroup=function(s){if(s.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(s):s.current()===63&&s.raise("Invalid group"),this.regexp_disjunction(s),s.eat(41))return s.numCapturingParens+=1,!0;s.raise("Unterminated group")}return!1},Ot.regexp_eatExtendedAtom=function(s){return s.eat(46)||this.regexp_eatReverseSolidusAtomEscape(s)||this.regexp_eatCharacterClass(s)||this.regexp_eatUncapturingGroup(s)||this.regexp_eatCapturingGroup(s)||this.regexp_eatInvalidBracedQuantifier(s)||this.regexp_eatExtendedPatternCharacter(s)},Ot.regexp_eatInvalidBracedQuantifier=function(s){return this.regexp_eatBracedQuantifier(s,!0)&&s.raise("Nothing to repeat"),!1},Ot.regexp_eatSyntaxCharacter=function(s){var l=s.current();return Gn(l)?(s.lastIntValue=l,s.advance(),!0):!1};function Gn(s){return s===36||s>=40&&s<=43||s===46||s===63||s>=91&&s<=94||s>=123&&s<=125}Ot.regexp_eatPatternCharacters=function(s){for(var l=s.pos,V=0;(V=s.current())!==-1&&!Gn(V);)s.advance();return s.pos!==l},Ot.regexp_eatExtendedPatternCharacter=function(s){var l=s.current();return l!==-1&&l!==36&&!(l>=40&&l<=43)&&l!==46&&l!==63&&l!==91&&l!==94&&l!==124?(s.advance(),!0):!1},Ot.regexp_groupSpecifier=function(s){if(s.eat(63)){if(this.regexp_eatGroupName(s)){s.groupNames.indexOf(s.lastStringValue)!==-1&&s.raise("Duplicate capture group name"),s.groupNames.push(s.lastStringValue);return}s.raise("Invalid group")}},Ot.regexp_eatGroupName=function(s){if(s.lastStringValue="",s.eat(60)){if(this.regexp_eatRegExpIdentifierName(s)&&s.eat(62))return!0;s.raise("Invalid capture group name")}return!1},Ot.regexp_eatRegExpIdentifierName=function(s){if(s.lastStringValue="",this.regexp_eatRegExpIdentifierStart(s)){for(s.lastStringValue+=dr(s.lastIntValue);this.regexp_eatRegExpIdentifierPart(s);)s.lastStringValue+=dr(s.lastIntValue);return!0}return!1},Ot.regexp_eatRegExpIdentifierStart=function(s){var l=s.pos,V=this.options.ecmaVersion>=11,Z=s.current(V);return s.advance(V),Z===92&&this.regexp_eatRegExpUnicodeEscapeSequence(s,V)&&(Z=s.lastIntValue),jn(Z)?(s.lastIntValue=Z,!0):(s.pos=l,!1)};function jn(s){return le(s,!0)||s===36||s===95}Ot.regexp_eatRegExpIdentifierPart=function(s){var l=s.pos,V=this.options.ecmaVersion>=11,Z=s.current(V);return s.advance(V),Z===92&&this.regexp_eatRegExpUnicodeEscapeSequence(s,V)&&(Z=s.lastIntValue),Ir(Z)?(s.lastIntValue=Z,!0):(s.pos=l,!1)};function Ir(s){return Se(s,!0)||s===36||s===95||s===8204||s===8205}Ot.regexp_eatAtomEscape=function(s){return this.regexp_eatBackReference(s)||this.regexp_eatCharacterClassEscape(s)||this.regexp_eatCharacterEscape(s)||s.switchN&&this.regexp_eatKGroupName(s)?!0:(s.switchU&&(s.current()===99&&s.raise("Invalid unicode escape"),s.raise("Invalid escape")),!1)},Ot.regexp_eatBackReference=function(s){var l=s.pos;if(this.regexp_eatDecimalEscape(s)){var V=s.lastIntValue;if(s.switchU)return V>s.maxBackReference&&(s.maxBackReference=V),!0;if(V<=s.numCapturingParens)return!0;s.pos=l}return!1},Ot.regexp_eatKGroupName=function(s){if(s.eat(107)){if(this.regexp_eatGroupName(s))return s.backReferenceNames.push(s.lastStringValue),!0;s.raise("Invalid named reference")}return!1},Ot.regexp_eatCharacterEscape=function(s){return this.regexp_eatControlEscape(s)||this.regexp_eatCControlLetter(s)||this.regexp_eatZero(s)||this.regexp_eatHexEscapeSequence(s)||this.regexp_eatRegExpUnicodeEscapeSequence(s,!1)||!s.switchU&&this.regexp_eatLegacyOctalEscapeSequence(s)||this.regexp_eatIdentityEscape(s)},Ot.regexp_eatCControlLetter=function(s){var l=s.pos;if(s.eat(99)){if(this.regexp_eatControlLetter(s))return!0;s.pos=l}return!1},Ot.regexp_eatZero=function(s){return s.current()===48&&!bi(s.lookahead())?(s.lastIntValue=0,s.advance(),!0):!1},Ot.regexp_eatControlEscape=function(s){var l=s.current();return l===116?(s.lastIntValue=9,s.advance(),!0):l===110?(s.lastIntValue=10,s.advance(),!0):l===118?(s.lastIntValue=11,s.advance(),!0):l===102?(s.lastIntValue=12,s.advance(),!0):l===114?(s.lastIntValue=13,s.advance(),!0):!1},Ot.regexp_eatControlLetter=function(s){var l=s.current();return zr(l)?(s.lastIntValue=l%32,s.advance(),!0):!1};function zr(s){return s>=65&&s<=90||s>=97&&s<=122}Ot.regexp_eatRegExpUnicodeEscapeSequence=function(s,l){l===void 0&&(l=!1);var V=s.pos,Z=l||s.switchU;if(s.eat(117)){if(this.regexp_eatFixedHexDigits(s,4)){var Ce=s.lastIntValue;if(Z&&Ce>=55296&&Ce<=56319){var rt=s.pos;if(s.eat(92)&&s.eat(117)&&this.regexp_eatFixedHexDigits(s,4)){var ht=s.lastIntValue;if(ht>=56320&&ht<=57343)return s.lastIntValue=(Ce-55296)*1024+(ht-56320)+65536,!0}s.pos=rt,s.lastIntValue=Ce}return!0}if(Z&&s.eat(123)&&this.regexp_eatHexDigits(s)&&s.eat(125)&&ai(s.lastIntValue))return!0;Z&&s.raise("Invalid unicode escape"),s.pos=V}return!1};function ai(s){return s>=0&&s<=1114111}Ot.regexp_eatIdentityEscape=function(s){if(s.switchU)return this.regexp_eatSyntaxCharacter(s)?!0:s.eat(47)?(s.lastIntValue=47,!0):!1;var l=s.current();return l!==99&&(!s.switchN||l!==107)?(s.lastIntValue=l,s.advance(),!0):!1},Ot.regexp_eatDecimalEscape=function(s){s.lastIntValue=0;var l=s.current();if(l>=49&&l<=57){do s.lastIntValue=10*s.lastIntValue+(l-48),s.advance();while((l=s.current())>=48&&l<=57);return!0}return!1},Ot.regexp_eatCharacterClassEscape=function(s){var l=s.current();if(hs(l))return s.lastIntValue=-1,s.advance(),!0;if(s.switchU&&this.options.ecmaVersion>=9&&(l===80||l===112)){if(s.lastIntValue=-1,s.advance(),s.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(s)&&s.eat(125))return!0;s.raise("Invalid property name")}return!1};function hs(s){return s===100||s===68||s===115||s===83||s===119||s===87}Ot.regexp_eatUnicodePropertyValueExpression=function(s){var l=s.pos;if(this.regexp_eatUnicodePropertyName(s)&&s.eat(61)){var V=s.lastStringValue;if(this.regexp_eatUnicodePropertyValue(s)){var Z=s.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(s,V,Z),!0}}if(s.pos=l,this.regexp_eatLoneUnicodePropertyNameOrValue(s)){var Ce=s.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(s,Ce),!0}return!1},Ot.regexp_validateUnicodePropertyNameAndValue=function(s,l,V){Qt(s.unicodeProperties.nonBinary,l)||s.raise("Invalid property name"),s.unicodeProperties.nonBinary[l].test(V)||s.raise("Invalid property value")},Ot.regexp_validateUnicodePropertyNameOrValue=function(s,l){s.unicodeProperties.binary.test(l)||s.raise("Invalid property name")},Ot.regexp_eatUnicodePropertyName=function(s){var l=0;for(s.lastStringValue="";bn(l=s.current());)s.lastStringValue+=dr(l),s.advance();return s.lastStringValue!==""};function bn(s){return zr(s)||s===95}Ot.regexp_eatUnicodePropertyValue=function(s){var l=0;for(s.lastStringValue="";Pe(l=s.current());)s.lastStringValue+=dr(l),s.advance();return s.lastStringValue!==""};function Pe(s){return bn(s)||bi(s)}Ot.regexp_eatLoneUnicodePropertyNameOrValue=function(s){return this.regexp_eatUnicodePropertyValue(s)},Ot.regexp_eatCharacterClass=function(s){if(s.eat(91)){if(s.eat(94),this.regexp_classRanges(s),s.eat(93))return!0;s.raise("Unterminated character class")}return!1},Ot.regexp_classRanges=function(s){for(;this.regexp_eatClassAtom(s);){var l=s.lastIntValue;if(s.eat(45)&&this.regexp_eatClassAtom(s)){var V=s.lastIntValue;s.switchU&&(l===-1||V===-1)&&s.raise("Invalid character class"),l!==-1&&V!==-1&&l>V&&s.raise("Range out of order in character class")}}},Ot.regexp_eatClassAtom=function(s){var l=s.pos;if(s.eat(92)){if(this.regexp_eatClassEscape(s))return!0;if(s.switchU){var V=s.current();(V===99||kn(V))&&s.raise("Invalid class escape"),s.raise("Invalid escape")}s.pos=l}var Z=s.current();return Z!==93?(s.lastIntValue=Z,s.advance(),!0):!1},Ot.regexp_eatClassEscape=function(s){var l=s.pos;if(s.eat(98))return s.lastIntValue=8,!0;if(s.switchU&&s.eat(45))return s.lastIntValue=45,!0;if(!s.switchU&&s.eat(99)){if(this.regexp_eatClassControlLetter(s))return!0;s.pos=l}return this.regexp_eatCharacterClassEscape(s)||this.regexp_eatCharacterEscape(s)},Ot.regexp_eatClassControlLetter=function(s){var l=s.current();return bi(l)||l===95?(s.lastIntValue=l%32,s.advance(),!0):!1},Ot.regexp_eatHexEscapeSequence=function(s){var l=s.pos;if(s.eat(120)){if(this.regexp_eatFixedHexDigits(s,2))return!0;s.switchU&&s.raise("Invalid escape"),s.pos=l}return!1},Ot.regexp_eatDecimalDigits=function(s){var l=s.pos,V=0;for(s.lastIntValue=0;bi(V=s.current());)s.lastIntValue=10*s.lastIntValue+(V-48),s.advance();return s.pos!==l};function bi(s){return s>=48&&s<=57}Ot.regexp_eatHexDigits=function(s){var l=s.pos,V=0;for(s.lastIntValue=0;fs(V=s.current());)s.lastIntValue=16*s.lastIntValue+ds(V),s.advance();return s.pos!==l};function fs(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102}function ds(s){return s>=65&&s<=70?10+(s-65):s>=97&&s<=102?10+(s-97):s-48}Ot.regexp_eatLegacyOctalEscapeSequence=function(s){if(this.regexp_eatOctalDigit(s)){var l=s.lastIntValue;if(this.regexp_eatOctalDigit(s)){var V=s.lastIntValue;l<=3&&this.regexp_eatOctalDigit(s)?s.lastIntValue=l*64+V*8+s.lastIntValue:s.lastIntValue=l*8+V}else s.lastIntValue=l;return!0}return!1},Ot.regexp_eatOctalDigit=function(s){var l=s.current();return kn(l)?(s.lastIntValue=l-48,s.advance(),!0):(s.lastIntValue=0,!1)};function kn(s){return s>=48&&s<=55}Ot.regexp_eatFixedHexDigits=function(s,l){var V=s.pos;s.lastIntValue=0;for(var Z=0;Z<l;++Z){var Ce=s.current();if(!fs(Ce))return s.pos=V,!1;s.lastIntValue=16*s.lastIntValue+ds(Ce),s.advance()}return!0};var Wi=function(l){this.type=l.type,this.value=l.value,this.start=l.start,this.end=l.end,l.options.locations&&(this.loc=new Ne(l,l.startLoc,l.endLoc)),l.options.ranges&&(this.range=[l.start,l.end])},ur=tr.prototype;ur.next=function(s){!s&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Wi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ur.getToken=function(){return this.next(),new Wi(this)},typeof Symbol<"u"&&(ur[Symbol.iterator]=function(){var s=this;return{next:function(){var l=s.getToken();return{done:l.type===f.eof,value:l}}}}),ur.nextToken=function(){var s=this.curContext();if((!s||!s.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(f.eof);if(s.override)return s.override(this);this.readToken(this.fullCharCodeAtPos())},ur.readToken=function(s){return le(s,this.options.ecmaVersion>=6)||s===92?this.readWord():this.getTokenFromCode(s)},ur.fullCharCodeAtPos=function(){var s=this.input.charCodeAt(this.pos);if(s<=55295||s>=56320)return s;var l=this.input.charCodeAt(this.pos+1);return l<=56319||l>=57344?s:(s<<10)+l-56613888},ur.skipBlockComment=function(){var s=this.options.onComment&&this.curPosition(),l=this.pos,V=this.input.indexOf("*/",this.pos+=2);if(V===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=V+2,this.options.locations)for(var Z=void 0,Ce=l;(Z=pt(this.input,Ce,this.pos))>-1;)++this.curLine,Ce=this.lineStart=Z;this.options.onComment&&this.options.onComment(!0,this.input.slice(l+2,V),l,this.pos,s,this.curPosition())},ur.skipLineComment=function(s){for(var l=this.pos,V=this.options.onComment&&this.curPosition(),Z=this.input.charCodeAt(this.pos+=s);this.pos<this.input.length&&!be(Z);)Z=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(l+s,this.pos),l,this.pos,V,this.curPosition())},ur.skipSpace=function(){e:for(;this.pos<this.input.length;){var s=this.input.charCodeAt(this.pos);switch(s){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(s>8&&s<14||s>=5760&&Ie.test(String.fromCharCode(s)))++this.pos;else break e}}},ur.finishToken=function(s,l){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var V=this.type;this.type=s,this.value=l,this.updateContext(V)},ur.readToken_dot=function(){var s=this.input.charCodeAt(this.pos+1);if(s>=48&&s<=57)return this.readNumber(!0);var l=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&s===46&&l===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},ur.readToken_slash=function(){var s=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):s===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},ur.readToken_mult_modulo_exp=function(s){var l=this.input.charCodeAt(this.pos+1),V=1,Z=s===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&s===42&&l===42&&(++V,Z=f.starstar,l=this.input.charCodeAt(this.pos+2)),l===61?this.finishOp(f.assign,V+1):this.finishOp(Z,V)},ur.readToken_pipe_amp=function(s){var l=this.input.charCodeAt(this.pos+1);if(l===s){if(this.options.ecmaVersion>=12){var V=this.input.charCodeAt(this.pos+2);if(V===61)return this.finishOp(f.assign,3)}return this.finishOp(s===124?f.logicalOR:f.logicalAND,2)}return l===61?this.finishOp(f.assign,2):this.finishOp(s===124?f.bitwiseOR:f.bitwiseAND,1)},ur.readToken_caret=function(){var s=this.input.charCodeAt(this.pos+1);return s===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},ur.readToken_plus_min=function(s){var l=this.input.charCodeAt(this.pos+1);return l===s?l===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Y.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):l===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},ur.readToken_lt_gt=function(s){var l=this.input.charCodeAt(this.pos+1),V=1;return l===s?(V=s===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+V)===61?this.finishOp(f.assign,V+1):this.finishOp(f.bitShift,V)):l===33&&s===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(l===61&&(V=2),this.finishOp(f.relational,V))},ur.readToken_eq_excl=function(s){var l=this.input.charCodeAt(this.pos+1);return l===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):s===61&&l===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(s===61?f.eq:f.prefix,1)},ur.readToken_question=function(){var s=this.options.ecmaVersion;if(s>=11){var l=this.input.charCodeAt(this.pos+1);if(l===46){var V=this.input.charCodeAt(this.pos+2);if(V<48||V>57)return this.finishOp(f.questionDot,2)}if(l===63){if(s>=12){var Z=this.input.charCodeAt(this.pos+2);if(Z===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},ur.readToken_numberSign=function(){var s=this.options.ecmaVersion,l=35;if(s>=13&&(++this.pos,l=this.fullCharCodeAtPos(),le(l,!0)||l===92))return this.finishToken(f.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+dr(l)+"'")},ur.getTokenFromCode=function(s){switch(s){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var l=this.input.charCodeAt(this.pos+1);if(l===120||l===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(l===111||l===79)return this.readRadixNumber(8);if(l===98||l===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(s);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(s);case 124:case 38:return this.readToken_pipe_amp(s);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(s);case 60:case 62:return this.readToken_lt_gt(s);case 61:case 33:return this.readToken_eq_excl(s);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+dr(s)+"'")},ur.finishOp=function(s,l){var V=this.input.slice(this.pos,this.pos+l);return this.pos+=l,this.finishToken(s,V)},ur.readRegexp=function(){for(var s,l,V=this.pos;;){this.pos>=this.input.length&&this.raise(V,"Unterminated regular expression");var Z=this.input.charAt(this.pos);if(Y.test(Z)&&this.raise(V,"Unterminated regular expression"),s)s=!1;else{if(Z==="[")l=!0;else if(Z==="]"&&l)l=!1;else if(Z==="/"&&!l)break;s=Z==="\\"}++this.pos}var Ce=this.input.slice(V,this.pos);++this.pos;var rt=this.pos,ht=this.readWord1();this.containsEsc&&this.unexpected(rt);var Bt=this.regexpState||(this.regexpState=new we(this));Bt.reset(V,Ce,ht),this.validateRegExpFlags(Bt),this.validateRegExpPattern(Bt);var dt=null;try{dt=new RegExp(Ce,ht)}catch{}return this.finishToken(f.regexp,{pattern:Ce,flags:ht,value:dt})},ur.readInt=function(s,l,V){for(var Z=this.options.ecmaVersion>=12&&l===void 0,Ce=V&&this.input.charCodeAt(this.pos)===48,rt=this.pos,ht=0,Bt=0,dt=0,gr=l??1/0;dt<gr;++dt,++this.pos){var wr=this.input.charCodeAt(this.pos),Nn=void 0;if(Z&&wr===95){Ce&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Bt===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),dt===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Bt=wr;continue}if(wr>=97?Nn=wr-97+10:wr>=65?Nn=wr-65+10:wr>=48&&wr<=57?Nn=wr-48:Nn=1/0,Nn>=s)break;Bt=wr,ht=ht*s+Nn}return Z&&Bt===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===rt||l!=null&&this.pos-rt!==l?null:ht};function Ku(s,l){return l?parseInt(s,8):parseFloat(s.replace(/_/g,""))}function Ma(s){return typeof BigInt!="function"?null:BigInt(s.replace(/_/g,""))}ur.readRadixNumber=function(s){var l=this.pos;this.pos+=2;var V=this.readInt(s);return V==null&&this.raise(this.start+2,"Expected number in radix "+s),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(V=Ma(this.input.slice(l,this.pos)),++this.pos):le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,V)},ur.readNumber=function(s){var l=this.pos;!s&&this.readInt(10,void 0,!0)===null&&this.raise(l,"Invalid number");var V=this.pos-l>=2&&this.input.charCodeAt(l)===48;V&&this.strict&&this.raise(l,"Invalid number");var Z=this.input.charCodeAt(this.pos);if(!V&&!s&&this.options.ecmaVersion>=11&&Z===110){var Ce=Ma(this.input.slice(l,this.pos));return++this.pos,le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,Ce)}V&&/[89]/.test(this.input.slice(l,this.pos))&&(V=!1),Z===46&&!V&&(++this.pos,this.readInt(10),Z=this.input.charCodeAt(this.pos)),(Z===69||Z===101)&&!V&&(Z=this.input.charCodeAt(++this.pos),(Z===43||Z===45)&&++this.pos,this.readInt(10)===null&&this.raise(l,"Invalid number")),le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var rt=Ku(this.input.slice(l,this.pos),V);return this.finishToken(f.num,rt)},ur.readCodePoint=function(){var s=this.input.charCodeAt(this.pos),l;if(s===123){this.options.ecmaVersion<6&&this.unexpected();var V=++this.pos;l=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,l>1114111&&this.invalidStringToken(V,"Code point out of bounds")}else l=this.readHexChar(4);return l},ur.readString=function(s){for(var l="",V=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Z=this.input.charCodeAt(this.pos);if(Z===s)break;Z===92?(l+=this.input.slice(V,this.pos),l+=this.readEscapedChar(!1),V=this.pos):Z===8232||Z===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(be(Z)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return l+=this.input.slice(V,this.pos++),this.finishToken(f.string,l)};var Ra={};ur.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(s){if(s===Ra)this.readInvalidTemplateToken();else throw s}this.inTemplateElement=!1},ur.invalidStringToken=function(s,l){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ra;this.raise(s,l)},ur.readTmplToken=function(){for(var s="",l=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var V=this.input.charCodeAt(this.pos);if(V===96||V===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?V===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(s+=this.input.slice(l,this.pos),this.finishToken(f.template,s));if(V===92)s+=this.input.slice(l,this.pos),s+=this.readEscapedChar(!0),l=this.pos;else if(be(V)){switch(s+=this.input.slice(l,this.pos),++this.pos,V){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:s+=`
5
- `;break;default:s+=String.fromCharCode(V);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),l=this.pos}else++this.pos}},ur.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(f.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},ur.readEscapedChar=function(s){var l=this.input.charCodeAt(++this.pos);switch(++this.pos,l){case 110:return`
6
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return dr(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),s){var V=this.pos-1;return this.invalidStringToken(V,"Invalid escape sequence in template string"),null}default:if(l>=48&&l<=55){var Z=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],Ce=parseInt(Z,8);return Ce>255&&(Z=Z.slice(0,-1),Ce=parseInt(Z,8)),this.pos+=Z.length-1,l=this.input.charCodeAt(this.pos),(Z!=="0"||l===56||l===57)&&(this.strict||s)&&this.invalidStringToken(this.pos-1-Z.length,s?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(Ce)}return be(l)?"":String.fromCharCode(l)}},ur.readHexChar=function(s){var l=this.pos,V=this.readInt(16,s);return V===null&&this.invalidStringToken(l,"Bad character escape sequence"),V},ur.readWord1=function(){this.containsEsc=!1;for(var s="",l=!0,V=this.pos,Z=this.options.ecmaVersion>=6;this.pos<this.input.length;){var Ce=this.fullCharCodeAtPos();if(Se(Ce,Z))this.pos+=Ce<=65535?1:2;else if(Ce===92){this.containsEsc=!0,s+=this.input.slice(V,this.pos);var rt=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var ht=this.readCodePoint();(l?le:Se)(ht,Z)||this.invalidStringToken(rt,"Invalid Unicode escape"),s+=dr(ht),V=this.pos}else break;l=!1}return s+this.input.slice(V,this.pos)},ur.readWord=function(){var s=this.readWord1(),l=f.name;return this.keywords.test(s)&&(l=gt[s]),this.finishToken(l,s)};var Ja="8.8.0";tr.acorn={Parser:tr,version:Ja,defaultOptions:dn,Position:Oe,SourceLocation:Ne,getLineInfo:pn,Node:ps,TokenType:_e,tokTypes:f,keywordTypes:gt,TokContext:un,tokContexts:tn,isIdentifierChar:Se,isIdentifierStart:le,Token:Wi,isNewLine:be,lineBreak:Y,lineBreakG:me,nonASCIIwhitespace:Ie};function Yu(s,l){return tr.parse(s,l)}function Zu(s,l,V){return tr.parseExpressionAt(s,l,V)}function eo(s,l){return tr.tokenizer(s,l)}r.Node=ps,r.Parser=tr,r.Position=Oe,r.SourceLocation=Ne,r.TokContext=un,r.Token=Wi,r.TokenType=_e,r.defaultOptions=dn,r.getLineInfo=pn,r.isIdentifierChar=Se,r.isIdentifierStart=le,r.isNewLine=be,r.keywordTypes=gt,r.lineBreak=Y,r.lineBreakG=me,r.nonASCIIwhitespace=Ie,r.parse=Yu,r.parseExpressionAt=Zu,r.tokContexts=tn,r.tokTypes=f,r.tokenizer=eo,r.version=Ja,Object.defineProperty(r,"__esModule",{value:!0})})}}),S1=Zs({"../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.8.0/node_modules/acorn-jsx/index.js"(e,t){var r=F1(),n=/^[\da-fA-F]+$/,i=/^\d+$/,a=new WeakMap;function u(E){E=E.Parser.acorn||E;let w=a.get(E);if(!w){const M=E.tokTypes,re=E.TokContext,ue=E.TokenType,le=new re("<tag",!1),Se=new re("</tag",!1),_e=new re("<tag>...</tag>",!0,!0),ye={tc_oTag:le,tc_cTag:Se,tc_expr:_e},tt={jsxName:new ue("jsxName"),jsxText:new ue("jsxText",{beforeExpr:!0}),jsxTagStart:new ue("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new ue("jsxTagEnd")};tt.jsxTagStart.updateContext=function(){this.context.push(_e),this.context.push(le),this.exprAllowed=!1},tt.jsxTagEnd.updateContext=function(Ve){let gt=this.context.pop();gt===le&&Ve===M.slash||gt===Se?(this.context.pop(),this.exprAllowed=this.curContext()===_e):this.exprAllowed=!0},w={tokContexts:ye,tokTypes:tt},a.set(E,w)}return w}function o(E){if(!E)return E;if(E.type==="JSXIdentifier")return E.name;if(E.type==="JSXNamespacedName")return E.namespace.name+":"+E.name.name;if(E.type==="JSXMemberExpression")return o(E.object)+"."+o(E.property)}t.exports=function(E){return E=E||{},function(w){return d({allowNamespaces:E.allowNamespaces!==!1,allowNamespacedObjects:!!E.allowNamespacedObjects},w)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return u(tp()).tokTypes},configurable:!0,enumerable:!0});function d(E,w){const M=w.acorn||tp(),re=u(M),ue=M.tokTypes,le=re.tokTypes,Se=M.tokContexts,_e=re.tokContexts.tc_oTag,ye=re.tokContexts.tc_cTag,tt=re.tokContexts.tc_expr,Ve=M.isNewLine,gt=M.isIdentifierStart,Me=M.isIdentifierChar;return class extends w{static get acornJsx(){return re}jsx_readToken(){let f="",Y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let me=this.input.charCodeAt(this.pos);switch(me){case 60:case 123:return this.pos===this.start?me===60&&this.exprAllowed?(++this.pos,this.finishToken(le.jsxTagStart)):this.getTokenFromCode(me):(f+=this.input.slice(Y,this.pos),this.finishToken(le.jsxText,f));case 38:f+=this.input.slice(Y,this.pos),f+=this.jsx_readEntity(),Y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(me===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:Ve(me)?(f+=this.input.slice(Y,this.pos),f+=this.jsx_readNewLine(!0),Y=this.pos):++this.pos}}}jsx_readNewLine(f){let Y=this.input.charCodeAt(this.pos),me;return++this.pos,Y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,me=f?`
7
- `:`\r
8
- `):me=String.fromCharCode(Y),this.options.locations&&(++this.curLine,this.lineStart=this.pos),me}jsx_readString(f){let Y="",me=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let be=this.input.charCodeAt(this.pos);if(be===f)break;be===38?(Y+=this.input.slice(me,this.pos),Y+=this.jsx_readEntity(),me=this.pos):Ve(be)?(Y+=this.input.slice(me,this.pos),Y+=this.jsx_readNewLine(!1),me=this.pos):++this.pos}return Y+=this.input.slice(me,this.pos++),this.finishToken(ue.string,Y)}jsx_readEntity(){let f="",Y=0,me,be=this.input[this.pos];be!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let pt=++this.pos;for(;this.pos<this.input.length&&Y++<10;){if(be=this.input[this.pos++],be===";"){f[0]==="#"?f[1]==="x"?(f=f.substr(2),n.test(f)&&(me=String.fromCharCode(parseInt(f,16)))):(f=f.substr(1),i.test(f)&&(me=String.fromCharCode(parseInt(f,10)))):me=r[f];break}f+=be}return me||(this.pos=pt,"&")}jsx_readWord(){let f,Y=this.pos;do f=this.input.charCodeAt(++this.pos);while(Me(f)||f===45);return this.finishToken(le.jsxName,this.input.slice(Y,this.pos))}jsx_parseIdentifier(){let f=this.startNode();return this.type===le.jsxName?f.name=this.value:this.type.keyword?f.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(f,"JSXIdentifier")}jsx_parseNamespacedName(){let f=this.start,Y=this.startLoc,me=this.jsx_parseIdentifier();if(!E.allowNamespaces||!this.eat(ue.colon))return me;var be=this.startNodeAt(f,Y);return be.namespace=me,be.name=this.jsx_parseIdentifier(),this.finishNode(be,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===le.jsxTagEnd)return"";let f=this.start,Y=this.startLoc,me=this.jsx_parseNamespacedName();for(this.type===ue.dot&&me.type==="JSXNamespacedName"&&!E.allowNamespacedObjects&&this.unexpected();this.eat(ue.dot);){let be=this.startNodeAt(f,Y);be.object=me,be.property=this.jsx_parseIdentifier(),me=this.finishNode(be,"JSXMemberExpression")}return me}jsx_parseAttributeValue(){switch(this.type){case ue.braceL:let f=this.jsx_parseExpressionContainer();return f.expression.type==="JSXEmptyExpression"&&this.raise(f.start,"JSX attributes must only be assigned a non-empty expression"),f;case le.jsxTagStart:case ue.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let f=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(f,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let f=this.startNode();return this.next(),f.expression=this.type===ue.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(ue.braceR),this.finishNode(f,"JSXExpressionContainer")}jsx_parseAttribute(){let f=this.startNode();return this.eat(ue.braceL)?(this.expect(ue.ellipsis),f.argument=this.parseMaybeAssign(),this.expect(ue.braceR),this.finishNode(f,"JSXSpreadAttribute")):(f.name=this.jsx_parseNamespacedName(),f.value=this.eat(ue.eq)?this.jsx_parseAttributeValue():null,this.finishNode(f,"JSXAttribute"))}jsx_parseOpeningElementAt(f,Y){let me=this.startNodeAt(f,Y);me.attributes=[];let be=this.jsx_parseElementName();for(be&&(me.name=be);this.type!==ue.slash&&this.type!==le.jsxTagEnd;)me.attributes.push(this.jsx_parseAttribute());return me.selfClosing=this.eat(ue.slash),this.expect(le.jsxTagEnd),this.finishNode(me,be?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(f,Y){let me=this.startNodeAt(f,Y),be=this.jsx_parseElementName();return be&&(me.name=be),this.expect(le.jsxTagEnd),this.finishNode(me,be?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(f,Y){let me=this.startNodeAt(f,Y),be=[],pt=this.jsx_parseOpeningElementAt(f,Y),Ie=null;if(!pt.selfClosing){e:for(;;)switch(this.type){case le.jsxTagStart:if(f=this.start,Y=this.startLoc,this.next(),this.eat(ue.slash)){Ie=this.jsx_parseClosingElementAt(f,Y);break e}be.push(this.jsx_parseElementAt(f,Y));break;case le.jsxText:be.push(this.parseExprAtom());break;case ue.braceL:be.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}o(Ie.name)!==o(pt.name)&&this.raise(Ie.start,"Expected corresponding JSX closing tag for <"+o(pt.name)+">")}let qe=pt.name?"Element":"Fragment";return me["opening"+qe]=pt,me["closing"+qe]=Ie,me.children=be,this.type===ue.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(me,"JSX"+qe)}jsx_parseText(){let f=this.parseLiteral(this.value);return f.type="JSXText",f}jsx_parseElement(){let f=this.start,Y=this.startLoc;return this.next(),this.jsx_parseElementAt(f,Y)}parseExprAtom(f){return this.type===le.jsxText?this.jsx_parseText():this.type===le.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(f)}readToken(f){let Y=this.curContext();if(Y===tt)return this.jsx_readToken();if(Y===_e||Y===ye){if(gt(f))return this.jsx_readWord();if(f==62)return++this.pos,this.finishToken(le.jsxTagEnd);if((f===34||f===39)&&Y==_e)return this.jsx_readString(f)}return f===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(le.jsxTagStart)):super.readToken(f)}updateContext(f){if(this.type==ue.braceL){var Y=this.curContext();Y==_e?this.context.push(Se.b_expr):Y==tt?this.context.push(Se.b_tmpl):super.updateContext(f),this.exprAllowed=!0}else if(this.type===ue.slash&&f===le.jsxTagStart)this.context.length-=2,this.context.push(ye),this.exprAllowed=!1;else return super.updateContext(f)}}}}}),oh=Zs({"../../../node_modules/.pnpm/prettier@2.7.1/node_modules/prettier/standalone.js"(e,t){(function(r){if(typeof e=="object"&&typeof t=="object")t.exports=r();else if(typeof define=="function"&&define.amd)define(r);else{var n=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};n.prettier=r()}})(function(){var r=(Ft,Ge)=>()=>(Ge||Ft((Ge={exports:{}}).exports,Ge),Ge.exports),n=r((Ft,Ge)=>{var He=function(Ye){return Ye&&Ye.Math==Math&&Ye};Ge.exports=He(typeof globalThis=="object"&&globalThis)||He(typeof window=="object"&&window)||He(typeof self=="object"&&self)||He(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),i=r((Ft,Ge)=>{Ge.exports=function(He){try{return!!He()}catch{return!0}}}),a=r((Ft,Ge)=>{var He=i();Ge.exports=!He(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),u=r((Ft,Ge)=>{var He=i();Ge.exports=!He(function(){var Ye=function(){}.bind();return typeof Ye!="function"||Ye.hasOwnProperty("prototype")})}),o=r((Ft,Ge)=>{var He=u(),Ye=Function.prototype.call;Ge.exports=He?Ye.bind(Ye):function(){return Ye.apply(Ye,arguments)}}),d=r(Ft=>{var Ge={}.propertyIsEnumerable,He=Object.getOwnPropertyDescriptor,Ye=He&&!Ge.call({1:2},1);Ft.f=Ye?function(ot){var at=He(this,ot);return!!at&&at.enumerable}:Ge}),E=r((Ft,Ge)=>{Ge.exports=function(He,Ye){return{enumerable:!(He&1),configurable:!(He&2),writable:!(He&4),value:Ye}}}),w=r((Ft,Ge)=>{var He=u(),Ye=Function.prototype,ot=Ye.bind,at=Ye.call,Et=He&&ot.bind(at,at);Ge.exports=He?function(At){return At&&Et(At)}:function(At){return At&&function(){return at.apply(At,arguments)}}}),M=r((Ft,Ge)=>{var He=w(),Ye=He({}.toString),ot=He("".slice);Ge.exports=function(at){return ot(Ye(at),8,-1)}}),re=r((Ft,Ge)=>{var He=n(),Ye=w(),ot=i(),at=M(),Et=He.Object,At=Ye("".split);Ge.exports=ot(function(){return!Et("z").propertyIsEnumerable(0)})?function(bt){return at(bt)=="String"?At(bt,""):Et(bt)}:Et}),ue=r((Ft,Ge)=>{var He=n(),Ye=He.TypeError;Ge.exports=function(ot){if(ot==null)throw Ye("Can't call method on "+ot);return ot}}),le=r((Ft,Ge)=>{var He=re(),Ye=ue();Ge.exports=function(ot){return He(Ye(ot))}}),Se=r((Ft,Ge)=>{Ge.exports=function(He){return typeof He=="function"}}),_e=r((Ft,Ge)=>{var He=Se();Ge.exports=function(Ye){return typeof Ye=="object"?Ye!==null:He(Ye)}}),ye=r((Ft,Ge)=>{var He=n(),Ye=Se(),ot=function(at){return Ye(at)?at:void 0};Ge.exports=function(at,Et){return arguments.length<2?ot(He[at]):He[at]&&He[at][Et]}}),tt=r((Ft,Ge)=>{var He=w();Ge.exports=He({}.isPrototypeOf)}),Ve=r((Ft,Ge)=>{var He=ye();Ge.exports=He("navigator","userAgent")||""}),gt=r((Ft,Ge)=>{var He=n(),Ye=Ve(),ot=He.process,at=He.Deno,Et=ot&&ot.versions||at&&at.version,At=Et&&Et.v8,bt,_t;At&&(bt=At.split("."),_t=bt[0]>0&&bt[0]<4?1:+(bt[0]+bt[1])),!_t&&Ye&&(bt=Ye.match(/Edge\/(\d+)/),(!bt||bt[1]>=74)&&(bt=Ye.match(/Chrome\/(\d+)/),bt&&(_t=+bt[1]))),Ge.exports=_t}),Me=r((Ft,Ge)=>{var He=gt(),Ye=i();Ge.exports=!!Object.getOwnPropertySymbols&&!Ye(function(){var ot=Symbol();return!String(ot)||!(Object(ot)instanceof Symbol)||!Symbol.sham&&He&&He<41})}),f=r((Ft,Ge)=>{var He=Me();Ge.exports=He&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Y=r((Ft,Ge)=>{var He=n(),Ye=ye(),ot=Se(),at=tt(),Et=f(),At=He.Object;Ge.exports=Et?function(bt){return typeof bt=="symbol"}:function(bt){var _t=Ye("Symbol");return ot(_t)&&at(_t.prototype,At(bt))}}),me=r((Ft,Ge)=>{var He=n(),Ye=He.String;Ge.exports=function(ot){try{return Ye(ot)}catch{return"Object"}}}),be=r((Ft,Ge)=>{var He=n(),Ye=Se(),ot=me(),at=He.TypeError;Ge.exports=function(Et){if(Ye(Et))return Et;throw at(ot(Et)+" is not a function")}}),pt=r((Ft,Ge)=>{var He=be();Ge.exports=function(Ye,ot){var at=Ye[ot];return at==null?void 0:He(at)}}),Ie=r((Ft,Ge)=>{var He=n(),Ye=o(),ot=Se(),at=_e(),Et=He.TypeError;Ge.exports=function(At,bt){var _t,Lt;if(bt==="string"&&ot(_t=At.toString)&&!at(Lt=Ye(_t,At))||ot(_t=At.valueOf)&&!at(Lt=Ye(_t,At))||bt!=="string"&&ot(_t=At.toString)&&!at(Lt=Ye(_t,At)))return Lt;throw Et("Can't convert object to primitive value")}}),qe=r((Ft,Ge)=>{Ge.exports=!1}),St=r((Ft,Ge)=>{var He=n(),Ye=Object.defineProperty;Ge.exports=function(ot,at){try{Ye(He,ot,{value:at,configurable:!0,writable:!0})}catch{He[ot]=at}return at}}),fr=r((Ft,Ge)=>{var He=n(),Ye=St(),ot="__core-js_shared__",at=He[ot]||Ye(ot,{});Ge.exports=at}),Ar=r((Ft,Ge)=>{var He=qe(),Ye=fr();(Ge.exports=function(ot,at){return Ye[ot]||(Ye[ot]=at!==void 0?at:{})})("versions",[]).push({version:"3.22.2",mode:He?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),Qt=r((Ft,Ge)=>{var He=n(),Ye=ue(),ot=He.Object;Ge.exports=function(at){return ot(Ye(at))}}),Zt=r((Ft,Ge)=>{var He=w(),Ye=Qt(),ot=He({}.hasOwnProperty);Ge.exports=Object.hasOwn||function(at,Et){return ot(Ye(at),Et)}}),qt=r((Ft,Ge)=>{var He=w(),Ye=0,ot=Math.random(),at=He(1 .toString);Ge.exports=function(Et){return"Symbol("+(Et===void 0?"":Et)+")_"+at(++Ye+ot,36)}}),dr=r((Ft,Ge)=>{var He=n(),Ye=Ar(),ot=Zt(),at=qt(),Et=Me(),At=f(),bt=Ye("wks"),_t=He.Symbol,Lt=_t&&_t.for,$t=At?_t:_t&&_t.withoutSetter||at;Ge.exports=function(Ut){if(!ot(bt,Ut)||!(Et||typeof bt[Ut]=="string")){var Wt="Symbol."+Ut;Et&&ot(_t,Ut)?bt[Ut]=_t[Ut]:At&&Lt?bt[Ut]=Lt(Wt):bt[Ut]=$t(Wt)}return bt[Ut]}}),Br=r((Ft,Ge)=>{var He=n(),Ye=o(),ot=_e(),at=Y(),Et=pt(),At=Ie(),bt=dr(),_t=He.TypeError,Lt=bt("toPrimitive");Ge.exports=function($t,Ut){if(!ot($t)||at($t))return $t;var Wt=Et($t,Lt),rr;if(Wt){if(Ut===void 0&&(Ut="default"),rr=Ye(Wt,$t,Ut),!ot(rr)||at(rr))return rr;throw _t("Can't convert object to primitive value")}return Ut===void 0&&(Ut="number"),At($t,Ut)}}),Oe=r((Ft,Ge)=>{var He=Br(),Ye=Y();Ge.exports=function(ot){var at=He(ot,"string");return Ye(at)?at:at+""}}),Ne=r((Ft,Ge)=>{var He=n(),Ye=_e(),ot=He.document,at=Ye(ot)&&Ye(ot.createElement);Ge.exports=function(Et){return at?ot.createElement(Et):{}}}),pn=r((Ft,Ge)=>{var He=a(),Ye=i(),ot=Ne();Ge.exports=!He&&!Ye(function(){return Object.defineProperty(ot("div"),"a",{get:function(){return 7}}).a!=7})}),dn=r(Ft=>{var Ge=a(),He=o(),Ye=d(),ot=E(),at=le(),Et=Oe(),At=Zt(),bt=pn(),_t=Object.getOwnPropertyDescriptor;Ft.f=Ge?_t:function(Lt,$t){if(Lt=at(Lt),$t=Et($t),bt)try{return _t(Lt,$t)}catch{}if(At(Lt,$t))return ot(!He(Ye.f,Lt,$t),Lt[$t])}}),Cn=r((Ft,Ge)=>{var He=a(),Ye=i();Ge.exports=He&&Ye(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),sr=r((Ft,Ge)=>{var He=n(),Ye=_e(),ot=He.String,at=He.TypeError;Ge.exports=function(Et){if(Ye(Et))return Et;throw at(ot(Et)+" is not an object")}}),Qr=r(Ft=>{var Ge=n(),He=a(),Ye=pn(),ot=Cn(),at=sr(),Et=Oe(),At=Ge.TypeError,bt=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,Lt="enumerable",$t="configurable",Ut="writable";Ft.f=He?ot?function(Wt,rr,Kt){if(at(Wt),rr=Et(rr),at(Kt),typeof Wt=="function"&&rr==="prototype"&&"value"in Kt&&Ut in Kt&&!Kt[Ut]){var er=_t(Wt,rr);er&&er[Ut]&&(Wt[rr]=Kt.value,Kt={configurable:$t in Kt?Kt[$t]:er[$t],enumerable:Lt in Kt?Kt[Lt]:er[Lt],writable:!1})}return bt(Wt,rr,Kt)}:bt:function(Wt,rr,Kt){if(at(Wt),rr=Et(rr),at(Kt),Ye)try{return bt(Wt,rr,Kt)}catch{}if("get"in Kt||"set"in Kt)throw At("Accessors not supported");return"value"in Kt&&(Wt[rr]=Kt.value),Wt}}),Jr=r((Ft,Ge)=>{var He=a(),Ye=Qr(),ot=E();Ge.exports=He?function(at,Et,At){return Ye.f(at,Et,ot(1,At))}:function(at,Et,At){return at[Et]=At,at}}),$r=r((Ft,Ge)=>{var He=w(),Ye=Se(),ot=fr(),at=He(Function.toString);Ye(ot.inspectSource)||(ot.inspectSource=function(Et){return at(Et)}),Ge.exports=ot.inspectSource}),hn=r((Ft,Ge)=>{var He=n(),Ye=Se(),ot=$r(),at=He.WeakMap;Ge.exports=Ye(at)&&/native code/.test(ot(at))}),Ln=r((Ft,Ge)=>{var He=Ar(),Ye=qt(),ot=He("keys");Ge.exports=function(at){return ot[at]||(ot[at]=Ye(at))}}),Dn=r((Ft,Ge)=>{Ge.exports={}}),Zn=r((Ft,Ge)=>{var He=hn(),Ye=n(),ot=w(),at=_e(),Et=Jr(),At=Zt(),bt=fr(),_t=Ln(),Lt=Dn(),$t="Object already initialized",Ut=Ye.TypeError,Wt=Ye.WeakMap,rr,Kt,er,Wr=function(Ir){return er(Ir)?Kt(Ir):rr(Ir,{})},Yr=function(Ir){return function(zr){var ai;if(!at(zr)||(ai=Kt(zr)).type!==Ir)throw Ut("Incompatible receiver, "+Ir+" required");return ai}};He||bt.state?(sn=bt.state||(bt.state=new Wt),Ot=ot(sn.get),we=ot(sn.has),Gn=ot(sn.set),rr=function(Ir,zr){if(we(sn,Ir))throw new Ut($t);return zr.facade=Ir,Gn(sn,Ir,zr),zr},Kt=function(Ir){return Ot(sn,Ir)||{}},er=function(Ir){return we(sn,Ir)}):(jn=_t("state"),Lt[jn]=!0,rr=function(Ir,zr){if(At(Ir,jn))throw new Ut($t);return zr.facade=Ir,Et(Ir,jn,zr),zr},Kt=function(Ir){return At(Ir,jn)?Ir[jn]:{}},er=function(Ir){return At(Ir,jn)});var sn,Ot,we,Gn,jn;Ge.exports={set:rr,get:Kt,has:er,enforce:Wr,getterFor:Yr}}),Hn=r((Ft,Ge)=>{var He=a(),Ye=Zt(),ot=Function.prototype,at=He&&Object.getOwnPropertyDescriptor,Et=Ye(ot,"name"),At=Et&&function(){}.name==="something",bt=Et&&(!He||He&&at(ot,"name").configurable);Ge.exports={EXISTS:Et,PROPER:At,CONFIGURABLE:bt}}),ei=r((Ft,Ge)=>{var He=n(),Ye=Se(),ot=Zt(),at=Jr(),Et=St(),At=$r(),bt=Zn(),_t=Hn().CONFIGURABLE,Lt=bt.get,$t=bt.enforce,Ut=String(String).split("String");(Ge.exports=function(Wt,rr,Kt,er){var Wr=er?!!er.unsafe:!1,Yr=er?!!er.enumerable:!1,sn=er?!!er.noTargetGet:!1,Ot=er&&er.name!==void 0?er.name:rr,we;if(Ye(Kt)&&(String(Ot).slice(0,7)==="Symbol("&&(Ot="["+String(Ot).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ot(Kt,"name")||_t&&Kt.name!==Ot)&&at(Kt,"name",Ot),we=$t(Kt),we.source||(we.source=Ut.join(typeof Ot=="string"?Ot:""))),Wt===He){Yr?Wt[rr]=Kt:Et(rr,Kt);return}else Wr?!sn&&Wt[rr]&&(Yr=!0):delete Wt[rr];Yr?Wt[rr]=Kt:at(Wt,rr,Kt)})(Function.prototype,"toString",function(){return Ye(this)&&Lt(this).source||At(this)})}),_n=r((Ft,Ge)=>{var He=Math.ceil,Ye=Math.floor;Ge.exports=function(ot){var at=+ot;return at!==at||at===0?0:(at>0?Ye:He)(at)}}),Zr=r((Ft,Ge)=>{var He=_n(),Ye=Math.max,ot=Math.min;Ge.exports=function(at,Et){var At=He(at);return At<0?Ye(At+Et,0):ot(At,Et)}}),Un=r((Ft,Ge)=>{var He=_n(),Ye=Math.min;Ge.exports=function(ot){return ot>0?Ye(He(ot),9007199254740991):0}}),En=r((Ft,Ge)=>{var He=Un();Ge.exports=function(Ye){return He(Ye.length)}}),Wn=r((Ft,Ge)=>{var He=le(),Ye=Zr(),ot=En(),at=function(Et){return function(At,bt,_t){var Lt=He(At),$t=ot(Lt),Ut=Ye(_t,$t),Wt;if(Et&&bt!=bt){for(;$t>Ut;)if(Wt=Lt[Ut++],Wt!=Wt)return!0}else for(;$t>Ut;Ut++)if((Et||Ut in Lt)&&Lt[Ut]===bt)return Et||Ut||0;return!Et&&-1}};Ge.exports={includes:at(!0),indexOf:at(!1)}}),mn=r((Ft,Ge)=>{var He=w(),Ye=Zt(),ot=le(),at=Wn().indexOf,Et=Dn(),At=He([].push);Ge.exports=function(bt,_t){var Lt=ot(bt),$t=0,Ut=[],Wt;for(Wt in Lt)!Ye(Et,Wt)&&Ye(Lt,Wt)&&At(Ut,Wt);for(;_t.length>$t;)Ye(Lt,Wt=_t[$t++])&&(~at(Ut,Wt)||At(Ut,Wt));return Ut}}),zn=r((Ft,Ge)=>{Ge.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),si=r(Ft=>{var Ge=mn(),He=zn(),Ye=He.concat("length","prototype");Ft.f=Object.getOwnPropertyNames||function(ot){return Ge(ot,Ye)}}),On=r(Ft=>{Ft.f=Object.getOwnPropertySymbols}),tr=r((Ft,Ge)=>{var He=ye(),Ye=w(),ot=si(),at=On(),Et=sr(),At=Ye([].concat);Ge.exports=He("Reflect","ownKeys")||function(bt){var _t=ot.f(Et(bt)),Lt=at.f;return Lt?At(_t,Lt(bt)):_t}}),gn=r((Ft,Ge)=>{var He=Zt(),Ye=tr(),ot=dn(),at=Qr();Ge.exports=function(Et,At,bt){for(var _t=Ye(At),Lt=at.f,$t=ot.f,Ut=0;Ut<_t.length;Ut++){var Wt=_t[Ut];!He(Et,Wt)&&!(bt&&He(bt,Wt))&&Lt(Et,Wt,$t(At,Wt))}}}),lt=r((Ft,Ge)=>{var He=i(),Ye=Se(),ot=/#|\.prototype\./,at=function(Lt,$t){var Ut=At[Et(Lt)];return Ut==_t?!0:Ut==bt?!1:Ye($t)?He($t):!!$t},Et=at.normalize=function(Lt){return String(Lt).replace(ot,".").toLowerCase()},At=at.data={},bt=at.NATIVE="N",_t=at.POLYFILL="P";Ge.exports=at}),Be=r((Ft,Ge)=>{var He=n(),Ye=dn().f,ot=Jr(),at=ei(),Et=St(),At=gn(),bt=lt();Ge.exports=function(_t,Lt){var $t=_t.target,Ut=_t.global,Wt=_t.stat,rr,Kt,er,Wr,Yr,sn;if(Ut?Kt=He:Wt?Kt=He[$t]||Et($t,{}):Kt=(He[$t]||{}).prototype,Kt)for(er in Lt){if(Yr=Lt[er],_t.noTargetGet?(sn=Ye(Kt,er),Wr=sn&&sn.value):Wr=Kt[er],rr=bt(Ut?er:$t+(Wt?".":"#")+er,_t.forced),!rr&&Wr!==void 0){if(typeof Yr==typeof Wr)continue;At(Yr,Wr)}(_t.sham||Wr&&Wr.sham)&&ot(Yr,"sham",!0),at(Kt,er,Yr,_t)}}}),ee=r((Ft,Ge)=>{var He=M();Ge.exports=Array.isArray||function(Ye){return He(Ye)=="Array"}}),ut=r((Ft,Ge)=>{var He=w(),Ye=be(),ot=u(),at=He(He.bind);Ge.exports=function(Et,At){return Ye(Et),At===void 0?Et:ot?at(Et,At):function(){return Et.apply(At,arguments)}}}),Jt=r((Ft,Ge)=>{var He=n(),Ye=ee(),ot=En(),at=ut(),Et=He.TypeError,At=function(bt,_t,Lt,$t,Ut,Wt,rr,Kt){for(var er=Ut,Wr=0,Yr=rr?at(rr,Kt):!1,sn,Ot;Wr<$t;){if(Wr in Lt){if(sn=Yr?Yr(Lt[Wr],Wr,_t):Lt[Wr],Wt>0&&Ye(sn))Ot=ot(sn),er=At(bt,_t,sn,Ot,er,Wt-1)-1;else{if(er>=9007199254740991)throw Et("Exceed the acceptable array length");bt[er]=sn}er++}Wr++}return er};Ge.exports=At}),Hr=r((Ft,Ge)=>{var He=dr(),Ye=He("toStringTag"),ot={};ot[Ye]="z",Ge.exports=String(ot)==="[object z]"}),Kr=r((Ft,Ge)=>{var He=n(),Ye=Hr(),ot=Se(),at=M(),Et=dr(),At=Et("toStringTag"),bt=He.Object,_t=at(function(){return arguments}())=="Arguments",Lt=function($t,Ut){try{return $t[Ut]}catch{}};Ge.exports=Ye?at:function($t){var Ut,Wt,rr;return $t===void 0?"Undefined":$t===null?"Null":typeof(Wt=Lt(Ut=bt($t),At))=="string"?Wt:_t?at(Ut):(rr=at(Ut))=="Object"&&ot(Ut.callee)?"Arguments":rr}}),xe=r((Ft,Ge)=>{var He=w(),Ye=i(),ot=Se(),at=Kr(),Et=ye(),At=$r(),bt=function(){},_t=[],Lt=Et("Reflect","construct"),$t=/^\s*(?:class|function)\b/,Ut=He($t.exec),Wt=!$t.exec(bt),rr=function(er){if(!ot(er))return!1;try{return Lt(bt,_t,er),!0}catch{return!1}},Kt=function(er){if(!ot(er))return!1;switch(at(er)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Wt||!!Ut($t,At(er))}catch{return!0}};Kt.sham=!0,Ge.exports=!Lt||Ye(function(){var er;return rr(rr.call)||!rr(Object)||!rr(function(){er=!0})||er})?Kt:rr}),Cr=r((Ft,Ge)=>{var He=n(),Ye=ee(),ot=xe(),at=_e(),Et=dr(),At=Et("species"),bt=He.Array;Ge.exports=function(_t){var Lt;return Ye(_t)&&(Lt=_t.constructor,ot(Lt)&&(Lt===bt||Ye(Lt.prototype))?Lt=void 0:at(Lt)&&(Lt=Lt[At],Lt===null&&(Lt=void 0))),Lt===void 0?bt:Lt}}),Gr=r((Ft,Ge)=>{var He=Cr();Ge.exports=function(Ye,ot){return new(He(Ye))(ot===0?0:ot)}}),Nr=r(()=>{var Ft=Be(),Ge=Jt(),He=be(),Ye=Qt(),ot=En(),at=Gr();Ft({target:"Array",proto:!0},{flatMap:function(Et){var At=Ye(this),bt=ot(At),_t;return He(Et),_t=at(At,0),_t.length=Ge(_t,At,At,bt,0,1,Et,arguments.length>1?arguments[1]:void 0),_t}})}),jr=r((Ft,Ge)=>{Ge.exports={}}),en=r((Ft,Ge)=>{var He=dr(),Ye=jr(),ot=He("iterator"),at=Array.prototype;Ge.exports=function(Et){return Et!==void 0&&(Ye.Array===Et||at[ot]===Et)}}),un=r((Ft,Ge)=>{var He=Kr(),Ye=pt(),ot=jr(),at=dr(),Et=at("iterator");Ge.exports=function(At){if(At!=null)return Ye(At,Et)||Ye(At,"@@iterator")||ot[He(At)]}}),tn=r((Ft,Ge)=>{var He=n(),Ye=o(),ot=be(),at=sr(),Et=me(),At=un(),bt=He.TypeError;Ge.exports=function(_t,Lt){var $t=arguments.length<2?At(_t):Lt;if(ot($t))return at(Ye($t,_t));throw bt(Et(_t)+" is not iterable")}}),Hi=r((Ft,Ge)=>{var He=o(),Ye=sr(),ot=pt();Ge.exports=function(at,Et,At){var bt,_t;Ye(at);try{if(bt=ot(at,"return"),!bt){if(Et==="throw")throw At;return At}bt=He(bt,at)}catch(Lt){_t=!0,bt=Lt}if(Et==="throw")throw At;if(_t)throw bt;return Ye(bt),At}}),Er=r((Ft,Ge)=>{var He=n(),Ye=ut(),ot=o(),at=sr(),Et=me(),At=en(),bt=En(),_t=tt(),Lt=tn(),$t=un(),Ut=Hi(),Wt=He.TypeError,rr=function(er,Wr){this.stopped=er,this.result=Wr},Kt=rr.prototype;Ge.exports=function(er,Wr,Yr){var sn=Yr&&Yr.that,Ot=!!(Yr&&Yr.AS_ENTRIES),we=!!(Yr&&Yr.IS_ITERATOR),Gn=!!(Yr&&Yr.INTERRUPTED),jn=Ye(Wr,sn),Ir,zr,ai,hs,bn,Pe,bi,fs=function(kn){return Ir&&Ut(Ir,"normal",kn),new rr(!0,kn)},ds=function(kn){return Ot?(at(kn),Gn?jn(kn[0],kn[1],fs):jn(kn[0],kn[1])):Gn?jn(kn,fs):jn(kn)};if(we)Ir=er;else{if(zr=$t(er),!zr)throw Wt(Et(er)+" is not iterable");if(At(zr)){for(ai=0,hs=bt(er);hs>ai;ai++)if(bn=ds(er[ai]),bn&&_t(Kt,bn))return bn;return new rr(!1)}Ir=Lt(er,zr)}for(Pe=Ir.next;!(bi=ot(Pe,Ir)).done;){try{bn=ds(bi.value)}catch(kn){Ut(Ir,"throw",kn)}if(typeof bn=="object"&&bn&&_t(Kt,bn))return bn}return new rr(!1)}}),Va=r((Ft,Ge)=>{var He=Oe(),Ye=Qr(),ot=E();Ge.exports=function(at,Et,At){var bt=He(Et);bt in at?Ye.f(at,bt,ot(0,At)):at[bt]=At}}),Xu=r(()=>{var Ft=Be(),Ge=Er(),He=Va();Ft({target:"Object",stat:!0},{fromEntries:function(Ye){var ot={};return Ge(Ye,function(at,Et){He(ot,at,Et)},{AS_ENTRIES:!0}),ot}})}),_s=r(()=>{var Ft=Be(),Ge=n();Ft({global:!0},{globalThis:Ge})}),Ai=r(()=>{_s()}),Qu=r(()=>{var Ft=Be(),Ge=Jt(),He=Qt(),Ye=En(),ot=_n(),at=Gr();Ft({target:"Array",proto:!0},{flat:function(){var Et=arguments.length?arguments[0]:void 0,At=He(this),bt=Ye(At),_t=at(At,0);return _t.length=Ge(_t,At,At,bt,0,Et===void 0?1:ot(Et)),_t}})}),ps=r((Ft,Ge)=>{var He=["cliName","cliCategory","cliDescription"],Ye=["_"],ot=["languageId"],at,Et,At,bt,_t,Lt;function $t(m,C){if(m==null)return{};var h=Ut(m,C),D,x;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(m);for(x=0;x<c.length;x++)D=c[x],!(C.indexOf(D)>=0)&&(!Object.prototype.propertyIsEnumerable.call(m,D)||(h[D]=m[D]))}return h}function Ut(m,C){if(m==null)return{};var h={},D=Object.keys(m),x,c;for(c=0;c<D.length;c++)x=D[c],!(C.indexOf(x)>=0)&&(h[x]=m[x]);return h}Nr(),Xu(),Ai(),Qu();function Wt(m,C){return C||(C=m.slice(0)),Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(C)}}))}var rr=Object.create,Kt=Object.defineProperty,er=Object.getOwnPropertyDescriptor,Wr=Object.getOwnPropertyNames,Yr=Object.getPrototypeOf,sn=Object.prototype.hasOwnProperty,Ot=(m,C)=>function(){return m&&(C=(0,m[Wr(m)[0]])(m=0)),C},we=(m,C)=>function(){return C||(0,m[Wr(m)[0]])((C={exports:{}}).exports,C),C.exports},Gn=(m,C)=>{for(var h in C)Kt(m,h,{get:C[h],enumerable:!0})},jn=(m,C,h,D)=>{if(C&&typeof C=="object"||typeof C=="function")for(let x of Wr(C))!sn.call(m,x)&&x!==h&&Kt(m,x,{get:()=>C[x],enumerable:!(D=er(C,x))||D.enumerable});return m},Ir=(m,C,h)=>(h=m!=null?rr(Yr(m)):{},jn(C||!m||!m.__esModule?Kt(h,"default",{value:m,enumerable:!0}):h,m)),zr=m=>jn(Kt({},"__esModule",{value:!0}),m),ai,hs,bn,Pe=Ot({"<define:process>"(){ai={},hs=[],bn={env:ai,argv:hs}}}),bi=we({"package.json"(m,C){C.exports={version:"2.7.1"}}}),fs=we({"node_modules/diff/lib/diff/base.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=C;function C(){}C.prototype={diff:function(x,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=p.callback;typeof p=="function"&&(g=p,p={}),this.options=p;var y=this;function A(j){return g?(setTimeout(function(){g(void 0,j)},0),!0):j}x=this.castInput(x),c=this.castInput(c),x=this.removeEmpty(this.tokenize(x)),c=this.removeEmpty(this.tokenize(c));var P=c.length,k=x.length,N=1,b=P+k,F=[{newPos:-1,components:[]}],T=this.extractCommon(F[0],c,x,0);if(F[0].newPos+1>=P&&T+1>=k)return A([{value:this.join(c),count:c.length}]);function $(){for(var j=-1*N;j<=N;j+=2){var R=void 0,q=F[j-1],X=F[j+1],G=(X?X.newPos:0)-j;q&&(F[j-1]=void 0);var Q=q&&q.newPos+1<P,I=X&&0<=G&&G<k;if(!Q&&!I){F[j]=void 0;continue}if(!Q||I&&q.newPos<X.newPos?(R=D(X),y.pushComponent(R.components,void 0,!0)):(R=q,R.newPos++,y.pushComponent(R.components,!0,void 0)),G=y.extractCommon(R,c,x,j),R.newPos+1>=P&&G+1>=k)return A(h(y,R.components,c,x,y.useLongestToken));F[j]=R}N++}if(g)(function j(){setTimeout(function(){if(N>b)return g();$()||j()},0)})();else for(;N<=b;){var W=$();if(W)return W}},pushComponent:function(x,c,p){var g=x[x.length-1];g&&g.added===c&&g.removed===p?x[x.length-1]={count:g.count+1,added:c,removed:p}:x.push({count:1,added:c,removed:p})},extractCommon:function(x,c,p,g){for(var y=c.length,A=p.length,P=x.newPos,k=P-g,N=0;P+1<y&&k+1<A&&this.equals(c[P+1],p[k+1]);)P++,k++,N++;return N&&x.components.push({count:N}),x.newPos=P,k},equals:function(x,c){return this.options.comparator?this.options.comparator(x,c):x===c||this.options.ignoreCase&&x.toLowerCase()===c.toLowerCase()},removeEmpty:function(x){for(var c=[],p=0;p<x.length;p++)x[p]&&c.push(x[p]);return c},castInput:function(x){return x},tokenize:function(x){return x.split("")},join:function(x){return x.join("")}};function h(x,c,p,g,y){for(var A=0,P=c.length,k=0,N=0;A<P;A++){var b=c[A];if(b.removed){if(b.value=x.join(g.slice(N,N+b.count)),N+=b.count,A&&c[A-1].added){var F=c[A-1];c[A-1]=c[A],c[A]=F}}else{if(!b.added&&y){var T=p.slice(k,k+b.count);T=T.map(function(W,j){var R=g[N+j];return R.length>W.length?R:W}),b.value=x.join(T)}else b.value=x.join(p.slice(k,k+b.count));k+=b.count,b.added||(N+=b.count)}}var $=c[P-1];return P>1&&typeof $.value=="string"&&($.added||$.removed)&&x.equals("",$.value)&&(c[P-2].value+=$.value,c.pop()),c}function D(x){return{newPos:x.newPos,components:x.components.slice(0)}}}}),ds=we({"node_modules/diff/lib/diff/array.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=x,m.arrayDiff=void 0;var C=h(fs());function h(c){return c&&c.__esModule?c:{default:c}}var D=new C.default;m.arrayDiff=D,D.tokenize=function(c){return c.slice()},D.join=D.removeEmpty=function(c){return c};function x(c,p,g){return D.diff(c,p,g)}}}),kn=we({"src/document/doc-builders.js"(m,C){Pe();function h(O){return{type:"concat",parts:O}}function D(O){return{type:"indent",contents:O}}function x(O,v){return{type:"align",contents:v,n:O}}function c(O){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:v.id,contents:O,break:Boolean(v.shouldBreak),expandedStates:v.expandedStates}}function p(O){return x(Number.NEGATIVE_INFINITY,O)}function g(O){return x({type:"root"},O)}function y(O){return x(-1,O)}function A(O,v){return c(O[0],Object.assign(Object.assign({},v),{},{expandedStates:O}))}function P(O){return{type:"fill",parts:O}}function k(O,v){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:O,flatContents:v,groupId:L.groupId}}function N(O,v){return{type:"indent-if-break",contents:O,groupId:v.groupId,negate:v.negate}}function b(O){return{type:"line-suffix",contents:O}}var F={type:"line-suffix-boundary"},T={type:"break-parent"},$={type:"trim"},W={type:"line",hard:!0},j={type:"line",hard:!0,literal:!0},R={type:"line"},q={type:"line",soft:!0},X=h([W,T]),G=h([j,T]),Q={type:"cursor",placeholder:Symbol("cursor")};function I(O,v){let L=[];for(let _=0;_<v.length;_++)_!==0&&L.push(O),L.push(v[_]);return h(L)}function S(O,v,L){let _=O;if(v>0){for(let z=0;z<Math.floor(v/L);++z)_=D(_);_=x(v%L,_),_=x(Number.NEGATIVE_INFINITY,_)}return _}function B(O,v){return{type:"label",label:O,contents:v}}C.exports={concat:h,join:I,line:R,softline:q,hardline:X,literalline:G,group:c,conditionalGroup:A,fill:P,lineSuffix:b,lineSuffixBoundary:F,cursor:Q,breakParent:T,ifBreak:k,trim:$,indent:D,indentIfBreak:N,align:x,addAlignmentToDoc:S,markAsRoot:g,dedentToRoot:p,dedent:y,hardlineWithoutBreakParent:W,literallineWithoutBreakParent:j,label:B}}}),Wi=we({"src/common/end-of-line.js"(m,C){Pe();function h(p){let g=p.indexOf("\r");return g>=0?p.charAt(g+1)===`
9
- `?"crlf":"cr":"lf"}function D(p){switch(p){case"cr":return"\r";case"crlf":return`\r
10
- `;default:return`
11
- `}}function x(p,g){let y;switch(g){case`
12
- `:y=/\n/g;break;case"\r":y=/\r/g;break;case`\r
13
- `:y=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(g),"."))}let A=p.match(y);return A?A.length:0}function c(p){return p.replace(/\r\n?/g,`
14
- `)}C.exports={guessEndOfLine:h,convertEndOfLineToChars:D,countEndOfLineChars:x,normalizeEndOfLine:c}}}),ur=we({"src/utils/get-last.js"(m,C){Pe();var h=D=>D[D.length-1];C.exports=h}});function Ku(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(C,m?void 0:"g")}var Ma=Ot({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Pe()}});function Ra(m){if(typeof m!="string")throw new TypeError("Expected a `string`, got `".concat(typeof m,"`"));return m.replace(Ku(),"")}var Ja=Ot({"node_modules/strip-ansi/index.js"(){Pe(),Ma()}});function Yu(m){return Number.isInteger(m)?m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141):!1}var Zu=Ot({"node_modules/is-fullwidth-code-point/index.js"(){Pe()}}),eo=we({"node_modules/emoji-regex/index.js"(m,C){Pe(),C.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),s={};Gn(s,{default:()=>l});function l(m){if(typeof m!="string"||m.length===0||(m=Ra(m),m.length===0))return 0;m=m.replace((0,V.default)()," ");let C=0;for(let h=0;h<m.length;h++){let D=m.codePointAt(h);D<=31||D>=127&&D<=159||D>=768&&D<=879||(D>65535&&h++,C+=Yu(D)?2:1)}return C}var V,Z=Ot({"node_modules/string-width/index.js"(){Pe(),Ja(),Zu(),V=Ir(eo())}}),Ce=we({"src/utils/get-string-width.js"(m,C){Pe();var h=(Z(),zr(s)).default,D=/[^\x20-\x7F]/;function x(c){return c?D.test(c)?h(c):c.length:0}C.exports=x}}),rt=we({"src/document/doc-utils.js"(m,C){Pe();var h=ur(),{literalline:D,join:x}=kn(),c=v=>Array.isArray(v)||v&&v.type==="concat",p=v=>{if(Array.isArray(v))return v;if(v.type!=="concat"&&v.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return v.parts},g={};function y(v,L,_,z){let J=[v];for(;J.length>0;){let U=J.pop();if(U===g){_(J.pop());continue}if(_&&J.push(U,g),!L||L(U)!==!1)if(c(U)||U.type==="fill"){let K=p(U);for(let se=K.length,te=se-1;te>=0;--te)J.push(K[te])}else if(U.type==="if-break")U.flatContents&&J.push(U.flatContents),U.breakContents&&J.push(U.breakContents);else if(U.type==="group"&&U.expandedStates)if(z)for(let K=U.expandedStates.length,se=K-1;se>=0;--se)J.push(U.expandedStates[se]);else J.push(U.contents);else U.contents&&J.push(U.contents)}}function A(v,L){let _=new Map;return z(v);function z(U){if(_.has(U))return _.get(U);let K=J(U);return _.set(U,K),K}function J(U){if(Array.isArray(U))return L(U.map(z));if(U.type==="concat"||U.type==="fill"){let K=U.parts.map(z);return L(Object.assign(Object.assign({},U),{},{parts:K}))}if(U.type==="if-break"){let K=U.breakContents&&z(U.breakContents),se=U.flatContents&&z(U.flatContents);return L(Object.assign(Object.assign({},U),{},{breakContents:K,flatContents:se}))}if(U.type==="group"&&U.expandedStates){let K=U.expandedStates.map(z),se=K[0];return L(Object.assign(Object.assign({},U),{},{contents:se,expandedStates:K}))}if(U.contents){let K=z(U.contents);return L(Object.assign(Object.assign({},U),{},{contents:K}))}return L(U)}}function P(v,L,_){let z=_,J=!1;function U(K){let se=L(K);if(se!==void 0&&(J=!0,z=se),J)return!1}return y(v,U),z}function k(v){if(v.type==="group"&&v.break||v.type==="line"&&v.hard||v.type==="break-parent")return!0}function N(v){return P(v,k,!1)}function b(v){if(v.length>0){let L=h(v);!L.expandedStates&&!L.break&&(L.break="propagated")}return null}function F(v){let L=new Set,_=[];function z(U){if(U.type==="break-parent"&&b(_),U.type==="group"){if(_.push(U),L.has(U))return!1;L.add(U)}}function J(U){U.type==="group"&&_.pop().break&&b(_)}y(v,z,J,!0)}function T(v){return v.type==="line"&&!v.hard?v.soft?"":" ":v.type==="if-break"?v.flatContents||"":v}function $(v){return A(v,T)}var W=(v,L)=>v&&v.type==="line"&&v.hard&&L&&L.type==="break-parent";function j(v){if(!v)return v;if(c(v)||v.type==="fill"){let L=p(v);for(;L.length>1&&W(...L.slice(-2));)L.length-=2;if(L.length>0){let _=j(h(L));L[L.length-1]=_}return Array.isArray(v)?L:Object.assign(Object.assign({},v),{},{parts:L})}switch(v.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let L=j(v.contents);return Object.assign(Object.assign({},v),{},{contents:L})}case"if-break":{let L=j(v.breakContents),_=j(v.flatContents);return Object.assign(Object.assign({},v),{},{breakContents:L,flatContents:_})}}return v}function R(v){return j(X(v))}function q(v){switch(v.type){case"fill":if(v.parts.every(_=>_===""))return"";break;case"group":if(!v.contents&&!v.id&&!v.break&&!v.expandedStates)return"";if(v.contents.type==="group"&&v.contents.id===v.id&&v.contents.break===v.break&&v.contents.expandedStates===v.expandedStates)return v.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!v.contents)return"";break;case"if-break":if(!v.flatContents&&!v.breakContents)return"";break}if(!c(v))return v;let L=[];for(let _ of p(v)){if(!_)continue;let[z,...J]=c(_)?p(_):[_];typeof z=="string"&&typeof h(L)=="string"?L[L.length-1]+=z:L.push(z),L.push(...J)}return L.length===0?"":L.length===1?L[0]:Array.isArray(v)?L:Object.assign(Object.assign({},v),{},{parts:L})}function X(v){return A(v,L=>q(L))}function G(v){let L=[],_=v.filter(Boolean);for(;_.length>0;){let z=_.shift();if(z){if(c(z)){_.unshift(...p(z));continue}if(L.length>0&&typeof h(L)=="string"&&typeof z=="string"){L[L.length-1]+=z;continue}L.push(z)}}return L}function Q(v){return A(v,L=>Array.isArray(L)?G(L):L.parts?Object.assign(Object.assign({},L),{},{parts:G(L.parts)}):L)}function I(v){return A(v,L=>typeof L=="string"&&L.includes(`
15
- `)?S(L):L)}function S(v){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D;return x(L,v.split(`
16
- `)).parts}function B(v){if(v.type==="line")return!0}function O(v){return P(v,B,!1)}C.exports={isConcat:c,getDocParts:p,willBreak:N,traverseDoc:y,findInDoc:P,mapDoc:A,propagateBreaks:F,removeLines:$,stripTrailingHardline:R,normalizeParts:G,normalizeDoc:Q,cleanDoc:X,replaceTextEndOfLine:S,replaceEndOfLine:I,canBreak:O}}}),ht=we({"src/document/doc-printer.js"(m,C){Pe();var{convertEndOfLineToChars:h}=Wi(),D=ur(),x=Ce(),{fill:c,cursor:p,indent:g}=kn(),{isConcat:y,getDocParts:A}=rt(),P,k=1,N=2;function b(){return{value:"",length:0,queue:[]}}function F(q,X){return $(q,{type:"indent"},X)}function T(q,X,G){return X===Number.NEGATIVE_INFINITY?q.root||b():X<0?$(q,{type:"dedent"},G):X?X.type==="root"?Object.assign(Object.assign({},q),{},{root:q}):$(q,{type:typeof X=="string"?"stringAlign":"numberAlign",n:X},G):q}function $(q,X,G){let Q=X.type==="dedent"?q.queue.slice(0,-1):[...q.queue,X],I="",S=0,B=0,O=0;for(let K of Q)switch(K.type){case"indent":_(),G.useTabs?v(1):L(G.tabWidth);break;case"stringAlign":_(),I+=K.n,S+=K.n.length;break;case"numberAlign":B+=1,O+=K.n;break;default:throw new Error("Unexpected type '".concat(K.type,"'"))}return J(),Object.assign(Object.assign({},q),{},{value:I,length:S,queue:Q});function v(K){I+=" ".repeat(K),S+=G.tabWidth*K}function L(K){I+=" ".repeat(K),S+=K}function _(){G.useTabs?z():J()}function z(){B>0&&v(B),U()}function J(){O>0&&L(O),U()}function U(){B=0,O=0}}function W(q){if(q.length===0)return 0;let X=0;for(;q.length>0&&typeof D(q)=="string"&&/^[\t ]*$/.test(D(q));)X+=q.pop().length;if(q.length>0&&typeof D(q)=="string"){let G=D(q).replace(/[\t ]*$/,"");X+=D(q).length-G.length,q[q.length-1]=G}return X}function j(q,X,G,Q,I,S){let B=X.length,O=[q],v=[];for(;G>=0;){if(O.length===0){if(B===0)return!0;O.push(X[B-1]),B--;continue}let[L,_,z]=O.pop();if(typeof z=="string")v.push(z),G-=x(z);else if(y(z)){let J=A(z);for(let U=J.length-1;U>=0;U--)O.push([L,_,J[U]])}else switch(z.type){case"indent":O.push([F(L,Q),_,z.contents]);break;case"align":O.push([T(L,z.n,Q),_,z.contents]);break;case"trim":G+=W(v);break;case"group":{if(S&&z.break)return!1;let J=z.break?k:_;O.push([L,J,z.expandedStates&&J===k?D(z.expandedStates):z.contents]),z.id&&(P[z.id]=J);break}case"fill":for(let J=z.parts.length-1;J>=0;J--)O.push([L,_,z.parts[J]]);break;case"if-break":case"indent-if-break":{let J=z.groupId?P[z.groupId]:_;if(J===k){let U=z.type==="if-break"?z.breakContents:z.negate?z.contents:g(z.contents);U&&O.push([L,_,U])}if(J===N){let U=z.type==="if-break"?z.flatContents:z.negate?g(z.contents):z.contents;U&&O.push([L,_,U])}break}case"line":switch(_){case N:if(!z.hard){z.soft||(v.push(" "),G-=1);break}return!0;case k:return!0}break;case"line-suffix":I=!0;break;case"line-suffix-boundary":if(I)return!1;break;case"label":O.push([L,_,z.contents]);break}}return!1}function R(q,X){P={};let G=X.printWidth,Q=h(X.endOfLine),I=0,S=[[b(),k,q]],B=[],O=!1,v=[];for(;S.length>0;){let[_,z,J]=S.pop();if(typeof J=="string"){let U=Q!==`
17
- `?J.replace(/\n/g,Q):J;B.push(U),I+=x(U)}else if(y(J)){let U=A(J);for(let K=U.length-1;K>=0;K--)S.push([_,z,U[K]])}else switch(J.type){case"cursor":B.push(p.placeholder);break;case"indent":S.push([F(_,X),z,J.contents]);break;case"align":S.push([T(_,J.n,X),z,J.contents]);break;case"trim":I-=W(B);break;case"group":switch(z){case N:if(!O){S.push([_,J.break?k:N,J.contents]);break}case k:{O=!1;let U=[_,N,J.contents],K=G-I,se=v.length>0;if(!J.break&&j(U,S,K,X,se))S.push(U);else if(J.expandedStates){let te=D(J.expandedStates);if(J.break){S.push([_,k,te]);break}else for(let fe=1;fe<J.expandedStates.length+1;fe++)if(fe>=J.expandedStates.length){S.push([_,k,te]);break}else{let ce=J.expandedStates[fe],ie=[_,N,ce];if(j(ie,S,K,X,se)){S.push(ie);break}}}else S.push([_,k,J.contents]);break}}J.id&&(P[J.id]=D(S)[1]);break;case"fill":{let U=G-I,{parts:K}=J;if(K.length===0)break;let[se,te]=K,fe=[_,N,se],ce=[_,k,se],ie=j(fe,[],U,X,v.length>0,!0);if(K.length===1){ie?S.push(fe):S.push(ce);break}let ke=[_,N,te],de=[_,k,te];if(K.length===2){ie?S.push(ke,fe):S.push(de,ce);break}K.splice(0,2);let pe=[_,z,c(K)],Te=K[0];j([_,N,[se,te,Te]],[],U,X,v.length>0,!0)?S.push(pe,ke,fe):ie?S.push(pe,de,fe):S.push(pe,de,ce);break}case"if-break":case"indent-if-break":{let U=J.groupId?P[J.groupId]:z;if(U===k){let K=J.type==="if-break"?J.breakContents:J.negate?J.contents:g(J.contents);K&&S.push([_,z,K])}if(U===N){let K=J.type==="if-break"?J.flatContents:J.negate?g(J.contents):J.contents;K&&S.push([_,z,K])}break}case"line-suffix":v.push([_,z,J.contents]);break;case"line-suffix-boundary":v.length>0&&S.push([_,z,{type:"line",hard:!0}]);break;case"line":switch(z){case N:if(J.hard)O=!0;else{J.soft||(B.push(" "),I+=1);break}case k:if(v.length>0){S.push([_,z,J],...v.reverse()),v=[];break}J.literal?_.root?(B.push(Q,_.root.value),I=_.root.length):(B.push(Q),I=0):(I-=W(B),B.push(Q+_.value),I=_.length);break}break;case"label":S.push([_,z,J.contents]);break}S.length===0&&v.length>0&&(S.push(...v.reverse()),v=[])}let L=B.indexOf(p.placeholder);if(L!==-1){let _=B.indexOf(p.placeholder,L+1),z=B.slice(0,L).join(""),J=B.slice(L+1,_).join(""),U=B.slice(_+1).join("");return{formatted:z+J+U,cursorNodeStart:z.length,cursorNodeText:J}}return{formatted:B.join("")}}C.exports={printDocToString:R}}}),Bt=we({"src/document/doc-debug.js"(m,C){Pe();var{isConcat:h,getDocParts:D}=rt();function x(p){if(!p)return"";if(h(p)){let g=[];for(let y of D(p))if(h(y))g.push(...x(y).parts);else{let A=x(y);A!==""&&g.push(A)}return{type:"concat",parts:g}}return p.type==="if-break"?Object.assign(Object.assign({},p),{},{breakContents:x(p.breakContents),flatContents:x(p.flatContents)}):p.type==="group"?Object.assign(Object.assign({},p),{},{contents:x(p.contents),expandedStates:p.expandedStates&&p.expandedStates.map(x)}):p.type==="fill"?{type:"fill",parts:p.parts.map(x)}:p.contents?Object.assign(Object.assign({},p),{},{contents:x(p.contents)}):p}function c(p){let g=Object.create(null),y=new Set;return A(x(p));function A(k,N,b){if(typeof k=="string")return JSON.stringify(k);if(h(k)){let F=D(k).map(A).filter(Boolean);return F.length===1?F[0]:"[".concat(F.join(", "),"]")}if(k.type==="line"){let F=Array.isArray(b)&&b[N+1]&&b[N+1].type==="break-parent";return k.literal?F?"literalline":"literallineWithoutBreakParent":k.hard?F?"hardline":"hardlineWithoutBreakParent":k.soft?"softline":"line"}if(k.type==="break-parent")return Array.isArray(b)&&b[N-1]&&b[N-1].type==="line"&&b[N-1].hard?void 0:"breakParent";if(k.type==="trim")return"trim";if(k.type==="indent")return"indent("+A(k.contents)+")";if(k.type==="align")return k.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+A(k.contents)+")":k.n<0?"dedent("+A(k.contents)+")":k.n.type==="root"?"markAsRoot("+A(k.contents)+")":"align("+JSON.stringify(k.n)+", "+A(k.contents)+")";if(k.type==="if-break")return"ifBreak("+A(k.breakContents)+(k.flatContents?", "+A(k.flatContents):"")+(k.groupId?(k.flatContents?"":', ""')+", { groupId: ".concat(P(k.groupId)," }"):"")+")";if(k.type==="indent-if-break"){let F=[];k.negate&&F.push("negate: true"),k.groupId&&F.push("groupId: ".concat(P(k.groupId)));let T=F.length>0?", { ".concat(F.join(", ")," }"):"";return"indentIfBreak(".concat(A(k.contents)).concat(T,")")}if(k.type==="group"){let F=[];k.break&&k.break!=="propagated"&&F.push("shouldBreak: true"),k.id&&F.push("id: ".concat(P(k.id)));let T=F.length>0?", { ".concat(F.join(", ")," }"):"";return k.expandedStates?"conditionalGroup([".concat(k.expandedStates.map($=>A($)).join(","),"]").concat(T,")"):"group(".concat(A(k.contents)).concat(T,")")}if(k.type==="fill")return"fill([".concat(k.parts.map(F=>A(F)).join(", "),"])");if(k.type==="line-suffix")return"lineSuffix("+A(k.contents)+")";if(k.type==="line-suffix-boundary")return"lineSuffixBoundary";if(k.type==="label")return"label(".concat(JSON.stringify(k.label),", ").concat(A(k.contents),")");throw new Error("Unknown doc type "+k.type)}function P(k){if(typeof k!="symbol")return JSON.stringify(String(k));if(k in g)return g[k];let N=String(k).slice(7,-1)||"symbol";for(let b=0;;b++){let F=N+(b>0?" #".concat(b):"");if(!y.has(F))return y.add(F),g[k]="Symbol.for(".concat(JSON.stringify(F),")")}}}C.exports={printDocToDebug:c}}}),dt=we({"src/document/index.js"(m,C){Pe(),C.exports={builders:kn(),printer:ht(),utils:rt(),debug:Bt()}}}),gr={};Gn(gr,{default:()=>wr});function wr(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Nn=Ot({"node_modules/escape-string-regexp/index.js"(){Pe()}}),Fi=we({"node_modules/semver/internal/debug.js"(m,C){Pe();var h=typeof bn=="object"&&bn.env&&bn.env.NODE_DEBUG&&/\bsemver\b/i.test(bn.env.NODE_DEBUG)?function(){for(var D=arguments.length,x=new Array(D),c=0;c<D;c++)x[c]=arguments[c];return console.error("SEMVER",...x)}:()=>{};C.exports=h}}),Gi=we({"node_modules/semver/internal/constants.js"(m,C){Pe();var h="2.0.0",D=256,x=Number.MAX_SAFE_INTEGER||9007199254740991,c=16;C.exports={SEMVER_SPEC_VERSION:h,MAX_LENGTH:D,MAX_SAFE_INTEGER:x,MAX_SAFE_COMPONENT_LENGTH:c}}}),Xi=we({"node_modules/semver/internal/re.js"(m,C){Pe();var{MAX_SAFE_COMPONENT_LENGTH:h}=Gi(),D=Fi();m=C.exports={};var x=m.re=[],c=m.src=[],p=m.t={},g=0,y=(A,P,k)=>{let N=g++;D(A,N,P),p[A]=N,c[N]=P,x[N]=new RegExp(P,k?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","[0-9]+"),y("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),y("MAINVERSION","(".concat(c[p.NUMERICIDENTIFIER],")\\.(").concat(c[p.NUMERICIDENTIFIER],")\\.(").concat(c[p.NUMERICIDENTIFIER],")")),y("MAINVERSIONLOOSE","(".concat(c[p.NUMERICIDENTIFIERLOOSE],")\\.(").concat(c[p.NUMERICIDENTIFIERLOOSE],")\\.(").concat(c[p.NUMERICIDENTIFIERLOOSE],")")),y("PRERELEASEIDENTIFIER","(?:".concat(c[p.NUMERICIDENTIFIER],"|").concat(c[p.NONNUMERICIDENTIFIER],")")),y("PRERELEASEIDENTIFIERLOOSE","(?:".concat(c[p.NUMERICIDENTIFIERLOOSE],"|").concat(c[p.NONNUMERICIDENTIFIER],")")),y("PRERELEASE","(?:-(".concat(c[p.PRERELEASEIDENTIFIER],"(?:\\.").concat(c[p.PRERELEASEIDENTIFIER],")*))")),y("PRERELEASELOOSE","(?:-?(".concat(c[p.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(c[p.PRERELEASEIDENTIFIERLOOSE],")*))")),y("BUILDIDENTIFIER","[0-9A-Za-z-]+"),y("BUILD","(?:\\+(".concat(c[p.BUILDIDENTIFIER],"(?:\\.").concat(c[p.BUILDIDENTIFIER],")*))")),y("FULLPLAIN","v?".concat(c[p.MAINVERSION]).concat(c[p.PRERELEASE],"?").concat(c[p.BUILD],"?")),y("FULL","^".concat(c[p.FULLPLAIN],"$")),y("LOOSEPLAIN","[v=\\s]*".concat(c[p.MAINVERSIONLOOSE]).concat(c[p.PRERELEASELOOSE],"?").concat(c[p.BUILD],"?")),y("LOOSE","^".concat(c[p.LOOSEPLAIN],"$")),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE","".concat(c[p.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),y("XRANGEIDENTIFIER","".concat(c[p.NUMERICIDENTIFIER],"|x|X|\\*")),y("XRANGEPLAIN","[v=\\s]*(".concat(c[p.XRANGEIDENTIFIER],")(?:\\.(").concat(c[p.XRANGEIDENTIFIER],")(?:\\.(").concat(c[p.XRANGEIDENTIFIER],")(?:").concat(c[p.PRERELEASE],")?").concat(c[p.BUILD],"?)?)?")),y("XRANGEPLAINLOOSE","[v=\\s]*(".concat(c[p.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(c[p.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(c[p.XRANGEIDENTIFIERLOOSE],")(?:").concat(c[p.PRERELEASELOOSE],")?").concat(c[p.BUILD],"?)?)?")),y("XRANGE","^".concat(c[p.GTLT],"\\s*").concat(c[p.XRANGEPLAIN],"$")),y("XRANGELOOSE","^".concat(c[p.GTLT],"\\s*").concat(c[p.XRANGEPLAINLOOSE],"$")),y("COERCE","(^|[^\\d])(\\d{1,".concat(h,"})(?:\\.(\\d{1,").concat(h,"}))?(?:\\.(\\d{1,").concat(h,"}))?(?:$|[^\\d])")),y("COERCERTL",c[p.COERCE],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM","(\\s*)".concat(c[p.LONETILDE],"\\s+"),!0),m.tildeTrimReplace="$1~",y("TILDE","^".concat(c[p.LONETILDE]).concat(c[p.XRANGEPLAIN],"$")),y("TILDELOOSE","^".concat(c[p.LONETILDE]).concat(c[p.XRANGEPLAINLOOSE],"$")),y("LONECARET","(?:\\^)"),y("CARETTRIM","(\\s*)".concat(c[p.LONECARET],"\\s+"),!0),m.caretTrimReplace="$1^",y("CARET","^".concat(c[p.LONECARET]).concat(c[p.XRANGEPLAIN],"$")),y("CARETLOOSE","^".concat(c[p.LONECARET]).concat(c[p.XRANGEPLAINLOOSE],"$")),y("COMPARATORLOOSE","^".concat(c[p.GTLT],"\\s*(").concat(c[p.LOOSEPLAIN],")$|^$")),y("COMPARATOR","^".concat(c[p.GTLT],"\\s*(").concat(c[p.FULLPLAIN],")$|^$")),y("COMPARATORTRIM","(\\s*)".concat(c[p.GTLT],"\\s*(").concat(c[p.LOOSEPLAIN],"|").concat(c[p.XRANGEPLAIN],")"),!0),m.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE","^\\s*(".concat(c[p.XRANGEPLAIN],")\\s+-\\s+(").concat(c[p.XRANGEPLAIN],")\\s*$")),y("HYPHENRANGELOOSE","^\\s*(".concat(c[p.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(c[p.XRANGEPLAINLOOSE],")\\s*$")),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ns=we({"node_modules/semver/internal/parse-options.js"(m,C){Pe();var h=["includePrerelease","loose","rtl"],D=x=>x?typeof x!="object"?{loose:!0}:h.filter(c=>x[c]).reduce((c,p)=>(c[p]=!0,c),{}):{};C.exports=D}}),Qi=we({"node_modules/semver/internal/identifiers.js"(m,C){Pe();var h=/^[0-9]+$/,D=(c,p)=>{let g=h.test(c),y=h.test(p);return g&&y&&(c=+c,p=+p),c===p?0:g&&!y?-1:y&&!g?1:c<p?-1:1},x=(c,p)=>D(p,c);C.exports={compareIdentifiers:D,rcompareIdentifiers:x}}}),Ki=we({"node_modules/semver/classes/semver.js"(m,C){Pe();var h=Fi(),{MAX_LENGTH:D,MAX_SAFE_INTEGER:x}=Gi(),{re:c,t:p}=Xi(),g=Ns(),{compareIdentifiers:y}=Qi(),A=class{constructor(P,k){if(k=g(k),P instanceof A){if(P.loose===!!k.loose&&P.includePrerelease===!!k.includePrerelease)return P;P=P.version}else if(typeof P!="string")throw new TypeError("Invalid Version: ".concat(P));if(P.length>D)throw new TypeError("version is longer than ".concat(D," characters"));h("SemVer",P,k),this.options=k,this.loose=!!k.loose,this.includePrerelease=!!k.includePrerelease;let N=P.trim().match(k.loose?c[p.LOOSE]:c[p.FULL]);if(!N)throw new TypeError("Invalid Version: ".concat(P));if(this.raw=P,this.major=+N[1],this.minor=+N[2],this.patch=+N[3],this.major>x||this.major<0)throw new TypeError("Invalid major version");if(this.minor>x||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>x||this.patch<0)throw new TypeError("Invalid patch version");N[4]?this.prerelease=N[4].split(".").map(b=>{if(/^[0-9]+$/.test(b)){let F=+b;if(F>=0&&F<x)return F}return b}):this.prerelease=[],this.build=N[5]?N[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(P){if(h("SemVer.compare",this.version,this.options,P),!(P instanceof A)){if(typeof P=="string"&&P===this.version)return 0;P=new A(P,this.options)}return P.version===this.version?0:this.compareMain(P)||this.comparePre(P)}compareMain(P){return P instanceof A||(P=new A(P,this.options)),y(this.major,P.major)||y(this.minor,P.minor)||y(this.patch,P.patch)}comparePre(P){if(P instanceof A||(P=new A(P,this.options)),this.prerelease.length&&!P.prerelease.length)return-1;if(!this.prerelease.length&&P.prerelease.length)return 1;if(!this.prerelease.length&&!P.prerelease.length)return 0;let k=0;do{let N=this.prerelease[k],b=P.prerelease[k];if(h("prerelease compare",k,N,b),N===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(N===void 0)return-1;if(N!==b)return y(N,b)}while(++k)}compareBuild(P){P instanceof A||(P=new A(P,this.options));let k=0;do{let N=this.build[k],b=P.build[k];if(h("prerelease compare",k,N,b),N===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(N===void 0)return-1;if(N!==b)return y(N,b)}while(++k)}inc(P,k){switch(P){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",k);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",k);break;case"prepatch":this.prerelease.length=0,this.inc("patch",k),this.inc("pre",k);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",k),this.inc("pre",k);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let N=this.prerelease.length;for(;--N>=0;)typeof this.prerelease[N]=="number"&&(this.prerelease[N]++,N=-2);N===-1&&this.prerelease.push(0)}k&&(y(this.prerelease[0],k)===0?isNaN(this.prerelease[1])&&(this.prerelease=[k,0]):this.prerelease=[k,0]);break;default:throw new Error("invalid increment argument: ".concat(P))}return this.format(),this.raw=this.version,this}};C.exports=A}}),to=we({"node_modules/semver/functions/compare.js"(m,C){Pe();var h=Ki(),D=(x,c,p)=>new h(x,p).compare(new h(c,p));C.exports=D}}),n0=we({"node_modules/semver/functions/lt.js"(m,C){Pe();var h=to(),D=(x,c,p)=>h(x,c,p)<0;C.exports=D}}),i0=we({"node_modules/semver/functions/gte.js"(m,C){Pe();var h=to(),D=(x,c,p)=>h(x,c,p)>=0;C.exports=D}}),s0=we({"src/utils/arrayify.js"(m,C){Pe(),C.exports=(h,D)=>Object.entries(h).map(x=>{let[c,p]=x;return Object.assign({[D]:c},p)})}}),a0=we({"node_modules/outdent/lib/index.js"(m,C){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function h(){for(var j=[],R=0;R<arguments.length;R++)j[R]=arguments[R]}function D(){return typeof WeakMap<"u"?new WeakMap:x()}function x(){return{add:h,delete:h,get:h,set:h,has:function(j){return!1}}}var c=Object.prototype.hasOwnProperty,p=function(j,R){return c.call(j,R)};function g(j,R){for(var q in R)p(R,q)&&(j[q]=R[q]);return j}var y=/^[ \t]*(?:\r\n|\r|\n)/,A=/(?:\r\n|\r|\n)[ \t]*$/,P=/^(?:[\r\n]|$)/,k=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,N=/^[ \t]*[\r\n][ \t\r\n]*$/;function b(j,R,q){var X=0,G=j[0].match(k);G&&(X=G[1].length);var Q="(\\r\\n|\\r|\\n).{0,"+X+"}",I=new RegExp(Q,"g");R&&(j=j.slice(1));var S=q.newline,B=q.trimLeadingNewline,O=q.trimTrailingNewline,v=typeof S=="string",L=j.length,_=j.map(function(z,J){return z=z.replace(I,"$1"),J===0&&B&&(z=z.replace(y,"")),J===L-1&&O&&(z=z.replace(A,"")),v&&(z=z.replace(/\r\n|\n|\r/g,function(U){return S})),z});return _}function F(j,R){for(var q="",X=0,G=j.length;X<G;X++)q+=j[X],X<G-1&&(q+=R[X]);return q}function T(j){return p(j,"raw")&&p(j,"length")}function $(j){var R=D(),q=D();function X(Q){for(var I=[],S=1;S<arguments.length;S++)I[S-1]=arguments[S];if(T(Q)){var B=Q,O=(I[0]===X||I[0]===W)&&N.test(B[0])&&P.test(B[1]),v=O?q:R,L=v.get(B);if(L||(L=b(B,O,j),v.set(B,L)),I.length===0)return L[0];var _=F(L,O?I.slice(1):I);return _}else return $(g(g({},j),Q||{}))}var G=g(X,{string:function(Q){return b([Q],!1,j)[0]}});return G}var W=$({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=W,m.default=W,typeof C<"u")try{C.exports=W,Object.defineProperty(W,"__esModule",{value:!0}),W.default=W,W.outdent=W}catch{}}}),u0=we({"src/main/core-options.js"(m,C){Pe();var{outdent:h}=a0(),D="Config",x="Editor",c="Format",p="Other",g="Output",y="Global",A="Special",P={cursorOffset:{since:"1.4.0",category:A,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:h(at||(at=Wt([`
18
- Print (to stderr) where a cursor at the given position would move to after formatting.
19
- This option cannot be used with --range-start and --range-end.
20
- `]))),cliCategory:x},endOfLine:{since:"1.15.0",category:y,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:h(Et||(Et=Wt([`
21
- Maintain existing
22
- (mixed values within one file are normalised by looking at what's used after the first line)
23
- `])))}]},filepath:{since:"1.4.0",category:A,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:p,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:A,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:p},parser:{since:"0.0.10",category:y,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:k=>typeof k=="string"||typeof k=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:y,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin",cliCategory:D},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:y,description:h(At||(At=Wt([`
24
- Custom directory that contains prettier plugins in node_modules subdirectory.
25
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
26
- Multiple values are accepted.
27
- `]))),exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin-search-dir",cliCategory:D},printWidth:{since:"0.0.0",category:y,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:A,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h(bt||(bt=Wt([`
28
- Format code ending at a given character offset (exclusive).
29
- The range will extend forwards to the end of the selected statement.
30
- This option cannot be used with --cursor-offset.
31
- `]))),cliCategory:x},rangeStart:{since:"1.4.0",category:A,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h(_t||(_t=Wt([`
32
- Format code starting at a given character offset.
33
- The range will extend backwards to the start of the first line containing the selected statement.
34
- This option cannot be used with --cursor-offset.
35
- `]))),cliCategory:x},requirePragma:{since:"1.7.0",category:A,type:"boolean",default:!1,description:h(Lt||(Lt=Wt([`
36
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
37
- in order for it to be formatted.
38
- `]))),cliCategory:p},tabWidth:{type:"int",category:y,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:y,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:y,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};C.exports={CATEGORY_CONFIG:D,CATEGORY_EDITOR:x,CATEGORY_FORMAT:c,CATEGORY_OTHER:p,CATEGORY_OUTPUT:g,CATEGORY_GLOBAL:y,CATEGORY_SPECIAL:A,options:P}}}),ro=we({"src/main/support.js"(m,C){Pe();var h={compare:to(),lt:n0(),gte:i0()},D=s0(),x=bi().version,c=u0().options;function p(){let{plugins:y=[],showUnreleased:A=!1,showDeprecated:P=!1,showInternal:k=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=x.split("-",1)[0],b=y.flatMap(j=>j.languages||[]).filter(T),F=D(Object.assign({},...y.map(j=>{let{options:R}=j;return R}),c),"name").filter(j=>T(j)&&$(j)).sort((j,R)=>j.name===R.name?0:j.name<R.name?-1:1).map(W).map(j=>{j=Object.assign({},j),Array.isArray(j.default)&&(j.default=j.default.length===1?j.default[0].value:j.default.filter(T).sort((q,X)=>h.compare(X.since,q.since))[0].value),Array.isArray(j.choices)&&(j.choices=j.choices.filter(q=>T(q)&&$(q)),j.name==="parser"&&g(j,b,y));let R=Object.fromEntries(y.filter(q=>q.defaultOptions&&q.defaultOptions[j.name]!==void 0).map(q=>[q.name,q.defaultOptions[j.name]]));return Object.assign(Object.assign({},j),{},{pluginDefaults:R})});return{languages:b,options:F};function T(j){return A||!("since"in j)||j.since&&h.gte(N,j.since)}function $(j){return P||!("deprecated"in j)||j.deprecated&&h.lt(N,j.deprecated)}function W(j){return k?j:$t(j,He)}}function g(y,A,P){let k=new Set(y.choices.map(N=>N.value));for(let N of A)if(N.parsers){for(let b of N.parsers)if(!k.has(b)){k.add(b);let F=P.find($=>$.parsers&&$.parsers[b]),T=N.name;F&&F.name&&(T+=" (plugin: ".concat(F.name,")")),y.choices.push({value:b,description:T})}}}C.exports={getSupportInfo:p}}}),no=we({"src/utils/is-non-empty-array.js"(m,C){Pe();function h(D){return Array.isArray(D)&&D.length>0}C.exports=h}}),Ua=we({"src/utils/text/skip.js"(m,C){Pe();function h(g){return(y,A,P)=>{let k=P&&P.backwards;if(A===!1)return!1;let{length:N}=y,b=A;for(;b>=0&&b<N;){let F=y.charAt(b);if(g instanceof RegExp){if(!g.test(F))return b}else if(!g.includes(F))return b;k?b--:b++}return b===-1||b===N?b:!1}}var D=h(/\s/),x=h(" "),c=h(",; "),p=h(/[^\n\r]/);C.exports={skipWhitespace:D,skipSpaces:x,skipToLineEnd:c,skipEverythingButNewLine:p}}}),Zl=we({"src/utils/text/skip-inline-comment.js"(m,C){Pe();function h(D,x){if(x===!1)return!1;if(D.charAt(x)==="/"&&D.charAt(x+1)==="*"){for(let c=x+2;c<D.length;++c)if(D.charAt(c)==="*"&&D.charAt(c+1)==="/")return c+2}return x}C.exports=h}}),ec=we({"src/utils/text/skip-trailing-comment.js"(m,C){Pe();var{skipEverythingButNewLine:h}=Ua();function D(x,c){return c===!1?!1:x.charAt(c)==="/"&&x.charAt(c+1)==="/"?h(x,c):c}C.exports=D}}),tc=we({"src/utils/text/skip-newline.js"(m,C){Pe();function h(D,x,c){let p=c&&c.backwards;if(x===!1)return!1;let g=D.charAt(x);if(p){if(D.charAt(x-1)==="\r"&&g===`
39
- `)return x-2;if(g===`
40
- `||g==="\r"||g==="\u2028"||g==="\u2029")return x-1}else{if(g==="\r"&&D.charAt(x+1)===`
41
- `)return x+2;if(g===`
42
- `||g==="\r"||g==="\u2028"||g==="\u2029")return x+1}return x}C.exports=h}}),o0=we({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,C){Pe();var h=Zl(),D=tc(),x=ec(),{skipSpaces:c}=Ua();function p(g,y){let A=null,P=y;for(;P!==A;)A=P,P=c(g,P),P=h(g,P),P=x(g,P),P=D(g,P);return P}C.exports=p}}),Dr=we({"src/common/util.js"(m,C){Pe();var{default:h}=(Nn(),zr(gr)),D=ur(),{getSupportInfo:x}=ro(),c=no(),p=Ce(),{skipWhitespace:g,skipSpaces:y,skipToLineEnd:A,skipEverythingButNewLine:P}=Ua(),k=Zl(),N=ec(),b=tc(),F=o0(),T=de=>de[de.length-2];function $(de){return(pe,Te,je)=>{let Le=je&&je.backwards;if(Te===!1)return!1;let{length:Qe}=pe,he=Te;for(;he>=0&&he<Qe;){let De=pe.charAt(he);if(de instanceof RegExp){if(!de.test(De))return he}else if(!de.includes(De))return he;Le?he--:he++}return he===-1||he===Qe?he:!1}}function W(de,pe){let Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},je=y(de,Te.backwards?pe-1:pe,Te),Le=b(de,je,Te);return je!==Le}function j(de,pe,Te){for(let je=pe;je<Te;++je)if(de.charAt(je)===`
43
- `)return!0;return!1}function R(de,pe,Te){let je=Te(pe)-1;je=y(de,je,{backwards:!0}),je=b(de,je,{backwards:!0}),je=y(de,je,{backwards:!0});let Le=b(de,je,{backwards:!0});return je!==Le}function q(de,pe){let Te=null,je=pe;for(;je!==Te;)Te=je,je=A(de,je),je=k(de,je),je=y(de,je);return je=N(de,je),je=b(de,je),je!==!1&&W(de,je)}function X(de,pe,Te){return q(de,Te(pe))}function G(de,pe,Te){return F(de,Te(pe))}function Q(de,pe,Te){return de.charAt(G(de,pe,Te))}function I(de,pe){let Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return y(de,Te.backwards?pe-1:pe,Te)!==pe}function S(de,pe){let Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,je=0;for(let Le=Te;Le<de.length;++Le)de[Le]===" "?je=je+pe-je%pe:je++;return je}function B(de,pe){let Te=de.lastIndexOf(`
44
- `);return Te===-1?0:S(de.slice(Te+1).match(/^[\t ]*/)[0],pe)}function O(de,pe){let Te={quote:'"',regex:/"/g,escaped:"&quot;"},je={quote:"'",regex:/'/g,escaped:"&apos;"},Le=pe==="'"?je:Te,Qe=Le===je?Te:je,he=Le;if(de.includes(Le.quote)||de.includes(Qe.quote)){let De=(de.match(Le.regex)||[]).length,$e=(de.match(Qe.regex)||[]).length;he=De>$e?Qe:Le}return he}function v(de,pe){let Te=de.slice(1,-1),je=pe.parser==="json"||pe.parser==="json5"&&pe.quoteProps==="preserve"&&!pe.singleQuote?'"':pe.__isInHtmlAttribute?"'":O(Te,pe.singleQuote?"'":'"').quote;return L(Te,je,!(pe.parser==="css"||pe.parser==="less"||pe.parser==="scss"||pe.__embeddedInHtml))}function L(de,pe,Te){let je=pe==='"'?"'":'"',Le=/\\(.)|(["'])/gs,Qe=de.replace(Le,(he,De,$e)=>De===je?De:$e===pe?"\\"+$e:$e||(Te&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(De)?De:"\\"+De));return pe+Qe+pe}function _(de){return de.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function z(de,pe){let Te=de.match(new RegExp("(".concat(h(pe),")+"),"g"));return Te===null?0:Te.reduce((je,Le)=>Math.max(je,Le.length/pe.length),0)}function J(de,pe){let Te=de.match(new RegExp("(".concat(h(pe),")+"),"g"));if(Te===null)return 0;let je=new Map,Le=0;for(let Qe of Te){let he=Qe.length/pe.length;je.set(he,!0),he>Le&&(Le=he)}for(let Qe=1;Qe<Le;Qe++)if(!je.get(Qe))return Qe;return Le+1}function U(de,pe){(de.comments||(de.comments=[])).push(pe),pe.printed=!1,pe.nodeDescription=ke(de)}function K(de,pe){pe.leading=!0,pe.trailing=!1,U(de,pe)}function se(de,pe,Te){pe.leading=!1,pe.trailing=!1,Te&&(pe.marker=Te),U(de,pe)}function te(de,pe){pe.leading=!1,pe.trailing=!0,U(de,pe)}function fe(de,pe){let{languages:Te}=x({plugins:pe.plugins}),je=Te.find(Le=>{let{name:Qe}=Le;return Qe.toLowerCase()===de})||Te.find(Le=>{let{aliases:Qe}=Le;return Array.isArray(Qe)&&Qe.includes(de)})||Te.find(Le=>{let{extensions:Qe}=Le;return Array.isArray(Qe)&&Qe.includes(".".concat(de))});return je&&je.parsers[0]}function ce(de){return de&&de.type==="front-matter"}function ie(de){let pe=new WeakMap;return function(Te){return pe.has(Te)||pe.set(Te,Symbol(de)),pe.get(Te)}}function ke(de){let pe=de.type||de.kind||"(unknown type)",Te=String(de.name||de.id&&(typeof de.id=="object"?de.id.name:de.id)||de.key&&(typeof de.key=="object"?de.key.name:de.key)||de.value&&(typeof de.value=="object"?"":String(de.value))||de.operator||"");return Te.length>20&&(Te=Te.slice(0,19)+"…"),pe+(Te?" "+Te:"")}C.exports={inferParserByLanguage:fe,getStringWidth:p,getMaxContinuousCount:z,getMinNotPresentContinuousCount:J,getPenultimate:T,getLast:D,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:F,getNextNonSpaceNonCommentCharacterIndex:G,getNextNonSpaceNonCommentCharacter:Q,skip:$,skipWhitespace:g,skipSpaces:y,skipToLineEnd:A,skipEverythingButNewLine:P,skipInlineComment:k,skipTrailingComment:N,skipNewline:b,isNextLineEmptyAfterIndex:q,isNextLineEmpty:X,isPreviousLineEmpty:R,hasNewline:W,hasNewlineInRange:j,hasSpaces:I,getAlignmentSize:S,getIndentSize:B,getPreferredQuote:O,printString:v,printNumber:_,makeString:L,addLeadingComment:K,addDanglingComment:se,addTrailingComment:te,isFrontMatterNode:ce,isNonEmptyArray:c,createGroupIdMapper:ie}}}),rc={};Gn(rc,{basename:()=>uc,default:()=>cc,delimiter:()=>oo,dirname:()=>ac,extname:()=>oc,isAbsolute:()=>so,join:()=>ic,normalize:()=>io,relative:()=>sc,resolve:()=>za,sep:()=>uo});function nc(m,C){for(var h=0,D=m.length-1;D>=0;D--){var x=m[D];x==="."?m.splice(D,1):x===".."?(m.splice(D,1),h++):h&&(m.splice(D,1),h--)}if(C)for(;h--;h)m.unshift("..");return m}function za(){for(var m="",C=!1,h=arguments.length-1;h>=-1&&!C;h--){var D=h>=0?arguments[h]:"/";if(typeof D!="string")throw new TypeError("Arguments to path.resolve must be strings");D&&(m=D+"/"+m,C=D.charAt(0)==="/")}return m=nc(ao(m.split("/"),function(x){return!!x}),!C).join("/"),(C?"/":"")+m||"."}function io(m){var C=so(m),h=pc(m,-1)==="/";return m=nc(ao(m.split("/"),function(D){return!!D}),!C).join("/"),!m&&!C&&(m="."),m&&h&&(m+="/"),(C?"/":"")+m}function so(m){return m.charAt(0)==="/"}function ic(){var m=Array.prototype.slice.call(arguments,0);return io(ao(m,function(C,h){if(typeof C!="string")throw new TypeError("Arguments to path.join must be strings");return C}).join("/"))}function sc(m,C){m=za(m).substr(1),C=za(C).substr(1);function h(A){for(var P=0;P<A.length&&A[P]==="";P++);for(var k=A.length-1;k>=0&&A[k]==="";k--);return P>k?[]:A.slice(P,k-P+1)}for(var D=h(m.split("/")),x=h(C.split("/")),c=Math.min(D.length,x.length),p=c,g=0;g<c;g++)if(D[g]!==x[g]){p=g;break}for(var y=[],g=p;g<D.length;g++)y.push("..");return y=y.concat(x.slice(p)),y.join("/")}function ac(m){var C=qa(m),h=C[0],D=C[1];return!h&&!D?".":(D&&(D=D.substr(0,D.length-1)),h+D)}function uc(m,C){var h=qa(m)[2];return C&&h.substr(-1*C.length)===C&&(h=h.substr(0,h.length-C.length)),h}function oc(m){return qa(m)[3]}function ao(m,C){if(m.filter)return m.filter(C);for(var h=[],D=0;D<m.length;D++)C(m[D],D,m)&&h.push(m[D]);return h}var lc,qa,uo,oo,cc,pc,l0=Ot({"node-modules-polyfills:path"(){Pe(),lc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,qa=function(m){return lc.exec(m).slice(1)},uo="/",oo=":",cc={extname:oc,basename:uc,dirname:ac,sep:uo,delimiter:oo,relative:sc,join:ic,isAbsolute:so,normalize:io,resolve:za},pc="ab".substr(-1)==="b"?function(m,C,h){return m.substr(C,h)}:function(m,C,h){return C<0&&(C=m.length+C),m.substr(C,h)}}}),c0=we({"node-modules-polyfills-commonjs:path"(m,C){Pe();var h=(l0(),zr(rc));if(h&&h.default){C.exports=h.default;for(let D in h)C.exports[D]=h[D]}else h&&(C.exports=h)}}),ua=we({"src/common/errors.js"(m,C){Pe();var h=class extends Error{},D=class extends Error{},x=class extends Error{},c=class extends Error{};C.exports={ConfigError:h,DebugError:D,UndefinedParserError:x,ArgExpansionBailout:c}}}),Ni={};Gn(Ni,{__assign:()=>Ha,__asyncDelegator:()=>A0,__asyncGenerator:()=>E0,__asyncValues:()=>b0,__await:()=>oa,__awaiter:()=>g0,__classPrivateFieldGet:()=>k0,__classPrivateFieldSet:()=>B0,__createBinding:()=>D0,__decorate:()=>f0,__exportStar:()=>y0,__extends:()=>p0,__generator:()=>x0,__importDefault:()=>w0,__importStar:()=>S0,__makeTemplateObject:()=>F0,__metadata:()=>m0,__param:()=>d0,__read:()=>hc,__rest:()=>h0,__spread:()=>v0,__spreadArrays:()=>C0,__values:()=>lo});function p0(m,C){$a(m,C);function h(){this.constructor=m}m.prototype=C===null?Object.create(C):(h.prototype=C.prototype,new h)}function h0(m,C){var h={};for(var D in m)Object.prototype.hasOwnProperty.call(m,D)&&C.indexOf(D)<0&&(h[D]=m[D]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,D=Object.getOwnPropertySymbols(m);x<D.length;x++)C.indexOf(D[x])<0&&Object.prototype.propertyIsEnumerable.call(m,D[x])&&(h[D[x]]=m[D[x]]);return h}function f0(m,C,h,D){var x=arguments.length,c=x<3?C:D===null?D=Object.getOwnPropertyDescriptor(C,h):D,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(m,C,h,D);else for(var g=m.length-1;g>=0;g--)(p=m[g])&&(c=(x<3?p(c):x>3?p(C,h,c):p(C,h))||c);return x>3&&c&&Object.defineProperty(C,h,c),c}function d0(m,C){return function(h,D){C(h,D,m)}}function m0(m,C){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,C)}function g0(m,C,h,D){function x(c){return c instanceof h?c:new h(function(p){p(c)})}return new(h||(h=Promise))(function(c,p){function g(P){try{A(D.next(P))}catch(k){p(k)}}function y(P){try{A(D.throw(P))}catch(k){p(k)}}function A(P){P.done?c(P.value):x(P.value).then(g,y)}A((D=D.apply(m,C||[])).next())})}function x0(m,C){var h={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},D,x,c,p;return p={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function g(A){return function(P){return y([A,P])}}function y(A){if(D)throw new TypeError("Generator is already executing.");for(;h;)try{if(D=1,x&&(c=A[0]&2?x.return:A[0]?x.throw||((c=x.return)&&c.call(x),0):x.next)&&!(c=c.call(x,A[1])).done)return c;switch(x=0,c&&(A=[A[0]&2,c.value]),A[0]){case 0:case 1:c=A;break;case 4:return h.label++,{value:A[1],done:!1};case 5:h.label++,x=A[1],A=[0];continue;case 7:A=h.ops.pop(),h.trys.pop();continue;default:if(c=h.trys,!(c=c.length>0&&c[c.length-1])&&(A[0]===6||A[0]===2)){h=0;continue}if(A[0]===3&&(!c||A[1]>c[0]&&A[1]<c[3])){h.label=A[1];break}if(A[0]===6&&h.label<c[1]){h.label=c[1],c=A;break}if(c&&h.label<c[2]){h.label=c[2],h.ops.push(A);break}c[2]&&h.ops.pop(),h.trys.pop();continue}A=C.call(m,h)}catch(P){A=[6,P],x=0}finally{D=c=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function D0(m,C,h,D){D===void 0&&(D=h),m[D]=C[h]}function y0(m,C){for(var h in m)h!=="default"&&!C.hasOwnProperty(h)&&(C[h]=m[h])}function lo(m){var C=typeof Symbol=="function"&&Symbol.iterator,h=C&&m[C],D=0;if(h)return h.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&D>=m.length&&(m=void 0),{value:m&&m[D++],done:!m}}};throw new TypeError(C?"Object is not iterable.":"Symbol.iterator is not defined.")}function hc(m,C){var h=typeof Symbol=="function"&&m[Symbol.iterator];if(!h)return m;var D=h.call(m),x,c=[],p;try{for(;(C===void 0||C-- >0)&&!(x=D.next()).done;)c.push(x.value)}catch(g){p={error:g}}finally{try{x&&!x.done&&(h=D.return)&&h.call(D)}finally{if(p)throw p.error}}return c}function v0(){for(var m=[],C=0;C<arguments.length;C++)m=m.concat(hc(arguments[C]));return m}function C0(){for(var m=0,C=0,h=arguments.length;C<h;C++)m+=arguments[C].length;for(var D=Array(m),x=0,C=0;C<h;C++)for(var c=arguments[C],p=0,g=c.length;p<g;p++,x++)D[x]=c[p];return D}function oa(m){return this instanceof oa?(this.v=m,this):new oa(m)}function E0(m,C,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var D=h.apply(m,C||[]),x,c=[];return x={},p("next"),p("throw"),p("return"),x[Symbol.asyncIterator]=function(){return this},x;function p(N){D[N]&&(x[N]=function(b){return new Promise(function(F,T){c.push([N,b,F,T])>1||g(N,b)})})}function g(N,b){try{y(D[N](b))}catch(F){k(c[0][3],F)}}function y(N){N.value instanceof oa?Promise.resolve(N.value.v).then(A,P):k(c[0][2],N)}function A(N){g("next",N)}function P(N){g("throw",N)}function k(N,b){N(b),c.shift(),c.length&&g(c[0][0],c[0][1])}}function A0(m){var C,h;return C={},D("next"),D("throw",function(x){throw x}),D("return"),C[Symbol.iterator]=function(){return this},C;function D(x,c){C[x]=m[x]?function(p){return(h=!h)?{value:oa(m[x](p)),done:x==="return"}:c?c(p):p}:c}}function b0(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=m[Symbol.asyncIterator],h;return C?C.call(m):(m=typeof lo=="function"?lo(m):m[Symbol.iterator](),h={},D("next"),D("throw"),D("return"),h[Symbol.asyncIterator]=function(){return this},h);function D(c){h[c]=m[c]&&function(p){return new Promise(function(g,y){p=m[c](p),x(g,y,p.done,p.value)})}}function x(c,p,g,y){Promise.resolve(y).then(function(A){c({value:A,done:g})},p)}}function F0(m,C){return Object.defineProperty?Object.defineProperty(m,"raw",{value:C}):m.raw=C,m}function S0(m){if(m&&m.__esModule)return m;var C={};if(m!=null)for(var h in m)Object.hasOwnProperty.call(m,h)&&(C[h]=m[h]);return C.default=m,C}function w0(m){return m&&m.__esModule?m:{default:m}}function k0(m,C){if(!C.has(m))throw new TypeError("attempted to get private field on non-instance");return C.get(m)}function B0(m,C,h){if(!C.has(m))throw new TypeError("attempted to set private field on non-instance");return C.set(m,h),h}var $a,Ha,Yi=Ot({"node_modules/tslib/tslib.es6.js"(){Pe(),$a=function(m,C){return $a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,D){h.__proto__=D}||function(h,D){for(var x in D)D.hasOwnProperty(x)&&(h[x]=D[x])},$a(m,C)},Ha=function(){return Ha=Object.assign||function(m){for(var C,h=1,D=arguments.length;h<D;h++){C=arguments[h];for(var x in C)Object.prototype.hasOwnProperty.call(C,x)&&(m[x]=C[x])}return m},Ha.apply(this,arguments)}}}),fc=we({"node_modules/vnopts/lib/descriptors/api.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:C=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(C)?C:JSON.stringify(C),value(C){if(C===null||typeof C!="object")return JSON.stringify(C);if(Array.isArray(C))return"[".concat(C.map(D=>m.apiDescriptor.value(D)).join(", "),"]");let h=Object.keys(C);return h.length===0?"{}":"{ ".concat(h.map(D=>"".concat(m.apiDescriptor.key(D),": ").concat(m.apiDescriptor.value(C[D]))).join(", ")," }")},pair:C=>{let{key:h,value:D}=C;return m.apiDescriptor.value({[h]:D})}}}}),T0=we({"node_modules/vnopts/lib/descriptors/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(fc(),m)}}),Wa=we({"scripts/build/shims/chalk.cjs"(m,C){Pe();var h=D=>D;h.grey=h,h.red=h,h.bold=h,h.yellow=h,h.blue=h,h.default=h,C.exports=h}}),dc=we({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Wa();m.commonDeprecatedHandler=(h,D,x)=>{let{descriptor:c}=x,p=["".concat(C.default.yellow(typeof h=="string"?c.key(h):c.pair(h))," is deprecated")];return D&&p.push("we now treat it as ".concat(C.default.blue(typeof D=="string"?c.key(D):c.pair(D)))),p.join("; ")+"."}}}),_0=we({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(dc(),m)}}),N0=we({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Wa();m.commonInvalidHandler=(h,D,x)=>["Invalid ".concat(C.default.red(x.descriptor.key(h))," value."),"Expected ".concat(C.default.blue(x.schemas[h].expected(x)),","),"but received ".concat(C.default.red(x.descriptor.value(D)),".")].join(" ")}}),mc=we({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(N0(),m)}}),I0=we({"node_modules/vnopts/node_modules/leven/index.js"(m,C){Pe();var h=[],D=[];C.exports=function(x,c){if(x===c)return 0;var p=x;x.length>c.length&&(x=c,c=p);var g=x.length,y=c.length;if(g===0)return y;if(y===0)return g;for(;g>0&&x.charCodeAt(~-g)===c.charCodeAt(~-y);)g--,y--;if(g===0)return y;for(var A=0;A<g&&x.charCodeAt(A)===c.charCodeAt(A);)A++;if(g-=A,y-=A,g===0)return y;for(var P,k,N,b,F=0,T=0;F<g;)D[A+F]=x.charCodeAt(A+F),h[F]=++F;for(;T<y;)for(P=c.charCodeAt(A+T),N=T++,k=T,F=0;F<g;F++)b=P===D[A+F]?N:N+1,N=h[F],k=h[F]=N>k?b>k?k+1:b:b>N?N+1:b;return k}}}),gc=we({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Wa(),h=I0();m.levenUnknownHandler=(D,x,c)=>{let{descriptor:p,logger:g,schemas:y}=c,A=["Ignored unknown option ".concat(C.default.yellow(p.pair({key:D,value:x})),".")],P=Object.keys(y).sort().find(k=>h(D,k)<3);P&&A.push("Did you mean ".concat(C.default.blue(p.key(P)),"?")),g.warn(A.join(" "))}}}),P0=we({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(gc(),m)}}),L0=we({"node_modules/vnopts/lib/handlers/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(_0(),m),C.__exportStar(mc(),m),C.__exportStar(P0(),m)}}),Zi=we({"node_modules/vnopts/lib/schema.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function h(c,p){let g=new c(p),y=Object.create(g);for(let A of C)A in p&&(y[A]=x(p[A],g,D.prototype[A].length));return y}m.createSchema=h;var D=class{constructor(c){this.name=c.name}static create(c){return h(this,c)}default(c){}expected(c){return"nothing"}validate(c,p){return!1}deprecated(c,p){return!1}forward(c,p){}redirect(c,p){}overlap(c,p,g){return c}preprocess(c,p){return c}postprocess(c,p){return c}};m.Schema=D;function x(c,p,g){return typeof c=="function"?function(){for(var y=arguments.length,A=new Array(y),P=0;P<y;P++)A[P]=arguments[P];return c(...A.slice(0,g-1),p,...A.slice(g-1))}:()=>c}}}),O0=we({"node_modules/vnopts/lib/schemas/alias.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Zi(),h=class extends C.Schema{constructor(D){super(D),this._sourceName=D.sourceName}expected(D){return D.schemas[this._sourceName].expected(D)}validate(D,x){return x.schemas[this._sourceName].validate(D,x)}redirect(D,x){return this._sourceName}};m.AliasSchema=h}}),j0=we({"node_modules/vnopts/lib/schemas/any.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Zi(),h=class extends C.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=h}}),V0=we({"node_modules/vnopts/lib/schemas/array.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni)),h=Zi(),D=class extends h.Schema{constructor(c){var{valueSchema:p,name:g=p.name}=c,y=C.__rest(c,["valueSchema","name"]);super(Object.assign({},y,{name:g})),this._valueSchema=p}expected(c){return"an array of ".concat(this._valueSchema.expected(c))}validate(c,p){if(!Array.isArray(c))return!1;let g=[];for(let y of c){let A=p.normalizeValidateResult(this._valueSchema.validate(y,p),y);A!==!0&&g.push(A.value)}return g.length===0?!0:{value:g}}deprecated(c,p){let g=[];for(let y of c){let A=p.normalizeDeprecatedResult(this._valueSchema.deprecated(y,p),y);A!==!1&&g.push(...A.map(P=>{let{value:k}=P;return{value:[k]}}))}return g}forward(c,p){let g=[];for(let y of c){let A=p.normalizeForwardResult(this._valueSchema.forward(y,p),y);g.push(...A.map(x))}return g}redirect(c,p){let g=[],y=[];for(let A of c){let P=p.normalizeRedirectResult(this._valueSchema.redirect(A,p),A);"remain"in P&&g.push(P.remain),y.push(...P.redirect.map(x))}return g.length===0?{redirect:y}:{redirect:y,remain:g}}overlap(c,p){return c.concat(p)}};m.ArraySchema=D;function x(c){let{from:p,to:g}=c;return{from:[p],to:g}}}}),M0=we({"node_modules/vnopts/lib/schemas/boolean.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Zi(),h=class extends C.Schema{expected(){return"true or false"}validate(D){return typeof D=="boolean"}};m.BooleanSchema=h}}),co=we({"node_modules/vnopts/lib/utils.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});function C(b,F){let T=Object.create(null);for(let $ of b){let W=$[F];if(T[W])throw new Error("Duplicate ".concat(F," ").concat(JSON.stringify(W)));T[W]=$}return T}m.recordFromArray=C;function h(b,F){let T=new Map;for(let $ of b){let W=$[F];if(T.has(W))throw new Error("Duplicate ".concat(F," ").concat(JSON.stringify(W)));T.set(W,$)}return T}m.mapFromArray=h;function D(){let b=Object.create(null);return F=>{let T=JSON.stringify(F);return b[T]?!0:(b[T]=!0,!1)}}m.createAutoChecklist=D;function x(b,F){let T=[],$=[];for(let W of b)F(W)?T.push(W):$.push(W);return[T,$]}m.partition=x;function c(b){return b===Math.floor(b)}m.isInt=c;function p(b,F){if(b===F)return 0;let T=typeof b,$=typeof F,W=["undefined","object","boolean","number","string"];return T!==$?W.indexOf(T)-W.indexOf($):T!=="string"?Number(b)-Number(F):b.localeCompare(F)}m.comparePrimitive=p;function g(b){return b===void 0?{}:b}m.normalizeDefaultResult=g;function y(b,F){return b===!0?!0:b===!1?{value:F}:b}m.normalizeValidateResult=y;function A(b,F){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return b===!1?!1:b===!0?T?!0:[{value:F}]:"value"in b?[b]:b.length===0?!1:b}m.normalizeDeprecatedResult=A;function P(b,F){return typeof b=="string"||"key"in b?{from:F,to:b}:"from"in b?{from:b.from,to:b.to}:{from:F,to:b.to}}m.normalizeTransferResult=P;function k(b,F){return b===void 0?[]:Array.isArray(b)?b.map(T=>P(T,F)):[P(b,F)]}m.normalizeForwardResult=k;function N(b,F){let T=k(typeof b=="object"&&"redirect"in b?b.redirect:b,F);return T.length===0?{remain:F,redirect:T}:typeof b=="object"&&"remain"in b?{remain:b.remain,redirect:T}:{redirect:T}}m.normalizeRedirectResult=N}}),R0=we({"node_modules/vnopts/lib/schemas/choice.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Zi(),h=co(),D=class extends C.Schema{constructor(x){super(x),this._choices=h.mapFromArray(x.choices.map(c=>c&&typeof c=="object"?c:{value:c}),"value")}expected(x){let{descriptor:c}=x,p=Array.from(this._choices.keys()).map(A=>this._choices.get(A)).filter(A=>!A.deprecated).map(A=>A.value).sort(h.comparePrimitive).map(c.value),g=p.slice(0,-2),y=p.slice(-2);return g.concat(y.join(" or ")).join(", ")}validate(x){return this._choices.has(x)}deprecated(x){let c=this._choices.get(x);return c&&c.deprecated?{value:x}:!1}forward(x){let c=this._choices.get(x);return c?c.forward:void 0}redirect(x){let c=this._choices.get(x);return c?c.redirect:void 0}};m.ChoiceSchema=D}}),xc=we({"node_modules/vnopts/lib/schemas/number.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Zi(),h=class extends C.Schema{expected(){return"a number"}validate(D,x){return typeof D=="number"}};m.NumberSchema=h}}),J0=we({"node_modules/vnopts/lib/schemas/integer.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=co(),h=xc(),D=class extends h.NumberSchema{expected(){return"an integer"}validate(x,c){return c.normalizeValidateResult(super.validate(x,c),x)===!0&&C.isInt(x)}};m.IntegerSchema=D}}),U0=we({"node_modules/vnopts/lib/schemas/string.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Zi(),h=class extends C.Schema{expected(){return"a string"}validate(D){return typeof D=="string"}};m.StringSchema=h}}),z0=we({"node_modules/vnopts/lib/schemas/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(O0(),m),C.__exportStar(j0(),m),C.__exportStar(V0(),m),C.__exportStar(M0(),m),C.__exportStar(R0(),m),C.__exportStar(J0(),m),C.__exportStar(xc(),m),C.__exportStar(U0(),m)}}),q0=we({"node_modules/vnopts/lib/defaults.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=fc(),h=dc(),D=mc(),x=gc();m.defaultDescriptor=C.apiDescriptor,m.defaultUnknownHandler=x.levenUnknownHandler,m.defaultInvalidHandler=D.commonInvalidHandler,m.defaultDeprecatedHandler=h.commonDeprecatedHandler}}),$0=we({"node_modules/vnopts/lib/normalize.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=q0(),h=co();m.normalize=(x,c,p)=>new D(c,p).normalize(x);var D=class{constructor(x,c){let{logger:p=console,descriptor:g=C.defaultDescriptor,unknown:y=C.defaultUnknownHandler,invalid:A=C.defaultInvalidHandler,deprecated:P=C.defaultDeprecatedHandler}=c||{};this._utils={descriptor:g,logger:p||{warn:()=>{}},schemas:h.recordFromArray(x,"name"),normalizeDefaultResult:h.normalizeDefaultResult,normalizeDeprecatedResult:h.normalizeDeprecatedResult,normalizeForwardResult:h.normalizeForwardResult,normalizeRedirectResult:h.normalizeRedirectResult,normalizeValidateResult:h.normalizeValidateResult},this._unknownHandler=y,this._invalidHandler=A,this._deprecatedHandler=P,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=h.createAutoChecklist()}normalize(x){let c={},p=[x],g=()=>{for(;p.length!==0;){let y=p.shift(),A=this._applyNormalization(y,c);p.push(...A)}};g();for(let y of Object.keys(this._utils.schemas)){let A=this._utils.schemas[y];if(!(y in c)){let P=h.normalizeDefaultResult(A.default(this._utils));"value"in P&&p.push({[y]:P.value})}}g();for(let y of Object.keys(this._utils.schemas)){let A=this._utils.schemas[y];y in c&&(c[y]=A.postprocess(c[y],this._utils))}return c}_applyNormalization(x,c){let p=[],[g,y]=h.partition(Object.keys(x),A=>A in this._utils.schemas);for(let A of g){let P=this._utils.schemas[A],k=P.preprocess(x[A],this._utils),N=h.normalizeValidateResult(P.validate(k,this._utils),k);if(N!==!0){let{value:$}=N,W=this._invalidHandler(A,$,this._utils);throw typeof W=="string"?new Error(W):W}let b=$=>{let{from:W,to:j}=$;p.push(typeof j=="string"?{[j]:W}:{[j.key]:j.value})},F=$=>{let{value:W,redirectTo:j}=$,R=h.normalizeDeprecatedResult(P.deprecated(W,this._utils),k,!0);if(R!==!1)if(R===!0)this._hasDeprecationWarned(A)||this._utils.logger.warn(this._deprecatedHandler(A,j,this._utils));else for(let{value:q}of R){let X={key:A,value:q};if(!this._hasDeprecationWarned(X)){let G=typeof j=="string"?{key:j,value:q}:j;this._utils.logger.warn(this._deprecatedHandler(X,G,this._utils))}}};h.normalizeForwardResult(P.forward(k,this._utils),k).forEach(b);let T=h.normalizeRedirectResult(P.redirect(k,this._utils),k);if(T.redirect.forEach(b),"remain"in T){let $=T.remain;c[A]=A in c?P.overlap(c[A],$,this._utils):$,F({value:$})}for(let{from:$,to:W}of T.redirect)F({value:$,redirectTo:W})}for(let A of y){let P=x[A],k=this._unknownHandler(A,P,this._utils);if(k)for(let N of Object.keys(k)){let b={[N]:k[N]};N in this._utils.schemas?p.push(b):Object.assign(c,b)}}return p}};m.Normalizer=D}}),H0=we({"node_modules/vnopts/lib/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=(Yi(),zr(Ni));C.__exportStar(T0(),m),C.__exportStar(L0(),m),C.__exportStar(z0(),m),C.__exportStar($0(),m),C.__exportStar(Zi(),m)}}),W0=we({"src/main/options-normalizer.js"(m,C){Pe();var h=H0(),D=ur(),x={key:N=>N.length===1?"-".concat(N):"--".concat(N),value:N=>h.apiDescriptor.value(N),pair:N=>{let{key:b,value:F}=N;return F===!1?"--no-".concat(b):F===!0?x.key(b):F===""?"".concat(x.key(b)," without an argument"):"".concat(x.key(b),"=").concat(F)}},c=N=>{let{colorsModule:b,levenshteinDistance:F}=N;return class extends h.ChoiceSchema{constructor(T){let{name:$,flags:W}=T;super({name:$,choices:W}),this._flags=[...W].sort()}preprocess(T,$){if(typeof T=="string"&&T.length>0&&!this._flags.includes(T)){let W=this._flags.find(j=>F(j,T)<3);if(W)return $.logger.warn(["Unknown flag ".concat(b.yellow($.descriptor.value(T)),","),"did you mean ".concat(b.blue($.descriptor.value(W)),"?")].join(" ")),W}return T}expected(){return"a flag"}}},p;function g(N,b){let{logger:F=!1,isCLI:T=!1,passThrough:$=!1,colorsModule:W=null,levenshteinDistance:j=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},R=$?Array.isArray($)?(S,B)=>$.includes(S)?{[S]:B}:void 0:(S,B)=>({[S]:B}):(S,B,O)=>{let v=O.schemas,L=$t(v,Ye);return h.levenUnknownHandler(S,B,Object.assign(Object.assign({},O),{},{schemas:L}))},q=T?x:h.apiDescriptor,X=y(b,{isCLI:T,colorsModule:W,levenshteinDistance:j}),G=new h.Normalizer(X,{logger:F,unknown:R,descriptor:q}),Q=F!==!1;Q&&p&&(G._hasDeprecationWarned=p);let I=G.normalize(N);return Q&&(p=G._hasDeprecationWarned),T&&I["plugin-search"]===!1&&(I["plugin-search-dir"]=!1),I}function y(N,b){let{isCLI:F,colorsModule:T,levenshteinDistance:$}=b,W=[];F&&W.push(h.AnySchema.create({name:"_"}));for(let j of N)W.push(A(j,{isCLI:F,optionInfos:N,colorsModule:T,levenshteinDistance:$})),j.alias&&F&&W.push(h.AliasSchema.create({name:j.alias,sourceName:j.name}));return W}function A(N,b){let{isCLI:F,optionInfos:T,colorsModule:$,levenshteinDistance:W}=b,{name:j}=N;if(j==="plugin-search-dir"||j==="pluginSearchDirs")return h.AnySchema.create({name:j,preprocess(G){return G===!1||(G=Array.isArray(G)?G:[G]),G},validate(G){return G===!1?!0:G.every(Q=>typeof Q=="string")},expected(){return"false or paths to plugin search dir"}});let R={name:j},q,X={};switch(N.type){case"int":q=h.IntegerSchema,F&&(R.preprocess=Number);break;case"string":q=h.StringSchema;break;case"choice":q=h.ChoiceSchema,R.choices=N.choices.map(G=>typeof G=="object"&&G.redirect?Object.assign(Object.assign({},G),{},{redirect:{to:{key:N.name,value:G.redirect}}}):G);break;case"boolean":q=h.BooleanSchema;break;case"flag":q=c({colorsModule:$,levenshteinDistance:W}),R.flags=T.flatMap(G=>[G.alias,G.description&&G.name,G.oppositeDescription&&"no-".concat(G.name)].filter(Boolean));break;case"path":q=h.StringSchema;break;default:throw new Error("Unexpected type ".concat(N.type))}if(N.exception?R.validate=(G,Q,I)=>N.exception(G)||Q.validate(G,I):R.validate=(G,Q,I)=>G===void 0||Q.validate(G,I),N.redirect&&(X.redirect=G=>G?{to:{key:N.redirect.option,value:N.redirect.value}}:void 0),N.deprecated&&(X.deprecated=!0),F&&!N.array){let G=R.preprocess||(Q=>Q);R.preprocess=(Q,I,S)=>I.preprocess(G(Array.isArray(Q)?D(Q):Q),S)}return N.array?h.ArraySchema.create(Object.assign(Object.assign(Object.assign({},F?{preprocess:G=>Array.isArray(G)?G:[G]}:{}),X),{},{valueSchema:q.create(R)})):q.create(Object.assign(Object.assign({},R),X))}function P(N,b,F){return g(N,b,F)}function k(N,b,F){return g(N,b,Object.assign({isCLI:!0},F))}C.exports={normalizeApiOptions:P,normalizeCliOptions:k}}}),Rn=we({"src/language-js/loc.js"(m,C){Pe();var h=no();function D(y,A){let{ignoreDecorators:P}=A||{};if(!P){let k=y.declaration&&y.declaration.decorators||y.decorators;if(h(k))return D(k[0])}return y.range?y.range[0]:y.start}function x(y){return y.range?y.range[1]:y.end}function c(y,A){let P=D(y);return Number.isInteger(P)&&P===D(A)}function p(y,A){let P=x(y);return Number.isInteger(P)&&P===x(A)}function g(y,A){return c(y,A)&&p(y,A)}C.exports={locStart:D,locEnd:x,hasSameLocStart:c,hasSameLoc:g}}}),G0=we({"src/main/load-parser.js"(m,C){Pe(),C.exports=()=>{}}}),X0=we({"scripts/build/shims/babel-highlight.cjs"(m,C){Pe();var h=Wa(),D={shouldHighlight:()=>!1,getChalk:()=>h};C.exports=D}}),Q0=we({"node_modules/@babel/code-frame/lib/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=p,m.default=g;var C=X0(),h=!1;function D(y){return{gutter:y.grey,marker:y.red.bold,message:y.red.bold}}var x=/\r\n|[\n\r\u2028\u2029]/;function c(y,A,P){let k=Object.assign({column:0,line:-1},y.start),N=Object.assign({},k,y.end),{linesAbove:b=2,linesBelow:F=3}=P||{},T=k.line,$=k.column,W=N.line,j=N.column,R=Math.max(T-(b+1),0),q=Math.min(A.length,W+F);T===-1&&(R=0),W===-1&&(q=A.length);let X=W-T,G={};if(X)for(let Q=0;Q<=X;Q++){let I=Q+T;if(!$)G[I]=!0;else if(Q===0){let S=A[I-1].length;G[I]=[$,S-$+1]}else if(Q===X)G[I]=[0,j];else{let S=A[I-Q].length;G[I]=[0,S]}}else $===j?$?G[T]=[$,0]:G[T]=!0:G[T]=[$,j-$];return{start:R,end:q,markerLines:G}}function p(y,A){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=(P.highlightCode||P.forceColor)&&(0,C.shouldHighlight)(P),N=(0,C.getChalk)(P),b=D(N),F=(G,Q)=>k?G(Q):Q,T=y.split(x),{start:$,end:W,markerLines:j}=c(A,T,P),R=A.start&&typeof A.start.column=="number",q=String(W).length,X=(k?(0,C.default)(y,P):y).split(x,W).slice($,W).map((G,Q)=>{let I=$+1+Q,S=" ".concat(I).slice(-q),B=" ".concat(S," |"),O=j[I],v=!j[I+1];if(O){let L="";if(Array.isArray(O)){let _=G.slice(0,Math.max(O[0]-1,0)).replace(/[^\t]/g," "),z=O[1]||1;L=[`
45
- `,F(b.gutter,B.replace(/\d/g," "))," ",_,F(b.marker,"^").repeat(z)].join(""),v&&P.message&&(L+=" "+F(b.message,P.message))}return[F(b.marker,">"),F(b.gutter,B),G.length>0?" ".concat(G):"",L].join("")}else return" ".concat(F(b.gutter,B)).concat(G.length>0?" ".concat(G):"")}).join(`
46
- `);return P.message&&!R&&(X="".concat(" ".repeat(q+1)).concat(P.message,`
47
- `).concat(X)),k?N.reset(X):X}function g(y,A,P){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!h){h=!0;let N="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(bn.emitWarning)bn.emitWarning(N,"DeprecationWarning");else{let b=new Error(N);b.name="DeprecationWarning",console.warn(new Error(N))}}return P=Math.max(P,0),p(y,{start:{column:P,line:A}},k)}}}),po=we({"src/main/parser.js"(m,C){Pe();var{ConfigError:h}=ua(),D=Rn();G0();var{locStart:x,locEnd:c}=D,p=Object.getOwnPropertyNames,g=Object.getOwnPropertyDescriptor;function y(k){let N={};for(let b of k.plugins)if(b.parsers)for(let F of p(b.parsers))Object.defineProperty(N,F,g(b.parsers,F));return N}function A(k){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y(k);if(typeof k.parser=="function")return{parse:k.parser,astFormat:"estree",locStart:x,locEnd:c};if(typeof k.parser=="string"){if(Object.prototype.hasOwnProperty.call(N,k.parser))return N[k.parser];throw new h(`Couldn't resolve parser "`.concat(k.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function P(k,N){let b=y(N),F=Object.defineProperties({},Object.fromEntries(Object.keys(b).map($=>[$,{enumerable:!0,get(){return b[$].parse}}]))),T=A(N,b);try{return T.preprocess&&(k=T.preprocess(k,N)),{text:k,ast:T.parse(k,F,N)}}catch($){let{loc:W}=$;if(W){let{codeFrameColumns:j}=Q0();throw $.codeFrame=j(k,W,{highlightCode:!0}),$.message+=`
48
- `+$.codeFrame,$}throw $.stack}}C.exports={parse:P,resolveParser:A}}}),Dc=we({"src/main/options.js"(m,C){Pe();var h=c0(),{UndefinedParserError:D}=ua(),{getSupportInfo:x}=ro(),c=W0(),{resolveParser:p}=po(),g={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function y(k){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=Object.assign({},k),F=x({plugins:k.plugins,showUnreleased:!0,showDeprecated:!0}).options,T=Object.assign(Object.assign({},g),Object.fromEntries(F.filter(q=>q.default!==void 0).map(q=>[q.name,q.default])));if(!b.parser){if(!b.filepath)(N.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),b.parser="babel";else if(b.parser=P(b.filepath,b.plugins),!b.parser)throw new D("No parser could be inferred for file: ".concat(b.filepath))}let $=p(c.normalizeApiOptions(b,[F.find(q=>q.name==="parser")],{passThrough:!0,logger:!1}));b.astFormat=$.astFormat,b.locEnd=$.locEnd,b.locStart=$.locStart;let W=A(b);b.printer=W.printers[b.astFormat];let j=Object.fromEntries(F.filter(q=>q.pluginDefaults&&q.pluginDefaults[W.name]!==void 0).map(q=>[q.name,q.pluginDefaults[W.name]])),R=Object.assign(Object.assign({},T),j);for(let[q,X]of Object.entries(R))(b[q]===null||b[q]===void 0)&&(b[q]=X);return b.parser==="json"&&(b.trailingComma="none"),c.normalizeApiOptions(b,F,Object.assign({passThrough:Object.keys(g)},N))}function A(k){let{astFormat:N}=k;if(!N)throw new Error("getPlugin() requires astFormat to be set");let b=k.plugins.find(F=>F.printers&&F.printers[N]);if(!b)throw new Error(`Couldn't find plugin for AST format "`.concat(N,'"'));return b}function P(k,N){let b=h.basename(k).toLowerCase(),F=x({plugins:N}).languages.filter(T=>T.since!==null).find(T=>T.extensions&&T.extensions.some($=>b.endsWith($))||T.filenames&&T.filenames.some($=>$.toLowerCase()===b));return F&&F.parsers[0]}C.exports={normalize:y,hiddenDefaults:g,inferParser:P}}}),K0=we({"src/main/massage-ast.js"(m,C){Pe();function h(D,x,c){if(Array.isArray(D))return D.map(A=>h(A,x,c)).filter(Boolean);if(!D||typeof D!="object")return D;let p=x.printer.massageAstNode,g;p&&p.ignoredProperties?g=p.ignoredProperties:g=new Set;let y={};for(let[A,P]of Object.entries(D))!g.has(A)&&typeof P!="function"&&(y[A]=h(P,x,D));if(p){let A=p(D,y,c);if(A===null)return;if(A)return A}return y}C.exports=h}}),la=we({"scripts/build/shims/assert.cjs"(m,C){Pe();var h=()=>{};h.ok=h,h.strictEqual=h,C.exports=h}}),An=we({"src/main/comments.js"(m,C){Pe();var h=la(),{builders:{line:D,hardline:x,breakParent:c,indent:p,lineSuffix:g,join:y,cursor:A}}=dt(),{hasNewline:P,skipNewline:k,skipSpaces:N,isPreviousLineEmpty:b,addLeadingComment:F,addDanglingComment:T,addTrailingComment:$}=Dr(),W=new WeakMap;function j(K,se,te){if(!K)return;let{printer:fe,locStart:ce,locEnd:ie}=se;if(te){if(fe.canAttachComment&&fe.canAttachComment(K)){let de;for(de=te.length-1;de>=0&&!(ce(te[de])<=ce(K)&&ie(te[de])<=ie(K));--de);te.splice(de+1,0,K);return}}else if(W.has(K))return W.get(K);let ke=fe.getCommentChildNodes&&fe.getCommentChildNodes(K,se)||typeof K=="object"&&Object.entries(K).filter(de=>{let[pe]=de;return pe!=="enclosingNode"&&pe!=="precedingNode"&&pe!=="followingNode"&&pe!=="tokens"&&pe!=="comments"&&pe!=="parent"}).map(de=>{let[,pe]=de;return pe});if(ke){te||(te=[],W.set(K,te));for(let de of ke)j(de,se,te);return te}}function R(K,se,te,fe){let{locStart:ce,locEnd:ie}=te,ke=ce(se),de=ie(se),pe=j(K,te),Te,je,Le=0,Qe=pe.length;for(;Le<Qe;){let he=Le+Qe>>1,De=pe[he],$e=ce(De),Ze=ie(De);if($e<=ke&&de<=Ze)return R(De,se,te,De);if(Ze<=ke){Te=De,Le=he+1;continue}if(de<=$e){je=De,Qe=he;continue}throw new Error("Comment location overlaps with node location")}if(fe&&fe.type==="TemplateLiteral"){let{quasis:he}=fe,De=O(he,se,te);Te&&O(he,Te,te)!==De&&(Te=null),je&&O(he,je,te)!==De&&(je=null)}return{enclosingNode:fe,precedingNode:Te,followingNode:je}}var q=()=>!1;function X(K,se,te,fe){if(!Array.isArray(K))return;let ce=[],{locStart:ie,locEnd:ke,printer:{handleComments:de={}}}=fe,{avoidAstMutation:pe,ownLine:Te=q,endOfLine:je=q,remaining:Le=q}=de,Qe=K.map((he,De)=>Object.assign(Object.assign({},R(se,he,fe)),{},{comment:he,text:te,options:fe,ast:se,isLastComment:K.length-1===De}));for(let[he,De]of Qe.entries()){let{comment:$e,precedingNode:Ze,enclosingNode:ze,followingNode:ge,text:ve,options:Ee,ast:We,isLastComment:st}=De;if(Ee.parser==="json"||Ee.parser==="json5"||Ee.parser==="__js_expression"||Ee.parser==="__vue_expression"||Ee.parser==="__vue_ts_expression"){if(ie($e)-ie(We)<=0){F(We,$e);continue}if(ke($e)-ke(We)>=0){$(We,$e);continue}}let yt;if(pe?yt=[De]:($e.enclosingNode=ze,$e.precedingNode=Ze,$e.followingNode=ge,yt=[$e,ve,Ee,We,st]),Q(ve,Ee,Qe,he))$e.placement="ownLine",Te(...yt)||(ge?F(ge,$e):Ze?$(Ze,$e):T(ze||We,$e));else if(I(ve,Ee,Qe,he))$e.placement="endOfLine",je(...yt)||(Ze?$(Ze,$e):ge?F(ge,$e):T(ze||We,$e));else if($e.placement="remaining",!Le(...yt))if(Ze&&ge){let jt=ce.length;jt>0&&ce[jt-1].followingNode!==ge&&S(ce,ve,Ee),ce.push(De)}else Ze?$(Ze,$e):ge?F(ge,$e):T(ze||We,$e)}if(S(ce,te,fe),!pe)for(let he of K)delete he.precedingNode,delete he.enclosingNode,delete he.followingNode}var G=K=>!/[\S\n\u2028\u2029]/.test(K);function Q(K,se,te,fe){let{comment:ce,precedingNode:ie}=te[fe],{locStart:ke,locEnd:de}=se,pe=ke(ce);if(ie)for(let Te=fe-1;Te>=0;Te--){let{comment:je,precedingNode:Le}=te[Te];if(Le!==ie||!G(K.slice(de(je),pe)))break;pe=ke(je)}return P(K,pe,{backwards:!0})}function I(K,se,te,fe){let{comment:ce,followingNode:ie}=te[fe],{locStart:ke,locEnd:de}=se,pe=de(ce);if(ie)for(let Te=fe+1;Te<te.length;Te++){let{comment:je,followingNode:Le}=te[Te];if(Le!==ie||!G(K.slice(pe,ke(je))))break;pe=de(je)}return P(K,pe)}function S(K,se,te){let fe=K.length;if(fe===0)return;let{precedingNode:ce,followingNode:ie,enclosingNode:ke}=K[0],de=te.printer.getGapRegex&&te.printer.getGapRegex(ke)||/^[\s(]*$/,pe=te.locStart(ie),Te;for(Te=fe;Te>0;--Te){let{comment:je,precedingNode:Le,followingNode:Qe}=K[Te-1];h.strictEqual(Le,ce),h.strictEqual(Qe,ie);let he=se.slice(te.locEnd(je),pe);if(de.test(he))pe=te.locStart(je);else break}for(let[je,{comment:Le}]of K.entries())je<Te?$(ce,Le):F(ie,Le);for(let je of[ce,ie])je.comments&&je.comments.length>1&&je.comments.sort((Le,Qe)=>te.locStart(Le)-te.locStart(Qe));K.length=0}function B(K,se){let te=K.getValue();return te.printed=!0,se.printer.printComment(K,se)}function O(K,se,te){let fe=te.locStart(se)-1;for(let ce=1;ce<K.length;++ce)if(fe<te.locStart(K[ce]))return ce-1;return 0}function v(K,se){let te=K.getValue(),fe=[B(K,se)],{printer:ce,originalText:ie,locStart:ke,locEnd:de}=se;if(ce.isBlockComment&&ce.isBlockComment(te)){let Te=P(ie,de(te))?P(ie,ke(te),{backwards:!0})?x:D:" ";fe.push(Te)}else fe.push(x);let pe=k(ie,N(ie,de(te)));return pe!==!1&&P(ie,pe)&&fe.push(x),fe}function L(K,se){let te=K.getValue(),fe=B(K,se),{printer:ce,originalText:ie,locStart:ke}=se,de=ce.isBlockComment&&ce.isBlockComment(te);if(P(ie,ke(te),{backwards:!0})){let Te=b(ie,te,ke);return g([x,Te?x:"",fe])}let pe=[" ",fe];return de||(pe=[g(pe),c]),pe}function _(K,se,te,fe){let ce=[],ie=K.getValue();return!ie||!ie.comments||(K.each(()=>{let ke=K.getValue();!ke.leading&&!ke.trailing&&(!fe||fe(ke))&&ce.push(B(K,se))},"comments"),ce.length===0)?"":te?y(x,ce):p([x,y(x,ce)])}function z(K,se,te){let fe=K.getValue();if(!fe)return{};let ce=fe.comments||[];te&&(ce=ce.filter(pe=>!te.has(pe)));let ie=fe===se.cursorNode;if(ce.length===0){let pe=ie?A:"";return{leading:pe,trailing:pe}}let ke=[],de=[];return K.each(()=>{let pe=K.getValue();if(te&&te.has(pe))return;let{leading:Te,trailing:je}=pe;Te?ke.push(v(K,se)):je&&de.push(L(K,se))},"comments"),ie&&(ke.unshift(A),de.push(A)),{leading:ke,trailing:de}}function J(K,se,te,fe){let{leading:ce,trailing:ie}=z(K,te,fe);return!ce&&!ie?se:[ce,se,ie]}function U(K){if(K)for(let se of K){if(!se.printed)throw new Error('Comment "'+se.value.trim()+'" was not printed. Please report this error!');delete se.printed}}C.exports={attach:X,printComments:J,printCommentsSeparately:z,printDanglingComments:_,getSortedChildNodes:j,ensureAllCommentsPrinted:U}}}),Y0=we({"src/common/ast-path.js"(m,C){Pe();var h=ur();function D(p,g){let y=x(p.stack,g);return y===-1?null:p.stack[y]}function x(p,g){for(let y=p.length-1;y>=0;y-=2){let A=p[y];if(A&&!Array.isArray(A)&&--g<0)return y}return-1}var c=class{constructor(p){this.stack=[p]}getName(){let{stack:p}=this,{length:g}=p;return g>1?p[g-2]:null}getValue(){return h(this.stack)}getNode(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return D(this,p)}getParentNode(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return D(this,p+1)}call(p){let{stack:g}=this,{length:y}=g,A=h(g);for(var P=arguments.length,k=new Array(P>1?P-1:0),N=1;N<P;N++)k[N-1]=arguments[N];for(let F of k)A=A[F],g.push(F,A);let b=p(this);return g.length=y,b}callParent(p){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,y=x(this.stack,g+1),A=this.stack.splice(y+1),P=p(this);return this.stack.push(...A),P}each(p){let{stack:g}=this,{length:y}=g,A=h(g);for(var P=arguments.length,k=new Array(P>1?P-1:0),N=1;N<P;N++)k[N-1]=arguments[N];for(let b of k)A=A[b],g.push(b,A);for(let b=0;b<A.length;++b)g.push(b,A[b]),p(this,b,A),g.length-=2;g.length=y}map(p){let g=[];for(var y=arguments.length,A=new Array(y>1?y-1:0),P=1;P<y;P++)A[P-1]=arguments[P];return this.each((k,N,b)=>{g[N]=p(k,N,b)},...A),g}try(p){let{stack:g}=this,y=[...g];try{return p()}finally{g.length=0,g.push(...y)}}match(){let p=this.stack.length-1,g=null,y=this.stack[p--];for(var A=arguments.length,P=new Array(A),k=0;k<A;k++)P[k]=arguments[k];for(let N of P){if(y===void 0)return!1;let b=null;if(typeof g=="number"&&(b=g,g=this.stack[p--],y=this.stack[p--]),N&&!N(y,g,b))return!1;g=this.stack[p--],y=this.stack[p--]}return!0}findAncestor(p){let g=this.stack.length-1,y=null,A=this.stack[g--];for(;A;){let P=null;if(typeof y=="number"&&(P=y,y=this.stack[g--],A=this.stack[g--]),y!==null&&p(A,y,P))return A;y=this.stack[g--],A=this.stack[g--]}}};C.exports=c}}),Z0=we({"src/main/multiparser.js"(m,C){Pe();var{utils:{stripTrailingHardline:h}}=dt(),{normalize:D}=Dc(),x=An();function c(g,y,A,P){if(A.printer.embed&&A.embeddedLanguageFormatting==="auto")return A.printer.embed(g,y,(k,N,b)=>p(k,N,A,P,b),A)}function p(g,y,A,P){let{stripTrailingHardline:k=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},N=D(Object.assign(Object.assign(Object.assign({},A),y),{},{parentParser:A.parser,originalText:g}),{passThrough:!0}),b=po().parse(g,N),{ast:F}=b;g=b.text;let T=F.comments;delete F.comments,x.attach(T,F,g,N),N[Symbol.for("comments")]=T||[],N[Symbol.for("tokens")]=F.tokens||[];let $=P(F,N);return x.ensureAllCommentsPrinted(T),k?typeof $=="string"?$.replace(/(?:\r?\n)*$/,""):h($):$}C.exports={printSubtree:c}}}),em=we({"src/main/ast-to-doc.js"(m,C){Pe();var h=Y0(),{builders:{hardline:D,addAlignmentToDoc:x},utils:{propagateBreaks:c}}=dt(),{printComments:p}=An(),g=Z0();function y(k,N){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:F}=N;F.preprocess&&(k=F.preprocess(k,N));let T=new Map,$=new h(k),W=j();return b>0&&(W=x([D,W],b,N.tabWidth)),c(W),W;function j(q,X){return q===void 0||q===$?R(X):Array.isArray(q)?$.call(()=>R(X),...q):$.call(()=>R(X),q)}function R(q){let X=$.getValue(),G=X&&typeof X=="object"&&q===void 0;if(G&&T.has(X))return T.get(X);let Q=P($,N,j,q);return G&&T.set(X,Q),Q}}function A(k,N){let{originalText:b,[Symbol.for("comments")]:F,locStart:T,locEnd:$}=N,W=T(k),j=$(k),R=new Set;for(let q of F)T(q)>=W&&$(q)<=j&&(q.printed=!0,R.add(q));return{doc:b.slice(W,j),printedComments:R}}function P(k,N,b,F){let T=k.getValue(),{printer:$}=N,W,j;if($.hasPrettierIgnore&&$.hasPrettierIgnore(k))({doc:W,printedComments:j}=A(T,N));else{if(T)try{W=g.printSubtree(k,b,N,y)}catch(R){if(globalThis.PRETTIER_DEBUG)throw R}W||(W=$.print(k,N,b,F))}return(!$.willPrintOwnComments||!$.willPrintOwnComments(k,N))&&(W=p(k,W,N,j)),W}C.exports=y}}),tm=we({"src/main/range-util.js"(m,C){Pe();var h=la(),D=An(),x=F=>{let{parser:T}=F;return T==="json"||T==="json5"||T==="json-stringify"};function c(F,T){let $=[F.node,...F.parentNodes],W=new Set([T.node,...T.parentNodes]);return $.find(j=>P.has(j.type)&&W.has(j))}function p(F){let T=F.length-1;for(;;){let $=F[T];if($&&($.type==="Program"||$.type==="File"))T--;else break}return F.slice(0,T+1)}function g(F,T,$){let{locStart:W,locEnd:j}=$,R=F.node,q=T.node;if(R===q)return{startNode:R,endNode:q};let X=W(F.node);for(let Q of p(T.parentNodes))if(W(Q)>=X)q=Q;else break;let G=j(T.node);for(let Q of p(F.parentNodes))if(j(Q)<=G)R=Q;else break;return{startNode:R,endNode:q}}function y(F,T,$,W){let j=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],R=arguments.length>5?arguments[5]:void 0,{locStart:q,locEnd:X}=$,G=q(F),Q=X(F);if(!(T>Q||T<G||R==="rangeEnd"&&T===G||R==="rangeStart"&&T===Q)){for(let I of D.getSortedChildNodes(F,$)){let S=y(I,T,$,W,[F,...j],R);if(S)return S}if(!W||W(F,j[0]))return{node:F,parentNodes:j}}}function A(F,T){return T!=="DeclareExportDeclaration"&&F!=="TypeParameterDeclaration"&&(F==="Directive"||F==="TypeAlias"||F==="TSExportAssignment"||F.startsWith("Declare")||F.startsWith("TSDeclare")||F.endsWith("Statement")||F.endsWith("Declaration"))}var P=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),k=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function N(F,T,$){if(!T)return!1;switch(F.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return A(T.type,$&&$.type);case"json":case"json5":case"json-stringify":return P.has(T.type);case"graphql":return k.has(T.kind);case"vue":return T.tag!=="root"}return!1}function b(F,T,$){let{rangeStart:W,rangeEnd:j,locStart:R,locEnd:q}=T;h.ok(j>W);let X=F.slice(W,j).search(/\S/),G=X===-1;if(!G)for(W+=X;j>W&&!/\S/.test(F[j-1]);--j);let Q=y($,W,T,(O,v)=>N(T,O,v),[],"rangeStart"),I=G?Q:y($,j,T,O=>N(T,O),[],"rangeEnd");if(!Q||!I)return{rangeStart:0,rangeEnd:0};let S,B;if(x(T)){let O=c(Q,I);S=O,B=O}else({startNode:S,endNode:B}=g(Q,I,T));return{rangeStart:Math.min(R(S),R(B)),rangeEnd:Math.max(q(S),q(B))}}C.exports={calculateRange:b,findNodeAtOffset:y}}}),rm=we({"src/main/core.js"(m,C){Pe();var{diffArrays:h}=ds(),{printer:{printDocToString:D},debug:{printDocToDebug:x}}=dt(),{getAlignmentSize:c}=Dr(),{guessEndOfLine:p,convertEndOfLineToChars:g,countEndOfLineChars:y,normalizeEndOfLine:A}=Wi(),P=Dc().normalize,k=K0(),N=An(),b=po(),F=em(),T=tm(),$="\uFEFF",W=Symbol("cursor");function j(B,O,v){let L=O.comments;return L&&(delete O.comments,N.attach(L,O,B,v)),v[Symbol.for("comments")]=L||[],v[Symbol.for("tokens")]=O.tokens||[],v.originalText=B,L}function R(B,O){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!B||B.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:L,text:_}=b.parse(B,O);if(O.cursorOffset>=0){let K=T.findNodeAtOffset(L,O.cursorOffset,O);K&&K.node&&(O.cursorNode=K.node)}let z=j(_,L,O),J=F(L,O,v),U=D(J,O);if(N.ensureAllCommentsPrinted(z),v>0){let K=U.formatted.trim();U.cursorNodeStart!==void 0&&(U.cursorNodeStart-=U.formatted.indexOf(K)),U.formatted=K+g(O.endOfLine)}if(O.cursorOffset>=0){let K,se,te,fe,ce;if(O.cursorNode&&U.cursorNodeText?(K=O.locStart(O.cursorNode),se=_.slice(K,O.locEnd(O.cursorNode)),te=O.cursorOffset-K,fe=U.cursorNodeStart,ce=U.cursorNodeText):(K=0,se=_,te=O.cursorOffset,fe=0,ce=U.formatted),se===ce)return{formatted:U.formatted,cursorOffset:fe+te,comments:z};let ie=[...se];ie.splice(te,0,W);let ke=[...ce],de=h(ie,ke),pe=fe;for(let Te of de)if(Te.removed){if(Te.value.includes(W))break}else pe+=Te.count;return{formatted:U.formatted,cursorOffset:pe,comments:z}}return{formatted:U.formatted,cursorOffset:-1,comments:z}}function q(B,O){let{ast:v,text:L}=b.parse(B,O),{rangeStart:_,rangeEnd:z}=T.calculateRange(L,O,v),J=L.slice(_,z),U=Math.min(_,L.lastIndexOf(`
49
- `,_)+1),K=L.slice(U,_).match(/^\s*/)[0],se=c(K,O.tabWidth),te=R(J,Object.assign(Object.assign({},O),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:O.cursorOffset>_&&O.cursorOffset<=z?O.cursorOffset-_:-1,endOfLine:"lf"}),se),fe=te.formatted.trimEnd(),{cursorOffset:ce}=O;ce>z?ce+=fe.length-J.length:te.cursorOffset>=0&&(ce=te.cursorOffset+_);let ie=L.slice(0,_)+fe+L.slice(z);if(O.endOfLine!=="lf"){let ke=g(O.endOfLine);ce>=0&&ke===`\r
50
- `&&(ce+=y(ie.slice(0,ce),`
51
- `)),ie=ie.replace(/\n/g,ke)}return{formatted:ie,cursorOffset:ce,comments:te.comments}}function X(B,O,v){return typeof O!="number"||Number.isNaN(O)||O<0||O>B.length?v:O}function G(B,O){let{cursorOffset:v,rangeStart:L,rangeEnd:_}=O;return v=X(B,v,-1),L=X(B,L,0),_=X(B,_,B.length),Object.assign(Object.assign({},O),{},{cursorOffset:v,rangeStart:L,rangeEnd:_})}function Q(B,O){let{cursorOffset:v,rangeStart:L,rangeEnd:_,endOfLine:z}=G(B,O),J=B.charAt(0)===$;if(J&&(B=B.slice(1),v--,L--,_--),z==="auto"&&(z=p(B)),B.includes("\r")){let U=K=>y(B.slice(0,Math.max(K,0)),`\r
52
- `);v-=U(v),L-=U(L),_-=U(_),B=A(B)}return{hasBOM:J,text:B,options:G(B,Object.assign(Object.assign({},O),{},{cursorOffset:v,rangeStart:L,rangeEnd:_,endOfLine:z}))}}function I(B,O){let v=b.resolveParser(O);return!v.hasPragma||v.hasPragma(B)}function S(B,O){let{hasBOM:v,text:L,options:_}=Q(B,P(O));if(_.rangeStart>=_.rangeEnd&&L!==""||_.requirePragma&&!I(L,_))return{formatted:B,cursorOffset:O.cursorOffset,comments:[]};let z;return _.rangeStart>0||_.rangeEnd<L.length?z=q(L,_):(!_.requirePragma&&_.insertPragma&&_.printer.insertPragma&&!I(L,_)&&(L=_.printer.insertPragma(L)),z=R(L,_)),v&&(z.formatted=$+z.formatted,z.cursorOffset>=0&&z.cursorOffset++),z}C.exports={formatWithCursor:S,parse(B,O,v){let{text:L,options:_}=Q(B,P(O)),z=b.parse(L,_);return v&&(z.ast=k(z.ast,_)),z},formatAST(B,O){O=P(O);let v=F(B,O);return D(v,O)},formatDoc(B,O){return S(x(B),Object.assign(Object.assign({},O),{},{parser:"__js_expression"})).formatted},printToDoc(B,O){O=P(O);let{ast:v,text:L}=b.parse(B,O);return j(L,v,O),F(v,O)},printDocToString(B,O){return D(B,P(O))}}}}),nm=we({"src/common/util-shared.js"(m,C){Pe();var{getMaxContinuousCount:h,getStringWidth:D,getAlignmentSize:x,getIndentSize:c,skip:p,skipWhitespace:g,skipSpaces:y,skipNewline:A,skipToLineEnd:P,skipEverythingButNewLine:k,skipInlineComment:N,skipTrailingComment:b,hasNewline:F,hasNewlineInRange:T,hasSpaces:$,isNextLineEmpty:W,isNextLineEmptyAfterIndex:j,isPreviousLineEmpty:R,getNextNonSpaceNonCommentCharacterIndex:q,makeString:X,addLeadingComment:G,addDanglingComment:Q,addTrailingComment:I}=Dr();C.exports={getMaxContinuousCount:h,getStringWidth:D,getAlignmentSize:x,getIndentSize:c,skip:p,skipWhitespace:g,skipSpaces:y,skipNewline:A,skipToLineEnd:P,skipEverythingButNewLine:k,skipInlineComment:N,skipTrailingComment:b,hasNewline:F,hasNewlineInRange:T,hasSpaces:$,isNextLineEmpty:W,isNextLineEmptyAfterIndex:j,isPreviousLineEmpty:R,getNextNonSpaceNonCommentCharacterIndex:q,makeString:X,addLeadingComment:G,addDanglingComment:Q,addTrailingComment:I}}}),ms=we({"src/utils/create-language.js"(m,C){Pe(),C.exports=function(h,D){let{languageId:x}=h,c=$t(h,ot);return Object.assign(Object.assign({linguistLanguageId:x},c),D(h))}}}),im=we({"node_modules/esutils/lib/ast.js"(m,C){Pe(),function(){function h(y){if(y==null)return!1;switch(y.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function D(y){if(y==null)return!1;switch(y.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function x(y){if(y==null)return!1;switch(y.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function c(y){return x(y)||y!=null&&y.type==="FunctionDeclaration"}function p(y){switch(y.type){case"IfStatement":return y.alternate!=null?y.alternate:y.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return y.body}return null}function g(y){var A;if(y.type!=="IfStatement"||y.alternate==null)return!1;A=y.consequent;do{if(A.type==="IfStatement"&&A.alternate==null)return!0;A=p(A)}while(A);return!1}C.exports={isExpression:h,isStatement:x,isIterationStatement:D,isSourceElement:c,isProblematicIfStatement:g,trailingStatement:p}}()}}),yc=we({"node_modules/esutils/lib/code.js"(m,C){Pe(),function(){var h,D,x,c,p,g;D={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},h={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function y(j){return 48<=j&&j<=57}function A(j){return 48<=j&&j<=57||97<=j&&j<=102||65<=j&&j<=70}function P(j){return j>=48&&j<=55}x=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function k(j){return j===32||j===9||j===11||j===12||j===160||j>=5760&&x.indexOf(j)>=0}function N(j){return j===10||j===13||j===8232||j===8233}function b(j){if(j<=65535)return String.fromCharCode(j);var R=String.fromCharCode(Math.floor((j-65536)/1024)+55296),q=String.fromCharCode((j-65536)%1024+56320);return R+q}for(c=new Array(128),g=0;g<128;++g)c[g]=g>=97&&g<=122||g>=65&&g<=90||g===36||g===95;for(p=new Array(128),g=0;g<128;++g)p[g]=g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===36||g===95;function F(j){return j<128?c[j]:D.NonAsciiIdentifierStart.test(b(j))}function T(j){return j<128?p[j]:D.NonAsciiIdentifierPart.test(b(j))}function $(j){return j<128?c[j]:h.NonAsciiIdentifierStart.test(b(j))}function W(j){return j<128?p[j]:h.NonAsciiIdentifierPart.test(b(j))}C.exports={isDecimalDigit:y,isHexDigit:A,isOctalDigit:P,isWhiteSpace:k,isLineTerminator:N,isIdentifierStartES5:F,isIdentifierPartES5:T,isIdentifierStartES6:$,isIdentifierPartES6:W}}()}}),sm=we({"node_modules/esutils/lib/keyword.js"(m,C){Pe(),function(){var h=yc();function D(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function x(F,T){return!T&&F==="yield"?!1:c(F,T)}function c(F,T){if(T&&D(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function p(F,T){return F==="null"||F==="true"||F==="false"||x(F,T)}function g(F,T){return F==="null"||F==="true"||F==="false"||c(F,T)}function y(F){return F==="eval"||F==="arguments"}function A(F){var T,$,W;if(F.length===0||(W=F.charCodeAt(0),!h.isIdentifierStartES5(W)))return!1;for(T=1,$=F.length;T<$;++T)if(W=F.charCodeAt(T),!h.isIdentifierPartES5(W))return!1;return!0}function P(F,T){return(F-55296)*1024+(T-56320)+65536}function k(F){var T,$,W,j,R;if(F.length===0)return!1;for(R=h.isIdentifierStartES6,T=0,$=F.length;T<$;++T){if(W=F.charCodeAt(T),55296<=W&&W<=56319){if(++T,T>=$||(j=F.charCodeAt(T),!(56320<=j&&j<=57343)))return!1;W=P(W,j)}if(!R(W))return!1;R=h.isIdentifierPartES6}return!0}function N(F,T){return A(F)&&!p(F,T)}function b(F,T){return k(F)&&!g(F,T)}C.exports={isKeywordES5:x,isKeywordES6:c,isReservedWordES5:p,isReservedWordES6:g,isRestrictedWord:y,isIdentifierNameES5:A,isIdentifierNameES6:k,isIdentifierES5:N,isIdentifierES6:b}}()}}),am=we({"node_modules/esutils/lib/utils.js"(m){Pe(),function(){m.ast=im(),m.code=yc(),m.keyword=sm()}()}}),Is=we({"src/language-js/utils/is-block-comment.js"(m,C){Pe();var h=new Set(["Block","CommentBlock","MultiLine"]),D=x=>h.has(x==null?void 0:x.type);C.exports=D}}),um=we({"src/language-js/utils/is-node-matches.js"(m,C){Pe();function h(x,c){let p=c.split(".");for(let g=p.length-1;g>=0;g--){let y=p[g];if(g===0)return x.type==="Identifier"&&x.name===y;if(x.type!=="MemberExpression"||x.optional||x.computed||x.property.type!=="Identifier"||x.property.name!==y)return!1;x=x.object}}function D(x,c){return c.some(p=>h(x,p))}C.exports=D}}),qr=we({"src/language-js/utils/index.js"(m,C){Pe();var h=am().keyword.isIdentifierNameES5,{getLast:D,hasNewline:x,skipWhitespace:c,isNonEmptyArray:p,isNextLineEmptyAfterIndex:g,getStringWidth:y}=Dr(),{locStart:A,locEnd:P,hasSameLocStart:k}=Rn(),N=Is(),b=um(),F="(?:(?=.)\\s)",T=new RegExp("^".concat(F,"*:")),$=new RegExp("^".concat(F,"*::"));function W(ne){var et,Tt;return((et=ne.extra)===null||et===void 0?void 0:et.parenthesized)&&N((Tt=ne.trailingComments)===null||Tt===void 0?void 0:Tt[0])&&T.test(ne.trailingComments[0].value)}function j(ne){let et=ne==null?void 0:ne[0];return N(et)&&$.test(et.value)}function R(ne,et){if(!ne||typeof ne!="object")return!1;if(Array.isArray(ne))return ne.some(mr=>R(mr,et));let Tt=et(ne);return typeof Tt=="boolean"?Tt:Object.values(ne).some(mr=>R(mr,et))}function q(ne){return ne.type==="AssignmentExpression"||ne.type==="BinaryExpression"||ne.type==="LogicalExpression"||ne.type==="NGPipeExpression"||ne.type==="ConditionalExpression"||$e(ne)||Ze(ne)||ne.type==="SequenceExpression"||ne.type==="TaggedTemplateExpression"||ne.type==="BindExpression"||ne.type==="UpdateExpression"&&!ne.prefix||ne.type==="TSAsExpression"||ne.type==="TSNonNullExpression"}function X(ne){var et,Tt,mr,yr,xn,Vn;return ne.expressions?ne.expressions[0]:(et=(Tt=(mr=(yr=(xn=(Vn=ne.left)!==null&&Vn!==void 0?Vn:ne.test)!==null&&xn!==void 0?xn:ne.callee)!==null&&yr!==void 0?yr:ne.object)!==null&&mr!==void 0?mr:ne.tag)!==null&&Tt!==void 0?Tt:ne.argument)!==null&&et!==void 0?et:ne.expression}function G(ne,et){if(et.expressions)return["expressions",0];if(et.left)return["left"];if(et.test)return["test"];if(et.object)return["object"];if(et.callee)return["callee"];if(et.tag)return["tag"];if(et.argument)return["argument"];if(et.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function Q(ne){return ne=new Set(ne),et=>ne.has(et==null?void 0:et.type)}var I=Q(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),S=Q(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function B(ne){let et=ne.getParentNode();return ne.getName()==="declaration"&&S(et)?et:null}var O=Q(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function v(ne){return ne.type==="NumericLiteral"||ne.type==="Literal"&&typeof ne.value=="number"}function L(ne){return ne.type==="UnaryExpression"&&(ne.operator==="+"||ne.operator==="-")&&v(ne.argument)}function _(ne){return ne.type==="StringLiteral"||ne.type==="Literal"&&typeof ne.value=="string"}var z=Q(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),J=Q(["FunctionExpression","ArrowFunctionExpression"]);function U(ne){return ne.type==="FunctionExpression"||ne.type==="ArrowFunctionExpression"&&ne.body.type==="BlockStatement"}function K(ne){return $e(ne)&&ne.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(ne.callee.name)}var se=Q(["JSXElement","JSXFragment"]);function te(ne,et){if(ne.parentParser!=="markdown"&&ne.parentParser!=="mdx")return!1;let Tt=et.getNode();if(!Tt.expression||!se(Tt.expression))return!1;let mr=et.getParentNode();return mr.type==="Program"&&mr.body.length===1}function fe(ne){return ne.kind==="get"||ne.kind==="set"}function ce(ne){return fe(ne)||k(ne,ne.value)}function ie(ne){return(ne.type==="ObjectTypeProperty"||ne.type==="ObjectTypeInternalSlot")&&ne.value.type==="FunctionTypeAnnotation"&&!ne.static&&!ce(ne)}function ke(ne){return(ne.type==="TypeAnnotation"||ne.type==="TSTypeAnnotation")&&ne.typeAnnotation.type==="FunctionTypeAnnotation"&&!ne.static&&!k(ne,ne.typeAnnotation)}var de=Q(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function pe(ne){return Ze(ne)||ne.type==="BindExpression"&&Boolean(ne.object)}var Te=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function je(ne){return ne?!!((ne.type==="GenericTypeAnnotation"||ne.type==="TSTypeReference")&&!ne.typeParameters||Te.has(ne.type)):!1}function Le(ne){let et=/^(?:before|after)(?:Each|All)$/;return ne.callee.type==="Identifier"&&et.test(ne.callee.name)&&ne.arguments.length===1}var Qe=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function he(ne){return b(ne,Qe)}function De(ne,et){if(ne.type!=="CallExpression")return!1;if(ne.arguments.length===1){if(K(ne)&&et&&De(et))return J(ne.arguments[0]);if(Le(ne))return K(ne.arguments[0])}else if((ne.arguments.length===2||ne.arguments.length===3)&&(ne.arguments[0].type==="TemplateLiteral"||_(ne.arguments[0]))&&he(ne.callee))return ne.arguments[2]&&!v(ne.arguments[2])?!1:(ne.arguments.length===2?J(ne.arguments[1]):U(ne.arguments[1])&&Ct(ne.arguments[1]).length<=1)||K(ne.arguments[1]);return!1}var $e=Q(["CallExpression","OptionalCallExpression"]),Ze=Q(["MemberExpression","OptionalMemberExpression"]);function ze(ne){let et="expressions";ne.type==="TSTemplateLiteralType"&&(et="types");let Tt=ne[et];return Tt.length===0?!1:Tt.every(mr=>{if(Re(mr))return!1;if(mr.type==="Identifier"||mr.type==="ThisExpression")return!0;if(Ze(mr)){let yr=mr;for(;Ze(yr);)if(yr.property.type!=="Identifier"&&yr.property.type!=="Literal"&&yr.property.type!=="StringLiteral"&&yr.property.type!=="NumericLiteral"||(yr=yr.object,Re(yr)))return!1;return yr.type==="Identifier"||yr.type==="ThisExpression"}return!1})}function ge(ne,et){return ne==="+"||ne==="-"?ne+et:et}function ve(ne,et){let Tt=A(et),mr=c(ne,P(et));return mr!==!1&&ne.slice(Tt,Tt+2)==="/*"&&ne.slice(mr,mr+2)==="*/"}function Ee(ne,et){return se(et)?cr(et):Re(et,Rt.Leading,Tt=>x(ne,P(Tt)))}function We(ne,et){return et.parser!=="json"&&_(ne.key)&&mt(ne.key).slice(1,-1)===ne.key.value&&(h(ne.key.value)&&!(et.parser==="babel-ts"&&ne.type==="ClassProperty"||et.parser==="typescript"&&ne.type==="PropertyDefinition")||st(ne.key.value)&&String(Number(ne.key.value))===ne.key.value&&(et.parser==="babel"||et.parser==="acorn"||et.parser==="espree"||et.parser==="meriyah"||et.parser==="__babel_estree"))}function st(ne){return/^(?:\d+|\d+\.\d+)$/.test(ne)}function yt(ne,et){let Tt=/^[fx]?(?:describe|it|test)$/;return et.type==="TaggedTemplateExpression"&&et.quasi===ne&&et.tag.type==="MemberExpression"&&et.tag.property.type==="Identifier"&&et.tag.property.name==="each"&&(et.tag.object.type==="Identifier"&&Tt.test(et.tag.object.name)||et.tag.object.type==="MemberExpression"&&et.tag.object.property.type==="Identifier"&&(et.tag.object.property.name==="only"||et.tag.object.property.name==="skip")&&et.tag.object.object.type==="Identifier"&&Tt.test(et.tag.object.object.name))}function jt(ne){return ne.quasis.some(et=>et.value.raw.includes(`
53
- `))}function zt(ne,et){return(ne.type==="TemplateLiteral"&&jt(ne)||ne.type==="TaggedTemplateExpression"&&jt(ne.quasi))&&!x(et,A(ne),{backwards:!0})}function Xe(ne){if(!Re(ne))return!1;let et=D(vr(ne,Rt.Dangling));return et&&!N(et)}function Ke(ne){if(ne.length<=1)return!1;let et=0;for(let Tt of ne)if(J(Tt)){if(et+=1,et>1)return!0}else if($e(Tt)){for(let mr of Tt.arguments)if(J(mr))return!0}return!1}function it(ne){let et=ne.getValue(),Tt=ne.getParentNode();return $e(et)&&$e(Tt)&&Tt.callee===et&&et.arguments.length>Tt.arguments.length&&Tt.arguments.length>0}function Je(ne,et){if(et>=2)return!1;let Tt=yr=>Je(yr,et+1),mr=ne.type==="Literal"&&"regex"in ne&&ne.regex.pattern||ne.type==="RegExpLiteral"&&ne.pattern;return mr&&y(mr)>5?!1:ne.type==="Literal"||ne.type==="BigIntLiteral"||ne.type==="DecimalLiteral"||ne.type==="BooleanLiteral"||ne.type==="NullLiteral"||ne.type==="NumericLiteral"||ne.type==="RegExpLiteral"||ne.type==="StringLiteral"||ne.type==="Identifier"||ne.type==="ThisExpression"||ne.type==="Super"||ne.type==="PrivateName"||ne.type==="PrivateIdentifier"||ne.type==="ArgumentPlaceholder"||ne.type==="Import"?!0:ne.type==="TemplateLiteral"?ne.quasis.every(yr=>!yr.value.raw.includes(`
54
- `))&&ne.expressions.every(Tt):ne.type==="ObjectExpression"?ne.properties.every(yr=>!yr.computed&&(yr.shorthand||yr.value&&Tt(yr.value))):ne.type==="ArrayExpression"?ne.elements.every(yr=>yr===null||Tt(yr)):br(ne)?(ne.type==="ImportExpression"||Je(ne.callee,et))&&Vr(ne).every(Tt):Ze(ne)?Je(ne.object,et)&&Je(ne.property,et):ne.type==="UnaryExpression"&&(ne.operator==="!"||ne.operator==="-")?Je(ne.argument,et):ne.type==="TSNonNullExpression"?Je(ne.expression,et):!1}function mt(ne){var et,Tt;return(et=(Tt=ne.extra)===null||Tt===void 0?void 0:Tt.raw)!==null&&et!==void 0?et:ne.raw}function Fe(ne){return ne}function ft(ne){return ne.filepath&&/\.tsx$/i.test(ne.filepath)}function ct(ne){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return ne.trailingComma==="es5"&&et==="es5"||ne.trailingComma==="all"&&(et==="all"||et==="es5")}function xt(ne,et){switch(ne=vt(ne),ne.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return et;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return xt(ne.object,et);case"TaggedTemplateExpression":return ne.tag.type==="FunctionExpression"?!1:xt(ne.tag,et);case"CallExpression":case"OptionalCallExpression":return ne.callee.type==="FunctionExpression"?!1:xt(ne.callee,et);case"ConditionalExpression":return xt(ne.test,et);case"UpdateExpression":return!ne.prefix&&xt(ne.argument,et);case"BindExpression":return ne.object&&xt(ne.object,et);case"SequenceExpression":return xt(ne.expressions[0],et);case"TSAsExpression":case"TSNonNullExpression":return xt(ne.expression,et);default:return!1}}var Ht={"==":!0,"!=":!0,"===":!0,"!==":!0},Dt={"*":!0,"/":!0,"%":!0},nt={">>":!0,">>>":!0,"<<":!0};function H(ne,et){return!(Ue(et)!==Ue(ne)||ne==="**"||Ht[ne]&&Ht[et]||et==="%"&&Dt[ne]||ne==="%"&&Dt[et]||et!==ne&&Dt[et]&&Dt[ne]||nt[ne]&&nt[et])}var Ae=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((ne,et)=>ne.map(Tt=>[Tt,et])));function Ue(ne){return Ae.get(ne)}function vt(ne){for(;ne.left;)ne=ne.left;return ne}function ar(ne){return Boolean(nt[ne])||ne==="|"||ne==="^"||ne==="&"}function Nt(ne){var et;if(ne.rest)return!0;let Tt=Ct(ne);return((et=D(Tt))===null||et===void 0?void 0:et.type)==="RestElement"}var Mt=new WeakMap;function Ct(ne){if(Mt.has(ne))return Mt.get(ne);let et=[];return ne.this&&et.push(ne.this),Array.isArray(ne.parameters)?et.push(...ne.parameters):Array.isArray(ne.params)&&et.push(...ne.params),ne.rest&&et.push(ne.rest),Mt.set(ne,et),et}function rn(ne,et){let Tt=ne.getValue(),mr=0,yr=xn=>et(xn,mr++);Tt.this&&ne.call(yr,"this"),Array.isArray(Tt.parameters)?ne.each(yr,"parameters"):Array.isArray(Tt.params)&&ne.each(yr,"params"),Tt.rest&&ne.call(yr,"rest")}var wt=new WeakMap;function Vr(ne){if(wt.has(ne))return wt.get(ne);let et=ne.arguments;return ne.type==="ImportExpression"&&(et=[ne.source],ne.attributes&&et.push(ne.attributes)),wt.set(ne,et),et}function Vt(ne,et){let Tt=ne.getValue();Tt.type==="ImportExpression"?(ne.call(mr=>et(mr,0),"source"),Tt.attributes&&ne.call(mr=>et(mr,1),"attributes")):ne.each(et,"arguments")}function Gt(ne){return ne.value.trim()==="prettier-ignore"&&!ne.unignore}function cr(ne){return ne&&(ne.prettierIgnore||Re(ne,Rt.PrettierIgnore))}function kt(ne){let et=ne.getValue();return cr(et)}var Rt={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},Yt=(ne,et)=>{if(typeof ne=="function"&&(et=ne,ne=0),ne||et)return(Tt,mr,yr)=>!(ne&Rt.Leading&&!Tt.leading||ne&Rt.Trailing&&!Tt.trailing||ne&Rt.Dangling&&(Tt.leading||Tt.trailing)||ne&Rt.Block&&!N(Tt)||ne&Rt.Line&&!I(Tt)||ne&Rt.First&&mr!==0||ne&Rt.Last&&mr!==yr.length-1||ne&Rt.PrettierIgnore&&!Gt(Tt)||et&&!et(Tt))};function Re(ne,et,Tt){if(!p(ne==null?void 0:ne.comments))return!1;let mr=Yt(et,Tt);return mr?ne.comments.some(mr):!0}function vr(ne,et,Tt){if(!Array.isArray(ne==null?void 0:ne.comments))return[];let mr=Yt(et,Tt);return mr?ne.comments.filter(mr):ne.comments}var or=(ne,et)=>{let{originalText:Tt}=et;return g(Tt,P(ne))};function br(ne){return $e(ne)||ne.type==="NewExpression"||ne.type==="ImportExpression"}function Jn(ne){return ne&&(ne.type==="ObjectProperty"||ne.type==="Property"&&!ne.method&&ne.kind==="init")}function Fn(ne){return Boolean(ne.__isUsingHackPipeline)}var xi=Symbol("ifWithoutBlockAndSameLineComment");C.exports={getFunctionParameters:Ct,iterateFunctionParametersPath:rn,getCallArguments:Vr,iterateCallArgumentsPath:Vt,hasRestParameter:Nt,getLeftSide:X,getLeftSidePathName:G,getParentExportDeclaration:B,getTypeScriptMappedTypeModifier:ge,hasFlowAnnotationComment:j,hasFlowShorthandAnnotationComment:W,hasLeadingOwnLineComment:Ee,hasNakedLeftSide:q,hasNode:R,hasIgnoreComment:kt,hasNodeIgnoreComment:cr,identity:Fe,isBinaryish:de,isCallLikeExpression:br,isEnabledHackPipeline:Fn,isLineComment:I,isPrettierIgnoreComment:Gt,isCallExpression:$e,isMemberExpression:Ze,isExportDeclaration:S,isFlowAnnotationComment:ve,isFunctionCompositionArgs:Ke,isFunctionNotation:ce,isFunctionOrArrowExpression:J,isGetterOrSetter:fe,isJestEachTemplateLiteral:yt,isJsxNode:se,isLiteral:O,isLongCurriedCallExpression:it,isSimpleCallArgument:Je,isMemberish:pe,isNumericLiteral:v,isSignedNumericLiteral:L,isObjectProperty:Jn,isObjectType:z,isObjectTypePropertyAFunction:ie,isSimpleType:je,isSimpleNumber:st,isSimpleTemplateLiteral:ze,isStringLiteral:_,isStringPropSafeToUnquote:We,isTemplateOnItsOwnLine:zt,isTestCall:De,isTheOnlyJsxElementInMarkdown:te,isTSXFile:ft,isTypeAnnotationAFunction:ke,isNextLineEmpty:or,needsHardlineAfterDanglingComment:Xe,rawText:mt,shouldPrintComma:ct,isBitwiseOperator:ar,shouldFlatten:H,startsWithNoLookaheadToken:xt,getPrecedence:Ue,hasComment:Re,getComments:vr,CommentCheckFlags:Rt,markerForIfWithoutBlockAndSameLineComment:xi}}}),Ps=we({"src/language-js/print/template-literal.js"(m,C){Pe();var h=ur(),{getStringWidth:D,getIndentSize:x}=Dr(),{builders:{join:c,hardline:p,softline:g,group:y,indent:A,align:P,lineSuffixBoundary:k,addAlignmentToDoc:N},printer:{printDocToString:b},utils:{mapDoc:F}}=dt(),{isBinaryish:T,isJestEachTemplateLiteral:$,isSimpleTemplateLiteral:W,hasComment:j,isMemberExpression:R}=qr();function q(B,O,v){let L=B.getValue();if(L.type==="TemplateLiteral"&&$(L,B.getParentNode())){let K=X(B,v,O);if(K)return K}let _="expressions";L.type==="TSTemplateLiteralType"&&(_="types");let z=[],J=B.map(O,_),U=W(L);return U&&(J=J.map(K=>b(K,Object.assign(Object.assign({},v),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),z.push(k,"`"),B.each(K=>{let se=K.getName();if(z.push(O()),se<J.length){let{tabWidth:te}=v,fe=K.getValue(),ce=x(fe.value.raw,te),ie=J[se];if(!U){let de=L[_][se];(j(de)||R(de)||de.type==="ConditionalExpression"||de.type==="SequenceExpression"||de.type==="TSAsExpression"||T(de))&&(ie=[A([g,ie]),g])}let ke=ce===0&&fe.value.raw.endsWith(`
55
- `)?P(Number.NEGATIVE_INFINITY,ie):N(ie,ce,te);z.push(y(["${",ke,k,"}"]))}},"quasis"),z.push("`"),z}function X(B,O,v){let L=B.getNode(),_=L.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(_.length>1||_.some(z=>z.length>0)){O.__inJestEach=!0;let z=B.map(v,"expressions");O.__inJestEach=!1;let J=[],U=z.map(ce=>"${"+b(ce,Object.assign(Object.assign({},O),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),K=[{hasLineBreak:!1,cells:[]}];for(let ce=1;ce<L.quasis.length;ce++){let ie=h(K),ke=U[ce-1];ie.cells.push(ke),ke.includes(`
56
- `)&&(ie.hasLineBreak=!0),L.quasis[ce].value.raw.includes(`
57
- `)&&K.push({hasLineBreak:!1,cells:[]})}let se=Math.max(_.length,...K.map(ce=>ce.cells.length)),te=Array.from({length:se}).fill(0),fe=[{cells:_},...K.filter(ce=>ce.cells.length>0)];for(let{cells:ce}of fe.filter(ie=>!ie.hasLineBreak))for(let[ie,ke]of ce.entries())te[ie]=Math.max(te[ie],D(ke));return J.push(k,"`",A([p,c(p,fe.map(ce=>c(" | ",ce.cells.map((ie,ke)=>ce.hasLineBreak?ie:ie+" ".repeat(te[ke]-D(ie))))))]),p,"`"),J}}function G(B,O){let v=B.getValue(),L=O();return j(v)&&(L=y([A([g,L]),g])),["${",L,k,"}"]}function Q(B,O){return B.map(v=>G(v,O),"expressions")}function I(B,O){return F(B,v=>typeof v=="string"?O?v.replace(/(\\*)`/g,"$1$1\\`"):S(v):v)}function S(B){return B.replace(/([\\`]|\${)/g,"\\$1")}C.exports={printTemplateLiteral:q,printTemplateExpressions:Q,escapeTemplateCharacters:I,uncookTemplateElementValue:S}}}),om=we({"src/language-js/embed/markdown.js"(m,C){Pe();var{builders:{indent:h,softline:D,literalline:x,dedentToRoot:c}}=dt(),{escapeTemplateCharacters:p}=Ps();function g(A,P,k){let N=A.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,($,W)=>"\\".repeat(W.length/2)+"`"),b=y(N),F=b!=="";F&&(N=N.replace(new RegExp("^".concat(b),"gm"),""));let T=p(k(N,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",F?h([D,T]):[x,c(T)],D,"`"]}function y(A){let P=A.match(/^([^\S\n]*)\S/m);return P===null?"":P[1]}C.exports=g}}),lm=we({"src/language-js/embed/css.js"(m,C){Pe();var{isNonEmptyArray:h}=Dr(),{builders:{indent:D,hardline:x,softline:c},utils:{mapDoc:p,replaceEndOfLine:g,cleanDoc:y}}=dt(),{printTemplateExpressions:A}=Ps();function P(b,F,T){let $=b.getValue(),W=$.quasis.map(G=>G.value.raw),j=0,R=W.reduce((G,Q,I)=>I===0?Q:G+"@prettier-placeholder-"+j+++"-id"+Q,""),q=T(R,{parser:"scss"},{stripTrailingHardline:!0}),X=A(b,F);return k(q,$,X)}function k(b,F,T){if(F.quasis.length===1&&!F.quasis[0].value.raw.trim())return"``";let $=N(b,T);if(!$)throw new Error("Couldn't insert all the expressions");return["`",D([x,$]),c,"`"]}function N(b,F){if(!h(F))return b;let T=0,$=p(y(b),W=>typeof W!="string"||!W.includes("@prettier-placeholder")?W:W.split(/@prettier-placeholder-(\d+)-id/).map((j,R)=>R%2===0?g(j):(T++,F[j])));return F.length===T?$:null}C.exports=P}}),cm=we({"src/language-js/embed/graphql.js"(m,C){Pe();var{builders:{indent:h,join:D,hardline:x}}=dt(),{escapeTemplateCharacters:c,printTemplateExpressions:p}=Ps();function g(A,P,k){let N=A.getValue(),b=N.quasis.length;if(b===1&&N.quasis[0].value.raw.trim()==="")return"``";let F=p(A,P),T=[];for(let $=0;$<b;$++){let W=N.quasis[$],j=$===0,R=$===b-1,q=W.value.cooked,X=q.split(`
58
- `),G=X.length,Q=F[$],I=G>2&&X[0].trim()===""&&X[1].trim()==="",S=G>2&&X[G-1].trim()===""&&X[G-2].trim()==="",B=X.every(v=>/^\s*(?:#[^\n\r]*)?$/.test(v));if(!R&&/#[^\n\r]*$/.test(X[G-1]))return null;let O=null;B?O=y(X):O=k(q,{parser:"graphql"},{stripTrailingHardline:!0}),O?(O=c(O,!1),!j&&I&&T.push(""),T.push(O),!R&&S&&T.push("")):!j&&!R&&I&&T.push(""),Q&&T.push(Q)}return["`",h([x,D(x,T)]),x,"`"]}function y(A){let P=[],k=!1,N=A.map(b=>b.trim());for(let[b,F]of N.entries())F!==""&&(N[b-1]===""&&k?P.push([x,F]):P.push(F),k=!0);return P.length===0?null:D(x,P)}C.exports=g}}),pm=we({"src/language-js/embed/html.js"(m,C){Pe();var{builders:{indent:h,line:D,hardline:x,group:c},utils:{mapDoc:p}}=dt(),{printTemplateExpressions:g,uncookTemplateElementValue:y}=Ps(),A=0;function P(k,N,b,F,T){let{parser:$}=T,W=k.getValue(),j=A;A=A+1>>>0;let R=L=>"PRETTIER_HTML_PLACEHOLDER_".concat(L,"_").concat(j,"_IN_JS"),q=W.quasis.map((L,_,z)=>_===z.length-1?L.value.cooked:L.value.cooked+R(_)).join(""),X=g(k,N);if(X.length===0&&q.trim().length===0)return"``";let G=new RegExp(R("(\\d+)"),"g"),Q=0,I=b(q,{parser:$,__onHtmlRoot(L){Q=L.children.length}},{stripTrailingHardline:!0}),S=p(I,L=>{if(typeof L!="string")return L;let _=[],z=L.split(G);for(let J=0;J<z.length;J++){let U=z[J];if(J%2===0){U&&(U=y(U),F.__embeddedInHtml&&(U=U.replace(/<\/(script)\b/gi,"<\\/$1")),_.push(U));continue}let K=Number(U);_.push(X[K])}return _}),B=/^\s/.test(q)?" ":"",O=/\s$/.test(q)?" ":"",v=F.htmlWhitespaceSensitivity==="ignore"?x:B&&O?D:null;return c(v?["`",h([v,c(S)]),v,"`"]:["`",B,Q>1?h(c(S)):c(S),O,"`"])}C.exports=P}}),hm=we({"src/language-js/embed.js"(m,C){Pe();var{hasComment:h,CommentCheckFlags:D,isObjectProperty:x}=qr(),c=om(),p=lm(),g=cm(),y=pm();function A(I){if(N(I)||$(I)||W(I)||b(I))return"css";if(q(I))return"graphql";if(G(I))return"html";if(F(I))return"angular";if(k(I))return"markdown"}function P(I,S,B,O){let v=I.getValue();if(v.type!=="TemplateLiteral"||Q(v))return;let L=A(I);if(L){if(L==="markdown")return c(I,S,B);if(L==="css")return p(I,S,B);if(L==="graphql")return g(I,S,B);if(L==="html"||L==="angular")return y(I,S,B,O,{parser:L})}}function k(I){let S=I.getValue(),B=I.getParentNode();return B&&B.type==="TaggedTemplateExpression"&&S.quasis.length===1&&B.tag.type==="Identifier"&&(B.tag.name==="md"||B.tag.name==="markdown")}function N(I){let S=I.getValue(),B=I.getParentNode(),O=I.getParentNode(1);return O&&S.quasis&&B.type==="JSXExpressionContainer"&&O.type==="JSXElement"&&O.openingElement.name.name==="style"&&O.openingElement.attributes.some(v=>v.name.name==="jsx")||B&&B.type==="TaggedTemplateExpression"&&B.tag.type==="Identifier"&&B.tag.name==="css"||B&&B.type==="TaggedTemplateExpression"&&B.tag.type==="MemberExpression"&&B.tag.object.name==="css"&&(B.tag.property.name==="global"||B.tag.property.name==="resolve")}function b(I){return I.match(S=>S.type==="TemplateLiteral",(S,B)=>S.type==="ArrayExpression"&&B==="elements",(S,B)=>x(S)&&S.key.type==="Identifier"&&S.key.name==="styles"&&B==="value",...T)}function F(I){return I.match(S=>S.type==="TemplateLiteral",(S,B)=>x(S)&&S.key.type==="Identifier"&&S.key.name==="template"&&B==="value",...T)}var T=[(I,S)=>I.type==="ObjectExpression"&&S==="properties",(I,S)=>I.type==="CallExpression"&&I.callee.type==="Identifier"&&I.callee.name==="Component"&&S==="arguments",(I,S)=>I.type==="Decorator"&&S==="expression"];function $(I){let S=I.getParentNode();if(!S||S.type!=="TaggedTemplateExpression")return!1;let B=S.tag.type==="ParenthesizedExpression"?S.tag.expression:S.tag;switch(B.type){case"MemberExpression":return j(B.object)||R(B);case"CallExpression":return j(B.callee)||B.callee.type==="MemberExpression"&&(B.callee.object.type==="MemberExpression"&&(j(B.callee.object.object)||R(B.callee.object))||B.callee.object.type==="CallExpression"&&j(B.callee.object.callee));case"Identifier":return B.name==="css";default:return!1}}function W(I){let S=I.getParentNode(),B=I.getParentNode(1);return B&&S.type==="JSXExpressionContainer"&&B.type==="JSXAttribute"&&B.name.type==="JSXIdentifier"&&B.name.name==="css"}function j(I){return I.type==="Identifier"&&I.name==="styled"}function R(I){return/^[A-Z]/.test(I.object.name)&&I.property.name==="extend"}function q(I){let S=I.getValue(),B=I.getParentNode();return X(S,"GraphQL")||B&&(B.type==="TaggedTemplateExpression"&&(B.tag.type==="MemberExpression"&&B.tag.object.name==="graphql"&&B.tag.property.name==="experimental"||B.tag.type==="Identifier"&&(B.tag.name==="gql"||B.tag.name==="graphql"))||B.type==="CallExpression"&&B.callee.type==="Identifier"&&B.callee.name==="graphql")}function X(I,S){return h(I,D.Block|D.Leading,B=>{let{value:O}=B;return O===" ".concat(S," ")})}function G(I){return X(I.getValue(),"HTML")||I.match(S=>S.type==="TemplateLiteral",(S,B)=>S.type==="TaggedTemplateExpression"&&S.tag.type==="Identifier"&&S.tag.name==="html"&&B==="quasi")}function Q(I){let{quasis:S}=I;return S.some(B=>{let{value:{cooked:O}}=B;return O===null})}C.exports=P}}),fm=we({"src/language-js/clean.js"(m,C){Pe();var h=Is(),D=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),x=p=>{for(let g of p.quasis)delete g.value};function c(p,g,y){if(p.type==="Program"&&delete g.sourceType,(p.type==="BigIntLiteral"||p.type==="BigIntLiteralTypeAnnotation")&&g.value&&(g.value=g.value.toLowerCase()),(p.type==="BigIntLiteral"||p.type==="Literal")&&g.bigint&&(g.bigint=g.bigint.toLowerCase()),p.type==="DecimalLiteral"&&(g.value=Number(g.value)),p.type==="Literal"&&g.decimal&&(g.decimal=Number(g.decimal)),p.type==="EmptyStatement"||p.type==="JSXText"||p.type==="JSXExpressionContainer"&&(p.expression.type==="Literal"||p.expression.type==="StringLiteral")&&p.expression.value===" ")return null;if((p.type==="Property"||p.type==="ObjectProperty"||p.type==="MethodDefinition"||p.type==="ClassProperty"||p.type==="ClassMethod"||p.type==="PropertyDefinition"||p.type==="TSDeclareMethod"||p.type==="TSPropertySignature"||p.type==="ObjectTypeProperty")&&typeof p.key=="object"&&p.key&&(p.key.type==="Literal"||p.key.type==="NumericLiteral"||p.key.type==="StringLiteral"||p.key.type==="Identifier")&&delete g.key,p.type==="JSXElement"&&p.openingElement.name.name==="style"&&p.openingElement.attributes.some(k=>k.name.name==="jsx"))for(let{type:k,expression:N}of g.children)k==="JSXExpressionContainer"&&N.type==="TemplateLiteral"&&x(N);p.type==="JSXAttribute"&&p.name.name==="css"&&p.value.type==="JSXExpressionContainer"&&p.value.expression.type==="TemplateLiteral"&&x(g.value.expression),p.type==="JSXAttribute"&&p.value&&p.value.type==="Literal"&&/["']|&quot;|&apos;/.test(p.value.value)&&(g.value.value=g.value.value.replace(/["']|&quot;|&apos;/g,'"'));let A=p.expression||p.callee;if(p.type==="Decorator"&&A.type==="CallExpression"&&A.callee.name==="Component"&&A.arguments.length===1){let k=p.expression.arguments[0].properties;for(let[N,b]of g.expression.arguments[0].properties.entries())switch(k[N].key.name){case"styles":b.value.type==="ArrayExpression"&&x(b.value.elements[0]);break;case"template":b.value.type==="TemplateLiteral"&&x(b.value);break}}if(p.type==="TaggedTemplateExpression"&&(p.tag.type==="MemberExpression"||p.tag.type==="Identifier"&&(p.tag.name==="gql"||p.tag.name==="graphql"||p.tag.name==="css"||p.tag.name==="md"||p.tag.name==="markdown"||p.tag.name==="html")||p.tag.type==="CallExpression")&&x(g.quasi),p.type==="TemplateLiteral"){var P;(!((P=p.leadingComments)===null||P===void 0)&&P.some(k=>h(k)&&["GraphQL","HTML"].some(N=>k.value===" ".concat(N," ")))||y.type==="CallExpression"&&y.callee.name==="graphql"||!p.leadingComments)&&x(g)}if(p.type==="InterpreterDirective"&&(g.value=g.value.trimEnd()),(p.type==="TSIntersectionType"||p.type==="TSUnionType")&&p.types.length===1)return g.types[0]}c.ignoredProperties=D,C.exports=c}}),vc={};Gn(vc,{EOL:()=>mo,arch:()=>dm,cpus:()=>wc,default:()=>Nc,endianness:()=>Cc,freemem:()=>Fc,getNetworkInterfaces:()=>_c,hostname:()=>Ec,loadavg:()=>Ac,networkInterfaces:()=>Tc,platform:()=>mm,release:()=>Bc,tmpDir:()=>ho,tmpdir:()=>fo,totalmem:()=>Sc,type:()=>kc,uptime:()=>bc});function Cc(){if(typeof Ga>"u"){var m=new ArrayBuffer(2),C=new Uint8Array(m),h=new Uint16Array(m);if(C[0]=1,C[1]=2,h[0]===258)Ga="BE";else if(h[0]===513)Ga="LE";else throw new Error("unable to figure out endianess")}return Ga}function Ec(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Ac(){return[]}function bc(){return 0}function Fc(){return Number.MAX_VALUE}function Sc(){return Number.MAX_VALUE}function wc(){return[]}function kc(){return"Browser"}function Bc(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Tc(){}function _c(){}function dm(){return"javascript"}function mm(){return"browser"}function ho(){return"/tmp"}var Ga,fo,mo,Nc,gm=Ot({"node-modules-polyfills:os"(){Pe(),fo=ho,mo=`
59
- `,Nc={EOL:mo,tmpdir:fo,tmpDir:ho,networkInterfaces:Tc,getNetworkInterfaces:_c,release:Bc,type:kc,cpus:wc,totalmem:Sc,freemem:Fc,uptime:bc,loadavg:Ac,hostname:Ec,endianness:Cc}}}),xm=we({"node-modules-polyfills-commonjs:os"(m,C){Pe();var h=(gm(),zr(vc));if(h&&h.default){C.exports=h.default;for(let D in h)C.exports[D]=h[D]}else h&&(C.exports=h)}}),Dm=we({"node_modules/detect-newline/index.js"(m,C){Pe();var h=D=>{if(typeof D!="string")throw new TypeError("Expected a string");let x=D.match(/(?:\r?\n)/g)||[];if(x.length===0)return;let c=x.filter(g=>g===`\r
60
- `).length,p=x.length-c;return c>p?`\r
61
- `:`
62
- `};C.exports=h,C.exports.graceful=D=>typeof D=="string"&&h(D)||`
63
- `}}),ym=we({"node_modules/jest-docblock/build/index.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=b,m.parse=T,m.parseWithComments=$,m.print=W,m.strip=F;function C(){let R=xm();return C=function(){return R},R}function h(){let R=D(Dm());return h=function(){return R},R}function D(R){return R&&R.__esModule?R:{default:R}}var x=/\*\/$/,c=/^\/\*\*/,p=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,g=/(^|\s+)\/\/([^\r\n]*)/g,y=/^(\r?\n)+/,A=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,P=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,k=/(\r?\n|^) *\* ?/g,N=[];function b(R){let q=R.match(p);return q?q[0].trimLeft():""}function F(R){let q=R.match(p);return q&&q[0]?R.substring(q[0].length):R}function T(R){return $(R).pragmas}function $(R){let q=(0,h().default)(R)||C().EOL;R=R.replace(c,"").replace(x,"").replace(k,"$1");let X="";for(;X!==R;)X=R,R=R.replace(A,"".concat(q,"$1 $2").concat(q));R=R.replace(y,"").trimRight();let G=Object.create(null),Q=R.replace(P,"").replace(y,"").trimRight(),I;for(;I=P.exec(R);){let S=I[2].replace(g,"");typeof G[I[1]]=="string"||Array.isArray(G[I[1]])?G[I[1]]=N.concat(G[I[1]],S):G[I[1]]=S}return{comments:Q,pragmas:G}}function W(R){let{comments:q="",pragmas:X={}}=R,G=(0,h().default)(q)||C().EOL,Q="/**",I=" *",S=" */",B=Object.keys(X),O=B.map(L=>j(L,X[L])).reduce((L,_)=>L.concat(_),[]).map(L=>I+" "+L+G).join("");if(!q){if(B.length===0)return"";if(B.length===1&&!Array.isArray(X[B[0]])){let L=X[B[0]];return"".concat(Q," ").concat(j(B[0],L)[0]).concat(S)}}let v=q.split(G).map(L=>"".concat(I," ").concat(L)).join(G)+G;return Q+G+(q?v:"")+(q&&B.length?I+G:"")+O+S}function j(R,q){return N.concat(q).map(X=>"@".concat(R," ").concat(X).trim())}}}),vm=we({"src/language-js/utils/get-shebang.js"(m,C){Pe();function h(D){if(!D.startsWith("#!"))return"";let x=D.indexOf(`
64
- `);return x===-1?D:D.slice(0,x)}C.exports=h}}),Ic=we({"src/language-js/pragma.js"(m,C){Pe();var{parseWithComments:h,strip:D,extract:x,print:c}=ym(),{normalizeEndOfLine:p}=Wi(),g=vm();function y(k){let N=g(k);N&&(k=k.slice(N.length+1));let b=x(k),{pragmas:F,comments:T}=h(b);return{shebang:N,text:k,pragmas:F,comments:T}}function A(k){let N=Object.keys(y(k).pragmas);return N.includes("prettier")||N.includes("format")}function P(k){let{shebang:N,text:b,pragmas:F,comments:T}=y(k),$=D(b),W=c({pragmas:Object.assign({format:""},F),comments:T.trimStart()});return(N?"".concat(N,`
65
- `):"")+p(W)+($.startsWith(`
66
- `)?`
67
- `:`
68
-
69
- `)+$}C.exports={hasPragma:A,insertPragma:P}}}),Pc=we({"src/language-js/comments.js"(m,C){Pe();var{getLast:h,hasNewline:D,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:x,getNextNonSpaceNonCommentCharacter:c,hasNewlineInRange:p,addLeadingComment:g,addTrailingComment:y,addDanglingComment:A,getNextNonSpaceNonCommentCharacterIndex:P,isNonEmptyArray:k}=Dr(),{getFunctionParameters:N,isPrettierIgnoreComment:b,isJsxNode:F,hasFlowShorthandAnnotationComment:T,hasFlowAnnotationComment:$,hasIgnoreComment:W,isCallLikeExpression:j,getCallArguments:R,isCallExpression:q,isMemberExpression:X,isObjectProperty:G,isLineComment:Q,getComments:I,CommentCheckFlags:S,markerForIfWithoutBlockAndSameLineComment:B}=qr(),{locStart:O,locEnd:v}=Rn(),L=Is();function _(nt){return[mt,Ze,ie,te,fe,ce,Te,yt,Ee,st,jt,zt,Le,ze,ge].some(H=>H(nt))}function z(nt){return[se,Ze,ke,jt,te,fe,ce,Te,ze,ve,We,st,it,ge,ft].some(H=>H(nt))}function J(nt){return[mt,te,fe,de,$e,Le,st,De,he,Fe,ge,Je].some(H=>H(nt))}function U(nt,H){let Ae=(nt.body||nt.properties).find(Ue=>{let{type:vt}=Ue;return vt!=="EmptyStatement"});Ae?g(Ae,H):A(nt,H)}function K(nt,H){nt.type==="BlockStatement"?U(nt,H):g(nt,H)}function se(nt){let{comment:H,followingNode:Ae}=nt;return Ae&&Ht(H)?(g(Ae,H),!0):!1}function te(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt,text:ar}=nt;if((Ue==null?void 0:Ue.type)!=="IfStatement"||!vt)return!1;if(c(ar,H,v)===")")return y(Ae,H),!0;if(Ae===Ue.consequent&&vt===Ue.alternate){if(Ae.type==="BlockStatement")y(Ae,H);else{let Nt=H.type==="SingleLine"||H.loc.start.line===H.loc.end.line,Mt=H.loc.start.line===Ae.loc.start.line;Nt&&Mt?A(Ae,H,B):A(Ue,H)}return!0}return vt.type==="BlockStatement"?(U(vt,H),!0):vt.type==="IfStatement"?(K(vt.consequent,H),!0):Ue.consequent===vt?(g(vt,H),!0):!1}function fe(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt,text:ar}=nt;return(Ue==null?void 0:Ue.type)!=="WhileStatement"||!vt?!1:c(ar,H,v)===")"?(y(Ae,H),!0):vt.type==="BlockStatement"?(U(vt,H),!0):Ue.body===vt?(g(vt,H),!0):!1}function ce(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt}=nt;return(Ue==null?void 0:Ue.type)!=="TryStatement"&&(Ue==null?void 0:Ue.type)!=="CatchClause"||!vt?!1:Ue.type==="CatchClause"&&Ae?(y(Ae,H),!0):vt.type==="BlockStatement"?(U(vt,H),!0):vt.type==="TryStatement"?(K(vt.finalizer,H),!0):vt.type==="CatchClause"?(K(vt.body,H),!0):!1}function ie(nt){let{comment:H,enclosingNode:Ae,followingNode:Ue}=nt;return X(Ae)&&(Ue==null?void 0:Ue.type)==="Identifier"?(g(Ae,H),!0):!1}function ke(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt,text:ar}=nt,Nt=Ae&&!p(ar,v(Ae),O(H));return(!Ae||!Nt)&&((Ue==null?void 0:Ue.type)==="ConditionalExpression"||(Ue==null?void 0:Ue.type)==="TSConditionalType")&&vt?(g(vt,H),!0):!1}function de(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue}=nt;return G(Ue)&&Ue.shorthand&&Ue.key===Ae&&Ue.value.type==="AssignmentPattern"?(y(Ue.value.left,H),!0):!1}var pe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Te(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt}=nt;if(pe.has(Ue==null?void 0:Ue.type)){if(k(Ue.decorators)&&!(vt&&vt.type==="Decorator"))return y(h(Ue.decorators),H),!0;if(Ue.body&&vt===Ue.body)return U(Ue.body,H),!0;if(vt){if(Ue.superClass&&vt===Ue.superClass&&Ae&&(Ae===Ue.id||Ae===Ue.typeParameters))return y(Ae,H),!0;for(let ar of["implements","extends","mixins"])if(Ue[ar]&&vt===Ue[ar][0])return Ae&&(Ae===Ue.id||Ae===Ue.typeParameters||Ae===Ue.superClass)?y(Ae,H):A(Ue,H,ar),!0}}return!1}var je=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function Le(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,text:vt}=nt;return Ue&&Ae&&c(vt,H,v)==="("&&(Ue.type==="Property"||Ue.type==="TSDeclareMethod"||Ue.type==="TSAbstractMethodDefinition")&&Ae.type==="Identifier"&&Ue.key===Ae&&c(vt,Ae,v)!==":"||(Ae==null?void 0:Ae.type)==="Decorator"&&je.has(Ue==null?void 0:Ue.type)?(y(Ae,H),!0):!1}var Qe=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function he(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,text:vt}=nt;return c(vt,H,v)!=="("?!1:Ae&&Qe.has(Ue==null?void 0:Ue.type)?(y(Ae,H),!0):!1}function De(nt){let{comment:H,enclosingNode:Ae,text:Ue}=nt;if((Ae==null?void 0:Ae.type)!=="ArrowFunctionExpression")return!1;let vt=P(Ue,H,v);return vt!==!1&&Ue.slice(vt,vt+2)==="=>"?(A(Ae,H),!0):!1}function $e(nt){let{comment:H,enclosingNode:Ae,text:Ue}=nt;return c(Ue,H,v)!==")"?!1:Ae&&(ct(Ae)&&N(Ae).length===0||j(Ae)&&R(Ae).length===0)?(A(Ae,H),!0):((Ae==null?void 0:Ae.type)==="MethodDefinition"||(Ae==null?void 0:Ae.type)==="TSAbstractMethodDefinition")&&N(Ae.value).length===0?(A(Ae.value,H),!0):!1}function Ze(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt,text:ar}=nt;if((Ae==null?void 0:Ae.type)==="FunctionTypeParam"&&(Ue==null?void 0:Ue.type)==="FunctionTypeAnnotation"&&(vt==null?void 0:vt.type)!=="FunctionTypeParam"||((Ae==null?void 0:Ae.type)==="Identifier"||(Ae==null?void 0:Ae.type)==="AssignmentPattern")&&Ue&&ct(Ue)&&c(ar,H,v)===")")return y(Ae,H),!0;if((Ue==null?void 0:Ue.type)==="FunctionDeclaration"&&(vt==null?void 0:vt.type)==="BlockStatement"){let Nt=(()=>{let Mt=N(Ue);if(Mt.length>0)return x(ar,v(h(Mt)));let Ct=x(ar,v(Ue.id));return Ct!==!1&&x(ar,Ct+1)})();if(O(H)>Nt)return U(vt,H),!0}return!1}function ze(nt){let{comment:H,enclosingNode:Ae}=nt;return(Ae==null?void 0:Ae.type)==="LabeledStatement"?(g(Ae,H),!0):!1}function ge(nt){let{comment:H,enclosingNode:Ae}=nt;return((Ae==null?void 0:Ae.type)==="ContinueStatement"||(Ae==null?void 0:Ae.type)==="BreakStatement")&&!Ae.label?(y(Ae,H),!0):!1}function ve(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue}=nt;return q(Ue)&&Ae&&Ue.callee===Ae&&Ue.arguments.length>0?(g(Ue.arguments[0],H),!0):!1}function Ee(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt}=nt;return(Ue==null?void 0:Ue.type)==="UnionTypeAnnotation"||(Ue==null?void 0:Ue.type)==="TSUnionType"?(b(H)&&(vt.prettierIgnore=!0,H.unignore=!0),Ae?(y(Ae,H),!0):!1):(((vt==null?void 0:vt.type)==="UnionTypeAnnotation"||(vt==null?void 0:vt.type)==="TSUnionType")&&b(H)&&(vt.types[0].prettierIgnore=!0,H.unignore=!0),!1)}function We(nt){let{comment:H,enclosingNode:Ae}=nt;return G(Ae)?(g(Ae,H),!0):!1}function st(nt){let{comment:H,enclosingNode:Ae,followingNode:Ue,ast:vt,isLastComment:ar}=nt;return vt&&vt.body&&vt.body.length===0?(ar?A(vt,H):g(vt,H),!0):(Ae==null?void 0:Ae.type)==="Program"&&(Ae==null?void 0:Ae.body.length)===0&&!k(Ae.directives)?(ar?A(Ae,H):g(Ae,H),!0):(Ue==null?void 0:Ue.type)==="Program"&&(Ue==null?void 0:Ue.body.length)===0&&(Ae==null?void 0:Ae.type)==="ModuleExpression"?(A(Ue,H),!0):!1}function yt(nt){let{comment:H,enclosingNode:Ae}=nt;return(Ae==null?void 0:Ae.type)==="ForInStatement"||(Ae==null?void 0:Ae.type)==="ForOfStatement"?(g(Ae,H),!0):!1}function jt(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,text:vt}=nt;if((Ue==null?void 0:Ue.type)==="ImportSpecifier"||(Ue==null?void 0:Ue.type)==="ExportSpecifier")return g(Ue,H),!0;let ar=(Ae==null?void 0:Ae.type)==="ImportSpecifier"&&(Ue==null?void 0:Ue.type)==="ImportDeclaration",Nt=(Ae==null?void 0:Ae.type)==="ExportSpecifier"&&(Ue==null?void 0:Ue.type)==="ExportNamedDeclaration";return(ar||Nt)&&D(vt,v(H))?(y(Ae,H),!0):!1}function zt(nt){let{comment:H,enclosingNode:Ae}=nt;return(Ae==null?void 0:Ae.type)==="AssignmentPattern"?(g(Ae,H),!0):!1}var Xe=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),Ke=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function it(nt){let{comment:H,enclosingNode:Ae,followingNode:Ue}=nt;return Xe.has(Ae==null?void 0:Ae.type)&&Ue&&(Ke.has(Ue.type)||L(H))?(g(Ue,H),!0):!1}function Je(nt){let{comment:H,enclosingNode:Ae,followingNode:Ue,text:vt}=nt;return!Ue&&((Ae==null?void 0:Ae.type)==="TSMethodSignature"||(Ae==null?void 0:Ae.type)==="TSDeclareFunction"||(Ae==null?void 0:Ae.type)==="TSAbstractMethodDefinition")&&c(vt,H,v)===";"?(y(Ae,H),!0):!1}function mt(nt){let{comment:H,enclosingNode:Ae,followingNode:Ue}=nt;if(b(H)&&(Ae==null?void 0:Ae.type)==="TSMappedType"&&(Ue==null?void 0:Ue.type)==="TSTypeParameter"&&Ue.constraint)return Ae.prettierIgnore=!0,H.unignore=!0,!0}function Fe(nt){let{comment:H,precedingNode:Ae,enclosingNode:Ue,followingNode:vt}=nt;return(Ue==null?void 0:Ue.type)!=="TSMappedType"?!1:(vt==null?void 0:vt.type)==="TSTypeParameter"&&vt.name?(g(vt.name,H),!0):(Ae==null?void 0:Ae.type)==="TSTypeParameter"&&Ae.constraint?(y(Ae.constraint,H),!0):!1}function ft(nt){let{comment:H,enclosingNode:Ae,followingNode:Ue}=nt;return!Ae||Ae.type!=="SwitchCase"||Ae.test?!1:(Ue.type==="BlockStatement"&&Q(H)?U(Ue,H):A(Ae,H),!0)}function ct(nt){return nt.type==="ArrowFunctionExpression"||nt.type==="FunctionExpression"||nt.type==="FunctionDeclaration"||nt.type==="ObjectMethod"||nt.type==="ClassMethod"||nt.type==="TSDeclareFunction"||nt.type==="TSCallSignatureDeclaration"||nt.type==="TSConstructSignatureDeclaration"||nt.type==="TSMethodSignature"||nt.type==="TSConstructorType"||nt.type==="TSFunctionType"||nt.type==="TSDeclareMethod"}function xt(nt,H){if((H.parser==="typescript"||H.parser==="flow"||H.parser==="acorn"||H.parser==="espree"||H.parser==="meriyah"||H.parser==="__babel_estree")&&nt.type==="MethodDefinition"&&nt.value&&nt.value.type==="FunctionExpression"&&N(nt.value).length===0&&!nt.value.returnType&&!k(nt.value.typeParameters)&&nt.value.body)return[...nt.decorators||[],nt.key,nt.value.body]}function Ht(nt){return L(nt)&&nt.value[0]==="*"&&/@type\b/.test(nt.value)}function Dt(nt){let H=nt.getValue(),Ae=nt.getParentNode(),Ue=vt=>$(I(vt,S.Leading))||$(I(vt,S.Trailing));return(H&&(F(H)||T(H)||q(Ae)&&Ue(H))||Ae&&(Ae.type==="JSXSpreadAttribute"||Ae.type==="JSXSpreadChild"||Ae.type==="UnionTypeAnnotation"||Ae.type==="TSUnionType"||(Ae.type==="ClassDeclaration"||Ae.type==="ClassExpression")&&Ae.superClass===H))&&(!W(nt)||Ae.type==="UnionTypeAnnotation"||Ae.type==="TSUnionType")}C.exports={handleOwnLineComment:_,handleEndOfLineComment:z,handleRemainingComment:J,isTypeCastComment:Ht,getCommentChildNodes:xt,willPrintOwnComments:Dt}}}),Ls=we({"src/language-js/needs-parens.js"(m,C){Pe();var h=ur(),D=no(),{getFunctionParameters:x,getLeftSidePathName:c,hasFlowShorthandAnnotationComment:p,hasNakedLeftSide:g,hasNode:y,isBitwiseOperator:A,startsWithNoLookaheadToken:P,shouldFlatten:k,getPrecedence:N,isCallExpression:b,isMemberExpression:F,isObjectProperty:T}=qr();function $(Q,I){let S=Q.getParentNode();if(!S)return!1;let B=Q.getName(),O=Q.getNode();if(I.__isInHtmlInterpolation&&!I.bracketSpacing&&q(O)&&X(Q))return!0;if(W(O))return!1;if(I.parser!=="flow"&&p(Q.getValue()))return!0;if(O.type==="Identifier")return!!(O.extra&&O.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(O.name)||B==="left"&&O.name==="async"&&S.type==="ForOfStatement"&&!S.await);switch(S.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(B==="superClass"&&(O.type==="ArrowFunctionExpression"||O.type==="AssignmentExpression"||O.type==="AwaitExpression"||O.type==="BinaryExpression"||O.type==="ConditionalExpression"||O.type==="LogicalExpression"||O.type==="NewExpression"||O.type==="ObjectExpression"||O.type==="SequenceExpression"||O.type==="TaggedTemplateExpression"||O.type==="UnaryExpression"||O.type==="UpdateExpression"||O.type==="YieldExpression"||O.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return G(Q,I)||O.type==="SequenceExpression";case"Decorator":{if(B==="expression"){let v=!1,L=!1,_=O;for(;_;)switch(_.type){case"MemberExpression":L=!0,_=_.object;break;case"CallExpression":if(L||v)return I.parser!=="typescript";v=!0,_=_.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return I.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(P(O,!0))return!0;break}case"ArrowFunctionExpression":{if(B==="body"&&O.type!=="SequenceExpression"&&P(O,!1))return!0;break}}switch(O.type){case"UpdateExpression":if(S.type==="UnaryExpression")return O.prefix&&(O.operator==="++"&&S.operator==="+"||O.operator==="--"&&S.operator==="-");case"UnaryExpression":switch(S.type){case"UnaryExpression":return O.operator===S.operator&&(O.operator==="+"||O.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return B==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return B==="callee";case"BinaryExpression":return B==="left"&&S.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(S.type==="UpdateExpression"||O.operator==="in"&&j(Q))return!0;if(O.operator==="|>"&&O.extra&&O.extra.parenthesized){let v=Q.getParentNode(1);if(v.type==="BinaryExpression"&&v.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(S.type){case"TSAsExpression":return O.type!=="TSAsExpression";case"ConditionalExpression":return O.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return B==="callee";case"ClassExpression":case"ClassDeclaration":return B==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return B==="object";case"AssignmentExpression":case"AssignmentPattern":return B==="left"&&(O.type==="TSTypeAssertion"||O.type==="TSAsExpression");case"LogicalExpression":if(O.type==="LogicalExpression")return S.operator!==O.operator;case"BinaryExpression":{let{operator:v,type:L}=O;if(!v&&L!=="TSTypeAssertion")return!0;let _=N(v),z=S.operator,J=N(z);return J>_||B==="right"&&J===_||J===_&&!k(z,v)?!0:J<_&&v==="%"?z==="+"||z==="-":!!A(z)}default:return!1}case"SequenceExpression":switch(S.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return B!=="expression";case"ArrowFunctionExpression":return B!=="body";default:return!0}case"YieldExpression":if(S.type==="UnaryExpression"||S.type==="AwaitExpression"||S.type==="TSAsExpression"||S.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(S.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return B==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return B==="callee";case"ConditionalExpression":return B==="test";case"BinaryExpression":return!(!O.argument&&S.operator==="|>");default:return!1}case"TSConditionalType":if(B==="extendsType"&&S.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(B==="checkType"&&S.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((S.type==="TSUnionType"||S.type==="TSIntersectionType")&&S.types.length>1&&(!O.types||O.types.length>1))return!0;case"TSInferType":if(O.type==="TSInferType"&&S.type==="TSRestType")return!1;case"TSTypeOperator":return S.type==="TSArrayType"||S.type==="TSOptionalType"||S.type==="TSRestType"||B==="objectType"&&S.type==="TSIndexedAccessType"||S.type==="TSTypeOperator"||S.type==="TSTypeAnnotation"&&Q.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return S.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return S.type==="ArrayTypeAnnotation"||S.type==="NullableTypeAnnotation"||S.type==="IntersectionTypeAnnotation"||S.type==="UnionTypeAnnotation"||B==="objectType"&&(S.type==="IndexedAccessType"||S.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return S.type==="ArrayTypeAnnotation"||B==="objectType"&&(S.type==="IndexedAccessType"||S.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let v=S.type==="NullableTypeAnnotation"?Q.getParentNode(1):S;return v.type==="UnionTypeAnnotation"||v.type==="IntersectionTypeAnnotation"||v.type==="ArrayTypeAnnotation"||B==="objectType"&&(v.type==="IndexedAccessType"||v.type==="OptionalIndexedAccessType")||v.type==="NullableTypeAnnotation"||S.type==="FunctionTypeParam"&&S.name===null&&x(O).some(L=>L.typeAnnotation&&L.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return B==="objectType"&&S.type==="IndexedAccessType";case"TypeofTypeAnnotation":return B==="objectType"&&(S.type==="IndexedAccessType"||S.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof O.value=="string"&&S.type==="ExpressionStatement"&&!S.directive){let v=Q.getParentNode(1);return v.type==="Program"||v.type==="BlockStatement"}return B==="object"&&S.type==="MemberExpression"&&typeof O.value=="number";case"AssignmentExpression":{let v=Q.getParentNode(1);return B==="body"&&S.type==="ArrowFunctionExpression"?!0:B==="key"&&(S.type==="ClassProperty"||S.type==="PropertyDefinition")&&S.computed||(B==="init"||B==="update")&&S.type==="ForStatement"?!1:S.type==="ExpressionStatement"?O.left.type==="ObjectPattern":!(B==="key"&&S.type==="TSPropertySignature"||S.type==="AssignmentExpression"||S.type==="SequenceExpression"&&v&&v.type==="ForStatement"&&(v.init===S||v.update===S)||B==="value"&&S.type==="Property"&&v&&v.type==="ObjectPattern"&&v.properties.includes(S)||S.type==="NGChainedExpression")}case"ConditionalExpression":switch(S.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return B==="callee";case"ConditionalExpression":return B==="test";case"MemberExpression":case"OptionalMemberExpression":return B==="object";default:return!1}case"FunctionExpression":switch(S.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return B==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(S.type){case"BinaryExpression":return S.operator!=="|>"||O.extra&&O.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return B==="callee";case"MemberExpression":case"OptionalMemberExpression":return B==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return B==="test";default:return!1}case"ClassExpression":if(D(O.decorators))return!0;switch(S.type){case"NewExpression":return B==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let v=Q.getParentNode(1);if(B==="object"&&S.type==="MemberExpression"||B==="callee"&&(S.type==="CallExpression"||S.type==="NewExpression")||S.type==="TSNonNullExpression"&&v.type==="MemberExpression"&&v.object===S)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(B==="callee"&&(S.type==="BindExpression"||S.type==="NewExpression")){let v=O;for(;v;)switch(v.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":v=v.object;break;case"TaggedTemplateExpression":v=v.tag;break;case"TSNonNullExpression":v=v.expression;break;default:return!1}}return!1;case"BindExpression":return B==="callee"&&(S.type==="BindExpression"||S.type==="NewExpression")||B==="object"&&F(S);case"NGPipeExpression":return!(S.type==="NGRoot"||S.type==="NGMicrosyntaxExpression"||S.type==="ObjectProperty"&&!(O.extra&&O.extra.parenthesized)||S.type==="ArrayExpression"||b(S)&&S.arguments[B]===O||B==="right"&&S.type==="NGPipeExpression"||B==="property"&&S.type==="MemberExpression"||S.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return B==="callee"||B==="left"&&S.type==="BinaryExpression"&&S.operator==="<"||S.type!=="ArrayExpression"&&S.type!=="ArrowFunctionExpression"&&S.type!=="AssignmentExpression"&&S.type!=="AssignmentPattern"&&S.type!=="BinaryExpression"&&S.type!=="NewExpression"&&S.type!=="ConditionalExpression"&&S.type!=="ExpressionStatement"&&S.type!=="JsExpressionRoot"&&S.type!=="JSXAttribute"&&S.type!=="JSXElement"&&S.type!=="JSXExpressionContainer"&&S.type!=="JSXFragment"&&S.type!=="LogicalExpression"&&!b(S)&&!T(S)&&S.type!=="ReturnStatement"&&S.type!=="ThrowStatement"&&S.type!=="TypeCastExpression"&&S.type!=="VariableDeclarator"&&S.type!=="YieldExpression";case"TypeAnnotation":return B==="returnType"&&S.type==="ArrowFunctionExpression"&&R(O)}return!1}function W(Q){return Q.type==="BlockStatement"||Q.type==="BreakStatement"||Q.type==="ClassBody"||Q.type==="ClassDeclaration"||Q.type==="ClassMethod"||Q.type==="ClassProperty"||Q.type==="PropertyDefinition"||Q.type==="ClassPrivateProperty"||Q.type==="ContinueStatement"||Q.type==="DebuggerStatement"||Q.type==="DeclareClass"||Q.type==="DeclareExportAllDeclaration"||Q.type==="DeclareExportDeclaration"||Q.type==="DeclareFunction"||Q.type==="DeclareInterface"||Q.type==="DeclareModule"||Q.type==="DeclareModuleExports"||Q.type==="DeclareVariable"||Q.type==="DoWhileStatement"||Q.type==="EnumDeclaration"||Q.type==="ExportAllDeclaration"||Q.type==="ExportDefaultDeclaration"||Q.type==="ExportNamedDeclaration"||Q.type==="ExpressionStatement"||Q.type==="ForInStatement"||Q.type==="ForOfStatement"||Q.type==="ForStatement"||Q.type==="FunctionDeclaration"||Q.type==="IfStatement"||Q.type==="ImportDeclaration"||Q.type==="InterfaceDeclaration"||Q.type==="LabeledStatement"||Q.type==="MethodDefinition"||Q.type==="ReturnStatement"||Q.type==="SwitchStatement"||Q.type==="ThrowStatement"||Q.type==="TryStatement"||Q.type==="TSDeclareFunction"||Q.type==="TSEnumDeclaration"||Q.type==="TSImportEqualsDeclaration"||Q.type==="TSInterfaceDeclaration"||Q.type==="TSModuleDeclaration"||Q.type==="TSNamespaceExportDeclaration"||Q.type==="TypeAlias"||Q.type==="VariableDeclaration"||Q.type==="WhileStatement"||Q.type==="WithStatement"}function j(Q){let I=0,S=Q.getValue();for(;S;){let B=Q.getParentNode(I++);if(B&&B.type==="ForStatement"&&B.init===S)return!0;S=B}return!1}function R(Q){return y(Q,I=>I.type==="ObjectTypeAnnotation"&&y(I,S=>S.type==="FunctionTypeAnnotation"||void 0)||void 0)}function q(Q){switch(Q.type){case"ObjectExpression":return!0;default:return!1}}function X(Q){let I=Q.getValue(),S=Q.getParentNode(),B=Q.getName();switch(S.type){case"NGPipeExpression":if(typeof B=="number"&&S.arguments[B]===I&&S.arguments.length-1===B)return Q.callParent(X);break;case"ObjectProperty":if(B==="value"){let O=Q.getParentNode(1);return h(O.properties)===S}break;case"BinaryExpression":case"LogicalExpression":if(B==="right")return Q.callParent(X);break;case"ConditionalExpression":if(B==="alternate")return Q.callParent(X);break;case"UnaryExpression":if(S.prefix)return Q.callParent(X);break}return!1}function G(Q,I){let S=Q.getValue(),B=Q.getParentNode();return S.type==="FunctionExpression"||S.type==="ClassExpression"?B.type==="ExportDefaultDeclaration"||!$(Q,I):!g(S)||B.type!=="ExportDefaultDeclaration"&&$(Q,I)?!1:Q.call(O=>G(O,I),...c(Q,S))}C.exports=$}}),Lc=we({"src/language-js/print-preprocess.js"(m,C){Pe();function h(D,x){switch(x.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},D),{},{type:x.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:D,comments:[],rootMarker:x.rootMarker});default:return D}}C.exports=h}}),Cm=we({"src/language-js/print/html-binding.js"(m,C){Pe();var{builders:{join:h,line:D,group:x,softline:c,indent:p}}=dt();function g(A,P,k){let N=A.getValue();if(P.__onHtmlBindingRoot&&A.getName()===null&&P.__onHtmlBindingRoot(N,P),N.type==="File"){if(P.__isVueForBindingLeft)return A.call(b=>{let F=h([",",D],b.map(k,"params")),{params:T}=b.getValue();return T.length===1?F:["(",p([c,x(F)]),c,")"]},"program","body",0);if(P.__isVueBindings)return A.call(b=>h([",",D],b.map(k,"params")),"program","body",0)}}function y(A){switch(A.type){case"MemberExpression":switch(A.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return y(A.object)}return!1;case"Identifier":return!0;default:return!1}}C.exports={isVueEventBindingExpression:y,printHtmlBinding:g}}}),go=we({"src/language-js/print/binaryish.js"(m,C){Pe();var{printComments:h}=An(),{getLast:D}=Dr(),{builders:{join:x,line:c,softline:p,group:g,indent:y,align:A,ifBreak:P,indentIfBreak:k},utils:{cleanDoc:N,getDocParts:b,isConcat:F}}=dt(),{hasLeadingOwnLineComment:T,isBinaryish:$,isJsxNode:W,shouldFlatten:j,hasComment:R,CommentCheckFlags:q,isCallExpression:X,isMemberExpression:G,isObjectProperty:Q,isEnabledHackPipeline:I}=qr(),S=0;function B(L,_,z){let J=L.getValue(),U=L.getParentNode(),K=L.getParentNode(1),se=J!==U.body&&(U.type==="IfStatement"||U.type==="WhileStatement"||U.type==="SwitchStatement"||U.type==="DoWhileStatement"),te=I(_)&&J.operator==="|>",fe=O(L,z,_,!1,se);if(se)return fe;if(te)return g(fe);if(X(U)&&U.callee===J||U.type==="UnaryExpression"||G(U)&&!U.computed)return g([y([p,...fe]),p]);let ce=U.type==="ReturnStatement"||U.type==="ThrowStatement"||U.type==="JSXExpressionContainer"&&K.type==="JSXAttribute"||J.operator!=="|"&&U.type==="JsExpressionRoot"||J.type!=="NGPipeExpression"&&(U.type==="NGRoot"&&_.parser==="__ng_binding"||U.type==="NGMicrosyntaxExpression"&&K.type==="NGMicrosyntax"&&K.body.length===1)||J===U.body&&U.type==="ArrowFunctionExpression"||J!==U.body&&U.type==="ForStatement"||U.type==="ConditionalExpression"&&K.type!=="ReturnStatement"&&K.type!=="ThrowStatement"&&!X(K)||U.type==="TemplateLiteral",ie=U.type==="AssignmentExpression"||U.type==="VariableDeclarator"||U.type==="ClassProperty"||U.type==="PropertyDefinition"||U.type==="TSAbstractPropertyDefinition"||U.type==="ClassPrivateProperty"||Q(U),ke=$(J.left)&&j(J.operator,J.left.operator);if(ce||v(J)&&!ke||!v(J)&&ie)return g(fe);if(fe.length===0)return"";let de=W(J.right),pe=fe.findIndex(De=>typeof De!="string"&&!Array.isArray(De)&&De.type==="group"),Te=fe.slice(0,pe===-1?1:pe+1),je=fe.slice(Te.length,de?-1:void 0),Le=Symbol("logicalChain-"+ ++S),Qe=g([...Te,y(je)],{id:Le});if(!de)return Qe;let he=D(fe);return g([Qe,k(he,{groupId:Le})])}function O(L,_,z,J,U){let K=L.getValue();if(!$(K))return[g(_())];let se=[];j(K.operator,K.left.operator)?se=L.call(je=>O(je,_,z,!0,U),"left"):se.push(g(_("left")));let te=v(K),fe=(K.operator==="|>"||K.type==="NGPipeExpression"||K.operator==="|"&&z.parser==="__vue_expression")&&!T(z.originalText,K.right),ce=K.type==="NGPipeExpression"?"|":K.operator,ie=K.type==="NGPipeExpression"&&K.arguments.length>0?g(y([p,": ",x([p,":",P(" ")],L.map(_,"arguments").map(je=>A(2,g(je))))])):"",ke;if(te)ke=[ce," ",_("right"),ie];else{let je=I(z)&&ce==="|>"?L.call(Le=>O(Le,_,z,!0,U),"right"):_("right");ke=[fe?c:"",ce,fe?" ":c,je,ie]}let de=L.getParentNode(),pe=R(K.left,q.Trailing|q.Line),Te=pe||!(U&&K.type==="LogicalExpression")&&de.type!==K.type&&K.left.type!==K.type&&K.right.type!==K.type;if(se.push(fe?"":" ",Te?g(ke,{shouldBreak:pe}):ke),J&&R(K)){let je=N(h(L,se,z));return F(je)||je.type==="fill"?b(je):[je]}return se}function v(L){return L.type!=="LogicalExpression"?!1:!!(L.right.type==="ObjectExpression"&&L.right.properties.length>0||L.right.type==="ArrayExpression"&&L.right.elements.length>0||W(L.right))}C.exports={printBinaryishExpression:B,shouldInlineLogicalExpression:v}}}),Em=we({"src/language-js/print/angular.js"(m,C){Pe();var{builders:{join:h,line:D,group:x}}=dt(),{hasNode:c,hasComment:p,getComments:g}=qr(),{printBinaryishExpression:y}=go();function A(N,b,F){let T=N.getValue();if(T.type.startsWith("NG"))switch(T.type){case"NGRoot":return[F("node"),p(T.node)?" //"+g(T.node)[0].value.trimEnd():""];case"NGPipeExpression":return y(N,b,F);case"NGChainedExpression":return x(h([";",D],N.map($=>k($)?F():["(",F(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[T.prefix,": ",T.value.trim()];case"NGMicrosyntax":return N.map(($,W)=>[W===0?"":P($.getValue(),W,T)?" ":[";",D],F()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(T.name)?T.name:JSON.stringify(T.name);case"NGMicrosyntaxExpression":return[F("expression"),T.alias===null?"":[" as ",F("alias")]];case"NGMicrosyntaxKeyedExpression":{let $=N.getName(),W=N.getParentNode(),j=P(T,$,W)||($===1&&(T.key.name==="then"||T.key.name==="else")||$===2&&T.key.name==="else"&&W.body[$-1].type==="NGMicrosyntaxKeyedExpression"&&W.body[$-1].key.name==="then")&&W.body[0].type==="NGMicrosyntaxExpression";return[F("key"),j?" ":": ",F("expression")]}case"NGMicrosyntaxLet":return["let ",F("key"),T.value===null?"":[" = ",F("value")]];case"NGMicrosyntaxAs":return[F("key")," as ",F("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(T.type),"."))}}function P(N,b,F){return N.type==="NGMicrosyntaxKeyedExpression"&&N.key.name==="of"&&b===1&&F.body[0].type==="NGMicrosyntaxLet"&&F.body[0].value===null}function k(N){return c(N.getValue(),b=>{switch(b.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}C.exports={printAngular:A}}}),Am=we({"src/language-js/print/jsx.js"(m,C){Pe();var{printComments:h,printDanglingComments:D}=An(),{builders:{line:x,hardline:c,softline:p,group:g,indent:y,conditionalGroup:A,fill:P,ifBreak:k,lineSuffixBoundary:N,join:b},utils:{willBreak:F}}=dt(),{getLast:T,getPreferredQuote:$}=Dr(),{isJsxNode:W,rawText:j,isLiteral:R,isCallExpression:q,isStringLiteral:X,isBinaryish:G,hasComment:Q,CommentCheckFlags:I,hasNodeIgnoreComment:S}=qr(),B=Ls(),{willPrintOwnComments:O}=Pc(),v=ze=>ze===""||ze===x||ze===c||ze===p;function L(ze,ge,ve){let Ee=ze.getValue();if(Ee.type==="JSXElement"&&he(Ee))return[ve("openingElement"),ve("closingElement")];let We=Ee.type==="JSXElement"?ve("openingElement"):ve("openingFragment"),st=Ee.type==="JSXElement"?ve("closingElement"):ve("closingFragment");if(Ee.children.length===1&&Ee.children[0].type==="JSXExpressionContainer"&&(Ee.children[0].expression.type==="TemplateLiteral"||Ee.children[0].expression.type==="TaggedTemplateExpression"))return[We,...ze.map(ve,"children"),st];Ee.children=Ee.children.map(Dt=>$e(Dt)?{type:"JSXText",value:" ",raw:" "}:Dt);let yt=Ee.children.some(W),jt=Ee.children.filter(Dt=>Dt.type==="JSXExpressionContainer").length>1,zt=Ee.type==="JSXElement"&&Ee.openingElement.attributes.length>1,Xe=F(We)||yt||zt||jt,Ke=ze.getParentNode().rootMarker==="mdx",it=ge.singleQuote?"{' '}":'{" "}',Je=Ke?" ":k([it,p]," "),mt=Ee.openingElement&&Ee.openingElement.name&&Ee.openingElement.name.name==="fbt",Fe=_(ze,ge,ve,Je,mt),ft=Ee.children.some(Dt=>De(Dt));for(let Dt=Fe.length-2;Dt>=0;Dt--){let nt=Fe[Dt]===""&&Fe[Dt+1]==="",H=Fe[Dt]===c&&Fe[Dt+1]===""&&Fe[Dt+2]===c,Ae=(Fe[Dt]===p||Fe[Dt]===c)&&Fe[Dt+1]===""&&Fe[Dt+2]===Je,Ue=Fe[Dt]===Je&&Fe[Dt+1]===""&&(Fe[Dt+2]===p||Fe[Dt+2]===c),vt=Fe[Dt]===Je&&Fe[Dt+1]===""&&Fe[Dt+2]===Je,ar=Fe[Dt]===p&&Fe[Dt+1]===""&&Fe[Dt+2]===c||Fe[Dt]===c&&Fe[Dt+1]===""&&Fe[Dt+2]===p;H&&ft||nt||Ae||vt||ar?Fe.splice(Dt,2):Ue&&Fe.splice(Dt+1,2)}for(;Fe.length>0&&v(T(Fe));)Fe.pop();for(;Fe.length>1&&v(Fe[0])&&v(Fe[1]);)Fe.shift(),Fe.shift();let ct=[];for(let[Dt,nt]of Fe.entries()){if(nt===Je){if(Dt===1&&Fe[Dt-1]===""){if(Fe.length===2){ct.push(it);continue}ct.push([it,c]);continue}else if(Dt===Fe.length-1){ct.push(it);continue}else if(Fe[Dt-1]===""&&Fe[Dt-2]===c){ct.push(it);continue}}ct.push(nt),F(nt)&&(Xe=!0)}let xt=ft?P(ct):g(ct,{shouldBreak:!0});if(Ke)return xt;let Ht=g([We,y([c,xt]),c,st]);return Xe?Ht:A([g([We,...Fe,st]),Ht])}function _(ze,ge,ve,Ee,We){let st=[];return ze.each((yt,jt,zt)=>{let Xe=yt.getValue();if(R(Xe)){let Ke=j(Xe);if(De(Xe)){let it=Ke.split(je);if(it[0]===""){if(st.push(""),it.shift(),/\n/.test(it[0])){let mt=zt[jt+1];st.push(J(We,it[1],Xe,mt))}else st.push(Ee);it.shift()}let Je;if(T(it)===""&&(it.pop(),Je=it.pop()),it.length===0)return;for(let[mt,Fe]of it.entries())mt%2===1?st.push(x):st.push(Fe);if(Je!==void 0)if(/\n/.test(Je)){let mt=zt[jt+1];st.push(J(We,T(st),Xe,mt))}else st.push(Ee);else{let mt=zt[jt+1];st.push(z(We,T(st),Xe,mt))}}else/\n/.test(Ke)?Ke.match(/\n/g).length>1&&st.push("",c):st.push("",Ee)}else{let Ke=ve();st.push(Ke);let it=zt[jt+1];if(it&&De(it)){let Je=Qe(j(it)).split(je)[0];st.push(z(We,Je,Xe,it))}else st.push(c)}},"children"),st}function z(ze,ge,ve,Ee){return ze?"":ve.type==="JSXElement"&&!ve.closingElement||Ee&&Ee.type==="JSXElement"&&!Ee.closingElement?ge.length===1?p:c:p}function J(ze,ge,ve,Ee){return ze?c:ge.length===1?ve.type==="JSXElement"&&!ve.closingElement||Ee&&Ee.type==="JSXElement"&&!Ee.closingElement?c:p:c}function U(ze,ge,ve){let Ee=ze.getParentNode();if(!Ee||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Ee.type])return ge;let We=ze.match(void 0,yt=>yt.type==="ArrowFunctionExpression",q,yt=>yt.type==="JSXExpressionContainer"),st=B(ze,ve);return g([st?"":k("("),y([p,ge]),p,st?"":k(")")],{shouldBreak:We})}function K(ze,ge,ve){let Ee=ze.getValue(),We=[];if(We.push(ve("name")),Ee.value){let st;if(X(Ee.value)){let yt=j(Ee.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:jt,quote:zt,regex:Xe}=$(yt,ge.jsxSingleQuote?"'":'"');yt=yt.replace(Xe,jt),st=[zt,yt,zt]}else st=ve("value");We.push("=",st)}return We}function se(ze,ge,ve){let Ee=ze.getValue(),We=(st,yt)=>st.type==="JSXEmptyExpression"||!Q(st)&&(st.type==="ArrayExpression"||st.type==="ObjectExpression"||st.type==="ArrowFunctionExpression"||st.type==="AwaitExpression"&&(We(st.argument,st)||st.argument.type==="JSXElement")||q(st)||st.type==="FunctionExpression"||st.type==="TemplateLiteral"||st.type==="TaggedTemplateExpression"||st.type==="DoExpression"||W(yt)&&(st.type==="ConditionalExpression"||G(st)));return We(Ee.expression,ze.getParentNode(0))?g(["{",ve("expression"),N,"}"]):g(["{",y([p,ve("expression")]),p,N,"}"])}function te(ze,ge,ve){let Ee=ze.getValue(),We=Ee.name&&Q(Ee.name)||Ee.typeParameters&&Q(Ee.typeParameters);if(Ee.selfClosing&&Ee.attributes.length===0&&!We)return["<",ve("name"),ve("typeParameters")," />"];if(Ee.attributes&&Ee.attributes.length===1&&Ee.attributes[0].value&&X(Ee.attributes[0].value)&&!Ee.attributes[0].value.value.includes(`
70
- `)&&!We&&!Q(Ee.attributes[0]))return g(["<",ve("name"),ve("typeParameters")," ",...ze.map(ve,"attributes"),Ee.selfClosing?" />":">"]);let st=Ee.attributes.length>0&&Q(T(Ee.attributes),I.Trailing),yt=Ee.attributes.length===0&&!We||(ge.bracketSameLine||ge.jsxBracketSameLine)&&(!We||Ee.attributes.length>0)&&!st,jt=Ee.attributes&&Ee.attributes.some(Xe=>Xe.value&&X(Xe.value)&&Xe.value.value.includes(`
71
- `)),zt=ge.singleAttributePerLine&&Ee.attributes.length>1?c:x;return g(["<",ve("name"),ve("typeParameters"),y(ze.map(()=>[zt,ve()],"attributes")),Ee.selfClosing?x:yt?">":p,Ee.selfClosing?"/>":yt?"":">"],{shouldBreak:jt})}function fe(ze,ge,ve){let Ee=ze.getValue(),We=[];We.push("</");let st=ve("name");return Q(Ee.name,I.Leading|I.Line)?We.push(y([c,st]),c):Q(Ee.name,I.Leading|I.Block)?We.push(" ",st):We.push(st),We.push(">"),We}function ce(ze,ge){let ve=ze.getValue(),Ee=Q(ve),We=Q(ve,I.Line),st=ve.type==="JSXOpeningFragment";return[st?"<":"</",y([We?c:Ee&&!st?" ":"",D(ze,ge,!0)]),We?c:"",">"]}function ie(ze,ge,ve){let Ee=h(ze,L(ze,ge,ve),ge);return U(ze,Ee,ge)}function ke(ze,ge){let ve=ze.getValue(),Ee=Q(ve,I.Line);return[D(ze,ge,!Ee),Ee?c:""]}function de(ze,ge,ve){let Ee=ze.getValue();return["{",ze.call(We=>{let st=["...",ve()],yt=We.getValue();return!Q(yt)||!O(We)?st:[y([p,h(We,st,ge)]),p]},Ee.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function pe(ze,ge,ve){let Ee=ze.getValue();if(Ee.type.startsWith("JSX"))switch(Ee.type){case"JSXAttribute":return K(ze,ge,ve);case"JSXIdentifier":return String(Ee.name);case"JSXNamespacedName":return b(":",[ve("namespace"),ve("name")]);case"JSXMemberExpression":return b(".",[ve("object"),ve("property")]);case"JSXSpreadAttribute":return de(ze,ge,ve);case"JSXSpreadChild":return de(ze,ge,ve);case"JSXExpressionContainer":return se(ze,ge,ve);case"JSXFragment":case"JSXElement":return ie(ze,ge,ve);case"JSXOpeningElement":return te(ze,ge,ve);case"JSXClosingElement":return fe(ze,ge,ve);case"JSXOpeningFragment":case"JSXClosingFragment":return ce(ze,ge);case"JSXEmptyExpression":return ke(ze,ge);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(Ee.type),"."))}}var Te=`
72
- \r `,je=new RegExp("(["+Te+"]+)"),Le=new RegExp("[^"+Te+"]"),Qe=ze=>ze.replace(new RegExp("(?:^"+je.source+"|"+je.source+"$)"),"");function he(ze){if(ze.children.length===0)return!0;if(ze.children.length>1)return!1;let ge=ze.children[0];return R(ge)&&!De(ge)}function De(ze){return R(ze)&&(Le.test(j(ze))||!/\n/.test(j(ze)))}function $e(ze){return ze.type==="JSXExpressionContainer"&&R(ze.expression)&&ze.expression.value===" "&&!Q(ze.expression)}function Ze(ze){let ge=ze.getValue(),ve=ze.getParentNode();if(!ve||!ge||!W(ge)||!W(ve))return!1;let Ee=ve.children.indexOf(ge),We=null;for(let st=Ee;st>0;st--){let yt=ve.children[st-1];if(!(yt.type==="JSXText"&&!De(yt))){We=yt;break}}return We&&We.type==="JSXExpressionContainer"&&We.expression.type==="JSXEmptyExpression"&&S(We.expression)}C.exports={hasJsxIgnoreComment:Ze,printJsx:pe}}}),ui=we({"src/language-js/print/misc.js"(m,C){Pe();var{isNonEmptyArray:h}=Dr(),{builders:{indent:D,join:x,line:c}}=dt(),{isFlowAnnotationComment:p}=qr();function g(T){let $=T.getValue();return!$.optional||$.type==="Identifier"&&$===T.getParentNode().key?"":$.type==="OptionalCallExpression"||$.type==="OptionalMemberExpression"&&$.computed?"?.":"?"}function y(T){return T.getValue().definite||T.match(void 0,($,W)=>W==="id"&&$.type==="VariableDeclarator"&&$.definite)?"!":""}function A(T,$,W){let j=T.getValue();return j.typeArguments?W("typeArguments"):j.typeParameters?W("typeParameters"):""}function P(T,$,W){let j=T.getValue();if(!j.typeAnnotation)return"";let R=T.getParentNode(),q=R.type==="DeclareFunction"&&R.id===j;return p($.originalText,j.typeAnnotation)?[" /*: ",W("typeAnnotation")," */"]:[q?"":": ",W("typeAnnotation")]}function k(T,$,W){return["::",W("callee")]}function N(T,$,W){let j=T.getValue();return h(j.modifiers)?[x(" ",T.map(W,"modifiers"))," "]:""}function b(T,$,W){return T.type==="EmptyStatement"?";":T.type==="BlockStatement"||W?[" ",$]:D([c,$])}function F(T,$,W){return["...",W("argument"),P(T,$,W)]}C.exports={printOptionalToken:g,printDefiniteToken:y,printFunctionTypeParameters:A,printBindExpressionCallee:k,printTypeScriptModifiers:N,printTypeAnnotation:P,printRestSpread:F,adjustClause:b}}}),ca=we({"src/language-js/print/array.js"(m,C){Pe();var{printDanglingComments:h}=An(),{builders:{line:D,softline:x,hardline:c,group:p,indent:g,ifBreak:y,fill:A}}=dt(),{getLast:P,hasNewline:k}=Dr(),{shouldPrintComma:N,hasComment:b,CommentCheckFlags:F,isNextLineEmpty:T,isNumericLiteral:$,isSignedNumericLiteral:W}=qr(),{locStart:j}=Rn(),{printOptionalToken:R,printTypeAnnotation:q}=ui();function X(S,B,O){let v=S.getValue(),L=[],_=v.type==="TupleExpression"?"#[":"[",z="]";if(v.elements.length===0)b(v,F.Dangling)?L.push(p([_,h(S,B),x,z])):L.push(_,z);else{let J=P(v.elements),U=!(J&&J.type==="RestElement"),K=J===null,se=Symbol("array"),te=!B.__inJestEach&&v.elements.length>1&&v.elements.every((ie,ke,de)=>{let pe=ie&&ie.type;if(pe!=="ArrayExpression"&&pe!=="ObjectExpression")return!1;let Te=de[ke+1];if(Te&&pe!==Te.type)return!1;let je=pe==="ArrayExpression"?"elements":"properties";return ie[je]&&ie[je].length>1}),fe=G(v,B),ce=U?K?",":N(B)?fe?y(",","",{groupId:se}):y(","):"":"";L.push(p([_,g([x,fe?I(S,B,O,ce):[Q(S,B,"elements",O),ce],h(S,B,!0)]),x,z],{shouldBreak:te,id:se}))}return L.push(R(S),q(S,B,O)),L}function G(S,B){return S.elements.length>1&&S.elements.every(O=>O&&($(O)||W(O)&&!b(O.argument))&&!b(O,F.Trailing|F.Line,v=>!k(B.originalText,j(v),{backwards:!0})))}function Q(S,B,O,v){let L=[],_=[];return S.each(z=>{L.push(_,p(v())),_=[",",D],z.getValue()&&T(z.getValue(),B)&&_.push(x)},O),L}function I(S,B,O,v){let L=[];return S.each((_,z,J)=>{let U=z===J.length-1;L.push([O(),U?v:","]),U||L.push(T(_.getValue(),B)?[c,c]:b(J[z+1],F.Leading|F.Line)?c:D)},"elements"),A(L)}C.exports={printArray:X,printArrayItems:Q,isConciselyPrintedArray:G}}}),Oc=we({"src/language-js/print/call-arguments.js"(m,C){Pe();var{printDanglingComments:h}=An(),{getLast:D,getPenultimate:x}=Dr(),{getFunctionParameters:c,hasComment:p,CommentCheckFlags:g,isFunctionCompositionArgs:y,isJsxNode:A,isLongCurriedCallExpression:P,shouldPrintComma:k,getCallArguments:N,iterateCallArgumentsPath:b,isNextLineEmpty:F,isCallExpression:T,isStringLiteral:$,isObjectProperty:W}=qr(),{builders:{line:j,hardline:R,softline:q,group:X,indent:G,conditionalGroup:Q,ifBreak:I,breakParent:S},utils:{willBreak:B}}=dt(),{ArgExpansionBailout:O}=ua(),{isConciselyPrintedArray:v}=ca();function L(te,fe,ce){let ie=te.getValue(),ke=ie.type==="ImportExpression",de=N(ie);if(de.length===0)return["(",h(te,fe,!0),")"];if(U(de))return["(",ce(["arguments",0]),", ",ce(["arguments",1]),")"];let pe=!1,Te=!1,je=de.length-1,Le=[];b(te,(ze,ge)=>{let ve=ze.getNode(),Ee=[ce()];ge===je||(F(ve,fe)?(ge===0&&(Te=!0),pe=!0,Ee.push(",",R,R)):Ee.push(",",j)),Le.push(Ee)});let Qe=!(ke||ie.callee&&ie.callee.type==="Import")&&k(fe,"all")?",":"";function he(){return X(["(",G([j,...Le]),Qe,j,")"],{shouldBreak:!0})}if(pe||te.getParentNode().type!=="Decorator"&&y(de))return he();let De=J(de),$e=z(de,fe);if(De||$e){if(De?Le.slice(1).some(B):Le.slice(0,-1).some(B))return he();let ze=[];try{te.try(()=>{b(te,(ge,ve)=>{De&&ve===0&&(ze=[[ce([],{expandFirstArg:!0}),Le.length>1?",":"",Te?R:j,Te?R:""],...Le.slice(1)]),$e&&ve===je&&(ze=[...Le.slice(0,-1),ce([],{expandLastArg:!0})])})})}catch(ge){if(ge instanceof O)return he();throw ge}return[Le.some(B)?S:"",Q([["(",...ze,")"],De?["(",X(ze[0],{shouldBreak:!0}),...ze.slice(1),")"]:["(",...Le.slice(0,-1),X(D(ze),{shouldBreak:!0}),")"],he()])]}let Ze=["(",G([q,...Le]),I(Qe),q,")"];return P(te)?Ze:X(Ze,{shouldBreak:Le.some(B)||pe})}function _(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return te.type==="ObjectExpression"&&(te.properties.length>0||p(te))||te.type==="ArrayExpression"&&(te.elements.length>0||p(te))||te.type==="TSTypeAssertion"&&_(te.expression)||te.type==="TSAsExpression"&&_(te.expression)||te.type==="FunctionExpression"||te.type==="ArrowFunctionExpression"&&(!te.returnType||!te.returnType.typeAnnotation||te.returnType.typeAnnotation.type!=="TSTypeReference"||K(te.body))&&(te.body.type==="BlockStatement"||te.body.type==="ArrowFunctionExpression"&&_(te.body,!0)||te.body.type==="ObjectExpression"||te.body.type==="ArrayExpression"||!fe&&(T(te.body)||te.body.type==="ConditionalExpression")||A(te.body))||te.type==="DoExpression"||te.type==="ModuleExpression"}function z(te,fe){let ce=D(te),ie=x(te);return!p(ce,g.Leading)&&!p(ce,g.Trailing)&&_(ce)&&(!ie||ie.type!==ce.type)&&(te.length!==2||ie.type!=="ArrowFunctionExpression"||ce.type!=="ArrayExpression")&&!(te.length>1&&ce.type==="ArrayExpression"&&v(ce,fe))}function J(te){if(te.length!==2)return!1;let[fe,ce]=te;return fe.type==="ModuleExpression"&&se(ce)?!0:!p(fe)&&(fe.type==="FunctionExpression"||fe.type==="ArrowFunctionExpression"&&fe.body.type==="BlockStatement")&&ce.type!=="FunctionExpression"&&ce.type!=="ArrowFunctionExpression"&&ce.type!=="ConditionalExpression"&&!_(ce)}function U(te){return te.length===2&&te[0].type==="ArrowFunctionExpression"&&c(te[0]).length===0&&te[0].body.type==="BlockStatement"&&te[1].type==="ArrayExpression"&&!te.some(fe=>p(fe))}function K(te){return te.type==="BlockStatement"&&(te.body.some(fe=>fe.type!=="EmptyStatement")||p(te,g.Dangling))}function se(te){return te.type==="ObjectExpression"&&te.properties.length===1&&W(te.properties[0])&&te.properties[0].key.type==="Identifier"&&te.properties[0].key.name==="type"&&$(te.properties[0].value)&&te.properties[0].value.value==="module"}C.exports=L}}),jc=we({"src/language-js/print/member.js"(m,C){Pe();var{builders:{softline:h,group:D,indent:x,label:c}}=dt(),{isNumericLiteral:p,isMemberExpression:g,isCallExpression:y}=qr(),{printOptionalToken:A}=ui();function P(N,b,F){let T=N.getValue(),$=N.getParentNode(),W,j=0;do W=N.getParentNode(j),j++;while(W&&(g(W)||W.type==="TSNonNullExpression"));let R=F("object"),q=k(N,b,F),X=W&&(W.type==="NewExpression"||W.type==="BindExpression"||W.type==="AssignmentExpression"&&W.left.type!=="Identifier")||T.computed||T.object.type==="Identifier"&&T.property.type==="Identifier"&&!g($)||($.type==="AssignmentExpression"||$.type==="VariableDeclarator")&&(y(T.object)&&T.object.arguments.length>0||T.object.type==="TSNonNullExpression"&&y(T.object.expression)&&T.object.expression.arguments.length>0||R.label==="member-chain");return c(R.label==="member-chain"?"member-chain":"member",[R,X?q:D(x([h,q]))])}function k(N,b,F){let T=F("property"),$=N.getValue(),W=A(N);return $.computed?!$.property||p($.property)?[W,"[",T,"]"]:D([W,"[",x([h,T]),h,"]"]):[W,".",T]}C.exports={printMemberExpression:P,printMemberLookup:k}}}),bm=we({"src/language-js/print/member-chain.js"(m,C){Pe();var{printComments:h}=An(),{getLast:D,isNextLineEmptyAfterIndex:x,getNextNonSpaceNonCommentCharacterIndex:c}=Dr(),p=Ls(),{isCallExpression:g,isMemberExpression:y,isFunctionOrArrowExpression:A,isLongCurriedCallExpression:P,isMemberish:k,isNumericLiteral:N,isSimpleCallArgument:b,hasComment:F,CommentCheckFlags:T,isNextLineEmpty:$}=qr(),{locEnd:W}=Rn(),{builders:{join:j,hardline:R,group:q,indent:X,conditionalGroup:G,breakParent:Q,label:I},utils:{willBreak:S}}=dt(),B=Oc(),{printMemberLookup:O}=jc(),{printOptionalToken:v,printFunctionTypeParameters:L,printBindExpressionCallee:_}=ui();function z(J,U,K){let se=J.getParentNode(),te=!se||se.type==="ExpressionStatement",fe=[];function ce(it){let{originalText:Je}=U,mt=c(Je,it,W);return Je.charAt(mt)===")"?mt!==!1&&x(Je,mt+1):$(it,U)}function ie(it){let Je=it.getValue();g(Je)&&(k(Je.callee)||g(Je.callee))?(fe.unshift({node:Je,printed:[h(it,[v(it),L(it,U,K),B(it,U,K)],U),ce(Je)?R:""]}),it.call(mt=>ie(mt),"callee")):k(Je)?(fe.unshift({node:Je,needsParens:p(it,U),printed:h(it,y(Je)?O(it,U,K):_(it,U,K),U)}),it.call(mt=>ie(mt),"object")):Je.type==="TSNonNullExpression"?(fe.unshift({node:Je,printed:h(it,"!",U)}),it.call(mt=>ie(mt),"expression")):fe.unshift({node:Je,printed:K()})}let ke=J.getValue();fe.unshift({node:ke,printed:[v(J),L(J,U,K),B(J,U,K)]}),ke.callee&&J.call(it=>ie(it),"callee");let de=[],pe=[fe[0]],Te=1;for(;Te<fe.length&&(fe[Te].node.type==="TSNonNullExpression"||g(fe[Te].node)||y(fe[Te].node)&&fe[Te].node.computed&&N(fe[Te].node.property));++Te)pe.push(fe[Te]);if(!g(fe[0].node))for(;Te+1<fe.length&&k(fe[Te].node)&&k(fe[Te+1].node);++Te)pe.push(fe[Te]);de.push(pe),pe=[];let je=!1;for(;Te<fe.length;++Te){if(je&&k(fe[Te].node)){if(fe[Te].node.computed&&N(fe[Te].node.property)){pe.push(fe[Te]);continue}de.push(pe),pe=[],je=!1}(g(fe[Te].node)||fe[Te].node.type==="ImportExpression")&&(je=!0),pe.push(fe[Te]),F(fe[Te].node,T.Trailing)&&(de.push(pe),pe=[],je=!1)}pe.length>0&&de.push(pe);function Le(it){return/^[A-Z]|^[$_]+$/.test(it)}function Qe(it){return it.length<=U.tabWidth}function he(it){let Je=it[1].length>0&&it[1][0].node.computed;if(it[0].length===1){let Fe=it[0][0].node;return Fe.type==="ThisExpression"||Fe.type==="Identifier"&&(Le(Fe.name)||te&&Qe(Fe.name)||Je)}let mt=D(it[0]).node;return y(mt)&&mt.property.type==="Identifier"&&(Le(mt.property.name)||Je)}let De=de.length>=2&&!F(de[1][0].node)&&he(de);function $e(it){let Je=it.map(mt=>mt.printed);return it.length>0&&D(it).needsParens?["(",...Je,")"]:Je}function Ze(it){return it.length===0?"":X(q([R,j(R,it.map($e))]))}let ze=de.map($e),ge=ze,ve=De?3:2,Ee=de.flat(),We=Ee.slice(1,-1).some(it=>F(it.node,T.Leading))||Ee.slice(0,-1).some(it=>F(it.node,T.Trailing))||de[ve]&&F(de[ve][0].node,T.Leading);if(de.length<=ve&&!We)return P(J)?ge:q(ge);let st=D(de[De?1:0]).node,yt=!g(st)&&ce(st),jt=[$e(de[0]),De?de.slice(1,2).map($e):"",yt?R:"",Ze(de.slice(De?2:1))],zt=fe.map(it=>{let{node:Je}=it;return Je}).filter(g);function Xe(){let it=D(D(de)).node,Je=D(ze);return g(it)&&S(Je)&&zt.slice(0,-1).some(mt=>mt.arguments.some(A))}let Ke;return We||zt.length>2&&zt.some(it=>!it.arguments.every(Je=>b(Je,0)))||ze.slice(0,-1).some(S)||Xe()?Ke=q(jt):Ke=[S(ge)||yt?Q:"",G([ge,jt])],I("member-chain",Ke)}C.exports=z}}),Vc=we({"src/language-js/print/call-expression.js"(m,C){Pe();var{builders:{join:h,group:D}}=dt(),x=Ls(),{getCallArguments:c,hasFlowAnnotationComment:p,isCallExpression:g,isMemberish:y,isStringLiteral:A,isTemplateOnItsOwnLine:P,isTestCall:k,iterateCallArgumentsPath:N}=qr(),b=bm(),F=Oc(),{printOptionalToken:T,printFunctionTypeParameters:$}=ui();function W(R,q,X){let G=R.getValue(),Q=R.getParentNode(),I=G.type==="NewExpression",S=G.type==="ImportExpression",B=T(R),O=c(G);if(O.length>0&&(!S&&!I&&j(G,Q)||O.length===1&&P(O[0],q.originalText)||!I&&k(G,Q))){let _=[];return N(R,()=>{_.push(X())}),[I?"new ":"",X("callee"),B,$(R,q,X),"(",h(", ",_),")"]}let v=(q.parser==="babel"||q.parser==="babel-flow")&&G.callee&&G.callee.type==="Identifier"&&p(G.callee.trailingComments);if(v&&(G.callee.trailingComments[0].printed=!0),!S&&!I&&y(G.callee)&&!R.call(_=>x(_,q),"callee"))return b(R,q,X);let L=[I?"new ":"",S?"import":X("callee"),B,v?"/*:: ".concat(G.callee.trailingComments[0].value.slice(2).trim()," */"):"",$(R,q,X),F(R,q,X)];return S||g(G.callee)?D(L):L}function j(R,q){if(R.callee.type!=="Identifier")return!1;if(R.callee.name==="require")return!0;if(R.callee.name==="define"){let X=c(R);return q.type==="ExpressionStatement"&&(X.length===1||X.length===2&&X[0].type==="ArrayExpression"||X.length===3&&A(X[0])&&X[1].type==="ArrayExpression")}return!1}C.exports={printCallExpression:W}}}),pa=we({"src/language-js/print/assignment.js"(m,C){Pe();var{isNonEmptyArray:h,getStringWidth:D}=Dr(),{builders:{line:x,group:c,indent:p,indentIfBreak:g,lineSuffixBoundary:y},utils:{cleanDoc:A,willBreak:P,canBreak:k}}=dt(),{hasLeadingOwnLineComment:N,isBinaryish:b,isStringLiteral:F,isLiteral:T,isNumericLiteral:$,isCallExpression:W,isMemberExpression:j,getCallArguments:R,rawText:q,hasComment:X,isSignedNumericLiteral:G,isObjectProperty:Q}=qr(),{shouldInlineLogicalExpression:I}=go(),{printCallExpression:S}=Vc();function B(he,De,$e,Ze,ze,ge){let ve=L(he,De,$e,Ze,ge),Ee=$e(ge,{assignmentLayout:ve});switch(ve){case"break-after-operator":return c([c(Ze),ze,c(p([x,Ee]))]);case"never-break-after-operator":return c([c(Ze),ze," ",Ee]);case"fluid":{let We=Symbol("assignment");return c([c(Ze),ze,c(p(x),{id:We}),y,g(Ee,{groupId:We})])}case"break-lhs":return c([Ze,ze," ",c(Ee)]);case"chain":return[c(Ze),ze,x,Ee];case"chain-tail":return[c(Ze),ze,p([x,Ee])];case"chain-tail-arrow-chain":return[c(Ze),ze,Ee];case"only-left":return Ze}}function O(he,De,$e){let Ze=he.getValue();return B(he,De,$e,$e("left"),[" ",Ze.operator],"right")}function v(he,De,$e){return B(he,De,$e,$e("id")," =","init")}function L(he,De,$e,Ze,ze){let ge=he.getValue(),ve=ge[ze];if(!ve)return"only-left";let Ee=!J(ve);if(he.match(J,U,st=>!Ee||st.type!=="ExpressionStatement"&&st.type!=="VariableDeclaration"))return Ee?ve.type==="ArrowFunctionExpression"&&ve.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Ee&&J(ve.right)||N(De.originalText,ve))return"break-after-operator";if(ve.type==="CallExpression"&&ve.callee.name==="require"||De.parser==="json5"||De.parser==="json")return"never-break-after-operator";if(z(ge)||K(ge)||fe(ge)||ce(ge)&&k(Ze))return"break-lhs";let We=je(ge,Ze,De);return he.call(()=>_(he,De,$e,We),ze)?"break-after-operator":We||ve.type==="TemplateLiteral"||ve.type==="TaggedTemplateExpression"||ve.type==="BooleanLiteral"||$(ve)||ve.type==="ClassExpression"?"never-break-after-operator":"fluid"}function _(he,De,$e,Ze){let ze=he.getValue();if(b(ze)&&!I(ze))return!0;switch(ze.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Ee}=ze;return b(Ee)&&!I(Ee)}case"ClassExpression":return h(ze.decorators)}if(Ze)return!1;let ge=ze,ve=[];for(;;)if(ge.type==="UnaryExpression")ge=ge.argument,ve.push("argument");else if(ge.type==="TSNonNullExpression")ge=ge.expression,ve.push("expression");else break;return!!(F(ge)||he.call(()=>de(he,De,$e),...ve))}function z(he){if(U(he)){let De=he.left||he.id;return De.type==="ObjectPattern"&&De.properties.length>2&&De.properties.some($e=>Q($e)&&(!$e.shorthand||$e.value&&$e.value.type==="AssignmentPattern"))}return!1}function J(he){return he.type==="AssignmentExpression"}function U(he){return J(he)||he.type==="VariableDeclarator"}function K(he){let De=se(he);if(h(De)){let $e=he.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(De.length>1&&De.some(Ze=>Ze[$e]||Ze.default))return!0}return!1}function se(he){return te(he)&&he.typeParameters&&he.typeParameters.params?he.typeParameters.params:null}function te(he){return he.type==="TSTypeAliasDeclaration"||he.type==="TypeAlias"}function fe(he){if(he.type!=="VariableDeclarator")return!1;let{typeAnnotation:De}=he.id;if(!De||!De.typeAnnotation)return!1;let $e=ie(De.typeAnnotation);return h($e)&&$e.length>1&&$e.some(Ze=>h(ie(Ze))||Ze.type==="TSConditionalType")}function ce(he){return he.type==="VariableDeclarator"&&he.init&&he.init.type==="ArrowFunctionExpression"}function ie(he){return ke(he)&&he.typeParameters&&he.typeParameters.params?he.typeParameters.params:null}function ke(he){return he.type==="TSTypeReference"||he.type==="GenericTypeAnnotation"}function de(he,De,$e){let Ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ze=he.getValue(),ge=()=>de(he,De,$e,!0);if(ze.type==="TSNonNullExpression")return he.call(ge,"expression");if(W(ze)){if(S(he,De,$e).label==="member-chain")return!1;let ve=R(ze);return!(ve.length===0||ve.length===1&&Te(ve[0],De))||Le(ze,$e)?!1:he.call(ge,"callee")}return j(ze)?he.call(ge,"object"):Ze&&(ze.type==="Identifier"||ze.type==="ThisExpression")}var pe=.25;function Te(he,De){let{printWidth:$e}=De;if(X(he))return!1;let Ze=$e*pe;if(he.type==="ThisExpression"||he.type==="Identifier"&&he.name.length<=Ze||G(he)&&!X(he.argument))return!0;let ze=he.type==="Literal"&&"regex"in he&&he.regex.pattern||he.type==="RegExpLiteral"&&he.pattern;return ze?ze.length<=Ze:F(he)?q(he).length<=Ze:he.type==="TemplateLiteral"?he.expressions.length===0&&he.quasis[0].value.raw.length<=Ze&&!he.quasis[0].value.raw.includes(`
73
- `):T(he)}function je(he,De,$e){if(!Q(he))return!1;De=A(De);let Ze=3;return typeof De=="string"&&D(De)<$e.tabWidth+Ze}function Le(he,De){let $e=Qe(he);if(h($e)){if($e.length>1)return!0;if($e.length===1){let ze=$e[0];if(ze.type==="TSUnionType"||ze.type==="UnionTypeAnnotation"||ze.type==="TSIntersectionType"||ze.type==="IntersectionTypeAnnotation"||ze.type==="TSTypeLiteral"||ze.type==="ObjectTypeAnnotation")return!0}let Ze=he.typeParameters?"typeParameters":"typeArguments";if(P(De(Ze)))return!0}return!1}function Qe(he){return he.typeParameters&&he.typeParameters.params||he.typeArguments&&he.typeArguments.params}C.exports={printVariableDeclarator:v,printAssignmentExpression:O,printAssignment:B,isArrowFunctionVariableDeclarator:ce}}}),Xa=we({"src/language-js/print/function-parameters.js"(m,C){Pe();var{getNextNonSpaceNonCommentCharacter:h}=Dr(),{printDanglingComments:D}=An(),{builders:{line:x,hardline:c,softline:p,group:g,indent:y,ifBreak:A},utils:{removeLines:P,willBreak:k}}=dt(),{getFunctionParameters:N,iterateFunctionParametersPath:b,isSimpleType:F,isTestCall:T,isTypeAnnotationAFunction:$,isObjectType:W,isObjectTypePropertyAFunction:j,hasRestParameter:R,shouldPrintComma:q,hasComment:X,isNextLineEmpty:G}=qr(),{locEnd:Q}=Rn(),{ArgExpansionBailout:I}=ua(),{printFunctionTypeParameters:S}=ui();function B(_,z,J,U,K){let se=_.getValue(),te=N(se),fe=K?S(_,J,z):"";if(te.length===0)return[fe,"(",D(_,J,!0,Te=>h(J.originalText,Te,Q)===")"),")"];let ce=_.getParentNode(),ie=T(ce),ke=O(se),de=[];if(b(_,(Te,je)=>{let Le=je===te.length-1;Le&&se.rest&&de.push("..."),de.push(z()),!Le&&(de.push(","),ie||ke?de.push(" "):G(te[je],J)?de.push(c,c):de.push(x))}),U){if(k(fe)||k(de))throw new I;return g([P(fe),"(",P(de),")"])}let pe=te.every(Te=>!Te.decorators);return ke&&pe?[fe,"(",...de,")"]:ie?[fe,"(",...de,")"]:(j(ce)||$(ce)||ce.type==="TypeAlias"||ce.type==="UnionTypeAnnotation"||ce.type==="TSUnionType"||ce.type==="IntersectionTypeAnnotation"||ce.type==="FunctionTypeAnnotation"&&ce.returnType===se)&&te.length===1&&te[0].name===null&&se.this!==te[0]&&te[0].typeAnnotation&&se.typeParameters===null&&F(te[0].typeAnnotation)&&!se.rest?J.arrowParens==="always"?["(",...de,")"]:de:[fe,"(",y([p,...de]),A(!R(se)&&q(J,"all")?",":""),p,")"]}function O(_){if(!_)return!1;let z=N(_);if(z.length!==1)return!1;let[J]=z;return!X(J)&&(J.type==="ObjectPattern"||J.type==="ArrayPattern"||J.type==="Identifier"&&J.typeAnnotation&&(J.typeAnnotation.type==="TypeAnnotation"||J.typeAnnotation.type==="TSTypeAnnotation")&&W(J.typeAnnotation.typeAnnotation)||J.type==="FunctionTypeParam"&&W(J.typeAnnotation)||J.type==="AssignmentPattern"&&(J.left.type==="ObjectPattern"||J.left.type==="ArrayPattern")&&(J.right.type==="Identifier"||J.right.type==="ObjectExpression"&&J.right.properties.length===0||J.right.type==="ArrayExpression"&&J.right.elements.length===0))}function v(_){let z;return _.returnType?(z=_.returnType,z.typeAnnotation&&(z=z.typeAnnotation)):_.typeAnnotation&&(z=_.typeAnnotation),z}function L(_,z){let J=v(_);if(!J)return!1;let U=_.typeParameters&&_.typeParameters.params;if(U){if(U.length>1)return!1;if(U.length===1){let K=U[0];if(K.constraint||K.default)return!1}}return N(_).length===1&&(W(J)||k(z))}C.exports={printFunctionParameters:B,shouldHugFunctionParameters:O,shouldGroupFunctionParameters:L}}}),Qa=we({"src/language-js/print/type-annotation.js"(m,C){Pe();var{printComments:h,printDanglingComments:D}=An(),{isNonEmptyArray:x}=Dr(),{builders:{group:c,join:p,line:g,softline:y,indent:A,align:P,ifBreak:k}}=dt(),N=Ls(),{locStart:b}=Rn(),{isSimpleType:F,isObjectType:T,hasLeadingOwnLineComment:$,isObjectTypePropertyAFunction:W,shouldPrintComma:j}=qr(),{printAssignment:R}=pa(),{printFunctionParameters:q,shouldGroupFunctionParameters:X}=Xa(),{printArrayItems:G}=ca();function Q(J){if(F(J)||T(J))return!0;if(J.type==="UnionTypeAnnotation"||J.type==="TSUnionType"){let U=J.types.filter(se=>se.type==="VoidTypeAnnotation"||se.type==="TSVoidKeyword"||se.type==="NullLiteralTypeAnnotation"||se.type==="TSNullKeyword").length,K=J.types.some(se=>se.type==="ObjectTypeAnnotation"||se.type==="TSTypeLiteral"||se.type==="GenericTypeAnnotation"||se.type==="TSTypeReference");if(J.types.length-1===U&&K)return!0}return!1}function I(J,U,K){let se=U.semi?";":"",te=J.getValue(),fe=[];return fe.push("opaque type ",K("id"),K("typeParameters")),te.supertype&&fe.push(": ",K("supertype")),te.impltype&&fe.push(" = ",K("impltype")),fe.push(se),fe}function S(J,U,K){let se=U.semi?";":"",te=J.getValue(),fe=[];te.declare&&fe.push("declare "),fe.push("type ",K("id"),K("typeParameters"));let ce=te.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[R(J,U,K,fe," =",ce),se]}function B(J,U,K){let se=J.getValue(),te=J.map(K,"types"),fe=[],ce=!1;for(let ie=0;ie<te.length;++ie)ie===0?fe.push(te[ie]):T(se.types[ie-1])&&T(se.types[ie])?fe.push([" & ",ce?A(te[ie]):te[ie]]):!T(se.types[ie-1])&&!T(se.types[ie])?fe.push(A([" &",g,te[ie]])):(ie>1&&(ce=!0),fe.push(" & ",ie>1?A(te[ie]):te[ie]));return c(fe)}function O(J,U,K){let se=J.getValue(),te=J.getParentNode(),fe=te.type!=="TypeParameterInstantiation"&&te.type!=="TSTypeParameterInstantiation"&&te.type!=="GenericTypeAnnotation"&&te.type!=="TSTypeReference"&&te.type!=="TSTypeAssertion"&&te.type!=="TupleTypeAnnotation"&&te.type!=="TSTupleType"&&!(te.type==="FunctionTypeParam"&&!te.name&&J.getParentNode(1).this!==te)&&!((te.type==="TypeAlias"||te.type==="VariableDeclarator"||te.type==="TSTypeAliasDeclaration")&&$(U.originalText,se)),ce=Q(se),ie=J.map(pe=>{let Te=K();return ce||(Te=P(2,Te)),h(pe,Te,U)},"types");if(ce)return p(" | ",ie);let ke=fe&&!$(U.originalText,se),de=[k([ke?g:"","| "]),p([g,"| "],ie)];return N(J,U)?c([A(de),y]):te.type==="TupleTypeAnnotation"&&te.types.length>1||te.type==="TSTupleType"&&te.elementTypes.length>1?c([A([k(["(",y]),de]),y,k(")")]):c(fe?A(de):de)}function v(J,U,K){let se=J.getValue(),te=[],fe=J.getParentNode(0),ce=J.getParentNode(1),ie=J.getParentNode(2),ke=se.type==="TSFunctionType"||!((fe.type==="ObjectTypeProperty"||fe.type==="ObjectTypeInternalSlot")&&!fe.variance&&!fe.optional&&b(fe)===b(se)||fe.type==="ObjectTypeCallProperty"||ie&&ie.type==="DeclareFunction"),de=ke&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation"),pe=de&&ke&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation")&&ce.type==="ArrowFunctionExpression";W(fe)&&(ke=!0,de=!0),pe&&te.push("(");let Te=q(J,K,U,!1,!0),je=se.returnType||se.predicate||se.typeAnnotation?[ke?" => ":": ",K("returnType"),K("predicate"),K("typeAnnotation")]:"",Le=X(se,je);return te.push(Le?c(Te):Te),je&&te.push(je),pe&&te.push(")"),c(te)}function L(J,U,K){let se=J.getValue(),te=se.type==="TSTupleType"?"elementTypes":"types",fe=se[te],ce=x(fe),ie=ce?y:"";return c(["[",A([ie,G(J,U,te,K)]),k(ce&&j(U,"all")?",":""),D(J,U,!0),ie,"]"])}function _(J,U,K){let se=J.getValue(),te=se.type==="OptionalIndexedAccessType"&&se.optional?"?.[":"[";return[K("objectType"),te,K("indexType"),"]"]}function z(J,U,K){let se=J.getValue();return[se.postfix?"":K,U("typeAnnotation"),se.postfix?K:""]}C.exports={printOpaqueType:I,printTypeAlias:S,printIntersectionType:B,printUnionType:O,printFunctionType:v,printTupleType:L,printIndexedAccessType:_,shouldHugType:Q,printJSDocType:z}}}),Ka=we({"src/language-js/print/type-parameters.js"(m,C){Pe();var{printDanglingComments:h}=An(),{builders:{join:D,line:x,hardline:c,softline:p,group:g,indent:y,ifBreak:A}}=dt(),{isTestCall:P,hasComment:k,CommentCheckFlags:N,isTSXFile:b,shouldPrintComma:F,getFunctionParameters:T,isObjectType:$}=qr(),{createGroupIdMapper:W}=Dr(),{shouldHugType:j}=Qa(),{isArrowFunctionVariableDeclarator:R}=pa(),q=W("typeParameters");function X(I,S,B,O){let v=I.getValue();if(!v[O])return"";if(!Array.isArray(v[O]))return B(O);let L=I.getNode(2),_=L&&P(L);if(!I.match(J=>!(J[O].length===1&&$(J[O][0])),void 0,(J,U)=>U==="typeAnnotation",J=>J.type==="Identifier",R)&&(_||v[O].length===0||v[O].length===1&&(v[O][0].type==="NullableTypeAnnotation"||j(v[O][0]))))return["<",D(", ",I.map(B,O)),G(I,S),">"];let z=v.type==="TSTypeParameterInstantiation"?"":T(v).length===1&&b(S)&&!v[O][0].constraint&&I.getParentNode().type==="ArrowFunctionExpression"?",":F(S,"all")?A(","):"";return g(["<",y([p,D([",",x],I.map(B,O))]),z,p,">"],{id:q(v)})}function G(I,S){let B=I.getValue();if(!k(B,N.Dangling))return"";let O=!k(B,N.Line),v=h(I,S,O);return O?v:[v,c]}function Q(I,S,B){let O=I.getValue(),v=[],L=I.getParentNode();return L.type==="TSMappedType"?(v.push("[",B("name")),O.constraint&&v.push(" in ",B("constraint")),L.nameType&&v.push(" as ",I.callParent(()=>B("nameType"))),v.push("]"),v):(O.variance&&v.push(B("variance")),O.in&&v.push("in "),O.out&&v.push("out "),v.push(B("name")),O.bound&&v.push(": ",B("bound")),O.constraint&&v.push(" extends ",B("constraint")),O.default&&v.push(" = ",B("default")),v)}C.exports={printTypeParameter:Q,printTypeParameters:X,getTypeParametersGroupId:q}}}),ha=we({"src/language-js/print/property.js"(m,C){Pe();var{printComments:h}=An(),{printString:D,printNumber:x}=Dr(),{isNumericLiteral:c,isSimpleNumber:p,isStringLiteral:g,isStringPropSafeToUnquote:y,rawText:A}=qr(),{printAssignment:P}=pa(),k=new WeakMap;function N(F,T,$){let W=F.getNode();if(W.computed)return["[",$("key"),"]"];let j=F.getParentNode(),{key:R}=W;if(W.type==="ClassPrivateProperty"&&R.type==="Identifier")return["#",$("key")];if(T.quoteProps==="consistent"&&!k.has(j)){let q=(j.properties||j.body||j.members).some(X=>!X.computed&&X.key&&g(X.key)&&!y(X,T));k.set(j,q)}if((R.type==="Identifier"||c(R)&&p(x(A(R)))&&String(R.value)===x(A(R))&&!(T.parser==="typescript"||T.parser==="babel-ts"))&&(T.parser==="json"||T.quoteProps==="consistent"&&k.get(j))){let q=D(JSON.stringify(R.type==="Identifier"?R.name:R.value.toString()),T);return F.call(X=>h(X,q,T),"key")}return y(W,T)&&(T.quoteProps==="as-needed"||T.quoteProps==="consistent"&&!k.get(j))?F.call(q=>h(q,/^\d/.test(R.value)?x(R.value):R.value,T),"key"):$("key")}function b(F,T,$){return F.getValue().shorthand?$("value"):P(F,T,$,N(F,T,$),":","value")}C.exports={printProperty:b,printPropertyKey:N}}}),Ya=we({"src/language-js/print/function.js"(m,C){Pe();var h=la(),{printDanglingComments:D,printCommentsSeparately:x}=An(),c=ur(),{getNextNonSpaceNonCommentCharacterIndex:p}=Dr(),{builders:{line:g,softline:y,group:A,indent:P,ifBreak:k,hardline:N,join:b,indentIfBreak:F},utils:{removeLines:T,willBreak:$}}=dt(),{ArgExpansionBailout:W}=ua(),{getFunctionParameters:j,hasLeadingOwnLineComment:R,isFlowAnnotationComment:q,isJsxNode:X,isTemplateOnItsOwnLine:G,shouldPrintComma:Q,startsWithNoLookaheadToken:I,isBinaryish:S,isLineComment:B,hasComment:O,getComments:v,CommentCheckFlags:L,isCallLikeExpression:_,isCallExpression:z,getCallArguments:J,hasNakedLeftSide:U,getLeftSide:K}=qr(),{locEnd:se}=Rn(),{printFunctionParameters:te,shouldGroupFunctionParameters:fe}=Xa(),{printPropertyKey:ce}=ha(),{printFunctionTypeParameters:ie}=ui();function ke(ve,Ee,We,st){let yt=ve.getValue(),jt=!1;if((yt.type==="FunctionDeclaration"||yt.type==="FunctionExpression")&&st&&st.expandLastArg){let Je=ve.getParentNode();z(Je)&&J(Je).length>1&&(jt=!0)}let zt=[];yt.type==="TSDeclareFunction"&&yt.declare&&zt.push("declare "),yt.async&&zt.push("async "),yt.generator?zt.push("function* "):zt.push("function "),yt.id&&zt.push(Ee("id"));let Xe=te(ve,Ee,We,jt),Ke=De(ve,Ee,We),it=fe(yt,Ke);return zt.push(ie(ve,We,Ee),A([it?A(Xe):Xe,Ke]),yt.body?" ":"",Ee("body")),We.semi&&(yt.declare||!yt.body)&&zt.push(";"),zt}function de(ve,Ee,We){let st=ve.getNode(),{kind:yt}=st,jt=st.value||st,zt=[];return!yt||yt==="init"||yt==="method"||yt==="constructor"?jt.async&&zt.push("async "):(h.ok(yt==="get"||yt==="set"),zt.push(yt," ")),jt.generator&&zt.push("*"),zt.push(ce(ve,Ee,We),st.optional||st.key.optional?"?":""),st===jt?zt.push(pe(ve,Ee,We)):jt.type==="FunctionExpression"?zt.push(ve.call(Xe=>pe(Xe,Ee,We),"value")):zt.push(We("value")),zt}function pe(ve,Ee,We){let st=ve.getNode(),yt=te(ve,We,Ee),jt=De(ve,We,Ee),zt=fe(st,jt),Xe=[ie(ve,Ee,We),A([zt?A(yt):yt,jt])];return st.body?Xe.push(" ",We("body")):Xe.push(Ee.semi?";":""),Xe}function Te(ve,Ee,We,st){let yt=ve.getValue(),jt=[];if(yt.async&&jt.push("async "),he(ve,Ee))jt.push(We(["params",0]));else{let Xe=st&&(st.expandLastArg||st.expandFirstArg),Ke=De(ve,We,Ee);if(Xe){if($(Ke))throw new W;Ke=A(T(Ke))}jt.push(A([te(ve,We,Ee,Xe,!0),Ke]))}let zt=D(ve,Ee,!0,Xe=>{let Ke=p(Ee.originalText,Xe,se);return Ke!==!1&&Ee.originalText.slice(Ke,Ke+2)==="=>"});return zt&&jt.push(" ",zt),jt}function je(ve,Ee,We,st,yt,jt){let zt=ve.getName(),Xe=ve.getParentNode(),Ke=_(Xe)&&zt==="callee",it=Boolean(Ee&&Ee.assignmentLayout),Je=jt.body.type!=="BlockStatement"&&jt.body.type!=="ObjectExpression"&&jt.body.type!=="SequenceExpression",mt=Ke&&Je||Ee&&Ee.assignmentLayout==="chain-tail-arrow-chain",Fe=Symbol("arrow-chain");return jt.body.type==="SequenceExpression"&&(yt=A(["(",P([y,yt]),y,")"])),A([A(P([Ke||it?y:"",A(b([" =>",g],We),{shouldBreak:st})]),{id:Fe,shouldBreak:mt})," =>",F(Je?P([g,yt]):[" ",yt],{groupId:Fe}),Ke?k(y,"",{groupId:Fe}):""])}function Le(ve,Ee,We,st){let yt=ve.getValue(),jt=[],zt=[],Xe=!1;if(function Fe(){let ft=Te(ve,Ee,We,st);if(jt.length===0)jt.push(ft);else{let{leading:ct,trailing:xt}=x(ve,Ee);jt.push([ct,ft]),zt.unshift(xt)}Xe=Xe||yt.returnType&&j(yt).length>0||yt.typeParameters||j(yt).some(ct=>ct.type!=="Identifier"),yt.body.type!=="ArrowFunctionExpression"||st&&st.expandLastArg?zt.unshift(We("body",st)):(yt=yt.body,ve.call(Fe,"body"))}(),jt.length>1)return je(ve,st,jt,Xe,zt,yt);let Ke=jt;if(Ke.push(" =>"),!R(Ee.originalText,yt.body)&&(yt.body.type==="ArrayExpression"||yt.body.type==="ObjectExpression"||yt.body.type==="BlockStatement"||X(yt.body)||G(yt.body,Ee.originalText)||yt.body.type==="ArrowFunctionExpression"||yt.body.type==="DoExpression"))return A([...Ke," ",zt]);if(yt.body.type==="SequenceExpression")return A([...Ke,A([" (",P([y,zt]),y,")"])]);let it=(st&&st.expandLastArg||ve.getParentNode().type==="JSXExpressionContainer")&&!O(yt),Je=st&&st.expandLastArg&&Q(Ee,"all"),mt=yt.body.type==="ConditionalExpression"&&!I(yt.body,!1);return A([...Ke,A([P([g,mt?k("","("):"",zt,mt?k("",")"):""]),it?[k(Je?",":""),y]:""])])}function Qe(ve){let Ee=j(ve);return Ee.length===1&&!ve.typeParameters&&!O(ve,L.Dangling)&&Ee[0].type==="Identifier"&&!Ee[0].typeAnnotation&&!O(Ee[0])&&!Ee[0].optional&&!ve.predicate&&!ve.returnType}function he(ve,Ee){if(Ee.arrowParens==="always")return!1;if(Ee.arrowParens==="avoid"){let We=ve.getValue();return Qe(We)}return!1}function De(ve,Ee,We){let st=ve.getValue(),yt=Ee("returnType");if(st.returnType&&q(We.originalText,st.returnType))return[" /*: ",yt," */"];let jt=[yt];return st.returnType&&st.returnType.typeAnnotation&&jt.unshift(": "),st.predicate&&jt.push(st.returnType?" ":": ",Ee("predicate")),jt}function $e(ve,Ee,We){let st=ve.getValue(),yt=Ee.semi?";":"",jt=[];st.argument&&(ge(Ee,st.argument)?jt.push([" (",P([N,We("argument")]),N,")"]):S(st.argument)||st.argument.type==="SequenceExpression"?jt.push(A([k(" ("," "),P([y,We("argument")]),y,k(")")])):jt.push(" ",We("argument")));let zt=v(st),Xe=c(zt),Ke=Xe&&B(Xe);return Ke&&jt.push(yt),O(st,L.Dangling)&&jt.push(" ",D(ve,Ee,!0)),Ke||jt.push(yt),jt}function Ze(ve,Ee,We){return["return",$e(ve,Ee,We)]}function ze(ve,Ee,We){return["throw",$e(ve,Ee,We)]}function ge(ve,Ee){if(R(ve.originalText,Ee))return!0;if(U(Ee)){let We=Ee,st;for(;st=K(We);)if(We=st,R(ve.originalText,We))return!0}return!1}C.exports={printFunction:ke,printArrowFunction:Le,printMethod:de,printReturnStatement:Ze,printThrowStatement:ze,printMethodInternal:pe,shouldPrintParamsWithoutParens:he}}}),xo=we({"src/language-js/print/decorators.js"(m,C){Pe();var{isNonEmptyArray:h,hasNewline:D}=Dr(),{builders:{line:x,hardline:c,join:p,breakParent:g,group:y}}=dt(),{locStart:A,locEnd:P}=Rn(),{getParentExportDeclaration:k}=qr();function N(W,j,R){let q=W.getValue();return y([p(x,W.map(R,"decorators")),T(q,j)?c:x])}function b(W,j,R){return[p(c,W.map(R,"declaration","decorators")),c]}function F(W,j,R){let q=W.getValue(),{decorators:X}=q;if(!h(X)||$(W.getParentNode()))return;let G=q.type==="ClassExpression"||q.type==="ClassDeclaration"||T(q,j);return[k(W)?c:G?g:"",p(x,W.map(R,"decorators")),x]}function T(W,j){return W.decorators.some(R=>D(j.originalText,P(R)))}function $(W){if(W.type!=="ExportDefaultDeclaration"&&W.type!=="ExportNamedDeclaration"&&W.type!=="DeclareExportDeclaration")return!1;let j=W.declaration&&W.declaration.decorators;return h(j)&&A(W,{ignoreDecorators:!0})>A(j[0])}C.exports={printDecorators:F,printClassMemberDecorators:N,printDecoratorsBeforeExport:b,hasDecoratorsBeforeExport:$}}}),fa=we({"src/language-js/print/class.js"(m,C){Pe();var{isNonEmptyArray:h,createGroupIdMapper:D}=Dr(),{printComments:x,printDanglingComments:c}=An(),{builders:{join:p,line:g,hardline:y,softline:A,group:P,indent:k,ifBreak:N}}=dt(),{hasComment:b,CommentCheckFlags:F}=qr(),{getTypeParametersGroupId:T}=Ka(),{printMethod:$}=Ya(),{printOptionalToken:W,printTypeAnnotation:j,printDefiniteToken:R}=ui(),{printPropertyKey:q}=ha(),{printAssignment:X}=pa(),{printClassMemberDecorators:G}=xo();function Q(J,U,K){let se=J.getValue(),te=[];se.declare&&te.push("declare "),se.abstract&&te.push("abstract "),te.push("class");let fe=se.id&&b(se.id,F.Trailing)||se.typeParameters&&b(se.typeParameters,F.Trailing)||se.superClass&&b(se.superClass)||h(se.extends)||h(se.mixins)||h(se.implements),ce=[],ie=[];if(se.id&&ce.push(" ",K("id")),ce.push(K("typeParameters")),se.superClass){let ke=[L(J,U,K),K("superTypeParameters")],de=J.call(pe=>["extends ",x(pe,ke,U)],"superClass");fe?ie.push(g,P(de)):ie.push(" ",de)}else ie.push(v(J,U,K,"extends"));if(ie.push(v(J,U,K,"mixins"),v(J,U,K,"implements")),fe){let ke;O(se)?ke=[...ce,k(ie)]:ke=k([...ce,ie]),te.push(P(ke,{id:I(se)}))}else te.push(...ce,...ie);return te.push(" ",K("body")),te}var I=D("heritageGroup");function S(J){return N(y,"",{groupId:I(J)})}function B(J){return["superClass","extends","mixins","implements"].filter(U=>Boolean(J[U])).length>1}function O(J){return J.typeParameters&&!b(J.typeParameters,F.Trailing|F.Line)&&!B(J)}function v(J,U,K,se){let te=J.getValue();if(!h(te[se]))return"";let fe=c(J,U,!0,ce=>{let{marker:ie}=ce;return ie===se});return[O(te)?N(" ",g,{groupId:T(te.typeParameters)}):g,fe,fe&&y,se,P(k([g,p([",",g],J.map(K,se))]))]}function L(J,U,K){let se=K("superClass");return J.getParentNode().type==="AssignmentExpression"?P(N(["(",k([A,se]),A,")"],se)):se}function _(J,U,K){let se=J.getValue(),te=[];return h(se.decorators)&&te.push(G(J,U,K)),se.accessibility&&te.push(se.accessibility+" "),se.readonly&&te.push("readonly "),se.declare&&te.push("declare "),se.static&&te.push("static "),(se.type==="TSAbstractMethodDefinition"||se.abstract)&&te.push("abstract "),se.override&&te.push("override "),te.push($(J,U,K)),te}function z(J,U,K){let se=J.getValue(),te=[],fe=U.semi?";":"";return h(se.decorators)&&te.push(G(J,U,K)),se.accessibility&&te.push(se.accessibility+" "),se.declare&&te.push("declare "),se.static&&te.push("static "),(se.type==="TSAbstractPropertyDefinition"||se.abstract)&&te.push("abstract "),se.override&&te.push("override "),se.readonly&&te.push("readonly "),se.variance&&te.push(K("variance")),se.type==="ClassAccessorProperty"&&te.push("accessor "),te.push(q(J,U,K),W(J),R(J),j(J,U,K)),[X(J,U,K,te," =","value"),fe]}C.exports={printClass:Q,printClassMethod:_,printClassProperty:z,printHardlineAfterHeritage:S}}}),Mc=we({"src/language-js/print/interface.js"(m,C){Pe();var{isNonEmptyArray:h}=Dr(),{builders:{join:D,line:x,group:c,indent:p,ifBreak:g}}=dt(),{hasComment:y,identity:A,CommentCheckFlags:P}=qr(),{getTypeParametersGroupId:k}=Ka(),{printTypeScriptModifiers:N}=ui();function b(F,T,$){let W=F.getValue(),j=[];W.declare&&j.push("declare "),W.type==="TSInterfaceDeclaration"&&j.push(W.abstract?"abstract ":"",N(F,T,$)),j.push("interface");let R=[],q=[];W.type!=="InterfaceTypeAnnotation"&&R.push(" ",$("id"),$("typeParameters"));let X=W.typeParameters&&!y(W.typeParameters,P.Trailing|P.Line);return h(W.extends)&&q.push(X?g(" ",x,{groupId:k(W.typeParameters)}):x,"extends ",(W.extends.length===1?A:p)(D([",",x],F.map($,"extends")))),W.id&&y(W.id,P.Trailing)||h(W.extends)?X?j.push(c([...R,p(q)])):j.push(c(p([...R,...q]))):j.push(...R,...q),j.push(" ",$("body")),c(j)}C.exports={printInterface:b}}}),Rc=we({"src/language-js/print/module.js"(m,C){Pe();var{isNonEmptyArray:h}=Dr(),{builders:{softline:D,group:x,indent:c,join:p,line:g,ifBreak:y,hardline:A}}=dt(),{printDanglingComments:P}=An(),{hasComment:k,CommentCheckFlags:N,shouldPrintComma:b,needsHardlineAfterDanglingComment:F,isStringLiteral:T,rawText:$}=qr(),{locStart:W,hasSameLoc:j}=Rn(),{hasDecoratorsBeforeExport:R,printDecoratorsBeforeExport:q}=xo();function X(z,J,U){let K=z.getValue(),se=J.semi?";":"",te=[],{importKind:fe}=K;return te.push("import"),fe&&fe!=="value"&&te.push(" ",fe),te.push(B(z,J,U),S(z,J,U),v(z,J,U),se),te}function G(z,J,U){let K=z.getValue(),se=[];R(K)&&se.push(q(z,J,U));let{type:te,exportKind:fe,declaration:ce}=K;return se.push("export"),(K.default||te==="ExportDefaultDeclaration")&&se.push(" default"),k(K,N.Dangling)&&(se.push(" ",P(z,J,!0)),F(K)&&se.push(A)),ce?se.push(" ",U("declaration")):se.push(fe==="type"?" type":"",B(z,J,U),S(z,J,U),v(z,J,U)),I(K,J)&&se.push(";"),se}function Q(z,J,U){let K=z.getValue(),se=J.semi?";":"",te=[],{exportKind:fe,exported:ce}=K;return te.push("export"),fe==="type"&&te.push(" type"),te.push(" *"),ce&&te.push(" as ",U("exported")),te.push(S(z,J,U),v(z,J,U),se),te}function I(z,J){if(!J.semi)return!1;let{type:U,declaration:K}=z,se=z.default||U==="ExportDefaultDeclaration";if(!K)return!0;let{type:te}=K;return!!(se&&te!=="ClassDeclaration"&&te!=="FunctionDeclaration"&&te!=="TSInterfaceDeclaration"&&te!=="DeclareClass"&&te!=="DeclareFunction"&&te!=="TSDeclareFunction"&&te!=="EnumDeclaration")}function S(z,J,U){let K=z.getValue();if(!K.source)return"";let se=[];return O(K,J)||se.push(" from"),se.push(" ",U("source")),se}function B(z,J,U){let K=z.getValue();if(O(K,J))return"";let se=[" "];if(h(K.specifiers)){let te=[],fe=[];z.each(()=>{let ce=z.getValue().type;if(ce==="ExportNamespaceSpecifier"||ce==="ExportDefaultSpecifier"||ce==="ImportNamespaceSpecifier"||ce==="ImportDefaultSpecifier")te.push(U());else if(ce==="ExportSpecifier"||ce==="ImportSpecifier")fe.push(U());else throw new Error("Unknown specifier type ".concat(JSON.stringify(ce)))},"specifiers"),se.push(p(", ",te)),fe.length>0&&(te.length>0&&se.push(", "),fe.length>1||te.length>0||K.specifiers.some(ce=>k(ce))?se.push(x(["{",c([J.bracketSpacing?g:D,p([",",g],fe)]),y(b(J)?",":""),J.bracketSpacing?g:D,"}"])):se.push(["{",J.bracketSpacing?" ":"",...fe,J.bracketSpacing?" ":"","}"]))}else se.push("{}");return se}function O(z,J){let{type:U,importKind:K,source:se,specifiers:te}=z;return U!=="ImportDeclaration"||h(te)||K==="type"?!1:!/{\s*}/.test(J.originalText.slice(W(z),W(se)))}function v(z,J,U){let K=z.getNode();return h(K.assertions)?[" assert {",J.bracketSpacing?" ":"",p(", ",z.map(U,"assertions")),J.bracketSpacing?" ":"","}"]:""}function L(z,J,U){let K=z.getNode(),{type:se}=K,te=[],fe=se==="ImportSpecifier"?K.importKind:K.exportKind;fe&&fe!=="value"&&te.push(fe," ");let ce=se.startsWith("Import"),ie=ce?"imported":"local",ke=ce?"local":"exported",de=K[ie],pe=K[ke],Te="",je="";return se==="ExportNamespaceSpecifier"||se==="ImportNamespaceSpecifier"?Te="*":de&&(Te=U(ie)),pe&&!_(K)&&(je=U(ke)),te.push(Te,Te&&je?" as ":"",je),te}function _(z){if(z.type!=="ImportSpecifier"&&z.type!=="ExportSpecifier")return!1;let{local:J,[z.type==="ImportSpecifier"?"imported":"exported"]:U}=z;if(J.type!==U.type||!j(J,U))return!1;if(T(J))return J.value===U.value&&$(J)===$(U);switch(J.type){case"Identifier":return J.name===U.name;default:return!1}}C.exports={printImportDeclaration:X,printExportDeclaration:G,printExportAllDeclaration:Q,printModuleSpecifier:L}}}),Do=we({"src/language-js/print/object.js"(m,C){Pe();var{printDanglingComments:h}=An(),{builders:{line:D,softline:x,group:c,indent:p,ifBreak:g,hardline:y}}=dt(),{getLast:A,hasNewlineInRange:P,hasNewline:k,isNonEmptyArray:N}=Dr(),{shouldPrintComma:b,hasComment:F,getComments:T,CommentCheckFlags:$,isNextLineEmpty:W}=qr(),{locStart:j,locEnd:R}=Rn(),{printOptionalToken:q,printTypeAnnotation:X}=ui(),{shouldHugFunctionParameters:G}=Xa(),{shouldHugType:Q}=Qa(),{printHardlineAfterHeritage:I}=fa();function S(B,O,v){let L=O.semi?";":"",_=B.getValue(),z;_.type==="TSTypeLiteral"?z="members":_.type==="TSInterfaceBody"?z="body":z="properties";let J=_.type==="ObjectTypeAnnotation",U=[z];J&&U.push("indexers","callProperties","internalSlots");let K=U.map(he=>_[he][0]).sort((he,De)=>j(he)-j(De))[0],se=B.getParentNode(0),te=J&&se&&(se.type==="InterfaceDeclaration"||se.type==="DeclareInterface"||se.type==="DeclareClass")&&B.getName()==="body",fe=_.type==="TSInterfaceBody"||te||_.type==="ObjectPattern"&&se.type!=="FunctionDeclaration"&&se.type!=="FunctionExpression"&&se.type!=="ArrowFunctionExpression"&&se.type!=="ObjectMethod"&&se.type!=="ClassMethod"&&se.type!=="ClassPrivateMethod"&&se.type!=="AssignmentPattern"&&se.type!=="CatchClause"&&_.properties.some(he=>he.value&&(he.value.type==="ObjectPattern"||he.value.type==="ArrayPattern"))||_.type!=="ObjectPattern"&&K&&P(O.originalText,j(_),j(K)),ce=te?";":_.type==="TSInterfaceBody"||_.type==="TSTypeLiteral"?g(L,";"):",",ie=_.type==="RecordExpression"?"#{":_.exact?"{|":"{",ke=_.exact?"|}":"}",de=[];for(let he of U)B.each(De=>{let $e=De.getValue();de.push({node:$e,printed:v(),loc:j($e)})},he);U.length>1&&de.sort((he,De)=>he.loc-De.loc);let pe=[],Te=de.map(he=>{let De=[...pe,c(he.printed)];return pe=[ce,D],(he.node.type==="TSPropertySignature"||he.node.type==="TSMethodSignature"||he.node.type==="TSConstructSignatureDeclaration")&&F(he.node,$.PrettierIgnore)&&pe.shift(),W(he.node,O)&&pe.push(y),De});if(_.inexact){let he;if(F(_,$.Dangling)){let De=F(_,$.Line);he=[h(B,O,!0),De||k(O.originalText,R(A(T(_))))?y:D,"..."]}else he=["..."];Te.push([...pe,...he])}let je=A(_[z]),Le=!(_.inexact||je&&je.type==="RestElement"||je&&(je.type==="TSPropertySignature"||je.type==="TSCallSignatureDeclaration"||je.type==="TSMethodSignature"||je.type==="TSConstructSignatureDeclaration")&&F(je,$.PrettierIgnore)),Qe;if(Te.length===0){if(!F(_,$.Dangling))return[ie,ke,X(B,O,v)];Qe=c([ie,h(B,O),x,ke,q(B),X(B,O,v)])}else Qe=[te&&N(_.properties)?I(se):"",ie,p([O.bracketSpacing?D:x,...Te]),g(Le&&(ce!==","||b(O))?ce:""),O.bracketSpacing?D:x,ke,q(B),X(B,O,v)];return B.match(he=>he.type==="ObjectPattern"&&!he.decorators,(he,De,$e)=>G(he)&&(De==="params"||De==="parameters"||De==="this"||De==="rest")&&$e===0)||B.match(Q,(he,De)=>De==="typeAnnotation",(he,De)=>De==="typeAnnotation",(he,De,$e)=>G(he)&&(De==="params"||De==="parameters"||De==="this"||De==="rest")&&$e===0)||!fe&&B.match(he=>he.type==="ObjectPattern",he=>he.type==="AssignmentExpression"||he.type==="VariableDeclarator")?Qe:c(Qe,{shouldBreak:fe})}C.exports={printObject:S}}}),Fm=we({"src/language-js/print/flow.js"(m,C){Pe();var h=la(),{printDanglingComments:D}=An(),{printString:x,printNumber:c}=Dr(),{builders:{hardline:p,softline:g,group:y,indent:A}}=dt(),{getParentExportDeclaration:P,isFunctionNotation:k,isGetterOrSetter:N,rawText:b,shouldPrintComma:F}=qr(),{locStart:T,locEnd:$}=Rn(),{printClass:W}=fa(),{printOpaqueType:j,printTypeAlias:R,printIntersectionType:q,printUnionType:X,printFunctionType:G,printTupleType:Q,printIndexedAccessType:I}=Qa(),{printInterface:S}=Mc(),{printTypeParameter:B,printTypeParameters:O}=Ka(),{printExportDeclaration:v,printExportAllDeclaration:L}=Rc(),{printArrayItems:_}=ca(),{printObject:z}=Do(),{printPropertyKey:J}=ha(),{printOptionalToken:U,printTypeAnnotation:K,printRestSpread:se}=ui();function te(ce,ie,ke){let de=ce.getValue(),pe=ie.semi?";":"",Te=[];switch(de.type){case"DeclareClass":return fe(ce,W(ce,ie,ke));case"DeclareFunction":return fe(ce,["function ",ke("id"),de.predicate?" ":"",ke("predicate"),pe]);case"DeclareModule":return fe(ce,["module ",ke("id")," ",ke("body")]);case"DeclareModuleExports":return fe(ce,["module.exports",": ",ke("typeAnnotation"),pe]);case"DeclareVariable":return fe(ce,["var ",ke("id"),pe]);case"DeclareOpaqueType":return fe(ce,j(ce,ie,ke));case"DeclareInterface":return fe(ce,S(ce,ie,ke));case"DeclareTypeAlias":return fe(ce,R(ce,ie,ke));case"DeclareExportDeclaration":return fe(ce,v(ce,ie,ke));case"DeclareExportAllDeclaration":return fe(ce,L(ce,ie,ke));case"OpaqueType":return j(ce,ie,ke);case"TypeAlias":return R(ce,ie,ke);case"IntersectionTypeAnnotation":return q(ce,ie,ke);case"UnionTypeAnnotation":return X(ce,ie,ke);case"FunctionTypeAnnotation":return G(ce,ie,ke);case"TupleTypeAnnotation":return Q(ce,ie,ke);case"GenericTypeAnnotation":return[ke("id"),O(ce,ie,ke,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return I(ce,ie,ke);case"TypeAnnotation":return ke("typeAnnotation");case"TypeParameter":return B(ce,ie,ke);case"TypeofTypeAnnotation":return["typeof ",ke("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[ke("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(de.value);case"EnumDeclaration":return["enum ",ke("id")," ",ke("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(de.type==="EnumSymbolBody"||de.explicitType){let je=null;switch(de.type){case"EnumBooleanBody":je="boolean";break;case"EnumNumberBody":je="number";break;case"EnumStringBody":je="string";break;case"EnumSymbolBody":je="symbol";break}Te.push("of ",je," ")}if(de.members.length===0&&!de.hasUnknownMembers)Te.push(y(["{",D(ce,ie),g,"}"]));else{let je=de.members.length>0?[p,_(ce,ie,"members",ke),de.hasUnknownMembers||F(ie)?",":""]:[];Te.push(y(["{",A([...je,...de.hasUnknownMembers?[p,"..."]:[]]),D(ce,ie,!0),p,"}"]))}return Te}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[ke("id")," = ",typeof de.init=="object"?ke("init"):String(de.init)];case"EnumDefaultedMember":return ke("id");case"FunctionTypeParam":{let je=de.name?ke("name"):ce.getParentNode().this===de?"this":"";return[je,U(ce),je?": ":"",ke("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return S(ce,ie,ke);case"ClassImplements":case"InterfaceExtends":return[ke("id"),ke("typeParameters")];case"NullableTypeAnnotation":return["?",ke("typeAnnotation")];case"Variance":{let{kind:je}=de;return h.ok(je==="plus"||je==="minus"),je==="plus"?"+":"-"}case"ObjectTypeCallProperty":return de.static&&Te.push("static "),Te.push(ke("value")),Te;case"ObjectTypeIndexer":return[de.static?"static ":"",de.variance?ke("variance"):"","[",ke("id"),de.id?": ":"",ke("key"),"]: ",ke("value")];case"ObjectTypeProperty":{let je="";return de.proto?je="proto ":de.static&&(je="static "),[je,N(de)?de.kind+" ":"",de.variance?ke("variance"):"",J(ce,ie,ke),U(ce),k(de)?"":": ",ke("value")]}case"ObjectTypeAnnotation":return z(ce,ie,ke);case"ObjectTypeInternalSlot":return[de.static?"static ":"","[[",ke("id"),"]]",U(ce),de.method?"":": ",ke("value")];case"ObjectTypeSpreadProperty":return se(ce,ie,ke);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[ke("qualification"),".",ke("id")];case"StringLiteralTypeAnnotation":return x(b(de),ie);case"NumberLiteralTypeAnnotation":h.strictEqual(typeof de.value,"number");case"BigIntLiteralTypeAnnotation":return de.extra?c(de.extra.raw):c(de.raw);case"TypeCastExpression":return["(",ke("expression"),K(ce,ie,ke),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let je=O(ce,ie,ke,"params");if(ie.parser==="flow"){let Le=T(de),Qe=$(de),he=ie.originalText.lastIndexOf("/*",Le),De=ie.originalText.indexOf("*/",Qe);if(he!==-1&&De!==-1){let $e=ie.originalText.slice(he+2,De).trim();if($e.startsWith("::")&&!$e.includes("/*")&&!$e.includes("*/"))return["/*:: ",je," */"]}}return je}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",ke("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(de.type))}}function fe(ce,ie){let ke=P(ce);return ke?(h.strictEqual(ke.type,"DeclareExportDeclaration"),ie):["declare ",ie]}C.exports={printFlow:te}}}),Sm=we({"src/language-js/utils/is-ts-keyword-type.js"(m,C){Pe();function h(D){let{type:x}=D;return x.startsWith("TS")&&x.endsWith("Keyword")}C.exports=h}}),Jc=we({"src/language-js/print/ternary.js"(m,C){Pe();var{hasNewlineInRange:h}=Dr(),{isJsxNode:D,getComments:x,isCallExpression:c,isMemberExpression:p}=qr(),{locStart:g,locEnd:y}=Rn(),A=Is(),{builders:{line:P,softline:k,group:N,indent:b,align:F,ifBreak:T,dedent:$,breakParent:W}}=dt();function j(Q){let I=[Q];for(let S=0;S<I.length;S++){let B=I[S];for(let O of["test","consequent","alternate"]){let v=B[O];if(D(v))return!0;v.type==="ConditionalExpression"&&I.push(v)}}return!1}function R(Q,I,S){let B=Q.getValue(),O=B.type==="ConditionalExpression",v=O?"alternate":"falseType",L=Q.getParentNode(),_=O?S("test"):[S("checkType")," ","extends"," ",S("extendsType")];return L.type===B.type&&L[v]===B?F(2,_):_}var q=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function X(Q){let I=Q.getValue();if(I.type!=="ConditionalExpression")return!1;let S,B=I;for(let O=0;!S;O++){let v=Q.getParentNode(O);if(c(v)&&v.callee===B||p(v)&&v.object===B||v.type==="TSNonNullExpression"&&v.expression===B){B=v;continue}v.type==="NewExpression"&&v.callee===B||v.type==="TSAsExpression"&&v.expression===B?(S=Q.getParentNode(O+1),B=v):S=v}return B===I?!1:S[q.get(S.type)]===B}function G(Q,I,S){let B=Q.getValue(),O=B.type==="ConditionalExpression",v=O?"consequent":"trueType",L=O?"alternate":"falseType",_=O?["test"]:["checkType","extendsType"],z=B[v],J=B[L],U=[],K=!1,se=Q.getParentNode(),te=se.type===B.type&&_.some(De=>se[De]===B),fe=se.type===B.type&&!te,ce,ie,ke=0;do ie=ce||B,ce=Q.getParentNode(ke),ke++;while(ce&&ce.type===B.type&&_.every(De=>ce[De]!==ie));let de=ce||se,pe=ie;if(O&&(D(B[_[0]])||D(z)||D(J)||j(pe))){K=!0,fe=!0;let De=Ze=>[T("("),b([k,Ze]),k,T(")")],$e=Ze=>Ze.type==="NullLiteral"||Ze.type==="Literal"&&Ze.value===null||Ze.type==="Identifier"&&Ze.name==="undefined";U.push(" ? ",$e(z)?S(v):De(S(v))," : ",J.type===B.type||$e(J)?S(L):De(S(L)))}else{let De=[P,"? ",z.type===B.type?T("","("):"",F(2,S(v)),z.type===B.type?T("",")"):"",P,": ",J.type===B.type?S(L):F(2,S(L))];U.push(se.type!==B.type||se[L]===B||te?De:I.useTabs?$(b(De)):F(Math.max(0,I.tabWidth-2),De))}let Te=[..._.map(De=>x(B[De])),x(z),x(J)].flat().some(De=>A(De)&&h(I.originalText,g(De),y(De))),je=De=>se===de?N(De,{shouldBreak:Te}):Te?[De,W]:De,Le=!K&&(p(se)||se.type==="NGPipeExpression"&&se.left===B)&&!se.computed,Qe=X(Q),he=je([R(Q,I,S),fe?U:b(U),O&&Le&&!Qe?k:""]);return te||Qe?N([b([k,he]),k]):he}C.exports={printTernary:G}}}),Uc=we({"src/language-js/print/statement.js"(m,C){Pe();var{builders:{hardline:h}}=dt(),D=Ls(),{getLeftSidePathName:x,hasNakedLeftSide:c,isJsxNode:p,isTheOnlyJsxElementInMarkdown:g,hasComment:y,CommentCheckFlags:A,isNextLineEmpty:P}=qr(),{shouldPrintParamsWithoutParens:k}=Ya();function N(q,X,G,Q){let I=q.getValue(),S=[],B=I.type==="ClassBody",O=b(I[Q]);return q.each((v,L,_)=>{let z=v.getValue();if(z.type==="EmptyStatement")return;let J=G();!X.semi&&!B&&!g(X,v)&&F(v,X)?y(z,A.Leading)?S.push(G([],{needsSemi:!0})):S.push(";",J):S.push(J),!X.semi&&B&&j(z)&&R(z,_[L+1])&&S.push(";"),z!==O&&(S.push(h),P(z,X)&&S.push(h))},Q),S}function b(q){for(let X=q.length-1;X>=0;X--){let G=q[X];if(G.type!=="EmptyStatement")return G}}function F(q,X){return q.getNode().type!=="ExpressionStatement"?!1:q.call(G=>T(G,X),"expression")}function T(q,X){let G=q.getValue();switch(G.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!k(q,X))return!0;break}case"UnaryExpression":{let{prefix:Q,operator:I}=G;if(Q&&(I==="+"||I==="-"))return!0;break}case"BindExpression":{if(!G.object)return!0;break}case"Literal":{if(G.regex)return!0;break}default:if(p(G))return!0}return D(q,X)?!0:c(G)?q.call(Q=>T(Q,X),...x(q,G)):!1}function $(q,X,G){return N(q,X,G,"body")}function W(q,X,G){return N(q,X,G,"consequent")}var j=q=>{let{type:X}=q;return X==="ClassProperty"||X==="PropertyDefinition"||X==="ClassPrivateProperty"||X==="ClassAccessorProperty"};function R(q,X){let G=q.key&&q.key.name;if((G==="static"||G==="get"||G==="set")&&!q.value&&!q.typeAnnotation)return!0;if(!X||X.static||X.accessibility)return!1;if(!X.computed){let Q=X.key&&X.key.name;if(Q==="in"||Q==="instanceof")return!0}if(j(X)&&X.variance&&!X.static&&!X.declare)return!0;switch(X.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return X.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((X.value?X.value.async:X.async)||X.kind==="get"||X.kind==="set")return!1;let Q=X.value?X.value.generator:X.generator;return!!(X.computed||Q)}case"TSIndexSignature":return!0}return!1}C.exports={printBody:$,printSwitchCaseConsequent:W}}}),zc=we({"src/language-js/print/block.js"(m,C){Pe();var{printDanglingComments:h}=An(),{isNonEmptyArray:D}=Dr(),{builders:{hardline:x,indent:c}}=dt(),{hasComment:p,CommentCheckFlags:g,isNextLineEmpty:y}=qr(),{printHardlineAfterHeritage:A}=fa(),{printBody:P}=Uc();function k(b,F,T){let $=b.getValue(),W=[];if($.type==="StaticBlock"&&W.push("static "),$.type==="ClassBody"&&D($.body)){let R=b.getParentNode();W.push(A(R))}W.push("{");let j=N(b,F,T);if(j)W.push(c([x,j]),x);else{let R=b.getParentNode(),q=b.getParentNode(1);R.type==="ArrowFunctionExpression"||R.type==="FunctionExpression"||R.type==="FunctionDeclaration"||R.type==="ObjectMethod"||R.type==="ClassMethod"||R.type==="ClassPrivateMethod"||R.type==="ForStatement"||R.type==="WhileStatement"||R.type==="DoWhileStatement"||R.type==="DoExpression"||R.type==="CatchClause"&&!q.finalizer||R.type==="TSModuleDeclaration"||R.type==="TSDeclareFunction"||$.type==="StaticBlock"||$.type==="ClassBody"||W.push(x)}return W.push("}"),W}function N(b,F,T){let $=b.getValue(),W=D($.directives),j=$.body.some(X=>X.type!=="EmptyStatement"),R=p($,g.Dangling);if(!W&&!j&&!R)return"";let q=[];if(W&&b.each((X,G,Q)=>{q.push(T()),(G<Q.length-1||j||R)&&(q.push(x),y(X.getValue(),F)&&q.push(x))},"directives"),j&&q.push(P(b,F,T)),R&&q.push(h(b,F,!0)),$.type==="Program"){let X=b.getParentNode();(!X||X.type!=="ModuleExpression")&&q.push(x)}return q}C.exports={printBlock:k,printBlockBody:N}}}),wm=we({"src/language-js/print/typescript.js"(m,C){Pe();var{printDanglingComments:h}=An(),{hasNewlineInRange:D}=Dr(),{builders:{join:x,line:c,hardline:p,softline:g,group:y,indent:A,conditionalGroup:P,ifBreak:k}}=dt(),{isLiteral:N,getTypeScriptMappedTypeModifier:b,shouldPrintComma:F,isCallExpression:T,isMemberExpression:$}=qr(),W=Sm(),{locStart:j,locEnd:R}=Rn(),{printOptionalToken:q,printTypeScriptModifiers:X}=ui(),{printTernary:G}=Jc(),{printFunctionParameters:Q,shouldGroupFunctionParameters:I}=Xa(),{printTemplateLiteral:S}=Ps(),{printArrayItems:B}=ca(),{printObject:O}=Do(),{printClassProperty:v,printClassMethod:L}=fa(),{printTypeParameter:_,printTypeParameters:z}=Ka(),{printPropertyKey:J}=ha(),{printFunction:U,printMethodInternal:K}=Ya(),{printInterface:se}=Mc(),{printBlock:te}=zc(),{printTypeAlias:fe,printIntersectionType:ce,printUnionType:ie,printFunctionType:ke,printTupleType:de,printIndexedAccessType:pe,printJSDocType:Te}=Qa();function je(Le,Qe,he){let De=Le.getValue();if(!De.type.startsWith("TS"))return;if(W(De))return De.type.slice(2,-7).toLowerCase();let $e=Qe.semi?";":"",Ze=[];switch(De.type){case"TSThisType":return"this";case"TSTypeAssertion":{let ze=!(De.expression.type==="ArrayExpression"||De.expression.type==="ObjectExpression"),ge=y(["<",A([g,he("typeAnnotation")]),g,">"]),ve=[k("("),A([g,he("expression")]),g,k(")")];return ze?P([[ge,he("expression")],[ge,y(ve,{shouldBreak:!0})],[ge,he("expression")]]):y([ge,he("expression")])}case"TSDeclareFunction":return U(Le,he,Qe);case"TSExportAssignment":return["export = ",he("expression"),$e];case"TSModuleBlock":return te(Le,Qe,he);case"TSInterfaceBody":case"TSTypeLiteral":return O(Le,Qe,he);case"TSTypeAliasDeclaration":return fe(Le,Qe,he);case"TSQualifiedName":return x(".",[he("left"),he("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return L(Le,Qe,he);case"TSAbstractPropertyDefinition":return v(Le,Qe,he);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Ze.push(he("expression")),De.typeParameters&&Ze.push(he("typeParameters")),Ze;case"TSTemplateLiteralType":return S(Le,he,Qe);case"TSNamedTupleMember":return[he("label"),De.optional?"?":"",": ",he("elementType")];case"TSRestType":return["...",he("typeAnnotation")];case"TSOptionalType":return[he("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return se(Le,Qe,he);case"TSClassImplements":return[he("expression"),he("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return z(Le,Qe,he,"params");case"TSTypeParameter":return _(Le,Qe,he);case"TSAsExpression":{Ze.push(he("expression")," as ",he("typeAnnotation"));let ze=Le.getParentNode();return T(ze)&&ze.callee===De||$(ze)&&ze.object===De?y([A([g,...Ze]),g]):Ze}case"TSArrayType":return[he("elementType"),"[]"];case"TSPropertySignature":return De.readonly&&Ze.push("readonly "),Ze.push(J(Le,Qe,he),q(Le)),De.typeAnnotation&&Ze.push(": ",he("typeAnnotation")),De.initializer&&Ze.push(" = ",he("initializer")),Ze;case"TSParameterProperty":return De.accessibility&&Ze.push(De.accessibility+" "),De.export&&Ze.push("export "),De.static&&Ze.push("static "),De.override&&Ze.push("override "),De.readonly&&Ze.push("readonly "),Ze.push(he("parameter")),Ze;case"TSTypeQuery":return["typeof ",he("exprName"),he("typeParameters")];case"TSIndexSignature":{let ze=Le.getParentNode(),ge=De.parameters.length>1?k(F(Qe)?",":""):"",ve=y([A([g,x([", ",g],Le.map(he,"parameters"))]),ge,g]);return[De.export?"export ":"",De.accessibility?[De.accessibility," "]:"",De.static?"static ":"",De.readonly?"readonly ":"",De.declare?"declare ":"","[",De.parameters?ve:"",De.typeAnnotation?"]: ":"]",De.typeAnnotation?he("typeAnnotation"):"",ze.type==="ClassBody"?$e:""]}case"TSTypePredicate":return[De.asserts?"asserts ":"",he("parameterName"),De.typeAnnotation?[" is ",he("typeAnnotation")]:""];case"TSNonNullExpression":return[he("expression"),"!"];case"TSImportType":return[De.isTypeOf?"typeof ":"","import(",he(De.parameter?"parameter":"argument"),")",De.qualifier?[".",he("qualifier")]:"",z(Le,Qe,he,"typeParameters")];case"TSLiteralType":return he("literal");case"TSIndexedAccessType":return pe(Le,Qe,he);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(De.type==="TSConstructorType"&&De.abstract&&Ze.push("abstract "),De.type!=="TSCallSignatureDeclaration"&&Ze.push("new "),Ze.push(y(Q(Le,he,Qe,!1,!0))),De.returnType||De.typeAnnotation){let ze=De.type==="TSConstructorType";Ze.push(ze?" => ":": ",he("returnType"),he("typeAnnotation"))}return Ze}case"TSTypeOperator":return[De.operator," ",he("typeAnnotation")];case"TSMappedType":{let ze=D(Qe.originalText,j(De),R(De));return y(["{",A([Qe.bracketSpacing?c:g,De.readonly?[b(De.readonly,"readonly")," "]:"",X(Le,Qe,he),he("typeParameter"),De.optional?b(De.optional,"?"):"",De.typeAnnotation?": ":"",he("typeAnnotation"),k($e)]),h(Le,Qe,!0),Qe.bracketSpacing?c:g,"}"],{shouldBreak:ze})}case"TSMethodSignature":{let ze=De.kind&&De.kind!=="method"?"".concat(De.kind," "):"";Ze.push(De.accessibility?[De.accessibility," "]:"",ze,De.export?"export ":"",De.static?"static ":"",De.readonly?"readonly ":"",De.abstract?"abstract ":"",De.declare?"declare ":"",De.computed?"[":"",he("key"),De.computed?"]":"",q(Le));let ge=Q(Le,he,Qe,!1,!0),ve=De.returnType?"returnType":"typeAnnotation",Ee=De[ve],We=Ee?he(ve):"",st=I(De,We);return Ze.push(st?y(ge):ge),Ee&&Ze.push(": ",y(We)),y(Ze)}case"TSNamespaceExportDeclaration":return Ze.push("export as namespace ",he("id")),Qe.semi&&Ze.push(";"),y(Ze);case"TSEnumDeclaration":return De.declare&&Ze.push("declare "),De.modifiers&&Ze.push(X(Le,Qe,he)),De.const&&Ze.push("const "),Ze.push("enum ",he("id")," "),De.members.length===0?Ze.push(y(["{",h(Le,Qe),g,"}"])):Ze.push(y(["{",A([p,B(Le,Qe,"members",he),F(Qe,"es5")?",":""]),h(Le,Qe,!0),p,"}"])),Ze;case"TSEnumMember":return De.computed?Ze.push("[",he("id"),"]"):Ze.push(he("id")),De.initializer&&Ze.push(" = ",he("initializer")),Ze;case"TSImportEqualsDeclaration":return De.isExport&&Ze.push("export "),Ze.push("import "),De.importKind&&De.importKind!=="value"&&Ze.push(De.importKind," "),Ze.push(he("id")," = ",he("moduleReference")),Qe.semi&&Ze.push(";"),y(Ze);case"TSExternalModuleReference":return["require(",he("expression"),")"];case"TSModuleDeclaration":{let ze=Le.getParentNode(),ge=N(De.id),ve=ze.type==="TSModuleDeclaration",Ee=De.body&&De.body.type==="TSModuleDeclaration";if(ve)Ze.push(".");else{De.declare&&Ze.push("declare "),Ze.push(X(Le,Qe,he));let We=Qe.originalText.slice(j(De),j(De.id));De.id.type==="Identifier"&&De.id.name==="global"&&!/namespace|module/.test(We)||Ze.push(ge||/(?:^|\s)module(?:\s|$)/.test(We)?"module ":"namespace ")}return Ze.push(he("id")),Ee?Ze.push(he("body")):De.body?Ze.push(" ",y(he("body"))):Ze.push($e),Ze}case"TSConditionalType":return G(Le,Qe,he);case"TSInferType":return["infer"," ",he("typeParameter")];case"TSIntersectionType":return ce(Le,Qe,he);case"TSUnionType":return ie(Le,Qe,he);case"TSFunctionType":return ke(Le,Qe,he);case"TSTupleType":return de(Le,Qe,he);case"TSTypeReference":return[he("typeName"),z(Le,Qe,he,"typeParameters")];case"TSTypeAnnotation":return he("typeAnnotation");case"TSEmptyBodyFunctionExpression":return K(Le,Qe,he);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Te(Le,he,"?");case"TSJSDocNonNullableType":return Te(Le,he,"!");case"TSInstantiationExpression":return[he("expression"),he("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(De.type),"."))}}C.exports={printTypescript:je}}}),km=we({"src/language-js/print/comment.js"(m,C){Pe();var{hasNewline:h}=Dr(),{builders:{join:D,hardline:x},utils:{replaceTextEndOfLine:c}}=dt(),{isLineComment:p}=qr(),{locStart:g,locEnd:y}=Rn(),A=Is();function P(b,F){let T=b.getValue();if(p(T))return F.originalText.slice(g(T),y(T)).trimEnd();if(A(T)){if(k(T)){let j=N(T);return T.trailing&&!h(F.originalText,g(T),{backwards:!0})?[x,j]:j}let $=y(T),W=F.originalText.slice($-3,$)==="*-/";return["/*",c(T.value),W?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(T))}function k(b){let F="*".concat(b.value,"*").split(`
74
- `);return F.length>1&&F.every(T=>T.trim()[0]==="*")}function N(b){let F=b.value.split(`
75
- `);return["/*",D(x,F.map((T,$)=>$===0?T.trimEnd():" "+($<F.length-1?T.trim():T.trimStart()))),"*/"]}C.exports={printComment:P}}}),Bm=we({"src/language-js/print/literal.js"(m,C){Pe();var{printString:h,printNumber:D}=Dr();function x(g,y){let A=g.getNode();switch(A.type){case"RegExpLiteral":return p(A);case"BigIntLiteral":return c(A.bigint||A.extra.raw);case"NumericLiteral":return D(A.extra.raw);case"StringLiteral":return h(A.extra.raw,y);case"NullLiteral":return"null";case"BooleanLiteral":return String(A.value);case"DecimalLiteral":return D(A.value)+"m";case"Literal":{if(A.regex)return p(A.regex);if(A.bigint)return c(A.raw);if(A.decimal)return D(A.decimal)+"m";let{value:P}=A;return typeof P=="number"?D(A.raw):typeof P=="string"?h(A.raw,y):String(P)}}}function c(g){return g.toLowerCase()}function p(g){let{pattern:y,flags:A}=g;return A=[...A].sort().join(""),"/".concat(y,"/").concat(A)}C.exports={printLiteral:x}}}),Tm=we({"src/language-js/printer-estree.js"(m,C){Pe();var{printDanglingComments:h}=An(),{hasNewline:D}=Dr(),{builders:{join:x,line:c,hardline:p,softline:g,group:y,indent:A},utils:{replaceTextEndOfLine:P}}=dt(),k=hm(),N=fm(),{insertPragma:b}=Ic(),F=Pc(),T=Ls(),$=Lc(),{hasFlowShorthandAnnotationComment:W,hasComment:j,CommentCheckFlags:R,isTheOnlyJsxElementInMarkdown:q,isLineComment:X,isNextLineEmpty:G,needsHardlineAfterDanglingComment:Q,rawText:I,hasIgnoreComment:S,isCallExpression:B,isMemberExpression:O,markerForIfWithoutBlockAndSameLineComment:v}=qr(),{locStart:L,locEnd:_}=Rn(),z=Is(),{printHtmlBinding:J,isVueEventBindingExpression:U}=Cm(),{printAngular:K}=Em(),{printJsx:se,hasJsxIgnoreComment:te}=Am(),{printFlow:fe}=Fm(),{printTypescript:ce}=wm(),{printOptionalToken:ie,printBindExpressionCallee:ke,printTypeAnnotation:de,adjustClause:pe,printRestSpread:Te,printDefiniteToken:je}=ui(),{printImportDeclaration:Le,printExportDeclaration:Qe,printExportAllDeclaration:he,printModuleSpecifier:De}=Rc(),{printTernary:$e}=Jc(),{printTemplateLiteral:Ze}=Ps(),{printArray:ze}=ca(),{printObject:ge}=Do(),{printClass:ve,printClassMethod:Ee,printClassProperty:We}=fa(),{printProperty:st}=ha(),{printFunction:yt,printArrowFunction:jt,printMethod:zt,printReturnStatement:Xe,printThrowStatement:Ke}=Ya(),{printCallExpression:it}=Vc(),{printVariableDeclarator:Je,printAssignmentExpression:mt}=pa(),{printBinaryishExpression:Fe}=go(),{printSwitchCaseConsequent:ft}=Uc(),{printMemberExpression:ct}=jc(),{printBlock:xt,printBlockBody:Ht}=zc(),{printComment:Dt}=km(),{printLiteral:nt}=Bm(),{printDecorators:H}=xo();function Ae(Nt,Mt,Ct,rn){let wt=Ue(Nt,Mt,Ct,rn);if(!wt)return"";let Vr=Nt.getValue(),{type:Vt}=Vr;if(Vt==="ClassMethod"||Vt==="ClassPrivateMethod"||Vt==="ClassProperty"||Vt==="ClassAccessorProperty"||Vt==="PropertyDefinition"||Vt==="TSAbstractPropertyDefinition"||Vt==="ClassPrivateProperty"||Vt==="MethodDefinition"||Vt==="TSAbstractMethodDefinition"||Vt==="TSDeclareMethod")return wt;let Gt=[wt],cr=H(Nt,Mt,Ct),kt=Vr.type==="ClassExpression"&&cr;if(cr&&(Gt=[...cr,wt],!kt))return y(Gt);if(!T(Nt,Mt))return rn&&rn.needsSemi&&Gt.unshift(";"),Gt.length===1&&Gt[0]===wt?wt:Gt;if(kt&&(Gt=[A([c,...Gt])]),Gt.unshift("("),rn&&rn.needsSemi&&Gt.unshift(";"),W(Vr)){let[Rt]=Vr.trailingComments;Gt.push(" /*",Rt.value.trimStart(),"*/"),Rt.printed=!0}return kt&&Gt.push(c),Gt.push(")"),Gt}function Ue(Nt,Mt,Ct,rn){let wt=Nt.getValue(),Vr=Mt.semi?";":"";if(!wt)return"";if(typeof wt=="string")return wt;for(let Gt of[nt,J,K,se,fe,ce]){let cr=Gt(Nt,Mt,Ct);if(typeof cr<"u")return cr}let Vt=[];switch(wt.type){case"JsExpressionRoot":return Ct("node");case"JsonRoot":return[Ct("node"),p];case"File":return wt.program&&wt.program.interpreter&&Vt.push(Ct(["program","interpreter"])),Vt.push(Ct("program")),Vt;case"Program":return Ht(Nt,Mt,Ct);case"EmptyStatement":return"";case"ExpressionStatement":{if(wt.directive)return[vt(wt.expression,Mt),Vr];if(Mt.parser==="__vue_event_binding"||Mt.parser==="__vue_ts_event_binding"){let cr=Nt.getParentNode();if(cr.type==="Program"&&cr.body.length===1&&cr.body[0]===wt)return[Ct("expression"),U(wt.expression)?";":""]}let Gt=h(Nt,Mt,!0,cr=>{let{marker:kt}=cr;return kt===v});return[Ct("expression"),q(Mt,Nt)?"":Vr,Gt?[" ",Gt]:""]}case"ParenthesizedExpression":return!j(wt.expression)&&(wt.expression.type==="ObjectExpression"||wt.expression.type==="ArrayExpression")?["(",Ct("expression"),")"]:y(["(",A([g,Ct("expression")]),g,")"]);case"AssignmentExpression":return mt(Nt,Mt,Ct);case"VariableDeclarator":return Je(Nt,Mt,Ct);case"BinaryExpression":case"LogicalExpression":return Fe(Nt,Mt,Ct);case"AssignmentPattern":return[Ct("left")," = ",Ct("right")];case"OptionalMemberExpression":case"MemberExpression":return ct(Nt,Mt,Ct);case"MetaProperty":return[Ct("meta"),".",Ct("property")];case"BindExpression":return wt.object&&Vt.push(Ct("object")),Vt.push(y(A([g,ke(Nt,Mt,Ct)]))),Vt;case"Identifier":return[wt.name,ie(Nt),je(Nt),de(Nt,Mt,Ct)];case"V8IntrinsicIdentifier":return["%",wt.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Te(Nt,Mt,Ct);case"FunctionDeclaration":case"FunctionExpression":return yt(Nt,Ct,Mt,rn);case"ArrowFunctionExpression":return jt(Nt,Mt,Ct,rn);case"YieldExpression":return Vt.push("yield"),wt.delegate&&Vt.push("*"),wt.argument&&Vt.push(" ",Ct("argument")),Vt;case"AwaitExpression":{if(Vt.push("await"),wt.argument){Vt.push(" ",Ct("argument"));let Gt=Nt.getParentNode();if(B(Gt)&&Gt.callee===wt||O(Gt)&&Gt.object===wt){Vt=[A([g,...Vt]),g];let cr=Nt.findAncestor(kt=>kt.type==="AwaitExpression"||kt.type==="BlockStatement");if(!cr||cr.type!=="AwaitExpression")return y(Vt)}}return Vt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Qe(Nt,Mt,Ct);case"ExportAllDeclaration":return he(Nt,Mt,Ct);case"ImportDeclaration":return Le(Nt,Mt,Ct);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return De(Nt,Mt,Ct);case"ImportAttribute":return[Ct("key"),": ",Ct("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return xt(Nt,Mt,Ct);case"ThrowStatement":return Ke(Nt,Mt,Ct);case"ReturnStatement":return Xe(Nt,Mt,Ct);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return it(Nt,Mt,Ct);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ge(Nt,Mt,Ct);case"ObjectProperty":case"Property":return wt.method||wt.kind==="get"||wt.kind==="set"?zt(Nt,Mt,Ct):st(Nt,Mt,Ct);case"ObjectMethod":return zt(Nt,Mt,Ct);case"Decorator":return["@",Ct("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return ze(Nt,Mt,Ct);case"SequenceExpression":{let Gt=Nt.getParentNode(0);if(Gt.type==="ExpressionStatement"||Gt.type==="ForStatement"){let cr=[];return Nt.each((kt,Rt)=>{Rt===0?cr.push(Ct()):cr.push(",",A([c,Ct()]))},"expressions"),y(cr)}return y(x([",",c],Nt.map(Ct,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Ct("value"),Vr];case"DirectiveLiteral":return vt(wt,Mt);case"UnaryExpression":return Vt.push(wt.operator),/[a-z]$/.test(wt.operator)&&Vt.push(" "),j(wt.argument)?Vt.push(y(["(",A([g,Ct("argument")]),g,")"])):Vt.push(Ct("argument")),Vt;case"UpdateExpression":return Vt.push(Ct("argument"),wt.operator),wt.prefix&&Vt.reverse(),Vt;case"ConditionalExpression":return $e(Nt,Mt,Ct);case"VariableDeclaration":{let Gt=Nt.map(Ct,"declarations"),cr=Nt.getParentNode(),kt=cr.type==="ForStatement"||cr.type==="ForInStatement"||cr.type==="ForOfStatement",Rt=wt.declarations.some(Re=>Re.init),Yt;return Gt.length===1&&!j(wt.declarations[0])?Yt=Gt[0]:Gt.length>0&&(Yt=A(Gt[0])),Vt=[wt.declare?"declare ":"",wt.kind,Yt?[" ",Yt]:"",A(Gt.slice(1).map(Re=>[",",Rt&&!kt?p:c,Re]))],kt&&cr.body!==wt||Vt.push(Vr),y(Vt)}case"WithStatement":return y(["with (",Ct("object"),")",pe(wt.body,Ct("body"))]);case"IfStatement":{let Gt=pe(wt.consequent,Ct("consequent")),cr=y(["if (",y([A([g,Ct("test")]),g]),")",Gt]);if(Vt.push(cr),wt.alternate){let kt=j(wt.consequent,R.Trailing|R.Line)||Q(wt),Rt=wt.consequent.type==="BlockStatement"&&!kt;Vt.push(Rt?" ":p),j(wt,R.Dangling)&&Vt.push(h(Nt,Mt,!0),kt?p:" "),Vt.push("else",y(pe(wt.alternate,Ct("alternate"),wt.alternate.type==="IfStatement")))}return Vt}case"ForStatement":{let Gt=pe(wt.body,Ct("body")),cr=h(Nt,Mt,!0),kt=cr?[cr,g]:"";return!wt.init&&!wt.test&&!wt.update?[kt,y(["for (;;)",Gt])]:[kt,y(["for (",y([A([g,Ct("init"),";",c,Ct("test"),";",c,Ct("update")]),g]),")",Gt])]}case"WhileStatement":return y(["while (",y([A([g,Ct("test")]),g]),")",pe(wt.body,Ct("body"))]);case"ForInStatement":return y(["for (",Ct("left")," in ",Ct("right"),")",pe(wt.body,Ct("body"))]);case"ForOfStatement":return y(["for",wt.await?" await":""," (",Ct("left")," of ",Ct("right"),")",pe(wt.body,Ct("body"))]);case"DoWhileStatement":{let Gt=pe(wt.body,Ct("body"));return Vt=[y(["do",Gt])],wt.body.type==="BlockStatement"?Vt.push(" "):Vt.push(p),Vt.push("while (",y([A([g,Ct("test")]),g]),")",Vr),Vt}case"DoExpression":return[wt.async?"async ":"","do ",Ct("body")];case"BreakStatement":return Vt.push("break"),wt.label&&Vt.push(" ",Ct("label")),Vt.push(Vr),Vt;case"ContinueStatement":return Vt.push("continue"),wt.label&&Vt.push(" ",Ct("label")),Vt.push(Vr),Vt;case"LabeledStatement":return wt.body.type==="EmptyStatement"?[Ct("label"),":;"]:[Ct("label"),": ",Ct("body")];case"TryStatement":return["try ",Ct("block"),wt.handler?[" ",Ct("handler")]:"",wt.finalizer?[" finally ",Ct("finalizer")]:""];case"CatchClause":if(wt.param){let Gt=j(wt.param,kt=>!z(kt)||kt.leading&&D(Mt.originalText,_(kt))||kt.trailing&&D(Mt.originalText,L(kt),{backwards:!0})),cr=Ct("param");return["catch ",Gt?["(",A([g,cr]),g,") "]:["(",cr,") "],Ct("body")]}return["catch ",Ct("body")];case"SwitchStatement":return[y(["switch (",A([g,Ct("discriminant")]),g,")"])," {",wt.cases.length>0?A([p,x(p,Nt.map((Gt,cr,kt)=>{let Rt=Gt.getValue();return[Ct(),cr!==kt.length-1&&G(Rt,Mt)?p:""]},"cases"))]):"",p,"}"];case"SwitchCase":{wt.test?Vt.push("case ",Ct("test"),":"):Vt.push("default:"),j(wt,R.Dangling)&&Vt.push(" ",h(Nt,Mt,!0));let Gt=wt.consequent.filter(cr=>cr.type!=="EmptyStatement");if(Gt.length>0){let cr=ft(Nt,Mt,Ct);Vt.push(Gt.length===1&&Gt[0].type==="BlockStatement"?[" ",cr]:A([p,cr]))}return Vt}case"DebuggerStatement":return["debugger",Vr];case"ClassDeclaration":case"ClassExpression":return ve(Nt,Mt,Ct);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Ee(Nt,Mt,Ct);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return We(Nt,Mt,Ct);case"TemplateElement":return P(wt.value.raw);case"TemplateLiteral":return Ze(Nt,Ct,Mt);case"TaggedTemplateExpression":return[Ct("tag"),Ct("typeParameters"),Ct("quasi")];case"PrivateIdentifier":return["#",Ct("name")];case"PrivateName":return["#",Ct("id")];case"InterpreterDirective":return Vt.push("#!",wt.value,p),G(wt,Mt)&&Vt.push(p),Vt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Vt.push("module {");let Gt=Ct("body");return Gt&&Vt.push(A([p,Gt]),p),Vt.push("}"),Vt}default:throw new Error("unknown type: "+JSON.stringify(wt.type))}}function vt(Nt,Mt){let Ct=I(Nt),rn=Ct.slice(1,-1);if(rn.includes('"')||rn.includes("'"))return Ct;let wt=Mt.singleQuote?"'":'"';return wt+rn+wt}function ar(Nt){return Nt.type&&!z(Nt)&&!X(Nt)&&Nt.type!=="EmptyStatement"&&Nt.type!=="TemplateElement"&&Nt.type!=="Import"&&Nt.type!=="TSEmptyBodyFunctionExpression"}C.exports={preprocess:$,print:Ae,embed:k,insertPragma:b,massageAstNode:N,hasPrettierIgnore(Nt){return S(Nt)||te(Nt)},willPrintOwnComments:F.willPrintOwnComments,canAttachComment:ar,printComment:Dt,isBlockComment:z,handleComments:{avoidAstMutation:!0,ownLine:F.handleOwnLineComment,endOfLine:F.handleEndOfLineComment,remaining:F.handleRemainingComment},getCommentChildNodes:F.getCommentChildNodes}}}),_m=we({"src/language-js/printer-estree-json.js"(m,C){Pe();var{builders:{hardline:h,indent:D,join:x}}=dt(),c=Lc();function p(A,P,k){let N=A.getValue();switch(N.type){case"JsonRoot":return[k("node"),h];case"ArrayExpression":{if(N.elements.length===0)return"[]";let b=A.map(()=>A.getValue()===null?"null":k(),"elements");return["[",D([h,x([",",h],b)]),h,"]"]}case"ObjectExpression":return N.properties.length===0?"{}":["{",D([h,x([",",h],A.map(k,"properties"))]),h,"}"];case"ObjectProperty":return[k("key"),": ",k("value")];case"UnaryExpression":return[N.operator==="+"?"":N.operator,k("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return N.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(N.value);case"Identifier":{let b=A.getParentNode();return b&&b.type==="ObjectProperty"&&b.key===N?JSON.stringify(N.name):N.name}case"TemplateLiteral":return k(["quasis",0]);case"TemplateElement":return JSON.stringify(N.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(N.type))}}var g=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function y(A,P){let{type:k}=A;if(k==="ObjectProperty"&&A.key.type==="Identifier"){P.key={type:"StringLiteral",value:A.key.name};return}if(k==="UnaryExpression"&&A.operator==="+")return P.argument;if(k==="ArrayExpression"){for(let[N,b]of A.elements.entries())b===null&&P.elements.splice(N,0,{type:"NullLiteral"});return}if(k==="TemplateLiteral")return{type:"StringLiteral",value:A.quasis[0].value.cooked}}y.ignoredProperties=g,C.exports={preprocess:c,print:p,massageAstNode:y}}}),Os=we({"src/common/common-options.js"(m,C){Pe();var h="Common";C.exports={bracketSpacing:{since:"0.0.0",category:h,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:h,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:h,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:h,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:h,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Nm=we({"src/language-js/options.js"(m,C){Pe();var h=Os(),D="JavaScript";C.exports={arrowParens:{since:"1.9.0",category:D,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:h.bracketSameLine,bracketSpacing:h.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:D,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:D,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:h.singleQuote,jsxSingleQuote:{since:"1.15.0",category:D,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:D,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:D,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:h.singleAttributePerLine}}}),Im=we({"src/language-js/parse/parsers.js"(){Pe()}}),yo=we({"node_modules/linguist-languages/data/JavaScript.json"(m,C){C.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Pm=we({"node_modules/linguist-languages/data/TypeScript.json"(m,C){C.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Lm=we({"node_modules/linguist-languages/data/TSX.json"(m,C){C.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),qc=we({"node_modules/linguist-languages/data/JSON.json"(m,C){C.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Om=we({"node_modules/linguist-languages/data/JSON with Comments.json"(m,C){C.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),jm=we({"node_modules/linguist-languages/data/JSON5.json"(m,C){C.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Vm=we({"src/language-js/index.js"(m,C){Pe();var h=ms(),D=Tm(),x=_m(),c=Nm(),p=Im(),g=[h(yo(),A=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...A.interpreters,"zx"],extensions:[...A.extensions.filter(P=>P!==".jsx"),".wxs"]})),h(yo(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),h(yo(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),h(Pm(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),h(Lm(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),h(qc(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),h(qc(),A=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:A.extensions.filter(P=>P!==".jsonl")})),h(Om(),A=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...A.filenames,".eslintrc",".swcrc"]})),h(jm(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],y={estree:D,"estree-json":x};C.exports={languages:g,options:c,printers:y,parsers:p}}}),Mm=we({"src/language-css/clean.js"(m,C){Pe();var{isFrontMatterNode:h}=Dr(),D=ur(),x=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function c(g,y,A){if(h(g)&&g.lang==="yaml"&&delete y.value,g.type==="css-comment"&&A.type==="css-root"&&A.nodes.length>0&&((A.nodes[0]===g||h(A.nodes[0])&&A.nodes[1]===g)&&(delete y.text,/^\*\s*@(?:format|prettier)\s*$/.test(g.text))||A.type==="css-root"&&D(A.nodes)===g))return null;if(g.type==="value-root"&&delete y.text,(g.type==="media-query"||g.type==="media-query-list"||g.type==="media-feature-expression")&&delete y.value,g.type==="css-rule"&&delete y.params,g.type==="selector-combinator"&&(y.value=y.value.replace(/\s+/g," ")),g.type==="media-feature"&&(y.value=y.value.replace(/ /g,"")),(g.type==="value-word"&&(g.isColor&&g.isHex||["initial","inherit","unset","revert"].includes(y.value.replace().toLowerCase()))||g.type==="media-feature"||g.type==="selector-root-invalid"||g.type==="selector-pseudo")&&(y.value=y.value.toLowerCase()),g.type==="css-decl"&&(y.prop=y.prop.toLowerCase()),(g.type==="css-atrule"||g.type==="css-import")&&(y.name=y.name.toLowerCase()),g.type==="value-number"&&(y.unit=y.unit.toLowerCase()),(g.type==="media-feature"||g.type==="media-keyword"||g.type==="media-type"||g.type==="media-unknown"||g.type==="media-url"||g.type==="media-value"||g.type==="selector-attribute"||g.type==="selector-string"||g.type==="selector-class"||g.type==="selector-combinator"||g.type==="value-string")&&y.value&&(y.value=p(y.value)),g.type==="selector-attribute"&&(y.attribute=y.attribute.trim(),y.namespace&&typeof y.namespace=="string"&&(y.namespace=y.namespace.trim(),y.namespace.length===0&&(y.namespace=!0)),y.value&&(y.value=y.value.trim().replace(/^["']|["']$/g,""),delete y.quoted)),(g.type==="media-value"||g.type==="media-type"||g.type==="value-number"||g.type==="selector-root-invalid"||g.type==="selector-class"||g.type==="selector-combinator"||g.type==="selector-tag")&&y.value&&(y.value=y.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(P,k,N)=>{let b=Number(k);return Number.isNaN(b)?P:b+N.toLowerCase()})),g.type==="selector-tag"){let P=g.value.toLowerCase();["from","to"].includes(P)&&(y.value=P)}if(g.type==="css-atrule"&&g.name.toLowerCase()==="supports"&&delete y.value,g.type==="selector-unknown"&&delete y.value,g.type==="value-comma_group"){let P=g.groups.findIndex(k=>k.type==="value-number"&&k.unit==="...");P!==-1&&(y.groups[P].unit="",y.groups.splice(P+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}c.ignoredProperties=x;function p(g){return g.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}C.exports=c}}),vo=we({"src/utils/front-matter/print.js"(m,C){Pe();var{builders:{hardline:h,markAsRoot:D}}=dt();function x(c,p){if(c.lang==="yaml"){let g=c.value.trim(),y=g?p(g,{parser:"yaml"},{stripTrailingHardline:!0}):"";return D([c.startDelimiter,h,y,y?h:"",c.endDelimiter])}}C.exports=x}}),Rm=we({"src/language-css/embed.js"(m,C){Pe();var{builders:{hardline:h}}=dt(),D=vo();function x(c,p,g){let y=c.getValue();if(y.type==="front-matter"){let A=D(y,g);return A?[A,h]:""}}C.exports=x}}),$c=we({"src/utils/front-matter/parse.js"(m,C){Pe();var h=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function D(x){let c=x.match(h);if(!c)return{content:x};let{startDelimiter:p,language:g,value:y="",endDelimiter:A}=c.groups,P=g.trim()||"yaml";if(p==="+++"&&(P="toml"),P!=="yaml"&&p!==A)return{content:x};let[k]=c;return{frontMatter:{type:"front-matter",lang:P,value:y,startDelimiter:p,endDelimiter:A,raw:k.replace(/\n$/,"")},content:k.replace(/[^\n]/g," ")+x.slice(k.length)}}C.exports=D}}),Jm=we({"src/language-css/pragma.js"(m,C){Pe();var h=Ic(),D=$c();function x(p){return h.hasPragma(D(p).content)}function c(p){let{frontMatter:g,content:y}=D(p);return(g?g.raw+`
76
-
77
- `:"")+h.insertPragma(y)}C.exports={hasPragma:x,insertPragma:c}}}),Um=we({"src/language-css/utils/index.js"(m,C){Pe();var h=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function D(ge,ve){let Ee=Array.isArray(ve)?ve:[ve],We=-1,st;for(;st=ge.getParentNode(++We);)if(Ee.includes(st.type))return We;return-1}function x(ge,ve){let Ee=D(ge,ve);return Ee===-1?null:ge.getParentNode(Ee)}function c(ge){var ve;let Ee=x(ge,"css-decl");return Ee==null||(ve=Ee.prop)===null||ve===void 0?void 0:ve.toLowerCase()}var p=new Set(["initial","inherit","unset","revert"]);function g(ge){return p.has(ge.toLowerCase())}function y(ge,ve){let Ee=x(ge,"css-atrule");return(Ee==null?void 0:Ee.name)&&Ee.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(ve.toLowerCase())}function A(ge){return ge.includes("$")||ge.includes("@")||ge.includes("#")||ge.startsWith("%")||ge.startsWith("--")||ge.startsWith(":--")||ge.includes("(")&&ge.includes(")")?ge:ge.toLowerCase()}function P(ge,ve){var Ee;let We=x(ge,"value-func");return(We==null||(Ee=We.value)===null||Ee===void 0?void 0:Ee.toLowerCase())===ve}function k(ge){var ve;let Ee=x(ge,"css-rule"),We=Ee==null||(ve=Ee.raws)===null||ve===void 0?void 0:ve.selector;return We&&(We.startsWith(":import")||We.startsWith(":export"))}function N(ge,ve){let Ee=Array.isArray(ve)?ve:[ve],We=x(ge,"css-atrule");return We&&Ee.includes(We.name.toLowerCase())}function b(ge){let ve=ge.getValue(),Ee=x(ge,"css-atrule");return(Ee==null?void 0:Ee.name)==="import"&&ve.groups[0].value==="url"&&ve.groups.length===2}function F(ge){return ge.type==="value-func"&&ge.value.toLowerCase()==="url"}function T(ge,ve){var Ee;let We=(Ee=ge.getParentNode())===null||Ee===void 0?void 0:Ee.nodes;return We&&We.indexOf(ve)===We.length-1}function $(ge){let{selector:ve}=ge;return ve?typeof ve=="string"&&/^@.+:.*$/.test(ve)||ve.value&&/^@.+:.*$/.test(ve.value):!1}function W(ge){return ge.type==="value-word"&&["from","through","end"].includes(ge.value)}function j(ge){return ge.type==="value-word"&&["and","or","not"].includes(ge.value)}function R(ge){return ge.type==="value-word"&&ge.value==="in"}function q(ge){return ge.type==="value-operator"&&ge.value==="*"}function X(ge){return ge.type==="value-operator"&&ge.value==="/"}function G(ge){return ge.type==="value-operator"&&ge.value==="+"}function Q(ge){return ge.type==="value-operator"&&ge.value==="-"}function I(ge){return ge.type==="value-operator"&&ge.value==="%"}function S(ge){return q(ge)||X(ge)||G(ge)||Q(ge)||I(ge)}function B(ge){return ge.type==="value-word"&&["==","!="].includes(ge.value)}function O(ge){return ge.type==="value-word"&&["<",">","<=",">="].includes(ge.value)}function v(ge){return ge.type==="css-atrule"&&["if","else","for","each","while"].includes(ge.name)}function L(ge){var ve;return((ve=ge.raws)===null||ve===void 0?void 0:ve.params)&&/^\(\s*\)$/.test(ge.raws.params)}function _(ge){return ge.name.startsWith("prettier-placeholder")}function z(ge){return ge.prop.startsWith("@prettier-placeholder")}function J(ge,ve){return ge.value==="$$"&&ge.type==="value-func"&&(ve==null?void 0:ve.type)==="value-word"&&!ve.raws.before}function U(ge){var ve,Ee;return((ve=ge.value)===null||ve===void 0?void 0:ve.type)==="value-root"&&((Ee=ge.value.group)===null||Ee===void 0?void 0:Ee.type)==="value-value"&&ge.prop.toLowerCase()==="composes"}function K(ge){var ve,Ee,We;return((ve=ge.value)===null||ve===void 0||(Ee=ve.group)===null||Ee===void 0||(We=Ee.group)===null||We===void 0?void 0:We.type)==="value-paren_group"&&ge.value.group.group.open!==null&&ge.value.group.group.close!==null}function se(ge){var ve;return((ve=ge.raws)===null||ve===void 0?void 0:ve.before)===""}function te(ge){var ve,Ee;return ge.type==="value-comma_group"&&((ve=ge.groups)===null||ve===void 0||(Ee=ve[1])===null||Ee===void 0?void 0:Ee.type)==="value-colon"}function fe(ge){var ve;return ge.type==="value-paren_group"&&((ve=ge.groups)===null||ve===void 0?void 0:ve[0])&&te(ge.groups[0])}function ce(ge){var ve;let Ee=ge.getValue();if(Ee.groups.length===0)return!1;let We=ge.getParentNode(1);if(!fe(Ee)&&!(We&&fe(We)))return!1;let st=x(ge,"css-decl");return!!(st!=null&&(ve=st.prop)!==null&&ve!==void 0&&ve.startsWith("$")||fe(We)||We.type==="value-func")}function ie(ge){return ge.type==="value-comment"&&ge.inline}function ke(ge){return ge.type==="value-word"&&ge.value==="#"}function de(ge){return ge.type==="value-word"&&ge.value==="{"}function pe(ge){return ge.type==="value-word"&&ge.value==="}"}function Te(ge){return["value-word","value-atword"].includes(ge.type)}function je(ge){return(ge==null?void 0:ge.type)==="value-colon"}function Le(ge,ve){if(!te(ve))return!1;let{groups:Ee}=ve,We=Ee.indexOf(ge);return We===-1?!1:je(Ee[We+1])}function Qe(ge){return ge.value&&["not","and","or"].includes(ge.value.toLowerCase())}function he(ge){return ge.type!=="value-func"?!1:h.has(ge.value.toLowerCase())}function De(ge){return/\/\//.test(ge.split(/[\n\r]/).pop())}function $e(ge){return(ge==null?void 0:ge.type)==="value-atword"&&ge.value.startsWith("prettier-placeholder-")}function Ze(ge,ve){var Ee,We;if(((Ee=ge.open)===null||Ee===void 0?void 0:Ee.value)!=="("||((We=ge.close)===null||We===void 0?void 0:We.value)!==")"||ge.groups.some(st=>st.type!=="value-comma_group"))return!1;if(ve.type==="value-comma_group"){let st=ve.groups.indexOf(ge)-1,yt=ve.groups[st];if((yt==null?void 0:yt.type)==="value-word"&&yt.value==="with")return!0}return!1}function ze(ge){var ve,Ee;return ge.type==="value-paren_group"&&((ve=ge.open)===null||ve===void 0?void 0:ve.value)==="("&&((Ee=ge.close)===null||Ee===void 0?void 0:Ee.value)===")"}C.exports={getAncestorCounter:D,getAncestorNode:x,getPropOfDeclNode:c,maybeToLowerCase:A,insideValueFunctionNode:P,insideICSSRuleNode:k,insideAtRuleNode:N,insideURLFunctionInImportAtRuleNode:b,isKeyframeAtRuleKeywords:y,isWideKeywords:g,isLastNode:T,isSCSSControlDirectiveNode:v,isDetachedRulesetDeclarationNode:$,isRelationalOperatorNode:O,isEqualityOperatorNode:B,isMultiplicationNode:q,isDivisionNode:X,isAdditionNode:G,isSubtractionNode:Q,isModuloNode:I,isMathOperatorNode:S,isEachKeywordNode:R,isForKeywordNode:W,isURLFunctionNode:F,isIfElseKeywordNode:j,hasComposesNode:U,hasParensAroundNode:K,hasEmptyRawBefore:se,isDetachedRulesetCallNode:L,isTemplatePlaceholderNode:_,isTemplatePropNode:z,isPostcssSimpleVarNode:J,isKeyValuePairNode:te,isKeyValuePairInParenGroupNode:fe,isKeyInValuePairNode:Le,isSCSSMapItemNode:ce,isInlineValueCommentNode:ie,isHashNode:ke,isLeftCurlyBraceNode:de,isRightCurlyBraceNode:pe,isWordNode:Te,isColonNode:je,isMediaAndSupportsKeywords:Qe,isColorAdjusterFuncNode:he,lastLineHasInlineComment:De,isAtWordPlaceholderNode:$e,isConfigurationNode:Ze,isParenGroupNode:ze}}}),zm=we({"src/utils/line-column-to-index.js"(m,C){Pe(),C.exports=function(h,D){let x=0;for(let c=0;c<h.line-1;++c)x=D.indexOf(`
78
- `,x)+1;return x+h.column}}}),qm=we({"src/language-css/loc.js"(m,C){Pe();var{skipEverythingButNewLine:h}=Ua(),D=ur(),x=zm();function c(b,F){return typeof b.sourceIndex=="number"?b.sourceIndex:b.source?x(b.source.start,F)-1:null}function p(b,F){if(b.type==="css-comment"&&b.inline)return h(F,b.source.startOffset);let T=b.nodes&&D(b.nodes);return T&&b.source&&!b.source.end&&(b=T),b.source&&b.source.end?x(b.source.end,F):null}function g(b,F){b.source&&(b.source.startOffset=c(b,F),b.source.endOffset=p(b,F));for(let T in b){let $=b[T];T==="source"||!$||typeof $!="object"||($.type==="value-root"||$.type==="value-unknown"?y($,A(b),$.text||$.value):g($,F))}}function y(b,F,T){b.source&&(b.source.startOffset=c(b,T)+F,b.source.endOffset=p(b,T)+F);for(let $ in b){let W=b[$];$==="source"||!W||typeof W!="object"||y(W,F,T)}}function A(b){let F=b.source.startOffset;return typeof b.prop=="string"&&(F+=b.prop.length),b.type==="css-atrule"&&typeof b.name=="string"&&(F+=1+b.name.length+b.raws.afterName.match(/^\s*:?\s*/)[0].length),b.type!=="css-atrule"&&b.raws&&typeof b.raws.between=="string"&&(F+=b.raws.between.length),F}function P(b){let F="initial",T="initial",$,W=!1,j=[];for(let R=0;R<b.length;R++){let q=b[R];switch(F){case"initial":if(q==="'"){F="single-quotes";continue}if(q==='"'){F="double-quotes";continue}if((q==="u"||q==="U")&&b.slice(R,R+4).toLowerCase()==="url("){F="url",R+=3;continue}if(q==="*"&&b[R-1]==="/"){F="comment-block";continue}if(q==="/"&&b[R-1]==="/"){F="comment-inline",$=R-1;continue}continue;case"single-quotes":if(q==="'"&&b[R-1]!=="\\"&&(F=T,T="initial"),q===`
79
- `||q==="\r")return b;continue;case"double-quotes":if(q==='"'&&b[R-1]!=="\\"&&(F=T,T="initial"),q===`
80
- `||q==="\r")return b;continue;case"url":if(q===")"&&(F="initial"),q===`
81
- `||q==="\r")return b;if(q==="'"){F="single-quotes",T="url";continue}if(q==='"'){F="double-quotes",T="url";continue}continue;case"comment-block":q==="/"&&b[R-1]==="*"&&(F="initial");continue;case"comment-inline":(q==='"'||q==="'"||q==="*")&&(W=!0),(q===`
82
- `||q==="\r")&&(W&&j.push([$,R]),F="initial",W=!1);continue}}for(let[R,q]of j)b=b.slice(0,R)+b.slice(R,q).replace(/["'*]/g," ")+b.slice(q);return b}function k(b){return b.source.startOffset}function N(b){return b.source.endOffset}C.exports={locStart:k,locEnd:N,calculateLoc:g,replaceQuotesInInlineComments:P}}}),$m=we({"src/language-css/utils/is-less-parser.js"(m,C){Pe();function h(D){return D.parser==="css"||D.parser==="less"}C.exports=h}}),Hm=we({"src/language-css/utils/is-scss.js"(m,C){Pe();function h(D,x){return D==="less"||D==="scss"?D==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(x)}C.exports=h}}),Wm=we({"src/language-css/utils/css-units.evaluate.js"(m,C){C.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Gm=we({"src/language-css/utils/print-unit.js"(m,C){Pe();var h=Wm();function D(x){let c=x.toLowerCase();return Object.prototype.hasOwnProperty.call(h,c)?h[c]:x}C.exports=D}}),Xm=we({"src/language-css/printer-postcss.js"(m,C){Pe();var h=ur(),{printNumber:D,printString:x,hasNewline:c,isFrontMatterNode:p,isNextLineEmpty:g,isNonEmptyArray:y}=Dr(),{builders:{join:A,line:P,hardline:k,softline:N,group:b,fill:F,indent:T,dedent:$,ifBreak:W,breakParent:j},utils:{removeLines:R,getDocParts:q}}=dt(),X=Mm(),G=Rm(),{insertPragma:Q}=Jm(),{getAncestorNode:I,getPropOfDeclNode:S,maybeToLowerCase:B,insideValueFunctionNode:O,insideICSSRuleNode:v,insideAtRuleNode:L,insideURLFunctionInImportAtRuleNode:_,isKeyframeAtRuleKeywords:z,isWideKeywords:J,isLastNode:U,isSCSSControlDirectiveNode:K,isDetachedRulesetDeclarationNode:se,isRelationalOperatorNode:te,isEqualityOperatorNode:fe,isMultiplicationNode:ce,isDivisionNode:ie,isAdditionNode:ke,isSubtractionNode:de,isMathOperatorNode:pe,isEachKeywordNode:Te,isForKeywordNode:je,isURLFunctionNode:Le,isIfElseKeywordNode:Qe,hasComposesNode:he,hasParensAroundNode:De,hasEmptyRawBefore:$e,isKeyValuePairNode:Ze,isKeyInValuePairNode:ze,isDetachedRulesetCallNode:ge,isTemplatePlaceholderNode:ve,isTemplatePropNode:Ee,isPostcssSimpleVarNode:We,isSCSSMapItemNode:st,isInlineValueCommentNode:yt,isHashNode:jt,isLeftCurlyBraceNode:zt,isRightCurlyBraceNode:Xe,isWordNode:Ke,isColonNode:it,isMediaAndSupportsKeywords:Je,isColorAdjusterFuncNode:mt,lastLineHasInlineComment:Fe,isAtWordPlaceholderNode:ft,isConfigurationNode:ct,isParenGroupNode:xt}=Um(),{locStart:Ht,locEnd:Dt}=qm(),nt=$m(),H=Hm(),Ae=Gm();function Ue(kt){return kt.trailingComma==="es5"||kt.trailingComma==="all"}function vt(kt,Rt,Yt){let Re=kt.getValue();if(!Re)return"";if(typeof Re=="string")return Re;switch(Re.type){case"front-matter":return[Re.raw,k];case"css-root":{let vr=ar(kt,Rt,Yt),or=Re.raws.after.trim();return[vr,or?" ".concat(or):"",q(vr).length>0?k:""]}case"css-comment":{let vr=Re.inline||Re.raws.inline,or=Rt.originalText.slice(Ht(Re),Dt(Re));return vr?or.trimEnd():or}case"css-rule":return[Yt("selector"),Re.important?" !important":"",Re.nodes?[Re.selector&&Re.selector.type==="selector-unknown"&&Fe(Re.selector.value)?P:" ","{",Re.nodes.length>0?T([k,ar(kt,Rt,Yt)]):"",k,"}",se(Re)?";":""]:";"];case"css-decl":{let vr=kt.getParentNode(),{between:or}=Re.raws,br=or.trim(),Jn=br===":",Fn=he(Re)?R(Yt("value")):Yt("value");return!Jn&&Fe(br)&&(Fn=T([k,$(Fn)])),[Re.raws.before.replace(/[\s;]/g,""),v(kt)?Re.prop:B(Re.prop),br.startsWith("//")?" ":"",br,Re.extend?"":" ",nt(Rt)&&Re.extend&&Re.selector?["extend(",Yt("selector"),")"]:"",Fn,Re.raws.important?Re.raws.important.replace(/\s*!\s*important/i," !important"):Re.important?" !important":"",Re.raws.scssDefault?Re.raws.scssDefault.replace(/\s*!default/i," !default"):Re.scssDefault?" !default":"",Re.raws.scssGlobal?Re.raws.scssGlobal.replace(/\s*!global/i," !global"):Re.scssGlobal?" !global":"",Re.nodes?[" {",T([N,ar(kt,Rt,Yt)]),N,"}"]:Ee(Re)&&!vr.raws.semicolon&&Rt.originalText[Dt(Re)-1]!==";"?"":Rt.__isHTMLStyleAttribute&&U(kt,Re)?W(";"):";"]}case"css-atrule":{let vr=kt.getParentNode(),or=ve(Re)&&!vr.raws.semicolon&&Rt.originalText[Dt(Re)-1]!==";";if(nt(Rt)){if(Re.mixin)return[Yt("selector"),Re.important?" !important":"",or?"":";"];if(Re.function)return[Re.name,Yt("params"),or?"":";"];if(Re.variable)return["@",Re.name,": ",Re.value?Yt("value"):"",Re.raws.between.trim()?Re.raws.between.trim()+" ":"",Re.nodes?["{",T([Re.nodes.length>0?N:"",ar(kt,Rt,Yt)]),N,"}"]:"",or?"":";"]}return["@",ge(Re)||Re.name.endsWith(":")?Re.name:B(Re.name),Re.params?[ge(Re)?"":ve(Re)?Re.raws.afterName===""?"":Re.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Re.raws.afterName)?[k,k]:/^\s*\n/.test(Re.raws.afterName)?k:" ":" ",Yt("params")]:"",Re.selector?T([" ",Yt("selector")]):"",Re.value?b([" ",Yt("value"),K(Re)?De(Re)?" ":P:""]):Re.name==="else"?" ":"",Re.nodes?[K(Re)?"":Re.selector&&!Re.selector.nodes&&typeof Re.selector.value=="string"&&Fe(Re.selector.value)||!Re.selector&&typeof Re.params=="string"&&Fe(Re.params)?P:" ","{",T([Re.nodes.length>0?N:"",ar(kt,Rt,Yt)]),N,"}"]:or?"":";"]}case"media-query-list":{let vr=[];return kt.each(or=>{let br=or.getValue();br.type==="media-query"&&br.value===""||vr.push(Yt())},"nodes"),b(T(A(P,vr)))}case"media-query":return[A(" ",kt.map(Yt,"nodes")),U(kt,Re)?"":","];case"media-type":return Gt(Vr(Re.value,Rt));case"media-feature-expression":return Re.nodes?["(",...kt.map(Yt,"nodes"),")"]:Re.value;case"media-feature":return B(Vr(Re.value.replace(/ +/g," "),Rt));case"media-colon":return[Re.value," "];case"media-value":return Gt(Vr(Re.value,Rt));case"media-keyword":return Vr(Re.value,Rt);case"media-url":return Vr(Re.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Rt);case"media-unknown":return Re.value;case"selector-root":return b([L(kt,"custom-selector")?[I(kt,"css-atrule").customSelector,P]:"",A([",",L(kt,["extend","custom-selector","nest"])?P:k],kt.map(Yt,"nodes"))]);case"selector-selector":return b(T(kt.map(Yt,"nodes")));case"selector-comment":return Re.value;case"selector-string":return Vr(Re.value,Rt);case"selector-tag":{let vr=kt.getParentNode(),or=vr&&vr.nodes.indexOf(Re),br=or&&vr.nodes[or-1];return[Re.namespace?[Re.namespace===!0?"":Re.namespace.trim(),"|"]:"",br.type==="selector-nesting"?Re.value:Gt(z(kt,Re.value)?Re.value.toLowerCase():Re.value)]}case"selector-id":return["#",Re.value];case"selector-class":return[".",Gt(Vr(Re.value,Rt))];case"selector-attribute":return["[",Re.namespace?[Re.namespace===!0?"":Re.namespace.trim(),"|"]:"",Re.attribute.trim(),Re.operator?Re.operator:"",Re.value?Vt(Vr(Re.value.trim(),Rt),Rt):"",Re.insensitive?" i":"","]"];case"selector-combinator":{if(Re.value==="+"||Re.value===">"||Re.value==="~"||Re.value===">>>"){let br=kt.getParentNode();return[br.type==="selector-selector"&&br.nodes[0]===Re?"":P,Re.value,U(kt,Re)?"":" "]}let vr=Re.value.trim().startsWith("(")?P:"",or=Gt(Vr(Re.value.trim(),Rt))||P;return[vr,or]}case"selector-universal":return[Re.namespace?[Re.namespace===!0?"":Re.namespace.trim(),"|"]:"",Re.value];case"selector-pseudo":return[B(Re.value),y(Re.nodes)?["(",A(", ",kt.map(Yt,"nodes")),")"]:""];case"selector-nesting":return Re.value;case"selector-unknown":{let vr=I(kt,"css-rule");if(vr&&vr.isSCSSNesterProperty)return Gt(Vr(B(Re.value),Rt));let or=kt.getParentNode();if(or.raws&&or.raws.selector){let Jn=Ht(or),Fn=Jn+or.raws.selector.length;return Rt.originalText.slice(Jn,Fn).trim()}let br=kt.getParentNode(1);if(or.type==="value-paren_group"&&br&&br.type==="value-func"&&br.value==="selector"){let Jn=Dt(or.open)+1,Fn=Ht(or.close),xi=Rt.originalText.slice(Jn,Fn).trim();return Fe(xi)?[j,xi]:xi}return Re.value}case"value-value":case"value-root":return Yt("group");case"value-comment":return Rt.originalText.slice(Ht(Re),Dt(Re));case"value-comma_group":{let vr=kt.getParentNode(),or=kt.getParentNode(1),br=S(kt),Jn=br&&vr.type==="value-value"&&(br==="grid"||br.startsWith("grid-template")),Fn=I(kt,"css-atrule"),xi=Fn&&K(Fn),ne=Re.groups.some(Vn=>yt(Vn)),et=kt.map(Yt,"groups"),Tt=[],mr=O(kt,"url"),yr=!1,xn=!1;for(let Vn=0;Vn<Re.groups.length;++Vn){Tt.push(et[Vn]);let Sn=Re.groups[Vn-1],lr=Re.groups[Vn],xr=Re.groups[Vn+1],eu=Re.groups[Vn+2];if(mr){(xr&&ke(xr)||ke(lr))&&Tt.push(" ");continue}if(L(kt,"forward")&&lr.type==="value-word"&&lr.value&&Sn!==void 0&&Sn.type==="value-word"&&Sn.value==="as"&&xr.type==="value-operator"&&xr.value==="*"||!xr||lr.type==="value-word"&&lr.value.endsWith("-")&&ft(xr))continue;let c1=lr.type==="value-string"&&lr.value.startsWith("#{"),p1=yr&&xr.type==="value-string"&&xr.value.endsWith("}");if(c1||p1){yr=!yr;continue}if(yr||it(lr)||it(xr)||lr.type==="value-atword"&&lr.value===""||lr.value==="~"||lr.value&&lr.value.includes("\\")&&xr&&xr.type!=="value-comment"||Sn&&Sn.value&&Sn.value.indexOf("\\")===Sn.value.length-1&&lr.type==="value-operator"&&lr.value==="/"||lr.value==="\\"||We(lr,xr)||jt(lr)||zt(lr)||Xe(xr)||zt(xr)&&$e(xr)||Xe(lr)&&$e(xr)||lr.value==="--"&&jt(xr))continue;let Kc=pe(lr),Yc=pe(xr);if((Kc&&jt(xr)||Yc&&Xe(lr))&&$e(xr)||!Sn&&ie(lr)||O(kt,"calc")&&(ke(lr)||ke(xr)||de(lr)||de(xr))&&$e(xr))continue;let h1=(ke(lr)||de(lr))&&Vn===0&&(xr.type==="value-number"||xr.isHex)&&or&&mt(or)&&!$e(xr),Zc=eu&&eu.type==="value-func"||eu&&Ke(eu)||lr.type==="value-func"||Ke(lr),ep=xr.type==="value-func"||Ke(xr)||Sn&&Sn.type==="value-func"||Sn&&Ke(Sn);if(!(!(ce(xr)||ce(lr))&&!O(kt,"calc")&&!h1&&(ie(xr)&&!Zc||ie(lr)&&!ep||ke(xr)&&!Zc||ke(lr)&&!ep||de(xr)||de(lr))&&($e(xr)||Kc&&(!Sn||Sn&&pe(Sn))))){if(yt(lr)){if(vr.type==="value-paren_group"){Tt.push($(k));continue}Tt.push(k);continue}if(xi&&(fe(xr)||te(xr)||Qe(xr)||Te(lr)||je(lr))){Tt.push(" ");continue}if(Fn&&Fn.name.toLowerCase()==="namespace"){Tt.push(" ");continue}if(Jn){lr.source&&xr.source&&lr.source.start.line!==xr.source.start.line?(Tt.push(k),xn=!0):Tt.push(" ");continue}if(Yc){Tt.push(" ");continue}if(!(xr&&xr.value==="...")&&!(ft(lr)&&ft(xr)&&Dt(lr)===Ht(xr))){if(ft(lr)&&xt(xr)&&Dt(lr)===Ht(xr.open)){Tt.push(N);continue}if(lr.value==="with"&&xt(xr)){Tt.push(" ");continue}Tt.push(P)}}}return ne&&Tt.push(j),xn&&Tt.unshift(k),xi?b(T(Tt)):_(kt)?b(F(Tt)):b(T(F(Tt)))}case"value-paren_group":{let vr=kt.getParentNode();if(vr&&Le(vr)&&(Re.groups.length===1||Re.groups.length>0&&Re.groups[0].type==="value-comma_group"&&Re.groups[0].groups.length>0&&Re.groups[0].groups[0].type==="value-word"&&Re.groups[0].groups[0].value.startsWith("data:")))return[Re.open?Yt("open"):"",A(",",kt.map(Yt,"groups")),Re.close?Yt("close"):""];if(!Re.open){let mr=kt.map(Yt,"groups"),yr=[];for(let xn=0;xn<mr.length;xn++)xn!==0&&yr.push([",",P]),yr.push(mr[xn]);return b(T(F(yr)))}let or=st(kt),br=h(Re.groups),Jn=br&&br.type==="value-comment",Fn=ze(Re,vr),xi=ct(Re,vr),ne=xi||or&&!Fn,et=xi||Fn,Tt=b([Re.open?Yt("open"):"",T([N,A([P],kt.map((mr,yr)=>{let xn=mr.getValue(),Vn=yr===Re.groups.length-1,Sn=[Yt(),Vn?"":","];if(Ze(xn)&&xn.type==="value-comma_group"&&xn.groups&&xn.groups[0].type!=="value-paren_group"&&xn.groups[2]&&xn.groups[2].type==="value-paren_group"){let lr=q(Sn[0].contents.contents);return lr[1]=b(lr[1]),b($(Sn))}if(!Vn&&xn.type==="value-comma_group"&&y(xn.groups)){let lr=h(xn.groups);lr.source&&g(Rt.originalText,lr,Dt)&&Sn.push(k)}return Sn},"groups"))]),W(!Jn&&H(Rt.parser,Rt.originalText)&&or&&Ue(Rt)?",":""),N,Re.close?Yt("close"):""],{shouldBreak:ne});return et?$(Tt):Tt}case"value-func":return[Re.value,L(kt,"supports")&&Je(Re)?" ":"",Yt("group")];case"value-paren":return Re.value;case"value-number":return[cr(Re.value),Ae(Re.unit)];case"value-operator":return Re.value;case"value-word":return Re.isColor&&Re.isHex||J(Re.value)?Re.value.toLowerCase():Re.value;case"value-colon":{let vr=kt.getParentNode(),or=vr&&vr.groups.indexOf(Re),br=or&&vr.groups[or-1];return[Re.value,br&&typeof br.value=="string"&&h(br.value)==="\\"||O(kt,"url")?"":P]}case"value-comma":return[Re.value," "];case"value-string":return x(Re.raws.quote+Re.value+Re.raws.quote,Rt);case"value-atword":return["@",Re.value];case"value-unicode-range":return Re.value;case"value-unknown":return Re.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(Re.type)))}}function ar(kt,Rt,Yt){let Re=[];return kt.each((vr,or,br)=>{let Jn=br[or-1];if(Jn&&Jn.type==="css-comment"&&Jn.text.trim()==="prettier-ignore"){let Fn=vr.getValue();Re.push(Rt.originalText.slice(Ht(Fn),Dt(Fn)))}else Re.push(Yt());or!==br.length-1&&(br[or+1].type==="css-comment"&&!c(Rt.originalText,Ht(br[or+1]),{backwards:!0})&&!p(br[or])||br[or+1].type==="css-atrule"&&br[or+1].name==="else"&&br[or].type!=="css-comment"?Re.push(" "):(Re.push(Rt.__isHTMLStyleAttribute?P:k),g(Rt.originalText,vr.getValue(),Dt)&&!p(br[or])&&Re.push(k)))},"nodes"),Re}var Nt=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Mt=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Ct=/[A-Za-z]+/g,rn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,wt=new RegExp(Nt.source+"|(".concat(rn.source,")?(").concat(Mt.source,")(").concat(Ct.source,")?"),"g");function Vr(kt,Rt){return kt.replace(Nt,Yt=>x(Yt,Rt))}function Vt(kt,Rt){let Yt=Rt.singleQuote?"'":'"';return kt.includes('"')||kt.includes("'")?kt:Yt+kt+Yt}function Gt(kt){return kt.replace(wt,(Rt,Yt,Re,vr,or)=>!Re&&vr?cr(vr)+B(or||""):Rt)}function cr(kt){return D(kt).replace(/\.0(?=$|e)/,"")}C.exports={print:vt,embed:G,insertPragma:Q,massageAstNode:X}}}),Qm=we({"src/language-css/options.js"(m,C){Pe();var h=Os();C.exports={singleQuote:h.singleQuote}}}),Km=we({"src/language-css/parsers.js"(){Pe()}}),Ym=we({"node_modules/linguist-languages/data/CSS.json"(m,C){C.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Zm=we({"node_modules/linguist-languages/data/PostCSS.json"(m,C){C.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),eg=we({"node_modules/linguist-languages/data/Less.json"(m,C){C.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),tg=we({"node_modules/linguist-languages/data/SCSS.json"(m,C){C.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),rg=we({"src/language-css/index.js"(m,C){Pe();var h=ms(),D=Xm(),x=Qm(),c=Km(),p=[h(Ym(),y=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...y.extensions,".wxss"]})),h(Zm(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),h(eg(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),h(tg(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],g={postcss:D};C.exports={languages:p,options:x,printers:g,parsers:c}}}),ng=we({"src/language-handlebars/loc.js"(m,C){Pe();function h(x){return x.loc.start.offset}function D(x){return x.loc.end.offset}C.exports={locStart:h,locEnd:D}}}),ig=we({"src/language-handlebars/clean.js"(m,C){Pe();function h(D,x){if(D.type==="TextNode"){let c=D.chars.trim();if(!c)return null;x.chars=c.replace(/[\t\n\f\r ]+/g," ")}D.type==="AttrNode"&&D.name.toLowerCase()==="class"&&delete x.value}h.ignoredProperties=new Set(["loc","selfClosing"]),C.exports=h}}),sg=we({"vendors/html-void-elements.json"(m,C){C.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),ag=we({"src/language-handlebars/utils.js"(m,C){Pe();var{htmlVoidElements:h}=sg(),D=ur();function x(R){let q=R.getValue(),X=R.getParentNode(0);return!!(k(R,["ElementNode"])&&D(X.children)===q||k(R,["Block"])&&D(X.body)===q)}function c(R){return R.toUpperCase()===R}function p(R){return P(R,["ElementNode"])&&typeof R.tag=="string"&&!R.tag.startsWith(":")&&(c(R.tag[0])||R.tag.includes("."))}var g=new Set(h);function y(R){return g.has(R.tag)||p(R)&&R.children.every(q=>A(q))}function A(R){return P(R,["TextNode"])&&!/\S/.test(R.chars)}function P(R,q){return R&&q.includes(R.type)}function k(R,q){let X=R.getParentNode(0);return P(X,q)}function N(R,q){let X=T(R);return P(X,q)}function b(R,q){let X=$(R);return P(X,q)}function F(R,q){var X,G,Q,I;let S=R.getValue(),B=(X=R.getParentNode(0))!==null&&X!==void 0?X:{},O=(G=(Q=(I=B.children)!==null&&I!==void 0?I:B.body)!==null&&Q!==void 0?Q:B.parts)!==null&&G!==void 0?G:[],v=O.indexOf(S);return v!==-1&&O[v+q]}function T(R){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return F(R,-q)}function $(R){return F(R,1)}function W(R){return P(R,["MustacheCommentStatement"])&&typeof R.value=="string"&&R.value.trim()==="prettier-ignore"}function j(R){let q=R.getValue(),X=T(R,2);return W(q)||W(X)}C.exports={getNextNode:$,getPreviousNode:T,hasPrettierIgnore:j,isLastNodeOfSiblings:x,isNextNodeOfSomeType:b,isNodeOfSomeType:P,isParentOfSomeType:k,isPreviousNodeOfSomeType:N,isVoid:y,isWhitespaceNode:A}}}),ug=we({"src/language-handlebars/printer-glimmer.js"(m,C){Pe();var{builders:{dedent:h,fill:D,group:x,hardline:c,ifBreak:p,indent:g,join:y,line:A,softline:P},utils:{getDocParts:k,replaceTextEndOfLine:N}}=dt(),{getPreferredQuote:b,isNonEmptyArray:F}=Dr(),{locStart:T,locEnd:$}=ng(),W=ig(),{getNextNode:j,getPreviousNode:R,hasPrettierIgnore:q,isLastNodeOfSiblings:X,isNextNodeOfSomeType:G,isNodeOfSomeType:Q,isParentOfSomeType:I,isPreviousNodeOfSomeType:S,isVoid:B,isWhitespaceNode:O}=ag(),v=2;function L(Fe,ft,ct){let xt=Fe.getValue();if(!xt)return"";if(q(Fe))return ft.originalText.slice(T(xt),$(xt));let Ht=ft.singleQuote?"'":'"';switch(xt.type){case"Block":case"Program":case"Template":return x(Fe.map(ct,"body"));case"ElementNode":{let Dt=x(z(Fe,ct)),nt=ft.htmlWhitespaceSensitivity==="ignore"&&G(Fe,["ElementNode"])?P:"";if(B(xt))return[Dt,nt];let H=["</",xt.tag,">"];return xt.children.length===0?[Dt,g(H),nt]:ft.htmlWhitespaceSensitivity==="ignore"?[Dt,g(J(Fe,ft,ct)),c,g(H),nt]:[Dt,g(x(J(Fe,ft,ct))),g(H),nt]}case"BlockStatement":{let Dt=Fe.getParentNode(1);return Dt&&Dt.inverse&&Dt.inverse.body.length===1&&Dt.inverse.body[0]===xt&&Dt.inverse.body[0].path.parts[0]==="if"?[je(Fe,ct),$e(Fe,ct,ft),Ze(Fe,ct,ft)]:[pe(Fe,ct),x([$e(Fe,ct,ft),Ze(Fe,ct,ft),Le(Fe,ct,ft)])]}case"ElementModifierStatement":return x(["{{",Ke(Fe,ct),"}}"]);case"MustacheStatement":return x([K(xt),Ke(Fe,ct),se(xt)]);case"SubExpression":return x(["(",Xe(Fe,ct),P,")"]);case"AttrNode":{let Dt=xt.value.type==="TextNode";if(Dt&&xt.value.chars===""&&T(xt.value)===$(xt.value))return xt.name;let nt=Dt?b(xt.value.chars,Ht).quote:xt.value.type==="ConcatStatement"?b(xt.value.parts.filter(Ae=>Ae.type==="TextNode").map(Ae=>Ae.chars).join(""),Ht).quote:"",H=ct("value");return[xt.name,"=",nt,xt.name==="class"&&nt?x(g(H)):H,nt]}case"ConcatStatement":return Fe.map(ct,"parts");case"Hash":return y(A,Fe.map(ct,"pairs"));case"HashPair":return[xt.key,"=",ct("value")];case"TextNode":{let Dt=xt.chars.replace(/{{/g,"\\{{"),nt=ve(Fe);if(nt){if(nt==="class"){let rn=Dt.trim().split(/\s+/).join(" "),wt=!1,Vr=!1;return I(Fe,["ConcatStatement"])&&(S(Fe,["MustacheStatement"])&&/^\s/.test(Dt)&&(wt=!0),G(Fe,["MustacheStatement"])&&/\s$/.test(Dt)&&rn!==""&&(Vr=!0)),[wt?A:"",rn,Vr?A:""]}return N(Dt)}let H=/^[\t\n\f\r ]*$/.test(Dt),Ae=!R(Fe),Ue=!j(Fe);if(ft.htmlWhitespaceSensitivity!=="ignore"){let rn=/^[\t\n\f\r ]*/,wt=/[\t\n\f\r ]*$/,Vr=Ue&&I(Fe,["Template"]),Vt=Ae&&I(Fe,["Template"]);if(H){if(Vt||Vr)return"";let Yt=[A],Re=Ee(Dt);return Re&&(Yt=yt(Re)),X(Fe)&&(Yt=Yt.map(vr=>h(vr))),Yt}let[Gt]=Dt.match(rn),[cr]=Dt.match(wt),kt=[];if(Gt){kt=[A];let Yt=Ee(Gt);Yt&&(kt=yt(Yt)),Dt=Dt.replace(rn,"")}let Rt=[];if(cr){if(!Vr){Rt=[A];let Yt=Ee(cr);Yt&&(Rt=yt(Yt)),X(Fe)&&(Rt=Rt.map(Re=>h(Re)))}Dt=Dt.replace(wt,"")}return[...kt,D(ze(Dt)),...Rt]}let vt=Ee(Dt),ar=We(Dt),Nt=st(Dt);if((Ae||Ue)&&H&&I(Fe,["Block","ElementNode","Template"]))return"";H&&vt?(ar=Math.min(vt,v),Nt=0):(G(Fe,["BlockStatement","ElementNode"])&&(Nt=Math.max(Nt,1)),S(Fe,["BlockStatement","ElementNode"])&&(ar=Math.max(ar,1)));let Mt="",Ct="";return Nt===0&&G(Fe,["MustacheStatement"])&&(Ct=" "),ar===0&&S(Fe,["MustacheStatement"])&&(Mt=" "),Ae&&(ar=0,Mt=""),Ue&&(Nt=0,Ct=""),Dt=Dt.replace(/^[\t\n\f\r ]+/g,Mt).replace(/[\t\n\f\r ]+$/,Ct),[...yt(ar),D(ze(Dt)),...yt(Nt)]}case"MustacheCommentStatement":{let Dt=T(xt),nt=$(xt),H=ft.originalText.charAt(Dt+2)==="~",Ae=ft.originalText.charAt(nt-3)==="~",Ue=xt.value.includes("}}")?"--":"";return["{{",H?"~":"","!",Ue,xt.value,Ue,Ae?"~":"","}}"]}case"PathExpression":return xt.original;case"BooleanLiteral":return String(xt.value);case"CommentStatement":return["<!--",xt.value,"-->"];case"StringLiteral":{if(zt(Fe)){let Dt=ft.singleQuote?'"':"'";return jt(xt.value,Dt)}return jt(xt.value,Ht)}case"NumberLiteral":return String(xt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(xt.type))}}function _(Fe,ft){return T(Fe)-T(ft)}function z(Fe,ft){let ct=Fe.getValue(),xt=["attributes","modifiers","comments"].filter(Dt=>F(ct[Dt])),Ht=xt.flatMap(Dt=>ct[Dt]).sort(_);for(let Dt of xt)Fe.each(nt=>{let H=Ht.indexOf(nt.getValue());Ht.splice(H,1,[A,ft()])},Dt);return F(ct.blockParams)&&Ht.push(A,mt(ct)),["<",ct.tag,g(Ht),U(ct)]}function J(Fe,ft,ct){let xt=Fe.getValue().children.every(Ht=>O(Ht));return ft.htmlWhitespaceSensitivity==="ignore"&&xt?"":Fe.map((Ht,Dt)=>{let nt=ct();return Dt===0&&ft.htmlWhitespaceSensitivity==="ignore"?[P,nt]:nt},"children")}function U(Fe){return B(Fe)?p([P,"/>"],[" />",P]):p([P,">"],">")}function K(Fe){let ft=Fe.escaped===!1?"{{{":"{{",ct=Fe.strip&&Fe.strip.open?"~":"";return[ft,ct]}function se(Fe){let ft=Fe.escaped===!1?"}}}":"}}";return[Fe.strip&&Fe.strip.close?"~":"",ft]}function te(Fe){let ft=K(Fe),ct=Fe.openStrip.open?"~":"";return[ft,ct,"#"]}function fe(Fe){let ft=se(Fe);return[Fe.openStrip.close?"~":"",ft]}function ce(Fe){let ft=K(Fe),ct=Fe.closeStrip.open?"~":"";return[ft,ct,"/"]}function ie(Fe){let ft=se(Fe);return[Fe.closeStrip.close?"~":"",ft]}function ke(Fe){let ft=K(Fe),ct=Fe.inverseStrip.open?"~":"";return[ft,ct]}function de(Fe){let ft=se(Fe);return[Fe.inverseStrip.close?"~":"",ft]}function pe(Fe,ft){let ct=Fe.getValue(),xt=te(ct),Ht=fe(ct),Dt=[it(Fe,ft)],nt=Je(Fe,ft);if(nt&&Dt.push(A,nt),F(ct.program.blockParams)){let H=mt(ct.program);Dt.push(A,H)}return x([xt,g(Dt),P,Ht])}function Te(Fe,ft){return[ft.htmlWhitespaceSensitivity==="ignore"?c:"",ke(Fe),"else",de(Fe)]}function je(Fe,ft){let ct=Fe.getParentNode(1);return[ke(ct),"else if ",Je(Fe,ft),de(ct)]}function Le(Fe,ft,ct){let xt=Fe.getValue();return ct.htmlWhitespaceSensitivity==="ignore"?[Qe(xt)?P:c,ce(xt),ft("path"),ie(xt)]:[ce(xt),ft("path"),ie(xt)]}function Qe(Fe){return Q(Fe,["BlockStatement"])&&Fe.program.body.every(ft=>O(ft))}function he(Fe){return De(Fe)&&Fe.inverse.body.length===1&&Q(Fe.inverse.body[0],["BlockStatement"])&&Fe.inverse.body[0].path.parts[0]==="if"}function De(Fe){return Q(Fe,["BlockStatement"])&&Fe.inverse}function $e(Fe,ft,ct){let xt=Fe.getValue();if(Qe(xt))return"";let Ht=ft("program");return ct.htmlWhitespaceSensitivity==="ignore"?g([c,Ht]):g(Ht)}function Ze(Fe,ft,ct){let xt=Fe.getValue(),Ht=ft("inverse"),Dt=ct.htmlWhitespaceSensitivity==="ignore"?[c,Ht]:Ht;return he(xt)?Dt:De(xt)?[Te(xt,ct),g(Dt)]:""}function ze(Fe){return k(y(A,ge(Fe)))}function ge(Fe){return Fe.split(/[\t\n\f\r ]+/)}function ve(Fe){for(let ft=0;ft<2;ft++){let ct=Fe.getParentNode(ft);if(ct&&ct.type==="AttrNode")return ct.name.toLowerCase()}}function Ee(Fe){return Fe=typeof Fe=="string"?Fe:"",Fe.split(`
83
- `).length-1}function We(Fe){Fe=typeof Fe=="string"?Fe:"";let ft=(Fe.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Ee(ft)}function st(Fe){Fe=typeof Fe=="string"?Fe:"";let ft=(Fe.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Ee(ft)}function yt(){let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Fe,v)}).fill(c)}function jt(Fe,ft){let{quote:ct,regex:xt}=b(Fe,ft);return[ct,Fe.replace(xt,"\\".concat(ct)),ct]}function zt(Fe){let ft=0,ct=Fe.getParentNode(ft);for(;ct&&Q(ct,["SubExpression"]);)ft++,ct=Fe.getParentNode(ft);return!!(ct&&Q(Fe.getParentNode(ft+1),["ConcatStatement"])&&Q(Fe.getParentNode(ft+2),["AttrNode"]))}function Xe(Fe,ft){let ct=it(Fe,ft),xt=Je(Fe,ft);return xt?g([ct,A,x(xt)]):ct}function Ke(Fe,ft){let ct=it(Fe,ft),xt=Je(Fe,ft);return xt?[g([ct,A,xt]),P]:ct}function it(Fe,ft){return ft("path")}function Je(Fe,ft){let ct=Fe.getValue(),xt=[];if(ct.params.length>0){let Ht=Fe.map(ft,"params");xt.push(...Ht)}if(ct.hash&&ct.hash.pairs.length>0){let Ht=ft("hash");xt.push(Ht)}return xt.length===0?"":y(A,xt)}function mt(Fe){return["as |",Fe.blockParams.join(" "),"|"]}C.exports={print:L,massageAstNode:W}}}),og=we({"src/language-handlebars/parsers.js"(){Pe()}}),lg=we({"node_modules/linguist-languages/data/Handlebars.json"(m,C){C.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),cg=we({"src/language-handlebars/index.js"(m,C){Pe();var h=ms(),D=ug(),x=og(),c=[h(lg(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],p={glimmer:D};C.exports={languages:c,printers:p,parsers:x}}}),pg=we({"src/language-graphql/pragma.js"(m,C){Pe();function h(x){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(x)}function D(x){return`# @format
84
-
85
- `+x}C.exports={hasPragma:h,insertPragma:D}}}),hg=we({"src/language-graphql/loc.js"(m,C){Pe();function h(x){return typeof x.start=="number"?x.start:x.loc&&x.loc.start}function D(x){return typeof x.end=="number"?x.end:x.loc&&x.loc.end}C.exports={locStart:h,locEnd:D}}}),fg=we({"src/language-graphql/printer-graphql.js"(m,C){Pe();var{builders:{join:h,hardline:D,line:x,softline:c,group:p,indent:g,ifBreak:y}}=dt(),{isNextLineEmpty:A,isNonEmptyArray:P}=Dr(),{insertPragma:k}=pg(),{locStart:N,locEnd:b}=hg();function F(G,Q,I){let S=G.getValue();if(!S)return"";if(typeof S=="string")return S;switch(S.kind){case"Document":{let B=[];return G.each((O,v,L)=>{B.push(I()),v!==L.length-1&&(B.push(D),A(Q.originalText,O.getValue(),b)&&B.push(D))},"definitions"),[...B,D]}case"OperationDefinition":{let B=Q.originalText[N(S)]!=="{",O=Boolean(S.name);return[B?S.operation:"",B&&O?[" ",I("name")]:"",B&&!O&&P(S.variableDefinitions)?" ":"",P(S.variableDefinitions)?p(["(",g([c,h([y("",", "),c],G.map(I,"variableDefinitions"))]),c,")"]):"",T(G,I,S),S.selectionSet?!B&&!O?"":" ":"",I("selectionSet")]}case"FragmentDefinition":return["fragment ",I("name"),P(S.variableDefinitions)?p(["(",g([c,h([y("",", "),c],G.map(I,"variableDefinitions"))]),c,")"]):""," on ",I("typeCondition"),T(G,I,S)," ",I("selectionSet")];case"SelectionSet":return["{",g([D,h(D,$(G,Q,I,"selections"))]),D,"}"];case"Field":return p([S.alias?[I("alias"),": "]:"",I("name"),S.arguments.length>0?p(["(",g([c,h([y("",", "),c],$(G,Q,I,"arguments"))]),c,")"]):"",T(G,I,S),S.selectionSet?" ":"",I("selectionSet")]);case"Name":return S.value;case"StringValue":{if(S.block){let B=S.value.replace(/"""/g,"\\$&").split(`
86
- `);return B.length===1&&(B[0]=B[0].trim()),B.every(O=>O==="")&&(B.length=0),h(D,['"""',...B,'"""'])}return['"',S.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return S.value;case"BooleanValue":return S.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",I("name")];case"ListValue":return p(["[",g([c,h([y("",", "),c],G.map(I,"values"))]),c,"]"]);case"ObjectValue":return p(["{",Q.bracketSpacing&&S.fields.length>0?" ":"",g([c,h([y("",", "),c],G.map(I,"fields"))]),c,y("",Q.bracketSpacing&&S.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[I("name"),": ",I("value")];case"Directive":return["@",I("name"),S.arguments.length>0?p(["(",g([c,h([y("",", "),c],$(G,Q,I,"arguments"))]),c,")"]):""];case"NamedType":return I("name");case"VariableDefinition":return[I("variable"),": ",I("type"),S.defaultValue?[" = ",I("defaultValue")]:"",T(G,I,S)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[I("description"),S.description?D:"",S.kind==="ObjectTypeExtension"?"extend ":"","type ",I("name"),S.interfaces.length>0?[" implements ",...R(G,Q,I)]:"",T(G,I,S),S.fields.length>0?[" {",g([D,h(D,$(G,Q,I,"fields"))]),D,"}"]:""];case"FieldDefinition":return[I("description"),S.description?D:"",I("name"),S.arguments.length>0?p(["(",g([c,h([y("",", "),c],$(G,Q,I,"arguments"))]),c,")"]):"",": ",I("type"),T(G,I,S)];case"DirectiveDefinition":return[I("description"),S.description?D:"","directive ","@",I("name"),S.arguments.length>0?p(["(",g([c,h([y("",", "),c],$(G,Q,I,"arguments"))]),c,")"]):"",S.repeatable?" repeatable":""," on ",h(" | ",G.map(I,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[I("description"),S.description?D:"",S.kind==="EnumTypeExtension"?"extend ":"","enum ",I("name"),T(G,I,S),S.values.length>0?[" {",g([D,h(D,$(G,Q,I,"values"))]),D,"}"]:""];case"EnumValueDefinition":return[I("description"),S.description?D:"",I("name"),T(G,I,S)];case"InputValueDefinition":return[I("description"),S.description?S.description.block?D:x:"",I("name"),": ",I("type"),S.defaultValue?[" = ",I("defaultValue")]:"",T(G,I,S)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[I("description"),S.description?D:"",S.kind==="InputObjectTypeExtension"?"extend ":"","input ",I("name"),T(G,I,S),S.fields.length>0?[" {",g([D,h(D,$(G,Q,I,"fields"))]),D,"}"]:""];case"SchemaExtension":return["extend schema",T(G,I,S),...S.operationTypes.length>0?[" {",g([D,h(D,$(G,Q,I,"operationTypes"))]),D,"}"]:[]];case"SchemaDefinition":return[I("description"),S.description?D:"","schema",T(G,I,S)," {",S.operationTypes.length>0?g([D,h(D,$(G,Q,I,"operationTypes"))]):"",D,"}"];case"OperationTypeDefinition":return[I("operation"),": ",I("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[I("description"),S.description?D:"",S.kind==="InterfaceTypeExtension"?"extend ":"","interface ",I("name"),S.interfaces.length>0?[" implements ",...R(G,Q,I)]:"",T(G,I,S),S.fields.length>0?[" {",g([D,h(D,$(G,Q,I,"fields"))]),D,"}"]:""];case"FragmentSpread":return["...",I("name"),T(G,I,S)];case"InlineFragment":return["...",S.typeCondition?[" on ",I("typeCondition")]:"",T(G,I,S)," ",I("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return p([I("description"),S.description?D:"",p([S.kind==="UnionTypeExtension"?"extend ":"","union ",I("name"),T(G,I,S),S.types.length>0?[" =",y(""," "),g([y([x," "]),h([x,"| "],G.map(I,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[I("description"),S.description?D:"",S.kind==="ScalarTypeExtension"?"extend ":"","scalar ",I("name"),T(G,I,S)];case"NonNullType":return[I("type"),"!"];case"ListType":return["[",I("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(S.kind))}}function T(G,Q,I){if(I.directives.length===0)return"";let S=h(x,G.map(Q,"directives"));return I.kind==="FragmentDefinition"||I.kind==="OperationDefinition"?p([x,S]):[" ",p(g([c,S]))]}function $(G,Q,I,S){return G.map((B,O,v)=>{let L=I();return O<v.length-1&&A(Q.originalText,B.getValue(),b)?[L,D]:L},S)}function W(G){return G.kind&&G.kind!=="Comment"}function j(G){let Q=G.getValue();if(Q.kind==="Comment")return"#"+Q.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(Q))}function R(G,Q,I){let S=G.getNode(),B=[],{interfaces:O}=S,v=G.map(L=>I(L),"interfaces");for(let L=0;L<O.length;L++){let _=O[L];B.push(v[L]);let z=O[L+1];if(z){let J=Q.originalText.slice(_.loc.end,z.loc.start),U=J.includes("#"),K=J.replace(/#.*/g,"").trim();B.push(K===","?",":" &",U?x:" ")}}return B}function q(G,Q){G.kind==="StringValue"&&G.block&&!G.value.includes(`
87
- `)&&(Q.value=Q.value.trim())}q.ignoredProperties=new Set(["loc","comments"]);function X(G){var Q;let I=G.getValue();return I==null||(Q=I.comments)===null||Q===void 0?void 0:Q.some(S=>S.value.trim()==="prettier-ignore")}C.exports={print:F,massageAstNode:q,hasPrettierIgnore:X,insertPragma:k,printComment:j,canAttachComment:W}}}),dg=we({"src/language-graphql/options.js"(m,C){Pe();var h=Os();C.exports={bracketSpacing:h.bracketSpacing}}}),mg=we({"src/language-graphql/parsers.js"(){Pe()}}),gg=we({"node_modules/linguist-languages/data/GraphQL.json"(m,C){C.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),xg=we({"src/language-graphql/index.js"(m,C){Pe();var h=ms(),D=fg(),x=dg(),c=mg(),p=[h(gg(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],g={graphql:D};C.exports={languages:p,options:x,printers:g,parsers:c}}}),Hc=we({"src/language-markdown/loc.js"(m,C){Pe();function h(x){return x.position.start.offset}function D(x){return x.position.end.offset}C.exports={locStart:h,locEnd:D}}}),Dg=we({"src/language-markdown/constants.evaluate.js"(m,C){C.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Co=we({"src/language-markdown/utils.js"(m,C){Pe();var{getLast:h}=Dr(),{locStart:D,locEnd:x}=Hc(),{cjkPattern:c,kPattern:p,punctuationPattern:g}=Dg(),y=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],A=[...y,"tableCell","paragraph","heading"],P=new RegExp(p),k=new RegExp(g);function N(j,R){let q="non-cjk",X="cj-letter",G="k-letter",Q="cjk-punctuation",I=[],S=(R.proseWrap==="preserve"?j:j.replace(new RegExp("(".concat(c,`)
88
- (`).concat(c,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[O,v]of S.entries()){if(O%2===1){I.push({type:"whitespace",value:/\n/.test(v)?`
89
- `:" "});continue}if((O===0||O===S.length-1)&&v==="")continue;let L=v.split(new RegExp("(".concat(c,")")));for(let[_,z]of L.entries())if(!((_===0||_===L.length-1)&&z==="")){if(_%2===0){z!==""&&B({type:"word",value:z,kind:q,hasLeadingPunctuation:k.test(z[0]),hasTrailingPunctuation:k.test(h(z))});continue}B(k.test(z)?{type:"word",value:z,kind:Q,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:z,kind:P.test(z)?G:X,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return I;function B(O){let v=h(I);v&&v.type==="word"&&(v.kind===q&&O.kind===X&&!v.hasTrailingPunctuation||v.kind===X&&O.kind===q&&!O.hasLeadingPunctuation?I.push({type:"whitespace",value:" "}):!L(q,Q)&&![v.value,O.value].some(_=>/\u3000/.test(_))&&I.push({type:"whitespace",value:""})),I.push(O);function L(_,z){return v.kind===_&&O.kind===z||v.kind===z&&O.kind===_}}}function b(j,R){let[,q,X,G]=R.slice(j.position.start.offset,j.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:q,marker:X,leadingSpaces:G}}function F(j,R){if(!j.ordered||j.children.length<2)return!1;let q=Number(b(j.children[0],R.originalText).numberText),X=Number(b(j.children[1],R.originalText).numberText);if(q===0&&j.children.length>2){let G=Number(b(j.children[2],R.originalText).numberText);return X===1&&G===1}return X===1}function T(j,R){let{value:q}=j;return j.position.end.offset===R.length&&q.endsWith(`
90
- `)&&R.endsWith(`
91
- `)?q.slice(0,-1):q}function $(j,R){return function q(X,G,Q){let I=Object.assign({},R(X,G,Q));return I.children&&(I.children=I.children.map((S,B)=>q(S,B,[I,...Q]))),I}(j,null,[])}function W(j){if((j==null?void 0:j.type)!=="link"||j.children.length!==1)return!1;let[R]=j.children;return D(j)===D(R)&&x(j)===x(R)}C.exports={mapAst:$,splitText:N,punctuationPattern:g,getFencedCodeBlockValue:T,getOrderedListItemInfo:b,hasGitDiffFriendlyOrderedList:F,INLINE_NODE_TYPES:y,INLINE_NODE_WRAPPER_TYPES:A,isAutolink:W}}}),yg=we({"src/language-markdown/embed.js"(m,C){Pe();var{inferParserByLanguage:h,getMaxContinuousCount:D}=Dr(),{builders:{hardline:x,markAsRoot:c},utils:{replaceEndOfLine:p}}=dt(),g=vo(),{getFencedCodeBlockValue:y}=Co();function A(P,k,N,b){let F=P.getValue();if(F.type==="code"&&F.lang!==null){let T=h(F.lang,b);if(T){let $=b.__inJsTemplate?"~":"`",W=$.repeat(Math.max(3,D(F.value,$)+1)),j={parser:T};F.lang==="tsx"&&(j.filepath="dummy.tsx");let R=N(y(F,b.originalText),j,{stripTrailingHardline:!0});return c([W,F.lang,F.meta?" "+F.meta:"",x,p(R),x,W])}}switch(F.type){case"front-matter":return g(F,N);case"importExport":return[N(F.value,{parser:"babel"},{stripTrailingHardline:!0}),x];case"jsx":return N("<$>".concat(F.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}C.exports=A}}),Wc=we({"src/language-markdown/pragma.js"(m,C){Pe();var h=$c(),D=["format","prettier"];function x(c){let p="@(".concat(D.join("|"),")"),g=new RegExp(["<!--\\s*".concat(p,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(p,"\\s*\\*\\/\\s*}"),`<!--.*\r?
92
- [\\s\\S]*(^|
93
- )[^\\S
94
- ]*`.concat(p,`[^\\S
95
- ]*($|
96
- )[\\s\\S]*
97
- .*-->`)].join("|"),"m"),y=c.match(g);return(y==null?void 0:y.index)===0}C.exports={startWithPragma:x,hasPragma:c=>x(h(c).content.trimStart()),insertPragma:c=>{let p=h(c),g="<!-- @".concat(D[0]," -->");return p.frontMatter?"".concat(p.frontMatter.raw,`
98
-
99
- `).concat(g,`
100
-
101
- `).concat(p.content):"".concat(g,`
102
-
103
- `).concat(p.content)}}}}),vg=we({"src/language-markdown/print-preprocess.js"(m,C){Pe();var h=ur(),{getOrderedListItemInfo:D,mapAst:x,splitText:c}=Co(),p=/^.$/su;function g(W,j){return W=P(W,j),W=b(W),W=A(W),W=T(W,j),W=$(W,j),W=F(W,j),W=y(W),W=k(W),W}function y(W){return x(W,j=>j.type!=="import"&&j.type!=="export"?j:Object.assign(Object.assign({},j),{},{type:"importExport"}))}function A(W){return x(W,j=>j.type!=="inlineCode"?j:Object.assign(Object.assign({},j),{},{value:j.value.replace(/\s+/g," ")}))}function P(W,j){return x(W,R=>R.type!=="text"||R.value==="*"||R.value==="_"||!p.test(R.value)||R.position.end.offset-R.position.start.offset===R.value.length?R:Object.assign(Object.assign({},R),{},{value:j.originalText.slice(R.position.start.offset,R.position.end.offset)}))}function k(W){return N(W,(j,R)=>j.type==="importExport"&&R.type==="importExport",(j,R)=>({type:"importExport",value:j.value+`
104
-
105
- `+R.value,position:{start:j.position.start,end:R.position.end}}))}function N(W,j,R){return x(W,q=>{if(!q.children)return q;let X=q.children.reduce((G,Q)=>{let I=h(G);return I&&j(I,Q)?G.splice(-1,1,R(I,Q)):G.push(Q),G},[]);return Object.assign(Object.assign({},q),{},{children:X})})}function b(W){return N(W,(j,R)=>j.type==="text"&&R.type==="text",(j,R)=>({type:"text",value:j.value+R.value,position:{start:j.position.start,end:R.position.end}}))}function F(W,j){return x(W,(R,q,X)=>{let[G]=X;if(R.type!=="text")return R;let{value:Q}=R;return G.type==="paragraph"&&(q===0&&(Q=Q.trimStart()),q===G.children.length-1&&(Q=Q.trimEnd())),{type:"sentence",position:R.position,children:c(Q,j)}})}function T(W,j){return x(W,(R,q,X)=>{if(R.type==="code"){let G=/^\n?(?: {4,}|\t)/.test(j.originalText.slice(R.position.start.offset,R.position.end.offset));if(R.isIndented=G,G)for(let Q=0;Q<X.length;Q++){let I=X[Q];if(I.hasIndentedCodeblock)break;I.type==="list"&&(I.hasIndentedCodeblock=!0)}}return R})}function $(W,j){return x(W,(X,G,Q)=>{if(X.type==="list"&&X.children.length>0){for(let I=0;I<Q.length;I++){let S=Q[I];if(S.type==="list"&&!S.isAligned)return X.isAligned=!1,X}X.isAligned=q(X)}return X});function R(X){return X.children.length===0?-1:X.children[0].position.start.column-1}function q(X){if(!X.ordered)return!0;let[G,Q]=X.children;if(D(G,j.originalText).leadingSpaces.length>1)return!0;let I=R(G);if(I===-1)return!1;if(X.children.length===1)return I%j.tabWidth===0;let S=R(Q);return I!==S?!1:I%j.tabWidth===0?!0:D(Q,j.originalText).leadingSpaces.length>1}}C.exports=g}}),Cg=we({"src/language-markdown/clean.js"(m,C){Pe();var{isFrontMatterNode:h}=Dr(),{startWithPragma:D}=Wc(),x=new Set(["position","raw"]);function c(p,g,y){if((p.type==="front-matter"||p.type==="code"||p.type==="yaml"||p.type==="import"||p.type==="export"||p.type==="jsx")&&delete g.value,p.type==="list"&&delete g.isAligned,(p.type==="list"||p.type==="listItem")&&(delete g.spread,delete g.loose),p.type==="text"||(p.type==="inlineCode"&&(g.value=p.value.replace(/[\t\n ]+/g," ")),p.type==="wikiLink"&&(g.value=p.value.trim().replace(/[\t\n]+/g," ")),(p.type==="definition"||p.type==="linkReference")&&(g.label=p.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(p.type==="definition"||p.type==="link"||p.type==="image")&&p.title&&(g.title=p.title.replace(/\\(["')])/g,"$1")),y&&y.type==="root"&&y.children.length>0&&(y.children[0]===p||h(y.children[0])&&y.children[1]===p)&&p.type==="html"&&D(p.value)))return null}c.ignoredProperties=x,C.exports=c}}),Eg=we({"src/language-markdown/printer-markdown.js"(m,C){Pe();var{getLast:h,getMinNotPresentContinuousCount:D,getMaxContinuousCount:x,getStringWidth:c,isNonEmptyArray:p}=Dr(),{builders:{breakParent:g,join:y,line:A,literalline:P,markAsRoot:k,hardline:N,softline:b,ifBreak:F,fill:T,align:$,indent:W,group:j,hardlineWithoutBreakParent:R},utils:{normalizeDoc:q,replaceTextEndOfLine:X},printer:{printDocToString:G}}=dt(),Q=yg(),{insertPragma:I}=Wc(),{locStart:S,locEnd:B}=Hc(),O=vg(),v=Cg(),{getFencedCodeBlockValue:L,hasGitDiffFriendlyOrderedList:_,splitText:z,punctuationPattern:J,INLINE_NODE_TYPES:U,INLINE_NODE_WRAPPER_TYPES:K,isAutolink:se}=Co(),te=new Set(["importExport"]),fe=["heading","tableCell","link","wikiLink"],ce=new Set(["listItem","definition","footnoteDefinition"]);function ie(Xe,Ke,it){let Je=Xe.getValue();if(We(Xe))return z(Ke.originalText.slice(Je.position.start.offset,Je.position.end.offset),Ke).map(mt=>mt.type==="word"?mt.value:mt.value===""?"":Qe(Xe,mt.value,Ke));switch(Je.type){case"front-matter":return Ke.originalText.slice(Je.position.start.offset,Je.position.end.offset);case"root":return Je.children.length===0?"":[q(De(Xe,Ke,it)),te.has(Ze(Je).type)?"":N];case"paragraph":return $e(Xe,Ke,it,{postprocessor:T});case"sentence":return $e(Xe,Ke,it);case"word":{let mt=Je.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(J,")(_+)"),"(_+)(".concat(J,"|$)")].join("|"),"g"),(ct,xt,Ht,Dt,nt)=>(Ht?"".concat(xt).concat(Ht):"".concat(Dt).concat(nt)).replace(/_/g,"\\_")),Fe=(ct,xt,Ht)=>ct.type==="sentence"&&Ht===0,ft=(ct,xt,Ht)=>se(ct.children[Ht-1]);return mt!==Je.value&&(Xe.match(void 0,Fe,ft)||Xe.match(void 0,Fe,(ct,xt,Ht)=>ct.type==="emphasis"&&Ht===0,ft))&&(mt=mt.replace(/^(\\?[*_])+/,ct=>ct.replace(/\\/g,""))),mt}case"whitespace":{let mt=Xe.getParentNode(),Fe=mt.children.indexOf(Je),ft=mt.children[Fe+1],ct=ft&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(ft.value)?"never":Ke.proseWrap;return Qe(Xe,Je.value,{proseWrap:ct})}case"emphasis":{let mt;if(se(Je.children[0]))mt=Ke.originalText[Je.position.start.offset];else{let Fe=Xe.getParentNode(),ft=Fe.children.indexOf(Je),ct=Fe.children[ft-1],xt=Fe.children[ft+1];mt=ct&&ct.type==="sentence"&&ct.children.length>0&&h(ct.children).type==="word"&&!h(ct.children).hasTrailingPunctuation||xt&&xt.type==="sentence"&&xt.children.length>0&&xt.children[0].type==="word"&&!xt.children[0].hasLeadingPunctuation||Le(Xe,"emphasis")?"*":"_"}return[mt,$e(Xe,Ke,it),mt]}case"strong":return["**",$e(Xe,Ke,it),"**"];case"delete":return["~~",$e(Xe,Ke,it),"~~"];case"inlineCode":{let mt=D(Je.value,"`"),Fe="`".repeat(mt||1),ft=mt&&!/^\s/.test(Je.value)?" ":"";return[Fe,ft,Je.value,ft,Fe]}case"wikiLink":{let mt="";return Ke.proseWrap==="preserve"?mt=Je.value:mt=Je.value.replace(/[\t\n]+/g," "),["[[",mt,"]]"]}case"link":switch(Ke.originalText[Je.position.start.offset]){case"<":{let mt="mailto:";return["<",Je.url.startsWith(mt)&&Ke.originalText.slice(Je.position.start.offset+1,Je.position.start.offset+1+mt.length)!==mt?Je.url.slice(mt.length):Je.url,">"]}case"[":return["[",$e(Xe,Ke,it),"](",st(Je.url,")"),yt(Je.title,Ke),")"];default:return Ke.originalText.slice(Je.position.start.offset,Je.position.end.offset)}case"image":return["![",Je.alt||"","](",st(Je.url,")"),yt(Je.title,Ke),")"];case"blockquote":return["> ",$("> ",$e(Xe,Ke,it))];case"heading":return["#".repeat(Je.depth)+" ",$e(Xe,Ke,it)];case"code":{if(Je.isIndented){let ft=" ".repeat(4);return $(ft,[ft,...X(Je.value,N)])}let mt=Ke.__inJsTemplate?"~":"`",Fe=mt.repeat(Math.max(3,x(Je.value,mt)+1));return[Fe,Je.lang||"",Je.meta?" "+Je.meta:"",N,...X(L(Je,Ke.originalText),N),N,Fe]}case"html":{let mt=Xe.getParentNode(),Fe=mt.type==="root"&&h(mt.children)===Je?Je.value.trimEnd():Je.value,ft=/^<!--.*-->$/s.test(Fe);return X(Fe,ft?N:k(P))}case"list":{let mt=pe(Je,Xe.getParentNode()),Fe=_(Je,Ke);return $e(Xe,Ke,it,{processor:(ft,ct)=>{let xt=Dt(),Ht=ft.getValue();if(Ht.children.length===2&&Ht.children[1].type==="html"&&Ht.children[0].position.start.column!==Ht.children[1].position.start.column)return[xt,ke(ft,Ke,it,xt)];return[xt,$(" ".repeat(xt.length),ke(ft,Ke,it,xt))];function Dt(){let nt=Je.ordered?(ct===0?Je.start:Fe?1:Je.start+ct)+(mt%2===0?". ":") "):mt%2===0?"- ":"* ";return Je.isAligned||Je.hasIndentedCodeblock?de(nt,Ke):nt}}})}case"thematicBreak":{let mt=je(Xe,"list");return mt===-1?"---":pe(Xe.getParentNode(mt),Xe.getParentNode(mt+1))%2===0?"***":"---"}case"linkReference":return["[",$e(Xe,Ke,it),"]",Je.referenceType==="full"?["[",Je.identifier,"]"]:Je.referenceType==="collapsed"?"[]":""];case"imageReference":switch(Je.referenceType){case"full":return["![",Je.alt||"","][",Je.identifier,"]"];default:return["![",Je.alt,"]",Je.referenceType==="collapsed"?"[]":""]}case"definition":{let mt=Ke.proseWrap==="always"?A:" ";return j(["[",Je.identifier,"]:",W([mt,st(Je.url),Je.title===null?"":[mt,yt(Je.title,Ke,!1)]])])}case"footnote":return["[^",$e(Xe,Ke,it),"]"];case"footnoteReference":return["[^",Je.identifier,"]"];case"footnoteDefinition":{let mt=Xe.getParentNode().children[Xe.getName()+1],Fe=Je.children.length===1&&Je.children[0].type==="paragraph"&&(Ke.proseWrap==="never"||Ke.proseWrap==="preserve"&&Je.children[0].position.start.line===Je.children[0].position.end.line);return["[^",Je.identifier,"]: ",Fe?$e(Xe,Ke,it):j([$(" ".repeat(4),$e(Xe,Ke,it,{processor:(ft,ct)=>ct===0?j([b,it()]):it()})),mt&&mt.type==="footnoteDefinition"?b:""])]}case"table":return he(Xe,Ke,it);case"tableCell":return $e(Xe,Ke,it);case"break":return/\s/.test(Ke.originalText[Je.position.start.offset])?[" ",k(P)]:["\\",N];case"liquidNode":return X(Je.value,N);case"importExport":return[Je.value,N];case"esComment":return["{/* ",Je.value," */}"];case"jsx":return Je.value;case"math":return["$$",N,Je.value?[...X(Je.value,N),N]:"","$$"];case"inlineMath":return Ke.originalText.slice(S(Je),B(Je));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(Je.type)))}}function ke(Xe,Ke,it,Je){let mt=Xe.getValue(),Fe=mt.checked===null?"":mt.checked?"[x] ":"[ ] ";return[Fe,$e(Xe,Ke,it,{processor:(ft,ct)=>{if(ct===0&&ft.getValue().type!=="list")return $(" ".repeat(Fe.length),it());let xt=" ".repeat(jt(Ke.tabWidth-Je.length,0,3));return[xt,$(xt,it())]}})]}function de(Xe,Ke){let it=Je();return Xe+" ".repeat(it>=4?0:it);function Je(){let mt=Xe.length%Ke.tabWidth;return mt===0?0:Ke.tabWidth-mt}}function pe(Xe,Ke){return Te(Xe,Ke,it=>it.ordered===Xe.ordered)}function Te(Xe,Ke,it){let Je=-1;for(let mt of Ke.children)if(mt.type===Xe.type&&it(mt)?Je++:Je=-1,mt===Xe)return Je}function je(Xe,Ke){let it=Array.isArray(Ke)?Ke:[Ke],Je=-1,mt;for(;mt=Xe.getParentNode(++Je);)if(it.includes(mt.type))return Je;return-1}function Le(Xe,Ke){let it=je(Xe,Ke);return it===-1?null:Xe.getParentNode(it)}function Qe(Xe,Ke,it){if(it.proseWrap==="preserve"&&Ke===`
106
- `)return N;let Je=it.proseWrap==="always"&&!Le(Xe,fe);return Ke!==""?Je?A:" ":Je?b:""}function he(Xe,Ke,it){let Je=Xe.getValue(),mt=[],Fe=Xe.map(nt=>nt.map((H,Ae)=>{let Ue=G(it(),Ke).formatted,vt=c(Ue);return mt[Ae]=Math.max(mt[Ae]||3,vt),{text:Ue,width:vt}},"children"),"children"),ft=xt(!1);if(Ke.proseWrap!=="never")return[g,ft];let ct=xt(!0);return[g,j(F(ct,ft))];function xt(nt){let H=[Dt(Fe[0],nt),Ht(nt)];return Fe.length>1&&H.push(y(R,Fe.slice(1).map(Ae=>Dt(Ae,nt)))),y(R,H)}function Ht(nt){let H=mt.map((Ae,Ue)=>{let vt=Je.align[Ue],ar=vt==="center"||vt==="left"?":":"-",Nt=vt==="center"||vt==="right"?":":"-",Mt=nt?"-":"-".repeat(Ae-2);return"".concat(ar).concat(Mt).concat(Nt)});return"| ".concat(H.join(" | ")," |")}function Dt(nt,H){let Ae=nt.map((Ue,vt)=>{let{text:ar,width:Nt}=Ue;if(H)return ar;let Mt=mt[vt]-Nt,Ct=Je.align[vt],rn=0;Ct==="right"?rn=Mt:Ct==="center"&&(rn=Math.floor(Mt/2));let wt=Mt-rn;return"".concat(" ".repeat(rn)).concat(ar).concat(" ".repeat(wt))});return"| ".concat(Ae.join(" | ")," |")}}function De(Xe,Ke,it){let Je=[],mt=null,{children:Fe}=Xe.getValue();for(let[ft,ct]of Fe.entries())switch(ze(ct)){case"start":mt===null&&(mt={index:ft,offset:ct.position.end.offset});break;case"end":mt!==null&&(Je.push({start:mt,end:{index:ft,offset:ct.position.start.offset}}),mt=null);break}return $e(Xe,Ke,it,{processor:(ft,ct)=>{if(Je.length>0){let xt=Je[0];if(ct===xt.start.index)return[Fe[xt.start.index].value,Ke.originalText.slice(xt.start.offset,xt.end.offset),Fe[xt.end.index].value];if(xt.start.index<ct&&ct<xt.end.index)return!1;if(ct===xt.end.index)return Je.shift(),!1}return it()}})}function $e(Xe,Ke,it){let Je=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:mt}=Je,Fe=Je.processor||(()=>it()),ft=Xe.getValue(),ct=[],xt;return Xe.each((Ht,Dt)=>{let nt=Ht.getValue(),H=Fe(Ht,Dt);if(H!==!1){let Ae={parts:ct,prevNode:xt,parentNode:ft,options:Ke};ge(nt,Ae)&&(ct.push(N),xt&&te.has(xt.type)||(ve(nt,Ae)||Ee(nt,Ae))&&ct.push(N),Ee(nt,Ae)&&ct.push(N)),ct.push(H),xt=nt}},"children"),mt?mt(ct):ct}function Ze(Xe){let Ke=Xe;for(;p(Ke.children);)Ke=h(Ke.children);return Ke}function ze(Xe){let Ke;if(Xe.type==="html")Ke=Xe.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let it;Xe.type==="esComment"?it=Xe:Xe.type==="paragraph"&&Xe.children.length===1&&Xe.children[0].type==="esComment"&&(it=Xe.children[0]),it&&(Ke=it.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Ke?Ke[1]||"next":!1}function ge(Xe,Ke){let it=Ke.parts.length===0,Je=U.includes(Xe.type),mt=Xe.type==="html"&&K.includes(Ke.parentNode.type);return!it&&!Je&&!mt}function ve(Xe,Ke){var it,Je,mt;let Fe=(Ke.prevNode&&Ke.prevNode.type)===Xe.type&&ce.has(Xe.type),ft=Ke.parentNode.type==="listItem"&&!Ke.parentNode.loose,ct=((it=Ke.prevNode)===null||it===void 0?void 0:it.type)==="listItem"&&Ke.prevNode.loose,xt=ze(Ke.prevNode)==="next",Ht=Xe.type==="html"&&((Je=Ke.prevNode)===null||Je===void 0?void 0:Je.type)==="html"&&Ke.prevNode.position.end.line+1===Xe.position.start.line,Dt=Xe.type==="html"&&Ke.parentNode.type==="listItem"&&((mt=Ke.prevNode)===null||mt===void 0?void 0:mt.type)==="paragraph"&&Ke.prevNode.position.end.line+1===Xe.position.start.line;return ct||!(Fe||ft||xt||Ht||Dt)}function Ee(Xe,Ke){let it=Ke.prevNode&&Ke.prevNode.type==="list",Je=Xe.type==="code"&&Xe.isIndented;return it&&Je}function We(Xe){let Ke=Le(Xe,["linkReference","imageReference"]);return Ke&&(Ke.type!=="linkReference"||Ke.referenceType!=="full")}function st(Xe){let Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],it=[" ",...Array.isArray(Ke)?Ke:[Ke]];return new RegExp(it.map(Je=>"\\".concat(Je)).join("|")).test(Xe)?"<".concat(Xe,">"):Xe}function yt(Xe,Ke){let it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Xe)return"";if(it)return" "+yt(Xe,Ke,!1);if(Xe=Xe.replace(/\\(["')])/g,"$1"),Xe.includes('"')&&Xe.includes("'")&&!Xe.includes(")"))return"(".concat(Xe,")");let Je=Xe.split("'").length-1,mt=Xe.split('"').length-1,Fe=Je>mt?'"':mt>Je||Ke.singleQuote?"'":'"';return Xe=Xe.replace(/\\/,"\\\\"),Xe=Xe.replace(new RegExp("(".concat(Fe,")"),"g"),"\\$1"),"".concat(Fe).concat(Xe).concat(Fe)}function jt(Xe,Ke,it){return Xe<Ke?Ke:Xe>it?it:Xe}function zt(Xe){let Ke=Number(Xe.getName());if(Ke===0)return!1;let it=Xe.getParentNode().children[Ke-1];return ze(it)==="next"}C.exports={preprocess:O,print:ie,embed:Q,massageAstNode:v,hasPrettierIgnore:zt,insertPragma:I}}}),Ag=we({"src/language-markdown/options.js"(m,C){Pe();var h=Os();C.exports={proseWrap:h.proseWrap,singleQuote:h.singleQuote}}}),bg=we({"src/language-markdown/parsers.js"(){Pe()}}),Gc=we({"node_modules/linguist-languages/data/Markdown.json"(m,C){C.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Fg=we({"src/language-markdown/index.js"(m,C){Pe();var h=ms(),D=Eg(),x=Ag(),c=bg(),p=[h(Gc(),y=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...y.filenames,"README"],extensions:y.extensions.filter(A=>A!==".mdx")})),h(Gc(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],g={mdast:D};C.exports={languages:p,options:x,printers:g,parsers:c}}}),Sg=we({"src/language-html/clean.js"(m,C){Pe();var{isFrontMatterNode:h}=Dr(),D=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function x(c,p){if(c.type==="text"||c.type==="comment"||h(c)||c.type==="yaml"||c.type==="toml")return null;c.type==="attribute"&&delete p.value,c.type==="docType"&&delete p.value}x.ignoredProperties=D,C.exports=x}}),wg=we({"src/language-html/constants.evaluate.js"(m,C){C.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"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",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",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",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),kg=we({"src/language-html/utils/is-unknown-namespace.js"(m,C){Pe();function h(D){return D.type==="element"&&!D.hasExplicitNamespace&&!["html","svg"].includes(D.namespace)}C.exports=h}}),js=we({"src/language-html/utils/index.js"(m,C){Pe();var{inferParserByLanguage:h,isFrontMatterNode:D}=Dr(),{builders:{line:x,hardline:c,join:p},utils:{getDocParts:g,replaceTextEndOfLine:y}}=dt(),{CSS_DISPLAY_TAGS:A,CSS_DISPLAY_DEFAULT:P,CSS_WHITE_SPACE_TAGS:k,CSS_WHITE_SPACE_DEFAULT:N}=wg(),b=kg(),F=new Set([" ",`
107
- `,"\f","\r"," "]),T=H=>H.replace(/^[\t\n\f\r ]+/,""),$=H=>H.replace(/[\t\n\f\r ]+$/,""),W=H=>T($(H)),j=H=>H.replace(/^[\t\f\r ]*\n/g,""),R=H=>j($(H)),q=H=>H.split(/[\t\n\f\r ]+/),X=H=>H.match(/^[\t\n\f\r ]*/)[0],G=H=>{let[,Ae,Ue,vt]=H.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:Ae,trailingWhitespace:vt,text:Ue}},Q=H=>/[\t\n\f\r ]/.test(H);function I(H,Ae){return!!(H.type==="ieConditionalComment"&&H.lastChild&&!H.lastChild.isSelfClosing&&!H.lastChild.endSourceSpan||H.type==="ieConditionalComment"&&!H.complete||We(H)&&H.children.some(Ue=>Ue.type!=="text"&&Ue.type!=="interpolation")||ct(H,Ae)&&!v(H)&&H.type!=="interpolation")}function S(H){return H.type==="attribute"||!H.parent||!H.prev?!1:B(H.prev)}function B(H){return H.type==="comment"&&H.value.trim()==="prettier-ignore"}function O(H){return H.type==="text"||H.type==="comment"}function v(H){return H.type==="element"&&(H.fullName==="script"||H.fullName==="style"||H.fullName==="svg:style"||b(H)&&(H.name==="script"||H.name==="style"))}function L(H){return H.children&&!v(H)}function _(H){return v(H)||H.type==="interpolation"||z(H)}function z(H){return zt(H).startsWith("pre")}function J(H,Ae){let Ue=vt();if(Ue&&!H.prev&&H.parent&&H.parent.tagDefinition&&H.parent.tagDefinition.ignoreFirstLf)return H.type==="interpolation";return Ue;function vt(){return D(H)?!1:(H.type==="text"||H.type==="interpolation")&&H.prev&&(H.prev.type==="text"||H.prev.type==="interpolation")?!0:!H.parent||H.parent.cssDisplay==="none"?!1:We(H.parent)?!0:!(!H.prev&&(H.parent.type==="root"||We(H)&&H.parent||v(H.parent)||Fe(H.parent,Ae)||!Ze(H.parent.cssDisplay))||H.prev&&!ve(H.prev.cssDisplay))}}function U(H,Ae){return D(H)?!1:(H.type==="text"||H.type==="interpolation")&&H.next&&(H.next.type==="text"||H.next.type==="interpolation")?!0:!H.parent||H.parent.cssDisplay==="none"?!1:We(H.parent)?!0:!(!H.next&&(H.parent.type==="root"||We(H)&&H.parent||v(H.parent)||Fe(H.parent,Ae)||!ze(H.parent.cssDisplay))||H.next&&!ge(H.next.cssDisplay))}function K(H){return Ee(H.cssDisplay)&&!v(H)}function se(H){return D(H)||H.next&&H.sourceSpan.end&&H.sourceSpan.end.line+1<H.next.sourceSpan.start.line}function te(H){return fe(H)||H.type==="element"&&H.children.length>0&&(["body","script","style"].includes(H.name)||H.children.some(Ae=>Le(Ae)))||H.firstChild&&H.firstChild===H.lastChild&&H.firstChild.type!=="text"&&de(H.firstChild)&&(!H.lastChild.isTrailingSpaceSensitive||pe(H.lastChild))}function fe(H){return H.type==="element"&&H.children.length>0&&(["html","head","ul","ol","select"].includes(H.name)||H.cssDisplay.startsWith("table")&&H.cssDisplay!=="table-cell")}function ce(H){return Te(H)||H.prev&&ie(H.prev)||ke(H)}function ie(H){return Te(H)||H.type==="element"&&H.fullName==="br"||ke(H)}function ke(H){return de(H)&&pe(H)}function de(H){return H.hasLeadingSpaces&&(H.prev?H.prev.sourceSpan.end.line<H.sourceSpan.start.line:H.parent.type==="root"||H.parent.startSourceSpan.end.line<H.sourceSpan.start.line)}function pe(H){return H.hasTrailingSpaces&&(H.next?H.next.sourceSpan.start.line>H.sourceSpan.end.line:H.parent.type==="root"||H.parent.endSourceSpan&&H.parent.endSourceSpan.start.line>H.sourceSpan.end.line)}function Te(H){switch(H.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(H.name)}return!1}function je(H){return H.lastChild?je(H.lastChild):H}function Le(H){return H.children&&H.children.some(Ae=>Ae.type!=="text")}function Qe(H){let{type:Ae,lang:Ue}=H.attrMap;if(Ae==="module"||Ae==="text/javascript"||Ae==="text/babel"||Ae==="application/javascript"||Ue==="jsx")return"babel";if(Ae==="application/x-typescript"||Ue==="ts"||Ue==="tsx")return"typescript";if(Ae==="text/markdown")return"markdown";if(Ae==="text/html")return"html";if(Ae&&(Ae.endsWith("json")||Ae.endsWith("importmap"))||Ae==="speculationrules")return"json";if(Ae==="text/x-handlebars-template")return"glimmer"}function he(H,Ae){let{lang:Ue}=H.attrMap;if(!Ue||Ue==="postcss"||Ue==="css")return"css";if(Ue==="scss")return"scss";if(Ue==="less")return"less";if(Ue==="stylus")return h("stylus",Ae)}function De(H,Ae){if(H.name==="script"&&!H.attrMap.src)return!H.attrMap.lang&&!H.attrMap.type?"babel":Qe(H);if(H.name==="style")return he(H,Ae);if(Ae&&ct(H,Ae))return Qe(H)||!("src"in H.attrMap)&&h(H.attrMap.lang,Ae)}function $e(H){return H==="block"||H==="list-item"||H.startsWith("table")}function Ze(H){return!$e(H)&&H!=="inline-block"}function ze(H){return!$e(H)&&H!=="inline-block"}function ge(H){return!$e(H)}function ve(H){return!$e(H)}function Ee(H){return!$e(H)&&H!=="inline-block"}function We(H){return zt(H).startsWith("pre")}function st(H,Ae){let Ue=0;for(let vt=H.stack.length-1;vt>=0;vt--){let ar=H.stack[vt];ar&&typeof ar=="object"&&!Array.isArray(ar)&&Ae(ar)&&Ue++}return Ue}function yt(H,Ae){let Ue=H;for(;Ue;){if(Ae(Ue))return!0;Ue=Ue.parent}return!1}function jt(H,Ae){if(H.prev&&H.prev.type==="comment"){let vt=H.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(vt)return vt[1]}let Ue=!1;if(H.type==="element"&&H.namespace==="svg")if(yt(H,vt=>vt.fullName==="svg:foreignObject"))Ue=!0;else return H.name==="svg"?"inline-block":"block";switch(Ae.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return Ae.parser==="vue"&&H.parent&&H.parent.type==="root"?"block":H.type==="element"&&(!H.namespace||Ue||b(H))&&A[H.name]||P}}function zt(H){return H.type==="element"&&(!H.namespace||b(H))&&k[H.name]||N}function Xe(H){let Ae=Number.POSITIVE_INFINITY;for(let Ue of H.split(`
108
- `)){if(Ue.length===0)continue;if(!F.has(Ue[0]))return 0;let vt=X(Ue).length;Ue.length!==vt&&vt<Ae&&(Ae=vt)}return Ae===Number.POSITIVE_INFINITY?0:Ae}function Ke(H){let Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xe(H);return Ae===0?H:H.split(`
109
- `).map(Ue=>Ue.slice(Ae)).join(`
110
- `)}function it(H,Ae){let Ue=0;for(let vt=0;vt<H.length;vt++)H[vt]===Ae&&Ue++;return Ue}function Je(H){return H.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var mt=new Set(["template","style","script"]);function Fe(H,Ae){return ft(H,Ae)&&!mt.has(H.fullName)}function ft(H,Ae){return Ae.parser==="vue"&&H.type==="element"&&H.parent.type==="root"&&H.fullName.toLowerCase()!=="html"}function ct(H,Ae){return ft(H,Ae)&&(Fe(H,Ae)||H.attrMap.lang&&H.attrMap.lang!=="html")}function xt(H){let Ae=H.fullName;return Ae.charAt(0)==="#"||Ae==="slot-scope"||Ae==="v-slot"||Ae.startsWith("v-slot:")}function Ht(H,Ae){let Ue=H.parent;if(!ft(Ue,Ae))return!1;let vt=Ue.fullName,ar=H.fullName;return vt==="script"&&ar==="setup"||vt==="style"&&ar==="vars"}function Dt(H){let Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:H.value;return H.parent.isWhitespaceSensitive?H.parent.isIndentationSensitive?y(Ae):y(Ke(R(Ae)),c):g(p(x,q(Ae)))}function nt(H,Ae){return ft(H,Ae)&&H.name==="script"}C.exports={htmlTrim:W,htmlTrimPreserveIndentation:R,hasHtmlWhitespace:Q,getLeadingAndTrailingHtmlWhitespace:G,canHaveInterpolation:L,countChars:it,countParents:st,dedentString:Ke,forceBreakChildren:fe,forceBreakContent:te,forceNextEmptyLine:se,getLastDescendant:je,getNodeCssStyleDisplay:jt,getNodeCssStyleWhiteSpace:zt,hasPrettierIgnore:S,inferScriptParser:De,isVueCustomBlock:Fe,isVueNonHtmlBlock:ct,isVueScriptTag:nt,isVueSlotAttribute:xt,isVueSfcBindingsAttribute:Ht,isVueSfcBlock:ft,isDanglingSpaceSensitiveNode:K,isIndentationSensitiveNode:z,isLeadingSpaceSensitiveNode:J,isPreLikeNode:We,isScriptLikeTag:v,isTextLikeNode:O,isTrailingSpaceSensitiveNode:U,isWhitespaceSensitiveNode:_,isUnknownNamespace:b,preferHardlineAsLeadingSpaces:ce,preferHardlineAsTrailingSpaces:ie,shouldPreserveContent:I,unescapeQuoteEntities:Je,getTextValueParts:Dt}}}),Bg=we({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function C(g){return g>=m.$TAB&&g<=m.$SPACE||g==m.$NBSP}m.isWhitespace=C;function h(g){return m.$0<=g&&g<=m.$9}m.isDigit=h;function D(g){return g>=m.$a&&g<=m.$z||g>=m.$A&&g<=m.$Z}m.isAsciiLetter=D;function x(g){return g>=m.$a&&g<=m.$f||g>=m.$A&&g<=m.$F||h(g)}m.isAsciiHexDigit=x;function c(g){return g===m.$LF||g===m.$CR}m.isNewLine=c;function p(g){return m.$0<=g&&g<=m.$7}m.isOctalDigit=p}}),Tg=we({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=class{constructor(D,x,c){this.filePath=D,this.name=x,this.members=c}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};m.StaticSymbol=C;var h=class{constructor(){this.cache=new Map}get(D,x,c){c=c||[];let p=c.length?".".concat(c.join(".")):"",g='"'.concat(D,'".').concat(x).concat(p),y=this.cache.get(g);return y||(y=new C(D,x,c),this.cache.set(g,y)),y}};m.StaticSymbolCache=h}}),_g=we({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=/-+([a-z0-9])/g;function h(v){return v.replace(C,function(){for(var L=arguments.length,_=new Array(L),z=0;z<L;z++)_[z]=arguments[z];return _[1].toUpperCase()})}m.dashCaseToCamelCase=h;function D(v,L){return c(v,":",L)}m.splitAtColon=D;function x(v,L){return c(v,".",L)}m.splitAtPeriod=x;function c(v,L,_){let z=v.indexOf(L);return z==-1?_:[v.slice(0,z).trim(),v.slice(z+1).trim()]}function p(v,L,_){return Array.isArray(v)?L.visitArray(v,_):j(v)?L.visitStringMap(v,_):v==null||typeof v=="string"||typeof v=="number"||typeof v=="boolean"?L.visitPrimitive(v,_):L.visitOther(v,_)}m.visitValue=p;function g(v){return v!=null}m.isDefined=g;function y(v){return v===void 0?null:v}m.noUndefined=y;var A=class{visitArray(v,L){return v.map(_=>p(_,this,L))}visitStringMap(v,L){let _={};return Object.keys(v).forEach(z=>{_[z]=p(v[z],this,L)}),_}visitPrimitive(v,L){return v}visitOther(v,L){return v}};m.ValueTransformer=A,m.SyncAsync={assertSync:v=>{if(G(v))throw new Error("Illegal state: value cannot be a promise");return v},then:(v,L)=>G(v)?v.then(L):L(v),all:v=>v.some(G)?Promise.all(v):v};function P(v){throw new Error("Internal Error: ".concat(v))}m.error=P;function k(v,L){let _=Error(v);return _[N]=!0,L&&(_[b]=L),_}m.syntaxError=k;var N="ngSyntaxError",b="ngParseErrors";function F(v){return v[N]}m.isSyntaxError=F;function T(v){return v[b]||[]}m.getParseErrors=T;function $(v){return v.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=$;var W=Object.getPrototypeOf({});function j(v){return typeof v=="object"&&v!==null&&Object.getPrototypeOf(v)===W}function R(v){let L="";for(let _=0;_<v.length;_++){let z=v.charCodeAt(_);if(z>=55296&&z<=56319&&v.length>_+1){let J=v.charCodeAt(_+1);J>=56320&&J<=57343&&(_++,z=(z-55296<<10)+J-56320+65536)}z<=127?L+=String.fromCharCode(z):z<=2047?L+=String.fromCharCode(z>>6&31|192,z&63|128):z<=65535?L+=String.fromCharCode(z>>12|224,z>>6&63|128,z&63|128):z<=2097151&&(L+=String.fromCharCode(z>>18&7|240,z>>12&63|128,z>>6&63|128,z&63|128))}return L}m.utf8Encode=R;function q(v){if(typeof v=="string")return v;if(v instanceof Array)return"["+v.map(q).join(", ")+"]";if(v==null)return""+v;if(v.overriddenName)return"".concat(v.overriddenName);if(v.name)return"".concat(v.name);if(!v.toString)return"object";let L=v.toString();if(L==null)return""+L;let _=L.indexOf(`
111
- `);return _===-1?L:L.substring(0,_)}m.stringify=q;function X(v){return typeof v=="function"&&v.hasOwnProperty("__forward_ref__")?v():v}m.resolveForwardRef=X;function G(v){return!!v&&typeof v.then=="function"}m.isPromise=G;var Q=class{constructor(v){this.full=v;let L=v.split(".");this.major=L[0],this.minor=L[1],this.patch=L.slice(2).join(".")}};m.Version=Q;var I=typeof window<"u"&&window,S=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,B=typeof globalThis<"u"&&globalThis,O=B||I||S;m.global=O}}),Ng=we({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Tg(),h=_g(),D=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function x(_){return _.replace(/\W/g,"_")}m.sanitizeIdentifier=x;var c=0;function p(_){if(!_||!_.reference)return null;let z=_.reference;if(z instanceof C.StaticSymbol)return z.name;if(z.__anonymousType)return z.__anonymousType;let J=h.stringify(z);return J.indexOf("(")>=0?(J="anonymous_".concat(c++),z.__anonymousType=J):J=x(J),J}m.identifierName=p;function g(_){let z=_.reference;return z instanceof C.StaticSymbol?z.filePath:"./".concat(h.stringify(z))}m.identifierModuleUrl=g;function y(_,z){return"View_".concat(p({reference:_}),"_").concat(z)}m.viewClassName=y;function A(_){return"RenderType_".concat(p({reference:_}))}m.rendererTypeName=A;function P(_){return"HostView_".concat(p({reference:_}))}m.hostViewClassName=P;function k(_){return"".concat(p({reference:_}),"NgFactory")}m.componentFactoryName=k;var N;(function(_){_[_.Pipe=0]="Pipe",_[_.Directive=1]="Directive",_[_.NgModule=2]="NgModule",_[_.Injectable=3]="Injectable"})(N=m.CompileSummaryKind||(m.CompileSummaryKind={}));function b(_){return _.value!=null?x(_.value):p(_.identifier)}m.tokenName=b;function F(_){return _.identifier!=null?_.identifier.reference:_.value}m.tokenReference=F;var T=class{constructor(){let{moduleUrl:_,styles:z,styleUrls:J}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=_||null,this.styles=G(z),this.styleUrls=G(J)}};m.CompileStylesheetMetadata=T;var $=class{constructor(_){let{encapsulation:z,template:J,templateUrl:U,htmlAst:K,styles:se,styleUrls:te,externalStylesheets:fe,animations:ce,ngContentSelectors:ie,interpolation:ke,isInline:de,preserveWhitespaces:pe}=_;if(this.encapsulation=z,this.template=J,this.templateUrl=U,this.htmlAst=K,this.styles=G(se),this.styleUrls=G(te),this.externalStylesheets=G(fe),this.animations=ce?I(ce):[],this.ngContentSelectors=ie||[],ke&&ke.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ke,this.isInline=de,this.preserveWhitespaces=pe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=$;var W=class{static create(_){let{isHost:z,type:J,isComponent:U,selector:K,exportAs:se,changeDetection:te,inputs:fe,outputs:ce,host:ie,providers:ke,viewProviders:de,queries:pe,guards:Te,viewQueries:je,entryComponents:Le,template:Qe,componentViewType:he,rendererType:De,componentFactory:$e}=_,Ze={},ze={},ge={};ie!=null&&Object.keys(ie).forEach(We=>{let st=ie[We],yt=We.match(D);yt===null?ge[We]=st:yt[1]!=null?ze[yt[1]]=st:yt[2]!=null&&(Ze[yt[2]]=st)});let ve={};fe!=null&&fe.forEach(We=>{let st=h.splitAtColon(We,[We,We]);ve[st[0]]=st[1]});let Ee={};return ce!=null&&ce.forEach(We=>{let st=h.splitAtColon(We,[We,We]);Ee[st[0]]=st[1]}),new W({isHost:z,type:J,isComponent:!!U,selector:K,exportAs:se,changeDetection:te,inputs:ve,outputs:Ee,hostListeners:Ze,hostProperties:ze,hostAttributes:ge,providers:ke,viewProviders:de,queries:pe,guards:Te,viewQueries:je,entryComponents:Le,template:Qe,componentViewType:he,rendererType:De,componentFactory:$e})}constructor(_){let{isHost:z,type:J,isComponent:U,selector:K,exportAs:se,changeDetection:te,inputs:fe,outputs:ce,hostListeners:ie,hostProperties:ke,hostAttributes:de,providers:pe,viewProviders:Te,queries:je,guards:Le,viewQueries:Qe,entryComponents:he,template:De,componentViewType:$e,rendererType:Ze,componentFactory:ze}=_;this.isHost=!!z,this.type=J,this.isComponent=U,this.selector=K,this.exportAs=se,this.changeDetection=te,this.inputs=fe,this.outputs=ce,this.hostListeners=ie,this.hostProperties=ke,this.hostAttributes=de,this.providers=G(pe),this.viewProviders=G(Te),this.queries=G(je),this.guards=Le,this.viewQueries=G(Qe),this.entryComponents=G(he),this.template=De,this.componentViewType=$e,this.rendererType=Ze,this.componentFactory=ze}toSummary(){return{summaryKind:N.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};m.CompileDirectiveMetadata=W;var j=class{constructor(_){let{type:z,name:J,pure:U}=_;this.type=z,this.name=J,this.pure=!!U}toSummary(){return{summaryKind:N.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=j;var R=class{};m.CompileShallowModuleMetadata=R;var q=class{constructor(_){let{type:z,providers:J,declaredDirectives:U,exportedDirectives:K,declaredPipes:se,exportedPipes:te,entryComponents:fe,bootstrapComponents:ce,importedModules:ie,exportedModules:ke,schemas:de,transitiveModule:pe,id:Te}=_;this.type=z||null,this.declaredDirectives=G(U),this.exportedDirectives=G(K),this.declaredPipes=G(se),this.exportedPipes=G(te),this.providers=G(J),this.entryComponents=G(fe),this.bootstrapComponents=G(ce),this.importedModules=G(ie),this.exportedModules=G(ke),this.schemas=G(de),this.id=Te||null,this.transitiveModule=pe||null}toSummary(){let _=this.transitiveModule;return{summaryKind:N.NgModule,type:this.type,entryComponents:_.entryComponents,providers:_.providers,modules:_.modules,exportedDirectives:_.exportedDirectives,exportedPipes:_.exportedPipes}}};m.CompileNgModuleMetadata=q;var X=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(_,z){this.providers.push({provider:_,module:z})}addDirective(_){this.directivesSet.has(_.reference)||(this.directivesSet.add(_.reference),this.directives.push(_))}addExportedDirective(_){this.exportedDirectivesSet.has(_.reference)||(this.exportedDirectivesSet.add(_.reference),this.exportedDirectives.push(_))}addPipe(_){this.pipesSet.has(_.reference)||(this.pipesSet.add(_.reference),this.pipes.push(_))}addExportedPipe(_){this.exportedPipesSet.has(_.reference)||(this.exportedPipesSet.add(_.reference),this.exportedPipes.push(_))}addModule(_){this.modulesSet.has(_.reference)||(this.modulesSet.add(_.reference),this.modules.push(_))}addEntryComponent(_){this.entryComponentsSet.has(_.componentType)||(this.entryComponentsSet.add(_.componentType),this.entryComponents.push(_))}};m.TransitiveCompileNgModuleMetadata=X;function G(_){return _||[]}var Q=class{constructor(_,z){let{useClass:J,useValue:U,useExisting:K,useFactory:se,deps:te,multi:fe}=z;this.token=_,this.useClass=J||null,this.useValue=U,this.useExisting=K,this.useFactory=se||null,this.dependencies=te||null,this.multi=!!fe}};m.ProviderMeta=Q;function I(_){return _.reduce((z,J)=>{let U=Array.isArray(J)?I(J):J;return z.concat(U)},[])}m.flatten=I;function S(_){return _.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function B(_,z,J){let U;return J.isInline?z.type.reference instanceof C.StaticSymbol?U="".concat(z.type.reference.filePath,".").concat(z.type.reference.name,".html"):U="".concat(p(_),"/").concat(p(z.type),".html"):U=J.templateUrl,z.type.reference instanceof C.StaticSymbol?U:S(U)}m.templateSourceUrl=B;function O(_,z){let J=_.moduleUrl.split(/\/\\/g),U=J[J.length-1];return S("css/".concat(z).concat(U,".ngstyle.js"))}m.sharedStylesheetJitUrl=O;function v(_){return S("".concat(p(_.type),"/module.ngfactory.js"))}m.ngModuleJitUrl=v;function L(_,z){return S("".concat(p(_),"/").concat(p(z.type),".ngfactory.js"))}m.templateJitUrl=L}}),Ig=we({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){Pe(),Object.defineProperty(m,"__esModule",{value:!0});var C=Bg(),h=Ng(),D=class{constructor(P,k,N,b){this.file=P,this.offset=k,this.line=N,this.col=b}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(P){let k=this.file.content,N=k.length,b=this.offset,F=this.line,T=this.col;for(;b>0&&P<0;)if(b--,P++,k.charCodeAt(b)==C.$LF){F--;let $=k.substr(0,b-1).lastIndexOf(String.fromCharCode(C.$LF));T=$>0?b-$:b}else T--;for(;b<N&&P>0;){let $=k.charCodeAt(b);b++,P--,$==C.$LF?(F++,T=0):T++}return new D(this.file,b,F,T)}getContext(P,k){let N=this.file.content,b=this.offset;if(b!=null){b>N.length-1&&(b=N.length-1);let F=b,T=0,$=0;for(;T<P&&b>0&&(b--,T++,!(N[b]==`
112
- `&&++$==k)););for(T=0,$=0;T<P&&F<N.length-1&&(F++,T++,!(N[F]==`
113
- `&&++$==k)););return{before:N.substring(b,this.offset),after:N.substring(this.offset,F+1)}}return null}};m.ParseLocation=D;var x=class{constructor(P,k){this.content=P,this.url=k}};m.ParseSourceFile=x;var c=class{constructor(P,k){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=P,this.end=k,this.details=N}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=c,m.EMPTY_PARSE_LOCATION=new D(new x("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new c(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var p;(function(P){P[P.WARNING=0]="WARNING",P[P.ERROR=1]="ERROR"})(p=m.ParseErrorLevel||(m.ParseErrorLevel={}));var g=class{constructor(P,k){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.ERROR;this.span=P,this.msg=k,this.level=N}contextualMessage(){let P=this.span.start.getContext(100,3);return P?"".concat(this.msg,' ("').concat(P.before,"[").concat(p[this.level]," ->]").concat(P.after,'")'):this.msg}toString(){let P=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(P)}};m.ParseError=g;function y(P,k){let N=h.identifierModuleUrl(k),b=N!=null?"in ".concat(P," ").concat(h.identifierName(k)," in ").concat(N):"in ".concat(P," ").concat(h.identifierName(k)),F=new x("",b);return new c(new D(F,-1,-1,-1),new D(F,-1,-1,-1))}m.typeSourceSpan=y;function A(P,k,N){let b="in ".concat(P," ").concat(k," in ").concat(N),F=new x("",b);return new c(new D(F,-1,-1,-1),new D(F,-1,-1,-1))}m.r3JitTypeSourceSpan=A}}),Pg=we({"src/language-html/print-preprocess.js"(m,C){Pe();var{ParseSourceSpan:h}=Ig(),{htmlTrim:D,getLeadingAndTrailingHtmlWhitespace:x,hasHtmlWhitespace:c,canHaveInterpolation:p,getNodeCssStyleDisplay:g,isDanglingSpaceSensitiveNode:y,isIndentationSensitiveNode:A,isLeadingSpaceSensitiveNode:P,isTrailingSpaceSensitiveNode:k,isWhitespaceSensitiveNode:N,isVueScriptTag:b}=js(),F=[$,W,R,X,G,S,Q,I,B,q,O];function T(v,L){for(let _ of F)_(v,L);return v}function $(v){v.walk(L=>{if(L.type==="element"&&L.tagDefinition.ignoreFirstLf&&L.children.length>0&&L.children[0].type==="text"&&L.children[0].value[0]===`
114
- `){let _=L.children[0];_.value.length===1?L.removeChild(_):_.value=_.value.slice(1)}})}function W(v){let L=_=>_.type==="element"&&_.prev&&_.prev.type==="ieConditionalStartComment"&&_.prev.sourceSpan.end.offset===_.startSourceSpan.start.offset&&_.firstChild&&_.firstChild.type==="ieConditionalEndComment"&&_.firstChild.sourceSpan.start.offset===_.startSourceSpan.end.offset;v.walk(_=>{if(_.children)for(let z=0;z<_.children.length;z++){let J=_.children[z];if(!L(J))continue;let U=J.prev,K=J.firstChild;_.removeChild(U),z--;let se=new h(U.sourceSpan.start,K.sourceSpan.end),te=new h(se.start,J.sourceSpan.end);J.condition=U.condition,J.sourceSpan=te,J.startSourceSpan=se,J.removeChild(K)}})}function j(v,L,_){v.walk(z=>{if(z.children)for(let J=0;J<z.children.length;J++){let U=z.children[J];if(U.type!=="text"&&!L(U))continue;U.type!=="text"&&(U.type="text",U.value=_(U));let K=U.prev;!K||K.type!=="text"||(K.value+=U.value,K.sourceSpan=new h(K.sourceSpan.start,U.sourceSpan.end),z.removeChild(U),J--)}})}function R(v){return j(v,L=>L.type==="cdata",L=>"<![CDATA[".concat(L.value,"]]>"))}function q(v){let L=_=>_.type==="element"&&_.attrs.length===0&&_.children.length===1&&_.firstChild.type==="text"&&!c(_.children[0].value)&&!_.firstChild.hasLeadingSpaces&&!_.firstChild.hasTrailingSpaces&&_.isLeadingSpaceSensitive&&!_.hasLeadingSpaces&&_.isTrailingSpaceSensitive&&!_.hasTrailingSpaces&&_.prev&&_.prev.type==="text"&&_.next&&_.next.type==="text";v.walk(_=>{if(_.children)for(let z=0;z<_.children.length;z++){let J=_.children[z];if(!L(J))continue;let U=J.prev,K=J.next;U.value+="<".concat(J.rawName,">")+J.firstChild.value+"</".concat(J.rawName,">")+K.value,U.sourceSpan=new h(U.sourceSpan.start,K.sourceSpan.end),U.isTrailingSpaceSensitive=K.isTrailingSpaceSensitive,U.hasTrailingSpaces=K.hasTrailingSpaces,_.removeChild(J),z--,_.removeChild(K)}})}function X(v,L){if(L.parser==="html")return;let _=/{{(.+?)}}/s;v.walk(z=>{if(p(z))for(let J of z.children){if(J.type!=="text")continue;let U=J.sourceSpan.start,K=null,se=J.value.split(_);for(let te=0;te<se.length;te++,U=K){let fe=se[te];if(te%2===0){K=U.moveBy(fe.length),fe.length>0&&z.insertChildBefore(J,{type:"text",value:fe,sourceSpan:new h(U,K)});continue}K=U.moveBy(fe.length+4),z.insertChildBefore(J,{type:"interpolation",sourceSpan:new h(U,K),children:fe.length===0?[]:[{type:"text",value:fe,sourceSpan:new h(U.moveBy(2),K.moveBy(-2))}]})}z.removeChild(J)}})}function G(v){v.walk(L=>{if(!L.children)return;if(L.children.length===0||L.children.length===1&&L.children[0].type==="text"&&D(L.children[0].value).length===0){L.hasDanglingSpaces=L.children.length>0,L.children=[];return}let _=N(L),z=A(L);if(!_)for(let J=0;J<L.children.length;J++){let U=L.children[J];if(U.type!=="text")continue;let{leadingWhitespace:K,text:se,trailingWhitespace:te}=x(U.value),fe=U.prev,ce=U.next;se?(U.value=se,U.sourceSpan=new h(U.sourceSpan.start.moveBy(K.length),U.sourceSpan.end.moveBy(-te.length)),K&&(fe&&(fe.hasTrailingSpaces=!0),U.hasLeadingSpaces=!0),te&&(U.hasTrailingSpaces=!0,ce&&(ce.hasLeadingSpaces=!0))):(L.removeChild(U),J--,(K||te)&&(fe&&(fe.hasTrailingSpaces=!0),ce&&(ce.hasLeadingSpaces=!0)))}L.isWhitespaceSensitive=_,L.isIndentationSensitive=z})}function Q(v){v.walk(L=>{L.isSelfClosing=!L.children||L.type==="element"&&(L.tagDefinition.isVoid||L.startSourceSpan===L.endSourceSpan)})}function I(v,L){v.walk(_=>{_.type==="element"&&(_.hasHtmComponentClosingTag=_.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(L.originalText.slice(_.endSourceSpan.start.offset,_.endSourceSpan.end.offset)))})}function S(v,L){v.walk(_=>{_.cssDisplay=g(_,L)})}function B(v,L){v.walk(_=>{let{children:z}=_;if(z){if(z.length===0){_.isDanglingSpaceSensitive=y(_);return}for(let J of z)J.isLeadingSpaceSensitive=P(J,L),J.isTrailingSpaceSensitive=k(J,L);for(let J=0;J<z.length;J++){let U=z[J];U.isLeadingSpaceSensitive=(J===0||U.prev.isTrailingSpaceSensitive)&&U.isLeadingSpaceSensitive,U.isTrailingSpaceSensitive=(J===z.length-1||U.next.isLeadingSpaceSensitive)&&U.isTrailingSpaceSensitive}}})}function O(v,L){if(L.parser==="vue"){let _=v.children.find(J=>b(J,L));if(!_)return;let{lang:z}=_.attrMap;(z==="ts"||z==="typescript")&&(L.__should_parse_vue_template_with_ts=!0)}}C.exports=T}}),Lg=we({"src/language-html/pragma.js"(m,C){Pe();function h(x){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(x)}function D(x){return`<!-- @format -->
115
-
116
- `+x.replace(/^\s*\n/,"")}C.exports={hasPragma:h,insertPragma:D}}}),Eo=we({"src/language-html/loc.js"(m,C){Pe();function h(x){return x.sourceSpan.start.offset}function D(x){return x.sourceSpan.end.offset}C.exports={locStart:h,locEnd:D}}}),da=we({"src/language-html/print/tag.js"(m,C){Pe();var h=la(),{isNonEmptyArray:D}=Dr(),{builders:{indent:x,join:c,line:p,softline:g,hardline:y},utils:{replaceTextEndOfLine:A}}=dt(),{locStart:P,locEnd:k}=Eo(),{isTextLikeNode:N,getLastDescendant:b,isPreLikeNode:F,hasPrettierIgnore:T,shouldPreserveContent:$,isVueSfcBlock:W}=js();function j(ie,ke){return[ie.isSelfClosing?"":R(ie,ke),q(ie,ke)]}function R(ie,ke){return ie.lastChild&&v(ie.lastChild)?"":[X(ie,ke),Q(ie,ke)]}function q(ie,ke){return(ie.next?B(ie.next):O(ie.parent))?"":[I(ie,ke),G(ie,ke)]}function X(ie,ke){return O(ie)?I(ie.lastChild,ke):""}function G(ie,ke){return v(ie)?Q(ie.parent,ke):L(ie)?fe(ie.next):""}function Q(ie,ke){if(h(!ie.isSelfClosing),S(ie,ke))return"";switch(ie.type){case"ieConditionalComment":return"<!";case"element":if(ie.hasHtmComponentClosingTag)return"<//";default:return"</".concat(ie.rawName)}}function I(ie,ke){if(S(ie,ke))return"";switch(ie.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ie.isSelfClosing)return"/>";default:return">"}}function S(ie,ke){return!ie.isSelfClosing&&!ie.endSourceSpan&&(T(ie)||$(ie.parent,ke))}function B(ie){return ie.prev&&ie.prev.type!=="docType"&&!N(ie.prev)&&ie.isLeadingSpaceSensitive&&!ie.hasLeadingSpaces}function O(ie){return ie.lastChild&&ie.lastChild.isTrailingSpaceSensitive&&!ie.lastChild.hasTrailingSpaces&&!N(b(ie.lastChild))&&!F(ie)}function v(ie){return!ie.next&&!ie.hasTrailingSpaces&&ie.isTrailingSpaceSensitive&&N(b(ie))}function L(ie){return ie.next&&!N(ie.next)&&N(ie)&&ie.isTrailingSpaceSensitive&&!ie.hasTrailingSpaces}function _(ie){let ke=ie.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return ke?ke[1]?ke[1].split(/\s+/):!0:!1}function z(ie){return!ie.prev&&ie.isLeadingSpaceSensitive&&!ie.hasLeadingSpaces}function J(ie,ke,de){let pe=ie.getValue();if(!D(pe.attrs))return pe.isSelfClosing?" ":"";let Te=pe.prev&&pe.prev.type==="comment"&&_(pe.prev.value),je=typeof Te=="boolean"?()=>Te:Array.isArray(Te)?$e=>Te.includes($e.rawName):()=>!1,Le=ie.map($e=>{let Ze=$e.getValue();return je(Ze)?A(ke.originalText.slice(P(Ze),k(Ze))):de()},"attrs"),Qe=pe.type==="element"&&pe.fullName==="script"&&pe.attrs.length===1&&pe.attrs[0].fullName==="src"&&pe.children.length===0,he=ke.singleAttributePerLine&&pe.attrs.length>1&&!W(pe,ke)?y:p,De=[x([Qe?" ":p,c(he,Le)])];return pe.firstChild&&z(pe.firstChild)||pe.isSelfClosing&&O(pe.parent)||Qe?De.push(pe.isSelfClosing?" ":""):De.push(ke.bracketSameLine?pe.isSelfClosing?" ":"":pe.isSelfClosing?p:g),De}function U(ie){return ie.firstChild&&z(ie.firstChild)?"":ce(ie)}function K(ie,ke,de){let pe=ie.getValue();return[se(pe,ke),J(ie,ke,de),pe.isSelfClosing?"":U(pe)]}function se(ie,ke){return ie.prev&&L(ie.prev)?"":[te(ie,ke),fe(ie)]}function te(ie,ke){return z(ie)?ce(ie.parent):B(ie)?I(ie.prev,ke):""}function fe(ie){switch(ie.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(ie.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(ie.condition)return"<!--[if ".concat(ie.condition,"]><!--><").concat(ie.rawName);default:return"<".concat(ie.rawName)}}function ce(ie){switch(h(!ie.isSelfClosing),ie.type){case"ieConditionalComment":return"]>";case"element":if(ie.condition)return"><!--<![endif]-->";default:return">"}}C.exports={printClosingTag:j,printClosingTagStart:R,printClosingTagStartMarker:Q,printClosingTagEndMarker:I,printClosingTagSuffix:G,printClosingTagEnd:q,needsToBorrowLastChildClosingTagEndMarker:O,needsToBorrowParentClosingTagStartMarker:v,needsToBorrowPrevClosingTagEndMarker:B,printOpeningTag:K,printOpeningTagStart:se,printOpeningTagPrefix:te,printOpeningTagStartMarker:fe,printOpeningTagEndMarker:ce,needsToBorrowNextOpeningTagStartMarker:L,needsToBorrowParentOpeningTagEndMarker:z}}}),Og=we({"node_modules/parse-srcset/src/parse-srcset.js"(m,C){Pe(),function(h,D){typeof define=="function"&&define.amd?define([],D):typeof C=="object"&&C.exports?C.exports=D():h.parseSrcset=D()}(m,function(){return function(h,D){var x=D&&D.logger||console;function c(Q){return Q===" "||Q===" "||Q===`
117
- `||Q==="\f"||Q==="\r"}function p(Q){var I,S=Q.exec(h.substring(R));if(S)return I=S[0],R+=I.length,I}for(var g=h.length,y=/^[ \t\n\r\u000c]+/,A=/^[, \t\n\r\u000c]+/,P=/^[^ \t\n\r\u000c]+/,k=/[,]+$/,N=/^\d+$/,b=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,F,T,$,W,j,R=0,q=[];;){if(p(A),R>=g)return q;F=p(P),T=[],F.slice(-1)===","?(F=F.replace(k,""),G()):X()}function X(){for(p(y),$="",W="in descriptor";;){if(j=h.charAt(R),W==="in descriptor")if(c(j))$&&(T.push($),$="",W="after descriptor");else if(j===","){R+=1,$&&T.push($),G();return}else if(j==="(")$=$+j,W="in parens";else if(j===""){$&&T.push($),G();return}else $=$+j;else if(W==="in parens")if(j===")")$=$+j,W="in descriptor";else if(j===""){T.push($),G();return}else $=$+j;else if(W==="after descriptor"&&!c(j))if(j===""){G();return}else W="in descriptor",R-=1;R+=1}}function G(){var Q=!1,I,S,B,O,v={},L,_,z,J,U;for(O=0;O<T.length;O++)L=T[O],_=L[L.length-1],z=L.substring(0,L.length-1),J=parseInt(z,10),U=parseFloat(z),N.test(z)&&_==="w"?((I||S)&&(Q=!0),J===0?Q=!0:I=J):b.test(z)&&_==="x"?((I||S||B)&&(Q=!0),U<0?Q=!0:S=U):N.test(z)&&_==="h"?((B||S)&&(Q=!0),J===0?Q=!0:B=J):Q=!0;Q?x&&x.error&&x.error("Invalid srcset descriptor found in '"+h+"' at '"+L+"'."):(v.url=F,I&&(v.w=I),S&&(v.d=S),B&&(v.h=B),q.push(v))}}})}}),jg=we({"src/language-html/syntax-attribute.js"(m,C){Pe();var h=Og(),{builders:{ifBreak:D,join:x,line:c}}=dt();function p(y){let A=h(y,{logger:{error(X){throw new Error(X)}}}),P=A.some(X=>{let{w:G}=X;return G}),k=A.some(X=>{let{h:G}=X;return G}),N=A.some(X=>{let{d:G}=X;return G});if(P+k+N>1)throw new Error("Mixed descriptor in srcset is not supported");let b=P?"w":k?"h":"d",F=P?"w":k?"h":"x",T=X=>Math.max(...X),$=A.map(X=>X.url),W=T($.map(X=>X.length)),j=A.map(X=>X[b]).map(X=>X?X.toString():""),R=j.map(X=>{let G=X.indexOf(".");return G===-1?X.length:G}),q=T(R);return x([",",c],$.map((X,G)=>{let Q=[X],I=j[G];if(I){let S=W-X.length+1,B=q-R[G],O=" ".repeat(S+B);Q.push(D(O," "),I+F)}return Q}))}function g(y){return y.trim().split(/\s+/).join(" ")}C.exports={printImgSrcset:p,printClassNames:g}}}),Vg=we({"src/language-html/syntax-vue.js"(m,C){Pe();var{builders:{group:h}}=dt();function D(g,y){let{left:A,operator:P,right:k}=x(g);return[h(y("function _(".concat(A,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",P," ",y(k,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function x(g){let y=/(.*?)\s+(in|of)\s+(.*)/s,A=/,([^,\]}]*)(?:,([^,\]}]*))?$/,P=/^\(|\)$/g,k=g.match(y);if(!k)return;let N={};if(N.for=k[3].trim(),!N.for)return;let b=k[1].trim().replace(P,""),F=b.match(A);F?(N.alias=b.replace(A,""),N.iterator1=F[1].trim(),F[2]&&(N.iterator2=F[2].trim())):N.alias=b;let T=[N.alias,N.iterator1,N.iterator2];if(!T.some(($,W)=>!$&&(W===0||T.slice(W+1).some(Boolean))))return{left:T.filter(Boolean).join(","),operator:k[2],right:N.for}}function c(g,y){return y("function _(".concat(g,") {}"),{parser:"babel",__isVueBindings:!0})}function p(g){let y=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,A=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,P=g.trim();return y.test(P)||A.test(P)}C.exports={isVueEventBindingExpression:p,printVueFor:D,printVueBindings:c}}}),Xc=we({"src/language-html/get-node-content.js"(m,C){Pe();var{needsToBorrowParentClosingTagStartMarker:h,printClosingTagStartMarker:D,needsToBorrowLastChildClosingTagEndMarker:x,printClosingTagEndMarker:c,needsToBorrowParentOpeningTagEndMarker:p,printOpeningTagEndMarker:g}=da();function y(A,P){let k=A.startSourceSpan.end.offset;A.firstChild&&p(A.firstChild)&&(k-=g(A).length);let N=A.endSourceSpan.start.offset;return A.lastChild&&h(A.lastChild)?N+=D(A,P).length:x(A)&&(N-=c(A.lastChild,P).length),P.originalText.slice(k,N)}C.exports=y}}),Mg=we({"src/language-html/embed.js"(m,C){Pe();var{builders:{breakParent:h,group:D,hardline:x,indent:c,line:p,fill:g,softline:y},utils:{mapDoc:A,replaceTextEndOfLine:P}}=dt(),k=vo(),{printClosingTag:N,printClosingTagSuffix:b,needsToBorrowPrevClosingTagEndMarker:F,printOpeningTagPrefix:T,printOpeningTag:$}=da(),{printImgSrcset:W,printClassNames:j}=jg(),{printVueFor:R,printVueBindings:q,isVueEventBindingExpression:X}=Vg(),{isScriptLikeTag:G,isVueNonHtmlBlock:Q,inferScriptParser:I,htmlTrimPreserveIndentation:S,dedentString:B,unescapeQuoteEntities:O,isVueSlotAttribute:v,isVueSfcBindingsAttribute:L,getTextValueParts:_}=js(),z=Xc();function J(K,se,te){let fe=Le=>new RegExp(Le.join("|")).test(K.fullName),ce=()=>O(K.value),ie=!1,ke=(Le,Qe)=>{let he=Le.type==="NGRoot"?Le.node.type==="NGMicrosyntax"&&Le.node.body.length===1&&Le.node.body[0].type==="NGMicrosyntaxExpression"?Le.node.body[0].expression:Le.node:Le.type==="JsExpressionRoot"?Le.node:Le;he&&(he.type==="ObjectExpression"||he.type==="ArrayExpression"||Qe.parser==="__vue_expression"&&(he.type==="TemplateLiteral"||he.type==="StringLiteral"))&&(ie=!0)},de=Le=>D(Le),pe=function(Le){let Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return D([c([y,Le]),Qe?y:""])},Te=Le=>ie?de(Le):pe(Le),je=(Le,Qe)=>se(Le,Object.assign({__onHtmlBindingRoot:ke,__embeddedInHtml:!0},Qe));if(K.fullName==="srcset"&&(K.parent.fullName==="img"||K.parent.fullName==="source"))return pe(W(ce()));if(K.fullName==="class"&&!te.parentParser){let Le=ce();if(!Le.includes("{{"))return j(Le)}if(K.fullName==="style"&&!te.parentParser){let Le=ce();if(!Le.includes("{{"))return pe(je(Le,{parser:"css",__isHTMLStyleAttribute:!0}))}if(te.parser==="vue"){if(K.fullName==="v-for")return R(ce(),je);if(v(K)||L(K,te))return q(ce(),je);let Le=["^@","^v-on:"],Qe=["^:","^v-bind:"],he=["^v-"];if(fe(Le)){let De=ce(),$e=X(De)?"__js_expression":te.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Te(je(De,{parser:$e}))}if(fe(Qe))return Te(je(ce(),{parser:"__vue_expression"}));if(fe(he))return Te(je(ce(),{parser:"__js_expression"}))}if(te.parser==="angular"){let Le=(ge,ve)=>je(ge,Object.assign(Object.assign({},ve),{},{trailingComma:"none"})),Qe=["^\\*"],he=["^\\(.+\\)$","^on-"],De=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],$e=["^i18n(-.+)?$"];if(fe(he))return Te(Le(ce(),{parser:"__ng_action"}));if(fe(De))return Te(Le(ce(),{parser:"__ng_binding"}));if(fe($e)){let ge=ce().trim();return pe(g(_(K,ge)),!ge.includes("@@"))}if(fe(Qe))return Te(Le(ce(),{parser:"__ng_directive"}));let Ze=/{{(.+?)}}/s,ze=ce();if(Ze.test(ze)){let ge=[];for(let[ve,Ee]of ze.split(Ze).entries())if(ve%2===0)ge.push(P(Ee));else try{ge.push(D(["{{",c([p,Le(Ee,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),p,"}}"]))}catch{ge.push("{{",P(Ee),"}}")}return D(ge)}}return null}function U(K,se,te,fe){let ce=K.getValue();switch(ce.type){case"element":{if(G(ce)||ce.type==="interpolation")return;if(!ce.isSelfClosing&&Q(ce,fe)){let ie=I(ce,fe);if(!ie)return;let ke=z(ce,fe),de=/^\s*$/.test(ke),pe="";return de||(pe=te(S(ke),{parser:ie,__embeddedInHtml:!0},{stripTrailingHardline:!0}),de=pe===""),[T(ce,fe),D($(K,fe,se)),de?"":x,pe,de?"":x,N(ce,fe),b(ce,fe)]}break}case"text":{if(G(ce.parent)){let ie=I(ce.parent,fe);if(ie){let ke=ie==="markdown"?B(ce.value.replace(/^[^\S\n]*\n/,"")):ce.value,de={parser:ie,__embeddedInHtml:!0};if(fe.parser==="html"&&ie==="babel"){let pe="script",{attrMap:Te}=ce.parent;Te&&(Te.type==="module"||Te.type==="text/babel"&&Te["data-type"]==="module")&&(pe="module"),de.__babelSourceType=pe}return[h,T(ce,fe),te(ke,de,{stripTrailingHardline:!0}),b(ce,fe)]}}else if(ce.parent.type==="interpolation"){let ie={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return fe.parser==="angular"?(ie.parser="__ng_interpolation",ie.trailingComma="none"):fe.parser==="vue"?ie.parser=fe.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":ie.parser="__js_expression",[c([p,te(ce.value,ie,{stripTrailingHardline:!0})]),ce.parent.next&&F(ce.parent.next)?" ":p]}break}case"attribute":{if(!ce.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(fe.originalText.slice(ce.valueSpan.start.offset,ce.valueSpan.end.offset)))return[ce.rawName,"=",ce.value];if(fe.parser==="lwc"&&/^{.*}$/s.test(fe.originalText.slice(ce.valueSpan.start.offset,ce.valueSpan.end.offset)))return[ce.rawName,"=",ce.value];let ie=J(ce,(ke,de)=>te(ke,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},de),{stripTrailingHardline:!0}),fe);if(ie)return[ce.rawName,'="',D(A(ie,ke=>typeof ke=="string"?ke.replace(/"/g,"&quot;"):ke)),'"'];break}case"front-matter":return k(ce,te)}}C.exports=U}}),Qc=we({"src/language-html/print/children.js"(m,C){Pe();var{builders:{breakParent:h,group:D,ifBreak:x,line:c,softline:p,hardline:g},utils:{replaceTextEndOfLine:y}}=dt(),{locStart:A,locEnd:P}=Eo(),{forceBreakChildren:k,forceNextEmptyLine:N,isTextLikeNode:b,hasPrettierIgnore:F,preferHardlineAsLeadingSpaces:T}=js(),{printOpeningTagPrefix:$,needsToBorrowNextOpeningTagStartMarker:W,printOpeningTagStartMarker:j,needsToBorrowPrevClosingTagEndMarker:R,printClosingTagEndMarker:q,printClosingTagSuffix:X,needsToBorrowParentClosingTagStartMarker:G}=da();function Q(B,O,v){let L=B.getValue();return F(L)?[$(L,O),...y(O.originalText.slice(A(L)+(L.prev&&W(L.prev)?j(L).length:0),P(L)-(L.next&&R(L.next)?q(L,O).length:0))),X(L,O)]:v()}function I(B,O){return b(B)&&b(O)?B.isTrailingSpaceSensitive?B.hasTrailingSpaces?T(O)?g:c:"":T(O)?g:p:W(B)&&(F(O)||O.firstChild||O.isSelfClosing||O.type==="element"&&O.attrs.length>0)||B.type==="element"&&B.isSelfClosing&&R(O)?"":!O.isLeadingSpaceSensitive||T(O)||R(O)&&B.lastChild&&G(B.lastChild)&&B.lastChild.lastChild&&G(B.lastChild.lastChild)?g:O.hasLeadingSpaces?c:p}function S(B,O,v){let L=B.getValue();if(k(L))return[h,...B.map(z=>{let J=z.getValue(),U=J.prev?I(J.prev,J):"";return[U?[U,N(J.prev)?g:""]:"",Q(z,O,v)]},"children")];let _=L.children.map(()=>Symbol(""));return B.map((z,J)=>{let U=z.getValue();if(b(U)){if(U.prev&&b(U.prev)){let ke=I(U.prev,U);if(ke)return N(U.prev)?[g,g,Q(z,O,v)]:[ke,Q(z,O,v)]}return Q(z,O,v)}let K=[],se=[],te=[],fe=[],ce=U.prev?I(U.prev,U):"",ie=U.next?I(U,U.next):"";return ce&&(N(U.prev)?K.push(g,g):ce===g?K.push(g):b(U.prev)?se.push(ce):se.push(x("",p,{groupId:_[J-1]}))),ie&&(N(U)?b(U.next)&&fe.push(g,g):ie===g?b(U.next)&&fe.push(g):te.push(ie)),[...K,D([...se,D([Q(z,O,v),...te],{id:_[J]})]),...fe]},"children")}C.exports={printChildren:S}}}),Rg=we({"src/language-html/print/element.js"(m,C){Pe();var{builders:{breakParent:h,dedentToRoot:D,group:x,ifBreak:c,indentIfBreak:p,indent:g,line:y,softline:A},utils:{replaceTextEndOfLine:P}}=dt(),k=Xc(),{shouldPreserveContent:N,isScriptLikeTag:b,isVueCustomBlock:F,countParents:T,forceBreakContent:$}=js(),{printOpeningTagPrefix:W,printOpeningTag:j,printClosingTagSuffix:R,printClosingTag:q,needsToBorrowPrevClosingTagEndMarker:X,needsToBorrowLastChildClosingTagEndMarker:G}=da(),{printChildren:Q}=Qc();function I(S,B,O){let v=S.getValue();if(N(v,B))return[W(v,B),x(j(S,B,O)),...P(k(v,B)),...q(v,B),R(v,B)];let L=v.children.length===1&&v.firstChild.type==="interpolation"&&v.firstChild.isLeadingSpaceSensitive&&!v.firstChild.hasLeadingSpaces&&v.lastChild.isTrailingSpaceSensitive&&!v.lastChild.hasTrailingSpaces,_=Symbol("element-attr-group-id"),z=se=>x([x(j(S,B,O),{id:_}),se,q(v,B)]),J=se=>L?p(se,{groupId:_}):(b(v)||F(v,B))&&v.parent.type==="root"&&B.parser==="vue"&&!B.vueIndentScriptAndStyle?se:g(se),U=()=>L?c(A,"",{groupId:_}):v.firstChild.hasLeadingSpaces&&v.firstChild.isLeadingSpaceSensitive?y:v.firstChild.type==="text"&&v.isWhitespaceSensitive&&v.isIndentationSensitive?D(A):A,K=()=>(v.next?X(v.next):G(v.parent))?v.lastChild.hasTrailingSpaces&&v.lastChild.isTrailingSpaceSensitive?" ":"":L?c(A,"",{groupId:_}):v.lastChild.hasTrailingSpaces&&v.lastChild.isTrailingSpaceSensitive?y:(v.lastChild.type==="comment"||v.lastChild.type==="text"&&v.isWhitespaceSensitive&&v.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(B.tabWidth*T(S,se=>se.parent&&se.parent.type!=="root"),"}$")).test(v.lastChild.value)?"":A;return v.children.length===0?z(v.hasDanglingSpaces&&v.isDanglingSpaceSensitive?y:""):z([$(v)?h:"",J([U(),Q(S,B,O)]),K()])}C.exports={printElement:I}}}),Jg=we({"src/language-html/printer-html.js"(m,C){Pe();var{builders:{fill:h,group:D,hardline:x,literalline:c},utils:{cleanDoc:p,getDocParts:g,isConcat:y,replaceTextEndOfLine:A}}=dt(),P=Sg(),{countChars:k,unescapeQuoteEntities:N,getTextValueParts:b}=js(),F=Pg(),{insertPragma:T}=Lg(),{locStart:$,locEnd:W}=Eo(),j=Mg(),{printClosingTagSuffix:R,printClosingTagEnd:q,printOpeningTagPrefix:X,printOpeningTagStart:G}=da(),{printElement:Q}=Rg(),{printChildren:I}=Qc();function S(B,O,v){let L=B.getValue();switch(L.type){case"front-matter":return A(L.raw);case"root":return O.__onHtmlRoot&&O.__onHtmlRoot(L),[D(I(B,O,v)),x];case"element":case"ieConditionalComment":return Q(B,O,v);case"ieConditionalStartComment":case"ieConditionalEndComment":return[G(L),q(L)];case"interpolation":return[G(L,O),...B.map(v,"children"),q(L,O)];case"text":{if(L.parent.type==="interpolation"){let z=/\n[^\S\n]*$/,J=z.test(L.value),U=J?L.value.replace(z,""):L.value;return[...A(U),J?x:""]}let _=p([X(L,O),...b(L),R(L,O)]);return y(_)||_.type==="fill"?h(g(_)):_}case"docType":return[D([G(L,O)," ",L.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),q(L,O)];case"comment":return[X(L,O),...A(O.originalText.slice($(L),W(L)),c),R(L,O)];case"attribute":{if(L.value===null)return L.rawName;let _=N(L.value),z=k(_,"'"),J=k(_,'"'),U=z<J?"'":'"';return[L.rawName,"=",U,...A(U==='"'?_.replace(/"/g,"&quot;"):_.replace(/'/g,"&apos;")),U]}default:throw new Error("Unexpected node type ".concat(L.type))}}C.exports={preprocess:F,print:S,insertPragma:T,massageAstNode:P,embed:j}}}),Ug=we({"src/language-html/options.js"(m,C){Pe();var h=Os(),D="HTML";C.exports={bracketSameLine:h.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:D,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:h.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:D,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),zg=we({"src/language-html/parsers.js"(){Pe()}}),Ao=we({"node_modules/linguist-languages/data/HTML.json"(m,C){C.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),qg=we({"node_modules/linguist-languages/data/Vue.json"(m,C){C.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),$g=we({"src/language-html/index.js"(m,C){Pe();var h=ms(),D=Jg(),x=Ug(),c=zg(),p=[h(Ao(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),h(Ao(),y=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...y.extensions,".mjml"]})),h(Ao(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),h(qg(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],g={html:D};C.exports={languages:p,printers:g,options:x,parsers:c}}}),Hg=we({"src/language-yaml/pragma.js"(m,C){Pe();function h(c){return/^\s*@(?:prettier|format)\s*$/.test(c)}function D(c){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(c)}function x(c){return`# @format
118
-
119
- `.concat(c)}C.exports={isPragma:h,hasPragma:D,insertPragma:x}}}),Wg=we({"src/language-yaml/loc.js"(m,C){Pe();function h(x){return x.position.start.offset}function D(x){return x.position.end.offset}C.exports={locStart:h,locEnd:D}}}),Gg=we({"src/language-yaml/embed.js"(m,C){Pe();function h(D,x,c,p){if(D.getValue().type==="root"&&p.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(p.filepath))return c(p.originalText,Object.assign(Object.assign({},p),{},{parser:"json"}))}C.exports=h}}),Vs=we({"src/language-yaml/utils.js"(m,C){Pe();var{getLast:h,isNonEmptyArray:D}=Dr();function x(I,S){let B=0,O=I.stack.length-1;for(let v=0;v<O;v++){let L=I.stack[v];c(L)&&S(L)&&B++}return B}function c(I,S){return I&&typeof I.type=="string"&&(!S||S.includes(I.type))}function p(I,S,B){return S("children"in I?Object.assign(Object.assign({},I),{},{children:I.children.map(O=>p(O,S,I))}):I,B)}function g(I,S,B){Object.defineProperty(I,S,{get:B,enumerable:!1})}function y(I,S){let B=0,O=S.length;for(let v=I.position.end.offset-1;v<O;v++){let L=S[v];if(L===`
120
- `&&B++,B===1&&/\S/.test(L))return!1;if(B===2)return!0}return!1}function A(I){switch(I.getValue().type){case"tag":case"anchor":case"comment":return!1}let S=I.stack.length;for(let B=1;B<S;B++){let O=I.stack[B],v=I.stack[B-1];if(Array.isArray(v)&&typeof O=="number"&&O!==v.length-1)return!1}return!0}function P(I){return D(I.children)?P(h(I.children)):I}function k(I){return I.value.trim()==="prettier-ignore"}function N(I){let S=I.getValue();if(S.type==="documentBody"){let B=I.getParentNode();return R(B.head)&&k(h(B.head.endComments))}return T(S)&&k(h(S.leadingComments))}function b(I){return!D(I.children)&&!F(I)}function F(I){return T(I)||$(I)||W(I)||j(I)||R(I)}function T(I){return D(I==null?void 0:I.leadingComments)}function $(I){return D(I==null?void 0:I.middleComments)}function W(I){return I==null?void 0:I.indicatorComment}function j(I){return I==null?void 0:I.trailingComment}function R(I){return D(I==null?void 0:I.endComments)}function q(I){let S=[],B;for(let O of I.split(/( +)/))O!==" "?B===" "?S.push(O):S.push((S.pop()||"")+O):B===void 0&&S.unshift(""),B=O;return B===" "&&S.push((S.pop()||"")+" "),S[0]===""&&(S.shift(),S.unshift(" "+(S.shift()||""))),S}function X(I,S,B){let O=S.split(`
121
- `).map((v,L,_)=>L===0&&L===_.length-1?v:L!==0&&L!==_.length-1?v.trim():L===0?v.trimEnd():v.trimStart());return B.proseWrap==="preserve"?O.map(v=>v.length===0?[]:[v]):O.map(v=>v.length===0?[]:q(v)).reduce((v,L,_)=>_!==0&&O[_-1].length>0&&L.length>0&&!(I==="quoteDouble"&&h(h(v)).endsWith("\\"))?[...v.slice(0,-1),[...h(v),...L]]:[...v,L],[]).map(v=>B.proseWrap==="never"?[v.join(" ")]:v)}function G(I,S){let{parentIndent:B,isLastDescendant:O,options:v}=S,L=I.position.start.line===I.position.end.line?"":v.originalText.slice(I.position.start.offset,I.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],_;if(I.indent===null){let U=L.match(/^(?<leadingSpace> *)[^\n\r ]/m);_=U?U.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else _=I.indent-1+B;let z=L.split(`
122
- `).map(U=>U.slice(_));if(v.proseWrap==="preserve"||I.type==="blockLiteral")return J(z.map(U=>U.length===0?[]:[U]));return J(z.map(U=>U.length===0?[]:q(U)).reduce((U,K,se)=>se!==0&&z[se-1].length>0&&K.length>0&&!/^\s/.test(K[0])&&!/^\s|\s$/.test(h(U))?[...U.slice(0,-1),[...h(U),...K]]:[...U,K],[]).map(U=>U.reduce((K,se)=>K.length>0&&/\s$/.test(h(K))?[...K.slice(0,-1),h(K)+" "+se]:[...K,se],[])).map(U=>v.proseWrap==="never"?[U.join(" ")]:U));function J(U){if(I.chomping==="keep")return h(U).length===0?U.slice(0,-1):U;let K=0;for(let se=U.length-1;se>=0&&U[se].length===0;se--)K++;return K===0?U:K>=2&&!O?U.slice(0,-(K-1)):U.slice(0,-K)}}function Q(I){if(!I)return!0;switch(I.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}C.exports={getLast:h,getAncestorCount:x,isNode:c,isEmptyNode:b,isInlineNode:Q,mapNode:p,defineShortcut:g,isNextLineEmpty:y,isLastDescendantNode:A,getBlockValueLineContents:G,getFlowScalarLineContents:X,getLastDescendantNode:P,hasPrettierIgnore:N,hasLeadingComments:T,hasMiddleComments:$,hasIndicatorComment:W,hasTrailingComment:j,hasEndComments:R}}}),Xg=we({"src/language-yaml/print-preprocess.js"(m,C){Pe();var{defineShortcut:h,mapNode:D}=Vs();function x(p){return D(p,c)}function c(p){switch(p.type){case"document":h(p,"head",()=>p.children[0]),h(p,"body",()=>p.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":h(p,"content",()=>p.children[0]);break;case"mappingItem":case"flowMappingItem":h(p,"key",()=>p.children[0]),h(p,"value",()=>p.children[1]);break}return p}C.exports=x}}),Za=we({"src/language-yaml/print/misc.js"(m,C){Pe();var{builders:{softline:h,align:D}}=dt(),{hasEndComments:x,isNextLineEmpty:c,isNode:p}=Vs(),g=new WeakMap;function y(k,N){let b=k.getValue(),F=k.stack[0],T;return g.has(F)?T=g.get(F):(T=new Set,g.set(F,T)),!T.has(b.position.end.line)&&(T.add(b.position.end.line),c(b,N)&&!A(k.getParentNode()))?h:""}function A(k){return x(k)&&!p(k,["documentHead","documentBody","flowMapping","flowSequence"])}function P(k,N){return D(" ".repeat(k),N)}C.exports={alignWithSpaces:P,shouldPrintEndComments:A,printNextEmptyLine:y}}}),Qg=we({"src/language-yaml/print/flow-mapping-sequence.js"(m,C){Pe();var{builders:{ifBreak:h,line:D,softline:x,hardline:c,join:p}}=dt(),{isEmptyNode:g,getLast:y,hasEndComments:A}=Vs(),{printNextEmptyLine:P,alignWithSpaces:k}=Za();function N(F,T,$){let W=F.getValue(),j=W.type==="flowMapping",R=j?"{":"[",q=j?"}":"]",X=x;j&&W.children.length>0&&$.bracketSpacing&&(X=D);let G=y(W.children),Q=G&&G.type==="flowMappingItem"&&g(G.key)&&g(G.value);return[R,k($.tabWidth,[X,b(F,T,$),$.trailingComma==="none"?"":h(","),A(W)?[c,p(c,F.map(T,"endComments"))]:""]),Q?"":X,q]}function b(F,T,$){let W=F.getValue();return F.map((j,R)=>[T(),R===W.children.length-1?"":[",",D,W.children[R].position.start.line!==W.children[R+1].position.start.line?P(j,$.originalText):""]],"children")}C.exports={printFlowMapping:N,printFlowSequence:N}}}),Kg=we({"src/language-yaml/print/mapping-item.js"(m,C){Pe();var{builders:{conditionalGroup:h,group:D,hardline:x,ifBreak:c,join:p,line:g}}=dt(),{hasLeadingComments:y,hasMiddleComments:A,hasTrailingComment:P,hasEndComments:k,isNode:N,isEmptyNode:b,isInlineNode:F}=Vs(),{alignWithSpaces:T}=Za();function $(q,X,G,Q,I){let{key:S,value:B}=q,O=b(S),v=b(B);if(O&&v)return": ";let L=Q("key"),_=j(q)?" ":"";if(v)return q.type==="flowMappingItem"&&X.type==="flowMapping"?L:q.type==="mappingItem"&&W(S.content,I)&&!P(S.content)&&(!X.tag||X.tag.value!=="tag:yaml.org,2002:set")?[L,_,":"]:["? ",T(2,L)];let z=Q("value");if(O)return[": ",T(2,z)];if(y(B)||!F(S.content))return["? ",T(2,L),x,p("",G.map(Q,"value","leadingComments").map(fe=>[fe,x])),": ",T(2,z)];if(R(S.content)&&!y(S.content)&&!A(S.content)&&!P(S.content)&&!k(S)&&!y(B.content)&&!A(B.content)&&!k(B)&&W(B.content,I))return[L,_,": ",z];let J=Symbol("mappingKey"),U=D([c("? "),D(T(2,L),{id:J})]),K=[x,": ",T(2,z)],se=[_,":"];y(B.content)||k(B)&&B.content&&!N(B.content,["mapping","sequence"])||X.type==="mapping"&&P(S.content)&&F(B.content)||N(B.content,["mapping","sequence"])&&B.content.tag===null&&B.content.anchor===null?se.push(x):B.content&&se.push(g),se.push(z);let te=T(I.tabWidth,se);return W(S.content,I)&&!y(S.content)&&!A(S.content)&&!k(S)?h([[L,te]]):h([[U,c(K,te,{groupId:J})]])}function W(q,X){if(!q)return!0;switch(q.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(X.proseWrap==="preserve")return q.position.start.line===q.position.end.line;if(/\\$/m.test(X.originalText.slice(q.position.start.offset,q.position.end.offset)))return!1;switch(X.proseWrap){case"never":return!q.value.includes(`
123
- `);case"always":return!/[\n ]/.test(q.value);default:return!1}}function j(q){return q.key.content&&q.key.content.type==="alias"}function R(q){if(!q)return!0;switch(q.type){case"plain":case"quoteDouble":case"quoteSingle":return q.position.start.line===q.position.end.line;case"alias":return!0;default:return!1}}C.exports=$}}),Yg=we({"src/language-yaml/print/block.js"(m,C){Pe();var{builders:{dedent:h,dedentToRoot:D,fill:x,hardline:c,join:p,line:g,literalline:y,markAsRoot:A},utils:{getDocParts:P}}=dt(),{getAncestorCount:k,getBlockValueLineContents:N,hasIndicatorComment:b,isLastDescendantNode:F,isNode:T}=Vs(),{alignWithSpaces:$}=Za();function W(j,R,q){let X=j.getValue(),G=k(j,O=>T(O,["sequence","mapping"])),Q=F(j),I=[X.type==="blockFolded"?">":"|"];X.indent!==null&&I.push(X.indent.toString()),X.chomping!=="clip"&&I.push(X.chomping==="keep"?"+":"-"),b(X)&&I.push(" ",R("indicatorComment"));let S=N(X,{parentIndent:G,isLastDescendant:Q,options:q}),B=[];for(let[O,v]of S.entries())O===0&&B.push(c),B.push(x(P(p(g,v)))),O!==S.length-1?B.push(v.length===0?c:A(y)):X.chomping==="keep"&&Q&&B.push(D(v.length===0?c:y));return X.indent===null?I.push(h($(q.tabWidth,B))):I.push(D($(X.indent-1+G,B))),I}C.exports=W}}),Zg=we({"src/language-yaml/printer-yaml.js"(m,C){Pe();var{builders:{breakParent:h,fill:D,group:x,hardline:c,join:p,line:g,lineSuffix:y,literalline:A},utils:{getDocParts:P,replaceTextEndOfLine:k}}=dt(),{isPreviousLineEmpty:N}=Dr(),{insertPragma:b,isPragma:F}=Hg(),{locStart:T}=Wg(),$=Gg(),{getFlowScalarLineContents:W,getLastDescendantNode:j,hasLeadingComments:R,hasMiddleComments:q,hasTrailingComment:X,hasEndComments:G,hasPrettierIgnore:Q,isLastDescendantNode:I,isNode:S,isInlineNode:B}=Vs(),O=Xg(),{alignWithSpaces:v,printNextEmptyLine:L,shouldPrintEndComments:_}=Za(),{printFlowMapping:z,printFlowSequence:J}=Qg(),U=Kg(),K=Yg();function se(pe,Te,je){let Le=pe.getValue(),Qe=[];Le.type!=="mappingValue"&&R(Le)&&Qe.push([p(c,pe.map(je,"leadingComments")),c]);let{tag:he,anchor:De}=Le;he&&Qe.push(je("tag")),he&&De&&Qe.push(" "),De&&Qe.push(je("anchor"));let $e="";S(Le,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!I(pe)&&($e=L(pe,Te.originalText)),(he||De)&&(S(Le,["sequence","mapping"])&&!q(Le)?Qe.push(c):Qe.push(" ")),q(Le)&&Qe.push([Le.middleComments.length===1?"":c,p(c,pe.map(je,"middleComments")),c]);let Ze=pe.getParentNode();return Q(pe)?Qe.push(k(Te.originalText.slice(Le.position.start.offset,Le.position.end.offset).trimEnd(),A)):Qe.push(x(te(Le,Ze,pe,Te,je))),X(Le)&&!S(Le,["document","documentHead"])&&Qe.push(y([Le.type==="mappingValue"&&!Le.content?"":" ",Ze.type==="mappingKey"&&pe.getParentNode(2).type==="mapping"&&B(Le)?"":h,je("trailingComment")])),_(Le)&&Qe.push(v(Le.type==="sequenceItem"?2:0,[c,p(c,pe.map(ze=>[N(Te.originalText,ze.getValue(),T)?c:"",je()],"endComments"))])),Qe.push($e),Qe}function te(pe,Te,je,Le,Qe){switch(pe.type){case"root":{let{children:he}=pe,De=[];je.each((Ze,ze)=>{let ge=he[ze],ve=he[ze+1];ze!==0&&De.push(c),De.push(Qe()),ce(ge,ve)?(De.push(c,"..."),X(ge)&&De.push(" ",Qe("trailingComment"))):ve&&!X(ve.head)&&De.push(c,"---")},"children");let $e=j(pe);return(!S($e,["blockLiteral","blockFolded"])||$e.chomping!=="keep")&&De.push(c),De}case"document":{let he=Te.children[je.getName()+1],De=[];return ie(pe,he,Te,Le)==="head"&&((pe.head.children.length>0||pe.head.endComments.length>0)&&De.push(Qe("head")),X(pe.head)?De.push(["---"," ",Qe(["head","trailingComment"])]):De.push("---")),fe(pe)&&De.push(Qe("body")),p(c,De)}case"documentHead":return p(c,[...je.map(Qe,"children"),...je.map(Qe,"endComments")]);case"documentBody":{let{children:he,endComments:De}=pe,$e="";if(he.length>0&&De.length>0){let Ze=j(pe);S(Ze,["blockFolded","blockLiteral"])?Ze.chomping!=="keep"&&($e=[c,c]):$e=c}return[p(c,je.map(Qe,"children")),$e,p(c,je.map(Qe,"endComments"))]}case"directive":return["%",p(" ",[pe.name,...pe.parameters])];case"comment":return["#",pe.value];case"alias":return["*",pe.value];case"tag":return Le.originalText.slice(pe.position.start.offset,pe.position.end.offset);case"anchor":return["&",pe.value];case"plain":return ke(pe.type,Le.originalText.slice(pe.position.start.offset,pe.position.end.offset),Le);case"quoteDouble":case"quoteSingle":{let he="'",De='"',$e=Le.originalText.slice(pe.position.start.offset+1,pe.position.end.offset-1);if(pe.type==="quoteSingle"&&$e.includes("\\")||pe.type==="quoteDouble"&&/\\[^"]/.test($e)){let ze=pe.type==="quoteDouble"?De:he;return[ze,ke(pe.type,$e,Le),ze]}if($e.includes(De))return[he,ke(pe.type,pe.type==="quoteDouble"?$e.replace(/\\"/g,De).replace(/'/g,he.repeat(2)):$e,Le),he];if($e.includes(he))return[De,ke(pe.type,pe.type==="quoteSingle"?$e.replace(/''/g,he):$e,Le),De];let Ze=Le.singleQuote?he:De;return[Ze,ke(pe.type,$e,Le),Ze]}case"blockFolded":case"blockLiteral":return K(je,Qe,Le);case"mapping":case"sequence":return p(c,je.map(Qe,"children"));case"sequenceItem":return["- ",v(2,pe.content?Qe("content"):"")];case"mappingKey":case"mappingValue":return pe.content?Qe("content"):"";case"mappingItem":case"flowMappingItem":return U(pe,Te,je,Qe,Le);case"flowMapping":return z(je,Qe,Le);case"flowSequence":return J(je,Qe,Le);case"flowSequenceItem":return Qe("content");default:throw new Error("Unexpected node type ".concat(pe.type))}}function fe(pe){return pe.body.children.length>0||G(pe.body)}function ce(pe,Te){return X(pe)||Te&&(Te.head.children.length>0||G(Te.head))}function ie(pe,Te,je,Le){return je.children[0]===pe&&/---(?:\s|$)/.test(Le.originalText.slice(T(pe),T(pe)+4))||pe.head.children.length>0||G(pe.head)||X(pe.head)?"head":ce(pe,Te)?!1:Te?"root":!1}function ke(pe,Te,je){let Le=W(pe,Te,je);return p(c,Le.map(Qe=>D(P(p(g,Qe)))))}function de(pe,Te){if(S(Te))switch(delete Te.position,Te.type){case"comment":if(F(Te.value))return null;break;case"quoteDouble":case"quoteSingle":Te.type="quote";break}}C.exports={preprocess:O,embed:$,print:se,massageAstNode:de,insertPragma:b}}}),e1=we({"src/language-yaml/options.js"(m,C){Pe();var h=Os();C.exports={bracketSpacing:h.bracketSpacing,singleQuote:h.singleQuote,proseWrap:h.proseWrap}}}),t1=we({"src/language-yaml/parsers.js"(){Pe()}}),r1=we({"node_modules/linguist-languages/data/YAML.json"(m,C){C.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),n1=we({"src/language-yaml/index.js"(m,C){Pe();var h=ms(),D=Zg(),x=e1(),c=t1(),p=[h(r1(),g=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...g.filenames.filter(y=>y!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];C.exports={languages:p,printers:{yaml:D},options:x,parsers:c}}}),i1=we({"src/languages.js"(m,C){Pe(),C.exports=[Vm(),rg(),cg(),xg(),Fg(),$g(),n1()]}});Pe();var{version:s1}=bi(),Ms=rm(),{getSupportInfo:a1}=ro(),u1=nm(),o1=i1(),l1=dt();function gs(m){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var h=arguments.length,D=new Array(h),x=0;x<h;x++)D[x]=arguments[x];let c=D[C]||{},p=c.plugins||[];return D[C]=Object.assign(Object.assign({},c),{},{plugins:[...o1,...Array.isArray(p)?p:Object.values(p)]}),m(...D)}}var bo=gs(Ms.formatWithCursor);Ge.exports={formatWithCursor:bo,format(m,C){return bo(m,C).formatted},check(m,C){let{formatted:h}=bo(m,C);return h===m},doc:l1,getSupportInfo:gs(a1,0),version:s1,util:u1,__debug:{parse:gs(Ms.parse),formatAST:gs(Ms.formatAST),formatDoc:gs(Ms.formatDoc),printToDoc:gs(Ms.printToDoc),printDocToString:gs(Ms.printDocToString)}}});return ps()})}});function rp(e){if(e)throw e}var w1=ea(uh(),1),np=ea(b1(),1);function $o(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function k1(){const e=[],t={run:r,use:n};return t;function r(...i){let a=-1;const u=i.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);o(null,...i);function o(d,...E){const w=e[++a];let M=-1;if(d){u(d);return}for(;++M<i.length;)(E[M]===null||E[M]===void 0)&&(E[M]=i[M]);i=E,w?B1(w,o)(...E):u(null,...E)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function B1(e,t){let r;return n;function n(...u){const o=e.length>u.length;let d;o&&u.push(i);try{d=e.apply(this,u)}catch(E){const w=E;if(o&&r)throw w;return i(w)}o||(d instanceof Promise?d.then(a,i):d instanceof Error?i(d):a(d))}function i(u,...o){r||(r=!0,t(u,...o))}function a(u){i(null,u)}}var T1=ea(uh(),1);function ki(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ip(e.position):"start"in e||"end"in e?ip(e):"line"in e||"column"in e?Ho(e):""}function Ho(e){return sp(e&&e.line)+":"+sp(e&&e.column)}function ip(e){return Ho(e&&e.start)+"-"+Ho(e&&e.end)}function sp(e){return e&&typeof e=="number"?e:1}var Rr=class extends Error{constructor(e,t,r){const n=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(r=t,t=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?n[1]=r:(n[0]=r.slice(0,a),n[1]=r.slice(a+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=ki(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}};Rr.prototype.file="";Rr.prototype.name="";Rr.prototype.reason="";Rr.prototype.message="";Rr.prototype.stack="";Rr.prototype.fatal=null;Rr.prototype.column=null;Rr.prototype.line=null;Rr.prototype.source=null;Rr.prototype.ruleId=null;Rr.prototype.position=null;var Si={basename:_1,dirname:N1,extname:I1,join:P1,sep:"/"};function _1(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ka(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let u=-1,o=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){r=i+1;break}}else u<0&&(a=!0,u=i+1),o>-1&&(e.charCodeAt(i)===t.charCodeAt(o--)?o<0&&(n=i):(o=-1,n=u));return r===n?n=u:n<0&&(n=e.length),e.slice(r,n)}function N1(e){if(ka(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.charCodeAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function I1(e){ka(e);let t=e.length,r=-1,n=0,i=-1,a=0,u;for(;t--;){const o=e.charCodeAt(t);if(o===47){if(u){n=t+1;break}continue}r<0&&(u=!0,r=t+1),o===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function P1(...e){let t=-1,r;for(;++t<e.length;)ka(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":L1(r)}function L1(e){ka(e);const t=e.charCodeAt(0)===47;let r=O1(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.charCodeAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function O1(e,t){let r="",n=0,i=-1,a=0,u=-1,o,d;for(;++u<=e.length;){if(u<e.length)o=e.charCodeAt(u);else{if(o===47)break;o=47}if(o===47){if(!(i===u-1||a===1))if(i!==u-1&&a===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){if(d=r.lastIndexOf("/"),d!==r.length-1){d<0?(r="",n=0):(r=r.slice(0,d),n=r.length-1-r.lastIndexOf("/")),i=u,a=0;continue}}else if(r.length>0){r="",n=0,i=u,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,u):r=e.slice(i+1,u),n=u-i-1;i=u,a=0}else o===46&&a>-1?a++:a=-1}return r}function ka(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var j1={cwd:V1};function V1(){return"/"}function Wo(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function M1(e){if(typeof e=="string")e=new URL(e);else if(!Wo(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return R1(e)}function R1(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.charCodeAt(r)===37&&t.charCodeAt(r+1)===50){const n=t.charCodeAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var Fo=["history","path","basename","stem","extname","dirname"],J1=class{constructor(e){let t;e?typeof e=="string"||(0,T1.default)(e)?t={value:e}:Wo(e)?t={path:e}:t=e:t={},this.data={},this.messages=[],this.history=[],this.cwd=j1.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<Fo.length;){const i=Fo[r];i in t&&t[i]!==void 0&&(this[i]=i==="history"?[...t[i]]:t[i])}let n;for(n in t)Fo.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){Wo(e)&&(e=M1(e)),wo(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return typeof this.path=="string"?Si.dirname(this.path):void 0}set dirname(e){ap(this.basename,"dirname"),this.path=Si.join(e||"",this.basename)}get basename(){return typeof this.path=="string"?Si.basename(this.path):void 0}set basename(e){wo(e,"basename"),So(e,"basename"),this.path=Si.join(this.dirname||"",e)}get extname(){return typeof this.path=="string"?Si.extname(this.path):void 0}set extname(e){if(So(e,"extname"),ap(this.dirname,"extname"),e){if(e.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Si.join(this.dirname,this.stem+(e||""))}get stem(){return typeof this.path=="string"?Si.basename(this.path,this.extname):void 0}set stem(e){wo(e,"stem"),So(e,"stem"),this.path=Si.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const n=new Rr(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}};function So(e,t){if(e&&e.includes(Si.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Si.sep+"`")}function wo(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ap(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var U1=ch().freeze(),lh={}.hasOwnProperty;function ch(){const e=k1(),t=[];let r={},n,i=-1;return a.data=u,a.Parser=void 0,a.Compiler=void 0,a.freeze=o,a.attachers=t,a.use=d,a.parse=E,a.stringify=w,a.run=M,a.runSync=re,a.process=ue,a.processSync=le,a;function a(){const Se=ch();let _e=-1;for(;++_e<t.length;)Se.use(...t[_e]);return Se.data((0,np.default)(!0,{},r)),Se}function u(Se,_e){return typeof Se=="string"?arguments.length===2?(To("data",n),r[Se]=_e,a):lh.call(r,Se)&&r[Se]||null:Se?(To("data",n),r=Se,a):r}function o(){if(n)return a;for(;++i<t.length;){const[Se,..._e]=t[i];if(_e[0]===!1)continue;_e[0]===!0&&(_e[0]=void 0);const ye=Se.call(a,..._e);typeof ye=="function"&&e.use(ye)}return n=!0,i=Number.POSITIVE_INFINITY,a}function d(Se,..._e){let ye;if(To("use",n),Se!=null)if(typeof Se=="function")Me(Se,..._e);else if(typeof Se=="object")Array.isArray(Se)?gt(Se):Ve(Se);else throw new TypeError("Expected usable value, not `"+Se+"`");return ye&&(r.settings=Object.assign(r.settings||{},ye)),a;function tt(f){if(typeof f=="function")Me(f);else if(typeof f=="object")if(Array.isArray(f)){const[Y,...me]=f;Me(Y,...me)}else Ve(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function Ve(f){gt(f.plugins),f.settings&&(ye=Object.assign(ye||{},f.settings))}function gt(f){let Y=-1;if(f!=null)if(Array.isArray(f))for(;++Y<f.length;){const me=f[Y];tt(me)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function Me(f,Y){let me=-1,be;for(;++me<t.length;)if(t[me][0]===f){be=t[me];break}be?($o(be[1])&&$o(Y)&&(Y=(0,np.default)(!0,be[1],Y)),be[1]=Y):t.push([...arguments])}}function E(Se){a.freeze();const _e=ma(Se),ye=a.Parser;return ko("parse",ye),up(ye,"parse")?new ye(String(_e),_e).parse():ye(String(_e),_e)}function w(Se,_e){a.freeze();const ye=ma(_e),tt=a.Compiler;return Bo("stringify",tt),op(Se),up(tt,"compile")?new tt(Se,ye).compile():tt(Se,ye)}function M(Se,_e,ye){if(op(Se),a.freeze(),!ye&&typeof _e=="function"&&(ye=_e,_e=void 0),!ye)return new Promise(tt);tt(null,ye);function tt(Ve,gt){e.run(Se,ma(_e),Me);function Me(f,Y,me){Y=Y||Se,f?gt(f):Ve?Ve(Y):ye(null,Y,me)}}}function re(Se,_e){let ye,tt;return a.run(Se,_e,Ve),lp("runSync","run",tt),ye;function Ve(gt,Me){rp(gt),ye=Me,tt=!0}}function ue(Se,_e){if(a.freeze(),ko("process",a.Parser),Bo("process",a.Compiler),!_e)return new Promise(ye);ye(null,_e);function ye(tt,Ve){const gt=ma(Se);a.run(a.parse(gt),gt,(f,Y,me)=>{if(f||!Y||!me)Me(f);else{const be=a.stringify(Y,me);be==null||($1(be)?me.value=be:me.result=be),Me(f,me)}});function Me(f,Y){f||!Y?Ve(f):tt?tt(Y):_e(null,Y)}}}function le(Se){let _e;a.freeze(),ko("processSync",a.Parser),Bo("processSync",a.Compiler);const ye=ma(Se);return a.process(ye,tt),lp("processSync","process",_e),ye;function tt(Ve){_e=!0,rp(Ve)}}}function up(e,t){return typeof e=="function"&&e.prototype&&(z1(e.prototype)||t in e.prototype)}function z1(e){let t;for(t in e)if(lh.call(e,t))return!0;return!1}function ko(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Bo(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function To(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function op(e){if(!$o(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function lp(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ma(e){return q1(e)?e:new J1(e)}function q1(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function $1(e){return typeof e=="string"||(0,w1.default)(e)}function Fu(e,t){var{includeImageAlt:r=!0}=t||{};return ph(e,r)}function ph(e,t){return e&&typeof e=="object"&&(e.value||(t?e.alt:"")||"children"in e&&cp(e.children,t)||Array.isArray(e)&&cp(e,t))||""}function cp(e,t){for(var r=[],n=-1;++n<e.length;)r[n]=ph(e[n],t);return r.join("")}function ni(e,t,r,n){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),[].splice.apply(e,u);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)u=n.slice(a,a+1e4),u.unshift(t,0),[].splice.apply(e,u),a+=1e4,t+=1e4}function ri(e,t){return e.length>0?(ni(e,e.length,0,t),e):t}var pp={}.hasOwnProperty;function gl(e){const t={};let r=-1;for(;++r<e.length;)H1(t,e[r]);return t}function H1(e,t){let r;for(r in t){const i=(pp.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let u;for(u in a){pp.call(i,u)||(i[u]=[]);const o=a[u];W1(i[u],Array.isArray(o)?o:o?[o]:[])}}}function W1(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);ni(e,0,0,n)}var G1=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,wi=as(/[A-Za-z]/),Go=as(/\d/),X1=as(/[\dA-Fa-f]/),vi=as(/[\dA-Za-z]/),Q1=as(/[!-/:-@[-`{-~]/),hp=as(/[#-'*+\--9=?A-Z^-~]/);function Xo(e){return e!==null&&(e<32||e===127)}function on(e){return e!==null&&(e<0||e===32)}function Xt(e){return e!==null&&e<-2}function ln(e){return e===-2||e===-1||e===32}var In=as(/\s/),K1=as(G1);function as(e){return t;function t(r){return r!==null&&e.test(String.fromCharCode(r))}}function kr(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(d){return ln(d)?(e.enter(r),o(d)):t(d)}function o(d){return ln(d)&&a++<i?(e.consume(d),o):(e.exit(r),t(d))}}var Y1={tokenize:Z1};function Z1(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),kr(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const d=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=d),r=d,u(o)}function u(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return Xt(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),u)}}var ex={tokenize:tx},fp={tokenize:rx};function tx(e){const t=this,r=[];let n=0,i,a,u;return o;function o(Ve){if(n<r.length){const gt=r[n];return t.containerState=gt[1],e.attempt(gt[0].continuation,d,E)(Ve)}return E(Ve)}function d(Ve){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&tt();const gt=t.events.length;let Me=gt,f;for(;Me--;)if(t.events[Me][0]==="exit"&&t.events[Me][1].type==="chunkFlow"){f=t.events[Me][1].end;break}ye(n);let Y=gt;for(;Y<t.events.length;)t.events[Y][1].end=Object.assign({},f),Y++;return ni(t.events,Me+1,0,t.events.slice(gt)),t.events.length=Y,E(Ve)}return o(Ve)}function E(Ve){if(n===r.length){if(!i)return re(Ve);if(i.currentConstruct&&i.currentConstruct.concrete)return le(Ve);t.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(fp,w,M)(Ve)}function w(Ve){return i&&tt(),ye(n),re(Ve)}function M(Ve){return t.parser.lazy[t.now().line]=n!==r.length,u=t.now().offset,le(Ve)}function re(Ve){return t.containerState={},e.attempt(fp,ue,le)(Ve)}function ue(Ve){return n++,r.push([t.currentConstruct,t.containerState]),re(Ve)}function le(Ve){if(Ve===null){i&&tt(),ye(0),e.consume(Ve);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),Se(Ve)}function Se(Ve){if(Ve===null){_e(e.exit("chunkFlow"),!0),ye(0),e.consume(Ve);return}return Xt(Ve)?(e.consume(Ve),_e(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(Ve),Se)}function _e(Ve,gt){const Me=t.sliceStream(Ve);if(gt&&Me.push(null),Ve.previous=a,a&&(a.next=Ve),a=Ve,i.defineSkip(Ve.start),i.write(Me),t.parser.lazy[Ve.start.line]){let f=i.events.length;for(;f--;)if(i.events[f][1].start.offset<u&&(!i.events[f][1].end||i.events[f][1].end.offset>u))return;const Y=t.events.length;let me=Y,be,pt;for(;me--;)if(t.events[me][0]==="exit"&&t.events[me][1].type==="chunkFlow"){if(be){pt=t.events[me][1].end;break}be=!0}for(ye(n),f=Y;f<t.events.length;)t.events[f][1].end=Object.assign({},pt),f++;ni(t.events,me+1,0,t.events.slice(Y)),t.events.length=f}}function ye(Ve){let gt=r.length;for(;gt-- >Ve;){const Me=r[gt];t.containerState=Me[1],Me[0].exit.call(t,e)}r.length=Ve}function tt(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function rx(e,t,r){return kr(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function dp(e){if(e===null||on(e)||In(e))return 1;if(K1(e))return 2}function Su(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}var Hs={name:"attention",tokenize:ix,resolveAll:nx};function nx(e,t){let r=-1,n,i,a,u,o,d,E,w;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;d=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const M=Object.assign({},e[n][1].end),re=Object.assign({},e[r][1].start);mp(M,-d),mp(re,d),u={type:d>1?"strongSequence":"emphasisSequence",start:M,end:Object.assign({},e[n][1].end)},o={type:d>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[r][1].start),end:re},a={type:d>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},i={type:d>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},u.start),e[r][1].start=Object.assign({},o.end),E=[],e[n][1].end.offset-e[n][1].start.offset&&(E=ri(E,[["enter",e[n][1],t],["exit",e[n][1],t]])),E=ri(E,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),E=ri(E,Su(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),E=ri(E,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(w=2,E=ri(E,[["enter",e[r][1],t],["exit",e[r][1],t]])):w=0,ni(e,n-1,r-n+3,E),r=n+E.length-w-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function ix(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=dp(n);let a;return u;function u(d){return e.enter("attentionSequence"),a=d,o(d)}function o(d){if(d===a)return e.consume(d),o;const E=e.exit("attentionSequence"),w=dp(d),M=!w||w===2&&i||r.includes(d),re=!i||i===2&&w||r.includes(n);return E._open=Boolean(a===42?M:M&&(i||!re)),E._close=Boolean(a===42?re:re&&(w||!M)),t(d)}}function mp(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var hh={name:"autolink",tokenize:sx};function sx(e,t,r){let n=1;return i;function i(le){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(le),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(le){return wi(le)?(e.consume(le),u):hp(le)?E(le):r(le)}function u(le){return le===43||le===45||le===46||vi(le)?o(le):E(le)}function o(le){return le===58?(e.consume(le),d):(le===43||le===45||le===46||vi(le))&&n++<32?(e.consume(le),o):E(le)}function d(le){return le===62?(e.exit("autolinkProtocol"),ue(le)):le===null||le===32||le===60||Xo(le)?r(le):(e.consume(le),d)}function E(le){return le===64?(e.consume(le),n=0,w):hp(le)?(e.consume(le),E):r(le)}function w(le){return vi(le)?M(le):r(le)}function M(le){return le===46?(e.consume(le),n=0,w):le===62?(e.exit("autolinkProtocol").type="autolinkEmail",ue(le)):re(le)}function re(le){return(le===45||vi(le))&&n++<63?(e.consume(le),le===45?re:M):r(le)}function ue(le){return e.enter("autolinkMarker"),e.consume(le),e.exit("autolinkMarker"),e.exit("autolink"),t}}var ta={tokenize:ax,partial:!0};function ax(e,t,r){return kr(e,n,"linePrefix");function n(i){return i===null||Xt(i)?t(i):r(i)}}var xl={name:"blockQuote",tokenize:ux,continuation:{tokenize:ox},exit:lx};function ux(e,t,r){const n=this;return i;function i(u){if(u===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return r(u)}function a(u){return ln(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function ox(e,t,r){return kr(e,e.attempt(xl,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function lx(e){e.exit("blockQuote")}var wu={name:"characterEscape",tokenize:cx};function cx(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return Q1(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var gp=document.createElement("i");function Ws(e){const t="&"+e+";";gp.innerHTML=t;const r=gp.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}var ku={name:"characterReference",tokenize:px};function px(e,t,r){const n=this;let i=0,a,u;return o;function o(M){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(M),e.exit("characterReferenceMarker"),d}function d(M){return M===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(M),e.exit("characterReferenceMarkerNumeric"),E):(e.enter("characterReferenceValue"),a=31,u=vi,w(M))}function E(M){return M===88||M===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(M),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=X1,w):(e.enter("characterReferenceValue"),a=7,u=Go,w(M))}function w(M){let re;return M===59&&i?(re=e.exit("characterReferenceValue"),u===vi&&!Ws(n.sliceSerialize(re))?r(M):(e.enter("characterReferenceMarker"),e.consume(M),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):u(M)&&i++<a?(e.consume(M),w):r(M)}}var lu={name:"codeFenced",tokenize:hx,concrete:!0};function hx(e,t,r){const n=this,i={tokenize:Me,partial:!0},a={tokenize:gt,partial:!0},u=this.events[this.events.length-1],o=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0;let d=0,E;return w;function w(f){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),E=f,M(f)}function M(f){return f===E?(e.consume(f),d++,M):(e.exit("codeFencedFenceSequence"),d<3?r(f):kr(e,re,"whitespace")(f))}function re(f){return f===null||Xt(f)?_e(f):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),ue(f))}function ue(f){return f===null||on(f)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),kr(e,le,"whitespace")(f)):f===96&&f===E?r(f):(e.consume(f),ue)}function le(f){return f===null||Xt(f)?_e(f):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),Se(f))}function Se(f){return f===null||Xt(f)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),_e(f)):f===96&&f===E?r(f):(e.consume(f),Se)}function _e(f){return e.exit("codeFencedFence"),n.interrupt?t(f):ye(f)}function ye(f){return f===null?Ve(f):Xt(f)?e.attempt(a,e.attempt(i,Ve,o?kr(e,ye,"linePrefix",o+1):ye),Ve)(f):(e.enter("codeFlowValue"),tt(f))}function tt(f){return f===null||Xt(f)?(e.exit("codeFlowValue"),ye(f)):(e.consume(f),tt)}function Ve(f){return e.exit("codeFenced"),t(f)}function gt(f,Y,me){const be=this;return pt;function pt(qe){return f.enter("lineEnding"),f.consume(qe),f.exit("lineEnding"),Ie}function Ie(qe){return be.parser.lazy[be.now().line]?me(qe):Y(qe)}}function Me(f,Y,me){let be=0;return kr(f,pt,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function pt(St){return f.enter("codeFencedFence"),f.enter("codeFencedFenceSequence"),Ie(St)}function Ie(St){return St===E?(f.consume(St),be++,Ie):be<d?me(St):(f.exit("codeFencedFenceSequence"),kr(f,qe,"whitespace")(St))}function qe(St){return St===null||Xt(St)?(f.exit("codeFencedFence"),Y(St)):me(St)}}}var zs={name:"codeIndented",tokenize:dx},fx={tokenize:mx,partial:!0};function dx(e,t,r){const n=this;return i;function i(E){return e.enter("codeIndented"),kr(e,a,"linePrefix",4+1)(E)}function a(E){const w=n.events[n.events.length-1];return w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?u(E):r(E)}function u(E){return E===null?d(E):Xt(E)?e.attempt(fx,u,d)(E):(e.enter("codeFlowValue"),o(E))}function o(E){return E===null||Xt(E)?(e.exit("codeFlowValue"),u(E)):(e.consume(E),o)}function d(E){return e.exit("codeIndented"),t(E)}}function mx(e,t,r){const n=this;return i;function i(u){return n.parser.lazy[n.now().line]?r(u):Xt(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):kr(e,a,"linePrefix",4+1)(u)}function a(u){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(u):Xt(u)?i(u):r(u)}}var fh={name:"codeText",tokenize:Dx,resolve:gx,previous:xx};function gx(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function xx(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Dx(e,t,r){let n=0,i,a;return u;function u(M){return e.enter("codeText"),e.enter("codeTextSequence"),o(M)}function o(M){return M===96?(e.consume(M),n++,o):(e.exit("codeTextSequence"),d(M))}function d(M){return M===null?r(M):M===96?(a=e.enter("codeTextSequence"),i=0,w(M)):M===32?(e.enter("space"),e.consume(M),e.exit("space"),d):Xt(M)?(e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),d):(e.enter("codeTextData"),E(M))}function E(M){return M===null||M===32||M===96||Xt(M)?(e.exit("codeTextData"),d(M)):(e.consume(M),E)}function w(M){return M===96?(e.consume(M),i++,w):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(M)):(a.type="codeTextData",E(M))}}function Dl(e){const t={};let r=-1,n,i,a,u,o,d,E;for(;++r<e.length;){for(;r in t;)r=t[r];if(n=e[r],r&&n[1].type==="chunkFlow"&&e[r-1][1].type==="listItemPrefix"&&(d=n[1]._tokenizer.events,a=0,a<d.length&&d[a][1].type==="lineEndingBlank"&&(a+=2),a<d.length&&d[a][1].type==="content"))for(;++a<d.length&&d[a][1].type!=="content";)d[a][1].type==="chunkText"&&(d[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,yx(e,r)),r=t[r],E=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(u=e[a],u[1].type==="lineEnding"||u[1].type==="lineEndingBlank");)u[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},e[i][1].start),o=e.slice(i,r),o.unshift(n),ni(e,i,r-i+1,o))}}return!E}function yx(e,t){const r=e[t][1],n=e[t][2];let i=t-1;const a=[],u=r._tokenizer||n.parser[r.contentType](r.start),o=u.events,d=[],E={};let w,M,re=-1,ue=r,le=0,Se=0;const _e=[Se];for(;ue;){for(;e[++i][1]!==ue;);a.push(i),ue._tokenizer||(w=n.sliceStream(ue),ue.next||w.push(null),M&&u.defineSkip(ue.start),ue._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(w),ue._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),M=ue,ue=ue.next}for(ue=r;++re<o.length;)o[re][0]==="exit"&&o[re-1][0]==="enter"&&o[re][1].type===o[re-1][1].type&&o[re][1].start.line!==o[re][1].end.line&&(Se=re+1,_e.push(Se),ue._tokenizer=void 0,ue.previous=void 0,ue=ue.next);for(u.events=[],ue?(ue._tokenizer=void 0,ue.previous=void 0):_e.pop(),re=_e.length;re--;){const ye=o.slice(_e[re],_e[re+1]),tt=a.pop();d.unshift([tt,tt+ye.length-1]),ni(e,tt,2,ye)}for(re=-1;++re<d.length;)E[le+d[re][0]]=le+d[re][1],le+=d[re][1]-d[re][0]-1;return E}var dh={tokenize:Ex,resolve:Cx},vx={tokenize:Ax,partial:!0};function Cx(e){return Dl(e),e}function Ex(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):Xt(o)?e.check(vx,u,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function u(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function Ax(e,t,r){const n=this;return i;function i(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),kr(e,a,"linePrefix")}function a(u){if(u===null||Xt(u))return r(u);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(u):e.interrupt(n.parser.constructs.flow,r,t)(u)}}function mh(e,t,r,n,i,a,u,o,d){const E=d||Number.POSITIVE_INFINITY;let w=0;return M;function M(ye){return ye===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(ye),e.exit(a),re):ye===null||ye===41||Xo(ye)?r(ye):(e.enter(n),e.enter(u),e.enter(o),e.enter("chunkString",{contentType:"string"}),Se(ye))}function re(ye){return ye===62?(e.enter(a),e.consume(ye),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),ue(ye))}function ue(ye){return ye===62?(e.exit("chunkString"),e.exit(o),re(ye)):ye===null||ye===60||Xt(ye)?r(ye):(e.consume(ye),ye===92?le:ue)}function le(ye){return ye===60||ye===62||ye===92?(e.consume(ye),ue):ue(ye)}function Se(ye){return ye===40?++w>E?r(ye):(e.consume(ye),Se):ye===41?w--?(e.consume(ye),Se):(e.exit("chunkString"),e.exit(o),e.exit(u),e.exit(n),t(ye)):ye===null||on(ye)?w?r(ye):(e.exit("chunkString"),e.exit(o),e.exit(u),e.exit(n),t(ye)):Xo(ye)?r(ye):(e.consume(ye),ye===92?_e:Se)}function _e(ye){return ye===40||ye===41||ye===92?(e.consume(ye),Se):Se(ye)}}function gh(e,t,r,n,i,a){const u=this;let o=0,d;return E;function E(ue){return e.enter(n),e.enter(i),e.consume(ue),e.exit(i),e.enter(a),w}function w(ue){return ue===null||ue===91||ue===93&&!d||ue===94&&!o&&"_hiddenFootnoteSupport"in u.parser.constructs||o>999?r(ue):ue===93?(e.exit(a),e.enter(i),e.consume(ue),e.exit(i),e.exit(n),t):Xt(ue)?(e.enter("lineEnding"),e.consume(ue),e.exit("lineEnding"),w):(e.enter("chunkString",{contentType:"string"}),M(ue))}function M(ue){return ue===null||ue===91||ue===93||Xt(ue)||o++>999?(e.exit("chunkString"),w(ue)):(e.consume(ue),d=d||!ln(ue),ue===92?re:M)}function re(ue){return ue===91||ue===92||ue===93?(e.consume(ue),o++,M):M(ue)}}function xh(e,t,r,n,i,a){let u;return o;function o(re){return e.enter(n),e.enter(i),e.consume(re),e.exit(i),u=re===40?41:re,d}function d(re){return re===u?(e.enter(i),e.consume(re),e.exit(i),e.exit(n),t):(e.enter(a),E(re))}function E(re){return re===u?(e.exit(a),d(u)):re===null?r(re):Xt(re)?(e.enter("lineEnding"),e.consume(re),e.exit("lineEnding"),kr(e,E,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),w(re))}function w(re){return re===u||re===null||Xt(re)?(e.exit("chunkString"),E(re)):(e.consume(re),re===92?M:w)}function M(re){return re===u||re===92?(e.consume(re),w):w(re)}}function ya(e,t){let r;return n;function n(i){return Xt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):ln(i)?kr(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function ji(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Dh={name:"definition",tokenize:Fx},bx={tokenize:Sx,partial:!0};function Fx(e,t,r){const n=this;let i;return a;function a(d){return e.enter("definition"),gh.call(n,e,u,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function u(d){return i=ji(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),ya(e,mh(e,e.attempt(bx,kr(e,o,"whitespace"),kr(e,o,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(d)}function o(d){return d===null||Xt(d)?(e.exit("definition"),n.parser.defined.includes(i)||n.parser.defined.push(i),t(d)):r(d)}}function Sx(e,t,r){return n;function n(u){return on(u)?ya(e,i)(u):r(u)}function i(u){return u===34||u===39||u===40?xh(e,kr(e,a,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(u):r(u)}function a(u){return u===null||Xt(u)?t(u):r(u)}}var yh={name:"hardBreakEscape",tokenize:wx};function wx(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),i}function i(a){return Xt(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):r(a)}}var vh={name:"headingAtx",tokenize:Bx,resolve:kx};function kx(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},ni(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Bx(e,t,r){const n=this;let i=0;return a;function a(w){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),u(w)}function u(w){return w===35&&i++<6?(e.consume(w),u):w===null||on(w)?(e.exit("atxHeadingSequence"),n.interrupt?t(w):o(w)):r(w)}function o(w){return w===35?(e.enter("atxHeadingSequence"),d(w)):w===null||Xt(w)?(e.exit("atxHeading"),t(w)):ln(w)?kr(e,o,"whitespace")(w):(e.enter("atxHeadingText"),E(w))}function d(w){return w===35?(e.consume(w),d):(e.exit("atxHeadingSequence"),o(w))}function E(w){return w===null||w===35||on(w)?(e.exit("atxHeadingText"),o(w)):(e.consume(w),E)}}var Tx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],xp=["pre","script","style","textarea"],Ch={name:"htmlFlow",tokenize:Ix,resolveTo:Nx,concrete:!0},_x={tokenize:Px,partial:!0};function Nx(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ix(e,t,r){const n=this;let i,a,u,o,d;return E;function E(Ne){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(Ne),w}function w(Ne){return Ne===33?(e.consume(Ne),M):Ne===47?(e.consume(Ne),le):Ne===63?(e.consume(Ne),i=3,n.interrupt?t:dr):wi(Ne)?(e.consume(Ne),u=String.fromCharCode(Ne),a=!0,Se):r(Ne)}function M(Ne){return Ne===45?(e.consume(Ne),i=2,re):Ne===91?(e.consume(Ne),i=5,u="CDATA[",o=0,ue):wi(Ne)?(e.consume(Ne),i=4,n.interrupt?t:dr):r(Ne)}function re(Ne){return Ne===45?(e.consume(Ne),n.interrupt?t:dr):r(Ne)}function ue(Ne){return Ne===u.charCodeAt(o++)?(e.consume(Ne),o===u.length?n.interrupt?t:Ie:ue):r(Ne)}function le(Ne){return wi(Ne)?(e.consume(Ne),u=String.fromCharCode(Ne),Se):r(Ne)}function Se(Ne){return Ne===null||Ne===47||Ne===62||on(Ne)?Ne!==47&&a&&xp.includes(u.toLowerCase())?(i=1,n.interrupt?t(Ne):Ie(Ne)):Tx.includes(u.toLowerCase())?(i=6,Ne===47?(e.consume(Ne),_e):n.interrupt?t(Ne):Ie(Ne)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(Ne):a?tt(Ne):ye(Ne)):Ne===45||vi(Ne)?(e.consume(Ne),u+=String.fromCharCode(Ne),Se):r(Ne)}function _e(Ne){return Ne===62?(e.consume(Ne),n.interrupt?t:Ie):r(Ne)}function ye(Ne){return ln(Ne)?(e.consume(Ne),ye):be(Ne)}function tt(Ne){return Ne===47?(e.consume(Ne),be):Ne===58||Ne===95||wi(Ne)?(e.consume(Ne),Ve):ln(Ne)?(e.consume(Ne),tt):be(Ne)}function Ve(Ne){return Ne===45||Ne===46||Ne===58||Ne===95||vi(Ne)?(e.consume(Ne),Ve):gt(Ne)}function gt(Ne){return Ne===61?(e.consume(Ne),Me):ln(Ne)?(e.consume(Ne),gt):tt(Ne)}function Me(Ne){return Ne===null||Ne===60||Ne===61||Ne===62||Ne===96?r(Ne):Ne===34||Ne===39?(e.consume(Ne),d=Ne,f):ln(Ne)?(e.consume(Ne),Me):(d=null,Y(Ne))}function f(Ne){return Ne===null||Xt(Ne)?r(Ne):Ne===d?(e.consume(Ne),me):(e.consume(Ne),f)}function Y(Ne){return Ne===null||Ne===34||Ne===39||Ne===60||Ne===61||Ne===62||Ne===96||on(Ne)?gt(Ne):(e.consume(Ne),Y)}function me(Ne){return Ne===47||Ne===62||ln(Ne)?tt(Ne):r(Ne)}function be(Ne){return Ne===62?(e.consume(Ne),pt):r(Ne)}function pt(Ne){return ln(Ne)?(e.consume(Ne),pt):Ne===null||Xt(Ne)?Ie(Ne):r(Ne)}function Ie(Ne){return Ne===45&&i===2?(e.consume(Ne),Ar):Ne===60&&i===1?(e.consume(Ne),Qt):Ne===62&&i===4?(e.consume(Ne),Br):Ne===63&&i===3?(e.consume(Ne),dr):Ne===93&&i===5?(e.consume(Ne),qt):Xt(Ne)&&(i===6||i===7)?e.check(_x,Br,qe)(Ne):Ne===null||Xt(Ne)?qe(Ne):(e.consume(Ne),Ie)}function qe(Ne){return e.exit("htmlFlowData"),St(Ne)}function St(Ne){return Ne===null?Oe(Ne):Xt(Ne)?e.attempt({tokenize:fr,partial:!0},St,Oe)(Ne):(e.enter("htmlFlowData"),Ie(Ne))}function fr(Ne,pn,dn){return Cn;function Cn(Qr){return Ne.enter("lineEnding"),Ne.consume(Qr),Ne.exit("lineEnding"),sr}function sr(Qr){return n.parser.lazy[n.now().line]?dn(Qr):pn(Qr)}}function Ar(Ne){return Ne===45?(e.consume(Ne),dr):Ie(Ne)}function Qt(Ne){return Ne===47?(e.consume(Ne),u="",Zt):Ie(Ne)}function Zt(Ne){return Ne===62&&xp.includes(u.toLowerCase())?(e.consume(Ne),Br):wi(Ne)&&u.length<8?(e.consume(Ne),u+=String.fromCharCode(Ne),Zt):Ie(Ne)}function qt(Ne){return Ne===93?(e.consume(Ne),dr):Ie(Ne)}function dr(Ne){return Ne===62?(e.consume(Ne),Br):Ne===45&&i===2?(e.consume(Ne),dr):Ie(Ne)}function Br(Ne){return Ne===null||Xt(Ne)?(e.exit("htmlFlowData"),Oe(Ne)):(e.consume(Ne),Br)}function Oe(Ne){return e.exit("htmlFlow"),t(Ne)}}function Px(e,t,r){return n;function n(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(ta,t,r)}}var Eh={name:"htmlText",tokenize:Lx};function Lx(e,t,r){const n=this;let i,a,u,o;return d;function d(Oe){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(Oe),E}function E(Oe){return Oe===33?(e.consume(Oe),w):Oe===47?(e.consume(Oe),Y):Oe===63?(e.consume(Oe),Me):wi(Oe)?(e.consume(Oe),pt):r(Oe)}function w(Oe){return Oe===45?(e.consume(Oe),M):Oe===91?(e.consume(Oe),a="CDATA[",u=0,_e):wi(Oe)?(e.consume(Oe),gt):r(Oe)}function M(Oe){return Oe===45?(e.consume(Oe),re):r(Oe)}function re(Oe){return Oe===null||Oe===62?r(Oe):Oe===45?(e.consume(Oe),ue):le(Oe)}function ue(Oe){return Oe===null||Oe===62?r(Oe):le(Oe)}function le(Oe){return Oe===null?r(Oe):Oe===45?(e.consume(Oe),Se):Xt(Oe)?(o=le,qt(Oe)):(e.consume(Oe),le)}function Se(Oe){return Oe===45?(e.consume(Oe),Br):le(Oe)}function _e(Oe){return Oe===a.charCodeAt(u++)?(e.consume(Oe),u===a.length?ye:_e):r(Oe)}function ye(Oe){return Oe===null?r(Oe):Oe===93?(e.consume(Oe),tt):Xt(Oe)?(o=ye,qt(Oe)):(e.consume(Oe),ye)}function tt(Oe){return Oe===93?(e.consume(Oe),Ve):ye(Oe)}function Ve(Oe){return Oe===62?Br(Oe):Oe===93?(e.consume(Oe),Ve):ye(Oe)}function gt(Oe){return Oe===null||Oe===62?Br(Oe):Xt(Oe)?(o=gt,qt(Oe)):(e.consume(Oe),gt)}function Me(Oe){return Oe===null?r(Oe):Oe===63?(e.consume(Oe),f):Xt(Oe)?(o=Me,qt(Oe)):(e.consume(Oe),Me)}function f(Oe){return Oe===62?Br(Oe):Me(Oe)}function Y(Oe){return wi(Oe)?(e.consume(Oe),me):r(Oe)}function me(Oe){return Oe===45||vi(Oe)?(e.consume(Oe),me):be(Oe)}function be(Oe){return Xt(Oe)?(o=be,qt(Oe)):ln(Oe)?(e.consume(Oe),be):Br(Oe)}function pt(Oe){return Oe===45||vi(Oe)?(e.consume(Oe),pt):Oe===47||Oe===62||on(Oe)?Ie(Oe):r(Oe)}function Ie(Oe){return Oe===47?(e.consume(Oe),Br):Oe===58||Oe===95||wi(Oe)?(e.consume(Oe),qe):Xt(Oe)?(o=Ie,qt(Oe)):ln(Oe)?(e.consume(Oe),Ie):Br(Oe)}function qe(Oe){return Oe===45||Oe===46||Oe===58||Oe===95||vi(Oe)?(e.consume(Oe),qe):St(Oe)}function St(Oe){return Oe===61?(e.consume(Oe),fr):Xt(Oe)?(o=St,qt(Oe)):ln(Oe)?(e.consume(Oe),St):Ie(Oe)}function fr(Oe){return Oe===null||Oe===60||Oe===61||Oe===62||Oe===96?r(Oe):Oe===34||Oe===39?(e.consume(Oe),i=Oe,Ar):Xt(Oe)?(o=fr,qt(Oe)):ln(Oe)?(e.consume(Oe),fr):(e.consume(Oe),i=void 0,Zt)}function Ar(Oe){return Oe===i?(e.consume(Oe),Qt):Oe===null?r(Oe):Xt(Oe)?(o=Ar,qt(Oe)):(e.consume(Oe),Ar)}function Qt(Oe){return Oe===62||Oe===47||on(Oe)?Ie(Oe):r(Oe)}function Zt(Oe){return Oe===null||Oe===34||Oe===39||Oe===60||Oe===61||Oe===96?r(Oe):Oe===62||on(Oe)?Ie(Oe):(e.consume(Oe),Zt)}function qt(Oe){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(Oe),e.exit("lineEnding"),kr(e,dr,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function dr(Oe){return e.enter("htmlTextData"),o(Oe)}function Br(Oe){return Oe===62?(e.consume(Oe),e.exit("htmlTextData"),e.exit("htmlText"),t):r(Oe)}}var Bu={name:"labelEnd",tokenize:Jx,resolveTo:Rx,resolveAll:Mx},Ox={tokenize:Ux},jx={tokenize:zx},Vx={tokenize:qx};function Mx(e){let t=-1,r;for(;++t<e.length;)r=e[t][1],(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(e.splice(t+1,r.type==="labelImage"?4:2),r.type="data",t++);return e}function Rx(e,t){let r=e.length,n=0,i,a,u,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(u=r);const d={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},E={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[u][1].end)},w={type:"labelText",start:Object.assign({},e[a+n+2][1].end),end:Object.assign({},e[u-2][1].start)};return o=[["enter",d,t],["enter",E,t]],o=ri(o,e.slice(a+1,a+n+3)),o=ri(o,[["enter",w,t]]),o=ri(o,Su(t.parser.constructs.insideSpan.null,e.slice(a+n+4,u-3),t)),o=ri(o,[["exit",w,t],e[u-2],e[u-1],["exit",E,t]]),o=ri(o,e.slice(u+1)),o=ri(o,[["exit",d,t]]),ni(e,a,e.length,o),e}function Jx(e,t,r){const n=this;let i=n.events.length,a,u;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(w){return a?a._inactive?E(w):(u=n.parser.defined.includes(ji(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(w),e.exit("labelMarker"),e.exit("labelEnd"),d):r(w)}function d(w){return w===40?e.attempt(Ox,t,u?t:E)(w):w===91?e.attempt(jx,t,u?e.attempt(Vx,t,E):E)(w):u?t(w):E(w)}function E(w){return a._balanced=!0,r(w)}}function Ux(e,t,r){return n;function n(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),ya(e,i)}function i(d){return d===41?o(d):mh(e,a,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function a(d){return on(d)?ya(e,u)(d):o(d)}function u(d){return d===34||d===39||d===40?xh(e,ya(e,o),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):o(d)}function o(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):r(d)}}function zx(e,t,r){const n=this;return i;function i(u){return gh.call(n,e,a,r,"reference","referenceMarker","referenceString")(u)}function a(u){return n.parser.defined.includes(ji(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(u):r(u)}}function qx(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}var Ah={name:"labelStartImage",tokenize:$x,resolveAll:Bu.resolveAll};function $x(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),u):r(o)}function u(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var bh={name:"labelStartLink",tokenize:Hx,resolveAll:Bu.resolveAll};function Hx(e,t,r){const n=this;return i;function i(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}var qs={name:"lineEnding",tokenize:Wx};function Wx(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),kr(e,t,"linePrefix")}}var bs={name:"thematicBreak",tokenize:Gx};function Gx(e,t,r){let n=0,i;return a;function a(d){return e.enter("thematicBreak"),i=d,u(d)}function u(d){return d===i?(e.enter("thematicBreakSequence"),o(d)):ln(d)?kr(e,u,"whitespace")(d):n<3||d!==null&&!Xt(d)?r(d):(e.exit("thematicBreak"),t(d))}function o(d){return d===i?(e.consume(d),n++,o):(e.exit("thematicBreakSequence"),u(d))}}var nn={name:"list",tokenize:Kx,continuation:{tokenize:Yx},exit:eD},Xx={tokenize:tD,partial:!0},Qx={tokenize:Zx,partial:!0};function Kx(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return o;function o(ue){const le=n.containerState.type||(ue===42||ue===43||ue===45?"listUnordered":"listOrdered");if(le==="listUnordered"?!n.containerState.marker||ue===n.containerState.marker:Go(ue)){if(n.containerState.type||(n.containerState.type=le,e.enter(le,{_container:!0})),le==="listUnordered")return e.enter("listItemPrefix"),ue===42||ue===45?e.check(bs,r,E)(ue):E(ue);if(!n.interrupt||ue===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),d(ue)}return r(ue)}function d(ue){return Go(ue)&&++u<10?(e.consume(ue),d):(!n.interrupt||u<2)&&(n.containerState.marker?ue===n.containerState.marker:ue===41||ue===46)?(e.exit("listItemValue"),E(ue)):r(ue)}function E(ue){return e.enter("listItemMarker"),e.consume(ue),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||ue,e.check(ta,n.interrupt?r:w,e.attempt(Xx,re,M))}function w(ue){return n.containerState.initialBlankLine=!0,a++,re(ue)}function M(ue){return ln(ue)?(e.enter("listItemPrefixWhitespace"),e.consume(ue),e.exit("listItemPrefixWhitespace"),re):r(ue)}function re(ue){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(ue)}}function Yx(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(ta,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,kr(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!ln(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,u(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Qx,t,u)(o))}function u(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,kr(e,e.attempt(nn,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Zx(e,t,r){const n=this;return kr(e,i,"listItemIndent",n.containerState.size+1);function i(a){const u=n.events[n.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===n.containerState.size?t(a):r(a)}}function eD(e){e.exit(this.containerState.type)}function tD(e,t,r){const n=this;return kr(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(a){const u=n.events[n.events.length-1];return!ln(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}var cu={name:"setextUnderline",tokenize:nD,resolveTo:rD};function rD(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const u={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",u,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=u,e.push(["exit",u,t]),e}function nD(e,t,r){const n=this;let i=n.events.length,a,u;for(;i--;)if(n.events[i][1].type!=="lineEnding"&&n.events[i][1].type!=="linePrefix"&&n.events[i][1].type!=="content"){u=n.events[i][1].type==="paragraph";break}return o;function o(w){return!n.parser.lazy[n.now().line]&&(n.interrupt||u)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=w,d(w)):r(w)}function d(w){return w===a?(e.consume(w),d):(e.exit("setextHeadingLineSequence"),kr(e,E,"lineSuffix")(w))}function E(w){return w===null||Xt(w)?(e.exit("setextHeadingLine"),t(w)):r(w)}}var iD={tokenize:sD};function sD(e){const t=this,r=e.attempt(ta,n,e.attempt(this.parser.constructs.flowInitial,i,kr(e,e.attempt(this.parser.constructs.flow,i,e.attempt(dh,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var aD={resolveAll:Sh()},uD=Fh("string"),oD=Fh("text");function Fh(e){return{tokenize:t,resolveAll:Sh(e==="text"?lD:void 0)};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,u,o);return u;function u(w){return E(w)?a(w):o(w)}function o(w){if(w===null){r.consume(w);return}return r.enter("data"),r.consume(w),d}function d(w){return E(w)?(r.exit("data"),a(w)):(r.consume(w),d)}function E(w){if(w===null)return!0;const M=i[w];let re=-1;if(M)for(;++re<M.length;){const ue=M[re];if(!ue.previous||ue.previous.call(n,n.previous))return!0}return!1}}}function Sh(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function lD(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,u=-1,o=0,d;for(;a--;){const E=i[a];if(typeof E=="string"){for(u=E.length;E.charCodeAt(u-1)===32;)o++,u--;if(u)break;u=-1}else if(E===-2)d=!0,o++;else if(E!==-1){a++;break}}if(o){const E={type:r===e.length||d||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?u:n.start._bufferIndex+u},end:Object.assign({},n.end)};n.end=Object.assign({},E.start),n.start.offset===n.end.offset?Object.assign(n,E):(e.splice(r,0,["enter",E,t],["exit",E,t]),r+=2)}r++}return e}function cD(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let u=[],o=[];const d={consume:tt,enter:Ve,exit:gt,attempt:Y(Me),check:Y(f),interrupt:Y(f,{interrupt:!0})},E={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:ue,sliceSerialize:re,now:le,defineSkip:Se,write:M};let w=t.tokenize.call(E,d);return t.resolveAll&&a.push(t),E;function M(Ie){return u=ri(u,Ie),_e(),u[u.length-1]!==null?[]:(me(t,0),E.events=Su(a,E.events,E),E.events)}function re(Ie,qe){return hD(ue(Ie),qe)}function ue(Ie){return pD(u,Ie)}function le(){return Object.assign({},n)}function Se(Ie){i[Ie.line]=Ie.column,pt()}function _e(){let Ie;for(;n._index<u.length;){const qe=u[n._index];if(typeof qe=="string")for(Ie=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===Ie&&n._bufferIndex<qe.length;)ye(qe.charCodeAt(n._bufferIndex));else ye(qe)}}function ye(Ie){w=w(Ie)}function tt(Ie){Xt(Ie)?(n.line++,n.column=1,n.offset+=Ie===-3?2:1,pt()):Ie!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===u[n._index].length&&(n._bufferIndex=-1,n._index++)),E.previous=Ie}function Ve(Ie,qe){const St=qe||{};return St.type=Ie,St.start=le(),E.events.push(["enter",St,E]),o.push(St),St}function gt(Ie){const qe=o.pop();return qe.end=le(),E.events.push(["exit",qe,E]),qe}function Me(Ie,qe){me(Ie,qe.from)}function f(Ie,qe){qe.restore()}function Y(Ie,qe){return St;function St(fr,Ar,Qt){let Zt,qt,dr,Br;return Array.isArray(fr)?Ne(fr):"tokenize"in fr?Ne([fr]):Oe(fr);function Oe(sr){return Qr;function Qr(Jr){const $r=Jr!==null&&sr[Jr],hn=Jr!==null&&sr.null,Ln=[...Array.isArray($r)?$r:$r?[$r]:[],...Array.isArray(hn)?hn:hn?[hn]:[]];return Ne(Ln)(Jr)}}function Ne(sr){return Zt=sr,qt=0,sr.length===0?Qt:pn(sr[qt])}function pn(sr){return Qr;function Qr(Jr){return Br=be(),dr=sr,sr.partial||(E.currentConstruct=sr),sr.name&&E.parser.constructs.disable.null.includes(sr.name)?Cn():sr.tokenize.call(qe?Object.assign(Object.create(E),qe):E,d,dn,Cn)(Jr)}}function dn(sr){return Ie(dr,Br),Ar}function Cn(sr){return Br.restore(),++qt<Zt.length?pn(Zt[qt]):Qt}}}function me(Ie,qe){Ie.resolveAll&&!a.includes(Ie)&&a.push(Ie),Ie.resolve&&ni(E.events,qe,E.events.length-qe,Ie.resolve(E.events.slice(qe),E)),Ie.resolveTo&&(E.events=Ie.resolveTo(E.events,E))}function be(){const Ie=le(),qe=E.previous,St=E.currentConstruct,fr=E.events.length,Ar=Array.from(o);return{restore:Qt,from:fr};function Qt(){n=Ie,E.previous=qe,E.currentConstruct=St,E.events.length=fr,o=Ar,pt()}}function pt(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function pD(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;return r===i?u=[e[r].slice(n,a)]:(u=e.slice(r,i),n>-1&&(u[0]=u[0].slice(n)),a>0&&u.push(e[i].slice(0,a))),u}function hD(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
124
- `;break}case-3:{u=`\r
125
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,n.push(u)}return n.join("")}var wh={};ml(wh,{attentionMarkers:()=>vD,contentInitial:()=>dD,disable:()=>CD,document:()=>fD,flow:()=>gD,flowInitial:()=>mD,insideSpan:()=>yD,string:()=>xD,text:()=>DD});var fD={[42]:nn,[43]:nn,[45]:nn,[48]:nn,[49]:nn,[50]:nn,[51]:nn,[52]:nn,[53]:nn,[54]:nn,[55]:nn,[56]:nn,[57]:nn,[62]:xl},dD={[91]:Dh},mD={[-2]:zs,[-1]:zs,[32]:zs},gD={[35]:vh,[42]:bs,[45]:[cu,bs],[60]:Ch,[61]:cu,[95]:bs,[96]:lu,[126]:lu},xD={[38]:ku,[92]:wu},DD={[-5]:qs,[-4]:qs,[-3]:qs,[33]:Ah,[38]:ku,[42]:Hs,[60]:[hh,Eh],[91]:bh,[92]:[yh,wu],[93]:Bu,[95]:Hs,[96]:fh},yD={null:[Hs,aD]},vD={null:[42,95]},CD={null:[]};function ED(e={}){const t=gl([wh].concat(e.extensions||[])),r={defined:[],lazy:{},constructs:t,content:n(Y1),document:n(ex),flow:n(iD),string:n(uD),text:n(oD)};return r;function n(i){return a;function a(u){return cD(r,i,u)}}}var Dp=/[\0\t\n\r]/g;function AD(){let e=1,t="",r=!0,n;return i;function i(a,u,o){const d=[];let E,w,M,re,ue;for(a=t+a.toString(u),M=0,t="",r&&(a.charCodeAt(0)===65279&&M++,r=void 0);M<a.length;){if(Dp.lastIndex=M,E=Dp.exec(a),re=E&&E.index!==void 0?E.index:a.length,ue=a.charCodeAt(re),!E){t=a.slice(M);break}if(ue===10&&M===re&&n)d.push(-3),n=void 0;else switch(n&&(d.push(-5),n=void 0),M<re&&(d.push(a.slice(M,re)),e+=re-M),ue){case 0:{d.push(65533),e++;break}case 9:{for(w=Math.ceil(e/4)*4,d.push(-2);e++<w;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:n=!0,e=1}M=re+1}return o&&(n&&d.push(-5),t&&d.push(t),d.push(null)),d}}function bD(e){for(;!Dl(e););return e}function yl(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCharCode(r)}var FD=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vl(e){return e.replace(FD,SD)}function SD(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return yl(r.slice(a?2:1),a?16:10)}return Ws(r)||e}function ru(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?yp(e.position):"start"in e||"end"in e?yp(e):"line"in e||"column"in e?Qo(e):""}function Qo(e){return vp(e&&e.line)+":"+vp(e&&e.column)}function yp(e){return Qo(e&&e.start)+"-"+Qo(e&&e.end)}function vp(e){return e&&typeof e=="number"?e:1}var Ko={}.hasOwnProperty,wD=function(e,t,r){return typeof t!="string"&&(r=t,t=void 0),kD(r)(bD(ED(r).document().write(AD()(e,t,!0))))};function kD(e={}){const t=kh({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:d(mn),autolinkProtocol:qe,autolinkEmail:qe,atxHeading:d(Zr),blockQuote:d(Dn),characterEscape:qe,characterReference:qe,codeFenced:d(Zn),codeFencedFenceInfo:E,codeFencedFenceMeta:E,codeIndented:d(Zn,E),codeText:d(Hn,E),codeTextData:qe,data:qe,codeFlowValue:qe,definition:d(ei),definitionDestinationString:E,definitionLabelString:E,definitionTitleString:E,emphasis:d(_n),hardBreakEscape:d(Un),hardBreakTrailing:d(Un),htmlFlow:d(En,E),htmlFlowData:qe,htmlText:d(En,E),htmlTextData:qe,image:d(Wn),label:E,link:d(mn),listItem:d(si),listItemValue:Se,listOrdered:d(zn,le),listUnordered:d(zn),paragraph:d(On),reference:sr,referenceString:E,resourceDestinationString:E,resourceTitleString:E,setextHeading:d(Zr),strong:d(tr),thematicBreak:d(lt)},exit:{atxHeading:M(),atxHeadingSequence:me,autolink:M(),autolinkEmail:Ln,autolinkProtocol:hn,blockQuote:M(),characterEscapeValue:St,characterReferenceMarkerHexadecimal:Jr,characterReferenceMarkerNumeric:Jr,characterReferenceValue:$r,codeFenced:M(Ve),codeFencedFence:tt,codeFencedFenceInfo:_e,codeFencedFenceMeta:ye,codeFlowValue:St,codeIndented:M(gt),codeText:M(qt),codeTextData:St,data:St,definition:M(),definitionDestinationString:Y,definitionLabelString:Me,definitionTitleString:f,emphasis:M(),hardBreakEscape:M(Ar),hardBreakTrailing:M(Ar),htmlFlow:M(Qt),htmlFlowData:St,htmlText:M(Zt),htmlTextData:St,image:M(Br),label:Ne,labelText:Oe,lineEnding:fr,link:M(dr),listItem:M(),listOrdered:M(),listUnordered:M(),paragraph:M(),referenceString:Qr,resourceDestinationString:pn,resourceTitleString:dn,resource:Cn,setextHeading:M(Ie),setextHeadingLineSequence:pt,setextHeadingText:be,strong:M(),thematicBreak:M()}},e.mdastExtensions||[]),r={};return n;function n(Be){let ee={type:"root",children:[]};const ut=[ee],Jt=[],Hr=[],Kr={stack:ut,tokenStack:Jt,config:t,enter:w,exit:re,buffer:E,resume:ue,setData:a,getData:u};let xe=-1;for(;++xe<Be.length;)if(Be[xe][1].type==="listOrdered"||Be[xe][1].type==="listUnordered")if(Be[xe][0]==="enter")Hr.push(xe);else{const Cr=Hr.pop();xe=i(Be,Cr,xe)}for(xe=-1;++xe<Be.length;){const Cr=t[Be[xe][0]];Ko.call(Cr,Be[xe][1].type)&&Cr[Be[xe][1].type].call(Object.assign({sliceSerialize:Be[xe][2].sliceSerialize},Kr),Be[xe][1])}if(Jt.length>0){const Cr=Jt[Jt.length-1];(Cr[1]||Cp).call(Kr,void 0,Cr[0])}for(ee.position={start:o(Be.length>0?Be[0][1].start:{line:1,column:1,offset:0}),end:o(Be.length>0?Be[Be.length-2][1].end:{line:1,column:1,offset:0})},xe=-1;++xe<t.transforms.length;)ee=t.transforms[xe](ee)||ee;return ee}function i(Be,ee,ut){let Jt=ee-1,Hr=-1,Kr=!1,xe,Cr,Gr,Nr;for(;++Jt<=ut;){const jr=Be[Jt];if(jr[1].type==="listUnordered"||jr[1].type==="listOrdered"||jr[1].type==="blockQuote"?(jr[0]==="enter"?Hr++:Hr--,Nr=void 0):jr[1].type==="lineEndingBlank"?jr[0]==="enter"&&(xe&&!Nr&&!Hr&&!Gr&&(Gr=Jt),Nr=void 0):jr[1].type==="linePrefix"||jr[1].type==="listItemValue"||jr[1].type==="listItemMarker"||jr[1].type==="listItemPrefix"||jr[1].type==="listItemPrefixWhitespace"||(Nr=void 0),!Hr&&jr[0]==="enter"&&jr[1].type==="listItemPrefix"||Hr===-1&&jr[0]==="exit"&&(jr[1].type==="listUnordered"||jr[1].type==="listOrdered")){if(xe){let en=Jt;for(Cr=void 0;en--;){const un=Be[en];if(un[1].type==="lineEnding"||un[1].type==="lineEndingBlank"){if(un[0]==="exit")continue;Cr&&(Be[Cr][1].type="lineEndingBlank",Kr=!0),un[1].type="lineEnding",Cr=en}else if(!(un[1].type==="linePrefix"||un[1].type==="blockQuotePrefix"||un[1].type==="blockQuotePrefixWhitespace"||un[1].type==="blockQuoteMarker"||un[1].type==="listItemIndent"))break}Gr&&(!Cr||Gr<Cr)&&(xe._spread=!0),xe.end=Object.assign({},Cr?Be[Cr][1].start:jr[1].end),Be.splice(Cr||Jt,0,["exit",xe,jr[2]]),Jt++,ut++}jr[1].type==="listItemPrefix"&&(xe={type:"listItem",_spread:!1,start:Object.assign({},jr[1].start)},Be.splice(Jt,0,["enter",xe,jr[2]]),Jt++,ut++,Gr=void 0,Nr=!0)}}return Be[ee][1]._spread=Kr,ut}function a(Be,ee){r[Be]=ee}function u(Be){return r[Be]}function o(Be){return{line:Be.line,column:Be.column,offset:Be.offset}}function d(Be,ee){return ut;function ut(Jt){w.call(this,Be(Jt),Jt),ee&&ee.call(this,Jt)}}function E(){this.stack.push({type:"fragment",children:[]})}function w(Be,ee,ut){return this.stack[this.stack.length-1].children.push(Be),this.stack.push(Be),this.tokenStack.push([ee,ut]),Be.position={start:o(ee.start)},Be}function M(Be){return ee;function ee(ut){Be&&Be.call(this,ut),re.call(this,ut)}}function re(Be,ee){const ut=this.stack.pop(),Jt=this.tokenStack.pop();if(Jt)Jt[0].type!==Be.type&&(ee?ee.call(this,Be,Jt[0]):(Jt[1]||Cp).call(this,Be,Jt[0]));else throw new Error("Cannot close `"+Be.type+"` ("+ru({start:Be.start,end:Be.end})+"): it’s not open");return ut.position.end=o(Be.end),ut}function ue(){return Fu(this.stack.pop())}function le(){a("expectingFirstListItemValue",!0)}function Se(Be){if(u("expectingFirstListItemValue")){const ee=this.stack[this.stack.length-2];ee.start=Number.parseInt(this.sliceSerialize(Be),10),a("expectingFirstListItemValue")}}function _e(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.lang=Be}function ye(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.meta=Be}function tt(){u("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function Ve(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.value=Be.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function gt(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.value=Be.replace(/(\r?\n|\r)$/g,"")}function Me(Be){const ee=this.resume(),ut=this.stack[this.stack.length-1];ut.label=ee,ut.identifier=ji(this.sliceSerialize(Be)).toLowerCase()}function f(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.title=Be}function Y(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.url=Be}function me(Be){const ee=this.stack[this.stack.length-1];if(!ee.depth){const ut=this.sliceSerialize(Be).length;ee.depth=ut}}function be(){a("setextHeadingSlurpLineEnding",!0)}function pt(Be){const ee=this.stack[this.stack.length-1];ee.depth=this.sliceSerialize(Be).charCodeAt(0)===61?1:2}function Ie(){a("setextHeadingSlurpLineEnding")}function qe(Be){const ee=this.stack[this.stack.length-1];let ut=ee.children[ee.children.length-1];(!ut||ut.type!=="text")&&(ut=gn(),ut.position={start:o(Be.start)},ee.children.push(ut)),this.stack.push(ut)}function St(Be){const ee=this.stack.pop();ee.value+=this.sliceSerialize(Be),ee.position.end=o(Be.end)}function fr(Be){const ee=this.stack[this.stack.length-1];if(u("atHardBreak")){const ut=ee.children[ee.children.length-1];ut.position.end=o(Be.end),a("atHardBreak");return}!u("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(ee.type)&&(qe.call(this,Be),St.call(this,Be))}function Ar(){a("atHardBreak",!0)}function Qt(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.value=Be}function Zt(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.value=Be}function qt(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.value=Be}function dr(){const Be=this.stack[this.stack.length-1];u("inReference")?(Be.type+="Reference",Be.referenceType=u("referenceType")||"shortcut",delete Be.url,delete Be.title):(delete Be.identifier,delete Be.label),a("referenceType")}function Br(){const Be=this.stack[this.stack.length-1];u("inReference")?(Be.type+="Reference",Be.referenceType=u("referenceType")||"shortcut",delete Be.url,delete Be.title):(delete Be.identifier,delete Be.label),a("referenceType")}function Oe(Be){const ee=this.stack[this.stack.length-2],ut=this.sliceSerialize(Be);ee.label=vl(ut),ee.identifier=ji(ut).toLowerCase()}function Ne(){const Be=this.stack[this.stack.length-1],ee=this.resume(),ut=this.stack[this.stack.length-1];a("inReference",!0),ut.type==="link"?ut.children=Be.children:ut.alt=ee}function pn(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.url=Be}function dn(){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.title=Be}function Cn(){a("inReference")}function sr(){a("referenceType","collapsed")}function Qr(Be){const ee=this.resume(),ut=this.stack[this.stack.length-1];ut.label=ee,ut.identifier=ji(this.sliceSerialize(Be)).toLowerCase(),a("referenceType","full")}function Jr(Be){a("characterReferenceType",Be.type)}function $r(Be){const ee=this.sliceSerialize(Be),ut=u("characterReferenceType");let Jt;ut?(Jt=yl(ee,ut==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):Jt=Ws(ee);const Hr=this.stack.pop();Hr.value+=Jt,Hr.position.end=o(Be.end)}function hn(Be){St.call(this,Be);const ee=this.stack[this.stack.length-1];ee.url=this.sliceSerialize(Be)}function Ln(Be){St.call(this,Be);const ee=this.stack[this.stack.length-1];ee.url="mailto:"+this.sliceSerialize(Be)}function Dn(){return{type:"blockquote",children:[]}}function Zn(){return{type:"code",lang:null,meta:null,value:""}}function Hn(){return{type:"inlineCode",value:""}}function ei(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function _n(){return{type:"emphasis",children:[]}}function Zr(){return{type:"heading",depth:void 0,children:[]}}function Un(){return{type:"break"}}function En(){return{type:"html",value:""}}function Wn(){return{type:"image",title:null,url:"",alt:null}}function mn(){return{type:"link",title:null,url:"",children:[]}}function zn(Be){return{type:"list",ordered:Be.type==="listOrdered",start:null,spread:Be._spread,children:[]}}function si(Be){return{type:"listItem",spread:Be._spread,checked:null,children:[]}}function On(){return{type:"paragraph",children:[]}}function tr(){return{type:"strong",children:[]}}function gn(){return{type:"text",value:""}}function lt(){return{type:"thematicBreak"}}}function kh(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?kh(e,n):BD(e,n)}return e}function BD(e,t){let r;for(r in t)if(Ko.call(t,r)){const n=r==="canContainEols"||r==="transforms",a=(Ko.call(e,r)?e[r]:void 0)||(e[r]=n?[]:{}),u=t[r];u&&(n?e[r]=[...a,...u]:Object.assign(a,u))}}function Cp(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ru({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ru({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ru({start:t.start,end:t.end})+") is still open")}function TD(e){Object.assign(this,{Parser:r=>{const n=this.data("settings");return wD(r,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var _D=TD,Ep={}.hasOwnProperty;function ND(e,t){var r=t||{};function n(i){var a=n.invalid,u=n.handlers;if(i&&Ep.call(i,e)&&(a=Ep.call(u,i[e])?u[i[e]]:n.unknown),a)return a.apply(this,arguments)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function nu(e,t){let r=-1,n;if(t.extensions)for(;++r<t.extensions.length;)nu(e,t.extensions[r]);for(n in t)n==="extensions"||(n==="unsafe"||n==="join"?e[n]=[...e[n]||[],...t[n]||[]]:n==="handlers"?e[n]=Object.assign(e[n],t[n]||{}):e.options[n]=t[n]);return e}function ID(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const u=r.indentLines(r.containerFlow(e,a.current()),PD);return i(),u}function PD(e,t,r){return">"+(r?"":" ")+e}function Bh(e,t){return Ap(e,t.inConstruct,!0)&&!Ap(e,t.notInConstruct,!1)}function Ap(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function bp(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
126
- `&&Bh(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
127
- `}function LD(e,t){const r=String(e);let n=r.indexOf(t),i=n,a=0,u=0;if(typeof t!="string"||t.length!==1)throw new Error("Expected character");for(;n!==-1;)n===i?++a>u&&(u=a):a=1,i=n+1,n=r.indexOf(t,i);return u}function Yo(e,t){return Boolean(!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function OD(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function jD(e,t,r,n){const i=OD(r),a=e.value||"",u=i==="`"?"GraveAccent":"Tilde";if(Yo(e,r)){const M=r.enter("codeIndented"),re=r.indentLines(a,VD);return M(),re}const o=r.createTracker(n),d=i.repeat(Math.max(LD(a,i)+1,3)),E=r.enter("codeFenced");let w=o.move(d);if(e.lang){const M=r.enter(`codeFencedLang${u}`);w+=o.move(r.safe(e.lang,{before:w,after:" ",encode:["`"],...o.current()})),M()}if(e.lang&&e.meta){const M=r.enter(`codeFencedMeta${u}`);w+=o.move(" "),w+=o.move(r.safe(e.meta,{before:w,after:`
128
- `,encode:["`"],...o.current()})),M()}return w+=o.move(`
129
- `),a&&(w+=o.move(a+`
130
- `)),w+=o.move(d),E(),w}function VD(e,t,r){return(r?"":" ")+e}function Tu(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function MD(e,t,r,n){const i=Tu(r),a=i==='"'?"Quote":"Apostrophe",u=r.enter("definition");let o=r.enter("label");const d=r.createTracker(n);let E=d.move("[");return E+=d.move(r.safe(r.associationId(e),{before:E,after:"]",...d.current()})),E+=d.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),E+=d.move("<"),E+=d.move(r.safe(e.url,{before:E,after:">",...d.current()})),E+=d.move(">")):(o=r.enter("destinationRaw"),E+=d.move(r.safe(e.url,{before:E,after:e.title?" ":`
131
- `,...d.current()}))),o(),e.title&&(o=r.enter(`title${a}`),E+=d.move(" "+i),E+=d.move(r.safe(e.title,{before:E,after:i,...d.current()})),E+=d.move(i),o()),u(),E}function RD(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Th.peek=JD;function Th(e,t,r,n){const i=RD(r),a=r.enter("emphasis"),u=r.createTracker(n);let o=u.move(i);return o+=u.move(r.containerPhrasing(e,{before:o,after:i,...u.current()})),o+=u.move(i),a(),o}function JD(e,t,r){return r.options.emphasis||"*"}var Cl=function(e){if(e==null)return $D;if(typeof e=="string")return qD(e);if(typeof e=="object")return Array.isArray(e)?UD(e):zD(e);if(typeof e=="function")return _u(e);throw new Error("Expected function, string, or object as test")};function UD(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Cl(e[r]);return _u(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].call(this,...i))return!0;return!1}}function zD(e){return _u(t);function t(r){let n;for(n in e)if(r[n]!==e[n])return!1;return!0}}function qD(e){return _u(t);function t(r){return r&&r.type===e}}function _u(e){return t;function t(...r){return Boolean(e.call(this,...r))}}function $D(){return!0}var HD=!0,Zo=!1,WD="skip",GD=function(e,t,r,n){typeof t=="function"&&typeof r!="function"&&(n=r,r=t,t=null);const i=Cl(t),a=n?-1:1;u(e,void 0,[])();function u(o,d,E){const w=o&&typeof o=="object"?o:{};if(typeof w.type=="string"){const re=typeof w.tagName=="string"?w.tagName:typeof w.name=="string"?w.name:void 0;Object.defineProperty(M,"name",{value:"node ("+(o.type+(re?"<"+re+">":""))+")"})}return M;function M(){let re=[],ue,le,Se;if((!t||i(o,d,E[E.length-1]||null))&&(re=XD(r(o,E)),re[0]===Zo))return re;if(o.children&&re[0]!==WD)for(le=(n?o.children.length:-1)+a,Se=E.concat(o);le>-1&&le<o.children.length;){if(ue=u(o.children[le],le,Se)(),ue[0]===Zo)return ue;le=typeof ue[1]=="number"?ue[1]:le+a}return re}}};function XD(e){return Array.isArray(e)?e:typeof e=="number"?[HD,e]:[e]}var pu=function(e,t,r,n){typeof t=="function"&&typeof r!="function"&&(n=r,r=t,t=null),GD(e,t,i,n);function i(a,u){const o=u[u.length-1];return r(a,o?o.children.indexOf(a):null,o)}};function _h(e,t){let r=!1;return pu(e,n=>{if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Zo}),Boolean((!e.depth||e.depth<3)&&Fu(e)&&(t.options.setext||r))}function QD(e,t,r,n){const i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(_h(e,r)){const w=r.enter("headingSetext"),M=r.enter("phrasing"),re=r.containerPhrasing(e,{...a.current(),before:`
132
- `,after:`
133
- `});return M(),w(),re+`
134
- `+(i===1?"=":"-").repeat(re.length-(Math.max(re.lastIndexOf("\r"),re.lastIndexOf(`
135
- `))+1))}const u="#".repeat(i),o=r.enter("headingAtx"),d=r.enter("phrasing");a.move(u+" ");let E=r.containerPhrasing(e,{before:"# ",after:`
136
- `,...a.current()});return/^[\t ]/.test(E)&&(E="&#x"+E.charCodeAt(0).toString(16).toUpperCase()+";"+E.slice(1)),E=E?u+" "+E:u,r.options.closeAtx&&(E+=" "+u),d(),o(),E}Nh.peek=KD;function Nh(e){return e.value||""}function KD(){return"<"}Ih.peek=YD;function Ih(e,t,r,n){const i=Tu(r),a=i==='"'?"Quote":"Apostrophe",u=r.enter("image");let o=r.enter("label");const d=r.createTracker(n);let E=d.move("![");return E+=d.move(r.safe(e.alt,{before:E,after:"]",...d.current()})),E+=d.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),E+=d.move("<"),E+=d.move(r.safe(e.url,{before:E,after:">",...d.current()})),E+=d.move(">")):(o=r.enter("destinationRaw"),E+=d.move(r.safe(e.url,{before:E,after:e.title?" ":")",...d.current()}))),o(),e.title&&(o=r.enter(`title${a}`),E+=d.move(" "+i),E+=d.move(r.safe(e.title,{before:E,after:i,...d.current()})),E+=d.move(i),o()),E+=d.move(")"),u(),E}function YD(){return"!"}Ph.peek=ZD;function Ph(e,t,r,n){const i=e.referenceType,a=r.enter("imageReference");let u=r.enter("label");const o=r.createTracker(n);let d=o.move("![");const E=r.safe(e.alt,{before:d,after:"]",...o.current()});d+=o.move(E+"]["),u();const w=r.stack;r.stack=[],u=r.enter("reference");const M=r.safe(r.associationId(e),{before:d,after:"]",...o.current()});return u(),r.stack=w,a(),i==="full"||!E||E!==M?d+=o.move(M+"]"):i==="shortcut"?d=d.slice(0,-1):d+=o.move("]"),d}function ZD(){return"!"}function Lh(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}Oh.peek=ey;function Oh(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){const u=r.unsafe[a],o=Lh(u);let d;if(u.atBreak)for(;d=o.exec(n);){let E=d.index;n.charCodeAt(E)===10&&n.charCodeAt(E-1)===13&&E--,n=n.slice(0,E)+" "+n.slice(d.index+1)}}return i+n+i}function ey(){return"`"}function jh(e,t){const r=Fu(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Vh.peek=ty;function Vh(e,t,r,n){const i=Tu(r),a=i==='"'?"Quote":"Apostrophe",u=r.createTracker(n);let o,d;if(jh(e,r)){const w=r.stack;r.stack=[],o=r.enter("autolink");let M=u.move("<");return M+=u.move(r.containerPhrasing(e,{before:M,after:">",...u.current()})),M+=u.move(">"),o(),r.stack=w,M}o=r.enter("link"),d=r.enter("label");let E=u.move("[");return E+=u.move(r.containerPhrasing(e,{before:E,after:"](",...u.current()})),E+=u.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=r.enter("destinationLiteral"),E+=u.move("<"),E+=u.move(r.safe(e.url,{before:E,after:">",...u.current()})),E+=u.move(">")):(d=r.enter("destinationRaw"),E+=u.move(r.safe(e.url,{before:E,after:e.title?" ":")",...u.current()}))),d(),e.title&&(d=r.enter(`title${a}`),E+=u.move(" "+i),E+=u.move(r.safe(e.title,{before:E,after:i,...u.current()})),E+=u.move(i),d()),E+=u.move(")"),o(),E}function ty(e,t,r){return jh(e,r)?"<":"["}Mh.peek=ry;function Mh(e,t,r,n){const i=e.referenceType,a=r.enter("linkReference");let u=r.enter("label");const o=r.createTracker(n);let d=o.move("[");const E=r.containerPhrasing(e,{before:d,after:"]",...o.current()});d+=o.move(E+"]["),u();const w=r.stack;r.stack=[],u=r.enter("reference");const M=r.safe(r.associationId(e),{before:d,after:"]",...o.current()});return u(),r.stack=w,a(),i==="full"||!E||E!==M?d+=o.move(M+"]"):i==="shortcut"?d=d.slice(0,-1):d+=o.move("]"),d}function ry(){return"["}function El(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ny(e){const t=El(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Rh(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function iy(e){const t=Rh(e),r=e.options.bulletOrderedOther;if(!r)return t==="."?")":".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrderedOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bulletOrdered` (`"+t+"`) and `bulletOrderedOther` (`"+r+"`) to be different");return r}function Jh(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function sy(e,t,r,n){const i=r.enter("list"),a=r.bulletCurrent;let u=e.ordered?Rh(r):El(r);const o=e.ordered?iy(r):ny(r),d=r.bulletLastUsed;let E=!1;if(t&&(e.ordered?r.options.bulletOrderedOther:r.options.bulletOther)&&d&&u===d&&(E=!0),!e.ordered){const M=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&M&&(!M.children||!M.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(E=!0),Jh(r)===u&&M){let re=-1;for(;++re<e.children.length;){const ue=e.children[re];if(ue&&ue.type==="listItem"&&ue.children&&ue.children[0]&&ue.children[0].type==="thematicBreak"){E=!0;break}}}}E&&(u=o),r.bulletCurrent=u;const w=r.containerFlow(e,n);return r.bulletLastUsed=u,r.bulletCurrent=a,i(),w}function ay(e){const t=e.options.listItemIndent||"tab";if(t===1||t==="1")return"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function uy(e,t,r,n){const i=ay(r);let a=r.bulletCurrent||El(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let u=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const o=r.createTracker(n);o.move(a+" ".repeat(u-a.length)),o.shift(u);const d=r.enter("listItem"),E=r.indentLines(r.containerFlow(e,o.current()),w);return d(),E;function w(M,re,ue){return re?(ue?"":" ".repeat(u))+M:(ue?a:a+" ".repeat(u-a.length))+M}}function oy(e,t,r,n){const i=r.enter("paragraph"),a=r.enter("phrasing"),u=r.containerPhrasing(e,n);return a(),i(),u}var ly=Cl(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function cy(e,t,r,n){return(e.children.some(u=>ly(u))?r.containerPhrasing:r.containerFlow).call(r,e,n)}function py(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Uh.peek=hy;function Uh(e,t,r,n){const i=py(r),a=r.enter("strong"),u=r.createTracker(n);let o=u.move(i+i);return o+=u.move(r.containerPhrasing(e,{before:o,after:i,...u.current()})),o+=u.move(i+i),a(),o}function hy(e,t,r){return r.options.strong||"*"}function Al(e,t,r,n){return r.safe(e.value,n)}function fy(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function dy(e,t,r){const n=(Jh(r)+(r.options.ruleSpaces?" ":"")).repeat(fy(r));return r.options.ruleSpaces?n.slice(0,-1):n}var my={blockquote:ID,break:bp,code:jD,definition:MD,emphasis:Th,hardBreak:bp,heading:QD,html:Nh,image:Ih,imageReference:Ph,inlineCode:Oh,link:Vh,linkReference:Mh,list:sy,listItem:uy,paragraph:oy,root:cy,strong:Uh,text:Al,thematicBreak:dy},gy=[xy];function xy(e,t,r,n){if(t.type==="code"&&Yo(t,n)&&(e.type==="list"||e.type===t.type&&Yo(e,n))||e.type==="list"&&e.type===t.type&&Boolean(e.ordered)===Boolean(t.ordered)&&!(e.ordered?n.options.bulletOrderedOther:n.options.bulletOther))return!1;if("spread"in r&&typeof r.spread=="boolean")return e.type==="paragraph"&&(e.type===t.type||t.type==="definition"||t.type==="heading"&&_h(t,n))?void 0:r.spread?1:0}var xs=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Dy=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:`
137
- `,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:xs},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
138
- ]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:xs},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
139
- *])`},{character:"*",inConstruct:"phrasing",notInConstruct:xs},{atBreak:!0,character:"+",after:`(?:[ \r
140
- ])`},{atBreak:!0,character:"-",after:`(?:[ \r
141
- -])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r
142
- ]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:xs},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:xs},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:xs},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:xs},{atBreak:!0,character:"~"}];function yy(e){return e.label||!e.identifier?e.label||"":vl(e.identifier)}function bl(e,t,r){const n=t.indexStack,i=e.children||[],a=[];let u=-1,o=r.before;n.push(-1);let d=t.createTracker(r);for(;++u<i.length;){const E=i[u];let w;if(n[n.length-1]=u,u+1<i.length){let M=t.handle.handlers[i[u+1].type];M&&M.peek&&(M=M.peek),w=M?M(i[u+1],e,t,{before:"",after:"",...d.current()}).charAt(0):""}else w=r.after;a.length>0&&(o==="\r"||o===`
143
- `)&&E.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),o=" ",d=t.createTracker(r),d.move(a.join(""))),a.push(d.move(t.handle(E,e,t,{...d.current(),before:o,after:w}))),o=a[a.length-1].slice(-1)}return n.pop(),a.join("")}function Nu(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),u=[];let o=-1;for(n.push(-1);++o<i.length;){const d=i[o];n[n.length-1]=o,u.push(a.move(t.handle(d,e,t,{before:`
144
- `,after:`
145
- `,...a.current()}))),d.type!=="list"&&(t.bulletLastUsed=void 0),o<i.length-1&&u.push(a.move(vy(d,i[o+1],e,t)))}return n.pop(),u.join("")}function vy(e,t,r,n){let i=n.join.length;for(;i--;){const a=n.join[i](e,t,r,n);if(a===!0||a===1)break;if(typeof a=="number")return`
146
- `.repeat(1+a);if(a===!1)return`
147
-
148
- <!---->
149
-
150
- `}return`
151
-
152
- `}var Cy=/\r?\n|\r/g;function hu(e,t){const r=[];let n=0,i=0,a;for(;a=Cy.exec(e);)u(e.slice(n,a.index)),r.push(a[0]),n=a.index+a[0].length,i++;return u(e.slice(n)),r.join("");function u(o){r.push(t(o,i,!o))}}function Ey(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),i=[],a=[],u={};let o=-1;for(;++o<e.unsafe.length;){const w=e.unsafe[o];if(!Bh(e.stack,w))continue;const M=Lh(w);let re;for(;re=M.exec(n);){const ue="before"in w||Boolean(w.atBreak),le="after"in w,Se=re.index+(ue?re[1].length:0);i.includes(Se)?(u[Se].before&&!ue&&(u[Se].before=!1),u[Se].after&&!le&&(u[Se].after=!1)):(i.push(Se),u[Se]={before:ue,after:le})}}i.sort(Ay);let d=r.before?r.before.length:0;const E=n.length-(r.after?r.after.length:0);for(o=-1;++o<i.length;){const w=i[o];w<d||w>=E||w+1<E&&i[o+1]===w+1&&u[w].after&&!u[w+1].before&&!u[w+1].after||i[o-1]===w-1&&u[w].before&&!u[w-1].before&&!u[w-1].after||(d!==w&&a.push(Fp(n.slice(d,w),"\\")),d=w,/[!-/:-@[-`{-~]/.test(n.charAt(w))&&(!r.encode||!r.encode.includes(n.charAt(w)))?a.push("\\"):(a.push("&#x"+n.charCodeAt(w).toString(16).toUpperCase()+";"),d++))}return a.push(Fp(n.slice(d,E),r.after)),a.join("")}function Ay(e,t){return e-t}function Fp(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],i=[],a=e+t;let u=-1,o=0,d;for(;d=r.exec(a);)n.push(d.index);for(;++u<n.length;)o!==n[u]&&i.push(e.slice(o,n[u])),i.push("\\"),o=n[u];return i.push(e.slice(o)),i.join("")}function Iu(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,i=r.line||1,a=r.column||1;return{move:d,current:u,shift:o};function u(){return{now:{line:i,column:a},lineShift:n}}function o(E){n+=E}function d(E){const w=E||"",M=w.split(/\r?\n|\r/g),re=M[M.length-1];return i+=M.length-1,a=M.length===1?a+re.length:1+re.length+n,w}}function Fl(e,t={}){const r={enter:i,indentLines:hu,associationId:yy,containerPhrasing:wy,containerFlow:ky,createTracker:Iu,safe:By,stack:[],unsafe:[],join:[],handlers:{},options:{},indexStack:[],handle:void 0};nu(r,{unsafe:Dy,join:gy,handlers:my}),nu(r,t),r.options.tightDefinitions&&nu(r,{join:[Sy]}),r.handle=ND("type",{invalid:by,unknown:Fy,handlers:r.handlers});let n=r.handle(e,void 0,r,{before:`
153
- `,after:`
154
- `,now:{line:1,column:1},lineShift:0});return n&&n.charCodeAt(n.length-1)!==10&&n.charCodeAt(n.length-1)!==13&&(n+=`
155
- `),n;function i(a){return r.stack.push(a),u;function u(){r.stack.pop()}}}function by(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Fy(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function Sy(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function wy(e,t){return bl(e,this,t)}function ky(e,t){return Nu(e,this,t)}function By(e,t){return Ey(this,e,t)}function Ty(e){Object.assign(this,{Compiler:r=>{const n=this.data("settings");return Fl(r,Object.assign({},n,e,{extensions:this.data("toMarkdownExtensions")||[]}))}})}var _y=Ty,Ny=U1().use(_D).use(_y).freeze(),Iy=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239],zh=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Py="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",qh="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",_o={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},No="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Ly={5:No,"5module":No+" export import",6:No+" const class extends export import super"},Oy=/^in(stanceof)?$/,jy=new RegExp("["+qh+"]"),Vy=new RegExp("["+qh+Py+"]");function el(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}}function Ri(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&jy.test(String.fromCharCode(e)):t===!1?!1:el(e,zh)}function Gs(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Vy.test(String.fromCharCode(e)):t===!1?!1:el(e,zh)||el(e,Iy)}var Mr=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function oi(e,t){return new Mr(e,{beforeExpr:!0,binop:t})}var li={beforeExpr:!0},Xn={startsExpr:!0},Sl={};function Pr(e,t){return t===void 0&&(t={}),t.keyword=e,Sl[e]=new Mr(e,t)}var oe={num:new Mr("num",Xn),regexp:new Mr("regexp",Xn),string:new Mr("string",Xn),name:new Mr("name",Xn),privateId:new Mr("privateId",Xn),eof:new Mr("eof"),bracketL:new Mr("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Mr("]"),braceL:new Mr("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Mr("}"),parenL:new Mr("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Mr(")"),comma:new Mr(",",li),semi:new Mr(";",li),colon:new Mr(":",li),dot:new Mr("."),question:new Mr("?",li),questionDot:new Mr("?."),arrow:new Mr("=>",li),template:new Mr("template"),invalidTemplate:new Mr("invalidTemplate"),ellipsis:new Mr("...",li),backQuote:new Mr("`",Xn),dollarBraceL:new Mr("${",{beforeExpr:!0,startsExpr:!0}),eq:new Mr("=",{beforeExpr:!0,isAssign:!0}),assign:new Mr("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Mr("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Mr("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:oi("||",1),logicalAND:oi("&&",2),bitwiseOR:oi("|",3),bitwiseXOR:oi("^",4),bitwiseAND:oi("&",5),equality:oi("==/!=/===/!==",6),relational:oi("</>/<=/>=",7),bitShift:oi("<</>>/>>>",8),plusMin:new Mr("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:oi("%",10),star:oi("*",10),slash:oi("/",10),starstar:new Mr("**",{beforeExpr:!0}),coalesce:oi("??",1),_break:Pr("break"),_case:Pr("case",li),_catch:Pr("catch"),_continue:Pr("continue"),_debugger:Pr("debugger"),_default:Pr("default",li),_do:Pr("do",{isLoop:!0,beforeExpr:!0}),_else:Pr("else",li),_finally:Pr("finally"),_for:Pr("for",{isLoop:!0}),_function:Pr("function",Xn),_if:Pr("if"),_return:Pr("return",li),_switch:Pr("switch"),_throw:Pr("throw",li),_try:Pr("try"),_var:Pr("var"),_const:Pr("const"),_while:Pr("while",{isLoop:!0}),_with:Pr("with"),_new:Pr("new",{beforeExpr:!0,startsExpr:!0}),_this:Pr("this",Xn),_super:Pr("super",Xn),_class:Pr("class",Xn),_extends:Pr("extends",li),_export:Pr("export"),_import:Pr("import",Xn),_null:Pr("null",Xn),_true:Pr("true",Xn),_false:Pr("false",Xn),_in:Pr("in",{beforeExpr:!0,binop:7}),_instanceof:Pr("instanceof",{beforeExpr:!0,binop:7}),_typeof:Pr("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Pr("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Pr("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},gi=/\r\n?|\n|\u2028|\u2029/,My=new RegExp(gi.source,"g");function ra(e){return e===10||e===13||e===8232||e===8233}function $h(e,t,r){r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(ra(i))return n<r-1&&i===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}var Hh=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,fi=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Wh=Object.prototype,Ry=Wh.hasOwnProperty,Jy=Wh.toString,Ba=Object.hasOwn||function(e,t){return Ry.call(e,t)},Sp=Array.isArray||function(e){return Jy.call(e)==="[object Array]"};function ys(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function ns(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Uy=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Aa=function(t,r){this.line=t,this.column=r};Aa.prototype.offset=function(t){return new Aa(this.line,this.column+t)};var Pu=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};function Gh(e,t){for(var r=1,n=0;;){var i=$h(e,n,t);if(i<0)return new Aa(r,t-n);++r,n=i}}var tl={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},wp=!1;function zy(e){var t={};for(var r in tl)t[r]=e&&Ba(e,r)?e[r]:tl[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!wp&&typeof console=="object"&&console.warn&&(wp=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
156
- Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),e.allowHashBang==null&&(t.allowHashBang=t.ecmaVersion>=14),Sp(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return Sp(t.onComment)&&(t.onComment=qy(t,t.onComment)),t}function qy(e,t){return function(r,n,i,a,u,o){var d={type:r?"Block":"Line",value:n,start:i,end:a};e.locations&&(d.loc=new Pu(this,u,o)),e.ranges&&(d.range=[i,a]),t.push(d)}}var ba=1,na=2,wl=4,Xh=8,Qh=16,Kh=32,kl=64,Yh=128,Ta=256,Bl=ba|na|Ta;function Tl(e,t){return na|(e?wl:0)|(t?Xh:0)}var fu=0,_l=1,Vi=2,Zh=3,ef=4,tf=5,Tn=function(t,r,n){this.options=t=zy(t),this.sourceFile=t.sourceFile,this.keywords=ys(Ly[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=_o[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=ys(i);var a=(i?i+" ":"")+_o.strict;this.reservedWordsStrict=ys(a),this.reservedWordsStrictBind=ys(a+" "+_o.strictBind),this.input=String(r),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
157
- `,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(gi).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=oe.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ba),this.regexpState=null,this.privateNameStack=[]},Ti={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Tn.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Ti.inFunction.get=function(){return(this.currentVarScope().flags&na)>0};Ti.inGenerator.get=function(){return(this.currentVarScope().flags&Xh)>0&&!this.currentVarScope().inClassFieldInit};Ti.inAsync.get=function(){return(this.currentVarScope().flags&wl)>0&&!this.currentVarScope().inClassFieldInit};Ti.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Ta)return!1;if(t.flags&na)return(t.flags&wl)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Ti.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&kl)>0||r||this.options.allowSuperOutsideMethod};Ti.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Yh)>0};Ti.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Ti.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(na|Ta))>0||r};Ti.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Ta)>0};Tn.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=this,i=0;i<t.length;i++)n=t[i](n);return n};Tn.parse=function(t,r){return new this(r,t).parse()};Tn.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};Tn.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(Tn.prototype,Ti);var qn=Tn.prototype,$y=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;qn.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){fi.lastIndex=e,e+=fi.exec(this.input)[0].length;var t=$y.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){fi.lastIndex=e+t[0].length;var r=fi.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return i===";"||i==="}"||gi.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,fi.lastIndex=e,e+=fi.exec(this.input)[0].length,this.input[e]===";"&&e++}};qn.eat=function(e){return this.type===e?(this.next(),!0):!1};qn.isContextual=function(e){return this.type===oe.name&&this.value===e&&!this.containsEsc};qn.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};qn.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};qn.canInsertSemicolon=function(){return this.type===oe.eof||this.type===oe.braceR||gi.test(this.input.slice(this.lastTokEnd,this.start))};qn.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};qn.semicolon=function(){!this.eat(oe.semi)&&!this.insertSemicolon()&&this.unexpected()};qn.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};qn.expect=function(e){this.eat(e)||this.unexpected()};qn.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Lu=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};qn.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};qn.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};qn.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};qn.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var pr=Tn.prototype;pr.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==oe.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Nl={kind:"loop"},Hy={kind:"switch"};pr.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;fi.lastIndex=this.pos;var t=fi.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91||n===92||n>55295&&n<56320)return!0;if(e)return!1;if(n===123)return!0;if(Ri(n,!0)){for(var i=r+1;Gs(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var a=this.input.slice(r,i);if(!Oy.test(a))return!0}return!1};pr.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;fi.lastIndex=this.pos;var e=fi.exec(this.input),t=this.pos+e[0].length,r;return!gi.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Gs(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};pr.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(n=oe._var,a="let"),n){case oe._break:case oe._continue:return this.parseBreakContinueStatement(i,n.keyword);case oe._debugger:return this.parseDebuggerStatement(i);case oe._do:return this.parseDoStatement(i);case oe._for:return this.parseForStatement(i);case oe._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case oe._class:return e&&this.unexpected(),this.parseClass(i,!0);case oe._if:return this.parseIfStatement(i);case oe._return:return this.parseReturnStatement(i);case oe._switch:return this.parseSwitchStatement(i);case oe._throw:return this.parseThrowStatement(i);case oe._try:return this.parseTryStatement(i);case oe._const:case oe._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(i,a);case oe._while:return this.parseWhileStatement(i);case oe._with:return this.parseWithStatement(i);case oe.braceL:return this.parseBlock(!0,i);case oe.semi:return this.parseEmptyStatement(i);case oe._export:case oe._import:if(this.options.ecmaVersion>10&&n===oe._import){fi.lastIndex=this.pos;var u=fi.exec(this.input),o=this.pos+u[0].length,d=this.input.charCodeAt(o);if(d===40||d===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===oe._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var E=this.value,w=this.parseExpression();return n===oe.name&&w.type==="Identifier"&&this.eat(oe.colon)?this.parseLabeledStatement(i,E,w,e):this.parseExpressionStatement(i,w)}};pr.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(oe.semi)||this.insertSemicolon()?e.label=null:this.type!==oe.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};pr.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};pr.parseDoStatement=function(e){return this.next(),this.labels.push(Nl),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(oe._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(oe.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};pr.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Nl),this.enterScope(0),this.expect(oe.parenL),this.type===oe.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===oe._var||this.type===oe._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),(this.type===oe._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===oe._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var a=this.isContextual("let"),u=!1,o=new Lu,d=this.parseExpression(t>-1?"await":!0,o);return this.type===oe._in||(u=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===oe._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&u&&this.raise(d.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(d,!1,o),this.checkLValPattern(d),this.parseForIn(e,d)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,d))};pr.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,va|(r?0:rl),!1,t)};pr.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(oe._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};pr.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(oe.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};pr.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(oe.braceL),this.labels.push(Hy),this.enterScope(0);for(var t,r=!1;this.type!==oe.braceR;)if(this.type===oe._case||this.type===oe._default){var n=this.type===oe._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(oe.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};pr.parseThrowStatement=function(e){return this.next(),gi.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Wy=[];pr.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===oe._catch){var t=this.startNode();if(this.next(),this.eat(oe.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Kh:0),this.checkLValPattern(t.param,r?ef:Vi),this.expect(oe.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(oe._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};pr.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};pr.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Nl),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};pr.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};pr.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};pr.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1){var u=a[i];u.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var o=this.type.isLoop?"loop":this.type===oe._switch?"switch":null,d=this.labels.length-1;d>=0;d--){var E=this.labels[d];if(E.statementStart===e.start)E.statementStart=this.start,E.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};pr.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};pr.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(oe.braceL),e&&this.enterScope(0);this.type!==oe.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};pr.parseFor=function(e,t){return e.init=t,this.expect(oe.semi),e.test=this.type===oe.semi?null:this.parseExpression(),this.expect(oe.semi),e.update=this.type===oe.parenR?null:this.parseExpression(),this.expect(oe.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};pr.parseForIn=function(e,t){var r=this.type===oe._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(oe.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};pr.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(oe.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===oe._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===oe._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(oe.comma))break}return e};pr.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?_l:Vi,!1)};var va=1,rl=2,rf=4;pr.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===oe.star&&t&rl&&this.unexpected(),e.generator=this.eat(oe.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&va&&(e.id=t&rf&&this.type!==oe.name?null:this.parseIdent(),e.id&&!(t&rl)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?_l:Vi:Zh));var a=this.yieldPos,u=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Tl(e.async,e.generator)),t&va||(e.id=this.type===oe.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=a,this.awaitPos=u,this.awaitIdentPos=o,this.finishNode(e,t&va?"FunctionDeclaration":"FunctionExpression")};pr.parseFunctionParams=function(e){this.expect(oe.parenL),e.params=this.parseBindingList(oe.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};pr.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(oe.braceL);this.type!==oe.braceR;){var u=this.parseClassElement(e.superClass!==null);u&&(i.body.push(u),u.type==="MethodDefinition"&&u.kind==="constructor"?(a&&this.raise(u.start,"Duplicate constructor in the same class"),a=!0):u.key&&u.key.type==="PrivateIdentifier"&&Gy(n,u)&&this.raiseRecoverable(u.key.start,"Identifier '#"+u.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};pr.parseClassElement=function(e){if(this.eat(oe.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,a=!1,u="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(oe.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===oe.star?o=!0:n="static"}if(r.static=o,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===oe.star)&&!this.canInsertSemicolon()?a=!0:n="async"),!n&&(t>=9||!a)&&this.eat(oe.star)&&(i=!0),!n&&!a&&!i){var d=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?u=d:n=d)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===oe.parenL||u!=="method"||i||a){var E=!r.static&&du(r,"constructor"),w=E&&e;E&&u!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=E?"constructor":u,this.parseClassMethod(r,i,a,w)}else this.parseClassField(r);return r};pr.isClassElementNameStart=function(){return this.type===oe.name||this.type===oe.privateId||this.type===oe.num||this.type===oe.string||this.type===oe.bracketL||this.type.keyword};pr.parseClassElementName=function(e){this.type===oe.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};pr.parseClassMethod=function(e,t,r,n){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&du(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};pr.parseClassField=function(e){if(du(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&du(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(oe.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};pr.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Ta|kl);this.type!==oe.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};pr.parseClassId=function(e,t){this.type===oe.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Vi,!1)):(t===!0&&this.unexpected(),e.id=null)};pr.parseClassSuper=function(e){e.superClass=this.eat(oe._extends)?this.parseExprSubscripts(!1):null};pr.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};pr.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,n=this.privateNameStack.length,i=n===0?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var u=r[a];Ba(t,u.name)||(i?i.used.push(u):this.raiseRecoverable(u.start,"Private field '#"+u.name+"' must be declared in an enclosing class"))}};function Gy(e,t){var r=t.key.name,n=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),n==="iget"&&i==="iset"||n==="iset"&&i==="iget"||n==="sget"&&i==="sset"||n==="sset"&&i==="sget"?(e[r]="true",!1):n?!0:(e[r]=i,!1)}function du(e,t){var r=e.computed,n=e.key;return!r&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}pr.parseExport=function(e,t){if(this.next(),this.eat(oe.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==oe.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(oe._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===oe._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,va|rf,!1,r)}else if(this.type===oe._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==oe.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,u=e.specifiers;a<u.length;a+=1){var o=u[a];this.checkUnreserved(o.local),this.checkLocalExport(o.local),o.local.type==="Literal"&&this.raise(o.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};pr.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ba(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};pr.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var u=0,o=t.elements;u<o.length;u+=1){var d=o[u];d&&this.checkPatternExport(e,d)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};pr.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};pr.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};pr.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(oe.braceL);!this.eat(oe.braceR);){if(r)r=!1;else if(this.expect(oe.comma),this.afterTrailingComma(oe.braceR))break;var n=this.startNode();n.local=this.parseModuleExportName(),n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local,this.checkExport(e,n.exported,n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t};pr.parseImport=function(e){return this.next(),this.type===oe.string?(e.specifiers=Wy,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===oe.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};pr.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===oe.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLValSimple(r.local,Vi),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(oe.comma))return e}if(this.type===oe.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLValSimple(n.local,Vi),e.push(this.finishNode(n,"ImportNamespaceSpecifier")),e}for(this.expect(oe.braceL);!this.eat(oe.braceR);){if(t)t=!1;else if(this.expect(oe.comma),this.afterTrailingComma(oe.braceR))break;var i=this.startNode();i.imported=this.parseModuleExportName(),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLValSimple(i.local,Vi),e.push(this.finishNode(i,"ImportSpecifier"))}return e};pr.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===oe.string){var e=this.parseLiteral(this.value);return Uy.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};pr.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};pr.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Ci=Tn.prototype;Ci.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};Ci.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};Ci.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Ci.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==oe.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Ci.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case oe.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(oe.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case oe.braceL:return this.parseObj(!0)}return this.parseIdent()};Ci.parseBindingList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(oe.comma),t&&this.type===oe.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===oe.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===oe.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var u=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(u),n.push(u)}}return n};Ci.parseBindingListItem=function(e){return e};Ci.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(oe.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};Ci.checkLValSimple=function(e,t,r){t===void 0&&(t=fu);var n=t!==fu;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===Vi&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ba(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==tf&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};Ci.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=fu),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var u=0,o=e.elements;u<o.length;u+=1){var d=o[u];d&&this.checkLValInnerPattern(d,t,r)}break;default:this.checkLValSimple(e,t,r)}};Ci.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=fu),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Di=function(t,r,n,i,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i,this.generator=!!a},fn={b_stat:new Di("{",!1),b_expr:new Di("{",!0),b_tmpl:new Di("${",!1),p_stat:new Di("(",!1),p_expr:new Di("(",!0),q_tmpl:new Di("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Di("function",!1),f_expr:new Di("function",!0),f_expr_gen:new Di("function",!0,!1,null,!0),f_gen:new Di("function",!1,!1,null,!0)},ia=Tn.prototype;ia.initialContext=function(){return[fn.b_stat]};ia.curContext=function(){return this.context[this.context.length-1]};ia.braceIsBlock=function(e){var t=this.curContext();return t===fn.f_expr||t===fn.f_stat?!0:e===oe.colon&&(t===fn.b_stat||t===fn.b_expr)?!t.isExpr:e===oe._return||e===oe.name&&this.exprAllowed?gi.test(this.input.slice(this.lastTokEnd,this.start)):e===oe._else||e===oe.semi||e===oe.eof||e===oe.parenR||e===oe.arrow?!0:e===oe.braceL?t===fn.b_stat:e===oe._var||e===oe._const||e===oe.name?!1:!this.exprAllowed};ia.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};ia.updateContext=function(e){var t,r=this.type;r.keyword&&e===oe.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};ia.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};oe.parenR.updateContext=oe.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===fn.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};oe.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?fn.b_stat:fn.b_expr),this.exprAllowed=!0};oe.dollarBraceL.updateContext=function(){this.context.push(fn.b_tmpl),this.exprAllowed=!0};oe.parenL.updateContext=function(e){var t=e===oe._if||e===oe._for||e===oe._with||e===oe._while;this.context.push(t?fn.p_stat:fn.p_expr),this.exprAllowed=!0};oe.incDec.updateContext=function(){};oe._function.updateContext=oe._class.updateContext=function(e){e.beforeExpr&&e!==oe._else&&!(e===oe.semi&&this.curContext()!==fn.p_stat)&&!(e===oe._return&&gi.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===oe.colon||e===oe.braceL)&&this.curContext()===fn.b_stat)?this.context.push(fn.f_expr):this.context.push(fn.f_stat),this.exprAllowed=!1};oe.backQuote.updateContext=function(){this.curContext()===fn.q_tmpl?this.context.pop():this.context.push(fn.q_tmpl),this.exprAllowed=!1};oe.star.updateContext=function(e){if(e===oe._function){var t=this.context.length-1;this.context[t]===fn.f_expr?this.context[t]=fn.f_expr_gen:this.context[t]=fn.f_gen}this.exprAllowed=!0};oe.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==oe.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Fr=Tn.prototype;Fr.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var u=t[i];if(u){var o;a==="init"?o=this.strict&&u.init||u.get||u.set:o=u.init||u[a],o&&this.raiseRecoverable(n.start,"Redefinition of property")}else u=t[i]={init:!1,get:!1,set:!1};u[a]=!0}};Fr.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===oe.comma){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(oe.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i};Fr.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,i=-1,a=-1,u=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,u=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Lu,n=!0);var o=this.start,d=this.startLoc;(this.type===oe.parenL||this.type===oe.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var E=this.parseMaybeConditional(e,t);if(r&&(E=r.call(this,E,o,d)),this.type.isAssign){var w=this.startNodeAt(o,d);return w.operator=this.value,this.type===oe.eq&&(E=this.toAssignable(E,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=E.start&&(t.shorthandAssign=-1),this.type===oe.eq?this.checkLValPattern(E):this.checkLValSimple(E),w.left=E,this.next(),w.right=this.parseMaybeAssign(e),u>-1&&(t.doubleProto=u),this.finishNode(w,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),E};Fr.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(oe.question)){var a=this.startNodeAt(r,n);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(oe.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i};Fr.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};Fr.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==oe._in)&&a>n){var u=this.type===oe.logicalOR||this.type===oe.logicalAND,o=this.type===oe.coalesce;o&&(a=oe.logicalAND.binop);var d=this.value;this.next();var E=this.start,w=this.startLoc,M=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),E,w,a,i),re=this.buildBinary(t,r,e,M,d,u||o);return(u&&this.type===oe.coalesce||o&&(this.type===oe.logicalOR||this.type===oe.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(re,t,r,n,i)}return e};Fr.buildBinary=function(e,t,r,n,i,a){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var u=this.startNodeAt(e,t);return u.left=r,u.operator=i,u.right=n,this.finishNode(u,a?"LogicalExpression":"BinaryExpression")};Fr.parseMaybeUnary=function(e,t,r,n){var i=this.start,a=this.startLoc,u;if(this.isContextual("await")&&this.canAwait)u=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),d=this.type===oe.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,d,n),this.checkExpressionErrors(e,!0),d?this.checkLValSimple(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&nf(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,u=this.finishNode(o,d?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===oe.privateId)(n||this.privateNameStack.length===0)&&this.unexpected(),u=this.parsePrivateIdent(),this.type!==oe._in&&this.unexpected();else{if(u=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return u;for(;this.type.postfix&&!this.canInsertSemicolon();){var E=this.startNodeAt(i,a);E.operator=this.value,E.prefix=!1,E.argument=u,this.checkLValSimple(u),this.next(),u=this.finishNode(E,"UpdateExpression")}}if(!r&&this.eat(oe.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,a,u,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return u};function nf(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&nf(e.expression)}Fr.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var a=this.parseSubscripts(i,r,n,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};Fr.parseSubscripts=function(e,t,r,n,i){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,u=!1;;){var o=this.parseSubscript(e,t,r,n,a,u,i);if(o.optional&&(u=!0),o===e||o.type==="ArrowFunctionExpression"){if(u){var d=this.startNodeAt(t,r);d.expression=o,o=this.finishNode(d,"ChainExpression")}return o}e=o}};Fr.parseSubscript=function(e,t,r,n,i,a,u){var o=this.options.ecmaVersion>=11,d=o&&this.eat(oe.questionDot);n&&d&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var E=this.eat(oe.bracketL);if(E||d&&this.type!==oe.parenL&&this.type!==oe.backQuote||this.eat(oe.dot)){var w=this.startNodeAt(t,r);w.object=e,E?(w.property=this.parseExpression(),this.expect(oe.bracketR)):this.type===oe.privateId&&e.type!=="Super"?w.property=this.parsePrivateIdent():w.property=this.parseIdent(this.options.allowReserved!=="never"),w.computed=!!E,o&&(w.optional=d),e=this.finishNode(w,"MemberExpression")}else if(!n&&this.eat(oe.parenL)){var M=new Lu,re=this.yieldPos,ue=this.awaitPos,le=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Se=this.parseExprList(oe.parenR,this.options.ecmaVersion>=8,!1,M);if(i&&!d&&!this.canInsertSemicolon()&&this.eat(oe.arrow))return this.checkPatternErrors(M,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=re,this.awaitPos=ue,this.awaitIdentPos=le,this.parseArrowExpression(this.startNodeAt(t,r),Se,!0,u);this.checkExpressionErrors(M,!0),this.yieldPos=re||this.yieldPos,this.awaitPos=ue||this.awaitPos,this.awaitIdentPos=le||this.awaitIdentPos;var _e=this.startNodeAt(t,r);_e.callee=e,_e.arguments=Se,o&&(_e.optional=d),e=this.finishNode(_e,"CallExpression")}else if(this.type===oe.backQuote){(d||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ye=this.startNodeAt(t,r);ye.tag=e,ye.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(ye,"TaggedTemplateExpression")}return e};Fr.parseExprAtom=function(e,t){this.type===oe.slash&&this.readRegexp();var r,n=this.potentialArrowAt===this.start;switch(this.type){case oe._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===oe.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==oe.dot&&this.type!==oe.bracketL&&this.type!==oe.parenL&&this.unexpected(),this.finishNode(r,"Super");case oe._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case oe.name:var i=this.start,a=this.startLoc,u=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(oe._function))return this.overrideContext(fn.f_expr),this.parseFunction(this.startNodeAt(i,a),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(oe.arrow))return this.parseArrowExpression(this.startNodeAt(i,a),[o],!1,t);if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===oe.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return o=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(oe.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,a),[o],!0,t)}return o;case oe.regexp:var d=this.value;return r=this.parseLiteral(d.value),r.regex={pattern:d.pattern,flags:d.flags},r;case oe.num:case oe.string:return this.parseLiteral(this.value);case oe._null:case oe._true:case oe._false:return r=this.startNode(),r.value=this.type===oe._null?null:this.type===oe._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case oe.parenL:var E=this.start,w=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(w)&&(e.parenthesizedAssign=E),e.parenthesizedBind<0&&(e.parenthesizedBind=E)),w;case oe.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(oe.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case oe.braceL:return this.overrideContext(fn.b_expr),this.parseObj(!1,e);case oe._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case oe._class:return this.parseClass(this.startNode(),!1);case oe._new:return this.parseNew();case oe.backQuote:return this.parseTemplate();case oe._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};Fr.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case oe.parenL:return this.parseDynamicImport(e);case oe.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};Fr.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(oe.parenR)){var t=this.start;this.eat(oe.comma)&&this.eat(oe.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};Fr.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};Fr.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};Fr.parseParenExpression=function(){this.expect(oe.parenL);var e=this.parseExpression();return this.expect(oe.parenR),e};Fr.parseParenAndDistinguishExpression=function(e,t){var r=this.start,n=this.startLoc,i,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var u=this.start,o=this.startLoc,d=[],E=!0,w=!1,M=new Lu,re=this.yieldPos,ue=this.awaitPos,le;for(this.yieldPos=0,this.awaitPos=0;this.type!==oe.parenR;)if(E?E=!1:this.expect(oe.comma),a&&this.afterTrailingComma(oe.parenR,!0)){w=!0;break}else if(this.type===oe.ellipsis){le=this.start,d.push(this.parseParenItem(this.parseRestBinding())),this.type===oe.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else d.push(this.parseMaybeAssign(!1,M,this.parseParenItem));var Se=this.lastTokEnd,_e=this.lastTokEndLoc;if(this.expect(oe.parenR),e&&!this.canInsertSemicolon()&&this.eat(oe.arrow))return this.checkPatternErrors(M,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=re,this.awaitPos=ue,this.parseParenArrowList(r,n,d,t);(!d.length||w)&&this.unexpected(this.lastTokStart),le&&this.unexpected(le),this.checkExpressionErrors(M,!0),this.yieldPos=re||this.yieldPos,this.awaitPos=ue||this.awaitPos,d.length>1?(i=this.startNodeAt(u,o),i.expressions=d,this.finishNodeAt(i,"SequenceExpression",Se,_e)):i=d[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var ye=this.startNodeAt(r,n);return ye.expression=i,this.finishNode(ye,"ParenthesizedExpression")}else return i};Fr.parseParenItem=function(e){return e};Fr.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var Xy=[];Fr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(oe.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc,a=this.type===oe._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,i,!0,!1),a&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(oe.parenL)?e.arguments=this.parseExprList(oe.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Xy,this.finishNode(e,"NewExpression")};Fr.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===oe.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
158
- `),cooked:this.value},this.next(),r.tail=this.type===oe.backQuote,this.finishNode(r,"TemplateElement")};Fr.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===oe.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(oe.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(oe.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};Fr.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===oe.name||this.type===oe.num||this.type===oe.string||this.type===oe.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===oe.star)&&!gi.test(this.input.slice(this.lastTokEnd,this.start))};Fr.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(oe.braceR);){if(n)n=!1;else if(this.expect(oe.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(oe.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};Fr.parseProperty=function(e,t){var r=this.startNode(),n,i,a,u;if(this.options.ecmaVersion>=9&&this.eat(oe.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===oe.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===oe.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,u=this.startLoc),e||(n=this.eat(oe.star)));var o=this.containsEsc;return this.parsePropertyName(r),!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(i=!0,n=this.options.ecmaVersion>=9&&this.eat(oe.star),this.parsePropertyName(r,t)):i=!1,this.parsePropertyValue(r,e,n,i,a,u,t,o),this.finishNode(r,"Property")};Fr.parsePropertyValue=function(e,t,r,n,i,a,u,o){if((r||n)&&this.type===oe.colon&&this.unexpected(),this.eat(oe.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===oe.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==oe.comma&&this.type!==oe.braceR&&this.type!==oe.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var d=e.kind==="get"?0:1;if(e.value.params.length!==d){var E=e.value.start;e.kind==="get"?this.raiseRecoverable(E,"getter should have no params"):this.raiseRecoverable(E,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===oe.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};Fr.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(oe.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(oe.bracketR),e.key;e.computed=!1}return e.key=this.type===oe.num||this.type===oe.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Fr.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};Fr.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Tl(t,n.generator)|kl|(r?Yh:0)),this.expect(oe.parenL),n.params=this.parseBindingList(oe.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(n,"FunctionExpression")};Fr.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.enterScope(Tl(r,!1)|Qh),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(e,"ArrowFunctionExpression")};Fr.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==oe.braceL,a=this.strict,u=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||o)&&(u=this.strictDirective(this.end),u&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var d=this.labels;this.labels=[],u&&(this.strict=!0),this.checkParams(e,!a&&!u&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,tf),e.body=this.parseBlock(!1,void 0,u&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=d}this.exitScope()};Fr.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0};Fr.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,_l,t?null:r)}};Fr.parseExprList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(oe.comma),t&&this.afterTrailingComma(e))break;var u=void 0;r&&this.type===oe.comma?u=null:this.type===oe.ellipsis?(u=this.parseSpread(n),n&&this.type===oe.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):u=this.parseMaybeAssign(!1,n),i.push(u)}return i};Fr.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};Fr.parseIdent=function(e,t){var r=this.startNode();return this.type===oe.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r};Fr.parsePrivateIdent=function(){var e=this.startNode();return this.type===oe.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e};Fr.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===oe.semi||this.canInsertSemicolon()||this.type!==oe.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(oe.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};Fr.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var mu=Tn.prototype;mu.raise=function(e,t){var r=Gh(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n};mu.raiseRecoverable=mu.raise;mu.curPosition=function(){if(this.options.locations)return new Aa(this.curLine,this.pos-this.lineStart)};var us=Tn.prototype,Qy=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};us.enterScope=function(e){this.scopeStack.push(new Qy(e))};us.exitScope=function(){this.scopeStack.pop()};us.treatFunctionsAsVarInScope=function(e){return e.flags&na||!this.inModule&&e.flags&ba};us.declareName=function(e,t,r){var n=!1;if(t===Vi){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&ba&&delete this.undefinedExports[e]}else if(t===ef){var a=this.currentScope();a.lexical.push(e)}else if(t===Zh){var u=this.currentScope();this.treatFunctionsAsVar?n=u.lexical.indexOf(e)>-1:n=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var d=this.scopeStack[o];if(d.lexical.indexOf(e)>-1&&!(d.flags&Kh&&d.lexical[0]===e)||!this.treatFunctionsAsVarInScope(d)&&d.functions.indexOf(e)>-1){n=!0;break}if(d.var.push(e),this.inModule&&d.flags&ba&&delete this.undefinedExports[e],d.flags&Bl)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};us.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};us.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};us.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Bl)return t}};us.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Bl&&!(t.flags&Qh))return t}};var Ou=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Pu(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},_a=Tn.prototype;_a.startNode=function(){return new Ou(this,this.start,this.startLoc)};_a.startNodeAt=function(e,t){return new Ou(this,e,t)};function sf(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}_a.finishNode=function(e,t){return sf.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};_a.finishNodeAt=function(e,t,r,n){return sf.call(this,e,t,r,n)};_a.copyNode=function(e){var t=new Ou(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var af="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",uf=af+" Extended_Pictographic",of=uf,lf=of+" EBase EComp EMod EPres ExtPict",Ky=lf,Yy={9:af,10:uf,11:of,12:lf,13:Ky},kp="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",cf="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",pf=cf+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",hf=pf+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ff=hf+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Zy=ff+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ev={9:cf,10:pf,11:hf,12:ff,13:Zy},df={};function tv(e){var t=df[e]={binary:ys(Yy[e]+" "+kp),nonBinary:{General_Category:ys(kp),Script:ys(ev[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Li=0,Ss=[9,10,11,12,13];Li<Ss.length;Li+=1)wa=Ss[Li],tv(wa);var wa,Li,Ss,nr=Tn.prototype,zi=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":""),this.unicodeProperties=df[t.options.ecmaVersion>=13?13:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};zi.prototype.reset=function(t,r,n){var i=n.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=n,this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchN=i&&this.parser.options.ecmaVersion>=9};zi.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};zi.prototype.at=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return-1;var a=n.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=i)return a;var u=n.charCodeAt(t+1);return u>=56320&&u<=57343?(a<<10)+u-56613888:a};zi.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return i;var a=n.charCodeAt(t),u;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=i||(u=n.charCodeAt(t+1))<56320||u>57343?t+1:t+2};zi.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};zi.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};zi.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};zi.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};nr.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n<r.length;n++){var i=r.charAt(n);t.indexOf(i)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(i,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}};nr.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};nr.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames.indexOf(n)===-1&&e.raise("Invalid named capture referenced")}};nr.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};nr.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};nr.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};nr.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};nr.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};nr.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};nr.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};nr.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};nr.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};nr.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};nr.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};nr.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};nr.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};nr.regexp_eatSyntaxCharacter=function(e){var t=e.current();return mf(t)?(e.lastIntValue=t,e.advance(),!0):!1};function mf(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}nr.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!mf(r);)e.advance();return e.pos!==t};nr.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};nr.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};nr.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};nr.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ns(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ns(e.lastIntValue);return!0}return!1};nr.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),rv(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function rv(e){return Ri(e,!0)||e===36||e===95}nr.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),nv(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function nv(e){return Gs(e,!0)||e===36||e===95||e===8204||e===8205}nr.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};nr.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};nr.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};nr.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};nr.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};nr.regexp_eatZero=function(e){return e.current()===48&&!ju(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};nr.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};nr.regexp_eatControlLetter=function(e){var t=e.current();return gf(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function gf(e){return e>=65&&e<=90||e>=97&&e<=122}nr.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(i-55296)*1024+(u-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&iv(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function iv(e){return e>=0&&e<=1114111}nr.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};nr.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};nr.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(sv(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function sv(e){return e===100||e===68||e===115||e===83||e===119||e===87}nr.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1};nr.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ba(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};nr.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};nr.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";xf(t=e.current());)e.lastStringValue+=ns(t),e.advance();return e.lastStringValue!==""};function xf(e){return gf(e)||e===95}nr.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";av(t=e.current());)e.lastStringValue+=ns(t),e.advance();return e.lastStringValue!==""};function av(e){return xf(e)||ju(e)}nr.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};nr.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};nr.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};nr.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||vf(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};nr.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};nr.regexp_eatClassControlLetter=function(e){var t=e.current();return ju(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};nr.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};nr.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ju(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function ju(e){return e>=48&&e<=57}nr.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Df(r=e.current());)e.lastIntValue=16*e.lastIntValue+yf(r),e.advance();return e.pos!==t};function Df(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function yf(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}nr.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};nr.regexp_eatOctalDigit=function(e){var t=e.current();return vf(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function vf(e){return e>=48&&e<=55}nr.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!Df(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+yf(i),e.advance()}return!0};var Il=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Pu(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Tr=Tn.prototype;Tr.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Il(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};Tr.getToken=function(){return this.next(),new Il(this)};typeof Symbol<"u"&&(Tr[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===oe.eof,value:t}}}});Tr.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(oe.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};Tr.readToken=function(e){return Ri(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};Tr.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Tr.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=$h(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};Tr.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!ra(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};Tr.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Hh.test(String.fromCharCode(e)))++this.pos;else break e}}};Tr.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};Tr.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(oe.ellipsis)):(++this.pos,this.finishToken(oe.dot))};Tr.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(oe.assign,2):this.finishOp(oe.slash,1)};Tr.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?oe.star:oe.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=oe.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(oe.assign,r+1):this.finishOp(n,r)};Tr.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(oe.assign,3)}return this.finishOp(e===124?oe.logicalOR:oe.logicalAND,2)}return t===61?this.finishOp(oe.assign,2):this.finishOp(e===124?oe.bitwiseOR:oe.bitwiseAND,1)};Tr.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(oe.assign,2):this.finishOp(oe.bitwiseXOR,1)};Tr.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||gi.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(oe.incDec,2):t===61?this.finishOp(oe.assign,2):this.finishOp(oe.plusMin,1)};Tr.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(oe.assign,r+1):this.finishOp(oe.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(oe.relational,r))};Tr.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(oe.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(oe.arrow)):this.finishOp(e===61?oe.eq:oe.prefix,1)};Tr.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(oe.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(oe.assign,3)}return this.finishOp(oe.coalesce,2)}}return this.finishOp(oe.question,1)};Tr.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Ri(t,!0)||t===92))return this.finishToken(oe.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ns(t)+"'")};Tr.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(oe.parenL);case 41:return++this.pos,this.finishToken(oe.parenR);case 59:return++this.pos,this.finishToken(oe.semi);case 44:return++this.pos,this.finishToken(oe.comma);case 91:return++this.pos,this.finishToken(oe.bracketL);case 93:return++this.pos,this.finishToken(oe.bracketR);case 123:return++this.pos,this.finishToken(oe.braceL);case 125:return++this.pos,this.finishToken(oe.braceR);case 58:return++this.pos,this.finishToken(oe.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(oe.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(oe.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ns(e)+"'")};Tr.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};Tr.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(gi.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new zi(this));o.reset(r,i,u),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var d=null;try{d=new RegExp(i,u)}catch{}return this.finishToken(oe.regexp,{pattern:i,flags:u,value:d})};Tr.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,u=0,o=0,d=0,E=t??1/0;d<E;++d,++this.pos){var w=this.input.charCodeAt(this.pos),M=void 0;if(n&&w===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),o===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),d===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=w;continue}if(w>=97?M=w-97+10:w>=65?M=w-65+10:w>=48&&w<=57?M=w-48:M=1/0,M>=e)break;o=w,u=u*e+M}return n&&o===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:u};function uv(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Cf(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}Tr.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Cf(this.input.slice(t,this.pos)),++this.pos):Ri(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(oe.num,r)};Tr.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=Cf(this.input.slice(t,this.pos));return++this.pos,Ri(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(oe.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Ri(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=uv(this.input.slice(t,this.pos),r);return this.finishToken(oe.num,a)};Tr.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};Tr.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ra(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(oe.string,t)};var Ef={};Tr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ef)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};Tr.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ef;this.raise(e,t)};Tr.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===oe.template||this.type===oe.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(oe.dollarBraceL)):(++this.pos,this.finishToken(oe.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(oe.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ra(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
159
- `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};Tr.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(oe.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};Tr.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
160
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ns(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return ra(t)?"":String.fromCharCode(t)}};Tr.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};Tr.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(Gs(i,n))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var u=this.readCodePoint();(t?Ri:Gs)(u,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=ns(u),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};Tr.readWord=function(){var e=this.readWord1(),t=oe.name;return this.keywords.test(e)&&(t=Sl[e]),this.finishToken(t,e)};var ov="8.8.0";Tn.acorn={Parser:Tn,version:ov,defaultOptions:tl,Position:Aa,SourceLocation:Pu,getLineInfo:Gh,Node:Ou,TokenType:Mr,tokTypes:oe,keywordTypes:Sl,TokContext:Di,tokContexts:fn,isIdentifierChar:Gs,isIdentifierStart:Ri,Token:Il,isNewLine:ra,lineBreak:gi,lineBreakG:My,nonASCIIwhitespace:Hh};var lv=ea(S1(),1);function iu(e){const t=e||{},r=t.loc||{},n=t.range||[0,0],i=n[0]||t.start,a=n[1]||t.end;return{start:{line:r.start&&typeof r.start.line=="number"&&r.start.line>-1?r.start.line:void 0,column:r.start&&typeof r.start.column=="number"&&r.start.column>-1?r.start.column+1:void 0,offset:typeof i=="number"&&i>-1?i:void 0},end:{line:r.end&&typeof r.end.line=="number"&&r.end.line>-1?r.end.line:void 0,column:r.end&&typeof r.end.column=="number"&&r.end.column>-1?r.end.column+1:void 0,offset:typeof a=="number"&&a>-1?a:void 0}}}var cv={}.hasOwnProperty,pv=Symbol("continue"),hv=Symbol("skip"),Io=Symbol("exit");function fv(e,t){var r,n;typeof t=="function"?r=t:t&&typeof t=="object"&&(r=t.enter,n=t.leave),i(e,null,null,[])();function i(a,u,o,d){return Po(a)&&(E.displayName="node ("+a.type+")"),E;function E(){var w=r?Bp(r(a,u,o,d)):[],M,re,ue,le,Se,_e;if(w[0]===Io)return w;if(w[0]!==hv){for(M in a)if(cv.call(a,M)&&a[M]&&typeof a[M]=="object"&&M!=="data"&&M!=="position"){if(Se=a[M],ue=d.concat(a),Array.isArray(Se))for(re=0;re>-1&&re<Se.length;)if(_e=Se[re],Po(_e)){if(le=i(_e,M,re,ue)(),le[0]===Io)return le;re=typeof le[1]=="number"?le[1]:re+1}else re++;else if(Po(Se)&&(le=i(Se,M,null,ue)(),le[0]===Io))return le}}return n?Bp(n(a,u,o,d)):w}}}function Bp(e){return Array.isArray(e)?e:typeof e=="number"?[pv,e]:[e]}function Po(e){return Boolean(e&&typeof e=="object"&&typeof e.type=="string"&&e.type.length>0)}function Af(e){for(var t=String(e),r=[],n=/\r?\n|\r/g;n.test(t);)r.push(n.lastIndex);return r.push(t.length+1),{toPoint:i,toOffset:a};function i(u){var o=-1;if(u>-1&&u<r[r.length-1]){for(;++o<r.length;)if(r[o]>u)return{line:o+1,column:u-(r[o-1]||0)+1,offset:u}}return{line:void 0,column:void 0,offset:void 0}}function a(u){var o=u&&u.line,d=u&&u.column,E;return typeof o=="number"&&typeof d=="number"&&!Number.isNaN(o)&&!Number.isNaN(d)&&o-1 in r&&(E=(r[o-2]||0)+d-1||0),E>-1&&E<r[r.length-1]?E:-1}}function bf(e,t){const{prefix:r="",suffix:n=""}=t,i=Object.assign({},t.acornOptions),a=[],u=[],o=i.onComment,d=i.onToken,E=Object.assign({},i,{onComment:a,onToken:d?u:void 0,preserveParens:!0}),w=[],M={};let re=-1,ue=!1,le,Se,_e;for(t.start&&(_e=t.start.line,M[_e]=t.start);++re<e.length;){const[me,be,pt]=e[re];me==="exit"&&(w.push(pt.sliceSerialize(be)),Y(be.start),Y(be.end))}const ye=w.join(""),tt=r+ye+n,Ve=t.expression&&Tp(ye),gt=Af(ye);if(Ve&&!t.allowEmpty)throw new Rr("Unexpected empty expression",f(0),"micromark-extension-mdx-expression:unexpected-empty-expression");try{le=t.expression&&!Ve?t.acorn.parseExpressionAt(tt,0,E):t.acorn.parse(tt,E)}catch(me){const be=me,pt=f(be.pos);be.message=String(be.message).replace(/ \(\d+:\d+\)$/,""),be.pos=pt.offset,be.loc={line:pt.line,column:pt.column-1},Se=be,ue=be.raisedAt>=r.length+ye.length||be.message==="Unterminated comment"}if(le&&t.expression&&!Ve)if(Tp(tt.slice(le.end,tt.length-n.length)))le={type:"Program",start:0,end:r.length+ye.length,body:[{type:"ExpressionStatement",expression:le,start:0,end:r.length+ye.length}],sourceType:"module",comments:[]};else{const me=f(le.end);Se=new Error("Unexpected content after expression"),Se.pos=me.offset,Se.loc={line:me.line,column:me.column-1},le=void 0}if(le){if(le.comments=a,fv(le,(me,be,pt,Ie)=>{let qe=Ie[Ie.length-1],St=be;me.type==="ParenthesizedExpression"&&qe&&St&&(typeof pt=="number"&&(qe=qe[St],St=pt),qe[St]=me.expression),Me(me)}),Array.isArray(o))o.push(...a);else if(typeof o=="function")for(const me of a)o(me.type==="Block",me.value,me.start,me.end,me.loc.start,me.loc.end);for(const me of u)Me(me),Array.isArray(d)?d.push(me):d(me)}return{estree:le,error:Se,swallow:ue};function Me(me){const be=f(me.start),pt=f(me.end);me.start=be.offset,me.end=pt.offset,me.loc={start:{line:be.line,column:be.column-1,offset:be.offset},end:{line:pt.line,column:pt.column-1,offset:pt.offset}},me.range=[me.start,me.end]}function f(me){let be=me-r.length;be<0?be=0:be>ye.length&&(be=ye.length);const pt=gt.toPoint(be),Ie=_e+(pt.line-1),qe=M[Ie].column+(pt.column-1),St=M[Ie].offset+(pt.column-1);return{line:Ie,column:qe,offset:St}}function Y(me){(!_e||me.line<_e)&&(_e=me.line),(!(me.line in M)||M[me.line].offset>me.offset)&&(M[me.line]=me)}}function Tp(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function Xs(e,t,r,n,i,a,u,o,d,E,w,M){const re=this,ue=this.events.length+3,le=this.events[this.events.length-1],Se=le&&le[1].type==="linePrefix"?le[2].sliceSerialize(le[1],!0).length:0,_e=Se?Se+1:0;let ye=1,tt,Ve;return gt;function gt(me){return e.enter(r),e.enter(n),e.consume(me),e.exit(n),tt=re.now(),Me}function Me(me){if(me===null)throw Ve||new Rr("Unexpected end of file in expression, expected a corresponding closing brace for `{`",re.now(),"micromark-extension-mdx-expression:unexpected-eof");if(me===125)return Y(me);if(Xt(me)){e.enter("lineEnding"),e.consume(me),e.exit("lineEnding");const pt=M?M+4-re.now().column:0,Ie=Math.max(_e,pt);return Ie?kr(e,Me,"linePrefix",Ie):Me}const be=re.now();if(be.line!==tt.line&&!w&&re.parser.lazy[be.line])throw new Rr("Unexpected end of file in expression, expected a corresponding closing brace for `{`",re.now(),"micromark-extension-mdx-expression:unexpected-eof");return e.enter(i),f(me)}function f(me){return me===null||me===125||Xt(me)?(e.exit(i),Me(me)):me===123&&!a?(e.consume(me),ye++,f):(e.consume(me),f)}function Y(me){if(ye--,!a)return ye?(e.enter(i),e.consume(me),f):(e.enter(n),e.consume(me),e.exit(n),e.exit(r),t);const be=bf(re.events.slice(ue),{acorn:a,acornOptions:u,start:tt,expression:!0,allowEmpty:E,prefix:d?"({":"",suffix:d?"})":""}),pt=be.estree;if(d&&pt){const Ie=pt.body[0];if(Ie.type!=="ExpressionStatement"||Ie.expression.type!=="ObjectExpression")throw new Rr("Unexpected `"+Ie.type+"` in code: expected an object spread (`{...spread}`)",iu(Ie).start,"micromark-extension-mdx-expression:non-spread");if(Ie.expression.properties[1])throw new Rr("Unexpected extra content in spread: only a single spread is supported",iu(Ie.expression.properties[1]).start,"micromark-extension-mdx-expression:spread-extra");if(Ie.expression.properties[0]&&Ie.expression.properties[0].type!=="SpreadElement")throw new Rr("Unexpected `"+Ie.expression.properties[0].type+"` in code: only spread elements are supported",iu(Ie.expression.properties[0]).start,"micromark-extension-mdx-expression:non-spread")}if(be.error){if(Ve=new Rr("Could not parse expression with acorn: "+be.error.message,{line:be.error.loc.line,column:be.error.loc.column+1,offset:be.error.pos},"micromark-extension-mdx-expression:acorn"),me!==null&&be.swallow)return e.enter(i),e.consume(me),f;throw Ve}return e.enter(n),e.consume(me),e.exit(n),Object.assign(e.exit(r),o?{estree:pt}:void 0),t}}function dv(e={}){const t=e.addResult,r=e.acorn,n=e.spread;let i=e.allowEmpty,a;if(i==null&&(i=!0),r){if(!r.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");a=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions)}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{[123]:{tokenize:u,concrete:!0}},text:{[123]:{tokenize:o}}};function u(d,E,w){const M=this;return re;function re(le){return Xs.call(M,d,kr(d,ue,"whitespace"),"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",r,a,t,n,i)(le)}function ue(le){return le===null||Xt(le)?E(le):w(le)}}function o(d,E){const w=this;return M;function M(re){return Xs.call(w,d,E,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",r,a,t,n,i,!0)(re)}}}var Ff=/[$A-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,mv=/[\d\u00B7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]/;function yn(e){return Ff.test(String.fromCharCode(e))}function Pi(e){const t=String.fromCharCode(e);return Ff.test(t)||mv.test(t)}var gv={tokenize:xv,partial:!0};function Sf(e,t,r,n,i,a,u,o,d,E,w,M,re,ue,le,Se,_e,ye,tt,Ve,gt,Me,f,Y,me,be,pt,Ie,qe,St,fr,Ar){const Qt=this;let Zt,qt,dr;return Br;function Br(ee){return dr=Qt.now(),e.enter(o),e.enter(d),e.consume(ee),e.exit(d),Oe}function Oe(ee){return Xt(ee)||ln(ee)?r(ee):(Zt=Ne,tr(ee))}function Ne(ee){if(ee===47)return e.enter(E),e.consume(ee),e.exit(E),Zt=pn,tr;if(ee===62)return On(ee);if(ee!==null&&yn(ee))return e.enter(M),e.enter(re),e.consume(ee),dn;Be(ee,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(ee===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function pn(ee){if(ee===62)return On(ee);if(ee!==null&&yn(ee))return e.enter(M),e.enter(re),e.consume(ee),dn;Be(ee,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(ee===42||ee===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function dn(ee){if(ee===45||ee!==null&&Pi(ee))return e.consume(ee),dn;if(ee===46||ee===47||ee===58||ee===62||ee===123||on(ee)||In(ee))return e.exit(re),Zt=Cn,tr(ee);Be(ee,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(ee===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Cn(ee){if(ee===46)return e.enter(ue),e.consume(ee),e.exit(ue),Zt=sr,tr;if(ee===58)return e.enter(Se),e.consume(ee),e.exit(Se),Zt=$r,tr;if(ee===47||ee===62||ee===123||ee!==null&&yn(ee))return e.exit(M),Dn(ee);Be(ee,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function sr(ee){if(ee!==null&&yn(ee))return e.enter(le),e.consume(ee),Qr;Be(ee,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Qr(ee){if(ee===45||ee!==null&&Pi(ee))return e.consume(ee),Qr;if(ee===46||ee===47||ee===62||ee===123||on(ee)||In(ee))return e.exit(le),Zt=Jr,tr(ee);Be(ee,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(ee===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Jr(ee){if(ee===46)return e.enter(ue),e.consume(ee),e.exit(ue),Zt=sr,tr;if(ee===47||ee===62||ee===123||ee!==null&&yn(ee))return e.exit(M),Dn(ee);Be(ee,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function $r(ee){if(ee!==null&&yn(ee))return e.enter(_e),e.consume(ee),hn;Be(ee,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(ee===43||ee!==null&&ee>46&&ee<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function hn(ee){if(ee===45||ee!==null&&Pi(ee))return e.consume(ee),hn;if(ee===47||ee===62||ee===123||on(ee)||In(ee))return e.exit(_e),Zt=Ln,tr(ee);Be(ee,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ln(ee){if(ee===47||ee===62||ee===123||ee!==null&&yn(ee))return e.exit(M),Dn(ee);Be(ee,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Dn(ee){if(ee===47)return e.enter(w),e.consume(ee),e.exit(w),Zt=si,tr;if(ee===62)return On(ee);if(ee===123)return Xs.call(Qt,e,Zn,ye,tt,Ve,n,i,a,!0,!1,u,dr.column)(ee);if(ee!==null&&yn(ee))return e.enter(gt),e.enter(Me),e.enter(f),e.consume(ee),Hn;Be(ee,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Zn(ee){return Zt=Dn,tr(ee)}function Hn(ee){if(ee===45||ee!==null&&Pi(ee))return e.consume(ee),Hn;if(ee===47||ee===58||ee===61||ee===62||ee===123||on(ee)||In(ee))return e.exit(f),Zt=ei,tr(ee);Be(ee,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function ei(ee){if(ee===58)return e.enter(Y),e.consume(ee),e.exit(Y),Zt=_n,tr;if(ee===61)return e.exit(Me),e.enter(be),e.consume(ee),e.exit(be),Zt=En,tr;if(ee===47||ee===62||ee===123||on(ee)||In(ee)||ee!==null&&yn(ee))return e.exit(Me),e.exit(gt),Zt=Dn,tr(ee);Be(ee,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function _n(ee){if(ee!==null&&yn(ee))return e.enter(me),e.consume(ee),Zr;Be(ee,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Zr(ee){if(ee===45||ee!==null&&Pi(ee))return e.consume(ee),Zr;if(ee===47||ee===61||ee===62||ee===123||on(ee)||In(ee))return e.exit(me),e.exit(Me),Zt=Un,tr(ee);Be(ee,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Un(ee){if(ee===61)return e.enter(be),e.consume(ee),e.exit(be),Zt=En,tr;if(ee===47||ee===62||ee===123||ee!==null&&yn(ee))return e.exit(gt),Dn(ee);Be(ee,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function En(ee){if(ee===34||ee===39)return e.enter(pt),e.enter(Ie),e.consume(ee),e.exit(Ie),qt=ee,mn;if(ee===123)return Xs.call(Qt,e,Wn,St,fr,Ar,n,i,a,!1,!1,u,dr.column)(ee);Be(ee,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(ee===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Wn(ee){return e.exit(gt),Zt=Dn,tr(ee)}function mn(ee){return ee===null&&Be(ee,"in attribute value","a corresponding closing quote `"+String.fromCharCode(qt)+"`"),ee===qt?(e.enter(Ie),e.consume(ee),e.exit(Ie),e.exit(pt),e.exit(gt),qt=void 0,Zt=Dn,tr):Xt(ee)?(Zt=mn,tr(ee)):(e.enter(qe),zn(ee))}function zn(ee){return ee===null||ee===qt||Xt(ee)?(e.exit(qe),mn(ee)):(e.consume(ee),zn)}function si(ee){if(ee===62)return On(ee);Be(ee,"after self-closing slash","`>` to end the tag"+(ee===42||ee===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function On(ee){return e.enter(d),e.consume(ee),e.exit(d),e.exit(o),t}function tr(ee){return Xt(ee)?u?(e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),kr(e,tr,"linePrefix",4)):e.attempt(gv,kr(e,tr,"linePrefix",4),lt)(ee):ln(ee)||In(ee)?(e.enter("esWhitespace"),gn(ee)):Zt(ee)}function gn(ee){return Xt(ee)||!(ln(ee)||In(ee))?(e.exit("esWhitespace"),tr(ee)):(e.consume(ee),gn)}function lt(){throw new Rr("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",Qt.now(),"micromark-extension-mdx-jsx:unexpected-eof")}function Be(ee,ut,Jt){throw new Rr("Unexpected "+(ee===null?"end of file":"character `"+(ee===96?"` ` `":String.fromCharCode(ee))+"` ("+Dv(ee)+")")+" "+ut+", expected "+Jt,Qt.now(),"micromark-extension-mdx-jsx:unexpected-"+(ee===null?"eof":"character"))}}function xv(e,t,r){const n=this;return i;function i(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a}function a(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function Dv(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function yv(e,t,r){return{tokenize:n};function n(i,a,u){return Sf.call(this,i,a,u,e,t,r,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}function vv(e,t,r){return{tokenize:n,concrete:!0};function n(i,a,u){const o=this;return d;function d(w){return Sf.call(o,i,kr(i,E,"whitespace"),u,e,t,r,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(w)}function E(w){return w===60?d(w):w===null||Xt(w)?a(w):u(w)}}}function Cv(e={}){const t=e.acorn;let r;if(t){if(!t.parse||!t.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");r=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions,{locations:!0})}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{[60]:vv(t,r,e.addResult)},text:{[60]:yv(t,r,e.addResult)}}}var Ev={disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}},Av={tokenize:Sv,partial:!0},bv=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function Fv(e){const t={tokenize:i,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");const r=e.acorn,n=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions);return{flow:{[101]:t,[105]:t}};function i(a,u,o){const d=this,E=d.parser.definedModuleSpecifiers||(d.parser.definedModuleSpecifiers=[]),w=this.events.length+1;let M=0,re;return d.interrupt?o:ue;function ue(Me){return d.now().column>1?o(Me):(re=Me===101?"export":"import",a.enter("mdxjsEsm"),a.enter("mdxjsEsmData"),le(Me))}function le(Me){return Me===re.charCodeAt(M++)?(a.consume(Me),M===re.length?Se:le):o(Me)}function Se(Me){return In(Me)?(a.consume(Me),_e):o(Me)}function _e(Me){return Me===null?Ve(Me):Xt(Me)?a.check(Av,Ve,ye)(Me):(a.consume(Me),_e)}function ye(Me){return a.exit("mdxjsEsmData"),tt(Me)}function tt(Me){return Xt(Me)?(a.enter("lineEnding"),a.consume(Me),a.exit("lineEnding"),tt):Me===null?gt(Me):(a.enter("mdxjsEsmData"),_e(Me))}function Ve(Me){return a.exit("mdxjsEsmData"),gt(Me)}function gt(Me){let f=-1;const Y=bf(d.events.slice(w),{acorn:r,acornOptions:n,prefix:E.length>0?"var "+E.join(",")+`
161
- `:""});if(Me!==null&&Y.swallow)return tt(Me);if(Y.error)throw new Rr("Could not parse import/exports with acorn: "+String(Y.error),{line:Y.error.loc.line,column:Y.error.loc.column+1,offset:Y.error.pos},"micromark-extension-mdxjs-esm:acorn");for(E.length>0&&Y.estree.body.shift();++f<Y.estree.body.length;){const me=Y.estree.body[f];if(!bv.has(me.type))throw new Rr("Unexpected `"+me.type+"` in code: only import/exports are supported",iu(me),"micromark-extension-mdxjs-esm:non-esm");if(me.type==="ImportDeclaration"&&!d.interrupt){let be=-1;for(;++be<me.specifiers.length;)E.push(me.specifiers[be].local.name)}}return Object.assign(a.exit("mdxjsEsm"),e.addResult?{estree:Y.estree}:void 0),u(Me)}}}function Sv(e,t,r){return n;function n(i){return e.exit("mdxjsEsmData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(ta,t,r)}}function wv(e){const t=Object.assign({acorn:Tn.extend((0,lv.default)()),acornOptions:{ecmaVersion:2020,sourceType:"module"},addResult:!0},e);return gl([Fv(t),dv(t),Cv(t),Ev])}var kv={enter:{mdxFlowExpression:Tv,mdxTextExpression:_v},exit:{mdxFlowExpression:_p,mdxFlowExpressionChunk:Np,mdxTextExpression:_p,mdxTextExpressionChunk:Np}},Bv={handlers:{mdxFlowExpression:Ip,mdxTextExpression:Ip},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]};function Tv(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function _v(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function _p(e){const t=this.resume(),r=e.estree,n=this.exit(e);n.value=t,r&&(n.data={estree:r})}function Np(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Ip(e){return"{"+(e.value||"")+"}"}function gu(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}var Nv=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Pp={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function wf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Iv(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Pv(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Lp(e){return Pv(e)||wf(e)}var Rs=String.fromCharCode,Lv=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function kf(e,t={}){const r=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,n=[];let i=0,a=-1,u="",o,d;t.position&&("start"in t.position||"indent"in t.position?(d=t.position.indent,o=t.position.start):o=t.position);let E=(o?o.line:0)||1,w=(o?o.column:0)||1,M=ue(),re;for(i--;++i<=e.length;)if(re===10&&(w=(d?d[a]:0)||1),re=e.charCodeAt(i),re===38){const _e=e.charCodeAt(i+1);if(_e===9||_e===10||_e===12||_e===32||_e===38||_e===60||Number.isNaN(_e)||r&&_e===r){u+=Rs(re),w++;continue}const ye=i+1;let tt=ye,Ve=ye,gt;if(_e===35){Ve=++tt;const qe=e.charCodeAt(Ve);qe===88||qe===120?(gt="hexadecimal",Ve=++tt):gt="decimal"}else gt="named";let Me="",f="",Y="";const me=gt==="named"?Lp:gt==="decimal"?wf:Iv;for(Ve--;++Ve<=e.length;){const qe=e.charCodeAt(Ve);if(!me(qe))break;Y+=Rs(qe),gt==="named"&&Nv.includes(Y)&&(Me=Y,f=Ws(Y))}let be=e.charCodeAt(Ve)===59;if(be){Ve++;const qe=gt==="named"?Ws(Y):!1;qe&&(Me=Y,f=qe)}let pt=1+Ve-ye,Ie="";if(!(!be&&t.nonTerminated===!1))if(!Y)gt!=="named"&&le(4,pt);else if(gt==="named"){if(be&&!f)le(5,1);else if(Me!==Y&&(Ve=tt+Me.length,pt=1+Ve-tt,be=!1),!be){const qe=Me?1:3;if(t.attribute){const St=e.charCodeAt(Ve);St===61?(le(qe,pt),f=""):Lp(St)?f="":le(qe,pt)}else le(qe,pt)}Ie=f}else{be||le(2,pt);let qe=Number.parseInt(Y,gt==="hexadecimal"?16:10);if(Ov(qe))le(7,pt),Ie=Rs(65533);else if(qe in Pp)le(6,pt),Ie=Pp[qe];else{let St="";jv(qe)&&le(6,pt),qe>65535&&(qe-=65536,St+=Rs(qe>>>10|55296),qe=56320|qe&1023),Ie=St+Rs(qe)}}if(Ie){Se(),M=ue(),i=Ve-1,w+=Ve-ye+1,n.push(Ie);const qe=ue();qe.offset++,t.reference&&t.reference.call(t.referenceContext,Ie,{start:M,end:qe},e.slice(ye-1,Ve)),M=qe}else Y=e.slice(ye-1,Ve),u+=Y,w+=Y.length,i=Ve-1}else re===10&&(E++,a++,w=0),Number.isNaN(re)?Se():(u+=Rs(re),w++);return n.join("");function ue(){return{line:E,column:w,offset:i+((o?o.offset:0)||0)}}function le(_e,ye){let tt;t.warning&&(tt=ue(),tt.column+=ye,tt.offset+=ye,t.warning.call(t.warningContext,Lv[_e],tt,_e))}function Se(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:M,end:ue()}),u="")}}function Ov(e){return e>=55296&&e<=57343||e>1114111}function jv(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}function Vv(e,t){if(e=e.replace(t.subset?Mv(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function r(i,a,u){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,u.charCodeAt(a+2),t)}function n(i,a,u){return t.format(i.charCodeAt(0),u.charCodeAt(a+1),t)}}function Mv(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Rv(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Pl(e,t){return Vv(e,Object.assign({format:Rv},t))}function Jv(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:n,mdxJsxFlowTagAttribute:w,mdxJsxFlowTagExpressionAttribute:M,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:a,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:n,mdxJsxTextTagAttribute:w,mdxJsxTextTagExpressionAttribute:M,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:a},exit:{mdxJsxFlowTagClosingMarker:u,mdxJsxFlowTagNamePrimary:o,mdxJsxFlowTagNameMember:d,mdxJsxFlowTagNameLocal:E,mdxJsxFlowTagExpressionAttribute:re,mdxJsxFlowTagExpressionAttributeValue:t,mdxJsxFlowTagAttributeNamePrimary:ue,mdxJsxFlowTagAttributeNameLocal:le,mdxJsxFlowTagAttributeValueLiteral:Se,mdxJsxFlowTagAttributeValueLiteralValue:t,mdxJsxFlowTagAttributeValueExpression:_e,mdxJsxFlowTagAttributeValueExpressionValue:t,mdxJsxFlowTagSelfClosingMarker:ye,mdxJsxFlowTag:tt,mdxJsxTextTagClosingMarker:u,mdxJsxTextTagNamePrimary:o,mdxJsxTextTagNameMember:d,mdxJsxTextTagNameLocal:E,mdxJsxTextTagExpressionAttribute:re,mdxJsxTextTagExpressionAttributeValue:t,mdxJsxTextTagAttributeNamePrimary:ue,mdxJsxTextTagAttributeNameLocal:le,mdxJsxTextTagAttributeValueLiteral:Se,mdxJsxTextTagAttributeValueLiteralValue:t,mdxJsxTextTagAttributeValueExpression:_e,mdxJsxTextTagAttributeValueExpressionValue:t,mdxJsxTextTagSelfClosingMarker:ye,mdxJsxTextTag:tt}};function e(){this.buffer()}function t(f){this.config.enter.data.call(this,f),this.config.exit.data.call(this,f)}function r(f){const Y={name:void 0,attributes:[],close:!1,selfClosing:!1,start:f.start,end:f.end};this.getData("mdxJsxTagStack")||this.setData("mdxJsxTagStack",[]),this.setData("mdxJsxTag",Y),this.buffer()}function n(f){if(this.getData("mdxJsxTagStack").length===0)throw new Rr("Unexpected closing slash `/` in tag, expected an open tag first",{start:f.start,end:f.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function i(f){if(this.getData("mdxJsxTag").close)throw new Rr("Unexpected attribute in closing tag, expected the end of the tag",{start:f.start,end:f.end},"mdast-util-mdx-jsx:unexpected-attribute")}function a(f){if(this.getData("mdxJsxTag").close)throw new Rr("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:f.start,end:f.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function u(){const f=this.getData("mdxJsxTag");f.close=!0}function o(f){const Y=this.getData("mdxJsxTag");Y.name=this.sliceSerialize(f)}function d(f){const Y=this.getData("mdxJsxTag");Y.name+="."+this.sliceSerialize(f)}function E(f){const Y=this.getData("mdxJsxTag");Y.name+=":"+this.sliceSerialize(f)}function w(f){const Y=this.getData("mdxJsxTag");i.call(this,f),Y.attributes.push({type:"mdxJsxAttribute",name:"",value:null})}function M(f){const Y=this.getData("mdxJsxTag");i.call(this,f),Y.attributes.push({type:"mdxJsxExpressionAttribute",value:""}),this.buffer()}function re(f){const Y=this.getData("mdxJsxTag"),me=Y.attributes[Y.attributes.length-1],be=f.estree;me.value=this.resume(),be&&(me.data={estree:be})}function ue(f){const Y=this.getData("mdxJsxTag"),me=Y.attributes[Y.attributes.length-1];me.name=this.sliceSerialize(f)}function le(f){const Y=this.getData("mdxJsxTag"),me=Y.attributes[Y.attributes.length-1];me.name+=":"+this.sliceSerialize(f)}function Se(){const f=this.getData("mdxJsxTag");f.attributes[f.attributes.length-1].value=kf(this.resume(),{nonTerminated:!1})}function _e(f){const Y=this.getData("mdxJsxTag"),me=Y.attributes[Y.attributes.length-1],be={type:"mdxJsxAttributeValueExpression",value:this.resume()},pt=f.estree;pt&&(be.data={estree:pt}),me.value=be}function ye(){const f=this.getData("mdxJsxTag");f.selfClosing=!0}function tt(f){const Y=this.getData("mdxJsxTag"),me=this.getData("mdxJsxTagStack"),be=me[me.length-1];if(Y.close&&be.name!==Y.name)throw new Rr("Unexpected closing tag `"+Me(Y)+"`, expected corresponding closing tag for `"+Me(be)+"` ("+ki(be)+")",{start:f.start,end:f.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),Y.close?me.pop():this.enter({type:f.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:Y.name||null,attributes:Y.attributes,children:[]},f,Ve),Y.selfClosing||Y.close?this.exit(f,gt):me.push(Y)}function Ve(f,Y){const me=this.getData("mdxJsxTag"),be=f?" before the end of `"+f.type+"`":"",pt=f?{start:f.start,end:f.end}:void 0;throw new Rr("Expected a closing tag for `"+Me(me)+"` ("+ki({start:Y.start,end:Y.end})+")"+be,pt,"mdast-util-mdx-jsx:end-tag-mismatch")}function gt(f,Y){const me=this.getData("mdxJsxTag");throw new Rr("Expected the closing tag `"+Me(me)+"` either after the end of `"+Y.type+"` ("+ki(Y.end)+") or another opening tag after the start of `"+Y.type+"` ("+ki(Y.start)+")",{start:f.start,end:f.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function Me(f){return"<"+(f.close?"/":"")+(f.name||"")+">"}}function Bf(e){const t=e||{},r=t.quote||'"',n=t.quoteSmart||!1,i=t.tightSelfClosing||!1,a=t.printWidth||Number.POSITIVE_INFINITY,u=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize attribute values with `"+r+"` for `options.quote`, expected `\"`, or `'`");return o.peek=E,{handlers:{mdxJsxFlowElement:o,mdxJsxTextElement:o},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function o(w,M,re,ue){const le=Iu(ue),Se=w.name&&(!w.children||w.children.length===0),_e=re.enter(w.type);let ye=-1;const tt=[];let Ve=le.move("<"+(w.name||""));if(w.attributes&&w.attributes.length>0){if(!w.name)throw new Error("Cannot serialize fragment w/ attributes");for(;++ye<w.attributes.length;){const f=w.attributes[ye];let Y;if(f.type==="mdxJsxExpressionAttribute")Y="{"+(f.value||"")+"}";else{if(!f.name)throw new Error("Cannot serialize attribute w/o name");const me=f.value,be=f.name;let pt="";if(me!=null)if(typeof me=="object")pt="{"+(me.value||"")+"}";else{const Ie=n&&gu(me,r)>gu(me,u)?u:r;pt=Ie+Pl(me,{subset:[Ie]})+Ie}Y=be+(pt?"=":"")+pt}tt.push(Y)}}let gt=!1;const Me=tt.join(" ");return w.type==="mdxJsxFlowElement"&&(/\r?\n|\r/.test(Me)||le.current().now.column+Me.length+(Se?i?2:3:1)>a)&&(gt=!0),gt?Ve+=le.move(`
162
- `+hu(tt.join(`
163
- `),d)):Me&&(Ve+=le.move(" "+Me)),gt&&(Ve+=le.move(`
164
- `)),Se&&(Ve+=le.move((i||gt?"":" ")+"/")),Ve+=le.move(">"),w.children&&w.children.length>0&&(w.type==="mdxJsxFlowElement"?(le.shift(2),Ve+=le.move(`
165
- `),Ve+=le.move(hu(Nu(w,re,le.current()),d)),Ve+=le.move(`
166
- `)):Ve+=le.move(bl(w,re,{...le.current(),before:"<",after:">"}))),Se||(Ve+=le.move("</"+(w.name||"")+">")),_e(),Ve}function d(w,M,re){return(re?"":" ")+w}function E(){return"<"}}var Uv={enter:{mdxjsEsm:qv},exit:{mdxjsEsm:$v,mdxjsEsmData:Hv}},zv={handlers:{mdxjsEsm:Wv}};function qv(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function $v(e){const t=this.resume(),r=this.exit(e),n=e.estree;r.value=t,n&&(r.data={estree:n})}function Hv(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Wv(e){return e.value||""}function Gv(){return[kv,Jv(),Uv]}function Xv(e){return{extensions:[Bv,Bf(e),zv]}}function Qv(e){const t=this.data();r("micromarkExtensions",wv(e)),r("fromMarkdownExtensions",Gv()),r("toMarkdownExtensions",Xv(e));function r(n,i){(t[n]?t[n]:t[n]=[]).push(i)}}function Kv({patterns:e}){const t=function(){this.buffer()},r=function(f){var Y,me,be,pt,Ie,qe;(be=(me=(Y=this.config)==null?void 0:Y.enter)==null?void 0:me.data)==null||be.call(this,f),(qe=(Ie=(pt=this.config)==null?void 0:pt.exit)==null?void 0:Ie.data)==null||qe.call(this,f)},n=function(f){const Y={name:void 0,attributes:[],close:!1,selfClosing:!1,start:f.start,end:f.end};this.getData("mdxJsxTagStack")||this.setData("mdxJsxTagStack",[]),this.setData("mdxJsxTag",Y),this.buffer()},i=function(f){const Y=this.getData("mdxJsxTagStack"),me=this.getData("mdxJsxTag");(Y==null?void 0:Y.length)===0&&me&&(me.shouldFallback=!0)},a=function(f){this.getData("mdxJsxTag")},u=function(f){const Y=this.getData("mdxJsxTag");if(Y!=null&&Y.close)throw new Rr("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:f.start,end:f.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")},o=function(){const f=this.getData("mdxJsxTag");f&&(f.close=!0)},d=function(f){const Y=this.getData("mdxJsxTag");Y&&(Y.name=this.sliceSerialize(f))},E=function(f){const Y=this.getData("mdxJsxTag");Y&&(Y.name+="."+this.sliceSerialize(f))},w=function(f){const Y=this.getData("mdxJsxTag");Y&&(Y.name+=":"+this.sliceSerialize(f))},M=function(f){const Y=this.getData("mdxJsxTag");a.call(this,f),Y&&Y.attributes.push({type:"mdxJsxAttribute",name:"",value:null})},re=function(f){const Y=this.getData("mdxJsxTag");a.call(this,f),Y&&Y.attributes.push({type:"mdxJsxExpressionAttribute",value:""}),this.buffer()},ue=function(f){const Y=this.getData("mdxJsxTag");if(Y){const me=Y.attributes[Y.attributes.length-1],be=f.estree;me&&(me.value=this.resume(),be&&(me.data={estree:be}))}},le=function(f){const Y=this.getData("mdxJsxTag");if(Y){const me=Y.attributes[Y.attributes.length-1];me&&(me.name=this.sliceSerialize(f))}},Se=function(f){const Y=this.getData("mdxJsxTag");if(Y){const me=Y.attributes[Y.attributes.length-1];me&&(me.name+=":"+this.sliceSerialize(f))}},_e=function(){const f=this.getData("mdxJsxTag");if(f){const Y=f.attributes[f.attributes.length-1];Y&&(Y.name===""&&(Y.name="_value"),Y.value=kf(this.resume(),{nonTerminated:!1}))}},ye=function(f){const Y=this.getData("mdxJsxTag");if(!Y)return;const me=Y.attributes[Y.attributes.length-1],be={type:"mdxJsxAttributeValueExpression",value:this.resume()},pt=f.estree;pt&&(be.data={estree:pt}),me&&(me.value=be)},tt=function(){const f=this.getData("mdxJsxTag");f&&(f.selfClosing=!0)},Ve=function(f){const Y=this.getData("mdxJsxTag"),me=this.getData("mdxJsxTagStack");if(!me)return;const be=me[me.length-1];if(Y){if(be&&Y.close&&be.name!==Y.name)throw new Rr("Unexpected closing tag `"+Me(Y)+"`, expected corresponding closing tag for `"+Me(be)+"` ("+ki(be)+")",{start:f.start,end:f.end},"mdast-util-mdx-jsx:end-tag-mismatch");if(this.resume(),Y.close)me.pop();else{const pt=e.find(qe=>qe.name===Y.name),Ie=(pt==null?void 0:pt.templateName)||Y.name;this.enter({type:f.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:Ie||null,attributes:Y.attributes,children:[]},f,(qe,St)=>{this.exit(St)})}Y.selfClosing||Y.close?Y.shouldFallback?f.type==="mdxJsxFlowTag"?(this.enter({type:"paragraph",children:[{type:"text",value:this.sliceSerialize(f)}]},f),this.exit(f)):(this.enter({type:"text",value:this.sliceSerialize(f)},f),this.exit(f)):this.exit(f,gt):me.push(Y)}},gt=function(f,Y){this.getData("mdxJsxTag")};function Me(f){return"<"+(f.close?"/":"")+(f.name||"")+">"}return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:n,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:M,mdxJsxFlowTagExpressionAttribute:re,mdxJsxFlowTagAttributeValueLiteral:t,mdxJsxFlowTagAttributeValueExpression:t,mdxJsxFlowTagSelfClosingMarker:u,mdxJsxTextTag:n,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:M,mdxJsxTextTagExpressionAttribute:re,mdxJsxTextTagAttributeValueLiteral:t,mdxJsxTextTagAttributeValueExpression:t,mdxJsxTextTagSelfClosingMarker:u},exit:{mdxJsxFlowTagClosingMarker:o,mdxJsxFlowTagNamePrimary:d,mdxJsxFlowTagNameMember:E,mdxJsxFlowTagNameLocal:w,mdxJsxFlowTagExpressionAttribute:ue,mdxJsxFlowTagExpressionAttributeValue:r,mdxJsxFlowTagAttributeNamePrimary:le,mdxJsxFlowTagAttributeNameLocal:Se,mdxJsxFlowTagAttributeValueLiteral:_e,mdxJsxFlowTagAttributeValueLiteralValue:r,mdxJsxFlowTagAttributeValueExpression:ye,mdxJsxFlowTagAttributeValueExpressionValue:r,mdxJsxFlowTagSelfClosingMarker:tt,mdxJsxFlowTag:Ve,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagNamePrimary:d,mdxJsxTextTagNameMember:E,mdxJsxTextTagNameLocal:w,mdxJsxTextTagExpressionAttribute:ue,mdxJsxTextTagExpressionAttributeValue:r,mdxJsxTextTagAttributeNamePrimary:le,mdxJsxTextTagAttributeNameLocal:Se,mdxJsxTextTagAttributeValueLiteral:_e,mdxJsxTextTagAttributeValueLiteralValue:r,mdxJsxTextTagAttributeValueExpression:ye,mdxJsxTextTagAttributeValueExpressionValue:r,mdxJsxTextTagSelfClosingMarker:tt,mdxJsxTextTag:Ve}}}var Yv=function(e){const t=e.patterns||[],r=e||{},n=r.quote||'"',i=r.quoteSmart||!1,a=r.tightSelfClosing||!1,u=r.printWidth||Number.POSITIVE_INFINITY,o=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");const d=function(M,re,ue,le){var be,pt;const Se=t.find(Ie=>Ie.templateName===M.name);if(!Se)return"";const _e=Se.name||(Se==null?void 0:Se.templateName),ye=Iu(le),tt=Se.leaf,Ve=ue.enter(M.type);let gt=-1;const Me=[];let f=ye.move(Se.start+" "+(_e||""));if(M.attributes&&M.attributes.length>0){if(!M.name)throw new Error("Cannot serialize fragment w/ attributes");for(;++gt<M.attributes.length;){const Ie=M.attributes[gt];let qe;if((Ie==null?void 0:Ie.type)==="mdxJsxExpressionAttribute")qe="{"+(Ie.value||"")+"}";else{if(!(Ie!=null&&Ie.name))throw new Error("Cannot serialize attribute w/o name");const St=Ie.value,fr=Ie.name;let Ar="";if(St!=null)if(typeof St=="object")Ar="{"+(St.value||"")+"}";else{const Qt=i&&gu(St,n)>gu(St,o)?o:n;Ar=Qt+Pl(St,{subset:[Qt]})+Qt}fr==="_value"?qe=Ar:qe=fr+(Ar?"=":"")+Ar}Me.push(qe)}}let Y=!1;const me=Me.join(" ");if(M.type==="mdxJsxFlowElement"&&(/\r?\n|\r/.test(me)||ye.current().now.column+me.length+(tt?a?2:3:1)>u)&&(Y=!0),Y?f+=ye.move(`
167
- `+hu(Me.join(`
168
- `),E)):me&&(f+=ye.move(" "+me)),Y&&(f+=ye.move(`
169
- `)),tt&&(f+=ye.move("")),f+=ye.move(" "+Se.end),M.children&&(M.type==="mdxJsxFlowElement"?M.children.length===1&&((be=M.children[0])==null?void 0:be.type)==="paragraph"&&((pt=M.children[0].children[0])==null?void 0:pt.type)==="text"&&M.children[0].children[0].value===""||(ye.shift(2),f+=ye.move(`
170
- `),f+=ye.move(Nu(M,ue,ye.current())),f+=ye.move(`
171
- `)):f+=ye.move(bl(M,ue,{...ye.current(),before:"<",after:">"}))),!tt){const Ie=Se.start+" /"+(_e||" ")+" "+Se.end;f+=ye.move(Ie)}return Ve(),f},E=function(M,re,ue){return(ue?"":" ")+M},w=function(){return"<"};return d.peek=w,{...e,handlers:{mdxJsxFlowElement:d,mdxJsxTextElement:d},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0}},Tf=e=>{const t=[],r=[];return _f(e,r),r==null||r.forEach(n=>{if(typeof n=="string")throw new Error("Global templates not supported");n.match&&t.push({start:n.match.start,end:n.match.end,name:n.match.name||n.name,templateName:n.name,type:n.inline?"inline":"flow",leaf:!n.fields.some(i=>i.name==="children")})}),t},_f=(e,t=[])=>{var r;return(r=e.templates)==null||r.forEach(n=>{if(typeof n=="string")throw new Error("Global templates not supported");t.push(n),n.fields.forEach(i=>{i.type==="rich-text"&&_f(i,t)})}),t},Zv=(e,t)=>{const r=Tf(t),n={};return n.text=(i,a,u,o)=>{var d;if(u.unsafe=u.unsafe.filter(E=>!(E.character===" "&&E.inConstruct==="phrasing")),((d=t.parser)==null?void 0:d.type)==="markdown"){if(t.parser.skipEscaping==="all")return i.value;t.parser.skipEscaping==="html"&&(u.unsafe=u.unsafe.filter(E=>E.character!=="<"))}return Al(i,a,u,o)},Fl(e,{extensions:[Yv({patterns:r})],listItemIndent:"one",handlers:n})},eC=ea(oh()),tC=(e,t,r)=>Nf(e,t,!0,r);function Nf(e,t,r,n){var E,w;const i=[],a=[];let u,o=!1,d="leaf";if(u=(E=t.templates)==null?void 0:E.find(M=>{if(typeof M=="string")throw new Error("Global templates not supported");return M.name===e.name}),u||(u=(w=t.templates)==null?void 0:w.find(M=>{var ue;return((ue=M==null?void 0:M.match)==null?void 0:ue.name)===e.name})),!u||typeof u=="string")throw new Error(`Unable to find template for JSX element ${e.name}`);return u.fields.find(M=>M.name==="children")&&(d="block"),o=!!u.match,Object.entries(e.props).forEach(([M,re])=>{var le;if(typeof u=="string")throw new Error(`Unable to find template for JSX element ${M}`);const ue=(le=u==null?void 0:u.fields)==null?void 0:le.find(Se=>Se.name===M);if(!ue)return M==="children",void 0;switch(ue.type){case"reference":ue.list?Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`"${Se}"`).join(", ")}]`}}):typeof re=="string"&&i.push({type:"mdxJsxAttribute",name:M,value:re});break;case"datetime":case"string":if(ue.list)Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`"${Se}"`).join(", ")}]`}});else if(typeof re=="string")i.push({type:"mdxJsxAttribute",name:M,value:re});else throw new Error(`Expected string for attribute on field ${ue.name}`);break;case"image":ue.list?Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`"${n(Se)}"`).join(", ")}]`}}):i.push({type:"mdxJsxAttribute",name:M,value:n(String(re))});break;case"number":case"boolean":ue.list?Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`${Se}`).join(", ")}]`}}):i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:String(re)}});break;case"object":i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:rC(re,r)}});break;case"rich-text":if(typeof re=="string")throw new Error("Unexpected string for rich-text, ensure the value has been properly parsed");if(ue.list)throw new Error("Rich-text list is not supported");{const Se=r?" ":`
172
- `;let _e="";if(nC(re,ye=>ye.type==="root"&&Array.isArray(ye.children),`Nested rich-text element is not a valid shape for field ${ue.name}`),ue.name==="children"){Lf(re,ue,n).children.forEach(tt=>{a.push(tt)});return}else{const ye=If(re,ue,n);ye&&(_e=ye.trim().split(`
173
- `).map(tt=>` ${tt.trim()}`).join(Se))}r?i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`<>${_e.trim()}</>`}}):i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`<>
174
- ${_e}
175
- </>`}})}break;default:throw new Error(`Stringify props: ${ue.type} not yet supported`)}}),u.match?{useDirective:o,directiveType:d,attributes:i,children:a&&a.length?a:[{type:"paragraph",children:[{type:"text",value:""}]}]}:{attributes:i,children:a,useDirective:o,directiveType:d}}function rC(e,t){if(typeof e=="object"&&e!==null){const r="const dummyFunc = ",n=(0,eC.format)(`${r}${JSON.stringify(e)}`,{parser:"acorn",trailingComma:"none",semi:!1}).trim().replace(r,"");return t?n.replaceAll(`
176
- `,"").replaceAll(" "," "):n}else throw new Error(`stringifyObj must be passed an object or an array of objects, received ${typeof e}`)}function nC(e,t,r){if(!t(e))throw new Error(r||"Failed to assert shape")}var iC=(e,t)=>e.some(r=>t.includes(r)),sC=e=>{const t=[];return e==null||e.forEach(r=>{if(r.type==="a")if(r.children.length===1){const n=r.children[0];(n==null?void 0:n.type)==="text"?t.push({...n,linkifyTextNode:i=>({type:"link",url:r.url,title:r.title,children:[i]})}):t.push(r)}else t.push(r);else t.push(r)}),t},aC=(e,t,r)=>{switch(e.type){case"a":throw new Error('Unexpected node of type "a", link elements should be processed after all inline elements have resolved');case"img":return{type:"image",url:r(e.url),alt:e.alt,title:e.caption};case"break":return{type:"break"};case"mdxJsxTextElement":{const{attributes:n,children:i}=tC(e,t,r);return{type:"mdxJsxTextElement",name:e.name,attributes:n,children:i}}case"html_inline":return{type:"html",value:e.value};default:if(!e.type&&typeof e.text=="string")return su(e);throw new Error(`InlineElement: ${e.type} is not supported`)}},su=e=>({type:"text",value:e.text}),Kn=(e,t,r)=>{var M;const n=sC(e),i=n[0];if(!i)return[];if(i&&(i==null?void 0:i.type)!=="text")return i.type==="a"?[{type:"link",url:i.url,title:i.title,children:Kn(i.children,t,r)},...Kn(n.slice(1),t,r)]:[aC(i,t,r),...Kn(n.slice(1),t,r)];const a=$s(i);if(a.length===0)return i.linkifyTextNode?[i.linkifyTextNode(su(i)),...Kn(n.slice(1),t,r)]:[su(i),...Kn(n.slice(1),t,r)];let u=0;n.slice(1).every((re,ue)=>iC(a,$s(re))?!0:(u=ue,!1))&&(u=n.length-1);const o=n.slice(1,u+1),d={};a.forEach(re=>{let ue=1;o.every((le,Se)=>{if($s(le).includes(re))return ue=Se+1,!0}),d[re]=ue});let E=0,w=null;if(Object.entries(d).forEach(([re,ue])=>{const le=re;ue>E&&(E=ue,w=le)}),!w)return[su(i),...Kn(n.slice(1),t,r)];if(w==="inlineCode"){if(u)throw new Error("Marks inside inline code are not supported");const re={type:w,value:i.text};return[((M=i.linkifyTextNode)==null?void 0:M.call(i,re))??re,...Kn(n.slice(u+1),t,r)]}return[{type:w,children:Kn([...[i,...o].map(re=>uC(re,w))],t,r)},...Kn(n.slice(u+1),t,r)]},uC=(e,t)=>{if(!t)return e;const r={},n={strong:"bold",emphasis:"italic",inlineCode:"code"}[t];return Object.entries(e).map(([i,a])=>{i!==n&&(r[i]=a)}),e.linkifyTextNode&&(r.callback=e.linkifyTextNode),r},oC={}.hasOwnProperty,lC=e=>({unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
177
- `,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:Lo(e),leafDirective:Lo(e),textDirective:Lo(e)}}),Lo=function(e){const t=function(r,n,i,a){const u=Iu(a),o=i.enter(r.type),d=e.find(re=>re.name===r.name||re.templateName===r.name);if(!d)return console.log("no pattern found for directive",r.name),o(),"";const E=d.name||d.templateName,w=d.start;let M=u.move(w+" "+E);if(M+=u.move(" "),M+=u.move(pC(r,i)),M+=u.move(d.end),r.type==="containerDirective"){const re=(r.children||[])[0];let ue=r;hC(re)&&(ue=Object.assign({},r,{children:r.children.slice(1)})),ue&&ue.children&&ue.children.length>0&&(M+=u.move(`
178
- `),M+=u.move(Nu(ue,i,u.current()))),M+=u.move(`
179
- `+w),M+=u.move(" /"+E+" "+d.end)}return o(),M};return t.peek=cC,t};function cC(){return":"}function pC(e,t){const r=Tu(t),n=e.type==="textDirective"?[r]:[r,`
180
- `,"\r"],i=e.attributes||{},a=[];let u;for(u in i)if(oC.call(i,u)&&i[u]!==void 0&&i[u]!==null){const d=String(i[u]);a.push(o(u,d))}return a.length>0?a.join(" ")+" ":"";function o(d,E){const w=r+Pl(E,{subset:n})+r;return d==="_value"?w:d+(E?"="+w:"")}}function hC(e){return Boolean(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function fC(e,t){const r=t.match,n=!!t.fields.find(o=>o.name=="_value"),i=`<[\\s]*${t.name}[\\s]*${n?"(?:_value=(.*?))?":"(.+?)?"}[\\s]*>[\\s]*((?:.|
181
- )*?)[\\s]*</[\\s]*${t.name}[\\s]*>`,a=`
182
- $2
183
- ${r.start} /${r.name||t.name} ${r.end}`,u=`${r.start} ${r.name||t.name} $1 ${r.end}${t.fields.find(o=>o.name=="children")?a:""}`;return zd(e,i,u)}var If=(e,t,r)=>{var o,d;if(((o=t.parser)==null?void 0:o.type)==="markdown")return Uf(e,t,r);if(!e)return;if(typeof e=="string")throw new Error("Expected an object to stringify, but received a string");if(e!=null&&e.children[0]&&(e==null?void 0:e.children[0].type)==="invalid_markdown")return e.children[0].value;const n=Lf(e,t,r),i=Pf(n,t),a=(d=t.templates)==null?void 0:d.filter(E=>E.match);let u=i;return a==null||a.forEach(E=>{if(typeof E=="string")throw new Error("Global templates are not supported");E.match&&(u=fC(u,E))}),u},Pf=(e,t)=>{var i;const r=[];(i=t.templates)==null||i.forEach(a=>{if(typeof a!="string"&&a&&a.match){const u=a.match;u.templateName=a.name,r.push(u)}});const n={};return n.text=(a,u,o,d)=>{var E;if(o.unsafe=o.unsafe.filter(w=>!(w.character===" "&&w.inConstruct==="phrasing")),((E=t.parser)==null?void 0:E.type)==="markdown"){if(t.parser.skipEscaping==="all")return a.value;t.parser.skipEscaping==="html"&&(o.unsafe=o.unsafe.filter(w=>w.character!=="<"))}return Al(a,u,o,d)},Fl(e,{extensions:[lC(r),Bf()],listItemIndent:"one",handlers:n})},Lf=(e,t,r)=>{var i;const n=[];return(i=e.children)==null||i.forEach(a=>{const u=dC(a,t,r);u&&n.push(u)}),{type:"root",children:n}},dC=(e,t,r)=>{switch(e.type){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return{type:"heading",depth:{h1:1,h2:2,h3:3,h4:4,h5:5,h6:6}[e.type],children:Kn(e.children,t,r)};case"p":if(e.children.length===1){const o=e.children[0];if(o&&(o.type==="text"||!o.type)&&o.text==="")return null}return{type:"paragraph",children:Kn(e.children,t,r)};case"code_block":return{type:"code",lang:e.lang,value:e.value};case"mdxJsxFlowElement":const{children:n,attributes:i,useDirective:a,directiveType:u}=Nf(e,t,!1,r);if(a){const o=e.name;if(!o)throw new Error("Expective shortcode to have a name but it was not defined");const d={};return i==null||i.forEach(E=>{E.value&&typeof E.value=="string"&&(d[E.name]=E.value)}),u==="leaf"?{type:"leafDirective",name:o,attributes:d,children:[]}:{type:"containerDirective",name:o,attributes:d,children:n}}return{type:"mdxJsxFlowElement",name:e.name,attributes:i,children:n};case"blockquote":return{type:"blockquote",children:[{type:"paragraph",children:Kn(e.children,t,r)}]};case"hr":return{type:"thematicBreak"};case"ol":case"ul":return{type:"list",ordered:e.type==="ol",spread:!1,children:e.children.map(o=>Of(o,t,r))};case"html":return{type:"html",value:e.value};case"img":return{type:"paragraph",children:[{type:"image",url:r(e.url),alt:e.alt,title:e.caption}]};default:throw new Error(`BlockElement: ${e.type} is not yet supported`)}},Of=(e,t,r)=>({type:"listItem",spread:!1,children:e.children.map(n=>n.type==="lic"?{type:"paragraph",children:Kn(n.children,t,r)}:jf(n,t,r))}),jf=(e,t,r)=>{switch(e.type){case"blockquote":return{type:"blockquote",children:e.children.map(n=>jf(n,t,r))};case"p":return{type:"paragraph",children:Kn(e.children,t,r)};case"ol":case"ul":return{type:"list",ordered:e.type==="ol",spread:!1,children:e.children.map(n=>Of(n,t,r))};default:throw new Error(`BlockContentElement: ${e.type} is not yet supported`)}},$s=e=>{const t=[];return e.type!=="text"?[]:(e.bold&&t.push("strong"),e.italic&&t.push("emphasis"),e.code&&t.push("inlineCode"),t)},mC=ea(oh()),gC=(e,t,r)=>Vf(e,t,!0,r);function Vf(e,t,r,n){var E,w;const i=[],a=[];let u,o=!1,d="leaf";if(u=(E=t.templates)==null?void 0:E.find(M=>{if(typeof M=="string")throw new Error("Global templates not supported");return M.name===e.name}),u||(u=(w=t.templates)==null?void 0:w.find(M=>{var ue;return((ue=M==null?void 0:M.match)==null?void 0:ue.name)===e.name})),!u||typeof u=="string")throw new Error(`Unable to find template for JSX element ${e.name}`);return u.fields.find(M=>M.name==="children")&&(d="block"),o=!!u.match,Object.entries(e.props).forEach(([M,re])=>{var le;if(typeof u=="string")throw new Error(`Unable to find template for JSX element ${M}`);const ue=(le=u==null?void 0:u.fields)==null?void 0:le.find(Se=>Se.name===M);if(!ue)return M==="children",void 0;switch(ue.type){case"reference":ue.list?Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`"${Se}"`).join(", ")}]`}}):typeof re=="string"&&i.push({type:"mdxJsxAttribute",name:M,value:re});break;case"datetime":case"string":if(ue.list)Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`"${Se}"`).join(", ")}]`}});else if(typeof re=="string")i.push({type:"mdxJsxAttribute",name:M,value:re});else throw new Error(`Expected string for attribute on field ${ue.name}`);break;case"image":ue.list?Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`"${n(Se)}"`).join(", ")}]`}}):i.push({type:"mdxJsxAttribute",name:M,value:n(String(re))});break;case"number":case"boolean":ue.list?Array.isArray(re)&&i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`[${re.map(Se=>`${Se}`).join(", ")}]`}}):i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:String(re)}});break;case"object":i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:xC(re,r)}});break;case"rich-text":if(typeof re=="string")throw new Error("Unexpected string for rich-text, ensure the value has been properly parsed");if(ue.list)throw new Error("Rich-text list is not supported");{const Se=r?" ":`
184
- `;let _e="";if(DC(re,ye=>ye.type==="root"&&Array.isArray(ye.children),`Nested rich-text element is not a valid shape for field ${ue.name}`),ue.name==="children"){Mf(re,ue,n).children.forEach(tt=>{a.push(tt)});return}else{const ye=Uf(re,ue,n);ye&&(_e=ye.trim().split(`
185
- `).map(tt=>` ${tt.trim()}`).join(Se))}r?i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`<>${_e.trim()}</>`}}):i.push({type:"mdxJsxAttribute",name:M,value:{type:"mdxJsxAttributeValueExpression",value:`<>
186
- ${_e}
187
- </>`}})}break;default:throw new Error(`Stringify props: ${ue.type} not yet supported`)}}),u.match?{useDirective:o,directiveType:d,attributes:i,children:a&&a.length?a:[{type:"paragraph",children:[{type:"text",value:""}]}]}:{attributes:i,children:a,useDirective:o,directiveType:d}}function xC(e,t){if(typeof e=="object"&&e!==null){const r="const dummyFunc = ",n=(0,mC.format)(`${r}${JSON.stringify(e)}`,{parser:"acorn",trailingComma:"none",semi:!1}).trim().replace(r,"");return t?n.replaceAll(`
188
- `,"").replaceAll(" "," "):n}else throw new Error(`stringifyObj must be passed an object or an array of objects, received ${typeof e}`)}function DC(e,t,r){if(!t(e))throw new Error(r||"Failed to assert shape")}var yC=(e,t)=>e.some(r=>t.includes(r)),vC=e=>{const t=[];return e==null||e.forEach(r=>{if(r.type==="a")if(r.children.length===1){const n=r.children[0];(n==null?void 0:n.type)==="text"?t.push({...n,linkifyTextNode:i=>({type:"link",url:r.url,title:r.title,children:[i]})}):t.push(r)}else t.push(r);else t.push(r)}),t},CC=(e,t,r)=>{switch(e.type){case"a":throw new Error('Unexpected node of type "a", link elements should be processed after all inline elements have resolved');case"img":return{type:"image",url:r(e.url),alt:e.alt,title:e.caption};case"break":return{type:"break"};case"mdxJsxTextElement":{const{attributes:n,children:i}=gC(e,t,r);let a=i;if(i.length){const u=i[0];u&&u.type==="paragraph"&&(a=u.children)}return{type:"mdxJsxTextElement",name:e.name,attributes:n,children:a}}case"html_inline":return{type:"html",value:e.value};default:if(!e.type&&typeof e.text=="string")return au(e);throw new Error(`InlineElement: ${e.type} is not supported`)}},au=e=>({type:"text",value:e.text}),Yn=(e,t,r)=>{var M;const n=vC(e),i=n[0];if(!i)return[];if(i&&(i==null?void 0:i.type)!=="text")return i.type==="a"?[{type:"link",url:i.url,title:i.title,children:Yn(i.children,t,r)},...Yn(n.slice(1),t,r)]:[CC(i,t,r),...Yn(n.slice(1),t,r)];const a=$s(i);if(a.length===0)return i.linkifyTextNode?[i.linkifyTextNode(au(i)),...Yn(n.slice(1),t,r)]:[au(i),...Yn(n.slice(1),t,r)];let u=0;n.slice(1).every((re,ue)=>yC(a,$s(re))?!0:(u=ue,!1))&&(u=n.length-1);const o=n.slice(1,u+1),d={};a.forEach(re=>{let ue=1;o.every((le,Se)=>{if($s(le).includes(re))return ue=Se+1,!0}),d[re]=ue});let E=0,w=null;if(Object.entries(d).forEach(([re,ue])=>{const le=re;ue>E&&(E=ue,w=le)}),!w)return[au(i),...Yn(n.slice(1),t,r)];if(w==="inlineCode"){if(u)throw new Error("Marks inside inline code are not supported");const re={type:w,value:i.text};return[((M=i.linkifyTextNode)==null?void 0:M.call(i,re))??re,...Yn(n.slice(u+1),t,r)]}return[{type:w,children:Yn([...[i,...o].map(re=>EC(re,w))],t,r)},...Yn(n.slice(u+1),t,r)]},EC=(e,t)=>{if(!t)return e;const r={},n={strong:"bold",emphasis:"italic",inlineCode:"code"}[t];return Object.entries(e).map(([i,a])=>{i!==n&&(r[i]=a)}),e.linkifyTextNode&&(r.callback=e.linkifyTextNode),r},AC=(e,t,r)=>Mf(e,t,r),Mf=(e,t,r)=>{var i;const n=[];return(i=e.children)==null||i.forEach(a=>{const u=bC(a,t,r);u&&n.push(u)}),{type:"root",children:n}},bC=(e,t,r)=>{switch(e.type){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return{type:"heading",depth:{h1:1,h2:2,h3:3,h4:4,h5:5,h6:6}[e.type],children:Yn(e.children,t,r)};case"p":if(e.children.length===1){const o=e.children[0];if(o&&(o.type==="text"||!o.type)&&o.text==="")return null}return{type:"paragraph",children:Yn(e.children,t,r)};case"code_block":return{type:"code",lang:e.lang,value:e.value};case"mdxJsxFlowElement":const{children:n,attributes:i,useDirective:a,directiveType:u}=Vf(e,t,!1,r);return{type:"mdxJsxFlowElement",name:e.name,attributes:i,children:n};case"blockquote":return{type:"blockquote",children:[{type:"paragraph",children:Yn(e.children,t,r)}]};case"hr":return{type:"thematicBreak"};case"ol":case"ul":return{type:"list",ordered:e.type==="ol",spread:!1,children:e.children.map(o=>Rf(o,t,r))};case"html":return{type:"html",value:e.value};case"img":return{type:"paragraph",children:[{type:"image",url:r(e.url),alt:e.alt,title:e.caption}]};default:throw new Error(`BlockElement: ${e.type} is not yet supported`)}},Rf=(e,t,r)=>({type:"listItem",spread:!1,children:e.children.map(n=>n.type==="lic"?{type:"paragraph",children:Yn(n.children,t,r)}:Jf(n,t,r))}),Jf=(e,t,r)=>{switch(e.type){case"blockquote":return{type:"blockquote",children:e.children.map(n=>Jf(n,t,r))};case"p":return{type:"paragraph",children:Yn(e.children,t,r)};case"ol":case"ul":return{type:"list",ordered:e.type==="ol",spread:!1,children:e.children.map(n=>Rf(n,t,r))};default:throw new Error(`BlockContentElement: ${e.type} is not yet supported`)}},Uf=(e,t,r)=>{if(!e)return;const n=AC(e,t,r);return Zv(n,t)},FC={tokenize:SC};function SC(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),kr(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const d=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=d),r=d,u(o)}function u(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return Xt(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),u)}}var wC={tokenize:kC},Op={tokenize:BC};function kC(e){const t=this,r=[];let n=0,i,a,u;return o;function o(Ve){if(n<r.length){const gt=r[n];return t.containerState=gt[1],e.attempt(gt[0].continuation,d,E)(Ve)}return E(Ve)}function d(Ve){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&tt();const gt=t.events.length;let Me=gt,f;for(;Me--;)if(t.events[Me][0]==="exit"&&t.events[Me][1].type==="chunkFlow"){f=t.events[Me][1].end;break}ye(n);let Y=gt;for(;Y<t.events.length;)t.events[Y][1].end=Object.assign({},f),Y++;return ni(t.events,Me+1,0,t.events.slice(gt)),t.events.length=Y,E(Ve)}return o(Ve)}function E(Ve){if(n===r.length){if(!i)return re(Ve);if(i.currentConstruct&&i.currentConstruct.concrete)return le(Ve);t.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Op,w,M)(Ve)}function w(Ve){return i&&tt(),ye(n),re(Ve)}function M(Ve){return t.parser.lazy[t.now().line]=n!==r.length,u=t.now().offset,le(Ve)}function re(Ve){return t.containerState={},e.attempt(Op,ue,le)(Ve)}function ue(Ve){return n++,r.push([t.currentConstruct,t.containerState]),re(Ve)}function le(Ve){if(Ve===null){i&&tt(),ye(0),e.consume(Ve);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),Se(Ve)}function Se(Ve){if(Ve===null){_e(e.exit("chunkFlow"),!0),ye(0),e.consume(Ve);return}return Xt(Ve)?(e.consume(Ve),_e(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(Ve),Se)}function _e(Ve,gt){const Me=t.sliceStream(Ve);if(gt&&Me.push(null),Ve.previous=a,a&&(a.next=Ve),a=Ve,i.defineSkip(Ve.start),i.write(Me),t.parser.lazy[Ve.start.line]){let f=i.events.length;for(;f--;)if(i.events[f][1].start.offset<u&&(!i.events[f][1].end||i.events[f][1].end.offset>u))return;const Y=t.events.length;let me=Y,be,pt;for(;me--;)if(t.events[me][0]==="exit"&&t.events[me][1].type==="chunkFlow"){if(be){pt=t.events[me][1].end;break}be=!0}for(ye(n),f=Y;f<t.events.length;)t.events[f][1].end=Object.assign({},pt),f++;ni(t.events,me+1,0,t.events.slice(Y)),t.events.length=f}}function ye(Ve){let gt=r.length;for(;gt-- >Ve;){const Me=r[gt];t.containerState=Me[1],Me[0].exit.call(t,e)}r.length=Ve}function tt(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function BC(e,t,r){return kr(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var TC={tokenize:_C};function _C(e){const t=this,r=e.attempt(ta,n,e.attempt(this.parser.constructs.flowInitial,i,kr(e,e.attempt(this.parser.constructs.flow,i,e.attempt(dh,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var NC={resolveAll:qf()},IC=zf("string"),PC=zf("text");function zf(e){return{tokenize:t,resolveAll:qf(e==="text"?LC:void 0)};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,u,o);return u;function u(w){return E(w)?a(w):o(w)}function o(w){if(w===null){r.consume(w);return}return r.enter("data"),r.consume(w),d}function d(w){return E(w)?(r.exit("data"),a(w)):(r.consume(w),d)}function E(w){if(w===null)return!0;const M=i[w];let re=-1;if(M)for(;++re<M.length;){const ue=M[re];if(!ue.previous||ue.previous.call(n,n.previous))return!0}return!1}}}function qf(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function LC(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,u=-1,o=0,d;for(;a--;){const E=i[a];if(typeof E=="string"){for(u=E.length;E.charCodeAt(u-1)===32;)o++,u--;if(u)break;u=-1}else if(E===-2)d=!0,o++;else if(E!==-1){a++;break}}if(o){const E={type:r===e.length||d||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?u:n.start._bufferIndex+u},end:Object.assign({},n.end)};n.end=Object.assign({},E.start),n.start.offset===n.end.offset?Object.assign(n,E):(e.splice(r,0,["enter",E,t],["exit",E,t]),r+=2)}r++}return e}function OC(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let u=[],o=[];const d={consume:tt,enter:Ve,exit:gt,attempt:Y(Me),check:Y(f),interrupt:Y(f,{interrupt:!0})},E={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:ue,sliceSerialize:re,now:le,defineSkip:Se,write:M};let w=t.tokenize.call(E,d);return t.resolveAll&&a.push(t),E;function M(Ie){return u=ri(u,Ie),_e(),u[u.length-1]!==null?[]:(me(t,0),E.events=Su(a,E.events,E),E.events)}function re(Ie,qe){return VC(ue(Ie),qe)}function ue(Ie){return jC(u,Ie)}function le(){return Object.assign({},n)}function Se(Ie){i[Ie.line]=Ie.column,pt()}function _e(){let Ie;for(;n._index<u.length;){const qe=u[n._index];if(typeof qe=="string")for(Ie=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===Ie&&n._bufferIndex<qe.length;)ye(qe.charCodeAt(n._bufferIndex));else ye(qe)}}function ye(Ie){w=w(Ie)}function tt(Ie){Xt(Ie)?(n.line++,n.column=1,n.offset+=Ie===-3?2:1,pt()):Ie!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===u[n._index].length&&(n._bufferIndex=-1,n._index++)),E.previous=Ie}function Ve(Ie,qe){const St=qe||{};return St.type=Ie,St.start=le(),E.events.push(["enter",St,E]),o.push(St),St}function gt(Ie){const qe=o.pop();return qe.end=le(),E.events.push(["exit",qe,E]),qe}function Me(Ie,qe){me(Ie,qe.from)}function f(Ie,qe){qe.restore()}function Y(Ie,qe){return St;function St(fr,Ar,Qt){let Zt,qt,dr,Br;return Array.isArray(fr)?Ne(fr):"tokenize"in fr?Ne([fr]):Oe(fr);function Oe(sr){return Qr;function Qr(Jr){const $r=Jr!==null&&sr[Jr],hn=Jr!==null&&sr.null,Ln=[...Array.isArray($r)?$r:$r?[$r]:[],...Array.isArray(hn)?hn:hn?[hn]:[]];return Ne(Ln)(Jr)}}function Ne(sr){return Zt=sr,qt=0,sr.length===0?Qt:pn(sr[qt])}function pn(sr){return Qr;function Qr(Jr){return Br=be(),dr=sr,sr.partial||(E.currentConstruct=sr),sr.name&&E.parser.constructs.disable.null.includes(sr.name)?Cn():sr.tokenize.call(qe?Object.assign(Object.create(E),qe):E,d,dn,Cn)(Jr)}}function dn(sr){return Ie(dr,Br),Ar}function Cn(sr){return Br.restore(),++qt<Zt.length?pn(Zt[qt]):Qt}}}function me(Ie,qe){Ie.resolveAll&&!a.includes(Ie)&&a.push(Ie),Ie.resolve&&ni(E.events,qe,E.events.length-qe,Ie.resolve(E.events.slice(qe),E)),Ie.resolveTo&&(E.events=Ie.resolveTo(E.events,E))}function be(){const Ie=le(),qe=E.previous,St=E.currentConstruct,fr=E.events.length,Ar=Array.from(o);return{restore:Qt,from:fr};function Qt(){n=Ie,E.previous=qe,E.currentConstruct=St,E.events.length=fr,o=Ar,pt()}}function pt(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function jC(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;return r===i?u=[e[r].slice(n,a)]:(u=e.slice(r,i),n>-1&&(u[0]=u[0].slice(n)),a>0&&u.push(e[i].slice(0,a))),u}function VC(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
189
- `;break}case-3:{u=`\r
190
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,n.push(u)}return n.join("")}var $f={};ml($f,{attentionMarkers:()=>HC,contentInitial:()=>RC,disable:()=>WC,document:()=>MC,flow:()=>UC,flowInitial:()=>JC,insideSpan:()=>$C,string:()=>zC,text:()=>qC});var MC={[42]:nn,[43]:nn,[45]:nn,[48]:nn,[49]:nn,[50]:nn,[51]:nn,[52]:nn,[53]:nn,[54]:nn,[55]:nn,[56]:nn,[57]:nn,[62]:xl},RC={[91]:Dh},JC={[-2]:zs,[-1]:zs,[32]:zs},UC={[35]:vh,[42]:bs,[45]:[cu,bs],[60]:Ch,[61]:cu,[95]:bs,[96]:lu,[126]:lu},zC={[38]:ku,[92]:wu},qC={[-5]:qs,[-4]:qs,[-3]:qs,[33]:Ah,[38]:ku,[42]:Hs,[60]:[hh,Eh],[91]:bh,[92]:[yh,wu],[93]:Bu,[95]:Hs,[96]:fh},$C={null:[Hs,NC]},HC={null:[42,95]},WC={null:[]};function GC(e={}){const t=gl([$f].concat(e.extensions||[])),r={defined:[],lazy:{},constructs:t,content:n(FC),document:n(wC),flow:n(TC),string:n(IC),text:n(PC)};return r;function n(i){return a;function a(u){return OC(r,i,u)}}}var jp=/[\0\t\n\r]/g;function XC(){let e=1,t="",r=!0,n;return i;function i(a,u,o){const d=[];let E,w,M,re,ue;for(a=t+a.toString(u),M=0,t="",r&&(a.charCodeAt(0)===65279&&M++,r=void 0);M<a.length;){if(jp.lastIndex=M,E=jp.exec(a),re=E&&E.index!==void 0?E.index:a.length,ue=a.charCodeAt(re),!E){t=a.slice(M);break}if(ue===10&&M===re&&n)d.push(-3),n=void 0;else switch(n&&(d.push(-5),n=void 0),M<re&&(d.push(a.slice(M,re)),e+=re-M),ue){case 0:{d.push(65533),e++;break}case 9:{for(w=Math.ceil(e/4)*4,d.push(-2);e++<w;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:n=!0,e=1}M=re+1}return o&&(n&&d.push(-5),t&&d.push(t),d.push(null)),d}}function QC(e){for(;!Dl(e););return e}var Hf={}.hasOwnProperty,KC=function(e,t,r){return typeof t!="string"&&(r=t,t=void 0),YC(r)(QC(GC(r).document().write(XC()(e,t,!0))))};function YC(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Wn),autolinkProtocol:Ie,autolinkEmail:Ie,atxHeading:o(_n),blockQuote:o(Ln),characterEscape:Ie,characterReference:Ie,codeFenced:o(Dn),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:o(Dn,d),codeText:o(Zn,d),codeTextData:Ie,data:Ie,codeFlowValue:Ie,definition:o(Hn),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:o(ei),hardBreakEscape:o(Zr),hardBreakTrailing:o(Zr),htmlFlow:o(Un,d),htmlFlowData:Ie,htmlText:o(Un,d),htmlTextData:Ie,image:o(En),label:d,link:o(Wn),listItem:o(zn),listItemValue:le,listOrdered:o(mn,ue),listUnordered:o(mn),paragraph:o(si),reference:Cn,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:o(_n),strong:o(On),thematicBreak:o(gn)},exit:{atxHeading:w(),atxHeadingSequence:Y,autolink:w(),autolinkEmail:hn,autolinkProtocol:$r,blockQuote:w(),characterEscapeValue:qe,characterReferenceMarkerHexadecimal:Qr,characterReferenceMarkerNumeric:Qr,characterReferenceValue:Jr,codeFenced:w(tt),codeFencedFence:ye,codeFencedFenceInfo:Se,codeFencedFenceMeta:_e,codeFlowValue:qe,codeIndented:w(Ve),codeText:w(Zt),codeTextData:qe,data:qe,definition:w(),definitionDestinationString:f,definitionLabelString:gt,definitionTitleString:Me,emphasis:w(),hardBreakEscape:w(fr),hardBreakTrailing:w(fr),htmlFlow:w(Ar),htmlFlowData:qe,htmlText:w(Qt),htmlTextData:qe,image:w(dr),label:Oe,labelText:Br,lineEnding:St,link:w(qt),listItem:w(),listOrdered:w(),listUnordered:w(),paragraph:w(),referenceString:sr,resourceDestinationString:Ne,resourceTitleString:pn,resource:dn,setextHeading:w(pt),setextHeadingLineSequence:be,setextHeadingText:me,strong:w(),thematicBreak:w()}};Wf(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(lt){let Be={type:"root",children:[]};const ee={stack:[Be],tokenStack:[],config:t,enter:E,exit:M,buffer:d,resume:re,setData:a,getData:u},ut=[];let Jt=-1;for(;++Jt<lt.length;)if(lt[Jt][1].type==="listOrdered"||lt[Jt][1].type==="listUnordered")if(lt[Jt][0]==="enter")ut.push(Jt);else{const Hr=ut.pop();Jt=i(lt,Hr,Jt)}for(Jt=-1;++Jt<lt.length;){const Hr=t[lt[Jt][0]];Hf.call(Hr,lt[Jt][1].type)&&Hr[lt[Jt][1].type].call(Object.assign({sliceSerialize:lt[Jt][2].sliceSerialize},ee),lt[Jt][1])}if(ee.tokenStack.length>0){const Hr=ee.tokenStack[ee.tokenStack.length-1];(Hr[1]||Vp).call(ee,void 0,Hr[0])}for(Be.position={start:es(lt.length>0?lt[0][1].start:{line:1,column:1,offset:0}),end:es(lt.length>0?lt[lt.length-2][1].end:{line:1,column:1,offset:0})},Jt=-1;++Jt<t.transforms.length;)Be=t.transforms[Jt](Be)||Be;return Be}function i(lt,Be,ee){let ut=Be-1,Jt=-1,Hr=!1,Kr,xe,Cr,Gr;for(;++ut<=ee;){const Nr=lt[ut];if(Nr[1].type==="listUnordered"||Nr[1].type==="listOrdered"||Nr[1].type==="blockQuote"?(Nr[0]==="enter"?Jt++:Jt--,Gr=void 0):Nr[1].type==="lineEndingBlank"?Nr[0]==="enter"&&(Kr&&!Gr&&!Jt&&!Cr&&(Cr=ut),Gr=void 0):Nr[1].type==="linePrefix"||Nr[1].type==="listItemValue"||Nr[1].type==="listItemMarker"||Nr[1].type==="listItemPrefix"||Nr[1].type==="listItemPrefixWhitespace"||(Gr=void 0),!Jt&&Nr[0]==="enter"&&Nr[1].type==="listItemPrefix"||Jt===-1&&Nr[0]==="exit"&&(Nr[1].type==="listUnordered"||Nr[1].type==="listOrdered")){if(Kr){let jr=ut;for(xe=void 0;jr--;){const en=lt[jr];if(en[1].type==="lineEnding"||en[1].type==="lineEndingBlank"){if(en[0]==="exit")continue;xe&&(lt[xe][1].type="lineEndingBlank",Hr=!0),en[1].type="lineEnding",xe=jr}else if(!(en[1].type==="linePrefix"||en[1].type==="blockQuotePrefix"||en[1].type==="blockQuotePrefixWhitespace"||en[1].type==="blockQuoteMarker"||en[1].type==="listItemIndent"))break}Cr&&(!xe||Cr<xe)&&(Kr._spread=!0),Kr.end=Object.assign({},xe?lt[xe][1].start:Nr[1].end),lt.splice(xe||ut,0,["exit",Kr,Nr[2]]),ut++,ee++}Nr[1].type==="listItemPrefix"&&(Kr={type:"listItem",_spread:!1,start:Object.assign({},Nr[1].start)},lt.splice(ut,0,["enter",Kr,Nr[2]]),ut++,ee++,Cr=void 0,Gr=!0)}}return lt[Be][1]._spread=Hr,ee}function a(lt,Be){r[lt]=Be}function u(lt){return r[lt]}function o(lt,Be){return ee;function ee(ut){E.call(this,lt(ut),ut),Be&&Be.call(this,ut)}}function d(){this.stack.push({type:"fragment",children:[]})}function E(lt,Be,ee){return this.stack[this.stack.length-1].children.push(lt),this.stack.push(lt),this.tokenStack.push([Be,ee]),lt.position={start:es(Be.start)},lt}function w(lt){return Be;function Be(ee){lt&&lt.call(this,ee),M.call(this,ee)}}function M(lt,Be){const ee=this.stack.pop(),ut=this.tokenStack.pop();if(ut)ut[0].type!==lt.type&&(Be?Be.call(this,lt,ut[0]):(ut[1]||Vp).call(this,lt,ut[0]));else throw new Error("Cannot close `"+lt.type+"` ("+ki({start:lt.start,end:lt.end})+"): it’s not open");return ee.position.end=es(lt.end),ee}function re(){return Fu(this.stack.pop())}function ue(){a("expectingFirstListItemValue",!0)}function le(lt){if(u("expectingFirstListItemValue")){const Be=this.stack[this.stack.length-2];Be.start=Number.parseInt(this.sliceSerialize(lt),10),a("expectingFirstListItemValue")}}function Se(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.lang=lt}function _e(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.meta=lt}function ye(){u("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function tt(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.value=lt.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function Ve(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.value=lt.replace(/(\r?\n|\r)$/g,"")}function gt(lt){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.label=Be,ee.identifier=ji(this.sliceSerialize(lt)).toLowerCase()}function Me(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.title=lt}function f(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.url=lt}function Y(lt){const Be=this.stack[this.stack.length-1];if(!Be.depth){const ee=this.sliceSerialize(lt).length;Be.depth=ee}}function me(){a("setextHeadingSlurpLineEnding",!0)}function be(lt){const Be=this.stack[this.stack.length-1];Be.depth=this.sliceSerialize(lt).charCodeAt(0)===61?1:2}function pt(){a("setextHeadingSlurpLineEnding")}function Ie(lt){const Be=this.stack[this.stack.length-1];let ee=Be.children[Be.children.length-1];(!ee||ee.type!=="text")&&(ee=tr(),ee.position={start:es(lt.start)},Be.children.push(ee)),this.stack.push(ee)}function qe(lt){const Be=this.stack.pop();Be.value+=this.sliceSerialize(lt),Be.position.end=es(lt.end)}function St(lt){const Be=this.stack[this.stack.length-1];if(u("atHardBreak")){const ee=Be.children[Be.children.length-1];ee.position.end=es(lt.end),a("atHardBreak");return}!u("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(Be.type)&&(Ie.call(this,lt),qe.call(this,lt))}function fr(){a("atHardBreak",!0)}function Ar(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.value=lt}function Qt(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.value=lt}function Zt(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.value=lt}function qt(){const lt=this.stack[this.stack.length-1];if(u("inReference")){const Be=u("referenceType")||"shortcut";lt.type+="Reference",lt.referenceType=Be,delete lt.url,delete lt.title}else delete lt.identifier,delete lt.label;a("referenceType")}function dr(){const lt=this.stack[this.stack.length-1];if(u("inReference")){const Be=u("referenceType")||"shortcut";lt.type+="Reference",lt.referenceType=Be,delete lt.url,delete lt.title}else delete lt.identifier,delete lt.label;a("referenceType")}function Br(lt){const Be=this.sliceSerialize(lt),ee=this.stack[this.stack.length-2];ee.label=vl(Be),ee.identifier=ji(Be).toLowerCase()}function Oe(){const lt=this.stack[this.stack.length-1],Be=this.resume(),ee=this.stack[this.stack.length-1];if(a("inReference",!0),ee.type==="link"){const ut=lt.children;ee.children=ut}else ee.alt=Be}function Ne(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.url=lt}function pn(){const lt=this.resume(),Be=this.stack[this.stack.length-1];Be.title=lt}function dn(){a("inReference")}function Cn(){a("referenceType","collapsed")}function sr(lt){const Be=this.resume(),ee=this.stack[this.stack.length-1];ee.label=Be,ee.identifier=ji(this.sliceSerialize(lt)).toLowerCase(),a("referenceType","full")}function Qr(lt){a("characterReferenceType",lt.type)}function Jr(lt){const Be=this.sliceSerialize(lt),ee=u("characterReferenceType");let ut;ee?(ut=yl(Be,ee==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):ut=Ws(Be);const Jt=this.stack.pop();Jt.value+=ut,Jt.position.end=es(lt.end)}function $r(lt){qe.call(this,lt);const Be=this.stack[this.stack.length-1];Be.url=this.sliceSerialize(lt)}function hn(lt){qe.call(this,lt);const Be=this.stack[this.stack.length-1];Be.url="mailto:"+this.sliceSerialize(lt)}function Ln(){return{type:"blockquote",children:[]}}function Dn(){return{type:"code",lang:null,meta:null,value:""}}function Zn(){return{type:"inlineCode",value:""}}function Hn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ei(){return{type:"emphasis",children:[]}}function _n(){return{type:"heading",depth:void 0,children:[]}}function Zr(){return{type:"break"}}function Un(){return{type:"html",value:""}}function En(){return{type:"image",title:null,url:"",alt:null}}function Wn(){return{type:"link",title:null,url:"",children:[]}}function mn(lt){return{type:"list",ordered:lt.type==="listOrdered",start:null,spread:lt._spread,children:[]}}function zn(lt){return{type:"listItem",spread:lt._spread,checked:null,children:[]}}function si(){return{type:"paragraph",children:[]}}function On(){return{type:"strong",children:[]}}function tr(){return{type:"text",value:""}}function gn(){return{type:"thematicBreak"}}}function es(e){return{line:e.line,column:e.column,offset:e.offset}}function Wf(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?Wf(e,n):ZC(e,n)}}function ZC(e,t){let r;for(r in t)if(Hf.call(t,r)){if(r==="canContainEols"){const n=t[r];n&&e[r].push(...n)}else if(r==="transforms"){const n=t[r];n&&e[r].push(...n)}else if(r==="enter"||r==="exit"){const n=t[r];n&&Object.assign(e[r],n)}}}function Vp(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ki({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ki({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ki({start:t.start,end:t.end})+") is still open")}var Mp=Object.prototype.hasOwnProperty;function Rp(e,t,r){for(r of e.keys())if(Ca(r,t))return r}function Ca(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Ca(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(i=n,i&&typeof i=="object"&&(i=Rp(t,i),!i)||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(i=n[0],i&&typeof i=="object"&&(i=Rp(t,i),!i)||!Ca(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Mp.call(e,r)&&++n&&!Mp.call(t,r)||!(r in t)||!Ca(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var nl,Gf,Xf,Qf,Kf=!0;typeof process<"u"&&({FORCE_COLOR:nl,NODE_DISABLE_COLORS:Gf,NO_COLOR:Xf,TERM:Qf}=new Object({})||{},Kf=process.stdout&&process.stdout.isTTY);var Xr={enabled:!Gf&&Xf==null&&Qf!=="dumb"&&(nl!=null&&nl!=="0"||Kf),reset:an(0,0),bold:an(1,22),dim:an(2,22),italic:an(3,23),underline:an(4,24),inverse:an(7,27),hidden:an(8,28),strikethrough:an(9,29),black:an(30,39),red:an(31,39),green:an(32,39),yellow:an(33,39),blue:an(34,39),magenta:an(35,39),cyan:an(36,39),white:an(37,39),gray:an(90,39),grey:an(90,39),bgBlack:an(40,49),bgRed:an(41,49),bgGreen:an(42,49),bgYellow:an(43,49),bgBlue:an(44,49),bgMagenta:an(45,49),bgCyan:an(46,49),bgWhite:an(47,49)};function Jp(e,t){let r=0,n,i="",a="";for(;r<e.length;r++)n=e[r],i+=n.open,a+=n.close,~t.indexOf(n.close)&&(t=t.replace(n.rgx,n.close+n.open));return i+t+a}function eE(e,t){let r={has:e,keys:t};return r.reset=Xr.reset.bind(r),r.bold=Xr.bold.bind(r),r.dim=Xr.dim.bind(r),r.italic=Xr.italic.bind(r),r.underline=Xr.underline.bind(r),r.inverse=Xr.inverse.bind(r),r.hidden=Xr.hidden.bind(r),r.strikethrough=Xr.strikethrough.bind(r),r.black=Xr.black.bind(r),r.red=Xr.red.bind(r),r.green=Xr.green.bind(r),r.yellow=Xr.yellow.bind(r),r.blue=Xr.blue.bind(r),r.magenta=Xr.magenta.bind(r),r.cyan=Xr.cyan.bind(r),r.white=Xr.white.bind(r),r.gray=Xr.gray.bind(r),r.grey=Xr.grey.bind(r),r.bgBlack=Xr.bgBlack.bind(r),r.bgRed=Xr.bgRed.bind(r),r.bgGreen=Xr.bgGreen.bind(r),r.bgYellow=Xr.bgYellow.bind(r),r.bgBlue=Xr.bgBlue.bind(r),r.bgMagenta=Xr.bgMagenta.bind(r),r.bgCyan=Xr.bgCyan.bind(r),r.bgWhite=Xr.bgWhite.bind(r),r}function an(e,t){let r={open:`\x1B[${e}m`,close:`\x1B[${t}m`,rgx:new RegExp(`\\x1b\\[${t}m`,"g")};return function(n){return this!==void 0&&this.has!==void 0?(~this.has.indexOf(e)||(this.has.push(e),this.keys.push(r)),n===void 0?this:Xr.enabled?Jp(this.keys,n+""):n+""):n===void 0?eE([e],[r]):Xr.enabled?Jp([r],n+""):n+""}}var Fs=Xr;function os(){}os.prototype={diff:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.callback;typeof n=="function"&&(i=n,n={}),this.options=n;var a=this;function u(Se){return i?(setTimeout(function(){i(void 0,Se)},0),!0):Se}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var o=r.length,d=t.length,E=1,w=o+d;n.maxEditLength&&(w=Math.min(w,n.maxEditLength));var M=[{newPos:-1,components:[]}],re=this.extractCommon(M[0],r,t,0);if(M[0].newPos+1>=o&&re+1>=d)return u([{value:this.join(r),count:r.length}]);function ue(){for(var Se=-1*E;Se<=E;Se+=2){var _e=void 0,ye=M[Se-1],tt=M[Se+1],Ve=(tt?tt.newPos:0)-Se;ye&&(M[Se-1]=void 0);var gt=ye&&ye.newPos+1<o,Me=tt&&0<=Ve&&Ve<d;if(!gt&&!Me){M[Se]=void 0;continue}if(!gt||Me&&ye.newPos<tt.newPos?(_e=rE(tt),a.pushComponent(_e.components,void 0,!0)):(_e=ye,_e.newPos++,a.pushComponent(_e.components,!0,void 0)),Ve=a.extractCommon(_e,r,t,Se),_e.newPos+1>=o&&Ve+1>=d)return u(tE(a,_e.components,r,t,a.useLongestToken));M[Se]=_e}E++}if(i)(function Se(){setTimeout(function(){if(E>w)return i();ue()||Se()},0)})();else for(;E<=w;){var le=ue();if(le)return le}},pushComponent:function(t,r,n){var i=t[t.length-1];i&&i.added===r&&i.removed===n?t[t.length-1]={count:i.count+1,added:r,removed:n}:t.push({count:1,added:r,removed:n})},extractCommon:function(t,r,n,i){for(var a=r.length,u=n.length,o=t.newPos,d=o-i,E=0;o+1<a&&d+1<u&&this.equals(r[o+1],n[d+1]);)o++,d++,E++;return E&&t.components.push({count:E}),t.newPos=o,d},equals:function(t,r){return this.options.comparator?this.options.comparator(t,r):t===r||this.options.ignoreCase&&t.toLowerCase()===r.toLowerCase()},removeEmpty:function(t){for(var r=[],n=0;n<t.length;n++)t[n]&&r.push(t[n]);return r},castInput:function(t){return t},tokenize:function(t){return t.split("")},join:function(t){return t.join("")}};function tE(e,t,r,n,i){for(var a=0,u=t.length,o=0,d=0;a<u;a++){var E=t[a];if(E.removed){if(E.value=e.join(n.slice(d,d+E.count)),d+=E.count,a&&t[a-1].added){var M=t[a-1];t[a-1]=t[a],t[a]=M}}else{if(!E.added&&i){var w=r.slice(o,o+E.count);w=w.map(function(ue,le){var Se=n[d+le];return Se.length>ue.length?Se:ue}),E.value=e.join(w)}else E.value=e.join(r.slice(o,o+E.count));o+=E.count,E.added||(d+=E.count)}}var re=t[u-1];return u>1&&typeof re.value=="string"&&(re.added||re.removed)&&e.equals("",re.value)&&(t[u-2].value+=re.value,t.pop()),t}function rE(e){return{newPos:e.newPos,components:e.components.slice(0)}}var Up=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,zp=/\S/,Yf=new os;Yf.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!zp.test(e)&&!zp.test(t)};Yf.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&Up.test(t[r])&&Up.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t};var Zf=new os;Zf.tokenize=function(e){var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var nE=new os;nE.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var iE=new os;iE.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function uu(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?uu=function(t){return typeof t}:uu=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uu(e)}var sE=Object.prototype.toString,Fa=new os;Fa.useLongestToken=!0;Fa.tokenize=Zf.tokenize;Fa.castInput=function(e){var t=this.options,r=t.undefinedReplacement,n=t.stringifyReplacer,i=n===void 0?function(a,u){return typeof u>"u"?r:u}:n;return typeof e=="string"?e:JSON.stringify(il(e,null,null,i),i," ")};Fa.equals=function(e,t){return os.prototype.equals.call(Fa,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};function il(e,t,r,n,i){t=t||[],r=r||[],n&&(e=n(i,e));var a;for(a=0;a<t.length;a+=1)if(t[a]===e)return r[a];var u;if(sE.call(e)==="[object Array]"){for(t.push(e),u=new Array(e.length),r.push(u),a=0;a<e.length;a+=1)u[a]=il(e[a],t,r,n,i);return t.pop(),r.pop(),u}if(e&&e.toJSON&&(e=e.toJSON()),uu(e)==="object"&&e!==null){t.push(e),u={},r.push(u);var o=[],d;for(d in e)e.hasOwnProperty(d)&&o.push(d);for(o.sort(),a=0;a<o.length;a+=1)d=o[a],u[d]=il(e[d],t,r,n,d);t.pop(),r.pop()}else u=e;return u}var sl=new os;sl.tokenize=function(e){return e.slice()};sl.join=sl.removeEmpty=function(e){return e};Fs.red,Fs.grey,Fs.green;Fs.dim().italic;Fs.dim("→");Fs.dim("·");Fs.dim("↵");function xu(e){e=e.replace(/\r?\n/g,`
191
- `);let t=e.match(/^[ \t]*(?=\S)/gm),r=0,n=1/0,i=(t||[]).length;for(;r<i;r++)n=Math.min(n,t[r].length);return i&&n?e.replace(new RegExp(`^[ \\t]{${n}}`,"gm"),""):e}var aE=class extends Error{constructor(e={}){super(e.message),this.name="Assertion",this.code="ERR_ASSERTION",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.details=e.details||!1,this.generated=!!e.generated,this.operator=e.operator,this.expects=e.expects,this.actual=e.actual}};function mi(e,t,r,n,i,a,u){if(e)return;let o=u||a;if(u instanceof Error)throw u;let d=i&&i(t,r);throw new aE({actual:t,expects:r,operator:n,message:o,details:d,generated:!u})}function ou(e,t){mi(!!e,!1,!0,"ok",!1,"Expected value to be truthy",t)}function Ji(e,t){mi(!e,!0,!1,"not",!1,"Expected value to be falsey",t)}Ji.ok=Ji;Ji.equal=function(e,t,r){mi(!Ca(e,t),e,t,"not.equal",!1,"Expected values not to be deeply equal",r)};Ji.type=function(e,t,r){let n=typeof e;mi(n!==t,n,t,"not.type",!1,`Expected "${n}" not to be "${t}"`,r)};Ji.instance=function(e,t,r){let n="`"+(t.name||t.constructor.name)+"`";mi(!(e instanceof t),e,t,"not.instance",!1,`Expected value not to be an instance of ${n}`,r)};Ji.snapshot=function(e,t,r){e=xu(e),t=xu(t),mi(e!==t,e,t,"not.snapshot",!1,"Expected value not to match snapshot",r)};Ji.fixture=function(e,t,r){e=xu(e),t=xu(t),mi(e!==t,e,t,"not.fixture",!1,"Expected value not to match fixture",r)};Ji.match=function(e,t,r){typeof t=="string"?mi(!e.includes(t),e,t,"not.match",!1,`Expected value not to include "${t}" substring`,r):mi(!t.test(e),e,t,"not.match",!1,`Expected value not to match \`${String(t)}\` pattern`,r)};Ji.throws=function(e,t,r){!r&&typeof t=="string"&&(r=t,t=null);try{e()}catch(n){typeof t=="function"?mi(!t(n),!0,!1,"not.throws",!1,"Expected function not to throw matching exception",r):t instanceof RegExp?mi(!t.test(n.message),!0,!1,"not.throws",!1,`Expected function not to throw exception matching \`${String(t)}\` pattern`,r):t||mi(!1,!0,!1,"not.throws",!1,"Expected function not to throw",r)}};var Pt={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},al={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},vs={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},uE={ht:" ",lf:`
192
- `,cr:"\r",space:" ",exclamationMark:"!",quotationMark:'"',numberSign:"#",dollarSign:"$",percentSign:"%",ampersand:"&",apostrophe:"'",leftParenthesis:"(",rightParenthesis:")",asterisk:"*",plusSign:"+",comma:",",dash:"-",dot:".",slash:"/",digit0:"0",digit1:"1",digit2:"2",digit3:"3",digit4:"4",digit5:"5",digit6:"6",digit7:"7",digit8:"8",digit9:"9",colon:":",semicolon:";",lessThan:"<",equalsTo:"=",greaterThan:">",questionMark:"?",atSign:"@",uppercaseA:"A",uppercaseB:"B",uppercaseC:"C",uppercaseD:"D",uppercaseE:"E",uppercaseF:"F",uppercaseG:"G",uppercaseH:"H",uppercaseI:"I",uppercaseJ:"J",uppercaseK:"K",uppercaseL:"L",uppercaseM:"M",uppercaseN:"N",uppercaseO:"O",uppercaseP:"P",uppercaseQ:"Q",uppercaseR:"R",uppercaseS:"S",uppercaseT:"T",uppercaseU:"U",uppercaseV:"V",uppercaseW:"W",uppercaseX:"X",uppercaseY:"Y",uppercaseZ:"Z",leftSquareBracket:"[",backslash:"\\",rightSquareBracket:"]",caret:"^",underscore:"_",graveAccent:"`",lowercaseA:"a",lowercaseB:"b",lowercaseC:"c",lowercaseD:"d",lowercaseE:"e",lowercaseF:"f",lowercaseG:"g",lowercaseH:"h",lowercaseI:"i",lowercaseJ:"j",lowercaseK:"k",lowercaseL:"l",lowercaseM:"m",lowercaseN:"n",lowercaseO:"o",lowercaseP:"p",lowercaseQ:"q",lowercaseR:"r",lowercaseS:"s",lowercaseT:"t",lowercaseU:"u",lowercaseV:"v",lowercaseW:"w",lowercaseX:"x",lowercaseY:"y",lowercaseZ:"z",leftCurlyBrace:"{",verticalBar:"|",rightCurlyBrace:"}",tilde:"~",replacementCharacter:"�"},oE=e=>{let t=null;return Object.entries(uE).forEach(([r,n])=>{n===e&&(t=r)}),t},ti=e=>{if(!e)return null;const t=oE(e);let r=null;return t&&Object.entries(Pt).forEach(([n,i])=>{n===t&&(r=i)}),r};function ed(e,t,r,n,i,a,u,o,d,E,w,M,re,ue,le,Se,_e,ye,tt,Ve,gt,Me,f,Y,me,be,pt,Ie,qe,St,fr,Ar,Qt){const Zt=this;let qt,dr,Br,Oe=1,Ne=1,pn=1;const dn=function(xe){return Br=Zt.now(),e.enter(o),e.enter(d),e.consume(xe),Qt.start.length===1?(e.exit(d),sr):Cn},Cn=function(xe){const Cr=ti(Qt.start[Oe]);return xe===Cr?(e.consume(xe),Qt.start.length-1===Oe?(e.exit(d),sr):(Oe++,Cn)):r},sr=function(xe){return qt=Qr,ut(xe)},Qr=function(xe){return xe===Pt.slash?(e.enter(E),e.consume(xe),e.exit(E),qt=Jr,ut):xe===Pt.greaterThan?ee(xe):xe!==Pt.eof&&yn(xe)&&ti(Qt.name[0])===xe?(e.enter(M),e.enter(re),e.consume(xe),$r):r(xe)},Jr=function(xe){return xe===Pt.greaterThan?ee(xe):xe!==Pt.eof&&yn(xe)?(e.enter(M),e.enter(re),e.consume(xe),$r):r(xe)},$r=function(xe){const Cr=Qt.name[pn];return(Cr?ti(Cr):null)===xe?(e.consume(xe),pn++,$r):(pn=0,xe===Pt.dot||xe===Pt.slash||xe===Pt.colon||xe===Pt.greaterThan||xe===ti(Qt.end[0])||on(xe)||In(xe)?(e.exit(re),qt=hn,ut(xe)):r(xe))},hn=function(xe){if(xe===Pt.dot)return e.enter(ue),e.consume(xe),e.exit(ue),qt=Ln,ut;if(xe===Pt.colon)return e.enter(Se),e.consume(xe),e.exit(Se),qt=Hn,ut;if(xe===ti(Qt.end[0])){const Cr=function(Gr){const Nr=ti(Qt.end[Ne]);return Gr===Nr?Qt.end.length-1===Ne?(e.exit(M),Zr(Gr)):(Ne++,e.consume(Gr),Cr):(Ne=0,r)};return Qt.end.length===1?(e.exit(M),Zr(xe)):(e.consume(xe),Cr)}return xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||xe!==Pt.eof&&yn(xe)?(e.exit(M),Zr(xe)):xe===Pt.quotationMark?(e.exit(M),e.enter(gt),e.enter(Me),e.enter(f),e.exit(f),e.exit(Me),e.enter(be),e.exit(be),On(xe)):r(xe)},Ln=function(xe){return xe!==Pt.eof&&yn(xe)?(e.enter(le),e.consume(xe),Dn):r(xe)},Dn=function(xe){if(xe===Pt.dash||xe!==Pt.eof&&Pi(xe))return e.consume(xe),Dn;if(xe===Pt.dot||xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||on(xe)||In(xe))return e.exit(le),qt=Zn,ut(xe);Kr(xe,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(xe===Pt.atSign?" (note: to create a link in MDX, use `[text](url)`)":""))},Zn=function(xe){return xe===Pt.dot?(e.enter(ue),e.consume(xe),e.exit(ue),qt=Ln,ut):xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||xe!==Pt.eof&&yn(xe)?(e.exit(M),Zr(xe)):r(xe)},Hn=function(xe){if(xe!==Pt.eof&&yn(xe))return e.enter(_e),e.consume(xe),ei;Kr(xe,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(xe===Pt.plusSign||xe!==null&&xe>Pt.dot&&xe<Pt.colon?" (note: to create a link in MDX, use `[text](url)`)":""))},ei=function(xe){if(xe===Pt.dash||xe!==Pt.eof&&Pi(xe))return e.consume(xe),ei;if(xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||on(xe)||In(xe))return e.exit(_e),qt=_n,ut(xe);Kr(xe,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")},_n=function(xe){if(xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||xe!==Pt.eof&&yn(xe)||xe===ti(Qt.end))return e.exit(M),Zr(xe);Kr(xe,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")},Zr=function(xe){if(xe===ti(Qt.end[0])){const Cr=function(Gr){const Nr=ti(Qt.end[Ne]);return Gr===Nr?Qt.end.length-1===Ne?Zr(Gr):(Ne++,e.consume(Gr),Cr):(Ne=0,r)};return Qt.end.length===1?Qt.leaf?(e.enter(w),e.exit(w),qt=Be,ut):ee(xe):(e.consume(xe),Cr)}return xe===ti(Qt.end[Qt.end.length-1])?Qt.leaf?(e.enter(w),e.exit(w),qt=Be,ut):ee(xe):xe===Pt.greaterThan?ee(xe):xe===Pt.leftCurlyBrace?(ou(Br,"expected `startPoint` to be defined"),Xs.call(Zt,e,Un,ye,tt,Ve,n,i,a,!0,!1,u,Br.column)(xe)):xe!==Pt.eof&&yn(xe)?(e.enter(gt),e.enter(Me),e.enter(f),e.consume(xe),En):r},Un=function(xe){return qt=Zr,ut(xe)},En=function(xe){return xe===Pt.dash||xe!==Pt.eof&&Pi(xe)?(e.consume(xe),En):xe===Pt.slash||xe===Pt.colon||xe===Pt.equalsTo||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||on(xe)||In(xe)?(e.exit(f),qt=Wn,ut(xe)):r(xe)},Wn=function(xe){return xe===Pt.colon?(e.enter(Y),e.consume(xe),e.exit(Y),qt=mn,ut):xe===Pt.equalsTo?(e.exit(Me),e.enter(be),e.consume(xe),e.exit(be),qt=On,ut):xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||on(xe)||In(xe)||xe!==Pt.eof&&yn(xe)?(e.exit(Me),e.exit(gt),qt=Zr,ut(xe)):r(xe)},mn=function(xe){if(xe!==Pt.eof&&yn(xe))return e.enter(me),e.consume(xe),zn;Kr(xe,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")},zn=function(xe){if(xe===Pt.dash||xe!==Pt.eof&&Pi(xe))return e.consume(xe),zn;if(xe===Pt.slash||xe===Pt.equalsTo||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||on(xe)||In(xe))return e.exit(me),e.exit(Me),qt=si,ut(xe);Kr(xe,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")},si=function(xe){if(xe===Pt.equalsTo)return e.enter(be),e.consume(xe),e.exit(be),qt=On,ut;if(xe===Pt.slash||xe===Pt.greaterThan||xe===Pt.leftCurlyBrace||xe!==Pt.eof&&yn(xe))return e.exit(gt),Zr(xe);Kr(xe,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")},On=function(xe){return xe===Pt.quotationMark||xe===Pt.apostrophe?(e.enter(pt),e.enter(Ie),e.consume(xe),e.exit(Ie),dr=xe,gn):xe===Pt.leftCurlyBrace?(ou(Br,"expected `startPoint` to be defined"),Xs.call(Zt,e,tr,St,fr,Ar,n,i,a,!1,!1,u,Br.column)(xe)):r(xe)},tr=function(xe){return e.exit(gt),qt=Zr,ut(xe)},gn=function(xe){return ou(dr!==void 0,"expected `marker` to be defined"),xe===Pt.eof?r(xe):xe===dr?(e.enter(Ie),e.consume(xe),e.exit(Ie),e.exit(pt),e.exit(gt),dr=void 0,qt=Zr,ut):Xt(xe)?(qt=gn,ut(xe)):(e.enter(qe),lt(xe))},lt=function(xe){return xe===Pt.eof||xe===dr||Xt(xe)?(e.exit(qe),gn(xe)):(e.consume(xe),lt)},Be=function(xe){if(xe===ti(Qt.end[Qt.end.length-1]))return ee(xe);Kr(xe,"after self-closing slash","`>` to end the tag"+(xe===Pt.asterisk||xe===Pt.slash?" (note: JS comments in JSX tags are not supported in MDX)":""))},ee=function(xe){return e.enter(d),e.consume(xe),e.exit(d),e.exit(o),t},ut=function(xe){return Xt(xe)?u?(e.enter(vs.lineEnding),e.consume(xe),e.exit(vs.lineEnding),kr(e,ut,vs.linePrefix,al.tabSize)):e.attempt(pE,kr(e,ut,vs.linePrefix,al.tabSize),Hr)(xe):ln(xe)||In(xe)?(e.enter("esWhitespace"),Jt(xe)):qt(xe)},Jt=function(xe){return Xt(xe)||!(ln(xe)||In(xe))?(e.exit("esWhitespace"),ut(xe)):(e.consume(xe),Jt)};function Hr(){throw new Rr("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",Zt.now(),"micromark-extension-mdx-jsx:unexpected-eof")}function Kr(xe,Cr,Gr){throw new Rr("Unexpected "+(xe===Pt.eof?"end of file":"character `"+(xe===Pt.graveAccent?"` ` `":String.fromCodePoint(xe))+"` ("+cE(xe)+")")+" "+Cr+", expected "+Gr,Zt.now(),"micromark-extension-mdx-jsx:unexpected-"+(xe===Pt.eof?"eof":"character"))}return dn}var lE=function(e,t,r){const n=this,i=function(u){return ou(Xt(u),"expected eol"),e.enter(vs.lineEnding),e.consume(u),e.exit(vs.lineEnding),a},a=function(u){return n.parser.lazy[n.now().line]?r(u):t(u)};return i},cE=function(e){return"U+"+e.toString(al.numericBaseHexadecimal).toUpperCase().padStart(4,"0")},pE={tokenize:lE,partial:!0},qp=function(e,t,r,n){return{tokenize:function(a,u,o){const d=this;return ed.call(d,a,u,o,e,t,r,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue",n)}}},$p=function(e,t,r,n){return{tokenize:function(a,u,o){const d=this,E=function(M){return ed.call(d,a,kr(a,w,vs.whitespace),o,e,t,r,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue",n)(M)},w=function(M){const re=ti(n.start[0]);return M===re?E(M):M===Pt.eof||on(M)?u(M):o(M)};return E},concrete:!0}};function hE(e={}){const t=e.acorn;let r;if(t){if(!t.parse||!t.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");r=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions,{locations:!0})}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");const n=e.patterns||[],i={},a={};n.forEach(o=>{var E;const d=(E=ti(o.start[0]))==null?void 0:E.toString();if(d)if(o.type==="flow"){const w=i[d];i[d]=w?[...w,$p(t,r,e.addResult,o)]:[$p(t,r,e.addResult,o)]}else{const w=a[d];a[d]=w?[...w,qp(t,r,e.addResult,o)]:[qp(t,r,e.addResult,o)]}});let u=[];return e.skipHTML&&(u=["htmlFlow","htmlText"]),{flow:i,text:a,disable:{null:u}}}var td={};ml(td,{Node:()=>La,Parser:()=>vn,Position:()=>Qs,SourceLocation:()=>Ia,TokContext:()=>hi,Token:()=>Ju,TokenType:()=>Or,defaultOptions:()=>Du,getLineInfo:()=>Ol,isIdentifierChar:()=>ws,isIdentifierStart:()=>Bi,isNewLine:()=>Ts,keywordTypes:()=>Vu,lineBreak:()=>ii,lineBreakG:()=>id,nonASCIIwhitespace:()=>Ll,parse:()=>JE,parseExpressionAt:()=>UE,tokContexts:()=>cn,tokTypes:()=>ae,tokenizer:()=>zE,version:()=>Od});var fE=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],rd=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],dE="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nd="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Oo={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},jo="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",mE={5:jo,"5module":jo+" export import",6:jo+" const class extends export import super"},gE=/^in(stanceof)?$/,xE=new RegExp("["+nd+"]"),DE=new RegExp("["+nd+dE+"]");function ul(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Bi(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&xE.test(String.fromCharCode(e)):t===!1?!1:ul(e,rd)}function ws(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&DE.test(String.fromCharCode(e)):t===!1?!1:ul(e,rd)||ul(e,fE)}var Or=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function ci(e,t){return new Or(e,{beforeExpr:!0,binop:t})}var pi={beforeExpr:!0},Qn={startsExpr:!0},Vu={};function Lr(e,t){return t===void 0&&(t={}),t.keyword=e,Vu[e]=new Or(e,t)}var ae={num:new Or("num",Qn),regexp:new Or("regexp",Qn),string:new Or("string",Qn),name:new Or("name",Qn),privateId:new Or("privateId",Qn),eof:new Or("eof"),bracketL:new Or("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Or("]"),braceL:new Or("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Or("}"),parenL:new Or("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Or(")"),comma:new Or(",",pi),semi:new Or(";",pi),colon:new Or(":",pi),dot:new Or("."),question:new Or("?",pi),questionDot:new Or("?."),arrow:new Or("=>",pi),template:new Or("template"),invalidTemplate:new Or("invalidTemplate"),ellipsis:new Or("...",pi),backQuote:new Or("`",Qn),dollarBraceL:new Or("${",{beforeExpr:!0,startsExpr:!0}),eq:new Or("=",{beforeExpr:!0,isAssign:!0}),assign:new Or("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Or("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Or("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ci("||",1),logicalAND:ci("&&",2),bitwiseOR:ci("|",3),bitwiseXOR:ci("^",4),bitwiseAND:ci("&",5),equality:ci("==/!=/===/!==",6),relational:ci("</>/<=/>=",7),bitShift:ci("<</>>/>>>",8),plusMin:new Or("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ci("%",10),star:ci("*",10),slash:ci("/",10),starstar:new Or("**",{beforeExpr:!0}),coalesce:ci("??",1),_break:Lr("break"),_case:Lr("case",pi),_catch:Lr("catch"),_continue:Lr("continue"),_debugger:Lr("debugger"),_default:Lr("default",pi),_do:Lr("do",{isLoop:!0,beforeExpr:!0}),_else:Lr("else",pi),_finally:Lr("finally"),_for:Lr("for",{isLoop:!0}),_function:Lr("function",Qn),_if:Lr("if"),_return:Lr("return",pi),_switch:Lr("switch"),_throw:Lr("throw",pi),_try:Lr("try"),_var:Lr("var"),_const:Lr("const"),_while:Lr("while",{isLoop:!0}),_with:Lr("with"),_new:Lr("new",{beforeExpr:!0,startsExpr:!0}),_this:Lr("this",Qn),_super:Lr("super",Qn),_class:Lr("class",Qn),_extends:Lr("extends",pi),_export:Lr("export"),_import:Lr("import",Qn),_null:Lr("null",Qn),_true:Lr("true",Qn),_false:Lr("false",Qn),_in:Lr("in",{beforeExpr:!0,binop:7}),_instanceof:Lr("instanceof",{beforeExpr:!0,binop:7}),_typeof:Lr("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Lr("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Lr("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ii=/\r\n?|\n|\u2028|\u2029/,id=new RegExp(ii.source,"g");function Ts(e){return e===10||e===13||e===8232||e===8233}function sd(e,t,r){r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(Ts(i))return n<r-1&&i===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}var Ll=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,di=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ad=Object.prototype,yE=ad.hasOwnProperty,vE=ad.toString,Na=Object.hasOwn||function(e,t){return yE.call(e,t)},Hp=Array.isArray||function(e){return vE.call(e)==="[object Array]"};function Cs(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function is(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var CE=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Qs=function(t,r){this.line=t,this.column=r};Qs.prototype.offset=function(t){return new Qs(this.line,this.column+t)};var Ia=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};function Ol(e,t){for(var r=1,n=0;;){var i=sd(e,n,t);if(i<0)return new Qs(r,t-n);++r,n=i}}var Du={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Wp=!1;function EE(e){var t={};for(var r in Du)t[r]=e&&Na(e,r)?e[r]:Du[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Wp&&typeof console=="object"&&console.warn&&(Wp=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
193
- Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Hp(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return Hp(t.onComment)&&(t.onComment=AE(t,t.onComment)),t}function AE(e,t){return function(r,n,i,a,u,o){var d={type:r?"Block":"Line",value:n,start:i,end:a};e.locations&&(d.loc=new Ia(this,u,o)),e.ranges&&(d.range=[i,a]),t.push(d)}}var Sa=1,sa=2,jl=4,ud=8,od=16,ld=32,Vl=64,cd=128,Pa=256,Ml=Sa|sa|Pa;function Rl(e,t){return sa|(e?jl:0)|(t?ud:0)}var yu=0,Jl=1,Mi=2,pd=3,hd=4,fd=5,vn=function(t,r,n){this.options=t=EE(t),this.sourceFile=t.sourceFile,this.keywords=Cs(mE[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Oo[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=Cs(i);var a=(i?i+" ":"")+Oo.strict;this.reservedWordsStrict=Cs(a),this.reservedWordsStrictBind=Cs(a+" "+Oo.strictBind),this.input=String(r),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
194
- `,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ii).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=ae.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Sa),this.regexpState=null,this.privateNameStack=[]},_i={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};vn.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};_i.inFunction.get=function(){return(this.currentVarScope().flags&sa)>0};_i.inGenerator.get=function(){return(this.currentVarScope().flags&ud)>0&&!this.currentVarScope().inClassFieldInit};_i.inAsync.get=function(){return(this.currentVarScope().flags&jl)>0&&!this.currentVarScope().inClassFieldInit};_i.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Pa)return!1;if(t.flags&sa)return(t.flags&jl)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};_i.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&Vl)>0||r||this.options.allowSuperOutsideMethod};_i.allowDirectSuper.get=function(){return(this.currentThisScope().flags&cd)>0};_i.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};_i.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(sa|Pa))>0||r};_i.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Pa)>0};vn.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=this,i=0;i<t.length;i++)n=t[i](n);return n};vn.parse=function(t,r){return new this(r,t).parse()};vn.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};vn.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(vn.prototype,_i);var $n=vn.prototype,bE=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;$n.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){di.lastIndex=e,e+=di.exec(this.input)[0].length;var t=bE.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){di.lastIndex=e+t[0].length;var r=di.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return i===";"||i==="}"||ii.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,di.lastIndex=e,e+=di.exec(this.input)[0].length,this.input[e]===";"&&e++}};$n.eat=function(e){return this.type===e?(this.next(),!0):!1};$n.isContextual=function(e){return this.type===ae.name&&this.value===e&&!this.containsEsc};$n.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};$n.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};$n.canInsertSemicolon=function(){return this.type===ae.eof||this.type===ae.braceR||ii.test(this.input.slice(this.lastTokEnd,this.start))};$n.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};$n.semicolon=function(){!this.eat(ae.semi)&&!this.insertSemicolon()&&this.unexpected()};$n.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};$n.expect=function(e){this.eat(e)||this.unexpected()};$n.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Mu=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$n.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};$n.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};$n.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};$n.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var hr=vn.prototype;hr.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==ae.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ul={kind:"loop"},FE={kind:"switch"};hr.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;di.lastIndex=this.pos;var t=di.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91||n===92)return!0;if(e)return!1;if(n===123||n>55295&&n<56320)return!0;if(Bi(n,!0)){for(var i=r+1;ws(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var a=this.input.slice(r,i);if(!gE.test(a))return!0}return!1};hr.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;di.lastIndex=this.pos;var e=di.exec(this.input),t=this.pos+e[0].length,r;return!ii.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(ws(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};hr.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(n=ae._var,a="let"),n){case ae._break:case ae._continue:return this.parseBreakContinueStatement(i,n.keyword);case ae._debugger:return this.parseDebuggerStatement(i);case ae._do:return this.parseDoStatement(i);case ae._for:return this.parseForStatement(i);case ae._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case ae._class:return e&&this.unexpected(),this.parseClass(i,!0);case ae._if:return this.parseIfStatement(i);case ae._return:return this.parseReturnStatement(i);case ae._switch:return this.parseSwitchStatement(i);case ae._throw:return this.parseThrowStatement(i);case ae._try:return this.parseTryStatement(i);case ae._const:case ae._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(i,a);case ae._while:return this.parseWhileStatement(i);case ae._with:return this.parseWithStatement(i);case ae.braceL:return this.parseBlock(!0,i);case ae.semi:return this.parseEmptyStatement(i);case ae._export:case ae._import:if(this.options.ecmaVersion>10&&n===ae._import){di.lastIndex=this.pos;var u=di.exec(this.input),o=this.pos+u[0].length,d=this.input.charCodeAt(o);if(d===40||d===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===ae._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var E=this.value,w=this.parseExpression();return n===ae.name&&w.type==="Identifier"&&this.eat(ae.colon)?this.parseLabeledStatement(i,E,w,e):this.parseExpressionStatement(i,w)}};hr.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(ae.semi)||this.insertSemicolon()?e.label=null:this.type!==ae.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};hr.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};hr.parseDoStatement=function(e){return this.next(),this.labels.push(Ul),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(ae._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(ae.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};hr.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ul),this.enterScope(0),this.expect(ae.parenL),this.type===ae.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===ae._var||this.type===ae._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),(this.type===ae._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===ae._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var a=this.isContextual("let"),u=!1,o=new Mu,d=this.parseExpression(t>-1?"await":!0,o);return this.type===ae._in||(u=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===ae._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&u&&this.raise(d.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(d,!1,o),this.checkLValPattern(d),this.parseForIn(e,d)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,d))};hr.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ea|(r?0:ol),!1,t)};hr.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(ae._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};hr.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(ae.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};hr.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(ae.braceL),this.labels.push(FE),this.enterScope(0);for(var t,r=!1;this.type!==ae.braceR;)if(this.type===ae._case||this.type===ae._default){var n=this.type===ae._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(ae.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};hr.parseThrowStatement=function(e){return this.next(),ii.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var SE=[];hr.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===ae._catch){var t=this.startNode();if(this.next(),this.eat(ae.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?ld:0),this.checkLValPattern(t.param,r?hd:Mi),this.expect(ae.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(ae._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};hr.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};hr.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ul),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};hr.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};hr.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};hr.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1){var u=a[i];u.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var o=this.type.isLoop?"loop":this.type===ae._switch?"switch":null,d=this.labels.length-1;d>=0;d--){var E=this.labels[d];if(E.statementStart===e.start)E.statementStart=this.start,E.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};hr.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};hr.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(ae.braceL),e&&this.enterScope(0);this.type!==ae.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};hr.parseFor=function(e,t){return e.init=t,this.expect(ae.semi),e.test=this.type===ae.semi?null:this.parseExpression(),this.expect(ae.semi),e.update=this.type===ae.parenR?null:this.parseExpression(),this.expect(ae.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};hr.parseForIn=function(e,t){var r=this.type===ae._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(ae.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};hr.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(ae.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===ae._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===ae._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(ae.comma))break}return e};hr.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Jl:Mi,!1)};var Ea=1,ol=2,dd=4;hr.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===ae.star&&t&ol&&this.unexpected(),e.generator=this.eat(ae.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Ea&&(e.id=t&dd&&this.type!==ae.name?null:this.parseIdent(),e.id&&!(t&ol)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Jl:Mi:pd));var a=this.yieldPos,u=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Rl(e.async,e.generator)),t&Ea||(e.id=this.type===ae.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=a,this.awaitPos=u,this.awaitIdentPos=o,this.finishNode(e,t&Ea?"FunctionDeclaration":"FunctionExpression")};hr.parseFunctionParams=function(e){this.expect(ae.parenL),e.params=this.parseBindingList(ae.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};hr.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(ae.braceL);this.type!==ae.braceR;){var u=this.parseClassElement(e.superClass!==null);u&&(i.body.push(u),u.type==="MethodDefinition"&&u.kind==="constructor"?(a&&this.raise(u.start,"Duplicate constructor in the same class"),a=!0):u.key&&u.key.type==="PrivateIdentifier"&&wE(n,u)&&this.raiseRecoverable(u.key.start,"Identifier '#"+u.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};hr.parseClassElement=function(e){if(this.eat(ae.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,a=!1,u="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(ae.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===ae.star?o=!0:n="static"}if(r.static=o,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===ae.star)&&!this.canInsertSemicolon()?a=!0:n="async"),!n&&(t>=9||!a)&&this.eat(ae.star)&&(i=!0),!n&&!a&&!i){var d=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?u=d:n=d)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===ae.parenL||u!=="method"||i||a){var E=!r.static&&vu(r,"constructor"),w=E&&e;E&&u!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=E?"constructor":u,this.parseClassMethod(r,i,a,w)}else this.parseClassField(r);return r};hr.isClassElementNameStart=function(){return this.type===ae.name||this.type===ae.privateId||this.type===ae.num||this.type===ae.string||this.type===ae.bracketL||this.type.keyword};hr.parseClassElementName=function(e){this.type===ae.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};hr.parseClassMethod=function(e,t,r,n){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&vu(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};hr.parseClassField=function(e){if(vu(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&vu(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(ae.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};hr.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Pa|Vl);this.type!==ae.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};hr.parseClassId=function(e,t){this.type===ae.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Mi,!1)):(t===!0&&this.unexpected(),e.id=null)};hr.parseClassSuper=function(e){e.superClass=this.eat(ae._extends)?this.parseExprSubscripts(null,!1):null};hr.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};hr.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,n=this.privateNameStack.length,i=n===0?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var u=r[a];Na(t,u.name)||(i?i.used.push(u):this.raiseRecoverable(u.start,"Private field '#"+u.name+"' must be declared in an enclosing class"))}};function wE(e,t){var r=t.key.name,n=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),n==="iget"&&i==="iset"||n==="iset"&&i==="iget"||n==="sget"&&i==="sset"||n==="sset"&&i==="sget"?(e[r]="true",!1):n?!0:(e[r]=i,!1)}function vu(e,t){var r=e.computed,n=e.key;return!r&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}hr.parseExport=function(e,t){if(this.next(),this.eat(ae.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==ae.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(ae._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===ae._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Ea|dd,!1,r)}else if(this.type===ae._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==ae.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,u=e.specifiers;a<u.length;a+=1){var o=u[a];this.checkUnreserved(o.local),this.checkLocalExport(o.local),o.local.type==="Literal"&&this.raise(o.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};hr.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Na(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};hr.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var u=0,o=t.elements;u<o.length;u+=1){var d=o[u];d&&this.checkPatternExport(e,d)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};hr.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};hr.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};hr.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(ae.braceL);!this.eat(ae.braceR);){if(r)r=!1;else if(this.expect(ae.comma),this.afterTrailingComma(ae.braceR))break;var n=this.startNode();n.local=this.parseModuleExportName(),n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local,this.checkExport(e,n.exported,n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t};hr.parseImport=function(e){return this.next(),this.type===ae.string?(e.specifiers=SE,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===ae.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};hr.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===ae.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLValSimple(r.local,Mi),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(ae.comma))return e}if(this.type===ae.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLValSimple(n.local,Mi),e.push(this.finishNode(n,"ImportNamespaceSpecifier")),e}for(this.expect(ae.braceL);!this.eat(ae.braceR);){if(t)t=!1;else if(this.expect(ae.comma),this.afterTrailingComma(ae.braceR))break;var i=this.startNode();i.imported=this.parseModuleExportName(),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLValSimple(i.local,Mi),e.push(this.finishNode(i,"ImportSpecifier"))}return e};hr.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===ae.string){var e=this.parseLiteral(this.value);return CE.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};hr.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};hr.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Ei=vn.prototype;Ei.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};Ei.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};Ei.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Ei.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==ae.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Ei.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case ae.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(ae.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case ae.braceL:return this.parseObj(!0)}return this.parseIdent()};Ei.parseBindingList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(ae.comma),t&&this.type===ae.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===ae.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===ae.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var u=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(u),n.push(u)}}return n};Ei.parseBindingListItem=function(e){return e};Ei.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(ae.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};Ei.checkLValSimple=function(e,t,r){t===void 0&&(t=yu);var n=t!==yu;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===Mi&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Na(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==fd&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};Ei.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=yu),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var u=0,o=e.elements;u<o.length;u+=1){var d=o[u];d&&this.checkLValInnerPattern(d,t,r)}break;default:this.checkLValSimple(e,t,r)}};Ei.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=yu),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var hi=function(t,r,n,i,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i,this.generator=!!a},cn={b_stat:new hi("{",!1),b_expr:new hi("{",!0),b_tmpl:new hi("${",!1),p_stat:new hi("(",!1),p_expr:new hi("(",!0),q_tmpl:new hi("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new hi("function",!1),f_expr:new hi("function",!0),f_expr_gen:new hi("function",!0,!1,null,!0),f_gen:new hi("function",!1,!1,null,!0)},aa=vn.prototype;aa.initialContext=function(){return[cn.b_stat]};aa.curContext=function(){return this.context[this.context.length-1]};aa.braceIsBlock=function(e){var t=this.curContext();return t===cn.f_expr||t===cn.f_stat?!0:e===ae.colon&&(t===cn.b_stat||t===cn.b_expr)?!t.isExpr:e===ae._return||e===ae.name&&this.exprAllowed?ii.test(this.input.slice(this.lastTokEnd,this.start)):e===ae._else||e===ae.semi||e===ae.eof||e===ae.parenR||e===ae.arrow?!0:e===ae.braceL?t===cn.b_stat:e===ae._var||e===ae._const||e===ae.name?!1:!this.exprAllowed};aa.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};aa.updateContext=function(e){var t,r=this.type;r.keyword&&e===ae.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};aa.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};ae.parenR.updateContext=ae.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===cn.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};ae.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?cn.b_stat:cn.b_expr),this.exprAllowed=!0};ae.dollarBraceL.updateContext=function(){this.context.push(cn.b_tmpl),this.exprAllowed=!0};ae.parenL.updateContext=function(e){var t=e===ae._if||e===ae._for||e===ae._with||e===ae._while;this.context.push(t?cn.p_stat:cn.p_expr),this.exprAllowed=!0};ae.incDec.updateContext=function(){};ae._function.updateContext=ae._class.updateContext=function(e){e.beforeExpr&&e!==ae._else&&!(e===ae.semi&&this.curContext()!==cn.p_stat)&&!(e===ae._return&&ii.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===ae.colon||e===ae.braceL)&&this.curContext()===cn.b_stat)?this.context.push(cn.f_expr):this.context.push(cn.f_stat),this.exprAllowed=!1};ae.backQuote.updateContext=function(){this.curContext()===cn.q_tmpl?this.context.pop():this.context.push(cn.q_tmpl),this.exprAllowed=!1};ae.star.updateContext=function(e){if(e===ae._function){var t=this.context.length-1;this.context[t]===cn.f_expr?this.context[t]=cn.f_expr_gen:this.context[t]=cn.f_gen}this.exprAllowed=!0};ae.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==ae.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Sr=vn.prototype;Sr.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var u=t[i];if(u){var o;a==="init"?o=this.strict&&u.init||u.get||u.set:o=u.init||u[a],o&&this.raiseRecoverable(n.start,"Redefinition of property")}else u=t[i]={init:!1,get:!1,set:!1};u[a]=!0}};Sr.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===ae.comma){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(ae.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i};Sr.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,i=-1,a=-1,u=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,u=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Mu,n=!0);var o=this.start,d=this.startLoc;(this.type===ae.parenL||this.type===ae.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var E=this.parseMaybeConditional(e,t);if(r&&(E=r.call(this,E,o,d)),this.type.isAssign){var w=this.startNodeAt(o,d);return w.operator=this.value,this.type===ae.eq&&(E=this.toAssignable(E,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=E.start&&(t.shorthandAssign=-1),this.type===ae.eq?this.checkLValPattern(E):this.checkLValSimple(E),w.left=E,this.next(),w.right=this.parseMaybeAssign(e),u>-1&&(t.doubleProto=u),this.finishNode(w,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),E};Sr.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(ae.question)){var a=this.startNodeAt(r,n);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(ae.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i};Sr.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};Sr.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==ae._in)&&a>n){var u=this.type===ae.logicalOR||this.type===ae.logicalAND,o=this.type===ae.coalesce;o&&(a=ae.logicalAND.binop);var d=this.value;this.next();var E=this.start,w=this.startLoc,M=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),E,w,a,i),re=this.buildBinary(t,r,e,M,d,u||o);return(u&&this.type===ae.coalesce||o&&(this.type===ae.logicalOR||this.type===ae.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(re,t,r,n,i)}return e};Sr.buildBinary=function(e,t,r,n,i,a){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var u=this.startNodeAt(e,t);return u.left=r,u.operator=i,u.right=n,this.finishNode(u,a?"LogicalExpression":"BinaryExpression")};Sr.parseMaybeUnary=function(e,t,r,n){var i=this.start,a=this.startLoc,u;if(this.isContextual("await")&&this.canAwait)u=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),d=this.type===ae.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,d,n),this.checkExpressionErrors(e,!0),d?this.checkLValSimple(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&md(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,u=this.finishNode(o,d?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===ae.privateId)(n||this.privateNameStack.length===0)&&this.unexpected(),u=this.parsePrivateIdent(),this.type!==ae._in&&this.unexpected();else{if(u=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return u;for(;this.type.postfix&&!this.canInsertSemicolon();){var E=this.startNodeAt(i,a);E.operator=this.value,E.prefix=!1,E.argument=u,this.checkLValSimple(u),this.next(),u=this.finishNode(E,"UpdateExpression")}}if(!r&&this.eat(ae.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,a,u,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return u};function md(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&md(e.expression)}Sr.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var a=this.parseSubscripts(i,r,n,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};Sr.parseSubscripts=function(e,t,r,n,i){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,u=!1;;){var o=this.parseSubscript(e,t,r,n,a,u,i);if(o.optional&&(u=!0),o===e||o.type==="ArrowFunctionExpression"){if(u){var d=this.startNodeAt(t,r);d.expression=o,o=this.finishNode(d,"ChainExpression")}return o}e=o}};Sr.parseSubscript=function(e,t,r,n,i,a,u){var o=this.options.ecmaVersion>=11,d=o&&this.eat(ae.questionDot);n&&d&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var E=this.eat(ae.bracketL);if(E||d&&this.type!==ae.parenL&&this.type!==ae.backQuote||this.eat(ae.dot)){var w=this.startNodeAt(t,r);w.object=e,E?(w.property=this.parseExpression(),this.expect(ae.bracketR)):this.type===ae.privateId&&e.type!=="Super"?w.property=this.parsePrivateIdent():w.property=this.parseIdent(this.options.allowReserved!=="never"),w.computed=!!E,o&&(w.optional=d),e=this.finishNode(w,"MemberExpression")}else if(!n&&this.eat(ae.parenL)){var M=new Mu,re=this.yieldPos,ue=this.awaitPos,le=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Se=this.parseExprList(ae.parenR,this.options.ecmaVersion>=8,!1,M);if(i&&!d&&!this.canInsertSemicolon()&&this.eat(ae.arrow))return this.checkPatternErrors(M,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=re,this.awaitPos=ue,this.awaitIdentPos=le,this.parseArrowExpression(this.startNodeAt(t,r),Se,!0,u);this.checkExpressionErrors(M,!0),this.yieldPos=re||this.yieldPos,this.awaitPos=ue||this.awaitPos,this.awaitIdentPos=le||this.awaitIdentPos;var _e=this.startNodeAt(t,r);_e.callee=e,_e.arguments=Se,o&&(_e.optional=d),e=this.finishNode(_e,"CallExpression")}else if(this.type===ae.backQuote){(d||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ye=this.startNodeAt(t,r);ye.tag=e,ye.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(ye,"TaggedTemplateExpression")}return e};Sr.parseExprAtom=function(e,t){this.type===ae.slash&&this.readRegexp();var r,n=this.potentialArrowAt===this.start;switch(this.type){case ae._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===ae.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==ae.dot&&this.type!==ae.bracketL&&this.type!==ae.parenL&&this.unexpected(),this.finishNode(r,"Super");case ae._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case ae.name:var i=this.start,a=this.startLoc,u=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(ae._function))return this.overrideContext(cn.f_expr),this.parseFunction(this.startNodeAt(i,a),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(ae.arrow))return this.parseArrowExpression(this.startNodeAt(i,a),[o],!1,t);if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===ae.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return o=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(ae.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,a),[o],!0,t)}return o;case ae.regexp:var d=this.value;return r=this.parseLiteral(d.value),r.regex={pattern:d.pattern,flags:d.flags},r;case ae.num:case ae.string:return this.parseLiteral(this.value);case ae._null:case ae._true:case ae._false:return r=this.startNode(),r.value=this.type===ae._null?null:this.type===ae._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case ae.parenL:var E=this.start,w=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(w)&&(e.parenthesizedAssign=E),e.parenthesizedBind<0&&(e.parenthesizedBind=E)),w;case ae.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(ae.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case ae.braceL:return this.overrideContext(cn.b_expr),this.parseObj(!1,e);case ae._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case ae._class:return this.parseClass(this.startNode(),!1);case ae._new:return this.parseNew();case ae.backQuote:return this.parseTemplate();case ae._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};Sr.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case ae.parenL:return this.parseDynamicImport(e);case ae.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};Sr.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(ae.parenR)){var t=this.start;this.eat(ae.comma)&&this.eat(ae.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};Sr.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};Sr.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};Sr.parseParenExpression=function(){this.expect(ae.parenL);var e=this.parseExpression();return this.expect(ae.parenR),e};Sr.parseParenAndDistinguishExpression=function(e,t){var r=this.start,n=this.startLoc,i,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var u=this.start,o=this.startLoc,d=[],E=!0,w=!1,M=new Mu,re=this.yieldPos,ue=this.awaitPos,le;for(this.yieldPos=0,this.awaitPos=0;this.type!==ae.parenR;)if(E?E=!1:this.expect(ae.comma),a&&this.afterTrailingComma(ae.parenR,!0)){w=!0;break}else if(this.type===ae.ellipsis){le=this.start,d.push(this.parseParenItem(this.parseRestBinding())),this.type===ae.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else d.push(this.parseMaybeAssign(!1,M,this.parseParenItem));var Se=this.lastTokEnd,_e=this.lastTokEndLoc;if(this.expect(ae.parenR),e&&!this.canInsertSemicolon()&&this.eat(ae.arrow))return this.checkPatternErrors(M,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=re,this.awaitPos=ue,this.parseParenArrowList(r,n,d,t);(!d.length||w)&&this.unexpected(this.lastTokStart),le&&this.unexpected(le),this.checkExpressionErrors(M,!0),this.yieldPos=re||this.yieldPos,this.awaitPos=ue||this.awaitPos,d.length>1?(i=this.startNodeAt(u,o),i.expressions=d,this.finishNodeAt(i,"SequenceExpression",Se,_e)):i=d[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var ye=this.startNodeAt(r,n);return ye.expression=i,this.finishNode(ye,"ParenthesizedExpression")}else return i};Sr.parseParenItem=function(e){return e};Sr.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var kE=[];Sr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(ae.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc,a=this.type===ae._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,i,!0,!1),a&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(ae.parenL)?e.arguments=this.parseExprList(ae.parenR,this.options.ecmaVersion>=8,!1):e.arguments=kE,this.finishNode(e,"NewExpression")};Sr.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===ae.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
195
- `),cooked:this.value},this.next(),r.tail=this.type===ae.backQuote,this.finishNode(r,"TemplateElement")};Sr.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===ae.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(ae.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(ae.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};Sr.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===ae.name||this.type===ae.num||this.type===ae.string||this.type===ae.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===ae.star)&&!ii.test(this.input.slice(this.lastTokEnd,this.start))};Sr.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(ae.braceR);){if(n)n=!1;else if(this.expect(ae.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(ae.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};Sr.parseProperty=function(e,t){var r=this.startNode(),n,i,a,u;if(this.options.ecmaVersion>=9&&this.eat(ae.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===ae.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===ae.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,u=this.startLoc),e||(n=this.eat(ae.star)));var o=this.containsEsc;return this.parsePropertyName(r),!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(i=!0,n=this.options.ecmaVersion>=9&&this.eat(ae.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,n,i,a,u,t,o),this.finishNode(r,"Property")};Sr.parsePropertyValue=function(e,t,r,n,i,a,u,o){if((r||n)&&this.type===ae.colon&&this.unexpected(),this.eat(ae.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===ae.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==ae.comma&&this.type!==ae.braceR&&this.type!==ae.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var d=e.kind==="get"?0:1;if(e.value.params.length!==d){var E=e.value.start;e.kind==="get"?this.raiseRecoverable(E,"getter should have no params"):this.raiseRecoverable(E,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===ae.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};Sr.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(ae.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(ae.bracketR),e.key;e.computed=!1}return e.key=this.type===ae.num||this.type===ae.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Sr.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};Sr.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Rl(t,n.generator)|Vl|(r?cd:0)),this.expect(ae.parenL),n.params=this.parseBindingList(ae.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(n,"FunctionExpression")};Sr.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.enterScope(Rl(r,!1)|od),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(e,"ArrowFunctionExpression")};Sr.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==ae.braceL,a=this.strict,u=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||o)&&(u=this.strictDirective(this.end),u&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var d=this.labels;this.labels=[],u&&(this.strict=!0),this.checkParams(e,!a&&!u&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,fd),e.body=this.parseBlock(!1,void 0,u&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=d}this.exitScope()};Sr.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0};Sr.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,Jl,t?null:r)}};Sr.parseExprList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(ae.comma),t&&this.afterTrailingComma(e))break;var u=void 0;r&&this.type===ae.comma?u=null:this.type===ae.ellipsis?(u=this.parseSpread(n),n&&this.type===ae.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):u=this.parseMaybeAssign(!1,n),i.push(u)}return i};Sr.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};Sr.parseIdent=function(e){var t=this.startNode();return this.type===ae.name?t.name=this.value:this.type.keyword?(t.name=this.type.keyword,(t.name==="class"||t.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};Sr.parsePrivateIdent=function(){var e=this.startNode();return this.type===ae.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e};Sr.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===ae.semi||this.canInsertSemicolon()||this.type!==ae.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(ae.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};Sr.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Cu=vn.prototype;Cu.raise=function(e,t){var r=Ol(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n};Cu.raiseRecoverable=Cu.raise;Cu.curPosition=function(){if(this.options.locations)return new Qs(this.curLine,this.pos-this.lineStart)};var ls=vn.prototype,BE=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};ls.enterScope=function(e){this.scopeStack.push(new BE(e))};ls.exitScope=function(){this.scopeStack.pop()};ls.treatFunctionsAsVarInScope=function(e){return e.flags&sa||!this.inModule&&e.flags&Sa};ls.declareName=function(e,t,r){var n=!1;if(t===Mi){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&Sa&&delete this.undefinedExports[e]}else if(t===hd){var a=this.currentScope();a.lexical.push(e)}else if(t===pd){var u=this.currentScope();this.treatFunctionsAsVar?n=u.lexical.indexOf(e)>-1:n=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var d=this.scopeStack[o];if(d.lexical.indexOf(e)>-1&&!(d.flags&ld&&d.lexical[0]===e)||!this.treatFunctionsAsVarInScope(d)&&d.functions.indexOf(e)>-1){n=!0;break}if(d.var.push(e),this.inModule&&d.flags&Sa&&delete this.undefinedExports[e],d.flags&Ml)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};ls.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};ls.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ls.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Ml)return t}};ls.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Ml&&!(t.flags&od))return t}};var La=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Ia(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Oa=vn.prototype;Oa.startNode=function(){return new La(this,this.start,this.startLoc)};Oa.startNodeAt=function(e,t){return new La(this,e,t)};function gd(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}Oa.finishNode=function(e,t){return gd.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Oa.finishNodeAt=function(e,t,r,n){return gd.call(this,e,t,r,n)};Oa.copyNode=function(e){var t=new La(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var xd="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Dd=xd+" Extended_Pictographic",yd=Dd,vd=yd+" EBase EComp EMod EPres ExtPict",Cd=vd,TE=Cd,_E={9:xd,10:Dd,11:yd,12:vd,13:Cd,14:TE},Gp="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Ed="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ad=Ed+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",bd=Ad+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Fd=bd+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Sd=Fd+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",NE=Sd+" Kawi Nag_Mundari Nagm",IE={9:Ed,10:Ad,11:bd,12:Fd,13:Sd,14:NE},wd={};function PE(e){var t=wd[e]={binary:Cs(_E[e]+" "+Gp),nonBinary:{General_Category:Cs(Gp),Script:Cs(IE[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Li=0,Ss=[9,10,11,12,13,14];Li<Ss.length;Li+=1)wa=Ss[Li],PE(wa);var wa,Li,Ss,ir=vn.prototype,qi=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":""),this.unicodeProperties=wd[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};qi.prototype.reset=function(t,r,n){var i=n.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=n,this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchN=i&&this.parser.options.ecmaVersion>=9};qi.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};qi.prototype.at=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return-1;var a=n.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=i)return a;var u=n.charCodeAt(t+1);return u>=56320&&u<=57343?(a<<10)+u-56613888:a};qi.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return i;var a=n.charCodeAt(t),u;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=i||(u=n.charCodeAt(t+1))<56320||u>57343?t+1:t+2};qi.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};qi.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};qi.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};qi.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};ir.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n<r.length;n++){var i=r.charAt(n);t.indexOf(i)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(i,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}};ir.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};ir.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames.indexOf(n)===-1&&e.raise("Invalid named capture referenced")}};ir.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};ir.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};ir.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};ir.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};ir.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};ir.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};ir.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};ir.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};ir.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};ir.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};ir.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};ir.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};ir.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};ir.regexp_eatSyntaxCharacter=function(e){var t=e.current();return kd(t)?(e.lastIntValue=t,e.advance(),!0):!1};function kd(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}ir.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!kd(r);)e.advance();return e.pos!==t};ir.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};ir.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};ir.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};ir.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=is(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=is(e.lastIntValue);return!0}return!1};ir.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),LE(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function LE(e){return Bi(e,!0)||e===36||e===95}ir.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),OE(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function OE(e){return ws(e,!0)||e===36||e===95||e===8204||e===8205}ir.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};ir.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};ir.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};ir.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};ir.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};ir.regexp_eatZero=function(e){return e.current()===48&&!Ru(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};ir.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};ir.regexp_eatControlLetter=function(e){var t=e.current();return Bd(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Bd(e){return e>=65&&e<=90||e>=97&&e<=122}ir.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(i-55296)*1024+(u-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&jE(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function jE(e){return e>=0&&e<=1114111}ir.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};ir.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};ir.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(VE(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function VE(e){return e===100||e===68||e===115||e===83||e===119||e===87}ir.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1};ir.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Na(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};ir.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};ir.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Td(t=e.current());)e.lastStringValue+=is(t),e.advance();return e.lastStringValue!==""};function Td(e){return Bd(e)||e===95}ir.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ME(t=e.current());)e.lastStringValue+=is(t),e.advance();return e.lastStringValue!==""};function ME(e){return Td(e)||Ru(e)}ir.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};ir.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};ir.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};ir.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Id(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};ir.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};ir.regexp_eatClassControlLetter=function(e){var t=e.current();return Ru(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};ir.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};ir.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ru(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Ru(e){return e>=48&&e<=57}ir.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;_d(r=e.current());)e.lastIntValue=16*e.lastIntValue+Nd(r),e.advance();return e.pos!==t};function _d(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Nd(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}ir.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};ir.regexp_eatOctalDigit=function(e){var t=e.current();return Id(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Id(e){return e>=48&&e<=55}ir.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!_d(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Nd(i),e.advance()}return!0};var Ju=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Ia(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},_r=vn.prototype;_r.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ju(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};_r.getToken=function(){return this.next(),new Ju(this)};typeof Symbol<"u"&&(_r[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===ae.eof,value:t}}}});_r.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(ae.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};_r.readToken=function(e){return Bi(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};_r.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};_r.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=sd(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};_r.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ts(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};_r.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Ll.test(String.fromCharCode(e)))++this.pos;else break e}}};_r.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};_r.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(ae.ellipsis)):(++this.pos,this.finishToken(ae.dot))};_r.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(ae.assign,2):this.finishOp(ae.slash,1)};_r.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?ae.star:ae.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=ae.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(ae.assign,r+1):this.finishOp(n,r)};_r.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(ae.assign,3)}return this.finishOp(e===124?ae.logicalOR:ae.logicalAND,2)}return t===61?this.finishOp(ae.assign,2):this.finishOp(e===124?ae.bitwiseOR:ae.bitwiseAND,1)};_r.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(ae.assign,2):this.finishOp(ae.bitwiseXOR,1)};_r.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||ii.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(ae.incDec,2):t===61?this.finishOp(ae.assign,2):this.finishOp(ae.plusMin,1)};_r.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(ae.assign,r+1):this.finishOp(ae.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(ae.relational,r))};_r.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(ae.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(ae.arrow)):this.finishOp(e===61?ae.eq:ae.prefix,1)};_r.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(ae.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(ae.assign,3)}return this.finishOp(ae.coalesce,2)}}return this.finishOp(ae.question,1)};_r.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Bi(t,!0)||t===92))return this.finishToken(ae.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+is(t)+"'")};_r.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(ae.parenL);case 41:return++this.pos,this.finishToken(ae.parenR);case 59:return++this.pos,this.finishToken(ae.semi);case 44:return++this.pos,this.finishToken(ae.comma);case 91:return++this.pos,this.finishToken(ae.bracketL);case 93:return++this.pos,this.finishToken(ae.bracketR);case 123:return++this.pos,this.finishToken(ae.braceL);case 125:return++this.pos,this.finishToken(ae.braceR);case 58:return++this.pos,this.finishToken(ae.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(ae.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(ae.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+is(e)+"'")};_r.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};_r.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(ii.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new qi(this));o.reset(r,i,u),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var d=null;try{d=new RegExp(i,u)}catch{}return this.finishToken(ae.regexp,{pattern:i,flags:u,value:d})};_r.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,u=0,o=0,d=0,E=t??1/0;d<E;++d,++this.pos){var w=this.input.charCodeAt(this.pos),M=void 0;if(n&&w===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),o===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),d===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=w;continue}if(w>=97?M=w-97+10:w>=65?M=w-65+10:w>=48&&w<=57?M=w-48:M=1/0,M>=e)break;o=w,u=u*e+M}return n&&o===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:u};function RE(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Pd(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}_r.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Pd(this.input.slice(t,this.pos)),++this.pos):Bi(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ae.num,r)};_r.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=Pd(this.input.slice(t,this.pos));return++this.pos,Bi(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ae.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Bi(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=RE(this.input.slice(t,this.pos),r);return this.finishToken(ae.num,a)};_r.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};_r.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ts(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(ae.string,t)};var Ld={};_r.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ld)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};_r.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ld;this.raise(e,t)};_r.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===ae.template||this.type===ae.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(ae.dollarBraceL)):(++this.pos,this.finishToken(ae.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(ae.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ts(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
196
- `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};_r.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(ae.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};_r.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
197
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return is(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return Ts(t)?"":String.fromCharCode(t)}};_r.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};_r.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(ws(i,n))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var u=this.readCodePoint();(t?Bi:ws)(u,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=is(u),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};_r.readWord=function(){var e=this.readWord1(),t=ae.name;return this.keywords.test(e)&&(t=Vu[e]),this.finishToken(t,e)};var Od="8.8.2";vn.acorn={Parser:vn,version:Od,defaultOptions:Du,Position:Qs,SourceLocation:Ia,getLineInfo:Ol,Node:La,TokenType:Or,tokTypes:ae,keywordTypes:Vu,TokContext:hi,tokContexts:cn,isIdentifierChar:ws,isIdentifierStart:Bi,Token:Ju,isNewLine:Ts,lineBreak:ii,lineBreakG:id,nonASCIIwhitespace:Ll};function JE(e,t){return vn.parse(e,t)}function UE(e,t,r){return vn.parseExpressionAt(e,t,r)}function zE(e,t){return vn.tokenizer(e,t)}var qE=(e,t)=>{const r=Tf(t);return KC(e,{extensions:[hE({acorn:td,patterns:r,addResult:!0,skipHTML:!1})],mdastExtensions:[Kv({patterns:r})]})};function $E(e){return pu(e,function(t,r,n){if(n&&r&&(t.type==="text"||t.type==="blockquote")){const i=n.children[r-1];if(i.type===t.type)return"value"in t&&(i.value+=t.value),"children"in t&&(i.children=i.children.concat(t.children)),n.children.splice(r,1),i.position&&t.position&&(i.position.end=t.position.end),r}}),e}var HE=typeof global=="object"&&global&&global.Object===Object&&global,WE=HE,GE=typeof self=="object"&&self&&self.Object===Object&&self,XE=WE||GE||Function("return this")(),QE=XE,KE=QE.Symbol,Ks=KE,jd=Object.prototype,YE=jd.hasOwnProperty,ZE=jd.toString,ga=Ks?Ks.toStringTag:void 0;function eA(e){var t=YE.call(e,ga),r=e[ga];try{e[ga]=void 0;var n=!0}catch{}var i=ZE.call(e);return n&&(t?e[ga]=r:delete e[ga]),i}var tA=eA,rA=Object.prototype,nA=rA.toString;function iA(e){return nA.call(e)}var sA=iA,aA="[object Null]",uA="[object Undefined]",Xp=Ks?Ks.toStringTag:void 0;function oA(e){return e==null?e===void 0?uA:aA:Xp&&Xp in Object(e)?tA(e):sA(e)}var lA=oA;function cA(e){return e!=null&&typeof e=="object"}var Vd=cA,pA=Array.isArray,hA=pA,fA="[object Arguments]";function dA(e){return Vd(e)&&lA(e)==fA}var Qp=dA,Md=Object.prototype,mA=Md.hasOwnProperty,gA=Md.propertyIsEnumerable,xA=Qp(function(){return arguments}())?Qp:function(e){return Vd(e)&&mA.call(e,"callee")&&!gA.call(e,"callee")},DA=xA;function yA(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var vA=yA,Kp=Ks?Ks.isConcatSpreadable:void 0;function CA(e){return hA(e)||DA(e)||!!(Kp&&e&&e[Kp])}var EA=CA;function Rd(e,t,r,n,i){var a=-1,u=e.length;for(r||(r=EA),i||(i=[]);++a<u;){var o=e[a];t>0&&r(o)?t>1?Rd(o,t-1,r,n,i):vA(i,o):n||(i[i.length]=o)}return i}var AA=Rd;function bA(e){var t=e==null?0:e.length;return t?AA(e,1):[]}var Ii=bA,FA=(e,t,r)=>{const n={};return e==null||e.forEach(i=>{Pn(i,"mdxJsxAttribute");const a=t.find(u=>u.name===i.name);if(!a)throw new Error(`Unable to find field definition for property "${i.name}"`);try{n[i.name]=SA(i,a,r)}catch(u){throw u instanceof Error?new Error(`Unable to parse field value for field "${a.name}" (type: ${a.type}). ${u.message}`):u}}),n},SA=(e,t,r)=>{switch(t.type){case"boolean":case"number":return xa(Js(e),t);case"datetime":case"string":return t.list?xa(Js(e),t):Vo(e,t);case"image":if(t.list)return xa(Js(e),t).split(",").map(a=>r(a));{const i=Vo(e,t);return r(i)}case"reference":return t.list?xa(Js(e),t):Vo(e,t);case"object":return wA(Js(e),t);case"rich-text":const n=_A(e);return n?Ud(n,t,r):{};default:throw new Error(`Extract attribute: Unhandled field type ${t.type}`)}},xa=(e,t)=>t.list?(Pn(e.expression,"ArrayExpression"),e.expression.elements.map(r=>(ja(r),Pn(r,"Literal"),r.value))):(Pn(e.expression,"Literal"),e.expression.value),wA=(e,t)=>t.list?(Pn(e.expression,"ArrayExpression"),e.expression.elements.map(r=>(ja(r),Pn(r,"ObjectExpression"),Eu(r,t)))):(Pn(e.expression,"ObjectExpression"),Eu(e.expression,t)),Eu=(e,t)=>{var n;const r={};return(n=e.properties)==null||n.forEach(i=>{Pn(i,"Property");const{key:a,value:u}=BA(i,t);r[a]=u}),r},kA=(e,t)=>{if(e.fields){if(typeof e.fields=="string")throw new Error("Global templates not supported");return e.fields.find(r=>r.name===t)}},BA=(e,t)=>{Pn(e.key,"Identifier");const r=e.key.name,n=kA(t,r);if((n==null?void 0:n.type)==="object")if(n.list){Pn(e.value,"ArrayExpression");const i=e.value.elements.map(a=>(ja(a),Pn(a,"ObjectExpression"),Eu(a,n)));return{key:r,value:i}}else{Pn(e.value,"ObjectExpression");const i=Eu(e.value,n);return{key:r,value:i}}else return Pn(e.value,"Literal"),{key:r,value:e.value.value}},TA=e=>{var r,n;const t=(n=(r=e.data)==null?void 0:r.estree)==null?void 0:n.body;if(t&&t[0])return Pn(t[0],"ExpressionStatement"),t[0];throw new Error("Unable to extract body from expression")},Vo=(e,t)=>e.type==="mdxJsxAttribute"&&typeof e.value=="string"?e.value:xa(Js(e),t),Js=e=>(Pn(e,"mdxJsxAttribute"),ja(e.value),Pn(e.value,"mdxJsxAttributeValueExpression"),TA(e.value)),_A=e=>{Pn(e,"mdxJsxAttribute"),ja(e.value),Pn(e.value,"mdxJsxAttributeValueExpression");const t=e.value.value;return NA(t)};function Pn(e,t){if(e.type!==t)throw new Error(`Expected type to be ${t} but received ${e.type}. ${Jd}`)}function ja(e){if(!(e&&typeof e!="string"))throw new Error('Expect value to be an object with property "type"')}var NA=e=>{const t=e.split(`
198
- `);let r=null,n=null;return t.forEach((a,u)=>{a.trim()==="<>"&&(r||(r=u+1))}),t.reverse().forEach((a,u)=>{if(a.trim()==="</>"){const o=t.length-1;n||(n=o-u)}}),t.reverse().slice(r||0,n||t.length-1).join(`
199
- `)},Yp=/\r?\n|\r/g;function IA(e,t){const r=String(t),n=Af(t),i=e&&typeof e=="object"?"type"in e?e.position:e:void 0;if(!i||!i.start||!i.end)return null;const a=n.toOffset(i.end);let u=n.toOffset(i.start);if(a===-1||u===-1)return null;const o=[];for(;u<a;){Yp.lastIndex=u;const d=Yp.exec(r),E=d&&d.index<a?d.index:a;o.push(r.slice(u,E)),u=E,d&&d.index<a&&(u+=d[0].length,o.push(d[0]))}return o.join("")}function PA(e,t,r){var n;try{const i=(n=t.templates)==null?void 0:n.find(o=>(typeof o=="string"?o:o.name)===e.name);if(typeof i=="string")throw new Error("Global templates not yet supported");if(!i){const o=Pf({type:"root",children:[e]},t);return{type:e.type==="mdxJsxFlowElement"?"html":"html_inline",value:o.trim(),children:[{type:"text",text:""}]}}const a=FA(e.attributes,i.fields,r),u=i.fields.find(o=>o.name==="children");return u&&u.type==="rich-text"&&(e.type==="mdxJsxTextElement"&&(e.children=[{type:"paragraph",children:e.children}]),a.children=Uu(e,u,r)),{type:e.type,name:e.name,children:[{type:"text",text:""}],props:a}}catch(i){throw i instanceof Error?new yi(i.message,e.position):i}}var Mo=(e,t,r,n)=>{var o,d;let i;if(i=(o=t.templates)==null?void 0:o.find(E=>(typeof E=="string"?E:E.name)===e.name),typeof i=="string")throw new Error("Global templates not yet supported");if(i||(i=(d=t.templates)==null?void 0:d.find(E=>{var M;return((M=E==null?void 0:E.match)==null?void 0:M.name)===e.name})),!i)return{type:"p",children:[{type:"text",text:IA(e,n||"")||""}]};if(typeof i=="string")throw new Error("Global templates not supported");const a=e.attributes||{},u=i.fields.find(E=>E.name==="children");return u&&u.type==="rich-text"&&e.type==="containerDirective"&&(a.children=Uu(e,u,r,n)),{type:"mdxJsxFlowElement",name:i.name,props:a,children:[{type:"text",text:""}]}},Uu=(e,t,r,n,i)=>{const a=i?Y=>Y:PA,u=Y=>{switch(Y.type){case"blockquote":const me=[];return Y.children.map(be=>{M(be).forEach(Ie=>{me.push(Ie)})}),{type:"blockquote",children:me};case"heading":return le(Y);case"code":return re(Y);case"paragraph":return f(Y);case"mdxJsxFlowElement":return a(Y,t,r);case"thematicBreak":return{type:"hr",children:[{type:"text",text:""}]};case"listItem":return{type:"li",children:[{type:"lic",children:Ii(Y.children.map(be=>M(be)))}]};case"list":return E(Y);case"html":return o(Y);case"mdxFlowExpression":case"mdxjsEsm":throw new yi(`Unexpected expression ${Y.value}.`,Y.position);case"leafDirective":return Mo(Y,t,r,n);case"containerDirective":return Mo(Y,t,r,n);default:throw new yi(`Content: ${Y.type} is not yet supported`,Y.position)}},o=Y=>({type:"html",value:Y.value,children:[{type:"text",text:""}]}),d=Y=>({type:"html_inline",value:Y.value,children:[{type:"text",text:""}]}),E=Y=>({type:Y.ordered?"ol":"ul",children:Y.children.map(me=>w(me))}),w=Y=>({type:"li",children:Y.children.map(me=>{switch(me.type){case"list":return E(me);case"heading":case"paragraph":return{type:"lic",children:Ii(me.children.map(pt=>_e(pt)))};case"blockquote":return{...Me(me),type:"lic"};case"mdxJsxFlowElement":return{type:"lic",children:[a({...me,type:"mdxJsxTextElement"},t,r)]};case"html":return{type:"lic",children:d(me)};case"leafDirective":return{type:"lic",children:[Mo(me,t,r)]};case"code":case"thematicBreak":case"table":throw new yi(`${me.type} inside list item is not supported`,me.position);default:let be;throw me.type!=="containerDirective"&&(be=me.position),new yi(`Unknown list item of type ${me.type}`,be)}})}),M=Y=>{const me=be=>{const pt=be.map(Ie=>_e(Ie));return Ii(Array.isArray(pt)?pt:[pt])};switch(Y.type){case"heading":case"paragraph":return me(Y.children);case"html":return[d(Y)];case"blockquote":default:throw new yi(`UnwrapBlock: Unknown block content of type ${Y.type}`,Y.position)}},re=Y=>{const me={};return Y.lang&&(me.lang=Y.lang),{type:"code_block",...me,value:Y.value,children:[{type:"text",text:""}]}},ue=Y=>({type:"a",url:Y.url,title:Y.title,children:Ii(Y.children.map(me=>Se(me)))}),le=Y=>({type:["h1","h2","h3","h4","h5","h6"][Y.depth-1],children:Ii(Y.children.map(_e))}),Se=Y=>{switch(Y.type){case"mdxJsxTextElement":return a(Y,t,r);case"text":return gt(Y);case"inlineCode":case"emphasis":case"image":case"strong":return tt(Y);case"html":return d(Y);default:throw new Error(`StaticPhrasingContent: ${Y.type} is not yet supported`)}},_e=Y=>{switch(Y.type){case"text":return gt(Y);case"link":return ue(Y);case"image":return Ve(Y);case"mdxJsxTextElement":return a(Y,t,r);case"emphasis":return tt(Y);case"strong":return tt(Y);case"break":return ye();case"inlineCode":return tt(Y);case"html":return d(Y);case"mdxTextExpression":throw new yi(`Unexpected expression ${Y.value}.`,Y.position);default:throw new Error(`PhrasingContent: ${Y.type} is not yet supported`)}},ye=()=>({type:"break",children:[{type:"text",text:""}]}),tt=(Y,me=[])=>{const be=[];switch(Y.type){case"emphasis":{Ii(Y.children.map(qe=>tt(qe,[...me,"italic"]))).forEach(qe=>{be.push(qe)});break}case"inlineCode":{const Ie={};me.forEach(qe=>Ie[qe]=!0),be.push({type:"text",text:Y.value,code:!0,...Ie});break}case"strong":{Ii(Y.children.map(qe=>tt(qe,[...me,"bold"]))).forEach(qe=>{be.push(qe)});break}case"image":{be.push(Ve(Y));break}case"link":{const Ie=Ii(Y.children.map(qe=>tt(qe,me)));be.push({type:"a",url:Y.url,title:Y.title,children:Ie});break}case"text":const pt={};me.forEach(Ie=>pt[Ie]=!0),be.push({type:"text",text:Y.value,...pt});break;case"break":be.push(ye());break;default:throw new yi(`Unexpected inline element of type ${Y.type}`,Y==null?void 0:Y.position)}return be},Ve=Y=>({type:"img",url:r(Y.url),alt:Y.alt||void 0,caption:Y.title,children:[{type:"text",text:""}]}),gt=Y=>({type:"text",text:Y.value}),Me=Y=>{const me=[];return Y.children.map(be=>{M(be).forEach(Ie=>{me.push(Ie)})}),{type:"blockquote",children:me}},f=Y=>{const me=Ii(Y.children.map(_e));return me.length===1&&me[0]&&me[0].type==="html_inline"?{...me[0],type:"html"}:{type:"p",children:me}};return{type:"root",children:e.children.map(Y=>u(Y))}},yi=class extends Error{constructor(e,t){super(e),A1(this,"position"),Error.captureStackTrace&&Error.captureStackTrace(this,yi),this.name="RichTextParseError",this.position=t}},ll=(e,t,r)=>{const n=i=>{const a={};if(i.attributes.forEach(u=>{if(u.type==="mdxJsxAttribute")a[u.name]=u.value;else throw new Error("HANDLE mdxJsxExpressionAttribute")}),i.children.length){let u;i.type==="mdxJsxTextElement"?u=ll({type:"root",children:[{type:"paragraph",children:i.children}]},t,r):u=ll({type:"root",children:i.children},t,r),a.children=u}i.props=a,delete i.attributes,i.children=[{type:"text",text:""}]};return pu(e,"mdxJsxFlowElement",n),pu(e,"mdxJsxTextElement",n),Uu(e,t,r,"",!0)},LA=(e,t,r)=>{const i=r||(u=>u),a=qE(e,t);return OA(a,t,i)},OA=(e,t,r)=>ll($E(e),t,r);function jA(e,t){const r=t.match,n=!!t.fields.find(d=>d.name==="_value"),i=!!t.fields.find(d=>d.name=="children"),a=`<${t.name} ${n?'_value="$1"':"$1"}>${i?"$2":`
200
- `}</${t.name}>`,u=`((?:.|\\n)*)${r.start}\\s/\\s*${r.name||t.name}[\\s]*${r.end}`,o=`${r.start}\\s*${r.name||t.name}[\\s]+${n?`['"]?(.*?)['"]?`:"(.*?)"}[\\s]*${r.end}${i?u:""}`;return zd(e,o,a)}var VA=e=>Ny().use(Qv).parse(e),Jd="TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/editing/mdx/#differences-from-other-mdx-implementations",Ud=(e,t,r)=>{var i,a;if(!e)return{type:"root",children:[]};let n;try{if(((i=t.parser)==null?void 0:i.type)==="markdown")return LA(e,t,r);let u=e;const o=(a=t.templates)==null?void 0:a.filter(d=>d.match);return o==null||o.forEach(d=>{if(typeof d=="string")throw new Error("Global templates are not supported");d.match&&u&&(u=jA(u,d))}),n=VA(u),n?Uu(n,t,r,e):{type:"root",children:[]}}catch(u){return u instanceof yi?Zp(u,e):Zp(new yi(u.message),e)}},Zp=(e,t)=>{const r={};return e.position&&Object.keys(e.position).length&&(r.position=e.position),{type:"root",children:[{type:"invalid_markdown",value:t,message:e.message||`Error parsing markdown ${Jd}`,children:[{type:"text",text:""}],...r}]}},zd=(e,t,r)=>{const n=new RegExp(t,"g");return e.valueOf().replace(n,r)};/*!
201
- * Determine if an object is a Buffer
202
- *
203
- * @author Feross Aboukhadijeh <https://feross.org>
204
- * @license MIT
205
- *//**
206
- * @license
207
- * Lodash (Custom Build) <https://lodash.com/>
208
- * Build: `lodash modularize exports="es" -o ./`
209
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
210
- * Released under MIT license <https://lodash.com/license>
211
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
212
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
213
- */function MA(e,t){const[r,n]=It.useState(e);return It.useEffect(()=>{const i=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(i)}},[e,t]),r}function RA(e,t){return It.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),It.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))}const JA=It.forwardRef(RA),eh=JA;let ks=typeof window<"u"?It.useLayoutEffect:It.useEffect;function rs(e){let t=It.useRef(e);return ks(()=>{t.current=e},[e]),t}function zu(){let e=[],t=[],r={enqueue(n){t.push(n)},addEventListener(n,i,a,u){return n.addEventListener(i,a,u),r.add(()=>n.removeEventListener(i,a,u))},requestAnimationFrame(...n){let i=requestAnimationFrame(...n);return r.add(()=>cancelAnimationFrame(i))},nextFrame(...n){return r.requestAnimationFrame(()=>r.requestAnimationFrame(...n))},setTimeout(...n){let i=setTimeout(...n);return r.add(()=>clearTimeout(i))},add(n){return e.push(n),()=>{let i=e.indexOf(n);if(i>=0){let[a]=e.splice(i,1);a()}}},dispose(){for(let n of e.splice(0))n()},async workQueue(){for(let n of t.splice(0))await n()}};return r}function UA(){let[e]=It.useState(zu);return It.useEffect(()=>()=>e.dispose(),[e]),e}let wn=function(e){let t=rs(e);return Ur.useCallback((...r)=>t.current(...r),[t])},Ro={serverHandoffComplete:!1};function zl(){let[e,t]=It.useState(Ro.serverHandoffComplete);return It.useEffect(()=>{e!==!0&&t(!0)},[e]),It.useEffect(()=>{Ro.serverHandoffComplete===!1&&(Ro.serverHandoffComplete=!0)},[]),e}var th;let zA=0;function rh(){return++zA}let Bs=(th=Ur.useId)!=null?th:function(){let e=zl(),[t,r]=Ur.useState(e?rh:null);return ks(()=>{t===null&&r(rh())},[t]),t!=null?""+t:void 0};function Bn(e,t,...r){if(e in t){let i=t[e];return typeof i=="function"?i(...r):i}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Bn),n}function ql(e){return typeof window>"u"?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let cl=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Es=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Es||{}),qA=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(qA||{}),$A=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))($A||{});function qd(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(cl))}var $l=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))($l||{});function $d(e,t=0){var r;return e===((r=ql(e))==null?void 0:r.body)?!1:Bn(t,{[0](){return e.matches(cl)},[1](){let n=e;for(;n!==null;){if(n.matches(cl))return!0;n=n.parentElement}return!1}})}let HA=["textarea","input"].join(",");function WA(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,HA))!=null?r:!1}function GA(e,t=r=>r){return e.slice().sort((r,n)=>{let i=t(r),a=t(n);if(i===null||a===null)return 0;let u=i.compareDocumentPosition(a);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Us(e,t,r=!0){let n=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?r?GA(e):e:qd(e),a=n.activeElement,u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),o=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(a))-1;if(t&4)return Math.max(0,i.indexOf(a))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},E=0,w=i.length,M;do{if(E>=w||E+w<=0)return 0;let re=o+E;if(t&16)re=(re+w)%w;else{if(re<0)return 3;if(re>=w)return 1}M=i[re],M==null||M.focus(d),E+=u}while(M!==n.activeElement);return t&6&&WA(M)&&M.select(),M.hasAttribute("tabindex")||M.setAttribute("tabindex","0"),2}function pl(e,t,r){let n=rs(t);It.useEffect(()=>{function i(a){n.current(a)}return window.addEventListener(e,i,r),()=>window.removeEventListener(e,i,r)},[e,r])}function XA(e,t,r=!0){let n=It.useRef(!1);It.useEffect(()=>{requestAnimationFrame(()=>{n.current=r})},[r]);function i(a,u){if(!n.current||a.defaultPrevented)return;let o=function E(w){return typeof w=="function"?E(w()):Array.isArray(w)||w instanceof Set?w:[w]}(e),d=u(a);if(d!==null&&d.ownerDocument.documentElement.contains(d)){for(let E of o){if(E===null)continue;let w=E instanceof HTMLElement?E:E.current;if(w!=null&&w.contains(d))return}return!$d(d,$l.Loose)&&d.tabIndex!==-1&&a.preventDefault(),t(a,d)}}pl("click",a=>i(a,u=>u.target),!0),pl("blur",a=>i(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function nh(e){var t;if(e.type)return e.type;let r=(t=e.as)!=null?t:"button";if(typeof r=="string"&&r.toLowerCase()==="button")return"button"}function QA(e,t){let[r,n]=It.useState(()=>nh(e));return ks(()=>{n(nh(e))},[e.type,e.as]),ks(()=>{r||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&n("button")},[r,t]),r}let Hd=Symbol();function KA(e,t=!0){return Object.assign(e,{[Hd]:t})}function ss(...e){let t=It.useRef(e);It.useEffect(()=>{t.current=e},[e]);let r=wn(n=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(n):i.current=n)});return e.every(n=>n==null||(n==null?void 0:n[Hd]))?void 0:r}var Ys=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ys||{}),Oi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Oi||{});function cs({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:a=!0,name:u}){let o=Wd(t,e);if(a)return tu(o,r,n,u);let d=i??0;if(d&2){let{static:E=!1,...w}=o;if(E)return tu(w,r,n,u)}if(d&1){let{unmount:E=!0,...w}=o;return Bn(E?0:1,{[0](){return null},[1](){return tu({...w,hidden:!0,style:{display:"none"}},r,n,u)}})}return tu(o,r,n,u)}function tu(e,t={},r,n){let{as:i=r,children:a,refName:u="ref",...o}=Jo(e,["unmount","static"]),d=e.ref!==void 0?{[u]:e.ref}:{},E=typeof a=="function"?a(t):a;o.className&&typeof o.className=="function"&&(o.className=o.className(t));let w={};if(i===It.Fragment&&Object.keys(ih(o)).length>0){if(!It.isValidElement(E)||Array.isArray(E)&&E.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(o).map(M=>` - ${M}`).join(`
214
- `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(M=>` - ${M}`).join(`
215
- `)].join(`
216
- `));return It.cloneElement(E,Object.assign({},Wd(E.props,ih(Jo(o,["ref"]))),w,d))}return It.createElement(i,Object.assign({},Jo(o,["ref"]),i!==It.Fragment&&d,i!==It.Fragment&&w),E)}function Wd(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](i,...a){let u=r[n];for(let o of u){if(i.defaultPrevented)return;o(i,...a)}}});return t}function $i(e){var t;return Object.assign(It.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function ih(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function Jo(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function Gd(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(t==null?void 0:t.getAttribute("disabled"))==="";return n&&YA(r)?!1:n}function YA(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let ZA="div";var Au=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Au||{});let hl=$i(function(e,t){let{features:r=1,...n}=e,i={ref:t,"aria-hidden":(r&2)===2?!0:void 0,style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return cs({ourProps:i,theirProps:n,slot:{},defaultTag:ZA,name:"Hidden"})}),Hl=It.createContext(null);Hl.displayName="OpenClosedContext";var Ui=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ui||{});function qu(){return It.useContext(Hl)}function Xd({value:e,children:t}){return Ur.createElement(Hl.Provider,{value:e},t)}var ts=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ts||{}),As=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(As||{});function Qd(){let e=It.useRef(0);return pl("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Kd(){let e=It.useRef(!1);return ks(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Wl(...e){return It.useMemo(()=>ql(...e),[...e])}function eb(e,t,r,n){let i=rs(r);It.useEffect(()=>{e=e??window;function a(u){i.current(u)}return e.addEventListener(t,a,n),()=>e.removeEventListener(t,a,n)},[e,t,n])}function tb(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}var rb=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rb||{}),nb=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(nb||{});let ib={[0]:e=>({...e,popoverState:Bn(e.popoverState,{[0]:1,[1]:0})}),[1](e){return e.popoverState===1?e:{...e,popoverState:1}},[2](e,t){return e.button===t.button?e:{...e,button:t.button}},[3](e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},[4](e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},[5](e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},Gl=It.createContext(null);Gl.displayName="PopoverContext";function $u(e){let t=It.useContext(Gl);if(t===null){let r=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,$u),r}return t}let Xl=It.createContext(null);Xl.displayName="PopoverAPIContext";function Ql(e){let t=It.useContext(Xl);if(t===null){let r=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ql),r}return t}let Kl=It.createContext(null);Kl.displayName="PopoverGroupContext";function Yd(){return It.useContext(Kl)}let Yl=It.createContext(null);Yl.displayName="PopoverPanelContext";function sb(){return It.useContext(Yl)}function ab(e,t){return Bn(t.type,ib,e,t)}let ub="div",ob=$i(function(e,t){var r;let n=`headlessui-popover-button-${Bs()}`,i=`headlessui-popover-panel-${Bs()}`,a=It.useRef(null),u=ss(t,KA(be=>{a.current=be})),o=It.useReducer(ab,{popoverState:1,button:null,buttonId:n,panel:null,panelId:i,beforePanelSentinel:It.createRef(),afterPanelSentinel:It.createRef()}),[{popoverState:d,button:E,panel:w,beforePanelSentinel:M,afterPanelSentinel:re},ue]=o,le=Wl((r=a.current)!=null?r:E);It.useEffect(()=>ue({type:3,buttonId:n}),[n,ue]),It.useEffect(()=>ue({type:5,panelId:i}),[i,ue]);let Se=It.useMemo(()=>{if(!E||!w)return!1;for(let be of document.querySelectorAll("body > *"))if(Number(be==null?void 0:be.contains(E))^Number(be==null?void 0:be.contains(w)))return!0;return!1},[E,w]),_e=It.useMemo(()=>({buttonId:n,panelId:i,close:()=>ue({type:1})}),[n,i,ue]),ye=Yd(),tt=ye==null?void 0:ye.registerPopover,Ve=wn(()=>{var be;return(be=ye==null?void 0:ye.isFocusWithinPopoverGroup())!=null?be:(le==null?void 0:le.activeElement)&&((E==null?void 0:E.contains(le.activeElement))||(w==null?void 0:w.contains(le.activeElement)))});It.useEffect(()=>tt==null?void 0:tt(_e),[tt,_e]),eb(le==null?void 0:le.defaultView,"focus",be=>{var pt,Ie,qe,St;d===0&&(Ve()||!E||!w||(Ie=(pt=M.current)==null?void 0:pt.contains)!=null&&Ie.call(pt,be.target)||(St=(qe=re.current)==null?void 0:qe.contains)!=null&&St.call(qe,be.target)||ue({type:1}))},!0),XA([E,w],(be,pt)=>{ue({type:1}),$d(pt,$l.Loose)||(be.preventDefault(),E==null||E.focus())},d===0);let gt=wn(be=>{ue({type:1});let pt=(()=>be?be instanceof HTMLElement?be:be.current instanceof HTMLElement?be.current:E:E)();pt==null||pt.focus()}),Me=It.useMemo(()=>({close:gt,isPortalled:Se}),[gt,Se]),f=It.useMemo(()=>({open:d===0,close:gt}),[d,gt]),Y=e,me={ref:u};return Ur.createElement(Gl.Provider,{value:o},Ur.createElement(Xl.Provider,{value:Me},Ur.createElement(Xd,{value:Bn(d,{[0]:Ui.Open,[1]:Ui.Closed})},cs({ourProps:me,theirProps:Y,slot:f,defaultTag:ub,name:"Popover"}))))}),lb="button",cb=$i(function(e,t){let[r,n]=$u("Popover.Button"),{isPortalled:i}=Ql("Popover.Button"),a=It.useRef(null),u=`headlessui-focus-sentinel-${Bs()}`,o=Yd(),d=o==null?void 0:o.closeOthers,E=sb(),w=E===null?!1:E===r.panelId,M=ss(a,t,w?null:be=>n({type:2,button:be})),re=ss(a,t),ue=Wl(a),le=wn(be=>{var pt,Ie,qe;if(w){if(r.popoverState===1)return;switch(be.key){case ts.Space:case ts.Enter:be.preventDefault(),(Ie=(pt=be.target).click)==null||Ie.call(pt),n({type:1}),(qe=r.button)==null||qe.focus();break}}else switch(be.key){case ts.Space:case ts.Enter:be.preventDefault(),be.stopPropagation(),r.popoverState===1&&(d==null||d(r.buttonId)),n({type:0});break;case ts.Escape:if(r.popoverState!==0)return d==null?void 0:d(r.buttonId);if(!a.current||ue!=null&&ue.activeElement&&!a.current.contains(ue.activeElement))return;be.preventDefault(),be.stopPropagation(),n({type:1});break}}),Se=wn(be=>{w||be.key===ts.Space&&be.preventDefault()}),_e=wn(be=>{var pt,Ie;Gd(be.currentTarget)||e.disabled||(w?(n({type:1}),(pt=r.button)==null||pt.focus()):(be.preventDefault(),be.stopPropagation(),r.popoverState===1&&(d==null||d(r.buttonId)),n({type:0}),(Ie=r.button)==null||Ie.focus()))}),ye=wn(be=>{be.preventDefault(),be.stopPropagation()}),tt=r.popoverState===0,Ve=It.useMemo(()=>({open:tt}),[tt]),gt=QA(e,a),Me=e,f=w?{ref:re,type:gt,onKeyDown:le,onClick:_e}:{ref:M,id:r.buttonId,type:gt,"aria-expanded":e.disabled?void 0:r.popoverState===0,"aria-controls":r.panel?r.panelId:void 0,onKeyDown:le,onKeyUp:Se,onClick:_e,onMouseDown:ye},Y=Qd(),me=wn(()=>{let be=r.panel;if(!be)return;function pt(){Bn(Y.current,{[As.Forwards]:()=>Us(be,Es.First),[As.Backwards]:()=>Us(be,Es.Last)})}pt()});return Ur.createElement(Ur.Fragment,null,cs({ourProps:f,theirProps:Me,slot:Ve,defaultTag:lb,name:"Popover.Button"}),tt&&!w&&i&&Ur.createElement(hl,{id:u,features:Au.Focusable,as:"button",type:"button",onFocus:me}))}),pb="div",hb=Ys.RenderStrategy|Ys.Static,fb=$i(function(e,t){let[{popoverState:r},n]=$u("Popover.Overlay"),i=ss(t),a=`headlessui-popover-overlay-${Bs()}`,u=qu(),o=(()=>u!==null?u===Ui.Open:r===0)(),d=wn(w=>{if(Gd(w.currentTarget))return w.preventDefault();n({type:1})}),E=It.useMemo(()=>({open:r===0}),[r]);return cs({ourProps:{ref:i,id:a,"aria-hidden":!0,onClick:d},theirProps:e,slot:E,defaultTag:pb,features:hb,visible:o,name:"Popover.Overlay"})}),db="div",mb=Ys.RenderStrategy|Ys.Static,gb=$i(function(e,t){let{focus:r=!1,...n}=e,[i,a]=$u("Popover.Panel"),{close:u,isPortalled:o}=Ql("Popover.Panel"),d=`headlessui-focus-sentinel-before-${Bs()}`,E=`headlessui-focus-sentinel-after-${Bs()}`,w=It.useRef(null),M=ss(w,t,Me=>{a({type:4,panel:Me})}),re=Wl(w),ue=qu(),le=(()=>ue!==null?ue===Ui.Open:i.popoverState===0)(),Se=wn(Me=>{var f;switch(Me.key){case ts.Escape:if(i.popoverState!==0||!w.current||re!=null&&re.activeElement&&!w.current.contains(re.activeElement))return;Me.preventDefault(),Me.stopPropagation(),a({type:1}),(f=i.button)==null||f.focus();break}});It.useEffect(()=>{var Me;e.static||i.popoverState===1&&((Me=e.unmount)==null||Me)&&a({type:4,panel:null})},[i.popoverState,e.unmount,e.static,a]),It.useEffect(()=>{if(!r||i.popoverState!==0||!w.current)return;let Me=re==null?void 0:re.activeElement;w.current.contains(Me)||Us(w.current,Es.First)},[r,w,i.popoverState]);let _e=It.useMemo(()=>({open:i.popoverState===0,close:u}),[i,u]),ye={ref:M,id:i.panelId,onKeyDown:Se,onBlur:r&&i.popoverState===0?Me=>{var f,Y,me,be,pt;let Ie=Me.relatedTarget;!Ie||!w.current||(f=w.current)!=null&&f.contains(Ie)||(a({type:1}),((me=(Y=i.beforePanelSentinel.current)==null?void 0:Y.contains)!=null&&me.call(Y,Ie)||(pt=(be=i.afterPanelSentinel.current)==null?void 0:be.contains)!=null&&pt.call(be,Ie))&&Ie.focus({preventScroll:!0}))}:void 0,tabIndex:-1},tt=Qd(),Ve=wn(()=>{let Me=w.current;if(!Me)return;function f(){Bn(tt.current,{[As.Forwards]:()=>{Us(Me,Es.First)},[As.Backwards]:()=>{var Y;(Y=i.button)==null||Y.focus({preventScroll:!0})}})}f()}),gt=wn(()=>{let Me=w.current;if(!Me)return;function f(){Bn(tt.current,{[As.Forwards]:()=>{var Y,me,be;if(!i.button)return;let pt=qd(),Ie=pt.indexOf(i.button),qe=pt.slice(0,Ie+1),St=[...pt.slice(Ie+1),...qe];for(let fr of St.slice())if((me=(Y=fr==null?void 0:fr.id)==null?void 0:Y.startsWith)!=null&&me.call(Y,"headlessui-focus-sentinel-")||(be=i.panel)!=null&&be.contains(fr)){let Ar=St.indexOf(fr);Ar!==-1&&St.splice(Ar,1)}Us(St,Es.First,!1)},[As.Backwards]:()=>Us(Me,Es.Last)})}f()});return Ur.createElement(Yl.Provider,{value:i.panelId},le&&o&&Ur.createElement(hl,{id:d,ref:i.beforePanelSentinel,features:Au.Focusable,as:"button",type:"button",onFocus:Ve}),cs({ourProps:ye,theirProps:n,slot:_e,defaultTag:db,features:mb,visible:le,name:"Popover.Panel"}),le&&o&&Ur.createElement(hl,{id:E,ref:i.afterPanelSentinel,features:Au.Focusable,as:"button",type:"button",onFocus:gt}))}),xb="div",Db=$i(function(e,t){let r=It.useRef(null),n=ss(r,t),[i,a]=It.useState([]),u=wn(le=>{a(Se=>{let _e=Se.indexOf(le);if(_e!==-1){let ye=Se.slice();return ye.splice(_e,1),ye}return Se})}),o=wn(le=>(a(Se=>[...Se,le]),()=>u(le))),d=wn(()=>{var le;let Se=ql(r);if(!Se)return!1;let _e=Se.activeElement;return(le=r.current)!=null&&le.contains(_e)?!0:i.some(ye=>{var tt,Ve;return((tt=Se.getElementById(ye.buttonId))==null?void 0:tt.contains(_e))||((Ve=Se.getElementById(ye.panelId))==null?void 0:Ve.contains(_e))})}),E=wn(le=>{for(let Se of i)Se.buttonId!==le&&Se.close()}),w=It.useMemo(()=>({registerPopover:o,unregisterPopover:u,isFocusWithinPopoverGroup:d,closeOthers:E}),[o,u,d,E]),M=It.useMemo(()=>({}),[]),re=e,ue={ref:n};return Ur.createElement(Kl.Provider,{value:w},cs({ourProps:ue,theirProps:re,slot:M,defaultTag:xb,name:"Popover.Group"}))}),Uo=Object.assign(ob,{Button:cb,Overlay:fb,Panel:gb,Group:Db});function yb(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}function zo(e,...t){e&&t.length>0&&e.classList.add(...t)}function qo(e,...t){e&&t.length>0&&e.classList.remove(...t)}var fl=(e=>(e.Ended="ended",e.Cancelled="cancelled",e))(fl||{});function vb(e,t){let r=zu();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:i}=getComputedStyle(e),[a,u]=[n,i].map(o=>{let[d=0]=o.split(",").filter(Boolean).map(E=>E.includes("ms")?parseFloat(E):parseFloat(E)*1e3).sort((E,w)=>w-E);return d});if(a+u!==0){let o=[];o.push(r.addEventListener(e,"transitionrun",d=>{d.target===d.currentTarget&&(o.splice(0).forEach(E=>E()),o.push(r.addEventListener(e,"transitionend",E=>{E.target===E.currentTarget&&(t("ended"),o.splice(0).forEach(w=>w()))}),r.addEventListener(e,"transitioncancel",E=>{E.target===E.currentTarget&&(t("cancelled"),o.splice(0).forEach(w=>w()))})))}))}else t("ended");return r.add(()=>t("cancelled")),r.dispose}function Cb(e,t,r,n){let i=r?"enter":"leave",a=zu(),u=n!==void 0?yb(n):()=>{},o=Bn(i,{enter:()=>t.enter,leave:()=>t.leave}),d=Bn(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),E=Bn(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return qo(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),zo(e,...o,...E),a.nextFrame(()=>{qo(e,...E),zo(e,...d),vb(e,w=>(w==="ended"&&(qo(e,...o),zo(e,...t.entered)),u(w)))}),a.dispose}function Eb({container:e,direction:t,classes:r,events:n,onStart:i,onStop:a}){let u=Kd(),o=UA(),d=rs(t),E=wn(()=>Bn(d.current,{enter:()=>n.current.beforeEnter(),leave:()=>n.current.beforeLeave(),idle:()=>{}})),w=wn(()=>Bn(d.current,{enter:()=>n.current.afterEnter(),leave:()=>n.current.afterLeave(),idle:()=>{}}));ks(()=>{let M=zu();o.add(M.dispose);let re=e.current;if(re&&d.current!=="idle"&&u.current)return M.dispose(),E(),i.current(d.current),M.add(Cb(re,r.current,d.current==="enter",ue=>{M.dispose(),Bn(ue,{[fl.Ended](){w(),a.current(d.current)},[fl.Cancelled]:()=>{}})})),M.dispose},[t])}function Ds(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Hu=It.createContext(null);Hu.displayName="TransitionContext";var Ab=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Ab||{});function bb(){let e=It.useContext(Hu);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Fb(){let e=It.useContext(Wu);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Wu=It.createContext(null);Wu.displayName="NestingContext";function Gu(e){return"children"in e?Gu(e.children):e.current.filter(({state:t})=>t==="visible").length>0}function Zd(e){let t=rs(e),r=It.useRef([]),n=Kd(),i=wn((u,o=Oi.Hidden)=>{let d=r.current.findIndex(({id:E})=>E===u);d!==-1&&(Bn(o,{[Oi.Unmount](){r.current.splice(d,1)},[Oi.Hidden](){r.current[d].state="hidden"}}),tb(()=>{var E;!Gu(r)&&n.current&&((E=t.current)==null||E.call(t))}))}),a=wn(u=>{let o=r.current.find(({id:d})=>d===u);return o?o.state!=="visible"&&(o.state="visible"):r.current.push({id:u,state:"visible"}),()=>i(u,Oi.Unmount)});return It.useMemo(()=>({children:r,register:a,unregister:i}),[a,i,r])}function Sb(){}let wb=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function sh(e){var t;let r={};for(let n of wb)r[n]=(t=e[n])!=null?t:Sb;return r}function kb(e){let t=It.useRef(sh(e));return It.useEffect(()=>{t.current=sh(e)},[e]),t}let Bb="div",e0=Ys.RenderStrategy,t0=$i(function(e,t){let{beforeEnter:r,afterEnter:n,beforeLeave:i,afterLeave:a,enter:u,enterFrom:o,enterTo:d,entered:E,leave:w,leaveFrom:M,leaveTo:re,...ue}=e,le=It.useRef(null),Se=ss(le,t),[_e,ye]=It.useState("visible"),tt=ue.unmount?Oi.Unmount:Oi.Hidden,{show:Ve,appear:gt,initial:Me}=bb(),{register:f,unregister:Y}=Fb(),me=It.useRef(null),be=Bs();It.useEffect(()=>{if(be)return f(be)},[f,be]),It.useEffect(()=>{if(tt===Oi.Hidden&&be){if(Ve&&_e!=="visible"){ye("visible");return}Bn(_e,{hidden:()=>Y(be),visible:()=>f(be)})}},[_e,be,f,Y,Ve,tt]);let pt=rs({enter:Ds(u),enterFrom:Ds(o),enterTo:Ds(d),entered:Ds(E),leave:Ds(w),leaveFrom:Ds(M),leaveTo:Ds(re)}),Ie=kb({beforeEnter:r,afterEnter:n,beforeLeave:i,afterLeave:a}),qe=zl();It.useEffect(()=>{if(qe&&_e==="visible"&&le.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[le,_e,qe]);let St=Me&&!gt,fr=(()=>!qe||St||me.current===Ve?"idle":Ve?"enter":"leave")(),Ar=It.useRef(!1),Qt=Zd(()=>{Ar.current||(ye("hidden"),Y(be))});Eb({container:le,classes:pt,events:Ie,direction:fr,onStart:rs(()=>{Ar.current=!0}),onStop:rs(dr=>{Ar.current=!1,dr==="leave"&&!Gu(Qt)&&(ye("hidden"),Y(be))})}),It.useEffect(()=>{!St||(tt===Oi.Hidden?me.current=null:me.current=Ve)},[Ve,St,_e]);let Zt=ue,qt={ref:Se};return Ur.createElement(Wu.Provider,{value:Qt},Ur.createElement(Xd,{value:Bn(_e,{visible:Ui.Open,hidden:Ui.Closed})},cs({ourProps:qt,theirProps:Zt,defaultTag:Bb,features:e0,visible:_e==="visible",name:"Transition.Child"})))}),dl=$i(function(e,t){let{show:r,appear:n=!1,unmount:i,...a}=e,u=It.useRef(null),o=ss(u,t);zl();let d=qu();if(r===void 0&&d!==null&&(r=Bn(d,{[Ui.Open]:!0,[Ui.Closed]:!1})),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[E,w]=It.useState(r?"visible":"hidden"),M=Zd(()=>{w("hidden")}),[re,ue]=It.useState(!0),le=It.useRef([r]);ks(()=>{re!==!1&&le.current[le.current.length-1]!==r&&(le.current.push(r),ue(!1))},[le,r]);let Se=It.useMemo(()=>({show:r,appear:n,initial:re}),[r,n,re]);It.useEffect(()=>{if(r)w("visible");else if(!Gu(M))w("hidden");else{let ye=u.current;if(!ye)return;let tt=ye.getBoundingClientRect();tt.x===0&&tt.y===0&&tt.width===0&&tt.height===0&&w("hidden")}},[r,M]);let _e={unmount:i};return Ur.createElement(Wu.Provider,{value:M},Ur.createElement(Hu.Provider,{value:Se},cs({ourProps:{..._e,as:It.Fragment,children:Ur.createElement(t0,{ref:o,..._e,...a})},theirProps:{},defaultTag:It.Fragment,features:e0,visible:E==="visible",name:"Transition"})))}),Tb=$i(function(e,t){let r=It.useContext(Hu)!==null,n=qu()!==null;return Ur.createElement(Ur.Fragment,null,!r&&n?Ur.createElement(dl,{ref:t,...e}):Ur.createElement(t0,{ref:t,...e}))}),_b=Object.assign(dl,{Child:Tb,Root:dl});const r0=e=>({message:e.message,position:e.position&&{endColumn:e.position.end.column,startColumn:e.position.start.column,startLineNumber:e.position.start.line,endLineNumber:e.position.end.line}}),Nb=e=>{if(!e)return"";const t=r0(e);return t?`${t.message}${t.position?` at line: ${t.position.startLineNumber}, column: ${t.position.startColumn}`:""}`:null};function Ib({error:e}){const t=Nb(e);return Mn(Uo,{className:"relative",children:()=>Da(f1,{children:[Da(Uo.Button,{className:`p-2 shaodw-lg border ${e?"":" opacity-0 hidden "}`,children:[Mn("span",{className:"sr-only",children:"Errors"}),Mn(eh,{className:"h-5 w-5 text-red-400","aria-hidden":"true"})]}),Mn(_b,{as:It.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:Mn(Uo.Panel,{className:"absolute top-8 w-[300px] -right-3 z-10 mt-3 px-4 sm:px-0",children:Mn("div",{className:"overflow-hidden rounded-lg shadow-lg ring-1 ring-black ring-opacity-5",children:Mn("div",{className:"rounded-md bg-red-50 p-4 overflow-scroll",children:Da("div",{className:"flex",children:[Mn("div",{className:"flex-shrink-0",children:Mn(eh,{className:"h-5 w-5 text-red-400","aria-hidden":"true"})}),Mn("div",{className:"ml-3",children:Mn("h3",{className:"text-sm font-medium text-red-800 whitespace-pre-wrap",children:t})})]})})})})})]})})}const Pb=()=>([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16));d1.config({paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.31.1/min/vs"}});const Lb=e=>{const t=m1(),r=Ur.useRef(null),[n,i]=Ur.useState(100),a=Ur.useMemo(()=>Pb(),[]),u=e.field,o=Ur.useMemo(()=>{const le=If(e.input.value,u,Se=>Se);return typeof e.input.value=="string"?e.input.value:le},[]),[d,E]=Ur.useState(o),[w,M]=Ur.useState(null),re=MA(d,500);Ur.useEffect(()=>{const le=Ud(d,u,Se=>Se);if(le.children[0]&&le.children[0].type==="invalid_markdown"){const Se=le.children[0];M(Se)}else M(null);e.input.onChange(le)},[JSON.stringify(re)]),Ur.useEffect(()=>{if(r.current)if(w){const le=r0(w);t.editor.setModelMarkers(r.current.getModel(),a,[{...le.position,message:le.message,severity:8}])}else t.editor.setModelMarkers(r.current.getModel(),a,[])},[JSON.stringify(w),r.current]),Ur.useEffect(()=>{t&&(t.languages.typescript.typescriptDefaults.setEagerModelSync(!0),t.languages.typescript.typescriptDefaults.setDiagnosticsOptions({noSemanticValidation:!0,noSyntaxValidation:!0}))},[t]);function ue(le,Se){r.current=le,le.onDidContentSizeChange(()=>{i(Math.min(Math.max(100,le.getContentHeight()),1e3)),le.layout()})}return Da("div",{className:"relative",children:[Da("div",{className:"sticky -top-4 w-full flex justify-between mb-2 z-50 max-w-full",children:[Mn(Ob,{onClick:()=>e.setRawMode(!1),children:"View in rich-text editor"}),Mn(Ib,{error:w})]}),Mn("div",{style:{height:`${n}px`},children:Mn(g1,{path:a,onMount:ue,options:{scrollBeyondLastLine:!1,tabSize:2,disableLayerHinting:!0,accessibilitySupport:"off",codeLens:!1,wordWrap:"on",minimap:{enabled:!1},fontSize:14,lineHeight:2,formatOnPaste:!0,lineNumbers:"on",lineNumbersMinChars:2,formatOnType:!0,fixedOverflowWidgets:!0,folding:!1,renderLineHighlight:"none",scrollbar:{verticalScrollbarSize:4,horizontalScrollbarSize:4,alwaysConsumeMouseWheel:!1}},language:"markdown",value:d,onChange:le=>{try{E(le)}catch(Se){console.log("error",Se)}}})})]})},Ob=e=>Mn("button",{className:`${e.align==="left"?"rounded-l-md border-r-0":"rounded-r-md border-l-0"} shadow rounded-md bg-white cursor-pointer relative inline-flex items-center px-2 py-2 border border-gray-200 hover:text-white text-sm font-medium transition-all ease-out duration-150 hover:bg-blue-500 focus:z-10 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500`,type:"button",onClick:e.onClick,children:Mn("span",{className:"text-sm font-semibold tracking-wide align-baseline mr-1",children:e.children})}),Vb=Lb;export{Vb as default};