@fedify/vocab-tools 2.2.15 → 2.2.16

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.
@@ -19,6 +19,7 @@ import {
19
19
  importPem,
20
20
  isDecimal,
21
21
  LanguageString,
22
+ normalizeLanguageTag,
22
23
  parseDecimal,
23
24
  type RemoteDocument
24
25
  } from \\"@fedify/vocab-runtime\\";
@@ -39,7 +40,7 @@ function decodeIri(iri: string): URL {
39
40
 
40
41
  function isValidLanguageTag(language: string): boolean {
41
42
  try {
42
- new Intl.Locale(language);
43
+ new Intl.Locale(normalizeLanguageTag(language));
43
44
  return true;
44
45
  } catch (error) {
45
46
  if (error instanceof RangeError) return false;
@@ -256,7 +257,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
256
257
  if (Array.isArray(values.attachments) &&
257
258
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
258
259
  // @ts-ignore: type is checked above.
259
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
260
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
260
261
 
261
262
  for (let i = 0; i < values.attachments.length; i++) {
262
263
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -296,7 +297,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
296
297
  if (Array.isArray(values.attributions) &&
297
298
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
298
299
  // @ts-ignore: type is checked above.
299
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
300
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
300
301
 
301
302
  for (let i = 0; i < values.attributions.length; i++) {
302
303
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -336,7 +337,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
336
337
  if (Array.isArray(values.audiences) &&
337
338
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
338
339
  // @ts-ignore: type is checked above.
339
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
340
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
340
341
 
341
342
  for (let i = 0; i < values.audiences.length; i++) {
342
343
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -376,7 +377,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
376
377
  if (Array.isArray(values.contents) &&
377
378
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
378
379
  // @ts-ignore: type is checked above.
379
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
380
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
380
381
 
381
382
  } else {
382
383
  throw new TypeError(
@@ -391,7 +392,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
391
392
  if (Array.isArray(values.contexts) &&
392
393
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
393
394
  // @ts-ignore: type is checked above.
394
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
395
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
395
396
 
396
397
  for (let i = 0; i < values.contexts.length; i++) {
397
398
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -431,7 +432,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
431
432
  if (Array.isArray(values.names) &&
432
433
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
433
434
  // @ts-ignore: type is checked above.
434
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
435
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
435
436
 
436
437
  } else {
437
438
  throw new TypeError(
@@ -459,7 +460,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
459
460
  if (Array.isArray(values.generators) &&
460
461
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
461
462
  // @ts-ignore: type is checked above.
462
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
463
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
463
464
 
464
465
  for (let i = 0; i < values.generators.length; i++) {
465
466
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -499,7 +500,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
499
500
  if (Array.isArray(values.icons) &&
500
501
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
501
502
  // @ts-ignore: type is checked above.
502
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
503
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
503
504
 
504
505
  for (let i = 0; i < values.icons.length; i++) {
505
506
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -539,7 +540,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
539
540
  if (Array.isArray(values.images) &&
540
541
  values.images.every(v => v instanceof Image || v instanceof URL)) {
541
542
  // @ts-ignore: type is checked above.
542
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
543
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
543
544
 
544
545
  for (let i = 0; i < values.images.length; i++) {
545
546
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -579,7 +580,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
579
580
  if (Array.isArray(values.replyTargets) &&
580
581
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
581
582
  // @ts-ignore: type is checked above.
582
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
583
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
583
584
 
584
585
  for (let i = 0; i < values.replyTargets.length; i++) {
585
586
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -619,7 +620,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
619
620
  if (Array.isArray(values.locations) &&
620
621
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
621
622
  // @ts-ignore: type is checked above.
622
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
623
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
623
624
 
624
625
  for (let i = 0; i < values.locations.length; i++) {
625
626
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -659,7 +660,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
659
660
  if (Array.isArray(values.previews) &&
660
661
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
661
662
  // @ts-ignore: type is checked above.
662
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
663
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
663
664
 
664
665
  for (let i = 0; i < values.previews.length; i++) {
665
666
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -777,7 +778,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
777
778
  if (Array.isArray(values.summaries) &&
778
779
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
779
780
  // @ts-ignore: type is checked above.
780
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
781
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
781
782
 
782
783
  } else {
783
784
  throw new TypeError(
@@ -792,7 +793,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
792
793
  if (Array.isArray(values.tags) &&
793
794
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
794
795
  // @ts-ignore: type is checked above.
795
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
796
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
796
797
 
797
798
  for (let i = 0; i < values.tags.length; i++) {
798
799
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -845,7 +846,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
845
846
  if (Array.isArray(values.urls) &&
846
847
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
847
848
  // @ts-ignore: type is checked above.
848
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
849
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
849
850
 
850
851
  } else {
851
852
  throw new TypeError(
@@ -881,7 +882,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
881
882
  if (Array.isArray(values.tos) &&
882
883
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
883
884
  // @ts-ignore: type is checked above.
884
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
885
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
885
886
 
886
887
  for (let i = 0; i < values.tos.length; i++) {
887
888
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -921,7 +922,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
921
922
  if (Array.isArray(values.btos) &&
922
923
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
923
924
  // @ts-ignore: type is checked above.
924
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
925
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
925
926
 
926
927
  for (let i = 0; i < values.btos.length; i++) {
927
928
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -961,7 +962,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
961
962
  if (Array.isArray(values.ccs) &&
962
963
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
963
964
  // @ts-ignore: type is checked above.
964
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
965
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
965
966
 
966
967
  for (let i = 0; i < values.ccs.length; i++) {
967
968
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -1001,7 +1002,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1001
1002
  if (Array.isArray(values.bccs) &&
1002
1003
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1003
1004
  // @ts-ignore: type is checked above.
1004
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1005
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1005
1006
 
1006
1007
  for (let i = 0; i < values.bccs.length; i++) {
1007
1008
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1093,7 +1094,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1093
1094
  if (Array.isArray(values.proofs) &&
1094
1095
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1095
1096
  // @ts-ignore: type is checked above.
1096
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1097
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1097
1098
 
1098
1099
  for (let i = 0; i < values.proofs.length; i++) {
1099
1100
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1177,7 +1178,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1177
1178
  * Clones this instance, optionally updating it with the given values.
1178
1179
  * @param values The values to update the clone with.
1179
1180
  * @param options The options to use for cloning.
1180
- * @returns The cloned instance.
1181
+ * @returns The cloned instance with its own property arrays. Nested objects
1182
+ * and URLs are shared with this instance.
1181
1183
  */
1182
1184
  clone(
1183
1185
  values:
@@ -1221,13 +1223,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1221
1223
  { id: values.id ?? this.id },
1222
1224
  options
1223
1225
  );
1224
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1226
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1225
1227
  if (\\"attachments\\" in values && values.attachments != null) {
1226
1228
 
1227
1229
  if (Array.isArray(values.attachments) &&
1228
1230
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1229
1231
  // @ts-ignore: type is checked above.
1230
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1232
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1231
1233
 
1232
1234
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1233
1235
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1241,7 +1243,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1241
1243
  );
1242
1244
  }
1243
1245
  }
1244
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1246
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1245
1247
  if (\\"attribution\\" in values && values.attribution != null) {
1246
1248
  if (values.attribution instanceof Application || values.attribution instanceof Group || values.attribution instanceof Organization || values.attribution instanceof Person || values.attribution instanceof Service || values.attribution instanceof URL) {
1247
1249
  // @ts-ignore: type is checked above.
@@ -1268,7 +1270,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1268
1270
  if (Array.isArray(values.attributions) &&
1269
1271
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1270
1272
  // @ts-ignore: type is checked above.
1271
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1273
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1272
1274
 
1273
1275
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1274
1276
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1282,7 +1284,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1282
1284
  );
1283
1285
  }
1284
1286
  }
1285
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1287
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1286
1288
  if (\\"audience\\" in values && values.audience != null) {
1287
1289
  if (values.audience instanceof Object || values.audience instanceof URL) {
1288
1290
  // @ts-ignore: type is checked above.
@@ -1309,7 +1311,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1309
1311
  if (Array.isArray(values.audiences) &&
1310
1312
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1311
1313
  // @ts-ignore: type is checked above.
1312
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1314
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1313
1315
 
1314
1316
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1315
1317
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1323,7 +1325,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1323
1325
  );
1324
1326
  }
1325
1327
  }
1326
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1328
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1327
1329
  if (\\"content\\" in values && values.content != null) {
1328
1330
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
1329
1331
  // @ts-ignore: type is checked above.
@@ -1350,7 +1352,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1350
1352
  if (Array.isArray(values.contents) &&
1351
1353
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1352
1354
  // @ts-ignore: type is checked above.
1353
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1355
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1354
1356
 
1355
1357
  } else {
1356
1358
  throw new TypeError(
@@ -1359,13 +1361,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1359
1361
  );
1360
1362
  }
1361
1363
  }
1362
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1364
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1363
1365
  if (\\"contexts\\" in values && values.contexts != null) {
1364
1366
 
1365
1367
  if (Array.isArray(values.contexts) &&
1366
1368
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1367
1369
  // @ts-ignore: type is checked above.
1368
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1370
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1369
1371
 
1370
1372
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1371
1373
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1379,7 +1381,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1379
1381
  );
1380
1382
  }
1381
1383
  }
1382
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1384
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1383
1385
  if (\\"name\\" in values && values.name != null) {
1384
1386
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
1385
1387
  // @ts-ignore: type is checked above.
@@ -1406,7 +1408,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1406
1408
  if (Array.isArray(values.names) &&
1407
1409
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1408
1410
  // @ts-ignore: type is checked above.
1409
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1411
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1410
1412
 
1411
1413
  } else {
1412
1414
  throw new TypeError(
@@ -1415,7 +1417,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1415
1417
  );
1416
1418
  }
1417
1419
  }
1418
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1420
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1419
1421
  if (\\"endTime\\" in values && values.endTime != null) {
1420
1422
  if (isTemporalInstant(values.endTime)) {
1421
1423
  // @ts-ignore: type is checked above.
@@ -1428,13 +1430,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1428
1430
  );
1429
1431
  }
1430
1432
  }
1431
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1433
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1432
1434
  if (\\"generators\\" in values && values.generators != null) {
1433
1435
 
1434
1436
  if (Array.isArray(values.generators) &&
1435
1437
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1436
1438
  // @ts-ignore: type is checked above.
1437
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1439
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1438
1440
 
1439
1441
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1440
1442
  for (let i = 0; i < values.generators.length; i++) {
@@ -1448,7 +1450,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1448
1450
  );
1449
1451
  }
1450
1452
  }
1451
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1453
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1452
1454
  if (\\"icon\\" in values && values.icon != null) {
1453
1455
  if (values.icon instanceof Image || values.icon instanceof URL) {
1454
1456
  // @ts-ignore: type is checked above.
@@ -1475,7 +1477,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1475
1477
  if (Array.isArray(values.icons) &&
1476
1478
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1477
1479
  // @ts-ignore: type is checked above.
1478
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1480
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1479
1481
 
1480
1482
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1481
1483
  for (let i = 0; i < values.icons.length; i++) {
@@ -1489,7 +1491,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1489
1491
  );
1490
1492
  }
1491
1493
  }
1492
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1494
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1493
1495
  if (\\"image\\" in values && values.image != null) {
1494
1496
  if (values.image instanceof Image || values.image instanceof URL) {
1495
1497
  // @ts-ignore: type is checked above.
@@ -1516,7 +1518,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1516
1518
  if (Array.isArray(values.images) &&
1517
1519
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1518
1520
  // @ts-ignore: type is checked above.
1519
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1521
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1520
1522
 
1521
1523
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1522
1524
  for (let i = 0; i < values.images.length; i++) {
@@ -1530,7 +1532,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1530
1532
  );
1531
1533
  }
1532
1534
  }
1533
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1535
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1534
1536
  if (\\"replyTarget\\" in values && values.replyTarget != null) {
1535
1537
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1536
1538
  // @ts-ignore: type is checked above.
@@ -1557,7 +1559,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1557
1559
  if (Array.isArray(values.replyTargets) &&
1558
1560
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1559
1561
  // @ts-ignore: type is checked above.
1560
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1562
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1561
1563
 
1562
1564
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1563
1565
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1571,7 +1573,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1571
1573
  );
1572
1574
  }
1573
1575
  }
1574
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1576
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1575
1577
  if (\\"location\\" in values && values.location != null) {
1576
1578
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1577
1579
  // @ts-ignore: type is checked above.
@@ -1598,7 +1600,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1598
1600
  if (Array.isArray(values.locations) &&
1599
1601
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1600
1602
  // @ts-ignore: type is checked above.
1601
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1603
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1602
1604
 
1603
1605
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1604
1606
  for (let i = 0; i < values.locations.length; i++) {
@@ -1612,7 +1614,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1612
1614
  );
1613
1615
  }
1614
1616
  }
1615
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1617
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1616
1618
  if (\\"preview\\" in values && values.preview != null) {
1617
1619
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1618
1620
  // @ts-ignore: type is checked above.
@@ -1639,7 +1641,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1639
1641
  if (Array.isArray(values.previews) &&
1640
1642
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1641
1643
  // @ts-ignore: type is checked above.
1642
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1644
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1643
1645
 
1644
1646
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1645
1647
  for (let i = 0; i < values.previews.length; i++) {
@@ -1653,7 +1655,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1653
1655
  );
1654
1656
  }
1655
1657
  }
1656
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1658
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1657
1659
  if (\\"published\\" in values && values.published != null) {
1658
1660
  if (isTemporalInstant(values.published)) {
1659
1661
  // @ts-ignore: type is checked above.
@@ -1666,7 +1668,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1666
1668
  );
1667
1669
  }
1668
1670
  }
1669
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1671
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1670
1672
  if (\\"replies\\" in values && values.replies != null) {
1671
1673
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1672
1674
  // @ts-ignore: type is checked above.
@@ -1679,7 +1681,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1679
1681
  );
1680
1682
  }
1681
1683
  }
1682
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1684
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1683
1685
  if (\\"shares\\" in values && values.shares != null) {
1684
1686
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1685
1687
  // @ts-ignore: type is checked above.
@@ -1692,7 +1694,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1692
1694
  );
1693
1695
  }
1694
1696
  }
1695
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1697
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1696
1698
  if (\\"likes\\" in values && values.likes != null) {
1697
1699
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1698
1700
  // @ts-ignore: type is checked above.
@@ -1705,7 +1707,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1705
1707
  );
1706
1708
  }
1707
1709
  }
1708
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1710
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1709
1711
  if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
1710
1712
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1711
1713
  // @ts-ignore: type is checked above.
@@ -1718,7 +1720,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1718
1720
  );
1719
1721
  }
1720
1722
  }
1721
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1723
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1722
1724
  if (\\"startTime\\" in values && values.startTime != null) {
1723
1725
  if (isTemporalInstant(values.startTime)) {
1724
1726
  // @ts-ignore: type is checked above.
@@ -1731,7 +1733,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1731
1733
  );
1732
1734
  }
1733
1735
  }
1734
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1736
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1735
1737
  if (\\"summary\\" in values && values.summary != null) {
1736
1738
  if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
1737
1739
  // @ts-ignore: type is checked above.
@@ -1758,7 +1760,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1758
1760
  if (Array.isArray(values.summaries) &&
1759
1761
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1760
1762
  // @ts-ignore: type is checked above.
1761
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1763
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1762
1764
 
1763
1765
  } else {
1764
1766
  throw new TypeError(
@@ -1767,13 +1769,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1767
1769
  );
1768
1770
  }
1769
1771
  }
1770
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1772
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1771
1773
  if (\\"tags\\" in values && values.tags != null) {
1772
1774
 
1773
1775
  if (Array.isArray(values.tags) &&
1774
1776
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1775
1777
  // @ts-ignore: type is checked above.
1776
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1778
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1777
1779
 
1778
1780
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1779
1781
  for (let i = 0; i < values.tags.length; i++) {
@@ -1787,7 +1789,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1787
1789
  );
1788
1790
  }
1789
1791
  }
1790
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1792
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1791
1793
  if (\\"updated\\" in values && values.updated != null) {
1792
1794
  if (isTemporalInstant(values.updated)) {
1793
1795
  // @ts-ignore: type is checked above.
@@ -1800,7 +1802,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1800
1802
  );
1801
1803
  }
1802
1804
  }
1803
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1805
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1804
1806
  if (\\"url\\" in values && values.url != null) {
1805
1807
  if (values.url instanceof URL || values.url instanceof Link) {
1806
1808
  // @ts-ignore: type is checked above.
@@ -1827,7 +1829,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1827
1829
  if (Array.isArray(values.urls) &&
1828
1830
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1829
1831
  // @ts-ignore: type is checked above.
1830
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1832
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1831
1833
 
1832
1834
  } else {
1833
1835
  throw new TypeError(
@@ -1836,7 +1838,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1836
1838
  );
1837
1839
  }
1838
1840
  }
1839
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1841
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1840
1842
  if (\\"to\\" in values && values.to != null) {
1841
1843
  if (values.to instanceof Object || values.to instanceof URL) {
1842
1844
  // @ts-ignore: type is checked above.
@@ -1863,7 +1865,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1863
1865
  if (Array.isArray(values.tos) &&
1864
1866
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1865
1867
  // @ts-ignore: type is checked above.
1866
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1868
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1867
1869
 
1868
1870
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1869
1871
  for (let i = 0; i < values.tos.length; i++) {
@@ -1877,7 +1879,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1877
1879
  );
1878
1880
  }
1879
1881
  }
1880
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1882
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1881
1883
  if (\\"bto\\" in values && values.bto != null) {
1882
1884
  if (values.bto instanceof Object || values.bto instanceof URL) {
1883
1885
  // @ts-ignore: type is checked above.
@@ -1904,7 +1906,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1904
1906
  if (Array.isArray(values.btos) &&
1905
1907
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1906
1908
  // @ts-ignore: type is checked above.
1907
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1909
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1908
1910
 
1909
1911
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
1910
1912
  for (let i = 0; i < values.btos.length; i++) {
@@ -1918,7 +1920,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1918
1920
  );
1919
1921
  }
1920
1922
  }
1921
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1923
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1922
1924
  if (\\"cc\\" in values && values.cc != null) {
1923
1925
  if (values.cc instanceof Object || values.cc instanceof URL) {
1924
1926
  // @ts-ignore: type is checked above.
@@ -1945,7 +1947,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1945
1947
  if (Array.isArray(values.ccs) &&
1946
1948
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1947
1949
  // @ts-ignore: type is checked above.
1948
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1950
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1949
1951
 
1950
1952
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
1951
1953
  for (let i = 0; i < values.ccs.length; i++) {
@@ -1959,7 +1961,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1959
1961
  );
1960
1962
  }
1961
1963
  }
1962
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1964
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1963
1965
  if (\\"bcc\\" in values && values.bcc != null) {
1964
1966
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
1965
1967
  // @ts-ignore: type is checked above.
@@ -1986,7 +1988,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1986
1988
  if (Array.isArray(values.bccs) &&
1987
1989
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1988
1990
  // @ts-ignore: type is checked above.
1989
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1991
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1990
1992
 
1991
1993
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
1992
1994
  for (let i = 0; i < values.bccs.length; i++) {
@@ -2000,7 +2002,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2000
2002
  );
2001
2003
  }
2002
2004
  }
2003
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2005
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2004
2006
  if (\\"mediaType\\" in values && values.mediaType != null) {
2005
2007
  if (typeof values.mediaType === \\"string\\") {
2006
2008
  // @ts-ignore: type is checked above.
@@ -2013,7 +2015,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2013
2015
  );
2014
2016
  }
2015
2017
  }
2016
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2018
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2017
2019
  if (\\"duration\\" in values && values.duration != null) {
2018
2020
  if (isTemporalDuration(values.duration)) {
2019
2021
  // @ts-ignore: type is checked above.
@@ -2026,7 +2028,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2026
2028
  );
2027
2029
  }
2028
2030
  }
2029
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2031
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2030
2032
  if (\\"sensitive\\" in values && values.sensitive != null) {
2031
2033
  if (typeof values.sensitive === \\"boolean\\") {
2032
2034
  // @ts-ignore: type is checked above.
@@ -2039,7 +2041,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2039
2041
  );
2040
2042
  }
2041
2043
  }
2042
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2044
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2043
2045
  if (\\"source\\" in values && values.source != null) {
2044
2046
  if (values.source instanceof Source) {
2045
2047
  // @ts-ignore: type is checked above.
@@ -2052,7 +2054,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2052
2054
  );
2053
2055
  }
2054
2056
  }
2055
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2057
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2056
2058
  if (\\"proof\\" in values && values.proof != null) {
2057
2059
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2058
2060
  // @ts-ignore: type is checked above.
@@ -2079,7 +2081,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2079
2081
  if (Array.isArray(values.proofs) &&
2080
2082
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2081
2083
  // @ts-ignore: type is checked above.
2082
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2084
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2083
2085
 
2084
2086
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2085
2087
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2093,7 +2095,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2093
2095
  );
2094
2096
  }
2095
2097
  }
2096
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2098
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2097
2099
  if (\\"interactionPolicy\\" in values && values.interactionPolicy != null) {
2098
2100
  if (values.interactionPolicy instanceof InteractionPolicy) {
2099
2101
  // @ts-ignore: type is checked above.
@@ -2106,7 +2108,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2106
2108
  );
2107
2109
  }
2108
2110
  }
2109
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2111
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2110
2112
  if (\\"approvedBy\\" in values && values.approvedBy != null) {
2111
2113
  if (values.approvedBy instanceof URL) {
2112
2114
  // @ts-ignore: type is checked above.
@@ -2119,7 +2121,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2119
2121
  );
2120
2122
  }
2121
2123
  }
2122
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2124
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2123
2125
  if (\\"likeAuthorization\\" in values && values.likeAuthorization != null) {
2124
2126
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2125
2127
  // @ts-ignore: type is checked above.
@@ -2132,7 +2134,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2132
2134
  );
2133
2135
  }
2134
2136
  }
2135
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2137
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2136
2138
  if (\\"replyAuthorization\\" in values && values.replyAuthorization != null) {
2137
2139
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2138
2140
  // @ts-ignore: type is checked above.
@@ -2145,7 +2147,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2145
2147
  );
2146
2148
  }
2147
2149
  }
2148
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2150
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2149
2151
  if (\\"announceAuthorization\\" in values && values.announceAuthorization != null) {
2150
2152
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2151
2153
  // @ts-ignore: type is checked above.
@@ -13302,7 +13304,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13302
13304
  * Clones this instance, optionally updating it with the given values.
13303
13305
  * @param values The values to update the clone with.
13304
13306
  * @param options The options to use for cloning.
13305
- * @returns The cloned instance.
13307
+ * @returns The cloned instance with its own property arrays. Nested objects
13308
+ * and URLs are shared with this instance.
13306
13309
  */
13307
13310
  override clone(
13308
13311
  values:
@@ -13696,7 +13699,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13696
13699
  * Clones this instance, optionally updating it with the given values.
13697
13700
  * @param values The values to update the clone with.
13698
13701
  * @param options The options to use for cloning.
13699
- * @returns The cloned instance.
13702
+ * @returns The cloned instance with its own property arrays. Nested objects
13703
+ * and URLs are shared with this instance.
13700
13704
  */
13701
13705
  override clone(
13702
13706
  values:
@@ -13734,7 +13738,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13734
13738
  // @ts-ignore: \$warning is not recognized as a property, but it is.
13735
13739
  options = { ...options, \$warning: this._warning };
13736
13740
  }
13737
- const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
13741
+ const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
13738
13742
  if (\\"quote\\" in values && values.quote != null) {
13739
13743
  if (values.quote instanceof Object || values.quote instanceof URL) {
13740
13744
  // @ts-ignore: type is checked above.
@@ -13747,7 +13751,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13747
13751
  );
13748
13752
  }
13749
13753
  }
13750
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
13754
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
13751
13755
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
13752
13756
  if (values.quoteUrl instanceof URL) {
13753
13757
  // @ts-ignore: type is checked above.
@@ -13760,7 +13764,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13760
13764
  );
13761
13765
  }
13762
13766
  }
13763
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
13767
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
13764
13768
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
13765
13769
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
13766
13770
  // @ts-ignore: type is checked above.
@@ -14906,7 +14910,7 @@ instruments?: (Object | URL)[];}
14906
14910
  if (Array.isArray(values.actors) &&
14907
14911
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
14908
14912
  // @ts-ignore: type is checked above.
14909
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
14913
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
14910
14914
 
14911
14915
  for (let i = 0; i < values.actors.length; i++) {
14912
14916
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -14946,7 +14950,7 @@ instruments?: (Object | URL)[];}
14946
14950
  if (Array.isArray(values.objects) &&
14947
14951
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
14948
14952
  // @ts-ignore: type is checked above.
14949
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
14953
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
14950
14954
 
14951
14955
  for (let i = 0; i < values.objects.length; i++) {
14952
14956
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -14986,7 +14990,7 @@ instruments?: (Object | URL)[];}
14986
14990
  if (Array.isArray(values.targets) &&
14987
14991
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
14988
14992
  // @ts-ignore: type is checked above.
14989
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
14993
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
14990
14994
 
14991
14995
  for (let i = 0; i < values.targets.length; i++) {
14992
14996
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -15026,7 +15030,7 @@ instruments?: (Object | URL)[];}
15026
15030
  if (Array.isArray(values.results) &&
15027
15031
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15028
15032
  // @ts-ignore: type is checked above.
15029
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15033
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15030
15034
 
15031
15035
  for (let i = 0; i < values.results.length; i++) {
15032
15036
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -15066,7 +15070,7 @@ instruments?: (Object | URL)[];}
15066
15070
  if (Array.isArray(values.origins) &&
15067
15071
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15068
15072
  // @ts-ignore: type is checked above.
15069
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15073
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15070
15074
 
15071
15075
  for (let i = 0; i < values.origins.length; i++) {
15072
15076
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -15106,7 +15110,7 @@ instruments?: (Object | URL)[];}
15106
15110
  if (Array.isArray(values.instruments) &&
15107
15111
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15108
15112
  // @ts-ignore: type is checked above.
15109
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15113
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15110
15114
 
15111
15115
  for (let i = 0; i < values.instruments.length; i++) {
15112
15116
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -15125,7 +15129,8 @@ instruments?: (Object | URL)[];}
15125
15129
  * Clones this instance, optionally updating it with the given values.
15126
15130
  * @param values The values to update the clone with.
15127
15131
  * @param options The options to use for cloning.
15128
- * @returns The cloned instance.
15132
+ * @returns The cloned instance with its own property arrays. Nested objects
15133
+ * and URLs are shared with this instance.
15129
15134
  */
15130
15135
  override clone(
15131
15136
  values:
@@ -15169,7 +15174,7 @@ instruments?: (Object | URL)[];}
15169
15174
  // @ts-ignore: \$warning is not recognized as a property, but it is.
15170
15175
  options = { ...options, \$warning: this._warning };
15171
15176
  }
15172
- const clone = super.clone(values, options) as unknown as Activity;clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor;clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set(this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor);
15177
+ const clone = super.clone(values, options) as unknown as Activity;clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.slice();clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set(this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor);
15173
15178
  if (\\"actor\\" in values && values.actor != null) {
15174
15179
  if (values.actor instanceof Application || values.actor instanceof Group || values.actor instanceof Organization || values.actor instanceof Person || values.actor instanceof Service || values.actor instanceof URL) {
15175
15180
  // @ts-ignore: type is checked above.
@@ -15196,7 +15201,7 @@ instruments?: (Object | URL)[];}
15196
15201
  if (Array.isArray(values.actors) &&
15197
15202
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
15198
15203
  // @ts-ignore: type is checked above.
15199
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
15204
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
15200
15205
 
15201
15206
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
15202
15207
  for (let i = 0; i < values.actors.length; i++) {
@@ -15210,7 +15215,7 @@ instruments?: (Object | URL)[];}
15210
15215
  );
15211
15216
  }
15212
15217
  }
15213
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15218
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15214
15219
  if (\\"object\\" in values && values.object != null) {
15215
15220
  if (values.object instanceof Object || values.object instanceof URL) {
15216
15221
  // @ts-ignore: type is checked above.
@@ -15237,7 +15242,7 @@ instruments?: (Object | URL)[];}
15237
15242
  if (Array.isArray(values.objects) &&
15238
15243
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
15239
15244
  // @ts-ignore: type is checked above.
15240
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
15245
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
15241
15246
 
15242
15247
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
15243
15248
  for (let i = 0; i < values.objects.length; i++) {
@@ -15251,7 +15256,7 @@ instruments?: (Object | URL)[];}
15251
15256
  );
15252
15257
  }
15253
15258
  }
15254
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15259
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15255
15260
  if (\\"target\\" in values && values.target != null) {
15256
15261
  if (values.target instanceof Object || values.target instanceof URL) {
15257
15262
  // @ts-ignore: type is checked above.
@@ -15278,7 +15283,7 @@ instruments?: (Object | URL)[];}
15278
15283
  if (Array.isArray(values.targets) &&
15279
15284
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
15280
15285
  // @ts-ignore: type is checked above.
15281
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
15286
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
15282
15287
 
15283
15288
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
15284
15289
  for (let i = 0; i < values.targets.length; i++) {
@@ -15292,7 +15297,7 @@ instruments?: (Object | URL)[];}
15292
15297
  );
15293
15298
  }
15294
15299
  }
15295
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15300
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15296
15301
  if (\\"result\\" in values && values.result != null) {
15297
15302
  if (values.result instanceof Object || values.result instanceof URL) {
15298
15303
  // @ts-ignore: type is checked above.
@@ -15319,7 +15324,7 @@ instruments?: (Object | URL)[];}
15319
15324
  if (Array.isArray(values.results) &&
15320
15325
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15321
15326
  // @ts-ignore: type is checked above.
15322
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15327
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15323
15328
 
15324
15329
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
15325
15330
  for (let i = 0; i < values.results.length; i++) {
@@ -15333,7 +15338,7 @@ instruments?: (Object | URL)[];}
15333
15338
  );
15334
15339
  }
15335
15340
  }
15336
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15341
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15337
15342
  if (\\"origin\\" in values && values.origin != null) {
15338
15343
  if (values.origin instanceof Object || values.origin instanceof URL) {
15339
15344
  // @ts-ignore: type is checked above.
@@ -15360,7 +15365,7 @@ instruments?: (Object | URL)[];}
15360
15365
  if (Array.isArray(values.origins) &&
15361
15366
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15362
15367
  // @ts-ignore: type is checked above.
15363
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15368
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15364
15369
 
15365
15370
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
15366
15371
  for (let i = 0; i < values.origins.length; i++) {
@@ -15374,7 +15379,7 @@ instruments?: (Object | URL)[];}
15374
15379
  );
15375
15380
  }
15376
15381
  }
15377
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15382
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15378
15383
  if (\\"instrument\\" in values && values.instrument != null) {
15379
15384
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
15380
15385
  // @ts-ignore: type is checked above.
@@ -15401,7 +15406,7 @@ instruments?: (Object | URL)[];}
15401
15406
  if (Array.isArray(values.instruments) &&
15402
15407
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15403
15408
  // @ts-ignore: type is checked above.
15404
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15409
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15405
15410
 
15406
15411
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
15407
15412
  for (let i = 0; i < values.instruments.length; i++) {
@@ -18407,7 +18412,8 @@ instruments?: (Object | URL)[];}
18407
18412
  * Clones this instance, optionally updating it with the given values.
18408
18413
  * @param values The values to update the clone with.
18409
18414
  * @param options The options to use for cloning.
18410
- * @returns The cloned instance.
18415
+ * @returns The cloned instance with its own property arrays. Nested objects
18416
+ * and URLs are shared with this instance.
18411
18417
  */
18412
18418
  override clone(
18413
18419
  values:
@@ -18821,7 +18827,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
18821
18827
  * Clones this instance, optionally updating it with the given values.
18822
18828
  * @param values The values to update the clone with.
18823
18829
  * @param options The options to use for cloning.
18824
- * @returns The cloned instance.
18830
+ * @returns The cloned instance with its own property arrays. Nested objects
18831
+ * and URLs are shared with this instance.
18825
18832
  */
18826
18833
  clone(
18827
18834
  values:
@@ -18849,7 +18856,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
18849
18856
  { id: values.id ?? this.id },
18850
18857
  options
18851
18858
  );
18852
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
18859
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
18853
18860
  if (\\"name\\" in values && values.name != null) {
18854
18861
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
18855
18862
  // @ts-ignore: type is checked above.
@@ -18862,7 +18869,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
18862
18869
  );
18863
18870
  }
18864
18871
  }
18865
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
18872
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
18866
18873
  if (\\"value\\" in values && values.value != null) {
18867
18874
  if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
18868
18875
  // @ts-ignore: type is checked above.
@@ -19461,7 +19468,8 @@ unit?: string | null;numericalValue?: Decimal | null;}
19461
19468
  * Clones this instance, optionally updating it with the given values.
19462
19469
  * @param values The values to update the clone with.
19463
19470
  * @param options The options to use for cloning.
19464
- * @returns The cloned instance.
19471
+ * @returns The cloned instance with its own property arrays. Nested objects
19472
+ * and URLs are shared with this instance.
19465
19473
  */
19466
19474
  clone(
19467
19475
  values:
@@ -19489,7 +19497,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
19489
19497
  { id: values.id ?? this.id },
19490
19498
  options
19491
19499
  );
19492
- clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6;
19500
+ clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6.slice();
19493
19501
  if (\\"unit\\" in values && values.unit != null) {
19494
19502
  if (typeof values.unit === \\"string\\") {
19495
19503
  // @ts-ignore: type is checked above.
@@ -19502,7 +19510,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
19502
19510
  );
19503
19511
  }
19504
19512
  }
19505
- clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D;
19513
+ clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D.slice();
19506
19514
  if (\\"numericalValue\\" in values && values.numericalValue != null) {
19507
19515
  if (typeof values.numericalValue === \\"string\\" && isDecimal(values.numericalValue)) {
19508
19516
  // @ts-ignore: type is checked above.
@@ -20037,7 +20045,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20037
20045
  * Clones this instance, optionally updating it with the given values.
20038
20046
  * @param values The values to update the clone with.
20039
20047
  * @param options The options to use for cloning.
20040
- * @returns The cloned instance.
20048
+ * @returns The cloned instance with its own property arrays. Nested objects
20049
+ * and URLs are shared with this instance.
20041
20050
  */
20042
20051
  override clone(
20043
20052
  values:
@@ -20075,7 +20084,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20075
20084
  // @ts-ignore: \$warning is not recognized as a property, but it is.
20076
20085
  options = { ...options, \$warning: this._warning };
20077
20086
  }
20078
- const clone = super.clone(values, options) as unknown as AnnounceAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
20087
+ const clone = super.clone(values, options) as unknown as AnnounceAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
20079
20088
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
20080
20089
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
20081
20090
  // @ts-ignore: type is checked above.
@@ -20088,7 +20097,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20088
20097
  );
20089
20098
  }
20090
20099
  }
20091
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20100
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20092
20101
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
20093
20102
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
20094
20103
  // @ts-ignore: type is checked above.
@@ -21070,7 +21079,8 @@ instruments?: (Object | URL)[];}
21070
21079
  * Clones this instance, optionally updating it with the given values.
21071
21080
  * @param values The values to update the clone with.
21072
21081
  * @param options The options to use for cloning.
21073
- * @returns The cloned instance.
21082
+ * @returns The cloned instance with its own property arrays. Nested objects
21083
+ * and URLs are shared with this instance.
21074
21084
  */
21075
21085
  override clone(
21076
21086
  values:
@@ -21519,7 +21529,8 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21519
21529
  * Clones this instance, optionally updating it with the given values.
21520
21530
  * @param values The values to update the clone with.
21521
21531
  * @param options The options to use for cloning.
21522
- * @returns The cloned instance.
21532
+ * @returns The cloned instance with its own property arrays. Nested objects
21533
+ * and URLs are shared with this instance.
21523
21534
  */
21524
21535
  clone(
21525
21536
  values:
@@ -21547,7 +21558,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21547
21558
  { id: values.id ?? this.id },
21548
21559
  options
21549
21560
  );
21550
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
21561
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
21551
21562
  if (\\"canLike\\" in values && values.canLike != null) {
21552
21563
  if (values.canLike instanceof InteractionRule) {
21553
21564
  // @ts-ignore: type is checked above.
@@ -21560,7 +21571,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21560
21571
  );
21561
21572
  }
21562
21573
  }
21563
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
21574
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
21564
21575
  if (\\"canReply\\" in values && values.canReply != null) {
21565
21576
  if (values.canReply instanceof InteractionRule) {
21566
21577
  // @ts-ignore: type is checked above.
@@ -21573,7 +21584,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21573
21584
  );
21574
21585
  }
21575
21586
  }
21576
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
21587
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
21577
21588
  if (\\"canAnnounce\\" in values && values.canAnnounce != null) {
21578
21589
  if (values.canAnnounce instanceof InteractionRule) {
21579
21590
  // @ts-ignore: type is checked above.
@@ -21586,7 +21597,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21586
21597
  );
21587
21598
  }
21588
21599
  }
21589
- clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote;
21600
+ clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote.slice();
21590
21601
  if (\\"canQuote\\" in values && values.canQuote != null) {
21591
21602
  if (values.canQuote instanceof InteractionRule) {
21592
21603
  // @ts-ignore: type is checked above.
@@ -22329,7 +22340,7 @@ manualApprovals?: (URL)[];}
22329
22340
  if (Array.isArray(values.automaticApprovals) &&
22330
22341
  values.automaticApprovals.every(v => v instanceof URL)) {
22331
22342
  // @ts-ignore: type is checked above.
22332
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
22343
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
22333
22344
 
22334
22345
  } else {
22335
22346
  throw new TypeError(
@@ -22365,7 +22376,7 @@ manualApprovals?: (URL)[];}
22365
22376
  if (Array.isArray(values.manualApprovals) &&
22366
22377
  values.manualApprovals.every(v => v instanceof URL)) {
22367
22378
  // @ts-ignore: type is checked above.
22368
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
22379
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
22369
22380
 
22370
22381
  } else {
22371
22382
  throw new TypeError(
@@ -22380,7 +22391,8 @@ manualApprovals?: (URL)[];}
22380
22391
  * Clones this instance, optionally updating it with the given values.
22381
22392
  * @param values The values to update the clone with.
22382
22393
  * @param options The options to use for cloning.
22383
- * @returns The cloned instance.
22394
+ * @returns The cloned instance with its own property arrays. Nested objects
22395
+ * and URLs are shared with this instance.
22384
22396
  */
22385
22397
  clone(
22386
22398
  values:
@@ -22410,7 +22422,7 @@ manualApprovals?: (URL)[];}
22410
22422
  { id: values.id ?? this.id },
22411
22423
  options
22412
22424
  );
22413
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
22425
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
22414
22426
  if (\\"automaticApproval\\" in values && values.automaticApproval != null) {
22415
22427
  if (values.automaticApproval instanceof URL) {
22416
22428
  // @ts-ignore: type is checked above.
@@ -22437,7 +22449,7 @@ manualApprovals?: (URL)[];}
22437
22449
  if (Array.isArray(values.automaticApprovals) &&
22438
22450
  values.automaticApprovals.every(v => v instanceof URL)) {
22439
22451
  // @ts-ignore: type is checked above.
22440
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
22452
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
22441
22453
 
22442
22454
  } else {
22443
22455
  throw new TypeError(
@@ -22446,7 +22458,7 @@ manualApprovals?: (URL)[];}
22446
22458
  );
22447
22459
  }
22448
22460
  }
22449
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
22461
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
22450
22462
  if (\\"manualApproval\\" in values && values.manualApproval != null) {
22451
22463
  if (values.manualApproval instanceof URL) {
22452
22464
  // @ts-ignore: type is checked above.
@@ -22473,7 +22485,7 @@ manualApprovals?: (URL)[];}
22473
22485
  if (Array.isArray(values.manualApprovals) &&
22474
22486
  values.manualApprovals.every(v => v instanceof URL)) {
22475
22487
  // @ts-ignore: type is checked above.
22476
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
22488
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
22477
22489
 
22478
22490
  } else {
22479
22491
  throw new TypeError(
@@ -23017,7 +23029,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23017
23029
  * Clones this instance, optionally updating it with the given values.
23018
23030
  * @param values The values to update the clone with.
23019
23031
  * @param options The options to use for cloning.
23020
- * @returns The cloned instance.
23032
+ * @returns The cloned instance with its own property arrays. Nested objects
23033
+ * and URLs are shared with this instance.
23021
23034
  */
23022
23035
  override clone(
23023
23036
  values:
@@ -23055,7 +23068,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23055
23068
  // @ts-ignore: \$warning is not recognized as a property, but it is.
23056
23069
  options = { ...options, \$warning: this._warning };
23057
23070
  }
23058
- const clone = super.clone(values, options) as unknown as LikeAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
23071
+ const clone = super.clone(values, options) as unknown as LikeAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
23059
23072
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
23060
23073
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
23061
23074
  // @ts-ignore: type is checked above.
@@ -23068,7 +23081,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23068
23081
  );
23069
23082
  }
23070
23083
  }
23071
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23084
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23072
23085
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
23073
23086
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
23074
23087
  // @ts-ignore: type is checked above.
@@ -24049,7 +24062,8 @@ instruments?: (Object | URL)[];}
24049
24062
  * Clones this instance, optionally updating it with the given values.
24050
24063
  * @param values The values to update the clone with.
24051
24064
  * @param options The options to use for cloning.
24052
- * @returns The cloned instance.
24065
+ * @returns The cloned instance with its own property arrays. Nested objects
24066
+ * and URLs are shared with this instance.
24053
24067
  */
24054
24068
  override clone(
24055
24069
  values:
@@ -24421,7 +24435,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
24421
24435
  * Clones this instance, optionally updating it with the given values.
24422
24436
  * @param values The values to update the clone with.
24423
24437
  * @param options The options to use for cloning.
24424
- * @returns The cloned instance.
24438
+ * @returns The cloned instance with its own property arrays. Nested objects
24439
+ * and URLs are shared with this instance.
24425
24440
  */
24426
24441
  override clone(
24427
24442
  values:
@@ -24459,7 +24474,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
24459
24474
  // @ts-ignore: \$warning is not recognized as a property, but it is.
24460
24475
  options = { ...options, \$warning: this._warning };
24461
24476
  }
24462
- const clone = super.clone(values, options) as unknown as ReplyAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
24477
+ const clone = super.clone(values, options) as unknown as ReplyAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
24463
24478
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
24464
24479
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
24465
24480
  // @ts-ignore: type is checked above.
@@ -24472,7 +24487,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
24472
24487
  );
24473
24488
  }
24474
24489
  }
24475
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
24490
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
24476
24491
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
24477
24492
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
24478
24493
  // @ts-ignore: type is checked above.
@@ -25453,7 +25468,8 @@ instruments?: (Object | URL)[];}
25453
25468
  * Clones this instance, optionally updating it with the given values.
25454
25469
  * @param values The values to update the clone with.
25455
25470
  * @param options The options to use for cloning.
25456
- * @returns The cloned instance.
25471
+ * @returns The cloned instance with its own property arrays. Nested objects
25472
+ * and URLs are shared with this instance.
25457
25473
  */
25458
25474
  override clone(
25459
25475
  values:
@@ -25825,7 +25841,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25825
25841
  * Clones this instance, optionally updating it with the given values.
25826
25842
  * @param values The values to update the clone with.
25827
25843
  * @param options The options to use for cloning.
25828
- * @returns The cloned instance.
25844
+ * @returns The cloned instance with its own property arrays. Nested objects
25845
+ * and URLs are shared with this instance.
25829
25846
  */
25830
25847
  override clone(
25831
25848
  values:
@@ -25863,7 +25880,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25863
25880
  // @ts-ignore: \$warning is not recognized as a property, but it is.
25864
25881
  options = { ...options, \$warning: this._warning };
25865
25882
  }
25866
- const clone = super.clone(values, options) as unknown as QuoteAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject;clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
25883
+ const clone = super.clone(values, options) as unknown as QuoteAuthorization;clone.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = this.#_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject.slice();clone.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject = new Set(this.#_trust_2114kRKbujWhxEUghdkRYYKbXTGi_interactingObject);
25867
25884
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
25868
25885
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
25869
25886
  // @ts-ignore: type is checked above.
@@ -25876,7 +25893,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25876
25893
  );
25877
25894
  }
25878
25895
  }
25879
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25896
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25880
25897
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
25881
25898
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
25882
25899
  // @ts-ignore: type is checked above.
@@ -26856,7 +26873,8 @@ instruments?: (Object | URL)[];}
26856
26873
  * Clones this instance, optionally updating it with the given values.
26857
26874
  * @param values The values to update the clone with.
26858
26875
  * @param options The options to use for cloning.
26859
- * @returns The cloned instance.
26876
+ * @returns The cloned instance with its own property arrays. Nested objects
26877
+ * and URLs are shared with this instance.
26860
26878
  */
26861
26879
  override clone(
26862
26880
  values:
@@ -27269,7 +27287,7 @@ endpoints?: (URL)[];}
27269
27287
  if (Array.isArray(values.endpoints) &&
27270
27288
  values.endpoints.every(v => v instanceof URL)) {
27271
27289
  // @ts-ignore: type is checked above.
27272
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
27290
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
27273
27291
 
27274
27292
  } else {
27275
27293
  throw new TypeError(
@@ -27284,7 +27302,8 @@ endpoints?: (URL)[];}
27284
27302
  * Clones this instance, optionally updating it with the given values.
27285
27303
  * @param values The values to update the clone with.
27286
27304
  * @param options The options to use for cloning.
27287
- * @returns The cloned instance.
27305
+ * @returns The cloned instance with its own property arrays. Nested objects
27306
+ * and URLs are shared with this instance.
27288
27307
  */
27289
27308
  clone(
27290
27309
  values:
@@ -27313,7 +27332,7 @@ endpoints?: (URL)[];}
27313
27332
  { id: values.id ?? this.id },
27314
27333
  options
27315
27334
  );
27316
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
27335
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
27317
27336
  if (\\"endpoint\\" in values && values.endpoint != null) {
27318
27337
  if (values.endpoint instanceof URL) {
27319
27338
  // @ts-ignore: type is checked above.
@@ -27340,7 +27359,7 @@ endpoints?: (URL)[];}
27340
27359
  if (Array.isArray(values.endpoints) &&
27341
27360
  values.endpoints.every(v => v instanceof URL)) {
27342
27361
  // @ts-ignore: type is checked above.
27343
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
27362
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
27344
27363
 
27345
27364
  } else {
27346
27365
  throw new TypeError(
@@ -27724,7 +27743,8 @@ endpoints?: (URL)[];}
27724
27743
  * Clones this instance, optionally updating it with the given values.
27725
27744
  * @param values The values to update the clone with.
27726
27745
  * @param options The options to use for cloning.
27727
- * @returns The cloned instance.
27746
+ * @returns The cloned instance with its own property arrays. Nested objects
27747
+ * and URLs are shared with this instance.
27728
27748
  */
27729
27749
  override clone(
27730
27750
  values:
@@ -28154,7 +28174,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28154
28174
  * Clones this instance, optionally updating it with the given values.
28155
28175
  * @param values The values to update the clone with.
28156
28176
  * @param options The options to use for cloning.
28157
- * @returns The cloned instance.
28177
+ * @returns The cloned instance with its own property arrays. Nested objects
28178
+ * and URLs are shared with this instance.
28158
28179
  */
28159
28180
  clone(
28160
28181
  values:
@@ -28182,7 +28203,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28182
28203
  { id: values.id ?? this.id },
28183
28204
  options
28184
28205
  );
28185
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
28206
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
28186
28207
  if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
28187
28208
  if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
28188
28209
  // @ts-ignore: type is checked above.
@@ -28195,7 +28216,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28195
28216
  );
28196
28217
  }
28197
28218
  }
28198
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28219
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28199
28220
  if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
28200
28221
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
28201
28222
  // @ts-ignore: type is checked above.
@@ -28208,7 +28229,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28208
28229
  );
28209
28230
  }
28210
28231
  }
28211
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
28232
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
28212
28233
  if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
28213
28234
  if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
28214
28235
  values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
@@ -28223,7 +28244,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28223
28244
  );
28224
28245
  }
28225
28246
  }
28226
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
28247
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
28227
28248
  if (\\"proofValue\\" in values && values.proofValue != null) {
28228
28249
  if (values.proofValue instanceof Uint8Array) {
28229
28250
  // @ts-ignore: type is checked above.
@@ -28236,7 +28257,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28236
28257
  );
28237
28258
  }
28238
28259
  }
28239
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
28260
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
28240
28261
  if (\\"created\\" in values && values.created != null) {
28241
28262
  if (isTemporalInstant(values.created)) {
28242
28263
  // @ts-ignore: type is checked above.
@@ -29224,7 +29245,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29224
29245
  * Clones this instance, optionally updating it with the given values.
29225
29246
  * @param values The values to update the clone with.
29226
29247
  * @param options The options to use for cloning.
29227
- * @returns The cloned instance.
29248
+ * @returns The cloned instance with its own property arrays. Nested objects
29249
+ * and URLs are shared with this instance.
29228
29250
  */
29229
29251
  clone(
29230
29252
  values:
@@ -29252,7 +29274,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29252
29274
  { id: values.id ?? this.id },
29253
29275
  options
29254
29276
  );
29255
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
29277
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
29256
29278
  if (\\"owner\\" in values && values.owner != null) {
29257
29279
  if (values.owner instanceof Application || values.owner instanceof Group || values.owner instanceof Organization || values.owner instanceof Person || values.owner instanceof Service || values.owner instanceof URL) {
29258
29280
  // @ts-ignore: type is checked above.
@@ -29265,7 +29287,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29265
29287
  );
29266
29288
  }
29267
29289
  }
29268
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
29290
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
29269
29291
  if (\\"publicKey\\" in values && values.publicKey != null) {
29270
29292
  if (
29271
29293
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -30144,7 +30166,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30144
30166
  * Clones this instance, optionally updating it with the given values.
30145
30167
  * @param values The values to update the clone with.
30146
30168
  * @param options The options to use for cloning.
30147
- * @returns The cloned instance.
30169
+ * @returns The cloned instance with its own property arrays. Nested objects
30170
+ * and URLs are shared with this instance.
30148
30171
  */
30149
30172
  clone(
30150
30173
  values:
@@ -30172,7 +30195,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30172
30195
  { id: values.id ?? this.id },
30173
30196
  options
30174
30197
  );
30175
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30198
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30176
30199
  if (\\"controller\\" in values && values.controller != null) {
30177
30200
  if (values.controller instanceof Application || values.controller instanceof Group || values.controller instanceof Organization || values.controller instanceof Person || values.controller instanceof Service || values.controller instanceof URL) {
30178
30201
  // @ts-ignore: type is checked above.
@@ -30185,7 +30208,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30185
30208
  );
30186
30209
  }
30187
30210
  }
30188
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
30211
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
30189
30212
  if (\\"publicKey\\" in values && values.publicKey != null) {
30190
30213
  if (
30191
30214
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -31106,7 +31129,8 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31106
31129
  * Clones this instance, optionally updating it with the given values.
31107
31130
  * @param values The values to update the clone with.
31108
31131
  * @param options The options to use for cloning.
31109
- * @returns The cloned instance.
31132
+ * @returns The cloned instance with its own property arrays. Nested objects
31133
+ * and URLs are shared with this instance.
31110
31134
  */
31111
31135
  clone(
31112
31136
  values:
@@ -31134,7 +31158,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31134
31158
  { id: values.id ?? this.id },
31135
31159
  options
31136
31160
  );
31137
- clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action;
31161
+ clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action.slice();
31138
31162
  if (\\"action\\" in values && values.action != null) {
31139
31163
  if (typeof values.action === \\"string\\") {
31140
31164
  // @ts-ignore: type is checked above.
@@ -31147,7 +31171,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31147
31171
  );
31148
31172
  }
31149
31173
  }
31150
- clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo;
31174
+ clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo.slice();
31151
31175
  if (\\"resourceConformsTo\\" in values && values.resourceConformsTo != null) {
31152
31176
  if (values.resourceConformsTo instanceof URL) {
31153
31177
  // @ts-ignore: type is checked above.
@@ -31160,7 +31184,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31160
31184
  );
31161
31185
  }
31162
31186
  }
31163
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
31187
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
31164
31188
  if (\\"resourceQuantity\\" in values && values.resourceQuantity != null) {
31165
31189
  if (values.resourceQuantity instanceof Measure) {
31166
31190
  // @ts-ignore: type is checked above.
@@ -31173,7 +31197,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31173
31197
  );
31174
31198
  }
31175
31199
  }
31176
- clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity;
31200
+ clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity.slice();
31177
31201
  if (\\"availableQuantity\\" in values && values.availableQuantity != null) {
31178
31202
  if (values.availableQuantity instanceof Measure) {
31179
31203
  // @ts-ignore: type is checked above.
@@ -31186,7 +31210,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31186
31210
  );
31187
31211
  }
31188
31212
  }
31189
- clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity;
31213
+ clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity.slice();
31190
31214
  if (\\"minimumQuantity\\" in values && values.minimumQuantity != null) {
31191
31215
  if (values.minimumQuantity instanceof Measure) {
31192
31216
  // @ts-ignore: type is checked above.
@@ -32062,7 +32086,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32062
32086
  * Clones this instance, optionally updating it with the given values.
32063
32087
  * @param values The values to update the clone with.
32064
32088
  * @param options The options to use for cloning.
32065
- * @returns The cloned instance.
32089
+ * @returns The cloned instance with its own property arrays. Nested objects
32090
+ * and URLs are shared with this instance.
32066
32091
  */
32067
32092
  override clone(
32068
32093
  values:
@@ -32100,7 +32125,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32100
32125
  // @ts-ignore: \$warning is not recognized as a property, but it is.
32101
32126
  options = { ...options, \$warning: this._warning };
32102
32127
  }
32103
- const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose;
32128
+ const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose.slice();
32104
32129
  if (\\"purpose\\" in values && values.purpose != null) {
32105
32130
  if (typeof values.purpose === \\"string\\") {
32106
32131
  // @ts-ignore: type is checked above.
@@ -32113,7 +32138,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32113
32138
  );
32114
32139
  }
32115
32140
  }
32116
- clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes;
32141
+ clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes.slice();
32117
32142
  if (\\"publishes\\" in values && values.publishes != null) {
32118
32143
  if (values.publishes instanceof Intent) {
32119
32144
  // @ts-ignore: type is checked above.
@@ -32126,7 +32151,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32126
32151
  );
32127
32152
  }
32128
32153
  }
32129
- clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal;
32154
+ clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal.slice();
32130
32155
  if (\\"reciprocal\\" in values && values.reciprocal != null) {
32131
32156
  if (values.reciprocal instanceof Intent) {
32132
32157
  // @ts-ignore: type is checked above.
@@ -32139,7 +32164,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32139
32164
  );
32140
32165
  }
32141
32166
  }
32142
- clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased;
32167
+ clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased.slice();
32143
32168
  if (\\"unitBased\\" in values && values.unitBased != null) {
32144
32169
  if (typeof values.unitBased === \\"boolean\\") {
32145
32170
  // @ts-ignore: type is checked above.
@@ -32859,7 +32884,8 @@ instruments?: (Object | URL)[];}
32859
32884
  * Clones this instance, optionally updating it with the given values.
32860
32885
  * @param values The values to update the clone with.
32861
32886
  * @param options The options to use for cloning.
32862
- * @returns The cloned instance.
32887
+ * @returns The cloned instance with its own property arrays. Nested objects
32888
+ * and URLs are shared with this instance.
32863
32889
  */
32864
32890
  override clone(
32865
32891
  values:
@@ -33205,7 +33231,8 @@ instruments?: (Object | URL)[];}
33205
33231
  * Clones this instance, optionally updating it with the given values.
33206
33232
  * @param values The values to update the clone with.
33207
33233
  * @param options The options to use for cloning.
33208
- * @returns The cloned instance.
33234
+ * @returns The cloned instance with its own property arrays. Nested objects
33235
+ * and URLs are shared with this instance.
33209
33236
  */
33210
33237
  override clone(
33211
33238
  values:
@@ -33546,7 +33573,8 @@ instruments?: (Object | URL)[];}
33546
33573
  * Clones this instance, optionally updating it with the given values.
33547
33574
  * @param values The values to update the clone with.
33548
33575
  * @param options The options to use for cloning.
33549
- * @returns The cloned instance.
33576
+ * @returns The cloned instance with its own property arrays. Nested objects
33577
+ * and URLs are shared with this instance.
33550
33578
  */
33551
33579
  override clone(
33552
33580
  values:
@@ -33952,7 +33980,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
33952
33980
  if (Array.isArray(values.preferredUsernames) &&
33953
33981
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
33954
33982
  // @ts-ignore: type is checked above.
33955
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
33983
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
33956
33984
 
33957
33985
  } else {
33958
33986
  throw new TypeError(
@@ -33988,7 +34016,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
33988
34016
  if (Array.isArray(values.publicKeys) &&
33989
34017
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
33990
34018
  // @ts-ignore: type is checked above.
33991
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
34019
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
33992
34020
 
33993
34021
  for (let i = 0; i < values.publicKeys.length; i++) {
33994
34022
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -34028,7 +34056,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34028
34056
  if (Array.isArray(values.assertionMethods) &&
34029
34057
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
34030
34058
  // @ts-ignore: type is checked above.
34031
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
34059
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
34032
34060
 
34033
34061
  for (let i = 0; i < values.assertionMethods.length; i++) {
34034
34062
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -34151,7 +34179,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34151
34179
  if (Array.isArray(values.streams) &&
34152
34180
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
34153
34181
  // @ts-ignore: type is checked above.
34154
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
34182
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
34155
34183
 
34156
34184
  for (let i = 0; i < values.streams.length; i++) {
34157
34185
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -34269,7 +34297,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34269
34297
  if (Array.isArray(values.aliases) &&
34270
34298
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
34271
34299
  // @ts-ignore: type is checked above.
34272
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
34300
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
34273
34301
 
34274
34302
  for (let i = 0; i < values.aliases.length; i++) {
34275
34303
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -34309,7 +34337,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34309
34337
  if (Array.isArray(values.services) &&
34310
34338
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
34311
34339
  // @ts-ignore: type is checked above.
34312
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
34340
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
34313
34341
 
34314
34342
  for (let i = 0; i < values.services.length; i++) {
34315
34343
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -34354,7 +34382,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34354
34382
  * Clones this instance, optionally updating it with the given values.
34355
34383
  * @param values The values to update the clone with.
34356
34384
  * @param options The options to use for cloning.
34357
- * @returns The cloned instance.
34385
+ * @returns The cloned instance with its own property arrays. Nested objects
34386
+ * and URLs are shared with this instance.
34358
34387
  */
34359
34388
  override clone(
34360
34389
  values:
@@ -34397,7 +34426,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34397
34426
  // @ts-ignore: \$warning is not recognized as a property, but it is.
34398
34427
  options = { ...options, \$warning: this._warning };
34399
34428
  }
34400
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
34429
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
34401
34430
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
34402
34431
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
34403
34432
  // @ts-ignore: type is checked above.
@@ -34424,7 +34453,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34424
34453
  if (Array.isArray(values.preferredUsernames) &&
34425
34454
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
34426
34455
  // @ts-ignore: type is checked above.
34427
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
34456
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
34428
34457
 
34429
34458
  } else {
34430
34459
  throw new TypeError(
@@ -34433,7 +34462,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34433
34462
  );
34434
34463
  }
34435
34464
  }
34436
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
34465
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
34437
34466
  if (\\"publicKey\\" in values && values.publicKey != null) {
34438
34467
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
34439
34468
  // @ts-ignore: type is checked above.
@@ -34460,7 +34489,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34460
34489
  if (Array.isArray(values.publicKeys) &&
34461
34490
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
34462
34491
  // @ts-ignore: type is checked above.
34463
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
34492
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
34464
34493
 
34465
34494
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
34466
34495
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -34474,7 +34503,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34474
34503
  );
34475
34504
  }
34476
34505
  }
34477
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
34506
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
34478
34507
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
34479
34508
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
34480
34509
  // @ts-ignore: type is checked above.
@@ -34501,7 +34530,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34501
34530
  if (Array.isArray(values.assertionMethods) &&
34502
34531
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
34503
34532
  // @ts-ignore: type is checked above.
34504
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
34533
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
34505
34534
 
34506
34535
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
34507
34536
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -34515,7 +34544,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34515
34544
  );
34516
34545
  }
34517
34546
  }
34518
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
34547
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
34519
34548
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
34520
34549
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
34521
34550
  // @ts-ignore: type is checked above.
@@ -34528,7 +34557,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34528
34557
  );
34529
34558
  }
34530
34559
  }
34531
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
34560
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
34532
34561
  if (\\"inbox\\" in values && values.inbox != null) {
34533
34562
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
34534
34563
  // @ts-ignore: type is checked above.
@@ -34541,7 +34570,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34541
34570
  );
34542
34571
  }
34543
34572
  }
34544
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
34573
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
34545
34574
  if (\\"outbox\\" in values && values.outbox != null) {
34546
34575
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
34547
34576
  // @ts-ignore: type is checked above.
@@ -34554,7 +34583,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34554
34583
  );
34555
34584
  }
34556
34585
  }
34557
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
34586
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
34558
34587
  if (\\"following\\" in values && values.following != null) {
34559
34588
  if (values.following instanceof Collection || values.following instanceof URL) {
34560
34589
  // @ts-ignore: type is checked above.
@@ -34567,7 +34596,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34567
34596
  );
34568
34597
  }
34569
34598
  }
34570
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
34599
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
34571
34600
  if (\\"followers\\" in values && values.followers != null) {
34572
34601
  if (values.followers instanceof Collection || values.followers instanceof URL) {
34573
34602
  // @ts-ignore: type is checked above.
@@ -34580,7 +34609,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34580
34609
  );
34581
34610
  }
34582
34611
  }
34583
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
34612
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
34584
34613
  if (\\"liked\\" in values && values.liked != null) {
34585
34614
  if (values.liked instanceof Collection || values.liked instanceof URL) {
34586
34615
  // @ts-ignore: type is checked above.
@@ -34593,7 +34622,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34593
34622
  );
34594
34623
  }
34595
34624
  }
34596
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
34625
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
34597
34626
  if (\\"featured\\" in values && values.featured != null) {
34598
34627
  if (values.featured instanceof Collection || values.featured instanceof URL) {
34599
34628
  // @ts-ignore: type is checked above.
@@ -34606,7 +34635,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34606
34635
  );
34607
34636
  }
34608
34637
  }
