sag_components 2.0.0-beta323 → 2.0.0-beta325

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/index.js CHANGED
@@ -9850,6 +9850,8 @@ const DropdownNew = props => {
9850
9850
  if (event && event.newValue && event.newValue[0]) {
9851
9851
  onChange && onChange(event);
9852
9852
  handleChange && handleChange(event.newValue[0].value);
9853
+ } else if (event && Array.isArray(event.newValue) && event.newValue.length === 0) {
9854
+ onChange && onChange(event);
9853
9855
  }
9854
9856
  };
9855
9857
  return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
@@ -44098,1852 +44100,6 @@ TableBody.propTypes = {
44098
44100
  };
44099
44101
  TableBody.displayName = "TableBody";
44100
44102
 
44101
- var nm$1 = "calendar_lottie";
44102
- var ddd$1 = 0;
44103
- var h$1 = 16;
44104
- var w$1 = 16;
44105
- var meta = {
44106
- a: "Sadjad",
44107
- k: "calendar icon",
44108
- d: "calendar icon for you designed, enjoy",
44109
- g: "LottieFiles AE 0.1.20"
44110
- };
44111
- var layers$1 = [
44112
- {
44113
- ty: 3,
44114
- nm: "Null 1",
44115
- sr: 1,
44116
- st: 0,
44117
- op: 241,
44118
- ip: 0,
44119
- hd: false,
44120
- ddd: 0,
44121
- bm: 0,
44122
- hasMask: false,
44123
- ao: 0,
44124
- ks: {
44125
- a: {
44126
- a: 0,
44127
- k: [
44128
- 0,
44129
- 50,
44130
- 0
44131
- ],
44132
- ix: 1
44133
- },
44134
- s: {
44135
- a: 1,
44136
- k: [
44137
- {
44138
- o: {
44139
- x: 0.89,
44140
- y: 0
44141
- },
44142
- i: {
44143
- x: 0.11,
44144
- y: 1
44145
- },
44146
- s: [
44147
- 6.4,
44148
- 6.4,
44149
- 100
44150
- ],
44151
- t: 8
44152
- },
44153
- {
44154
- o: {
44155
- x: 0.89,
44156
- y: 0
44157
- },
44158
- i: {
44159
- x: 0.11,
44160
- y: 1
44161
- },
44162
- s: [
44163
- 5.12,
44164
- 5.12,
44165
- 100
44166
- ],
44167
- t: 14
44168
- },
44169
- {
44170
- o: {
44171
- x: 0.89,
44172
- y: 0
44173
- },
44174
- i: {
44175
- x: 0.11,
44176
- y: 1
44177
- },
44178
- s: [
44179
- 5.12,
44180
- 5.12,
44181
- 100
44182
- ],
44183
- t: 31
44184
- },
44185
- {
44186
- s: [
44187
- 6.4,
44188
- 6.4,
44189
- 100
44190
- ],
44191
- t: 36
44192
- }
44193
- ],
44194
- ix: 6
44195
- },
44196
- sk: {
44197
- a: 0,
44198
- k: 0
44199
- },
44200
- p: {
44201
- a: 0,
44202
- k: [
44203
- 8,
44204
- 11.2,
44205
- 0
44206
- ],
44207
- ix: 2
44208
- },
44209
- r: {
44210
- a: 0,
44211
- k: 0,
44212
- ix: 10
44213
- },
44214
- sa: {
44215
- a: 0,
44216
- k: 0
44217
- },
44218
- o: {
44219
- a: 0,
44220
- k: 0,
44221
- ix: 11
44222
- }
44223
- },
44224
- ef: [
44225
- ],
44226
- ind: 1
44227
- },
44228
- {
44229
- ty: 4,
44230
- nm: "pin Outlines",
44231
- sr: 1,
44232
- st: 0,
44233
- op: 241,
44234
- ip: 0,
44235
- hd: false,
44236
- ddd: 0,
44237
- bm: 0,
44238
- hasMask: false,
44239
- ao: 0,
44240
- ks: {
44241
- a: {
44242
- a: 0,
44243
- k: [
44244
- 39.833,
44245
- 23.166,
44246
- 0
44247
- ],
44248
- ix: 1
44249
- },
44250
- s: {
44251
- a: 0,
44252
- k: [
44253
- 100,
44254
- 100,
44255
- 100
44256
- ],
44257
- ix: 6
44258
- },
44259
- sk: {
44260
- a: 0,
44261
- k: 0
44262
- },
44263
- p: {
44264
- a: 0,
44265
- k: [
44266
- 0,
44267
- -66.667,
44268
- 0
44269
- ],
44270
- ix: 2
44271
- },
44272
- r: {
44273
- a: 0,
44274
- k: 0,
44275
- ix: 10
44276
- },
44277
- sa: {
44278
- a: 0,
44279
- k: 0
44280
- },
44281
- o: {
44282
- a: 0,
44283
- k: 100,
44284
- ix: 11
44285
- }
44286
- },
44287
- ef: [
44288
- ],
44289
- shapes: [
44290
- {
44291
- ty: "gr",
44292
- bm: 0,
44293
- hd: false,
44294
- mn: "ADBE Vector Group",
44295
- nm: "Group 1",
44296
- ix: 1,
44297
- cix: 2,
44298
- np: 2,
44299
- it: [
44300
- {
44301
- ty: "sh",
44302
- bm: 0,
44303
- hd: false,
44304
- mn: "ADBE Vector Shape - Group",
44305
- nm: "Path 1",
44306
- ix: 1,
44307
- d: 1,
44308
- ks: {
44309
- a: 0,
44310
- k: {
44311
- c: false,
44312
- i: [
44313
- [
44314
- 0,
44315
- 0
44316
- ],
44317
- [
44318
- 0,
44319
- 0
44320
- ]
44321
- ],
44322
- o: [
44323
- [
44324
- 0,
44325
- 0
44326
- ],
44327
- [
44328
- 0,
44329
- 0
44330
- ]
44331
- ],
44332
- v: [
44333
- [
44334
- 73.166,
44335
- 6.5
44336
- ],
44337
- [
44338
- 73.166,
44339
- 39.833
44340
- ]
44341
- ]
44342
- },
44343
- ix: 2
44344
- }
44345
- },
44346
- {
44347
- ty: "st",
44348
- bm: 0,
44349
- hd: false,
44350
- mn: "ADBE Vector Graphic - Stroke",
44351
- nm: "Stroke 1",
44352
- lc: 2,
44353
- lj: 2,
44354
- ml: 1,
44355
- o: {
44356
- a: 0,
44357
- k: 100,
44358
- ix: 4
44359
- },
44360
- w: {
44361
- a: 0,
44362
- k: 13,
44363
- ix: 5
44364
- },
44365
- c: {
44366
- a: 0,
44367
- k: [
44368
- 0.0235,
44369
- 0.4039,
44370
- 0.4078
44371
- ],
44372
- ix: 3
44373
- }
44374
- },
44375
- {
44376
- ty: "tr",
44377
- a: {
44378
- a: 0,
44379
- k: [
44380
- 0,
44381
- 0
44382
- ],
44383
- ix: 1
44384
- },
44385
- s: {
44386
- a: 0,
44387
- k: [
44388
- 100,
44389
- 100
44390
- ],
44391
- ix: 3
44392
- },
44393
- sk: {
44394
- a: 0,
44395
- k: 0,
44396
- ix: 4
44397
- },
44398
- p: {
44399
- a: 0,
44400
- k: [
44401
- 0,
44402
- 0
44403
- ],
44404
- ix: 2
44405
- },
44406
- r: {
44407
- a: 0,
44408
- k: 0,
44409
- ix: 6
44410
- },
44411
- sa: {
44412
- a: 0,
44413
- k: 0,
44414
- ix: 5
44415
- },
44416
- o: {
44417
- a: 0,
44418
- k: 100,
44419
- ix: 7
44420
- }
44421
- }
44422
- ]
44423
- },
44424
- {
44425
- ty: "gr",
44426
- bm: 0,
44427
- hd: false,
44428
- mn: "ADBE Vector Group",
44429
- nm: "Group 2",
44430
- ix: 2,
44431
- cix: 2,
44432
- np: 2,
44433
- it: [
44434
- {
44435
- ty: "sh",
44436
- bm: 0,
44437
- hd: false,
44438
- mn: "ADBE Vector Shape - Group",
44439
- nm: "Path 1",
44440
- ix: 1,
44441
- d: 1,
44442
- ks: {
44443
- a: 0,
44444
- k: {
44445
- c: false,
44446
- i: [
44447
- [
44448
- 0,
44449
- 0
44450
- ],
44451
- [
44452
- 0,
44453
- 0
44454
- ]
44455
- ],
44456
- o: [
44457
- [
44458
- 0,
44459
- 0
44460
- ],
44461
- [
44462
- 0,
44463
- 0
44464
- ]
44465
- ],
44466
- v: [
44467
- [
44468
- 6.5,
44469
- 6.5
44470
- ],
44471
- [
44472
- 6.5,
44473
- 39.833
44474
- ]
44475
- ]
44476
- },
44477
- ix: 2
44478
- }
44479
- },
44480
- {
44481
- ty: "st",
44482
- bm: 0,
44483
- hd: false,
44484
- mn: "ADBE Vector Graphic - Stroke",
44485
- nm: "Stroke 1",
44486
- lc: 2,
44487
- lj: 2,
44488
- ml: 1,
44489
- o: {
44490
- a: 0,
44491
- k: 100,
44492
- ix: 4
44493
- },
44494
- w: {
44495
- a: 0,
44496
- k: 13,
44497
- ix: 5
44498
- },
44499
- c: {
44500
- a: 0,
44501
- k: [
44502
- 0.0235,
44503
- 0.4039,
44504
- 0.4078
44505
- ],
44506
- ix: 3
44507
- }
44508
- },
44509
- {
44510
- ty: "tr",
44511
- a: {
44512
- a: 0,
44513
- k: [
44514
- 0,
44515
- 0
44516
- ],
44517
- ix: 1
44518
- },
44519
- s: {
44520
- a: 0,
44521
- k: [
44522
- 100,
44523
- 100
44524
- ],
44525
- ix: 3
44526
- },
44527
- sk: {
44528
- a: 0,
44529
- k: 0,
44530
- ix: 4
44531
- },
44532
- p: {
44533
- a: 0,
44534
- k: [
44535
- 0,
44536
- 0
44537
- ],
44538
- ix: 2
44539
- },
44540
- r: {
44541
- a: 0,
44542
- k: 0,
44543
- ix: 6
44544
- },
44545
- sa: {
44546
- a: 0,
44547
- k: 0,
44548
- ix: 5
44549
- },
44550
- o: {
44551
- a: 0,
44552
- k: 100,
44553
- ix: 7
44554
- }
44555
- }
44556
- ]
44557
- }
44558
- ],
44559
- ind: 2,
44560
- parent: 1
44561
- },
44562
- {
44563
- ty: 4,
44564
- nm: "line Outlines",
44565
- sr: 1,
44566
- st: 0,
44567
- op: 241,
44568
- ip: 0,
44569
- hd: false,
44570
- ddd: 0,
44571
- bm: 0,
44572
- hasMask: false,
44573
- ao: 0,
44574
- ks: {
44575
- a: {
44576
- a: 0,
44577
- k: [
44578
- 81.5,
44579
- 6.5,
44580
- 0
44581
- ],
44582
- ix: 1
44583
- },
44584
- s: {
44585
- a: 0,
44586
- k: [
44587
- 100,
44588
- 100,
44589
- 100
44590
- ],
44591
- ix: 6
44592
- },
44593
- sk: {
44594
- a: 0,
44595
- k: 0
44596
- },
44597
- p: {
44598
- a: 1,
44599
- k: [
44600
- {
44601
- o: {
44602
- x: 0.66,
44603
- y: 0
44604
- },
44605
- i: {
44606
- x: 0.34,
44607
- y: 1
44608
- },
44609
- s: [
44610
- 0,
44611
- -16.667,
44612
- 0
44613
- ],
44614
- t: 8,
44615
- ti: [
44616
- 0,
44617
- 8.333,
44618
- 0
44619
- ],
44620
- to: [
44621
- 0,
44622
- -14.667,
44623
- 0
44624
- ]
44625
- },
44626
- {
44627
- o: {
44628
- x: 0.66,
44629
- y: 0
44630
- },
44631
- i: {
44632
- x: 0.34,
44633
- y: 1
44634
- },
44635
- s: [
44636
- 0,
44637
- -104.667,
44638
- 0
44639
- ],
44640
- t: 23,
44641
- ti: [
44642
- 0,
44643
- -6.333,
44644
- 0
44645
- ],
44646
- to: [
44647
- 0,
44648
- -8.333,
44649
- 0
44650
- ]
44651
- },
44652
- {
44653
- s: [
44654
- 0,
44655
- -66.667,
44656
- 0
44657
- ],
44658
- t: 36
44659
- }
44660
- ],
44661
- ix: 2
44662
- },
44663
- r: {
44664
- a: 0,
44665
- k: 0,
44666
- ix: 10
44667
- },
44668
- sa: {
44669
- a: 0,
44670
- k: 0
44671
- },
44672
- o: {
44673
- a: 0,
44674
- k: 100,
44675
- ix: 11
44676
- }
44677
- },
44678
- ef: [
44679
- ],
44680
- shapes: [
44681
- {
44682
- ty: "gr",
44683
- bm: 0,
44684
- hd: false,
44685
- mn: "ADBE Vector Group",
44686
- nm: "Group 1",
44687
- ix: 1,
44688
- cix: 2,
44689
- np: 2,
44690
- it: [
44691
- {
44692
- ty: "sh",
44693
- bm: 0,
44694
- hd: false,
44695
- mn: "ADBE Vector Shape - Group",
44696
- nm: "Path 1",
44697
- ix: 1,
44698
- d: 1,
44699
- ks: {
44700
- a: 1,
44701
- k: [
44702
- {
44703
- o: {
44704
- x: 0.66,
44705
- y: 0
44706
- },
44707
- i: {
44708
- x: 0.34,
44709
- y: 1
44710
- },
44711
- s: [
44712
- {
44713
- c: false,
44714
- i: [
44715
- [
44716
- 0,
44717
- 0
44718
- ],
44719
- [
44720
- 0,
44721
- 0
44722
- ]
44723
- ],
44724
- o: [
44725
- [
44726
- 0,
44727
- 0
44728
- ],
44729
- [
44730
- 0,
44731
- 0
44732
- ]
44733
- ],
44734
- v: [
44735
- [
44736
- 6.5,
44737
- 6.5
44738
- ],
44739
- [
44740
- 156.5,
44741
- 6.5
44742
- ]
44743
- ]
44744
- }
44745
- ],
44746
- t: 8
44747
- },
44748
- {
44749
- o: {
44750
- x: 0.66,
44751
- y: 0
44752
- },
44753
- i: {
44754
- x: 0.34,
44755
- y: 1
44756
- },
44757
- s: [
44758
- {
44759
- c: false,
44760
- i: [
44761
- [
44762
- 0,
44763
- 0
44764
- ],
44765
- [
44766
- 0,
44767
- 0
44768
- ]
44769
- ],
44770
- o: [
44771
- [
44772
- 0,
44773
- 0
44774
- ],
44775
- [
44776
- 0,
44777
- 0
44778
- ]
44779
- ],
44780
- v: [
44781
- [
44782
- 6.5,
44783
- 6.5
44784
- ],
44785
- [
44786
- 156.5,
44787
- 6.5
44788
- ]
44789
- ]
44790
- }
44791
- ],
44792
- t: 30
44793
- },
44794
- {
44795
- s: [
44796
- {
44797
- c: false,
44798
- i: [
44799
- [
44800
- 0,
44801
- 0
44802
- ],
44803
- [
44804
- 0,
44805
- 0
44806
- ]
44807
- ],
44808
- o: [
44809
- [
44810
- 0,
44811
- 0
44812
- ],
44813
- [
44814
- 0,
44815
- 0
44816
- ]
44817
- ],
44818
- v: [
44819
- [
44820
- 20.5,
44821
- 6.583
44822
- ],
44823
- [
44824
- 141,
44825
- 6.583
44826
- ]
44827
- ]
44828
- }
44829
- ],
44830
- t: 36
44831
- }
44832
- ],
44833
- ix: 2
44834
- }
44835
- },
44836
- {
44837
- ty: "st",
44838
- bm: 0,
44839
- hd: false,
44840
- mn: "ADBE Vector Graphic - Stroke",
44841
- nm: "Stroke 1",
44842
- lc: 2,
44843
- lj: 2,
44844
- ml: 1,
44845
- o: {
44846
- a: 0,
44847
- k: 100,
44848
- ix: 4
44849
- },
44850
- w: {
44851
- a: 0,
44852
- k: 13,
44853
- ix: 5
44854
- },
44855
- c: {
44856
- a: 0,
44857
- k: [
44858
- 0.0235,
44859
- 0.4039,
44860
- 0.4078
44861
- ],
44862
- ix: 3
44863
- }
44864
- },
44865
- {
44866
- ty: "tr",
44867
- a: {
44868
- a: 0,
44869
- k: [
44870
- 0,
44871
- 0
44872
- ],
44873
- ix: 1
44874
- },
44875
- s: {
44876
- a: 0,
44877
- k: [
44878
- 100,
44879
- 100
44880
- ],
44881
- ix: 3
44882
- },
44883
- sk: {
44884
- a: 0,
44885
- k: 0,
44886
- ix: 4
44887
- },
44888
- p: {
44889
- a: 0,
44890
- k: [
44891
- 0,
44892
- 0
44893
- ],
44894
- ix: 2
44895
- },
44896
- r: {
44897
- a: 0,
44898
- k: 0,
44899
- ix: 6
44900
- },
44901
- sa: {
44902
- a: 0,
44903
- k: 0,
44904
- ix: 5
44905
- },
44906
- o: {
44907
- a: 0,
44908
- k: 100,
44909
- ix: 7
44910
- }
44911
- }
44912
- ]
44913
- }
44914
- ],
44915
- ind: 3,
44916
- parent: 1
44917
- },
44918
- {
44919
- ty: 4,
44920
- nm: "line Outlines 2",
44921
- sr: 1,
44922
- st: 0,
44923
- op: 241,
44924
- ip: 0,
44925
- hd: false,
44926
- ddd: 0,
44927
- bm: 0,
44928
- hasMask: false,
44929
- ao: 0,
44930
- ks: {
44931
- a: {
44932
- a: 0,
44933
- k: [
44934
- 81.5,
44935
- 6.5,
44936
- 0
44937
- ],
44938
- ix: 1
44939
- },
44940
- s: {
44941
- a: 0,
44942
- k: [
44943
- 100,
44944
- 100,
44945
- 100
44946
- ],
44947
- ix: 6
44948
- },
44949
- sk: {
44950
- a: 0,
44951
- k: 0
44952
- },
44953
- p: {
44954
- a: 0,
44955
- k: [
44956
- 0,
44957
- -16.667,
44958
- 0
44959
- ],
44960
- ix: 2
44961
- },
44962
- r: {
44963
- a: 0,
44964
- k: 0,
44965
- ix: 10
44966
- },
44967
- sa: {
44968
- a: 0,
44969
- k: 0
44970
- },
44971
- o: {
44972
- a: 1,
44973
- k: [
44974
- {
44975
- o: {
44976
- x: 0.167,
44977
- y: 0.167
44978
- },
44979
- i: {
44980
- x: 0.833,
44981
- y: 0.833
44982
- },
44983
- s: [
44984
- 0
44985
- ],
44986
- t: 14
44987
- },
44988
- {
44989
- s: [
44990
- 100
44991
- ],
44992
- t: 15
44993
- }
44994
- ],
44995
- ix: 11
44996
- }
44997
- },
44998
- ef: [
44999
- ],
45000
- shapes: [
45001
- {
45002
- ty: "gr",
45003
- bm: 0,
45004
- hd: false,
45005
- mn: "ADBE Vector Group",
45006
- nm: "Group 1",
45007
- ix: 1,
45008
- cix: 2,
45009
- np: 2,
45010
- it: [
45011
- {
45012
- ty: "sh",
45013
- bm: 0,
45014
- hd: false,
45015
- mn: "ADBE Vector Shape - Group",
45016
- nm: "Path 1",
45017
- ix: 1,
45018
- d: 1,
45019
- ks: {
45020
- a: 0,
45021
- k: {
45022
- c: false,
45023
- i: [
45024
- [
45025
- 0,
45026
- 0
45027
- ],
45028
- [
45029
- 0,
45030
- 0
45031
- ]
45032
- ],
45033
- o: [
45034
- [
45035
- 0,
45036
- 0
45037
- ],
45038
- [
45039
- 0,
45040
- 0
45041
- ]
45042
- ],
45043
- v: [
45044
- [
45045
- 6.5,
45046
- 6.5
45047
- ],
45048
- [
45049
- 156.5,
45050
- 6.5
45051
- ]
45052
- ]
45053
- },
45054
- ix: 2
45055
- }
45056
- },
45057
- {
45058
- ty: "st",
45059
- bm: 0,
45060
- hd: false,
45061
- mn: "ADBE Vector Graphic - Stroke",
45062
- nm: "Stroke 1",
45063
- lc: 2,
45064
- lj: 2,
45065
- ml: 1,
45066
- o: {
45067
- a: 0,
45068
- k: 100,
45069
- ix: 4
45070
- },
45071
- w: {
45072
- a: 0,
45073
- k: 13,
45074
- ix: 5
45075
- },
45076
- c: {
45077
- a: 0,
45078
- k: [
45079
- 0.0235,
45080
- 0.4039,
45081
- 0.4078
45082
- ],
45083
- ix: 3
45084
- }
45085
- },
45086
- {
45087
- ty: "tr",
45088
- a: {
45089
- a: 0,
45090
- k: [
45091
- 0,
45092
- 0
45093
- ],
45094
- ix: 1
45095
- },
45096
- s: {
45097
- a: 0,
45098
- k: [
45099
- 100,
45100
- 100
45101
- ],
45102
- ix: 3
45103
- },
45104
- sk: {
45105
- a: 0,
45106
- k: 0,
45107
- ix: 4
45108
- },
45109
- p: {
45110
- a: 0,
45111
- k: [
45112
- 0,
45113
- 0
45114
- ],
45115
- ix: 2
45116
- },
45117
- r: {
45118
- a: 0,
45119
- k: 0,
45120
- ix: 6
45121
- },
45122
- sa: {
45123
- a: 0,
45124
- k: 0,
45125
- ix: 5
45126
- },
45127
- o: {
45128
- a: 0,
45129
- k: 100,
45130
- ix: 7
45131
- }
45132
- }
45133
- ]
45134
- }
45135
- ],
45136
- ind: 4,
45137
- parent: 1
45138
- },
45139
- {
45140
- ty: 4,
45141
- nm: "page02 Outlines",
45142
- sr: 1,
45143
- st: 0,
45144
- op: 70,
45145
- ip: 0,
45146
- hd: false,
45147
- ddd: 0,
45148
- bm: 0,
45149
- hasMask: false,
45150
- ao: 0,
45151
- ks: {
45152
- a: {
45153
- a: 0,
45154
- k: [
45155
- 88,
45156
- 13,
45157
- 0
45158
- ],
45159
- ix: 1
45160
- },
45161
- s: {
45162
- a: 0,
45163
- k: [
45164
- 100,
45165
- 100,
45166
- 100
45167
- ],
45168
- ix: 6
45169
- },
45170
- sk: {
45171
- a: 0,
45172
- k: 0
45173
- },
45174
- p: {
45175
- a: 0,
45176
- k: [
45177
- -0.001,
45178
- -66.667,
45179
- 0
45180
- ],
45181
- ix: 2
45182
- },
45183
- r: {
45184
- a: 0,
45185
- k: 180,
45186
- ix: 10
45187
- },
45188
- sa: {
45189
- a: 0,
45190
- k: 0
45191
- },
45192
- o: {
45193
- a: 0,
45194
- k: 100,
45195
- ix: 11
45196
- }
45197
- },
45198
- ef: [
45199
- ],
45200
- shapes: [
45201
- {
45202
- ty: "gr",
45203
- bm: 0,
45204
- hd: false,
45205
- mn: "ADBE Vector Group",
45206
- nm: "Group 1",
45207
- ix: 1,
45208
- cix: 2,
45209
- np: 2,
45210
- it: [
45211
- {
45212
- ty: "sh",
45213
- bm: 0,
45214
- hd: false,
45215
- mn: "ADBE Vector Shape - Group",
45216
- nm: "Path 1",
45217
- ix: 1,
45218
- d: 1,
45219
- ks: {
45220
- a: 1,
45221
- k: [
45222
- {
45223
- o: {
45224
- x: 0.66,
45225
- y: 0
45226
- },
45227
- i: {
45228
- x: 0.34,
45229
- y: 1
45230
- },
45231
- s: [
45232
- {
45233
- c: true,
45234
- i: [
45235
- [
45236
- -9.205,
45237
- 0
45238
- ],
45239
- [
45240
- 0,
45241
- 0
45242
- ],
45243
- [
45244
- 0.499,
45245
- 12.166
45246
- ],
45247
- [
45248
- 0,
45249
- 0
45250
- ],
45251
- [
45252
- 9.205,
45253
- 0
45254
- ],
45255
- [
45256
- 0,
45257
- 0
45258
- ],
45259
- [
45260
- -0.673,
45261
- -8
45262
- ],
45263
- [
45264
- 0,
45265
- 0
45266
- ]
45267
- ],
45268
- o: [
45269
- [
45270
- 0,
45271
- 0
45272
- ],
45273
- [
45274
- 9.205,
45275
- 0
45276
- ],
45277
- [
45278
- 0,
45279
- 0
45280
- ],
45281
- [
45282
- -0.673,
45283
- -6
45284
- ],
45285
- [
45286
- 0,
45287
- 0
45288
- ],
45289
- [
45290
- -9.205,
45291
- 0
45292
- ],
45293
- [
45294
- 0,
45295
- 0
45296
- ],
45297
- [
45298
- -0.001,
45299
- 13.166
45300
- ]
45301
- ],
45302
- v: [
45303
- [
45304
- -58.333,
45305
- -75
45306
- ],
45307
- [
45308
- 58.334,
45309
- -75
45310
- ],
45311
- [
45312
- 75.001,
45313
- -89.833
45314
- ],
45315
- [
45316
- 75.173,
45317
- -210.167
45318
- ],
45319
- [
45320
- 58.514,
45321
- -225
45322
- ],
45323
- [
45324
- -58.32,
45325
- -225
45326
- ],
45327
- [
45328
- -74.827,
45329
- -210.167
45330
- ],
45331
- [
45332
- -74.999,
45333
- -92.833
45334
- ]
45335
- ]
45336
- }
45337
- ],
45338
- t: 8
45339
- },
45340
- {
45341
- o: {
45342
- x: 0.66,
45343
- y: 0
45344
- },
45345
- i: {
45346
- x: 0.34,
45347
- y: 1
45348
- },
45349
- s: [
45350
- {
45351
- c: true,
45352
- i: [
45353
- [
45354
- -9.205,
45355
- 0
45356
- ],
45357
- [
45358
- 0,
45359
- 0
45360
- ],
45361
- [
45362
- 0,
45363
- -9.205
45364
- ],
45365
- [
45366
- 0,
45367
- 0
45368
- ],
45369
- [
45370
- 9.205,
45371
- 0
45372
- ],
45373
- [
45374
- 0,
45375
- 0
45376
- ],
45377
- [
45378
- 0,
45379
- 9.205
45380
- ],
45381
- [
45382
- 0,
45383
- 0
45384
- ]
45385
- ],
45386
- o: [
45387
- [
45388
- 0,
45389
- 0
45390
- ],
45391
- [
45392
- 9.205,
45393
- 0
45394
- ],
45395
- [
45396
- 0,
45397
- 0
45398
- ],
45399
- [
45400
- 0,
45401
- 9.205
45402
- ],
45403
- [
45404
- 0,
45405
- 0
45406
- ],
45407
- [
45408
- -9.205,
45409
- 0
45410
- ],
45411
- [
45412
- 0,
45413
- 0
45414
- ],
45415
- [
45416
- 0,
45417
- -9.205
45418
- ]
45419
- ],
45420
- v: [
45421
- [
45422
- -58.333,
45423
- -75
45424
- ],
45425
- [
45426
- 58.334,
45427
- -75
45428
- ],
45429
- [
45430
- 75,
45431
- -58.333
45432
- ],
45433
- [
45434
- 74.754,
45435
- -11.417
45436
- ],
45437
- [
45438
- 58.088,
45439
- 5.25
45440
- ],
45441
- [
45442
- -58.579,
45443
- 5.25
45444
- ],
45445
- [
45446
- -75.246,
45447
- -11.417
45448
- ],
45449
- [
45450
- -75,
45451
- -58.333
45452
- ]
45453
- ]
45454
- }
45455
- ],
45456
- t: 23
45457
- },
45458
- {
45459
- s: [
45460
- {
45461
- c: true,
45462
- i: [
45463
- [
45464
- -9.205,
45465
- 0
45466
- ],
45467
- [
45468
- 0,
45469
- 0
45470
- ],
45471
- [
45472
- -1.001,
45473
- 7.166
45474
- ],
45475
- [
45476
- 0,
45477
- 0
45478
- ],
45479
- [
45480
- 11.663,
45481
- -0.292
45482
- ],
45483
- [
45484
- 0,
45485
- 0
45486
- ],
45487
- [
45488
- 0.119,
45489
- 14.876
45490
- ],
45491
- [
45492
- 0,
45493
- 0
45494
- ]
45495
- ],
45496
- o: [
45497
- [
45498
- 0,
45499
- 0
45500
- ],
45501
- [
45502
- 8.29,
45503
- -0.667
45504
- ],
45505
- [
45506
- 0,
45507
- 0
45508
- ],
45509
- [
45510
- -0.003,
45511
- 12.251
45512
- ],
45513
- [
45514
- 0,
45515
- 0
45516
- ],
45517
- [
45518
- -13.295,
45519
- -1.792
45520
- ],
45521
- [
45522
- 0,
45523
- 0
45524
- ],
45525
- [
45526
- 0.996,
45527
- 5.541
45528
- ]
45529
- ],
45530
- v: [
45531
- [
45532
- -58.333,
45533
- -75
45534
- ],
45535
- [
45536
- 58.334,
45537
- -75
45538
- ],
45539
- [
45540
- 73.876,
45541
- -88.333
45542
- ],
45543
- [
45544
- 74.503,
45545
- -91.667
45546
- ],
45547
- [
45548
- 57.837,
45549
- -75
45550
- ],
45551
- [
45552
- -58.83,
45553
- -75
45554
- ],
45555
- [
45556
- -75.494,
45557
- -96.167
45558
- ],
45559
- [
45560
- -74.621,
45561
- -86.333
45562
- ]
45563
- ]
45564
- }
45565
- ],
45566
- t: 36
45567
- }
45568
- ],
45569
- ix: 2
45570
- }
45571
- },
45572
- {
45573
- ty: "st",
45574
- bm: 0,
45575
- hd: false,
45576
- mn: "ADBE Vector Graphic - Stroke",
45577
- nm: "Stroke 1",
45578
- lc: 2,
45579
- lj: 2,
45580
- ml: 1,
45581
- o: {
45582
- a: 0,
45583
- k: 100,
45584
- ix: 4
45585
- },
45586
- w: {
45587
- a: 0,
45588
- k: 13,
45589
- ix: 5
45590
- },
45591
- c: {
45592
- a: 0,
45593
- k: [
45594
- 0.0235,
45595
- 0.4039,
45596
- 0.4078
45597
- ],
45598
- ix: 3
45599
- }
45600
- },
45601
- {
45602
- ty: "tr",
45603
- a: {
45604
- a: 0,
45605
- k: [
45606
- 0,
45607
- 0
45608
- ],
45609
- ix: 1
45610
- },
45611
- s: {
45612
- a: 0,
45613
- k: [
45614
- 100,
45615
- 100
45616
- ],
45617
- ix: 3
45618
- },
45619
- sk: {
45620
- a: 0,
45621
- k: 0,
45622
- ix: 4
45623
- },
45624
- p: {
45625
- a: 0,
45626
- k: [
45627
- 88,
45628
- 88
45629
- ],
45630
- ix: 2
45631
- },
45632
- r: {
45633
- a: 0,
45634
- k: 0,
45635
- ix: 6
45636
- },
45637
- sa: {
45638
- a: 0,
45639
- k: 0,
45640
- ix: 5
45641
- },
45642
- o: {
45643
- a: 0,
45644
- k: 100,
45645
- ix: 7
45646
- }
45647
- }
45648
- ]
45649
- }
45650
- ],
45651
- ind: 5,
45652
- parent: 1
45653
- },
45654
- {
45655
- ty: 4,
45656
- nm: "page01 Outlines",
45657
- sr: 1,
45658
- st: 0,
45659
- op: 241,
45660
- ip: 0,
45661
- hd: false,
45662
- ddd: 0,
45663
- bm: 0,
45664
- hasMask: false,
45665
- ao: 0,
45666
- ks: {
45667
- a: {
45668
- a: 0,
45669
- k: [
45670
- 88,
45671
- 88,
45672
- 0
45673
- ],
45674
- ix: 1
45675
- },
45676
- s: {
45677
- a: 0,
45678
- k: [
45679
- 100,
45680
- 100,
45681
- 100
45682
- ],
45683
- ix: 6
45684
- },
45685
- sk: {
45686
- a: 0,
45687
- k: 0
45688
- },
45689
- p: {
45690
- a: 0,
45691
- k: [
45692
- -0.001,
45693
- 8.333,
45694
- 0
45695
- ],
45696
- ix: 2
45697
- },
45698
- r: {
45699
- a: 0,
45700
- k: 0,
45701
- ix: 10
45702
- },
45703
- sa: {
45704
- a: 0,
45705
- k: 0
45706
- },
45707
- o: {
45708
- a: 0,
45709
- k: 100,
45710
- ix: 11
45711
- }
45712
- },
45713
- ef: [
45714
- ],
45715
- shapes: [
45716
- {
45717
- ty: "gr",
45718
- bm: 0,
45719
- hd: false,
45720
- mn: "ADBE Vector Group",
45721
- nm: "Group 1",
45722
- ix: 1,
45723
- cix: 2,
45724
- np: 2,
45725
- it: [
45726
- {
45727
- ty: "sh",
45728
- bm: 0,
45729
- hd: false,
45730
- mn: "ADBE Vector Shape - Group",
45731
- nm: "Path 1",
45732
- ix: 1,
45733
- d: 1,
45734
- ks: {
45735
- a: 0,
45736
- k: {
45737
- c: true,
45738
- i: [
45739
- [
45740
- -9.205,
45741
- 0
45742
- ],
45743
- [
45744
- 0,
45745
- 0
45746
- ],
45747
- [
45748
- 0,
45749
- -9.205
45750
- ],
45751
- [
45752
- 0,
45753
- 0
45754
- ],
45755
- [
45756
- 9.205,
45757
- 0
45758
- ],
45759
- [
45760
- 0,
45761
- 0
45762
- ],
45763
- [
45764
- 0,
45765
- 9.205
45766
- ],
45767
- [
45768
- 0,
45769
- 0
45770
- ]
45771
- ],
45772
- o: [
45773
- [
45774
- 0,
45775
- 0
45776
- ],
45777
- [
45778
- 9.205,
45779
- 0
45780
- ],
45781
- [
45782
- 0,
45783
- 0
45784
- ],
45785
- [
45786
- 0,
45787
- 9.205
45788
- ],
45789
- [
45790
- 0,
45791
- 0
45792
- ],
45793
- [
45794
- -9.205,
45795
- 0
45796
- ],
45797
- [
45798
- 0,
45799
- 0
45800
- ],
45801
- [
45802
- 0,
45803
- -9.205
45804
- ]
45805
- ],
45806
- v: [
45807
- [
45808
- -58.333,
45809
- -75
45810
- ],
45811
- [
45812
- 58.334,
45813
- -75
45814
- ],
45815
- [
45816
- 75,
45817
- -58.333
45818
- ],
45819
- [
45820
- 75,
45821
- 58.333
45822
- ],
45823
- [
45824
- 58.334,
45825
- 75
45826
- ],
45827
- [
45828
- -58.333,
45829
- 75
45830
- ],
45831
- [
45832
- -75,
45833
- 58.333
45834
- ],
45835
- [
45836
- -75,
45837
- -58.333
45838
- ]
45839
- ]
45840
- },
45841
- ix: 2
45842
- }
45843
- },
45844
- {
45845
- ty: "st",
45846
- bm: 0,
45847
- hd: false,
45848
- mn: "ADBE Vector Graphic - Stroke",
45849
- nm: "Stroke 1",
45850
- lc: 2,
45851
- lj: 2,
45852
- ml: 1,
45853
- o: {
45854
- a: 0,
45855
- k: 100,
45856
- ix: 4
45857
- },
45858
- w: {
45859
- a: 0,
45860
- k: 13,
45861
- ix: 5
45862
- },
45863
- c: {
45864
- a: 0,
45865
- k: [
45866
- 0.0235,
45867
- 0.4039,
45868
- 0.4078
45869
- ],
45870
- ix: 3
45871
- }
45872
- },
45873
- {
45874
- ty: "tr",
45875
- a: {
45876
- a: 0,
45877
- k: [
45878
- 0,
45879
- 0
45880
- ],
45881
- ix: 1
45882
- },
45883
- s: {
45884
- a: 0,
45885
- k: [
45886
- 100,
45887
- 100
45888
- ],
45889
- ix: 3
45890
- },
45891
- sk: {
45892
- a: 0,
45893
- k: 0,
45894
- ix: 4
45895
- },
45896
- p: {
45897
- a: 0,
45898
- k: [
45899
- 88,
45900
- 88
45901
- ],
45902
- ix: 2
45903
- },
45904
- r: {
45905
- a: 0,
45906
- k: 0,
45907
- ix: 6
45908
- },
45909
- sa: {
45910
- a: 0,
45911
- k: 0,
45912
- ix: 5
45913
- },
45914
- o: {
45915
- a: 0,
45916
- k: 100,
45917
- ix: 7
45918
- }
45919
- }
45920
- ]
45921
- }
45922
- ],
45923
- ind: 6,
45924
- parent: 1
45925
- }
45926
- ];
45927
- var v$1 = "5.5.7";
45928
- var fr$1 = 45;
45929
- var op$1 = 41;
45930
- var ip$1 = 0;
45931
- var assets$1 = [
45932
- ];
45933
- var LoadingAnimation = {
45934
- nm: nm$1,
45935
- ddd: ddd$1,
45936
- h: h$1,
45937
- w: w$1,
45938
- meta: meta,
45939
- layers: layers$1,
45940
- v: v$1,
45941
- fr: fr$1,
45942
- op: op$1,
45943
- ip: ip$1,
45944
- assets: assets$1
45945
- };
45946
-
45947
44103
  var lottie$1 = {exports: {}};
