odaptos_design_system 2.0.349 → 2.0.351

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.cjs CHANGED
@@ -319,9 +319,15 @@ style_inject_es_default(css_248z$82);
319
319
  * Supports: **bold**, *italic*, __underline__ (or <u>underline</u>), `code`, line breaks, and simple lists.
320
320
  */
321
321
  const renderInlineMarkdown = (rawText) => {
322
- if (rawText === null || rawText === void 0) return rawText;
323
- if (typeof rawText !== "string") return rawText;
324
- if (rawText.length === 0) return rawText;
322
+ const normalizeToDisplayText = (value) => {
323
+ if (value === null || value === void 0) return "";
324
+ if (typeof value === "string") return value;
325
+ if (value instanceof String) return value.toString();
326
+ if (typeof value === "number" || typeof value === "boolean" || typeof value === "bigint") return String(value);
327
+ return "";
328
+ };
329
+ const normalizedText = normalizeToDisplayText(rawText);
330
+ if (normalizedText.length === 0) return normalizedText;
325
331
  const renderCode = (text) => {
326
332
  return text.split(/`([^`]+)`/g).map((part, index) => {
327
333
  if (!(index % 2 === 1)) return part;
@@ -427,40 +433,44 @@ const renderInlineMarkdown = (rawText) => {
427
433
  const codeNodes = renderCode(text);
428
434
  return renderStrongAndEm(codeNodes);
429
435
  };
430
- const lines = rawText.split("\n");
431
- const blocks = [];
432
- let i = 0;
433
- while (i < lines.length) {
434
- const line = lines[i] ?? "";
435
- const unorderedMatch = line.match(/^\s*[-*]\s+(.*)$/);
436
- const orderedMatch = line.match(/^\s*(\d+)\.\s+(.*)$/);
437
- if (unorderedMatch) {
438
- const items = [];
439
- while (i < lines.length) {
440
- const match = (lines[i] ?? "").match(/^\s*[-*]\s+(.*)$/);
441
- if (!match) break;
442
- items.push(match[1]);
443
- i += 1;
436
+ try {
437
+ const lines = normalizedText.split("\n");
438
+ const blocks = [];
439
+ let i = 0;
440
+ while (i < lines.length) {
441
+ const line = lines[i] ?? "";
442
+ const unorderedMatch = line.match(/^\s*[-*]\s+(.*)$/);
443
+ const orderedMatch = line.match(/^\s*(\d+)\.\s+(.*)$/);
444
+ if (unorderedMatch) {
445
+ const items = [];
446
+ while (i < lines.length) {
447
+ const match = (lines[i] ?? "").match(/^\s*[-*]\s+(.*)$/);
448
+ if (!match) break;
449
+ items.push(match[1]);
450
+ i += 1;
451
+ }
452
+ blocks.push(/* @__PURE__ */ react.default.createElement("ul", { key: `ul-${blocks.length}` }, items.map((item, index) => /* @__PURE__ */ react.default.createElement("li", { key: `ul-li-${index}` }, renderInline(item)))));
453
+ continue;
444
454
  }
445
- blocks.push(/* @__PURE__ */ react.default.createElement("ul", { key: `ul-${blocks.length}` }, items.map((item, index) => /* @__PURE__ */ react.default.createElement("li", { key: `ul-li-${index}` }, renderInline(item)))));
446
- continue;
447
- }
448
- if (orderedMatch) {
449
- const items = [];
450
- while (i < lines.length) {
451
- const match = (lines[i] ?? "").match(/^\s*\d+\.\s+(.*)$/);
452
- if (!match) break;
453
- items.push(match[1]);
454
- i += 1;
455
+ if (orderedMatch) {
456
+ const items = [];
457
+ while (i < lines.length) {
458
+ const match = (lines[i] ?? "").match(/^\s*\d+\.\s+(.*)$/);
459
+ if (!match) break;
460
+ items.push(match[1]);
461
+ i += 1;
462
+ }
463
+ blocks.push(/* @__PURE__ */ react.default.createElement("ol", { key: `ol-${blocks.length}` }, items.map((item, index) => /* @__PURE__ */ react.default.createElement("li", { key: `ol-li-${index}` }, renderInline(item)))));
464
+ continue;
455
465
  }
456
- blocks.push(/* @__PURE__ */ react.default.createElement("ol", { key: `ol-${blocks.length}` }, items.map((item, index) => /* @__PURE__ */ react.default.createElement("li", { key: `ol-li-${index}` }, renderInline(item)))));
457
- continue;
466
+ blocks.push(/* @__PURE__ */ react.default.createElement(react.default.Fragment, { key: `p-${blocks.length}` }, renderInline(line)));
467
+ if (i < lines.length - 1) blocks.push(/* @__PURE__ */ react.default.createElement("br", { key: `br-${blocks.length}` }));
468
+ i += 1;
458
469
  }
459
- blocks.push(/* @__PURE__ */ react.default.createElement(react.default.Fragment, { key: `p-${blocks.length}` }, renderInline(line)));
460
- if (i < lines.length - 1) blocks.push(/* @__PURE__ */ react.default.createElement("br", { key: `br-${blocks.length}` }));
461
- i += 1;
470
+ return blocks;
471
+ } catch (error) {
472
+ return normalizedText;
462
473
  }
463
- return blocks;
464
474
  };
465
475
 
466
476
  //#endregion
@@ -13325,9 +13335,9 @@ function RespondentLogo({ ...rest }) {
13325
13335
 
13326
13336
  //#endregion
13327
13337
  //#region src/DesignTokens/Animations/lotties/recording-animation.json
13328
- var nm$9 = "Comp 1";
13338
+ var nm$10 = "Comp 1";
13329
13339
  var mn = "";
13330
- var layers$9 = [{
13340
+ var layers$10 = [{
13331
13341
  "ty": 4,
13332
13342
  "nm": "Shape Layer 2",
13333
13343
  "mn": "",
@@ -13741,9 +13751,9 @@ var layers$9 = [{
13741
13751
  }],
13742
13752
  "ind": 2
13743
13753
  }];
13744
- var ddd$9 = 0;
13745
- var h$9 = 64;
13746
- var w$9 = 64;
13754
+ var ddd$10 = 0;
13755
+ var h$10 = 64;
13756
+ var w$10 = 64;
13747
13757
  var meta$7 = {
13748
13758
  "a": "",
13749
13759
  "k": "",
@@ -13751,24 +13761,24 @@ var meta$7 = {
13751
13761
  "g": "LottieFiles AE 1.0.0",
13752
13762
  "tc": "#000000"
13753
13763
  };
13754
- var v$9 = "4.8.0";
13755
- var fr$12 = 29.9700012207031;
13756
- var op$9 = 41.0000016699642;
13757
- var ip$9 = 0;
13758
- var assets$9 = [];
13764
+ var v$10 = "4.8.0";
13765
+ var fr$13 = 29.9700012207031;
13766
+ var op$10 = 41.0000016699642;
13767
+ var ip$10 = 0;
13768
+ var assets$10 = [];
13759
13769
  var recording_animation_default = {
13760
- nm: nm$9,
13770
+ nm: nm$10,
13761
13771
  mn,
13762
- layers: layers$9,
13763
- ddd: ddd$9,
13764
- h: h$9,
13765
- w: w$9,
13772
+ layers: layers$10,
13773
+ ddd: ddd$10,
13774
+ h: h$10,
13775
+ w: w$10,
13766
13776
  meta: meta$7,
13767
- v: v$9,
13768
- fr: fr$12,
13769
- op: op$9,
13770
- ip: ip$9,
13771
- assets: assets$9
13777
+ v: v$10,
13778
+ fr: fr$13,
13779
+ op: op$10,
13780
+ ip: ip$10,
13781
+ assets: assets$10
13772
13782
  };
13773
13783
 
13774
13784
  //#endregion
@@ -13787,12 +13797,12 @@ function RecordingAnimation({ autoplay = true, loop = true, showControls = false
13787
13797
 
13788
13798
  //#endregion
13789
13799
  //#region src/DesignTokens/Animations/lotties/recording-white-animation.json
13790
- var nm$8 = "Flow 1";
13791
- var ddd$8 = 0;
13792
- var h$8 = 32;
13793
- var w$8 = 32;
13800
+ var nm$9 = "Flow 1";
13801
+ var ddd$9 = 0;
13802
+ var h$9 = 32;
13803
+ var w$9 = 32;
13794
13804
  var meta$6 = { "g": "LottieFiles Figma v86" };
13795
- var layers$8 = [{
13805
+ var layers$9 = [{
13796
13806
  "ty": 4,
13797
13807
  "nm": "Union",
13798
13808
  "sr": 1,
@@ -14627,23 +14637,23 @@ var layers$8 = [{
14627
14637
  ],
14628
14638
  "ind": 1
14629
14639
  }];
14630
- var v$8 = "5.7.0";
14631
- var fr$11 = 60;
14632
- var op$8 = 96.06;
14633
- var ip$8 = 0;
14634
- var assets$8 = [];
14640
+ var v$9 = "5.7.0";
14641
+ var fr$12 = 60;
14642
+ var op$9 = 96.06;
14643
+ var ip$9 = 0;
14644
+ var assets$9 = [];
14635
14645
  var recording_white_animation_default = {
14636
- nm: nm$8,
14637
- ddd: ddd$8,
14638
- h: h$8,
14639
- w: w$8,
14646
+ nm: nm$9,
14647
+ ddd: ddd$9,
14648
+ h: h$9,
14649
+ w: w$9,
14640
14650
  meta: meta$6,
14641
- layers: layers$8,
14642
- v: v$8,
14643
- fr: fr$11,
14644
- op: op$8,
14645
- ip: ip$8,
14646
- assets: assets$8
14651
+ layers: layers$9,
14652
+ v: v$9,
14653
+ fr: fr$12,
14654
+ op: op$9,
14655
+ ip: ip$9,
14656
+ assets: assets$9
14647
14657
  };
14648
14658
 
14649
14659
  //#endregion
@@ -14662,16 +14672,16 @@ function RecordingWhiteAnimation({ autoplay = true, loop = true, showControls =
14662
14672
 
14663
14673
  //#endregion
14664
14674
  //#region src/DesignTokens/Animations/lotties/sound-input-animation.json
14665
- var v$7 = "5.5.2";
14666
- var fr$10 = 29.9700012207031;
14667
- var ip$7 = 0;
14668
- var op$7 = 60.0000024438501;
14669
- var w$7 = 488;
14670
- var h$7 = 488;
14671
- var nm$7 = "recording spectrum_MAIN";
14672
- var ddd$7 = 0;
14673
- var assets$7 = [];
14674
- var layers$7 = [
14675
+ var v$8 = "5.5.2";
14676
+ var fr$11 = 29.9700012207031;
14677
+ var ip$8 = 0;
14678
+ var op$8 = 60.0000024438501;
14679
+ var w$8 = 488;
14680
+ var h$8 = 488;
14681
+ var nm$8 = "recording spectrum_MAIN";
14682
+ var ddd$8 = 0;
14683
+ var assets$8 = [];
14684
+ var layers$8 = [
14675
14685
  {
14676
14686
  "ddd": 0,
14677
14687
  "ind": 1,
@@ -16510,8 +16520,505 @@ var layers$7 = [
16510
16520
  "bm": 0
16511
16521
  }
16512
16522
  ];
16513
- var markers$7 = [];
16523
+ var markers$8 = [];
16514
16524
  var sound_input_animation_default = {
16525
+ v: v$8,
16526
+ fr: fr$11,
16527
+ ip: ip$8,
16528
+ op: op$8,
16529
+ w: w$8,
16530
+ h: h$8,
16531
+ nm: nm$8,
16532
+ ddd: ddd$8,
16533
+ assets: assets$8,
16534
+ layers: layers$8,
16535
+ markers: markers$8
16536
+ };
16537
+
16538
+ //#endregion
16539
+ //#region src/DesignTokens/Animations/MediaControl/SoundInputAnimation.tsx
16540
+ function SoundInputAnimation({ autoplay = true, loop = true, showControls = false, style = {
16541
+ height: "100%",
16542
+ width: "100%"
16543
+ } }) {
16544
+ return /* @__PURE__ */ react.default.createElement(__lottiefiles_react_lottie_player.Player, {
16545
+ autoplay,
16546
+ loop,
16547
+ src: sound_input_animation_default,
16548
+ style
16549
+ }, showControls && /* @__PURE__ */ react.default.createElement(__lottiefiles_react_lottie_player.Controls, { visible: true }));
16550
+ }
16551
+
16552
+ //#endregion
16553
+ //#region src/DesignTokens/Animations/lotties/loader-circle-animation.json
16554
+ var v$7 = "5.5.5";
16555
+ var fr$10 = 25;
16556
+ var ip$7 = 0;
16557
+ var op$7 = 75;
16558
+ var w$7 = 600;
16559
+ var h$7 = 300;
16560
+ var nm$7 = "Loading-2";
16561
+ var ddd$7 = 0;
16562
+ var assets$7 = [];
16563
+ var layers$7 = [{
16564
+ "ddd": 0,
16565
+ "ind": 1,
16566
+ "ty": 4,
16567
+ "nm": "icon 2",
16568
+ "sr": 1,
16569
+ "ks": {
16570
+ "o": {
16571
+ "a": 0,
16572
+ "k": 100,
16573
+ "ix": 11
16574
+ },
16575
+ "r": {
16576
+ "a": 1,
16577
+ "k": [{
16578
+ "i": {
16579
+ "x": [.667],
16580
+ "y": [1]
16581
+ },
16582
+ "o": {
16583
+ "x": [.333],
16584
+ "y": [0]
16585
+ },
16586
+ "t": 39,
16587
+ "s": [-90]
16588
+ }, {
16589
+ "t": 79,
16590
+ "s": [270]
16591
+ }],
16592
+ "ix": 10
16593
+ },
16594
+ "p": {
16595
+ "a": 0,
16596
+ "k": [
16597
+ 300,
16598
+ 150,
16599
+ 0
16600
+ ],
16601
+ "ix": 2
16602
+ },
16603
+ "a": {
16604
+ "a": 0,
16605
+ "k": [
16606
+ 53,
16607
+ 53,
16608
+ 0
16609
+ ],
16610
+ "ix": 1
16611
+ },
16612
+ "s": {
16613
+ "a": 0,
16614
+ "k": [
16615
+ 199.99999999999997,
16616
+ 200.00000000000006,
16617
+ 100
16618
+ ],
16619
+ "ix": 6
16620
+ }
16621
+ },
16622
+ "ao": 0,
16623
+ "shapes": [{
16624
+ "ty": "gr",
16625
+ "it": [
16626
+ {
16627
+ "ind": 0,
16628
+ "ty": "sh",
16629
+ "ix": 1,
16630
+ "ks": {
16631
+ "a": 0,
16632
+ "k": {
16633
+ "i": [
16634
+ [0, -15.464],
16635
+ [15.464, 0],
16636
+ [0, 15.464],
16637
+ [-15.464, 0]
16638
+ ],
16639
+ "o": [
16640
+ [0, 15.464],
16641
+ [-15.464, 0],
16642
+ [0, -15.464],
16643
+ [15.464, 0]
16644
+ ],
16645
+ "v": [
16646
+ [28, 0],
16647
+ [0, 28],
16648
+ [-28, 0],
16649
+ [0, -28]
16650
+ ],
16651
+ "c": true
16652
+ },
16653
+ "ix": 2
16654
+ },
16655
+ "nm": "Path 1",
16656
+ "mn": "ADBE Vector Shape - Group",
16657
+ "hd": false
16658
+ },
16659
+ {
16660
+ "ty": "st",
16661
+ "c": {
16662
+ "a": 0,
16663
+ "k": [
16664
+ 0,
16665
+ 0,
16666
+ 0,
16667
+ 1
16668
+ ],
16669
+ "ix": 3
16670
+ },
16671
+ "o": {
16672
+ "a": 0,
16673
+ "k": 100,
16674
+ "ix": 4
16675
+ },
16676
+ "w": {
16677
+ "a": 0,
16678
+ "k": 10,
16679
+ "ix": 5
16680
+ },
16681
+ "lc": 2,
16682
+ "lj": 1,
16683
+ "ml": 10,
16684
+ "bm": 0,
16685
+ "nm": "Stroke 1",
16686
+ "mn": "ADBE Vector Graphic - Stroke",
16687
+ "hd": false
16688
+ },
16689
+ {
16690
+ "ty": "tr",
16691
+ "p": {
16692
+ "a": 0,
16693
+ "k": [53, 53],
16694
+ "ix": 2
16695
+ },
16696
+ "a": {
16697
+ "a": 0,
16698
+ "k": [0, 0],
16699
+ "ix": 1
16700
+ },
16701
+ "s": {
16702
+ "a": 0,
16703
+ "k": [100, 100],
16704
+ "ix": 3
16705
+ },
16706
+ "r": {
16707
+ "a": 0,
16708
+ "k": 0,
16709
+ "ix": 6
16710
+ },
16711
+ "o": {
16712
+ "a": 0,
16713
+ "k": 100,
16714
+ "ix": 7
16715
+ },
16716
+ "sk": {
16717
+ "a": 0,
16718
+ "k": 0,
16719
+ "ix": 4
16720
+ },
16721
+ "sa": {
16722
+ "a": 0,
16723
+ "k": 0,
16724
+ "ix": 5
16725
+ },
16726
+ "nm": "Transform"
16727
+ }
16728
+ ],
16729
+ "nm": "Group 1",
16730
+ "np": 2,
16731
+ "cix": 2,
16732
+ "bm": 0,
16733
+ "ix": 1,
16734
+ "mn": "ADBE Vector Group",
16735
+ "hd": false
16736
+ }, {
16737
+ "ty": "tm",
16738
+ "s": {
16739
+ "a": 1,
16740
+ "k": [{
16741
+ "i": {
16742
+ "x": [.667],
16743
+ "y": [1]
16744
+ },
16745
+ "o": {
16746
+ "x": [.333],
16747
+ "y": [0]
16748
+ },
16749
+ "t": 51,
16750
+ "s": [0]
16751
+ }, {
16752
+ "t": 79,
16753
+ "s": [100]
16754
+ }],
16755
+ "ix": 1
16756
+ },
16757
+ "e": {
16758
+ "a": 1,
16759
+ "k": [{
16760
+ "i": {
16761
+ "x": [.667],
16762
+ "y": [1]
16763
+ },
16764
+ "o": {
16765
+ "x": [.333],
16766
+ "y": [0]
16767
+ },
16768
+ "t": 39,
16769
+ "s": [0]
16770
+ }, {
16771
+ "t": 64,
16772
+ "s": [100]
16773
+ }],
16774
+ "ix": 2
16775
+ },
16776
+ "o": {
16777
+ "a": 0,
16778
+ "k": 0,
16779
+ "ix": 3
16780
+ },
16781
+ "m": 1,
16782
+ "ix": 2,
16783
+ "nm": "Trim Paths 1",
16784
+ "mn": "ADBE Vector Filter - Trim",
16785
+ "hd": false
16786
+ }],
16787
+ "ip": 39,
16788
+ "op": 79,
16789
+ "st": 39,
16790
+ "bm": 0
16791
+ }, {
16792
+ "ddd": 0,
16793
+ "ind": 2,
16794
+ "ty": 4,
16795
+ "nm": "icon",
16796
+ "sr": 1,
16797
+ "ks": {
16798
+ "o": {
16799
+ "a": 0,
16800
+ "k": 100,
16801
+ "ix": 11
16802
+ },
16803
+ "r": {
16804
+ "a": 1,
16805
+ "k": [{
16806
+ "i": {
16807
+ "x": [.667],
16808
+ "y": [1]
16809
+ },
16810
+ "o": {
16811
+ "x": [.333],
16812
+ "y": [0]
16813
+ },
16814
+ "t": 0,
16815
+ "s": [-90]
16816
+ }, {
16817
+ "t": 40,
16818
+ "s": [270]
16819
+ }],
16820
+ "ix": 10
16821
+ },
16822
+ "p": {
16823
+ "a": 0,
16824
+ "k": [
16825
+ 300,
16826
+ 150,
16827
+ 0
16828
+ ],
16829
+ "ix": 2
16830
+ },
16831
+ "a": {
16832
+ "a": 0,
16833
+ "k": [
16834
+ 53,
16835
+ 53,
16836
+ 0
16837
+ ],
16838
+ "ix": 1
16839
+ },
16840
+ "s": {
16841
+ "a": 0,
16842
+ "k": [
16843
+ 199.99999999999997,
16844
+ 200.00000000000006,
16845
+ 100
16846
+ ],
16847
+ "ix": 6
16848
+ }
16849
+ },
16850
+ "ao": 0,
16851
+ "shapes": [{
16852
+ "ty": "gr",
16853
+ "it": [
16854
+ {
16855
+ "ind": 0,
16856
+ "ty": "sh",
16857
+ "ix": 1,
16858
+ "ks": {
16859
+ "a": 0,
16860
+ "k": {
16861
+ "i": [
16862
+ [0, -15.464],
16863
+ [15.464, 0],
16864
+ [0, 15.464],
16865
+ [-15.464, 0]
16866
+ ],
16867
+ "o": [
16868
+ [0, 15.464],
16869
+ [-15.464, 0],
16870
+ [0, -15.464],
16871
+ [15.464, 0]
16872
+ ],
16873
+ "v": [
16874
+ [28, 0],
16875
+ [0, 28],
16876
+ [-28, 0],
16877
+ [0, -28]
16878
+ ],
16879
+ "c": true
16880
+ },
16881
+ "ix": 2
16882
+ },
16883
+ "nm": "Path 1",
16884
+ "mn": "ADBE Vector Shape - Group",
16885
+ "hd": false
16886
+ },
16887
+ {
16888
+ "ty": "st",
16889
+ "c": {
16890
+ "a": 0,
16891
+ "k": [
16892
+ 0,
16893
+ 0,
16894
+ 0,
16895
+ 1
16896
+ ],
16897
+ "ix": 3
16898
+ },
16899
+ "o": {
16900
+ "a": 0,
16901
+ "k": 100,
16902
+ "ix": 4
16903
+ },
16904
+ "w": {
16905
+ "a": 0,
16906
+ "k": 10,
16907
+ "ix": 5
16908
+ },
16909
+ "lc": 2,
16910
+ "lj": 1,
16911
+ "ml": 10,
16912
+ "bm": 0,
16913
+ "nm": "Stroke 1",
16914
+ "mn": "ADBE Vector Graphic - Stroke",
16915
+ "hd": false
16916
+ },
16917
+ {
16918
+ "ty": "tr",
16919
+ "p": {
16920
+ "a": 0,
16921
+ "k": [53, 53],
16922
+ "ix": 2
16923
+ },
16924
+ "a": {
16925
+ "a": 0,
16926
+ "k": [0, 0],
16927
+ "ix": 1
16928
+ },
16929
+ "s": {
16930
+ "a": 0,
16931
+ "k": [100, 100],
16932
+ "ix": 3
16933
+ },
16934
+ "r": {
16935
+ "a": 0,
16936
+ "k": 0,
16937
+ "ix": 6
16938
+ },
16939
+ "o": {
16940
+ "a": 0,
16941
+ "k": 100,
16942
+ "ix": 7
16943
+ },
16944
+ "sk": {
16945
+ "a": 0,
16946
+ "k": 0,
16947
+ "ix": 4
16948
+ },
16949
+ "sa": {
16950
+ "a": 0,
16951
+ "k": 0,
16952
+ "ix": 5
16953
+ },
16954
+ "nm": "Transform"
16955
+ }
16956
+ ],
16957
+ "nm": "Group 1",
16958
+ "np": 2,
16959
+ "cix": 2,
16960
+ "bm": 0,
16961
+ "ix": 1,
16962
+ "mn": "ADBE Vector Group",
16963
+ "hd": false
16964
+ }, {
16965
+ "ty": "tm",
16966
+ "s": {
16967
+ "a": 1,
16968
+ "k": [{
16969
+ "i": {
16970
+ "x": [.667],
16971
+ "y": [1]
16972
+ },
16973
+ "o": {
16974
+ "x": [.333],
16975
+ "y": [0]
16976
+ },
16977
+ "t": 12,
16978
+ "s": [0]
16979
+ }, {
16980
+ "t": 40,
16981
+ "s": [100]
16982
+ }],
16983
+ "ix": 1
16984
+ },
16985
+ "e": {
16986
+ "a": 1,
16987
+ "k": [{
16988
+ "i": {
16989
+ "x": [.667],
16990
+ "y": [1]
16991
+ },
16992
+ "o": {
16993
+ "x": [.333],
16994
+ "y": [0]
16995
+ },
16996
+ "t": 0,
16997
+ "s": [0]
16998
+ }, {
16999
+ "t": 25,
17000
+ "s": [100]
17001
+ }],
17002
+ "ix": 2
17003
+ },
17004
+ "o": {
17005
+ "a": 0,
17006
+ "k": 0,
17007
+ "ix": 3
17008
+ },
17009
+ "m": 1,
17010
+ "ix": 2,
17011
+ "nm": "Trim Paths 1",
17012
+ "mn": "ADBE Vector Filter - Trim",
17013
+ "hd": false
17014
+ }],
17015
+ "ip": 0,
17016
+ "op": 40,
17017
+ "st": 0,
17018
+ "bm": 0
17019
+ }];
17020
+ var markers$7 = [];
17021
+ var loader_circle_animation_default = {
16515
17022
  v: v$7,
16516
17023
  fr: fr$10,
16517
17024
  ip: ip$7,
@@ -16526,15 +17033,44 @@ var sound_input_animation_default = {
16526
17033
  };
16527
17034
 
16528
17035
  //#endregion
16529
- //#region src/DesignTokens/Animations/MediaControl/SoundInputAnimation.tsx
16530
- function SoundInputAnimation({ autoplay = true, loop = true, showControls = false, style = {
17036
+ //#region src/DesignTokens/Animations/MediaControl/LoaderCircleAnimation.tsx
17037
+ function hexToLottieColor(hex) {
17038
+ const cleanHex = hex.replace("#", "");
17039
+ const r = parseInt(cleanHex.slice(0, 2), 16) / 255;
17040
+ const g = parseInt(cleanHex.slice(2, 4), 16) / 255;
17041
+ const b = parseInt(cleanHex.slice(4, 6), 16) / 255;
17042
+ return [
17043
+ r,
17044
+ g,
17045
+ b,
17046
+ 1
17047
+ ];
17048
+ }
17049
+ function replaceColorsInItems(items, color) {
17050
+ items.forEach((item) => {
17051
+ if ((item.ty === "st" || item.ty === "fl") && item.c?.k) item.c.k = color;
17052
+ if (Array.isArray(item.it)) replaceColorsInItems(item.it, color);
17053
+ });
17054
+ }
17055
+ function replaceLottieColors(animationData, color) {
17056
+ const clonedData = structuredClone(animationData);
17057
+ clonedData.layers?.forEach((layer) => {
17058
+ if (Array.isArray(layer.shapes)) replaceColorsInItems(layer.shapes, color);
17059
+ });
17060
+ return clonedData;
17061
+ }
17062
+ function LoaderCircleAnimation({ autoplay = true, loop = true, showControls = false, style = {
16531
17063
  height: "100%",
16532
17064
  width: "100%"
16533
- } }) {
17065
+ }, color = "#000000" }) {
17066
+ const animationData = (0, react.useMemo)(() => {
17067
+ return replaceLottieColors(loader_circle_animation_default, hexToLottieColor(color));
17068
+ }, [color]);
16534
17069
  return /* @__PURE__ */ react.default.createElement(__lottiefiles_react_lottie_player.Player, {
17070
+ key: color,
16535
17071
  autoplay,
16536
17072
  loop,
16537
- src: sound_input_animation_default,
17073
+ src: animationData,
16538
17074
  style
16539
17075
  }, showControls && /* @__PURE__ */ react.default.createElement(__lottiefiles_react_lottie_player.Controls, { visible: true }));
16540
17076
  }
@@ -74095,19 +74631,19 @@ const getHighlightedText = (description, clusters) => {
74095
74631
  });
74096
74632
  highlights.sort((a, b) => a.start - b.start);
74097
74633
  let merged = [];
74098
- for (let h$10 of highlights) if (merged.length > 0 && h$10.start < merged[merged.length - 1].end) merged[merged.length - 1].end = Math.max(merged[merged.length - 1].end, h$10.end);
74099
- else merged.push({ ...h$10 });
74100
- merged.forEach((h$10, idx) => {
74101
- if (lastIndex < h$10.start) elements.push(description.slice(lastIndex, h$10.start));
74102
- const treatedHighlightColor = changeColorLuminance((0, colord.colord)(h$10.color), 90);
74634
+ for (let h$11 of highlights) if (merged.length > 0 && h$11.start < merged[merged.length - 1].end) merged[merged.length - 1].end = Math.max(merged[merged.length - 1].end, h$11.end);
74635
+ else merged.push({ ...h$11 });
74636
+ merged.forEach((h$11, idx) => {
74637
+ if (lastIndex < h$11.start) elements.push(description.slice(lastIndex, h$11.start));
74638
+ const treatedHighlightColor = changeColorLuminance((0, colord.colord)(h$11.color), 90);
74103
74639
  elements.push(/* @__PURE__ */ react.default.createElement("span", {
74104
- key: `highlight_${h$10.start}_${h$10.end}_${h$10.name}_${idx}`,
74640
+ key: `highlight_${h$11.start}_${h$11.end}_${h$11.name}_${idx}`,
74105
74641
  style: {
74106
74642
  backgroundColor: treatedHighlightColor,
74107
- color: changeColorLuminance((0, colord.colord)(h$10.color), 30)
74643
+ color: changeColorLuminance((0, colord.colord)(h$11.color), 30)
74108
74644
  }
74109
- }, description.slice(h$10.start, h$10.end)));
74110
- lastIndex = h$10.end;
74645
+ }, description.slice(h$11.start, h$11.end)));
74646
+ lastIndex = h$11.end;
74111
74647
  });
74112
74648
  if (lastIndex < description.length) elements.push(description.slice(lastIndex));
74113
74649
  return elements;
@@ -78169,6 +78705,7 @@ exports.Link = Link;
78169
78705
  exports.LinkIcon = LinkIcon;
78170
78706
  exports.LinkedInIcon = LinkedInIcon;
78171
78707
  exports.ListToDoIcon = ListToDoIcon;
78708
+ exports.LoaderCircleAnimation = LoaderCircleAnimation;
78172
78709
  exports.LockIcon = LockIcon;
78173
78710
  exports.LogoBeta = LogoBeta;
78174
78711
  exports.LogoBlack = LogoBlack;