@remix_labs/mixc-starter 2.6479.0-dev → 2.6481.0-dev

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.
@@ -1,10 +1,9 @@
1
- /******/ (() => { // webpackBootstrap
2
- /******/ var __webpack_modules__ = ({
1
+ import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
2
+ /******/ var __webpack_modules__ = ({
3
3
 
4
4
  /***/ 3219:
5
5
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6
6
 
7
- "use strict";
8
7
 
9
8
  Object.defineProperty(exports, "__esModule", ({ value: true }));
10
9
  exports.Dirent = void 0;
@@ -60,7 +59,6 @@ exports["default"] = Dirent;
60
59
  /***/ 5136:
61
60
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
62
61
 
63
- "use strict";
64
62
 
65
63
  Object.defineProperty(exports, "__esModule", ({ value: true }));
66
64
  exports.Stats = void 0;
@@ -133,7 +131,6 @@ exports["default"] = Stats;
133
131
  /***/ 2970:
134
132
  /***/ ((__unused_webpack_module, exports) => {
135
133
 
136
- "use strict";
137
134
 
138
135
  Object.defineProperty(exports, "__esModule", ({ value: true }));
139
136
  exports.constants = void 0;
@@ -192,7 +189,6 @@ exports.constants = {
192
189
  /***/ 1792:
193
190
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
194
191
 
195
- "use strict";
196
192
 
197
193
  Object.defineProperty(exports, "__esModule", ({ value: true }));
198
194
  exports.strToEncoding = exports.assertEncoding = exports.ENCODING_UTF8 = void 0;
@@ -231,7 +227,6 @@ else
231
227
  /***/ 7000:
232
228
  /***/ ((module, exports, __webpack_require__) => {
233
229
 
234
- "use strict";
235
230
 
236
231
  Object.defineProperty(exports, "__esModule", ({ value: true }));
237
232
  exports.fs = exports.createFsFromVolume = exports.vol = exports.Volume = void 0;
@@ -272,7 +267,6 @@ module.exports.semantic = true;
272
267
  /***/ 219:
273
268
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
274
269
 
275
- "use strict";
276
270
 
277
271
  Object.defineProperty(exports, "__esModule", ({ value: true }));
278
272
  exports.bufferFrom = exports.bufferAllocUnsafe = exports.Buffer = void 0;
@@ -292,7 +286,6 @@ exports.bufferFrom = bufferFrom;
292
286
  /***/ 8594:
293
287
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
294
288
 
295
- "use strict";
296
289
 
297
290
  // The whole point behind this internal module is to allow Node.js to no
298
291
  // longer be forced to treat every error message change as a semver-major
@@ -537,7 +530,6 @@ function bufferOutOfBounds(name, isWriting) {
537
530
  /***/ 6840:
538
531
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
539
532
 
540
- "use strict";
541
533
 
542
534
  Object.defineProperty(exports, "__esModule", ({ value: true }));
543
535
  exports.File = exports.Link = exports.Node = exports.SEP = void 0;
@@ -923,7 +915,6 @@ exports.File = File;
923
915
  /***/ 365:
924
916
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
925
917
 
926
- "use strict";
927
918
  /* provided dependency */ var process = __webpack_require__(2866);
928
919
  /* provided dependency */ var console = __webpack_require__(3951);
929
920
 
@@ -975,7 +966,6 @@ exports["default"] = createProcess();
975
966
  /***/ 8572:
976
967
  /***/ ((__unused_webpack_module, exports) => {
977
968
 
978
- "use strict";
979
969
 
980
970
  Object.defineProperty(exports, "__esModule", ({ value: true }));
981
971
  exports.FileHandle = void 0;
@@ -1127,7 +1117,6 @@ exports["default"] = createPromisesApi;
1127
1117
  /***/ 5078:
1128
1118
  /***/ ((__unused_webpack_module, exports) => {
1129
1119
 
1130
- "use strict";
1131
1120
 
1132
1121
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1133
1122
  let _setImmediate;
@@ -1143,7 +1132,6 @@ exports["default"] = _setImmediate;
1143
1132
  /***/ 50:
1144
1133
  /***/ ((__unused_webpack_module, exports) => {
1145
1134
 
1146
- "use strict";
1147
1135
 
1148
1136
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1149
1137
  /**
@@ -1164,7 +1152,6 @@ exports["default"] = setTimeoutUnref;
1164
1152
  /***/ 131:
1165
1153
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1166
1154
 
1167
- "use strict";
1168
1155
 
1169
1156
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1170
1157
  exports.FSWatcher = exports.StatWatcher = exports.Volume = exports.toUnixTimestamp = exports.bufferToEncoding = exports.dataToBuffer = exports.dataToStr = exports.pathToSteps = exports.filenameToSteps = exports.pathToFilename = exports.flagsToNumber = exports.FLAGS = void 0;
@@ -3386,7 +3373,6 @@ module.exports = Worker
3386
3373
  /***/ 9626:
3387
3374
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3388
3375
 
3389
- "use strict";
3390
3376
 
3391
3377
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3392
3378
  exports.ufs = exports.Union = void 0;
@@ -3401,7 +3387,6 @@ exports["default"] = exports.ufs;
3401
3387
  /***/ 4085:
3402
3388
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3403
3389
 
3404
- "use strict";
3405
3390
  /* provided dependency */ var Buffer = __webpack_require__(4721)["lW"];
3406
3391
 
3407
3392
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
@@ -4209,7 +4194,6 @@ exports.Union = Union;
4209
4194
  /***/ 8768:
4210
4195
  /***/ ((__unused_webpack_module, exports) => {
4211
4196
 
4212
- "use strict";
4213
4197
 
4214
4198
 
4215
4199
  exports.byteLength = byteLength
@@ -4367,7 +4351,6 @@ function fromByteArray (uint8) {
4367
4351
  /***/ 4721:
4368
4352
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4369
4353
 
4370
- "use strict";
4371
4354
  var __webpack_unused_export__;
4372
4355
  /* provided dependency */ var console = __webpack_require__(3951);
4373
4356
  /*!
@@ -7426,7 +7409,6 @@ formatters.O = function (v) {
7426
7409
  /***/ 3066:
7427
7410
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7428
7411
 
7429
- "use strict";
7430
7412
  /* provided dependency */ var process = __webpack_require__(2866);
7431
7413
 
7432
7414
 
@@ -7490,7 +7472,6 @@ function correctPath(filepath) {
7490
7472
  /***/ 6962:
7491
7473
  /***/ ((__unused_webpack_module, exports) => {
7492
7474
 
7493
- "use strict";
7494
7475
 
7495
7476
 
7496
7477
  Object.defineProperty(exports, "__esModule", ({
@@ -7509,7 +7490,6 @@ exports.fsAsyncMethods = fsAsyncMethods;
7509
7490
  /***/ 1671:
7510
7491
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7511
7492
 
7512
- "use strict";
7513
7493
  /* provided dependency */ var process = __webpack_require__(2866);
7514
7494
 
7515
7495
 
@@ -7810,7 +7790,6 @@ module.exports = globalThis.DOMException
7810
7790
  /***/ 4695:
7811
7791
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7812
7792
 
7813
- "use strict";
7814
7793
  /* provided dependency */ var process = __webpack_require__(2866);
7815
7794
  // 'path' module extracted from Node.js v8.11.1 (only the posix part)
7816
7795
  // transplited with Babel
@@ -8547,7 +8526,6 @@ module.exports = __webpack_require__(6113).randomBytes
8547
8526
  /***/ 3523:
8548
8527
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
8549
8528
 
8550
- "use strict";
8551
8529
  /* provided dependency */ var process = __webpack_require__(2866);
8552
8530
 
8553
8531
 
@@ -8750,7 +8728,6 @@ SafeBuffer.allocUnsafeSlow = function (size) {
8750
8728
  /***/ 2751:
8751
8729
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8752
8730
 
8753
- "use strict";
8754
8731
  /* provided dependency */ var process = __webpack_require__(2866);
8755
8732
 
8756
8733
  const os = __webpack_require__(2037);
@@ -8937,7 +8914,6 @@ module.exports = function typedarrayToBuffer (arr) {
8937
8914
  /***/ 1279:
8938
8915
  /***/ ((__unused_webpack_module, exports) => {
8939
8916
 
8940
- "use strict";
8941
8917
 
8942
8918
  /*
8943
8919
  This is https://github.com/cabinjs/browser-hrtime/blob/master/src/index.ts
@@ -8995,7 +8971,6 @@ exports["default"] = _hrtime;
8995
8971
  /***/ 7986:
8996
8972
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
8997
8973
 
8998
- "use strict";
8999
8974
 
9000
8975
  var __importDefault = (this && this.__importDefault) || function (mod) {
9001
8976
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -9027,7 +9002,6 @@ exports["default"] = bindings;
9027
9002
  /***/ 6207:
9028
9003
  /***/ ((__unused_webpack_module, exports) => {
9029
9004
 
9030
- "use strict";
9031
9005
 
9032
9006
  /*
9033
9007
 
@@ -9434,7 +9408,6 @@ exports.SIGNAL_MAP = {
9434
9408
  /***/ 4995:
9435
9409
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
9436
9410
 
9437
- "use strict";
9438
9411
  /* provided dependency */ var console = __webpack_require__(3951);
9439
9412
 
9440
9413
  /*
@@ -9621,7 +9594,6 @@ open* function.
9621
9594
  /***/ 2082:
9622
9595
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
9623
9596
 
9624
- "use strict";
9625
9597
 
9626
9598
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9627
9599
  if (k2 === undefined) k2 = k;
@@ -9662,7 +9634,6 @@ exports.constants = constants;
9662
9634
  /***/ 3298:
9663
9635
  /***/ ((__unused_webpack_module, exports) => {
9664
9636
 
9665
- "use strict";
9666
9637
 
9667
9638
  Object.defineProperty(exports, "__esModule", ({ value: true }));
9668
9639
  exports.WASIKillError = exports.WASIExitError = exports.WASIError = void 0;
@@ -9697,7 +9668,6 @@ exports.WASIKillError = WASIKillError;
9697
9668
  /***/ 1576:
9698
9669
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
9699
9670
 
9700
- "use strict";
9701
9671
 
9702
9672
  Object.defineProperty(exports, "__esModule", ({ value: true }));
9703
9673
  const path_1 = __webpack_require__(1017);
@@ -9733,7 +9703,6 @@ exports["default"] = unzip;
9733
9703
  /***/ 4078:
9734
9704
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
9735
9705
 
9736
- "use strict";
9737
9706
  /* provided dependency */ var console = __webpack_require__(3951);
9738
9707
  /* provided dependency */ var Buffer = __webpack_require__(4721)["lW"];
9739
9708
 
@@ -15835,120 +15804,105 @@ module.exports = webpackEmptyContext;
15835
15804
  /***/ 9491:
15836
15805
  /***/ ((module) => {
15837
15806
 
15838
- "use strict";
15839
- module.exports = require("assert");
15807
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("assert");
15840
15808
 
15841
15809
  /***/ }),
15842
15810
 
15843
15811
  /***/ 4300:
15844
15812
  /***/ ((module) => {
15845
15813
 
15846
- "use strict";
15847
- module.exports = require("buffer");
15814
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("buffer");
15848
15815
 
15849
15816
  /***/ }),
15850
15817
 
15851
15818
  /***/ 6113:
15852
15819
  /***/ ((module) => {
15853
15820
 
15854
- "use strict";
15855
- module.exports = require("crypto");
15821
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("crypto");
15856
15822
 
15857
15823
  /***/ }),
15858
15824
 
15859
15825
  /***/ 2361:
15860
15826
  /***/ ((module) => {
15861
15827
 
15862
- "use strict";
15863
- module.exports = require("events");
15828
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("events");
15864
15829
 
15865
15830
  /***/ }),
15866
15831
 
15867
15832
  /***/ 7742:
15868
15833
  /***/ ((module) => {
15869
15834
 
15870
- "use strict";
15871
- module.exports = require("node:process");
15835
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:process");
15872
15836
 
15873
15837
  /***/ }),
15874
15838
 
15875
15839
  /***/ 2477:
15876
15840
  /***/ ((module) => {
15877
15841
 
15878
- "use strict";
15879
- module.exports = require("node:stream/web");
15842
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/web");
15880
15843
 
15881
15844
  /***/ }),
15882
15845
 
15883
15846
  /***/ 2037:
15884
15847
  /***/ ((module) => {
15885
15848
 
15886
- "use strict";
15887
- module.exports = require("os");
15849
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("os");
15888
15850
 
15889
15851
  /***/ }),
15890
15852
 
15891
15853
  /***/ 1017:
15892
15854
  /***/ ((module) => {
15893
15855
 
15894
- "use strict";
15895
- module.exports = require("path");
15856
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("path");
15896
15857
 
15897
15858
  /***/ }),
15898
15859
 
15899
15860
  /***/ 7282:
15900
15861
  /***/ ((module) => {
15901
15862
 
15902
- "use strict";
15903
- module.exports = require("process");
15863
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("process");
15904
15864
 
15905
15865
  /***/ }),
15906
15866
 
15907
15867
  /***/ 2781:
15908
15868
  /***/ ((module) => {
15909
15869
 
15910
- "use strict";
15911
- module.exports = require("stream");
15870
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("stream");
15912
15871
 
15913
15872
  /***/ }),
15914
15873
 
15915
15874
  /***/ 6224:
15916
15875
  /***/ ((module) => {
15917
15876
 
15918
- "use strict";
15919
- module.exports = require("tty");
15877
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("tty");
15920
15878
 
15921
15879
  /***/ }),
15922
15880
 
15923
15881
  /***/ 7310:
15924
15882
  /***/ ((module) => {
15925
15883
 
15926
- "use strict";
15927
- module.exports = require("url");
15884
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("url");
15928
15885
 
15929
15886
  /***/ }),
15930
15887
 
15931
15888
  /***/ 3837:
15932
15889
  /***/ ((module) => {
15933
15890
 
15934
- "use strict";
15935
- module.exports = require("util");
15891
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
15936
15892
 
15937
15893
  /***/ }),
15938
15894
 
15939
15895
  /***/ 6144:
15940
15896
  /***/ ((module) => {
15941
15897
 
15942
- "use strict";
15943
- module.exports = require("vm");
15898
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("vm");
15944
15899
 
15945
15900
  /***/ }),
15946
15901
 
15947
15902
  /***/ 1267:
15948
15903
  /***/ ((module) => {
15949
15904
 
15950
- "use strict";
15951
- module.exports = require("worker_threads");
15905
+ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("worker_threads");
15952
15906
 
15953
15907
  /***/ }),
15954
15908
 
@@ -16013,7 +15967,6 @@ try {
16013
15967
  /***/ 442:
16014
15968
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
16015
15969
 
16016
- "use strict";
16017
15970
 
16018
15971
  // DEFLATE is a complex format; to read this code, you should probably check the RFC first:
16019
15972
  // https://tools.ietf.org/html/rfc1951
@@ -18602,7 +18555,6 @@ exports.unzipSync = unzipSync;
18602
18555
  /***/ 1537:
18603
18556
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
18604
18557
 
18605
- "use strict";
18606
18558
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18607
18559
  /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
18608
18560
  /* harmony export */ });
@@ -18664,7 +18616,6 @@ const File = _File
18664
18616
  /***/ 273:
18665
18617
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
18666
18618
 
18667
- "use strict";
18668
18619
 
18669
18620
  // EXPORTS
18670
18621
  __webpack_require__.d(__webpack_exports__, {
@@ -18674,9 +18625,9 @@ __webpack_require__.d(__webpack_exports__, {
18674
18625
  // UNUSED EXPORTS: Blob, blobFrom, blobFromSync, default, fileFrom, fileFromSync
18675
18626
 
18676
18627
  ;// CONCATENATED MODULE: external "node:fs"
18677
- const external_node_fs_namespaceObject = require("node:fs");
18628
+ const external_node_fs_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:fs");
18678
18629
  ;// CONCATENATED MODULE: external "node:path"
18679
- const external_node_path_namespaceObject = require("node:path");
18630
+ const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:path");
18680
18631
  // EXTERNAL MODULE: ./node_modules/node-domexception/index.js
18681
18632
  var node_domexception = __webpack_require__(9153);
18682
18633
  // EXTERNAL MODULE: ./node_modules/fetch-blob/file.js
@@ -18791,7 +18742,6 @@ class BlobDataItem {
18791
18742
  /***/ 8073:
18792
18743
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
18793
18744
 
18794
- "use strict";
18795
18745
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18796
18746
  /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
18797
18747
  /* harmony export */ });
@@ -19054,7 +19004,6 @@ const Blob = _Blob
19054
19004
  /***/ 6930:
19055
19005
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
19056
19006
 
19057
- "use strict";
19058
19007
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19059
19008
  /* harmony export */ "Ct": () => (/* binding */ FormData),
19060
19009
  /* harmony export */ "au": () => (/* binding */ formDataToBlob)
@@ -19104,163 +19053,540 @@ c.push(`--${b}--`)
19104
19053
  return new B(c,{type:"multipart/form-data; boundary="+b})}
19105
19054
 
19106
19055
 
19056
+ /***/ }),
19057
+
19058
+ /***/ 941:
19059
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
19060
+
19061
+ __webpack_require__.r(__webpack_exports__);
19062
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19063
+ /* harmony export */ "toFormData": () => (/* binding */ toFormData)
19064
+ /* harmony export */ });
19065
+ /* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(273);
19066
+ /* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6930);
19067
+
19068
+
19069
+
19070
+ let s = 0;
19071
+ const S = {
19072
+ START_BOUNDARY: s++,
19073
+ HEADER_FIELD_START: s++,
19074
+ HEADER_FIELD: s++,
19075
+ HEADER_VALUE_START: s++,
19076
+ HEADER_VALUE: s++,
19077
+ HEADER_VALUE_ALMOST_DONE: s++,
19078
+ HEADERS_ALMOST_DONE: s++,
19079
+ PART_DATA_START: s++,
19080
+ PART_DATA: s++,
19081
+ END: s++
19082
+ };
19083
+
19084
+ let f = 1;
19085
+ const F = {
19086
+ PART_BOUNDARY: f,
19087
+ LAST_BOUNDARY: f *= 2
19088
+ };
19089
+
19090
+ const LF = 10;
19091
+ const CR = 13;
19092
+ const SPACE = 32;
19093
+ const HYPHEN = 45;
19094
+ const COLON = 58;
19095
+ const A = 97;
19096
+ const Z = 122;
19097
+
19098
+ const lower = c => c | 0x20;
19099
+
19100
+ const noop = () => {};
19101
+
19102
+ class MultipartParser {
19103
+ /**
19104
+ * @param {string} boundary
19105
+ */
19106
+ constructor(boundary) {
19107
+ this.index = 0;
19108
+ this.flags = 0;
19109
+
19110
+ this.onHeaderEnd = noop;
19111
+ this.onHeaderField = noop;
19112
+ this.onHeadersEnd = noop;
19113
+ this.onHeaderValue = noop;
19114
+ this.onPartBegin = noop;
19115
+ this.onPartData = noop;
19116
+ this.onPartEnd = noop;
19117
+
19118
+ this.boundaryChars = {};
19119
+
19120
+ boundary = '\r\n--' + boundary;
19121
+ const ui8a = new Uint8Array(boundary.length);
19122
+ for (let i = 0; i < boundary.length; i++) {
19123
+ ui8a[i] = boundary.charCodeAt(i);
19124
+ this.boundaryChars[ui8a[i]] = true;
19125
+ }
19126
+
19127
+ this.boundary = ui8a;
19128
+ this.lookbehind = new Uint8Array(this.boundary.length + 8);
19129
+ this.state = S.START_BOUNDARY;
19130
+ }
19131
+
19132
+ /**
19133
+ * @param {Uint8Array} data
19134
+ */
19135
+ write(data) {
19136
+ let i = 0;
19137
+ const length_ = data.length;
19138
+ let previousIndex = this.index;
19139
+ let {lookbehind, boundary, boundaryChars, index, state, flags} = this;
19140
+ const boundaryLength = this.boundary.length;
19141
+ const boundaryEnd = boundaryLength - 1;
19142
+ const bufferLength = data.length;
19143
+ let c;
19144
+ let cl;
19145
+
19146
+ const mark = name => {
19147
+ this[name + 'Mark'] = i;
19148
+ };
19149
+
19150
+ const clear = name => {
19151
+ delete this[name + 'Mark'];
19152
+ };
19153
+
19154
+ const callback = (callbackSymbol, start, end, ui8a) => {
19155
+ if (start === undefined || start !== end) {
19156
+ this[callbackSymbol](ui8a && ui8a.subarray(start, end));
19157
+ }
19158
+ };
19159
+
19160
+ const dataCallback = (name, clear) => {
19161
+ const markSymbol = name + 'Mark';
19162
+ if (!(markSymbol in this)) {
19163
+ return;
19164
+ }
19165
+
19166
+ if (clear) {
19167
+ callback(name, this[markSymbol], i, data);
19168
+ delete this[markSymbol];
19169
+ } else {
19170
+ callback(name, this[markSymbol], data.length, data);
19171
+ this[markSymbol] = 0;
19172
+ }
19173
+ };
19174
+
19175
+ for (i = 0; i < length_; i++) {
19176
+ c = data[i];
19177
+
19178
+ switch (state) {
19179
+ case S.START_BOUNDARY:
19180
+ if (index === boundary.length - 2) {
19181
+ if (c === HYPHEN) {
19182
+ flags |= F.LAST_BOUNDARY;
19183
+ } else if (c !== CR) {
19184
+ return;
19185
+ }
19186
+
19187
+ index++;
19188
+ break;
19189
+ } else if (index - 1 === boundary.length - 2) {
19190
+ if (flags & F.LAST_BOUNDARY && c === HYPHEN) {
19191
+ state = S.END;
19192
+ flags = 0;
19193
+ } else if (!(flags & F.LAST_BOUNDARY) && c === LF) {
19194
+ index = 0;
19195
+ callback('onPartBegin');
19196
+ state = S.HEADER_FIELD_START;
19197
+ } else {
19198
+ return;
19199
+ }
19200
+
19201
+ break;
19202
+ }
19203
+
19204
+ if (c !== boundary[index + 2]) {
19205
+ index = -2;
19206
+ }
19207
+
19208
+ if (c === boundary[index + 2]) {
19209
+ index++;
19210
+ }
19211
+
19212
+ break;
19213
+ case S.HEADER_FIELD_START:
19214
+ state = S.HEADER_FIELD;
19215
+ mark('onHeaderField');
19216
+ index = 0;
19217
+ // falls through
19218
+ case S.HEADER_FIELD:
19219
+ if (c === CR) {
19220
+ clear('onHeaderField');
19221
+ state = S.HEADERS_ALMOST_DONE;
19222
+ break;
19223
+ }
19224
+
19225
+ index++;
19226
+ if (c === HYPHEN) {
19227
+ break;
19228
+ }
19229
+
19230
+ if (c === COLON) {
19231
+ if (index === 1) {
19232
+ // empty header field
19233
+ return;
19234
+ }
19235
+
19236
+ dataCallback('onHeaderField', true);
19237
+ state = S.HEADER_VALUE_START;
19238
+ break;
19239
+ }
19240
+
19241
+ cl = lower(c);
19242
+ if (cl < A || cl > Z) {
19243
+ return;
19244
+ }
19245
+
19246
+ break;
19247
+ case S.HEADER_VALUE_START:
19248
+ if (c === SPACE) {
19249
+ break;
19250
+ }
19251
+
19252
+ mark('onHeaderValue');
19253
+ state = S.HEADER_VALUE;
19254
+ // falls through
19255
+ case S.HEADER_VALUE:
19256
+ if (c === CR) {
19257
+ dataCallback('onHeaderValue', true);
19258
+ callback('onHeaderEnd');
19259
+ state = S.HEADER_VALUE_ALMOST_DONE;
19260
+ }
19261
+
19262
+ break;
19263
+ case S.HEADER_VALUE_ALMOST_DONE:
19264
+ if (c !== LF) {
19265
+ return;
19266
+ }
19267
+
19268
+ state = S.HEADER_FIELD_START;
19269
+ break;
19270
+ case S.HEADERS_ALMOST_DONE:
19271
+ if (c !== LF) {
19272
+ return;
19273
+ }
19274
+
19275
+ callback('onHeadersEnd');
19276
+ state = S.PART_DATA_START;
19277
+ break;
19278
+ case S.PART_DATA_START:
19279
+ state = S.PART_DATA;
19280
+ mark('onPartData');
19281
+ // falls through
19282
+ case S.PART_DATA:
19283
+ previousIndex = index;
19284
+
19285
+ if (index === 0) {
19286
+ // boyer-moore derrived algorithm to safely skip non-boundary data
19287
+ i += boundaryEnd;
19288
+ while (i < bufferLength && !(data[i] in boundaryChars)) {
19289
+ i += boundaryLength;
19290
+ }
19291
+
19292
+ i -= boundaryEnd;
19293
+ c = data[i];
19294
+ }
19295
+
19296
+ if (index < boundary.length) {
19297
+ if (boundary[index] === c) {
19298
+ if (index === 0) {
19299
+ dataCallback('onPartData', true);
19300
+ }
19301
+
19302
+ index++;
19303
+ } else {
19304
+ index = 0;
19305
+ }
19306
+ } else if (index === boundary.length) {
19307
+ index++;
19308
+ if (c === CR) {
19309
+ // CR = part boundary
19310
+ flags |= F.PART_BOUNDARY;
19311
+ } else if (c === HYPHEN) {
19312
+ // HYPHEN = end boundary
19313
+ flags |= F.LAST_BOUNDARY;
19314
+ } else {
19315
+ index = 0;
19316
+ }
19317
+ } else if (index - 1 === boundary.length) {
19318
+ if (flags & F.PART_BOUNDARY) {
19319
+ index = 0;
19320
+ if (c === LF) {
19321
+ // unset the PART_BOUNDARY flag
19322
+ flags &= ~F.PART_BOUNDARY;
19323
+ callback('onPartEnd');
19324
+ callback('onPartBegin');
19325
+ state = S.HEADER_FIELD_START;
19326
+ break;
19327
+ }
19328
+ } else if (flags & F.LAST_BOUNDARY) {
19329
+ if (c === HYPHEN) {
19330
+ callback('onPartEnd');
19331
+ state = S.END;
19332
+ flags = 0;
19333
+ } else {
19334
+ index = 0;
19335
+ }
19336
+ } else {
19337
+ index = 0;
19338
+ }
19339
+ }
19340
+
19341
+ if (index > 0) {
19342
+ // when matching a possible boundary, keep a lookbehind reference
19343
+ // in case it turns out to be a false lead
19344
+ lookbehind[index - 1] = c;
19345
+ } else if (previousIndex > 0) {
19346
+ // if our boundary turned out to be rubbish, the captured lookbehind
19347
+ // belongs to partData
19348
+ const _lookbehind = new Uint8Array(lookbehind.buffer, lookbehind.byteOffset, lookbehind.byteLength);
19349
+ callback('onPartData', 0, previousIndex, _lookbehind);
19350
+ previousIndex = 0;
19351
+ mark('onPartData');
19352
+
19353
+ // reconsider the current character even so it interrupted the sequence
19354
+ // it could be the beginning of a new sequence
19355
+ i--;
19356
+ }
19357
+
19358
+ break;
19359
+ case S.END:
19360
+ break;
19361
+ default:
19362
+ throw new Error(`Unexpected state entered: ${state}`);
19363
+ }
19364
+ }
19365
+
19366
+ dataCallback('onHeaderField');
19367
+ dataCallback('onHeaderValue');
19368
+ dataCallback('onPartData');
19369
+
19370
+ // Update properties for the next call
19371
+ this.index = index;
19372
+ this.state = state;
19373
+ this.flags = flags;
19374
+ }
19375
+
19376
+ end() {
19377
+ if ((this.state === S.HEADER_FIELD_START && this.index === 0) ||
19378
+ (this.state === S.PART_DATA && this.index === this.boundary.length)) {
19379
+ this.onPartEnd();
19380
+ } else if (this.state !== S.END) {
19381
+ throw new Error('MultipartParser.end(): stream ended unexpectedly');
19382
+ }
19383
+ }
19384
+ }
19385
+
19386
+ function _fileName(headerValue) {
19387
+ // matches either a quoted-string or a token (RFC 2616 section 19.5.1)
19388
+ const m = headerValue.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
19389
+ if (!m) {
19390
+ return;
19391
+ }
19392
+
19393
+ const match = m[2] || m[3] || '';
19394
+ let filename = match.slice(match.lastIndexOf('\\') + 1);
19395
+ filename = filename.replace(/%22/g, '"');
19396
+ filename = filename.replace(/&#(\d{4});/g, (m, code) => {
19397
+ return String.fromCharCode(code);
19398
+ });
19399
+ return filename;
19400
+ }
19401
+
19402
+ async function toFormData(Body, ct) {
19403
+ if (!/multipart/i.test(ct)) {
19404
+ throw new TypeError('Failed to fetch');
19405
+ }
19406
+
19407
+ const m = ct.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
19408
+
19409
+ if (!m) {
19410
+ throw new TypeError('no or bad content-type header, no multipart boundary');
19411
+ }
19412
+
19413
+ const parser = new MultipartParser(m[1] || m[2]);
19414
+
19415
+ let headerField;
19416
+ let headerValue;
19417
+ let entryValue;
19418
+ let entryName;
19419
+ let contentType;
19420
+ let filename;
19421
+ const entryChunks = [];
19422
+ const formData = new formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__/* .FormData */ .Ct();
19423
+
19424
+ const onPartData = ui8a => {
19425
+ entryValue += decoder.decode(ui8a, {stream: true});
19426
+ };
19427
+
19428
+ const appendToFile = ui8a => {
19429
+ entryChunks.push(ui8a);
19430
+ };
19431
+
19432
+ const appendFileToFormData = () => {
19433
+ const file = new fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__/* .File */ .$B(entryChunks, filename, {type: contentType});
19434
+ formData.append(entryName, file);
19435
+ };
19436
+
19437
+ const appendEntryToFormData = () => {
19438
+ formData.append(entryName, entryValue);
19439
+ };
19440
+
19441
+ const decoder = new TextDecoder('utf-8');
19442
+ decoder.decode();
19443
+
19444
+ parser.onPartBegin = function () {
19445
+ parser.onPartData = onPartData;
19446
+ parser.onPartEnd = appendEntryToFormData;
19447
+
19448
+ headerField = '';
19449
+ headerValue = '';
19450
+ entryValue = '';
19451
+ entryName = '';
19452
+ contentType = '';
19453
+ filename = null;
19454
+ entryChunks.length = 0;
19455
+ };
19456
+
19457
+ parser.onHeaderField = function (ui8a) {
19458
+ headerField += decoder.decode(ui8a, {stream: true});
19459
+ };
19460
+
19461
+ parser.onHeaderValue = function (ui8a) {
19462
+ headerValue += decoder.decode(ui8a, {stream: true});
19463
+ };
19464
+
19465
+ parser.onHeaderEnd = function () {
19466
+ headerValue += decoder.decode();
19467
+ headerField = headerField.toLowerCase();
19468
+
19469
+ if (headerField === 'content-disposition') {
19470
+ // matches either a quoted-string or a token (RFC 2616 section 19.5.1)
19471
+ const m = headerValue.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);
19472
+
19473
+ if (m) {
19474
+ entryName = m[2] || m[3] || '';
19475
+ }
19476
+
19477
+ filename = _fileName(headerValue);
19478
+
19479
+ if (filename) {
19480
+ parser.onPartData = appendToFile;
19481
+ parser.onPartEnd = appendFileToFormData;
19482
+ }
19483
+ } else if (headerField === 'content-type') {
19484
+ contentType = headerValue;
19485
+ }
19486
+
19487
+ headerValue = '';
19488
+ headerField = '';
19489
+ };
19490
+
19491
+ for await (const chunk of Body) {
19492
+ parser.write(chunk);
19493
+ }
19494
+
19495
+ parser.end();
19496
+
19497
+ return formData;
19498
+ }
19499
+
19500
+
19107
19501
  /***/ })
19108
19502
 
19109
- /******/ });
19503
+ /******/ });
19110
19504
  /************************************************************************/
19111
- /******/ // The module cache
19112
- /******/ var __webpack_module_cache__ = {};
19113
- /******/
19114
- /******/ // The require function
19115
- /******/ function __webpack_require__(moduleId) {
19116
- /******/ // Check if module is in cache
19117
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
19118
- /******/ if (cachedModule !== undefined) {
19119
- /******/ return cachedModule.exports;
19120
- /******/ }
19121
- /******/ // Create a new module (and put it into the cache)
19122
- /******/ var module = __webpack_module_cache__[moduleId] = {
19123
- /******/ // no module.id needed
19124
- /******/ // no module.loaded needed
19125
- /******/ exports: {}
19126
- /******/ };
19127
- /******/
19128
- /******/ // Execute the module function
19129
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
19130
- /******/
19131
- /******/ // Return the exports of the module
19132
- /******/ return module.exports;
19505
+ /******/ // The module cache
19506
+ /******/ var __webpack_module_cache__ = {};
19507
+ /******/
19508
+ /******/ // The require function
19509
+ /******/ function __webpack_require__(moduleId) {
19510
+ /******/ // Check if module is in cache
19511
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
19512
+ /******/ if (cachedModule !== undefined) {
19513
+ /******/ return cachedModule.exports;
19133
19514
  /******/ }
19134
- /******/
19135
- /******/ // expose the modules object (__webpack_modules__)
19136
- /******/ __webpack_require__.m = __webpack_modules__;
19137
- /******/
19515
+ /******/ // Create a new module (and put it into the cache)
19516
+ /******/ var module = __webpack_module_cache__[moduleId] = {
19517
+ /******/ // no module.id needed
19518
+ /******/ // no module.loaded needed
19519
+ /******/ exports: {}
19520
+ /******/ };
19521
+ /******/
19522
+ /******/ // Execute the module function
19523
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
19524
+ /******/
19525
+ /******/ // Return the exports of the module
19526
+ /******/ return module.exports;
19527
+ /******/ }
19528
+ /******/
19138
19529
  /************************************************************************/
19139
- /******/ /* webpack/runtime/compat get default export */
19140
- /******/ (() => {
19141
- /******/ // getDefaultExport function for compatibility with non-harmony modules
19142
- /******/ __webpack_require__.n = (module) => {
19143
- /******/ var getter = module && module.__esModule ?
19144
- /******/ () => (module['default']) :
19145
- /******/ () => (module);
19146
- /******/ __webpack_require__.d(getter, { a: getter });
19147
- /******/ return getter;
19148
- /******/ };
19149
- /******/ })();
19150
- /******/
19151
- /******/ /* webpack/runtime/define property getters */
19152
- /******/ (() => {
19153
- /******/ // define getter functions for harmony exports
19154
- /******/ __webpack_require__.d = (exports, definition) => {
19155
- /******/ for(var key in definition) {
19156
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
19157
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
19158
- /******/ }
19159
- /******/ }
19160
- /******/ };
19161
- /******/ })();
19162
- /******/
19163
- /******/ /* webpack/runtime/ensure chunk */
19164
- /******/ (() => {
19165
- /******/ __webpack_require__.f = {};
19166
- /******/ // This file contains only the entry chunk.
19167
- /******/ // The chunk loading function for additional chunks
19168
- /******/ __webpack_require__.e = (chunkId) => {
19169
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
19170
- /******/ __webpack_require__.f[key](chunkId, promises);
19171
- /******/ return promises;
19172
- /******/ }, []));
19173
- /******/ };
19174
- /******/ })();
19175
- /******/
19176
- /******/ /* webpack/runtime/get javascript chunk filename */
19177
- /******/ (() => {
19178
- /******/ // This function allow to reference async chunks
19179
- /******/ __webpack_require__.u = (chunkId) => {
19180
- /******/ // return url for filenames based on template
19181
- /******/ return "" + chunkId + ".mixc-worker.node.mjs";
19182
- /******/ };
19183
- /******/ })();
19184
- /******/
19185
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
19186
- /******/ (() => {
19187
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
19188
- /******/ })();
19189
- /******/
19190
- /******/ /* webpack/runtime/make namespace object */
19191
- /******/ (() => {
19192
- /******/ // define __esModule on exports
19193
- /******/ __webpack_require__.r = (exports) => {
19194
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
19195
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
19530
+ /******/ /* webpack/runtime/compat get default export */
19531
+ /******/ (() => {
19532
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
19533
+ /******/ __webpack_require__.n = (module) => {
19534
+ /******/ var getter = module && module.__esModule ?
19535
+ /******/ () => (module['default']) :
19536
+ /******/ () => (module);
19537
+ /******/ __webpack_require__.d(getter, { a: getter });
19538
+ /******/ return getter;
19539
+ /******/ };
19540
+ /******/ })();
19541
+ /******/
19542
+ /******/ /* webpack/runtime/define property getters */
19543
+ /******/ (() => {
19544
+ /******/ // define getter functions for harmony exports
19545
+ /******/ __webpack_require__.d = (exports, definition) => {
19546
+ /******/ for(var key in definition) {
19547
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
19548
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
19196
19549
  /******/ }
19197
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
19198
- /******/ };
19199
- /******/ })();
19200
- /******/
19201
- /******/ /* webpack/runtime/publicPath */
19202
- /******/ (() => {
19203
- /******/ __webpack_require__.p = "file:///";
19204
- /******/ })();
19205
- /******/
19206
- /******/ /* webpack/runtime/require chunk loading */
19207
- /******/ (() => {
19208
- /******/ // no baseURI
19209
- /******/
19210
- /******/ // object to store loaded chunks
19211
- /******/ // "1" means "loaded", otherwise not loaded yet
19212
- /******/ var installedChunks = {
19213
- /******/ 179: 1
19214
- /******/ };
19215
- /******/
19216
- /******/ // no on chunks loaded
19217
- /******/
19218
- /******/ var installChunk = (chunk) => {
19219
- /******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
19220
- /******/ for(var moduleId in moreModules) {
19221
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
19222
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
19223
- /******/ }
19224
- /******/ }
19225
- /******/ if(runtime) runtime(__webpack_require__);
19226
- /******/ for(var i = 0; i < chunkIds.length; i++)
19227
- /******/ installedChunks[chunkIds[i]] = 1;
19228
- /******/
19229
- /******/ };
19230
- /******/
19231
- /******/ // require() chunk loading for javascript
19232
- /******/ __webpack_require__.f.require = (chunkId, promises) => {
19233
- /******/ // "1" is the signal for "already loaded"
19234
- /******/ if(!installedChunks[chunkId]) {
19235
- /******/ if(true) { // all chunks have JS
19236
- /******/ installChunk(require("./" + __webpack_require__.u(chunkId)));
19237
- /******/ } else installedChunks[chunkId] = 1;
19238
- /******/ }
19239
- /******/ };
19240
- /******/
19241
- /******/ // no external install chunk
19242
- /******/
19243
- /******/ // no HMR
19244
- /******/
19245
- /******/ // no HMR manifest
19246
- /******/ })();
19247
- /******/
19550
+ /******/ }
19551
+ /******/ };
19552
+ /******/ })();
19553
+ /******/
19554
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
19555
+ /******/ (() => {
19556
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
19557
+ /******/ })();
19558
+ /******/
19559
+ /******/ /* webpack/runtime/make namespace object */
19560
+ /******/ (() => {
19561
+ /******/ // define __esModule on exports
19562
+ /******/ __webpack_require__.r = (exports) => {
19563
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
19564
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
19565
+ /******/ }
19566
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
19567
+ /******/ };
19568
+ /******/ })();
19569
+ /******/
19570
+ /******/ /* webpack/runtime/publicPath */
19571
+ /******/ (() => {
19572
+ /******/ __webpack_require__.p = "file:///";
19573
+ /******/ })();
19574
+ /******/
19248
19575
  /************************************************************************/
19249
19576
  var __webpack_exports__ = {};
19250
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
19577
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
19251
19578
  (() => {
19252
- "use strict";
19253
19579
 
19254
19580
  ;// CONCATENATED MODULE: external "node:http"
19255
- const external_node_http_namespaceObject = require("node:http");
19581
+ const external_node_http_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:http");
19256
19582
  ;// CONCATENATED MODULE: external "node:https"
19257
- const external_node_https_namespaceObject = require("node:https");
19583
+ const external_node_https_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:https");
19258
19584
  ;// CONCATENATED MODULE: external "node:zlib"
19259
- const external_node_zlib_namespaceObject = require("node:zlib");
19585
+ const external_node_zlib_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:zlib");
19260
19586
  ;// CONCATENATED MODULE: external "node:stream"
19261
- const external_node_stream_namespaceObject = require("node:stream");
19587
+ const external_node_stream_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream");
19262
19588
  ;// CONCATENATED MODULE: external "node:buffer"
19263
- const external_node_buffer_namespaceObject = require("node:buffer");
19589
+ const external_node_buffer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:buffer");
19264
19590
  ;// CONCATENATED MODULE: ./node_modules/data-uri-to-buffer/dist/index.js
19265
19591
  /* provided dependency */ var Buffer = __webpack_require__(4721)["lW"];
19266
19592
  /**
@@ -19317,7 +19643,7 @@ function dataUriToBuffer(uri) {
19317
19643
  /* harmony default export */ const dist = (dataUriToBuffer);
19318
19644
  //# sourceMappingURL=index.js.map
19319
19645
  ;// CONCATENATED MODULE: external "node:util"
19320
- const external_node_util_namespaceObject = require("node:util");
19646
+ const external_node_util_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:util");
19321
19647
  // EXTERNAL MODULE: ./node_modules/fetch-blob/index.js
19322
19648
  var fetch_blob = __webpack_require__(8073);
19323
19649
  // EXTERNAL MODULE: ./node_modules/formdata-polyfill/esm.min.js
@@ -19582,7 +19908,7 @@ class Body {
19582
19908
  return formData;
19583
19909
  }
19584
19910
 
19585
- const {toFormData} = await __webpack_require__.e(/* import() */ 941).then(__webpack_require__.bind(__webpack_require__, 941));
19911
+ const {toFormData} = await Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 941));
19586
19912
  return toFormData(this.body, ct);
19587
19913
  }
19588
19914
 
@@ -20283,7 +20609,7 @@ Object.defineProperties(Response.prototype, {
20283
20609
  });
20284
20610
 
20285
20611
  ;// CONCATENATED MODULE: external "node:url"
20286
- const external_node_url_namespaceObject = require("node:url");
20612
+ const external_node_url_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:url");
20287
20613
  ;// CONCATENATED MODULE: ./node_modules/node-fetch/src/utils/get-search.js
20288
20614
  const getSearch = parsedURL => {
20289
20615
  if (parsedURL.search) {
@@ -20296,7 +20622,7 @@ const getSearch = parsedURL => {
20296
20622
  };
20297
20623
 
20298
20624
  ;// CONCATENATED MODULE: external "node:net"
20299
- const external_node_net_namespaceObject = require("node:net");
20625
+ const external_node_net_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:net");
20300
20626
  ;// CONCATENATED MODULE: ./node_modules/node-fetch/src/utils/referrer.js
20301
20627
 
20302
20628
 
@@ -21384,7 +21710,7 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
21384
21710
  }
21385
21711
 
21386
21712
  ;// CONCATENATED MODULE: external "fs"
21387
- const external_fs_namespaceObject = require("fs");
21713
+ const external_fs_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs");
21388
21714
  var external_fs_default = /*#__PURE__*/__webpack_require__.n(external_fs_namespaceObject);
21389
21715
  // EXTERNAL MODULE: ./node_modules/@remix_labs/web-worker-onlymain/node.js
21390
21716
  var node = __webpack_require__(9875);
@@ -21953,7 +22279,8 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(wasi_js_dist);
21953
22279
  var browser = __webpack_require__(7986);
21954
22280
  var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
21955
22281
  ;// CONCATENATED MODULE: ./protoquery_build.js
21956
- var PROTOQUERY_WASM_BUILD = "6479";
22282
+ var PROTOQUERY_WASM_BUILD = "6481";
22283
+ var PROTOQUERY_STDLIB_ID = "stdlib-1@9ed64467c56f57445e4eeb77c7d24d06";
21957
22284
 
21958
22285
 
21959
22286
  ;// CONCATENATED MODULE: ./node_modules/wasm-feature-detect/dist/esm/index.js
@@ -22068,7 +22395,7 @@ async function configure(msg) {
22068
22395
  globalThis.compilerIdMap = new Map();
22069
22396
  await start_compiler();
22070
22397
  sub_sessionless(); // no await
22071
- let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true, hello: "hi" });
22398
+ let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true, stdlib: PROTOQUERY_STDLIB_ID, hello: "hi" });
22072
22399
  let retained = true;
22073
22400
  await globalThis.hub.publish("/org/" + globalThis.config.org + "/ws/" + globalThis.config.workspace + "/mixc/announce", announcement, retained);
22074
22401
  }
@@ -22417,7 +22744,7 @@ async function instantiate(wasm_mod) {
22417
22744
  async function start_compiler() {
22418
22745
  let has_eh = await exceptions();
22419
22746
  let has_tl = await tailCall();
22420
- if (self.navigator.userAgent.includes('AppleWebKit') && !self.navigator.userAgent.includes('Chrome')) {
22747
+ if (typeof self.navigator !== 'undefined' && self.navigator.userAgent && self.navigator.userAgent.includes('AppleWebKit') && !self.navigator.userAgent.includes('Chrome')) {
22421
22748
  // Safari is buggy, fall back to the basic version for now:
22422
22749
  has_tl = false;
22423
22750
  };
@@ -22558,5 +22885,3 @@ external_worker_threads_.parentPort.on('message', (e) => {
22558
22885
 
22559
22886
  })();
22560
22887
 
22561
- /******/ })()
22562
- ;
@@ -24235,7 +24235,8 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
24235
24235
  var browser = __webpack_require__(7986);
24236
24236
  var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
24237
24237
  ;// CONCATENATED MODULE: ./protoquery_build.js
24238
- var PROTOQUERY_WASM_BUILD = "6479";
24238
+ var PROTOQUERY_WASM_BUILD = "6481";
24239
+ var PROTOQUERY_STDLIB_ID = "stdlib-1@9ed64467c56f57445e4eeb77c7d24d06";
24239
24240
 
24240
24241
 
24241
24242
  ;// CONCATENATED MODULE: ./node_modules/wasm-feature-detect/dist/esm/index.js
@@ -24331,7 +24332,7 @@ async function configure(msg) {
24331
24332
  globalThis.compilerIdMap = new Map();
24332
24333
  await start_compiler();
24333
24334
  sub_sessionless(); // no await
24334
- let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true, hello: "hi" });
24335
+ let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true, stdlib: PROTOQUERY_STDLIB_ID, hello: "hi" });
24335
24336
  let retained = true;
24336
24337
  await globalThis.hub.publish("/org/" + globalThis.config.org + "/ws/" + globalThis.config.workspace + "/mixc/announce", announcement, retained);
24337
24338
  }
@@ -24680,7 +24681,7 @@ async function instantiate(wasm_mod) {
24680
24681
  async function start_compiler() {
24681
24682
  let has_eh = await exceptions();
24682
24683
  let has_tl = await tailCall();
24683
- if (self.navigator.userAgent.includes('AppleWebKit') && !self.navigator.userAgent.includes('Chrome')) {
24684
+ if (typeof self.navigator !== 'undefined' && self.navigator.userAgent && self.navigator.userAgent.includes('AppleWebKit') && !self.navigator.userAgent.includes('Chrome')) {
24684
24685
  // Safari is buggy, fall back to the basic version for now:
24685
24686
  has_tl = false;
24686
24687
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix_labs/mixc-starter",
3
- "version": "2.6479.0-dev",
3
+ "version": "2.6481.0-dev",
4
4
  "description": "start the compiler in a web worker",
5
5
  "main": "node.js",
6
6
  "browser": "index.js",
@@ -1,3 +1,3 @@
1
- var PROTOQUERY_BUILD = "29625";
2
- var PROTOQUERY_WASM_BUILD = "6479";
1
+ var PROTOQUERY_BUILD = "29636";
2
+ var PROTOQUERY_WASM_BUILD = "6481";
3
3
  export { PROTOQUERY_BUILD, PROTOQUERY_WASM_BUILD }