kaitai-struct-compiler 0.10.0-SNAPSHOT20220621.211648.0a3dcbfb → 0.10.0-SNAPSHOT20220702.153738.54691da3

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.
@@ -1864,7 +1864,7 @@ function $f_Lio_kaitai_struct_translators_CommonLiterals__strLiteralAsciiChar__C
1864
1864
  } else {
1865
1865
  var x = $m_s_None$();
1866
1866
  if ((x === x1)) {
1867
- return (((code >= 32) && (code < 128)) ? $as_T($g.String.fromCharCode(code)) : $thiz.strLiteralGenericCC__C__T(code))
1867
+ return (((code >= 32) && (code < 127)) ? $as_T($g.String.fromCharCode(code)) : $thiz.strLiteralGenericCC__C__T(code))
1868
1868
  } else {
1869
1869
  throw new $c_s_MatchError().init___O(x1)
1870
1870
  }
@@ -4430,9 +4430,9 @@ function $h_Lio_kaitai_struct_Version$() {
4430
4430
  $h_Lio_kaitai_struct_Version$.prototype = $c_Lio_kaitai_struct_Version$.prototype;
4431
4431
  $c_Lio_kaitai_struct_Version$.prototype.init___ = (function() {
4432
4432
  this.name$1 = "kaitai-struct-compiler-js";
4433
- this.version$1 = "0.10-SNAPSHOT20220621.211648.0a3dcbfb";
4434
- this.gitCommit$1 = "0a3dcbfb";
4435
- this.gitTime$1 = "2022-06-21T21:16:48+00:00";
4433
+ this.version$1 = "0.10-SNAPSHOT20220702.153738.54691da3";
4434
+ this.gitCommit$1 = "54691da3";
4435
+ this.gitTime$1 = "2022-07-02T15:37:38+00:00";
4436
4436
  return this
4437
4437
  });
4438
4438
  var $d_Lio_kaitai_struct_Version$ = new $TypeData().initClass({
@@ -7883,9 +7883,28 @@ $c_Lio_kaitai_struct_format_JavaScriptKSYParser$.prototype.yamlToSpecs__O__Lio_k
7883
7883
  var firstSpec = this$1.fromYaml__O__s_Option__sci_List__Lio_kaitai_struct_format_MetaSpec__Lio_kaitai_struct_format_ClassSpec(yamlScala, fileName, $m_sci_Nil$(), $m_Lio_kaitai_struct_format_MetaSpec$().OPAQUE$1);
7884
7884
  var specs = new $c_Lio_kaitai_struct_format_JavaScriptClassSpecs().init___Lio_kaitai_struct_JavaScriptImporter__Lio_kaitai_struct_format_ClassSpec(importer, firstSpec);
7885
7885
  return $m_Lio_kaitai_struct_Main$().importAndPrecompile__Lio_kaitai_struct_format_ClassSpecs__Lio_kaitai_struct_RuntimeConfig__s_concurrent_Future(specs, config).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, specs$1) {
7886
- return (function(x$1$2) {
7887
- $as_sc_Iterable(x$1$2);
7888
- return specs$1
7886
+ return (function(problems$2) {
7887
+ var problems = $as_sc_Iterable(problems$2);
7888
+ var x1 = problems.find__F1__s_Option(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$1) {
7889
+ return (function(p$2) {
7890
+ var p = $as_Lio_kaitai_struct_problems_CompilationProblem(p$2);
7891
+ var x = p.severity__Lio_kaitai_struct_problems_ProblemSeverity();
7892
+ var x$2 = $m_Lio_kaitai_struct_problems_ProblemSeverity$Warning$();
7893
+ return (!((x !== null) && (x === x$2)))
7894
+ })
7895
+ })($this)));
7896
+ if ((x1 instanceof $c_s_Some)) {
7897
+ var x2 = $as_s_Some(x1);
7898
+ var problem = $as_Lio_kaitai_struct_problems_CompilationProblem(x2.value$2);
7899
+ throw new $c_Lio_kaitai_struct_problems_CompilationProblemException().init___Lio_kaitai_struct_problems_CompilationProblem(problem)
7900
+ } else {
7901
+ var x$1 = $m_s_None$();
7902
+ if ((x$1 === x1)) {
7903
+ return specs$1
7904
+ } else {
7905
+ throw new $c_s_MatchError().init___O(x1)
7906
+ }
7907
+ }
7889
7908
  })
7890
7909
  })(this, specs)), $m_s_concurrent_ExecutionContext$Implicits$().global__s_concurrent_ExecutionContext())
7891
7910
  });
@@ -23802,7 +23821,7 @@ $c_Lio_kaitai_struct_problems_CompilationProblem.prototype.localizedInType__Lio_
23802
23821
  }
23803
23822
  });
23804
23823
  $c_Lio_kaitai_struct_problems_CompilationProblem.prototype.message__T = (function() {
23805
- return ((((this.coords__Lio_kaitai_struct_problems_ProblemCoords().message__T() + ": ") + this.severity__Lio_kaitai_struct_problems_ProblemSeverity().message__T()) + ": ") + this.text__T())
23824
+ return (((((this.coords__Lio_kaitai_struct_problems_ProblemCoords().message__T() + ":\n\t") + this.severity__Lio_kaitai_struct_problems_ProblemSeverity().message__T()) + ": ") + this.text__T()) + "\n")
23806
23825
  });
