@abgov/jsonforms-components 1.34.2 → 1.34.3

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/index.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import React, { createContext, useContext, useReducer, useMemo, useEffect, useState, useRef, useCallback } from 'react';
3
- import { GoAFormItem, GoAInput, GoATextArea, GoACallout, GoAInputDate, GoAInputDateTime, GoAInputTime, GoARadioGroup, GoARadioItem, GoACheckbox, GoAGrid, GoAFormStepper, GoAFormStep, GoAPages, GoAButton, GoAModal, GoAButtonGroup, GoAIconButton, GoAFileUploadInput, GoACircularProgress, GoAContainer, GoASkeleton, GoADetails } from '@abgov/react-components';
3
+ import { GoAFormItem, GoAInput, GoATextArea, GoACallout, GoAInputDate, GoAInputDateTime, GoAInputTime, GoARadioGroup, GoARadioItem, GoACheckbox, GoAGrid, GoAFormStepper, GoAFormStep, GoAPages, GoAButton, GoAModal, GoAButtonGroup, GoAIconButton, GoAFileUploadInput, GoACircularProgress, GoAContainer, GoADropdown, GoADropdownItem, GoASkeleton, GoADetails } from '@abgov/react-components';
4
4
  import styled from 'styled-components';
5
5
  import axios from 'axios';
6
6
  import get$1 from 'lodash/get';
@@ -45,21 +45,21 @@ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
45
45
  };
46
46
  };
47
47
 
48
- var uncurryThis$q = functionUncurryThis;
48
+ var uncurryThis$r = functionUncurryThis;
49
49
 
50
- var toString$e = uncurryThis$q({}.toString);
51
- var stringSlice$7 = uncurryThis$q(''.slice);
50
+ var toString$f = uncurryThis$r({}.toString);
51
+ var stringSlice$7 = uncurryThis$r(''.slice);
52
52
 
53
53
  var classofRaw$2 = function (it) {
54
- return stringSlice$7(toString$e(it), 8, -1);
54
+ return stringSlice$7(toString$f(it), 8, -1);
55
55
  };
56
56
 
57
- var uncurryThis$p = functionUncurryThis;
57
+ var uncurryThis$q = functionUncurryThis;
58
58
  var fails$p = fails$r;
59
59
  var classof$a = classofRaw$2;
60
60
 
61
61
  var $Object$4 = Object;
62
- var split = uncurryThis$p(''.split);
62
+ var split = uncurryThis$q(''.split);
63
63
 
