@abcagency/hc-ui-components 1.2.8 → 1.2.9

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.
Files changed (132) hide show
  1. package/dist/_virtual/_rollupPluginBabelHelpers.js +516 -516
  2. package/dist/apis/hcApi.js +189 -189
  3. package/dist/apis/hcApi.js.map +1 -1
  4. package/dist/clientToken.js +10 -10
  5. package/dist/clientToken.js.map +1 -1
  6. package/dist/components/HireControlMap.js +135 -135
  7. package/dist/components/HireControlMap.js.map +1 -1
  8. package/dist/components/modules/accordions/MapAccordionItem.js +76 -76
  9. package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
  10. package/dist/components/modules/accordions/default.js +108 -108
  11. package/dist/components/modules/accordions/default.js.map +1 -1
  12. package/dist/components/modules/accordions/filterItem.js +50 -50
  13. package/dist/components/modules/accordions/filterItem.js.map +1 -1
  14. package/dist/components/modules/accordions/filters.js +46 -46
  15. package/dist/components/modules/accordions/filters.js.map +1 -1
  16. package/dist/components/modules/buttons/button-group-apply.js +87 -87
  17. package/dist/components/modules/buttons/button-group-apply.js.map +1 -1
  18. package/dist/components/modules/buttons/commute-pill.js +18 -18
  19. package/dist/components/modules/buttons/commute-pill.js.map +1 -1
  20. package/dist/components/modules/buttons/default.js +145 -145
  21. package/dist/components/modules/buttons/default.js.map +1 -1
  22. package/dist/components/modules/buttons/items-pill.js +23 -23
  23. package/dist/components/modules/buttons/items-pill.js.map +1 -1
  24. package/dist/components/modules/buttons/pill-wrapper.js +20 -20
  25. package/dist/components/modules/buttons/pill-wrapper.js.map +1 -1
  26. package/dist/components/modules/buttons/show-all-button.js +39 -39
  27. package/dist/components/modules/buttons/show-all-button.js.map +1 -1
  28. package/dist/components/modules/cards/default.js +102 -102
  29. package/dist/components/modules/cards/default.js.map +1 -1
  30. package/dist/components/modules/cards/filter.js +38 -38
  31. package/dist/components/modules/cards/filter.js.map +1 -1
  32. package/dist/components/modules/dialogs/apply-dialog.js +46 -46
  33. package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
  34. package/dist/components/modules/filter/commute.js +184 -184
  35. package/dist/components/modules/filter/commute.js.map +1 -1
  36. package/dist/components/modules/filter/index.js +79 -79
  37. package/dist/components/modules/filter/index.js.map +1 -1
  38. package/dist/components/modules/filter/item.js +71 -71
  39. package/dist/components/modules/filter/item.js.map +1 -1
  40. package/dist/components/modules/filter/location.js +68 -68
  41. package/dist/components/modules/filter/location.js.map +1 -1
  42. package/dist/components/modules/filter/points-of-interest.js +38 -38
  43. package/dist/components/modules/filter/points-of-interest.js.map +1 -1
  44. package/dist/components/modules/filter/radio-item.js +46 -46
  45. package/dist/components/modules/filter/radio-item.js.map +1 -1
  46. package/dist/components/modules/filter/search.js +83 -83
  47. package/dist/components/modules/filter/search.js.map +1 -1
  48. package/dist/components/modules/filter/sort.js +93 -93
  49. package/dist/components/modules/filter/sort.js.map +1 -1
  50. package/dist/components/modules/grid.js +39 -39
  51. package/dist/components/modules/grid.js.map +1 -1
  52. package/dist/components/modules/icon.js +23 -23
  53. package/dist/components/modules/icon.js.map +1 -1
  54. package/dist/components/modules/jobListing/listing-details.js +71 -71
  55. package/dist/components/modules/jobListing/listing-details.js.map +1 -1
  56. package/dist/components/modules/maps/info-window-card.js +14 -14
  57. package/dist/components/modules/maps/info-window-card.js.map +1 -1
  58. package/dist/components/modules/maps/info-window-content.js +49 -39
  59. package/dist/components/modules/maps/info-window-content.js.map +1 -1
  60. package/dist/components/modules/maps/list/field-mapper.js +88 -88
  61. package/dist/components/modules/maps/list/field-mapper.js.map +1 -1
  62. package/dist/components/modules/maps/list/header-item.js +59 -59
  63. package/dist/components/modules/maps/list/header-item.js.map +1 -1
  64. package/dist/components/modules/maps/list/header.js +37 -37
  65. package/dist/components/modules/maps/list/header.js.map +1 -1
  66. package/dist/components/modules/maps/list/index.js +93 -93
  67. package/dist/components/modules/maps/list/index.js.map +1 -1
  68. package/dist/components/modules/maps/list/item-expand-card/index.js +16 -16
  69. package/dist/components/modules/maps/list/item-expand-card/index.js.map +1 -1
  70. package/dist/components/modules/maps/list/item-expand-card/recruiter-contact-nav.js +38 -38
  71. package/dist/components/modules/maps/list/item-expand-card/recruiter-contact-nav.js.map +1 -1
  72. package/dist/components/modules/maps/list/item-expand-card/recruiter-details.js +40 -40
  73. package/dist/components/modules/maps/list/item-expand-card/recruiter-details.js.map +1 -1
  74. package/dist/components/modules/maps/list/item-expand-card/recruiter-headshot.js +20 -20
  75. package/dist/components/modules/maps/list/item-expand-card/recruiter-headshot.js.map +1 -1
  76. package/dist/components/modules/maps/list/list-item/index.js +98 -98
  77. package/dist/components/modules/maps/list/list-item/index.js.map +1 -1
  78. package/dist/components/modules/maps/map-list.js +57 -57
  79. package/dist/components/modules/maps/map-list.js.map +1 -1
  80. package/dist/components/modules/maps/map-marker.js +85 -85
  81. package/dist/components/modules/maps/map-marker.js.map +1 -1
  82. package/dist/components/modules/maps/map.js +201 -201
  83. package/dist/components/modules/maps/map.js.map +1 -1
  84. package/dist/components/modules/maps/place-marker.js +37 -37
  85. package/dist/components/modules/maps/place-marker.js.map +1 -1
  86. package/dist/components/modules/maps/tabs.js +84 -84
  87. package/dist/components/modules/maps/tabs.js.map +1 -1
  88. package/dist/constants/placeTypes.js +11 -11
  89. package/dist/constants/placeTypes.js.map +1 -1
  90. package/dist/contexts/mapContext.js +133 -133
  91. package/dist/contexts/mapContext.js.map +1 -1
  92. package/dist/contexts/mapListContext.js +280 -280
  93. package/dist/contexts/mapListContext.js.map +1 -1
  94. package/dist/contexts/placesContext.js +152 -152
  95. package/dist/contexts/placesContext.js.map +1 -1
  96. package/dist/hooks/useList.js +119 -119
  97. package/dist/hooks/useList.js.map +1 -1
  98. package/dist/index.js +2 -2
  99. package/dist/services/_virtual/_rollupPluginBabelHelpers.js +372 -372
  100. package/dist/services/apis/hcApi.js +189 -189
  101. package/dist/services/apis/hcApi.js.map +1 -1
  102. package/dist/services/clientToken.js +7 -7
  103. package/dist/services/clientToken.js.map +1 -1
  104. package/dist/services/configService.js +33 -33
  105. package/dist/services/configService.js.map +1 -1
  106. package/dist/services/googlePlacesNearbyService.js +61 -61
  107. package/dist/services/googlePlacesNearbyService.js.map +1 -1
  108. package/dist/services/listingAggregatorService.js +56 -56
  109. package/dist/services/listingAggregatorService.js.map +1 -1
  110. package/dist/services/listingEntityService.js +36 -36
  111. package/dist/services/listingEntityService.js.map +1 -1
  112. package/dist/services/listingService.js +64 -64
  113. package/dist/services/listingService.js.map +1 -1
  114. package/dist/services/recruiterService.js +36 -36
  115. package/dist/services/recruiterService.js.map +1 -1
  116. package/dist/services/styles/index.css +2 -2
  117. package/dist/styles/index.css +2 -2
  118. package/dist/util/filterUtil.js +213 -213
  119. package/dist/util/filterUtil.js.map +1 -1
  120. package/dist/util/loading.js +16 -16
  121. package/dist/util/loading.js.map +1 -1
  122. package/dist/util/localStorageUtil.js +32 -32
  123. package/dist/util/localStorageUtil.js.map +1 -1
  124. package/dist/util/mapIconUtil.js +73 -73
  125. package/dist/util/mapIconUtil.js.map +1 -1
  126. package/dist/util/mapUtil.js +76 -76
  127. package/dist/util/mapUtil.js.map +1 -1
  128. package/dist/util/sortUtil.js +33 -33
  129. package/dist/util/sortUtil.js.map +1 -1
  130. package/dist/util/stringUtils.js +9 -9
  131. package/dist/util/stringUtils.js.map +1 -1
  132. package/package.json +1 -1
