No Description

_rollupPluginBabelHelpers-bf46fecd.js 5.0KB

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