@deot/docs-client 1.1.10 → 1.2.0

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 (87) hide show
  1. package/README.md +6 -4
  2. package/dist/{chunks/chunk-rhk8Qtmk-CUgXtmq_.js → bundle/chunk-rhk8Qtmk-CbLEbM7n.js} +0 -1
  3. package/dist/{chunks/compile-no-AB7-B-CQpy3ePZ.js → bundle/compile-D33div4Y-CVbeyITp.js} +21848 -21852
  4. package/dist/{chunks/compiler-sfc.esm-browser-5dA1IWMJ.js → bundle/compiler-sfc.esm-browser-DmhYZRPB.js} +1374 -1378
  5. package/dist/bundle/css-sV_dM9Hl-BpgypWsW.js +18927 -0
  6. package/dist/{chunks/echarts-BBzcOaek.js → bundle/echarts-BWkcVFuU.js} +1 -2
  7. package/dist/bundle/index.js +103578 -0
  8. package/dist/{eval → bundle}/index.style.css +1 -1
  9. package/dist/{chunks/jsx-CwMPlI4_-CBhlIHLh.js → bundle/jsx-CwMPlI4_-D02C9U5w.js} +9057 -9061
  10. package/dist/{chunks/photoswipe.esm-D52MAtDT.js → bundle/photoswipe.esm-CvVKUjTj.js} +114 -116
  11. package/dist/{chunks/rolldown-runtime-Ce3zPWPd.js → bundle/rolldown-runtime-DArdT4gl.js} +0 -1
  12. package/dist/index.d.ts +0 -1
  13. package/dist/index.js +6839 -103273
  14. package/dist/index.style.css +1 -1
  15. package/package.json +10 -9
  16. package/dist/chunks/browser-Cmwcvs-d.js +0 -505
  17. package/dist/chunks/css-D47JLekg-B8Z2QI1W.js +0 -15160
  18. package/dist/chunks/dayjs.min-B3g34Qcz.js +0 -300
  19. package/dist/chunks/dist-0ySyXNpo.js +0 -415
  20. package/dist/chunks/dist-B44jICwZ.js +0 -22
  21. package/dist/chunks/dist-BUw25nXJ.js +0 -65
  22. package/dist/chunks/dist-BeOE8qTX.js +0 -345
  23. package/dist/chunks/dist-C3V7reR4.js +0 -197
  24. package/dist/chunks/dist-CI9Lp9Cj.js +0 -247
  25. package/dist/chunks/dist-CQir6D4y.js +0 -244
  26. package/dist/chunks/dist-Cxf7_ocf.js +0 -44
  27. package/dist/chunks/dist-DF4kisl2.js +0 -43
  28. package/dist/chunks/dist-DHJhaOSs.js +0 -426
  29. package/dist/chunks/dist-DLj8yJdm.js +0 -38
  30. package/dist/chunks/dist-DSypl37f.js +0 -58
  31. package/dist/chunks/dist-DWn6r6un.js +0 -76
  32. package/dist/chunks/dist-DWqBe2Ah.js +0 -132
  33. package/dist/chunks/dist-D_Uqh6m9.js +0 -80
  34. package/dist/chunks/dist-DcIU51zW.js +0 -166
  35. package/dist/chunks/dist-Wm6vE6kM.js +0 -17
  36. package/dist/chunks/dist-kiZUqqzR.js +0 -27
  37. package/dist/chunks/dist-oZ12SGqg.js +0 -6
  38. package/dist/chunks/dist-va7FmnW4.js +0 -156
  39. package/dist/chunks/html2canvas-DoKTvaOT.js +0 -4012
  40. package/dist/chunks/index.es-wVPQxEPP.js +0 -5752
  41. package/dist/chunks/jspdf.es.min-Zm27YeAg.js +0 -17900
  42. package/dist/chunks/jszip.min-Da8UgalE.js +0 -3044
  43. package/dist/chunks/lodash-CYyW02I7.js +0 -5157
  44. package/dist/chunks/purify.es-DhHsvqCe.js +0 -845
  45. package/dist/chunks/vue-router-LT2FR3OX.js +0 -1208
  46. package/dist/chunks/vue.runtime.esm-bundler-Bk0CnRBe.js +0 -4851
  47. package/dist/eval/chunks/browser-Cmwcvs-d.js +0 -4
  48. package/dist/eval/chunks/chunk-rhk8Qtmk-CUgXtmq_.js +0 -4
  49. package/dist/eval/chunks/compile-no-AB7-B-CQpy3ePZ.js +0 -7
  50. package/dist/eval/chunks/compiler-sfc.esm-browser-5dA1IWMJ.js +0 -4
  51. package/dist/eval/chunks/css-D47JLekg-B8Z2QI1W.js +0 -8
  52. package/dist/eval/chunks/dayjs.min-B3g34Qcz.js +0 -4
  53. package/dist/eval/chunks/dist-0ySyXNpo.js +0 -4
  54. package/dist/eval/chunks/dist-B44jICwZ.js +0 -5
  55. package/dist/eval/chunks/dist-BUw25nXJ.js +0 -6
  56. package/dist/eval/chunks/dist-BeOE8qTX.js +0 -4
  57. package/dist/eval/chunks/dist-C3V7reR4.js +0 -4
  58. package/dist/eval/chunks/dist-CI9Lp9Cj.js +0 -4
  59. package/dist/eval/chunks/dist-CQir6D4y.js +0 -5
  60. package/dist/eval/chunks/dist-Cxf7_ocf.js +0 -4
  61. package/dist/eval/chunks/dist-DF4kisl2.js +0 -5
  62. package/dist/eval/chunks/dist-DHJhaOSs.js +0 -5
  63. package/dist/eval/chunks/dist-DLj8yJdm.js +0 -4
  64. package/dist/eval/chunks/dist-DSypl37f.js +0 -5
  65. package/dist/eval/chunks/dist-DWn6r6un.js +0 -4
  66. package/dist/eval/chunks/dist-DWqBe2Ah.js +0 -6
  67. package/dist/eval/chunks/dist-D_Uqh6m9.js +0 -4
  68. package/dist/eval/chunks/dist-DcIU51zW.js +0 -4
  69. package/dist/eval/chunks/dist-Wm6vE6kM.js +0 -1
  70. package/dist/eval/chunks/dist-kiZUqqzR.js +0 -4
  71. package/dist/eval/chunks/dist-oZ12SGqg.js +0 -4
  72. package/dist/eval/chunks/dist-va7FmnW4.js +0 -4
  73. package/dist/eval/chunks/echarts-BBzcOaek.js +0 -4
  74. package/dist/eval/chunks/eval-runtime-e7f6eb9af5d4.js +0 -1
  75. package/dist/eval/chunks/html2canvas-DoKTvaOT.js +0 -4
  76. package/dist/eval/chunks/index.es-wVPQxEPP.js +0 -5
  77. package/dist/eval/chunks/jspdf.es.min-Zm27YeAg.js +0 -78
  78. package/dist/eval/chunks/jsx-CwMPlI4_-CBhlIHLh.js +0 -4
  79. package/dist/eval/chunks/jszip.min-Da8UgalE.js +0 -4
  80. package/dist/eval/chunks/lodash-CYyW02I7.js +0 -4
  81. package/dist/eval/chunks/photoswipe.esm-D52MAtDT.js +0 -4
  82. package/dist/eval/chunks/purify.es-DhHsvqCe.js +0 -4
  83. package/dist/eval/chunks/rolldown-runtime-Ce3zPWPd.js +0 -4
  84. package/dist/eval/chunks/vue-router-LT2FR3OX.js +0 -5
  85. package/dist/eval/chunks/vue.runtime.esm-bundler-Bk0CnRBe.js +0 -4
  86. package/dist/eval/index.js +0 -24
  87. package/dist/index.cjs +0 -23
