@yklyklpackages/message-card 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1972,7 +1972,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
1972
1972
  var ys = arrObjKeys(obj, inspect2);
1973
1973
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
1974
1974
  var protoTag = obj instanceof Object ? "" : "null prototype";
1975
- var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
1975
+ var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
1976
1976
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
1977
1977
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
1978
1978
  if (ys.length === 0) {
@@ -1997,25 +1997,25 @@ function canTrustToString(obj) {
1997
1997
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
1998
1998
  }
1999
1999
  function isArray$4(obj) {
2000
- return toStr(obj) === "[object Array]" && canTrustToString(obj);
2000
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
2001
2001
  }
2002
2002
  function isDate$1(obj) {
2003
- return toStr(obj) === "[object Date]" && canTrustToString(obj);
2003
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
2004
2004
  }
2005
2005
  function isRegExp$2(obj) {
2006
- return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
2006
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
2007
2007
  }
2008
2008
  function isError(obj) {
2009
- return toStr(obj) === "[object Error]" && canTrustToString(obj);
2009
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
2010
2010
  }
2011
2011
  function isString$2(obj) {
2012
- return toStr(obj) === "[object String]" && canTrustToString(obj);
2012
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
2013
2013
  }
2014
2014
  function isNumber$1(obj) {
2015
- return toStr(obj) === "[object Number]" && canTrustToString(obj);
2015
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
2016
2016
  }
2017
2017
  function isBoolean$1(obj) {
2018
- return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
2018
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
2019
2019
  }
2020
2020
  function isSymbol(obj) {
2021
2021
  if (hasShammedSymbols) {
@@ -2051,7 +2051,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
2051
2051
  function has$3(obj, key) {
2052
2052
  return hasOwn$1.call(obj, key);
2053
2053
  }
2054
- function toStr(obj) {
2054
+ function toStr$1(obj) {
2055
2055
  return objectToString.call(obj);
2056
2056
  }
2057
2057
  function nameOf(f) {
@@ -2360,7 +2360,7 @@ var syntax = SyntaxError;
2360
2360
  var uri = URIError;
2361
2361
  var abs$2 = Math.abs;
2362
2362
  var floor$1 = Math.floor;
2363
- var max$1 = Math.max;
2363
+ var max$2 = Math.max;
2364
2364
  var min$1 = Math.min;
2365
2365
  var pow$1 = Math.pow;
2366
2366
  var round$2 = Math.round;
@@ -2489,99 +2489,78 @@ function requireObject_getPrototypeOf() {
2489
2489
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
2490
2490
  return Object_getPrototypeOf;
2491
2491
  }
2492
- var implementation;
2493
- var hasRequiredImplementation;
2494
- function requireImplementation() {
2495
- if (hasRequiredImplementation) return implementation;
2496
- hasRequiredImplementation = 1;
2497
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2498
- var toStr2 = Object.prototype.toString;
2499
- var max2 = Math.max;
2500
- var funcType = "[object Function]";
2501
- var concatty = function concatty2(a, b) {
2502
- var arr = [];
2503
- for (var i = 0; i < a.length; i += 1) {
2504
- arr[i] = a[i];
2505
- }
2506
- for (var j2 = 0; j2 < b.length; j2 += 1) {
2507
- arr[j2 + a.length] = b[j2];
2508
- }
2509
- return arr;
2510
- };
2511
- var slicy = function slicy2(arrLike, offset) {
2512
- var arr = [];
2513
- for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2514
- arr[j2] = arrLike[i];
2492
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2493
+ var toStr = Object.prototype.toString;
2494
+ var max$1 = Math.max;
2495
+ var funcType = "[object Function]";
2496
+ var concatty = function concatty2(a, b) {
2497
+ var arr = [];
2498
+ for (var i = 0; i < a.length; i += 1) {
2499
+ arr[i] = a[i];
2500
+ }
2501
+ for (var j2 = 0; j2 < b.length; j2 += 1) {
2502
+ arr[j2 + a.length] = b[j2];
2503
+ }
2504
+ return arr;
2505
+ };
2506
+ var slicy = function slicy2(arrLike, offset) {
2507
+ var arr = [];
2508
+ for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2509
+ arr[j2] = arrLike[i];
2510
+ }
2511
+ return arr;
2512
+ };
2513
+ var joiny = function(arr, joiner) {
2514
+ var str = "";
2515
+ for (var i = 0; i < arr.length; i += 1) {
2516
+ str += arr[i];
2517
+ if (i + 1 < arr.length) {
2518
+ str += joiner;
2515
2519
  }
2516
- return arr;
2517
- };
2518
- var joiny = function(arr, joiner) {
2519
- var str = "";
2520
- for (var i = 0; i < arr.length; i += 1) {
2521
- str += arr[i];
2522
- if (i + 1 < arr.length) {
2523
- str += joiner;
2520
+ }
2521
+ return str;
2522
+ };
2523
+ var implementation$1 = function bind(that) {
2524
+ var target = this;
2525
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
2526
+ throw new TypeError(ERROR_MESSAGE + target);
2527
+ }
2528
+ var args = slicy(arguments, 1);
2529
+ var bound;
2530
+ var binder = function() {
2531
+ if (this instanceof bound) {
2532
+ var result = target.apply(
2533
+ this,
2534
+ concatty(args, arguments)
2535
+ );
2536
+ if (Object(result) === result) {
2537
+ return result;
2524
2538
  }
2539
+ return this;
2525
2540
  }
2526
- return str;
2541
+ return target.apply(
2542
+ that,
2543
+ concatty(args, arguments)
2544
+ );
2527
2545
  };
2528
- implementation = function bind2(that) {
2529
- var target = this;
2530
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
2531
- throw new TypeError(ERROR_MESSAGE + target);
2532
- }
2533
- var args = slicy(arguments, 1);
2534
- var bound;
2535
- var binder = function() {
2536
- if (this instanceof bound) {
2537
- var result = target.apply(
2538
- this,
2539
- concatty(args, arguments)
2540
- );
2541
- if (Object(result) === result) {
2542
- return result;
2543
- }
2544
- return this;
2545
- }
2546
- return target.apply(
2547
- that,
2548
- concatty(args, arguments)
2549
- );
2546
+ var boundLength = max$1(0, target.length - args.length);
2547
+ var boundArgs = [];
2548
+ for (var i = 0; i < boundLength; i++) {
2549
+ boundArgs[i] = "$" + i;
2550
+ }
2551
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2552
+ if (target.prototype) {
2553
+ var Empty2 = function Empty3() {
2550
2554
  };
2551
- var boundLength = max2(0, target.length - args.length);
2552
- var boundArgs = [];
2553
- for (var i = 0; i < boundLength; i++) {
2554
- boundArgs[i] = "$" + i;
2555
- }
2556
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2557
- if (target.prototype) {
2558
- var Empty2 = function Empty3() {
2559
- };
2560
- Empty2.prototype = target.prototype;
2561
- bound.prototype = new Empty2();
2562
- Empty2.prototype = null;
2563
- }
2564
- return bound;
2565
- };
2566
- return implementation;
2567
- }
2568
- var functionBind;
2569
- var hasRequiredFunctionBind;
2570
- function requireFunctionBind() {
2571
- if (hasRequiredFunctionBind) return functionBind;
2572
- hasRequiredFunctionBind = 1;
2573
- var implementation2 = requireImplementation();
2574
- functionBind = Function.prototype.bind || implementation2;
2575
- return functionBind;
2576
- }
2577
- var functionCall;
2578
- var hasRequiredFunctionCall;
2579
- function requireFunctionCall() {
2580
- if (hasRequiredFunctionCall) return functionCall;
2581
- hasRequiredFunctionCall = 1;
2582
- functionCall = Function.prototype.call;
2583
- return functionCall;
2584
- }
2555
+ Empty2.prototype = target.prototype;
2556
+ bound.prototype = new Empty2();
2557
+ Empty2.prototype = null;
2558
+ }
2559
+ return bound;
2560
+ };
2561
+ var implementation = implementation$1;
2562
+ var functionBind = Function.prototype.bind || implementation;
2563
+ var functionCall = Function.prototype.call;
2585
2564
  var functionApply;
2586
2565
  var hasRequiredFunctionApply;
2587
2566
  function requireFunctionApply() {
@@ -2591,14 +2570,14 @@ function requireFunctionApply() {
2591
2570
  return functionApply;
2592
2571
  }
2593
2572
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
2594
- var bind$3 = requireFunctionBind();
2573
+ var bind$3 = functionBind;
2595
2574
  var $apply$1 = requireFunctionApply();
2596
- var $call$2 = requireFunctionCall();
2575
+ var $call$2 = functionCall;
2597
2576
  var $reflectApply = reflectApply;
2598
2577
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
2599
- var bind$2 = requireFunctionBind();
2578
+ var bind$2 = functionBind;
2600
2579
  var $TypeError$4 = type$2;
2601
- var $call$1 = requireFunctionCall();
2580
+ var $call$1 = functionCall;
2602
2581
  var $actualApply = actualApply;
2603
2582
  var callBindApplyHelpers = function callBindBasic(args) {
2604
2583
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -2664,8 +2643,8 @@ function requireHasown() {
2664
2643
  hasRequiredHasown = 1;
2665
2644
  var call2 = Function.prototype.call;
2666
2645
  var $hasOwn = Object.prototype.hasOwnProperty;
2667
- var bind2 = requireFunctionBind();
2668
- hasown = bind2.call(call2, $hasOwn);
2646
+ var bind3 = functionBind;
2647
+ hasown = bind3.call(call2, $hasOwn);
2669
2648
  return hasown;
2670
2649
  }
2671
2650
  var undefined$1;
@@ -2679,7 +2658,7 @@ var $TypeError$3 = type$2;
2679
2658
  var $URIError = uri;
2680
2659
  var abs$1 = abs$2;
2681
2660
  var floor = floor$1;
2682
- var max = max$1;
2661
+ var max = max$2;
2683
2662
  var min = min$1;
2684
2663
  var pow = pow$1;
2685
2664
  var round$1 = round$2;
@@ -2713,7 +2692,7 @@ var getProto = requireGetProto();
2713
2692
  var $ObjectGPO = requireObject_getPrototypeOf();
2714
2693
  var $ReflectGPO = requireReflect_getPrototypeOf();
2715
2694
  var $apply = requireFunctionApply();
2716
- var $call = requireFunctionCall();
2695
+ var $call = functionCall;
2717
2696
  var needsEval = {};
2718
2697
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
2719
2698
  var INTRINSICS = {
@@ -2884,7 +2863,7 @@ var LEGACY_ALIASES = {
2884
2863
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2885
2864
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2886
2865
  };
2887
- var bind$1 = requireFunctionBind();
2866
+ var bind$1 = functionBind;
2888
2867
  var hasOwn = requireHasown();
2889
2868
  var $concat = bind$1.call($call, Array.prototype.concat);
2890
2869
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -30451,7 +30430,7 @@ class CacheStorage {
30451
30430
  }
30452
30431
  }
30453
30432
  }
30454
- function bind(fn, thisArg) {
30433
+ function bind2(fn, thisArg) {
30455
30434
  return function wrap() {
30456
30435
  return fn.apply(thisArg, arguments);
30457
30436
  };
@@ -30589,7 +30568,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
30589
30568
  forEach(b, (val, key) => {
30590
30569
  if (thisArg && isFunction$1(val)) {
30591
30570
  Object.defineProperty(a, key, {
30592
- value: bind(val, thisArg),
30571
+ value: bind2(val, thisArg),
30593
30572
  writable: true,
30594
30573
  enumerable: true,
30595
30574
  configurable: true
@@ -32906,7 +32885,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
32906
32885
  });
32907
32886
  function createInstance(defaultConfig2) {
32908
32887
  const context = new Axios$1(defaultConfig2);
32909
- const instance = bind(Axios$1.prototype.request, context);
32888
+ const instance = bind2(Axios$1.prototype.request, context);
32910
32889
  utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
32911
32890
  utils$1.extend(instance, context, null, { allOwnKeys: true });
32912
32891
  instance.create = function create(instanceConfig) {