34609
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
34638
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
34610
34639
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
34611
34640
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
34612
34641
  // @ts-ignore: type is checked above.
@@ -34619,13 +34648,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34619
34648
  );
34620
34649
  }
34621
34650
  }
34622
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
34651
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
34623
34652
  if (\\"streams\\" in values && values.streams != null) {
34624
34653
 
34625
34654
  if (Array.isArray(values.streams) &&
34626
34655
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
34627
34656
  // @ts-ignore: type is checked above.
34628
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
34657
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
34629
34658
 
34630
34659
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
34631
34660
  for (let i = 0; i < values.streams.length; i++) {
@@ -34639,7 +34668,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34639
34668
  );
34640
34669
  }
34641
34670
  }
34642
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
34671
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
34643
34672
  if (\\"endpoints\\" in values && values.endpoints != null) {
34644
34673
  if (values.endpoints instanceof Endpoints) {
34645
34674
  // @ts-ignore: type is checked above.
@@ -34652,7 +34681,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34652
34681
  );
34653
34682
  }
34654
34683
  }
34655
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
34684
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
34656
34685
  if (\\"discoverable\\" in values && values.discoverable != null) {
34657
34686
  if (typeof values.discoverable === \\"boolean\\") {
34658
34687
  // @ts-ignore: type is checked above.
@@ -34665,7 +34694,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34665
34694
  );
34666
34695
  }
