mol_plot_all 1.2.1022 → 1.2.1023

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/web.mjs CHANGED
@@ -2691,8 +2691,8 @@ var $;
2691
2691
  attr(){
2692
2692
  return {
2693
2693
  ...(super.attr()),
2694
- "viewBox": (this.view_box()),
2695
- "preserveAspectRatio": (this.aspect())
2694
+ "viewBox": (this?.view_box()),
2695
+ "preserveAspectRatio": (this?.aspect())
2696
2696
  };
2697
2697
  }
2698
2698
  };
@@ -2966,11 +2966,11 @@ var $;
2966
2966
  event(){
2967
2967
  return {
2968
2968
  ...(super.event()),
2969
- "pointerdown": (next) => (this.event_start(next)),
2970
- "pointermove": (next) => (this.event_move(next)),
2971
- "pointerup": (next) => (this.event_end(next)),
2972
- "pointerleave": (next) => (this.event_leave(next)),
2973
- "wheel": (next) => (this.event_wheel(next))
2969
+ "pointerdown": (next) => (this?.event_start(next)),
2970
+ "pointermove": (next) => (this?.event_move(next)),
2971
+ "pointerup": (next) => (this?.event_end(next)),
2972
+ "pointerleave": (next) => (this?.event_leave(next)),
2973
+ "wheel": (next) => (this?.event_wheel(next))
2974
2974
  };
2975
2975
  }
2976
2976
  };
@@ -3260,11 +3260,11 @@ var $;
3260
3260
  ;
3261
3261
  ($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
3262
3262
  gap_x(){
3263
- const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3263
+ const obj = new this.$.$mol_vector_range((this?.gap_left()), (this?.gap_right()));
3264
3264
  return obj;
3265
3265
  }
3266
3266
  gap_y(){
3267
- const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3267
+ const obj = new this.$.$mol_vector_range((this?.gap_bottom()), (this?.gap_top()));
3268
3268
  return obj;
3269
3269
  }
3270
3270
  shift_limit_x(){
@@ -3306,17 +3306,17 @@ var $;
3306
3306
  return [];
3307
3307
  }
3308
3308
  graphs_positioned(){
3309
- return (this.graphs());
3309
+ return (this?.graphs());
3310
3310
  }
3311
3311
  graphs_visible(){
3312
- return (this.graphs_positioned());
3312
+ return (this?.graphs_positioned());
3313
3313
  }
3314
3314
  zoom(next){
3315
3315
  if(next !== undefined) return next;
3316
3316
  return 1;
3317
3317
  }
3318
3318
  cursor_position(){
3319
- return (this.Touch().pointer_center());
3319
+ return (this?.Touch()?.pointer_center());
3320
3320
  }
3321
3321
  allow_draw(){
3322
3322
  return true;
@@ -3328,10 +3328,10 @@ var $;
3328
3328
  return true;
3329
3329
  }
3330
3330
  action_type(){
3331
- return (this.Touch().action_type());
3331
+ return (this?.Touch()?.action_type());
3332
3332
  }
3333
3333
  action_point(){
3334
- return (this.Touch().action_point());
3334
+ return (this?.Touch()?.action_point());
3335
3335
  }
3336
3336
  draw_start(next){
3337
3337
  if(next !== undefined) return next;
@@ -3347,14 +3347,14 @@ var $;
3347
3347
  }
3348
3348
  Touch(){
3349
3349
  const obj = new this.$.$mol_touch();
3350
- (obj.zoom) = (next) => ((this.zoom(next)));
3351
- (obj.pan) = (next) => ((this.shift(next)));
3352
- (obj.allow_draw) = () => ((this.allow_draw()));
3353
- (obj.allow_pan) = () => ((this.allow_pan()));
3354
- (obj.allow_zoom) = () => ((this.allow_zoom()));
3355
- (obj.draw_start) = (next) => ((this.draw_start(next)));
3356
- (obj.draw) = (next) => ((this.draw(next)));
3357
- (obj.draw_end) = (next) => ((this.draw_end(next)));
3350
+ (obj.zoom) = (next) => ((this?.zoom(next)));
3351
+ (obj.pan) = (next) => ((this?.shift(next)));
3352
+ (obj.allow_draw) = () => ((this?.allow_draw()));
3353
+ (obj.allow_pan) = () => ((this?.allow_pan()));
3354
+ (obj.allow_zoom) = () => ((this?.allow_zoom()));
3355
+ (obj.draw_start) = (next) => ((this?.draw_start(next)));
3356
+ (obj.draw) = (next) => ((this?.draw(next)));
3357
+ (obj.draw_end) = (next) => ((this?.draw_end(next)));
3358
3358
  return obj;
3359
3359
  }
3360
3360
  aspect(){
@@ -3375,23 +3375,23 @@ var $;
3375
3375
  return 24;
3376
3376
  }
3377
3377
  gap_left(){
3378
- return (this.gap_hor());
3378
+ return (this?.gap_hor());
3379
3379
  }
3380
3380
  gap_right(){
3381
- return (this.gap_hor());
3381
+ return (this?.gap_hor());
3382
3382
  }
3383
3383
  gap_top(){
3384
- return (this.gap_vert());
3384
+ return (this?.gap_vert());
3385
3385
  }
3386
3386
  gap_bottom(){
3387
- return (this.gap_vert());
3387
+ return (this?.gap_vert());
3388
3388
  }
3389
3389
  gap(){
3390
- const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
3390
+ const obj = new this.$.$mol_vector_2d((this?.gap_x()), (this?.gap_y()));
3391
3391
  return obj;
3392
3392
  }
3393
3393
  shift_limit(){
3394
- const obj = new this.$.$mol_vector_2d((this.shift_limit_x()), (this.shift_limit_y()));
3394
+ const obj = new this.$.$mol_vector_2d((this?.shift_limit_x()), (this?.shift_limit_y()));
3395
3395
  return obj;
3396
3396
  }
3397
3397
  shift_default(){
@@ -3404,7 +3404,7 @@ var $;
3404
3404
  return obj;
3405
3405
  }
3406
3406
  scale_limit(){
3407
- const obj = new this.$.$mol_vector_2d((this.scale_limit_x()), (this.scale_limit_y()));
3407
+ const obj = new this.$.$mol_vector_2d((this?.scale_limit_x()), (this?.scale_limit_y()));
3408
3408
  return obj;
3409
3409
  }
3410
3410
  scale_default(){
@@ -3433,21 +3433,21 @@ var $;
3433
3433
  return obj;
3434
3434
  }
3435
3435
  dimensions(){
3436
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
3436
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_x()), (this?.dimensions_y()));
3437
3437
  return obj;
