@frollo/frollo-web-ui 0.1.0 → 0.1.1

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/cjs/index.js CHANGED
@@ -83,41 +83,42 @@ function commonjsRequire (path) {
83
83
  };
84
84
 
85
85
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
86
- var global$r =
87
- // eslint-disable-next-line es/no-global-this -- safe
86
+ var global$f =
87
+ // eslint-disable-next-line es-x/no-global-this -- safe
88
88
  check(typeof globalThis == 'object' && globalThis) ||
89
89
  check(typeof window == 'object' && window) ||
90
90
  // eslint-disable-next-line no-restricted-globals -- safe
91
91
  check(typeof self == 'object' && self) ||
92
92
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
93
93
  // eslint-disable-next-line no-new-func -- fallback
94
- (function () { return this; })() || Function('return this')();var objectGetOwnPropertyDescriptor = {};var fails$a = function (exec) {
94
+ (function () { return this; })() || Function('return this')();var objectGetOwnPropertyDescriptor = {};var fails$c = function (exec) {
95
95
  try {
96
96
  return !!exec();
97
97
  } catch (error) {
98
98
  return true;
99
99
  }
100
- };var fails$9 = fails$a;
100
+ };var fails$b = fails$c;
101
101
 
102
102
  // Detect IE8's incomplete defineProperty implementation
103
- var descriptors = !fails$9(function () {
104
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
103
+ var descriptors = !fails$b(function () {
104
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
105
105
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
106
- });var fails$8 = fails$a;
106
+ });var fails$a = fails$c;
107
107
 
108
- var functionBindNative = !fails$8(function () {
108
+ var functionBindNative = !fails$a(function () {
109
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
109
110
  var test = (function () { /* empty */ }).bind();
110
111
  // eslint-disable-next-line no-prototype-builtins -- safe
111
112
  return typeof test != 'function' || test.hasOwnProperty('prototype');
112
- });var NATIVE_BIND$2 = functionBindNative;
113
+ });var NATIVE_BIND$3 = functionBindNative;
113
114
 
114
- var call$4 = Function.prototype.call;
115
+ var call$5 = Function.prototype.call;
115
116
 
116
- var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
117
- return call$4.apply(call$4, arguments);
117
+ var functionCall = NATIVE_BIND$3 ? call$5.bind(call$5) : function () {
118
+ return call$5.apply(call$5, arguments);
118
119
  };var objectPropertyIsEnumerable = {};'use strict';
119
120
  var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
120
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
121
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
121
122
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
122
123
 
123
124
  // Nashorn ~ JDK8 bug
@@ -135,49 +136,46 @@ var f$5 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumer
135
136
  writable: !(bitmap & 4),
136
137
  value: value
137
138
  };
138
- };var NATIVE_BIND$1 = functionBindNative;
139
+ };var NATIVE_BIND$2 = functionBindNative;
139
140
 
140
- var FunctionPrototype$2 = Function.prototype;
141
- var bind$2 = FunctionPrototype$2.bind;
142
- var call$3 = FunctionPrototype$2.call;
143
- var uncurryThis$i = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
141
+ var FunctionPrototype$3 = Function.prototype;
142
+ var bind$2 = FunctionPrototype$3.bind;
143
+ var call$4 = FunctionPrototype$3.call;
144
+ var uncurryThis$j = NATIVE_BIND$2 && bind$2.bind(call$4, call$4);
144
145
 
145
- var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
146
- return fn && uncurryThis$i(fn);
146
+ var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
147
+ return fn && uncurryThis$j(fn);
147
148
  } : function (fn) {
148
149
  return fn && function () {
149
- return call$3.apply(fn, arguments);
150
+ return call$4.apply(fn, arguments);
150
151
  };
151
- };var uncurryThis$h = functionUncurryThis;
152
+ };var uncurryThis$i = functionUncurryThis;
152
153
 
153
- var toString$5 = uncurryThis$h({}.toString);
154
- var stringSlice = uncurryThis$h(''.slice);
154
+ var toString$5 = uncurryThis$i({}.toString);
155
+ var stringSlice = uncurryThis$i(''.slice);
155
156
 
156
157
  var classofRaw$1 = function (it) {
157
158
  return stringSlice(toString$5(it), 8, -1);
158
- };var global$q = global$r;
159
- var uncurryThis$g = functionUncurryThis;
160
- var fails$7 = fails$a;
159
+ };var uncurryThis$h = functionUncurryThis;
160
+ var fails$9 = fails$c;
161
161
  var classof$5 = classofRaw$1;
162
162
 
163
- var Object$4 = global$q.Object;
164
- var split = uncurryThis$g(''.split);
163
+ var $Object$3 = Object;
164
+ var split = uncurryThis$h(''.split);
165
165
 
166
166
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
167
- var indexedObject = fails$7(function () {
167
+ var indexedObject = fails$9(function () {
168
168
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
169
169
  // eslint-disable-next-line no-prototype-builtins -- safe
170
- return !Object$4('z').propertyIsEnumerable(0);
170
+ return !$Object$3('z').propertyIsEnumerable(0);
171
171
  }) ? function (it) {
172
- return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
173
- } : Object$4;var global$p = global$r;
174
-
175
- var TypeError$9 = global$p.TypeError;
172
+ return classof$5(it) == 'String' ? split(it, '') : $Object$3(it);
173
+ } : $Object$3;var $TypeError$7 = TypeError;
176
174
 
177
175
  // `RequireObjectCoercible` abstract operation
178
176
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
179
177
  var requireObjectCoercible$3 = function (it) {
180
- if (it == undefined) throw TypeError$9("Can't call method on " + it);
178
+ if (it == undefined) throw $TypeError$7("Can't call method on " + it);
181
179
  return it;
182
180
  };// toObject with fallback for non-array-like ES3 strings
183
181
  var IndexedObject$1 = indexedObject;
@@ -187,30 +185,30 @@ var toIndexedObject$5 = function (it) {
187
185
  return IndexedObject$1(requireObjectCoercible$2(it));
188
186
  };// `IsCallable` abstract operation
189
187
  // https://tc39.es/ecma262/#sec-iscallable
190
- var isCallable$e = function (argument) {
188
+ var isCallable$g = function (argument) {
191
189
  return typeof argument == 'function';
192
- };var isCallable$d = isCallable$e;
190
+ };var isCallable$f = isCallable$g;
193
191
 
194
192
  var isObject$8 = function (it) {
195
- return typeof it == 'object' ? it !== null : isCallable$d(it);
196
- };var global$o = global$r;
197
- var isCallable$c = isCallable$e;
193
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
194
+ };var global$e = global$f;
195
+ var isCallable$e = isCallable$g;
198
196
 
199
197
  var aFunction = function (argument) {
200
- return isCallable$c(argument) ? argument : undefined;
198
+ return isCallable$e(argument) ? argument : undefined;
201
199
  };
202
200
 
203
201
  var getBuiltIn$5 = function (namespace, method) {
204
- return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
205
- };var uncurryThis$f = functionUncurryThis;
202
+ return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
203
+ };var uncurryThis$g = functionUncurryThis;
206
204
 
207
- var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);var getBuiltIn$4 = getBuiltIn$5;
205
+ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);var getBuiltIn$4 = getBuiltIn$5;
208
206
 
209
- var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';var global$n = global$r;
210
- var userAgent = engineUserAgent;
207
+ var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';var global$d = global$f;
208
+ var userAgent$1 = engineUserAgent;
211
209
 
212
- var process = global$n.process;
213
- var Deno = global$n.Deno;
210
+ var process = global$d.process;
211
+ var Deno = global$d.Deno;
214
212
  var versions = process && process.versions || Deno && Deno.version;
215
213
  var v8 = versions && versions.v8;
216
214
  var match, version;
@@ -224,66 +222,62 @@ if (v8) {
224
222
 
225
223
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
226
224
  // so check `userAgent` even if `.v8` exists, but 0
227
- if (!version && userAgent) {
228
- match = userAgent.match(/Edge\/(\d+)/);
225
+ if (!version && userAgent$1) {
226
+ match = userAgent$1.match(/Edge\/(\d+)/);
229
227
  if (!match || match[1] >= 74) {
230
- match = userAgent.match(/Chrome\/(\d+)/);
228
+ match = userAgent$1.match(/Chrome\/(\d+)/);
231
229
  if (match) version = +match[1];
232
230
  }
233
231
  }
234
232
 
235
- var engineV8Version = version;/* eslint-disable es/no-symbol -- required for testing */
233
+ var engineV8Version = version;/* eslint-disable es-x/no-symbol -- required for testing */
236
234
 
237
235
  var V8_VERSION = engineV8Version;
238
- var fails$6 = fails$a;
236
+ var fails$8 = fails$c;
239
237
 
240
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
241
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
238
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
239
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
242
240
  var symbol = Symbol();
243
241
  // Chrome 38 Symbol has incorrect toString conversion
244
242
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
245
243
  return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
246
244
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
247
245
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
248
- });/* eslint-disable es/no-symbol -- required for testing */
246
+ });/* eslint-disable es-x/no-symbol -- required for testing */
249
247
 
250
248
  var NATIVE_SYMBOL$1 = nativeSymbol;
251
249
 
252
250
  var useSymbolAsUid = NATIVE_SYMBOL$1
253
251
  && !Symbol.sham
254
- && typeof Symbol.iterator == 'symbol';var global$m = global$r;
255
- var getBuiltIn$3 = getBuiltIn$5;
256
- var isCallable$b = isCallable$e;
252
+ && typeof Symbol.iterator == 'symbol';var getBuiltIn$3 = getBuiltIn$5;
253
+ var isCallable$d = isCallable$g;
257
254
  var isPrototypeOf$1 = objectIsPrototypeOf;
258
255
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
259
256
 
260
- var Object$3 = global$m.Object;
257
+ var $Object$2 = Object;
261
258
 
262
259
  var isSymbol$4 = USE_SYMBOL_AS_UID$1 ? function (it) {
263
260
  return typeof it == 'symbol';
264
261
  } : function (it) {
265
262
  var $Symbol = getBuiltIn$3('Symbol');
266
- return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, Object$3(it));
267
- };var global$l = global$r;
268
-
269
- var String$4 = global$l.String;
263
+ return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
264
+ };var $String$3 = String;
270
265
 
271
266
  var tryToString$1 = function (argument) {
272
267
  try {
273
- return String$4(argument);
268
+ return $String$3(argument);
274
269
  } catch (error) {
275
270
  return 'Object';
276
271
  }
277
- };var global$k = global$r;
278
- var isCallable$a = isCallable$e;
272
+ };var isCallable$c = isCallable$g;
279
273
  var tryToString = tryToString$1;
280
274
 
281
- var TypeError$8 = global$k.TypeError;
275
+ var $TypeError$6 = TypeError;
282
276
 
283
277
  // `Assert: IsCallable(argument) is true`
284
278
  var aCallable$2 = function (argument) {
285
- if (isCallable$a(argument)) return argument;
286
- throw TypeError$8(tryToString(argument) + ' is not a function');
279
+ if (isCallable$c(argument)) return argument;
280
+ throw $TypeError$6(tryToString(argument) + ' is not a function');
287
281
  };var aCallable$1 = aCallable$2;
288
282
 
289
283
  // `GetMethod` abstract operation
@@ -291,37 +285,36 @@ var aCallable$2 = function (argument) {
291
285
  var getMethod$1 = function (V, P) {
292
286
  var func = V[P];
293
287
  return func == null ? undefined : aCallable$1(func);
294
- };var global$j = global$r;
295
- var call$2 = functionCall;
296
- var isCallable$9 = isCallable$e;
288
+ };var call$3 = functionCall;
289
+ var isCallable$b = isCallable$g;
297
290
  var isObject$7 = isObject$8;
298
291
 
299
- var TypeError$7 = global$j.TypeError;
292
+ var $TypeError$5 = TypeError;
300
293
 