34667
34696
  }
34668
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
34697
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
34669
34698
  if (\\"suspended\\" in values && values.suspended != null) {
34670
34699
  if (typeof values.suspended === \\"boolean\\") {
34671
34700
  // @ts-ignore: type is checked above.
@@ -34678,7 +34707,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34678
34707
  );
34679
34708
  }
34680
34709
  }
34681
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
34710
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
34682
34711
  if (\\"memorial\\" in values && values.memorial != null) {
34683
34712
  if (typeof values.memorial === \\"boolean\\") {
34684
34713
  // @ts-ignore: type is checked above.
@@ -34691,7 +34720,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34691
34720
  );
34692
34721
  }
34693
34722
  }
34694
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
34723
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
34695
34724
  if (\\"indexable\\" in values && values.indexable != null) {
34696
34725
  if (typeof values.indexable === \\"boolean\\") {
34697
34726
  // @ts-ignore: type is checked above.
@@ -34704,7 +34733,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34704
34733
  );
34705
34734
  }
34706
34735
  }
34707
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
34736
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
34708
34737
  if (\\"successor\\" in values && values.successor != null) {
34709
34738
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
34710
34739
  // @ts-ignore: type is checked above.
@@ -34717,7 +34746,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34717
34746
  );
34718
34747
  }