3438
3438
  }
3439
3439
  dimensions_viewport(){
3440
- const obj = new this.$.$mol_vector_2d((this.dimensions_viewport_x()), (this.dimensions_viewport_y()));
3440
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_viewport_x()), (this?.dimensions_viewport_y()));
3441
3441
  return obj;
3442
3442
  }
3443
3443
  sub(){
3444
- return (this.graphs_sorted());
3444
+ return (this?.graphs_sorted());
3445
3445
  }
3446
3446
  graphs_colored(){
3447
- return (this.graphs_visible());
3447
+ return (this?.graphs_visible());
3448
3448
  }
3449
3449
  plugins(){
3450
- return [...(super.plugins()), (this.Touch())];
3450
+ return [...(super.plugins()), (this?.Touch())];
3451
3451
  }
3452
3452
  };
3453
3453
  ($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
@@ -3506,7 +3506,7 @@ var $;
3506
3506
  return "title";
3507
3507
  }
3508
3508
  sub(){
3509
- return [(this.title())];
3509
+ return [(this?.title())];
3510
3510
  }
3511
3511
  };
3512
3512
 
@@ -3558,7 +3558,7 @@ var $;
3558
3558
  return "";
3559
3559
  }
3560
3560
  hint(){
3561
- return (this.title());
3561
+ return (this?.title());
3562
3562
  }
3563
3563
  series_x(){
3564
3564
  return [];
@@ -3567,13 +3567,13 @@ var $;
3567
3567
  return [];
3568
3568
  }
3569
3569
  attr(){
3570
- return {...(super.attr()), "mol_plot_graph_type": (this.type())};
3570
+ return {...(super.attr()), "mol_plot_graph_type": (this?.type())};
3571
3571
  }
3572
3572
  style(){
3573
- return {...(super.style()), "color": (this.color())};
3573
+ return {...(super.style()), "color": (this?.color())};
3574
3574
  }
3575
3575
  viewport(){
3576
- const obj = new this.$.$mol_vector_2d((this.viewport_x()), (this.viewport_y()));
3576
+ const obj = new this.$.$mol_vector_2d((this?.viewport_x()), (this?.viewport_y()));
3577
3577
  return obj;
3578
3578
  }
3579
3579
  shift(){
@@ -3587,11 +3587,11 @@ var $;
3587
3587
  return obj;
3588
3588
  }
