odm-client 0.0.1 → 0.0.3

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 (51) hide show
  1. package/dist/client/mongodb-client.d.ts +9 -7
  2. package/dist/client/mongodb-index.d.ts +2 -2
  3. package/dist/cloudbase-index.cjs +1 -1
  4. package/dist/cloudbase-index.js +66 -56
  5. package/dist/decorators/index.d.ts +7 -0
  6. package/dist/deps/_commonjsHelpers-KaVRbhAgd4-5pgl5rkso.js +28 -0
  7. package/dist/deps/_commonjsHelpers-KaVRbhAgd4-r4alsdeis.js +1 -0
  8. package/dist/deps/acorn-DYjaOAP8Gz-29lcn4w0b.js +16 -0
  9. package/dist/deps/acorn-DYjaOAP8Gz-gyct7wut5.js +3005 -0
  10. package/dist/deps/angular-1bp1uAROl4-bz9b1prej.js +2533 -0
  11. package/dist/deps/angular-1bp1uAROl4-z3xa5q2km.js +3 -0
  12. package/dist/deps/babel-_P9jsDBVVy-ipfz7c01i.js +7217 -0
  13. package/dist/deps/babel-_P9jsDBVVy-kjb76ly0t.js +15 -0
  14. package/dist/deps/estree-Q-oFBmJEml-u09jq3zep.js +44 -0
  15. package/dist/deps/estree-Q-oFBmJEml-w9z7zljkf.js +4528 -0
  16. package/dist/deps/flow-j77MFvzLrn-kf5rv1yl1.js +20 -0
  17. package/dist/deps/flow-j77MFvzLrn-l8rtylmcl.js +27411 -0
  18. package/dist/deps/glimmer-ewQPb5nTUl-5p9240228.js +37 -0
  19. package/dist/deps/glimmer-ewQPb5nTUl-xsdp5ejns.js +2703 -0
  20. package/dist/deps/graphql-8EXR1_taGG-a4my17998.js +28 -0
  21. package/dist/deps/graphql-8EXR1_taGG-iqqy1396h.js +1221 -0
  22. package/dist/deps/html-dGbiW_CFWL-inuu6eaf1.js +25 -0
  23. package/dist/deps/html-dGbiW_CFWL-mq1pmq7je.js +2791 -0
  24. package/dist/deps/markdown-vAYIRClyWZ-el25zjeip.js +62 -0
  25. package/dist/deps/markdown-vAYIRClyWZ-f8svm8az3.js +3190 -0
  26. package/dist/deps/meriyah-d5_qqf88x--ntk7vora9.js +5 -0
  27. package/dist/deps/meriyah-d5_qqf88x--tbqv1nv9b.js +2645 -0
  28. package/dist/deps/postcss-Vz5bDQ3hJO-if8y8k5xi.js +4739 -0
  29. package/dist/deps/postcss-Vz5bDQ3hJO-rmv75nb4j.js +61 -0
  30. package/dist/deps/typescript-2hCq12HCbJ-n0w7fscoa.js +21 -0
  31. package/dist/deps/typescript-2hCq12HCbJ-yusfiayfb.js +12947 -0
  32. package/dist/deps/yaml-I5o0CrcX7J-ibk1yd293.js +4079 -0
  33. package/dist/deps/yaml-I5o0CrcX7J-xyc4o9p22.js +159 -0
  34. package/dist/generator/cloudbase-init-generator.d.ts +8 -0
  35. package/dist/generator/enum-generator.d.ts +3 -0
  36. package/dist/generator/index.d.ts +6 -0
  37. package/dist/generator/mongodb-init-generator.d.ts +9 -0
  38. package/dist/generator/parser.d.ts +21 -0
  39. package/dist/generator/table-generator.d.ts +3 -0
  40. package/dist/generator/type-generator.d.ts +6 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +6 -29
  44. package/dist/index2.cjs +42770 -0
  45. package/dist/index2.js +242204 -0
  46. package/dist/mongodb-index.cjs +11 -11
  47. package/dist/mongodb-index.js +2103 -2106
  48. package/dist/types/index.d.ts +14 -0
  49. package/package.json +3 -1
  50. /package/dist/deps/{query-builder-h6B2D2BCoQ-4ajykqs3m.js → query-builder-h6B2D2BCoQ-f5zcr506g.js} +0 -0
  51. /package/dist/deps/{query-builder-h6B2D2BCoQ-wqso6i87o.js → query-builder-h6B2D2BCoQ-iw94q0kiz.js} +0 -0
