@bigbinary/neeto-molecules 1.0.23 → 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 = "63e5ff20d59ea5e6794cdacf4120f798dfd51e27";
4022
+ var hash = "49a8f712173793016480ba7b66ebcfd23dde4bb9";
4023
4023
  var global = new Function("return this")();
4024
4024
  var gcv = "__coverage__";
4025
4025
  var coverageData = {
@@ -4281,188 +4281,238 @@ 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: 121,
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: 108,
4385
- column: 48
4384
+ line: 103,
4385
+ column: 11
4386
4386
  }
4387
4387
  },
4388
4388
  "36": {
4389
4389
  start: {
4390
- line: 108,
4391
- column: 19
4390
+ line: 91,
4391
+ column: 2
4392
4392
  },
4393
4393
  end: {
4394
- line: 108,
4395
- column: 47
4394
+ line: 103,
4395
+ column: 11
4396
4396
  }
4397
4397
  },
4398
4398
  "37": {
4399
4399
  start: {
4400
- line: 110,
4401
- column: 2
4400
+ line: 105,
4401
+ column: 54
4402
4402
  },
4403
4403
  end: {
4404
- line: 112,
4405
- column: 3
4404
+ line: 108,
4405
+ column: 2
4406
4406
  }
4407
4407
  },
4408
4408
  "38": {
4409
4409
  start: {
4410
- line: 111,
4411
- column: 4
4410
+ line: 105,
4411
+ column: 66
4412
4412
  },
4413
4413
  end: {
4414
- line: 111,
4415
- column: 30
4414
+ line: 108,
4415
+ column: 1
4416
4416
  }
4417
4417
  },
4418
4418
  "39": {
4419
4419
  start: {
4420
- line: 114,
4421
- column: 2
4420
+ line: 110,
4421
+ column: 46
4422
4422
  },
4423
4423
  end: {
4424
- line: 120,
4425
- column: 5
4424
+ line: 126,
4425
+ column: 1
4426
4426
  }
4427
4427
  },
4428
4428
  "40": {
4429
4429
  start: {
4430
- line: 123,
4431
- column: 53
4430
+ line: 111,
4431
+ column: 26
4432
4432
  },
4433
4433
  end: {
4434
- line: 133,
4435
- column: 4
4434
+ line: 113,
4435
+ column: 48
4436
4436
  }
4437
4437
  },
4438
4438
  "41": {
4439
4439
  start: {
4440
- line: 124,
4441
- column: 2
4440
+ line: 113,
4441
+ column: 19
4442
4442
  },
4443
4443
  end: {
4444
- line: 133,
4445
- column: 4
4444
+ line: 113,
4445
+ column: 47
4446
4446
  }
4447
4447
  },
4448
4448
  "42": {
4449
4449
  start: {
4450
- line: 135,
4451
- column: 34
4450
+ line: 115,
4451
+ column: 2
4452
4452
  },
4453
4453
  end: {
4454
- line: 136,
4455
- column: 71
4454
+ line: 117,
4455
+ column: 3
4456
4456
  }
4457
4457
  },
4458
4458
  "43": {
4459
4459
  start: {
4460
- line: 136,
4461
- column: 2
4460
+ line: 116,
4461
+ column: 4
4462
4462
  },
4463
4463
  end: {
4464
- line: 136,
4465
- column: 71
4464
+ line: 116,
4465
+ column: 30
4466
+ }
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
4466
4516
  }
4467
4517
  }
4468
4518
  },
@@ -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: 121,
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: 108,
4908
+ line: 113,
4859
4909
  column: 9
4860
4910
  },
4861
4911
  end: {
4862
- line: 108,
4912
+ line: 113,
4863
4913
  column: 10
4864
4914
  }
4865
4915
  },
4866
4916
  loc: {
4867
4917
  start: {
4868
- line: 108,
4918
+ line: 113,
4869
4919
  column: 19
4870
4920
  },
4871
4921
  end: {
4872
- line: 108,
4922
+ line: 113,
4873
4923
  column: 47
4874
4924
  }
4875
4925
  },
4876
- line: 108
4926
+ line: 113
4877
4927
  },
4878
4928
  "17": {
4879
4929
  name: "(anonymous_17)",
4880
4930
  decl: {
4881
4931
  start: {
4882
- line: 123,
4932
+ line: 128,
4883
4933
  column: 53
4884
4934
  },
4885
4935
  end: {
4886
- line: 123,
4936
+ line: 128,
4887
4937
  column: 54
4888
4938
  }
4889
4939
  },
4890
4940
  loc: {
4891
4941
  start: {
4892
- line: 124,
4942
+ line: 129,
4893
4943
  column: 2
4894
4944
  },
4895
4945
  end: {
4896
- line: 133,
4946
+ line: 138,
4897
4947
  column: 4
4898
4948
  }
4899
4949
  },
4900
- line: 124
4950
+ line: 129
4901
4951
  },
4902
4952
  "18": {
4903
4953
  name: "(anonymous_18)",
4904
4954
  decl: {
4905
4955
  start: {
4906
- line: 135,
4956
+ line: 140,
4907
4957
  column: 34
4908
4958
  },
4909
4959
  end: {
4910
- line: 135,
4960
+ line: 140,
4911
4961
  column: 35
4912
4962
  }
4913
4963
  },
4914
4964
  loc: {
4915
4965
  start: {
4916
- line: 136,
4966
+ line: 141,
4917
4967
  column: 2
4918
4968
  },
4919
4969
  end: {
4920
- line: 136,
4970
+ line: 141,
4921
4971
  column: 71
4922
4972
  }
4923
4973
  },
4924
- line: 136
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: 110,
5404
+ line: 115,
5331
5405
  column: 2
5332
5406
  },
5333
5407
  end: {
5334
- line: 112,
5408
+ line: 117,
5335
5409
  column: 3
5336
5410
  }
5337
5411
  },
5338
5412
  type: "if",
5339
5413
  locations: [{
5340
5414
  start: {
5341
- line: 110,
5415
+ line: 115,
5342
5416
  column: 2
5343
5417
  },
5344
5418
  end: {
5345
- line: 112,
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: 110
5432
+ line: 115
5359
5433
  },
5360
- "12": {
5434
+ "13": {
5361
5435
  loc: {
5362
5436
  start: {
5363
- line: 117,
5437
+ line: 122,
5364
5438
  column: 9
5365
5439
  },
5366
5440
  end: {
5367
- line: 119,
5441
+ line: 124,
5368
5442
  column: 46
5369
5443
  }
5370
5444
  },
5371
5445
  type: "cond-expr",
5372
5446
  locations: [{
5373
5447
  start: {
5374
- line: 118,
5448
+ line: 123,
5375
5449
  column: 8
5376
5450
  },
5377
5451
  end: {
5378
- line: 118,
5452
+ line: 123,
5379
5453
  column: 76
5380
5454
  }
5381
5455
  }, {
5382
5456
  start: {
5383
- line: 119,
5457
+ line: 124,
5384
5458
  column: 8
5385
5459
  },
5386
5460
  end: {
5387
- line: 119,
5461
+ line: 124,
5388
5462
  column: 46
5389
5463
  }
5390
5464
  }],
5391
- line: 117
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: "63e5ff20d59ea5e6794cdacf4120f798dfd51e27"
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.sort().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 = "8292e5e23b4e5d011bf16300bbbc006d992c5d82";
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: 67,
7468
+ line: 71,
7384
7469
  column: 1
7385
7470
  }
7386
7471
  },
@@ -7400,7 +7485,7 @@ function cov_jv5dgcssl() {
7400
7485
  column: 28
7401
7486
  },
7402
7487
  end: {
7403
- line: 35,
7488
+ line: 37,
7404
7489
  column: 5
7405
7490
  }
7406
7491
  },
@@ -7410,7 +7495,7 @@ function cov_jv5dgcssl() {
7410
7495
  column: 4
7411
7496
  },
7412
7497
  end: {
7413
- line: 35,
7498
+ line: 37,
7414
7499
  column: 5
7415
7500
  }
7416
7501
  },
@@ -7420,47 +7505,47 @@ function cov_jv5dgcssl() {
7420
7505
  column: 6
7421
7506
  },
7422
7507
  end: {
7423
- line: 34,
7508
+ line: 36,
7424
7509
  column: 14
7425
7510
  }
7426
7511
  },
7427
7512
  "5": {
7428
7513
  start: {
7429
7514
  line: 32,
7430
- column: 26
7515
+ column: 28
7431
7516
  },
7432
7517
  end: {
7433
7518
  line: 32,
7434
- column: 55
7519
+ column: 57
7435
7520
  }
7436
7521
  },
7437
7522
  "6": {
7438
7523
  start: {
7439
- line: 37,
7524
+ line: 39,
7440
7525
  column: 2
7441
7526
  },
7442
7527
  end: {
7443
- line: 66,
7528
+ line: 70,
7444
7529
  column: 4
7445
7530
  }
7446
7531
  },
7447
7532
  "7": {
7448
7533
  start: {
7449
- line: 47,
7534
+ line: 45,
7450
7535
  column: 28
7451
7536
  },
7452
7537
  end: {
7453
- line: 47,
7538
+ line: 45,
7454
7539
  column: 72
7455
7540
  }
7456
7541
  },
7457
7542
  "8": {
7458
7543
  start: {
7459
- line: 69,
7544
+ line: 73,
7460
7545
  column: 0
7461
7546
  },
7462
7547
  end: {
7463
- line: 73,
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: 67,
7572
+ line: 71,
7488
7573
  column: 1
7489
7574
  }
7490
7575
  },
@@ -7508,7 +7593,7 @@ function cov_jv5dgcssl() {
7508
7593
  column: 4
7509
7594
  },
7510
7595
  end: {
7511
- line: 35,
7596
+ line: 37,
7512
7597
  column: 5
7513
7598
  }
7514
7599
  },
@@ -7532,7 +7617,7 @@ function cov_jv5dgcssl() {
7532
7617
  column: 6
7533
7618
  },
7534
7619
  end: {
7535
- line: 34,
7620
+ line: 36,
7536
7621
  column: 14
7537
7622
  }
7538
7623
  },
