lucuma-core 0.80.2-8-f91d354-SNAPSHOT → 0.81.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.
Files changed (3) hide show
  1. package/main.js +79 -46
  2. package/main.js.map +4 -4
  3. package/package.json +1 -1
package/main.js CHANGED
@@ -15930,6 +15930,7 @@ $c_Llucuma_core_math_BoundedInterval$package$BoundedInterval$.prototype.upper__s
15930
15930
  throw new $c_s_MatchError(self)
15931
15931
  });
15932
15932
  $c_Llucuma_core_math_BoundedInterval$package$BoundedInterval$.prototype.openUpperFromTuple__Lcats_kernel_Order__Llucuma_core_optics_ValidSplitEpi = (function(evidence$15) {
15933
+ var this$15 = $m_Llucuma_core_optics_ValidSplitEpi$();
15933
15934
  var _getValid = new $c_sjsr_AnonFunction1(((x$1) => {
15934
15935
  var x$1$1 = x$1;
15935
15936
  if ((x$1$1 !== null)) {
@@ -15959,7 +15960,7 @@ $c_Llucuma_core_math_BoundedInterval$package$BoundedInterval$.prototype.openUppe
15959
15960
  var _2 = this.upper__s_Product__O(i$1);
15960
15961
  return new $c_T2(_1, _2)
15961
15962
  }));
15962
- return new $c_Llucuma_core_optics_ValidSplitEpi$$anon$1(_getValid, _reverseGet)
15963
+ return new $c_Llucuma_core_optics_ValidSplitEpi$$anon$1(_getValid, _reverseGet, this$15)
15963
15964
  });
15964
15965
  var $d_Llucuma_core_math_BoundedInterval$package$BoundedInterval$ = new $TypeData().initClass({
15965
15966
  Llucuma_core_math_BoundedInterval$package$BoundedInterval$: 0
@@ -16004,7 +16005,7 @@ function $c_Llucuma_core_math_Constants$() {
16004
16005
  var vc$proxy1 = new $c_Lcoulomb_conversion_spire_value$$anon$1(cf, ct);
16005
16006
  var v$proxy3 = vc$proxy1.apply__O__O(cq$proxy3.Lcoulomb_units_constants$infra$ConstQ$NC__f_value);
16006
16007
  new $c_Lcoulomb_quantity$package$Quantity$Applier();
16007
- new $c_s_util_NotGiven();
16008
+ $m_s_util_NotGiven$();
16008
16009
  var vff = $m_Lspire_math_Fractional$().Lspire_math_Fractional$__f_RationalIsFractional;
16009
16010
  $m_Lspire_math_ConvertableFrom$();
16010
16011
  var ct$1 = $m_Lspire_math_ConvertableTo$().Lspire_math_ConvertableTo$__f_ConvertableToInt;
@@ -16012,10 +16013,10 @@ function $c_Llucuma_core_math_Constants$() {
16012
16013
  var v$proxy4 = (conv$proxy1.apply__O__O(v$proxy3) | 0);
16013
16014
  new $c_Lcoulomb_quantity$package$Quantity$Applier();
16014
16015
  this.Llucuma_core_math_Constants$__f_SpeedOfLight = v$proxy4;
16015
- var this$12 = $m_Ljava_time_Duration$().ofDays__J__Ljava_time_Duration(new $c_RTLong(1, 0));
16016
- this.Llucuma_core_math_Constants$__f_SecsInDay = this$12.Ljava_time_Duration__f_seconds;
16017
- var this$13 = $m_Ljava_time_Duration$();
16018
- this.Llucuma_core_math_Constants$__f_NanosInSecond = this$13.java$time$Duration$$$create__J__I__Ljava_time_Duration(new $c_RTLong(1, 0), 0).toNanos__J();
16016
+ var this$11 = $m_Ljava_time_Duration$().ofDays__J__Ljava_time_Duration(new $c_RTLong(1, 0));
16017
+ this.Llucuma_core_math_Constants$__f_SecsInDay = this$11.Ljava_time_Duration__f_seconds;
16018
+ var this$12 = $m_Ljava_time_Duration$();
16019
+ this.Llucuma_core_math_Constants$__f_NanosInSecond = this$12.java$time$Duration$$$create__J__I__Ljava_time_Duration(new $c_RTLong(1, 0), 0).toNanos__J();
16019
16020
  this.Llucuma_core_math_Constants$__f_TwoPi = 6.283185307179586;
16020
16021
  this.Llucuma_core_math_Constants$__f_HalfPi = 1.5707963267949;
16021
16022
  this.Llucuma_core_math_Constants$__f_ArcsecsInRadian = 206264.8062471;
@@ -16275,9 +16276,6 @@ function $h_Llucuma_core_math_JulianDate$() {
16275
16276
  /*<skip>*/
16276
16277
  }
16277
16278
  $h_Llucuma_core_math_JulianDate$.prototype = $c_Llucuma_core_math_JulianDate$.prototype;
16278
- $c_Llucuma_core_math_JulianDate$.prototype.toString__T = (function() {
16279
- return "JulianDate"
16280
- });
16281
16279
  $c_Llucuma_core_math_JulianDate$.prototype.ofInstant__Ljava_time_Instant__Llucuma_core_math_JulianDate = (function(i) {
16282
16280
  var zone = $m_Ljava_time_ZoneOffset$().UTC__Ljava_time_ZoneOffset();
16283
16281
  return this.ofLocalDateTime__Ljava_time_LocalDateTime__Llucuma_core_math_JulianDate($m_Ljava_time_LocalDateTime$().ofInstant__Ljava_time_Instant__Ljava_time_ZoneId__Ljava_time_LocalDateTime(i, zone))
@@ -16316,7 +16314,7 @@ $c_Llucuma_core_math_JulianDate$.prototype.ofLocalDateTime__Ljava_time_LocalDate
16316
16314
  var hi$3 = (value$2 >> 31);
16317
16315
  var lo$1 = ((lo + value$2) | 0);
16318
16316
  var hi$4 = ((((-2147483648) ^ lo$1) < ((-2147483648) ^ lo)) ? ((1 + ((hi$2 + hi$3) | 0)) | 0) : ((hi$2 + hi$3) | 0));
16319
- return new $c_Llucuma_core_math_JulianDate$$anon$1(jdn, new $c_RTLong(lo$1, hi$4))
16317
+ return new $c_Llucuma_core_math_JulianDate$$anon$1(jdn, new $c_RTLong(lo$1, hi$4), this)
16320
16318
  });
16321
16319
  $c_Llucuma_core_math_JulianDate$.prototype.fromDoubleApprox__D__Llucuma_core_math_JulianDate = (function(d) {
16322
16320
  var day = $doubleToInt(d);
@@ -16328,9 +16326,9 @@ $c_Llucuma_core_math_JulianDate$.prototype.fromDoubleApprox__D__Llucuma_core_mat
16328
16326
  var b = this.Llucuma_core_math_JulianDate$__f_NanoPerHalfDay;
16329
16327
  var bhi = b.RTLong__f_hi;
16330
16328
  if (((hi === bhi) ? (((-2147483648) ^ lo) >= ((-2147483648) ^ b.RTLong__f_lo)) : (hi > bhi))) {
16331
- return new $c_Llucuma_core_math_JulianDate$$anon$2(day, new $c_RTLong(lo, hi))
16329
+ return new $c_Llucuma_core_math_JulianDate$$anon$2(day, new $c_RTLong(lo, hi), this)
16332
16330
  } else {
16333
- return new $c_Llucuma_core_math_JulianDate$$anon$3(day, new $c_RTLong(lo, hi))
16331
+ return new $c_Llucuma_core_math_JulianDate$$anon$3(day, new $c_RTLong(lo, hi), this)
16334
16332
  }
16335
16333
  });
16336
16334
  var $d_Llucuma_core_math_JulianDate$ = new $TypeData().initClass({
@@ -18514,6 +18512,31 @@ function $f_Llucuma_core_model_TwilightBoundedNightOptics__$init$__V($thiz) {
18514
18512
  $thiz.Llucuma_core_model_TwilightBoundedNight$__f_localObservingNight.andThen__Lmonocle_Getter__Lmonocle_Getter($m_Llucuma_core_model_LocalObservingNight$().Llucuma_core_model_LocalObservingNight$__f_localDate)
18515
18513
  }
18516
18514
  /** @constructor */
18515
+ function $c_Llucuma_core_optics_ValidSplitEpi$() {
18516
+ /*<skip>*/
18517
+ }
18518
+ $c_Llucuma_core_optics_ValidSplitEpi$.prototype = new $h_O();
18519
+ $c_Llucuma_core_optics_ValidSplitEpi$.prototype.constructor = $c_Llucuma_core_optics_ValidSplitEpi$;
18520
+ /** @constructor */
18521
+ function $h_Llucuma_core_optics_ValidSplitEpi$() {
18522
+ /*<skip>*/
18523
+ }
18524
+ $h_Llucuma_core_optics_ValidSplitEpi$.prototype = $c_Llucuma_core_optics_ValidSplitEpi$.prototype;
18525
+ var $d_Llucuma_core_optics_ValidSplitEpi$ = new $TypeData().initClass({
18526
+ Llucuma_core_optics_ValidSplitEpi$: 0
18527
+ }, false, "lucuma.core.optics.ValidSplitEpi$", {
18528
+ Llucuma_core_optics_ValidSplitEpi$: 1,
18529
+ O: 1
18530
+ });
18531
+ $c_Llucuma_core_optics_ValidSplitEpi$.prototype.$classData = $d_Llucuma_core_optics_ValidSplitEpi$;
18532
+ var $n_Llucuma_core_optics_ValidSplitEpi$;
18533
+ function $m_Llucuma_core_optics_ValidSplitEpi$() {
18534
+ if ((!$n_Llucuma_core_optics_ValidSplitEpi$)) {
18535
+ $n_Llucuma_core_optics_ValidSplitEpi$ = new $c_Llucuma_core_optics_ValidSplitEpi$()
18536
+ };
18537
+ return $n_Llucuma_core_optics_ValidSplitEpi$
18538
+ }
18539
+ /** @constructor */
18517
18540
  function $c_Llucuma_core_optics_syntax_PrismOps$() {
18518
18541
  /*<skip>*/
18519
18542
  }
@@ -35756,9 +35779,6 @@ function $h_Llucuma_core_math_Declination$() {
35756
35779
  /*<skip>*/
35757
35780
  }
35758
35781
  $h_Llucuma_core_math_Declination$.prototype = $c_Llucuma_core_math_Declination$.prototype;
35759
- $c_Llucuma_core_math_Declination$.prototype.toString__T = (function() {
35760
- return "Declination"
35761
- });
35762
35782
  $c_Llucuma_core_math_Declination$.prototype.fromAngleWithCarry__J__T2 = (function(a) {
35763
35783
  var this$1 = this.Llucuma_core_math_Declination$__f_fromAngle.getOption__O__s_Option(a);
35764
35784
  if (this$1.isEmpty__Z()) {
@@ -35862,9 +35882,6 @@ function $h_Llucuma_core_math_Index$() {
35862
35882
  /*<skip>*/
35863
35883
  }
35864
35884
  $h_Llucuma_core_math_Index$.prototype = $c_Llucuma_core_math_Index$.prototype;
35865
- $c_Llucuma_core_math_Index$.prototype.toString__T = (function() {
35866
- return "Index"
35867
- });
35868
35885
  var $d_Llucuma_core_math_Index$ = new $TypeData().initClass({
35869
35886
  Llucuma_core_math_Index$: 0
35870
35887
  }, false, "lucuma.core.math.Index$", {
@@ -36194,9 +36211,6 @@ function $h_Llucuma_core_model_TwilightBoundedNight$() {
36194
36211
  /*<skip>*/
36195
36212
  }
36196
36213
  $h_Llucuma_core_model_TwilightBoundedNight$.prototype = $c_Llucuma_core_model_TwilightBoundedNight$.prototype;
36197
- $c_Llucuma_core_model_TwilightBoundedNight$.prototype.toString__T = (function() {
36198
- return "TwilightBoundedNight"
36199
- });
36200
36214
  $c_Llucuma_core_model_TwilightBoundedNight$.prototype.fromTwilightTypeAndObservingNight__Llucuma_core_enums_TwilightType__Llucuma_core_model_ObservingNight__s_Option = (function(twilightType, observingNight) {
36201
36215
  var site = observingNight.Llucuma_core_model_ObservingNight__f_site;
36202
36216
  var this$1 = $m_Llucuma_core_math_skycalc_TwilightCalc$();
@@ -37899,6 +37913,34 @@ function $m_s_util_Left$() {
37899
37913
  return $n_s_util_Left$
37900
37914
  }
37901
37915
  /** @constructor */
37916
+ function $c_s_util_NotGiven$() {
37917
+ this.s_util_NotGiven$__f_cachedValue = null;
37918
+ $n_s_util_NotGiven$ = this;
37919
+ this.s_util_NotGiven$__f_cachedValue = new $c_s_util_NotGiven()
37920
+ }
37921
+ $c_s_util_NotGiven$.prototype = new $h_O();
37922
+ $c_s_util_NotGiven$.prototype.constructor = $c_s_util_NotGiven$;
37923
+ /** @constructor */
37924
+ function $h_s_util_NotGiven$() {
37925
+ /*<skip>*/
37926
+ }
37927
+ $h_s_util_NotGiven$.prototype = $c_s_util_NotGiven$.prototype;
37928
+ var $d_s_util_NotGiven$ = new $TypeData().initClass({
37929
+ s_util_NotGiven$: 0
37930
+ }, false, "scala.util.NotGiven$", {
37931
+ s_util_NotGiven$: 1,
37932
+ O: 1,
37933
+ s_util_LowPriorityNotGiven: 1
37934
+ });
37935
+ $c_s_util_NotGiven$.prototype.$classData = $d_s_util_NotGiven$;
37936
+ var $n_s_util_NotGiven$;
37937
+ function $m_s_util_NotGiven$() {
37938
+ if ((!$n_s_util_NotGiven$)) {
37939
+ $n_s_util_NotGiven$ = new $c_s_util_NotGiven$()
37940
+ };
37941
+ return $n_s_util_NotGiven$
37942
+ }
37943
+ /** @constructor */
37902
37944
  function $c_s_util_Right$() {
37903
37945
  /*<skip>*/
37904
37946
  }
@@ -46158,9 +46200,6 @@ function $h_Llucuma_core_math_Place$() {
46158
46200
  /*<skip>*/
46159
46201
  }
46160
46202
  $h_Llucuma_core_math_Place$.prototype = $c_Llucuma_core_math_Place$.prototype;
46161
- $c_Llucuma_core_math_Place$.prototype.toString__T = (function() {
46162
- return "Place"
46163
- });
46164
46203
  var $d_Llucuma_core_math_Place$ = new $TypeData().initClass({
46165
46204
  Llucuma_core_math_Place$: 0
46166
46205
  }, false, "lucuma.core.math.Place$", {
@@ -46264,9 +46303,6 @@ function $h_Llucuma_core_math_skycalc_SkyCalcResults$() {
46264
46303
  /*<skip>*/
46265
46304
  }
46266
46305
  $h_Llucuma_core_math_skycalc_SkyCalcResults$.prototype = $c_Llucuma_core_math_skycalc_SkyCalcResults$.prototype;
46267
- $c_Llucuma_core_math_skycalc_SkyCalcResults$.prototype.toString__T = (function() {
46268
- return "SkyCalcResults"
46269
- });
46270
46306
  var $d_Llucuma_core_math_skycalc_SkyCalcResults$ = new $TypeData().initClass({
46271
46307
  Llucuma_core_math_skycalc_SkyCalcResults$: 0
46272
46308
  }, false, "lucuma.core.math.skycalc.SkyCalcResults$", {
@@ -46412,9 +46448,6 @@ function $h_Llucuma_core_optics_Format$() {
46412
46448
  /*<skip>*/
46413
46449
  }
46414
46450
  $h_Llucuma_core_optics_Format$.prototype = $c_Llucuma_core_optics_Format$.prototype;
46415
- $c_Llucuma_core_optics_Format$.prototype.toString__T = (function() {
46416
- return "Format"
46417
- });
46418
46451
  $c_Llucuma_core_optics_Format$.prototype.fromPrism__Lmonocle_PPrism__Llucuma_core_optics_Format = (function(p) {
46419
46452
  var getOption = new $c_sjsr_AnonFunction1(((s) => p.getOption__O__s_Option(s)));
46420
46453
  var reverseGet = new $c_sjsr_AnonFunction1(((b) => p.reverseGet__O__O(b)));
@@ -61818,9 +61851,6 @@ function $h_Llucuma_core_math_Coordinates$() {
61818
61851
  /*<skip>*/
61819
61852
  }
61820
61853
  $h_Llucuma_core_math_Coordinates$.prototype = $c_Llucuma_core_math_Coordinates$.prototype;
61821
- $c_Llucuma_core_math_Coordinates$.prototype.toString__T = (function() {
61822
- return "Coordinates"
61823
- });
61824
61854
  var $d_Llucuma_core_math_Coordinates$ = new $TypeData().initClass({
61825
61855
  Llucuma_core_math_Coordinates$: 0
61826
61856
  }, false, "lucuma.core.math.Coordinates$", {
@@ -62248,9 +62278,6 @@ function $h_Llucuma_core_math_RightAscension$() {
62248
62278
  /*<skip>*/
62249
62279
  }
62250
62280
  $h_Llucuma_core_math_RightAscension$.prototype = $c_Llucuma_core_math_RightAscension$.prototype;
62251
- $c_Llucuma_core_math_RightAscension$.prototype.toString__T = (function() {
62252
- return "RightAscension"
62253
- });
62254
62281
  $c_Llucuma_core_math_RightAscension$.prototype.given_Order_RightAscension__Lcats_kernel_Order = (function() {
62255
62282
  if ((!this.Llucuma_core_math_RightAscension$__f_given_Order_RightAscensionbitmap$1)) {
62256
62283
  $m_Lcats_package$();
@@ -62654,9 +62681,6 @@ function $h_Llucuma_core_model_LocalObservingNight$() {
62654
62681
  /*<skip>*/
62655
62682
  }
62656
62683
  $h_Llucuma_core_model_LocalObservingNight$.prototype = $c_Llucuma_core_model_LocalObservingNight$.prototype;
62657
- $c_Llucuma_core_model_LocalObservingNight$.prototype.toString__T = (function() {
62658
- return "LocalObservingNight"
62659
- });
62660
62684
  $c_Llucuma_core_model_LocalObservingNight$.prototype.fromProduct__s_Product__Llucuma_core_model_LocalObservingNight = (function(x$0) {
62661
62685
  return new $c_Llucuma_core_model_LocalObservingNight(x$0.productElement__I__O(0))
62662
62686
  });
@@ -62706,9 +62730,6 @@ function $h_Llucuma_core_model_ObservingNight$() {
62706
62730
  /*<skip>*/
62707
62731
  }
62708
62732
  $h_Llucuma_core_model_ObservingNight$.prototype = $c_Llucuma_core_model_ObservingNight$.prototype;
62709
- $c_Llucuma_core_model_ObservingNight$.prototype.toString__T = (function() {
62710
- return "ObservingNight"
62711
- });
62712
62733
  $c_Llucuma_core_model_ObservingNight$.prototype.fromSiteAndLocalDate__Llucuma_core_enums_Site__Ljava_time_LocalDate__Llucuma_core_model_ObservingNight = (function(s, d) {
62713
62734
  $m_Llucuma_core_model_ObservingNight$();
62714
62735
  $m_Llucuma_core_model_LocalObservingNight$();
@@ -62996,8 +63017,11 @@ var $d_Llucuma_core_optics_SplitMono = new $TypeData().initClass({
62996
63017
  });
62997
63018
  $c_Llucuma_core_optics_SplitMono.prototype.$classData = $d_Llucuma_core_optics_SplitMono;
62998
63019
  /** @constructor */
62999
- function $c_Llucuma_core_optics_ValidSplitEpi$$anon$1(_getValid$1, _reverseGet$1) {
63020
+ function $c_Llucuma_core_optics_ValidSplitEpi$$anon$1(_getValid$1, _reverseGet$1, outer) {
63000
63021
  this.Llucuma_core_optics_ValidSplitEpi$$anon$1__f_getValid = null;
63022
+ if ((outer === null)) {
63023
+ throw $ct_jl_NullPointerException__(new $c_jl_NullPointerException())
63024
+ };
63001
63025
  this.Llucuma_core_optics_ValidSplitEpi$$anon$1__f_getValid = _getValid$1
63002
63026
  }
63003
63027
  $c_Llucuma_core_optics_ValidSplitEpi$$anon$1.prototype = new $h_Llucuma_core_optics_ValidSplitEpi();
@@ -71203,10 +71227,13 @@ var $d_Llucuma_core_math_IndexOptics$$anon$1 = new $TypeData().initClass({
71203
71227
  });
71204
71228
  $c_Llucuma_core_math_IndexOptics$$anon$1.prototype.$classData = $d_Llucuma_core_math_IndexOptics$$anon$1;
71205
71229
  /** @constructor */
71206
- function $c_Llucuma_core_math_JulianDate$$anon$1(jdn$1, adj$1) {
71230
+ function $c_Llucuma_core_math_JulianDate$$anon$1(jdn$1, adj$1, outer) {
71207
71231
  this.Llucuma_core_math_JulianDate__f_dayNumber = 0;
71208
71232
  this.Llucuma_core_math_JulianDate__f_nanoAdjustment = $L0;
71209
71233
  this.Llucuma_core_math_JulianDate__f_toDouble = 0.0;
71234
+ if ((outer === null)) {
71235
+ throw $ct_jl_NullPointerException__(new $c_jl_NullPointerException())
71236
+ };
71210
71237
  $ct_Llucuma_core_math_JulianDate__I__J__(this, jdn$1, adj$1)
71211
71238
  }
71212
71239
  $c_Llucuma_core_math_JulianDate$$anon$1.prototype = new $h_Llucuma_core_math_JulianDate();
@@ -71228,10 +71255,13 @@ var $d_Llucuma_core_math_JulianDate$$anon$1 = new $TypeData().initClass({
71228
71255
  });
71229
71256
  $c_Llucuma_core_math_JulianDate$$anon$1.prototype.$classData = $d_Llucuma_core_math_JulianDate$$anon$1;
71230
71257
  /** @constructor */
71231
- function $c_Llucuma_core_math_JulianDate$$anon$2(day$1, wholeNanos$1) {
71258
+ function $c_Llucuma_core_math_JulianDate$$anon$2(day$1, wholeNanos$1, outer) {
71232
71259
  this.Llucuma_core_math_JulianDate__f_dayNumber = 0;
71233
71260
  this.Llucuma_core_math_JulianDate__f_nanoAdjustment = $L0;
71234
71261
  this.Llucuma_core_math_JulianDate__f_toDouble = 0.0;
71262
+ if ((outer === null)) {
71263
+ throw $ct_jl_NullPointerException__(new $c_jl_NullPointerException())
71264
+ };
71235
71265
  var b = $m_Llucuma_core_math_JulianDate$().Llucuma_core_math_JulianDate$__f_lucuma$core$math$JulianDate$$$NanoPerDay;
71236
71266
  var alo = wholeNanos$1.RTLong__f_lo;
71237
71267
  var ahi = wholeNanos$1.RTLong__f_hi;
@@ -71259,10 +71289,13 @@ var $d_Llucuma_core_math_JulianDate$$anon$2 = new $TypeData().initClass({
71259
71289
  });
71260
71290
  $c_Llucuma_core_math_JulianDate$$anon$2.prototype.$classData = $d_Llucuma_core_math_JulianDate$$anon$2;
71261
71291
  /** @constructor */
71262
- function $c_Llucuma_core_math_JulianDate$$anon$3(day$2, wholeNanos$2) {
71292
+ function $c_Llucuma_core_math_JulianDate$$anon$3(day$2, wholeNanos$2, outer) {
71263
71293
  this.Llucuma_core_math_JulianDate__f_dayNumber = 0;
71264
71294
  this.Llucuma_core_math_JulianDate__f_nanoAdjustment = $L0;
71265
71295
  this.Llucuma_core_math_JulianDate__f_toDouble = 0.0;
71296
+ if ((outer === null)) {
71297
+ throw $ct_jl_NullPointerException__(new $c_jl_NullPointerException())
71298
+ };
71266
71299
  $ct_Llucuma_core_math_JulianDate__I__J__(this, day$2, wholeNanos$2)
71267
71300
  }
71268
71301
  $c_Llucuma_core_math_JulianDate$$anon$3.prototype = new $h_Llucuma_core_math_JulianDate();