@jxsuite/studio 1.3.0 → 1.5.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/studio.js CHANGED
@@ -80512,7 +80512,8 @@ function createDOMPurify() {
80512
80512
  ;
80513
80513
  else if (value) {
80514
80514
  return false;
80515
- }
80515
+ } else
80516
+ ;
80516
80517
  return true;
80517
80518
  };
80518
80519
  const _isBasicCustomElement = function _isBasicCustomElement2(tagName) {
@@ -135662,7 +135663,8 @@ var init_snippetSession2 = __esm(() => {
135662
135663
  } else if (fwd === false && this._placeholderGroupsIdx > 0) {
135663
135664
  this._placeholderGroupsIdx -= 1;
135664
135665
  couldSkipThisPlaceholder = true;
135665
- }
135666
+ } else
135667
+ ;
135666
135668
  const newSelections = this._editor.getModel().changeDecorations((accessor) => {
135667
135669
  const activePlaceholders = new Set;
135668
135670
  const selections = [];
@@ -193865,6 +193867,19 @@ var init_schema = __esm(() => {
193865
193867
  ],
193866
193868
  type: "string"
193867
193869
  },
193870
+ arguments: {
193871
+ description: "Legacy alias for parameters: bare string parameter names (state may be listed explicitly as the first name). Superseded by parameters.",
193872
+ examples: [
193873
+ [
193874
+ "state",
193875
+ "event"
193876
+ ]
193877
+ ],
193878
+ items: {
193879
+ type: "string"
193880
+ },
193881
+ type: "array"
193882
+ },
193868
193883
  body: {
193869
193884
  description: "Inline function body: an opaque JS source string (first implicit parameter is state), or a structured statement array (spec §20) — explicit structured function declaration, analyzable by tooling and editable visually. The escalation ladder within the shape is structured statements → JS string.",
193870
193885
  examples: [
@@ -194013,6 +194028,9 @@ var init_schema = __esm(() => {
194013
194028
  $studio: {
194014
194029
  $ref: "#/$defs/StudioHints"
194015
194030
  },
194031
+ connector: {
194032
+ $ref: "#/$defs/ConnectorBlockDef"
194033
+ },
194016
194034
  description: {
194017
194035
  type: "string"
194018
194036
  },
@@ -194038,6 +194056,12 @@ var init_schema = __esm(() => {
194038
194056
  format: {
194039
194057
  $ref: "#/$defs/FormatDef"
194040
194058
  },
194059
+ project: {
194060
+ $ref: "#/$defs/ProjectBlockDef"
194061
+ },
194062
+ server: {
194063
+ $ref: "#/$defs/ServerBlockDef"
194064
+ },
194041
194065
  title: {
194042
194066
  description: "PascalCase class name, used as the export name.",
194043
194067
  type: "string"
@@ -194249,7 +194273,17 @@ var init_schema = __esm(() => {
194249
194273
  "parse",
194250
194274
  "serialize",
194251
194275
  "discover",
194252
- "load"
194276
+ "load",
194277
+ "projectData",
194278
+ "resolvePaths",
194279
+ "lower",
194280
+ "emit",
194281
+ "assets",
194282
+ "mount",
194283
+ "dialect",
194284
+ "deploySchema",
194285
+ "bindings",
194286
+ "testConnection"
194253
194287
  ],
194254
194288
  type: "string"
194255
194289
  },
@@ -194328,6 +194362,90 @@ var init_schema = __esm(() => {
194328
194362
  ],
194329
194363
  type: "object"
194330
194364
  },
194365
+ ProjectBlockDef: {
194366
+ additionalProperties: false,
194367
+ description: "Project-section admission block (specs/extensions.md §9). A class carrying this block owns the project.json section named by `key`; hosts dispatch that section's data through the class's projectData/resolvePaths capabilities.",
194368
+ properties: {
194369
+ description: {
194370
+ type: "string"
194371
+ },
194372
+ key: {
194373
+ description: "The project.json top-level section this class owns (exclusive per project).",
194374
+ type: "string"
194375
+ },
194376
+ referenceable: {
194377
+ description: "Whether section entries can be referenced from documents (e.g. content types).",
194378
+ type: "boolean"
194379
+ },
194380
+ title: {
194381
+ type: "string"
194382
+ }
194383
+ },
194384
+ required: [
194385
+ "key"
194386
+ ],
194387
+ type: "object"
194388
+ },
194389
+ ServerBlockDef: {
194390
+ additionalProperties: false,
194391
+ description: "Server-mount admission block (specs/extensions.md §11). A class carrying this block mounts routes under its /_jx/ basePath in the site worker and dev server.",
194392
+ properties: {
194393
+ basePath: {
194394
+ description: "Route subtree this class mounts — must be under /_jx/ (exclusive per project).",
194395
+ examples: [
194396
+ "/_jx/data",
194397
+ "/_jx/auth"
194398
+ ],
194399
+ type: "string"
194400
+ },
194401
+ module: {
194402
+ description: "Module specifier exporting the mount handler.",
194403
+ type: "string"
194404
+ },
194405
+ order: {
194406
+ description: "Mount order (ascending; default 100).",
194407
+ type: "number"
194408
+ }
194409
+ },
194410
+ required: [
194411
+ "basePath"
194412
+ ],
194413
+ type: "object"
194414
+ },
194415
+ ConnectorBlockDef: {
194416
+ description: "Connection-provider admission block (specs/extensions.md §12). A class carrying this block provides database connections of the given provider/kind.",
194417
+ properties: {
194418
+ kind: {
194419
+ description: "SQL dialect family the provider speaks.",
194420
+ enum: [
194421
+ "sqlite",
194422
+ "postgres"
194423
+ ],
194424
+ type: "string"
194425
+ },
194426
+ local: {
194427
+ description: "Local-development substitute provider (e.g. sqlite for D1).",
194428
+ type: "string"
194429
+ },
194430
+ module: {
194431
+ description: "Module specifier exporting the provider implementation.",
194432
+ type: "string"
194433
+ },
194434
+ provider: {
194435
+ description: "Provider identifier (e.g. d1, supabase, sqlite).",
194436
+ type: "string"
194437
+ },
194438
+ serve: {
194439
+ description: "Module specifier exporting the serve-time worker binding.",
194440
+ type: "string"
194441
+ }
194442
+ },
194443
+ required: [
194444
+ "provider",
194445
+ "kind"
194446
+ ],
194447
+ type: "object"
194448
+ },
194331
194449
  StudioHints: {
194332
194450
  description: "Studio control-surface hints for a format class: editor modes, document-mode rules, templates, and the element/nesting constraints that gate structural editing.",
194333
194451
  properties: {
@@ -194583,7 +194701,23 @@ var init_schema = __esm(() => {
194583
194701
  type: "boolean"
194584
194702
  },
194585
194703
  sort: {
194586
- $ref: "#/$defs/RefObject"
194704
+ anyOf: [
194705
+ {
194706
+ $ref: "#/$defs/RefObject"
194707
+ },
194708
+ {
194709
+ description: "A single sort rule, e.g. { field, order }.",
194710
+ type: "object"
194711
+ },
194712
+ {
194713
+ description: 'Ordered sort rules, e.g. [{ field: "date", order: "desc" }].',
194714
+ items: {
194715
+ type: "object"
194716
+ },
194717
+ type: "array"
194718
+ }
194719
+ ],
194720
+ description: "Sort configuration: a reactive $ref binding, a single { field, order } rule, or an ordered array of rules."
194587
194721
  },
194588
194722
  src: {
194589
194723
  description: "Configuration property passed to external class constructor.",
@@ -195262,6 +195396,20 @@ var init_schema = __esm(() => {
195262
195396
  attributes: {
195263
195397
  $ref: "#/$defs/AttributesObject"
195264
195398
  },
195399
+ cases: {
195400
+ additionalProperties: {
195401
+ oneOf: [
195402
+ {
195403
+ $ref: "#/$defs/ElementDef"
195404
+ },
195405
+ {
195406
+ $ref: "#/$defs/ExternalComponentRef"
195407
+ }
195408
+ ]
195409
+ },
195410
+ description: "Switch cases for this element. Maps case values to element definitions or external component refs, rendered according to the reactive $switch discriminant.",
195411
+ type: "object"
195412
+ },
195265
195413
  checked: {
195266
195414
  $ref: "#/$defs/BoolOrRef"
195267
195415
  },
@@ -195341,6 +195489,9 @@ var init_schema = __esm(() => {
195341
195489
  },
195342
195490
  {
195343
195491
  $ref: "#/$defs/ExpressionEntry"
195492
+ },
195493
+ {
195494
+ $ref: "#/$defs/FunctionDef"
195344
195495
  }
195345
195496
  ]
195346
195497
  },
@@ -195352,6 +195503,9 @@ var init_schema = __esm(() => {
195352
195503
  },
195353
195504
  {
195354
195505
  $ref: "#/$defs/ExpressionEntry"
195506
+ },
195507
+ {
195508
+ $ref: "#/$defs/FunctionDef"
195355
195509
  }
195356
195510
  ]
195357
195511
  },
@@ -195363,6 +195517,9 @@ var init_schema = __esm(() => {
195363
195517
  },
195364
195518
  {
195365
195519
  $ref: "#/$defs/ExpressionEntry"
195520
+ },
195521
+ {
195522
+ $ref: "#/$defs/FunctionDef"
195366
195523
  }
195367
195524
  ]
195368
195525
  },
@@ -195374,6 +195531,9 @@ var init_schema = __esm(() => {
195374
195531
  },
195375
195532
  {
195376
195533
  $ref: "#/$defs/ExpressionEntry"
195534
+ },
195535
+ {
195536
+ $ref: "#/$defs/FunctionDef"
195377
195537
  }
195378
195538
  ]
195379
195539
  },
@@ -195385,6 +195545,9 @@ var init_schema = __esm(() => {
195385
195545
  },
195386
195546
  {
195387
195547
  $ref: "#/$defs/ExpressionEntry"
195548
+ },
195549
+ {
195550
+ $ref: "#/$defs/FunctionDef"
195388
195551
  }
195389
195552
  ]
195390
195553
  },
@@ -195396,6 +195559,9 @@ var init_schema = __esm(() => {
195396
195559
  },
195397
195560
  {
195398
195561
  $ref: "#/$defs/ExpressionEntry"
195562
+ },
195563
+ {
195564
+ $ref: "#/$defs/FunctionDef"
195399
195565
  }
195400
195566
  ]
195401
195567
  },
@@ -195407,6 +195573,9 @@ var init_schema = __esm(() => {
195407
195573
  },
195408
195574
  {
195409
195575
  $ref: "#/$defs/ExpressionEntry"
195576
+ },
195577
+ {
195578
+ $ref: "#/$defs/FunctionDef"
195410
195579
  }
195411
195580
  ]
195412
195581
  },
@@ -195418,6 +195587,9 @@ var init_schema = __esm(() => {
195418
195587
  },
195419
195588
  {
195420
195589
  $ref: "#/$defs/ExpressionEntry"
195590
+ },
195591
+ {
195592
+ $ref: "#/$defs/FunctionDef"
195421
195593
  }
195422
195594
  ]
195423
195595
  },
@@ -195429,6 +195601,9 @@ var init_schema = __esm(() => {
195429
195601
  },
195430
195602
  {
195431
195603
  $ref: "#/$defs/ExpressionEntry"
195604
+ },
195605
+ {
195606
+ $ref: "#/$defs/FunctionDef"
195432
195607
  }
195433
195608
  ]
195434
195609
  },
@@ -195440,6 +195615,9 @@ var init_schema = __esm(() => {
195440
195615
  },
195441
195616
  {
195442
195617
  $ref: "#/$defs/ExpressionEntry"
195618
+ },
195619
+ {
195620
+ $ref: "#/$defs/FunctionDef"
195443
195621
  }
195444
195622
  ]
195445
195623
  },
@@ -195451,6 +195629,9 @@ var init_schema = __esm(() => {
195451
195629
  },
195452
195630
  {
195453
195631
  $ref: "#/$defs/ExpressionEntry"
195632
+ },
195633
+ {
195634
+ $ref: "#/$defs/FunctionDef"
195454
195635
  }
195455
195636
  ]
195456
195637
  },
@@ -195462,6 +195643,9 @@ var init_schema = __esm(() => {
195462
195643
  },
195463
195644
  {
195464
195645
  $ref: "#/$defs/ExpressionEntry"
195646
+ },
195647
+ {
195648
+ $ref: "#/$defs/FunctionDef"
195465
195649
  }
195466
195650
  ]
195467
195651
  },
@@ -195473,6 +195657,9 @@ var init_schema = __esm(() => {
195473
195657
  },
195474
195658
  {
195475
195659
  $ref: "#/$defs/ExpressionEntry"
195660
+ },
195661
+ {
195662
+ $ref: "#/$defs/FunctionDef"
195476
195663
  }
195477
195664
  ]
195478
195665
  },
@@ -195484,6 +195671,9 @@ var init_schema = __esm(() => {
195484
195671
  },
195485
195672
  {
195486
195673
  $ref: "#/$defs/ExpressionEntry"
195674
+ },
195675
+ {
195676
+ $ref: "#/$defs/FunctionDef"
195487
195677
  }
195488
195678
  ]
195489
195679
  },
@@ -195495,6 +195685,9 @@ var init_schema = __esm(() => {
195495
195685
  },
195496
195686
  {
195497
195687
  $ref: "#/$defs/ExpressionEntry"
195688
+ },
195689
+ {
195690
+ $ref: "#/$defs/FunctionDef"
195498
195691
  }
195499
195692
  ]
195500
195693
  },
@@ -195506,6 +195699,9 @@ var init_schema = __esm(() => {
195506
195699
  },
195507
195700
  {
195508
195701
  $ref: "#/$defs/ExpressionEntry"
195702
+ },
195703
+ {
195704
+ $ref: "#/$defs/FunctionDef"
195509
195705
  }
195510
195706
  ]
195511
195707
  },
@@ -195517,6 +195713,9 @@ var init_schema = __esm(() => {
195517
195713
  },
195518
195714
  {
195519
195715
  $ref: "#/$defs/ExpressionEntry"
195716
+ },
195717
+ {
195718
+ $ref: "#/$defs/FunctionDef"
195520
195719
  }
195521
195720
  ]
195522
195721
  },
@@ -195528,6 +195727,9 @@ var init_schema = __esm(() => {
195528
195727
  },
195529
195728
  {
195530
195729
  $ref: "#/$defs/ExpressionEntry"
195730
+ },
195731
+ {
195732
+ $ref: "#/$defs/FunctionDef"
195531
195733
  }
195532
195734
  ]
195533
195735
  },
@@ -195539,6 +195741,9 @@ var init_schema = __esm(() => {
195539
195741
  },
195540
195742
  {
195541
195743
  $ref: "#/$defs/ExpressionEntry"
195744
+ },
195745
+ {
195746
+ $ref: "#/$defs/FunctionDef"
195542
195747
  }
195543
195748
  ]
195544
195749
  },
@@ -195550,6 +195755,9 @@ var init_schema = __esm(() => {
195550
195755
  },
195551
195756
  {
195552
195757
  $ref: "#/$defs/ExpressionEntry"
195758
+ },
195759
+ {
195760
+ $ref: "#/$defs/FunctionDef"
195553
195761
  }
195554
195762
  ]
195555
195763
  },
@@ -195561,6 +195769,9 @@ var init_schema = __esm(() => {
195561
195769
  },
195562
195770
  {
195563
195771
  $ref: "#/$defs/ExpressionEntry"
195772
+ },
195773
+ {
195774
+ $ref: "#/$defs/FunctionDef"
195564
195775
  }
195565
195776
  ]
195566
195777
  },
@@ -195572,6 +195783,9 @@ var init_schema = __esm(() => {
195572
195783
  },
195573
195784
  {
195574
195785
  $ref: "#/$defs/ExpressionEntry"
195786
+ },
195787
+ {
195788
+ $ref: "#/$defs/FunctionDef"
195575
195789
  }
195576
195790
  ]
195577
195791
  },
@@ -195583,6 +195797,9 @@ var init_schema = __esm(() => {
195583
195797
  },
195584
195798
  {
195585
195799
  $ref: "#/$defs/ExpressionEntry"
195800
+ },
195801
+ {
195802
+ $ref: "#/$defs/FunctionDef"
195586
195803
  }
195587
195804
  ]
195588
195805
  },
@@ -195594,6 +195811,9 @@ var init_schema = __esm(() => {
195594
195811
  },
195595
195812
  {
195596
195813
  $ref: "#/$defs/ExpressionEntry"
195814
+ },
195815
+ {
195816
+ $ref: "#/$defs/FunctionDef"
195597
195817
  }
195598
195818
  ]
195599
195819
  },
@@ -195605,6 +195825,9 @@ var init_schema = __esm(() => {
195605
195825
  },
195606
195826
  {
195607
195827
  $ref: "#/$defs/ExpressionEntry"
195828
+ },
195829
+ {
195830
+ $ref: "#/$defs/FunctionDef"
195608
195831
  }
195609
195832
  ]
195610
195833
  },
@@ -195616,6 +195839,9 @@ var init_schema = __esm(() => {
195616
195839
  },
195617
195840
  {
195618
195841
  $ref: "#/$defs/ExpressionEntry"
195842
+ },
195843
+ {
195844
+ $ref: "#/$defs/FunctionDef"
195619
195845
  }
195620
195846
  ]
195621
195847
  },
@@ -195627,6 +195853,9 @@ var init_schema = __esm(() => {
195627
195853
  },
195628
195854
  {
195629
195855
  $ref: "#/$defs/ExpressionEntry"
195856
+ },
195857
+ {
195858
+ $ref: "#/$defs/FunctionDef"
195630
195859
  }
195631
195860
  ]
195632
195861
  },
@@ -195638,6 +195867,9 @@ var init_schema = __esm(() => {
195638
195867
  },
195639
195868
  {
195640
195869
  $ref: "#/$defs/ExpressionEntry"
195870
+ },
195871
+ {
195872
+ $ref: "#/$defs/FunctionDef"
195641
195873
  }
195642
195874
  ]
195643
195875
  },
@@ -195649,6 +195881,9 @@ var init_schema = __esm(() => {
195649
195881
  },
195650
195882
  {
195651
195883
  $ref: "#/$defs/ExpressionEntry"
195884
+ },
195885
+ {
195886
+ $ref: "#/$defs/FunctionDef"
195652
195887
  }
195653
195888
  ]
195654
195889
  },
@@ -195660,6 +195895,9 @@ var init_schema = __esm(() => {
195660
195895
  },
195661
195896
  {
195662
195897
  $ref: "#/$defs/ExpressionEntry"
195898
+ },
195899
+ {
195900
+ $ref: "#/$defs/FunctionDef"
195663
195901
  }
195664
195902
  ]
195665
195903
  },
@@ -195671,6 +195909,9 @@ var init_schema = __esm(() => {
195671
195909
  },
195672
195910
  {
195673
195911
  $ref: "#/$defs/ExpressionEntry"
195912
+ },
195913
+ {
195914
+ $ref: "#/$defs/FunctionDef"
195674
195915
  }
195675
195916
  ]
195676
195917
  },
@@ -195682,6 +195923,9 @@ var init_schema = __esm(() => {
195682
195923
  },
195683
195924
  {
195684
195925
  $ref: "#/$defs/ExpressionEntry"
195926
+ },
195927
+ {
195928
+ $ref: "#/$defs/FunctionDef"
195685
195929
  }
195686
195930
  ]
195687
195931
  },
@@ -195693,6 +195937,9 @@ var init_schema = __esm(() => {
195693
195937
  },
195694
195938
  {
195695
195939
  $ref: "#/$defs/ExpressionEntry"
195940
+ },
195941
+ {
195942
+ $ref: "#/$defs/FunctionDef"
195696
195943
  }
195697
195944
  ]