@@ -7543,21 +7628,21 @@ function cov_jv5dgcssl() {
7543
7628
  decl: {
7544
7629
  start: {
7545
7630
  line: 32,
7546
- column: 20
7631
+ column: 22
7547
7632
  },
7548
7633
  end: {
7549
7634
  line: 32,
7550
- column: 21
7635
+ column: 23
7551
7636
  }
7552
7637
  },
7553
7638
  loc: {
7554
7639
  start: {
7555
7640
  line: 32,
7556
- column: 26
7641
+ column: 28
7557
7642
  },
7558
7643
  end: {
7559
7644
  line: 32,
7560
- column: 55
7645
+ column: 57
7561
7646
  }
7562
7647
  },
7563
7648
  line: 32
@@ -7566,25 +7651,25 @@ function cov_jv5dgcssl() {
7566
7651
  name: "(anonymous_4)",
7567
7652
  decl: {
7568
7653
  start: {
7569
- line: 47,
7654
+ line: 45,
7570
7655
  column: 22
7571
7656
  },
7572
7657
  end: {
7573
- line: 47,
7658
+ line: 45,
7574
7659
  column: 23
7575
7660
  }
7576
7661
  },
7577
7662
  loc: {
7578
7663
  start: {
7579
- line: 47,
7664
+ line: 45,
7580
7665
  column: 28
7581
7666
  },
7582
7667
  end: {
7583
- line: 47,
7668
+ line: 45,
7584
7669
  column: 72
7585
7670
  }
7586
7671
  },
7587
- line: 47
7672
+ line: 45
7588
7673
  }
7589
7674
  },
7590
7675
  branchMap: {
@@ -7628,7 +7713,7 @@ function cov_jv5dgcssl() {
7628
7713
  column: 6
7629
7714
  },
7630
7715
  end: {
7631
- line: 34,
7716
+ line: 36,
7632
7717
  column: 14
7633
7718
  }
7634
7719
  },
@@ -7639,16 +7724,16 @@ function cov_jv5dgcssl() {
7639
7724
  column: 8
7640
7725
  },
7641
7726
  end: {
7642
- line: 33,
7643
- column: 10
7727
+ line: 35,
7728
+ column: 14
7644
7729
  }
7645
7730
  }, {
7646
7731
  start: {
7647
- line: 34,
7732
+ line: 36,
7648
7733
  column: 10
7649
7734
  },
7650
7735
  end: {
7651
- line: 34,
7736
+ line: 36,
7652
7737
  column: 14
7653
7738
  }
7654
7739
  }],
@@ -7657,68 +7742,68 @@ function cov_jv5dgcssl() {
7657
7742
  "2": {
7658
7743
  loc: {
7659
7744
  start: {
7660
- line: 44,
7745
+ line: 42,
7661
7746
  column: 9
7662
7747
  },
7663
7748
  end: {
7664
- line: 49,
7749
+ line: 47,
7665
7750
  column: 9
7666
7751
  }
7667
7752
  },
7668
7753
  type: "binary-expr",
7669
7754
  locations: [{
7670
7755
  start: {
7671
- line: 44,
7756
+ line: 42,
7672
7757
  column: 9
7673
7758
  },
7674
7759
  end: {
7675
- line: 44,
7760
+ line: 42,
7676
7761
  column: 43
7677
7762
  }
7678
7763
  }, {
7679
7764
  start: {
7680
- line: 45,
7765
+ line: 43,
7681
7766
  column: 10
7682
7767
  },
7683
7768
  end: {
7684
- line: 48,
7769
+ line: 46,
7685
7770
  column: 12
7686
7771
  }
7687
7772
  }],
7688
- line: 44
7773
+ line: 42
7689
7774
  },
7690
7775
  "3": {
7691
7776
  loc: {
7692
7777
  start: {
7693
- line: 54,
7694
- column: 12
7778
+ line: 57,
7779
+ column: 14
7695
7780
  },
7696
7781
  end: {
7697
- line: 56,
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: 55,
7705
- column: 16
7789
+ line: 58,
7790
+ column: 18
7706
7791
  },
7707
7792
  end: {
7708
- line: 55,
7709
- column: 57
7793
+ line: 58,
7794
+ column: 59
7710
7795
  }
7711
7796
  }, {
7712
7797
  start: {
7713
- line: 56,
7714
- column: 16
7798
+ line: 59,
7799
+ column: 18
7715
7800
  },
7716
7801
  end: {
7717
- line: 56,
7718
- column: 34
7802
+ line: 59,
7803
+ column: 36
7719
7804
  }
7720
7805
  }],
7721
- line: 54
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: "8292e5e23b4e5d011bf16300bbbc006d992c5d82"
7834
+ hash: "ba4d9e58d2ad34cad60a23b5c7cfedc40cd2f5be"
7750
7835
  };
7751
7836
  var coverage = global[gcv] || (global[gcv] = {});
7752
7837
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -7776,47 +7861,48 @@ var SelectionTabs = function SelectionTabs(_ref) {
7776
7861
  return WIDGET_TYPES_VALUES.map(function (widget, index) {
7777
7862
  cov_jv5dgcssl().f[2]++;
7778
7863
  cov_jv5dgcssl().s[4]++;
7779
- return 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, {
7780
7867
  checked: selectedWidgets.includes(widget),
7781
7868
  key: index,
7782
- label: "neeto".concat(pure.capitalize(widget)),
7783
7869
  onChange: function onChange() {
7784
7870
  cov_jv5dgcssl().f[3]++;
7785
7871
  cov_jv5dgcssl().s[5]++;
7786
7872
  return updateSelectedWidgets(widget);
7787
7873
  }
7788
- })) : (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);
7789
7875
  });
7790
7876
  };
7791
7877
  cov_jv5dgcssl().s[6]++;