@@ -0,0 +1,5 @@
1
+ "use strict";var or=Object.defineProperty;var ar=(t,e,r)=>e in t?or(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var C=(t,e,r)=>ar(t,typeof e!="symbol"?e+"":e,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var ir=Object.defineProperty,he=(t,e)=>{for(var r in e)ir(t,r,{get:e[r],enumerable:!0})},ye={};he(ye,{parsers:()=>Kt});var Kt={};he(Kt,{meriyah:()=>Yo});var It=(t,e)=>(r,n,...a)=>r|1&&n==null?void 0:(e.call(n)??n[t]).apply(n,a),sr=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},lr=It("replaceAll",function(){if(typeof this=="string")return sr}),lt=lr,cr=55296,pr=56319,ur=56320,dr=String.prototype.isWellFormed??function(){let{length:t}=this;for(let e=0;e<t;e++){let r=this.charCodeAt(e);if((r&64512)===cr&&(r>pr||++e>=t||(this.charCodeAt(e)&64512)!==ur))return!1}return!0},fr=It("isWellFormed",function(){if(typeof this=="string")return dr}),gr=fr,be=((t,e)=>{let r=new Uint32Array(69632),n=0,a=0;for(;n<2597;){let o=t[n++];if(o<0)a-=o;else{let i=t[n++];o&2&&(i=e[i]),o&1?r.fill(i,a,a+=t[n++]):r[a++]=i}}return r})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,61,2,62,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,41,3,0,4,0,4294966523,3,0,4,2,16,2,63,2,0,0,4294836735,0,3221225471,0,4294901942,2,64,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,58,2,7,2,6,0,4286643967,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,0,65472,2,3,0,4093640191,0,929054175,0,65487,0,4294828015,0,4092591615,0,1885355487,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,69,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,70,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,137,-1,3,0,2,2,23,2,0,2,9,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2151677951,2,29,2,10,0,909311,3,0,2,0,814743551,2,48,0,67090432,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,268374015,2,108,2,51,2,0,2,79,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,9,2,18,3,0,2,2,53,0,1046528,3,0,3,2,10,2,0,2,127,0,4294960127,2,9,2,6,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,0,12288,2,54,0,1048577,2,84,2,14,-1,2,14,0,131042,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,88,2,2,0,-16,2,89,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,2,18,2,0,0,3220242431,3,0,3,2,19,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,2,0,0,4351,2,0,2,10,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,10,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,99,2,100,2,22,2,23,3,0,3,0,67057663,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,2,25,0,1638399,0,57344,2,107,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,536870912,-4,2,20,2,0,2,36,0,1,2,0,2,65,2,6,2,12,2,9,2,0,2,113,-1,3,0,4,2,9,2,23,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,38,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,47,2,0,0,4294950463,2,37,-7,2,0,0,203775,2,125,0,4227858432,2,20,2,43,2,36,2,17,2,37,2,17,2,124,2,21,3,0,2,2,38,0,2151677888,2,0,2,12,0,4294901764,2,145,2,0,2,56,2,55,0,5242879,3,0,2,0,402644511,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,23,2,50,2,11,2,59,2,38,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,133,0,4190109695,2,52,-2,2,134,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,66,2,17,2,0,2,42,-3,2,31,-2,2,0,2,45,2,57,2,44,2,45,2,135,2,46,0,8388351,-2,2,136,0,3028287487,2,47,2,138,0,33259519,2,23,2,7,2,48,-7,2,21,0,4294836223,0,3355443199,0,134152199,-2,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,2,30,3,0,124,2,12,3,0,18,2,38,-213,2,0,2,32,-54,3,0,17,2,42,2,8,2,23,2,0,2,8,2,23,2,51,2,0,2,21,2,52,2,139,2,25,-13,2,0,2,53,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,8323099,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,0,1677656575,-130,2,26,-16,2,0,2,24,2,38,-16,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,0,4294954999,2,0,-16,2,0,2,90,2,0,0,2105343,0,4160749584,0,65534,-34,2,8,2,155,-6,0,4194303871,0,4294903771,2,0,2,58,2,98,-3,2,0,0,1073684479,0,17407,-9,2,17,2,49,2,0,2,32,-14,2,17,2,32,-6,2,17,2,12,-6,2,8,0,3225419775,-7,2,156,3,0,6,0,8323103,-1,3,0,2,2,59,-37,2,60,2,157,2,158,2,159,2,160,2,161,-105,2,26,-32,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-22116,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,61,2,62,-3,0,3168731136,0,4294956864,2,1,2,0,2,41,3,0,4,0,4294966275,3,0,4,2,16,2,63,2,0,2,34,-1,2,17,2,64,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,65,3,0,2,0,131135,2,96,0,70256639,0,71303167,0,272,2,42,2,6,0,65279,2,0,2,48,-1,2,97,2,66,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,68,2,67,0,33554435,2,131,2,68,0,2952790016,0,131075,0,3594373096,0,67094296,2,67,-1,0,4294828e3,0,603979263,0,922746880,0,3,0,4294828001,0,602930687,0,1879048192,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,69,2,38,-1,2,4,0,917503,2,38,-1,2,70,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,71,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2147745791,3,19,2,0,122879,2,0,2,10,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,30,2,8,-1,2,17,2,51,2,0,2,79,2,48,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,10,0,8160,-1,2,126,0,4227907585,2,0,2,37,2,0,2,50,0,4227915776,2,9,2,6,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,-3,2,84,2,14,-3,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,88,2,-17,2,89,0,524157950,2,4,2,0,2,90,2,4,2,0,2,22,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,0,3072,2,0,0,2147516415,2,9,3,0,2,2,25,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,0,4294965179,0,7,2,0,2,10,2,93,2,10,-1,0,1761345536,2,96,0,4294901823,2,38,2,20,2,97,2,35,2,98,0,2080440287,2,0,2,34,2,154,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,99,2,100,2,22,2,23,3,0,3,0,7,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,-3,2,107,3,0,3,2,20,-1,3,5,2,2,108,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,65,2,6,2,30,2,9,2,0,2,113,-1,3,0,4,2,9,2,17,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,124,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,50,2,96,0,4294934591,2,37,-7,2,0,0,197631,2,125,-1,2,20,2,43,2,37,2,17,0,3,2,17,2,124,2,21,2,126,2,127,-1,0,2490368,2,126,2,25,2,17,2,34,2,126,2,38,0,4294901904,0,4718591,2,126,2,35,0,335544350,-1,2,128,0,2147487743,0,1,-1,2,129,2,130,2,8,-1,2,131,2,68,0,3758161920,0,3,2,132,0,12582911,0,655360,-1,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,49,0,251658240,-1,2,0,2,25,0,16,-1,2,0,0,16779263,-2,2,12,-1,2,38,-5,2,0,2,18,-3,3,0,2,2,54,2,133,0,2147549183,0,2,-2,2,134,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,17,2,0,2,42,-6,2,0,0,1,2,57,2,49,0,1,2,135,2,25,-3,2,136,2,36,2,137,2,138,0,16778239,2,17,2,7,-8,2,35,0,4294836212,2,10,-3,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,9,-55,3,0,17,2,42,2,8,2,17,2,0,2,8,2,17,2,58,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,71,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,67583,-1,2,105,-2,0,8126475,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,2,145,-187,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,2,154,-57,2,8,2,155,-7,2,17,2,0,2,58,-4,2,0,0,1065361407,0,16384,-9,2,17,2,58,2,0,2,18,-14,2,17,2,18,-6,2,17,0,81919,-6,2,8,0,3223273399,-7,2,156,3,0,6,2,124,-1,3,0,2,0,2063,-37,2,60,2,157,2,158,2,159,2,160,2,161,-138,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-28252],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1073741823,1048575,3892314111,134217727,1061158911,536805376,4294910143,4294901759,4294901760,4095,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,63,127,3238002687,4294549487,4290772991,33554431,4294901888,4286578687,67043329,4294770687,67043583,1023,32767,15,2047999,67043343,67051519,2147483648,4294902e3,4292870143,4294966783,16383,67047423,4294967279,262083,20511,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,4294836224,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,252,4294967288,16777215,4294705151,3221208447,4294902271,4294549472,4294921215,4285526655,4294966527,4294705152,4294966143,64,4294966719,3774873592,4194303999,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901761]),kr=t=>(be[(t>>>5)+0]>>>t&31&1)!==0,xe=t=>(be[(t>>>5)+34816]>>>t&31&1)!==0,v=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],mr=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Se=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function Ct(t){return t<=127?mr[t]>0:xe(t)}function yt(t){return t<=127?Se[t]>0:kr(t)||t===8204||t===8205}function f(t){return t.column++,t.currentChar=t.source.charCodeAt(++t.index)}function $t(t){let e=t.currentChar;if((e&64512)!==55296)return 0;let r=t.source.charCodeAt(t.index+1);return(r&64512)!==56320?0:65536+((e&1023)<<10)+(r&1023)}function Gt(t,e){t.currentChar=t.source.charCodeAt(++t.index),t.flags|=1,!(e&4)&&(t.column=0,t.line++)}function tt(t){t.flags|=1,t.currentChar=t.source.charCodeAt(++t.index),t.column=0,t.line++}function Tr(t){return t===160||t===65279||t===133||t===5760||t>=8192&&t<=8203||t===8239||t===8287||t===12288||t===8201||t===65519}function R(t){return t<65?t-48:t-65+10&15}function hr(t){switch(t){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 131:return"TemplateLiteral";default:return(t&143360)===143360?"Identifier":(t&4096)===4096?"Keyword":"Punctuator"}}var we=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function yr(t){let{source:e}=t;t.currentChar===35&&e.charCodeAt(t.index+1)===33&&(f(t),f(t),zt(t,e,0,4,t.tokenStart))}function le(t,e,r,n,a,o){return n&2&&t.report(0),zt(t,e,r,a,o)}function zt(t,e,r,n,a){let{index:o}=t;for(t.tokenIndex=t.index,t.tokenLine=t.line,t.tokenColumn=t.column;t.index<t.end;){if(v[t.currentChar]&8){let i=t.currentChar===13;tt(t),i&&t.index<t.end&&t.currentChar===10&&(t.currentChar=e.charCodeAt(++t.index));break}else if((t.currentChar^8232)<=1){tt(t);break}f(t),t.tokenIndex=t.index,t.tokenLine=t.line,t.tokenColumn=t.column}if(t.options.onComment){let i={start:{line:a.line,column:a.column},end:{line:t.tokenLine,column:t.tokenColumn}};t.options.onComment(we[n&255],e.slice(o,t.tokenIndex),a.index,t.tokenIndex,i)}return r|1}function br(t,e,r){let{index:n}=t;for(;t.index<t.end;)if(t.currentChar<43){let a=!1;for(;t.currentChar===42;)if(a||(r&=-5,a=!0),f(t)===47){if(f(t),t.options.onComment){let o={start:{line:t.tokenLine,column:t.tokenColumn},end:{line:t.line,column:t.column}};t.options.onComment(we[1],e.slice(n,t.index-2),n-2,t.index,o)}return t.tokenIndex=t.index,t.tokenLine=t.line,t.tokenColumn=t.column,r}if(a)continue;v[t.currentChar]&8?t.currentChar===13?(r|=5,tt(t)):(Gt(t,r),r=r&-5|1):f(t)}else(t.currentChar^8232)<=1?(r=r&-5|1,tt(t)):(r&=-5,f(t));t.report(18)}var xr={0:"Unexpected token",30:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"\\8 and \\9 are not allowed in template strings",4:"Private identifier #%0 is not defined",5:"Illegal Unicode escape sequence",6:"Invalid code point %0",7:"Invalid hexadecimal escape sequence",9:"Octal literals are not allowed in strict mode",8:"Decimal integer literals with a leading zero are forbidden in strict mode",10:"Expected number in radix %0",151:"Invalid left-hand side assignment to a destructible right-hand side",11:"Non-number found after exponent indicator",12:"Invalid BigIntLiteral",13:"No identifiers allowed directly after numeric literal",14:"Escapes \\8 or \\9 are not syntactically valid escapes",15:"Escapes \\8 or \\9 are not allowed in strict mode",16:"Unterminated string literal",17:"Unterminated template literal",18:"Multiline comment was not closed properly",19:"The identifier contained dynamic unicode escape that was not closed",20:"Illegal character '%0'",21:"Missing hexadecimal digits",22:"Invalid implicit octal",23:"Invalid line break in string literal",24:"Only unicode escapes are legal in identifier names",25:"Expected '%0'",26:"Invalid left-hand side in assignment",27:"Invalid left-hand side in async arrow",28:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',29:"Member access on super must be in a method",31:"Await expression not allowed in formal parameter",32:"Yield expression not allowed in formal parameter",95:"Unexpected token: 'escaped keyword'",33:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",123:"Async functions can only be declared at the top level or inside a block",34:"Unterminated regular expression",35:"Unexpected regular expression flag",36:"Duplicate regular expression flag '%0'",37:"%0 functions must have exactly %1 argument%2",38:"Setter function argument must not be a rest parameter",39:"%0 declaration must have a name in this context",40:"Function name may not contain any reserved words or be eval or arguments in strict mode",41:"The rest operator is missing an argument",42:"A getter cannot be a generator",43:"A setter cannot be a generator",44:"A computed property name must be followed by a colon or paren",134:"Object literal keys that are strings or numbers must be a method or have a colon",46:"Found `* async x(){}` but this should be `async * x(){}`",45:"Getters and setters can not be generators",47:"'%0' can not be generator method",48:"No line break is allowed after '=>'",49:"The left-hand side of the arrow can only be destructed through assignment",50:"The binding declaration is not destructible",51:"Async arrow can not be followed by new expression",52:"Classes may not have a static property named 'prototype'",53:"Class constructor may not be a %0",54:"Duplicate constructor method in class",55:"Invalid increment/decrement operand",56:"Invalid use of `new` keyword on an increment/decrement expression",57:"`=>` is an invalid assignment target",58:"Rest element may not have a trailing comma",59:"Missing initializer in %0 declaration",60:"'for-%0' loop head declarations can not have an initializer",61:"Invalid left-hand side in for-%0 loop: Must have a single binding",62:"Invalid shorthand property initializer",63:"Property name __proto__ appears more than once in object literal",64:"Let is disallowed as a lexically bound name",65:"Invalid use of '%0' inside new expression",66:"Illegal 'use strict' directive in function with non-simple parameter list",67:'Identifier "let" disallowed as left-hand side expression in strict mode',68:"Illegal continue statement",69:"Illegal break statement",70:"Cannot have `let[...]` as a var name in strict mode",71:"Invalid destructuring assignment target",72:"Rest parameter may not have a default initializer",73:"The rest argument must the be last parameter",74:"Invalid rest argument",76:"In strict mode code, functions can only be declared at top level or inside a block",77:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",78:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",79:"Class declaration can't appear in single-statement context",80:"Invalid left-hand side in for-%0",81:"Invalid assignment in for-%0",82:"for await (... of ...) is only valid in async functions and async generators",83:"The first token after the template expression should be a continuation of the template",85:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",84:"`let \n [` is a restricted production at the start of a statement",86:"Catch clause requires exactly one parameter, not more (and no trailing comma)",87:"Catch clause parameter does not support default values",88:"Missing catch or finally after try",89:"More than one default clause in switch statement",90:"Illegal newline after throw",91:"Strict mode code may not include a with statement",92:"Illegal return statement",93:"The left hand side of the for-header binding declaration is not destructible",94:"new.target only allowed within functions or static blocks",96:"'#' not followed by identifier",102:"Invalid keyword",101:"Can not use 'let' as a class name",100:"'A lexical declaration can't define a 'let' binding",99:"Can not use `let` as variable name in strict mode",97:"'%0' may not be used as an identifier in this context",98:"Await is only valid in async functions",103:"The %0 keyword can only be used with the module goal",104:"Unicode codepoint must not be greater than 0x10FFFF",105:"%0 source must be string",106:"Only a identifier or string can be used to indicate alias",107:"Only '*' or '{...}' can be imported after default",108:"Trailing decorator may be followed by method",109:"Decorators can't be used with a constructor",110:"Can not use `await` as identifier in module or async func",111:"Can not use `await` as identifier in module",112:"HTML comments are only allowed with web compatibility (Annex B)",113:"The identifier 'let' must not be in expression position in strict mode",114:"Cannot assign to `eval` and `arguments` in strict mode",115:"The left-hand side of a for-of loop may not start with 'let'",116:"Block body arrows can not be immediately invoked without a group",117:"Block body arrows can not be immediately accessed without a group",118:"Unexpected strict mode reserved word",119:"Unexpected eval or arguments in strict mode",120:"Decorators must not be followed by a semicolon",121:"Calling delete on expression not allowed in strict mode",122:"Pattern can not have a tail",124:"Can not have a `yield` expression on the left side of a ternary",125:"An arrow function can not have a postfix update operator",126:"Invalid object literal key character after generator star",127:"Private fields can not be deleted",129:"Classes may not have a field called constructor",128:"Classes may not have a private element named constructor",130:"A class field initializer or static block may not contain arguments",131:"Generators can only be declared at the top level or inside a block",132:"Async methods are a restricted production and cannot have a newline following it",133:"Unexpected character after object literal property name",135:"Invalid key token",136:"Label '%0' has already been declared",137:"continue statement must be nested within an iteration statement",138:"Undefined label '%0'",139:"Trailing comma is disallowed inside import(...) arguments",140:"Invalid binding in JSON import",141:"import() requires exactly one argument",142:"Cannot use new with import(...)",143:"... is not allowed in import()",144:"Expected '=>'",145:"Duplicate binding '%0'",146:"Duplicate private identifier #%0",147:"Cannot export a duplicate name '%0'",150:"Duplicate %0 for-binding",148:"Exported binding '%0' needs to refer to a top-level declared variable",149:"Unexpected private field",153:"Numeric separators are not allowed at the end of numeric literals",152:"Only one underscore is allowed as numeric separator",154:"JSX value should be either an expression or a quoted JSX text",155:"Expected corresponding JSX closing tag for %0",156:"Adjacent JSX elements must be wrapped in an enclosing tag",157:"JSX attributes must only be assigned a non-empty 'expression'",158:"'%0' has already been declared",159:"'%0' shadowed a catch clause binding",160:"Dot property must be an identifier",161:"Encountered invalid input after spread/rest argument",162:"Catch without try",163:"Finally without try",164:"Expected corresponding closing tag for JSX fragment",165:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",166:"Invalid tagged template on optional chain",167:"Invalid optional chain from super property",168:"Invalid optional chain from new expression",169:'Cannot use "import.meta" outside a module',170:"Leading decorators must be attached to a class declaration",171:"An export name cannot include a lone surrogate",172:"A string literal cannot be used as an exported binding without `from`",173:"Private fields can't be accessed on super",174:"The only valid meta property for import is 'import.meta'",175:"'import.meta' must not contain escaped characters",176:'cannot use "await" as identifier inside an async function',177:'cannot use "await" in static blocks'},D=class extends SyntaxError{constructor(e,r,n,...a){let o=xr[n].replace(/%(\d+)/g,(s,l)=>a[l]),i="["+e.line+":"+e.column+"-"+r.line+":"+r.column+"]: "+o;super(i);C(this,"start");C(this,"end");C(this,"range");C(this,"loc");C(this,"description");this.start=e.index,this.end=r.index,this.range=[e.index,r.index],this.loc={start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}},this.description=o}};function Ce(t,e){return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0}var E=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","accessor","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],ve={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:16863275,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:16863276,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:16863277,finally:20566,async:209005,await:209006,class:86094,const:86090,constructor:12399,debugger:20560,export:20564,extends:20565,false:86021,from:209011,get:209008,implements:36964,import:86106,interface:36965,let:241737,null:86023,of:471156,package:36966,private:36967,protected:36968,public:36969,set:209009,static:36970,super:86109,true:86022,with:20579,yield:241771,enum:86133,eval:537079926,as:77932,arguments:537079927,target:209029,meta:209030,accessor:12402};function ce(t,e,r){for(;Se[f(t)];);return t.tokenValue=t.source.slice(t.tokenIndex,t.index),t.currentChar!==92&&t.currentChar<=126?Ce(ve,t.tokenValue)??208897:_t(t,e,0,r)}function Sr(t,e){let r=Ee(t);return Ct(r)||t.report(5),t.tokenValue=String.fromCodePoint(r),_t(t,e,1,v[r]&4)}function _t(t,e,r,n){let a=t.index;for(;t.index<t.end;)if(t.currentChar===92){t.tokenValue+=t.source.slice(a,t.index),r=1;let i=Ee(t);yt(i)||t.report(5),n=n&&v[i]&4,t.tokenValue+=String.fromCodePoint(i),a=t.index}else{let i=$t(t);if(i>0)yt(i)||t.report(20,String.fromCodePoint(i)),t.currentChar=i,t.index++,t.column++;else if(!yt(t.currentChar))break;f(t)}t.index<=t.end&&(t.tokenValue+=t.source.slice(a,t.index));let{length:o}=t.tokenValue;if(n&&o>=2&&o<=11){let i=Ce(ve,t.tokenValue);return i===void 0?208897|(r?-2147483648:0):r?i===209006?e&2050?-2147483528:i|-2147483648:e&1?i===36970||(i&36864)===36864?-2147483527:(i&20480)===20480?e&262144&&!(e&8)?i|-2147483648:-2147483528:-2147274630:e&262144&&!(e&8)&&(i&20480)===20480?i|-2147483648:i===241771?e&262144?-2147274630:e&1024?-2147483528:i|-2147483648:i===209005?-2147274630:(i&36864)===36864?i|12288|-2147483648:-2147483528:i}return 208897|(r?-2147483648:0)}function wr(t){let e=f(t);if(e===92)return 130;let r=$t(t);return r&&(e=r),Ct(e)||t.report(96),130}function Ee(t){return t.source.charCodeAt(t.index+1)!==117&&t.report(5),t.currentChar=t.source.charCodeAt(t.index+=2),t.column+=2,Cr(t)}function Cr(t){let e=0,r=t.currentChar;if(r===123){let i=t.index-2;for(;v[f(t)]&64;)if(e=e<<4|R(t.currentChar),e>1114111)throw new D({index:i,line:t.line,column:t.column},t.currentLocation,104);if(t.currentChar!==125)throw new D({index:i,line:t.line,column:t.column},t.currentLocation,7);return f(t),e}!(v[r]&64)&&t.report(7);let n=t.source.charCodeAt(t.index+1);!(v[n]&64)&&t.report(7);let a=t.source.charCodeAt(t.index+2);!(v[a]&64)&&t.report(7);let o=t.source.charCodeAt(t.index+3);return!(v[o]&64)&&t.report(7),e=R(r)<<12|R(n)<<8|R(a)<<4|R(o),t.currentChar=t.source.charCodeAt(t.index+=4),t.column+=4,e}function pe(t,e,r){let n=t.currentChar,a=0,o=9,i=r&64?0:1,s=0,l=0;if(r&64)a="."+Tt(t,n),n=t.currentChar,n===110&&t.report(12);else{if(n===48)if(n=f(t),(n|32)===120){for(r=136,n=f(t);v[n]&4160;){if(n===95){l||t.report(152),l=0,n=f(t);continue}l=1,a=a*16+R(n),s++,n=f(t)}(s===0||!l)&&t.report(s===0?21:153)}else if((n|32)===111){for(r=132,n=f(t);v[n]&4128;){if(n===95){l||t.report(152),l=0,n=f(t);continue}l=1,a=a*8+(n-48),s++,n=f(t)}(s===0||!l)&&t.report(s===0?0:153)}else if((n|32)===98){for(r=130,n=f(t);v[n]&4224;){if(n===95){l||t.report(152),l=0,n=f(t);continue}l=1,a=a*2+(n-48),s++,n=f(t)}(s===0||!l)&&t.report(s===0?0:153)}else if(v[n]&32)for(e&1&&t.report(1),r=1;v[n]&16;){if(v[n]&512){r=32,i=0;break}a=a*8+(n-48),n=f(t)}else v[n]&512?(e&1&&t.report(1),t.flags|=64,r=32):n===95&&t.report(0);if(r&48){if(i){for(;o>=0&&v[n]&4112;){if(n===95){if(n=f(t),n===95||r&32)throw new D(t.currentLocation,{index:t.index+1,line:t.line,column:t.column},152);l=1;continue}l=0,a=10*a+(n-48),n=f(t),--o}if(l)throw new D(t.currentLocation,{index:t.index+1,line:t.line,column:t.column},153);if(o>=0&&!Ct(n)&&n!==46)return t.tokenValue=a,t.options.raw&&(t.tokenRaw=t.source.slice(t.tokenIndex,t.index)),134283266}a+=Tt(t,n),n=t.currentChar,n===46&&(f(t)===95&&t.report(0),r=64,a+="."+Tt(t,t.currentChar),n=t.currentChar)}}let d=t.index,p=0;if(n===110&&r&128)p=1,n=f(t);else if((n|32)===101){n=f(t),v[n]&256&&(n=f(t));let{index:u}=t;!(v[n]&16)&&t.report(11),a+=t.source.substring(d,u)+Tt(t,n),n=t.currentChar}return(t.index<t.end&&v[n]&16||Ct(n))&&t.report(13),p?(t.tokenRaw=t.source.slice(t.tokenIndex,t.index),t.tokenValue=BigInt(lt(0,t.tokenRaw.slice(0,-1),"_","")),134283388):(t.tokenValue=r&15?a:r&32?parseFloat(t.source.substring(t.tokenIndex,t.index)):+a,t.options.raw&&(t.tokenRaw=t.source.slice(t.tokenIndex,t.index)),134283266)}function Tt(t,e){let r=0,n=t.index,a="";for(;v[e]&4112;){if(e===95){let{index:o}=t;if(e=f(t),e===95)throw new D(t.currentLocation,{index:t.index+1,line:t.line,column:t.column},152);r=1,a+=t.source.substring(n,o),n=t.index;continue}r=0,e=f(t)}if(r)throw new D(t.currentLocation,{index:t.index+1,line:t.line,column:t.column},153);return a+t.source.substring(n,t.index)}var W;(function(t){t[t.Empty=0]="Empty",t[t.Escape=1]="Escape",t[t.Class=2]="Class"})(W||(W={}));var M;(function(t){t[t.Empty=0]="Empty",t[t.IgnoreCase=1]="IgnoreCase",t[t.Global=2]="Global",t[t.Multiline=4]="Multiline",t[t.Unicode=16]="Unicode",t[t.Sticky=8]="Sticky",t[t.DotAll=32]="DotAll",t[t.Indices=64]="Indices",t[t.UnicodeSets=128]="UnicodeSets"})(M||(M={}));function vr(t){let e=t.index,r=W.Empty;t:for(;;){let d=t.currentChar;if(f(t),r&W.Escape)r&=~W.Escape;else switch(d){case 47:if(r)break;break t;case 92:r|=W.Escape;break;case 91:r|=W.Class;break;case 93:r&=W.Escape;break}if((d===13||d===10||d===8232||d===8233)&&t.report(34),t.index>=t.source.length)return t.report(34)}let n=t.index-1,a=M.Empty,o=t.currentChar,{index:i}=t;for(;yt(o);){switch(o){case 103:a&M.Global&&t.report(36,"g"),a|=M.Global;break;case 105:a&M.IgnoreCase&&t.report(36,"i"),a|=M.IgnoreCase;break;case 109:a&M.Multiline&&t.report(36,"m"),a|=M.Multiline;break;case 117:a&M.Unicode&&t.report(36,"u"),a&M.UnicodeSets&&t.report(36,"vu"),a|=M.Unicode;break;case 118:a&M.Unicode&&t.report(36,"uv"),a&M.UnicodeSets&&t.report(36,"v"),a|=M.UnicodeSets;break;case 121:a&M.Sticky&&t.report(36,"y"),a|=M.Sticky;break;case 115:a&M.DotAll&&t.report(36,"s"),a|=M.DotAll;break;case 100:a&M.Indices&&t.report(36,"d"),a|=M.Indices;break;default:t.report(35)}o=f(t)}let s=t.source.slice(i,t.index),l=t.source.slice(e,n);return t.tokenRegExp={pattern:l,flags:s},t.options.raw&&(t.tokenRaw=t.source.slice(t.tokenIndex,t.index)),t.tokenValue=Er(t,l,s),65540}function Er(t,e,r){try{return new RegExp(e,r)}catch{if(!t.options.validateRegex)return null;t.report(34)}}function Ar(t,e,r){let{index:n}=t,a="",o=f(t),i=t.index;for(;!(v[o]&8);){if(o===r)return a+=t.source.slice(i,t.index),f(t),t.options.raw&&(t.tokenRaw=t.source.slice(n,t.index)),t.tokenValue=a,134283267;if((o&8)===8&&o===92){if(a+=t.source.slice(i,t.index),o=f(t),o<127||o===8232||o===8233){let s=Ae(t,e,o);s>=0?a+=String.fromCodePoint(s):Ne(t,s,0)}else a+=String.fromCodePoint(o);i=t.index+1}else(o===8232||o===8233)&&(t.column=-1,t.line++);t.index>=t.end&&t.report(16),o=f(t)}t.report(16)}function Ae(t,e,r,n=0){switch(r){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(t.index<t.end){let a=t.source.charCodeAt(t.index+1);a===10&&(t.index=t.index+1,t.currentChar=a)}case 10:case 8232:case 8233:return t.column=-1,t.line++,-1;case 48:case 49:case 50:case 51:{let a=r-48,o=t.index+1,i=t.column+1;if(o<t.end){let s=t.source.charCodeAt(o);if(v[s]&32){if(e&1||n)return-2;if(t.currentChar=s,a=a<<3|s-48,o++,i++,o<t.end){let l=t.source.charCodeAt(o);v[l]&32&&(t.currentChar=l,a=a<<3|l-48,o++,i++)}t.flags|=64}else if(a!==0||v[s]&512){if(e&1||n)return-2;t.flags|=64}t.index=o-1,t.column=i-1}return a}case 52:case 53:case 54:case 55:{if(n||e&1)return-2;let a=r-48,o=t.index+1,i=t.column+1;if(o<t.end){let s=t.source.charCodeAt(o);v[s]&32&&(a=a<<3|s-48,t.currentChar=s,t.index=o,t.column=i)}return t.flags|=64,a}case 120:{let a=f(t);if(!(v[a]&64))return-4;let o=R(a),i=f(t);if(!(v[i]&64))return-4;let s=R(i);return o<<4|s}case 117:{let a=f(t);if(t.currentChar===123){let o=0;for(;v[f(t)]&64;)if(o=o<<4|R(t.currentChar),o>1114111)return-5;return t.currentChar<1||t.currentChar!==125?-4:o}else{if(!(v[a]&64))return-4;let o=t.source.charCodeAt(t.index+1);if(!(v[o]&64))return-4;let i=t.source.charCodeAt(t.index+2);if(!(v[i]&64))return-4;let s=t.source.charCodeAt(t.index+3);return v[s]&64?(t.index+=3,t.column+=3,t.currentChar=t.source.charCodeAt(t.index),R(a)<<12|R(o)<<8|R(i)<<4|R(s)):-4}}case 56:case 57:if(n||!t.options.webcompat||e&1)return-3;t.flags|=4096;default:return r}}function Ne(t,e,r){switch(e){case-1:return;case-2:t.report(r?2:1);case-3:t.report(r?3:14);case-4:t.report(7);case-5:t.report(104)}}function Ie(t,e){let{index:r}=t,n=67174409,a="",o=f(t);for(;o!==96;){if(o===36&&t.source.charCodeAt(t.index+1)===123){f(t),n=67174408;break}else if(o===92)if(o=f(t),o>126)a+=String.fromCodePoint(o);else{let{index:i,line:s,column:l}=t,d=Ae(t,e|1,o,1);if(d>=0)a+=String.fromCodePoint(d);else if(d!==-1&&e&64){t.index=i,t.line=s,t.column=l,a=null,o=Nr(t,o),o<0&&(n=67174408);break}else Ne(t,d,1)}else t.index<t.end&&(o===13&&t.source.charCodeAt(t.index)===10&&(a+=String.fromCodePoint(o),t.currentChar=t.source.charCodeAt(++t.index)),((o&83)<3&&o===10||(o^8232)<=1)&&(t.column=-1,t.line++),a+=String.fromCodePoint(o));t.index>=t.end&&t.report(17),o=f(t)}return f(t),t.tokenValue=a,t.tokenRaw=t.source.slice(r+1,t.index-(n===67174409?1:2)),n}function Nr(t,e){for(;e!==96;){switch(e){case 36:{let r=t.index+1;if(r<t.end&&t.source.charCodeAt(r)===123)return t.index=r,t.column++,-e;break}case 10:case 8232:case 8233:t.column=-1,t.line++}t.index>=t.end&&t.report(17),e=f(t)}return e}function Ir(t,e){return t.index>=t.end&&t.report(0),t.index--,t.column--,Ie(t,e)}var Pr=[128,128,128,128,128,128,128,128,128,127,135,127,127,129,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,127,16842798,134283267,130,208897,8391477,8390213,134283267,67174411,16,8391476,25233968,18,25233969,67108877,8457014,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456256,1077936155,8390721,22,132,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,136,20,8389959,208897,131,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8389702,1074790415,16842799,128];function g(t,e){t.flags=(t.flags|1)^1,t.startIndex=t.index,t.startColumn=t.column,t.startLine=t.line,t.setToken(Pe(t,e,0))}function Pe(t,e,r){let n=t.index===0,{source:a}=t;for(;t.index<t.end;){t.tokenIndex=t.index,t.tokenColumn=t.column,t.tokenLine=t.line;let o=t.currentChar;if(o<=126){let i=Pr[o];switch(i){case 67174411:case 16:case 2162700:case 1074790415:case 69271571:case 20:case 21:case 1074790417:case 18:case 16842799:case 132:case 128:return f(t),i;case 208897:return ce(t,e,0);case 4096:return ce(t,e,1);case 134283266:return pe(t,e,144);case 134283267:return Ar(t,e,o);case 131:return Ie(t,e);case 136:return Sr(t,e);case 130:return wr(t);case 127:f(t);break;case 129:r|=5,tt(t);break;case 135:Gt(t,r),r=r&-5|1;break;case 8456256:{let s=f(t);if(t.index<t.end){if(s===60)return t.index<t.end&&f(t)===61?(f(t),4194332):8390978;if(s===61)return f(t),8390718;if(s===33){let l=t.index+1;if(l+1<t.end&&a.charCodeAt(l)===45&&a.charCodeAt(l+1)==45){t.column+=3,t.currentChar=a.charCodeAt(t.index+=3),r=le(t,a,r,e,2,t.tokenStart);continue}return 8456256}}return 8456256}case 1077936155:{f(t);let s=t.currentChar;return s===61?f(t)===61?(f(t),8390458):8390460:s===62?(f(t),10):1077936155}case 16842798:return f(t)!==61?16842798:f(t)!==61?8390461:(f(t),8390459);case 8391477:return f(t)!==61?8391477:(f(t),4194340);case 8391476:{if(f(t),t.index>=t.end)return 8391476;let s=t.currentChar;return s===61?(f(t),4194338):s!==42?8391476:f(t)!==61?8391735:(f(t),4194335)}case 8389959:return f(t)!==61?8389959:(f(t),4194341);case 25233968:{f(t);let s=t.currentChar;return s===43?(f(t),33619993):s===61?(f(t),4194336):25233968}case 25233969:{f(t);let s=t.currentChar;if(s===45){if(f(t),(r&1||n)&&t.currentChar===62){t.options.webcompat||t.report(112),f(t),r=le(t,a,r,e,3,t.tokenStart);continue}return 33619994}return s===61?(f(t),4194337):25233969}case 8457014:{if(f(t),t.index<t.end){let s=t.currentChar;if(s===47){f(t),r=zt(t,a,r,0,t.tokenStart);continue}if(s===42){f(t),r=br(t,a,r);continue}if(e&32)return vr(t);if(s===61)return f(t),4259875}return 8457014}case 67108877:{let s=f(t);if(s>=48&&s<=57)return pe(t,e,80);if(s===46){let l=t.index+1;if(l<t.end&&a.charCodeAt(l)===46)return t.column+=2,t.currentChar=a.charCodeAt(t.index+=2),14}return 67108877}case 8389702:{f(t);let s=t.currentChar;return s===124?(f(t),t.currentChar===61?(f(t),4194344):8913465):s===61?(f(t),4194342):8389702}case 8390721:{f(t);let s=t.currentChar;if(s===61)return f(t),8390719;if(s!==62)return 8390721;if(f(t),t.index<t.end){let l=t.currentChar;if(l===62)return f(t)===61?(f(t),4194334):8390980;if(l===61)return f(t),4194333}return 8390979}case 8390213:{f(t);let s=t.currentChar;return s===38?(f(t),t.currentChar===61?(f(t),4194345):8913720):s===61?(f(t),4194343):8390213}case 22:{let s=f(t);if(s===63)return f(t),t.currentChar===61?(f(t),4194346):276824445;if(s===46){let l=t.index+1;if(l<t.end&&(s=a.charCodeAt(l),!(s>=48&&s<=57)))return f(t),67108990}return 22}}}else{if((o^8232)<=1){r=r&-5|1,tt(t);continue}let i=$t(t);if(i>0&&(o=i),xe(o))return t.tokenValue="",_t(t,e,0,0);if(Tr(o)){f(t);continue}t.report(20,String.fromCodePoint(o))}}return 1048576}function j(t,e){var r,n;!(t.flags&1)&&(t.getToken()&1048576)!==1048576&&t.report(30,E[t.getToken()&255]),S(t,e,1074790417)||((n=(r=t.options).onInsertedSemicolon)==null||n.call(r,t.startIndex))}function Le(t,e,r,n){return e-r<13&&n==="use strict"&&((t.getToken()&1048576)===1048576||t.flags&1)?1:0}function Ht(t,e,r){return t.getToken()!==r?0:(g(t,e),1)}function S(t,e,r){return t.getToken()!==r?!1:(g(t,e),!0)}function T(t,e,r){t.getToken()!==r&&t.report(25,E[r&255]),g(t,e)}function K(t,e){switch(e.type){case"ArrayExpression":{e.type="ArrayPattern";let{elements:r}=e;for(let n=0,a=r.length;n<a;++n){let o=r[n];o&&K(t,o)}return}case"ObjectExpression":{e.type="ObjectPattern";let{properties:r}=e;for(let n=0,a=r.length;n<a;++n)K(t,r[n]);return}case"AssignmentExpression":e.type="AssignmentPattern",e.operator!=="="&&t.report(71),delete e.operator,K(t,e.left);return;case"Property":K(t,e.value);return;case"SpreadElement":e.type="RestElement",K(t,e.argument)}}function vt(t,e,r,n,a){e&1&&((n&36864)===36864&&t.report(118),!a&&(n&537079808)===537079808&&t.report(119)),((n&20480)===20480||n===-2147483528)&&t.report(102),r&24&&(n&255)===73&&t.report(100),e&2050&&n===209006&&t.report(110),e&1025&&n===241771&&t.report(97,"yield")}function De(t,e,r){e&1&&((r&36864)===36864&&t.report(118),(r&537079808)===537079808&&t.report(119),r===-2147483527&&t.report(95),r===-2147483528&&t.report(95)),(r&20480)===20480&&t.report(102),e&2050&&r===209006&&t.report(110),e&1025&&r===241771&&t.report(97,"yield")}function Ve(t,e,r){return r===209006&&(e&2050&&t.report(110),t.destructible|=128),r===241771&&e&1024&&t.report(97,"yield"),(r&20480)===20480||(r&36864)===36864||r==-2147483527}function Lr(t){return t.property?t.property.type==="PrivateIdentifier":!1}function Me(t,e,r,n){for(;e;){if(e["$"+r])return n&&t.report(137),1;n&&e.loop&&(n=0),e=e.$}return 0}function Dr(t,e,r){let n=e;for(;n;)n["$"+r]&&t.report(136,r),n=n.$;e["$"+r]=1}function Et(t){switch(t.type){case"JSXIdentifier":return t.name;case"JSXNamespacedName":return t.namespace+":"+t.name;case"JSXMemberExpression":return Et(t.object)+"."+Et(t.property)}}function dt(t,e){return t&1025?t&2&&e===209006||t&1024&&e===241771?!1:(e&12288)===12288:(e&12288)===12288||(e&36864)===36864}function Pt(t,e,r){(r&537079808)===537079808&&(e&1&&t.report(119),t.flags|=512),dt(e,r)||t.report(0)}function Vr(t,e){return t.startIndex=t.tokenIndex=t.index,t.startColumn=t.tokenColumn=t.column,t.startLine=t.tokenLine=t.line,t.setToken(v[t.currentChar]&8192?Mr(t):Pe(t,e,0)),t.getToken()}function Mr(t){let e=t.currentChar,r=f(t),n=t.index;for(;r!==e;)t.index>=t.end&&t.report(16),r=f(t);return r!==e&&t.report(16),t.tokenValue=t.source.slice(n,t.index),f(t),t.options.raw&&(t.tokenRaw=t.source.slice(t.tokenIndex,t.index)),134283267}function ft(t){if(t.startIndex=t.tokenIndex=t.index,t.startColumn=t.tokenColumn=t.column,t.startLine=t.tokenLine=t.line,t.index>=t.end){t.setToken(1048576);return}if(t.currentChar===60){f(t),t.setToken(8456256);return}if(t.currentChar===123){f(t),t.setToken(2162700);return}let e=0;for(;t.index<t.end;){let n=v[t.source.charCodeAt(t.index)];if(n&1024?(e|=5,tt(t)):n&2048?(Gt(t,e),e=e&-5|1):f(t),v[t.currentChar]&16384)break}t.tokenIndex===t.index&&t.report(0);let r=t.source.slice(t.tokenIndex,t.index);t.options.raw&&(t.tokenRaw=r),t.tokenValue=r,t.setToken(137)}function Jt(t){if((t.getToken()&143360)===143360){let{index:e}=t,r=t.currentChar;for(;v[r]&32770;)r=f(t);t.tokenValue+=t.source.slice(e,t.index),t.setToken(208897,!0)}return t.getToken()}function Br(t){let e={validateRegex:!0,...t};return e.module&&!e.sourceType&&(e.sourceType="module"),e.globalReturn&&(!e.sourceType||e.sourceType==="script")&&(e.sourceType="commonjs"),e}var Or=class{constructor(t,e){C(this,"parser");C(this,"parent");C(this,"refs",Object.create(null));C(this,"privateIdentifiers",new Map);this.parser=t,this.parent=e}addPrivateIdentifier(t,e){let{privateIdentifiers:r}=this,n=e&800;n&768||(n|=768);let a=r.get(t);this.hasPrivateIdentifier(t)&&((a&32)!==(n&32)||a&n&768)&&this.parser.report(146,t),r.set(t,this.hasPrivateIdentifier(t)?a|n:n)}addPrivateIdentifierRef(t){var e;(e=this.refs)[t]??(e[t]=[]),this.refs[t].push(this.parser.tokenStart)}isPrivateIdentifierDefined(t){var e;return this.hasPrivateIdentifier(t)||!!((e=this.parent)!=null&&e.isPrivateIdentifierDefined(t))}validatePrivateIdentifierRefs(){for(let t in this.refs)if(!this.isPrivateIdentifierDefined(t)){let{index:e,line:r,column:n}=this.refs[t][0];throw new D({index:e,line:r,column:n},{index:e+t.length,line:r,column:n+t.length},4,t)}}hasPrivateIdentifier(t){return this.privateIdentifiers.has(t)}},jr=class Be{constructor(e,r=2,n){C(this,"parser");C(this,"type");C(this,"parent");C(this,"scopeError");C(this,"variableBindings",new Map);this.parser=e,this.type=r,this.parent=n}createChildScope(e){return new Be(this.parser,e,this)}addVarOrBlock(e,r,n,a){n&4?this.addVarName(e,r,n):this.addBlockName(e,r,n,a),a&64&&this.parser.declareUnboundVariable(r)}addVarName(e,r,n){let{parser:a}=this,o=this;for(;o&&!(o.type&128);){let{variableBindings:i}=o,s=i.get(r);s&&s&248&&(a.options.webcompat&&!(e&1)&&(n&128&&s&68||s&128&&n&68)||a.report(145,r)),o===this&&s&&s&1&&n&1&&o.recordScopeError(145,r),s&&(s&256||s&512&&!a.options.webcompat)&&a.report(145,r),o.variableBindings.set(r,n),o=o.parent}}hasVariable(e){return this.variableBindings.has(e)}addBlockName(e,r,n,a){var s;let{parser:o}=this,i=this.variableBindings.get(r);i&&!(i&2)&&(n&1?this.recordScopeError(145,r):o.options.webcompat&&!(e&1)&&a&2&&i===64&&n===64||o.report(145,r)),this.type&64&&((s=this.parent)!=null&&s.hasVariable(r))&&!(this.parent.variableBindings.get(r)&2)&&o.report(145,r),this.type&512&&i&&!(i&2)&&n&1&&this.recordScopeError(145,r),this.type&32&&this.parent.variableBindings.get(r)&768&&o.report(159,r),this.variableBindings.set(r,n)}recordScopeError(e,...r){this.scopeError={type:e,params:r,start:this.parser.tokenStart,end:this.parser.currentLocation}}reportScopeError(){let{scopeError:e}=this;if(e)throw new D(e.start,e.end,e.type,...e.params)}};function Lt(t,e,r){let n=t.createScope().createChildScope(512);return n.addBlockName(e,r,1,0),n}var Rr=class{constructor(t,e={}){C(this,"source");C(this,"lastOnToken",null);C(this,"options");C(this,"token",1048576);C(this,"flags",0);C(this,"index",0);C(this,"line",1);C(this,"column",0);C(this,"startIndex",0);C(this,"end",0);C(this,"tokenIndex",0);C(this,"startColumn",0);C(this,"tokenColumn",0);C(this,"tokenLine",1);C(this,"startLine",1);C(this,"tokenValue","");C(this,"tokenRaw","");C(this,"tokenRegExp");C(this,"currentChar",0);C(this,"exportedNames",new Set);C(this,"exportedBindings",new Set);C(this,"assignable",1);C(this,"destructible",0);C(this,"leadingDecorators",{decorators:[]});this.source=t,this.end=t.length,this.currentChar=t.charCodeAt(0),this.options=Br(e),Array.isArray(this.options.onComment)&&(this.options.onComment=Jr(this.options.onComment,this.options)),Array.isArray(this.options.onToken)&&(this.options.onToken=Ur(this.options.onToken,this.options))}getToken(){return this.token}setToken(t,e=!1){this.token=t;let{onToken:r}=this.options;if(r)if(t!==1048576){let n={start:{line:this.tokenLine,column:this.tokenColumn},end:{line:this.line,column:this.column}};!e&&this.lastOnToken&&r(...this.lastOnToken),this.lastOnToken=[hr(t),this.tokenIndex,this.index,n]}else this.lastOnToken&&(r(...this.lastOnToken),this.lastOnToken=null);return t}get tokenStart(){return{index:this.tokenIndex,line:this.tokenLine,column:this.tokenColumn}}get currentLocation(){return{index:this.index,line:this.line,column:this.column}}finishNode(t,e,r){if(this.options.ranges){t.start=e.index;let n=r?r.index:this.startIndex;t.end=n,t.range=[e.index,n]}return this.options.loc&&(t.loc={start:{line:e.line,column:e.column},end:r?{line:r.line,column:r.column}:{line:this.startLine,column:this.startColumn}},this.options.source&&(t.loc.source=this.options.source)),t}addBindingToExports(t){this.exportedBindings.add(t)}declareUnboundVariable(t){let{exportedNames:e}=this;e.has(t)&&this.report(147,t),e.add(t)}report(t,...e){throw new D(this.tokenStart,this.currentLocation,t,...e)}createScopeIfLexical(t,e){if(this.options.lexical)return this.createScope(t,e)}createScope(t,e){return new jr(this,t,e)}createPrivateScopeIfLexical(t){if(this.options.lexical)return new Or(this,t)}cloneIdentifier(t){return this.cloneLocationInformation({...t},t)}cloneStringLiteral(t){return this.cloneLocationInformation({...t},t)}cloneLocationInformation(t,e){return this.options.ranges&&(t.range=[...e.range]),this.options.loc&&(t.loc={...e.loc,start:{...e.loc.start},end:{...e.loc.end}}),t}};function Jr(t,e){return function(r,n,a,o,i){let s={type:r,value:n};e.ranges&&(s.start=a,s.end=o,s.range=[a,o]),e.loc&&(s.loc=i),t.push(s)}}function Ur(t,e){return function(r,n,a,o){let i={token:r};e.ranges&&(i.start=n,i.end=a,i.range=[n,a]),e.loc&&(i.loc=o),t.push(i)}}function Fr(t,e={},r=0){let n=new Rr(t,e);n.options.sourceType==="module"&&(r|=3),n.options.sourceType==="commonjs"&&(r|=69632),n.options.impliedStrict&&(r|=1),yr(n);let a=n.createScopeIfLexical(),o=[],i="script";if(r&2){if(i="module",o=qr(n,r|8,a),a)for(let s of n.exportedBindings)a.hasVariable(s)||n.report(148,s)}else o=Xr(n,r|8,a);return n.finishNode({type:"Program",sourceType:i,body:o},{index:0,line:1,column:0},n.currentLocation)}function Xr(t,e,r){g(t,e|32|262144);let n=[];for(;t.getToken()===134283267;){let{index:a,tokenValue:o,tokenStart:i,tokenIndex:s}=t,l=t.getToken(),d=B(t,e);if(Le(t,a,s,o)){if(e|=1,t.flags&64)throw new D(t.tokenStart,t.currentLocation,9);if(t.flags&4096)throw new D(t.tokenStart,t.currentLocation,15)}n.push(Yt(t,e,d,l,i))}for(;t.getToken()!==1048576;)n.push(gt(t,e,r,void 0,4,{}));return n}function qr(t,e,r){g(t,e|32);let n=[];for(;t.getToken()===134283267;){let{tokenStart:a}=t,o=t.getToken();n.push(Yt(t,e,B(t,e),o,a))}for(;t.getToken()!==1048576;)n.push(Kr(t,e,r));return n}function Kr(t,e,r){var a;t.getToken()===132&&Object.assign(t.leadingDecorators,{start:t.tokenStart,decorators:Mt(t,e,void 0)});let n;switch(t.getToken()){case 20564:n=un(t,e,r);break;case 86106:n=cn(t,e,r);break;default:n=gt(t,e,r,void 0,4,{})}return(a=t.leadingDecorators)!=null&&a.decorators.length&&t.report(170),n}function gt(t,e,r,n,a,o){let i=t.tokenStart;switch(t.getToken()){case 86104:return Q(t,e,r,n,a,1,0,0,i);case 132:case 86094:return Xt(t,e,r,n,0);case 86090:return Ut(t,e,r,n,16,0);case 241737:return sn(t,e,r,n,a);case 20564:t.report(103,"export");case 86106:switch(g(t,e),t.getToken()){case 67174411:return Ue(t,e,n,i);case 67108877:return Je(t,e,i);default:t.report(103,"import")}case 209005:return Oe(t,e,r,n,a,o,1);default:return kt(t,e,r,n,a,o,1)}}function kt(t,e,r,n,a,o,i){switch(t.getToken()){case 86088:return je(t,e,r,n,0);case 20572:return Gr(t,e,n);case 20569:return Hr(t,e,r,n,o);case 20567:return ln(t,e,r,n,o);case 20562:return an(t,e,r,n,o);case 20578:return Yr(t,e,r,n,o);case 86110:return Wr(t,e,r,n,o);case 1074790417:return zr(t,e);case 2162700:return ut(t,e,r==null?void 0:r.createChildScope(),n,o,t.tokenStart);case 86112:return _r(t,e,n);case 20555:return Zr(t,e,o);case 20559:return Qr(t,e,o);case 20577:return rn(t,e,r,n,o);case 20579:return tn(t,e,r,n,o);case 20560:return en(t,e);case 209005:return Oe(t,e,r,n,a,o,0);case 20557:t.report(162);case 20566:t.report(163);case 86104:t.report(e&1?76:t.options.webcompat?77:78);case 86094:t.report(79);default:return $r(t,e,r,n,a,o,i)}}function $r(t,e,r,n,a,o,i){let{tokenValue:s,tokenStart:l}=t,d=t.getToken(),p;switch(d){case 241737:p=I(t,e),e&1&&t.report(85),t.getToken()===69271571&&t.report(84);break;default:p=J(t,e,n,2,0,1,0,1,t.tokenStart)}return d&143360&&t.getToken()===21?Wt(t,e,r,n,a,o,s,p,d,i,l):(p=N(t,e,n,p,0,0,l),p=L(t,e,n,0,0,l,p),t.getToken()===18&&(p=_(t,e,n,0,l,p)),nt(t,e,p,l))}function ut(t,e,r,n,a,o=t.tokenStart,i="BlockStatement"){let s=[];for(T(t,e|32,2162700);t.getToken()!==1074790415;)s.push(gt(t,e,r,n,2,{$:a}));return T(t,e|32,1074790415),t.finishNode({type:i,body:s},o)}function Gr(t,e,r){!(e&4096)&&t.report(92);let n=t.tokenStart;g(t,e|32);let a=t.flags&1||t.getToken()&1048576?null:O(t,e,r,0,1,t.tokenStart);return j(t,e|32),t.finishNode({type:"ReturnStatement",argument:a},n)}function nt(t,e,r,n){return j(t,e|32),t.finishNode({type:"ExpressionStatement",expression:r},n)}function Wt(t,e,r,n,a,o,i,s,l,d,p){vt(t,e,0,l,1),Dr(t,o,i),g(t,e|32);let u=d&&!(e&1)&&t.options.webcompat&&t.getToken()===86104?Q(t,e,r==null?void 0:r.createChildScope(),n,a,0,0,0,t.tokenStart):kt(t,e,r,n,a,o,d);return t.finishNode({type:"LabeledStatement",label:s,body:u},p)}function Oe(t,e,r,n,a,o,i){let{tokenValue:s,tokenStart:l}=t,d=t.getToken(),p=I(t,e);if(t.getToken()===21)return Wt(t,e,r,n,a,o,s,p,d,1,l);let u=t.flags&1;if(!u){if(t.getToken()===86104)return i||t.report(123),Q(t,e,r,n,a,1,0,1,l);if(dt(e,t.getToken()))return p=ze(t,e,n,1,l),t.getToken()===18&&(p=_(t,e,n,0,l,p)),nt(t,e,p,l)}return t.getToken()===67174411?p=ne(t,e,n,p,1,1,0,u,l):(t.getToken()===10&&(Pt(t,e,d),(d&36864)===36864&&(t.flags|=256),p=Vt(t,e|2048,n,t.tokenValue,p,0,1,0,l)),t.assignable=1),p=N(t,e,n,p,0,0,l),p=L(t,e,n,0,0,l,p),t.assignable=1,t.getToken()===18&&(p=_(t,e,n,0,l,p)),nt(t,e,p,l)}function Yt(t,e,r,n,a){let o=t.startIndex;n!==1074790417&&(t.assignable=2,r=N(t,e,void 0,r,0,0,a),t.getToken()!==1074790417&&(r=L(t,e,void 0,0,0,a,r),t.getToken()===18&&(r=_(t,e,void 0,0,a,r))),j(t,e|32));let i={type:"ExpressionStatement",expression:r};return r.type==="Literal"&&typeof r.value=="string"&&(i.directive=t.source.slice(a.index+1,o-1)),t.finishNode(i,a)}function zr(t,e){let r=t.tokenStart;return g(t,e|32),t.finishNode({type:"EmptyStatement"},r)}function _r(t,e,r){let n=t.tokenStart;g(t,e|32),t.flags&1&&t.report(90);let a=O(t,e,r,0,1,t.tokenStart);return j(t,e|32),t.finishNode({type:"ThrowStatement",argument:a},n)}function Hr(t,e,r,n,a){let o=t.tokenStart;g(t,e),T(t,e|32,67174411),t.assignable=1;let i=O(t,e,n,0,1,t.tokenStart);T(t,e|32,16);let s=ue(t,e,r,n,a),l=null;return t.getToken()===20563&&(g(t,e|32),l=ue(t,e,r,n,a)),t.finishNode({type:"IfStatement",test:i,consequent:s,alternate:l},o)}function ue(t,e,r,n,a){let{tokenStart:o}=t;return e&1||!t.options.webcompat||t.getToken()!==86104?kt(t,e,r,n,0,{$:a},0):Q(t,e,r==null?void 0:r.createChildScope(),n,0,0,0,0,o)}function Wr(t,e,r,n,a){let o=t.tokenStart;g(t,e),T(t,e|32,67174411);let i=O(t,e,n,0,1,t.tokenStart);T(t,e,16),T(t,e,2162700);let s=[],l=0;for(r=r==null?void 0:r.createChildScope(8);t.getToken()!==1074790415;){let{tokenStart:d}=t,p=null,u=[];for(S(t,e|32,20556)?p=O(t,e,n,0,1,t.tokenStart):(T(t,e|32,20561),l&&t.report(89),l=1),T(t,e|32,21);t.getToken()!==20556&&t.getToken()!==1074790415&&t.getToken()!==20561;)u.push(gt(t,e|4,r,n,2,{$:a}));s.push(t.finishNode({type:"SwitchCase",test:p,consequent:u},d))}return T(t,e|32,1074790415),t.finishNode({type:"SwitchStatement",discriminant:i,cases:s},o)}function Yr(t,e,r,n,a){let o=t.tokenStart;g(t,e),T(t,e|32,67174411);let i=O(t,e,n,0,1,t.tokenStart);T(t,e|32,16);let s=ct(t,e,r,n,a);return t.finishNode({type:"WhileStatement",test:i,body:s},o)}function ct(t,e,r,n,a){return kt(t,(e|131072)^131072|128,r,n,0,{loop:1,$:a},0)}function Qr(t,e,r){!(e&128)&&t.report(68);let n=t.tokenStart;g(t,e);let a=null;if(!(t.flags&1)&&t.getToken()&143360){let{tokenValue:o}=t;a=I(t,e|32),Me(t,r,o,1)||t.report(138,o)}return j(t,e|32),t.finishNode({type:"ContinueStatement",label:a},n)}function Zr(t,e,r){let n=t.tokenStart;g(t,e|32);let a=null;if(!(t.flags&1)&&t.getToken()&143360){let{tokenValue:o}=t;a=I(t,e|32),Me(t,r,o,0)||t.report(138,o)}else!(e&132)&&t.report(69);return j(t,e|32),t.finishNode({type:"BreakStatement",label:a},n)}function tn(t,e,r,n,a){let o=t.tokenStart;g(t,e),e&1&&t.report(91),T(t,e|32,67174411);let i=O(t,e,n,0,1,t.tokenStart);T(t,e|32,16);let s=kt(t,e,r,n,2,a,0);return t.finishNode({type:"WithStatement",object:i,body:s},o)}function en(t,e){let r=t.tokenStart;return g(t,e|32),j(t,e|32),t.finishNode({type:"DebuggerStatement"},r)}function rn(t,e,r,n,a){let o=t.tokenStart;g(t,e|32);let i=r==null?void 0:r.createChildScope(16),s=ut(t,e,i,n,{$:a}),{tokenStart:l}=t,d=S(t,e|32,20557)?nn(t,e,r,n,a,l):null,p=null;if(t.getToken()===20566){g(t,e|32);let u=r==null?void 0:r.createChildScope(4);p=ut(t,e,u,n,{$:a})}return!d&&!p&&t.report(88),t.finishNode({type:"TryStatement",block:s,handler:d,finalizer:p},o)}function nn(t,e,r,n,a,o){let i=null,s=r;S(t,e,67174411)&&(r=r==null?void 0:r.createChildScope(4),i=We(t,e,r,n,(t.getToken()&2097152)===2097152?256:512,0),t.getToken()===18?t.report(86):t.getToken()===1077936155&&t.report(87),T(t,e|32,16)),s=r==null?void 0:r.createChildScope(32);let l=ut(t,e,s,n,{$:a});return t.finishNode({type:"CatchClause",param:i,body:l},o)}function on(t,e,r,n,a){r=r==null?void 0:r.createChildScope();let o=5764;return e=(e|o)^o|256|2048|524288|65536,ut(t,e,r,n,{},a,"StaticBlock")}function an(t,e,r,n,a){let o=t.tokenStart;g(t,e|32);let i=ct(t,e,r,n,a);T(t,e,20578),T(t,e|32,67174411);let s=O(t,e,n,0,1,t.tokenStart);return T(t,e|32,16),S(t,e|32,1074790417),t.finishNode({type:"DoWhileStatement",body:i,test:s},o)}function sn(t,e,r,n,a){let{tokenValue:o,tokenStart:i}=t,s=t.getToken(),l=I(t,e);if(t.getToken()&2240512){let d=rt(t,e,r,n,8,0);return j(t,e|32),t.finishNode({type:"VariableDeclaration",kind:"let",declarations:d},i)}if(t.assignable=1,e&1&&t.report(85),t.getToken()===21)return Wt(t,e,r,n,a,{},o,l,s,0,i);if(t.getToken()===10){let d;t.options.lexical&&(d=Lt(t,e,o)),t.flags=(t.flags|128)^128,l=mt(t,e,d,n,[l],0,i)}else l=N(t,e,n,l,0,0,i),l=L(t,e,n,0,0,i,l);return t.getToken()===18&&(l=_(t,e,n,0,i,l)),nt(t,e,l,i)}function Ut(t,e,r,n,a,o){let i=t.tokenStart;g(t,e);let s=rt(t,e,r,n,a,o);return j(t,e|32),t.finishNode({type:"VariableDeclaration",kind:a&8?"let":"const",declarations:s},i)}function je(t,e,r,n,a){let o=t.tokenStart;g(t,e);let i=rt(t,e,r,n,4,a);return j(t,e|32),t.finishNode({type:"VariableDeclaration",kind:"var",declarations:i},o)}function rt(t,e,r,n,a,o){let i=1,s=[de(t,e,r,n,a,o)];for(;S(t,e,18);)i++,s.push(de(t,e,r,n,a,o));return i>1&&o&32&&t.getToken()&262144&&t.report(61,E[t.getToken()&255]),s}function de(t,e,r,n,a,o){let{tokenStart:i}=t,s=t.getToken(),l=null,d=We(t,e,r,n,a,o);if(t.getToken()===1077936155){if(g(t,e|32),l=P(t,e,n,1,0,t.tokenStart),(o&32||(s&2097152)===0)&&(t.getToken()===471156||t.getToken()===8673330&&(s&2097152||(a&4)===0||e&1)))throw new D(i,t.currentLocation,60,t.getToken()===471156?"of":"in")}else(a&16||(s&2097152)>0)&&(t.getToken()&262144)!==262144&&t.report(59,a&16?"const":"destructuring");return t.finishNode({type:"VariableDeclarator",id:d,init:l},i)}function ln(t,e,r,n,a){let o=t.tokenStart;g(t,e);let i=((e&2048)>0||(e&2)>0&&(e&8)>0)&&S(t,e,209006);T(t,e|32,67174411),r=r==null?void 0:r.createChildScope(1);let s=null,l=null,d=0,p=null,u=t.getToken()===86088||t.getToken()===241737||t.getToken()===86090,k,{tokenStart:h}=t,x=t.getToken();if(u)x===241737?(p=I(t,e),t.getToken()&2240512?(t.getToken()===8673330?e&1&&t.report(67):p=t.finishNode({type:"VariableDeclaration",kind:"let",declarations:rt(t,e|131072,r,n,8,32)},h),t.assignable=1):e&1?t.report(67):(u=!1,t.assignable=1,p=N(t,e,n,p,0,0,h),t.getToken()===471156&&t.report(115))):(g(t,e),p=t.finishNode(x===86088?{type:"VariableDeclaration",kind:"var",declarations:rt(t,e|131072,r,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:rt(t,e|131072,r,n,16,32)},h),t.assignable=1);else if(x===1074790417)i&&t.report(82);else if((x&2097152)===2097152){let y=t.tokenStart;p=x===2162700?X(t,e,void 0,n,1,0,0,2,32):F(t,e,void 0,n,1,0,0,2,32),d=t.destructible,d&64&&t.report(63),t.assignable=d&16?2:1,p=N(t,e|131072,n,p,0,0,y)}else p=U(t,e|131072,n,1,0,1);if((t.getToken()&262144)===262144){if(t.getToken()===471156){t.assignable&2&&t.report(80,i?"await":"of"),K(t,p),g(t,e|32),k=P(t,e,n,1,0,t.tokenStart),T(t,e|32,16);let b=ct(t,e,r,n,a);return t.finishNode({type:"ForOfStatement",left:p,right:k,body:b,await:i},o)}t.assignable&2&&t.report(80,"in"),K(t,p),g(t,e|32),i&&t.report(82),k=O(t,e,n,0,1,t.tokenStart),T(t,e|32,16);let y=ct(t,e,r,n,a);return t.finishNode({type:"ForInStatement",body:y,left:p,right:k},o)}i&&t.report(82),u||(d&8&&t.getToken()!==1077936155&&t.report(80,"loop"),p=L(t,e|131072,n,0,0,h,p)),t.getToken()===18&&(p=_(t,e,n,0,h,p)),T(t,e|32,1074790417),t.getToken()!==1074790417&&(s=O(t,e,n,0,1,t.tokenStart)),T(t,e|32,1074790417),t.getToken()!==16&&(l=O(t,e,n,0,1,t.tokenStart)),T(t,e|32,16);let A=ct(t,e,r,n,a);return t.finishNode({type:"ForStatement",init:p,test:s,update:l,body:A},o)}function Re(t,e,r){return dt(e,t.getToken())||t.report(118),(t.getToken()&537079808)===537079808&&t.report(119),r==null||r.addBlockName(e,t.tokenValue,8,0),I(t,e)}function cn(t,e,r){let n=t.tokenStart;g(t,e);let a=null,{tokenStart:o}=t,i=[];if(t.getToken()===134283267)a=B(t,e);else{if(t.getToken()&143360){let d=Re(t,e,r);if(i=[t.finishNode({type:"ImportDefaultSpecifier",local:d},o)],S(t,e,18))switch(t.getToken()){case 8391476:i.push(fe(t,e,r));break;case 2162700:ge(t,e,r,i);break;default:t.report(107)}}else switch(t.getToken()){case 8391476:i=[fe(t,e,r)];break;case 2162700:ge(t,e,r,i);break;case 67174411:return Ue(t,e,void 0,n);case 67108877:return Je(t,e,n);default:t.report(30,E[t.getToken()&255])}a=pn(t,e)}let s=Ft(t,e),l={type:"ImportDeclaration",specifiers:i,source:a,attributes:s};return j(t,e|32),t.finishNode(l,n)}function fe(t,e,r){let{tokenStart:n}=t;if(g(t,e),T(t,e,77932),(t.getToken()&134217728)===134217728)throw new D(n,t.currentLocation,30,E[t.getToken()&255]);return t.finishNode({type:"ImportNamespaceSpecifier",local:Re(t,e,r)},n)}function pn(t,e){return T(t,e,209011),t.getToken()!==134283267&&t.report(105,"Import"),B(t,e)}function ge(t,e,r,n){for(g(t,e);t.getToken()&143360||t.getToken()===134283267;){let{tokenValue:a,tokenStart:o}=t,i=t.getToken(),s=bt(t,e),l;S(t,e,77932)?((t.getToken()&134217728)===134217728||t.getToken()===18?t.report(106):vt(t,e,16,t.getToken(),0),a=t.tokenValue,l=I(t,e)):s.type==="Identifier"?(vt(t,e,16,i,0),l=t.cloneIdentifier(s)):t.report(25,E[108]),r==null||r.addBlockName(e,a,8,0),n.push(t.finishNode({type:"ImportSpecifier",local:l,imported:s},o)),t.getToken()!==1074790415&&T(t,e,18)}return T(t,e,1074790415),n}function Je(t,e,r){let n=Fe(t,e,t.finishNode({type:"Identifier",name:"import"},r),r);return n=N(t,e,void 0,n,0,0,r),n=L(t,e,void 0,0,0,r,n),t.getToken()===18&&(n=_(t,e,void 0,0,r,n)),nt(t,e,n,r)}function Ue(t,e,r,n){let a=Xe(t,e,r,0,n);return a=N(t,e,r,a,0,0,n),t.getToken()===18&&(a=_(t,e,r,0,n,a)),nt(t,e,a,n)}function un(t,e,r){let n=t.leadingDecorators.decorators.length?t.leadingDecorators.start:t.tokenStart;g(t,e|32);let a=[],o=null,i=null,s=[];if(S(t,e|32,20561)){switch(t.getToken()){case 86104:{o=Q(t,e,r,void 0,4,1,1,0,t.tokenStart);break}case 132:case 86094:o=Xt(t,e,r,void 0,1);break;case 209005:{let{tokenStart:d}=t;o=I(t,e);let{flags:p}=t;!(p&1)&&(t.getToken()===86104?o=Q(t,e,r,void 0,4,1,1,1,d):t.getToken()===67174411?(o=ne(t,e,void 0,o,1,1,0,p,d),o=N(t,e,void 0,o,0,0,d),o=L(t,e,void 0,0,0,d,o)):t.getToken()&143360&&(r&&(r=Lt(t,e,t.tokenValue)),o=I(t,e),o=mt(t,e,r,void 0,[o],1,d)));break}default:o=P(t,e,void 0,1,0,t.tokenStart),j(t,e|32)}return r&&t.declareUnboundVariable("default"),t.finishNode({type:"ExportDefaultDeclaration",declaration:o},n)}switch(t.getToken()){case 8391476:{g(t,e);let d=null;S(t,e,77932)&&(r&&t.declareUnboundVariable(t.tokenValue),d=bt(t,e)),T(t,e,209011),t.getToken()!==134283267&&t.report(105,"Export"),i=B(t,e);let p=Ft(t,e),u={type:"ExportAllDeclaration",source:i,exported:d,attributes:p};return j(t,e|32),t.finishNode(u,n)}case 2162700:{g(t,e);let d=[],p=[],u=0;for(;t.getToken()&143360||t.getToken()===134283267;){let{tokenStart:k,tokenValue:h}=t,x=bt(t,e);x.type==="Literal"&&(u=1);let A;t.getToken()===77932?(g(t,e),!(t.getToken()&143360)&&t.getToken()!==134283267&&t.report(106),r&&(d.push(t.tokenValue),p.push(h)),A=bt(t,e)):(r&&(d.push(t.tokenValue),p.push(t.tokenValue)),A=x.type==="Literal"?t.cloneStringLiteral(x):t.cloneIdentifier(x)),a.push(t.finishNode({type:"ExportSpecifier",local:x,exported:A},k)),t.getToken()!==1074790415&&T(t,e,18)}T(t,e,1074790415),S(t,e,209011)?(t.getToken()!==134283267&&t.report(105,"Export"),i=B(t,e),s=Ft(t,e),r&&d.forEach(k=>t.declareUnboundVariable(k))):(u&&t.report(172),r&&(d.forEach(k=>t.declareUnboundVariable(k)),p.forEach(k=>t.addBindingToExports(k)))),j(t,e|32);break}case 132:case 86094:o=Xt(t,e,r,void 0,2);break;case 86104:o=Q(t,e,r,void 0,4,1,2,0,t.tokenStart);break;case 241737:o=Ut(t,e,r,void 0,8,64);break;case 86090:o=Ut(t,e,r,void 0,16,64);break;case 86088:o=je(t,e,r,void 0,64);break;case 209005:{let{tokenStart:d}=t;if(g(t,e),(t.flags&1)===0&&t.getToken()===86104){o=Q(t,e,r,void 0,4,1,2,1,d);break}}default:t.report(30,E[t.getToken()&255])}let l={type:"ExportNamedDeclaration",declaration:o,specifiers:a,source:i,attributes:s};return t.finishNode(l,n)}function P(t,e,r,n,a,o){let i=J(t,e,r,2,0,n,a,1,o);return i=N(t,e,r,i,a,0,o),L(t,e,r,a,0,o,i)}function _(t,e,r,n,a,o){let i=[o];for(;S(t,e|32,18);)i.push(P(t,e,r,1,n,t.tokenStart));return t.finishNode({type:"SequenceExpression",expressions:i},a)}function O(t,e,r,n,a,o){let i=P(t,e,r,a,n,o);return t.getToken()===18?_(t,e,r,n,o,i):i}function L(t,e,r,n,a,o,i){let s=t.getToken();if((s&4194304)===4194304){t.assignable&2&&t.report(26),(!a&&s===1077936155&&i.type==="ArrayExpression"||i.type==="ObjectExpression")&&K(t,i),g(t,e|32);let l=P(t,e,r,1,n,t.tokenStart);return t.assignable=2,t.finishNode(a?{type:"AssignmentPattern",left:i,right:l}:{type:"AssignmentExpression",left:i,operator:E[s&255],right:l},o)}return(s&8388608)===8388608&&(i=Y(t,e,r,n,o,4,s,i)),S(t,e|32,22)&&(i=Z(t,e,r,i,o)),i}function ht(t,e,r,n,a,o,i){let s=t.getToken();g(t,e|32);let l=P(t,e,r,1,n,t.tokenStart);return i=t.finishNode(a?{type:"AssignmentPattern",left:i,right:l}:{type:"AssignmentExpression",left:i,operator:E[s&255],right:l},o),t.assignable=2,i}function Z(t,e,r,n,a){let o=P(t,(e|131072)^131072,r,1,0,t.tokenStart);T(t,e|32,21),t.assignable=1;let i=P(t,e,r,1,0,t.tokenStart);return t.assignable=2,t.finishNode({type:"ConditionalExpression",test:n,consequent:o,alternate:i},a)}function Y(t,e,r,n,a,o,i,s){let l=-((e&131072)>0)&8673330,d,p;for(t.assignable=2;t.getToken()&8388608&&(d=t.getToken(),p=d&3840,(d&524288&&i&268435456||i&524288&&d&268435456)&&t.report(165),!(p+((d===8391735)<<8)-((l===d)<<12)<=o));)g(t,e|32),s=t.finishNode({type:d&524288||d&268435456?"LogicalExpression":"BinaryExpression",left:s,right:Y(t,e,r,n,t.tokenStart,p,d,U(t,e,r,0,n,1)),operator:E[d&255]},a);return t.getToken()===1077936155&&t.report(26),s}function dn(t,e,r,n,a){n||t.report(0);let{tokenStart:o}=t,i=t.getToken();g(t,e|32);let s=U(t,e,r,0,a,1);return t.getToken()===8391735&&t.report(33),e&1&&i===16863276&&(s.type==="Identifier"?t.report(121):Lr(s)&&t.report(127)),t.assignable=2,t.finishNode({type:"UnaryExpression",operator:E[i&255],argument:s,prefix:!0},o)}function fn(t,e,r,n,a,o,i,s){let l=t.getToken(),d=I(t,e),{flags:p}=t;if(!(p&1)){if(t.getToken()===86104)return Ke(t,e,r,1,n,s);if(dt(e,t.getToken()))return a||t.report(0),(t.getToken()&36864)===36864&&(t.flags|=256),ze(t,e,r,o,s)}return!i&&t.getToken()===67174411?ne(t,e,r,d,o,1,0,p,s):t.getToken()===10?(Pt(t,e,l),i&&t.report(51),(l&36864)===36864&&(t.flags|=256),Vt(t,e,r,t.tokenValue,d,i,o,0,s)):(t.assignable=1,d)}function gn(t,e,r,n,a,o){if(n&&(t.destructible|=256),e&1024){g(t,e|32),e&8192&&t.report(32),a||t.report(26),t.getToken()===22&&t.report(124);let i=null,s=!1;return t.flags&1?t.getToken()===8391476&&t.report(30,E[t.getToken()&255]):(s=S(t,e|32,8391476),(t.getToken()&77824||s)&&(i=P(t,e,r,1,0,t.tokenStart))),t.assignable=2,t.finishNode({type:"YieldExpression",argument:i,delegate:s},o)}return e&1&&t.report(97,"yield"),re(t,e,r)}function kn(t,e,r,n,a,o){a&&(t.destructible|=128),e&524288&&t.report(177);let i=re(t,e,r);if(i.type==="ArrowFunctionExpression"||!(t.getToken()&65536)){if(e&2048)throw new D(o,{index:t.startIndex,line:t.startLine,column:t.startColumn},176);if(e&2)throw new D(o,{index:t.startIndex,line:t.startLine,column:t.startColumn},110);if(e&8192&&e&2048)throw new D(o,{index:t.startIndex,line:t.startLine,column:t.startColumn},110);return i}if(e&8192)throw new D(o,{index:t.startIndex,line:t.startLine,column:t.startColumn},31);if(e&2048||e&2&&e&8){if(n)throw new D(o,{index:t.startIndex,line:t.startLine,column:t.startColumn},0);let s=U(t,e,r,0,0,1);return t.getToken()===8391735&&t.report(33),t.assignable=2,t.finishNode({type:"AwaitExpression",argument:s},o)}if(e&2)throw new D(o,{index:t.startIndex,line:t.startLine,column:t.startColumn},98);return i}function Dt(t,e,r,n,a,o,i){let{tokenStart:s}=t;T(t,e|32,2162700);let l=[];if(t.getToken()!==1074790415){for(;t.getToken()===134283267;){let{index:d,tokenStart:p,tokenIndex:u,tokenValue:k}=t,h=t.getToken(),x=B(t,e);if(Le(t,d,u,k)){if(e|=1,t.flags&128)throw new D(p,t.currentLocation,66);if(t.flags&64)throw new D(p,t.currentLocation,9);if(t.flags&4096)throw new D(p,t.currentLocation,15);i==null||i.reportScopeError()}l.push(Yt(t,e,x,h,p))}e&1&&(o&&((o&537079808)===537079808&&t.report(119),(o&36864)===36864&&t.report(40)),t.flags&512&&t.report(119),t.flags&256&&t.report(118))}for(t.flags=(t.flags|512|256|64|4096)^4928,t.destructible=(t.destructible|256)^256;t.getToken()!==1074790415;)l.push(gt(t,e,r,n,4,{}));return T(t,a&24?e|32:e,1074790415),t.flags&=-4289,t.getToken()===1077936155&&t.report(26),t.finishNode({type:"BlockStatement",body:l},s)}function mn(t,e){let{tokenStart:r}=t;switch(g(t,e),t.getToken()){case 67108990:t.report(167);case 67174411:{!(e&512)&&t.report(28),t.assignable=2;break}case 69271571:case 67108877:{!(e&256)&&t.report(29),t.assignable=1;break}default:t.report(30,"super")}return t.finishNode({type:"Super"},r)}function U(t,e,r,n,a,o){let i=t.tokenStart,s=J(t,e,r,2,0,n,a,o,i);return N(t,e,r,s,a,0,i)}function Tn(t,e,r,n){t.assignable&2&&t.report(55);let a=t.getToken();return g(t,e),t.assignable=2,t.finishNode({type:"UpdateExpression",argument:r,operator:E[a&255],prefix:!1},n)}function N(t,e,r,n,a,o,i){if((t.getToken()&33619968)===33619968&&!(t.flags&1))n=Tn(t,e,n,i);else if((t.getToken()&67108864)===67108864){switch(e=(e|131072)^131072,t.getToken()){case 67108877:{g(t,(e|262144|8)^8),e&16&&t.getToken()===130&&t.tokenValue==="super"&&t.report(173),t.assignable=1;let s=Qt(t,e|64,r);n=t.finishNode({type:"MemberExpression",object:n,computed:!1,property:s,optional:!1},i);break}case 69271571:{let s=!1;(t.flags&2048)===2048&&(s=!0,t.flags=(t.flags|2048)^2048),g(t,e|32);let{tokenStart:l}=t,d=O(t,e,r,a,1,l);T(t,e,20),t.assignable=1,n=t.finishNode({type:"MemberExpression",object:n,computed:!0,property:d,optional:!1},i),s&&(t.flags|=2048);break}case 67174411:{if((t.flags&1024)===1024)return t.flags=(t.flags|1024)^1024,n;let s=!1;(t.flags&2048)===2048&&(s=!0,t.flags=(t.flags|2048)^2048);let l=ee(t,e,r,a);t.assignable=2,n=t.finishNode({type:"CallExpression",callee:n,arguments:l,optional:!1},i),s&&(t.flags|=2048);break}case 67108990:{g(t,(e|262144|8)^8),t.flags|=2048,t.assignable=2,n=hn(t,e,r,n,i);break}default:(t.flags&2048)===2048&&t.report(166),t.assignable=2,n=t.finishNode({type:"TaggedTemplateExpression",tag:n,quasi:t.getToken()===67174408?te(t,e|64,r):Zt(t,e)},i)}n=N(t,e,r,n,0,1,i)}return o===0&&(t.flags&2048)===2048&&(t.flags=(t.flags|2048)^2048,n=t.finishNode({type:"ChainExpression",expression:n},i)),n}function hn(t,e,r,n,a){let o=!1,i;if((t.getToken()===69271571||t.getToken()===67174411)&&(t.flags&2048)===2048&&(o=!0,t.flags=(t.flags|2048)^2048),t.getToken()===69271571){g(t,e|32);let{tokenStart:s}=t,l=O(t,e,r,0,1,s);T(t,e,20),t.assignable=2,i=t.finishNode({type:"MemberExpression",object:n,computed:!0,optional:!0,property:l},a)}else if(t.getToken()===67174411){let s=ee(t,e,r,0);t.assignable=2,i=t.finishNode({type:"CallExpression",callee:n,arguments:s,optional:!0},a)}else{let s=Qt(t,e,r);t.assignable=2,i=t.finishNode({type:"MemberExpression",object:n,computed:!1,optional:!0,property:s},a)}return o&&(t.flags|=2048),i}function Qt(t,e,r){return!(t.getToken()&143360)&&t.getToken()!==-2147483528&&t.getToken()!==-2147483527&&t.getToken()!==130&&t.report(160),t.getToken()===130?Nt(t,e,r,0):I(t,e)}function yn(t,e,r,n,a,o){n&&t.report(56),a||t.report(0);let i=t.getToken();g(t,e|32);let s=U(t,e,r,0,0,1);return t.assignable&2&&t.report(55),t.assignable=2,t.finishNode({type:"UpdateExpression",argument:s,operator:E[i&255],prefix:!0},o)}function J(t,e,r,n,a,o,i,s,l){if((t.getToken()&143360)===143360){switch(t.getToken()){case 209006:return kn(t,e,r,a,i,l);case 241771:return gn(t,e,r,i,o,l);case 209005:return fn(t,e,r,i,s,o,a,l)}let{tokenValue:d}=t,p=t.getToken(),u=I(t,e|64);return t.getToken()===10?(s||t.report(0),Pt(t,e,p),(p&36864)===36864&&(t.flags|=256),Vt(t,e,r,d,u,a,o,0,l)):(e&16&&!(e&32768)&&!(e&8192)&&t.tokenValue==="arguments"&&t.report(130),(p&255)===73&&(e&1&&t.report(113),n&24&&t.report(100)),t.assignable=e&1&&(p&537079808)===537079808?2:1,u)}if((t.getToken()&134217728)===134217728)return B(t,e);switch(t.getToken()){case 33619993:case 33619994:return yn(t,e,r,a,s,l);case 16863276:case 16842798:case 16842799:case 25233968:case 25233969:case 16863275:case 16863277:return dn(t,e,r,s,i);case 86104:return Ke(t,e,r,0,i,l);case 2162700:return An(t,e,r,o?0:1,i);case 69271571:return En(t,e,r,o?0:1,i);case 67174411:return In(t,e|64,r,o,1,0,l);case 86021:case 86022:case 86023:return Cn(t,e);case 86111:return vn(t,e);case 65540:return Dn(t,e);case 132:case 86094:return Vn(t,e,r,i,l);case 86109:return mn(t,e);case 67174409:return Zt(t,e);case 67174408:return te(t,e,r);case 86107:return Pn(t,e,r,i);case 134283388:return qe(t,e);case 130:return Nt(t,e,r,0);case 86106:return bn(t,e,r,a,i,l);case 8456256:if(t.options.jsx)return Bt(t,e,r,0,t.tokenStart);default:if(dt(e,t.getToken()))return re(t,e,r);t.report(30,E[t.getToken()&255])}}function bn(t,e,r,n,a,o){let i=I(t,e);return t.getToken()===67108877?Fe(t,e,i,o):(n&&t.report(142),i=Xe(t,e,r,a,o),t.assignable=2,N(t,e,r,i,a,0,o))}function Fe(t,e,r,n){!(e&2)&&t.report(169),g(t,e);let a=t.getToken();return a!==209030&&t.tokenValue!=="meta"?t.report(174):a&-2147483648&&t.report(175),t.assignable=2,t.finishNode({type:"MetaProperty",meta:r,property:I(t,e)},n)}function Xe(t,e,r,n,a){T(t,e|32,67174411),t.getToken()===14&&t.report(143);let o=P(t,e,r,1,n,t.tokenStart),i=null;if(t.getToken()===18){if(T(t,e,18),t.getToken()!==16){let l=(e|131072)^131072;i=P(t,l,r,1,n,t.tokenStart)}S(t,e,18)}let s={type:"ImportExpression",source:o,options:i};return T(t,e,16),t.finishNode(s,a)}function Ft(t,e){if(!S(t,e,20579))return[];T(t,e,2162700);let r=[],n=new Set;for(;t.getToken()!==1074790415;){let a=t.tokenStart,o=Sn(t,e);T(t,e,21);let i=xn(t,e),s=o.type==="Literal"?o.value:o.name;n.has(s)&&t.report(145,`${s}`),n.add(s),r.push(t.finishNode({type:"ImportAttribute",key:o,value:i},a)),t.getToken()!==1074790415&&T(t,e,18)}return T(t,e,1074790415),r}function xn(t,e){if(t.getToken()===134283267)return B(t,e);t.report(30,E[t.getToken()&255])}function Sn(t,e){if(t.getToken()===134283267)return B(t,e);if(t.getToken()&143360)return I(t,e);t.report(30,E[t.getToken()&255])}function bt(t,e){if(t.getToken()===134283267){let r=t.tokenValue;return gr(0,r)||t.report(171),B(t,e)}else{if(t.getToken()&143360)return I(t,e);t.report(30,E[t.getToken()&255])}}function qe(t,e){let{tokenRaw:r,tokenValue:n,tokenStart:a}=t;g(t,e),t.assignable=2;let o={type:"Literal",value:n,bigint:String(n)};return t.options.raw&&(o.raw=r),t.finishNode(o,a)}function Zt(t,e){t.assignable=2;let{tokenValue:r,tokenRaw:n,tokenStart:a}=t;T(t,e,67174409);let o=[xt(t,r,n,a,!0)];return t.finishNode({type:"TemplateLiteral",expressions:[],quasis:o},a)}function te(t,e,r){e=(e|131072)^131072;let{tokenValue:n,tokenRaw:a,tokenStart:o}=t;T(t,e&-65|32,67174408);let i=[xt(t,n,a,o,!1)],s=[O(t,e&-65,r,0,1,t.tokenStart)];for(t.getToken()!==1074790415&&t.report(83);t.setToken(Ir(t,e),!0)!==67174409;){let{tokenValue:l,tokenRaw:d,tokenStart:p}=t;T(t,e&-65|32,67174408),i.push(xt(t,l,d,p,!1)),s.push(O(t,e,r,0,1,t.tokenStart)),t.getToken()!==1074790415&&t.report(83)}{let{tokenValue:l,tokenRaw:d,tokenStart:p}=t;T(t,e,67174409),i.push(xt(t,l,d,p,!0))}return t.finishNode({type:"TemplateLiteral",expressions:s,quasis:i},o)}function xt(t,e,r,n,a){let o=t.finishNode({type:"TemplateElement",value:{cooked:e,raw:r},tail:a},n),i=a?1:2;return t.options.ranges&&(o.start+=1,o.range[0]+=1,o.end-=i,o.range[1]-=i),t.options.loc&&(o.loc.start.column+=1,o.loc.end.column-=i),o}function wn(t,e,r){let n=t.tokenStart;e=(e|131072)^131072,T(t,e|32,14);let a=P(t,e,r,1,0,t.tokenStart);return t.assignable=1,t.finishNode({type:"SpreadElement",argument:a},n)}function ee(t,e,r,n){g(t,e|32);let a=[];if(t.getToken()===16)return g(t,e|64),a;for(;t.getToken()!==16&&(t.getToken()===14?a.push(wn(t,e,r)):a.push(P(t,e,r,1,n,t.tokenStart)),!(t.getToken()!==18||(g(t,e|32),t.getToken()===16))););return T(t,e|64,16),a}function I(t,e){let{tokenValue:r,tokenStart:n}=t,a=r==="await"&&(t.getToken()&-2147483648)===0;return g(t,e|(a?32:0)),t.finishNode({type:"Identifier",name:r},n)}function B(t,e){let{tokenValue:r,tokenRaw:n,tokenStart:a}=t;if(t.getToken()===134283388)return qe(t,e);let o={type:"Literal",value:r};return t.options.raw&&(o.raw=n),g(t,e),t.assignable=2,t.finishNode(o,a)}function Cn(t,e){let r=t.tokenStart,n=E[t.getToken()&255],a={type:"Literal",value:t.getToken()===86023?null:n==="true"};return t.options.raw&&(a.raw=n),g(t,e),t.assignable=2,t.finishNode(a,r)}function vn(t,e){let{tokenStart:r}=t;return g(t,e),t.assignable=2,t.finishNode({type:"ThisExpression"},r)}function Q(t,e,r,n,a,o,i,s,l){g(t,e|32);let d=o?Ht(t,e,8391476):0,p=null,u,k=r?t.createScope():void 0;if(t.getToken()===67174411)!(i&1)&&t.report(39,"Function");else{let y=a&4&&(!(e&8)||!(e&2))?4:64|(s?1024:0)|(d?1024:0);De(t,e,t.getToken()),r&&(y&4?r.addVarName(e,t.tokenValue,y):r.addBlockName(e,t.tokenValue,y,a),k=k==null?void 0:k.createChildScope(128),i&&i&2&&t.declareUnboundVariable(t.tokenValue)),u=t.getToken(),t.getToken()&143360?p=I(t,e):t.report(30,E[t.getToken()&255])}e=(e|28416)^28416|65536|(s?2048:0)|(d?1024:0)|(d?0:262144),k=k==null?void 0:k.createChildScope(256);let h=Ge(t,(e|8192)&-524289,k,n,0,1),x=524428,A=Dt(t,(e|x)^x|32768|4096,k==null?void 0:k.createChildScope(64),n,8,u,k);return t.finishNode({type:"FunctionDeclaration",id:p,params:h,body:A,async:s===1,generator:d===1},l)}function Ke(t,e,r,n,a,o){g(t,e|32);let i=Ht(t,e,8391476),s=(n?2048:0)|(i?1024:0),l=null,d,p=t.createScopeIfLexical(),u=552704;t.getToken()&143360&&(De(t,(e|u)^u|s,t.getToken()),p=p==null?void 0:p.createChildScope(128),d=t.getToken(),l=I(t,e)),e=(e|u)^u|65536|s|(i?0:262144),p=p==null?void 0:p.createChildScope(256);let k=Ge(t,(e|8192)&-524289,p,r,a,1),h=Dt(t,e&-131229|32768|4096,p==null?void 0:p.createChildScope(64),r,0,d,p);return t.assignable=2,t.finishNode({type:"FunctionExpression",id:l,params:k,body:h,async:n===1,generator:i===1},o)}function En(t,e,r,n,a){let o=F(t,e,void 0,r,n,a,0,2,0);return t.destructible&64&&t.report(63),t.destructible&8&&t.report(62),o}function F(t,e,r,n,a,o,i,s,l){let{tokenStart:d}=t;g(t,e|32);let p=[],u=0;for(e=(e|131072)^131072;t.getToken()!==20;)if(S(t,e|32,18))p.push(null);else{let h,{tokenStart:x,tokenValue:A}=t,y=t.getToken();if(y&143360)if(h=J(t,e,n,s,0,1,o,1,x),t.getToken()===1077936155){t.assignable&2&&t.report(26),g(t,e|32),r==null||r.addVarOrBlock(e,A,s,l);let b=P(t,e,n,1,o,t.tokenStart);h=t.finishNode(i?{type:"AssignmentPattern",left:h,right:b}:{type:"AssignmentExpression",operator:"=",left:h,right:b},x),u|=t.destructible&256?256:0|t.destructible&128?128:0}else t.getToken()===18||t.getToken()===20?(t.assignable&2?u|=16:r==null||r.addVarOrBlock(e,A,s,l),u|=t.destructible&256?256:0|t.destructible&128?128:0):(u|=s&1?32:s&2?0:16,h=N(t,e,n,h,o,0,x),t.getToken()!==18&&t.getToken()!==20?(t.getToken()!==1077936155&&(u|=16),h=L(t,e,n,o,i,x,h)):t.getToken()!==1077936155&&(u|=t.assignable&2?16:32));else y&2097152?(h=t.getToken()===2162700?X(t,e,r,n,0,o,i,s,l):F(t,e,r,n,0,o,i,s,l),u|=t.destructible,t.assignable=t.destructible&16?2:1,t.getToken()===18||t.getToken()===20?t.assignable&2&&(u|=16):t.destructible&8?t.report(71):(h=N(t,e,n,h,o,0,x),u=t.assignable&2?16:0,t.getToken()!==18&&t.getToken()!==20?h=L(t,e,n,o,i,x,h):t.getToken()!==1077936155&&(u|=t.assignable&2?16:32))):y===14?(h=ot(t,e,r,n,20,s,l,0,o,i),u|=t.destructible,t.getToken()!==18&&t.getToken()!==20&&t.report(30,E[t.getToken()&255])):(h=U(t,e,n,1,0,1),t.getToken()!==18&&t.getToken()!==20?(h=L(t,e,n,o,i,x,h),!(s&3)&&y===67174411&&(u|=16)):t.assignable&2?u|=16:y===67174411&&(u|=t.assignable&1&&s&3?32:16));if(p.push(h),S(t,e|32,18)){if(t.getToken()===20)break}else break}T(t,e,20);let k=t.finishNode({type:i?"ArrayPattern":"ArrayExpression",elements:p},d);return!a&&t.getToken()&4194304?$e(t,e,n,u,o,i,d,k):(t.destructible=u,k)}function $e(t,e,r,n,a,o,i,s){t.getToken()!==1077936155&&t.report(26),g(t,e|32),n&16&&t.report(26),o||K(t,s);let{tokenStart:l}=t,d=P(t,e,r,1,a,l);return t.destructible=(n|64|8)^72|(t.destructible&128?128:0)|(t.destructible&256?256:0),t.finishNode(o?{type:"AssignmentPattern",left:s,right:d}:{type:"AssignmentExpression",left:s,operator:"=",right:d},i)}function ot(t,e,r,n,a,o,i,s,l,d){let{tokenStart:p}=t;g(t,e|32);let u=null,k=0,{tokenValue:h,tokenStart:x}=t,A=t.getToken();if(A&143360)t.assignable=1,u=J(t,e,n,o,0,1,l,1,x),A=t.getToken(),u=N(t,e,n,u,l,0,x),t.getToken()!==18&&t.getToken()!==a&&(t.assignable&2&&t.getToken()===1077936155&&t.report(71),k|=16,u=L(t,e,n,l,d,x,u)),t.assignable&2?k|=16:A===a||A===18?r==null||r.addVarOrBlock(e,h,o,i):k|=32,k|=t.destructible&128?128:0;else if(A===a)t.report(41);else if(A&2097152)u=t.getToken()===2162700?X(t,e,r,n,1,l,d,o,i):F(t,e,r,n,1,l,d,o,i),A=t.getToken(),A!==1077936155&&A!==a&&A!==18?(t.destructible&8&&t.report(71),u=N(t,e,n,u,l,0,x),k|=t.assignable&2?16:0,(t.getToken()&4194304)===4194304?(t.getToken()!==1077936155&&(k|=16),u=L(t,e,n,l,d,x,u)):((t.getToken()&8388608)===8388608&&(u=Y(t,e,n,1,x,4,A,u)),S(t,e|32,22)&&(u=Z(t,e,n,u,x)),k|=t.assignable&2?16:32)):k|=a===1074790415&&A!==1077936155?16:t.destructible;else{k|=32,u=U(t,e,n,1,l,1);let{tokenStart:y}=t,b=t.getToken();return b===1077936155?(t.assignable&2&&t.report(26),u=L(t,e,n,l,d,y,u),k|=16):(b===18?k|=16:b!==a&&(u=L(t,e,n,l,d,y,u)),k|=t.assignable&1?32:16),t.destructible=k,t.getToken()!==a&&t.getToken()!==18&&t.report(161),t.finishNode({type:d?"RestElement":"SpreadElement",argument:u},p)}if(t.getToken()!==a)if(o&1&&(k|=s?16:32),S(t,e|32,1077936155)){k&16&&t.report(26),K(t,u);let y=P(t,e,n,1,l,t.tokenStart);u=t.finishNode(d?{type:"AssignmentPattern",left:u,right:y}:{type:"AssignmentExpression",left:u,operator:"=",right:y},x),k=16}else k|=16;return t.destructible=k,t.finishNode({type:d?"RestElement":"SpreadElement",argument:u},p)}function q(t,e,r,n,a,o){let i=11264|(n&64?0:16896);e=(e|i)^i|(n&8?1024:0)|(n&16?2048:0)|(n&64?16384:0)|256|32768|65536;let s=t.createScopeIfLexical(256),l=Nn(t,(e|8192)&-524289,s,r,n,1,a);s=s==null?void 0:s.createChildScope(64);let d=Dt(t,e&-655373|32768|4096,s,r,0,void 0,s==null?void 0:s.parent);return t.finishNode({type:"FunctionExpression",params:l,body:d,async:(n&16)>0,generator:(n&8)>0,id:null},o)}function An(t,e,r,n,a){let o=X(t,e,void 0,r,n,a,0,2,0);return t.destructible&64&&t.report(63),t.destructible&8&&t.report(62),o}function X(t,e,r,n,a,o,i,s,l){let{tokenStart:d}=t;g(t,e);let p=[],u=0,k=0;for(e=(e|131072)^131072;t.getToken()!==1074790415;){let{tokenValue:x,tokenStart:A}=t,y=t.getToken();if(y===14)p.push(ot(t,e,r,n,1074790415,s,l,0,o,i));else{let b=0,V=null,m;if(t.getToken()&143360||t.getToken()===-2147483528||t.getToken()===-2147483527)if(t.getToken()===-2147483527&&(u|=16),V=I(t,e),t.getToken()===18||t.getToken()===1074790415||t.getToken()===1077936155)if(b|=4,e&1&&(y&537079808)===537079808?u|=16:vt(t,e,s,y,0),r==null||r.addVarOrBlock(e,x,s,l),S(t,e|32,1077936155)){u|=8;let w=P(t,e,n,1,o,t.tokenStart);u|=t.destructible&256?256:0|t.destructible&128?128:0,m=t.finishNode({type:"AssignmentPattern",left:t.cloneIdentifier(V),right:w},A)}else u|=(y===209006?128:0)|(y===-2147483528?16:0),m=t.cloneIdentifier(V);else if(S(t,e|32,21)){let{tokenStart:w}=t;if(x==="__proto__"&&k++,t.getToken()&143360){let at=t.getToken(),H=t.tokenValue;m=J(t,e,n,s,0,1,o,1,w);let $=t.getToken();m=N(t,e,n,m,o,0,w),t.getToken()===18||t.getToken()===1074790415?$===1077936155||$===1074790415||$===18?(u|=t.destructible&128?128:0,t.assignable&2?u|=16:(at&143360)===143360&&(r==null||r.addVarOrBlock(e,H,s,l))):u|=t.assignable&1?32:16:(t.getToken()&4194304)===4194304?(t.assignable&2?u|=16:$!==1077936155?u|=32:r==null||r.addVarOrBlock(e,H,s,l),m=L(t,e,n,o,i,w,m)):(u|=16,(t.getToken()&8388608)===8388608&&(m=Y(t,e,n,1,w,4,$,m)),S(t,e|32,22)&&(m=Z(t,e,n,m,w)))}else(t.getToken()&2097152)===2097152?(m=t.getToken()===69271571?F(t,e,r,n,0,o,i,s,l):X(t,e,r,n,0,o,i,s,l),u=t.destructible,t.assignable=u&16?2:1,t.getToken()===18||t.getToken()===1074790415?t.assignable&2&&(u|=16):t.destructible&8?t.report(71):(m=N(t,e,n,m,o,0,w),u=t.assignable&2?16:0,(t.getToken()&4194304)===4194304?m=ht(t,e,n,o,i,w,m):((t.getToken()&8388608)===8388608&&(m=Y(t,e,n,1,w,4,y,m)),S(t,e|32,22)&&(m=Z(t,e,n,m,w)),u|=t.assignable&2?16:32))):(m=U(t,e,n,1,o,1),u|=t.assignable&1?32:16,t.getToken()===18||t.getToken()===1074790415?t.assignable&2&&(u|=16):(m=N(t,e,n,m,o,0,w),u=t.assignable&2?16:0,t.getToken()!==18&&y!==1074790415&&(t.getToken()!==1077936155&&(u|=16),m=L(t,e,n,o,i,w,m))))}else t.getToken()===69271571?(u|=16,y===209005&&(b|=16),b|=(y===209008?256:y===209009?512:1)|2,V=et(t,e,n,o),u|=t.assignable,m=q(t,e,n,b,o,t.tokenStart)):t.getToken()&143360?(u|=16,y===-2147483528&&t.report(95),y===209005?(t.flags&1&&t.report(132),b|=17):y===209008?b|=256:y===209009?b|=512:t.report(0),V=I(t,e),m=q(t,e,n,b,o,t.tokenStart)):t.getToken()===67174411?(u|=16,b|=1,m=q(t,e,n,b,o,t.tokenStart)):t.getToken()===8391476?(u|=16,y===209008?t.report(42):y===209009?t.report(43):y!==209005&&t.report(30,E[52]),g(t,e),b|=9|(y===209005?16:0),t.getToken()&143360?V=I(t,e):(t.getToken()&134217728)===134217728?V=B(t,e):t.getToken()===69271571?(b|=2,V=et(t,e,n,o),u|=t.assignable):t.report(30,E[t.getToken()&255]),m=q(t,e,n,b,o,t.tokenStart)):(t.getToken()&134217728)===134217728?(y===209005&&(b|=16),b|=y===209008?256:y===209009?512:1,u|=16,V=B(t,e),m=q(t,e,n,b,o,t.tokenStart)):t.report(133);else if((t.getToken()&134217728)===134217728)if(V=B(t,e),t.getToken()===21){T(t,e|32,21);let{tokenStart:w}=t;if(x==="__proto__"&&k++,t.getToken()&143360){m=J(t,e,n,s,0,1,o,1,w);let{tokenValue:at}=t,H=t.getToken();m=N(t,e,n,m,o,0,w),t.getToken()===18||t.getToken()===1074790415?H===1077936155||H===1074790415||H===18?t.assignable&2?u|=16:r==null||r.addVarOrBlock(e,at,s,l):u|=t.assignable&1?32:16:t.getToken()===1077936155?(t.assignable&2&&(u|=16),m=L(t,e,n,o,i,w,m)):(u|=16,m=L(t,e,n,o,i,w,m))}else(t.getToken()&2097152)===2097152?(m=t.getToken()===69271571?F(t,e,r,n,0,o,i,s,l):X(t,e,r,n,0,o,i,s,l),u=t.destructible,t.assignable=u&16?2:1,t.getToken()===18||t.getToken()===1074790415?t.assignable&2&&(u|=16):(t.destructible&8)!==8&&(m=N(t,e,n,m,o,0,w),u=t.assignable&2?16:0,(t.getToken()&4194304)===4194304?m=ht(t,e,n,o,i,w,m):((t.getToken()&8388608)===8388608&&(m=Y(t,e,n,1,w,4,y,m)),S(t,e|32,22)&&(m=Z(t,e,n,m,w)),u|=t.assignable&2?16:32))):(m=U(t,e,n,1,0,1),u|=t.assignable&1?32:16,t.getToken()===18||t.getToken()===1074790415?t.assignable&2&&(u|=16):(m=N(t,e,n,m,o,0,w),u=t.assignable&1?0:16,t.getToken()!==18&&t.getToken()!==1074790415&&(t.getToken()!==1077936155&&(u|=16),m=L(t,e,n,o,i,w,m))))}else t.getToken()===67174411?(b|=1,m=q(t,e,n,b,o,t.tokenStart),u=t.assignable|16):t.report(134);else if(t.getToken()===69271571)if(V=et(t,e,n,o),u|=t.destructible&256?256:0,b|=2,t.getToken()===21){g(t,e|32);let{tokenStart:w,tokenValue:at}=t,H=t.getToken();if(t.getToken()&143360){m=J(t,e,n,s,0,1,o,1,w);let $=t.getToken();m=N(t,e,n,m,o,0,w),(t.getToken()&4194304)===4194304?(u|=t.assignable&2?16:$===1077936155?0:32,m=ht(t,e,n,o,i,w,m)):t.getToken()===18||t.getToken()===1074790415?$===1077936155||$===1074790415||$===18?t.assignable&2?u|=16:(H&143360)===143360&&(r==null||r.addVarOrBlock(e,at,s,l)):u|=t.assignable&1?32:16:(u|=16,m=L(t,e,n,o,i,w,m))}else(t.getToken()&2097152)===2097152?(m=t.getToken()===69271571?F(t,e,r,n,0,o,i,s,l):X(t,e,r,n,0,o,i,s,l),u=t.destructible,t.assignable=u&16?2:1,t.getToken()===18||t.getToken()===1074790415?t.assignable&2&&(u|=16):u&8?t.report(62):(m=N(t,e,n,m,o,0,w),u=t.assignable&2?u|16:0,(t.getToken()&4194304)===4194304?(t.getToken()!==1077936155&&(u|=16),m=ht(t,e,n,o,i,w,m)):((t.getToken()&8388608)===8388608&&(m=Y(t,e,n,1,w,4,y,m)),S(t,e|32,22)&&(m=Z(t,e,n,m,w)),u|=t.assignable&2?16:32))):(m=U(t,e,n,1,0,1),u|=t.assignable&1?32:16,t.getToken()===18||t.getToken()===1074790415?t.assignable&2&&(u|=16):(m=N(t,e,n,m,o,0,w),u=t.assignable&1?0:16,t.getToken()!==18&&t.getToken()!==1074790415&&(t.getToken()!==1077936155&&(u|=16),m=L(t,e,n,o,i,w,m))))}else t.getToken()===67174411?(b|=1,m=q(t,e,n,b,o,t.tokenStart),u=16):t.report(44);else if(y===8391476)if(T(t,e|32,8391476),b|=8,t.getToken()&143360){let w=t.getToken();if(V=I(t,e),b|=1,t.getToken()===67174411)u|=16,m=q(t,e,n,b,o,t.tokenStart);else throw new D(t.tokenStart,t.currentLocation,w===209005?46:w===209008||t.getToken()===209009?45:47,E[w&255])}else(t.getToken()&134217728)===134217728?(u|=16,V=B(t,e),b|=1,m=q(t,e,n,b,o,t.tokenStart)):t.getToken()===69271571?(u|=16,b|=3,V=et(t,e,n,o),m=q(t,e,n,b,o,t.tokenStart)):t.report(126);else t.report(30,E[y&255]);u|=t.destructible&128?128:0,t.destructible=u,p.push(t.finishNode({type:"Property",key:V,value:m,kind:b&768?b&512?"set":"get":"init",computed:(b&2)>0,method:(b&1)>0,shorthand:(b&4)>0},A))}if(u|=t.destructible,t.getToken()!==18)break;g(t,e)}T(t,e,1074790415),k>1&&(u|=64);let h=t.finishNode({type:i?"ObjectPattern":"ObjectExpression",properties:p},d);return!a&&t.getToken()&4194304?$e(t,e,n,u,o,i,d,h):(t.destructible=u,h)}function Nn(t,e,r,n,a,o,i){T(t,e,67174411);let s=[];if(t.flags=(t.flags|128)^128,t.getToken()===16)return a&512&&t.report(37,"Setter","one",""),g(t,e),s;a&256&&t.report(37,"Getter","no","s"),a&512&&t.getToken()===14&&t.report(38),e=(e|131072)^131072;let l=0,d=0;for(;t.getToken()!==18;){let p=null,{tokenStart:u}=t;if(t.getToken()&143360?(!(e&1)&&((t.getToken()&36864)===36864&&(t.flags|=256),(t.getToken()&537079808)===537079808&&(t.flags|=512)),p=oe(t,e,r,a|1,0)):(t.getToken()===2162700?p=X(t,e,r,n,1,i,1,o,0):t.getToken()===69271571?p=F(t,e,r,n,1,i,1,o,0):t.getToken()===14&&(p=ot(t,e,r,n,16,o,0,0,i,1)),d=1,t.destructible&48&&t.report(50)),t.getToken()===1077936155){g(t,e|32),d=1;let k=P(t,e,n,1,0,t.tokenStart);p=t.finishNode({type:"AssignmentPattern",left:p,right:k},u)}if(l++,s.push(p),!S(t,e,18)||t.getToken()===16)break}return a&512&&l!==1&&t.report(37,"Setter","one",""),r==null||r.reportScopeError(),d&&(t.flags|=128),T(t,e,16),s}function et(t,e,r,n){g(t,e|32);let a=P(t,(e|131072)^131072,r,1,n,t.tokenStart);return T(t,e,20),a}function In(t,e,r,n,a,o,i){var y;t.flags=(t.flags|128)^128;let s=t.tokenStart;g(t,e|32|262144);let l=(y=t.createScopeIfLexical())==null?void 0:y.createChildScope(512);if(e=(e|131072)^131072,S(t,e,16))return At(t,e,l,r,[],n,0,i);let d=0;t.destructible&=-385;let p,u=[],k=0,h=0,x=0,A=t.tokenStart;for(t.assignable=1;t.getToken()!==16;){let{tokenStart:b}=t,V=t.getToken();if(V&143360)l==null||l.addBlockName(e,t.tokenValue,1,0),(V&537079808)===537079808?h=1:(V&36864)===36864&&(x=1),p=J(t,e,r,a,0,1,1,1,b),t.getToken()===16||t.getToken()===18?t.assignable&2&&(d|=16,h=1):(t.getToken()===1077936155?h=1:d|=16,p=N(t,e,r,p,1,0,b),t.getToken()!==16&&t.getToken()!==18&&(p=L(t,e,r,1,0,b,p)));else if((V&2097152)===2097152)p=V===2162700?X(t,e|262144,l,r,0,1,0,a,o):F(t,e|262144,l,r,0,1,0,a,o),d|=t.destructible,h=1,t.assignable=2,t.getToken()!==16&&t.getToken()!==18&&(d&8&&t.report(122),p=N(t,e,r,p,0,0,b),d|=16,t.getToken()!==16&&t.getToken()!==18&&(p=L(t,e,r,0,0,b,p)));else if(V===14){p=ot(t,e,l,r,16,a,o,0,1,0),t.destructible&16&&t.report(74),h=1,k&&(t.getToken()===16||t.getToken()===18)&&u.push(p),d|=8;break}else{if(d|=16,p=P(t,e,r,1,1,b),k&&(t.getToken()===16||t.getToken()===18)&&u.push(p),t.getToken()===18&&(k||(k=1,u=[p])),k){for(;S(t,e|32,18);)u.push(P(t,e,r,1,1,t.tokenStart));t.assignable=2,p=t.finishNode({type:"SequenceExpression",expressions:u},A)}return T(t,e,16),t.destructible=d,t.options.preserveParens?t.finishNode({type:"ParenthesizedExpression",expression:p},s):p}if(k&&(t.getToken()===16||t.getToken()===18)&&u.push(p),!S(t,e|32,18))break;if(k||(k=1,u=[p]),t.getToken()===16){d|=8;break}}return k&&(t.assignable=2,p=t.finishNode({type:"SequenceExpression",expressions:u},A)),T(t,e,16),d&16&&d&8&&t.report(151),d|=t.destructible&256?256:0|t.destructible&128?128:0,t.getToken()===10?(d&48&&t.report(49),e&2050&&d&128&&t.report(31),e&1025&&d&256&&t.report(32),h&&(t.flags|=128),x&&(t.flags|=256),At(t,e,l,r,k?u:[p],n,0,i)):(d&64&&t.report(63),d&8&&t.report(144),t.destructible=(t.destructible|256)^256|d,t.options.preserveParens?t.finishNode({type:"ParenthesizedExpression",expression:p},s):p)}function re(t,e,r){let{tokenStart:n}=t,{tokenValue:a}=t,o=0,i=0;(t.getToken()&537079808)===537079808?o=1:(t.getToken()&36864)===36864&&(i=1);let s=I(t,e);if(t.assignable=1,t.getToken()===10){let l=t.options.lexical?Lt(t,e,a):void 0;return o&&(t.flags|=128),i&&(t.flags|=256),mt(t,e,l,r,[s],0,n)}return s}function Vt(t,e,r,n,a,o,i,s,l){i||t.report(57),o&&t.report(51),t.flags&=-129;let d=t.options.lexical?Lt(t,e,n):void 0;return mt(t,e,d,r,[a],s,l)}function At(t,e,r,n,a,o,i,s){o||t.report(57);for(let l=0;l<a.length;++l)K(t,a[l]);return mt(t,e,r,n,a,i,s)}function mt(t,e,r,n,a,o,i){t.flags&1&&t.report(48),T(t,e|32,10);let s=535552;e=(e|s)^s|(o?2048:0);let l=t.getToken()!==2162700,d;if(r==null||r.reportScopeError(),l)t.flags=(t.flags|512|256|64|4096)^4928,d=P(t,e,n,1,0,t.tokenStart);else{r=r==null?void 0:r.createChildScope(64);let p=131084;switch(d=Dt(t,(e|p)^p|4096,r,n,16,void 0,void 0),t.getToken()){case 69271571:!(t.flags&1)&&t.report(116);break;case 67108877:case 67174409:case 22:t.report(117);case 67174411:!(t.flags&1)&&t.report(116),t.flags|=1024;break}(t.getToken()&8388608)===8388608&&!(t.flags&1)&&t.report(30,E[t.getToken()&255]),(t.getToken()&33619968)===33619968&&t.report(125)}return t.assignable=2,t.finishNode({type:"ArrowFunctionExpression",params:a,body:d,async:o===1,expression:l,generator:!1},i)}function Ge(t,e,r,n,a,o){T(t,e,67174411),t.flags=(t.flags|128)^128;let i=[];if(S(t,e,16))return i;e=(e|131072)^131072;let s=0;for(;t.getToken()!==18;){let l,{tokenStart:d}=t,p=t.getToken();if(p&143360?(!(e&1)&&((p&36864)===36864&&(t.flags|=256),(p&537079808)===537079808&&(t.flags|=512)),l=oe(t,e,r,o|1,0)):(p===2162700?l=X(t,e,r,n,1,a,1,o,0):p===69271571?l=F(t,e,r,n,1,a,1,o,0):p===14?l=ot(t,e,r,n,16,o,0,0,a,1):t.report(30,E[p&255]),s=1,t.destructible&48&&t.report(50)),t.getToken()===1077936155){g(t,e|32),s=1;let u=P(t,e,n,1,a,t.tokenStart);l=t.finishNode({type:"AssignmentPattern",left:l,right:u},d)}if(i.push(l),!S(t,e,18)||t.getToken()===16)break}return s&&(t.flags|=128),(s||e&1)&&(r==null||r.reportScopeError()),T(t,e,16),i}function St(t,e,r,n,a,o){let i=t.getToken();if(i&67108864){if(i===67108877){g(t,e|262144),t.assignable=1;let s=Qt(t,e,r);return St(t,e,r,t.finishNode({type:"MemberExpression",object:n,computed:!1,property:s,optional:!1},o),0,o)}else if(i===69271571){g(t,e|32);let{tokenStart:s}=t,l=O(t,e,r,a,1,s);return T(t,e,20),t.assignable=1,St(t,e,r,t.finishNode({type:"MemberExpression",object:n,computed:!0,property:l,optional:!1},o),0,o)}else if(i===67174408||i===67174409)return t.assignable=2,St(t,e,r,t.finishNode({type:"TaggedTemplateExpression",tag:n,quasi:t.getToken()===67174408?te(t,e|64,r):Zt(t,e|64)},o),0,o)}return n}function Pn(t,e,r,n){let{tokenStart:a}=t,o=I(t,e|32),{tokenStart:i}=t;if(S(t,e,67108877)){if(e&65536&&t.getToken()===209029)return t.assignable=2,Ln(t,e,o,a);t.report(94)}t.assignable=2,(t.getToken()&16842752)===16842752&&t.report(65,E[t.getToken()&255]);let s=J(t,e,r,2,1,0,n,1,i);e=(e|131072)^131072,t.getToken()===67108990&&t.report(168);let l=St(t,e,r,s,n,i);return t.assignable=2,t.finishNode({type:"NewExpression",callee:l,arguments:t.getToken()===67174411?ee(t,e,r,n):[]},a)}function Ln(t,e,r,n){let a=I(t,e);return t.finishNode({type:"MetaProperty",meta:r,property:a},n)}function ze(t,e,r,n,a){return t.getToken()===209006&&t.report(31),e&1025&&t.getToken()===241771&&t.report(32),Pt(t,e,t.getToken()),(t.getToken()&36864)===36864&&(t.flags|=256),Vt(t,e&-524289|2048,r,t.tokenValue,I(t,e),0,n,1,a)}function ne(t,e,r,n,a,o,i,s,l){var x;g(t,e|32);let d=(x=t.createScopeIfLexical())==null?void 0:x.createChildScope(512);if(e=(e|131072)^131072,S(t,e,16))return t.getToken()===10?(s&1&&t.report(48),At(t,e,d,r,[],a,1,l)):t.finishNode({type:"CallExpression",callee:n,arguments:[],optional:!1},l);let p=0,u=null,k=0;t.destructible=(t.destructible|256|128)^384;let h=[];for(;t.getToken()!==16;){let{tokenStart:A}=t,y=t.getToken();if(y&143360)d==null||d.addBlockName(e,t.tokenValue,o,0),(y&537079808)===537079808?t.flags|=512:(y&36864)===36864&&(t.flags|=256),u=J(t,e,r,o,0,1,1,1,A),t.getToken()===16||t.getToken()===18?t.assignable&2&&(p|=16,k=1):(t.getToken()===1077936155?k=1:p|=16,u=N(t,e,r,u,1,0,A),t.getToken()!==16&&t.getToken()!==18&&(u=L(t,e,r,1,0,A,u)));else if(y&2097152)u=y===2162700?X(t,e,d,r,0,1,0,o,i):F(t,e,d,r,0,1,0,o,i),p|=t.destructible,k=1,t.getToken()!==16&&t.getToken()!==18&&(p&8&&t.report(122),u=N(t,e,r,u,0,0,A),p|=16,(t.getToken()&8388608)===8388608&&(u=Y(t,e,r,1,l,4,y,u)),S(t,e|32,22)&&(u=Z(t,e,r,u,l)));else if(y===14)u=ot(t,e,d,r,16,o,i,1,1,0),p|=(t.getToken()===16?0:16)|t.destructible,k=1;else{for(u=P(t,e,r,1,0,A),p=t.assignable,h.push(u);S(t,e|32,18);)h.push(P(t,e,r,1,0,A));return p|=t.assignable,T(t,e,16),t.destructible=p|16,t.assignable=2,t.finishNode({type:"CallExpression",callee:n,arguments:h,optional:!1},l)}if(h.push(u),!S(t,e|32,18))break}return T(t,e,16),p|=t.destructible&256?256:0|t.destructible&128?128:0,t.getToken()===10?(p&48&&t.report(27),(t.flags&1||s&1)&&t.report(48),p&128&&t.report(31),e&1025&&p&256&&t.report(32),k&&(t.flags|=128),At(t,e|2048,d,r,h,a,1,l)):(p&64&&t.report(63),p&8&&t.report(62),t.assignable=2,t.finishNode({type:"CallExpression",callee:n,arguments:h,optional:!1},l))}function Dn(t,e){let{tokenRaw:r,tokenRegExp:n,tokenValue:a,tokenStart:o}=t;g(t,e),t.assignable=2;let i={type:"Literal",value:a,regex:n};return t.options.raw&&(i.raw=r),t.finishNode(i,o)}function Xt(t,e,r,n,a){let o,i;t.leadingDecorators.decorators.length?(t.getToken()===132&&t.report(30,"@"),o=t.leadingDecorators.start,i=[...t.leadingDecorators.decorators],t.leadingDecorators.decorators.length=0):(o=t.tokenStart,i=Mt(t,e,n)),e=(e|16384|1)^16384,g(t,e);let s=null,l=null,{tokenValue:d}=t;t.getToken()&4096&&t.getToken()!==20565?(Ve(t,e,t.getToken())&&t.report(118),(t.getToken()&537079808)===537079808&&t.report(119),r&&(r.addBlockName(e,d,32,0),a&&a&2&&t.declareUnboundVariable(d)),s=I(t,e)):!(a&1)&&t.report(39,"Class");let p=e;S(t,e|32,20565)?(l=U(t,e,n,0,0,0),p|=512):p=(p|512)^512;let u=_e(t,p,e,r,n,2,8,0);return t.finishNode({type:"ClassDeclaration",id:s,superClass:l,body:u,...t.options.next?{decorators:i}:null},o)}function Vn(t,e,r,n,a){let o=null,i=null,s=Mt(t,e,r);e=(e|1|16384)^16384,g(t,e),t.getToken()&4096&&t.getToken()!==20565&&(Ve(t,e,t.getToken())&&t.report(118),(t.getToken()&537079808)===537079808&&t.report(119),o=I(t,e));let l=e;S(t,e|32,20565)?(i=U(t,e,r,0,n,0),l|=512):l=(l|512)^512;let d=_e(t,l,e,void 0,r,2,0,n);return t.assignable=2,t.finishNode({type:"ClassExpression",id:o,superClass:i,body:d,...t.options.next?{decorators:s}:null},a)}function Mt(t,e,r){let n=[];if(t.options.next)for(;t.getToken()===132;)n.push(Mn(t,e,r));return n}function Mn(t,e,r){let n=t.tokenStart;g(t,e|32);let a=t.tokenStart,o=J(t,e,r,2,0,1,0,1,n);return o=N(t,e,r,o,0,0,a),t.finishNode({type:"Decorator",expression:o},n)}function _e(t,e,r,n,a,o,i,s){let{tokenStart:l}=t,d=t.createPrivateScopeIfLexical(a);T(t,e|32,2162700);let p=655360;e=(e|p)^p;let u=t.flags&32;t.flags=(t.flags|32)^32;let k=[];for(;t.getToken()!==1074790415;){let h=t.tokenStart,x=Mt(t,e,d);if(x.length>0&&t.tokenValue==="constructor"&&t.report(109),t.getToken()===1074790415&&t.report(108),S(t,e,1074790417)){x.length>0&&t.report(120);continue}k.push(He(t,e,n,d,r,o,x,0,s,x.length>0?h:t.tokenStart))}return T(t,i&8?e|32:e,1074790415),d==null||d.validatePrivateIdentifierRefs(),t.flags=t.flags&-33|u,t.finishNode({type:"ClassBody",body:k},l)}function He(t,e,r,n,a,o,i,s,l,d){let p=s?32:0,u=null,k=t.getToken();if(k&176128||k===-2147483528)switch(u=I(t,e),k){case 36970:if(!s&&t.getToken()!==67174411&&(t.getToken()&1048576)!==1048576&&t.getToken()!==1077936155)return He(t,e,r,n,a,o,i,1,l,d);break;case 209005:if(t.getToken()!==67174411&&!(t.flags&1)){if((t.getToken()&1073741824)===1073741824)return it(t,e,n,u,p,i,d);p|=16|(Ht(t,e,8391476)?8:0)}break;case 209008:if(t.getToken()!==67174411){if((t.getToken()&1073741824)===1073741824)return it(t,e,n,u,p,i,d);p|=256}break;case 209009:if(t.getToken()!==67174411){if((t.getToken()&1073741824)===1073741824)return it(t,e,n,u,p,i,d);p|=512}break;case 12402:if(t.getToken()!==67174411&&!(t.flags&1)){if((t.getToken()&1073741824)===1073741824)return it(t,e,n,u,p,i,d);t.options.next&&(p|=1024)}break}else if(k===69271571)p|=2,u=et(t,a,n,l);else if((k&134217728)===134217728)u=B(t,e);else if(k===8391476)p|=8,g(t,e);else if(t.getToken()===130)p|=8192,u=Nt(t,e|16,n,768);else if((t.getToken()&1073741824)===1073741824)p|=128;else{if(s&&k===2162700)return on(t,e|16,r,n,d);k===-2147483527?(u=I(t,e),t.getToken()!==67174411&&t.report(30,E[t.getToken()&255])):t.report(30,E[t.getToken()&255])}if(p&1816&&(t.getToken()&143360||t.getToken()===-2147483528||t.getToken()===-2147483527?u=I(t,e):(t.getToken()&134217728)===134217728?u=B(t,e):t.getToken()===69271571?(p|=2,u=et(t,e,n,0)):t.getToken()===130?(p|=8192,u=Nt(t,e,n,p)):t.report(135)),!(p&2)&&(t.tokenValue==="constructor"?((t.getToken()&1073741824)===1073741824?t.report(129):!(p&32)&&t.getToken()===67174411&&(p&920?t.report(53,"accessor"):!(e&512)&&(t.flags&32?t.report(54):t.flags|=32)),p|=64):!(p&8192)&&p&32&&t.tokenValue==="prototype"&&t.report(52)),p&1024||t.getToken()!==67174411&&(p&768)===0)return it(t,e,n,u,p,i,d);let h=q(t,e|16,n,p,l,t.tokenStart);return t.finishNode({type:"MethodDefinition",kind:!(p&32)&&p&64?"constructor":p&256?"get":p&512?"set":"method",static:(p&32)>0,computed:(p&2)>0,key:u,value:h,...t.options.next?{decorators:i}:null},d)}function Nt(t,e,r,n){let{tokenStart:a}=t;g(t,e);let{tokenValue:o}=t;return o==="constructor"&&t.report(128),t.options.lexical&&(r||t.report(4,o),n?r.addPrivateIdentifier(o,n):r.addPrivateIdentifierRef(o)),g(t,e),t.finishNode({type:"PrivateIdentifier",name:o},a)}function it(t,e,r,n,a,o,i){let s=null;if(a&8&&t.report(0),t.getToken()===1077936155){g(t,e|32);let{tokenStart:l}=t;t.getToken()===537079927&&t.report(119);let d=11264|(a&64?0:16896);e=(e|d)^d|(a&8?1024:0)|(a&16?2048:0)|(a&64?16384:0)|256|65536,s=J(t,e|16,r,2,0,1,0,1,l),((t.getToken()&1073741824)!==1073741824||(t.getToken()&4194304)===4194304)&&(s=N(t,e|16,r,s,0,0,l),s=L(t,e|16,r,0,0,l,s))}return j(t,e),t.finishNode({type:a&1024?"AccessorProperty":"PropertyDefinition",key:n,value:s,static:(a&32)>0,computed:(a&2)>0,...t.options.next?{decorators:o}:null},i)}function We(t,e,r,n,a,o){if(t.getToken()&143360||!(e&1)&&t.getToken()===-2147483527)return oe(t,e,r,a,o);(t.getToken()&2097152)!==2097152&&t.report(30,E[t.getToken()&255]);let i=t.getToken()===69271571?F(t,e,r,n,1,0,1,a,o):X(t,e,r,n,1,0,1,a,o);return t.destructible&16&&t.report(50),t.destructible&32&&t.report(50),i}function oe(t,e,r,n,a){let o=t.getToken();e&1&&((o&537079808)===537079808?t.report(119):((o&36864)===36864||o===-2147483527)&&t.report(118)),(o&20480)===20480&&t.report(102),o===241771&&(e&1024&&t.report(32),e&2&&t.report(111)),(o&255)===73&&n&24&&t.report(100),o===209006&&(e&2048&&t.report(176),e&2&&t.report(110));let{tokenValue:i,tokenStart:s}=t;return g(t,e),r==null||r.addVarOrBlock(e,i,n,a),t.finishNode({type:"Identifier",name:i},s)}function Bt(t,e,r,n,a){if(n||T(t,e,8456256),t.getToken()===8390721){let l=Bn(t,a),[d,p]=Jn(t,e,r,n);return t.finishNode({type:"JSXFragment",openingFragment:l,children:d,closingFragment:p},a)}t.getToken()===8457014&&t.report(30,E[t.getToken()&255]);let o=null,i=[],s=Xn(t,e,r,n,a);if(!s.selfClosing){[i,o]=Rn(t,e,r,n);let l=Et(o.name);Et(s.name)!==l&&t.report(155,l)}return t.finishNode({type:"JSXElement",children:i,openingElement:s,closingElement:o},a)}function Bn(t,e){return ft(t),t.finishNode({type:"JSXOpeningFragment"},e)}function On(t,e,r,n){T(t,e,8457014);let a=Qe(t,e);return t.getToken()!==8390721&&t.report(25,E[65]),r?ft(t):g(t,e),t.finishNode({type:"JSXClosingElement",name:a},n)}function jn(t,e,r,n){return T(t,e,8457014),t.getToken()!==8390721&&t.report(25,E[65]),r?ft(t):g(t,e),t.finishNode({type:"JSXClosingFragment"},n)}function Rn(t,e,r,n){let a=[];for(;;){let o=Un(t,e,r,n);if(o.type==="JSXClosingElement")return[a,o];a.push(o)}}function Jn(t,e,r,n){let a=[];for(;;){let o=Fn(t,e,r,n);if(o.type==="JSXClosingFragment")return[a,o];a.push(o)}}function Un(t,e,r,n){if(t.getToken()===137)return Ye(t,e);if(t.getToken()===2162700)return ae(t,e,r,1,0);if(t.getToken()===8456256){let{tokenStart:a}=t;return g(t,e),t.getToken()===8457014?On(t,e,n,a):Bt(t,e,r,1,a)}t.report(0)}function Fn(t,e,r,n){if(t.getToken()===137)return Ye(t,e);if(t.getToken()===2162700)return ae(t,e,r,1,0);if(t.getToken()===8456256){let{tokenStart:a}=t;return g(t,e),t.getToken()===8457014?jn(t,e,n,a):Bt(t,e,r,1,a)}t.report(0)}function Ye(t,e){let r=t.tokenStart;g(t,e);let n={type:"JSXText",value:t.tokenValue};return t.options.raw&&(n.raw=t.tokenRaw),t.finishNode(n,r)}function Xn(t,e,r,n,a){(t.getToken()&143360)!==143360&&(t.getToken()&4096)!==4096&&t.report(0);let o=Qe(t,e),i=Kn(t,e,r),s=t.getToken()===8457014;return s&&T(t,e,8457014),t.getToken()!==8390721&&t.report(25,E[65]),n||!s?ft(t):g(t,e),t.finishNode({type:"JSXOpeningElement",name:o,attributes:i,selfClosing:s},a)}function Qe(t,e){let{tokenStart:r}=t;Jt(t);let n=Ot(t,e);if(t.getToken()===21)return Ze(t,e,n,r);for(;S(t,e,67108877);)Jt(t),n=qn(t,e,n,r);return n}function qn(t,e,r,n){let a=Ot(t,e);return t.finishNode({type:"JSXMemberExpression",object:r,property:a},n)}function Kn(t,e,r){let n=[];for(;t.getToken()!==8457014&&t.getToken()!==8390721&&t.getToken()!==1048576;)n.push(Gn(t,e,r));return n}function $n(t,e,r){let n=t.tokenStart;g(t,e),T(t,e,14);let a=P(t,e,r,1,0,t.tokenStart);return T(t,e,1074790415),t.finishNode({type:"JSXSpreadAttribute",argument:a},n)}function Gn(t,e,r){let{tokenStart:n}=t;if(t.getToken()===2162700)return $n(t,e,r);Jt(t);let a=null,o=Ot(t,e);if(t.getToken()===21&&(o=Ze(t,e,o,n)),t.getToken()===1077936155)switch(Vr(t,e)){case 134283267:a=B(t,e);break;case 8456256:a=Bt(t,e,r,0,t.tokenStart);break;case 2162700:a=ae(t,e,r,0,1);break;default:t.report(154)}return t.finishNode({type:"JSXAttribute",value:a,name:o},n)}function Ze(t,e,r,n){T(t,e,21);let a=Ot(t,e);return t.finishNode({type:"JSXNamespacedName",namespace:r,name:a},n)}function ae(t,e,r,n,a){let{tokenStart:o}=t;g(t,e|32);let{tokenStart:i}=t;if(t.getToken()===14)return zn(t,e,r,o);let s=null;return t.getToken()===1074790415?(a&&t.report(157),s=_n(t,{index:t.startIndex,line:t.startLine,column:t.startColumn})):s=P(t,e,r,1,0,i),t.getToken()!==1074790415&&t.report(25,E[15]),n?ft(t):g(t,e),t.finishNode({type:"JSXExpressionContainer",expression:s},o)}function zn(t,e,r,n){T(t,e,14);let a=P(t,e,r,1,0,t.tokenStart);return T(t,e,1074790415),t.finishNode({type:"JSXSpreadChild",expression:a},n)}function _n(t,e){return t.finishNode({type:"JSXEmptyExpression"},e,t.tokenStart)}function Ot(t,e){let r=t.tokenStart;t.getToken()&143360||t.report(30,E[t.getToken()&255]);let{tokenValue:n}=t;return g(t,e),t.finishNode({type:"JSXIdentifier",name:n},r)}function Hn(t,e){return Fr(t,e)}function Wn(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Yn=Wn;function Qn(t){let e=[];for(let r of t)try{return r()}catch(n){e.push(n)}throw Object.assign(new Error("All combinations failed"),{errors:e})}var Zn=Array.prototype.findLast??function(t){for(let e=this.length-1;e>=0;e--){let r=this[e];if(t(r,e,this))return r}},to=It("findLast",function(){if(Array.isArray(this))return Zn}),eo=to;function ro(t){return this[t<0?this.length+t:t]}var no=It("at",function(){if(Array.isArray(this)||typeof this=="string")return ro}),oo=no;function z(t){var n,a,o;let e=((n=t.range)==null?void 0:n[0])??t.start,r=(o=((a=t.declaration)==null?void 0:a.decorators)??t.decorators)==null?void 0:o[0];return r?Math.min(z(r),e):e}function G(t){var e;return((e=t.range)==null?void 0:e[1])??t.end}function ao(t){let e=new Set(t);return r=>e.has(r==null?void 0:r.type)}var ie=ao,io=ie(["Block","CommentBlock","MultiLine"]),se=io,so=ie(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),lo=so,jt=new WeakMap;function co(t){return jt.has(t)||jt.set(t,se(t)&&t.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(t.value)),jt.get(t)}var po=co;function uo(t){if(!se(t))return!1;let e=`*${t.value}*`.split(`
2
+ `);return e.length>1&&e.every(r=>r.trimStart()[0]==="*")}var Rt=new WeakMap;function fo(t){return Rt.has(t)||Rt.set(t,uo(t)),Rt.get(t)}var ke=fo;function go(t){if(t.length<2)return;let e;for(let r=t.length-1;r>=0;r--){let n=t[r];if(e&&G(n)===z(e)&&ke(n)&&ke(e)&&(t.splice(r+1,1),n.value+="*//*"+e.value,n.range=[z(n),G(e)]),!lo(n)&&!se(n))throw new TypeError(`Unknown comment type: "${n.type}".`);e=n}}var ko=go;function mo(t){return t!==null&&typeof t=="object"}var To=mo,st=null;function pt(t){if(st!==null&&typeof st.property){let e=st;return st=pt.prototype=null,e}return st=pt.prototype=t??Object.create(null),new pt}var ho=10;for(let t=0;t<=ho;t++)pt();function yo(t){return pt(t)}function bo(t,e="type"){yo(t);function r(n){let a=n[e],o=t[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return r}var xo=bo,c=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],So={AccessorProperty:c[0],AnyTypeAnnotation:c[1],ArgumentPlaceholder:c[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:c[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:c[3],AsExpression:c[4],AssignmentExpression:c[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:c[6],BigIntLiteral:c[1],BigIntLiteralTypeAnnotation:c[1],BigIntTypeAnnotation:c[1],BinaryExpression:c[5],BindExpression:["object","callee"],BlockStatement:c[7],BooleanLiteral:c[1],BooleanLiteralTypeAnnotation:c[1],BooleanTypeAnnotation:c[1],BreakStatement:c[8],CallExpression:c[9],CatchClause:["param","body"],ChainExpression:c[3],ClassAccessorProperty:c[0],ClassBody:c[10],ClassDeclaration:c[11],ClassExpression:c[11],ClassImplements:c[12],ClassMethod:c[13],ClassPrivateMethod:c[13],ClassPrivateProperty:c[14],ClassProperty:c[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:c[15],ConditionalExpression:c[16],ConditionalTypeAnnotation:c[17],ContinueStatement:c[8],DebuggerStatement:c[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:c[18],DeclareEnum:c[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:c[20],DeclareFunction:["id","predicate"],DeclareHook:c[21],DeclareInterface:c[22],DeclareModule:c[19],DeclareModuleExports:c[23],DeclareNamespace:c[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:c[24],DeclareVariable:c[21],Decorator:c[3],Directive:c[18],DirectiveLiteral:c[1],DoExpression:c[10],DoWhileStatement:c[25],EmptyStatement:c[1],EmptyTypeAnnotation:c[1],EnumBigIntBody:c[26],EnumBigIntMember:c[27],EnumBooleanBody:c[26],EnumBooleanMember:c[27],EnumDeclaration:c[19],EnumDefaultedMember:c[21],EnumNumberBody:c[26],EnumNumberMember:c[27],EnumStringBody:c[26],EnumStringMember:c[27],EnumSymbolBody:c[26],ExistsTypeAnnotation:c[1],ExperimentalRestProperty:c[6],ExperimentalSpreadProperty:c[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:c[28],ExportNamedDeclaration:c[20],ExportNamespaceSpecifier:c[28],ExportSpecifier:["local","exported"],ExpressionStatement:c[3],File:["program"],ForInStatement:c[29],ForOfStatement:c[29],ForStatement:["init","test","update","body"],FunctionDeclaration:c[30],FunctionExpression:c[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:c[15],GenericTypeAnnotation:c[12],HookDeclaration:c[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:c[16],ImportAttribute:c[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:c[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:c[33],ImportSpecifier:["imported","local"],IndexedAccessType:c[34],InferredPredicate:c[1],InferTypeAnnotation:c[35],InterfaceDeclaration:c[22],InterfaceExtends:c[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:c[1],IntersectionTypeAnnotation:c[36],JsExpressionRoot:c[37],JsonRoot:c[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:c[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:c[1],JSXExpressionContainer:c[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:c[1],JSXMemberExpression:c[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:c[1],JSXSpreadAttribute:c[6],JSXSpreadChild:c[3],JSXText:c[1],KeyofTypeAnnotation:c[6],LabeledStatement:["label","body"],Literal:c[1],LogicalExpression:c[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:c[21],MatchExpression:c[39],MatchExpressionCase:c[40],MatchIdentifierPattern:c[21],MatchLiteralPattern:c[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:c[6],MatchStatement:c[39],MatchStatementCase:c[40],MatchUnaryPattern:c[6],MatchWildcardPattern:c[1],MemberExpression:c[38],MetaProperty:["meta","property"],MethodDefinition:c[42],MixedTypeAnnotation:c[1],ModuleExpression:c[10],NeverTypeAnnotation:c[1],NewExpression:c[9],NGChainedExpression:c[43],NGEmptyExpression:c[1],NGMicrosyntax:c[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:c[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:c[32],NGPipeExpression:["left","right","arguments"],NGRoot:c[37],NullableTypeAnnotation:c[23],NullLiteral:c[1],NullLiteralTypeAnnotation:c[1],NumberLiteralTypeAnnotation:c[1],NumberTypeAnnotation:c[1],NumericLiteral:c[1],ObjectExpression:["properties"],ObjectMethod:c[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:c[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:c[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:c[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:c[9],OptionalIndexedAccessType:c[34],OptionalMemberExpression:c[38],ParenthesizedExpression:c[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:c[1],PipelineTopicExpression:c[3],Placeholder:c[1],PrivateIdentifier:c[1],PrivateName:c[21],Program:c[7],Property:c[32],PropertyDefinition:c[14],QualifiedTypeIdentifier:c[44],QualifiedTypeofIdentifier:c[44],RegExpLiteral:c[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:c[6],SatisfiesExpression:c[4],SequenceExpression:c[43],SpreadElement:c[6],StaticBlock:c[10],StringLiteral:c[1],StringLiteralTypeAnnotation:c[1],StringTypeAnnotation:c[1],Super:c[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:c[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:c[1],TemplateLiteral:["quasis","expressions"],ThisExpression:c[1],ThisTypeAnnotation:c[1],ThrowStatement:c[6],TopicReference:c[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:c[45],TSAbstractKeyword:c[1],TSAbstractMethodDefinition:c[32],TSAbstractPropertyDefinition:c[45],TSAnyKeyword:c[1],TSArrayType:c[2],TSAsExpression:c[4],TSAsyncKeyword:c[1],TSBigIntKeyword:c[1],TSBooleanKeyword:c[1],TSCallSignatureDeclaration:c[46],TSClassImplements:c[47],TSConditionalType:c[17],TSConstructorType:c[46],TSConstructSignatureDeclaration:c[46],TSDeclareFunction:c[31],TSDeclareKeyword:c[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:c[26],TSEnumDeclaration:c[19],TSEnumMember:["id","initializer"],TSExportAssignment:c[3],TSExportKeyword:c[1],TSExternalModuleReference:c[3],TSFunctionType:c[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:c[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:c[35],TSInstantiationExpression:c[47],TSInterfaceBody:c[10],TSInterfaceDeclaration:c[22],TSInterfaceHeritage:c[47],TSIntersectionType:c[36],TSIntrinsicKeyword:c[1],TSJSDocAllType:c[1],TSJSDocNonNullableType:c[23],TSJSDocNullableType:c[23],TSJSDocUnknownType:c[1],TSLiteralType:c[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:c[10],TSModuleDeclaration:c[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:c[21],TSNeverKeyword:c[1],TSNonNullExpression:c[3],TSNullKeyword:c[1],TSNumberKeyword:c[1],TSObjectKeyword:c[1],TSOptionalType:c[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:c[23],TSPrivateKeyword:c[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:c[1],TSPublicKeyword:c[1],TSQualifiedName:c[5],TSReadonlyKeyword:c[1],TSRestType:c[23],TSSatisfiesExpression:c[4],TSStaticKeyword:c[1],TSStringKeyword:c[1],TSSymbolKeyword:c[1],TSTemplateLiteralType:["quasis","types"],TSThisType:c[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:c[23],TSTypeAssertion:c[4],TSTypeLiteral:c[26],TSTypeOperator:c[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:c[48],TSTypeParameterInstantiation:c[48],TSTypePredicate:c[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:c[1],TSUnionType:c[36],TSUnknownKeyword:c[1],TSVoidKeyword:c[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:c[24],TypeAnnotation:c[23],TypeCastExpression:c[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:c[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:c[48],TypeParameterInstantiation:c[48],TypePredicate:c[49],UnaryExpression:c[6],UndefinedTypeAnnotation:c[1],UnionTypeAnnotation:c[36],UnknownTypeAnnotation:c[1],UpdateExpression:c[6],V8IntrinsicIdentifier:c[1],VariableDeclaration:["declarations"],VariableDeclarator:c[27],Variance:c[1],VoidPattern:c[1],VoidTypeAnnotation:c[1],WhileStatement:c[25],WithStatement:["object","body"],YieldExpression:c[6]},wo=xo(So),Co=wo;function wt(t,e){if(!To(t))return t;if(Array.isArray(t)){for(let n=0;n<t.length;n++)t[n]=wt(t[n],e);return t}if(e.onEnter){let n=e.onEnter(t)??t;if(n!==t)return wt(n,e);t=n}let r=Co(t);for(let n=0;n<r.length;n++)t[r[n]]=wt(t[r[n]],e);return e.onLeave&&(t=e.onLeave(t)||t),t}var vo=wt;ie(["RegExpLiteral","BigIntLiteral","NumericLiteral","StringLiteral","DirectiveLiteral","Literal","JSXText","TemplateElement","StringLiteralTypeAnnotation","NumberLiteralTypeAnnotation","BigIntLiteralTypeAnnotation"]);function Eo(t,e){let{parser:r,text:n}=e,{comments:a}=t,o=r==="oxc"&&e.oxcAstType==="ts";ko(a);let i=t.type==="File"?t.program:t;i.interpreter&&(a.unshift(i.interpreter),delete i.interpreter),o&&t.hashbang&&(a.unshift(t.hashbang),delete t.hashbang),t.type==="Program"&&(t.range=[0,n.length]);let s;return t=vo(t,{onEnter(l){switch(l.type){case"ParenthesizedExpression":{let{expression:d}=l,p=z(l);if(d.type==="TypeCastExpression")return d.range=[p,G(l)],d;let u=!1;if(!o){if(!s){s=[];for(let h of a)po(h)&&s.push(G(h))}let k=eo(0,s,h=>h<=p);u=k&&n.slice(k,p).trim().length===0}return u?void 0:(d.extra={...d.extra,parenthesized:!0},d)}case"TemplateLiteral":if(l.expressions.length!==l.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(r==="flow"||r==="hermes"||r==="espree"||r==="typescript"||o){let d=z(l)+1,p=G(l)-(l.tail?1:2);l.range=[d,p]}break;case"VariableDeclaration":{let d=oo(0,l.declarations,-1);d!=null&&d.init&&n[G(d)]!==";"&&(l.range=[z(l),G(d)]);break}case"TSParenthesizedType":return l.typeAnnotation;case"TopicReference":t.extra={...t.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(l.types.length===1)return l.types[0];break;case"ImportExpression":r==="hermes"&&l.attributes&&!l.options&&(l.options=l.attributes);break}},onLeave(l){switch(l.type){case"LogicalExpression":if(tr(l))return qt(l);break;case"TSImportType":!l.source&&l.argument.type==="TSLiteralType"&&(l.source=l.argument.literal,delete l.argument);break}}}),t}function tr(t){return t.type==="LogicalExpression"&&t.right.type==="LogicalExpression"&&t.operator===t.right.operator}function qt(t){return tr(t)?qt({type:"LogicalExpression",operator:t.operator,left:qt({type:"LogicalExpression",operator:t.operator,left:t.left,right:t.right.left,range:[z(t.left),G(t.right.left)]}),right:t.right.right,range:[z(t),G(t)]}):t}var Ao=Eo,No=/\*\/$/,Io=/^\/\*\*?/,Po=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Lo=/(^|\s+)\/\/([^\n\r]*)/g,me=/^(\r?\n)+/,Do=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,Te=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Vo=/(\r?\n|^) *\* ?/g,Mo=[];function Bo(t){let e=t.match(Po);return e?e[0].trimStart():""}function Oo(t){t=lt(0,t.replace(Io,"").replace(No,""),Vo,"$1");let e="";for(;e!==t;)e=t,t=lt(0,t,Do,`
3
+ $1 $2
4
+ `);t=t.replace(me,"").trimEnd();let r=Object.create(null),n=lt(0,t,Te,"").replace(me,"").trimEnd(),a;for(;a=Te.exec(t);){let o=lt(0,a[2],Lo,"");if(typeof r[a[1]]=="string"||Array.isArray(r[a[1]])){let i=r[a[1]];r[a[1]]=[...Mo,...Array.isArray(i)?i:[i],o]}else r[a[1]]=o}return{comments:n,pragmas:r}}var jo=["noformat","noprettier"],Ro=["format","prettier"];function Jo(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(`
5
+ `);return e===-1?t:t.slice(0,e)}var Uo=Jo;function er(t){let e=Uo(t);e&&(t=t.slice(e.length+1));let r=Bo(t),{pragmas:n,comments:a}=Oo(r);return{shebang:e,text:t,pragmas:n,comments:a}}function Fo(t){let{pragmas:e}=er(t);return Ro.some(r=>Object.prototype.hasOwnProperty.call(e,r))}function Xo(t){let{pragmas:e}=er(t);return jo.some(r=>Object.prototype.hasOwnProperty.call(e,r))}function qo(t){return t=typeof t=="function"?{parse:t}:t,{astFormat:"estree",hasPragma:Fo,hasIgnorePragma:Xo,locStart:z,locEnd:G,...t}}var Ko=qo,rr="module",nr="commonjs",$o=[rr,nr];function Go(t){if(typeof t=="string"){if(t=t.toLowerCase(),/\.(?:mjs|mts)$/iu.test(t))return rr;if(/\.(?:cjs|cts)$/iu.test(t))return nr}}var zo={next:!0,ranges:!0,webcompat:!0,loc:!1,raw:!0,directives:!0,impliedStrict:!1,preserveParens:!0,lexical:!1,jsx:!0,validateRegex:!1};function _o(t,e){let r=[],n=Hn(t,{...zo,sourceType:e,onComment:r});return n.comments=r,n}function Ho(t){let{description:e,loc:r}=t;return r?Yn(e,{loc:{start:{line:r.start.line,column:r.start.column+1},end:{line:r.end.line,column:r.end.column+1}},cause:t}):t}function Wo(t,e){let r=Go(e==null?void 0:e.filepath),n=(r?[r]:$o).map(o=>()=>_o(t,o)),a;try{a=Qn(n)}catch({errors:[o]}){throw Ho(o)}return Ao(a,{parser:"meriyah",text:t})}var Yo=Ko(Wo);exports.default=ye;exports.parsers=Kt;