@ankhorage/atlas 0.19.2 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +2 -0
- package/.next/build-manifest.json +3 -3
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +12 -0
- package/.next/server/app/_global-error/page.js +1 -1
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/dependency-graph/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/inventory/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/workspace/inventory/route/build-manifest.json +12 -0
- package/.next/server/app/api/workspace/inventory/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/workspace/inventory/route.js +10 -0
- package/.next/server/app/api/workspace/inventory/route.js.map +5 -0
- package/.next/server/app/api/workspace/inventory/route.js.nft.json +1 -0
- package/.next/server/app/api/workspace/inventory/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/workspace/retry/route.js +2 -2
- package/.next/server/app/api/workspace/retry/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/selection/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/workspace/selection/route/build-manifest.json +12 -0
- package/.next/server/app/api/workspace/selection/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/workspace/selection/route.js +11 -0
- package/.next/server/app/api/workspace/selection/route.js.map +5 -0
- package/.next/server/app/api/workspace/selection/route.js.nft.json +1 -0
- package/.next/server/app/api/workspace/selection/route_client-reference-manifest.js +3 -0
- package/.next/server/app/page/server-reference-manifest.json +5 -5
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app-paths-manifest.json +2 -0
- package/.next/server/chunks/[root-of-the-server]__0o38po8._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0o38po8._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__13u3w6h._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__13u3w6h._.js.map +1 -0
- package/.next/server/chunks/{[externals]__16594cb._.js → [root-of-the-server]__14-p326._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__14-p326._.js.map +1 -0
- package/.next/server/chunks/_08j7hwz._.js +5 -0
- package/.next/server/chunks/_08j7hwz._.js.map +1 -0
- package/.next/server/chunks/_0qw9gtg._.js +3 -0
- package/.next/server/chunks/_0qw9gtg._.js.map +1 -0
- package/.next/server/chunks/_0s0tudb._.js +3 -0
- package/.next/server/chunks/_0s0tudb._.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_workspace_inventory_route_actions_1d1a228.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_workspace_selection_route_actions_1-bxxis.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_workspace_selection_route_actions_1-bxxis.js.map +1 -0
- package/.next/server/chunks/node_modules_16e4rf7._.js +4 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__0_6mxrx._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__1o19g7g._.js → [root-of-the-server]__1b7nej0._.js} +1 -1
- package/.next/server/chunks/ssr/_0lahb16._.js +1 -1
- package/.next/server/chunks/ssr/_14-yori._.js +1 -1
- package/.next/server/chunks/ssr/_14-yori._.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +6 -6
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/paradox/badges/npm.svg +3 -3
- package/paradox/diagrams/architecture-overview.mmd +59 -5
- package/paradox/diagrams/export-graph.mmd +12 -0
- package/paradox/diagrams/module-relationships.mmd +47 -5
- package/paradox/index.html +601 -70
- package/paradox/paradox.json +1390 -170
- package/src/app/api/workspace/inventory/route.ts +21 -0
- package/src/app/api/workspace/selection/route.ts +22 -0
- package/src/features/workspace/adapters/inbound/next/createWorkspaceInventoryRoute.ts +38 -0
- package/src/features/workspace/adapters/inbound/next/createWorkspaceProgressResponse.ts +67 -0
- package/src/features/workspace/adapters/inbound/next/createWorkspaceSelectionRoute.ts +90 -0
- package/src/features/workspace/application/use-cases/classifyWorkspaceRepositoryFailure.ts +105 -0
- package/src/features/workspace/composition/analyzeWorkspaceRepositoryAsync.ts +79 -0
- package/src/features/workspace/composition/createWorkspaceRepositoryRuntime.ts +100 -102
- package/src/features/workspace/composition/createWorkspaceRepositoryStatus.ts +12 -8
- package/src/features/workspace/composition/loadWorkspaceProjectSourceAsync.ts +90 -2
- package/src/features/workspace/composition/loadWorkspaceRepositoryBatchAsync.ts +39 -10
- package/src/features/workspace/composition/updateWorkspaceRepositoryRuntimeAsync.ts +137 -0
- package/src/features/workspace/utils/settleBoundedAsync.ts +17 -10
- package/src/types/workspace.ts +42 -0
- package/.next/server/chunks/_0clm3_5._.js +0 -3
- package/.next/server/chunks/_0clm3_5._.js.map +0 -1
- /package/.next/server/chunks/{[externals]__16594cb._.js.map → _next-internal_server_app_api_workspace_inventory_route_actions_1d1a228.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__1o19g7g._.js.map → [root-of-the-server]__1b7nej0._.js.map} +0 -0
- /package/.next/static/{GOvrWiGb2JX15cd-oOcf6 → CthQ01_AjZZJxjY_Q1XBz}/_buildManifest.js +0 -0
- /package/.next/static/{GOvrWiGb2JX15cd-oOcf6 → CthQ01_AjZZJxjY_Q1XBz}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{GOvrWiGb2JX15cd-oOcf6 → CthQ01_AjZZJxjY_Q1XBz}/_ssgManifest.js +0 -0
|
@@ -55,7 +55,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
|
|
|
55
55
|
inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}let r=a8(this.recordingProdStack),i=new iP({idx:t,terminalType:e,label:null==n?void 0:n.LABEL});return r.definition.push(i),oS}},class{initPerformanceTracer(e){if(rN(e,"traceInitPerf")){let t=e.traceInitPerf,n="number"==typeof t;this.traceInitMaxIdent=n?t:1/0,this.traceInitPerf=n?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=oR.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,t){if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let n=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${n}--> <${e}>`);let{time:r,value:i}=a9(t),a=r>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&a(`${n}<-- <${e}> time: ${r}ms`),this.traceInitIndent--,i}}}].forEach(e=>{let t=e.prototype;Object.getOwnPropertyNames(t).forEach(n=>{if("constructor"===n)return;let r=Object.getOwnPropertyDescriptor(t,n);r&&(r.get||r.set)?Object.defineProperty(ob.prototype,n,r):ob.prototype[n]=e.prototype[n]})});class ok extends ob{constructor(e,t=oR){const n=rr(t);n.outputCst=!0,super(e,n)}}var oC=e.i(65191);let oI=(e,t)=>{for(let n=0;n<t.length;n++){let r=t[n],i=r[0],a=r[1];for(let t=i;t<=a;t++)e.add(t)}},oM=new Set([181,257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,314,316,318,320,322,324,326,331,333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371,373,375,378,380,387,389,392,402,405,414,417,419,421,424,429,432,436,438,454,457,460,462,464,466,468,470,472,474,479,481,483,485,487,489,491,493,499,501,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,545,547,549,551,553,555,557,559,561,572,578,583,585,587,589,881,883,887,912,985,987,989,991,993,995,997,999,1001,1003,1005,1013,1016,1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1143,1145,1147,1149,1151,1153,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1228,1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,7681,7683,7685,7687,7689,7691,7693,7695,7697,7699,7701,7703,7705,7707,7709,7711,7713,7715,7717,7719,7721,7723,7725,7727,7729,7731,7733,7735,7737,7739,7741,7743,7745,7747,7749,7751,7753,7755,7757,7759,7761,7763,7765,7767,7769,7771,7773,7775,7777,7779,7781,7783,7785,7787,7789,7791,7793,7795,7797,7799,7801,7803,7805,7807,7809,7811,7813,7815,7817,7819,7821,7823,7825,7827,7839,7841,7843,7845,7847,7849,7851,7853,7855,7857,7859,7861,7863,7865,7867,7869,7871,7873,7875,7877,7879,7881,7883,7885,7887,7889,7891,7893,7895,7897,7899,7901,7903,7905,7907,7909,7911,7913,7915,7917,7919,7921,7923,7925,7927,7929,7931,7933,8126,8458,8467,8495,8500,8505,8526,8580,11361,11368,11370,11372,11377,11393,11395,11397,11399,11401,11403,11405,11407,11409,11411,11413,11415,11417,11419,11421,11423,11425,11427,11429,11431,11433,11435,11437,11439,11441,11443,11445,11447,11449,11451,11453,11455,11457,11459,11461,11463,11465,11467,11469,11471,11473,11475,11477,11479,11481,11483,11485,11487,11489,11500,11502,11507,11559,11565,42561,42563,42565,42567,42569,42571,42573,42575,42577,42579,42581,42583,42585,42587,42589,42591,42593,42595,42597,42599,42601,42603,42605,42625,42627,42629,42631,42633,42635,42637,42639,42641,42643,42645,42647,42649,42651,42787,42789,42791,42793,42795,42797,42803,42805,42807,42809,42811,42813,42815,42817,42819,42821,42823,42825,42827,42829,42831,42833,42835,42837,42839,42841,42843,42845,42847,42849,42851,42853,42855,42857,42859,42861,42863,42874,42876,42879,42881,42883,42885,42887,42892,42894,42897,42903,42905,42907,42909,42911,42913,42915,42917,42919,42921,42927,42933,42935,42937,42939,42941,42943,42947,43002,119995,120779,748,750,884,890,1369,1600,2042,2074,2084,2088,2417,3654,3782,4348,6103,6211,6823,7544,8305,8319,11631,11823,12293,12347,40981,42508,42623,42864,42888,43471,43494,43632,43741,65392,94179,125259,170,186,443,660,1749,1791,1808,1969,2365,2384,2482,2493,2510,2556,2654,2749,2768,2809,2877,2929,2947,2972,3024,3133,3200,3261,3294,3389,3406,3517,3716,3749,3773,3840,4159,4193,4238,4696,4800,6108,6314,7418,12294,12348,12447,12543,13312,19968,42606,42895,42999,43259,43642,43697,43712,43714,43762,44032,64285,64318,67592,67644,68096,69415,69956,70006,70106,70108,70280,70461,70480,70751,70855,71236,71352,71935,72161,72163,72192,72250,72272,72349,72768,73030,73112,94032,94208,123214,126500,126503,126521,126523,126530,126535,126537,126539,126548,126551,126553,126555,126557,126559,126564,126590,131072,173824,177984,178208,183984,453,456,459,498,8124,8140,8188,256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,313,315,317,319,321,323,325,327,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,379,381,388,418,420,425,428,437,444,452,455,458,461,463,465,467,469,471,473,475,478,480,482,484,486,488,490,492,494,497,500,506,508,510,512,514,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,577,584,586,588,590,880,882,886,895,902,908,975,984,986,988,990,992,994,996,998,1e3,1002,1004,1006,1012,1015,1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1162,1164,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1200,1202,1204,1206,1208,1210,1212,1214,1219,1221,1223,1225,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272,1274,1276,1278,1280,1282,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,4295,4301,7680,7682,7684,7686,7688,7690,7692,7694,7696,7698,7700,7702,7704,7706,7708,7710,7712,7714,7716,7718,7720,7722,7724,7726,7728,7730,7732,7734,7736,7738,7740,7742,7744,7746,7748,7750,7752,7754,7756,7758,7760,7762,7764,7766,7768,7770,7772,7774,7776,7778,7780,7782,7784,7786,7788,7790,7792,7794,7796,7798,7800,7802,7804,7806,7808,7810,7812,7814,7816,7818,7820,7822,7824,7826,7828,7838,7840,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7878,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,7902,7904,7906,7908,7910,7912,7914,7916,7918,7920,7922,7924,7926,7928,7930,7932,7934,8025,8027,8029,8031,8450,8455,8469,8484,8486,8488,8517,8579,11360,11367,11369,11371,11378,11381,11394,11396,11398,11400,11402,11404,11406,11408,11410,11412,11414,11416,11418,11420,11422,11424,11426,11428,11430,11432,11434,11436,11438,11440,11442,11444,11446,11448,11450,11452,11454,11456,11458,11460,11462,11464,11466,11468,11470,11472,11474,11476,11478,11480,11482,11484,11486,11488,11490,11499,11501,11506,42560,42562,42564,42566,42568,42570,42572,42574,42576,42578,42580,42582,42584,42586,42588,42590,42592,42594,42596,42598,42600,42602,42604,42624,42626,42628,42630,42632,42634,42636,42638,42640,42642,42644,42646,42648,42650,42786,42788,42790,42792,42794,42796,42798,42802,42804,42806,42808,42810,42812,42814,42816,42818,42820,42822,42824,42826,42828,42830,42832,42834,42836,42838,42840,42842,42844,42846,42848,42850,42852,42854,42856,42858,42860,42862,42873,42875,42880,42882,42884,42886,42891,42893,42896,42898,42902,42904,42906,42908,42910,42912,42914,42916,42918,42920,42934,42936,42938,42940,42942,42946,119964,119970,120134,120778,12295,66369,66378,36,1423,1547,2555,2801,3065,3647,6107,43064,65020,65129,65284,123647,126128,95,8276,65343]);oI(oM,[[97,122],[223,246],[248,255],[311,312],[328,329],[382,384],[396,397],[409,411],[426,427],[441,442],[445,447],[476,477],[495,496],[563,569],[575,576],[591,659],[661,687],[891,893],[940,974],[976,977],[981,983],[1007,1011],[1019,1020],[1072,1119],[1230,1231],[1376,1416],[4304,4346],[4349,4351],[5112,5117],[7296,7304],[7424,7467],[7531,7543],[7545,7578],[7829,7837],[7935,7943],[7952,7957],[7968,7975],[7984,7991],[8e3,8005],[8016,8023],[8032,8039],[8048,8061],[8064,8071],[8080,8087],[8096,8103],[8112,8116],[8118,8119],[8130,8132],[8134,8135],[8144,8147],[8150,8151],[8160,8167],[8178,8180],[8182,8183],[8462,8463],[8508,8509],[8518,8521],[11312,11358],[11365,11366],[11379,11380],[11382,11387],[11491,11492],[11520,11557],[42799,42801],[42865,42872],[42899,42901],[43824,43866],[43872,43879],[43888,43967],[64256,64262],[64275,64279],[65345,65370],[66600,66639],[66776,66811],[68800,68850],[71872,71903],[93792,93823],[119834,119859],[119886,119892],[119894,119911],[119938,119963],[119990,119993],[119997,120003],[120005,120015],[120042,120067],[120094,120119],[120146,120171],[120198,120223],[120250,120275],[120302,120327],[120354,120379],[120406,120431],[120458,120485],[120514,120538],[120540,120545],[120572,120596],[120598,120603],[120630,120654],[120656,120661],[120688,120712],[120714,120719],[120746,120770],[120772,120777],[125218,125251],[688,705],[710,721],[736,740],[1765,1766],[2036,2037],[7288,7293],[7468,7530],[7579,7615],[8336,8348],[11388,11389],[12337,12341],[12445,12446],[12540,12542],[42232,42237],[42652,42653],[42775,42783],[43e3,43001],[43763,43764],[43868,43871],[65438,65439],[92992,92995],[94099,94111],[94176,94177],[123191,123197],[13313,19893],[19969,40943],[44033,55203],[94209,100343],[131073,173782],[173825,177972],[177985,178205],[178209,183969],[183985,191456],[448,451],[1488,1514],[1519,1522],[1568,1599],[1601,1610],[1646,1647],[1649,1747],[1774,1775],[1786,1788],[1810,1839],[1869,1957],[1994,2026],[2048,2069],[2112,2136],[2144,2154],[2208,2228],[2230,2237],[2308,2361],[2392,2401],[2418,2432],[2437,2444],[2447,2448],[2451,2472],[2474,2480],[2486,2489],[2524,2525],[2527,2529],[2544,2545],[2565,2570],[2575,2576],[2579,2600],[2602,2608],[2610,2611],[2613,2614],[2616,2617],[2649,2652],[2674,2676],[2693,2701],[2703,2705],[2707,2728],[2730,2736],[2738,2739],[2741,2745],[2784,2785],[2821,2828],[2831,2832],[2835,2856],[2858,2864],[2866,2867],[2869,2873],[2908,2909],[2911,2913],[2949,2954],[2958,2960],[2962,2965],[2969,2970],[2974,2975],[2979,2980],[2984,2986],[2990,3001],[3077,3084],[3086,3088],[3090,3112],[3114,3129],[3160,3162],[3168,3169],[3205,3212],[3214,3216],[3218,3240],[3242,3251],[3253,3257],[3296,3297],[3313,3314],[3333,3340],[3342,3344],[3346,3386],[3412,3414],[3423,3425],[3450,3455],[3461,3478],[3482,3505],[3507,3515],[3520,3526],[3585,3632],[3634,3635],[3648,3653],[3713,3714],[3718,3722],[3724,3747],[3751,3760],[3762,3763],[3776,3780],[3804,3807],[3904,3911],[3913,3948],[3976,3980],[4096,4138],[4176,4181],[4186,4189],[4197,4198],[4206,4208],[4213,4225],[4352,4680],[4682,4685],[4688,4694],[4698,4701],[4704,4744],[4746,4749],[4752,4784],[4786,4789],[4792,4798],[4802,4805],[4808,4822],[4824,4880],[4882,4885],[4888,4954],[4992,5007],[5121,5740],[5743,5759],[5761,5786],[5792,5866],[5873,5880],[5888,5900],[5902,5905],[5920,5937],[5952,5969],[5984,5996],[5998,6e3],[6016,6067],[6176,6210],[6212,6264],[6272,6276],[6279,6312],[6320,6389],[6400,6430],[6480,6509],[6512,6516],[6528,6571],[6576,6601],[6656,6678],[6688,6740],[6917,6963],[6981,6987],[7043,7072],[7086,7087],[7098,7141],[7168,7203],[7245,7247],[7258,7287],[7401,7404],[7406,7411],[7413,7414],[8501,8504],[11568,11623],[11648,11670],[11680,11686],[11688,11694],[11696,11702],[11704,11710],[11712,11718],[11720,11726],[11728,11734],[11736,11742],[12353,12438],[12449,12538],[12549,12591],[12593,12686],[12704,12730],[12784,12799],[40960,40980],[40982,42124],[42192,42231],[42240,42507],[42512,42527],[42538,42539],[42656,42725],[43003,43009],[43011,43013],[43015,43018],[43020,43042],[43072,43123],[43138,43187],[43250,43255],[43261,43262],[43274,43301],[43312,43334],[43360,43388],[43396,43442],[43488,43492],[43495,43503],[43514,43518],[43520,43560],[43584,43586],[43588,43595],[43616,43631],[43633,43638],[43646,43695],[43701,43702],[43705,43709],[43739,43740],[43744,43754],[43777,43782],[43785,43790],[43793,43798],[43808,43814],[43816,43822],[43968,44002],[55216,55238],[55243,55291],[63744,64109],[64112,64217],[64287,64296],[64298,64310],[64312,64316],[64320,64321],[64323,64324],[64326,64433],[64467,64829],[64848,64911],[64914,64967],[65008,65019],[65136,65140],[65142,65276],[65382,65391],[65393,65437],[65440,65470],[65474,65479],[65482,65487],[65490,65495],[65498,65500],[65536,65547],[65549,65574],[65576,65594],[65596,65597],[65599,65613],[65616,65629],[65664,65786],[66176,66204],[66208,66256],[66304,66335],[66349,66368],[66370,66377],[66384,66421],[66432,66461],[66464,66499],[66504,66511],[66640,66717],[66816,66855],[66864,66915],[67072,67382],[67392,67413],[67424,67431],[67584,67589],[67594,67637],[67639,67640],[67647,67669],[67680,67702],[67712,67742],[67808,67826],[67828,67829],[67840,67861],[67872,67897],[67968,68023],[68030,68031],[68112,68115],[68117,68119],[68121,68149],[68192,68220],[68224,68252],[68288,68295],[68297,68324],[68352,68405],[68416,68437],[68448,68466],[68480,68497],[68608,68680],[68864,68899],[69376,69404],[69424,69445],[69600,69622],[69635,69687],[69763,69807],[69840,69864],[69891,69926],[69968,70002],[70019,70066],[70081,70084],[70144,70161],[70163,70187],[70272,70278],[70282,70285],[70287,70301],[70303,70312],[70320,70366],[70405,70412],[70415,70416],[70419,70440],[70442,70448],[70450,70451],[70453,70457],[70493,70497],[70656,70708],[70727,70730],[70784,70831],[70852,70853],[71040,71086],[71128,71131],[71168,71215],[71296,71338],[71424,71450],[71680,71723],[72096,72103],[72106,72144],[72203,72242],[72284,72329],[72384,72440],[72704,72712],[72714,72750],[72818,72847],[72960,72966],[72968,72969],[72971,73008],[73056,73061],[73063,73064],[73066,73097],[73440,73458],[73728,74649],[74880,75075],[77824,78894],[82944,83526],[92160,92728],[92736,92766],[92880,92909],[92928,92975],[93027,93047],[93053,93071],[93952,94026],[100352,101106],[110592,110878],[110928,110930],[110948,110951],[110960,111355],[113664,113770],[113776,113788],[113792,113800],[113808,113817],[123136,123180],[123584,123627],[124928,125124],[126464,126467],[126469,126495],[126497,126498],[126505,126514],[126516,126519],[126541,126543],[126545,126546],[126561,126562],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[194560,195101],[8072,8079],[8088,8095],[8104,8111],[65,90],[192,214],[216,222],[376,377],[385,386],[390,391],[393,395],[398,401],[403,404],[406,408],[412,413],[415,416],[422,423],[430,431],[433,435],[439,440],[502,504],[570,571],[573,574],[579,582],[904,906],[910,911],[913,929],[931,939],[978,980],[1017,1018],[1021,1071],[1216,1217],[1329,1366],[4256,4293],[5024,5109],[7312,7354],[7357,7359],[7944,7951],[7960,7965],[7976,7983],[7992,7999],[8008,8013],[8040,8047],[8120,8123],[8136,8139],[8152,8155],[8168,8172],[8184,8187],[8459,8461],[8464,8466],[8473,8477],[8490,8493],[8496,8499],[8510,8511],[11264,11310],[11362,11364],[11373,11376],[11390,11392],[42877,42878],[42922,42926],[42928,42932],[42948,42950],[65313,65338],[66560,66599],[66736,66771],[68736,68786],[71840,71871],[93760,93791],[119808,119833],[119860,119885],[119912,119937],[119966,119967],[119973,119974],[119977,119980],[119982,119989],[120016,120041],[120068,120069],[120071,120074],[120077,120084],[120086,120092],[120120,120121],[120123,120126],[120128,120132],[120138,120144],[120172,120197],[120224,120249],[120276,120301],[120328,120353],[120380,120405],[120432,120457],[120488,120512],[120546,120570],[120604,120628],[120662,120686],[120720,120744],[125184,125217],[5870,5872],[8544,8578],[8581,8584],[12321,12329],[12344,12346],[42726,42735],[65856,65908],[66513,66517],[74752,74862],[162,165],[2046,2047],[2546,2547],[8352,8383],[65504,65505],[65509,65510],[73693,73696],[8255,8256],[65075,65076],[65101,65103]]);let ox=new Set([1471,1479,1648,1809,2045,2362,2364,2381,2433,2492,2509,2558,2620,2641,2677,2748,2765,2817,2876,2879,2893,2902,2946,3008,3021,3072,3076,3201,3260,3263,3270,3405,3530,3542,3633,3761,3893,3895,3897,4038,4226,4237,4253,6086,6109,6313,6450,6683,6742,6752,6754,6783,6964,6972,6978,7142,7149,7405,7412,8417,11647,42607,43010,43014,43019,43263,43443,43493,43587,43596,43644,43696,43713,43766,44005,44008,44013,64286,66045,66272,68159,69633,70003,70196,70206,70367,70464,70726,70750,70842,71229,71339,71341,71351,72160,72263,72767,73018,73031,73109,73111,94031,121461,121476,173,1564,1757,1807,2274,6158,65279,69821,69837,917505]);oI(ox,[[768,879],[1155,1159],[1425,1469],[1473,1474],[1476,1477],[1552,1562],[1611,1631],[1750,1756],[1759,1764],[1767,1768],[1770,1773],[1840,1866],[1958,1968],[2027,2035],[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2259,2273],[2275,2306],[2369,2376],[2385,2391],[2402,2403],[2497,2500],[2530,2531],[2561,2562],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2753,2757],[2759,2760],[2786,2787],[2810,2815],[2881,2884],[2914,2915],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3276,3277],[3298,3299],[3328,3329],[3387,3388],[3393,3396],[3426,3427],[3538,3540],[3636,3642],[3655,3662],[3764,3772],[3784,3789],[3864,3865],[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],[4141,4144],[4146,4151],[4153,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],[4229,4230],[4957,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6089,6099],[6155,6157],[6277,6278],[6432,6434],[6439,6440],[6457,6459],[6679,6680],[6744,6750],[6757,6764],[6771,6780],[6832,6845],[6912,6915],[6966,6970],[7019,7027],[7040,7041],[7074,7077],[7080,7081],[7083,7085],[7144,7145],[7151,7153],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],[7416,7417],[7616,7673],[7675,7679],[8400,8412],[8421,8432],[11503,11505],[11744,11775],[12330,12333],[12441,12442],[42612,42621],[42654,42655],[42736,42737],[43045,43046],[43204,43205],[43232,43249],[43302,43309],[43335,43345],[43392,43394],[43446,43449],[43452,43453],[43561,43566],[43569,43570],[43573,43574],[43698,43700],[43703,43704],[43710,43711],[43756,43757],[65024,65039],[65056,65071],[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68325,68326],[68900,68903],[69446,69456],[69688,69702],[69759,69761],[69811,69814],[69817,69818],[69888,69890],[69927,69931],[69933,69940],[70016,70017],[70070,70078],[70089,70092],[70191,70193],[70198,70199],[70371,70378],[70400,70401],[70459,70460],[70502,70508],[70512,70516],[70712,70719],[70722,70724],[70835,70840],[70847,70848],[70850,70851],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],[71231,71232],[71344,71349],[71453,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[72148,72151],[72154,72155],[72193,72202],[72243,72248],[72251,72254],[72273,72278],[72281,72283],[72330,72342],[72344,72345],[72752,72758],[72760,72765],[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],[73020,73021],[73023,73029],[73104,73105],[73459,73460],[92912,92916],[92976,92982],[94095,94098],[113821,113822],[119143,119145],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[121344,121398],[121403,121452],[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[123184,123190],[123628,123631],[125136,125142],[125252,125258],[917760,917999],[1536,1541],[8203,8207],[8234,8238],[8288,8292],[8294,8303],[65529,65531],[78896,78904],[113824,113827],[119155,119162],[917536,917631]]),oI(ox,[[0,8],[14,27],[127,159],[768,879],[6832,6911],[7616,7679],[8400,8447],[65056,65071],[48,57]]);let ow=new Set(function*(){yield*oM,yield*ox}()),o_={};function oP(e){let t=e;return Object.keys(o_).forEach(e=>{let n=o_[e],r=RegExp(`{{${e}}}`,"g");t=t.replace(r,n)}),t}function oB(e,t){o_[e]=oP(t)}function oD(e,t){return new RegExp(oP(e),t)}oB("Digits","[0-9]([0-9_]*[0-9])?"),oB("ExponentPart","[eE][+-]?{{Digits}}"),oB("HexDigit","[0-9a-fA-F]"),oB("HexDigits","{{HexDigit}}(({{HexDigit}}|'_')*{{HexDigit}})?"),oB("FloatTypeSuffix","[fFdD]"),oB("LineTerminator","(\\x0A|(\\x0D(\\x0A)?))"),oB("UnicodeMarker","uu*"),oB("UnicodeEscape","\\\\{{UnicodeMarker}}{{HexDigit}}{4}"),oB("RawInputCharacter","\\\\{{UnicodeMarker}}[0-9a-fA-F]{4}"),oB("UnicodeInputCharacter","({{UnicodeEscape}}|{{RawInputCharacter}})"),oB("OctalDigit","[0-7]"),oB("ZeroToThree","[0-3]"),oB("OctalEscape","\\\\({{OctalDigit}}|{{ZeroToThree}}?{{OctalDigit}}{2})"),oB("EscapeSequence","\\\\[bstnfr\"'\\\\]|{{OctalEscape}}"),oB("StringCharacter",'(?:(?:{{EscapeSequence}})|{{UnicodeEscape}}|(?!["\\\\]).)'),oB("TextBlockCharacter","(?:(?:{{EscapeSequence}})|{{UnicodeEscape}}|(?!\\\\).|\\\\?{{LineTerminator}})");let oj=sS({name:"Identifier",pattern:{exec:function(e,t){let n=t,r=e.codePointAt(n);for(oM.has(r)&&(n++,r>65535&&n++,r=e.codePointAt(n));ow.has(r);)n++,r>65535&&n++,r=e.codePointAt(n);return n===t?null:[e.substring(t,n)]}},line_breaks:!1,start_chars_hint:Array.from(oM,e=>String.fromCharCode(e))}),o$={modes:{global:[],stringTemplate:[],textBlockTemplate:[]},defaultMode:"global"},oF=Object.keys(o$.modes),oK={};function oW(e,t=oF){!e.label&&("string"==typeof e.pattern?e.label=`'${e.pattern}'`:e.pattern instanceof RegExp&&(e.label=`'${e.name}'`));let n=sS(e);return t.forEach(e=>o$.modes[e].push(n)),oK[e.name]=n,n}function oY(e){return e.longer_alt=oj,oW(e)}let oG=oW({name:"RestrictedKeyword",pattern:sl.NA}),oz=oW({name:"Keyword",pattern:sl.NA}),oq=oW({name:"AssignmentOperator",pattern:sl.NA}),oV=oW({name:"BinaryOperator",pattern:sl.NA}),oH=oW({name:"UnaryPrefixOperator",pattern:sl.NA}),oJ=oW({name:"UnaryPrefixOperatorNotPlusMinus",pattern:sl.NA}),oX=oW({name:"UnarySuffixOperator",pattern:sl.NA}),oQ=oW({name:"Separators",pattern:sl.NA});function oZ(e){return e.sort((e,t)=>t.length-e.length)}function o1(){return!1===("u">typeof process&&process.env&&"enabled"===process.env["prettier-java-development-mode"])}oW({name:"WhiteSpace",pattern:oD("[\\x09\\x20\\x0C]|{{LineTerminator}}"),group:sl.SKIPPED}),oW({name:"LineComment",pattern:/\/\/[^\n\r]*/,group:"comments"}),oW({name:"TraditionalComment",pattern:/\/\*([^*]|\*(?!\/))*\*\//,group:"comments"}),oW({name:"BinaryLiteral",pattern:/0[bB][01]([01_]*[01])?[lL]?/}),oW({name:"FloatLiteral",pattern:oD("{{Digits}}\\.({{Digits}})?({{ExponentPart}})?({{FloatTypeSuffix}})?|\\.{{Digits}}({{ExponentPart}})?({{FloatTypeSuffix}})?|{{Digits}}{{ExponentPart}}({{FloatTypeSuffix}})?|{{Digits}}({{ExponentPart}})?{{FloatTypeSuffix}}")}),oW({name:"OctalLiteral",pattern:/0_*[0-7]([0-7_]*[0-7])?[lL]?/}),oW({name:"HexFloatLiteral",pattern:oD("0[xX]({{HexDigits}}\\.?|({{HexDigits}})?\\.{{HexDigits}})[pP][+-]?{{Digits}}[fFdD]?")}),oW({name:"HexLiteral",pattern:/0[xX][0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?[lL]?/}),oW({name:"DecimalLiteral",pattern:oD("(0|[1-9](_+{{Digits}}|({{Digits}})?))[lL]?")}),oW({name:"CharLiteral",pattern:oD("'(?:[^\\\\']|(?:(?:{{EscapeSequence}})|{{UnicodeInputCharacter}}))'")}),oW({name:"TextBlock",pattern:oD('"""[\\x09\\x20\\x0C]*{{LineTerminator}}{{TextBlockCharacter}}*?"""')}),oW({name:"TextBlockTemplateBegin",pattern:oD('"""{{LineTerminator}}{{TextBlockCharacter}}*?\\\\\\{'),push_mode:"textBlockTemplate"}),oW({name:"TextBlockTemplateEnd",pattern:oD('\\}{{TextBlockCharacter}}*?"""'),pop_mode:!0},["textBlockTemplate"]),oW({name:"StringLiteral",pattern:oD('"{{StringCharacter}}*?"')}),oW({name:"StringTemplateBegin",pattern:oD('"{{StringCharacter}}*?\\\\\\{'),push_mode:"stringTemplate"}),oW({name:"StringTemplateEnd",pattern:oD('\\}{{StringCharacter}}*?"'),pop_mode:!0},["stringTemplate"]),oW({name:"StringTemplateMid",pattern:oD("\\}{{StringCharacter}}*?\\\\\\{")},["stringTemplate"]),oW({name:"TextBlockTemplateMid",pattern:oD("\\}{{TextBlockCharacter}}*?\\\\\\{")},["textBlockTemplate"]),oZ(["open","module","requires","transitive","exports","opens","to","uses","provides","when","with","sealed","non-sealed","permits"]).forEach(e=>{oY({name:e[0].toUpperCase()+(0,oC.default)(e.substr(1)),pattern:e,categories:[oj,oG]})}),oZ(["abstract","continue","for","new","switch","assert","default","if","package","synchronized","boolean","do","goto","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while",["_","underscore"]]).forEach(e=>{let t=Array.isArray(e),n=t?e[1]:e,r=t?e[0]:e,i={name:n[0].toUpperCase()+n.substr(1),pattern:r,categories:oz};t&&(i.label=`'${n}'`),oY(i)}),oY({name:"Instanceof",pattern:"instanceof",categories:[oz,oV]}),oY({name:"Var",pattern:"var",categories:oj}),oY({name:"Yield",pattern:"yield",categories:oj}),oY({name:"Record",pattern:"record",categories:oj}),oY({name:"True",pattern:"true"}),oY({name:"False",pattern:"false"}),oY({name:"Null",pattern:"null"}),oW({name:"At",pattern:"@",categories:[oQ]}),oW({name:"Arrow",pattern:"->"}),oW({name:"DotDotDot",pattern:"...",categories:[oQ]}),oW({name:"Dot",pattern:".",categories:[oQ]}),oW({name:"Comma",pattern:",",categories:[oQ]}),oW({name:"Semicolon",pattern:";",categories:[oQ]}),oW({name:"ColonColon",pattern:"::",categories:[oQ]}),oW({name:"Colon",pattern:":"}),oW({name:"QuestionMark",pattern:"?"}),oW({name:"LBrace",pattern:"(",categories:[oQ]}),oW({name:"RBrace",pattern:")",categories:[oQ]}),oW({name:"LCurly",pattern:"{",categories:[oQ],push_mode:o$.defaultMode}),oW({name:"RCurly",pattern:"}",categories:[oQ],pop_mode:!0},[o$.defaultMode]),oW({name:"LSquare",pattern:"[",categories:[oQ]}),oW({name:"RSquare",pattern:"]",categories:[oQ]}),oW({name:"MinusMinus",pattern:"--",categories:[oH,oX,oJ]}),oW({name:"PlusPlus",pattern:"++",categories:[oH,oX,oJ]}),oW({name:"Complement",pattern:"~",categories:[oH,oJ]}),oW({name:"LessEquals",pattern:"<=",categories:[oV]}),oW({name:"LessLessEquals",pattern:"<<=",categories:[oq]}),oW({name:"Less",pattern:"<",categories:[oV]}),oW({name:"GreaterEquals",pattern:">=",categories:[oV]}),oW({name:"GreaterGreaterEquals",pattern:">>=",categories:[oq]}),oW({name:"GreaterGreaterGreaterEquals",pattern:">>>=",categories:[oq]}),oW({name:"Greater",pattern:">",categories:[oV]}),oW({name:"EqualsEquals",pattern:"==",categories:[oV]}),oW({name:"Equals",pattern:"=",categories:[oV,oq]}),oW({name:"MinusEquals",pattern:"-=",categories:[oq]}),oW({name:"Minus",pattern:"-",categories:[oV,oH]}),oW({name:"PlusEquals",pattern:"+=",categories:[oq]}),oW({name:"Plus",pattern:"+",categories:[oV,oH]}),oW({name:"AndAnd",pattern:"&&",categories:[oV]}),oW({name:"AndEquals",pattern:"&=",categories:[oq]}),oW({name:"And",pattern:"&",categories:[oV]}),oW({name:"XorEquals",pattern:"^=",categories:[oq]}),oW({name:"Xor",pattern:"^",categories:[oV]}),oW({name:"NotEquals",pattern:"!=",categories:[oV]}),oW({name:"OrOr",pattern:"||",categories:[oV]}),oW({name:"OrEquals",pattern:"|=",categories:[oq]}),oW({name:"Or",pattern:"|",categories:[oV]}),oW({name:"MultiplyEquals",pattern:"*=",categories:[oq]}),oW({name:"Star",pattern:"*",categories:[oV]}),oW({name:"DivideEquals",pattern:"/=",categories:[oq]}),oW({name:"Divide",pattern:"/",categories:[oV]}),oW({name:"ModuloEquals",pattern:"%=",categories:[oq]}),oW({name:"Modulo",pattern:"%",categories:[oV]}),oW({name:"Not",pattern:"!",categories:[oH,oJ]}),oF.forEach(e=>o$.modes[e].push(oj)),oK.Identifier=oj;let o0=new sl(o$,{ensureOptimizations:!0,skipValidations:o1()}),o2=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},o4=function(e,t){return e===t||e!=e&&t!=t},o7=function(e,t){for(var n=e.length;n--;)if(o4(e[n][0],t))return n;return -1};var o6=Array.prototype.splice;function o3(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}o3.prototype.clear=function(){this.__data__=[],this.size=0},o3.prototype.delete=function(e){var t=this.__data__,n=o7(t,e);return!(n<0)&&(n==t.length-1?t.pop():o6.call(t,n,1),--this.size,!0)},o3.prototype.get=function(e){var t=this.__data__,n=o7(t,e);return n<0?void 0:t[n][1]},o3.prototype.has=function(e){return o7(this.__data__,e)>-1},o3.prototype.set=function(e,t){var n=this.__data__,r=o7(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var o8=e.g&&e.g.Object===Object&&e.g,o9="object"==typeof self&&self&&self.Object===Object&&self,o5=o8||o9||Function("return this")(),le=o5.Symbol,lt=Object.prototype,ln=lt.hasOwnProperty,lr=lt.toString,li=le?le.toStringTag:void 0;let la=function(e){var t=ln.call(e,li),n=e[li];try{e[li]=void 0;var r=!0}catch(e){}var i=lr.call(e);return r&&(t?e[li]=n:delete e[li]),i};var ls=Object.prototype.toString,lo=le?le.toStringTag:void 0;let ll=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":lo&&lo in Object(e)?la(e):ls.call(e)},lc=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},lu=function(e){if(!lc(e))return!1;var t=ll(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var lh=o5["__core-js_shared__"],lf=(m=/[^.]+$/.exec(lh&&lh.keys&&lh.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",lp=Function.prototype.toString;let ld=function(e){if(null!=e){try{return lp.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var lm=/^\[object .+?Constructor\]$/,lg=Object.prototype,lE=Function.prototype.toString,ly=lg.hasOwnProperty,lS=RegExp("^"+lE.call(ly).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let lL=function(e){return!!lc(e)&&(!lf||!(lf in e))&&(lu(e)?lS:lm).test(ld(e))},lv=function(e,t){var n=null==e?void 0:e[t];return lL(n)?n:void 0};var lU=lv(o5,"Map"),lT=lv(Object,"create"),lO=Object.prototype.hasOwnProperty,lA=Object.prototype.hasOwnProperty;function lR(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}lR.prototype.clear=function(){this.__data__=lT?lT(null):{},this.size=0},lR.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},lR.prototype.get=function(e){var t=this.__data__;if(lT){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return lO.call(t,e)?t[e]:void 0},lR.prototype.has=function(e){var t=this.__data__;return lT?void 0!==t[e]:lA.call(t,e)},lR.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=lT&&void 0===t?"__lodash_hash_undefined__":t,this};let lN=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},lb=function(e,t){var n=e.__data__;return lN(t)?n["string"==typeof t?"string":"hash"]:n.map};function lk(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function lC(e){var t=this.__data__=new o3(e);this.size=t.size}function lI(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new lk;++t<n;)this.add(e[t])}lk.prototype.clear=function(){this.size=0,this.__data__={hash:new lR,map:new(lU||o3),string:new lR}},lk.prototype.delete=function(e){var t=lb(this,e).delete(e);return this.size-=!!t,t},lk.prototype.get=function(e){return lb(this,e).get(e)},lk.prototype.has=function(e){return lb(this,e).has(e)},lk.prototype.set=function(e,t){var n=lb(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},lC.prototype.clear=function(){this.__data__=new o3,this.size=0},lC.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},lC.prototype.get=function(e){return this.__data__.get(e)},lC.prototype.has=function(e){return this.__data__.has(e)},lC.prototype.set=function(e,t){var n=this.__data__;if(n instanceof o3){var r=n.__data__;if(!lU||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new lk(r)}return n.set(e,t),this.size=n.size,this},lI.prototype.add=lI.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},lI.prototype.has=function(e){return this.__data__.has(e)};let lM=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},lx=function(e,t){return e.has(t)},lw=function(e,t,n,r,i,a){var s=1&n,o=e.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var h=-1,f=!0,p=2&n?new lI:void 0;for(a.set(e,t),a.set(t,e);++h<o;){var d=e[h],m=t[h];if(r)var g=s?r(m,d,h,t,e,a):r(d,m,h,e,t,a);if(void 0!==g){if(g)continue;f=!1;break}if(p){if(!lM(t,function(e,t){if(!lx(p,t)&&(d===e||i(d,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(d===m||i(d,m,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f};var l_=o5.Uint8Array;let lP=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n},lB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n};var lD=le?le.prototype:void 0,lj=lD?lD.valueOf:void 0;let l$=function(e,t,n,r,i,a,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!a(new l_(e),new l_(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o4(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var o=lP;case"[object Set]":var l=1&r;if(o||(o=lB),e.size!=t.size&&!l)break;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var u=lw(o(e),o(t),r,i,a,s);return s.delete(e),u;case"[object Symbol]":if(lj)return lj.call(e)==lj.call(t)}return!1},lF=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};var lK=Array.isArray;let lW=function(e,t,n){var r=t(e);return lK(e)?r:lF(r,n(e))},lY=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a};var lG=Object.prototype.propertyIsEnumerable,lz=Object.getOwnPropertySymbols,lq=lz?function(e){return null==e?[]:lY(lz(e=Object(e)),function(t){return lG.call(e,t)})}:function(){return[]};let lV=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},lH=function(e){return null!=e&&"object"==typeof e},lJ=function(e){return lH(e)&&"[object Arguments]"==ll(e)};var lX=Object.prototype,lQ=lX.hasOwnProperty,lZ=lX.propertyIsEnumerable,l1=lJ(function(){return arguments}())?lJ:function(e){return lH(e)&&lQ.call(e,"callee")&&!lZ.call(e,"callee")};let l0=function(){return!1};var l2=/^(?:0|[1-9]\d*)$/;let l4=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&l2.test(e))&&e>-1&&e%1==0&&e<t},l7=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff};var l6={};l6["[object Float32Array]"]=l6["[object Float64Array]"]=l6["[object Int8Array]"]=l6["[object Int16Array]"]=l6["[object Int32Array]"]=l6["[object Uint8Array]"]=l6["[object Uint8ClampedArray]"]=l6["[object Uint16Array]"]=l6["[object Uint32Array]"]=!0,l6["[object Arguments]"]=l6["[object Array]"]=l6["[object ArrayBuffer]"]=l6["[object Boolean]"]=l6["[object DataView]"]=l6["[object Date]"]=l6["[object Error]"]=l6["[object Function]"]=l6["[object Map]"]=l6["[object Number]"]=l6["[object Object]"]=l6["[object RegExp]"]=l6["[object Set]"]=l6["[object String]"]=l6["[object WeakMap]"]=!1;var l3=function(){try{return!1}catch(e){}}(),l8=l3&&l3.isTypedArray,l9=l8?function(e){return l8(e)}:function(e){return lH(e)&&l7(e.length)&&!!l6[ll(e)]},l5=Object.prototype.hasOwnProperty;let ce=function(e,t){var n=lK(e),r=!n&&l1(e),i=!n&&!r&&l0(),a=!n&&!r&&!i&&l9(e),s=n||r||i||a,o=s?lV(e.length,String):[],l=o.length;for(var c in e)(t||l5.call(e,c))&&!(s&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||l4(c,l)))&&o.push(c);return o};var ct=Object.prototype;let cn=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ct)};var cr=(g=Object.keys,E=Object,function(e){return g(E(e))}),ci=Object.prototype.hasOwnProperty;let ca=function(e){if(!cn(e))return cr(e);var t=[];for(var n in Object(e))ci.call(e,n)&&"constructor"!=n&&t.push(n);return t},cs=function(e){return null!=e&&l7(e.length)&&!lu(e)},co=function(e){return cs(e)?ce(e):ca(e)},cl=function(e){return lW(e,co,lq)};var cc=Object.prototype.hasOwnProperty;let cu=function(e,t,n,r,i,a){var s=1&n,o=cl(e),l=o.length;if(l!=cl(t).length&&!s)return!1;for(var c=l;c--;){var u=o[c];if(!(s?u in t:cc.call(t,u)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var d=s;++c<l;){var m=e[u=o[c]],g=t[u];if(r)var E=s?r(g,m,u,t,e,a):r(m,g,u,e,t,a);if(!(void 0===E?m===g||i(m,g,n,r,a):E)){p=!1;break}d||(d="constructor"==u)}if(p&&!d){var y=e.constructor,S=t.constructor;y!=S&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof S&&S instanceof S)&&(p=!1)}return a.delete(e),a.delete(t),p};var ch=lv(o5,"DataView"),cf=lv(o5,"Promise"),cp=lv(o5,"Set"),cd=lv(o5,"WeakMap"),cm="[object Map]",cg="[object Promise]",cE="[object Set]",cy="[object WeakMap]",cS="[object DataView]",cL=ld(ch),cv=ld(lU),cU=ld(cf),cT=ld(cp),cO=ld(cd),cA=ll;(ch&&cA(new ch(new ArrayBuffer(1)))!=cS||lU&&cA(new lU)!=cm||cf&&cA(cf.resolve())!=cg||cp&&cA(new cp)!=cE||cd&&cA(new cd)!=cy)&&(cA=function(e){var t=ll(e),n="[object Object]"==t?e.constructor:void 0,r=n?ld(n):"";if(r)switch(r){case cL:return cS;case cv:return cm;case cU:return cg;case cT:return cE;case cO:return cy}return t});let cR=cA;var cN="[object Arguments]",cb="[object Array]",ck="[object Object]",cC=Object.prototype.hasOwnProperty;let cI=function(e,t,n,r,i,a){var s=lK(e),o=lK(t),l=s?cb:cR(e),c=o?cb:cR(t);l=l==cN?ck:l,c=c==cN?ck:c;var u=l==ck,h=c==ck,f=l==c;if(f&&l0()){if(!l0())return!1;s=!0,u=!1}if(f&&!u)return a||(a=new lC),s||l9(e)?lw(e,t,n,r,i,a):l$(e,t,l,n,r,i,a);if(!(1&n)){var p=u&&cC.call(e,"__wrapped__"),d=h&&cC.call(t,"__wrapped__");if(p||d){var m=p?e.value():e,g=d?t.value():t;return a||(a=new lC),i(m,g,n,r,a)}}return!!f&&(a||(a=new lC),cu(e,t,n,r,i,a))},cM=function e(t,n,r,i,a){return t===n||(null!=t&&null!=n&&(lH(t)||lH(n))?cI(t,n,r,i,e,a):t!=t&&n!=n)},cx=function(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Object(e);i--;){var o=n[i];if(s&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){var l=(o=n[i])[0],c=e[l],u=o[1];if(s&&o[2]){if(void 0===c&&!(l in e))return!1}else{var h=new lC;if(r)var f=r(c,u,l,e,t,h);if(!(void 0===f?cM(u,c,3,r,h):f))return!1}}return!0},cw=function(e){return e==e&&!lc(e)},c_=function(e){for(var t=co(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,cw(i)]}return t},cP=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},cB=function(e){var t=c_(e);return 1==t.length&&t[0][2]?cP(t[0][0],t[0][1]):function(n){return n===e||cx(n,e,t)}},cD=function(e){return"symbol"==typeof e||lH(e)&&"[object Symbol]"==ll(e)};var cj=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c$=/^\w*$/;let cF=function(e,t){if(lK(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||cD(e))||c$.test(e)||!cj.test(e)||null!=t&&e in Object(t)};function cK(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(cK.Cache||lk),n}cK.Cache=lk;var cW=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cY=/\\(\\)?/g,cG=(S=(y=cK(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(cW,function(e,n,r,i){t.push(r?i.replace(cY,"$1"):n||e)}),t},function(e){return 500===S.size&&S.clear(),e})).cache,y),cz=1/0,cq=le?le.prototype:void 0,cV=cq?cq.toString:void 0;let cH=function e(t){if("string"==typeof t)return t;if(lK(t))return o2(t,e)+"";if(cD(t))return cV?cV.call(t):"";var n=t+"";return"0"==n&&1/t==-cz?"-0":n},cJ=function(e,t){return lK(e)?e:cF(e,t)?[e]:cG(null==e?"":cH(e))};var cX=1/0;let cQ=function(e){if("string"==typeof e||cD(e))return e;var t=e+"";return"0"==t&&1/e==-cX?"-0":t},cZ=function(e,t){t=cJ(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[cQ(t[n++])];return n&&n==r?e:void 0},c1=function(e,t,n){var r=null==e?void 0:cZ(e,t);return void 0===r?n:r},c0=function(e,t){return null!=e&&t in Object(e)},c2=function(e,t,n){t=cJ(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var s=cQ(t[r]);if(!(a=null!=e&&n(e,s)))break;e=e[s]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&l7(i)&&l4(s,i)&&(lK(e)||l1(e))},c4=function(e){return e},c7=function(e){var t;return cF(e)?(t=cQ(e),function(e){return null==e?void 0:e[t]}):function(t){return cZ(t,e)}},c6=function(e){if("function"==typeof e)return e;if(null==e)return c4;if("object"==typeof e){var t,n;return lK(e)?(t=e[0],n=e[1],cF(t)&&cw(n)?cP(cQ(t),n):function(e){var r=c1(e,t);return void 0===r&&r===n?null!=e&&c2(e,t,c0):cM(n,r,3)}):cB(e)}return c7(e)},c3=function(e,t,n){for(var r=-1,i=Object(e),a=n(e),s=a.length;s--;){var o=a[++r];if(!1===t(i[o],o,i))break}return e};var c8=(L=function(e,t){return e&&c3(e,t,co)},function(e,t){if(null==e)return e;if(!cs(e))return L(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e});let c9=function(e,t){var n=-1,r=cs(e)?Array(e.length):[];return c8(e,function(e,i,a){r[++n]=t(e,i,a)}),r},c5=function(e,t){return(lK(e)?o2:c9)(e,c6(t))},ue=function(e,t){var n=[];return c8(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n};function ut(e,t,n){return`${e.name}_${t}_${n}`}class un{constructor(e){this.target=e}isEpsilon(){return!1}}class ur extends un{constructor(e,t){super(e),this.tokenType=t}}class ui extends un{constructor(e){super(e)}isEpsilon(){return!0}}class ua extends un{constructor(e,t,n){super(e),this.rule=t,this.followState=n}isEpsilon(){return!0}}function us(e,t,n){var r,i;let a=(r=c5(n.definition,n=>(function e(t,n,r){var i,a,s,o,l,c,u,h,f,p,d,m,g,E,y,S,L,v,U,T,O,A,R,N,b;if(r instanceof iP)return uh(t,n,r.terminalType,r);if(r instanceof iN){let e,o,l,c;return i=t,a=n,e=(s=r).referencedRule,o=i.ruleToStartState.get(e),l=up(i,a,s,{type:1}),ud(l,new ua(o,e,c=up(i,a,s,{type:1}))),{left:l,right:c}}if(r instanceof i_){let i,a;return i=up(o=t,l=n,c=r,{type:1}),uc(o,i),a=c5(c.definition,t=>e(o,l,t)),uu(o,l,i,c,...a)}if(r instanceof iC){let e,i,a;return e=up(u=t,h=n,f=r,{type:1}),uc(u,e),i=uu(u,h,e,f,us(u,h,f)),p=u,d=h,m=f,uf(a=(g=i).left,g.right),p.decisionMap[ut(d,"Option",m.idx)]=a,g}if(r instanceof ix){let e,i;return e=up(E=t,y=n,S=r,{type:5}),uc(E,e),i=uu(E,y,e,S,us(E,y,S)),ul(E,y,S,i)}else if(r instanceof iw){let e,i,a;return e=up(L=t,v=n,U=r,{type:5}),uc(L,e),i=uu(L,v,e,U,us(L,v,U)),a=uh(L,v,U.separator,U),ul(L,v,U,i,a)}else if(r instanceof iI){let e,i;return e=up(T=t,O=n,A=r,{type:4}),uc(T,e),i=uu(T,O,e,A,us(T,O,A)),uo(T,O,A,i)}else{if(!(r instanceof iM))return us(t,n,r);let e,i,a;return e=up(R=t,N=n,b=r,{type:4}),uc(R,e),i=uu(R,N,e,b,us(R,N,b)),a=uh(R,N,b.separator,b),uo(R,N,b,i,a)}})(e,t,n)),i=e=>void 0!==e,(lK(r)?lY:ue)(r,c6(i)));return 1===a.length?a[0]:0===a.length?void 0:function(e,t){let n=t.length;for(let a=0;a<n-1;a++){var r,i;let n,s=t[a];1===s.left.transitions.length&&(n=s.left.transitions[0]);let o=n instanceof ua,l=n,c=t[a+1].left;1===s.left.type&&1===s.right.type&&void 0!==n&&(o&&l.followState===s.right||n.target===s.right)?(o?l.followState=c:n.target=c,r=e,i=s.right,r.states.splice(r.states.indexOf(i),1)):uf(s.right,c)}let a=t[0],s=t[n-1];return{left:a.left,right:s.right}}(e,a)}function uo(e,t,n,r,i){let a=r.left,s=r.right,o=up(e,t,n,{type:11});uc(e,o);let l=up(e,t,n,{type:12});return a.loopback=o,l.loopback=o,e.decisionMap[ut(t,i?"RepetitionMandatoryWithSeparator":"RepetitionMandatory",n.idx)]=o,uf(s,o),void 0===i?(uf(o,a),uf(o,l)):(uf(o,l),uf(o,i.left),uf(i.right,a)),{left:a,right:l}}function ul(e,t,n,r,i){let a=r.left,s=r.right,o=up(e,t,n,{type:10});uc(e,o);let l=up(e,t,n,{type:12}),c=up(e,t,n,{type:9});return o.loopback=c,l.loopback=c,uf(o,a),uf(o,l),uf(s,c),void 0!==i?(uf(c,l),uf(c,i.left),uf(i.right,a)):uf(c,o),e.decisionMap[ut(t,i?"RepetitionWithSeparator":"Repetition",n.idx)]=o,{left:o,right:l}}function uc(e,t){return e.decisionStates.push(t),t.decision=e.decisionStates.length-1,t.decision}function uu(e,t,n,r,...i){let a=up(e,t,r,{type:8,start:n});for(let e of(n.end=a,i))void 0!==e?(uf(n,e.left),uf(e.right,a)):uf(n,a);return e.decisionMap[ut(t,function(e){if(e instanceof i_)return"Alternation";if(e instanceof iC)return"Option";if(e instanceof ix)return"Repetition";if(e instanceof iw)return"RepetitionWithSeparator";if(e instanceof iI)return"RepetitionMandatory";else if(e instanceof iM)return"RepetitionMandatoryWithSeparator";else throw Error("Invalid production type encountered")}(r),r.idx)]=n,{left:n,right:a}}function uh(e,t,n,r){let i=up(e,t,r,{type:1}),a=up(e,t,r,{type:1});return ud(i,new ur(a,n)),{left:i,right:a}}function uf(e,t){ud(e,new ui(t))}function up(e,t,n,r){let i=Object.assign({atn:e,production:n,epsilonOnlyTransitions:!1,rule:t,transitions:[],nextTokenWithinRule:[],stateNumber:e.states.length},r);return e.states.push(i),i}function ud(e,t){0===e.transitions.length&&(e.epsilonOnlyTransitions=t.isEpsilon()),e.transitions.push(t)}let um={};class ug{constructor(){this.map={},this.configs=[]}get size(){return this.configs.length}finalize(){this.map={}}add(e){let t=uE(e);t in this.map||(this.map[t]=this.configs.length,this.configs.push(e))}get elements(){return this.configs}get alts(){return c5(this.configs,e=>e.alt)}get key(){let e="";for(let t in this.map)e+=t+":";return e}}function uE(e,t=!0){return`${t?`a${e.alt}`:""}s${e.state.stateNumber}:${e.stack.map(e=>e.stateNumber.toString()).join("_")}`}let uy=function(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(void 0===o?s==s&&!cD(s):n(s,o)))var o=s,l=a}return l},uS=function(e,t){return e<t};var uL=le?le.isConcatSpreadable:void 0;let uv=function(e){return lK(e)||l1(e)||!!(uL&&e&&e[uL])},uU=function e(t,n,r,i,a){var s=-1,o=t.length;for(r||(r=uv),a||(a=[]);++s<o;){var l=t[s];n>0&&r(l)?n>1?e(l,n-1,r,i,a):lF(a,l):i||(a[a.length]=l)}return a},uT=function(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return -1},uO=function(e){return e!=e},uA=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1},uR=function(e,t){return!!(null==e?0:e.length)&&(t==t?uA(e,t,0):uT(e,uO,0))>-1},uN=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1};var ub=cp&&1/lB(new cp([,-0]))[1]==1/0?function(e){return new cp(e)}:function(){};let uk=function(e,t,n){var r=-1,i=uR,a=e.length,s=!0,o=[],l=o;if(n)s=!1,i=uN;else if(a>=200){var c=t?null:ub(e);if(c)return lB(c);s=!1,i=lx,l=new lI}else l=t?[]:o;t:for(;++r<a;){var u=e[r],h=t?t(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var f=l.length;f--;)if(l[f]===h)continue t;t&&l.push(h),o.push(u)}else i(l,h,n)||(l!==o&&l.push(h),o.push(u))}return o},uC=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},uI=function(e,t){return(lK(e)?uC:c8)(e,"function"==typeof t?t:c4)};var uM=Object.prototype.hasOwnProperty;let ux=function(e){if(null==e)return!0;if(cs(e)&&(lK(e)||"string"==typeof e||"function"==typeof e.splice||l0()||l9(e)||l1(e)))return!e.length;var t=cR(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(cn(e))return!ca(e).length;for(var n in e)if(uM.call(e,n))return!1;return!0},uw=function(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n},u_=function(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n},uP=function(e,t,n){var r=lK(e)?uw:u_,i=arguments.length<3;return r(e,c6(t),n,i,c8)};class uB{constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,t){this.predicates[e]=t}toString(){let e="",t=this.predicates.length;for(let n=0;n<t;n++)e+=!0===this.predicates[n]?"1":"0";return e}}let uD=new uB;class uj extends oh{constructor(e){var t;super(),this.logging=null!=(t=null==e?void 0:e.logging)?t:e=>console.log(e)}initialize(e){this.atn=function(e){let t={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};!function(e,t){let n=t.length;for(let r=0;r<n;r++){let n=t[r],i=up(e,n,void 0,{type:2}),a=up(e,n,void 0,{type:7});i.stop=a,e.ruleToStartState.set(n,i),e.ruleToStopState.set(n,a)}}(t,e);let n=e.length;for(let r=0;r<n;r++){let n=e[r],i=us(t,n,n);void 0!==i&&function(e,t,n){uf(e.ruleToStartState.get(t),n.left);let r=e.ruleToStopState.get(t);uf(n.right,r)}(t,n,i)}return t}(e.rules),this.dfas=function(e){let t=e.decisionStates.length,n=Array(t);for(let r=0;r<t;r++)n[r]=function(e,t){let n={};return r=>{let i=r.toString(),a=n[i];return void 0!==a||(a={atnStartState:e,decision:t,states:{}},n[i]=a),a}}(e.decisionStates[r],r);return n}(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){let{prodOccurrence:t,rule:n,hasPredicates:r,dynamicTokensEnabled:i}=e,a=this.dfas,s=this.logging,o=ut(n,"Alternation",t),l=this.atn.decisionMap[o].decision,c=c5(sW({maxLookahead:1,occurrence:t,prodType:"Alternation",rule:n}),e=>c5(e,e=>e[0]));if(u$(c,!1)&&!i){let e=uP(c,(e,t,n)=>(uI(t,t=>{t&&(e[t.tokenTypeIdx]=n,uI(t.categoryMatches,t=>{e[t]=n}))}),e),{});return r?function(t){var n;let r=e[this.LA(1).tokenTypeIdx];if(void 0!==t&&void 0!==r){let e=null==(n=t[r])?void 0:n.GATE;if(void 0!==e&&!1===e.call(this))return}return r}:function(){return e[this.LA(1).tokenTypeIdx]}}return r?function(e){let t=new uB,n=void 0===e?0:e.length;for(let r=0;r<n;r++){let n=null==e?void 0:e[r].GATE;t.set(r,void 0===n||n.call(this))}let r=uF.call(this,a,l,t,s);return"number"==typeof r?r:void 0}:function(){let e=uF.call(this,a,l,uD,s);return"number"==typeof e?e:void 0}}buildLookaheadForOptional(e){let{prodOccurrence:t,rule:n,prodType:r,dynamicTokensEnabled:i}=e,a=this.dfas,s=this.logging,o=ut(n,r,t),l=this.atn.decisionMap[o].decision,c=c5(sW({maxLookahead:1,occurrence:t,prodType:r,rule:n}),e=>c5(e,e=>e[0]));if(u$(c)&&c[0][0]&&!i){var u;let e=(null==(u=c[0])?0:u.length)?uU(u,1):[];if(1===e.length&&ux(e[0].categoryMatches)){let t=e[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===t}}{let t=uP(e,(e,t)=>(void 0!==t&&(e[t.tokenTypeIdx]=!0,uI(t.categoryMatches,t=>{e[t]=!0})),e),{});return function(){return!0===t[this.LA(1).tokenTypeIdx]}}}return function(){let e=uF.call(this,a,l,uD,s);return"object"!=typeof e&&0===e}}}function u$(e,t=!0){let n=new Set;for(let r of e){let e=new Set;for(let i of r){if(void 0===i)if(!t)return!1;else break;for(let t of[i.tokenTypeIdx].concat(i.categoryMatches))if(n.has(t)){if(!e.has(t))return!1}else n.add(t),e.add(t)}}return!0}function uF(e,t,n,r){let i=e[t](n),a=i.start;if(void 0===a){let e=function(e){let t=new ug,n=e.transitions.length;for(let r=0;r<n;r++)uV({state:e.transitions[r].target,alt:r,stack:[]},t);return t}(i.atnStartState);a=uq(i,uG(e)),i.start=a}return uK.apply(this,[i,a,n,r])}function uK(e,t,n,r){let i=t,a=1,s=[],o=this.LA(a++);for(;;){var l,c;let t=(l=i,c=o,l.edges[c.tokenTypeIdx]);if(void 0===t&&(t=uW.apply(this,[e,i,o,a,n,r])),t===um)return function(e,t,n){var r,i;return{actualToken:n,possibleTokenTypes:(r=uU(c5(t.configs.elements,e=>e.state.transitions),1).filter(e=>e instanceof ur).map(e=>e.tokenType),i=e=>e.tokenTypeIdx,r&&r.length?uk(r,c6(i)):[]),tokenPath:e}}(s,i,o);if(!0===t.isAcceptState)return t.prediction;i=t,s.push(o),o=this.LA(a++)}}function uW(e,t,n,r,i,a){let s=function(e,t,n){let r,i=new ug,a=[];for(let r of e.elements){if(!1===n.is(r.alt))continue;if(7===r.state.type){a.push(r);continue}let e=r.state.transitions.length;for(let n=0;n<e;n++){let e=function(e,t){if(e instanceof ur&&a5(t,e.tokenType))return e.target}(r.state.transitions[n],t);void 0!==e&&i.add({state:e,alt:r.alt,stack:r.stack})}}if(0===a.length&&1===i.size&&(r=i),void 0===r)for(let e of(r=new ug,i.elements))uV(e,r);if(a.length>0&&!function(e){for(let t of e.elements)if(7===t.state.type)return!0;return!1}(r))for(let e of a)r.add(e);return r}(t.configs,n,i);if(0===s.size)return uz(e,t,n,um),um;let o=uG(s),l=function(e,t){let n;for(let r of e.elements)if(!0===t.is(r.alt)){if(void 0===n)n=r.alt;else if(n!==r.alt)return}return n}(s,i);if(void 0!==l)o.isAcceptState=!0,o.prediction=l,o.configs.uniqueAlt=l;else if(function(e){if(function(e){for(let t of e.elements)if(7!==t.state.type)return!1;return!0}(e))return!0;let t=function(e){let t=new Map;for(let n of e){let e=uE(n,!1),r=t.get(e);void 0===r&&(r={},t.set(e,r)),r[n.alt]=!0}return t}(e.elements);return function(e){for(let t of Array.from(e.values()))if(Object.keys(t).length>1)return!0;return!1}(t)&&!function(e){for(let t of Array.from(e.values()))if(1===Object.keys(t).length)return!0;return!1}(t)}(s)){var c;let t=(c=s.alts)&&c.length?uy(c,c4,uS):void 0;o.isAcceptState=!0,o.prediction=t,o.configs.uniqueAlt=t,uY.apply(this,[e,r,s.alts,a])}return uz(e,t,n,o)}function uY(e,t,n,r){var i;let a,s,o,l=[];for(let e=1;e<=t;e++)l.push(this.LA(e).tokenType);let c=e.atnStartState;r((a=c5((i={topLevelRule:c.rule,ambiguityIndices:n,production:c.production,prefixPath:l}).prefixPath,e=>sc(e)).join(", "),s=0===i.production.idx?"":i.production.idx,(o=`Ambiguous Alternatives Detected: <${i.ambiguityIndices.join(", ")}> in <${function(e){if(e instanceof iN)return"SUBRULE";if(e instanceof iC)return"OPTION";if(e instanceof i_)return"OR";if(e instanceof iI)return"AT_LEAST_ONE";if(e instanceof iM)return"AT_LEAST_ONE_SEP";else if(e instanceof iw)return"MANY_SEP";else if(e instanceof ix)return"MANY";else if(e instanceof iP)return"CONSUME";else throw Error("non exhaustive match")}(i.production)}${s}> inside <${i.topLevelRule.name}> Rule,
|
|
56
56
|
<${a}> may appears as a prefix path in all these alternatives.
|
|
57
57
|
`)+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES
|
|
58
|
-
`+"For Further details."))}function uG(e){return{configs:e,edges:{},isAcceptState:!1,prediction:-1}}function uz(e,t,n,r){return r=uq(e,r),t.edges[n.tokenTypeIdx]=r,r}function uq(e,t){if(t===um)return t;let n=t.configs.key,r=e.states[n];return void 0!==r?r:(t.configs.finalize(),e.states[n]=t,t)}function uV(e,t){let n=e.state;if(7===n.type){if(e.stack.length>0){let n=[...e.stack];uV({state:n.pop(),alt:e.alt,stack:n},t)}else t.add(e);return}n.epsilonOnlyTransitions||t.add(e);let r=n.transitions.length;for(let i=0;i<r;i++){let r=function(e,t){if(t instanceof ui)return{state:t.target,alt:e.alt,stack:e.stack};if(t instanceof ua){let n=[...e.stack,t.followState];return{state:t.target,alt:e.alt,stack:n}}}(e,n.transitions[i]);void 0!==r&&uV(r,t)}}function uH(e,t){e.RULE("literal",()=>{e.OR([{ALT:()=>e.SUBRULE(e.integerLiteral)},{ALT:()=>e.SUBRULE(e.floatingPointLiteral)},{ALT:()=>e.SUBRULE(e.booleanLiteral)},{ALT:()=>e.CONSUME(t.CharLiteral)},{ALT:()=>e.CONSUME(t.TextBlock)},{ALT:()=>e.CONSUME(t.StringLiteral)},{ALT:()=>e.CONSUME(t.Null)}])}),e.RULE("integerLiteral",()=>{e.OR([{ALT:()=>e.CONSUME(t.DecimalLiteral)},{ALT:()=>e.CONSUME(t.HexLiteral)},{ALT:()=>e.CONSUME(t.OctalLiteral)},{ALT:()=>e.CONSUME(t.BinaryLiteral)}])}),e.RULE("floatingPointLiteral",()=>{e.OR([{ALT:()=>e.CONSUME(t.FloatLiteral)},{ALT:()=>e.CONSUME(t.HexFloatLiteral)}])}),e.RULE("booleanLiteral",()=>{e.OR([{ALT:()=>e.CONSUME(t.True)},{ALT:()=>e.CONSUME(t.False)}])}),e.RULE("shiftOperator",()=>{e.OR([{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Less),e.CONSUME2(t.Less)}},{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Greater),e.CONSUME2(t.Greater),e.OPTION({GATE:()=>e.LA(0).startOffset+1===e.LA(1).startOffset,DEF:()=>e.CONSUME3(t.Greater)})}}])})}function uJ(e,t){e.RULE("primitiveType",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])}),e.RULE("numericType",()=>{e.OR([{ALT:()=>e.SUBRULE(e.integralType)},{ALT:()=>e.SUBRULE(e.floatingPointType)}])}),e.RULE("integralType",()=>{e.OR([{ALT:()=>e.CONSUME(t.Byte)},{ALT:()=>e.CONSUME(t.Short)},{ALT:()=>e.CONSUME(t.Int)},{ALT:()=>e.CONSUME(t.Long)},{ALT:()=>e.CONSUME(t.Char)}])}),e.RULE("floatingPointType",()=>{e.OR([{ALT:()=>e.CONSUME(t.Float)},{ALT:()=>e.CONSUME(t.Double)}])}),e.RULE("referenceType",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OR({DEF:[{ALT:()=>{e.SUBRULE(e.primitiveType),e.SUBRULE(e.dims)}},{ALT:()=>{e.SUBRULE(e.classOrInterfaceType),e.OPTION(()=>{e.SUBRULE2(e.dims)})}}],IGNORE_AMBIGUITIES:!0})}),e.RULE("classOrInterfaceType",()=>{e.SUBRULE(e.classType)}),e.RULE("classType",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.Identifier),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.MANY2(()=>{e.CONSUME(t.Dot),e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.Identifier),e.OPTION2(()=>e.SUBRULE2(e.typeArguments))})}),e.RULE("interfaceType",()=>{e.SUBRULE(e.classType)}),e.RULE("typeVariable",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.Identifier)}),e.RULE("dims",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.LSquare),e.CONSUME(t.RSquare),e.MANY2({GATE:()=>e.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>{e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.LSquare),e.CONSUME2(t.RSquare)}})}),e.RULE("typeParameter",()=>{e.MANY(()=>{e.SUBRULE(e.typeParameterModifier)}),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeBound)})}),e.RULE("typeParameterModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("typeBound",()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classOrInterfaceType),e.MANY(()=>{e.SUBRULE(e.additionalBound)})}),e.RULE("additionalBound",()=>{e.CONSUME(t.And),e.SUBRULE(e.interfaceType)}),e.RULE("typeArguments",()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeArgumentList),e.CONSUME(t.Greater)}),e.RULE("typeArgumentList",()=>{e.SUBRULE(e.typeArgument),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeArgument)})}),e.RULE("typeArgument",()=>{e.OR([{ALT:()=>e.SUBRULE(e.referenceType)},{ALT:()=>e.SUBRULE(e.wildcard)}])}),e.RULE("wildcard",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.QuestionMark),e.OPTION(()=>{e.SUBRULE(e.wildcardBounds)})}),e.RULE("wildcardBounds",()=>{e.OR([{ALT:()=>e.CONSUME(t.Extends)},{ALT:()=>e.CONSUME(t.Super)}]),e.SUBRULE(e.referenceType)})}function uX(e,t){e.RULE("moduleName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})}),e.RULE("packageName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})}),e.RULE("typeName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})}),e.RULE("expressionName",()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>a5(this.LA(2).tokenType,t.Identifier),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})}),e.RULE("methodName",()=>{e.CONSUME(t.Identifier)}),e.RULE("packageOrTypeName",()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>!1===a5(this.LA(2).tokenType,t.Star),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})}),e.RULE("ambiguousName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})})}function uQ(e,t){e.RULE("compilationUnit",()=>{e.OR([{ALT:()=>e.SUBRULE(e.ordinaryCompilationUnit)},{ALT:()=>e.SUBRULE(e.modularCompilationUnit)},{ALT:()=>e.CONSUME(sL)}])}),e.RULE("ordinaryCompilationUnit",()=>{e.OPTION(()=>e.SUBRULE(e.packageDeclaration)),e.MANY(()=>{e.SUBRULE3(e.importDeclaration)}),e.MANY2(()=>{e.SUBRULE(e.typeDeclaration)})}),e.RULE("modularCompilationUnit",()=>{e.MANY(()=>{e.SUBRULE(e.importDeclaration)}),e.SUBRULE(e.moduleDeclaration)}),e.RULE("packageDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.packageModifier)}),e.CONSUME(t.Package),e.CONSUME(t.Identifier),e.MANY2(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}),e.CONSUME2(t.Semicolon)}),e.RULE("packageModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("importDeclaration",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Import),e.OPTION(()=>{e.CONSUME(t.Static)}),e.SUBRULE(e.packageOrTypeName),e.OPTION2(()=>{e.CONSUME(t.Dot),e.CONSUME(t.Star)}),e.CONSUME(t.Semicolon)}},{ALT:()=>e.SUBRULE(e.emptyStatement)}])}),e.RULE("typeDeclaration",()=>{e.OR([{ALT:()=>e.CONSUME(t.Semicolon)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)}])}),e.RULE("moduleDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OPTION(()=>{e.CONSUME(t.Open)}),e.CONSUME(t.Module),e.CONSUME(t.Identifier),e.MANY2(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}),e.CONSUME(t.LCurly),e.MANY3(()=>{e.SUBRULE(e.moduleDirective)}),e.CONSUME(t.RCurly)}),e.RULE("moduleDirective",()=>{e.OR([{ALT:()=>e.SUBRULE(e.requiresModuleDirective)},{ALT:()=>e.SUBRULE(e.exportsModuleDirective)},{ALT:()=>e.SUBRULE(e.opensModuleDirective)},{ALT:()=>e.SUBRULE(e.usesModuleDirective)},{ALT:()=>e.SUBRULE(e.providesModuleDirective)}])}),e.RULE("requiresModuleDirective",()=>{e.CONSUME(t.Requires),e.MANY({GATE:()=>!1===(a5(e.LA(1).tokenType,t.Transitive)&&a5(e.LA(2).tokenType,t.Separators)),DEF:()=>{e.SUBRULE(e.requiresModifier)}}),e.SUBRULE(e.moduleName),e.CONSUME(t.Semicolon)}),e.RULE("exportsModuleDirective",()=>{e.CONSUME(t.Exports),e.SUBRULE(e.packageName),e.OPTION(()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)})}),e.CONSUME(t.Semicolon)}),e.RULE("opensModuleDirective",()=>{e.CONSUME(t.Opens),e.SUBRULE(e.packageName),e.OPTION(()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)})}),e.CONSUME(t.Semicolon)}),e.RULE("usesModuleDirective",()=>{e.CONSUME(t.Uses),e.SUBRULE(e.typeName),e.CONSUME(t.Semicolon)}),e.RULE("providesModuleDirective",()=>{e.CONSUME(t.Provides),e.SUBRULE(e.typeName),e.CONSUME(t.With),e.SUBRULE2(e.typeName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE3(e.typeName)}),e.CONSUME(t.Semicolon)}),e.RULE("requiresModifier",()=>{e.OR([{ALT:()=>e.CONSUME(t.Transitive)},{ALT:()=>e.CONSUME(t.Static)}])})}function uZ(e,t){e.RULE("classDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.classModifier)}),e.OR([{ALT:()=>e.SUBRULE(e.normalClassDeclaration)},{ALT:()=>e.SUBRULE(e.enumDeclaration)},{ALT:()=>e.SUBRULE(e.recordDeclaration)}])}),e.RULE("normalClassDeclaration",()=>{e.CONSUME(t.Class),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.OPTION2(()=>{e.SUBRULE(e.classExtends)}),e.OPTION3(()=>{e.SUBRULE(e.classImplements)}),e.OPTION4(()=>{e.SUBRULE(e.classPermits)}),e.SUBRULE(e.classBody)}),e.RULE("classModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("typeParameters",()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeParameterList),e.CONSUME(t.Greater)}),e.RULE("typeParameterList",()=>{e.SUBRULE(e.typeParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeParameter)})}),e.RULE("classExtends",()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classType)}),e.RULE("classImplements",()=>{e.CONSUME(t.Implements),e.SUBRULE(e.interfaceTypeList)}),e.RULE("interfaceTypeList",()=>{e.SUBRULE(e.interfaceType),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.interfaceType)})}),e.RULE("classPermits",()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)})}),e.RULE("classBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.classBodyDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("classBodyDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.classMemberDeclaration)},{ALT:()=>e.SUBRULE(e.instanceInitializer)},{ALT:()=>e.SUBRULE(e.staticInitializer)},{ALT:()=>e.SUBRULE(e.constructorDeclaration)}])}),e.RULE("classMemberDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("fieldDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.fieldModifier)}),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)}),e.RULE("fieldModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Transient)},{ALT:()=>e.CONSUME(t.Volatile)}])}),e.RULE("variableDeclaratorList",n=>{e.SUBRULE(e.variableDeclarator),e.MANY({GATE:()=>!n,DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableDeclarator)}})}),e.RULE("variableDeclarator",()=>{e.SUBRULE(e.variableDeclaratorId),e.OPTION(()=>{e.CONSUME(t.Equals),e.SUBRULE(e.variableInitializer)})}),e.RULE("variableDeclaratorId",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Identifier),e.OPTION(()=>{e.SUBRULE(e.dims)})}},{ALT:()=>e.CONSUME(t.Underscore)}])}),e.RULE("variableInitializer",()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.arrayInitializer)}])}),e.RULE("unannType",()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.unannReferenceType)}])}),e.RULE("unannPrimitiveTypeWithOptionalDimsSuffix",()=>{e.SUBRULE(e.unannPrimitiveType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})}),e.RULE("unannPrimitiveType",()=>{e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])}),e.RULE("unannReferenceType",()=>{e.SUBRULE(e.unannClassOrInterfaceType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})}),e.RULE("unannClassOrInterfaceType",()=>{e.SUBRULE(e.unannClassType)}),e.RULE("unannClassType",()=>{e.CONSUME(t.Identifier),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.MANY2(()=>{e.CONSUME(t.Dot),e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.Identifier),e.OPTION2(()=>{e.SUBRULE2(e.typeArguments)})})}),e.RULE("unannInterfaceType",()=>{e.SUBRULE(e.unannClassType)}),e.RULE("unannTypeVariable",()=>{e.CONSUME(t.Identifier)}),e.RULE("methodDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.methodModifier)}),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)}),e.RULE("methodModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Synchronized)},{ALT:()=>e.CONSUME(t.Native)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("methodHeader",()=>{e.OPTION(()=>{e.SUBRULE(e.typeParameters),e.MANY(()=>{e.SUBRULE(e.annotation)})}),e.SUBRULE(e.result),e.SUBRULE(e.methodDeclarator),e.OPTION2(()=>{e.SUBRULE(e.throws)})}),e.RULE("result",()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Void)}])}),e.RULE("methodDeclarator",()=>{e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.OR([{ALT:()=>{e.SUBRULE(e.receiverParameter),e.OPTION(()=>{e.CONSUME(t.Comma),e.SUBRULE(e.formalParameterList)})}},{ALT:()=>e.OPTION1(()=>e.SUBRULE1(e.formalParameterList))}]),e.CONSUME(t.RBrace),e.OPTION2(()=>{e.SUBRULE(e.dims)})}),e.RULE("receiverParameter",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.SUBRULE(e.unannType),e.OPTION(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Dot)}),e.CONSUME(t.This)}),e.RULE("formalParameterList",()=>{e.SUBRULE(e.formalParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.formalParameter)})}),e.RULE("formalParameter",()=>{e.OR([{ALT:()=>e.SUBRULE(e.variableParaRegularParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])}),e.RULE("variableParaRegularParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorId)}),e.RULE("variableArityParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.unannType),e.MANY2(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)}),e.RULE("variableModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Final)}])}),e.RULE("throws",()=>{e.CONSUME(t.Throws),e.SUBRULE(e.exceptionTypeList)}),e.RULE("exceptionTypeList",()=>{e.SUBRULE(e.exceptionType),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.exceptionType)})}),e.RULE("exceptionType",()=>{e.SUBRULE(e.classType)}),e.RULE("methodBody",()=>{e.OR([{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("instanceInitializer",()=>{e.SUBRULE(e.block)}),e.RULE("staticInitializer",()=>{e.CONSUME(t.Static),e.SUBRULE(e.block)}),e.RULE("constructorDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.constructorModifier)}),e.SUBRULE(e.constructorDeclarator),e.OPTION(()=>{e.SUBRULE(e.throws)}),e.SUBRULE(e.constructorBody)}),e.RULE("constructorModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)}])}),e.RULE("constructorDeclarator",()=>{e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.SUBRULE(e.simpleTypeName),e.CONSUME(t.LBrace),e.OR([{ALT:()=>{e.SUBRULE(e.receiverParameter),e.OPTION1(()=>{e.CONSUME(t.Comma),e.SUBRULE(e.formalParameterList)})}},{ALT:()=>e.OPTION2(()=>e.SUBRULE1(e.formalParameterList))}]),e.CONSUME(t.RBrace)}),e.RULE("simpleTypeName",()=>{e.SUBRULE(e.typeIdentifier)}),e.RULE("constructorBody",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.explicitConstructorInvocation)}),e.OPTION2(()=>{e.SUBRULE(e.blockStatements)}),e.CONSUME(t.RCurly)}),e.RULE("explicitConstructorInvocation",()=>{e.OR([{ALT:()=>e.SUBRULE(e.unqualifiedExplicitConstructorInvocation)},{ALT:()=>e.SUBRULE(e.qualifiedExplicitConstructorInvocation)}])}),e.RULE("unqualifiedExplicitConstructorInvocation",()=>{e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.OR([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Super)}]),e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)}),e.RULE("qualifiedExplicitConstructorInvocation",()=>{e.SUBRULE(e.expressionName),e.CONSUME(t.Dot),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.CONSUME(t.Super),e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)}),e.RULE("enumDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.classModifier)}),e.CONSUME(t.Enum),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.classImplements)}),e.SUBRULE(e.enumBody)}),e.RULE("enumBody",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.enumConstantList)}),e.OPTION2(()=>{e.CONSUME(t.Comma)}),e.OPTION3(()=>{e.SUBRULE(e.enumBodyDeclarations)}),e.CONSUME(t.RCurly)}),e.RULE("enumConstantList",()=>{e.SUBRULE(e.enumConstant),e.MANY({GATE:()=>{let n=e.LA(2);return a5(n,t.Identifier)||a5(n,t.At)},DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.enumConstant)}})}),e.RULE("enumConstant",()=>{e.MANY(()=>{e.SUBRULE(e.enumConstantModifier)}),e.CONSUME(t.Identifier),e.OPTION(()=>{e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace)}),e.OPTION3(()=>{e.SUBRULE(e.classBody)})}),e.RULE("enumConstantModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("enumBodyDeclarations",()=>{e.CONSUME(t.Semicolon),e.MANY(()=>{e.SUBRULE(e.classBodyDeclaration)})}),e.RULE("recordDeclaration",()=>{e.CONSUME(t.Record),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.SUBRULE(e.recordHeader),e.OPTION2(()=>{e.SUBRULE(e.classImplements)}),e.SUBRULE(e.recordBody)}),e.RULE("recordHeader",()=>{e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.recordComponentList)}),e.CONSUME(t.RBrace)}),e.RULE("recordComponentList",()=>{e.SUBRULE(e.recordComponent),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.recordComponent)})}),e.RULE("recordComponent",()=>{e.MANY(()=>{e.SUBRULE(e.recordComponentModifier)}),e.SUBRULE(e.unannType),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.SUBRULE(e.variableArityRecordComponent)}])}),e.RULE("variableArityRecordComponent",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)}),e.RULE("recordComponentModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("recordBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.recordBodyDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("recordBodyDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.compactConstructorDeclaration)},{ALT:()=>e.SUBRULE(e.classBodyDeclaration)}])}),e.RULE("compactConstructorDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.constructorModifier)}),e.SUBRULE(e.simpleTypeName),e.SUBRULE(e.constructorBody)}),e.RULE("isDims",()=>(e.MANY(e.annotation),a5(this.LA(1),t.LSquare)&&a5(this.LA(2),t.RSquare)))}function u1(e,t){e.RULE("interfaceDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.interfaceModifier)}),e.OR([{ALT:()=>e.SUBRULE(e.normalInterfaceDeclaration)},{ALT:()=>e.SUBRULE(e.annotationInterfaceDeclaration)}])}),e.RULE("normalInterfaceDeclaration",()=>{e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.OPTION2(()=>{e.SUBRULE(e.interfaceExtends)}),e.OPTION3(()=>{e.SUBRULE(e.interfacePermits)}),e.SUBRULE(e.interfaceBody)}),e.RULE("interfaceModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("interfaceExtends",()=>{e.CONSUME(t.Extends),e.SUBRULE(e.interfaceTypeList)}),e.RULE("interfacePermits",()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)})}),e.RULE("interfaceBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.interfaceMemberDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("interfaceMemberDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceMethodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("constantDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.constantModifier)}),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)}),e.RULE("constantModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)}])}),e.RULE("interfaceMethodDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.interfaceMethodModifier)}),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)}),e.RULE("interfaceMethodModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Default)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("annotationInterfaceDeclaration",()=>{e.CONSUME(t.At),e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.SUBRULE(e.annotationInterfaceBody)}),e.RULE("annotationInterfaceBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.annotationInterfaceMemberDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("annotationInterfaceMemberDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotationInterfaceElementDeclaration)},{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("annotationInterfaceElementDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.annotationInterfaceElementModifier)}),e.SUBRULE(e.unannType),e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.CONSUME(t.RBrace),e.OPTION(()=>{e.SUBRULE(e.dims)}),e.OPTION2(()=>{e.SUBRULE(e.defaultValue)}),e.CONSUME(t.Semicolon)}),e.RULE("annotationInterfaceElementModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Abstract)}])}),e.RULE("defaultValue",()=>{e.CONSUME(t.Default),e.SUBRULE(e.elementValue)}),e.RULE("annotation",()=>{e.CONSUME(t.At),e.SUBRULE(e.typeName),e.OPTION(()=>{e.CONSUME(t.LBrace),e.OR({DEF:[{ALT:()=>e.SUBRULE(e.elementValuePairList)},{ALT:()=>e.SUBRULE(e.elementValue)},{ALT:()=>{}}],IGNORE_AMBIGUITIES:!0}),e.CONSUME(t.RBrace)})}),e.RULE("elementValuePairList",()=>{e.SUBRULE(e.elementValuePair),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValuePair)})}),e.RULE("elementValuePair",()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Equals),e.SUBRULE(e.elementValue)}),e.RULE("elementValue",()=>{e.OR([{ALT:()=>e.SUBRULE(e.conditionalExpression)},{ALT:()=>e.SUBRULE(e.elementValueArrayInitializer)},{ALT:()=>e.SUBRULE(e.annotation)}])}),e.RULE("elementValueArrayInitializer",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.elementValueList)}),e.OPTION2(()=>{e.CONSUME(t.Comma)}),e.CONSUME(t.RCurly)}),e.RULE("elementValueList",()=>{e.SUBRULE(e.elementValue),e.MANY({GATE:()=>!1===a5(e.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValue)}})})}function u0(e,t){e.RULE("arrayInitializer",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.variableInitializerList)}),e.OPTION2(()=>{e.CONSUME(t.Comma)}),e.CONSUME(t.RCurly)}),e.RULE("variableInitializerList",()=>{e.SUBRULE(e.variableInitializer),e.MANY({GATE:()=>!1===a5(this.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableInitializer)}})})}function u2(e,t){e.RULE("block",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.blockStatements)}),e.CONSUME(t.RCurly)}),e.RULE("blockStatements",()=>{e.SUBRULE(e.blockStatement),e.MANY(()=>{e.SUBRULE2(e.blockStatement)})}),e.RULE("blockStatement",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.localVariableDeclarationStatement)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.statement)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("localVariableDeclarationStatement",()=>{e.SUBRULE(e.localVariableDeclaration),e.CONSUME(t.Semicolon)}),e.RULE("localVariableDeclaration",t=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.localVariableType),e.SUBRULE(e.variableDeclaratorList,{ARGS:[t]})}),e.RULE("localVariableType",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("statement",()=>{e.OR([{ALT:()=>e.SUBRULE(e.statementWithoutTrailingSubstatement)},{ALT:()=>e.SUBRULE(e.labeledStatement)},{ALT:()=>e.SUBRULE(e.ifStatement)},{ALT:()=>e.SUBRULE(e.whileStatement)},{ALT:()=>e.SUBRULE(e.forStatement)}])}),e.RULE("statementWithoutTrailingSubstatement",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.SUBRULE(e.yieldStatement)},{ALT:()=>e.SUBRULE(e.emptyStatement)},{GATE:()=>!a5(this.LA(1).tokenType,t.Switch),ALT:()=>e.SUBRULE(e.expressionStatement)},{ALT:()=>e.SUBRULE(e.assertStatement)},{ALT:()=>e.SUBRULE(e.switchStatement)},{ALT:()=>e.SUBRULE(e.doStatement)},{ALT:()=>e.SUBRULE(e.breakStatement)},{ALT:()=>e.SUBRULE(e.continueStatement)},{ALT:()=>e.SUBRULE(e.returnStatement)},{ALT:()=>e.SUBRULE(e.synchronizedStatement)},{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.tryStatement)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("emptyStatement",()=>{e.CONSUME(t.Semicolon)}),e.RULE("labeledStatement",()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Colon),e.SUBRULE(e.statement)}),e.RULE("expressionStatement",()=>{e.SUBRULE(e.statementExpression),e.CONSUME(t.Semicolon)}),e.RULE("statementExpression",()=>{e.SUBRULE(e.expression)}),e.RULE("ifStatement",()=>{e.CONSUME(t.If),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement),e.OPTION(()=>{e.CONSUME(t.Else),e.SUBRULE2(e.statement)})}),e.RULE("assertStatement",()=>{e.CONSUME(t.Assert),e.SUBRULE(e.expression),e.OPTION(()=>{e.CONSUME(t.Colon),e.SUBRULE2(e.expression)}),e.CONSUME(t.Semicolon)}),e.RULE("switchStatement",()=>{e.CONSUME(t.Switch),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.switchBlock)}),e.RULE("switchBlock",()=>{e.CONSUME(t.LCurly),e.OR([{ALT:()=>{e.SUBRULE(e.switchRule),e.MANY(()=>e.SUBRULE2(e.switchRule))}},{ALT:()=>e.MANY2(()=>e.SUBRULE(e.switchBlockStatementGroup))}]),e.CONSUME(t.RCurly)}),e.RULE("switchBlockStatementGroup",()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Colon),e.OPTION(()=>{e.SUBRULE(e.blockStatements)})}),e.RULE("switchLabel",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Case),e.OR2([{ALT:()=>{e.CONSUME(t.Null),e.OPTION2(()=>{e.CONSUME3(t.Comma),e.CONSUME(t.Default)})}},{ALT:()=>{e.SUBRULE(e.casePattern),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.casePattern)}),e.OPTION(()=>{e.SUBRULE(e.guard)})}},{GATE:()=>!a5(e.LA(1).tokenType,t.Null),ALT:()=>{e.SUBRULE(e.caseConstant),e.MANY2(()=>{e.CONSUME2(t.Comma),e.SUBRULE2(e.caseConstant)})}}])}},{ALT:()=>e.CONSUME2(t.Default)}])}),e.RULE("switchRule",()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Arrow),e.OR([{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>{e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}}])}),e.RULE("caseConstant",()=>{e.SUBRULE(e.conditionalExpression)}),e.RULE("casePattern",()=>{e.SUBRULE(e.pattern)}),e.RULE("whileStatement",()=>{e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)}),e.RULE("doStatement",()=>{e.CONSUME(t.Do),e.SUBRULE(e.statement),e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)}),e.RULE("forStatement",()=>{e.OR([{ALT:()=>e.SUBRULE(e.basicForStatement)},{ALT:()=>e.SUBRULE(e.enhancedForStatement)}])}),e.RULE("basicForStatement",()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.forInit)}),e.CONSUME(t.Semicolon),e.OPTION2(()=>{e.SUBRULE(e.expression)}),e.CONSUME2(t.Semicolon),e.OPTION3(()=>{e.SUBRULE(e.forUpdate)}),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)}),e.RULE("forInit",()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.statementExpressionList)}])}),e.RULE("forUpdate",()=>{e.SUBRULE(e.statementExpressionList)}),e.RULE("statementExpressionList",()=>{e.SUBRULE(e.statementExpression),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.statementExpression)})}),e.RULE("enhancedForStatement",()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.SUBRULE(e.localVariableDeclaration),e.CONSUME(t.Colon),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)}),e.RULE("breakStatement",()=>{e.CONSUME(t.Break),e.OPTION(()=>{e.CONSUME(t.Identifier)}),e.CONSUME(t.Semicolon)}),e.RULE("continueStatement",()=>{e.CONSUME(t.Continue),e.OPTION(()=>{e.CONSUME(t.Identifier)}),e.CONSUME(t.Semicolon)}),e.RULE("returnStatement",()=>{e.CONSUME(t.Return),e.OPTION(()=>{e.SUBRULE(e.expression)}),e.CONSUME(t.Semicolon)}),e.RULE("throwStatement",()=>{e.CONSUME(t.Throw),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}),e.RULE("synchronizedStatement",()=>{e.CONSUME(t.Synchronized),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.block)}),e.RULE("tryStatement",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Try),e.SUBRULE(e.block),e.OR2([{ALT:()=>{e.SUBRULE(e.catches),e.OPTION(()=>{e.SUBRULE(e.finally)})}},{ALT:()=>e.SUBRULE2(e.finally)}])}},{ALT:()=>e.SUBRULE(e.tryWithResourcesStatement)}])}),e.RULE("catches",()=>{e.SUBRULE(e.catchClause),e.MANY(()=>{e.SUBRULE2(e.catchClause)})}),e.RULE("catchClause",()=>{e.CONSUME(t.Catch),e.CONSUME(t.LBrace),e.SUBRULE(e.catchFormalParameter),e.CONSUME(t.RBrace),e.SUBRULE(e.block)}),e.RULE("catchFormalParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.catchType),e.SUBRULE(e.variableDeclaratorId)}),e.RULE("catchType",()=>{e.SUBRULE(e.unannClassType),e.MANY(()=>{e.CONSUME(t.Or),e.SUBRULE2(e.classType)})}),e.RULE("finally",()=>{e.CONSUME(t.Finally),e.SUBRULE(e.block)}),e.RULE("tryWithResourcesStatement",()=>{e.CONSUME(t.Try),e.SUBRULE(e.resourceSpecification),e.SUBRULE(e.block),e.OPTION(()=>{e.SUBRULE(e.catches)}),e.OPTION2(()=>{e.SUBRULE(e.finally)})}),e.RULE("resourceSpecification",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.resourceList),e.OPTION(()=>{e.CONSUME(t.Semicolon)}),e.CONSUME(t.RBrace)}),e.RULE("resourceList",()=>{e.SUBRULE(e.resource),e.MANY({GATE:()=>!1===a5(e.LA(2).tokenType,t.RBrace),DEF:()=>{e.CONSUME(t.Semicolon),e.SUBRULE2(e.resource)}})}),e.RULE("resource",()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.variableAccess)}])}),e.RULE("yieldStatement",()=>{e.CONSUME(t.Yield),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}),e.RULE("variableAccess",()=>{e.SUBRULE(e.primary)})}function u4(e,t){e.RULE("expression",()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.conditionalExpression)}])}),e.RULE("lambdaExpression",()=>{e.SUBRULE(e.lambdaParameters),e.CONSUME(t.Arrow),e.SUBRULE(e.lambdaBody)}),e.RULE("lambdaParameters",()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaParametersWithBraces)},{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Underscore)}])}),e.RULE("lambdaParametersWithBraces",()=>{e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.lambdaParameterList)}),e.CONSUME(t.RBrace)}),e.RULE("lambdaParameterList",()=>{e.OR([{GATE:()=>{let e=this.LA(1).tokenType,n=this.LA(2).tokenType;return(a5(e,t.Identifier)||a5(e,t.Underscore))&&(a5(n,t.RBrace)||a5(n,t.Comma))},ALT:()=>e.SUBRULE(e.conciseLambdaParameterList)},{ALT:()=>e.SUBRULE(e.normalLambdaParameterList)}])}),e.RULE("conciseLambdaParameterList",()=>{e.SUBRULE(e.conciseLambdaParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.conciseLambdaParameter)})}),e.RULE("normalLambdaParameterList",()=>{e.SUBRULE(e.normalLambdaParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.normalLambdaParameter)})}),e.RULE("normalLambdaParameter",()=>{e.OR([{ALT:()=>e.SUBRULE(e.regularLambdaParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])}),e.RULE("regularLambdaParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.lambdaParameterType),e.SUBRULE(e.variableDeclaratorId)}),e.RULE("lambdaParameterType",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("conciseLambdaParameter",()=>{e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Underscore)}])}),e.RULE("lambdaBody",()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.block)}])}),e.RULE("conditionalExpression",()=>{e.SUBRULE(e.binaryExpression),e.OPTION(()=>{e.CONSUME(t.QuestionMark),e.SUBRULE(e.expression),e.CONSUME(t.Colon),e.SUBRULE2(e.expression)})}),e.RULE("binaryExpression",()=>{e.SUBRULE(e.unaryExpression),e.MANY(()=>{e.OR({DEF:[{ALT:()=>{e.CONSUME(t.Instanceof),e.OR1([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.referenceType)}])}},{ALT:()=>{e.CONSUME(t.AssignmentOperator),e.SUBRULE2(e.expression)}},{GATE:()=>a5(e.LA(2).tokenType,t.Less)||a5(e.LA(2).tokenType,t.Greater),ALT:()=>{e.SUBRULE(e.shiftOperator),e.SUBRULE2(e.unaryExpression)}},{ALT:()=>{e.CONSUME(t.BinaryOperator),e.SUBRULE3(e.unaryExpression)}}],IGNORE_AMBIGUITIES:!0})})}),e.RULE("unaryExpression",()=>{e.MANY(()=>{e.CONSUME(t.UnaryPrefixOperator)}),e.SUBRULE(e.primary),e.MANY2(()=>{e.CONSUME(t.UnarySuffixOperator)})}),e.RULE("unaryExpressionNotPlusMinus",()=>{e.MANY(()=>{e.CONSUME(t.UnaryPrefixOperatorNotPlusMinus)}),e.SUBRULE(e.primary),e.MANY2(()=>{e.CONSUME(t.UnarySuffixOperator)})}),e.RULE("primary",()=>{e.SUBRULE(e.primaryPrefix),e.MANY(()=>{e.SUBRULE(e.primarySuffix)})}),e.RULE("primaryPrefix",()=>{e.OR([{ALT:()=>e.SUBRULE(e.literal)},{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Void)},{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.fqnOrRefType)},{ALT:()=>e.SUBRULE(e.castExpression)},{ALT:()=>e.SUBRULE(e.parenthesisExpression)},{ALT:()=>e.SUBRULE(e.newExpression)},{ALT:()=>e.SUBRULE(e.switchStatement)}])}),e.RULE("primarySuffix",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Dot),e.OR2([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)},{ALT:()=>{e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.CONSUME(t.Identifier)}},{ALT:()=>e.SUBRULE(e.templateArgument)}])}},{ALT:()=>e.SUBRULE(e.methodInvocationSuffix)},{ALT:()=>e.SUBRULE(e.classLiteralSuffix)},{ALT:()=>e.SUBRULE(e.arrayAccessSuffix)},{ALT:()=>e.SUBRULE(e.methodReferenceSuffix)}])}),e.RULE("fqnOrRefType",()=>{e.SUBRULE(e.fqnOrRefTypePartFirst),e.MANY({GATE:()=>{let n=e.LA(2);return!(a5(n,t.Class)||a5(n,t.This)||a5(n,t.New)||a5(n,t.StringLiteral)||a5(n,t.TextBlock)||a5(n,t.StringTemplateBegin)||a5(n,t.TextBlockTemplateBegin))},DEF:()=>{e.CONSUME(t.Dot),e.SUBRULE2(e.fqnOrRefTypePartRest)}}),e.OPTION({GATE:()=>a5(e.LA(1).tokenType,t.At)||a5(e.LA(2).tokenType,t.RSquare),DEF:()=>{e.SUBRULE(e.dims)}})}),e.RULE("fqnOrRefTypePartRest",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OPTION(()=>e.SUBRULE2(e.typeArguments)),e.SUBRULE(e.fqnOrRefTypePartCommon)}),e.RULE("fqnOrRefTypePartCommon",()=>{e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Super)}]);let n=!1;a5(e.LA(1).tokenType,t.Less)&&(n=this.BACKTRACK_LOOKAHEAD(e.isRefTypeInMethodRef)),e.OPTION2({GATE:()=>n,DEF:()=>{e.SUBRULE3(e.typeArguments)}})}),e.RULE("fqnOrRefTypePartFirst",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.SUBRULE(e.fqnOrRefTypePartCommon)}),e.RULE("parenthesisExpression",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace)}),e.RULE("castExpression",()=>{e.OR([{ALT:()=>e.SUBRULE(e.primitiveCastExpression)},{ALT:()=>e.SUBRULE(e.referenceTypeCastExpression)}])}),e.RULE("primitiveCastExpression",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.primitiveType),e.CONSUME(t.RBrace),e.SUBRULE(e.unaryExpression)}),e.RULE("referenceTypeCastExpression",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.referenceType),e.MANY(()=>{e.SUBRULE(e.additionalBound)}),e.CONSUME(t.RBrace),e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.unaryExpressionNotPlusMinus)}])}),e.RULE("newExpression",()=>{e.OR([{ALT:()=>e.SUBRULE(e.arrayCreationExpression)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)}])}),e.RULE("unqualifiedClassInstanceCreationExpression",()=>{e.CONSUME(t.New),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.SUBRULE(e.classOrInterfaceTypeToInstantiate),e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace),e.OPTION3(()=>{e.SUBRULE(e.classBody)})}),e.RULE("classOrInterfaceTypeToInstantiate",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.Identifier),e.MANY2(()=>{e.CONSUME(t.Dot),e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.Identifier)}),e.OPTION(()=>{e.SUBRULE(e.typeArgumentsOrDiamond)})}),e.RULE("typeArgumentsOrDiamond",()=>{e.OR([{ALT:()=>e.SUBRULE(e.diamond)},{ALT:()=>e.SUBRULE(e.typeArguments)}])}),e.RULE("diamond",()=>{e.CONSUME(t.Less),e.CONSUME(t.Greater)}),e.RULE("methodInvocationSuffix",()=>{e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace)}),e.RULE("argumentList",()=>{e.SUBRULE(e.expression),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.expression)})}),e.RULE("arrayCreationExpression",()=>{e.CONSUME(t.New),e.OR([{ALT:()=>e.SUBRULE(e.primitiveType)},{ALT:()=>e.SUBRULE(e.classOrInterfaceType)}]),e.OR2([{ALT:()=>e.SUBRULE(e.arrayCreationExpressionWithoutInitializerSuffix)},{ALT:()=>e.SUBRULE(e.arrayCreationWithInitializerSuffix)}])}),e.RULE("arrayCreationExpressionWithoutInitializerSuffix",()=>{e.SUBRULE(e.dimExprs),e.OPTION(()=>{e.SUBRULE(e.dims)})}),e.RULE("arrayCreationWithInitializerSuffix",()=>{e.SUBRULE(e.dims),e.SUBRULE(e.arrayInitializer)}),e.RULE("dimExprs",()=>{e.SUBRULE(e.dimExpr),e.MANY({GATE:()=>!1===a5(e.LA(2).tokenType,t.RSquare),DEF:()=>e.SUBRULE2(e.dimExpr)})}),e.RULE("dimExpr",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)}),e.RULE("classLiteralSuffix",()=>{e.MANY(()=>{e.CONSUME(t.LSquare),e.CONSUME(t.RSquare)}),e.CONSUME(t.Dot),e.CONSUME(t.Class)}),e.RULE("arrayAccessSuffix",()=>{e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)}),e.RULE("methodReferenceSuffix",()=>{e.CONSUME(t.ColonColon),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.New)}])}),e.RULE("templateArgument",()=>{e.OR([{ALT:()=>e.SUBRULE(e.template)},{ALT:()=>e.CONSUME(t.StringLiteral)},{ALT:()=>e.CONSUME(t.TextBlock)}])}),e.RULE("template",()=>{e.OR([{ALT:()=>e.SUBRULE(e.stringTemplate)},{ALT:()=>e.SUBRULE(e.textBlockTemplate)}])}),e.RULE("stringTemplate",()=>{e.CONSUME(t.StringTemplateBegin),e.SUBRULE(e.embeddedExpression),e.MANY(()=>{e.CONSUME(t.StringTemplateMid),e.SUBRULE1(e.embeddedExpression)}),e.CONSUME(t.StringTemplateEnd)}),e.RULE("textBlockTemplate",()=>{e.CONSUME(t.TextBlockTemplateBegin),e.SUBRULE(e.embeddedExpression),e.MANY(()=>{e.CONSUME(t.TextBlockTemplateMid),e.SUBRULE1(e.embeddedExpression)}),e.CONSUME(t.TextBlockTemplateEnd)}),e.RULE("embeddedExpression",()=>{e.OPTION(()=>{e.SUBRULE(e.expression)})}),e.RULE("pattern",()=>{e.OR([{ALT:()=>e.SUBRULE(e.typePattern)},{ALT:()=>e.SUBRULE(e.recordPattern)}])}),e.RULE("typePattern",()=>{e.SUBRULE(e.localVariableDeclaration,{ARGS:[!0]})}),e.RULE("recordPattern",()=>{e.SUBRULE(e.referenceType),e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.componentPatternList)}),e.CONSUME(t.RBrace)}),e.RULE("componentPatternList",()=>{e.SUBRULE(e.componentPattern),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.componentPattern)})}),e.RULE("componentPattern",()=>{e.OR([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.matchAllPattern)}])}),e.RULE("matchAllPattern",()=>{e.CONSUME(t.Underscore)}),e.RULE("guard",()=>{e.CONSUME(t.When),e.SUBRULE(e.expression)}),e.RULE("isRefTypeInMethodRef",()=>{let n;e.SUBRULE(e.typeArguments);let r=e.OPTION(()=>{e.SUBRULE(e.dims)});return(a5(this.LA(1).tokenType,t.ColonColon)?n=!0:r&&(n=!1),e.OPTION2(()=>{e.CONSUME(t.Dot),e.SUBRULE(e.classOrInterfaceType)}),void 0!==n)?n:a5(this.LA(1).tokenType,t.ColonColon)})}function u7(){return this.computeContentAssist("unaryExpressionNotPlusMinus",[]).map(e=>e.nextTokenType).filter((e,t,n)=>n.indexOf(e)===t)}let u6=new class extends ok{constructor(){super(o$,{lookaheadStrategy:new uj({logging:o1()?()=>{}:void 0}),nodeLocationTracking:"full",skipValidations:o1()});const e=this;e.RULE("typeIdentifier",()=>{e.CONSUME(oK.Identifier)}),uH.call(this,e,oK),uJ.call(this,e,oK),uX.call(this,e,oK),uZ.call(this,e,oK),uQ.call(this,e,oK),u1.call(this,e,oK),u0.call(this,e,oK),u2.call(this,e,oK),u4.call(this,e,oK),this.firstForUnaryExpressionNotPlusMinus=[],this.performSelfAnalysis(),this.firstForUnaryExpressionNotPlusMinus=u7.call(this)}cstPostNonTerminal(e,t){this.isBackTracking()||super.cstPostNonTerminal(e,t)}BACKTRACK_LOOKAHEAD(e,t=!1){return this.ACTION(()=>{this.isBackTrackingStack.push(1);let n=this.saveRecogState();try{let{ruleName:t,originalGrammarAction:n}=e;try{return this.ruleInvocationStateUpdate(this.fullRuleNameToShort[t],t,this.subruleIdx),n.call(this)}catch(e){return this.invokeRuleCatch(e,!0,()=>void 0)}finally{this.ruleFinallyStateUpdate()}}catch(e){if(ot(e))return t;throw e}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}})}};function u3(e,t,n){let r=hs(e,"classDeclaration");if(void 0!==r){var i=e,a=r,s=t,o=n;let l=hs(a,"normalClassDeclaration");if(void 0===l)return[];let c=hr(ha(a,"classModifier"));return[{kind:"class",name:hn(hs(l,"typeIdentifier")),visibility:hi(c),modifiers:c,exported:c.includes("public"),location:he(i),extends:ha(hs(l,"classExtends"),"classType").map(e=>ht(e,s)),implements:ha(hs(hs(l,"classImplements"),"interfaceTypeList"),"interfaceType").map(e=>ht(e,s)),children:u8(hs(l,"classBody"),s,o),...u5(i,s,o)}]}let l=hs(e,"interfaceDeclaration");return void 0===l?[]:function(e,t,n,r){let i=hs(t,"normalInterfaceDeclaration");if(void 0===i)return[];let a=hr(ha(t,"interfaceModifier"));return[{kind:"interface",name:hn(hs(i,"typeIdentifier")),visibility:hi(a),modifiers:a,exported:a.includes("public"),location:he(e),extends:ha(hs(hs(i,"interfaceExtends"),"interfaceTypeList"),"interfaceType").map(e=>ht(e,n)),implements:[],children:u8(hs(i,"interfaceBody"),n,r),...u5(e,n,r)}]}(e,l,t,n)}function u8(e,t,n){return[...ha(e,"classBodyDeclaration"),...ha(e,"interfaceMemberDeclaration")].flatMap(e=>{let r=hs(e,"classMemberDeclaration")??e,i=hs(r,"methodDeclaration");if(void 0!==i)return u9(i,t,n,"package");let a=hs(r,"interfaceMethodDeclaration");return void 0!==a?u9(a,t,n,"public"):u3(r,t,n)})}function u9(e,t,n,r){let i=hs(e,"methodHeader");if(void 0===i)return[];let a=hs(i,"methodDeclarator"),s=hr(ha(e,"methodModifier"));return[{kind:"method",name:ho(a,"Identifier")[0]?.image??"",signature:ht(i,t).replace(/\s+/gu," ").trim(),visibility:hi(s,r),modifiers:s,exported:"public"===hi(s,r),location:he(e),extends:[],implements:[],children:[],...u5(e,t,n)}]}function u5(e,t,n){let r=e.location.startOffset,i=n.filter(e=>e.image.startsWith("/**")&&e.endOffset<r&&""===t.slice(e.endOffset+1,r).trim()).at(-1);if(void 0===i)return{};let a=i.image.replace(/^\/\*\*/u,"").replace(/\*\/$/u,"").split(/\r?\n/u).map(e=>e.replace(/^\s*\*\s?/u,"").trim()),s=a.filter(e=>e.startsWith("@")),o=Object.fromEntries([...new Set(s.map(e=>/^@([^\s]+)/u.exec(e)?.[1]??""))].filter(e=>""!==e).map(e=>[e,s.filter(t=>t.startsWith(`@${e} `)||t===`@${e}`).map(t=>t.slice(e.length+1).trim())]));return{documentation:{text:a.filter(e=>!e.startsWith("@")).join("\n").trim(),tags:o}}}function he(e){return{line:e.location.startLine,column:e.location.startColumn,endLine:e.location.endLine,endColumn:e.location.endColumn}}function ht(e,t){return t.slice(e.location.startOffset,e.location.endOffset+1)}function hn(e){return ho(e,"Identifier")[0]?.image??""}function hr(e){return e.flatMap(e=>Object.keys(e.children).filter(e=>"annotation"!==e).map(e=>e.toLowerCase()))}function hi(e,t="package"){return e.includes("public")?"public":e.includes("protected")?"protected":e.includes("private")?"private":t}function ha(e,t){return hl(e,t).filter(e=>"children"in e)}function hs(e,t){return ha(e,t)[0]}function ho(e,t){return hl(e,t).filter(e=>"image"in e)}function hl(e,t){return Object.entries(e?.children??{}).find(([e])=>e===t)?.[1]??[]}u6.getBaseCstVisitorConstructor(),u6.getBaseCstVisitorConstructorWithDefaults();var hc=e.i(8314);function hu(e,t){let n=N.default.relative(e,t);return".."!==n&&!n.startsWith(`..${N.default.sep}`)&&!N.default.isAbsolute(n)}function hh(e){return hc.default.canHaveModifiers(e)?(hc.default.getModifiers(e)??[]).map(e=>e.getText().toLowerCase()):[]}function hf(e,t){let n=t.getLineAndCharacterOfPosition(e.getStart(t)),r=t.getLineAndCharacterOfPosition(e.getEnd());return{line:n.line+1,column:n.character+1,endLine:r.line+1,endColumn:r.character+1}}function hp(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}async function hd(e){if(void 0===e)return{};let t=JSON.parse(await (0,R.readFile)(e,"utf8"));return hp(t)?Object.fromEntries([...hm(t.dependencies,"dependency"),...hm(t.devDependencies,"devDependency"),...hm(t.optionalDependencies,"optionalDependency"),...hm(t.peerDependencies,"peerDependency")].reduce((e,[t,n])=>{let r=e.get(t)??[];return e.set(t,[...r,n]),e},new Map)):{}}function hm(e,t){return hp(e)?Object.entries(e).flatMap(([e,n])=>"string"==typeof n?[[e,{kind:t,range:n}]]:[]):[]}function hg(e){return e.split(N.default.sep).join("/")}function hE(e){return"project-detector"===e?["containment"]:"java"===e?["containment","declarations","documentation","extends","implements","imports","signatures","source-locations","visibility"]:"typescript"===e?["containment","declarations","documentation","exports","extends","implements","imports","signatures","source-locations","visibility"]:["cpp","delphi","kotlin","python"].includes(e)?["imports"]:[]}async function hy(e){let t="inspection"in e?e.inspection:await ti(e.rootPath,{...void 0===e.signal?{}:{signal:e.signal}});if(!t.complete)throw Error(`Project analysis inspection is incomplete for ${e.id}.`);let n=await hS(e.id,t,e.signal),r=new Set(["project-detector",...t.detection.languages.map(({id:e})=>e),...n.map(({analyzerId:e})=>e)]);return{version:1,projectId:e.id,directories:[...t.directories].sort(hU),files:[...t.files].sort(hU),packages:t.packages.map(({rootPath:e,name:t})=>({rootPath:e,...void 0===t?{}:{name:t}})).sort((e,t)=>hU(e.rootPath,t.rootPath)),workspaces:t.workspaces.map(({rootPath:e,packagePaths:t})=>({rootPath:e,packagePaths:[...t].sort(hU)})).sort((e,t)=>hU(e.rootPath,t.rootPath)),analyzers:[...r].sort(hU).map(e=>({id:e,capabilities:hE(e)})),analyzedFiles:n.map(({projectId:e,...t})=>t).sort((e,t)=>hU(e.path,t.path))}}async function hS(e,t,n){var r;let i,a,s=await hL(t),o=(r=t.rootPath,i=new Map,a=new Map,(e,t,n)=>{let s=i.has(t)?i.get(t):hc.default.findConfigFile(t,e=>hc.default.sys.fileExists(e),"tsconfig.json");if(i.set(t,s),void 0===s||!hu(r,s))return n;let o=a.get(s)??function(e){let t=hc.default.readConfigFile(e,e=>hc.default.sys.readFile(e));if(void 0!==t.error)throw Error(hc.default.flattenDiagnosticMessageText(t.error.messageText,"\n"));return hc.default.parseJsonConfigFileContent(t.config,hc.default.sys,N.default.dirname(e)).options}(s);return a.set(s,o),{...n,imports:n.imports.map(t=>{let n=hc.default.resolveModuleName(t.specifier,e,o,hc.default.sys).resolvedModule?.resolvedFileName;return void 0!==n&&hu(r,n)?{...t,resolvedPath:N.default.relative(r,n).split(N.default.sep).join("/")}:t})}});return Promise.all(t.files.flatMap(r=>{var i,a;let l=(i=r).endsWith(".java")?"java":[".ts",".tsx",".mts",".cts"].some(e=>i.endsWith(e))?"typescript":i.endsWith(".kt")||i.endsWith(".kts")?"kotlin":i.endsWith(".py")||i.endsWith(".pyi")?"python":[".cpp",".cc",".cxx",".h",".hpp",".hxx"].some(e=>i.endsWith(e))?"cpp":[".pas",".pp",".dpr"].some(e=>i.toLowerCase().endsWith(e))?"delphi":void 0;if(void 0===l)return[];let[c]=t.packages.filter(({rootPath:e})=>"."===e||r.startsWith(`${e}/`)).sort((e,t)=>t.rootPath.length-e.rootPath.length),u=c?.rootPath??".",h=c?.detection.languages.find(({id:e})=>e===l)?.sourceRoots??("java"===(a=l)?["src/main/java","."]:"kotlin"===a?["src/main/kotlin","src","."]:"python"===a?["src","app","."]:"delphi"===a?["src","Source","."]:["."]),f="."===u?r:r.slice(u.length+1);return h.some(e=>"."===e||f.startsWith(`${e}/`))?[hv({projectId:e,file:r,analyzerId:l,projectRoot:t.rootPath,packageRoot:N.default.resolve(t.rootPath,u),sourceRoots:h,declaredDependencies:s.get(u),resolveTypeScriptImports:o,signal:n})]:[]}))}async function hL(e){return new Map(await Promise.all(e.packages.map(async t=>[t.rootPath,t.manifestPath.endsWith(".json")?await hd(N.default.join(e.rootPath,t.manifestPath)):{}])))}async function hv(e){var t;let n;e.signal?.throwIfAborted();let r=N.default.resolve(e.projectRoot,...e.file.split("/")),i=await (0,R.readFile)(r,"utf8");return e.signal?.throwIfAborted(),{projectId:e.projectId,path:e.file,analyzerId:e.analyzerId,...void 0===e.declaredDependencies?{}:{declaredDependencies:e.declaredDependencies},facts:"java"===e.analyzerId?function(e){let t=function(e,t="compilationUnit"){return function(e,t="compilationUnit"){let n=o0.tokenize(e);if(n.errors.length>0){let e=n.errors[0];throw Error("Sad sad panda, lexing errors detected in line: "+e.line+", column: "+e.column+"!\n"+e.message)}let r=n.tokens;u6.input=r;let i=u6[t]();if(u6.errors.length>0){let e=u6.errors[0];throw Error("Sad sad panda, parsing errors detected in line: "+e.token.startLine+", column: "+e.token.startColumn+"!\n"+e.message+"!\n ->"+e.context.ruleStack.join("\n ->"))}return i.comments=n.groups.comments,{cst:i,tokens:r}}(e,t).cst}(e),n=hs(t,"ordinaryCompilationUnit");if(void 0===n)return{imports:[],declarations:[]};let r=t.comments??[],i=ho(hs(n,"packageDeclaration"),"Identifier").map(({image:e})=>e).join(".");return{imports:ha(n,"importDeclaration").map(t=>{var n;let r;return r=ht(n=t,e),{specifier:/^import\s+(?:static\s+)?([^;\s]+)\s*;/u.exec(r)?.[1]??"",location:he(n)}}),declarations:ha(n,"typeDeclaration").flatMap(t=>u3(t,e,r)),...""===i?{}:{packageName:i}}}(i):"typescript"===e.analyzerId?e.resolveTypeScriptImports(r,e.packageRoot,(t=e.file,{imports:(n=hc.default.createSourceFile(t,i,hc.default.ScriptTarget.Latest,!0)).statements.flatMap(e=>hc.default.isImportDeclaration(e)&&hc.default.isStringLiteral(e.moduleSpecifier)?[{specifier:e.moduleSpecifier.text,location:hf(e,n),kind:"import",typeOnly:e.importClause?.isTypeOnly??!1}]:hc.default.isExportDeclaration(e)&&void 0!==e.moduleSpecifier&&hc.default.isStringLiteral(e.moduleSpecifier)?[{specifier:e.moduleSpecifier.text,location:hf(e,n),kind:"reexport",typeOnly:e.isTypeOnly}]:[]),declarations:n.statements.flatMap(e=>(function e(t,n){var r,i,a,s,o,l;if(hc.default.isVariableStatement(t)){let r=hh(t).includes("export");return t.declarationList.declarations.flatMap(t=>e(t,n).map(e=>({...e,exported:r})))}let c=(r=t,hc.default.isClassDeclaration(r)?"class":hc.default.isInterfaceDeclaration(r)?"interface":hc.default.isEnumDeclaration(r)?"enum":hc.default.isTypeAliasDeclaration(r)?"type":hc.default.isFunctionDeclaration(r)?"function":hc.default.isMethodDeclaration(r)||hc.default.isMethodSignature(r)?"method":hc.default.isVariableDeclaration(r)?"variable":void 0);if(void 0===c)return[];let u="name"in(i=t)&&void 0!==i.name&&hc.default.isIdentifier(i.name)?i.name.text:"";if(""===u)return[];let h=hh(t),f=(a=t,s=n,hc.default.isClassDeclaration(a)||hc.default.isInterfaceDeclaration(a)||hc.default.isEnumDeclaration(a)?a.members.flatMap(t=>e(t,s)):hc.default.isVariableStatement(a)?a.declarationList.declarations.flatMap(t=>e(t,s)):[]),p=hc.default.isClassDeclaration(t)||hc.default.isInterfaceDeclaration(t)?t.heritageClauses??[]:[],d=e=>p.filter(t=>t.token===e).flatMap(e=>e.types.map(e=>e.getText(n))),m=(o=t,hc.default.isFunctionDeclaration(o)||hc.default.isMethodDeclaration(o)||hc.default.isMethodSignature(o))?t.getText(n).split("{",1)[0]?.replace(/\s+/gu," ").trim():void 0;return[{kind:c,name:u,visibility:(l=h).includes("private")?"private":l.includes("protected")?"protected":"public",modifiers:h,location:hf(t,n),extends:d(hc.default.SyntaxKind.ExtendsKeyword),implements:d(hc.default.SyntaxKind.ImplementsKeyword),children:f,exported:h.includes("export"),typeOnly:"interface"===c||"type"===c,...void 0===m?{}:{signature:m},...function(e,t){let n=hc.default.getJSDocCommentsAndTags(e).filter(hc.default.isJSDoc).at(-1);if(void 0===n)return{};let r=new Map;for(let e of n.tags??[]){let n="string"==typeof e.comment?e.comment:(e.comment??[]).map(e=>e.getText(t)).join("");r.set(e.tagName.text,[...r.get(e.tagName.text)??[],n])}let i=Object.fromEntries(r);return{documentation:{text:"string"==typeof n.comment?n.comment:"",tags:i}}}(t,n)}]})(e,n))})):function(e,t,n,r,i){if("kotlin"===e){let{packageName:e,imports:n}={packageName:/^\s*package\s+([\w.]+)/mu.exec(t)?.[1]??"",imports:Array.from(t.matchAll(/^\s*import\s+([\w.]+(?:\.\*)?)/gmu)).map(e=>e[1]??"").filter(e=>""!==e)};return{packageName:e,imports:n.map(e=>({specifier:e})),declarations:[]}}if("python"===e){let e,a,{imports:s}=function(e){let t=[];for(let n of e.matchAll(/(?:^|\n)\s*(?:from\s+([\w.]+)\s+)?import\s+([\w\s,*]+?)(?:\s+as\s+\w+)?(?:\s|$|#)/gmu)){let[,e,r=""]=n;if(void 0!==e){t.push(e);continue}t.push(...r.split(",").map(e=>e.trim()).filter(Boolean))}return{imports:t}}(t);return{packageName:(e=i.map(e=>"."===e?r:N.default.resolve(r,e)).filter(e=>n===e||n.startsWith(`${e}${N.default.sep}`)).sort((e,t)=>t.length-e.length)[0]??r,"."===(a=N.default.dirname(N.default.relative(e,n)))?"":hg(a).split("/").join(".")),imports:s.map(e=>({specifier:e})),declarations:[]}}if("cpp"===e){let{namespace:e,includes:n}={namespace:/namespace\s+([a-zA-Z0-9_:]+)\s*\{/u.exec(t)?.[1]?.replace(/::/gu,".")??"",includes:Array.from(t.matchAll(/#include\s+(["<])([^">]+)[">]/gu)).map(e=>({local:'"'===e[1],specifier:e[2]??""})).filter(({specifier:e})=>""!==e)};return{packageName:e,imports:n.map(({specifier:e,local:t})=>({specifier:e,local:t})),declarations:[]}}let{imports:a,unitName:s}={unitName:/\bunit\s+([A-Za-z_][A-Za-z0-9_.]*)\s*;/iu.exec(t)?.[1]??"",imports:Array.from(t.matchAll(/\buses\s+([\s\S]*?);/giu)).flatMap(e=>(e[1]??"").split(",").map(e=>e.replace(/\s+in\s+['"].*?['"]/giu,"").trim()).filter(Boolean))};return{packageName:function(e,t,n,r){if(r.includes("."))return r.split(".").slice(0,-1).join(".");let i=t.map(t=>"."===t?e:N.default.resolve(e,t)).filter(e=>n===e||n.startsWith(`${e}${N.default.sep}`)).sort((e,t)=>t.length-e.length)[0]??e,a=N.default.dirname(N.default.relative(i,n));return"."===a?"":hg(a).split("/").join(".")}(r,i,n,s),imports:a.map(e=>({specifier:e})),declarations:[]}}(e.analyzerId,i,r,e.packageRoot,e.sourceRoots)}}function hU(e,t){return e<t?-1:+(e>t)}function hT(e,t){return"number"==typeof e&&"number"==typeof t?e-t:"number"==typeof e?-1:"number"==typeof t?1:e<t?-1:+(e>t)}function hO(e){let t=[...e.nodes].sort((e,t)=>hT(e.id,t.id)),n=[...e.edges].sort((e,t)=>hT(e.id,t.id));hA(t.map(({id:e})=>e),"node"),hA(n.map(({id:e})=>e),"edge");let r=new Set(t.map(({id:e})=>e));for(let e of n)if(!r.has(e.source)||!r.has(e.target))throw Error(`Graph edge "${e.id}" references an unknown endpoint: ${e.source} -> ${e.target}.`);return{nodes:t,edges:n}}function hA(e,t){let n=new Set;for(let r of e){if("string"==typeof r&&""===r.trim())throw Error(`Graph ${t} IDs must be non-empty.`);if("number"==typeof r&&!Number.isSafeInteger(r))throw Error(`Graph ${t} numeric IDs must be safe integers.`);if(n.has(r))throw Error(`Duplicate graph ${t} ID: ${r}.`);n.add(r)}}function hR(e,t){let n=e.get(t);if(void 0===n)throw Error(`Unknown source semantic path: ${t}.`);return n}function hN(e,t){return hM(e.data.semanticPath,t.data.semanticPath)}function hb(e,t){return hM(e.source,t.source)||hM(e.target,t.target)||hM(e.data.kind,t.data.kind)||hM(hk(e),hk(t))}function hk(e){return e.data.evidence.map(({analyzerId:e,sourcePath:t,location:n,specifier:r})=>`${e}\u0000${t}\u0000${n?.line??""}\u0000${n?.column??""}\u0000${r??""}`).sort(hM).join("\x01")}function hC(e){return{...e,available:[...e.available].sort(hM)}}function hI(e,t){return hM(e.projectId,t.projectId)||hM(e.analyzerId,t.analyzerId)}function hM(e,t){return e<t?-1:+(e>t)}function hx(...e){return e.map(encodeURIComponent).join(":")}function hw(e,t){return[...t].filter(t=>"."===t||e===t||e.startsWith(`${t}/`)).sort((e,t)=>t.length-e.length)[0]??"."}function h_(e,t){e.has(t.semanticPath)||e.set(t.semanticPath,{data:t})}function hP(e,t,n,r,i,a){hB(e,t,n,"contains",{analyzerId:r,sourcePath:i,...void 0===a?{}:{location:a}})}function hB(e,t,n,r,i){e.push({source:t,target:n,data:{kind:r,evidence:[i]}})}function hD(e,t){return hx("package",e,t)}function hj(e,t){return hx("directory",e,t)}function h$(e,t){return hx("file",e,t)}function hF(e){let t=e.replace(/\.(h|hpp|hxx)$/u,"").split("/");return t.length<=1?"":t.slice(0,-1).join(".")}function hK(e){let t=e.trim();return t.split(".")[0]??t}function hW(e){return e.startsWith(".")?"":e.split(".")[0]??e}function hY(e,t,n){let r=n.get(e.projectId)??[],i="python"===e.analyzerId?r.find(e=>e===hW(t)):"delphi"===e.analyzerId?r.find(e=>e===hK(t)):r.find(e=>t===e||t.startsWith(`${e}.`));return void 0===i?void 0:hx("namespace",e.projectId,i)}e.s(["isRecord",0,hp],54411),e.s(["createProjectAnalysisSnapshotAsync",0,hy],62906),e.s(["compareGraphIds",0,hT],71238),e.s(["createGraph",0,hO],72624);function hG(e,t,n,r,i){e.push({source:t,target:n,data:{kind:r,evidence:[i]}})}function hz(e){return hp(e)&&hZ(e.rootPath,!0)&&(void 0===e.name||h2(e.name))}function hq(e){return hp(e)&&hZ(e.rootPath,!0)&&h1(e.packagePaths,!0)}function hV(e){var t,n;if(!hp(e)||!h2(e.id)||!h4(e.capabilities))return!1;let r=hE(e.id);return["cpp","delphi","java","javascript","kotlin","project-detector","python","typescript"].includes(e.id)&&(t=e.capabilities,n=r,t.join("\0")===n.join("\0"))}function hH(e){var t,n;return hp(e)&&h2(e.analyzerId)&&hZ(e.path)&&hp(t=e.facts)&&Array.isArray(t.declarations)&&t.declarations.every(hJ)&&Array.isArray(t.imports)&&t.imports.every(hX)&&(void 0===t.packageName||h2(t.packageName))&&(void 0===e.declaredDependencies||hp(n=e.declaredDependencies)&&Object.values(n).every(e=>Array.isArray(e)&&e.every(e=>hp(e)&&["dependency","devDependency","optionalDependency","peerDependency"].includes(e.kind)&&h2(e.range))))}function hJ(e){var t,n,r;return!!hp(e)&&Array.isArray((t=e).children)&&t.children.every(hJ)&&h4(t.extends)&&h4(t.implements)&&hQ(t.location)&&h4(t.modifiers)&&(void 0===(n=e).documentation||hp(r=n.documentation)&&h2(r.text)&&hp(r.tags)&&Object.values(r.tags).every(h4))&&(void 0===n.exported||"boolean"==typeof n.exported)&&(void 0===n.typeOnly||"boolean"==typeof n.typeOnly)&&["class","constant","enum","function","interface","method","type","variable"].includes(n.kind)&&h2(n.name)&&(void 0===n.signature||h2(n.signature))&&["package","private","protected","public"].includes(n.visibility)}function hX(e){return hp(e)&&(void 0===e.kind||"import"===e.kind||"reexport"===e.kind)&&(void 0===e.local||"boolean"==typeof e.local)&&(void 0===e.location||hQ(e.location))&&h2(e.specifier)&&(void 0===e.resolvedPath||hZ(e.resolvedPath))&&(void 0===e.typeOnly||"boolean"==typeof e.typeOnly)}function hQ(e){return hp(e)&&[e.line,e.column,e.endLine,e.endColumn].every(e=>"number"==typeof e&&Number.isSafeInteger(e)&&e>0)&&e.endLine>=e.line&&(e.endLine!==e.line||e.endColumn>=e.column)}function hZ(e,t=!1){return h2(e)&&(t||"."!==e)&&!e.includes("\\")&&!e.startsWith("/")&&!/^[a-z]:\//iu.test(e)&&!e.split("/").some(e=>".."===e)&&N.default.posix.normalize(e.replace(/\\/gu,"/"))===e}function h1(e,t=!1){return Array.isArray(e)&&e.every(e=>hZ(e,t))&&h0(e)}function h0(e){return new Set(e).size===e.length}function h2(e){return"string"==typeof e}function h4(e){return Array.isArray(e)&&e.every(h2)}function h7(e,t,n){if(void 0===n.filePath)return;let{filePath:r}=n,i=(t.get(n.projectId)??["."]).filter(e=>"."===e||r===e||r.startsWith(`${e}/`)).sort((e,t)=>t.length-e.length)[0]??".";if(e.some(e=>e.projectId===n.projectId&&e.relativeRoot===i))return e.filter(e=>e.projectId===n.projectId&&("."===e.relativeRoot||r===e.relativeRoot||r.startsWith(`${e.relativeRoot}/`))).sort((e,t)=>t.relativeRoot.length-e.relativeRoot.length)[0]}function h6(e,t){if("typescript"!==e.analyzerId)return e.packageName??"";let n="."===t.relativeRoot?e.filePath??"":(e.filePath??"").slice(t.relativeRoot.length+1),r=n.split("/").slice(0,-1).join("/");return""!==r?r.split("/").filter(Boolean).join("."):n.replace(/\.[^.]+$/u,"")}function h3(e,t,n){let r=n.split(".").filter(Boolean);r.forEach((n,i)=>{let a=r.slice(0,i+1).join("."),s=h8(t,a);e.has(s)||e.set(s,{id:s,data:{kind:"module",classification:"intrinsic",focus:!0,label:r.at(i)??a,projectId:t.projectId,...void 0===t.name?{}:{packageName:t.name},path:a,parentPath:0===i?"":r.slice(0,i).join(".")}})})}function h8(e,t){return""===t?e.nodeId:`${e.nodeId}#${t}`}e.s(["createSourceGraphFromProjectAnalysisSnapshots",0,function(e){let t,n,r;var i,a=e;let s=new Set;for(let e of a){if(!function(e){var t,n,r,i,a,s;return!!function(e){var t;return hp(e)&&1===e.version&&h2(t=e.projectId)&&""!==t.trim()}(e)&&(t=e.directories,n=e.files,r=e.packages,i=e.workspaces,a=e.analyzers,s=e.analyzedFiles,!!h1(t,!0)&&!!h1(n)&&!!Array.isArray(r)&&!!r.every(hz)&&!!Array.isArray(i)&&!!i.every(hq)&&!!Array.isArray(a)&&!!a.every(hV)&&!!Array.isArray(s)&&!!s.every(hH)&&function(e,t,n,r,i){return h0(e.map(({rootPath:e})=>e))&&h0(e.flatMap(({name:e})=>void 0===e?[]:[e]))&&h0(t.map(({rootPath:e})=>e))&&h0(n.map(({id:e})=>e))&&h0(r.map(({path:e})=>e))&&r.every(({analyzerId:e,path:t})=>n.some(({id:t})=>t===e)&&i.includes(t))}(r,i,a,s,n))}(e))throw Error("Invalid project analysis snapshot.");if(s.has(e.projectId))throw Error(`Duplicate project analysis snapshot ID: ${e.projectId}.`);s.add(e.projectId)}let o=e.flatMap(e=>e.analyzedFiles.map(t=>({projectId:e.projectId,analyzerId:t.analyzerId,facts:t.facts,path:t.path,...void 0===t.declaredDependencies?{}:{declaredDependencies:t.declaredDependencies}})));return function(e){let t=new Set;for(let n of e){let e=n.data.semanticPath;if(""===e.trim())throw Error("Source nodes require a semantic path.");if(t.has(e))throw Error(`Duplicate source semantic path: ${e}.`);t.add(e)}}(t=[...(i=function(e,t){let n=new Map(e.nodes.map(e=>[e.data.semanticPath,e])),r=[...e.edges],i=function(e){let t=new Map;for(let{data:a}of e){var n,r,i;("class"===a.kind||"interface"===a.kind||"type"===a.kind)&&(t.set((n=a.projectId,r=a.packageName??"",hx(n,r,a.name)),a.semanticPath),t.set((i=a.projectId,hx(i,"",a.name)),a.semanticPath))}return t}(e.nodes),a=function(e){let t=new Map;for(let{data:n}of e){if(void 0===n.filePath||void 0===n.location)continue;let e=hx(n.projectId,n.filePath,n.kind,n.name,`${n.location.line}:${n.location.column}`);t.set(e,n.semanticPath)}return t}(e.nodes),s=function(e){let t=new Map;for(let{data:n}of e)"package"===n.kind&&void 0!==n.packageName&&"intrinsic"===n.classification&&t.set(n.projectId,[...t.get(n.projectId)??[],n.packageName]);return new Map([...t].map(([e,t])=>[e,t.sort((e,t)=>t.length-e.length)]))}(e.nodes),o=new Map(e.nodes.flatMap(({data:e})=>"package"===e.kind&&void 0!==e.path&&"intrinsic"===e.classification?[[e.name,e.semanticPath]]:[]));for(let e of t){for(let t of e.facts.imports){let a=function(e,t,n,r,i,a,s,o){var l,c,u,h,f,p,d;let m=(l=e,c=t,u=n,h=r,f=i,p=a,d=s,"java"===l.analyzerId?function(e,t,n,r,i){var a;let s=t.replace(/\.\*$/u,""),o=s.lastIndexOf("."),l=o<0?"":s.slice(0,o),c=s.slice(o+1),u=r.get((a=e.projectId,hx(a,l,c)));if(void 0!==u)return u;let h=hx("namespace",e.projectId,s);return n.has(h)?h:hY(e,t,i)}(l,c,f,p,d):"typescript"===l.analyzerId?function(e,t,n,r){if(void 0!==n){let t=h$(e.projectId,n);if(r.has(t))return t}if(!t.startsWith("."))return;let i=N.default.posix.normalize(N.default.posix.join(N.default.posix.dirname(e.path),t));return[i,`${i}.ts`,`${i}.tsx`,`${i}.mts`,`${i}.cts`,`${i}/index.ts`,`${i}/index.tsx`].map(t=>h$(e.projectId,t)).find(e=>r.has(e))}(l,c,h,f):"cpp"===l.analyzerId?u?function(e,t,n){let r=hF(t);if(""===r)return;let i=hx("namespace",e.projectId,r);return n.has(i)||n.set(i,{data:{semanticPath:i,kind:"package",name:r,projectId:e.projectId,packageName:r,classification:"intrinsic"}}),i}(l,c,f):void 0:hY(l,c,d));return void 0!==m?{target:m,declarations:[]}:function(e,t,n,r){let i=function(e,t){if("java"===e){let e=t.replace(/\.\*$/u,""),n=e.split(".").reverse();if(n.length<2)return e;let r=n.findIndex(e=>!/^[A-Z]/u.test(e));return r<0?e:n.slice(r).reverse().join(".")}if("kotlin"===e){let e,n;return(n=(e=t.replace(/\.\*$/u,"")).split(".")).length<=1?e:n.slice(0,-1).join(".")}return"python"===e?hW(t):"delphi"===e?hK(t):"cpp"===e?hF(t):function(e){if(""===e||e.startsWith(".")||e.startsWith("#")||e.startsWith("/"))return;let t=e.split("/");return e.startsWith("@")?t.length>=2?`${t[0]}/${t[1]}`:void 0:t[0]}(t)}(e.analyzerId,t),a=void 0===i?[]:Object.entries(e.declaredDependencies??{}).find(([e])=>e===i)?.[1]??[],s=void 0===i?void 0:r.get(i);if(void 0!==s)return{target:s,declarations:a};let o=hx("external",e.projectId,i??t);return n.has(o)||n.set(o,{data:{semanticPath:o,kind:"package",name:i??t,projectId:e.projectId,packageName:i??t,classification:"typescript"===e.analyzerId&&a.length>0?"vendor":"unknown"}}),{target:o,declarations:a}}(e,t,i,o)}(e,t.specifier,t.local,t.resolvedPath,n,i,s,o);hG(r,h$(e.projectId,e.path),a.target,"reexport"===t.kind?"exports":"imports",{analyzerId:e.analyzerId,sourcePath:e.path,...void 0===t.location?{}:{location:t.location},specifier:t.specifier,...void 0===t.typeOnly?{}:{typeOnly:t.typeOnly},...0===a.declarations.length?{}:{declarations:a.declarations}})}for(let t of e.facts.declarations)!function e(t,n,r,i,a,s){let o=s.get(hx(t.projectId,t.path,n.kind,n.name,`${n.location.line}:${n.location.column}`));if(void 0!==o)for(let[e,s]of[["extends",n.extends],["implements",n.implements]])for(let h of s){var l,c,u;let s=h.replace(/<.*$/u,"").split(".").at(-1)??h;hG(i,o,a.get((l=t.projectId,c=t.facts.packageName??"",hx(l,c,s)))??a.get((u=t.projectId,hx(u,"",s)))??function(e,t,n){let r=hx("external-type",e.projectId,t);return n.has(r)||n.set(r,{data:{semanticPath:r,kind:"type",name:t,projectId:e.projectId,classification:"unknown"}}),r}(t,h,r),e,{analyzerId:t.analyzerId,sourcePath:t.path,location:n.location,specifier:h})}for(let o of n.children)e(t,o,r,i,a,s)}(e,t,n,r,i,a)}return{nodes:[...n.values()],edges:r,capabilities:e.capabilities}}(function(e,t){let n=new Map,r=[];for(let i of e)!function(e,t,n,r){let{projectId:i}=e,a=hx("project",i);h_(n,{semanticPath:a,kind:"project",name:i,projectId:i});let s=new Set([".",...e.packages.map(({rootPath:e})=>e)]);for(let o of(function(e,t,n,r,i){let{projectId:a}=e;for(let s of t){let t=hD(a,s);h_(r,{semanticPath:t,kind:"package",name:e.packages.find(({rootPath:e})=>e===s)?.name??s,projectId:a,path:s,classification:"intrinsic"}),hP(i,n,t,"project-detector",s)}}(e,s,a,n,r),function(e,t,n,r){let{projectId:i}=e;for(let a of e.directories.filter(e=>"."!==e)){let e=hw(a,t);if(a===e)continue;let s=hj(i,a);h_(n,{semanticPath:s,kind:"directory",name:N.default.posix.basename(a),projectId:i,path:a,classification:"intrinsic"});let o=N.default.posix.dirname(a);hP(r,o===e?hD(i,e):hj(i,o),s,"project-detector",a)}}(e,s,n,r),function(e,t,n,r){let{projectId:i}=e;for(let a of e.files){let e=hw(a,t),s=N.default.posix.dirname(a),o=h$(i,a);h_(n,{semanticPath:o,kind:"file",name:N.default.posix.basename(a),projectId:i,path:a,filePath:a,classification:"intrinsic"}),hP(r,s===e||"."===s?hD(i,e):hj(i,s),o,"project-detector",a)}}(e,s,n,r),t.filter(e=>e.projectId===i)))!function(e,t,n){let r=h$(e.projectId,e.path),i=t.get(r);if(void 0===i)throw Error(`Analyzed source file was not inspected: ${e.path}.`);if(void 0!==e.facts.packageName&&""!==e.facts.packageName){t.set(r,{data:{...i.data,analyzerId:e.analyzerId,packageName:e.facts.packageName}});let a=function(e,t,n){let r=e.facts.packageName?.split(".")??[],i=hx("project",e.projectId),a="";for(let s of r){a=""===a?s:`${a}.${s}`;let r=hx("namespace",e.projectId,a);t.has(r)||(h_(t,{semanticPath:r,kind:"package",name:a,projectId:e.projectId,packageName:a,classification:"intrinsic"}),hP(n,i,r,e.analyzerId,e.path)),i=r}return i}(e,t,n);hB(n,r,a,"declares-in",{analyzerId:e.analyzerId,sourcePath:e.path})}else t.set(r,{data:{...i.data,analyzerId:e.analyzerId}});for(let i of e.facts.declarations)!function e(t,n,r,i,a){let s=hx(r,n.kind,n.name,`${n.location.line}:${n.location.column}`);for(let o of(h_(i,{semanticPath:s,kind:n.kind,name:n.name,projectId:t.projectId,filePath:t.path,...void 0===t.facts.packageName?{}:{packageName:t.facts.packageName},classification:"intrinsic",location:n.location,visibility:n.visibility,modifiers:n.modifiers,...void 0===n.signature?{}:{signature:n.signature},...void 0===n.documentation?{}:{documentation:n.documentation},...void 0===n.typeOnly?{}:{typeOnly:n.typeOnly}}),hP(a,r,s,t.analyzerId,t.path,n.location),!0===n.exported&&hB(a,r,s,"exports",{analyzerId:t.analyzerId,sourcePath:t.path,location:n.location}),n.children))e(t,o,s,i,a)}(e,i,r,t,n)}(o,n,r)}(i,t,n,r);return{nodes:[...n.values()],edges:r,capabilities:e.flatMap(({projectId:e,analyzers:t})=>t.map(({id:t,capabilities:n})=>({projectId:e,analyzerId:t,available:n})))}}(e,o),o)).nodes].sort(hN)),n=new Map(t.map((e,t)=>[e.data.semanticPath,t])),r=[...i.edges].sort(hb).map((e,t)=>({id:t,source:hR(n,e.source),target:hR(n,e.target),data:e.data})),{version:1,graph:hO({nodes:t.map((e,t)=>({id:t,data:e.data})),edges:r}),capabilities:[...i.capabilities].map(hC).sort(hI)}}],64474),e.s(["projectDependencyGraphFromSourceGraph",0,function(e,t,n){let r=new Map(n.map(({id:e,packages:t})=>[e,t.map(({rootPath:e})=>e)])),i=new Map(t.map(e=>[e.nodeId,{id:e.nodeId,data:{kind:"package",classification:"intrinsic",focus:!0,label:e.name??e.id,projectId:e.projectId,...void 0===e.name?{}:{packageName:e.name},path:e.relativeRoot}}])),a=new Map,s=new Map(e.graph.nodes.map(e=>[e.id,e.data]));for(let{data:n}of e.graph.nodes.filter(({data:e})=>"file"===e.kind&&void 0!==e.analyzerId)){let e=h7(t,r,n);void 0!==e&&h3(i,e,h6(n,e))}for(let n of e.graph.edges){if("imports"!==n.data.kind)continue;let e=s.get(n.source),o=s.get(n.target);if(void 0===e||void 0===o)continue;let l=h7(t,r,e);if(void 0===l||void 0===e.analyzerId)continue;let c=h8(l,h6(e,l)),u=function(e,t,n,r,i){if("vendor"===e.classification||"unknown"===e.classification){let t=e.packageName??e.name,n=`${e.classification}:${t}`;return i.has(n)||i.set(n,{id:n,data:{kind:"package",classification:e.classification,focus:!1,label:t,packageName:t}}),n}if("package"===e.kind&&void 0!==e.path)return n.find(t=>t.projectId===e.projectId&&t.relativeRoot===e.path)?.nodeId;let a=void 0===e.filePath?t:h7(n,r,e);if(void 0===a)return;let s="typescript"===e.analyzerId||"file"===e.kind?h6(e,a):e.packageName??"";return h3(i,a,s),h8(a,s)}(o,l,t,r,i);void 0!==u&&u!==c&&function(e,t,n,r,i,a,s){let o=`${t}->${n}`,l=e.get(o),c="package"===s.kind&&void 0!==s.path?"focus":s.classification??"unknown",u=a.map(e=>({sourceFile:"."===i.relativeRoot?e.sourcePath:e.sourcePath.slice(i.relativeRoot.length+1),specifier:e.specifier??"",classification:c,declarations:e.declarations??[]}));e.set(o,{id:o,source:t,target:n,data:{kind:"import",analyzerId:r,weight:(l?.data.weight??0)+u.length,evidence:[...l?.data.evidence??[],...u]}})}(a,c,u,e.analyzerId,l,n.data.evidence,o)}return hO({nodes:[...i.values()],edges:[...a.values()]})}],35530)},91085,(e,t,n)=>{t.exports=e.g&&e.g.Object===Object&&e.g},22524,(e,t,n)=>{var r=e.r(91085),i="object"==typeof self&&self&&self.Object===Object&&self;t.exports=r||i||Function("return this")()},59345,(e,t,n)=>{t.exports=e.r(22524).Symbol},41497,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},66046,(e,t,n)=>{t.exports=Array.isArray},93456,(e,t,n)=>{var r=e.r(59345),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,o=r?r.toStringTag:void 0;t.exports=function(e){var t=a.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[o]=n:delete e[o]),i}},21341,(e,t,n)=>{var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},40277,(e,t,n)=>{var r=e.r(59345),i=e.r(93456),a=e.r(21341),s=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):a(e)}},10180,(e,t,n)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},61151,(e,t,n)=>{var r=e.r(40277),i=e.r(10180);t.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},90644,(e,t,n)=>{var r=e.r(59345),i=e.r(41497),a=e.r(66046),s=e.r(61151),o=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(s(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-o?"-0":n}},76997,(e,t,n)=>{var r=e.r(90644);t.exports=function(e){return null==e?"":r(e)}},24537,(e,t,n)=>{t.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}},58589,(e,t,n)=>{var r=e.r(24537);t.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},7990,(e,t,n)=>{var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return r.test(e)}},9424,(e,t,n)=>{t.exports=function(e){return e.split("")}},88989,(e,t,n)=>{var r="\\ud800-\\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",s="[^"+r+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+i+"|"+a+")?",u="[\\ufe0e\\ufe0f]?",h="(?:\\u200d(?:"+[s,o,l].join("|")+")"+u+c+")*",f=RegExp(a+"(?="+a+")|"+("(?:"+[s+i+"?",i,o,l,"["+r+"]"].join("|"))+")"+(u+c+h),"g");t.exports=function(e){return e.match(f)||[]}},5660,(e,t,n)=>{var r=e.r(9424),i=e.r(7990),a=e.r(88989);t.exports=function(e){return i(e)?a(e):r(e)}},23171,(e,t,n)=>{var r=e.r(58589),i=e.r(7990),a=e.r(5660),s=e.r(76997);t.exports=function(e){return function(t){var n=i(t=s(t))?a(t):void 0,o=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return o[e]()+l}}},67850,(e,t,n)=>{t.exports=e.r(23171)("toUpperCase")},66116,(e,t,n)=>{var r=e.r(76997),i=e.r(67850);t.exports=function(e){return i(r(e).toLowerCase())}},25155,(e,t,n)=>{t.exports=function(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}},7526,(e,t,n)=>{t.exports=function(e){return function(t){return null==e?void 0:e[t]}}},65988,(e,t,n)=>{t.exports=e.r(7526)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},51776,(e,t,n)=>{var r=e.r(65988),i=e.r(76997),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(e){return(e=i(e))&&e.replace(a,r).replace(s,"")}},21020,(e,t,n)=>{var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(e){return e.match(r)||[]}},46812,(e,t,n)=>{var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(e){return r.test(e)}},47817,(e,t,n)=>{var r="\\ud800-\\udfff",i="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",s="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="['’]",c="["+o+"]",u="["+a+"]",h="[^"+r+o+"\\d+"+i+a+s+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+s+"]",m="(?:"+u+"|"+h+")",g="(?:"+d+"|"+h+")",E="(?:"+l+"(?:d|ll|m|re|s|t|ve))?",y="(?:"+l+"(?:D|LL|M|RE|S|T|VE))?",S="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",L="[\\ufe0e\\ufe0f]?",v="(?:\\u200d(?:"+["[^"+r+"]",f,p].join("|")+")"+L+S+")*",U="(?:"+["["+i+"]",f,p].join("|")+")"+(L+S+v),T=RegExp([d+"?"+u+"+"+E+"(?="+[c,d,"$"].join("|")+")",g+"+"+y+"(?="+[c,d+m,"$"].join("|")+")",d+"?"+m+"+"+E,d+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",U].join("|"),"g");t.exports=function(e){return e.match(T)||[]}},24762,(e,t,n)=>{var r=e.r(21020),i=e.r(46812),a=e.r(76997),s=e.r(47817);t.exports=function(e,t,n){return(e=a(e),void 0===(t=n?void 0:t))?i(e)?s(e):r(e):e.match(t)||[]}},8218,(e,t,n)=>{var r=e.r(25155),i=e.r(51776),a=e.r(24762),s=RegExp("['’]","g");t.exports=function(e){return function(t){return r(a(i(t).replace(s,"")),e,"")}}},65191,(e,t,n)=>{var r=e.r(66116);t.exports=e.r(8218)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)})},62004,(e,t,n)=>{"use strict";let r=Symbol.for("yaml.alias"),i=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),s=Symbol.for("yaml.pair"),o=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),c=Symbol.for("yaml.node.type"),u=e=>!!e&&"object"==typeof e&&e[c]===o;function h(e){if(e&&"object"==typeof e)switch(e[c]){case a:case l:return!0}return!1}n.ALIAS=r,n.DOC=i,n.MAP=a,n.NODE_TYPE=c,n.PAIR=s,n.SCALAR=o,n.SEQ=l,n.hasAnchor=e=>(u(e)||h(e))&&!!e.anchor,n.isAlias=e=>!!e&&"object"==typeof e&&e[c]===r,n.isCollection=h,n.isDocument=e=>!!e&&"object"==typeof e&&e[c]===i,n.isMap=e=>!!e&&"object"==typeof e&&e[c]===a,n.isNode=function(e){if(e&&"object"==typeof e)switch(e[c]){case r:case a:case o:case l:return!0}return!1},n.isPair=e=>!!e&&"object"==typeof e&&e[c]===s,n.isScalar=u,n.isSeq=e=>!!e&&"object"==typeof e&&e[c]===l},5746,(e,t,n)=>{"use strict";var r=e.r(62004);let i=Symbol("break visit"),a=Symbol("skip children"),s=Symbol("remove node");function o(e,t){let n=h(t);r.isDocument(e)?l(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):l(null,e,n,Object.freeze([]))}function l(e,t,n,a){let o=f(e,t,n,a);if(r.isNode(o)||r.isPair(o))return p(e,a,o),l(e,o,n,a);if("symbol"!=typeof o){if(r.isCollection(t)){a=Object.freeze(a.concat(t));for(let e=0;e<t.items.length;++e){let r=l(e,t.items[e],n,a);if("number"==typeof r)e=r-1;else{if(r===i)return i;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){a=Object.freeze(a.concat(t));let e=l("key",t.key,n,a);if(e===i)return i;e===s&&(t.key=null);let r=l("value",t.value,n,a);if(r===i)return i;r===s&&(t.value=null)}}return o}async function c(e,t){let n=h(t);r.isDocument(e)?await u(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):await u(null,e,n,Object.freeze([]))}async function u(e,t,n,a){let o=await f(e,t,n,a);if(r.isNode(o)||r.isPair(o))return p(e,a,o),u(e,o,n,a);if("symbol"!=typeof o){if(r.isCollection(t)){a=Object.freeze(a.concat(t));for(let e=0;e<t.items.length;++e){let r=await u(e,t.items[e],n,a);if("number"==typeof r)e=r-1;else{if(r===i)return i;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){a=Object.freeze(a.concat(t));let e=await u("key",t.key,n,a);if(e===i)return i;e===s&&(t.key=null);let r=await u("value",t.value,n,a);if(r===i)return i;r===s&&(t.value=null)}}return o}function h(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function f(e,t,n,i){return"function"==typeof n?n(e,t,i):r.isMap(t)?n.Map?.(e,t,i):r.isSeq(t)?n.Seq?.(e,t,i):r.isPair(t)?n.Pair?.(e,t,i):r.isScalar(t)?n.Scalar?.(e,t,i):r.isAlias(t)?n.Alias?.(e,t,i):void 0}function p(e,t,n){let i=t[t.length-1];if(r.isCollection(i))i.items[e]=n;else if(r.isPair(i))"key"===e?i.key=n:i.value=n;else if(r.isDocument(i))i.contents=n;else{let e=r.isAlias(i)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}o.BREAK=i,o.SKIP=a,o.REMOVE=s,c.BREAK=i,c.SKIP=a,c.REMOVE=s,n.visit=o,n.visitAsync=c},43474,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(5746);let a={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},s=e=>e.replace(/[!,[\]{}]/g,e=>a[e]);class o{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},o.defaultYaml,e),this.tags=Object.assign({},o.defaultTags,t)}clone(){let e=new o(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new o(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:o.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},o.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:o.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},o.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+s(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],a=Object.entries(this.tags);if(e&&a.length>0&&r.isNode(e.contents)){let n={};i.visit(e.contents,(e,t)=>{r.isNode(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[r,i]of a)("!!"!==r||"tag:yaml.org,2002:"!==i)&&(!e||t.some(e=>e.startsWith(i)))&&n.push(`%TAG ${r} ${i}`);return n.join("\n")}}o.defaultYaml={explicit:!1,version:"1.2"},o.defaultTags={"!!":"tag:yaml.org,2002:"},n.Directives=o},97943,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(5746);function a(e){let t=new Set;return i.visit(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function s(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}n.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0},n.anchorNames=a,n.createNodeAnchors=function(e,t){let n=[],i=new Map,o=null;return{onAnchor:r=>{n.push(r),o??(o=a(e));let i=s(t,o);return o.add(i),i},setAnchors:()=>{for(let e of n){let t=i.get(e);if("object"==typeof t&&t.anchor&&(r.isScalar(t.node)||r.isCollection(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:i}},n.findNewAnchor=s},53418,(e,t,n)=>{"use strict";n.applyReviver=function e(t,n,r,i){if(i&&"object"==typeof i)if(Array.isArray(i))for(let n=0,r=i.length;n<r;++n){let r=i[n],a=e(t,i,String(n),r);void 0===a?delete i[n]:a!==r&&(i[n]=a)}else if(i instanceof Map)for(let n of Array.from(i.keys())){let r=i.get(n),a=e(t,i,n,r);void 0===a?i.delete(n):a!==r&&i.set(n,a)}else if(i instanceof Set)for(let n of Array.from(i)){let r=e(t,i,n,n);void 0===r?i.delete(n):r!==n&&(i.delete(n),i.add(r))}else for(let[n,r]of Object.entries(i)){let a=e(t,i,n,r);void 0===a?delete i[n]:a!==r&&(i[n]=a)}return t.call(n,r,i)}},84922,(e,t,n)=>{"use strict";var r=e.r(62004);n.toJS=function e(t,n,i){if(Array.isArray(t))return t.map((t,n)=>e(t,String(n),i));if(t&&"function"==typeof t.toJSON){if(!i||!r.hasAnchor(t))return t.toJSON(n,i);let e={aliasCount:0,count:1,res:void 0};i.anchors.set(t,e),i.onCreate=t=>{e.res=t,delete i.onCreate};let a=t.toJSON(n,i);return i.onCreate&&i.onCreate(a),a}return"bigint"!=typeof t||i?.keep?t:Number(t)}},88865,(e,t,n)=>{"use strict";var r=e.r(53418),i=e.r(62004),a=e.r(84922);n.NodeBase=class{constructor(e){Object.defineProperty(this,i.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:s,reviver:o}={}){if(!i.isDocument(e))throw TypeError("A document argument is required");let l={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},c=a.toJS(this,"",l);if("function"==typeof s)for(let{count:e,res:t}of l.anchors.values())s(t,e);return"function"==typeof o?r.applyReviver(o,{"":c},"",c):c}}},78862,(e,t,n)=>{"use strict";var r=e.r(97943),i=e.r(5746),a=e.r(62004),s=e.r(88865),o=e.r(84922);class l extends s.NodeBase{constructor(e){super(a.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let n,r;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let s of(t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],i.visit(e,{Node:(e,t)=>{(a.isAlias(t)||a.hasAnchor(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n)),n)){if(s===this)break;s.anchor===this.source&&(r=s)}if(r&&t){let{anchors:e,doc:n,maxAliasCount:i}=t,s=e.get(r);if(s||(o.toJS(r,null,t),s=e.get(r)),s?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=function e(t,n,r){if(a.isAlias(n)){let e=n.resolve(t),i=r&&e&&r.get(e);return i?i.count*i.aliasCount:0}if(a.isCollection(n)){let i=0;for(let a of n.items){let n=e(t,a,r);n>i&&(i=n)}return i}return a.isPair(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(n,r,e)),s.count*s.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return r}toJSON(e,t){if(!t)return{source:this.source};let n=this.resolve(t.doc,t);if(!n)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);return t.anchors.get(n).res}toString(e,t,n){let i=`*${this.source}`;if(e){if(r.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${i} `}return i}}n.Alias=l},45942,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(88865),a=e.r(84922);class s extends i.NodeBase{constructor(e){super(r.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:a.toJS(this.value,e,t)}toString(){return String(this.value)}}s.BLOCK_FOLDED="BLOCK_FOLDED",s.BLOCK_LITERAL="BLOCK_LITERAL",s.PLAIN="PLAIN",s.QUOTE_DOUBLE="QUOTE_DOUBLE",s.QUOTE_SINGLE="QUOTE_SINGLE",n.Scalar=s,n.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},12270,(e,t,n)=>{"use strict";var r=e.r(78862),i=e.r(62004),a=e.r(45942);n.createNode=function(e,t,n){let s;if(i.isDocument(e)&&(e=e.contents),i.isNode(e))return e;if(i.isPair(e)){let t=n.schema[i.MAP].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"u">typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:o,onAnchor:l,onTagObj:c,schema:u,sourceObjects:h}=n;if(o&&e&&"object"==typeof e){if(s=h.get(e))return s.anchor??(s.anchor=l(e)),new r.Alias(s.anchor);s={anchor:null,node:null},h.set(e,s)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let f=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,u.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new a.Scalar(e);return s&&(s.node=t),t}f=e instanceof Map?u[i.MAP]:Symbol.iterator in Object(e)?u[i.SEQ]:u[i.MAP]}c&&(c(f),delete n.onTagObj);let p=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new a.Scalar(e);return t?p.tag=t:f.default||(p.tag=f.tag),s&&(s.node=p),p}},26634,(e,t,n)=>{"use strict";var r=e.r(12270),i=e.r(62004),a=e.r(88865);function s(e,t,n){let i=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=i,i=e}else i=new Map([[n,i]])}return r.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}let o=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class l extends a.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>i.isNode(t)||i.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(o(e))this.add(t);else{let[n,...r]=e,a=this.get(n,!0);if(i.isCollection(a))a.addIn(r,t);else if(void 0===a&&this.schema)this.set(n,s(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(i.isCollection(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,a=this.get(n,!0);return 0===r.length?!t&&i.isScalar(a)?a.value:a:i.isCollection(a)?a.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!i.isPair(t))return!1;let n=t.value;return null==n||e&&i.isScalar(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!i.isCollection(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(i.isCollection(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,s(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}n.Collection=l,n.collectionFromPath=s,n.isEmptyPath=o},36803,(e,t,n)=>{"use strict";function r(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}n.indentComment=r,n.lineComment=(e,t,n)=>e.endsWith("\n")?r(n,t):n.includes("\n")?"\n"+r(n,t):(e.endsWith(" ")?"":" ")+n,n.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},36502,(e,t,n)=>{"use strict";let r="block",i="quoted";function a(e,t,n){let r=t,i=t+1,a=e[i];for(;" "===a||" "===a;)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&"\n"!==a)r=t,a=e[i=t+1]}return r}n.FOLD_BLOCK=r,n.FOLD_FLOW="flow",n.FOLD_QUOTED=i,n.foldFlowLines=function(e,t,n="flow",{indentAtStart:s,lineWidth:o=80,minContentWidth:l=20,onFold:c,onOverflow:u}={}){let h,f,p;if(!o||o<0)return e;o<l&&(l=0);let d=Math.max(1+l,1+o-t.length);if(e.length<=d)return e;let m=[],g={},E=o-t.length;"number"==typeof s&&(s>o-Math.max(2,l)?m.push(0):E=o-s);let y=!1,S=-1,L=-1,v=-1;for(n===r&&-1!==(S=a(e,S,t.length))&&(E=S+d);p=e[S+=1];){if(n===i&&"\\"===p){switch(L=S,e[S+1]){case"x":S+=3;break;case"u":S+=5;break;case"U":S+=9;break;default:S+=1}v=S}if("\n"===p)n===r&&(S=a(e,S,t.length)),E=S+t.length+d,h=void 0;else{if(" "===p&&f&&" "!==f&&"\n"!==f&&" "!==f){let t=e[S+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(h=S)}if(S>=E)if(h)m.push(h),E=h+d,h=void 0;else if(n===i){for(;" "===f||" "===f;)f=p,p=e[S+=1],y=!0;let t=S>v+1?S-2:L-1;if(g[t])return e;m.push(t),g[t]=!0,E=t+d,h=void 0}else y=!0}f=p}if(y&&u&&u(),0===m.length)return e;c&&c();let U=e.slice(0,m[0]);for(let r=0;r<m.length;++r){let a=m[r],s=m[r+1]||e.length;0===a?U=`
|
|
58
|
+
`+"For Further details."))}function uG(e){return{configs:e,edges:{},isAcceptState:!1,prediction:-1}}function uz(e,t,n,r){return r=uq(e,r),t.edges[n.tokenTypeIdx]=r,r}function uq(e,t){if(t===um)return t;let n=t.configs.key,r=e.states[n];return void 0!==r?r:(t.configs.finalize(),e.states[n]=t,t)}function uV(e,t){let n=e.state;if(7===n.type){if(e.stack.length>0){let n=[...e.stack];uV({state:n.pop(),alt:e.alt,stack:n},t)}else t.add(e);return}n.epsilonOnlyTransitions||t.add(e);let r=n.transitions.length;for(let i=0;i<r;i++){let r=function(e,t){if(t instanceof ui)return{state:t.target,alt:e.alt,stack:e.stack};if(t instanceof ua){let n=[...e.stack,t.followState];return{state:t.target,alt:e.alt,stack:n}}}(e,n.transitions[i]);void 0!==r&&uV(r,t)}}function uH(e,t){e.RULE("literal",()=>{e.OR([{ALT:()=>e.SUBRULE(e.integerLiteral)},{ALT:()=>e.SUBRULE(e.floatingPointLiteral)},{ALT:()=>e.SUBRULE(e.booleanLiteral)},{ALT:()=>e.CONSUME(t.CharLiteral)},{ALT:()=>e.CONSUME(t.TextBlock)},{ALT:()=>e.CONSUME(t.StringLiteral)},{ALT:()=>e.CONSUME(t.Null)}])}),e.RULE("integerLiteral",()=>{e.OR([{ALT:()=>e.CONSUME(t.DecimalLiteral)},{ALT:()=>e.CONSUME(t.HexLiteral)},{ALT:()=>e.CONSUME(t.OctalLiteral)},{ALT:()=>e.CONSUME(t.BinaryLiteral)}])}),e.RULE("floatingPointLiteral",()=>{e.OR([{ALT:()=>e.CONSUME(t.FloatLiteral)},{ALT:()=>e.CONSUME(t.HexFloatLiteral)}])}),e.RULE("booleanLiteral",()=>{e.OR([{ALT:()=>e.CONSUME(t.True)},{ALT:()=>e.CONSUME(t.False)}])}),e.RULE("shiftOperator",()=>{e.OR([{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Less),e.CONSUME2(t.Less)}},{GATE:()=>e.LA(1).startOffset+1===e.LA(2).startOffset,ALT:()=>{e.CONSUME(t.Greater),e.CONSUME2(t.Greater),e.OPTION({GATE:()=>e.LA(0).startOffset+1===e.LA(1).startOffset,DEF:()=>e.CONSUME3(t.Greater)})}}])})}function uJ(e,t){e.RULE("primitiveType",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])}),e.RULE("numericType",()=>{e.OR([{ALT:()=>e.SUBRULE(e.integralType)},{ALT:()=>e.SUBRULE(e.floatingPointType)}])}),e.RULE("integralType",()=>{e.OR([{ALT:()=>e.CONSUME(t.Byte)},{ALT:()=>e.CONSUME(t.Short)},{ALT:()=>e.CONSUME(t.Int)},{ALT:()=>e.CONSUME(t.Long)},{ALT:()=>e.CONSUME(t.Char)}])}),e.RULE("floatingPointType",()=>{e.OR([{ALT:()=>e.CONSUME(t.Float)},{ALT:()=>e.CONSUME(t.Double)}])}),e.RULE("referenceType",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OR({DEF:[{ALT:()=>{e.SUBRULE(e.primitiveType),e.SUBRULE(e.dims)}},{ALT:()=>{e.SUBRULE(e.classOrInterfaceType),e.OPTION(()=>{e.SUBRULE2(e.dims)})}}],IGNORE_AMBIGUITIES:!0})}),e.RULE("classOrInterfaceType",()=>{e.SUBRULE(e.classType)}),e.RULE("classType",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.Identifier),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.MANY2(()=>{e.CONSUME(t.Dot),e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.Identifier),e.OPTION2(()=>e.SUBRULE2(e.typeArguments))})}),e.RULE("interfaceType",()=>{e.SUBRULE(e.classType)}),e.RULE("typeVariable",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.Identifier)}),e.RULE("dims",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.LSquare),e.CONSUME(t.RSquare),e.MANY2({GATE:()=>e.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>{e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.LSquare),e.CONSUME2(t.RSquare)}})}),e.RULE("typeParameter",()=>{e.MANY(()=>{e.SUBRULE(e.typeParameterModifier)}),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeBound)})}),e.RULE("typeParameterModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("typeBound",()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classOrInterfaceType),e.MANY(()=>{e.SUBRULE(e.additionalBound)})}),e.RULE("additionalBound",()=>{e.CONSUME(t.And),e.SUBRULE(e.interfaceType)}),e.RULE("typeArguments",()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeArgumentList),e.CONSUME(t.Greater)}),e.RULE("typeArgumentList",()=>{e.SUBRULE(e.typeArgument),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeArgument)})}),e.RULE("typeArgument",()=>{e.OR([{ALT:()=>e.SUBRULE(e.referenceType)},{ALT:()=>e.SUBRULE(e.wildcard)}])}),e.RULE("wildcard",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.QuestionMark),e.OPTION(()=>{e.SUBRULE(e.wildcardBounds)})}),e.RULE("wildcardBounds",()=>{e.OR([{ALT:()=>e.CONSUME(t.Extends)},{ALT:()=>e.CONSUME(t.Super)}]),e.SUBRULE(e.referenceType)})}function uX(e,t){e.RULE("moduleName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})}),e.RULE("packageName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})}),e.RULE("typeName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})}),e.RULE("expressionName",()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>a5(this.LA(2).tokenType,t.Identifier),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})}),e.RULE("methodName",()=>{e.CONSUME(t.Identifier)}),e.RULE("packageOrTypeName",()=>{e.CONSUME(t.Identifier),e.MANY({GATE:()=>!1===a5(this.LA(2).tokenType,t.Star),DEF:()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}})}),e.RULE("ambiguousName",()=>{e.CONSUME(t.Identifier),e.MANY(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)})})}function uQ(e,t){e.RULE("compilationUnit",()=>{e.OR([{ALT:()=>e.SUBRULE(e.ordinaryCompilationUnit)},{ALT:()=>e.SUBRULE(e.modularCompilationUnit)},{ALT:()=>e.CONSUME(sL)}])}),e.RULE("ordinaryCompilationUnit",()=>{e.OPTION(()=>e.SUBRULE(e.packageDeclaration)),e.MANY(()=>{e.SUBRULE3(e.importDeclaration)}),e.MANY2(()=>{e.SUBRULE(e.typeDeclaration)})}),e.RULE("modularCompilationUnit",()=>{e.MANY(()=>{e.SUBRULE(e.importDeclaration)}),e.SUBRULE(e.moduleDeclaration)}),e.RULE("packageDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.packageModifier)}),e.CONSUME(t.Package),e.CONSUME(t.Identifier),e.MANY2(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}),e.CONSUME2(t.Semicolon)}),e.RULE("packageModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("importDeclaration",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Import),e.OPTION(()=>{e.CONSUME(t.Static)}),e.SUBRULE(e.packageOrTypeName),e.OPTION2(()=>{e.CONSUME(t.Dot),e.CONSUME(t.Star)}),e.CONSUME(t.Semicolon)}},{ALT:()=>e.SUBRULE(e.emptyStatement)}])}),e.RULE("typeDeclaration",()=>{e.OR([{ALT:()=>e.CONSUME(t.Semicolon)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)}])}),e.RULE("moduleDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OPTION(()=>{e.CONSUME(t.Open)}),e.CONSUME(t.Module),e.CONSUME(t.Identifier),e.MANY2(()=>{e.CONSUME(t.Dot),e.CONSUME2(t.Identifier)}),e.CONSUME(t.LCurly),e.MANY3(()=>{e.SUBRULE(e.moduleDirective)}),e.CONSUME(t.RCurly)}),e.RULE("moduleDirective",()=>{e.OR([{ALT:()=>e.SUBRULE(e.requiresModuleDirective)},{ALT:()=>e.SUBRULE(e.exportsModuleDirective)},{ALT:()=>e.SUBRULE(e.opensModuleDirective)},{ALT:()=>e.SUBRULE(e.usesModuleDirective)},{ALT:()=>e.SUBRULE(e.providesModuleDirective)}])}),e.RULE("requiresModuleDirective",()=>{e.CONSUME(t.Requires),e.MANY({GATE:()=>!1===(a5(e.LA(1).tokenType,t.Transitive)&&a5(e.LA(2).tokenType,t.Separators)),DEF:()=>{e.SUBRULE(e.requiresModifier)}}),e.SUBRULE(e.moduleName),e.CONSUME(t.Semicolon)}),e.RULE("exportsModuleDirective",()=>{e.CONSUME(t.Exports),e.SUBRULE(e.packageName),e.OPTION(()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)})}),e.CONSUME(t.Semicolon)}),e.RULE("opensModuleDirective",()=>{e.CONSUME(t.Opens),e.SUBRULE(e.packageName),e.OPTION(()=>{e.CONSUME(t.To),e.SUBRULE(e.moduleName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.moduleName)})}),e.CONSUME(t.Semicolon)}),e.RULE("usesModuleDirective",()=>{e.CONSUME(t.Uses),e.SUBRULE(e.typeName),e.CONSUME(t.Semicolon)}),e.RULE("providesModuleDirective",()=>{e.CONSUME(t.Provides),e.SUBRULE(e.typeName),e.CONSUME(t.With),e.SUBRULE2(e.typeName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE3(e.typeName)}),e.CONSUME(t.Semicolon)}),e.RULE("requiresModifier",()=>{e.OR([{ALT:()=>e.CONSUME(t.Transitive)},{ALT:()=>e.CONSUME(t.Static)}])})}function uZ(e,t){e.RULE("classDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.classModifier)}),e.OR([{ALT:()=>e.SUBRULE(e.normalClassDeclaration)},{ALT:()=>e.SUBRULE(e.enumDeclaration)},{ALT:()=>e.SUBRULE(e.recordDeclaration)}])}),e.RULE("normalClassDeclaration",()=>{e.CONSUME(t.Class),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.OPTION2(()=>{e.SUBRULE(e.classExtends)}),e.OPTION3(()=>{e.SUBRULE(e.classImplements)}),e.OPTION4(()=>{e.SUBRULE(e.classPermits)}),e.SUBRULE(e.classBody)}),e.RULE("classModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("typeParameters",()=>{e.CONSUME(t.Less),e.SUBRULE(e.typeParameterList),e.CONSUME(t.Greater)}),e.RULE("typeParameterList",()=>{e.SUBRULE(e.typeParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeParameter)})}),e.RULE("classExtends",()=>{e.CONSUME(t.Extends),e.SUBRULE(e.classType)}),e.RULE("classImplements",()=>{e.CONSUME(t.Implements),e.SUBRULE(e.interfaceTypeList)}),e.RULE("interfaceTypeList",()=>{e.SUBRULE(e.interfaceType),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.interfaceType)})}),e.RULE("classPermits",()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)})}),e.RULE("classBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.classBodyDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("classBodyDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.classMemberDeclaration)},{ALT:()=>e.SUBRULE(e.instanceInitializer)},{ALT:()=>e.SUBRULE(e.staticInitializer)},{ALT:()=>e.SUBRULE(e.constructorDeclaration)}])}),e.RULE("classMemberDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.fieldDeclaration)},{ALT:()=>e.SUBRULE(e.methodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("fieldDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.fieldModifier)}),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)}),e.RULE("fieldModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Transient)},{ALT:()=>e.CONSUME(t.Volatile)}])}),e.RULE("variableDeclaratorList",n=>{e.SUBRULE(e.variableDeclarator),e.MANY({GATE:()=>!n,DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableDeclarator)}})}),e.RULE("variableDeclarator",()=>{e.SUBRULE(e.variableDeclaratorId),e.OPTION(()=>{e.CONSUME(t.Equals),e.SUBRULE(e.variableInitializer)})}),e.RULE("variableDeclaratorId",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Identifier),e.OPTION(()=>{e.SUBRULE(e.dims)})}},{ALT:()=>e.CONSUME(t.Underscore)}])}),e.RULE("variableInitializer",()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.arrayInitializer)}])}),e.RULE("unannType",()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.unannReferenceType)}])}),e.RULE("unannPrimitiveTypeWithOptionalDimsSuffix",()=>{e.SUBRULE(e.unannPrimitiveType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})}),e.RULE("unannPrimitiveType",()=>{e.OR([{ALT:()=>e.SUBRULE(e.numericType)},{ALT:()=>e.CONSUME(t.Boolean)}])}),e.RULE("unannReferenceType",()=>{e.SUBRULE(e.unannClassOrInterfaceType),e.OPTION({GATE:()=>this.BACKTRACK_LOOKAHEAD(e.isDims),DEF:()=>e.SUBRULE2(e.dims)})}),e.RULE("unannClassOrInterfaceType",()=>{e.SUBRULE(e.unannClassType)}),e.RULE("unannClassType",()=>{e.CONSUME(t.Identifier),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.MANY2(()=>{e.CONSUME(t.Dot),e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.Identifier),e.OPTION2(()=>{e.SUBRULE2(e.typeArguments)})})}),e.RULE("unannInterfaceType",()=>{e.SUBRULE(e.unannClassType)}),e.RULE("unannTypeVariable",()=>{e.CONSUME(t.Identifier)}),e.RULE("methodDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.methodModifier)}),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)}),e.RULE("methodModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)},{ALT:()=>e.CONSUME(t.Synchronized)},{ALT:()=>e.CONSUME(t.Native)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("methodHeader",()=>{e.OPTION(()=>{e.SUBRULE(e.typeParameters),e.MANY(()=>{e.SUBRULE(e.annotation)})}),e.SUBRULE(e.result),e.SUBRULE(e.methodDeclarator),e.OPTION2(()=>{e.SUBRULE(e.throws)})}),e.RULE("result",()=>{e.OR([{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Void)}])}),e.RULE("methodDeclarator",()=>{e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.OR([{ALT:()=>{e.SUBRULE(e.receiverParameter),e.OPTION(()=>{e.CONSUME(t.Comma),e.SUBRULE(e.formalParameterList)})}},{ALT:()=>e.OPTION1(()=>e.SUBRULE1(e.formalParameterList))}]),e.CONSUME(t.RBrace),e.OPTION2(()=>{e.SUBRULE(e.dims)})}),e.RULE("receiverParameter",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.SUBRULE(e.unannType),e.OPTION(()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Dot)}),e.CONSUME(t.This)}),e.RULE("formalParameterList",()=>{e.SUBRULE(e.formalParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.formalParameter)})}),e.RULE("formalParameter",()=>{e.OR([{ALT:()=>e.SUBRULE(e.variableParaRegularParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])}),e.RULE("variableParaRegularParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorId)}),e.RULE("variableArityParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.unannType),e.MANY2(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)}),e.RULE("variableModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Final)}])}),e.RULE("throws",()=>{e.CONSUME(t.Throws),e.SUBRULE(e.exceptionTypeList)}),e.RULE("exceptionTypeList",()=>{e.SUBRULE(e.exceptionType),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.exceptionType)})}),e.RULE("exceptionType",()=>{e.SUBRULE(e.classType)}),e.RULE("methodBody",()=>{e.OR([{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("instanceInitializer",()=>{e.SUBRULE(e.block)}),e.RULE("staticInitializer",()=>{e.CONSUME(t.Static),e.SUBRULE(e.block)}),e.RULE("constructorDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.constructorModifier)}),e.SUBRULE(e.constructorDeclarator),e.OPTION(()=>{e.SUBRULE(e.throws)}),e.SUBRULE(e.constructorBody)}),e.RULE("constructorModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)}])}),e.RULE("constructorDeclarator",()=>{e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.SUBRULE(e.simpleTypeName),e.CONSUME(t.LBrace),e.OR([{ALT:()=>{e.SUBRULE(e.receiverParameter),e.OPTION1(()=>{e.CONSUME(t.Comma),e.SUBRULE(e.formalParameterList)})}},{ALT:()=>e.OPTION2(()=>e.SUBRULE1(e.formalParameterList))}]),e.CONSUME(t.RBrace)}),e.RULE("simpleTypeName",()=>{e.SUBRULE(e.typeIdentifier)}),e.RULE("constructorBody",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.explicitConstructorInvocation)}),e.OPTION2(()=>{e.SUBRULE(e.blockStatements)}),e.CONSUME(t.RCurly)}),e.RULE("explicitConstructorInvocation",()=>{e.OR([{ALT:()=>e.SUBRULE(e.unqualifiedExplicitConstructorInvocation)},{ALT:()=>e.SUBRULE(e.qualifiedExplicitConstructorInvocation)}])}),e.RULE("unqualifiedExplicitConstructorInvocation",()=>{e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.OR([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Super)}]),e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)}),e.RULE("qualifiedExplicitConstructorInvocation",()=>{e.SUBRULE(e.expressionName),e.CONSUME(t.Dot),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.CONSUME(t.Super),e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)}),e.RULE("enumDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.classModifier)}),e.CONSUME(t.Enum),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.classImplements)}),e.SUBRULE(e.enumBody)}),e.RULE("enumBody",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.enumConstantList)}),e.OPTION2(()=>{e.CONSUME(t.Comma)}),e.OPTION3(()=>{e.SUBRULE(e.enumBodyDeclarations)}),e.CONSUME(t.RCurly)}),e.RULE("enumConstantList",()=>{e.SUBRULE(e.enumConstant),e.MANY({GATE:()=>{let n=e.LA(2);return a5(n,t.Identifier)||a5(n,t.At)},DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.enumConstant)}})}),e.RULE("enumConstant",()=>{e.MANY(()=>{e.SUBRULE(e.enumConstantModifier)}),e.CONSUME(t.Identifier),e.OPTION(()=>{e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace)}),e.OPTION3(()=>{e.SUBRULE(e.classBody)})}),e.RULE("enumConstantModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("enumBodyDeclarations",()=>{e.CONSUME(t.Semicolon),e.MANY(()=>{e.SUBRULE(e.classBodyDeclaration)})}),e.RULE("recordDeclaration",()=>{e.CONSUME(t.Record),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.SUBRULE(e.recordHeader),e.OPTION2(()=>{e.SUBRULE(e.classImplements)}),e.SUBRULE(e.recordBody)}),e.RULE("recordHeader",()=>{e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.recordComponentList)}),e.CONSUME(t.RBrace)}),e.RULE("recordComponentList",()=>{e.SUBRULE(e.recordComponent),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.recordComponent)})}),e.RULE("recordComponent",()=>{e.MANY(()=>{e.SUBRULE(e.recordComponentModifier)}),e.SUBRULE(e.unannType),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.SUBRULE(e.variableArityRecordComponent)}])}),e.RULE("variableArityRecordComponent",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.DotDotDot),e.CONSUME(t.Identifier)}),e.RULE("recordComponentModifier",()=>{e.SUBRULE(e.annotation)}),e.RULE("recordBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.recordBodyDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("recordBodyDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.compactConstructorDeclaration)},{ALT:()=>e.SUBRULE(e.classBodyDeclaration)}])}),e.RULE("compactConstructorDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.constructorModifier)}),e.SUBRULE(e.simpleTypeName),e.SUBRULE(e.constructorBody)}),e.RULE("isDims",()=>(e.MANY(e.annotation),a5(this.LA(1),t.LSquare)&&a5(this.LA(2),t.RSquare)))}function u1(e,t){e.RULE("interfaceDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.interfaceModifier)}),e.OR([{ALT:()=>e.SUBRULE(e.normalInterfaceDeclaration)},{ALT:()=>e.SUBRULE(e.annotationInterfaceDeclaration)}])}),e.RULE("normalInterfaceDeclaration",()=>{e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.OPTION(()=>{e.SUBRULE(e.typeParameters)}),e.OPTION2(()=>{e.SUBRULE(e.interfaceExtends)}),e.OPTION3(()=>{e.SUBRULE(e.interfacePermits)}),e.SUBRULE(e.interfaceBody)}),e.RULE("interfaceModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Protected)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Sealed)},{ALT:()=>e.CONSUME(t.NonSealed)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("interfaceExtends",()=>{e.CONSUME(t.Extends),e.SUBRULE(e.interfaceTypeList)}),e.RULE("interfacePermits",()=>{e.CONSUME(t.Permits),e.SUBRULE(e.typeName),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.typeName)})}),e.RULE("interfaceBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.interfaceMemberDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("interfaceMemberDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceMethodDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("constantDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.constantModifier)}),e.SUBRULE(e.unannType),e.SUBRULE(e.variableDeclaratorList),e.CONSUME(t.Semicolon)}),e.RULE("constantModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Final)}])}),e.RULE("interfaceMethodDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.interfaceMethodModifier)}),e.SUBRULE(e.methodHeader),e.SUBRULE(e.methodBody)}),e.RULE("interfaceMethodModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Private)},{ALT:()=>e.CONSUME(t.Abstract)},{ALT:()=>e.CONSUME(t.Default)},{ALT:()=>e.CONSUME(t.Static)},{ALT:()=>e.CONSUME(t.Strictfp)}])}),e.RULE("annotationInterfaceDeclaration",()=>{e.CONSUME(t.At),e.CONSUME(t.Interface),e.SUBRULE(e.typeIdentifier),e.SUBRULE(e.annotationInterfaceBody)}),e.RULE("annotationInterfaceBody",()=>{e.CONSUME(t.LCurly),e.MANY(()=>{e.SUBRULE(e.annotationInterfaceMemberDeclaration)}),e.CONSUME(t.RCurly)}),e.RULE("annotationInterfaceMemberDeclaration",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotationInterfaceElementDeclaration)},{ALT:()=>e.SUBRULE(e.constantDeclaration)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.CONSUME(t.Semicolon)}])}),e.RULE("annotationInterfaceElementDeclaration",()=>{e.MANY(()=>{e.SUBRULE(e.annotationInterfaceElementModifier)}),e.SUBRULE(e.unannType),e.CONSUME(t.Identifier),e.CONSUME(t.LBrace),e.CONSUME(t.RBrace),e.OPTION(()=>{e.SUBRULE(e.dims)}),e.OPTION2(()=>{e.SUBRULE(e.defaultValue)}),e.CONSUME(t.Semicolon)}),e.RULE("annotationInterfaceElementModifier",()=>{e.OR([{ALT:()=>e.SUBRULE(e.annotation)},{ALT:()=>e.CONSUME(t.Public)},{ALT:()=>e.CONSUME(t.Abstract)}])}),e.RULE("defaultValue",()=>{e.CONSUME(t.Default),e.SUBRULE(e.elementValue)}),e.RULE("annotation",()=>{e.CONSUME(t.At),e.SUBRULE(e.typeName),e.OPTION(()=>{e.CONSUME(t.LBrace),e.OR({DEF:[{ALT:()=>e.SUBRULE(e.elementValuePairList)},{ALT:()=>e.SUBRULE(e.elementValue)},{ALT:()=>{}}],IGNORE_AMBIGUITIES:!0}),e.CONSUME(t.RBrace)})}),e.RULE("elementValuePairList",()=>{e.SUBRULE(e.elementValuePair),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValuePair)})}),e.RULE("elementValuePair",()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Equals),e.SUBRULE(e.elementValue)}),e.RULE("elementValue",()=>{e.OR([{ALT:()=>e.SUBRULE(e.conditionalExpression)},{ALT:()=>e.SUBRULE(e.elementValueArrayInitializer)},{ALT:()=>e.SUBRULE(e.annotation)}])}),e.RULE("elementValueArrayInitializer",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.elementValueList)}),e.OPTION2(()=>{e.CONSUME(t.Comma)}),e.CONSUME(t.RCurly)}),e.RULE("elementValueList",()=>{e.SUBRULE(e.elementValue),e.MANY({GATE:()=>!1===a5(e.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.elementValue)}})})}function u0(e,t){e.RULE("arrayInitializer",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.variableInitializerList)}),e.OPTION2(()=>{e.CONSUME(t.Comma)}),e.CONSUME(t.RCurly)}),e.RULE("variableInitializerList",()=>{e.SUBRULE(e.variableInitializer),e.MANY({GATE:()=>!1===a5(this.LA(2).tokenType,t.RCurly),DEF:()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.variableInitializer)}})})}function u2(e,t){e.RULE("block",()=>{e.CONSUME(t.LCurly),e.OPTION(()=>{e.SUBRULE(e.blockStatements)}),e.CONSUME(t.RCurly)}),e.RULE("blockStatements",()=>{e.SUBRULE(e.blockStatement),e.MANY(()=>{e.SUBRULE2(e.blockStatement)})}),e.RULE("blockStatement",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.localVariableDeclarationStatement)},{ALT:()=>e.SUBRULE(e.classDeclaration)},{ALT:()=>e.SUBRULE(e.interfaceDeclaration)},{ALT:()=>e.SUBRULE(e.statement)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("localVariableDeclarationStatement",()=>{e.SUBRULE(e.localVariableDeclaration),e.CONSUME(t.Semicolon)}),e.RULE("localVariableDeclaration",t=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.localVariableType),e.SUBRULE(e.variableDeclaratorList,{ARGS:[t]})}),e.RULE("localVariableType",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("statement",()=>{e.OR([{ALT:()=>e.SUBRULE(e.statementWithoutTrailingSubstatement)},{ALT:()=>e.SUBRULE(e.labeledStatement)},{ALT:()=>e.SUBRULE(e.ifStatement)},{ALT:()=>e.SUBRULE(e.whileStatement)},{ALT:()=>e.SUBRULE(e.forStatement)}])}),e.RULE("statementWithoutTrailingSubstatement",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>e.SUBRULE(e.yieldStatement)},{ALT:()=>e.SUBRULE(e.emptyStatement)},{GATE:()=>!a5(this.LA(1).tokenType,t.Switch),ALT:()=>e.SUBRULE(e.expressionStatement)},{ALT:()=>e.SUBRULE(e.assertStatement)},{ALT:()=>e.SUBRULE(e.switchStatement)},{ALT:()=>e.SUBRULE(e.doStatement)},{ALT:()=>e.SUBRULE(e.breakStatement)},{ALT:()=>e.SUBRULE(e.continueStatement)},{ALT:()=>e.SUBRULE(e.returnStatement)},{ALT:()=>e.SUBRULE(e.synchronizedStatement)},{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.tryStatement)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("emptyStatement",()=>{e.CONSUME(t.Semicolon)}),e.RULE("labeledStatement",()=>{e.CONSUME(t.Identifier),e.CONSUME(t.Colon),e.SUBRULE(e.statement)}),e.RULE("expressionStatement",()=>{e.SUBRULE(e.statementExpression),e.CONSUME(t.Semicolon)}),e.RULE("statementExpression",()=>{e.SUBRULE(e.expression)}),e.RULE("ifStatement",()=>{e.CONSUME(t.If),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement),e.OPTION(()=>{e.CONSUME(t.Else),e.SUBRULE2(e.statement)})}),e.RULE("assertStatement",()=>{e.CONSUME(t.Assert),e.SUBRULE(e.expression),e.OPTION(()=>{e.CONSUME(t.Colon),e.SUBRULE2(e.expression)}),e.CONSUME(t.Semicolon)}),e.RULE("switchStatement",()=>{e.CONSUME(t.Switch),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.switchBlock)}),e.RULE("switchBlock",()=>{e.CONSUME(t.LCurly),e.OR([{ALT:()=>{e.SUBRULE(e.switchRule),e.MANY(()=>e.SUBRULE2(e.switchRule))}},{ALT:()=>e.MANY2(()=>e.SUBRULE(e.switchBlockStatementGroup))}]),e.CONSUME(t.RCurly)}),e.RULE("switchBlockStatementGroup",()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Colon),e.OPTION(()=>{e.SUBRULE(e.blockStatements)})}),e.RULE("switchLabel",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Case),e.OR2([{ALT:()=>{e.CONSUME(t.Null),e.OPTION2(()=>{e.CONSUME3(t.Comma),e.CONSUME(t.Default)})}},{ALT:()=>{e.SUBRULE(e.casePattern),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.casePattern)}),e.OPTION(()=>{e.SUBRULE(e.guard)})}},{GATE:()=>!a5(e.LA(1).tokenType,t.Null),ALT:()=>{e.SUBRULE(e.caseConstant),e.MANY2(()=>{e.CONSUME2(t.Comma),e.SUBRULE2(e.caseConstant)})}}])}},{ALT:()=>e.CONSUME2(t.Default)}])}),e.RULE("switchRule",()=>{e.SUBRULE(e.switchLabel),e.CONSUME(t.Arrow),e.OR([{ALT:()=>e.SUBRULE(e.throwStatement)},{ALT:()=>e.SUBRULE(e.block)},{ALT:()=>{e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}}])}),e.RULE("caseConstant",()=>{e.SUBRULE(e.conditionalExpression)}),e.RULE("casePattern",()=>{e.SUBRULE(e.pattern)}),e.RULE("whileStatement",()=>{e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)}),e.RULE("doStatement",()=>{e.CONSUME(t.Do),e.SUBRULE(e.statement),e.CONSUME(t.While),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.CONSUME(t.Semicolon)}),e.RULE("forStatement",()=>{e.OR([{ALT:()=>e.SUBRULE(e.basicForStatement)},{ALT:()=>e.SUBRULE(e.enhancedForStatement)}])}),e.RULE("basicForStatement",()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.forInit)}),e.CONSUME(t.Semicolon),e.OPTION2(()=>{e.SUBRULE(e.expression)}),e.CONSUME2(t.Semicolon),e.OPTION3(()=>{e.SUBRULE(e.forUpdate)}),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)}),e.RULE("forInit",()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.statementExpressionList)}])}),e.RULE("forUpdate",()=>{e.SUBRULE(e.statementExpressionList)}),e.RULE("statementExpressionList",()=>{e.SUBRULE(e.statementExpression),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.statementExpression)})}),e.RULE("enhancedForStatement",()=>{e.CONSUME(t.For),e.CONSUME(t.LBrace),e.SUBRULE(e.localVariableDeclaration),e.CONSUME(t.Colon),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.statement)}),e.RULE("breakStatement",()=>{e.CONSUME(t.Break),e.OPTION(()=>{e.CONSUME(t.Identifier)}),e.CONSUME(t.Semicolon)}),e.RULE("continueStatement",()=>{e.CONSUME(t.Continue),e.OPTION(()=>{e.CONSUME(t.Identifier)}),e.CONSUME(t.Semicolon)}),e.RULE("returnStatement",()=>{e.CONSUME(t.Return),e.OPTION(()=>{e.SUBRULE(e.expression)}),e.CONSUME(t.Semicolon)}),e.RULE("throwStatement",()=>{e.CONSUME(t.Throw),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}),e.RULE("synchronizedStatement",()=>{e.CONSUME(t.Synchronized),e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace),e.SUBRULE(e.block)}),e.RULE("tryStatement",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Try),e.SUBRULE(e.block),e.OR2([{ALT:()=>{e.SUBRULE(e.catches),e.OPTION(()=>{e.SUBRULE(e.finally)})}},{ALT:()=>e.SUBRULE2(e.finally)}])}},{ALT:()=>e.SUBRULE(e.tryWithResourcesStatement)}])}),e.RULE("catches",()=>{e.SUBRULE(e.catchClause),e.MANY(()=>{e.SUBRULE2(e.catchClause)})}),e.RULE("catchClause",()=>{e.CONSUME(t.Catch),e.CONSUME(t.LBrace),e.SUBRULE(e.catchFormalParameter),e.CONSUME(t.RBrace),e.SUBRULE(e.block)}),e.RULE("catchFormalParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.catchType),e.SUBRULE(e.variableDeclaratorId)}),e.RULE("catchType",()=>{e.SUBRULE(e.unannClassType),e.MANY(()=>{e.CONSUME(t.Or),e.SUBRULE2(e.classType)})}),e.RULE("finally",()=>{e.CONSUME(t.Finally),e.SUBRULE(e.block)}),e.RULE("tryWithResourcesStatement",()=>{e.CONSUME(t.Try),e.SUBRULE(e.resourceSpecification),e.SUBRULE(e.block),e.OPTION(()=>{e.SUBRULE(e.catches)}),e.OPTION2(()=>{e.SUBRULE(e.finally)})}),e.RULE("resourceSpecification",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.resourceList),e.OPTION(()=>{e.CONSUME(t.Semicolon)}),e.CONSUME(t.RBrace)}),e.RULE("resourceList",()=>{e.SUBRULE(e.resource),e.MANY({GATE:()=>!1===a5(e.LA(2).tokenType,t.RBrace),DEF:()=>{e.CONSUME(t.Semicolon),e.SUBRULE2(e.resource)}})}),e.RULE("resource",()=>{e.OR([{ALT:()=>e.SUBRULE(e.localVariableDeclaration)},{ALT:()=>e.SUBRULE(e.variableAccess)}])}),e.RULE("yieldStatement",()=>{e.CONSUME(t.Yield),e.SUBRULE(e.expression),e.CONSUME(t.Semicolon)}),e.RULE("variableAccess",()=>{e.SUBRULE(e.primary)})}function u4(e,t){e.RULE("expression",()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.conditionalExpression)}])}),e.RULE("lambdaExpression",()=>{e.SUBRULE(e.lambdaParameters),e.CONSUME(t.Arrow),e.SUBRULE(e.lambdaBody)}),e.RULE("lambdaParameters",()=>{e.OR([{ALT:()=>e.SUBRULE(e.lambdaParametersWithBraces)},{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Underscore)}])}),e.RULE("lambdaParametersWithBraces",()=>{e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.lambdaParameterList)}),e.CONSUME(t.RBrace)}),e.RULE("lambdaParameterList",()=>{e.OR([{GATE:()=>{let e=this.LA(1).tokenType,n=this.LA(2).tokenType;return(a5(e,t.Identifier)||a5(e,t.Underscore))&&(a5(n,t.RBrace)||a5(n,t.Comma))},ALT:()=>e.SUBRULE(e.conciseLambdaParameterList)},{ALT:()=>e.SUBRULE(e.normalLambdaParameterList)}])}),e.RULE("conciseLambdaParameterList",()=>{e.SUBRULE(e.conciseLambdaParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.conciseLambdaParameter)})}),e.RULE("normalLambdaParameterList",()=>{e.SUBRULE(e.normalLambdaParameter),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.normalLambdaParameter)})}),e.RULE("normalLambdaParameter",()=>{e.OR([{ALT:()=>e.SUBRULE(e.regularLambdaParameter)},{ALT:()=>e.SUBRULE(e.variableArityParameter)}])}),e.RULE("regularLambdaParameter",()=>{e.MANY(()=>{e.SUBRULE(e.variableModifier)}),e.SUBRULE(e.lambdaParameterType),e.SUBRULE(e.variableDeclaratorId)}),e.RULE("lambdaParameterType",()=>{e.OR({DEF:[{ALT:()=>e.SUBRULE(e.unannType)},{ALT:()=>e.CONSUME(t.Var)}],IGNORE_AMBIGUITIES:!0})}),e.RULE("conciseLambdaParameter",()=>{e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Underscore)}])}),e.RULE("lambdaBody",()=>{e.OR([{ALT:()=>e.SUBRULE(e.expression)},{ALT:()=>e.SUBRULE(e.block)}])}),e.RULE("conditionalExpression",()=>{e.SUBRULE(e.binaryExpression),e.OPTION(()=>{e.CONSUME(t.QuestionMark),e.SUBRULE(e.expression),e.CONSUME(t.Colon),e.SUBRULE2(e.expression)})}),e.RULE("binaryExpression",()=>{e.SUBRULE(e.unaryExpression),e.MANY(()=>{e.OR({DEF:[{ALT:()=>{e.CONSUME(t.Instanceof),e.OR1([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.referenceType)}])}},{ALT:()=>{e.CONSUME(t.AssignmentOperator),e.SUBRULE2(e.expression)}},{GATE:()=>a5(e.LA(2).tokenType,t.Less)||a5(e.LA(2).tokenType,t.Greater),ALT:()=>{e.SUBRULE(e.shiftOperator),e.SUBRULE2(e.unaryExpression)}},{ALT:()=>{e.CONSUME(t.BinaryOperator),e.SUBRULE3(e.unaryExpression)}}],IGNORE_AMBIGUITIES:!0})})}),e.RULE("unaryExpression",()=>{e.MANY(()=>{e.CONSUME(t.UnaryPrefixOperator)}),e.SUBRULE(e.primary),e.MANY2(()=>{e.CONSUME(t.UnarySuffixOperator)})}),e.RULE("unaryExpressionNotPlusMinus",()=>{e.MANY(()=>{e.CONSUME(t.UnaryPrefixOperatorNotPlusMinus)}),e.SUBRULE(e.primary),e.MANY2(()=>{e.CONSUME(t.UnarySuffixOperator)})}),e.RULE("primary",()=>{e.SUBRULE(e.primaryPrefix),e.MANY(()=>{e.SUBRULE(e.primarySuffix)})}),e.RULE("primaryPrefix",()=>{e.OR([{ALT:()=>e.SUBRULE(e.literal)},{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.CONSUME(t.Void)},{ALT:()=>e.SUBRULE(e.unannPrimitiveTypeWithOptionalDimsSuffix)},{ALT:()=>e.SUBRULE(e.fqnOrRefType)},{ALT:()=>e.SUBRULE(e.castExpression)},{ALT:()=>e.SUBRULE(e.parenthesisExpression)},{ALT:()=>e.SUBRULE(e.newExpression)},{ALT:()=>e.SUBRULE(e.switchStatement)}])}),e.RULE("primarySuffix",()=>{e.OR([{ALT:()=>{e.CONSUME(t.Dot),e.OR2([{ALT:()=>e.CONSUME(t.This)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)},{ALT:()=>{e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.CONSUME(t.Identifier)}},{ALT:()=>e.SUBRULE(e.templateArgument)}])}},{ALT:()=>e.SUBRULE(e.methodInvocationSuffix)},{ALT:()=>e.SUBRULE(e.classLiteralSuffix)},{ALT:()=>e.SUBRULE(e.arrayAccessSuffix)},{ALT:()=>e.SUBRULE(e.methodReferenceSuffix)}])}),e.RULE("fqnOrRefType",()=>{e.SUBRULE(e.fqnOrRefTypePartFirst),e.MANY({GATE:()=>{let n=e.LA(2);return!(a5(n,t.Class)||a5(n,t.This)||a5(n,t.New)||a5(n,t.StringLiteral)||a5(n,t.TextBlock)||a5(n,t.StringTemplateBegin)||a5(n,t.TextBlockTemplateBegin))},DEF:()=>{e.CONSUME(t.Dot),e.SUBRULE2(e.fqnOrRefTypePartRest)}}),e.OPTION({GATE:()=>a5(e.LA(1).tokenType,t.At)||a5(e.LA(2).tokenType,t.RSquare),DEF:()=>{e.SUBRULE(e.dims)}})}),e.RULE("fqnOrRefTypePartRest",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.OPTION(()=>e.SUBRULE2(e.typeArguments)),e.SUBRULE(e.fqnOrRefTypePartCommon)}),e.RULE("fqnOrRefTypePartCommon",()=>{e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.Super)}]);let n=!1;a5(e.LA(1).tokenType,t.Less)&&(n=this.BACKTRACK_LOOKAHEAD(e.isRefTypeInMethodRef)),e.OPTION2({GATE:()=>n,DEF:()=>{e.SUBRULE3(e.typeArguments)}})}),e.RULE("fqnOrRefTypePartFirst",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.SUBRULE(e.fqnOrRefTypePartCommon)}),e.RULE("parenthesisExpression",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.expression),e.CONSUME(t.RBrace)}),e.RULE("castExpression",()=>{e.OR([{ALT:()=>e.SUBRULE(e.primitiveCastExpression)},{ALT:()=>e.SUBRULE(e.referenceTypeCastExpression)}])}),e.RULE("primitiveCastExpression",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.primitiveType),e.CONSUME(t.RBrace),e.SUBRULE(e.unaryExpression)}),e.RULE("referenceTypeCastExpression",()=>{e.CONSUME(t.LBrace),e.SUBRULE(e.referenceType),e.MANY(()=>{e.SUBRULE(e.additionalBound)}),e.CONSUME(t.RBrace),e.OR([{ALT:()=>e.SUBRULE(e.lambdaExpression)},{ALT:()=>e.SUBRULE(e.unaryExpressionNotPlusMinus)}])}),e.RULE("newExpression",()=>{e.OR([{ALT:()=>e.SUBRULE(e.arrayCreationExpression)},{ALT:()=>e.SUBRULE(e.unqualifiedClassInstanceCreationExpression)}])}),e.RULE("unqualifiedClassInstanceCreationExpression",()=>{e.CONSUME(t.New),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.SUBRULE(e.classOrInterfaceTypeToInstantiate),e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace),e.OPTION3(()=>{e.SUBRULE(e.classBody)})}),e.RULE("classOrInterfaceTypeToInstantiate",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.Identifier),e.MANY2(()=>{e.CONSUME(t.Dot),e.MANY3(()=>{e.SUBRULE2(e.annotation)}),e.CONSUME2(t.Identifier)}),e.OPTION(()=>{e.SUBRULE(e.typeArgumentsOrDiamond)})}),e.RULE("typeArgumentsOrDiamond",()=>{e.OR([{ALT:()=>e.SUBRULE(e.diamond)},{ALT:()=>e.SUBRULE(e.typeArguments)}])}),e.RULE("diamond",()=>{e.CONSUME(t.Less),e.CONSUME(t.Greater)}),e.RULE("methodInvocationSuffix",()=>{e.CONSUME(t.LBrace),e.OPTION2(()=>{e.SUBRULE(e.argumentList)}),e.CONSUME(t.RBrace)}),e.RULE("argumentList",()=>{e.SUBRULE(e.expression),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.expression)})}),e.RULE("arrayCreationExpression",()=>{e.CONSUME(t.New),e.OR([{ALT:()=>e.SUBRULE(e.primitiveType)},{ALT:()=>e.SUBRULE(e.classOrInterfaceType)}]),e.OR2([{ALT:()=>e.SUBRULE(e.arrayCreationExpressionWithoutInitializerSuffix)},{ALT:()=>e.SUBRULE(e.arrayCreationWithInitializerSuffix)}])}),e.RULE("arrayCreationExpressionWithoutInitializerSuffix",()=>{e.SUBRULE(e.dimExprs),e.OPTION(()=>{e.SUBRULE(e.dims)})}),e.RULE("arrayCreationWithInitializerSuffix",()=>{e.SUBRULE(e.dims),e.SUBRULE(e.arrayInitializer)}),e.RULE("dimExprs",()=>{e.SUBRULE(e.dimExpr),e.MANY({GATE:()=>!1===a5(e.LA(2).tokenType,t.RSquare),DEF:()=>e.SUBRULE2(e.dimExpr)})}),e.RULE("dimExpr",()=>{e.MANY(()=>{e.SUBRULE(e.annotation)}),e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)}),e.RULE("classLiteralSuffix",()=>{e.MANY(()=>{e.CONSUME(t.LSquare),e.CONSUME(t.RSquare)}),e.CONSUME(t.Dot),e.CONSUME(t.Class)}),e.RULE("arrayAccessSuffix",()=>{e.CONSUME(t.LSquare),e.SUBRULE(e.expression),e.CONSUME(t.RSquare)}),e.RULE("methodReferenceSuffix",()=>{e.CONSUME(t.ColonColon),e.OPTION(()=>{e.SUBRULE(e.typeArguments)}),e.OR([{ALT:()=>e.CONSUME(t.Identifier)},{ALT:()=>e.CONSUME(t.New)}])}),e.RULE("templateArgument",()=>{e.OR([{ALT:()=>e.SUBRULE(e.template)},{ALT:()=>e.CONSUME(t.StringLiteral)},{ALT:()=>e.CONSUME(t.TextBlock)}])}),e.RULE("template",()=>{e.OR([{ALT:()=>e.SUBRULE(e.stringTemplate)},{ALT:()=>e.SUBRULE(e.textBlockTemplate)}])}),e.RULE("stringTemplate",()=>{e.CONSUME(t.StringTemplateBegin),e.SUBRULE(e.embeddedExpression),e.MANY(()=>{e.CONSUME(t.StringTemplateMid),e.SUBRULE1(e.embeddedExpression)}),e.CONSUME(t.StringTemplateEnd)}),e.RULE("textBlockTemplate",()=>{e.CONSUME(t.TextBlockTemplateBegin),e.SUBRULE(e.embeddedExpression),e.MANY(()=>{e.CONSUME(t.TextBlockTemplateMid),e.SUBRULE1(e.embeddedExpression)}),e.CONSUME(t.TextBlockTemplateEnd)}),e.RULE("embeddedExpression",()=>{e.OPTION(()=>{e.SUBRULE(e.expression)})}),e.RULE("pattern",()=>{e.OR([{ALT:()=>e.SUBRULE(e.typePattern)},{ALT:()=>e.SUBRULE(e.recordPattern)}])}),e.RULE("typePattern",()=>{e.SUBRULE(e.localVariableDeclaration,{ARGS:[!0]})}),e.RULE("recordPattern",()=>{e.SUBRULE(e.referenceType),e.CONSUME(t.LBrace),e.OPTION(()=>{e.SUBRULE(e.componentPatternList)}),e.CONSUME(t.RBrace)}),e.RULE("componentPatternList",()=>{e.SUBRULE(e.componentPattern),e.MANY(()=>{e.CONSUME(t.Comma),e.SUBRULE2(e.componentPattern)})}),e.RULE("componentPattern",()=>{e.OR([{ALT:()=>e.SUBRULE(e.pattern)},{ALT:()=>e.SUBRULE(e.matchAllPattern)}])}),e.RULE("matchAllPattern",()=>{e.CONSUME(t.Underscore)}),e.RULE("guard",()=>{e.CONSUME(t.When),e.SUBRULE(e.expression)}),e.RULE("isRefTypeInMethodRef",()=>{let n;e.SUBRULE(e.typeArguments);let r=e.OPTION(()=>{e.SUBRULE(e.dims)});return(a5(this.LA(1).tokenType,t.ColonColon)?n=!0:r&&(n=!1),e.OPTION2(()=>{e.CONSUME(t.Dot),e.SUBRULE(e.classOrInterfaceType)}),void 0!==n)?n:a5(this.LA(1).tokenType,t.ColonColon)})}function u7(){return this.computeContentAssist("unaryExpressionNotPlusMinus",[]).map(e=>e.nextTokenType).filter((e,t,n)=>n.indexOf(e)===t)}let u6=new class extends ok{constructor(){super(o$,{lookaheadStrategy:new uj({logging:o1()?()=>{}:void 0}),nodeLocationTracking:"full",skipValidations:o1()});const e=this;e.RULE("typeIdentifier",()=>{e.CONSUME(oK.Identifier)}),uH.call(this,e,oK),uJ.call(this,e,oK),uX.call(this,e,oK),uZ.call(this,e,oK),uQ.call(this,e,oK),u1.call(this,e,oK),u0.call(this,e,oK),u2.call(this,e,oK),u4.call(this,e,oK),this.firstForUnaryExpressionNotPlusMinus=[],this.performSelfAnalysis(),this.firstForUnaryExpressionNotPlusMinus=u7.call(this)}cstPostNonTerminal(e,t){this.isBackTracking()||super.cstPostNonTerminal(e,t)}BACKTRACK_LOOKAHEAD(e,t=!1){return this.ACTION(()=>{this.isBackTrackingStack.push(1);let n=this.saveRecogState();try{let{ruleName:t,originalGrammarAction:n}=e;try{return this.ruleInvocationStateUpdate(this.fullRuleNameToShort[t],t,this.subruleIdx),n.call(this)}catch(e){return this.invokeRuleCatch(e,!0,()=>void 0)}finally{this.ruleFinallyStateUpdate()}}catch(e){if(ot(e))return t;throw e}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}})}};function u3(e,t,n){let r=hs(e,"classDeclaration");if(void 0!==r){var i=e,a=r,s=t,o=n;let l=hs(a,"normalClassDeclaration");if(void 0===l)return[];let c=hr(ha(a,"classModifier"));return[{kind:"class",name:hn(hs(l,"typeIdentifier")),visibility:hi(c),modifiers:c,exported:c.includes("public"),location:he(i),extends:ha(hs(l,"classExtends"),"classType").map(e=>ht(e,s)),implements:ha(hs(hs(l,"classImplements"),"interfaceTypeList"),"interfaceType").map(e=>ht(e,s)),children:u8(hs(l,"classBody"),s,o),...u5(i,s,o)}]}let l=hs(e,"interfaceDeclaration");return void 0===l?[]:function(e,t,n,r){let i=hs(t,"normalInterfaceDeclaration");if(void 0===i)return[];let a=hr(ha(t,"interfaceModifier"));return[{kind:"interface",name:hn(hs(i,"typeIdentifier")),visibility:hi(a),modifiers:a,exported:a.includes("public"),location:he(e),extends:ha(hs(hs(i,"interfaceExtends"),"interfaceTypeList"),"interfaceType").map(e=>ht(e,n)),implements:[],children:u8(hs(i,"interfaceBody"),n,r),...u5(e,n,r)}]}(e,l,t,n)}function u8(e,t,n){return[...ha(e,"classBodyDeclaration"),...ha(e,"interfaceMemberDeclaration")].flatMap(e=>{let r=hs(e,"classMemberDeclaration")??e,i=hs(r,"methodDeclaration");if(void 0!==i)return u9(i,t,n,"package");let a=hs(r,"interfaceMethodDeclaration");return void 0!==a?u9(a,t,n,"public"):u3(r,t,n)})}function u9(e,t,n,r){let i=hs(e,"methodHeader");if(void 0===i)return[];let a=hs(i,"methodDeclarator"),s=hr(ha(e,"methodModifier"));return[{kind:"method",name:ho(a,"Identifier")[0]?.image??"",signature:ht(i,t).replace(/\s+/gu," ").trim(),visibility:hi(s,r),modifiers:s,exported:"public"===hi(s,r),location:he(e),extends:[],implements:[],children:[],...u5(e,t,n)}]}function u5(e,t,n){let r=e.location.startOffset,i=n.filter(e=>e.image.startsWith("/**")&&e.endOffset<r&&""===t.slice(e.endOffset+1,r).trim()).at(-1);if(void 0===i)return{};let a=i.image.replace(/^\/\*\*/u,"").replace(/\*\/$/u,"").split(/\r?\n/u).map(e=>e.replace(/^\s*\*\s?/u,"").trim()),s=a.filter(e=>e.startsWith("@")),o=Object.fromEntries([...new Set(s.map(e=>/^@([^\s]+)/u.exec(e)?.[1]??""))].filter(e=>""!==e).map(e=>[e,s.filter(t=>t.startsWith(`@${e} `)||t===`@${e}`).map(t=>t.slice(e.length+1).trim())]));return{documentation:{text:a.filter(e=>!e.startsWith("@")).join("\n").trim(),tags:o}}}function he(e){return{line:e.location.startLine,column:e.location.startColumn,endLine:e.location.endLine,endColumn:e.location.endColumn}}function ht(e,t){return t.slice(e.location.startOffset,e.location.endOffset+1)}function hn(e){return ho(e,"Identifier")[0]?.image??""}function hr(e){return e.flatMap(e=>Object.keys(e.children).filter(e=>"annotation"!==e).map(e=>e.toLowerCase()))}function hi(e,t="package"){return e.includes("public")?"public":e.includes("protected")?"protected":e.includes("private")?"private":t}function ha(e,t){return hl(e,t).filter(e=>"children"in e)}function hs(e,t){return ha(e,t)[0]}function ho(e,t){return hl(e,t).filter(e=>"image"in e)}function hl(e,t){return Object.entries(e?.children??{}).find(([e])=>e===t)?.[1]??[]}u6.getBaseCstVisitorConstructor(),u6.getBaseCstVisitorConstructorWithDefaults();var hc=e.i(8314);function hu(e,t){let n=N.default.relative(e,t);return".."!==n&&!n.startsWith(`..${N.default.sep}`)&&!N.default.isAbsolute(n)}function hh(e){return hc.default.canHaveModifiers(e)?(hc.default.getModifiers(e)??[]).map(e=>e.getText().toLowerCase()):[]}function hf(e,t){let n=t.getLineAndCharacterOfPosition(e.getStart(t)),r=t.getLineAndCharacterOfPosition(e.getEnd());return{line:n.line+1,column:n.character+1,endLine:r.line+1,endColumn:r.character+1}}function hp(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}async function hd(e){if(void 0===e)return{};let t=JSON.parse(await (0,R.readFile)(e,"utf8"));return hp(t)?Object.fromEntries([...hm(t.dependencies,"dependency"),...hm(t.devDependencies,"devDependency"),...hm(t.optionalDependencies,"optionalDependency"),...hm(t.peerDependencies,"peerDependency")].reduce((e,[t,n])=>{let r=e.get(t)??[];return e.set(t,[...r,n]),e},new Map)):{}}function hm(e,t){return hp(e)?Object.entries(e).flatMap(([e,n])=>"string"==typeof n?[[e,{kind:t,range:n}]]:[]):[]}function hg(e){return e.split(N.default.sep).join("/")}function hE(e){return"project-detector"===e?["containment"]:"java"===e?["containment","declarations","documentation","extends","implements","imports","signatures","source-locations","visibility"]:"typescript"===e?["containment","declarations","documentation","exports","extends","implements","imports","signatures","source-locations","visibility"]:["cpp","delphi","kotlin","python"].includes(e)?["imports"]:[]}async function hy(e){let t="inspection"in e?e.inspection:await ti(e.rootPath,{...void 0===e.signal?{}:{signal:e.signal}});if(!t.complete)throw Error(`Project analysis inspection is incomplete for ${e.id}.`);let n=await hS(e.id,t,e.signal),r=new Set(["project-detector",...t.detection.languages.map(({id:e})=>e),...n.map(({analyzerId:e})=>e)]);return{version:1,projectId:e.id,directories:[...t.directories].sort(hU),files:[...t.files].sort(hU),packages:t.packages.map(({rootPath:e,name:t})=>({rootPath:e,...void 0===t?{}:{name:t}})).sort((e,t)=>hU(e.rootPath,t.rootPath)),workspaces:t.workspaces.map(({rootPath:e,packagePaths:t})=>({rootPath:e,packagePaths:[...t].sort(hU)})).sort((e,t)=>hU(e.rootPath,t.rootPath)),analyzers:[...r].sort(hU).map(e=>({id:e,capabilities:hE(e)})),analyzedFiles:n.map(({projectId:e,...t})=>t).sort((e,t)=>hU(e.path,t.path))}}async function hS(e,t,n){var r;let i,a,s=await hL(t),o=(r=t.rootPath,i=new Map,a=new Map,(e,t,n)=>{let s=i.has(t)?i.get(t):hc.default.findConfigFile(t,e=>hc.default.sys.fileExists(e),"tsconfig.json");if(i.set(t,s),void 0===s||!hu(r,s))return n;let o=a.get(s)??function(e){let t=hc.default.readConfigFile(e,e=>hc.default.sys.readFile(e));if(void 0!==t.error)throw Error(hc.default.flattenDiagnosticMessageText(t.error.messageText,"\n"));return hc.default.parseJsonConfigFileContent(t.config,hc.default.sys,N.default.dirname(e)).options}(s);return a.set(s,o),{...n,imports:n.imports.map(t=>{let n=hc.default.resolveModuleName(t.specifier,e,o,hc.default.sys).resolvedModule?.resolvedFileName;return void 0!==n&&hu(r,n)?{...t,resolvedPath:N.default.relative(r,n).split(N.default.sep).join("/")}:t})}});return Promise.all(t.files.flatMap(r=>{var i,a;let l=(i=r).endsWith(".java")?"java":[".ts",".tsx",".mts",".cts"].some(e=>i.endsWith(e))?"typescript":i.endsWith(".kt")||i.endsWith(".kts")?"kotlin":i.endsWith(".py")||i.endsWith(".pyi")?"python":[".cpp",".cc",".cxx",".h",".hpp",".hxx"].some(e=>i.endsWith(e))?"cpp":[".pas",".pp",".dpr"].some(e=>i.toLowerCase().endsWith(e))?"delphi":void 0;if(void 0===l)return[];let[c]=t.packages.filter(({rootPath:e})=>"."===e||r.startsWith(`${e}/`)).sort((e,t)=>t.rootPath.length-e.rootPath.length),u=c?.rootPath??".",h=c?.detection.languages.find(({id:e})=>e===l)?.sourceRoots??("java"===(a=l)?["src/main/java","."]:"kotlin"===a?["src/main/kotlin","src","."]:"python"===a?["src","app","."]:"delphi"===a?["src","Source","."]:["."]),f="."===u?r:r.slice(u.length+1);return h.some(e=>"."===e||f.startsWith(`${e}/`))?[hv({projectId:e,file:r,analyzerId:l,projectRoot:t.rootPath,packageRoot:N.default.resolve(t.rootPath,u),sourceRoots:h,declaredDependencies:s.get(u),resolveTypeScriptImports:o,signal:n})]:[]}))}async function hL(e){return new Map(await Promise.all(e.packages.map(async t=>[t.rootPath,t.manifestPath.endsWith(".json")?await hd(N.default.join(e.rootPath,t.manifestPath)):{}])))}async function hv(e){var t;let n;e.signal?.throwIfAborted();let r=N.default.resolve(e.projectRoot,...e.file.split("/")),i=await (0,R.readFile)(r,"utf8");return e.signal?.throwIfAborted(),{projectId:e.projectId,path:e.file,analyzerId:e.analyzerId,...void 0===e.declaredDependencies?{}:{declaredDependencies:e.declaredDependencies},facts:"java"===e.analyzerId?function(e){let t=function(e,t="compilationUnit"){return function(e,t="compilationUnit"){let n=o0.tokenize(e);if(n.errors.length>0){let e=n.errors[0];throw Error("Sad sad panda, lexing errors detected in line: "+e.line+", column: "+e.column+"!\n"+e.message)}let r=n.tokens;u6.input=r;let i=u6[t]();if(u6.errors.length>0){let e=u6.errors[0];throw Error("Sad sad panda, parsing errors detected in line: "+e.token.startLine+", column: "+e.token.startColumn+"!\n"+e.message+"!\n ->"+e.context.ruleStack.join("\n ->"))}return i.comments=n.groups.comments,{cst:i,tokens:r}}(e,t).cst}(e),n=hs(t,"ordinaryCompilationUnit");if(void 0===n)return{imports:[],declarations:[]};let r=t.comments??[],i=ho(hs(n,"packageDeclaration"),"Identifier").map(({image:e})=>e).join(".");return{imports:ha(n,"importDeclaration").map(t=>{var n;let r;return r=ht(n=t,e),{specifier:/^import\s+(?:static\s+)?([^;\s]+)\s*;/u.exec(r)?.[1]??"",location:he(n)}}),declarations:ha(n,"typeDeclaration").flatMap(t=>u3(t,e,r)),...""===i?{}:{packageName:i}}}(i):"typescript"===e.analyzerId?e.resolveTypeScriptImports(r,e.packageRoot,(t=e.file,{imports:(n=hc.default.createSourceFile(t,i,hc.default.ScriptTarget.Latest,!0)).statements.flatMap(e=>hc.default.isImportDeclaration(e)&&hc.default.isStringLiteral(e.moduleSpecifier)?[{specifier:e.moduleSpecifier.text,location:hf(e,n),kind:"import",typeOnly:e.importClause?.isTypeOnly??!1}]:hc.default.isExportDeclaration(e)&&void 0!==e.moduleSpecifier&&hc.default.isStringLiteral(e.moduleSpecifier)?[{specifier:e.moduleSpecifier.text,location:hf(e,n),kind:"reexport",typeOnly:e.isTypeOnly}]:[]),declarations:n.statements.flatMap(e=>(function e(t,n){var r,i,a,s,o,l;if(hc.default.isVariableStatement(t)){let r=hh(t).includes("export");return t.declarationList.declarations.flatMap(t=>e(t,n).map(e=>({...e,exported:r})))}let c=(r=t,hc.default.isClassDeclaration(r)?"class":hc.default.isInterfaceDeclaration(r)?"interface":hc.default.isEnumDeclaration(r)?"enum":hc.default.isTypeAliasDeclaration(r)?"type":hc.default.isFunctionDeclaration(r)?"function":hc.default.isMethodDeclaration(r)||hc.default.isMethodSignature(r)?"method":hc.default.isVariableDeclaration(r)?"variable":void 0);if(void 0===c)return[];let u="name"in(i=t)&&void 0!==i.name&&hc.default.isIdentifier(i.name)?i.name.text:"";if(""===u)return[];let h=hh(t),f=(a=t,s=n,hc.default.isClassDeclaration(a)||hc.default.isInterfaceDeclaration(a)||hc.default.isEnumDeclaration(a)?a.members.flatMap(t=>e(t,s)):hc.default.isVariableStatement(a)?a.declarationList.declarations.flatMap(t=>e(t,s)):[]),p=hc.default.isClassDeclaration(t)||hc.default.isInterfaceDeclaration(t)?t.heritageClauses??[]:[],d=e=>p.filter(t=>t.token===e).flatMap(e=>e.types.map(e=>e.getText(n))),m=(o=t,hc.default.isFunctionDeclaration(o)||hc.default.isMethodDeclaration(o)||hc.default.isMethodSignature(o))?t.getText(n).split("{",1)[0]?.replace(/\s+/gu," ").trim():void 0;return[{kind:c,name:u,visibility:(l=h).includes("private")?"private":l.includes("protected")?"protected":"public",modifiers:h,location:hf(t,n),extends:d(hc.default.SyntaxKind.ExtendsKeyword),implements:d(hc.default.SyntaxKind.ImplementsKeyword),children:f,exported:h.includes("export"),typeOnly:"interface"===c||"type"===c,...void 0===m?{}:{signature:m},...function(e,t){let n=hc.default.getJSDocCommentsAndTags(e).filter(hc.default.isJSDoc).at(-1);if(void 0===n)return{};let r=new Map;for(let e of n.tags??[]){let n="string"==typeof e.comment?e.comment:(e.comment??[]).map(e=>e.getText(t)).join("");r.set(e.tagName.text,[...r.get(e.tagName.text)??[],n])}let i=Object.fromEntries(r);return{documentation:{text:"string"==typeof n.comment?n.comment:"",tags:i}}}(t,n)}]})(e,n))})):function(e,t,n,r,i){if("kotlin"===e){let{packageName:e,imports:n}={packageName:/^\s*package\s+([\w.]+)/mu.exec(t)?.[1]??"",imports:Array.from(t.matchAll(/^\s*import\s+([\w.]+(?:\.\*)?)/gmu)).map(e=>e[1]??"").filter(e=>""!==e)};return{packageName:e,imports:n.map(e=>({specifier:e})),declarations:[]}}if("python"===e){let e,a,{imports:s}=function(e){let t=[];for(let n of e.matchAll(/(?:^|\n)\s*(?:from\s+([\w.]+)\s+)?import\s+([\w\s,*]+?)(?:\s+as\s+\w+)?(?:\s|$|#)/gmu)){let[,e,r=""]=n;if(void 0!==e){t.push(e);continue}t.push(...r.split(",").map(e=>e.trim()).filter(Boolean))}return{imports:t}}(t);return{packageName:(e=i.map(e=>"."===e?r:N.default.resolve(r,e)).filter(e=>n===e||n.startsWith(`${e}${N.default.sep}`)).sort((e,t)=>t.length-e.length)[0]??r,"."===(a=N.default.dirname(N.default.relative(e,n)))?"":hg(a).split("/").join(".")),imports:s.map(e=>({specifier:e})),declarations:[]}}if("cpp"===e){let{namespace:e,includes:n}={namespace:/namespace\s+([a-zA-Z0-9_:]+)\s*\{/u.exec(t)?.[1]?.replace(/::/gu,".")??"",includes:Array.from(t.matchAll(/#include\s+(["<])([^">]+)[">]/gu)).map(e=>({local:'"'===e[1],specifier:e[2]??""})).filter(({specifier:e})=>""!==e)};return{packageName:e,imports:n.map(({specifier:e,local:t})=>({specifier:e,local:t})),declarations:[]}}let{imports:a,unitName:s}={unitName:/\bunit\s+([A-Za-z_][A-Za-z0-9_.]*)\s*;/iu.exec(t)?.[1]??"",imports:Array.from(t.matchAll(/\buses\s+([\s\S]*?);/giu)).flatMap(e=>(e[1]??"").split(",").map(e=>e.replace(/\s+in\s+['"].*?['"]/giu,"").trim()).filter(Boolean))};return{packageName:function(e,t,n,r){if(r.includes("."))return r.split(".").slice(0,-1).join(".");let i=t.map(t=>"."===t?e:N.default.resolve(e,t)).filter(e=>n===e||n.startsWith(`${e}${N.default.sep}`)).sort((e,t)=>t.length-e.length)[0]??e,a=N.default.dirname(N.default.relative(i,n));return"."===a?"":hg(a).split("/").join(".")}(r,i,n,s),imports:a.map(e=>({specifier:e})),declarations:[]}}(e.analyzerId,i,r,e.packageRoot,e.sourceRoots)}}function hU(e,t){return e<t?-1:+(e>t)}function hT(e,t){return"number"==typeof e&&"number"==typeof t?e-t:"number"==typeof e?-1:"number"==typeof t?1:e<t?-1:+(e>t)}function hO(e){let t=[...e.nodes].sort((e,t)=>hT(e.id,t.id)),n=[...e.edges].sort((e,t)=>hT(e.id,t.id));hA(t.map(({id:e})=>e),"node"),hA(n.map(({id:e})=>e),"edge");let r=new Set(t.map(({id:e})=>e));for(let e of n)if(!r.has(e.source)||!r.has(e.target))throw Error(`Graph edge "${e.id}" references an unknown endpoint: ${e.source} -> ${e.target}.`);return{nodes:t,edges:n}}function hA(e,t){let n=new Set;for(let r of e){if("string"==typeof r&&""===r.trim())throw Error(`Graph ${t} IDs must be non-empty.`);if("number"==typeof r&&!Number.isSafeInteger(r))throw Error(`Graph ${t} numeric IDs must be safe integers.`);if(n.has(r))throw Error(`Duplicate graph ${t} ID: ${r}.`);n.add(r)}}function hR(e,t){let n=e.get(t);if(void 0===n)throw Error(`Unknown source semantic path: ${t}.`);return n}function hN(e,t){return hM(e.data.semanticPath,t.data.semanticPath)}function hb(e,t){return hM(e.source,t.source)||hM(e.target,t.target)||hM(e.data.kind,t.data.kind)||hM(hk(e),hk(t))}function hk(e){return e.data.evidence.map(({analyzerId:e,sourcePath:t,location:n,specifier:r})=>`${e}\u0000${t}\u0000${n?.line??""}\u0000${n?.column??""}\u0000${r??""}`).sort(hM).join("\x01")}function hC(e){return{...e,available:[...e.available].sort(hM)}}function hI(e,t){return hM(e.projectId,t.projectId)||hM(e.analyzerId,t.analyzerId)}function hM(e,t){return e<t?-1:+(e>t)}function hx(...e){return e.map(encodeURIComponent).join(":")}function hw(e,t){return[...t].filter(t=>"."===t||e===t||e.startsWith(`${t}/`)).sort((e,t)=>t.length-e.length)[0]??"."}function h_(e,t){e.has(t.semanticPath)||e.set(t.semanticPath,{data:t})}function hP(e,t,n,r,i,a){hB(e,t,n,"contains",{analyzerId:r,sourcePath:i,...void 0===a?{}:{location:a}})}function hB(e,t,n,r,i){e.push({source:t,target:n,data:{kind:r,evidence:[i]}})}function hD(e,t){return hx("package",e,t)}function hj(e,t){return hx("directory",e,t)}function h$(e,t){return hx("file",e,t)}function hF(e){let t=e.replace(/\.(h|hpp|hxx)$/u,"").split("/");return t.length<=1?"":t.slice(0,-1).join(".")}function hK(e){let t=e.trim();return t.split(".")[0]??t}function hW(e){return e.startsWith(".")?"":e.split(".")[0]??e}function hY(e,t,n){let r=n.get(e.projectId)??[],i="python"===e.analyzerId?r.find(e=>e===hW(t)):"delphi"===e.analyzerId?r.find(e=>e===hK(t)):r.find(e=>t===e||t.startsWith(`${e}.`));return void 0===i?void 0:hx("namespace",e.projectId,i)}e.s(["isRecord",0,hp],54411),e.s(["createProjectAnalysisSnapshotAsync",0,hy],62906),e.s(["compareGraphIds",0,hT],71238),e.s(["createGraph",0,hO],72624);function hG(e,t,n,r,i){e.push({source:t,target:n,data:{kind:r,evidence:[i]}})}function hz(e){return hp(e)&&hZ(e.rootPath,!0)&&(void 0===e.name||h2(e.name))}function hq(e){return hp(e)&&hZ(e.rootPath,!0)&&h1(e.packagePaths,!0)}function hV(e){var t,n;if(!hp(e)||!h2(e.id)||!h4(e.capabilities))return!1;let r=hE(e.id);return["cpp","delphi","java","javascript","kotlin","project-detector","python","typescript"].includes(e.id)&&(t=e.capabilities,n=r,t.join("\0")===n.join("\0"))}function hH(e){var t,n;return hp(e)&&h2(e.analyzerId)&&hZ(e.path)&&hp(t=e.facts)&&Array.isArray(t.declarations)&&t.declarations.every(hJ)&&Array.isArray(t.imports)&&t.imports.every(hX)&&(void 0===t.packageName||h2(t.packageName))&&(void 0===e.declaredDependencies||hp(n=e.declaredDependencies)&&Object.values(n).every(e=>Array.isArray(e)&&e.every(e=>hp(e)&&["dependency","devDependency","optionalDependency","peerDependency"].includes(e.kind)&&h2(e.range))))}function hJ(e){var t,n,r;return!!hp(e)&&Array.isArray((t=e).children)&&t.children.every(hJ)&&h4(t.extends)&&h4(t.implements)&&hQ(t.location)&&h4(t.modifiers)&&(void 0===(n=e).documentation||hp(r=n.documentation)&&h2(r.text)&&hp(r.tags)&&Object.values(r.tags).every(h4))&&(void 0===n.exported||"boolean"==typeof n.exported)&&(void 0===n.typeOnly||"boolean"==typeof n.typeOnly)&&["class","constant","enum","function","interface","method","type","variable"].includes(n.kind)&&h2(n.name)&&(void 0===n.signature||h2(n.signature))&&["package","private","protected","public"].includes(n.visibility)}function hX(e){return hp(e)&&(void 0===e.kind||"import"===e.kind||"reexport"===e.kind)&&(void 0===e.local||"boolean"==typeof e.local)&&(void 0===e.location||hQ(e.location))&&h2(e.specifier)&&(void 0===e.resolvedPath||hZ(e.resolvedPath))&&(void 0===e.typeOnly||"boolean"==typeof e.typeOnly)}function hQ(e){return hp(e)&&[e.line,e.column,e.endLine,e.endColumn].every(e=>"number"==typeof e&&Number.isSafeInteger(e)&&e>0)&&e.endLine>=e.line&&(e.endLine!==e.line||e.endColumn>=e.column)}function hZ(e,t=!1){return h2(e)&&(t||"."!==e)&&!e.includes("\\")&&!e.startsWith("/")&&!/^[a-z]:\//iu.test(e)&&!e.split("/").some(e=>".."===e)&&N.default.posix.normalize(e.replace(/\\/gu,"/"))===e}function h1(e,t=!1){return Array.isArray(e)&&e.every(e=>hZ(e,t))&&h0(e)}function h0(e){return new Set(e).size===e.length}function h2(e){return"string"==typeof e}function h4(e){return Array.isArray(e)&&e.every(h2)}function h7(e,t,n){if(void 0===n.filePath)return;let{filePath:r}=n,i=(t.get(n.projectId)??["."]).filter(e=>"."===e||r===e||r.startsWith(`${e}/`)).sort((e,t)=>t.length-e.length)[0]??".";if(e.some(e=>e.projectId===n.projectId&&e.relativeRoot===i))return e.filter(e=>e.projectId===n.projectId&&("."===e.relativeRoot||r===e.relativeRoot||r.startsWith(`${e.relativeRoot}/`))).sort((e,t)=>t.relativeRoot.length-e.relativeRoot.length)[0]}function h6(e,t){if("typescript"!==e.analyzerId)return e.packageName??"";let n="."===t.relativeRoot?e.filePath??"":(e.filePath??"").slice(t.relativeRoot.length+1),r=n.split("/").slice(0,-1).join("/");return""!==r?r.split("/").filter(Boolean).join("."):n.replace(/\.[^.]+$/u,"")}function h3(e,t,n){let r=n.split(".").filter(Boolean);r.forEach((n,i)=>{let a=r.slice(0,i+1).join("."),s=h8(t,a);e.has(s)||e.set(s,{id:s,data:{kind:"module",classification:"intrinsic",focus:!0,label:r.at(i)??a,projectId:t.projectId,...void 0===t.name?{}:{packageName:t.name},path:a,parentPath:0===i?"":r.slice(0,i).join(".")}})})}function h8(e,t){return""===t?e.nodeId:`${e.nodeId}#${t}`}e.s(["createSourceGraphFromProjectAnalysisSnapshots",0,function(e){let t,n,r;var i,a=e;let s=new Set;for(let e of a){if(!function(e){var t,n,r,i,a,s;return!!function(e){var t;return hp(e)&&1===e.version&&h2(t=e.projectId)&&""!==t.trim()}(e)&&(t=e.directories,n=e.files,r=e.packages,i=e.workspaces,a=e.analyzers,s=e.analyzedFiles,!!h1(t,!0)&&!!h1(n)&&!!Array.isArray(r)&&!!r.every(hz)&&!!Array.isArray(i)&&!!i.every(hq)&&!!Array.isArray(a)&&!!a.every(hV)&&!!Array.isArray(s)&&!!s.every(hH)&&function(e,t,n,r,i){return h0(e.map(({rootPath:e})=>e))&&h0(e.flatMap(({name:e})=>void 0===e?[]:[e]))&&h0(t.map(({rootPath:e})=>e))&&h0(n.map(({id:e})=>e))&&h0(r.map(({path:e})=>e))&&r.every(({analyzerId:e,path:t})=>n.some(({id:t})=>t===e)&&i.includes(t))}(r,i,a,s,n))}(e))throw Error("Invalid project analysis snapshot.");if(s.has(e.projectId))throw Error(`Duplicate project analysis snapshot ID: ${e.projectId}.`);s.add(e.projectId)}let o=e.flatMap(e=>e.analyzedFiles.map(t=>({projectId:e.projectId,analyzerId:t.analyzerId,facts:t.facts,path:t.path,...void 0===t.declaredDependencies?{}:{declaredDependencies:t.declaredDependencies}})));return function(e){let t=new Set;for(let n of e){let e=n.data.semanticPath;if(""===e.trim())throw Error("Source nodes require a semantic path.");if(t.has(e))throw Error(`Duplicate source semantic path: ${e}.`);t.add(e)}}(t=[...(i=function(e,t){let n=new Map(e.nodes.map(e=>[e.data.semanticPath,e])),r=[...e.edges],i=function(e){let t=new Map;for(let{data:a}of e){var n,r,i;("class"===a.kind||"interface"===a.kind||"type"===a.kind)&&(t.set((n=a.projectId,r=a.packageName??"",hx(n,r,a.name)),a.semanticPath),t.set((i=a.projectId,hx(i,"",a.name)),a.semanticPath))}return t}(e.nodes),a=function(e){let t=new Map;for(let{data:n}of e){if(void 0===n.filePath||void 0===n.location)continue;let e=hx(n.projectId,n.filePath,n.kind,n.name,`${n.location.line}:${n.location.column}`);t.set(e,n.semanticPath)}return t}(e.nodes),s=function(e){let t=new Map;for(let{data:n}of e)"package"===n.kind&&void 0!==n.packageName&&"intrinsic"===n.classification&&t.set(n.projectId,[...t.get(n.projectId)??[],n.packageName]);return new Map([...t].map(([e,t])=>[e,t.sort((e,t)=>t.length-e.length)]))}(e.nodes),o=new Map(e.nodes.flatMap(({data:e})=>"package"===e.kind&&void 0!==e.path&&"intrinsic"===e.classification?[[e.name,e.semanticPath]]:[]));for(let e of t){for(let t of e.facts.imports){let a=function(e,t,n,r,i,a,s,o){var l,c,u,h,f,p,d;let m=(l=e,c=t,u=n,h=r,f=i,p=a,d=s,"java"===l.analyzerId?function(e,t,n,r,i){var a;let s=t.replace(/\.\*$/u,""),o=s.lastIndexOf("."),l=o<0?"":s.slice(0,o),c=s.slice(o+1),u=r.get((a=e.projectId,hx(a,l,c)));if(void 0!==u)return u;let h=hx("namespace",e.projectId,s);return n.has(h)?h:hY(e,t,i)}(l,c,f,p,d):"typescript"===l.analyzerId?function(e,t,n,r){if(void 0!==n){let t=h$(e.projectId,n);if(r.has(t))return t}if(!t.startsWith("."))return;let i=N.default.posix.normalize(N.default.posix.join(N.default.posix.dirname(e.path),t));return[i,`${i}.ts`,`${i}.tsx`,`${i}.mts`,`${i}.cts`,`${i}/index.ts`,`${i}/index.tsx`].map(t=>h$(e.projectId,t)).find(e=>r.has(e))}(l,c,h,f):"cpp"===l.analyzerId?u?function(e,t,n){let r=hF(t);if(""===r)return;let i=hx("namespace",e.projectId,r);return n.has(i)||n.set(i,{data:{semanticPath:i,kind:"package",name:r,projectId:e.projectId,packageName:r,classification:"intrinsic"}}),i}(l,c,f):void 0:hY(l,c,d));return void 0!==m?{target:m,declarations:[]}:function(e,t,n,r){let i=function(e,t){if("java"===e){let e=t.replace(/\.\*$/u,""),n=e.split(".").reverse();if(n.length<2)return e;let r=n.findIndex(e=>!/^[A-Z]/u.test(e));return r<0?e:n.slice(r).reverse().join(".")}if("kotlin"===e){let e,n;return(n=(e=t.replace(/\.\*$/u,"")).split(".")).length<=1?e:n.slice(0,-1).join(".")}return"python"===e?hW(t):"delphi"===e?hK(t):"cpp"===e?hF(t):function(e){if(""===e||e.startsWith(".")||e.startsWith("#")||e.startsWith("/"))return;let t=e.split("/");return e.startsWith("@")?t.length>=2?`${t[0]}/${t[1]}`:void 0:t[0]}(t)}(e.analyzerId,t),a=void 0===i?[]:Object.entries(e.declaredDependencies??{}).find(([e])=>e===i)?.[1]??[],s=void 0===i?void 0:r.get(i);if(void 0!==s)return{target:s,declarations:a};let o=hx("external",e.projectId,i??t);return n.has(o)||n.set(o,{data:{semanticPath:o,kind:"package",name:i??t,projectId:e.projectId,packageName:i??t,classification:"typescript"===e.analyzerId&&a.length>0?"vendor":"unknown"}}),{target:o,declarations:a}}(e,t,i,o)}(e,t.specifier,t.local,t.resolvedPath,n,i,s,o);hG(r,h$(e.projectId,e.path),a.target,"reexport"===t.kind?"exports":"imports",{analyzerId:e.analyzerId,sourcePath:e.path,...void 0===t.location?{}:{location:t.location},specifier:t.specifier,...void 0===t.typeOnly?{}:{typeOnly:t.typeOnly},...0===a.declarations.length?{}:{declarations:a.declarations}})}for(let t of e.facts.declarations)!function e(t,n,r,i,a,s){let o=s.get(hx(t.projectId,t.path,n.kind,n.name,`${n.location.line}:${n.location.column}`));if(void 0!==o)for(let[e,s]of[["extends",n.extends],["implements",n.implements]])for(let h of s){var l,c,u;let s=h.replace(/<.*$/u,"").split(".").at(-1)??h;hG(i,o,a.get((l=t.projectId,c=t.facts.packageName??"",hx(l,c,s)))??a.get((u=t.projectId,hx(u,"",s)))??function(e,t,n){let r=hx("external-type",e.projectId,t);return n.has(r)||n.set(r,{data:{semanticPath:r,kind:"type",name:t,projectId:e.projectId,classification:"unknown"}}),r}(t,h,r),e,{analyzerId:t.analyzerId,sourcePath:t.path,location:n.location,specifier:h})}for(let o of n.children)e(t,o,r,i,a,s)}(e,t,n,r,i,a)}return{nodes:[...n.values()],edges:r,capabilities:e.capabilities}}(function(e,t){let n=new Map,r=[];for(let i of e)!function(e,t,n,r){let{projectId:i}=e,a=hx("project",i);h_(n,{semanticPath:a,kind:"project",name:i,projectId:i});let s=new Set([".",...e.packages.map(({rootPath:e})=>e)]);for(let o of(function(e,t,n,r,i){let{projectId:a}=e;for(let s of t){let t=hD(a,s);h_(r,{semanticPath:t,kind:"package",name:e.packages.find(({rootPath:e})=>e===s)?.name??s,projectId:a,path:s,classification:"intrinsic"}),hP(i,n,t,"project-detector",s)}}(e,s,a,n,r),function(e,t,n,r){let{projectId:i}=e;for(let a of e.directories.filter(e=>"."!==e)){let e=hw(a,t);if(a===e)continue;let s=hj(i,a);h_(n,{semanticPath:s,kind:"directory",name:N.default.posix.basename(a),projectId:i,path:a,classification:"intrinsic"});let o=N.default.posix.dirname(a);hP(r,o===e?hD(i,e):hj(i,o),s,"project-detector",a)}}(e,s,n,r),function(e,t,n,r){let{projectId:i}=e;for(let a of e.files){let e=hw(a,t),s=N.default.posix.dirname(a),o=h$(i,a);h_(n,{semanticPath:o,kind:"file",name:N.default.posix.basename(a),projectId:i,path:a,filePath:a,classification:"intrinsic"}),hP(r,s===e||"."===s?hD(i,e):hj(i,s),o,"project-detector",a)}}(e,s,n,r),t.filter(e=>e.projectId===i)))!function(e,t,n){let r=h$(e.projectId,e.path),i=t.get(r);if(void 0===i)throw Error(`Analyzed source file was not inspected: ${e.path}.`);if(void 0!==e.facts.packageName&&""!==e.facts.packageName){t.set(r,{data:{...i.data,analyzerId:e.analyzerId,packageName:e.facts.packageName}});let a=function(e,t,n){let r=e.facts.packageName?.split(".")??[],i=hx("project",e.projectId),a="";for(let s of r){a=""===a?s:`${a}.${s}`;let r=hx("namespace",e.projectId,a);t.has(r)||(h_(t,{semanticPath:r,kind:"package",name:a,projectId:e.projectId,packageName:a,classification:"intrinsic"}),hP(n,i,r,e.analyzerId,e.path)),i=r}return i}(e,t,n);hB(n,r,a,"declares-in",{analyzerId:e.analyzerId,sourcePath:e.path})}else t.set(r,{data:{...i.data,analyzerId:e.analyzerId}});for(let i of e.facts.declarations)!function e(t,n,r,i,a){let s=hx(r,n.kind,n.name,`${n.location.line}:${n.location.column}`);for(let o of(h_(i,{semanticPath:s,kind:n.kind,name:n.name,projectId:t.projectId,filePath:t.path,...void 0===t.facts.packageName?{}:{packageName:t.facts.packageName},classification:"intrinsic",location:n.location,visibility:n.visibility,modifiers:n.modifiers,...void 0===n.signature?{}:{signature:n.signature},...void 0===n.documentation?{}:{documentation:n.documentation},...void 0===n.typeOnly?{}:{typeOnly:n.typeOnly}}),hP(a,r,s,t.analyzerId,t.path,n.location),!0===n.exported&&hB(a,r,s,"exports",{analyzerId:t.analyzerId,sourcePath:t.path,location:n.location}),n.children))e(t,o,s,i,a)}(e,i,r,t,n)}(o,n,r)}(i,t,n,r);return{nodes:[...n.values()],edges:r,capabilities:e.flatMap(({projectId:e,analyzers:t})=>t.map(({id:t,capabilities:n})=>({projectId:e,analyzerId:t,available:n})))}}(e,o),o)).nodes].sort(hN)),n=new Map(t.map((e,t)=>[e.data.semanticPath,t])),r=[...i.edges].sort(hb).map((e,t)=>({id:t,source:hR(n,e.source),target:hR(n,e.target),data:e.data})),{version:1,graph:hO({nodes:t.map((e,t)=>({id:t,data:e.data})),edges:r}),capabilities:[...i.capabilities].map(hC).sort(hI)}}],64474),e.s(["projectDependencyGraphFromSourceGraph",0,function(e,t,n){let r=new Map(n.map(({id:e,packages:t})=>[e,t.map(({rootPath:e})=>e)])),i=new Map(t.map(e=>[e.nodeId,{id:e.nodeId,data:{kind:"package",classification:"intrinsic",focus:!0,label:e.name??e.id,projectId:e.projectId,...void 0===e.name?{}:{packageName:e.name},path:e.relativeRoot}}])),a=new Map,s=new Map(e.graph.nodes.map(e=>[e.id,e.data]));for(let{data:n}of e.graph.nodes.filter(({data:e})=>"file"===e.kind&&void 0!==e.analyzerId)){let e=h7(t,r,n);void 0!==e&&h3(i,e,h6(n,e))}for(let n of e.graph.edges){if("imports"!==n.data.kind)continue;let e=s.get(n.source),o=s.get(n.target);if(void 0===e||void 0===o)continue;let l=h7(t,r,e);if(void 0===l||void 0===e.analyzerId)continue;let c=h8(l,h6(e,l)),u=function(e,t,n,r,i){if("vendor"===e.classification||"unknown"===e.classification){let t=e.packageName??e.name,n=`${e.classification}:${t}`;return i.has(n)||i.set(n,{id:n,data:{kind:"package",classification:e.classification,focus:!1,label:t,packageName:t}}),n}if("package"===e.kind&&void 0!==e.path)return n.find(t=>t.projectId===e.projectId&&t.relativeRoot===e.path)?.nodeId;let a=void 0===e.filePath?t:h7(n,r,e);if(void 0===a)return;let s="typescript"===e.analyzerId||"file"===e.kind?h6(e,a):e.packageName??"";return h3(i,a,s),h8(a,s)}(o,l,t,r,i);void 0!==u&&u!==c&&function(e,t,n,r,i,a,s){let o=`${t}->${n}`,l=e.get(o),c="package"===s.kind&&void 0!==s.path?"focus":s.classification??"unknown",u=a.map(e=>({sourceFile:"."===i.relativeRoot?e.sourcePath:e.sourcePath.slice(i.relativeRoot.length+1),specifier:e.specifier??"",classification:c,declarations:e.declarations??[]}));e.set(o,{id:o,source:t,target:n,data:{kind:"import",analyzerId:r,weight:(l?.data.weight??0)+u.length,evidence:[...l?.data.evidence??[],...u]}})}(a,c,u,e.analyzerId,l,n.data.evidence,o)}return hO({nodes:[...i.values()],edges:[...a.values()]})}],35530)},91085,(e,t,n)=>{t.exports=e.g&&e.g.Object===Object&&e.g},22524,(e,t,n)=>{var r=e.r(91085),i="object"==typeof self&&self&&self.Object===Object&&self;t.exports=r||i||Function("return this")()},59345,(e,t,n)=>{t.exports=e.r(22524).Symbol},41497,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},66046,(e,t,n)=>{t.exports=Array.isArray},93456,(e,t,n)=>{var r=e.r(59345),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,o=r?r.toStringTag:void 0;t.exports=function(e){var t=a.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[o]=n:delete e[o]),i}},21341,(e,t,n)=>{var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},40277,(e,t,n)=>{var r=e.r(59345),i=e.r(93456),a=e.r(21341),s=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):a(e)}},10180,(e,t,n)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},61151,(e,t,n)=>{var r=e.r(40277),i=e.r(10180);t.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},90644,(e,t,n)=>{var r=e.r(59345),i=e.r(41497),a=e.r(66046),s=e.r(61151),o=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(s(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-o?"-0":n}},76997,(e,t,n)=>{var r=e.r(90644);t.exports=function(e){return null==e?"":r(e)}},24537,(e,t,n)=>{t.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}},58589,(e,t,n)=>{var r=e.r(24537);t.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},7990,(e,t,n)=>{var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return r.test(e)}},9424,(e,t,n)=>{t.exports=function(e){return e.split("")}},88989,(e,t,n)=>{var r="\\ud800-\\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",s="[^"+r+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+i+"|"+a+")?",u="[\\ufe0e\\ufe0f]?",h="(?:\\u200d(?:"+[s,o,l].join("|")+")"+u+c+")*",f=RegExp(a+"(?="+a+")|"+("(?:"+[s+i+"?",i,o,l,"["+r+"]"].join("|"))+")"+(u+c+h),"g");t.exports=function(e){return e.match(f)||[]}},5660,(e,t,n)=>{var r=e.r(9424),i=e.r(7990),a=e.r(88989);t.exports=function(e){return i(e)?a(e):r(e)}},23171,(e,t,n)=>{var r=e.r(58589),i=e.r(7990),a=e.r(5660),s=e.r(76997);t.exports=function(e){return function(t){var n=i(t=s(t))?a(t):void 0,o=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return o[e]()+l}}},67850,(e,t,n)=>{t.exports=e.r(23171)("toUpperCase")},66116,(e,t,n)=>{var r=e.r(76997),i=e.r(67850);t.exports=function(e){return i(r(e).toLowerCase())}},25155,(e,t,n)=>{t.exports=function(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}},7526,(e,t,n)=>{t.exports=function(e){return function(t){return null==e?void 0:e[t]}}},65988,(e,t,n)=>{t.exports=e.r(7526)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},51776,(e,t,n)=>{var r=e.r(65988),i=e.r(76997),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(e){return(e=i(e))&&e.replace(a,r).replace(s,"")}},21020,(e,t,n)=>{var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(e){return e.match(r)||[]}},46812,(e,t,n)=>{var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(e){return r.test(e)}},47817,(e,t,n)=>{var r="\\ud800-\\udfff",i="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",s="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="['’]",c="["+o+"]",u="["+a+"]",h="[^"+r+o+"\\d+"+i+a+s+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+s+"]",m="(?:"+u+"|"+h+")",g="(?:"+d+"|"+h+")",E="(?:"+l+"(?:d|ll|m|re|s|t|ve))?",y="(?:"+l+"(?:D|LL|M|RE|S|T|VE))?",S="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",L="[\\ufe0e\\ufe0f]?",v="(?:\\u200d(?:"+["[^"+r+"]",f,p].join("|")+")"+L+S+")*",U="(?:"+["["+i+"]",f,p].join("|")+")"+(L+S+v),T=RegExp([d+"?"+u+"+"+E+"(?="+[c,d,"$"].join("|")+")",g+"+"+y+"(?="+[c,d+m,"$"].join("|")+")",d+"?"+m+"+"+E,d+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",U].join("|"),"g");t.exports=function(e){return e.match(T)||[]}},24762,(e,t,n)=>{var r=e.r(21020),i=e.r(46812),a=e.r(76997),s=e.r(47817);t.exports=function(e,t,n){return(e=a(e),void 0===(t=n?void 0:t))?i(e)?s(e):r(e):e.match(t)||[]}},8218,(e,t,n)=>{var r=e.r(25155),i=e.r(51776),a=e.r(24762),s=RegExp("['’]","g");t.exports=function(e){return function(t){return r(a(i(t).replace(s,"")),e,"")}}},65191,(e,t,n)=>{var r=e.r(66116);t.exports=e.r(8218)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)})},62004,(e,t,n)=>{"use strict";let r=Symbol.for("yaml.alias"),i=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),s=Symbol.for("yaml.pair"),o=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),c=Symbol.for("yaml.node.type"),u=e=>!!e&&"object"==typeof e&&e[c]===o;function h(e){if(e&&"object"==typeof e)switch(e[c]){case a:case l:return!0}return!1}n.ALIAS=r,n.DOC=i,n.MAP=a,n.NODE_TYPE=c,n.PAIR=s,n.SCALAR=o,n.SEQ=l,n.hasAnchor=e=>(u(e)||h(e))&&!!e.anchor,n.isAlias=e=>!!e&&"object"==typeof e&&e[c]===r,n.isCollection=h,n.isDocument=e=>!!e&&"object"==typeof e&&e[c]===i,n.isMap=e=>!!e&&"object"==typeof e&&e[c]===a,n.isNode=function(e){if(e&&"object"==typeof e)switch(e[c]){case r:case a:case o:case l:return!0}return!1},n.isPair=e=>!!e&&"object"==typeof e&&e[c]===s,n.isScalar=u,n.isSeq=e=>!!e&&"object"==typeof e&&e[c]===l},5746,(e,t,n)=>{"use strict";var r=e.r(62004);let i=Symbol("break visit"),a=Symbol("skip children"),s=Symbol("remove node");function o(e,t){let n=h(t);r.isDocument(e)?l(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):l(null,e,n,Object.freeze([]))}function l(e,t,n,a){let o=f(e,t,n,a);if(r.isNode(o)||r.isPair(o))return p(e,a,o),l(e,o,n,a);if("symbol"!=typeof o){if(r.isCollection(t)){a=Object.freeze(a.concat(t));for(let e=0;e<t.items.length;++e){let r=l(e,t.items[e],n,a);if("number"==typeof r)e=r-1;else{if(r===i)return i;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){a=Object.freeze(a.concat(t));let e=l("key",t.key,n,a);if(e===i)return i;e===s&&(t.key=null);let r=l("value",t.value,n,a);if(r===i)return i;r===s&&(t.value=null)}}return o}async function c(e,t){let n=h(t);r.isDocument(e)?await u(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):await u(null,e,n,Object.freeze([]))}async function u(e,t,n,a){let o=await f(e,t,n,a);if(r.isNode(o)||r.isPair(o))return p(e,a,o),u(e,o,n,a);if("symbol"!=typeof o){if(r.isCollection(t)){a=Object.freeze(a.concat(t));for(let e=0;e<t.items.length;++e){let r=await u(e,t.items[e],n,a);if("number"==typeof r)e=r-1;else{if(r===i)return i;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){a=Object.freeze(a.concat(t));let e=await u("key",t.key,n,a);if(e===i)return i;e===s&&(t.key=null);let r=await u("value",t.value,n,a);if(r===i)return i;r===s&&(t.value=null)}}return o}function h(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function f(e,t,n,i){return"function"==typeof n?n(e,t,i):r.isMap(t)?n.Map?.(e,t,i):r.isSeq(t)?n.Seq?.(e,t,i):r.isPair(t)?n.Pair?.(e,t,i):r.isScalar(t)?n.Scalar?.(e,t,i):r.isAlias(t)?n.Alias?.(e,t,i):void 0}function p(e,t,n){let i=t[t.length-1];if(r.isCollection(i))i.items[e]=n;else if(r.isPair(i))"key"===e?i.key=n:i.value=n;else if(r.isDocument(i))i.contents=n;else{let e=r.isAlias(i)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}o.BREAK=i,o.SKIP=a,o.REMOVE=s,c.BREAK=i,c.SKIP=a,c.REMOVE=s,n.visit=o,n.visitAsync=c},43474,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(5746);let a={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},s=e=>e.replace(/[!,[\]{}]/g,e=>a[e]);class o{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},o.defaultYaml,e),this.tags=Object.assign({},o.defaultTags,t)}clone(){let e=new o(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new o(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:o.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},o.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:o.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},o.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+s(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],a=Object.entries(this.tags);if(e&&a.length>0&&r.isNode(e.contents)){let n={};i.visit(e.contents,(e,t)=>{r.isNode(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[r,i]of a)("!!"!==r||"tag:yaml.org,2002:"!==i)&&(!e||t.some(e=>e.startsWith(i)))&&n.push(`%TAG ${r} ${i}`);return n.join("\n")}}o.defaultYaml={explicit:!1,version:"1.2"},o.defaultTags={"!!":"tag:yaml.org,2002:"},n.Directives=o},97943,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(5746);function a(e){let t=new Set;return i.visit(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function s(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}n.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0},n.anchorNames=a,n.createNodeAnchors=function(e,t){let n=[],i=new Map,o=null;return{onAnchor:r=>{n.push(r),o??(o=a(e));let i=s(t,o);return o.add(i),i},setAnchors:()=>{for(let e of n){let t=i.get(e);if("object"==typeof t&&t.anchor&&(r.isScalar(t.node)||r.isCollection(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:i}},n.findNewAnchor=s},53418,(e,t,n)=>{"use strict";n.applyReviver=function e(t,n,r,i){if(i&&"object"==typeof i)if(Array.isArray(i))for(let n=0,r=i.length;n<r;++n){let r=i[n],a=e(t,i,String(n),r);void 0===a?delete i[n]:a!==r&&(i[n]=a)}else if(i instanceof Map)for(let n of Array.from(i.keys())){let r=i.get(n),a=e(t,i,n,r);void 0===a?i.delete(n):a!==r&&i.set(n,a)}else if(i instanceof Set)for(let n of Array.from(i)){let r=e(t,i,n,n);void 0===r?i.delete(n):r!==n&&(i.delete(n),i.add(r))}else for(let[n,r]of Object.entries(i)){let a=e(t,i,n,r);void 0===a?delete i[n]:a!==r&&(i[n]=a)}return t.call(n,r,i)}},57049,(e,t,n)=>{"use strict";var r=e.r(62004);n.toJS=function e(t,n,i){if(Array.isArray(t))return t.map((t,n)=>e(t,String(n),i));if(t&&"function"==typeof t.toJSON){if(!i||!r.hasAnchor(t))return t.toJSON(n,i);let e={aliasCount:0,count:1,res:void 0};i.anchors.set(t,e),i.onCreate=t=>{e.res=t,delete i.onCreate};let a=t.toJSON(n,i);return i.onCreate&&i.onCreate(a),a}return"bigint"!=typeof t||i?.keep?t:Number(t)}},88865,(e,t,n)=>{"use strict";var r=e.r(53418),i=e.r(62004),a=e.r(57049);n.NodeBase=class{constructor(e){Object.defineProperty(this,i.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:s,reviver:o}={}){if(!i.isDocument(e))throw TypeError("A document argument is required");let l={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},c=a.toJS(this,"",l);if("function"==typeof s)for(let{count:e,res:t}of l.anchors.values())s(t,e);return"function"==typeof o?r.applyReviver(o,{"":c},"",c):c}}},78862,(e,t,n)=>{"use strict";var r=e.r(97943),i=e.r(5746),a=e.r(62004),s=e.r(88865),o=e.r(57049);class l extends s.NodeBase{constructor(e){super(a.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let n,r;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let s of(t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],i.visit(e,{Node:(e,t)=>{(a.isAlias(t)||a.hasAnchor(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n)),n)){if(s===this)break;s.anchor===this.source&&(r=s)}if(r&&t){let{anchors:e,doc:n,maxAliasCount:i}=t,s=e.get(r);if(s||(o.toJS(r,null,t),s=e.get(r)),s?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=function e(t,n,r){if(a.isAlias(n)){let e=n.resolve(t),i=r&&e&&r.get(e);return i?i.count*i.aliasCount:0}if(a.isCollection(n)){let i=0;for(let a of n.items){let n=e(t,a,r);n>i&&(i=n)}return i}return a.isPair(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(n,r,e)),s.count*s.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return r}toJSON(e,t){if(!t)return{source:this.source};let n=this.resolve(t.doc,t);if(!n)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);return t.anchors.get(n).res}toString(e,t,n){let i=`*${this.source}`;if(e){if(r.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${i} `}return i}}n.Alias=l},45942,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(88865),a=e.r(57049);class s extends i.NodeBase{constructor(e){super(r.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:a.toJS(this.value,e,t)}toString(){return String(this.value)}}s.BLOCK_FOLDED="BLOCK_FOLDED",s.BLOCK_LITERAL="BLOCK_LITERAL",s.PLAIN="PLAIN",s.QUOTE_DOUBLE="QUOTE_DOUBLE",s.QUOTE_SINGLE="QUOTE_SINGLE",n.Scalar=s,n.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},12270,(e,t,n)=>{"use strict";var r=e.r(78862),i=e.r(62004),a=e.r(45942);n.createNode=function(e,t,n){let s;if(i.isDocument(e)&&(e=e.contents),i.isNode(e))return e;if(i.isPair(e)){let t=n.schema[i.MAP].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"u">typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:o,onAnchor:l,onTagObj:c,schema:u,sourceObjects:h}=n;if(o&&e&&"object"==typeof e){if(s=h.get(e))return s.anchor??(s.anchor=l(e)),new r.Alias(s.anchor);s={anchor:null,node:null},h.set(e,s)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let f=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,u.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new a.Scalar(e);return s&&(s.node=t),t}f=e instanceof Map?u[i.MAP]:Symbol.iterator in Object(e)?u[i.SEQ]:u[i.MAP]}c&&(c(f),delete n.onTagObj);let p=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new a.Scalar(e);return t?p.tag=t:f.default||(p.tag=f.tag),s&&(s.node=p),p}},26634,(e,t,n)=>{"use strict";var r=e.r(12270),i=e.r(62004),a=e.r(88865);function s(e,t,n){let i=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=i,i=e}else i=new Map([[n,i]])}return r.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}let o=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class l extends a.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>i.isNode(t)||i.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(o(e))this.add(t);else{let[n,...r]=e,a=this.get(n,!0);if(i.isCollection(a))a.addIn(r,t);else if(void 0===a&&this.schema)this.set(n,s(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(i.isCollection(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,a=this.get(n,!0);return 0===r.length?!t&&i.isScalar(a)?a.value:a:i.isCollection(a)?a.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!i.isPair(t))return!1;let n=t.value;return null==n||e&&i.isScalar(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!i.isCollection(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(i.isCollection(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,s(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}n.Collection=l,n.collectionFromPath=s,n.isEmptyPath=o},36803,(e,t,n)=>{"use strict";function r(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}n.indentComment=r,n.lineComment=(e,t,n)=>e.endsWith("\n")?r(n,t):n.includes("\n")?"\n"+r(n,t):(e.endsWith(" ")?"":" ")+n,n.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},36502,(e,t,n)=>{"use strict";let r="block",i="quoted";function a(e,t,n){let r=t,i=t+1,a=e[i];for(;" "===a||" "===a;)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&"\n"!==a)r=t,a=e[i=t+1]}return r}n.FOLD_BLOCK=r,n.FOLD_FLOW="flow",n.FOLD_QUOTED=i,n.foldFlowLines=function(e,t,n="flow",{indentAtStart:s,lineWidth:o=80,minContentWidth:l=20,onFold:c,onOverflow:u}={}){let h,f,p;if(!o||o<0)return e;o<l&&(l=0);let d=Math.max(1+l,1+o-t.length);if(e.length<=d)return e;let m=[],g={},E=o-t.length;"number"==typeof s&&(s>o-Math.max(2,l)?m.push(0):E=o-s);let y=!1,S=-1,L=-1,v=-1;for(n===r&&-1!==(S=a(e,S,t.length))&&(E=S+d);p=e[S+=1];){if(n===i&&"\\"===p){switch(L=S,e[S+1]){case"x":S+=3;break;case"u":S+=5;break;case"U":S+=9;break;default:S+=1}v=S}if("\n"===p)n===r&&(S=a(e,S,t.length)),E=S+t.length+d,h=void 0;else{if(" "===p&&f&&" "!==f&&"\n"!==f&&" "!==f){let t=e[S+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(h=S)}if(S>=E)if(h)m.push(h),E=h+d,h=void 0;else if(n===i){for(;" "===f||" "===f;)f=p,p=e[S+=1],y=!0;let t=S>v+1?S-2:L-1;if(g[t])return e;m.push(t),g[t]=!0,E=t+d,h=void 0}else y=!0}f=p}if(y&&u&&u(),0===m.length)return e;c&&c();let U=e.slice(0,m[0]);for(let r=0;r<m.length;++r){let a=m[r],s=m[r+1]||e.length;0===a?U=`
|
|
59
59
|
${t}${e.slice(0,s)}`:(n===i&&g[a]&&(U+=`${e[a]}\\`),U+=`
|
|
60
60
|
${t}${e.slice(a+1,s)}`)}return U}},23157,(e,t,n)=>{"use strict";let r;var i=e.r(45942),a=e.r(36502);let s=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth});function o(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(/^(%|---|\.\.\.)/m.test(e)?" ":""),l="",c=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(l+=n.slice(c,e)+"\\ ",e+=1,c=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{l+=n.slice(c,e);let t=n.substr(e+2,4);switch(t){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:"00"===t.substr(0,2)?l+="\\x"+t.substr(2):l+=n.substr(e,6)}e+=5,c=e+1}break;case"n":if(r||'"'===n[e+2]||n.length<i)e+=1;else{for(l+=n.slice(c,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)l+="\n",e+=2;l+=o," "===n[e+2]&&(l+="\\"),e+=1,c=e+1}break;default:e+=1}return l=c?l+n.slice(c):n,r?l:a.foldFlowLines(l,o,a.FOLD_QUOTED,s(t,!1))}function l(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return o(e,t);let n=t.indent||(/^(%|---|\.\.\.)/m.test(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
61
61
|
${n}`)+"'";return t.implicitKey?r:a.foldFlowLines(r,n,a.FOLD_FLOW,s(t,!1))}function c(e,t){let n,{singleQuote:r}=t.options;if(!1===r)n=o;else{let t=e.includes('"'),i=e.includes("'");n=t&&!i?l:i&&!t?o:r?l:o}return n(e,t)}try{r=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{r=/\n+(?!\n|$)/g}function u({comment:e,type:t,value:n},o,l,h){let f,p,d,m,{blockQuote:g,commentString:E,lineWidth:y}=o.options;if(!g||/\n[\t ]+$/.test(n))return c(n,o);let S=o.indent||(o.forceBlockIndent||(m=n,/^(%|---|\.\.\.)/m.test(m))?" ":""),L="literal"===g||"folded"!==g&&t!==i.Scalar.BLOCK_FOLDED&&(t===i.Scalar.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if("\n"===e[t]){if(t-n>r)return!0;if(i-(n=t+1)<=r)return!1}return!0}(n,y,S.length));if(!n)return L?"|\n":">\n";for(p=n.length;p>0;--p){let e=n[p-1];if("\n"!==e&&" "!==e&&" "!==e)break}let v=n.substring(p),U=v.indexOf("\n");-1===U?f="-":n===v||U!==v.length-1?(f="+",h&&h()):f="",v&&(n=n.slice(0,-v.length),"\n"===v[v.length-1]&&(v=v.slice(0,-1)),v=v.replace(r,`$&${S}`));let T=!1,O=-1;for(d=0;d<n.length;++d){let e=n[d];if(" "===e)T=!0;else if("\n"===e)O=d;else break}let A=n.substring(0,O<d?O+1:d);A&&(n=n.substring(A.length),A=A.replace(/\n+/g,`$&${S}`));let R=S?"2":"1",N=(T?R:"")+f;if(e&&(N+=" "+E(e.replace(/ ?[\r\n]+/g," ")),l&&l()),!L){let e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${S}`),r=!1,l=s(o,!0);"folded"!==g&&t!==i.Scalar.BLOCK_FOLDED&&(l.onOverflow=()=>{r=!0});let c=a.foldFlowLines(`${A}${e}${v}`,S,a.FOLD_BLOCK,l);if(!r)return`>${N}
|
|
@@ -66,12 +66,12 @@ ${t.indent}${u}`:u}},79879,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(45942),
|
|
|
66
66
|
${d}:`):(T=`${T}:`,S&&(T+=s.lineComment(T,n.indent,g(S)))),r.isNode(t)?(c=!!t.spaceBefore,u=t.commentBefore,h=t.comment):(c=!1,u=null,h=null,t&&"object"==typeof t&&(t=p.createNode(t))),n.implicitKey=!1,!L&&!S&&r.isScalar(t)&&(n.indentAtStart=T.length+1),U=!1,!(!E&&m.length>=2&&!n.inFlow&&!L&&r.isSeq(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let O=!1,A=a.stringify(t,n,()=>O=!0,()=>U=!0),R=" ";if(S||c||u){if(R=c?"\n":"",u){let e=g(u);R+=`
|
|
67
67
|
${s.indentComment(e,n.indent)}`}""!==A||n.inFlow?R+=`
|
|
68
68
|
${n.indent}`:"\n"===R&&h&&(R="\n\n")}else if(!L&&r.isCollection(t)){let e=A[0],r=A.indexOf("\n"),i=-1!==r,a=n.inFlow??t.flow??0===t.items.length;if(i||!a){let t=!1;if(i&&("&"===e||"!"===e)){let n=A.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===A[n+1]&&(n=A.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(R=`
|
|
69
|
-
${n.indent}`)}}else(""===A||"\n"===A[0])&&(R="");return T+=R+A,n.inFlow?O&&o&&o():h&&!O?T+=s.lineComment(T,n.indent,g(h)):U&&l&&l(),T}},87449,(e,t,n)=>{"use strict";var r=e.r(5365);n.debug=function(e,...t){"debug"===e&&console.log(...t)},n.warn=function(e,t){("debug"===e||"warn"===e)&&("function"==typeof r.emitWarning?r.emitWarning(t):console.warn(t))}},9382,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(45942);let a={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new i.Scalar(Symbol("<<")),{addToJSMap:s}),stringify:()=>"<<"};function s(e,t,n){let i=l(e,n);if(r.isSeq(i))for(let n of i.items)o(e,t,n);else if(Array.isArray(i))for(let n of i)o(e,t,n);else o(e,t,i)}function o(e,t,n){let i=l(e,n);if(!r.isMap(i))throw Error("Merge sources must be maps or map aliases");for(let[n,r]of i.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,r):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function l(e,t){return e&&r.isAlias(t)?t.resolve(e.doc,e):t}n.addMergeToJSMap=s,n.isMergeKey=(e,t)=>(a.identify(t)||r.isScalar(t)&&(!t.type||t.type===i.Scalar.PLAIN)&&a.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===a.tag&&e.default),n.merge=a},57837,(e,t,n)=>{"use strict";var r=e.r(87449),i=e.r(9382),a=e.r(84100),s=e.r(62004),o=e.r(
|
|
69
|
+
${n.indent}`)}}else(""===A||"\n"===A[0])&&(R="");return T+=R+A,n.inFlow?O&&o&&o():h&&!O?T+=s.lineComment(T,n.indent,g(h)):U&&l&&l(),T}},87449,(e,t,n)=>{"use strict";var r=e.r(5365);n.debug=function(e,...t){"debug"===e&&console.log(...t)},n.warn=function(e,t){("debug"===e||"warn"===e)&&("function"==typeof r.emitWarning?r.emitWarning(t):console.warn(t))}},9382,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(45942);let a={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new i.Scalar(Symbol("<<")),{addToJSMap:s}),stringify:()=>"<<"};function s(e,t,n){let i=l(e,n);if(r.isSeq(i))for(let n of i.items)o(e,t,n);else if(Array.isArray(i))for(let n of i)o(e,t,n);else o(e,t,i)}function o(e,t,n){let i=l(e,n);if(!r.isMap(i))throw Error("Merge sources must be maps or map aliases");for(let[n,r]of i.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,r):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function l(e,t){return e&&r.isAlias(t)?t.resolve(e.doc,e):t}n.addMergeToJSMap=s,n.isMergeKey=(e,t)=>(a.identify(t)||r.isScalar(t)&&(!t.type||t.type===i.Scalar.PLAIN)&&a.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===a.tag&&e.default),n.merge=a},57837,(e,t,n)=>{"use strict";var r=e.r(87449),i=e.r(9382),a=e.r(84100),s=e.r(62004),o=e.r(57049);n.addPairToJSMap=function(e,t,{key:n,value:l}){if(s.isNode(n)&&n.addToJSMap)n.addToJSMap(e,t,l);else if(i.isMergeKey(e,n))i.addMergeToJSMap(e,t,l);else{let i=o.toJS(n,"",e);if(t instanceof Map)t.set(i,o.toJS(l,i,e));else if(t instanceof Set)t.add(i);else{let c=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(s.isNode(e)&&n?.doc){let t=a.createStringifyContext(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let i=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(i);e.length>40&&(e=e.substring(0,36)+'..."'),r.warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}(n,i,e),u=o.toJS(l,c,e);c in t?Object.defineProperty(t,c,{value:u,writable:!0,enumerable:!0,configurable:!0}):t[c]=u}}return t}},34165,(e,t,n)=>{"use strict";var r=e.r(12270),i=e.r(79879),a=e.r(57837),s=e.r(62004);class o{constructor(e,t=null){Object.defineProperty(this,s.NODE_TYPE,{value:s.PAIR}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return s.isNode(t)&&(t=t.clone(e)),s.isNode(n)&&(n=n.clone(e)),new o(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return a.addPairToJSMap(t,n,this)}toString(e,t,n){return e?.doc?i.stringifyPair(this,e,t,n):JSON.stringify(this)}}n.Pair=o,n.createPair=function(e,t,n){return new o(r.createNode(e,void 0,n),r.createNode(t,void 0,n))}},83614,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(84100),a=e.r(36803);function s({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){let i=a.indentComment(t(r),e);n.push(i.trimStart())}}n.stringifyCollection=function(e,t,n){return(t.inFlow??e.flow?function({items:e},t,{flowChars:n,itemIndent:o}){let{indent:l,indentStep:c,flowCollectionPadding:u,options:{commentString:h}}=t,f=Object.assign({},t,{indent:o+=c,inFlow:!0,type:null}),p=!1,d=0,m=[];for(let n=0;n<e.length;++n){let l=e[n],c=null;if(r.isNode(l))l.spaceBefore&&m.push(""),s(t,m,l.commentBefore,!1),l.comment&&(c=l.comment);else if(r.isPair(l)){let e=r.isNode(l.key)?l.key:null;e&&(e.spaceBefore&&m.push(""),s(t,m,e.commentBefore,!1),e.comment&&(p=!0));let n=r.isNode(l.value)?l.value:null;n?(n.comment&&(c=n.comment),n.commentBefore&&(p=!0)):null==l.value&&e?.comment&&(c=e.comment)}c&&(p=!0);let u=i.stringify(l,f,()=>c=null);p||(p=m.length>d||u.includes("\n")),n<e.length-1?u+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(p||(p=m.reduce((e,t)=>e+t.length+2,2)+(u.length+2)>t.options.lineWidth)),p&&(u+=",")),c&&(u+=a.lineComment(u,o,h(c))),m.push(u),d=m.length}let{start:g,end:E}=n;if(0===m.length)return g+E;if(!p){let e=m.reduce((e,t)=>e+t.length+2,2);p=t.options.lineWidth>0&&e>t.options.lineWidth}if(!p)return`${g}${u}${m.join(" ")}${u}${E}`;{let e=g;for(let t of m)e+=t?`
|
|
70
70
|
${c}${l}${t}`:"\n";return`${e}
|
|
71
71
|
${l}${E}`}}:function({comment:e,items:t},n,{blockItemPrefix:o,flowChars:l,itemIndent:c,onChompKeep:u,onComment:h}){let f,{indent:p,options:{commentString:d}}=n,m=Object.assign({},n,{indent:c,type:null}),g=!1,E=[];for(let e=0;e<t.length;++e){let l=t[e],u=null;if(r.isNode(l))!g&&l.spaceBefore&&E.push(""),s(n,E,l.commentBefore,g),l.comment&&(u=l.comment);else if(r.isPair(l)){let e=r.isNode(l.key)?l.key:null;e&&(!g&&e.spaceBefore&&E.push(""),s(n,E,e.commentBefore,g))}g=!1;let h=i.stringify(l,m,()=>u=null,()=>g=!0);u&&(h+=a.lineComment(h,c,d(u))),g&&u&&(g=!1),E.push(o+h)}if(0===E.length)f=l.start+l.end;else{f=E[0];for(let e=1;e<E.length;++e){let t=E[e];f+=t?`
|
|
72
|
-
${p}${t}`:"\n"}}return e?(f+="\n"+a.indentComment(d(e),p),h&&h()):g&&u&&u(),f})(e,t,n)}},75212,(e,t,n)=>{"use strict";var r=e.r(83614),i=e.r(57837),a=e.r(26634),s=e.r(62004),o=e.r(34165),l=e.r(45942);function c(e,t){let n=s.isScalar(t)?t.value:t;for(let r of e)if(s.isPair(r)&&(r.key===t||r.key===n||s.isScalar(r.key)&&r.key.value===n))return r}class u extends a.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(s.MAP,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,a=new this(e),s=(e,s)=>{if("function"==typeof i)s=i.call(t,e,s);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==s||r)&&a.items.push(o.createPair(e,s,n))};if(t instanceof Map)for(let[e,n]of t)s(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))s(e,t[e]);return"function"==typeof e.sortMapEntries&&a.items.sort(e.sortMapEntries),a}add(e,t){let n;n=s.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new o.Pair(e.key,e.value):new o.Pair(e,e?.value);let r=c(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);s.isScalar(r.value)&&l.isScalarValue(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>0>i(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=c(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=c(this.items,e),r=n?.value;return(!t&&s.isScalar(r)?r.value:r)??void 0}has(e){return!!c(this.items,e)}set(e,t){this.add(new o.Pair(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))i.addPairToJSMap(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!s.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),r.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}n.YAMLMap=u,n.findPair=c},60752,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(75212);n.map={collection:"map",default:!0,nodeClass:i.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(r.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>i.YAMLMap.from(e,t,n)}},98600,(e,t,n)=>{"use strict";var r=e.r(12270),i=e.r(83614),a=e.r(26634),s=e.r(62004),o=e.r(45942),l=e.r(
|
|
72
|
+
${p}${t}`:"\n"}}return e?(f+="\n"+a.indentComment(d(e),p),h&&h()):g&&u&&u(),f})(e,t,n)}},75212,(e,t,n)=>{"use strict";var r=e.r(83614),i=e.r(57837),a=e.r(26634),s=e.r(62004),o=e.r(34165),l=e.r(45942);function c(e,t){let n=s.isScalar(t)?t.value:t;for(let r of e)if(s.isPair(r)&&(r.key===t||r.key===n||s.isScalar(r.key)&&r.key.value===n))return r}class u extends a.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(s.MAP,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,a=new this(e),s=(e,s)=>{if("function"==typeof i)s=i.call(t,e,s);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==s||r)&&a.items.push(o.createPair(e,s,n))};if(t instanceof Map)for(let[e,n]of t)s(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))s(e,t[e]);return"function"==typeof e.sortMapEntries&&a.items.sort(e.sortMapEntries),a}add(e,t){let n;n=s.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new o.Pair(e.key,e.value):new o.Pair(e,e?.value);let r=c(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);s.isScalar(r.value)&&l.isScalarValue(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>0>i(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=c(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=c(this.items,e),r=n?.value;return(!t&&s.isScalar(r)?r.value:r)??void 0}has(e){return!!c(this.items,e)}set(e,t){this.add(new o.Pair(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))i.addPairToJSMap(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!s.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),r.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}n.YAMLMap=u,n.findPair=c},60752,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(75212);n.map={collection:"map",default:!0,nodeClass:i.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(r.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>i.YAMLMap.from(e,t,n)}},98600,(e,t,n)=>{"use strict";var r=e.r(12270),i=e.r(83614),a=e.r(26634),s=e.r(62004),o=e.r(45942),l=e.r(57049);class c extends a.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(s.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=u(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=u(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&s.isScalar(r)?r.value:r}has(e){let t=u(e);return"number"==typeof t&&t<this.items.length}set(e,t){let n=u(e);if("number"!=typeof n)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];s.isScalar(r)&&o.isScalarValue(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(l.toJS(e,String(r++),t));return n}toString(e,t,n){return e?i.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:i}=n,a=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let s of t){if("function"==typeof i){let n=t instanceof Set?s:String(e++);s=i.call(t,n,s)}a.items.push(r.createNode(s,void 0,n))}}return a}}function u(e){let t=s.isScalar(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}n.YAMLSeq=c},85726,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(98600);n.seq={collection:"seq",default:!0,nodeClass:i.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(r.isSeq(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>i.YAMLSeq.from(e,t,n)}},92951,(e,t,n)=>{"use strict";var r=e.r(23157);n.string={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,i)=>(t=Object.assign({actualString:!0},t),r.stringifyString(e,t,n,i))}},98469,(e,t,n)=>{"use strict";var r=e.r(45942);let i={identify:e=>null==e,createNode:()=>new r.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new r.Scalar(null),stringify:({source:e},t)=>"string"==typeof e&&i.test.test(e)?e:t.options.nullStr};n.nullTag=i},51216,(e,t,n)=>{"use strict";var r=e.r(45942);let i={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new r.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&i.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};n.boolTag=i},86228,(e,t,n)=>{"use strict";n.stringifyNumber=function({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let i="number"==typeof r?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let a=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^-?\d/.test(a)&&!a.includes("e")){let e=a.indexOf(".");e<0&&(e=a.length,a+=".");let n=t-(a.length-e-1);for(;n-- >0;)a+="0"}return a}},80790,(e,t,n)=>{"use strict";var r=e.r(45942),i=e.r(86228);let a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:i.stringifyNumber};n.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new r.Scalar(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:i.stringifyNumber},n.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():i.stringifyNumber(e)}},n.floatNaN=a},93469,(e,t,n)=>{"use strict";var r=e.r(86228);let i=e=>"bigint"==typeof e||Number.isInteger(e),a=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function s(e,t,n){let{value:a}=e;return i(a)&&a>=0?n+a.toString(t):r.stringifyNumber(e)}n.int={identify:i,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>a(e,0,10,n),stringify:r.stringifyNumber},n.intHex={identify:e=>i(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>a(e,2,16,n),stringify:e=>s(e,16,"0x")},n.intOct={identify:e=>i(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>a(e,2,8,n),stringify:e=>s(e,8,"0o")}},8820,(e,t,n)=>{"use strict";var r=e.r(60752),i=e.r(98469),a=e.r(85726),s=e.r(92951),o=e.r(51216),l=e.r(80790),c=e.r(93469);n.schema=[r.map,a.seq,s.string,i.nullTag,o.boolTag,c.intOct,c.int,c.intHex,l.floatNaN,l.floatExp,l.float]},17052,(e,t,n)=>{"use strict";var r=e.r(45942),i=e.r(60752),a=e.r(85726);function s(e){return"bigint"==typeof e||Number.isInteger(e)}let o=({value:e})=>JSON.stringify(e),l=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:o},{identify:e=>null==e,createNode:()=>new r.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:o},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:o},{identify:s,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>s(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:o}];n.schema=[i.map,a.seq].concat(l,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)})},16125,(e,t,n)=>{"use strict";var r=e.r(874),i=e.r(45942),a=e.r(23157);n.binary={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof r.Buffer)return r.Buffer.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}},stringify({comment:e,type:t,value:n},s,o,l){let c;if(!n)return"";if("function"==typeof r.Buffer)c=n instanceof r.Buffer?n.toString("base64"):r.Buffer.from(n.buffer).toString("base64");else if("function"==typeof btoa){let e="";for(let t=0;t<n.length;++t)e+=String.fromCharCode(n[t]);c=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=i.Scalar.BLOCK_LITERAL),t!==i.Scalar.QUOTE_DOUBLE){let e=Math.max(s.options.lineWidth-s.indent.length,s.options.minContentWidth),n=Math.ceil(c.length/e),r=Array(n);for(let t=0,i=0;t<n;++t,i+=e)r[t]=c.substr(i,e);c=r.join(t===i.Scalar.BLOCK_LITERAL?"\n":" ")}return a.stringifyString({comment:e,type:t,value:c},s,o,l)}}},23784,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(34165),a=e.r(45942),s=e.r(98600);function o(e,t){if(r.isSeq(e))for(let n=0;n<e.items.length;++n){let s=e.items[n];if(!r.isPair(s)){if(r.isMap(s)){s.items.length>1&&t("Each pair must have its own sequence indicator");let e=s.items[0]||new i.Pair(new a.Scalar(null));if(s.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${s.commentBefore}
|
|
73
73
|
${e.key.commentBefore}`:s.commentBefore),s.comment){let t=e.value??e.key;t.comment=t.comment?`${s.comment}
|
|
74
|
-
${t.comment}`:s.comment}s=e}e.items[n]=r.isPair(s)?s:new i.Pair(s)}}else t("Expected a sequence for this tag");return e}function l(e,t,n){let{replacer:r}=n,a=new s.YAMLSeq(e);a.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let s,l;if("function"==typeof r&&(e=r.call(t,String(o++),e)),Array.isArray(e))if(2===e.length)s=e[0],l=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)l=e[s=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else s=e;a.items.push(i.createPair(s,l,n))}return a}n.createPairs=l,n.pairs={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:o,createNode:l},n.resolvePairs=o},25428,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(84922),a=e.r(75212),s=e.r(98600),o=e.r(23784);class l extends s.YAMLSeq{constructor(){super(),this.add=a.YAMLMap.prototype.add.bind(this),this.delete=a.YAMLMap.prototype.delete.bind(this),this.get=a.YAMLMap.prototype.get.bind(this),this.has=a.YAMLMap.prototype.has.bind(this),this.set=a.YAMLMap.prototype.set.bind(this),this.tag=l.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let a,s;if(r.isPair(e)?(a=i.toJS(e.key,"",t),s=i.toJS(e.value,a,t)):a=i.toJS(e,"",t),n.has(a))throw Error("Ordered maps must not include duplicate keys");n.set(a,s)}return n}static from(e,t,n){let r=o.createPairs(e,t,n),i=new this;return i.items=r.items,i}}l.tag="tag:yaml.org,2002:omap",n.YAMLOMap=l,n.omap={collection:"seq",identify:e=>e instanceof Map,nodeClass:l,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=o.resolvePairs(e,t),i=[];for(let{key:e}of n.items)r.isScalar(e)&&(i.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):i.push(e.value));return Object.assign(new l,n)},createNode:(e,t,n)=>l.from(e,t,n)}},10922,(e,t,n)=>{"use strict";var r=e.r(45942);function i({value:e,source:t},n){let r=e?a:s;return t&&r.test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let a={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new r.Scalar(!0),stringify:i},s={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new r.Scalar(!1),stringify:i};n.falseTag=s,n.trueTag=a},98260,(e,t,n)=>{"use strict";var r=e.r(45942),i=e.r(86228);let a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:i.stringifyNumber};n.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new r.Scalar(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:i.stringifyNumber},n.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():i.stringifyNumber(e)}},n.floatNaN=a},4484,(e,t,n)=>{"use strict";var r=e.r(86228);let i=e=>"bigint"==typeof e||Number.isInteger(e);function a(e,t,n,{intAsBigInt:r}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===i?-1*s:s}function s(e,t,n){let{value:a}=e;if(i(a)){let e=a.toString(t);return a<0?"-"+n+e.substr(1):n+e}return r.stringifyNumber(e)}n.int={identify:i,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>a(e,0,10,n),stringify:r.stringifyNumber},n.intBin={identify:i,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>a(e,2,2,n),stringify:e=>s(e,2,"0b")},n.intHex={identify:i,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>a(e,2,16,n),stringify:e=>s(e,16,"0x")},n.intOct={identify:i,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>a(e,1,8,n),stringify:e=>s(e,8,"0")}},57909,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(34165),a=e.r(75212);class s extends a.YAMLMap{constructor(e){super(e),this.tag=s.tag}add(e){let t;t=r.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new i.Pair(e.key,null):new i.Pair(e,null),a.findPair(this.items,t.key)||this.items.push(t)}get(e,t){let n=a.findPair(this.items,e);return!t&&r.isPair(n)?r.isScalar(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=a.findPair(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new i.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),a.items.push(i.createPair(e,null,n));return a}}s.tag="tag:yaml.org,2002:set",n.YAMLSet=s,n.set={collection:"map",identify:e=>e instanceof Set,nodeClass:s,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>s.from(e,t,n),resolve(e,t){if(r.isMap(e))if(e.hasAllNullValues(!0))return Object.assign(new s,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}}},1243,(e,t,n)=>{"use strict";var r=e.r(86228);function i(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===n?i(-1)*a:a}function a(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return r.stringifyNumber(e);let i="";t<0&&(i="-",t*=n(-1));let a=n(60),s=[t%a];return t<60?s.unshift(0):(t=(t-s[0])/a,s.unshift(t%a),t>=60&&(t=(t-s[0])/a,s.unshift(t))),i+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let s={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(s.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,a,o,l,c]=t.map(Number),u=Date.UTC(n,r-1,a,o||0,l||0,c||0,t[7]?Number((t[7]+"00").substr(1,3)):0),h=t[8];if(h&&"Z"!==h){let e=i(h,!1);30>Math.abs(e)&&(e*=60),u-=6e4*e}return new Date(u)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};n.floatTime={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>i(e,!1),stringify:a},n.intTime={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>i(e,n),stringify:a},n.timestamp=s},61298,(e,t,n)=>{"use strict";var r=e.r(60752),i=e.r(98469),a=e.r(85726),s=e.r(92951),o=e.r(16125),l=e.r(10922),c=e.r(98260),u=e.r(4484),h=e.r(9382),f=e.r(25428),p=e.r(23784),d=e.r(57909),m=e.r(1243);n.schema=[r.map,a.seq,s.string,i.nullTag,l.trueTag,l.falseTag,u.intBin,u.intOct,u.int,u.intHex,c.floatNaN,c.floatExp,c.float,o.binary,h.merge,f.omap,p.pairs,d.set,m.intTime,m.floatTime,m.timestamp]},37052,(e,t,n)=>{"use strict";var r=e.r(60752),i=e.r(98469),a=e.r(85726),s=e.r(92951),o=e.r(51216),l=e.r(80790),c=e.r(93469),u=e.r(8820),h=e.r(17052),f=e.r(16125),p=e.r(9382),d=e.r(25428),m=e.r(23784),g=e.r(61298),E=e.r(57909),y=e.r(1243);let S=new Map([["core",u.schema],["failsafe",[r.map,a.seq,s.string]],["json",h.schema],["yaml11",g.schema],["yaml-1.1",g.schema]]),L={binary:f.binary,bool:o.boolTag,float:l.float,floatExp:l.floatExp,floatNaN:l.floatNaN,floatTime:y.floatTime,int:c.int,intHex:c.intHex,intOct:c.intOct,intTime:y.intTime,map:r.map,merge:p.merge,null:i.nullTag,omap:d.omap,pairs:m.pairs,seq:a.seq,set:E.set,timestamp:y.timestamp};n.coreKnownTags={"tag:yaml.org,2002:binary":f.binary,"tag:yaml.org,2002:merge":p.merge,"tag:yaml.org,2002:omap":d.omap,"tag:yaml.org,2002:pairs":m.pairs,"tag:yaml.org,2002:set":E.set,"tag:yaml.org,2002:timestamp":y.timestamp},n.getTags=function(e,t,n){let r=S.get(t);if(r&&!e)return n&&!r.includes(p.merge)?r.concat(p.merge):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(S.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else"function"==typeof e&&(i=e(i.slice()));return n&&(i=i.concat(p.merge)),i.reduce((e,t)=>{let n="string"==typeof t?L[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(L).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}},94637,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(60752),a=e.r(85726),s=e.r(92951),o=e.r(37052);let l=(e,t)=>e.key<t.key?-1:+(e.key>t.key);n.Schema=class e{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:c,schema:u,sortMapEntries:h,toStringDefaults:f}){this.compat=Array.isArray(e)?o.getTags(e,"compat"):e?o.getTags(null,e):null,this.name="string"==typeof u&&u||"core",this.knownTags=c?o.coreKnownTags:{},this.tags=o.getTags(t,this.name,n),this.toStringOptions=f??null,Object.defineProperty(this,r.MAP,{value:i.map}),Object.defineProperty(this,r.SCALAR,{value:s.string}),Object.defineProperty(this,r.SEQ,{value:a.seq}),this.sortMapEntries="function"==typeof h?h:!0===h?l:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}},97720,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(84100),a=e.r(36803);n.stringifyDocument=function(e,t){let n=[],s=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),s=!0):e.directives.docStart&&(s=!0)}s&&n.push("---");let o=i.createStringifyContext(e,t),{commentString:l}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=l(e.commentBefore);n.unshift(a.indentComment(t,""))}let c=!1,u=null;if(e.contents){if(r.isNode(e.contents)){if(e.contents.spaceBefore&&s&&n.push(""),e.contents.commentBefore){let t=l(e.contents.commentBefore);n.push(a.indentComment(t,""))}o.forceBlockIndent=!!e.comment,u=e.contents.comment}let t=u?void 0:()=>c=!0,h=i.stringify(e.contents,o,()=>u=null,t);u&&(h+=a.lineComment(h,"",l(u))),("|"===h[0]||">"===h[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${h}`:n.push(h)}else n.push(i.stringify(e.contents,o));if(e.directives?.docEnd)if(e.comment){let t=l(e.comment);t.includes("\n")?(n.push("..."),n.push(a.indentComment(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&c&&(t=t.replace(/^\n+/,"")),t&&((!c||u)&&""!==n[n.length-1]&&n.push(""),n.push(a.indentComment(l(t),"")))}return n.join("\n")+"\n"}},35226,(e,t,n)=>{"use strict";var r=e.r(78862),i=e.r(26634),a=e.r(62004),s=e.r(34165),o=e.r(84922),l=e.r(94637),c=e.r(97720),u=e.r(97943),h=e.r(53418),f=e.r(12270),p=e.r(43474);function d(e){if(a.isCollection(e))return!0;throw Error("Expected a YAML collection as document contents")}n.Document=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,a.NODE_TYPE,{value:a.DOC});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=i;let{version:s}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new p.Directives({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let t=Object.create(e.prototype,{[a.NODE_TYPE]:{value:a.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=a.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){d(this.contents)&&this.contents.add(e)}addIn(e,t){d(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=u.anchorNames(this);e.anchor=!t||n.has(t)?u.findNewAnchor(t||"a",n):t}return new r.Alias(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:s,flow:o,keepUndefined:l,onTagObj:c,tag:h}=n??{},{onAnchor:p,setAnchors:d,sourceObjects:m}=u.createNodeAnchors(this,s||"a"),g={aliasDuplicateObjects:i??!0,keepUndefined:l??!1,onAnchor:p,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:m},E=f.createNode(e,h,g);return o&&a.isCollection(E)&&(E.flow=!0),d(),E}createPair(e,t,n={}){let r=this.createNode(e,null,n),i=this.createNode(t,null,n);return new s.Pair(r,i)}delete(e){return!!d(this.contents)&&this.contents.delete(e)}deleteIn(e){return i.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!d(this.contents)&&this.contents.deleteIn(e)}get(e,t){return a.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return i.isEmptyPath(e)?!t&&a.isScalar(this.contents)?this.contents.value:this.contents:a.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!a.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return i.isEmptyPath(e)?void 0!==this.contents:!!a.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=i.collectionFromPath(this.schema,[e],t):d(this.contents)&&this.contents.set(e,t)}setIn(e,t){i.isEmptyPath(e)?this.contents=t:null==this.contents?this.contents=i.collectionFromPath(this.schema,Array.from(e),t):d(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new p.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new p.Directives({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new l.Schema(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){let s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},l=o.toJS(this.contents,t??"",s);if("function"==typeof i)for(let{count:e,res:t}of s.anchors.values())i(t,e);return"function"==typeof a?h.applyReviver(a,{"":l},"",l):l}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return c.stringifyDocument(this,e)}}},43675,(e,t,n)=>{"use strict";class r extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}n.YAMLError=r,n.YAMLParseError=class extends r{constructor(e,t,n){super("YAMLParseError",e,t,n)}},n.YAMLWarning=class extends r{constructor(e,t,n){super("YAMLWarning",e,t,n)}},n.prettifyError=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(a>=60&&s.length>80){let e=Math.min(a-39,s.length-79);s="…"+s.substring(e),a-=e-1}if(s.length>80&&(s=s.substring(0,79)+"…"),r>1&&/^ *$/.test(s.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),s=n+s}if(/[^ ]/.test(s)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let o=" ".repeat(a)+"^".repeat(e);n.message+=`:
|
|
74
|
+
${t.comment}`:s.comment}s=e}e.items[n]=r.isPair(s)?s:new i.Pair(s)}}else t("Expected a sequence for this tag");return e}function l(e,t,n){let{replacer:r}=n,a=new s.YAMLSeq(e);a.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let s,l;if("function"==typeof r&&(e=r.call(t,String(o++),e)),Array.isArray(e))if(2===e.length)s=e[0],l=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)l=e[s=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else s=e;a.items.push(i.createPair(s,l,n))}return a}n.createPairs=l,n.pairs={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:o,createNode:l},n.resolvePairs=o},25428,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(57049),a=e.r(75212),s=e.r(98600),o=e.r(23784);class l extends s.YAMLSeq{constructor(){super(),this.add=a.YAMLMap.prototype.add.bind(this),this.delete=a.YAMLMap.prototype.delete.bind(this),this.get=a.YAMLMap.prototype.get.bind(this),this.has=a.YAMLMap.prototype.has.bind(this),this.set=a.YAMLMap.prototype.set.bind(this),this.tag=l.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let a,s;if(r.isPair(e)?(a=i.toJS(e.key,"",t),s=i.toJS(e.value,a,t)):a=i.toJS(e,"",t),n.has(a))throw Error("Ordered maps must not include duplicate keys");n.set(a,s)}return n}static from(e,t,n){let r=o.createPairs(e,t,n),i=new this;return i.items=r.items,i}}l.tag="tag:yaml.org,2002:omap",n.YAMLOMap=l,n.omap={collection:"seq",identify:e=>e instanceof Map,nodeClass:l,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=o.resolvePairs(e,t),i=[];for(let{key:e}of n.items)r.isScalar(e)&&(i.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):i.push(e.value));return Object.assign(new l,n)},createNode:(e,t,n)=>l.from(e,t,n)}},10922,(e,t,n)=>{"use strict";var r=e.r(45942);function i({value:e,source:t},n){let r=e?a:s;return t&&r.test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let a={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new r.Scalar(!0),stringify:i},s={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new r.Scalar(!1),stringify:i};n.falseTag=s,n.trueTag=a},98260,(e,t,n)=>{"use strict";var r=e.r(45942),i=e.r(86228);let a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:i.stringifyNumber};n.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new r.Scalar(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:i.stringifyNumber},n.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():i.stringifyNumber(e)}},n.floatNaN=a},4484,(e,t,n)=>{"use strict";var r=e.r(86228);let i=e=>"bigint"==typeof e||Number.isInteger(e);function a(e,t,n,{intAsBigInt:r}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===i?-1*s:s}function s(e,t,n){let{value:a}=e;if(i(a)){let e=a.toString(t);return a<0?"-"+n+e.substr(1):n+e}return r.stringifyNumber(e)}n.int={identify:i,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>a(e,0,10,n),stringify:r.stringifyNumber},n.intBin={identify:i,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>a(e,2,2,n),stringify:e=>s(e,2,"0b")},n.intHex={identify:i,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>a(e,2,16,n),stringify:e=>s(e,16,"0x")},n.intOct={identify:i,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>a(e,1,8,n),stringify:e=>s(e,8,"0")}},57909,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(34165),a=e.r(75212);class s extends a.YAMLMap{constructor(e){super(e),this.tag=s.tag}add(e){let t;t=r.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new i.Pair(e.key,null):new i.Pair(e,null),a.findPair(this.items,t.key)||this.items.push(t)}get(e,t){let n=a.findPair(this.items,e);return!t&&r.isPair(n)?r.isScalar(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=a.findPair(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new i.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),a.items.push(i.createPair(e,null,n));return a}}s.tag="tag:yaml.org,2002:set",n.YAMLSet=s,n.set={collection:"map",identify:e=>e instanceof Set,nodeClass:s,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>s.from(e,t,n),resolve(e,t){if(r.isMap(e))if(e.hasAllNullValues(!0))return Object.assign(new s,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}}},1243,(e,t,n)=>{"use strict";var r=e.r(86228);function i(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===n?i(-1)*a:a}function a(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return r.stringifyNumber(e);let i="";t<0&&(i="-",t*=n(-1));let a=n(60),s=[t%a];return t<60?s.unshift(0):(t=(t-s[0])/a,s.unshift(t%a),t>=60&&(t=(t-s[0])/a,s.unshift(t))),i+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let s={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(s.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,a,o,l,c]=t.map(Number),u=Date.UTC(n,r-1,a,o||0,l||0,c||0,t[7]?Number((t[7]+"00").substr(1,3)):0),h=t[8];if(h&&"Z"!==h){let e=i(h,!1);30>Math.abs(e)&&(e*=60),u-=6e4*e}return new Date(u)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};n.floatTime={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>i(e,!1),stringify:a},n.intTime={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>i(e,n),stringify:a},n.timestamp=s},61298,(e,t,n)=>{"use strict";var r=e.r(60752),i=e.r(98469),a=e.r(85726),s=e.r(92951),o=e.r(16125),l=e.r(10922),c=e.r(98260),u=e.r(4484),h=e.r(9382),f=e.r(25428),p=e.r(23784),d=e.r(57909),m=e.r(1243);n.schema=[r.map,a.seq,s.string,i.nullTag,l.trueTag,l.falseTag,u.intBin,u.intOct,u.int,u.intHex,c.floatNaN,c.floatExp,c.float,o.binary,h.merge,f.omap,p.pairs,d.set,m.intTime,m.floatTime,m.timestamp]},37052,(e,t,n)=>{"use strict";var r=e.r(60752),i=e.r(98469),a=e.r(85726),s=e.r(92951),o=e.r(51216),l=e.r(80790),c=e.r(93469),u=e.r(8820),h=e.r(17052),f=e.r(16125),p=e.r(9382),d=e.r(25428),m=e.r(23784),g=e.r(61298),E=e.r(57909),y=e.r(1243);let S=new Map([["core",u.schema],["failsafe",[r.map,a.seq,s.string]],["json",h.schema],["yaml11",g.schema],["yaml-1.1",g.schema]]),L={binary:f.binary,bool:o.boolTag,float:l.float,floatExp:l.floatExp,floatNaN:l.floatNaN,floatTime:y.floatTime,int:c.int,intHex:c.intHex,intOct:c.intOct,intTime:y.intTime,map:r.map,merge:p.merge,null:i.nullTag,omap:d.omap,pairs:m.pairs,seq:a.seq,set:E.set,timestamp:y.timestamp};n.coreKnownTags={"tag:yaml.org,2002:binary":f.binary,"tag:yaml.org,2002:merge":p.merge,"tag:yaml.org,2002:omap":d.omap,"tag:yaml.org,2002:pairs":m.pairs,"tag:yaml.org,2002:set":E.set,"tag:yaml.org,2002:timestamp":y.timestamp},n.getTags=function(e,t,n){let r=S.get(t);if(r&&!e)return n&&!r.includes(p.merge)?r.concat(p.merge):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(S.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else"function"==typeof e&&(i=e(i.slice()));return n&&(i=i.concat(p.merge)),i.reduce((e,t)=>{let n="string"==typeof t?L[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(L).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}},94637,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(60752),a=e.r(85726),s=e.r(92951),o=e.r(37052);let l=(e,t)=>e.key<t.key?-1:+(e.key>t.key);n.Schema=class e{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:c,schema:u,sortMapEntries:h,toStringDefaults:f}){this.compat=Array.isArray(e)?o.getTags(e,"compat"):e?o.getTags(null,e):null,this.name="string"==typeof u&&u||"core",this.knownTags=c?o.coreKnownTags:{},this.tags=o.getTags(t,this.name,n),this.toStringOptions=f??null,Object.defineProperty(this,r.MAP,{value:i.map}),Object.defineProperty(this,r.SCALAR,{value:s.string}),Object.defineProperty(this,r.SEQ,{value:a.seq}),this.sortMapEntries="function"==typeof h?h:!0===h?l:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}},97720,(e,t,n)=>{"use strict";var r=e.r(62004),i=e.r(84100),a=e.r(36803);n.stringifyDocument=function(e,t){let n=[],s=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),s=!0):e.directives.docStart&&(s=!0)}s&&n.push("---");let o=i.createStringifyContext(e,t),{commentString:l}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=l(e.commentBefore);n.unshift(a.indentComment(t,""))}let c=!1,u=null;if(e.contents){if(r.isNode(e.contents)){if(e.contents.spaceBefore&&s&&n.push(""),e.contents.commentBefore){let t=l(e.contents.commentBefore);n.push(a.indentComment(t,""))}o.forceBlockIndent=!!e.comment,u=e.contents.comment}let t=u?void 0:()=>c=!0,h=i.stringify(e.contents,o,()=>u=null,t);u&&(h+=a.lineComment(h,"",l(u))),("|"===h[0]||">"===h[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${h}`:n.push(h)}else n.push(i.stringify(e.contents,o));if(e.directives?.docEnd)if(e.comment){let t=l(e.comment);t.includes("\n")?(n.push("..."),n.push(a.indentComment(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&c&&(t=t.replace(/^\n+/,"")),t&&((!c||u)&&""!==n[n.length-1]&&n.push(""),n.push(a.indentComment(l(t),"")))}return n.join("\n")+"\n"}},35226,(e,t,n)=>{"use strict";var r=e.r(78862),i=e.r(26634),a=e.r(62004),s=e.r(34165),o=e.r(57049),l=e.r(94637),c=e.r(97720),u=e.r(97943),h=e.r(53418),f=e.r(12270),p=e.r(43474);function d(e){if(a.isCollection(e))return!0;throw Error("Expected a YAML collection as document contents")}n.Document=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,a.NODE_TYPE,{value:a.DOC});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=i;let{version:s}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new p.Directives({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let t=Object.create(e.prototype,{[a.NODE_TYPE]:{value:a.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=a.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){d(this.contents)&&this.contents.add(e)}addIn(e,t){d(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=u.anchorNames(this);e.anchor=!t||n.has(t)?u.findNewAnchor(t||"a",n):t}return new r.Alias(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:s,flow:o,keepUndefined:l,onTagObj:c,tag:h}=n??{},{onAnchor:p,setAnchors:d,sourceObjects:m}=u.createNodeAnchors(this,s||"a"),g={aliasDuplicateObjects:i??!0,keepUndefined:l??!1,onAnchor:p,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:m},E=f.createNode(e,h,g);return o&&a.isCollection(E)&&(E.flow=!0),d(),E}createPair(e,t,n={}){let r=this.createNode(e,null,n),i=this.createNode(t,null,n);return new s.Pair(r,i)}delete(e){return!!d(this.contents)&&this.contents.delete(e)}deleteIn(e){return i.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!d(this.contents)&&this.contents.deleteIn(e)}get(e,t){return a.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return i.isEmptyPath(e)?!t&&a.isScalar(this.contents)?this.contents.value:this.contents:a.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!a.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return i.isEmptyPath(e)?void 0!==this.contents:!!a.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=i.collectionFromPath(this.schema,[e],t):d(this.contents)&&this.contents.set(e,t)}setIn(e,t){i.isEmptyPath(e)?this.contents=t:null==this.contents?this.contents=i.collectionFromPath(this.schema,Array.from(e),t):d(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new p.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new p.Directives({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new l.Schema(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){let s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},l=o.toJS(this.contents,t??"",s);if("function"==typeof i)for(let{count:e,res:t}of s.anchors.values())i(t,e);return"function"==typeof a?h.applyReviver(a,{"":l},"",l):l}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return c.stringifyDocument(this,e)}}},43675,(e,t,n)=>{"use strict";class r extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}n.YAMLError=r,n.YAMLParseError=class extends r{constructor(e,t,n){super("YAMLParseError",e,t,n)}},n.YAMLWarning=class extends r{constructor(e,t,n){super("YAMLWarning",e,t,n)}},n.prettifyError=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(a>=60&&s.length>80){let e=Math.min(a-39,s.length-79);s="…"+s.substring(e),a-=e-1}if(s.length>80&&(s=s.substring(0,79)+"…"),r>1&&/^ *$/.test(s.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),s=n+s}if(/[^ ]/.test(s)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let o=" ".repeat(a)+"^".repeat(e);n.message+=`:
|
|
75
75
|
|
|
76
76
|
${s}
|
|
77
77
|
${o}
|