3589
3589
  dimensions_pane(){
3590
- const obj = new this.$.$mol_vector_2d((this.dimensions_pane_x()), (this.dimensions_pane_y()));
3590
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_pane_x()), (this?.dimensions_pane_y()));
3591
3591
  return obj;
3592
3592
  }
3593
3593
  dimensions(){
3594
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
3594
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_x()), (this?.dimensions_y()));
3595
3595
  return obj;
3596
3596
  }
3597
3597
  size_real(){
@@ -3599,7 +3599,7 @@ var $;
3599
3599
  return obj;
3600
3600
  }
3601
3601
  gap(){
3602
- const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
3602
+ const obj = new this.$.$mol_vector_2d((this?.gap_x()), (this?.gap_y()));
3603
3603
  return obj;
3604
3604
  }
3605
3605
  repos_x(id){
@@ -3622,7 +3622,7 @@ var $;
3622
3622
  }
3623
3623
  Hint(){
3624
3624
  const obj = new this.$.$mol_svg_title();
3625
- (obj.title) = () => ((this.hint()));
3625
+ (obj.title) = () => ((this?.hint()));
3626
3626
  return obj;
3627
3627
  }
3628
3628
  hue(){
@@ -3655,10 +3655,10 @@ var $;
3655
3655
  return "black";
3656
3656
  }
3657
3657
  attr(){
3658
- return {...(super.attr()), "mol_plot_graph_type": (this.type())};
3658
+ return {...(super.attr()), "mol_plot_graph_type": (this?.type())};
3659
3659
  }
3660
3660
  style(){
3661
- return {...(super.style()), "color": (this.color())};
3661
+ return {...(super.style()), "color": (this?.color())};
3662
3662
  }
3663
3663
  };
3664
3664
 
@@ -3980,15 +3980,15 @@ var $;
3980
3980
  return "path";
3981
3981
  }
3982
3982
  attr(){
3983
- return {...(super.attr()), "d": (this.curve())};
3983
+ return {...(super.attr()), "d": (this?.curve())};
3984
3984
  }
3985
3985
  sub(){
3986
- return [(this.Hint())];
3986
+ return [(this?.Hint())];
3987
3987
  }
3988
3988
  Sample(){
3989
3989
  const obj = new this.$.$mol_plot_graph_sample();
3990
- (obj.color) = () => ((this.color()));
3991
- (obj.type) = () => ((this.type()));
3990
+ (obj.color) = () => ((this?.color()));
3991
+ (obj.type) = () => ((this?.type()));
3992
3992
  return obj;
3993
3993
  }
3994
3994
  };
@@ -4070,17 +4070,17 @@ var $;
4070
4070
  return [];
4071
4071
  }
4072
4072
  graphs_enriched(){
4073
- return (this.graphs());
4073
+ return (this?.graphs());
4074
4074
  }
4075
4075
  graph_samples(){
4076
4076
  return [];
4077
4077
  }
4078
4078
  sub(){
4079
- return (this.graphs_enriched());
4079
+ return (this?.graphs_enriched());
4080
4080
  }
4081
4081
  Sample(){
4082
4082
  const obj = new this.$.$mol_plot_graph_sample();
4083
- (obj.sub) = () => ((this.graph_samples()));
4083
+ (obj.sub) = () => ((this?.graph_samples()));
4084
4084
  return obj;
4085
4085
  }
4086
4086
  };
@@ -4164,7 +4164,7 @@ var $;
4164
4164
  return "path";
4165
4165
  }
4166
4166
  attr(){
4167
- return {...(super.attr()), "d": (this.geometry())};
4167
+ return {...(super.attr()), "d": (this?.geometry())};
4168
4168
  }
4169
4169
  };
4170
4170
 
@@ -4182,7 +4182,7 @@ var $;
4182
4182
  }
4183
4183
  Curve(){
4184
4184
  const obj = new this.$.$mol_svg_path();
4185
- (obj.geometry) = () => ((this.curve()));
4185
+ (obj.geometry) = () => ((this?.curve()));
4186
4186
  return obj;
4187
4187
  }
4188
4188
  points_max(){
@@ -4192,14 +4192,14 @@ var $;
4192
4192
  return 1;
4193
4193
  }
4194
4194
  style(){
4195
- return {...(super.style()), "stroke-width": (this.diameter())};
4195
+ return {...(super.style()), "stroke-width": (this?.diameter())};
4196
4196
  }