@@ -1,372 +1,372 @@
1
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
2
- try {
3
- var i = n[a](c),
4
- u = i.value;
5
- } catch (n) {
6
- return void e(n);
7
- }
8
- i.done ? t(u) : Promise.resolve(u).then(r, o);
9
- }
10
- function _asyncToGenerator(n) {
11
- return function () {
12
- var t = this,
13
- e = arguments;
14
- return new Promise(function (r, o) {
15
- var a = n.apply(t, e);
16
- function _next(n) {
17
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
18
- }
19
- function _throw(n) {
20
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
21
- }
22
- _next(void 0);
23
- });
24
- };
25
- }
26
- function _defineProperty(e, r, t) {
27
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
28
- value: t,
29
- enumerable: !0,
30
- configurable: !0,
31
- writable: !0
32
- }) : e[r] = t, e;
33
- }
34
- function ownKeys(e, r) {
35
- var t = Object.keys(e);
36
- if (Object.getOwnPropertySymbols) {
37
- var o = Object.getOwnPropertySymbols(e);
38
- r && (o = o.filter(function (r) {
39
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
40
- })), t.push.apply(t, o);
41
- }
42
- return t;
43
- }
44
- function _objectSpread2(e) {
45
- for (var r = 1; r < arguments.length; r++) {
46
- var t = null != arguments[r] ? arguments[r] : {};
47
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
48
- _defineProperty(e, r, t[r]);
49
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
50
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
51
- });
52
- }
53
- return e;
54
- }
55
- function _regeneratorRuntime() {
56
- _regeneratorRuntime = function () {
57
- return e;
58
- };
59
- var t,
60
- e = {},
61
- r = Object.prototype,
62
- n = r.hasOwnProperty,
63
- o = Object.defineProperty || function (t, e, r) {
64
- t[e] = r.value;
65
- },
66
- i = "function" == typeof Symbol ? Symbol : {},
67
- a = i.iterator || "@@iterator",
68
- c = i.asyncIterator || "@@asyncIterator",
69
- u = i.toStringTag || "@@toStringTag";
70
- function define(t, e, r) {
71
- return Object.defineProperty(t, e, {
72
- value: r,
73
- enumerable: !0,
74
- configurable: !0,
75
- writable: !0
76
- }), t[e];
77
- }
78
- try {
79
- define({}, "");
80
- } catch (t) {
81
- define = function (t, e, r) {
82
- return t[e] = r;
83
- };
84
- }
85
- function wrap(t, e, r, n) {
86
- var i = e && e.prototype instanceof Generator ? e : Generator,
87
- a = Object.create(i.prototype),
88
- c = new Context(n || []);
89
- return o(a, "_invoke", {
90
- value: makeInvokeMethod(t, r, c)
91
- }), a;
92
- }
93
- function tryCatch(t, e, r) {
94
- try {
95
- return {
96
- type: "normal",
97
- arg: t.call(e, r)
98
- };
99
- } catch (t) {
100
- return {
101
- type: "throw",
102
- arg: t
103
- };
104
- }
105
- }
106
- e.wrap = wrap;
107
- var h = "suspendedStart",
108
- l = "suspendedYield",
109
- f = "executing",
110
- s = "completed",
111
- y = {};
112
- function Generator() {}
113
- function GeneratorFunction() {}
114
- function GeneratorFunctionPrototype() {}
115
- var p = {};
116
- define(p, a, function () {
117
- return this;
118
- });
119
- var d = Object.getPrototypeOf,
120
- v = d && d(d(values([])));
121
- v && v !== r && n.call(v, a) && (p = v);
122
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
123
- function defineIteratorMethods(t) {
124
- ["next", "throw", "return"].forEach(function (e) {
125
- define(t, e, function (t) {
126
- return this._invoke(e, t);
127
- });
128
- });
129
- }
130
- function AsyncIterator(t, e) {
131
- function invoke(r, o, i, a) {
132
- var c = tryCatch(t[r], t, o);
133
- if ("throw" !== c.type) {
134
- var u = c.arg,
135
- h = u.value;
136
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
137
- invoke("next", t, i, a);
138
- }, function (t) {
139
- invoke("throw", t, i, a);
140
- }) : e.resolve(h).then(function (t) {
141
- u.value = t, i(u);
142
- }, function (t) {
143
- return invoke("throw", t, i, a);
144
- });
145
- }
146
- a(c.arg);
147
- }
148
- var r;
149
- o(this, "_invoke", {
150
- value: function (t, n) {
151
- function callInvokeWithMethodAndArg() {
152
- return new e(function (e, r) {
153
- invoke(t, n, e, r);
154
- });
155
- }
156
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
157
- }
158
- });
159
- }
160
- function makeInvokeMethod(e, r, n) {
161
- var o = h;
162
- return function (i, a) {
163
- if (o === f) throw Error("Generator is already running");
164
- if (o === s) {
165
- if ("throw" === i) throw a;
166
- return {
167
- value: t,
168
- done: !0
169
- };
170
- }
171
- for (n.method = i, n.arg = a;;) {
172
- var c = n.delegate;
173
- if (c) {
174
- var u = maybeInvokeDelegate(c, n);
175
- if (u) {
176
- if (u === y) continue;
177
- return u;
178
- }
179
- }
180
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
181
- if (o === h) throw o = s, n.arg;
182
- n.dispatchException(n.arg);
183
- } else "return" === n.method && n.abrupt("return", n.arg);
184
- o = f;
185
- var p = tryCatch(e, r, n);
186
- if ("normal" === p.type) {
187
- if (o = n.done ? s : l, p.arg === y) continue;
188
- return {
189
- value: p.arg,
190
- done: n.done
191
- };
192
- }
193
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
194
- }
195
- };
196
- }
197
- function maybeInvokeDelegate(e, r) {
198
- var n = r.method,
199
- o = e.iterator[n];
200
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
201
- var i = tryCatch(o, e.iterator, r.arg);
202
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
203
- var a = i.arg;
204
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
205
- }
206
- function pushTryEntry(t) {
207
- var e = {
208
- tryLoc: t[0]
209
- };
210
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
211
- }
212
- function resetTryEntry(t) {
213
- var e = t.completion || {};
214
- e.type = "normal", delete e.arg, t.completion = e;
215
- }
216
- function Context(t) {
217
- this.tryEntries = [{
218
- tryLoc: "root"
219
- }], t.forEach(pushTryEntry, this), this.reset(!0);
220
- }
221
- function values(e) {
222
- if (e || "" === e) {
223
- var r = e[a];
224
- if (r) return r.call(e);
225
- if ("function" == typeof e.next) return e;
226
- if (!isNaN(e.length)) {
227
- var o = -1,
228
- i = function next() {
229
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
230
- return next.value = t, next.done = !0, next;
231
- };
232
- return i.next = i;
233
- }
234
- }
235
- throw new TypeError(typeof e + " is not iterable");
236
- }
237
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
238
- value: GeneratorFunctionPrototype,
239
- configurable: !0
240
- }), o(GeneratorFunctionPrototype, "constructor", {
241
- value: GeneratorFunction,
242
- configurable: !0
243
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
244
- var e = "function" == typeof t && t.constructor;
245
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
246
- }, e.mark = function (t) {
247
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
248
- }, e.awrap = function (t) {
249
- return {
250
- __await: t
251
- };
252
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
253
- return this;
254
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
255
- void 0 === i && (i = Promise);
256
- var a = new AsyncIterator(wrap(t, r, n, o), i);
257
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
258
- return t.done ? t.value : a.next();
259
- });
260
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
261
- return this;
262
- }), define(g, "toString", function () {
263
- return "[object Generator]";
264
- }), e.keys = function (t) {
265
- var e = Object(t),
266
- r = [];
267
- for (var n in e) r.push(n);
268
- return r.reverse(), function next() {
269
- for (; r.length;) {
270
- var t = r.pop();
271
- if (t in e) return next.value = t, next.done = !1, next;
272
- }
273
- return next.done = !0, next;
274
- };
275
- }, e.values = values, Context.prototype = {
276
- constructor: Context,
277
- reset: function (e) {
278
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
279
- },
280
- stop: function () {
281
- this.done = !0;
282
- var t = this.tryEntries[0].completion;
283
- if ("throw" === t.type) throw t.arg;
284
- return this.rval;
285
- },
286
- dispatchException: function (e) {
287
- if (this.done) throw e;
288
- var r = this;
289
- function handle(n, o) {
290
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
291
- }
292
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
293
- var i = this.tryEntries[o],
294
- a = i.completion;
295
- if ("root" === i.tryLoc) return handle("end");
296
- if (i.tryLoc <= this.prev) {
297
- var c = n.call(i, "catchLoc"),
298
- u = n.call(i, "finallyLoc");
299
- if (c && u) {
300
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
301
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
302
- } else if (c) {
303
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
304
- } else {
305
- if (!u) throw Error("try statement without catch or finally");
306
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
307
- }
308
- }
309
- }
310
- },
311
- abrupt: function (t, e) {
312
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
313
- var o = this.tryEntries[r];
314
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
315
- var i = o;
316
- break;
317
- }
318
- }
319
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
320
- var a = i ? i.completion : {};
321
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
322
- },
323
- complete: function (t, e) {
324
- if ("throw" === t.type) throw t.arg;
325
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
326
- },
327
- finish: function (t) {
328
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
329
- var r = this.tryEntries[e];
330
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
331
- }
332
- },
333
- catch: function (t) {
334
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
335
- var r = this.tryEntries[e];
336
- if (r.tryLoc === t) {
337
- var n = r.completion;
338
- if ("throw" === n.type) {
339
- var o = n.arg;
340
- resetTryEntry(r);
341
- }
342
- return o;
343
- }
344
- }
345
- throw Error("illegal catch attempt");
346
- },
347
- delegateYield: function (e, r, n) {
348
- return this.delegate = {
349
- iterator: values(e),
350
- resultName: r,
351
- nextLoc: n
352
- }, "next" === this.method && (this.arg = t), y;
353
- }
354
- }, e;
355
- }
356
- function _toPrimitive(t, r) {
357
- if ("object" != typeof t || !t) return t;
358
- var e = t[Symbol.toPrimitive];
359
- if (void 0 !== e) {
360
- var i = e.call(t, r || "default");
361
- if ("object" != typeof i) return i;
362
- throw new TypeError("@@toPrimitive must return a primitive value.");
363
- }
364
- return ("string" === r ? String : Number)(t);
365
- }
366
- function _toPropertyKey(t) {
367
- var i = _toPrimitive(t, "string");
368
- return "symbol" == typeof i ? i : i + "";
369
- }
370
-
371
- export { _asyncToGenerator as asyncToGenerator, _defineProperty as defineProperty, _objectSpread2 as objectSpread2, _regeneratorRuntime as regeneratorRuntime, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey };
372
- //# sourceMappingURL=_rollupPluginBabelHelpers.js.map
1
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
2
+ try {
3
+ var i = n[a](c),
4
+ u = i.value;
5
+ } catch (n) {
6
+ return void e(n);
7
+ }
8
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
9
+ }
10
+ function _asyncToGenerator(n) {
11
+ return function () {
12
+ var t = this,
13
+ e = arguments;
14
+ return new Promise(function (r, o) {
15
+ var a = n.apply(t, e);
16
+ function _next(n) {
17
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
18
+ }
19
+ function _throw(n) {
20
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
21
+ }
22
+ _next(void 0);
23
+ });
24
+ };
25
+ }
26
+ function _defineProperty(e, r, t) {
27
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
28
+ value: t,
29
+ enumerable: !0,
30
+ configurable: !0,
31
+ writable: !0
32
+ }) : e[r] = t, e;
33
+ }
34
+ function ownKeys(e, r) {
35
+ var t = Object.keys(e);
36
+ if (Object.getOwnPropertySymbols) {
37
+ var o = Object.getOwnPropertySymbols(e);
38
+ r && (o = o.filter(function (r) {
39
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
40
+ })), t.push.apply(t, o);
41
+ }
42
+ return t;
43
+ }
44
+ function _objectSpread2(e) {
45
+ for (var r = 1; r < arguments.length; r++) {
46
+ var t = null != arguments[r] ? arguments[r] : {};
47
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
48
+ _defineProperty(e, r, t[r]);
49
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
50
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
51
+ });
52
+ }
53
+ return e;
54
+ }
55
+ function _regeneratorRuntime() {
56
+ _regeneratorRuntime = function () {
57
+ return e;
58
+ };
59
+ var t,
60
+ e = {},
61
+ r = Object.prototype,
62
+ n = r.hasOwnProperty,
63
+ o = Object.defineProperty || function (t, e, r) {
64
+ t[e] = r.value;
65
+ },
66
+ i = "function" == typeof Symbol ? Symbol : {},
67
+ a = i.iterator || "@@iterator",
68
+ c = i.asyncIterator || "@@asyncIterator",
69
+ u = i.toStringTag || "@@toStringTag";
70
+ function define(t, e, r) {
71
+ return Object.defineProperty(t, e, {
72
+ value: r,
73
+ enumerable: !0,
74
+ configurable: !0,
75
+ writable: !0
76
+ }), t[e];
77
+ }
78
+ try {
79
+ define({}, "");
80
+ } catch (t) {
81
+ define = function (t, e, r) {
82
+ return t[e] = r;
83
+ };
84
+ }
85
+ function wrap(t, e, r, n) {
86
+ var i = e && e.prototype instanceof Generator ? e : Generator,
87
+ a = Object.create(i.prototype),
88
+ c = new Context(n || []);
89
+ return o(a, "_invoke", {
90
+ value: makeInvokeMethod(t, r, c)
91
+ }), a;
92
+ }
93
+ function tryCatch(t, e, r) {
94
+ try {
95
+ return {
96
+ type: "normal",
97
+ arg: t.call(e, r)
98
+ };
99
+ } catch (t) {
100
+ return {
101
+ type: "throw",
102
+ arg: t
103
+ };
104
+ }
105
+ }
106
+ e.wrap = wrap;
107
+ var h = "suspendedStart",
108
+ l = "suspendedYield",
109
+ f = "executing",
110
+ s = "completed",
111
+ y = {};
112
+ function Generator() {}
113
+ function GeneratorFunction() {}
114
+ function GeneratorFunctionPrototype() {}
115
+ var p = {};
116
+ define(p, a, function () {
117
+ return this;
118
+ });
119
+ var d = Object.getPrototypeOf,
120
+ v = d && d(d(values([])));
121
+ v && v !== r && n.call(v, a) && (p = v);
122
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
123
+ function defineIteratorMethods(t) {
124
+ ["next", "throw", "return"].forEach(function (e) {
125
+ define(t, e, function (t) {
126
+ return this._invoke(e, t);
127
+ });
128
+ });
129
+ }
130
+ function AsyncIterator(t, e) {
131
+ function invoke(r, o, i, a) {
132
+ var c = tryCatch(t[r], t, o);
133
+ if ("throw" !== c.type) {
134
+ var u = c.arg,
135
+ h = u.value;
136
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
137
+ invoke("next", t, i, a);
138
+ }, function (t) {
139
+ invoke("throw", t, i, a);
140
+ }) : e.resolve(h).then(function (t) {
141
+ u.value = t, i(u);
142
+ }, function (t) {
143
+ return invoke("throw", t, i, a);
144
+ });
145
+ }
146
+ a(c.arg);
147
+ }
148
+ var r;
149
+ o(this, "_invoke", {
150
+ value: function (t, n) {
151
+ function callInvokeWithMethodAndArg() {
152
+ return new e(function (e, r) {
153
+ invoke(t, n, e, r);
154
+ });
155
+ }
156
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
157
+ }
158
+ });
159
+ }
160
+ function makeInvokeMethod(e, r, n) {
161
+ var o = h;
162
+ return function (i, a) {
163
+ if (o === f) throw Error("Generator is already running");
164
+ if (o === s) {
165
+ if ("throw" === i) throw a;
166
+ return {
167
+ value: t,
168
+ done: !0
169
+ };
170
+ }
171
+ for (n.method = i, n.arg = a;;) {
172
+ var c = n.delegate;
173
+ if (c) {
174
+ var u = maybeInvokeDelegate(c, n);
175
+ if (u) {
176
+ if (u === y) continue;
177
+ return u;
178
+ }
179
+ }
180
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
181
+ if (o === h) throw o = s, n.arg;
182
+ n.dispatchException(n.arg);
183
+ } else "return" === n.method && n.abrupt("return", n.arg);
184
+ o = f;
185
+ var p = tryCatch(e, r, n);
186
+ if ("normal" === p.type) {
187
+ if (o = n.done ? s : l, p.arg === y) continue;
188
+ return {
189
+ value: p.arg,
190
+ done: n.done
191
+ };
192
+ }
193
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
194
+ }
195
+ };
196
+ }
197
+ function maybeInvokeDelegate(e, r) {
198
+ var n = r.method,
199
+ o = e.iterator[n];
200
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
201
+ var i = tryCatch(o, e.iterator, r.arg);
202
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
203
+ var a = i.arg;
204
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
205
+ }
206
+ function pushTryEntry(t) {
207
+ var e = {
208
+ tryLoc: t[0]
209
+ };
210
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
211
+ }
212
+ function resetTryEntry(t) {
213
+ var e = t.completion || {};
214
+ e.type = "normal", delete e.arg, t.completion = e;
215
+ }
216
+ function Context(t) {
217
+ this.tryEntries = [{
218
+ tryLoc: "root"
219
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
220
+ }
221
+ function values(e) {
222
+ if (e || "" === e) {
223
+ var r = e[a];
224
+ if (r) return r.call(e);
225
+ if ("function" == typeof e.next) return e;
226
+ if (!isNaN(e.length)) {
227
+ var o = -1,
228
+ i = function next() {
229
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
230
+ return next.value = t, next.done = !0, next;
231
+ };
232
+ return i.next = i;
233
+ }
234
+ }
235
+ throw new TypeError(typeof e + " is not iterable");
236
+ }
237
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
238
+ value: GeneratorFunctionPrototype,
239
+ configurable: !0
240
+ }), o(GeneratorFunctionPrototype, "constructor", {
241
+ value: GeneratorFunction,
242
+ configurable: !0
243
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
244
+ var e = "function" == typeof t && t.constructor;
245
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
246
+ }, e.mark = function (t) {
247
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
248
+ }, e.awrap = function (t) {
249
+ return {
250
+ __await: t
251
+ };
252
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
253
+ return this;
254
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
255
+ void 0 === i && (i = Promise);
256
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
257
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
258
+ return t.done ? t.value : a.next();
259
+ });
260
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
261
+ return this;
262
+ }), define(g, "toString", function () {
263
+ return "[object Generator]";
264
+ }), e.keys = function (t) {
265
+ var e = Object(t),
266
+ r = [];
267
+ for (var n in e) r.push(n);
268
+ return r.reverse(), function next() {
269
+ for (; r.length;) {
270
+ var t = r.pop();
271
+ if (t in e) return next.value = t, next.done = !1, next;
272
+ }
273
+ return next.done = !0, next;
274
+ };
275
+ }, e.values = values, Context.prototype = {
276
+ constructor: Context,
277
+ reset: function (e) {
278
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
279
+ },
280
+ stop: function () {
281
+ this.done = !0;
282
+ var t = this.tryEntries[0].completion;
283
+ if ("throw" === t.type) throw t.arg;
284
+ return this.rval;
285
+ },
286
+ dispatchException: function (e) {
287
+ if (this.done) throw e;
288
+ var r = this;
289
+ function handle(n, o) {
290
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
291
+ }
292
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
293
+ var i = this.tryEntries[o],
294
+ a = i.completion;
295
+ if ("root" === i.tryLoc) return handle("end");
296
+ if (i.tryLoc <= this.prev) {
297
+ var c = n.call(i, "catchLoc"),
298
+ u = n.call(i, "finallyLoc");
299
+ if (c && u) {
300
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
301
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
302
+ } else if (c) {
303
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
304
+ } else {
305
+ if (!u) throw Error("try statement without catch or finally");
306
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
307
+ }
308
+ }
309
+ }
310
+ },
311
+ abrupt: function (t, e) {
312
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
313
+ var o = this.tryEntries[r];
314
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
315
+ var i = o;
316
+ break;
317
+ }
318
+ }
319
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
320
+ var a = i ? i.completion : {};
321
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
322
+ },
323
+ complete: function (t, e) {
324
+ if ("throw" === t.type) throw t.arg;
325
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
326
+ },
327
+ finish: function (t) {
328
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
329
+ var r = this.tryEntries[e];
330
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
331
+ }
332
+ },
333
+ catch: function (t) {
334
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
335
+ var r = this.tryEntries[e];
336
+ if (r.tryLoc === t) {
337
+ var n = r.completion;
338
+ if ("throw" === n.type) {
339
+ var o = n.arg;
340
+ resetTryEntry(r);
341
+ }
342
+ return o;
343
+ }
344
+ }
345
+ throw Error("illegal catch attempt");
346
+ },
347
+ delegateYield: function (e, r, n) {
348
+ return this.delegate = {
349
+ iterator: values(e),
350
+ resultName: r,
351
+ nextLoc: n
352
+ }, "next" === this.method && (this.arg = t), y;
353
+ }
354
+ }, e;
355
+ }
356
+ function _toPrimitive(t, r) {
357
+ if ("object" != typeof t || !t) return t;
358
+ var e = t[Symbol.toPrimitive];
359
+ if (void 0 !== e) {
360
+ var i = e.call(t, r || "default");
361
+ if ("object" != typeof i) return i;
362
+ throw new TypeError("@@toPrimitive must return a primitive value.");
363
+ }
364
+ return ("string" === r ? String : Number)(t);
365
+ }
366
+ function _toPropertyKey(t) {
367
+ var i = _toPrimitive(t, "string");
368
+ return "symbol" == typeof i ? i : i + "";
369
+ }
370
+
371
+ export { _asyncToGenerator as asyncToGenerator, _defineProperty as defineProperty, _objectSpread2 as objectSpread2, _regeneratorRuntime as regeneratorRuntime, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey };
372
+ //# sourceMappingURL=_rollupPluginBabelHelpers.js.map