301
294
  // `OrdinaryToPrimitive` abstract operation
302
295
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
303
296
  var ordinaryToPrimitive$1 = function (input, pref) {
304
297
  var fn, val;
305
- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val;
306
- if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$2(fn, input))) return val;
307
- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val;
308
- throw TypeError$7("Can't convert object to primitive value");
309
- };var shared$4 = {exports: {}};var isPure = false;var global$i = global$r;
298
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
299
+ if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$3(fn, input))) return val;
300
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
301
+ throw $TypeError$5("Can't convert object to primitive value");
302
+ };var shared$4 = {exports: {}};var isPure = false;var global$c = global$f;
310
303
 
311
- // eslint-disable-next-line es/no-object-defineproperty -- safe
312
- var defineProperty$2 = Object.defineProperty;
304
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
305
+ var defineProperty$4 = Object.defineProperty;
313
306
 
314
- var setGlobal$3 = function (key, value) {
307
+ var defineGlobalProperty$3 = function (key, value) {
315
308
  try {
316
- defineProperty$2(global$i, key, { value: value, configurable: true, writable: true });
309
+ defineProperty$4(global$c, key, { value: value, configurable: true, writable: true });
317
310
  } catch (error) {
318
- global$i[key] = value;
311
+ global$c[key] = value;
319
312
  } return value;
320
- };var global$h = global$r;
321
- var setGlobal$2 = setGlobal$3;
313
+ };var global$b = global$f;
314
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
322
315
 
323
316
  var SHARED = '__core-js_shared__';
324
- var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
317
+ var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
325
318
 
326
319
  var sharedStore = store$3;var IS_PURE = isPure;
327
320
  var store$2 = sharedStore;
@@ -329,40 +322,40 @@ var store$2 = sharedStore;
329
322
  (shared$4.exports = function (key, value) {
330
323
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
331
324
  })('versions', []).push({
332
- version: '3.21.1',
325
+ version: '3.23.3',
333
326
  mode: IS_PURE ? 'pure' : 'global',
334
327
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
335
- license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
328
+ license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
336
329
  source: 'https://github.com/zloirock/core-js'
337
330
  });
338
331
 
339
- var shared$3 = shared$4.exports;var global$g = global$r;
340
- var requireObjectCoercible$1 = requireObjectCoercible$3;
332
+ var shared$3 = shared$4.exports;var requireObjectCoercible$1 = requireObjectCoercible$3;
341
333
 
342
- var Object$2 = global$g.Object;
334
+ var $Object$1 = Object;
343
335
 
344
336
  // `ToObject` abstract operation
345
337
  // https://tc39.es/ecma262/#sec-toobject
346
338
  var toObject$2 = function (argument) {
347
- return Object$2(requireObjectCoercible$1(argument));
348
- };var uncurryThis$e = functionUncurryThis;
339
+ return $Object$1(requireObjectCoercible$1(argument));
340
+ };var uncurryThis$f = functionUncurryThis;
349
341
  var toObject$1 = toObject$2;
350
342
 
351
- var hasOwnProperty$1 = uncurryThis$e({}.hasOwnProperty);
343
+ var hasOwnProperty$1 = uncurryThis$f({}.hasOwnProperty);
352
344
 
353
345
  // `HasOwnProperty` abstract operation
354
346
  // https://tc39.es/ecma262/#sec-hasownproperty
347
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
355
348
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
356
349
  return hasOwnProperty$1(toObject$1(it), key);
357
- };var uncurryThis$d = functionUncurryThis;
350
+ };var uncurryThis$e = functionUncurryThis;
358
351
 
359
352
  var id = 0;
360
353
  var postfix = Math.random();
361
- var toString$4 = uncurryThis$d(1.0.toString);
354
+ var toString$4 = uncurryThis$e(1.0.toString);
362
355
 
363
356
  var uid$2 = function (key) {
364
357
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
365
- };var global$f = global$r;
358
+ };var global$a = global$f;
366
359
  var shared$2 = shared$4.exports;
367
360
  var hasOwn$7 = hasOwnProperty_1;
368
361
  var uid$1 = uid$2;
@@ -370,7 +363,7 @@ var NATIVE_SYMBOL = nativeSymbol;
370
363
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
371
364
 
372
365
  var WellKnownSymbolsStore = shared$2('wks');
373
- var Symbol$2 = global$f.Symbol;
366
+ var Symbol$2 = global$a.Symbol;
374
367
  var symbolFor = Symbol$2 && Symbol$2['for'];
375
368
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
376
369
 
@@ -385,15 +378,14 @@ var wellKnownSymbol$5 = function (name) {
385
378
  WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
386
379
  }
387
380
  } return WellKnownSymbolsStore[name];
388
- };var global$e = global$r;
389
- var call$1 = functionCall;
381
+ };var call$2 = functionCall;
390
382
  var isObject$6 = isObject$8;
391
383
  var isSymbol$3 = isSymbol$4;
392
384
  var getMethod = getMethod$1;
393
385
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
394
386
  var wellKnownSymbol$4 = wellKnownSymbol$5;
395
387
 
396
- var TypeError$6 = global$e.TypeError;
388
+ var $TypeError$4 = TypeError;
397
389
  var TO_PRIMITIVE = wellKnownSymbol$4('toPrimitive');
398
390
 
399
391
  // `ToPrimitive` abstract operation
@@ -404,9 +396,9 @@ var toPrimitive$2 = function (input, pref) {
404
396
  var result;
405
397
  if (exoticToPrim) {
406
398
  if (pref === undefined) pref = 'default';
407
- result = call$1(exoticToPrim, input, pref);
399
+ result = call$2(exoticToPrim, input, pref);
408
400
  if (!isObject$6(result) || isSymbol$3(result)) return result;
409
- throw TypeError$6("Can't convert object to primitive value");
401
+ throw $TypeError$4("Can't convert object to primitive value");
410
402
  }
411
403
  if (pref === undefined) pref = 'number';
412
404
  return ordinaryToPrimitive(input, pref);
@@ -418,27 +410,27 @@ var isSymbol$2 = isSymbol$4;
418
410
  var toPropertyKey$2 = function (argument) {
419
411
  var key = toPrimitive$1(argument, 'string');
420
412
  return isSymbol$2(key) ? key : key + '';
421
- };var global$d = global$r;
413
+ };var global$9 = global$f;
422
414
  var isObject$5 = isObject$8;
423
415
 
424
- var document$1 = global$d.document;
416
+ var document$1 = global$9.document;
425
417
  // typeof document.createElement is 'object' in old IE
426
418
  var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
427
419
 
428
420
  var documentCreateElement$2 = function (it) {
429
421
  return EXISTS$1 ? document$1.createElement(it) : {};
430
- };var DESCRIPTORS$9 = descriptors;
431
- var fails$5 = fails$a;
422
+ };var DESCRIPTORS$a = descriptors;
423
+ var fails$7 = fails$c;
432
424
  var createElement = documentCreateElement$2;
433
425
 
434
426
  // Thanks to IE8 for its funny defineProperty
435
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$5(function () {
436
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
427
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
428
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
437
429
  return Object.defineProperty(createElement('div'), 'a', {
438
430
  get: function () { return 7; }
439
431
  }).a != 7;
440
- });var DESCRIPTORS$8 = descriptors;
441
- var call = functionCall;
432
+ });var DESCRIPTORS$9 = descriptors;
433
+ var call$1 = functionCall;
442
434
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
443
435
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
444
436
  var toIndexedObject$4 = toIndexedObject$5;
@@ -446,50 +438,48 @@ var toPropertyKey$1 = toPropertyKey$2;
446
438
  var hasOwn$6 = hasOwnProperty_1;
447
439
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
448
440
 
449
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
441
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
450
442
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
451
443
 
452
444
  // `Object.getOwnPropertyDescriptor` method
453
445
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
454
- var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
446
+ var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
455
447
  O = toIndexedObject$4(O);
456
448
  P = toPropertyKey$1(P);
457
449
  if (IE8_DOM_DEFINE$1) try {
458
450
  return $getOwnPropertyDescriptor$1(O, P);
459
451
  } catch (error) { /* empty */ }
460
- if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
461
- };var objectDefineProperty = {};var DESCRIPTORS$7 = descriptors;
462
- var fails$4 = fails$a;
452
+ if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
453
+ };var objectDefineProperty = {};var DESCRIPTORS$8 = descriptors;
454
+ var fails$6 = fails$c;
463
455
 
464
456
  // V8 ~ Chrome 36-
465
457
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
466
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$4(function () {
467
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
458
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
459
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
468
460
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
469
461
  value: 42,
470
462
  writable: false
471
463
  }).prototype != 42;
472
- });var global$c = global$r;
473
- var isObject$4 = isObject$8;
464
+ });var isObject$4 = isObject$8;
474
465
 
475
- var String$3 = global$c.String;
476
- var TypeError$5 = global$c.TypeError;
466
+ var $String$2 = String;
467
+ var $TypeError$3 = TypeError;
477
468
 
478
469
  // `Assert: Type(argument) is Object`
479
470
  var anObject$5 = function (argument) {
480
471
  if (isObject$4(argument)) return argument;
481
- throw TypeError$5(String$3(argument) + ' is not an object');
482
- };var global$b = global$r;
483
- var DESCRIPTORS$6 = descriptors;
472
+ throw $TypeError$3($String$2(argument) + ' is not an object');
473
+ };var DESCRIPTORS$7 = descriptors;
484
474
  var IE8_DOM_DEFINE = ie8DomDefine;
485
475
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
486
476
  var anObject$4 = anObject$5;
487
477
  var toPropertyKey = toPropertyKey$2;
488
478
 
489
- var TypeError$4 = global$b.TypeError;
490
- // eslint-disable-next-line es/no-object-defineproperty -- safe
479
+ var $TypeError$2 = TypeError;
480
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
491
481
  var $defineProperty = Object.defineProperty;
492
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
482
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
493
483
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
494
484
  var ENUMERABLE = 'enumerable';
495
485
  var CONFIGURABLE$1 = 'configurable';
@@ -497,7 +487,7 @@ var WRITABLE = 'writable';
497
487
 
498
488
  // `Object.defineProperty` method
499
489
  // https://tc39.es/ecma262/#sec-object.defineproperty
500
- var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
490
+ var f$3 = objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
501
491
  anObject$4(O);
502
492
  P = toPropertyKey(P);
503
493
  anObject$4(Attributes);
@@ -519,38 +509,54 @@ var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? f
519
509
  if (IE8_DOM_DEFINE) try {
520
510
  return $defineProperty(O, P, Attributes);
521
511
  } catch (error) { /* empty */ }
522
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
512
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');
523
513
  if ('value' in Attributes) O[P] = Attributes.value;
524
514
  return O;
525
- };var DESCRIPTORS$5 = descriptors;
515
+ };var DESCRIPTORS$6 = descriptors;
526
516
  var definePropertyModule$3 = objectDefineProperty;
527
517
  var createPropertyDescriptor = createPropertyDescriptor$2;
528
518
 
529
- var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
519
+ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
530
520
  return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
531
521
  } : function (object, key, value) {
532
522
  object[key] = value;
533
523
  return object;
534
- };var redefine$4 = {exports: {}};var uncurryThis$c = functionUncurryThis;
535
- var isCallable$8 = isCallable$e;
524
+ };var makeBuiltIn$2 = {exports: {}};var DESCRIPTORS$5 = descriptors;
525
+ var hasOwn$5 = hasOwnProperty_1;
526
+
527
+ var FunctionPrototype$2 = Function.prototype;
528
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
529
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
530
+
531
+ var EXISTS = hasOwn$5(FunctionPrototype$2, 'name');
532
+ // additional protection from minified / mangled / dropped function names
533
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
534
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$2, 'name').configurable));
535
+
536
+ var functionName = {
537
+ EXISTS: EXISTS,
538
+ PROPER: PROPER,
539
+ CONFIGURABLE: CONFIGURABLE
540
+ };var uncurryThis$d = functionUncurryThis;
541
+ var isCallable$a = isCallable$g;
536
542
  var store$1 = sharedStore;
