1 | 'use strict';
|
2 |
|
3 | var _commonjsHelpers = require('./_commonjsHelpers-72d386ba.js');
|
4 |
|
5 | function _classCallCheck(instance, Constructor) {
|
6 | if (!(instance instanceof Constructor)) {
|
7 | throw new TypeError("Cannot call a class as a function");
|
8 | }
|
9 | }
|
10 |
|
11 | var classCallCheck = _classCallCheck;
|
12 |
|
13 | function _defineProperties(target, props) {
|
14 | for (var i = 0; i < props.length; i++) {
|
15 | var descriptor = props[i];
|
16 | descriptor.enumerable = descriptor.enumerable || false;
|
17 | descriptor.configurable = true;
|
18 | if ("value" in descriptor) descriptor.writable = true;
|
19 | Object.defineProperty(target, descriptor.key, descriptor);
|
20 | }
|
21 | }
|
22 |
|
23 | function _createClass(Constructor, protoProps, staticProps) {
|
24 | if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
25 | if (staticProps) _defineProperties(Constructor, staticProps);
|
26 | return Constructor;
|
27 | }
|
28 |
|
29 | var createClass = _createClass;
|
30 |
|
31 | var setPrototypeOf = _commonjsHelpers.createCommonjsModule(function (module) {
|
32 | function _setPrototypeOf(o, p) {
|
33 | module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
34 | o.__proto__ = p;
|
35 | return o;
|
36 | };
|
37 |
|
38 | return _setPrototypeOf(o, p);
|
39 | }
|
40 |
|
41 | module.exports = _setPrototypeOf;
|
42 | });
|
43 |
|
44 | function _inherits(subClass, superClass) {
|
45 | if (typeof superClass !== "function" && superClass !== null) {
|
46 | throw new TypeError("Super expression must either be null or a function");
|
47 | }
|
48 |
|
49 | subClass.prototype = Object.create(superClass && superClass.prototype, {
|
50 | constructor: {
|
51 | value: subClass,
|
52 | writable: true,
|
53 | configurable: true
|
54 | }
|
55 | });
|
56 | if (superClass) setPrototypeOf(subClass, superClass);
|
57 | }
|
58 |
|
59 | var inherits = _inherits;
|
60 |
|
61 | var _typeof_1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
62 | function _typeof(obj) {
|
63 | "@babel/helpers - typeof";
|
64 |
|
65 | if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
66 | module.exports = _typeof = function _typeof(obj) {
|
67 | return typeof obj;
|
68 | };
|
69 | } else {
|
70 | module.exports = _typeof = function _typeof(obj) {
|
71 | return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
72 | };
|
73 | }
|
74 |
|
75 | return _typeof(obj);
|
76 | }
|
77 |
|
78 | module.exports = _typeof;
|
79 | });
|
80 |
|
81 | function _assertThisInitialized(self) {
|
82 | if (self === void 0) {
|
83 | throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
84 | }
|
85 |
|
86 | return self;
|
87 | }
|
88 |
|
89 | var assertThisInitialized = _assertThisInitialized;
|
90 |
|
91 | function _possibleConstructorReturn(self, call) {
|
92 | if (call && (_typeof_1(call) === "object" || typeof call === "function")) {
|
93 | return call;
|
94 | }
|
95 |
|
96 | return assertThisInitialized(self);
|
97 | }
|
98 |
|
99 | var possibleConstructorReturn = _possibleConstructorReturn;
|
100 |
|
101 | var getPrototypeOf = _commonjsHelpers.createCommonjsModule(function (module) {
|
102 | function _getPrototypeOf(o) {
|
103 | module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
104 | return o.__proto__ || Object.getPrototypeOf(o);
|
105 | };
|
106 | return _getPrototypeOf(o);
|
107 | }
|
108 |
|
109 | module.exports = _getPrototypeOf;
|
110 | });
|
111 |
|
112 | exports._assertThisInitialized = assertThisInitialized;
|
113 | exports._classCallCheck = classCallCheck;
|
114 | exports._createClass = createClass;
|
115 | exports._getPrototypeOf = getPrototypeOf;
|
116 | exports._inherits = inherits;
|
117 | exports._possibleConstructorReturn = possibleConstructorReturn;
|
118 | exports.getPrototypeOf = getPrototypeOf;
|
119 | exports.setPrototypeOf = setPrototypeOf;
|
120 |
|