7792
7878
  return /*#__PURE__*/React__default["default"].createElement("div", {
7793
- className: "mb-4 flex w-full items-center justify-between gap-2 px-2"
7794
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7795
- className: "flex items-center justify-start gap-1"
7879
+ className: "mb-4 flex w-full items-center justify-between gap-2"
7796
7880
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7797
- className: "text-base font-semibold"
7798
- }, "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, {
7799
7883
  checked: selectedWidgets.includes(primarySelectedWidget),
7800
7884
  onChange: function onChange() {
7801
7885
  cov_jv5dgcssl().f[4]++;
7802
7886
  cov_jv5dgcssl().s[7]++;
7803
7887
  return updateSelectedWidgets(primarySelectedWidget);
7804
7888
  }
7805
- })), /*#__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", {
7806
7892
  rel: "noreferrer",
7807
7893
  target: "_blank",
7808
7894
  href: primarySelectedWidget ? (cov_jv5dgcssl().b[3][0]++, WIDGET_KB_HELP_URL[primarySelectedWidget]) : (cov_jv5dgcssl().b[3][1]++, WIDGET_KB_BASE_URL)
7809
- }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Help, {
7895
+ }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Info, {
7810
7896
  size: 16
7811
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
7812
- className: "flex items-center justify-end gap-2"
7897
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
7898
+ className: "flex items-center justify-end gap-6"
7813
7899
  }, renderSelectedTab()));
7814
7900
  };
7815
7901
  cov_jv5dgcssl().s[8]++;
7816
7902
 
7817
7903
  function cov_216ndqorbu() {
7818
7904
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCode.jsx";
7819
- var hash = "4de25cf9d36316a9dd816245bd945edc34959cfc";
7905
+ var hash = "a29f32cd9f65dbcdb30f0b296784abd822305df0";
7820
7906
  var global = new Function("return this")();
7821
7907
  var gcv = "__coverage__";
7822
7908
  var coverageData = {
@@ -7824,471 +7910,471 @@ function cov_216ndqorbu() {
7824
7910
  statementMap: {
7825
7911
  "0": {
7826
7912
  start: {
7827
- line: 37,
7913
+ line: 38,
7828
7914
  column: 18
7829
7915
  },
7830
7916
  end: {
7831
- line: 347,
7917
+ line: 354,
7832
7918
  column: 1
7833
7919
  }
7834
7920
  },
7835
7921
  "1": {
7836
7922
  start: {
7837
- line: 38,
7923
+ line: 39,
7838
7924
  column: 36
7839
7925
  },
7840
7926
  end: {
7841
- line: 38,
7927
+ line: 39,
7842
7928
  column: 62
7843
7929
  }
7844
7930
  },
7845
7931
  "2": {
7846
7932
  start: {
7847
- line: 39,
7933
+ line: 40,
7848
7934
  column: 52
7849
7935
  },
7850
7936
  end: {
7851
- line: 41,
7937
+ line: 42,
7852
7938
  column: 3
7853
7939
  }
7854
7940
  },
7855
7941
  "3": {
7856
7942
  start: {
7857
- line: 43,
7943
+ line: 44,
7858
7944
  column: 16
7859
7945
  },
7860
7946
  end: {
7861
- line: 43,
7947
+ line: 44,
7862
7948
  column: 32
7863
7949
  }
7864
7950
  },
7865
7951
  "4": {
7866
7952
  start: {
7867
- line: 44,
7953
+ line: 45,
7868
7954
  column: 18
7869
7955
  },
7870
7956
  end: {
7871
- line: 44,
7957
+ line: 45,
7872
7958
  column: 26
7873
7959
  }
7874
7960
  },
7875
7961
  "5": {
7876
7962
  start: {
7877
- line: 45,
7963
+ line: 46,
7878
7964
  column: 22
7879
7965
  },
7880
7966
  end: {
7881
- line: 45,
7967
+ line: 46,
7882
7968
  column: 38
7883
7969
  }
7884
7970
  },
7885
7971
  "6": {
7886
7972
  start: {
7887
- line: 47,
7973
+ line: 48,
7888
7974
  column: 2
7889
7975
  },
7890
7976
  end: {
7891
- line: 49,
7977
+ line: 50,
7892
7978
  column: 9
7893
7979
  }
7894
7980
  },
7895
7981
  "7": {
7896
7982
  start: {
7897
- line: 48,
7983
+ line: 49,
7898
7984
  column: 4
7899
7985
  },
7900
7986
  end: {
7901
- line: 48,
7987
+ line: 49,
7902
7988
  column: 18
7903
7989
  }
7904
7990
  },
7905
7991
  "8": {
7906
7992
  start: {
7907
- line: 52,
7993
+ line: 53,
7908
7994
  column: 4
7909
7995
  },
7910
7996
  end: {
7911
- line: 52,
7997
+ line: 53,
7912
7998
  column: 20
7913
7999
  }
7914
8000
  },
7915
8001
  "9": {
7916
8002
  start: {
7917
- line: 57,
8003
+ line: 58,
7918
8004
  column: 6
7919
8005
  },
7920
8006
  end: {
7921
- line: 57,
8007
+ line: 58,
7922
8008
  column: 30
7923
8009
  }
7924
8010
  },
7925
8011
  "10": {
7926
8012
  start: {
7927
- line: 59,
8013
+ line: 60,
7928
8014
  column: 48
7929
8015
  },
7930
8016
  end: {
7931
- line: 59,
8017
+ line: 60,
7932
8018
  column: 73
7933
8019
  }
7934
8020
  },
7935
8021
  "11": {
7936
8022
  start: {
7937
- line: 61,
8023
+ line: 62,
7938
8024
  column: 28
7939
8025
  },
7940
8026
  end: {
7941
- line: 61,
8027
+ line: 62,
7942
8028
  column: 50
7943
8029
  }
7944
8030
  },
7945
8031
  "12": {
7946
8032
  start: {
7947
- line: 63,
8033
+ line: 64,
7948
8034
  column: 26
7949
8035
  },
7950
8036
  end: {
7951
- line: 65,
8037
+ line: 66,
7952
8038
  column: 58
7953
8039
  }
7954
8040
  },
7955
8041
  "13": {
7956
8042
  start: {
7957
- line: 65,
8043
+ line: 66,
7958
8044
  column: 17
7959
8045
  },
7960
8046
  end: {
7961
- line: 65,
8047
+ line: 66,
7962
8048
  column: 57
7963
8049
  }
7964
8050
  },
7965
8051
  "14": {
7966
8052
  start: {
7967
- line: 67,
8053
+ line: 68,
7968
8054
  column: 25
7969
8055
  },
7970
8056
  end: {
7971
- line: 69,
8057
+ line: 70,
7972
8058
  column: 3
7973
8059
  }
7974
8060
  },
7975
8061
  "15": {
7976
8062
  start: {
7977
- line: 68,
8063
+ line: 69,
7978
8064
  column: 34
7979
8065
  },
7980
8066
  end: {
7981
- line: 68,
8067
+ line: 69,
7982
8068
  column: 48
7983
8069
  }
7984
8070
  },
7985
8071
  "16": {
7986
8072
  start: {
7987
- line: 71,
8073
+ line: 72,
7988
8074
  column: 32
7989
8075
  },
7990
8076
  end: {
7991
- line: 94,
8077
+ line: 95,
7992
8078
  column: 3
7993
8079
  }
7994
8080
  },
7995
8081
  "17": {
7996
8082
  start: {
7997
- line: 72,
8083
+ line: 73,
7998
8084
  column: 21
7999
8085
  },
8000
8086
  end: {
8001
- line: 74,
8087
+ line: 75,
8002
8088
  column: 8
8003
8089
  }
8004
8090
  },
8005
8091
  "18": {
8006
8092
  start: {
8007
- line: 73,
8093
+ line: 74,
8008
8094
  column: 14
8009
8095
  },
8010
8096
  end: {
8011
- line: 73,
8097
+ line: 74,
8012
8098
  column: 65
8013
8099
  }
8014
8100
  },
8015
8101
  "19": {
8016
8102
  start: {
8017
- line: 75,
8103
+ line: 76,
8018
8104
  column: 22
8019
8105
  },
8020
8106
  end: {
8021
- line: 75,
8107
+ line: 76,
8022
8108
  column: 55
8023
8109
  }
8024
8110
  },
8025
8111
  "20": {
8026
8112
  start: {
8027
- line: 77,
8113
+ line: 78,
8028
8114
  column: 4
8029
8115
  },
8030
8116
  end: {
8031
- line: 93,
8117
+ line: 94,
8032
8118
  column: 6
8033
8119
  }
8034
8120
  },
8035
8121
  "21": {
8036
8122
  start: {
8037
- line: 84,
8123
+ line: 85,
8038
8124
  column: 27
8039
8125
  },
8040
8126
  end: {
8041
- line: 86,
8127
+ line: 87,
8042
8128
  column: 59
8043
8129
  }
8044
8130
  },
8045
8131
  "22": {
8046
8132
  start: {
8047
- line: 88,
8133
+ line: 89,
8048
8134
  column: 10
8049
8135
  },
8050
8136
  end: {
8051
- line: 90,
8137
+ line: 91,
8052
8138
  column: 12
8053
8139
  }
8054
8140
  },
8055
8141
  "23": {
8056
8142
  start: {
8057
- line: 96,
8143
+ line: 97,
8058
8144
  column: 29
8059
8145
  },
8060
8146
  end: {
8061
- line: 102,
8147
+ line: 103,
8062
8148
  column: 3
8063
8149
  }
8064
8150
  },
8065
8151
  "24": {
8066
8152
  start: {
8067
- line: 97,
8153
+ line: 98,
8068
8154
  column: 4
8069
8155
  },
8070
8156
  end: {
8071
- line: 99,
8157
+ line: 100,
8072
8158
  column: 5
8073
8159
  }
8074
8160
  },
8075
8161
  "25": {
8076
8162
  start: {
8077
- line: 98,
8163
+ line: 99,
8078
8164
  column: 6
8079
8165
  },
8080
8166
  end: {
8081
- line: 98,
8167
+ line: 99,
8082
8168
  column: 72
8083
8169
  }
8084
8170
  },
8085
8171
  "26": {
8086
8172
  start: {
8087
- line: 101,
8173
+ line: 102,
8088
8174
  column: 4
8089
8175
  },
8090
8176
  end: {
8091
- line: 101,
8177
+ line: 102,
8092
8178
  column: 14
8093
8179
  }
8094
8180
  },
8095
8181
  "27": {
8096
8182
  start: {
8097
- line: 104,
8183
+ line: 105,
8098
8184
  column: 26
8099
8185
  },
8100
8186
  end: {
8101
- line: 218,
8187
+ line: 219,
8102
8188
  column: 3
8103
8189
  }
8104
8190
  },
8105
8191
  "28": {
8106
8192
  start: {
8107
- line: 105,
8193
+ line: 106,
8108
8194
  column: 4
8109
8195
  },
8110
8196
  end: {
8111
- line: 217,
8197
+ line: 218,
8112
8198
  column: 5
8113
8199
  }
8114
8200
  },
8115
8201
  "29": {
8116
8202
  start: {
8117
- line: 107,
8203
+ line: 108,
8118
8204
  column: 8
8119
8205
  },
8120
8206
  end: {
8121
- line: 147,
8207
+ line: 148,
8122
8208
  column: 10
8123
8209
  }
8124
8210
  },
8125
8211
  "30": {
8126
8212
  start: {
8127
- line: 149,
8213
+ line: 150,
8128
8214
  column: 8
8129
8215
  },
8130
8216
  end: {
8131
- line: 182,
8217
+ line: 183,
8132
8218
  column: 10
8133
8219
  }
8134
8220
  },
8135
8221
  "31": {
8136
8222
  start: {
8137
- line: 184,
8223
+ line: 185,
8138
8224
  column: 8
8139
8225
  },
8140
8226
  end: {
8141
- line: 210,
8227
+ line: 211,
8142
8228
  column: 10
8143
8229
  }
8144
8230
  },
8145
8231
  "32": {
8146
8232
  start: {
8147
- line: 212,
8233
+ line: 213,
8148
8234
  column: 8
8149
8235
  },
8150
8236
  end: {
8151
- line: 214,
8237
+ line: 215,
8152
8238
  column: 15
8153
8239
  }
8154
8240
  },
8155
8241
  "33": {
8156
8242
  start: {
8157
- line: 216,
8243
+ line: 217,
8158
8244
  column: 8
8159
8245
  },
8160
8246
  end: {
8161
- line: 216,
8247
+ line: 217,
8162
8248
  column: 56
8163
8249
  }
8164
8250
  },
8165
8251
  "34": {
8166
8252
  start: {
8167
- line: 220,
8253
+ line: 221,
8168
8254
  column: 29
8169
8255
  },
8170
8256
  end: {
8171
- line: 230,
8257
+ line: 231,
8172
8258
  column: 3
8173
8259
  }
8174
8260
  },
8175
8261
  "35": {
8176
8262
  start: {
8177
- line: 221,
8263
+ line: 222,
8178
8264
  column: 4
8179
8265
  },
8180
8266
  end: {
8181
- line: 227,
8267
+ line: 228,
8182
8268
  column: 5
8183
8269
  }
8184
8270
  },
8185
8271
  "36": {
8186
8272
  start: {
8187
- line: 222,
8273
+ line: 223,
8188
8274
  column: 6
8189
8275
  },
8190
8276
  end: {
8191
- line: 224,
8277
+ line: 225,
8192
8278
  column: 8
8193
8279
  }
8194
8280
  },
8195
8281
  "37": {
8196
8282
  start: {
8197
- line: 226,
8283
+ line: 227,
8198
8284
  column: 6
8199
8285
  },
8200
8286
  end: {
8201
- line: 226,
8287
+ line: 227,
8202
8288
  column: 13
8203
8289
  }
8204
8290
  },
8205
8291
  "38": {
8206
8292
  start: {
8207
- line: 229,
8293
+ line: 230,
8208
8294
  column: 4
8209
8295
  },
8210
8296
  end: {
8211
- line: 229,
8297
+ line: 230,
8212
8298
  column: 32
8213
8299
  }
8214
8300
  },
8215
8301
  "39": {
8216
8302
  start: {
8217
- line: 232,
8303
+ line: 233,
8218
8304
  column: 2
8219
8305
  },
8220
8306
  end: {
8221
- line: 238,
8307
+ line: 239,
8222
8308
  column: 3
8223
8309
  }
8224
8310
  },
8225
8311
  "40": {
8226
8312
  start: {
8227
- line: 233,
8313
+ line: 234,
8228
8314
  column: 4
8229
8315
  },
8230
8316
  end: {
8231
- line: 237,
8317
+ line: 238,
8232
8318
  column: 6
8233
8319
  }
8234
8320
  },
8235
8321
  "41": {
8236
8322
  start: {
8237
- line: 240,
8323
+ line: 241,
8238
8324
  column: 2
8239
8325
  },
8240
8326
  end: {
8241
- line: 346,
8327
+ line: 353,
8242
8328
  column: 4
8243
8329
  }
8244
8330
  },
8245
8331
  "42": {
8246
8332
  start: {
8247
- line: 252,
8248
- column: 32
8333
+ line: 254,
8334
+ column: 34
8249
8335
  },
8250
8336
  end: {
8251
- line: 252,
8252
- column: 73
8337
+ line: 254,
8338
+ column: 75
8253
8339
  }
8254
8340
  },
8255
8341
  "43": {
8256
8342
  start: {
8257
- line: 280,
8258
- column: 34
8343
+ line: 287,
8344
+ column: 18
8259
8345
  },
8260
8346
  end: {
8261
- line: 280,
8262
- column: 78
8347
+ line: 287,
8348
+ column: 62
8263
8349
  }
8264
8350
  },
8265
8351
  "44": {
8266
8352
  start: {
8267
- line: 316,
8268
- column: 16
8353
+ line: 322,
8354
+ column: 18
8269
8355
  },
8270
8356
  end: {
8271
- line: 316,
8272
- column: 62
8357
+ line: 322,
8358
+ column: 64
8273
8359
  }
8274
8360
  },
8275
8361
  "45": {
8276
8362
  start: {
8277
- line: 342,
8363
+ line: 349,
8278
8364
  column: 23
8279
8365
  },
8280
8366
  end: {
8281
- line: 342,
8367
+ line: 349,
8282
8368
  column: 53
8283
8369
  }
8284
8370
  },
8285
8371
  "46": {
8286
8372
  start: {
8287
- line: 349,
8373
+ line: 356,
8288
8374
  column: 0
8289
8375
  },
8290
8376
  end: {
8291
- line: 351,
8377
+ line: 359,
8292
8378
  column: 2
8293
8379
  }
8294
8380
  }
@@ -8298,512 +8384,536 @@ function cov_216ndqorbu() {
8298
8384
  name: "(anonymous_0)",
8299
8385
  decl: {
8300
8386
  start: {
8301
- line: 37,
8387
+ line: 38,
8302
8388
  column: 18
8303
8389
  },
8304
8390
  end: {
8305
- line: 37,
8391
+ line: 38,
8306
8392
  column: 19
8307
8393
  }
8308
8394
  },
8309
8395
  loc: {
8310
8396
  start: {
8311
- line: 37,
8312
- column: 43
8397
+ line: 38,
8398
+ column: 67
8313
8399
  },
8314
8400
  end: {
8315
- line: 347,
8401
+ line: 354,
8316
8402
  column: 1
8317
8403
  }
8318
8404
  },
8319
- line: 37
8405
+ line: 38
8320
8406
  },
8321
8407
  "1": {
8322
8408
  name: "(anonymous_1)",
8323
8409
  decl: {
8324
8410
  start: {
8325
- line: 47,
8411
+ line: 48,
8326
8412
  column: 12
8327
8413
  },
8328
8414
  end: {
8329
- line: 47,
8415
+ line: 48,
8330
8416
  column: 13
8331
8417
  }
8332
8418
  },
8333
8419
  loc: {
8334
8420
  start: {
8335
- line: 47,
8421
+ line: 48,
8336
8422
  column: 18
8337
8423
  },
8338
8424
  end: {
8339
- line: 49,
8425
+ line: 50,
8340
8426
  column: 3
8341
8427
  }
8342
8428
  },
8343
- line: 47
8429
+ line: 48
8344
8430
  },
8345
8431
  "2": {
8346
8432
  name: "(anonymous_2)",
8347
8433
  decl: {
8348
8434
  start: {
8349
- line: 65,
8435
+ line: 66,
8350
8436
  column: 9
8351
8437
  },
8352
8438
  end: {
8353
- line: 65,
8439
+ line: 66,
8354
8440
  column: 10
8355
8441
  }
8356
8442
  },
8357
8443
  loc: {
8358
8444
  start: {
8359
- line: 65,
8445
+ line: 66,
8360
8446
  column: 17
8361
8447
  },
8362
8448
  end: {
8363
- line: 65,
8449
+ line: 66,
8364
8450
  column: 57
8365
8451
  }
8366
8452
  },
8367
- line: 65
8453
+ line: 66
8368
8454
  },
8369
8455
  "3": {
8370
8456
  name: "(anonymous_3)",
8371
8457
  decl: {
8372
8458
  start: {
8373
- line: 68,
8459
+ line: 69,
8374
8460
  column: 24
8375
8461
  },
8376
8462
  end: {
8377
- line: 68,
8463
+ line: 69,
8378
8464
  column: 25
8379
8465
  }
8380
8466
  },
8381
8467
  loc: {
8382
8468
  start: {
8383
- line: 68,
8469
+ line: 69,
8384
8470
  column: 34
8385
8471
  },
8386
8472
  end: {
8387
- line: 68,
8473
+ line: 69,
8388
8474
  column: 48
8389
8475
  }
8390
8476
  },
8391
- line: 68
8477
+ line: 69
8392
8478
  },
8393
8479
  "4": {
8394
8480
  name: "(anonymous_4)",
8395
8481
  decl: {
8396
8482
  start: {
8397
- line: 71,
8483
+ line: 72,
8398
8484
  column: 32
8399
8485
  },
8400
8486
  end: {
8401
- line: 71,
8487
+ line: 72,
8402
8488
  column: 33
8403
8489
  }
8404
8490
  },
8405
8491
  loc: {
8406
8492
  start: {
8407
- line: 71,
8493
+ line: 72,
8408
8494
  column: 42
8409
8495
  },
8410
8496
  end: {
8411
- line: 94,
8497
+ line: 95,
8412
8498
  column: 3
8413
8499
  }
8414
8500
  },
8415
- line: 71
8501
+ line: 72
8416
8502
  },
8417
8503
  "5": {
8418
8504
  name: "(anonymous_5)",
8419
8505
  decl: {
8420
8506
  start: {
8421
- line: 73,
8507
+ line: 74,
8422
8508
  column: 6
8423
8509
  },
8424
8510
  end: {
8425
- line: 73,
8511
+ line: 74,
8426
8512
  column: 7
8427
8513
  }
8428
8514
  },
8429
8515
  loc: {
8430
8516
  start: {
8431
- line: 73,
8517
+ line: 74,
8432
8518
  column: 14
8433
8519
  },
8434
8520
  end: {
8435
- line: 73,
8521
+ line: 74,
8436
8522
  column: 65
8437
8523
  }
8438
8524
  },
8439
- line: 73
8525
+ line: 74
8440
8526
  },
8441
8527
  "6": {
8442
8528
  name: "(anonymous_6)",
8443
8529
  decl: {
8444
8530
  start: {
8445
- line: 83,
8531
+ line: 84,
8446
8532
  column: 19
8447
8533
  },
8448
8534
  end: {
8449
- line: 83,
8535
+ line: 84,
8450
8536
  column: 20
8451
8537
  }
8452
8538
  },
8453
8539
  loc: {
8454
8540
  start: {
8455
- line: 83,
8541
+ line: 84,
8456
8542
  column: 25
8457
8543
  },
8458
8544
  end: {
8459
- line: 91,
8545
+ line: 92,
8460
8546
  column: 9
8461
8547
  }
8462
8548
  },
8463
- line: 83
8549
+ line: 84
8464
8550
  },
8465
8551
  "7": {
8466
8552
  name: "(anonymous_7)",
8467
8553
  decl: {
8468
8554
  start: {
8469
- line: 96,
8555
+ line: 97,
8470
8556
  column: 29
8471
8557
  },
8472
8558
  end: {
8473
- line: 96,
8559
+ line: 97,
8474
8560
  column: 30
8475
8561
  }
8476
8562
  },
8477
8563
  loc: {
8478
8564
  start: {
8479
- line: 96,
8565
+ line: 97,
8480
8566
  column: 35
8481
8567
  },
8482
8568
  end: {
8483
- line: 102,
8569
+ line: 103,
8484
8570
  column: 3
8485
8571
  }
8486
8572
  },
8487
- line: 96
8573
+ line: 97
8488
8574
  },
8489
8575
  "8": {
8490
8576
  name: "(anonymous_8)",
8491
8577
  decl: {
8492
8578
  start: {
8493
- line: 104,
8579
+ line: 105,
8494
8580
  column: 26
8495
8581
  },
8496
8582
  end: {
8497
- line: 104,
8583
+ line: 105,
8498
8584
  column: 27
8499
8585
  }
8500
8586
  },
8501
8587
  loc: {
8502
8588
  start: {
8503
- line: 104,
8589
+ line: 105,
8504
8590
  column: 47
8505
8591
  },
8506
8592
  end: {
8507
- line: 218,
8593
+ line: 219,
8508
8594
  column: 3
8509
8595
  }
8510
8596
  },
8511
- line: 104
8597
+ line: 105
8512
8598
  },
8513
8599
  "9": {
8514
8600
  name: "(anonymous_9)",
8515
8601
  decl: {
8516
8602
  start: {
8517
- line: 220,
8603
+ line: 221,
8518
8604
  column: 29
8519
8605
  },
8520
8606
  end: {
8521
- line: 220,
8607
+ line: 221,
8522
8608
  column: 30
8523
8609
  }
8524
8610
  },
8525
8611
  loc: {
8526
8612
  start: {
8527
- line: 220,
8613
+ line: 221,
8528
8614
  column: 46
8529
8615
  },
8530
8616
  end: {
8531
- line: 230,
8617
+ line: 231,
8532
8618
  column: 3
8533
8619
  }
8534
8620
  },
8535
- line: 220
8621
+ line: 221
8536
8622
  },
8537
8623
  "10": {
8538
8624
  name: "(anonymous_10)",
8539
8625
  decl: {
8540
8626
  start: {
8541
- line: 252,
8542
- column: 26
8627
+ line: 254,
8628
+ column: 28
8543
8629
  },
8544
8630
  end: {
8545
- line: 252,
8546
- column: 27
8631
+ line: 254,
8632
+ column: 29
8547
8633
  }
8548
8634
  },
8549
8635
  loc: {
8550
8636
  start: {
8551
- line: 252,
8552
- column: 32
8637
+ line: 254,
8638
+ column: 34
8553
8639
  },
8554
8640
  end: {
8555
- line: 252,
8556
- column: 73
8641
+ line: 254,
8642
+ column: 75
8557
8643
  }
8558
8644
  },
8559
- line: 252
8645
+ line: 254
8560
8646
  },
8561
8647
  "11": {
8562
8648
  name: "(anonymous_11)",
8563
8649
  decl: {
8564
8650
  start: {
8565
- line: 280,
8566
- column: 28
8651
+ line: 286,
8652
+ column: 30
8567
8653
  },
8568
8654
  end: {
8569
- line: 280,
8570
- column: 29
8655
+ line: 286,
8656
+ column: 31
8571
8657
  }
8572
8658
  },
8573
8659
  loc: {
8574
8660
  start: {
8575
- line: 280,
8576
- column: 34
8661
+ line: 287,
8662
+ column: 18
8577
8663
  },
8578
8664
  end: {
8579
- line: 280,
8580
- column: 78
8665
+ line: 287,
8666
+ column: 62
8581
8667
  }
8582
8668
  },
8583
- line: 280
8669
+ line: 287
8584
8670
  },
8585
8671
  "12": {
8586
8672
  name: "(anonymous_12)",
8587
8673
  decl: {
8588
8674
  start: {
8589
- line: 315,
8590
- column: 28
8675
+ line: 321,
8676
+ column: 30
8591
8677
  },
8592
8678
  end: {
8593
- line: 315,
8594
- column: 29
8679
+ line: 321,
8680
+ column: 31
8595
8681
  }
8596
8682
  },
8597
8683
  loc: {
8598
8684
  start: {
8599
- line: 316,
8600
- column: 16
8685
+ line: 322,
8686
+ column: 18
8601
8687
  },
8602
8688
  end: {
8603
- line: 316,
8604
- column: 62
8689
+ line: 322,
8690
+ column: 64
8605
8691
  }
8606
8692
  },
8607
- line: 316
8693
+ line: 322
8608
8694
  },
8609
8695
  "13": {
8610
8696
  name: "(anonymous_13)",
8611
8697
  decl: {
8612
8698
  start: {
8613
- line: 342,
8699
+ line: 349,
8614
8700
  column: 17
8615
8701
  },
8616
8702
  end: {
8617
- line: 342,
8703
+ line: 349,
8618
8704
  column: 18
8619
8705
  }
8620
8706
  },
8621
8707
  loc: {
8622
8708
  start: {
8623
- line: 342,
8709
+ line: 349,
8624
8710
  column: 23
8625
8711
  },
8626
8712
  end: {
8627
- line: 342,
8713
+ line: 349,
8628
8714
  column: 53
8629
8715
  }
8630
8716
  },
8631
- line: 342
8717
+ line: 349
8632
8718
  }
8633
8719
  },
8634
8720
  branchMap: {
8635
8721
  "0": {
8636
8722
  loc: {
8637
8723
  start: {
8638
- line: 37,
8724
+ line: 38,
8639
8725
  column: 21
8640
8726
  },
8641
8727
  end: {
8642
- line: 37,
8728
+ line: 38,
8643
8729
  column: 36
8644
8730
  }
8645
8731
  },
8646
8732
  type: "default-arg",
8647
8733
  locations: [{
8648
8734
  start: {
8649
- line: 37,
8735
+ line: 38,
8650
8736
  column: 34
8651
8737
  },
8652
8738
  end: {
8653
- line: 37,
8739
+ line: 38,
8654
8740
  column: 36
8655
8741
  }
8656
8742
  }],
8657
- line: 37
8743
+ line: 38
8658
8744
  },
8659
8745
  "1": {
8660
8746
  loc: {
8661
8747
  start: {
8662
- 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,
8663
8773
  column: 16
8664
8774
  },
8665
8775
  end: {
8666
- line: 51,
8776
+ line: 52,
8667
8777
  column: 42
8668
8778
  }
8669
8779
  },
8670
8780
  type: "default-arg",
8671
8781
  locations: [{
8672
8782
  start: {
8673
- line: 51,
8783
+ line: 52,
8674
8784
  column: 40
8675
8785
  },
8676
8786
  end: {
8677
- line: 51,
8787
+ line: 52,
8678
8788
  column: 42
8679
8789
  }
8680
8790
  }],
8681
- line: 51
8791
+ line: 52
8682
8792
  },
8683
- "2": {
8793
+ "3": {
8684
8794
  loc: {
8685
8795
  start: {
8686
- line: 51,
8796
+ line: 52,
8687
8797
  column: 18
8688
8798
  },
8689
8799
  end: {
8690
- line: 51,
8800
+ line: 52,
8691
8801
  column: 35
8692
8802
  }
8693
8803
  },
8694
8804
  type: "default-arg",
8695
8805
  locations: [{
8696
8806
  start: {
8697
- line: 51,
8807
+ line: 52,
8698
8808
  column: 33
8699
8809
  },
8700
8810
  end: {
8701
- line: 51,
8811
+ line: 52,
8702
8812
  column: 35
8703
8813
  }
8704
8814
  }],
8705
- line: 51
8815
+ line: 52
8706
8816
  },
8707
- "3": {
8817
+ "4": {
8708
8818
  loc: {
8709
8819
  start: {
8710
- line: 55,
8820
+ line: 56,
8711
8821
  column: 10
8712
8822
  },
8713
8823
  end: {
8714
- line: 55,
8824
+ line: 56,
8715
8825
  column: 41
8716
8826
  }
8717
8827
  },
8718
8828
  type: "default-arg",
8719
8829
  locations: [{
8720
8830
  start: {
8721
- line: 55,
8831
+ line: 56,
8722
8832
  column: 39
8723
8833
  },
8724
8834
  end: {
8725
- line: 55,
8835
+ line: 56,
8726
8836
  column: 41
8727
8837
  }
8728
8838
  }],
8729
- line: 55
8839
+ line: 56
8730
8840
  },
8731
- "4": {
8841
+ "5": {
8732
8842
  loc: {
8733
8843
  start: {
8734
- line: 55,
8844
+ line: 56,
8735
8845
  column: 12
8736
8846
  },
8737
8847
  end: {
8738
- line: 55,
8848
+ line: 56,
8739
8849
  column: 34
8740
8850
  }
8741
8851
  },
8742
8852
  type: "default-arg",
8743
8853
  locations: [{
8744
8854
  start: {
8745
- line: 55,
8855
+ line: 56,
8746
8856
  column: 32
8747
8857
  },
8748
8858
  end: {
8749
- line: 55,
8859
+ line: 56,
8750
8860
  column: 34
8751
8861
  }
8752
8862
  }],
8753
- line: 55
8863
+ line: 56
8754
8864
  },
8755
- "5": {
8865
+ "6": {
8756
8866
  loc: {
8757
8867
  start: {
8758
- line: 84,
8868
+ line: 85,
8759
8869
  column: 27
8760
8870
  },
8761
8871
  end: {
8762
- line: 86,
8872
+ line: 87,
8763
8873
  column: 59
8764
8874
  }
8765
8875
  },
8766
8876
  type: "cond-expr",
8767
8877
  locations: [{
8768
8878
  start: {
8769
- line: 85,
8879
+ line: 86,
8770
8880
  column: 14
8771
8881
  },
8772
8882
  end: {
8773
- line: 85,
8883
+ line: 86,
8774
8884
  column: 58
8775
8885
  }
8776
8886
  }, {
8777
8887
  start: {
8778
- line: 86,
8888
+ line: 87,
8779
8889
  column: 14
8780
8890
  },
8781
8891
  end: {
8782
- line: 86,
8892
+ line: 87,
8783
8893
  column: 59
8784
8894
  }
8785
8895
  }],
8786
- line: 84
8896
+ line: 85
8787
8897
  },
8788
- "6": {
8898
+ "7": {
8789
8899
  loc: {
8790
8900
  start: {
8791
- line: 97,
8901
+ line: 98,
8792
8902
  column: 4
8793
8903
  },
8794
8904
  end: {
8795
- line: 99,
8905
+ line: 100,
8796
8906
  column: 5
8797
8907
  }
8798
8908
  },
8799
8909
  type: "if",
8800
8910
  locations: [{
8801
8911
  start: {
8802
- line: 97,
8912
+ line: 98,
8803
8913
  column: 4
8804
8914
  },
8805
8915
  end: {
8806
- line: 99,
8916
+ line: 100,
8807
8917
  column: 5
8808
8918
  }
8809
8919
  }, {
@@ -8816,186 +8926,186 @@ function cov_216ndqorbu() {
8816
8926
  column: undefined
8817
8927
  }
8818
8928
  }],
8819
- line: 97
8929
+ line: 98
8820
8930
  },
8821
- "7": {
8931
+ "8": {
8822
8932
  loc: {
8823
8933
  start: {
8824
- line: 105,
8934
+ line: 106,
8825
8935
  column: 4
8826
8936
  },
8827
8937
  end: {
8828
- line: 217,
8938
+ line: 218,
8829
8939
  column: 5
8830
8940
  }
8831
8941
  },
8832
8942
  type: "switch",
8833
8943
  locations: [{
8834
8944
  start: {
8835
- line: 106,
8945
+ line: 107,
8836
8946
  column: 6
8837
8947
  },
8838
8948
  end: {
8839
- line: 147,
8949
+ line: 148,
8840
8950
  column: 10
8841
8951
  }
8842
8952
  }, {
8843
8953
  start: {
8844
- line: 148,
8954
+ line: 149,
8845
8955
  column: 6
8846
8956
  },
8847
8957
  end: {
8848
- line: 182,
8958
+ line: 183,
8849
8959
  column: 10
8850
8960
  }
8851
8961
  }, {
8852
8962
  start: {
8853
- line: 183,
8963
+ line: 184,
8854
8964
  column: 6
8855
8965
  },
8856
8966
  end: {
8857
- line: 210,
8967
+ line: 211,
8858
8968
  column: 10
8859
8969
  }
8860
8970
  }, {
8861
8971
  start: {
8862
- line: 211,
8972
+ line: 212,
8863
8973
  column: 6
8864
8974
  },
8865
8975
  end: {
8866
- line: 214,
8976
+ line: 215,
8867
8977
  column: 15
8868
8978
  }
8869
8979
  }, {
8870
8980
  start: {
8871
- line: 215,
8981
+ line: 216,
8872
8982
  column: 6
8873
8983
  },
8874
8984
  end: {
8875
- line: 216,
8985
+ line: 217,
8876
8986
  column: 56
8877
8987
  }
8878
8988
  }],
8879
- line: 105
8989
+ line: 106
8880
8990
  },
8881
- "8": {
8991
+ "9": {
8882
8992
  loc: {
8883
8993
  start: {
8884
- line: 167,
8994
+ line: 168,
8885
8995
  column: 24
8886
8996
  },
8887
8997
  end: {
8888
- line: 169,
8998
+ line: 170,
8889
8999
  column: 54
8890
9000
  }
8891
9001
  },
8892
9002
  type: "cond-expr",
8893
9003
  locations: [{
8894
9004
  start: {
8895
- line: 168,
9005
+ line: 169,
8896
9006
  column: 28
8897
9007
  },
8898
9008
  end: {
8899
- line: 168,
9009
+ line: 169,
8900
9010
  column: 56
8901
9011
  }
8902
9012
  }, {
8903
9013
  start: {
8904
- line: 169,
9014
+ line: 170,
8905
9015
  column: 28
8906
9016
  },
8907
9017
  end: {
8908
- line: 169,
9018
+ line: 170,
8909
9019
  column: 54
8910
9020
  }
8911
9021
  }],
8912
- line: 167
9022
+ line: 168
8913
9023
  },
8914
- "9": {
9024
+ "10": {
8915
9025
  loc: {
8916
9026
  start: {
8917
- line: 175,
9027
+ line: 176,
8918
9028
  column: 37
8919
9029
  },
8920
9030
  end: {
8921
- line: 177,
9031
+ line: 178,
8922
9032
  column: 48
8923
9033
  }
8924
9034
  },
8925
9035
  type: "cond-expr",
8926
9036
  locations: [{
8927
9037
  start: {
8928
- line: 176,
9038
+ line: 177,
8929
9039
  column: 22
8930
9040
  },
8931
9041
  end: {
8932
- line: 176,
9042
+ line: 177,
8933
9043
  column: 50
8934
9044
  }
8935
9045
  }, {
8936
9046
  start: {
8937
- line: 177,
9047
+ line: 178,
8938
9048
  column: 22
8939
9049
  },
8940
9050
  end: {
8941
- line: 177,
9051
+ line: 178,
8942
9052
  column: 48
8943
9053
  }
8944
9054
  }],
8945
- line: 175
9055
+ line: 176
8946
9056
  },
8947
- "10": {
9057
+ "11": {
8948
9058
  loc: {
8949
9059
  start: {
8950
- line: 212,
9060
+ line: 213,
8951
9061
  column: 15
8952
9062
  },
8953
9063
  end: {
8954
- line: 214,
9064
+ line: 215,
8955
9065
  column: 14
8956
9066
  }
8957
9067
  },
8958
9068
  type: "cond-expr",
8959
9069
  locations: [{
8960
9070
  start: {
8961
- line: 213,
9071
+ line: 214,
8962
9072
  column: 12
8963
9073
  },
8964
9074
  end: {
8965
- line: 213,
9075
+ line: 214,
8966
9076
  column: 46
8967
9077
  }
8968
9078
  }, {
8969
9079
  start: {
8970
- line: 214,
9080
+ line: 215,
8971
9081
  column: 12
8972
9082
  },
8973
9083
  end: {
8974
- line: 214,
9084
+ line: 215,
8975
9085
  column: 14
8976
9086
  }
8977
9087
  }],
8978
- line: 212
9088
+ line: 213
8979
9089
  },
8980
- "11": {
9090
+ "12": {
8981
9091
  loc: {
8982
9092
  start: {
8983
- line: 221,
9093
+ line: 222,
8984
9094
  column: 4
8985
9095
  },
8986
9096
  end: {
8987
- line: 227,
9097
+ line: 228,
8988
9098
  column: 5
8989
9099
  }
8990
9100
  },
8991
9101
  type: "if",
8992
9102
  locations: [{
8993
9103
  start: {
8994
- line: 221,
9104
+ line: 222,
8995
9105
  column: 4
8996
9106
  },
8997
9107
  end: {
8998
- line: 227,
9108
+ line: 228,
8999
9109
  column: 5
9000
9110
  }
9001
9111
  }, {
@@ -9008,27 +9118,27 @@ function cov_216ndqorbu() {
9008
9118
  column: undefined
9009
9119
  }
9010
9120
  }],
9011
- line: 221
9121
+ line: 222
9012
9122
  },
9013
- "12": {
9123
+ "13": {
9014
9124
  loc: {
9015
9125
  start: {
9016
- line: 232,
9126
+ line: 233,
9017
9127
  column: 2
9018
9128
  },
9019
9129
  end: {
9020
- line: 238,
9130
+ line: 239,
9021
9131
  column: 3
9022
9132
  }
9023
9133
  },
9024
9134
  type: "if",
9025
9135
  locations: [{
9026
9136
  start: {
9027
- line: 232,
9137
+ line: 233,
9028
9138
  column: 2
9029
9139
  },
9030
9140
  end: {
9031
- line: 238,
9141
+ line: 239,
9032
9142
  column: 3
9033
9143
  }
9034
9144
  }, {
@@ -9041,238 +9151,238 @@ function cov_216ndqorbu() {
9041
9151
  column: undefined
9042
9152
  }
9043
9153
  }],
9044
- line: 232
9154
+ line: 233
9045
9155
  },
9046
- "13": {
9156
+ "14": {
9047
9157
  loc: {
9048
9158
  start: {
9049
- line: 232,
9159
+ line: 233,
9050
9160
  column: 6
9051
9161
  },
9052
9162
  end: {
9053
- line: 232,
9163
+ line: 233,
9054
9164
  column: 48
9055
9165
  }
9056
9166
  },
9057
9167
  type: "binary-expr",
9058
9168
  locations: [{
9059
9169
  start: {
9060
- line: 232,
9170
+ line: 233,
9061
9171
  column: 6
9062
9172
  },
9063
9173
  end: {
9064
- line: 232,
9174
+ line: 233,
9065
9175
  column: 21
9066
9176
  }
9067
9177
  }, {
9068
9178
  start: {
9069
- line: 232,
9179
+ line: 233,
9070
9180
  column: 25
9071
9181
  },
9072
9182
  end: {
9073
- line: 232,
9183
+ line: 233,
9074
9184
  column: 48
9075
9185
  }
9076
9186
  }],
9077
- line: 232
9187
+ line: 233
9078
9188
  },
9079
- "14": {
9189
+ "15": {
9080
9190
  loc: {
9081
9191
  start: {
9082
- line: 264,
9083
- column: 31
9192
+ line: 266,
9193
+ column: 33
9084
9194
  },
9085
9195
  end: {
9086
- line: 266,
9087
- column: 39
9196
+ line: 268,
9197
+ column: 41
9088
9198
  }
9089
9199
  },
9090
9200
  type: "cond-expr",
9091
9201
  locations: [{
9092
9202
  start: {
9093
- line: 265,
9094
- column: 18
9203
+ line: 267,
9204
+ column: 20
9095
9205
  },
9096
9206
  end: {
9097
- line: 265,
9098
- column: 71
9207
+ line: 267,
9208
+ column: 73
9099
9209
  }
9100
9210
  }, {
9101
9211
  start: {
9102
- line: 266,
9103
- column: 18
9212
+ line: 268,
9213
+ column: 20
9104
9214
  },
9105
9215
  end: {
9106
- line: 266,
9107
- column: 39
9216
+ line: 268,
9217
+ column: 41
9108
9218
  }
9109
9219
  }],
9110
- line: 264
9220
+ line: 266
9111
9221
  },
9112
- "15": {
9222
+ "16": {
9113
9223
  loc: {
9114
9224
  start: {
9115
- line: 274,
9116
- column: 7
9225
+ line: 276,
9226
+ column: 9
9117
9227
  },
9118
9228
  end: {
9119
- line: 308,
9120
- column: 14
9229
+ line: 314,
9230
+ column: 16
9121
9231
  }
9122
9232
  },
9123
9233
  type: "cond-expr",
9124
9234
  locations: [{
9125
9235
  start: {
9126
- line: 275,
9127
- column: 8
9236
+ line: 277,
9237
+ column: 10
9128
9238
  },
9129
9239
  end: {
9130
- line: 307,
9131
- column: 14
9240
+ line: 313,
9241
+ column: 16
9132
9242
  }
9133
9243
  }, {
9134
9244
  start: {
9135
- line: 308,
9136
- column: 10
9245
+ line: 314,
9246
+ column: 12
9137
9247
  },
9138
9248
  end: {
9139
- line: 308,
9140
- column: 14
9249
+ line: 314,
9250
+ column: 16
9141
9251
  }
9142
9252
  }],
9143
- line: 274
9253
+ line: 276
9144
9254
  },
9145
- "16": {
9255
+ "17": {
9146
9256
  loc: {
9147
9257
  start: {
9148
- line: 274,
9149
- column: 7
9258
+ line: 276,
9259
+ column: 9
9150
9260
  },
9151
9261
  end: {
9152
- line: 274,
9153
- column: 51
9262
+ line: 276,
9263
+ column: 53
9154
9264
  }
9155
9265
  },
9156
9266
  type: "binary-expr",
9157
9267
  locations: [{
9158
9268
  start: {
9159
- line: 274,
9160
- column: 7
9269
+ line: 276,
9270
+ column: 9
9161
9271
  },
9162
9272
  end: {
9163
- line: 274,
9164
- column: 26
9273
+ line: 276,
9274
+ column: 28
9165
9275
  }
9166
9276
  }, {
9167
9277
  start: {
9168
- line: 274,
9169
- column: 30
9278
+ line: 276,
9279
+ column: 32
9170
9280
  },
9171
9281
  end: {
9172
- line: 274,
9173
- column: 51
9282
+ line: 276,
9283
+ column: 53
9174
9284
  }
9175
9285
  }],
9176
- line: 274
9286
+ line: 276
9177
9287
  },
9178
- "17": {
9288
+ "18": {
9179
9289
  loc: {
9180
9290
  start: {
9181
- line: 293,
9182
- column: 22
9291
+ line: 297,
9292
+ column: 24
9183
9293
  },
9184
9294
  end: {
9185
- line: 295,
9186
- column: 52
9295
+ line: 299,
9296
+ column: 54
9187
9297
  }
9188
9298
  },
9189
9299
  type: "cond-expr",
9190
9300
  locations: [{
9191
9301
  start: {
9192
- line: 294,
9193
- column: 26
9302
+ line: 298,
9303
+ column: 28
9194
9304
  },
9195
9305
  end: {
9196
- line: 294,
9197
- column: 54
9306
+ line: 298,
9307
+ column: 56
9198
9308
  }
9199
9309
  }, {
9200
9310
  start: {
9201
- line: 295,
9202
- column: 26
9311
+ line: 299,
9312
+ column: 28
9203
9313
  },
9204
9314
  end: {
9205
- line: 295,
9206
- column: 52
9315
+ line: 299,
9316
+ column: 54
9207
9317
  }
9208
9318
  }],
9209
- line: 293
9319
+ line: 297
9210
9320
  },
9211
- "18": {
9321
+ "19": {
9212
9322
  loc: {
9213
9323
  start: {
9214
- line: 309,
9215
- column: 7
9324
+ line: 315,
9325
+ column: 9
9216
9326
  },
9217
9327
  end: {
9218
- line: 339,
9219
- column: 14
9328
+ line: 345,
9329
+ column: 16
9220
9330
  }
9221
9331
  },
9222
9332
  type: "cond-expr",
9223
9333
  locations: [{
9224
9334
  start: {
9225
- line: 310,
9226
- column: 8
9335
+ line: 316,
9336
+ column: 10
9227
9337
  },
9228
9338
  end: {
9229
- line: 338,
9230
- column: 14
9339
+ line: 344,
9340
+ column: 16
9231
9341
  }
9232
9342
  }, {
9233
9343
  start: {
9234
- line: 339,
9235
- column: 10
9344
+ line: 345,
9345
+ column: 12
9236
9346
  },
9237
9347
  end: {
9238
- line: 339,
9239
- column: 14
9348
+ line: 345,
9349
+ column: 16
9240
9350
  }
9241
9351
  }],
9242
- line: 309
9352
+ line: 315
9243
9353
  },
9244
- "19": {
9354
+ "20": {
9245
9355
  loc: {
9246
9356
  start: {
9247
- line: 341,
9357
+ line: 348,
9248
9358
  column: 20
9249
9359
  },
9250
9360
  end: {
9251
- line: 341,
9361
+ line: 348,
9252
9362
  column: 62
9253
9363
  }
9254
9364
  },
9255
9365
  type: "binary-expr",
9256
9366
  locations: [{
9257
9367
  start: {
9258
- line: 341,
9368
+ line: 348,
9259
9369
  column: 20
9260
9370
  },
9261
9371
  end: {
9262
- line: 341,
9372
+ line: 348,
9263
9373
  column: 31
9264
9374
  }
9265
9375
  }, {
9266
9376
  start: {
9267
- line: 341,
9377
+ line: 348,
9268
9378
  column: 35
9269
9379
  },
9270
9380
  end: {
9271
- line: 341,
9381
+ line: 348,
9272
9382
  column: 62
9273
9383
  }
9274
9384
  }],
9275
- line: 341
9385
+ line: 348
9276
9386
  }
9277
9387
  },
9278
9388
  s: {
@@ -9346,10 +9456,10 @@ function cov_216ndqorbu() {
9346
9456
  "2": [0],
9347
9457
  "3": [0],
9348
9458
  "4": [0],
9349
- "5": [0, 0],
9459
+ "5": [0],
9350
9460
  "6": [0, 0],
9351
- "7": [0, 0, 0, 0, 0],
9352
- "8": [0, 0],
9461
+ "7": [0, 0],
9462
+ "8": [0, 0, 0, 0, 0],
9353
9463
  "9": [0, 0],
9354
9464
  "10": [0, 0],
9355
9465
  "11": [0, 0],
@@ -9360,10 +9470,11 @@ function cov_216ndqorbu() {
9360
9470
  "16": [0, 0],
9361
9471
  "17": [0, 0],
9362
9472
  "18": [0, 0],
9363
- "19": [0, 0]
9473
+ "19": [0, 0],
9474
+ "20": [0, 0]
9364
9475
  },
9365
9476
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
9366
- hash: "4de25cf9d36316a9dd816245bd945edc34959cfc"
9477
+ hash: "a29f32cd9f65dbcdb30f0b296784abd822305df0"
9367
9478
  };
9368
9479
  var coverage = global[gcv] || (global[gcv] = {});
9369
9480
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -9382,7 +9493,9 @@ cov_216ndqorbu();
9382
9493
  cov_216ndqorbu().s[0]++;
9383
9494
  var EmbedCode = function EmbedCode(_ref) {
9384
9495
  var _ref$primaryApp = _ref.primaryApp,
9385
- 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;
9386
9499
  cov_216ndqorbu().f[0]++;
9387
9500
  var _ref2 = (cov_216ndqorbu().s[1]++, React.useState(EMAIL_TYPES["null"])),
9388
9501
  _ref3 = _slicedToArray(_ref2, 2),
@@ -9404,15 +9517,15 @@ var EmbedCode = function EmbedCode(_ref) {
9404
9517
  }, []);
9405
9518
  var _ref7 = (cov_216ndqorbu().s[8]++, useFetchApiKey()),
9406
9519
  _ref7$data = _ref7.data,
9407
- _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,
9408
9521
  _ref7$data2$widgetApi = _ref7$data2.widgetApiKey,
9409
- 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,
9410
9523
  isLoadingApiKey = _ref7.isLoading;
9411
9524
  var _ref8 = (cov_216ndqorbu().s[9]++, useFetchConfigurations()),
9412
9525
  _ref8$data = _ref8.data,
9413
- _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,
9414
9527
  _ref8$data2$neetoWidg = _ref8$data2.neetoWidgetTokens,
9415
- 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,
9416
9529
  isLoadingConfigurations = _ref8.isLoading;
9417
9530
  var _ref9 = (cov_216ndqorbu().s[10]++, useUpdateConfigurations()),
9418
9531
  updateWidgetConfiguration = _ref9.mutate;
@@ -9445,7 +9558,7 @@ var EmbedCode = function EmbedCode(_ref) {
9445
9558
  }, {
9446
9559
  onSuccess: function onSuccess() {
9447
9560
  cov_216ndqorbu().f[6]++;
9448
- 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"));
9449
9562
  cov_216ndqorbu().s[22]++;
9450
9563
  neetoui.Toastr.success(t(response, {
9451
9564
  productName: "neeto".concat(pure.capitalize(widget))
@@ -9458,11 +9571,11 @@ var EmbedCode = function EmbedCode(_ref) {
9458
9571
  cov_216ndqorbu().f[7]++;
9459
9572
  cov_216ndqorbu().s[24]++;
9460
9573
  if (pure.isNotEmpty(widgetApiKey)) {
9461
- cov_216ndqorbu().b[6][0]++;
9574
+ cov_216ndqorbu().b[7][0]++;
9462
9575
  cov_216ndqorbu().s[25]++;
9463
9576
  return sampleConsolidatedCodeString(enabledWidgets, widgetApiKey);
9464
9577
  } else {
9465
- cov_216ndqorbu().b[6][1]++;
9578
+ cov_216ndqorbu().b[7][1]++;
9466
9579
  }
9467
9580
  cov_216ndqorbu().s[26]++;
9468
9581
  return "";
@@ -9473,7 +9586,7 @@ var EmbedCode = function EmbedCode(_ref) {
9473
9586
  cov_216ndqorbu().s[28]++;
9474
9587
  switch (selectedEmailType) {
9475
9588
  case EMAIL_TYPES.embedCode:
9476
- cov_216ndqorbu().b[7][0]++;
9589
+ cov_216ndqorbu().b[8][0]++;
9477
9590
  cov_216ndqorbu().s[29]++;
9478
9591
  return {
9479
9592
  codeString: getEmbedCodeString(),
@@ -9511,7 +9624,7 @@ var EmbedCode = function EmbedCode(_ref) {
9511
9624
  }))
9512
9625
  };
9513
9626
  case EMAIL_TYPES.userIdentity:
9514
- cov_216ndqorbu().b[7][1]++;
9627
+ cov_216ndqorbu().b[8][1]++;
9515
9628
  cov_216ndqorbu().s[30]++;
9516
9629
  return {
9517
9630
  emailType: EMAIL_TYPES.userIdentity,
@@ -9531,16 +9644,16 @@ var EmbedCode = function EmbedCode(_ref) {
9531
9644
  className: "neeto-ui-text-primary-800",
9532
9645
  rel: "noreferrer",
9533
9646
  target: "_blank",
9534
- 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)
9535
9648
  })
9536
9649
  },
9537
9650
  values: {
9538
- 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)
9539
9652
  }
9540
9653
  }))
9541
9654
  };
9542
9655
  case EMAIL_TYPES.sessionContext:
9543
- cov_216ndqorbu().b[7][2]++;
9656
+ cov_216ndqorbu().b[8][2]++;
9544
9657
  cov_216ndqorbu().s[31]++;
9545
9658
  return {
9546
9659
  codeString: SAMPLE_CONTEXT_CODE_STRING,
@@ -9568,11 +9681,11 @@ var EmbedCode = function EmbedCode(_ref) {
9568
9681
  }))
9569
9682
  };
9570
9683
  case EMAIL_TYPES["null"]:
9571
- cov_216ndqorbu().b[7][3]++;
9684
+ cov_216ndqorbu().b[8][3]++;
9572
9685
  cov_216ndqorbu().s[32]++;
9573
- 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]++, {});
9574
9687
  default:
9575
- cov_216ndqorbu().b[7][4]++;
9688
+ cov_216ndqorbu().b[8][4]++;
9576
9689
  cov_216ndqorbu().s[33]++;
9577
9690
  throw new Error("Invalid email type received.");
9578
9691
  }
@@ -9582,38 +9695,40 @@ var EmbedCode = function EmbedCode(_ref) {
9582
9695
  cov_216ndqorbu().f[9]++;
9583
9696
  cov_216ndqorbu().s[35]++;
9584
9697
  if (ramda.isEmpty(selectedWidgets)) {
9585
- cov_216ndqorbu().b[11][0]++;
9698
+ cov_216ndqorbu().b[12][0]++;
9586
9699
  cov_216ndqorbu().s[36]++;
9587
9700
  neetoui.Toastr.error(t("neetoMolecules.widget.installation.snippet.disabledError"));
9588
9701
  cov_216ndqorbu().s[37]++;
9589
9702
  return;
9590
9703
  } else {
9591
- cov_216ndqorbu().b[11][1]++;
9704
+ cov_216ndqorbu().b[12][1]++;
9592
9705
  }
9593
9706
  cov_216ndqorbu().s[38]++;
9594
9707
  setEmailType(selectedEmail);
9595
9708
  };
9596
9709
  cov_216ndqorbu().s[39]++;
9597
- if ((cov_216ndqorbu().b[13][0]++, isLoadingApiKey) || (cov_216ndqorbu().b[13][1]++, isLoadingConfigurations)) {
9598
- 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]++;
9599
9712
  cov_216ndqorbu().s[40]++;
9600
9713
  return /*#__PURE__*/React__default["default"].createElement("div", {
9601
9714
  className: "h-full w-full"
9602
9715
  }, /*#__PURE__*/React__default["default"].createElement(PageLoader, null));