34719
34748
  }
34720
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
34749
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
34721
34750
  if (\\"alias\\" in values && values.alias != null) {
34722
34751
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
34723
34752
  // @ts-ignore: type is checked above.
@@ -34744,7 +34773,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34744
34773
  if (Array.isArray(values.aliases) &&
34745
34774
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
34746
34775
  // @ts-ignore: type is checked above.
34747
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
34776
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
34748
34777
 
34749
34778
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
34750
34779
  for (let i = 0; i < values.aliases.length; i++) {
@@ -34758,7 +34787,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34758
34787
  );
34759
34788
  }
34760
34789
  }
34761
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
34790
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
34762
34791
  if (\\"service\\" in values && values.service != null) {
34763
34792
  if (values.service instanceof DidService || values.service instanceof URL) {
34764
34793
  // @ts-ignore: type is checked above.
@@ -34785,7 +34814,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34785
34814
  if (Array.isArray(values.services) &&
34786
34815
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
34787
34816
  // @ts-ignore: type is checked above.
34788
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
34817
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
34789
34818
 
34790
34819
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
34791
34820
  for (let i = 0; i < values.services.length; i++) {
@@ -34799,7 +34828,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34799
34828
  );
34800
34829
  }
34801
34830
  }
34802
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
34831
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
34803
34832
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
34804
34833
  if (typeof values.followedMessage === \\"string\\") {
34805
34834
  // @ts-ignore: type is checked above.
@@ -34812,7 +34841,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34812
34841
  );
34813
34842
  }
34814
34843
  }
34815
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
34844
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
34816
34845
  if (\\"cat\\" in values && values.cat != null) {
34817
34846
  if (typeof values.cat === \\"boolean\\") {
34818
34847
  // @ts-ignore: type is checked above.
@@ -40915,7 +40944,8 @@ instruments?: (Object | URL)[];}
40915
40944
  * Clones this instance, optionally updating it with the given values.
40916
40945
  * @param values The values to update the clone with.
40917
40946
  * @param options The options to use for cloning.
40918
- * @returns The cloned instance.
40947
+ * @returns The cloned instance with its own property arrays. Nested objects
40948
+ * and URLs are shared with this instance.
40919
40949
  */
40920
40950
  override clone(
40921
40951
  values:
@@ -41268,7 +41298,8 @@ instruments?: (Object | URL)[];}
41268
41298
  * Clones this instance, optionally updating it with the given values.
41269
41299
  * @param values The values to update the clone with.
41270
41300
  * @param options The options to use for cloning.
41271
- * @returns The cloned instance.
41301
+ * @returns The cloned instance with its own property arrays. Nested objects
41302
+ * and URLs are shared with this instance.
41272
41303
  */
41273
41304
  override clone(
41274
41305
  values:
@@ -41646,7 +41677,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41646
41677
  * Clones this instance, optionally updating it with the given values.
41647
41678
  * @param values The values to update the clone with.
41648
41679
  * @param options The options to use for cloning.
41649
- * @returns The cloned instance.
41680
+ * @returns The cloned instance with its own property arrays. Nested objects
41681
+ * and URLs are shared with this instance.
41650
41682
  */
41651
41683
  override clone(
41652
41684
  values:
@@ -41684,7 +41716,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41684
41716
  // @ts-ignore: \$warning is not recognized as a property, but it is.
41685
41717
  options = { ...options, \$warning: this._warning };
41686
41718
  }
41687
- const clone = super.clone(values, options) as unknown as Article;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
41719
+ const clone = super.clone(values, options) as unknown as Article;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
41688
41720
  if (\\"quote\\" in values && values.quote != null) {
41689
41721
  if (values.quote instanceof Object || values.quote instanceof URL) {
41690
41722
  // @ts-ignore: type is checked above.
@@ -41697,7 +41729,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41697
41729
  );
41698
41730
  }
41699
41731
  }
41700
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
41732
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
41701
41733
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
41702
41734
  if (values.quoteUrl instanceof URL) {
41703
41735
  // @ts-ignore: type is checked above.
@@ -41710,7 +41742,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41710
41742
  );
41711
41743
  }
41712
41744
  }
41713
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
41745
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
41714
41746
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
41715
41747
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
41716
41748
  // @ts-ignore: type is checked above.
@@ -42834,7 +42866,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42834
42866
  * Clones this instance, optionally updating it with the given values.
42835
42867
  * @param values The values to update the clone with.
42836
42868
  * @param options The options to use for cloning.
42837
- * @returns The cloned instance.
42869
+ * @returns The cloned instance with its own property arrays. Nested objects
42870
+ * and URLs are shared with this instance.
42838
42871
  */
42839
42872
  override clone(
42840
42873
  values:
@@ -42872,7 +42905,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42872
42905
  // @ts-ignore: \$warning is not recognized as a property, but it is.
42873
42906
  options = { ...options, \$warning: this._warning };
42874
42907
  }
42875
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
42908
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
42876
42909
  if (\\"width\\" in values && values.width != null) {
42877
42910
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
42878
42911
  // @ts-ignore: type is checked above.
@@ -42885,7 +42918,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42885
42918
  );
42886
42919
  }
42887
42920
  }
42888
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
42921
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
42889
42922
  if (\\"height\\" in values && values.height != null) {
42890
42923
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
42891
42924
  // @ts-ignore: type is checked above.
@@ -43415,7 +43448,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43415
43448
  * Clones this instance, optionally updating it with the given values.
43416
43449
  * @param values The values to update the clone with.
43417
43450
  * @param options The options to use for cloning.
43418
- * @returns The cloned instance.
43451
+ * @returns The cloned instance with its own property arrays. Nested objects
43452
+ * and URLs are shared with this instance.
43419
43453
  */
43420
43454
  override clone(
43421
43455
  values:
@@ -43766,7 +43800,8 @@ instruments?: (Object | URL)[];}
43766
43800
  * Clones this instance, optionally updating it with the given values.
43767
43801
  * @param values The values to update the clone with.
43768
43802
  * @param options The options to use for cloning.
43769
- * @returns The cloned instance.
43803
+ * @returns The cloned instance with its own property arrays. Nested objects
43804
+ * and URLs are shared with this instance.
43770
43805
  */
43771
43806
  override clone(
43772
43807
  values:
@@ -44112,7 +44147,8 @@ instruments?: (Object | URL)[];}
44112
44147
  * Clones this instance, optionally updating it with the given values.
44113
44148
  * @param values The values to update the clone with.
44114
44149
  * @param options The options to use for cloning.
44115
- * @returns The cloned instance.
44150
+ * @returns The cloned instance with its own property arrays. Nested objects
44151
+ * and URLs are shared with this instance.
44116
44152
  */
44117
44153
  override clone(
44118
44154
  values:
@@ -44538,7 +44574,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44538
44574
  if (Array.isArray(values.items) &&
44539
44575
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
44540
44576
  // @ts-ignore: type is checked above.
44541
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
44577
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
44542
44578
 
44543
44579
  for (let i = 0; i < values.items.length; i++) {
44544
44580
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -44661,7 +44697,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44661
44697
  * Clones this instance, optionally updating it with the given values.
44662
44698
  * @param values The values to update the clone with.
44663
44699
  * @param options The options to use for cloning.
44664
- * @returns The cloned instance.
44700
+ * @returns The cloned instance with its own property arrays. Nested objects
44701
+ * and URLs are shared with this instance.
44665
44702
  */
44666
44703
  override clone(
44667
44704
  values:
@@ -44699,7 +44736,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44699
44736
  // @ts-ignore: \$warning is not recognized as a property, but it is.
44700
44737
  options = { ...options, \$warning: this._warning };
44701
44738
  }
44702
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
44739
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
44703
44740
  if (\\"totalItems\\" in values && values.totalItems != null) {
44704
44741
  if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
44705
44742
  // @ts-ignore: type is checked above.
@@ -44712,7 +44749,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44712
44749
  );
44713
44750
  }
44714
44751
  }
44715
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
44752
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
44716
44753
  if (\\"current\\" in values && values.current != null) {
44717
44754
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
44718
44755
  // @ts-ignore: type is checked above.
@@ -44725,7 +44762,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44725
44762
  );
44726
44763
  }
44727
44764
  }
44728
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
44765
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
44729
44766
  if (\\"first\\" in values && values.first != null) {
44730
44767
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
44731
44768
  // @ts-ignore: type is checked above.
@@ -44738,7 +44775,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44738
44775
  );
44739
44776
  }
44740
44777
  }
44741
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
44778
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
44742
44779
  if (\\"last\\" in values && values.last != null) {
44743
44780
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
44744
44781
  // @ts-ignore: type is checked above.
@@ -44751,13 +44788,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44751
44788
  );
44752
44789
  }
44753
44790
  }
44754
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
44791
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
44755
44792
  if (\\"items\\" in values && values.items != null) {
44756
44793
 
44757
44794
  if (Array.isArray(values.items) &&
44758
44795
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
44759
44796
  // @ts-ignore: type is checked above.
44760
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
44797
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
44761
44798
 
44762
44799
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
44763
44800
  for (let i = 0; i < values.items.length; i++) {
@@ -44771,7 +44808,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44771
44808
  );
44772
44809
  }
44773
44810
  }
44774
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
44811
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
44775
44812
  if (\\"likesOf\\" in values && values.likesOf != null) {
44776
44813
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
44777
44814
  // @ts-ignore: type is checked above.
@@ -44784,7 +44821,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44784
44821
  );
44785
44822
  }
44786
44823
  }
44787
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
44824
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
44788
44825
  if (\\"sharesOf\\" in values && values.sharesOf != null) {
44789
44826
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
44790
44827
  // @ts-ignore: type is checked above.
@@ -44797,7 +44834,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44797
44834
  );
44798
44835
  }
44799
44836
  }
44800
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
44837
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
44801
44838
  if (\\"repliesOf\\" in values && values.repliesOf != null) {
44802
44839
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
44803
44840
  // @ts-ignore: type is checked above.
@@ -44810,7 +44847,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44810
44847
  );
44811
44848
  }
44812
44849
  }
44813
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
44850
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
44814
44851
  if (\\"inboxOf\\" in values && values.inboxOf != null) {
44815
44852
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
44816
44853
  // @ts-ignore: type is checked above.
@@ -44823,7 +44860,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44823
44860
  );
44824
44861
  }
44825
44862
  }
44826
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
44863
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
44827
44864
  if (\\"outboxOf\\" in values && values.outboxOf != null) {
44828
44865
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
44829
44866
  // @ts-ignore: type is checked above.
@@ -44836,7 +44873,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44836
44873
  );
44837
44874
  }
44838
44875
  }
44839
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
44876
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
44840
44877
  if (\\"followersOf\\" in values && values.followersOf != null) {
44841
44878
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
44842
44879
  // @ts-ignore: type is checked above.
@@ -44849,7 +44886,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44849
44886
  );
44850
44887
  }
44851
44888
  }
44852
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
44889
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
44853
44890
  if (\\"followingOf\\" in values && values.followingOf != null) {
44854
44891
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
44855
44892
  // @ts-ignore: type is checked above.
@@ -44862,7 +44899,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44862
44899
  );
44863
44900
  }
44864
44901
  }
44865
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
44902
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
44866
44903
  if (\\"likedOf\\" in values && values.likedOf != null) {
44867
44904
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
44868
44905
  // @ts-ignore: type is checked above.
@@ -49246,7 +49283,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49246
49283
  * Clones this instance, optionally updating it with the given values.
49247
49284
  * @param values The values to update the clone with.
49248
49285
  * @param options The options to use for cloning.
49249
- * @returns The cloned instance.
49286
+ * @returns The cloned instance with its own property arrays. Nested objects
49287
+ * and URLs are shared with this instance.
49250
49288
  */
49251
49289
  override clone(
49252
49290
  values:
@@ -49284,7 +49322,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49284
49322
  // @ts-ignore: \$warning is not recognized as a property, but it is.
49285
49323
  options = { ...options, \$warning: this._warning };
49286
49324
  }
49287
- const clone = super.clone(values, options) as unknown as CollectionPage;clone.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = this.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf;clone.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = new Set(this.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf);
49325
+ const clone = super.clone(values, options) as unknown as CollectionPage;clone.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = this.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf.slice();clone.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf = new Set(this.#_trust_2kWgBhQKjEauxx8C6qF3ZQamK4Le_partOf);
49288
49326
  if (\\"partOf\\" in values && values.partOf != null) {
49289
49327
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
49290
49328
  // @ts-ignore: type is checked above.
@@ -49297,7 +49335,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49297
49335
  );
49298
49336
  }
49299
49337
  }
49300
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
49338
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
49301
49339
  if (\\"next\\" in values && values.next != null) {
49302
49340
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
49303
49341
  // @ts-ignore: type is checked above.
@@ -49310,7 +49348,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49310
49348
  );
49311
49349
  }
49312
49350
  }
49313
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
49351
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
49314
49352
  if (\\"prev\\" in values && values.prev != null) {
49315
49353
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
49316
49354
  // @ts-ignore: type is checked above.
@@ -50607,7 +50645,8 @@ instruments?: (Object | URL)[];}
50607
50645
  * Clones this instance, optionally updating it with the given values.
50608
50646
  * @param values The values to update the clone with.
50609
50647
  * @param options The options to use for cloning.
50610
- * @returns The cloned instance.
50648
+ * @returns The cloned instance with its own property arrays. Nested objects
50649
+ * and URLs are shared with this instance.
50611
50650
  */
50612
50651
  override clone(
50613
50652
  values:
@@ -50947,7 +50986,8 @@ instruments?: (Object | URL)[];}
50947
50986
  * Clones this instance, optionally updating it with the given values.
