@plasmicpkgs/plasmic-basic-components 0.0.274 → 0.0.276
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.
- package/dist/plasmic-basic-components.cjs.development.js +136 -316
- package/dist/plasmic-basic-components.cjs.development.js.map +1 -1
- package/dist/plasmic-basic-components.cjs.production.min.js +1 -1
- package/dist/plasmic-basic-components.cjs.production.min.js.map +1 -1
- package/dist/plasmic-basic-components.esm.js +136 -316
- package/dist/plasmic-basic-components.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -125,306 +125,130 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
125
125
|
}
|
|
126
126
|
return t;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
return o(a, "_invoke", {
|
|
163
|
-
value: makeInvokeMethod(t, r, c)
|
|
164
|
-
}), a;
|
|
165
|
-
}
|
|
166
|
-
function tryCatch(t, e, r) {
|
|
167
|
-
try {
|
|
168
|
-
return {
|
|
169
|
-
type: "normal",
|
|
170
|
-
arg: t.call(e, r)
|
|
171
|
-
};
|
|
172
|
-
} catch (t) {
|
|
173
|
-
return {
|
|
174
|
-
type: "throw",
|
|
175
|
-
arg: t
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
e.wrap = wrap;
|
|
180
|
-
var h = "suspendedStart",
|
|
181
|
-
l = "suspendedYield",
|
|
182
|
-
f = "executing",
|
|
183
|
-
s = "completed",
|
|
184
|
-
y = {};
|
|
185
|
-
function Generator() {}
|
|
186
|
-
function GeneratorFunction() {}
|
|
187
|
-
function GeneratorFunctionPrototype() {}
|
|
188
|
-
var p = {};
|
|
189
|
-
define(p, a, function () {
|
|
190
|
-
return this;
|
|
191
|
-
});
|
|
192
|
-
var d = Object.getPrototypeOf,
|
|
193
|
-
v = d && d(d(values([])));
|
|
194
|
-
v && v !== r && n.call(v, a) && (p = v);
|
|
195
|
-
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
196
|
-
function defineIteratorMethods(t) {
|
|
197
|
-
["next", "throw", "return"].forEach(function (e) {
|
|
198
|
-
define(t, e, function (t) {
|
|
199
|
-
return this._invoke(e, t);
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
function AsyncIterator(t, e) {
|
|
204
|
-
function invoke(r, o, i, a) {
|
|
205
|
-
var c = tryCatch(t[r], t, o);
|
|
206
|
-
if ("throw" !== c.type) {
|
|
207
|
-
var u = c.arg,
|
|
208
|
-
h = u.value;
|
|
209
|
-
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
210
|
-
invoke("next", t, i, a);
|
|
211
|
-
}, function (t) {
|
|
212
|
-
invoke("throw", t, i, a);
|
|
213
|
-
}) : e.resolve(h).then(function (t) {
|
|
214
|
-
u.value = t, i(u);
|
|
215
|
-
}, function (t) {
|
|
216
|
-
return invoke("throw", t, i, a);
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
a(c.arg);
|
|
220
|
-
}
|
|
221
|
-
var r;
|
|
222
|
-
o(this, "_invoke", {
|
|
223
|
-
value: function (t, n) {
|
|
224
|
-
function callInvokeWithMethodAndArg() {
|
|
225
|
-
return new e(function (e, r) {
|
|
226
|
-
invoke(t, n, e, r);
|
|
227
|
-
});
|
|
128
|
+
function _regenerator() {
|
|
129
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
130
|
+
var e,
|
|
131
|
+
t,
|
|
132
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
133
|
+
n = r.iterator || "@@iterator",
|
|
134
|
+
o = r.toStringTag || "@@toStringTag";
|
|
135
|
+
function i(r, n, o, i) {
|
|
136
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
137
|
+
u = Object.create(c.prototype);
|
|
138
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
139
|
+
var i,
|
|
140
|
+
c,
|
|
141
|
+
u,
|
|
142
|
+
f = 0,
|
|
143
|
+
p = o || [],
|
|
144
|
+
y = !1,
|
|
145
|
+
G = {
|
|
146
|
+
p: 0,
|
|
147
|
+
n: 0,
|
|
148
|
+
v: e,
|
|
149
|
+
a: d,
|
|
150
|
+
f: d.bind(e, 4),
|
|
151
|
+
d: function (t, r) {
|
|
152
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
function d(r, n) {
|
|
156
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
157
|
+
var o,
|
|
158
|
+
i = p[t],
|
|
159
|
+
d = G.p,
|
|
160
|
+
l = i[2];
|
|
161
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
228
162
|
}
|
|
229
|
-
|
|
163
|
+
if (o || r > 1) return a;
|
|
164
|
+
throw y = !0, n;
|
|
230
165
|
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
166
|
+
return function (o, p, l) {
|
|
167
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
168
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
169
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
170
|
+
try {
|
|
171
|
+
if (f = 2, i) {
|
|
172
|
+
if (c || (o = "next"), t = i[o]) {
|
|
173
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
174
|
+
if (!t.done) return t;
|
|
175
|
+
u = t.value, c < 2 && (c = 0);
|
|
176
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
177
|
+
i = e;
|
|
178
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
179
|
+
} catch (t) {
|
|
180
|
+
i = e, c = 1, u = t;
|
|
181
|
+
} finally {
|
|
182
|
+
f = 1;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
239
185
|
return {
|
|
240
186
|
value: t,
|
|
241
|
-
done:
|
|
187
|
+
done: y
|
|
242
188
|
};
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
var c = n.delegate;
|
|
246
|
-
if (c) {
|
|
247
|
-
var u = maybeInvokeDelegate(c, n);
|
|
248
|
-
if (u) {
|
|
249
|
-
if (u === y) continue;
|
|
250
|
-
return u;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
254
|
-
if (o === h) throw o = s, n.arg;
|
|
255
|
-
n.dispatchException(n.arg);
|
|
256
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
257
|
-
o = f;
|
|
258
|
-
var p = tryCatch(e, r, n);
|
|
259
|
-
if ("normal" === p.type) {
|
|
260
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
|
261
|
-
return {
|
|
262
|
-
value: p.arg,
|
|
263
|
-
done: n.done
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
267
|
-
}
|
|
268
|
-
};
|
|
189
|
+
};
|
|
190
|
+
}(r, o, i), !0), u;
|
|
269
191
|
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
192
|
+
var a = {};
|
|
193
|
+
function Generator() {}
|
|
194
|
+
function GeneratorFunction() {}
|
|
195
|
+
function GeneratorFunctionPrototype() {}
|
|
196
|
+
t = Object.getPrototypeOf;
|
|
197
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
198
|
+
return this;
|
|
199
|
+
}), t),
|
|
200
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
201
|
+
function f(e) {
|
|
202
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
278
203
|
}
|
|
279
|
-
function
|
|
280
|
-
|
|
281
|
-
|
|
204
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
205
|
+
return this;
|
|
206
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
207
|
+
return "[object Generator]";
|
|
208
|
+
}), (_regenerator = function () {
|
|
209
|
+
return {
|
|
210
|
+
w: i,
|
|
211
|
+
m: f
|
|
282
212
|
};
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
tryLoc: "root"
|
|
292
|
-
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
213
|
+
})();
|
|
214
|
+
}
|
|
215
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
216
|
+
var i = Object.defineProperty;
|
|
217
|
+
try {
|
|
218
|
+
i({}, "", {});
|
|
219
|
+
} catch (e) {
|
|
220
|
+
i = 0;
|
|
293
221
|
}
|
|
294
|
-
function
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
if (!isNaN(e.length)) {
|
|
300
|
-
var o = -1,
|
|
301
|
-
i = function next() {
|
|
302
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
303
|
-
return next.value = t, next.done = !0, next;
|
|
304
|
-
};
|
|
305
|
-
return i.next = i;
|
|
306
|
-
}
|
|
222
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
223
|
+
function o(r, n) {
|
|
224
|
+
_regeneratorDefine(e, r, function (e) {
|
|
225
|
+
return this._invoke(r, n, e);
|
|
226
|
+
});
|
|
307
227
|
}
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
return {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
void 0 === i && (i = Promise);
|
|
329
|
-
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
330
|
-
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
331
|
-
return t.done ? t.value : a.next();
|
|
332
|
-
});
|
|
333
|
-
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
334
|
-
return this;
|
|
335
|
-
}), define(g, "toString", function () {
|
|
336
|
-
return "[object Generator]";
|
|
337
|
-
}), e.keys = function (t) {
|
|
338
|
-
var e = Object(t),
|
|
339
|
-
r = [];
|
|
340
|
-
for (var n in e) r.push(n);
|
|
341
|
-
return r.reverse(), function next() {
|
|
342
|
-
for (; r.length;) {
|
|
343
|
-
var t = r.pop();
|
|
344
|
-
if (t in e) return next.value = t, next.done = !1, next;
|
|
228
|
+
r ? i ? i(e, r, {
|
|
229
|
+
value: n,
|
|
230
|
+
enumerable: !t,
|
|
231
|
+
configurable: !t,
|
|
232
|
+
writable: !t
|
|
233
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
234
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
235
|
+
}
|
|
236
|
+
function _regeneratorValues(e) {
|
|
237
|
+
if (null != e) {
|
|
238
|
+
var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
|
|
239
|
+
r = 0;
|
|
240
|
+
if (t) return t.call(e);
|
|
241
|
+
if ("function" == typeof e.next) return e;
|
|
242
|
+
if (!isNaN(e.length)) return {
|
|
243
|
+
next: function () {
|
|
244
|
+
return e && r >= e.length && (e = void 0), {
|
|
245
|
+
value: e && e[r++],
|
|
246
|
+
done: !e
|
|
247
|
+
};
|
|
345
248
|
}
|
|
346
|
-
return next.done = !0, next;
|
|
347
249
|
};
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
reset: function (e) {
|
|
351
|
-
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);
|
|
352
|
-
},
|
|
353
|
-
stop: function () {
|
|
354
|
-
this.done = !0;
|
|
355
|
-
var t = this.tryEntries[0].completion;
|
|
356
|
-
if ("throw" === t.type) throw t.arg;
|
|
357
|
-
return this.rval;
|
|
358
|
-
},
|
|
359
|
-
dispatchException: function (e) {
|
|
360
|
-
if (this.done) throw e;
|
|
361
|
-
var r = this;
|
|
362
|
-
function handle(n, o) {
|
|
363
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
364
|
-
}
|
|
365
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
366
|
-
var i = this.tryEntries[o],
|
|
367
|
-
a = i.completion;
|
|
368
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
369
|
-
if (i.tryLoc <= this.prev) {
|
|
370
|
-
var c = n.call(i, "catchLoc"),
|
|
371
|
-
u = n.call(i, "finallyLoc");
|
|
372
|
-
if (c && u) {
|
|
373
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
374
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
375
|
-
} else if (c) {
|
|
376
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
377
|
-
} else {
|
|
378
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
379
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
abrupt: function (t, e) {
|
|
385
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
386
|
-
var o = this.tryEntries[r];
|
|
387
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
388
|
-
var i = o;
|
|
389
|
-
break;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
393
|
-
var a = i ? i.completion : {};
|
|
394
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
395
|
-
},
|
|
396
|
-
complete: function (t, e) {
|
|
397
|
-
if ("throw" === t.type) throw t.arg;
|
|
398
|
-
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;
|
|
399
|
-
},
|
|
400
|
-
finish: function (t) {
|
|
401
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
402
|
-
var r = this.tryEntries[e];
|
|
403
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
catch: function (t) {
|
|
407
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
408
|
-
var r = this.tryEntries[e];
|
|
409
|
-
if (r.tryLoc === t) {
|
|
410
|
-
var n = r.completion;
|
|
411
|
-
if ("throw" === n.type) {
|
|
412
|
-
var o = n.arg;
|
|
413
|
-
resetTryEntry(r);
|
|
414
|
-
}
|
|
415
|
-
return o;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
throw Error("illegal catch attempt");
|
|
419
|
-
},
|
|
420
|
-
delegateYield: function (e, r, n) {
|
|
421
|
-
return this.delegate = {
|
|
422
|
-
iterator: values(e),
|
|
423
|
-
resultName: r,
|
|
424
|
-
nextLoc: n
|
|
425
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
426
|
-
}
|
|
427
|
-
}, e;
|
|
250
|
+
}
|
|
251
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
428
252
|
}
|
|
429
253
|
|
|
430
254
|
var _excluded = ["tag", "className", "children", "propSelectors"],
|
|
@@ -710,15 +534,15 @@ function Embed(_ref) {
|
|
|
710
534
|
}
|
|
711
535
|
// Load scripts sequentially one at a time, since later scripts can depend on earlier ones.
|
|
712
536
|
var cleanup = false;
|
|
713
|
-
_asyncToGenerator(/*#__PURE__*/
|
|
537
|
+
_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
714
538
|
var _loop, _ret, _i, _Array$from;
|
|
715
|
-
return
|
|
716
|
-
while (1) switch (_context2.
|
|
539
|
+
return _regenerator().w(function (_context2) {
|
|
540
|
+
while (1) switch (_context2.n) {
|
|
717
541
|
case 0:
|
|
718
|
-
_loop = /*#__PURE__*/
|
|
542
|
+
_loop = /*#__PURE__*/_regenerator().m(function _loop() {
|
|
719
543
|
var oldScript, newScript;
|
|
720
|
-
return
|
|
721
|
-
while (1) switch (_context.
|
|
544
|
+
return _regenerator().w(function (_context) {
|
|
545
|
+
while (1) switch (_context.n) {
|
|
722
546
|
case 0:
|
|
723
547
|
oldScript = _Array$from[_i];
|
|
724
548
|
newScript = document.createElement("script"); // This doesn't actually have the effect we want, we need to explicitly wait on the load event, since all
|
|
@@ -731,52 +555,48 @@ function Embed(_ref) {
|
|
|
731
555
|
ensure(oldScript.parentNode).replaceChild(newScript, oldScript);
|
|
732
556
|
// Only scripts with src will ever fire a load event.
|
|
733
557
|
if (!newScript.src) {
|
|
734
|
-
_context.
|
|
558
|
+
_context.n = 2;
|
|
735
559
|
break;
|
|
736
560
|
}
|
|
737
|
-
_context.
|
|
561
|
+
_context.n = 1;
|
|
738
562
|
return new Promise(function (resolve) {
|
|
739
563
|
return newScript.addEventListener("load", resolve);
|
|
740
564
|
});
|
|
741
|
-
case
|
|
565
|
+
case 1:
|
|
742
566
|
if (!cleanup) {
|
|
743
|
-
_context.
|
|
567
|
+
_context.n = 2;
|
|
744
568
|
break;
|
|
745
569
|
}
|
|
746
|
-
return _context.
|
|
570
|
+
return _context.a(2, {
|
|
747
571
|
v: void 0
|
|
748
572
|
});
|
|
749
|
-
case
|
|
750
|
-
|
|
751
|
-
return _context.stop();
|
|
573
|
+
case 2:
|
|
574
|
+
return _context.a(2);
|
|
752
575
|
}
|
|
753
576
|
}, _loop);
|
|
754
577
|
});
|
|
755
578
|
_i = 0, _Array$from = Array.from(ensure(rootElt.current).querySelectorAll("script"));
|
|
756
|
-
case
|
|
579
|
+
case 1:
|
|
757
580
|
if (!(_i < _Array$from.length)) {
|
|
758
|
-
_context2.
|
|
581
|
+
_context2.n = 4;
|
|
759
582
|
break;
|
|
760
583
|
}
|
|
761
|
-
return _context2.
|
|
762
|
-
case
|
|
763
|
-
_ret = _context2.
|
|
584
|
+
return _context2.d(_regeneratorValues(_loop()), 2);
|
|
585
|
+
case 2:
|
|
586
|
+
_ret = _context2.v;
|
|
764
587
|
if (!_ret) {
|
|
765
|
-
_context2.
|
|
588
|
+
_context2.n = 3;
|
|
766
589
|
break;
|
|
767
590
|
}
|
|
768
|
-
return _context2.
|
|
769
|
-
case
|
|
591
|
+
return _context2.a(2, _ret.v);
|
|
592
|
+
case 3:
|
|
770
593
|
_i++;
|
|
771
|
-
_context2.
|
|
594
|
+
_context2.n = 1;
|
|
772
595
|
break;
|
|
773
|
-
case
|
|
774
|
-
return _context2.
|
|
596
|
+
case 4:
|
|
597
|
+
return _context2.a(2, function () {
|
|
775
598
|
cleanup = true;
|
|
776
599
|
});
|
|
777
|
-
case 11:
|
|
778
|
-
case "end":
|
|
779
|
-
return _context2.stop();
|
|
780
600
|
}
|
|
781
601
|
}, _callee);
|
|
782
602
|
}))();
|