chunk-WNF2IDJY.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // node_modules/@babel/runtime/helpers/esm/typeof.js
  2. function _typeof(obj) {
  3. "@babel/helpers - typeof";
  4. return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
  5. return typeof obj2;
  6. } : function(obj2) {
  7. return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
  8. }, _typeof(obj);
  9. }
  10. // node_modules/@babel/runtime/helpers/esm/toPrimitive.js
  11. function _toPrimitive(input, hint) {
  12. if (_typeof(input) !== "object" || input === null)
  13. return input;
  14. var prim = input[Symbol.toPrimitive];
  15. if (prim !== void 0) {
  16. var res = prim.call(input, hint || "default");
  17. if (_typeof(res) !== "object")
  18. return res;
  19. throw new TypeError("@@toPrimitive must return a primitive value.");
  20. }
  21. return (hint === "string" ? String : Number)(input);
  22. }
  23. // node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
  24. function _toPropertyKey(arg) {
  25. var key = _toPrimitive(arg, "string");
  26. return _typeof(key) === "symbol" ? key : String(key);
  27. }
  28. // node_modules/@babel/runtime/helpers/esm/defineProperty.js
  29. function _defineProperty(obj, key, value) {
  30. key = _toPropertyKey(key);
  31. if (key in obj) {
  32. Object.defineProperty(obj, key, {
  33. value,
  34. enumerable: true,
  35. configurable: true,
  36. writable: true
  37. });
  38. } else {
  39. obj[key] = value;
  40. }
  41. return obj;
  42. }
  43. export {
  44. _typeof,
  45. _toPropertyKey,
  46. _defineProperty
  47. };
  48. //# sourceMappingURL=chunk-WNF2IDJY.js.map