@kky42/pievo-server 1.0.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.
- package/.output/nitro.json +17 -0
- package/.output/public/assets/CodeField-dOzyFQNH.js +34 -0
- package/.output/public/assets/LoopView-B4H9QibC.js +55 -0
- package/.output/public/assets/Modal-D33gNSgx.js +1 -0
- package/.output/public/assets/SignIn-SHuRRyOv.js +1 -0
- package/.output/public/assets/actionUi-ChGGALzg.js +1 -0
- package/.output/public/assets/app-DElSo_jy.css +2 -0
- package/.output/public/assets/artifactView-DFuubXLJ.js +66 -0
- package/.output/public/assets/index-DfpTWRSz.js +12 -0
- package/.output/public/assets/invite._token-DJtd-XE2.js +1 -0
- package/.output/public/assets/invite._token-T8oo4Qtw.js +1 -0
- package/.output/public/assets/jsx-runtime-BseJUIpC.js +1 -0
- package/.output/public/assets/lifecycleUi-DKkChdnU.js +1 -0
- package/.output/public/assets/loopApi-BM2nj71x.js +3 -0
- package/.output/public/assets/loops._loopId-B19Jw7jC.js +5 -0
- package/.output/public/assets/loops._loopId_.runs._runId-_CflHV38.js +3 -0
- package/.output/public/assets/notifyFns-DCubjpRy.js +1 -0
- package/.output/public/assets/preload-helper-CKUiEq3b.js +3 -0
- package/.output/public/assets/routes-B9tgli5f.js +1 -0
- package/.output/public/assets/routes-CTtlM_qt.js +1 -0
- package/.output/public/assets/t._teamId-Bm21mngW.js +1 -0
- package/.output/public/assets/t._teamId-gR7BVKkR.js +1 -0
- package/.output/public/assets/ui-Dp88qUWh.js +1 -0
- package/.output/public/assets/useRouter-DsjH8G0p.js +1 -0
- package/.output/public/favicon.svg +12 -0
- package/.output/public/fonts/GeistPixel-Square.woff2 +0 -0
- package/.output/server/_chunks/ssr-renderer.mjs +26 -0
- package/.output/server/_libs/@aws-crypto/crc32+[...].mjs +419 -0
- package/.output/server/_libs/@aws-sdk/checksums+[...].mjs +10732 -0
- package/.output/server/_libs/@aws-sdk/client-s3+[...].mjs +9475 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-http+[...].mjs +137 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-ini+[...].mjs +440 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-process+[...].mjs +62 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-sso+[...].mjs +818 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-web-identity+[...].mjs +59 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +11125 -0
- package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +19713 -0
- package/.output/server/_libs/@codemirror/lang-css+[...].mjs +2636 -0
- package/.output/server/_libs/@codemirror/lang-html+[...].mjs +2247 -0
- package/.output/server/_libs/@codemirror/lang-json+[...].mjs +79 -0
- package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +1736 -0
- package/.output/server/_libs/@smithy/credential-provider-imds+[...].mjs +342 -0
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +14300 -0
- package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +76 -0
- package/.output/server/_libs/atomic-sleep.mjs +27 -0
- package/.output/server/_libs/aws-crypto__crc32c.mjs +314 -0
- package/.output/server/_libs/aws-sdk__nested-clients.mjs +2671 -0
- package/.output/server/_libs/babel__runtime.mjs +30 -0
- package/.output/server/_libs/clsx.mjs +16 -0
- package/.output/server/_libs/codemirror__commands.mjs +1725 -0
- package/.output/server/_libs/codemirror__lint.mjs +565 -0
- package/.output/server/_libs/codemirror__search.mjs +1138 -0
- package/.output/server/_libs/codemirror__theme-one-dark.mjs +161 -0
- package/.output/server/_libs/colorette.mjs +129 -0
- package/.output/server/_libs/croner.mjs +735 -0
- package/.output/server/_libs/d3-array.mjs +231 -0
- package/.output/server/_libs/d3-color.mjs +330 -0
- package/.output/server/_libs/d3-format.mjs +252 -0
- package/.output/server/_libs/d3-interpolate.mjs +163 -0
- package/.output/server/_libs/d3-path.mjs +77 -0
- package/.output/server/_libs/d3-scale+[...].mjs +1907 -0
- package/.output/server/_libs/d3-shape.mjs +689 -0
- package/.output/server/_libs/dateformat.mjs +341 -0
- package/.output/server/_libs/decimal.js-light.mjs +884 -0
- package/.output/server/_libs/diff.mjs +732 -0
- package/.output/server/_libs/dom-serializer+[...].mjs +708 -0
- package/.output/server/_libs/domhandler.mjs +461 -0
- package/.output/server/_libs/dompurify.mjs +2111 -0
- package/.output/server/_libs/domutils.mjs +868 -0
- package/.output/server/_libs/drizzle-orm+postgres.mjs +7689 -0
- package/.output/server/_libs/electric-sql__pglite.mjs +14674 -0
- package/.output/server/_libs/end-of-stream+once+wrappy.mjs +145 -0
- package/.output/server/_libs/es-toolkit.mjs +1737 -0
- package/.output/server/_libs/eventemitter3.mjs +236 -0
- package/.output/server/_libs/fast-copy.mjs +285 -0
- package/.output/server/_libs/fast-safe-stringify.mjs +172 -0
- package/.output/server/_libs/h3+rou3+srvx.mjs +1201 -0
- package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +1560 -0
- package/.output/server/_libs/html-react-parser+[...].mjs +1360 -0
- package/.output/server/_libs/initdb.wasm +0 -0
- package/.output/server/_libs/marked.mjs +1548 -0
- package/.output/server/_libs/on-exit-leak-free.mjs +80 -0
- package/.output/server/_libs/pglite.data +37667 -8
- package/.output/server/_libs/pglite.wasm +0 -0
- package/.output/server/_libs/pino+[...].mjs +3196 -0
- package/.output/server/_libs/pino-abstract-transport+split2.mjs +194 -0
- package/.output/server/_libs/pino-pretty+[...].mjs +1623 -0
- package/.output/server/_libs/pinojs__redact.mjs +280 -0
- package/.output/server/_libs/react-redux+[...].mjs +205 -0
- package/.output/server/_libs/recharts+victory-vendor.mjs +15875 -0
- package/.output/server/_libs/tanstack__history.mjs +342 -0
- package/.output/server/_libs/ufo.mjs +64 -0
- package/.output/server/_libs/uiw__codemirror-themes.mjs +32 -0
- package/.output/server/_libs/uiw__react-codemirror.mjs +354 -0
- package/.output/server/_runtime.mjs +37 -0
- package/.output/server/_ssr/CodeField-tm4rr6G3.mjs +143 -0
- package/.output/server/_ssr/DashboardView-CC7htv28.mjs +2795 -0
- package/.output/server/_ssr/LoopPlaybook-BXH8mhiX.mjs +2105 -0
- package/.output/server/_ssr/LoopView-DCugEbHx.mjs +1106 -0
- package/.output/server/_ssr/Modal-DpKZHLZK.mjs +49 -0
- package/.output/server/_ssr/SignIn-dTndU6Hw.mjs +67 -0
- package/.output/server/_ssr/actionUi-CZbEixbf.mjs +119 -0
- package/.output/server/_ssr/adapters-BS8XosjF.mjs +130 -0
- package/.output/server/_ssr/artifactFiles-Cagtj7J0.mjs +61 -0
- package/.output/server/_ssr/artifactKind-BW0isV8L.mjs +37 -0
- package/.output/server/_ssr/artifactView-DS4O22wl.mjs +304 -0
- package/.output/server/_ssr/artifacts-DngKyW2u.mjs +2 -0
- package/.output/server/_ssr/auth-DY1DuYZd.mjs +38429 -0
- package/.output/server/_ssr/boot-BbtG0ImW.mjs +9010 -0
- package/.output/server/_ssr/boot-CMHTxQpJ.mjs +2 -0
- package/.output/server/_ssr/bun-sqlite-dialect-BW9W1_Ps-CU1Spd6z.mjs +162 -0
- package/.output/server/_ssr/core-RrmWoKne.mjs +5 -0
- package/.output/server/_ssr/createServerRpc-BD8Xn_0_.mjs +12 -0
- package/.output/server/_ssr/d1-sqlite-dialect-BLC8LXE6-DfG7tB8s.mjs +112 -0
- package/.output/server/_ssr/db-DWAuZq1o.mjs +2 -0
- package/.output/server/_ssr/dist-BIxFFVZg.mjs +342 -0
- package/.output/server/_ssr/empty-plugin-adapters-DKUlnwwl.mjs +5 -0
- package/.output/server/_ssr/factory-Blq0DYfT.mjs +6903 -0
- package/.output/server/_ssr/invite._token-BRCo9LGB.mjs +36 -0
- package/.output/server/_ssr/invite._token-DJxGLILJ.mjs +28 -0
- package/.output/server/_ssr/invite._token-NewFt27g.mjs +92 -0
- package/.output/server/_ssr/kysely-adapter-D3XTe64J.mjs +2 -0
- package/.output/server/_ssr/kysely-migration-tables-JkVUjPF_-bPAX9LR_.mjs +19 -0
- package/.output/server/_ssr/lifecycleUi-C9lg1r3r.mjs +38 -0
- package/.output/server/_ssr/logger-Dw82jNjH.mjs +2 -0
- package/.output/server/_ssr/loopApi-BtfkZQYK.mjs +532 -0
- package/.output/server/_ssr/loopApi-Cxe8WyOB.mjs +105 -0
- package/.output/server/_ssr/loops._loopId-7NQJPB9W.mjs +30 -0
- package/.output/server/_ssr/loops._loopId-DhnArGdL.mjs +1635 -0
- package/.output/server/_ssr/loops._loopId_.runs._runId-Bvuo2nki.mjs +29 -0
- package/.output/server/_ssr/loops._loopId_.runs._runId-Dip5Xk-q.mjs +674 -0
- package/.output/server/_ssr/machineFns-Dvr5ICUy.mjs +266 -0
- package/.output/server/_ssr/node-sqlite-dialect-DhyOpJTX.mjs +162 -0
- package/.output/server/_ssr/notifyFns-BcMRY5kP.mjs +118 -0
- package/.output/server/_ssr/notifyFns-Q458pZmE.mjs +580 -0
- package/.output/server/_ssr/router-J8KZ30xw.mjs +678 -0
- package/.output/server/_ssr/routes-Bcs4T1ox.mjs +28 -0
- package/.output/server/_ssr/routes-BoGrcf-b.mjs +43 -0
- package/.output/server/_ssr/routes-D4am3Zff.mjs +28 -0
- package/.output/server/_ssr/runDiff-CpEFqo7G.mjs +113 -0
- package/.output/server/_ssr/ssr.mjs +5837 -0
- package/.output/server/_ssr/start-4ifArtKx.mjs +4 -0
- package/.output/server/_ssr/store-b3JcQ08F.mjs +2 -0
- package/.output/server/_ssr/t._teamId-CeUhzgzT.mjs +32 -0
- package/.output/server/_ssr/t._teamId-DR-hQK7o.mjs +47 -0
- package/.output/server/_ssr/t._teamId-Dy_McbRt.mjs +31 -0
- package/.output/server/_ssr/teamCookie-B7hLOIie.mjs +10 -0
- package/.output/server/_ssr/teamFns-BIDnsg2A.mjs +473 -0
- package/.output/server/_ssr/teamFns-DA4ovI5g.mjs +33 -0
- package/.output/server/_ssr/tokens-ytd60FUt.mjs +2 -0
- package/.output/server/_ssr/ui-Dej2qjuS.mjs +267 -0
- package/.output/server/_tanstack-start-manifest_v-CVS6c7re.mjs +95 -0
- package/.output/server/drizzle/0000_round_marauders.sql +193 -0
- package/.output/server/drizzle/0001_naive_silver_fox.sql +25 -0
- package/.output/server/drizzle/0002_funny_sage.sql +12 -0
- package/.output/server/drizzle/0003_optimal_slapstick.sql +102 -0
- package/.output/server/drizzle/0004_remove_grok_agent.sql +5 -0
- package/.output/server/drizzle/0005_heavy_gauntlet.sql +8 -0
- package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +1 -0
- package/.output/server/drizzle/0007_faulty_starbolt.sql +30 -0
- package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +15 -0
- package/.output/server/drizzle/meta/0000_snapshot.json +1333 -0
- package/.output/server/drizzle/meta/0001_snapshot.json +1498 -0
- package/.output/server/drizzle/meta/0002_snapshot.json +1576 -0
- package/.output/server/drizzle/meta/0003_snapshot.json +1666 -0
- package/.output/server/drizzle/meta/0005_snapshot.json +1666 -0
- package/.output/server/drizzle/meta/0006_snapshot.json +1672 -0
- package/.output/server/drizzle/meta/0007_snapshot.json +1787 -0
- package/.output/server/drizzle/meta/_journal.json +69 -0
- package/.output/server/index.mjs +464 -0
- package/.output/server/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/package.json +9 -0
- package/LICENSE +21 -0
- package/drizzle/0000_round_marauders.sql +193 -0
- package/drizzle/0001_naive_silver_fox.sql +25 -0
- package/drizzle/0002_funny_sage.sql +12 -0
- package/drizzle/0003_optimal_slapstick.sql +102 -0
- package/drizzle/0004_remove_grok_agent.sql +5 -0
- package/drizzle/0005_heavy_gauntlet.sql +8 -0
- package/drizzle/0006_tranquil_sharon_carter.sql +1 -0
- package/drizzle/0007_faulty_starbolt.sql +30 -0
- package/drizzle/0008_durable_lifecycle_evidence.sql +15 -0
- package/drizzle/meta/0000_snapshot.json +1333 -0
- package/drizzle/meta/0001_snapshot.json +1498 -0
- package/drizzle/meta/0002_snapshot.json +1576 -0
- package/drizzle/meta/0003_snapshot.json +1666 -0
- package/drizzle/meta/0005_snapshot.json +1666 -0
- package/drizzle/meta/0006_snapshot.json +1672 -0
- package/drizzle/meta/0007_snapshot.json +1787 -0
- package/drizzle/meta/_journal.json +69 -0
- package/package.json +84 -0
- package/scripts/pievo-server.mjs +390 -0
- package/scripts/prestart.mjs +66 -0
- package/scripts/server-cli-lib.mjs +451 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { E as indentOnInput, O as indentUnit, Q as dropCursor, X as crosshairCursor, Z as drawSelection, _t as EditorState, a as completionKeymap, at as lineNumbers, et as highlightActiveLine, f as bracketMatching, h as defaultHighlightStyle, it as keymap, j as syntaxHighlighting, n as closeBrackets, nt as highlightSpecialChars, r as closeBracketsKeymap, st as rectangularSelection, t as autocompletion, tt as highlightActiveLineGutter, x as foldKeymap, y as foldGutter } from "../@codemirror/autocomplete+[...].mjs";
|
|
2
|
+
import { n as history, r as historyKeymap, t as defaultKeymap } from "../codemirror__commands.mjs";
|
|
3
|
+
import { n as searchKeymap, t as highlightSelectionMatches } from "../codemirror__search.mjs";
|
|
4
|
+
import { t as lintKeymap } from "../codemirror__lint.mjs";
|
|
5
|
+
//#region ../../node_modules/.pnpm/@uiw+codemirror-extensions-basic-setup@4.25.10_@codemirror+autocomplete@6.20.3_@codemirror+co_pf57glofvrko3i6c2wvel7t4ry/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js
|
|
6
|
+
/**
|
|
7
|
+
This is an extension value that just pulls together a number of
|
|
8
|
+
extensions that you might want in a basic editor. It is meant as a
|
|
9
|
+
convenient helper to quickly set up CodeMirror without installing
|
|
10
|
+
and importing a lot of separate packages.
|
|
11
|
+
|
|
12
|
+
Specifically, it includes...
|
|
13
|
+
|
|
14
|
+
- [the default command bindings](https://codemirror.net/6/docs/ref/#commands.defaultKeymap)
|
|
15
|
+
- [line numbers](https://codemirror.net/6/docs/ref/#view.lineNumbers)
|
|
16
|
+
- [special character highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars)
|
|
17
|
+
- [the undo history](https://codemirror.net/6/docs/ref/#commands.history)
|
|
18
|
+
- [a fold gutter](https://codemirror.net/6/docs/ref/#language.foldGutter)
|
|
19
|
+
- [custom selection drawing](https://codemirror.net/6/docs/ref/#view.drawSelection)
|
|
20
|
+
- [drop cursor](https://codemirror.net/6/docs/ref/#view.dropCursor)
|
|
21
|
+
- [multiple selections](https://codemirror.net/6/docs/ref/#state.EditorState^allowMultipleSelections)
|
|
22
|
+
- [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput)
|
|
23
|
+
- [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback)
|
|
24
|
+
- [bracket matching](https://codemirror.net/6/docs/ref/#language.bracketMatching)
|
|
25
|
+
- [bracket closing](https://codemirror.net/6/docs/ref/#autocomplete.closeBrackets)
|
|
26
|
+
- [autocompletion](https://codemirror.net/6/docs/ref/#autocomplete.autocompletion)
|
|
27
|
+
- [rectangular selection](https://codemirror.net/6/docs/ref/#view.rectangularSelection) and [crosshair cursor](https://codemirror.net/6/docs/ref/#view.crosshairCursor)
|
|
28
|
+
- [active line highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLine)
|
|
29
|
+
- [active line gutter highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLineGutter)
|
|
30
|
+
- [selection match highlighting](https://codemirror.net/6/docs/ref/#search.highlightSelectionMatches)
|
|
31
|
+
- [search](https://codemirror.net/6/docs/ref/#search.searchKeymap)
|
|
32
|
+
- [linting](https://codemirror.net/6/docs/ref/#lint.lintKeymap)
|
|
33
|
+
|
|
34
|
+
(You'll probably want to add some language package to your setup
|
|
35
|
+
too.)
|
|
36
|
+
|
|
37
|
+
This extension does not allow customization. The idea is that,
|
|
38
|
+
once you decide you want to configure your editor more precisely,
|
|
39
|
+
you take this package's source (which is just a bunch of imports
|
|
40
|
+
and an array literal), copy it into your own code, and adjust it
|
|
41
|
+
as desired.
|
|
42
|
+
*/
|
|
43
|
+
var basicSetup = function basicSetup(options) {
|
|
44
|
+
if (options === void 0) options = {};
|
|
45
|
+
var _options$crosshairCur = options.crosshairCursor, initCrosshairCursor = _options$crosshairCur === void 0 ? false : _options$crosshairCur;
|
|
46
|
+
var keymaps = [];
|
|
47
|
+
if (options.closeBracketsKeymap !== false) keymaps = keymaps.concat(closeBracketsKeymap);
|
|
48
|
+
if (options.defaultKeymap !== false) keymaps = keymaps.concat(defaultKeymap);
|
|
49
|
+
if (options.searchKeymap !== false) keymaps = keymaps.concat(searchKeymap);
|
|
50
|
+
if (options.historyKeymap !== false) keymaps = keymaps.concat(historyKeymap);
|
|
51
|
+
if (options.foldKeymap !== false) keymaps = keymaps.concat(foldKeymap);
|
|
52
|
+
if (options.completionKeymap !== false) keymaps = keymaps.concat(completionKeymap);
|
|
53
|
+
if (options.lintKeymap !== false) keymaps = keymaps.concat(lintKeymap);
|
|
54
|
+
var extensions = [];
|
|
55
|
+
if (options.lineNumbers !== false) extensions.push(lineNumbers());
|
|
56
|
+
if (options.highlightActiveLineGutter !== false) extensions.push(highlightActiveLineGutter());
|
|
57
|
+
if (options.highlightSpecialChars !== false) extensions.push(highlightSpecialChars());
|
|
58
|
+
if (options.history !== false) extensions.push(history());
|
|
59
|
+
if (options.foldGutter !== false) extensions.push(foldGutter());
|
|
60
|
+
if (options.drawSelection !== false) extensions.push(drawSelection());
|
|
61
|
+
if (options.dropCursor !== false) extensions.push(dropCursor());
|
|
62
|
+
if (options.allowMultipleSelections !== false) extensions.push(EditorState.allowMultipleSelections.of(true));
|
|
63
|
+
if (options.indentOnInput !== false) extensions.push(indentOnInput());
|
|
64
|
+
if (options.syntaxHighlighting !== false) extensions.push(syntaxHighlighting(defaultHighlightStyle, { fallback: true }));
|
|
65
|
+
if (options.bracketMatching !== false) extensions.push(bracketMatching());
|
|
66
|
+
if (options.closeBrackets !== false) extensions.push(closeBrackets());
|
|
67
|
+
if (options.autocompletion !== false) extensions.push(autocompletion());
|
|
68
|
+
if (options.rectangularSelection !== false) extensions.push(rectangularSelection());
|
|
69
|
+
if (initCrosshairCursor !== false) extensions.push(crosshairCursor());
|
|
70
|
+
if (options.highlightActiveLine !== false) extensions.push(highlightActiveLine());
|
|
71
|
+
if (options.highlightSelectionMatches !== false) extensions.push(highlightSelectionMatches());
|
|
72
|
+
if (options.tabSize && typeof options.tabSize === "number") extensions.push(indentUnit.of(" ".repeat(options.tabSize)));
|
|
73
|
+
return extensions.concat([keymap.of(keymaps.flat())]).filter(Boolean);
|
|
74
|
+
};
|
|
75
|
+
//#endregion
|
|
76
|
+
export { basicSetup as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "../_runtime.mjs";
|
|
2
|
+
//#region ../../node_modules/.pnpm/atomic-sleep@1.0.0/node_modules/atomic-sleep/index.js
|
|
3
|
+
var require_atomic_sleep = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
+
if (typeof SharedArrayBuffer !== "undefined" && typeof Atomics !== "undefined") {
|
|
5
|
+
const nil = new Int32Array(new SharedArrayBuffer(4));
|
|
6
|
+
function sleep(ms) {
|
|
7
|
+
if ((ms > 0 && ms < Infinity) === false) {
|
|
8
|
+
if (typeof ms !== "number" && typeof ms !== "bigint") throw TypeError("sleep: ms must be a number");
|
|
9
|
+
throw RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");
|
|
10
|
+
}
|
|
11
|
+
Atomics.wait(nil, 0, 0, Number(ms));
|
|
12
|
+
}
|
|
13
|
+
module.exports = sleep;
|
|
14
|
+
} else {
|
|
15
|
+
function sleep(ms) {
|
|
16
|
+
if ((ms > 0 && ms < Infinity) === false) {
|
|
17
|
+
if (typeof ms !== "number" && typeof ms !== "bigint") throw TypeError("sleep: ms must be a number");
|
|
18
|
+
throw RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");
|
|
19
|
+
}
|
|
20
|
+
const target = Date.now() + Number(ms);
|
|
21
|
+
while (target > Date.now());
|
|
22
|
+
}
|
|
23
|
+
module.exports = sleep;
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
//#endregion
|
|
27
|
+
export { require_atomic_sleep as t };
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { a as init_module, d as isEmptyData, f as convertToBuffer, l as numToUint8, s as uint32ArrayFrom } from "./@aws-crypto/crc32+[...].mjs";
|
|
2
|
+
import { __awaiter, __generator, __values } from "tslib";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@aws-crypto+crc32c@5.2.0/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js
|
|
4
|
+
init_module();
|
|
5
|
+
var AwsCrc32c = function() {
|
|
6
|
+
function AwsCrc32c() {
|
|
7
|
+
this.crc32c = new Crc32c();
|
|
8
|
+
}
|
|
9
|
+
AwsCrc32c.prototype.update = function(toHash) {
|
|
10
|
+
if (isEmptyData(toHash)) return;
|
|
11
|
+
this.crc32c.update(convertToBuffer(toHash));
|
|
12
|
+
};
|
|
13
|
+
AwsCrc32c.prototype.digest = function() {
|
|
14
|
+
return __awaiter(this, void 0, void 0, function() {
|
|
15
|
+
return __generator(this, function(_a) {
|
|
16
|
+
return [2, numToUint8(this.crc32c.digest())];
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
AwsCrc32c.prototype.reset = function() {
|
|
21
|
+
this.crc32c = new Crc32c();
|
|
22
|
+
};
|
|
23
|
+
return AwsCrc32c;
|
|
24
|
+
}();
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../../node_modules/.pnpm/@aws-crypto+crc32c@5.2.0/node_modules/@aws-crypto/crc32c/build/module/index.js
|
|
27
|
+
init_module();
|
|
28
|
+
var Crc32c = function() {
|
|
29
|
+
function Crc32c() {
|
|
30
|
+
this.checksum = 4294967295;
|
|
31
|
+
}
|
|
32
|
+
Crc32c.prototype.update = function(data) {
|
|
33
|
+
var e_1, _a;
|
|
34
|
+
try {
|
|
35
|
+
for (var data_1 = __values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
|
|
36
|
+
var byte = data_1_1.value;
|
|
37
|
+
this.checksum = this.checksum >>> 8 ^ lookupTable[(this.checksum ^ byte) & 255];
|
|
38
|
+
}
|
|
39
|
+
} catch (e_1_1) {
|
|
40
|
+
e_1 = { error: e_1_1 };
|
|
41
|
+
} finally {
|
|
42
|
+
try {
|
|
43
|
+
if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);
|
|
44
|
+
} finally {
|
|
45
|
+
if (e_1) throw e_1.error;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
Crc32c.prototype.digest = function() {
|
|
51
|
+
return (this.checksum ^ 4294967295) >>> 0;
|
|
52
|
+
};
|
|
53
|
+
return Crc32c;
|
|
54
|
+
}();
|
|
55
|
+
var lookupTable = uint32ArrayFrom([
|
|
56
|
+
0,
|
|
57
|
+
4067132163,
|
|
58
|
+
3778769143,
|
|
59
|
+
324072436,
|
|
60
|
+
3348797215,
|
|
61
|
+
904991772,
|
|
62
|
+
648144872,
|
|
63
|
+
3570033899,
|
|
64
|
+
2329499855,
|
|
65
|
+
2024987596,
|
|
66
|
+
1809983544,
|
|
67
|
+
2575936315,
|
|
68
|
+
1296289744,
|
|
69
|
+
3207089363,
|
|
70
|
+
2893594407,
|
|
71
|
+
1578318884,
|
|
72
|
+
274646895,
|
|
73
|
+
3795141740,
|
|
74
|
+
4049975192,
|
|
75
|
+
51262619,
|
|
76
|
+
3619967088,
|
|
77
|
+
632279923,
|
|
78
|
+
922689671,
|
|
79
|
+
3298075524,
|
|
80
|
+
2592579488,
|
|
81
|
+
1760304291,
|
|
82
|
+
2075979607,
|
|
83
|
+
2312596564,
|
|
84
|
+
1562183871,
|
|
85
|
+
2943781820,
|
|
86
|
+
3156637768,
|
|
87
|
+
1313733451,
|
|
88
|
+
549293790,
|
|
89
|
+
3537243613,
|
|
90
|
+
3246849577,
|
|
91
|
+
871202090,
|
|
92
|
+
3878099393,
|
|
93
|
+
357341890,
|
|
94
|
+
102525238,
|
|
95
|
+
4101499445,
|
|
96
|
+
2858735121,
|
|
97
|
+
1477399826,
|
|
98
|
+
1264559846,
|
|
99
|
+
3107202533,
|
|
100
|
+
1845379342,
|
|
101
|
+
2677391885,
|
|
102
|
+
2361733625,
|
|
103
|
+
2125378298,
|
|
104
|
+
820201905,
|
|
105
|
+
3263744690,
|
|
106
|
+
3520608582,
|
|
107
|
+
598981189,
|
|
108
|
+
4151959214,
|
|
109
|
+
85089709,
|
|
110
|
+
373468761,
|
|
111
|
+
3827903834,
|
|
112
|
+
3124367742,
|
|
113
|
+
1213305469,
|
|
114
|
+
1526817161,
|
|
115
|
+
2842354314,
|
|
116
|
+
2107672161,
|
|
117
|
+
2412447074,
|
|
118
|
+
2627466902,
|
|
119
|
+
1861252501,
|
|
120
|
+
1098587580,
|
|
121
|
+
3004210879,
|
|
122
|
+
2688576843,
|
|
123
|
+
1378610760,
|
|
124
|
+
2262928035,
|
|
125
|
+
1955203488,
|
|
126
|
+
1742404180,
|
|
127
|
+
2511436119,
|
|
128
|
+
3416409459,
|
|
129
|
+
969524848,
|
|
130
|
+
714683780,
|
|
131
|
+
3639785095,
|
|
132
|
+
205050476,
|
|
133
|
+
4266873199,
|
|
134
|
+
3976438427,
|
|
135
|
+
526918040,
|
|
136
|
+
1361435347,
|
|
137
|
+
2739821008,
|
|
138
|
+
2954799652,
|
|
139
|
+
1114974503,
|
|
140
|
+
2529119692,
|
|
141
|
+
1691668175,
|
|
142
|
+
2005155131,
|
|
143
|
+
2247081528,
|
|
144
|
+
3690758684,
|
|
145
|
+
697762079,
|
|
146
|
+
986182379,
|
|
147
|
+
3366744552,
|
|
148
|
+
476452099,
|
|
149
|
+
3993867776,
|
|
150
|
+
4250756596,
|
|
151
|
+
255256311,
|
|
152
|
+
1640403810,
|
|
153
|
+
2477592673,
|
|
154
|
+
2164122517,
|
|
155
|
+
1922457750,
|
|
156
|
+
2791048317,
|
|
157
|
+
1412925310,
|
|
158
|
+
1197962378,
|
|
159
|
+
3037525897,
|
|
160
|
+
3944729517,
|
|
161
|
+
427051182,
|
|
162
|
+
170179418,
|
|
163
|
+
4165941337,
|
|
164
|
+
746937522,
|
|
165
|
+
3740196785,
|
|
166
|
+
3451792453,
|
|
167
|
+
1070968646,
|
|
168
|
+
1905808397,
|
|
169
|
+
2213795598,
|
|
170
|
+
2426610938,
|
|
171
|
+
1657317369,
|
|
172
|
+
3053634322,
|
|
173
|
+
1147748369,
|
|
174
|
+
1463399397,
|
|
175
|
+
2773627110,
|
|
176
|
+
4215344322,
|
|
177
|
+
153784257,
|
|
178
|
+
444234805,
|
|
179
|
+
3893493558,
|
|
180
|
+
1021025245,
|
|
181
|
+
3467647198,
|
|
182
|
+
3722505002,
|
|
183
|
+
797665321,
|
|
184
|
+
2197175160,
|
|
185
|
+
1889384571,
|
|
186
|
+
1674398607,
|
|
187
|
+
2443626636,
|
|
188
|
+
1164749927,
|
|
189
|
+
3070701412,
|
|
190
|
+
2757221520,
|
|
191
|
+
1446797203,
|
|
192
|
+
137323447,
|
|
193
|
+
4198817972,
|
|
194
|
+
3910406976,
|
|
195
|
+
461344835,
|
|
196
|
+
3484808360,
|
|
197
|
+
1037989803,
|
|
198
|
+
781091935,
|
|
199
|
+
3705997148,
|
|
200
|
+
2460548119,
|
|
201
|
+
1623424788,
|
|
202
|
+
1939049696,
|
|
203
|
+
2180517859,
|
|
204
|
+
1429367560,
|
|
205
|
+
2807687179,
|
|
206
|
+
3020495871,
|
|
207
|
+
1180866812,
|
|
208
|
+
410100952,
|
|
209
|
+
3927582683,
|
|
210
|
+
4182430767,
|
|
211
|
+
186734380,
|
|
212
|
+
3756733383,
|
|
213
|
+
763408580,
|
|
214
|
+
1053836080,
|
|
215
|
+
3434856499,
|
|
216
|
+
2722870694,
|
|
217
|
+
1344288421,
|
|
218
|
+
1131464017,
|
|
219
|
+
2971354706,
|
|
220
|
+
1708204729,
|
|
221
|
+
2545590714,
|
|
222
|
+
2229949006,
|
|
223
|
+
1988219213,
|
|
224
|
+
680717673,
|
|
225
|
+
3673779818,
|
|
226
|
+
3383336350,
|
|
227
|
+
1002577565,
|
|
228
|
+
4010310262,
|
|
229
|
+
493091189,
|
|
230
|
+
238226049,
|
|
231
|
+
4233660802,
|
|
232
|
+
2987750089,
|
|
233
|
+
1082061258,
|
|
234
|
+
1395524158,
|
|
235
|
+
2705686845,
|
|
236
|
+
1972364758,
|
|
237
|
+
2279892693,
|
|
238
|
+
2494862625,
|
|
239
|
+
1725896226,
|
|
240
|
+
952904198,
|
|
241
|
+
3399985413,
|
|
242
|
+
3656866545,
|
|
243
|
+
731699698,
|
|
244
|
+
4283874585,
|
|
245
|
+
222117402,
|
|
246
|
+
510512622,
|
|
247
|
+
3959836397,
|
|
248
|
+
3280807620,
|
|
249
|
+
837199303,
|
|
250
|
+
582374963,
|
|
251
|
+
3504198960,
|
|
252
|
+
68661723,
|
|
253
|
+
4135334616,
|
|
254
|
+
3844915500,
|
|
255
|
+
390545967,
|
|
256
|
+
1230274059,
|
|
257
|
+
3141532936,
|
|
258
|
+
2825850620,
|
|
259
|
+
1510247935,
|
|
260
|
+
2395924756,
|
|
261
|
+
2091215383,
|
|
262
|
+
1878366691,
|
|
263
|
+
2644384480,
|
|
264
|
+
3553878443,
|
|
265
|
+
565732008,
|
|
266
|
+
854102364,
|
|
267
|
+
3229815391,
|
|
268
|
+
340358836,
|
|
269
|
+
3861050807,
|
|
270
|
+
4117890627,
|
|
271
|
+
119113024,
|
|
272
|
+
1493875044,
|
|
273
|
+
2875275879,
|
|
274
|
+
3090270611,
|
|
275
|
+
1247431312,
|
|
276
|
+
2660249211,
|
|
277
|
+
1828433272,
|
|
278
|
+
2141937292,
|
|
279
|
+
2378227087,
|
|
280
|
+
3811616794,
|
|
281
|
+
291187481,
|
|
282
|
+
34330861,
|
|
283
|
+
4032846830,
|
|
284
|
+
615137029,
|
|
285
|
+
3603020806,
|
|
286
|
+
3314634738,
|
|
287
|
+
939183345,
|
|
288
|
+
1776939221,
|
|
289
|
+
2609017814,
|
|
290
|
+
2295496738,
|
|
291
|
+
2058945313,
|
|
292
|
+
2926798794,
|
|
293
|
+
1545135305,
|
|
294
|
+
1330124605,
|
|
295
|
+
3173225534,
|
|
296
|
+
4084100981,
|
|
297
|
+
17165430,
|
|
298
|
+
307568514,
|
|
299
|
+
3762199681,
|
|
300
|
+
888469610,
|
|
301
|
+
3332340585,
|
|
302
|
+
3587147933,
|
|
303
|
+
665062302,
|
|
304
|
+
2042050490,
|
|
305
|
+
2346497209,
|
|
306
|
+
2559330125,
|
|
307
|
+
1793573966,
|
|
308
|
+
3190661285,
|
|
309
|
+
1279665062,
|
|
310
|
+
1595330642,
|
|
311
|
+
2910671697
|
|
312
|
+
]);
|
|
313
|
+
//#endregion
|
|
314
|
+
export { AwsCrc32c as t };
|