@lokascript/compilation-service 2.9.4 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/http.cjs CHANGED
@@ -2334,6 +2334,37 @@ function parseTakeCommand(ctx, identifierNode) {
2334
2334
  }
2335
2335
  return CommandNodeBuilder.fromIdentifier(identifierNode).withArgs(...args).withModifiers(modifiers).endingAt(ctx.getPosition()).build();
2336
2336
  }
2337
+ function consumeViewTransitionTail(ctx, args) {
2338
+ if (!ctx.check("using")) {
2339
+ return false;
2340
+ }
2341
+ ctx.advance();
2342
+ if (!ctx.match("view")) {
2343
+ throw new Error("expected 'view transition' after 'using'");
2344
+ }
2345
+ if (!ctx.match("transition")) {
2346
+ throw new Error("expected 'transition' after 'using view'");
2347
+ }
2348
+ args.push(ctx.createIdentifier("using"));
2349
+ args.push(ctx.createIdentifier("view"));
2350
+ args.push(ctx.createIdentifier("transition"));
2351
+ return true;
2352
+ }
2353
+ function parseProcessCommand(ctx, identifierNode) {
2354
+ if (!ctx.check("partials")) {
2355
+ return null;
2356
+ }
2357
+ const args = [];
2358
+ consumeKeywordToArgs(ctx, "partials", args);
2359
+ if (consumeKeywordToArgs(ctx, KEYWORDS$1.IN, args)) {
2360
+ const contentArg = parseOneArgument(ctx, ["using"]);
2361
+ if (contentArg) {
2362
+ args.push(contentArg);
2363
+ }
2364
+ }
2365
+ consumeViewTransitionTail(ctx, args);
2366
+ return CommandNodeBuilder.fromIdentifier(identifierNode).withArgs(...args).endingAt(ctx.getPosition()).build();
2367
+ }
2337
2368
  function parseAddCommand(ctx, commandToken) {
2338
2369
  const args = [];
2339
2370
  if (ctx.match("{")) {
@@ -2432,6 +2463,7 @@ function parseSwapCommand(ctx, identifierNode) {
2432
2463
  args.push(contentExpr);
2433
2464
  }
2434
2465
  }
2466
+ consumeViewTransitionTail(ctx, args);
2435
2467
  return CommandNodeBuilder.fromIdentifier(identifierNode).withArgs(...args).endingAt(ctx.getPosition()).build();
2436
2468
  }