195698
195945
  },
@@ -195704,6 +195951,9 @@ var init_schema = __esm(() => {
195704
195951
  },
195705
195952
  {
195706
195953
  $ref: "#/$defs/ExpressionEntry"
195954
+ },
195955
+ {
195956
+ $ref: "#/$defs/FunctionDef"
195707
195957
  }
195708
195958
  ]
195709
195959
  },
@@ -195715,6 +195965,9 @@ var init_schema = __esm(() => {
195715
195965
  },
195716
195966
  {
195717
195967
  $ref: "#/$defs/ExpressionEntry"
195968
+ },
195969
+ {
195970
+ $ref: "#/$defs/FunctionDef"
195718
195971
  }
195719
195972
  ]
195720
195973
  },
@@ -195726,6 +195979,9 @@ var init_schema = __esm(() => {
195726
195979
  },
195727
195980
  {
195728
195981
  $ref: "#/$defs/ExpressionEntry"
195982
+ },
195983
+ {
195984
+ $ref: "#/$defs/FunctionDef"
195729
195985
  }
195730
195986
  ]
195731
195987
  },
@@ -195737,6 +195993,9 @@ var init_schema = __esm(() => {
195737
195993
  },
195738
195994
  {
195739
195995
  $ref: "#/$defs/ExpressionEntry"
195996
+ },
195997
+ {
195998
+ $ref: "#/$defs/FunctionDef"
195740
195999
  }
195741
196000
  ]
195742
196001
  },
@@ -195748,6 +196007,9 @@ var init_schema = __esm(() => {
195748
196007
  },
195749
196008
  {
195750
196009
  $ref: "#/$defs/ExpressionEntry"
196010
+ },
196011
+ {
196012
+ $ref: "#/$defs/FunctionDef"
195751
196013
  }
195752
196014
  ]
195753
196015
  },
@@ -195759,6 +196021,9 @@ var init_schema = __esm(() => {
195759
196021
  },
195760
196022
  {
195761
196023
  $ref: "#/$defs/ExpressionEntry"
196024
+ },
196025
+ {
196026
+ $ref: "#/$defs/FunctionDef"
195762
196027
  }
195763
196028
  ]
195764
196029
  },
@@ -195770,6 +196035,9 @@ var init_schema = __esm(() => {
195770
196035
  },
195771
196036
  {
195772
196037
  $ref: "#/$defs/ExpressionEntry"
196038
+ },
196039
+ {
196040
+ $ref: "#/$defs/FunctionDef"
195773
196041
  }
195774
196042
  ]
195775
196043
  },
@@ -195781,6 +196049,9 @@ var init_schema = __esm(() => {
195781
196049
  },
195782
196050
  {
195783
196051
  $ref: "#/$defs/ExpressionEntry"
196052
+ },
196053
+ {
196054
+ $ref: "#/$defs/FunctionDef"
195784
196055
  }
195785
196056
  ]
195786
196057
  },
@@ -195792,6 +196063,9 @@ var init_schema = __esm(() => {
195792
196063
  },
195793
196064
  {
195794
196065
  $ref: "#/$defs/ExpressionEntry"
196066
+ },
196067
+ {
196068
+ $ref: "#/$defs/FunctionDef"
195795
196069
  }
195796
196070
  ]
195797
196071
  },
@@ -195803,6 +196077,9 @@ var init_schema = __esm(() => {
195803
196077
  },
195804
196078
  {
195805
196079
  $ref: "#/$defs/ExpressionEntry"
196080
+ },
196081
+ {
196082
+ $ref: "#/$defs/FunctionDef"
195806
196083
  }
195807
196084
  ]
195808
196085
  },
@@ -195814,6 +196091,9 @@ var init_schema = __esm(() => {
195814
196091
  },
195815
196092
  {
195816
196093
  $ref: "#/$defs/ExpressionEntry"
196094
+ },
196095
+ {
196096
+ $ref: "#/$defs/FunctionDef"
195817
196097
  }
195818
196098
  ]
195819
196099
  },
@@ -195825,6 +196105,9 @@ var init_schema = __esm(() => {
195825
196105
  },
195826
196106
  {
195827
196107
  $ref: "#/$defs/ExpressionEntry"
196108
+ },
196109
+ {
196110
+ $ref: "#/$defs/FunctionDef"
195828
196111
  }
195829
196112
  ]
195830
196113
  },
@@ -195836,6 +196119,9 @@ var init_schema = __esm(() => {
195836
196119
  },
195837
196120
  {
195838
196121
  $ref: "#/$defs/ExpressionEntry"
196122
+ },
196123
+ {
196124
+ $ref: "#/$defs/FunctionDef"
195839
196125
  }
195840
196126
  ]
195841
196127
  },
@@ -195847,6 +196133,9 @@ var init_schema = __esm(() => {
195847
196133
  },
195848
196134
  {
195849
196135
  $ref: "#/$defs/ExpressionEntry"
196136
+ },
196137
+ {
196138
+ $ref: "#/$defs/FunctionDef"
195850
196139
  }
195851
196140
  ]
195852
196141
  },
@@ -195858,6 +196147,9 @@ var init_schema = __esm(() => {
195858
196147
  },
195859
196148
  {
195860
196149
  $ref: "#/$defs/ExpressionEntry"
196150
+ },
196151
+ {
196152
+ $ref: "#/$defs/FunctionDef"
195861
196153
  }
195862
196154
  ]
195863
196155
  },
@@ -195869,6 +196161,9 @@ var init_schema = __esm(() => {
195869
196161
  },
195870
196162
  {
195871
196163
  $ref: "#/$defs/ExpressionEntry"
196164
+ },
196165
+ {
196166
+ $ref: "#/$defs/FunctionDef"
195872
196167
  }
195873
196168
  ]
195874
196169
  },
@@ -195880,6 +196175,9 @@ var init_schema = __esm(() => {
195880
196175
  },
195881
196176
  {
195882
196177
  $ref: "#/$defs/ExpressionEntry"
196178
+ },
196179
+ {
196180
+ $ref: "#/$defs/FunctionDef"
195883
196181
  }
195884
196182
  ]
195885
196183
  },
@@ -195891,6 +196189,9 @@ var init_schema = __esm(() => {
195891
196189
  },
195892
196190
  {
195893
196191
  $ref: "#/$defs/ExpressionEntry"
196192
+ },
196193
+ {
196194
+ $ref: "#/$defs/FunctionDef"
195894
196195
  }
195895
196196
  ]
195896
196197
  },
@@ -195902,6 +196203,9 @@ var init_schema = __esm(() => {
195902
196203
  },
195903
196204
  {
195904
196205
  $ref: "#/$defs/ExpressionEntry"
196206
+ },
196207
+ {
196208
+ $ref: "#/$defs/FunctionDef"
195905
196209
  }
195906
196210
  ]
195907
196211
  },
@@ -195913,6 +196217,9 @@ var init_schema = __esm(() => {
195913
196217
  },
195914
196218
  {
195915
196219
  $ref: "#/$defs/ExpressionEntry"
196220
+ },
196221
+ {
196222
+ $ref: "#/$defs/FunctionDef"
195916
196223
  }
195917
196224
  ]
195918
196225
  },
@@ -195924,6 +196231,9 @@ var init_schema = __esm(() => {
195924
196231
  },
195925
196232
  {
195926
196233
  $ref: "#/$defs/ExpressionEntry"
196234
+ },
196235
+ {
196236
+ $ref: "#/$defs/FunctionDef"
195927
196237
  }
195928
196238
  ]
195929
196239
  },
@@ -195935,6 +196245,9 @@ var init_schema = __esm(() => {
195935
196245
  },
195936
196246
  {
195937
196247
  $ref: "#/$defs/ExpressionEntry"
196248
+ },
196249
+ {
196250
+ $ref: "#/$defs/FunctionDef"
195938
196251
  }
195939
196252
  ]
195940
196253
  },
@@ -195946,6 +196259,9 @@ var init_schema = __esm(() => {
195946
196259
  },
195947
196260
  {
195948
196261
  $ref: "#/$defs/ExpressionEntry"
196262
+ },
196263
+ {
196264
+ $ref: "#/$defs/FunctionDef"
195949
196265
  }
195950
196266
  ]
195951
196267
  },
@@ -195957,6 +196273,9 @@ var init_schema = __esm(() => {
195957
196273
  },
195958
196274
  {
195959
196275
  $ref: "#/$defs/ExpressionEntry"
196276
+ },
196277
+ {
196278
+ $ref: "#/$defs/FunctionDef"
195960
196279
  }
195961
196280
  ]
195962
196281
  },
@@ -195968,6 +196287,9 @@ var init_schema = __esm(() => {
195968
196287
  },
195969
196288
  {
195970
196289
  $ref: "#/$defs/ExpressionEntry"
196290
+ },
196291
+ {
196292
+ $ref: "#/$defs/FunctionDef"
195971
196293
  }
195972
196294
  ]
195973
196295
  },
@@ -195979,6 +196301,9 @@ var init_schema = __esm(() => {
195979
196301
  },
195980
196302
  {
195981
196303
  $ref: "#/$defs/ExpressionEntry"
196304
+ },
196305
+ {
196306
+ $ref: "#/$defs/FunctionDef"
195982
196307
  }
195983
196308
  ]
195984
196309
  },
@@ -195990,6 +196315,9 @@ var init_schema = __esm(() => {
195990
196315
  },
195991
196316
  {
195992
196317
  $ref: "#/$defs/ExpressionEntry"
196318
+ },
196319
+ {
196320
+ $ref: "#/$defs/FunctionDef"
195993
196321
  }
195994
196322
  ]
195995
196323
  },
@@ -196001,6 +196329,9 @@ var init_schema = __esm(() => {
196001
196329
  },
196002
196330
  {
196003
196331
  $ref: "#/$defs/ExpressionEntry"
196332
+ },
196333
+ {
196334
+ $ref: "#/$defs/FunctionDef"
196004
196335
  }
196005
196336
  ]
196006
196337
  },
@@ -196012,6 +196343,9 @@ var init_schema = __esm(() => {
196012
196343
  },
196013
196344
  {
196014
196345
  $ref: "#/$defs/ExpressionEntry"
196346
+ },
196347
+ {
196348
+ $ref: "#/$defs/FunctionDef"
196015
196349
  }
196016
196350
  ]
196017
196351
  },
@@ -196023,6 +196357,9 @@ var init_schema = __esm(() => {
196023
196357
  },
196024
196358
  {
196025
196359
  $ref: "#/$defs/ExpressionEntry"
196360
+ },
196361
+ {
196362
+ $ref: "#/$defs/FunctionDef"
196026
196363
  }
196027
196364
  ]
196028
196365
  },
@@ -196034,6 +196371,9 @@ var init_schema = __esm(() => {
196034
196371
  },
196035
196372
  {
196036
196373
  $ref: "#/$defs/ExpressionEntry"
196374
+ },
196375
+ {
196376
+ $ref: "#/$defs/FunctionDef"
196037
196377
  }
196038
196378
  ]
196039
196379
  },
@@ -196045,6 +196385,9 @@ var init_schema = __esm(() => {
196045
196385
  },
196046
196386
  {
196047
196387
  $ref: "#/$defs/ExpressionEntry"
196388
+ },
196389
+ {
196390
+ $ref: "#/$defs/FunctionDef"
196048
196391
  }
196049
196392
  ]
196050
196393
  },
@@ -196056,6 +196399,9 @@ var init_schema = __esm(() => {
196056
196399
  },
196057
196400
  {
196058
196401
  $ref: "#/$defs/ExpressionEntry"
196402
+ },
196403
+ {
196404
+ $ref: "#/$defs/FunctionDef"
196059
196405
  }
196060
196406
  ]
196061
196407
  },
@@ -196067,6 +196413,9 @@ var init_schema = __esm(() => {
196067
196413
  },
196068
196414
  {
196069
196415
  $ref: "#/$defs/ExpressionEntry"
196416
+ },
196417
+ {
196418
+ $ref: "#/$defs/FunctionDef"
196070
196419
  }
196071
196420
  ]
196072
196421
  },
@@ -196078,6 +196427,9 @@ var init_schema = __esm(() => {
196078
196427
  },
196079
196428
  {
196080
196429
  $ref: "#/$defs/ExpressionEntry"
196430
+ },
196431
+ {
196432
+ $ref: "#/$defs/FunctionDef"
196081
196433
  }
196082
196434
  ]
196083
196435
  },
@@ -196089,6 +196441,9 @@ var init_schema = __esm(() => {
196089
196441
  },
196090
196442
  {
196091
196443
  $ref: "#/$defs/ExpressionEntry"
196444
+ },
196445
+ {
196446
+ $ref: "#/$defs/FunctionDef"
196092
196447
  }
196093
196448
  ]
196094
196449
  },
@@ -196100,6 +196455,9 @@ var init_schema = __esm(() => {
196100
196455
  },
196101
196456
  {
196102
196457
  $ref: "#/$defs/ExpressionEntry"
196458
+ },
196459
+ {
196460
+ $ref: "#/$defs/FunctionDef"
196103
196461
  }
196104
196462
  ]
196105
196463
  },
@@ -196111,6 +196469,9 @@ var init_schema = __esm(() => {
196111
196469
  },
196112
196470
  {
196113
196471
  $ref: "#/$defs/ExpressionEntry"
196472
+ },
196473
+ {
196474
+ $ref: "#/$defs/FunctionDef"
196114
196475
  }
196115
196476
  ]
196116
196477
  },
@@ -196122,6 +196483,9 @@ var init_schema = __esm(() => {
196122
196483
  },
196123
196484
  {
196124
196485
  $ref: "#/$defs/ExpressionEntry"
196486
+ },
196487
+ {
196488
+ $ref: "#/$defs/FunctionDef"
196125
196489
  }
196126
196490
  ]
196127
196491
  },
@@ -196133,6 +196497,9 @@ var init_schema = __esm(() => {
196133
196497
  },
196134
196498
  {
196135
196499
  $ref: "#/$defs/ExpressionEntry"
196500
+ },
196501
+ {
196502
+ $ref: "#/$defs/FunctionDef"
196136
196503
  }
196137
196504
  ]
196138
196505
  },
@@ -196144,6 +196511,9 @@ var init_schema = __esm(() => {
196144
196511
  },
196145
196512
  {
196146
196513
  $ref: "#/$defs/ExpressionEntry"
196514
+ },
196515
+ {
196516
+ $ref: "#/$defs/FunctionDef"
196147
196517
  }
196148
196518
  ]
196149
196519
  },
@@ -196155,6 +196525,9 @@ var init_schema = __esm(() => {
196155
196525
  },
196156
196526
  {
196157
196527
  $ref: "#/$defs/ExpressionEntry"
196528
+ },
196529
+ {
196530
+ $ref: "#/$defs/FunctionDef"
196158
196531
  }
196159
196532
  ]
196160
196533
  },
@@ -196166,6 +196539,9 @@ var init_schema = __esm(() => {
196166
196539
  },
196167
196540
  {
196168
196541
  $ref: "#/$defs/ExpressionEntry"
196542
+ },
196543
+ {
196544
+ $ref: "#/$defs/FunctionDef"
196169
196545
  }
196170
196546
  ]
196171
196547
  },
@@ -196177,6 +196553,9 @@ var init_schema = __esm(() => {
196177
196553
  },
196178
196554
  {
196179
196555
  $ref: "#/$defs/ExpressionEntry"
196556
+ },
196557
+ {
196558
+ $ref: "#/$defs/FunctionDef"
196180
196559
  }
196181
196560
  ]
196182
196561
  },
@@ -196188,6 +196567,9 @@ var init_schema = __esm(() => {
196188
196567
  },
196189
196568
  {
196190
196569
  $ref: "#/$defs/ExpressionEntry"
196570
+ },
196571
+ {
196572
+ $ref: "#/$defs/FunctionDef"
196191
196573
  }
196192
196574
  ]
196193
196575
  },
@@ -196199,6 +196581,9 @@ var init_schema = __esm(() => {
196199
196581
  },
196200
196582
  {
196201
196583
  $ref: "#/$defs/ExpressionEntry"
196584
+ },
196585
+ {
196586
+ $ref: "#/$defs/FunctionDef"
196202
196587
  }
196203
196588
  ]
196204
196589
  },
@@ -196210,6 +196595,9 @@ var init_schema = __esm(() => {
196210
196595
  },
196211
196596
  {
196212
196597
  $ref: "#/$defs/ExpressionEntry"
196598
+ },
196599
+ {
196600
+ $ref: "#/$defs/FunctionDef"
196213
196601
  }
196214
196602
  ]
196215
196603
  },
@@ -196221,6 +196609,9 @@ var init_schema = __esm(() => {
196221
196609
  },
196222
196610
  {
196223
196611
  $ref: "#/$defs/ExpressionEntry"
196612
+ },
196613
+ {
196614
+ $ref: "#/$defs/FunctionDef"
196224
196615
  }
196225
196616
  ]
196226
196617
  },
@@ -196232,6 +196623,9 @@ var init_schema = __esm(() => {
196232
196623
  },
196233
196624
  {
196234
196625
  $ref: "#/$defs/ExpressionEntry"
196626
+ },
196627
+ {
196628
+ $ref: "#/$defs/FunctionDef"
196235
196629
  }
196236
196630
  ]
196237
196631
  },
@@ -196243,6 +196637,9 @@ var init_schema = __esm(() => {
196243
196637
  },
196244
196638
  {
196245
196639
  $ref: "#/$defs/ExpressionEntry"
196640
+ },
196641
+ {
196642
+ $ref: "#/$defs/FunctionDef"
196246
196643
  }
196247
196644
  ]
196248
196645
  },
@@ -196254,6 +196651,9 @@ var init_schema = __esm(() => {
196254
196651
  },
196255
196652
  {
196256
196653
  $ref: "#/$defs/ExpressionEntry"
196654
+ },
196655
+ {
196656
+ $ref: "#/$defs/FunctionDef"
196257
196657
  }
196258
196658
  ]
196259
196659
  },
@@ -196265,6 +196665,9 @@ var init_schema = __esm(() => {
196265
196665
  },
196266
196666
  {
196267
196667
  $ref: "#/$defs/ExpressionEntry"
196668
+ },
196669
+ {
196670
+ $ref: "#/$defs/FunctionDef"
196268
196671
  }
196269
196672
  ]
196270
196673
  },
@@ -196276,6 +196679,9 @@ var init_schema = __esm(() => {
196276
196679
  },
196277
196680
  {
196278
196681
  $ref: "#/$defs/ExpressionEntry"
196682
+ },
196683
+ {
196684
+ $ref: "#/$defs/FunctionDef"
196279
196685
  }
196280
196686
  ]
196281
196687
  },
@@ -196287,6 +196693,9 @@ var init_schema = __esm(() => {
196287
196693
  },
196288
196694
  {
196289
196695
  $ref: "#/$defs/ExpressionEntry"
196696
+ },
196697
+ {
196698
+ $ref: "#/$defs/FunctionDef"
196290
196699
  }
196291
196700
  ]
196292
196701
  },
@@ -196298,6 +196707,9 @@ var init_schema = __esm(() => {
196298
196707
  },
196299
196708
  {
196300
196709
  $ref: "#/$defs/ExpressionEntry"
196710
+ },
196711
+ {
196712
+ $ref: "#/$defs/FunctionDef"
196301
196713
  }
196302
196714
  ]
196303
196715
  },
@@ -196309,6 +196721,9 @@ var init_schema = __esm(() => {
196309
196721
  },
196310
196722
  {
196311
196723
  $ref: "#/$defs/ExpressionEntry"
196724
+ },
196725
+ {
196726
+ $ref: "#/$defs/FunctionDef"
196312
196727
  }
196313
196728
  ]
196314
196729
  },
