tempest.games 0.2.73 → 0.2.74

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.
@@ -160,9 +160,6 @@ function getState(...params) {
160
160
  function join(options) {
161
161
  return createJoin(IMPLICIT.STORE, options);
162
162
  }
163
- function getInternalRelations(token) {
164
- return getInternalRelationsFromStore(token, IMPLICIT.STORE);
165
- }
166
163
  var PRETTY_TOKEN_TYPES = {
167
164
  atom_family: `atom family`,
168
165
  atom: `atom`,
@@ -232,28 +229,9 @@ var $validatedKey = Symbol.for(`claim`);
232
229
  function simpleCompound(a, b) {
233
230
  return [a, b].sort().join(`\x1F`);
234
231
  }
235
- function decomposeCompound(compound) {
236
- if (typeof compound === `string` === false)
237
- return null;
238
- const [typeTag, components] = compound.split(`==`);
239
- if (!components)
240
- return null;
241
- const type = typeTag.slice(4);
242
- const [a, b] = components.split(`++`);
243
- if (type && a && b)
244
- return [
245
- type,
246
- a,
247
- b
248
- ];
249
- return null;
250
- }
251
232
  function selectorFamily(options) {
252
233
  return createSelectorFamily(IMPLICIT.STORE, options);
253
234
  }
254
- function transaction(options) {
255
- return createTransaction(IMPLICIT.STORE, options);
256
- }
257
235
 
258
236
  // ../../packages/atom.io/dist/json/index.js
259
237
  function parseJson(str) {
@@ -418,9 +396,6 @@ var UList = class UList2 extends Set {
418
396
  };
419
397
 
420
398
  // ../../packages/atom.io/dist/internal/index.js
421
- function arbitrary(random = Math.random) {
422
- return random().toString(36).slice(2);
423
- }
424
399
  function newest(scion) {
425
400
  while (scion.child !== null)
426
401
  scion = scion.child;
@@ -1012,426 +987,12 @@ var Junction = class Junction2 {
1012
987
  function isReservedIntrospectionKey(value) {
1013
988
  return value.startsWith(`\uD83D\uDD0D `);
1014
989
  }
1015
- var abortTransaction = (target) => {
1016
- target.logger.info(`\uD83E\uDE82`, `transaction`, target.transactionMeta.update.token.key, `Aborting transaction`);
1017
- target.parent.child = null;
1018
- };
1019
- function actUponStore(store, token, id) {
1020
- return (...parameters) => {
1021
- return withdraw(store, token).run(parameters, id);
1022
- };
1023
- }
1024
- function ingestAtomUpdateEvent(store, event, applying) {
1025
- const { token, update: { newValue, oldValue } } = event;
1026
- setIntoStore(store, token, applying === `newValue` ? newValue : oldValue);
1027
- }
1028
- function getTrace(error) {
1029
- const { stack } = error;
1030
- if (stack)
1031
- return `
1032
- ` + stack.split(`
1033
- `)?.slice(1)?.join(`
1034
- `);
1035
- return ``;
1036
- }
1037
- function allocateIntoStore(store, provenance, key, dependsOn = `any`) {
1038
- const origin = provenance;
1039
- const stringKey = stringifyJson(key);
1040
- const invalidKeys = [];
1041
- const target = newest(store);
1042
- if (Array.isArray(origin))
1043
- for (const formerClaim of origin) {
1044
- const claimString = stringifyJson(formerClaim);
1045
- if (target.molecules.get(claimString))
1046
- store.moleculeGraph.set(claimString, stringKey, { source: claimString });
1047
- else
1048
- invalidKeys.push(claimString);
1049
- }
1050
- else {
1051
- const claimString = stringifyJson(origin);
1052
- if (target.molecules.get(claimString))
1053
- store.moleculeGraph.set(claimString, stringKey, { source: claimString });
1054
- else
1055
- invalidKeys.push(claimString);
1056
- }
1057
- const subject = new Subject;
1058
- if (invalidKeys.length === 0)
1059
- target.molecules.set(stringKey, {
1060
- key,
1061
- stringKey,
1062
- dependsOn,
1063
- subject
1064
- });
1065
- const creationEvent = {
1066
- type: `molecule_creation`,
1067
- key,
1068
- provenance: origin,
1069
- timestamp: Date.now()
1070
- };
1071
- if (isChildStore(target) && target.transactionMeta.phase === `building`)
1072
- target.transactionMeta.update.subEvents.push(creationEvent);
1073
- else
1074
- target.on.moleculeCreation.next(creationEvent);
1075
- for (const claim of invalidKeys) {
1076
- const disposal = store.disposalTraces.buffer.find((item) => item?.key === claim);
1077
- store.logger.error(`\u274C`, `key`, key, `allocation failed:`, `Could not allocate to ${claim} in store "${store.config.name}".`, disposal ? `
1078
- ${claim} was most recently disposed
1079
- ${disposal.trace}` : `No previous disposal trace for ${claim} was found.`);
1080
- }
1081
- return key;
1082
- }
1083
- function deallocateFromStore(target, claim) {
1084
- const stringKey = stringifyJson(claim);
1085
- const molecule = target.molecules.get(stringKey);
1086
- if (!molecule) {
1087
- const disposal = target.disposalTraces.buffer.find((item) => item?.key === stringKey);
1088
- target.logger.error(`\u274C`, `key`, claim, `deallocation failed:`, `Could not find allocation for ${stringKey} in store "${target.config.name}".`, disposal ? `
1089
- This state was most recently deallocated
1090
- ${disposal.trace}` : `No previous disposal trace for ${stringKey} was found.`);
1091
- return;
1092
- }
1093
- molecule.subject.next();
1094
- const joinKeys = target.keyRefsInJoins.getRelatedKeys(stringKey);
1095
- if (joinKeys)
1096
- for (const joinKey of joinKeys) {
1097
- const join$1 = target.joins.get(joinKey);
1098
- if (join$1)
1099
- join$1.relations.delete(claim);
1100
- }
1101
- else {
1102
- const compound = decomposeCompound(claim);
1103
- if (compound) {
1104
- const [, a, b] = compound;
1105
- const joinKey = target.keyRefsInJoins.getRelatedKey(simpleCompound(a, b));
1106
- if (joinKey) {
1107
- const join$1 = target.joins.get(joinKey);
1108
- if (join$1)
1109
- join$1.relations.delete(a, b);
1110
- }
1111
- }
1112
- }
1113
- target.keyRefsInJoins.delete(stringKey);
1114
- const provenance = [];
1115
- const values = [];
1116
- const relatedMolecules = target.moleculeGraph.getRelationEntries({ downstreamMoleculeKey: stringKey });
1117
- if (relatedMolecules)
1118
- for (const [relatedStringKey, { source }] of relatedMolecules)
1119
- if (source === stringKey)
1120
- deallocateFromStore(target, parseJson(relatedStringKey));
1121
- else
1122
- provenance.push(source);
1123
- const familyKeys = target.moleculeData.getRelatedKeys(molecule.stringKey);
1124
- if (familyKeys)
1125
- for (const familyKey of familyKeys) {
1126
- const family = target.families.get(familyKey);
1127
- const value = getFromStore(target, family, claim);
1128
- values.push([family.key, value]);
1129
- disposeFromStore(target, family, claim);
1130
- }
1131
- const disposalEvent = {
1132
- type: `molecule_disposal`,
1133
- key: molecule.key,
1134
- values,
1135
- provenance,
1136
- timestamp: Date.now()
1137
- };
1138
- target.molecules.delete(stringKey);
1139
- const isTransaction = isChildStore(target) && target.transactionMeta.phase === `building`;
1140
- if (isTransaction)
1141
- target.transactionMeta.update.subEvents.push(disposalEvent);
1142
- target.moleculeGraph.delete(molecule.stringKey);
1143
- target.keyRefsInJoins.delete(molecule.stringKey);
1144
- target.moleculeData.delete(molecule.stringKey);
1145
- if (!isTransaction)
1146
- target.on.moleculeDisposal.next(disposalEvent);
1147
- target.molecules.delete(molecule.stringKey);
1148
- const trace = getTrace(/* @__PURE__ */ new Error);
1149
- target.disposalTraces.add({
1150
- key: stringKey,
1151
- trace
1152
- });
1153
- }
1154
- function claimWithinStore(store, newProvenance, claim, exclusive) {
1155
- const stringKey = stringifyJson(claim);
1156
- const target = newest(store);
1157
- const molecule = target.molecules.get(stringKey);
1158
- if (!molecule) {
1159
- const disposal = store.disposalTraces.buffer.find((item) => item?.key === stringKey);
1160
- store.logger.error(`\u274C`, `key`, stringKey, `claim failed:`, `Could not allocate to ${stringKey} in store "${store.config.name}".`, disposal ? `
1161
- ${stringKey} was most recently disposed
1162
- ${disposal.trace}` : `No previous disposal trace for ${stringKey} was found.`);
1163
- return claim;
1164
- }
1165
- const newProvenanceKey = stringifyJson(newProvenance);
1166
- const newProvenanceMolecule = target.molecules.get(newProvenanceKey);
1167
- if (!newProvenanceMolecule) {
1168
- const disposal = store.disposalTraces.buffer.find((item) => item?.key === newProvenanceKey);
1169
- store.logger.error(`\u274C`, `key`, claim, `claim failed:`, `Could not allocate to ${newProvenanceKey} in store "${store.config.name}".`, disposal ? `
1170
- ${newProvenanceKey} was most recently disposed
1171
- ${disposal.trace}` : `No previous disposal trace for ${newProvenanceKey} was found.`);
1172
- return claim;
1173
- }
1174
- const priorProvenance = store.moleculeGraph.getRelationEntries({ downstreamMoleculeKey: molecule.stringKey }).filter(([, { source }]) => source !== stringKey).map(([key]) => parseJson(key));
1175
- if (exclusive)
1176
- target.moleculeGraph.delete(stringKey);
1177
- target.moleculeGraph.set({
1178
- upstreamMoleculeKey: newProvenanceMolecule.stringKey,
1179
- downstreamMoleculeKey: molecule.stringKey
1180
- }, { source: newProvenanceMolecule.stringKey });
1181
- const transferEvent = {
1182
- type: `molecule_transfer`,
1183
- key: molecule.key,
1184
- exclusive: Boolean(exclusive),
1185
- from: priorProvenance,
1186
- to: [newProvenanceMolecule.key],
1187
- timestamp: Date.now()
1188
- };
1189
- if (isChildStore(target) && target.transactionMeta.phase === `building`)
1190
- target.transactionMeta.update.subEvents.push(transferEvent);
1191
- return claim;
1192
- }
1193
- function ingestCreationEvent(store, event, applying) {
1194
- switch (applying) {
1195
- case `newValue`:
1196
- createInStore(store, event);
1197
- break;
1198
- case `oldValue`:
1199
- disposeFromStore(store, event.token);
1200
- break;
1201
- }
1202
- }
1203
- function ingestDisposalEvent(store, event, applying) {
1204
- switch (applying) {
1205
- case `newValue`:
1206
- disposeFromStore(store, event.token);
1207
- break;
1208
- case `oldValue`:
1209
- createInStore(store, event);
1210
- if (event.subType === `atom`)
1211
- store.valueMap.set(event.token.key, event.value);
1212
- break;
1213
- }
1214
- }
1215
- function createInStore(store, event) {
1216
- const { token } = event;
1217
- if (event.subType === `writable` && event.value)
1218
- setIntoStore(store, token, event.value);
1219
- else
1220
- getFromStore(store, token);
1221
- }
1222
- function ingestMoleculeCreationEvent(store, event, applying) {
1223
- switch (applying) {
1224
- case `newValue`:
1225
- allocateIntoStore(store, event.provenance, event.key);
1226
- break;
1227
- case `oldValue`:
1228
- deallocateFromStore(store, event.key);
1229
- break;
1230
- }
1231
- }
1232
- function ingestMoleculeDisposalEvent(store, event, applying) {
1233
- switch (applying) {
1234
- case `newValue`:
1235
- deallocateFromStore(store, event.key);
1236
- break;
1237
- case `oldValue`:
1238
- allocateIntoStore(store, event.provenance.map(parseJson), event.key);
1239
- for (const [familyKey, value] of event.values) {
1240
- const family = store.families.get(familyKey);
1241
- if (family) {
1242
- getFromStore(store, family, event.key);
1243
- const memberKey = `${familyKey}(${stringifyJson(event.key)})`;
1244
- store.valueMap.set(memberKey, value);
1245
- }
1246
- }
1247
- break;
1248
- }
1249
- }
1250
- function ingestMoleculeTransferEvent(store, event, applying) {
1251
- switch (applying) {
1252
- case `newValue`:
1253
- for (const newOwner of event.to)
1254
- claimWithinStore(store, newOwner, event.key, event.exclusive ? `exclusive` : undefined);
1255
- break;
1256
- case `oldValue`:
1257
- {
1258
- let exclusivity = `exclusive`;
1259
- for (const previousOwner of event.from) {
1260
- claimWithinStore(store, previousOwner, event.key, exclusivity);
1261
- exclusivity = undefined;
1262
- }
1263
- }
1264
- break;
1265
- }
1266
- }
1267
- function ingestTransactionOutcomeEvent(store, event, applying) {
1268
- const subEvents = applying === `newValue` ? event.subEvents : [...event.subEvents].reverse();
1269
- for (const subEvent of subEvents)
1270
- switch (subEvent.type) {
1271
- case `atom_update`:
1272
- ingestAtomUpdateEvent(store, subEvent, applying);
1273
- break;
1274
- case `state_creation`:
1275
- ingestCreationEvent(store, subEvent, applying);
1276
- break;
1277
- case `state_disposal`:
1278
- ingestDisposalEvent(store, subEvent, applying);
1279
- break;
1280
- case `molecule_creation`:
1281
- ingestMoleculeCreationEvent(store, subEvent, applying);
1282
- break;
1283
- case `molecule_disposal`:
1284
- ingestMoleculeDisposalEvent(store, subEvent, applying);
1285
- break;
1286
- case `molecule_transfer`:
1287
- ingestMoleculeTransferEvent(store, subEvent, applying);
1288
- break;
1289
- case `transaction_outcome`:
1290
- ingestTransactionOutcomeEvent(store, subEvent, applying);
1291
- break;
1292
- }
1293
- }
1294
990
  function isRootStore(store) {
1295
991
  return `epoch` in store.transactionMeta;
1296
992
  }
1297
993
  function isChildStore(store) {
1298
994
  return `phase` in store.transactionMeta;
1299
995
  }
1300
- function getContinuityKey(store, transactionKey) {
1301
- return store.transactionMeta.actionContinuities.getRelatedKey(transactionKey);
1302
- }
1303
- function getEpochNumberOfContinuity(store, continuityKey) {
1304
- return store.transactionMeta.epoch.get(continuityKey);
1305
- }
1306
- function getEpochNumberOfAction(store, transactionKey) {
1307
- const continuityKey = getContinuityKey(store, transactionKey);
1308
- if (continuityKey === undefined)
1309
- return;
1310
- return getEpochNumberOfContinuity(store, continuityKey);
1311
- }
1312
- function setEpochNumberOfAction(store, transactionKey, newEpoch) {
1313
- const continuityKey = getContinuityKey(store, transactionKey);
1314
- if (continuityKey !== undefined)
1315
- store.transactionMeta.epoch.set(continuityKey, newEpoch);
1316
- }
1317
- function applyTransaction(store, output) {
1318
- const child = newest(store);
1319
- const { parent } = child;
1320
- child.transactionMeta.phase = `applying`;
1321
- child.transactionMeta.update.output = output;
1322
- parent.child = null;
1323
- parent.on.transactionApplying.next(child.transactionMeta);
1324
- const { subEvents: updates } = child.transactionMeta.update;
1325
- store.logger.info(`\uD83D\uDEC4`, `transaction`, child.transactionMeta.update.token.key, `applying ${updates.length} subEvents:`, updates);
1326
- ingestTransactionOutcomeEvent(parent, child.transactionMeta.update, `newValue`);
1327
- if (isRootStore(parent)) {
1328
- setEpochNumberOfAction(parent, child.transactionMeta.update.token.key, child.transactionMeta.update.epoch);
1329
- withdraw(store, {
1330
- key: child.transactionMeta.update.token.key,
1331
- type: `transaction`
1332
- })?.subject.next(child.transactionMeta.update);
1333
- store.logger.info(`\uD83D\uDEEC`, `transaction`, child.transactionMeta.update.token.key, `applied`);
1334
- } else if (isChildStore(parent))
1335
- parent.transactionMeta.update.subEvents.push(child.transactionMeta.update);
1336
- parent.on.transactionApplying.next(null);
1337
- }
1338
- function getEnvironmentData(store) {
1339
- return { store };
1340
- }
1341
- var buildTransaction = (store, token, params, id) => {
1342
- const parent = newest(store);
1343
- const childBase = {
1344
- parent,
1345
- child: null,
1346
- on: parent.on,
1347
- loggers: parent.loggers,
1348
- logger: parent.logger,
1349
- config: parent.config,
1350
- atoms: new MapOverlay(parent.atoms),
1351
- atomsThatAreDefault: new Set(parent.atomsThatAreDefault),
1352
- families: new MapOverlay(parent.families),
1353
- joins: new MapOverlay(parent.joins),
1354
- operation: { open: false },
1355
- readonlySelectors: new MapOverlay(parent.readonlySelectors),
1356
- timelines: new MapOverlay(parent.timelines),
1357
- timelineTopics: parent.timelineTopics.overlay(),
1358
- trackers: /* @__PURE__ */ new Map,
1359
- transactions: new MapOverlay(parent.transactions),
1360
- selectorAtoms: parent.selectorAtoms.overlay(),
1361
- selectorGraph: parent.selectorGraph.overlay(),
1362
- writableSelectors: new MapOverlay(parent.writableSelectors),
1363
- valueMap: new MapOverlay(parent.valueMap),
1364
- defaults: parent.defaults,
1365
- disposalTraces: store.disposalTraces.copy(),
1366
- molecules: new MapOverlay(parent.molecules),
1367
- moleculeGraph: parent.moleculeGraph.overlay(),
1368
- moleculeData: parent.moleculeData.overlay(),
1369
- keyRefsInJoins: parent.keyRefsInJoins.overlay(),
1370
- miscResources: new MapOverlay(parent.miscResources)
1371
- };
1372
- const epoch = getEpochNumberOfAction(store, token.key);
1373
- const transactionMeta = {
1374
- phase: `building`,
1375
- update: {
1376
- type: `transaction_outcome`,
1377
- token,
1378
- id,
1379
- epoch: epoch === undefined ? NaN : epoch + 1,
1380
- timestamp: Date.now(),
1381
- subEvents: [],
1382
- params,
1383
- output: undefined
1384
- },
1385
- toolkit: {
1386
- get: (...ps) => getFromStore(child, ...ps),
1387
- set: (...ps) => {
1388
- setIntoStore(child, ...ps);
1389
- },
1390
- reset: (...ps) => {
1391
- resetInStore(child, ...ps);
1392
- },
1393
- run: (t, identifier = arbitrary()) => actUponStore(child, t, identifier),
1394
- find: (...ps) => findInStore(store, ...ps),
1395
- json: (t) => getJsonToken(child, t),
1396
- dispose: (...ps) => {
1397
- disposeFromStore(child, ...ps);
1398
- },
1399
- env: () => getEnvironmentData(child)
1400
- }
1401
- };
1402
- const child = Object.assign(childBase, { transactionMeta });
1403
- parent.child = child;
1404
- store.logger.info(`\uD83D\uDEEB`, `transaction`, token.key, `building with params:`, params);
1405
- return child;
1406
- };
1407
- function createTransaction(store, options) {
1408
- const { key } = options;
1409
- const transactionAlreadyExists = store.transactions.has(key);
1410
- const newTransaction = {
1411
- key,
1412
- type: `transaction`,
1413
- run: (params, id) => {
1414
- const target = buildTransaction(store, deposit(newTransaction), params, id);
1415
- try {
1416
- const { toolkit } = target.transactionMeta;
1417
- const output = options.do(toolkit, ...params);
1418
- applyTransaction(target, output);
1419
- return output;
1420
- } catch (thrown) {
1421
- abortTransaction(target);
1422
- store.logger.warn(`\uD83D\uDCA5`, `transaction`, key, `caught:`, thrown);
1423
- throw thrown;
1424
- }
1425
- },
1426
- install: (s) => createTransaction(s, options),
1427
- subject: new Subject
1428
- };
1429
- newest(store).transactions.set(key, newTransaction);
1430
- const token = deposit(newTransaction);
1431
- if (!transactionAlreadyExists)
1432
- store.on.transactionCreation.next(token);
1433
- return token;
1434
- }
1435
996
  var Store = class {
1436
997
  parent = null;
1437
998
  child = null;
@@ -2109,34 +1670,6 @@ function createSelectorFamily(store, options) {
2109
1670
  return createWritablePureSelectorFamily(store, options);
2110
1671
  return createReadonlyPureSelectorFamily(store, options);
2111
1672
  }
2112
- function disposeFromStore(store, ...params) {
2113
- let token;
2114
- if (params.length === 1)
2115
- token = params[0];
2116
- else {
2117
- const family = params[0];
2118
- const key = params[1];
2119
- token = findInStore(store, family, key);
2120
- }
2121
- try {
2122
- withdraw(store, token);
2123
- } catch (_) {
2124
- store.logger.error(`\u274C`, token.type, token.key, `could not be disposed because it was not found in the store "${store.config.name}".`);
2125
- return;
2126
- }
2127
- switch (token.type) {
2128
- case `atom`:
2129
- case `mutable_atom`:
2130
- disposeAtom(store, token);
2131
- break;
2132
- case `writable_pure_selector`:
2133
- case `readonly_pure_selector`:
2134
- case `writable_held_selector`:
2135
- case `readonly_held_selector`:
2136
- disposeSelector(store, token);
2137
- break;
2138
- }
2139
- }
2140
1673
  function openOperation(store, token) {
2141
1674
  if (store.operation.open) {
2142
1675
  const rejectionTime = performance.now();
@@ -2706,85 +2239,6 @@ function createStandaloneSelector(store, options) {
2706
2239
  store.on.selectorCreation.next(state);
2707
2240
  return state;
2708
2241
  }
2709
- function disposeSelector(store, selectorToken) {
2710
- const target = newest(store);
2711
- const { key, type, family: familyMeta } = selectorToken;
2712
- if (!familyMeta)
2713
- store.logger.error(`\u274C`, type, key, `Standalone selectors cannot be disposed.`);
2714
- else {
2715
- if (target.molecules.get(familyMeta.subKey))
2716
- target.moleculeData.delete(familyMeta.subKey, familyMeta.key);
2717
- let familyToken;
2718
- switch (selectorToken.type) {
2719
- case `writable_held_selector`:
2720
- target.writableSelectors.delete(key);
2721
- familyToken = {
2722
- key: familyMeta.key,
2723
- type: `writable_held_selector_family`
2724
- };
2725
- withdraw(store, familyToken).subject.next({
2726
- type: `state_disposal`,
2727
- subType: `selector`,
2728
- token: selectorToken,
2729
- timestamp: Date.now()
2730
- });
2731
- break;
2732
- case `writable_pure_selector`:
2733
- target.writableSelectors.delete(key);
2734
- familyToken = {
2735
- key: familyMeta.key,
2736
- type: `writable_pure_selector_family`
2737
- };
2738
- withdraw(store, familyToken).subject.next({
2739
- type: `state_disposal`,
2740
- subType: `selector`,
2741
- token: selectorToken,
2742
- timestamp: Date.now()
2743
- });
2744
- break;
2745
- case `readonly_held_selector`:
2746
- target.readonlySelectors.delete(key);
2747
- familyToken = {
2748
- key: familyMeta.key,
2749
- type: `readonly_held_selector_family`
2750
- };
2751
- withdraw(store, familyToken).subject.next({
2752
- type: `state_disposal`,
2753
- subType: `selector`,
2754
- token: selectorToken,
2755
- timestamp: Date.now()
2756
- });
2757
- break;
2758
- case `readonly_pure_selector`:
2759
- target.readonlySelectors.delete(key);
2760
- familyToken = {
2761
- key: familyMeta.key,
2762
- type: `readonly_pure_selector_family`
2763
- };
2764
- withdraw(store, familyToken).subject.next({
2765
- type: `state_disposal`,
2766
- subType: `selector`,
2767
- token: selectorToken,
2768
- timestamp: Date.now()
2769
- });
2770
- break;
2771
- }
2772
- target.valueMap.delete(key);
2773
- target.selectorAtoms.delete(key);
2774
- target.selectorGraph.delete(key);
2775
- target.moleculeData.delete(familyMeta.key, familyMeta.subKey);
2776
- store.logger.info(`\uD83D\uDD25`, selectorToken.type, key, `deleted`);
2777
- if (isChildStore(target) && target.transactionMeta.phase === `building`)
2778
- target.transactionMeta.update.subEvents.push({
2779
- type: `state_disposal`,
2780
- subType: `selector`,
2781
- token: selectorToken,
2782
- timestamp: Date.now()
2783
- });
2784
- else
2785
- store.on.selectorDisposal.next(selectorToken);
2786
- }
2787
- }
2788
2242
  var recallState = (store, state) => {
2789
2243
  const target = newest(store);
2790
2244
  if (target.operation.open)
@@ -3259,46 +2713,6 @@ function hasRole(atom, role) {
3259
2713
  return false;
3260
2714
  return atom.internalRoles.includes(role);
3261
2715
  }
3262
- function disposeAtom(store, atomToken) {
3263
- const target = newest(store);
3264
- const { key, family } = atomToken;
3265
- const atom = withdraw(target, atomToken);
3266
- if (!family)
3267
- store.logger.error(`\u274C`, `atom`, key, `Standalone atoms cannot be disposed.`);
3268
- else {
3269
- atom.cleanup?.();
3270
- const lastValue = store.valueMap.get(atom.key);
3271
- const subject = withdraw(store, getFamilyOfToken(store, atomToken)).subject;
3272
- const disposalEvent = {
3273
- type: `state_disposal`,
3274
- subType: `atom`,
3275
- token: atomToken,
3276
- value: lastValue,
3277
- timestamp: Date.now()
3278
- };
3279
- subject.next(disposalEvent);
3280
- const isChild = isChildStore(target);
3281
- target.atoms.delete(key);
3282
- target.valueMap.delete(key);
3283
- target.selectorAtoms.delete(key);
3284
- target.atomsThatAreDefault.delete(key);
3285
- target.moleculeData.delete(family.key, family.subKey);
3286
- store.timelineTopics.delete(key);
3287
- if (atomToken.type === `mutable_atom`) {
3288
- disposeAtom(store, getUpdateToken(atomToken));
3289
- store.trackers.delete(key);
3290
- }
3291
- store.logger.info(`\uD83D\uDD25`, `atom`, key, `deleted`);
3292
- if (isChild && target.transactionMeta.phase === `building`) {
3293
- const mostRecentUpdate = target.transactionMeta.update.subEvents.at(-1);
3294
- const updateAlreadyCaptured = mostRecentUpdate?.type === `molecule_disposal` && mostRecentUpdate.values.some(([k]) => k === atom.family?.key);
3295
- const isTracker = hasRole(atom, `tracker:signal`);
3296
- if (!updateAlreadyCaptured && !isTracker)
3297
- target.transactionMeta.update.subEvents.push(disposalEvent);
3298
- } else
3299
- store.on.atomDisposal.next(atomToken);
3300
- }
3301
- }
3302
2716
  function capitalize(string) {
3303
2717
  return string[0].toUpperCase() + string.slice(1);
3304
2718
  }
@@ -3574,94 +2988,6 @@ function findRelationsInStore(token, key, store) {
3574
2988
  }
3575
2989
  return relations;
3576
2990
  }
3577
- function getInternalRelationsFromStore(token, store) {
3578
- return getJoin(token, store).relatedKeysAtoms;
3579
- }
3580
-
3581
- // ../../packages/atom.io/dist/realtime/index.js
3582
- var mutexAtoms = atomFamily({
3583
- key: `mutex`,
3584
- default: false
3585
- });
3586
- var InvariantMap = class extends Map {
3587
- set(key, value) {
3588
- if (this.has(key)) {
3589
- console.warn(`Tried to set a key that already exists in an InvariantMap`, {
3590
- key,
3591
- value
3592
- });
3593
- return this;
3594
- }
3595
- return super.set(key, value);
3596
- }
3597
- };
3598
- var SyncGroup = class SyncGroup2 {
3599
- type = `continuity`;
3600
- globals = [];
3601
- actions = [];
3602
- perspectives = [];
3603
- key;
3604
- constructor(key) {
3605
- this.key = key;
3606
- }
3607
- static existing = new InvariantMap;
3608
- static create(key, builder) {
3609
- const { type, globals, actions, perspectives } = builder(new SyncGroup2(key));
3610
- const token = {
3611
- type,
3612
- key,
3613
- globals,
3614
- actions,
3615
- perspectives
3616
- };
3617
- SyncGroup2.existing.set(key, token);
3618
- return token;
3619
- }
3620
- add(...args) {
3621
- switch (args[0].type) {
3622
- case `atom`:
3623
- case `mutable_atom`:
3624
- this.globals.push(...args);
3625
- break;
3626
- case `transaction`:
3627
- this.actions.push(...args);
3628
- break;
3629
- case `atom_family`:
3630
- case `mutable_atom_family`:
3631
- {
3632
- const [family, index] = args;
3633
- this.perspectives.push({
3634
- type: `realtime_perspective`,
3635
- resourceAtoms: family,
3636
- viewAtoms: index
3637
- });
3638
- }
3639
- break;
3640
- }
3641
- return this;
3642
- }
3643
- };
3644
- var usersInThisRoomIndex = mutableAtom({
3645
- key: `usersInRoomIndex`,
3646
- class: UList
3647
- });
3648
- var roomIndex = mutableAtom({
3649
- key: `roomIndex`,
3650
- class: UList
3651
- });
3652
- var usersInRooms = join({
3653
- key: `usersInRooms`,
3654
- between: [`room`, `user`],
3655
- cardinality: `1:n`,
3656
- isAType: (input) => typeof input === `string`,
3657
- isBType: (input) => typeof input === `string`
3658
- });
3659
- var usersInMyRoomView = selectorFamily({
3660
- key: `usersInMyRoomView`,
3661
- get: (myUsername) => ({ find }) => {
3662
- return [find(getInternalRelations(usersInRooms), myUsername)];
3663
- }
3664
- });
3665
2991
 
3666
2992
  // ../../packages/atom.io/dist/realtime-server/index.js
3667
2993
  var redactorAtoms = atomFamily({
@@ -4005,45 +3331,6 @@ var ParentSocket = class extends CustomSocket {
4005
3331
  this.relayServices.push(attachServices);
4006
3332
  }
4007
3333
  };
4008
- var ROOMS = /* @__PURE__ */ new Map;
4009
- var joinRoomTX = transaction({
4010
- key: `joinRoom`,
4011
- do: (tools, roomId, userId, enteredAtEpoch) => {
4012
- const meta = { enteredAtEpoch };
4013
- editRelationsInStore(usersInRooms, (relations) => {
4014
- relations.set({
4015
- room: roomId,
4016
- user: userId
4017
- });
4018
- }, tools.env().store);
4019
- return meta;
4020
- }
4021
- });
4022
- var leaveRoomTX = transaction({
4023
- key: `leaveRoom`,
4024
- do: ({ env }, roomId, userId) => {
4025
- editRelationsInStore(usersInRooms, (relations) => {
4026
- relations.delete({
4027
- room: roomId,
4028
- user: userId
4029
- });
4030
- }, env().store);
4031
- }
4032
- });
4033
- var destroyRoomTX = transaction({
4034
- key: `destroyRoom`,
4035
- do: ({ set, env }, roomId) => {
4036
- editRelationsInStore(usersInRooms, (relations) => {
4037
- relations.delete({ room: roomId });
4038
- }, env().store);
4039
- set(roomIndex, (s) => (s.delete(roomId), s));
4040
- const room = ROOMS.get(roomId);
4041
- if (room) {
4042
- room.emit(`exit`);
4043
- ROOMS.delete(roomId);
4044
- }
4045
- }
4046
- });
4047
3334
  var socketAtoms = atomFamily({
4048
3335
  key: `sockets`,
4049
3336
  default: null
@@ -16513,7 +15800,7 @@ function date4(params) {
16513
15800
 
16514
15801
  // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
16515
15802
  config(en_default());
16516
- // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__73b29889c45f77bc30b47e8fcb5e317c/node_modules/safegen/dist/safegen-Gbv-eM4i.js
15803
+ // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__d4eb07124fc3e01c89c3f276998341a3/node_modules/safegen/dist/safegen-Gbv-eM4i.js
16517
15804
  function createSafeDataGenerator(gen, logger) {
16518
15805
  return function generateFromSchema({ schema, fallback, toJsonSchema = exports_external.toJSONSchema }) {
16519
15806
  const jsonSchema = toJsonSchema(schema);
@@ -16545,7 +15832,7 @@ function jsonSchemaToInstruction(jsonSchema) {
16545
15832
  `);
16546
15833
  }
16547
15834
 
16548
- // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__73b29889c45f77bc30b47e8fcb5e317c/node_modules/safegen/dist/primitives-C7GLGurb.js
15835
+ // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__d4eb07124fc3e01c89c3f276998341a3/node_modules/safegen/dist/primitives-C7GLGurb.js
16549
15836
  function formatIssue(prompt, actual, issue2, consequence) {
16550
15837
  const lines = [
16551
15838
  `SafeGen saw that invalid data was produced for the prompt:`,
@@ -23688,7 +22975,7 @@ var _deployments_endpoints = new Set([
23688
22975
  "/batches",
23689
22976
  "/images/edits"
23690
22977
  ]);
23691
- // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__73b29889c45f77bc30b47e8fcb5e317c/node_modules/safegen/dist/openai/index.js
22978
+ // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__d4eb07124fc3e01c89c3f276998341a3/node_modules/safegen/dist/openai/index.js
23692
22979
  function buildOpenAiRequestParams(model, ...params) {
23693
22980
  const [instruction, jsonSchema, _, previouslyFailedResponses] = params;
23694
22981
  const messages = [{
@@ -29942,7 +29229,7 @@ var prettyJson = new Differ(primitiveRefinery, jsonTreeRefinery, {
29942
29229
  array: diffArray
29943
29230
  });
29944
29231
 
29945
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/entity.js
29232
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/entity.js
29946
29233
  var entityKind = Symbol.for("drizzle:entityKind");
29947
29234
  var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
29948
29235
  function is(value, type) {
@@ -29967,7 +29254,7 @@ function is(value, type) {
29967
29254
  return false;
29968
29255
  }
29969
29256
 
29970
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/column.js
29257
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/column.js
29971
29258
  class Column {
29972
29259
  constructor(table, config2) {
29973
29260
  this.table = table;
@@ -30017,7 +29304,7 @@ class Column {
30017
29304
  }
30018
29305
  }
30019
29306
 
30020
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/column-builder.js
29307
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/column-builder.js
30021
29308
  class ColumnBuilder {
30022
29309
  static [entityKind] = "ColumnBuilder";
30023
29310
  config;
@@ -30073,10 +29360,10 @@ class ColumnBuilder {
30073
29360
  }
30074
29361
  }
30075
29362
 
30076
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
29363
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
30077
29364
  var TableName = Symbol.for("drizzle:Name");
30078
29365
 
30079
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/foreign-keys.js
29366
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/foreign-keys.js
30080
29367
  class ForeignKeyBuilder {
30081
29368
  static [entityKind] = "PgForeignKeyBuilder";
30082
29369
  reference;
@@ -30130,17 +29417,17 @@ class ForeignKey {
30130
29417
  }
30131
29418
  }
30132
29419
 
30133
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
29420
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
30134
29421
  function iife(fn2, ...args) {
30135
29422
  return fn2(...args);
30136
29423
  }
30137
29424
 
30138
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
29425
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
30139
29426
  function uniqueKeyName(table, columns) {
30140
29427
  return `${table[TableName]}_${columns.join("_")}_unique`;
30141
29428
  }
30142
29429
 
30143
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils/array.js
29430
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils/array.js
30144
29431
  function parsePgArrayValue(arrayString, startFrom, inQuotes) {
30145
29432
  for (let i2 = startFrom;i2 < arrayString.length; i2++) {
30146
29433
  const char = arrayString[i2];
@@ -30216,7 +29503,7 @@ function makePgArray(array2) {
30216
29503
  }).join(",")}}`;
30217
29504
  }
30218
29505
 
30219
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
29506
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
30220
29507
  class PgColumnBuilder extends ColumnBuilder {
30221
29508
  foreignKeyConfigs = [];
30222
29509
  static [entityKind] = "PgColumnBuilder";
@@ -30364,7 +29651,7 @@ class PgArray extends PgColumn {
30364
29651
  }
30365
29652
  }
30366
29653
 
30367
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
29654
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
30368
29655
  class PgEnumObjectColumnBuilder extends PgColumnBuilder {
30369
29656
  static [entityKind] = "PgEnumObjectColumnBuilder";
30370
29657
  constructor(name, enumInstance) {
@@ -30438,7 +29725,7 @@ function pgEnumObjectWithSchema(enumName, values2, schema) {
30438
29725
  return enumInstance;
30439
29726
  }
30440
29727
 
30441
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
29728
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
30442
29729
  class Subquery {
30443
29730
  static [entityKind] = "Subquery";
30444
29731
  constructor(sql, fields, alias, isWith = false, usedTables = []) {
@@ -30457,10 +29744,10 @@ class WithSubquery extends Subquery {
30457
29744
  static [entityKind] = "WithSubquery";
30458
29745
  }
30459
29746
 
30460
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/version.js
29747
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/version.js
30461
29748
  var version2 = "0.44.7";
30462
29749
 
30463
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
29750
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
30464
29751
  var otel;
30465
29752
  var rawTracer;
30466
29753
  var tracer = {
@@ -30487,10 +29774,10 @@ var tracer = {
30487
29774
  }
30488
29775
  };
30489
29776
 
30490
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
29777
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
30491
29778
  var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
30492
29779
 
30493
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/table.js
29780
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/table.js
30494
29781
  var Schema = Symbol.for("drizzle:Schema");
30495
29782
  var Columns = Symbol.for("drizzle:Columns");
30496
29783
  var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
@@ -30534,7 +29821,7 @@ function getTableUniqueName(table) {
30534
29821
  return `${table[Schema] ?? "public"}.${table[TableName]}`;
30535
29822
  }
30536
29823
 
30537
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
29824
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
30538
29825
  function isSQLWrapper(value) {
30539
29826
  return value !== null && value !== undefined && typeof value.getSQL === "function";
30540
29827
  }
@@ -30914,7 +30201,7 @@ Subquery.prototype.getSQL = function() {
30914
30201
  return new SQL([this]);
30915
30202
  };
30916
30203
 
30917
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/alias.js
30204
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/alias.js
30918
30205
  class ColumnAliasProxyHandler {
30919
30206
  constructor(table) {
30920
30207
  this.table = table;
@@ -30993,7 +30280,7 @@ function mapColumnsInSQLToAlias(query, alias) {
30993
30280
  }));
30994
30281
  }
30995
30282
 
30996
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/errors.js
30283
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/errors.js
30997
30284
  class DrizzleError extends Error {
30998
30285
  static [entityKind] = "DrizzleError";
30999
30286
  constructor({ message, cause }) {
@@ -31023,7 +30310,7 @@ class TransactionRollbackError extends DrizzleError {
31023
30310
  }
31024
30311
  }
31025
30312
 
31026
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/logger.js
30313
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/logger.js
31027
30314
  class ConsoleLogWriter {
31028
30315
  static [entityKind] = "ConsoleLogWriter";
31029
30316
  write(message) {
@@ -31055,7 +30342,7 @@ class NoopLogger {
31055
30342
  logQuery() {}
31056
30343
  }
31057
30344
 
31058
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
30345
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
31059
30346
  class QueryPromise {
31060
30347
  static [entityKind] = "QueryPromise";
31061
30348
  [Symbol.toStringTag] = "QueryPromise";
@@ -31076,7 +30363,7 @@ class QueryPromise {
31076
30363
  }
31077
30364
  }
31078
30365
 
31079
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/utils.js
30366
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/utils.js
31080
30367
  function mapResultRow(columns, row, joinsNotNullableMap) {
31081
30368
  const nullifyMap = {};
31082
30369
  const result = columns.reduce((result2, { path: path4, field }, columnIndex) => {
@@ -31228,7 +30515,7 @@ function isConfig(data) {
31228
30515
  }
31229
30516
  var textDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder;
31230
30517
 
31231
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/int.common.js
30518
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/int.common.js
31232
30519
  class PgIntColumnBaseBuilder extends PgColumnBuilder {
31233
30520
  static [entityKind] = "PgIntColumnBaseBuilder";
31234
30521
  generatedAlwaysAsIdentity(sequence) {
@@ -31267,7 +30554,7 @@ class PgIntColumnBaseBuilder extends PgColumnBuilder {
31267
30554
  }
31268
30555
  }
31269
30556
 
31270
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigint.js
30557
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigint.js
31271
30558
  class PgBigInt53Builder extends PgIntColumnBaseBuilder {
31272
30559
  static [entityKind] = "PgBigInt53Builder";
31273
30560
  constructor(name) {
@@ -31318,7 +30605,7 @@ function bigint4(a2, b2) {
31318
30605
  return new PgBigInt64Builder(name);
31319
30606
  }
31320
30607
 
31321
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigserial.js
30608
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigserial.js
31322
30609
  class PgBigSerial53Builder extends PgColumnBuilder {
31323
30610
  static [entityKind] = "PgBigSerial53Builder";
31324
30611
  constructor(name) {
@@ -31372,7 +30659,7 @@ function bigserial(a2, b2) {
31372
30659
  return new PgBigSerial64Builder(name);
31373
30660
  }
31374
30661
 
31375
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/boolean.js
30662
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/boolean.js
31376
30663
  class PgBooleanBuilder extends PgColumnBuilder {
31377
30664
  static [entityKind] = "PgBooleanBuilder";
31378
30665
  constructor(name) {
@@ -31393,7 +30680,7 @@ function boolean4(name) {
31393
30680
  return new PgBooleanBuilder(name ?? "");
31394
30681
  }
31395
30682
 
31396
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/char.js
30683
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/char.js
31397
30684
  class PgCharBuilder extends PgColumnBuilder {
31398
30685
  static [entityKind] = "PgCharBuilder";
31399
30686
  constructor(name, config2) {
@@ -31419,7 +30706,7 @@ function char(a2, b2 = {}) {
31419
30706
  return new PgCharBuilder(name, config2);
31420
30707
  }
31421
30708
 
31422
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/cidr.js
30709
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/cidr.js
31423
30710
  class PgCidrBuilder extends PgColumnBuilder {
31424
30711
  static [entityKind] = "PgCidrBuilder";
31425
30712
  constructor(name) {
@@ -31440,7 +30727,7 @@ function cidr(name) {
31440
30727
  return new PgCidrBuilder(name ?? "");
31441
30728
  }
31442
30729
 
31443
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/custom.js
30730
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/custom.js
31444
30731
  class PgCustomColumnBuilder extends PgColumnBuilder {
31445
30732
  static [entityKind] = "PgCustomColumnBuilder";
31446
30733
  constructor(name, fieldConfig, customTypeParams) {
@@ -31481,7 +30768,7 @@ function customType(customTypeParams) {
31481
30768
  };
31482
30769
  }
31483
30770
 
31484
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.common.js
30771
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.common.js
31485
30772
  class PgDateColumnBaseBuilder extends PgColumnBuilder {
31486
30773
  static [entityKind] = "PgDateColumnBaseBuilder";
31487
30774
  defaultNow() {
@@ -31489,7 +30776,7 @@ class PgDateColumnBaseBuilder extends PgColumnBuilder {
31489
30776
  }
31490
30777
  }
31491
30778
 
31492
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
30779
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
31493
30780
  class PgDateBuilder extends PgDateColumnBaseBuilder {
31494
30781
  static [entityKind] = "PgDateBuilder";
31495
30782
  constructor(name) {
@@ -31537,7 +30824,7 @@ function date5(a2, b2) {
31537
30824
  return new PgDateStringBuilder(name);
31538
30825
  }
31539
30826
 
31540
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/double-precision.js
30827
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/double-precision.js
31541
30828
  class PgDoublePrecisionBuilder extends PgColumnBuilder {
31542
30829
  static [entityKind] = "PgDoublePrecisionBuilder";
31543
30830
  constructor(name) {
@@ -31564,7 +30851,7 @@ function doublePrecision(name) {
31564
30851
  return new PgDoublePrecisionBuilder(name ?? "");
31565
30852
  }
31566
30853
 
31567
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/inet.js
30854
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/inet.js
31568
30855
  class PgInetBuilder extends PgColumnBuilder {
31569
30856
  static [entityKind] = "PgInetBuilder";
31570
30857
  constructor(name) {
@@ -31585,7 +30872,7 @@ function inet(name) {
31585
30872
  return new PgInetBuilder(name ?? "");
31586
30873
  }
31587
30874
 
31588
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/integer.js
30875
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/integer.js
31589
30876
  class PgIntegerBuilder extends PgIntColumnBaseBuilder {
31590
30877
  static [entityKind] = "PgIntegerBuilder";
31591
30878
  constructor(name) {
@@ -31612,7 +30899,7 @@ function integer2(name) {
31612
30899
  return new PgIntegerBuilder(name ?? "");
31613
30900
  }
31614
30901
 
31615
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/interval.js
30902
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/interval.js
31616
30903
  class PgIntervalBuilder extends PgColumnBuilder {
31617
30904
  static [entityKind] = "PgIntervalBuilder";
31618
30905
  constructor(name, intervalConfig) {
@@ -31639,7 +30926,7 @@ function interval(a2, b2 = {}) {
31639
30926
  return new PgIntervalBuilder(name, config2);
31640
30927
  }
31641
30928
 
31642
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
30929
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
31643
30930
  class PgJsonBuilder extends PgColumnBuilder {
31644
30931
  static [entityKind] = "PgJsonBuilder";
31645
30932
  constructor(name) {
@@ -31676,7 +30963,7 @@ function json2(name) {
31676
30963
  return new PgJsonBuilder(name ?? "");
31677
30964
  }
31678
30965
 
31679
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
30966
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
31680
30967
  class PgJsonbBuilder extends PgColumnBuilder {
31681
30968
  static [entityKind] = "PgJsonbBuilder";
31682
30969
  constructor(name) {
@@ -31713,7 +31000,7 @@ function jsonb(name) {
31713
31000
  return new PgJsonbBuilder(name ?? "");
31714
31001
  }
31715
31002
 
31716
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/line.js
31003
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/line.js
31717
31004
  class PgLineBuilder extends PgColumnBuilder {
31718
31005
  static [entityKind] = "PgLineBuilder";
31719
31006
  constructor(name) {
@@ -31769,7 +31056,7 @@ function line(a2, b2) {
31769
31056
  return new PgLineABCBuilder(name);
31770
31057
  }
31771
31058
 
31772
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr.js
31059
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr.js
31773
31060
  class PgMacaddrBuilder extends PgColumnBuilder {
31774
31061
  static [entityKind] = "PgMacaddrBuilder";
31775
31062
  constructor(name) {
@@ -31790,7 +31077,7 @@ function macaddr(name) {
31790
31077
  return new PgMacaddrBuilder(name ?? "");
31791
31078
  }
31792
31079
 
31793
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
31080
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
31794
31081
  class PgMacaddr8Builder extends PgColumnBuilder {
31795
31082
  static [entityKind] = "PgMacaddr8Builder";
31796
31083
  constructor(name) {
@@ -31811,7 +31098,7 @@ function macaddr8(name) {
31811
31098
  return new PgMacaddr8Builder(name ?? "");
31812
31099
  }
31813
31100
 
31814
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
31101
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
31815
31102
  class PgNumericBuilder extends PgColumnBuilder {
31816
31103
  static [entityKind] = "PgNumericBuilder";
31817
31104
  constructor(name, precision, scale) {
@@ -31926,7 +31213,7 @@ function numeric(a2, b2) {
31926
31213
  return mode === "number" ? new PgNumericNumberBuilder(name, config2?.precision, config2?.scale) : mode === "bigint" ? new PgNumericBigIntBuilder(name, config2?.precision, config2?.scale) : new PgNumericBuilder(name, config2?.precision, config2?.scale);
31927
31214
  }
31928
31215
 
31929
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/point.js
31216
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/point.js
31930
31217
  class PgPointTupleBuilder extends PgColumnBuilder {
31931
31218
  static [entityKind] = "PgPointTupleBuilder";
31932
31219
  constructor(name) {
@@ -31988,7 +31275,7 @@ function point(a2, b2) {
31988
31275
  return new PgPointObjectBuilder(name);
31989
31276
  }
31990
31277
 
31991
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
31278
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
31992
31279
  function hexToBytes(hex3) {
31993
31280
  const bytes = [];
31994
31281
  for (let c2 = 0;c2 < hex3.length; c2 += 2) {
@@ -32027,7 +31314,7 @@ function parseEWKB(hex3) {
32027
31314
  throw new Error("Unsupported geometry type");
32028
31315
  }
32029
31316
 
32030
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
31317
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
32031
31318
  class PgGeometryBuilder extends PgColumnBuilder {
32032
31319
  static [entityKind] = "PgGeometryBuilder";
32033
31320
  constructor(name) {
@@ -32082,7 +31369,7 @@ function geometry(a2, b2) {
32082
31369
  return new PgGeometryObjectBuilder(name);
32083
31370
  }
32084
31371
 
32085
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/real.js
31372
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/real.js
32086
31373
  class PgRealBuilder extends PgColumnBuilder {
32087
31374
  static [entityKind] = "PgRealBuilder";
32088
31375
  constructor(name, length) {
@@ -32113,7 +31400,7 @@ function real(name) {
32113
31400
  return new PgRealBuilder(name ?? "");
32114
31401
  }
32115
31402
 
32116
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/serial.js
31403
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/serial.js
32117
31404
  class PgSerialBuilder extends PgColumnBuilder {
32118
31405
  static [entityKind] = "PgSerialBuilder";
32119
31406
  constructor(name) {
@@ -32136,7 +31423,7 @@ function serial(name) {
32136
31423
  return new PgSerialBuilder(name ?? "");
32137
31424
  }
32138
31425
 
32139
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallint.js
31426
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallint.js
32140
31427
  class PgSmallIntBuilder extends PgIntColumnBaseBuilder {
32141
31428
  static [entityKind] = "PgSmallIntBuilder";
32142
31429
  constructor(name) {
@@ -32163,7 +31450,7 @@ function smallint(name) {
32163
31450
  return new PgSmallIntBuilder(name ?? "");
32164
31451
  }
32165
31452
 
32166
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallserial.js
31453
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallserial.js
32167
31454
  class PgSmallSerialBuilder extends PgColumnBuilder {
32168
31455
  static [entityKind] = "PgSmallSerialBuilder";
32169
31456
  constructor(name) {
@@ -32186,7 +31473,7 @@ function smallserial(name) {
32186
31473
  return new PgSmallSerialBuilder(name ?? "");
32187
31474
  }
32188
31475
 
32189
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/text.js
31476
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/text.js
32190
31477
  class PgTextBuilder extends PgColumnBuilder {
32191
31478
  static [entityKind] = "PgTextBuilder";
32192
31479
  constructor(name, config2) {
@@ -32210,7 +31497,7 @@ function text(a2, b2 = {}) {
32210
31497
  return new PgTextBuilder(name, config2);
32211
31498
  }
32212
31499
 
32213
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
31500
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
32214
31501
  class PgTimeBuilder extends PgDateColumnBaseBuilder {
32215
31502
  constructor(name, withTimezone, precision) {
32216
31503
  super(name, "string", "PgTime");
@@ -32244,7 +31531,7 @@ function time3(a2, b2 = {}) {
32244
31531
  return new PgTimeBuilder(name, config2.withTimezone ?? false, config2.precision);
32245
31532
  }
32246
31533
 
32247
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
31534
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
32248
31535
  class PgTimestampBuilder extends PgDateColumnBaseBuilder {
32249
31536
  static [entityKind] = "PgTimestampBuilder";
32250
31537
  constructor(name, withTimezone, precision) {
@@ -32312,7 +31599,7 @@ function timestamp(a2, b2 = {}) {
32312
31599
  return new PgTimestampBuilder(name, config2?.withTimezone ?? false, config2?.precision);
32313
31600
  }
32314
31601
 
32315
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
31602
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
32316
31603
  class PgUUIDBuilder extends PgColumnBuilder {
32317
31604
  static [entityKind] = "PgUUIDBuilder";
32318
31605
  constructor(name) {
@@ -32336,7 +31623,7 @@ function uuid5(name) {
32336
31623
  return new PgUUIDBuilder(name ?? "");
32337
31624
  }
32338
31625
 
32339
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/varchar.js
31626
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/varchar.js
32340
31627
  class PgVarcharBuilder extends PgColumnBuilder {
32341
31628
  static [entityKind] = "PgVarcharBuilder";
32342
31629
  constructor(name, config2) {
@@ -32362,7 +31649,7 @@ function varchar(a2, b2 = {}) {
32362
31649
  return new PgVarcharBuilder(name, config2);
32363
31650
  }
32364
31651
 
32365
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
31652
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
32366
31653
  class PgBinaryVectorBuilder extends PgColumnBuilder {
32367
31654
  static [entityKind] = "PgBinaryVectorBuilder";
32368
31655
  constructor(name, config2) {
@@ -32386,7 +31673,7 @@ function bit(a2, b2) {
32386
31673
  return new PgBinaryVectorBuilder(name, config2);
32387
31674
  }
32388
31675
 
32389
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
31676
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
32390
31677
  class PgHalfVectorBuilder extends PgColumnBuilder {
32391
31678
  static [entityKind] = "PgHalfVectorBuilder";
32392
31679
  constructor(name, config2) {
@@ -32416,7 +31703,7 @@ function halfvec(a2, b2) {
32416
31703
  return new PgHalfVectorBuilder(name, config2);
32417
31704
  }
32418
31705
 
32419
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
31706
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
32420
31707
  class PgSparseVectorBuilder extends PgColumnBuilder {
32421
31708
  static [entityKind] = "PgSparseVectorBuilder";
32422
31709
  constructor(name, config2) {
@@ -32440,7 +31727,7 @@ function sparsevec(a2, b2) {
32440
31727
  return new PgSparseVectorBuilder(name, config2);
32441
31728
  }
32442
31729
 
32443
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
31730
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
32444
31731
  class PgVectorBuilder extends PgColumnBuilder {
32445
31732
  static [entityKind] = "PgVectorBuilder";
32446
31733
  constructor(name, config2) {
@@ -32470,7 +31757,7 @@ function vector(a2, b2) {
32470
31757
  return new PgVectorBuilder(name, config2);
32471
31758
  }
32472
31759
 
32473
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/all.js
31760
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/all.js
32474
31761
  function getPgColumnBuilders() {
32475
31762
  return {
32476
31763
  bigint: bigint4,
@@ -32508,7 +31795,7 @@ function getPgColumnBuilders() {
32508
31795
  };
32509
31796
  }
32510
31797
 
32511
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
31798
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
32512
31799
  var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
32513
31800
  var EnableRLS = Symbol.for("drizzle:EnableRLS");
32514
31801
 
@@ -32556,7 +31843,7 @@ var pgTable = (name, columns, extraConfig) => {
32556
31843
  return pgTableWithSchema(name, columns, extraConfig, undefined);
32557
31844
  };
32558
31845
 
32559
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
31846
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
32560
31847
  function primaryKey(...config2) {
32561
31848
  if (config2[0].columns) {
32562
31849
  return new PrimaryKeyBuilder(config2[0].columns, config2[0].name);
@@ -32591,7 +31878,7 @@ class PrimaryKey {
32591
31878
  }
32592
31879
  }
32593
31880
 
32594
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
31881
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
32595
31882
  function bindIfParam(value, column) {
32596
31883
  if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
32597
31884
  return new Param(value, column);
@@ -32696,7 +31983,7 @@ function notIlike(column, value) {
32696
31983
  return sql`${column} not ilike ${value}`;
32697
31984
  }
32698
31985
 
32699
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
31986
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
32700
31987
  function asc(column) {
32701
31988
  return sql`${column} asc`;
32702
31989
  }
@@ -32704,7 +31991,7 @@ function desc(column) {
32704
31991
  return sql`${column} desc`;
32705
31992
  }
32706
31993
 
32707
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/relations.js
31994
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/relations.js
32708
31995
  class Relation {
32709
31996
  constructor(sourceTable, referencedTable, relationName) {
32710
31997
  this.sourceTable = sourceTable;
@@ -34874,7 +34161,7 @@ function osUsername() {
34874
34161
  }
34875
34162
  }
34876
34163
 
34877
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
34164
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
34878
34165
  class SelectionProxyHandler {
34879
34166
  static [entityKind] = "SelectionProxyHandler";
34880
34167
  config;
@@ -34926,7 +34213,7 @@ class SelectionProxyHandler {
34926
34213
  }
34927
34214
  }
34928
34215
 
34929
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/indexes.js
34216
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/indexes.js
34930
34217
  class IndexBuilderOn {
34931
34218
  constructor(unique, name) {
34932
34219
  this.unique = unique;
@@ -35008,7 +34295,7 @@ function uniqueIndex(name) {
35008
34295
  return new IndexBuilderOn(true, name);
35009
34296
  }
35010
34297
 
35011
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/casing.js
34298
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/casing.js
35012
34299
  function toSnakeCase(input) {
35013
34300
  const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
35014
34301
  return words.map((word) => word.toLowerCase()).join("_");
@@ -35061,12 +34348,12 @@ class CasingCache {
35061
34348
  }
35062
34349
  }
35063
34350
 
35064
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
34351
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
35065
34352
  class PgViewBase extends View {
35066
34353
  static [entityKind] = "PgViewBase";
35067
34354
  }
35068
34355
 
35069
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
34356
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
35070
34357
  class PgDialect {
35071
34358
  static [entityKind] = "PgDialect";
35072
34359
  casing;
@@ -35624,7 +34911,7 @@ class PgDialect {
35624
34911
  }
35625
34912
  }
35626
34913
 
35627
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
34914
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
35628
34915
  class TypedQueryBuilder {
35629
34916
  static [entityKind] = "TypedQueryBuilder";
35630
34917
  getSelectedFields() {
@@ -35632,7 +34919,7 @@ class TypedQueryBuilder {
35632
34919
  }
35633
34920
  }
35634
34921
 
35635
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
34922
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
35636
34923
  class PgSelectBuilder {
35637
34924
  static [entityKind] = "PgSelectBuilder";
35638
34925
  fields;
@@ -35950,7 +35237,7 @@ var intersectAll = createSetOperator("intersect", true);
35950
35237
  var except = createSetOperator("except", false);
35951
35238
  var exceptAll = createSetOperator("except", true);
35952
35239
 
35953
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
35240
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
35954
35241
  class QueryBuilder {
35955
35242
  static [entityKind] = "PgQueryBuilder";
35956
35243
  dialect;
@@ -36028,7 +35315,7 @@ class QueryBuilder {
36028
35315
  }
36029
35316
  }
36030
35317
 
36031
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
35318
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
36032
35319
  function extractUsedTable(table) {
36033
35320
  if (is(table, PgTable)) {
36034
35321
  return [table[Schema] ? `${table[Schema]}.${table[Table.Symbol.BaseName]}` : table[Table.Symbol.BaseName]];
@@ -36042,7 +35329,7 @@ function extractUsedTable(table) {
36042
35329
  return [];
36043
35330
  }
36044
35331
 
36045
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
35332
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
36046
35333
  class PgDeleteBase extends QueryPromise {
36047
35334
  constructor(table, session, dialect, withList) {
36048
35335
  super();
@@ -36102,7 +35389,7 @@ class PgDeleteBase extends QueryPromise {
36102
35389
  }
36103
35390
  }
36104
35391
 
36105
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
35392
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
36106
35393
  class PgInsertBuilder {
36107
35394
  constructor(table, session, dialect, withList, overridingSystemValue_) {
36108
35395
  this.table = table;
@@ -36225,7 +35512,7 @@ class PgInsertBase extends QueryPromise {
36225
35512
  }
36226
35513
  }
36227
35514
 
36228
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
35515
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
36229
35516
  class PgRefreshMaterializedView extends QueryPromise {
36230
35517
  constructor(view, session, dialect) {
36231
35518
  super();
@@ -36276,7 +35563,7 @@ class PgRefreshMaterializedView extends QueryPromise {
36276
35563
  };
36277
35564
  }
36278
35565
 
36279
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
35566
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
36280
35567
  class PgUpdateBuilder {
36281
35568
  constructor(table, session, dialect, withList) {
36282
35569
  this.table = table;
@@ -36430,7 +35717,7 @@ class PgUpdateBase extends QueryPromise {
36430
35717
  }
36431
35718
  }
36432
35719
 
36433
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
35720
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
36434
35721
  class PgCountBuilder extends SQL {
36435
35722
  constructor(params) {
36436
35723
  super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
@@ -36471,7 +35758,7 @@ class PgCountBuilder extends SQL {
36471
35758
  }
36472
35759
  }
36473
35760
 
36474
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
35761
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
36475
35762
  class RelationalQueryBuilder {
36476
35763
  constructor(fullSchema, schema, tableNamesMap, table, tableConfig, dialect, session) {
36477
35764
  this.fullSchema = fullSchema;
@@ -36554,7 +35841,7 @@ class PgRelationalQuery extends QueryPromise {
36554
35841
  }
36555
35842
  }
36556
35843
 
36557
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
35844
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
36558
35845
  class PgRaw extends QueryPromise {
36559
35846
  constructor(execute, sql2, query, mapBatchResult) {
36560
35847
  super();
@@ -36581,7 +35868,7 @@ class PgRaw extends QueryPromise {
36581
35868
  }
36582
35869
  }
36583
35870
 
36584
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
35871
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
36585
35872
  class PgDatabase {
36586
35873
  constructor(dialect, session, schema) {
36587
35874
  this.dialect = dialect;
@@ -36702,12 +35989,12 @@ class PgDatabase {
36702
35989
  const prepared = this.session.prepareQuery(builtQuery, undefined, undefined, false);
36703
35990
  return new PgRaw(() => prepared.execute(undefined, this.authToken), sequel, builtQuery, (result) => prepared.mapResult(result, true));
36704
35991
  }
36705
- transaction(transaction2, config2) {
36706
- return this.session.transaction(transaction2, config2);
35992
+ transaction(transaction, config2) {
35993
+ return this.session.transaction(transaction, config2);
36707
35994
  }
36708
35995
  }
36709
35996
 
36710
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
35997
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
36711
35998
  class Cache {
36712
35999
  static [entityKind] = "Cache";
36713
36000
  }
@@ -36733,7 +36020,7 @@ async function hashQuery(sql2, params) {
36733
36020
  return hashHex;
36734
36021
  }
36735
36022
 
36736
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
36023
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
36737
36024
  class PgPreparedQuery {
36738
36025
  constructor(query, cache, queryMetadata, cacheConfig) {
36739
36026
  this.query = query;
@@ -36865,7 +36152,7 @@ class PgTransaction extends PgDatabase {
36865
36152
  }
36866
36153
  }
36867
36154
 
36868
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
36155
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
36869
36156
  class PostgresJsPreparedQuery extends PgPreparedQuery {
36870
36157
  constructor(client, queryString, params, logger, cache, queryMetadata, cacheConfig, fields, _isResponseInArrayMode, customResultMapper) {
36871
36158
  super({ sql: queryString, params }, cache, queryMetadata, cacheConfig);
@@ -36954,14 +36241,14 @@ class PostgresJsSession extends PgSession {
36954
36241
  queryObjects(query, params) {
36955
36242
  return this.client.unsafe(query, params);
36956
36243
  }
36957
- transaction(transaction2, config2) {
36244
+ transaction(transaction, config2) {
36958
36245
  return this.client.begin(async (client) => {
36959
36246
  const session = new PostgresJsSession(client, this.dialect, this.schema, this.options);
36960
36247
  const tx = new PostgresJsTransaction(this.dialect, session, this.schema);
36961
36248
  if (config2) {
36962
36249
  await tx.setTransaction(config2);
36963
36250
  }
36964
- return transaction2(tx);
36251
+ return transaction(tx);
36965
36252
  });
36966
36253
  }
36967
36254
  }
@@ -36972,16 +36259,16 @@ class PostgresJsTransaction extends PgTransaction {
36972
36259
  this.session = session;
36973
36260
  }
36974
36261
  static [entityKind] = "PostgresJsTransaction";
36975
- transaction(transaction2) {
36262
+ transaction(transaction) {
36976
36263
  return this.session.client.savepoint((client) => {
36977
36264
  const session = new PostgresJsSession(client, this.dialect, this.schema, this.session.options);
36978
36265
  const tx = new PostgresJsTransaction(this.dialect, session, this.schema);
36979
- return transaction2(tx);
36266
+ return transaction(tx);
36980
36267
  });
36981
36268
  }
36982
36269
  }
36983
36270
 
36984
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
36271
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
36985
36272
  class PostgresJsDatabase extends PgDatabase {
36986
36273
  static [entityKind] = "PostgresJsDatabase";
36987
36274
  }
@@ -37049,7 +36336,7 @@ function drizzle(...params) {
37049
36336
  drizzle2.mock = mock;
37050
36337
  })(drizzle || (drizzle = {}));
37051
36338
 
37052
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.25_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
36339
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.26_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
37053
36340
  function ensureSynchronous(value, message) {
37054
36341
  if (value instanceof Promise)
37055
36342
  throw new Error(message);
@@ -37135,7 +36422,7 @@ function createEnv(opts) {
37135
36422
  return env2;
37136
36423
  }
37137
36424
 
37138
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/arrays.js
36425
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/arrays.js
37139
36426
  var liftArray = (data) => Array.isArray(data) ? data : [data];
37140
36427
  var spliterate = (arr, predicate) => {
37141
36428
  const result = [[], []];
@@ -37190,7 +36477,7 @@ var groupBy = (array2, discriminant) => array2.reduce((result, item) => {
37190
36477
  return result;
37191
36478
  }, {});
37192
36479
  var arrayEquals = (l2, r2, opts) => l2.length === r2.length && l2.every(opts?.isEqual ? (lItem, i2) => opts.isEqual(lItem, r2[i2]) : (lItem, i2) => lItem === r2[i2]);
37193
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/domain.js
36480
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/domain.js
37194
36481
  var hasDomain = (data, kind) => domainOf(data) === kind;
37195
36482
  var domainOf = (data) => {
37196
36483
  const builtinType = typeof data;
@@ -37211,7 +36498,7 @@ var jsTypeOfDescriptions = {
37211
36498
  function: "a function"
37212
36499
  };
37213
36500
 
37214
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/errors.js
36501
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/errors.js
37215
36502
  class InternalArktypeError extends Error {
37216
36503
  }
37217
36504
  var throwInternalError = (message) => throwError(message, InternalArktypeError);
@@ -37226,7 +36513,7 @@ var throwParseError = (message) => throwError(message, ParseError);
37226
36513
  var noSuggest = (s2) => ` ${s2}`;
37227
36514
  var ZeroWidthSpace = "\u200B";
37228
36515
 
37229
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/flatMorph.js
36516
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/flatMorph.js
37230
36517
  var flatMorph = (o2, flatMapEntry) => {
37231
36518
  const result = {};
37232
36519
  const inputIsArray = Array.isArray(o2);
@@ -37245,7 +36532,7 @@ var flatMorph = (o2, flatMapEntry) => {
37245
36532
  return outputShouldBeArray ? Object.values(result) : result;
37246
36533
  };
37247
36534
 
37248
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/records.js
36535
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/records.js
37249
36536
  var entriesOf = Object.entries;
37250
36537
  var isKeyOf = (k2, o2) => (k2 in o2);
37251
36538
  var hasKey = (o2, k2) => (k2 in o2);
@@ -37292,7 +36579,7 @@ var enumValues = (tsEnum) => Object.values(tsEnum).filter((v2) => {
37292
36579
  return typeof tsEnum[v2] !== "number";
37293
36580
  });
37294
36581
 
37295
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/objectKinds.js
36582
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/objectKinds.js
37296
36583
  var ecmascriptConstructors = {
37297
36584
  Array,
37298
36585
  Boolean,
@@ -37408,7 +36695,7 @@ var constructorExtends = (ctor, base) => {
37408
36695
  return false;
37409
36696
  };
37410
36697
 
37411
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/clone.js
36698
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/clone.js
37412
36699
  var deepClone = (input) => _clone(input, new Map);
37413
36700
  var _clone = (input, seen) => {
37414
36701
  if (typeof input !== "object" || input === null)
@@ -37434,7 +36721,7 @@ var _clone = (input, seen) => {
37434
36721
  Object.defineProperties(cloned, propertyDescriptors);
37435
36722
  return cloned;
37436
36723
  };
37437
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/functions.js
36724
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/functions.js
37438
36725
  var cached2 = (thunk) => {
37439
36726
  let result = unset;
37440
36727
  return () => result === unset ? result = thunk() : result;
@@ -37443,14 +36730,14 @@ var isThunk = (value) => typeof value === "function" && value.length === 0;
37443
36730
  var DynamicFunction = class extends Function {
37444
36731
  constructor(...args) {
37445
36732
  const params = args.slice(0, -1);
37446
- const body = args.at(-1);
36733
+ const body = args[args.length - 1];
37447
36734
  try {
37448
36735
  super(...params, body);
37449
36736
  } catch (e) {
37450
36737
  return throwInternalError(`Encountered an unexpected error while compiling your definition:
37451
36738
  Message: ${e}
37452
36739
  Source: (${args.slice(0, -1)}) => {
37453
- ${args.at(-1)}
36740
+ ${args[args.length - 1]}
37454
36741
  }`);
37455
36742
  }
37456
36743
  }
@@ -37468,16 +36755,16 @@ var envHasCsp = cached2(() => {
37468
36755
  return true;
37469
36756
  }
37470
36757
  });
37471
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/generics.js
36758
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/generics.js
37472
36759
  var brand = noSuggest("brand");
37473
36760
  var inferred = noSuggest("arkInferred");
37474
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/hkt.js
36761
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/hkt.js
37475
36762
  var args = noSuggest("args");
37476
36763
 
37477
36764
  class Hkt {
37478
36765
  constructor() {}
37479
36766
  }
37480
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/isomorphic.js
36767
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/isomorphic.js
37481
36768
  var fileName = () => {
37482
36769
  try {
37483
36770
  const error47 = new Error;
@@ -37494,7 +36781,7 @@ var isomorphic = {
37494
36781
  fileName,
37495
36782
  env: env2
37496
36783
  };
37497
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/strings.js
36784
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/strings.js
37498
36785
  var capitalize2 = (s2) => s2[0].toUpperCase() + s2.slice(1);
37499
36786
  var anchoredRegex = (regex) => new RegExp(anchoredSource(regex), typeof regex === "string" ? "" : regex.flags);
37500
36787
  var anchoredSource = (regex) => {
@@ -37512,7 +36799,7 @@ var whitespaceChars = {
37512
36799
  "\t": 1
37513
36800
  };
37514
36801
 
37515
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/numbers.js
36802
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/numbers.js
37516
36803
  var anchoredNegativeZeroPattern = /^-0\.?0*$/.source;
37517
36804
  var positiveIntegerPattern = /[1-9]\d*/.source;
37518
36805
  var looseDecimalPattern = /\.\d+/.source;
@@ -37574,8 +36861,8 @@ var tryParseWellFormedBigint = (def) => {
37574
36861
  return throwParseError(writeMalformedNumericLiteralMessage(def, "bigint"));
37575
36862
  }
37576
36863
  };
37577
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/registry.js
37578
- var arkUtilVersion = "0.53.0";
36864
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/registry.js
36865
+ var arkUtilVersion = "0.54.0";
37579
36866
  var initialRegistryContents = {
37580
36867
  version: arkUtilVersion,
37581
36868
  filename: isomorphic.fileName(),
@@ -37614,10 +36901,10 @@ var baseNameFor = (value) => {
37614
36901
  return throwInternalError(`Unexpected attempt to register serializable value of type ${domainOf(value)}`);
37615
36902
  };
37616
36903
 
37617
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/primitive.js
36904
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/primitive.js
37618
36905
  var serializePrimitive = (value) => typeof value === "string" ? JSON.stringify(value) : typeof value === "bigint" ? `${value}n` : `${value}`;
37619
36906
 
37620
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/serialize.js
36907
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/serialize.js
37621
36908
  var snapshot = (data, opts = {}) => _serialize(data, {
37622
36909
  onUndefined: `$ark.undefined`,
37623
36910
  onBigInt: (n2) => `$ark.bigint-${n2}`,
@@ -37705,7 +36992,7 @@ var _serialize = (data, opts, seen) => {
37705
36992
  case "undefined":
37706
36993
  return opts.onUndefined ?? "undefined";
37707
36994
  case "string":
37708
- return data.replaceAll("\\", "\\\\");
36995
+ return data.replace(/\\/g, "\\\\");
37709
36996
  default:
37710
36997
  return data;
37711
36998
  }
@@ -37750,7 +37037,7 @@ var months = [
37750
37037
  var timeWithUnnecessarySeconds = /:\d\d:00$/;
37751
37038
  var pad = (value, length) => String(value).padStart(length, "0");
37752
37039
 
37753
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/path.js
37040
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/path.js
37754
37041
  var appendStringifiedKey = (path4, prop, ...[opts]) => {
37755
37042
  const stringifySymbol = opts?.stringifySymbol ?? printable;
37756
37043
  let propAccessChain = path4;
@@ -37807,7 +37094,7 @@ class ReadonlyPath extends ReadonlyArray {
37807
37094
  return this.cache.stringifyAncestors = result;
37808
37095
  }
37809
37096
  }
37810
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/scanner.js
37097
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/scanner.js
37811
37098
  class Scanner {
37812
37099
  chars;
37813
37100
  i;
@@ -37890,9 +37177,9 @@ class Scanner {
37890
37177
  }
37891
37178
  var writeUnmatchedGroupCloseMessage = (char2, unscanned) => `Unmatched ${char2}${unscanned === "" ? "" : ` before ${unscanned}`}`;
37892
37179
  var writeUnclosedGroupMessage = (missingChar) => `Missing ${missingChar}`;
37893
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/traits.js
37180
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/traits.js
37894
37181
  var implementedTraits = noSuggest("implementedTraits");
37895
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/registry.js
37182
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/registry.js
37896
37183
  var _registryName = "$ark";
37897
37184
  var suffix = 2;
37898
37185
  while (_registryName in globalThis)
@@ -37903,7 +37190,7 @@ var $ark = registry2;
37903
37190
  var reference = (name) => `${registryName}.${name}`;
37904
37191
  var registeredReference = (value) => reference(register(value));
37905
37192
 
37906
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/compile.js
37193
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/compile.js
37907
37194
  class CompiledFunction extends CastableBase {
37908
37195
  argNames;
37909
37196
  body = "";
@@ -38039,13 +37326,13 @@ class NodeCompiler extends CompiledFunction {
38039
37326
  }
38040
37327
  }
38041
37328
 
38042
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/utils.js
37329
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/utils.js
38043
37330
  var makeRootAndArrayPropertiesMutable = (o2) => flatMorph(o2, (k2, v2) => [k2, isArray2(v2) ? [...v2] : v2]);
38044
37331
  var arkKind = noSuggest("arkKind");
38045
37332
  var hasArkKind = (value, kind) => value?.[arkKind] === kind;
38046
37333
  var isNode = (value) => hasArkKind(value, "root") || hasArkKind(value, "constraint");
38047
37334
 
38048
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/implement.js
37335
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/implement.js
38049
37336
  var basisKinds = ["unit", "proto", "domain"];
38050
37337
  var structuralKinds = [
38051
37338
  "required",
@@ -38133,7 +37420,7 @@ var implementNode = (_2) => {
38133
37420
  return implementation;
38134
37421
  };
38135
37422
 
38136
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
37423
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
38137
37424
  class ToJsonSchemaError extends Error {
38138
37425
  name = "ToJsonSchemaError";
38139
37426
  code;
@@ -38173,7 +37460,7 @@ var ToJsonSchema = {
38173
37460
  defaultConfig
38174
37461
  };
38175
37462
 
38176
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/config.js
37463
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/config.js
38177
37464
  $ark.config ??= {};
38178
37465
  var mergeConfigs = (base, merged) => {
38179
37466
  if (!merged)
@@ -38228,7 +37515,7 @@ var mergeFallbacks = (base, merged) => {
38228
37515
  return result;
38229
37516
  };
38230
37517
  var normalizeFallback = (fallback) => typeof fallback === "function" ? { default: fallback } : fallback ?? {};
38231
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/errors.js
37518
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/errors.js
38232
37519
  class ArkError extends CastableBase {
38233
37520
  [arkKind] = "error";
38234
37521
  path;
@@ -38421,7 +37708,7 @@ var indent = (error47) => error47.toString().split(`
38421
37708
  `).join(`
38422
37709
  `);
38423
37710
 
38424
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/traversal.js
37711
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/traversal.js
38425
37712
  class Traversal {
38426
37713
  path = [];
38427
37714
  errors = new ArkErrors(this);
@@ -38459,7 +37746,7 @@ class Traversal {
38459
37746
  return this.currentErrorCount !== 0;
38460
37747
  }
38461
37748
  get currentBranch() {
38462
- return this.branches.at(-1);
37749
+ return this.branches[this.branches.length - 1];
38463
37750
  }
38464
37751
  queueMorphs(morphs) {
38465
37752
  const input = {
@@ -38522,7 +37809,7 @@ class Traversal {
38522
37809
  }
38523
37810
  }
38524
37811
  applyMorphsAtPath(path5, morphs) {
38525
- const key = path5.at(-1);
37812
+ const key = path5[path5.length - 1];
38526
37813
  let parent;
38527
37814
  if (key !== undefined) {
38528
37815
  parent = this.root;
@@ -38561,7 +37848,7 @@ var traverseKey = (key, fn2, ctx) => {
38561
37848
  return result;
38562
37849
  };
38563
37850
 
38564
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/node.js
37851
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/node.js
38565
37852
  class BaseNode extends Callable {
38566
37853
  attachments;
38567
37854
  $;
@@ -38896,7 +38183,7 @@ var typePathToPropString = (path5) => stringifyPath(path5, {
38896
38183
  stringifyNonKey: (node) => node.expression
38897
38184
  });
38898
38185
  var referenceMatcher = /"(\$ark\.[^"]+)"/g;
38899
- var compileMeta = (metaJson) => JSON.stringify(metaJson).replaceAll(referenceMatcher, "$1");
38186
+ var compileMeta = (metaJson) => JSON.stringify(metaJson).replace(referenceMatcher, "$1");
38900
38187
  var flatRef = (path5, node) => ({
38901
38188
  path: path5,
38902
38189
  node,
@@ -38910,7 +38197,7 @@ var appendUniqueNodes = (existing, refs) => appendUnique(existing, refs, {
38910
38197
  isEqual: (l2, r2) => l2.equals(r2)
38911
38198
  });
38912
38199
 
38913
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/disjoint.js
38200
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/disjoint.js
38914
38201
  class Disjoint extends Array {
38915
38202
  static init(kind, l2, r2, ctx) {
38916
38203
  return new Disjoint({
@@ -38972,7 +38259,7 @@ var describeReasons = (l2, r2) => `${describeReason(l2)} and ${describeReason(r2
38972
38259
  var describeReason = (value) => isNode(value) ? value.expression : isArray2(value) ? value.map(describeReason).join(" | ") || "never" : String(value);
38973
38260
  var writeUnsatisfiableExpressionError = (expression) => `${expression} results in an unsatisfiable type`;
38974
38261
 
38975
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/intersections.js
38262
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/intersections.js
38976
38263
  var intersectionCache = {};
38977
38264
  var intersectNodesRoot = (l2, r2, $2) => intersectOrPipeNodes(l2, r2, {
38978
38265
  $: $2,
@@ -39080,7 +38367,7 @@ var _pipeMorphed = (from, to2, ctx) => {
39080
38367
  });
39081
38368
  };
39082
38369
 
39083
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/constraint.js
38370
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/constraint.js
39084
38371
  class BaseConstraint extends BaseNode {
39085
38372
  constructor(attachments, $2) {
39086
38373
  super(attachments, $2);
@@ -39194,7 +38481,7 @@ var writeInvalidOperandMessage = (kind, expected, actual) => {
39194
38481
  const actualDescription = actual.hasKind("morph") ? "a morph" : actual.isUnknown() ? "unknown" : actual.exclude(expected).defaultShortDescription;
39195
38482
  return `${capitalize2(kind)} operand must be ${expected.description} (was ${actualDescription})`;
39196
38483
  };
39197
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/generic.js
38484
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/generic.js
39198
38485
  var parseGeneric = (paramDefs, bodyDef, $2) => new GenericRoot(paramDefs, bodyDef, $2, $2, null);
39199
38486
 
39200
38487
  class LazyGenericBody extends Callable {
@@ -39265,7 +38552,7 @@ class GenericRoot extends Callable {
39265
38552
  }
39266
38553
  }
39267
38554
  var writeUnsatisfiedParameterConstraintMessage = (name, constraint, arg) => `${name} must be assignable to ${constraint} (was ${arg})`;
39268
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/predicate.js
38555
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/predicate.js
39269
38556
  var implementation = implementNode({
39270
38557
  kind: "predicate",
39271
38558
  hasAssociatedError: true,
@@ -39320,7 +38607,7 @@ var Predicate = {
39320
38607
  Node: PredicateNode
39321
38608
  };
39322
38609
 
39323
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/divisor.js
38610
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/divisor.js
39324
38611
  var implementation2 = implementNode({
39325
38612
  kind: "divisor",
39326
38613
  collapsibleKey: "rule",
@@ -39373,7 +38660,7 @@ var greatestCommonDivisor = (l2, r2) => {
39373
38660
  return greatestCommonDivisor2;
39374
38661
  };
39375
38662
 
39376
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/range.js
38663
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/range.js
39377
38664
  class BaseRange extends InternalPrimitiveConstraint {
39378
38665
  boundOperandKind = operandKindsByBoundKind[this.kind];
39379
38666
  compiledActual = this.boundOperandKind === "value" ? `data` : this.boundOperandKind === "length" ? `data.length` : `data.valueOf()`;
@@ -39453,7 +38740,7 @@ var compileComparator = (kind, exclusive) => `${isKeyOf(kind, boundKindPairsByLo
39453
38740
  var dateLimitToString = (limit2) => typeof limit2 === "string" ? limit2 : new Date(limit2).toLocaleString();
39454
38741
  var writeUnboundableMessage = (root) => `Bounded expression ${root} must be exactly one of number, string, Array, or Date`;
39455
38742
 
39456
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/after.js
38743
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/after.js
39457
38744
  var implementation3 = implementNode({
39458
38745
  kind: "after",
39459
38746
  collapsibleKey: "rule",
@@ -39487,7 +38774,7 @@ var After = {
39487
38774
  Node: AfterNode
39488
38775
  };
39489
38776
 
39490
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/before.js
38777
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/before.js
39491
38778
  var implementation4 = implementNode({
39492
38779
  kind: "before",
39493
38780
  collapsibleKey: "rule",
@@ -39522,7 +38809,7 @@ var Before = {
39522
38809
  Node: BeforeNode
39523
38810
  };
39524
38811
 
39525
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/exactLength.js
38812
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/exactLength.js
39526
38813
  var implementation5 = implementNode({
39527
38814
  kind: "exactLength",
39528
38815
  collapsibleKey: "rule",
@@ -39570,7 +38857,7 @@ var ExactLength = {
39570
38857
  Node: ExactLengthNode
39571
38858
  };
39572
38859
 
39573
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/max.js
38860
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/max.js
39574
38861
  var implementation6 = implementNode({
39575
38862
  kind: "max",
39576
38863
  collapsibleKey: "rule",
@@ -39610,7 +38897,7 @@ var Max = {
39610
38897
  Node: MaxNode
39611
38898
  };
39612
38899
 
39613
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/maxLength.js
38900
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/maxLength.js
39614
38901
  var implementation7 = implementNode({
39615
38902
  kind: "maxLength",
39616
38903
  collapsibleKey: "rule",
@@ -39653,7 +38940,7 @@ var MaxLength = {
39653
38940
  Node: MaxLengthNode
39654
38941
  };
39655
38942
 
39656
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/min.js
38943
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/min.js
39657
38944
  var implementation8 = implementNode({
39658
38945
  kind: "min",
39659
38946
  collapsibleKey: "rule",
@@ -39692,7 +38979,7 @@ var Min = {
39692
38979
  Node: MinNode
39693
38980
  };
39694
38981
 
39695
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/minLength.js
38982
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/minLength.js
39696
38983
  var implementation9 = implementNode({
39697
38984
  kind: "minLength",
39698
38985
  collapsibleKey: "rule",
@@ -39734,7 +39021,7 @@ var MinLength = {
39734
39021
  Node: MinLengthNode
39735
39022
  };
39736
39023
 
39737
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/kinds.js
39024
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/kinds.js
39738
39025
  var boundImplementationsByKind = {
39739
39026
  min: Min.implementation,
39740
39027
  max: Max.implementation,
@@ -39754,7 +39041,7 @@ var boundClassesByKind = {
39754
39041
  before: Before.Node
39755
39042
  };
39756
39043
 
39757
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/pattern.js
39044
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/pattern.js
39758
39045
  var implementation10 = implementNode({
39759
39046
  kind: "pattern",
39760
39047
  collapsibleKey: "rule",
@@ -39799,7 +39086,7 @@ var Pattern = {
39799
39086
  Node: PatternNode
39800
39087
  };
39801
39088
 
39802
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/parse.js
39089
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/parse.js
39803
39090
  var schemaKindOf = (schema, allowedKinds) => {
39804
39091
  const kind = discriminateRootKind(schema);
39805
39092
  if (allowedKinds && !allowedKinds.includes(kind)) {
@@ -39980,7 +39267,7 @@ var possiblyCollapse = (json3, toKey, allowPrimitive) => {
39980
39267
  return json3;
39981
39268
  };
39982
39269
 
39983
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/prop.js
39270
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/prop.js
39984
39271
  var intersectProps = (l2, r2, ctx) => {
39985
39272
  if (l2.key !== r2.key)
39986
39273
  return null;
@@ -40047,7 +39334,7 @@ class BaseProp extends BaseConstraint {
40047
39334
  }
40048
39335
  var writeDefaultIntersectionMessage = (lValue, rValue) => `Invalid intersection of default values ${printable(lValue)} & ${printable(rValue)}`;
40049
39336
 
40050
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/optional.js
39337
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/optional.js
40051
39338
  var implementation11 = implementNode({
40052
39339
  kind: "optional",
40053
39340
  hasAssociatedError: false,
@@ -40151,7 +39438,7 @@ var writeNonPrimitiveNonFunctionDefaultValueMessage = (key) => {
40151
39438
  return `Non-primitive default ${keyDescription}must be specified as a function like () => ({my: 'object'})`;
40152
39439
  };
40153
39440
 
40154
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/root.js
39441
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/root.js
40155
39442
  class BaseRoot extends BaseNode {
40156
39443
  constructor(attachments, $2) {
40157
39444
  super(attachments, $2);
@@ -40525,13 +39812,13 @@ var writeLiteralUnionEntriesMessage = (expression) => `Props cannot be extracted
40525
39812
  ${expression}`;
40526
39813
  var writeNonStructuralOperandMessage = (operation, operand) => `${operation} operand must be an object (was ${operand})`;
40527
39814
 
40528
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/utils.js
39815
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/utils.js
40529
39816
  var defineRightwardIntersections = (kind, implementation12) => flatMorph(schemaKindsRightOf(kind), (i2, kind2) => [
40530
39817
  kind2,
40531
39818
  implementation12
40532
39819
  ]);
40533
39820
 
40534
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/alias.js
39821
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/alias.js
40535
39822
  var normalizeAliasSchema = (schema) => typeof schema === "string" ? { reference: schema } : schema;
40536
39823
  var neverIfDisjoint = (result) => result instanceof Disjoint ? $ark.intrinsic.never.internal : result;
40537
39824
  var implementation12 = implementNode({
@@ -40639,7 +39926,7 @@ var Alias = {
40639
39926
  Node: AliasNode
40640
39927
  };
40641
39928
 
40642
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/basis.js
39929
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/basis.js
40643
39930
  class InternalBasis extends BaseRoot {
40644
39931
  traverseApply = (data, ctx) => {
40645
39932
  if (!this.traverseAllows(data, ctx))
@@ -40665,7 +39952,7 @@ class InternalBasis extends BaseRoot {
40665
39952
  }
40666
39953
  }
40667
39954
 
40668
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/domain.js
39955
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/domain.js
40669
39956
  var implementation13 = implementNode({
40670
39957
  kind: "domain",
40671
39958
  hasAssociatedError: true,
@@ -40716,7 +40003,7 @@ var Domain = {
40716
40003
  writeBadAllowNanMessage: (actual) => `numberAllowsNaN may only be specified with domain "number" (was ${actual})`
40717
40004
  };
40718
40005
 
40719
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/intersection.js
40006
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/intersection.js
40720
40007
  var implementation14 = implementNode({
40721
40008
  kind: "intersection",
40722
40009
  hasAssociatedError: true,
@@ -40818,7 +40105,7 @@ var implementation14 = implementNode({
40818
40105
  if (node.basis && !node.prestructurals.some((r2) => r2.impl.obviatesBasisDescription))
40819
40106
  childDescriptions.push(node.basis.description);
40820
40107
  if (node.prestructurals.length) {
40821
- const sortedRefinementDescriptions = node.prestructurals.toSorted((l2, r2) => l2.kind === "min" && r2.kind === "max" ? -1 : 0).map((r2) => r2.description);
40108
+ const sortedRefinementDescriptions = node.prestructurals.slice().sort((l2, r2) => l2.kind === "min" && r2.kind === "max" ? -1 : 0).map((r2) => r2.description);
40822
40109
  childDescriptions.push(...sortedRefinementDescriptions);
40823
40110
  }
40824
40111
  if (node.inner.predicate) {
@@ -40879,7 +40166,7 @@ class IntersectionNode extends BaseRoot {
40879
40166
  if (ctx.failFast && ctx.currentErrorCount > errorCount)
40880
40167
  return;
40881
40168
  }
40882
- this.prestructurals.at(-1).traverseApply(data, ctx);
40169
+ this.prestructurals[this.prestructurals.length - 1].traverseApply(data, ctx);
40883
40170
  if (ctx.currentErrorCount > errorCount)
40884
40171
  return;
40885
40172
  }
@@ -40894,7 +40181,7 @@ class IntersectionNode extends BaseRoot {
40894
40181
  if (ctx.failFast && ctx.currentErrorCount > errorCount)
40895
40182
  return;
40896
40183
  }
40897
- this.inner.predicate.at(-1).traverseApply(data, ctx);
40184
+ this.inner.predicate[this.inner.predicate.length - 1].traverseApply(data, ctx);
40898
40185
  }
40899
40186
  };
40900
40187
  compile(js) {
@@ -40915,7 +40202,7 @@ class IntersectionNode extends BaseRoot {
40915
40202
  js.check(this.prestructurals[i2]);
40916
40203
  js.returnIfFailFast();
40917
40204
  }
40918
- js.check(this.prestructurals.at(-1));
40205
+ js.check(this.prestructurals[this.prestructurals.length - 1]);
40919
40206
  if (this.structure || this.inner.predicate)
40920
40207
  js.returnIfFail();
40921
40208
  }
@@ -40929,7 +40216,7 @@ class IntersectionNode extends BaseRoot {
40929
40216
  js.check(this.inner.predicate[i2]);
40930
40217
  js.returnIfFail();
40931
40218
  }
40932
- js.check(this.inner.predicate.at(-1));
40219
+ js.check(this.inner.predicate[this.inner.predicate.length - 1]);
40933
40220
  }
40934
40221
  }
40935
40222
  }
@@ -40966,7 +40253,7 @@ var intersectIntersections = (l2, r2, ctx) => {
40966
40253
  });
40967
40254
  };
40968
40255
 
40969
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/morph.js
40256
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/morph.js
40970
40257
  var implementation15 = implementNode({
40971
40258
  kind: "morph",
40972
40259
  hasAssociatedError: false,
@@ -41035,7 +40322,7 @@ var implementation15 = implementNode({
41035
40322
  class MorphNode extends BaseRoot {
41036
40323
  serializedMorphs = this.morphs.map(registeredReference);
41037
40324
  compiledMorphs = `[${this.serializedMorphs}]`;
41038
- lastMorph = this.inner.morphs.at(-1);
40325
+ lastMorph = this.inner.morphs[this.inner.morphs.length - 1];
41039
40326
  lastMorphIfNode = hasArkKind(this.lastMorph, "root") ? this.lastMorph : undefined;
41040
40327
  introspectableIn = this.inner.in;
41041
40328
  introspectableOut = this.lastMorphIfNode ? Object.assign(this.referencesById, this.lastMorphIfNode.referencesById) && this.lastMorphIfNode.rawOut : undefined;
@@ -41102,7 +40389,7 @@ var writeMorphIntersectionMessage = (lDescription, rDescription) => `The interse
41102
40389
  Left: ${lDescription}
41103
40390
  Right: ${rDescription}`;
41104
40391
 
41105
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/proto.js
40392
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/proto.js
41106
40393
  var implementation16 = implementNode({
41107
40394
  kind: "proto",
41108
40395
  hasAssociatedError: true,
@@ -41175,7 +40462,7 @@ var Proto = {
41175
40462
  writeInvalidSchemaMessage: (actual) => `instanceOf operand must be a function (was ${domainOf(actual)})`
41176
40463
  };
41177
40464
 
41178
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/union.js
40465
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/union.js
41179
40466
  var implementation17 = implementNode({
41180
40467
  kind: "union",
41181
40468
  hasAssociatedError: true,
@@ -41745,7 +41032,7 @@ var writeOrderedIntersectionMessage = (lDescription, rDescription) => `The inter
41745
41032
  Left: ${lDescription}
41746
41033
  Right: ${rDescription}`;
41747
41034
 
41748
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/unit.js
41035
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/unit.js
41749
41036
  var implementation18 = implementNode({
41750
41037
  kind: "unit",
41751
41038
  hasAssociatedError: true,
@@ -41807,7 +41094,7 @@ var compileEqualityCheck = (unit, serializedValue, negated) => {
41807
41094
  return `data ${negated ? "!" : "="}== ${serializedValue}`;
41808
41095
  };
41809
41096
 
41810
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/index.js
41097
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/index.js
41811
41098
  var implementation19 = implementNode({
41812
41099
  kind: "index",
41813
41100
  hasAssociatedError: false,
@@ -41884,7 +41171,7 @@ var Index2 = {
41884
41171
  var writeEnumerableIndexBranches = (keys2) => `Index keys ${keys2.join(", ")} should be specified as named props.`;
41885
41172
  var writeInvalidPropertyKeyMessage = (indexSchema) => `Indexed key definition '${indexSchema}' must be a string or symbol`;
41886
41173
 
41887
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/required.js
41174
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/required.js
41888
41175
  var implementation20 = implementNode({
41889
41176
  kind: "required",
41890
41177
  hasAssociatedError: true,
@@ -41923,7 +41210,7 @@ var Required = {
41923
41210
  Node: RequiredNode
41924
41211
  };
41925
41212
 
41926
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/sequence.js
41213
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/sequence.js
41927
41214
  var implementation21 = implementNode({
41928
41215
  kind: "sequence",
41929
41216
  hasAssociatedError: false,
@@ -42009,10 +41296,10 @@ var implementation21 = implementNode({
42009
41296
  const optionals = raw.optionals?.slice() ?? [];
42010
41297
  const postfix = raw.postfix?.slice() ?? [];
42011
41298
  if (raw.variadic) {
42012
- while (optionals.at(-1)?.equals(raw.variadic))
41299
+ while (optionals[optionals.length - 1]?.equals(raw.variadic))
42013
41300
  optionals.pop();
42014
41301
  if (optionals.length === 0 && defaultables.length === 0) {
42015
- while (prefix.at(-1)?.equals(raw.variadic)) {
41302
+ while (prefix[prefix.length - 1]?.equals(raw.variadic)) {
42016
41303
  prefix.pop();
42017
41304
  minVariadicLength++;
42018
41305
  }
@@ -42246,8 +41533,8 @@ var _intersectSequences = (s2) => {
42246
41533
  const [rHead, ...rTail] = s2.r;
42247
41534
  if (!lHead || !rHead)
42248
41535
  return s2;
42249
- const lHasPostfix = lTail.at(-1)?.kind === "postfix";
42250
- const rHasPostfix = rTail.at(-1)?.kind === "postfix";
41536
+ const lHasPostfix = lTail[lTail.length - 1]?.kind === "postfix";
41537
+ const rHasPostfix = rTail[rTail.length - 1]?.kind === "postfix";
42251
41538
  const kind = lHead.kind === "prefix" || rHead.kind === "prefix" ? "prefix" : lHead.kind === "postfix" || rHead.kind === "postfix" ? "postfix" : lHead.kind === "variadic" && rHead.kind === "variadic" ? "variadic" : lHasPostfix || rHasPostfix ? "prefix" : lHead.kind === "defaultables" || rHead.kind === "defaultables" ? "defaultables" : "optionals";
42252
41539
  if (lHead.kind === "prefix" && rHead.kind === "variadic" && rHasPostfix) {
42253
41540
  const postfixBranchResult = _intersectSequences({
@@ -42305,7 +41592,7 @@ var _intersectSequences = (s2) => {
42305
41592
  };
42306
41593
  var elementIsRequired = (el) => el.kind === "prefix" || el.kind === "postfix";
42307
41594
 
42308
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/structure.js
41595
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/structure.js
42309
41596
  var createStructuralWriter = (childStringProp) => (node) => {
42310
41597
  if (node.props.length || node.index) {
42311
41598
  const parts = node.index?.map((index) => index[childStringProp]) ?? [];
@@ -42988,7 +42275,7 @@ var typeKeyToString = (k2) => hasArkKind(k2, "root") ? k2.expression : printable
42988
42275
  var writeInvalidKeysMessage = (o2, keys2) => `Key${keys2.length === 1 ? "" : "s"} ${keys2.map(typeKeyToString).join(", ")} ${keys2.length === 1 ? "does" : "do"} not exist on ${o2}`;
42989
42276
  var writeDuplicateKeyMessage = (key) => `Duplicate key ${compileSerializedValue(key)}`;
42990
42277
 
42991
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/kinds.js
42278
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/kinds.js
42992
42279
  var nodeImplementationsByKind = {
42993
42280
  ...boundImplementationsByKind,
42994
42281
  alias: Alias.implementation,
@@ -43041,7 +42328,7 @@ var nodeClassesByKind = {
43041
42328
  structure: Structure.Node
43042
42329
  };
43043
42330
 
43044
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/module.js
42331
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/module.js
43045
42332
  class RootModule extends DynamicBase {
43046
42333
  get [arkKind]() {
43047
42334
  return "module";
@@ -43052,7 +42339,7 @@ var bindModule = (module, $2) => new RootModule(flatMorph(module, (alias, value)
43052
42339
  hasArkKind(value, "module") ? bindModule(value, $2) : $2.bindReference(value)
43053
42340
  ]));
43054
42341
 
43055
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/scope.js
42342
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/scope.js
43056
42343
  var schemaBranchesOf = (schema) => isArray2(schema) ? schema : ("branches" in schema) && isArray2(schema.branches) ? schema.branches : undefined;
43057
42344
  var throwMismatchedNodeRootError = (expected, actual) => throwParseError(`Node of kind ${actual} is not valid as a ${expected} definition`);
43058
42345
  var writeDuplicateAliasError = (alias) => `#${alias} duplicates public alias ${alias}`;
@@ -43459,12 +42746,12 @@ var node = rootSchemaScope.node;
43459
42746
  var defineSchema = rootSchemaScope.defineSchema;
43460
42747
  var genericNode = rootSchemaScope.generic;
43461
42748
 
43462
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/shared.js
42749
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/shared.js
43463
42750
  var arrayIndexSource = `^(?:0|[1-9]\\d*)$`;
43464
42751
  var arrayIndexMatcher = new RegExp(arrayIndexSource);
43465
42752
  var arrayIndexMatcherReference = registeredReference(arrayIndexMatcher);
43466
42753
 
43467
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/intrinsic.js
42754
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/intrinsic.js
43468
42755
  var intrinsicBases = schemaScope({
43469
42756
  bigint: "bigint",
43470
42757
  boolean: [{ unit: false }, { unit: true }],
@@ -43519,8 +42806,8 @@ $ark.intrinsic = { ...intrinsic };
43519
42806
  // ../../node_modules/.pnpm/arkregex@0.0.2/node_modules/arkregex/out/regex.js
43520
42807
  var regex = (src, flags) => new RegExp(src, flags);
43521
42808
  Object.assign(regex, { as: regex });
43522
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/date.js
43523
- var isDateLiteral = (value) => typeof value === "string" && value[0] === "d" && (value[1] === "'" || value[1] === '"') && value.at(-1) === value[1];
42809
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/date.js
42810
+ var isDateLiteral = (value) => typeof value === "string" && value[0] === "d" && (value[1] === "'" || value[1] === '"') && value[value.length - 1] === value[1];
43524
42811
  var isValidDate = (d2) => d2.toString() !== "Invalid Date";
43525
42812
  var extractDateLiteralSource = (literal2) => literal2.slice(2, -1);
43526
42813
  var writeInvalidDateMessage = (source) => `'${source}' could not be parsed by the Date constructor`;
@@ -43538,7 +42825,7 @@ var maybeParseDate = (source, errorOnFail) => {
43538
42825
  return errorOnFail ? throwParseError(errorOnFail === true ? writeInvalidDateMessage(source) : errorOnFail) : undefined;
43539
42826
  };
43540
42827
 
43541
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/enclosed.js
42828
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/enclosed.js
43542
42829
  var parseEnclosed = (s2, enclosing) => {
43543
42830
  const enclosed = s2.scanner.shiftUntilEscapable(untilLookaheadIsClosing[enclosingTokens[enclosing]]);
43544
42831
  if (s2.scanner.lookahead === "")
@@ -43592,12 +42879,12 @@ var enclosingCharDescriptions = {
43592
42879
  };
43593
42880
  var writeUnterminatedEnclosedMessage = (fragment2, enclosingStart) => `${enclosingStart}${fragment2} requires a closing ${enclosingCharDescriptions[enclosingTokens[enclosingStart]]}`;
43594
42881
 
43595
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/ast/validate.js
42882
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/ast/validate.js
43596
42883
  var writePrefixedPrivateReferenceMessage = (name) => `Private type references should not include '#'. Use '${name}' instead.`;
43597
42884
  var shallowOptionalMessage = "Optional definitions like 'string?' are only valid as properties in an object or tuple";
43598
42885
  var shallowDefaultableMessage = "Defaultable definitions like 'number = 0' are only valid as properties in an object or tuple";
43599
42886
 
43600
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/tokens.js
42887
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/tokens.js
43601
42888
  var terminatingChars = {
43602
42889
  "<": 1,
43603
42890
  ">": 1,
@@ -43615,7 +42902,7 @@ var terminatingChars = {
43615
42902
  };
43616
42903
  var lookaheadIsFinalizing = (lookahead, unscanned) => lookahead === ">" ? unscanned[0] === "=" ? unscanned[1] === "=" : unscanned.trimStart() === "" || isKeyOf(unscanned.trimStart()[0], terminatingChars) : lookahead === "=" ? unscanned[0] !== "=" : lookahead === "," || lookahead === "?";
43617
42904
 
43618
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/genericArgs.js
42905
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/genericArgs.js
43619
42906
  var parseGenericArgs = (name, g2, s2) => _parseGenericArgs(name, g2, s2, []);
43620
42907
  var _parseGenericArgs = (name, g2, s2, argNodes) => {
43621
42908
  const argState = s2.parseUntilFinalizer();
@@ -43632,7 +42919,7 @@ var _parseGenericArgs = (name, g2, s2, argNodes) => {
43632
42919
  };
43633
42920
  var writeInvalidGenericArgCountMessage = (name, params, argDefs) => `${name}<${params.join(", ")}> requires exactly ${params.length} args (got ${argDefs.length}${argDefs.length === 0 ? "" : `: ${argDefs.join(", ")}`})`;
43634
42921
 
43635
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/unenclosed.js
42922
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/unenclosed.js
43636
42923
  var parseUnenclosed = (s2) => {
43637
42924
  const token = s2.scanner.shiftUntilLookahead(terminatingChars);
43638
42925
  if (token === "keyof")
@@ -43680,10 +42967,10 @@ var writeMissingOperandMessage = (s2) => {
43680
42967
  var writeMissingRightOperandMessage = (token, unscanned = "") => `Token '${token}' requires a right operand${unscanned ? ` before '${unscanned}'` : ""}`;
43681
42968
  var writeExpressionExpectedMessage = (unscanned) => `Expected an expression${unscanned ? ` before '${unscanned}'` : ""}`;
43682
42969
 
43683
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/operand.js
42970
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/operand.js
43684
42971
  var parseOperand = (s2) => s2.scanner.lookahead === "" ? s2.error(writeMissingOperandMessage(s2)) : s2.scanner.lookahead === "(" ? s2.shiftedByOne().reduceGroupOpen() : s2.scanner.lookaheadIsIn(enclosingChar) ? parseEnclosed(s2, s2.scanner.shift()) : s2.scanner.lookaheadIsIn(whitespaceChars) ? parseOperand(s2.shiftedByOne()) : s2.scanner.lookahead === "d" ? s2.scanner.nextLookahead in enclosingQuote ? parseEnclosed(s2, `${s2.scanner.shift()}${s2.scanner.shift()}`) : parseUnenclosed(s2) : parseUnenclosed(s2);
43685
42972
 
43686
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/reduce/shared.js
42973
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/reduce/shared.js
43687
42974
  var minComparators = {
43688
42975
  ">": true,
43689
42976
  ">=": true
@@ -43703,7 +42990,7 @@ var writeOpenRangeMessage = (min2, comparator) => `Left bounds are only valid wh
43703
42990
  var writeUnpairableComparatorMessage = (comparator) => `Left-bounded expressions must specify their limits using < or <= (was ${comparator})`;
43704
42991
  var writeMultipleLeftBoundsMessage = (openLimit, openComparator, limit2, comparator) => `An expression may have at most one left bound (parsed ${openLimit}${invertedComparators[openComparator]}, ${limit2}${invertedComparators[comparator]})`;
43705
42992
 
43706
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/bounds.js
42993
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/bounds.js
43707
42994
  var parseBound = (s2, start) => {
43708
42995
  const comparator = shiftComparator(s2, start);
43709
42996
  if (s2.root.hasKind("unit")) {
@@ -43774,14 +43061,14 @@ var parseRightBound = (s2, comparator) => {
43774
43061
  };
43775
43062
  var writeInvalidLimitMessage = (comparator, limit2, boundKind) => `Comparator ${boundKind === "left" ? invertedComparators[comparator] : comparator} must be ${boundKind === "left" ? "preceded" : "followed"} by a corresponding literal (was ${limit2})`;
43776
43063
 
43777
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/brand.js
43064
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/brand.js
43778
43065
  var parseBrand = (s2) => {
43779
43066
  s2.scanner.shiftUntilNonWhitespace();
43780
43067
  const brandName = s2.scanner.shiftUntilLookahead(terminatingChars);
43781
43068
  s2.root = s2.root.brand(brandName);
43782
43069
  };
43783
43070
 
43784
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/divisor.js
43071
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/divisor.js
43785
43072
  var parseDivisor = (s2) => {
43786
43073
  s2.scanner.shiftUntilNonWhitespace();
43787
43074
  const divisorToken = s2.scanner.shiftUntilLookahead(terminatingChars);
@@ -43794,7 +43081,7 @@ var parseDivisor = (s2) => {
43794
43081
  };
43795
43082
  var writeInvalidDivisorMessage = (divisor2) => `% operator must be followed by a non-zero integer literal (was ${divisor2})`;
43796
43083
 
43797
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/operator.js
43084
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/operator.js
43798
43085
  var parseOperator = (s2) => {
43799
43086
  const lookahead = s2.scanner.shift();
43800
43087
  return lookahead === "" ? s2.finalize("") : lookahead === "[" ? s2.scanner.shift() === "]" ? s2.setRoot(s2.root.array()) : s2.error(incompleteArrayTokenMessage) : lookahead === "|" ? s2.scanner.lookahead === ">" ? s2.shiftedByOne().pushRootToBranch("|>") : s2.pushRootToBranch(lookahead) : lookahead === "&" ? s2.pushRootToBranch(lookahead) : lookahead === ")" ? s2.finalizeGroup() : lookaheadIsFinalizing(lookahead, s2.scanner.unscanned) ? s2.finalize(lookahead) : isKeyOf(lookahead, comparatorStartChars) ? parseBound(s2, lookahead) : lookahead === "%" ? parseDivisor(s2) : lookahead === "#" ? parseBrand(s2) : (lookahead in whitespaceChars) ? parseOperator(s2) : s2.error(writeUnexpectedCharacterMessage(lookahead));
@@ -43802,7 +43089,7 @@ var parseOperator = (s2) => {
43802
43089
  var writeUnexpectedCharacterMessage = (char2, shouldBe = "") => `'${char2}' is not allowed here${shouldBe && ` (should be ${shouldBe})`}`;
43803
43090
  var incompleteArrayTokenMessage = `Missing expected ']'`;
43804
43091
 
43805
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/default.js
43092
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/default.js
43806
43093
  var parseDefault = (s2) => {
43807
43094
  const baseNode = s2.unsetRoot();
43808
43095
  s2.parseOperand();
@@ -43814,7 +43101,7 @@ var parseDefault = (s2) => {
43814
43101
  };
43815
43102
  var writeNonLiteralDefaultMessage = (defaultDef) => `Default value '${defaultDef}' must be a literal value`;
43816
43103
 
43817
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/string.js
43104
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/string.js
43818
43105
  var parseString = (def, ctx) => {
43819
43106
  const aliasResolution = ctx.$.maybeResolveRoot(def);
43820
43107
  if (aliasResolution)
@@ -43853,7 +43140,7 @@ var parseUntilFinalizer = (s2) => {
43853
43140
  };
43854
43141
  var next = (s2) => s2.hasRoot() ? s2.parseOperator() : s2.parseOperand();
43855
43142
 
43856
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/reduce/dynamic.js
43143
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/reduce/dynamic.js
43857
43144
  class RuntimeState {
43858
43145
  root;
43859
43146
  branches = {
@@ -43982,7 +43269,7 @@ class RuntimeState {
43982
43269
  };
43983
43270
  }
43984
43271
  previousOperator() {
43985
- return this.branches.leftBound?.comparator ?? this.branches.prefixes.at(-1) ?? (this.branches.intersection ? "&" : this.branches.union ? "|" : this.branches.pipe ? "|>" : undefined);
43272
+ return this.branches.leftBound?.comparator ?? this.branches.prefixes[this.branches.prefixes.length - 1] ?? (this.branches.intersection ? "&" : this.branches.union ? "|" : this.branches.pipe ? "|>" : undefined);
43986
43273
  }
43987
43274
  shiftedByOne() {
43988
43275
  this.scanner.shift();
@@ -43990,7 +43277,7 @@ class RuntimeState {
43990
43277
  }
43991
43278
  }
43992
43279
 
43993
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/generic.js
43280
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/generic.js
43994
43281
  var emptyGenericParameterMessage = "An empty string is not a valid generic parameter name";
43995
43282
  var parseGenericParamName = (scanner2, result, ctx) => {
43996
43283
  scanner2.shiftUntilNonWhitespace();
@@ -44018,7 +43305,7 @@ var _parseOptionalConstraint = (scanner2, name, result, ctx) => {
44018
43305
  result.push([name, s2.root]);
44019
43306
  return parseGenericParamName(scanner2, result, ctx);
44020
43307
  };
44021
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/fn.js
43308
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/fn.js
44022
43309
  class InternalFnParser extends Callable {
44023
43310
  constructor($2) {
44024
43311
  const attach = {
@@ -44060,7 +43347,7 @@ class InternalTypedFn extends Callable {
44060
43347
  this.params = params;
44061
43348
  this.returns = returns;
44062
43349
  let argsExpression = params.expression;
44063
- if (argsExpression[0] === "[" && argsExpression.at(-1) === "]")
43350
+ if (argsExpression[0] === "[" && argsExpression[argsExpression.length - 1] === "]")
44064
43351
  argsExpression = argsExpression.slice(1, -1);
44065
43352
  else if (argsExpression.endsWith("[]"))
44066
43353
  argsExpression = `...${argsExpression}`;
@@ -44070,7 +43357,7 @@ class InternalTypedFn extends Callable {
44070
43357
  var badFnReturnTypeMessage = `":" must be followed by exactly one return type e.g:
44071
43358
  fn("string", ":", "number")(s => s.length)`;
44072
43359
 
44073
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/match.js
43360
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/match.js
44074
43361
  class InternalMatchParser extends Callable {
44075
43362
  $;
44076
43363
  constructor($2) {
@@ -44164,7 +43451,7 @@ var throwOnDefault = (errors5) => errors5.throw();
44164
43451
  var chainedAtMessage = `A key matcher must be specified before the first case i.e. match.at('foo') or match.in<object>().at('bar')`;
44165
43452
  var doubleAtMessage = `At most one key matcher may be specified per expression`;
44166
43453
 
44167
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/property.js
43454
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/property.js
44168
43455
  var parseProperty = (def, ctx) => {
44169
43456
  if (isArray2(def)) {
44170
43457
  if (def[1] === "=")
@@ -44177,7 +43464,7 @@ var parseProperty = (def, ctx) => {
44177
43464
  var invalidOptionalKeyKindMessage = `Only required keys may make their values optional, e.g. { [mySymbol]: ['number', '?'] }`;
44178
43465
  var invalidDefaultableKeyKindMessage = `Only required keys may specify default values, e.g. { value: 'number = 0' }`;
44179
43466
 
44180
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/objectLiteral.js
43467
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/objectLiteral.js
44181
43468
  var parseObjectLiteral = (def, ctx) => {
44182
43469
  let spread;
44183
43470
  const structure3 = {};
@@ -44253,16 +43540,16 @@ var appendNamedProp = (structure3, kind, inner, ctx) => {
44253
43540
  };
44254
43541
  var writeInvalidUndeclaredBehaviorMessage = (actual) => `Value of '+' key must be 'reject', 'delete', or 'ignore' (was ${printable(actual)})`;
44255
43542
  var nonLeadingSpreadError = "Spread operator may only be used as the first key in an object";
44256
- var preparseKey = (key) => typeof key === "symbol" ? { kind: "required", normalized: key } : key.at(-1) === "?" ? key.at(-2) === Backslash ? { kind: "required", normalized: `${key.slice(0, -2)}?` } : {
43543
+ var preparseKey = (key) => typeof key === "symbol" ? { kind: "required", normalized: key } : key[key.length - 1] === "?" ? key[key.length - 2] === Backslash ? { kind: "required", normalized: `${key.slice(0, -2)}?` } : {
44257
43544
  kind: "optional",
44258
43545
  normalized: key.slice(0, -1)
44259
- } : key[0] === "[" && key.at(-1) === "]" ? { kind: "index", normalized: key.slice(1, -1) } : key[0] === Backslash && key[1] === "[" && key.at(-1) === "]" ? { kind: "required", normalized: key.slice(1) } : key === "..." ? { kind: "spread" } : key === "+" ? { kind: "undeclared" } : {
43546
+ } : key[0] === "[" && key[key.length - 1] === "]" ? { kind: "index", normalized: key.slice(1, -1) } : key[0] === Backslash && key[1] === "[" && key[key.length - 1] === "]" ? { kind: "required", normalized: key.slice(1) } : key === "..." ? { kind: "spread" } : key === "+" ? { kind: "undeclared" } : {
44260
43547
  kind: "required",
44261
43548
  normalized: key === "\\..." ? "..." : key === "\\+" ? "+" : key
44262
43549
  };
44263
43550
  var writeInvalidSpreadTypeMessage = (def) => `Spread operand must resolve to an object literal type (was ${def})`;
44264
43551
 
44265
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/tupleExpressions.js
43552
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/tupleExpressions.js
44266
43553
  var maybeParseTupleExpression = (def, ctx) => isIndexZeroExpression(def) ? indexZeroParsers[def[0]](def, ctx) : isIndexOneExpression(def) ? indexOneParsers[def[1]](def, ctx) : null;
44267
43554
  var parseKeyOfTuple = (def, ctx) => ctx.$.parseOwnDefinitionFormat(def[1], ctx).keyof();
44268
43555
  var parseBranchTuple = (def, ctx) => {
@@ -44323,7 +43610,7 @@ var indexZeroParsers = defineIndexZeroParsers({
44323
43610
  var isIndexZeroExpression = (def) => indexZeroParsers[def[0]] !== undefined;
44324
43611
  var writeInvalidConstructorMessage = (actual) => `Expected a constructor following 'instanceof' operator (was ${actual})`;
44325
43612
 
44326
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/tupleLiteral.js
43613
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/tupleLiteral.js
44327
43614
  var parseTupleLiteral = (def, ctx) => {
44328
43615
  let sequences = [{}];
44329
43616
  let i2 = 0;
@@ -44419,7 +43706,7 @@ var requiredPostOptionalMessage = "A required element may not follow an optional
44419
43706
  var optionalOrDefaultableAfterVariadicMessage = "An optional element may not follow a variadic element";
44420
43707
  var defaultablePostOptionalMessage = "A defaultable element may not follow an optional element without a default";
44421
43708
 
44422
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/definition.js
43709
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/definition.js
44423
43710
  var parseCache = {};
44424
43711
  var parseInnerDefinition = (def, ctx) => {
44425
43712
  if (typeof def === "string") {
@@ -44458,7 +43745,7 @@ var parseObject = (def, ctx) => {
44458
43745
  var parseTuple = (def, ctx) => maybeParseTupleExpression(def, ctx) ?? parseTupleLiteral(def, ctx);
44459
43746
  var writeBadDefinitionTypeMessage = (actual) => `Type definitions must be strings or objects (was ${actual})`;
44460
43747
 
44461
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/type.js
43748
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/type.js
44462
43749
  class InternalTypeParser extends Callable {
44463
43750
  constructor($2) {
44464
43751
  const attach = Object.assign({
@@ -44488,7 +43775,7 @@ class InternalTypeParser extends Callable {
44488
43775
  if (args2.length === 1) {
44489
43776
  return $2.parse(args2[0]);
44490
43777
  }
44491
- if (args2.length === 2 && typeof args2[0] === "string" && args2[0][0] === "<" && args2[0].at(-1) === ">") {
43778
+ if (args2.length === 2 && typeof args2[0] === "string" && args2[0][0] === "<" && args2[0][args2[0].length - 1] === ">") {
44492
43779
  const paramString = args2[0].slice(1, -1);
44493
43780
  const params = $2.parseGenericParams(paramString, {});
44494
43781
  return new GenericRoot(params, args2[1], $2, $2, null);
@@ -44500,7 +43787,7 @@ class InternalTypeParser extends Callable {
44500
43787
  }
44501
43788
  }
44502
43789
 
44503
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/scope.js
43790
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/scope.js
44504
43791
  var $arkTypeRegistry = $ark;
44505
43792
 
44506
43793
  class InternalScope extends BaseScope {
@@ -44523,7 +43810,7 @@ class InternalScope extends BaseScope {
44523
43810
  def = [def, "@", config3];
44524
43811
  return [alias, def];
44525
43812
  }
44526
- if (alias.at(-1) !== ">") {
43813
+ if (alias[alias.length - 1] !== ">") {
44527
43814
  throwParseError(`'>' must be the last character of a generic declaration in a scope`);
44528
43815
  }
44529
43816
  const name = alias.slice(0, firstParamIndex);
@@ -44594,7 +43881,7 @@ var scope2 = Object.assign(InternalScope.scope, {
44594
43881
  });
44595
43882
  var Scope = InternalScope;
44596
43883
 
44597
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/builtins.js
43884
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/builtins.js
44598
43885
  class MergeHkt extends Hkt {
44599
43886
  description = 'merge an object\'s properties onto another like `Merge(User, { isAdmin: "true" })`';
44600
43887
  }
@@ -44604,7 +43891,7 @@ var arkBuiltins = Scope.module({
44604
43891
  Merge
44605
43892
  });
44606
43893
 
44607
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/Array.js
43894
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/Array.js
44608
43895
  class liftFromHkt extends Hkt {
44609
43896
  }
44610
43897
  var liftFrom = genericNode("element")((args2) => {
@@ -44621,7 +43908,7 @@ var arkArray = Scope.module({
44621
43908
  name: "Array"
44622
43909
  });
44623
43910
 
44624
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/FormData.js
43911
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/FormData.js
44625
43912
  var value = rootSchema(["string", registry2.FileConstructor]);
44626
43913
  var parsedFormDataValue = value.rawOr(value.array());
44627
43914
  var parsed = rootSchema({
@@ -44658,7 +43945,7 @@ var arkFormData = Scope.module({
44658
43945
  name: "FormData"
44659
43946
  });
44660
43947
 
44661
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/TypedArray.js
43948
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/TypedArray.js
44662
43949
  var TypedArray = Scope.module({
44663
43950
  Int8: ["instanceof", Int8Array],
44664
43951
  Uint8: ["instanceof", Uint8Array],
@@ -44675,7 +43962,7 @@ var TypedArray = Scope.module({
44675
43962
  name: "TypedArray"
44676
43963
  });
44677
43964
 
44678
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/constructors.js
43965
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/constructors.js
44679
43966
  var omittedPrototypes = {
44680
43967
  Boolean: 1,
44681
43968
  Number: 1,
@@ -44688,7 +43975,7 @@ var arkPrototypes = Scope.module({
44688
43975
  FormData: arkFormData
44689
43976
  });
44690
43977
 
44691
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/number.js
43978
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/number.js
44692
43979
  var epoch = rootSchema({
44693
43980
  domain: {
44694
43981
  domain: "number",
@@ -44731,7 +44018,7 @@ var number4 = Scope.module({
44731
44018
  name: "number"
44732
44019
  });
44733
44020
 
44734
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/string.js
44021
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/string.js
44735
44022
  var regexStringNode = (regex2, description, jsonSchemaFormat) => {
44736
44023
  const schema = {
44737
44024
  domain: "string",
@@ -44778,7 +44065,7 @@ var capitalize3 = Scope.module({
44778
44065
  name: "string.capitalize"
44779
44066
  });
44780
44067
  var isLuhnValid = (creditCardInput) => {
44781
- const sanitized = creditCardInput.replaceAll(/[ -]+/g, "");
44068
+ const sanitized = creditCardInput.replace(/[ -]+/g, "");
44782
44069
  let sum = 0;
44783
44070
  let digit;
44784
44071
  let tmpNum;
@@ -45122,7 +44409,7 @@ var string4 = Scope.module({
45122
44409
  name: "string"
45123
44410
  });
45124
44411
 
45125
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/ts.js
44412
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/ts.js
45126
44413
  var arkTsKeywords = Scope.module({
45127
44414
  bigint: intrinsic.bigint,
45128
44415
  boolean: intrinsic.boolean,
@@ -45210,7 +44497,7 @@ var arkTsGenerics = Scope.module({
45210
44497
  Required: Required2
45211
44498
  });
45212
44499
 
45213
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/keywords.js
44500
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/keywords.js
45214
44501
  var ark = scope2({
45215
44502
  ...arkTsKeywords,
45216
44503
  ...arkTsGenerics,
@@ -45564,7 +44851,7 @@ async function getLogs(logger, logFilePath = `/var/log/nginx/access.log`, now =
45564
44851
  });
45565
44852
  }
45566
44853
 
45567
- // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__73b29889c45f77bc30b47e8fcb5e317c/node_modules/safegen/dist/arktype/index.js
44854
+ // ../../node_modules/.pnpm/safegen@0.8.1_@floating-ui+react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0__d4eb07124fc3e01c89c3f276998341a3/node_modules/safegen/dist/arktype/index.js
45568
44855
  function arktypeToJsonSchema(type2) {
45569
44856
  return type2.toJsonSchema();
45570
44857
  }