@drfed/web 0.0.0-stage → 0.1.0-dev.561

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 (126) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/.vite/manifest.json +483 -0
  3. package/.output/public/_build/assets/ActorDetailQuery.graphql-D96mwq1k.js +60 -0
  4. package/.output/public/_build/assets/ActorDetailQuery.graphql-DrxSNh1X.js +60 -0
  5. package/.output/public/_build/assets/CompleteLoginChallenge.graphql-C5Zq3wNh.js +10 -0
  6. package/.output/public/_build/assets/CopyButton-B2l484wE.js +1 -0
  7. package/.output/public/_build/assets/CopyButton-Bi-ZR8x9.css +1 -0
  8. package/.output/public/_build/assets/CreateInstanceMutation.graphql-B4CRy6cl.js +19 -0
  9. package/.output/public/_build/assets/CreateObjectMutation.graphql-B4A01dgV.js +23 -0
  10. package/.output/public/_build/assets/GenerateActorsMutation.graphql-mlHJNIbe.js +23 -0
  11. package/.output/public/_build/assets/GetHostQuery.graphql-CuzDdOdW.js +17 -0
  12. package/.output/public/_build/assets/GetHostQuery.graphql-o9K0Qkg0.js +17 -0
  13. package/.output/public/_build/assets/HomeViewerQuery.graphql-B903WWKs.js +8 -0
  14. package/.output/public/_build/assets/HttpStatusCode-bgaVzuLy.js +1 -0
  15. package/.output/public/_build/assets/InstanceActorListQuery.graphql-DmNwiEhM.js +24 -0
  16. package/.output/public/_build/assets/InstanceActorListQuery.graphql-paa7teUO.js +24 -0
  17. package/.output/public/_build/assets/InstanceDetailQuery.graphql-B52nR132.js +66 -0
  18. package/.output/public/_build/assets/InstanceDetailQuery.graphql-DSA2BcAV.js +66 -0
  19. package/.output/public/_build/assets/JNCCF6MP-CNMywyiC.js +1 -0
  20. package/.output/public/_build/assets/LP6E37CW-Cwv6G3n1.js +1 -0
  21. package/.output/public/_build/assets/SignInMutation.graphql-BalZYNFu.js +9 -0
  22. package/.output/public/_build/assets/TSB6MOZK-CpiH97G1.js +1 -0
  23. package/.output/public/_build/assets/Toast-3-eXCAKc.css +1 -0
  24. package/.output/public/_build/assets/Toast-C1zr9crB.js +1 -0
  25. package/.output/public/_build/assets/WorkspaceQuery.graphql-UoI7QDs4.js +23 -0
  26. package/.output/public/_build/assets/_...404_-WZ8kAljY.js +1 -0
  27. package/.output/public/_build/assets/_challengeId_-Dk-0l7zl.js +1 -0
  28. package/.output/public/_build/assets/_id_-YcZZShAv.css +1 -0
  29. package/.output/public/_build/assets/_id_-bpxdclBj.js +1 -0
  30. package/.output/public/_build/assets/_slug_-CyTA2aW7.css +1 -0
  31. package/.output/public/_build/assets/_slug_-DXfRknzJ.js +200 -0
  32. package/.output/public/_build/assets/about-DIrbzRsi.js +1 -0
  33. package/.output/public/_build/assets/actors-HfZh_afh.js +24 -0
  34. package/.output/public/_build/assets/client-CGFoRcqH.js +3 -0
  35. package/.output/public/_build/assets/components-5MVu7IcD.js +1 -0
  36. package/.output/public/_build/assets/dist-BrJ_B8nU.js +1 -0
  37. package/.output/public/_build/assets/dist-DVo0HS5G.js +1 -0
  38. package/.output/public/_build/assets/dist-WrlGlK67.js +1 -0
  39. package/.output/public/_build/assets/entry-client-BurSTYr9.css +1 -0
  40. package/.output/public/_build/assets/entry-client-Do7ocrsL.js +8 -0
  41. package/.output/public/_build/assets/form-BxigYd7J.css +1 -0
  42. package/.output/public/_build/assets/form.module-BecmEfV_.js +1 -0
  43. package/.output/public/_build/assets/index-BHn6sAgH.js +23 -0
  44. package/.output/public/_build/assets/index-BSLqnqN7.js +8 -0
  45. package/.output/public/_build/assets/index-B_xLBDOo.css +1 -0
  46. package/.output/public/_build/assets/instance-tpMrvJNZ.js +35 -0
  47. package/.output/public/_build/assets/label-Mv8GZ4jc.js +1 -0
  48. package/.output/public/_build/assets/objects-DPb8DI8A.css +1 -0
  49. package/.output/public/_build/assets/objects-DR9TfL-V.js +25 -0
  50. package/.output/public/_build/assets/relay-runtime-BX3uubtA.js +7 -0
  51. package/.output/public/_build/assets/routing-DMN2NHu6.js +1 -0
  52. package/.output/public/_build/assets/sign-in-B67sv7z8.js +10 -0
  53. package/.output/public/_build/assets/web-DB_Nkq2D.js +1 -0
  54. package/.output/public/apple-touch-icon.png +0 -0
  55. package/.output/public/favicon.ico +0 -0
  56. package/.output/public/icon-192.png +0 -0
  57. package/.output/public/icon-512.png +0 -0
  58. package/.output/public/icon-mask.png +0 -0
  59. package/.output/public/icon.svg +395 -0
  60. package/.output/public/manifest.webmanifest +13 -0
  61. package/.output/server/_...404_-DDEH5apf.mjs +16 -0
  62. package/.output/server/_challengeId_-C_n_Bww9.mjs +100 -0
  63. package/.output/server/_chunks/ssr-renderer.mjs +26 -0
  64. package/.output/server/_id_-DqytvZEf.mjs +505 -0
  65. package/.output/server/_libs/@shikijs/core+[...].mjs +7173 -0
  66. package/.output/server/_libs/@shikijs/engine-javascript+[...].mjs +3110 -0
  67. package/.output/server/_libs/babel__runtime.mjs +243 -0
  68. package/.output/server/_libs/dequal.mjs +25 -0
  69. package/.output/server/_libs/faker-js__faker.mjs +13150 -0
  70. package/.output/server/_libs/fbjs.mjs +115 -0
  71. package/.output/server/_libs/h3+rou3+srvx.mjs +650 -0
  72. package/.output/server/_libs/hookable.mjs +41 -0
  73. package/.output/server/_libs/invariant.mjs +36 -0
  74. package/.output/server/_libs/relay-runtime.mjs +9704 -0
  75. package/.output/server/_libs/seroval-plugins.mjs +563 -0
  76. package/.output/server/_libs/seroval.mjs +2956 -0
  77. package/.output/server/_libs/shikijs__langs.mjs +3 -0
  78. package/.output/server/_libs/shikijs__themes.mjs +7 -0
  79. package/.output/server/_libs/solid-js.mjs +1248 -0
  80. package/.output/server/_libs/solid-relay+tiny-invariant.mjs +1029 -0
  81. package/.output/server/_libs/ufo.mjs +64 -0
  82. package/.output/server/_libs/valibot.mjs +711 -0
  83. package/.output/server/_runtime.mjs +33 -0
  84. package/.output/server/_slug_-CBOaSqoF.mjs +978 -0
  85. package/.output/server/_ssr/ActorDetailQuery.graphql-C1mWRP1B.mjs +283 -0
  86. package/.output/server/_ssr/CompleteLoginChallenge.graphql-CM7o_Md1.mjs +78 -0
  87. package/.output/server/_ssr/CopyButton-CQNR5D1y.mjs +43 -0
  88. package/.output/server/_ssr/CreateInstanceMutation.graphql-C-h2lGxz.mjs +116 -0
  89. package/.output/server/_ssr/CreateObjectMutation.graphql-C393Hp7q.mjs +166 -0
  90. package/.output/server/_ssr/GenerateActorsMutation.graphql-D2ADtn1j.mjs +163 -0
  91. package/.output/server/_ssr/GetHostQuery.graphql-C45XQo1i.mjs +127 -0
  92. package/.output/server/_ssr/HomeViewerQuery.graphql-Dote4Pkz.mjs +81 -0
  93. package/.output/server/_ssr/InstanceActorListQuery.graphql-DgItgN5t.mjs +167 -0
  94. package/.output/server/_ssr/InstanceDetailQuery.graphql-DP5wWWjX.mjs +367 -0
  95. package/.output/server/_ssr/JNCCF6MP-BAZlBnvx.mjs +419 -0
  96. package/.output/server/_ssr/LP6E37CW-D2Ih_b_K.mjs +163 -0
  97. package/.output/server/_ssr/SignInMutation.graphql-BBXmiay6.mjs +72 -0
  98. package/.output/server/_ssr/TSB6MOZK-D06WZb6o.mjs +166 -0
  99. package/.output/server/_ssr/Toast-Bb1gcxED.mjs +947 -0
  100. package/.output/server/_ssr/WorkspaceQuery.graphql-DnCO8t-4.mjs +153 -0
  101. package/.output/server/_ssr/about-CD3QIgf_.mjs +14 -0
  102. package/.output/server/_ssr/actors-CMWf-xQU.mjs +1160 -0
  103. package/.output/server/_ssr/dist-D6rgyh-L.mjs +81 -0
  104. package/.output/server/_ssr/dist-I7KRMRbA.mjs +432 -0
  105. package/.output/server/_ssr/form.module-CTvIl1lm.mjs +192 -0
  106. package/.output/server/_ssr/index-C4crD6q-.mjs +347 -0
  107. package/.output/server/_ssr/index-yuhuc6-X.mjs +111 -0
  108. package/.output/server/_ssr/instance-ZYWGeWd3.mjs +280 -0
  109. package/.output/server/_ssr/label-DAXzanI9.mjs +9 -0
  110. package/.output/server/_ssr/objects-D5MVukzB.mjs +4316 -0
  111. package/.output/server/_ssr/routing-DKTLkkbY.mjs +620 -0
  112. package/.output/server/_ssr/sign-in-CNHZb_zL.mjs +264 -0
  113. package/.output/server/_ssr/ssr.mjs +6121 -0
  114. package/.output/server/index.mjs +684 -0
  115. package/LICENSE +661 -0
  116. package/README.md +143 -2
  117. package/dist/bridge.d.mts +39 -0
  118. package/dist/bridge.mjs +104 -0
  119. package/dist/bridge.mjs.map +1 -0
  120. package/dist/request-policy.d.mts +8 -0
  121. package/dist/request-policy.mjs +94 -0
  122. package/dist/request-policy.mjs.map +1 -0
  123. package/dist/runtime.d.mts +14 -0
  124. package/dist/runtime.mjs +44 -0
  125. package/dist/runtime.mjs.map +1 -0
  126. package/package.json +123 -3
