ui-kit-ck-consultant 0.5.211 → 0.5.212

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -466,9 +466,6 @@
466
466
  ._1Fq5R::-moz-placeholder, ._1XBGF::-moz-placeholder {
467
467
  color: var(--gray);
468
468
  }
469
- ._1Fq5R:-ms-input-placeholder, ._1XBGF:-ms-input-placeholder {
470
- color: var(--gray);
471
- }
472
469
  ._1Fq5R::placeholder,
473
470
  ._1XBGF::placeholder {
474
471
  color: var(--gray);
@@ -547,9 +544,6 @@
547
544
  ._3--n1::-moz-placeholder, ._1gP7a::-moz-placeholder {
548
545
  color: var(--gray);
549
546
  }
550
- ._3--n1:-ms-input-placeholder, ._1gP7a:-ms-input-placeholder {
551
- color: var(--gray);
552
- }
553
547
  ._3--n1::placeholder,
554
548
  ._1gP7a::placeholder {
555
549
  color: var(--gray);
@@ -604,10 +598,6 @@
604
598
  color: var(--gray);
605
599
  }
606
600
 
607
- ._1DiO5:-ms-input-placeholder {
608
- color: var(--gray);
609
- }
610
-
611
601
  ._1DiO5::placeholder {
612
602
  color: var(--gray);
613
603
  }
@@ -666,9 +656,6 @@
666
656
  ._6hnFm::-moz-placeholder {
667
657
  color: var(--gray);
668
658
  }
669
- ._6hnFm:-ms-input-placeholder {
670
- color: var(--gray);
671
- }
672
659
  ._6hnFm::placeholder {
673
660
  color: var(--gray);
674
661
  }
@@ -704,7 +691,6 @@
704
691
  font-size: 16px;
705
692
  -webkit-user-select: none;
706
693
  -moz-user-select: none;
707
- -ms-user-select: none;
708
694
  user-select: none;
709
695
  color: var(--black);
710
696
  min-height: 26px;
@@ -766,7 +752,6 @@
766
752
  font-size: 16px;
767
753
  -webkit-user-select: none;
768
754
  -moz-user-select: none;
769
- -ms-user-select: none;
770
755
  user-select: none;
771
756
  color: var(--black);
772
757
  min-height: 26px;
@@ -2375,7 +2360,6 @@
2375
2360
  -webkit-touch-callout: none;
2376
2361
  -webkit-user-select: none;
2377
2362
  -moz-user-select: none;
2378
- -ms-user-select: none;
2379
2363
  user-select: none;
2380
2364
  margin: auto;
2381
2365
  display: inline-block;
@@ -2472,8 +2456,7 @@
2472
2456
  color: var(--primary-color);
2473
2457
  -webkit-touch-callout: none; /* iOS Safari */
2474
2458
  -webkit-user-select: none; /* Safari */ /* Konqueror HTML */
2475
- -moz-user-select: none; /* Old versions of Firefox */
2476
- -ms-user-select: none; /* Internet Explorer/Edge */
2459
+ -moz-user-select: none; /* Old versions of Firefox */ /* Internet Explorer/Edge */
2477
2460
  user-select: none; /* Non-prefixed version, currently
2478
2461
  supported by Chrome, Edge, Opera and Firefox */
2479
2462
  }
@@ -2742,7 +2725,6 @@
2742
2725
  -webkit-touch-callout: none;
2743
2726
  -webkit-user-select: none;
2744
2727
  -moz-user-select: none;
2745
- -ms-user-select: none;
2746
2728
  user-select: none;
2747
2729
  }
2748
2730
 
@@ -2788,7 +2770,6 @@
2788
2770
  -webkit-touch-callout: none;
2789
2771
  -webkit-user-select: none;
2790
2772
  -moz-user-select: none;
2791
- -ms-user-select: none;
2792
2773
  user-select: none;
2793
2774
  cursor: pointer;
2794
2775
  }
@@ -2903,7 +2884,6 @@
2903
2884
  -webkit-touch-callout: none;
2904
2885
  -webkit-user-select: none;
2905
2886
  -moz-user-select: none;
2906
- -ms-user-select: none;
2907
2887
  user-select: none;
2908
2888
  margin-right: auto;
2909
2889
  }
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var Cookies = _interopDefault(require('universal-cookie'));
14
14
  var Holidays = _interopDefault(require('date-holidays'));
15
15
 