9603
9716
  } else {
9604
- cov_216ndqorbu().b[12][1]++;
9717
+ cov_216ndqorbu().b[13][1]++;
9605
9718
  }
9606
9719
  cov_216ndqorbu().s[41]++;
9607
9720
  return /*#__PURE__*/React__default["default"].createElement("div", {
9608
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)
9609
9724
  }, /*#__PURE__*/React__default["default"].createElement(SelectionTabs, {
9610
9725
  primarySelectedWidget: primaryApp,
9611
9726
  selectedWidgets: selectedWidgets,
9612
9727
  updateSelectedWidgets: updateSelectedWidgets
9613
9728
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9614
- 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"
9615
9730
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9616
- className: "mx-auto mb-4 w-full",
9731
+ className: "mx-auto mb-2 w-full",
9617
9732
  "data-testid": "embed-code-block"
9618
9733
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
9619
9734
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
@@ -9637,40 +9752,40 @@ var EmbedCode = function EmbedCode(_ref) {
9637
9752
  })
9638
9753
  },
9639
9754
  values: {
9640
- 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")
9641
9756
  }
9642
- }, "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", {
9643
- 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"
9644
9759
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9645
- className: "mx-auto mb-4 w-full"
9760
+ className: "mx-auto mb-2 w-full"
9646
9761
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
9647
9762
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
9648
9763
  frameworkProps: {
9649
9764
  selectedFramework: selectedFramework,
9650
9765
  setSelectedFramework: setSelectedFramework
9651
9766
  },
9767
+ codeString: getSampleUserIdentity(enabledWidgets, selectedFramework.value),
9652
9768
  sendViaEmail: function sendViaEmail() {
9653
9769
  cov_216ndqorbu().f[11]++;
9654
9770
  cov_216ndqorbu().s[43]++;
9655
9771
  return handleSendViaEmail(EMAIL_TYPES.userIdentity);
9656
9772
  },
9657
- codeString: getSampleUserIdentity(enabledWidgets, selectedFramework.value),
9658
9773
  title: /*#__PURE__*/React__default["default"].createElement("div", {
9659
9774
  className: "flex items-center justify-start"
9660
9775
  }, /*#__PURE__*/React__default["default"].createElement("div", null, "User identity (Optional)"), /*#__PURE__*/React__default["default"].createElement("a", {
9661
9776
  className: "ml-1",
9662
9777
  rel: "noreferrer",
9663
9778
  target: "_blank",
9664
- href: enabledWidgets.chat ? (cov_216ndqorbu().b[17][0]++, NEETO_CHAT_USER_IDENTITY_URL) : (cov_216ndqorbu().b[17][1]++, NEETO_REPLAY_CONFIGURE_URL)
9665
- }, /*#__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, {
9666
9781
  size: 16
9667
9782
  })))
9668
9783
  })), /*#__PURE__*/React__default["default"].createElement("div", {
9669
9784
  className: "w-full"
9670
- }, 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", {
9671
- 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"
9672
9787
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9673
- className: "mx-auto mb-4 w-full"
9788
+ className: "mx-auto mb-2 w-full"
9674
9789
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
9675
9790
  className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
9676
9791
  codeString: SAMPLE_CONTEXT_CODE_STRING,
@@ -9686,13 +9801,13 @@ var EmbedCode = function EmbedCode(_ref) {
9686
9801
  href: NEETO_REPLAY_CONFIGURE_URL,
9687
9802
  rel: "noreferrer",
9688
9803
  target: "_blank"
9689
- }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Help, {
9804
+ }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Info, {
9690
9805
  size: 16
9691
9806
  })))
9692
9807
  })), /*#__PURE__*/React__default["default"].createElement("div", {
9693
9808
  className: "w-full"
9694
- }, t("neetoMolecules.widget.installation.instructions.sessionContext")))) : (cov_216ndqorbu().b[18][1]++, null), /*#__PURE__*/React__default["default"].createElement(CodeSnippet, _extends({
9695
- 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)),
9696
9811
  onClose: function onClose() {
9697
9812
  cov_216ndqorbu().f[13]++;
9698
9813
  cov_216ndqorbu().s[45]++;
@@ -9702,52 +9817,72 @@ var EmbedCode = function EmbedCode(_ref) {
9702
9817
  };
9703
9818
  cov_216ndqorbu().s[46]++;
9704
9819
 
9705
- function cov_dmuubj14b() {
9706
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/EmbedCodeQueryClient.jsx";
9707
- 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";
9708
9823
  var global = new Function("return this")();
9709
9824
  var gcv = "__coverage__";
9710
9825
  var coverageData = {
9711
- 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",
9712
9827
  statementMap: {
9713
9828
  "0": {
9714
9829
  start: {
9715
- line: 8,
9830
+ line: 11,
9716
9831
  column: 20
9717
9832
  },
9718
9833
  end: {
9719
- line: 8,
9834
+ line: 11,
9720
9835
  column: 37
9721
9836
  }
9722
9837
  },
9723
9838
  "1": {
9724
9839
  start: {
9725
- line: 10,
9726
- column: 29
9840
+ line: 13,
9841
+ column: 13
9727
9842
  },
9728
9843
  end: {
9729
- line: 14,
9844
+ line: 27,
9730
9845
  column: 1
9731
9846
  }
9732
9847
  },
9733
9848
  "2": {
9734
9849
  start: {
9735
- line: 11,
9736
- column: 2
9850
+ line: 14,
9851
+ column: 16
9737
9852
  },
9738
9853
  end: {
9739
- line: 13,
9740
- column: 24
9854
+ line: 14,
9855
+ column: 32
9741
9856
  }
9742
9857
  },
9743
9858
  "3": {
9744
9859
  start: {
9745
9860
  line: 16,
9746
- column: 0
9861
+ column: 32
9747
9862
  },
9748
9863
  end: {
9864
+ line: 16,
9865
+ column: 61
9866
+ }
9867
+ },
9868
+ "4": {
9869
+ start: {
9749
9870
  line: 18,
9750
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
9751
9886
  }
9752
9887
  }
9753
9888
  },
@@ -9756,40 +9891,78 @@ function cov_dmuubj14b() {
9756
9891
  name: "(anonymous_0)",
9757
9892
  decl: {
9758
9893
  start: {
9759
- line: 10,
9760
- column: 29
9894
+ line: 13,
9895
+ column: 13
9761
9896
  },
9762
9897
  end: {
9763
- line: 10,
9764
- column: 30
9898
+ line: 13,
9899
+ column: 14
9765
9900
  }
9766
9901
  },
9767
9902
  loc: {
9768
9903
  start: {
9769
- line: 11,
9770
- column: 2
9904
+ line: 13,
9905
+ column: 22
9771
9906
  },
9772
9907
  end: {
9773
- line: 13,
9774
- column: 24
9908
+ line: 27,
9909
+ column: 1
9775
9910
  }
9776
9911
  },
9777
- 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
9778
9948
  }
9779
9949
  },
9780
- branchMap: {},
9781
9950
  s: {
9782
9951
  "0": 0,
9783
9952
  "1": 0,
9784
9953
  "2": 0,
9785
- "3": 0
9954
+ "3": 0,
9955
+ "4": 0,
9956
+ "5": 0
9786
9957
  },
9787
9958
  f: {
9788
9959
  "0": 0
9789
9960
  },
9790
- b: {},
9961
+ b: {
9962
+ "0": [0, 0]
9963
+ },
9791
9964
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
9792
- hash: "2943e099ababc6953ade5b6465be1773b78fdd9a"
9965
+ hash: "f8f6a974b4a06560042d191ae12aff007d1a7759"
9793
9966
  };
9794
9967
  var coverage = global[gcv] || (global[gcv] = {});
9795
9968
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -9798,23 +9971,29 @@ function cov_dmuubj14b() {
9798
9971
  var actualCoverage = coverage[path];
9799
9972
  {
9800
9973
  // @ts-ignore
9801
- cov_dmuubj14b = function () {
9974
+ cov_19nsdjzqpb = function () {
9802
9975
  return actualCoverage;
9803
9976
  };
9804
9977
  }
9805
9978
  return actualCoverage;
9806
9979
  }
9807
- cov_dmuubj14b();
9808
- var queryClient = (cov_dmuubj14b().s[0]++, new reactQuery.QueryClient());
9809
- cov_dmuubj14b().s[1]++;
9810
- var EmbedCodeQueryClient = function EmbedCodeQueryClient(props) {
9811
- cov_dmuubj14b().f[0]++;
9812
- cov_dmuubj14b().s[2]++;
9813
- 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, {
9814
9990
  client: queryClient
9815
- }, /*#__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")));
9816
9995
  };
9817
- cov_dmuubj14b().s[3]++;
9996
+ cov_19nsdjzqpb().s[5]++;
9818
9997
 
9819
9998
  function cov_oapvqz4m8() {
9820
9999
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/NeetoWidget/index.js";
@@ -9860,7 +10039,7 @@ function cov_oapvqz4m8() {
9860
10039
  }
9861
10040
  cov_oapvqz4m8();
9862
10041
  var NeetoWidget = (cov_oapvqz4m8().s[0]++, {
9863
- EmbedCode: EmbedCodeQueryClient,
10042
+ EmbedCode: Main,
9864
10043
  WIDGET_TYPES: WIDGET_TYPES
9865
10044
  });
9866
10045