50948
50987
  * @param values The values to update the clone with.
50949
50988
  * @param options The options to use for cloning.
50950
- * @returns The cloned instance.
50989
+ * @returns The cloned instance with its own property arrays. Nested objects
50990
+ * and URLs are shared with this instance.
50951
50991
  */
50952
50992
  override clone(
50953
50993
  values:
@@ -51285,7 +51325,8 @@ instruments?: (Object | URL)[];}
51285
51325
  * Clones this instance, optionally updating it with the given values.
51286
51326
  * @param values The values to update the clone with.
51287
51327
  * @param options The options to use for cloning.
51288
- * @returns The cloned instance.
51328
+ * @returns The cloned instance with its own property arrays. Nested objects
51329
+ * and URLs are shared with this instance.
51289
51330
  */
51290
51331
  override clone(
51291
51332
  values:
@@ -51755,7 +51796,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51755
51796
  * Clones this instance, optionally updating it with the given values.
51756
51797
  * @param values The values to update the clone with.
51757
51798
  * @param options The options to use for cloning.
51758
- * @returns The cloned instance.
51799
+ * @returns The cloned instance with its own property arrays. Nested objects
51800
+ * and URLs are shared with this instance.
51759
51801
  */
51760
51802
  clone(
51761
51803
  values:
@@ -51783,7 +51825,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51783
51825
  { id: values.id ?? this.id },
51784
51826
  options
51785
51827
  );
51786
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
51828
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
51787
51829
  if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
51788
51830
  if (values.proxyUrl instanceof URL) {
51789
51831
  // @ts-ignore: type is checked above.
@@ -51796,7 +51838,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51796
51838
  );
51797
51839
  }
51798
51840
  }
51799
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
51841
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
51800
51842
  if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
51801
51843
  if (values.oauthAuthorizationEndpoint instanceof URL) {
51802
51844
  // @ts-ignore: type is checked above.
@@ -51809,7 +51851,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51809
51851
  );
51810
51852
  }
51811
51853
  }
51812
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
51854
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
51813
51855
  if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
51814
51856
  if (values.oauthTokenEndpoint instanceof URL) {
51815
51857
  // @ts-ignore: type is checked above.
@@ -51822,7 +51864,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51822
51864
  );
51823
51865
  }
51824
51866
  }
51825
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
51867
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
51826
51868
  if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
51827
51869
  if (values.provideClientKey instanceof URL) {
51828
51870
  // @ts-ignore: type is checked above.
@@ -51835,7 +51877,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51835
51877
  );
51836
51878
  }
51837
51879
  }
51838
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
51880
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
51839
51881
  if (\\"signClientKey\\" in values && values.signClientKey != null) {
51840
51882
  if (values.signClientKey instanceof URL) {
51841
51883
  // @ts-ignore: type is checked above.
@@ -51848,7 +51890,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51848
51890
  );
51849
51891
  }
51850
51892
  }
51851
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
51893
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
51852
51894
  if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
51853
51895
  if (values.sharedInbox instanceof URL) {
51854
51896
  // @ts-ignore: type is checked above.
@@ -52826,7 +52868,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
52826
52868
  * Clones this instance, optionally updating it with the given values.
52827
52869
  * @param values The values to update the clone with.
52828
52870
  * @param options The options to use for cloning.
52829
- * @returns The cloned instance.
52871
+ * @returns The cloned instance with its own property arrays. Nested objects
52872
+ * and URLs are shared with this instance.
52830
52873
  */
52831
52874
  override clone(
52832
52875
  values:
@@ -53178,7 +53221,8 @@ instruments?: (Object | URL)[];}
53178
53221
  * Clones this instance, optionally updating it with the given values.
53179
53222
  * @param values The values to update the clone with.
53180
53223
  * @param options The options to use for cloning.
53181
- * @returns The cloned instance.
53224
+ * @returns The cloned instance with its own property arrays. Nested objects
53225
+ * and URLs are shared with this instance.
53182
53226
  */
53183
53227
  override clone(
53184
53228
  values:
@@ -53520,7 +53564,8 @@ instruments?: (Object | URL)[];}
53520
53564
  * Clones this instance, optionally updating it with the given values.
53521
53565
  * @param values The values to update the clone with.
53522
53566
  * @param options The options to use for cloning.
53523
- * @returns The cloned instance.
53567
+ * @returns The cloned instance with its own property arrays. Nested objects
53568
+ * and URLs are shared with this instance.
53524
53569
  */
53525
53570
  override clone(
53526
53571
  values:
@@ -53926,7 +53971,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
53926
53971
  if (Array.isArray(values.preferredUsernames) &&
53927
53972
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
53928
53973
  // @ts-ignore: type is checked above.
53929
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
53974
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
53930
53975
 
53931
53976
  } else {
53932
53977
  throw new TypeError(
@@ -53962,7 +54007,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
53962
54007
  if (Array.isArray(values.publicKeys) &&
53963
54008
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
53964
54009
  // @ts-ignore: type is checked above.
53965
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
54010
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
53966
54011
 
53967
54012
  for (let i = 0; i < values.publicKeys.length; i++) {
53968
54013
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -54002,7 +54047,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54002
54047
  if (Array.isArray(values.assertionMethods) &&
54003
54048
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
54004
54049
  // @ts-ignore: type is checked above.
54005
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
54050
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
54006
54051
 
54007
54052
  for (let i = 0; i < values.assertionMethods.length; i++) {
54008
54053
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -54125,7 +54170,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54125
54170
  if (Array.isArray(values.streams) &&
54126
54171
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
54127
54172
  // @ts-ignore: type is checked above.
54128
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
54173
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
54129
54174
 
54130
54175
  for (let i = 0; i < values.streams.length; i++) {
54131
54176
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -54243,7 +54288,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54243
54288
  if (Array.isArray(values.aliases) &&
54244
54289
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
54245
54290
  // @ts-ignore: type is checked above.
54246
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
54291
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
54247
54292
 
54248
54293
  for (let i = 0; i < values.aliases.length; i++) {
54249
54294
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -54283,7 +54328,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54283
54328
  if (Array.isArray(values.services) &&
54284
54329
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
54285
54330
  // @ts-ignore: type is checked above.
54286
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
54331
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
54287
54332
 
54288
54333
  for (let i = 0; i < values.services.length; i++) {
54289
54334
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -54328,7 +54373,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54328
54373
  * Clones this instance, optionally updating it with the given values.
54329
54374
  * @param values The values to update the clone with.
54330
54375
  * @param options The options to use for cloning.
54331
- * @returns The cloned instance.
54376
+ * @returns The cloned instance with its own property arrays. Nested objects
54377
+ * and URLs are shared with this instance.
54332
54378
  */
54333
54379
  override clone(
54334
54380
  values:
@@ -54371,7 +54417,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54371
54417
  // @ts-ignore: \$warning is not recognized as a property, but it is.
54372
54418
  options = { ...options, \$warning: this._warning };
54373
54419
  }
54374
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
54420
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
54375
54421
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
54376
54422
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
54377
54423
  // @ts-ignore: type is checked above.
@@ -54398,7 +54444,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54398
54444
  if (Array.isArray(values.preferredUsernames) &&
54399
54445
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
54400
54446
  // @ts-ignore: type is checked above.
54401
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
54447
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
54402
54448
 
54403
54449
  } else {
54404
54450
  throw new TypeError(
@@ -54407,7 +54453,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54407
54453
  );
54408
54454
  }
54409
54455
  }
54410
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
54456
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
54411
54457
  if (\\"publicKey\\" in values && values.publicKey != null) {
54412
54458
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
54413
54459
  // @ts-ignore: type is checked above.
@@ -54434,7 +54480,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54434
54480
  if (Array.isArray(values.publicKeys) &&
54435
54481
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
54436
54482
  // @ts-ignore: type is checked above.
54437
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
54483
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
54438
54484
 
54439
54485
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
54440
54486
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -54448,7 +54494,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54448
54494
  );
54449
54495
  }
54450
54496
  }
54451
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
54497
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
54452
54498
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
54453
54499
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
54454
54500
  // @ts-ignore: type is checked above.
@@ -54475,7 +54521,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54475
54521
  if (Array.isArray(values.assertionMethods) &&
54476
54522
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
54477
54523
  // @ts-ignore: type is checked above.
54478
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
54524
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
54479
54525
 
54480
54526
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
54481
54527
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -54489,7 +54535,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54489
54535
  );
54490
54536
  }
54491
54537
  }
54492
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
54538
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
54493
54539
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
54494
54540
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
54495
54541
  // @ts-ignore: type is checked above.
@@ -54502,7 +54548,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54502
54548
  );
54503
54549
  }
54504
54550
  }
54505
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
54551
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
54506
54552
  if (\\"inbox\\" in values && values.inbox != null) {
54507
54553
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
54508
54554
  // @ts-ignore: type is checked above.
@@ -54515,7 +54561,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54515
54561
  );
54516
54562
  }
54517
54563
  }
54518
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
54564
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
54519
54565
  if (\\"outbox\\" in values && values.outbox != null) {
54520
54566
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
54521
54567
  // @ts-ignore: type is checked above.
@@ -54528,7 +54574,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54528
54574
  );
54529
54575
  }
54530
54576
  }
54531
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
54577
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
54532
54578
  if (\\"following\\" in values && values.following != null) {
54533
54579
  if (values.following instanceof Collection || values.following instanceof URL) {
54534
54580
  // @ts-ignore: type is checked above.
@@ -54541,7 +54587,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54541
54587
  );
54542
54588
  }
54543
54589
  }
54544
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
54590
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
54545
54591
  if (\\"followers\\" in values && values.followers != null) {
54546
54592
  if (values.followers instanceof Collection || values.followers instanceof URL) {
54547
54593
  // @ts-ignore: type is checked above.
@@ -54554,7 +54600,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54554
54600
  );
54555
54601
  }
54556
54602
  }
54557
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
54603
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
54558
54604
  if (\\"liked\\" in values && values.liked != null) {
54559
54605
  if (values.liked instanceof Collection || values.liked instanceof URL) {
54560
54606
  // @ts-ignore: type is checked above.
@@ -54567,7 +54613,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54567
54613
  );
54568
54614
  }
54569
54615
  }
54570
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
54616
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
54571
54617
  if (\\"featured\\" in values && values.featured != null) {
54572
54618
  if (values.featured instanceof Collection || values.featured instanceof URL) {
54573
54619
  // @ts-ignore: type is checked above.
@@ -54580,7 +54626,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54580
54626
  );
54581
54627
  }
54582
54628
  }
54583
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
54629
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
54584
54630
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
54585
54631
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
54586
54632
  // @ts-ignore: type is checked above.
@@ -54593,13 +54639,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54593
54639
  );
54594
54640
  }
54595
54641
  }
54596
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
54642
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
54597
54643
  if (\\"streams\\" in values && values.streams != null) {
54598
54644
 
54599
54645
  if (Array.isArray(values.streams) &&
54600
54646
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
54601
54647
  // @ts-ignore: type is checked above.
54602
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
54648
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
54603
54649
 
54604
54650
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
54605
54651
  for (let i = 0; i < values.streams.length; i++) {
@@ -54613,7 +54659,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54613
54659
  );
54614
54660
  }
54615
54661
  }
54616
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
54662
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
54617
54663
  if (\\"endpoints\\" in values && values.endpoints != null) {
54618
54664
  if (values.endpoints instanceof Endpoints) {
54619
54665
  // @ts-ignore: type is checked above.
@@ -54626,7 +54672,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54626
54672
  );
54627
54673
  }
54628
54674
  }
54629
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
54675
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
54630
54676
  if (\\"discoverable\\" in values && values.discoverable != null) {
54631
54677
  if (typeof values.discoverable === \\"boolean\\") {
54632
54678
  // @ts-ignore: type is checked above.
@@ -54639,7 +54685,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54639
54685
  );
54640
54686
  }
54641
54687
  }
54642
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
54688
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
54643
54689
  if (\\"suspended\\" in values && values.suspended != null) {
54644
54690
  if (typeof values.suspended === \\"boolean\\") {
54645
54691
  // @ts-ignore: type is checked above.
@@ -54652,7 +54698,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54652
54698
  );
54653
54699
  }
54654
54700
  }
54655
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
54701
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
54656
54702
  if (\\"memorial\\" in values && values.memorial != null) {
54657
54703
  if (typeof values.memorial === \\"boolean\\") {
54658
54704
  // @ts-ignore: type is checked above.
@@ -54665,7 +54711,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54665
54711
  );
54666
54712
  }
54667
54713
  }
54668
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
54714
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
54669
54715
  if (\\"indexable\\" in values && values.indexable != null) {
54670
54716
  if (typeof values.indexable === \\"boolean\\") {
54671
54717
  // @ts-ignore: type is checked above.
@@ -54678,7 +54724,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54678
54724
  );
54679
54725
  }
54680
54726
  }
54681
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
54727
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
54682
54728
  if (\\"successor\\" in values && values.successor != null) {
54683
54729
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
54684
54730
  // @ts-ignore: type is checked above.
@@ -54691,7 +54737,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54691
54737
  );
54692
54738
  }
54693
54739
  }
54694
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
54740
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
54695
54741
  if (\\"alias\\" in values && values.alias != null) {
54696
54742
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
54697
54743
  // @ts-ignore: type is checked above.
@@ -54718,7 +54764,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54718
54764
  if (Array.isArray(values.aliases) &&
54719
54765
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
54720
54766
  // @ts-ignore: type is checked above.
54721
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
54767
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
54722
54768
 
54723
54769
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
54724
54770
  for (let i = 0; i < values.aliases.length; i++) {
@@ -54732,7 +54778,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54732
54778
  );
54733
54779
  }
54734
54780
  }
54735
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
54781
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
54736
54782
  if (\\"service\\" in values && values.service != null) {
54737
54783
  if (values.service instanceof DidService || values.service instanceof URL) {
54738
54784
  // @ts-ignore: type is checked above.
@@ -54759,7 +54805,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54759
54805
  if (Array.isArray(values.services) &&
54760
54806
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
54761
54807
  // @ts-ignore: type is checked above.
54762
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
54808
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
54763
54809
 
54764
54810
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
54765
54811
  for (let i = 0; i < values.services.length; i++) {
@@ -54773,7 +54819,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54773
54819
  );
54774
54820
  }
54775
54821
  }
54776
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
54822
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
54777
54823
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
54778
54824
  if (typeof values.followedMessage === \\"string\\") {
54779
54825
  // @ts-ignore: type is checked above.
@@ -54786,7 +54832,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54786
54832
  );
54787
54833
  }
54788
54834
  }