16
16
  function _extends() {
17
- _extends = Object.assign || function (target) {
17
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
18
18
  for (var i = 1; i < arguments.length; i++) {
19
19
  var source = arguments[i];
20
20
 
@@ -27,7 +27,6 @@ function _extends() {
27
27
 
28
28
  return target;
29
29
  };
30
-
31
30
  return _extends.apply(this, arguments);
32
31
  }
33
32
 
@@ -39,11 +38,10 @@ function _inheritsLoose(subClass, superClass) {
39
38
  }
40
39
 
41
40
  function _setPrototypeOf(o, p) {
42
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
41
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
43
42
  o.__proto__ = p;
44
43
  return o;
45
44
  };
46
-
47
45
  return _setPrototypeOf(o, p);
48
46
  }
49
47
 
@@ -3636,8 +3634,10 @@ var Dropdown = /*#__PURE__*/function (_Component) {
3636
3634
  className: classNames$1(style$t.space)
3637
3635
  }) : /*#__PURE__*/React__default.createElement(Fragment, null), this.props.icon ? this.props.icon : /*#__PURE__*/React__default.createElement(Fragment, null)), /*#__PURE__*/React__default.createElement("div", {
3638
3636
  className: dropdownMenuClass
3639
- }, this.props.data.map(function (element) {
3640
- return /*#__PURE__*/React__default.createElement("span", null, element.title);
3637
+ }, this.props.data.map(function (element, key) {
3638
+ return /*#__PURE__*/React__default.createElement("span", {
3639
+ key: key
3640
+ }, element.title);
3641
3641
  })));
3642
3642
  };
3643
3643
 
