@bolttech/molecules-input-combo 0.1.0

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.cjs.js ADDED
@@ -0,0 +1,1826 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var react = require('react');
6
+ var moleculesDropdown = require('@bolttech/molecules-dropdown');
7
+ var atomsInput = require('@bolttech/atoms-input');
8
+ var divider = require('@bolttech/divider');
9
+ var uiUtils = require('@bolttech/ui-utils');
10
+ var styled = require('styled-components');
11
+
12
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
13
+
14
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
15
+
16
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
17
+
18
+ var check = function (it) {
19
+ return it && it.Math === Math && it;
20
+ };
21
+
22
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
23
+ var globalThis_1 =
24
+ // eslint-disable-next-line es/no-global-this -- safe
25
+ check(typeof globalThis == 'object' && globalThis) ||
26
+ check(typeof window == 'object' && window) ||
27
+ // eslint-disable-next-line no-restricted-globals -- safe
28
+ check(typeof self == 'object' && self) ||
29
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
30
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
31
+ // eslint-disable-next-line no-new-func -- fallback
32
+ (function () { return this; })() || Function('return this')();
33
+
34
+ var objectGetOwnPropertyDescriptor = {};
35
+
36
+ var fails$c = function (exec) {
37
+ try {
38
+ return !!exec();
39
+ } catch (error) {
40
+ return true;
41
+ }
42
+ };
43
+
44
+ var fails$b = fails$c;
45
+
46
+ // Detect IE8's incomplete defineProperty implementation
47
+ var descriptors = !fails$b(function () {
48
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
49
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
50
+ });
51
+
52
+ var fails$a = fails$c;
53
+
54
+ var functionBindNative = !fails$a(function () {
55
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
56
+ var test = (function () { /* empty */ }).bind();
57
+ // eslint-disable-next-line no-prototype-builtins -- safe
58
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
59
+ });
60
+
61
+ var NATIVE_BIND$2 = functionBindNative;
62
+
63
+ var call$9 = Function.prototype.call;
64
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
65
+ var functionCall = NATIVE_BIND$2 ? call$9.bind(call$9) : function () {
66
+ return call$9.apply(call$9, arguments);
67
+ };
68
+
69
+ var objectPropertyIsEnumerable = {};
70
+
71
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
72
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
73
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
74
+
75
+ // Nashorn ~ JDK8 bug
76
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
77
+
78
+ // `Object.prototype.propertyIsEnumerable` method implementation
79
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
80
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
81
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
82
+ return !!descriptor && descriptor.enumerable;
83
+ } : $propertyIsEnumerable;
84
+
85
+ var createPropertyDescriptor$3 = function (bitmap, value) {
86
+ return {
87
+ enumerable: !(bitmap & 1),
88
+ configurable: !(bitmap & 2),
89
+ writable: !(bitmap & 4),
90
+ value: value
91
+ };
92
+ };
93
+
94
+ var NATIVE_BIND$1 = functionBindNative;
95
+
96
+ var FunctionPrototype$1 = Function.prototype;
97
+ var call$8 = FunctionPrototype$1.call;
98
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
99
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$8, call$8);
100
+
101
+ var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
102
+ return function () {
103
+ return call$8.apply(fn, arguments);
104
+ };
105
+ };
106
+
107
+ var uncurryThis$b = functionUncurryThis;
108
+
109
+ var toString$1 = uncurryThis$b({}.toString);
110
+ var stringSlice$1 = uncurryThis$b(''.slice);
111
+
112
+ var classofRaw$2 = function (it) {
113
+ return stringSlice$1(toString$1(it), 8, -1);
114
+ };
115
+
116
+ var uncurryThis$a = functionUncurryThis;
117
+ var fails$9 = fails$c;
118
+ var classof$2 = classofRaw$2;
119
+
120
+ var $Object$4 = Object;
121
+ var split = uncurryThis$a(''.split);
122
+
123
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
124
+ var indexedObject = fails$9(function () {
125
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
126
+ // eslint-disable-next-line no-prototype-builtins -- safe
127
+ return !$Object$4('z').propertyIsEnumerable(0);
128
+ }) ? function (it) {
129
+ return classof$2(it) === 'String' ? split(it, '') : $Object$4(it);
130
+ } : $Object$4;
131
+
132
+ // we can't use just `it == null` since of `document.all` special case
133
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
134
+ var isNullOrUndefined$3 = function (it) {
135
+ return it === null || it === undefined;
136
+ };
137
+
138
+ var isNullOrUndefined$2 = isNullOrUndefined$3;
139
+
140
+ var $TypeError$9 = TypeError;
141
+
142
+ // `RequireObjectCoercible` abstract operation
143
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
144
+ var requireObjectCoercible$2 = function (it) {
145
+ if (isNullOrUndefined$2(it)) throw new $TypeError$9("Can't call method on " + it);
146
+ return it;
147
+ };
148
+
149
+ // toObject with fallback for non-array-like ES3 strings
150
+ var IndexedObject$1 = indexedObject;
151
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
152
+
153
+ var toIndexedObject$3 = function (it) {
154
+ return IndexedObject$1(requireObjectCoercible$1(it));
155
+ };
156
+
157
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
158
+ var documentAll = typeof document == 'object' && document.all;
159
+
160
+ // `IsCallable` abstract operation
161
+ // https://tc39.es/ecma262/#sec-iscallable
162
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
163
+ var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
164
+ return typeof argument == 'function' || argument === documentAll;
165
+ } : function (argument) {
166
+ return typeof argument == 'function';
167
+ };
168
+
169
+ var isCallable$d = isCallable$e;
170
+
171
+ var isObject$5 = function (it) {
172
+ return typeof it == 'object' ? it !== null : isCallable$d(it);
173
+ };
174
+
175
+ var globalThis$d = globalThis_1;
176
+ var isCallable$c = isCallable$e;
177
+
178
+ var aFunction = function (argument) {
179
+ return isCallable$c(argument) ? argument : undefined;
180
+ };
181
+
182
+ var getBuiltIn$3 = function (namespace, method) {
183
+ return arguments.length < 2 ? aFunction(globalThis$d[namespace]) : globalThis$d[namespace] && globalThis$d[namespace][method];
184
+ };
185
+
186
+ var uncurryThis$9 = functionUncurryThis;
187
+
188
+ var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
189
+
190
+ var globalThis$c = globalThis_1;
191
+
192
+ var navigator = globalThis$c.navigator;
193
+ var userAgent$1 = navigator && navigator.userAgent;
194
+
195
+ var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
196
+
197
+ var globalThis$b = globalThis_1;
198
+ var userAgent = environmentUserAgent;
199
+
200
+ var process = globalThis$b.process;
201
+ var Deno = globalThis$b.Deno;
202
+ var versions = process && process.versions || Deno && Deno.version;
203
+ var v8 = versions && versions.v8;
204
+ var match, version;
205
+
206
+ if (v8) {
207
+ match = v8.split('.');
208
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
209
+ // but their correct versions are not interesting for us
210
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
211
+ }
212
+
213
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
214
+ // so check `userAgent` even if `.v8` exists, but 0
215
+ if (!version && userAgent) {
216
+ match = userAgent.match(/Edge\/(\d+)/);
217
+ if (!match || match[1] >= 74) {
218
+ match = userAgent.match(/Chrome\/(\d+)/);
219
+ if (match) version = +match[1];
220
+ }
221
+ }
222
+
223
+ var environmentV8Version = version;
224
+
225
+ /* eslint-disable es/no-symbol -- required for testing */
226
+ var V8_VERSION = environmentV8Version;
227
+ var fails$8 = fails$c;
228
+ var globalThis$a = globalThis_1;
229
+
230
+ var $String$3 = globalThis$a.String;
231
+
232
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
233
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
234
+ var symbol = Symbol('symbol detection');
235
+ // Chrome 38 Symbol has incorrect toString conversion
236
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
237
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
238
+ // of course, fail.
239
+ return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
240
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
241
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
242
+ });
243
+
244
+ /* eslint-disable es/no-symbol -- required for testing */
245
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
246
+
247
+ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
248
+ !Symbol.sham &&
249
+ typeof Symbol.iterator == 'symbol';
250
+
251
+ var getBuiltIn$2 = getBuiltIn$3;
252
+ var isCallable$b = isCallable$e;
253
+ var isPrototypeOf$2 = objectIsPrototypeOf;
254
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
255
+
256
+ var $Object$3 = Object;
257
+
258
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
259
+ return typeof it == 'symbol';
260
+ } : function (it) {
261
+ var $Symbol = getBuiltIn$2('Symbol');
262
+ return isCallable$b($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
263
+ };
264
+
265
+ var $String$2 = String;
266
+
267
+ var tryToString$3 = function (argument) {
268
+ try {
269
+ return $String$2(argument);
270
+ } catch (error) {
271
+ return 'Object';
272
+ }
273
+ };
274
+
275
+ var isCallable$a = isCallable$e;
276
+ var tryToString$2 = tryToString$3;
277
+
278
+ var $TypeError$8 = TypeError;
279
+
280
+ // `Assert: IsCallable(argument) is true`
281
+ var aCallable$4 = function (argument) {
282
+ if (isCallable$a(argument)) return argument;
283
+ throw new $TypeError$8(tryToString$2(argument) + ' is not a function');
284
+ };
285
+
286
+ var aCallable$3 = aCallable$4;
287
+ var isNullOrUndefined$1 = isNullOrUndefined$3;
288
+
289
+ // `GetMethod` abstract operation
290
+ // https://tc39.es/ecma262/#sec-getmethod
291
+ var getMethod$3 = function (V, P) {
292
+ var func = V[P];
293
+ return isNullOrUndefined$1(func) ? undefined : aCallable$3(func);
294
+ };
295
+
296
+ var call$7 = functionCall;
297
+ var isCallable$9 = isCallable$e;
298
+ var isObject$4 = isObject$5;
299
+
300
+ var $TypeError$7 = TypeError;
301
+
302
+ // `OrdinaryToPrimitive` abstract operation
303
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
304
+ var ordinaryToPrimitive$1 = function (input, pref) {
305
+ var fn, val;
306
+ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$4(val = call$7(fn, input))) return val;
307
+ if (isCallable$9(fn = input.valueOf) && !isObject$4(val = call$7(fn, input))) return val;
308
+ if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$4(val = call$7(fn, input))) return val;
309
+ throw new $TypeError$7("Can't convert object to primitive value");
310
+ };
311
+
312
+ var sharedStore = {exports: {}};
313
+
314
+ var globalThis$9 = globalThis_1;
315
+
316
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
317
+ var defineProperty$3 = Object.defineProperty;
318
+
319
+ var defineGlobalProperty$3 = function (key, value) {
320
+ try {
321
+ defineProperty$3(globalThis$9, key, { value: value, configurable: true, writable: true });
322
+ } catch (error) {
323
+ globalThis$9[key] = value;
324
+ } return value;
325
+ };
326
+
327
+ var globalThis$8 = globalThis_1;
328
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
329
+
330
+ var SHARED = '__core-js_shared__';
331
+ var store$3 = sharedStore.exports = globalThis$8[SHARED] || defineGlobalProperty$2(SHARED, {});
332
+
333
+ (store$3.versions || (store$3.versions = [])).push({
334
+ version: '3.48.0',
335
+ mode: 'global',
336
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
337
+ license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
338
+ source: 'https://github.com/zloirock/core-js'
339
+ });
340
+
341
+ var sharedStoreExports = sharedStore.exports;
342
+
343
+ var store$2 = sharedStoreExports;
344
+
345
+ var shared$3 = function (key, value) {
346
+ return store$2[key] || (store$2[key] = value || {});
347
+ };
348
+
349
+ var requireObjectCoercible = requireObjectCoercible$2;
350
+
351
+ var $Object$2 = Object;
352
+
353
+ // `ToObject` abstract operation
354
+ // https://tc39.es/ecma262/#sec-toobject
355
+ var toObject$3 = function (argument) {
356
+ return $Object$2(requireObjectCoercible(argument));
357
+ };
358
+
359
+ var uncurryThis$8 = functionUncurryThis;
360
+ var toObject$2 = toObject$3;
361
+
362
+ var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
363
+
364
+ // `HasOwnProperty` abstract operation
365
+ // https://tc39.es/ecma262/#sec-hasownproperty
366
+ // eslint-disable-next-line es/no-object-hasown -- safe
367
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
368
+ return hasOwnProperty(toObject$2(it), key);
369
+ };
370
+
371
+ var uncurryThis$7 = functionUncurryThis;
372
+
373
+ var id = 0;
374
+ var postfix = Math.random();
375
+ var toString = uncurryThis$7(1.1.toString);
376
+
377
+ var uid$2 = function (key) {
378
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
379
+ };
380
+
381
+ var globalThis$7 = globalThis_1;
382
+ var shared$2 = shared$3;
383
+ var hasOwn$8 = hasOwnProperty_1;
384
+ var uid$1 = uid$2;
385
+ var NATIVE_SYMBOL = symbolConstructorDetection;
386
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
387
+
388
+ var Symbol$1 = globalThis$7.Symbol;
389
+ var WellKnownSymbolsStore = shared$2('wks');
390
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
391
+
392
+ var wellKnownSymbol$7 = function (name) {
393
+ if (!hasOwn$8(WellKnownSymbolsStore, name)) {
394
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
395
+ ? Symbol$1[name]
396
+ : createWellKnownSymbol('Symbol.' + name);
397
+ } return WellKnownSymbolsStore[name];
398
+ };
399
+
400
+ var call$6 = functionCall;
401
+ var isObject$3 = isObject$5;
402
+ var isSymbol$1 = isSymbol$2;
403
+ var getMethod$2 = getMethod$3;
404
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
405
+ var wellKnownSymbol$6 = wellKnownSymbol$7;
406
+
407
+ var $TypeError$6 = TypeError;
408
+ var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
409
+
410
+ // `ToPrimitive` abstract operation
411
+ // https://tc39.es/ecma262/#sec-toprimitive
412
+ var toPrimitive$1 = function (input, pref) {
413
+ if (!isObject$3(input) || isSymbol$1(input)) return input;
414
+ var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
415
+ var result;
416
+ if (exoticToPrim) {
417
+ if (pref === undefined) pref = 'default';
418
+ result = call$6(exoticToPrim, input, pref);
419
+ if (!isObject$3(result) || isSymbol$1(result)) return result;
420
+ throw new $TypeError$6("Can't convert object to primitive value");
421
+ }
422
+ if (pref === undefined) pref = 'number';
423
+ return ordinaryToPrimitive(input, pref);
424
+ };
425
+
426
+ var toPrimitive = toPrimitive$1;
427
+ var isSymbol = isSymbol$2;
428
+
429
+ // `ToPropertyKey` abstract operation
430
+ // https://tc39.es/ecma262/#sec-topropertykey
431
+ var toPropertyKey$2 = function (argument) {
432
+ var key = toPrimitive(argument, 'string');
433
+ return isSymbol(key) ? key : key + '';
434
+ };
435
+
436
+ var globalThis$6 = globalThis_1;
437
+ var isObject$2 = isObject$5;
438
+
439
+ var document$1 = globalThis$6.document;
440
+ // typeof document.createElement is 'object' in old IE
441
+ var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
442
+
443
+ var documentCreateElement = function (it) {
444
+ return EXISTS$1 ? document$1.createElement(it) : {};
445
+ };
446
+
447
+ var DESCRIPTORS$9 = descriptors;
448
+ var fails$7 = fails$c;
449
+ var createElement = documentCreateElement;
450
+
451
+ // Thanks to IE8 for its funny defineProperty
452
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$7(function () {
453
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
454
+ return Object.defineProperty(createElement('div'), 'a', {
455
+ get: function () { return 7; }
456
+ }).a !== 7;
457
+ });
458
+
459
+ var DESCRIPTORS$8 = descriptors;
460
+ var call$5 = functionCall;
461
+ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
462
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
463
+ var toIndexedObject$2 = toIndexedObject$3;
464
+ var toPropertyKey$1 = toPropertyKey$2;
465
+ var hasOwn$7 = hasOwnProperty_1;
466
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
467
+
468
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
469
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
470
+
471
+ // `Object.getOwnPropertyDescriptor` method
472
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
473
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
474
+ O = toIndexedObject$2(O);
475
+ P = toPropertyKey$1(P);
476
+ if (IE8_DOM_DEFINE$1) try {
477
+ return $getOwnPropertyDescriptor$1(O, P);
478
+ } catch (error) { /* empty */ }
479
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);
480
+ };
481
+
482
+ var objectDefineProperty = {};
483
+
484
+ var DESCRIPTORS$7 = descriptors;
485
+ var fails$6 = fails$c;
486
+
487
+ // V8 ~ Chrome 36-
488
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
489
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
490
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
491
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
492
+ value: 42,
493
+ writable: false
494
+ }).prototype !== 42;
495
+ });
496
+
497
+ var isObject$1 = isObject$5;
498
+
499
+ var $String$1 = String;
500
+ var $TypeError$5 = TypeError;
501
+
502
+ // `Assert: Type(argument) is Object`
503
+ var anObject$7 = function (argument) {
504
+ if (isObject$1(argument)) return argument;
505
+ throw new $TypeError$5($String$1(argument) + ' is not an object');
506
+ };
507
+
508
+ var DESCRIPTORS$6 = descriptors;
509
+ var IE8_DOM_DEFINE = ie8DomDefine;
510
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
511
+ var anObject$6 = anObject$7;
512
+ var toPropertyKey = toPropertyKey$2;
513
+
514
+ var $TypeError$4 = TypeError;
515
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
516
+ var $defineProperty = Object.defineProperty;
517
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
518
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
519
+ var ENUMERABLE = 'enumerable';
520
+ var CONFIGURABLE$1 = 'configurable';
521
+ var WRITABLE = 'writable';
522
+
523
+ // `Object.defineProperty` method
524
+ // https://tc39.es/ecma262/#sec-object.defineproperty
525
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
526
+ anObject$6(O);
527
+ P = toPropertyKey(P);
528
+ anObject$6(Attributes);
529
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
530
+ var current = $getOwnPropertyDescriptor(O, P);
531
+ if (current && current[WRITABLE]) {
532
+ O[P] = Attributes.value;
533
+ Attributes = {
534
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
535
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
536
+ writable: false
537
+ };
538
+ }
539
+ } return $defineProperty(O, P, Attributes);
540
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
541
+ anObject$6(O);
542
+ P = toPropertyKey(P);
543
+ anObject$6(Attributes);
544
+ if (IE8_DOM_DEFINE) try {
545
+ return $defineProperty(O, P, Attributes);
546
+ } catch (error) { /* empty */ }
547
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
548
+ if ('value' in Attributes) O[P] = Attributes.value;
549
+ return O;
550
+ };
551
+
552
+ var DESCRIPTORS$5 = descriptors;
553
+ var definePropertyModule$3 = objectDefineProperty;
554
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
555
+
556
+ var createNonEnumerableProperty$2 = DESCRIPTORS$5 ? function (object, key, value) {
557
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
558
+ } : function (object, key, value) {
559
+ object[key] = value;
560
+ return object;
561
+ };
562
+
563
+ var makeBuiltIn$3 = {exports: {}};
564
+
565
+ var DESCRIPTORS$4 = descriptors;
566
+ var hasOwn$6 = hasOwnProperty_1;
567
+
568
+ var FunctionPrototype = Function.prototype;
569
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
570
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
571
+
572
+ var EXISTS = hasOwn$6(FunctionPrototype, 'name');
573
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
574
+
575
+ var functionName = {
576
+ CONFIGURABLE: CONFIGURABLE
577
+ };
578
+
579
+ var uncurryThis$6 = functionUncurryThis;
580
+ var isCallable$8 = isCallable$e;
581
+ var store$1 = sharedStoreExports;
582
+
583
+ var functionToString = uncurryThis$6(Function.toString);
584
+
585
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
586
+ if (!isCallable$8(store$1.inspectSource)) {
587
+ store$1.inspectSource = function (it) {
588
+ return functionToString(it);
589
+ };
590
+ }
591
+
592
+ var inspectSource$1 = store$1.inspectSource;
593
+
594
+ var globalThis$5 = globalThis_1;
595
+ var isCallable$7 = isCallable$e;
596
+
597
+ var WeakMap$1 = globalThis$5.WeakMap;
598
+
599
+ var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
600
+
601
+ var shared$1 = shared$3;
602
+ var uid = uid$2;
603
+
604
+ var keys = shared$1('keys');
605
+
606
+ var sharedKey$3 = function (key) {
607
+ return keys[key] || (keys[key] = uid(key));
608
+ };
609
+
610
+ var hiddenKeys$4 = {};
611
+
612
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
613
+ var globalThis$4 = globalThis_1;
614
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
615
+ var hasOwn$5 = hasOwnProperty_1;
616
+ var shared = sharedStoreExports;
617
+ var sharedKey$2 = sharedKey$3;
618
+ var hiddenKeys$3 = hiddenKeys$4;
619
+
620
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
621
+ var TypeError$1 = globalThis$4.TypeError;
622
+ var WeakMap = globalThis$4.WeakMap;
623
+ var set, get, has;
624
+
625
+ var enforce = function (it) {
626
+ return has(it) ? get(it) : set(it, {});
627
+ };
628
+
629
+ if (NATIVE_WEAK_MAP || shared.state) {
630
+ var store = shared.state || (shared.state = new WeakMap());
631
+ /* eslint-disable no-self-assign -- prototype methods protection */
632
+ store.get = store.get;
633
+ store.has = store.has;
634
+ store.set = store.set;
635
+ /* eslint-enable no-self-assign -- prototype methods protection */
636
+ set = function (it, metadata) {
637
+ if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
638
+ metadata.facade = it;
639
+ store.set(it, metadata);
640
+ return metadata;
641
+ };
642
+ get = function (it) {
643
+ return store.get(it) || {};
644
+ };
645
+ has = function (it) {
646
+ return store.has(it);
647
+ };
648
+ } else {
649
+ var STATE = sharedKey$2('state');
650
+ hiddenKeys$3[STATE] = true;
651
+ set = function (it, metadata) {
652
+ if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
653
+ metadata.facade = it;
654
+ createNonEnumerableProperty$1(it, STATE, metadata);
655
+ return metadata;
656
+ };
657
+ get = function (it) {
658
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
659
+ };
660
+ has = function (it) {
661
+ return hasOwn$5(it, STATE);
662
+ };
663
+ }
664
+
665
+ var internalState = {
666
+ get: get,
667
+ enforce: enforce};
668
+
669
+ var uncurryThis$5 = functionUncurryThis;
670
+ var fails$5 = fails$c;
671
+ var isCallable$6 = isCallable$e;
672
+ var hasOwn$4 = hasOwnProperty_1;
673
+ var DESCRIPTORS$3 = descriptors;
674
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
675
+ var inspectSource = inspectSource$1;
676
+ var InternalStateModule = internalState;
677
+
678
+ var enforceInternalState = InternalStateModule.enforce;
679
+ var getInternalState = InternalStateModule.get;
680
+ var $String = String;
681
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
682
+ var defineProperty$2 = Object.defineProperty;
683
+ var stringSlice = uncurryThis$5(''.slice);
684
+ var replace = uncurryThis$5(''.replace);
685
+ var join = uncurryThis$5([].join);
686
+
687
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$5(function () {
688
+ return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
689
+ });
690
+
691
+ var TEMPLATE = String(String).split('String');
692
+
693
+ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
694
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
695
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
696
+ }
697
+ if (options && options.getter) name = 'get ' + name;
698
+ if (options && options.setter) name = 'set ' + name;
699
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
700
+ if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true });
701
+ else value.name = name;
702
+ }
703
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
704
+ defineProperty$2(value, 'length', { value: options.arity });
705
+ }
706
+ try {
707
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
708
+ if (DESCRIPTORS$3) defineProperty$2(value, 'prototype', { writable: false });
709
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
710
+ } else if (value.prototype) value.prototype = undefined;
711
+ } catch (error) { /* empty */ }
712
+ var state = enforceInternalState(value);
713
+ if (!hasOwn$4(state, 'source')) {
714
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
715
+ } return value;
716
+ };
717
+
718
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
719
+ // eslint-disable-next-line no-extend-native -- required
720
+ Function.prototype.toString = makeBuiltIn$2(function toString() {
721
+ return isCallable$6(this) && getInternalState(this).source || inspectSource(this);
722
+ }, 'toString');
723
+
724
+ var makeBuiltInExports = makeBuiltIn$3.exports;
725
+
726
+ var isCallable$5 = isCallable$e;
727
+ var definePropertyModule$2 = objectDefineProperty;
728
+ var makeBuiltIn$1 = makeBuiltInExports;
729
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
730
+
731
+ var defineBuiltIn$2 = function (O, key, value, options) {
732
+ if (!options) options = {};
733
+ var simple = options.enumerable;
734
+ var name = options.name !== undefined ? options.name : key;
735
+ if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
736
+ if (options.global) {
737
+ if (simple) O[key] = value;
738
+ else defineGlobalProperty$1(key, value);
739
+ } else {
740
+ try {
741
+ if (!options.unsafe) delete O[key];
742
+ else if (O[key]) simple = true;
743
+ } catch (error) { /* empty */ }
744
+ if (simple) O[key] = value;
745
+ else definePropertyModule$2.f(O, key, {
746
+ value: value,
747
+ enumerable: false,
748
+ configurable: !options.nonConfigurable,
749
+ writable: !options.nonWritable
750
+ });
751
+ } return O;
752
+ };
753
+
754
+ var objectGetOwnPropertyNames = {};
755
+
756
+ var ceil = Math.ceil;
757
+ var floor = Math.floor;
758
+
759
+ // `Math.trunc` method
760
+ // https://tc39.es/ecma262/#sec-math.trunc
761
+ // eslint-disable-next-line es/no-math-trunc -- safe
762
+ var mathTrunc = Math.trunc || function trunc(x) {
763
+ var n = +x;
764
+ return (n > 0 ? floor : ceil)(n);
765
+ };
766
+
767
+ var trunc = mathTrunc;
768
+
769
+ // `ToIntegerOrInfinity` abstract operation
770
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
771
+ var toIntegerOrInfinity$2 = function (argument) {
772
+ var number = +argument;
773
+ // eslint-disable-next-line no-self-compare -- NaN check
774
+ return number !== number || number === 0 ? 0 : trunc(number);
775
+ };
776
+
777
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
778
+
779
+ var max = Math.max;
780
+ var min$1 = Math.min;
781
+
782
+ // Helper for a popular repeating case of the spec:
783
+ // Let integer be ? ToInteger(index).
784
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
785
+ var toAbsoluteIndex$1 = function (index, length) {
786
+ var integer = toIntegerOrInfinity$1(index);
787
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
788
+ };
789
+
790
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
791
+
792
+ var min = Math.min;
793
+
794
+ // `ToLength` abstract operation
795
+ // https://tc39.es/ecma262/#sec-tolength
796
+ var toLength$1 = function (argument) {
797
+ var len = toIntegerOrInfinity(argument);
798
+ return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
799
+ };
800
+
801
+ var toLength = toLength$1;
802
+
803
+ // `LengthOfArrayLike` abstract operation
804
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
805
+ var lengthOfArrayLike$2 = function (obj) {
806
+ return toLength(obj.length);
807
+ };
808
+
809
+ var toIndexedObject$1 = toIndexedObject$3;
810
+ var toAbsoluteIndex = toAbsoluteIndex$1;
811
+ var lengthOfArrayLike$1 = lengthOfArrayLike$2;
812
+
813
+ // `Array.prototype.{ indexOf, includes }` methods implementation
814
+ var createMethod = function (IS_INCLUDES) {
815
+ return function ($this, el, fromIndex) {
816
+ var O = toIndexedObject$1($this);
817
+ var length = lengthOfArrayLike$1(O);
818
+ if (length === 0) return !IS_INCLUDES && -1;
819
+ var index = toAbsoluteIndex(fromIndex, length);
820
+ var value;
821
+ // Array#includes uses SameValueZero equality algorithm
822
+ // eslint-disable-next-line no-self-compare -- NaN check
823
+ if (IS_INCLUDES && el !== el) while (length > index) {
824
+ value = O[index++];
825
+ // eslint-disable-next-line no-self-compare -- NaN check
826
+ if (value !== value) return true;
827
+ // Array#indexOf ignores holes, Array#includes - not
828
+ } else for (;length > index; index++) {
829
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
830
+ } return !IS_INCLUDES && -1;
831
+ };
832
+ };
833
+
834
+ var arrayIncludes = {
835
+ // `Array.prototype.indexOf` method
836
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
837
+ indexOf: createMethod(false)
838
+ };
839
+
840
+ var uncurryThis$4 = functionUncurryThis;
841
+ var hasOwn$3 = hasOwnProperty_1;
842
+ var toIndexedObject = toIndexedObject$3;
843
+ var indexOf = arrayIncludes.indexOf;
844
+ var hiddenKeys$2 = hiddenKeys$4;
845
+
846
+ var push = uncurryThis$4([].push);
847
+
848
+ var objectKeysInternal = function (object, names) {
849
+ var O = toIndexedObject(object);
850
+ var i = 0;
851
+ var result = [];
852
+ var key;
853
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
854
+ // Don't enum bug & hidden keys
855
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
856
+ ~indexOf(result, key) || push(result, key);
857
+ }
858
+ return result;
859
+ };
860
+
861
+ // IE8- don't enum bug keys
862
+ var enumBugKeys$2 = [
863
+ 'constructor',
864
+ 'hasOwnProperty',
865
+ 'isPrototypeOf',
866
+ 'propertyIsEnumerable',
867
+ 'toLocaleString',
868
+ 'toString',
869
+ 'valueOf'
870
+ ];
871
+
872
+ var internalObjectKeys$1 = objectKeysInternal;
873
+ var enumBugKeys$1 = enumBugKeys$2;
874
+
875
+ var hiddenKeys$1 = enumBugKeys$1.concat('length', 'prototype');
876
+
877
+ // `Object.getOwnPropertyNames` method
878
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
879
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
880
+ objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
881
+ return internalObjectKeys$1(O, hiddenKeys$1);
882
+ };
883
+
884
+ var objectGetOwnPropertySymbols = {};
885
+
886
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
887
+ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
888
+
889
+ var getBuiltIn$1 = getBuiltIn$3;
890
+ var uncurryThis$3 = functionUncurryThis;
891
+ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
892
+ var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
893
+ var anObject$5 = anObject$7;
894
+
895
+ var concat$1 = uncurryThis$3([].concat);
896
+
897
+ // all object keys, includes non-enumerable and symbols
898
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
899
+ var keys = getOwnPropertyNamesModule.f(anObject$5(it));
900
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
901
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
902
+ };
903
+
904
+ var hasOwn$2 = hasOwnProperty_1;
905
+ var ownKeys = ownKeys$1;
906
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
907
+ var definePropertyModule$1 = objectDefineProperty;
908
+
909
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
910
+ var keys = ownKeys(source);
911
+ var defineProperty = definePropertyModule$1.f;
912
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
913
+ for (var i = 0; i < keys.length; i++) {
914
+ var key = keys[i];
915
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
916
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
917
+ }
918
+ }
919
+ };
920
+
921
+ var fails$4 = fails$c;
922
+ var isCallable$4 = isCallable$e;
923
+
924
+ var replacement = /#|\.prototype\./;
925
+
926
+ var isForced$1 = function (feature, detection) {
927
+ var value = data[normalize(feature)];
928
+ return value === POLYFILL ? true
929
+ : value === NATIVE ? false
930
+ : isCallable$4(detection) ? fails$4(detection)
931
+ : !!detection;
932
+ };
933
+
934
+ var normalize = isForced$1.normalize = function (string) {
935
+ return String(string).replace(replacement, '.').toLowerCase();
936
+ };
937
+
938
+ var data = isForced$1.data = {};
939
+ var NATIVE = isForced$1.NATIVE = 'N';
940
+ var POLYFILL = isForced$1.POLYFILL = 'P';
941
+
942
+ var isForced_1 = isForced$1;
943
+
944
+ var globalThis$3 = globalThis_1;
945
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
946
+ var createNonEnumerableProperty = createNonEnumerableProperty$2;
947
+ var defineBuiltIn$1 = defineBuiltIn$2;
948
+ var defineGlobalProperty = defineGlobalProperty$3;
949
+ var copyConstructorProperties = copyConstructorProperties$1;
950
+ var isForced = isForced_1;
951
+
952
+ /*
953
+ options.target - name of the target object
954
+ options.global - target is the global object
955
+ options.stat - export as static methods of target
956
+ options.proto - export as prototype methods of target
957
+ options.real - real prototype method for the `pure` version
958
+ options.forced - export even if the native feature is available
959
+ options.bind - bind methods to the target, required for the `pure` version
960
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
961
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
962
+ options.sham - add a flag to not completely full polyfills
963
+ options.enumerable - export as enumerable property
964
+ options.dontCallGetSet - prevent calling a getter on target
965
+ options.name - the .name of the function if it does not match the key
966
+ */
967
+ var _export = function (options, source) {
968
+ var TARGET = options.target;
969
+ var GLOBAL = options.global;
970
+ var STATIC = options.stat;
971
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
972
+ if (GLOBAL) {
973
+ target = globalThis$3;
974
+ } else if (STATIC) {
975
+ target = globalThis$3[TARGET] || defineGlobalProperty(TARGET, {});
976
+ } else {
977
+ target = globalThis$3[TARGET] && globalThis$3[TARGET].prototype;
978
+ }
979
+ if (target) for (key in source) {
980
+ sourceProperty = source[key];
981
+ if (options.dontCallGetSet) {
982
+ descriptor = getOwnPropertyDescriptor(target, key);
983
+ targetProperty = descriptor && descriptor.value;
984
+ } else targetProperty = target[key];
985
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
986
+ // contained in target
987
+ if (!FORCED && targetProperty !== undefined) {
988
+ if (typeof sourceProperty == typeof targetProperty) continue;
989
+ copyConstructorProperties(sourceProperty, targetProperty);
990
+ }
991
+ // add a flag to not completely full polyfills
992
+ if (options.sham || (targetProperty && targetProperty.sham)) {
993
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
994
+ }
995
+ defineBuiltIn$1(target, key, sourceProperty, options);
996
+ }
997
+ };
998
+
999
+ var isPrototypeOf$1 = objectIsPrototypeOf;
1000
+
1001
+ var $TypeError$3 = TypeError;
1002
+
1003
+ var anInstance$1 = function (it, Prototype) {
1004
+ if (isPrototypeOf$1(Prototype, it)) return it;
1005
+ throw new $TypeError$3('Incorrect invocation');
1006
+ };
1007
+
1008
+ var fails$3 = fails$c;
1009
+
1010
+ var correctPrototypeGetter = !fails$3(function () {
1011
+ function F() { /* empty */ }
1012
+ F.prototype.constructor = null;
1013
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1014
+ return Object.getPrototypeOf(new F()) !== F.prototype;
1015
+ });
1016
+
1017
+ var hasOwn$1 = hasOwnProperty_1;
1018
+ var isCallable$3 = isCallable$e;
1019
+ var toObject$1 = toObject$3;
1020
+ var sharedKey$1 = sharedKey$3;
1021
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1022
+
1023
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1024
+ var $Object$1 = Object;
1025
+ var ObjectPrototype = $Object$1.prototype;
1026
+
1027
+ // `Object.getPrototypeOf` method
1028
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
1029
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
1030
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1031
+ var object = toObject$1(O);
1032
+ if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
1033
+ var constructor = object.constructor;
1034
+ if (isCallable$3(constructor) && object instanceof constructor) {
1035
+ return constructor.prototype;
1036
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1037
+ };
1038
+
1039
+ var makeBuiltIn = makeBuiltInExports;
1040
+ var defineProperty$1 = objectDefineProperty;
1041
+
1042
+ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1043
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1044
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1045
+ return defineProperty$1.f(target, name, descriptor);
1046
+ };
1047
+
1048
+ var DESCRIPTORS$2 = descriptors;
1049
+ var definePropertyModule = objectDefineProperty;
1050
+ var createPropertyDescriptor = createPropertyDescriptor$3;
1051
+
1052
+ var createProperty$1 = function (object, key, value) {
1053
+ if (DESCRIPTORS$2) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
1054
+ else object[key] = value;
1055
+ };
1056
+
1057
+ var internalObjectKeys = objectKeysInternal;
1058
+ var enumBugKeys = enumBugKeys$2;
1059
+
1060
+ // `Object.keys` method
1061
+ // https://tc39.es/ecma262/#sec-object.keys
1062
+ // eslint-disable-next-line es/no-object-keys -- safe
1063
+ var objectKeys$1 = Object.keys || function keys(O) {
1064
+ return internalObjectKeys(O, enumBugKeys);
1065
+ };
1066
+
1067
+ var getBuiltIn = getBuiltIn$3;
1068
+
1069
+ getBuiltIn('document', 'documentElement');
1070
+
1071
+ var hiddenKeys = hiddenKeys$4;
1072
+ var sharedKey = sharedKey$3;
1073
+ var IE_PROTO = sharedKey('IE_PROTO');
1074
+
1075
+ hiddenKeys[IE_PROTO] = true;
1076
+
1077
+ var fails$2 = fails$c;
1078
+ var isCallable$2 = isCallable$e;
1079
+ var isObject = isObject$5;
1080
+ var getPrototypeOf$1 = objectGetPrototypeOf;
1081
+ var defineBuiltIn = defineBuiltIn$2;
1082
+ var wellKnownSymbol$5 = wellKnownSymbol$7;
1083
+
1084
+ var ITERATOR$3 = wellKnownSymbol$5('iterator');
1085
+
1086
+ // `%IteratorPrototype%` object
1087
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1088
+ var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
1089
+
1090
+ /* eslint-disable es/no-array-prototype-keys -- safe */
1091
+ if ([].keys) {
1092
+ arrayIterator = [].keys();
1093
+ // Safari 8 has buggy iterators w/o `next`
1094
+ if (!('next' in arrayIterator)) ;
1095
+ else {
1096
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1097
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
1098
+ }
1099
+ }
1100
+
1101
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$1) || fails$2(function () {
1102
+ var test = {};
1103
+ // FF44- legacy iterators case
1104
+ return IteratorPrototype$1[ITERATOR$3].call(test) !== test;
1105
+ });
1106
+
1107
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$1 = {};
1108
+
1109
+ // `%IteratorPrototype%[@@iterator]()` method
1110
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1111
+ if (!isCallable$2(IteratorPrototype$1[ITERATOR$3])) {
1112
+ defineBuiltIn(IteratorPrototype$1, ITERATOR$3, function () {
1113
+ return this;
1114
+ });
1115
+ }
1116
+
1117
+ var iteratorsCore = {
1118
+ IteratorPrototype: IteratorPrototype$1};
1119
+
1120
+ var $$2 = _export;
1121
+ var globalThis$2 = globalThis_1;
1122
+ var anInstance = anInstance$1;
1123
+ var anObject$4 = anObject$7;
1124
+ var isCallable$1 = isCallable$e;
1125
+ var getPrototypeOf = objectGetPrototypeOf;
1126
+ var defineBuiltInAccessor = defineBuiltInAccessor$1;
1127
+ var createProperty = createProperty$1;
1128
+ var fails$1 = fails$c;
1129
+ var hasOwn = hasOwnProperty_1;
1130
+ var wellKnownSymbol$4 = wellKnownSymbol$7;
1131
+ var IteratorPrototype = iteratorsCore.IteratorPrototype;
1132
+ var DESCRIPTORS$1 = descriptors;
1133
+
1134
+ var CONSTRUCTOR = 'constructor';
1135
+ var ITERATOR$2 = 'Iterator';
1136
+ var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
1137
+
1138
+ var $TypeError$2 = TypeError;
1139
+ var NativeIterator = globalThis$2[ITERATOR$2];
1140
+
1141
+ // FF56- have non-standard global helper `Iterator`
1142
+ var FORCED = !isCallable$1(NativeIterator)
1143
+ || NativeIterator.prototype !== IteratorPrototype
1144
+ // FF44- non-standard `Iterator` passes previous tests
1145
+ || !fails$1(function () { NativeIterator({}); });
1146
+
1147
+ var IteratorConstructor = function Iterator() {
1148
+ anInstance(this, IteratorPrototype);
1149
+ if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError$2('Abstract class Iterator not directly constructable');
1150
+ };
1151
+
1152
+ var defineIteratorPrototypeAccessor = function (key, value) {
1153
+ if (DESCRIPTORS$1) {
1154
+ defineBuiltInAccessor(IteratorPrototype, key, {
1155
+ configurable: true,
1156
+ get: function () {
1157
+ return value;
1158
+ },
1159
+ set: function (replacement) {
1160
+ anObject$4(this);
1161
+ if (this === IteratorPrototype) throw new $TypeError$2("You can't redefine this property");
1162
+ if (hasOwn(this, key)) this[key] = replacement;
1163
+ else createProperty(this, key, replacement);
1164
+ }
1165
+ });
1166
+ } else IteratorPrototype[key] = value;
1167
+ };
1168
+
1169
+ if (!hasOwn(IteratorPrototype, TO_STRING_TAG$2)) defineIteratorPrototypeAccessor(TO_STRING_TAG$2, ITERATOR$2);
1170
+
1171
+ if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
1172
+ defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1173
+ }
1174
+
1175
+ IteratorConstructor.prototype = IteratorPrototype;
1176
+
1177
+ // `Iterator` constructor
1178
+ // https://tc39.es/ecma262/#sec-iterator
1179
+ $$2({ global: true, constructor: true, forced: FORCED }, {
1180
+ Iterator: IteratorConstructor
1181
+ });
1182
+
1183
+ var classofRaw$1 = classofRaw$2;
1184
+ var uncurryThis$2 = functionUncurryThis;
1185
+
1186
+ var functionUncurryThisClause = function (fn) {
1187
+ // Nashorn bug:
1188
+ // https://github.com/zloirock/core-js/issues/1128
1189
+ // https://github.com/zloirock/core-js/issues/1130
1190
+ if (classofRaw$1(fn) === 'Function') return uncurryThis$2(fn);
1191
+ };
1192
+
1193
+ var uncurryThis$1 = functionUncurryThisClause;
1194
+ var aCallable$2 = aCallable$4;
1195
+ var NATIVE_BIND = functionBindNative;
1196
+
1197
+ var bind$1 = uncurryThis$1(uncurryThis$1.bind);
1198
+
1199
+ // optional / simple context binding
1200
+ var functionBindContext = function (fn, that) {
1201
+ aCallable$2(fn);
1202
+ return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1203
+ return fn.apply(that, arguments);
1204
+ };
1205
+ };
1206
+
1207
+ var iterators = {};
1208
+
1209
+ var wellKnownSymbol$3 = wellKnownSymbol$7;
1210
+ var Iterators$1 = iterators;
1211
+
1212
+ var ITERATOR$1 = wellKnownSymbol$3('iterator');
1213
+ var ArrayPrototype = Array.prototype;
1214
+
1215
+ // check on default Array iterator
1216
+ var isArrayIteratorMethod$1 = function (it) {
1217
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
1218
+ };
1219
+
1220
+ var wellKnownSymbol$2 = wellKnownSymbol$7;
1221
+
1222
+ var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
1223
+ var test = {};
1224
+ // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
1225
+ test[TO_STRING_TAG$1] = 'z';
1226
+
1227
+ var toStringTagSupport = String(test) === '[object z]';
1228
+
1229
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1230
+ var isCallable = isCallable$e;
1231
+ var classofRaw = classofRaw$2;
1232
+ var wellKnownSymbol$1 = wellKnownSymbol$7;
1233
+
1234
+ var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
1235
+ var $Object = Object;
1236
+
1237
+ // ES3 wrong here
1238
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
1239
+
1240
+ // fallback for IE11 Script Access Denied error
1241
+ var tryGet = function (it, key) {
1242
+ try {
1243
+ return it[key];
1244
+ } catch (error) { /* empty */ }
1245
+ };
1246
+
1247
+ // getting tag from ES6+ `Object.prototype.toString`
1248
+ var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1249
+ var O, tag, result;
1250
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1251
+ // @@toStringTag case
1252
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1253
+ // builtinTag case
1254
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1255
+ // ES3 arguments fallback
1256
+ : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1257
+ };
1258
+
1259
+ var classof = classof$1;
1260
+ var getMethod$1 = getMethod$3;
1261
+ var isNullOrUndefined = isNullOrUndefined$3;
1262
+ var Iterators = iterators;
1263
+ var wellKnownSymbol = wellKnownSymbol$7;
1264
+
1265
+ var ITERATOR = wellKnownSymbol('iterator');
1266
+
1267
+ var getIteratorMethod$2 = function (it) {
1268
+ if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR)
1269
+ || getMethod$1(it, '@@iterator')
1270
+ || Iterators[classof(it)];
1271
+ };
1272
+
1273
+ var call$4 = functionCall;
1274
+ var aCallable$1 = aCallable$4;
1275
+ var anObject$3 = anObject$7;
1276
+ var tryToString$1 = tryToString$3;
1277
+ var getIteratorMethod$1 = getIteratorMethod$2;
1278
+
1279
+ var $TypeError$1 = TypeError;
1280
+
1281
+ var getIterator$1 = function (argument, usingIterator) {
1282
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
1283
+ if (aCallable$1(iteratorMethod)) return anObject$3(call$4(iteratorMethod, argument));
1284
+ throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
1285
+ };
1286
+
1287
+ var call$3 = functionCall;
1288
+ var anObject$2 = anObject$7;
1289
+ var getMethod = getMethod$3;
1290
+
1291
+ var iteratorClose$2 = function (iterator, kind, value) {
1292
+ var innerResult, innerError;
1293
+ anObject$2(iterator);
1294
+ try {
1295
+ innerResult = getMethod(iterator, 'return');
1296
+ if (!innerResult) {
1297
+ if (kind === 'throw') throw value;
1298
+ return value;
1299
+ }
1300
+ innerResult = call$3(innerResult, iterator);
1301
+ } catch (error) {
1302
+ innerError = true;
1303
+ innerResult = error;
1304
+ }
1305
+ if (kind === 'throw') throw value;
1306
+ if (innerError) throw innerResult;
1307
+ anObject$2(innerResult);
1308
+ return value;
1309
+ };
1310
+
1311
+ var bind = functionBindContext;
1312
+ var call$2 = functionCall;
1313
+ var anObject$1 = anObject$7;
1314
+ var tryToString = tryToString$3;
1315
+ var isArrayIteratorMethod = isArrayIteratorMethod$1;
1316
+ var lengthOfArrayLike = lengthOfArrayLike$2;
1317
+ var isPrototypeOf = objectIsPrototypeOf;
1318
+ var getIterator = getIterator$1;
1319
+ var getIteratorMethod = getIteratorMethod$2;
1320
+ var iteratorClose$1 = iteratorClose$2;
1321
+
1322
+ var $TypeError = TypeError;
1323
+
1324
+ var Result = function (stopped, result) {
1325
+ this.stopped = stopped;
1326
+ this.result = result;
1327
+ };
1328
+
1329
+ var ResultPrototype = Result.prototype;
1330
+
1331
+ var iterate$1 = function (iterable, unboundFunction, options) {
1332
+ var that = options && options.that;
1333
+ var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1334
+ var IS_RECORD = !!(options && options.IS_RECORD);
1335
+ var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1336
+ var INTERRUPTED = !!(options && options.INTERRUPTED);
1337
+ var fn = bind(unboundFunction, that);
1338
+ var iterator, iterFn, index, length, result, next, step;
1339
+
1340
+ var stop = function (condition) {
1341
+ if (iterator) iteratorClose$1(iterator, 'normal');
1342
+ return new Result(true, condition);
1343
+ };
1344
+
1345
+ var callFn = function (value) {
1346
+ if (AS_ENTRIES) {
1347
+ anObject$1(value);
1348
+ return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1349
+ } return INTERRUPTED ? fn(value, stop) : fn(value);
1350
+ };
1351
+
1352
+ if (IS_RECORD) {
1353
+ iterator = iterable.iterator;
1354
+ } else if (IS_ITERATOR) {
1355
+ iterator = iterable;
1356
+ } else {
1357
+ iterFn = getIteratorMethod(iterable);
1358
+ if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
1359
+ // optimisation for array iterators
1360
+ if (isArrayIteratorMethod(iterFn)) {
1361
+ for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
1362
+ result = callFn(iterable[index]);
1363
+ if (result && isPrototypeOf(ResultPrototype, result)) return result;
1364
+ } return new Result(false);
1365
+ }
1366
+ iterator = getIterator(iterable, iterFn);
1367
+ }
1368
+
1369
+ next = IS_RECORD ? iterable.next : iterator.next;
1370
+ while (!(step = call$2(next, iterator)).done) {
1371
+ try {
1372
+ result = callFn(step.value);
1373
+ } catch (error) {
1374
+ iteratorClose$1(iterator, 'throw', error);
1375
+ }
1376
+ if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
1377
+ } return new Result(false);
1378
+ };
1379
+
1380
+ // `GetIteratorDirect(obj)` abstract operation
1381
+ // https://tc39.es/ecma262/#sec-getiteratordirect
1382
+ var getIteratorDirect$1 = function (obj) {
1383
+ return {
1384
+ iterator: obj,
1385
+ next: obj.next,
1386
+ done: false
1387
+ };
1388
+ };
1389
+
1390
+ var globalThis$1 = globalThis_1;
1391
+
1392
+ // https://github.com/tc39/ecma262/pull/3467
1393
+ var iteratorHelperWithoutClosingOnEarlyError$1 = function (METHOD_NAME, ExpectedError) {
1394
+ var Iterator = globalThis$1.Iterator;
1395
+ var IteratorPrototype = Iterator && Iterator.prototype;
1396
+ var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1397
+
1398
+ var CLOSED = false;
1399
+
1400
+ if (method) try {
1401
+ method.call({
1402
+ next: function () { return { done: true }; },
1403
+ 'return': function () { CLOSED = true; }
1404
+ }, -1);
1405
+ } catch (error) {
1406
+ // https://bugs.webkit.org/show_bug.cgi?id=291195
1407
+ if (!(error instanceof ExpectedError)) CLOSED = false;
1408
+ }
1409
+
1410
+ if (!CLOSED) return method;
1411
+ };
1412
+
1413
+ var $$1 = _export;
1414
+ var call$1 = functionCall;
1415
+ var iterate = iterate$1;
1416
+ var aCallable = aCallable$4;
1417
+ var anObject = anObject$7;
1418
+ var getIteratorDirect = getIteratorDirect$1;
1419
+ var iteratorClose = iteratorClose$2;
1420
+ var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1;
1421
+
1422
+ var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
1423
+
1424
+ // `Iterator.prototype.find` method
1425
+ // https://tc39.es/ecma262/#sec-iterator.prototype.find
1426
+ $$1({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
1427
+ find: function find(predicate) {
1428
+ anObject(this);
1429
+ try {
1430
+ aCallable(predicate);
1431
+ } catch (error) {
1432
+ iteratorClose(this, 'throw', error);
1433
+ }
1434
+
1435
+ if (findWithoutClosingOnEarlyError) return call$1(findWithoutClosingOnEarlyError, this, predicate);
1436
+
1437
+ var record = getIteratorDirect(this);
1438
+ var counter = 0;
1439
+ return iterate(record, function (value, stop) {
1440
+ if (predicate(value, counter++)) return stop(value);
1441
+ }, { IS_RECORD: true, INTERRUPTED: true }).result;
1442
+ }
1443
+ });
1444
+
1445
+ var DESCRIPTORS = descriptors;
1446
+ var uncurryThis = functionUncurryThis;
1447
+ var call = functionCall;
1448
+ var fails = fails$c;
1449
+ var objectKeys = objectKeys$1;
1450
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1451
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1452
+ var toObject = toObject$3;
1453
+ var IndexedObject = indexedObject;
1454
+
1455
+ // eslint-disable-next-line es/no-object-assign -- safe
1456
+ var $assign = Object.assign;
1457
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1458
+ var defineProperty = Object.defineProperty;
1459
+ var concat = uncurryThis([].concat);
1460
+
1461
+ // `Object.assign` method
1462
+ // https://tc39.es/ecma262/#sec-object.assign
1463
+ var objectAssign = !$assign || fails(function () {
1464
+ // should have correct order of operations (Edge bug)
1465
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1466
+ enumerable: true,
1467
+ get: function () {
1468
+ defineProperty(this, 'b', {
1469
+ value: 3,
1470
+ enumerable: false
1471
+ });
1472
+ }
1473
+ }), { b: 2 })).b !== 1) return true;
1474
+ // should work with symbols and should have deterministic property order (V8 bug)
1475
+ var A = {};
1476
+ var B = {};
1477
+ // eslint-disable-next-line es/no-symbol -- safe
1478
+ var symbol = Symbol('assign detection');
1479
+ var alphabet = 'abcdefghijklmnopqrst';
1480
+ A[symbol] = 7;
1481
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1482
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1483
+ return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
1484
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1485
+ var T = toObject(target);
1486
+ var argumentsLength = arguments.length;
1487
+ var index = 1;
1488
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1489
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
1490
+ while (argumentsLength > index) {
1491
+ var S = IndexedObject(arguments[index++]);
1492
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1493
+ var length = keys.length;
1494
+ var j = 0;
1495
+ var key;
1496
+ while (length > j) {
1497
+ key = keys[j++];
1498
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1499
+ }
1500
+ } return T;
1501
+ } : $assign;
1502
+
1503
+ var $ = _export;
1504
+ var assign = objectAssign;
1505
+
1506
+ // `Object.assign` method
1507
+ // https://tc39.es/ecma262/#sec-object.assign
1508
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1509
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1510
+ assign: assign
1511
+ });
1512
+
1513
+ /******************************************************************************
1514
+ Copyright (c) Microsoft Corporation.
1515
+
1516
+ Permission to use, copy, modify, and/or distribute this software for any
1517
+ purpose with or without fee is hereby granted.
1518
+
1519
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1520
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1521
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1522
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1523
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1524
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1525
+ PERFORMANCE OF THIS SOFTWARE.
1526
+ ***************************************************************************** */
1527
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
1528
+
1529
+
1530
+ function __rest(s, e) {
1531
+ var t = {};
1532
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1533
+ t[p] = s[p];
1534
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1535
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1536
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1537
+ t[p[i]] = s[p[i]];
1538
+ }
1539
+ return t;
1540
+ }
1541
+
1542
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1543
+ var e = new Error(message);
1544
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1545
+ };
1546
+
1547
+ const Wrapper = /*#__PURE__*/styled__default.default.div.withConfig({
1548
+ displayName: "molecules-input-combostyles__Wrapper",
1549
+ componentId: "sc-14wxneq-0"
1550
+ })(["display:flex;flex-direction:column;width:100%;", ""], ({
1551
+ disabled
1552
+ }) => disabled && styled.css(["pointer-events:none;"]));
1553
+ const Container = /*#__PURE__*/styled__default.default.div.withConfig({
1554
+ displayName: "molecules-input-combostyles__Container",
1555
+ componentId: "sc-14wxneq-1"
1556
+ })(["display:flex;align-items:stretch;border-radius:", ";outline:", ";outline-offset:calc( ", " * -1 );background-color:", ";box-shadow:", ";margin-bottom:", ";&:focus-within{outline:", ";background-color:", ";}", " ", ""], ({
1557
+ theme
1558
+ }) => theme.components.inputCombo.borderRadius, ({
1559
+ theme,
1560
+ $variant
1561
+ }) => `${theme.components.inputCombo.borderWidth.default} solid ${theme.components.inputCombo[$variant].container.border.default}`, ({
1562
+ theme
1563
+ }) => theme.components.inputCombo.borderWidth.default, ({
1564
+ theme,
1565
+ $variant
1566
+ }) => theme.components.inputCombo[$variant].container.color.default, ({
1567
+ theme
1568
+ }) => theme.effects.shadow.lvl0, ({
1569
+ theme,
1570
+ $hasError,
1571
+ $hasHelperText
1572
+ }) => $hasError || $hasHelperText ? theme.components.inputCombo.contentGap : '0', ({
1573
+ theme,
1574
+ $hasError,
1575
+ $variant
1576
+ }) => `${theme.components.inputCombo.borderWidth.default} solid ${theme.components.inputCombo[$variant].container.border[$hasError ? 'error' : 'focus']}`, ({
1577
+ theme,
1578
+ $variant,
1579
+ $hasError
1580
+ }) => theme.components.inputCombo[$variant].container.color[$hasError ? 'error' : 'focus'], ({
1581
+ $hasError,
1582
+ $hasValue,
1583
+ $variant
1584
+ }) => $hasError && styled.css(["outline:", ";background-color:", ";"], ({
1585
+ theme
1586
+ }) => `${theme.components.inputCombo.borderWidth.default} solid ${theme.components.inputCombo[$variant].container.border[$hasValue ? 'errorFilled' : 'error']}`, ({
1587
+ theme
1588
+ }) => theme.components.inputCombo[$variant].container.color[$hasValue ? 'errorFilled' : 'error']), ({
1589
+ disabled,
1590
+ $variant
1591
+ }) => disabled && styled.css(["cursor:not-allowed;outline:", ";background-color:", ";*{cursor:not-allowed;}"], ({
1592
+ theme
1593
+ }) => `${theme.components.inputCombo.borderWidth.default} solid ${theme.components.inputCombo[$variant].container.border.disable}`, ({
1594
+ theme
1595
+ }) => theme.components.inputCombo[$variant].container.color.disable));
1596
+ /* Dropdown section — reset the Dropdown's own container styles so it sits inline */
1597
+ const DropdownSection = /*#__PURE__*/styled__default.default.div.withConfig({
1598
+ displayName: "molecules-input-combostyles__DropdownSection",
1599
+ componentId: "sc-14wxneq-2"
1600
+ })(["position:relative;display:flex;flex-shrink:0;& > section{position:static;width:auto;height:100%;}& > section > section{outline:none;box-shadow:none;border-radius:0;background-color:transparent;margin-bottom:0;height:100%;box-sizing:border-box;align-items:center;padding-top:0;padding-bottom:0;padding-left:", ";padding-right:", ";gap:", ";}& > section > section .fieldLabel,& > section > section .requiredLabel{display:none;}& > section > section > div{flex:0 0 auto;}& > section > section input{width:auto;min-width:20px;max-width:30px;color:", ";}& section > section span.material-symbols-sharp{color:", ";font-size:", ";}& > section > .errorMessage,& > section > .helperMessage{display:none;}& > section > ul,& > section > section ~ ul{min-width:100%;}"], ({
1601
+ theme
1602
+ }) => theme.components.inputCombo.paddingHorizontal, ({
1603
+ theme
1604
+ }) => theme.components.inputCombo.gap, ({
1605
+ theme
1606
+ }) => theme.components.inputCombo.gap, ({
1607
+ theme,
1608
+ $variant,
1609
+ disabled
1610
+ }) => disabled ? theme.components.inputCombo[$variant].text.color.countryCode.disable : theme.components.inputCombo[$variant].text.color.countryCode.default, ({
1611
+ theme,
1612
+ $variant,
1613
+ disabled,
1614
+ $hasError
1615
+ }) => disabled ? theme.components.inputCombo[$variant].icon.color.disable : $hasError ? theme.components.inputCombo[$variant].icon.color.error : theme.components.inputCombo[$variant].icon.color.filled, ({
1616
+ theme
1617
+ }) => theme.components.inputCombo.icon.size);
1618
+ /* Divider wrapper — override atoms-divider color with inputCombo tokens */
1619
+ const DividerWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
1620
+ displayName: "molecules-input-combostyles__DividerWrapper",
1621
+ componentId: "sc-14wxneq-3"
1622
+ })(["display:flex;align-self:stretch;margin:", " 0;flex-shrink:0;& > div{padding:0;height:100%;}"], ({
1623
+ theme
1624
+ }) => theme.components.inputCombo.paddingVertical);
1625
+ /* Input section — neutralize the atoms-input container so it sits flat inside the combo */
1626
+ const InputSection = /*#__PURE__*/styled__default.default.div.withConfig({
1627
+ displayName: "molecules-input-combostyles__InputSection",
1628
+ componentId: "sc-14wxneq-4"
1629
+ })(["display:flex;flex:1;min-width:0;& > div{flex:1;min-width:0;}& > div > div{outline:none;box-shadow:none;border-radius:0;background-color:transparent;margin-bottom:0;}& > div > div label.input-label{color:", ";}& > div > div input::placeholder{color:", ";}", " ", " & > div > span{display:none;}"], ({
1630
+ theme,
1631
+ $variant,
1632
+ $hasError,
1633
+ $hasValue
1634
+ }) => $hasError && $hasValue ? theme.components.inputCombo[$variant].text.color.fieldLabel.errorFilled : $hasError ? theme.components.inputCombo[$variant].text.color.fieldLabel.error : $hasValue ? theme.components.inputCombo[$variant].text.color.fieldLabel.filled : theme.components.inputCombo[$variant].text.color.fieldLabel.default, ({
1635
+ theme,
1636
+ $variant
1637
+ }) => theme.components.inputCombo[$variant].text.color.inputPlaceholder.default, ({
1638
+ $hasError,
1639
+ $variant
1640
+ }) => $hasError ? styled.css(["& > div > div > div span.material-symbols-sharp,& > div > div > button span.material-symbols-sharp{color:", ";}"], ({
1641
+ theme
1642
+ }) => theme.components.inputCombo[$variant].icon.color.error) : styled.css(["& > div > div > div span.material-symbols-sharp,& > div > div > button span.material-symbols-sharp{color:", ";}"], ({
1643
+ theme
1644
+ }) => theme.components.inputCombo[$variant].icon.color.default), ({
1645
+ disabled,
1646
+ $variant
1647
+ }) => disabled && styled.css(["& > div > div label.input-label,& > div > div label.input-label::after{color:", ";}& > div > div input{color:", ";}& > div > div input::placeholder{color:", " !important;}& > div > div > div span.material-symbols-sharp,& > div > div > button span.material-symbols-sharp{color:", " !important;}"], ({
1648
+ theme
1649
+ }) => theme.components.inputCombo[$variant].text.color.fieldLabel.disable, ({
1650
+ theme
1651
+ }) => theme.components.inputCombo[$variant].text.color.inputPlaceholder.disable, ({
1652
+ theme
1653
+ }) => theme.components.inputCombo[$variant].text.color.inputPlaceholder.disable, ({
1654
+ theme
1655
+ }) => theme.components.inputCombo[$variant].icon.color.disable));
1656
+ const ErrorMessage = /*#__PURE__*/styled__default.default.span.withConfig({
1657
+ displayName: "molecules-input-combostyles__ErrorMessage",
1658
+ componentId: "sc-14wxneq-5"
1659
+ })(["color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";padding:0 ", ";"], ({
1660
+ theme,
1661
+ $variant
1662
+ }) => theme.components.inputCombo[$variant].text.color.errorMessage.error, ({
1663
+ theme
1664
+ }) => theme.components.inputCombo.error.fontWeight, ({
1665
+ theme
1666
+ }) => theme.components.inputCombo.error.lineHeight, ({
1667
+ theme
1668
+ }) => theme.components.inputCombo.error.fontSize, ({
1669
+ theme
1670
+ }) => theme.components.inputCombo.error.letterSpacing, ({
1671
+ theme
1672
+ }) => theme.components.inputCombo.paddingHorizontal);
1673
+ const HelperText = /*#__PURE__*/styled__default.default.span.withConfig({
1674
+ displayName: "molecules-input-combostyles__HelperText",
1675
+ componentId: "sc-14wxneq-6"
1676
+ })(["color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";padding:0 ", ";", ""], ({
1677
+ theme,
1678
+ $variant
1679
+ }) => theme.components.inputCombo[$variant].text.color.helper.default, ({
1680
+ theme
1681
+ }) => theme.components.inputCombo.helper.fontWeight, ({
1682
+ theme
1683
+ }) => theme.components.inputCombo.helper.lineHeight, ({
1684
+ theme
1685
+ }) => theme.components.inputCombo.helper.fontSize, ({
1686
+ theme
1687
+ }) => theme.components.inputCombo.helper.letterSpacing, ({
1688
+ theme
1689
+ }) => theme.components.inputCombo.paddingHorizontal, ({
1690
+ disabled,
1691
+ $variant
1692
+ }) => disabled && styled.css(["color:", ";"], ({
1693
+ theme
1694
+ }) => theme.components.inputCombo[$variant].text.color.helper.disabled));
1695
+
1696
+ const InputCombo = /*#__PURE__*/react.forwardRef((_a, ref) => {
1697
+ var {
1698
+ id = 'input-combo-id',
1699
+ dataTestId = 'input-combo-test-id',
1700
+ variant = 'grey',
1701
+ label,
1702
+ placeholder,
1703
+ required,
1704
+ disabled,
1705
+ errorMessage,
1706
+ helperMessage,
1707
+ value,
1708
+ dropdownValue,
1709
+ dropdownOptions,
1710
+ dropdownLabel = '',
1711
+ dropdownPlaceholder,
1712
+ dropdownDisableSearch = true,
1713
+ fullWidth,
1714
+ icon,
1715
+ usePortal,
1716
+ tooltip,
1717
+ onChange,
1718
+ onDropdownChange,
1719
+ onBlur,
1720
+ onFocus
1721
+ } = _a,
1722
+ props = __rest(_a, ["id", "dataTestId", "variant", "label", "placeholder", "required", "disabled", "errorMessage", "helperMessage", "value", "dropdownValue", "dropdownOptions", "dropdownLabel", "dropdownPlaceholder", "dropdownDisableSearch", "fullWidth", "icon", "usePortal", "tooltip", "onChange", "onDropdownChange", "onBlur", "onFocus"]);
1723
+ const hasError = !!errorMessage;
1724
+ const hasValue = !!value && value !== '';
1725
+ /** Resolve the label of the currently selected dropdown option */
1726
+ const getSelectedDropdownLabel = optionId => {
1727
+ var _a;
1728
+ if (!optionId) return '';
1729
+ const option = dropdownOptions.find(o => o.id === optionId);
1730
+ return (_a = option === null || option === void 0 ? void 0 : option.label) !== null && _a !== void 0 ? _a : '';
1731
+ };
1732
+ const handleInputChange = evt => {
1733
+ if (!onChange) return;
1734
+ const selectedLabel = getSelectedDropdownLabel(dropdownValue);
1735
+ onChange({
1736
+ id: selectedLabel,
1737
+ label: `${selectedLabel} ${evt.target.value}`,
1738
+ value: evt.target.value
1739
+ });
1740
+ };
1741
+ const handleDropdownChange = selectedOption => {
1742
+ if (!selectedOption) return;
1743
+ onDropdownChange === null || onDropdownChange === void 0 ? void 0 : onDropdownChange(selectedOption);
1744
+ };
1745
+ return jsxRuntime.jsxs(Wrapper, Object.assign({
1746
+ id: id,
1747
+ "data-testid": dataTestId,
1748
+ ref: ref,
1749
+ disabled: disabled
1750
+ }, uiUtils.applyDataAttributes(props), {
1751
+ children: [jsxRuntime.jsxs(Container, {
1752
+ "$variant": variant,
1753
+ "$hasError": hasError,
1754
+ "$hasValue": hasValue,
1755
+ "$hasHelperText": !!helperMessage,
1756
+ disabled: disabled,
1757
+ children: [jsxRuntime.jsx(DropdownSection, {
1758
+ "$variant": variant,
1759
+ "$hasError": hasError,
1760
+ disabled: disabled,
1761
+ children: jsxRuntime.jsx(moleculesDropdown.Dropdown, {
1762
+ id: `${id}-dropdown`,
1763
+ dataTestId: `${dataTestId}-dropdown`,
1764
+ label: dropdownLabel,
1765
+ variant: variant,
1766
+ optionList: dropdownOptions,
1767
+ disabled: disabled,
1768
+ value: dropdownValue,
1769
+ onChange: handleDropdownChange,
1770
+ disableSearch: dropdownDisableSearch,
1771
+ placeholder: dropdownPlaceholder,
1772
+ usePortal: usePortal
1773
+ })
1774
+ }), jsxRuntime.jsx(DividerWrapper, {
1775
+ "$variant": variant,
1776
+ children: jsxRuntime.jsx(divider.Divider, {
1777
+ variant: "vertical",
1778
+ withoutPadding: true,
1779
+ dataTestId: `${dataTestId}-divider`
1780
+ })
1781
+ }), jsxRuntime.jsx(InputSection, {
1782
+ "$variant": variant,
1783
+ "$hasError": hasError,
1784
+ "$hasValue": hasValue,
1785
+ disabled: disabled,
1786
+ children: jsxRuntime.jsx(atomsInput.Input, Object.assign({
1787
+ id: id,
1788
+ dataTestId: dataTestId,
1789
+ variant: variant,
1790
+ label: label,
1791
+ placeholder: placeholder,
1792
+ disabled: disabled,
1793
+ value: value,
1794
+ required: required,
1795
+ tooltip: tooltip ? Object.assign(Object.assign({}, tooltip), {
1796
+ text: tooltip.text
1797
+ }) : undefined,
1798
+ icon: icon || (tooltip ? 'info' : undefined),
1799
+ onChange: handleInputChange,
1800
+ onBlur: onBlur,
1801
+ onFocus: onFocus,
1802
+ "aria-invalid": hasError
1803
+ }, hasError ? {
1804
+ 'aria-errormessage': `${id}-error`
1805
+ } : {}, helperMessage && !hasError ? {
1806
+ 'aria-describedby': `${id}-helperText`
1807
+ } : {}))
1808
+ })]
1809
+ }), hasError && jsxRuntime.jsx(ErrorMessage, {
1810
+ id: `${id}-error`,
1811
+ "data-testid": `${dataTestId}-error`,
1812
+ "$variant": variant,
1813
+ role: "alert",
1814
+ children: errorMessage
1815
+ }), helperMessage && !hasError && jsxRuntime.jsx(HelperText, {
1816
+ id: `${id}-helperText`,
1817
+ "data-testid": `${dataTestId}-helper`,
1818
+ "$variant": variant,
1819
+ disabled: !!disabled,
1820
+ "aria-live": "polite",
1821
+ children: helperMessage
1822
+ })]
1823
+ }));
1824
+ });
1825
+
1826
+ exports.InputCombo = InputCombo;