@@ -196320,6 +196735,9 @@ var init_schema = __esm(() => {
196320
196735
  },
196321
196736
  {
196322
196737
  $ref: "#/$defs/ExpressionEntry"
196738
+ },
196739
+ {
196740
+ $ref: "#/$defs/FunctionDef"
196323
196741
  }
196324
196742
  ]
196325
196743
  },
@@ -196331,6 +196749,9 @@ var init_schema = __esm(() => {
196331
196749
  },
196332
196750
  {
196333
196751
  $ref: "#/$defs/ExpressionEntry"
196752
+ },
196753
+ {
196754
+ $ref: "#/$defs/FunctionDef"
196334
196755
  }
196335
196756
  ]
196336
196757
  },
@@ -196342,6 +196763,9 @@ var init_schema = __esm(() => {
196342
196763
  },
196343
196764
  {
196344
196765
  $ref: "#/$defs/ExpressionEntry"
196766
+ },
196767
+ {
196768
+ $ref: "#/$defs/FunctionDef"
196345
196769
  }
196346
196770
  ]
196347
196771
  },
@@ -196353,6 +196777,9 @@ var init_schema = __esm(() => {
196353
196777
  },
196354
196778
  {
196355
196779
  $ref: "#/$defs/ExpressionEntry"
196780
+ },
196781
+ {
196782
+ $ref: "#/$defs/FunctionDef"
196356
196783
  }
196357
196784
  ]
196358
196785
  },
@@ -196364,6 +196791,9 @@ var init_schema = __esm(() => {
196364
196791
  },
196365
196792
  {
196366
196793
  $ref: "#/$defs/ExpressionEntry"
196794
+ },
196795
+ {
196796
+ $ref: "#/$defs/FunctionDef"
196367
196797
  }
196368
196798
  ]
196369
196799
  },
@@ -196375,6 +196805,9 @@ var init_schema = __esm(() => {
196375
196805
  },
196376
196806
  {
196377
196807
  $ref: "#/$defs/ExpressionEntry"
196808
+ },
196809
+ {
196810
+ $ref: "#/$defs/FunctionDef"
196378
196811
  }
196379
196812
  ]
196380
196813
  },
@@ -196386,6 +196819,9 @@ var init_schema = __esm(() => {
196386
196819
  },
196387
196820
  {
196388
196821
  $ref: "#/$defs/ExpressionEntry"
196822
+ },
196823
+ {
196824
+ $ref: "#/$defs/FunctionDef"
196389
196825
  }
196390
196826
  ]
196391
196827
  },
@@ -196397,6 +196833,9 @@ var init_schema = __esm(() => {
196397
196833
  },
196398
196834
  {
196399
196835
  $ref: "#/$defs/ExpressionEntry"
196836
+ },
196837
+ {
196838
+ $ref: "#/$defs/FunctionDef"
196400
196839
  }
196401
196840
  ]
196402
196841
  },
@@ -196408,6 +196847,9 @@ var init_schema = __esm(() => {
196408
196847
  },
196409
196848
  {
196410
196849
  $ref: "#/$defs/ExpressionEntry"
196850
+ },
196851
+ {
196852
+ $ref: "#/$defs/FunctionDef"
196411
196853
  }
196412
196854
  ]
196413
196855
  },
@@ -196419,6 +196861,9 @@ var init_schema = __esm(() => {
196419
196861
  },
196420
196862
  {
196421
196863
  $ref: "#/$defs/ExpressionEntry"
196864
+ },
196865
+ {
196866
+ $ref: "#/$defs/FunctionDef"
196422
196867
  }
196423
196868
  ]
196424
196869
  },
@@ -196430,6 +196875,9 @@ var init_schema = __esm(() => {
196430
196875
  },
196431
196876
  {
196432
196877
  $ref: "#/$defs/ExpressionEntry"
196878
+ },
196879
+ {
196880
+ $ref: "#/$defs/FunctionDef"
196433
196881
  }
196434
196882
  ]
196435
196883
  },
@@ -196441,6 +196889,9 @@ var init_schema = __esm(() => {
196441
196889
  },
196442
196890
  {
196443
196891
  $ref: "#/$defs/ExpressionEntry"
196892
+ },
196893
+ {
196894
+ $ref: "#/$defs/FunctionDef"
196444
196895
  }
196445
196896
  ]
196446
196897
  },
@@ -196452,6 +196903,9 @@ var init_schema = __esm(() => {
196452
196903
  },
196453
196904
  {
196454
196905
  $ref: "#/$defs/ExpressionEntry"
196906
+ },
196907
+ {
196908
+ $ref: "#/$defs/FunctionDef"
196455
196909
  }
196456
196910
  ]
196457
196911
  },
@@ -196463,6 +196917,9 @@ var init_schema = __esm(() => {
196463
196917
  },
196464
196918
  {
196465
196919
  $ref: "#/$defs/ExpressionEntry"
196920
+ },
196921
+ {
196922
+ $ref: "#/$defs/FunctionDef"
196466
196923
  }
196467
196924
  ]
196468
196925
  },
@@ -196474,6 +196931,9 @@ var init_schema = __esm(() => {
196474
196931
  },
196475
196932
  {
196476
196933
  $ref: "#/$defs/ExpressionEntry"
196934
+ },
196935
+ {
196936
+ $ref: "#/$defs/FunctionDef"
196477
196937
  }
196478
196938
  ]
196479
196939
  },
@@ -196485,6 +196945,9 @@ var init_schema = __esm(() => {
196485
196945
  },
196486
196946
  {
196487
196947
  $ref: "#/$defs/ExpressionEntry"
196948
+ },
196949
+ {
196950
+ $ref: "#/$defs/FunctionDef"
196488
196951
  }
196489
196952
  ]
196490
196953
  },
@@ -196496,6 +196959,9 @@ var init_schema = __esm(() => {
196496
196959
  },
196497
196960
  {
196498
196961
  $ref: "#/$defs/ExpressionEntry"
196962
+ },
196963
+ {
196964
+ $ref: "#/$defs/FunctionDef"
196499
196965
  }
196500
196966
  ]
196501
196967
  },
@@ -196507,6 +196973,9 @@ var init_schema = __esm(() => {
196507
196973
  },
196508
196974
  {
196509
196975
  $ref: "#/$defs/ExpressionEntry"
196976
+ },
196977
+ {
196978
+ $ref: "#/$defs/FunctionDef"
196510
196979
  }
196511
196980
  ]
196512
196981
  },
@@ -196518,6 +196987,9 @@ var init_schema = __esm(() => {
196518
196987
  },
196519
196988
  {
196520
196989
  $ref: "#/$defs/ExpressionEntry"
196990
+ },
196991
+ {
196992
+ $ref: "#/$defs/FunctionDef"
196521
196993
  }
196522
196994
  ]
196523
196995
  },
@@ -196529,6 +197001,9 @@ var init_schema = __esm(() => {
196529
197001
  },
196530
197002
  {
196531
197003
  $ref: "#/$defs/ExpressionEntry"
197004
+ },
197005
+ {
197006
+ $ref: "#/$defs/FunctionDef"
196532
197007
  }
196533
197008
  ]
196534
197009
  },
@@ -196540,6 +197015,9 @@ var init_schema = __esm(() => {
196540
197015
  },
196541
197016
  {
196542
197017
  $ref: "#/$defs/ExpressionEntry"
197018
+ },
197019
+ {
197020
+ $ref: "#/$defs/FunctionDef"
196543
197021
  }
196544
197022
  ]
196545
197023
  },
@@ -196551,6 +197029,9 @@ var init_schema = __esm(() => {
196551
197029
  },
196552
197030
  {
196553
197031
  $ref: "#/$defs/ExpressionEntry"
197032
+ },
197033
+ {
197034
+ $ref: "#/$defs/FunctionDef"
196554
197035
  }
196555
197036
  ]
196556
197037
  },
@@ -196562,6 +197043,9 @@ var init_schema = __esm(() => {
196562
197043
  },
196563
197044
  {
196564
197045
  $ref: "#/$defs/ExpressionEntry"
197046
+ },
197047
+ {
197048
+ $ref: "#/$defs/FunctionDef"
196565
197049
  }
196566
197050
  ]
196567
197051
  },
@@ -196573,6 +197057,9 @@ var init_schema = __esm(() => {
196573
197057
  },
196574
197058
  {
196575
197059
  $ref: "#/$defs/ExpressionEntry"
197060
+ },
197061
+ {
197062
+ $ref: "#/$defs/FunctionDef"
196576
197063
  }
196577
197064
  ]
196578
197065
  },
@@ -196584,6 +197071,9 @@ var init_schema = __esm(() => {
196584
197071
  },
196585
197072
  {
196586
197073
  $ref: "#/$defs/ExpressionEntry"
197074
+ },
197075
+ {
197076
+ $ref: "#/$defs/FunctionDef"
196587
197077
  }
196588
197078
  ]
196589
197079
  },
@@ -196595,6 +197085,9 @@ var init_schema = __esm(() => {
196595
197085
  },
196596
197086
  {
196597
197087
  $ref: "#/$defs/ExpressionEntry"
197088
+ },
197089
+ {
197090
+ $ref: "#/$defs/FunctionDef"
196598
197091
  }
196599
197092
  ]
196600
197093
  },
@@ -196606,6 +197099,9 @@ var init_schema = __esm(() => {
196606
197099
  },
196607
197100
  {
196608
197101
  $ref: "#/$defs/ExpressionEntry"
197102
+ },
197103
+ {
197104
+ $ref: "#/$defs/FunctionDef"
196609
197105
  }
196610
197106
  ]
196611
197107
  },
@@ -196617,6 +197113,9 @@ var init_schema = __esm(() => {
196617
197113
  },
196618
197114
  {
196619
197115
  $ref: "#/$defs/ExpressionEntry"
197116
+ },
197117
+ {
197118
+ $ref: "#/$defs/FunctionDef"
196620
197119
  }
196621
197120
  ]
196622
197121
  },
@@ -196628,6 +197127,9 @@ var init_schema = __esm(() => {
196628
197127
  },
196629
197128
  {
196630
197129
  $ref: "#/$defs/ExpressionEntry"
197130
+ },
197131
+ {
197132
+ $ref: "#/$defs/FunctionDef"
196631
197133
  }
196632
197134
  ]
196633
197135
  },
@@ -196639,6 +197141,9 @@ var init_schema = __esm(() => {
196639
197141
  },
196640
197142
  {
196641
197143
  $ref: "#/$defs/ExpressionEntry"
197144
+ },
197145
+ {
197146
+ $ref: "#/$defs/FunctionDef"
196642
197147
  }
196643
197148
  ]
196644
197149
  },
@@ -196650,6 +197155,9 @@ var init_schema = __esm(() => {
196650
197155
  },
196651
197156
  {
196652
197157
  $ref: "#/$defs/ExpressionEntry"
197158
+ },
197159
+ {
197160
+ $ref: "#/$defs/FunctionDef"
196653
197161
  }
196654
197162
  ]
196655
197163
  },
@@ -196661,6 +197169,9 @@ var init_schema = __esm(() => {
196661
197169
  },
196662
197170
  {
196663
197171
  $ref: "#/$defs/ExpressionEntry"
197172
+ },
197173
+ {
197174
+ $ref: "#/$defs/FunctionDef"
196664
197175
  }
196665
197176
  ]
196666
197177
  },
@@ -196672,6 +197183,9 @@ var init_schema = __esm(() => {
196672
197183
  },
196673
197184
  {
196674
197185
  $ref: "#/$defs/ExpressionEntry"
197186
+ },
197187
+ {
197188
+ $ref: "#/$defs/FunctionDef"
196675
197189
  }
196676
197190
  ]
196677
197191
  },
@@ -196683,6 +197197,9 @@ var init_schema = __esm(() => {
196683
197197
  },
196684
197198
  {
196685
197199
  $ref: "#/$defs/ExpressionEntry"
197200
+ },
197201
+ {
197202
+ $ref: "#/$defs/FunctionDef"
196686
197203
  }
196687
197204
  ]
196688
197205
  },
@@ -196694,6 +197211,9 @@ var init_schema = __esm(() => {
196694
197211
  },
196695
197212
  {
196696
197213
  $ref: "#/$defs/ExpressionEntry"
197214
+ },
197215
+ {
197216
+ $ref: "#/$defs/FunctionDef"
196697
197217
  }
196698
197218
  ]
196699
197219
  },
@@ -196705,6 +197225,9 @@ var init_schema = __esm(() => {
196705
197225
  },
196706
197226
  {
196707
197227
  $ref: "#/$defs/ExpressionEntry"
197228
+ },
197229
+ {
197230
+ $ref: "#/$defs/FunctionDef"
196708
197231
  }
196709
197232
  ]
196710
197233
  },
@@ -196716,6 +197239,9 @@ var init_schema = __esm(() => {
196716
197239
  },
196717
197240
  {
196718
197241
  $ref: "#/$defs/ExpressionEntry"
197242
+ },
197243
+ {
197244
+ $ref: "#/$defs/FunctionDef"
196719
197245
  }
196720
197246
  ]
196721
197247
  },
@@ -196727,6 +197253,9 @@ var init_schema = __esm(() => {
196727
197253
  },
196728
197254
  {
196729
197255
  $ref: "#/$defs/ExpressionEntry"
197256
+ },
197257
+ {
197258
+ $ref: "#/$defs/FunctionDef"
196730
197259
  }
196731
197260
  ]
196732
197261
  },
@@ -196738,6 +197267,9 @@ var init_schema = __esm(() => {
196738
197267
  },
196739
197268
  {
196740
197269
  $ref: "#/$defs/ExpressionEntry"
197270
+ },
197271
+ {
197272
+ $ref: "#/$defs/FunctionDef"
196741
197273
  }
196742
197274
  ]
196743
197275
  },
@@ -196749,6 +197281,9 @@ var init_schema = __esm(() => {
196749
197281
  },
196750
197282
  {
196751
197283
  $ref: "#/$defs/ExpressionEntry"
197284
+ },
197285
+ {
197286
+ $ref: "#/$defs/FunctionDef"
196752
197287
  }
196753
197288
  ]
196754
197289
  },
@@ -196760,6 +197295,9 @@ var init_schema = __esm(() => {
196760
197295
  },
196761
197296
  {
196762
197297
  $ref: "#/$defs/ExpressionEntry"
197298
+ },
197299
+ {
197300
+ $ref: "#/$defs/FunctionDef"
196763
197301
  }
196764
197302
  ]
196765
197303
  },
@@ -196771,6 +197309,9 @@ var init_schema = __esm(() => {
196771
197309
  },
196772
197310
  {
196773
197311
  $ref: "#/$defs/ExpressionEntry"
197312
+ },
197313
+ {
197314
+ $ref: "#/$defs/FunctionDef"
196774
197315
  }
196775
197316
  ]
196776
197317
  },
@@ -196782,6 +197323,9 @@ var init_schema = __esm(() => {
196782
197323
  },
196783
197324
  {
196784
197325
  $ref: "#/$defs/ExpressionEntry"
197326
+ },
197327
+ {
197328
+ $ref: "#/$defs/FunctionDef"
196785
197329
  }
196786
197330
  ]
196787
197331
  },
@@ -196793,6 +197337,9 @@ var init_schema = __esm(() => {
196793
197337
  },
196794
197338
  {
196795
197339
  $ref: "#/$defs/ExpressionEntry"
197340
+ },
197341
+ {
197342
+ $ref: "#/$defs/FunctionDef"
196796
197343
  }
196797
197344
  ]
196798
197345
  },
@@ -196804,6 +197351,9 @@ var init_schema = __esm(() => {
196804
197351
  },
196805
197352
  {
196806
197353
  $ref: "#/$defs/ExpressionEntry"
197354
+ },
197355
+ {
197356
+ $ref: "#/$defs/FunctionDef"
196807
197357
  }
196808
197358
  ]
196809
197359
  },
@@ -196815,6 +197365,9 @@ var init_schema = __esm(() => {
196815
197365
  },
196816
197366
  {
196817
197367
  $ref: "#/$defs/ExpressionEntry"
197368
+ },
197369
+ {
197370
+ $ref: "#/$defs/FunctionDef"
196818
197371
  }
196819
197372
  ]
196820
197373
  },
@@ -196826,6 +197379,9 @@ var init_schema = __esm(() => {
196826
197379
  },
196827
197380
  {
196828
197381
  $ref: "#/$defs/ExpressionEntry"
197382
+ },
197383
+ {
197384
+ $ref: "#/$defs/FunctionDef"
196829
197385
  }
196830
197386
  ]
196831
197387
  },
@@ -196837,6 +197393,9 @@ var init_schema = __esm(() => {
196837
197393
  },
196838
197394
  {
196839
197395
  $ref: "#/$defs/ExpressionEntry"
197396
+ },
197397
+ {
197398
+ $ref: "#/$defs/FunctionDef"
196840
197399
  }
196841
197400
  ]
196842
197401
  },
@@ -196848,6 +197407,9 @@ var init_schema = __esm(() => {
196848
197407
  },
196849
197408
  {
196850
197409
  $ref: "#/$defs/ExpressionEntry"
197410
+ },
197411
+ {
197412
+ $ref: "#/$defs/FunctionDef"
196851
197413
  }
196852
197414
  ]
196853
197415
  },
@@ -196859,6 +197421,9 @@ var init_schema = __esm(() => {
196859
197421
  },
196860
197422
  {
196861
197423
  $ref: "#/$defs/ExpressionEntry"
197424
+ },
197425
+ {
197426
+ $ref: "#/$defs/FunctionDef"
196862
197427
  }
196863
197428
  ]
196864
197429
  },
@@ -196870,6 +197435,9 @@ var init_schema = __esm(() => {
196870
197435
  },
196871
197436
  {
196872
197437
  $ref: "#/$defs/ExpressionEntry"
197438
+ },
197439
+ {
197440
+ $ref: "#/$defs/FunctionDef"
196873
197441
  }
196874
197442
  ]
196875
197443
  },
@@ -196881,6 +197449,9 @@ var init_schema = __esm(() => {
196881
197449
  },
196882
197450
  {
196883
197451
  $ref: "#/$defs/ExpressionEntry"
197452
+ },
197453
+ {
197454
+ $ref: "#/$defs/FunctionDef"
196884
197455
  }
196885
197456
  ]
196886
197457
  },
@@ -196892,6 +197463,9 @@ var init_schema = __esm(() => {
196892
197463
  },
196893
197464
  {
196894
197465
  $ref: "#/$defs/ExpressionEntry"
197466
+ },
197467
+ {
197468
+ $ref: "#/$defs/FunctionDef"
196895
197469
  }
196896
197470
  ]
196897
197471
  },
@@ -196903,6 +197477,9 @@ var init_schema = __esm(() => {
196903
197477
  },
196904
197478
  {
196905
197479
  $ref: "#/$defs/ExpressionEntry"
197480
+ },
197481
+ {
197482
+ $ref: "#/$defs/FunctionDef"
196906
197483
  }
196907
197484
  ]
196908
197485
  },
@@ -196914,6 +197491,9 @@ var init_schema = __esm(() => {
196914
197491
  },
196915
197492
  {
196916
197493
  $ref: "#/$defs/ExpressionEntry"
197494
+ },
197495
+ {
197496
+ $ref: "#/$defs/FunctionDef"
196917
197497
  }
196918
197498
  ]
196919
197499
  },
@@ -196925,6 +197505,9 @@ var init_schema = __esm(() => {
196925
197505
  },
196926
197506
  {
196927
197507
  $ref: "#/$defs/ExpressionEntry"
197508
+ },
197509
+ {
197510
+ $ref: "#/$defs/FunctionDef"
196928
197511
  }
196929
197512
  ]
196930
197513
  },
@@ -196936,6 +197519,9 @@ var init_schema = __esm(() => {
196936
197519
  },
196937
197520
  {
196938
197521
  $ref: "#/$defs/ExpressionEntry"
197522
+ },
197523
+ {
197524
+ $ref: "#/$defs/FunctionDef"
196939
197525
  }
196940
197526
  ]
