Açıklama Yok

_commonjsHelpers-aeb41076.js 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. function _classCallCheck(instance, Constructor) {
  2. if (!(instance instanceof Constructor)) {
  3. throw new TypeError("Cannot call a class as a function");
  4. }
  5. }
  6. function _defineProperties(target, props) {
  7. for (var i = 0; i < props.length; i++) {
  8. var descriptor = props[i];
  9. descriptor.enumerable = descriptor.enumerable || false;
  10. descriptor.configurable = true;
  11. if ("value" in descriptor) descriptor.writable = true;
  12. Object.defineProperty(target, descriptor.key, descriptor);
  13. }
  14. }
  15. function _createClass(Constructor, protoProps, staticProps) {
  16. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  17. if (staticProps) _defineProperties(Constructor, staticProps);
  18. return Constructor;
  19. }
  20. function _defineProperty(obj, key, value) {
  21. if (key in obj) {
  22. Object.defineProperty(obj, key, {
  23. value: value,
  24. enumerable: true,
  25. configurable: true,
  26. writable: true
  27. });
  28. } else {
  29. obj[key] = value;
  30. }
  31. return obj;
  32. }
  33. function _extends() {
  34. _extends = Object.assign || function (target) {
  35. for (var i = 1; i < arguments.length; i++) {
  36. var source = arguments[i];
  37. for (var key in source) {
  38. if (Object.prototype.hasOwnProperty.call(source, key)) {
  39. target[key] = source[key];
  40. }
  41. }
  42. }
  43. return target;
  44. };
  45. return _extends.apply(this, arguments);
  46. }
  47. function ownKeys(object, enumerableOnly) {
  48. var keys = Object.keys(object);
  49. if (Object.getOwnPropertySymbols) {
  50. var symbols = Object.getOwnPropertySymbols(object);
  51. if (enumerableOnly) symbols = symbols.filter(function (sym) {
  52. return Object.getOwnPropertyDescriptor(object, sym).enumerable;
  53. });
  54. keys.push.apply(keys, symbols);
  55. }
  56. return keys;
  57. }
  58. function _objectSpread2(target) {
  59. for (var i = 1; i < arguments.length; i++) {
  60. var source = arguments[i] != null ? arguments[i] : {};
  61. if (i % 2) {
  62. ownKeys(Object(source), true).forEach(function (key) {
  63. _defineProperty(target, key, source[key]);
  64. });
  65. } else if (Object.getOwnPropertyDescriptors) {
  66. Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
  67. } else {
  68. ownKeys(Object(source)).forEach(function (key) {
  69. Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
  70. });
  71. }
  72. }
  73. return target;
  74. }
  75. function _inherits(subClass, superClass) {
  76. if (typeof superClass !== "function" && superClass !== null) {
  77. throw new TypeError("Super expression must either be null or a function");
  78. }
  79. subClass.prototype = Object.create(superClass && superClass.prototype, {
  80. constructor: {
  81. value: subClass,
  82. writable: true,
  83. configurable: true
  84. }
  85. });
  86. if (superClass) _setPrototypeOf(subClass, superClass);
  87. }
  88. function _getPrototypeOf(o) {
  89. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  90. return o.__proto__ || Object.getPrototypeOf(o);
  91. };
  92. return _getPrototypeOf(o);
  93. }
  94. function _setPrototypeOf(o, p) {
  95. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  96. o.__proto__ = p;
  97. return o;
  98. };
  99. return _setPrototypeOf(o, p);
  100. }
  101. function _assertThisInitialized(self) {
  102. if (self === void 0) {
  103. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  104. }
  105. return self;
  106. }
  107. function _possibleConstructorReturn(self, call) {
  108. if (call && (typeof call === "object" || typeof call === "function")) {
  109. return call;
  110. }
  111. return _assertThisInitialized(self);
  112. }
  113. function _slicedToArray(arr, i) {
  114. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
  115. }
  116. function _arrayWithHoles(arr) {
  117. if (Array.isArray(arr)) return arr;
  118. }
  119. function _iterableToArrayLimit(arr, i) {
  120. if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
  121. return;
  122. }
  123. var _arr = [];
  124. var _n = true;
  125. var _d = false;
  126. var _e = undefined;
  127. try {
  128. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  129. _arr.push(_s.value);
  130. if (i && _arr.length === i) break;
  131. }
  132. } catch (err) {
  133. _d = true;
  134. _e = err;
  135. } finally {
  136. try {
  137. if (!_n && _i["return"] != null) _i["return"]();
  138. } finally {
  139. if (_d) throw _e;
  140. }
  141. }
  142. return _arr;
  143. }
  144. function _nonIterableRest() {
  145. throw new TypeError("Invalid attempt to destructure non-iterable instance");
  146. }
  147. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  148. function unwrapExports (x) {
  149. return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
  150. }
  151. function createCommonjsModule(fn, module) {
  152. return module = { exports: {} }, fn(module, module.exports), module.exports;
  153. }
  154. export { _defineProperty as _, _inherits as a, _createClass as b, createCommonjsModule as c, _classCallCheck as d, _possibleConstructorReturn as e, _getPrototypeOf as f, _extends as g, _objectSpread2 as h, _slicedToArray as i, commonjsGlobal as j, _assertThisInitialized as k, unwrapExports as u };
  155. //# sourceMappingURL=_commonjsHelpers-aeb41076.js.map