@@ -1,426 +0,0 @@
1
- globalThis.process;
2
- import { n as e } from "./rolldown-runtime-Ce3zPWPd.js";
3
- import { t } from "./dist-Cxf7_ocf.js";
4
- //#region node_modules/.pnpm/@deot+helper-fp@1.1.6/node_modules/@deot/helper-fp/dist/index.js
5
- var n = /* @__PURE__ */ e({
6
- AMonad: () => T,
7
- APointed: () => E,
8
- ATask: () => D,
9
- Either: () => N,
10
- IO: () => P,
11
- Job: () => L,
12
- Maybe: () => k,
13
- Monad: () => O,
14
- Parallel: () => R,
15
- Pointed: () => I,
16
- Task: () => F,
17
- add: () => g,
18
- alternation: () => b,
19
- catch$: () => l,
20
- compose: () => o,
21
- curry: () => i,
22
- divide: () => v,
23
- filter: () => p,
24
- fork: () => x,
25
- identity: () => S,
26
- map: () => f,
27
- memoize: () => u,
28
- multiply: () => y,
29
- partial: () => d,
30
- pipe: () => s,
31
- reduce: () => m,
32
- reverse: () => h,
33
- sequence: () => C,
34
- subtract: () => _,
35
- tap: () => w,
36
- then$: () => c
37
- }), r = (e, t, n) => (e = e.map((e) => e === n && t.length ? t.shift() : e), e.concat(t)), i = (e) => function t(...n) {
38
- return n.length >= e.length && !n.includes(i) ? e.apply(this, n) : function(...e) {
39
- let a = r(n, e, i);
40
- return t.apply(this, a);
41
- };
42
- };
43
- i.placeholder = i;
44
- var a = (e) => (...t) => t.length === 0 ? (e) => e : t.length === 1 ? t[0] : t[e]((e, t) => function(...n) {
45
- return e.call(this, t.apply(this, n));
46
- }), o = a("reduce"), s = a("reduceRight"), c = i(function(e, t) {
47
- return t.then(e);
48
- }), l = i(function(e, t) {
49
- return t.catch(e);
50
- }), u = (e, t) => {
51
- if (e.length === 0) return e;
52
- let n = function(...r) {
53
- let i = t ? t.apply(this, r) : r[0];
54
- return n.cache.has(i) || n.cache.set(i, e.apply(this, r)), n.cache.get(i);
55
- };
56
- return n.cache = /* @__PURE__ */ new Map(), n;
57
- }, d = (e, ...t) => function(...n) {
58
- return e.apply(this, r(t, n, d));
59
- };
60
- d.placeholder = d;
61
- var f = i((e, t) => t instanceof Array ? t.map((t) => e(t)) : Object.keys(t).reduce((n, r) => (n[r] = e(t[r]), n), {})), p = i((e, t) => t instanceof Array ? t.filter((t) => e(t)) : Object.keys(t).reduce((n, r) => (e(t[r]) && (n[r] = t[r]), n), {})), m = i((e, t, n) => n.reduce(e, t)), h = (e) => typeof e == "string" ? e.split("").reverse().join("") : e instanceof Array ? e.slice().reverse() : e, g = i((e, t) => {
62
- let n, r;
63
- try {
64
- n = e.toString().split(".")[1].length;
65
- } catch {
66
- n = 0;
67
- }
68
- try {
69
- r = t.toString().split(".")[1].length;
70
- } catch {
71
- r = 0;
72
- }
73
- let i = Math.abs(n - r), a = 10 ** Math.max(n, r);
74
- if (i > 0) {
75
- let a = 10 ** i;
76
- n > r ? (e = Number(e.toString().replace(".", "")), t = Number(t.toString().replace(".", "")) * a) : (e = Number(e.toString().replace(".", "")) * a, t = Number(t.toString().replace(".", "")));
77
- } else e = Number(e.toString().replace(".", "")), t = Number(t.toString().replace(".", ""));
78
- return (e + t) / a;
79
- }), _ = i((e, t) => {
80
- let n, r;
81
- try {
82
- n = e.toString().split(".")[1].length;
83
- } catch {
84
- n = 0;
85
- }
86
- try {
87
- r = t.toString().split(".")[1].length;
88
- } catch {
89
- r = 0;
90
- }
91
- let i = 10 ** Math.max(n, r), a = n >= r ? n : r;
92
- return +((e * i - t * i) / i).toFixed(a);
93
- }), v = i((e, t) => {
94
- let n = 0, r = 0;
95
- try {
96
- n = e.toString().split(".")[1].length;
97
- } catch {}
98
- try {
99
- r = t.toString().split(".")[1].length;
100
- } catch {}
101
- let i = 10 ** Math.max(n, r);
102
- return e * i / (t * i);
103
- }), y = i((e, t) => {
104
- let n = 0, r = e.toString(), i = t.toString();
105
- try {
106
- n += r.split(".")[1].length;
107
- } catch {}
108
- try {
109
- n += i.split(".")[1].length;
110
- } catch {}
111
- return Number(r.replace(".", "")) * Number(i.replace(".", "")) / 10 ** n;
112
- }), b = i((e, t) => (n) => e(n) || t(n)), x = i((e, t, n) => (r) => e(t(r), n(r))), S = (e) => e, C = (...e) => (t) => {
113
- e.forEach((e) => e(t));
114
- }, w = i((e, t) => (e(t), t)), T = class e {
115
- value;
116
- constructor(e) {
117
- this.value = e;
118
- }
119
- flatMap(e) {
120
- let t = this.join();
121
- return this.value = t.value, this.map(e);
122
- }
123
- join() {
124
- return this.value instanceof e ? this.value.join() : this;
125
- }
126
- valueOf() {
127
- return this.value;
128
- }
129
- }, E = class {
130
- value;
131
- constructor(e) {
132
- this.value = e;
133
- }
134
- valueOf() {
135
- return this.value;
136
- }
137
- }, D = class extends t {
138
- _pasuer;
139
- pasuer = Promise.resolve();
140
- canceler = Promise.resolve();
141
- isCancel = !1;
142
- isPasue = !1;
143
- async suspend(e, t) {
144
- return t && t.then && await t, e;
145
- }
146
- setPasueStatus(e) {
147
- this.isPasue = e, this.isPasue ? this.pasuer = new Promise((e) => {
148
- this._pasuer = e;
149
- }) : this._pasuer();
150
- }
151
- setCancelStatus(e) {
152
- this.isCancel = e, this.canceler = this.isCancel ? new Promise(() => {}) : Promise.resolve();
153
- }
154
- end() {
155
- return this.cancel();
156
- }
157
- immediate() {
158
- return this.start();
159
- }
160
- }, O = class e extends T {
161
- static of(t) {
162
- return new e(t);
163
- }
164
- map(t) {
165
- return e.of(t(this.value));
166
- }
167
- toString() {
168
- return `Monad(${this.value})`;
169
- }
170
- }, k = class e extends T {
171
- static of(t) {
172
- return new e(t);
173
- }
174
- map(t) {
175
- return this.isNothing() ? e.of(this.value) : e.of(t(this.value));
176
- }
177
- toString() {
178
- return this.isNothing() ? "Maybe.Nothing" : `Maybe.Just(${this.value})`;
179
- }
180
- isNothing() {
181
- return this.value === null || this.value === void 0;
182
- }
183
- isJust() {
184
- return !this.isNothing();
185
- }
186
- valueOf(e) {
187
- return e !== void 0 && this.isNothing() ? e : this.value;
188
- }
189
- }, A = (e) => new N(e), j = (e) => new N(e, !0), M = (e) => {
190
- try {
191
- return A(e());
192
- } catch (e) {
193
- return j(e);
194
- }
195
- }, N = class e extends T {
196
- static of = M;
197
- static try = M;
198
- static ok = A;
199
- static right = A;
200
- static left = j;
201
- static error = j;
202
- isLeft;
203
- isRight;
204
- constructor(e, t) {
205
- super(e), this.isLeft = !!t, this.isRight = !t;
206
- }
207
- map(t) {
208
- return this.isLeft ? e.left(this.value) : e.right(t(this.value));
209
- }
210
- toString() {
211
- return `Either.${this.isLeft ? "Left" : "Right"}(${this.value})`;
212
- }
213
- }, P = class e extends T {
214
- static of(t) {
215
- return new e(t);
216
- }
217
- map(t) {
218
- let n = o(t, this.value._isIO ? this.value : () => this.value);
219
- return n._isIO = !0, e.of(n);
220
- }
221
- toString() {
222
- return `IO(${this.value()})`;
223
- }
224
- valueOf() {
225
- return this.value();
226
- }
227
- }, F = class e extends T {
228
- static of(t, n) {
229
- return new e(t, n);
230
- }
231
- result = "";
232
- cancelHooks = [];
233
- isCancel = !1;
234
- isComplete = !1;
235
- isStart;
236
- parent;
237
- child = null;
238
- record = null;
239
- ready;
240
- _ready;
241
- pasuer = Promise.resolve();
242
- _pasuer;
243
- constructor(e, t) {
244
- super(e), this.parent = t, this.isStart = t?.isStart || !1, this.ready = this.isStart ? Promise.resolve() : new Promise((e) => {
245
- this._ready = e;
246
- });
247
- }
248
- map(t) {
249
- this.record ||= ["map", t];
250
- let n = e.of(this.ready.then(() => this.value).then((e) => this.pasuer.then(() => e)).then((e) => new Promise((r, i) => {
251
- let a, o;
252
- n.isCancel || (async () => {
253
- try {
254
- o = await Promise.race([new Promise((e, t) => {
255
- n.cancelHooks.push(t);
256
- }), t(e)]);
257
- } catch (e) {
258
- a = e;
259
- } finally {
260
- n.isCancel || (n.isComplete = !0, a ? i(a) : (n.result = o, r(o)));
261
- }
262
- })();
263
- })), this);
264
- return this.child = n, n;
265
- }
266
- flatMap(e) {
267
- return this.record = ["flatMap", e], super.flatMap(e);
268
- }
269
- reduce(e, t) {
270
- return this.map(async (n) => (typeof e == "function" && (e = await e(n)), e.reduce((e, n, r, i) => e.then((e) => t(e, n, r, i)), Promise.resolve(n))));
271
- }
272
- start() {
273
- return this.isStart || (this.isStart = !0, this.parent?.start(), this._ready()), this;
274
- }
275
- pasue() {
276
- return this.parent?.pasue(), this.pasuer = new Promise((e) => {
277
- this._pasuer = e;
278
- }), this;
279
- }
280
- resume() {
281
- return this._pasuer(), this.parent?.resume(), this;
282
- }
283
- cancel() {
284
- return this.isCancel || this.isComplete || (this.isCancel = !0, this.cancelHooks.forEach((e) => e()), this.parent?.cancel()), this;
285
- }
286
- end() {
287
- return this.cancel();
288
- }
289
- immediate() {
290
- return this.start();
291
- }
292
- restart(t) {
293
- this.cancel();
294
- let n = this, r = n.parent || n;
295
- for (; r && r.parent;) r = r.parent;
296
- n = e.of(t || r.value);
297
- let i = r;
298
- for (; i && i.child;) {
299
- let [e, t] = i.record;
300
- e && (n = n[e](t)), i = i.child;
301
- }
302
- return n.isStart || n.start(), n;
303
- }
304
- toPromise() {
305
- return this.isStart || this.start(), this.value;
306
- }
307
- toString() {
308
- return `Task(${this.result})`;
309
- }
310
- valueOf() {
311
- return this.result;
312
- }
313
- }, I = class e extends E {
314
- static of(t) {
315
- return new e(t);
316
- }
317
- map(t) {
318
- return e.of(t(this.value));
319
- }
320
- toString() {
321
- return `Pointed(${this.value})`;
322
- }
323
- }, L = class e extends D {
324
- static of(t, n) {
325
- return new e(t, n);
326
- }
327
- original;
328
- task;
329
- interval;
330
- isStart = !1;
331
- constructor(e, t) {
332
- super(), this.task = e, this.original = e, this.interval = t || 0, this.task instanceof F && this.task.isStart && this.start();
333
- }
334
- process(e) {
335
- e ||= this.original, this.task !== e && (this.task = e);
336
- let t = (e) => Promise.resolve(e).then((e) => this.suspend(e, new Promise((e) => {
337
- setTimeout(e, this.interval);
338
- }))).then((e) => this.suspend(e, this.canceler)).then((e) => this.suspend(e, this.pasuer));
339
- return this.original instanceof F ? Promise.resolve().then(() => e.isCancel ? Promise.resolve() : e.value).then((e) => this.suspend(e, this.emit("fulfilled", e))).catch((e) => this.suspend(e, this.emit("rejected", e))).then((e) => t(e)).then(() => e.restart()).then((e) => this.process(e)) : Promise.resolve().then(() => this.original()).then((e) => this.suspend(e, this.emit("fulfilled", e))).catch((e) => this.suspend(e, this.emit("rejected", e))).then((e) => t(e)).then((e) => this.process(e));
340
- }
341
- start() {
342
- this.isStart || (this.isStart = !0, this.original instanceof F && !this.original.isStart && this.original.start(), this.process());
343
- }
344
- pasue() {
345
- this.task instanceof F && this.task.pasue(), this.setPasueStatus(!0);
346
- }
347
- resume() {
348
- this.task instanceof F && this.task.resume(), this.setPasueStatus(!1);
349
- }
350
- cancel() {
351
- this.task instanceof F && this.task.cancel(), this.setCancelStatus(!0);
352
- }
353
- restart() {
354
- this.task instanceof F && (this.task.pasue(), this.task.cancel()), this.setCancelStatus(!1), this.isStart = !1, this.process();
355
- }
356
- }, R = class e extends D {
357
- static of(t, n, r) {
358
- return new e(t, n, r);
359
- }
360
- original;
361
- task;
362
- isStart = !1;
363
- target = null;
364
- _target = null;
365
- tasks = [];
366
- concurrency;
367
- options;
368
- constructor(e, t, n) {
369
- super(), this.options = {
370
- skipError: !0,
371
- ...n
372
- }, this.task = e, this.original = e instanceof Array ? [...e] : e, this.concurrency = t || 1;
373
- }
374
- setConcurrency(e) {
375
- return typeof e == "number" && e > 0 && (this.concurrency = e, this.target && this.process()), this.concurrency;
376
- }
377
- process() {
378
- for (; this.tasks.length < this.concurrency && (typeof this.task == "function" || this.task instanceof F || this.task instanceof Array && this.task.length);) {
379
- let e;
380
- if (this.task instanceof Array) {
381
- let t = this.task.pop();
382
- /* istanbul ignore else -- @preserve */
383
- typeof t == "function" ? e = t() : t instanceof F && (e = t.restart());
384
- } else e = this.task instanceof F ? this.task.restart() : this.task();
385
- this.tasks.push(e), Promise.resolve().then(() => e instanceof F ? e.value : e).then((e) => this.suspend(e, this.canceler)).then((e) => this.suspend(e, this.pasuer)).finally(() => {
386
- this.tasks = this.tasks.filter((t) => t !== e);
387
- }).then(this.onFulfilled).catch(this.onRejected);
388
- }
389
- this.task instanceof Array && !this.task.length && this.tasks.length === 0 && (this._target.resolve(), this.target = null, this.tasks = []);
390
- }
391
- onFulfilled = (e) => {
392
- /* istanbul ignore if -- @preserve */
393
- this.target && (this.emit("fulfilled", e), this.process());
394
- };
395
- onRejected = (e) => {
396
- /* istanbul ignore if -- @preserve */
397
- this.target && (this.emit("rejected", e), this.options.skipError ? this.process() : (this._target.reject(e), this.target = null, this.tasks = []));
398
- };
399
- start() {
400
- return this.target ||= new Promise((e, t) => {
401
- this._target = {
402
- reject: t,
403
- resolve: e
404
- }, this.process();
405
- }), this.target;
406
- }
407
- async cancel() {
408
- if (!this.target) return;
409
- let e = this.tasks;
410
- this.setCancelStatus(!0), this.target = null, this.tasks = [], e.some((e) => e instanceof F) ? e.forEach((e) => e.cancel()) : await Promise.allSettled(e);
411
- }
412
- async pasue() {
413
- let e = this.tasks;
414
- this.setPasueStatus(!0), e.some((e) => e instanceof F) ? e.forEach((e) => e.pasue()) : await Promise.allSettled(e);
415
- }
416
- resume() {
417
- this.setPasueStatus(!1);
418
- let e = this.tasks;
419
- e.some((e) => e instanceof F) && e.forEach((e) => e.resume());
420
- }
421
- async restart() {
422
- return await this.cancel(), this.setCancelStatus(!1), this.original instanceof Array && (this.task = [...this.original]), this.start();
423
- }
424
- };
425
- //#endregion
426
- export { n as i, R as n, F as r, L as t };
@@ -1,38 +0,0 @@
1
- globalThis.process;
2
- import { n as e } from "./rolldown-runtime-Ce3zPWPd.js";
3
- //#region node_modules/.pnpm/@deot+helper-is@1.1.3/node_modules/@deot/helper-is/dist/index.js
4
- var t = /* @__PURE__ */ e({
5
- array: () => u,
6
- arrayBuffer: () => d,
7
- arrayBufferView: () => f,
8
- blob: () => g,
9
- bool: () => l,
10
- buffer: () => w,
11
- date: () => h,
12
- file: () => _,
13
- files: () => v,
14
- fn: () => s,
15
- formData: () => S,
16
- formEl: () => x,
17
- instance: () => r,
18
- nil: () => i,
19
- number: () => c,
20
- object: () => C,
21
- params: () => y,
22
- plainObject: () => E,
23
- regexp: () => b,
24
- stream: () => T,
25
- string: () => o,
26
- type: () => n,
27
- typedArray: () => m,
28
- undef: () => a
29
- }), n = (e, t) => !!t && typeof e === t, r = (e, t) => typeof t == "function" ? e instanceof t : Object.prototype.toString.call(e) === `[object ${t}]`, i = (e) => e === null, a = (e) => n(e, "undefined"), o = (e) => n(e, "string"), s = (e) => n(e, "function"), c = (e) => n(e, "number"), l = (e) => e === !0 || e === !1, u = (e) => Array.isArray(e), d = (e) => r(e, "ArrayBuffer"), f = (e) => {
30
- let t;
31
- return t = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && d(e.buffer), t;
32
- }, p = typeof Uint8Array < "u" && Object.getPrototypeOf(Uint8Array), m = (e) => !!(p && r(e, p)), h = (e) => r(e, "Date"), g = (e) => r(e, "Blob"), _ = (e) => r(e, "File"), v = (e) => r(e, "FileList"), y = (e) => r(e, "URLSearchParams"), b = (e) => r(e, "RegExp"), x = (e) => r(e, "HTMLFormElement"), S = (e) => r(e, "FormData"), C = (e) => !i(e) && n(e, "object"), w = (e) => !!e?.constructor?.isBuffer?.(e), T = (e) => C(e) && s(e.pipe), E = (e) => {
33
- if (!r(e, "Object")) return !1;
34
- let t = Object.getPrototypeOf(e);
35
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
36
- };
37
- //#endregion
38
- export { w as a, v as c, C as d, y as f, o as h, g as i, S as l, T as m, d as n, t as o, E as p, f as r, _ as s, u as t, x as u };
@@ -1,58 +0,0 @@
1
- globalThis.process;
2
- import { n as e } from "./rolldown-runtime-Ce3zPWPd.js";
3
- import { n as t, r as n, t as r } from "./dist-DHJhaOSs.js";
4
- //#region node_modules/.pnpm/@deot+helper-scheduler@1.1.9/node_modules/@deot/helper-scheduler/dist/index.js
5
- var i = /* @__PURE__ */ e({
6
- Interrupter: () => a,
7
- Job: () => r,
8
- Parallel: () => t,
9
- Task: () => n
10
- }), a = class e {
11
- static of(t) {
12
- return new e(t);
13
- }
14
- options = {};
15
- _success;
16
- _fail;
17
- _task;
18
- _finish = !1;
19
- constructor(e) {
20
- e && (this.options = e), this._generateTask();
21
- }
22
- _generateTask = () => {
23
- this._task = new Promise((e, t) => {
24
- this._success = (t) => {
25
- this._fail = void 0, e(t);
26
- }, this._fail = (e) => {
27
- this._success = void 0, t(e);
28
- };
29
- });
30
- };
31
- next = async (e) => {
32
- this._finish ? await this._task : (this._success?.(e), await this._task, await Promise.resolve(), this._generateTask());
33
- };
34
- nextWithError = async (e) => {
35
- if (this._finish) await this._task;
36
- else {
37
- this._fail?.(e);
38
- try {
39
- await this._task;
40
- } catch {
41
- await Promise.resolve(), this._generateTask();
42
- }
43
- }
44
- };
45
- finish = (e) => (this._success?.(e), this._finish = !0, this);
46
- finishWithError = (e) => (this._fail?.(e), this._finish = !0, this);
47
- then(e, t) {
48
- return this._task.then(e, t);
49
- }
50
- catch(e) {
51
- return this._task.catch(e);
52
- }
53
- finally(e) {
54
- return this._task.finally(e);
55
- }
56
- };
57
- //#endregion
58
- export { i as n, a as t };
@@ -1,76 +0,0 @@
1
- globalThis.process;
2
- import { n as e } from "./rolldown-runtime-Ce3zPWPd.js";
3
- //#region node_modules/.pnpm/@deot+helper-resize@1.1.6/node_modules/@deot/helper-resize/dist/index.js
4
- var t = /* @__PURE__ */ e({ Resize: () => r }), n = class e {
5
- static listeners = /* @__PURE__ */ new WeakMap();
6
- static observers = /* @__PURE__ */ new WeakMap();
7
- static observerOf(t) {
8
- let n = e.observers.get(t);
9
- return n || (n = {
10
- ro: new ResizeObserver((n) => {
11
- let r = n.filter((n) => e.listeners.get(n.target)?.has(t));
12
- r.length && t(r);
13
- }),
14
- els: /* @__PURE__ */ new Set()
15
- }, e.observers.set(t, n)), n;
16
- }
17
- static on(t, n) {
18
- if (typeof ResizeObserver > "u") return () => {};
19
- let r = e.listeners.get(t);
20
- if (r || (r = /* @__PURE__ */ new Set(), e.listeners.set(t, r)), !r.has(n)) {
21
- r.add(n);
22
- let i = e.observerOf(n);
23
- i.els.add(t), i.ro.observe(t);
24
- }
25
- return () => e.off(t, n);
26
- }
27
- static off(t, n) {
28
- let r = e.listeners.get(t);
29
- r && ((n ? [n] : [...r]).forEach((n) => {
30
- if (!r.delete(n)) return;
31
- let i = e.observers.get(n);
32
- i.els.delete(t), i.ro.unobserve(t);
33
- }), r.size || e.listeners.delete(t));
34
- }
35
- static disconnect(t) {
36
- e.observers.get(t)?.els.forEach((n) => e.off(n, t));
37
- }
38
- }, r = class e {
39
- el;
40
- static of(t) {
41
- return new e(t);
42
- }
43
- static on(t, r, i) {
44
- return i?.shared ? n.on(t, r) : new e(t).on(r);
45
- }
46
- static off(t, r, i) {
47
- return i?.shared ? n.off(t, r) : new e(t).off(r);
48
- }
49
- static disconnect(e) {
50
- return n.disconnect(e);
51
- }
52
- listeners = [];
53
- ro = null;
54
- constructor(t) {
55
- this.el = t;
56
- let n = t.__rz__;
57
- n && n instanceof e && (this.listeners = n.listeners, this.ro = n.ro);
58
- }
59
- handleResize = (e) => {
60
- /* istanbul ignore else -- @preserve */
61
- e.some((e) => e.target === this.el) && this.listeners?.forEach((e) => e());
62
- };
63
- on(e) {
64
- return typeof ResizeObserver > "u" ? () => {} : (this.listeners.length || (this.ro = this.ro || new ResizeObserver(this.handleResize), this.ro.observe(this.el), this.el.__rz__ = this), this.listeners.push(e), () => this.off(e));
65
- }
66
- off(e) {
67
- if (e) {
68
- let t = this.listeners.indexOf(e);
69
- if (t === -1) return;
70
- this.listeners.splice(t, 1);
71
- } else this.listeners.length = 0;
72
- !this.listeners.length && this.ro && this.ro.disconnect();
73
- }
74
- };
75
- //#endregion
76
- export { t as n, r as t };