196941
197527
  },
@@ -196947,6 +197533,9 @@ var init_schema = __esm(() => {
196947
197533
  },
196948
197534
  {
196949
197535
  $ref: "#/$defs/ExpressionEntry"
197536
+ },
197537
+ {
197538
+ $ref: "#/$defs/FunctionDef"
196950
197539
  }
196951
197540
  ]
196952
197541
  },
@@ -196958,6 +197547,9 @@ var init_schema = __esm(() => {
196958
197547
  },
196959
197548
  {
196960
197549
  $ref: "#/$defs/ExpressionEntry"
197550
+ },
197551
+ {
197552
+ $ref: "#/$defs/FunctionDef"
196961
197553
  }
196962
197554
  ]
196963
197555
  },
@@ -196969,6 +197561,9 @@ var init_schema = __esm(() => {
196969
197561
  },
196970
197562
  {
196971
197563
  $ref: "#/$defs/ExpressionEntry"
197564
+ },
197565
+ {
197566
+ $ref: "#/$defs/FunctionDef"
196972
197567
  }
196973
197568
  ]
196974
197569
  },
@@ -196980,6 +197575,9 @@ var init_schema = __esm(() => {
196980
197575
  },
196981
197576
  {
196982
197577
  $ref: "#/$defs/ExpressionEntry"
197578
+ },
197579
+ {
197580
+ $ref: "#/$defs/FunctionDef"
196983
197581
  }
196984
197582
  ]
196985
197583
  },
@@ -196991,6 +197589,9 @@ var init_schema = __esm(() => {
196991
197589
  },
196992
197590
  {
196993
197591
  $ref: "#/$defs/ExpressionEntry"
197592
+ },
197593
+ {
197594
+ $ref: "#/$defs/FunctionDef"
196994
197595
  }
196995
197596
  ]
196996
197597
  },
@@ -197002,6 +197603,9 @@ var init_schema = __esm(() => {
197002
197603
  },
197003
197604
  {
197004
197605
  $ref: "#/$defs/ExpressionEntry"
197606
+ },
197607
+ {
197608
+ $ref: "#/$defs/FunctionDef"
197005
197609
  }
197006
197610
  ]
197007
197611
  },
@@ -197013,6 +197617,9 @@ var init_schema = __esm(() => {
197013
197617
  },
197014
197618
  {
197015
197619
  $ref: "#/$defs/ExpressionEntry"
197620
+ },
197621
+ {
197622
+ $ref: "#/$defs/FunctionDef"
197016
197623
  }
197017
197624
  ]
197018
197625
  },
@@ -197024,6 +197631,9 @@ var init_schema = __esm(() => {
197024
197631
  },
197025
197632
  {
197026
197633
  $ref: "#/$defs/ExpressionEntry"
197634
+ },
197635
+ {
197636
+ $ref: "#/$defs/FunctionDef"
197027
197637
  }
197028
197638
  ]
197029
197639
  },
@@ -197035,6 +197645,9 @@ var init_schema = __esm(() => {
197035
197645
  },
197036
197646
  {
197037
197647
  $ref: "#/$defs/ExpressionEntry"
197648
+ },
197649
+ {
197650
+ $ref: "#/$defs/FunctionDef"
197038
197651
  }
197039
197652
  ]
197040
197653
  },
@@ -197046,6 +197659,9 @@ var init_schema = __esm(() => {
197046
197659
  },
197047
197660
  {
197048
197661
  $ref: "#/$defs/ExpressionEntry"
197662
+ },
197663
+ {
197664
+ $ref: "#/$defs/FunctionDef"
197049
197665
  }
197050
197666
  ]
197051
197667
  },
@@ -197057,6 +197673,9 @@ var init_schema = __esm(() => {
197057
197673
  },
197058
197674
  {
197059
197675
  $ref: "#/$defs/ExpressionEntry"
197676
+ },
197677
+ {
197678
+ $ref: "#/$defs/FunctionDef"
197060
197679
  }
197061
197680
  ]
197062
197681
  },
@@ -197068,6 +197687,9 @@ var init_schema = __esm(() => {
197068
197687
  },
197069
197688
  {
197070
197689
  $ref: "#/$defs/ExpressionEntry"
197690
+ },
197691
+ {
197692
+ $ref: "#/$defs/FunctionDef"
197071
197693
  }
197072
197694
  ]
197073
197695
  },
@@ -197079,6 +197701,9 @@ var init_schema = __esm(() => {
197079
197701
  },
197080
197702
  {
197081
197703
  $ref: "#/$defs/ExpressionEntry"
197704
+ },
197705
+ {
197706
+ $ref: "#/$defs/FunctionDef"
197082
197707
  }
197083
197708
  ]
197084
197709
  },
@@ -197090,6 +197715,9 @@ var init_schema = __esm(() => {
197090
197715
  },
197091
197716
  {
197092
197717
  $ref: "#/$defs/ExpressionEntry"
197718
+ },
197719
+ {
197720
+ $ref: "#/$defs/FunctionDef"
197093
197721
  }
197094
197722
  ]
197095
197723
  },
@@ -197101,6 +197729,9 @@ var init_schema = __esm(() => {
197101
197729
  },
197102
197730
  {
197103
197731
  $ref: "#/$defs/ExpressionEntry"
197732
+ },
197733
+ {
197734
+ $ref: "#/$defs/FunctionDef"
197104
197735
  }
197105
197736
  ]
197106
197737
  },
@@ -197112,6 +197743,9 @@ var init_schema = __esm(() => {
197112
197743
  },
197113
197744
  {
197114
197745
  $ref: "#/$defs/ExpressionEntry"
197746
+ },
197747
+ {
197748
+ $ref: "#/$defs/FunctionDef"
197115
197749
  }
197116
197750
  ]
197117
197751
  },
@@ -197123,6 +197757,9 @@ var init_schema = __esm(() => {
197123
197757
  },
197124
197758
  {
197125
197759
  $ref: "#/$defs/ExpressionEntry"
197760
+ },
197761
+ {
197762
+ $ref: "#/$defs/FunctionDef"
197126
197763
  }
197127
197764
  ]
197128
197765
  },
@@ -197134,6 +197771,9 @@ var init_schema = __esm(() => {
197134
197771
  },
197135
197772
  {
197136
197773
  $ref: "#/$defs/ExpressionEntry"
197774
+ },
197775
+ {
197776
+ $ref: "#/$defs/FunctionDef"
197137
197777
  }
197138
197778
  ]
197139
197779
  },
@@ -197145,6 +197785,9 @@ var init_schema = __esm(() => {
197145
197785
  },
197146
197786
  {
197147
197787
  $ref: "#/$defs/ExpressionEntry"
197788
+ },
197789
+ {
197790
+ $ref: "#/$defs/FunctionDef"
197148
197791
  }
197149
197792
  ]
197150
197793
  },
@@ -197156,6 +197799,9 @@ var init_schema = __esm(() => {
197156
197799
  },
197157
197800
  {
197158
197801
  $ref: "#/$defs/ExpressionEntry"
197802
+ },
197803
+ {
197804
+ $ref: "#/$defs/FunctionDef"
197159
197805
  }
197160
197806
  ]
197161
197807
  },
@@ -197167,6 +197813,9 @@ var init_schema = __esm(() => {
197167
197813
  },
197168
197814
  {
197169
197815
  $ref: "#/$defs/ExpressionEntry"
197816
+ },
197817
+ {
197818
+ $ref: "#/$defs/FunctionDef"
197170
197819
  }
197171
197820
  ]
197172
197821
  },
@@ -197178,6 +197827,9 @@ var init_schema = __esm(() => {
197178
197827
  },
197179
197828
  {
197180
197829
  $ref: "#/$defs/ExpressionEntry"
197830
+ },
197831
+ {
197832
+ $ref: "#/$defs/FunctionDef"
197181
197833
  }
197182
197834
  ]
197183
197835
  },
@@ -197189,6 +197841,9 @@ var init_schema = __esm(() => {
197189
197841
  },
197190
197842
  {
197191
197843
  $ref: "#/$defs/ExpressionEntry"
197844
+ },
197845
+ {
197846
+ $ref: "#/$defs/FunctionDef"
197192
197847
  }
197193
197848
  ]
197194
197849
  },
@@ -197200,6 +197855,9 @@ var init_schema = __esm(() => {
197200
197855
  },
197201
197856
  {
197202
197857
  $ref: "#/$defs/ExpressionEntry"
197858
+ },
197859
+ {
197860
+ $ref: "#/$defs/FunctionDef"
197203
197861
  }
197204
197862
  ]
197205
197863
  },
@@ -197211,6 +197869,9 @@ var init_schema = __esm(() => {
197211
197869
  },
197212
197870
  {
197213
197871
  $ref: "#/$defs/ExpressionEntry"
197872
+ },
197873
+ {
197874
+ $ref: "#/$defs/FunctionDef"
197214
197875
  }
197215
197876
  ]
197216
197877
  },
@@ -197222,6 +197883,9 @@ var init_schema = __esm(() => {
197222
197883
  },
197223
197884
  {
197224
197885
  $ref: "#/$defs/ExpressionEntry"
197886
+ },
197887
+ {
197888
+ $ref: "#/$defs/FunctionDef"
197225
197889
  }
197226
197890
  ]
197227
197891
  },
@@ -197233,6 +197897,9 @@ var init_schema = __esm(() => {
197233
197897
  },
197234
197898
  {
197235
197899
  $ref: "#/$defs/ExpressionEntry"
197900
+ },
197901
+ {
197902
+ $ref: "#/$defs/FunctionDef"
197236
197903
  }
197237
197904
  ]
197238
197905
  },
@@ -197244,6 +197911,9 @@ var init_schema = __esm(() => {
197244
197911
  },
197245
197912
  {
197246
197913
  $ref: "#/$defs/ExpressionEntry"
197914
+ },
197915
+ {
197916
+ $ref: "#/$defs/FunctionDef"
197247
197917
  }
197248
197918
  ]
197249
197919
  },
@@ -197255,6 +197925,9 @@ var init_schema = __esm(() => {
197255
197925
  },
197256
197926
  {
197257
197927
  $ref: "#/$defs/ExpressionEntry"
197928
+ },
197929
+ {
197930
+ $ref: "#/$defs/FunctionDef"
197258
197931
  }
197259
197932
  ]
197260
197933
  },
@@ -197266,6 +197939,9 @@ var init_schema = __esm(() => {
197266
197939
  },
197267
197940
  {
197268
197941
  $ref: "#/$defs/ExpressionEntry"
197942
+ },
197943
+ {
197944
+ $ref: "#/$defs/FunctionDef"
197269
197945
  }
197270
197946
  ]
197271
197947
  },
@@ -197277,6 +197953,9 @@ var init_schema = __esm(() => {
197277
197953
  },
197278
197954
  {
197279
197955
  $ref: "#/$defs/ExpressionEntry"
197956
+ },
197957
+ {
197958
+ $ref: "#/$defs/FunctionDef"
197280
197959
  }
197281
197960
  ]
197282
197961
  },
@@ -197288,6 +197967,9 @@ var init_schema = __esm(() => {
197288
197967
  },
197289
197968
  {
197290
197969
  $ref: "#/$defs/ExpressionEntry"
197970
+ },
197971
+ {
197972
+ $ref: "#/$defs/FunctionDef"
197291
197973
  }
197292
197974
  ]
197293
197975
  },
@@ -197299,6 +197981,9 @@ var init_schema = __esm(() => {
197299
197981
  },
197300
197982
  {
197301
197983
  $ref: "#/$defs/ExpressionEntry"
197984
+ },
197985
+ {
197986
+ $ref: "#/$defs/FunctionDef"
197302
197987
  }
197303
197988
  ]
197304
197989
  },
@@ -197310,6 +197995,9 @@ var init_schema = __esm(() => {
197310
197995
  },
197311
197996
  {
197312
197997
  $ref: "#/$defs/ExpressionEntry"
197998
+ },
197999
+ {
198000
+ $ref: "#/$defs/FunctionDef"
197313
198001
  }
197314
198002
  ]
197315
198003
  },
@@ -197321,6 +198009,9 @@ var init_schema = __esm(() => {
197321
198009
  },
197322
198010
  {
197323
198011
  $ref: "#/$defs/ExpressionEntry"
198012
+ },
198013
+ {
198014
+ $ref: "#/$defs/FunctionDef"
197324
198015
  }
197325
198016
  ]
197326
198017
  },
@@ -197332,6 +198023,9 @@ var init_schema = __esm(() => {
197332
198023
  },
197333
198024
  {
197334
198025
  $ref: "#/$defs/ExpressionEntry"
198026
+ },
198027
+ {
198028
+ $ref: "#/$defs/FunctionDef"
197335
198029
  }
197336
198030
  ]
197337
198031
  },
@@ -197343,6 +198037,9 @@ var init_schema = __esm(() => {
197343
198037
  },
197344
198038
  {
197345
198039
  $ref: "#/$defs/ExpressionEntry"
198040
+ },
198041
+ {
198042
+ $ref: "#/$defs/FunctionDef"
197346
198043
  }
197347
198044
  ]
197348
198045
  },
@@ -197354,6 +198051,9 @@ var init_schema = __esm(() => {
197354
198051
  },
197355
198052
  {
197356
198053
  $ref: "#/$defs/ExpressionEntry"
198054
+ },
198055
+ {
198056
+ $ref: "#/$defs/FunctionDef"
197357
198057
  }
197358
198058
  ]
197359
198059
  },
@@ -197365,6 +198065,9 @@ var init_schema = __esm(() => {
197365
198065
  },
197366
198066
  {
197367
198067
  $ref: "#/$defs/ExpressionEntry"
198068
+ },
198069
+ {
198070
+ $ref: "#/$defs/FunctionDef"
197368
198071
  }
197369
198072
  ]
197370
198073
  },
@@ -197376,6 +198079,9 @@ var init_schema = __esm(() => {
197376
198079
  },
197377
198080
  {
197378
198081
  $ref: "#/$defs/ExpressionEntry"
198082
+ },
198083
+ {
198084
+ $ref: "#/$defs/FunctionDef"
197379
198085
  }
197380
198086
  ]
197381
198087
  },
@@ -197387,6 +198093,9 @@ var init_schema = __esm(() => {
197387
198093
  },
197388
198094
  {
197389
198095
  $ref: "#/$defs/ExpressionEntry"
198096
+ },
198097
+ {
198098
+ $ref: "#/$defs/FunctionDef"
197390
198099
  }
197391
198100
  ]
197392
198101
  },
@@ -197398,6 +198107,9 @@ var init_schema = __esm(() => {
197398
198107
  },
197399
198108
  {
197400
198109
  $ref: "#/$defs/ExpressionEntry"
198110
+ },
198111
+ {
198112
+ $ref: "#/$defs/FunctionDef"
197401
198113
  }
197402
198114
  ]
197403
198115
  },
@@ -197409,6 +198121,9 @@ var init_schema = __esm(() => {
197409
198121
  },
197410
198122
  {
197411
198123
  $ref: "#/$defs/ExpressionEntry"
198124
+ },
198125
+ {
198126
+ $ref: "#/$defs/FunctionDef"
197412
198127
  }
197413
198128
  ]
197414
198129
  },
@@ -197420,6 +198135,9 @@ var init_schema = __esm(() => {
197420
198135
  },
197421
198136
  {
197422
198137
  $ref: "#/$defs/ExpressionEntry"
198138
+ },
198139
+ {
198140
+ $ref: "#/$defs/FunctionDef"
197423
198141
  }
197424
198142
  ]
197425
198143
  },
@@ -197431,6 +198149,9 @@ var init_schema = __esm(() => {
197431
198149
  },
197432
198150
  {
197433
198151
  $ref: "#/$defs/ExpressionEntry"
198152
+ },
198153
+ {
198154
+ $ref: "#/$defs/FunctionDef"
197434
198155
  }
197435
198156
  ]
197436
198157
  },
@@ -197442,6 +198163,9 @@ var init_schema = __esm(() => {
197442
198163
  },
197443
198164
  {
197444
198165
  $ref: "#/$defs/ExpressionEntry"
198166
+ },
198167
+ {
198168
+ $ref: "#/$defs/FunctionDef"
197445
198169
  }
197446
198170
  ]
197447
198171
  },
@@ -197453,6 +198177,9 @@ var init_schema = __esm(() => {
197453
198177
  },
197454
198178
  {
197455
198179
  $ref: "#/$defs/ExpressionEntry"
198180
+ },
198181
+ {
198182
+ $ref: "#/$defs/FunctionDef"
197456
198183
  }
197457
198184
  ]
197458
198185
  },
@@ -197464,6 +198191,9 @@ var init_schema = __esm(() => {
197464
198191
  },
197465
198192
  {
197466
198193
  $ref: "#/$defs/ExpressionEntry"
198194
+ },
198195
+ {
198196
+ $ref: "#/$defs/FunctionDef"
197467
198197
  }
197468
198198
  ]
197469
198199
  },
@@ -197475,6 +198205,9 @@ var init_schema = __esm(() => {
197475
198205
  },
197476
198206
  {
197477
198207
  $ref: "#/$defs/ExpressionEntry"
198208
+ },
198209
+ {
198210
+ $ref: "#/$defs/FunctionDef"
197478
198211
  }
197479
198212
  ]
197480
198213
  },
@@ -197486,6 +198219,9 @@ var init_schema = __esm(() => {
197486
198219
  },
197487
198220
  {
197488
198221
  $ref: "#/$defs/ExpressionEntry"
198222
+ },
198223
+ {
198224
+ $ref: "#/$defs/FunctionDef"
197489
198225
  }
197490
198226
  ]
197491
198227
  },
@@ -197497,6 +198233,9 @@ var init_schema = __esm(() => {
197497
198233
  },
197498
198234
  {
197499
198235
  $ref: "#/$defs/ExpressionEntry"
198236
+ },
198237
+ {
198238
+ $ref: "#/$defs/FunctionDef"
197500
198239
  }
197501
198240
  ]
197502
198241
  },
@@ -197508,6 +198247,9 @@ var init_schema = __esm(() => {
197508
198247
  },
197509
198248
  {
197510
198249
  $ref: "#/$defs/ExpressionEntry"
198250
+ },
198251
+ {
198252
+ $ref: "#/$defs/FunctionDef"
197511
198253
  }
197512
198254
  ]
197513
198255
  },
@@ -197519,6 +198261,9 @@ var init_schema = __esm(() => {
197519
198261
  },
197520
198262
  {
197521
198263
  $ref: "#/$defs/ExpressionEntry"
198264
+ },
198265
+ {
198266
+ $ref: "#/$defs/FunctionDef"
197522
198267
  }
197523
198268
  ]
197524
198269
  },
@@ -197530,6 +198275,9 @@ var init_schema = __esm(() => {
197530
198275
  },
197531
198276
  {
197532
198277
  $ref: "#/$defs/ExpressionEntry"
198278
+ },
198279
+ {
198280
+ $ref: "#/$defs/FunctionDef"
197533
198281
  }
197534
198282
  ]
197535
198283
  },
@@ -197541,6 +198289,9 @@ var init_schema = __esm(() => {
197541
198289
  },
197542
198290
  {
197543
198291
  $ref: "#/$defs/ExpressionEntry"
198292
+ },
198293
+ {
198294
+ $ref: "#/$defs/FunctionDef"
197544
198295
  }
197545
198296
  ]
197546
198297
  },
@@ -197552,6 +198303,9 @@ var init_schema = __esm(() => {
197552
198303
  },
197553
198304
  {
197554
198305
  $ref: "#/$defs/ExpressionEntry"
198306
+ },
198307
+ {
198308
+ $ref: "#/$defs/FunctionDef"
197555
198309
  }
197556
198310
  ]
197557
198311
  },