23807
23826
  function $as_Lio_kaitai_struct_problems_CompilationProblem(obj) {
23808
23827
  return (((obj instanceof $c_Lio_kaitai_struct_problems_CompilationProblem) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.problems.CompilationProblem"))
@@ -25132,6 +25151,15 @@ function $f_sc_Iterator__foreach__F1__V($thiz, f) {
25132
25151
  f.apply__O__O($thiz.next__O())
25133
25152
  }
25134
25153
  }
25154
+ function $f_sc_Iterator__find__F1__s_Option($thiz, p) {
25155
+ while ($thiz.hasNext__Z()) {
25156
+ var a = $thiz.next__O();
25157
+ if ($uZ(p.apply__O__O(a))) {
25158
+ return new $c_s_Some().init___O(a)
25159
+ }
25160
+ };
25161
+ return $m_s_None$()
25162
+ }
25135
25163
  function $f_sc_Iterator__toStream__sci_Stream($thiz) {
25136
25164
  if ($thiz.hasNext__Z()) {
25137
25165
  var hd = $thiz.next__O();
@@ -28678,7 +28706,8 @@ $c_Lio_kaitai_struct_format_EnumSpec$.prototype.init___ = (function() {
28678
28706
  });
28679
28707
  $c_Lio_kaitai_struct_format_EnumSpec$.prototype.fromYaml__O__sci_List__Lio_kaitai_struct_format_EnumSpec = (function(src, path) {
28680
28708
  var srcMap = $m_Lio_kaitai_struct_format_ParseUtils$().asMap__O__sci_List__sci_Map(src, path);
28681
- var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, path$1) {
28709
+ var memberNameMap = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$()));
28710
+ var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, path$1, memberNameMap$1) {
28682
28711
  return (function(x0$1$2) {
28683
28712
  var x0$1 = $as_T2(x0$1$2);
28684
28713
  if ((x0$1 !== null)) {
@@ -28702,14 +28731,52 @@ $c_Lio_kaitai_struct_format_EnumSpec$.prototype.fromYaml__O__sci_List__Lio_kaita
28702
28731
  var jsx$1 = result;
28703
28732
  var this$5 = $m_sci_List$();
28704
28733
  var value = jsx$2.fromYaml__O__sci_List__Lio_kaitai_struct_format_EnumValueSpec(desc, $as_sci_List(path$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$5.ReusableCBFInstance$2)));
28734
+ var this$6 = memberNameMap$1.get__O__s_Option(value.name$1);
28735
+ if ((!this$6.isEmpty__Z())) {
28736
+ var arg1 = this$6.get__O();
28737
+ var t$1 = $uJ(arg1);
28738
+ var lo$1 = t$1.lo$2;
28739
+ var hi$1 = t$1.hi$2;
28740
+ var jsx$7 = $m_Lio_kaitai_struct_problems_KSYParseError$();
28741
+ var jsx$6 = value.name$1;
28742
+ $m_sci_List$();
28743
+ var array$1 = [$m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(lo$1, hi$1)];
28744
+ var i$1 = (((-1) + $uI(array$1.length)) | 0);
28745
+ var result$1 = $m_sci_Nil$();
28746
+ while ((i$1 >= 0)) {
28747
+ var this$10 = result$1;
28748
+ var index$1 = i$1;
28749
+ var x$1 = array$1[index$1];
28750
+ result$1 = new $c_sci_$colon$colon().init___O__sci_List(x$1, this$10);
28751
+ i$1 = (((-1) + i$1) | 0)
28752
+ };
28753
+ var jsx$5 = result$1;
28754
+ var this$11 = $m_sci_List$();
28755
+ var jsx$4 = $as_sc_TraversableOnce(path$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$5, this$11.ReusableCBFInstance$2)).mkString__T__T("/");
28756
+ $m_sci_List$();
28757
+ var array$2 = [$m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(lo, hi)];
28758
+ var i$2 = (((-1) + $uI(array$2.length)) | 0);
28759
+ var result$2 = $m_sci_Nil$();
28760
+ while ((i$2 >= 0)) {
28761
+ var this$15 = result$2;
28762
+ var index$2 = i$2;
28763
+ var x$2 = array$2[index$2];
28764
+ result$2 = new $c_sci_$colon$colon().init___O__sci_List(x$2, this$15);
28765
+ i$2 = (((-1) + i$2) | 0)
28766
+ };
28767
+ var jsx$3 = result$2;
28768
+ var this$16 = $m_sci_List$();
28769
+ throw jsx$7.withText__T__sci_List__Lio_kaitai_struct_problems_CompilationProblemException(((("duplicate enum member ID: '" + jsx$6) + "', previously defined at /") + jsx$4), $as_sci_List(path$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$3, this$16.ReusableCBFInstance$2)))
28770
+ };
28771
+ memberNameMap$1.put__O__O__s_Option(value.name$1, new $c_sjsr_RuntimeLong().init___I__I(lo, hi));
28705
28772
  return new $c_T2().init___O__O(new $c_sjsr_RuntimeLong().init___I__I(lo, hi), value)
28706
28773
  } else {
28707
28774
  throw new $c_s_MatchError().init___O(x0$1)
28708
28775
  }
28709
28776
  })
28710
- })(this, path));
28777
+ })(this, path, memberNameMap));
28711
28778
  var bf = $m_sci_Map$().ReusableCBF$4;
28712
- return new $c_Lio_kaitai_struct_format_EnumSpec().init___sci_Map($as_sci_Map($f_sc_TraversableLike__map__F1__scg_CanBuildFrom__O(srcMap, f, bf)))
28779
+ return new $c_Lio_kaitai_struct_format_EnumSpec().init___sci_List__sci_Map(path, $as_sci_Map($f_sc_TraversableLike__map__F1__scg_CanBuildFrom__O(srcMap, f, bf)))
28713
28780
  });
28714
28781
  var $d_Lio_kaitai_struct_format_EnumSpec$ = new $TypeData().initClass({
28715
28782
  Lio_kaitai_struct_format_EnumSpec$: 0
@@ -34765,9 +34832,22 @@ $c_Lio_kaitai_struct_translators_ExpressionValidator.prototype.validate__Lio_kai
34765
34832
  if ((v instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$EnumByLabel)) {
34766
34833
  var x3 = $as_Lio_kaitai_struct_exprlang_Ast$expr$EnumByLabel(v);
34767
34834
  var enumType$2 = x3.enumName$1;
34835
+ var label = x3.label$1;
34768
34836
  var inType$2 = x3.inType$1;
34769
- this.provider$2.resolveEnum__Lio_kaitai_struct_exprlang_Ast$typeId__T__Lio_kaitai_struct_format_EnumSpec(inType$2, enumType$2.name$1);
34770
- break matchEnd36
34837
+ var enumSpec = this.provider$2.resolveEnum__Lio_kaitai_struct_exprlang_Ast$typeId__T__Lio_kaitai_struct_format_EnumSpec(inType$2, enumType$2.name$1);
34838
+ if ((!enumSpec.map$1.values__sc_Iterable().exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, label$1) {
34839
+ return (function(x$1$2) {
34840
+ var x$1 = $as_Lio_kaitai_struct_format_EnumValueSpec(x$1$2);
34841
+ return (x$1.name$1 === label$1.name$1)
34842
+ })
34843
+ })(this, label))))) {
34844
+ var jsx$2 = label.name$1;
34845
+ var jsx$1 = enumType$2.name$1;
34846
+ var this$1 = enumSpec.path$1;
34847
+ throw new $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError().init___T__T__T(jsx$2, jsx$1, $f_sc_TraversableOnce__mkString__T__T__T__T(this$1, "", "/", ""))
34848
+ } else {
34849
+ break matchEnd36
34850
+ }
34771
34851
  };
34772
34852
  if ((v instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Name)) {
34773
34853
  var x4 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Name(v);
@@ -34822,10 +34902,10 @@ $c_Lio_kaitai_struct_translators_ExpressionValidator.prototype.validate__Lio_kai
34822
34902
  var op$4 = x8.op$1;
34823
34903
  var values = x8.values$1;
34824
34904
  if (((op$4 !== null) && (values !== null))) {
34825
- values.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
34905
+ values.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2) {
34826
34906
  return (function(v$2$2) {
34827
34907
  var v$2 = $as_Lio_kaitai_struct_exprlang_Ast$expr(v$2$2);
34828
- $this.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$2)
34908
+ this$2.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$2)
34829
34909
  })
34830
34910
  })(this)));
34831
34911
  break matchEnd36