537
543
 
538
- var functionToString$1 = uncurryThis$c(Function.toString);
544
+ var functionToString$1 = uncurryThis$d(Function.toString);
539
545
 
540
546
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
541
- if (!isCallable$8(store$1.inspectSource)) {
547
+ if (!isCallable$a(store$1.inspectSource)) {
542
548
  store$1.inspectSource = function (it) {
543
549
  return functionToString$1(it);
544
550
  };
545
551
  }
546
552
 
547
- var inspectSource$3 = store$1.inspectSource;var global$a = global$r;
548
- var isCallable$7 = isCallable$e;
553
+ var inspectSource$3 = store$1.inspectSource;var global$8 = global$f;
554
+ var isCallable$9 = isCallable$g;
549
555
  var inspectSource$2 = inspectSource$3;
550
556
 
551
- var WeakMap$1 = global$a.WeakMap;
557
+ var WeakMap$1 = global$8.WeakMap;
552
558
 
553
- var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));var shared$1 = shared$4.exports;
559
+ var nativeWeakMap = isCallable$9(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));var shared$1 = shared$4.exports;
554
560
  var uid = uid$2;
555
561
 
556
562
  var keys$1 = shared$1('keys');
@@ -558,18 +564,18 @@ var keys$1 = shared$1('keys');
558
564
  var sharedKey$2 = function (key) {
559
565
  return keys$1[key] || (keys$1[key] = uid(key));
560
566
  };var hiddenKeys$4 = {};var NATIVE_WEAK_MAP = nativeWeakMap;
561
- var global$9 = global$r;
562
- var uncurryThis$b = functionUncurryThis;
567
+ var global$7 = global$f;
568
+ var uncurryThis$c = functionUncurryThis;
563
569
  var isObject$3 = isObject$8;
564
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
565
- var hasOwn$5 = hasOwnProperty_1;
570
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
571
+ var hasOwn$4 = hasOwnProperty_1;
566
572
  var shared = sharedStore;
567
573
  var sharedKey$1 = sharedKey$2;
568
574
  var hiddenKeys$3 = hiddenKeys$4;
569
575
 
570
576
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
571
- var TypeError$3 = global$9.TypeError;
572
- var WeakMap = global$9.WeakMap;
577
+ var TypeError$2 = global$7.TypeError;
578
+ var WeakMap = global$7.WeakMap;
573
579
  var set$1, get, has;
574
580
 
575
581
  var enforce = function (it) {
@@ -580,18 +586,18 @@ var getterFor = function (TYPE) {
580
586
  return function (it) {
581
587
  var state;
582
588
  if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
583
- throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
589
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
584
590
  } return state;
585
591
  };
586
592
  };
587
593
 
588
594
  if (NATIVE_WEAK_MAP || shared.state) {
589
595
  var store = shared.state || (shared.state = new WeakMap());
590
- var wmget = uncurryThis$b(store.get);
591
- var wmhas = uncurryThis$b(store.has);
592
- var wmset = uncurryThis$b(store.set);
596
+ var wmget = uncurryThis$c(store.get);
597
+ var wmhas = uncurryThis$c(store.has);
598
+ var wmset = uncurryThis$c(store.set);
593
599
  set$1 = function (it, metadata) {
594
- if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
600
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
595
601
  metadata.facade = it;
596
602
  wmset(store, it, metadata);
597
603
  return metadata;
@@ -606,16 +612,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
606
612
  var STATE = sharedKey$1('state');
607
613
  hiddenKeys$3[STATE] = true;
608
614
  set$1 = function (it, metadata) {
609
- if (hasOwn$5(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
615
+ if (hasOwn$4(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
610
616
  metadata.facade = it;
611
- createNonEnumerableProperty$3(it, STATE, metadata);
617
+ createNonEnumerableProperty$2(it, STATE, metadata);
612
618
  return metadata;
613
619
  };
614
620
  get = function (it) {
615
- return hasOwn$5(it, STATE) ? it[STATE] : {};
621
+ return hasOwn$4(it, STATE) ? it[STATE] : {};
616
622
  };
617
623
  has = function (it) {
618
- return hasOwn$5(it, STATE);
624
+ return hasOwn$4(it, STATE);
619
625
  };
620
626
  }
621
627
 
@@ -625,78 +631,99 @@ var internalState = {
625
631
  has: has,
626
632
  enforce: enforce,
627
633
  getterFor: getterFor
628
- };var DESCRIPTORS$4 = descriptors;
629
- var hasOwn$4 = hasOwnProperty_1;
630
-
631
- var FunctionPrototype$1 = Function.prototype;
632
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
633
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
634
-
635
- var EXISTS = hasOwn$4(FunctionPrototype$1, 'name');
636
- // additional protection from minified / mangled / dropped function names
637
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
638
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
639
-
640
- var functionName = {
641
- EXISTS: EXISTS,
642
- PROPER: PROPER,
643
- CONFIGURABLE: CONFIGURABLE
644
- };var global$8 = global$r;
645
- var isCallable$6 = isCallable$e;
634
+ };var fails$5 = fails$c;
635
+ var isCallable$8 = isCallable$g;
646
636
  var hasOwn$3 = hasOwnProperty_1;
647
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
648
- var setGlobal$1 = setGlobal$3;
637
+ var DESCRIPTORS$4 = descriptors;
638
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
649
639
  var inspectSource$1 = inspectSource$3;
650
640
  var InternalStateModule = internalState;
651
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
652
641
 
653
- var getInternalState = InternalStateModule.get;
654
642
  var enforceInternalState = InternalStateModule.enforce;
643
+ var getInternalState = InternalStateModule.get;
644
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
645
+ var defineProperty$3 = Object.defineProperty;
646
+
647
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
648
+ return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
649
+ });
650
+
655
651
  var TEMPLATE = String(String).split('String');
656
652
 
657
- (redefine$4.exports = function (O, key, value, options) {
658
- var unsafe = options ? !!options.unsafe : false;
659
- var simple = options ? !!options.enumerable : false;
660
- var noTargetGet = options ? !!options.noTargetGet : false;
661
- var name = options && options.name !== undefined ? options.name : key;
662
- var state;
663
- if (isCallable$6(value)) {
664
- if (String(name).slice(0, 7) === 'Symbol(') {
665
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
666
- }
667
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
668
- createNonEnumerableProperty$2(value, 'name', name);
669
- }
670
- state = enforceInternalState(value);
671
- if (!state.source) {
672
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
673
- }
653
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
654
+ if (String(name).slice(0, 7) === 'Symbol(') {
655
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
674
656
  }
675
- if (O === global$8) {
676
- if (simple) O[key] = value;
677
- else setGlobal$1(key, value);
678
- return;
679
- } else if (!unsafe) {
680
- delete O[key];
681
- } else if (!noTargetGet && O[key]) {
682
- simple = true;
657
+ if (options && options.getter) name = 'get ' + name;
658
+ if (options && options.setter) name = 'set ' + name;
659
+ if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
660
+ if (DESCRIPTORS$4) defineProperty$3(value, 'name', { value: name, configurable: true });
661
+ else value.name = name;
683
662
  }
684
- if (simple) O[key] = value;
685
- else createNonEnumerableProperty$2(O, key, value);
663
+ if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
664
+ defineProperty$3(value, 'length', { value: options.arity });
665
+ }
666
+ try {
667
+ if (options && hasOwn$3(options, 'constructor') && options.constructor) {
668
+ if (DESCRIPTORS$4) defineProperty$3(value, 'prototype', { writable: false });
669
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
670
+ } else if (value.prototype) value.prototype = undefined;
671
+ } catch (error) { /* empty */ }
672
+ var state = enforceInternalState(value);
673
+ if (!hasOwn$3(state, 'source')) {
674
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
675
+ } return value;
676
+ };
677
+
686
678
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
687
- })(Function.prototype, 'toString', function toString() {
688
- return isCallable$6(this) && getInternalState(this).source || inspectSource$1(this);
689
- });
679
+ // eslint-disable-next-line no-extend-native -- required
680
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
681
+ return isCallable$8(this) && getInternalState(this).source || inspectSource$1(this);
682
+ }, 'toString');
690
683
 
691
- var redefine$3 = redefine$4.exports;var objectGetOwnPropertyNames = {};var ceil = Math.ceil;
684
+ var makeBuiltIn_1 = makeBuiltIn$2.exports;var isCallable$7 = isCallable$g;
685
+ var definePropertyModule$2 = objectDefineProperty;
686
+ var makeBuiltIn = makeBuiltIn$2.exports;
687
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
688
+
689
+ var defineBuiltIn$3 = function (O, key, value, options) {
690
+ if (!options) options = {};
691
+ var simple = options.enumerable;
692
+ var name = options.name !== undefined ? options.name : key;
693
+ if (isCallable$7(value)) makeBuiltIn(value, name, options);
694
+ if (options.global) {
695
+ if (simple) O[key] = value;
696
+ else defineGlobalProperty$1(key, value);
697
+ } else {
698
+ try {
699
+ if (!options.unsafe) delete O[key];
700
+ else if (O[key]) simple = true;
701
+ } catch (error) { /* empty */ }
702
+ if (simple) O[key] = value;
703
+ else definePropertyModule$2.f(O, key, {
704
+ value: value,
705
+ enumerable: false,
706
+ configurable: !options.nonConfigurable,
707
+ writable: !options.nonWritable
708
+ });
709
+ } return O;
710
+ };var objectGetOwnPropertyNames = {};var ceil = Math.ceil;
692
711
  var floor = Math.floor;
693
712
 
713
+ // `Math.trunc` method
714
+ // https://tc39.es/ecma262/#sec-math.trunc
715
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
716
+ var mathTrunc = Math.trunc || function trunc(x) {
717
+ var n = +x;
718
+ return (n > 0 ? floor : ceil)(n);
719
+ };var trunc = mathTrunc;
720
+
694
721
  // `ToIntegerOrInfinity` abstract operation
695
722
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
696
723
  var toIntegerOrInfinity$2 = function (argument) {
697
724
  var number = +argument;
698
- // eslint-disable-next-line no-self-compare -- safe
699
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
725
+ // eslint-disable-next-line no-self-compare -- NaN check
726
+ return number !== number || number === 0 ? 0 : trunc(number);
700
727
  };var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
701
728
 
702
729
  var max = Math.max;
@@ -753,13 +780,13 @@ var arrayIncludes = {
753
780
  // `Array.prototype.indexOf` method
754
781
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
755
782
  indexOf: createMethod$3(false)
756
- };var uncurryThis$a = functionUncurryThis;
783
+ };var uncurryThis$b = functionUncurryThis;
757
784
  var hasOwn$2 = hasOwnProperty_1;
758
785
  var toIndexedObject$2 = toIndexedObject$5;
759
786
  var indexOf = arrayIncludes.indexOf;
760
787
  var hiddenKeys$2 = hiddenKeys$4;
761
788
 
762
- var push$2 = uncurryThis$a([].push);
789
+ var push$2 = uncurryThis$b([].push);
763
790
 
764
791
  var objectKeysInternal = function (object, names) {
765
792
  var O = toIndexedObject$2(object);
@@ -788,17 +815,17 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
788
815
 
789
816
  // `Object.getOwnPropertyNames` method
790
817
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
791
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
818
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
792
819
  var f$2 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
793
820
  return internalObjectKeys$1(O, hiddenKeys$1);
794
- };var objectGetOwnPropertySymbols = {};// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
821
+ };var objectGetOwnPropertySymbols = {};// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
795
822
  var f$1 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;var getBuiltIn$2 = getBuiltIn$5;