@@ -197563,6 +198317,9 @@ var init_schema = __esm(() => {
197563
198317
  },
197564
198318
  {
197565
198319
  $ref: "#/$defs/ExpressionEntry"
198320
+ },
198321
+ {
198322
+ $ref: "#/$defs/FunctionDef"
197566
198323
  }
197567
198324
  ]
197568
198325
  },
@@ -197574,6 +198331,9 @@ var init_schema = __esm(() => {
197574
198331
  },
197575
198332
  {
197576
198333
  $ref: "#/$defs/ExpressionEntry"
198334
+ },
198335
+ {
198336
+ $ref: "#/$defs/FunctionDef"
197577
198337
  }
197578
198338
  ]
197579
198339
  },
@@ -197585,6 +198345,9 @@ var init_schema = __esm(() => {
197585
198345
  },
197586
198346
  {
197587
198347
  $ref: "#/$defs/ExpressionEntry"
198348
+ },
198349
+ {
198350
+ $ref: "#/$defs/FunctionDef"
197588
198351
  }
197589
198352
  ]
197590
198353
  },
@@ -197596,6 +198359,9 @@ var init_schema = __esm(() => {
197596
198359
  },
197597
198360
  {
197598
198361
  $ref: "#/$defs/ExpressionEntry"
198362
+ },
198363
+ {
198364
+ $ref: "#/$defs/FunctionDef"
197599
198365
  }
197600
198366
  ]
197601
198367
  },
@@ -197607,6 +198373,9 @@ var init_schema = __esm(() => {
197607
198373
  },
197608
198374
  {
197609
198375
  $ref: "#/$defs/ExpressionEntry"
198376
+ },
198377
+ {
198378
+ $ref: "#/$defs/FunctionDef"
197610
198379
  }
197611
198380
  ]
197612
198381
  },
@@ -197618,6 +198387,9 @@ var init_schema = __esm(() => {
197618
198387
  },
197619
198388
  {
197620
198389
  $ref: "#/$defs/ExpressionEntry"
198390
+ },
198391
+ {
198392
+ $ref: "#/$defs/FunctionDef"
197621
198393
  }
197622
198394
  ]
197623
198395
  },
@@ -197629,6 +198401,9 @@ var init_schema = __esm(() => {
197629
198401
  },
197630
198402
  {
197631
198403
  $ref: "#/$defs/ExpressionEntry"
198404
+ },
198405
+ {
198406
+ $ref: "#/$defs/FunctionDef"
197632
198407
  }
197633
198408
  ]
197634
198409
  },
@@ -197640,6 +198415,9 @@ var init_schema = __esm(() => {
197640
198415
  },
197641
198416
  {
197642
198417
  $ref: "#/$defs/ExpressionEntry"
198418
+ },
198419
+ {
198420
+ $ref: "#/$defs/FunctionDef"
197643
198421
  }
197644
198422
  ]
197645
198423
  },
@@ -197651,6 +198429,9 @@ var init_schema = __esm(() => {
197651
198429
  },
197652
198430
  {
197653
198431
  $ref: "#/$defs/ExpressionEntry"
198432
+ },
198433
+ {
198434
+ $ref: "#/$defs/FunctionDef"
197654
198435
  }
197655
198436
  ]
197656
198437
  },
@@ -197662,6 +198443,9 @@ var init_schema = __esm(() => {
197662
198443
  },
197663
198444
  {
197664
198445
  $ref: "#/$defs/ExpressionEntry"
198446
+ },
198447
+ {
198448
+ $ref: "#/$defs/FunctionDef"
197665
198449
  }
197666
198450
  ]
197667
198451
  },
@@ -197673,6 +198457,9 @@ var init_schema = __esm(() => {
197673
198457
  },
197674
198458
  {
197675
198459
  $ref: "#/$defs/ExpressionEntry"
198460
+ },
198461
+ {
198462
+ $ref: "#/$defs/FunctionDef"
197676
198463
  }
197677
198464
  ]
197678
198465
  },
@@ -197684,6 +198471,9 @@ var init_schema = __esm(() => {
197684
198471
  },
197685
198472
  {
197686
198473
  $ref: "#/$defs/ExpressionEntry"
198474
+ },
198475
+ {
198476
+ $ref: "#/$defs/FunctionDef"
197687
198477
  }
197688
198478
  ]
197689
198479
  },
@@ -197695,6 +198485,9 @@ var init_schema = __esm(() => {
197695
198485
  },
197696
198486
  {
197697
198487
  $ref: "#/$defs/ExpressionEntry"
198488
+ },
198489
+ {
198490
+ $ref: "#/$defs/FunctionDef"
197698
198491
  }
197699
198492
  ]
197700
198493
  },
@@ -197706,6 +198499,9 @@ var init_schema = __esm(() => {
197706
198499
  },
197707
198500
  {
197708
198501
  $ref: "#/$defs/ExpressionEntry"
198502
+ },
198503
+ {
198504
+ $ref: "#/$defs/FunctionDef"
197709
198505
  }
197710
198506
  ]
197711
198507
  },
@@ -197717,6 +198513,9 @@ var init_schema = __esm(() => {
197717
198513
  },
197718
198514
  {
197719
198515
  $ref: "#/$defs/ExpressionEntry"
198516
+ },
198517
+ {
198518
+ $ref: "#/$defs/FunctionDef"
197720
198519
  }
197721
198520
  ]
197722
198521
  },
@@ -197728,6 +198527,9 @@ var init_schema = __esm(() => {
197728
198527
  },
197729
198528
  {
197730
198529
  $ref: "#/$defs/ExpressionEntry"
198530
+ },
198531
+ {
198532
+ $ref: "#/$defs/FunctionDef"
197731
198533
  }
197732
198534
  ]
197733
198535
  },
@@ -197739,6 +198541,9 @@ var init_schema = __esm(() => {
197739
198541
  },
197740
198542
  {
197741
198543
  $ref: "#/$defs/ExpressionEntry"
198544
+ },
198545
+ {
198546
+ $ref: "#/$defs/FunctionDef"
197742
198547
  }
197743
198548
  ]
197744
198549
  },
@@ -197750,6 +198555,9 @@ var init_schema = __esm(() => {
197750
198555
  },
197751
198556
  {
197752
198557
  $ref: "#/$defs/ExpressionEntry"
198558
+ },
198559
+ {
198560
+ $ref: "#/$defs/FunctionDef"
197753
198561
  }
197754
198562
  ]
197755
198563
  },
@@ -197761,6 +198569,9 @@ var init_schema = __esm(() => {
197761
198569
  },
197762
198570
  {
197763
198571
  $ref: "#/$defs/ExpressionEntry"
198572
+ },
198573
+ {
198574
+ $ref: "#/$defs/FunctionDef"
197764
198575
  }
197765
198576
  ]
197766
198577
  },
@@ -197772,6 +198583,9 @@ var init_schema = __esm(() => {
197772
198583
  },
197773
198584
  {
197774
198585
  $ref: "#/$defs/ExpressionEntry"
198586
+ },
198587
+ {
198588
+ $ref: "#/$defs/FunctionDef"
197775
198589
  }
197776
198590
  ]
197777
198591
  },
@@ -197783,6 +198597,9 @@ var init_schema = __esm(() => {
197783
198597
  },
197784
198598
  {
197785
198599
  $ref: "#/$defs/ExpressionEntry"
198600
+ },
198601
+ {
198602
+ $ref: "#/$defs/FunctionDef"
197786
198603
  }
197787
198604
  ]
197788
198605
  },
@@ -197794,6 +198611,9 @@ var init_schema = __esm(() => {
197794
198611
  },
197795
198612
  {
197796
198613
  $ref: "#/$defs/ExpressionEntry"
198614
+ },
198615
+ {
198616
+ $ref: "#/$defs/FunctionDef"
197797
198617
  }
197798
198618
  ]
197799
198619
  },
@@ -197805,6 +198625,9 @@ var init_schema = __esm(() => {
197805
198625
  },
197806
198626
  {
197807
198627
  $ref: "#/$defs/ExpressionEntry"
198628
+ },
198629
+ {
198630
+ $ref: "#/$defs/FunctionDef"
197808
198631
  }
197809
198632
  ]
197810
198633
  },
@@ -197816,6 +198639,9 @@ var init_schema = __esm(() => {
197816
198639
  },
197817
198640
  {
197818
198641
  $ref: "#/$defs/ExpressionEntry"
198642
+ },
198643
+ {
198644
+ $ref: "#/$defs/FunctionDef"
197819
198645
  }
197820
198646
  ]
197821
198647
  },
@@ -197827,6 +198653,9 @@ var init_schema = __esm(() => {
197827
198653
  },
197828
198654
  {
197829
198655
  $ref: "#/$defs/ExpressionEntry"
198656
+ },
198657
+ {
198658
+ $ref: "#/$defs/FunctionDef"
197830
198659
  }
197831
198660
  ]
197832
198661
  },
@@ -197838,6 +198667,9 @@ var init_schema = __esm(() => {
197838
198667
  },
197839
198668
  {
197840
198669
  $ref: "#/$defs/ExpressionEntry"
198670
+ },
198671
+ {
198672
+ $ref: "#/$defs/FunctionDef"
197841
198673
  }
197842
198674
  ]
197843
198675
  },
@@ -197849,6 +198681,9 @@ var init_schema = __esm(() => {
197849
198681
  },
197850
198682
  {
197851
198683
  $ref: "#/$defs/ExpressionEntry"
198684
+ },
198685
+ {
198686
+ $ref: "#/$defs/FunctionDef"
197852
198687
  }
197853
198688
  ]
197854
198689
  },
@@ -197860,6 +198695,9 @@ var init_schema = __esm(() => {
197860
198695
  },
197861
198696
  {
197862
198697
  $ref: "#/$defs/ExpressionEntry"
198698
+ },
198699
+ {
198700
+ $ref: "#/$defs/FunctionDef"
197863
198701
  }
197864
198702
  ]
197865
198703
  },
@@ -197871,6 +198709,9 @@ var init_schema = __esm(() => {
197871
198709
  },
197872
198710
  {
197873
198711
  $ref: "#/$defs/ExpressionEntry"
198712
+ },
198713
+ {
198714
+ $ref: "#/$defs/FunctionDef"
197874
198715
  }
197875
198716
  ]
197876
198717
  },
@@ -197882,6 +198723,9 @@ var init_schema = __esm(() => {
197882
198723
  },
197883
198724
  {
197884
198725
  $ref: "#/$defs/ExpressionEntry"
198726
+ },
198727
+ {
198728
+ $ref: "#/$defs/FunctionDef"
197885
198729
  }
197886
198730
  ]
197887
198731
  },
@@ -197893,6 +198737,9 @@ var init_schema = __esm(() => {
197893
198737
  },
197894
198738
  {
197895
198739
  $ref: "#/$defs/ExpressionEntry"
198740
+ },
198741
+ {
198742
+ $ref: "#/$defs/FunctionDef"
197896
198743
  }
197897
198744
  ]
197898
198745
  },
@@ -197904,6 +198751,9 @@ var init_schema = __esm(() => {
197904
198751
  },
197905
198752
  {
197906
198753
  $ref: "#/$defs/ExpressionEntry"
198754
+ },
198755
+ {
198756
+ $ref: "#/$defs/FunctionDef"
197907
198757
  }
197908
198758
  ]
197909
198759
  },
@@ -197915,6 +198765,9 @@ var init_schema = __esm(() => {
197915
198765
  },
197916
198766
  {
197917
198767
  $ref: "#/$defs/ExpressionEntry"
198768
+ },
198769
+ {
198770
+ $ref: "#/$defs/FunctionDef"
197918
198771
  }
197919
198772
  ]
197920
198773
  },
@@ -197926,6 +198779,9 @@ var init_schema = __esm(() => {
197926
198779
  },
197927
198780
  {
197928
198781
  $ref: "#/$defs/ExpressionEntry"
198782
+ },
198783
+ {
198784
+ $ref: "#/$defs/FunctionDef"
197929
198785
  }
197930
198786
  ]
197931
198787
  },
@@ -197937,6 +198793,9 @@ var init_schema = __esm(() => {
197937
198793
  },
197938
198794
  {
197939
198795
  $ref: "#/$defs/ExpressionEntry"
198796
+ },
198797
+ {
198798
+ $ref: "#/$defs/FunctionDef"
197940
198799
  }
197941
198800
  ]
197942
198801
  },
@@ -197948,6 +198807,9 @@ var init_schema = __esm(() => {
197948
198807
  },
197949
198808
  {
197950
198809
  $ref: "#/$defs/ExpressionEntry"
198810
+ },
198811
+ {
198812
+ $ref: "#/$defs/FunctionDef"
197951
198813
  }
197952
198814
  ]
197953
198815
  },
@@ -197959,6 +198821,9 @@ var init_schema = __esm(() => {
197959
198821
  },
197960
198822
  {
197961
198823
  $ref: "#/$defs/ExpressionEntry"
198824
+ },
198825
+ {
198826
+ $ref: "#/$defs/FunctionDef"
197962
198827
  }
197963
198828
  ]
197964
198829
  },
@@ -197970,6 +198835,9 @@ var init_schema = __esm(() => {
197970
198835
  },
197971
198836
  {
197972
198837
  $ref: "#/$defs/ExpressionEntry"
198838
+ },
198839
+ {
198840
+ $ref: "#/$defs/FunctionDef"
197973
198841
  }
197974
198842
  ]
197975
198843
  },
@@ -197981,6 +198849,9 @@ var init_schema = __esm(() => {
197981
198849
  },
197982
198850
  {
197983
198851
  $ref: "#/$defs/ExpressionEntry"
198852
+ },
198853
+ {
198854
+ $ref: "#/$defs/FunctionDef"
197984
198855
  }
197985
198856
  ]
197986
198857
  },
@@ -197992,6 +198863,9 @@ var init_schema = __esm(() => {
197992
198863
  },
197993
198864
  {
197994
198865
  $ref: "#/$defs/ExpressionEntry"
198866
+ },
198867
+ {
198868
+ $ref: "#/$defs/FunctionDef"
197995
198869
  }
197996
198870
  ]
197997
198871
  },
@@ -198003,6 +198877,9 @@ var init_schema = __esm(() => {
198003
198877
  },
198004
198878
  {
198005
198879
  $ref: "#/$defs/ExpressionEntry"
198880
+ },
198881
+ {
198882
+ $ref: "#/$defs/FunctionDef"
198006
198883
  }
198007
198884
  ]
198008
198885
  },
@@ -198014,6 +198891,9 @@ var init_schema = __esm(() => {
198014
198891
  },
198015
198892
  {
198016
198893
  $ref: "#/$defs/ExpressionEntry"
198894
+ },
198895
+ {
198896
+ $ref: "#/$defs/FunctionDef"
198017
198897
  }
198018
198898
  ]
198019
198899
  },
@@ -198025,6 +198905,9 @@ var init_schema = __esm(() => {
198025
198905
  },
198026
198906
  {
198027
198907
  $ref: "#/$defs/ExpressionEntry"
198908
+ },
198909
+ {
198910
+ $ref: "#/$defs/FunctionDef"
198028
198911
  }
198029
198912
  ]
198030
198913
  },
@@ -198036,6 +198919,9 @@ var init_schema = __esm(() => {
198036
198919
  },
198037
198920
  {
198038
198921
  $ref: "#/$defs/ExpressionEntry"
198922
+ },
198923
+ {
198924
+ $ref: "#/$defs/FunctionDef"
198039
198925
  }
198040
198926
  ]
198041
198927
  },
@@ -198047,6 +198933,9 @@ var init_schema = __esm(() => {
198047
198933
  },
198048
198934
  {
198049
198935
  $ref: "#/$defs/ExpressionEntry"
198936
+ },
198937
+ {
198938
+ $ref: "#/$defs/FunctionDef"
198050
198939
  }
198051
198940
  ]
198052
198941
  },
@@ -198058,6 +198947,9 @@ var init_schema = __esm(() => {
198058
198947
  },
198059
198948
  {
198060
198949
  $ref: "#/$defs/ExpressionEntry"
198950
+ },
198951
+ {
198952
+ $ref: "#/$defs/FunctionDef"
198061
198953
  }
198062
198954
  ]
198063
198955
  },
@@ -198069,6 +198961,9 @@ var init_schema = __esm(() => {
198069
198961
  },
198070
198962
  {
198071
198963
  $ref: "#/$defs/ExpressionEntry"
198964
+ },
198965
+ {
198966
+ $ref: "#/$defs/FunctionDef"
198072
198967
  }
198073
198968
  ]
198074
198969
  },
@@ -198080,6 +198975,9 @@ var init_schema = __esm(() => {
198080
198975
  },
198081
198976
  {
198082
198977
  $ref: "#/$defs/ExpressionEntry"
198978
+ },
198979
+ {
198980
+ $ref: "#/$defs/FunctionDef"
198083
198981
  }
198084
198982
  ]
198085
198983
  },
@@ -198091,6 +198989,9 @@ var init_schema = __esm(() => {
198091
198989
  },
198092
198990
  {
198093
198991
  $ref: "#/$defs/ExpressionEntry"
198992
+ },
198993
+ {
198994
+ $ref: "#/$defs/FunctionDef"
198094
198995
  }
198095
198996
  ]
198096
198997
  },
@@ -198102,6 +199003,9 @@ var init_schema = __esm(() => {
198102
199003
  },
198103
199004
  {
198104
199005
  $ref: "#/$defs/ExpressionEntry"
199006
+ },
199007
+ {
199008
+ $ref: "#/$defs/FunctionDef"
198105
199009
  }
198106
199010
  ]
198107
199011
  },
@@ -198113,6 +199017,9 @@ var init_schema = __esm(() => {
198113
199017
  },
198114
199018
  {
198115
199019
  $ref: "#/$defs/ExpressionEntry"
199020
+ },
199021
+ {
199022
+ $ref: "#/$defs/FunctionDef"
198116
199023
  }
198117
199024
  ]
198118
199025
  },
@@ -198124,6 +199031,9 @@ var init_schema = __esm(() => {
198124
199031
  },
198125
199032
  {
198126
199033
  $ref: "#/$defs/ExpressionEntry"
199034
+ },
199035
+ {
199036
+ $ref: "#/$defs/FunctionDef"
198127
199037
  }
198128
199038
  ]
198129
199039
  },
@@ -198135,6 +199045,9 @@ var init_schema = __esm(() => {
198135
199045
  },
198136
199046
  {
198137
199047
  $ref: "#/$defs/ExpressionEntry"
199048
+ },
199049
+ {
199050
+ $ref: "#/$defs/FunctionDef"
198138
199051
  }
198139
199052
  ]
198140
199053
  },
@@ -198146,6 +199059,9 @@ var init_schema = __esm(() => {
198146
199059
  },
198147
199060
  {
198148
199061
  $ref: "#/$defs/ExpressionEntry"
199062
+ },
199063
+ {
199064
+ $ref: "#/$defs/FunctionDef"
198149
199065
  }
198150
199066
  ]
198151
199067
  },
@@ -198157,6 +199073,9 @@ var init_schema = __esm(() => {
198157
199073
  },
198158
199074
  {
198159
199075
  $ref: "#/$defs/ExpressionEntry"
199076
+ },
199077
+ {
199078
+ $ref: "#/$defs/FunctionDef"
198160
199079
  }
198161
199080
  ]
198162
199081
  },
@@ -198168,6 +199087,9 @@ var init_schema = __esm(() => {
198168
199087
  },
198169
199088
  {
198170
199089
  $ref: "#/$defs/ExpressionEntry"
199090
+ },
199091
+ {
199092
+ $ref: "#/$defs/FunctionDef"
198171
199093
  }
198172
199094
  ]
198173
199095
  },