@@ -34867,10 +34947,10 @@ $c_Lio_kaitai_struct_translators_ExpressionValidator.prototype.validate__Lio_kai
34867
34947
  var x11 = $as_Lio_kaitai_struct_exprlang_Ast$expr$List(v);
34868
34948
  var values$2 = x11.elts$1;
34869
34949
  if ((values$2 !== null)) {
34870
- values$2.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2) {
34950
+ values$2.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$3) {
34871
34951
  return (function(v$3$2) {
34872
34952
  var v$3 = $as_Lio_kaitai_struct_exprlang_Ast$expr(v$3$2);
34873
- this$2.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$3)
34953
+ this$3.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$3)
34874
34954
  })
34875
34955
  })(this)));
34876
34956
  break matchEnd36
@@ -40451,104 +40531,6 @@ var $d_Lio_kaitai_struct_format_DocSpec = new $TypeData().initClass({
40451
40531
  });
40452
40532
  $c_Lio_kaitai_struct_format_DocSpec.prototype.$classData = $d_Lio_kaitai_struct_format_DocSpec;
40453
40533
  /** @constructor */
40454
- function $c_Lio_kaitai_struct_format_EnumSpec() {
40455
- $c_O.call(this);
40456
- this.sortedSeq$1 = null;
40457
- this.map$1 = null;
40458
- this.name$1 = null;
40459
- this.bitmap$0$1 = false
40460
- }
40461
- $c_Lio_kaitai_struct_format_EnumSpec.prototype = new $h_O();
40462
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.constructor = $c_Lio_kaitai_struct_format_EnumSpec;
40463
- /** @constructor */
40464
- function $h_Lio_kaitai_struct_format_EnumSpec() {
40465
- /*<skip>*/
40466
- }
40467
- $h_Lio_kaitai_struct_format_EnumSpec.prototype = $c_Lio_kaitai_struct_format_EnumSpec.prototype;
40468
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productPrefix__T = (function() {
40469
- return "EnumSpec"
40470
- });
40471
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq__sc_Seq = (function() {
40472
- return ((!this.bitmap$0$1) ? this.sortedSeq$lzycompute__p1__sc_Seq() : this.sortedSeq$1)
40473
- });
40474
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productArity__I = (function() {
40475
- return 1
40476
- });
40477
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.equals__O__Z = (function(x$1) {
40478
- if ((this === x$1)) {
40479
- return true
40480
- } else if ((x$1 instanceof $c_Lio_kaitai_struct_format_EnumSpec)) {
40481
- var EnumSpec$1 = $as_Lio_kaitai_struct_format_EnumSpec(x$1);
40482
- var x = this.map$1;
40483
- var x$2 = EnumSpec$1.map$1;
40484
- return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))
40485
- } else {
40486
- return false
40487
- }
40488
- });
40489
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productElement__I__O = (function(x$1) {
40490
- switch (x$1) {
40491
- case 0: {
40492
- return this.map$1;
40493
- break
40494
- }
40495
- default: {
40496
- throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
40497
- }
40498
- }
40499
- });
40500
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.init___sci_Map = (function(map) {
40501
- this.map$1 = map;
40502
- this.name$1 = $m_sci_Nil$();
40503
- return this
40504
- });
40505
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.toString__T = (function() {
40506
- return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this)
40507
- });
40508
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.hashCode__I = (function() {
40509
- var this$2 = $m_s_util_hashing_MurmurHash3$();
40510
- return this$2.productHash__s_Product__I__I(this, (-889275714))
40511
- });
40512
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productIterator__sc_Iterator = (function() {
40513
- return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
40514
- });
40515
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq$lzycompute__p1__sc_Seq = (function() {
40516
- if ((!this.bitmap$0$1)) {
40517
- var this$1 = this.map$1;
40518
- var this$2 = $f_sc_MapLike__toSeq__sc_Seq(this$1);
40519
- var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
40520
- return (function(x$1$2) {
40521
- var x$1 = $as_T2(x$1$2);
40522
- return x$1.$$und1$mcJ$sp__J()
40523
- })
40524
- })(this));
40525
- var ord = $m_s_math_Ordering$Long$();
40526
- this.sortedSeq$1 = $as_sc_Seq($f_sc_SeqLike__sortBy__F1__s_math_Ordering__O(this$2, f, ord));
40527
- this.bitmap$0$1 = true
40528
- };
40529
- return this.sortedSeq$1
40530
- });
40531
- function $as_Lio_kaitai_struct_format_EnumSpec(obj) {
40532
- return (((obj instanceof $c_Lio_kaitai_struct_format_EnumSpec) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.EnumSpec"))
40533
- }
40534
- function $isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
40535
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_EnumSpec)))
40536
- }
40537
- function $asArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
40538
- return (($isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.EnumSpec;", depth))
40539
- }
40540
- var $d_Lio_kaitai_struct_format_EnumSpec = new $TypeData().initClass({
40541
- Lio_kaitai_struct_format_EnumSpec: 0
40542
- }, false, "io.kaitai.struct.format.EnumSpec", {
40543
- Lio_kaitai_struct_format_EnumSpec: 1,
40544
- O: 1,
40545
- s_Product: 1,
40546
- s_Equals: 1,
40547
- s_Serializable: 1,
40548
- Ljava_io_Serializable: 1
40549
- });
40550
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.$classData = $d_Lio_kaitai_struct_format_EnumSpec;
40551
- /** @constructor */
40552
40534
  function $c_Lio_kaitai_struct_format_EnumValueSpec() {
40553
40535
  $c_O.call(this);
40554
40536
  this.name$1 = null;
@@ -50256,6 +50238,120 @@ function $m_Lio_kaitai_struct_format_DynamicSized$() {
50256
50238
  return $n_Lio_kaitai_struct_format_DynamicSized$
50257
50239
  }
50258
50240
  /** @constructor */
50241
+ function $c_Lio_kaitai_struct_format_EnumSpec() {
50242
+ $c_O.call(this);
50243
+ this.sortedSeq$1 = null;
50244
+ this.path$1 = null;
50245
+ this.map$1 = null;
50246
+ this.name$1 = null;
50247
+ this.bitmap$0$1 = false
50248
+ }
50249
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype = new $h_O();
50250
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.constructor = $c_Lio_kaitai_struct_format_EnumSpec;
50251
+ /** @constructor */
50252
+ function $h_Lio_kaitai_struct_format_EnumSpec() {
50253
+ /*<skip>*/
50254
+ }
50255
+ $h_Lio_kaitai_struct_format_EnumSpec.prototype = $c_Lio_kaitai_struct_format_EnumSpec.prototype;
50256
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productPrefix__T = (function() {
50257
+ return "EnumSpec"
50258
+ });
50259
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq__sc_Seq = (function() {
50260
+ return ((!this.bitmap$0$1) ? this.sortedSeq$lzycompute__p1__sc_Seq() : this.sortedSeq$1)
50261
+ });
50262
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productArity__I = (function() {
50263
+ return 2
50264
+ });
50265
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.equals__O__Z = (function(x$1) {
50266
+ if ((this === x$1)) {
50267
+ return true
50268
+ } else if ((x$1 instanceof $c_Lio_kaitai_struct_format_EnumSpec)) {
50269
+ var EnumSpec$1 = $as_Lio_kaitai_struct_format_EnumSpec(x$1);
50270
+ var x = this.path$1;
50271
+ var x$2 = EnumSpec$1.path$1;
50272
+ if (((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))) {
50273
+ var x$3 = this.map$1;
50274
+ var x$4 = EnumSpec$1.map$1;
50275
+ return ((x$3 === null) ? (x$4 === null) : x$3.equals__O__Z(x$4))
50276
+ } else {
50277
+ return false
50278
+ }
50279
+ } else {
50280
+ return false
50281
+ }
50282
+ });
50283
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productElement__I__O = (function(x$1) {
50284
+ switch (x$1) {
50285
+ case 0: {
50286
+ return this.path$1;
50287
+ break
50288
+ }
50289
+ case 1: {
50290
+ return this.map$1;
50291
+ break
50292
+ }
50293
+ default: {
50294
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
50295
+ }
50296
+ }
50297
+ });
50298
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.toString__T = (function() {
50299
+ return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this)
50300
+ });
50301
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.init___sci_List__sci_Map = (function(path, map) {
50302
+ this.path$1 = path;
50303
+ this.map$1 = map;
50304
+ this.name$1 = $m_sci_Nil$();
50305
+ return this
50306
+ });
50307
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.path__sci_List = (function() {
50308
+ return this.path$1
50309
+ });
50310
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.hashCode__I = (function() {
50311
+ var this$2 = $m_s_util_hashing_MurmurHash3$();
50312
+ return this$2.productHash__s_Product__I__I(this, (-889275714))
50313
+ });
50314
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productIterator__sc_Iterator = (function() {
50315
+ return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
50316
+ });
50317
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq$lzycompute__p1__sc_Seq = (function() {
50318
+ if ((!this.bitmap$0$1)) {
50319
+ var this$1 = this.map$1;
50320
+ var this$2 = $f_sc_MapLike__toSeq__sc_Seq(this$1);
50321
+ var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
50322
+ return (function(x$1$2) {
50323
+ var x$1 = $as_T2(x$1$2);
50324
+ return x$1.$$und1$mcJ$sp__J()
50325
+ })
50326
+ })(this));
50327
+ var ord = $m_s_math_Ordering$Long$();
50328
+ this.sortedSeq$1 = $as_sc_Seq($f_sc_SeqLike__sortBy__F1__s_math_Ordering__O(this$2, f, ord));
50329
+ this.bitmap$0$1 = true
50330
+ };
50331
+ return this.sortedSeq$1
50332
+ });
50333
+ function $as_Lio_kaitai_struct_format_EnumSpec(obj) {
50334
+ return (((obj instanceof $c_Lio_kaitai_struct_format_EnumSpec) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.EnumSpec"))
50335
+ }
50336
+ function $isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
50337
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_EnumSpec)))
50338
+ }
50339
+ function $asArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
50340
+ return (($isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.EnumSpec;", depth))
50341
+ }
50342
+ var $d_Lio_kaitai_struct_format_EnumSpec = new $TypeData().initClass({
50343
+ Lio_kaitai_struct_format_EnumSpec: 0
50344
+ }, false, "io.kaitai.struct.format.EnumSpec", {
50345
+ Lio_kaitai_struct_format_EnumSpec: 1,
50346
+ O: 1,
50347
+ Lio_kaitai_struct_format_YAMLPath: 1,
50348
+ s_Product: 1,
50349
+ s_Equals: 1,
50350
+ s_Serializable: 1,
50351
+ Ljava_io_Serializable: 1
50352
+ });
50353
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.$classData = $d_Lio_kaitai_struct_format_EnumSpec;
50354
+ /** @constructor */
50259
50355
  function $c_Lio_kaitai_struct_format_FixedSized() {
50260
50356
  $c_O.call(this);
50261
50357
  this.n$1 = 0
@@ -57472,6 +57568,41 @@ function $m_Lio_kaitai_struct_format_RootIdentifier$() {
57472
57568
  return $n_Lio_kaitai_struct_format_RootIdentifier$
57473
57569
  }
57474
57570
  /** @constructor */
57571
+ function $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError() {
57572
+ $c_Lio_kaitai_struct_precompile_NotFoundError.call(this);
57573
+ this.label$6 = null;
57574
+ this.enum$6 = null;
57575
+ this.enumDefPath$6 = null
57576
+ }
57577
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype = new $h_Lio_kaitai_struct_precompile_NotFoundError();
57578
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype.constructor = $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError;
57579
+ /** @constructor */
57580
+ function $h_Lio_kaitai_struct_precompile_EnumMemberNotFoundError() {
57581
+ /*<skip>*/
57582
+ }
57583
+ $h_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype = $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype;
57584
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype.init___T__T__T = (function(label, $enum, enumDefPath) {
57585
+ this.label$6 = label;
57586
+ this.enum$6 = $enum;
57587
+ this.enumDefPath$6 = enumDefPath;
57588
+ var msg = (((((((("unable to find enum member '" + $enum) + "::") + label) + "' (enum '") + $enum) + "' defined at /") + enumDefPath) + ")");
57589
+ $c_jl_Throwable.prototype.init___T__jl_Throwable__Z__Z.call(this, msg, null, true, true);
57590
+ return this
57591
+ });
57592
+ var $d_Lio_kaitai_struct_precompile_EnumMemberNotFoundError = new $TypeData().initClass({
57593
+ Lio_kaitai_struct_precompile_EnumMemberNotFoundError: 0
57594
+ }, false, "io.kaitai.struct.precompile.EnumMemberNotFoundError", {
57595
+ Lio_kaitai_struct_precompile_EnumMemberNotFoundError: 1,
57596
+ Lio_kaitai_struct_precompile_NotFoundError: 1,
57597
+ Lio_kaitai_struct_precompile_ExpressionError: 1,
57598
+ jl_RuntimeException: 1,
57599
+ jl_Exception: 1,
57600
+ jl_Throwable: 1,
57601
+ O: 1,
57602
+ Ljava_io_Serializable: 1
57603
+ });
57604
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype.$classData = $d_Lio_kaitai_struct_precompile_EnumMemberNotFoundError;
57605
+ /** @constructor */
57475
57606
  function $c_Lio_kaitai_struct_precompile_EnumNotFoundError() {
57476
57607
  $c_Lio_kaitai_struct_precompile_NotFoundError.call(this);
57477
57608
  this.name$6 = null;
@@ -74427,6 +74558,25 @@ function $f_sc_IndexedSeqOptimized__reverse__O($thiz) {
74427
74558
  };
74428
74559
  return b.result__O()
74429
74560
  }
74561
+ function $f_sc_IndexedSeqOptimized__find__F1__s_Option($thiz, p) {
74562
+ var len = $thiz.length__I();
74563
+ var i = 0;
74564
+ while (true) {
74565
+ if ((i < len)) {
74566
+ var arg1 = $thiz.apply__I__O(i);
74567
+ var jsx$1 = (!$uZ(p.apply__O__O(arg1)))
74568
+ } else {
74569
+ var jsx$1 = false
74570
+ };
74571
+ if (jsx$1) {
74572
+ i = ((1 + i) | 0)
74573
+ } else {
74574
+ break
74575
+ }
74576
+ };
74577
+ var i$1 = i;
74578
+ return ((i$1 < $thiz.length__I()) ? new $c_s_Some().init___O($thiz.apply__I__O(i$1)) : $m_s_None$())
74579
+ }
74430
74580
  function $f_sc_IndexedSeqOptimized__last__O($thiz) {
74431
74581
  return (($thiz.length__I() > 0) ? $thiz.apply__I__O((((-1) + $thiz.length__I()) | 0)) : $f_sc_TraversableLike__last__O($thiz))
74432
74582
  }
@@ -74456,12 +74606,12 @@ function $f_sc_IndexedSeqOptimized__copyToArray__O__I__I__V($thiz, xs, start, le
74456
74606
  j = ((1 + j) | 0)
74457
74607
  }
74458
74608
  }
74459
- function $f_sc_IndexedSeqOptimized__takeRight__I__O($thiz, n) {
74460
- return $thiz.slice__I__I__O((($thiz.length__I() - ((n > 0) ? n : 0)) | 0), $thiz.length__I())
74461
- }
74462
74609
  function $f_sc_IndexedSeqOptimized__dropRight__I__O($thiz, n) {
74463
74610
  return $thiz.slice__I__I__O(0, (($thiz.length__I() - ((n > 0) ? n : 0)) | 0))
74464
74611
  }
74612
+ function $f_sc_IndexedSeqOptimized__takeRight__I__O($thiz, n) {
74613
+ return $thiz.slice__I__I__O((($thiz.length__I() - ((n > 0) ? n : 0)) | 0), $thiz.length__I())
74614
+ }
74465
74615
  function $f_sc_IndexedSeqOptimized__reduceLeft__F2__O($thiz, op) {
74466
74616
  if (($thiz.length__I() > 0)) {
74467
74617
  var start = 1;
@@ -74536,6 +74686,16 @@ function $f_sc_LinearSeqOptimized__foldLeft__O__F2__O($thiz, z, op) {
74536
74686
  };
74537
74687
  return acc
74538
74688
  }
74689
+ function $f_sc_LinearSeqOptimized__find__F1__s_Option($thiz, p) {
74690
+ var these = $thiz;
74691
+ while ((!these.isEmpty__Z())) {
74692
+ if ($uZ(p.apply__O__O(these.head__O()))) {
74693
+ return new $c_s_Some().init___O(these.head__O())
74694
+ };
74695
+ these = $as_sc_LinearSeqOptimized(these.tail__O())
74696
+ };
74697
+ return $m_s_None$()
74698
+ }
74539
74699
  function $f_sc_LinearSeqOptimized__length__I($thiz) {
74540
74700
  var these = $thiz;
74541
74701
  var len = 0;
@@ -74570,13 +74730,6 @@ function $f_sc_LinearSeqOptimized__contains__O__Z($thiz, elem) {
74570
74730
  function $f_sc_LinearSeqOptimized__isDefinedAt__I__Z($thiz, x) {
74571
74731
  return ((x >= 0) && ($f_sc_LinearSeqOptimized__lengthCompare__I__I($thiz, x) > 0))
74572
74732
  }
74573
- function $f_sc_LinearSeqOptimized__reduceLeft__F2__O($thiz, op) {
74574
- if ($thiz.isEmpty__Z()) {
74575
- throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft")
74576
- } else {
74577
- return $as_sc_LinearSeqOptimized($thiz.tail__O()).foldLeft__O__F2__O($thiz.head__O(), op)
74578
- }
74579
- }
74580
74733
  function $f_sc_LinearSeqOptimized__loop$1__psc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($thiz, i, xs, len$1) {
74581
74734
  _loop: while (true) {
74582
74735
  if ((i === len$1)) {
@@ -74592,6 +74745,13 @@ function $f_sc_LinearSeqOptimized__loop$1__psc_LinearSeqOptimized__I__sc_LinearS
74592
74745
  }
74593
74746
  }
74594
74747
  }
74748
+ function $f_sc_LinearSeqOptimized__reduceLeft__F2__O($thiz, op) {
74749
+ if ($thiz.isEmpty__Z()) {
74750
+ throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft")
74751
+ } else {
74752
+ return $as_sc_LinearSeqOptimized($thiz.tail__O()).foldLeft__O__F2__O($thiz.head__O(), op)
74753
+ }
74754
+ }
74595
74755
  function $is_sc_LinearSeqOptimized(obj) {
74596
74756
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeqOptimized)))
74597
74757
  }
@@ -84865,6 +85025,10 @@ $c_sc_AbstractIterable.prototype.foreach__F1__V = (function(f) {
84865
85025
  var this$1 = this.iterator__sc_Iterator();
84866
85026
  $f_sc_Iterator__foreach__F1__V(this$1, f)
84867
85027
  });
85028
+ $c_sc_AbstractIterable.prototype.find__F1__s_Option = (function(p) {
85029
+ var this$1 = this.iterator__sc_Iterator();
85030
+ return $f_sc_Iterator__find__F1__s_Option(this$1, p)
85031
+ });
84868
85032
  $c_sc_AbstractIterable.prototype.toStream__sci_Stream = (function() {
84869
85033
  return this.iterator__sc_Iterator().toStream__sci_Stream()
84870
85034
  });
@@ -85225,13 +85389,13 @@ function $h_scm_ArrayOps$ofRef() {
85225
85389
  /*<skip>*/
85226
85390
  }
85227
85391
  $h_scm_ArrayOps$ofRef.prototype = $c_scm_ArrayOps$ofRef.prototype;
85228
- $c_scm_ArrayOps$ofRef.prototype.copyToArray__O__I__V = (function(xs, start) {
85229
- $f_sc_TraversableOnce__copyToArray__O__I__V(this, xs, start)
85230
- });
85231
85392
  $c_scm_ArrayOps$ofRef.prototype.seq__sc_TraversableOnce = (function() {
85232
85393
  var $$this = this.repr$1;
85233
85394
  return new $c_scm_WrappedArray$ofRef().init___AO($$this)
85234
85395
  });
85396
+ $c_scm_ArrayOps$ofRef.prototype.copyToArray__O__I__V = (function(xs, start) {
85397
+ $f_sc_TraversableOnce__copyToArray__O__I__V(this, xs, start)
85398
+ });
85235
85399
  $c_scm_ArrayOps$ofRef.prototype.head__O = (function() {
85236
85400
  return $f_sc_IndexedSeqOptimized__head__O(this)
85237
85401
  });
@@ -85292,13 +85456,13 @@ $c_scm_ArrayOps$ofRef.prototype.toVector__sci_Vector = (function() {
85292
85456
  var cbf = $m_sc_IndexedSeq$().ReusableCBF$6;
85293
85457
  return $as_sci_Vector($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this, cbf))
85294
85458
  });