@@ -4202,8 +4202,9 @@ var moment = createCommonjsModule(function (module, exports) {
4202
4202
 
4203
4203
  function map(arr, fn) {
4204
4204
  var res = [],
4205
- i;
4206
- for (i = 0; i < arr.length; ++i) {
4205
+ i,
4206
+ arrLen = arr.length;
4207
+ for (i = 0; i < arrLen; ++i) {
4207
4208
  res.push(fn(arr[i], i));
4208
4209
  }
4209
4210
  return res;
@@ -4332,7 +4333,10 @@ var moment = createCommonjsModule(function (module, exports) {
4332
4333
  updateInProgress = false;
4333
4334
 
4334
4335
  function copyConfig(to, from) {
4335
- var i, prop, val;
4336
+ var i,
4337
+ prop,
4338
+ val,
4339
+ momentPropertiesLen = momentProperties.length;
4336
4340
 
4337
4341
  if (!isUndefined(from._isAMomentObject)) {
4338
4342
  to._isAMomentObject = from._isAMomentObject;
@@ -4365,8 +4369,8 @@ var moment = createCommonjsModule(function (module, exports) {
4365
4369
  to._locale = from._locale;
4366
4370
  }
4367
4371
 
4368
- if (momentProperties.length > 0) {
4369
- for (i = 0; i < momentProperties.length; i++) {
4372
+ if (momentPropertiesLen > 0) {
4373
+ for (i = 0; i < momentPropertiesLen; i++) {
4370
4374
  prop = momentProperties[i];
4371
4375
  val = from[prop];
4372
4376
  if (!isUndefined(val)) {
@@ -4421,8 +4425,9 @@ var moment = createCommonjsModule(function (module, exports) {
4421
4425
  var args = [],
4422
4426
  arg,
4423
4427
  i,
4424
- key;
4425
- for (i = 0; i < arguments.length; i++) {
4428
+ key,
4429
+ argLen = arguments.length;
4430
+ for (i = 0; i < argLen; i++) {
4426
4431
  arg = '';
4427
4432
  if (typeof arguments[i] === 'object') {
4428
4433
  arg += '\n[' + i + '] ';
@@ -4572,7 +4577,8 @@ var moment = createCommonjsModule(function (module, exports) {
4572
4577
  );
4573
4578
  }
4574
4579
 
4575
- var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
4580
+ var formattingTokens =
4581
+ /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
4576
4582
  localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
4577
4583
  formatFunctions = {},
4578
4584
  formatTokenFunctions = {};
@@ -4876,8 +4882,9 @@ var moment = createCommonjsModule(function (module, exports) {
4876
4882
  if (typeof units === 'object') {
4877
4883
  units = normalizeObjectUnits(units);
4878
4884
  var prioritized = getPrioritizedUnits(units),
4879
- i;
4880
- for (i = 0; i < prioritized.length; i++) {
4885
+ i,
4886
+ prioritizedLen = prioritized.length;
4887
+ for (i = 0; i < prioritizedLen; i++) {
4881
4888
  this[prioritized[i].unit](units[prioritized[i].unit]);
4882
4889
  }
4883
4890
  } else {
@@ -4907,7 +4914,8 @@ var moment = createCommonjsModule(function (module, exports) {
4907
4914
  matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
4908
4915
  // any word (or two) characters or numbers including two/three word month in arabic.
4909
4916
  // includes scottish gaelic two word and hyphenated months
4910
- matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
4917
+ matchWord =
4918
+ /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
4911
4919
  regexes;
4912
4920
 
4913
4921
  regexes = {};
@@ -4933,15 +4941,12 @@ var moment = createCommonjsModule(function (module, exports) {
4933
4941
  return regexEscape(
4934
4942
  s
4935
4943
  .replace('\\', '')
4936
- .replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (
4937
- matched,
4938
- p1,
4939
- p2,
4940
- p3,
4941
- p4
4942
- ) {
4943
- return p1 || p2 || p3 || p4;
4944
- })
4944
+ .replace(
4945
+ /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
4946
+ function (matched, p1, p2, p3, p4) {
4947
+ return p1 || p2 || p3 || p4;
4948
+ }
4949
+ )
4945
4950
  );
4946
4951
  }
4947
4952
 
@@ -4953,7 +4958,8 @@ var moment = createCommonjsModule(function (module, exports) {
4953
4958
 
4954
4959
  function addParseToken(token, callback) {
4955
4960
  var i,
4956
- func = callback;
4961
+ func = callback,
4962
+ tokenLen;
4957
4963
  if (typeof token === 'string') {
4958
4964
  token = [token];
4959
4965
  }
@@ -4962,7 +4968,8 @@ var moment = createCommonjsModule(function (module, exports) {
4962
4968
  array[callback] = toInt(input);
4963
4969
  };
4964
4970
  }
4965
- for (i = 0; i < token.length; i++) {
4971
+ tokenLen = token.length;
4972
+ for (i = 0; i < tokenLen; i++) {
4966
4973
  tokens[token[i]] = func;
4967
4974
  }
4968
4975
  }
@@ -5073,12 +5080,12 @@ var moment = createCommonjsModule(function (module, exports) {
5073
5080
 
5074
5081
  // LOCALES
5075
5082
 
5076
- var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
5077
- '_'
5078
- ),
5079
- defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split(
5080
- '_'
5081
- ),
5083
+ var defaultLocaleMonths =
5084
+ 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
5085
+ '_'
5086
+ ),
5087
+ defaultLocaleMonthsShort =
5088
+ 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
5082
5089
  MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
5083
5090
  defaultMonthsShortRegex = matchWord,
5084
5091
  defaultMonthsRegex = matchWord;
@@ -5520,14 +5527,12 @@ var moment = createCommonjsModule(function (module, exports) {
5520
5527
  addRegexToken('W', match1to2);
5521
5528
  addRegexToken('WW', match1to2, match2);
5522
5529
 
5523
- addWeekParseToken(['w', 'ww', 'W', 'WW'], function (
5524
- input,
5525
- week,
5526
- config,
5527
- token
5528
- ) {
5529
- week[token.substr(0, 1)] = toInt(input);
5530
- });
5530
+ addWeekParseToken(
5531
+ ['w', 'ww', 'W', 'WW'],
5532
+ function (input, week, config, token) {
5533
+ week[token.substr(0, 1)] = toInt(input);
5534
+ }
5535
+ );
5531
5536
 
5532
5537
  // HELPERS
5533
5538
 
@@ -5652,9 +5657,8 @@ var moment = createCommonjsModule(function (module, exports) {
5652
5657
  return ws.slice(n, 7).concat(ws.slice(0, n));
5653
5658
  }
5654
5659
 
5655
- var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
5656
- '_'
5657
- ),
5660
+ var defaultLocaleWeekdays =
5661
+ 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
5658
5662
  defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
5659
5663
  defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
5660
5664
  defaultWeekdaysRegex = matchWord,
@@ -6202,6 +6206,11 @@ var moment = createCommonjsModule(function (module, exports) {
6202
6206
  return globalLocale;
6203
6207
  }
6204
6208
 
6209
+ function isLocaleNameSane(name) {
6210
+ // Prevent names that look like filesystem paths, i.e contain '/' or '\'
6211
+ return name.match('^[^/\\\\]*$') != null;
6212
+ }
6213
+
6205
6214
  function loadLocale(name) {
6206
6215
  var oldLocale = null,
6207
6216
  aliasedRequire;
@@ -6210,7 +6219,8 @@ var moment = createCommonjsModule(function (module, exports) {
6210
6219
  locales[name] === undefined &&
6211
6220
  'object' !== 'undefined' &&
6212
6221
  module &&
6213
- module.exports
6222
+ module.exports &&
6223
+ isLocaleNameSane(name)
6214
6224
  ) {
6215
6225
  try {
6216
6226
  oldLocale = globalLocale._abbr;
@@ -6427,8 +6437,10 @@ var moment = createCommonjsModule(function (module, exports) {
6427
6437
 
6428
6438
  // iso 8601 regex
6429
6439
  // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
6430
- var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
6431
- basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
6440
+ var extendedIsoRegex =
6441
+ /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
6442
+ basicIsoRegex =
6443
+ /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
6432
6444
  tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
6433
6445
  isoDates = [
6434
6446
  ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
@@ -6459,7 +6471,8 @@ var moment = createCommonjsModule(function (module, exports) {
6459
6471
  ],
6460
6472
  aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
6461
6473
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
6462
- rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
6474
+ rfc2822 =
6475
+ /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
6463
6476
  obsOffsets = {
6464
6477
  UT: 0,
6465
6478
  GMT: 0,
@@ -6482,12 +6495,13 @@ var moment = createCommonjsModule(function (module, exports) {
6482
6495
  allowTime,
6483
6496
  dateFormat,
6484
6497
  timeFormat,
6485
- tzFormat;
6498
+ tzFormat,
6499
+ isoDatesLen = isoDates.length,
6500
+ isoTimesLen = isoTimes.length;
6486
6501
 
6487
6502
  if (match) {
6488
6503
  getParsingFlags(config).iso = true;
6489
-
6490
- for (i = 0, l = isoDates.length; i < l; i++) {
6504
+ for (i = 0, l = isoDatesLen; i < l; i++) {
6491
6505
  if (isoDates[i][1].exec(match[1])) {
6492
6506
  dateFormat = isoDates[i][0];
6493
6507
  allowTime = isoDates[i][2] !== false;
@@ -6499,7 +6513,7 @@ var moment = createCommonjsModule(function (module, exports) {
6499
6513
  return;
6500
6514
  }
6501
6515
  if (match[3]) {
6502
- for (i = 0, l = isoTimes.length; i < l; i++) {
6516
+ for (i = 0, l = isoTimesLen; i < l; i++) {
6503
6517
  if (isoTimes[i][1].exec(match[3])) {
6504
6518
  // match[2] should be 'T' or space
6505
6519
  timeFormat = (match[2] || ' ') + isoTimes[i][0];
@@ -6879,12 +6893,13 @@ var moment = createCommonjsModule(function (module, exports) {
6879
6893
  skipped,
6880
6894
  stringLength = string.length,
6881
6895
  totalParsedInputLength = 0,
6882
- era;
6896
+ era,
6897
+ tokenLen;
6883
6898
 
6884
6899
  tokens =
6885
6900
  expandFormat(config._f, config._locale).match(formattingTokens) || [];
6886
-
6887
- for (i = 0; i < tokens.length; i++) {
6901
+ tokenLen = tokens.length;
6902
+ for (i = 0; i < tokenLen; i++) {
6888
6903
  token = tokens[i];
6889
6904
  parsedInput = (string.match(getParseRegexForToken(token, config)) ||
6890
6905
  [])[0];
@@ -6979,15 +6994,16 @@ var moment = createCommonjsModule(function (module, exports) {
6979
6994
  i,
6980
6995
  currentScore,
6981
6996
  validFormatFound,
6982
- bestFormatIsValid = false;
6997
+ bestFormatIsValid = false,
6998
+ configfLen = config._f.length;
6983
6999
 
6984
- if (config._f.length === 0) {
7000
+ if (configfLen === 0) {
6985
7001
  getParsingFlags(config).invalidFormat = true;
6986
7002
  config._d = new Date(NaN);
6987
7003
  return;
6988
7004
  }
6989
7005
 
6990
- for (i = 0; i < config._f.length; i++) {
7006
+ for (i = 0; i < configfLen; i++) {
6991
7007
  currentScore = 0;
6992
7008
  validFormatFound = false;
6993
7009
  tempConfig = copyConfig({}, config);
@@ -7228,7 +7244,8 @@ var moment = createCommonjsModule(function (module, exports) {
7228
7244
  function isDurationValid(m) {
7229
7245
  var key,
7230
7246
  unitHasDecimal = false,
7231
- i;
7247
+ i,
7248
+ orderLen = ordering.length;
7232
7249
  for (key in m) {
7233
7250
  if (
7234
7251
  hasOwnProp(m, key) &&
@@ -7241,7 +7258,7 @@ var moment = createCommonjsModule(function (module, exports) {
7241
7258
  }
7242
7259
  }
7243
7260
 
7244
- for (i = 0; i < ordering.length; ++i) {
7261
+ for (i = 0; i < orderLen; ++i) {
7245
7262
  if (m[ordering[i]]) {
7246
7263
  if (unitHasDecimal) {
7247
7264
  return false; // only allow non-integers for smallest unit
@@ -7566,7 +7583,8 @@ var moment = createCommonjsModule(function (module, exports) {
7566
7583
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
7567
7584
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
7568
7585
  // and further modified to allow for strings containing both week and day
7569
- isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
7586
+ isoRegex =
7587
+ /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
7570
7588
 
7571
7589
  function createDuration(input, key) {
7572
7590
  var duration = input,
@@ -7787,9 +7805,10 @@ var moment = createCommonjsModule(function (module, exports) {
7787
7805
  'ms',
7788
7806
  ],
7789
7807
  i,
7790
- property;
7808
+ property,
7809
+ propertyLen = properties.length;
7791
7810
 
7792
- for (i = 0; i < properties.length; i += 1) {
7811
+ for (i = 0; i < propertyLen; i += 1) {
7793
7812
  property = properties[i];
7794
7813
  propertyTest = propertyTest || hasOwnProp(input, property);
7795
7814
  }
@@ -8412,19 +8431,17 @@ var moment = createCommonjsModule(function (module, exports) {
8412
8431
  addRegexToken('NNNN', matchEraName);
8413
8432
  addRegexToken('NNNNN', matchEraNarrow);
8414
8433
 
8415
- addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (
8416
- input,
8417
- array,
8418
- config,
8419
- token
8420
- ) {
8421
- var era = config._locale.erasParse(input, token, config._strict);
8422
- if (era) {
8423
- getParsingFlags(config).era = era;
8424
- } else {
8425
- getParsingFlags(config).invalidEra = input;
8434
+ addParseToken(
8435
+ ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
8436
+ function (input, array, config, token) {
8437
+ var era = config._locale.erasParse(input, token, config._strict);
8438
+ if (era) {
8439
+ getParsingFlags(config).era = era;
8440
+ } else {
8441
+ getParsingFlags(config).invalidEra = input;
8442
+ }
8426
8443
  }
8427
- });
8444
+ );
8428
8445
 
8429
8446
  addRegexToken('y', matchUnsigned);
8430
8447
  addRegexToken('yy', matchUnsigned);
@@ -8716,14 +8733,12 @@ var moment = createCommonjsModule(function (module, exports) {
8716
8733
  addRegexToken('GGGGG', match1to6, match6);
8717
8734
  addRegexToken('ggggg', match1to6, match6);
8718
8735
 
8719
- addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (
8720
- input,
8721
- week,
8722
- config,
8723
- token
8724
- ) {
8725
- week[token.substr(0, 2)] = toInt(input);
8726
- });
8736
+ addWeekParseToken(
8737
+ ['gggg', 'ggggg', 'GGGG', 'GGGGG'],
8738
+ function (input, week, config, token) {
8739
+ week[token.substr(0, 2)] = toInt(input);
8740
+ }
8741
+ );
8727
8742
 
8728
8743
  addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
8729
8744
  week[token] = hooks.parseTwoDigitYear(input);
@@ -9746,7 +9761,7 @@ var moment = createCommonjsModule(function (module, exports) {
9746
9761
 
9747
9762
  //! moment.js
9748
9763
 
9749
- hooks.version = '2.29.1';
9764
+ hooks.version = '2.29.3';
9750
9765
 
9751
9766
  setHookCallback(createLocal);
9752
9767