64
64
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
65
65
  var indexedObject = fails$p(function () {
@@ -82,17 +82,17 @@ var $TypeError$i = TypeError;
82
82
 
83
83
  // `RequireObjectCoercible` abstract operation
84
84
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
85
- var requireObjectCoercible$9 = function (it) {
85
+ var requireObjectCoercible$a = function (it) {
86
86
  if (isNullOrUndefined$5(it)) throw new $TypeError$i("Can't call method on " + it);
87
87
  return it;
88
88
  };
89
89
 
90
90
  // toObject with fallback for non-array-like ES3 strings
91
91
  var IndexedObject$2 = indexedObject;
92
- var requireObjectCoercible$8 = requireObjectCoercible$9;
92
+ var requireObjectCoercible$9 = requireObjectCoercible$a;
93
93
 
94
94
  var toIndexedObject$5 = function (it) {
95
- return IndexedObject$2(requireObjectCoercible$8(it));
95
+ return IndexedObject$2(requireObjectCoercible$9(it));
96
96
  };
97
97
 
98
98
  var check = function (it) {
@@ -146,20 +146,20 @@ var shared$4 = function (key, value) {
146
146
  return store$2[key] || (store$2[key] = value || {});
147
147
  };
148
148
 
149
- var requireObjectCoercible$7 = requireObjectCoercible$9;
149
+ var requireObjectCoercible$8 = requireObjectCoercible$a;
150
150
 
151
151
  var $Object$3 = Object;
152
152
 
153
153
  // `ToObject` abstract operation
154
154
  // https://tc39.es/ecma262/#sec-toobject
155
155
  var toObject$7 = function (argument) {
156
- return $Object$3(requireObjectCoercible$7(argument));
156
+ return $Object$3(requireObjectCoercible$8(argument));
157
157
  };
158
158
 
159
- var uncurryThis$o = functionUncurryThis;
159
+ var uncurryThis$p = functionUncurryThis;
160
160
  var toObject$6 = toObject$7;
161
161
 
162
- var hasOwnProperty = uncurryThis$o({}.hasOwnProperty);
162
+ var hasOwnProperty = uncurryThis$p({}.hasOwnProperty);
163
163
 
164
164
  // `HasOwnProperty` abstract operation
165
165
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -168,14 +168,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
168
168
  return hasOwnProperty(toObject$6(it), key);
169
169
  };
170
170
 
171
- var uncurryThis$n = functionUncurryThis;
171
+ var uncurryThis$o = functionUncurryThis;
172
172
 
173
173
  var id = 0;
174
174
  var postfix = Math.random();
175
- var toString$d = uncurryThis$n(1.0.toString);
175
+ var toString$e = uncurryThis$o(1.0.toString);
176
176
 
177
177
  var uid$2 = function (key) {
178
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$d(++id + postfix, 36);
178
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$e(++id + postfix, 36);
179
179
  };
180
180
 
181
181
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
@@ -349,9 +349,9 @@ var getBuiltIn$9 = function (namespace, method) {
349
349
  return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
350
350
  };
351
351
 
352
- var uncurryThis$m = functionUncurryThis;
352
+ var uncurryThis$n = functionUncurryThis;
353
353
 
354
- var objectIsPrototypeOf = uncurryThis$m({}.isPrototypeOf);
354
+ var objectIsPrototypeOf = uncurryThis$n({}.isPrototypeOf);
355
355
 
356
356
  var getBuiltIn$8 = getBuiltIn$9;
357
357
  var isCallable$n = isCallable$q;
@@ -518,33 +518,33 @@ var toIntegerOrInfinity$6 = function (argument) {
518
518
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
519
519
 
520
520
  var max$1 = Math.max;
521
- var min$2 = Math.min;
521
+ var min$3 = Math.min;
522
522
 
523
523
  // Helper for a popular repeating case of the spec:
524
524
  // Let integer be ? ToInteger(index).
525
525
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
526
526
  var toAbsoluteIndex$1 = function (index, length) {
527
527
  var integer = toIntegerOrInfinity$5(index);
528
- return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);
528
+ return integer < 0 ? max$1(integer + length, 0) : min$3(integer, length);
529
529
  };
530
530
 
531
531
  var toIntegerOrInfinity$4 = toIntegerOrInfinity$6;
532
532
 
533
- var min$1 = Math.min;
533
+ var min$2 = Math.min;
534
534
 
535
535
  // `ToLength` abstract operation
536
536
  // https://tc39.es/ecma262/#sec-tolength
537
- var toLength$3 = function (argument) {
537
+ var toLength$4 = function (argument) {
538
538
  var len = toIntegerOrInfinity$4(argument);
539
- return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
539
+ return len > 0 ? min$2(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
540
540
  };
541
541
 
542
- var toLength$2 = toLength$3;
542
+ var toLength$3 = toLength$4;
543
543
 
544
544
  // `LengthOfArrayLike` abstract operation
545
545
  // https://tc39.es/ecma262/#sec-lengthofarraylike
546
546
  var lengthOfArrayLike$5 = function (obj) {
547
- return toLength$2(obj.length);
547
+ return toLength$3(obj.length);
548
548
  };
549
549
 
550
550
  var toIndexedObject$4 = toIndexedObject$5;
@@ -583,13 +583,13 @@ var arrayIncludes = {
583
583
 
584
584
  var hiddenKeys$4 = {};
585
585
 
586
- var uncurryThis$l = functionUncurryThis;
586
+ var uncurryThis$m = functionUncurryThis;
587
587
  var hasOwn$c = hasOwnProperty_1;
588
588
  var toIndexedObject$3 = toIndexedObject$5;
589
589
  var indexOf$1 = arrayIncludes.indexOf;
590
590
  var hiddenKeys$3 = hiddenKeys$4;
591
591
 
592
- var push$2 = uncurryThis$l([].push);
592
+ var push$2 = uncurryThis$m([].push);
593
593
 
594
594
  var objectKeysInternal = function (object, names) {
595
595
  var O = toIndexedObject$3(object);
@@ -870,15 +870,15 @@ var objectPropertyIsEnumerable = {};
870
870
 
871
871
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
872
872
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
873
- var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
873
+ var getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor;
874
874
 
875
875
  // Nashorn ~ JDK8 bug
876
- var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
876
+ var NASHORN_BUG = getOwnPropertyDescriptor$4 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
877
877
 
878
878
  // `Object.prototype.propertyIsEnumerable` method implementation
879
879
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
880
880
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
881
- var descriptor = getOwnPropertyDescriptor$3(this, V);
881
+ var descriptor = getOwnPropertyDescriptor$4(this, V);
882
882
  return !!descriptor && descriptor.enumerable;
883
883
  } : $propertyIsEnumerable;
884
884
 
@@ -925,11 +925,11 @@ var functionName = {
925
925
  CONFIGURABLE: CONFIGURABLE
926
926
  };
927
927
 
928
- var uncurryThis$k = functionUncurryThis;
928
+ var uncurryThis$l = functionUncurryThis;
929
929
  var isCallable$j = isCallable$q;
930
930
  var store = sharedStore.exports;
931
931
 
932
- var functionToString = uncurryThis$k(Function.toString);
932
+ var functionToString = uncurryThis$l(Function.toString);
933
933
 
934
934
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
935
935
  if (!isCallable$j(store.inspectSource)) {
@@ -940,7 +940,7 @@ if (!isCallable$j(store.inspectSource)) {
940
940
 
941
941
  var inspectSource$3 = store.inspectSource;
942
942
 
943
- var uncurryThis$j = functionUncurryThis;
943
+ var uncurryThis$k = functionUncurryThis;
944
944
  var fails$k = fails$r;
945
945
  var isCallable$i = isCallable$q;
946
946
  var hasOwn$8 = hasOwnProperty_1;
@@ -954,9 +954,9 @@ var getInternalState$3 = InternalStateModule$2.get;
954
954
  var $String$3 = String;
955
955
  // eslint-disable-next-line es/no-object-defineproperty -- safe
956
956
  var defineProperty$5 = Object.defineProperty;
957
- var stringSlice$6 = uncurryThis$j(''.slice);
958
- var replace$7 = uncurryThis$j(''.replace);
959
- var join = uncurryThis$j([].join);
957
+ var stringSlice$6 = uncurryThis$k(''.slice);
958
+ var replace$7 = uncurryThis$k(''.replace);
959
+ var join = uncurryThis$k([].join);
960
960
 
961
961
  var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$k(function () {
962
962
  return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -1043,12 +1043,12 @@ var objectGetOwnPropertySymbols = {};
1043
1043
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1044
1044
 
1045
1045
  var getBuiltIn$6 = getBuiltIn$9;
1046
- var uncurryThis$i = functionUncurryThis;
1046
+ var uncurryThis$j = functionUncurryThis;
1047
1047
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1048
1048
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1049
1049
  var anObject$b = anObject$f;
1050
1050
 
1051
- var concat$2 = uncurryThis$i([].concat);
1051
+ var concat$2 = uncurryThis$j([].concat);
1052
1052
 
1053
1053
  // all object keys, includes non-enumerable and symbols
1054
1054
  var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1098,7 +1098,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
1098
1098
  var isForced_1 = isForced$3;
1099
1099
 
1100
1100
  var global$f = global$o;
1101
- var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
1101
+ var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1102
1102
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
1103
1103
  var defineBuiltIn$7 = defineBuiltIn$8;
1104
1104
  var defineGlobalProperty = defineGlobalProperty$3;
@@ -1135,7 +1135,7 @@ var _export = function (options, source) {
1135
1135
  if (target) for (key in source) {
1136
1136
  sourceProperty = source[key];
1137
1137
  if (options.dontCallGetSet) {
1138
- descriptor = getOwnPropertyDescriptor$2(target, key);
1138
+ descriptor = getOwnPropertyDescriptor$3(target, key);
1139
1139
  targetProperty = descriptor && descriptor.value;
1140
1140
  } else targetProperty = target[key];
1141
1141
  FORCED = isForced$2(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1258,13 +1258,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1258
1258
  return IteratorConstructor;
1259
1259
  };
1260
1260
 
1261
- var uncurryThis$h = functionUncurryThis;
1261
+ var uncurryThis$i = functionUncurryThis;
1262
1262
  var aCallable$7 = aCallable$9;
1263
1263
 
1264
1264
  var functionUncurryThisAccessor = function (object, key, method) {
1265
1265
  try {
1266
1266
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1267
- return uncurryThis$h(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1267
+ return uncurryThis$i(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1268
1268
  } catch (error) { /* empty */ }
1269
1269
  };
1270
1270
 
@@ -1287,7 +1287,7 @@ var aPossiblePrototype$1 = function (argument) {
1287
1287
  /* eslint-disable no-proto -- safe */
1288
1288
  var uncurryThisAccessor = functionUncurryThisAccessor;
1289
1289
  var isObject$5 = isObject$d;
1290
- var requireObjectCoercible$6 = requireObjectCoercible$9;
1290
+ var requireObjectCoercible$7 = requireObjectCoercible$a;
1291
1291
  var aPossiblePrototype = aPossiblePrototype$1;
1292
1292
 
1293
1293
  // `Object.setPrototypeOf` method
@@ -1304,7 +1304,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1304
1304
  CORRECT_SETTER = test instanceof Array;
1305
1305
  } catch (error) { /* empty */ }
1306
1306
  return function setPrototypeOf(O, proto) {
1307
- requireObjectCoercible$6(O);
1307
+ requireObjectCoercible$7(O);
1308
1308
  aPossiblePrototype(proto);
1309
1309
  if (!isObject$5(O)) return O;
1310
1310
  if (CORRECT_SETTER) setter(O, proto);
@@ -1313,7 +1313,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1313
1313
  };
1314
1314
  }() : undefined);
1315
1315
 
1316
- var $$j = _export;
1316
+ var $$k = _export;
1317
1317
  var call$g = functionCall;
1318
1318
  var FunctionName = functionName;
1319
1319
  var isCallable$d = isCallable$q;
@@ -1401,7 +1401,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1401
1401
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1402
1402
  defineBuiltIn$5(IterablePrototype, KEY, methods[KEY]);
1403
1403
  }
1404
- } else $$j({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1404
+ } else $$k({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1405
1405
  }
1406
1406
 
1407
1407
  // define iterator
@@ -1562,7 +1562,7 @@ for (var COLLECTION_NAME in DOMIterables) {
1562
1562
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1563
1563
 
1564
1564
  var DESCRIPTORS$7 = descriptors;
1565
- var uncurryThis$g = functionUncurryThis;
1565
+ var uncurryThis$h = functionUncurryThis;
1566
1566
  var call$f = functionCall;
1567
1567
  var fails$g = fails$r;
1568
1568
  var objectKeys = objectKeys$2;
@@ -1575,7 +1575,7 @@ var IndexedObject$1 = indexedObject;
1575
1575
  var $assign = Object.assign;
1576
1576
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1577
1577
  var defineProperty$2 = Object.defineProperty;
1578
- var concat$1 = uncurryThis$g([].concat);
1578
+ var concat$1 = uncurryThis$h([].concat);
1579
1579
 
1580
1580
  // `Object.assign` method
1581
1581
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1618,13 +1618,13 @@ var objectAssign = !$assign || fails$g(function () {
1618
1618
  } return T;
1619
1619
  } : $assign;
1620
1620
 
1621
- var $$i = _export;
1621
+ var $$j = _export;
1622
1622
  var assign = objectAssign;
1623
1623
 
1624
1624
  // `Object.assign` method
1625
1625
  // https://tc39.es/ecma262/#sec-object.assign
1626
1626
  // eslint-disable-next-line es/no-object-assign -- required for testing
1627
- $$i({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1627
+ $$j({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1628
1628
  assign: assign
1629
1629
  });
1630
1630
 
@@ -1634,7 +1634,7 @@ const FormFieldWrapper = styled.div(_t$9 || (_t$9 = _$9`
1634
1634
  margin-bottom: var(--goa-space-l);
1635
1635
  `));
1636
1636
 
1637
- var $$h = _export;
1637
+ var $$i = _export;
1638
1638
  var toObject$3 = toObject$7;
1639
1639
  var lengthOfArrayLike$3 = lengthOfArrayLike$5;
1640
1640
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
@@ -1642,7 +1642,7 @@ var addToUnscopables$1 = addToUnscopables$3;
1642
1642
 
1643
1643
  // `Array.prototype.at` method
1644
1644
  // https://tc39.es/ecma262/#sec-array.prototype.at
1645
- $$h({ target: 'Array', proto: true }, {
1645
+ $$i({ target: 'Array', proto: true }, {
1646
1646
  at: function at(index) {
1647
1647
  var O = toObject$3(this);
1648
1648
  var len = lengthOfArrayLike$3(O);
@@ -1697,7 +1697,7 @@ var classof$8 = classof$9;
1697
1697
 
1698
1698
  var $String$1 = String;
1699
1699
 
1700
- var toString$c = function (argument) {
1700
+ var toString$d = function (argument) {
1701
1701
  if (classof$8(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1702
1702
  return $String$1(argument);
1703
1703
  };
@@ -1777,8 +1777,8 @@ var regexpUnsupportedNcg = fails$d(function () {
1777
1777
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1778
1778
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1779
1779
  var call$e = functionCall;
1780
- var uncurryThis$f = functionUncurryThis;
1781
- var toString$b = toString$c;
1780
+ var uncurryThis$g = functionUncurryThis;
1781
+ var toString$c = toString$d;
1782
1782
  var regexpFlags = regexpFlags$1;
1783
1783
  var stickyHelpers$1 = regexpStickyHelpers;
1784
1784
  var shared = shared$4;
@@ -1790,10 +1790,10 @@ var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
1790
1790
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
1791
1791
  var nativeExec = RegExp.prototype.exec;
1792
1792
  var patchedExec = nativeExec;
1793
- var charAt$6 = uncurryThis$f(''.charAt);
1794
- var indexOf = uncurryThis$f(''.indexOf);
1795
- var replace$6 = uncurryThis$f(''.replace);
1796
- var stringSlice$5 = uncurryThis$f(''.slice);
1793
+ var charAt$6 = uncurryThis$g(''.charAt);
1794
+ var indexOf = uncurryThis$g(''.indexOf);
1795
+ var replace$6 = uncurryThis$g(''.replace);
1796
+ var stringSlice$5 = uncurryThis$g(''.slice);
1797
1797
 
1798
1798
  var UPDATES_LAST_INDEX_WRONG = (function () {
1799
1799
  var re1 = /a/;
@@ -1814,7 +1814,7 @@ if (PATCH) {
1814
1814
  patchedExec = function exec(string) {
1815
1815
  var re = this;
1816
1816
  var state = getInternalState$1(re);
1817
- var str = toString$b(string);
1817
+ var str = toString$c(string);
1818
1818
  var raw = state.raw;
1819
1819
  var result, reCopy, lastIndex, match, i, object, group;
1820
1820
 
@@ -1891,22 +1891,22 @@ if (PATCH) {
1891
1891
 
1892
1892
  var regexpExec$2 = patchedExec;
1893
1893
 
1894
- var $$g = _export;
1894
+ var $$h = _export;
1895
1895
  var exec$3 = regexpExec$2;
1896
1896
 
1897
1897
  // `RegExp.prototype.exec` method
1898
1898
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1899
- $$g({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1899
+ $$h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1900
1900
  exec: exec$3
1901
1901
  });
1902
1902
 
1903
1903
  // TODO: Remove from `core-js@4` since it's moved to entry points
1904
1904
 
1905
- var $$f = _export;
1905
+ var $$g = _export;
1906
1906
  var call$d = functionCall;
1907
1907
  var isCallable$b = isCallable$q;
1908
1908
  var anObject$9 = anObject$f;
1909
- var toString$a = toString$c;
1909
+ var toString$b = toString$d;
1910
1910
 
1911
1911
  var DELEGATES_TO_EXEC = function () {
1912
1912
  var execCalled = false;
@@ -1922,10 +1922,10 @@ var nativeTest = /./.test;
1922
1922
 
1923
1923
  // `RegExp.prototype.test` method
1924
1924
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
1925
- $$f({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1925
+ $$g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1926
1926
  test: function (S) {
1927
1927
  var R = anObject$9(this);
1928
- var string = toString$a(S);
1928
+ var string = toString$b(S);
1929
1929
  var exec = R.exec;
1930
1930
  if (!isCallable$b(exec)) return call$d(nativeTest, R, string);
1931
1931
  var result = call$d(exec, R, string);
@@ -1951,7 +1951,7 @@ var regexpGetFlags = function (R) {
1951
1951
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
1952
1952
  var defineBuiltIn$4 = defineBuiltIn$8;
1953
1953
  var anObject$8 = anObject$f;
1954
- var $toString = toString$c;
1954
+ var $toString = toString$d;
1955
1955
  var fails$c = fails$r;
1956
1956
  var getRegExpFlags$1 = regexpGetFlags;
1957
1957
 
@@ -1974,14 +1974,14 @@ if (NOT_GENERIC || INCORRECT_NAME) {
1974
1974
  }, { unsafe: true });
1975
1975
  }
1976
1976
 
1977
- var $$e = _export;
1978
- var uncurryThis$e = functionUncurryThis;
1979
- var requireObjectCoercible$5 = requireObjectCoercible$9;
1977
+ var $$f = _export;
1978
+ var uncurryThis$f = functionUncurryThis;
1979
+ var requireObjectCoercible$6 = requireObjectCoercible$a;
1980
1980
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
1981
- var toString$9 = toString$c;
1981
+ var toString$a = toString$d;
1982
1982
  var fails$b = fails$r;
1983
1983
 
1984
- var charAt$5 = uncurryThis$e(''.charAt);
1984
+ var charAt$5 = uncurryThis$f(''.charAt);
1985
1985
 
1986
1986
  var FORCED$3 = fails$b(function () {
1987
1987
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
@@ -1990,9 +1990,9 @@ var FORCED$3 = fails$b(function () {
1990
1990
 
1991
1991
  // `String.prototype.at` method
1992
1992
  // https://tc39.es/ecma262/#sec-string.prototype.at
1993
- $$e({ target: 'String', proto: true, forced: FORCED$3 }, {
1993
+ $$f({ target: 'String', proto: true, forced: FORCED$3 }, {
1994
1994
  at: function at(index) {
1995
- var S = toString$9(requireObjectCoercible$5(this));
1995
+ var S = toString$a(requireObjectCoercible$6(this));
1996
1996
  var len = S.length;
1997
1997
  var relativeIndex = toIntegerOrInfinity$2(index);
1998
1998
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
@@ -2087,18 +2087,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2087
2087
  if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$2[SYMBOL], 'sham', true);
2088
2088
  };
2089
2089
 
2090
- var uncurryThis$d = functionUncurryThis;
2090
+ var uncurryThis$e = functionUncurryThis;
2091
2091
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
2092
- var toString$8 = toString$c;
2093
- var requireObjectCoercible$4 = requireObjectCoercible$9;
2092
+ var toString$9 = toString$d;
2093
+ var requireObjectCoercible$5 = requireObjectCoercible$a;
2094
2094
 
2095
- var charAt$4 = uncurryThis$d(''.charAt);
2096
- var charCodeAt$1 = uncurryThis$d(''.charCodeAt);
2097
- var stringSlice$4 = uncurryThis$d(''.slice);
2095
+ var charAt$4 = uncurryThis$e(''.charAt);
2096
+ var charCodeAt$1 = uncurryThis$e(''.charCodeAt);
2097
+ var stringSlice$4 = uncurryThis$e(''.slice);
2098
2098
 
2099
2099
  var createMethod$2 = function (CONVERT_TO_STRING) {
2100
2100
  return function ($this, pos) {
2101
- var S = toString$8(requireObjectCoercible$4($this));
2101
+ var S = toString$9(requireObjectCoercible$5($this));
2102
2102
  var position = toIntegerOrInfinity$1(pos);
2103
2103
  var size = S.length;
2104
2104
  var first, second;
@@ -2132,13 +2132,13 @@ var advanceStringIndex$2 = function (S, index, unicode) {
2132
2132
  return index + (unicode ? charAt$3(S, index).length : 1);
2133
2133
  };
2134
2134
 
2135
- var uncurryThis$c = functionUncurryThis;
2135
+ var uncurryThis$d = functionUncurryThis;
2136
2136
  var toObject$2 = toObject$7;
2137
2137
 
2138
2138
  var floor = Math.floor;
2139
- var charAt$2 = uncurryThis$c(''.charAt);
2140
- var replace$5 = uncurryThis$c(''.replace);
2141
- var stringSlice$3 = uncurryThis$c(''.slice);
2139
+ var charAt$2 = uncurryThis$d(''.charAt);
2140
+ var replace$5 = uncurryThis$d(''.replace);
2141
+ var stringSlice$3 = uncurryThis$d(''.slice);
2142
2142
  // eslint-disable-next-line redos/no-vulnerable -- safe
2143
2143
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2144
2144
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -2201,16 +2201,16 @@ var regexpExecAbstract = function (R, S) {
2201
2201
 
2202
2202
  var apply$3 = functionApply;
2203
2203
  var call$8 = functionCall;
2204
- var uncurryThis$b = functionUncurryThis;
2204
+ var uncurryThis$c = functionUncurryThis;
2205
2205
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
2206
2206
  var fails$9 = fails$r;
2207
2207
  var anObject$6 = anObject$f;
2208
2208
  var isCallable$9 = isCallable$q;
2209
2209
  var isNullOrUndefined$3 = isNullOrUndefined$6;
2210
2210
  var toIntegerOrInfinity = toIntegerOrInfinity$6;
2211
- var toLength$1 = toLength$3;
2212
- var toString$7 = toString$c;
2213
- var requireObjectCoercible$3 = requireObjectCoercible$9;
2211
+ var toLength$2 = toLength$4;
2212
+ var toString$8 = toString$d;
2213
+ var requireObjectCoercible$4 = requireObjectCoercible$a;
2214
2214
  var advanceStringIndex$1 = advanceStringIndex$2;
2215
2215
  var getMethod$3 = getMethod$5;
2216
2216
  var getSubstitution = getSubstitution$1;
@@ -2219,11 +2219,11 @@ var wellKnownSymbol$9 = wellKnownSymbol$j;
2219
2219
 
2220
2220
  var REPLACE = wellKnownSymbol$9('replace');
2221
2221
  var max = Math.max;
2222
- var min = Math.min;
2223
- var concat = uncurryThis$b([].concat);
2224
- var push$1 = uncurryThis$b([].push);
2225
- var stringIndexOf$2 = uncurryThis$b(''.indexOf);
2226
- var stringSlice$2 = uncurryThis$b(''.slice);
2222
+ var min$1 = Math.min;
2223
+ var concat = uncurryThis$c([].concat);
2224
+ var push$1 = uncurryThis$c([].push);
2225
+ var stringIndexOf$2 = uncurryThis$c(''.indexOf);
2226
+ var stringSlice$2 = uncurryThis$c(''.slice);
2227
2227
 
2228
2228
  var maybeToString = function (it) {
2229
2229
  return it === undefined ? it : String(it);
@@ -2263,17 +2263,17 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2263
2263
  // `String.prototype.replace` method
2264
2264
  // https://tc39.es/ecma262/#sec-string.prototype.replace
2265
2265
  function replace(searchValue, replaceValue) {
2266
- var O = requireObjectCoercible$3(this);
2266
+ var O = requireObjectCoercible$4(this);
2267
2267
  var replacer = isNullOrUndefined$3(searchValue) ? undefined : getMethod$3(searchValue, REPLACE);
2268
2268
  return replacer
2269
2269
  ? call$8(replacer, searchValue, O, replaceValue)
2270
- : call$8(nativeReplace, toString$7(O), searchValue, replaceValue);
2270
+ : call$8(nativeReplace, toString$8(O), searchValue, replaceValue);
2271
2271
  },
2272
2272
  // `RegExp.prototype[@@replace]` method
2273
2273
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2274
2274
  function (string, replaceValue) {
2275
2275
  var rx = anObject$6(this);
2276
- var S = toString$7(string);
2276
+ var S = toString$8(string);
2277
2277
 
2278
2278
  if (
2279
2279
  typeof replaceValue == 'string' &&
@@ -2285,7 +2285,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2285
2285
  }
2286
2286
 
2287
2287
  var functionalReplace = isCallable$9(replaceValue);
2288
- if (!functionalReplace) replaceValue = toString$7(replaceValue);
2288
+ if (!functionalReplace) replaceValue = toString$8(replaceValue);
2289
2289
 
2290
2290
  var global = rx.global;
2291
2291
  var fullUnicode;
@@ -2303,8 +2303,8 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2303
2303
  push$1(results, result);
2304
2304
  if (!global) break;
2305
2305
 
2306
- var matchStr = toString$7(result[0]);
2307
- if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$1(rx.lastIndex), fullUnicode);
2306
+ var matchStr = toString$8(result[0]);
2307
+ if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$2(rx.lastIndex), fullUnicode);
2308
2308
  }
2309
2309
 
2310
2310
  var accumulatedResult = '';
@@ -2312,8 +2312,8 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2312
2312
  for (var i = 0; i < results.length; i++) {
2313
2313
  result = results[i];
2314
2314
 
2315
- var matched = toString$7(result[0]);
2316
- var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
2315
+ var matched = toString$8(result[0]);
2316
+ var position = max(min$1(toIntegerOrInfinity(result.index), S.length), 0);
2317
2317
  var captures = [];
2318
2318
  var replacement;
2319
2319
  // NOTE: This is equivalent to
@@ -2326,7 +2326,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2326
2326
  if (functionalReplace) {
2327
2327
  var replacerArgs = concat([matched], captures, position, S);
2328
2328
  if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
2329
- replacement = toString$7(apply$3(replaceValue, undefined, replacerArgs));
2329
+ replacement = toString$8(apply$3(replaceValue, undefined, replacerArgs));
2330
2330
  } else {
2331
2331
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2332
2332
  }
@@ -2785,14 +2785,14 @@ const onChangeForCheckboxData = (data, name, value) => data ? !value ? data ===
2785
2785
 
2786
2786
  let _$8 = t => t,
2787
2787
  _t$8,
2788
- _t2$4;
2788
+ _t2$5;
2789
2789
  styled.div(_t$8 || (_t$8 = _$8`
2790
2790
  height: 70vh;
2791
2791
  overflow-y: auto;
2792
2792
  padding-left: var(--goa-space-2xs);
2793
2793
  padding-right: var(--goa-space-2xs);
2794
2794
  `));
2795
- const Visible = styled.div(_t2$4 || (_t2$4 = _$8`
2795
+ const Visible = styled.div(_t2$5 || (_t2$5 = _$8`
2796
2796
  display: ${0};
2797
2797
  `), p => p.visible ? 'initial' : 'none');
2798
2798
 
@@ -2815,7 +2815,7 @@ var isArray$1 = isArray$2;
2815
2815
 
2816
2816
  var $TypeError$a = TypeError;
2817
2817
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2818
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
2818
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
2819
2819
 
2820
2820
  // Safari < 13 does not throw an error in this case
2821
2821
  var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$6 && !function () {
@@ -2830,7 +2830,7 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$6 && !function () {
2830
2830
  }();
2831
2831
 
2832
2832
  var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2833
- if (isArray$1(O) && !getOwnPropertyDescriptor$1(O, 'length').writable) {
2833
+ if (isArray$1(O) && !getOwnPropertyDescriptor$2(O, 'length').writable) {
2834
2834
  throw new $TypeError$a('Cannot set read only .length');
2835
2835
  } return O.length = length;
2836
2836
  } : function (O, length) {
@@ -2845,7 +2845,7 @@ var doesNotExceedSafeInteger$1 = function (it) {
2845
2845
  return it;
2846
2846
  };
2847
2847
 
2848
- var $$d = _export;
2848
+ var $$e = _export;
2849
2849
  var toObject$1 = toObject$7;
2850
2850
  var lengthOfArrayLike$2 = lengthOfArrayLike$5;
2851
2851
  var setArrayLength = arraySetLength;
@@ -2871,7 +2871,7 @@ var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2871
2871
 
2872
2872
  // `Array.prototype.push` method
2873
2873
  // https://tc39.es/ecma262/#sec-array.prototype.push
2874
- $$d({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2874
+ $$e({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2875
2875
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2876
2876
  push: function push(item) {
2877
2877
  var O = toObject$1(this);
@@ -2922,7 +2922,7 @@ function registerReducer(state, action) {
2922
2922
  return state;
2923
2923
  }
2924
2924
 
2925
- var $$c = _export;
2925
+ var $$d = _export;
2926
2926
  var $includes = arrayIncludes.includes;
2927
2927
  var fails$7 = fails$r;
2928
2928
  var addToUnscopables = addToUnscopables$3;
@@ -2935,7 +2935,7 @@ var BROKEN_ON_SPARSE = fails$7(function () {
2935
2935
 
2936
2936
  // `Array.prototype.includes` method
2937
2937
  // https://tc39.es/ecma262/#sec-array.prototype.includes
2938
- $$c({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2938
+ $$d({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2939
2939
  includes: function includes(el /* , fromIndex = 0 */) {
2940
2940
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
2941
2941
  }
@@ -2944,17 +2944,17 @@ $$c({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2944
2944
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2945
2945
  addToUnscopables('includes');
2946
2946
 
2947
- var uncurryThis$a = functionUncurryThis;
2947
+ var uncurryThis$b = functionUncurryThis;
2948
2948
 
2949
- var arraySlice$2 = uncurryThis$a([].slice);
2949
+ var arraySlice$2 = uncurryThis$b([].slice);
2950
2950
 
2951
- var uncurryThis$9 = functionUncurryThis;
2951
+ var uncurryThis$a = functionUncurryThis;
2952
2952
  var isArray = isArray$2;
2953
2953
  var isCallable$8 = isCallable$q;
2954
2954
  var classof$5 = classofRaw$2;
2955
- var toString$6 = toString$c;
2955
+ var toString$7 = toString$d;
2956
2956
 
2957
- var push = uncurryThis$9([].push);
2957
+ var push = uncurryThis$a([].push);
2958
2958
 
2959
2959
  var getJsonReplacerFunction = function (replacer) {
2960
2960
  if (isCallable$8(replacer)) return replacer;
@@ -2964,7 +2964,7 @@ var getJsonReplacerFunction = function (replacer) {
2964
2964
  for (var i = 0; i < rawLength; i++) {
2965
2965
  var element = replacer[i];
2966
2966
  if (typeof element == 'string') push(keys, element);
2967
- else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$6(element));
2967
+ else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$7(element));
2968
2968
  }
2969
2969
  var keysLength = keys.length;
2970
2970
  var root = true;
@@ -2978,11 +2978,11 @@ var getJsonReplacerFunction = function (replacer) {
2978
2978
  };
2979
2979
  };
2980
2980
 
2981
- var $$b = _export;
2981
+ var $$c = _export;
2982
2982
  var getBuiltIn$5 = getBuiltIn$9;
2983
2983
  var apply$2 = functionApply;
2984
2984
  var call$7 = functionCall;
2985
- var uncurryThis$8 = functionUncurryThis;
2985
+ var uncurryThis$9 = functionUncurryThis;
2986
2986
  var fails$6 = fails$r;
2987
2987
  var isCallable$7 = isCallable$q;
2988
2988
  var isSymbol = isSymbol$3;
@@ -2992,11 +2992,11 @@ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
2992
2992
 
2993
2993
  var $String = String;
2994
2994
  var $stringify = getBuiltIn$5('JSON', 'stringify');
2995
- var exec$2 = uncurryThis$8(/./.exec);
2996
- var charAt$1 = uncurryThis$8(''.charAt);
2997
- var charCodeAt = uncurryThis$8(''.charCodeAt);
2998
- var replace$4 = uncurryThis$8(''.replace);
2999
- var numberToString = uncurryThis$8(1.0.toString);
2995
+ var exec$2 = uncurryThis$9(/./.exec);
2996
+ var charAt$1 = uncurryThis$9(''.charAt);
2997
+ var charCodeAt = uncurryThis$9(''.charCodeAt);
2998
+ var replace$4 = uncurryThis$9(''.replace);
2999
+ var numberToString = uncurryThis$9(1.0.toString);
3000
3000
 
3001
3001
  var tester = /[\uD800-\uDFFF]/g;
3002
3002
  var low = /^[\uD800-\uDBFF]$/;
@@ -3041,7 +3041,7 @@ var fixIllFormed = function (match, offset, string) {
3041
3041
  if ($stringify) {
3042
3042
  // `JSON.stringify` method
3043
3043
  // https://tc39.es/ecma262/#sec-json.stringify
3044
- $$b({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3044
+ $$c({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3045
3045
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3046
3046
  stringify: function stringify(it, replacer, space) {
3047
3047
  var args = arraySlice$1(arguments);
@@ -3090,22 +3090,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
3090
3090
  } return false;
3091
3091
  };
3092
3092
 
3093
- var $$a = _export;
3094
- var uncurryThis$7 = functionUncurryThis;
3095
- var notARegExp = notARegexp;
3096
- var requireObjectCoercible$2 = requireObjectCoercible$9;
3097
- var toString$5 = toString$c;
3098
- var correctIsRegExpLogic = correctIsRegexpLogic;
3093
+ var $$b = _export;
3094
+ var uncurryThis$8 = functionUncurryThis;
3095
+ var notARegExp$1 = notARegexp;
3096
+ var requireObjectCoercible$3 = requireObjectCoercible$a;
3097
+ var toString$6 = toString$d;
3098
+ var correctIsRegExpLogic$1 = correctIsRegexpLogic;
3099
3099
 
3100
- var stringIndexOf$1 = uncurryThis$7(''.indexOf);
3100
+ var stringIndexOf$1 = uncurryThis$8(''.indexOf);
3101
3101
 
3102
3102
  // `String.prototype.includes` method
3103
3103
  // https://tc39.es/ecma262/#sec-string.prototype.includes
3104
- $$a({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
3104
+ $$b({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
3105
3105
  includes: function includes(searchString /* , position = 0 */) {
3106
3106
  return !!~stringIndexOf$1(
3107
- toString$5(requireObjectCoercible$2(this)),
3108
- toString$5(notARegExp(searchString)),
3107
+ toString$6(requireObjectCoercible$3(this)),
3108
+ toString$6(notARegExp$1(searchString)),
3109
3109
  arguments.length > 1 ? arguments[1] : undefined
3110
3110
  );
3111
3111
  }
@@ -3211,7 +3211,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
3211
3211
 
3212
3212
  var DESCRIPTORS$4 = descriptors;
3213
3213
  var global$a = global$o;
3214
- var uncurryThis$6 = functionUncurryThis;
3214
+ var uncurryThis$7 = functionUncurryThis;
3215
3215
  var isForced$1 = isForced_1;
3216
3216
  var inheritIfRequired$1 = inheritIfRequired$2;
3217
3217
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
@@ -3219,7 +3219,7 @@ var create = objectCreate;
3219
3219
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3220
3220
  var isPrototypeOf$4 = objectIsPrototypeOf;
3221
3221
  var isRegExp = isRegexp;
3222
- var toString$4 = toString$c;
3222
+ var toString$5 = toString$d;
3223
3223
  var getRegExpFlags = regexpGetFlags;
3224
3224
  var stickyHelpers = regexpStickyHelpers;
3225
3225
  var proxyAccessor$1 = proxyAccessor$2;
@@ -3236,11 +3236,11 @@ var MATCH = wellKnownSymbol$5('match');
3236
3236
  var NativeRegExp = global$a.RegExp;
3237
3237
  var RegExpPrototype$1 = NativeRegExp.prototype;
3238
3238
  var SyntaxError = global$a.SyntaxError;
3239
- var exec$1 = uncurryThis$6(RegExpPrototype$1.exec);
3240
- var charAt = uncurryThis$6(''.charAt);
3241
- var replace$3 = uncurryThis$6(''.replace);
3242
- var stringIndexOf = uncurryThis$6(''.indexOf);
3243
- var stringSlice$1 = uncurryThis$6(''.slice);
3239
+ var exec$1 = uncurryThis$7(RegExpPrototype$1.exec);
3240
+ var charAt = uncurryThis$7(''.charAt);
3241
+ var replace$3 = uncurryThis$7(''.replace);
3242
+ var stringIndexOf = uncurryThis$7(''.indexOf);
3243
+ var stringSlice$1 = uncurryThis$7(''.slice);
3244
3244
  // TODO: Use only proper RegExpIdentifierName
3245
3245
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
3246
3246
  var re1 = /a/g;
@@ -3347,8 +3347,8 @@ if (isForced$1('RegExp', BASE_FORCED)) {
3347
3347
  if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
3348
3348
  }
3349
3349
 
3350
- pattern = pattern === undefined ? '' : toString$4(pattern);
3351
- flags = flags === undefined ? '' : toString$4(flags);
3350
+ pattern = pattern === undefined ? '' : toString$5(pattern);
3351
+ flags = flags === undefined ? '' : toString$5(flags);
3352
3352
  rawPattern = pattern;
3353
3353
 
3354
3354
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
@@ -3680,14 +3680,14 @@ const GoAInputBaseControl = props => {
3680
3680
  });
3681
3681
  };
3682
3682
 
3683
- var $$9 = _export;
3683
+ var $$a = _export;
3684
3684
  var DESCRIPTORS$2 = descriptors;
3685
3685
  var global$9 = global$o;
3686
- var uncurryThis$5 = functionUncurryThis;
3686
+ var uncurryThis$6 = functionUncurryThis;
3687
3687
  var hasOwn$2 = hasOwnProperty_1;
3688
3688
  var isCallable$5 = isCallable$q;
3689
3689
  var isPrototypeOf$3 = objectIsPrototypeOf;
3690
- var toString$3 = toString$c;
3690
+ var toString$4 = toString$d;
3691
3691
  var defineBuiltInAccessor = defineBuiltInAccessor$3;
3692
3692
  var copyConstructorProperties$1 = copyConstructorProperties$3;
3693
3693
 
@@ -3701,7 +3701,7 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3701
3701
  var EmptyStringDescriptionStore = {};
3702
3702
  // wrap Symbol constructor for correct work with undefined description
3703
3703
  var SymbolWrapper = function Symbol() {
3704
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$3(arguments[0]);
3704
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$4(arguments[0]);
3705
3705
  var result = isPrototypeOf$3(SymbolPrototype, this)
3706
3706
  ? new NativeSymbol(description)
3707
3707
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
@@ -3715,11 +3715,11 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3715
3715
  SymbolPrototype.constructor = SymbolWrapper;
3716
3716
 
3717
3717
  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
3718
- var thisSymbolValue = uncurryThis$5(SymbolPrototype.valueOf);
3719
- var symbolDescriptiveString = uncurryThis$5(SymbolPrototype.toString);
3718
+ var thisSymbolValue = uncurryThis$6(SymbolPrototype.valueOf);
3719
+ var symbolDescriptiveString = uncurryThis$6(SymbolPrototype.toString);
3720
3720
  var regexp = /^Symbol\((.*)\)[^)]+$/;
3721
- var replace$2 = uncurryThis$5(''.replace);
3722
- var stringSlice = uncurryThis$5(''.slice);
3721
+ var replace$2 = uncurryThis$6(''.replace);
3722
+ var stringSlice = uncurryThis$6(''.slice);
3723
3723
 
3724
3724
  defineBuiltInAccessor(SymbolPrototype, 'description', {
3725
3725
  configurable: true,
@@ -3732,7 +3732,7 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3732
3732
  }
3733
3733
  });
3734
3734
 
3735
- $$9({ global: true, constructor: true, forced: true }, {
3735
+ $$a({ global: true, constructor: true, forced: true }, {
3736
3736
  Symbol: SymbolWrapper
3737
3737
  });
3738
3738
  }
@@ -3741,9 +3741,9 @@ var call$6 = functionCall;
3741
3741
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
3742
3742
  var anObject$5 = anObject$f;
3743
3743
  var isNullOrUndefined$2 = isNullOrUndefined$6;
3744
- var toLength = toLength$3;
3745
- var toString$2 = toString$c;
3746
- var requireObjectCoercible$1 = requireObjectCoercible$9;
3744
+ var toLength$1 = toLength$4;
3745
+ var toString$3 = toString$d;
3746
+ var requireObjectCoercible$2 = requireObjectCoercible$a;
3747
3747
  var getMethod$2 = getMethod$5;
3748
3748
  var advanceStringIndex = advanceStringIndex$2;
3749
3749
  var regExpExec = regexpExecAbstract;
@@ -3754,15 +3754,15 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
3754
3754
  // `String.prototype.match` method
3755
3755
  // https://tc39.es/ecma262/#sec-string.prototype.match
3756
3756
  function match(regexp) {
3757
- var O = requireObjectCoercible$1(this);
3757
+ var O = requireObjectCoercible$2(this);
3758
3758
  var matcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$2(regexp, MATCH);
3759
- return matcher ? call$6(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$2(O));
3759
+ return matcher ? call$6(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$3(O));
3760
3760
  },
3761
3761
  // `RegExp.prototype[@@match]` method
3762
3762
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
3763
3763
  function (string) {
3764
3764
  var rx = anObject$5(this);
3765
- var S = toString$2(string);
3765
+ var S = toString$3(string);
3766
3766
  var res = maybeCallNative(nativeMatch, rx, S);
3767
3767
 
3768
3768
  if (res.done) return res.value;
@@ -3775,9 +3775,9 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
3775
3775
  var n = 0;
3776
3776
  var result;
3777
3777
  while ((result = regExpExec(rx, S)) !== null) {
3778
- var matchStr = toString$2(result[0]);
3778
+ var matchStr = toString$3(result[0]);
3779
3779
  A[n] = matchStr;
3780
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
3780
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode);
3781
3781
  n++;
3782
3782
  }
3783
3783
  return n === 0 ? null : A;
@@ -4308,7 +4308,7 @@ const GoAInputTimeControl = withJsonFormsControlProps(GoATimeControl);
4308
4308
 
4309
4309
  let _$7 = t => t,
4310
4310
  _t$7,
4311
- _t2$3,
4311
+ _t2$4,
4312
4312
  _t3$3,
4313
4313
  _t4$2;
4314
4314
  styled.div(_t$7 || (_t$7 = _$7`
@@ -4328,7 +4328,7 @@ styled.div(_t$7 || (_t$7 = _$7`
4328
4328
  appearance: none;
4329
4329
  box-shadow: ${0};
4330
4330
  `), p => p.isOpen ? `0 0 0 3px #feba35` : '');
4331
- const GoADropdownListContainerWrapper = styled.div(_t2$3 || (_t2$3 = _$7`
4331
+ const GoADropdownListContainerWrapper = styled.div(_t2$4 || (_t2$4 = _$7`
4332
4332
  position: relative;
4333
4333
  display: ${0};
4334
4334
  `), p => !(p === null || p === void 0 ? void 0 : p.isOpen) && 'none');
@@ -4798,7 +4798,7 @@ const LayoutRenderer = ({
4798
4798
 
4799
4799
  let _$5 = t => t,
4800
4800
  _t$5,
4801
- _t2$2,
4801
+ _t2$3,
4802
4802
  _t3$2,
4803
4803
  _t4$1,
4804
4804
  _t5$1,
@@ -4818,7 +4818,7 @@ const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
4818
4818
  display: none;
4819
4819
  }
4820
4820
  `));
4821
- const ReviewItemSection = styled.div(_t2$2 || (_t2$2 = _$5`
4821
+ const ReviewItemSection = styled.div(_t2$3 || (_t2$3 = _$5`
4822
4822
  background-color: #f1f1f1;
4823
4823
  margin-bottom: 1rem;
4824
4824
  padding: 1rem;
@@ -4860,10 +4860,10 @@ const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$5`
4860
4860
  justify-content: flex-end;
4861
4861
  `));
4862
4862
 
4863
- var toString$1 = toString$c;
4863
+ var toString$2 = toString$d;
4864
4864
 
4865
4865
  var normalizeStringArgument$1 = function (argument, $default) {
4866
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString$1(argument);
4866
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$2(argument);
4867
4867
  };
4868
4868
 
4869
4869
  var isObject$2 = isObject$d;
@@ -4877,10 +4877,10 @@ var installErrorCause$1 = function (O, options) {
4877
4877
  }
4878
4878
  };
4879
4879
 
4880
- var uncurryThis$4 = functionUncurryThis;
4880
+ var uncurryThis$5 = functionUncurryThis;
4881
4881
 
4882
4882
  var $Error = Error;
4883
- var replace$1 = uncurryThis$4(''.replace);
4883
+ var replace$1 = uncurryThis$5(''.replace);
4884
4884
 
4885
4885
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
4886
4886
  // eslint-disable-next-line redos/no-vulnerable -- safe
@@ -4983,7 +4983,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4983
4983
  };
4984
4984
 
4985
4985
  /* eslint-disable no-unused-vars -- required for functions `.length` */
4986
- var $$8 = _export;
4986
+ var $$9 = _export;
4987
4987
  var global$8 = global$o;
4988
4988
  var apply$1 = functionApply;
4989
4989
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
@@ -4997,14 +4997,14 @@ var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
4997
4997
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4998
4998
  var O = {};
4999
4999
  O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
5000
- $$8({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
5000
+ $$9({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
5001
5001
  };
5002
5002
 
5003
5003
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
5004
5004
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
5005
5005
  var O = {};
5006
5006
  O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
5007
- $$8({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
5007
+ $$9({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
5008
5008
  }
5009
5009
  };
5010
5010
 
@@ -5594,7 +5594,7 @@ const DeleteFileModal = ({
5594
5594
 
5595
5595
  let _$3 = t => t,
5596
5596
  _t$3,
5597
- _t2$1,
5597
+ _t2$2,
5598
5598
  _t3$1;
5599
5599
  const DELAY_UPLOAD_TIMEOUT_MS = 5;
5600
5600
  const DELAY_DELETE_TIMEOUT_MS = 5;
@@ -5757,7 +5757,7 @@ const AttachmentBorderDisabled = styled.div(_t$3 || (_t$3 = _$3`
5757
5757
  width: fit-content;
5758
5758
  background-color: #f1f1f1;
5759
5759
  `));
5760
- const AttachmentBorder = styled.div(_t2$1 || (_t2$1 = _$3`
5760
+ const AttachmentBorder = styled.div(_t2$2 || (_t2$2 = _$3`
5761
5761
  display: flex;
5762
5762
  flex-direction: row;
5763
5763
  border: var(--goa-border-width-s) solid #dcdcdc;
@@ -5820,7 +5820,7 @@ const ObjectArrayToolBar = /*#__PURE__*/React.memo(function TableToolbar({
5820
5820
 
5821
5821
  let _$2 = t => t,
5822
5822
  _t$2,
5823
- _t2,
5823
+ _t2$1,
5824
5824
  _t3,
5825
5825
  _t4,
5826
5826
  _t5,
@@ -5834,7 +5834,7 @@ let _$2 = t => t,
5834
5834
  const DeleteDialogContent = styled.div(_t$2 || (_t$2 = _$2`
5835
5835
  margin-bottom: var(--goa-space-m);
5836
5836
  `));
5837
- const ToolBarHeader = styled.div(_t2 || (_t2 = _$2`
5837
+ const ToolBarHeader = styled.div(_t2$1 || (_t2$1 = _$2`
5838
5838
  margin-bottom: var(--goa-space-l);
5839
5839
  `));
5840
5840
  const ObjectArrayTitle = styled.h2(_t3 || (_t3 = _$2`
@@ -6689,11 +6689,92 @@ const ListWithDetailsControl = props => {
6689
6689
  const GoAListWithDetailsControlRenderer = withJsonFormsArrayLayoutProps(ListWithDetailsControl);
6690
6690
  const GoAListWithDetailsTester = rankWith(3, and(uiTypeIs('ListWithDetail')));
6691
6691
 
6692
+ let _$1 = t => t,
6693
+ _t$1,
6694
+ _t2;
6695
+ const SearchBox = styled.div(_t$1 || (_t$1 = _$1`
6696
+ position: relative;
6697
+
6698
+ .suggestions {
6699
+ width: 100%;
6700
+ margin-top: 3px;
6701
+ border-top-width: 0;
6702
+ list-style: none;
6703
+ max-height: 15.5rem;
6704
+ width: 100%;
6705
+ position: absolute;
6706
+
6707
+ background: var(--color-white);
6708
+ box-shadow: 0 8px 8px rgb(0 0 0 / 20%), 0 4px 4px rgb(0 0 0 / 10%);
6709
+ z-index: 99;
6710
+ padding-left: 0px;
6711
+
6712
+ overflow: hidden auto;
6713
+ }
6714
+ .suggestions li {
6715
+ padding: 0.5rem;
6716
+ color: var(--color-gray-900);
6717
+ }
6718
+ .suggestion-active,
6719
+ .suggestions li:hover {
6720
+ background-color: var(--color-primary);
6721
+ color: var(--color-white);
6722
+ cursor: pointer;
6723
+ font-weight: var(--fw-bold);
6724
+ }
6725
+ `));
6726
+ const LabelDiv = styled.div(_t2 || (_t2 = _$1`
6727
+ font-size: var(--fs-sl);
6728
+ font-weight: var(--fw-bold);
6729
+ padding-left: 0.4rem;
6730
+ padding-bottom: 0.5rem;
6731
+ `));
6732
+
6692
6733
  const AddressInputs = ({
6693
6734
  address,
6694
6735
  handleInputChange,
6695
6736
  isAlbertaAddress
6696
6737
  }) => {
6738
+ const provinces = [{
6739
+ value: 'AB',
6740
+ label: 'Alberta'
6741
+ }, {
6742
+ value: 'BC',
6743
+ label: 'British Columbia'
6744
+ }, {
6745
+ value: 'MB',
6746
+ label: 'Manitoba'
6747
+ }, {
6748
+ value: 'NB',
6749
+ label: 'New Brunswick'
6750
+ }, {
6751
+ value: 'NL',
6752
+ label: 'Newfoundland and Labrador'
6753
+ }, {
6754
+ value: 'NS',
6755
+ label: 'Nova Scotia'
6756
+ }, {
6757
+ value: 'NT',
6758
+ label: 'Northwest Territories'
6759
+ }, {
6760
+ value: 'NU',
6761
+ label: 'Nunavut'
6762
+ }, {
6763
+ value: 'ON',
6764
+ label: 'Ontario'
6765
+ }, {
6766
+ value: 'PE',
6767
+ label: 'Prince Edward Island'
6768
+ }, {
6769
+ value: 'QC',
6770
+ label: 'Quebec'
6771
+ }, {
6772
+ value: 'SK',
6773
+ label: 'Saskatchewan'
6774
+ }, {
6775
+ value: 'YT',
6776
+ label: 'Yukon'
6777
+ }];
6697
6778
  return jsxs(Fragment, {
6698
6779
  children: [jsx(GoAFormItem, {
6699
6780
  label: "",
@@ -6706,9 +6787,9 @@ const AddressInputs = ({
6706
6787
  onChange: (name, value) => handleInputChange(name, value),
6707
6788
  width: "100%"
6708
6789
  })
6709
- }), jsxs(GoAGrid, {
6710
- minChildWidth: "35ch",
6711
- gap: "m",
6790
+ }), jsx("br", {}), jsxs(GoAGrid, {
6791
+ minChildWidth: "0ch",
6792
+ gap: "s",
6712
6793
  children: [jsx(GoAFormItem, {
6713
6794
  label: "City",
6714
6795
  children: jsx(GoAInput, {
@@ -6716,7 +6797,8 @@ const AddressInputs = ({
6716
6797
  testId: "address-form-city",
6717
6798
  ariaLabel: 'address-form-city',
6718
6799
  value: (address === null || address === void 0 ? void 0 : address.city) || '',
6719
- onChange: (name, value) => handleInputChange(name, value)
6800
+ onChange: (name, value) => handleInputChange(name, value),
6801
+ width: "100%"
6720
6802
  })
6721
6803
  }), jsx(GoAFormItem, {
6722
6804
  label: "Postal Code",
@@ -6724,44 +6806,97 @@ const AddressInputs = ({
6724
6806
  name: "postalCode",
6725
6807
  testId: "address-form-postal-code",
6726
6808
  ariaLabel: 'address-form-postal-code',
6809
+ placeholder: "A0A 0A0",
6727
6810
  value: (address === null || address === void 0 ? void 0 : address.postalCode) || '',
6728
- onChange: (name, value) => handleInputChange(name, value)
6811
+ onChange: (name, value) => handleInputChange(name, value),
6812
+ width: "100%"
6729
6813
  })
6730
- }), jsx(GoAFormItem, {
6814
+ })]
6815
+ }), jsx("br", {}), jsxs(GoAGrid, {
6816
+ minChildWidth: "0",
6817
+ gap: "s",
6818
+ children: [jsxs(GoAFormItem, {
6731
6819
  label: "Province",
6732
- children: jsx(GoAInput, {
6820
+ children: [isAlbertaAddress && jsx(LabelDiv, {
6821
+ "data-testid": "address-form-province",
6822
+ children: "Alberta"
6823
+ }), !isAlbertaAddress && jsx(GoADropdown, {
6733
6824
  name: "province",
6734
- testId: "address-form-province",
6825
+ testId: "address-form-province-dropdown",
6735
6826
  ariaLabel: 'address-form-province',
6736
- value: isAlbertaAddress ? 'AB' : (address === null || address === void 0 ? void 0 : address.province) || '',
6737
- onChange: (name, value) => handleInputChange(name, value),
6738
- disabled: isAlbertaAddress
6739
- })
6827
+ value: (address === null || address === void 0 ? void 0 : address.province) || '',
6828
+ onChange: value => handleInputChange('province', value),
6829
+ relative: true,
6830
+ width: "25ch",
6831
+ children: provinces.map(w => jsx(GoADropdownItem, {
6832
+ value: w.value,
6833
+ label: w.label
6834
+ }, w.value))
6835
+ })]
6740
6836
  }), jsx(GoAFormItem, {
6741
6837
  label: "Country",
6742
- children: jsx(GoAInput, {
6743
- name: "country",
6744
- testId: "address-form-country",
6745
- ariaLabel: 'address-form-country',
6746
- value: "CAN",
6747
- disabled: true,
6748
- onChange: () => {}
6838
+ children: jsx(LabelDiv, {
6839
+ "data-testid": "address-form-country",
6840
+ children: "Canada"
6749
6841
  })
6750
6842
  })]
6751
6843
  })]
6752
6844
  });
6753
6845
  };
6754
6846
 
6847
+ var classofRaw = classofRaw$2;
6848
+ var uncurryThis$4 = functionUncurryThis;
6849
+
6850
+ var functionUncurryThisClause = function (fn) {
6851
+ // Nashorn bug:
6852
+ // https://github.com/zloirock/core-js/issues/1128
6853
+ // https://github.com/zloirock/core-js/issues/1130
6854
+ if (classofRaw(fn) === 'Function') return uncurryThis$4(fn);
6855
+ };
6856
+
6857
+ var $$8 = _export;
6858
+ var uncurryThis$3 = functionUncurryThisClause;
6859
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
6860
+ var toLength = toLength$4;
6861
+ var toString$1 = toString$d;
6862
+ var notARegExp = notARegexp;
6863
+ var requireObjectCoercible$1 = requireObjectCoercible$a;
6864
+ var correctIsRegExpLogic = correctIsRegexpLogic;
6865
+
6866
+ var slice = uncurryThis$3(''.slice);
6867
+ var min = Math.min;
6868
+
6869
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
6870
+ // https://github.com/zloirock/core-js/pull/702
6871
+ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
6872
+ var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'endsWith');
6873
+ return descriptor && !descriptor.writable;
6874
+ }();
6875
+
6876
+ // `String.prototype.endsWith` method
6877
+ // https://tc39.es/ecma262/#sec-string.prototype.endswith
6878
+ $$8({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
6879
+ endsWith: function endsWith(searchString /* , endPosition = @length */) {
6880
+ var that = toString$1(requireObjectCoercible$1(this));
6881
+ notARegExp(searchString);
6882
+ var endPosition = arguments.length > 1 ? arguments[1] : undefined;
6883
+ var len = that.length;
6884
+ var end = endPosition === undefined ? len : min(toLength(endPosition), len);
6885
+ var search = toString$1(searchString);
6886
+ return slice(that, end - search.length, end) === search;
6887
+ }
6888
+ });
6889
+
6755
6890
  // a string of all valid unicode whitespaces
6756
6891
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
6757
6892
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
6758
6893
 
6759
- var uncurryThis$3 = functionUncurryThis;
6760
- var requireObjectCoercible = requireObjectCoercible$9;
6761
- var toString = toString$c;
6894
+ var uncurryThis$2 = functionUncurryThis;
6895
+ var requireObjectCoercible = requireObjectCoercible$a;
6896
+ var toString = toString$d;
6762
6897
  var whitespaces$1 = whitespaces$2;
6763
6898
 
6764
- var replace = uncurryThis$3(''.replace);
6899
+ var replace = uncurryThis$2(''.replace);
6765
6900
  var ltrim = RegExp('^[' + whitespaces$1 + ']+');
6766
6901
  var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
6767
6902
 
@@ -6836,6 +6971,11 @@ const fetchAddressSuggestions = (formUrl, searchTerm, isAlbertaAddress) => __awa
6836
6971
  const filterAlbertaAddresses = suggestions => {
6837
6972
  return suggestions.filter(suggestion => suggestion.Description.includes('AB'));
6838
6973
  };
6974
+ const filterSuggestionsWithoutAddressCount = suggestions => {
6975
+ return suggestions.filter(suggestion => {
6976
+ return !suggestion.Description.trim().endsWith('Addresses');
6977
+ });
6978
+ };
6839
6979
  const mapSuggestionToAddress = suggestion => {
6840
6980
  let addressLine1, addressLine2;
6841
6981
  const suiteMatch = suggestion.Text.match(/(Suite|Apt|Unit|#)+/i);
@@ -6862,43 +7002,9 @@ const mapSuggestionToAddress = suggestion => {
6862
7002
  };
6863
7003
  };
6864
7004
 
6865
- let _$1 = t => t,
6866
- _t$1;
6867
- const SearchBox = styled.div(_t$1 || (_t$1 = _$1`
6868
- position: relative;
6869
-
6870
- .suggestions {
6871
- width: 100%;
6872
- margin-top: 3px;
6873
- border-top-width: 0;
6874
- list-style: none;
6875
- max-height: 15.5rem;
6876
- width: 100%;
6877
- position: absolute;
6878
-
6879
- background: var(--color-white);
6880
- box-shadow: 0 8px 8px rgb(0 0 0 / 20%), 0 4px 4px rgb(0 0 0 / 10%);
6881
- z-index: 99;
6882
- padding-left: 0px;
6883
-
6884
- overflow: hidden auto;
6885
- }
6886
- .suggestions li {
6887
- padding: 0.5rem;
6888
- color: var(--color-gray-900);
6889
- }
6890
- .suggestion-active,
6891
- .suggestions li:hover {
6892
- background-color: var(--color-primary);
6893
- color: var(--color-white);
6894
- cursor: pointer;
6895
- font-weight: var(--fw-bold);
6896
- }
6897
- `));
6898
-
6899
7005
  const ADDRESS_PATH = 'api/gateway/v1/address/v1/find';
6900
7006
  const AddressLookUpControl = props => {
6901
- var _a, _b, _c;
7007
+ var _a, _b, _c, _d;
6902
7008
  const {
6903
7009
  data,
6904
7010
  path,
@@ -6910,9 +7016,9 @@ const AddressLookUpControl = props => {
6910
7016
  const formCtx = useContext(JsonFormContext);
6911
7017
  const formHost = formCtx === null || formCtx === void 0 ? void 0 : formCtx.formUrl;
6912
7018
  const formUrl = `${formHost}/${ADDRESS_PATH}`;
6913
- const autocompletion = ((_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.autocomplete) === true;
7019
+ const autocompletion = ((_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.autocomplete) ? ((_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.autocomplete) === true : true;
6914
7020
  const [open, setOpen] = useState(false);
6915
- const label = typeof (uischema === null || uischema === void 0 ? void 0 : uischema.label) === 'string' ? uischema.label : '';
7021
+ const label = typeof (uischema === null || uischema === void 0 ? void 0 : uischema.label) === 'string' && uischema.label ? uischema.label : schema === null || schema === void 0 ? void 0 : schema.title;
6916
7022
  const defaultAddress = {
6917
7023
  addressLine1: '',
6918
7024
  addressLine2: '',
@@ -6941,7 +7047,8 @@ const AddressLookUpControl = props => {
6941
7047
  if (searchTerm.length > 2) {
6942
7048
  setLoading(true);
6943
7049
  setOpen(true);
6944
- const suggestions = yield fetchAddressSuggestions(formUrl, searchTerm, isAlbertaAddress);
7050
+ const response = yield fetchAddressSuggestions(formUrl, searchTerm, isAlbertaAddress);
7051
+ const suggestions = filterSuggestionsWithoutAddressCount(response);
6945
7052
  if (isAlbertaAddress) {
6946
7053
  setSuggestions(filterAlbertaAddresses(suggestions));
6947
7054
  } else {
@@ -7619,7 +7726,7 @@ var anInstance$1 = function (it, Prototype) {
7619
7726
  throw new $TypeError$5('Incorrect invocation');
7620
7727
  };
7621
7728
 
7622
- var uncurryThis$2 = functionUncurryThis;
7729
+ var uncurryThis$1 = functionUncurryThis;
7623
7730
  var fails$1 = fails$r;
7624
7731
  var isCallable$4 = isCallable$q;
7625
7732
  var classof$1 = classof$9;
@@ -7629,7 +7736,7 @@ var inspectSource$1 = inspectSource$3;
7629
7736
  var noop = function () { /* empty */ };
7630
7737
  var construct = getBuiltIn$2('Reflect', 'construct');
7631
7738
  var constructorRegExp = /^\s*(?:class|function)\b/;
7632
- var exec = uncurryThis$2(constructorRegExp.exec);
7739
+ var exec = uncurryThis$1(constructorRegExp.exec);
7633
7740
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
7634
7741
 
7635
7742
  var isConstructorModern = function isConstructor(argument) {
@@ -7697,16 +7804,6 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
7697
7804
  return C === undefined || isNullOrUndefined$1(S = anObject$4(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
7698
7805
  };
7699
7806
 
7700
- var classofRaw = classofRaw$2;
7701
- var uncurryThis$1 = functionUncurryThis;
7702
-
7703
- var functionUncurryThisClause = function (fn) {
7704
- // Nashorn bug:
7705
- // https://github.com/zloirock/core-js/issues/1128
7706
- // https://github.com/zloirock/core-js/issues/1130
7707
- if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
7708
- };
7709
-
7710
7807
  var uncurryThis = functionUncurryThisClause;
7711
7808
  var aCallable$5 = aCallable$9;
7712
7809
  var NATIVE_BIND = functionBindNative;