4197
4197
  sub(){
4198
- return [(this.Hint()), (this.Curve())];
4198
+ return [(this?.Hint()), (this?.Curve())];
4199
4199
  }
4200
4200
  Sample(){
4201
4201
  const obj = new this.$.$mol_plot_graph_sample();
4202
- (obj.color) = () => ((this.color()));
4202
+ (obj.color) = () => ((this?.color()));
4203
4203
  return obj;
4204
4204
  }
4205
4205
  };
@@ -4345,20 +4345,20 @@ var $;
4345
4345
  return [];
4346
4346
  }
4347
4347
  graphs(){
4348
- return (this.level_graphs());
4348
+ return (this?.level_graphs());
4349
4349
  }
4350
4350
  Level(id){
4351
4351
  const obj = new this.$.$mol_plot_map_heat_level();
4352
- (obj.hint) = () => ((this.level_hint(id)));
4353
- (obj.points) = () => ((this.level_points(id)));
4354
- (obj.opacity) = () => ((this.level_opacity(id)));
4355
- (obj.diameter) = () => ((this.level_diameter()));
4356
- (obj.aspect) = () => ((this.level_aspect()));
4352
+ (obj.hint) = () => ((this?.level_hint(id)));
4353
+ (obj.points) = () => ((this?.level_points(id)));
4354
+ (obj.opacity) = () => ((this?.level_opacity(id)));
4355
+ (obj.diameter) = () => ((this?.level_diameter()));
4356
+ (obj.aspect) = () => ((this?.level_aspect()));
4357
4357
  return obj;
4358
4358
  }
4359
4359
  Sample(){
4360
4360
  const obj = new this.$.$mol_plot_graph_sample();
4361
- (obj.color) = () => ((this.color()));
4361
+ (obj.color) = () => ((this?.color()));
4362
4362
  return obj;
4363
4363
  }
4364
4364
  };
@@ -4369,7 +4369,7 @@ var $;
4369
4369
  return "1";
4370
4370
  }
4371
4371
  style(){
4372
- return {...(super.style()), "opacity": (this.opacity())};
4372
+ return {...(super.style()), "opacity": (this?.opacity())};
4373
4373
  }
4374
4374
  };
4375
4375
 
@@ -4457,18 +4457,18 @@ var $;
4457
4457
  }
4458
4458
  Curve(){
4459
4459
  const obj = new this.$.$mol_svg_path();
4460
- (obj.geometry) = () => ((this.curve()));
4460
+ (obj.geometry) = () => ((this?.curve()));
4461
4461
  return obj;
4462
4462
  }
4463
4463
  style(){
4464
- return {...(super.style()), "stroke-width": (this.stroke_width())};
4464
+ return {...(super.style()), "stroke-width": (this?.stroke_width())};
4465
4465
  }
4466
4466
  sub(){
4467
- return [(this.Hint()), (this.Curve())];
4467
+ return [(this?.Hint()), (this?.Curve())];
4468
4468
  }
4469
4469
  Sample(){
4470
4470
  const obj = new this.$.$mol_plot_graph_sample();
4471
- (obj.color) = () => ((this.color()));
4471
+ (obj.color) = () => ((this?.color()));
4472
4472
  return obj;
4473
4473
  }
4474
4474
  };
@@ -4635,10 +4635,10 @@ var $;
4635
4635
  attr(){
4636
4636
  return {
4637
4637
  ...(super.attr()),
4638
- "width": (this.width()),
4639
- "height": (this.height()),
4640
- "x": (this.pos_x()),
4641
- "y": (this.pos_y())
4638
+ "width": (this?.width()),
4639
+ "height": (this?.height()),
4640
+ "x": (this?.pos_x()),
4641
+ "y": (this?.pos_y())
4642
4642
  };
4643
4643
  }
4644
4644
  };
@@ -4677,7 +4677,7 @@ var $;
4677
4677
  return "middle";
4678
4678
  }
4679
4679
  align_hor(){
4680
- return (this.align());
4680
+ return (this?.align());
4681
4681
  }
4682
4682
  align_vert(){
4683
4683
  return "baseline";
@@ -4694,14 +4694,14 @@ var $;
4694
4694
  attr(){
4695
4695
  return {
4696
4696
  ...(super.attr()),
4697
- "x": (this.pos_x()),
4698
- "y": (this.pos_y()),
4699
- "text-anchor": (this.align_hor()),
4700
- "alignment-baseline": (this.align_vert())
4697
+ "x": (this?.pos_x()),
4698
+ "y": (this?.pos_y()),
4699
+ "text-anchor": (this?.align_hor()),
4700
+ "alignment-baseline": (this?.align_vert())
4701
4701
  };
4702
4702
  }
4703
4703
  sub(){
4704
- return [(this.text())];
4704
+ return [(this?.text())];
4705
4705
  }
4706
4706
  };