@@ -198179,6 +199101,9 @@ var init_schema = __esm(() => {
198179
199101
  },
198180
199102
  {
198181
199103
  $ref: "#/$defs/ExpressionEntry"
199104
+ },
199105
+ {
199106
+ $ref: "#/$defs/FunctionDef"
198182
199107
  }
198183
199108
  ]
198184
199109
  },
@@ -198190,6 +199115,9 @@ var init_schema = __esm(() => {
198190
199115
  },
198191
199116
  {
198192
199117
  $ref: "#/$defs/ExpressionEntry"
199118
+ },
199119
+ {
199120
+ $ref: "#/$defs/FunctionDef"
198193
199121
  }
198194
199122
  ]
198195
199123
  },
@@ -198201,6 +199129,9 @@ var init_schema = __esm(() => {
198201
199129
  },
198202
199130
  {
198203
199131
  $ref: "#/$defs/ExpressionEntry"
199132
+ },
199133
+ {
199134
+ $ref: "#/$defs/FunctionDef"
198204
199135
  }
198205
199136
  ]
198206
199137
  },
@@ -198212,6 +199143,9 @@ var init_schema = __esm(() => {
198212
199143
  },
198213
199144
  {
198214
199145
  $ref: "#/$defs/ExpressionEntry"
199146
+ },
199147
+ {
199148
+ $ref: "#/$defs/FunctionDef"
198215
199149
  }
198216
199150
  ]
198217
199151
  },
@@ -198223,6 +199157,9 @@ var init_schema = __esm(() => {
198223
199157
  },
198224
199158
  {
198225
199159
  $ref: "#/$defs/ExpressionEntry"
199160
+ },
199161
+ {
199162
+ $ref: "#/$defs/FunctionDef"
198226
199163
  }
198227
199164
  ]
198228
199165
  },
@@ -198234,6 +199171,9 @@ var init_schema = __esm(() => {
198234
199171
  },
198235
199172
  {
198236
199173
  $ref: "#/$defs/ExpressionEntry"
199174
+ },
199175
+ {
199176
+ $ref: "#/$defs/FunctionDef"
198237
199177
  }
198238
199178
  ]
198239
199179
  },
@@ -198245,6 +199185,9 @@ var init_schema = __esm(() => {
198245
199185
  },
198246
199186
  {
198247
199187
  $ref: "#/$defs/ExpressionEntry"
199188
+ },
199189
+ {
199190
+ $ref: "#/$defs/FunctionDef"
198248
199191
  }
198249
199192
  ]
198250
199193
  },
@@ -198256,6 +199199,9 @@ var init_schema = __esm(() => {
198256
199199
  },
198257
199200
  {
198258
199201
  $ref: "#/$defs/ExpressionEntry"
199202
+ },
199203
+ {
199204
+ $ref: "#/$defs/FunctionDef"
198259
199205
  }
198260
199206
  ]
198261
199207
  },
@@ -198267,6 +199213,9 @@ var init_schema = __esm(() => {
198267
199213
  },
198268
199214
  {
198269
199215
  $ref: "#/$defs/ExpressionEntry"
199216
+ },
199217
+ {
199218
+ $ref: "#/$defs/FunctionDef"
198270
199219
  }
198271
199220
  ]
198272
199221
  },
@@ -198278,6 +199227,9 @@ var init_schema = __esm(() => {
198278
199227
  },
198279
199228
  {
198280
199229
  $ref: "#/$defs/ExpressionEntry"
199230
+ },
199231
+ {
199232
+ $ref: "#/$defs/FunctionDef"
198281
199233
  }
198282
199234
  ]
198283
199235
  },
@@ -198289,6 +199241,9 @@ var init_schema = __esm(() => {
198289
199241
  },
198290
199242
  {
198291
199243
  $ref: "#/$defs/ExpressionEntry"
199244
+ },
199245
+ {
199246
+ $ref: "#/$defs/FunctionDef"
198292
199247
  }
198293
199248
  ]
198294
199249
  },
@@ -198300,6 +199255,9 @@ var init_schema = __esm(() => {
198300
199255
  },
198301
199256
  {
198302
199257
  $ref: "#/$defs/ExpressionEntry"
199258
+ },
199259
+ {
199260
+ $ref: "#/$defs/FunctionDef"
198303
199261
  }
198304
199262
  ]
198305
199263
  },
@@ -198311,6 +199269,9 @@ var init_schema = __esm(() => {
198311
199269
  },
198312
199270
  {
198313
199271
  $ref: "#/$defs/ExpressionEntry"
199272
+ },
199273
+ {
199274
+ $ref: "#/$defs/FunctionDef"
198314
199275
  }
198315
199276
  ]
198316
199277
  },
@@ -198322,6 +199283,9 @@ var init_schema = __esm(() => {
198322
199283
  },
198323
199284
  {
198324
199285
  $ref: "#/$defs/ExpressionEntry"
199286
+ },
199287
+ {
199288
+ $ref: "#/$defs/FunctionDef"
198325
199289
  }
198326
199290
  ]
198327
199291
  },
@@ -198333,6 +199297,9 @@ var init_schema = __esm(() => {
198333
199297
  },
198334
199298
  {
198335
199299
  $ref: "#/$defs/ExpressionEntry"
199300
+ },
199301
+ {
199302
+ $ref: "#/$defs/FunctionDef"
198336
199303
  }
198337
199304
  ]
198338
199305
  },
@@ -198344,6 +199311,9 @@ var init_schema = __esm(() => {
198344
199311
  },
198345
199312
  {
198346
199313
  $ref: "#/$defs/ExpressionEntry"
199314
+ },
199315
+ {
199316
+ $ref: "#/$defs/FunctionDef"
198347
199317
  }
198348
199318
  ]
198349
199319
  },
@@ -198355,6 +199325,9 @@ var init_schema = __esm(() => {
198355
199325
  },
198356
199326
  {
198357
199327
  $ref: "#/$defs/ExpressionEntry"
199328
+ },
199329
+ {
199330
+ $ref: "#/$defs/FunctionDef"
198358
199331
  }
198359
199332
  ]
198360
199333
  },
@@ -198366,6 +199339,9 @@ var init_schema = __esm(() => {
198366
199339
  },
198367
199340
  {
198368
199341
  $ref: "#/$defs/ExpressionEntry"
199342
+ },
199343
+ {
199344
+ $ref: "#/$defs/FunctionDef"
198369
199345
  }
198370
199346
  ]
198371
199347
  },
@@ -198377,6 +199353,9 @@ var init_schema = __esm(() => {
198377
199353
  },
198378
199354
  {
198379
199355
  $ref: "#/$defs/ExpressionEntry"
199356
+ },
199357
+ {
199358
+ $ref: "#/$defs/FunctionDef"
198380
199359
  }
198381
199360
  ]
198382
199361
  },
@@ -198388,6 +199367,9 @@ var init_schema = __esm(() => {
198388
199367
  },
198389
199368
  {
198390
199369
  $ref: "#/$defs/ExpressionEntry"
199370
+ },
199371
+ {
199372
+ $ref: "#/$defs/FunctionDef"
198391
199373
  }
198392
199374
  ]
198393
199375
  },
@@ -198399,6 +199381,9 @@ var init_schema = __esm(() => {
198399
199381
  },
198400
199382
  {
198401
199383
  $ref: "#/$defs/ExpressionEntry"
199384
+ },
199385
+ {
199386
+ $ref: "#/$defs/FunctionDef"
198402
199387
  }
198403
199388
  ]
198404
199389
  },
@@ -198410,6 +199395,9 @@ var init_schema = __esm(() => {
198410
199395
  },
198411
199396
  {
198412
199397
  $ref: "#/$defs/ExpressionEntry"
199398
+ },
199399
+ {
199400
+ $ref: "#/$defs/FunctionDef"
198413
199401
  }
198414
199402
  ]
198415
199403
  },
@@ -198421,6 +199409,9 @@ var init_schema = __esm(() => {
198421
199409
  },
198422
199410
  {
198423
199411
  $ref: "#/$defs/ExpressionEntry"
199412
+ },
199413
+ {
199414
+ $ref: "#/$defs/FunctionDef"
198424
199415
  }
198425
199416
  ]
198426
199417
  },
@@ -198432,6 +199423,9 @@ var init_schema = __esm(() => {
198432
199423
  },
198433
199424
  {
198434
199425
  $ref: "#/$defs/ExpressionEntry"
199426
+ },
199427
+ {
199428
+ $ref: "#/$defs/FunctionDef"
198435
199429
  }
198436
199430
  ]
198437
199431
  },
@@ -198443,6 +199437,9 @@ var init_schema = __esm(() => {
198443
199437
  },
198444
199438
  {
198445
199439
  $ref: "#/$defs/ExpressionEntry"
199440
+ },
199441
+ {
199442
+ $ref: "#/$defs/FunctionDef"
198446
199443
  }
198447
199444
  ]
198448
199445
  },
@@ -198454,6 +199451,9 @@ var init_schema = __esm(() => {
198454
199451
  },
198455
199452
  {
198456
199453
  $ref: "#/$defs/ExpressionEntry"
199454
+ },
199455
+ {
199456
+ $ref: "#/$defs/FunctionDef"
198457
199457
  }
198458
199458
  ]
198459
199459
  },
@@ -198465,6 +199465,9 @@ var init_schema = __esm(() => {
198465
199465
  },
198466
199466
  {
198467
199467
  $ref: "#/$defs/ExpressionEntry"
199468
+ },
199469
+ {
199470
+ $ref: "#/$defs/FunctionDef"
198468
199471
  }
198469
199472
  ]
198470
199473
  },
@@ -198476,6 +199479,9 @@ var init_schema = __esm(() => {
198476
199479
  },
198477
199480
  {
198478
199481
  $ref: "#/$defs/ExpressionEntry"
199482
+ },
199483
+ {
199484
+ $ref: "#/$defs/FunctionDef"
198479
199485
  }
198480
199486
  ]
198481
199487
  },
@@ -198487,6 +199493,9 @@ var init_schema = __esm(() => {
198487
199493
  },
198488
199494
  {
198489
199495
  $ref: "#/$defs/ExpressionEntry"
199496
+ },
199497
+ {
199498
+ $ref: "#/$defs/FunctionDef"
198490
199499
  }
198491
199500
  ]
198492
199501
  },
@@ -198498,6 +199507,9 @@ var init_schema = __esm(() => {
198498
199507
  },
198499
199508
  {
198500
199509
  $ref: "#/$defs/ExpressionEntry"
199510
+ },
199511
+ {
199512
+ $ref: "#/$defs/FunctionDef"
198501
199513
  }
198502
199514
  ]
198503
199515
  },
@@ -198509,6 +199521,9 @@ var init_schema = __esm(() => {
198509
199521
  },
198510
199522
  {
198511
199523
  $ref: "#/$defs/ExpressionEntry"
199524
+ },
199525
+ {
199526
+ $ref: "#/$defs/FunctionDef"
198512
199527
  }
198513
199528
  ]
198514
199529
  },
@@ -198520,6 +199535,9 @@ var init_schema = __esm(() => {
198520
199535
  },
198521
199536
  {
198522
199537
  $ref: "#/$defs/ExpressionEntry"
199538
+ },
199539
+ {
199540
+ $ref: "#/$defs/FunctionDef"
198523
199541
  }
198524
199542
  ]
198525
199543
  },
@@ -198531,6 +199549,9 @@ var init_schema = __esm(() => {
198531
199549
  },
198532
199550
  {
198533
199551
  $ref: "#/$defs/ExpressionEntry"
199552
+ },
199553
+ {
199554
+ $ref: "#/$defs/FunctionDef"
198534
199555
  }
198535
199556
  ]
198536
199557
  },
@@ -198542,6 +199563,9 @@ var init_schema = __esm(() => {
198542
199563
  },
198543
199564
  {
198544
199565
  $ref: "#/$defs/ExpressionEntry"
199566
+ },
199567
+ {
199568
+ $ref: "#/$defs/FunctionDef"
198545
199569
  }
198546
199570
  ]
198547
199571
  },
@@ -198553,6 +199577,9 @@ var init_schema = __esm(() => {
198553
199577
  },
198554
199578
  {
198555
199579
  $ref: "#/$defs/ExpressionEntry"
199580
+ },
199581
+ {
199582
+ $ref: "#/$defs/FunctionDef"
198556
199583
  }
198557
199584
  ]
198558
199585
  },
@@ -198564,6 +199591,9 @@ var init_schema = __esm(() => {
198564
199591
  },
198565
199592
  {
198566
199593
  $ref: "#/$defs/ExpressionEntry"
199594
+ },
199595
+ {
199596
+ $ref: "#/$defs/FunctionDef"
198567
199597
  }
198568
199598
  ]
198569
199599
  },
@@ -198575,6 +199605,9 @@ var init_schema = __esm(() => {
198575
199605
  },
198576
199606
  {
198577
199607
  $ref: "#/$defs/ExpressionEntry"
199608
+ },
199609
+ {
199610
+ $ref: "#/$defs/FunctionDef"
198578
199611
  }
198579
199612
  ]
198580
199613
  },
@@ -198586,6 +199619,9 @@ var init_schema = __esm(() => {
198586
199619
  },
198587
199620
  {
198588
199621
  $ref: "#/$defs/ExpressionEntry"
199622
+ },
199623
+ {
199624
+ $ref: "#/$defs/FunctionDef"
198589
199625
  }
198590
199626
  ]
198591
199627
  },
@@ -198597,6 +199633,9 @@ var init_schema = __esm(() => {
198597
199633
  },
198598
199634
  {
198599
199635
  $ref: "#/$defs/ExpressionEntry"
199636
+ },
199637
+ {
199638
+ $ref: "#/$defs/FunctionDef"
198600
199639
  }
198601
199640
  ]
198602
199641
  },
@@ -198608,6 +199647,9 @@ var init_schema = __esm(() => {
198608
199647
  },
198609
199648
  {
198610
199649
  $ref: "#/$defs/ExpressionEntry"
199650
+ },
199651
+ {
199652
+ $ref: "#/$defs/FunctionDef"
198611
199653
  }
198612
199654
  ]
198613
199655
  }