54789
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
54835
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
54790
54836
  if (\\"cat\\" in values && values.cat != null) {
54791
54837
  if (typeof values.cat === \\"boolean\\") {
54792
54838
  // @ts-ignore: type is checked above.
@@ -60988,7 +61034,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
60988
61034
  if (Array.isArray(values.rels) &&
60989
61035
  values.rels.every(v => typeof v === \\"string\\")) {
60990
61036
  // @ts-ignore: type is checked above.
60991
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
61037
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
60992
61038
 
60993
61039
  } else {
60994
61040
  throw new TypeError(
@@ -61037,7 +61083,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61037
61083
  if (Array.isArray(values.names) &&
61038
61084
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
61039
61085
  // @ts-ignore: type is checked above.
61040
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
61086
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
61041
61087
 
61042
61088
  } else {
61043
61089
  throw new TypeError(
@@ -61091,7 +61137,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61091
61137
  if (Array.isArray(values.previews) &&
61092
61138
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
61093
61139
  // @ts-ignore: type is checked above.
61094
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
61140
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
61095
61141
 
61096
61142
  for (let i = 0; i < values.previews.length; i++) {
61097
61143
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -61110,7 +61156,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61110
61156
  * Clones this instance, optionally updating it with the given values.
61111
61157
  * @param values The values to update the clone with.
61112
61158
  * @param options The options to use for cloning.
61113
- * @returns The cloned instance.
61159
+ * @returns The cloned instance with its own property arrays. Nested objects
61160
+ * and URLs are shared with this instance.
61114
61161
  */
61115
61162
  clone(
61116
61163
  values:
@@ -61140,7 +61187,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61140
61187
  { id: values.id ?? this.id },
61141
61188
  options
61142
61189
  );
61143
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
61190
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
61144
61191
  if (\\"href\\" in values && values.href != null) {
61145
61192
  if (values.href instanceof URL) {
61146
61193
  // @ts-ignore: type is checked above.
@@ -61153,7 +61200,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61153
61200
  );
61154
61201
  }
61155
61202
  }
61156
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
61203
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
61157
61204
  if (\\"rel\\" in values && values.rel != null) {
61158
61205
  if (typeof values.rel === \\"string\\") {
61159
61206
  // @ts-ignore: type is checked above.
@@ -61180,7 +61227,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61180
61227
  if (Array.isArray(values.rels) &&
61181
61228
  values.rels.every(v => typeof v === \\"string\\")) {
61182
61229
  // @ts-ignore: type is checked above.
61183
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
61230
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
61184
61231
 
61185
61232
  } else {
61186
61233
  throw new TypeError(
@@ -61189,7 +61236,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61189
61236
  );
61190
61237
  }
61191
61238
  }
61192
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
61239
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
61193
61240
  if (\\"mediaType\\" in values && values.mediaType != null) {
61194
61241
  if (typeof values.mediaType === \\"string\\") {
61195
61242
  // @ts-ignore: type is checked above.
@@ -61202,7 +61249,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61202
61249
  );
61203
61250
  }
61204
61251
  }
61205
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
61252
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
61206
61253
  if (\\"name\\" in values && values.name != null) {
61207
61254
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
61208
61255
  // @ts-ignore: type is checked above.
@@ -61229,7 +61276,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61229
61276
  if (Array.isArray(values.names) &&
61230
61277
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
61231
61278
  // @ts-ignore: type is checked above.
61232
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
61279
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
61233
61280
 
61234
61281
  } else {
61235
61282
  throw new TypeError(
@@ -61238,7 +61285,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61238
61285
  );
61239
61286
  }
61240
61287
  }
61241
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
61288
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
61242
61289
  if (\\"language\\" in values && values.language != null) {
61243
61290
  if (values.language instanceof Intl.Locale) {
61244
61291
  // @ts-ignore: type is checked above.
@@ -61251,7 +61298,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61251
61298
  );
61252
61299
  }
61253
61300
  }
61254
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
61301
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
61255
61302
  if (\\"height\\" in values && values.height != null) {
61256
61303
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
61257
61304
  // @ts-ignore: type is checked above.
@@ -61264,7 +61311,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61264
61311
  );
61265
61312
  }
61266
61313
  }
61267
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
61314
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
61268
61315
  if (\\"width\\" in values && values.width != null) {
61269
61316
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
61270
61317
  // @ts-ignore: type is checked above.
@@ -61277,13 +61324,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61277
61324
  );
61278
61325
  }
61279
61326
  }
61280
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
61327
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
61281
61328
  if (\\"previews\\" in values && values.previews != null) {
61282
61329
 
61283
61330
  if (Array.isArray(values.previews) &&
61284
61331
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
61285
61332
  // @ts-ignore: type is checked above.
61286
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
61333
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
61287
61334
 
61288
61335
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
61289
61336
  for (let i = 0; i < values.previews.length; i++) {
@@ -62266,7 +62313,7 @@ get names(): ((string | LanguageString))[] {
62266
62313
  if (v == null) continue;
62267
62314
 
62268
62315
  const decoded =
62269
- new Intl.Locale(v[\\"@value\\"])
62316
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
62270
62317
  ;
62271
62318
 
62272
62319
  if (typeof decoded === \\"undefined\\") {
@@ -62665,7 +62712,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
62665
62712
  * Clones this instance, optionally updating it with the given values.
62666
62713
  * @param values The values to update the clone with.
62667
62714
  * @param options The options to use for cloning.
62668
- * @returns The cloned instance.
62715
+ * @returns The cloned instance with its own property arrays. Nested objects
62716
+ * and URLs are shared with this instance.
62669
62717
  */
62670
62718
  override clone(
62671
62719
  values:
@@ -62983,7 +63031,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
62983
63031
  * Clones this instance, optionally updating it with the given values.
62984
63032
  * @param values The values to update the clone with.
62985
63033
  * @param options The options to use for cloning.
62986
- * @returns The cloned instance.
63034
+ * @returns The cloned instance with its own property arrays. Nested objects
63035
+ * and URLs are shared with this instance.
62987
63036
  */
62988
63037
  override clone(
62989
63038
  values:
@@ -63335,7 +63384,8 @@ instruments?: (Object | URL)[];}
63335
63384
  * Clones this instance, optionally updating it with the given values.
63336
63385
  * @param values The values to update the clone with.
63337
63386
  * @param options The options to use for cloning.
63338
- * @returns The cloned instance.
63387
+ * @returns The cloned instance with its own property arrays. Nested objects
63388
+ * and URLs are shared with this instance.
63339
63389
  */
63340
63390
  override clone(
63341
63391
  values:
@@ -63679,7 +63729,8 @@ instruments?: (Object | URL)[];}
63679
63729
  * Clones this instance, optionally updating it with the given values.
63680
63730
  * @param values The values to update the clone with.
63681
63731
  * @param options The options to use for cloning.
63682
- * @returns The cloned instance.
63732
+ * @returns The cloned instance with its own property arrays. Nested objects
63733
+ * and URLs are shared with this instance.
63683
63734
  */
63684
63735
  override clone(
63685
63736
  values:
@@ -64019,7 +64070,8 @@ instruments?: (Object | URL)[];}
64019
64070
  * Clones this instance, optionally updating it with the given values.
64020
64071
  * @param values The values to update the clone with.
64021
64072
  * @param options The options to use for cloning.
64022
- * @returns The cloned instance.
64073
+ * @returns The cloned instance with its own property arrays. Nested objects
64074
+ * and URLs are shared with this instance.
64023
64075
  */
64024
64076
  override clone(
64025
64077
  values:
@@ -64359,7 +64411,8 @@ instruments?: (Object | URL)[];}
64359
64411
  * Clones this instance, optionally updating it with the given values.
64360
64412
  * @param values The values to update the clone with.
64361
64413
  * @param options The options to use for cloning.
64362
- * @returns The cloned instance.
64414
+ * @returns The cloned instance with its own property arrays. Nested objects
64415
+ * and URLs are shared with this instance.
64363
64416
  */
64364
64417
  override clone(
64365
64418
  values:
@@ -64699,7 +64752,8 @@ instruments?: (Object | URL)[];}
64699
64752
  * Clones this instance, optionally updating it with the given values.
64700
64753
  * @param values The values to update the clone with.
64701
64754
  * @param options The options to use for cloning.
64702
- * @returns The cloned instance.
64755
+ * @returns The cloned instance with its own property arrays. Nested objects
64756
+ * and URLs are shared with this instance.
64703
64757
  */
64704
64758
  override clone(
64705
64759
  values:
@@ -65037,7 +65091,8 @@ instruments?: (Object | URL)[];}
65037
65091
  * Clones this instance, optionally updating it with the given values.
65038
65092
  * @param values The values to update the clone with.
65039
65093
  * @param options The options to use for cloning.
65040
- * @returns The cloned instance.
65094
+ * @returns The cloned instance with its own property arrays. Nested objects
65095
+ * and URLs are shared with this instance.
65041
65096
  */
65042
65097
  override clone(
65043
65098
  values:
@@ -65355,7 +65410,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
65355
65410
  * Clones this instance, optionally updating it with the given values.
65356
65411
  * @param values The values to update the clone with.
65357
65412
  * @param options The options to use for cloning.
65358
- * @returns The cloned instance.
65413
+ * @returns The cloned instance with its own property arrays. Nested objects
65414
+ * and URLs are shared with this instance.
65359
65415
  */
65360
65416
  override clone(
65361
65417
  values:
@@ -65682,7 +65738,8 @@ instruments?: (Object | URL)[];}
65682
65738
  * Clones this instance, optionally updating it with the given values.
65683
65739
  * @param values The values to update the clone with.
65684
65740
  * @param options The options to use for cloning.
65685
- * @returns The cloned instance.
65741
+ * @returns The cloned instance with its own property arrays. Nested objects
65742
+ * and URLs are shared with this instance.
65686
65743
  */
65687
65744
  override clone(
65688
65745
  values:
@@ -66062,7 +66119,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66062
66119
  * Clones this instance, optionally updating it with the given values.
66063
66120
  * @param values The values to update the clone with.
66064
66121
  * @param options The options to use for cloning.
66065
- * @returns The cloned instance.
66122
+ * @returns The cloned instance with its own property arrays. Nested objects
66123
+ * and URLs are shared with this instance.
66066
66124
  */
66067
66125
  override clone(
66068
66126
  values:
@@ -66100,7 +66158,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66100
66158
  // @ts-ignore: \$warning is not recognized as a property, but it is.
66101
66159
  options = { ...options, \$warning: this._warning };
66102
66160
  }
66103
- const clone = super.clone(values, options) as unknown as Note;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
66161
+ const clone = super.clone(values, options) as unknown as Note;clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
66104
66162
  if (\\"quote\\" in values && values.quote != null) {
66105
66163
  if (values.quote instanceof Object || values.quote instanceof URL) {
66106
66164
  // @ts-ignore: type is checked above.
@@ -66113,7 +66171,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66113
66171
  );
66114
66172
  }
66115
66173
  }
66116
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
66174
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
66117
66175
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
66118
66176
  if (values.quoteUrl instanceof URL) {
66119
66177
  // @ts-ignore: type is checked above.
@@ -66126,7 +66184,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66126
66184
  );
66127
66185
  }
66128
66186
  }
66129
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
66187
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
66130
66188
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
66131
66189
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
66132
66190
  // @ts-ignore: type is checked above.
@@ -67227,7 +67285,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67227
67285
  if (Array.isArray(values.items) &&
67228
67286
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
67229
67287
  // @ts-ignore: type is checked above.
67230
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
67288
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
67231
67289
 
67232
67290
  for (let i = 0; i < values.items.length; i++) {
67233
67291
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -67246,7 +67304,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67246
67304
  * Clones this instance, optionally updating it with the given values.
67247
67305
  * @param values The values to update the clone with.
67248
67306
  * @param options The options to use for cloning.
67249
- * @returns The cloned instance.
67307
+ * @returns The cloned instance with its own property arrays. Nested objects
67308
+ * and URLs are shared with this instance.
67250
67309
  */
67251
67310
  override clone(
67252
67311
  values:
@@ -67284,13 +67343,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67284
67343
  // @ts-ignore: \$warning is not recognized as a property, but it is.
67285
67344
  options = { ...options, \$warning: this._warning };
67286
67345
  }
67287
- const clone = super.clone(values, options) as unknown as OrderedCollection;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
67346
+ const clone = super.clone(values, options) as unknown as OrderedCollection;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
67288
67347
  if (\\"items\\" in values && values.items != null) {
67289
67348
 
67290
67349
  if (Array.isArray(values.items) &&
67291
67350
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
67292
67351
  // @ts-ignore: type is checked above.
67293
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
67352
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
67294
67353
 
67295
67354
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
67296
67355
  for (let i = 0; i < values.items.length; i++) {
@@ -67961,7 +68020,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67961
68020
  if (Array.isArray(values.items) &&
67962
68021
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
67963
68022
  // @ts-ignore: type is checked above.
67964
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
68023
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
67965
68024
 
67966
68025
  for (let i = 0; i < values.items.length; i++) {
67967
68026
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -67993,7 +68052,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67993
68052
  * Clones this instance, optionally updating it with the given values.
67994
68053
  * @param values The values to update the clone with.
67995
68054
  * @param options The options to use for cloning.
67996
- * @returns The cloned instance.
68055
+ * @returns The cloned instance with its own property arrays. Nested objects
68056
+ * and URLs are shared with this instance.
67997
68057
  */
67998
68058
  override clone(
67999
68059
  values:
@@ -68031,13 +68091,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68031
68091
  // @ts-ignore: \$warning is not recognized as a property, but it is.
68032
68092
  options = { ...options, \$warning: this._warning };
68033
68093
  }
68034
- const clone = super.clone(values, options) as unknown as OrderedCollectionPage;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
68094
+ const clone = super.clone(values, options) as unknown as OrderedCollectionPage;clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
68035
68095
  if (\\"items\\" in values && values.items != null) {
68036
68096
 
68037
68097
  if (Array.isArray(values.items) &&
68038
68098
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
68039
68099
  // @ts-ignore: type is checked above.
68040
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
68100
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
68041
68101
 
68042
68102
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
68043
68103
  for (let i = 0; i < values.items.length; i++) {
@@ -68051,7 +68111,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68051
68111
  );
68052
68112
  }
68053
68113
  }
68054
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
68114
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
68055
68115
  if (\\"startIndex\\" in values && values.startIndex != null) {
68056
68116
  if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
68057
68117
  // @ts-ignore: type is checked above.
@@ -68886,7 +68946,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
68886
68946
  if (Array.isArray(values.preferredUsernames) &&
68887
68947
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
68888
68948
  // @ts-ignore: type is checked above.
68889
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
68949
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
68890
68950
 
68891
68951
  } else {
68892
68952
  throw new TypeError(
@@ -68922,7 +68982,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
68922
68982
  if (Array.isArray(values.publicKeys) &&
68923
68983
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
68924
68984
  // @ts-ignore: type is checked above.
68925
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
68985
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
68926
68986
 
68927
68987
  for (let i = 0; i < values.publicKeys.length; i++) {
68928
68988
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -68962,7 +69022,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
68962
69022
  if (Array.isArray(values.assertionMethods) &&
68963
69023
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
68964
69024
  // @ts-ignore: type is checked above.
68965
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
69025
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
68966
69026
 
68967
69027
  for (let i = 0; i < values.assertionMethods.length; i++) {
68968
69028
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -69085,7 +69145,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69085
69145
  if (Array.isArray(values.streams) &&
69086
69146
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
69087
69147
  // @ts-ignore: type is checked above.
69088
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
69148
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
69089
69149
 
69090
69150
  for (let i = 0; i < values.streams.length; i++) {
69091
69151
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -69203,7 +69263,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69203
69263
  if (Array.isArray(values.aliases) &&
69204
69264
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
69205
69265
  // @ts-ignore: type is checked above.
69206
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
69266
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
69207
69267
 
69208
69268
  for (let i = 0; i < values.aliases.length; i++) {
69209
69269
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -69243,7 +69303,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69243
69303
  if (Array.isArray(values.services) &&
69244
69304
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
69245
69305
  // @ts-ignore: type is checked above.
69246
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
69306
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
69247
69307
 
69248
69308
  for (let i = 0; i < values.services.length; i++) {
69249
69309
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -69288,7 +69348,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69288
69348
  * Clones this instance, optionally updating it with the given values.
69289
69349
  * @param values The values to update the clone with.
69290
69350
  * @param options The options to use for cloning.
69291
- * @returns The cloned instance.
69351
+ * @returns The cloned instance with its own property arrays. Nested objects
69352
+ * and URLs are shared with this instance.
69292
69353
  */
69293
69354
  override clone(
69294
69355
  values:
@@ -69331,7 +69392,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69331
69392
  // @ts-ignore: \$warning is not recognized as a property, but it is.
69332
69393
  options = { ...options, \$warning: this._warning };
69333
69394
  }
69334
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
69395
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
69335
69396
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
69336
69397
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
69337
69398
  // @ts-ignore: type is checked above.
@@ -69358,7 +69419,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69358
69419
  if (Array.isArray(values.preferredUsernames) &&
69359
69420
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
69360
69421
  // @ts-ignore: type is checked above.
69361
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
69422
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
69362
69423
 
69363
69424
  } else {
69364
69425
  throw new TypeError(
@@ -69367,7 +69428,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69367
69428
  );
69368
69429
  }
69369
69430
  }
69370
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
69431
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
69371
69432
  if (\\"publicKey\\" in values && values.publicKey != null) {
69372
69433
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
69373
69434
  // @ts-ignore: type is checked above.
@@ -69394,7 +69455,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69394
69455
  if (Array.isArray(values.publicKeys) &&
69395
69456
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
69396
69457
  // @ts-ignore: type is checked above.
69397
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
69458
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
69398
69459
 
69399
69460
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
69400
69461
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -69408,7 +69469,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69408
69469
  );
69409
69470
  }
69410
69471
  }
69411
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
69472
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
69412
69473
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
69413
69474
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
69414
69475
  // @ts-ignore: type is checked above.
@@ -69435,7 +69496,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69435
69496
  if (Array.isArray(values.assertionMethods) &&
69436
69497
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
69437
69498
  // @ts-ignore: type is checked above.
69438
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
69499
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
69439
69500
 
69440
69501
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
69441
69502
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -69449,7 +69510,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69449
69510
  );
69450
69511
  }
69451
69512
  }
69452
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
69513
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
69453
69514
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
69454
69515
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
69455
69516
  // @ts-ignore: type is checked above.
@@ -69462,7 +69523,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69462
69523
  );
69463
69524
  }
69464
69525
  }
69465
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
69526
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
69466
69527
  if (\\"inbox\\" in values && values.inbox != null) {
69467
69528
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
69468
69529
  // @ts-ignore: type is checked above.
@@ -69475,7 +69536,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69475
69536
  );
69476
69537
  }
69477
69538
  }
69478
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
69539
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
69479
69540
  if (\\"outbox\\" in values && values.outbox != null) {
69480
69541
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
69481
69542
  // @ts-ignore: type is checked above.
@@ -69488,7 +69549,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69488
69549
  );
69489
69550
  }
69490
69551
  }
69491
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
69552
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
69492
69553
  if (\\"following\\" in values && values.following != null) {
69493
69554
  if (values.following instanceof Collection || values.following instanceof URL) {
69494
69555
  // @ts-ignore: type is checked above.
@@ -69501,7 +69562,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69501
69562
  );
69502
69563
  }
69503
69564
  }
69504
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
69565
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
69505
69566
  if (\\"followers\\" in values && values.followers != null) {
69506
69567
  if (values.followers instanceof Collection || values.followers instanceof URL) {
69507
69568
  // @ts-ignore: type is checked above.
@@ -69514,7 +69575,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69514
69575
  );
69515
69576
  }
69516
69577
  }
69517
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
69578
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
69518
69579
  if (\\"liked\\" in values && values.liked != null) {
69519
69580
  if (values.liked instanceof Collection || values.liked instanceof URL) {
69520
69581
  // @ts-ignore: type is checked above.
@@ -69527,7 +69588,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69527
69588
  );
69528
69589
  }
69529
69590
  }
69530
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
69591
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
69531
69592
  if (\\"featured\\" in values && values.featured != null) {
69532
69593
  if (values.featured instanceof Collection || values.featured instanceof URL) {
69533
69594
  // @ts-ignore: type is checked above.
@@ -69540,7 +69601,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69540
69601
  );
69541
69602
  }
69542
69603
  }
69543
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
69604
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
69544
69605
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
69545
69606
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
69546
69607
  // @ts-ignore: type is checked above.
@@ -69553,13 +69614,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69553
69614
  );
69554
69615
  }
69555
69616
  }
69556
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
69617
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
69557
69618
  if (\\"streams\\" in values && values.streams != null) {
69558
69619
 
69559
69620
  if (Array.isArray(values.streams) &&
69560
69621
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
69561
69622
  // @ts-ignore: type is checked above.
69562
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
69623
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
69563
69624
 
69564
69625
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
69565
69626
  for (let i = 0; i < values.streams.length; i++) {
@@ -69573,7 +69634,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69573
69634
  );
69574
69635
  }
69575
69636
  }
69576
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
69637
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
69577
69638
  if (\\"endpoints\\" in values && values.endpoints != null) {
69578
69639
  if (values.endpoints instanceof Endpoints) {
69579
69640
  // @ts-ignore: type is checked above.
@@ -69586,7 +69647,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69586
69647
  );
69587
69648
  }
69588
69649
  }
69589
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
69650
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
69590
69651
  if (\\"discoverable\\" in values && values.discoverable != null) {
69591
69652
  if (typeof values.discoverable === \\"boolean\\") {
69592
69653
  // @ts-ignore: type is checked above.
@@ -69599,7 +69660,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69599
69660
  );
69600
69661
  }
69601
69662
  }
69602
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
69663
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
69603
69664
  if (\\"suspended\\" in values && values.suspended != null) {
69604
69665
  if (typeof values.suspended === \\"boolean\\") {
69605
69666
  // @ts-ignore: type is checked above.
@@ -69612,7 +69673,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69612
69673
  );
69613
69674
  }
69614
69675
  }
69615
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
69676
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
69616
69677
  if (\\"memorial\\" in values && values.memorial != null) {
69617
69678
  if (typeof values.memorial === \\"boolean\\") {
69618
69679
  // @ts-ignore: type is checked above.
@@ -69625,7 +69686,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69625
69686
  );
69626
69687
  }
69627
69688
  }
69628
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
69689
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
69629
69690
  if (\\"indexable\\" in values && values.indexable != null) {
69630
69691
  if (typeof values.indexable === \\"boolean\\") {
69631
69692
  // @ts-ignore: type is checked above.
@@ -69638,7 +69699,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69638
69699
  );
69639
69700
  }
69640
69701
  }
69641
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
69702
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
69642
69703
  if (\\"successor\\" in values && values.successor != null) {
69643
69704
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
69644
69705
  // @ts-ignore: type is checked above.
@@ -69651,7 +69712,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69651
69712
  );
69652
69713
  }
69653
69714
  }
69654
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
69715
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
69655
69716
  if (\\"alias\\" in values && values.alias != null) {
69656
69717
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
69657
69718
  // @ts-ignore: type is checked above.
@@ -69678,7 +69739,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69678
69739
  if (Array.isArray(values.aliases) &&
69679
69740
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
69680
69741
  // @ts-ignore: type is checked above.
69681
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
69742
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
69682
69743
 
69683
69744
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
69684
69745
  for (let i = 0; i < values.aliases.length; i++) {
@@ -69692,7 +69753,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69692
69753
  );
69693
69754
  }
69694
69755
  }
69695
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
69756
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
69696
69757
  if (\\"service\\" in values && values.service != null) {
69697
69758
  if (values.service instanceof DidService || values.service instanceof URL) {
69698
69759
  // @ts-ignore: type is checked above.
@@ -69719,7 +69780,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69719
69780
  if (Array.isArray(values.services) &&
69720
69781
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
69721
69782
  // @ts-ignore: type is checked above.
69722
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
69783
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
69723
69784
 
69724
69785
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
69725
69786
  for (let i = 0; i < values.services.length; i++) {
@@ -69733,7 +69794,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69733
69794
  );
69734
69795
  }
69735
69796
  }
69736
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
69797
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
69737
69798
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
69738
69799
  if (typeof values.followedMessage === \\"string\\") {
69739
69800
  // @ts-ignore: type is checked above.
@@ -69746,7 +69807,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69746
69807
  );
69747
69808
  }
69748
69809
  }
69749
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
69810
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
69750
69811
  if (\\"cat\\" in values && values.cat != null) {
69751
69812
  if (typeof values.cat === \\"boolean\\") {
69752
69813
  // @ts-ignore: type is checked above.
@@ -75840,7 +75901,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75840
75901
  * Clones this instance, optionally updating it with the given values.
75841
75902
  * @param values The values to update the clone with.
75842
75903
  * @param options The options to use for cloning.
75843
- * @returns The cloned instance.
75904
+ * @returns The cloned instance with its own property arrays. Nested objects
75905
+ * and URLs are shared with this instance.
75844
75906
  */
75845
75907
  override clone(
75846
75908
  values:
@@ -76257,7 +76319,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76257
76319
  if (Array.isArray(values.preferredUsernames) &&
76258
76320
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
76259
76321
  // @ts-ignore: type is checked above.
76260
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
76322
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
76261
76323
 
76262
76324
  } else {
76263
76325
  throw new TypeError(
@@ -76293,7 +76355,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76293
76355
  if (Array.isArray(values.publicKeys) &&
76294
76356
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
76295
76357
  // @ts-ignore: type is checked above.
76296
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
76358
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
76297
76359
 
76298
76360
  for (let i = 0; i < values.publicKeys.length; i++) {
76299
76361
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -76333,7 +76395,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76333
76395
  if (Array.isArray(values.assertionMethods) &&
76334
76396
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
76335
76397
  // @ts-ignore: type is checked above.
76336
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
76398
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
76337
76399
 
76338
76400
  for (let i = 0; i < values.assertionMethods.length; i++) {
76339
76401
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -76456,7 +76518,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76456
76518
  if (Array.isArray(values.streams) &&
76457
76519
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
76458
76520
  // @ts-ignore: type is checked above.
76459
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
76521
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
76460
76522
 
76461
76523
  for (let i = 0; i < values.streams.length; i++) {
76462
76524
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -76574,7 +76636,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76574
76636
  if (Array.isArray(values.aliases) &&
76575
76637
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
76576
76638
  // @ts-ignore: type is checked above.
76577
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
76639
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
76578
76640
 
76579
76641
  for (let i = 0; i < values.aliases.length; i++) {
76580
76642
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -76614,7 +76676,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76614
76676
  if (Array.isArray(values.services) &&
76615
76677
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
76616
76678
  // @ts-ignore: type is checked above.
76617
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
76679
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
76618
76680
 
76619
76681
  for (let i = 0; i < values.services.length; i++) {
76620
76682
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -76659,7 +76721,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76659
76721
  * Clones this instance, optionally updating it with the given values.
76660
76722
  * @param values The values to update the clone with.
76661
76723
  * @param options The options to use for cloning.
76662
- * @returns The cloned instance.
76724
+ * @returns The cloned instance with its own property arrays. Nested objects
76725
+ * and URLs are shared with this instance.
76663
76726
  */
76664
76727
  override clone(
76665
76728
  values:
@@ -76702,7 +76765,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76702
76765
  // @ts-ignore: \$warning is not recognized as a property, but it is.
76703
76766
  options = { ...options, \$warning: this._warning };
76704
76767
  }
76705
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
76768
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
76706
76769
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
76707
76770
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
76708
76771
  // @ts-ignore: type is checked above.
@@ -76729,7 +76792,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76729
76792
  if (Array.isArray(values.preferredUsernames) &&
76730
76793
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
76731
76794
  // @ts-ignore: type is checked above.
76732
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
76795
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
76733
76796
 
76734
76797
  } else {
76735
76798
  throw new TypeError(
@@ -76738,7 +76801,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76738
76801
  );
76739
76802
  }
76740
76803
  }
76741
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
76804
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
76742
76805
  if (\\"publicKey\\" in values && values.publicKey != null) {
76743
76806
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
76744
76807
  // @ts-ignore: type is checked above.
@@ -76765,7 +76828,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76765
76828
  if (Array.isArray(values.publicKeys) &&
76766
76829
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
76767
76830
  // @ts-ignore: type is checked above.
76768
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
76831
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
76769
76832
 
76770
76833
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
76771
76834
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -76779,7 +76842,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76779
76842
  );
76780
76843
  }
76781
76844
  }
76782
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
76845
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
76783
76846
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
76784
76847
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
76785
76848
  // @ts-ignore: type is checked above.
@@ -76806,7 +76869,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76806
76869
  if (Array.isArray(values.assertionMethods) &&
76807
76870
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
76808
76871
  // @ts-ignore: type is checked above.
76809
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
76872
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
76810
76873
 
76811
76874
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
76812
76875
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -76820,7 +76883,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76820
76883
  );
76821
76884
  }
76822
76885
  }
76823
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
76886
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
76824
76887
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
76825
76888
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
76826
76889
  // @ts-ignore: type is checked above.
@@ -76833,7 +76896,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76833
76896
  );
76834
76897
  }
76835
76898
  }
76836
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
76899
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
76837
76900
  if (\\"inbox\\" in values && values.inbox != null) {
76838
76901
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
76839
76902
  // @ts-ignore: type is checked above.
@@ -76846,7 +76909,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76846
76909
  );
76847
76910
  }
76848
76911
  }
76849
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
76912
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
76850
76913
  if (\\"outbox\\" in values && values.outbox != null) {
76851
76914
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
76852
76915
  // @ts-ignore: type is checked above.
@@ -76859,7 +76922,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76859
76922
  );
76860
76923
  }
76861
76924
  }
76862
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
76925
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
76863
76926
  if (\\"following\\" in values && values.following != null) {
76864
76927
  if (values.following instanceof Collection || values.following instanceof URL) {
76865
76928
  // @ts-ignore: type is checked above.
@@ -76872,7 +76935,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76872
76935
  );
76873
76936
  }
76874
76937
  }
76875
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
76938
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
76876
76939
  if (\\"followers\\" in values && values.followers != null) {
76877
76940
  if (values.followers instanceof Collection || values.followers instanceof URL) {
76878
76941
  // @ts-ignore: type is checked above.
@@ -76885,7 +76948,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76885
76948
  );
76886
76949
  }
76887
76950
  }
76888
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
76951
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
76889
76952
  if (\\"liked\\" in values && values.liked != null) {
76890
76953
  if (values.liked instanceof Collection || values.liked instanceof URL) {
76891
76954
  // @ts-ignore: type is checked above.
@@ -76898,7 +76961,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76898
76961
  );
76899
76962
  }
76900
76963
  }
76901
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
76964
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
76902
76965
  if (\\"featured\\" in values && values.featured != null) {
76903
76966
  if (values.featured instanceof Collection || values.featured instanceof URL) {
76904
76967
  // @ts-ignore: type is checked above.
@@ -76911,7 +76974,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76911
76974
  );
76912
76975
  }
76913
76976
  }
76914
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
76977
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
76915
76978
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
76916
76979
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
76917
76980
  // @ts-ignore: type is checked above.
@@ -76924,13 +76987,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76924
76987
  );