4707
4707
 
@@ -4750,10 +4750,10 @@ var $;
4750
4750
  }
4751
4751
  Background(){
4752
4752
  const obj = new this.$.$mol_svg_rect();
4753
- (obj.pos_x) = () => ((this.background_x()));
4754
- (obj.pos_y) = () => ((this.background_y()));
4755
- (obj.width) = () => ((this.background_width()));
4756
- (obj.height) = () => ((this.background_height()));
4753
+ (obj.pos_x) = () => ((this?.background_x()));
4754
+ (obj.pos_y) = () => ((this?.background_y()));
4755
+ (obj.width) = () => ((this?.background_width()));
4756
+ (obj.height) = () => ((this?.background_height()));
4757
4757
  return obj;
4758
4758
  }
4759
4759
  curve(){
@@ -4761,7 +4761,7 @@ var $;
4761
4761
  }
4762
4762
  Curve(){
4763
4763
  const obj = new this.$.$mol_svg_path();
4764
- (obj.geometry) = () => ((this.curve()));
4764
+ (obj.geometry) = () => ((this?.curve()));
4765
4765
  return obj;
4766
4766
  }
4767
4767
  labels_formatted(){
@@ -4778,10 +4778,10 @@ var $;
4778
4778
  }
4779
4779
  Title(){
4780
4780
  const obj = new this.$.$mol_svg_text();
4781
- (obj.pos_x) = () => ((this.title_pos_x()));
4782
- (obj.pos_y) = () => ((this.title_pos_y()));
4783
- (obj.align) = () => ((this.title_align()));
4784
- (obj.text) = () => ((this.title()));
4781
+ (obj.pos_x) = () => ((this?.title_pos_x()));
4782
+ (obj.pos_y) = () => ((this?.title_pos_y()));
4783
+ (obj.align) = () => ((this?.title_align()));
4784
+ (obj.text) = () => ((this?.title()));
4785
4785
  return obj;
4786
4786
  }
4787
4787
  label_pos_x(id){
@@ -4791,7 +4791,7 @@ var $;
4791
4791
  return "";
4792
4792
  }
4793
4793
  label_pos(id){
4794
- return [(this.label_pos_x(id)), (this.label_pos_y(id))];
4794
+ return [(this?.label_pos_x(id)), (this?.label_pos_y(id))];
4795
4795
  }
4796
4796
  label_text(id){
4797
4797
  return "";
@@ -4831,17 +4831,17 @@ var $;
4831
4831
  }
4832
4832
  sub(){
4833
4833
  return [
4834
- (this.Background()),
4835
- (this.Curve()),
4836
- (this.labels_formatted()),
4837
- (this.Title())
4834
+ (this?.Background()),
4835
+ (this?.Curve()),
4836
+ (this?.labels_formatted()),
4837
+ (this?.Title())
4838
4838
  ];
4839
4839
  }
4840
4840
  Label(id){
4841
4841
  const obj = new this.$.$mol_svg_text();
4842
- (obj.pos) = () => ((this.label_pos(id)));
4843
- (obj.text) = () => ((this.label_text(id)));
4844
- (obj.align) = () => ((this.label_align()));
4842
+ (obj.pos) = () => ((this?.label_pos(id)));
4843
+ (obj.text) = () => ((this?.label_text(id)));
4844
+ (obj.align) = () => ((this?.label_align()));
4845
4845
  return obj;
4846
4846
  }
4847
4847
  };
@@ -4980,13 +4980,13 @@ var $;
4980
4980
  return "14";
4981
4981
  }
4982
4982
  label_pos_x(id){
4983
- return (this.title_pos_x());
4983
+ return (this?.title_pos_x());
4984
4984
  }
4985
4985
  background_height(){
4986
4986
  return "100%";
4987
4987
  }
4988
4988
  background_width(){
4989
- return (this.title_pos_x());
4989
+ return (this?.title_pos_x());
4990
4990
  }
4991
4991
  };
4992
4992
 
@@ -5058,7 +5058,7 @@ var $;
5058
5058
  return "100%";
5059
5059
  }
5060
5060
  label_pos_y(id){
5061
- return (this.title_pos_y());
5061
+ return (this?.title_pos_y());
5062
5062
  }
