@frollo/frollo-web-ui 0.0.2 → 0.0.5

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.
@@ -0,0 +1,1323 @@
1
+ import { defineComponent, ref, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, renderSlot } from 'vue';
2
+
3
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
+
5
+ function getDefaultExportFromCjs (x) {
6
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
7
+ }
8
+
9
+ function getDefaultExportFromNamespaceIfPresent (n) {
10
+ return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
11
+ }
12
+
13
+ function getDefaultExportFromNamespaceIfNotNamed (n) {
14
+ return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
15
+ }
16
+
17
+ function getAugmentedNamespace(n) {
18
+ if (n.__esModule) return n;
19
+ var a = Object.defineProperty({}, '__esModule', {value: true});
20
+ Object.keys(n).forEach(function (k) {
21
+ var d = Object.getOwnPropertyDescriptor(n, k);
22
+ Object.defineProperty(a, k, d.get ? d : {
23
+ enumerable: true,
24
+ get: function () {
25
+ return n[k];
26
+ }
27
+ });
28
+ });
29
+ return a;
30
+ }
31
+
32
+ function commonjsRequire (path) {
33
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
34
+ }
35
+
36
+ var check = function (it) {
37
+ return it && it.Math == Math && it;
38
+ };
39
+
40
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
41
+ var global$l =
42
+ // eslint-disable-next-line es/no-global-this -- safe
43
+ check(typeof globalThis == 'object' && globalThis) ||
44
+ check(typeof window == 'object' && window) ||
45
+ // eslint-disable-next-line no-restricted-globals -- safe
46
+ check(typeof self == 'object' && self) ||
47
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
48
+ // eslint-disable-next-line no-new-func -- fallback
49
+ (function () { return this; })() || Function('return this')();
50
+
51
+ var objectGetOwnPropertyDescriptor = {};
52
+
53
+ var fails$7 = function (exec) {
54
+ try {
55
+ return !!exec();
56
+ } catch (error) {
57
+ return true;
58
+ }
59
+ };
60
+
61
+ var fails$6 = fails$7;
62
+
63
+ // Detect IE8's incomplete defineProperty implementation
64
+ var descriptors = !fails$6(function () {
65
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
66
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
67
+ });
68
+
69
+ var fails$5 = fails$7;
70
+
71
+ var functionBindNative = !fails$5(function () {
72
+ var test = (function () { /* empty */ }).bind();
73
+ // eslint-disable-next-line no-prototype-builtins -- safe
74
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
75
+ });
76
+
77
+ var NATIVE_BIND$1 = functionBindNative;
78
+
79
+ var call$4 = Function.prototype.call;
80
+
81
+ var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
82
+ return call$4.apply(call$4, arguments);
83
+ };
84
+
85
+ var objectPropertyIsEnumerable = {};
86
+
87
+ 'use strict';
88
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
89
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
90
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
91
+
92
+ // Nashorn ~ JDK8 bug
93
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
94
+
95
+ // `Object.prototype.propertyIsEnumerable` method implementation
96
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
97
+ var f$5 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
98
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
99
+ return !!descriptor && descriptor.enumerable;
100
+ } : $propertyIsEnumerable;
101
+
102
+ var createPropertyDescriptor$2 = function (bitmap, value) {
103
+ return {
104
+ enumerable: !(bitmap & 1),
105
+ configurable: !(bitmap & 2),
106
+ writable: !(bitmap & 4),
107
+ value: value
108
+ };
109
+ };
110
+
111
+ var NATIVE_BIND = functionBindNative;
112
+
113
+ var FunctionPrototype$1 = Function.prototype;
114
+ var bind = FunctionPrototype$1.bind;
115
+ var call$3 = FunctionPrototype$1.call;
116
+ var uncurryThis$9 = NATIVE_BIND && bind.bind(call$3, call$3);
117
+
118
+ var functionUncurryThis = NATIVE_BIND ? function (fn) {
119
+ return fn && uncurryThis$9(fn);
120
+ } : function (fn) {
121
+ return fn && function () {
122
+ return call$3.apply(fn, arguments);
123
+ };
124
+ };
125
+
126
+ var uncurryThis$8 = functionUncurryThis;
127
+
128
+ var toString$1 = uncurryThis$8({}.toString);
129
+ var stringSlice = uncurryThis$8(''.slice);
130
+
131
+ var classofRaw = function (it) {
132
+ return stringSlice(toString$1(it), 8, -1);
133
+ };
134
+
135
+ var global$k = global$l;
136
+ var uncurryThis$7 = functionUncurryThis;
137
+ var fails$4 = fails$7;
138
+ var classof = classofRaw;
139
+
140
+ var Object$3 = global$k.Object;
141
+ var split = uncurryThis$7(''.split);
142
+
143
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
144
+ var indexedObject = fails$4(function () {
145
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
146
+ // eslint-disable-next-line no-prototype-builtins -- safe
147
+ return !Object$3('z').propertyIsEnumerable(0);
148
+ }) ? function (it) {
149
+ return classof(it) == 'String' ? split(it, '') : Object$3(it);
150
+ } : Object$3;
151
+
152
+ var global$j = global$l;
153
+
154
+ var TypeError$6 = global$j.TypeError;
155
+
156
+ // `RequireObjectCoercible` abstract operation
157
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
158
+ var requireObjectCoercible$2 = function (it) {
159
+ if (it == undefined) throw TypeError$6("Can't call method on " + it);
160
+ return it;
161
+ };
162
+
163
+ // toObject with fallback for non-array-like ES3 strings
164
+ var IndexedObject = indexedObject;
165
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
166
+
167
+ var toIndexedObject$4 = function (it) {
168
+ return IndexedObject(requireObjectCoercible$1(it));
169
+ };
170
+
171
+ // `IsCallable` abstract operation
172
+ // https://tc39.es/ecma262/#sec-iscallable
173
+ var isCallable$9 = function (argument) {
174
+ return typeof argument == 'function';
175
+ };
176
+
177
+ var isCallable$8 = isCallable$9;
178
+
179
+ var isObject$5 = function (it) {
180
+ return typeof it == 'object' ? it !== null : isCallable$8(it);
181
+ };
182
+
183
+ var global$i = global$l;
184
+ var isCallable$7 = isCallable$9;
185
+
186
+ var aFunction = function (argument) {
187
+ return isCallable$7(argument) ? argument : undefined;
188
+ };
189
+
190
+ var getBuiltIn$4 = function (namespace, method) {
191
+ return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
192
+ };
193
+
194
+ var uncurryThis$6 = functionUncurryThis;
195
+
196
+ var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
197
+
198
+ var getBuiltIn$3 = getBuiltIn$4;
199
+
200
+ var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
201
+
202
+ var global$h = global$l;
203
+ var userAgent = engineUserAgent;
204
+
205
+ var process = global$h.process;
206
+ var Deno = global$h.Deno;
207
+ var versions = process && process.versions || Deno && Deno.version;
208
+ var v8 = versions && versions.v8;
209
+ var match, version;
210
+
211
+ if (v8) {
212
+ match = v8.split('.');
213
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
214
+ // but their correct versions are not interesting for us
215
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
216
+ }
217
+
218
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
219
+ // so check `userAgent` even if `.v8` exists, but 0
220
+ if (!version && userAgent) {
221
+ match = userAgent.match(/Edge\/(\d+)/);
222
+ if (!match || match[1] >= 74) {
223
+ match = userAgent.match(/Chrome\/(\d+)/);
224
+ if (match) version = +match[1];
225
+ }
226
+ }
227
+
228
+ var engineV8Version = version;
229
+
230
+ /* eslint-disable es/no-symbol -- required for testing */
231
+
232
+ var V8_VERSION = engineV8Version;
233
+ var fails$3 = fails$7;
234
+
235
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
236
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$3(function () {
237
+ var symbol = Symbol();
238
+ // Chrome 38 Symbol has incorrect toString conversion
239
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
240
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
241
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
242
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
243
+ });
244
+
245
+ /* eslint-disable es/no-symbol -- required for testing */
246
+
247
+ var NATIVE_SYMBOL$1 = nativeSymbol;
248
+
249
+ var useSymbolAsUid = NATIVE_SYMBOL$1
250
+ && !Symbol.sham
251
+ && typeof Symbol.iterator == 'symbol';
252
+
253
+ var global$g = global$l;
254
+ var getBuiltIn$2 = getBuiltIn$4;
255
+ var isCallable$6 = isCallable$9;
256
+ var isPrototypeOf = objectIsPrototypeOf;
257
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
258
+
259
+ var Object$2 = global$g.Object;
260
+
261
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
262
+ return typeof it == 'symbol';
263
+ } : function (it) {
264
+ var $Symbol = getBuiltIn$2('Symbol');
265
+ return isCallable$6($Symbol) && isPrototypeOf($Symbol.prototype, Object$2(it));
266
+ };
267
+
268
+ var global$f = global$l;
269
+
270
+ var String$2 = global$f.String;
271
+
272
+ var tryToString$1 = function (argument) {
273
+ try {
274
+ return String$2(argument);
275
+ } catch (error) {
276
+ return 'Object';
277
+ }
278
+ };
279
+
280
+ var global$e = global$l;
281
+ var isCallable$5 = isCallable$9;
282
+ var tryToString = tryToString$1;
283
+
284
+ var TypeError$5 = global$e.TypeError;
285
+
286
+ // `Assert: IsCallable(argument) is true`
287
+ var aCallable$1 = function (argument) {
288
+ if (isCallable$5(argument)) return argument;
289
+ throw TypeError$5(tryToString(argument) + ' is not a function');
290
+ };
291
+
292
+ var aCallable = aCallable$1;
293
+
294
+ // `GetMethod` abstract operation
295
+ // https://tc39.es/ecma262/#sec-getmethod
296
+ var getMethod$1 = function (V, P) {
297
+ var func = V[P];
298
+ return func == null ? undefined : aCallable(func);
299
+ };
300
+
301
+ var global$d = global$l;
302
+ var call$2 = functionCall;
303
+ var isCallable$4 = isCallable$9;
304
+ var isObject$4 = isObject$5;
305
+
306
+ var TypeError$4 = global$d.TypeError;
307
+
308
+ // `OrdinaryToPrimitive` abstract operation
309
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
310
+ var ordinaryToPrimitive$1 = function (input, pref) {
311
+ var fn, val;
312
+ if (pref === 'string' && isCallable$4(fn = input.toString) && !isObject$4(val = call$2(fn, input))) return val;
313
+ if (isCallable$4(fn = input.valueOf) && !isObject$4(val = call$2(fn, input))) return val;
314
+ if (pref !== 'string' && isCallable$4(fn = input.toString) && !isObject$4(val = call$2(fn, input))) return val;
315
+ throw TypeError$4("Can't convert object to primitive value");
316
+ };
317
+
318
+ var shared$4 = {exports: {}};
319
+
320
+ var isPure = false;
321
+
322
+ var global$c = global$l;
323
+
324
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
325
+ var defineProperty = Object.defineProperty;
326
+
327
+ var setGlobal$3 = function (key, value) {
328
+ try {
329
+ defineProperty(global$c, key, { value: value, configurable: true, writable: true });
330
+ } catch (error) {
331
+ global$c[key] = value;
332
+ } return value;
333
+ };
334
+
335
+ var global$b = global$l;
336
+ var setGlobal$2 = setGlobal$3;
337
+
338
+ var SHARED = '__core-js_shared__';
339
+ var store$3 = global$b[SHARED] || setGlobal$2(SHARED, {});
340
+
341
+ var sharedStore = store$3;
342
+
343
+ var IS_PURE = isPure;
344
+ var store$2 = sharedStore;
345
+
346
+ (shared$4.exports = function (key, value) {
347
+ return store$2[key] || (store$2[key] = value !== undefined ? value : {});
348
+ })('versions', []).push({
349
+ version: '3.21.1',
350
+ mode: IS_PURE ? 'pure' : 'global',
351
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
352
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
353
+ source: 'https://github.com/zloirock/core-js'
354
+ });
355
+
356
+ var shared$3 = shared$4.exports;
357
+
358
+ var global$a = global$l;
359
+ var requireObjectCoercible = requireObjectCoercible$2;
360
+
361
+ var Object$1 = global$a.Object;
362
+
363
+ // `ToObject` abstract operation
364
+ // https://tc39.es/ecma262/#sec-toobject
365
+ var toObject$1 = function (argument) {
366
+ return Object$1(requireObjectCoercible(argument));
367
+ };
368
+
369
+ var uncurryThis$5 = functionUncurryThis;
370
+ var toObject = toObject$1;
371
+
372
+ var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
373
+
374
+ // `HasOwnProperty` abstract operation
375
+ // https://tc39.es/ecma262/#sec-hasownproperty
376
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
377
+ return hasOwnProperty(toObject(it), key);
378
+ };
379
+
380
+ var uncurryThis$4 = functionUncurryThis;
381
+
382
+ var id = 0;
383
+ var postfix = Math.random();
384
+ var toString = uncurryThis$4(1.0.toString);
385
+
386
+ var uid$2 = function (key) {
387
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
388
+ };
389
+
390
+ var global$9 = global$l;
391
+ var shared$2 = shared$4.exports;
392
+ var hasOwn$6 = hasOwnProperty_1;
393
+ var uid$1 = uid$2;
394
+ var NATIVE_SYMBOL = nativeSymbol;
395
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
396
+
397
+ var WellKnownSymbolsStore = shared$2('wks');
398
+ var Symbol$1 = global$9.Symbol;
399
+ var symbolFor = Symbol$1 && Symbol$1['for'];
400
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
401
+
402
+ var wellKnownSymbol$2 = function (name) {
403
+ if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
404
+ var description = 'Symbol.' + name;
405
+ if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
406
+ WellKnownSymbolsStore[name] = Symbol$1[name];
407
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
408
+ WellKnownSymbolsStore[name] = symbolFor(description);
409
+ } else {
410
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
411
+ }
412
+ } return WellKnownSymbolsStore[name];
413
+ };
414
+
415
+ var global$8 = global$l;
416
+ var call$1 = functionCall;
417
+ var isObject$3 = isObject$5;
418
+ var isSymbol$1 = isSymbol$2;
419
+ var getMethod = getMethod$1;
420
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
421
+ var wellKnownSymbol$1 = wellKnownSymbol$2;
422
+
423
+ var TypeError$3 = global$8.TypeError;
424
+ var TO_PRIMITIVE = wellKnownSymbol$1('toPrimitive');
425
+
426
+ // `ToPrimitive` abstract operation
427
+ // https://tc39.es/ecma262/#sec-toprimitive
428
+ var toPrimitive$1 = function (input, pref) {
429
+ if (!isObject$3(input) || isSymbol$1(input)) return input;
430
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
431
+ var result;
432
+ if (exoticToPrim) {
433
+ if (pref === undefined) pref = 'default';
434
+ result = call$1(exoticToPrim, input, pref);
435
+ if (!isObject$3(result) || isSymbol$1(result)) return result;
436
+ throw TypeError$3("Can't convert object to primitive value");
437
+ }
438
+ if (pref === undefined) pref = 'number';
439
+ return ordinaryToPrimitive(input, pref);
440
+ };
441
+
442
+ var toPrimitive = toPrimitive$1;
443
+ var isSymbol = isSymbol$2;
444
+
445
+ // `ToPropertyKey` abstract operation
446
+ // https://tc39.es/ecma262/#sec-topropertykey
447
+ var toPropertyKey$2 = function (argument) {
448
+ var key = toPrimitive(argument, 'string');
449
+ return isSymbol(key) ? key : key + '';
450
+ };
451
+
452
+ var global$7 = global$l;
453
+ var isObject$2 = isObject$5;
454
+
455
+ var document$1 = global$7.document;
456
+ // typeof document.createElement is 'object' in old IE
457
+ var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
458
+
459
+ var documentCreateElement$1 = function (it) {
460
+ return EXISTS$1 ? document$1.createElement(it) : {};
461
+ };
462
+
463
+ var DESCRIPTORS$6 = descriptors;
464
+ var fails$2 = fails$7;
465
+ var createElement = documentCreateElement$1;
466
+
467
+ // Thanks to IE8 for its funny defineProperty
468
+ var ie8DomDefine = !DESCRIPTORS$6 && !fails$2(function () {
469
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
470
+ return Object.defineProperty(createElement('div'), 'a', {
471
+ get: function () { return 7; }
472
+ }).a != 7;
473
+ });
474
+
475
+ var DESCRIPTORS$5 = descriptors;
476
+ var call = functionCall;
477
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
478
+ var createPropertyDescriptor$1 = createPropertyDescriptor$2;
479
+ var toIndexedObject$3 = toIndexedObject$4;
480
+ var toPropertyKey$1 = toPropertyKey$2;
481
+ var hasOwn$5 = hasOwnProperty_1;
482
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
483
+
484
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
485
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
486
+
487
+ // `Object.getOwnPropertyDescriptor` method
488
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
489
+ var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
490
+ O = toIndexedObject$3(O);
491
+ P = toPropertyKey$1(P);
492
+ if (IE8_DOM_DEFINE$1) try {
493
+ return $getOwnPropertyDescriptor$1(O, P);
494
+ } catch (error) { /* empty */ }
495
+ if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
496
+ };
497
+
498
+ var objectDefineProperty = {};
499
+
500
+ var DESCRIPTORS$4 = descriptors;
501
+ var fails$1 = fails$7;
502
+
503
+ // V8 ~ Chrome 36-
504
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
505
+ var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$1(function () {
506
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
507
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
508
+ value: 42,
509
+ writable: false
510
+ }).prototype != 42;
511
+ });
512
+
513
+ var global$6 = global$l;
514
+ var isObject$1 = isObject$5;
515
+
516
+ var String$1 = global$6.String;
517
+ var TypeError$2 = global$6.TypeError;
518
+
519
+ // `Assert: Type(argument) is Object`
520
+ var anObject$4 = function (argument) {
521
+ if (isObject$1(argument)) return argument;
522
+ throw TypeError$2(String$1(argument) + ' is not an object');
523
+ };
524
+
525
+ var global$5 = global$l;
526
+ var DESCRIPTORS$3 = descriptors;
527
+ var IE8_DOM_DEFINE = ie8DomDefine;
528
+ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
529
+ var anObject$3 = anObject$4;
530
+ var toPropertyKey = toPropertyKey$2;
531
+
532
+ var TypeError$1 = global$5.TypeError;
533
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
534
+ var $defineProperty = Object.defineProperty;
535
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
536
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
537
+ var ENUMERABLE = 'enumerable';
538
+ var CONFIGURABLE$1 = 'configurable';
539
+ var WRITABLE = 'writable';
540
+
541
+ // `Object.defineProperty` method
542
+ // https://tc39.es/ecma262/#sec-object.defineproperty
543
+ var f$3 = objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
544
+ anObject$3(O);
545
+ P = toPropertyKey(P);
546
+ anObject$3(Attributes);
547
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
548
+ var current = $getOwnPropertyDescriptor(O, P);
549
+ if (current && current[WRITABLE]) {
550
+ O[P] = Attributes.value;
551
+ Attributes = {
552
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
553
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
554
+ writable: false
555
+ };
556
+ }
557
+ } return $defineProperty(O, P, Attributes);
558
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
559
+ anObject$3(O);
560
+ P = toPropertyKey(P);
561
+ anObject$3(Attributes);
562
+ if (IE8_DOM_DEFINE) try {
563
+ return $defineProperty(O, P, Attributes);
564
+ } catch (error) { /* empty */ }
565
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$1('Accessors not supported');
566
+ if ('value' in Attributes) O[P] = Attributes.value;
567
+ return O;
568
+ };
569
+
570
+ var DESCRIPTORS$2 = descriptors;
571
+ var definePropertyModule$3 = objectDefineProperty;
572
+ var createPropertyDescriptor = createPropertyDescriptor$2;
573
+
574
+ var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
575
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
576
+ } : function (object, key, value) {
577
+ object[key] = value;
578
+ return object;
579
+ };
580
+
581
+ var redefine$2 = {exports: {}};
582
+
583
+ var uncurryThis$3 = functionUncurryThis;
584
+ var isCallable$3 = isCallable$9;
585
+ var store$1 = sharedStore;
586
+
587
+ var functionToString = uncurryThis$3(Function.toString);
588
+
589
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
590
+ if (!isCallable$3(store$1.inspectSource)) {
591
+ store$1.inspectSource = function (it) {
592
+ return functionToString(it);
593
+ };
594
+ }
595
+
596
+ var inspectSource$2 = store$1.inspectSource;
597
+
598
+ var global$4 = global$l;
599
+ var isCallable$2 = isCallable$9;
600
+ var inspectSource$1 = inspectSource$2;
601
+
602
+ var WeakMap$1 = global$4.WeakMap;
603
+
604
+ var nativeWeakMap = isCallable$2(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
605
+
606
+ var shared$1 = shared$4.exports;
607
+ var uid = uid$2;
608
+
609
+ var keys = shared$1('keys');
610
+
611
+ var sharedKey$2 = function (key) {
612
+ return keys[key] || (keys[key] = uid(key));
613
+ };
614
+
615
+ var hiddenKeys$4 = {};
616
+
617
+ var NATIVE_WEAK_MAP = nativeWeakMap;
618
+ var global$3 = global$l;
619
+ var uncurryThis$2 = functionUncurryThis;
620
+ var isObject = isObject$5;
621
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
622
+ var hasOwn$4 = hasOwnProperty_1;
623
+ var shared = sharedStore;
624
+ var sharedKey$1 = sharedKey$2;
625
+ var hiddenKeys$3 = hiddenKeys$4;
626
+
627
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
628
+ var TypeError = global$3.TypeError;
629
+ var WeakMap = global$3.WeakMap;
630
+ var set, get, has;
631
+
632
+ var enforce = function (it) {
633
+ return has(it) ? get(it) : set(it, {});
634
+ };
635
+
636
+ var getterFor = function (TYPE) {
637
+ return function (it) {
638
+ var state;
639
+ if (!isObject(it) || (state = get(it)).type !== TYPE) {
640
+ throw TypeError('Incompatible receiver, ' + TYPE + ' required');
641
+ } return state;
642
+ };
643
+ };
644
+
645
+ if (NATIVE_WEAK_MAP || shared.state) {
646
+ var store = shared.state || (shared.state = new WeakMap());
647
+ var wmget = uncurryThis$2(store.get);
648
+ var wmhas = uncurryThis$2(store.has);
649
+ var wmset = uncurryThis$2(store.set);
650
+ set = function (it, metadata) {
651
+ if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
652
+ metadata.facade = it;
653
+ wmset(store, it, metadata);
654
+ return metadata;
655
+ };
656
+ get = function (it) {
657
+ return wmget(store, it) || {};
658
+ };
659
+ has = function (it) {
660
+ return wmhas(store, it);
661
+ };
662
+ } else {
663
+ var STATE = sharedKey$1('state');
664
+ hiddenKeys$3[STATE] = true;
665
+ set = function (it, metadata) {
666
+ if (hasOwn$4(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
667
+ metadata.facade = it;
668
+ createNonEnumerableProperty$2(it, STATE, metadata);
669
+ return metadata;
670
+ };
671
+ get = function (it) {
672
+ return hasOwn$4(it, STATE) ? it[STATE] : {};
673
+ };
674
+ has = function (it) {
675
+ return hasOwn$4(it, STATE);
676
+ };
677
+ }
678
+
679
+ var internalState = {
680
+ set: set,
681
+ get: get,
682
+ has: has,
683
+ enforce: enforce,
684
+ getterFor: getterFor
685
+ };
686
+
687
+ var DESCRIPTORS$1 = descriptors;
688
+ var hasOwn$3 = hasOwnProperty_1;
689
+
690
+ var FunctionPrototype = Function.prototype;
691
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
692
+ var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
693
+
694
+ var EXISTS = hasOwn$3(FunctionPrototype, 'name');
695
+ // additional protection from minified / mangled / dropped function names
696
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
697
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
698
+
699
+ var functionName = {
700
+ EXISTS: EXISTS,
701
+ PROPER: PROPER,
702
+ CONFIGURABLE: CONFIGURABLE
703
+ };
704
+
705
+ var global$2 = global$l;
706
+ var isCallable$1 = isCallable$9;
707
+ var hasOwn$2 = hasOwnProperty_1;
708
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
709
+ var setGlobal$1 = setGlobal$3;
710
+ var inspectSource = inspectSource$2;
711
+ var InternalStateModule = internalState;
712
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
713
+
714
+ var getInternalState = InternalStateModule.get;
715
+ var enforceInternalState = InternalStateModule.enforce;
716
+ var TEMPLATE = String(String).split('String');
717
+
718
+ (redefine$2.exports = function (O, key, value, options) {
719
+ var unsafe = options ? !!options.unsafe : false;
720
+ var simple = options ? !!options.enumerable : false;
721
+ var noTargetGet = options ? !!options.noTargetGet : false;
722
+ var name = options && options.name !== undefined ? options.name : key;
723
+ var state;
724
+ if (isCallable$1(value)) {
725
+ if (String(name).slice(0, 7) === 'Symbol(') {
726
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
727
+ }
728
+ if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
729
+ createNonEnumerableProperty$1(value, 'name', name);
730
+ }
731
+ state = enforceInternalState(value);
732
+ if (!state.source) {
733
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
734
+ }
735
+ }
736
+ if (O === global$2) {
737
+ if (simple) O[key] = value;
738
+ else setGlobal$1(key, value);
739
+ return;
740
+ } else if (!unsafe) {
741
+ delete O[key];
742
+ } else if (!noTargetGet && O[key]) {
743
+ simple = true;
744
+ }
745
+ if (simple) O[key] = value;
746
+ else createNonEnumerableProperty$1(O, key, value);
747
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
748
+ })(Function.prototype, 'toString', function toString() {
749
+ return isCallable$1(this) && getInternalState(this).source || inspectSource(this);
750
+ });
751
+
752
+ var redefine$1 = redefine$2.exports;
753
+
754
+ var objectGetOwnPropertyNames = {};
755
+
756
+ var ceil = Math.ceil;
757
+ var floor = Math.floor;
758
+
759
+ // `ToIntegerOrInfinity` abstract operation
760
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
761
+ var toIntegerOrInfinity$2 = function (argument) {
762
+ var number = +argument;
763
+ // eslint-disable-next-line no-self-compare -- safe
764
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
765
+ };
766
+
767
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
768
+
769
+ var max = Math.max;
770
+ var min$1 = Math.min;
771
+
772
+ // Helper for a popular repeating case of the spec:
773
+ // Let integer be ? ToInteger(index).
774
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
775
+ var toAbsoluteIndex$1 = function (index, length) {
776
+ var integer = toIntegerOrInfinity$1(index);
777
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
778
+ };
779
+
780
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
781
+
782
+ var min = Math.min;
783
+
784
+ // `ToLength` abstract operation
785
+ // https://tc39.es/ecma262/#sec-tolength
786
+ var toLength$1 = function (argument) {
787
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
788
+ };
789
+
790
+ var toLength = toLength$1;
791
+
792
+ // `LengthOfArrayLike` abstract operation
793
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
794
+ var lengthOfArrayLike$1 = function (obj) {
795
+ return toLength(obj.length);
796
+ };
797
+
798
+ var toIndexedObject$2 = toIndexedObject$4;
799
+ var toAbsoluteIndex = toAbsoluteIndex$1;
800
+ var lengthOfArrayLike = lengthOfArrayLike$1;
801
+
802
+ // `Array.prototype.{ indexOf, includes }` methods implementation
803
+ var createMethod = function (IS_INCLUDES) {
804
+ return function ($this, el, fromIndex) {
805
+ var O = toIndexedObject$2($this);
806
+ var length = lengthOfArrayLike(O);
807
+ var index = toAbsoluteIndex(fromIndex, length);
808
+ var value;
809
+ // Array#includes uses SameValueZero equality algorithm
810
+ // eslint-disable-next-line no-self-compare -- NaN check
811
+ if (IS_INCLUDES && el != el) while (length > index) {
812
+ value = O[index++];
813
+ // eslint-disable-next-line no-self-compare -- NaN check
814
+ if (value != value) return true;
815
+ // Array#indexOf ignores holes, Array#includes - not
816
+ } else for (;length > index; index++) {
817
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
818
+ } return !IS_INCLUDES && -1;
819
+ };
820
+ };
821
+
822
+ var arrayIncludes = {
823
+ // `Array.prototype.includes` method
824
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
825
+ includes: createMethod(true),
826
+ // `Array.prototype.indexOf` method
827
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
828
+ indexOf: createMethod(false)
829
+ };
830
+
831
+ var uncurryThis$1 = functionUncurryThis;
832
+ var hasOwn$1 = hasOwnProperty_1;
833
+ var toIndexedObject$1 = toIndexedObject$4;
834
+ var indexOf = arrayIncludes.indexOf;
835
+ var hiddenKeys$2 = hiddenKeys$4;
836
+
837
+ var push = uncurryThis$1([].push);
838
+
839
+ var objectKeysInternal = function (object, names) {
840
+ var O = toIndexedObject$1(object);
841
+ var i = 0;
842
+ var result = [];
843
+ var key;
844
+ for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push(result, key);
845
+ // Don't enum bug & hidden keys
846
+ while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
847
+ ~indexOf(result, key) || push(result, key);
848
+ }
849
+ return result;
850
+ };
851
+
852
+ // IE8- don't enum bug keys
853
+ var enumBugKeys$3 = [
854
+ 'constructor',
855
+ 'hasOwnProperty',
856
+ 'isPrototypeOf',
857
+ 'propertyIsEnumerable',
858
+ 'toLocaleString',
859
+ 'toString',
860
+ 'valueOf'
861
+ ];
862
+
863
+ var internalObjectKeys$1 = objectKeysInternal;
864
+ var enumBugKeys$2 = enumBugKeys$3;
865
+
866
+ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
867
+
868
+ // `Object.getOwnPropertyNames` method
869
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
870
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
871
+ var f$2 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
872
+ return internalObjectKeys$1(O, hiddenKeys$1);
873
+ };
874
+
875
+ var objectGetOwnPropertySymbols = {};
876
+
877
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
878
+ var f$1 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
879
+
880
+ var getBuiltIn$1 = getBuiltIn$4;
881
+ var uncurryThis = functionUncurryThis;
882
+ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
883
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
884
+ var anObject$2 = anObject$4;
885
+
886
+ var concat = uncurryThis([].concat);
887
+
888
+ // all object keys, includes non-enumerable and symbols
889
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
890
+ var keys = getOwnPropertyNamesModule.f(anObject$2(it));
891
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
892
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
893
+ };
894
+
895
+ var hasOwn = hasOwnProperty_1;
896
+ var ownKeys = ownKeys$1;
897
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
898
+ var definePropertyModule$2 = objectDefineProperty;
899
+
900
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
901
+ var keys = ownKeys(source);
902
+ var defineProperty = definePropertyModule$2.f;
903
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
904
+ for (var i = 0; i < keys.length; i++) {
905
+ var key = keys[i];
906
+ if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
907
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
908
+ }
909
+ }
910
+ };
911
+
912
+ var fails = fails$7;
913
+ var isCallable = isCallable$9;
914
+
915
+ var replacement = /#|\.prototype\./;
916
+
917
+ var isForced$1 = function (feature, detection) {
918
+ var value = data[normalize(feature)];
919
+ return value == POLYFILL ? true
920
+ : value == NATIVE ? false
921
+ : isCallable(detection) ? fails(detection)
922
+ : !!detection;
923
+ };
924
+
925
+ var normalize = isForced$1.normalize = function (string) {
926
+ return String(string).replace(replacement, '.').toLowerCase();
927
+ };
928
+
929
+ var data = isForced$1.data = {};
930
+ var NATIVE = isForced$1.NATIVE = 'N';
931
+ var POLYFILL = isForced$1.POLYFILL = 'P';
932
+
933
+ var isForced_1 = isForced$1;
934
+
935
+ var global$1 = global$l;
936
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
937
+ var createNonEnumerableProperty = createNonEnumerableProperty$3;
938
+ var redefine = redefine$2.exports;
939
+ var setGlobal = setGlobal$3;
940
+ var copyConstructorProperties = copyConstructorProperties$1;
941
+ var isForced = isForced_1;
942
+
943
+ /*
944
+ options.target - name of the target object
945
+ options.global - target is the global object
946
+ options.stat - export as static methods of target
947
+ options.proto - export as prototype methods of target
948
+ options.real - real prototype method for the `pure` version
949
+ options.forced - export even if the native feature is available
950
+ options.bind - bind methods to the target, required for the `pure` version
951
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
952
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
953
+ options.sham - add a flag to not completely full polyfills
954
+ options.enumerable - export as enumerable property
955
+ options.noTargetGet - prevent calling a getter on target
956
+ options.name - the .name of the function if it does not match the key
957
+ */
958
+ var _export = function (options, source) {
959
+ var TARGET = options.target;
960
+ var GLOBAL = options.global;
961
+ var STATIC = options.stat;
962
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
963
+ if (GLOBAL) {
964
+ target = global$1;
965
+ } else if (STATIC) {
966
+ target = global$1[TARGET] || setGlobal(TARGET, {});
967
+ } else {
968
+ target = (global$1[TARGET] || {}).prototype;
969
+ }
970
+ if (target) for (key in source) {
971
+ sourceProperty = source[key];
972
+ if (options.noTargetGet) {
973
+ descriptor = getOwnPropertyDescriptor(target, key);
974
+ targetProperty = descriptor && descriptor.value;
975
+ } else targetProperty = target[key];
976
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
977
+ // contained in target
978
+ if (!FORCED && targetProperty !== undefined) {
979
+ if (typeof sourceProperty == typeof targetProperty) continue;
980
+ copyConstructorProperties(sourceProperty, targetProperty);
981
+ }
982
+ // add a flag to not completely full polyfills
983
+ if (options.sham || (targetProperty && targetProperty.sham)) {
984
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
985
+ }
986
+ // extend global
987
+ redefine(target, key, sourceProperty, options);
988
+ }
989
+ };
990
+
991
+ var internalObjectKeys = objectKeysInternal;
992
+ var enumBugKeys$1 = enumBugKeys$3;
993
+
994
+ // `Object.keys` method
995
+ // https://tc39.es/ecma262/#sec-object.keys
996
+ // eslint-disable-next-line es/no-object-keys -- safe
997
+ var objectKeys$1 = Object.keys || function keys(O) {
998
+ return internalObjectKeys(O, enumBugKeys$1);
999
+ };
1000
+
1001
+ var es_array_includes = {};
1002
+
1003
+ var objectDefineProperties = {};
1004
+
1005
+ var DESCRIPTORS = descriptors;
1006
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1007
+ var definePropertyModule$1 = objectDefineProperty;
1008
+ var anObject$1 = anObject$4;
1009
+ var toIndexedObject = toIndexedObject$4;
1010
+ var objectKeys = objectKeys$1;
1011
+
1012
+ // `Object.defineProperties` method
1013
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1014
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1015
+ var f = objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1016
+ anObject$1(O);
1017
+ var props = toIndexedObject(Properties);
1018
+ var keys = objectKeys(Properties);
1019
+ var length = keys.length;
1020
+ var index = 0;
1021
+ var key;
1022
+ while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
1023
+ return O;
1024
+ };
1025
+
1026
+ var getBuiltIn = getBuiltIn$4;
1027
+
1028
+ var html$1 = getBuiltIn('document', 'documentElement');
1029
+
1030
+ /* global ActiveXObject -- old IE, WSH */
1031
+
1032
+ var anObject = anObject$4;
1033
+ var definePropertiesModule = objectDefineProperties;
1034
+ var enumBugKeys = enumBugKeys$3;
1035
+ var hiddenKeys = hiddenKeys$4;
1036
+ var html = html$1;
1037
+ var documentCreateElement = documentCreateElement$1;
1038
+ var sharedKey = sharedKey$2;
1039
+
1040
+ var GT = '>';
1041
+ var LT = '<';
1042
+ var PROTOTYPE = 'prototype';
1043
+ var SCRIPT = 'script';
1044
+ var IE_PROTO = sharedKey('IE_PROTO');
1045
+
1046
+ var EmptyConstructor = function () { /* empty */ };
1047
+
1048
+ var scriptTag = function (content) {
1049
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1050
+ };
1051
+
1052
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1053
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1054
+ activeXDocument.write(scriptTag(''));
1055
+ activeXDocument.close();
1056
+ var temp = activeXDocument.parentWindow.Object;
1057
+ activeXDocument = null; // avoid memory leak
1058
+ return temp;
1059
+ };
1060
+
1061
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1062
+ var NullProtoObjectViaIFrame = function () {
1063
+ // Thrash, waste and sodomy: IE GC bug
1064
+ var iframe = documentCreateElement('iframe');
1065
+ var JS = 'java' + SCRIPT + ':';
1066
+ var iframeDocument;
1067
+ iframe.style.display = 'none';
1068
+ html.appendChild(iframe);
1069
+ // https://github.com/zloirock/core-js/issues/475
1070
+ iframe.src = String(JS);
1071
+ iframeDocument = iframe.contentWindow.document;
1072
+ iframeDocument.open();
1073
+ iframeDocument.write(scriptTag('document.F=Object'));
1074
+ iframeDocument.close();
1075
+ return iframeDocument.F;
1076
+ };
1077
+
1078
+ // Check for document.domain and active x support
1079
+ // No need to use active x approach when document.domain is not set
1080
+ // see https://github.com/es-shims/es5-shim/issues/150
1081
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1082
+ // avoid IE GC bug
1083
+ var activeXDocument;
1084
+ var NullProtoObject = function () {
1085
+ try {
1086
+ activeXDocument = new ActiveXObject('htmlfile');
1087
+ } catch (error) { /* ignore */ }
1088
+ NullProtoObject = typeof document != 'undefined'
1089
+ ? document.domain && activeXDocument
1090
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1091
+ : NullProtoObjectViaIFrame()
1092
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1093
+ var length = enumBugKeys.length;
1094
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1095
+ return NullProtoObject();
1096
+ };
1097
+
1098
+ hiddenKeys[IE_PROTO] = true;
1099
+
1100
+ // `Object.create` method
1101
+ // https://tc39.es/ecma262/#sec-object.create
1102
+ var objectCreate = Object.create || function create(O, Properties) {
1103
+ var result;
1104
+ if (O !== null) {
1105
+ EmptyConstructor[PROTOTYPE] = anObject(O);
1106
+ result = new EmptyConstructor();
1107
+ EmptyConstructor[PROTOTYPE] = null;
1108
+ // add "__proto__" for Object.getPrototypeOf polyfill
1109
+ result[IE_PROTO] = O;
1110
+ } else result = NullProtoObject();
1111
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1112
+ };
1113
+
1114
+ var wellKnownSymbol = wellKnownSymbol$2;
1115
+ var create = objectCreate;
1116
+ var definePropertyModule = objectDefineProperty;
1117
+
1118
+ var UNSCOPABLES = wellKnownSymbol('unscopables');
1119
+ var ArrayPrototype = Array.prototype;
1120
+
1121
+ // Array.prototype[@@unscopables]
1122
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1123
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
1124
+ definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
1125
+ configurable: true,
1126
+ value: create(null)
1127
+ });
1128
+ }
1129
+
1130
+ // add a key to Array.prototype[@@unscopables]
1131
+ var addToUnscopables$1 = function (key) {
1132
+ ArrayPrototype[UNSCOPABLES][key] = true;
1133
+ };
1134
+
1135
+ 'use strict';
1136
+ var $ = _export;
1137
+ var $includes = arrayIncludes.includes;
1138
+ var addToUnscopables = addToUnscopables$1;
1139
+
1140
+ // `Array.prototype.includes` method
1141
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
1142
+ $({ target: 'Array', proto: true }, {
1143
+ includes: function includes(el /* , fromIndex = 0 */) {
1144
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1145
+ }
1146
+ });
1147
+
1148
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1149
+ addToUnscopables('includes');
1150
+
1151
+ var script = defineComponent({
1152
+ name: 'FwButton',
1153
+ emits: ['click', 'mouseover', 'mouseout', 'focusin', 'focusout'],
1154
+ props: {
1155
+ /**
1156
+ * A `router-link` path or object
1157
+ */
1158
+ to: {
1159
+ type: [String, Object]
1160
+ },
1161
+
1162
+ /**
1163
+ * A URL to link to using a native anchor element
1164
+ */
1165
+ href: String,
1166
+
1167
+ /**
1168
+ * The size of the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
1169
+ */
1170
+ size: {
1171
+ type: String,
1172
+ "default": 'lg',
1173
+ validator: function validator(value) {
1174
+ return ['sm', 'md', 'lg', 'xl', '2xl'].includes(value);
1175
+ }
1176
+ },
1177
+
1178
+ /**
1179
+ * The colour variant of the button.
1180
+ * Accepts 'primary', 'secondary', 'tertiary', 'error', 'success'
1181
+ */
1182
+ variant: {
1183
+ type: String,
1184
+ "default": 'primary',
1185
+ validator: function validator(value) {
1186
+ return ['primary', 'secondary', 'tertiary', 'error', 'success', 'text'].includes(value);
1187
+ }
1188
+ }
1189
+ },
1190
+ setup: function setup(props, ctx) {
1191
+ var buttonClasses = ref({
1192
+ primary: {
1193
+ text: 'text-tertiary hover:text-primary active:text-primary',
1194
+ background: 'bg-primary hover:bg-tertiary active:bg-tertiary',
1195
+ border: 'border-primary focus:ring-primary'
1196
+ },
1197
+ secondary: {
1198
+ text: 'text-primary hover:text-tertiary active:text-tertiary',
1199
+ background: 'bg-tertiary hover:bg-primary active:bg-primary',
1200
+ border: 'border-primary focus:ring-primary'
1201
+ },
1202
+ tertiary: {
1203
+ text: 'text-tertiary hover:text-secondary active:text-secondary',
1204
+ background: 'bg-secondary hover:bg-tertiary active:bg-tertiary',
1205
+ border: 'border-tertiary focus:ring-tertiary'
1206
+ },
1207
+ success: {
1208
+ text: 'text-white hover:text-success active:text-success',
1209
+ background: 'bg-success hover:bg-white active:bg-white',
1210
+ border: 'border-success focus:ring-success'
1211
+ },
1212
+ error: {
1213
+ text: 'text-white hover:text-error active:text-error',
1214
+ background: 'bg-error hover:bg-white active:bg-white',
1215
+ border: 'border-error focus:ring-error'
1216
+ },
1217
+ text: {
1218
+ text: 'text-body font-medium hover:text-white active:text-white',
1219
+ background: 'bg-white hover:bg-body active:bg-body',
1220
+ border: 'border-transparent focus:ring-body'
1221
+ }
1222
+ });
1223
+ var sizes = ref({
1224
+ sm: 'px-2 py-0.5 text-sm',
1225
+ md: 'px-6 py-1 text-md',
1226
+ lg: 'px-10 py-2 text-lg',
1227
+ xl: 'px-12 py-3 text-xl',
1228
+ '2xl': 'px-16 py-4 text-2xl'
1229
+ });
1230
+ var textColorClass = computed(function () {
1231
+ return buttonClasses.value[props.variant].text;
1232
+ });
1233
+ var bgColorClass = computed(function () {
1234
+ return buttonClasses.value[props.variant].background;
1235
+ });
1236
+ var sizeClass = computed(function () {
1237
+ return sizes.value[props.size];
1238
+ });
1239
+ var borderClass = computed(function () {
1240
+ return buttonClasses.value[props.variant].border;
1241
+ });
1242
+ /**
1243
+ * @event Click - Native click
1244
+ */
1245
+
1246
+ var onClick = function onClick(e) {
1247
+ return ctx.emit('click', e);
1248
+ };
1249
+ /**
1250
+ * @event mouseover - Native hover
1251
+ */
1252
+
1253
+
1254
+ var onMouseover = function onMouseover(e) {
1255
+ return ctx.emit('mouseover', e);
1256
+ };
1257
+ /**
1258
+ * @event mouseout - Native hover out
1259
+ */
1260
+
1261
+
1262
+ var onMouseout = function onMouseout(e) {
1263
+ return ctx.emit('mouseout', e);
1264
+ };
1265
+ /**
1266
+ * @event focusin - Native focusin
1267
+ */
1268
+
1269
+
1270
+ var onFocusin = function onFocusin(e) {
1271
+ return ctx.emit('focusin', e);
1272
+ };
1273
+ /**
1274
+ * @event focusout - Native focusout
1275
+ */
1276
+
1277
+
1278
+ var onFocusout = function onFocusout(e) {
1279
+ return ctx.emit('focusout', e);
1280
+ };
1281
+
1282
+ var tagName = computed(function () {
1283
+ if (props.to) return 'router-link';
1284
+ if (props.href) return 'a';
1285
+ return 'button';
1286
+ });
1287
+ return {
1288
+ textColorClass: textColorClass,
1289
+ bgColorClass: bgColorClass,
1290
+ sizeClass: sizeClass,
1291
+ borderClass: borderClass,
1292
+ onClick: onClick,
1293
+ onMouseover: onMouseover,
1294
+ onMouseout: onMouseout,
1295
+ onFocusin: onFocusin,
1296
+ onFocusout: onFocusout,
1297
+ tagName: tagName
1298
+ };
1299
+ }
1300
+ });
1301
+
1302
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
1303
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
1304
+ "class": normalizeClass(["fw-button font-bold cursor-pointer whitespace-nowrap rounded-full border-2 focus:outline-none ring-offset-2 focus:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass]]),
1305
+ type: _ctx.tagName === 'button' ? _ctx.tagName : null,
1306
+ to: _ctx.to,
1307
+ href: _ctx.href,
1308
+ onClick: _ctx.onClick,
1309
+ onFocusin: _ctx.onFocusin,
1310
+ onFocusout: _ctx.onFocusout,
1311
+ onMouseover: _ctx.onMouseover,
1312
+ onMouseout: _ctx.onMouseout
1313
+ }, {
1314
+ "default": withCtx(function () {
1315
+ return [renderSlot(_ctx.$slots, "default")];
1316
+ }),
1317
+ _: 3
1318
+ }, 8, ["class", "type", "to", "href", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
1319
+ }
1320
+
1321
+ script.render = render;
1322
+
1323
+ export { _export as _, aCallable$1 as a, functionBindNative as b, classofRaw as c, fails$7 as d, getBuiltIn$4 as e, functionUncurryThis as f, global$l as g, inspectSource$2 as h, isCallable$9 as i, isObject$5 as j, indexedObject as k, lengthOfArrayLike$1 as l, documentCreateElement$1 as m, createNonEnumerableProperty$3 as n, descriptors as o, objectKeys$1 as p, toIndexedObject$4 as q, redefine$2 as r, objectPropertyIsEnumerable as s, toObject$1 as t, script as u, wellKnownSymbol$2 as w };