@bigbinary/neeto-molecules 1.0.22 → 1.0.24

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