@@ -198618,7 +199660,7 @@ var init_schema = __esm(() => {
198618
199660
  type: "object"
198619
199661
  },
198620
199662
  ChildrenValue: {
198621
- description: "Array of child definitions — elements, text, or Array namespaces (dynamic lists) mixed freely. A bare Array namespace (the whole children slot is one dynamic list) is also accepted for backward compatibility.",
199663
+ description: "Array of child definitions — elements, text, or Array namespaces (dynamic lists) mixed freely. A bare Array namespace (the whole children slot is one dynamic list) is also accepted for backward compatibility, as is a ${…} template string that resolves at build time to an array of child definitions.",
198622
199664
  oneOf: [
198623
199665
  {
198624
199666
  items: {
@@ -198641,6 +199683,11 @@ var init_schema = __esm(() => {
198641
199683
  },
198642
199684
  {
198643
199685
  $ref: "#/$defs/ArrayNamespace"
199686
+ },
199687
+ {
199688
+ description: 'Computed children — a ${…} template that resolves at build time to an array of child definitions (e.g. "${state.entry.$children}" for parsed content). A bare plain-text string is NOT a valid children value; text children must be array items.',
199689
+ pattern: "\\$\\{",
199690
+ type: "string"
198644
199691
  }
198645
199692
  ]
198646
199693
  },
@@ -198684,7 +199731,7 @@ var init_schema = __esm(() => {
198684
199731
  description: "Reactive $ref that drives which case to render.",
198685
199732
  properties: {
198686
199733
  $ref: {
198687
- $ref: "#/$defs/InternalRef"
199734
+ $ref: "#/$defs/StateRef"
198688
199735
  }
198689
199736
  },
198690
199737
  required: [
@@ -198730,22 +199777,11 @@ var init_schema = __esm(() => {
198730
199777
  type: "number"
198731
199778
  },
198732
199779
  {
198733
- additionalProperties: {
198734
- oneOf: [
198735
- {
198736
- type: "string"
198737
- },
198738
- {
198739
- type: "number"
198740
- }
198741
- ]
198742
- },
198743
- description: "Nested CSS selector or media breakpoint rules.",
198744
- type: "object"
199780
+ $ref: "#/$defs/StyleObject"
198745
199781
  }
198746
199782
  ]
198747
199783
  },
198748
- description: "CSS style definition. camelCase property names follow CSSOM convention. Keys starting with :, ., &, or [ are treated as nested CSS selectors. Keys matching $media breakpoint names are treated as responsive rules.",
199784
+ description: "CSS style definition. camelCase property names follow CSSOM convention. Keys starting with :, ., &, or [ are treated as nested CSS selectors. Keys matching $media breakpoint names (or other @-prefixed at-rules) group nested rules. Nesting is recursive: selector and at-rule groups may nest to arbitrary depth (e.g. breakpoint → selector → pseudo-class), mirroring the compiler's recursive emission.",
198749
199785
  properties: {
198750
199786
  "-webkit-align-content": {
198751
199787
  oneOf: [
@@ -215042,7 +216078,7 @@ var init_schema = __esm(() => {
215042
216078
  },
215043
216079
  PropsObject: {
215044
216080
  additionalProperties: {
215045
- oneOf: [
216081
+ anyOf: [
215046
216082
  {
215047
216083
  type: "string"
215048
216084
  },
@@ -215604,215 +216640,233 @@ var init_schema = __esm(() => {
215604
216640
  }
215605
216641
  },
215606
216642
  type: "object"
215607
- }
215608
- },
215609
- $id: "https://jxsuite.com/schema/v1",
215610
- $schema: "https://json-schema.org/draft/2020-12/schema",
215611
- additionalProperties: {
215612
- $ref: "#/$defs/ElementPropertyValue"
215613
- },
215614
- description: "Schema for Jx component files. A Jx document is a JSON object that declaratively describes a reactive web component: its structure (DOM tree), styling, type definitions ($defs), runtime state, and inline or external functions. Reactivity is powered by @vue/reactivity.",
215615
- properties: {
215616
- $defs: {
215617
- $ref: "#/$defs/DefsMap",
215618
- description: "Pure JSON Schema type definitions for this component. All entries are reusable type schemas — no runtime artifacts are produced. Referenced from state entries via $ref. Naming convention: PascalCase."
216643
+ }
216644
+ },
216645
+ $id: "https://jxsuite.com/schema/v1",
216646
+ $schema: "https://json-schema.org/draft/2020-12/schema",
216647
+ additionalProperties: {
216648
+ $ref: "#/$defs/ElementPropertyValue"
216649
+ },
216650
+ description: "Schema for Jx component files. A Jx document is a JSON object that declaratively describes a reactive web component: its structure (DOM tree), styling, type definitions ($defs), runtime state, and inline or external functions. Reactivity is powered by @vue/reactivity.",
216651
+ properties: {
216652
+ $defs: {
216653
+ $ref: "#/$defs/DefsMap",
216654
+ description: "Pure JSON Schema type definitions for this component. All entries are reusable type schemas — no runtime artifacts are produced. Referenced from state entries via $ref. Naming convention: PascalCase."
216655
+ },
216656
+ $elements: {
216657
+ description: "Custom element dependencies. Items are either $ref objects pointing to JX element definitions, or bare npm package name strings for web component libraries.",
216658
+ items: {
216659
+ oneOf: [
216660
+ {
216661
+ additionalProperties: false,
216662
+ properties: {
216663
+ $ref: {
216664
+ type: "string"
216665
+ }
216666
+ },
216667
+ required: [
216668
+ "$ref"
216669
+ ],
216670
+ type: "object"
216671
+ },
216672
+ {
216673
+ description: "npm package specifier (must declare customElements in package.json)",
216674
+ type: "string"
216675
+ }
216676
+ ]
216677
+ },
216678
+ type: "array"
216679
+ },
216680
+ $head: {
216681
+ description: "Page-level <head> entries. Array of element definitions for meta tags, link tags, script tags, etc. Merged with layout and site-level $head entries.",
216682
+ items: {
216683
+ $ref: "#/$defs/ElementDef"
216684
+ },
216685
+ type: "array"
216686
+ },
216687
+ $id: {
216688
+ description: "Component identifier string. Used by tooling and the builder.",
216689
+ examples: [
216690
+ "Counter",
216691
+ "TodoApp",
216692
+ "UserCard"
216693
+ ],
216694
+ type: "string"
216695
+ },
216696
+ $layout: {
216697
+ description: "Layout reference for pages. String path to a layout JSON file, or false to opt out of the default layout.",
216698
+ examples: [
216699
+ "./layouts/base.json"
216700
+ ],
216701
+ oneOf: [
216702
+ {
216703
+ type: "string"
216704
+ },
216705
+ {
216706
+ const: false,
216707
+ type: "boolean"
216708
+ }
216709
+ ]
216710
+ },
216711
+ $media: {
216712
+ additionalProperties: {
216713
+ type: "string"
216714
+ },
216715
+ description: 'Named media breakpoints following CSS @custom-media convention. Keys use the CSS custom property -- prefix. Pure color-scheme queries (e.g. "--dark": "(prefers-color-scheme: dark)") are dual-emitted so a data-color-scheme attribute on the root element forces the scheme regardless of the OS preference (spec §9.5).',
216716
+ examples: [
216717
+ {
216718
+ "--dark": "(prefers-color-scheme: dark)",
216719
+ "--md": "(min-width: 768px)",
216720
+ "--sm": "(min-width: 640px)"
216721
+ }
216722
+ ],
216723
+ type: "object"
216724
+ },
216725
+ $paths: {
216726
+ description: "Dynamic route parameters. Maps parameter names to data sources for generating one page per entry at build time.",
216727
+ type: "object"
216728
+ },
216729
+ $schema: {
216730
+ description: "URI identifying the Jx dialect version. Enables schema-aware IDE tooling.",
216731
+ examples: [
216732
+ "https://jxsuite.com/schema/v1"
216733
+ ],
216734
+ type: "string"
216735
+ },
216736
+ attributes: {
216737
+ $ref: "#/$defs/AttributesObject"
216738
+ },
216739
+ cases: {
216740
+ additionalProperties: {
216741
+ oneOf: [
216742
+ {
216743
+ $ref: "#/$defs/ElementDef"
216744
+ },
216745
+ {
216746
+ $ref: "#/$defs/ExternalComponentRef"
216747
+ }
216748
+ ]
216749
+ },
216750
+ description: "Switch cases object. Maps case values to element definitions or external component refs. Used alongside $switch for dynamic component rendering.",
216751
+ type: "object"
216752
+ },
216753
+ children: {
216754
+ $ref: "#/$defs/ChildrenValue"
216755
+ },
216756
+ imports: {
216757
+ additionalProperties: {
216758
+ type: "string"
216759
+ },
216760
+ description: "Import map: $prototype names to .class.json file paths. Allows state entries to reference external classes by name without $src.",
216761
+ type: "object"
216762
+ },
216763
+ observedAttributes: {
216764
+ description: "HTML attributes the custom element watches for changes. Follows the Web Components observedAttributes convention.",
216765
+ items: {
216766
+ type: "string"
216767
+ },
216768
+ type: "array"
216769
+ },
216770
+ state: {
216771
+ $ref: "#/$defs/StateMap",
216772
+ description: "Runtime variables for this component. All entries are reactive by default. Entry shape is determined by value type: scalar/array → reactive property, string with ${} → computed, object with $prototype → function or data source, object with type and default → typed reactive property."
216773
+ },
216774
+ style: {
216775
+ $ref: "#/$defs/StyleObject"
216776
+ },
216777
+ tagName: {
216778
+ $ref: "#/$defs/TagName"
216779
+ },
216780
+ title: {
216781
+ $ref: "#/$defs/StringOrRef",
216782
+ description: "Page title. Can be a static string or a template string with ${} expressions."
216783
+ }
216784
+ },
216785
+ title: "Jx Document",
216786
+ type: "object"
216787
+ };
216788
+ });
216789
+
216790
+ // ../schema/project-schema.json
216791
+ var project_schema_default;
216792
+ var init_project_schema = __esm(() => {
216793
+ project_schema_default = {
216794
+ $defs: {
216795
+ ImageConfig: {
216796
+ description: "Image optimization configuration for the project.",
216797
+ properties: {
216798
+ formats: {
216799
+ items: {
216800
+ type: "string"
216801
+ },
216802
+ type: "array"
216803
+ },
216804
+ lazyLoad: {
216805
+ type: "boolean"
216806
+ },
216807
+ optimize: {
216808
+ type: "boolean"
216809
+ },
216810
+ quality: {
216811
+ properties: {
216812
+ avif: {
216813
+ type: "number"
216814
+ },
216815
+ jpeg: {
216816
+ type: "number"
216817
+ },
216818
+ png: {
216819
+ type: "number"
216820
+ },
216821
+ webp: {
216822
+ type: "number"
216823
+ }
216824
+ },
216825
+ type: "object"
216826
+ },
216827
+ remoteDomains: {
216828
+ description: 'Hostnames whose remote (https) images are optimized through /cdn-cgi/image transform URLs (cloudflare service only), e.g. ["drive.usercontent.google.com"]. Remote sources from other hosts are left untouched.',
216829
+ items: {
216830
+ type: "string"
216831
+ },
216832
+ type: "array"
216833
+ },
216834
+ service: {
216835
+ description: 'How images are optimized: "build" runs Sharp at build time; "cloudflare" emits /cdn-cgi/image transform URLs served by Cloudflare Image Transformations (requires the feature to be enabled on the serving zone).',
216836
+ enum: [
216837
+ "build",
216838
+ "cloudflare"
216839
+ ],
216840
+ type: "string"
216841
+ },
216842
+ sizes: {
216843
+ type: "string"
216844
+ },
216845
+ widths: {
216846
+ items: {
216847
+ type: "number"
216848
+ },
216849
+ type: "array"
216850
+ }
216851
+ },
216852
+ type: "object"
215619
216853
  },
215620
- $elements: {
215621
- description: "Custom element dependencies. Items are either $ref objects pointing to JX element definitions, or bare npm package name strings for web component libraries.",
215622
- items: {
216854
+ StyleObject: {
216855
+ additionalProperties: {
215623
216856
  oneOf: [
215624
216857
  {
215625
- additionalProperties: false,
215626
- properties: {
215627
- $ref: {
215628
- type: "string"
215629
- }
215630
- },
215631
- required: [
215632
- "$ref"
215633
- ],
215634
- type: "object"
215635
- },
215636
- {
215637
- description: "npm package specifier (must declare customElements in package.json)",
215638
216858
  type: "string"
215639
- }
215640
- ]
215641
- },
215642
- type: "array"
215643
- },
215644
- $head: {
215645
- description: "Page-level <head> entries. Array of element definitions for meta tags, link tags, script tags, etc. Merged with layout and site-level $head entries.",
215646
- items: {
215647
- $ref: "#/$defs/ElementDef"
215648
- },
215649
- type: "array"
215650
- },
215651
- $id: {
215652
- description: "Component identifier string. Used by tooling and the builder.",
215653
- examples: [
215654
- "Counter",
215655
- "TodoApp",
215656
- "UserCard"
215657
- ],
215658
- type: "string"
215659
- },
215660
- $layout: {
215661
- description: "Layout reference for pages. String path to a layout JSON file, or false to opt out of the default layout.",
215662
- examples: [
215663
- "./layouts/base.json"
215664
- ],
215665
- oneOf: [
215666
- {
215667
- type: "string"
215668
- },
215669
- {
215670
- const: false,
215671
- type: "boolean"
215672
- }
215673
- ]
215674
- },
215675
- $media: {
215676
- additionalProperties: {
215677
- type: "string"
215678
- },
215679
- description: 'Named media breakpoints following CSS @custom-media convention. Keys use the CSS custom property -- prefix. Pure color-scheme queries (e.g. "--dark": "(prefers-color-scheme: dark)") are dual-emitted so a data-color-scheme attribute on the root element forces the scheme regardless of the OS preference (spec §9.5).',
215680
- examples: [
215681
- {
215682
- "--dark": "(prefers-color-scheme: dark)",
215683
- "--md": "(min-width: 768px)",
215684
- "--sm": "(min-width: 640px)"
215685
- }
215686
- ],
215687
- type: "object"
215688
- },
215689
- $paths: {
215690
- description: "Dynamic route parameters. Maps parameter names to data sources for generating one page per entry at build time.",
215691
- type: "object"
215692
- },
215693
- $schema: {
215694
- description: "URI identifying the Jx dialect version. Enables schema-aware IDE tooling.",
215695
- examples: [
215696
- "https://jxsuite.com/schema/v1"
215697
- ],
215698
- type: "string"
215699
- },
215700
- attributes: {
215701
- $ref: "#/$defs/AttributesObject"
215702
- },
215703
- cases: {
215704
- additionalProperties: {
215705
- oneOf: [
216859
+ },
215706
216860
  {
215707
- $ref: "#/$defs/ElementDef"
216861
+ type: "number"
215708
216862
  },
215709
216863
  {
215710
- $ref: "#/$defs/ExternalComponentRef"
216864
+ $ref: "#/$defs/StyleObject"
215711
216865
  }
215712
216866
  ]
215713
216867
  },
215714
- description: "Switch cases object. Maps case values to element definitions or external component refs. Used alongside $switch for dynamic component rendering.",
215715
- type: "object"
215716
- },
215717
- children: {
215718
- $ref: "#/$defs/ChildrenValue"
215719
- },
215720
- imports: {
215721
- additionalProperties: {
215722
- type: "string"
215723
- },
215724
- description: "Import map: $prototype names to .class.json file paths. Allows state entries to reference external classes by name without $src.",
215725
- type: "object"
215726
- },
215727
- observedAttributes: {
215728
- description: "HTML attributes the custom element watches for changes. Follows the Web Components observedAttributes convention.",
215729
- items: {
215730
- type: "string"
215731
- },
215732
- type: "array"
215733
- },
215734
- state: {
215735
- $ref: "#/$defs/StateMap",
215736
- description: "Runtime variables for this component. All entries are reactive by default. Entry shape is determined by value type: scalar/array → reactive property, string with ${} → computed, object with $prototype → function or data source, object with type and default → typed reactive property."
215737
- },
215738
- style: {
215739
- $ref: "#/$defs/StyleObject"
215740
- },
215741
- tagName: {
215742
- $ref: "#/$defs/TagName"
215743
- },
215744
- title: {
215745
- $ref: "#/$defs/StringOrRef",
215746
- description: "Page title. Can be a static string or a template string with ${} expressions."
215747
- }
215748
- },
215749
- title: "Jx Document",
215750
- type: "object"
215751
- };
215752
- });
215753
-
215754
- // ../schema/project-schema.json
215755
- var project_schema_default;
215756
- var init_project_schema = __esm(() => {
215757
- project_schema_default = {
215758
- $defs: {
215759
- ImageConfig: {
215760
- description: "Image optimization configuration for the project.",
215761
- properties: {
215762
- formats: {
215763
- items: {
215764
- type: "string"
215765
- },
215766
- type: "array"
215767
- },
215768
- lazyLoad: {
215769
- type: "boolean"
215770
- },
215771
- optimize: {
215772
- type: "boolean"
215773
- },
215774
- quality: {
215775
- properties: {
215776
- avif: {
215777
- type: "number"
215778
- },
215779
- jpeg: {
215780
- type: "number"
215781
- },
215782
- png: {
215783
- type: "number"
215784
- },
215785
- webp: {
215786
- type: "number"
215787
- }
215788
- },
215789
- type: "object"
215790
- },
215791
- remoteDomains: {
215792
- description: 'Hostnames whose remote (https) images are optimized through /cdn-cgi/image transform URLs (cloudflare service only), e.g. ["drive.usercontent.google.com"]. Remote sources from other hosts are left untouched.',
215793
- items: {
215794
- type: "string"
215795
- },
215796
- type: "array"
215797
- },
215798
- service: {
215799
- description: 'How images are optimized: "build" runs Sharp at build time; "cloudflare" emits /cdn-cgi/image transform URLs served by Cloudflare Image Transformations (requires the feature to be enabled on the serving zone).',
215800
- enum: [
215801
- "build",
215802
- "cloudflare"
215803
- ],
215804
- type: "string"
215805
- },
215806
- sizes: {
215807
- type: "string"
215808
- },
215809
- widths: {
215810
- items: {
215811
- type: "number"
215812
- },
215813
- type: "array"
215814
- }
215815
- },
216868
+ description: "CSS style definition. camelCase property names follow CSSOM convention. Keys starting with :, ., &, or [ are treated as nested CSS selectors. Keys matching $media breakpoint names (or other @-prefixed at-rules) group nested rules. Nesting is recursive: selector and at-rule groups may nest to arbitrary depth (e.g. breakpoint → selector → pseudo-class), mirroring the compiler's recursive emission.",
216869
+ properties: {},
215816
216870
  type: "object"
215817
216871
  }
215818
216872
  },
@@ -216116,11 +217170,11 @@ var init_project_schema = __esm(() => {
216116
217170
  type: "number"
216117
217171
  },
216118
217172
  {
216119
- type: "object"
217173
+ $ref: "#/$defs/StyleObject"
216120
217174
  }
216121
217175
  ]
216122
217176
  },
216123
- description: "Global CSS styles applied to the <body> element. Uses the same camelCase CSSOM convention as component styles.",
217177
+ description: "Global CSS styles applied to the <body> element. Uses the same camelCase CSSOM convention and recursive selector/at-rule nesting as component styles.",
216124
217178
  type: "object"
216125
217179
  },
216126
217180
  url: {
@@ -216252,6 +217306,9 @@ function isMappedArray(value) {
216252
217306
  function isTemplateString(value) {
216253
217307
  return typeof value === "string" && value.includes("${");
216254
217308
  }
217309
+ function bodyReturnsValue(body) {
217310
+ return /\breturn\b/.test(body);
217311
+ }
216255
217312
  function isNestedStyle(value) {
216256
217313
  return typeof value === "object" && value !== null;
216257
217314
  }
@@ -216912,7 +217969,7 @@ function track(target, type, key) {
216912
217969
  type,
216913
217970
  key
216914
217971
  });
216915
- }
217972
+ } else {}
216916
217973
  }
216917
217974
  }
216918
217975
  function trigger(target, type, key, newValue, oldValue, oldTarget) {
@@ -216932,7 +217989,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
216932
217989
  oldValue,
216933
217990
  oldTarget
216934
217991
  });
216935
- }
217992
+ } else {}
216936
217993
  }
216937
217994
  };
216938
217995
  startBatch();
@@ -217415,7 +218472,7 @@ class RefImpl {
217415
218472
  type: "get",
217416
218473
  key: "value"
217417
218474
  });
217418
- }
218475
+ } else {}
217419
218476
  return this._value;
217420
218477
  }
217421
218478
  set value(newValue) {
@@ -217433,7 +218490,7 @@ class RefImpl {
217433
218490
  newValue,
217434
218491
  oldValue
217435
218492
  });
217436
- }
218493
+ } else {}
217437
218494
  }
217438
218495
  }
217439
218496
  }
@@ -226353,9 +227410,9 @@ async function resolveFunction(def3, state, key, base) {
226353
227410
  let isComputed = false;
226354
227411
  if (!hasParams) {
226355
227412
  if (typeof def3.body === "string") {
226356
- isComputed = /\breturn\b/.test(def3.body);
227413
+ isComputed = bodyReturnsValue(def3.body);
226357
227414
  } else if (fn) {
226358
- isComputed = fn.length <= 1 && /\breturn\b/.test(fn.toString());
227415
+ isComputed = fn.length <= 1 && bodyReturnsValue(fn.toString());
226359
227416
  }
226360
227417
  }
226361
227418
  if (isComputed) {
@@ -226371,7 +227428,7 @@ function renderNode(def3, state, options) {
226371
227428
  const path = options?._path ?? [];
226372
227429
  if (typeof def3 === "string" || typeof def3 === "number" || typeof def3 === "boolean") {
226373
227430
  const textNode = document.createTextNode(String(def3));
226374
- if (typeof def3 === "string" && isTemplateString2(def3)) {
227431
+ if (typeof def3 === "string" && isTemplateString(def3)) {
226375
227432
  effect(() => {
226376
227433
  textNode.textContent = evaluateTemplate(def3, state);
226377
227434
  });
@@ -226387,12 +227444,22 @@ function renderNode(def3, state, options) {
226387
227444
  localState[key] = isRefObj(val) ? resolveRef(val.$ref, state) : val;
226388
227445
  }
226389
227446
  }
227447
+ if ("$ref" in def3 && !def3.tagName) {
227448
+ const refTarget = String(def3.$ref ?? "");
227449
+ if (!warnedRefChildren.has(refTarget)) {
227450
+ warnedRefChildren.add(refTarget);
227451
+ console.warn(`Jx: a $ref child ("${refTarget}") is not a supported component instance; register the ` + `component in $elements and use its custom-element tag instead (spec §13).`);
227452
+ }
227453
+ }
226390
227454
  const tagName = def3.tagName ?? "div";
226391
227455
  const isCustomEl = tagName.includes("-") && customElements.get(tagName);
226392
227456
  if (def3.$props && isCustomEl) {
226393
227457
  return renderCustomElementWithProps(def3, localState, options, path);
226394
227458
  }
226395
227459
  if (def3.$props) {
227460
+ if (tagName.includes("-")) {
227461
+ return renderCustomElementWithProps(def3, localState, options, path);
227462
+ }
226396
227463
  const { $props: _$props, ...rest } = def3;
226397
227464
  return renderNode(rest, mergeProps(def3, localState), options);
226398
227465
  }
@@ -226423,9 +227490,6 @@ function renderNode(def3, state, options) {
226423
227490
  }
226424
227491
  return el;
226425
227492
  }
226426
- function isTemplateString2(val) {
226427
- return typeof val === "string" && val.includes("${");
226428
- }
226429
227493
  function applyProperties(el, def3, state) {
226430
227494
  for (const [key, val] of Object.entries(def3)) {
226431
227495
  if (RESERVED_KEYS.has(key)) {
@@ -226486,7 +227550,7 @@ function bindProperty(el, key, val, state) {
226486
227550
  });
226487
227551
  return;
226488
227552
  }
226489
- if (isTemplateString2(val)) {
227553
+ if (isTemplateString(val)) {
226490
227554
  effect(() => {
226491
227555
  target[key] = evaluateTemplate(val, state);
226492
227556
  });
@@ -226525,14 +227589,14 @@ function applyStyle2(el, styleDef, mediaQueries = {}, state = {}) {
226525
227589
  }
226526
227590
  const scalar = String(val);
226527
227591
  if (prop.startsWith("--")) {
226528
- if (isTemplateString2(val)) {
227592
+ if (isTemplateString(val)) {
226529
227593
  effect(() => {
226530
227594
  el.style.setProperty(prop, transposeCanvasUnits(evaluateTemplate(val, state)));
226531
227595
  });
226532
227596
  } else {
226533
227597
  el.style.setProperty(prop, transposeCanvasUnits(scalar));
226534
227598
  }
226535
- } else if (isTemplateString2(val)) {
227599
+ } else if (isTemplateString(val)) {
226536
227600
  effect(() => {
226537
227601
  el.style[prop] = transposeCanvasUnits(evaluateTemplate(val, state));
226538
227602
  });
@@ -226625,7 +227689,7 @@ function applyAttributes(el, attrs, state) {
226625
227689
  const attr = canvasAttrName(el, k);
226626
227690
  if (isRefObj(v)) {
226627
227691
  effect(() => el.setAttribute(attr, String(resolveRef(v.$ref, state) ?? "")));
226628
- } else if (isTemplateString2(v)) {
227692
+ } else if (isTemplateString(v)) {
226629
227693
  effect(() => el.setAttribute(attr, String(evaluateTemplate(v, state))));
226630
227694
  } else {
226631
227695
  el.setAttribute(attr, String(v));
@@ -226730,7 +227794,7 @@ async function resolvePrototype(def3, state, key, base) {
226730
227794
  if (!def3.manual) {
226731
227795
  effect(() => {
226732
227796
  let url;
226733
- if (isTemplateString2(def3.url)) {
227797
+ if (isTemplateString(def3.url)) {
226734
227798
  url = evaluateTemplate(def3.url, state);
226735
227799
  } else {
226736
227800
  ({ url } = def3);
@@ -226773,7 +227837,7 @@ async function resolvePrototype(def3, state, key, base) {
226773
227837
  const p = {};
226774
227838
  for (const [k, v] of Object.entries(def3)) {
226775
227839
  if (k !== "$prototype") {
226776
- p[k] = isRefObj(v) ? resolveRef(v.$ref, state) : isTemplateString2(v) ? evaluateTemplate(v, state) : v;
227840
+ p[k] = isRefObj(v) ? resolveRef(v.$ref, state) : isTemplateString(v) ? evaluateTemplate(v, state) : v;
226777
227841
  }
226778
227842
  }
226779
227843
  return new URLSearchParams(p).toString();
@@ -227091,7 +228155,7 @@ async function resolveViaDevProxy(def3, state, key, base) {
227091
228155
  config[k] = v;
227092
228156
  }
227093
228157
  }
227094
- const hasTemplates = Object.values(config).some((v) => isTemplateString2(v));
228158
+ const hasTemplates = Object.values(config).some((v) => isTemplateString(v));
227095
228159
  const doResolve = (resolvedConfig) => fetch(resolveProxyPath("/__jx_resolve__"), {
227096
228160
  body: JSON.stringify({
227097
228161
  $base: base,
@@ -227113,7 +228177,7 @@ async function resolveViaDevProxy(def3, state, key, base) {
227113
228177
  effect(() => {
227114
228178
  const resolvedConfig = {};
227115
228179
  for (const [k, v] of Object.entries(config)) {
227116
- resolvedConfig[k] = isTemplateString2(v) ? evaluateTemplate(v, state) : v;
228180
+ resolvedConfig[k] = isTemplateString(v) ? evaluateTemplate(v, state) : v;
227117
228181
  }
227118
228182
  doResolve(resolvedConfig).then((value) => {
227119
228183
  s.value = value;
@@ -227456,7 +228520,7 @@ function renderCustomElementWithProps(def3, state, options, path) {
227456
228520
  effect(() => {
227457
228521
  el[key] = resolveRef(refVal.$ref, state);
227458
228522
  });
227459
- } else if (isTemplateString2(val)) {
228523
+ } else if (isTemplateString(val)) {
227460
228524
  effect(() => {
227461
228525
  el[key] = evaluateTemplate(val, state);
227462
228526
  });
@@ -227505,7 +228569,7 @@ function distributeSlots(host, slottedChildren) {
227505
228569
  }
227506
228570
  }
227507
228571
  }
227508
- var _resolveCache, SCHEMA_KEYWORDS2, _serverFnConfig, _resolveToken = null, _canvasViewportTranspose = false, VIEWPORT_UNIT_RE, VIEWPORT_UNIT_MAP, _canvasDelinkAnchors = false, _stampPropBindings = false, PURE_STATE_TEMPLATE, _moduleCache, RESERVED_KEYS, elementStyleTags, EXTERNAL_RESERVED, COLOR_SCHEME_ATTR = "data-color-scheme", _rootMedia, _elementDefs, _definedSources;
228572
+ var _resolveCache, SCHEMA_KEYWORDS2, _serverFnConfig, _resolveToken = null, _canvasViewportTranspose = false, VIEWPORT_UNIT_RE, VIEWPORT_UNIT_MAP, _canvasDelinkAnchors = false, _stampPropBindings = false, PURE_STATE_TEMPLATE, _moduleCache, RESERVED_KEYS, warnedRefChildren, elementStyleTags, EXTERNAL_RESERVED, COLOR_SCHEME_ATTR = "data-color-scheme", _rootMedia, _elementDefs, _definedSources;
227509
228573
  var init_runtime = __esm(() => {
227510
228574
  init_reactivity_esm_bundler();
227511
228575
  init_expression();
@@ -227571,6 +228635,7 @@ var init_runtime = __esm(() => {
227571
228635
  "cases",
227572
228636
  "observedAttributes"
227573
228637
  ]);
228638
+ warnedRefChildren = new Set;
227574
228639
  elementStyleTags = new WeakMap;
227575
228640
  EXTERNAL_RESERVED = new Set([
227576
228641
  "$prototype",
@@ -230066,7 +231131,7 @@ var init_ensure_deps = __esm(() => {
230066
231131
  });
230067
231132
 
230068
231133
  // src/version.ts
230069
- var APP_NAME = "Jx Studio", VERSION = "1.3.0", BUILD_DATE = "2026-07-20T20:51:01.508Z", GIT_COMMIT = "976b128", LINKS;
231134
+ var APP_NAME = "Jx Studio", VERSION = "1.5.0", BUILD_DATE = "2026-07-24T17:03:27.940Z", GIT_COMMIT = "82d8aa9", LINKS;
230070
231135
  var init_version = __esm(() => {
230071
231136
  LINKS = {
230072
231137
  github: "https://github.com/jxsuite/jx",
@@ -248367,7 +249432,7 @@ function promptComponentName(defaultName) {
248367
249432
  <sp-textfield
248368
249433
  placeholder="my-component"
248369
249434
  value=${value}
248370
- ?negative=${Boolean(error)}
249435
+ ?invalid=${Boolean(error)}
248371
249436
  @input=${onInput2}
248372
249437
  @keydown=${onKeydown2}
248373
249438
  ${ref2((el) => {
@@ -261220,7 +262285,7 @@ async function promptRepeaterConfig(defs) {
261220
262285
  size="s"
261221
262286
  placeholder="myItems"
261222
262287
  .value=${newDefName2}
261223
- ?negative=${Boolean(error)}
262288
+ ?invalid=${Boolean(error)}
261224
262289
  @input=${(e) => {
261225
262290
  newDefName2 = e.target.value || "";
261226
262291
  error = "";
@@ -277748,7 +278813,7 @@ var init_Overlay_dev = __esm(() => {
277748
278813
  if (changes.has("allowOutsideClick") && this.allowOutsideClick) {
277749
278814
  if (true) {
277750
278815
  window.__swc.warn(this, `The "allow-outside-click" attribute on <${this.localName}> has been deprecated and will be removed in a future release. We do not recommend using this attribute for accessibility reasons. It allows clicks outside the overlay to close it, which can cause unexpected behavior and accessibility issues.`, "https://opensource.adobe.com/spectrum-web-components/components/overlay/", { level: "deprecation" });
277751
- }
278816
+ } else {}
277752
278817
  }
277753
278818
  if (changes.has("open") && (this.hasUpdated || this.open)) {
277754
278819
  this.manageOpen(changes.get("open"));
@@ -294386,6 +295451,7 @@ init_parse();
294386
295451
  init_platform3();
294387
295452
  init_layers();
294388
295453
  var _handle2 = null;
295454
+ var _mode = "add";
294389
295455
  var _repos = null;
294390
295456
  var _filter = "";
294391
295457
  var _error = "";
@@ -294395,10 +295461,20 @@ function platformSupportsAddRepo() {
294395
295461
  const platform3 = getPlatform();
294396
295462
  return typeof platform3.listRepos === "function" && typeof platform3.importProject === "function";
294397
295463
  }
295464
+ function platformUsesRepoPicker() {
295465
+ return getPlatform().openProjectPicker === "repo-list" && platformSupportsAddRepo();
295466
+ }
294398
295467
  function openAddRepoModal() {
295468
+ return openPicker("add");
295469
+ }
295470
+ function openProjectPickerModal() {
295471
+ return openPicker("open");
295472
+ }
295473
+ function openPicker(mode) {
294399
295474
  if (_handle2) {
294400
295475
  return Promise.resolve(null);
294401
295476
  }
295477
+ _mode = mode;
294402
295478
  _repos = null;
294403
295479
  _filter = "";
294404
295480
  _error = "";
@@ -294460,7 +295536,11 @@ async function chooseRepo(repo) {
294460
295536
  }
294461
295537
  function visibleRepos() {
294462
295538
  const query = _filter.trim().toLowerCase();
294463
- const repos = _repos ?? [];
295539
+ let repos = _repos ?? [];
295540
+ if (_mode === "open") {
295541
+ const writable = repos.filter((r) => r.permission === "admin" || r.permission === "write");
295542
+ repos = [...writable.filter((r) => r.isJxProject), ...writable.filter((r) => !r.isJxProject)];
295543
+ }
294464
295544
  return query ? repos.filter((r) => r.fullName.toLowerCase().includes(query)) : repos;
294465
295545
  }
294466
295546
  function repoRowTpl(repo) {
@@ -294481,15 +295561,42 @@ function repoRowTpl(repo) {
294481
295561
  </button>
294482
295562
  `;
294483
295563
  }
295564
+ function emptyTpl() {
295565
+ if (_filter) {
295566
+ return html3`<div class="add-repo-empty">No repositories match the filter.</div>`;
295567
+ }
295568
+ if (_mode === "open" && (_repos ?? []).length > 0) {
295569
+ return html3`<div class="add-repo-empty">
295570
+ No repositories with write access. Widen the Jx Suite GitHub App's repository access, or ask a
295571
+ repository admin for write access.
295572
+ </div>`;
295573
+ }
295574
+ if (needsAppInstall()) {
295575
+ return html3`<div class="add-repo-empty">
295576
+ No repositories are reachable yet.
295577
+ <a
295578
+ class="add-repo-install"
295579
+ href=${getAccountStatus()?.appInstallUrl ?? "#"}
295580
+ target="_blank"
295581
+ rel="noreferrer"
295582
+ >
295583
+ Install the Jx Suite GitHub App
295584
+ </a>
295585
+ to grant repository access, then reopen this dialog.
295586
+ </div>`;
295587
+ }
295588
+ return html3`<div class="add-repo-empty">
295589
+ No repositories are reachable. Install the GitHub App (or widen its repository access) and try
295590
+ again.
295591
+ </div>`;
295592
+ }
294484
295593
  function bodyTpl() {
294485
295594
  if (_repos === null) {
294486
295595
  return html3`<div class="add-repo-empty">Loading repositories…</div>`;
294487
295596
  }
294488
295597
  const repos = visibleRepos();
294489
295598
  if (repos.length === 0) {
294490
- return html3`<div class="add-repo-empty">
294491
- ${_filter ? "No repositories match the filter." : "No repositories are reachable. Install the GitHub App (or widen its repository access) and try again."}
294492
- </div>`;
295599
+ return emptyTpl();
294493
295600
  }
294494
295601
  return html3`<div class="add-repo-list">${repos.map((repo) => repoRowTpl(repo))}</div>`;
294495
295602
  }
@@ -294505,7 +295612,9 @@ function renderModal2() {
294505
295612
  }}
294506
295613
  >
294507
295614
  <div class="new-project-modal-header">
294508
- <h2 class="new-project-modal-title">Add existing repository</h2>
295615
+ <h2 class="new-project-modal-title">
295616
+ ${_mode === "open" ? "Open Project" : "Add existing repository"}
295617
+ </h2>
294509
295618
  <sp-action-button quiet size="s" @click=${closeAddRepoModal} title="Close">
294510
295619
  <sp-icon-close slot="icon"></sp-icon-close>
294511
295620
  </sp-action-button>
@@ -294568,6 +295677,20 @@ function renderWelcome(host) {
294568
295677
  </svg>
294569
295678
  New Project...
294570
295679
  </button>
295680
+ <button class="welcome-action" @click=${() => ctx.openNewProject({ tab: "starter" })}>
295681
+ <svg
295682
+ class="welcome-action-icon"
295683
+ width="16"
295684
+ height="16"
295685
+ viewBox="0 0 16 16"
295686
+ fill="currentColor"
295687
+ >
295688
+ <path
295689
+ d="M1 1h6v6H1V1zm1 1v4h4V2H2zm7-1h6v6H9V1zm1 1v4h4V2h-4zM1 9h6v6H1V9zm1 1v4h4v-4H2zm7-1h6v6H9V9zm1 1v4h4v-4h-4z"
295690
+ />
295691
+ </svg>
295692
+ Start from an Example...
295693
+ </button>
294571
295694
  <button class="welcome-action" @click=${() => ctx.openProject()}>
294572
295695
  <svg
294573
295696
  class="welcome-action-icon"
@@ -343801,11 +344924,19 @@ var _starter = "";
343801
344924
  var _agentPrompt = "";
343802
344925
  var _paramsSeededFor = "";
343803
344926
  var _error3 = "";
344927
+ var _nameError = "";
343804
344928
  var _errorInstallUrl = "";
343805
344929
  function captureError(error) {
343806
344930
  _error3 = errorMessage(error);
343807
344931
  _errorInstallUrl = installUrlOf(error) ?? "";
343808
344932
  }
344933
+ function focusNameField() {
344934
+ requestAnimationFrame(() => {
344935
+ const body3 = document.querySelector(".new-project-modal-body");
344936
+ body3?.scrollTo?.(0, 0);
344937
+ body3?.querySelector("sp-textfield")?.focus?.();
344938
+ });
344939
+ }
343809
344940
  var _creating = false;
343810
344941
  var _starters = [];
343811
344942
  var _resolve2 = null;
@@ -343825,7 +344956,7 @@ function credsForm2() {
343825
344956
  });
343826
344957
  return _credsForm;
343827
344958
  }
343828
- function openNewProjectModal() {
344959
+ function openNewProjectModal(options) {
343829
344960
  if (_handle6) {
343830
344961
  return Promise.resolve(null);
343831
344962
  }
@@ -343836,13 +344967,14 @@ function openNewProjectModal() {
343836
344967
  name: "",
343837
344968
  url: ""
343838
344969
  };
343839
- _tab = "template";
344970
+ _tab = options?.tab ?? "template";
343840
344971
  _step = "source";
343841
344972
  _template = "blank";
343842
344973
  _starter = "";
343843
344974
  _agentPrompt = "";
343844
344975
  _paramsSeededFor = "";
343845
344976
  _error3 = "";
344977
+ _nameError = "";
343846
344978
  _errorInstallUrl = "";
343847
344979
  _creating = false;
343848
344980
  _starters = [];
@@ -343917,6 +345049,9 @@ function renderModal4() {
343917
345049
  };
343918
345050
  const onInput3 = (field) => (e20) => {
343919
345051
  _form2[field] = e20.target.value;
345052
+ if (field === "name") {
345053
+ _nameError = "";
345054
+ }
343920
345055
  if (field === "name" && !_form2.directory) {
343921
345056
  _dirDerived = true;
343922
345057
  }
@@ -343990,12 +345125,14 @@ function renderModal4() {
343990
345125
  }
343991
345126
  _step = "source";
343992
345127
  _error3 = "";
345128
+ _nameError = "";
343993
345129
  renderModal4();
343994
345130
  };
343995
345131
  const onSubmit = async () => {
343996
345132
  if (!_form2.name.trim()) {
343997
- _error3 = "Project name is required";
345133
+ _nameError = "Project name is required";
343998
345134
  renderModal4();
345135
+ focusNameField();
343999
345136
  return;
344000
345137
  }
344001
345138
  if (!_form2.directory.trim()) {
@@ -344003,6 +345140,7 @@ function renderModal4() {
344003
345140
  }
344004
345141
  _creating = true;
344005
345142
  _error3 = "";
345143
+ _nameError = "";
344006
345144
  renderModal4();
344007
345145
  try {
344008
345146
  const design = collectDesign();
@@ -344020,8 +345158,9 @@ function renderModal4() {
344020
345158
  };
344021
345159
  const onAgentSubmit = async () => {
344022
345160
  if (!_form2.name.trim()) {
344023
- _error3 = "Project name is required";
345161
+ _nameError = "Project name is required";
344024
345162
  renderModal4();
345163
+ focusNameField();
344025
345164
  return;
344026
345165
  }
344027
345166
  if (!_form2.directory.trim()) {
@@ -344029,6 +345168,7 @@ function renderModal4() {
344029
345168
  }
344030
345169
  _creating = true;
344031
345170
  _error3 = "";
345171
+ _nameError = "";
344032
345172
  renderModal4();
344033
345173
  try {
344034
345174
  const design = collectDesign();
@@ -344132,9 +345272,12 @@ function renderModal4() {
344132
345272
  <sp-textfield
344133
345273
  placeholder="My Site"
344134
345274
  .value=${_form2.name}
345275
+ ?invalid=${Boolean(_nameError)}
344135
345276
  @input=${onInput3("name")}
344136
345277
  style="width: 100%"
344137
- ></sp-textfield>
345278
+ >
345279
+ ${_nameError ? html3`<sp-help-text slot="negative-help-text">${_nameError}</sp-help-text>` : ""}
345280
+ </sp-textfield>
344138
345281
  </label>
344139
345282
 
344140
345283
  <label class="new-project-field">
@@ -344250,15 +345393,13 @@ function renderModal4() {
344250
345393
  </sp-tabs>
344251
345394
  </div>
344252
345395
  ` : ""}
344253
- <div class="new-project-modal-body">
344254
- ${bodyTpl3()}
344255
- ${_tab !== "import" && _error3 ? html3`<div class="new-project-error">
344256
- ${_error3}
344257
- ${_errorInstallUrl ? html3`<a href=${_errorInstallUrl} target="_blank" rel="noreferrer">
344258
- Install the Jx Suite GitHub App →
344259
- </a>` : ""}
344260
- </div>` : ""}
344261
- </div>
345396
+ <div class="new-project-modal-body">${bodyTpl3()}</div>
345397
+ ${_tab !== "import" && _error3 ? html3`<div class="new-project-error new-project-error--global">
345398
+ ${_error3}
345399
+ ${_errorInstallUrl ? html3`<a href=${_errorInstallUrl} target="_blank" rel="noreferrer">
345400
+ Install the Jx Suite GitHub App →
345401
+ </a>` : ""}
345402
+ </div>` : ""}
344262
345403
  <div class="new-project-modal-footer">${footerTpl()}</div>
344263
345404
  </div>
344264
345405
  `;
@@ -351021,8 +352162,8 @@ initWelcome({
351021
352162
  }
351022
352163
  },
351023
352164
  cloneRepository: () => cloneRepository({ openRecentProject }),
351024
- openNewProject: async () => {
351025
- const result = await openNewProjectModal();
352165
+ openNewProject: async (options) => {
352166
+ const result = await openNewProjectModal(options);
351026
352167
  if (result) {
351027
352168
  openRecentProject(result.root);
351028
352169
  }
@@ -351278,6 +352419,16 @@ function loadProject2() {
351278
352419
  return loadProject();
351279
352420
  }
351280
352421
  async function openProject2() {
352422
+ if (platformUsesRepoPicker()) {
352423
+ const picked = await openProjectPickerModal();
352424
+ if (picked) {
352425
+ hydrateProjectList().then(() => {
352426
+ render3();
352427
+ });
352428
+ openRecentProject(picked.root);
352429
+ }
352430
+ return;
352431
+ }
351281
352432
  const result = await openProject({
351282
352433
  renderActivityBar: () => renderActivityBar(),
351283
352434
  renderLeftPanel
@@ -351379,5 +352530,5 @@ export {
351379
352530
  hasUnsavedTabs
351380
352531
  };
351381
352532
 
351382
- //# debugId=416CBC392C377C6964756E2164756E21
352533
+ //# debugId=BBAFA6ECC427CD4564756E2164756E21
351383
352534
  //# sourceMappingURL=studio.js.map