45948
44104
 
45949
44105
  lottie$1.exports;(function(module,exports){typeof document!=="undefined"&&typeof navigator!=="undefined"&&function(global,factory){module.exports=factory();}(commonjsGlobal,function(){var svgNS='http://www.w3.org/2000/svg';var locationHref='';var _useWebWorker=false;var initialDefaultFrame=-999999;var setWebWorker=function setWebWorker(flag){_useWebWorker=!!flag;};var getWebWorker=function getWebWorker(){return _useWebWorker;};var setLocationHref=function setLocationHref(value){locationHref=value;};var getLocationHref=function getLocationHref(){return locationHref;};function createTag(type){// return {appendChild:function(){},setAttribute:function(){},style:{}}
@@ -46835,433 +44991,2483 @@ var useLottie = function useLottie(props, style) {
46835
44991
  var _a;
46836
44992
  (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.setSubframe(useSubFrames);
46837
44993
  };
46838
- /**
46839
- * Get animation duration
46840
- * @param inFrames
46841
- */
46842
- var getDuration = function getDuration(inFrames) {
46843
- var _a;
46844
- return (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.getDuration(inFrames);
44994
+ /**
44995
+ * Get animation duration
44996
+ * @param inFrames
44997
+ */
44998
+ var getDuration = function getDuration(inFrames) {
44999
+ var _a;
45000
+ return (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.getDuration(inFrames);
45001
+ };
45002
+ /**
45003
+ * Destroy animation
45004
+ */
45005
+ var destroy = function destroy() {
45006
+ var _a;
45007
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
45008
+ // Removing the reference to the animation so separate cleanups are skipped.
45009
+ // Without it the internal `lottie-react` instance throws exceptions as it already cleared itself on destroy.
45010
+ animationInstanceRef.current = undefined;
45011
+ };
45012
+ /*
45013
+ ======================================
45014
+ LOTTIE
45015
+ ======================================
45016
+ */
45017
+ /**
45018
+ * Load a new animation, and if it's the case, destroy the previous one
45019
+ * @param {Object} forcedConfigs
45020
+ */
45021
+ var loadAnimation = function loadAnimation() {
45022
+ var forcedConfigs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
45023
+ var _a;
45024
+ // Return if the container ref is null
45025
+ if (!animationContainer.current) {
45026
+ return;
45027
+ }
45028
+ // Destroy any previous instance
45029
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
45030
+ // Build the animation configuration
45031
+ var config = _objectSpread2(_objectSpread2(_objectSpread2({}, props), forcedConfigs), {}, {
45032
+ container: animationContainer.current
45033
+ });
45034
+ // Save the animation instance
45035
+ animationInstanceRef.current = lottie.loadAnimation(config);
45036
+ setAnimationLoaded(!!animationInstanceRef.current);
45037
+ // Return a function that will clean up
45038
+ return function () {
45039
+ var _a;
45040
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
45041
+ animationInstanceRef.current = undefined;
45042
+ };
45043
+ };
45044
+ /**
45045
+ * (Re)Initialize when animation data changed
45046
+ */
45047
+ React$1.useEffect(function () {
45048
+ var onUnmount = loadAnimation();
45049
+ // Clean up on unmount
45050
+ return function () {
45051
+ return onUnmount === null || onUnmount === void 0 ? void 0 : onUnmount();
45052
+ };
45053
+ // eslint-disable-next-line react-hooks/exhaustive-deps
45054
+ }, [animationData, loop]);
45055
+ // Update the autoplay state
45056
+ React$1.useEffect(function () {
45057
+ if (!animationInstanceRef.current) {
45058
+ return;
45059
+ }
45060
+ animationInstanceRef.current.autoplay = !!autoplay;
45061
+ }, [autoplay]);
45062
+ // Update the initial segment state
45063
+ React$1.useEffect(function () {
45064
+ if (!animationInstanceRef.current) {
45065
+ return;
45066
+ }
45067
+ // When null should reset to default animation length
45068
+ if (!initialSegment) {
45069
+ animationInstanceRef.current.resetSegments(true);
45070
+ return;
45071
+ }
45072
+ // If it's not a valid segment, do nothing
45073
+ if (!Array.isArray(initialSegment) || !initialSegment.length) {
45074
+ return;
45075
+ }
45076
+ // If the current position it's not in the new segment
45077
+ // set the current position to start
45078
+ if (animationInstanceRef.current.currentRawFrame < initialSegment[0] || animationInstanceRef.current.currentRawFrame > initialSegment[1]) {
45079
+ animationInstanceRef.current.currentRawFrame = initialSegment[0];
45080
+ }
45081
+ // Update the segment
45082
+ animationInstanceRef.current.setSegment(initialSegment[0], initialSegment[1]);
45083
+ }, [initialSegment]);
45084
+ /*
45085
+ ======================================
45086
+ EVENTS
45087
+ ======================================
45088
+ */
45089
+ /**
45090
+ * Reinitialize listener on change
45091
+ */
45092
+ React$1.useEffect(function () {
45093
+ var partialListeners = [{
45094
+ name: "complete",
45095
+ handler: onComplete
45096
+ }, {
45097
+ name: "loopComplete",
45098
+ handler: onLoopComplete
45099
+ }, {
45100
+ name: "enterFrame",
45101
+ handler: onEnterFrame
45102
+ }, {
45103
+ name: "segmentStart",
45104
+ handler: onSegmentStart
45105
+ }, {
45106
+ name: "config_ready",
45107
+ handler: onConfigReady
45108
+ }, {
45109
+ name: "data_ready",
45110
+ handler: onDataReady
45111
+ }, {
45112
+ name: "data_failed",
45113
+ handler: onDataFailed
45114
+ }, {
45115
+ name: "loaded_images",
45116
+ handler: onLoadedImages
45117
+ }, {
45118
+ name: "DOMLoaded",
45119
+ handler: onDOMLoaded
45120
+ }, {
45121
+ name: "destroy",
45122
+ handler: onDestroy
45123
+ }];
45124
+ var listeners = partialListeners.filter(function (listener) {
45125
+ return listener.handler != null;
45126
+ });
45127
+ if (!listeners.length) {
45128
+ return;
45129
+ }
45130
+ var deregisterList = listeners.map(
45131
+ /**
45132
+ * Handle the process of adding an event listener
45133
+ * @param {Listener} listener
45134
+ * @return {Function} Function that deregister the listener
45135
+ */
45136
+ function (listener) {
45137
+ var _a;
45138
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener(listener.name, listener.handler);
45139
+ // Return a function to deregister this listener
45140
+ return function () {
45141
+ var _a;
45142
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener(listener.name, listener.handler);
45143
+ };
45144
+ });
45145
+ // Deregister listeners on unmount
45146
+ return function () {
45147
+ deregisterList.forEach(function (deregister) {
45148
+ return deregister();
45149
+ });
45150
+ };
45151
+ }, [onComplete, onLoopComplete, onEnterFrame, onSegmentStart, onConfigReady, onDataReady, onDataFailed, onLoadedImages, onDOMLoaded, onDestroy]);
45152
+ /**
45153
+ * Build the animation view
45154
+ */
45155
+ var View = /*#__PURE__*/React__default["default"].createElement("div", _objectSpread2({
45156
+ style: style,
45157
+ ref: animationContainer
45158
+ }, rest));
45159
+ return {
45160
+ View: View,
45161
+ play: play,
45162
+ stop: stop,
45163
+ pause: pause,
45164
+ setSpeed: setSpeed,
45165
+ goToAndStop: goToAndStop,
45166
+ goToAndPlay: goToAndPlay,
45167
+ setDirection: setDirection,
45168
+ playSegments: playSegments,
45169
+ setSubframe: setSubframe,
45170
+ getDuration: getDuration,
45171
+ destroy: destroy,
45172
+ animationContainerRef: animationContainer,
45173
+ animationLoaded: animationLoaded,
45174
+ animationItem: animationInstanceRef.current
45175
+ };
45176
+ };
45177
+
45178
+ // helpers
45179
+ function getContainerVisibility(container) {
45180
+ var _container$getBoundin = container.getBoundingClientRect(),
45181
+ top = _container$getBoundin.top,
45182
+ height = _container$getBoundin.height;
45183
+ var current = window.innerHeight - top;
45184
+ var max = window.innerHeight + height;
45185
+ return current / max;
45186
+ }
45187
+ function getContainerCursorPosition(container, cursorX, cursorY) {
45188
+ var _container$getBoundin2 = container.getBoundingClientRect(),
45189
+ top = _container$getBoundin2.top,
45190
+ left = _container$getBoundin2.left,
45191
+ width = _container$getBoundin2.width,
45192
+ height = _container$getBoundin2.height;
45193
+ var x = (cursorX - left) / width;
45194
+ var y = (cursorY - top) / height;
45195
+ return {
45196
+ x: x,
45197
+ y: y
46845
45198
  };
45199
+ }
45200
+ var useInitInteractivity = function useInitInteractivity(_ref) {
45201
+ var wrapperRef = _ref.wrapperRef,
45202
+ animationItem = _ref.animationItem,
45203
+ mode = _ref.mode,
45204
+ actions = _ref.actions;
45205
+ React$1.useEffect(function () {
45206
+ var wrapper = wrapperRef.current;
45207
+ if (!wrapper || !animationItem || !actions.length) {
45208
+ return;
45209
+ }
45210
+ animationItem.stop();
45211
+ var scrollModeHandler = function scrollModeHandler() {
45212
+ var assignedSegment = null;
45213
+ var scrollHandler = function scrollHandler() {
45214
+ var currentPercent = getContainerVisibility(wrapper);
45215
+ // Find the first action that satisfies the current position conditions
45216
+ var action = actions.find(function (_ref2) {
45217
+ var visibility = _ref2.visibility;
45218
+ return visibility && currentPercent >= visibility[0] && currentPercent <= visibility[1];
45219
+ });
45220
+ // Skip if no matching action was found!
45221
+ if (!action) {
45222
+ return;
45223
+ }
45224
+ if (action.type === "seek" && action.visibility && action.frames.length === 2) {
45225
+ // Seek: Go to a frame based on player scroll position action
45226
+ var frameToGo = action.frames[0] + Math.ceil((currentPercent - action.visibility[0]) / (action.visibility[1] - action.visibility[0]) * action.frames[1]);
45227
+ //! goToAndStop must be relative to the start of the current segment
45228
+ animationItem.goToAndStop(frameToGo - animationItem.firstFrame - 1, true);
45229
+ }
45230
+ if (action.type === "loop") {
45231
+ // Loop: Loop a given frames
45232
+ if (assignedSegment === null) {
45233
+ // if not playing any segments currently. play those segments and save to state
45234
+ animationItem.playSegments(action.frames, true);
45235
+ assignedSegment = action.frames;
45236
+ } else {
45237
+ // if playing any segments currently.
45238
+ //check if segments in state are equal to the frames selected by action
45239
+ if (assignedSegment !== action.frames) {
45240
+ // if they are not equal. new segments are to be loaded
45241
+ animationItem.playSegments(action.frames, true);
45242
+ assignedSegment = action.frames;
45243
+ } else if (animationItem.isPaused) {
45244
+ // if they are equal the play method must be called only if lottie is paused
45245
+ animationItem.playSegments(action.frames, true);
45246
+ assignedSegment = action.frames;
45247
+ }
45248
+ }
45249
+ }
45250
+ if (action.type === "play" && animationItem.isPaused) {
45251
+ // Play: Reset segments and continue playing full animation from current position
45252
+ animationItem.resetSegments(true);
45253
+ animationItem.play();
45254
+ }
45255
+ if (action.type === "stop") {
45256
+ // Stop: Stop playback
45257
+ animationItem.goToAndStop(action.frames[0] - animationItem.firstFrame - 1, true);
45258
+ }
45259
+ };
45260
+ document.addEventListener("scroll", scrollHandler);
45261
+ return function () {
45262
+ document.removeEventListener("scroll", scrollHandler);
45263
+ };
45264
+ };
45265
+ var cursorModeHandler = function cursorModeHandler() {
45266
+ var handleCursor = function handleCursor(_x, _y) {
45267
+ var x = _x;
45268
+ var y = _y;
45269
+ // Resolve cursor position if cursor is inside container
45270
+ if (x !== -1 && y !== -1) {
45271
+ // Get container cursor position
45272
+ var pos = getContainerCursorPosition(wrapper, x, y);
45273
+ // Use the resolved position
45274
+ x = pos.x;
45275
+ y = pos.y;
45276
+ }
45277
+ // Find the first action that satisfies the current position conditions
45278
+ var action = actions.find(function (_ref3) {
45279
+ var position = _ref3.position;
45280
+ if (position && Array.isArray(position.x) && Array.isArray(position.y)) {
45281
+ return x >= position.x[0] && x <= position.x[1] && y >= position.y[0] && y <= position.y[1];
45282
+ }
45283
+ if (position && !Number.isNaN(position.x) && !Number.isNaN(position.y)) {
45284
+ return x === position.x && y === position.y;
45285
+ }
45286
+ return false;
45287
+ });
45288
+ // Skip if no matching action was found!
45289
+ if (!action) {
45290
+ return;
45291
+ }
45292
+ // Process action types:
45293
+ if (action.type === "seek" && action.position && Array.isArray(action.position.x) && Array.isArray(action.position.y) && action.frames.length === 2) {
45294
+ // Seek: Go to a frame based on player scroll position action
45295
+ var xPercent = (x - action.position.x[0]) / (action.position.x[1] - action.position.x[0]);
45296
+ var yPercent = (y - action.position.y[0]) / (action.position.y[1] - action.position.y[0]);
45297
+ animationItem.playSegments(action.frames, true);
45298
+ animationItem.goToAndStop(Math.ceil((xPercent + yPercent) / 2 * (action.frames[1] - action.frames[0])), true);
45299
+ }
45300
+ if (action.type === "loop") {
45301
+ animationItem.playSegments(action.frames, true);
45302
+ }
45303
+ if (action.type === "play") {
45304
+ // Play: Reset segments and continue playing full animation from current position
45305
+ if (animationItem.isPaused) {
45306
+ animationItem.resetSegments(false);
45307
+ }
45308
+ animationItem.playSegments(action.frames);
45309
+ }
45310
+ if (action.type === "stop") {
45311
+ animationItem.goToAndStop(action.frames[0], true);
45312
+ }
45313
+ };
45314
+ var mouseMoveHandler = function mouseMoveHandler(ev) {
45315
+ handleCursor(ev.clientX, ev.clientY);
45316
+ };
45317
+ var mouseOutHandler = function mouseOutHandler() {
45318
+ handleCursor(-1, -1);
45319
+ };
45320
+ wrapper.addEventListener("mousemove", mouseMoveHandler);
45321
+ wrapper.addEventListener("mouseout", mouseOutHandler);
45322
+ return function () {
45323
+ wrapper.removeEventListener("mousemove", mouseMoveHandler);
45324
+ wrapper.removeEventListener("mouseout", mouseOutHandler);
45325
+ };
45326
+ };
45327
+ switch (mode) {
45328
+ case "scroll":
45329
+ return scrollModeHandler();
45330
+ case "cursor":
45331
+ return cursorModeHandler();
45332
+ }
45333
+ // eslint-disable-next-line react-hooks/exhaustive-deps
45334
+ }, [mode, animationItem]);
45335
+ };
45336
+ var useLottieInteractivity = function useLottieInteractivity(_ref4) {
45337
+ var actions = _ref4.actions,
45338
+ mode = _ref4.mode,
45339
+ lottieObj = _ref4.lottieObj;
45340
+ var animationItem = lottieObj.animationItem,
45341
+ View = lottieObj.View,
45342
+ animationContainerRef = lottieObj.animationContainerRef;
45343
+ useInitInteractivity({
45344
+ actions: actions,
45345
+ animationItem: animationItem,
45346
+ mode: mode,
45347
+ wrapperRef: animationContainerRef
45348
+ });
45349
+ return View;
45350
+ };
45351
+ var _excluded = ["style", "interactivity"];
45352
+ var Lottie = function Lottie(props) {
45353
+ var _a, _b, _c;
45354
+ var style = props.style,
45355
+ interactivity = props.interactivity,
45356
+ lottieProps = _objectWithoutProperties(props, _excluded);
46846
45357
  /**
46847
- * Destroy animation
45358
+ * Initialize the 'useLottie' hook
46848
45359
  */
46849
- var destroy = function destroy() {
46850
- var _a;
46851
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
46852
- // Removing the reference to the animation so separate cleanups are skipped.
46853
- // Without it the internal `lottie-react` instance throws exceptions as it already cleared itself on destroy.
46854
- animationInstanceRef.current = undefined;
46855
- };
46856
- /*
46857
- ======================================
46858
- LOTTIE
46859
- ======================================
46860
- */
45360
+ var _useLottie = useLottie(lottieProps, style),
45361
+ View = _useLottie.View,
45362
+ play = _useLottie.play,
45363
+ stop = _useLottie.stop,
45364
+ pause = _useLottie.pause,
45365
+ setSpeed = _useLottie.setSpeed,
45366
+ goToAndStop = _useLottie.goToAndStop,
45367
+ goToAndPlay = _useLottie.goToAndPlay,
45368
+ setDirection = _useLottie.setDirection,
45369
+ playSegments = _useLottie.playSegments,
45370
+ setSubframe = _useLottie.setSubframe,
45371
+ getDuration = _useLottie.getDuration,
45372
+ destroy = _useLottie.destroy,
45373
+ animationContainerRef = _useLottie.animationContainerRef,
45374
+ animationLoaded = _useLottie.animationLoaded,
45375
+ animationItem = _useLottie.animationItem;
46861
45376
  /**
46862
- * Load a new animation, and if it's the case, destroy the previous one
46863
- * @param {Object} forcedConfigs
45377
+ * Make the hook variables/methods available through the provided 'lottieRef'
46864
45378
  */
46865
- var loadAnimation = function loadAnimation() {
46866
- var forcedConfigs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
46867
- var _a;
46868
- // Return if the container ref is null
46869
- if (!animationContainer.current) {
46870
- return;
45379
+ React$1.useEffect(function () {
45380
+ if (props.lottieRef) {
45381
+ props.lottieRef.current = {
45382
+ play: play,
45383
+ stop: stop,
45384
+ pause: pause,
45385
+ setSpeed: setSpeed,
45386
+ goToAndPlay: goToAndPlay,
45387
+ goToAndStop: goToAndStop,
45388
+ setDirection: setDirection,
45389
+ playSegments: playSegments,
45390
+ setSubframe: setSubframe,
45391
+ getDuration: getDuration,
45392
+ destroy: destroy,
45393
+ animationContainerRef: animationContainerRef,
45394
+ animationLoaded: animationLoaded,
45395
+ animationItem: animationItem
45396
+ };
45397
+ }
45398
+ // eslint-disable-next-line react-hooks/exhaustive-deps
45399
+ }, [(_a = props.lottieRef) === null || _a === void 0 ? void 0 : _a.current]);
45400
+ return useLottieInteractivity({
45401
+ lottieObj: {
45402
+ View: View,
45403
+ play: play,
45404
+ stop: stop,
45405
+ pause: pause,
45406
+ setSpeed: setSpeed,
45407
+ goToAndStop: goToAndStop,
45408
+ goToAndPlay: goToAndPlay,
45409
+ setDirection: setDirection,
45410
+ playSegments: playSegments,
45411
+ setSubframe: setSubframe,
45412
+ getDuration: getDuration,
45413
+ destroy: destroy,
45414
+ animationContainerRef: animationContainerRef,
45415
+ animationLoaded: animationLoaded,
45416
+ animationItem: animationItem
45417
+ },
45418
+ actions: (_b = interactivity === null || interactivity === void 0 ? void 0 : interactivity.actions) !== null && _b !== void 0 ? _b : [],
45419
+ mode: (_c = interactivity === null || interactivity === void 0 ? void 0 : interactivity.mode) !== null && _c !== void 0 ? _c : "scroll"
45420
+ });
45421
+ };
45422
+
45423
+ var nm$1 = "calendar_lottie";
45424
+ var ddd$1 = 0;
45425
+ var h$1 = 16;
45426
+ var w$1 = 16;
45427
+ var meta = {
45428
+ a: "Sadjad",
45429
+ k: "calendar icon",
45430
+ d: "calendar icon for you designed, enjoy",
45431
+ g: "LottieFiles AE 0.1.20"
45432
+ };
45433
+ var layers$1 = [
45434
+ {
45435
+ ty: 3,
45436
+ nm: "Null 1",
45437
+ sr: 1,
45438
+ st: 0,
45439
+ op: 241,
45440
+ ip: 0,
45441
+ hd: false,
45442
+ ddd: 0,
45443
+ bm: 0,
45444
+ hasMask: false,
45445
+ ao: 0,
45446
+ ks: {
45447
+ a: {
45448
+ a: 0,
45449
+ k: [
45450
+ 0,
45451
+ 50,
45452
+ 0
45453
+ ],
45454
+ ix: 1
45455
+ },
45456
+ s: {
45457
+ a: 1,
45458
+ k: [
45459
+ {
45460
+ o: {
45461
+ x: 0.89,
45462
+ y: 0
45463
+ },
45464
+ i: {
45465
+ x: 0.11,
45466
+ y: 1
45467
+ },
45468
+ s: [
45469
+ 6.4,
45470
+ 6.4,
45471
+ 100
45472
+ ],
45473
+ t: 8
45474
+ },
45475
+ {
45476
+ o: {
45477
+ x: 0.89,
45478
+ y: 0
45479
+ },
45480
+ i: {
45481
+ x: 0.11,
45482
+ y: 1
45483
+ },
45484
+ s: [
45485
+ 5.12,
45486
+ 5.12,
45487
+ 100
45488
+ ],
45489
+ t: 14
45490
+ },
45491
+ {
45492
+ o: {
45493
+ x: 0.89,
45494
+ y: 0
45495
+ },
45496
+ i: {
45497
+ x: 0.11,
45498
+ y: 1
45499
+ },
45500
+ s: [
45501
+ 5.12,
45502
+ 5.12,
45503
+ 100
45504
+ ],
45505
+ t: 31
45506
+ },
45507
+ {
45508
+ s: [
45509
+ 6.4,
45510
+ 6.4,
45511
+ 100
45512
+ ],
45513
+ t: 36
45514
+ }
45515
+ ],
45516
+ ix: 6
45517
+ },
45518
+ sk: {
45519
+ a: 0,
45520
+ k: 0
45521
+ },
45522
+ p: {
45523
+ a: 0,
45524
+ k: [
45525
+ 8,
45526
+ 11.2,
45527
+ 0
45528
+ ],
45529
+ ix: 2
45530
+ },
45531
+ r: {
45532
+ a: 0,
45533
+ k: 0,
45534
+ ix: 10
45535
+ },
45536
+ sa: {
45537
+ a: 0,
45538
+ k: 0
45539
+ },
45540
+ o: {
45541
+ a: 0,
45542
+ k: 0,
45543
+ ix: 11
45544
+ }
45545
+ },
45546
+ ef: [
45547
+ ],
45548
+ ind: 1
45549
+ },
45550
+ {
45551
+ ty: 4,
45552
+ nm: "pin Outlines",
45553
+ sr: 1,
45554
+ st: 0,
45555
+ op: 241,
45556
+ ip: 0,
45557
+ hd: false,
45558
+ ddd: 0,
45559
+ bm: 0,
45560
+ hasMask: false,
45561
+ ao: 0,
45562
+ ks: {
45563
+ a: {
45564
+ a: 0,
45565
+ k: [
45566
+ 39.833,
45567
+ 23.166,
45568
+ 0
45569
+ ],
45570
+ ix: 1
45571
+ },
45572
+ s: {
45573
+ a: 0,
45574
+ k: [
45575
+ 100,
45576
+ 100,
45577
+ 100
45578
+ ],
45579
+ ix: 6
45580
+ },
45581
+ sk: {
45582
+ a: 0,
45583
+ k: 0
45584
+ },
45585
+ p: {
45586
+ a: 0,
45587
+ k: [
45588
+ 0,
45589
+ -66.667,
45590
+ 0
45591
+ ],
45592
+ ix: 2
45593
+ },
45594
+ r: {
45595
+ a: 0,
45596
+ k: 0,
45597
+ ix: 10
45598
+ },
45599
+ sa: {
45600
+ a: 0,
45601
+ k: 0
45602
+ },
45603
+ o: {
45604
+ a: 0,
45605
+ k: 100,
45606
+ ix: 11
45607
+ }
45608
+ },
45609
+ ef: [
45610
+ ],
45611
+ shapes: [
45612
+ {
45613
+ ty: "gr",
45614
+ bm: 0,
45615
+ hd: false,
45616
+ mn: "ADBE Vector Group",
45617
+ nm: "Group 1",
45618
+ ix: 1,
45619
+ cix: 2,
45620
+ np: 2,
45621
+ it: [
45622
+ {
45623
+ ty: "sh",
45624
+ bm: 0,
45625
+ hd: false,
45626
+ mn: "ADBE Vector Shape - Group",
45627
+ nm: "Path 1",
45628
+ ix: 1,
45629
+ d: 1,
45630
+ ks: {
45631
+ a: 0,
45632
+ k: {
45633
+ c: false,
45634
+ i: [
45635
+ [
45636
+ 0,
45637
+ 0
45638
+ ],
45639
+ [
45640
+ 0,
45641
+ 0
45642
+ ]
45643
+ ],
45644
+ o: [
45645
+ [
45646
+ 0,
45647
+ 0
45648
+ ],
45649
+ [
45650
+ 0,
45651
+ 0
45652
+ ]
45653
+ ],
45654
+ v: [
45655
+ [
45656
+ 73.166,
45657
+ 6.5
45658
+ ],
45659
+ [
45660
+ 73.166,
45661
+ 39.833
45662
+ ]
45663
+ ]
45664
+ },
45665
+ ix: 2
45666
+ }
45667
+ },
45668
+ {
45669
+ ty: "st",
45670
+ bm: 0,
45671
+ hd: false,
45672
+ mn: "ADBE Vector Graphic - Stroke",
45673
+ nm: "Stroke 1",
45674
+ lc: 2,
45675
+ lj: 2,
45676
+ ml: 1,
45677
+ o: {
45678
+ a: 0,
45679
+ k: 100,
45680
+ ix: 4
45681
+ },
45682
+ w: {
45683
+ a: 0,
45684
+ k: 13,
45685
+ ix: 5
45686
+ },
45687
+ c: {
45688
+ a: 0,
45689
+ k: [
45690
+ 0.0235,
45691
+ 0.4039,
45692
+ 0.4078
45693
+ ],
45694
+ ix: 3
45695
+ }
45696
+ },
45697
+ {
45698
+ ty: "tr",
45699
+ a: {
45700
+ a: 0,
45701
+ k: [
45702
+ 0,
45703
+ 0
45704
+ ],
45705
+ ix: 1
45706
+ },
45707
+ s: {
45708
+ a: 0,
45709
+ k: [
45710
+ 100,
45711
+ 100
45712
+ ],
45713
+ ix: 3
45714
+ },
45715
+ sk: {
45716
+ a: 0,
45717
+ k: 0,
45718
+ ix: 4
45719
+ },
45720
+ p: {
45721
+ a: 0,
45722
+ k: [
45723
+ 0,
45724
+ 0
45725
+ ],
45726
+ ix: 2
45727
+ },
45728
+ r: {
45729
+ a: 0,
45730
+ k: 0,
45731
+ ix: 6
45732
+ },
45733
+ sa: {
45734
+ a: 0,
45735
+ k: 0,
45736
+ ix: 5
45737
+ },
45738
+ o: {
45739
+ a: 0,
45740
+ k: 100,
45741
+ ix: 7
45742
+ }
45743
+ }
45744
+ ]
45745
+ },
45746
+ {
45747
+ ty: "gr",
45748
+ bm: 0,
45749
+ hd: false,
45750
+ mn: "ADBE Vector Group",
45751
+ nm: "Group 2",
45752
+ ix: 2,
45753
+ cix: 2,
45754
+ np: 2,
45755
+ it: [
45756
+ {
45757
+ ty: "sh",
45758
+ bm: 0,
45759
+ hd: false,
45760
+ mn: "ADBE Vector Shape - Group",
45761
+ nm: "Path 1",
45762
+ ix: 1,
45763
+ d: 1,
45764
+ ks: {
45765
+ a: 0,
45766
+ k: {
45767
+ c: false,
45768
+ i: [
45769
+ [
45770
+ 0,
45771
+ 0
45772
+ ],
45773
+ [
45774
+ 0,
45775
+ 0
45776
+ ]
45777
+ ],
45778
+ o: [
45779
+ [
45780
+ 0,
45781
+ 0
45782
+ ],
45783
+ [
45784
+ 0,
45785
+ 0
45786
+ ]
45787
+ ],
45788
+ v: [
45789
+ [
45790
+ 6.5,
45791
+ 6.5
45792
+ ],
45793
+ [
45794
+ 6.5,
45795
+ 39.833
45796
+ ]
45797
+ ]
45798
+ },
45799
+ ix: 2
45800
+ }
45801
+ },
45802
+ {
45803
+ ty: "st",
45804
+ bm: 0,
45805
+ hd: false,
45806
+ mn: "ADBE Vector Graphic - Stroke",
45807
+ nm: "Stroke 1",
45808
+ lc: 2,
45809
+ lj: 2,
45810
+ ml: 1,
45811
+ o: {
45812
+ a: 0,
45813
+ k: 100,
45814
+ ix: 4
45815
+ },
45816
+ w: {
45817
+ a: 0,
45818
+ k: 13,
45819
+ ix: 5
45820
+ },
45821
+ c: {
45822
+ a: 0,
45823
+ k: [
45824
+ 0.0235,
45825
+ 0.4039,
45826
+ 0.4078
45827
+ ],
45828
+ ix: 3
45829
+ }
45830
+ },
45831
+ {
45832
+ ty: "tr",
45833
+ a: {
45834
+ a: 0,
45835
+ k: [
45836
+ 0,
45837
+ 0
45838
+ ],
45839
+ ix: 1
45840
+ },
45841
+ s: {
45842
+ a: 0,
45843
+ k: [
45844
+ 100,
45845
+ 100
45846
+ ],
45847
+ ix: 3
45848
+ },
45849
+ sk: {
45850
+ a: 0,
45851
+ k: 0,
45852
+ ix: 4
45853
+ },
45854
+ p: {
45855
+ a: 0,
45856
+ k: [
45857
+ 0,
45858
+ 0
45859
+ ],
45860
+ ix: 2
45861
+ },
45862
+ r: {
45863
+ a: 0,
45864
+ k: 0,
45865
+ ix: 6
45866
+ },
45867
+ sa: {
45868
+ a: 0,
45869
+ k: 0,
45870
+ ix: 5
45871
+ },
45872
+ o: {
45873
+ a: 0,
45874
+ k: 100,
45875
+ ix: 7
45876
+ }
45877
+ }
45878
+ ]
45879
+ }
45880
+ ],
45881
+ ind: 2,
45882
+ parent: 1
45883
+ },
45884
+ {
45885
+ ty: 4,
45886
+ nm: "line Outlines",
45887
+ sr: 1,
45888
+ st: 0,
45889
+ op: 241,
45890
+ ip: 0,
45891
+ hd: false,
45892
+ ddd: 0,
45893
+ bm: 0,
45894
+ hasMask: false,
45895
+ ao: 0,
45896
+ ks: {
45897
+ a: {
45898
+ a: 0,
45899
+ k: [
45900
+ 81.5,
45901
+ 6.5,
45902
+ 0
45903
+ ],
45904
+ ix: 1
45905
+ },
45906
+ s: {
45907
+ a: 0,
45908
+ k: [
45909
+ 100,
45910
+ 100,
45911
+ 100
45912
+ ],
45913
+ ix: 6
45914
+ },
45915
+ sk: {
45916
+ a: 0,
45917
+ k: 0
45918
+ },
45919
+ p: {
45920
+ a: 1,
45921
+ k: [
45922
+ {
45923
+ o: {
45924
+ x: 0.66,
45925
+ y: 0
45926
+ },
45927
+ i: {
45928
+ x: 0.34,
45929
+ y: 1
45930
+ },
45931
+ s: [
45932
+ 0,
45933
+ -16.667,
45934
+ 0
45935
+ ],
45936
+ t: 8,
45937
+ ti: [
45938
+ 0,
45939
+ 8.333,
45940
+ 0
45941
+ ],
45942
+ to: [
45943
+ 0,
45944
+ -14.667,
45945
+ 0
45946
+ ]
45947
+ },
45948
+ {
45949
+ o: {
45950
+ x: 0.66,
45951
+ y: 0
45952
+ },
45953
+ i: {
45954
+ x: 0.34,
45955
+ y: 1
45956
+ },
45957
+ s: [
45958
+ 0,
45959
+ -104.667,
45960
+ 0
45961
+ ],
45962
+ t: 23,
45963
+ ti: [
45964
+ 0,
45965
+ -6.333,
45966
+ 0
45967
+ ],
45968
+ to: [
45969
+ 0,
45970
+ -8.333,
45971
+ 0
45972
+ ]
45973
+ },
45974
+ {
45975
+ s: [
45976
+ 0,
45977
+ -66.667,
45978
+ 0
45979
+ ],
45980
+ t: 36
45981
+ }
45982
+ ],
45983
+ ix: 2
45984
+ },
45985
+ r: {
45986
+ a: 0,
45987
+ k: 0,
45988
+ ix: 10
45989
+ },
45990
+ sa: {
45991
+ a: 0,
45992
+ k: 0
45993
+ },
45994
+ o: {
45995
+ a: 0,
45996
+ k: 100,
45997
+ ix: 11
45998
+ }
45999
+ },
46000
+ ef: [
46001
+ ],
46002
+ shapes: [
46003
+ {
46004
+ ty: "gr",
46005
+ bm: 0,
46006
+ hd: false,
46007
+ mn: "ADBE Vector Group",
46008
+ nm: "Group 1",
46009
+ ix: 1,
46010
+ cix: 2,
46011
+ np: 2,
46012
+ it: [
46013
+ {
46014
+ ty: "sh",
46015
+ bm: 0,
46016
+ hd: false,
46017
+ mn: "ADBE Vector Shape - Group",
46018
+ nm: "Path 1",
46019
+ ix: 1,
46020
+ d: 1,
46021
+ ks: {
46022
+ a: 1,
46023
+ k: [
46024
+ {
46025
+ o: {
46026
+ x: 0.66,
46027
+ y: 0
46028
+ },
46029
+ i: {
46030
+ x: 0.34,
46031
+ y: 1
46032
+ },
46033
+ s: [
46034
+ {
46035
+ c: false,
46036
+ i: [
46037
+ [
46038
+ 0,
46039
+ 0
46040
+ ],
46041
+ [
46042
+ 0,
46043
+ 0
46044
+ ]
46045
+ ],
46046
+ o: [
46047
+ [
46048
+ 0,
46049
+ 0
46050
+ ],
46051
+ [
46052
+ 0,
46053
+ 0
46054
+ ]
46055
+ ],
46056
+ v: [
46057
+ [
46058
+ 6.5,
46059
+ 6.5
46060
+ ],
46061
+ [
46062
+ 156.5,
46063
+ 6.5
46064
+ ]
46065
+ ]
46066
+ }
46067
+ ],
46068
+ t: 8
46069
+ },
46070
+ {
46071
+ o: {
46072
+ x: 0.66,
46073
+ y: 0
46074
+ },
46075
+ i: {
46076
+ x: 0.34,
46077
+ y: 1
46078
+ },
46079
+ s: [
46080
+ {
46081
+ c: false,
46082
+ i: [
46083
+ [
46084
+ 0,
46085
+ 0
46086
+ ],
46087
+ [
46088
+ 0,
46089
+ 0
46090
+ ]
46091
+ ],
46092
+ o: [
46093
+ [
46094
+ 0,
46095
+ 0
46096
+ ],
46097
+ [
46098
+ 0,
46099
+ 0
46100
+ ]
46101
+ ],
46102
+ v: [
46103
+ [
46104
+ 6.5,
46105
+ 6.5
46106
+ ],
46107
+ [
46108
+ 156.5,
46109
+ 6.5
46110
+ ]
46111
+ ]
46112
+ }
46113
+ ],
46114
+ t: 30
46115
+ },
46116
+ {
46117
+ s: [
46118
+ {
46119
+ c: false,
46120
+ i: [
46121
+ [
46122
+ 0,
46123
+ 0
46124
+ ],
46125
+ [
46126
+ 0,
46127
+ 0
46128
+ ]
46129
+ ],
46130
+ o: [
46131
+ [
46132
+ 0,
46133
+ 0
46134
+ ],
46135
+ [
46136
+ 0,
46137
+ 0
46138
+ ]
46139
+ ],
46140
+ v: [
46141
+ [
46142
+ 20.5,
46143
+ 6.583
46144
+ ],
46145
+ [
46146
+ 141,
46147
+ 6.583
46148
+ ]
46149
+ ]
46150
+ }
46151
+ ],
46152
+ t: 36
46153
+ }
46154
+ ],
46155
+ ix: 2
46156
+ }
46157
+ },
46158
+ {
46159
+ ty: "st",
46160
+ bm: 0,
46161
+ hd: false,
46162
+ mn: "ADBE Vector Graphic - Stroke",
46163
+ nm: "Stroke 1",
46164
+ lc: 2,
46165
+ lj: 2,
46166
+ ml: 1,
46167
+ o: {
46168
+ a: 0,
46169
+ k: 100,
46170
+ ix: 4
46171
+ },
46172
+ w: {
46173
+ a: 0,
46174
+ k: 13,
46175
+ ix: 5
46176
+ },
46177
+ c: {
46178
+ a: 0,
46179
+ k: [
46180
+ 0.0235,
46181
+ 0.4039,
46182
+ 0.4078
46183
+ ],
46184
+ ix: 3
46185
+ }
46186
+ },
46187
+ {
46188
+ ty: "tr",
46189
+ a: {
46190
+ a: 0,
46191
+ k: [
46192
+ 0,
46193
+ 0
46194
+ ],
46195
+ ix: 1
46196
+ },
46197
+ s: {
46198
+ a: 0,
46199
+ k: [
46200
+ 100,
46201
+ 100
46202
+ ],
46203
+ ix: 3
46204
+ },
46205
+ sk: {
46206
+ a: 0,
46207
+ k: 0,
46208
+ ix: 4
46209
+ },
46210
+ p: {
46211
+ a: 0,
46212
+ k: [
46213
+ 0,
46214
+ 0
46215
+ ],
46216
+ ix: 2
46217
+ },
46218
+ r: {
46219
+ a: 0,
46220
+ k: 0,
46221
+ ix: 6
46222
+ },
46223
+ sa: {
46224
+ a: 0,
46225
+ k: 0,
46226
+ ix: 5
46227
+ },
46228
+ o: {
46229
+ a: 0,
46230
+ k: 100,
46231
+ ix: 7
46232
+ }
46233
+ }
46234
+ ]
46235
+ }
46236
+ ],
46237
+ ind: 3,
46238
+ parent: 1
46239
+ },
46240
+ {
46241
+ ty: 4,
46242
+ nm: "line Outlines 2",
46243
+ sr: 1,
46244
+ st: 0,
46245
+ op: 241,
46246
+ ip: 0,
46247
+ hd: false,
46248
+ ddd: 0,
46249
+ bm: 0,
46250
+ hasMask: false,
46251
+ ao: 0,
46252
+ ks: {
46253
+ a: {
46254
+ a: 0,
46255
+ k: [
46256
+ 81.5,
46257
+ 6.5,
46258
+ 0
46259
+ ],
46260
+ ix: 1
46261
+ },
46262
+ s: {
46263
+ a: 0,
46264
+ k: [
46265
+ 100,
46266
+ 100,
46267
+ 100
46268
+ ],
46269
+ ix: 6
46270
+ },
46271
+ sk: {
46272
+ a: 0,
46273
+ k: 0
46274
+ },
46275
+ p: {
46276
+ a: 0,
46277
+ k: [
46278
+ 0,
46279
+ -16.667,
46280
+ 0
46281
+ ],
46282
+ ix: 2
46283
+ },
46284
+ r: {
46285
+ a: 0,
46286
+ k: 0,
46287
+ ix: 10
46288
+ },
46289
+ sa: {
46290
+ a: 0,
46291
+ k: 0
46292
+ },
46293
+ o: {
46294
+ a: 1,
46295
+ k: [
46296
+ {
46297
+ o: {
46298
+ x: 0.167,
46299
+ y: 0.167
46300
+ },
46301
+ i: {
46302
+ x: 0.833,
46303
+ y: 0.833
46304
+ },
46305
+ s: [
46306
+ 0
46307
+ ],
46308
+ t: 14
46309
+ },
46310
+ {
46311
+ s: [
46312
+ 100
46313
+ ],
46314
+ t: 15
46315
+ }
46316
+ ],
46317
+ ix: 11
46318
+ }
46319
+ },
46320
+ ef: [
46321
+ ],
46322
+ shapes: [
46323
+ {
46324
+ ty: "gr",
46325
+ bm: 0,
46326
+ hd: false,
46327
+ mn: "ADBE Vector Group",
46328
+ nm: "Group 1",
46329
+ ix: 1,
46330
+ cix: 2,
46331
+ np: 2,
46332
+ it: [
46333
+ {
46334
+ ty: "sh",
46335
+ bm: 0,
46336
+ hd: false,
46337
+ mn: "ADBE Vector Shape - Group",
46338
+ nm: "Path 1",
46339
+ ix: 1,
46340
+ d: 1,
46341
+ ks: {
46342
+ a: 0,
46343
+ k: {
46344
+ c: false,
46345
+ i: [
46346
+ [
46347
+ 0,
46348
+ 0
46349
+ ],
46350
+ [
46351
+ 0,
46352
+ 0
46353
+ ]
46354
+ ],
46355
+ o: [
46356
+ [
46357
+ 0,
46358
+ 0
46359
+ ],
46360
+ [
46361
+ 0,
46362
+ 0
46363
+ ]
46364
+ ],
46365
+ v: [
46366
+ [
46367
+ 6.5,
46368
+ 6.5
46369
+ ],
46370
+ [
46371
+ 156.5,
46372
+ 6.5
46373
+ ]
46374
+ ]
46375
+ },
46376
+ ix: 2
46377
+ }
46378
+ },
46379
+ {
46380
+ ty: "st",
46381
+ bm: 0,
46382
+ hd: false,
46383
+ mn: "ADBE Vector Graphic - Stroke",
46384
+ nm: "Stroke 1",
46385
+ lc: 2,
46386
+ lj: 2,
46387
+ ml: 1,
46388
+ o: {
46389
+ a: 0,
46390
+ k: 100,
46391
+ ix: 4
46392
+ },
46393
+ w: {
46394
+ a: 0,
46395
+ k: 13,
46396
+ ix: 5
46397
+ },
46398
+ c: {
46399
+ a: 0,
46400
+ k: [
46401
+ 0.0235,
46402
+ 0.4039,
46403
+ 0.4078
46404
+ ],
46405
+ ix: 3
46406
+ }
46407
+ },
46408
+ {
46409
+ ty: "tr",
46410
+ a: {
46411
+ a: 0,
46412
+ k: [
46413
+ 0,
46414
+ 0
46415
+ ],
46416
+ ix: 1
46417
+ },
46418
+ s: {
46419
+ a: 0,
46420
+ k: [
46421
+ 100,
46422
+ 100
46423
+ ],
46424
+ ix: 3
46425
+ },
46426
+ sk: {
46427
+ a: 0,
46428
+ k: 0,
46429
+ ix: 4
46430
+ },
46431
+ p: {
46432
+ a: 0,
46433
+ k: [
46434
+ 0,
46435
+ 0
46436
+ ],
46437
+ ix: 2
46438
+ },
46439
+ r: {
46440
+ a: 0,
46441
+ k: 0,
46442
+ ix: 6
46443
+ },
46444
+ sa: {
46445
+ a: 0,
46446
+ k: 0,
46447
+ ix: 5
46448
+ },
46449
+ o: {
46450
+ a: 0,
46451
+ k: 100,
46452
+ ix: 7
46453
+ }
46454
+ }
46455
+ ]
46456
+ }
46457
+ ],
46458
+ ind: 4,
46459
+ parent: 1
46460
+ },
46461
+ {
46462
+ ty: 4,
46463
+ nm: "page02 Outlines",
46464
+ sr: 1,
46465
+ st: 0,
46466
+ op: 70,
46467
+ ip: 0,
46468
+ hd: false,
46469
+ ddd: 0,
46470
+ bm: 0,
46471
+ hasMask: false,
46472
+ ao: 0,
46473
+ ks: {
46474
+ a: {
46475
+ a: 0,
46476
+ k: [
46477
+ 88,
46478
+ 13,
46479
+ 0
46480
+ ],
46481
+ ix: 1
46482
+ },
46483
+ s: {
46484
+ a: 0,
46485
+ k: [
46486
+ 100,
46487
+ 100,
46488
+ 100
46489
+ ],
46490
+ ix: 6
46491
+ },
46492
+ sk: {
46493
+ a: 0,
46494
+ k: 0
46495
+ },
46496
+ p: {
46497
+ a: 0,
46498
+ k: [
46499
+ -0.001,
46500
+ -66.667,
46501
+ 0
46502
+ ],
46503
+ ix: 2
46504
+ },
46505
+ r: {
46506
+ a: 0,
46507
+ k: 180,
46508
+ ix: 10
46509
+ },
46510
+ sa: {
46511
+ a: 0,
46512
+ k: 0
46513
+ },
46514
+ o: {
46515
+ a: 0,
46516
+ k: 100,
46517
+ ix: 11
46518
+ }
46519
+ },
46520
+ ef: [
46521
+ ],
46522
+ shapes: [
46523
+ {
46524
+ ty: "gr",
46525
+ bm: 0,
46526
+ hd: false,
46527
+ mn: "ADBE Vector Group",
46528
+ nm: "Group 1",
46529
+ ix: 1,
46530
+ cix: 2,
46531
+ np: 2,
46532
+ it: [
46533
+ {
46534
+ ty: "sh",
46535
+ bm: 0,
46536
+ hd: false,
46537
+ mn: "ADBE Vector Shape - Group",
46538
+ nm: "Path 1",
46539
+ ix: 1,
46540
+ d: 1,
46541
+ ks: {
46542
+ a: 1,
46543
+ k: [
46544
+ {
46545
+ o: {
46546
+ x: 0.66,
46547
+ y: 0
46548
+ },
46549
+ i: {
46550
+ x: 0.34,
46551
+ y: 1
46552
+ },
46553
+ s: [
46554
+ {
46555
+ c: true,
46556
+ i: [
46557
+ [
46558
+ -9.205,
46559
+ 0
46560
+ ],
46561
+ [
46562
+ 0,
46563
+ 0
46564
+ ],
46565
+ [
46566
+ 0.499,
46567
+ 12.166
46568
+ ],
46569
+ [
46570
+ 0,
46571
+ 0
46572
+ ],
46573
+ [
46574
+ 9.205,
46575
+ 0
46576
+ ],
46577
+ [
46578
+ 0,
46579
+ 0
46580
+ ],
46581
+ [
46582
+ -0.673,
46583
+ -8
46584
+ ],
46585
+ [
46586
+ 0,
46587
+ 0
46588
+ ]
46589
+ ],
46590
+ o: [
46591
+ [
46592
+ 0,
46593
+ 0
46594
+ ],
46595
+ [
46596
+ 9.205,
46597
+ 0
46598
+ ],
46599
+ [
46600
+ 0,
46601
+ 0
46602
+ ],
46603
+ [
46604
+ -0.673,
46605
+ -6
46606
+ ],
46607
+ [
46608
+ 0,
46609
+ 0
46610
+ ],
46611
+ [
46612
+ -9.205,
46613
+ 0
46614
+ ],
46615
+ [
46616
+ 0,
46617
+ 0
46618
+ ],
46619
+ [
46620
+ -0.001,
46621
+ 13.166
46622
+ ]
46623
+ ],
46624
+ v: [
46625
+ [
46626
+ -58.333,
46627
+ -75
46628
+ ],
46629
+ [
46630
+ 58.334,
46631
+ -75
46632
+ ],
46633
+ [
46634
+ 75.001,
46635
+ -89.833
46636
+ ],
46637
+ [
46638
+ 75.173,
46639
+ -210.167
46640
+ ],
46641
+ [
46642
+ 58.514,
46643
+ -225
46644
+ ],
46645
+ [
46646
+ -58.32,
46647
+ -225
46648
+ ],
46649
+ [
46650
+ -74.827,
46651
+ -210.167
46652
+ ],
46653
+ [
46654
+ -74.999,
46655
+ -92.833
46656
+ ]
46657
+ ]
46658
+ }
46659
+ ],
46660
+ t: 8
46661
+ },
46662
+ {
46663
+ o: {
46664
+ x: 0.66,
46665
+ y: 0
46666
+ },
46667
+ i: {
46668
+ x: 0.34,
46669
+ y: 1
46670
+ },
46671
+ s: [
46672
+ {
46673
+ c: true,
46674
+ i: [
46675
+ [
46676
+ -9.205,
46677
+ 0
46678
+ ],
46679
+ [
46680
+ 0,
46681
+ 0
46682
+ ],
46683
+ [
46684
+ 0,
46685
+ -9.205
46686
+ ],
46687
+ [
46688
+ 0,
46689
+ 0
46690
+ ],
46691
+ [
46692
+ 9.205,
46693
+ 0
46694
+ ],
46695
+ [
46696
+ 0,
46697
+ 0
46698
+ ],
46699
+ [
46700
+ 0,
46701
+ 9.205
46702
+ ],
46703
+ [
46704
+ 0,
46705
+ 0
46706
+ ]
46707
+ ],
46708
+ o: [
46709
+ [
46710
+ 0,
46711
+ 0
46712
+ ],
46713
+ [
46714
+ 9.205,
46715
+ 0
46716
+ ],
46717
+ [
46718
+ 0,
46719
+ 0
46720
+ ],
46721
+ [
46722
+ 0,
46723
+ 9.205
46724
+ ],
46725
+ [
46726
+ 0,
46727
+ 0
46728
+ ],
46729
+ [
46730
+ -9.205,
46731
+ 0
46732
+ ],
46733
+ [
46734
+ 0,
46735
+ 0
46736
+ ],
46737
+ [
46738
+ 0,
46739
+ -9.205
46740
+ ]
46741
+ ],
46742
+ v: [
46743
+ [
46744
+ -58.333,
46745
+ -75
46746
+ ],
46747
+ [
46748
+ 58.334,
46749
+ -75
46750
+ ],
46751
+ [
46752
+ 75,
46753
+ -58.333
46754
+ ],
46755
+ [
46756
+ 74.754,
46757
+ -11.417
46758
+ ],
46759
+ [
46760
+ 58.088,
46761
+ 5.25
46762
+ ],
46763
+ [
46764
+ -58.579,
46765
+ 5.25
46766
+ ],
46767
+ [
46768
+ -75.246,
46769
+ -11.417
46770
+ ],
46771
+ [
46772
+ -75,
46773
+ -58.333
46774
+ ]
46775
+ ]
46776
+ }
46777
+ ],
46778
+ t: 23
46779
+ },
46780
+ {
46781
+ s: [
46782
+ {
46783
+ c: true,
46784
+ i: [
46785
+ [
46786
+ -9.205,
46787
+ 0
46788
+ ],
46789
+ [
46790
+ 0,
46791
+ 0
46792
+ ],
46793
+ [
46794
+ -1.001,
46795
+ 7.166
46796
+ ],
46797
+ [
46798
+ 0,
46799
+ 0
46800
+ ],
46801
+ [
46802
+ 11.663,
46803
+ -0.292
46804
+ ],
46805
+ [
46806
+ 0,
46807
+ 0
46808
+ ],
46809
+ [
46810
+ 0.119,
46811
+ 14.876
46812
+ ],
46813
+ [
46814
+ 0,
46815
+ 0
46816
+ ]
46817
+ ],
46818
+ o: [
46819
+ [
46820
+ 0,
46821
+ 0
46822
+ ],
46823
+ [
46824
+ 8.29,
46825
+ -0.667
46826
+ ],
46827
+ [
46828
+ 0,
46829
+ 0
46830
+ ],
46831
+ [
46832
+ -0.003,
46833
+ 12.251
46834
+ ],
46835
+ [
46836
+ 0,
46837
+ 0
46838
+ ],
46839
+ [
46840
+ -13.295,
46841
+ -1.792
46842
+ ],
46843
+ [
46844
+ 0,
46845
+ 0
46846
+ ],
46847
+ [
46848
+ 0.996,
46849
+ 5.541
46850
+ ]
46851
+ ],
46852
+ v: [
46853
+ [
46854
+ -58.333,
46855
+ -75
46856
+ ],
46857
+ [
46858
+ 58.334,
46859
+ -75
46860
+ ],
46861
+ [
46862
+ 73.876,
46863
+ -88.333
46864
+ ],
46865
+ [
46866
+ 74.503,
46867
+ -91.667
46868
+ ],
46869
+ [
46870
+ 57.837,
46871
+ -75
46872
+ ],
46873
+ [
46874
+ -58.83,
46875
+ -75
46876
+ ],
46877
+ [
46878
+ -75.494,
46879
+ -96.167
46880
+ ],
46881
+ [
46882
+ -74.621,
46883
+ -86.333
46884
+ ]
46885
+ ]
46886
+ }
46887
+ ],
46888
+ t: 36
46889
+ }
46890
+ ],
46891
+ ix: 2
46892
+ }
46893
+ },
46894
+ {
46895
+ ty: "st",
46896
+ bm: 0,
46897
+ hd: false,
46898
+ mn: "ADBE Vector Graphic - Stroke",
46899
+ nm: "Stroke 1",
46900
+ lc: 2,
46901
+ lj: 2,
46902
+ ml: 1,
46903
+ o: {
46904
+ a: 0,
46905
+ k: 100,
46906
+ ix: 4
46907
+ },
46908
+ w: {
46909
+ a: 0,
46910
+ k: 13,
46911
+ ix: 5
46912
+ },
46913
+ c: {
46914
+ a: 0,
46915
+ k: [
46916
+ 0.0235,
46917
+ 0.4039,
46918
+ 0.4078
46919
+ ],
46920
+ ix: 3
46921
+ }
46922
+ },
46923
+ {
46924
+ ty: "tr",
46925
+ a: {
46926
+ a: 0,
46927
+ k: [
46928
+ 0,
46929
+ 0
46930
+ ],
46931
+ ix: 1
46932
+ },
46933
+ s: {
46934
+ a: 0,
46935
+ k: [
46936
+ 100,
46937
+ 100
46938
+ ],
46939
+ ix: 3
46940
+ },
46941
+ sk: {
46942
+ a: 0,
46943
+ k: 0,
46944
+ ix: 4
46945
+ },
46946
+ p: {
46947
+ a: 0,
46948
+ k: [
46949
+ 88,
46950
+ 88
46951
+ ],
46952
+ ix: 2
46953
+ },
46954
+ r: {
46955
+ a: 0,
46956
+ k: 0,
46957
+ ix: 6
46958
+ },
46959
+ sa: {
46960
+ a: 0,
46961
+ k: 0,
46962
+ ix: 5
46963
+ },
46964
+ o: {
46965
+ a: 0,
46966
+ k: 100,
46967
+ ix: 7
46968
+ }
46969
+ }
46970
+ ]
46971
+ }
46972
+ ],
46973
+ ind: 5,
46974
+ parent: 1
46975
+ },
46976
+ {
46977
+ ty: 4,
46978
+ nm: "page01 Outlines",
46979
+ sr: 1,
46980
+ st: 0,
46981
+ op: 241,
46982
+ ip: 0,
46983
+ hd: false,
46984
+ ddd: 0,
46985
+ bm: 0,
46986
+ hasMask: false,
46987
+ ao: 0,
46988
+ ks: {
46989
+ a: {
46990
+ a: 0,
46991
+ k: [
46992
+ 88,
46993
+ 88,
46994
+ 0
46995
+ ],
46996
+ ix: 1
46997
+ },
46998
+ s: {
46999
+ a: 0,
47000
+ k: [
47001
+ 100,
47002
+ 100,
47003
+ 100
47004
+ ],
47005
+ ix: 6
47006
+ },
47007
+ sk: {
47008
+ a: 0,
47009
+ k: 0
47010
+ },
47011
+ p: {
47012
+ a: 0,
47013
+ k: [
47014
+ -0.001,
47015
+ 8.333,
47016
+ 0
47017
+ ],
47018
+ ix: 2
47019
+ },
47020
+ r: {
47021
+ a: 0,
47022
+ k: 0,
47023
+ ix: 10
47024
+ },
47025
+ sa: {
47026
+ a: 0,
47027
+ k: 0
47028
+ },
47029
+ o: {
47030
+ a: 0,
47031
+ k: 100,
47032
+ ix: 11
47033
+ }
47034
+ },
47035
+ ef: [
47036
+ ],
47037
+ shapes: [
47038
+ {
47039
+ ty: "gr",
47040
+ bm: 0,
47041
+ hd: false,
47042
+ mn: "ADBE Vector Group",
47043
+ nm: "Group 1",
47044
+ ix: 1,
47045
+ cix: 2,
47046
+ np: 2,
47047
+ it: [
47048
+ {
47049
+ ty: "sh",
47050
+ bm: 0,
47051
+ hd: false,
47052
+ mn: "ADBE Vector Shape - Group",
47053
+ nm: "Path 1",
47054
+ ix: 1,
47055
+ d: 1,
47056
+ ks: {
47057
+ a: 0,
47058
+ k: {
47059
+ c: true,
47060
+ i: [
47061
+ [
47062
+ -9.205,
47063
+ 0
47064
+ ],
47065
+ [
47066
+ 0,
47067
+ 0
47068
+ ],
47069
+ [
47070
+ 0,
47071
+ -9.205
47072
+ ],
47073
+ [
47074
+ 0,
47075
+ 0
47076
+ ],
47077
+ [
47078
+ 9.205,
47079
+ 0
47080
+ ],
47081
+ [
47082
+ 0,
47083
+ 0
47084
+ ],
47085
+ [
47086
+ 0,
47087
+ 9.205
47088
+ ],
47089
+ [
47090
+ 0,
47091
+ 0
47092
+ ]
47093
+ ],
47094
+ o: [
47095
+ [
47096
+ 0,
47097
+ 0
47098
+ ],
47099
+ [
47100
+ 9.205,
47101
+ 0
47102
+ ],
47103
+ [
47104
+ 0,
47105
+ 0
47106
+ ],
47107
+ [
47108
+ 0,
47109
+ 9.205
47110
+ ],
47111
+ [
47112
+ 0,
47113
+ 0
47114
+ ],
47115
+ [
47116
+ -9.205,
47117
+ 0
47118
+ ],
47119
+ [
47120
+ 0,
47121
+ 0
47122
+ ],
47123
+ [
47124
+ 0,
47125
+ -9.205
47126
+ ]
47127
+ ],
47128
+ v: [
47129
+ [
47130
+ -58.333,
47131
+ -75
47132
+ ],
47133
+ [
47134
+ 58.334,
47135
+ -75
47136
+ ],
47137
+ [
47138
+ 75,
47139
+ -58.333
47140
+ ],
47141
+ [
47142
+ 75,
47143
+ 58.333
47144
+ ],
47145
+ [
47146
+ 58.334,
47147
+ 75
47148
+ ],
47149
+ [
47150
+ -58.333,
47151
+ 75
47152
+ ],
47153
+ [
47154
+ -75,
47155
+ 58.333
47156
+ ],
47157
+ [
47158
+ -75,
47159
+ -58.333
47160
+ ]
47161
+ ]
47162
+ },
47163
+ ix: 2
47164
+ }
47165
+ },
47166
+ {
47167
+ ty: "st",
47168
+ bm: 0,
47169
+ hd: false,
47170
+ mn: "ADBE Vector Graphic - Stroke",
47171
+ nm: "Stroke 1",
47172
+ lc: 2,
47173
+ lj: 2,
47174
+ ml: 1,
47175
+ o: {
47176
+ a: 0,
47177
+ k: 100,
47178
+ ix: 4
47179
+ },
47180
+ w: {
47181
+ a: 0,
47182
+ k: 13,
47183
+ ix: 5
47184
+ },
47185
+ c: {
47186
+ a: 0,
47187
+ k: [
47188
+ 0.0235,
47189
+ 0.4039,
47190
+ 0.4078
47191
+ ],
47192
+ ix: 3
47193
+ }
47194
+ },
47195
+ {
47196
+ ty: "tr",
47197
+ a: {
47198
+ a: 0,
47199
+ k: [
47200
+ 0,
47201
+ 0
47202
+ ],
47203
+ ix: 1
47204
+ },
47205
+ s: {
47206
+ a: 0,
47207
+ k: [
47208
+ 100,
47209
+ 100
47210
+ ],
47211
+ ix: 3
47212
+ },
47213
+ sk: {
47214
+ a: 0,
47215
+ k: 0,
47216
+ ix: 4
47217
+ },
47218
+ p: {
47219
+ a: 0,
47220
+ k: [
47221
+ 88,
47222
+ 88
47223
+ ],
47224
+ ix: 2
47225
+ },
47226
+ r: {
47227
+ a: 0,
47228
+ k: 0,
47229
+ ix: 6
47230
+ },
47231
+ sa: {
47232
+ a: 0,
47233
+ k: 0,
47234
+ ix: 5
47235
+ },
47236
+ o: {
47237
+ a: 0,
47238
+ k: 100,
47239
+ ix: 7
47240
+ }
47241
+ }
47242
+ ]
47243
+ }
47244
+ ],
47245
+ ind: 6,
47246
+ parent: 1
47247
+ }
47248
+ ];
47249
+ var v$1 = "5.5.7";
47250
+ var fr$1 = 45;
47251
+ var op$1 = 41;
47252
+ var ip$1 = 0;
47253
+ var assets$1 = [
47254
+ ];
47255
+ var LoadingAnimation = {
47256
+ nm: nm$1,
47257
+ ddd: ddd$1,
47258
+ h: h$1,
47259
+ w: w$1,
47260
+ meta: meta,
47261
+ layers: layers$1,
47262
+ v: v$1,
47263
+ fr: fr$1,
47264
+ op: op$1,
47265
+ ip: ip$1,
47266
+ assets: assets$1
47267
+ };
47268
+
47269
+ // TableFooter.styles.js
47270
+ const FooterWrapper = styled__default["default"].div`
47271
+ display: flex;
47272
+ align-items: center;
47273
+ justify-content: space-between;
47274
+ padding: 15px 20px 15px 15px;
47275
+ gap: 16px;
47276
+ `;
47277
+ const FooterLabel = styled__default["default"].span`
47278
+ font-size: 14px;
47279
+ font-weight: 400;
47280
+ color: #8B8989;
47281
+ white-space: nowrap;
47282
+ font-family: 'Poppins', sans-serif;
47283
+ `;
47284
+ const FooterLabelBold = styled__default["default"].span`
47285
+ font-size: 14px;
47286
+ font-weight: 600;
47287
+ color: #8B8989;
47288
+ font-family: 'Poppins', sans-serif;
47289
+ `;
47290
+ const FooterLoadingGroup = styled__default["default"].div`
47291
+ display: flex;
47292
+ align-items: center;
47293
+ gap: 8px;
47294
+ `;
47295
+ const FooterLottieWrapper = styled__default["default"].div`
47296
+ width: 16px;
47297
+ height: 16px;
47298
+ display: flex;
47299
+ align-items: center;
47300
+ `;
47301
+ const FooterProgressTrack = styled__default["default"].div`
47302
+ width: 160px;
47303
+ height: 6px;
47304
+ background-color: #F2F2F2;
47305
+ border-radius: 12px;
47306
+ flex-shrink: 0;
47307
+ `;
47308
+ const FooterProgressFill = styled__default["default"].div`
47309
+ height: 100%;
47310
+ width: ${props => props.percent}%;
47311
+ background: #066768;
47312
+ border-radius: 12px;
47313
+ transition: width 0.3s ease-in-out;
47314
+ `;
47315
+
47316
+ // TableFooter.jsx
47317
+ const TableFooter = ({
47318
+ visibleFirst,
47319
+ visibleLast,
47320
+ total,
47321
+ rowLabel,
47322
+ isLoading,
47323
+ isLoadingText
47324
+ }) => {
47325
+ if (total <= 0) return null;
47326
+ return /*#__PURE__*/React__default["default"].createElement(FooterWrapper, null, /*#__PURE__*/React__default["default"].createElement(FooterLabel, null, "Rows ", /*#__PURE__*/React__default["default"].createElement(FooterLabelBold, null, visibleFirst, "\u2013", visibleLast), " of ", /*#__PURE__*/React__default["default"].createElement(FooterLabelBold, null, total), rowLabel ? ` ${rowLabel}` : ""), isLoading && /*#__PURE__*/React__default["default"].createElement(FooterLoadingGroup, null, /*#__PURE__*/React__default["default"].createElement(FooterLottieWrapper, null, /*#__PURE__*/React__default["default"].createElement(Lottie, {
47327
+ animationData: LoadingAnimation,
47328
+ loop: true
47329
+ })), /*#__PURE__*/React__default["default"].createElement(FooterLabel, null, isLoadingText || "Loading...")), /*#__PURE__*/React__default["default"].createElement(FooterProgressTrack, null, /*#__PURE__*/React__default["default"].createElement(FooterProgressFill, {
47330
+ percent: Math.round(visibleLast / total * 100)
47331
+ })));
47332
+ };
47333
+
47334
+ /**
47335
+ * Return an array of <tr> DOM elements that represent *data rows* only.
47336
+ *
47337
+ * We intentionally cache the actual DOM nodes (not row IDs / not data objects),
47338
+ * because the scroll-time work needs to measure row positions efficiently via
47339
+ * getBoundingClientRect().
47340
+ *
47341
+ * Expanded content rows are excluded. In our table, an expanded row is a
47342
+ * "detail-only" row rendered as a single <td colSpan="...">, and it should not
47343
+ * be counted as a real data row for "visible rows" calculations.
47344
+ */
47345
+ const buildDataRowsCache = scrollEl => {
47346
+ const allRows = Array.from(scrollEl.querySelectorAll("tbody tr"));
47347
+ return allRows.filter(row => !row.querySelector("td[colspan]"));
47348
+ };
47349
+
47350
+ /**
47351
+ * Given the cached data-row <tr> elements, compute which 1-based row indices
47352
+ * overlap the scroll container’s visible viewport.
47353
+ *
47354
+ * This runs during scrolling, so it avoids DOM queries and only reads layout
47355
+ * (getBoundingClientRect).
47356
+ */
47357
+ const getVisibleRowRange = (scrollEl, cachedDataRows) => {
47358
+ if (cachedDataRows.length === 0) return {
47359
+ first: 1,
47360
+ last: 0
47361
+ };
47362
+ const containerRect = scrollEl.getBoundingClientRect();
47363
+ let first = null;
47364
+ let last = null;
47365
+ cachedDataRows.forEach((row, index) => {
47366
+ const rect = row.getBoundingClientRect();
47367
+
47368
+ // "Visible" here means the row overlaps the container viewport.
47369
+ if (rect.bottom > containerRect.top && rect.top < containerRect.bottom) {
47370
+ if (first === null) first = index + 1; // 1-based row number
47371
+ last = index + 1;
46871
47372
  }
46872
- // Destroy any previous instance
46873
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
46874
- // Build the animation configuration
46875
- var config = _objectSpread2(_objectSpread2(_objectSpread2({}, props), forcedConfigs), {}, {
46876
- container: animationContainer.current
46877
- });
46878
- // Save the animation instance
46879
- animationInstanceRef.current = lottie.loadAnimation(config);
46880
- setAnimationLoaded(!!animationInstanceRef.current);
46881
- // Return a function that will clean up
46882
- return function () {
46883
- var _a;
46884
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
46885
- animationInstanceRef.current = undefined;
46886
- };
47373
+ });
47374
+ return {
47375
+ first: first !== null ? first : 1,
47376
+ last: last !== null ? last : 0
46887
47377
  };
46888
- /**
46889
- * (Re)Initialize when animation data changed
47378
+ };
47379
+ const useVisibleRows = ({
47380
+ scrollWrapperRef,
47381
+ dataLength,
47382
+ showFooter,
47383
+ expandedRows
47384
+ }) => {
47385
+ // 1-based indices for UI display, e.g. "Showing 21–40"
47386
+ const [visibleFirst, setVisibleFirst] = React$1.useState(1);
47387
+ const [visibleLast, setVisibleLast] = React$1.useState(0);
47388
+
47389
+ /**
47390
+ * Cache of <tr> DOM elements for data rows only.
47391
+ * This prevents repeated DOM querying during scroll.
46890
47392
  */
46891
- React$1.useEffect(function () {
46892
- var onUnmount = loadAnimation();
46893
- // Clean up on unmount
46894
- return function () {
46895
- return onUnmount === null || onUnmount === void 0 ? void 0 : onUnmount();
46896
- };
46897
- // eslint-disable-next-line react-hooks/exhaustive-deps
46898
- }, [animationData, loop]);
46899
- // Update the autoplay state
46900
- React$1.useEffect(function () {
46901
- if (!animationInstanceRef.current) {
46902
- return;
46903
- }
46904
- animationInstanceRef.current.autoplay = !!autoplay;
46905
- }, [autoplay]);
46906
- // Update the initial segment state
46907
- React$1.useEffect(function () {
46908
- if (!animationInstanceRef.current) {
46909
- return;
46910
- }
46911
- // When null should reset to default animation length
46912
- if (!initialSegment) {
46913
- animationInstanceRef.current.resetSegments(true);
46914
- return;
46915
- }
46916
- // If it's not a valid segment, do nothing
46917
- if (!Array.isArray(initialSegment) || !initialSegment.length) {
47393
+ const dataRowsRef = React$1.useRef([]);
47394
+ const updateVisibleRows = el => {
47395
+ // Keep footer state consistent when the table becomes empty.
47396
+ if (dataLength === 0) {
47397
+ setVisibleFirst(1);
47398
+ setVisibleLast(0);
46918
47399
  return;
46919
47400
  }
46920
- // If the current position it's not in the new segment
46921
- // set the current position to start
46922
- if (animationInstanceRef.current.currentRawFrame < initialSegment[0] || animationInstanceRef.current.currentRawFrame > initialSegment[1]) {
46923
- animationInstanceRef.current.currentRawFrame = initialSegment[0];
46924
- }
46925
- // Update the segment
46926
- animationInstanceRef.current.setSegment(initialSegment[0], initialSegment[1]);
46927
- }, [initialSegment]);
46928
- /*
46929
- ======================================
46930
- EVENTS
46931
- ======================================
46932
- */
46933
- /**
46934
- * Reinitialize listener on change
47401
+ const {
47402
+ first,
47403
+ last
47404
+ } = getVisibleRowRange(el, dataRowsRef.current);
47405
+ setVisibleFirst(first);
47406
+ setVisibleLast(last);
47407
+ };
47408
+
47409
+ /**
47410
+ * Scroll listener: updates visible row range.
47411
+ *
47412
+ * We throttle to one update per animation frame using requestAnimationFrame,
47413
+ * which keeps scrolling smooth.
47414
+ *
47415
+ * Note: expandedRows is NOT a dependency here. When expansion changes, we
47416
+ * rebuild the cached rows in useLayoutEffect below, and the scroll handler
47417
+ * always reads the latest cache from dataRowsRef.current.
46935
47418
  */
46936
- React$1.useEffect(function () {
46937
- var partialListeners = [{
46938
- name: "complete",
46939
- handler: onComplete
46940
- }, {
46941
- name: "loopComplete",
46942
- handler: onLoopComplete
46943
- }, {
46944
- name: "enterFrame",
46945
- handler: onEnterFrame
46946
- }, {
46947
- name: "segmentStart",
46948
- handler: onSegmentStart
46949
- }, {
46950
- name: "config_ready",
46951
- handler: onConfigReady
46952
- }, {
46953
- name: "data_ready",
46954
- handler: onDataReady
46955
- }, {
46956
- name: "data_failed",
46957
- handler: onDataFailed
46958
- }, {
46959
- name: "loaded_images",
46960
- handler: onLoadedImages
46961
- }, {
46962
- name: "DOMLoaded",
46963
- handler: onDOMLoaded
46964
- }, {
46965
- name: "destroy",
46966
- handler: onDestroy
46967
- }];
46968
- var listeners = partialListeners.filter(function (listener) {
46969
- return listener.handler != null;
46970
- });
46971
- if (!listeners.length) {
46972
- return;
46973
- }
46974
- var deregisterList = listeners.map(
46975
- /**
46976
- * Handle the process of adding an event listener
46977
- * @param {Listener} listener
46978
- * @return {Function} Function that deregister the listener
46979
- */
46980
- function (listener) {
46981
- var _a;
46982
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener(listener.name, listener.handler);
46983
- // Return a function to deregister this listener
46984
- return function () {
46985
- var _a;
46986
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener(listener.name, listener.handler);
46987
- };
46988
- });
46989
- // Deregister listeners on unmount
46990
- return function () {
46991
- deregisterList.forEach(function (deregister) {
46992
- return deregister();
47419
+ React$1.useEffect(() => {
47420
+ if (!showFooter) return;
47421
+ const scrollWrapper = scrollWrapperRef.current;
47422
+ if (!scrollWrapper) return;
47423
+ let rafId = null;
47424
+ const handleScrollWithRAF = () => {
47425
+ if (rafId) return;
47426
+ rafId = requestAnimationFrame(() => {
47427
+ // Use the same element we attached the listener to.
47428
+ updateVisibleRows(scrollWrapper);
47429
+ rafId = null;
46993
47430
  });
46994
47431
  };
46995
- }, [onComplete, onLoopComplete, onEnterFrame, onSegmentStart, onConfigReady, onDataReady, onDataFailed, onLoadedImages, onDOMLoaded, onDestroy]);
46996
- /**
46997
- * Build the animation view
47432
+ scrollWrapper.addEventListener("scroll", handleScrollWithRAF);
47433
+ return () => {
47434
+ scrollWrapper.removeEventListener("scroll", handleScrollWithRAF);
47435
+ if (rafId) cancelAnimationFrame(rafId);
47436
+ };
47437
+ }, [showFooter, dataLength]);
47438
+
47439
+ /**
47440
+ * Rebuild the cached list of data-row <tr> elements whenever the table
47441
+ * structure changes:
47442
+ * - new data loaded
47443
+ * - row expanded/collapsed
47444
+ * - footer enabled/disabled
47445
+ *
47446
+ * useLayoutEffect runs after DOM updates but before paint, so our cached rows
47447
+ * and the computed visible range stay in sync with the latest layout.
46998
47448
  */
46999
- var View = /*#__PURE__*/React__default["default"].createElement("div", _objectSpread2({
47000
- style: style,
47001
- ref: animationContainer
47002
- }, rest));
47003
- return {
47004
- View: View,
47005
- play: play,
47006
- stop: stop,
47007
- pause: pause,
47008
- setSpeed: setSpeed,
47009
- goToAndStop: goToAndStop,
47010
- goToAndPlay: goToAndPlay,
47011
- setDirection: setDirection,
47012
- playSegments: playSegments,
47013
- setSubframe: setSubframe,
47014
- getDuration: getDuration,
47015
- destroy: destroy,
47016
- animationContainerRef: animationContainer,
47017
- animationLoaded: animationLoaded,
47018
- animationItem: animationInstanceRef.current
47019
- };
47020
- };
47021
-
47022
- // helpers
47023
- function getContainerVisibility(container) {
47024
- var _container$getBoundin = container.getBoundingClientRect(),
47025
- top = _container$getBoundin.top,
47026
- height = _container$getBoundin.height;
47027
- var current = window.innerHeight - top;
47028
- var max = window.innerHeight + height;
47029
- return current / max;
47030
- }
47031
- function getContainerCursorPosition(container, cursorX, cursorY) {
47032
- var _container$getBoundin2 = container.getBoundingClientRect(),
47033
- top = _container$getBoundin2.top,
47034
- left = _container$getBoundin2.left,
47035
- width = _container$getBoundin2.width,
47036
- height = _container$getBoundin2.height;
47037
- var x = (cursorX - left) / width;
47038
- var y = (cursorY - top) / height;
47039
- return {
47040
- x: x,
47041
- y: y
47042
- };
47043
- }
47044
- var useInitInteractivity = function useInitInteractivity(_ref) {
47045
- var wrapperRef = _ref.wrapperRef,
47046
- animationItem = _ref.animationItem,
47047
- mode = _ref.mode,
47048
- actions = _ref.actions;
47049
- React$1.useEffect(function () {
47050
- var wrapper = wrapperRef.current;
47051
- if (!wrapper || !animationItem || !actions.length) {
47449
+ React$1.useLayoutEffect(() => {
47450
+ const el = scrollWrapperRef.current;
47451
+ if (!el || !showFooter) return;
47452
+ if (dataLength === 0) {
47453
+ // Ensure we drop references + reset UI when data disappears.
47454
+ dataRowsRef.current = [];
47455
+ setVisibleFirst(1);
47456
+ setVisibleLast(0);
47052
47457
  return;
47053
47458
  }
47054
- animationItem.stop();
47055
- var scrollModeHandler = function scrollModeHandler() {
47056
- var assignedSegment = null;
47057
- var scrollHandler = function scrollHandler() {
47058
- var currentPercent = getContainerVisibility(wrapper);
47059
- // Find the first action that satisfies the current position conditions
47060
- var action = actions.find(function (_ref2) {
47061
- var visibility = _ref2.visibility;
47062
- return visibility && currentPercent >= visibility[0] && currentPercent <= visibility[1];
47063
- });
47064
- // Skip if no matching action was found!
47065
- if (!action) {
47066
- return;
47067
- }
47068
- if (action.type === "seek" && action.visibility && action.frames.length === 2) {
47069
- // Seek: Go to a frame based on player scroll position action
47070
- var frameToGo = action.frames[0] + Math.ceil((currentPercent - action.visibility[0]) / (action.visibility[1] - action.visibility[0]) * action.frames[1]);
47071
- //! goToAndStop must be relative to the start of the current segment
47072
- animationItem.goToAndStop(frameToGo - animationItem.firstFrame - 1, true);
47073
- }
47074
- if (action.type === "loop") {
47075
- // Loop: Loop a given frames
47076
- if (assignedSegment === null) {
47077
- // if not playing any segments currently. play those segments and save to state
47078
- animationItem.playSegments(action.frames, true);
47079
- assignedSegment = action.frames;
47080
- } else {
47081
- // if playing any segments currently.
47082
- //check if segments in state are equal to the frames selected by action
47083
- if (assignedSegment !== action.frames) {
47084
- // if they are not equal. new segments are to be loaded
47085
- animationItem.playSegments(action.frames, true);
47086
- assignedSegment = action.frames;
47087
- } else if (animationItem.isPaused) {
47088
- // if they are equal the play method must be called only if lottie is paused
47089
- animationItem.playSegments(action.frames, true);
47090
- assignedSegment = action.frames;
47091
- }
47092
- }
47093
- }
47094
- if (action.type === "play" && animationItem.isPaused) {
47095
- // Play: Reset segments and continue playing full animation from current position
47096
- animationItem.resetSegments(true);
47097
- animationItem.play();
47098
- }
47099
- if (action.type === "stop") {
47100
- // Stop: Stop playback
47101
- animationItem.goToAndStop(action.frames[0] - animationItem.firstFrame - 1, true);
47102
- }
47103
- };
47104
- document.addEventListener("scroll", scrollHandler);
47105
- return function () {
47106
- document.removeEventListener("scroll", scrollHandler);
47107
- };
47108
- };
47109
- var cursorModeHandler = function cursorModeHandler() {
47110
- var handleCursor = function handleCursor(_x, _y) {
47111
- var x = _x;
47112
- var y = _y;
47113
- // Resolve cursor position if cursor is inside container
47114
- if (x !== -1 && y !== -1) {
47115
- // Get container cursor position
47116
- var pos = getContainerCursorPosition(wrapper, x, y);
47117
- // Use the resolved position
47118
- x = pos.x;
47119
- y = pos.y;
47120
- }
47121
- // Find the first action that satisfies the current position conditions
47122
- var action = actions.find(function (_ref3) {
47123
- var position = _ref3.position;
47124
- if (position && Array.isArray(position.x) && Array.isArray(position.y)) {
47125
- return x >= position.x[0] && x <= position.x[1] && y >= position.y[0] && y <= position.y[1];
47126
- }
47127
- if (position && !Number.isNaN(position.x) && !Number.isNaN(position.y)) {
47128
- return x === position.x && y === position.y;
47129
- }
47130
- return false;
47131
- });
47132
- // Skip if no matching action was found!
47133
- if (!action) {
47134
- return;
47135
- }
47136
- // Process action types:
47137
- if (action.type === "seek" && action.position && Array.isArray(action.position.x) && Array.isArray(action.position.y) && action.frames.length === 2) {
47138
- // Seek: Go to a frame based on player scroll position action
47139
- var xPercent = (x - action.position.x[0]) / (action.position.x[1] - action.position.x[0]);
47140
- var yPercent = (y - action.position.y[0]) / (action.position.y[1] - action.position.y[0]);
47141
- animationItem.playSegments(action.frames, true);
47142
- animationItem.goToAndStop(Math.ceil((xPercent + yPercent) / 2 * (action.frames[1] - action.frames[0])), true);
47143
- }
47144
- if (action.type === "loop") {
47145
- animationItem.playSegments(action.frames, true);
47146
- }
47147
- if (action.type === "play") {
47148
- // Play: Reset segments and continue playing full animation from current position
47149
- if (animationItem.isPaused) {
47150
- animationItem.resetSegments(false);
47151
- }
47152
- animationItem.playSegments(action.frames);
47153
- }
47154
- if (action.type === "stop") {
47155
- animationItem.goToAndStop(action.frames[0], true);
47156
- }
47157
- };
47158
- var mouseMoveHandler = function mouseMoveHandler(ev) {
47159
- handleCursor(ev.clientX, ev.clientY);
47160
- };
47161
- var mouseOutHandler = function mouseOutHandler() {
47162
- handleCursor(-1, -1);
47163
- };
47164
- wrapper.addEventListener("mousemove", mouseMoveHandler);
47165
- wrapper.addEventListener("mouseout", mouseOutHandler);
47166
- return function () {
47167
- wrapper.removeEventListener("mousemove", mouseMoveHandler);
47168
- wrapper.removeEventListener("mouseout", mouseOutHandler);
47169
- };
47459
+ dataRowsRef.current = buildDataRowsCache(el);
47460
+ updateVisibleRows(el);
47461
+
47462
+ // Optional cleanup: explicitly drop DOM references on unmount/refresh.
47463
+ return () => {
47464
+ dataRowsRef.current = [];
47170
47465
  };
47171
- switch (mode) {
47172
- case "scroll":
47173
- return scrollModeHandler();
47174
- case "cursor":
47175
- return cursorModeHandler();
47176
- }
47177
- // eslint-disable-next-line react-hooks/exhaustive-deps
47178
- }, [mode, animationItem]);
47179
- };
47180
- var useLottieInteractivity = function useLottieInteractivity(_ref4) {
47181
- var actions = _ref4.actions,
47182
- mode = _ref4.mode,
47183
- lottieObj = _ref4.lottieObj;
47184
- var animationItem = lottieObj.animationItem,
47185
- View = lottieObj.View,
47186
- animationContainerRef = lottieObj.animationContainerRef;
47187
- useInitInteractivity({
47188
- actions: actions,
47189
- animationItem: animationItem,
47190
- mode: mode,
47191
- wrapperRef: animationContainerRef
47192
- });
47193
- return View;
47194
- };
47195
- var _excluded = ["style", "interactivity"];
47196
- var Lottie = function Lottie(props) {
47197
- var _a, _b, _c;
47198
- var style = props.style,
47199
- interactivity = props.interactivity,
47200
- lottieProps = _objectWithoutProperties(props, _excluded);
47201
- /**
47202
- * Initialize the 'useLottie' hook
47203
- */
47204
- var _useLottie = useLottie(lottieProps, style),
47205
- View = _useLottie.View,
47206
- play = _useLottie.play,
47207
- stop = _useLottie.stop,
47208
- pause = _useLottie.pause,
47209
- setSpeed = _useLottie.setSpeed,
47210
- goToAndStop = _useLottie.goToAndStop,
47211
- goToAndPlay = _useLottie.goToAndPlay,
47212
- setDirection = _useLottie.setDirection,
47213
- playSegments = _useLottie.playSegments,
47214
- setSubframe = _useLottie.setSubframe,
47215
- getDuration = _useLottie.getDuration,
47216
- destroy = _useLottie.destroy,
47217
- animationContainerRef = _useLottie.animationContainerRef,
47218
- animationLoaded = _useLottie.animationLoaded,
47219
- animationItem = _useLottie.animationItem;
47220
- /**
47221
- * Make the hook variables/methods available through the provided 'lottieRef'
47222
- */
47223
- React$1.useEffect(function () {
47224
- if (props.lottieRef) {
47225
- props.lottieRef.current = {
47226
- play: play,
47227
- stop: stop,
47228
- pause: pause,
47229
- setSpeed: setSpeed,
47230
- goToAndPlay: goToAndPlay,
47231
- goToAndStop: goToAndStop,
47232
- setDirection: setDirection,
47233
- playSegments: playSegments,
47234
- setSubframe: setSubframe,
47235
- getDuration: getDuration,
47236
- destroy: destroy,
47237
- animationContainerRef: animationContainerRef,
47238
- animationLoaded: animationLoaded,
47239
- animationItem: animationItem
47240
- };
47241
- }
47242
- // eslint-disable-next-line react-hooks/exhaustive-deps
47243
- }, [(_a = props.lottieRef) === null || _a === void 0 ? void 0 : _a.current]);
47244
- return useLottieInteractivity({
47245
- lottieObj: {
47246
- View: View,
47247
- play: play,
47248
- stop: stop,
47249
- pause: pause,
47250
- setSpeed: setSpeed,
47251
- goToAndStop: goToAndStop,
47252
- goToAndPlay: goToAndPlay,
47253
- setDirection: setDirection,
47254
- playSegments: playSegments,
47255
- setSubframe: setSubframe,
47256
- getDuration: getDuration,
47257
- destroy: destroy,
47258
- animationContainerRef: animationContainerRef,
47259
- animationLoaded: animationLoaded,
47260
- animationItem: animationItem
47261
- },
47262
- actions: (_b = interactivity === null || interactivity === void 0 ? void 0 : interactivity.actions) !== null && _b !== void 0 ? _b : [],
47263
- mode: (_c = interactivity === null || interactivity === void 0 ? void 0 : interactivity.mode) !== null && _c !== void 0 ? _c : "scroll"
47264
- });
47466
+ }, [dataLength, showFooter, expandedRows]);
47467
+ return {
47468
+ visibleFirst,
47469
+ visibleLast
47470
+ };
47265
47471
  };
47266
47472
 
47267
47473
  const NoSearchUpcIcon = ({
@@ -47470,12 +47676,25 @@ const Table = props => {
47470
47676
  initialSortColumn = null,
47471
47677
  initialSortValue = null,
47472
47678
  onFilterStateChange = null,
47473
- onSortStateChange = null
47679
+ onSortStateChange = null,
47680
+ // Footer props
47681
+ showFooter = false,
47682
+ total,
47683
+ rowLabel = ""
47474
47684
  } = props;
47475
47685
  const scrollWrapperRef = React$1.useRef(null);
47476
47686
  const tableBodyRef = React$1.useRef(null);
47477
47687
  const tableContainerRef = React$1.useRef(null);
47478
47688
  const [hasTriggered, setHasTriggered] = React$1.useState(false);
47689
+ const {
47690
+ visibleFirst,
47691
+ visibleLast
47692
+ } = useVisibleRows({
47693
+ scrollWrapperRef,
47694
+ dataLength: data.length,
47695
+ showFooter,
47696
+ expandedRows
47697
+ });
47479
47698
  const clearTableFocus = () => {
47480
47699
  if (tableBodyRef.current) {
47481
47700
  tableBodyRef.current.clearFocus();
@@ -47633,7 +47852,7 @@ const Table = props => {
47633
47852
  backgroundColor: buttonColor,
47634
47853
  hoverBackgroundColor: buttonHoverColor,
47635
47854
  onClick: onButtonClick
47636
- }))), isLoading && /*#__PURE__*/React__default["default"].createElement(LoadingWrapper$1, null, /*#__PURE__*/React__default["default"].createElement(Lottie, {
47855
+ }))), isLoading && !showFooter && /*#__PURE__*/React__default["default"].createElement(LoadingWrapper$1, null, /*#__PURE__*/React__default["default"].createElement(Lottie, {
47637
47856
  style: {
47638
47857
  width: "24px",
47639
47858
  height: "24px"
@@ -47642,7 +47861,14 @@ const Table = props => {
47642
47861
  loop: true
47643
47862
  }), /*#__PURE__*/React__default["default"].createElement(LoadingText$1, null, isLoadingText)), isLoadingSpinner && /*#__PURE__*/React__default["default"].createElement(LoaderWrapper, {
47644
47863
  id: "LoaderWrapper"
47645
- }, /*#__PURE__*/React__default["default"].createElement(Loader, null)))));
47864
+ }, /*#__PURE__*/React__default["default"].createElement(Loader, null)), showFooter && /*#__PURE__*/React__default["default"].createElement(TableFooter, {
47865
+ visibleFirst: visibleFirst,
47866
+ visibleLast: visibleLast,
47867
+ total: total,
47868
+ rowLabel: rowLabel,
47869
+ isLoading: isLoading,
47870
+ isLoadingText: isLoadingText
47871
+ }))));
47646
47872
  };
47647
47873
  Table.displayName = "Table";
47648
47874