@@ -0,0 +1,563 @@
1
+ import { c as ai, d as re } from "./seroval.mjs";
2
+ //#region ../../node_modules/.pnpm/seroval-plugins@1.5.4_seroval@1.5.4/node_modules/seroval-plugins/dist/esm/production/web.mjs
3
+ var u = (e) => {
4
+ let r = new AbortController(), a = r.abort.bind(r);
5
+ return e.then(a, a), r;
6
+ };
7
+ function E(e) {
8
+ e(this.reason);
9
+ }
10
+ function D(e) {
11
+ this.addEventListener("abort", E.bind(this, e), { once: !0 });
12
+ }
13
+ function c(e) {
14
+ return new Promise(D.bind(e));
15
+ }
16
+ var i = {};
17
+ var O = ai({
18
+ tag: "seroval-plugins/web/AbortSignal",
19
+ extends: [ai({
20
+ tag: "seroval-plugins/web/AbortControllerFactoryPlugin",
21
+ test(e) {
22
+ return e === i;
23
+ },
24
+ parse: {
25
+ sync() {
26
+ return i;
27
+ },
28
+ async async() {
29
+ return await Promise.resolve(i);
30
+ },
31
+ stream() {
32
+ return i;
33
+ }
34
+ },
35
+ serialize() {
36
+ return u.toString();
37
+ },
38
+ deserialize() {
39
+ return u;
40
+ }
41
+ })],
42
+ test(e) {
43
+ return typeof AbortSignal == "undefined" ? !1 : e instanceof AbortSignal;
44
+ },
45
+ parse: {
46
+ sync(e, r) {
47
+ return e.aborted ? { reason: r.parse(e.reason) } : {};
48
+ },
49
+ async async(e, r) {
50
+ if (e.aborted) return { reason: await r.parse(e.reason) };
51
+ let a = await c(e);
52
+ return { reason: await r.parse(a) };
53
+ },
54
+ stream(e, r) {
55
+ if (e.aborted) return { reason: r.parse(e.reason) };
56
+ let a = c(e);
57
+ return {
58
+ factory: r.parse(i),
59
+ controller: r.parse(a)
60
+ };
61
+ }
62
+ },
63
+ serialize(e, r) {
64
+ return e.reason ? "AbortSignal.abort(" + r.serialize(e.reason) + ")" : e.controller && e.factory ? "(" + r.serialize(e.factory) + ")(" + r.serialize(e.controller) + ").signal" : "(new AbortController).signal";
65
+ },
66
+ deserialize(e, r) {
67
+ return e.reason ? AbortSignal.abort(r.deserialize(e.reason)) : e.controller ? u(r.deserialize(e.controller)).signal : new AbortController().signal;
68
+ }
69
+ });
70
+ ai({
71
+ tag: "seroval-plugins/web/Blob",
72
+ test(e) {
73
+ return typeof Blob == "undefined" ? !1 : e instanceof Blob;
74
+ },
75
+ parse: { async async(e, r) {
76
+ return {
77
+ type: await r.parse(e.type),
78
+ buffer: await r.parse(await e.arrayBuffer())
79
+ };
80
+ } },
81
+ serialize(e, r) {
82
+ return "new Blob([" + r.serialize(e.buffer) + "],{type:" + r.serialize(e.type) + "})";
83
+ },
84
+ deserialize(e, r) {
85
+ return new Blob([r.deserialize(e.buffer)], { type: r.deserialize(e.type) });
86
+ }
87
+ });
88
+ function d(e) {
89
+ return {
90
+ detail: e.detail,
91
+ bubbles: e.bubbles,
92
+ cancelable: e.cancelable,
93
+ composed: e.composed
94
+ };
95
+ }
96
+ var L = ai({
97
+ tag: "seroval-plugins/web/CustomEvent",
98
+ test(e) {
99
+ return typeof CustomEvent == "undefined" ? !1 : e instanceof CustomEvent;
100
+ },
101
+ parse: {
102
+ sync(e, r) {
103
+ return {
104
+ type: r.parse(e.type),
105
+ options: r.parse(d(e))
106
+ };
107
+ },
108
+ async async(e, r) {
109
+ return {
110
+ type: await r.parse(e.type),
111
+ options: await r.parse(d(e))
112
+ };
113
+ },
114
+ stream(e, r) {
115
+ return {
116
+ type: r.parse(e.type),
117
+ options: r.parse(d(e))
118
+ };
119
+ }
120
+ },
121
+ serialize(e, r) {
122
+ return "new CustomEvent(" + r.serialize(e.type) + "," + r.serialize(e.options) + ")";
123
+ },
124
+ deserialize(e, r) {
125
+ return new CustomEvent(r.deserialize(e.type), r.deserialize(e.options));
126
+ }
127
+ });
128
+ var q = ai({
129
+ tag: "seroval-plugins/web/DOMException",
130
+ test(e) {
131
+ return typeof DOMException == "undefined" ? !1 : e instanceof DOMException;
132
+ },
133
+ parse: {
134
+ sync(e, r) {
135
+ return {
136
+ name: r.parse(e.name),
137
+ message: r.parse(e.message)
138
+ };
139
+ },
140
+ async async(e, r) {
141
+ return {
142
+ name: await r.parse(e.name),
143
+ message: await r.parse(e.message)
144
+ };
145
+ },
146
+ stream(e, r) {
147
+ return {
148
+ name: r.parse(e.name),
149
+ message: r.parse(e.message)
150
+ };
151
+ }
152
+ },
153
+ serialize(e, r) {
154
+ return "new DOMException(" + r.serialize(e.message) + "," + r.serialize(e.name) + ")";
155
+ },
156
+ deserialize(e, r) {
157
+ return new DOMException(r.deserialize(e.message), r.deserialize(e.name));
158
+ }
159
+ });
160
+ function f(e) {
161
+ return {
162
+ bubbles: e.bubbles,
163
+ cancelable: e.cancelable,
164
+ composed: e.composed
165
+ };
166
+ }
167
+ var Y = ai({
168
+ tag: "seroval-plugins/web/Event",
169
+ test(e) {
170
+ return typeof Event == "undefined" ? !1 : e instanceof Event;
171
+ },
172
+ parse: {
173
+ sync(e, r) {
174
+ return {
175
+ type: r.parse(e.type),
176
+ options: r.parse(f(e))
177
+ };
178
+ },
179
+ async async(e, r) {
180
+ return {
181
+ type: await r.parse(e.type),
182
+ options: await r.parse(f(e))
183
+ };
184
+ },
185
+ stream(e, r) {
186
+ return {
187
+ type: r.parse(e.type),
188
+ options: r.parse(f(e))
189
+ };
190
+ }
191
+ },
192
+ serialize(e, r) {
193
+ return "new Event(" + r.serialize(e.type) + "," + r.serialize(e.options) + ")";
194
+ },
195
+ deserialize(e, r) {
196
+ return new Event(r.deserialize(e.type), r.deserialize(e.options));
197
+ }
198
+ });
199
+ var m = ai({
200
+ tag: "seroval-plugins/web/File",
201
+ test(e) {
202
+ return typeof File == "undefined" ? !1 : e instanceof File;
203
+ },
204
+ parse: { async async(e, r) {
205
+ return {
206
+ name: await r.parse(e.name),
207
+ options: await r.parse({
208
+ type: e.type,
209
+ lastModified: e.lastModified
210
+ }),
211
+ buffer: await r.parse(await e.arrayBuffer())
212
+ };
213
+ } },
214
+ serialize(e, r) {
215
+ return "new File([" + r.serialize(e.buffer) + "]," + r.serialize(e.name) + "," + r.serialize(e.options) + ")";
216
+ },
217
+ deserialize(e, r) {
218
+ return new File([r.deserialize(e.buffer)], r.deserialize(e.name), r.deserialize(e.options));
219
+ }
220
+ });
221
+ function y(e) {
222
+ let r = [];
223
+ return e.forEach((a, t) => {
224
+ r.push([t, a]);
225
+ }), r;
226
+ }
227
+ var o = {};
228
+ var v = (e, r = new FormData(), a = 0, t = e.length, s) => {
229
+ for (; a < t; a++) s = e[a], r.append(s[0], s[1]);
230
+ return r;
231
+ };
232
+ var K = ai({
233
+ tag: "seroval-plugins/web/FormData",
234
+ extends: [m, ai({
235
+ tag: "seroval-plugins/web/FormDataFactory",
236
+ test(e) {
237
+ return e === o;
238
+ },
239
+ parse: {
240
+ sync() {
241
+ return o;
242
+ },
243
+ async async() {
244
+ return await Promise.resolve(o);
245
+ },
246
+ stream() {
247
+ return o;
248
+ }
249
+ },
250
+ serialize() {
251
+ return v.toString();
252
+ },
253
+ deserialize() {
254
+ return o;
255
+ }
256
+ })],
257
+ test(e) {
258
+ return typeof FormData == "undefined" ? !1 : e instanceof FormData;
259
+ },
260
+ parse: {
261
+ sync(e, r) {
262
+ return {
263
+ factory: r.parse(o),
264
+ entries: r.parse(y(e))
265
+ };
266
+ },
267
+ async async(e, r) {
268
+ return {
269
+ factory: await r.parse(o),
270
+ entries: await r.parse(y(e))
271
+ };
272
+ },
273
+ stream(e, r) {
274
+ return {
275
+ factory: r.parse(o),
276
+ entries: r.parse(y(e))
277
+ };
278
+ }
279
+ },
280
+ serialize(e, r) {
281
+ return "(" + r.serialize(e.factory) + ")(" + r.serialize(e.entries) + ")";
282
+ },
283
+ deserialize(e, r) {
284
+ return v(r.deserialize(e.entries));
285
+ }
286
+ });
287
+ function g(e) {
288
+ let r = [];
289
+ return e.forEach((a, t) => {
290
+ r.push([t, a]);
291
+ }), r;
292
+ }
293
+ var l = ai({
294
+ tag: "seroval-plugins/web/Headers",
295
+ test(e) {
296
+ return typeof Headers == "undefined" ? !1 : e instanceof Headers;
297
+ },
298
+ parse: {
299
+ sync(e, r) {
300
+ return { value: r.parse(g(e)) };
301
+ },
302
+ async async(e, r) {
303
+ return { value: await r.parse(g(e)) };
304
+ },
305
+ stream(e, r) {
306
+ return { value: r.parse(g(e)) };
307
+ }
308
+ },
309
+ serialize(e, r) {
310
+ return "new Headers(" + r.serialize(e.value) + ")";
311
+ },
312
+ deserialize(e, r) {
313
+ return new Headers(r.deserialize(e.value));
314
+ }
315
+ });
316
+ ai({
317
+ tag: "seroval-plugins/web/ImageData",
318
+ test(e) {
319
+ return typeof ImageData == "undefined" ? !1 : e instanceof ImageData;
320
+ },
321
+ parse: {
322
+ sync(e, r) {
323
+ return {
324
+ data: r.parse(e.data),
325
+ width: r.parse(e.width),
326
+ height: r.parse(e.height),
327
+ options: r.parse({ colorSpace: e.colorSpace })
328
+ };
329
+ },
330
+ async async(e, r) {
331
+ return {
332
+ data: await r.parse(e.data),
333
+ width: await r.parse(e.width),
334
+ height: await r.parse(e.height),
335
+ options: await r.parse({ colorSpace: e.colorSpace })
336
+ };
337
+ },
338
+ stream(e, r) {
339
+ return {
340
+ data: r.parse(e.data),
341
+ width: r.parse(e.width),
342
+ height: r.parse(e.height),
343
+ options: r.parse({ colorSpace: e.colorSpace })
344
+ };
345
+ }
346
+ },
347
+ serialize(e, r) {
348
+ return "new ImageData(" + r.serialize(e.data) + "," + r.serialize(e.width) + "," + r.serialize(e.height) + "," + r.serialize(e.options) + ")";
349
+ },
350
+ deserialize(e, r) {
351
+ return new ImageData(r.deserialize(e.data), r.deserialize(e.width), r.deserialize(e.height), r.deserialize(e.options));
352
+ }
353
+ });
354
+ var n = {};
355
+ var P = (e) => new ReadableStream({ start: (r) => {
356
+ e.on({
357
+ next: (a) => {
358
+ try {
359
+ r.enqueue(a);
360
+ } catch (t) {}
361
+ },
362
+ throw: (a) => {
363
+ r.error(a);
364
+ },
365
+ return: () => {
366
+ try {
367
+ r.close();
368
+ } catch (a) {}
369
+ }
370
+ });
371
+ } });
372
+ var x = ai({
373
+ tag: "seroval-plugins/web/ReadableStreamFactory",
374
+ test(e) {
375
+ return e === n;
376
+ },
377
+ parse: {
378
+ sync() {
379
+ return n;
380
+ },
381
+ async async() {
382
+ return await Promise.resolve(n);
383
+ },
384
+ stream() {
385
+ return n;
386
+ }
387
+ },
388
+ serialize() {
389
+ return P.toString();
390
+ },
391
+ deserialize() {
392
+ return n;
393
+ }
394
+ });
395
+ function w(e) {
396
+ let r = re(), a = e.getReader();
397
+ async function t() {
398
+ try {
399
+ let s = await a.read();
400
+ s.done ? r.return(s.value) : (r.next(s.value), await t());
401
+ } catch (s) {
402
+ r.throw(s);
403
+ }
404
+ }
405
+ return t().catch(() => {}), r;
406
+ }
407
+ var p = ai({
408
+ tag: "seroval/plugins/web/ReadableStream",
409
+ extends: [x],
410
+ test(e) {
411
+ return typeof ReadableStream == "undefined" ? !1 : e instanceof ReadableStream;
412
+ },
413
+ parse: {
414
+ sync(e, r) {
415
+ return {
416
+ factory: r.parse(n),
417
+ stream: r.parse(re())
418
+ };
419
+ },
420
+ async async(e, r) {
421
+ return {
422
+ factory: await r.parse(n),
423
+ stream: await r.parse(w(e))
424
+ };
425
+ },
426
+ stream(e, r) {
427
+ return {
428
+ factory: r.parse(n),
429
+ stream: r.parse(w(e))
430
+ };
431
+ }
432
+ },
433
+ serialize(e, r) {
434
+ return "(" + r.serialize(e.factory) + ")(" + r.serialize(e.stream) + ")";
435
+ },
436
+ deserialize(e, r) {
437
+ return P(r.deserialize(e.stream));
438
+ }
439
+ });
440
+ function N(e, r) {
441
+ return {
442
+ body: r,
443
+ cache: e.cache,
444
+ credentials: e.credentials,
445
+ headers: e.headers,
446
+ integrity: e.integrity,
447
+ keepalive: e.keepalive,
448
+ method: e.method,
449
+ mode: e.mode,
450
+ redirect: e.redirect,
451
+ referrer: e.referrer,
452
+ referrerPolicy: e.referrerPolicy
453
+ };
454
+ }
455
+ var te = ai({
456
+ tag: "seroval-plugins/web/Request",
457
+ extends: [p, l],
458
+ test(e) {
459
+ return typeof Request == "undefined" ? !1 : e instanceof Request;
460
+ },
461
+ parse: {
462
+ async async(e, r) {
463
+ return {
464
+ url: await r.parse(e.url),
465
+ options: await r.parse(N(e, e.body && !e.bodyUsed ? await e.clone().arrayBuffer() : null))
466
+ };
467
+ },
468
+ stream(e, r) {
469
+ return {
470
+ url: r.parse(e.url),
471
+ options: r.parse(N(e, e.body && !e.bodyUsed ? e.clone().body : null))
472
+ };
473
+ }
474
+ },
475
+ serialize(e, r) {
476
+ return "new Request(" + r.serialize(e.url) + "," + r.serialize(e.options) + ")";
477
+ },
478
+ deserialize(e, r) {
479
+ return new Request(r.deserialize(e.url), r.deserialize(e.options));
480
+ }
481
+ });
482
+ function h(e) {
483
+ return {
484
+ headers: e.headers,
485
+ status: e.status,
486
+ statusText: e.statusText
487
+ };
488
+ }
489
+ var ne = ai({
490
+ tag: "seroval-plugins/web/Response",
491
+ extends: [p, l],
492
+ test(e) {
493
+ return typeof Response == "undefined" ? !1 : e instanceof Response;
494
+ },
495
+ parse: {
496
+ async async(e, r) {
497
+ return {
498
+ body: await r.parse(e.body && !e.bodyUsed ? await e.clone().arrayBuffer() : null),
499
+ options: await r.parse(h(e))
500
+ };
501
+ },
502
+ stream(e, r) {
503
+ return {
504
+ body: r.parse(e.body && !e.bodyUsed ? e.clone().body : null),
505
+ options: r.parse(h(e))
506
+ };
507
+ }
508
+ },
509
+ serialize(e, r) {
510
+ return "new Response(" + r.serialize(e.body) + "," + r.serialize(e.options) + ")";
511
+ },
512
+ deserialize(e, r) {
513
+ return new Response(r.deserialize(e.body), r.deserialize(e.options));
514
+ }
515
+ });
516
+ var pe = ai({
517
+ tag: "seroval-plugins/web/URL",
518
+ test(e) {
519
+ return typeof URL == "undefined" ? !1 : e instanceof URL;
520
+ },
521
+ parse: {
522
+ sync(e, r) {
523
+ return { value: r.parse(e.href) };
524
+ },
525
+ async async(e, r) {
526
+ return { value: await r.parse(e.href) };
527
+ },
528
+ stream(e, r) {
529
+ return { value: r.parse(e.href) };
530
+ }
531
+ },
532
+ serialize(e, r) {
533
+ return "new URL(" + r.serialize(e.value) + ")";
534
+ },
535
+ deserialize(e, r) {
536
+ return new URL(r.deserialize(e.value));
537
+ }
538
+ });
539
+ var fe = ai({
540
+ tag: "seroval-plugins/web/URLSearchParams",
541
+ test(e) {
542
+ return typeof URLSearchParams == "undefined" ? !1 : e instanceof URLSearchParams;
543
+ },
544
+ parse: {
545
+ sync(e, r) {
546
+ return { value: r.parse(e.toString()) };
547
+ },
548
+ async async(e, r) {
549
+ return { value: await r.parse(e.toString()) };
550
+ },
551
+ stream(e, r) {
552
+ return { value: r.parse(e.toString()) };
553
+ }
554
+ },
555
+ serialize(e, r) {
556
+ return "new URLSearchParams(" + r.serialize(e.value) + ")";
557
+ },
558
+ deserialize(e, r) {
559
+ return new URLSearchParams(r.deserialize(e.value));
560
+ }
561
+ });
562
+ //#endregion
563
+ export { fe as a, p as c, te as d, Y as i, pe as l, L as n, l as o, O as r, ne as s, K as t, q as u };