5063
5063
  background_width(){
5064
5064
  return "100%";
@@ -5133,16 +5133,16 @@ var $;
5133
5133
  return "1rem";
5134
5134
  }
5135
5135
  box_pos_x(){
5136
- return (this.pos_x());
5136
+ return (this?.pos_x());
5137
5137
  }
5138
5138
  box_pos_y(){
5139
5139
  return "0";
5140
5140
  }
5141
5141
  Back(){
5142
5142
  const obj = new this.$.$mol_svg_rect();
5143
- (obj.width) = () => ((this.box_width()));
5144
- (obj.height) = () => ((this.box_height()));
5145
- (obj.pos) = () => ([(this.box_pos_x()), (this.box_pos_y())]);
5143
+ (obj.width) = () => ((this?.box_width()));
5144
+ (obj.height) = () => ((this?.box_height()));
5145
+ (obj.pos) = () => ([(this?.box_pos_x()), (this?.box_pos_y())]);
5146
5146
  return obj;
5147
5147
  }
5148
5148
  pos_x(){
@@ -5159,9 +5159,9 @@ var $;
5159
5159
  }
5160
5160
  Text(){
5161
5161
  const obj = new this.$.$mol_svg_text();
5162
- (obj.pos) = () => ([(this.pos_x()), (this.pos_y())]);
5163
- (obj.align) = () => ((this.align()));
5164
- (obj.sub) = () => ([(this.text())]);
5162
+ (obj.pos) = () => ([(this?.pos_x()), (this?.pos_y())]);
5163
+ (obj.align) = () => ((this?.align()));
5164
+ (obj.sub) = () => ([(this?.text())]);
5165
5165
  return obj;
5166
5166
  }
5167
5167
  font_size(){
@@ -5171,7 +5171,7 @@ var $;
5171
5171
  return 0;
5172
5172
  }
5173
5173
  sub(){
5174
- return [(this.Back()), (this.Text())];
5174
+ return [(this?.Back()), (this?.Text())];
5175
5175
  }
5176
5176
  };
5177
5177
  ($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
@@ -5260,7 +5260,7 @@ var $;
5260
5260
  }
5261
5261
  Curve(){
5262
5262
  const obj = new this.$.$mol_svg_path();
5263
- (obj.geometry) = () => ((this.curve()));
5263
+ (obj.geometry) = () => ((this?.curve()));
5264
5264
  return obj;
5265
5265
  }
5266
5266
  title_x_pos_x(){
@@ -5274,9 +5274,9 @@ var $;
5274
5274
  }
5275
5275
  Label_x(){
5276
5276
  const obj = new this.$.$mol_svg_text_box();
5277
- (obj.pos_x) = () => ((this.title_x_pos_x()));
5278
- (obj.pos_y) = () => ((this.title_x_pos_y()));
5279
- (obj.text) = () => ((this.title_x()));
5277
+ (obj.pos_x) = () => ((this?.title_x_pos_x()));
5278
+ (obj.pos_y) = () => ((this?.title_x_pos_y()));
5279
+ (obj.text) = () => ((this?.title_x()));
5280
5280
  return obj;
5281
5281
  }
5282
5282
  title_y_pos_x(){
@@ -5290,9 +5290,9 @@ var $;
5290
5290
  }
5291
5291
  Label_y(){
5292
5292
  const obj = new this.$.$mol_svg_text_box();
5293
- (obj.pos_x) = () => ((this.title_y_pos_x()));
5294
- (obj.pos_y) = () => ((this.title_y_pos_y()));
5295
- (obj.text) = () => ((this.title_y()));
5293
+ (obj.pos_x) = () => ((this?.title_y_pos_x()));
5294
+ (obj.pos_y) = () => ((this?.title_y_pos_y()));
5295
+ (obj.text) = () => ((this?.title_y()));
5296
5296
  return obj;
5297
5297
  }
5298
5298
  labels(){
@@ -5311,14 +5311,14 @@ var $;
5311
5311
  return [];
5312
5312
  }
5313
5313
  dimensions(){
5314
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
5314
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_x()), (this?.dimensions_y()));
5315
5315
  return obj;
5316
5316
  }
5317
5317
  sub(){
5318
5318
  return [
5319
- (this.Curve()),
5320
- (this.Label_x()),
5321
- (this.Label_y())
5319
+ (this?.Curve()),
5320
+ (this?.Label_x()),
5321
+ (this?.Label_y())
5322
5322
  ];
5323
5323
  }
5324
5324
  };