76925
76988
  }
76926
76989
  }
76927
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
76990
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
76928
76991
  if (\\"streams\\" in values && values.streams != null) {
76929
76992
 
76930
76993
  if (Array.isArray(values.streams) &&
76931
76994
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
76932
76995
  // @ts-ignore: type is checked above.
76933
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
76996
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
76934
76997
 
76935
76998
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
76936
76999
  for (let i = 0; i < values.streams.length; i++) {
@@ -76944,7 +77007,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76944
77007
  );
76945
77008
  }
76946
77009
  }
76947
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
77010
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
76948
77011
  if (\\"endpoints\\" in values && values.endpoints != null) {
76949
77012
  if (values.endpoints instanceof Endpoints) {
76950
77013
  // @ts-ignore: type is checked above.
@@ -76957,7 +77020,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76957
77020
  );
76958
77021
  }
76959
77022
  }
76960
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
77023
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
76961
77024
  if (\\"discoverable\\" in values && values.discoverable != null) {
76962
77025
  if (typeof values.discoverable === \\"boolean\\") {
76963
77026
  // @ts-ignore: type is checked above.
@@ -76970,7 +77033,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76970
77033
  );
76971
77034
  }
76972
77035
  }
76973
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
77036
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
76974
77037
  if (\\"suspended\\" in values && values.suspended != null) {
76975
77038
  if (typeof values.suspended === \\"boolean\\") {
76976
77039
  // @ts-ignore: type is checked above.
@@ -76983,7 +77046,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76983
77046
  );
76984
77047
  }
76985
77048
  }
76986
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
77049
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
76987
77050
  if (\\"memorial\\" in values && values.memorial != null) {
76988
77051
  if (typeof values.memorial === \\"boolean\\") {
76989
77052
  // @ts-ignore: type is checked above.
@@ -76996,7 +77059,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76996
77059
  );
76997
77060
  }
76998
77061
  }
76999
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
77062
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
77000
77063
  if (\\"indexable\\" in values && values.indexable != null) {
77001
77064
  if (typeof values.indexable === \\"boolean\\") {
77002
77065
  // @ts-ignore: type is checked above.
@@ -77009,7 +77072,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77009
77072
  );
77010
77073
  }
77011
77074
  }
77012
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
77075
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
77013
77076
  if (\\"successor\\" in values && values.successor != null) {
77014
77077
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
77015
77078
  // @ts-ignore: type is checked above.
@@ -77022,7 +77085,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77022
77085
  );
77023
77086
  }
77024
77087
  }
77025
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
77088
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
77026
77089
  if (\\"alias\\" in values && values.alias != null) {
77027
77090
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
77028
77091
  // @ts-ignore: type is checked above.
@@ -77049,7 +77112,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77049
77112
  if (Array.isArray(values.aliases) &&
77050
77113
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
77051
77114
  // @ts-ignore: type is checked above.
77052
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
77115
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
77053
77116
 
77054
77117
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
77055
77118
  for (let i = 0; i < values.aliases.length; i++) {
@@ -77063,7 +77126,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77063
77126
  );
77064
77127
  }
77065
77128
  }
77066
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
77129
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
77067
77130
  if (\\"service\\" in values && values.service != null) {
77068
77131
  if (values.service instanceof DidService || values.service instanceof URL) {
77069
77132
  // @ts-ignore: type is checked above.
@@ -77090,7 +77153,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77090
77153
  if (Array.isArray(values.services) &&
77091
77154
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
77092
77155
  // @ts-ignore: type is checked above.
77093
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
77156
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
77094
77157
 
77095
77158
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
77096
77159
  for (let i = 0; i < values.services.length; i++) {
@@ -77104,7 +77167,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77104
77167
  );
77105
77168
  }
77106
77169
  }
77107
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
77170
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
77108
77171
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
77109
77172
  if (typeof values.followedMessage === \\"string\\") {
77110
77173
  // @ts-ignore: type is checked above.
@@ -77117,7 +77180,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77117
77180
  );
77118
77181
  }
77119
77182
  }
77120
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
77183
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
77121
77184
  if (\\"cat\\" in values && values.cat != null) {
77122
77185
  if (typeof values.cat === \\"boolean\\") {
77123
77186
  // @ts-ignore: type is checked above.
@@ -83298,7 +83361,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83298
83361
  * Clones this instance, optionally updating it with the given values.
83299
83362
  * @param values The values to update the clone with.
83300
83363
  * @param options The options to use for cloning.
83301
- * @returns The cloned instance.
83364
+ * @returns The cloned instance with its own property arrays. Nested objects
83365
+ * and URLs are shared with this instance.
83302
83366
  */
83303
83367
  override clone(
83304
83368
  values:
@@ -83336,7 +83400,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83336
83400
  // @ts-ignore: \$warning is not recognized as a property, but it is.
83337
83401
  options = { ...options, \$warning: this._warning };
83338
83402
  }
83339
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
83403
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
83340
83404
  if (\\"accuracy\\" in values && values.accuracy != null) {
83341
83405
  if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
83342
83406
  // @ts-ignore: type is checked above.
@@ -83349,7 +83413,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83349
83413
  );
83350
83414
  }
83351
83415
  }
83352
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
83416
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
83353
83417
  if (\\"altitude\\" in values && values.altitude != null) {
83354
83418
  if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
83355
83419
  // @ts-ignore: type is checked above.
@@ -83362,7 +83426,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83362
83426
  );
83363
83427
  }
83364
83428
  }
83365
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
83429
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
83366
83430
  if (\\"latitude\\" in values && values.latitude != null) {
83367
83431
  if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
83368
83432
  // @ts-ignore: type is checked above.
@@ -83375,7 +83439,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83375
83439
  );
83376
83440
  }
83377
83441
  }
83378
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
83442
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
83379
83443
  if (\\"longitude\\" in values && values.longitude != null) {
83380
83444
  if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
83381
83445
  // @ts-ignore: type is checked above.
@@ -83388,7 +83452,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83388
83452
  );
83389
83453
  }
83390
83454
  }
83391
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
83455
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
83392
83456
  if (\\"radius\\" in values && values.radius != null) {
83393
83457
  if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
83394
83458
  // @ts-ignore: type is checked above.
@@ -83401,7 +83465,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83401
83465
  );
83402
83466
  }
83403
83467
  }
83404
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
83468
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
83405
83469
  if (\\"units\\" in values && values.units != null) {
83406
83470
  if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
83407
83471
  // @ts-ignore: type is checked above.
@@ -84343,7 +84407,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
84343
84407
  * Clones this instance, optionally updating it with the given values.
84344
84408
  * @param values The values to update the clone with.
84345
84409
  * @param options The options to use for cloning.
84346
- * @returns The cloned instance.
84410
+ * @returns The cloned instance with its own property arrays. Nested objects
84411
+ * and URLs are shared with this instance.
84347
84412
  */
84348
84413
  override clone(
84349
84414
  values:
@@ -84381,7 +84446,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
84381
84446
  // @ts-ignore: \$warning is not recognized as a property, but it is.
84382
84447
  options = { ...options, \$warning: this._warning };
84383
84448
  }
84384
- const clone = super.clone(values, options) as unknown as Profile;clone.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = this.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes;clone.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = new Set(this.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes);
84449
+ const clone = super.clone(values, options) as unknown as Profile;clone.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = this.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes.slice();clone.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes = new Set(this.#_trust_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1_describes);
84385
84450
  if (\\"describes\\" in values && values.describes != null) {
84386
84451
  if (values.describes instanceof Object || values.describes instanceof URL) {
84387
84452
  // @ts-ignore: type is checked above.
@@ -85052,7 +85117,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85052
85117
  if (Array.isArray(values.exclusiveOptions) &&
85053
85118
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85054
85119
  // @ts-ignore: type is checked above.
85055
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
85120
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
85056
85121
 
85057
85122
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
85058
85123
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -85071,7 +85136,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85071
85136
  if (Array.isArray(values.inclusiveOptions) &&
85072
85137
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85073
85138
  // @ts-ignore: type is checked above.
85074
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
85139
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
85075
85140
 
85076
85141
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
85077
85142
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -85155,7 +85220,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85155
85220
  * Clones this instance, optionally updating it with the given values.
85156
85221
  * @param values The values to update the clone with.
85157
85222
  * @param options The options to use for cloning.
85158
- * @returns The cloned instance.
85223
+ * @returns The cloned instance with its own property arrays. Nested objects
85224
+ * and URLs are shared with this instance.
85159
85225
  */
85160
85226
  override clone(
85161
85227
  values:
@@ -85199,13 +85265,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85199
85265
  // @ts-ignore: \$warning is not recognized as a property, but it is.
85200
85266
  options = { ...options, \$warning: this._warning };
85201
85267
  }
85202
- const clone = super.clone(values, options) as unknown as Question;clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf;clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set(this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf);
85268
+ const clone = super.clone(values, options) as unknown as Question;clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.slice();clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set(this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf);
85203
85269
  if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
85204
85270
 
85205
85271
  if (Array.isArray(values.exclusiveOptions) &&
85206
85272
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85207
85273
  // @ts-ignore: type is checked above.
85208
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
85274
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
85209
85275
 
85210
85276
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
85211
85277
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -85219,13 +85285,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85219
85285
  );
85220
85286
  }
85221
85287
  }
85222
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
85288
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
85223
85289
  if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
85224
85290
 
85225
85291
  if (Array.isArray(values.inclusiveOptions) &&
85226
85292
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85227
85293
  // @ts-ignore: type is checked above.
85228
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
85294
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
85229
85295
 
85230
85296
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
85231
85297
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -85239,7 +85305,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85239
85305
  );
85240
85306
  }
85241
85307
  }
85242
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
85308
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
85243
85309
  if (\\"closed\\" in values && values.closed != null) {
85244
85310
  if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
85245
85311
  // @ts-ignore: type is checked above.
@@ -85252,7 +85318,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85252
85318
  );
85253
85319
  }
85254
85320
  }
85255
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
85321
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
85256
85322
  if (\\"voters\\" in values && values.voters != null) {
85257
85323
  if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
85258
85324
  // @ts-ignore: type is checked above.
@@ -85265,7 +85331,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85265
85331
  );
85266
85332
  }
85267
85333
  }
85268
- clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
85334
+ clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
85269
85335
  if (\\"quote\\" in values && values.quote != null) {
85270
85336
  if (values.quote instanceof Object || values.quote instanceof URL) {
85271
85337
  // @ts-ignore: type is checked above.
@@ -85278,7 +85344,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85278
85344
  );
85279
85345
  }
85280
85346
  }
85281
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
85347
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
85282
85348
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
85283
85349
  if (values.quoteUrl instanceof URL) {
85284
85350
  // @ts-ignore: type is checked above.
@@ -85291,7 +85357,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85291
85357
  );
85292
85358
  }
85293
85359
  }
85294
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
85360
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
85295
85361
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
85296
85362
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
85297
85363
  // @ts-ignore: type is checked above.
@@ -87103,7 +87169,8 @@ instruments?: (Object | URL)[];}
87103
87169
  * Clones this instance, optionally updating it with the given values.
87104
87170
  * @param values The values to update the clone with.
87105
87171
  * @param options The options to use for cloning.
87106
- * @returns The cloned instance.
87172
+ * @returns The cloned instance with its own property arrays. Nested objects
87173
+ * and URLs are shared with this instance.
87107
87174
  */
87108
87175
  override clone(
87109
87176
  values:
@@ -87443,7 +87510,8 @@ instruments?: (Object | URL)[];}
87443
87510
  * Clones this instance, optionally updating it with the given values.
87444
87511
  * @param values The values to update the clone with.
87445
87512
  * @param options The options to use for cloning.
87446
- * @returns The cloned instance.
87513
+ * @returns The cloned instance with its own property arrays. Nested objects
87514
+ * and URLs are shared with this instance.
87447
87515
  */
87448
87516
  override clone(
87449
87517
  values:
@@ -87831,7 +87899,7 @@ relationships?: (Object | URL)[];}
87831
87899
  if (Array.isArray(values.objects) &&
87832
87900
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
87833
87901
  // @ts-ignore: type is checked above.
87834
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
87902
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
87835
87903
 
87836
87904
  for (let i = 0; i < values.objects.length; i++) {
87837
87905
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -87871,7 +87939,7 @@ relationships?: (Object | URL)[];}
87871
87939
  if (Array.isArray(values.relationships) &&
87872
87940
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
87873
87941
  // @ts-ignore: type is checked above.
87874
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
87942
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
87875
87943
 
87876
87944
  for (let i = 0; i < values.relationships.length; i++) {
87877
87945
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -87890,7 +87958,8 @@ relationships?: (Object | URL)[];}
87890
87958
  * Clones this instance, optionally updating it with the given values.
87891
87959
  * @param values The values to update the clone with.
87892
87960
  * @param options The options to use for cloning.
87893
- * @returns The cloned instance.
87961
+ * @returns The cloned instance with its own property arrays. Nested objects
87962
+ * and URLs are shared with this instance.
87894
87963
  */
87895
87964
  override clone(
87896
87965
  values:
@@ -87930,7 +87999,7 @@ relationships?: (Object | URL)[];}
87930
87999
  // @ts-ignore: \$warning is not recognized as a property, but it is.
87931
88000
  options = { ...options, \$warning: this._warning };
87932
88001
  }
87933
- const clone = super.clone(values, options) as unknown as Relationship;clone.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = this.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject;clone.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = new Set(this.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject);
88002
+ const clone = super.clone(values, options) as unknown as Relationship;clone.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = this.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject.slice();clone.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject = new Set(this.#_trust_2Zqdmi46ZnDQsECS6mzwhrv3rUKq_subject);
87934
88003
  if (\\"subject\\" in values && values.subject != null) {
87935
88004
  if (values.subject instanceof Object || values.subject instanceof URL) {
87936
88005
  // @ts-ignore: type is checked above.
@@ -87943,7 +88012,7 @@ relationships?: (Object | URL)[];}
87943
88012
  );
87944
88013
  }
87945
88014
  }