796
- var uncurryThis$9 = functionUncurryThis;
823
+ var uncurryThis$a = functionUncurryThis;
797
824
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
798
825
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
799
826
  var anObject$3 = anObject$5;
800
827
 
801
- var concat = uncurryThis$9([].concat);
828
+ var concat = uncurryThis$a([].concat);
802
829
 
803
830
  // all object keys, includes non-enumerable and symbols
804
831
  var ownKeys$2 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -808,11 +835,11 @@ var ownKeys$2 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
808
835
  };var hasOwn$1 = hasOwnProperty_1;
809
836
  var ownKeys$1 = ownKeys$2;
810
837
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
811
- var definePropertyModule$2 = objectDefineProperty;
838
+ var definePropertyModule$1 = objectDefineProperty;
812
839
 
813
840
  var copyConstructorProperties$1 = function (target, source, exceptions) {
814
841
  var keys = ownKeys$1(source);
815
- var defineProperty = definePropertyModule$2.f;
842
+ var defineProperty = definePropertyModule$1.f;
816
843
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
817
844
  for (var i = 0; i < keys.length; i++) {
818
845
  var key = keys[i];
@@ -820,8 +847,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
820
847
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
821
848
  }
822
849
  }
823
- };var fails$3 = fails$a;
824
- var isCallable$5 = isCallable$e;
850
+ };var fails$4 = fails$c;
851
+ var isCallable$6 = isCallable$g;
825
852
 
826
853
  var replacement = /#|\.prototype\./;
827
854
 
@@ -829,7 +856,7 @@ var isForced$2 = function (feature, detection) {
829
856
  var value = data[normalize(feature)];
830
857
  return value == POLYFILL ? true
831
858
  : value == NATIVE ? false
832
- : isCallable$5(detection) ? fails$3(detection)
859
+ : isCallable$6(detection) ? fails$4(detection)
833
860
  : !!detection;
834
861
  };
835
862
 
@@ -841,28 +868,28 @@ var data = isForced$2.data = {};
841
868
  var NATIVE = isForced$2.NATIVE = 'N';
842
869
  var POLYFILL = isForced$2.POLYFILL = 'P';
843
870
 
844
- var isForced_1 = isForced$2;var global$7 = global$r;
871
+ var isForced_1 = isForced$2;var global$6 = global$f;
845
872
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
846
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
847
- var redefine$2 = redefine$4.exports;
848
- var setGlobal = setGlobal$3;
873
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
874
+ var defineBuiltIn$2 = defineBuiltIn$3;
875
+ var defineGlobalProperty = defineGlobalProperty$3;
849
876
  var copyConstructorProperties = copyConstructorProperties$1;
850
877
  var isForced$1 = isForced_1;
851
878
 
852
879
  /*
853
- options.target - name of the target object
854
- options.global - target is the global object
855
- options.stat - export as static methods of target
856
- options.proto - export as prototype methods of target
857
- options.real - real prototype method for the `pure` version
858
- options.forced - export even if the native feature is available
859
- options.bind - bind methods to the target, required for the `pure` version
860
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
861
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
862
- options.sham - add a flag to not completely full polyfills
863
- options.enumerable - export as enumerable property
864
- options.noTargetGet - prevent calling a getter on target
865
- options.name - the .name of the function if it does not match the key
880
+ options.target - name of the target object
881
+ options.global - target is the global object
882
+ options.stat - export as static methods of target
883
+ options.proto - export as prototype methods of target
884
+ options.real - real prototype method for the `pure` version
885
+ options.forced - export even if the native feature is available
886
+ options.bind - bind methods to the target, required for the `pure` version
887
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
888
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
889
+ options.sham - add a flag to not completely full polyfills
890
+ options.enumerable - export as enumerable property
891
+ options.dontCallGetSet - prevent calling a getter on target
892
+ options.name - the .name of the function if it does not match the key
866
893
  */
867
894
  var _export = function (options, source) {
868
895
  var TARGET = options.target;
@@ -870,15 +897,15 @@ var _export = function (options, source) {
870
897
  var STATIC = options.stat;
871
898
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
872
899
  if (GLOBAL) {
873
- target = global$7;
900
+ target = global$6;
874
901
  } else if (STATIC) {
875
- target = global$7[TARGET] || setGlobal(TARGET, {});
902
+ target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
876
903
  } else {
877
- target = (global$7[TARGET] || {}).prototype;
904
+ target = (global$6[TARGET] || {}).prototype;
878
905
  }
879
906
  if (target) for (key in source) {
880
907
  sourceProperty = source[key];
881
- if (options.noTargetGet) {
908
+ if (options.dontCallGetSet) {
882
909
  descriptor = getOwnPropertyDescriptor$1(target, key);
883
910
  targetProperty = descriptor && descriptor.value;
884
911
  } else targetProperty = target[key];
@@ -892,26 +919,25 @@ var _export = function (options, source) {
892
919
  if (options.sham || (targetProperty && targetProperty.sham)) {
893
920
  createNonEnumerableProperty$1(sourceProperty, 'sham', true);
894
921
  }
895
- // extend global
896
- redefine$2(target, key, sourceProperty, options);
922
+ defineBuiltIn$2(target, key, sourceProperty, options);
897
923
  }
898
- };var uncurryThis$8 = functionUncurryThis;
924
+ };var uncurryThis$9 = functionUncurryThis;
899
925
  var aCallable = aCallable$2;
900
- var NATIVE_BIND = functionBindNative;
926
+ var NATIVE_BIND$1 = functionBindNative;
901
927
 
902
- var bind$1 = uncurryThis$8(uncurryThis$8.bind);
928
+ var bind$1 = uncurryThis$9(uncurryThis$9.bind);
903
929
 
904
930
  // optional / simple context binding
905
931
  var functionBindContext = function (fn, that) {
906
932
  aCallable(fn);
907
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
933
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) {
908
934
  return fn.apply(that, arguments);
909
935
  };
910
936
  };var classof$4 = classofRaw$1;
911
937
 
912
938
  // `IsArray` abstract operation
913
939
  // https://tc39.es/ecma262/#sec-isarray
914
- // eslint-disable-next-line es/no-array-isarray -- safe
940
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
915
941
  var isArray$2 = Array.isArray || function isArray(argument) {
916
942
  return classof$4(argument) == 'Array';
917
943
  };var wellKnownSymbol$3 = wellKnownSymbol$5;
@@ -921,14 +947,13 @@ var test = {};
921
947
 
922
948
  test[TO_STRING_TAG$1] = 'z';
923
949
 
924
- var toStringTagSupport = String(test) === '[object z]';var global$6 = global$r;
925
- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
926
- var isCallable$4 = isCallable$e;
950
+ var toStringTagSupport = String(test) === '[object z]';var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
951
+ var isCallable$5 = isCallable$g;
927
952
  var classofRaw = classofRaw$1;
928
953
  var wellKnownSymbol$2 = wellKnownSymbol$5;
929
954
 
930
955
  var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
931
- var Object$1 = global$6.Object;
956
+ var $Object = Object;
932
957
 
933
958
  // ES3 wrong here
934
959
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -945,14 +970,14 @@ var classof$3 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
945
970
  var O, tag, result;
946
971
  return it === undefined ? 'Undefined' : it === null ? 'Null'
947
972
  // @@toStringTag case
948
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
973
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
949
974
  // builtinTag case
950
975
  : CORRECT_ARGUMENTS ? classofRaw(O)
951
976
  // ES3 arguments fallback
952
- : (result = classofRaw(O)) == 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
953
- };var uncurryThis$7 = functionUncurryThis;
954
- var fails$2 = fails$a;
955
- var isCallable$3 = isCallable$e;
977
+ : (result = classofRaw(O)) == 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
978
+ };var uncurryThis$8 = functionUncurryThis;
979
+ var fails$3 = fails$c;
980
+ var isCallable$4 = isCallable$g;
956
981
  var classof$2 = classof$3;
957
982
  var getBuiltIn$1 = getBuiltIn$5;
958
983
  var inspectSource = inspectSource$3;
@@ -961,11 +986,11 @@ var noop = function () { /* empty */ };
961
986
  var empty = [];
962
987
  var construct = getBuiltIn$1('Reflect', 'construct');
963
988
  var constructorRegExp = /^\s*(?:class|function)\b/;
964
- var exec = uncurryThis$7(constructorRegExp.exec);
989
+ var exec = uncurryThis$8(constructorRegExp.exec);
965
990
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
966
991
 
967
992
  var isConstructorModern = function isConstructor(argument) {
968
- if (!isCallable$3(argument)) return false;
993
+ if (!isCallable$4(argument)) return false;
969
994
  try {
970
995
  construct(noop, empty, argument);
971
996
  return true;
@@ -975,7 +1000,7 @@ var isConstructorModern = function isConstructor(argument) {
975
1000
  };
976
1001
 
977
1002
  var isConstructorLegacy = function isConstructor(argument) {
978
- if (!isCallable$3(argument)) return false;
1003
+ if (!isCallable$4(argument)) return false;
979
1004
  switch (classof$2(argument)) {
980
1005
  case 'AsyncFunction':
981
1006
  case 'GeneratorFunction':
@@ -995,20 +1020,19 @@ isConstructorLegacy.sham = true;
995
1020
 
996
1021
  // `IsConstructor` abstract operation
997
1022
  // https://tc39.es/ecma262/#sec-isconstructor
998
- var isConstructor$1 = !construct || fails$2(function () {
1023
+ var isConstructor$1 = !construct || fails$3(function () {
999
1024
  var called;
1000
1025
  return isConstructorModern(isConstructorModern.call)
1001
1026
  || !isConstructorModern(Object)
1002
1027
  || !isConstructorModern(function () { called = true; })
1003
1028
  || called;
1004
- }) ? isConstructorLegacy : isConstructorModern;var global$5 = global$r;
1005
- var isArray$1 = isArray$2;
1029
+ }) ? isConstructorLegacy : isConstructorModern;var isArray$1 = isArray$2;
1006
1030
  var isConstructor = isConstructor$1;
1007
1031
  var isObject$2 = isObject$8;
1008
1032
  var wellKnownSymbol$1 = wellKnownSymbol$5;
1009
1033
 
1010
1034
  var SPECIES = wellKnownSymbol$1('species');
1011
- var Array$1 = global$5.Array;
1035
+ var $Array = Array;
1012
1036
 
1013
1037
  // a part of `ArraySpeciesCreate` abstract operation
1014
1038
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -1017,12 +1041,12 @@ var arraySpeciesConstructor$1 = function (originalArray) {
1017
1041
  if (isArray$1(originalArray)) {
1018
1042
  C = originalArray.constructor;
1019
1043
  // cross-realm fallback
1020
- if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
1044
+ if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
1021
1045
  else if (isObject$2(C)) {
1022
1046
  C = C[SPECIES];
1023
1047
  if (C === null) C = undefined;
1024
1048
  }
1025
- } return C === undefined ? Array$1 : C;
1049
+ } return C === undefined ? $Array : C;
1026
1050
  };var arraySpeciesConstructor = arraySpeciesConstructor$1;
1027
1051
 
1028
1052
  // `ArraySpeciesCreate` abstract operation
@@ -1030,13 +1054,13 @@ var arraySpeciesConstructor$1 = function (originalArray) {
1030
1054
  var arraySpeciesCreate$1 = function (originalArray, length) {
1031
1055
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1032
1056
  };var bind = functionBindContext;
1033
- var uncurryThis$6 = functionUncurryThis;
1057
+ var uncurryThis$7 = functionUncurryThis;
1034
1058
  var IndexedObject = indexedObject;
1035
1059
  var toObject = toObject$2;
1036
1060
  var lengthOfArrayLike = lengthOfArrayLike$2;
1037
1061
  var arraySpeciesCreate = arraySpeciesCreate$1;
1038
1062
 
1039
- var push$1 = uncurryThis$6([].push);
1063
+ var push$1 = uncurryThis$7([].push);
1040
1064
 
1041
1065
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1042
1066
  var createMethod$2 = function (TYPE) {
@@ -1102,11 +1126,11 @@ var arrayIteration = {
1102
1126
  // https://github.com/tc39/proposal-array-filtering
1103
1127
  filterReject: createMethod$2(7)
1104
1128
  };'use strict';
1105
- var fails$1 = fails$a;
1129
+ var fails$2 = fails$c;
1106
1130
 
1107
1131
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
1108
1132
  var method = [][METHOD_NAME];
1109
- return !!method && fails$1(function () {
1133
+ return !!method && fails$2(function () {
1110
1134
  // eslint-disable-next-line no-useless-call -- required for testing
1111
1135
  method.call(null, argument || function () { return 1; }, 1);
1112
1136
  });
@@ -1120,15 +1144,15 @@ var STRICT_METHOD = arrayMethodIsStrict('forEach');
1120
1144
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1121
1145
  var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
1122
1146
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1123
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1147
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
1124
1148
  } : [].forEach;'use strict';
1125
- var $$3 = _export;
1149
+ var $$5 = _export;
1126
1150
  var forEach$1 = arrayForEach;
1127
1151
 
1128
1152
  // `Array.prototype.forEach` method
1129
1153
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1130
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1131
- $$3({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
1154
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
1155
+ $$5({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
1132
1156
  forEach: forEach$1
1133
1157
  });var es_object_toString = {};'use strict';
1134
1158
  var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
@@ -1139,13 +1163,13 @@ var classof$1 = classof$3;
1139
1163
  var objectToString$1 = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1140
1164
  return '[object ' + classof$1(this) + ']';
1141
1165
  };var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1142
- var redefine$1 = redefine$4.exports;
1166
+ var defineBuiltIn$1 = defineBuiltIn$3;
1143
1167
  var toString$3 = objectToString$1;
1144
1168
 
1145
1169
  // `Object.prototype.toString` method
1146
1170
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1147
1171
  if (!TO_STRING_TAG_SUPPORT) {
1148
- redefine$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1172
+ defineBuiltIn$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1149
1173
  }var web_domCollections_forEach = {};// iterable DOM collections
1150
1174
  // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1151
1175
  var domIterables = {
@@ -1186,11 +1210,11 @@ var documentCreateElement$1 = documentCreateElement$2;
1186
1210
  var classList = documentCreateElement$1('span').classList;
1187
1211
  var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1188
1212
 
1189
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;var global$4 = global$r;
1213
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;var global$5 = global$f;
1190
1214
  var DOMIterables = domIterables;
1191
1215
  var DOMTokenListPrototype = domTokenListPrototype;
1192
1216
  var forEach = arrayForEach;
1193
- var createNonEnumerableProperty = createNonEnumerableProperty$4;
1217
+ var createNonEnumerableProperty = createNonEnumerableProperty$3;
1194
1218
 
1195
1219
  var handlePrototype = function (CollectionPrototype) {
1196
1220
  // some Chrome versions have non-configurable methods on DOMTokenList
@@ -1203,7 +1227,7 @@ var handlePrototype = function (CollectionPrototype) {
1203
1227
 
1204
1228
  for (var COLLECTION_NAME in DOMIterables) {
1205
1229
  if (DOMIterables[COLLECTION_NAME]) {
1206
- handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype);
1230
+ handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype);
1207
1231
  }
1208
1232
  }
1209
1233
 
@@ -1212,17 +1236,17 @@ var enumBugKeys$1 = enumBugKeys$3;
1212
1236
 
1213
1237
  // `Object.keys` method
1214
1238
  // https://tc39.es/ecma262/#sec-object.keys
1215
- // eslint-disable-next-line es/no-object-keys -- safe
1239
+ // eslint-disable-next-line es-x/no-object-keys -- safe
1216
1240
  var objectKeys$2 = Object.keys || function keys(O) {
1217
1241
  return internalObjectKeys(O, enumBugKeys$1);
1218
1242
  };var DESCRIPTORS$3 = descriptors;
1219
- var uncurryThis$5 = functionUncurryThis;
1243
+ var uncurryThis$6 = functionUncurryThis;
1220
1244
  var objectKeys$1 = objectKeys$2;
1221
1245
  var toIndexedObject$1 = toIndexedObject$5;
1222
1246
  var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
1223
1247
 
1224
- var propertyIsEnumerable = uncurryThis$5($propertyIsEnumerable);
1225
- var push = uncurryThis$5([].push);
1248
+ var propertyIsEnumerable = uncurryThis$6($propertyIsEnumerable);
1249
+ var push = uncurryThis$6([].push);
1226
1250
 
1227
1251
  // `Object.{ entries, values }` methods implementation
1228
1252
  var createMethod$1 = function (TO_ENTRIES) {
@@ -1250,12 +1274,12 @@ var objectToArray = {
1250
1274
  // `Object.values` method
1251
1275
  // https://tc39.es/ecma262/#sec-object.values
1252
1276
  values: createMethod$1(false)
1253
- };var $$2 = _export;
1277
+ };var $$4 = _export;
1254
1278
  var $entries = objectToArray.entries;
1255
1279
 
1256
1280
  // `Object.entries` method
1257
1281
  // https://tc39.es/ecma262/#sec-object.entries
1258
- $$2({ target: 'Object', stat: true }, {
1282
+ $$4({ target: 'Object', stat: true }, {
1259
1283
  entries: function entries(O) {
1260
1284
  return $entries(O);
1261
1285
  }
@@ -1271,7 +1295,29 @@ function getTarget() {
1271
1295
  : {};
1272
1296
  }
1273
1297
  const isProxyAvailable = typeof Proxy === 'function';const HOOK_SETUP = 'devtools-plugin:setup';
1274
- const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';class ApiProxy {
1298
+ const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';let supported;
1299
+ let perf;
1300
+ function isPerformanceSupported() {
1301
+ var _a;
1302
+ if (supported !== undefined) {
1303
+ return supported;
1304
+ }
1305
+ if (typeof window !== 'undefined' && window.performance) {
1306
+ supported = true;
1307
+ perf = window.performance;
1308
+ }
1309
+ else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
1310
+ supported = true;
1311
+ perf = global.perf_hooks.performance;
1312
+ }
1313
+ else {
1314
+ supported = false;
1315
+ }
1316
+ return supported;
1317
+ }
1318
+ function now() {
1319
+ return isPerformanceSupported() ? perf.now() : Date.now();
1320
+ }class ApiProxy {
1275
1321
  constructor(plugin, hook) {
1276
1322
  this.target = null;
1277
1323
  this.targetQueue = [];
@@ -1308,6 +1354,9 @@ const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';class ApiProxy {
1308
1354
  }
1309
1355
  currentSettings = value;
1310
1356
  },
1357
+ now() {
1358
+ return now();
1359
+ },
1311
1360
  };
1312
1361
  if (hook) {
1313
1362
  hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
@@ -1392,12 +1441,12 @@ const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';class ApiProxy {
1392
1441
  setupFn(proxy.proxiedTarget);
1393
1442
  }
1394
1443
  }/**
1395
- * vee-validate v4.5.9
1444
+ * vee-validate v4.5.11
1396
1445
  * (c) 2022 Abdelrahman Awad
1397
1446
  * @license MIT
1398
1447
  */
1399
1448
 
1400
- function isCallable$2(fn) {
1449
+ function isCallable$3(fn) {
1401
1450
  return typeof fn === 'function';
1402
1451
  }
1403
1452
  function isNullOrUndefined(value) {
@@ -1431,7 +1480,7 @@ function resolveRule(id) {
1431
1480
  * Guards from extension violations.
1432
1481
  */
1433
1482
  function guardExtend(id, validator) {
1434
- if (isCallable$2(validator)) {
1483
+ if (isCallable$3(validator)) {
1435
1484
  return;
1436
1485
  }
1437
1486
  throw new Error(`Extension Error: The validator '${id}' must be a function.`);
@@ -1442,7 +1491,7 @@ const FieldContextKey = Symbol('vee-validate-field-instance');
1442
1491
  const IS_ABSENT = Symbol('Default empty value');
1443
1492
 
1444
1493
  function isLocator(value) {
1445
- return isCallable$2(value) && !!value.__locatorRef;
1494
+ return isCallable$3(value) && !!value.__locatorRef;
1446
1495
  }
1447
1496
  /**
1448
1497
  * Checks if an tag name is a native HTML tag and not a Vue component
@@ -1457,7 +1506,7 @@ function isFileInputNode(tag, attrs) {
1457
1506
  return isHTMLTag(tag) && attrs.type === 'file';
1458
1507
  }
1459
1508
  function isYupValidator(value) {
1460
- return !!value && isCallable$2(value.validate);
1509
+ return !!value && isCallable$3(value.validate);
1461
1510
  }
1462
1511
  function hasCheckedAttr(type) {
1463
1512
  return type === 'checkbox' || type === 'radio';
@@ -1517,7 +1566,7 @@ function isEvent(evt) {
1517
1566
  if (!evt) {
1518
1567
  return false;
1519
1568
  }
1520
- if (typeof Event !== 'undefined' && isCallable$2(Event) && evt instanceof Event) {
1569
+ if (typeof Event !== 'undefined' && isCallable$3(Event) && evt instanceof Event) {
1521
1570
  return true;
1522
1571
  }
1523
1572
  // this is for IE and Cypress #3161
@@ -1894,18 +1943,34 @@ async function _validate(field, value) {
1894
1943
  if (isYupValidator(field.rules)) {
1895
1944
  return validateFieldWithYup(value, field.rules, { bails: field.bails });
1896
1945
  }
1897
- // if a generic function, use it as the pipeline.
1898
- if (isCallable$2(field.rules)) {
1946
+ // if a generic function or chain of generic functions
1947
+ if (isCallable$3(field.rules) || Array.isArray(field.rules)) {
1899
1948
  const ctx = {
1900
1949
  field: field.name,
1901
1950
  form: field.formData,
1902
1951
  value: value,
1903
1952
  };
1904
- const result = await field.rules(value, ctx);
1905
- const isValid = typeof result !== 'string' && result;
1906
- const message = typeof result === 'string' ? result : _generateFieldError(ctx);
1953
+ // Normalize the pipeline
1954
+ const pipeline = Array.isArray(field.rules) ? field.rules : [field.rules];
1955
+ const length = pipeline.length;
1956
+ const errors = [];
1957
+ for (let i = 0; i < length; i++) {
1958
+ const rule = pipeline[i];
1959
+ const result = await rule(value, ctx);
1960
+ const isValid = typeof result !== 'string' && result;
1961
+ if (isValid) {
1962
+ continue;
1963
+ }
1964
+ const message = typeof result === 'string' ? result : _generateFieldError(ctx);
1965
+ errors.push(message);
1966
+ if (field.bails) {
1967
+ return {
1968
+ errors,
1969
+ };
1970
+ }
1971
+ }
1907
1972
  return {
1908
- errors: !isValid ? [message] : [],
1973
+ errors,
1909
1974
  };
1910
1975
  }
1911
1976
  const normalizedContext = Object.assign(Object.assign({}, field), { rules: normalizeRules(field.rules) });
@@ -2690,6 +2755,8 @@ function useField(name, rules, opts) {
2690
2755
  function _useField(name, rules, opts) {
2691
2756
  const { initialValue: modelValue, validateOnMount, bails, type, checkedValue, label, validateOnValueUpdate, uncheckedValue, standalone, } = normalizeOptions(vue.unref(name), opts);
2692
2757
  const form = !standalone ? injectWithSelf(FormContextKey) : undefined;
2758
+ // a flag indicating if the field is about to be removed/unmounted.
2759
+ let markedForRemoval = false;
2693
2760
  const { id, value, initialValue, meta, setState, errors, errorMessage } = useFieldState(name, {
2694
2761
  modelValue,
2695
2762
  standalone,
@@ -2706,7 +2773,7 @@ function _useField(name, rules, opts) {
2706
2773
  if (schema && !isYupValidator(schema)) {
2707
2774
  rulesValue = extractRuleFromSchema(schema, vue.unref(name)) || rulesValue;
2708
2775
  }
2709
- if (isYupValidator(rulesValue) || isCallable$2(rulesValue)) {
2776
+ if (isYupValidator(rulesValue) || isCallable$3(rulesValue) || Array.isArray(rulesValue)) {
2710
2777
  return rulesValue;
2711
2778
  }
2712
2779
  return normalizeRules(rulesValue);
@@ -2726,12 +2793,19 @@ function _useField(name, rules, opts) {
2726
2793
  meta.pending = true;
2727
2794
  meta.validated = true;
2728
2795
  const result = await validateCurrentValue('validated-only');
2796
+ if (markedForRemoval) {
2797
+ result.valid = true;
2798
+ result.errors = [];
2799
+ }
2729
2800
  setState({ errors: result.errors });
2730
2801
  meta.pending = false;
2731
2802
  return result;
2732
2803
  }
2733
2804
  async function validateValidStateOnly() {
2734
2805
  const result = await validateCurrentValue('silent');
2806
+ if (markedForRemoval) {
2807
+ result.valid = true;
2808
+ }
2735
2809
  meta.valid = result.valid;
2736
2810
  return result;
2737
2811
  }
@@ -2846,13 +2920,14 @@ function _useField(name, rules, opts) {
2846
2920
  // associate the field with the given form
2847
2921
  form.register(field);
2848
2922
  vue.onBeforeUnmount(() => {
2923
+ markedForRemoval = true;
2849
2924
  form.unregister(field);
2850
2925
  });
2851
2926
  // extract cross-field dependencies in a computed prop
2852
2927
  const dependencies = vue.computed(() => {
2853
2928
  const rulesVal = normalizedRules.value;
2854
2929
  // is falsy, a function schema or a yup schema
2855
- if (!rulesVal || isCallable$2(rulesVal) || isYupValidator(rulesVal)) {
2930
+ if (!rulesVal || isCallable$3(rulesVal) || isYupValidator(rulesVal) || Array.isArray(rulesVal)) {
2856
2931
  return {};
2857
2932
  }
2858
2933
  return Object.keys(rulesVal).reduce((acc, rule) => {
@@ -4387,14 +4462,14 @@ function useSubmitForm(cb) {
4387
4462
  };
4388
4463
  }var es_array_includes = {};var objectDefineProperties = {};var DESCRIPTORS$2 = descriptors;
4389
4464
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
4390
- var definePropertyModule$1 = objectDefineProperty;
4465
+ var definePropertyModule = objectDefineProperty;
4391
4466
  var anObject$2 = anObject$5;
4392
4467
  var toIndexedObject = toIndexedObject$5;
4393
4468
  var objectKeys = objectKeys$2;
4394
4469
 
4395
4470
  // `Object.defineProperties` method
4396
4471
  // https://tc39.es/ecma262/#sec-object.defineproperties
4397
- // eslint-disable-next-line es/no-object-defineproperties -- safe
4472
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
4398
4473
  var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
4399
4474
  anObject$2(O);
4400
4475
  var props = toIndexedObject(Properties);
@@ -4402,7 +4477,7 @@ var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? O
4402
4477
  var length = keys.length;
4403
4478
  var index = 0;
4404
4479
  var key;
4405
- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
4480
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
4406
4481
  return O;
4407
4482
  };var getBuiltIn = getBuiltIn$5;
4408
4483
 
@@ -4478,6 +4553,7 @@ hiddenKeys[IE_PROTO] = true;
4478
4553
 
4479
4554
  // `Object.create` method
4480
4555
  // https://tc39.es/ecma262/#sec-object.create
4556
+ // eslint-disable-next-line es-x/no-object-create -- safe
4481
4557
  var objectCreate = Object.create || function create(O, Properties) {
4482
4558
  var result;
4483
4559
  if (O !== null) {
@@ -4490,7 +4566,7 @@ var objectCreate = Object.create || function create(O, Properties) {
4490
4566
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
4491
4567
  };var wellKnownSymbol = wellKnownSymbol$5;
4492
4568
  var create = objectCreate;
4493
- var definePropertyModule = objectDefineProperty;
4569
+ var defineProperty$2 = objectDefineProperty.f;
4494
4570
 
4495
4571
  var UNSCOPABLES = wellKnownSymbol('unscopables');
4496
4572
  var ArrayPrototype = Array.prototype;
@@ -4498,7 +4574,7 @@ var ArrayPrototype = Array.prototype;
4498
4574
  // Array.prototype[@@unscopables]
4499
4575
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
4500
4576
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
4501
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
4577
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
4502
4578
  configurable: true,
4503
4579
  value: create(null)
4504
4580
  });
@@ -4508,13 +4584,19 @@ if (ArrayPrototype[UNSCOPABLES] == undefined) {
4508
4584
  var addToUnscopables$2 = function (key) {
4509
4585
  ArrayPrototype[UNSCOPABLES][key] = true;
4510
4586
  };'use strict';
4511
- var $$1 = _export;
4587
+ var $$3 = _export;
4512
4588
  var $includes = arrayIncludes.includes;
4589
+ var fails$1 = fails$c;
4513
4590
  var addToUnscopables$1 = addToUnscopables$2;
4514
4591
 
4592
+ // FF99+ bug
4593
+ var BROKEN_ON_SPARSE = fails$1(function () {
4594
+ return !Array(1).includes();
4595
+ });
4596
+
4515
4597
  // `Array.prototype.includes` method
4516
4598
  // https://tc39.es/ecma262/#sec-array.prototype.includes
4517
- $$1({ target: 'Array', proto: true }, {
4599
+ $$3({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4518
4600
  includes: function includes(el /* , fromIndex = 0 */) {
4519
4601
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
4520
4602
  }
@@ -4593,6 +4675,7 @@ addToUnscopables$1('includes');var script$7 = vue.defineComponent({
4593
4675
  }
4594
4676
  },
4595
4677
  setup: function setup(props, ctx) {
4678
+ var inputBaseClass = vue.ref("border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5");
4596
4679
  var inputValue = vue.computed({
4597
4680
  get: function get() {
4598
4681
  return props.modelValue;
@@ -4602,24 +4685,25 @@ addToUnscopables$1('includes');var script$7 = vue.defineComponent({
4602
4685
  }
4603
4686
  });
4604
4687
  return {
4688
+ inputBaseClass: inputBaseClass,
4605
4689
  inputValue: inputValue
4606
4690
  };
4607
4691
  }
4608
4692
  });var es_function_name = {};var DESCRIPTORS$1 = descriptors;
4609
4693
  var FUNCTION_NAME_EXISTS = functionName.EXISTS;
4610
- var uncurryThis$4 = functionUncurryThis;
4694
+ var uncurryThis$5 = functionUncurryThis;
4611
4695
  var defineProperty$1 = objectDefineProperty.f;
4612
4696
 
4613
- var FunctionPrototype = Function.prototype;
4614
- var functionToString = uncurryThis$4(FunctionPrototype.toString);
4697
+ var FunctionPrototype$1 = Function.prototype;
4698
+ var functionToString = uncurryThis$5(FunctionPrototype$1.toString);
4615
4699
  var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
4616
- var regExpExec = uncurryThis$4(nameRE.exec);
4700
+ var regExpExec = uncurryThis$5(nameRE.exec);
4617
4701
  var NAME = 'name';
4618
4702
 
4619
4703
  // Function instances `.name` property
4620
4704
  // https://tc39.es/ecma262/#sec-function-instances-name
4621
4705
  if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
4622
- defineProperty$1(FunctionPrototype, NAME, {
4706
+ defineProperty$1(FunctionPrototype$1, NAME, {
4623
4707
  configurable: true,
4624
4708
  get: function () {
4625
4709
  try {
@@ -4667,7 +4751,7 @@ var _hoisted_11$2 = {
4667
4751
  key: 1,
4668
4752
  "class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
4669
4753
  };
4670
- var _hoisted_12$1 = {
4754
+ var _hoisted_12 = {
4671
4755
  "class": "italic text-right text-sm font-medium mt-2 min-h-[21px]"
4672
4756
  };
4673
4757
  var _hoisted_13 = {
@@ -4702,10 +4786,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
4702
4786
  type: _ctx.type,
4703
4787
  readonly: _ctx.readonly,
4704
4788
  disabled: _ctx.readonly,
4705
- "class": ["border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5", {
4789
+ "class": [{
4706
4790
  'pl-10': !!_ctx.$slots.prefix,
4707
4791
  'pr-20': !!_ctx.$slots.suffix
4708
- }]
4792
+ }, _ctx.inputBaseClass]
4709
4793
  }), null, 16, _hoisted_8$3), vue.createVNode(vue.Transition, {
4710
4794
  name: "fwFadeIn"
4711
4795
  }, {
@@ -4716,7 +4800,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
4716
4800
  }, _hoisted_10$2, 2)) : vue.createCommentVNode("", true)];
4717
4801
  }),
4718
4802
  _: 2
4719
- }, 1024), _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$2, [vue.renderSlot(_ctx.$slots, "suffix")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_12$1, [vue.createVNode(vue.Transition, {
4803
+ }, 1024), _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$2, [vue.renderSlot(_ctx.$slots, "suffix")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_12, [vue.createVNode(vue.Transition, {
4720
4804
  name: "fwFadeIn",
4721
4805
  mode: "out-in"
4722
4806
  }, {
@@ -4790,7 +4874,11 @@ styleInject(css_248z$4);script$7.render = render$7;var script$6 = vue.defineComp
4790
4874
  type: String
4791
4875
  }
4792
4876
  }
4793
- });var _hoisted_1$5 = {
4877
+ });var _withScopeId$1 = function _withScopeId(n) {
4878
+ return vue.pushScopeId("data-v-7153bd02"), n = n(), vue.popScopeId(), n;
4879
+ };
4880
+
4881
+ var _hoisted_1$5 = {
4794
4882
  "class": "fw-checkbox w-full"
4795
4883
  };
4796
4884
  var _hoisted_2$4 = {
@@ -4847,9 +4935,10 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4847
4935
  }),
4848
4936
  _: 1
4849
4937
  }, 8, ["name", "value", "rules"])]);
4850
- }var css_248z$3 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input{-webkit-print-color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;color-adjust:exact;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4851
- var stylesheet$3 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input{-webkit-print-color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;color-adjust:exact;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4852
- styleInject(css_248z$3);script$6.render = render$6;var script$5 = vue.defineComponent({
4938
+ }var css_248z$3 = ".fwFadeIn-enter-active[data-v-7153bd02]{-webkit-animation:fwFadeIn-7153bd02 .35s;animation:fwFadeIn-7153bd02 .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7153bd02]{animation:fwFadeIn-7153bd02 .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7153bd02]{color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-print-color-adjust:exact;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7153bd02]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4939
+ var stylesheet$3 = ".fwFadeIn-enter-active[data-v-7153bd02]{-webkit-animation:fwFadeIn-7153bd02 .35s;animation:fwFadeIn-7153bd02 .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7153bd02]{animation:fwFadeIn-7153bd02 .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7153bd02]{color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-print-color-adjust:exact;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7153bd02]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
4940
+ styleInject(css_248z$3);script$6.render = render$6;
4941
+ script$6.__scopeId = "data-v-7153bd02";var script$5 = vue.defineComponent({
4853
4942
  name: 'FwCard',
4854
4943
  props: {
4855
4944
  /**
@@ -4879,13 +4968,16 @@ styleInject(css_248z$3);script$6.render = render$6;var script$5 = vue.defineComp
4879
4968
  href: String
4880
4969
  },
4881
4970
  setup: function setup(props) {
4971
+ var linkClass = vue.ref( // eslint-disable-next-line max-len
4972
+ "block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1");
4882
4973
  var componentName = vue.computed(function () {
4883
4974
  if (props.to) return 'router-link';
4884
4975
  if (props.href) return 'a';
4885
4976
  return 'div';
4886
4977
  });
4887
4978
  return {
4888
- componentName: componentName
4979
+ componentName: componentName,
4980
+ linkClass: linkClass
4889
4981
  };
4890
4982
  }
4891
4983
  });var _hoisted_1$4 = {
@@ -4908,7 +5000,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
4908
5000
  to: _ctx.to ? _ctx.to : null,
4909
5001
  href: _ctx.href ? _ctx.href : null,
4910
5002
  tabindex: _ctx.to ? 0 : null,
4911
- "class": vue.normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? 'block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1' : ''])
5003
+ "class": vue.normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? _ctx.linkClass : ''])
4912
5004
  }, {
4913
5005
  "default": vue.withCtx(function () {
4914
5006
  return [_ctx.title || _ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_1$4, [_ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3, vue.toDisplayString(_ctx.prefixTitle), 1)) : vue.createCommentVNode("", true), _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$3, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true), _ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true)];
@@ -4966,6 +5058,8 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
4966
5058
  }
4967
5059
  },
4968
5060
  setup: function setup(props, ctx) {
5061
+ var baseClass = vue.ref( // eslint-disable-next-line max-len
5062
+ "inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring");
4969
5063
  var buttonClasses = vue.ref({
4970
5064
  primary: {
4971
5065
  text: 'text-tertiary hover:text-primary active:text-primary',
@@ -5025,6 +5119,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5025
5119
  /**
5026
5120
  * @event Click - Native click
5027
5121
  */
5122
+ // eslint-disable-next-line no-undef
5028
5123
 
5029
5124
  var onClick = function onClick(e) {
5030
5125
  return ctx.emit('click', e);
@@ -5032,6 +5127,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5032
5127
  /**
5033
5128
  * @event mouseover - Native hover
5034
5129
  */
5130
+ // eslint-disable-next-line no-undef
5035
5131
 
5036
5132
 
5037
5133
  var onMouseover = function onMouseover(e) {
@@ -5040,6 +5136,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5040
5136
  /**
5041
5137
  * @event mouseout - Native hover out
5042
5138
  */
5139
+ // eslint-disable-next-line no-undef
5043
5140
 
5044
5141
 
5045
5142
  var onMouseout = function onMouseout(e) {
@@ -5048,6 +5145,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5048
5145
  /**
5049
5146
  * @event focusin - Native focusin
5050
5147
  */
5148
+ // eslint-disable-next-line no-undef
5051
5149
 
5052
5150
 
5053
5151
  var onFocusin = function onFocusin(e) {
@@ -5056,6 +5154,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5056
5154
  /**
5057
5155
  * @event focusout - Native focusout
5058
5156
  */
5157
+ // eslint-disable-next-line no-undef
5059
5158
 
5060
5159
 
5061
5160
  var onFocusout = function onFocusout(e) {
@@ -5068,6 +5167,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5068
5167
  return 'button';
5069
5168
  });
5070
5169
  return {
5170
+ baseClass: baseClass,
5071
5171
  textColorClass: textColorClass,
5072
5172
  bgColorClass: bgColorClass,
5073
5173
  sizeClass: sizeClass,
@@ -5082,7 +5182,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5082
5182
  }
5083
5183
  });function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5084
5184
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tagName), {
5085
- "class": vue.normalizeClass(["fw-button inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
5185
+ "class": vue.normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
5086
5186
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
5087
5187
  to: _ctx.to ? _ctx.to : null,
5088
5188
  href: _ctx.href ? _ctx.href : null,
@@ -5097,7 +5197,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5097
5197
  return [vue.renderSlot(_ctx.$slots, "default")];
5098
5198
  }),
5099
5199
  _: 3
5100
- }, 8, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5200
+ }, 40, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5101
5201
  }var css_248z$2 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
5102
5202
  var stylesheet$2 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
5103
5203
  styleInject(css_248z$2);script$4.render = render$4;var script$3 = vue.defineComponent({
@@ -5124,6 +5224,8 @@ styleInject(css_248z$2);script$4.render = render$4;var script$3 = vue.defineComp
5124
5224
  }
5125
5225
  },
5126
5226
  setup: function setup(_props, ctx) {
5227
+ var mobileMenuClass = vue.ref( // eslint-disable-next-line max-len
5228
+ "min-h-screen top-0 left-0 pt-20 absolute w-full flex flex-col justify-between px-2 bg-white shadow-md pb-3 space-y-1");
5127
5229
  var isMobileMenuOpen = vue.ref(false);
5128
5230
 
5129
5231
  var toggleMobileMenu = function toggleMobileMenu() {
@@ -5135,6 +5237,7 @@ styleInject(css_248z$2);script$4.render = render$4;var script$3 = vue.defineComp
5135
5237
  };
5136
5238
 
5137
5239
  return {
5240
+ mobileMenuClass: mobileMenuClass,
5138
5241
  isMobileMenuOpen: isMobileMenuOpen,
5139
5242
  toggleMobileMenu: toggleMobileMenu,
5140
5243
  actionClicked: actionClicked
@@ -5179,10 +5282,6 @@ var _hoisted_9$1 = {
5179
5282
  };
5180
5283
  var _hoisted_10$1 = ["d"];
5181
5284
  var _hoisted_11$1 = {
5182
- key: 0,
5183
- "class": "fw-nav-menu--mobile min-h-screen top-0 left-0 pt-20 absolute w-full flex flex-col justify-between px-2 bg-white shadow-md pb-3 space-y-1"
5184
- };
5185
- var _hoisted_12 = {
5186
5285
  "class": "w-full flex flex-col"
5187
5286
  };
5188
5287
  function render$3(_ctx, _cache, $props, $setup, $data, $options) {
@@ -5233,7 +5332,10 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5233
5332
  "default": vue.withCtx(function () {
5234
5333
  var _ctx$menuItems2;
5235
5334
 
5236
- return [((_ctx$menuItems2 = _ctx.menuItems) === null || _ctx$menuItems2 === void 0 ? void 0 : _ctx$menuItems2.length) > 0 && _ctx.isMobileMenuOpen ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1, [vue.createElementVNode("div", _hoisted_12, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5335
+ return [((_ctx$menuItems2 = _ctx.menuItems) === null || _ctx$menuItems2 === void 0 ? void 0 : _ctx$menuItems2.length) > 0 && _ctx.isMobileMenuOpen ? (vue.openBlock(), vue.createElementBlock("div", {
5336
+ key: 0,
5337
+ "class": vue.normalizeClass(["fw-nav-menu--mobile", _ctx.mobileMenuClass])
5338
+ }, [vue.createElementVNode("div", _hoisted_11$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
5237
5339
  return vue.openBlock(), vue.createBlock(_component_FwButton, {
5238
5340
  key: i,
5239
5341
  "class": "w-full rounded-md",
@@ -5257,38 +5359,37 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5257
5359
  return [vue.createTextVNode(vue.toDisplayString(_ctx.actionLabel), 1)];
5258
5360
  }),
5259
5361
  _: 1
5260
- }, 8, ["onClick"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)];
5362
+ }, 8, ["onClick"])) : vue.createCommentVNode("", true)], 2)) : vue.createCommentVNode("", true)];
5261
5363
  }),
5262
5364
  _: 1
5263
5365
  })]);
5264
5366
  }var css_248z$1 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5265
5367
  var stylesheet$1 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5266
- styleInject(css_248z$1);script$3.render = render$3;var es_number_constructor = {};var global$3 = global$r;
5267
- var isCallable$1 = isCallable$e;
5368
+ styleInject(css_248z$1);script$3.render = render$3;var es_number_constructor = {};var isCallable$2 = isCallable$g;
5268
5369
 
5269
- var String$2 = global$3.String;
5270
- var TypeError$2 = global$3.TypeError;
5370
+ var $String$1 = String;
5371
+ var $TypeError$1 = TypeError;
5271
5372
 
5272
5373
  var aPossiblePrototype$1 = function (argument) {
5273
- if (typeof argument == 'object' || isCallable$1(argument)) return argument;
5274
- throw TypeError$2("Can't set " + String$2(argument) + ' as a prototype');
5374
+ if (typeof argument == 'object' || isCallable$2(argument)) return argument;
5375
+ throw $TypeError$1("Can't set " + $String$1(argument) + ' as a prototype');
5275
5376
  };/* eslint-disable no-proto -- safe */
5276
5377
 
5277
- var uncurryThis$3 = functionUncurryThis;
5378
+ var uncurryThis$4 = functionUncurryThis;
5278
5379
  var anObject = anObject$5;
5279
5380
  var aPossiblePrototype = aPossiblePrototype$1;
5280
5381
 
5281
5382
  // `Object.setPrototypeOf` method
5282
5383
  // https://tc39.es/ecma262/#sec-object.setprototypeof
5283
5384
  // Works with __proto__ only. Old v8 can't work with null proto objects.
5284
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
5385
+ // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
5285
5386
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
5286
5387
  var CORRECT_SETTER = false;
5287
5388
  var test = {};
5288
5389
  var setter;
5289
5390
  try {
5290
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5291
- setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
5391
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
5392
+ setter = uncurryThis$4(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
5292
5393
  setter(test, []);
5293
5394
  CORRECT_SETTER = test instanceof Array;
5294
5395
  } catch (error) { /* empty */ }
@@ -5299,7 +5400,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
5299
5400
  else O.__proto__ = proto;
5300
5401
  return O;
5301
5402
  };
5302
- }() : undefined);var isCallable = isCallable$e;
5403
+ }() : undefined);var isCallable$1 = isCallable$g;
5303
5404
  var isObject = isObject$8;
5304
5405
  var setPrototypeOf = objectSetPrototypeOf;
5305
5406
 
@@ -5310,32 +5411,31 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
5310
5411
  // it can work only with native `setPrototypeOf`
5311
5412
  setPrototypeOf &&
5312
5413
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
5313
- isCallable(NewTarget = dummy.constructor) &&
5414
+ isCallable$1(NewTarget = dummy.constructor) &&
5314
5415
  NewTarget !== Wrapper &&
5315
5416
  isObject(NewTargetPrototype = NewTarget.prototype) &&
5316
5417
  NewTargetPrototype !== Wrapper.prototype
5317
5418
  ) setPrototypeOf($this, NewTargetPrototype);
5318
5419
  return $this;
5319
- };var uncurryThis$2 = functionUncurryThis;
5420
+ };var uncurryThis$3 = functionUncurryThis;
5320
5421
 
5321
5422
  // `thisNumberValue` abstract operation
5322
5423
  // https://tc39.es/ecma262/#sec-thisnumbervalue
5323
- var thisNumberValue$1 = uncurryThis$2(1.0.valueOf);var global$2 = global$r;
5324
- var classof = classof$3;
5424
+ var thisNumberValue$1 = uncurryThis$3(1.0.valueOf);var classof = classof$3;
5325
5425
 
5326
- var String$1 = global$2.String;
5426
+ var $String = String;
5327
5427
 
5328
5428
  var toString$2 = function (argument) {
5329
5429
  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
5330
- return String$1(argument);
5430
+ return $String(argument);
5331
5431
  };// a string of all valid unicode whitespaces
5332
5432
  var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
5333
- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';var uncurryThis$1 = functionUncurryThis;
5433
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';var uncurryThis$2 = functionUncurryThis;
5334
5434
  var requireObjectCoercible = requireObjectCoercible$3;
5335
5435
  var toString$1 = toString$2;
5336
5436
  var whitespaces = whitespaces$1;
5337
5437
 
5338
- var replace = uncurryThis$1(''.replace);
5438
+ var replace = uncurryThis$2(''.replace);
5339
5439
  var whitespace = '[' + whitespaces + ']';
5340
5440
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
5341
5441
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -5362,16 +5462,16 @@ var stringTrim = {
5362
5462
  trim: createMethod(3)
5363
5463
  };'use strict';
5364
5464
  var DESCRIPTORS = descriptors;
5365
- var global$1 = global$r;
5366
- var uncurryThis = functionUncurryThis;
5465
+ var global$4 = global$f;
5466
+ var uncurryThis$1 = functionUncurryThis;
5367
5467
  var isForced = isForced_1;
5368
- var redefine = redefine$4.exports;
5468
+ var defineBuiltIn = defineBuiltIn$3;
5369
5469
  var hasOwn = hasOwnProperty_1;
5370
5470
  var inheritIfRequired = inheritIfRequired$1;
5371
5471
  var isPrototypeOf = objectIsPrototypeOf;
5372
5472
  var isSymbol$1 = isSymbol$4;
5373
5473
  var toPrimitive = toPrimitive$2;
5374
- var fails = fails$a;
5474
+ var fails = fails$c;
5375
5475
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
5376
5476
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
5377
5477
  var defineProperty = objectDefineProperty.f;
@@ -5379,11 +5479,11 @@ var thisNumberValue = thisNumberValue$1;
5379
5479
  var trim = stringTrim.trim;
5380
5480
 
5381
5481
  var NUMBER = 'Number';
5382
- var NativeNumber = global$1[NUMBER];
5482
+ var NativeNumber = global$4[NUMBER];
5383
5483
  var NumberPrototype = NativeNumber.prototype;
5384
- var TypeError$1 = global$1.TypeError;
5385
- var arraySlice = uncurryThis(''.slice);
5386
- var charCodeAt = uncurryThis(''.charCodeAt);
5484
+ var TypeError$1 = global$4.TypeError;
5485
+ var arraySlice$2 = uncurryThis$1(''.slice);
5486
+ var charCodeAt = uncurryThis$1(''.charCodeAt);
5387
5487
 
5388
5488
  // `ToNumeric` abstract operation
5389
5489
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -5410,7 +5510,7 @@ var toNumber = function (argument) {
5410
5510
  case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
5411
5511
  default: return +it;
5412
5512
  }
5413
- digits = arraySlice(it, 2);
5513
+ digits = arraySlice$2(it, 2);
5414
5514
  length = digits.length;
5415
5515
  for (index = 0; index < length; index++) {
5416
5516
  code = charCodeAt(digits, index);
@@ -5446,7 +5546,7 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
5446
5546
  }
5447
5547
  NumberWrapper.prototype = NumberPrototype;
5448
5548
  NumberPrototype.constructor = NumberWrapper;
5449
- redefine(global$1, NUMBER, NumberWrapper);
5549
+ defineBuiltIn(global$4, NUMBER, NumberWrapper, { constructor: true });
5450
5550
  }var script$2 = vue.defineComponent({
5451
5551
  name: 'FwTabs',
5452
5552
  emits: ['update:modelValue'],
@@ -5501,7 +5601,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5501
5601
  }, vue.toDisplayString(tab.props.label), 11, _hoisted_3$1)]);
5502
5602
  }), 128))])) : vue.createCommentVNode("", true), vue.renderSlot(_ctx.$slots, "default")]);
5503
5603
  }script$2.render = render$2;var es_array_findIndex = {};'use strict';
5504
- var $ = _export;
5604
+ var $$2 = _export;
5505
5605
  var $findIndex = arrayIteration.findIndex;
5506
5606
  var addToUnscopables = addToUnscopables$2;
5507
5607
 
@@ -5513,7 +5613,7 @@ if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; })
5513
5613
 
5514
5614
  // `Array.prototype.findIndex` method
5515
5615
  // https://tc39.es/ecma262/#sec-array.prototype.findindex
5516
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5616
+ $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5517
5617
  findIndex: function findIndex(callbackfn /* , that = undefined */) {
5518
5618
  return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5519
5619
  }
@@ -5909,7 +6009,7 @@ function uniqueId(prefix) {
5909
6009
  };
5910
6010
  }
5911
6011
  });var _withScopeId = function _withScopeId(n) {
5912
- return vue.pushScopeId("data-v-d1d6dbae"), n = n(), vue.popScopeId(), n;
6012
+ return vue.pushScopeId("data-v-8c26adc4"), n = n(), vue.popScopeId(), n;
5913
6013
  };
5914
6014
 
5915
6015
  var _hoisted_1 = {
@@ -5943,7 +6043,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5943
6043
  var _component_FwButton = vue.resolveComponent("FwButton");
5944
6044
 
5945
6045
  return vue.openBlock(), vue.createBlock(vue.Transition, {
5946
- name: "modalFadeIn"
6046
+ name: "modalFadeIn",
6047
+ appear: ""
5947
6048
  }, {
5948
6049
  "default": vue.withCtx(function () {
5949
6050
  return [vue.createElementVNode("div", _hoisted_1, [vue.createElementVNode("div", _hoisted_2, [vue.createElementVNode("div", _hoisted_3, [vue.createElementVNode("div", {
@@ -5997,10 +6098,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5997
6098
  }),
5998
6099
  _: 3
5999
6100
  });
6000
- }var css_248z = ".modalFadeIn-enter-active[data-v-d1d6dbae]{-webkit-animation:modalFadeIn-d1d6dbae .4s;animation:modalFadeIn-d1d6dbae .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-d1d6dbae]{animation:modalFadeIn-d1d6dbae .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}";
6001
- var stylesheet = ".modalFadeIn-enter-active[data-v-d1d6dbae]{-webkit-animation:modalFadeIn-d1d6dbae .4s;animation:modalFadeIn-d1d6dbae .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-d1d6dbae]{animation:modalFadeIn-d1d6dbae .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}";
6101
+ }var css_248z = ".modalFadeIn-enter-active[data-v-8c26adc4]{-webkit-animation:modalFadeIn-8c26adc4 .4s;animation:modalFadeIn-8c26adc4 .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-8c26adc4]{animation:modalFadeIn-8c26adc4 .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}";
6102
+ var stylesheet = ".modalFadeIn-enter-active[data-v-8c26adc4]{-webkit-animation:modalFadeIn-8c26adc4 .4s;animation:modalFadeIn-8c26adc4 .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-8c26adc4]{animation:modalFadeIn-8c26adc4 .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}";
6002
6103
  styleInject(css_248z);script.render = render;
6003
- script.__scopeId = "data-v-d1d6dbae";// Form components
6104
+ script.__scopeId = "data-v-8c26adc4";// Form components
6004
6105
  var Components=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:script$7,FwCheckbox:script$6,FwCard:script$5,FwButton:script$4,FwNavigationMenu:script$3,FwTabs:script$2,FwTab:script$1,FwModal:script});function _defineProperty(obj, key, value) {
6005
6106
  if (key in obj) {
6006
6107
  Object.defineProperty(obj, key, {
@@ -6038,36 +6139,97 @@ function _objectSpread2(target) {
6038
6139
  }
6039
6140
 
6040
6141
  return target;
6041
- }var modalService = function modalService(options, element) {
6042
- var _getCurrentInstance;
6142
+ }var web_timers = {};var web_setInterval = {};var NATIVE_BIND = functionBindNative;
6143
+
6144
+ var FunctionPrototype = Function.prototype;
6145
+ var apply$1 = FunctionPrototype.apply;
6146
+ var call = FunctionPrototype.call;
6147
+
6148
+ // eslint-disable-next-line es-x/no-reflect -- safe
6149
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply$1) : function () {
6150
+ return call.apply(apply$1, arguments);
6151
+ });var uncurryThis = functionUncurryThis;
6152
+
6153
+ var arraySlice$1 = uncurryThis([].slice);var $TypeError = TypeError;
6154
+
6155
+ var validateArgumentsLength$1 = function (passed, required) {
6156
+ if (passed < required) throw $TypeError('Not enough arguments');
6157
+ return passed;
6158
+ };var global$3 = global$f;
6159
+ var apply = functionApply;
6160
+ var isCallable = isCallable$g;
6161
+ var userAgent = engineUserAgent;
6162
+ var arraySlice = arraySlice$1;
6163
+ var validateArgumentsLength = validateArgumentsLength$1;
6164
+
6165
+ var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
6166
+ var Function$1 = global$3.Function;
6167
+
6168
+ var wrap = function (scheduler) {
6169
+ return MSIE ? function (handler, timeout /* , ...arguments */) {
6170
+ var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
6171
+ var fn = isCallable(handler) ? handler : Function$1(handler);
6172
+ var args = boundArgs ? arraySlice(arguments, 2) : undefined;
6173
+ return scheduler(boundArgs ? function () {
6174
+ apply(fn, this, args);
6175
+ } : fn, timeout);
6176
+ } : scheduler;
6177
+ };
6043
6178
 
6179
+ // ie9- setTimeout & setInterval additional parameters fix
6180
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
6181
+ var schedulersFix = {
6182
+ // `setTimeout` method
6183
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
6184
+ setTimeout: wrap(global$3.setTimeout),
6185
+ // `setInterval` method
6186
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
6187
+ setInterval: wrap(global$3.setInterval)
6188
+ };var $$1 = _export;
6189
+ var global$2 = global$f;
6190
+ var setInterval = schedulersFix.setInterval;
6191
+
6192
+ // ie9- setInterval additional parameters fix
6193
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
6194
+ $$1({ global: true, bind: true, forced: global$2.setInterval !== setInterval }, {
6195
+ setInterval: setInterval
6196
+ });var web_setTimeout = {};var $ = _export;
6197
+ var global$1 = global$f;
6198
+ var setTimeout$1 = schedulersFix.setTimeout;
6199
+
6200
+ // ie9- setTimeout additional parameters fix
6201
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
6202
+ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
6203
+ setTimeout: setTimeout$1
6204
+ });var modalService = function modalService(options, element) {
6044
6205
  var elementToMount = document.createElement('div');
6045
- var modalVNode = null;
6046
- var appContext = (_getCurrentInstance = vue.getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.appContext;
6206
+ elementToMount.id = uniqueId('fw-modal-app-');
6047
6207
  var elAppend = element || document.body;
6208
+ var modalVNode = undefined;
6048
6209
 
6049
6210
  var open = function open() {
6050
- modalVNode = vue.createVNode(script, _objectSpread2(_objectSpread2({}, options), {}, {
6051
- "class": 'modalFadeIn-enter-active'
6052
- }));
6053
- modalVNode.appContext = appContext ? appContext : null;
6054
- vue.render(modalVNode, elementToMount);
6211
+ var _modalVNode;
6212
+
6213
+ modalVNode = vue.createApp(script, _objectSpread2({}, options));
6055
6214
  elAppend.appendChild(elementToMount);
6215
+ (_modalVNode = modalVNode) === null || _modalVNode === void 0 ? void 0 : _modalVNode.mount(elementToMount);
6056
6216
  };
6057
6217
 
6058
6218
  var close = function close() {
6059
- vue.render(null, elementToMount);
6060
-
6061
6219
  if (elementToMount) {
6062
- elementToMount.remove();
6063
- }
6220
+ var _elementToMount$query;
6064
6221
 
6065
- modalVNode = null;
6222
+ (_elementToMount$query = elementToMount.querySelector('.fw-modal')) === null || _elementToMount$query === void 0 ? void 0 : _elementToMount$query.classList.add('modalFadeIn-leave-active');
6223
+ setTimeout(function () {
6224
+ var _modalVNode2;
6225
+
6226
+ (_modalVNode2 = modalVNode) === null || _modalVNode2 === void 0 ? void 0 : _modalVNode2.unmount();
6227
+ modalVNode = undefined;
6228
+ elementToMount.remove();
6229
+ }, 400);
6230
+ }
6066
6231
  };
6067
6232
 
6068
- vue.onUnmounted(function () {
6069
- close();
6070
- });
6071
6233
  return {
6072
6234
  open: open,
6073
6235
  close: close