2437
2469
  function parseWaitCommand(ctx, commandToken) {
@@ -2875,6 +2907,8 @@ function parseCompoundCommand(ctx, identifierNode) {
2875
2907
  case "swap":
2876
2908
  case "morph":
2877
2909
  return parseSwapCommand(ctx, identifierNode);
2910
+ case "process":
2911
+ return parseProcessCommand(ctx, identifierNode) ?? parseRegularCommand(ctx, identifierNode);
2878
2912
  default:
2879
2913
  return parseRegularCommand(ctx, identifierNode);
2880
2914
  }
@@ -3186,6 +3220,9 @@ function parseTellCommand(ctx, identifierNode) {
3186
3220
  if (!target) {
3187
3221
  throw new Error("tell command requires a target expression");
3188
3222
  }
3223
+ if (ctx.check(KEYWORDS$1.TO)) {
3224
+ ctx.advance();
3225
+ }
3189
3226
  const commands = [];
3190
3227
  while (!ctx.isAtEnd()) {
3191
3228
  if (ctx.checkIsCommand()) {
@@ -3203,7 +3240,11 @@ function parseTellCommand(ctx, identifierNode) {
3203
3240
  if (ctx.match(KEYWORDS$1.AND) || ctx.match(KEYWORDS$1.THEN)) {
3204
3241
  continue;
3205
3242
  }
3206
- if (ctx.check(KEYWORDS$1.ELSE) || ctx.check(KEYWORDS$1.END)) {
3243
+ if (ctx.check(KEYWORDS$1.ELSE)) {
3244
+ break;
3245
+ }
3246
+ if (ctx.check(KEYWORDS$1.END)) {
3247
+ ctx.advance();
3207
3248
  break;
3208
3249
  }
3209
3250
  if (ctx.checkIsCommand()) {
@@ -6028,7 +6069,7 @@ function command(config2) {
6028
6069
  };
6029
6070
  }
6030
6071
  function commandMeta(metadata) {
6031
- return { isBlocking: false, hasBody: false, version: "1.0.0", ...metadata };
6072
+ return { ...metadata };
6032
6073
  }
6033
6074
  function createFactory(CommandClass) {
6034
6075
  return () => new CommandClass();
@@ -13236,6 +13277,43 @@ function getPatternsForLanguage(code) {
13236
13277
  function getPatternsForLanguageAndCommand(language, command2) {
13237
13278
  return getPatternsForLanguage(language).filter((p) => p.command === command2).sort((a, b) => b.priority - a.priority);
13238
13279
  }
13280
+ function resolveMarkerForRole(roleSpec, profile) {
13281
+ const overrideMarker = roleSpec.markerOverride?.[profile.code];
13282
+ const defaultMarker = profile.roleMarkers[roleSpec.role];
13283
+ if (overrideMarker !== void 0) {
13284
+ const alternatives = legacyMarkerAlternatives(roleSpec, profile.code, overrideMarker);
13285
+ return {
13286
+ primary: overrideMarker,
13287
+ ...alternatives && { alternatives },
13288
+ position: defaultMarker?.position ?? "before",
13289
+ isOverride: true
13290
+ };
13291
+ }
13292
+ if (defaultMarker && defaultMarker.primary) {
13293
+ const result = {
13294
+ primary: defaultMarker.primary,
13295
+ position: defaultMarker.position,
13296
+ isOverride: false
13297
+ };
13298
+ if (defaultMarker.alternatives) {
13299
+ result.alternatives = defaultMarker.alternatives;
13300
+ }
13301
+ return result;
13302
+ }
13303
+ return null;
13304
+ }
13305
+ function legacyMarkerAlternatives(roleSpec, languageCode, overrideMarker) {
13306
+ const legacy = roleSpec.markerLegacy?.[languageCode];
13307
+ if (!legacy?.length) return void 0;
13308
+ const alternatives = [...new Set(legacy)].filter((a) => a && a !== overrideMarker);
13309
+ return alternatives.length ? alternatives : void 0;
13310
+ }
13311
+ function schemaMarkerAlternatives(roleSpec, languageCode, marker) {
13312
+ const legacy = roleSpec.markerLegacy?.[languageCode] ?? [];
13313
+ const variants = roleSpec.methodCarrier ? [] : roleSpec.markerVariants?.[languageCode] ?? [];
13314
+ const alternatives = [.../* @__PURE__ */ new Set([...legacy, ...variants])].filter((a) => a && a !== marker);
13315
+ return alternatives.length ? alternatives : void 0;
13316
+ }
13239
13317
  function getPutPatternsBn() {
13240
13318
  return [
13241
13319
  // SOV verb-final positional put: `{patient} <posWord> {destination} \u0995\u09c7 \u09b0\u09be\u0996\u09c1\u09a8`
@@ -16819,43 +16897,6 @@ function sortRolesByWordOrder(roles, wordOrder) {
16819
16897
  return aPos - bPos;
16820
16898
  });
16821
16899
  }
16822
- function resolveMarkerForRole(roleSpec, profile) {
16823
- const overrideMarker = roleSpec.markerOverride?.[profile.code];
16824
- const defaultMarker = profile.roleMarkers[roleSpec.role];
16825
- if (overrideMarker !== void 0) {
16826
- const alternatives = legacyMarkerAlternatives(roleSpec, profile.code, overrideMarker);
16827
- return {
16828
- primary: overrideMarker,
16829
- ...alternatives && { alternatives },
16830
- position: defaultMarker?.position ?? "before",
16831
- isOverride: true
16832
- };
16833
- }
16834
- if (defaultMarker && defaultMarker.primary) {
16835
- const result = {
16836
- primary: defaultMarker.primary,
16837
- position: defaultMarker.position,
16838
- isOverride: false
16839
- };
16840
- if (defaultMarker.alternatives) {
16841
- result.alternatives = defaultMarker.alternatives;
16842
- }
16843
- return result;
16844
- }
16845
- return null;
16846
- }
16847
- function legacyMarkerAlternatives(roleSpec, languageCode, overrideMarker) {
16848
- const legacy = roleSpec.markerLegacy?.[languageCode];
16849
- if (!legacy?.length) return void 0;
16850
- const alternatives = [...new Set(legacy)].filter((a) => a && a !== overrideMarker);
16851
- return alternatives.length ? alternatives : void 0;
16852
- }
16853
- function schemaMarkerAlternatives(roleSpec, languageCode, marker) {
16854
- const legacy = roleSpec.markerLegacy?.[languageCode] ?? [];
16855
- const variants = roleSpec.methodCarrier ? [] : roleSpec.markerVariants?.[languageCode] ?? [];
16856
- const alternatives = [.../* @__PURE__ */ new Set([...legacy, ...variants])].filter((a) => a && a !== marker);
16857
- return alternatives.length ? alternatives : void 0;
16858
- }
16859
16900
  function resolveRoleMarker(roleSpec, profile) {
16860
16901
  let marker;
16861
16902
  let alternatives;
@@ -16888,6 +16929,43 @@ function appendOptionalScope(tokens, extraction, commandSchema) {
16888
16929
  });
16889
16930
  extraction.scope = { fromRole: "scope" };
16890
16931
  }
16932
+ function appendOptionalViewTransition(tokens, extraction, commandSchema, languageCode) {
16933
+ appendOptionalTailRole(tokens, extraction, commandSchema, languageCode, "manner", {
16934
+ requireMarker: true
16935
+ });
16936
+ }
16937
+ function appendOptionalRecipient(tokens, extraction, commandSchema, languageCode) {
16938
+ appendOptionalTailRole(tokens, extraction, commandSchema, languageCode, "recipient", {
16939
+ requireMarker: false
16940
+ });
16941
+ }
16942
+ function appendOptionalTailRole(tokens, extraction, commandSchema, languageCode, role, opts) {
16943
+ const spec = commandSchema.roles.find((r) => r.role === role && !r.required);
16944
+ if (!spec) return;
16945
+ const marker = spec.markerOverride?.[languageCode];
16946
+ if (opts.requireMarker && !marker) return;
16947
+ tokens.push({
16948
+ type: "group",
16949
+ optional: true,
16950
+ tokens: [
16951
+ ...(marker ? marker.split(/\s+/) : []).map(
16952
+ (word) => ({ type: "literal", value: word })
16953
+ ),
16954
+ {
16955
+ type: "role",
16956
+ role,
16957
+ optional: true,
16958
+ expectedTypes: spec.expectedTypes,
16959
+ // Load-bearing, same as on the generated command patterns: it exempts
16960
+ // the trailing slot from the matcher's verb guard, keeps the uncaptured
16961
+ // slot out of `scoreRoleCoverage`'s denominator, and (for `keyword`)
16962
+ // normalizes the captured value type to the EN reference's `literal`.
16963
+ ...spec.valueShape !== void 0 ? { valueShape: spec.valueShape } : {}
16964
+ }
16965
+ ]
16966
+ });
16967
+ extraction[role] = { fromRole: role };
16968
+ }
16891
16969
  function generateSOVEventHandlerPattern(commandSchema, profile, keyword, eventMarker, config2) {
16892
16970
  const tokens = [];
16893
16971
  tokens.push({ type: "role", role: "event", optional: false });
@@ -16982,6 +17060,15 @@ function generateSOVPatientFirstEventHandlerPattern(commandSchema, profile, keyw
16982
17060
  tokens.push(
16983
17061
  ...swapsOperands ? eventHandlerPatientGroup(commandSchema, trailingMarker) : eventHandlerDestinationGroup(commandSchema, trailingMarker)
16984
17062
  );
17063
+ const extraction = {
17064
+ action: { value: commandSchema.action },
17065
+ event: { fromRole: "event" },
17066
+ [frontedRole]: { fromRole: frontedRole },
17067
+ ...swapsOperands ? {} : eventHandlerDestinationExtraction(commandSchema),
17068
+ ...eventHandlerSourceExtraction(commandSchema)
17069
+ };
17070
+ appendOptionalRecipient(tokens, extraction, commandSchema, profile.code);
17071
+ appendOptionalViewTransition(tokens, extraction, commandSchema, profile.code);
16985
17072
  return {
16986
17073
  id: `${commandSchema.action}-event-${profile.code}-sov-patient-first`,
16987
17074
  language: profile.code,
@@ -16991,13 +17078,7 @@ function generateSOVPatientFirstEventHandlerPattern(commandSchema, profile, keyw
16991
17078
  format: `{patient} ${patientMarker?.primary || ""} {event} ${eventMarker.primary} ${keyword.primary}`,
16992
17079
  tokens
16993
17080
  },
16994
- extraction: {
16995
- action: { value: commandSchema.action },
16996
- event: { fromRole: "event" },
16997
- [frontedRole]: { fromRole: frontedRole },
16998
- ...swapsOperands ? {} : eventHandlerDestinationExtraction(commandSchema),
16999
- ...eventHandlerSourceExtraction(commandSchema)
17000
- }
17081
+ extraction
17001
17082
  };
17002
17083
  }
17003
17084
  function generateSOVPatientFirstWithDestEventHandlerPattern(commandSchema, profile, keyword, eventMarker, config2) {
@@ -17431,6 +17512,16 @@ function generateVSOVerbFirstEventHandlerPattern(commandSchema, profile, keyword
17431
17512
  });
17432
17513
  }
17433
17514
  }
17515
+ const extraction = {
17516
+ action: { value: commandSchema.action },
17517
+ event: { fromRole: "event" },
17518
+ [swapsOperands ? "destination" : "patient"]: {
17519
+ fromRole: swapsOperands ? "destination" : "patient"
17520
+ },
17521
+ ...swapsOperands ? {} : eventHandlerDestinationExtraction(commandSchema),
17522
+ ...eventHandlerSourceExtraction(commandSchema)
17523
+ };
17524
+ appendOptionalViewTransition(tokens, extraction, commandSchema, profile.code);
17434
17525
  return {
17435
17526
  id: `${commandSchema.action}-event-${profile.code}-vso-verb-first`,
17436
17527
  language: profile.code,
@@ -17441,15 +17532,7 @@ function generateVSOVerbFirstEventHandlerPattern(commandSchema, profile, keyword
17441
17532
  format: `${keyword.primary} {patient} ${destMarker?.primary || ""} {destination?} ${eventMarker.primary} {event}`,
17442
17533
  tokens
17443
17534
  },
17444
- extraction: {
17445
- action: { value: commandSchema.action },
17446
- event: { fromRole: "event" },
17447
- [swapsOperands ? "destination" : "patient"]: {
17448
- fromRole: swapsOperands ? "destination" : "patient"
17449
- },
17450
- ...swapsOperands ? {} : eventHandlerDestinationExtraction(commandSchema),
17451
- ...eventHandlerSourceExtraction(commandSchema)
17452
- }
17535
+ extraction
17453
17536
  };
17454
17537
  }
17455
17538
  function generateVSOVerbFirstTwoRoleEventHandlerPattern(commandSchema, profile, keyword, eventMarker, config2) {
@@ -18042,7 +18125,11 @@ function buildRoleToken(roleSpec, profile) {
18042
18125
  type: "role",
18043
18126
  role: roleSpec.role,
18044
18127
  optional: !roleSpec.required,
18045
- expectedTypes: roleSpec.expectedTypes
18128
+ expectedTypes: roleSpec.expectedTypes,
18129
+ // The matcher reads this too \u2014 a `'keyword'`-shaped slot holds a fixed
18130
+ // keyword phrase (`using view transition`) and must not be skipped by the
18131
+ // trailing-slot verb guard.
18132
+ ...roleSpec.valueShape !== void 0 ? { valueShape: roleSpec.valueShape } : {}
18046
18133
  };
18047
18134
  const prefixLiteral = roleSpec.valuePrefixLiteral?.[profile.code];
18048
18135
  const pushPrefixed = () => {
@@ -24632,7 +24719,7 @@ function getGetPatternsBn() {
24632
24719
  tokens: [
24633
24720
  { type: "role", role: "source" },
24634
24721
  { type: "literal", value: "\u09A5\u09C7\u0995\u09C7" },
24635
- { type: "literal", value: "\u09AA\u09BE\u09A8", alternatives: ["\u09A8\u09BF\u09A8"] }
24722
+ { type: "literal", value: "\u09AA\u09BE\u09A8" }
24636
24723
  ]
24637
24724
  },
24638
24725
  extraction: {
@@ -24648,7 +24735,7 @@ function getGetPatternsBn() {
24648
24735
  template: {
24649
24736
  format: "\u09AA\u09BE\u09A8 {source}",
24650
24737
  tokens: [
24651
- { type: "literal", value: "\u09AA\u09BE\u09A8", alternatives: ["\u09A8\u09BF\u09A8"] },
24738
+ { type: "literal", value: "\u09AA\u09BE\u09A8" },
24652
24739
  { type: "role", role: "source" }
24653
24740
  ]
24654
24741
  },
@@ -24732,7 +24819,7 @@ function getGetPatternsIt() {
24732
24819
  template: {
24733
24820
  format: "ottenere {patient} da {source}",
24734
24821
  tokens: [
24735
- { type: "literal", value: "ottenere", alternatives: ["ottieni", "get", "prendere"] },
24822
+ { type: "literal", value: "ottenere", alternatives: ["ottieni", "get"] },
24736
24823
  { type: "role", role: "patient" },
24737
24824
  {
24738
24825
  type: "group",
@@ -24822,7 +24909,7 @@ function getGetPatternsRu() {
24822
24909
  template: {
24823
24910
  format: "\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C {patient} \u0438\u0437 {source}",
24824
24911
  tokens: [
24825
- { type: "literal", value: "\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C", alternatives: ["\u043F\u043E\u043B\u0443\u0447\u0438", "\u0432\u0437\u044F\u0442\u044C", "\u0432\u043E\u0437\u044C\u043C\u0438"] },
24912
+ { type: "literal", value: "\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C", alternatives: ["\u043F\u043E\u043B\u0443\u0447\u0438"] },
24826
24913
  { type: "role", role: "patient" },
24827
24914
  {
24828
24915
  type: "group",
@@ -24847,7 +24934,7 @@ function getGetPatternsRu() {
24847
24934
  template: {
24848
24935
  format: "\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C {patient}",
24849
24936
  tokens: [
24850
- { type: "literal", value: "\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C", alternatives: ["\u043F\u043E\u043B\u0443\u0447\u0438", "\u0432\u0437\u044F\u0442\u044C", "\u0432\u043E\u0437\u044C\u043C\u0438"] },
24937
+ { type: "literal", value: "\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C", alternatives: ["\u043F\u043E\u043B\u0443\u0447\u0438"] },
24851
24938
  { type: "role", role: "patient" }
24852
24939
  ]
24853
24940
  },
@@ -24888,7 +24975,7 @@ function getGetPatternsUk() {
24888
24975
  template: {
24889
24976
  format: "\u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 {patient} \u0437 {source}",
24890
24977
  tokens: [
24891
- { type: "literal", value: "\u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438", alternatives: ["\u043E\u0442\u0440\u0438\u043C\u0430\u0439", "\u0432\u0437\u044F\u0442\u0438", "\u0432\u0456\u0437\u044C\u043C\u0438"] },
24978
+ { type: "literal", value: "\u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438", alternatives: ["\u043E\u0442\u0440\u0438\u043C\u0430\u0439"] },
24892
24979
  { type: "role", role: "patient" },
24893
24980
  {
24894
24981
  type: "group",
@@ -24913,7 +25000,7 @@ function getGetPatternsUk() {
24913
25000
  template: {
24914
25001
  format: "\u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 {patient}",
24915
25002
  tokens: [
24916
- { type: "literal", value: "\u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438", alternatives: ["\u043E\u0442\u0440\u0438\u043C\u0430\u0439", "\u0432\u0437\u044F\u0442\u0438", "\u0432\u0456\u0437\u044C\u043C\u0438"] },
25003
+ { type: "literal", value: "\u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438", alternatives: ["\u043E\u0442\u0440\u0438\u043C\u0430\u0439"] },
24917
25004
  { type: "role", role: "patient" }
24918
25005
  ]
24919
25006
  },
@@ -24933,7 +25020,7 @@ function getGetPatternsVi() {
24933
25020
  template: {
24934
25021
  format: "l\u1EA5y gi\xE1 tr\u1ECB c\u1EE7a {target}",
24935
25022
  tokens: [
24936
- { type: "literal", value: "l\u1EA5y gi\xE1 tr\u1ECB", alternatives: ["nh\u1EADn", "l\u1EA5y"] },
25023
+ { type: "literal", value: "l\u1EA5y gi\xE1 tr\u1ECB", alternatives: ["nh\u1EADn"] },
24937
25024
  { type: "group", optional: true, tokens: [{ type: "literal", value: "c\u1EE7a" }] },
24938
25025
  { type: "role", role: "patient" }
24939
25026
  ]
@@ -24944,13 +25031,17 @@ function getGetPatternsVi() {
24944
25031
  },
24945
25032
  {
24946
25033
  id: "get-vi-simple",
25034
+ // Head was `l\u1ea5y` (alt `l\u1ea5y gi\u00e1 tr\u1ecb`) \u2014 but bare `l\u1ea5y` is vi's TAKE verb,
25035
+ // so this pattern claimed every `l\u1ea5y .active t\u1eeb \u2026`. vi's get verb is the
25036
+ // three-word `l\u1ea5y gi\u00e1 tr\u1ecb` ("take the value of"), which is what the i18n
25037
+ // transformer renders; the bare form has no valid `get` surface.
24947
25038
  language: "vi",
24948
25039
  command: "get",
24949
25040
  priority: 90,
24950
25041
  template: {
24951
- format: "l\u1EA5y {target}",
25042
+ format: "l\u1EA5y gi\xE1 tr\u1ECB {target}",
24952
25043
  tokens: [
24953
- { type: "literal", value: "l\u1EA5y", alternatives: ["nh\u1EADn", "l\u1EA5y gi\xE1 tr\u1ECB"] },
25044
+ { type: "literal", value: "l\u1EA5y gi\xE1 tr\u1ECB", alternatives: ["nh\u1EADn"] },
24954
25045
  { type: "role", role: "patient" }
24955
25046
  ]
24956
25047
  },
@@ -26726,7 +26817,7 @@ function makePickVariantPattern(language, spec) {
26726
26817
  tokens
26727
26818
  },
26728
26819
  extraction: {
26729
- method: { position: 1 },
26820
+ method: { position: 1, transform: retypePickUnitWord },
26730
26821
  patient: { position: 2 },
26731
26822
  source: {
26732
26823
  marker: spec.srcMarker,
@@ -26758,7 +26849,7 @@ function makePickVerbFinalPattern(language, spec) {
26758
26849
  },
26759
26850
  extraction: {
26760
26851
  source: { position: 0 },
26761
- method: { position: 2 },
26852
+ method: { position: 2, transform: retypePickUnitWord },
26762
26853
  patient: { position: 3 }
26763
26854
  }
26764
26855
  };
@@ -29384,7 +29475,7 @@ async function semanticNodeToRuntimeAST(node) {
29384
29475
  const fw = await getFramework();
29385
29476
  return fw.semanticNodeToRuntimeAST(node);
29386
29477
  }
29387
- var COMMAND_NAMES, COMMAND_MANIFEST, KEYWORDS$1, COMMAND_TERMINATORS, COMMANDS, COMPOUND_COMMANDS, CONTROL_FLOW_COMMANDS, PUT_OPERATIONS, PUT_OPERATION_KEYWORDS, HYPERSCRIPT_KEYWORDS, CommandClassification, CSS_FUNCTIONS, CONTEXT_VARS$1, LOGICAL_OPERATORS$1, COMPARISON_OPERATORS, DOM_EVENTS, TOKENIZER_KEYWORDS, TokenKind, MATHEMATICAL_OPERATORS, TIME_UNITS$1, isDebugEnabled$1, DEBUG, debug, debugEnabled, debugEventTarget, stats, DEFAULT_CONFIDENCE_THRESHOLD$1, SemanticIntegrationAdapter, STOP_TOKENS, STOP_DELIMITERS, CORE_FRAGMENT, PARSER_COMPARISON_FRAGMENT, ASSIGNMENT_FRAGMENT, PARSER_TABLE, FEATURE_REGISTRY, NODE_EVALUATORS, NODE_WRITERS, GLOBAL_WRITE_HOOKS, GLOBAL_READ_HOOKS, LOCAL_WRITE_HOOKS, LOCAL_READ_HOOKS, ParserExtensionRegistry, SINGLETON, WINDOW_KEY, MULTI_WORD_PATTERNS, DEFAULT_BOUNDARY_KEYWORDS, CommandNodeBuilder, OPERAND_INTRODUCERS, CONTEXT_POSSESSIVES, SWAP_STRATEGY_KEYWORDS, ELEMENT_PRONOUNS, GO_KEYWORDS, URL_HARD_STOPS, STRING_POSTFIX_UNITS, STRING_POSTFIX_BP, Parser, HookRegistry, sharedGlobals, elementScopes, ExpressionTypeRegistry, expressionTypeRegistry, BOOLEAN_ATTRIBUTES, SPECIAL_DOM_PROPERTIES, NUMBER_WORDS, conversionConfig, defaultConversions, TYPE_ALIASES, asExpression, isExpression, asyncExpression, conversionExpressions, UNSAFE_PROPS, possessiveExpression, myExpression, itsExpression$1, yourExpression, ofExpression, attributeExpression, attributeWithValueExpression, classReferenceExpression, idReferenceExpression, propertiesExpressions, NotSyncEvaluable, cachedFullRegistry, RAW_ARG_BUILTINS, CSS_PSEUDO_CLASSES, PSEUDO_CLASS_COLON_RE, BARE_REF_ESCAPE_RE, QUERY_REF_INTERP_RE, CleanupRegistry, EventSourceRegistry, ContextProviderRegistry, canonicalEvaluator, ContextBridge, CommandAdapterV2, CommandRegistryV2, defaultRegistry, RegistryIntegration, eventRecursionDepth, RuntimeBase, meExpression, youExpression, itExpression, itsExpression, resultExpression, querySelectorExpression, querySelectorAllExpression, idExpression, classExpression, closestExpression, parentExpression, windowExpression, documentExpression, elementWithSelectorExpression, styleRefExpression, possessiveStyleRefExpression, ofStyleRefExpression, referencesExpressions, isProduction, skipValidation, addDescribeToValidator, v, z, LRUCache, HyperscriptCache, globalCache, PerformanceTracker, performanceTracker, cleanupInterval, ComparisonInputSchema, PatternMatchingInputSchema, equalsExpression, strictEqualsExpression, notEqualsExpression, strictNotEqualsExpression, lessThanExpression, lessThanOrEqualExpression, greaterThanExpression, greaterThanOrEqualExpression, andExpression, orExpression, notExpression, isEmptyExpression, noExpression, isNotEmptyExpression, existsExpression, doesNotExistExpression, containsExpression, doesNotContainExpression, startsWithExpression, endsWithExpression, betweenExpression, matchesExpression, hasExpression, doesNotHaveExpression, logicalExpressions, BaseExpressionImpl, StringLiteralInputSchema, NumberLiteralInputSchema, BooleanLiteralInputSchema, BinaryOperationInputSchema, StringLiteralExpression, NumberLiteralExpression, BooleanLiteralExpression, AdditionExpression$1, StringConcatenationExpression, MultiplicationExpression$1, specialExpressions, firstExpression, lastExpression, atExpression, nextExpression, previousExpression, DOCUMENT_POSITION_PRECEDING, DOCUMENT_POSITION_FOLLOWING, nextWithinExpression, previousWithinExpression, positionalExpressions, AdditionExpression2, SubtractionExpression, MultiplicationExpression2, DivisionExpression, ModuloExpression, PowerExpression, mathematicalExpressions, index$3, KEYWORD_PREPOSITIONS, VisibilityCommandBase, HideCommand, createHideCommand, ShowCommand, createShowCommand, SMART_ELEMENT_TAGS, DOMModificationBase, AddCommand, createAddCommand, positionMap, RemoveCommand, createRemoveCommand, PATTERN, BOOL_PROPS, ToggleCommand, createToggleCommand, PutCommand, createPutCommand, HTML_ESCAPE, MakeCommand, createMakeCommand, EmptyCommand, createEmptyCommand, OpenCommand, createOpenCommand, CloseCommand, createCloseCommand, SelectCommand, createSelectCommand, ResetCommand, createResetCommand, SUPPORTS_MOVE_BEFORE, ELEMENT_NODE_TYPE, TEXT_NODE_TYPE, IS_PARENT_NODE_TYPE, Operation, candidateNodes, candidateElements, candidateElementsWithIds, unmatchedNodes, unmatchedElements, whitespaceNodes, _idArrayMap, _idSetMap, _options, _Morph_instances, morphOneToMany_fn, morphOneToOne_fn, morphMatchingElements_fn, morphNonMatchingElements_fn, morphOtherNode_fn, visitAttributes_fn, visitTextArea_fn, replaceNode_fn, removeNode_fn, mapIdArraysForEach_fn, mapIdArrays_fn, mapIdSets_fn, Morph, morphAdapter, queue, processing, STRATEGY_KEYWORDS, SwapCommand, MorphCommand, createSwapCommand, createMorphCommand, CRITICAL_LAYOUT_ELEMENTS, STRUCTURAL_SEMANTIC_ELEMENTS, WARNING_ELEMENTS, DEFAULT_VALIDATION_CONFIG, globalConfig, STYLES, SEVERITY_ICONS, SEVERITY_LABELS, STRATEGY_MAP, ProcessPartialsCommand, createProcessPartialsCommand, WaitCommand, createWaitCommand, customResponseTypes, DEFAULT_FETCH_THROWS_ON, fetchThrowsOnPatterns, FetchCommand, createFetchCommand, SetCommand, createSetCommand, GetCommand, createGetCommand, NumericModifyCommand, createIncrementCommand, ClearCommand, createClearCommand, LogCommand, createLogCommand, EventDispatchCommand, createTriggerCommand, GoCommand, createGoCommand, KEYWORDS, HistoryCommand, createPushUrlCommand, ScrollCommand, createScrollCommand, ConditionalCommand, createConditionalCommand, createIfCommand, RepeatCommand, createRepeatCommand, ControlFlowSignalBase, BreakCommand, createBreakCommand, ContinueCommand, createContinueCommand, HaltCommand, createHaltCommand, ReturnCommand, createReturnCommand, ExitCommand, createExitCommand, ThrowCommand, createThrowCommand, CallCommand, createCallCommand, FocusCommand, createFocusCommand, BlurCommand, createBlurCommand, PseudoCommand, ContentInsertionCommand, AppendCommand, createAppendCommand, PrependCommand, createPrependCommand, TransitionCommand, createTransitionCommand, MeasureCommand, createMeasureCommand, SettleCommand, createSettleCommand, StartViewTransitionCommand, createStartViewTransitionCommand, TakeCommand, createTakeCommand, JsCommand, createJsCommand, AsyncCommand, createAsyncCommand, DefaultCommand, createDefaultCommand, TellCommand, createTellCommand, CopyCommand, createCopyCommand, PickCommand, createPickCommand, BeepCommand, createBeepCommand, BreakpointCommand, createBreakpointCommand, InstallCommand, RenderCommand, COMMAND_FACTORIES, Runtime, DEFAULT_REFERENCES, STRUCTURAL_ROLES, CHAIN_KEYWORDS, VERSION_HEADER_RE, VALID_KINDS, VALID_VALUE_TYPES$1, VALID_CHAIN_TYPES, VALID_ASYNC_VARIANTS, VALID_DIAGNOSTIC_LEVELS, DebugLogger, _PatternMatcher$1, PatternMatcher$1, patternMatcher$1, defaultConfig$1, GrammarTransformer, InMemoryDictionary, NullDictionary, InMemoryProfileProvider, NullProfileProvider, StringLiteralExtractor, NumberExtractor, IdentifierExtractor, UnicodeIdentifierExtractor, LatinExtendedIdentifierExtractor, SELECTOR_BODY_CHAR, PARTICLE_SCRIPT_CHAR, CssSelectorExtractor$1, WhitespaceExtractor, VALID_VALUE_TYPES, SCROLL_MARKERS, URL_MARKERS, PARTIALS_IN_MARKERS, DSLRegistry, MultilingualDSLImpl, DomainRegistry, COMMENT_PATTERN, CrossDomainDispatcher, DomainAwareScanner, AOTOrchestrator, TokenStreamImpl, DEFAULT_OPERATORS$1, OperatorExtractor$1, DEFAULT_PUNCTUATION$1, PunctuationExtractor$1, SIMPLE_TOKENIZER_OPERATOR_SET, MARKER_CONCEPT_NORMALIZEDS, ENGLISH_DOM_EVENT_NAMES, _BaseTokenizer, BaseTokenizer, BaseMorphologicalNormalizer, PatternTracker, MultiStatementParserImpl, index$2, __defProp2, __getOwnPropNames2, __esm2, __export2, SchemaErrorCodes, SchemaErrorMessages, SchemaErrorSuggestions, init_schema_error_codes, schema_validator_exports, MULTI_TYPE_PATIENT_COMMANDS, NO_REQUIRED_ROLES_COMMANDS, init_schema_validator, toggleSchema, addSchema, removeSchema, putSchema, setSchema, bindSchema, liveSchema, eventsourceSchema, socketSchema, workerSchema, interceptSchema, showSchema, hideSchema, onSchema, triggerSchema, waitSchema, fetchSchema, incrementSchema, decrementSchema, appendSchema, prependSchema, logSchema, getCommandSchema, takeSchema, makeSchema, haltSchema, settleSchema, throwSchema, sendSchema, ifSchema, unlessSchema, elseSchema, repeatSchema, forSchema, whileSchema, continueSchema, URL_MARKER_ALL_LANGS, goSchema, transitionSchema, cloneSchema, focusSchema, blurSchema, emptySchema, openSchema, closeSchema, selectSchema, clearSchema, resetSchema, breakpointSchema, callSchema, returnSchema, jsSchema, asyncSchema, tellSchema, defaultSchema, initSchema, behaviorSchema, installSchema, measureSchema, swapSchema, morphSchema, beepSchema, breakSchema, copySchema, exitSchema, pickSchema, scrollSchema, PARTIALS_IN_MARKER_ALL_LANGS, pushSchema, replaceSchema, processSchema, renderSchema, commandSchemas, init_command_schemas, tokenizers, profiles, patternCache, patternGenerator, registeredPatterns, init_registry, arabic_exports, arabicProfile, init_arabic, bengali_exports, bengaliProfile, init_bengali, german_exports, germanProfile, init_german, english_exports, englishProfile, init_english, spanish_exports, spanishProfile, init_spanish, french_exports, frenchProfile, init_french, he_exports, hebrewProfile, init_he, hindi_exports, hindiProfile, init_hindi, indonesian_exports, indonesianProfile, init_indonesian, italian_exports, italianProfile, init_italian, japanese_exports, japaneseProfile, init_japanese, korean_exports, koreanProfile, init_korean, ms_exports, malayProfile, init_ms, polish_exports, polishProfile, init_polish, portuguese_exports, portugueseProfile, init_portuguese, quechua_exports, quechuaProfile, init_quechua, russian_exports, russianProfile, init_russian, swahili_exports, swahiliProfile, init_swahili, thai_exports, thaiProfile, init_thai, tl_exports, tagalogProfile, init_tl, turkish_exports, turkishProfile, init_turkish, ukrainian_exports, ukrainianProfile, init_ukrainian, vietnamese_exports, vietnameseProfile, init_vietnamese, chinese_exports, chineseProfile, init_chinese, PUT_POSITIONAL, PUT_AT_END, init_put, init_token_utils, init_char_classifiers, init_base_tokenizer, init_base, DEFAULT_OPERATORS, OperatorExtractor2, DEFAULT_PUNCTUATION, PunctuationExtractor2, init_generic_extractors, CssSelectorExtractor2, init_css_selector, EventModifierExtractor, init_event_modifier, URL_PREFIXES, UrlExtractor, init_url, VariableRefExtractor, init_variable_ref, JapaneseKeywordExtractor, init_japanese_keyword, SINGLE_CHAR_PARTICLES, MULTI_CHAR_PARTICLES, JapaneseParticleExtractor, init_japanese_particle, TEMPORAL_EVENT_SUFFIXES, KoreanKeywordExtractor, init_korean_keyword, SINGLE_CHAR_PARTICLES2, MULTI_CHAR_PARTICLES2, KoreanParticleExtractor, init_korean_particle, ChineseKeywordExtractor, init_chinese_keyword, SINGLE_CHAR_PARTICLES3, MULTI_CHAR_PARTICLES3, ChineseParticleExtractor, init_chinese_particle, isVietnameseLetter, isVietnameseIdentifierChar, PREPOSITIONS, VietnameseKeywordExtractor, init_vietnamese_keyword, isArabic, PREPOSITIONS2, ArabicKeywordExtractor, init_arabic_keyword, isArabic2, PROCLITICS, NON_PROCLITIC_WORDS, ArabicProcliticExtractor, init_arabic_proclitic, isArabic3, TEMPORAL_MARKERS, ArabicTemporalExtractor, init_arabic_temporal, CyrillicKeywordExtractor, RUSSIAN_PREPOSITIONS, UKRAINIAN_PREPOSITIONS, init_cyrillic_keyword, HindiKeywordExtractor, init_hindi_keyword, SINGLE_POSTPOSITIONS, COMPOUND_POSTPOSITIONS, HindiParticleExtractor, init_hindi_particle, BengaliKeywordExtractor, init_bengali_keyword, SINGLE_POSTPOSITIONS2, BengaliParticleExtractor, init_bengali_particle, ThaiKeywordExtractor, init_thai_keyword, MalayKeywordExtractor, init_malay_keyword, PREPOSITIONS3, TagalogKeywordExtractor, init_tagalog_keyword, PREPOSITIONS4, isPolishLetter, isPolishIdentifierChar, PolishKeywordExtractor, init_polish_keyword, PREPOSITIONS5, isIndonesianLetter, isIndonesianIdentifierChar, IndonesianKeywordExtractor, init_indonesian_keyword, PREPOSITIONS6, isSwahiliLetter, isSwahiliIdentifierChar, SwahiliKeywordExtractor, init_swahili_keyword, POSTPOSITIONS, CASE_SUFFIXES, TurkishKeywordExtractor, init_turkish_keyword, SUFFIXES, POSTPOSITIONS2, AGGLUTINATIVE_MARKERS, QuechuaKeywordExtractor, init_quechua_keyword, isHebrew, PREPOSITIONS7, CONJUNCTIONS, HebrewKeywordExtractor, init_hebrew_keyword, isHebrew2, PROCLITIC_PREFIXES, EVENT_MARKER_PREFIXES, EVENT_NAMES, HebrewProcliticExtractor, init_hebrew_proclitic, AsciiIdentifierExtractor, init_ascii_identifier, init_extractors, init_extractor_helpers, EnglishKeywordExtractor, init_english_keyword, english_exports2, ENGLISH_EXTRAS, EnglishTokenizer, englishTokenizer, init_english2, init_types, JAPANESE_SUFFIX_RULES, SURU_PATTERNS, JapaneseMorphologicalNormalizer, init_japanese_normalizer, japanese_exports2, PARTICLES, JAPANESE_EXTRAS, JapaneseTokenizer, japaneseTokenizer, init_japanese2, KOREAN_SUFFIX_RULES, HADA_PATTERNS, KoreanMorphologicalNormalizer, init_korean_normalizer, korean_exports2, PARTICLES2, KOREAN_EXTRAS, KoreanTokenizer, koreanTokenizer, init_korean2, COMBINED_PREFIXES, SINGLE_PREFIXES, VERB_PREFIXES, SUFFIXES2, ArabicMorphologicalNormalizer, init_arabic_normalizer, arabic_exports2, CONJUNCTIONS2, PREPOSITIONS8, ARABIC_EXTRAS, ArabicTokenizer, arabicTokenizer, init_arabic2, AR_ENDINGS, ER_ENDINGS, IR_ENDINGS, ALL_ENDINGS, SpanishMorphologicalNormalizer, init_spanish_normalizer, isSpanishLetter, isSpanishIdentifierChar, PREPOSITIONS9, SpanishKeywordExtractor, init_spanish_keyword, spanish_exports2, PREPOSITIONS10, SPANISH_EXTRAS, SpanishTokenizer, spanishTokenizer, init_spanish2, TURKISH_SUFFIX_RULES, TurkishMorphologicalNormalizer, init_turkish_normalizer, turkish_exports2, POSTPOSITIONS3, CASE_SUFFIXES2, TURKISH_EXTRAS, TurkishTokenizer, turkishTokenizer, init_turkish2, chinese_exports2, PARTICLES3, CHINESE_EXTRAS, ChineseTokenizer, chineseTokenizer, init_chinese2, REFLEXIVE_SUFFIXES, AR_ENDINGS2, ER_ENDINGS2, IR_ENDINGS2, ALL_ENDINGS2, PortugueseMorphologicalNormalizer, init_portuguese_normalizer, isPortugueseLetter, isPortugueseIdentifierChar, PREPOSITIONS11, PortugueseKeywordExtractor, init_portuguese_keyword, portuguese_exports2, PREPOSITIONS12, PORTUGUESE_EXTRAS, PortugueseTokenizer, portugueseTokenizer, init_portuguese2, REFLEXIVE_SUFFIXES2, ER_ENDINGS3, IR_ENDINGS3, RE_ENDINGS, ALL_ENDINGS3, FrenchMorphologicalNormalizer, init_french_normalizer, isFrenchLetter, isFrenchIdentifierChar, PREPOSITIONS13, FrenchKeywordExtractor, init_french_keyword, french_exports2, FRENCH_EXTRAS, FrenchTokenizer, frenchTokenizer, init_french2, SEPARABLE_PREFIXES, VERB_ENDINGS, ELN_ERN_ENDINGS, ALL_ENDINGS4, GermanMorphologicalNormalizer, init_german_normalizer, isGermanLetter, isGermanIdentifierChar, PREPOSITIONS14, GermanKeywordExtractor, init_german_keyword, german_exports2, GERMAN_EXTRAS, GermanTokenizer, germanTokenizer, init_german2, indonesian_exports2, PREPOSITIONS15, INDONESIAN_EXTRAS, IndonesianTokenizer, indonesianTokenizer, init_indonesian2, QUECHUA_SUFFIX_RULES, QuechuaMorphologicalNormalizer, quechuaMorphologicalNormalizer, init_quechua_normalizer, quechua_exports2, QuechuaStringLiteralExtractor, SUFFIXES3, QUECHUA_EXTRAS, QuechuaTokenizer, quechuaTokenizer, init_quechua2, swahili_exports2, PREPOSITIONS16, SWAHILI_EXTRAS, SwahiliTokenizer, swahiliTokenizer, init_swahili2, REFLEXIVE_SUFFIXES3, ARE_ENDINGS, ERE_ENDINGS, IRE_ENDINGS, ALL_ENDINGS5, ItalianMorphologicalNormalizer, init_italian_normalizer, RomanceKeywordExtractor, ITALIAN_PREPOSITIONS, init_romance_language_keyword, italian_exports2, PREPOSITIONS17, ITALIAN_EXTRAS, ItalianTokenizer, italianTokenizer, init_italian2, vietnamese_exports2, VIETNAMESE_EXTRAS, VietnameseTokenizer, vietnameseTokenizer, init_vietnamese2, IMPERATIVE_TO_INFINITIVE, PolishMorphologicalNormalizer, init_polish_normalizer, polish_exports2, PREPOSITIONS18, POLISH_EXTRAS, PolishTokenizer, polishTokenizer, init_polish2, IMPERATIVE_TO_INFINITIVE2, RussianMorphologicalNormalizer, init_russian_normalizer, russian_exports2, PREPOSITIONS19, RUSSIAN_EXTRAS, RussianTokenizer, russianTokenizer, init_russian2, IMPERATIVE_TO_INFINITIVE3, UkrainianMorphologicalNormalizer, init_ukrainian_normalizer, ukrainian_exports2, PREPOSITIONS20, UKRAINIAN_EXTRAS, UkrainianTokenizer, ukrainianTokenizer, init_ukrainian2, he_exports2, PREPOSITIONS21, HEBREW_EXTRAS, HebrewTokenizer, hebrewTokenizer, init_he2, SUFFIX_RULES, HindiMorphologicalNormalizer, init_hindi_normalizer, hindi_exports2, SINGLE_POSTPOSITIONS3, HINDI_EXTRAS, HindiTokenizer, hindiTokenizer, init_hindi2, SUFFIX_RULES2, BengaliMorphologicalNormalizer, bengaliMorphologicalNormalizer, init_bengali_normalizer, bengali_exports2, SINGLE_POSTPOSITIONS4, BENGALI_EXTRAS, BengaliTokenizer, bengaliTokenizer, init_bengali2, thai_exports2, THAI_EXTRAS, ThaiTokenizer, thaiTokenizer, init_thai2, ms_exports2, MALAY_EXTRAS, MalayTokenizer, malayTokenizer, init_ms2, COMBINED_PREFIXES2, SINGLE_PREFIXES2, INFIXES, SUFFIXES4, TagalogMorphologicalNormalizer, tagalogMorphologicalNormalizer, init_tagalog_normalizer, tl_exports2, TAGALOG_EXTRAS, TagalogTokenizer, tagalogTokenizer, init_tl2, eventNameTranslations, eventNameLocalizations, eventLocalizationDenylist, init_event_handler, init_role_positioning, init_marker_resolution, init_event_handlers_sov, init_event_handlers_vso, defaultConfig, init_pattern_generator, fetchWithResponseTypeEnglish, fetchWithOptionsAndResponseTypeEnglish, fetchWithOptionsEnglish, fetchSimpleEnglish, fetchPatternsEn, init_fetch, pickVariantEnglish, pickPatternsEn, init_pick, swapSimpleEnglish, swapElementEnglish, swapStrategyOfEnglish, swapStrategyEnglish, swapPatternsEn, init_swap, init_toggle, VERB_FIRST_REPEAT_TIMES, SOV_REPEAT_TIMES, FOR_IN_HEADS, WHILE_HEADS, VERB_FIRST_UNTIL_HEADS, repeatUntilHeadQuMidClause, SOV_UNTIL_HEADS, repeatUntilHeadQu, SOV_FOR_BINDING_HEADS, BY_LANG, addPattern, init_repeat, init_wait, en_exports, repeatUntilEventFromEnglish, repeatUntilEventEnglish, repeatTimesEnglish, repeatForeverEnglish, setPossessiveEnglish, forEnglish, ifEnglish, unlessEnglish, temporalInEnglish, temporalAfterEnglish, init_en, DEFAULT_CONFIDENCE_THRESHOLD, HIGH_CONFIDENCE_THRESHOLD, CONTEXT_VARS, LOGICAL_OPERATORS, BOOLEAN_LITERALS, COMPARISON_KEYWORDS, POSITIONAL_KEYWORDS, TIME_UNITS, POSSESSIVE_CONTEXT_TYPES, POSTFIX_STOP_WORDS, POSITIONAL_CALL_KEYWORDS, ExpressionParser, waitMapper, putMapper, goMapper, RANGE_METHODS, COUNT_METHODS, REGEX_METHODS, pickMapper, mappers, ASTBuilder, KNOWN_PROFILES, PROPERTY_NAME_LEXICON, CONNECTIVE_LEXICON, OF_POSSESSIVE_MARKERS, ROLE_CONCEPT_TO_ENGLISH_LOCATIVE, LOCATIVE_SURFACES, ENGLISH_LOCATIVE_SENSES, POSITIONAL_KEYWORDS2, POSITIONAL_HEAD_DUALS, COMMAND_ACTION_KEYWORDS, AMBIGUOUS_SENSES, SENSE_PREDICATE_NORMALIZED, CONVERSION_TYPE_NAMES, CURATED_END_KEYWORDS, MAX_FOLD_TOKENS, KEY_RE, FUSED_PAIR_RE, OPTIONAL_ROLE_WEIGHT, DEFAULT_PARTIAL_CREDIT, MAX_STEM_PENALTY, STEM_PENALTY_FLOOR, VSO_VERB_BOOST, MAX_PREPOSITION_ADJUSTMENT, ARABIC_VERBS, PREFERRED_PREPOSITIONS, DefaultConfidenceModel, defaultConfidenceModel, BAREKEYWORD_BLOCK_ACTIONS, _PatternMatcher2, PatternMatcher, patternMatcher, OPENER_ACTIONS, PASCAL_CASE_NAME, OPENER_NORMS, TARGET_REFERENCES, ROLE_CONCEPTS, TRIGGER_SIGNATURE_LANGS, DEF_NAME, FEATURE_ACTIONS, OPAQUE_BODY_FEATURES, NAMED_FEATURES, HANDLER_BODY_FEATURES, DEF_BODY_FEATURES, SOV_KEYWORD_SEARCH_LIMIT, INTERCEPT_SOV_KEYWORD_LIMIT, MODIFIER_KEYWORDS, ONCE_SEQUENCES, DURATION_RE, EXCLUDED_FIRST_KINDS, BLOCK_HEADER_ACTIONS, BLOCK_NEEDS_TRAILING_END, SemanticRendererImpl, semanticRenderer, hyperscriptSchemaLookup, BLOCK_BODY_ACTIONS, NON_VALUE_KEYWORDS, POSITIONAL_VALUE_KEYWORDS, WAITABLE_EVENT_WORDS, SemanticParseError, MAX_UNCONSUMED_SPAN_CHARS, COVERAGE_RESIDUE_NORMALIZED, NORMALIZE_CHILD_FIELDS, _SemanticParserImpl, SemanticParserImpl, semanticParser, SemanticCache2, semanticCache, LANGUAGE_IMPORTERS, SUPPORTED_LANGUAGES, VERB_INITIAL_SPECS, VERB_FINAL_SPECS, repeatUntilEventFromEnglish2, repeatUntilEventEnglish2, repeatPatternsEn, setPossessiveEnglish2, setPatternsEn, forEnglish2, ifEnglish2, unlessEnglish2, controlFlowPatternsEn, temporalInEnglish2, temporalAfterEnglish2, temporalPatternsEn, allEnglishOnlyPatterns, PATTERN_LOADERS, _generatedPatternsPerLanguage, handcraftedLanguages, patternCache2, _allPatterns, schemaRegistry, DEFAULT_CONFIG, HIGH_FREQUENCY_TRIGGERS, THROTTLE_RECOMMENDED_TRIGGERS, _devModeEnabled, _devModeConfig, VERSION, index$1, HistorySwapBehavior, BoostedBehavior, DEFAULT_EVENT_TYPE, DEFAULT_LANGUAGE$1, compileSyncFn, compileAsyncFn, getRuntimeFn, configRef, RingBuffer, HISTORY_CAPACITY, DebugController, DEFAULT_LANGUAGE, ASTCache, astCache, semanticAnalyzerInstance, bridgeInstance, config, _defaultRuntime, _debugController, hyperscript, lokascript, OP_TABLE, Lexer, Tokens, MAX_HISTORY_SIZE$5, DefInputSchema, TypedDefFeatureImplementation, enhancedDefImplementation, MAX_HISTORY_SIZE$4, EnhancedOnInputSchema, TypedOnFeatureImplementation, enhancedOnImplementation, MAX_HISTORY_SIZE$3, BehaviorsInputSchema, TypedBehaviorsFeatureImplementation, enhancedBehaviorsImplementation, MAX_HISTORY_SIZE$2, SocketsInputSchema, TypedSocketsFeatureImplementation, enhancedSocketsImplementation, MAX_HISTORY_SIZE$1, WebWorkerInputSchema, TypedWebWorkerFeatureImplementation, enhancedWebWorkerImplementation, MAX_HISTORY_SIZE, EventSourceInputSchema, TypedEventSourceFeatureImplementation, enhancedEventSourceImplementation, INTERCHANGE_ADAPTER, POS, DiagnosticSeverity, SymbolKind, CompletionItemKind, _semanticModule, SemanticGrammarBridge, bridge, _fw, index;
29478
+ var COMMAND_NAMES, COMMAND_MANIFEST, KEYWORDS$1, COMMAND_TERMINATORS, COMMANDS, COMPOUND_COMMANDS, CONTROL_FLOW_COMMANDS, PUT_OPERATIONS, PUT_OPERATION_KEYWORDS, HYPERSCRIPT_KEYWORDS, CommandClassification, CSS_FUNCTIONS, CONTEXT_VARS$1, LOGICAL_OPERATORS$1, COMPARISON_OPERATORS, DOM_EVENTS, TOKENIZER_KEYWORDS, TokenKind, MATHEMATICAL_OPERATORS, TIME_UNITS$1, isDebugEnabled$1, DEBUG, debug, debugEnabled, debugEventTarget, stats, DEFAULT_CONFIDENCE_THRESHOLD$1, SemanticIntegrationAdapter, STOP_TOKENS, STOP_DELIMITERS, CORE_FRAGMENT, PARSER_COMPARISON_FRAGMENT, ASSIGNMENT_FRAGMENT, PARSER_TABLE, FEATURE_REGISTRY, NODE_EVALUATORS, NODE_WRITERS, GLOBAL_WRITE_HOOKS, GLOBAL_READ_HOOKS, LOCAL_WRITE_HOOKS, LOCAL_READ_HOOKS, ParserExtensionRegistry, SINGLETON, WINDOW_KEY, MULTI_WORD_PATTERNS, DEFAULT_BOUNDARY_KEYWORDS, CommandNodeBuilder, OPERAND_INTRODUCERS, CONTEXT_POSSESSIVES, SWAP_STRATEGY_KEYWORDS, ELEMENT_PRONOUNS, GO_KEYWORDS, URL_HARD_STOPS, STRING_POSTFIX_UNITS, STRING_POSTFIX_BP, Parser, HookRegistry, sharedGlobals, elementScopes, ExpressionTypeRegistry, expressionTypeRegistry, BOOLEAN_ATTRIBUTES, SPECIAL_DOM_PROPERTIES, NUMBER_WORDS, conversionConfig, defaultConversions, TYPE_ALIASES, asExpression, isExpression, asyncExpression, conversionExpressions, UNSAFE_PROPS, possessiveExpression, myExpression, itsExpression$1, yourExpression, ofExpression, attributeExpression, attributeWithValueExpression, classReferenceExpression, idReferenceExpression, propertiesExpressions, NotSyncEvaluable, cachedFullRegistry, RAW_ARG_BUILTINS, CSS_PSEUDO_CLASSES, PSEUDO_CLASS_COLON_RE, BARE_REF_ESCAPE_RE, QUERY_REF_INTERP_RE, CleanupRegistry, EventSourceRegistry, ContextProviderRegistry, canonicalEvaluator, ContextBridge, CommandAdapterV2, CommandRegistryV2, defaultRegistry, RegistryIntegration, eventRecursionDepth, RuntimeBase, meExpression, youExpression, itExpression, itsExpression, resultExpression, querySelectorExpression, querySelectorAllExpression, idExpression, classExpression, closestExpression, parentExpression, windowExpression, documentExpression, elementWithSelectorExpression, styleRefExpression, possessiveStyleRefExpression, ofStyleRefExpression, referencesExpressions, isProduction, skipValidation, addDescribeToValidator, v, z, LRUCache, HyperscriptCache, globalCache, PerformanceTracker, performanceTracker, cleanupInterval, ComparisonInputSchema, PatternMatchingInputSchema, equalsExpression, strictEqualsExpression, notEqualsExpression, strictNotEqualsExpression, lessThanExpression, lessThanOrEqualExpression, greaterThanExpression, greaterThanOrEqualExpression, andExpression, orExpression, notExpression, isEmptyExpression, noExpression, isNotEmptyExpression, existsExpression, doesNotExistExpression, containsExpression, doesNotContainExpression, startsWithExpression, endsWithExpression, betweenExpression, matchesExpression, hasExpression, doesNotHaveExpression, logicalExpressions, BaseExpressionImpl, StringLiteralInputSchema, NumberLiteralInputSchema, BooleanLiteralInputSchema, BinaryOperationInputSchema, StringLiteralExpression, NumberLiteralExpression, BooleanLiteralExpression, AdditionExpression$1, StringConcatenationExpression, MultiplicationExpression$1, specialExpressions, firstExpression, lastExpression, atExpression, nextExpression, previousExpression, DOCUMENT_POSITION_PRECEDING, DOCUMENT_POSITION_FOLLOWING, nextWithinExpression, previousWithinExpression, positionalExpressions, AdditionExpression2, SubtractionExpression, MultiplicationExpression2, DivisionExpression, ModuloExpression, PowerExpression, mathematicalExpressions, index$3, KEYWORD_PREPOSITIONS, VisibilityCommandBase, HideCommand, createHideCommand, ShowCommand, createShowCommand, SMART_ELEMENT_TAGS, DOMModificationBase, AddCommand, createAddCommand, positionMap, RemoveCommand, createRemoveCommand, PATTERN, BOOL_PROPS, ToggleCommand, createToggleCommand, PutCommand, createPutCommand, HTML_ESCAPE, MakeCommand, createMakeCommand, EmptyCommand, createEmptyCommand, OpenCommand, createOpenCommand, CloseCommand, createCloseCommand, SelectCommand, createSelectCommand, ResetCommand, createResetCommand, SUPPORTS_MOVE_BEFORE, ELEMENT_NODE_TYPE, TEXT_NODE_TYPE, IS_PARENT_NODE_TYPE, Operation, candidateNodes, candidateElements, candidateElementsWithIds, unmatchedNodes, unmatchedElements, whitespaceNodes, _idArrayMap, _idSetMap, _options, _Morph_instances, morphOneToMany_fn, morphOneToOne_fn, morphMatchingElements_fn, morphNonMatchingElements_fn, morphOtherNode_fn, visitAttributes_fn, visitTextArea_fn, replaceNode_fn, removeNode_fn, mapIdArraysForEach_fn, mapIdArrays_fn, mapIdSets_fn, Morph, morphAdapter, queue, processing, STRATEGY_KEYWORDS, SwapCommand, MorphCommand, createSwapCommand, createMorphCommand, CRITICAL_LAYOUT_ELEMENTS, STRUCTURAL_SEMANTIC_ELEMENTS, WARNING_ELEMENTS, DEFAULT_VALIDATION_CONFIG, globalConfig, STYLES, SEVERITY_ICONS, SEVERITY_LABELS, STRATEGY_MAP, ProcessPartialsCommand, createProcessPartialsCommand, WaitCommand, createWaitCommand, customResponseTypes, DEFAULT_FETCH_THROWS_ON, fetchThrowsOnPatterns, FetchCommand, createFetchCommand, SetCommand, createSetCommand, GetCommand, createGetCommand, NumericModifyCommand, createIncrementCommand, ClearCommand, createClearCommand, LogCommand, createLogCommand, EventDispatchCommand, createTriggerCommand, GoCommand, createGoCommand, KEYWORDS, HistoryCommand, createPushUrlCommand, ScrollCommand, createScrollCommand, ConditionalCommand, createConditionalCommand, createIfCommand, RepeatCommand, createRepeatCommand, ControlFlowSignalBase, BreakCommand, createBreakCommand, ContinueCommand, createContinueCommand, HaltCommand, createHaltCommand, ReturnCommand, createReturnCommand, ExitCommand, createExitCommand, ThrowCommand, createThrowCommand, CallCommand, createCallCommand, FocusCommand, createFocusCommand, BlurCommand, createBlurCommand, PseudoCommand, ContentInsertionCommand, AppendCommand, createAppendCommand, PrependCommand, createPrependCommand, TransitionCommand, createTransitionCommand, MeasureCommand, createMeasureCommand, SettleCommand, createSettleCommand, StartViewTransitionCommand, createStartViewTransitionCommand, TakeCommand, createTakeCommand, JsCommand, createJsCommand, AsyncCommand, createAsyncCommand, DefaultCommand, createDefaultCommand, TellCommand, createTellCommand, CopyCommand, createCopyCommand, PickCommand, createPickCommand, BeepCommand, createBeepCommand, BreakpointCommand, createBreakpointCommand, InstallCommand, RenderCommand, COMMAND_FACTORIES, Runtime, DEFAULT_REFERENCES, STRUCTURAL_ROLES, CHAIN_KEYWORDS, VERSION_HEADER_RE, VALID_KINDS, VALID_VALUE_TYPES$1, VALID_CHAIN_TYPES, VALID_ASYNC_VARIANTS, VALID_DIAGNOSTIC_LEVELS, DebugLogger, _PatternMatcher$1, PatternMatcher$1, patternMatcher$1, defaultConfig$1, GrammarTransformer, InMemoryDictionary, NullDictionary, InMemoryProfileProvider, NullProfileProvider, StringLiteralExtractor, NumberExtractor, IdentifierExtractor, UnicodeIdentifierExtractor, LatinExtendedIdentifierExtractor, SELECTOR_BODY_CHAR, PARTICLE_SCRIPT_CHAR, CssSelectorExtractor$1, WhitespaceExtractor, VALID_VALUE_TYPES, SCROLL_MARKERS, URL_MARKERS, PARTIALS_IN_MARKERS, DSLRegistry, MultilingualDSLImpl, DomainRegistry, COMMENT_PATTERN, CrossDomainDispatcher, DomainAwareScanner, AOTOrchestrator, TokenStreamImpl, DEFAULT_OPERATORS$1, OperatorExtractor$1, DEFAULT_PUNCTUATION$1, PunctuationExtractor$1, SIMPLE_TOKENIZER_OPERATOR_SET, MARKER_CONCEPT_NORMALIZEDS, ENGLISH_DOM_EVENT_NAMES, _BaseTokenizer, BaseTokenizer, BaseMorphologicalNormalizer, PatternTracker, MultiStatementParserImpl, index$2, __defProp2, __getOwnPropNames2, __esm2, __export2, SchemaErrorCodes, SchemaErrorMessages, SchemaErrorSuggestions, init_schema_error_codes, schema_validator_exports, MULTI_TYPE_PATIENT_COMMANDS, NO_REQUIRED_ROLES_COMMANDS, init_schema_validator, toggleSchema, addSchema, removeSchema, putSchema, setSchema, bindSchema, liveSchema, eventsourceSchema, socketSchema, workerSchema, interceptSchema, showSchema, hideSchema, onSchema, triggerSchema, waitSchema, fetchSchema, incrementSchema, decrementSchema, appendSchema, prependSchema, logSchema, getCommandSchema, takeSchema, makeSchema, haltSchema, settleSchema, throwSchema, sendSchema, ifSchema, unlessSchema, elseSchema, repeatSchema, forSchema, whileSchema, continueSchema, URL_MARKER_ALL_LANGS, goSchema, transitionSchema, cloneSchema, focusSchema, blurSchema, emptySchema, openSchema, closeSchema, selectSchema, clearSchema, resetSchema, breakpointSchema, callSchema, returnSchema, jsSchema, asyncSchema, tellSchema, defaultSchema, initSchema, behaviorSchema, installSchema, measureSchema, USING_VIEW_MARKER_ALL_LANGS, VIEW_TRANSITION_MANNER_ROLE, swapSchema, morphSchema, beepSchema, breakSchema, copySchema, exitSchema, pickSchema, scrollSchema, PARTIALS_IN_MARKER_ALL_LANGS, pushSchema, replaceSchema, processSchema, renderSchema, commandSchemas, init_command_schemas, tokenizers, profiles, patternCache, patternGenerator, registeredPatterns, init_registry, arabic_exports, arabicProfile, init_arabic, bengali_exports, bengaliProfile, init_bengali, german_exports, germanProfile, init_german, english_exports, englishProfile, init_english, spanish_exports, spanishProfile, init_spanish, french_exports, frenchProfile, init_french, he_exports, hebrewProfile, init_he, hindi_exports, hindiProfile, init_hindi, indonesian_exports, indonesianProfile, init_indonesian, italian_exports, italianProfile, init_italian, japanese_exports, japaneseProfile, init_japanese, korean_exports, koreanProfile, init_korean, ms_exports, malayProfile, init_ms, polish_exports, polishProfile, init_polish, portuguese_exports, portugueseProfile, init_portuguese, quechua_exports, quechuaProfile, init_quechua, russian_exports, russianProfile, init_russian, swahili_exports, swahiliProfile, init_swahili, thai_exports, thaiProfile, init_thai, tl_exports, tagalogProfile, init_tl, turkish_exports, turkishProfile, init_turkish, ukrainian_exports, ukrainianProfile, init_ukrainian, vietnamese_exports, vietnameseProfile, init_vietnamese, chinese_exports, chineseProfile, init_chinese, ROLE_MARKER_CONCEPTS, init_marker_resolution, PUT_POSITIONAL, PUT_AT_END, init_put, init_token_utils, init_char_classifiers, init_base_tokenizer, init_base, DEFAULT_OPERATORS, OperatorExtractor2, DEFAULT_PUNCTUATION, PunctuationExtractor2, init_generic_extractors, CssSelectorExtractor2, init_css_selector, EventModifierExtractor, init_event_modifier, URL_PREFIXES, UrlExtractor, init_url, VariableRefExtractor, init_variable_ref, JapaneseKeywordExtractor, init_japanese_keyword, SINGLE_CHAR_PARTICLES, MULTI_CHAR_PARTICLES, JapaneseParticleExtractor, init_japanese_particle, TEMPORAL_EVENT_SUFFIXES, KoreanKeywordExtractor, init_korean_keyword, SINGLE_CHAR_PARTICLES2, MULTI_CHAR_PARTICLES2, KoreanParticleExtractor, init_korean_particle, ChineseKeywordExtractor, init_chinese_keyword, SINGLE_CHAR_PARTICLES3, MULTI_CHAR_PARTICLES3, ChineseParticleExtractor, init_chinese_particle, isVietnameseLetter, isVietnameseIdentifierChar, PREPOSITIONS, VietnameseKeywordExtractor, init_vietnamese_keyword, isArabic, PREPOSITIONS2, ArabicKeywordExtractor, init_arabic_keyword, isArabic2, PROCLITICS, NON_PROCLITIC_WORDS, ArabicProcliticExtractor, init_arabic_proclitic, isArabic3, TEMPORAL_MARKERS, ArabicTemporalExtractor, init_arabic_temporal, CyrillicKeywordExtractor, RUSSIAN_PREPOSITIONS, UKRAINIAN_PREPOSITIONS, init_cyrillic_keyword, HindiKeywordExtractor, init_hindi_keyword, SINGLE_POSTPOSITIONS, COMPOUND_POSTPOSITIONS, HindiParticleExtractor, init_hindi_particle, BengaliKeywordExtractor, init_bengali_keyword, SINGLE_POSTPOSITIONS2, BengaliParticleExtractor, init_bengali_particle, ThaiKeywordExtractor, init_thai_keyword, MalayKeywordExtractor, init_malay_keyword, PREPOSITIONS3, TagalogKeywordExtractor, init_tagalog_keyword, PREPOSITIONS4, isPolishLetter, isPolishIdentifierChar, PolishKeywordExtractor, init_polish_keyword, PREPOSITIONS5, isIndonesianLetter, isIndonesianIdentifierChar, IndonesianKeywordExtractor, init_indonesian_keyword, PREPOSITIONS6, isSwahiliLetter, isSwahiliIdentifierChar, SwahiliKeywordExtractor, init_swahili_keyword, POSTPOSITIONS, CASE_SUFFIXES, TurkishKeywordExtractor, init_turkish_keyword, SUFFIXES, POSTPOSITIONS2, AGGLUTINATIVE_MARKERS, QuechuaKeywordExtractor, init_quechua_keyword, isHebrew, PREPOSITIONS7, CONJUNCTIONS, HebrewKeywordExtractor, init_hebrew_keyword, isHebrew2, PROCLITIC_PREFIXES, EVENT_MARKER_PREFIXES, EVENT_NAMES, HebrewProcliticExtractor, init_hebrew_proclitic, AsciiIdentifierExtractor, init_ascii_identifier, init_extractors, init_extractor_helpers, EnglishKeywordExtractor, init_english_keyword, english_exports2, ENGLISH_EXTRAS, EnglishTokenizer, englishTokenizer, init_english2, init_types, JAPANESE_SUFFIX_RULES, SURU_PATTERNS, JapaneseMorphologicalNormalizer, init_japanese_normalizer, japanese_exports2, PARTICLES, JAPANESE_EXTRAS, JapaneseTokenizer, japaneseTokenizer, init_japanese2, KOREAN_SUFFIX_RULES, HADA_PATTERNS, KoreanMorphologicalNormalizer, init_korean_normalizer, korean_exports2, PARTICLES2, KOREAN_EXTRAS, KoreanTokenizer, koreanTokenizer, init_korean2, COMBINED_PREFIXES, SINGLE_PREFIXES, VERB_PREFIXES, SUFFIXES2, ArabicMorphologicalNormalizer, init_arabic_normalizer, arabic_exports2, CONJUNCTIONS2, PREPOSITIONS8, ARABIC_EXTRAS, ArabicTokenizer, arabicTokenizer, init_arabic2, AR_ENDINGS, ER_ENDINGS, IR_ENDINGS, ALL_ENDINGS, SpanishMorphologicalNormalizer, init_spanish_normalizer, isSpanishLetter, isSpanishIdentifierChar, PREPOSITIONS9, SpanishKeywordExtractor, init_spanish_keyword, spanish_exports2, PREPOSITIONS10, SPANISH_EXTRAS, SpanishTokenizer, spanishTokenizer, init_spanish2, TURKISH_SUFFIX_RULES, TurkishMorphologicalNormalizer, init_turkish_normalizer, turkish_exports2, POSTPOSITIONS3, CASE_SUFFIXES2, TURKISH_EXTRAS, TurkishTokenizer, turkishTokenizer, init_turkish2, chinese_exports2, PARTICLES3, CHINESE_EXTRAS, ChineseTokenizer, chineseTokenizer, init_chinese2, REFLEXIVE_SUFFIXES, AR_ENDINGS2, ER_ENDINGS2, IR_ENDINGS2, ALL_ENDINGS2, PortugueseMorphologicalNormalizer, init_portuguese_normalizer, isPortugueseLetter, isPortugueseIdentifierChar, PREPOSITIONS11, PortugueseKeywordExtractor, init_portuguese_keyword, portuguese_exports2, PREPOSITIONS12, PORTUGUESE_EXTRAS, PortugueseTokenizer, portugueseTokenizer, init_portuguese2, REFLEXIVE_SUFFIXES2, ER_ENDINGS3, IR_ENDINGS3, RE_ENDINGS, ALL_ENDINGS3, FrenchMorphologicalNormalizer, init_french_normalizer, isFrenchLetter, isFrenchIdentifierChar, PREPOSITIONS13, FrenchKeywordExtractor, init_french_keyword, french_exports2, FRENCH_EXTRAS, FrenchTokenizer, frenchTokenizer, init_french2, SEPARABLE_PREFIXES, VERB_ENDINGS, ELN_ERN_ENDINGS, ALL_ENDINGS4, GermanMorphologicalNormalizer, init_german_normalizer, isGermanLetter, isGermanIdentifierChar, PREPOSITIONS14, GermanKeywordExtractor, init_german_keyword, german_exports2, GERMAN_EXTRAS, GermanTokenizer, germanTokenizer, init_german2, indonesian_exports2, PREPOSITIONS15, INDONESIAN_EXTRAS, IndonesianTokenizer, indonesianTokenizer, init_indonesian2, QUECHUA_SUFFIX_RULES, QuechuaMorphologicalNormalizer, quechuaMorphologicalNormalizer, init_quechua_normalizer, quechua_exports2, QuechuaStringLiteralExtractor, SUFFIXES3, QUECHUA_EXTRAS, QuechuaTokenizer, quechuaTokenizer, init_quechua2, swahili_exports2, PREPOSITIONS16, SWAHILI_EXTRAS, SwahiliTokenizer, swahiliTokenizer, init_swahili2, REFLEXIVE_SUFFIXES3, ARE_ENDINGS, ERE_ENDINGS, IRE_ENDINGS, ALL_ENDINGS5, ItalianMorphologicalNormalizer, init_italian_normalizer, RomanceKeywordExtractor, ITALIAN_PREPOSITIONS, init_romance_language_keyword, italian_exports2, PREPOSITIONS17, ITALIAN_EXTRAS, ItalianTokenizer, italianTokenizer, init_italian2, vietnamese_exports2, VIETNAMESE_EXTRAS, VietnameseTokenizer, vietnameseTokenizer, init_vietnamese2, IMPERATIVE_TO_INFINITIVE, PolishMorphologicalNormalizer, init_polish_normalizer, polish_exports2, PREPOSITIONS18, POLISH_EXTRAS, PolishTokenizer, polishTokenizer, init_polish2, IMPERATIVE_TO_INFINITIVE2, RussianMorphologicalNormalizer, init_russian_normalizer, russian_exports2, PREPOSITIONS19, RUSSIAN_EXTRAS, RussianTokenizer, russianTokenizer, init_russian2, IMPERATIVE_TO_INFINITIVE3, UkrainianMorphologicalNormalizer, init_ukrainian_normalizer, ukrainian_exports2, PREPOSITIONS20, UKRAINIAN_EXTRAS, UkrainianTokenizer, ukrainianTokenizer, init_ukrainian2, he_exports2, PREPOSITIONS21, HEBREW_EXTRAS, HebrewTokenizer, hebrewTokenizer, init_he2, SUFFIX_RULES, HindiMorphologicalNormalizer, init_hindi_normalizer, hindi_exports2, SINGLE_POSTPOSITIONS3, HINDI_EXTRAS, HindiTokenizer, hindiTokenizer, init_hindi2, SUFFIX_RULES2, BengaliMorphologicalNormalizer, bengaliMorphologicalNormalizer, init_bengali_normalizer, bengali_exports2, SINGLE_POSTPOSITIONS4, BENGALI_EXTRAS, BengaliTokenizer, bengaliTokenizer, init_bengali2, thai_exports2, THAI_EXTRAS, ThaiTokenizer, thaiTokenizer, init_thai2, ms_exports2, MALAY_EXTRAS, MalayTokenizer, malayTokenizer, init_ms2, COMBINED_PREFIXES2, SINGLE_PREFIXES2, INFIXES, SUFFIXES4, TagalogMorphologicalNormalizer, tagalogMorphologicalNormalizer, init_tagalog_normalizer, tl_exports2, TAGALOG_EXTRAS, TagalogTokenizer, tagalogTokenizer, init_tl2, eventNameTranslations, eventNameLocalizations, eventLocalizationDenylist, init_event_handler, init_role_positioning, init_event_handlers_sov, init_event_handlers_vso, defaultConfig, init_pattern_generator, fetchWithResponseTypeEnglish, fetchWithOptionsAndResponseTypeEnglish, fetchWithOptionsEnglish, fetchSimpleEnglish, fetchPatternsEn, init_fetch, pickVariantEnglish, pickPatternsEn, init_pick, VIEW_TRANSITION_TAIL, swapSimpleEnglish, swapElementEnglish, swapStrategyOfEnglish, swapStrategyEnglish, swapPatternsEn, init_swap, init_toggle, VERB_FIRST_REPEAT_TIMES, SOV_REPEAT_TIMES, FOR_IN_HEADS, WHILE_HEADS, VERB_FIRST_UNTIL_HEADS, repeatUntilHeadQuMidClause, SOV_UNTIL_HEADS, repeatUntilHeadQu, SOV_FOR_BINDING_HEADS, BY_LANG, addPattern, init_repeat, init_wait, en_exports, repeatUntilEventFromEnglish, repeatUntilEventEnglish, repeatTimesEnglish, repeatForeverEnglish, setPossessiveEnglish, forEnglish, ifEnglish, unlessEnglish, temporalInEnglish, temporalAfterEnglish, init_en, DEFAULT_CONFIDENCE_THRESHOLD, HIGH_CONFIDENCE_THRESHOLD, CONTEXT_VARS, LOGICAL_OPERATORS, BOOLEAN_LITERALS, COMPARISON_KEYWORDS, POSITIONAL_KEYWORDS, TIME_UNITS, POSSESSIVE_CONTEXT_TYPES, POSTFIX_STOP_WORDS, POSITIONAL_CALL_KEYWORDS, ExpressionParser, waitMapper, putMapper, goMapper, RANGE_METHODS, COUNT_METHODS, REGEX_METHODS, pickMapper, mappers, ASTBuilder, KNOWN_PROFILES, PROPERTY_NAME_LEXICON, CONNECTIVE_LEXICON, OF_POSSESSIVE_MARKERS, ROLE_CONCEPT_TO_ENGLISH_LOCATIVE, LOCATIVE_SURFACES, ENGLISH_LOCATIVE_SENSES, POSITIONAL_KEYWORDS2, POSITIONAL_HEAD_DUALS, COMMAND_ACTION_KEYWORDS, AMBIGUOUS_SENSES, SENSE_PREDICATE_NORMALIZED, CONVERSION_TYPE_NAMES, CURATED_END_KEYWORDS, MAX_FOLD_TOKENS, KEY_RE, FUSED_PAIR_RE, OPTIONAL_ROLE_WEIGHT, DEFAULT_PARTIAL_CREDIT, MAX_STEM_PENALTY, STEM_PENALTY_FLOOR, VSO_VERB_BOOST, MAX_PREPOSITION_ADJUSTMENT, ARABIC_VERBS, PREFERRED_PREPOSITIONS, DefaultConfidenceModel, defaultConfidenceModel, BAREKEYWORD_BLOCK_ACTIONS, _PatternMatcher2, PatternMatcher, patternMatcher, OPENER_ACTIONS, PASCAL_CASE_NAME, OPENER_NORMS, TARGET_REFERENCES, ROLE_CONCEPTS, TRIGGER_SIGNATURE_LANGS, DEF_NAME, FEATURE_ACTIONS, OPAQUE_BODY_FEATURES, NAMED_FEATURES, HANDLER_BODY_FEATURES, DEF_BODY_FEATURES, SOV_KEYWORD_SEARCH_LIMIT, INTERCEPT_SOV_KEYWORD_LIMIT, MODIFIER_KEYWORDS, ONCE_SEQUENCES, DURATION_RE, EXCLUDED_FIRST_KINDS, BLOCK_HEADER_ACTIONS, BLOCK_NEEDS_TRAILING_END, SemanticRendererImpl, semanticRenderer, hyperscriptSchemaLookup, BLOCK_BODY_ACTIONS, NON_VALUE_KEYWORDS, POSITIONAL_VALUE_KEYWORDS, WAITABLE_EVENT_WORDS, SemanticParseError, MAX_UNCONSUMED_SPAN_CHARS, COVERAGE_RESIDUE_NORMALIZED, NORMALIZE_CHILD_FIELDS, _SemanticParserImpl, SemanticParserImpl, semanticParser, SemanticCache2, semanticCache, LANGUAGE_IMPORTERS, SUPPORTED_LANGUAGES, PICK_UNIT_WORDS, retypePickUnitWord, VERB_INITIAL_SPECS, VERB_FINAL_SPECS, repeatUntilEventFromEnglish2, repeatUntilEventEnglish2, repeatPatternsEn, setPossessiveEnglish2, setPatternsEn, forEnglish2, ifEnglish2, unlessEnglish2, controlFlowPatternsEn, temporalInEnglish2, temporalAfterEnglish2, temporalPatternsEn, allEnglishOnlyPatterns, PATTERN_LOADERS, _generatedPatternsPerLanguage, handcraftedLanguages, patternCache2, _allPatterns, schemaRegistry, DEFAULT_CONFIG, HIGH_FREQUENCY_TRIGGERS, THROTTLE_RECOMMENDED_TRIGGERS, _devModeEnabled, _devModeConfig, VERSION, index$1, HistorySwapBehavior, BoostedBehavior, DEFAULT_EVENT_TYPE, DEFAULT_LANGUAGE$1, compileSyncFn, compileAsyncFn, getRuntimeFn, configRef, RingBuffer, HISTORY_CAPACITY, DebugController, DEFAULT_LANGUAGE, ASTCache, astCache, semanticAnalyzerInstance, bridgeInstance, config, _defaultRuntime, _debugController, hyperscript, lokascript, OP_TABLE, Lexer, Tokens, MAX_HISTORY_SIZE$5, DefInputSchema, TypedDefFeatureImplementation, enhancedDefImplementation, MAX_HISTORY_SIZE$4, EnhancedOnInputSchema, TypedOnFeatureImplementation, enhancedOnImplementation, MAX_HISTORY_SIZE$3, BehaviorsInputSchema, TypedBehaviorsFeatureImplementation, enhancedBehaviorsImplementation, MAX_HISTORY_SIZE$2, SocketsInputSchema, TypedSocketsFeatureImplementation, enhancedSocketsImplementation, MAX_HISTORY_SIZE$1, WebWorkerInputSchema, TypedWebWorkerFeatureImplementation, enhancedWebWorkerImplementation, MAX_HISTORY_SIZE, EventSourceInputSchema, TypedEventSourceFeatureImplementation, enhancedEventSourceImplementation, INTERCHANGE_ADAPTER, POS, DiagnosticSeverity, SymbolKind, CompletionItemKind, _semanticModule, SemanticGrammarBridge, bridge, _fw, index;
29388
29479
  var init_dist = __esm({
29389
29480
  "../core/dist/index.mjs"() {
29390
29481
  "use strict";
@@ -33383,7 +33474,8 @@ var init_dist = __esm({
33383
33474
  "closest",
33384
33475
  "js",
33385
33476
  "tell",
33386
- "fetch"
33477
+ "fetch",
33478
+ "process"
33387
33479
  ];
33388
33480
  if (this.semanticAdapter && !skipSemanticParsing.includes(commandName.toLowerCase())) {
33389
33481
  const remainingInput = this.getRemainingInput();
@@ -35587,7 +35679,7 @@ var init_dist = __esm({
35587
35679
  return {
35588
35680
  description: this.impl.metadata?.description || "",
35589
35681
  examples: this.impl.metadata?.examples || [],
35590
- syntax: Array.isArray(syntax) ? syntax.join(" | ") : syntax || ""
35682
+ syntax: typeof syntax === "string" ? syntax : syntax ? syntax.join(" | ") : ""
35591
35683
  };
35592
35684
  }
35593
35685
  async execute(context, ...args) {
@@ -35655,10 +35747,8 @@ var init_dist = __esm({
35655
35747
  }
35656
35748
  }
35657
35749
  validate(input) {
35658
- if (this.impl.validate) {
35659
- return this.impl.validate(input);
35660
- }
35661
- return { isValid: true, errors: [], suggestions: [] };
35750
+ const isValid = this.impl.validate ? this.impl.validate(input) : true;
35751
+ return { isValid, errors: [], suggestions: [] };
35662
35752
  }
35663
35753
  };
35664
35754
  CommandRegistryV2 = class {
@@ -41261,7 +41351,7 @@ var init_dist = __esm({
41261
41351
  };
41262
41352
  }
41263
41353
  }
41264
- let useViewTransition = false;
41354
+ let useViewTransition = raw.modifiers?.viewTransition !== void 0;
41265
41355
  if (usingIndex !== -1) {
41266
41356
  const afterUsing = argKeywords.slice(usingIndex + 1);
41267
41357
  if (afterUsing.includes("view") && afterUsing.includes("transition")) {
@@ -41457,7 +41547,7 @@ var init_dist = __esm({
41457
41547
  const withIndex = argKeywords.findIndex((k) => k === "with");
41458
41548
  const overIndex = argKeywords.findIndex((k) => k === "over");
41459
41549
  const usingIndex = argKeywords.findIndex((k) => k === "using");
41460
- let useViewTransition = false;
41550
+ let useViewTransition = raw.modifiers?.viewTransition !== void 0;
41461
41551
  if (usingIndex !== -1) {
41462
41552
  const afterUsing = argKeywords.slice(usingIndex + 1);
41463
41553
  if (afterUsing.includes("view") && afterUsing.includes("transition")) {
@@ -41533,7 +41623,11 @@ var init_dist = __esm({
41533
41623
  })();
41534
41624
  _classThis.metadata = commandMeta({
41535
41625
  description: "Morph content into target elements (intelligent diffing, preserves state)",
41536
- syntax: ["morph <target> with <content>", "morph over <target> with <content>"],
41626
+ syntax: [
41627
+ "morph <target> with <content>",
41628
+ "morph over <target> with <content>",
41629
+ "morph <target> with <content> using view transition"
41630
+ ],
41537
41631
  examples: ["morph #target with it", "morph over #modal with fetchedContent"],
41538
41632
  sideEffects: ["dom-mutation"],
41539
41633
  category: "dom",
@@ -41672,24 +41766,32 @@ var init_dist = __esm({
41672
41766
  if (!args || args.length === 0) {
41673
41767
  throw new Error("process partials command requires content argument");
41674
41768
  }
41675
- const evaluatedArgs = [];
41676
- const argStrings = [];
41677
- for (const arg of args) {
41678
- const evaluated = await evaluator.evaluate(arg, context);
41679
- evaluatedArgs.push(evaluated);
41680
- if (typeof evaluated === "string") {
41681
- argStrings.push(evaluated.toLowerCase());
41682
- }
41683
- }
41684
- const partialsIndex = argStrings.findIndex((s) => s === "partials");
41769
+ const keywordOf = (node) => {
41770
+ const n = node;
41771
+ if (!n || typeof n !== "object")
41772
+ return null;
41773
+ if (n.type === "identifier" && typeof n.name === "string")
41774
+ return n.name.toLowerCase();
41775
+ if (n.type === "literal" && typeof n.value === "string")
41776
+ return n.value.toLowerCase();
41777
+ return null;
41778
+ };
41779
+ const keywords = args.map(keywordOf);
41780
+ const partialsIndex = keywords.indexOf("partials");
41781
+ const inIndex = keywords.indexOf("in");
41782
+ let contentNode;
41685
41783
  if (partialsIndex === -1) {
41686
- throw new Error('process command expects "partials" keyword: process partials in <content>');
41687
- }
41688
- const inIndex = argStrings.findIndex((s) => s === "in");
41689
- if (inIndex === -1 || inIndex <= partialsIndex) {
41690
- throw new Error('process partials command expects "in" keyword: process partials in <content>');
41784
+ if (inIndex !== -1) {
41785
+ throw new Error('process command expects "partials" keyword: process partials in <content>');
41786
+ }
41787
+ contentNode = args[0];
41788
+ } else {
41789
+ if (inIndex === -1 || inIndex <= partialsIndex) {
41790
+ throw new Error('process partials command expects "in" keyword: process partials in <content>');
41791
+ }
41792
+ contentNode = args[inIndex + 1];
41691
41793
  }
41692
- const contentArg = evaluatedArgs[inIndex + 1];
41794
+ const contentArg = contentNode ? await evaluator.evaluate(contentNode, context) : void 0;
41693
41795
  let html;
41694
41796
  if (typeof contentArg === "string") {
41695
41797
  html = contentArg;
@@ -41700,10 +41802,10 @@ var init_dist = __esm({
41700
41802
  } else {
41701
41803
  throw new Error("process partials: content must be an HTML string or element");
41702
41804
  }
41703
- const usingIndex = argStrings.findIndex((s) => s === "using");
41704
- let useViewTransition = false;
41805
+ let useViewTransition = raw.modifiers?.viewTransition !== void 0;
41806
+ const usingIndex = keywords.indexOf("using");
41705
41807
  if (usingIndex !== -1) {
41706
- const remaining = argStrings.slice(usingIndex + 1).join(" ");
41808
+ const remaining = keywords.slice(usingIndex + 1);
41707
41809
  if (remaining.includes("view") && remaining.includes("transition")) {
41708
41810
  useViewTransition = true;
41709
41811
  }
@@ -50726,7 +50828,6 @@ ${body}
50726
50828
  category: "dom-class",
50727
50829
  primaryRole: "patient",
50728
50830
  // `toggle .active on #btn for 2s` \u2192 args ['.active'], modifiers { on, for }.
50729
- // NOTE: `duration` is read here but not declared in `roles` below.
50730
50831
  ast: { args: ["patient"], modifiers: { on: "destination", for: "duration" } },
50731
50832
  roles: [
50732
50833
  {
@@ -51817,8 +51918,8 @@ ${body}
51817
51918
  description: "Take content from a source element",
51818
51919
  category: "dom-content",
51819
51920
  primaryRole: "patient",
51820
- // `take .active from #parent` \u2192 args ['.active'], modifiers { from: '#parent' }.
51821
- ast: { args: ["patient"], modifiers: { from: "source" } },
51921
+ // `take .active from #parent for me` \u2192 args ['.active'], modifiers { from, for }.
51922
+ ast: { args: ["patient"], modifiers: { from: "source", for: "recipient" } },
51822
51923
  roles: [
51823
51924
  {
51824
51925
  role: "patient",
@@ -51841,6 +51942,38 @@ ${body}
51841
51942
  expectedTypes: ["selector", "reference"],
51842
51943
  svoPosition: 2,
51843
51944
  sovPosition: 1
51945
+ },
51946
+ {
51947
+ role: "recipient",
51948
+ description: "The element the class moves ONTO (`take .active from .tab for me`)",
51949
+ required: false,
51950
+ // References only, deliberately. Upstream accepts an element expression,
51951
+ // but the 23 non-en corpus surfaces carry the recipient as a BARE
51952
+ // trailing pronoun (i18n renders `\u2026 von .tab-button ich`), so this slot
51953
+ // is marker-less almost everywhere and a selector-typed slot would
51954
+ // swallow the second selector of `take .active from .a .b`. English is
51955
+ // unaffected: `take` is on the core parser's skipSemanticParsing list,
51956
+ // so the traditional parser owns `for <anything>` there.
51957
+ expectedTypes: ["reference"],
51958
+ svoPosition: 3,
51959
+ sovPosition: 3,
51960
+ // NO default. The runtime already defaults the recipient to `me`
51961
+ // (commands/animation/take.ts), and a schema default would emit an
51962
+ // explicit `for me` modifier on every take \u2014 re-smuggling the exact
51963
+ // "absent means absent" semantics #859 removed from `source`.
51964
+ //
51965
+ // Shape-anchored on `reference`: without it this optional slot weighs
51966
+ // into every take pattern's denominator in `scoreRoleCoverage`, dropping
51967
+ // plain `take .active from .tab-button` from 1.0 to ~0.69 \u2014 the toggle-es
51968
+ // regression class the R1 role-set flip ratchet exists to catch.
51969
+ valueShape: "reference",
51970
+ // en only. The other 23 languages render the recipient unmarked, so a
51971
+ // marker there would never match their corpus rows; where the marker-less
51972
+ // slot proves inert they stay uncaptured and the pattern lands in the
51973
+ // baseline's `roleLossyPatterns` as named R1 burn-down tail. A language
51974
+ // gets a real particle here ONLY if the empty slot perturbs its other
51975
+ // parses (toggle's ja \u9593 / ko \ub3d9\uc548 case).
51976
+ markerOverride: { en: "for" }
51844
51977
  }
51845
51978
  ]
51846
51979
  };
@@ -52905,6 +53038,47 @@ ${body}
52905
53038
  }
52906
53039
  ]
52907
53040
  };
53041
+ USING_VIEW_MARKER_ALL_LANGS = {
53042
+ en: "using view",
53043
+ es: "using view",
53044
+ pt: "using view",
53045
+ fr: "using view",
53046
+ de: "using view",
53047
+ it: "using view",
53048
+ ja: "using view",
53049
+ ko: "using view",
53050
+ zh: "using view",
53051
+ ar: "using view",
53052
+ he: "using view",
53053
+ hi: "using view",
53054
+ bn: "using view",
53055
+ tr: "using view",
53056
+ ru: "using view",
53057
+ uk: "using view",
53058
+ pl: "using view",
53059
+ id: "using view",
53060
+ vi: "using view",
53061
+ th: "using view",
53062
+ ms: "using view",
53063
+ tl: "using view",
53064
+ sw: "using view",
53065
+ qu: "using view"
53066
+ };
53067
+ VIEW_TRANSITION_MANNER_ROLE = {
53068
+ role: "manner",
53069
+ description: "Run the swap inside a `document.startViewTransition()` (`using view transition`)",
53070
+ required: false,
53071
+ // Both types, because the SAME word tokenizes differently per language and
53072
+ // the difference is an accident of vocabulary: `transition` is a command
53073
+ // keyword in en/fr (it is also their verb) and a bare identifier everywhere
53074
+ // else, which types it `literal` in the first group and `expression` in the
53075
+ // second. Measured: with `['literal']` alone only en and fr captured the
53076
+ // tail. Widening is safe precisely because the slot is marker-guarded \u2014
53077
+ // nothing reaches it until `using view` has matched.
53078
+ expectedTypes: ["literal", "expression"],
53079
+ valueShape: "keyword",
53080
+ markerOverride: USING_VIEW_MARKER_ALL_LANGS
53081
+ };
52908
53082
  swapSchema = {
52909
53083
  action: "swap",
52910
53084
  description: "Swap DOM content using various strategies (innerHTML, outerHTML, delete, etc.)",
@@ -52925,7 +53099,11 @@ ${body}
52925
53099
  // work. Preserved verbatim by the Arc F migration (a faithful migration must
52926
53100
  // not change output) and pinned as two `drift` exemptions; this is the
52927
53101
  // behavior fix those entries were waiting for.
52928
- ast: { args: ["method", "destination", "patient"] },
53102
+ //
53103
+ // `manner` is the exception to "keyword-positional args": it rides as
53104
+ // `modifiers.viewTransition`, which SwapCommand.parseInput reads for presence
53105
+ // alongside its existing flat-args `using`/`view`/`transition` scan.
53106
+ ast: { args: ["method", "destination", "patient"], modifiers: { viewTransition: "manner" } },
52929
53107
  roles: [
52930
53108
  {
52931
53109
  role: "method",
@@ -53020,6 +53198,11 @@ ${body}
53020
53198
  ar: "\u0628\u0640",
53021
53199
  tl: "nang"
53022
53200
  }
53201
+ },
53202
+ {
53203
+ ...VIEW_TRANSITION_MANNER_ROLE,
53204
+ svoPosition: 4,
53205
+ sovPosition: 4
53023
53206
  }
53024
53207
  ]
53025
53208
  };
@@ -53030,7 +53213,15 @@ ${body}
53030
53213
  primaryRole: "patient",
53031
53214
  // `morph #list to it` \u2192 args [content], modifiers { on: element }.
53032
53215
  // Content is source or destination; the element being morphed is the patient.
53033
- ast: { args: [["source", "destination"]], modifiers: { on: "patient" } },
53216
+ //
53217
+ // `manner` rides as `modifiers.viewTransition`, same as swap/process \u2014
53218
+ // MorphCommand.parseInput reads it for presence alongside its existing
53219
+ // flat-args `using`/`view`/`transition` scan (the traditional-parser path,
53220
+ // which owns English because morph sits on SKIP_SEMANTIC_COMMANDS).
53221
+ ast: {
53222
+ args: [["source", "destination"]],
53223
+ modifiers: { on: "patient", viewTransition: "manner" }
53224
+ },
53034
53225
  roles: [
53035
53226
  {
53036
53227
  role: "patient",
@@ -53051,6 +53242,18 @@ ${body}
53051
53242
  sovPosition: 2,
53052
53243
  markerOverride: { en: "to" }
53053
53244
  // "morph #target to it"
53245
+ },
53246
+ {
53247
+ // `morph #target to it using view transition` \u2014 the same tail as swap and
53248
+ // process, closed here for the same reason (#870's third-schema filing):
53249
+ // without the role the semantic parser matched morph at confidence 1.0
53250
+ // and stranded the tail, so every semantic-only consumer (multilingual
53251
+ // bundles, the bridge, `translate()`) silently dropped the animation
53252
+ // request in all 24 languages. Morph has NO hand-written patterns in any
53253
+ // language, so this schema role is the whole fix on the pattern side.
53254
+ ...VIEW_TRANSITION_MANNER_ROLE,
53255
+ svoPosition: 3,
53256
+ sovPosition: 3
53054
53257
  }
53055
53258
  ]
53056
53259
  };
@@ -53237,6 +53440,13 @@ ${body}
53237
53440
  description: "Process hx-partial markup in HTML content",
53238
53441
  category: "dom-content",
53239
53442
  primaryRole: "patient",
53443
+ // `process partials in it` \u2192 args ['it']; the optional tail rides as
53444
+ // `modifiers.viewTransition`, which ProcessPartialsCommand.parseInput has
53445
+ // read since #861 (`raw.modifiers?.viewTransition !== undefined`). Without a
53446
+ // descriptor this schema fell through to `buildGenericCommand`, whose
53447
+ // modifier list is fixed (destination/duration/method/style) and would have
53448
+ // dropped a captured `manner` on the floor.
53449
+ ast: { args: ["patient"], modifiers: { viewTransition: "manner" } },
53240
53450
  roles: [
53241
53451
  {
53242
53452
  role: "patient",
@@ -53246,6 +53456,11 @@ ${body}
53246
53456
  svoPosition: 1,
53247
53457
  sovPosition: 1,
53248
53458
  markerOverride: PARTIALS_IN_MARKER_ALL_LANGS
53459
+ },
53460
+ {
53461
+ ...VIEW_TRANSITION_MANNER_ROLE,
53462
+ svoPosition: 2,
53463
+ sovPosition: 2
53249
53464
  }
53250
53465
  ]
53251
53466
  };
@@ -54674,7 +54889,9 @@ ${body}
54674
54889
  trigger: { primary: "d\xE9clencher", normalized: "trigger" },
54675
54890
  send: { primary: "envoyer", alternatives: ["envoie"], normalized: "send" },
54676
54891
  focus: { primary: "focaliser", alternatives: ["concentrer"], normalized: "focus" },
54677
- blur: { primary: "d\xE9focaliser", normalized: "blur" },
54892
+ // `d\u00e9focaliser` is an unattested infinitive; French pedagogy writes
54893
+ // `perte de focus` for the event (2026-07 terminology review).
54894
+ blur: { primary: "perte de focus", alternatives: ["d\xE9focaliser"], normalized: "blur" },
54678
54895
  // Phase 1 (v0.9.90): DOM / form state / debug
54679
54896
  // `vide` (adjective, "empty") is the i18n transformer's `is empty` predicate
54680
54897
  // form; `vider` is the verb ("to empty"). Accept both so the emptiness check
@@ -54687,7 +54904,13 @@ ${body}
54687
54904
  reset: { primary: "r\xE9initialiser", alternatives: ["reinitialiser"], normalized: "reset" },
54688
54905
  breakpoint: { primary: "point-arr\xEAt", alternatives: ["point-arret"], normalized: "breakpoint" },
54689
54906
  go: { primary: "aller", alternatives: ["naviguer", "va"], normalized: "go" },
54690
- scroll: { primary: "d\xE9filer", alternatives: ["faire-d\xE9filer"], normalized: "scroll" },
54907
+ // MDN fr and the OQLF standardize the noun `d\u00e9filement` for the event; the
54908
+ // infinitive stays as an alternative.
54909
+ scroll: {
54910
+ primary: "d\xE9filement",
54911
+ alternatives: ["defilement", "d\xE9filer", "faire-d\xE9filer"],
54912
+ normalized: "scroll"
54913
+ },
54691
54914
  push: { primary: "pousser", normalized: "push" },
54692
54915
  replace: { primary: "remplacer", normalized: "replace" },
54693
54916
  process: { primary: "traiter", normalized: "process" },
@@ -54753,9 +54976,15 @@ ${body}
54753
54976
  after: { primary: "apr\xE8s", normalized: "after" },
54754
54977
  // Common event names (for event handler patterns)
54755
54978
  click: { primary: "clic", alternatives: ["clique"], normalized: "click" },
54756
- // `resize` event (window-resize): dict emits redimensionner; register it so the
54757
- // event types as literal="resize" (matching en) instead of expression.
54758
- resize: { primary: "redimensionner", normalized: "resize" },
54979
+ // `resize` event (window-resize): the noun `redimensionnement` is the
54980
+ // attested event form ("lors du redimensionnement de la fen\u00eatre"). The dict
54981
+ // still emits redimensionner, kept as an alternative so the event keeps
54982
+ // typing as literal="resize" (matching en) instead of expression.
54983
+ resize: {
54984
+ primary: "redimensionnement",
54985
+ alternatives: ["redimensionner"],
54986
+ normalized: "resize"
54987
+ },
54759
54988
  hover: { primary: "survol", alternatives: ["survoler"], normalized: "hover" },
54760
54989
  submit: { primary: "soumission", alternatives: ["soumettre"], normalized: "submit" },
54761
54990
  input: { primary: "saisie", alternatives: ["entr\xE9e"], normalized: "input" },
@@ -58493,9 +58722,17 @@ ${body}
58493
58722
  on: { primary: "\xFCzerinde", alternatives: ["zaman"], normalized: "on" },
58494
58723
  trigger: { primary: "tetikle", normalized: "trigger" },
58495
58724
  send: { primary: "g\xF6nder", normalized: "send" },
58496
- // DOM focus
58497
- focus: { primary: "odak", alternatives: ["odaklanma"], normalized: "focus" },
58498
- blur: { primary: "bulan\u0131k", alternatives: ["bulan\u0131kl\u0131k", "bulanik"], normalized: "blur" },
58725
+ // DOM focus. `odaklanma` (the act of focusing) leads over the static state
58726
+ // noun `odak` \u2014 Turkish event prose says "odaklanma olay\u0131". `bulan\u0131k` was
58727
+ // the optical blur (CSS filters, image processing), never the DOM event;
58728
+ // native usage is `odak kayb\u0131` (loss of focus). 2026-07 terminology-review
58729
+ // corrections; old forms stay as parse alternatives.
58730
+ focus: { primary: "odaklanma", alternatives: ["odak"], normalized: "focus" },
58731
+ blur: {
58732
+ primary: "odak kayb\u0131",
58733
+ alternatives: ["odak kaybi", "bulan\u0131k", "bulan\u0131kl\u0131k", "bulanik"],
58734
+ normalized: "blur"
58735
+ },
58499
58736
  // Phase 1 (v0.9.90): DOM / form state / debug
58500
58737
  empty: { primary: "bo\u015Falt", alternatives: ["bosalt", "bo\u015F"], normalized: "empty" },
58501
58738
  open: { primary: "a\xE7", alternatives: ["ac"], normalized: "open" },
@@ -58516,7 +58753,9 @@ ${body}
58516
58753
  },
58517
58754
  hover: { primary: "\xFCzerine gelme", alternatives: ["\xFCzerinde gezinme"], normalized: "hover" },
58518
58755
  submit: { primary: "g\xF6nderme", normalized: "submit" },
58519
- input: { primary: "giri\u015F", alternatives: ["girdi", "giris"], normalized: "input" },
58756
+ // `giri\u015f` reads as entry/login (giri\u015f yapma) and can imply an auth event;
58757
+ // the data-input term is `girdi` ("Girdi (Input) Eventleri").
58758
+ input: { primary: "girdi", alternatives: ["giri\u015F", "giris"], normalized: "input" },
58520
58759
  change: { primary: "de\u011Fi\u015Fiklik", alternatives: ["de\u011Fi\u015Fim", "degisim"], normalized: "change" },
58521
58760
  // `load` event: the i18n dict emits y\u00fckle for `load`. Without this keyword the
58522
58761
  // SOV reorder's mid-stream `y\u00fckle de` (on load) tokenized as the `install`
@@ -58526,7 +58765,13 @@ ${body}
58526
58765
  load: { primary: "y\xFCkle", normalized: "load" },
58527
58766
  // Navigation
58528
58767
  go: { primary: "git", normalized: "go" },
58529
- scroll: { primary: "kayd\u0131r", alternatives: ["kaydir"], normalized: "scroll" },
58768
+ // `kayd\u0131r` is the bare imperative; the attested event noun is `kayd\u0131rma`
58769
+ // ("kayd\u0131rma olay\u0131"). The imperative stays as an alternative.
58770
+ scroll: {
58771
+ primary: "kayd\u0131rma",
58772
+ alternatives: ["kaydirma", "kayd\u0131r", "kaydir"],
58773
+ normalized: "scroll"
58774
+ },
58530
58775
  push: { primary: "itele", alternatives: ["push"], normalized: "push" },
58531
58776
  replace: { primary: "de\u011Fi\u015Ftir_url", alternatives: ["degistir_url"], normalized: "replace" },
58532
58777
  process: { primary: "i\u015Fle", alternatives: ["isle"], normalized: "process" },
@@ -59469,6 +59714,20 @@ ${body}
59469
59714
  };
59470
59715
  }
59471
59716
  });
59717
+ init_marker_resolution = __esm2({
59718
+ "src/parser/utils/marker-resolution.ts"() {
59719
+ ROLE_MARKER_CONCEPTS = /* @__PURE__ */ new Set([
59720
+ "destination",
59721
+ "source",
59722
+ "patient",
59723
+ "object",
59724
+ "event",
59725
+ "eventmarker",
59726
+ "manner",
59727
+ "instrument"
59728
+ ]);
59729
+ }
59730
+ });
59472
59731
  init_put = __esm2({
59473
59732
  "src/patterns/put.ts"() {
59474
59733
  PUT_POSITIONAL = [
@@ -70505,10 +70764,6 @@ ${body}
70505
70764
  "src/parser/utils/role-positioning.ts"() {
70506
70765
  }
70507
70766
  });
70508
- init_marker_resolution = __esm2({
70509
- "src/parser/utils/marker-resolution.ts"() {
70510
- }
70511
- });
70512
70767
  init_event_handlers_sov = __esm2({
70513
70768
  "src/generators/event-handlers-sov.ts"() {
70514
70769
  init_command_schemas();
@@ -70662,6 +70917,21 @@ ${body}
70662
70917
  });
70663
70918
  init_swap = __esm2({
70664
70919
  "src/patterns/languages/en/swap.ts"() {
70920
+ VIEW_TRANSITION_TAIL = {
70921
+ type: "group",
70922
+ optional: true,
70923
+ tokens: [
70924
+ { type: "literal", value: "using" },
70925
+ { type: "literal", value: "view" },
70926
+ {
70927
+ type: "role",
70928
+ role: "manner",
70929
+ optional: true,
70930
+ expectedTypes: ["literal", "expression"],
70931
+ valueShape: "keyword"
70932
+ }
70933
+ ]
70934
+ };
70665
70935
  swapSimpleEnglish = {
70666
70936
  id: "swap-en-handcrafted",
70667
70937
  language: "en",
@@ -70669,11 +70939,12 @@ ${body}
70669
70939
  priority: 110,
70670
70940
  // Higher than generated patterns
70671
70941
  template: {
70672
- format: "swap {method} {destination}",
70942
+ format: "swap {method} {destination} [using view {manner}]",
70673
70943
  tokens: [
70674
70944
  { type: "literal", value: "swap" },
70675
70945
  { type: "role", role: "method" },
70676
- { type: "role", role: "destination" }
70946
+ { type: "role", role: "destination" },
70947
+ VIEW_TRANSITION_TAIL
70677
70948
  ]
70678
70949
  },
70679
70950
  extraction: {
@@ -70687,12 +70958,13 @@ ${body}
70687
70958
  command: "swap",
70688
70959
  priority: 120,
70689
70960
  template: {
70690
- format: "swap {destination} with {patient}",
70961
+ format: "swap {destination} with {patient} [using view {manner}]",
70691
70962
  tokens: [
70692
70963
  { type: "literal", value: "swap" },
70693
70964
  { type: "role", role: "destination" },
70694
70965
  { type: "literal", value: "with" },
70695
- { type: "role", role: "patient" }
70966
+ { type: "role", role: "patient" },
70967
+ VIEW_TRANSITION_TAIL
70696
70968
  ]
70697
70969
  },
70698
70970
  extraction: {}
@@ -70703,14 +70975,15 @@ ${body}
70703
70975
  command: "swap",
70704
70976
  priority: 140,
70705
70977
  template: {
70706
- format: "swap {method} of {destination} with {patient}",
70978
+ format: "swap {method} of {destination} with {patient} [using view {manner}]",
70707
70979
  tokens: [
70708
70980
  { type: "literal", value: "swap" },
70709
70981
  { type: "role", role: "method" },
70710
70982
  { type: "literal", value: "of" },
70711
70983
  { type: "role", role: "destination" },
70712
70984
  { type: "literal", value: "with" },
70713
- { type: "role", role: "patient" }
70985
+ { type: "role", role: "patient" },
70986
+ VIEW_TRANSITION_TAIL
70714
70987
  ]
70715
70988
  },
70716
70989
  extraction: {}
@@ -70721,13 +70994,14 @@ ${body}
70721
70994
  command: "swap",
70722
70995
  priority: 130,
70723
70996
  template: {
70724
- format: "swap {method} {destination} with {patient}",
70997
+ format: "swap {method} {destination} with {patient} [using view {manner}]",
70725
70998
  tokens: [
70726
70999
  { type: "literal", value: "swap" },
70727
71000
  { type: "role", role: "method" },
70728
71001
  { type: "role", role: "destination" },
70729
71002
  { type: "literal", value: "with" },
70730
- { type: "role", role: "patient" }
71003
+ { type: "role", role: "patient" },
71004
+ VIEW_TRANSITION_TAIL
70731
71005
  ]
70732
71006
  },
70733
71007
  extraction: {}
@@ -72329,6 +72603,7 @@ ${body}
72329
72603
  vi: vietnameseProfile,
72330
72604
  zh: chineseProfile
72331
72605
  });
72606
+ init_marker_resolution();
72332
72607
  init_command_schemas();
72333
72608
  init_english();
72334
72609
  init_command_schemas();
@@ -72579,7 +72854,8 @@ ${body}
72579
72854
  const hasDefault = (role) => {
72580
72855
  return pattern.extraction?.[role]?.default !== void 0;
72581
72856
  };
72582
- const schemaRoles = commandSchemas[pattern.command]?.roles;
72857
+ const wrappedAction = pattern.command === "on" ? pattern.extraction?.action?.value : void 0;
72858
+ const schemaRoles = commandSchemas[wrappedAction ?? pattern.command]?.roles;
72583
72859
  const isShapeAnchored = (role) => schemaRoles?.find((r) => r.role === role)?.valueShape !== void 0;
72584
72860
  for (const token of pattern.template.tokens) {
72585
72861
  if (token.type === "role") {
@@ -72972,7 +73248,7 @@ ${body}
72972
73248
  return patternToken.optional || false;
72973
73249
  }
72974
73250
  }
72975
- if (patternToken.optional && nextPatternToken === void 0 && patternToken.role !== "event" && patternToken.role !== "action" && token.kind === "keyword") {
73251
+ if (patternToken.optional && nextPatternToken === void 0 && patternToken.role !== "event" && patternToken.role !== "action" && patternToken.valueShape !== "keyword" && token.kind === "keyword") {
72976
73252
  const verbNorm = (token.normalized ?? token.value).toLowerCase();
72977
73253
  if (verbNorm in commandSchemas) {
72978
73254
  return true;
@@ -73127,7 +73403,11 @@ ${body}
73127
73403
  }
73128
73404
  }
73129
73405
  }
73130
- captured.set(patternToken.role, value);
73406
+ if (patternToken.valueShape === "keyword" && value.type === "expression") {
73407
+ captured.set(patternToken.role, createLiteral(String(value.raw ?? "")));
73408
+ } else {
73409
+ captured.set(patternToken.role, value);
73410
+ }
73131
73411
  tokens.advance();
73132
73412
  if (patternToken.role === "event") {
73133
73413
  const filterTok = tokens.peek();
@@ -73716,17 +73996,7 @@ ${body}
73716
73996
  * so this never blocks a genuine `my value` / `its style` possessive.
73717
73997
  */
73718
73998
  isRoleMarkerConcept(normalized2) {
73719
- const markerConcepts = /* @__PURE__ */ new Set([
73720
- "destination",
73721
- "source",
73722
- "patient",
73723
- "object",
73724
- "event",
73725
- "eventmarker",
73726
- "manner",
73727
- "instrument"
73728
- ]);
73729
- return markerConcepts.has(normalized2.toLowerCase());
73999
+ return ROLE_MARKER_CONCEPTS.has(normalized2.toLowerCase());
73730
74000
  }
73731
74001
  /**
73732
74002
  * Does `token` look like an EVENT name for the `event` role? Events are bare
@@ -74112,7 +74382,7 @@ ${body}
74112
74382
  */
74113
74383
  matchGroupToken(tokens, patternToken, captured, nextPatternToken) {
74114
74384
  const mark = tokens.mark();
74115
- const capturedBefore = new Set(captured.keys());
74385
+ const capturedBefore = new Map(captured);
74116
74386
  const success = this.matchTokenSequence(
74117
74387
  tokens,
74118
74388
  patternToken.tokens,
@@ -74126,6 +74396,11 @@ ${body}
74126
74396
  captured.delete(role);
74127
74397
  }
74128
74398
  }
74399
+ for (const [role, value] of capturedBefore) {
74400
+ if (captured.get(role) !== value) {
74401
+ captured.set(role, value);
74402
+ }
74403
+ }
74129
74404
  return patternToken.optional || false;
74130
74405
  }
74131
74406
  return true;
@@ -74397,6 +74672,7 @@ ${body}
74397
74672
  init_base();
74398
74673
  init_registry();
74399
74674
  init_command_schemas();
74675
+ init_marker_resolution();
74400
74676
  init_registry();
74401
74677
  OPENER_ACTIONS = ["if", "unless", "repeat", "for", "while"];
74402
74678
  PASCAL_CASE_NAME = /^[A-Z][A-Za-z0-9_]*$/;
@@ -75714,13 +75990,18 @@ ${body}
75714
75990
  if (!spec) return true;
75715
75991
  return spec.expectedTypes.length > 0 && !spec.expectedTypes.includes(valType(val));
75716
75992
  };
75993
+ const isMarkerConceptJunk = (role, val) => role === "patient" && !!schema && !schema.roles.some((r) => r.role === "patient") && valType(val) === "literal" && ROLE_MARKER_CONCEPTS.has(
75994
+ String(val.value ?? "").toLowerCase()
75995
+ );
75717
75996
  const preservesFused = !!first && first.kind === "command" && Object.entries(roles).every(([role, val]) => {
75718
- if (isIgnorableFusedRole(role, val)) return true;
75997
+ if (isIgnorableFusedRole(role, val) || isMarkerConceptJunk(role, val)) return true;
75719
75998
  const rv = first.roles.get(mapRole(role));
75720
75999
  if (rv !== void 0 && valType(rv) === valType(val)) return true;
75721
76000
  if (role === "patient" && actionName === "pick" && valType(val) === "literal") {
75722
76001
  const mv = first.roles.get("method");
75723
- return mv !== void 0 && valType(mv) === "literal" && String(mv.value) === String(val.value);
76002
+ const mvType = valType(mv);
76003
+ const mvSurface = mvType === "literal" ? String(mv.value) : mvType === "expression" ? String(mv.raw) : void 0;
76004
+ return mvSurface !== void 0 && mvSurface === String(val.value);
75724
76005
  }
75725
76006
  return false;
75726
76007
  });
@@ -75730,7 +76011,12 @@ ${body}
75730
76011
  // the swap can never swallow a body command. The body-swallowing
75731
76012
  // generated repeat matches none of these ids.
75732
76013
  /^repeat-.*-(times|for-in|while-head|until-head)$/.test(reparsePid);
75733
- if (reparsed.length === 1 && first && first.kind === "command" && first.action === actionName && preservesFused && headOnlyOk && first.roles.size > Object.keys(roles).length) {
76014
+ if (reparsed.length === 1 && first && first.kind === "command" && first.action === actionName && preservesFused && headOnlyOk && // Strictly-more: the re-parse must recover something the fused
76015
+ // capture lacked. Junk marker captures are excluded from the
76016
+ // count \u2014 a fused shape whose ONLY role is a swallowed marker
76017
+ // (scroll: `destination:literal="destination"`) would otherwise
76018
+ // tie 1 > 1 and veto its own repair.
76019
+ first.roles.size > Object.entries(roles).filter(([r, v2]) => !isMarkerConceptJunk(r, v2)).length) {
75734
76020
  commandNode = first;
75735
76021
  while (tokens.position() < clauseEnd) tokens.advance();
75736
76022
  } else {
@@ -78817,6 +79103,12 @@ ${body}
78817
79103
  init_event_handler();
78818
79104
  init_wait();
78819
79105
  init_repeat();
79106
+ PICK_UNIT_WORDS = /* @__PURE__ */ new Set(["character", "characters", "item", "items"]);
79107
+ retypePickUnitWord = (raw) => {
79108
+ if (PICK_UNIT_WORDS.has(raw)) return { type: "expression", raw };
79109
+ const n = Number(raw);
79110
+ return createLiteral(raw !== "" && !Number.isNaN(n) ? n : raw);
79111
+ };
78820
79112
  VERB_INITIAL_SPECS = {
78821
79113
  ar: { srcMarker: "\u0645\u0646" },
78822
79114
  de: { srcMarker: "von", srcAlternatives: ["aus"] },