85459
+ $c_scm_ArrayOps$ofRef.prototype.toBuffer__scm_Buffer = (function() {
85460
+ return $f_sc_IndexedSeqLike__toBuffer__scm_Buffer(this)
85461
+ });
85295
85462
  $c_scm_ArrayOps$ofRef.prototype.size__I = (function() {
85296
85463
  var $$this = this.repr$1;
85297
85464
  return $$this.u.length
85298
85465
  });
85299
- $c_scm_ArrayOps$ofRef.prototype.toBuffer__scm_Buffer = (function() {
85300
- return $f_sc_IndexedSeqLike__toBuffer__scm_Buffer(this)
85301
- });
85302
85466
  $c_scm_ArrayOps$ofRef.prototype.init___AO = (function(repr) {
85303
85467
  this.repr$1 = repr;
85304
85468
  return this
@@ -85617,33 +85781,33 @@ $c_sc_AbstractSeq.prototype.lengthCompare__I__I = (function(len) {
85617
85781
  $c_sc_AbstractSeq.prototype.indices__sci_Range = (function() {
85618
85782
  return $f_sc_SeqLike__indices__sci_Range(this)
85619
85783
  });
85620
- $c_sc_AbstractSeq.prototype.runWith__F1__F1 = (function(action) {
85621
- return $f_s_PartialFunction__runWith__F1__F1(this, action)
85622
- });
85623
85784
  $c_sc_AbstractSeq.prototype.isEmpty__Z = (function() {
85624
85785
  return $f_sc_SeqLike__isEmpty__Z(this)
85625
85786
  });
85787
+ $c_sc_AbstractSeq.prototype.runWith__F1__F1 = (function(action) {
85788
+ return $f_s_PartialFunction__runWith__F1__F1(this, action)
85789
+ });
85626
85790
  $c_sc_AbstractSeq.prototype.equals__O__Z = (function(that) {
85627
85791
  return $f_sc_GenSeqLike__equals__O__Z(this, that)
85628
85792
  });
85629
- $c_sc_AbstractSeq.prototype.toString__T = (function() {
85630
- return $f_sc_TraversableLike__toString__T(this)
85631
- });
85632
85793
  $c_sc_AbstractSeq.prototype.$$colon$plus__O__scg_CanBuildFrom__O = (function(elem, bf) {
85633
85794
  return $f_sc_SeqLike__$$colon$plus__O__scg_CanBuildFrom__O(this, elem, bf)
85634
85795
  });
85796
+ $c_sc_AbstractSeq.prototype.toString__T = (function() {
85797
+ return $f_sc_TraversableLike__toString__T(this)
85798
+ });
85635
85799
  $c_sc_AbstractSeq.prototype.size__I = (function() {
85636
85800
  return this.length__I()
85637
85801
  });
85638
85802
  $c_sc_AbstractSeq.prototype.thisCollection__sc_Seq = (function() {
85639
85803
  return this
85640
85804
  });
85641
- $c_sc_AbstractSeq.prototype.applyOrElse__O__F1__O = (function(x, $default) {
85642
- return $f_s_PartialFunction__applyOrElse__O__F1__O(this, x, $default)
85643
- });
85644
85805
  $c_sc_AbstractSeq.prototype.hashCode__I = (function() {
85645
85806
  return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this.seq__sc_Seq())
85646
85807
  });
85808
+ $c_sc_AbstractSeq.prototype.applyOrElse__O__F1__O = (function(x, $default) {
85809
+ return $f_s_PartialFunction__applyOrElse__O__F1__O(this, x, $default)
85810
+ });
85647
85811
  function $is_sci_Seq(obj) {
85648
85812
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Seq)))
85649
85813
  }
