@bigbinary/neeto-molecules 1.0.22 → 1.0.24

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.
@@ -2,12 +2,12 @@
2
2
 
3
3
  var ramda = require('ramda');
4
4
  var React = require('react');
5
- var reactQuery = require('react-query');
6
- var pure = require('@bigbinary/neeto-commons-frontend/pure');
7
- var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
8
5
  var neetoIcons = require('@bigbinary/neeto-icons');
9
6
  var neetoui = require('@bigbinary/neetoui');
10
7
  var reactI18next = require('react-i18next');
8
+ var reactQuery = require('react-query');
9
+ var pure = require('@bigbinary/neeto-commons-frontend/pure');
10
+ var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
11
11
  var logos = require('@bigbinary/neeto-icons/logos');
12
12
  var utils = require('@bigbinary/neeto-commons-frontend/utils');
13
13
  var formik = require('formik');
@@ -379,7 +379,7 @@ var FRAMEWORK_SELECT_OPTIONS = (cov_ejy6rtpli().s[12]++, [{
379
379
  label: "PHP",
380
380
  value: AVAILABLE_FRAMEWORK_OPTIONS.php
381
381
  }]);
382
- var SAMPLE_USER_IDENTITY_CODE_STRING = (cov_ejy6rtpli().s[13]++, (_ref$1 = {}, _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.rails, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"<%= current_user.id %>\", // User identifier\"\n name: \"<%= current_user.name %>\", // Full name\n email: \"<%= current_user.name %>\", // Email address\n started_at: \"<%= current_user.created_at.to_i %>\" // Signup date as a Unix timestamp ,\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.django, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"{{ request.user.name|escapejs }}\", // User identifier\n name: \"{{ request.user.name|escapejs }}\", // Full name\n email: \"{{ request.user.email|escapejs }}\", // Email address\n started_at: \"{{ request.user.date_joined|date:'U' }}\" // Signup date as a Unix timestamp\"\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.php, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: <?php echo json_encode($current_user->id) ?>, // User identifier\n name: <?php echo json_encode($current_user->name) ?>, // Full name\n email: <?php echo json_encode($current_user->email) ?>, // Email address\n started_at: \"<?php echo strtotime($current_user->created_at) ?>\" // Signup date as a Unix timestamp\" ,\n }")), _ref$1));
382
+ var SAMPLE_USER_IDENTITY_CODE_STRING = (cov_ejy6rtpli().s[13]++, (_ref$1 = {}, _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.rails, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"<%= current_user.id %>\", // User identifier\"\n name: \"<%= current_user.name %>\", // Full name\n email: \"<%= current_user.email %>\", // Email address\n started_at: \"<%= current_user.created_at.to_i %>\" // Signup date as a Unix timestamp ,\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.django, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: \"{{ request.user.id|escapejs }}\", // User identifier\n name: \"{{ request.user.name|escapejs }}\", // Full name\n email: \"{{ request.user.email|escapejs }}\", // Email address\n started_at: \"{{ request.user.created_at|date:'U' }}\" // Signup date as a Unix timestamp\"\n }")), _defineProperty(_ref$1, AVAILABLE_FRAMEWORK_OPTIONS.php, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {\n user_identifier: <?php echo json_encode($current_user->id) ?>, // User identifier\n name: <?php echo json_encode($current_user->name) ?>, // Full name\n email: <?php echo json_encode($current_user->email) ?>, // Email address\n started_at: <?php echo strtotime($current_user->created_at) ?> // Signup date as a Unix timestamp\" ,\n }")), _ref$1));
383
383
  var WIDGET_CONFIG_URL = (cov_ejy6rtpli().s[14]++, "api/widget/v1/neeto_widget_tokens");
384
384
  var EMBED_CODE_EMAIL_URL = (cov_ejy6rtpli().s[15]++, "api/widget/v1/email_snippets");
385
385
  var WIDGET_KB_BASE_URL = (cov_ejy6rtpli().s[16]++, "https://neetowidgethelp.neetokb.com");
@@ -461,6 +461,69 @@ function _slicedToArray(arr, i) {
461
461
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
462
462
  }
463
463
 
464
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
465
+
466
+ var classnames$1 = {exports: {}};
467
+
468
+ /*!
469
+ Copyright (c) 2018 Jed Watson.
470
+ Licensed under the MIT License (MIT), see
471
+ http://jedwatson.github.io/classnames
472
+ */
473
+
474
+ (function (module) {
475
+ /* global define */
476
+
477
+ (function () {
478
+
479
+ var hasOwn = {}.hasOwnProperty;
480
+
481
+ function classNames() {
482
+ var classes = [];
483
+
484
+ for (var i = 0; i < arguments.length; i++) {
485
+ var arg = arguments[i];
486
+ if (!arg) continue;
487
+
488
+ var argType = typeof arg;
489
+
490
+ if (argType === 'string' || argType === 'number') {
491
+ classes.push(arg);
492
+ } else if (Array.isArray(arg)) {
493
+ if (arg.length) {
494
+ var inner = classNames.apply(null, arg);
495
+ if (inner) {
496
+ classes.push(inner);
497
+ }
498
+ }
499
+ } else if (argType === 'object') {
500
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
501
+ classes.push(arg.toString());
502
+ continue;
503
+ }
504
+
505
+ for (var key in arg) {
506
+ if (hasOwn.call(arg, key) && arg[key]) {
507
+ classes.push(key);
508
+ }
509
+ }
510
+ }
511
+ }
512
+
513
+ return classes.join(' ');
514
+ }
515
+
516
+ if (module.exports) {
517
+ classNames.default = classNames;
518
+ module.exports = classNames;
519
+ } else {
520
+ window.classNames = classNames;
521
+ }
522
+ }());
523
+ } (classnames$1));
524
+
525
+ var classnames = classnames$1.exports;
526
+
464
527
  function _objectWithoutPropertiesLoose(source, excluded) {
465
528
  if (source == null) return {};
466
529
  var target = {};
@@ -684,69 +747,6 @@ var PageLoader = function PageLoader(_ref) {
684
747
  };
685
748
  cov_1rnptrlqih().s[2]++;
686
749
 
687
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
688
-
689
- var classnames$1 = {exports: {}};
690
-
691
- /*!
692
- Copyright (c) 2018 Jed Watson.
693
- Licensed under the MIT License (MIT), see
694
- http://jedwatson.github.io/classnames
695
- */
696
-
697
- (function (module) {
698
- /* global define */
699
-
700
- (function () {
701
-
702
- var hasOwn = {}.hasOwnProperty;
703
-
704
- function classNames() {
705
- var classes = [];
706
-
707
- for (var i = 0; i < arguments.length; i++) {
708
- var arg = arguments[i];
709
- if (!arg) continue;
710
-
711
- var argType = typeof arg;
712
-
713
- if (argType === 'string' || argType === 'number') {
714
- classes.push(arg);
715
- } else if (Array.isArray(arg)) {
716
- if (arg.length) {
717
- var inner = classNames.apply(null, arg);
718
- if (inner) {
719
- classes.push(inner);
720
- }
721
- }
722
- } else if (argType === 'object') {
723
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
724
- classes.push(arg.toString());
725
- continue;
726
- }
727
-
728
- for (var key in arg) {
729
- if (hasOwn.call(arg, key) && arg[key]) {
730
- classes.push(key);
731
- }
732
- }
733
- }
734
- }
735
-
736
- return classes.join(' ');
737
- }
738
-
739
- if (module.exports) {
740
- classNames.default = classNames;
741
- module.exports = classNames;
742
- } else {
743
- window.classNames = classNames;
744
- }
745
- }());
746
- } (classnames$1));
747
-
748
- var classnames = classnames$1.exports;
749
-
750
750
  var prism = {exports: {}};
751
751
 
752
752
  (function (module) {
@@ -3627,7 +3627,7 @@ var CodeBlock = function CodeBlock(_ref) {
3627
3627
  })), /*#__PURE__*/React__default["default"].createElement("div", {
3628
3628
  className: "flex flex-shrink-0 items-center justify-end gap-2"
3629
3629
  }, sendViaEmail ? (cov_2d7912y0n9().b[9][0]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
3630
- style: "secondary",
3630
+ style: "text",
3631
3631
  label: t("neetoMolecules.widget.installation.snippet.sendViaEmail"),
3632
3632
  onClick: sendViaEmail
3633
3633
  })) : (cov_2d7912y0n9().b[9][1]++, null), (cov_2d7912y0n9().b[10][0]++, showCopyButton) && (cov_2d7912y0n9().b[10][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
@@ -4019,7 +4019,7 @@ try {
4019
4019
 
4020
4020
  function cov_1ajsf5p84l() {
4021
4021
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/utils.js";
4022
- var hash = "1a18af6d8a19aec81d8316de6749ed773a151cfc";
4022
+ var hash = "49a8f712173793016480ba7b66ebcfd23dde4bb9";
4023
4023
  var global = new Function("return this")();
4024
4024
  var gcv = "__coverage__";
4025
4025
  var coverageData = {
@@ -4281,190 +4281,240 @@ function cov_1ajsf5p84l() {
4281
4281
  column: 37
4282
4282
  },
4283
4283
  end: {
4284
- line: 83,
4285
- column: 3
4284
+ line: 88,
4285
+ column: 1
4286
4286
  }
4287
4287
  },
4288
4288
  "26": {
4289
4289
  start: {
4290
- line: 66,
4291
- column: 2
4290
+ line: 67,
4291
+ column: 4
4292
4292
  },
4293
4293
  end: {
4294
- line: 83,
4295
- column: 3
4294
+ line: 67,
4295
+ column: 67
4296
4296
  }
4297
4297
  },
4298
4298
  "27": {
4299
4299
  start: {
4300
- line: 70,
4301
- column: 8
4300
+ line: 69,
4301
+ column: 2
4302
4302
  },
4303
4303
  end: {
4304
- line: 78,
4305
- column: 9
4304
+ line: 87,
4305
+ column: 4
4306
4306
  }
4307
4307
  },
4308
4308
  "28": {
4309
4309
  start: {
4310
- line: 77,
4311
- column: 10
4310
+ line: 72,
4311
+ column: 27
4312
4312
  },
4313
4313
  end: {
4314
- line: 77,
4315
- column: 49
4314
+ line: 72,
4315
+ column: 48
4316
4316
  }
4317
4317
  },
4318
4318
  "29": {
4319
4319
  start: {
4320
- line: 80,
4321
- column: 8
4320
+ line: 73,
4321
+ column: 34
4322
4322
  },
4323
4323
  end: {
4324
- line: 80,
4325
- column: 19
4324
+ line: 73,
4325
+ column: 59
4326
4326
  }
4327
4327
  },
4328
4328
  "30": {
4329
4329
  start: {
4330
- line: 85,
4331
- column: 44
4330
+ line: 74,
4331
+ column: 32
4332
4332
  },
4333
4333
  end: {
4334
- line: 98,
4335
- column: 11
4334
+ line: 74,
4335
+ column: 60
4336
4336
  }
4337
4337
  },
4338
4338
  "31": {
4339
4339
  start: {
4340
- line: 86,
4341
- column: 2
4340
+ line: 76,
4341
+ column: 10
4342
4342
  },
4343
4343
  end: {
4344
- line: 98,
4345
- column: 11
4344
+ line: 76,
4345
+ column: 63
4346
4346
  }
4347
4347
  },
4348
4348
  "32": {
4349
4349
  start: {
4350
- line: 100,
4351
- column: 54
4350
+ line: 77,
4351
+ column: 8
4352
4352
  },
4353
4353
  end: {
4354
- line: 103,
4355
- column: 2
4354
+ line: 82,
4355
+ column: 9
4356
4356
  }
4357
4357
  },
4358
4358
  "33": {
4359
4359
  start: {
4360
- line: 100,
4361
- column: 66
4360
+ line: 81,
4361
+ column: 10
4362
4362
  },
4363
4363
  end: {
4364
- line: 103,
4365
- column: 1
4364
+ line: 81,
4365
+ column: 22
4366
4366
  }
4367
4367
  },
4368
4368
  "34": {
4369
4369
  start: {
4370
- line: 105,
4371
- column: 46
4370
+ line: 84,
4371
+ column: 8
4372
4372
  },
4373
4373
  end: {
4374
- line: 119,
4375
- column: 1
4374
+ line: 84,
4375
+ column: 19
4376
4376
  }
4377
4377
  },
4378
4378
  "35": {
4379
4379
  start: {
4380
- line: 106,
4381
- column: 26
4380
+ line: 90,
4381
+ column: 44
4382
4382
  },
4383
4383
  end: {
4384
- line: 106,
4385
- column: 77
4384
+ line: 103,
4385
+ column: 11
4386
4386
  }
4387
4387
  },
4388
4388
  "36": {
4389
4389
  start: {
4390
- line: 106,
4391
- column: 48
4390
+ line: 91,
4391
+ column: 2
4392
4392
  },
4393
4393
  end: {
4394
- line: 106,
4395
- column: 76
4394
+ line: 103,
4395
+ column: 11
4396
4396
  }
4397
4397
  },
4398
4398
  "37": {
4399
4399
  start: {
4400
- line: 108,
4401
- column: 2
4400
+ line: 105,
4401
+ column: 54
4402
4402
  },
4403
4403
  end: {
4404
- line: 110,
4405
- column: 3
4404
+ line: 108,
4405
+ column: 2
4406
4406
  }
4407
4407
  },
4408
4408
  "38": {
4409
4409
  start: {
4410
- line: 109,
4411
- column: 4
4410
+ line: 105,
4411
+ column: 66
4412
4412
  },
4413
4413
  end: {
4414
- line: 109,
4415
- column: 30
4414
+ line: 108,
4415
+ column: 1
4416
4416
  }
4417
4417
  },
4418
4418
  "39": {
4419
4419
  start: {
4420
- line: 112,
4421
- column: 2
4420
+ line: 110,
4421
+ column: 46
4422
4422
  },
4423
4423
  end: {
4424
- line: 118,
4425
- column: 5
4424
+ line: 126,
4425
+ column: 1
4426
4426
  }
4427
4427
  },
4428
4428
  "40": {
4429
4429
  start: {
4430
- line: 121,
4431
- column: 53
4430
+ line: 111,
4431
+ column: 26
4432
4432
  },
4433
4433
  end: {
4434
- line: 131,
4435
- column: 4
4434
+ line: 113,
4435
+ column: 48
4436
4436
  }
4437
4437
  },
4438
4438
  "41": {
4439
4439
  start: {
4440
- line: 122,
4441
- column: 2
4440
+ line: 113,
4441
+ column: 19
4442
4442
  },
4443
4443
  end: {
4444
- line: 131,
4445
- column: 4
4444
+ line: 113,
4445
+ column: 47
4446
4446
  }
4447
4447
  },
4448
4448
  "42": {
4449
4449
  start: {
4450
- line: 133,
4451
- column: 34
4450
+ line: 115,
4451
+ column: 2
4452
4452
  },
4453
4453
  end: {
4454
- line: 134,
4455
- column: 71
4454
+ line: 117,
4455
+ column: 3
4456
4456
  }
4457
4457
  },
4458
4458
  "43": {
4459
4459
  start: {
4460
- line: 134,
4461
- column: 2
4460
+ line: 116,
4461
+ column: 4
4462
4462
  },
4463
4463
  end: {
4464
- line: 134,
4465
- column: 71
4464
+ line: 116,
4465
+ column: 30
4466
4466
  }
4467
- }
4467
+ },
4468
+ "44": {
4469
+ start: {
4470
+ line: 119,
4471
+ column: 2
4472
+ },
4473
+ end: {
4474
+ line: 125,
4475
+ column: 5
4476
+ }
4477
+ },
4478
+ "45": {
4479
+ start: {
4480
+ line: 128,
4481
+ column: 53
4482
+ },
4483
+ end: {
4484
+ line: 138,
4485
+ column: 4
4486
+ }
4487
+ },
4488
+ "46": {
4489
+ start: {
4490
+ line: 129,
4491
+ column: 2
4492
+ },
4493
+ end: {
4494
+ line: 138,
4495
+ column: 4
4496
+ }
4497
+ },
4498
+ "47": {
4499
+ start: {
4500
+ line: 140,
4501
+ column: 34
4502
+ },
4503
+ end: {
4504
+ line: 141,
4505
+ column: 71
4506
+ }
4507
+ },
4508
+ "48": {
4509
+ start: {
4510
+ line: 141,
4511
+ column: 2
4512
+ },
4513
+ end: {
4514
+ line: 141,
4515
+ column: 71
4516
+ }
4517
+ }
4468
4518
  },
4469
4519
  fnMap: {
4470
4520
  "0": {
@@ -4745,183 +4795,183 @@ function cov_1ajsf5p84l() {
4745
4795
  },
4746
4796
  loc: {
4747
4797
  start: {
4748
- line: 66,
4749
- column: 2
4798
+ line: 65,
4799
+ column: 76
4750
4800
  },
4751
4801
  end: {
4752
- line: 83,
4753
- column: 3
4802
+ line: 88,
4803
+ column: 1
4754
4804
  }
4755
4805
  },
4756
- line: 66
4806
+ line: 65
4757
4807
  },
4758
4808
  "12": {
4759
4809
  name: "(anonymous_12)",
4760
4810
  decl: {
4761
4811
  start: {
4762
- line: 69,
4812
+ line: 71,
4763
4813
  column: 11
4764
4814
  },
4765
4815
  end: {
4766
- line: 69,
4816
+ line: 71,
4767
4817
  column: 12
4768
4818
  }
4769
4819
  },
4770
4820
  loc: {
4771
4821
  start: {
4772
- line: 69,
4822
+ line: 71,
4773
4823
  column: 18
4774
4824
  },
4775
4825
  end: {
4776
- line: 81,
4826
+ line: 85,
4777
4827
  column: 7
4778
4828
  }
4779
4829
  },
4780
- line: 69
4830
+ line: 71
4781
4831
  },
4782
4832
  "13": {
4783
4833
  name: "(anonymous_13)",
4784
4834
  decl: {
4785
4835
  start: {
4786
- line: 85,
4836
+ line: 90,
4787
4837
  column: 44
4788
4838
  },
4789
4839
  end: {
4790
- line: 85,
4840
+ line: 90,
4791
4841
  column: 45
4792
4842
  }
4793
4843
  },
4794
4844
  loc: {
4795
4845
  start: {
4796
- line: 86,
4846
+ line: 91,
4797
4847
  column: 2
4798
4848
  },
4799
4849
  end: {
4800
- line: 98,
4850
+ line: 103,
4801
4851
  column: 11
4802
4852
  }
4803
4853
  },
4804
- line: 86
4854
+ line: 91
4805
4855
  },
4806
4856
  "14": {
4807
4857
  name: "(anonymous_14)",
4808
4858
  decl: {
4809
4859
  start: {
4810
- line: 100,
4860
+ line: 105,
4811
4861
  column: 54
4812
4862
  },
4813
4863
  end: {
4814
- line: 100,
4864
+ line: 105,
4815
4865
  column: 55
4816
4866
  }
4817
4867
  },
4818
4868
  loc: {
4819
4869
  start: {
4820
- line: 100,
4870
+ line: 105,
4821
4871
  column: 66
4822
4872
  },
4823
4873
  end: {
4824
- line: 103,
4874
+ line: 108,
4825
4875
  column: 1
4826
4876
  }
4827
4877
  },
4828
- line: 100
4878
+ line: 105
4829
4879
  },
4830
4880
  "15": {
4831
4881
  name: "(anonymous_15)",
4832
4882
  decl: {
4833
4883
  start: {
4834
- line: 105,
4884
+ line: 110,
4835
4885
  column: 46
4836
4886
  },
4837
4887
  end: {
4838
- line: 105,
4888
+ line: 110,
4839
4889
  column: 47
4840
4890
  }
4841
4891
  },
4842
4892
  loc: {
4843
4893
  start: {
4844
- line: 105,
4894
+ line: 110,
4845
4895
  column: 77
4846
4896
  },
4847
4897
  end: {
4848
- line: 119,
4898
+ line: 126,
4849
4899
  column: 1
4850
4900
  }
4851
4901
  },
4852
- line: 105
4902
+ line: 110
4853
4903
  },
4854
4904
  "16": {
4855
4905
  name: "(anonymous_16)",
4856
4906
  decl: {
4857
4907
  start: {
4858
- line: 106,
4859
- column: 38
4908
+ line: 113,
4909
+ column: 9
4860
4910
  },
4861
4911
  end: {
4862
- line: 106,
4863
- column: 39
4912
+ line: 113,
4913
+ column: 10
4864
4914
  }
4865
4915
  },
4866
4916
  loc: {
4867
4917
  start: {
4868
- line: 106,
4869
- column: 48
4918
+ line: 113,
4919
+ column: 19
4870
4920
  },
4871
4921
  end: {
4872
- line: 106,
4873
- column: 76
4922
+ line: 113,
4923
+ column: 47
4874
4924
  }
4875
4925
  },
4876
- line: 106
4926
+ line: 113
4877
4927
  },
4878
4928
  "17": {
4879
4929
  name: "(anonymous_17)",
4880
4930
  decl: {
4881
4931
  start: {
4882
- line: 121,
4932
+ line: 128,
4883
4933
  column: 53
4884
4934
  },
4885
4935
  end: {
4886
- line: 121,
4936
+ line: 128,
4887
4937
  column: 54
4888
4938
  }
4889
4939
  },
4890
4940
  loc: {
4891
4941
  start: {
4892
- line: 122,
4942
+ line: 129,
4893
4943
  column: 2
4894
4944
  },
4895
4945
  end: {
4896
- line: 131,
4946
+ line: 138,
4897
4947
  column: 4
4898
4948
  }
4899
4949
  },
4900
- line: 122
4950
+ line: 129
4901
4951
  },
4902
4952
  "18": {
4903
4953
  name: "(anonymous_18)",
4904
4954
  decl: {
4905
4955
  start: {
4906
- line: 133,
4956
+ line: 140,
4907
4957
  column: 34
4908
4958
  },
4909
4959
  end: {
4910
- line: 133,
4960
+ line: 140,
4911
4961
  column: 35
4912
4962
  }
4913
4963
  },
4914
4964
  loc: {
4915
4965
  start: {
4916
- line: 134,
4966
+ line: 141,
4917
4967
  column: 2
4918
4968
  },
4919
4969
  end: {
4920
- line: 134,
4970
+ line: 141,
4921
4971
  column: 71
4922
4972
  }
4923
4973
  },
4924
- line: 134
4974
+ line: 141
4925
4975
  }
4926
4976
  },
4927
4977
  branchMap: {
@@ -5102,22 +5152,64 @@ function cov_1ajsf5p84l() {
5102
5152
  "5": {
5103
5153
  loc: {
5104
5154
  start: {
5105
- line: 70,
5155
+ line: 76,
5156
+ column: 10
5157
+ },
5158
+ end: {
5159
+ line: 76,
5160
+ column: 63
5161
+ }
5162
+ },
5163
+ type: "binary-expr",
5164
+ locations: [{
5165
+ start: {
5166
+ line: 76,
5167
+ column: 10
5168
+ },
5169
+ end: {
5170
+ line: 76,
5171
+ column: 21
5172
+ }
5173
+ }, {
5174
+ start: {
5175
+ line: 76,
5176
+ column: 25
5177
+ },
5178
+ end: {
5179
+ line: 76,
5180
+ column: 43
5181
+ }
5182
+ }, {
5183
+ start: {
5184
+ line: 76,
5185
+ column: 47
5186
+ },
5187
+ end: {
5188
+ line: 76,
5189
+ column: 63
5190
+ }
5191
+ }],
5192
+ line: 76
5193
+ },
5194
+ "6": {
5195
+ loc: {
5196
+ start: {
5197
+ line: 77,
5106
5198
  column: 8
5107
5199
  },
5108
5200
  end: {
5109
- line: 78,
5201
+ line: 82,
5110
5202
  column: 9
5111
5203
  }
5112
5204
  },
5113
5205
  type: "if",
5114
5206
  locations: [{
5115
5207
  start: {
5116
- line: 70,
5208
+ line: 77,
5117
5209
  column: 8
5118
5210
  },
5119
5211
  end: {
5120
- line: 78,
5212
+ line: 82,
5121
5213
  column: 9
5122
5214
  }
5123
5215
  }, {
@@ -5130,219 +5222,201 @@ function cov_1ajsf5p84l() {
5130
5222
  column: undefined
5131
5223
  }
5132
5224
  }],
5133
- line: 70
5225
+ line: 77
5134
5226
  },
5135
- "6": {
5227
+ "7": {
5136
5228
  loc: {
5137
5229
  start: {
5138
- line: 71,
5230
+ line: 78,
5139
5231
  column: 10
5140
5232
  },
5141
5233
  end: {
5142
- line: 75,
5234
+ line: 79,
5143
5235
  column: 58
5144
5236
  }
5145
5237
  },
5146
5238
  type: "binary-expr",
5147
5239
  locations: [{
5148
5240
  start: {
5149
- line: 71,
5241
+ line: 78,
5150
5242
  column: 11
5151
5243
  },
5152
5244
  end: {
5153
- line: 71,
5245
+ line: 78,
5154
5246
  column: 31
5155
5247
  }
5156
5248
  }, {
5157
5249
  start: {
5158
- line: 72,
5159
- column: 12
5160
- },
5161
- end: {
5162
- line: 72,
5163
- column: 34
5164
- }
5165
- }, {
5166
- start: {
5167
- line: 73,
5168
- column: 12
5169
- },
5170
- end: {
5171
- line: 73,
5172
- column: 30
5173
- }
5174
- }, {
5175
- start: {
5176
- line: 74,
5177
- column: 12
5250
+ line: 78,
5251
+ column: 35
5178
5252
  },
5179
5253
  end: {
5180
- line: 74,
5181
- column: 30
5254
+ line: 78,
5255
+ column: 47
5182
5256
  }
5183
5257
  }, {
5184
5258
  start: {
5185
- line: 75,
5259
+ line: 79,
5186
5260
  column: 11
5187
5261
  },
5188
5262
  end: {
5189
- line: 75,
5263
+ line: 79,
5190
5264
  column: 31
5191
5265
  }
5192
5266
  }, {
5193
5267
  start: {
5194
- line: 75,
5268
+ line: 79,
5195
5269
  column: 35
5196
5270
  },
5197
5271
  end: {
5198
- line: 75,
5272
+ line: 79,
5199
5273
  column: 57
5200
5274
  }
5201
5275
  }],
5202
- line: 71
5276
+ line: 78
5203
5277
  },
5204
- "7": {
5278
+ "8": {
5205
5279
  loc: {
5206
5280
  start: {
5207
- line: 89,
5281
+ line: 94,
5208
5282
  column: 4
5209
5283
  },
5210
5284
  end: {
5211
- line: 91,
5285
+ line: 96,
5212
5286
  column: 10
5213
5287
  }
5214
5288
  },
5215
5289
  type: "cond-expr",
5216
5290
  locations: [{
5217
5291
  start: {
5218
- line: 90,
5292
+ line: 95,
5219
5293
  column: 8
5220
5294
  },
5221
5295
  end: {
5222
- line: 90,
5296
+ line: 95,
5223
5297
  column: 56
5224
5298
  }
5225
5299
  }, {
5226
5300
  start: {
5227
- line: 91,
5301
+ line: 96,
5228
5302
  column: 8
5229
5303
  },
5230
5304
  end: {
5231
- line: 91,
5305
+ line: 96,
5232
5306
  column: 10
5233
5307
  }
5234
5308
  }],
5235
- line: 89
5309
+ line: 94
5236
5310
  },
5237
- "8": {
5311
+ "9": {
5238
5312
  loc: {
5239
5313
  start: {
5240
- line: 89,
5314
+ line: 94,
5241
5315
  column: 4
5242
5316
  },
5243
5317
  end: {
5244
- line: 89,
5318
+ line: 94,
5245
5319
  column: 48
5246
5320
  }
5247
5321
  },
5248
5322
  type: "binary-expr",
5249
5323
  locations: [{
5250
5324
  start: {
5251
- line: 89,
5325
+ line: 94,
5252
5326
  column: 4
5253
5327
  },
5254
5328
  end: {
5255
- line: 89,
5329
+ line: 94,
5256
5330
  column: 23
5257
5331
  }
5258
5332
  }, {
5259
5333
  start: {
5260
- line: 89,
5334
+ line: 94,
5261
5335
  column: 27
5262
5336
  },
5263
5337
  end: {
5264
- line: 89,
5338
+ line: 94,
5265
5339
  column: 48
5266
5340
  }
5267
5341
  }],
5268
- line: 89
5342
+ line: 94
5269
5343
  },
5270
- "9": {
5344
+ "10": {
5271
5345
  loc: {
5272
5346
  start: {
5273
- line: 93,
5347
+ line: 98,
5274
5348
  column: 4
5275
5349
  },
5276
5350
  end: {
5277
- line: 93,
5351
+ line: 98,
5278
5352
  column: 70
5279
5353
  }
5280
5354
  },
5281
5355
  type: "cond-expr",
5282
5356
  locations: [{
5283
5357
  start: {
5284
- line: 93,
5358
+ line: 98,
5285
5359
  column: 28
5286
5360
  },
5287
5361
  end: {
5288
- line: 93,
5362
+ line: 98,
5289
5363
  column: 65
5290
5364
  }
5291
5365
  }, {
5292
5366
  start: {
5293
- line: 93,
5367
+ line: 98,
5294
5368
  column: 68
5295
5369
  },
5296
5370
  end: {
5297
- line: 93,
5371
+ line: 98,
5298
5372
  column: 70
5299
5373
  }
5300
5374
  }],
5301
- line: 93
5375
+ line: 98
5302
5376
  },
5303
- "10": {
5377
+ "11": {
5304
5378
  loc: {
5305
5379
  start: {
5306
- line: 105,
5380
+ line: 110,
5307
5381
  column: 56
5308
5382
  },
5309
5383
  end: {
5310
- line: 105,
5384
+ line: 110,
5311
5385
  column: 72
5312
5386
  }
5313
5387
  },
5314
5388
  type: "default-arg",
5315
5389
  locations: [{
5316
5390
  start: {
5317
- line: 105,
5391
+ line: 110,
5318
5392
  column: 67
5319
5393
  },
5320
5394
  end: {
5321
- line: 105,
5395
+ line: 110,
5322
5396
  column: 72
5323
5397
  }
5324
5398
  }],
5325
- line: 105
5399
+ line: 110
5326
5400
  },
5327
- "11": {
5401
+ "12": {
5328
5402
  loc: {
5329
5403
  start: {
5330
- line: 108,
5404
+ line: 115,
5331
5405
  column: 2
5332
5406
  },
5333
5407
  end: {
5334
- line: 110,
5408
+ line: 117,
5335
5409
  column: 3
5336
5410
  }
5337
5411
  },
5338
5412
  type: "if",
5339
5413
  locations: [{
5340
5414
  start: {
5341
- line: 108,
5415
+ line: 115,
5342
5416
  column: 2
5343
5417
  },
5344
5418
  end: {
5345
- line: 110,
5419
+ line: 117,
5346
5420
  column: 3
5347
5421
  }
5348
5422
  }, {
@@ -5355,40 +5429,40 @@ function cov_1ajsf5p84l() {
5355
5429
  column: undefined
5356
5430
  }
5357
5431
  }],
5358
- line: 108
5432
+ line: 115
5359
5433
  },
5360
- "12": {
5434
+ "13": {
5361
5435
  loc: {
5362
5436
  start: {
5363
- line: 115,
5437
+ line: 122,
5364
5438
  column: 9
5365
5439
  },
5366
5440
  end: {
5367
- line: 117,
5441
+ line: 124,
5368
5442
  column: 46
5369
5443
  }
5370
5444
  },
5371
5445
  type: "cond-expr",
5372
5446
  locations: [{
5373
5447
  start: {
5374
- line: 116,
5448
+ line: 123,
5375
5449
  column: 8
5376
5450
  },
5377
5451
  end: {
5378
- line: 116,
5452
+ line: 123,
5379
5453
  column: 76
5380
5454
  }
5381
5455
  }, {
5382
5456
  start: {
5383
- line: 117,
5457
+ line: 124,
5384
5458
  column: 8
5385
5459
  },
5386
5460
  end: {
5387
- line: 117,
5461
+ line: 124,
5388
5462
  column: 46
5389
5463
  }
5390
5464
  }],
5391
- line: 115
5465
+ line: 122
5392
5466
  }
5393
5467
  },
5394
5468
  s: {
@@ -5435,7 +5509,12 @@ function cov_1ajsf5p84l() {
5435
5509
  "40": 0,
5436
5510
  "41": 0,
5437
5511
  "42": 0,
5438
- "43": 0
5512
+ "43": 0,
5513
+ "44": 0,
5514
+ "45": 0,
5515
+ "46": 0,
5516
+ "47": 0,
5517
+ "48": 0
5439
5518
  },
5440
5519
  f: {
5441
5520
  "0": 0,
@@ -5464,17 +5543,18 @@ function cov_1ajsf5p84l() {
5464
5543
  "2": [0, 0],
5465
5544
  "3": [0, 0, 0, 0],
5466
5545
  "4": [0, 0],
5467
- "5": [0, 0],
5468
- "6": [0, 0, 0, 0, 0, 0],
5469
- "7": [0, 0],
5546
+ "5": [0, 0, 0],
5547
+ "6": [0, 0],
5548
+ "7": [0, 0, 0, 0],
5470
5549
  "8": [0, 0],
5471
5550
  "9": [0, 0],
5472
- "10": [0],
5473
- "11": [0, 0],
5474
- "12": [0, 0]
5551
+ "10": [0, 0],
5552
+ "11": [0],
5553
+ "12": [0, 0],
5554
+ "13": [0, 0]
5475
5555
  },
5476
5556
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
5477
- hash: "1a18af6d8a19aec81d8316de6749ed773a151cfc"
5557
+ hash: "49a8f712173793016480ba7b66ebcfd23dde4bb9"
5478
5558
  };
5479
5559
  var coverage = global[gcv] || (global[gcv] = {});
5480
5560
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -5574,73 +5654,78 @@ var filterMarkedCommands = function filterMarkedCommands(queryString) {
5574
5654
  cov_1ajsf5p84l().s[25]++;
5575
5655
  var getSampleUserIdentity = function getSampleUserIdentity(enabledWidgets, selectedFramework) {
5576
5656
  cov_1ajsf5p84l().f[11]++;
5577
- cov_1ajsf5p84l().s[26]++;
5578
- return filterMarkedCommands(SAMPLE_USER_IDENTITY_CODE_STRING[selectedFramework].split("\n").map(function (cmd) {
5657
+ var splitCodeLines = (cov_1ajsf5p84l().s[26]++, SAMPLE_USER_IDENTITY_CODE_STRING[selectedFramework].split("\n"));
5658
+ cov_1ajsf5p84l().s[27]++;
5659
+ return filterMarkedCommands(splitCodeLines.map(function (cmd) {
5579
5660
  cov_1ajsf5p84l().f[12]++;
5580
- cov_1ajsf5p84l().s[27]++;
5581
- if ((cov_1ajsf5p84l().b[6][0]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[6][1]++, !cmd.includes("email")) && (cov_1ajsf5p84l().b[6][2]++, !cmd.includes("{")) && (cov_1ajsf5p84l().b[6][3]++, !cmd.includes("}")) || (cov_1ajsf5p84l().b[6][4]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[6][5]++, !enabledWidgets.replay)) {
5582
- cov_1ajsf5p84l().b[5][0]++;
5583
- cov_1ajsf5p84l().s[28]++;
5584
- return getCommentedCommand(cmd, false);
5661
+ var isEmailKey = (cov_1ajsf5p84l().s[28]++, cmd.includes("email"));
5662
+ var isObjectStartLine = (cov_1ajsf5p84l().s[29]++, cmd === splitCodeLines[0]);
5663
+ var isObjectEndLine = (cov_1ajsf5p84l().s[30]++, cmd === ramda.last(splitCodeLines));
5664
+ var isLineHidden = (cov_1ajsf5p84l().s[31]++, (cov_1ajsf5p84l().b[5][0]++, !isEmailKey) && (cov_1ajsf5p84l().b[5][1]++, !isObjectStartLine) && (cov_1ajsf5p84l().b[5][2]++, !isObjectEndLine));
5665
+ cov_1ajsf5p84l().s[32]++;
5666
+ if ((cov_1ajsf5p84l().b[7][0]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[7][1]++, isLineHidden) || (cov_1ajsf5p84l().b[7][2]++, !enabledWidgets.chat) && (cov_1ajsf5p84l().b[7][3]++, !enabledWidgets.replay)) {
5667
+ cov_1ajsf5p84l().b[6][0]++;
5668
+ cov_1ajsf5p84l().s[33]++;
5669
+ return null;
5585
5670
  } else {
5586
- cov_1ajsf5p84l().b[5][1]++;
5671
+ cov_1ajsf5p84l().b[6][1]++;
5587
5672
  }
5588
- cov_1ajsf5p84l().s[29]++;
5673
+ cov_1ajsf5p84l().s[34]++;
5589
5674
  return cmd;
5590
5675
  }).join("\n"));
5591
5676
  };
5592
- cov_1ajsf5p84l().s[30]++;
5677
+ cov_1ajsf5p84l().s[35]++;
5593
5678
  var sampleConsolidatedCodeString = function sampleConsolidatedCodeString(enabledWidgets, apiKey) {
5594
5679
  cov_1ajsf5p84l().f[13]++;
5595
- cov_1ajsf5p84l().s[31]++;
5596
- return filterMarkedCommands("".concat(buildEmbedWidgetScript(), "\n<script>\n ").concat((cov_1ajsf5p84l().b[8][0]++, enabledWidgets.chat) || (cov_1ajsf5p84l().b[8][1]++, enabledWidgets.replay) ? (cov_1ajsf5p84l().b[7][0]++, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {};")) : (cov_1ajsf5p84l().b[7][1]++, ""), "\n ").concat(enabledWidgets.replay ? (cov_1ajsf5p84l().b[9][0]++, "window.".concat(SESSION_CONTEXT_KEY, " = {};")) : (cov_1ajsf5p84l().b[9][1]++, ""), "\n\n ").concat(indentAndFormat(wrapBlockInOnLoad(embedWidgetFunctionCall(enabledWidgets, apiKey))), "\n</script>"));
5680
+ cov_1ajsf5p84l().s[36]++;
5681
+ return filterMarkedCommands("".concat(buildEmbedWidgetScript(), "\n<script>\n ").concat((cov_1ajsf5p84l().b[9][0]++, enabledWidgets.chat) || (cov_1ajsf5p84l().b[9][1]++, enabledWidgets.replay) ? (cov_1ajsf5p84l().b[8][0]++, "window.".concat(NEETO_WIDGET_USER_IDENTITY_KEY, " = {};")) : (cov_1ajsf5p84l().b[8][1]++, ""), "\n ").concat(enabledWidgets.replay ? (cov_1ajsf5p84l().b[10][0]++, "window.".concat(SESSION_CONTEXT_KEY, " = {};")) : (cov_1ajsf5p84l().b[10][1]++, ""), "\n\n ").concat(indentAndFormat(wrapBlockInOnLoad(embedWidgetFunctionCall(enabledWidgets, apiKey))), "\n</script>"));
5597
5682
  };
5598
- cov_1ajsf5p84l().s[32]++;
5683
+ cov_1ajsf5p84l().s[37]++;
5599
5684
  var getEmailWidgetSnippetFormInitialValues = function getEmailWidgetSnippetFormInitialValues(subject) {
5600
5685
  cov_1ajsf5p84l().f[14]++;
5601
- cov_1ajsf5p84l().s[33]++;
5686
+ cov_1ajsf5p84l().s[38]++;
5602
5687
  return {
5603
5688
  emails: "",
5604
5689
  subject: subject
5605
5690
  };
5606
5691
  };
5607
- cov_1ajsf5p84l().s[34]++;
5692
+ cov_1ajsf5p84l().s[39]++;
5608
5693
  var getSelectedWidgetsCombinedText = function getSelectedWidgetsCombinedText(widgets) {
5609
- var withHtml = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_1ajsf5p84l().b[10][0]++, false);
5694
+ var withHtml = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_1ajsf5p84l().b[11][0]++, false);
5610
5695
  cov_1ajsf5p84l().f[15]++;
5611
- var prefixedWidgets = (cov_1ajsf5p84l().s[35]++, widgets.map(function (widget) {
5696
+ var prefixedWidgets = (cov_1ajsf5p84l().s[40]++, widgets.sort().map(function (widget) {
5612
5697
  cov_1ajsf5p84l().f[16]++;
5613
- cov_1ajsf5p84l().s[36]++;
5698
+ cov_1ajsf5p84l().s[41]++;
5614
5699
  return "neeto".concat(pure.capitalize(widget));
5615
5700
  }));
5616
- cov_1ajsf5p84l().s[37]++;
5701
+ cov_1ajsf5p84l().s[42]++;
5617
5702
  if (prefixedWidgets.length === 1) {
5618
- cov_1ajsf5p84l().b[11][0]++;
5619
- cov_1ajsf5p84l().s[38]++;
5703
+ cov_1ajsf5p84l().b[12][0]++;
5704
+ cov_1ajsf5p84l().s[43]++;
5620
5705
  return prefixedWidgets[0];
5621
5706
  } else {
5622
- cov_1ajsf5p84l().b[11][1]++;
5707
+ cov_1ajsf5p84l().b[12][1]++;
5623
5708
  }
5624
- cov_1ajsf5p84l().s[39]++;
5709
+ cov_1ajsf5p84l().s[44]++;
5625
5710
  return i18next__default["default"].t("neetoMolecules.common.andSentence", {
5626
5711
  first: prefixedWidgets.slice(0, -1).join(", "),
5627
5712
  last: ramda.last(prefixedWidgets),
5628
- and: withHtml ? (cov_1ajsf5p84l().b[12][0]++, "<fontNormal>".concat(i18next__default["default"].t("neetoMolecules.common.and"), "</fontNormal>")) : (cov_1ajsf5p84l().b[12][1]++, i18next__default["default"].t("neetoMolecules.common.and"))
5713
+ and: withHtml ? (cov_1ajsf5p84l().b[13][0]++, "<fontNormal>".concat(i18next__default["default"].t("neetoMolecules.common.and"), "</fontNormal>")) : (cov_1ajsf5p84l().b[13][1]++, i18next__default["default"].t("neetoMolecules.common.and"))
5629
5714
  });
5630
5715
  };
5631
- cov_1ajsf5p84l().s[40]++;
5716
+ cov_1ajsf5p84l().s[45]++;
5632
5717
  var getEmailWidgetSnippetValidationSchema = function getEmailWidgetSnippetValidationSchema() {
5633
5718
  cov_1ajsf5p84l().f[17]++;
5634
- cov_1ajsf5p84l().s[41]++;
5719
+ cov_1ajsf5p84l().s[46]++;
5635
5720
  return yup__namespace.object({
5636
5721
  emails: yup__namespace.array().required().label(i18next__default["default"].t("neetoMolecules.widget.email.fields.emails.label")),
5637
5722
  subject: yup__namespace.string().required().label(i18next__default["default"].t("neetoMolecules.widget.email.fields.subject.label"))
5638
5723
  });
5639
5724
  };
5640
- cov_1ajsf5p84l().s[42]++;
5725
+ cov_1ajsf5p84l().s[47]++;
5641
5726
  var getWidgetApiKeyUrl = function getWidgetApiKeyUrl() {
5642
5727
  cov_1ajsf5p84l().f[18]++;
5643
- cov_1ajsf5p84l().s[43]++;
5728
+ cov_1ajsf5p84l().s[48]++;
5644
5729
  return "api/widget/v1/api_keys/".concat(window.globalProps.organization.subdomain);
5645
5730
  };
5646
5731
 
@@ -7368,7 +7453,7 @@ var useUpdateConfigurations = function useUpdateConfigurations() {
7368
7453
 
7369
7454
  function cov_jv5dgcssl() {
7370
7455
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/SelectionTabs.jsx";
7371
- var hash = "9a90c60536fb7d810d7570300512475ee8d3c519";
7456
+ var hash = "ba4d9e58d2ad34cad60a23b5c7cfedc40cd2f5be";
7372
7457
  var global = new Function("return this")();
7373
7458
  var gcv = "__coverage__";
7374
7459
  var coverageData = {
@@ -7380,7 +7465,7 @@ function cov_jv5dgcssl() {
7380
7465
  column: 22
7381
7466
  },
7382
7467
  end: {
7383
- line: 68,
7468
+ line: 71,
7384
7469
  column: 1
7385
7470
  }
7386
7471
  },
@@ -7400,8 +7485,8 @@ function cov_jv5dgcssl() {
7400
7485
  column: 28
7401
7486
  },
7402
7487
  end: {
7403
- line: 36,
7404
- column: 6
7488
+ line: 37,
7489
+ column: 5
7405
7490
  }
7406
7491
  },
7407
7492
  "3": {
@@ -7410,8 +7495,8 @@ function cov_jv5dgcssl() {
7410
7495
  column: 4
7411
7496
  },
7412
7497
  end: {
7413
- line: 36,
7414
- column: 6
7498
+ line: 37,
7499
+ column: 5
7415
7500
  }
7416
7501
  },
7417
7502
  "4": {
@@ -7420,8 +7505,8 @@ function cov_jv5dgcssl() {
7420
7505
  column: 6
7421
7506
  },
7422
7507
  end: {
7423
- line: 35,
7424
- column: 12
7508
+ line: 36,
7509
+ column: 14
7425
7510
  }
7426
7511
  },
7427
7512
  "5": {
@@ -7436,31 +7521,31 @@ function cov_jv5dgcssl() {
7436
7521
  },
7437
7522
  "6": {
7438
7523
  start: {
7439
- line: 38,
7524
+ line: 39,
7440
7525
  column: 2
7441
7526
  },
7442
7527
  end: {
7443
- line: 67,
7528
+ line: 70,
7444
7529
  column: 4
7445
7530
  }
7446
7531
  },
7447
7532
  "7": {
7448
7533
  start: {
7449
- line: 48,
7534
+ line: 45,
7450
7535
  column: 28
7451
7536
  },
7452
7537
  end: {
7453
- line: 48,
7538
+ line: 45,
7454
7539
  column: 72
7455
7540
  }
7456
7541
  },
7457
7542
  "8": {
7458
7543
  start: {
7459
- line: 70,
7544
+ line: 73,
7460
7545
  column: 0
7461
7546
  },
7462
7547
  end: {
7463
- line: 74,
7548
+ line: 77,
7464
7549
  column: 2
7465
7550
  }
7466
7551
  }
@@ -7484,7 +7569,7 @@ function cov_jv5dgcssl() {
7484
7569
  column: 6
7485
7570
  },
7486
7571
  end: {
7487
- line: 68,
7572
+ line: 71,
7488
7573
  column: 1
7489
7574
  }
7490
7575
  },
@@ -7508,8 +7593,8 @@ function cov_jv5dgcssl() {
7508
7593
  column: 4
7509
7594
  },
7510
7595
  end: {
7511
- line: 36,
7512
- column: 6
7596
+ line: 37,
7597
+ column: 5
7513
7598
  }
7514
7599
  },
7515
7600
  line: 26
@@ -7532,8 +7617,8 @@ function cov_jv5dgcssl() {
7532
7617
  column: 6
7533
7618
  },
7534
7619
  end: {
7535
- line: 35,
7536
- column: 12
7620
+ line: 36,
7621
+ column: 14
7537
7622
  }
7538
7623
  },
7539
7624
  line: 27
@@ -7566,25 +7651,25 @@ function cov_jv5dgcssl() {
7566
7651
  name: "(anonymous_4)",
7567
7652
  decl: {
7568
7653
  start: {
7569
- line: 48,
7654
+ line: 45,
7570
7655
  column: 22
7571
7656
  },
7572
7657
  end: {
7573
- line: 48,
7658
+ line: 45,
7574
7659
  column: 23
7575
7660
  }
7576
7661
  },
7577
7662
  loc: {
7578
7663
  start: {
7579
- line: 48,
7664
+ line: 45,
7580
7665
  column: 28
7581
7666
  },
7582
7667
  end: {
7583
- line: 48,
7668
+ line: 45,
7584
7669
  column: 72
7585
7670
  }
7586
7671
  },
7587
- line: 48
7672
+ line: 45
7588
7673
  }
7589
7674
  },
7590
7675
  branchMap: {
@@ -7624,101 +7709,101 @@ function cov_jv5dgcssl() {
7624
7709
  "1": {
7625
7710
  loc: {
7626
7711
  start: {
7627
- line: 28,
7628
- column: 9
7712
+ line: 27,
7713
+ column: 6
7629
7714
  },
7630
7715
  end: {
7631
- line: 34,
7632
- column: 16
7716
+ line: 36,
7717
+ column: 14
7633
7718
  }
7634
7719
  },
7635
7720
  type: "cond-expr",
7636
7721
  locations: [{
7637
7722
  start: {
7638
- line: 29,
7639
- column: 10
7723
+ line: 28,
7724
+ column: 8
7640
7725
  },
7641
7726
  end: {
7642
- line: 33,
7643
- column: 12
7727
+ line: 35,
7728
+ column: 14
7644
7729
  }
7645
7730
  }, {
7646
7731
  start: {
7647
- line: 34,
7648
- column: 12
7732
+ line: 36,
7733
+ column: 10
7649
7734
  },
7650
7735
  end: {
7651
- line: 34,
7652
- column: 16
7736
+ line: 36,
7737
+ column: 14
7653
7738
  }
7654
7739
  }],
7655
- line: 28
7740
+ line: 27
7656
7741
  },
7657
7742
  "2": {
7658
7743
  loc: {
7659
7744
  start: {
7660
- line: 45,
7745
+ line: 42,
7661
7746
  column: 9
7662
7747
  },
7663
7748
  end: {
7664
- line: 50,
7749
+ line: 47,
7665
7750
  column: 9
7666
7751
  }
7667
7752
  },
7668
7753
  type: "binary-expr",
7669
7754
  locations: [{
7670
7755
  start: {
7671
- line: 45,
7756
+ line: 42,
7672
7757
  column: 9
7673
7758
  },
7674
7759
  end: {
7675
- line: 45,
7760
+ line: 42,
7676
7761
  column: 43
7677
7762
  }
7678
7763
  }, {
7679
7764
  start: {
7680
- line: 46,
7765
+ line: 43,
7681
7766
  column: 10
7682
7767
  },
7683
7768
  end: {
7684
- line: 49,
7769
+ line: 46,
7685
7770
  column: 12
7686
7771
  }
7687
7772
  }],
7688
- line: 45
7773
+ line: 42
7689
7774
  },
7690
7775
  "3": {
7691
7776
  loc: {
7692
7777
  start: {
7693
- line: 55,
7694
- column: 12
7778
+ line: 57,
7779
+ column: 14
7695
7780
  },
7696
7781
  end: {
7697
- line: 57,
7698
- column: 34
7782
+ line: 59,
7783
+ column: 36
7699
7784
  }
7700
7785
  },
7701
7786
  type: "cond-expr",
7702
7787
  locations: [{
7703
7788
  start: {
7704
- line: 56,
7705
- column: 16
7789
+ line: 58,
7790
+ column: 18
7706
7791
  },
7707
7792
  end: {
7708
- line: 56,
7709
- column: 57
7793
+ line: 58,
7794
+ column: 59
7710
7795
  }
7711
7796
  }, {
7712
7797
  start: {
7713
- line: 57,
7714
- column: 16
7798
+ line: 59,
7799
+ column: 18
7715
7800
  },
7716
7801
  end: {
7717
- line: 57,
7718
- column: 34
7802
+ line: 59,
7803
+ column: 36
7719
7804
  }
7720
7805
  }],
7721
- line: 55
7806
+ line: 57
7722
7807
  }
7723
7808
  },
7724
7809
  s: {
@@ -7746,7 +7831,7 @@ function cov_jv5dgcssl() {
7746
7831
  "3": [0, 0]
7747
7832
  },
7748
7833
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
7749
- hash: "9a90c60536fb7d810d7570300512475ee8d3c519"
7834
+ hash: "ba4d9e58d2ad34cad60a23b5c7cfedc40cd2f5be"
7750
7835
  };
7751
7836
  var coverage = global[gcv] || (global[gcv] = {});
7752
7837
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -7773,52 +7858,51 @@ var SelectionTabs = function SelectionTabs(_ref) {
7773
7858
  var renderSelectedTab = function renderSelectedTab() {
7774
7859
  cov_jv5dgcssl().f[1]++;
7775
7860
  cov_jv5dgcssl().s[3]++;
7776
- return WIDGET_TYPES_VALUES.map(function (widget) {
7861
+ return WIDGET_TYPES_VALUES.map(function (widget, index) {
7777
7862
  cov_jv5dgcssl().f[2]++;
7778
7863
  cov_jv5dgcssl().s[4]++;
7779
- return /*#__PURE__*/React__default["default"].createElement("div", {
7780
- className: "mb-1",
7781
- key: widget
7782
- }, primarySelectedWidget !== widget ? (cov_jv5dgcssl().b[1][0]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Switch, {
7864
+ return primarySelectedWidget !== widget ? (cov_jv5dgcssl().b[1][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
7865
+ className: "flex items-center space-x-2"
7866
+ }, /*#__PURE__*/React__default["default"].createElement(neetoui.Switch, {
7783
7867
  checked: selectedWidgets.includes(widget),
7784
- label: "neeto".concat(pure.capitalize(widget)),
7868
+ key: index,
7785
7869
  onChange: function onChange() {
7786
7870
  cov_jv5dgcssl().f[3]++;
7787
7871
  cov_jv5dgcssl().s[5]++;
7788
7872
  return updateSelectedWidgets(widget);
7789
7873
  }
7790
- })) : (cov_jv5dgcssl().b[1][1]++, null));
7874
+ }), /*#__PURE__*/React__default["default"].createElement(neetoui.Label, null, "neeto", pure.capitalize(widget)))) : (cov_jv5dgcssl().b[1][1]++, null);
7791
7875
  });
7792
7876
  };
7793
7877
  cov_jv5dgcssl().s[6]++;
7794
7878
  return /*#__PURE__*/React__default["default"].createElement("div", {
7795
- className: "mb-4 flex w-full items-center justify-between gap-2 px-2"
7879
+ className: "mb-4 flex w-full items-center justify-between gap-2"
7796
7880
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7797
- className: "flex items-center justify-start gap-1"
7798
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7799
- className: "text-base font-semibold"
7800
- }, "neeto", formattedPrimaryWidget), (cov_jv5dgcssl().b[2][0]++, pure.isNotEmpty(formattedPrimaryWidget)) && (cov_jv5dgcssl().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Switch, {
7881
+ className: "flex items-center space-x-2"
7882
+ }, (cov_jv5dgcssl().b[2][0]++, pure.isNotEmpty(formattedPrimaryWidget)) && (cov_jv5dgcssl().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Switch, {
7801
7883
  checked: selectedWidgets.includes(primarySelectedWidget),
7802
7884
  onChange: function onChange() {
7803
7885
  cov_jv5dgcssl().f[4]++;
7804
7886
  cov_jv5dgcssl().s[7]++;
7805
7887
  return updateSelectedWidgets(primarySelectedWidget);
7806
7888
  }
7807
- })), /*#__PURE__*/React__default["default"].createElement("a", {
7889
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
7890
+ className: "flex items-center space-x-1"
7891
+ }, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, null, "neeto", formattedPrimaryWidget), /*#__PURE__*/React__default["default"].createElement("a", {
7808
7892
  rel: "noreferrer",
7809
7893
  target: "_blank",
7810
7894
  href: primarySelectedWidget ? (cov_jv5dgcssl().b[3][0]++, WIDGET_KB_HELP_URL[primarySelectedWidget]) : (cov_jv5dgcssl().b[3][1]++, WIDGET_KB_BASE_URL)
7811
- }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Help, {
7895
+ }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Info, {
7812
7896
  size: 16
7813
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
7814
- className: "flex items-center justify-end gap-2"
7897
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
7898
+ className: "flex items-center justify-end gap-6"
7815
7899
  }, renderSelectedTab()));
7816
7900
  };
7817
7901
  cov_jv5dgcssl().s[8]++;
7818
7902
 
7819
7903
  function cov_216ndqorbu() {
7820
7904
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCode.jsx";
7821
- var hash = "4de25cf9d36316a9dd816245bd945edc34959cfc";
7905
+ var hash = "a29f32cd9f65dbcdb30f0b296784abd822305df0";
7822
7906
  var global = new Function("return this")();
7823
7907
  var gcv = "__coverage__";
7824
7908
  var coverageData = {
@@ -7826,471 +7910,471 @@ function cov_216ndqorbu() {
7826
7910
  statementMap: {
7827
7911
  "0": {
7828
7912
  start: {
7829
- line: 37,
7913
+ line: 38,
7830
7914
  column: 18
7831
7915
  },
7832
7916
  end: {
7833
- line: 347,
7917
+ line: 354,
7834
7918
  column: 1
7835
7919
  }
7836
7920
  },
7837
7921
  "1": {
7838
7922
  start: {
7839
- line: 38,
7923
+ line: 39,
7840
7924
  column: 36
7841
7925
  },
7842
7926
  end: {
7843
- line: 38,
7927
+ line: 39,
7844
7928
  column: 62
7845
7929
  }
7846
7930
  },
7847
7931
  "2": {
7848
7932
  start: {
7849
- line: 39,
7933
+ line: 40,
7850
7934
  column: 52
7851
7935
  },
7852
7936
  end: {
7853
- line: 41,
7937
+ line: 42,
7854
7938
  column: 3
7855
7939
  }
7856
7940
  },
7857
7941
  "3": {
7858
7942
  start: {
7859
- line: 43,
7943
+ line: 44,
7860
7944
  column: 16
7861
7945
  },
7862
7946
  end: {
7863
- line: 43,
7947
+ line: 44,
7864
7948
  column: 32
7865
7949
  }
7866
7950
  },
7867
7951
  "4": {
7868
7952
  start: {
7869
- line: 44,
7953
+ line: 45,
7870
7954
  column: 18
7871
7955
  },
7872
7956
  end: {
7873
- line: 44,
7957
+ line: 45,
7874
7958
  column: 26
7875
7959
  }
7876
7960
  },
7877
7961
  "5": {
7878
7962
  start: {
7879
- line: 45,
7963
+ line: 46,
7880
7964
  column: 22
7881
7965
  },
7882
7966
  end: {
7883
- line: 45,
7967
+ line: 46,
7884
7968
  column: 38
7885
7969
  }
7886
7970
  },
7887
7971
  "6": {
7888
7972
  start: {
7889
- line: 47,
7973
+ line: 48,
7890
7974
  column: 2
7891
7975
  },
7892
7976
  end: {
7893
- line: 49,
7977
+ line: 50,
7894
7978
  column: 9
7895
7979
  }
7896
7980
  },
7897
7981
  "7": {
7898
7982
  start: {
7899
- line: 48,
7983
+ line: 49,
7900
7984
  column: 4
7901
7985
  },
7902
7986
  end: {
7903
- line: 48,
7987
+ line: 49,
7904
7988
  column: 18
7905
7989
  }
7906
7990
  },
7907
7991
  "8": {
7908
7992
  start: {
7909
- line: 52,
7993
+ line: 53,
7910
7994
  column: 4
7911
7995
  },
7912
7996
  end: {
7913
- line: 52,
7997
+ line: 53,
7914
7998
  column: 20
7915
7999
  }
7916
8000
  },
7917
8001
  "9": {
7918
8002
  start: {
7919
- line: 57,
8003
+ line: 58,
7920
8004
  column: 6
7921
8005
  },
7922
8006
  end: {
7923
- line: 57,
8007
+ line: 58,
7924
8008
  column: 30
7925
8009
  }
7926
8010
  },
7927
8011
  "10": {
7928
8012
  start: {
7929
- line: 59,
8013
+ line: 60,
7930
8014
  column: 48
7931
8015
  },
7932
8016
  end: {
7933
- line: 59,
8017
+ line: 60,
7934
8018
  column: 73
7935
8019
  }
7936
8020
  },
7937
8021
  "11": {
7938
8022
  start: {
7939
- line: 61,
8023
+ line: 62,
7940
8024
  column: 28
7941
8025
  },
7942
8026
  end: {
7943
- line: 61,
8027
+ line: 62,
7944
8028
  column: 50
7945
8029
  }
7946
8030
  },
7947
8031
  "12": {
7948
8032
  start: {
7949
- line: 63,
8033
+ line: 64,
7950
8034
  column: 26
7951
8035
  },
7952
8036
  end: {
7953
- line: 65,
8037
+ line: 66,
7954
8038
  column: 58
7955
8039
  }
7956
8040
  },
7957
8041
  "13": {
7958
8042
  start: {
7959
- line: 65,
8043
+ line: 66,
7960
8044
  column: 17
7961
8045
  },
7962
8046
  end: {
7963
- line: 65,
8047
+ line: 66,
7964
8048
  column: 57
7965
8049
  }
7966
8050
  },
7967
8051
  "14": {
7968
8052
  start: {
7969
- line: 67,
8053
+ line: 68,
7970
8054
  column: 25
7971
8055
  },
7972
8056
  end: {
7973
- line: 69,
8057
+ line: 70,
7974
8058
  column: 3
7975
8059
  }
7976
8060
  },
7977
8061
  "15": {
7978
8062
  start: {
7979
- line: 68,
8063
+ line: 69,
7980
8064
  column: 34
7981
8065
  },
7982
8066
  end: {
7983
- line: 68,
8067
+ line: 69,
7984
8068
  column: 48
7985
8069
  }
7986
8070
  },
7987
8071
  "16": {
7988
8072
  start: {
7989
- line: 71,
8073
+ line: 72,
7990
8074
  column: 32
7991
8075
  },
7992
8076
  end: {
7993
- line: 94,
8077
+ line: 95,
7994
8078
  column: 3
7995
8079
  }
7996
8080
  },
7997
8081
  "17": {
7998
8082
  start: {
7999
- line: 72,
8083
+ line: 73,
8000
8084
  column: 21
8001
8085
  },
8002
8086
  end: {
8003
- line: 74,
8087
+ line: 75,
8004
8088
  column: 8
8005
8089
  }
8006
8090
  },
8007
8091
  "18": {
8008
8092
  start: {
8009
- line: 73,
8093
+ line: 74,
8010
8094
  column: 14
8011
8095
  },
8012
8096
  end: {
8013
- line: 73,
8097
+ line: 74,
8014
8098
  column: 65
8015
8099
  }
8016
8100
  },
8017
8101
  "19": {
8018
8102
  start: {
8019
- line: 75,
8103
+ line: 76,
8020
8104
  column: 22
8021
8105
  },
8022
8106
  end: {
8023
- line: 75,
8107
+ line: 76,
8024
8108
  column: 55
8025
8109
  }
8026
8110
  },
8027
8111
  "20": {
8028
8112
  start: {
8029
- line: 77,
8113
+ line: 78,
8030
8114
  column: 4
8031
8115
  },
8032
8116
  end: {
8033
- line: 93,
8117
+ line: 94,
8034
8118
  column: 6
8035
8119
  }
8036
8120
  },
8037
8121
  "21": {
8038
8122
  start: {
8039
- line: 84,
8123
+ line: 85,
8040
8124
  column: 27
8041
8125
  },
8042
8126
  end: {
8043
- line: 86,
8127
+ line: 87,
8044
8128
  column: 59
8045
8129
  }
8046
8130
  },
8047
8131
  "22": {
8048
8132
  start: {
8049
- line: 88,
8133
+ line: 89,
8050
8134
  column: 10
8051
8135
  },
8052
8136
  end: {
8053
- line: 90,
8137
+ line: 91,
8054
8138
  column: 12
8055
8139
  }
8056
8140
  },
8057
8141
  "23": {
8058
8142
  start: {
8059
- line: 96,
8143
+ line: 97,
8060
8144
  column: 29
8061
8145
  },
8062
8146
  end: {
8063
- line: 102,
8147
+ line: 103,
8064
8148
  column: 3
8065
8149
  }
8066
8150
  },
8067
8151
  "24": {
8068
8152
  start: {
8069
- line: 97,
8153
+ line: 98,
8070
8154
  column: 4
8071
8155
  },
8072
8156
  end: {
8073
- line: 99,
8157
+ line: 100,
8074
8158
  column: 5
8075
8159
  }
8076
8160
  },
8077
8161
  "25": {
8078
8162
  start: {
8079
- line: 98,
8163
+ line: 99,
8080
8164
  column: 6
8081
8165
  },
8082
8166
  end: {
8083
- line: 98,
8167
+ line: 99,
8084
8168
  column: 72
8085
8169
  }
8086
8170
  },
8087
8171
  "26": {
8088
8172
  start: {
8089
- line: 101,
8173
+ line: 102,
8090
8174
  column: 4
8091
8175
  },
8092
8176
  end: {
8093
- line: 101,
8177
+ line: 102,
8094
8178
  column: 14
8095
8179
  }
8096
8180
  },
8097
8181
  "27": {
8098
8182
  start: {
8099
- line: 104,
8183
+ line: 105,
8100
8184
  column: 26
8101
8185
  },
8102
8186
  end: {
8103
- line: 218,
8187
+ line: 219,
8104
8188
  column: 3
8105
8189
  }
8106
8190
  },
8107
8191
  "28": {
8108
8192
  start: {
8109
- line: 105,
8193
+ line: 106,
8110
8194
  column: 4
8111
8195
  },
8112
8196
  end: {
8113
- line: 217,
8197
+ line: 218,
8114
8198
  column: 5
8115
8199
  }
8116
8200
  },
8117
8201
  "29": {
8118
8202
  start: {
8119
- line: 107,
8203
+ line: 108,
8120
8204
  column: 8
8121
8205
  },
8122
8206
  end: {
8123
- line: 147,
8207
+ line: 148,
8124
8208
  column: 10
8125
8209
  }
8126
8210
  },
8127
8211
  "30": {
8128
8212
  start: {
8129
- line: 149,
8213
+ line: 150,
8130
8214
  column: 8
8131
8215
  },
8132
8216
  end: {
8133
- line: 182,
8217
+ line: 183,
8134
8218
  column: 10
8135
8219
  }
8136
8220
  },
8137
8221
  "31": {
8138
8222
  start: {
8139
- line: 184,
8223
+ line: 185,
8140
8224
  column: 8
8141
8225
  },
8142
8226
  end: {
8143
- line: 210,
8227
+ line: 211,
8144
8228
  column: 10
8145
8229
  }
8146
8230
  },
8147
8231
  "32": {
8148
8232
  start: {
8149
- line: 212,
8233
+ line: 213,
8150
8234
  column: 8
8151
8235
  },
8152
8236
  end: {
8153
- line: 214,
8237
+ line: 215,
8154
8238
  column: 15
8155
8239
  }
8156
8240
  },
8157
8241
  "33": {
8158
8242
  start: {
8159
- line: 216,
8243
+ line: 217,
8160
8244
  column: 8
8161
8245
  },
8162
8246
  end: {
8163
- line: 216,
8247
+ line: 217,
8164
8248
  column: 56
8165
8249
  }
8166
8250
  },
8167
8251
  "34": {
8168
8252
  start: {
8169
- line: 220,
8253
+ line: 221,
8170
8254
  column: 29
8171
8255
  },
8172
8256
  end: {
8173
- line: 230,
8257
+ line: 231,
8174
8258
  column: 3
8175
8259
  }
8176
8260
  },
8177
8261
  "35": {
8178
8262
  start: {
8179
- line: 221,
8263
+ line: 222,
8180
8264
  column: 4
8181
8265
  },
8182
8266
  end: {
8183
- line: 227,
8267
+ line: 228,
8184
8268
  column: 5
8185
8269
  }
8186
8270
  },
8187
8271
  "36": {
8188
8272
  start: {
8189
- line: 222,
8273
+ line: 223,
8190
8274
  column: 6
8191
8275
  },
8192
8276
  end: {
8193
- line: 224,
8277
+ line: 225,
8194
8278
  column: 8
8195
8279
  }
8196
8280
  },
8197
8281
  "37": {
8198
8282
  start: {
8199
- line: 226,
8283
+ line: 227,
8200
8284
  column: 6
8201
8285
  },
8202
8286
  end: {
8203
- line: 226,
8287
+ line: 227,
8204
8288
  column: 13
8205
8289
  }
8206
8290
  },
8207
8291
  "38": {
8208
8292
  start: {
8209
- line: 229,
8293
+ line: 230,
8210
8294
  column: 4
8211
8295
  },
8212
8296
  end: {
8213
- line: 229,
8297
+ line: 230,
8214
8298
  column: 32
8215
8299
  }
8216
8300
  },
8217
8301
  "39": {
8218
8302
  start: {
8219
- line: 232,
8303
+ line: 233,
8220
8304
  column: 2
8221
8305
  },
8222
8306
  end: {
8223
- line: 238,
8307
+ line: 239,
8224
8308
  column: 3
8225
8309
  }
8226
8310
  },
8227
8311
  "40": {
8228
8312
  start: {
8229
- line: 233,
8313
+ line: 234,
8230
8314
  column: 4
8231
8315
  },
8232
8316
  end: {
8233
- line: 237,
8317
+ line: 238,
8234
8318
  column: 6
8235
8319
  }
8236
8320
  },
8237
8321
  "41": {
8238
8322
  start: {
8239
- line: 240,
8323
+ line: 241,
8240
8324
  column: 2
8241
8325
  },
8242
8326
  end: {
8243
- line: 346,
8327
+ line: 353,
8244
8328
  column: 4
8245
8329
  }
8246
8330
  },
8247
8331
  "42": {
8248
8332
  start: {
8249
- line: 252,
8250
- column: 32
8333
+ line: 254,
8334
+ column: 34
8251
8335
  },
8252
8336
  end: {
8253
- line: 252,
8254
- column: 73
8337
+ line: 254,
8338
+ column: 75
8255
8339
  }
8256
8340
  },
8257
8341
  "43": {
8258
8342
  start: {
8259
- line: 280,
8260
- column: 34
8343
+ line: 287,
8344
+ column: 18
8261
8345
  },
8262
8346
  end: {
8263
- line: 280,
8264
- column: 78
8347
+ line: 287,
8348
+ column: 62
8265
8349
  }
8266
8350
  },
8267
8351
  "44": {
8268
8352
  start: {
8269
- line: 316,
8270
- column: 16
8353
+ line: 322,
8354
+ column: 18
8271
8355
  },
8272
8356
  end: {
8273
- line: 316,
8274
- column: 62
8357
+ line: 322,
8358
+ column: 64
8275
8359
  }
8276
8360
  },
8277
8361
  "45": {
8278
8362
  start: {
8279
- line: 342,
8363
+ line: 349,
8280
8364
  column: 23
8281
8365
  },
8282
8366
  end: {
8283
- line: 342,
8367
+ line: 349,
8284
8368
  column: 53
8285
8369
  }
8286
8370
  },
8287
8371
  "46": {
8288
8372
  start: {
8289
- line: 349,
8373
+ line: 356,
8290
8374
  column: 0
8291
8375
  },
8292
8376
  end: {
8293
- line: 351,
8377
+ line: 359,
8294
8378
  column: 2
8295
8379
  }
8296
8380
  }
@@ -8300,512 +8384,536 @@ function cov_216ndqorbu() {
8300
8384
  name: "(anonymous_0)",
8301
8385
  decl: {
8302
8386
  start: {
8303
- line: 37,
8387
+ line: 38,
8304
8388
  column: 18
8305
8389
  },
8306
8390
  end: {
8307
- line: 37,
8391
+ line: 38,
8308
8392
  column: 19
8309
8393
  }
8310
8394
  },
8311
8395
  loc: {
8312
8396
  start: {
8313
- line: 37,
8314
- column: 43
8397
+ line: 38,
8398
+ column: 67
8315
8399
  },
8316
8400
  end: {
8317
- line: 347,
8401
+ line: 354,
8318
8402
  column: 1
8319
8403
  }
8320
8404
  },
8321
- line: 37
8405
+ line: 38
8322
8406
  },
8323
8407
  "1": {
8324
8408
  name: "(anonymous_1)",
8325
8409
  decl: {
8326
8410
  start: {
8327
- line: 47,
8411
+ line: 48,
8328
8412
  column: 12
8329
8413
  },
8330
8414
  end: {
8331
- line: 47,
8415
+ line: 48,
8332
8416
  column: 13
8333
8417
  }
8334
8418
  },
8335
8419
  loc: {
8336
8420
  start: {
8337
- line: 47,
8421
+ line: 48,
8338
8422
  column: 18
8339
8423
  },
8340
8424
  end: {
8341
- line: 49,
8425
+ line: 50,
8342
8426
  column: 3
8343
8427
  }
8344
8428
  },
8345
- line: 47
8429
+ line: 48
8346
8430
  },
8347
8431
  "2": {
8348
8432
  name: "(anonymous_2)",
8349
8433
  decl: {
8350
8434
  start: {
8351
- line: 65,
8435
+ line: 66,
8352
8436
  column: 9
8353
8437
  },
8354
8438
  end: {
8355
- line: 65,
8439
+ line: 66,
8356
8440
  column: 10
8357
8441
  }
8358
8442
  },
8359
8443
  loc: {
8360
8444
  start: {
8361
- line: 65,
8445
+ line: 66,
8362
8446
  column: 17
8363
8447
  },
8364
8448
  end: {
8365
- line: 65,
8449
+ line: 66,
8366
8450
  column: 57
8367
8451
  }
8368
8452
  },
8369
- line: 65
8453
+ line: 66
8370
8454
  },
8371
8455
  "3": {
8372
8456
  name: "(anonymous_3)",
8373
8457
  decl: {
8374
8458
  start: {
8375
- line: 68,
8459
+ line: 69,
8376
8460
  column: 24
8377
8461
  },
8378
8462
  end: {
8379
- line: 68,
8463
+ line: 69,
8380
8464
  column: 25
8381
8465
  }
8382
8466
  },
8383
8467
  loc: {
8384
8468
  start: {
8385
- line: 68,
8469
+ line: 69,
8386
8470
  column: 34
8387
8471
  },
8388
8472
  end: {
8389
- line: 68,
8473
+ line: 69,
8390
8474
  column: 48
8391
8475
  }
8392
8476
  },
8393
- line: 68
8477
+ line: 69
8394
8478
  },
8395
8479
  "4": {
8396
8480
  name: "(anonymous_4)",
8397
8481
  decl: {
8398
8482
  start: {
8399
- line: 71,
8483
+ line: 72,
8400
8484
  column: 32
8401
8485
  },
8402
8486
  end: {
8403
- line: 71,
8487
+ line: 72,
8404
8488
  column: 33
8405
8489
  }
8406
8490
  },
8407
8491
  loc: {
8408
8492
  start: {
8409
- line: 71,
8493
+ line: 72,
8410
8494
  column: 42
8411
8495
  },
8412
8496
  end: {
8413
- line: 94,
8497
+ line: 95,
8414
8498
  column: 3
8415
8499
  }
8416
8500
  },
8417
- line: 71
8501
+ line: 72
8418
8502
  },
8419
8503
  "5": {
8420
8504
  name: "(anonymous_5)",
8421
8505
  decl: {
8422
8506
  start: {
8423
- line: 73,
8507
+ line: 74,
8424
8508
  column: 6
8425
8509
  },
8426
8510
  end: {
8427
- line: 73,
8511
+ line: 74,
8428
8512
  column: 7
8429
8513
  }
8430
8514
  },
8431
8515
  loc: {
8432
8516
  start: {
8433
- line: 73,
8517
+ line: 74,
8434
8518
  column: 14
8435
8519
  },
8436
8520
  end: {
8437
- line: 73,
8521
+ line: 74,
8438
8522
  column: 65
8439
8523
  }
8440
8524
  },
8441
- line: 73
8525
+ line: 74
8442
8526
  },
8443
8527
  "6": {
8444
8528
  name: "(anonymous_6)",
8445
8529
  decl: {
8446
8530
  start: {
8447
- line: 83,
8531
+ line: 84,
8448
8532
  column: 19
8449
8533
  },
8450
8534
  end: {
8451
- line: 83,
8535
+ line: 84,
8452
8536
  column: 20
8453
8537
  }
8454
8538
  },
8455
8539
  loc: {
8456
8540
  start: {
8457
- line: 83,
8541
+ line: 84,
8458
8542
  column: 25
8459
8543
  },
8460
8544
  end: {
8461
- line: 91,
8545
+ line: 92,
8462
8546
  column: 9
8463
8547
  }
8464
8548
  },
8465
- line: 83
8549
+ line: 84
8466
8550
  },
8467
8551
  "7": {
8468
8552
  name: "(anonymous_7)",
8469
8553
  decl: {
8470
8554
  start: {
8471
- line: 96,
8555
+ line: 97,
8472
8556
  column: 29
8473
8557
  },
8474
8558
  end: {
8475
- line: 96,
8559
+ line: 97,
8476
8560
  column: 30
8477
8561
  }
8478
8562
  },
8479
8563
  loc: {
8480
8564
  start: {
8481
- line: 96,
8565
+ line: 97,
8482
8566
  column: 35
8483
8567
  },
8484
8568
  end: {
8485
- line: 102,
8569
+ line: 103,
8486
8570
  column: 3
8487
8571
  }
8488
8572
  },
8489
- line: 96
8573
+ line: 97
8490
8574
  },
8491
8575
  "8": {
8492
8576
  name: "(anonymous_8)",
8493
8577
  decl: {
8494
8578
  start: {
8495
- line: 104,
8579
+ line: 105,
8496
8580
  column: 26
8497
8581
  },
8498
8582
  end: {
8499
- line: 104,
8583
+ line: 105,
8500
8584
  column: 27
8501
8585
  }
8502
8586
  },
8503
8587
  loc: {
8504
8588
  start: {
8505
- line: 104,
8589
+ line: 105,
8506
8590
  column: 47
8507
8591
  },
8508
8592
  end: {
8509
- line: 218,
8593
+ line: 219,
8510
8594
  column: 3
8511
8595
  }
8512
8596
  },
8513
- line: 104
8597
+ line: 105
8514
8598
  },
8515
8599
  "9": {
8516
8600
  name: "(anonymous_9)",
8517
8601
  decl: {
8518
8602
  start: {
8519
- line: 220,
8603
+ line: 221,
8520
8604
  column: 29
8521
8605
  },
8522
8606
  end: {
8523
- line: 220,
8607
+ line: 221,
8524
8608
  column: 30
8525
8609
  }
8526
8610
  },
8527
8611
  loc: {
8528
8612
  start: {
8529
- line: 220,
8613
+ line: 221,
8530
8614
  column: 46
8531
8615
  },
8532
8616
  end: {
8533
- line: 230,
8617
+ line: 231,
8534
8618
  column: 3
8535
8619
  }
8536
8620
  },
8537
- line: 220
8621
+ line: 221
8538
8622
  },
8539
8623
  "10": {
8540
8624
  name: "(anonymous_10)",
8541
8625
  decl: {
8542
8626
  start: {
8543
- line: 252,
8544
- column: 26
8627
+ line: 254,
8628
+ column: 28
8545
8629
  },
8546
8630
  end: {
8547
- line: 252,
8548
- column: 27
8631
+ line: 254,
8632
+ column: 29
8549
8633
  }
8550
8634
  },
8551
8635
  loc: {
8552
8636
  start: {
8553
- line: 252,
8554
- column: 32
8637
+ line: 254,
8638
+ column: 34
8555
8639
  },
8556
8640
  end: {
8557
- line: 252,
8558
- column: 73
8641
+ line: 254,
8642
+ column: 75
8559
8643
  }
8560
8644
  },
8561
- line: 252
8645
+ line: 254
8562
8646
  },
8563
8647
  "11": {
8564
8648
  name: "(anonymous_11)",
8565
8649
  decl: {
8566
8650
  start: {
8567
- line: 280,
8568
- column: 28
8651
+ line: 286,
8652
+ column: 30
8569
8653
  },
8570
8654
  end: {
8571
- line: 280,
8572
- column: 29
8655
+ line: 286,
8656
+ column: 31
8573
8657
  }
8574
8658
  },
8575
8659
  loc: {
8576
8660
  start: {
8577
- line: 280,
8578
- column: 34
8661
+ line: 287,
8662
+ column: 18
8579
8663
  },
8580
8664
  end: {
8581
- line: 280,
8582
- column: 78
8665
+ line: 287,
8666
+ column: 62
8583
8667
  }
8584
8668
  },
8585
- line: 280
8669
+ line: 287
8586
8670
  },
8587
8671
  "12": {
8588
8672
  name: "(anonymous_12)",
8589
8673
  decl: {
8590
8674
  start: {
8591
- line: 315,
8592
- column: 28
8675
+ line: 321,
8676
+ column: 30
8593
8677
  },
8594
8678
  end: {
8595
- line: 315,
8596
- column: 29
8679
+ line: 321,
8680
+ column: 31
8597
8681
  }
8598
8682
  },
8599
8683
  loc: {
8600
8684
  start: {
8601
- line: 316,
8602
- column: 16
8685
+ line: 322,
8686
+ column: 18
8603
8687
  },
8604
8688
  end: {
8605
- line: 316,
8606
- column: 62
8689
+ line: 322,
8690
+ column: 64
8607
8691
  }
8608
8692
  },
8609
- line: 316
8693
+ line: 322
8610
8694
  },
8611
8695
  "13": {
8612
8696
  name: "(anonymous_13)",
8613
8697
  decl: {
8614
8698
  start: {
8615
- line: 342,
8699
+ line: 349,
8616
8700
  column: 17
8617
8701
  },
8618
8702
  end: {
8619
- line: 342,
8703
+ line: 349,
8620
8704
  column: 18
8621
8705
  }
8622
8706
  },
8623
8707
  loc: {
8624
8708
  start: {
8625
- line: 342,
8709
+ line: 349,
8626
8710
  column: 23
8627
8711
  },
8628
8712
  end: {
8629
- line: 342,
8713
+ line: 349,
8630
8714
  column: 53
8631
8715
  }
8632
8716
  },
8633
- line: 342
8717
+ line: 349
8634
8718
  }
8635
8719
  },
8636
8720
  branchMap: {
8637
8721
  "0": {
8638
8722
  loc: {
8639
8723
  start: {
8640
- line: 37,
8724
+ line: 38,
8641
8725
  column: 21
8642
8726
  },
8643
8727
  end: {
8644
- line: 37,
8728
+ line: 38,
8645
8729
  column: 36
8646
8730
  }
8647
8731
  },
8648
8732
  type: "default-arg",
8649
8733
  locations: [{
8650
8734
  start: {
8651
- line: 37,
8735
+ line: 38,
8652
8736
  column: 34
8653
8737
  },
8654
8738
  end: {
8655
- line: 37,
8739
+ line: 38,
8656
8740
  column: 36
8657
8741
  }
8658
8742
  }],
8659
- line: 37
8743
+ line: 38
8660
8744
  },
8661
8745
  "1": {
8662
8746
  loc: {
8663
8747
  start: {
8664
- line: 51,
8748
+ line: 38,
8749
+ column: 38
8750
+ },
8751
+ end: {
8752
+ line: 38,
8753
+ column: 60
8754
+ }
8755
+ },
8756
+ type: "default-arg",
8757
+ locations: [{
8758
+ start: {
8759
+ line: 38,
8760
+ column: 49
8761
+ },
8762
+ end: {
8763
+ line: 38,
8764
+ column: 60
8765
+ }
8766
+ }],
8767
+ line: 38
8768
+ },
8769
+ "2": {
8770
+ loc: {
8771
+ start: {
8772
+ line: 52,
8665
8773
  column: 16
8666
8774
  },
8667
8775
  end: {
8668
- line: 51,
8776
+ line: 52,
8669
8777
  column: 42
8670
8778
  }
8671
8779
  },
8672
8780
  type: "default-arg",
8673
8781
  locations: [{
8674
8782
  start: {
8675
- line: 51,
8783
+ line: 52,
8676
8784
  column: 40
8677
8785
  },
8678
8786
  end: {
8679
- line: 51,
8787
+ line: 52,
8680
8788
  column: 42
8681
8789
  }
8682
8790
  }],
8683
- line: 51
8791
+ line: 52
8684
8792
  },
8685
- "2": {
8793
+ "3": {
8686
8794
  loc: {
8687
8795
  start: {
8688
- line: 51,
8796
+ line: 52,
8689
8797
  column: 18
8690
8798
  },
8691
8799
  end: {
8692
- line: 51,
8800
+ line: 52,
8693
8801
  column: 35
8694
8802
  }
8695
8803
  },
8696
8804
  type: "default-arg",
8697
8805
  locations: [{
8698
8806
  start: {
8699
- line: 51,
8807
+ line: 52,
8700
8808
  column: 33
8701
8809
  },
8702
8810
  end: {
8703
- line: 51,
8811
+ line: 52,
8704
8812
  column: 35
8705
8813
  }
8706
8814
  }],
8707
- line: 51
8815
+ line: 52
8708
8816
  },
8709
- "3": {
8817
+ "4": {
8710
8818
  loc: {
8711
8819
  start: {
8712
- line: 55,
8820
+ line: 56,
8713
8821
  column: 10
8714
8822
  },
8715
8823
  end: {
8716
- line: 55,
8824
+ line: 56,
8717
8825
  column: 41
8718
8826
  }
8719
8827
  },
8720
8828
  type: "default-arg",
8721
8829
  locations: [{
8722
8830
  start: {
8723
- line: 55,
8831
+ line: 56,
8724
8832
  column: 39
8725
8833
  },
8726
8834
  end: {
8727
- line: 55,
8835
+ line: 56,
8728
8836
  column: 41
8729
8837
  }
8730
8838
  }],
8731
- line: 55
8839
+ line: 56
8732
8840
  },
8733
- "4": {
8841
+ "5": {
8734
8842
  loc: {
8735
8843
  start: {
8736
- line: 55,
8844
+ line: 56,
8737
8845
  column: 12
8738
8846
  },
8739
8847
  end: {
8740
- line: 55,
8848
+ line: 56,
8741
8849
  column: 34
8742
8850
  }
8743
8851
  },
8744
8852
  type: "default-arg",
8745
8853
  locations: [{
8746
8854
  start: {
8747
- line: 55,
8855
+ line: 56,
8748
8856
  column: 32
8749
8857
  },
8750
8858
  end: {
8751
- line: 55,
8859
+ line: 56,
8752
8860
  column: 34
8753
8861
  }
8754
8862
  }],
8755
- line: 55
8863
+ line: 56
8756
8864
  },
8757
- "5": {
8865
+ "6": {
8758
8866
  loc: {
8759
8867
  start: {
8760
- line: 84,
8868
+ line: 85,
8761
8869
  column: 27
8762
8870
  },
8763
8871
  end: {
8764
- line: 86,
8872
+ line: 87,
8765
8873
  column: 59
8766
8874
  }
8767
8875
  },
8768
8876
  type: "cond-expr",
8769
8877
  locations: [{
8770
8878
  start: {
8771
- line: 85,
8879
+ line: 86,
8772
8880
  column: 14
8773
8881
  },
8774
8882
  end: {
8775
- line: 85,
8883
+ line: 86,
8776
8884
  column: 58
8777
8885
  }
8778
8886
  }, {
8779
8887
  start: {
8780
- line: 86,
8888
+ line: 87,
8781
8889
  column: 14
8782
8890
  },
8783
8891
  end: {
8784
- line: 86,
8892
+ line: 87,
8785
8893
  column: 59
8786
8894
  }
8787
8895
  }],
8788
- line: 84
8896
+ line: 85
8789
8897
  },
8790
- "6": {
8898
+ "7": {
8791
8899
  loc: {
8792
8900
  start: {
8793
- line: 97,
8901
+ line: 98,
8794
8902
  column: 4
8795
8903
  },
8796
8904
  end: {
8797
- line: 99,
8905
+ line: 100,
8798
8906
  column: 5
8799
8907
  }
8800
8908
  },
8801
8909
  type: "if",
8802
8910
  locations: [{
8803
8911
  start: {
8804
- line: 97,
8912
+ line: 98,
8805
8913
  column: 4
8806
8914
  },
8807
8915
  end: {
8808
- line: 99,
8916
+ line: 100,
8809
8917
  column: 5
8810
8918
  }
8811
8919
  }, {
@@ -8818,186 +8926,186 @@ function cov_216ndqorbu() {
8818
8926
  column: undefined
8819
8927
  }
8820
8928
  }],
8821
- line: 97
8929
+ line: 98
8822
8930
  },
8823
- "7": {
8931
+ "8": {
8824
8932
  loc: {
8825
8933
  start: {
8826
- line: 105,
8934
+ line: 106,
8827
8935
  column: 4
8828
8936
  },
8829
8937
  end: {
8830
- line: 217,
8938
+ line: 218,
8831
8939
  column: 5
8832
8940
  }
8833
8941
  },
8834
8942
  type: "switch",
8835
8943
  locations: [{
8836
8944
  start: {
8837
- line: 106,
8945
+ line: 107,
8838
8946
  column: 6
8839
8947
  },
8840
8948
  end: {
8841
- line: 147,
8949
+ line: 148,
8842
8950
  column: 10
8843
8951
  }
8844
8952
  }, {
8845
8953
  start: {
8846
- line: 148,
8954
+ line: 149,
8847
8955
  column: 6
8848
8956
  },
8849
8957
  end: {
8850
- line: 182,
8958
+ line: 183,
8851
8959
  column: 10
8852
8960
  }
8853
8961
  }, {
8854
8962
  start: {
8855
- line: 183,
8963
+ line: 184,
8856
8964
  column: 6
8857
8965
  },
8858
8966
  end: {
8859
- line: 210,
8967
+ line: 211,
8860
8968
  column: 10
8861
8969
  }
8862
8970
  }, {
8863
8971
  start: {
8864
- line: 211,
8972
+ line: 212,
8865
8973
  column: 6
8866
8974
  },
8867
8975
  end: {
8868
- line: 214,
8976
+ line: 215,
8869
8977
  column: 15
8870
8978
  }
8871
8979
  }, {
8872
8980
  start: {
8873
- line: 215,
8981
+ line: 216,
8874
8982
  column: 6
8875
8983
  },
8876
8984
  end: {
8877
- line: 216,
8985
+ line: 217,
8878
8986
  column: 56
8879
8987
  }
8880
8988
  }],
8881
- line: 105
8989
+ line: 106
8882
8990
  },
8883
- "8": {
8991
+ "9": {
8884
8992
  loc: {
8885
8993
  start: {
8886
- line: 167,
8994
+ line: 168,
8887
8995
  column: 24
8888
8996
  },
8889
8997
  end: {
8890
- line: 169,
8998
+ line: 170,
8891
8999
  column: 54
8892
9000
  }
8893
9001
  },
8894
9002
  type: "cond-expr",
8895
9003
  locations: [{
8896
9004
  start: {
8897
- line: 168,
9005
+ line: 169,
8898
9006
  column: 28
8899
9007
  },
8900
9008
  end: {
8901
- line: 168,
9009
+ line: 169,
8902
9010
  column: 56
8903
9011
  }
8904
9012
  }, {
8905
9013
  start: {
8906
- line: 169,
9014
+ line: 170,
8907
9015
  column: 28
8908
9016
  },
8909
9017
  end: {
8910
- line: 169,
9018
+ line: 170,
8911
9019
  column: 54
8912
9020
  }
8913
9021
  }],
8914
- line: 167
9022
+ line: 168
8915
9023
  },
8916
- "9": {
9024
+ "10": {
8917
9025
  loc: {
8918
9026
  start: {
8919
- line: 175,
9027
+ line: 176,
8920
9028
  column: 37
8921
9029
  },
8922
9030
  end: {
8923
- line: 177,
9031
+ line: 178,
8924
9032
  column: 48
8925
9033
  }
8926
9034
  },
8927
9035
  type: "cond-expr",
8928
9036
  locations: [{
8929
9037
  start: {
8930
- line: 176,
9038
+ line: 177,
8931
9039
  column: 22
8932
9040
  },
8933
9041
  end: {
8934
- line: 176,
9042
+ line: 177,
8935
9043
  column: 50
8936
9044
  }
8937
9045
  }, {
8938
9046
  start: {
8939
- line: 177,
9047
+ line: 178,
8940
9048
  column: 22
8941
9049
  },
8942
9050
  end: {
8943
- line: 177,
9051
+ line: 178,
8944
9052
  column: 48
8945
9053
  }
8946
9054
  }],
8947
- line: 175
9055
+ line: 176
8948
9056
  },
8949
- "10": {
9057
+ "11": {
8950
9058
  loc: {
8951
9059
  start: {
8952
- line: 212,
9060
+ line: 213,
8953
9061
  column: 15
8954
9062
  },
8955
9063
  end: {
8956
- line: 214,
9064
+ line: 215,
8957
9065
  column: 14
8958
9066
  }
8959
9067
  },
8960
9068
  type: "cond-expr",
8961
9069
  locations: [{
8962
9070
  start: {
8963
- line: 213,
9071
+ line: 214,
8964
9072
  column: 12
8965
9073
  },
8966
9074
  end: {
8967
- line: 213,
9075
+ line: 214,
8968
9076
  column: 46
8969
9077
  }
8970
9078
  }, {
8971
9079
  start: {
8972
- line: 214,
9080
+ line: 215,
8973
9081
  column: 12
8974
9082
  },
8975
9083
  end: {
8976
- line: 214,
9084
+ line: 215,
8977
9085
  column: 14
8978
9086
  }
8979
9087
  }],
8980
- line: 212
9088
+ line: 213
8981
9089
  },
8982
- "11": {
9090
+ "12": {
8983
9091
  loc: {
8984
9092
  start: {
8985
- line: 221,
9093
+ line: 222,
8986
9094
  column: 4
8987
9095
  },
8988
9096
  end: {
8989
- line: 227,
9097
+ line: 228,
8990
9098
  column: 5
8991
9099
  }
8992
9100
  },
8993
9101
  type: "if",
8994
9102
  locations: [{
8995
9103
  start: {
8996
- line: 221,
9104
+ line: 222,
8997
9105
  column: 4
8998
9106
  },
8999
9107
  end: {
9000
- line: 227,
9108
+ line: 228,
9001
9109
  column: 5
9002
9110
  }
9003
9111
  }, {
@@ -9010,27 +9118,27 @@ function cov_216ndqorbu() {
9010
9118
  column: undefined
9011
9119
  }
9012
9120
  }],
9013
- line: 221
9121
+ line: 222
9014
9122
  },
9015
- "12": {
9123
+ "13": {
9016
9124
  loc: {
9017
9125
  start: {
9018
- line: 232,
9126
+ line: 233,
9019
9127
  column: 2
9020
9128
  },
9021
9129
  end: {
9022
- line: 238,
9130
+ line: 239,
9023
9131
  column: 3
9024
9132
  }
9025
9133
  },
9026
9134
  type: "if",
9027
9135
  locations: [{
9028
9136
  start: {
9029
- line: 232,
9137
+ line: 233,
9030
9138
  column: 2
9031
9139
  },
9032
9140
  end: {
9033
- line: 238,
9141
+ line: 239,
9034
9142
  column: 3
9035
9143
  }
9036
9144
  }, {
@@ -9043,238 +9151,238 @@ function cov_216ndqorbu() {
9043
9151
  column: undefined
9044
9152
  }
9045
9153
  }],
9046
- line: 232
9154
+ line: 233
9047
9155
  },
9048
- "13": {
9156
+ "14": {
9049
9157
  loc: {
9050
9158
  start: {
9051
- line: 232,
9159
+ line: 233,
9052
9160
  column: 6
9053
9161
  },
9054
9162
  end: {
9055
- line: 232,
9163
+ line: 233,
9056
9164
  column: 48
9057
9165
  }
9058
9166
  },
9059
9167
  type: "binary-expr",
9060
9168
  locations: [{
9061
9169
  start: {
9062
- line: 232,
9170
+ line: 233,
9063
9171
  column: 6
9064
9172
  },
9065
9173
  end: {
9066
- line: 232,
9174
+ line: 233,
9067
9175
  column: 21
9068
9176
  }
9069
9177
  }, {
9070
9178
  start: {
9071
- line: 232,
9179
+ line: 233,
9072
9180
  column: 25
9073
9181
  },
9074
9182
  end: {
9075
- line: 232,
9183
+ line: 233,
9076
9184
  column: 48
9077
9185
  }
9078
9186
  }],
9079
- line: 232
9187
+ line: 233
9080
9188
  },
9081
- "14": {
9189
+ "15": {
9082
9190
  loc: {
9083
9191
  start: {
9084
- line: 264,
9085
- column: 31
9192
+ line: 266,
9193
+ column: 33
9086
9194
  },
9087
9195
  end: {
9088
- line: 266,
9089
- column: 39
9196
+ line: 268,
9197
+ column: 41
9090
9198
  }
9091
9199
  },
9092
9200
  type: "cond-expr",
9093
9201
  locations: [{
9094
9202
  start: {
9095
- line: 265,
9096
- column: 18
9203
+ line: 267,
9204
+ column: 20
9097
9205
  },
9098
9206
  end: {
9099
- line: 265,
9100
- column: 71
9207
+ line: 267,
9208
+ column: 73
9101
9209
  }
9102
9210
  }, {
9103
9211
  start: {
9104
- line: 266,
9105
- column: 18
9212
+ line: 268,
9213
+ column: 20
9106
9214
  },
9107
9215
  end: {
9108
- line: 266,
9109
- column: 39
9216
+ line: 268,
9217
+ column: 41
9110
9218
  }
9111
9219
  }],
9112
- line: 264
9220
+ line: 266
9113
9221
  },
9114
- "15": {
9222
+ "16": {
9115
9223
  loc: {
9116
9224
  start: {
9117
- line: 274,
9118
- column: 7
9225
+ line: 276,
9226
+ column: 9
9119
9227
  },
9120
9228
  end: {
9121
- line: 308,
9122
- column: 14
9229
+ line: 314,
9230
+ column: 16
9123
9231
  }
9124
9232
  },
9125
9233
  type: "cond-expr",
9126
9234
  locations: [{
9127
9235
  start: {
9128
- line: 275,
9129
- column: 8
9236
+ line: 277,
9237
+ column: 10
9130
9238
  },
9131
9239
  end: {
9132
- line: 307,
9133
- column: 14
9240
+ line: 313,
9241
+ column: 16
9134
9242
  }
9135
9243
  }, {
9136
9244
  start: {
9137
- line: 308,
9138
- column: 10
9245
+ line: 314,
9246
+ column: 12
9139
9247
  },
9140
9248
  end: {
9141
- line: 308,
9142
- column: 14
9249
+ line: 314,
9250
+ column: 16
9143
9251
  }
9144
9252
  }],
9145
- line: 274
9253
+ line: 276
9146
9254
  },
9147
- "16": {
9255
+ "17": {
9148
9256
  loc: {
9149
9257
  start: {
9150
- line: 274,
9151
- column: 7
9258
+ line: 276,
9259
+ column: 9
9152
9260
  },
9153
9261
  end: {
9154
- line: 274,
9155
- column: 51
9262
+ line: 276,
9263
+ column: 53
9156
9264
  }
9157
9265
  },
9158
9266
  type: "binary-expr",
9159
9267
  locations: [{
9160
9268
  start: {
9161
- line: 274,
9162
- column: 7
9269
+ line: 276,
9270
+ column: 9
9163
9271
  },
9164
9272
  end: {
9165
- line: 274,
9166
- column: 26
9273
+ line: 276,
9274
+ column: 28
9167
9275
  }
9168
9276
  }, {
9169
9277
  start: {
9170
- line: 274,
9171
- column: 30
9278
+ line: 276,
9279
+ column: 32
9172
9280
  },
9173
9281
  end: {
9174
- line: 274,
9175
- column: 51
9282
+ line: 276,
9283
+ column: 53
9176
9284
  }
9177
9285
  }],
9178
- line: 274
9286
+ line: 276
9179
9287
  },
9180
- "17": {
9288
+ "18": {
9181
9289
  loc: {
9182
9290
  start: {
9183
- line: 293,
9184
- column: 22
9291
+ line: 297,
9292
+ column: 24
9185
9293
  },
9186
9294
  end: {
9187
- line: 295,
9188
- column: 52
9295
+ line: 299,
9296
+ column: 54
9189
9297
  }
9190
9298
  },
9191
9299
  type: "cond-expr",
9192
9300
  locations: [{
9193
9301
  start: {
9194
- line: 294,
9195
- column: 26
9302
+ line: 298,
9303
+ column: 28
9196
9304
  },
9197
9305
  end: {
9198
- line: 294,
9199
- column: 54
9306
+ line: 298,
9307
+ column: 56
9200
9308
  }
9201
9309
  }, {
9202
9310
  start: {
9203
- line: 295,
9204
- column: 26
9311
+ line: 299,
9312
+ column: 28
9205
9313
  },
9206
9314
  end: {
9207
- line: 295,
9208
- column: 52
9315
+ line: 299,
9316
+ column: 54
9209
9317
  }
9210
9318
  }],
9211
- line: 293
9319
+ line: 297
9212
9320
  },
9213
- "18": {
9321
+ "19": {
9214
9322
  loc: {
9215
9323
  start: {
9216
- line: 309,
9217
- column: 7
9324
+ line: 315,
9325
+ column: 9
9218
9326
  },
9219
9327
  end: {
9220
- line: 339,
9221
- column: 14
9328
+ line: 345,
9329
+ column: 16
9222
9330
  }
9223
9331
  },
9224
9332
  type: "cond-expr",
9225
9333
  locations: [{
9226
9334
  start: {
9227
- line: 310,
9228
- column: 8
9335
+ line: 316,
9336
+ column: 10
9229
9337
  },
9230
9338
  end: {
9231
- line: 338,
9232
- column: 14
9339
+ line: 344,
9340
+ column: 16
9233
9341
  }
9234
9342
  }, {
9235
9343
  start: {
9236
- line: 339,
9237
- column: 10
9344
+ line: 345,
9345
+ column: 12
9238
9346
  },
9239
9347
  end: {
9240
- line: 339,
9241
- column: 14
9348
+ line: 345,
9349
+ column: 16
9242
9350
  }
9243
9351
  }],
9244
- line: 309
9352
+ line: 315
9245
9353
  },
9246
- "19": {
9354
+ "20": {
9247
9355
  loc: {
9248
9356
  start: {
9249
- line: 341,
9357
+ line: 348,
9250
9358
  column: 20
9251
9359
  },
9252
9360
  end: {
9253
- line: 341,
9361
+ line: 348,
9254
9362
  column: 62
9255
9363
  }
9256
9364
  },
9257
9365
  type: "binary-expr",
9258
9366
  locations: [{
9259
9367
  start: {
9260
- line: 341,
9368
+ line: 348,
9261
9369
  column: 20
9262
9370
  },
9263
9371
  end: {
9264
- line: 341,
9372
+ line: 348,
9265
9373
  column: 31
9266
9374
  }
9267
9375
  }, {
9268
9376
  start: {
9269
- line: 341,
9377
+ line: 348,
9270
9378
  column: 35
9271
9379
  },
9272
9380
  end: {
9273
- line: 341,
9381
+ line: 348,
9274
9382
  column: 62
9275
9383
  }
9276
9384
  }],
9277
- line: 341
9385
+ line: 348
9278
9386
  }
9279
9387
  },
9280
9388
  s: {
@@ -9348,10 +9456,10 @@ function cov_216ndqorbu() {
9348
9456
  "2": [0],
9349
9457
  "3": [0],
9350
9458
  "4": [0],
9351
- "5": [0, 0],
9459
+ "5": [0],
9352
9460
  "6": [0, 0],
9353
- "7": [0, 0, 0, 0, 0],
9354
- "8": [0, 0],
9461
+ "7": [0, 0],
9462
+ "8": [0, 0, 0, 0, 0],
9355
9463
  "9": [0, 0],
9356
9464
  "10": [0, 0],
9357
9465
  "11": [0, 0],
@@ -9362,10 +9470,11 @@ function cov_216ndqorbu() {
9362
9470
  "16": [0, 0],
9363
9471
  "17": [0, 0],
9364
9472
  "18": [0, 0],
9365
- "19": [0, 0]
9473
+ "19": [0, 0],
9474
+ "20": [0, 0]
9366
9475
  },
9367
9476
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
9368
- hash: "4de25cf9d36316a9dd816245bd945edc34959cfc"
9477
+ hash: "a29f32cd9f65dbcdb30f0b296784abd822305df0"
9369
9478
  };
9370
9479
  var coverage = global[gcv] || (global[gcv] = {});
9371
9480
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -9384,7 +9493,9 @@ cov_216ndqorbu();
9384
9493
  cov_216ndqorbu().s[0]++;
9385
9494
  var EmbedCode = function EmbedCode(_ref) {
9386
9495
  var _ref$primaryApp = _ref.primaryApp,
9387
- primaryApp = _ref$primaryApp === void 0 ? (cov_216ndqorbu().b[0][0]++, "") : _ref$primaryApp;
9496
+ primaryApp = _ref$primaryApp === void 0 ? (cov_216ndqorbu().b[0][0]++, "") : _ref$primaryApp,
9497
+ _ref$maxWidth = _ref.maxWidth,
9498
+ maxWidth = _ref$maxWidth === void 0 ? (cov_216ndqorbu().b[1][0]++, "max-w-3xl") : _ref$maxWidth;
9388
9499
  cov_216ndqorbu().f[0]++;
9389
9500
  var _ref2 = (cov_216ndqorbu().s[1]++, React.useState(EMAIL_TYPES["null"])),
9390
9501
  _ref3 = _slicedToArray(_ref2, 2),
@@ -9406,15 +9517,15 @@ var EmbedCode = function EmbedCode(_ref) {
9406
9517
  }, []);
9407
9518
  var _ref7 = (cov_216ndqorbu().s[8]++, useFetchApiKey()),
9408
9519
  _ref7$data = _ref7.data,
9409
- _ref7$data2 = _ref7$data === void 0 ? (cov_216ndqorbu().b[1][0]++, {}) : _ref7$data,
9520
+ _ref7$data2 = _ref7$data === void 0 ? (cov_216ndqorbu().b[2][0]++, {}) : _ref7$data,
9410
9521
  _ref7$data2$widgetApi = _ref7$data2.widgetApiKey,
9411
- widgetApiKey = _ref7$data2$widgetApi === void 0 ? (cov_216ndqorbu().b[2][0]++, "") : _ref7$data2$widgetApi,
9522
+ widgetApiKey = _ref7$data2$widgetApi === void 0 ? (cov_216ndqorbu().b[3][0]++, "") : _ref7$data2$widgetApi,
9412
9523
  isLoadingApiKey = _ref7.isLoading;
9413
9524
  var _ref8 = (cov_216ndqorbu().s[9]++, useFetchConfigurations()),
9414
9525
  _ref8$data = _ref8.data,
9415
- _ref8$data2 = _ref8$data === void 0 ? (cov_216ndqorbu().b[3][0]++, {}) : _ref8$data,
9526
+ _ref8$data2 = _ref8$data === void 0 ? (cov_216ndqorbu().b[4][0]++, {}) : _ref8$data,
9416
9527
  _ref8$data2$neetoWidg = _ref8$data2.neetoWidgetTokens,
9417
- neetoWidgetTokens = _ref8$data2$neetoWidg === void 0 ? (cov_216ndqorbu().b[4][0]++, []) : _ref8$data2$neetoWidg,
9528
+ neetoWidgetTokens = _ref8$data2$neetoWidg === void 0 ? (cov_216ndqorbu().b[5][0]++, []) : _ref8$data2$neetoWidg,
9418
9529
  isLoadingConfigurations = _ref8.isLoading;
9419
9530
  var _ref9 = (cov_216ndqorbu().s[10]++, useUpdateConfigurations()),
9420
9531
  updateWidgetConfiguration = _ref9.mutate;
@@ -9447,7 +9558,7 @@ var EmbedCode = function EmbedCode(_ref) {
9447
9558
  }, {
9448
9559
  onSuccess: function onSuccess() {
9449
9560
  cov_216ndqorbu().f[6]++;
9450
- var response = (cov_216ndqorbu().s[21]++, isEnabled ? (cov_216ndqorbu().b[5][0]++, "neetoMolecules.widget.installation.enabled") : (cov_216ndqorbu().b[5][1]++, "neetoMolecules.widget.installation.disabled"));
9561
+ var response = (cov_216ndqorbu().s[21]++, isEnabled ? (cov_216ndqorbu().b[6][0]++, "neetoMolecules.widget.installation.enabled") : (cov_216ndqorbu().b[6][1]++, "neetoMolecules.widget.installation.disabled"));
9451
9562
  cov_216ndqorbu().s[22]++;
9452
9563
  neetoui.Toastr.success(t(response, {
9453
9564
  productName: "neeto".concat(pure.capitalize(widget))
@@ -9460,11 +9571,11 @@ var EmbedCode = function EmbedCode(_ref) {
9460
9571
  cov_216ndqorbu().f[7]++;
9461
9572
  cov_216ndqorbu().s[24]++;
9462
9573
  if (pure.isNotEmpty(widgetApiKey)) {
9463
- cov_216ndqorbu().b[6][0]++;
9574
+ cov_216ndqorbu().b[7][0]++;
9464
9575
  cov_216ndqorbu().s[25]++;
9465
9576
  return sampleConsolidatedCodeString(enabledWidgets, widgetApiKey);
9466
9577
  } else {
9467
- cov_216ndqorbu().b[6][1]++;
9578
+ cov_216ndqorbu().b[7][1]++;
9468
9579
  }
9469
9580
  cov_216ndqorbu().s[26]++;
9470
9581
  return "";
@@ -9475,7 +9586,7 @@ var EmbedCode = function EmbedCode(_ref) {
9475
9586
  cov_216ndqorbu().s[28]++;
9476
9587
  switch (selectedEmailType) {
9477
9588
  case EMAIL_TYPES.embedCode:
9478
- cov_216ndqorbu().b[7][0]++;
9589
+ cov_216ndqorbu().b[8][0]++;
9479
9590
  cov_216ndqorbu().s[29]++;
9480
9591
  return {
9481
9592
  codeString: getEmbedCodeString(),
@@ -9513,7 +9624,7 @@ var EmbedCode = function EmbedCode(_ref) {
9513
9624
  }))
9514
9625
  };
9515
9626
  case EMAIL_TYPES.userIdentity:
9516
- cov_216ndqorbu().b[7][1]++;
9627
+ cov_216ndqorbu().b[8][1]++;
9517
9628
  cov_216ndqorbu().s[30]++;
9518
9629
  return {
9519
9630
  emailType: EMAIL_TYPES.userIdentity,
@@ -9533,16 +9644,16 @@ var EmbedCode = function EmbedCode(_ref) {
9533
9644
  className: "neeto-ui-text-primary-800",
9534
9645
  rel: "noreferrer",
9535
9646
  target: "_blank",
9536
- href: enabledWidgets.chat ? (cov_216ndqorbu().b[8][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[8][1]++, NEETO_REPLAY_CONFIGURE_URL)
9647
+ href: enabledWidgets.chat ? (cov_216ndqorbu().b[9][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[9][1]++, NEETO_REPLAY_CONFIGURE_URL)
9537
9648
  })
9538
9649
  },
9539
9650
  values: {
9540
- userIdentityKbUrl: enabledWidgets.chat ? (cov_216ndqorbu().b[9][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[9][1]++, NEETO_REPLAY_CONFIGURE_URL)
9651
+ userIdentityKbUrl: enabledWidgets.chat ? (cov_216ndqorbu().b[10][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[10][1]++, NEETO_REPLAY_CONFIGURE_URL)
9541
9652
  }
9542
9653
  }))
9543
9654
  };
9544
9655
  case EMAIL_TYPES.sessionContext:
9545
- cov_216ndqorbu().b[7][2]++;
9656
+ cov_216ndqorbu().b[8][2]++;
9546
9657
  cov_216ndqorbu().s[31]++;
9547
9658
  return {
9548
9659
  codeString: SAMPLE_CONTEXT_CODE_STRING,
@@ -9570,11 +9681,11 @@ var EmbedCode = function EmbedCode(_ref) {
9570
9681
  }))
9571
9682
  };
9572
9683
  case EMAIL_TYPES["null"]:
9573
- cov_216ndqorbu().b[7][3]++;
9684
+ cov_216ndqorbu().b[8][3]++;
9574
9685
  cov_216ndqorbu().s[32]++;
9575
- return previousEmailType !== EMAIL_TYPES["null"] ? (cov_216ndqorbu().b[10][0]++, getSnippetProps(previousEmailType)) : (cov_216ndqorbu().b[10][1]++, {});
9686
+ return previousEmailType !== EMAIL_TYPES["null"] ? (cov_216ndqorbu().b[11][0]++, getSnippetProps(previousEmailType)) : (cov_216ndqorbu().b[11][1]++, {});
9576
9687
  default:
9577
- cov_216ndqorbu().b[7][4]++;
9688
+ cov_216ndqorbu().b[8][4]++;
9578
9689
  cov_216ndqorbu().s[33]++;
9579
9690
  throw new Error("Invalid email type received.");
9580
9691
  }
@@ -9584,38 +9695,40 @@ var EmbedCode = function EmbedCode(_ref) {
9584
9695
  cov_216ndqorbu().f[9]++;
9585
9696
  cov_216ndqorbu().s[35]++;
9586
9697
  if (ramda.isEmpty(selectedWidgets)) {
9587
- cov_216ndqorbu().b[11][0]++;
9698
+ cov_216ndqorbu().b[12][0]++;
9588
9699
  cov_216ndqorbu().s[36]++;
9589
9700
  neetoui.Toastr.error(t("neetoMolecules.widget.installation.snippet.disabledError"));
9590
9701
  cov_216ndqorbu().s[37]++;
9591
9702
  return;
9592
9703
  } else {
9593
- cov_216ndqorbu().b[11][1]++;
9704
+ cov_216ndqorbu().b[12][1]++;
9594
9705
  }
9595
9706
  cov_216ndqorbu().s[38]++;
9596
9707
  setEmailType(selectedEmail);
9597
9708
  };
9598
9709
  cov_216ndqorbu().s[39]++;
9599
- if ((cov_216ndqorbu().b[13][0]++, isLoadingApiKey) || (cov_216ndqorbu().b[13][1]++, isLoadingConfigurations)) {
9600
- cov_216ndqorbu().b[12][0]++;
9710
+ if ((cov_216ndqorbu().b[14][0]++, isLoadingApiKey) || (cov_216ndqorbu().b[14][1]++, isLoadingConfigurations)) {
9711
+ cov_216ndqorbu().b[13][0]++;
9601
9712
  cov_216ndqorbu().s[40]++;
9602
9713
  return /*#__PURE__*/React__default["default"].createElement("div", {
9603
9714
  className: "h-full w-full"
9604
9715
  }, /*#__PURE__*/React__default["default"].createElement(PageLoader, null));
9605
9716
  } else {
9606
- cov_216ndqorbu().b[12][1]++;
9717
+ cov_216ndqorbu().b[13][1]++;
9607
9718
  }
9608
9719
  cov_216ndqorbu().s[41]++;
9609
9720
  return /*#__PURE__*/React__default["default"].createElement("div", {
9610
9721
  className: "mx-auto mb-10 w-full flex-col items-center justify-start"
9722
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
9723
+ className: classnames("mx-auto", maxWidth)
9611
9724
  }, /*#__PURE__*/React__default["default"].createElement(SelectionTabs, {
9612
9725
  primarySelectedWidget: primaryApp,
9613
9726
  selectedWidgets: selectedWidgets,
9614
9727
  updateSelectedWidgets: updateSelectedWidgets
9615
9728
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9616
- className: "mx-auto mb-6 w-full max-w-2xl flex-grow flex-col items-center justify-start"
9729
+ className: "mb-8 w-full flex-grow flex-col items-center justify-start"
9617
9730
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9618
- className: "mx-auto mb-4 w-full",
9731
+ className: "mx-auto mb-2 w-full",
9619
9732
  "data-testid": "embed-code-block"
9620
9733
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
9621
9734
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
@@ -9639,40 +9752,40 @@ var EmbedCode = function EmbedCode(_ref) {
9639
9752
  })
9640
9753
  },
9641
9754
  values: {
9642
- selectedWidgets: pure.isNotEmpty(selectedWidgets) ? (cov_216ndqorbu().b[14][0]++, getSelectedWidgetsCombinedText(selectedWidgets, true)) : (cov_216ndqorbu().b[14][1]++, "none of the widgets")
9755
+ selectedWidgets: pure.isNotEmpty(selectedWidgets) ? (cov_216ndqorbu().b[15][0]++, getSelectedWidgetsCombinedText(selectedWidgets, true)) : (cov_216ndqorbu().b[15][1]++, "none of the widgets")
9643
9756
  }
9644
- }, "Place the embed code in your HTML file. This will embed the selected widgets in your website."))), (cov_216ndqorbu().b[16][0]++, enabledWidgets.chat) || (cov_216ndqorbu().b[16][1]++, enabledWidgets.replay) ? (cov_216ndqorbu().b[15][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
9645
- className: "mx-auto mb-6 w-full max-w-2xl flex-grow flex-col items-center justify-start"
9757
+ }, "Place the embed code in your HTML file. This will embed the selected widgets in your website."))), (cov_216ndqorbu().b[17][0]++, enabledWidgets.chat) || (cov_216ndqorbu().b[17][1]++, enabledWidgets.replay) ? (cov_216ndqorbu().b[16][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
9758
+ className: "mb-8 w-full flex-grow flex-col items-center justify-start"
9646
9759
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9647
- className: "mx-auto mb-4 w-full"
9760
+ className: "mx-auto mb-2 w-full"
9648
9761
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
9649
9762
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
9650
9763
  frameworkProps: {
9651
9764
  selectedFramework: selectedFramework,
9652
9765
  setSelectedFramework: setSelectedFramework
9653
9766
  },
9767
+ codeString: getSampleUserIdentity(enabledWidgets, selectedFramework.value),
9654
9768
  sendViaEmail: function sendViaEmail() {
9655
9769
  cov_216ndqorbu().f[11]++;
9656
9770
  cov_216ndqorbu().s[43]++;
9657
9771
  return handleSendViaEmail(EMAIL_TYPES.userIdentity);
9658
9772
  },
9659
- codeString: getSampleUserIdentity(enabledWidgets, selectedFramework.value),
9660
9773
  title: /*#__PURE__*/React__default["default"].createElement("div", {
9661
9774
  className: "flex items-center justify-start"
9662
9775
  }, /*#__PURE__*/React__default["default"].createElement("div", null, "User identity (Optional)"), /*#__PURE__*/React__default["default"].createElement("a", {
9663
9776
  className: "ml-1",
9664
9777
  rel: "noreferrer",
9665
9778
  target: "_blank",
9666
- href: enabledWidgets.chat ? (cov_216ndqorbu().b[17][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[17][1]++, NEETO_REPLAY_CONFIGURE_URL)
9667
- }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Help, {
9779
+ href: enabledWidgets.chat ? (cov_216ndqorbu().b[18][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[18][1]++, NEETO_REPLAY_CONFIGURE_URL)
9780
+ }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Info, {
9668
9781
  size: 16
9669
9782
  })))
9670
9783
  })), /*#__PURE__*/React__default["default"].createElement("div", {
9671
9784
  className: "w-full"
9672
- }, t("neetoMolecules.widget.installation.instructions.userIdentity")))) : (cov_216ndqorbu().b[15][1]++, null), enabledWidgets.replay ? (cov_216ndqorbu().b[18][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
9673
- className: "mx-auto w-full max-w-2xl flex-grow flex-col items-center justify-start"
9785
+ }, t("neetoMolecules.widget.installation.instructions.userIdentity")))) : (cov_216ndqorbu().b[16][1]++, null), enabledWidgets.replay ? (cov_216ndqorbu().b[19][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
9786
+ className: "w-full flex-grow flex-col items-center justify-start"
9674
9787
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9675
- className: "mx-auto mb-4 w-full"
9788
+ className: "mx-auto mb-2 w-full"
9676
9789
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
9677
9790
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
9678
9791
  codeString: SAMPLE_CONTEXT_CODE_STRING,
@@ -9688,13 +9801,13 @@ var EmbedCode = function EmbedCode(_ref) {
9688
9801
  href: NEETO_REPLAY_CONFIGURE_URL,
9689
9802
  rel: "noreferrer",
9690
9803
  target: "_blank"
9691
- }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Help, {
9804
+ }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Info, {
9692
9805
  size: 16
9693
9806
  })))
9694
9807
  })), /*#__PURE__*/React__default["default"].createElement("div", {
9695
9808
  className: "w-full"
9696
- }, t("neetoMolecules.widget.installation.instructions.sessionContext")))) : (cov_216ndqorbu().b[18][1]++, null), /*#__PURE__*/React__default["default"].createElement(CodeSnippet, _extends({
9697
- isPaneOpen: (cov_216ndqorbu().b[19][0]++, !!emailType) && (cov_216ndqorbu().b[19][1]++, pure.isNotEmpty(selectedWidgets)),
9809
+ }, t("neetoMolecules.widget.installation.instructions.sessionContext")))) : (cov_216ndqorbu().b[19][1]++, null)), /*#__PURE__*/React__default["default"].createElement(CodeSnippet, _extends({
9810
+ isPaneOpen: (cov_216ndqorbu().b[20][0]++, !!emailType) && (cov_216ndqorbu().b[20][1]++, pure.isNotEmpty(selectedWidgets)),
9698
9811
  onClose: function onClose() {
9699
9812
  cov_216ndqorbu().f[13]++;
9700
9813
  cov_216ndqorbu().s[45]++;
@@ -9704,52 +9817,72 @@ var EmbedCode = function EmbedCode(_ref) {
9704
9817
  };
9705
9818
  cov_216ndqorbu().s[46]++;
9706
9819
 
9707
- function cov_dmuubj14b() {
9708
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCodeQueryClient.jsx";
9709
- var hash = "2943e099ababc6953ade5b6465be1773b78fdd9a";
9820
+ function cov_19nsdjzqpb() {
9821
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/Main.jsx";
9822
+ var hash = "f8f6a974b4a06560042d191ae12aff007d1a7759";
9710
9823
  var global = new Function("return this")();
9711
9824
  var gcv = "__coverage__";
9712
9825
  var coverageData = {
9713
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCodeQueryClient.jsx",
9826
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/Main.jsx",
9714
9827
  statementMap: {
9715
9828
  "0": {
9716
9829
  start: {
9717
- line: 8,
9830
+ line: 11,
9718
9831
  column: 20
9719
9832
  },
9720
9833
  end: {
9721
- line: 8,
9834
+ line: 11,
9722
9835
  column: 37
9723
9836
  }
9724
9837
  },
9725
9838
  "1": {
9726
9839
  start: {
9727
- line: 10,
9728
- column: 29
9840
+ line: 13,
9841
+ column: 13
9729
9842
  },
9730
9843
  end: {
9731
- line: 14,
9844
+ line: 27,
9732
9845
  column: 1
9733
9846
  }
9734
9847
  },
9735
9848
  "2": {
9736
9849
  start: {
9737
- line: 11,
9738
- column: 2
9850
+ line: 14,
9851
+ column: 16
9739
9852
  },
9740
9853
  end: {
9741
- line: 13,
9742
- column: 24
9854
+ line: 14,
9855
+ column: 32
9743
9856
  }
9744
9857
  },
9745
9858
  "3": {
9746
9859
  start: {
9747
9860
  line: 16,
9748
- column: 0
9861
+ column: 32
9749
9862
  },
9750
9863
  end: {
9864
+ line: 16,
9865
+ column: 61
9866
+ }
9867
+ },
9868
+ "4": {
9869
+ start: {
9751
9870
  line: 18,
9752
9871
  column: 2
9872
+ },
9873
+ end: {
9874
+ line: 26,
9875
+ column: 4
9876
+ }
9877
+ },
9878
+ "5": {
9879
+ start: {
9880
+ line: 29,
9881
+ column: 0
9882
+ },
9883
+ end: {
9884
+ line: 31,
9885
+ column: 2
9753
9886
  }
9754
9887
  }
9755
9888
  },
@@ -9758,40 +9891,78 @@ function cov_dmuubj14b() {
9758
9891
  name: "(anonymous_0)",
9759
9892
  decl: {
9760
9893
  start: {
9761
- line: 10,
9762
- column: 29
9894
+ line: 13,
9895
+ column: 13
9763
9896
  },
9764
9897
  end: {
9765
- line: 10,
9766
- column: 30
9898
+ line: 13,
9899
+ column: 14
9767
9900
  }
9768
9901
  },
9769
9902
  loc: {
9770
9903
  start: {
9771
- line: 11,
9772
- column: 2
9904
+ line: 13,
9905
+ column: 22
9773
9906
  },
9774
9907
  end: {
9775
- line: 13,
9776
- column: 24
9908
+ line: 27,
9909
+ column: 1
9777
9910
  }
9778
9911
  },
9779
- line: 11
9912
+ line: 13
9913
+ }
9914
+ },
9915
+ branchMap: {
9916
+ "0": {
9917
+ loc: {
9918
+ start: {
9919
+ line: 18,
9920
+ column: 9
9921
+ },
9922
+ end: {
9923
+ line: 26,
9924
+ column: 3
9925
+ }
9926
+ },
9927
+ type: "cond-expr",
9928
+ locations: [{
9929
+ start: {
9930
+ line: 19,
9931
+ column: 4
9932
+ },
9933
+ end: {
9934
+ line: 21,
9935
+ column: 26
9936
+ }
9937
+ }, {
9938
+ start: {
9939
+ line: 23,
9940
+ column: 4
9941
+ },
9942
+ end: {
9943
+ line: 25,
9944
+ column: 14
9945
+ }
9946
+ }],
9947
+ line: 18
9780
9948
  }
9781
9949
  },
9782
- branchMap: {},
9783
9950
  s: {
9784
9951
  "0": 0,
9785
9952
  "1": 0,
9786
9953
  "2": 0,
9787
- "3": 0
9954
+ "3": 0,
9955
+ "4": 0,
9956
+ "5": 0
9788
9957
  },
9789
9958
  f: {
9790
9959
  "0": 0
9791
9960
  },
9792
- b: {},
9961
+ b: {
9962
+ "0": [0, 0]
9963
+ },
9793
9964
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
9794
- hash: "2943e099ababc6953ade5b6465be1773b78fdd9a"
9965
+ hash: "f8f6a974b4a06560042d191ae12aff007d1a7759"
9795
9966
  };
9796
9967
  var coverage = global[gcv] || (global[gcv] = {});
9797
9968
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -9800,23 +9971,29 @@ function cov_dmuubj14b() {
9800
9971
  var actualCoverage = coverage[path];
9801
9972
  {
9802
9973
  // @ts-ignore
9803
- cov_dmuubj14b = function () {
9974
+ cov_19nsdjzqpb = function () {
9804
9975
  return actualCoverage;
9805
9976
  };
9806
9977
  }
9807
9978
  return actualCoverage;
9808
9979
  }
9809
- cov_dmuubj14b();
9810
- var queryClient = (cov_dmuubj14b().s[0]++, new reactQuery.QueryClient());
9811
- cov_dmuubj14b().s[1]++;
9812
- var EmbedCodeQueryClient = function EmbedCodeQueryClient(props) {
9813
- cov_dmuubj14b().f[0]++;
9814
- cov_dmuubj14b().s[2]++;
9815
- return /*#__PURE__*/React__default["default"].createElement(reactQuery.QueryClientProvider, {
9980
+ cov_19nsdjzqpb();
9981
+ var queryClient = (cov_19nsdjzqpb().s[0]++, new reactQuery.QueryClient());
9982
+ cov_19nsdjzqpb().s[1]++;
9983
+ var Main = function Main(props) {
9984
+ cov_19nsdjzqpb().f[0]++;
9985
+ var _ref = (cov_19nsdjzqpb().s[2]++, reactI18next.useTranslation()),
9986
+ t = _ref.t;
9987
+ var shouldRenderEmbedCode = (cov_19nsdjzqpb().s[3]++, window.globalProps.ssoEnabled);
9988
+ cov_19nsdjzqpb().s[4]++;
9989
+ return shouldRenderEmbedCode ? (cov_19nsdjzqpb().b[0][0]++, /*#__PURE__*/React__default["default"].createElement(reactQuery.QueryClientProvider, {
9816
9990
  client: queryClient
9817
- }, /*#__PURE__*/React__default["default"].createElement(EmbedCode, props));
9991
+ }, /*#__PURE__*/React__default["default"].createElement(EmbedCode, props))) : (cov_19nsdjzqpb().b[0][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Callout, {
9992
+ icon: neetoIcons.Info,
9993
+ style: "info"
9994
+ }, t("neetoMolecules.widget.developmentInfo")));
9818
9995
  };
9819
- cov_dmuubj14b().s[3]++;
9996
+ cov_19nsdjzqpb().s[5]++;
9820
9997
 
9821
9998
  function cov_oapvqz4m8() {
9822
9999
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/index.js";
@@ -9862,7 +10039,7 @@ function cov_oapvqz4m8() {
9862
10039
  }
9863
10040
  cov_oapvqz4m8();
9864
10041
  var NeetoWidget = (cov_oapvqz4m8().s[0]++, {
9865
- EmbedCode: EmbedCodeQueryClient,
10042
+ EmbedCode: Main,
9866
10043
  WIDGET_TYPES: WIDGET_TYPES
9867
10044
  });
9868
10045