@plasmicpkgs/plasmic-query 0.0.106 → 0.0.107
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-query.cjs.development.js +107 -208
- package/dist/plasmic-query.cjs.development.js.map +1 -1
- package/dist/plasmic-query.cjs.production.min.js +1 -1
- package/dist/plasmic-query.cjs.production.min.js.map +1 -1
- package/dist/plasmic-query.esm.js +107 -208
- package/dist/plasmic-query.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -17,64 +17,52 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
17
17
|
reject(error);
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
20
|
if (info.done) {
|
|
22
21
|
resolve(value);
|
|
23
22
|
} else {
|
|
24
23
|
Promise.resolve(value).then(_next, _throw);
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
|
-
|
|
28
26
|
function _asyncToGenerator(fn) {
|
|
29
27
|
return function () {
|
|
30
28
|
var self = this,
|
|
31
|
-
|
|
29
|
+
args = arguments;
|
|
32
30
|
return new Promise(function (resolve, reject) {
|
|
33
31
|
var gen = fn.apply(self, args);
|
|
34
|
-
|
|
35
32
|
function _next(value) {
|
|
36
33
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
37
34
|
}
|
|
38
|
-
|
|
39
35
|
function _throw(err) {
|
|
40
36
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
41
37
|
}
|
|
42
|
-
|
|
43
38
|
_next(undefined);
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
41
|
}
|
|
47
|
-
|
|
48
42
|
function _extends() {
|
|
49
|
-
_extends = Object.assign
|
|
43
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
50
44
|
for (var i = 1; i < arguments.length; i++) {
|
|
51
45
|
var source = arguments[i];
|
|
52
|
-
|
|
53
46
|
for (var key in source) {
|
|
54
47
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
55
48
|
target[key] = source[key];
|
|
56
49
|
}
|
|
57
50
|
}
|
|
58
51
|
}
|
|
59
|
-
|
|
60
52
|
return target;
|
|
61
53
|
};
|
|
62
|
-
|
|
63
54
|
return _extends.apply(this, arguments);
|
|
64
55
|
}
|
|
65
|
-
|
|
66
56
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
67
57
|
if (source == null) return {};
|
|
68
58
|
var target = {};
|
|
69
59
|
var sourceKeys = Object.keys(source);
|
|
70
60
|
var key, i;
|
|
71
|
-
|
|
72
61
|
for (i = 0; i < sourceKeys.length; i++) {
|
|
73
62
|
key = sourceKeys[i];
|
|
74
63
|
if (excluded.indexOf(key) >= 0) continue;
|
|
75
64
|
target[key] = source[key];
|
|
76
65
|
}
|
|
77
|
-
|
|
78
66
|
return target;
|
|
79
67
|
}
|
|
80
68
|
|
|
@@ -89,17 +77,16 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
89
77
|
* This source code is licensed under the MIT license found in the
|
|
90
78
|
* LICENSE file in the root directory of this source tree.
|
|
91
79
|
*/
|
|
80
|
+
|
|
92
81
|
var runtime = function (exports) {
|
|
93
82
|
|
|
94
83
|
var Op = Object.prototype;
|
|
95
84
|
var hasOwn = Op.hasOwnProperty;
|
|
96
85
|
var undefined$1; // More compressible than void 0.
|
|
97
|
-
|
|
98
86
|
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
99
87
|
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
100
88
|
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
101
89
|
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
102
|
-
|
|
103
90
|
function define(obj, key, value) {
|
|
104
91
|
Object.defineProperty(obj, key, {
|
|
105
92
|
value: value,
|
|
@@ -109,7 +96,6 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
109
96
|
});
|
|
110
97
|
return obj[key];
|
|
111
98
|
}
|
|
112
|
-
|
|
113
99
|
try {
|
|
114
100
|
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
115
101
|
define({}, "");
|
|
@@ -118,19 +104,20 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
118
104
|
return obj[key] = value;
|
|
119
105
|
};
|
|
120
106
|
}
|
|
121
|
-
|
|
122
107
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
123
108
|
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
124
109
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
|
125
110
|
var generator = Object.create(protoGenerator.prototype);
|
|
126
|
-
var context = new Context(tryLocsList || []);
|
|
127
|
-
// .throw, and .return methods.
|
|
111
|
+
var context = new Context(tryLocsList || []);
|
|
128
112
|
|
|
113
|
+
// The ._invoke method unifies the implementations of the .next,
|
|
114
|
+
// .throw, and .return methods.
|
|
129
115
|
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
130
116
|
return generator;
|
|
131
117
|
}
|
|
118
|
+
exports.wrap = wrap;
|
|
132
119
|
|
|
133
|
-
|
|
120
|
+
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
134
121
|
// record like context.tryEntries[i].completion. This interface could
|
|
135
122
|
// have been (and was previously) designed to take a closure to be
|
|
136
123
|
// invoked without arguments, but in all the cases we care about we
|
|
@@ -140,7 +127,6 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
140
127
|
// in every case, so we don't have to touch the arguments object. The
|
|
141
128
|
// only additional allocation required is the completion record, which
|
|
142
129
|
// has a stable shape and so hopefully should be cheap to allocate.
|
|
143
|
-
|
|
144
130
|
function tryCatch(fn, obj, arg) {
|
|
145
131
|
try {
|
|
146
132
|
return {
|
|
@@ -154,46 +140,44 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
154
140
|
};
|
|
155
141
|
}
|
|
156
142
|
}
|
|
157
|
-
|
|
158
143
|
var GenStateSuspendedStart = "suspendedStart";
|
|
159
144
|
var GenStateSuspendedYield = "suspendedYield";
|
|
160
145
|
var GenStateExecuting = "executing";
|
|
161
|
-
var GenStateCompleted = "completed";
|
|
146
|
+
var GenStateCompleted = "completed";
|
|
147
|
+
|
|
148
|
+
// Returning this object from the innerFn has the same effect as
|
|
162
149
|
// breaking out of the dispatch switch statement.
|
|
150
|
+
var ContinueSentinel = {};
|
|
163
151
|
|
|
164
|
-
|
|
152
|
+
// Dummy constructor functions that we use as the .constructor and
|
|
165
153
|
// .constructor.prototype properties for functions that return Generator
|
|
166
154
|
// objects. For full spec compliance, you may wish to configure your
|
|
167
155
|
// minifier not to mangle the names of these two functions.
|
|
168
|
-
|
|
169
156
|
function Generator() {}
|
|
170
|
-
|
|
171
157
|
function GeneratorFunction() {}
|
|
158
|
+
function GeneratorFunctionPrototype() {}
|
|
172
159
|
|
|
173
|
-
|
|
160
|
+
// This is a polyfill for %IteratorPrototype% for environments that
|
|
174
161
|
// don't natively support it.
|
|
175
|
-
|
|
176
|
-
|
|
177
162
|
var IteratorPrototype = {};
|
|
178
163
|
define(IteratorPrototype, iteratorSymbol, function () {
|
|
179
164
|
return this;
|
|
180
165
|
});
|
|
181
166
|
var getProto = Object.getPrototypeOf;
|
|
182
167
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
183
|
-
|
|
184
168
|
if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
|
185
169
|
// This environment has a native %IteratorPrototype%; use it instead
|
|
186
170
|
// of the polyfill.
|
|
187
171
|
IteratorPrototype = NativeIteratorPrototype;
|
|
188
172
|
}
|
|
189
|
-
|
|
190
173
|
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
191
174
|
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
192
175
|
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
193
176
|
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
194
|
-
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction");
|
|
195
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
177
|
+
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction");
|
|
196
178
|
|
|
179
|
+
// Helper for defining the .next, .throw, and .return methods of the
|
|
180
|
+
// Iterator interface in terms of a single ._invoke method.
|
|
197
181
|
function defineIteratorMethods(prototype) {
|
|
198
182
|
["next", "throw", "return"].forEach(function (method) {
|
|
199
183
|
define(prototype, method, function (arg) {
|
|
@@ -201,14 +185,13 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
201
185
|
});
|
|
202
186
|
});
|
|
203
187
|
}
|
|
204
|
-
|
|
205
188
|
exports.isGeneratorFunction = function (genFun) {
|
|
206
189
|
var ctor = typeof genFun === "function" && genFun.constructor;
|
|
207
|
-
return ctor ? ctor === GeneratorFunction ||
|
|
190
|
+
return ctor ? ctor === GeneratorFunction ||
|
|
191
|
+
// For the native GeneratorFunction constructor, the best we can
|
|
208
192
|
// do is to check its .name property.
|
|
209
193
|
(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
|
210
194
|
};
|
|
211
|
-
|
|
212
195
|
exports.mark = function (genFun) {
|
|
213
196
|
if (Object.setPrototypeOf) {
|
|
214
197
|
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
|
@@ -216,31 +199,27 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
216
199
|
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
217
200
|
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
218
201
|
}
|
|
219
|
-
|
|
220
202
|
genFun.prototype = Object.create(Gp);
|
|
221
203
|
return genFun;
|
|
222
|
-
};
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
// Within the body of any async function, `await x` is transformed to
|
|
223
207
|
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
224
208
|
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
225
209
|
// meant to be awaited.
|
|
226
|
-
|
|
227
|
-
|
|
228
210
|
exports.awrap = function (arg) {
|
|
229
211
|
return {
|
|
230
212
|
__await: arg
|
|
231
213
|
};
|
|
232
214
|
};
|
|
233
|
-
|
|
234
215
|
function AsyncIterator(generator, PromiseImpl) {
|
|
235
216
|
function invoke(method, arg, resolve, reject) {
|
|
236
217
|
var record = tryCatch(generator[method], generator, arg);
|
|
237
|
-
|
|
238
218
|
if (record.type === "throw") {
|
|
239
219
|
reject(record.arg);
|
|
240
220
|
} else {
|
|
241
221
|
var result = record.arg;
|
|
242
222
|
var value = result.value;
|
|
243
|
-
|
|
244
223
|
if (value && typeof value === "object" && hasOwn.call(value, "__await")) {
|
|
245
224
|
return PromiseImpl.resolve(value.__await).then(function (value) {
|
|
246
225
|
invoke("next", value, resolve, reject);
|
|
@@ -248,7 +227,6 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
248
227
|
invoke("throw", err, resolve, reject);
|
|
249
228
|
});
|
|
250
229
|
}
|
|
251
|
-
|
|
252
230
|
return PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
253
231
|
// When a yielded Promise is resolved, its final value becomes
|
|
254
232
|
// the .value of the Promise<{value,done}> result for the
|
|
@@ -262,17 +240,15 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
262
240
|
});
|
|
263
241
|
}
|
|
264
242
|
}
|
|
265
|
-
|
|
266
243
|
var previousPromise;
|
|
267
|
-
|
|
268
244
|
function enqueue(method, arg) {
|
|
269
245
|
function callInvokeWithMethodAndArg() {
|
|
270
246
|
return new PromiseImpl(function (resolve, reject) {
|
|
271
247
|
invoke(method, arg, resolve, reject);
|
|
272
248
|
});
|
|
273
249
|
}
|
|
274
|
-
|
|
275
|
-
|
|
250
|
+
return previousPromise =
|
|
251
|
+
// If enqueue has been called before, then we want to wait until
|
|
276
252
|
// all previous Promises have been resolved before calling invoke,
|
|
277
253
|
// so that results are always delivered in the correct order. If
|
|
278
254
|
// enqueue has not been called before, then it is important to
|
|
@@ -284,24 +260,25 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
284
260
|
// execute code before the first await. Since we implement simple
|
|
285
261
|
// async functions in terms of async generators, it is especially
|
|
286
262
|
// important to get this right, even though it requires care.
|
|
287
|
-
previousPromise ? previousPromise.then(callInvokeWithMethodAndArg,
|
|
263
|
+
previousPromise ? previousPromise.then(callInvokeWithMethodAndArg,
|
|
264
|
+
// Avoid propagating failures to Promises returned by later
|
|
288
265
|
// invocations of the iterator.
|
|
289
266
|
callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
290
|
-
}
|
|
291
|
-
// .throw, and .return (see defineIteratorMethods).
|
|
292
|
-
|
|
267
|
+
}
|
|
293
268
|
|
|
269
|
+
// Define the unified helper method that is used to implement .next,
|
|
270
|
+
// .throw, and .return (see defineIteratorMethods).
|
|
294
271
|
this._invoke = enqueue;
|
|
295
272
|
}
|
|
296
|
-
|
|
297
273
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
298
274
|
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
299
275
|
return this;
|
|
300
276
|
});
|
|
301
|
-
exports.AsyncIterator = AsyncIterator;
|
|
277
|
+
exports.AsyncIterator = AsyncIterator;
|
|
278
|
+
|
|
279
|
+
// Note that simple async functions are implemented on top of
|
|
302
280
|
// AsyncIterator objects; they just return a Promise for the value of
|
|
303
281
|
// the final result produced by the iterator.
|
|
304
|
-
|
|
305
282
|
exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
306
283
|
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
307
284
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
@@ -310,39 +287,32 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
310
287
|
return result.done ? result.value : iter.next();
|
|
311
288
|
});
|
|
312
289
|
};
|
|
313
|
-
|
|
314
290
|
function makeInvokeMethod(innerFn, self, context) {
|
|
315
291
|
var state = GenStateSuspendedStart;
|
|
316
292
|
return function invoke(method, arg) {
|
|
317
293
|
if (state === GenStateExecuting) {
|
|
318
294
|
throw new Error("Generator is already running");
|
|
319
295
|
}
|
|
320
|
-
|
|
321
296
|
if (state === GenStateCompleted) {
|
|
322
297
|
if (method === "throw") {
|
|
323
298
|
throw arg;
|
|
324
|
-
}
|
|
325
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
326
|
-
|
|
299
|
+
}
|
|
327
300
|
|
|
301
|
+
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
302
|
+
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
328
303
|
return doneResult();
|
|
329
304
|
}
|
|
330
|
-
|
|
331
305
|
context.method = method;
|
|
332
306
|
context.arg = arg;
|
|
333
|
-
|
|
334
307
|
while (true) {
|
|
335
308
|
var delegate = context.delegate;
|
|
336
|
-
|
|
337
309
|
if (delegate) {
|
|
338
310
|
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
339
|
-
|
|
340
311
|
if (delegateResult) {
|
|
341
312
|
if (delegateResult === ContinueSentinel) continue;
|
|
342
313
|
return delegateResult;
|
|
343
314
|
}
|
|
344
315
|
}
|
|
345
|
-
|
|
346
316
|
if (context.method === "next") {
|
|
347
317
|
// Setting context._sent for legacy support of Babel's
|
|
348
318
|
// function.sent implementation.
|
|
@@ -352,51 +322,44 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
352
322
|
state = GenStateCompleted;
|
|
353
323
|
throw context.arg;
|
|
354
324
|
}
|
|
355
|
-
|
|
356
325
|
context.dispatchException(context.arg);
|
|
357
326
|
} else if (context.method === "return") {
|
|
358
327
|
context.abrupt("return", context.arg);
|
|
359
328
|
}
|
|
360
|
-
|
|
361
329
|
state = GenStateExecuting;
|
|
362
330
|
var record = tryCatch(innerFn, self, context);
|
|
363
|
-
|
|
364
331
|
if (record.type === "normal") {
|
|
365
332
|
// If an exception is thrown from innerFn, we leave state ===
|
|
366
333
|
// GenStateExecuting and loop back for another invocation.
|
|
367
334
|
state = context.done ? GenStateCompleted : GenStateSuspendedYield;
|
|
368
|
-
|
|
369
335
|
if (record.arg === ContinueSentinel) {
|
|
370
336
|
continue;
|
|
371
337
|
}
|
|
372
|
-
|
|
373
338
|
return {
|
|
374
339
|
value: record.arg,
|
|
375
340
|
done: context.done
|
|
376
341
|
};
|
|
377
342
|
} else if (record.type === "throw") {
|
|
378
|
-
state = GenStateCompleted;
|
|
343
|
+
state = GenStateCompleted;
|
|
344
|
+
// Dispatch the exception by looping back around to the
|
|
379
345
|
// context.dispatchException(context.arg) call above.
|
|
380
|
-
|
|
381
346
|
context.method = "throw";
|
|
382
347
|
context.arg = record.arg;
|
|
383
348
|
}
|
|
384
349
|
}
|
|
385
350
|
};
|
|
386
|
-
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
// Call delegate.iterator[context.method](context.arg) and handle the
|
|
387
354
|
// result, either by returning a { value, done } result from the
|
|
388
355
|
// delegate iterator, or by modifying context.method and context.arg,
|
|
389
356
|
// setting context.delegate to null, and returning the ContinueSentinel.
|
|
390
|
-
|
|
391
|
-
|
|
392
357
|
function maybeInvokeDelegate(delegate, context) {
|
|
393
358
|
var method = delegate.iterator[context.method];
|
|
394
|
-
|
|
395
359
|
if (method === undefined$1) {
|
|
396
360
|
// A .throw or .return when the delegate iterator has no .throw
|
|
397
361
|
// method always terminates the yield* loop.
|
|
398
362
|
context.delegate = null;
|
|
399
|
-
|
|
400
363
|
if (context.method === "throw") {
|
|
401
364
|
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
402
365
|
if (delegate.iterator["return"]) {
|
|
@@ -405,51 +368,45 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
405
368
|
context.method = "return";
|
|
406
369
|
context.arg = undefined$1;
|
|
407
370
|
maybeInvokeDelegate(delegate, context);
|
|
408
|
-
|
|
409
371
|
if (context.method === "throw") {
|
|
410
372
|
// If maybeInvokeDelegate(context) changed context.method from
|
|
411
373
|
// "return" to "throw", let that override the TypeError below.
|
|
412
374
|
return ContinueSentinel;
|
|
413
375
|
}
|
|
414
376
|
}
|
|
415
|
-
|
|
416
377
|
context.method = "throw";
|
|
417
378
|
context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
418
379
|
}
|
|
419
|
-
|
|
420
380
|
return ContinueSentinel;
|
|
421
381
|
}
|
|
422
|
-
|
|
423
382
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
424
|
-
|
|
425
383
|
if (record.type === "throw") {
|
|
426
384
|
context.method = "throw";
|
|
427
385
|
context.arg = record.arg;
|
|
428
386
|
context.delegate = null;
|
|
429
387
|
return ContinueSentinel;
|
|
430
388
|
}
|
|
431
|
-
|
|
432
389
|
var info = record.arg;
|
|
433
|
-
|
|
434
390
|
if (!info) {
|
|
435
391
|
context.method = "throw";
|
|
436
392
|
context.arg = new TypeError("iterator result is not an object");
|
|
437
393
|
context.delegate = null;
|
|
438
394
|
return ContinueSentinel;
|
|
439
395
|
}
|
|
440
|
-
|
|
441
396
|
if (info.done) {
|
|
442
397
|
// Assign the result of the finished delegate to the temporary
|
|
443
398
|
// variable specified by delegate.resultName (see delegateYield).
|
|
444
|
-
context[delegate.resultName] = info.value;
|
|
399
|
+
context[delegate.resultName] = info.value;
|
|
400
|
+
|
|
401
|
+
// Resume execution at the desired location (see delegateYield).
|
|
402
|
+
context.next = delegate.nextLoc;
|
|
445
403
|
|
|
446
|
-
|
|
404
|
+
// If context.method was "throw" but the delegate handled the
|
|
447
405
|
// exception, let the outer generator proceed normally. If
|
|
448
406
|
// context.method was "next", forget context.arg since it has been
|
|
449
407
|
// "consumed" by the delegate iterator. If context.method was
|
|
450
408
|
// "return", allow the original .return call to continue in the
|
|
451
409
|
// outer generator.
|
|
452
|
-
|
|
453
410
|
if (context.method !== "return") {
|
|
454
411
|
context.method = "next";
|
|
455
412
|
context.arg = undefined$1;
|
|
@@ -457,54 +414,49 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
457
414
|
} else {
|
|
458
415
|
// Re-yield the result returned by the delegate method.
|
|
459
416
|
return info;
|
|
460
|
-
}
|
|
461
|
-
// the outer generator.
|
|
462
|
-
|
|
417
|
+
}
|
|
463
418
|
|
|
419
|
+
// The delegate iterator is finished, so forget it and continue with
|
|
420
|
+
// the outer generator.
|
|
464
421
|
context.delegate = null;
|
|
465
422
|
return ContinueSentinel;
|
|
466
|
-
}
|
|
467
|
-
// unified ._invoke helper method.
|
|
468
|
-
|
|
423
|
+
}
|
|
469
424
|
|
|
425
|
+
// Define Generator.prototype.{next,throw,return} in terms of the
|
|
426
|
+
// unified ._invoke helper method.
|
|
470
427
|
defineIteratorMethods(Gp);
|
|
471
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
428
|
+
define(Gp, toStringTagSymbol, "Generator");
|
|
429
|
+
|
|
430
|
+
// A Generator should always return itself as the iterator object when the
|
|
472
431
|
// @@iterator function is called on it. Some browsers' implementations of the
|
|
473
432
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
474
433
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
475
434
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
476
|
-
|
|
477
435
|
define(Gp, iteratorSymbol, function () {
|
|
478
436
|
return this;
|
|
479
437
|
});
|
|
480
438
|
define(Gp, "toString", function () {
|
|
481
439
|
return "[object Generator]";
|
|
482
440
|
});
|
|
483
|
-
|
|
484
441
|
function pushTryEntry(locs) {
|
|
485
442
|
var entry = {
|
|
486
443
|
tryLoc: locs[0]
|
|
487
444
|
};
|
|
488
|
-
|
|
489
445
|
if (1 in locs) {
|
|
490
446
|
entry.catchLoc = locs[1];
|
|
491
447
|
}
|
|
492
|
-
|
|
493
448
|
if (2 in locs) {
|
|
494
449
|
entry.finallyLoc = locs[2];
|
|
495
450
|
entry.afterLoc = locs[3];
|
|
496
451
|
}
|
|
497
|
-
|
|
498
452
|
this.tryEntries.push(entry);
|
|
499
453
|
}
|
|
500
|
-
|
|
501
454
|
function resetTryEntry(entry) {
|
|
502
455
|
var record = entry.completion || {};
|
|
503
456
|
record.type = "normal";
|
|
504
457
|
delete record.arg;
|
|
505
458
|
entry.completion = record;
|
|
506
459
|
}
|
|
507
|
-
|
|
508
460
|
function Context(tryLocsList) {
|
|
509
461
|
// The root entry object (effectively a try statement without a catch
|
|
510
462
|
// or a finally block) gives us a place to store values thrown from
|
|
@@ -515,97 +467,84 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
515
467
|
tryLocsList.forEach(pushTryEntry, this);
|
|
516
468
|
this.reset(true);
|
|
517
469
|
}
|
|
518
|
-
|
|
519
470
|
exports.keys = function (object) {
|
|
520
471
|
var keys = [];
|
|
521
|
-
|
|
522
472
|
for (var key in object) {
|
|
523
473
|
keys.push(key);
|
|
524
474
|
}
|
|
475
|
+
keys.reverse();
|
|
525
476
|
|
|
526
|
-
|
|
477
|
+
// Rather than returning an object with a next method, we keep
|
|
527
478
|
// things simple and return the next function itself.
|
|
528
|
-
|
|
529
479
|
return function next() {
|
|
530
480
|
while (keys.length) {
|
|
531
481
|
var key = keys.pop();
|
|
532
|
-
|
|
533
482
|
if (key in object) {
|
|
534
483
|
next.value = key;
|
|
535
484
|
next.done = false;
|
|
536
485
|
return next;
|
|
537
486
|
}
|
|
538
|
-
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// To avoid creating an additional object, we just hang the .value
|
|
539
490
|
// and .done properties off the next function object itself. This
|
|
540
491
|
// also ensures that the minifier will not anonymize the function.
|
|
541
|
-
|
|
542
|
-
|
|
543
492
|
next.done = true;
|
|
544
493
|
return next;
|
|
545
494
|
};
|
|
546
495
|
};
|
|
547
|
-
|
|
548
496
|
function values(iterable) {
|
|
549
497
|
if (iterable) {
|
|
550
498
|
var iteratorMethod = iterable[iteratorSymbol];
|
|
551
|
-
|
|
552
499
|
if (iteratorMethod) {
|
|
553
500
|
return iteratorMethod.call(iterable);
|
|
554
501
|
}
|
|
555
|
-
|
|
556
502
|
if (typeof iterable.next === "function") {
|
|
557
503
|
return iterable;
|
|
558
504
|
}
|
|
559
|
-
|
|
560
505
|
if (!isNaN(iterable.length)) {
|
|
561
506
|
var i = -1,
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
507
|
+
next = function next() {
|
|
508
|
+
while (++i < iterable.length) {
|
|
509
|
+
if (hasOwn.call(iterable, i)) {
|
|
510
|
+
next.value = iterable[i];
|
|
511
|
+
next.done = false;
|
|
512
|
+
return next;
|
|
513
|
+
}
|
|
568
514
|
}
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
return next;
|
|
574
|
-
};
|
|
575
|
-
|
|
515
|
+
next.value = undefined$1;
|
|
516
|
+
next.done = true;
|
|
517
|
+
return next;
|
|
518
|
+
};
|
|
576
519
|
return next.next = next;
|
|
577
520
|
}
|
|
578
|
-
}
|
|
579
|
-
|
|
521
|
+
}
|
|
580
522
|
|
|
523
|
+
// Return an iterator with no values.
|
|
581
524
|
return {
|
|
582
525
|
next: doneResult
|
|
583
526
|
};
|
|
584
527
|
}
|
|
585
|
-
|
|
586
528
|
exports.values = values;
|
|
587
|
-
|
|
588
529
|
function doneResult() {
|
|
589
530
|
return {
|
|
590
531
|
value: undefined$1,
|
|
591
532
|
done: true
|
|
592
533
|
};
|
|
593
534
|
}
|
|
594
|
-
|
|
595
535
|
Context.prototype = {
|
|
596
536
|
constructor: Context,
|
|
597
537
|
reset: function reset(skipTempReset) {
|
|
598
538
|
this.prev = 0;
|
|
599
|
-
this.next = 0;
|
|
539
|
+
this.next = 0;
|
|
540
|
+
// Resetting context._sent for legacy support of Babel's
|
|
600
541
|
// function.sent implementation.
|
|
601
|
-
|
|
602
542
|
this.sent = this._sent = undefined$1;
|
|
603
543
|
this.done = false;
|
|
604
544
|
this.delegate = null;
|
|
605
545
|
this.method = "next";
|
|
606
546
|
this.arg = undefined$1;
|
|
607
547
|
this.tryEntries.forEach(resetTryEntry);
|
|
608
|
-
|
|
609
548
|
if (!skipTempReset) {
|
|
610
549
|
for (var name in this) {
|
|
611
550
|
// Not sure about the optimal order of these conditions:
|
|
@@ -619,50 +558,40 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
619
558
|
this.done = true;
|
|
620
559
|
var rootEntry = this.tryEntries[0];
|
|
621
560
|
var rootRecord = rootEntry.completion;
|
|
622
|
-
|
|
623
561
|
if (rootRecord.type === "throw") {
|
|
624
562
|
throw rootRecord.arg;
|
|
625
563
|
}
|
|
626
|
-
|
|
627
564
|
return this.rval;
|
|
628
565
|
},
|
|
629
566
|
dispatchException: function dispatchException(exception) {
|
|
630
567
|
if (this.done) {
|
|
631
568
|
throw exception;
|
|
632
569
|
}
|
|
633
|
-
|
|
634
570
|
var context = this;
|
|
635
|
-
|
|
636
571
|
function handle(loc, caught) {
|
|
637
572
|
record.type = "throw";
|
|
638
573
|
record.arg = exception;
|
|
639
574
|
context.next = loc;
|
|
640
|
-
|
|
641
575
|
if (caught) {
|
|
642
576
|
// If the dispatched exception was caught by a catch block,
|
|
643
577
|
// then let that catch block handle the exception normally.
|
|
644
578
|
context.method = "next";
|
|
645
579
|
context.arg = undefined$1;
|
|
646
580
|
}
|
|
647
|
-
|
|
648
581
|
return !!caught;
|
|
649
582
|
}
|
|
650
|
-
|
|
651
583
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
652
584
|
var entry = this.tryEntries[i];
|
|
653
585
|
var record = entry.completion;
|
|
654
|
-
|
|
655
586
|
if (entry.tryLoc === "root") {
|
|
656
587
|
// Exception thrown outside of any try block that could handle
|
|
657
588
|
// it, so set the completion value of the entire function to
|
|
658
589
|
// throw the exception.
|
|
659
590
|
return handle("end");
|
|
660
591
|
}
|
|
661
|
-
|
|
662
592
|
if (entry.tryLoc <= this.prev) {
|
|
663
593
|
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
664
594
|
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
665
|
-
|
|
666
595
|
if (hasCatch && hasFinally) {
|
|
667
596
|
if (this.prev < entry.catchLoc) {
|
|
668
597
|
return handle(entry.catchLoc, true);
|
|
@@ -686,36 +615,30 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
686
615
|
abrupt: function abrupt(type, arg) {
|
|
687
616
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
688
617
|
var entry = this.tryEntries[i];
|
|
689
|
-
|
|
690
618
|
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
691
619
|
var finallyEntry = entry;
|
|
692
620
|
break;
|
|
693
621
|
}
|
|
694
622
|
}
|
|
695
|
-
|
|
696
623
|
if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
|
|
697
624
|
// Ignore the finally entry if control is not jumping to a
|
|
698
625
|
// location outside the try/catch block.
|
|
699
626
|
finallyEntry = null;
|
|
700
627
|
}
|
|
701
|
-
|
|
702
628
|
var record = finallyEntry ? finallyEntry.completion : {};
|
|
703
629
|
record.type = type;
|
|
704
630
|
record.arg = arg;
|
|
705
|
-
|
|
706
631
|
if (finallyEntry) {
|
|
707
632
|
this.method = "next";
|
|
708
633
|
this.next = finallyEntry.finallyLoc;
|
|
709
634
|
return ContinueSentinel;
|
|
710
635
|
}
|
|
711
|
-
|
|
712
636
|
return this.complete(record);
|
|
713
637
|
},
|
|
714
638
|
complete: function complete(record, afterLoc) {
|
|
715
639
|
if (record.type === "throw") {
|
|
716
640
|
throw record.arg;
|
|
717
641
|
}
|
|
718
|
-
|
|
719
642
|
if (record.type === "break" || record.type === "continue") {
|
|
720
643
|
this.next = record.arg;
|
|
721
644
|
} else if (record.type === "return") {
|
|
@@ -725,13 +648,11 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
725
648
|
} else if (record.type === "normal" && afterLoc) {
|
|
726
649
|
this.next = afterLoc;
|
|
727
650
|
}
|
|
728
|
-
|
|
729
651
|
return ContinueSentinel;
|
|
730
652
|
},
|
|
731
653
|
finish: function finish(finallyLoc) {
|
|
732
654
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
733
655
|
var entry = this.tryEntries[i];
|
|
734
|
-
|
|
735
656
|
if (entry.finallyLoc === finallyLoc) {
|
|
736
657
|
this.complete(entry.completion, entry.afterLoc);
|
|
737
658
|
resetTryEntry(entry);
|
|
@@ -742,21 +663,18 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
742
663
|
"catch": function _catch(tryLoc) {
|
|
743
664
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
744
665
|
var entry = this.tryEntries[i];
|
|
745
|
-
|
|
746
666
|
if (entry.tryLoc === tryLoc) {
|
|
747
667
|
var record = entry.completion;
|
|
748
|
-
|
|
749
668
|
if (record.type === "throw") {
|
|
750
669
|
var thrown = record.arg;
|
|
751
670
|
resetTryEntry(entry);
|
|
752
671
|
}
|
|
753
|
-
|
|
754
672
|
return thrown;
|
|
755
673
|
}
|
|
756
|
-
}
|
|
757
|
-
// argument that corresponds to a known catch block.
|
|
758
|
-
|
|
674
|
+
}
|
|
759
675
|
|
|
676
|
+
// The context.catch method must only be called with a location
|
|
677
|
+
// argument that corresponds to a known catch block.
|
|
760
678
|
throw new Error("illegal catch attempt");
|
|
761
679
|
},
|
|
762
680
|
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
@@ -765,27 +683,26 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
765
683
|
resultName: resultName,
|
|
766
684
|
nextLoc: nextLoc
|
|
767
685
|
};
|
|
768
|
-
|
|
769
686
|
if (this.method === "next") {
|
|
770
687
|
// Deliberately forget the last sent value so that we don't
|
|
771
688
|
// accidentally pass it on to the delegate.
|
|
772
689
|
this.arg = undefined$1;
|
|
773
690
|
}
|
|
774
|
-
|
|
775
691
|
return ContinueSentinel;
|
|
776
692
|
}
|
|
777
|
-
};
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
// Regardless of whether this script is executing as a CommonJS module
|
|
778
696
|
// or not, return the runtime object so that we can declare the variable
|
|
779
697
|
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
780
698
|
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
781
|
-
|
|
782
699
|
return exports;
|
|
783
|
-
}(
|
|
700
|
+
}(
|
|
701
|
+
// If this script is executing as a CommonJS module, use module.exports
|
|
784
702
|
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
785
703
|
// object. Either way, the resulting object will be used to initialize
|
|
786
704
|
// the regeneratorRuntime variable at the top of this file.
|
|
787
705
|
module.exports );
|
|
788
|
-
|
|
789
706
|
try {
|
|
790
707
|
regeneratorRuntime = runtime;
|
|
791
708
|
} catch (accidentalStrictMode) {
|
|
@@ -843,16 +760,15 @@ var genericFetcherPropsMeta = {
|
|
|
843
760
|
};
|
|
844
761
|
function GenericFetcherShell(_ref) {
|
|
845
762
|
var result = _ref.result,
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
763
|
+
children = _ref.children,
|
|
764
|
+
loadingDisplay = _ref.loadingDisplay,
|
|
765
|
+
previewSpinner = _ref.previewSpinner,
|
|
766
|
+
errorDisplay = _ref.errorDisplay,
|
|
767
|
+
previewErrorDisplay = _ref.previewErrorDisplay,
|
|
768
|
+
dataName = _ref.dataName,
|
|
769
|
+
noLayout = _ref.noLayout,
|
|
770
|
+
className = _ref.className;
|
|
854
771
|
var inEditor = !!host.usePlasmicCanvasContext();
|
|
855
|
-
|
|
856
772
|
if (inEditor && previewSpinner || !("error" in result) && !("data" in result)) {
|
|
857
773
|
return React.createElement(React.Fragment, null, loadingDisplay != null ? loadingDisplay : null);
|
|
858
774
|
} else if (inEditor && previewErrorDisplay || "error" in result) {
|
|
@@ -870,11 +786,9 @@ function GenericFetcherShell(_ref) {
|
|
|
870
786
|
/**
|
|
871
787
|
* Tries to return the JSON response, or else returns an object with a text key containing the response body text.
|
|
872
788
|
*/
|
|
873
|
-
|
|
874
789
|
function performFetch(_x) {
|
|
875
790
|
return _performFetch.apply(this, arguments);
|
|
876
791
|
}
|
|
877
|
-
|
|
878
792
|
function _performFetch() {
|
|
879
793
|
_performFetch = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(_ref2) {
|
|
880
794
|
var url, method, body, headers, response, text;
|
|
@@ -883,14 +797,11 @@ function _performFetch() {
|
|
|
883
797
|
switch (_context.prev = _context.next) {
|
|
884
798
|
case 0:
|
|
885
799
|
url = _ref2.url, method = _ref2.method, body = _ref2.body, headers = _ref2.headers;
|
|
886
|
-
|
|
887
800
|
if (url) {
|
|
888
801
|
_context.next = 3;
|
|
889
802
|
break;
|
|
890
803
|
}
|
|
891
|
-
|
|
892
804
|
throw new Error("Please specify a URL to fetch");
|
|
893
|
-
|
|
894
805
|
case 3:
|
|
895
806
|
_context.next = 5;
|
|
896
807
|
return fetch(url, {
|
|
@@ -898,33 +809,26 @@ function _performFetch() {
|
|
|
898
809
|
headers: headers,
|
|
899
810
|
body: body === undefined ? body : typeof body === "string" ? body : JSON.stringify(body)
|
|
900
811
|
});
|
|
901
|
-
|
|
902
812
|
case 5:
|
|
903
813
|
response = _context.sent;
|
|
904
|
-
|
|
905
814
|
if (response.ok) {
|
|
906
815
|
_context.next = 8;
|
|
907
816
|
break;
|
|
908
817
|
}
|
|
909
|
-
|
|
910
818
|
throw new Error(response.statusText);
|
|
911
|
-
|
|
912
819
|
case 8:
|
|
913
820
|
_context.next = 10;
|
|
914
821
|
return response.text();
|
|
915
|
-
|
|
916
822
|
case 10:
|
|
917
823
|
text = _context.sent;
|
|
918
824
|
_context.prev = 11;
|
|
919
825
|
return _context.abrupt("return", JSON.parse(text));
|
|
920
|
-
|
|
921
826
|
case 15:
|
|
922
827
|
_context.prev = 15;
|
|
923
828
|
_context.t0 = _context["catch"](11);
|
|
924
829
|
return _context.abrupt("return", {
|
|
925
830
|
text: text
|
|
926
831
|
});
|
|
927
|
-
|
|
928
832
|
case 18:
|
|
929
833
|
case "end":
|
|
930
834
|
return _context.stop();
|
|
@@ -934,13 +838,12 @@ function _performFetch() {
|
|
|
934
838
|
}));
|
|
935
839
|
return _performFetch.apply(this, arguments);
|
|
936
840
|
}
|
|
937
|
-
|
|
938
841
|
function DataFetcher(props) {
|
|
939
842
|
var url = props.url,
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
843
|
+
method = props.method,
|
|
844
|
+
body = props.body,
|
|
845
|
+
headers = props.headers,
|
|
846
|
+
queryKey = props.queryKey;
|
|
944
847
|
var fetchProps = {
|
|
945
848
|
url: url,
|
|
946
849
|
method: method,
|
|
@@ -956,7 +859,6 @@ function DataFetcher(props) {
|
|
|
956
859
|
result: result
|
|
957
860
|
}, props));
|
|
958
861
|
}
|
|
959
|
-
|
|
960
862
|
function mkFetchProps(defaultUrl, defaultMethod) {
|
|
961
863
|
return {
|
|
962
864
|
url: {
|
|
@@ -984,7 +886,6 @@ function mkFetchProps(defaultUrl, defaultMethod) {
|
|
|
984
886
|
}
|
|
985
887
|
};
|
|
986
888
|
}
|
|
987
|
-
|
|
988
889
|
var dataFetcherMeta = {
|
|
989
890
|
name: "hostless-plasmic-query-data-fetcher",
|
|
990
891
|
displayName: "HTTP API Fetcher",
|
|
@@ -1011,10 +912,10 @@ function registerDataFetcher(loader, customDataFetcherMeta) {
|
|
|
1011
912
|
}
|
|
1012
913
|
function GraphqlFetcher(props) {
|
|
1013
914
|
var query$1 = props.query,
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
915
|
+
url = props.url,
|
|
916
|
+
method = props.method,
|
|
917
|
+
headers = props.headers,
|
|
918
|
+
queryKey = props.queryKey;
|
|
1018
919
|
var fetchProps = {
|
|
1019
920
|
body: query$1,
|
|
1020
921
|
url: url,
|
|
@@ -1046,23 +947,21 @@ var graphqlFetcherMeta = {
|
|
|
1046
947
|
},
|
|
1047
948
|
endpoint: function endpoint(props) {
|
|
1048
949
|
var _props$url;
|
|
1049
|
-
|
|
1050
950
|
return (_props$url = props.url) != null ? _props$url : "";
|
|
1051
951
|
},
|
|
1052
952
|
defaultValue: {
|
|
1053
953
|
query: "{\n characters {\n results {\n name\n species\n image\n }\n }\n}\n"
|
|
1054
954
|
}
|
|
1055
955
|
}
|
|
1056
|
-
};
|
|
1057
|
-
|
|
956
|
+
};
|
|
957
|
+
// Reorder the props
|
|
1058
958
|
var _mkFetchProps$gqlMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/mkFetchProps("https://rickandmortyapi.com/graphql", "POST"), gqlMetas, genericFetcherPropsMeta),
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
959
|
+
url = _mkFetchProps$gqlMeta.url,
|
|
960
|
+
query = _mkFetchProps$gqlMeta.query,
|
|
961
|
+
method = _mkFetchProps$gqlMeta.method,
|
|
962
|
+
headers = _mkFetchProps$gqlMeta.headers,
|
|
963
|
+
queryKey = _mkFetchProps$gqlMeta.queryKey,
|
|
964
|
+
rest = /*#__PURE__*/_objectWithoutPropertiesLoose(_mkFetchProps$gqlMeta, _excluded);
|
|
1066
965
|
return _extends({
|
|
1067
966
|
url: url,
|
|
1068
967
|
query: query,
|