@@ -86372,6 +86536,9 @@ $c_sci_Set$Set1.prototype.iterator__sc_Iterator = (function() {
86372
86536
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86373
86537
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86374
86538
  });
86539
+ $c_sci_Set$Set1.prototype.find__F1__s_Option = (function(p) {
86540
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : $m_s_None$())
86541
+ });
86375
86542
  $c_sci_Set$Set1.prototype.empty__sc_Set = (function() {
86376
86543
  $m_sci_Set$();
86377
86544
  return $m_sci_Set$EmptySet$()
@@ -86493,6 +86660,9 @@ $c_sci_Set$Set2.prototype.iterator__sc_Iterator = (function() {
86493
86660
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86494
86661
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86495
86662
  });
86663
+ $c_sci_Set$Set2.prototype.find__F1__s_Option = (function(p) {
86664
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : ($uZ(p.apply__O__O(this.elem2$4)) ? new $c_s_Some().init___O(this.elem2$4) : $m_s_None$()))
86665
+ });
86496
86666
  $c_sci_Set$Set2.prototype.empty__sc_Set = (function() {
86497
86667
  $m_sci_Set$();
86498
86668
  return $m_sci_Set$EmptySet$()
@@ -86617,6 +86787,9 @@ $c_sci_Set$Set3.prototype.iterator__sc_Iterator = (function() {
86617
86787
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86618
86788
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86619
86789
  });
86790
+ $c_sci_Set$Set3.prototype.find__F1__s_Option = (function(p) {
86791
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : ($uZ(p.apply__O__O(this.elem2$4)) ? new $c_s_Some().init___O(this.elem2$4) : ($uZ(p.apply__O__O(this.elem3$4)) ? new $c_s_Some().init___O(this.elem3$4) : $m_s_None$())))
86792
+ });
86620
86793
  $c_sci_Set$Set3.prototype.empty__sc_Set = (function() {
86621
86794
  $m_sci_Set$();
86622
86795
  return $m_sci_Set$EmptySet$()
@@ -86737,6 +86910,9 @@ $c_sci_Set$Set4.prototype.iterator__sc_Iterator = (function() {
86737
86910
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86738
86911
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86739
86912
  });
86913
+ $c_sci_Set$Set4.prototype.find__F1__s_Option = (function(p) {
86914
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : ($uZ(p.apply__O__O(this.elem2$4)) ? new $c_s_Some().init___O(this.elem2$4) : ($uZ(p.apply__O__O(this.elem3$4)) ? new $c_s_Some().init___O(this.elem3$4) : ($uZ(p.apply__O__O(this.elem4$4)) ? new $c_s_Some().init___O(this.elem4$4) : $m_s_None$()))))
86915
+ });
86740
86916
  $c_sci_Set$Set4.prototype.empty__sc_Set = (function() {
86741
86917
  $m_sci_Set$();
86742
86918
  return $m_sci_Set$EmptySet$()
@@ -89823,6 +89999,9 @@ $c_sci_Stream.prototype.filterImpl__F1__Z__O = (function(p, isFlipped) {
89823
89999
  $c_sci_Stream.prototype.iterator__sc_Iterator = (function() {
89824
90000
  return new $c_sci_StreamIterator().init___sci_Stream(this)
89825
90001
  });
90002
+ $c_sci_Stream.prototype.find__F1__s_Option = (function(p) {
90003
+ return $f_sc_LinearSeqOptimized__find__F1__s_Option(this, p)
90004
+ });
89826
90005
  $c_sci_Stream.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) {
89827
90006
  if ((bf.apply__O__scm_Builder(this) instanceof $c_sci_Stream$StreamBuilder)) {
89828
90007
  if (this.isEmpty__Z()) {
@@ -90595,6 +90774,9 @@ $c_sci_List.prototype.slice__I__I__sci_List = (function(from, until) {
90595
90774
  var lo = ((from > 0) ? from : 0);
90596
90775
  return (((until <= lo) || this.isEmpty__Z()) ? $m_sci_Nil$() : this.drop__I__sci_List(lo).take__I__sci_List(((until - lo) | 0)))
90597
90776
  });
90777
+ $c_sci_List.prototype.iterator__sc_Iterator = (function() {
90778
+ return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike(this)
90779
+ });
90598
90780
  $c_sci_List.prototype.drop__I__sci_List = (function(n) {
90599
90781
  var these = this;
90600
90782
  var count = n;
@@ -90605,8 +90787,8 @@ $c_sci_List.prototype.drop__I__sci_List = (function(n) {
90605
90787
  };
90606
90788
  return these
90607
90789
  });
90608
- $c_sci_List.prototype.iterator__sc_Iterator = (function() {
90609
- return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike(this)
90790
+ $c_sci_List.prototype.find__F1__s_Option = (function(p) {
90791
+ return $f_sc_LinearSeqOptimized__find__F1__s_Option(this, p)
90610
90792
  });
90611
90793
  $c_sci_List.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) {
90612
90794
  return ((bf === $m_sci_List$().ReusableCBFInstance$2) ? that.seq__sc_TraversableOnce().toList__sci_List().$$colon$colon$colon__sci_List__sci_List(this) : $f_sc_TraversableLike__$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf))
@@ -91936,12 +92118,12 @@ $c_sci_WrappedString.prototype.apply__O__O = (function(v1) {
91936
92118
  $c_sci_WrappedString.prototype.exists__F1__Z = (function(p) {
91937
92119
  return $f_sc_IndexedSeqOptimized__exists__F1__Z(this, p)
91938
92120
  });
91939
- $c_sci_WrappedString.prototype.isEmpty__Z = (function() {
91940
- return $f_sc_IndexedSeqOptimized__isEmpty__Z(this)
91941
- });
91942
92121
  $c_sci_WrappedString.prototype.toList__sci_List = (function() {
91943
92122
  return $f_sc_IndexedSeqOptimized__toList__sci_List(this)
91944
92123
  });
92124
+ $c_sci_WrappedString.prototype.isEmpty__Z = (function() {
92125
+ return $f_sc_IndexedSeqOptimized__isEmpty__Z(this)
92126
+ });
91945
92127
  $c_sci_WrappedString.prototype.seq__sc_Iterable = (function() {
91946
92128
  return this
91947
92129
  });
@@ -91952,12 +92134,12 @@ $c_sci_WrappedString.prototype.apply__I__C = (function(n) {
91952
92134
  var thiz = this.self$4;
91953
92135
  return (65535 & $uI(thiz.charCodeAt(n)))
91954
92136
  });
91955
- $c_sci_WrappedString.prototype.companion__scg_GenericCompanion = (function() {
91956
- return $m_sci_IndexedSeq$()
91957
- });
91958
92137
  $c_sci_WrappedString.prototype.toString__T = (function() {
91959
92138
  return this.self$4
91960
92139
  });
92140
+ $c_sci_WrappedString.prototype.companion__scg_GenericCompanion = (function() {
92141
+ return $m_sci_IndexedSeq$()
92142
+ });
91961
92143
  $c_sci_WrappedString.prototype.foreach__F1__V = (function(f) {
91962
92144
  $f_sc_IndexedSeqOptimized__foreach__F1__V(this, f)
91963
92145
  });
@@ -91986,6 +92168,9 @@ $c_sci_WrappedString.prototype.iterator__sc_Iterator = (function() {
91986
92168
  var thiz = this.self$4;
91987
92169
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(thiz.length))
91988
92170
  });
92171
+ $c_sci_WrappedString.prototype.find__F1__s_Option = (function(p) {
92172
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
92173
+ });
91989
92174
  $c_sci_WrappedString.prototype.mkString__T = (function() {
91990
92175
  return this.self$4
91991
92176
  });
@@ -92020,14 +92205,11 @@ $c_sci_WrappedString.prototype.init___T = (function(self) {
92020
92205
  this.self$4 = self;
92021
92206
  return this
92022
92207
  });
92023
- $c_sci_WrappedString.prototype.dropRight__I__O = (function(n) {
92024
- return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
92025
- });
92026
92208
  $c_sci_WrappedString.prototype.takeRight__I__O = (function(n) {
92027
92209
  return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
92028
92210
  });
92029
- $c_sci_WrappedString.prototype.toArray__s_reflect_ClassTag__O = (function(evidence$1) {
92030
- return $m_sjsr_RuntimeString$().toCharArray__T__AC(this.self$4)
92211
+ $c_sci_WrappedString.prototype.dropRight__I__O = (function(n) {
92212
+ return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
92031
92213
  });
92032
92214
  $c_sci_WrappedString.prototype.slice__I__I__sci_WrappedString = (function(from, until) {
92033
92215
  var start = ((from < 0) ? 0 : from);
@@ -92050,6 +92232,9 @@ $c_sci_WrappedString.prototype.slice__I__I__sci_WrappedString = (function(from,
92050
92232
  var thiz$3 = $m_s_Predef$().unwrapString__sci_WrappedString__T(this);
92051
92233
  return new $c_sci_WrappedString().init___T($as_T(thiz$3.substring(start, end)))
92052
92234
  });
92235
+ $c_sci_WrappedString.prototype.toArray__s_reflect_ClassTag__O = (function(evidence$1) {
92236
+ return $m_sjsr_RuntimeString$().toCharArray__T__AC(this.self$4)
92237
+ });
92053
92238
  $c_sci_WrappedString.prototype.reduceLeft__F2__O = (function(op) {
92054
92239
  return $f_sc_IndexedSeqOptimized__reduceLeft__F2__O(this, op)
92055
92240
  });
@@ -93253,6 +93438,9 @@ $c_scm_WrappedArray.prototype.seq__scm_Seq = (function() {
93253
93438
  $c_scm_WrappedArray.prototype.iterator__sc_Iterator = (function() {
93254
93439
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, this.length__I())
93255
93440
  });
93441
+ $c_scm_WrappedArray.prototype.find__F1__s_Option = (function(p) {
93442
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
93443
+ });
93256
93444
  $c_scm_WrappedArray.prototype.seq__sc_Seq = (function() {
93257
93445
  return this
93258
93446
  });
@@ -93388,6 +93576,9 @@ $c_scm_ArraySeq.prototype.iterator__sc_Iterator = (function() {
93388
93576
  $c_scm_ArraySeq.prototype.seq__scm_Seq = (function() {
93389
93577
  return this
93390
93578
  });
93579
+ $c_scm_ArraySeq.prototype.find__F1__s_Option = (function(p) {
93580
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
93581
+ });
93391
93582
  $c_scm_ArraySeq.prototype.init___I = (function(length) {
93392
93583
  this.length$5 = length;
93393
93584
  this.array$5 = $newArrayObject($d_O.getArrayOf(), [length]);
@@ -93424,12 +93615,12 @@ $c_scm_ArraySeq.prototype.copyToArray__O__I__I__V = (function(xs, start, len) {
93424
93615
  $c_scm_ArraySeq.prototype.hashCode__I = (function() {
93425
93616
  return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
93426
93617
  });
93427
- $c_scm_ArraySeq.prototype.takeRight__I__O = (function(n) {
93428
- return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
93429
- });
93430
93618
  $c_scm_ArraySeq.prototype.dropRight__I__O = (function(n) {
93431
93619
  return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
93432
93620
  });
93621
+ $c_scm_ArraySeq.prototype.takeRight__I__O = (function(n) {
93622
+ return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
93623
+ });
93433
93624
  $c_scm_ArraySeq.prototype.reduceLeft__F2__O = (function(op) {
93434
93625
  return $f_sc_IndexedSeqOptimized__reduceLeft__F2__O(this, op)
93435
93626
  });
@@ -95141,6 +95332,10 @@ function $h_scm_ListBuffer() {
95141
95332
  /*<skip>*/
95142
95333
  }
95143
95334
  $h_scm_ListBuffer.prototype = $c_scm_ListBuffer.prototype;
95335
+ $c_scm_ListBuffer.prototype.copyToArray__O__I__V = (function(xs, start) {
95336
+ var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
95337
+ $f_sc_TraversableOnce__copyToArray__O__I__V(this$1, xs, start)
95338
+ });
95144
95339
  $c_scm_ListBuffer.prototype.copy__p6__V = (function() {
95145
95340
  if (this.isEmpty__Z()) {
95146
95341
  return (void 0)
@@ -95155,10 +95350,6 @@ $c_scm_ListBuffer.prototype.copy__p6__V = (function() {
95155
95350
  cursor = this$2.tail__sci_List()
95156
95351
  }
95157
95352
  });
95158
- $c_scm_ListBuffer.prototype.copyToArray__O__I__V = (function(xs, start) {
95159
- var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
95160
- $f_sc_TraversableOnce__copyToArray__O__I__V(this$1, xs, start)
95161
- });
95162
95353
  $c_scm_ListBuffer.prototype.head__O = (function() {
95163
95354
  return this.scala$collection$mutable$ListBuffer$$start$6.head__O()
95164
95355
  });
@@ -95270,6 +95461,10 @@ $c_scm_ListBuffer.prototype.iterator__sc_Iterator = (function() {
95270
95461
  $c_scm_ListBuffer.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
95271
95462
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
95272
95463
  });
95464
+ $c_scm_ListBuffer.prototype.find__F1__s_Option = (function(p) {
95465
+ var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
95466
+ return $f_sc_LinearSeqOptimized__find__F1__s_Option(this$1, p)
95467
+ });
95273
95468
  $c_scm_ListBuffer.prototype.mkString__T = (function() {
95274
95469
  var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
95275
95470
  return $f_sc_TraversableOnce__mkString__T__T__T__T(this$1, "", "", "")
@@ -95566,6 +95761,9 @@ $c_scm_StringBuilder.prototype.seq__scm_Seq = (function() {
95566
95761
  $c_scm_StringBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
95567
95762
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
95568
95763
  });
95764
+ $c_scm_StringBuilder.prototype.find__F1__s_Option = (function(p) {
95765
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
95766
+ });
95569
95767
  $c_scm_StringBuilder.prototype.init___I__T = (function(initCapacity, initValue) {
95570
95768
  var this$2 = new $c_jl_StringBuilder().init___I((($uI(initValue.length) + initCapacity) | 0));
95571
95769
  this$2.java$lang$StringBuilder$$content$f = (("" + this$2.java$lang$StringBuilder$$content$f) + initValue);
@@ -95622,12 +95820,12 @@ $c_scm_StringBuilder.prototype.copyToArray__O__I__I__V = (function(xs, start, le
95622
95820
  $c_scm_StringBuilder.prototype.hashCode__I = (function() {
95623
95821
  return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
95624
95822
  });
95625
- $c_scm_StringBuilder.prototype.takeRight__I__O = (function(n) {
95626
- return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
95627
- });
95628
95823
  $c_scm_StringBuilder.prototype.dropRight__I__O = (function(n) {
95629
95824
  return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
95630
95825
  });
95826
+ $c_scm_StringBuilder.prototype.takeRight__I__O = (function(n) {
95827
+ return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
95828
+ });
95631
95829
  $c_scm_StringBuilder.prototype.toArray__s_reflect_ClassTag__O = (function(evidence$1) {
95632
95830
  return $m_sjsr_RuntimeString$().toCharArray__T__AC(this.underlying$5.java$lang$StringBuilder$$content$f)
95633
95831
  });
@@ -95793,6 +95991,9 @@ $c_sjs_js_WrappedArray.prototype.seq__scm_Seq = (function() {
95793
95991
  $c_sjs_js_WrappedArray.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
95794
95992
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
95795
95993
  });
95994
+ $c_sjs_js_WrappedArray.prototype.find__F1__s_Option = (function(p) {
95995
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
95996
+ });
95796
95997
  $c_sjs_js_WrappedArray.prototype.length__I = (function() {
95797
95998
  return $uI(this.array$6.length)
95798
95999
  });
@@ -96007,6 +96208,9 @@ $c_scm_ArrayBuffer.prototype.seq__scm_Seq = (function() {
96007
96208
  $c_scm_ArrayBuffer.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
96008
96209
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
96009
96210
  });
96211
+ $c_scm_ArrayBuffer.prototype.find__F1__s_Option = (function(p) {
96212
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
96213
+ });
96010
96214
  $c_scm_ArrayBuffer.prototype.init___I = (function(initialSize) {
96011
96215
  this.initialSize$6 = initialSize;
96012
96216
  $f_scm_ResizableArray__$$init$__V(this);
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "scripts": {
36
36
  "test": "echo \"Error: no test specified\" && exit 1"
37
37
  },
38
- "version": "0.10.0-SNAPSHOT20220621.211648.0a3dcbfb"
38
+ "version": "0.10.0-SNAPSHOT20220702.153738.54691da3"
39
39
  }