87946
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
88015
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
87947
88016
  if (\\"object\\" in values && values.object != null) {
87948
88017
  if (values.object instanceof Object || values.object instanceof URL) {
87949
88018
  // @ts-ignore: type is checked above.
@@ -87970,7 +88039,7 @@ relationships?: (Object | URL)[];}
87970
88039
  if (Array.isArray(values.objects) &&
87971
88040
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
87972
88041
  // @ts-ignore: type is checked above.
87973
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
88042
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
87974
88043
 
87975
88044
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
87976
88045
  for (let i = 0; i < values.objects.length; i++) {
@@ -87984,7 +88053,7 @@ relationships?: (Object | URL)[];}
87984
88053
  );
87985
88054
  }
87986
88055
  }
87987
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
88056
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
87988
88057
  if (\\"relationship\\" in values && values.relationship != null) {
87989
88058
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
87990
88059
  // @ts-ignore: type is checked above.
@@ -88011,7 +88080,7 @@ relationships?: (Object | URL)[];}
88011
88080
  if (Array.isArray(values.relationships) &&
88012
88081
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
88013
88082
  // @ts-ignore: type is checked above.
88014
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
88083
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
88015
88084
 
88016
88085
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
88017
88086
  for (let i = 0; i < values.relationships.length; i++) {
@@ -89534,7 +89603,8 @@ instruments?: (Object | URL)[];}
89534
89603
  * Clones this instance, optionally updating it with the given values.
89535
89604
  * @param values The values to update the clone with.
89536
89605
  * @param options The options to use for cloning.
89537
- * @returns The cloned instance.
89606
+ * @returns The cloned instance with its own property arrays. Nested objects
89607
+ * and URLs are shared with this instance.
89538
89608
  */
89539
89609
  override clone(
89540
89610
  values:
@@ -89940,7 +90010,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
89940
90010
  if (Array.isArray(values.preferredUsernames) &&
89941
90011
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
89942
90012
  // @ts-ignore: type is checked above.
89943
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
90013
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
89944
90014
 
89945
90015
  } else {
89946
90016
  throw new TypeError(
@@ -89976,7 +90046,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
89976
90046
  if (Array.isArray(values.publicKeys) &&
89977
90047
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
89978
90048
  // @ts-ignore: type is checked above.
89979
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
90049
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
89980
90050
 
89981
90051
  for (let i = 0; i < values.publicKeys.length; i++) {
89982
90052
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -90016,7 +90086,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90016
90086
  if (Array.isArray(values.assertionMethods) &&
90017
90087
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
90018
90088
  // @ts-ignore: type is checked above.
90019
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
90089
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
90020
90090
 
90021
90091
  for (let i = 0; i < values.assertionMethods.length; i++) {
90022
90092
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -90139,7 +90209,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90139
90209
  if (Array.isArray(values.streams) &&
90140
90210
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
90141
90211
  // @ts-ignore: type is checked above.
90142
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
90212
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
90143
90213
 
90144
90214
  for (let i = 0; i < values.streams.length; i++) {
90145
90215
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -90257,7 +90327,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90257
90327
  if (Array.isArray(values.aliases) &&
90258
90328
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
90259
90329
  // @ts-ignore: type is checked above.
90260
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
90330
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
90261
90331
 
90262
90332
  for (let i = 0; i < values.aliases.length; i++) {
90263
90333
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -90297,7 +90367,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90297
90367
  if (Array.isArray(values.services) &&
90298
90368
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
90299
90369
  // @ts-ignore: type is checked above.
90300
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
90370
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
90301
90371
 
90302
90372
  for (let i = 0; i < values.services.length; i++) {
90303
90373
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -90342,7 +90412,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90342
90412
  * Clones this instance, optionally updating it with the given values.
90343
90413
  * @param values The values to update the clone with.
90344
90414
  * @param options The options to use for cloning.
90345
- * @returns The cloned instance.
90415
+ * @returns The cloned instance with its own property arrays. Nested objects
90416
+ * and URLs are shared with this instance.
90346
90417
  */
90347
90418
  override clone(
90348
90419
  values:
@@ -90385,7 +90456,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90385
90456
  // @ts-ignore: \$warning is not recognized as a property, but it is.
90386
90457
  options = { ...options, \$warning: this._warning };
90387
90458
  }
90388
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
90459
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
90389
90460
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
90390
90461
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
90391
90462
  // @ts-ignore: type is checked above.
@@ -90412,7 +90483,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90412
90483
  if (Array.isArray(values.preferredUsernames) &&
90413
90484
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
90414
90485
  // @ts-ignore: type is checked above.
90415
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
90486
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
90416
90487
 
90417
90488
  } else {
90418
90489
  throw new TypeError(
@@ -90421,7 +90492,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90421
90492
  );
90422
90493
  }
90423
90494
  }
90424
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
90495
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
90425
90496
  if (\\"publicKey\\" in values && values.publicKey != null) {
90426
90497
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
90427
90498
  // @ts-ignore: type is checked above.
@@ -90448,7 +90519,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90448
90519
  if (Array.isArray(values.publicKeys) &&
90449
90520
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
90450
90521
  // @ts-ignore: type is checked above.
90451
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
90522
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
90452
90523
 
90453
90524
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
90454
90525
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -90462,7 +90533,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90462
90533
  );
90463
90534
  }
90464
90535
  }
90465
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
90536
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
90466
90537
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
90467
90538
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
90468
90539
  // @ts-ignore: type is checked above.
@@ -90489,7 +90560,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90489
90560
  if (Array.isArray(values.assertionMethods) &&
90490
90561
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
90491
90562
  // @ts-ignore: type is checked above.
90492
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
90563
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
90493
90564
 
90494
90565
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
90495
90566
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -90503,7 +90574,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90503
90574
  );
90504
90575
  }
90505
90576
  }
90506
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
90577
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
90507
90578
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
90508
90579
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
90509
90580
  // @ts-ignore: type is checked above.
@@ -90516,7 +90587,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90516
90587
  );
90517
90588
  }
90518
90589
  }
90519
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
90590
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
90520
90591
  if (\\"inbox\\" in values && values.inbox != null) {
90521
90592
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
90522
90593
  // @ts-ignore: type is checked above.
@@ -90529,7 +90600,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90529
90600
  );
90530
90601
  }
90531
90602
  }
90532
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
90603
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
90533
90604
  if (\\"outbox\\" in values && values.outbox != null) {
90534
90605
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
90535
90606
  // @ts-ignore: type is checked above.
@@ -90542,7 +90613,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90542
90613
  );
90543
90614
  }
90544
90615
  }
90545
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
90616
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
90546
90617
  if (\\"following\\" in values && values.following != null) {
90547
90618
  if (values.following instanceof Collection || values.following instanceof URL) {
90548
90619
  // @ts-ignore: type is checked above.
@@ -90555,7 +90626,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90555
90626
  );
90556
90627
  }
90557
90628
  }
90558
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
90629
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
90559
90630
  if (\\"followers\\" in values && values.followers != null) {
90560
90631
  if (values.followers instanceof Collection || values.followers instanceof URL) {
90561
90632
  // @ts-ignore: type is checked above.
@@ -90568,7 +90639,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90568
90639
  );
90569
90640
  }
90570
90641
  }
90571
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
90642
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
90572
90643
  if (\\"liked\\" in values && values.liked != null) {
90573
90644
  if (values.liked instanceof Collection || values.liked instanceof URL) {
90574
90645
  // @ts-ignore: type is checked above.
@@ -90581,7 +90652,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90581
90652
  );
90582
90653
  }
90583
90654
  }
90584
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
90655
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
90585
90656
  if (\\"featured\\" in values && values.featured != null) {
90586
90657
  if (values.featured instanceof Collection || values.featured instanceof URL) {
90587
90658
  // @ts-ignore: type is checked above.
@@ -90594,7 +90665,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90594
90665
  );
90595
90666
  }
90596
90667
  }
90597
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
90668
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
90598
90669
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
90599
90670
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
90600
90671
  // @ts-ignore: type is checked above.
@@ -90607,13 +90678,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90607
90678
  );
90608
90679
  }
90609
90680
  }
90610
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
90681
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
90611
90682
  if (\\"streams\\" in values && values.streams != null) {
90612
90683
 
90613
90684
  if (Array.isArray(values.streams) &&
90614
90685
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
90615
90686
  // @ts-ignore: type is checked above.
90616
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
90687
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
90617
90688
 
90618
90689
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
90619
90690
  for (let i = 0; i < values.streams.length; i++) {
@@ -90627,7 +90698,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90627
90698
  );
90628
90699
  }
90629
90700
  }
90630
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
90701
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
90631
90702
  if (\\"endpoints\\" in values && values.endpoints != null) {
90632
90703
  if (values.endpoints instanceof Endpoints) {
90633
90704
  // @ts-ignore: type is checked above.
@@ -90640,7 +90711,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90640
90711
  );
90641
90712
  }
90642
90713
  }
90643
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
90714
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
90644
90715
  if (\\"discoverable\\" in values && values.discoverable != null) {
90645
90716
  if (typeof values.discoverable === \\"boolean\\") {
90646
90717
  // @ts-ignore: type is checked above.
@@ -90653,7 +90724,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90653
90724
  );
90654
90725
  }
90655
90726
  }
90656
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
90727
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
90657
90728
  if (\\"suspended\\" in values && values.suspended != null) {
90658
90729
  if (typeof values.suspended === \\"boolean\\") {
90659
90730
  // @ts-ignore: type is checked above.
@@ -90666,7 +90737,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90666
90737
  );
90667
90738
  }
90668
90739
  }
90669
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
90740
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
90670
90741
  if (\\"memorial\\" in values && values.memorial != null) {
90671
90742
  if (typeof values.memorial === \\"boolean\\") {
90672
90743
  // @ts-ignore: type is checked above.
@@ -90679,7 +90750,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90679
90750
  );
90680
90751
  }
90681
90752
  }
90682
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
90753
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
90683
90754
  if (\\"indexable\\" in values && values.indexable != null) {
90684
90755
  if (typeof values.indexable === \\"boolean\\") {
90685
90756
  // @ts-ignore: type is checked above.
@@ -90692,7 +90763,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90692
90763
  );
90693
90764
  }
90694
90765
  }
90695
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
90766
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
90696
90767
  if (\\"successor\\" in values && values.successor != null) {
90697
90768
  if (values.successor instanceof Application || values.successor instanceof Group || values.successor instanceof Organization || values.successor instanceof Person || values.successor instanceof Service || values.successor instanceof URL) {
90698
90769
  // @ts-ignore: type is checked above.
@@ -90705,7 +90776,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90705
90776
  );
90706
90777
  }
90707
90778
  }
90708
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
90779
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
90709
90780
  if (\\"alias\\" in values && values.alias != null) {
90710
90781
  if (values.alias instanceof Application || values.alias instanceof Group || values.alias instanceof Organization || values.alias instanceof Person || values.alias instanceof Service || values.alias instanceof URL) {
90711
90782
  // @ts-ignore: type is checked above.
@@ -90732,7 +90803,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90732
90803
  if (Array.isArray(values.aliases) &&
90733
90804
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
90734
90805
  // @ts-ignore: type is checked above.
90735
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
90806
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
90736
90807
 
90737
90808
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
90738
90809
  for (let i = 0; i < values.aliases.length; i++) {
@@ -90746,7 +90817,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90746
90817
  );
90747
90818
  }
90748
90819
  }
90749
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
90820
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
90750
90821
  if (\\"service\\" in values && values.service != null) {
90751
90822
  if (values.service instanceof DidService || values.service instanceof URL) {
90752
90823
  // @ts-ignore: type is checked above.
@@ -90773,7 +90844,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90773
90844
  if (Array.isArray(values.services) &&
90774
90845
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
90775
90846
  // @ts-ignore: type is checked above.
90776
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
90847
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
90777
90848
 
90778
90849
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
90779
90850
  for (let i = 0; i < values.services.length; i++) {
@@ -90787,7 +90858,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90787
90858
  );
90788
90859
  }
90789
90860
  }
90790
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
90861
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
90791
90862
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
90792
90863
  if (typeof values.followedMessage === \\"string\\") {
90793
90864
  // @ts-ignore: type is checked above.
@@ -90800,7 +90871,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90800
90871
  );
90801
90872
  }
90802
90873
  }
90803
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
90874
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
90804
90875
  if (\\"cat\\" in values && values.cat != null) {
90805
90876
  if (typeof values.cat === \\"boolean\\") {
90806
90877
  // @ts-ignore: type is checked above.
@@ -96972,7 +97043,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
96972
97043
  if (Array.isArray(values.contents) &&
96973
97044
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
96974
97045
  // @ts-ignore: type is checked above.
96975
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
97046
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
96976
97047
 
96977
97048
  } else {
96978
97049
  throw new TypeError(
@@ -97000,7 +97071,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97000
97071
  * Clones this instance, optionally updating it with the given values.
97001
97072
  * @param values The values to update the clone with.
97002
97073
  * @param options The options to use for cloning.
97003
- * @returns The cloned instance.
97074
+ * @returns The cloned instance with its own property arrays. Nested objects
97075
+ * and URLs are shared with this instance.
97004
97076
  */
97005
97077
  clone(
97006
97078
  values:
@@ -97029,7 +97101,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97029
97101
  { id: values.id ?? this.id },
97030
97102
  options
97031
97103
  );
97032
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
97104
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
97033
97105
  if (\\"content\\" in values && values.content != null) {
97034
97106
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
97035
97107
  // @ts-ignore: type is checked above.
@@ -97056,7 +97128,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97056
97128
  if (Array.isArray(values.contents) &&
97057
97129
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
97058
97130
  // @ts-ignore: type is checked above.
97059
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
97131
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
97060
97132
 
97061
97133
  } else {
97062
97134
  throw new TypeError(
@@ -97065,7 +97137,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97065
97137
  );
97066
97138
  }
97067
97139
  }
97068
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
97140
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
97069
97141
  if (\\"mediaType\\" in values && values.mediaType != null) {
97070
97142
  if (typeof values.mediaType === \\"string\\") {
97071
97143
  // @ts-ignore: type is checked above.
@@ -97587,7 +97659,8 @@ instruments?: (Object | URL)[];}
97587
97659
  * Clones this instance, optionally updating it with the given values.
97588
97660
  * @param values The values to update the clone with.
97589
97661
  * @param options The options to use for cloning.
97590
- * @returns The cloned instance.
97662
+ * @returns The cloned instance with its own property arrays. Nested objects
97663
+ * and URLs are shared with this instance.
97591
97664
  */
97592
97665
  override clone(
97593
97666
  values:
@@ -97927,7 +98000,8 @@ instruments?: (Object | URL)[];}
97927
98000
  * Clones this instance, optionally updating it with the given values.
97928
98001
  * @param values The values to update the clone with.
97929
98002
  * @param options The options to use for cloning.
97930
- * @returns The cloned instance.
98003
+ * @returns The cloned instance with its own property arrays. Nested objects
98004
+ * and URLs are shared with this instance.
97931
98005
  */
97932
98006
  override clone(
97933
98007
  values:
@@ -98286,7 +98360,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
98286
98360
  if (Array.isArray(values.formerTypes) &&
98287
98361
  values.formerTypes.every(v => isEntityType(v))) {
98288
98362
  // @ts-ignore: type is checked above.
98289
- this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
98363
+ this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
98290
98364
 
98291
98365
  } else {
98292
98366
  throw new TypeError(
@@ -98314,7 +98388,8 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
98314
98388
  * Clones this instance, optionally updating it with the given values.
98315
98389
  * @param values The values to update the clone with.
98316
98390
  * @param options The options to use for cloning.
98317
- * @returns The cloned instance.
98391
+ * @returns The cloned instance with its own property arrays. Nested objects
98392
+ * and URLs are shared with this instance.
98318
98393
  */
98319
98394
  override clone(
98320
98395
  values:
@@ -98353,7 +98428,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
98353
98428
  // @ts-ignore: \$warning is not recognized as a property, but it is.
98354
98429
  options = { ...options, \$warning: this._warning };
98355
98430
  }
98356
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType;
98431
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType.slice();
98357
98432
  if (\\"formerType\\" in values && values.formerType != null) {
98358
98433
  if (isEntityType(values.formerType)) {
98359
98434
  // @ts-ignore: type is checked above.
@@ -98380,7 +98455,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
98380
98455
  if (Array.isArray(values.formerTypes) &&
98381
98456
  values.formerTypes.every(v => isEntityType(v))) {
98382
98457
  // @ts-ignore: type is checked above.
98383
- clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
98458
+ clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
98384
98459
 
98385
98460
  } else {
98386
98461
  throw new TypeError(
@@ -98389,7 +98464,7 @@ formerTypes?: (\$EntityType)[];deleted?: Temporal.Instant | null;}
98389
98464
  );
98390
98465
  }
98391
98466
  }
98392
- clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
98467
+ clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
98393
98468
  if (\\"deleted\\" in values && values.deleted != null) {
98394
98469
  if (isTemporalInstant(values.deleted)) {
98395
98470
  // @ts-ignore: type is checked above.
@@ -98946,7 +99021,8 @@ instruments?: (Object | URL)[];}
98946
99021
  * Clones this instance, optionally updating it with the given values.
98947
99022
  * @param values The values to update the clone with.
98948
99023
  * @param options The options to use for cloning.
98949
- * @returns The cloned instance.
99024
+ * @returns The cloned instance with its own property arrays. Nested objects
99025
+ * and URLs are shared with this instance.
98950
99026
  */
98951
99027
  override clone(
98952
99028
  values:
@@ -99291,7 +99367,8 @@ instruments?: (Object | URL)[];}
99291
99367
  * Clones this instance, optionally updating it with the given values.
99292
99368
  * @param values The values to update the clone with.
99293
99369
  * @param options The options to use for cloning.
99294
- * @returns The cloned instance.
99370
+ * @returns The cloned instance with its own property arrays. Nested objects
99371
+ * and URLs are shared with this instance.
99295
99372
  */
99296
99373
  override clone(
99297
99374
  values:
@@ -99634,7 +99711,8 @@ instruments?: (Object | URL)[];}
99634
99711
  * Clones this instance, optionally updating it with the given values.
99635
99712
  * @param values The values to update the clone with.
99636
99713
  * @param options The options to use for cloning.
99637
- * @returns The cloned instance.
99714
+ * @returns The cloned instance with its own property arrays. Nested objects
99715
+ * and URLs are shared with this instance.
99638
99716
  */
99639
99717
  override clone(
99640
99718
  values:
@@ -99966,7 +100044,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
99966
100044
  * Clones this instance, optionally updating it with the given values.
99967
100045
  * @param values The values to update the clone with.
99968
100046
  * @param options The options to use for cloning.
99969
- * @returns The cloned instance.
100047
+ * @returns The cloned instance with its own property arrays. Nested objects
100048
+ * and URLs are shared with this instance.
99970
100049
  */
99971
100050
  override clone(
99972
100051
  values:
@@ -100316,7 +100395,8 @@ instruments?: (Object | URL)[];}
100316
100395
  * Clones this instance, optionally updating it with the given values.
100317
100396
  * @param values The values to update the clone with.
100318
100397
  * @param options The options to use for cloning.
100319
- * @returns The cloned instance.
100398
+ * @returns The cloned instance with its own property arrays. Nested objects
100399
+ * and URLs are shared with this instance.
100320
100400
  */
100321
100401
  override clone(
100322
100402
  values: