@fedify/vocab-tools 2.2.15-dev.2196 → 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.
@@ -17,6 +17,7 @@ import {
17
17
  importPem,
18
18
  isDecimal,
19
19
  LanguageString,
20
+ normalizeLanguageTag,
20
21
  parseDecimal,
21
22
  type RemoteDocument
22
23
  } from \\"@fedify/vocab-runtime\\";
@@ -37,7 +38,7 @@ function decodeIri(iri: string): URL {
37
38
 
38
39
  function isValidLanguageTag(language: string): boolean {
39
40
  try {
40
- new Intl.Locale(language);
41
+ new Intl.Locale(normalizeLanguageTag(language));
41
42
  return true;
42
43
  } catch (error) {
43
44
  if (error instanceof RangeError) return false;
@@ -254,7 +255,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
254
255
  if (Array.isArray(values.attachments) &&
255
256
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
256
257
  // @ts-ignore: type is checked above.
257
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
258
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
258
259
 
259
260
  for (let i = 0; i < values.attachments.length; i++) {
260
261
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -294,7 +295,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
294
295
  if (Array.isArray(values.attributions) &&
295
296
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
296
297
  // @ts-ignore: type is checked above.
297
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
298
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
298
299
 
299
300
  for (let i = 0; i < values.attributions.length; i++) {
300
301
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -334,7 +335,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
334
335
  if (Array.isArray(values.audiences) &&
335
336
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
336
337
  // @ts-ignore: type is checked above.
337
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
338
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
338
339
 
339
340
  for (let i = 0; i < values.audiences.length; i++) {
340
341
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -374,7 +375,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
374
375
  if (Array.isArray(values.contents) &&
375
376
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
376
377
  // @ts-ignore: type is checked above.
377
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
378
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
378
379
 
379
380
  } else {
380
381
  throw new TypeError(
@@ -389,7 +390,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
389
390
  if (Array.isArray(values.contexts) &&
390
391
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
391
392
  // @ts-ignore: type is checked above.
392
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
393
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
393
394
 
394
395
  for (let i = 0; i < values.contexts.length; i++) {
395
396
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -429,7 +430,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
429
430
  if (Array.isArray(values.names) &&
430
431
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
431
432
  // @ts-ignore: type is checked above.
432
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
433
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
433
434
 
434
435
  } else {
435
436
  throw new TypeError(
@@ -457,7 +458,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
457
458
  if (Array.isArray(values.generators) &&
458
459
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
459
460
  // @ts-ignore: type is checked above.
460
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
461
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
461
462
 
462
463
  for (let i = 0; i < values.generators.length; i++) {
463
464
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -497,7 +498,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
497
498
  if (Array.isArray(values.icons) &&
498
499
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
499
500
  // @ts-ignore: type is checked above.
500
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
501
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
501
502
 
502
503
  for (let i = 0; i < values.icons.length; i++) {
503
504
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -537,7 +538,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
537
538
  if (Array.isArray(values.images) &&
538
539
  values.images.every(v => v instanceof Image || v instanceof URL)) {
539
540
  // @ts-ignore: type is checked above.
540
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
541
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
541
542
 
542
543
  for (let i = 0; i < values.images.length; i++) {
543
544
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -577,7 +578,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
577
578
  if (Array.isArray(values.replyTargets) &&
578
579
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
579
580
  // @ts-ignore: type is checked above.
580
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
581
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
581
582
 
582
583
  for (let i = 0; i < values.replyTargets.length; i++) {
583
584
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -617,7 +618,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
617
618
  if (Array.isArray(values.locations) &&
618
619
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
619
620
  // @ts-ignore: type is checked above.
620
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
621
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
621
622
 
622
623
  for (let i = 0; i < values.locations.length; i++) {
623
624
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -657,7 +658,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
657
658
  if (Array.isArray(values.previews) &&
658
659
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
659
660
  // @ts-ignore: type is checked above.
660
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
661
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
661
662
 
662
663
  for (let i = 0; i < values.previews.length; i++) {
663
664
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -775,7 +776,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
775
776
  if (Array.isArray(values.summaries) &&
776
777
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
777
778
  // @ts-ignore: type is checked above.
778
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
779
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
779
780
 
780
781
  } else {
781
782
  throw new TypeError(
@@ -790,7 +791,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
790
791
  if (Array.isArray(values.tags) &&
791
792
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
792
793
  // @ts-ignore: type is checked above.
793
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
794
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
794
795
 
795
796
  for (let i = 0; i < values.tags.length; i++) {
796
797
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -843,7 +844,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
843
844
  if (Array.isArray(values.urls) &&
844
845
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
845
846
  // @ts-ignore: type is checked above.
846
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
847
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
847
848
 
848
849
  } else {
849
850
  throw new TypeError(
@@ -879,7 +880,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
879
880
  if (Array.isArray(values.tos) &&
880
881
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
881
882
  // @ts-ignore: type is checked above.
882
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
883
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
883
884
 
884
885
  for (let i = 0; i < values.tos.length; i++) {
885
886
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -919,7 +920,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
919
920
  if (Array.isArray(values.btos) &&
920
921
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
921
922
  // @ts-ignore: type is checked above.
922
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
923
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
923
924
 
924
925
  for (let i = 0; i < values.btos.length; i++) {
925
926
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -959,7 +960,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
959
960
  if (Array.isArray(values.ccs) &&
960
961
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
961
962
  // @ts-ignore: type is checked above.
962
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
963
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
963
964
 
964
965
  for (let i = 0; i < values.ccs.length; i++) {
965
966
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -999,7 +1000,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
999
1000
  if (Array.isArray(values.bccs) &&
1000
1001
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1001
1002
  // @ts-ignore: type is checked above.
1002
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1003
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1003
1004
 
1004
1005
  for (let i = 0; i < values.bccs.length; i++) {
1005
1006
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1091,7 +1092,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1091
1092
  if (Array.isArray(values.proofs) &&
1092
1093
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1093
1094
  // @ts-ignore: type is checked above.
1094
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1095
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1095
1096
 
1096
1097
  for (let i = 0; i < values.proofs.length; i++) {
1097
1098
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1175,7 +1176,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1175
1176
  * Clones this instance, optionally updating it with the given values.
1176
1177
  * @param values The values to update the clone with.
1177
1178
  * @param options The options to use for cloning.
1178
- * @returns The cloned instance.
1179
+ * @returns The cloned instance with its own property arrays. Nested objects
1180
+ * and URLs are shared with this instance.
1179
1181
  */
1180
1182
  clone(
1181
1183
  values:
@@ -1219,13 +1221,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1219
1221
  { id: values.id ?? this.id },
1220
1222
  options
1221
1223
  );
1222
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1224
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1223
1225
  if (\\"attachments\\" in values && values.attachments != null) {
1224
1226
 
1225
1227
  if (Array.isArray(values.attachments) &&
1226
1228
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1227
1229
  // @ts-ignore: type is checked above.
1228
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1230
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1229
1231
 
1230
1232
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1231
1233
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1239,7 +1241,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1239
1241
  );
1240
1242
  }
1241
1243
  }
1242
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1244
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1243
1245
  if (\\"attribution\\" in values && values.attribution != null) {
1244
1246
  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) {
1245
1247
  // @ts-ignore: type is checked above.
@@ -1266,7 +1268,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1266
1268
  if (Array.isArray(values.attributions) &&
1267
1269
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1268
1270
  // @ts-ignore: type is checked above.
1269
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1271
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1270
1272
 
1271
1273
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1272
1274
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1280,7 +1282,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1280
1282
  );
1281
1283
  }
1282
1284
  }
1283
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1285
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1284
1286
  if (\\"audience\\" in values && values.audience != null) {
1285
1287
  if (values.audience instanceof Object || values.audience instanceof URL) {
1286
1288
  // @ts-ignore: type is checked above.
@@ -1307,7 +1309,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1307
1309
  if (Array.isArray(values.audiences) &&
1308
1310
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1309
1311
  // @ts-ignore: type is checked above.
1310
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1312
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1311
1313
 
1312
1314
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1313
1315
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1321,7 +1323,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1321
1323
  );
1322
1324
  }
1323
1325
  }
1324
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1326
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1325
1327
  if (\\"content\\" in values && values.content != null) {
1326
1328
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
1327
1329
  // @ts-ignore: type is checked above.
@@ -1348,7 +1350,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1348
1350
  if (Array.isArray(values.contents) &&
1349
1351
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1350
1352
  // @ts-ignore: type is checked above.
1351
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1353
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1352
1354
 
1353
1355
  } else {
1354
1356
  throw new TypeError(
@@ -1357,13 +1359,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1357
1359
  );
1358
1360
  }
1359
1361
  }
1360
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1362
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1361
1363
  if (\\"contexts\\" in values && values.contexts != null) {
1362
1364
 
1363
1365
  if (Array.isArray(values.contexts) &&
1364
1366
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1365
1367
  // @ts-ignore: type is checked above.
1366
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1368
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1367
1369
 
1368
1370
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1369
1371
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1377,7 +1379,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1377
1379
  );
1378
1380
  }
1379
1381
  }
1380
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1382
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1381
1383
  if (\\"name\\" in values && values.name != null) {
1382
1384
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
1383
1385
  // @ts-ignore: type is checked above.
@@ -1404,7 +1406,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1404
1406
  if (Array.isArray(values.names) &&
1405
1407
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1406
1408
  // @ts-ignore: type is checked above.
1407
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1409
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1408
1410
 
1409
1411
  } else {
1410
1412
  throw new TypeError(
@@ -1413,7 +1415,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1413
1415
  );
1414
1416
  }
1415
1417
  }
1416
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1418
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1417
1419
  if (\\"endTime\\" in values && values.endTime != null) {
1418
1420
  if (isTemporalInstant(values.endTime)) {
1419
1421
  // @ts-ignore: type is checked above.
@@ -1426,13 +1428,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1426
1428
  );
1427
1429
  }
1428
1430
  }
1429
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1431
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1430
1432
  if (\\"generators\\" in values && values.generators != null) {
1431
1433
 
1432
1434
  if (Array.isArray(values.generators) &&
1433
1435
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1434
1436
  // @ts-ignore: type is checked above.
1435
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1437
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1436
1438
 
1437
1439
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1438
1440
  for (let i = 0; i < values.generators.length; i++) {
@@ -1446,7 +1448,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1446
1448
  );
1447
1449
  }
1448
1450
  }
1449
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1451
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1450
1452
  if (\\"icon\\" in values && values.icon != null) {
1451
1453
  if (values.icon instanceof Image || values.icon instanceof URL) {
1452
1454
  // @ts-ignore: type is checked above.
@@ -1473,7 +1475,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1473
1475
  if (Array.isArray(values.icons) &&
1474
1476
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1475
1477
  // @ts-ignore: type is checked above.
1476
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1478
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1477
1479
 
1478
1480
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1479
1481
  for (let i = 0; i < values.icons.length; i++) {
@@ -1487,7 +1489,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1487
1489
  );
1488
1490
  }
1489
1491
  }
1490
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1492
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1491
1493
  if (\\"image\\" in values && values.image != null) {
1492
1494
  if (values.image instanceof Image || values.image instanceof URL) {
1493
1495
  // @ts-ignore: type is checked above.
@@ -1514,7 +1516,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1514
1516
  if (Array.isArray(values.images) &&
1515
1517
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1516
1518
  // @ts-ignore: type is checked above.
1517
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1519
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1518
1520
 
1519
1521
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1520
1522
  for (let i = 0; i < values.images.length; i++) {
@@ -1528,7 +1530,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1528
1530
  );
1529
1531
  }
1530
1532
  }
1531
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1533
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1532
1534
  if (\\"replyTarget\\" in values && values.replyTarget != null) {
1533
1535
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1534
1536
  // @ts-ignore: type is checked above.
@@ -1555,7 +1557,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1555
1557
  if (Array.isArray(values.replyTargets) &&
1556
1558
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1557
1559
  // @ts-ignore: type is checked above.
1558
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1560
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1559
1561
 
1560
1562
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1561
1563
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1569,7 +1571,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1569
1571
  );
1570
1572
  }
1571
1573
  }
1572
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1574
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1573
1575
  if (\\"location\\" in values && values.location != null) {
1574
1576
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1575
1577
  // @ts-ignore: type is checked above.
@@ -1596,7 +1598,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1596
1598
  if (Array.isArray(values.locations) &&
1597
1599
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1598
1600
  // @ts-ignore: type is checked above.
1599
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1601
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1600
1602
 
1601
1603
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1602
1604
  for (let i = 0; i < values.locations.length; i++) {
@@ -1610,7 +1612,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1610
1612
  );
1611
1613
  }
1612
1614
  }
1613
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1615
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1614
1616
  if (\\"preview\\" in values && values.preview != null) {
1615
1617
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1616
1618
  // @ts-ignore: type is checked above.
@@ -1637,7 +1639,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1637
1639
  if (Array.isArray(values.previews) &&
1638
1640
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1639
1641
  // @ts-ignore: type is checked above.
1640
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1642
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1641
1643
 
1642
1644
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1643
1645
  for (let i = 0; i < values.previews.length; i++) {
@@ -1651,7 +1653,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1651
1653
  );
1652
1654
  }
1653
1655
  }
1654
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1656
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1655
1657
  if (\\"published\\" in values && values.published != null) {
1656
1658
  if (isTemporalInstant(values.published)) {
1657
1659
  // @ts-ignore: type is checked above.
@@ -1664,7 +1666,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1664
1666
  );
1665
1667
  }
1666
1668
  }
1667
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1669
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1668
1670
  if (\\"replies\\" in values && values.replies != null) {
1669
1671
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1670
1672
  // @ts-ignore: type is checked above.
@@ -1677,7 +1679,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1677
1679
  );
1678
1680
  }
1679
1681
  }
1680
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1682
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1681
1683
  if (\\"shares\\" in values && values.shares != null) {
1682
1684
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1683
1685
  // @ts-ignore: type is checked above.
@@ -1690,7 +1692,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1690
1692
  );
1691
1693
  }
1692
1694
  }
1693
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1695
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1694
1696
  if (\\"likes\\" in values && values.likes != null) {
1695
1697
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1696
1698
  // @ts-ignore: type is checked above.
@@ -1703,7 +1705,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1703
1705
  );
1704
1706
  }
1705
1707
  }
1706
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1708
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1707
1709
  if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
1708
1710
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1709
1711
  // @ts-ignore: type is checked above.
@@ -1716,7 +1718,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1716
1718
  );
1717
1719
  }
1718
1720
  }
1719
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1721
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1720
1722
  if (\\"startTime\\" in values && values.startTime != null) {
1721
1723
  if (isTemporalInstant(values.startTime)) {
1722
1724
  // @ts-ignore: type is checked above.
@@ -1729,7 +1731,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1729
1731
  );
1730
1732
  }
1731
1733
  }
1732
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1734
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1733
1735
  if (\\"summary\\" in values && values.summary != null) {
1734
1736
  if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
1735
1737
  // @ts-ignore: type is checked above.
@@ -1756,7 +1758,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1756
1758
  if (Array.isArray(values.summaries) &&
1757
1759
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1758
1760
  // @ts-ignore: type is checked above.
1759
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1761
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1760
1762
 
1761
1763
  } else {
1762
1764
  throw new TypeError(
@@ -1765,13 +1767,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1765
1767
  );
1766
1768
  }
1767
1769
  }
1768
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1770
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1769
1771
  if (\\"tags\\" in values && values.tags != null) {
1770
1772
 
1771
1773
  if (Array.isArray(values.tags) &&
1772
1774
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1773
1775
  // @ts-ignore: type is checked above.
1774
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1776
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1775
1777
 
1776
1778
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1777
1779
  for (let i = 0; i < values.tags.length; i++) {
@@ -1785,7 +1787,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1785
1787
  );
1786
1788
  }
1787
1789
  }
1788
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1790
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1789
1791
  if (\\"updated\\" in values && values.updated != null) {
1790
1792
  if (isTemporalInstant(values.updated)) {
1791
1793
  // @ts-ignore: type is checked above.
@@ -1798,7 +1800,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1798
1800
  );
1799
1801
  }
1800
1802
  }
1801
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1803
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1802
1804
  if (\\"url\\" in values && values.url != null) {
1803
1805
  if (values.url instanceof URL || values.url instanceof Link) {
1804
1806
  // @ts-ignore: type is checked above.
@@ -1825,7 +1827,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1825
1827
  if (Array.isArray(values.urls) &&
1826
1828
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1827
1829
  // @ts-ignore: type is checked above.
1828
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1830
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1829
1831
 
1830
1832
  } else {
1831
1833
  throw new TypeError(
@@ -1834,7 +1836,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1834
1836
  );
1835
1837
  }
1836
1838
  }
1837
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1839
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1838
1840
  if (\\"to\\" in values && values.to != null) {
1839
1841
  if (values.to instanceof Object || values.to instanceof URL) {
1840
1842
  // @ts-ignore: type is checked above.
@@ -1861,7 +1863,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1861
1863
  if (Array.isArray(values.tos) &&
1862
1864
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1863
1865
  // @ts-ignore: type is checked above.
1864
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1866
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1865
1867
 
1866
1868
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1867
1869
  for (let i = 0; i < values.tos.length; i++) {
@@ -1875,7 +1877,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1875
1877
  );
1876
1878
  }
1877
1879
  }
1878
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1880
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1879
1881
  if (\\"bto\\" in values && values.bto != null) {
1880
1882
  if (values.bto instanceof Object || values.bto instanceof URL) {
1881
1883
  // @ts-ignore: type is checked above.
@@ -1902,7 +1904,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1902
1904
  if (Array.isArray(values.btos) &&
1903
1905
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1904
1906
  // @ts-ignore: type is checked above.
1905
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1907
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1906
1908
 
1907
1909
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
1908
1910
  for (let i = 0; i < values.btos.length; i++) {
@@ -1916,7 +1918,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1916
1918
  );
1917
1919
  }
1918
1920
  }
1919
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1921
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1920
1922
  if (\\"cc\\" in values && values.cc != null) {
1921
1923
  if (values.cc instanceof Object || values.cc instanceof URL) {
1922
1924
  // @ts-ignore: type is checked above.
@@ -1943,7 +1945,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1943
1945
  if (Array.isArray(values.ccs) &&
1944
1946
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1945
1947
  // @ts-ignore: type is checked above.
1946
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1948
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1947
1949
 
1948
1950
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
1949
1951
  for (let i = 0; i < values.ccs.length; i++) {
@@ -1957,7 +1959,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1957
1959
  );
1958
1960
  }
1959
1961
  }
1960
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1962
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1961
1963
  if (\\"bcc\\" in values && values.bcc != null) {
1962
1964
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
1963
1965
  // @ts-ignore: type is checked above.
@@ -1984,7 +1986,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1984
1986
  if (Array.isArray(values.bccs) &&
1985
1987
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1986
1988
  // @ts-ignore: type is checked above.
1987
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1989
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1988
1990
 
1989
1991
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
1990
1992
  for (let i = 0; i < values.bccs.length; i++) {
@@ -1998,7 +2000,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1998
2000
  );
1999
2001
  }
2000
2002
  }
2001
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2003
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2002
2004
  if (\\"mediaType\\" in values && values.mediaType != null) {
2003
2005
  if (typeof values.mediaType === \\"string\\") {
2004
2006
  // @ts-ignore: type is checked above.
@@ -2011,7 +2013,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2011
2013
  );
2012
2014
  }
2013
2015
  }
2014
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2016
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2015
2017
  if (\\"duration\\" in values && values.duration != null) {
2016
2018
  if (isTemporalDuration(values.duration)) {
2017
2019
  // @ts-ignore: type is checked above.
@@ -2024,7 +2026,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2024
2026
  );
2025
2027
  }
2026
2028
  }
2027
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2029
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2028
2030
  if (\\"sensitive\\" in values && values.sensitive != null) {
2029
2031
  if (typeof values.sensitive === \\"boolean\\") {
2030
2032
  // @ts-ignore: type is checked above.
@@ -2037,7 +2039,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2037
2039
  );
2038
2040
  }
2039
2041
  }
2040
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2042
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2041
2043
  if (\\"source\\" in values && values.source != null) {
2042
2044
  if (values.source instanceof Source) {
2043
2045
  // @ts-ignore: type is checked above.
@@ -2050,7 +2052,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2050
2052
  );
2051
2053
  }
2052
2054
  }
2053
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2055
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2054
2056
  if (\\"proof\\" in values && values.proof != null) {
2055
2057
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2056
2058
  // @ts-ignore: type is checked above.
@@ -2077,7 +2079,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2077
2079
  if (Array.isArray(values.proofs) &&
2078
2080
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2079
2081
  // @ts-ignore: type is checked above.
2080
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2082
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2081
2083
 
2082
2084
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2083
2085
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2091,7 +2093,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2091
2093
  );
2092
2094
  }
2093
2095
  }
2094
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2096
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2095
2097
  if (\\"interactionPolicy\\" in values && values.interactionPolicy != null) {
2096
2098
  if (values.interactionPolicy instanceof InteractionPolicy) {
2097
2099
  // @ts-ignore: type is checked above.
@@ -2104,7 +2106,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2104
2106
  );
2105
2107
  }
2106
2108
  }
2107
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2109
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2108
2110
  if (\\"approvedBy\\" in values && values.approvedBy != null) {
2109
2111
  if (values.approvedBy instanceof URL) {
2110
2112
  // @ts-ignore: type is checked above.
@@ -2117,7 +2119,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2117
2119
  );
2118
2120
  }
2119
2121
  }
2120
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2122
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2121
2123
  if (\\"likeAuthorization\\" in values && values.likeAuthorization != null) {
2122
2124
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2123
2125
  // @ts-ignore: type is checked above.
@@ -2130,7 +2132,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2130
2132
  );
2131
2133
  }
2132
2134
  }
2133
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2135
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2134
2136
  if (\\"replyAuthorization\\" in values && values.replyAuthorization != null) {
2135
2137
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2136
2138
  // @ts-ignore: type is checked above.
@@ -2143,7 +2145,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2143
2145
  );
2144
2146
  }
2145
2147
  }
2146
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2148
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2147
2149
  if (\\"announceAuthorization\\" in values && values.announceAuthorization != null) {
2148
2150
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2149
2151
  // @ts-ignore: type is checked above.
@@ -13300,7 +13302,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13300
13302
  * Clones this instance, optionally updating it with the given values.
13301
13303
  * @param values The values to update the clone with.
13302
13304
  * @param options The options to use for cloning.
13303
- * @returns The cloned instance.
13305
+ * @returns The cloned instance with its own property arrays. Nested objects
13306
+ * and URLs are shared with this instance.
13304
13307
  */
13305
13308
  override clone(
13306
13309
  values:
@@ -13694,7 +13697,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13694
13697
  * Clones this instance, optionally updating it with the given values.
13695
13698
  * @param values The values to update the clone with.
13696
13699
  * @param options The options to use for cloning.
13697
- * @returns The cloned instance.
13700
+ * @returns The cloned instance with its own property arrays. Nested objects
13701
+ * and URLs are shared with this instance.
13698
13702
  */
13699
13703
  override clone(
13700
13704
  values:
@@ -13732,7 +13736,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13732
13736
  // @ts-ignore: $warning is not recognized as a property, but it is.
13733
13737
  options = { ...options, $warning: this._warning };
13734
13738
  }
13735
- 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);
13739
+ 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);
13736
13740
  if (\\"quote\\" in values && values.quote != null) {
13737
13741
  if (values.quote instanceof Object || values.quote instanceof URL) {
13738
13742
  // @ts-ignore: type is checked above.
@@ -13745,7 +13749,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13745
13749
  );
13746
13750
  }
13747
13751
  }
13748
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
13752
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
13749
13753
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
13750
13754
  if (values.quoteUrl instanceof URL) {
13751
13755
  // @ts-ignore: type is checked above.
@@ -13758,7 +13762,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13758
13762
  );
13759
13763
  }
13760
13764
  }
13761
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
13765
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
13762
13766
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
13763
13767
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
13764
13768
  // @ts-ignore: type is checked above.
@@ -14904,7 +14908,7 @@ instruments?: (Object | URL)[];}
14904
14908
  if (Array.isArray(values.actors) &&
14905
14909
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
14906
14910
  // @ts-ignore: type is checked above.
14907
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
14911
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
14908
14912
 
14909
14913
  for (let i = 0; i < values.actors.length; i++) {
14910
14914
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -14944,7 +14948,7 @@ instruments?: (Object | URL)[];}
14944
14948
  if (Array.isArray(values.objects) &&
14945
14949
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
14946
14950
  // @ts-ignore: type is checked above.
14947
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
14951
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
14948
14952
 
14949
14953
  for (let i = 0; i < values.objects.length; i++) {
14950
14954
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -14984,7 +14988,7 @@ instruments?: (Object | URL)[];}
14984
14988
  if (Array.isArray(values.targets) &&
14985
14989
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
14986
14990
  // @ts-ignore: type is checked above.
14987
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
14991
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
14988
14992
 
14989
14993
  for (let i = 0; i < values.targets.length; i++) {
14990
14994
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -15024,7 +15028,7 @@ instruments?: (Object | URL)[];}
15024
15028
  if (Array.isArray(values.results) &&
15025
15029
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15026
15030
  // @ts-ignore: type is checked above.
15027
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15031
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15028
15032
 
15029
15033
  for (let i = 0; i < values.results.length; i++) {
15030
15034
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -15064,7 +15068,7 @@ instruments?: (Object | URL)[];}
15064
15068
  if (Array.isArray(values.origins) &&
15065
15069
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15066
15070
  // @ts-ignore: type is checked above.
15067
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15071
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15068
15072
 
15069
15073
  for (let i = 0; i < values.origins.length; i++) {
15070
15074
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -15104,7 +15108,7 @@ instruments?: (Object | URL)[];}
15104
15108
  if (Array.isArray(values.instruments) &&
15105
15109
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15106
15110
  // @ts-ignore: type is checked above.
15107
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15111
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15108
15112
 
15109
15113
  for (let i = 0; i < values.instruments.length; i++) {
15110
15114
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -15123,7 +15127,8 @@ instruments?: (Object | URL)[];}
15123
15127
  * Clones this instance, optionally updating it with the given values.
15124
15128
  * @param values The values to update the clone with.
15125
15129
  * @param options The options to use for cloning.
15126
- * @returns The cloned instance.
15130
+ * @returns The cloned instance with its own property arrays. Nested objects
15131
+ * and URLs are shared with this instance.
15127
15132
  */
15128
15133
  override clone(
15129
15134
  values:
@@ -15167,7 +15172,7 @@ instruments?: (Object | URL)[];}
15167
15172
  // @ts-ignore: $warning is not recognized as a property, but it is.
15168
15173
  options = { ...options, $warning: this._warning };
15169
15174
  }
15170
- 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);
15175
+ 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);
15171
15176
  if (\\"actor\\" in values && values.actor != null) {
15172
15177
  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) {
15173
15178
  // @ts-ignore: type is checked above.
@@ -15194,7 +15199,7 @@ instruments?: (Object | URL)[];}
15194
15199
  if (Array.isArray(values.actors) &&
15195
15200
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
15196
15201
  // @ts-ignore: type is checked above.
15197
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
15202
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
15198
15203
 
15199
15204
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
15200
15205
  for (let i = 0; i < values.actors.length; i++) {
@@ -15208,7 +15213,7 @@ instruments?: (Object | URL)[];}
15208
15213
  );
15209
15214
  }
15210
15215
  }
15211
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15216
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15212
15217
  if (\\"object\\" in values && values.object != null) {
15213
15218
  if (values.object instanceof Object || values.object instanceof URL) {
15214
15219
  // @ts-ignore: type is checked above.
@@ -15235,7 +15240,7 @@ instruments?: (Object | URL)[];}
15235
15240
  if (Array.isArray(values.objects) &&
15236
15241
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
15237
15242
  // @ts-ignore: type is checked above.
15238
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
15243
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
15239
15244
 
15240
15245
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
15241
15246
  for (let i = 0; i < values.objects.length; i++) {
@@ -15249,7 +15254,7 @@ instruments?: (Object | URL)[];}
15249
15254
  );
15250
15255
  }
15251
15256
  }
15252
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15257
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15253
15258
  if (\\"target\\" in values && values.target != null) {
15254
15259
  if (values.target instanceof Object || values.target instanceof URL) {
15255
15260
  // @ts-ignore: type is checked above.
@@ -15276,7 +15281,7 @@ instruments?: (Object | URL)[];}
15276
15281
  if (Array.isArray(values.targets) &&
15277
15282
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
15278
15283
  // @ts-ignore: type is checked above.
15279
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
15284
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
15280
15285
 
15281
15286
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
15282
15287
  for (let i = 0; i < values.targets.length; i++) {
@@ -15290,7 +15295,7 @@ instruments?: (Object | URL)[];}
15290
15295
  );
15291
15296
  }
15292
15297
  }
15293
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15298
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15294
15299
  if (\\"result\\" in values && values.result != null) {
15295
15300
  if (values.result instanceof Object || values.result instanceof URL) {
15296
15301
  // @ts-ignore: type is checked above.
@@ -15317,7 +15322,7 @@ instruments?: (Object | URL)[];}
15317
15322
  if (Array.isArray(values.results) &&
15318
15323
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15319
15324
  // @ts-ignore: type is checked above.
15320
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15325
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15321
15326
 
15322
15327
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
15323
15328
  for (let i = 0; i < values.results.length; i++) {
@@ -15331,7 +15336,7 @@ instruments?: (Object | URL)[];}
15331
15336
  );
15332
15337
  }
15333
15338
  }
15334
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15339
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15335
15340
  if (\\"origin\\" in values && values.origin != null) {
15336
15341
  if (values.origin instanceof Object || values.origin instanceof URL) {
15337
15342
  // @ts-ignore: type is checked above.
@@ -15358,7 +15363,7 @@ instruments?: (Object | URL)[];}
15358
15363
  if (Array.isArray(values.origins) &&
15359
15364
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15360
15365
  // @ts-ignore: type is checked above.
15361
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15366
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15362
15367
 
15363
15368
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
15364
15369
  for (let i = 0; i < values.origins.length; i++) {
@@ -15372,7 +15377,7 @@ instruments?: (Object | URL)[];}
15372
15377
  );
15373
15378
  }
15374
15379
  }
15375
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15380
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15376
15381
  if (\\"instrument\\" in values && values.instrument != null) {
15377
15382
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
15378
15383
  // @ts-ignore: type is checked above.
@@ -15399,7 +15404,7 @@ instruments?: (Object | URL)[];}
15399
15404
  if (Array.isArray(values.instruments) &&
15400
15405
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15401
15406
  // @ts-ignore: type is checked above.
15402
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15407
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15403
15408
 
15404
15409
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
15405
15410
  for (let i = 0; i < values.instruments.length; i++) {
@@ -18405,7 +18410,8 @@ instruments?: (Object | URL)[];}
18405
18410
  * Clones this instance, optionally updating it with the given values.
18406
18411
  * @param values The values to update the clone with.
18407
18412
  * @param options The options to use for cloning.
18408
- * @returns The cloned instance.
18413
+ * @returns The cloned instance with its own property arrays. Nested objects
18414
+ * and URLs are shared with this instance.
18409
18415
  */
18410
18416
  override clone(
18411
18417
  values:
@@ -18819,7 +18825,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
18819
18825
  * Clones this instance, optionally updating it with the given values.
18820
18826
  * @param values The values to update the clone with.
18821
18827
  * @param options The options to use for cloning.
18822
- * @returns The cloned instance.
18828
+ * @returns The cloned instance with its own property arrays. Nested objects
18829
+ * and URLs are shared with this instance.
18823
18830
  */
18824
18831
  clone(
18825
18832
  values:
@@ -18847,7 +18854,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
18847
18854
  { id: values.id ?? this.id },
18848
18855
  options
18849
18856
  );
18850
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
18857
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
18851
18858
  if (\\"name\\" in values && values.name != null) {
18852
18859
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
18853
18860
  // @ts-ignore: type is checked above.
@@ -18860,7 +18867,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
18860
18867
  );
18861
18868
  }
18862
18869
  }
18863
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
18870
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
18864
18871
  if (\\"value\\" in values && values.value != null) {
18865
18872
  if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
18866
18873
  // @ts-ignore: type is checked above.
@@ -19459,7 +19466,8 @@ unit?: string | null;numericalValue?: Decimal | null;}
19459
19466
  * Clones this instance, optionally updating it with the given values.
19460
19467
  * @param values The values to update the clone with.
19461
19468
  * @param options The options to use for cloning.
19462
- * @returns The cloned instance.
19469
+ * @returns The cloned instance with its own property arrays. Nested objects
19470
+ * and URLs are shared with this instance.
19463
19471
  */
19464
19472
  clone(
19465
19473
  values:
@@ -19487,7 +19495,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
19487
19495
  { id: values.id ?? this.id },
19488
19496
  options
19489
19497
  );
19490
- clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6;
19498
+ clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6.slice();
19491
19499
  if (\\"unit\\" in values && values.unit != null) {
19492
19500
  if (typeof values.unit === \\"string\\") {
19493
19501
  // @ts-ignore: type is checked above.
@@ -19500,7 +19508,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
19500
19508
  );
19501
19509
  }
19502
19510
  }
19503
- clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D;
19511
+ clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D.slice();
19504
19512
  if (\\"numericalValue\\" in values && values.numericalValue != null) {
19505
19513
  if (typeof values.numericalValue === \\"string\\" && isDecimal(values.numericalValue)) {
19506
19514
  // @ts-ignore: type is checked above.
@@ -20035,7 +20043,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20035
20043
  * Clones this instance, optionally updating it with the given values.
20036
20044
  * @param values The values to update the clone with.
20037
20045
  * @param options The options to use for cloning.
20038
- * @returns The cloned instance.
20046
+ * @returns The cloned instance with its own property arrays. Nested objects
20047
+ * and URLs are shared with this instance.
20039
20048
  */
20040
20049
  override clone(
20041
20050
  values:
@@ -20073,7 +20082,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20073
20082
  // @ts-ignore: $warning is not recognized as a property, but it is.
20074
20083
  options = { ...options, $warning: this._warning };
20075
20084
  }
20076
- 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);
20085
+ 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);
20077
20086
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
20078
20087
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
20079
20088
  // @ts-ignore: type is checked above.
@@ -20086,7 +20095,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20086
20095
  );
20087
20096
  }
20088
20097
  }
20089
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20098
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20090
20099
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
20091
20100
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
20092
20101
  // @ts-ignore: type is checked above.
@@ -21068,7 +21077,8 @@ instruments?: (Object | URL)[];}
21068
21077
  * Clones this instance, optionally updating it with the given values.
21069
21078
  * @param values The values to update the clone with.
21070
21079
  * @param options The options to use for cloning.
21071
- * @returns The cloned instance.
21080
+ * @returns The cloned instance with its own property arrays. Nested objects
21081
+ * and URLs are shared with this instance.
21072
21082
  */
21073
21083
  override clone(
21074
21084
  values:
@@ -21517,7 +21527,8 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21517
21527
  * Clones this instance, optionally updating it with the given values.
21518
21528
  * @param values The values to update the clone with.
21519
21529
  * @param options The options to use for cloning.
21520
- * @returns The cloned instance.
21530
+ * @returns The cloned instance with its own property arrays. Nested objects
21531
+ * and URLs are shared with this instance.
21521
21532
  */
21522
21533
  clone(
21523
21534
  values:
@@ -21545,7 +21556,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21545
21556
  { id: values.id ?? this.id },
21546
21557
  options
21547
21558
  );
21548
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
21559
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
21549
21560
  if (\\"canLike\\" in values && values.canLike != null) {
21550
21561
  if (values.canLike instanceof InteractionRule) {
21551
21562
  // @ts-ignore: type is checked above.
@@ -21558,7 +21569,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21558
21569
  );
21559
21570
  }
21560
21571
  }
21561
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
21572
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
21562
21573
  if (\\"canReply\\" in values && values.canReply != null) {
21563
21574
  if (values.canReply instanceof InteractionRule) {
21564
21575
  // @ts-ignore: type is checked above.
@@ -21571,7 +21582,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21571
21582
  );
21572
21583
  }
21573
21584
  }
21574
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
21585
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
21575
21586
  if (\\"canAnnounce\\" in values && values.canAnnounce != null) {
21576
21587
  if (values.canAnnounce instanceof InteractionRule) {
21577
21588
  // @ts-ignore: type is checked above.
@@ -21584,7 +21595,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
21584
21595
  );
21585
21596
  }
21586
21597
  }
21587
- clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote;
21598
+ clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote.slice();
21588
21599
  if (\\"canQuote\\" in values && values.canQuote != null) {
21589
21600
  if (values.canQuote instanceof InteractionRule) {
21590
21601
  // @ts-ignore: type is checked above.
@@ -22327,7 +22338,7 @@ manualApprovals?: (URL)[];}
22327
22338
  if (Array.isArray(values.automaticApprovals) &&
22328
22339
  values.automaticApprovals.every(v => v instanceof URL)) {
22329
22340
  // @ts-ignore: type is checked above.
22330
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
22341
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
22331
22342
 
22332
22343
  } else {
22333
22344
  throw new TypeError(
@@ -22363,7 +22374,7 @@ manualApprovals?: (URL)[];}
22363
22374
  if (Array.isArray(values.manualApprovals) &&
22364
22375
  values.manualApprovals.every(v => v instanceof URL)) {
22365
22376
  // @ts-ignore: type is checked above.
22366
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
22377
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
22367
22378
 
22368
22379
  } else {
22369
22380
  throw new TypeError(
@@ -22378,7 +22389,8 @@ manualApprovals?: (URL)[];}
22378
22389
  * Clones this instance, optionally updating it with the given values.
22379
22390
  * @param values The values to update the clone with.
22380
22391
  * @param options The options to use for cloning.
22381
- * @returns The cloned instance.
22392
+ * @returns The cloned instance with its own property arrays. Nested objects
22393
+ * and URLs are shared with this instance.
22382
22394
  */
22383
22395
  clone(
22384
22396
  values:
@@ -22408,7 +22420,7 @@ manualApprovals?: (URL)[];}
22408
22420
  { id: values.id ?? this.id },
22409
22421
  options
22410
22422
  );
22411
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
22423
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
22412
22424
  if (\\"automaticApproval\\" in values && values.automaticApproval != null) {
22413
22425
  if (values.automaticApproval instanceof URL) {
22414
22426
  // @ts-ignore: type is checked above.
@@ -22435,7 +22447,7 @@ manualApprovals?: (URL)[];}
22435
22447
  if (Array.isArray(values.automaticApprovals) &&
22436
22448
  values.automaticApprovals.every(v => v instanceof URL)) {
22437
22449
  // @ts-ignore: type is checked above.
22438
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
22450
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
22439
22451
 
22440
22452
  } else {
22441
22453
  throw new TypeError(
@@ -22444,7 +22456,7 @@ manualApprovals?: (URL)[];}
22444
22456
  );
22445
22457
  }
22446
22458
  }
22447
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
22459
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
22448
22460
  if (\\"manualApproval\\" in values && values.manualApproval != null) {
22449
22461
  if (values.manualApproval instanceof URL) {
22450
22462
  // @ts-ignore: type is checked above.
@@ -22471,7 +22483,7 @@ manualApprovals?: (URL)[];}
22471
22483
  if (Array.isArray(values.manualApprovals) &&
22472
22484
  values.manualApprovals.every(v => v instanceof URL)) {
22473
22485
  // @ts-ignore: type is checked above.
22474
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
22486
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
22475
22487
 
22476
22488
  } else {
22477
22489
  throw new TypeError(
@@ -23015,7 +23027,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23015
23027
  * Clones this instance, optionally updating it with the given values.
23016
23028
  * @param values The values to update the clone with.
23017
23029
  * @param options The options to use for cloning.
23018
- * @returns The cloned instance.
23030
+ * @returns The cloned instance with its own property arrays. Nested objects
23031
+ * and URLs are shared with this instance.
23019
23032
  */
23020
23033
  override clone(
23021
23034
  values:
@@ -23053,7 +23066,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23053
23066
  // @ts-ignore: $warning is not recognized as a property, but it is.
23054
23067
  options = { ...options, $warning: this._warning };
23055
23068
  }
23056
- 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);
23069
+ 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);
23057
23070
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
23058
23071
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
23059
23072
  // @ts-ignore: type is checked above.
@@ -23066,7 +23079,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23066
23079
  );
23067
23080
  }
23068
23081
  }
23069
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23082
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23070
23083
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
23071
23084
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
23072
23085
  // @ts-ignore: type is checked above.
@@ -24047,7 +24060,8 @@ instruments?: (Object | URL)[];}
24047
24060
  * Clones this instance, optionally updating it with the given values.
24048
24061
  * @param values The values to update the clone with.
24049
24062
  * @param options The options to use for cloning.
24050
- * @returns The cloned instance.
24063
+ * @returns The cloned instance with its own property arrays. Nested objects
24064
+ * and URLs are shared with this instance.
24051
24065
  */
24052
24066
  override clone(
24053
24067
  values:
@@ -24419,7 +24433,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
24419
24433
  * Clones this instance, optionally updating it with the given values.
24420
24434
  * @param values The values to update the clone with.
24421
24435
  * @param options The options to use for cloning.
24422
- * @returns The cloned instance.
24436
+ * @returns The cloned instance with its own property arrays. Nested objects
24437
+ * and URLs are shared with this instance.
24423
24438
  */
24424
24439
  override clone(
24425
24440
  values:
@@ -24457,7 +24472,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
24457
24472
  // @ts-ignore: $warning is not recognized as a property, but it is.
24458
24473
  options = { ...options, $warning: this._warning };
24459
24474
  }
24460
- 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);
24475
+ 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);
24461
24476
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
24462
24477
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
24463
24478
  // @ts-ignore: type is checked above.
@@ -24470,7 +24485,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
24470
24485
  );
24471
24486
  }
24472
24487
  }
24473
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
24488
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
24474
24489
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
24475
24490
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
24476
24491
  // @ts-ignore: type is checked above.
@@ -25451,7 +25466,8 @@ instruments?: (Object | URL)[];}
25451
25466
  * Clones this instance, optionally updating it with the given values.
25452
25467
  * @param values The values to update the clone with.
25453
25468
  * @param options The options to use for cloning.
25454
- * @returns The cloned instance.
25469
+ * @returns The cloned instance with its own property arrays. Nested objects
25470
+ * and URLs are shared with this instance.
25455
25471
  */
25456
25472
  override clone(
25457
25473
  values:
@@ -25823,7 +25839,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25823
25839
  * Clones this instance, optionally updating it with the given values.
25824
25840
  * @param values The values to update the clone with.
25825
25841
  * @param options The options to use for cloning.
25826
- * @returns The cloned instance.
25842
+ * @returns The cloned instance with its own property arrays. Nested objects
25843
+ * and URLs are shared with this instance.
25827
25844
  */
25828
25845
  override clone(
25829
25846
  values:
@@ -25861,7 +25878,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25861
25878
  // @ts-ignore: $warning is not recognized as a property, but it is.
25862
25879
  options = { ...options, $warning: this._warning };
25863
25880
  }
25864
- 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);
25881
+ 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);
25865
25882
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
25866
25883
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
25867
25884
  // @ts-ignore: type is checked above.
@@ -25874,7 +25891,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25874
25891
  );
25875
25892
  }
25876
25893
  }
25877
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25894
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25878
25895
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
25879
25896
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
25880
25897
  // @ts-ignore: type is checked above.
@@ -26854,7 +26871,8 @@ instruments?: (Object | URL)[];}
26854
26871
  * Clones this instance, optionally updating it with the given values.
26855
26872
  * @param values The values to update the clone with.
26856
26873
  * @param options The options to use for cloning.
26857
- * @returns The cloned instance.
26874
+ * @returns The cloned instance with its own property arrays. Nested objects
26875
+ * and URLs are shared with this instance.
26858
26876
  */
26859
26877
  override clone(
26860
26878
  values:
@@ -27267,7 +27285,7 @@ endpoints?: (URL)[];}
27267
27285
  if (Array.isArray(values.endpoints) &&
27268
27286
  values.endpoints.every(v => v instanceof URL)) {
27269
27287
  // @ts-ignore: type is checked above.
27270
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
27288
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
27271
27289
 
27272
27290
  } else {
27273
27291
  throw new TypeError(
@@ -27282,7 +27300,8 @@ endpoints?: (URL)[];}
27282
27300
  * Clones this instance, optionally updating it with the given values.
27283
27301
  * @param values The values to update the clone with.
27284
27302
  * @param options The options to use for cloning.
27285
- * @returns The cloned instance.
27303
+ * @returns The cloned instance with its own property arrays. Nested objects
27304
+ * and URLs are shared with this instance.
27286
27305
  */
27287
27306
  clone(
27288
27307
  values:
@@ -27311,7 +27330,7 @@ endpoints?: (URL)[];}
27311
27330
  { id: values.id ?? this.id },
27312
27331
  options
27313
27332
  );
27314
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
27333
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
27315
27334
  if (\\"endpoint\\" in values && values.endpoint != null) {
27316
27335
  if (values.endpoint instanceof URL) {
27317
27336
  // @ts-ignore: type is checked above.
@@ -27338,7 +27357,7 @@ endpoints?: (URL)[];}
27338
27357
  if (Array.isArray(values.endpoints) &&
27339
27358
  values.endpoints.every(v => v instanceof URL)) {
27340
27359
  // @ts-ignore: type is checked above.
27341
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
27360
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
27342
27361
 
27343
27362
  } else {
27344
27363
  throw new TypeError(
@@ -27722,7 +27741,8 @@ endpoints?: (URL)[];}
27722
27741
  * Clones this instance, optionally updating it with the given values.
27723
27742
  * @param values The values to update the clone with.
27724
27743
  * @param options The options to use for cloning.
27725
- * @returns The cloned instance.
27744
+ * @returns The cloned instance with its own property arrays. Nested objects
27745
+ * and URLs are shared with this instance.
27726
27746
  */
27727
27747
  override clone(
27728
27748
  values:
@@ -28152,7 +28172,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28152
28172
  * Clones this instance, optionally updating it with the given values.
28153
28173
  * @param values The values to update the clone with.
28154
28174
  * @param options The options to use for cloning.
28155
- * @returns The cloned instance.
28175
+ * @returns The cloned instance with its own property arrays. Nested objects
28176
+ * and URLs are shared with this instance.
28156
28177
  */
28157
28178
  clone(
28158
28179
  values:
@@ -28180,7 +28201,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28180
28201
  { id: values.id ?? this.id },
28181
28202
  options
28182
28203
  );
28183
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
28204
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
28184
28205
  if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
28185
28206
  if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
28186
28207
  // @ts-ignore: type is checked above.
@@ -28193,7 +28214,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28193
28214
  );
28194
28215
  }
28195
28216
  }
28196
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28217
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28197
28218
  if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
28198
28219
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
28199
28220
  // @ts-ignore: type is checked above.
@@ -28206,7 +28227,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28206
28227
  );
28207
28228
  }
28208
28229
  }
28209
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
28230
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
28210
28231
  if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
28211
28232
  if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
28212
28233
  values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
@@ -28221,7 +28242,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28221
28242
  );
28222
28243
  }
28223
28244
  }
28224
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
28245
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
28225
28246
  if (\\"proofValue\\" in values && values.proofValue != null) {
28226
28247
  if (values.proofValue instanceof Uint8Array) {
28227
28248
  // @ts-ignore: type is checked above.
@@ -28234,7 +28255,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
28234
28255
  );
28235
28256
  }
28236
28257
  }
28237
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
28258
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
28238
28259
  if (\\"created\\" in values && values.created != null) {
28239
28260
  if (isTemporalInstant(values.created)) {
28240
28261
  // @ts-ignore: type is checked above.
@@ -29222,7 +29243,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29222
29243
  * Clones this instance, optionally updating it with the given values.
29223
29244
  * @param values The values to update the clone with.
29224
29245
  * @param options The options to use for cloning.
29225
- * @returns The cloned instance.
29246
+ * @returns The cloned instance with its own property arrays. Nested objects
29247
+ * and URLs are shared with this instance.
29226
29248
  */
29227
29249
  clone(
29228
29250
  values:
@@ -29250,7 +29272,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29250
29272
  { id: values.id ?? this.id },
29251
29273
  options
29252
29274
  );
29253
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
29275
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
29254
29276
  if (\\"owner\\" in values && values.owner != null) {
29255
29277
  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) {
29256
29278
  // @ts-ignore: type is checked above.
@@ -29263,7 +29285,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29263
29285
  );
29264
29286
  }
29265
29287
  }
29266
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
29288
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
29267
29289
  if (\\"publicKey\\" in values && values.publicKey != null) {
29268
29290
  if (
29269
29291
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -30142,7 +30164,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30142
30164
  * Clones this instance, optionally updating it with the given values.
30143
30165
  * @param values The values to update the clone with.
30144
30166
  * @param options The options to use for cloning.
30145
- * @returns The cloned instance.
30167
+ * @returns The cloned instance with its own property arrays. Nested objects
30168
+ * and URLs are shared with this instance.
30146
30169
  */
30147
30170
  clone(
30148
30171
  values:
@@ -30170,7 +30193,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30170
30193
  { id: values.id ?? this.id },
30171
30194
  options
30172
30195
  );
30173
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30196
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30174
30197
  if (\\"controller\\" in values && values.controller != null) {
30175
30198
  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) {
30176
30199
  // @ts-ignore: type is checked above.
@@ -30183,7 +30206,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30183
30206
  );
30184
30207
  }
30185
30208
  }
30186
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
30209
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
30187
30210
  if (\\"publicKey\\" in values && values.publicKey != null) {
30188
30211
  if (
30189
30212
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -31104,7 +31127,8 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31104
31127
  * Clones this instance, optionally updating it with the given values.
31105
31128
  * @param values The values to update the clone with.
31106
31129
  * @param options The options to use for cloning.
31107
- * @returns The cloned instance.
31130
+ * @returns The cloned instance with its own property arrays. Nested objects
31131
+ * and URLs are shared with this instance.
31108
31132
  */
31109
31133
  clone(
31110
31134
  values:
@@ -31132,7 +31156,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31132
31156
  { id: values.id ?? this.id },
31133
31157
  options
31134
31158
  );
31135
- clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action;
31159
+ clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action.slice();
31136
31160
  if (\\"action\\" in values && values.action != null) {
31137
31161
  if (typeof values.action === \\"string\\") {
31138
31162
  // @ts-ignore: type is checked above.
@@ -31145,7 +31169,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31145
31169
  );
31146
31170
  }
31147
31171
  }
31148
- clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo;
31172
+ clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo.slice();
31149
31173
  if (\\"resourceConformsTo\\" in values && values.resourceConformsTo != null) {
31150
31174
  if (values.resourceConformsTo instanceof URL) {
31151
31175
  // @ts-ignore: type is checked above.
@@ -31158,7 +31182,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31158
31182
  );
31159
31183
  }
31160
31184
  }
31161
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
31185
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
31162
31186
  if (\\"resourceQuantity\\" in values && values.resourceQuantity != null) {
31163
31187
  if (values.resourceQuantity instanceof Measure) {
31164
31188
  // @ts-ignore: type is checked above.
@@ -31171,7 +31195,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31171
31195
  );
31172
31196
  }
31173
31197
  }
31174
- clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity;
31198
+ clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity.slice();
31175
31199
  if (\\"availableQuantity\\" in values && values.availableQuantity != null) {
31176
31200
  if (values.availableQuantity instanceof Measure) {
31177
31201
  // @ts-ignore: type is checked above.
@@ -31184,7 +31208,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
31184
31208
  );
31185
31209
  }
31186
31210
  }
31187
- clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity;
31211
+ clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity.slice();
31188
31212
  if (\\"minimumQuantity\\" in values && values.minimumQuantity != null) {
31189
31213
  if (values.minimumQuantity instanceof Measure) {
31190
31214
  // @ts-ignore: type is checked above.
@@ -32060,7 +32084,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32060
32084
  * Clones this instance, optionally updating it with the given values.
32061
32085
  * @param values The values to update the clone with.
32062
32086
  * @param options The options to use for cloning.
32063
- * @returns The cloned instance.
32087
+ * @returns The cloned instance with its own property arrays. Nested objects
32088
+ * and URLs are shared with this instance.
32064
32089
  */
32065
32090
  override clone(
32066
32091
  values:
@@ -32098,7 +32123,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32098
32123
  // @ts-ignore: $warning is not recognized as a property, but it is.
32099
32124
  options = { ...options, $warning: this._warning };
32100
32125
  }
32101
- const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose;
32126
+ const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose.slice();
32102
32127
  if (\\"purpose\\" in values && values.purpose != null) {
32103
32128
  if (typeof values.purpose === \\"string\\") {
32104
32129
  // @ts-ignore: type is checked above.
@@ -32111,7 +32136,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32111
32136
  );
32112
32137
  }
32113
32138
  }
32114
- clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes;
32139
+ clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes.slice();
32115
32140
  if (\\"publishes\\" in values && values.publishes != null) {
32116
32141
  if (values.publishes instanceof Intent) {
32117
32142
  // @ts-ignore: type is checked above.
@@ -32124,7 +32149,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32124
32149
  );
32125
32150
  }
32126
32151
  }
32127
- clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal;
32152
+ clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal.slice();
32128
32153
  if (\\"reciprocal\\" in values && values.reciprocal != null) {
32129
32154
  if (values.reciprocal instanceof Intent) {
32130
32155
  // @ts-ignore: type is checked above.
@@ -32137,7 +32162,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
32137
32162
  );
32138
32163
  }
32139
32164
  }
32140
- clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased;
32165
+ clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased.slice();
32141
32166
  if (\\"unitBased\\" in values && values.unitBased != null) {
32142
32167
  if (typeof values.unitBased === \\"boolean\\") {
32143
32168
  // @ts-ignore: type is checked above.
@@ -32857,7 +32882,8 @@ instruments?: (Object | URL)[];}
32857
32882
  * Clones this instance, optionally updating it with the given values.
32858
32883
  * @param values The values to update the clone with.
32859
32884
  * @param options The options to use for cloning.
32860
- * @returns The cloned instance.
32885
+ * @returns The cloned instance with its own property arrays. Nested objects
32886
+ * and URLs are shared with this instance.
32861
32887
  */
32862
32888
  override clone(
32863
32889
  values:
@@ -33203,7 +33229,8 @@ instruments?: (Object | URL)[];}
33203
33229
  * Clones this instance, optionally updating it with the given values.
33204
33230
  * @param values The values to update the clone with.
33205
33231
  * @param options The options to use for cloning.
33206
- * @returns The cloned instance.
33232
+ * @returns The cloned instance with its own property arrays. Nested objects
33233
+ * and URLs are shared with this instance.
33207
33234
  */
33208
33235
  override clone(
33209
33236
  values:
@@ -33544,7 +33571,8 @@ instruments?: (Object | URL)[];}
33544
33571
  * Clones this instance, optionally updating it with the given values.
33545
33572
  * @param values The values to update the clone with.
33546
33573
  * @param options The options to use for cloning.
33547
- * @returns The cloned instance.
33574
+ * @returns The cloned instance with its own property arrays. Nested objects
33575
+ * and URLs are shared with this instance.
33548
33576
  */
33549
33577
  override clone(
33550
33578
  values:
@@ -33950,7 +33978,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
33950
33978
  if (Array.isArray(values.preferredUsernames) &&
33951
33979
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
33952
33980
  // @ts-ignore: type is checked above.
33953
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
33981
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
33954
33982
 
33955
33983
  } else {
33956
33984
  throw new TypeError(
@@ -33986,7 +34014,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
33986
34014
  if (Array.isArray(values.publicKeys) &&
33987
34015
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
33988
34016
  // @ts-ignore: type is checked above.
33989
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
34017
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
33990
34018
 
33991
34019
  for (let i = 0; i < values.publicKeys.length; i++) {
33992
34020
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -34026,7 +34054,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34026
34054
  if (Array.isArray(values.assertionMethods) &&
34027
34055
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
34028
34056
  // @ts-ignore: type is checked above.
34029
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
34057
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
34030
34058
 
34031
34059
  for (let i = 0; i < values.assertionMethods.length; i++) {
34032
34060
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -34149,7 +34177,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34149
34177
  if (Array.isArray(values.streams) &&
34150
34178
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
34151
34179
  // @ts-ignore: type is checked above.
34152
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
34180
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
34153
34181
 
34154
34182
  for (let i = 0; i < values.streams.length; i++) {
34155
34183
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -34267,7 +34295,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34267
34295
  if (Array.isArray(values.aliases) &&
34268
34296
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
34269
34297
  // @ts-ignore: type is checked above.
34270
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
34298
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
34271
34299
 
34272
34300
  for (let i = 0; i < values.aliases.length; i++) {
34273
34301
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -34307,7 +34335,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34307
34335
  if (Array.isArray(values.services) &&
34308
34336
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
34309
34337
  // @ts-ignore: type is checked above.
34310
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
34338
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
34311
34339
 
34312
34340
  for (let i = 0; i < values.services.length; i++) {
34313
34341
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -34352,7 +34380,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34352
34380
  * Clones this instance, optionally updating it with the given values.
34353
34381
  * @param values The values to update the clone with.
34354
34382
  * @param options The options to use for cloning.
34355
- * @returns The cloned instance.
34383
+ * @returns The cloned instance with its own property arrays. Nested objects
34384
+ * and URLs are shared with this instance.
34356
34385
  */
34357
34386
  override clone(
34358
34387
  values:
@@ -34395,7 +34424,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34395
34424
  // @ts-ignore: $warning is not recognized as a property, but it is.
34396
34425
  options = { ...options, $warning: this._warning };
34397
34426
  }
34398
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
34427
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
34399
34428
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
34400
34429
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
34401
34430
  // @ts-ignore: type is checked above.
@@ -34422,7 +34451,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34422
34451
  if (Array.isArray(values.preferredUsernames) &&
34423
34452
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
34424
34453
  // @ts-ignore: type is checked above.
34425
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
34454
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
34426
34455
 
34427
34456
  } else {
34428
34457
  throw new TypeError(
@@ -34431,7 +34460,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34431
34460
  );
34432
34461
  }
34433
34462
  }
34434
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
34463
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
34435
34464
  if (\\"publicKey\\" in values && values.publicKey != null) {
34436
34465
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
34437
34466
  // @ts-ignore: type is checked above.
@@ -34458,7 +34487,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34458
34487
  if (Array.isArray(values.publicKeys) &&
34459
34488
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
34460
34489
  // @ts-ignore: type is checked above.
34461
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
34490
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
34462
34491
 
34463
34492
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
34464
34493
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -34472,7 +34501,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34472
34501
  );
34473
34502
  }
34474
34503
  }
34475
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
34504
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
34476
34505
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
34477
34506
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
34478
34507
  // @ts-ignore: type is checked above.
@@ -34499,7 +34528,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34499
34528
  if (Array.isArray(values.assertionMethods) &&
34500
34529
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
34501
34530
  // @ts-ignore: type is checked above.
34502
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
34531
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
34503
34532
 
34504
34533
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
34505
34534
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -34513,7 +34542,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34513
34542
  );
34514
34543
  }
34515
34544
  }
34516
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
34545
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
34517
34546
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
34518
34547
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
34519
34548
  // @ts-ignore: type is checked above.
@@ -34526,7 +34555,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34526
34555
  );
34527
34556
  }
34528
34557
  }
34529
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
34558
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
34530
34559
  if (\\"inbox\\" in values && values.inbox != null) {
34531
34560
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
34532
34561
  // @ts-ignore: type is checked above.
@@ -34539,7 +34568,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34539
34568
  );
34540
34569
  }
34541
34570
  }
34542
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
34571
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
34543
34572
  if (\\"outbox\\" in values && values.outbox != null) {
34544
34573
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
34545
34574
  // @ts-ignore: type is checked above.
@@ -34552,7 +34581,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34552
34581
  );
34553
34582
  }
34554
34583
  }
34555
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
34584
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
34556
34585
  if (\\"following\\" in values && values.following != null) {
34557
34586
  if (values.following instanceof Collection || values.following instanceof URL) {
34558
34587
  // @ts-ignore: type is checked above.
@@ -34565,7 +34594,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34565
34594
  );
34566
34595
  }
34567
34596
  }
34568
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
34597
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
34569
34598
  if (\\"followers\\" in values && values.followers != null) {
34570
34599
  if (values.followers instanceof Collection || values.followers instanceof URL) {
34571
34600
  // @ts-ignore: type is checked above.
@@ -34578,7 +34607,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34578
34607
  );
34579
34608
  }
34580
34609
  }
34581
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
34610
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
34582
34611
  if (\\"liked\\" in values && values.liked != null) {
34583
34612
  if (values.liked instanceof Collection || values.liked instanceof URL) {
34584
34613
  // @ts-ignore: type is checked above.
@@ -34591,7 +34620,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34591
34620
  );
34592
34621
  }
34593
34622
  }
34594
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
34623
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
34595
34624
  if (\\"featured\\" in values && values.featured != null) {
34596
34625
  if (values.featured instanceof Collection || values.featured instanceof URL) {
34597
34626
  // @ts-ignore: type is checked above.
@@ -34604,7 +34633,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34604
34633
  );
34605
34634
  }
34606
34635
  }
34607
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
34636
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
34608
34637
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
34609
34638
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
34610
34639
  // @ts-ignore: type is checked above.
@@ -34617,13 +34646,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34617
34646
  );
34618
34647
  }
34619
34648
  }
34620
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
34649
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
34621
34650
  if (\\"streams\\" in values && values.streams != null) {
34622
34651
 
34623
34652
  if (Array.isArray(values.streams) &&
34624
34653
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
34625
34654
  // @ts-ignore: type is checked above.
34626
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
34655
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
34627
34656
 
34628
34657
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
34629
34658
  for (let i = 0; i < values.streams.length; i++) {
@@ -34637,7 +34666,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34637
34666
  );
34638
34667
  }
34639
34668
  }
34640
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
34669
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
34641
34670
  if (\\"endpoints\\" in values && values.endpoints != null) {
34642
34671
  if (values.endpoints instanceof Endpoints) {
34643
34672
  // @ts-ignore: type is checked above.
@@ -34650,7 +34679,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34650
34679
  );
34651
34680
  }
34652
34681
  }
34653
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
34682
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
34654
34683
  if (\\"discoverable\\" in values && values.discoverable != null) {
34655
34684
  if (typeof values.discoverable === \\"boolean\\") {
34656
34685
  // @ts-ignore: type is checked above.
@@ -34663,7 +34692,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34663
34692
  );
34664
34693
  }
34665
34694
  }
34666
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
34695
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
34667
34696
  if (\\"suspended\\" in values && values.suspended != null) {
34668
34697
  if (typeof values.suspended === \\"boolean\\") {
34669
34698
  // @ts-ignore: type is checked above.
@@ -34676,7 +34705,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34676
34705
  );
34677
34706
  }
34678
34707
  }
34679
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
34708
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
34680
34709
  if (\\"memorial\\" in values && values.memorial != null) {
34681
34710
  if (typeof values.memorial === \\"boolean\\") {
34682
34711
  // @ts-ignore: type is checked above.
@@ -34689,7 +34718,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34689
34718
  );
34690
34719
  }
34691
34720
  }
34692
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
34721
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
34693
34722
  if (\\"indexable\\" in values && values.indexable != null) {
34694
34723
  if (typeof values.indexable === \\"boolean\\") {
34695
34724
  // @ts-ignore: type is checked above.
@@ -34702,7 +34731,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34702
34731
  );
34703
34732
  }
34704
34733
  }
34705
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
34734
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
34706
34735
  if (\\"successor\\" in values && values.successor != null) {
34707
34736
  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) {
34708
34737
  // @ts-ignore: type is checked above.
@@ -34715,7 +34744,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34715
34744
  );
34716
34745
  }
34717
34746
  }
34718
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
34747
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
34719
34748
  if (\\"alias\\" in values && values.alias != null) {
34720
34749
  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) {
34721
34750
  // @ts-ignore: type is checked above.
@@ -34742,7 +34771,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34742
34771
  if (Array.isArray(values.aliases) &&
34743
34772
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
34744
34773
  // @ts-ignore: type is checked above.
34745
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
34774
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
34746
34775
 
34747
34776
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
34748
34777
  for (let i = 0; i < values.aliases.length; i++) {
@@ -34756,7 +34785,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34756
34785
  );
34757
34786
  }
34758
34787
  }
34759
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
34788
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
34760
34789
  if (\\"service\\" in values && values.service != null) {
34761
34790
  if (values.service instanceof DidService || values.service instanceof URL) {
34762
34791
  // @ts-ignore: type is checked above.
@@ -34783,7 +34812,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34783
34812
  if (Array.isArray(values.services) &&
34784
34813
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
34785
34814
  // @ts-ignore: type is checked above.
34786
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
34815
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
34787
34816
 
34788
34817
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
34789
34818
  for (let i = 0; i < values.services.length; i++) {
@@ -34797,7 +34826,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34797
34826
  );
34798
34827
  }
34799
34828
  }
34800
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
34829
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
34801
34830
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
34802
34831
  if (typeof values.followedMessage === \\"string\\") {
34803
34832
  // @ts-ignore: type is checked above.
@@ -34810,7 +34839,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
34810
34839
  );
34811
34840
  }
34812
34841
  }
34813
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
34842
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
34814
34843
  if (\\"cat\\" in values && values.cat != null) {
34815
34844
  if (typeof values.cat === \\"boolean\\") {
34816
34845
  // @ts-ignore: type is checked above.
@@ -40913,7 +40942,8 @@ instruments?: (Object | URL)[];}
40913
40942
  * Clones this instance, optionally updating it with the given values.
40914
40943
  * @param values The values to update the clone with.
40915
40944
  * @param options The options to use for cloning.
40916
- * @returns The cloned instance.
40945
+ * @returns The cloned instance with its own property arrays. Nested objects
40946
+ * and URLs are shared with this instance.
40917
40947
  */
40918
40948
  override clone(
40919
40949
  values:
@@ -41266,7 +41296,8 @@ instruments?: (Object | URL)[];}
41266
41296
  * Clones this instance, optionally updating it with the given values.
41267
41297
  * @param values The values to update the clone with.
41268
41298
  * @param options The options to use for cloning.
41269
- * @returns The cloned instance.
41299
+ * @returns The cloned instance with its own property arrays. Nested objects
41300
+ * and URLs are shared with this instance.
41270
41301
  */
41271
41302
  override clone(
41272
41303
  values:
@@ -41644,7 +41675,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41644
41675
  * Clones this instance, optionally updating it with the given values.
41645
41676
  * @param values The values to update the clone with.
41646
41677
  * @param options The options to use for cloning.
41647
- * @returns The cloned instance.
41678
+ * @returns The cloned instance with its own property arrays. Nested objects
41679
+ * and URLs are shared with this instance.
41648
41680
  */
41649
41681
  override clone(
41650
41682
  values:
@@ -41682,7 +41714,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41682
41714
  // @ts-ignore: $warning is not recognized as a property, but it is.
41683
41715
  options = { ...options, $warning: this._warning };
41684
41716
  }
41685
- 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);
41717
+ 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);
41686
41718
  if (\\"quote\\" in values && values.quote != null) {
41687
41719
  if (values.quote instanceof Object || values.quote instanceof URL) {
41688
41720
  // @ts-ignore: type is checked above.
@@ -41695,7 +41727,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41695
41727
  );
41696
41728
  }
41697
41729
  }
41698
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
41730
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
41699
41731
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
41700
41732
  if (values.quoteUrl instanceof URL) {
41701
41733
  // @ts-ignore: type is checked above.
@@ -41708,7 +41740,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
41708
41740
  );
41709
41741
  }
41710
41742
  }
41711
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
41743
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
41712
41744
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
41713
41745
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
41714
41746
  // @ts-ignore: type is checked above.
@@ -42832,7 +42864,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42832
42864
  * Clones this instance, optionally updating it with the given values.
42833
42865
  * @param values The values to update the clone with.
42834
42866
  * @param options The options to use for cloning.
42835
- * @returns The cloned instance.
42867
+ * @returns The cloned instance with its own property arrays. Nested objects
42868
+ * and URLs are shared with this instance.
42836
42869
  */
42837
42870
  override clone(
42838
42871
  values:
@@ -42870,7 +42903,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42870
42903
  // @ts-ignore: $warning is not recognized as a property, but it is.
42871
42904
  options = { ...options, $warning: this._warning };
42872
42905
  }
42873
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
42906
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
42874
42907
  if (\\"width\\" in values && values.width != null) {
42875
42908
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
42876
42909
  // @ts-ignore: type is checked above.
@@ -42883,7 +42916,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
42883
42916
  );
42884
42917
  }
42885
42918
  }
42886
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
42919
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
42887
42920
  if (\\"height\\" in values && values.height != null) {
42888
42921
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
42889
42922
  // @ts-ignore: type is checked above.
@@ -43413,7 +43446,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43413
43446
  * Clones this instance, optionally updating it with the given values.
43414
43447
  * @param values The values to update the clone with.
43415
43448
  * @param options The options to use for cloning.
43416
- * @returns The cloned instance.
43449
+ * @returns The cloned instance with its own property arrays. Nested objects
43450
+ * and URLs are shared with this instance.
43417
43451
  */
43418
43452
  override clone(
43419
43453
  values:
@@ -43764,7 +43798,8 @@ instruments?: (Object | URL)[];}
43764
43798
  * Clones this instance, optionally updating it with the given values.
43765
43799
  * @param values The values to update the clone with.
43766
43800
  * @param options The options to use for cloning.
43767
- * @returns The cloned instance.
43801
+ * @returns The cloned instance with its own property arrays. Nested objects
43802
+ * and URLs are shared with this instance.
43768
43803
  */
43769
43804
  override clone(
43770
43805
  values:
@@ -44110,7 +44145,8 @@ instruments?: (Object | URL)[];}
44110
44145
  * Clones this instance, optionally updating it with the given values.
44111
44146
  * @param values The values to update the clone with.
44112
44147
  * @param options The options to use for cloning.
44113
- * @returns The cloned instance.
44148
+ * @returns The cloned instance with its own property arrays. Nested objects
44149
+ * and URLs are shared with this instance.
44114
44150
  */
44115
44151
  override clone(
44116
44152
  values:
@@ -44536,7 +44572,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44536
44572
  if (Array.isArray(values.items) &&
44537
44573
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
44538
44574
  // @ts-ignore: type is checked above.
44539
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
44575
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
44540
44576
 
44541
44577
  for (let i = 0; i < values.items.length; i++) {
44542
44578
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -44659,7 +44695,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44659
44695
  * Clones this instance, optionally updating it with the given values.
44660
44696
  * @param values The values to update the clone with.
44661
44697
  * @param options The options to use for cloning.
44662
- * @returns The cloned instance.
44698
+ * @returns The cloned instance with its own property arrays. Nested objects
44699
+ * and URLs are shared with this instance.
44663
44700
  */
44664
44701
  override clone(
44665
44702
  values:
@@ -44697,7 +44734,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44697
44734
  // @ts-ignore: $warning is not recognized as a property, but it is.
44698
44735
  options = { ...options, $warning: this._warning };
44699
44736
  }
44700
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
44737
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
44701
44738
  if (\\"totalItems\\" in values && values.totalItems != null) {
44702
44739
  if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
44703
44740
  // @ts-ignore: type is checked above.
@@ -44710,7 +44747,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44710
44747
  );
44711
44748
  }
44712
44749
  }
44713
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
44750
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
44714
44751
  if (\\"current\\" in values && values.current != null) {
44715
44752
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
44716
44753
  // @ts-ignore: type is checked above.
@@ -44723,7 +44760,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44723
44760
  );
44724
44761
  }
44725
44762
  }
44726
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
44763
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
44727
44764
  if (\\"first\\" in values && values.first != null) {
44728
44765
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
44729
44766
  // @ts-ignore: type is checked above.
@@ -44736,7 +44773,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44736
44773
  );
44737
44774
  }
44738
44775
  }
44739
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
44776
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
44740
44777
  if (\\"last\\" in values && values.last != null) {
44741
44778
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
44742
44779
  // @ts-ignore: type is checked above.
@@ -44749,13 +44786,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44749
44786
  );
44750
44787
  }
44751
44788
  }
44752
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
44789
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
44753
44790
  if (\\"items\\" in values && values.items != null) {
44754
44791
 
44755
44792
  if (Array.isArray(values.items) &&
44756
44793
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
44757
44794
  // @ts-ignore: type is checked above.
44758
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
44795
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
44759
44796
 
44760
44797
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
44761
44798
  for (let i = 0; i < values.items.length; i++) {
@@ -44769,7 +44806,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44769
44806
  );
44770
44807
  }
44771
44808
  }
44772
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
44809
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
44773
44810
  if (\\"likesOf\\" in values && values.likesOf != null) {
44774
44811
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
44775
44812
  // @ts-ignore: type is checked above.
@@ -44782,7 +44819,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44782
44819
  );
44783
44820
  }
44784
44821
  }
44785
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
44822
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
44786
44823
  if (\\"sharesOf\\" in values && values.sharesOf != null) {
44787
44824
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
44788
44825
  // @ts-ignore: type is checked above.
@@ -44795,7 +44832,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44795
44832
  );
44796
44833
  }
44797
44834
  }
44798
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
44835
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
44799
44836
  if (\\"repliesOf\\" in values && values.repliesOf != null) {
44800
44837
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
44801
44838
  // @ts-ignore: type is checked above.
@@ -44808,7 +44845,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44808
44845
  );
44809
44846
  }
44810
44847
  }
44811
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
44848
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
44812
44849
  if (\\"inboxOf\\" in values && values.inboxOf != null) {
44813
44850
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
44814
44851
  // @ts-ignore: type is checked above.
@@ -44821,7 +44858,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44821
44858
  );
44822
44859
  }
44823
44860
  }
44824
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
44861
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
44825
44862
  if (\\"outboxOf\\" in values && values.outboxOf != null) {
44826
44863
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
44827
44864
  // @ts-ignore: type is checked above.
@@ -44834,7 +44871,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44834
44871
  );
44835
44872
  }
44836
44873
  }
44837
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
44874
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
44838
44875
  if (\\"followersOf\\" in values && values.followersOf != null) {
44839
44876
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
44840
44877
  // @ts-ignore: type is checked above.
@@ -44847,7 +44884,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44847
44884
  );
44848
44885
  }
44849
44886
  }
44850
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
44887
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
44851
44888
  if (\\"followingOf\\" in values && values.followingOf != null) {
44852
44889
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
44853
44890
  // @ts-ignore: type is checked above.
@@ -44860,7 +44897,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
44860
44897
  );
44861
44898
  }
44862
44899
  }
44863
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
44900
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
44864
44901
  if (\\"likedOf\\" in values && values.likedOf != null) {
44865
44902
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
44866
44903
  // @ts-ignore: type is checked above.
@@ -49244,7 +49281,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49244
49281
  * Clones this instance, optionally updating it with the given values.
49245
49282
  * @param values The values to update the clone with.
49246
49283
  * @param options The options to use for cloning.
49247
- * @returns The cloned instance.
49284
+ * @returns The cloned instance with its own property arrays. Nested objects
49285
+ * and URLs are shared with this instance.
49248
49286
  */
49249
49287
  override clone(
49250
49288
  values:
@@ -49282,7 +49320,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49282
49320
  // @ts-ignore: $warning is not recognized as a property, but it is.
49283
49321
  options = { ...options, $warning: this._warning };
49284
49322
  }
49285
- 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);
49323
+ 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);
49286
49324
  if (\\"partOf\\" in values && values.partOf != null) {
49287
49325
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
49288
49326
  // @ts-ignore: type is checked above.
@@ -49295,7 +49333,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49295
49333
  );
49296
49334
  }
49297
49335
  }
49298
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
49336
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
49299
49337
  if (\\"next\\" in values && values.next != null) {
49300
49338
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
49301
49339
  // @ts-ignore: type is checked above.
@@ -49308,7 +49346,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
49308
49346
  );
49309
49347
  }
49310
49348
  }
49311
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
49349
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
49312
49350
  if (\\"prev\\" in values && values.prev != null) {
49313
49351
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
49314
49352
  // @ts-ignore: type is checked above.
@@ -50605,7 +50643,8 @@ instruments?: (Object | URL)[];}
50605
50643
  * Clones this instance, optionally updating it with the given values.
50606
50644
  * @param values The values to update the clone with.
50607
50645
  * @param options The options to use for cloning.
50608
- * @returns The cloned instance.
50646
+ * @returns The cloned instance with its own property arrays. Nested objects
50647
+ * and URLs are shared with this instance.
50609
50648
  */
50610
50649
  override clone(
50611
50650
  values:
@@ -50945,7 +50984,8 @@ instruments?: (Object | URL)[];}
50945
50984
  * Clones this instance, optionally updating it with the given values.
50946
50985
  * @param values The values to update the clone with.
50947
50986
  * @param options The options to use for cloning.
50948
- * @returns The cloned instance.
50987
+ * @returns The cloned instance with its own property arrays. Nested objects
50988
+ * and URLs are shared with this instance.
50949
50989
  */
50950
50990
  override clone(
50951
50991
  values:
@@ -51283,7 +51323,8 @@ instruments?: (Object | URL)[];}
51283
51323
  * Clones this instance, optionally updating it with the given values.
51284
51324
  * @param values The values to update the clone with.
51285
51325
  * @param options The options to use for cloning.
51286
- * @returns The cloned instance.
51326
+ * @returns The cloned instance with its own property arrays. Nested objects
51327
+ * and URLs are shared with this instance.
51287
51328
  */
51288
51329
  override clone(
51289
51330
  values:
@@ -51753,7 +51794,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51753
51794
  * Clones this instance, optionally updating it with the given values.
51754
51795
  * @param values The values to update the clone with.
51755
51796
  * @param options The options to use for cloning.
51756
- * @returns The cloned instance.
51797
+ * @returns The cloned instance with its own property arrays. Nested objects
51798
+ * and URLs are shared with this instance.
51757
51799
  */
51758
51800
  clone(
51759
51801
  values:
@@ -51781,7 +51823,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51781
51823
  { id: values.id ?? this.id },
51782
51824
  options
51783
51825
  );
51784
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
51826
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
51785
51827
  if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
51786
51828
  if (values.proxyUrl instanceof URL) {
51787
51829
  // @ts-ignore: type is checked above.
@@ -51794,7 +51836,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51794
51836
  );
51795
51837
  }
51796
51838
  }
51797
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
51839
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
51798
51840
  if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
51799
51841
  if (values.oauthAuthorizationEndpoint instanceof URL) {
51800
51842
  // @ts-ignore: type is checked above.
@@ -51807,7 +51849,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51807
51849
  );
51808
51850
  }
51809
51851
  }
51810
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
51852
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
51811
51853
  if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
51812
51854
  if (values.oauthTokenEndpoint instanceof URL) {
51813
51855
  // @ts-ignore: type is checked above.
@@ -51820,7 +51862,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51820
51862
  );
51821
51863
  }
51822
51864
  }
51823
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
51865
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
51824
51866
  if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
51825
51867
  if (values.provideClientKey instanceof URL) {
51826
51868
  // @ts-ignore: type is checked above.
@@ -51833,7 +51875,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51833
51875
  );
51834
51876
  }
51835
51877
  }
51836
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
51878
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
51837
51879
  if (\\"signClientKey\\" in values && values.signClientKey != null) {
51838
51880
  if (values.signClientKey instanceof URL) {
51839
51881
  // @ts-ignore: type is checked above.
@@ -51846,7 +51888,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
51846
51888
  );
51847
51889
  }
51848
51890
  }
51849
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
51891
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
51850
51892
  if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
51851
51893
  if (values.sharedInbox instanceof URL) {
51852
51894
  // @ts-ignore: type is checked above.
@@ -52824,7 +52866,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
52824
52866
  * Clones this instance, optionally updating it with the given values.
52825
52867
  * @param values The values to update the clone with.
52826
52868
  * @param options The options to use for cloning.
52827
- * @returns The cloned instance.
52869
+ * @returns The cloned instance with its own property arrays. Nested objects
52870
+ * and URLs are shared with this instance.
52828
52871
  */
52829
52872
  override clone(
52830
52873
  values:
@@ -53176,7 +53219,8 @@ instruments?: (Object | URL)[];}
53176
53219
  * Clones this instance, optionally updating it with the given values.
53177
53220
  * @param values The values to update the clone with.
53178
53221
  * @param options The options to use for cloning.
53179
- * @returns The cloned instance.
53222
+ * @returns The cloned instance with its own property arrays. Nested objects
53223
+ * and URLs are shared with this instance.
53180
53224
  */
53181
53225
  override clone(
53182
53226
  values:
@@ -53518,7 +53562,8 @@ instruments?: (Object | URL)[];}
53518
53562
  * Clones this instance, optionally updating it with the given values.
53519
53563
  * @param values The values to update the clone with.
53520
53564
  * @param options The options to use for cloning.
53521
- * @returns The cloned instance.
53565
+ * @returns The cloned instance with its own property arrays. Nested objects
53566
+ * and URLs are shared with this instance.
53522
53567
  */
53523
53568
  override clone(
53524
53569
  values:
@@ -53924,7 +53969,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
53924
53969
  if (Array.isArray(values.preferredUsernames) &&
53925
53970
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
53926
53971
  // @ts-ignore: type is checked above.
53927
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
53972
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
53928
53973
 
53929
53974
  } else {
53930
53975
  throw new TypeError(
@@ -53960,7 +54005,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
53960
54005
  if (Array.isArray(values.publicKeys) &&
53961
54006
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
53962
54007
  // @ts-ignore: type is checked above.
53963
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
54008
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
53964
54009
 
53965
54010
  for (let i = 0; i < values.publicKeys.length; i++) {
53966
54011
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -54000,7 +54045,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54000
54045
  if (Array.isArray(values.assertionMethods) &&
54001
54046
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
54002
54047
  // @ts-ignore: type is checked above.
54003
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
54048
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
54004
54049
 
54005
54050
  for (let i = 0; i < values.assertionMethods.length; i++) {
54006
54051
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -54123,7 +54168,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54123
54168
  if (Array.isArray(values.streams) &&
54124
54169
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
54125
54170
  // @ts-ignore: type is checked above.
54126
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
54171
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
54127
54172
 
54128
54173
  for (let i = 0; i < values.streams.length; i++) {
54129
54174
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -54241,7 +54286,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54241
54286
  if (Array.isArray(values.aliases) &&
54242
54287
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
54243
54288
  // @ts-ignore: type is checked above.
54244
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
54289
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
54245
54290
 
54246
54291
  for (let i = 0; i < values.aliases.length; i++) {
54247
54292
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -54281,7 +54326,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54281
54326
  if (Array.isArray(values.services) &&
54282
54327
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
54283
54328
  // @ts-ignore: type is checked above.
54284
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
54329
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
54285
54330
 
54286
54331
  for (let i = 0; i < values.services.length; i++) {
54287
54332
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -54326,7 +54371,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54326
54371
  * Clones this instance, optionally updating it with the given values.
54327
54372
  * @param values The values to update the clone with.
54328
54373
  * @param options The options to use for cloning.
54329
- * @returns The cloned instance.
54374
+ * @returns The cloned instance with its own property arrays. Nested objects
54375
+ * and URLs are shared with this instance.
54330
54376
  */
54331
54377
  override clone(
54332
54378
  values:
@@ -54369,7 +54415,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54369
54415
  // @ts-ignore: $warning is not recognized as a property, but it is.
54370
54416
  options = { ...options, $warning: this._warning };
54371
54417
  }
54372
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
54418
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
54373
54419
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
54374
54420
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
54375
54421
  // @ts-ignore: type is checked above.
@@ -54396,7 +54442,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54396
54442
  if (Array.isArray(values.preferredUsernames) &&
54397
54443
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
54398
54444
  // @ts-ignore: type is checked above.
54399
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
54445
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
54400
54446
 
54401
54447
  } else {
54402
54448
  throw new TypeError(
@@ -54405,7 +54451,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54405
54451
  );
54406
54452
  }
54407
54453
  }
54408
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
54454
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
54409
54455
  if (\\"publicKey\\" in values && values.publicKey != null) {
54410
54456
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
54411
54457
  // @ts-ignore: type is checked above.
@@ -54432,7 +54478,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54432
54478
  if (Array.isArray(values.publicKeys) &&
54433
54479
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
54434
54480
  // @ts-ignore: type is checked above.
54435
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
54481
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
54436
54482
 
54437
54483
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
54438
54484
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -54446,7 +54492,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54446
54492
  );
54447
54493
  }
54448
54494
  }
54449
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
54495
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
54450
54496
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
54451
54497
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
54452
54498
  // @ts-ignore: type is checked above.
@@ -54473,7 +54519,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54473
54519
  if (Array.isArray(values.assertionMethods) &&
54474
54520
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
54475
54521
  // @ts-ignore: type is checked above.
54476
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
54522
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
54477
54523
 
54478
54524
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
54479
54525
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -54487,7 +54533,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54487
54533
  );
54488
54534
  }
54489
54535
  }
54490
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
54536
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
54491
54537
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
54492
54538
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
54493
54539
  // @ts-ignore: type is checked above.
@@ -54500,7 +54546,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54500
54546
  );
54501
54547
  }
54502
54548
  }
54503
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
54549
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
54504
54550
  if (\\"inbox\\" in values && values.inbox != null) {
54505
54551
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
54506
54552
  // @ts-ignore: type is checked above.
@@ -54513,7 +54559,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54513
54559
  );
54514
54560
  }
54515
54561
  }
54516
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
54562
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
54517
54563
  if (\\"outbox\\" in values && values.outbox != null) {
54518
54564
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
54519
54565
  // @ts-ignore: type is checked above.
@@ -54526,7 +54572,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54526
54572
  );
54527
54573
  }
54528
54574
  }
54529
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
54575
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
54530
54576
  if (\\"following\\" in values && values.following != null) {
54531
54577
  if (values.following instanceof Collection || values.following instanceof URL) {
54532
54578
  // @ts-ignore: type is checked above.
@@ -54539,7 +54585,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54539
54585
  );
54540
54586
  }
54541
54587
  }
54542
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
54588
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
54543
54589
  if (\\"followers\\" in values && values.followers != null) {
54544
54590
  if (values.followers instanceof Collection || values.followers instanceof URL) {
54545
54591
  // @ts-ignore: type is checked above.
@@ -54552,7 +54598,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54552
54598
  );
54553
54599
  }
54554
54600
  }
54555
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
54601
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
54556
54602
  if (\\"liked\\" in values && values.liked != null) {
54557
54603
  if (values.liked instanceof Collection || values.liked instanceof URL) {
54558
54604
  // @ts-ignore: type is checked above.
@@ -54565,7 +54611,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54565
54611
  );
54566
54612
  }
54567
54613
  }
54568
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
54614
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
54569
54615
  if (\\"featured\\" in values && values.featured != null) {
54570
54616
  if (values.featured instanceof Collection || values.featured instanceof URL) {
54571
54617
  // @ts-ignore: type is checked above.
@@ -54578,7 +54624,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54578
54624
  );
54579
54625
  }
54580
54626
  }
54581
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
54627
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
54582
54628
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
54583
54629
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
54584
54630
  // @ts-ignore: type is checked above.
@@ -54591,13 +54637,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54591
54637
  );
54592
54638
  }
54593
54639
  }
54594
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
54640
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
54595
54641
  if (\\"streams\\" in values && values.streams != null) {
54596
54642
 
54597
54643
  if (Array.isArray(values.streams) &&
54598
54644
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
54599
54645
  // @ts-ignore: type is checked above.
54600
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
54646
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
54601
54647
 
54602
54648
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
54603
54649
  for (let i = 0; i < values.streams.length; i++) {
@@ -54611,7 +54657,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54611
54657
  );
54612
54658
  }
54613
54659
  }
54614
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
54660
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
54615
54661
  if (\\"endpoints\\" in values && values.endpoints != null) {
54616
54662
  if (values.endpoints instanceof Endpoints) {
54617
54663
  // @ts-ignore: type is checked above.
@@ -54624,7 +54670,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54624
54670
  );
54625
54671
  }
54626
54672
  }
54627
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
54673
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
54628
54674
  if (\\"discoverable\\" in values && values.discoverable != null) {
54629
54675
  if (typeof values.discoverable === \\"boolean\\") {
54630
54676
  // @ts-ignore: type is checked above.
@@ -54637,7 +54683,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54637
54683
  );
54638
54684
  }
54639
54685
  }
54640
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
54686
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
54641
54687
  if (\\"suspended\\" in values && values.suspended != null) {
54642
54688
  if (typeof values.suspended === \\"boolean\\") {
54643
54689
  // @ts-ignore: type is checked above.
@@ -54650,7 +54696,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54650
54696
  );
54651
54697
  }
54652
54698
  }
54653
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
54699
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
54654
54700
  if (\\"memorial\\" in values && values.memorial != null) {
54655
54701
  if (typeof values.memorial === \\"boolean\\") {
54656
54702
  // @ts-ignore: type is checked above.
@@ -54663,7 +54709,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54663
54709
  );
54664
54710
  }
54665
54711
  }
54666
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
54712
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
54667
54713
  if (\\"indexable\\" in values && values.indexable != null) {
54668
54714
  if (typeof values.indexable === \\"boolean\\") {
54669
54715
  // @ts-ignore: type is checked above.
@@ -54676,7 +54722,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54676
54722
  );
54677
54723
  }
54678
54724
  }
54679
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
54725
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
54680
54726
  if (\\"successor\\" in values && values.successor != null) {
54681
54727
  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) {
54682
54728
  // @ts-ignore: type is checked above.
@@ -54689,7 +54735,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54689
54735
  );
54690
54736
  }
54691
54737
  }
54692
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
54738
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
54693
54739
  if (\\"alias\\" in values && values.alias != null) {
54694
54740
  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) {
54695
54741
  // @ts-ignore: type is checked above.
@@ -54716,7 +54762,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54716
54762
  if (Array.isArray(values.aliases) &&
54717
54763
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
54718
54764
  // @ts-ignore: type is checked above.
54719
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
54765
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
54720
54766
 
54721
54767
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
54722
54768
  for (let i = 0; i < values.aliases.length; i++) {
@@ -54730,7 +54776,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54730
54776
  );
54731
54777
  }
54732
54778
  }
54733
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
54779
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
54734
54780
  if (\\"service\\" in values && values.service != null) {
54735
54781
  if (values.service instanceof DidService || values.service instanceof URL) {
54736
54782
  // @ts-ignore: type is checked above.
@@ -54757,7 +54803,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54757
54803
  if (Array.isArray(values.services) &&
54758
54804
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
54759
54805
  // @ts-ignore: type is checked above.
54760
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
54806
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
54761
54807
 
54762
54808
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
54763
54809
  for (let i = 0; i < values.services.length; i++) {
@@ -54771,7 +54817,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54771
54817
  );
54772
54818
  }
54773
54819
  }
54774
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
54820
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
54775
54821
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
54776
54822
  if (typeof values.followedMessage === \\"string\\") {
54777
54823
  // @ts-ignore: type is checked above.
@@ -54784,7 +54830,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
54784
54830
  );
54785
54831
  }
54786
54832
  }
54787
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
54833
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
54788
54834
  if (\\"cat\\" in values && values.cat != null) {
54789
54835
  if (typeof values.cat === \\"boolean\\") {
54790
54836
  // @ts-ignore: type is checked above.
@@ -60986,7 +61032,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
60986
61032
  if (Array.isArray(values.rels) &&
60987
61033
  values.rels.every(v => typeof v === \\"string\\")) {
60988
61034
  // @ts-ignore: type is checked above.
60989
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
61035
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
60990
61036
 
60991
61037
  } else {
60992
61038
  throw new TypeError(
@@ -61035,7 +61081,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61035
61081
  if (Array.isArray(values.names) &&
61036
61082
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
61037
61083
  // @ts-ignore: type is checked above.
61038
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
61084
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
61039
61085
 
61040
61086
  } else {
61041
61087
  throw new TypeError(
@@ -61089,7 +61135,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61089
61135
  if (Array.isArray(values.previews) &&
61090
61136
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
61091
61137
  // @ts-ignore: type is checked above.
61092
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
61138
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
61093
61139
 
61094
61140
  for (let i = 0; i < values.previews.length; i++) {
61095
61141
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -61108,7 +61154,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61108
61154
  * Clones this instance, optionally updating it with the given values.
61109
61155
  * @param values The values to update the clone with.
61110
61156
  * @param options The options to use for cloning.
61111
- * @returns The cloned instance.
61157
+ * @returns The cloned instance with its own property arrays. Nested objects
61158
+ * and URLs are shared with this instance.
61112
61159
  */
61113
61160
  clone(
61114
61161
  values:
@@ -61138,7 +61185,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61138
61185
  { id: values.id ?? this.id },
61139
61186
  options
61140
61187
  );
61141
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
61188
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
61142
61189
  if (\\"href\\" in values && values.href != null) {
61143
61190
  if (values.href instanceof URL) {
61144
61191
  // @ts-ignore: type is checked above.
@@ -61151,7 +61198,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61151
61198
  );
61152
61199
  }
61153
61200
  }
61154
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
61201
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
61155
61202
  if (\\"rel\\" in values && values.rel != null) {
61156
61203
  if (typeof values.rel === \\"string\\") {
61157
61204
  // @ts-ignore: type is checked above.
@@ -61178,7 +61225,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61178
61225
  if (Array.isArray(values.rels) &&
61179
61226
  values.rels.every(v => typeof v === \\"string\\")) {
61180
61227
  // @ts-ignore: type is checked above.
61181
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
61228
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
61182
61229
 
61183
61230
  } else {
61184
61231
  throw new TypeError(
@@ -61187,7 +61234,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61187
61234
  );
61188
61235
  }
61189
61236
  }
61190
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
61237
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
61191
61238
  if (\\"mediaType\\" in values && values.mediaType != null) {
61192
61239
  if (typeof values.mediaType === \\"string\\") {
61193
61240
  // @ts-ignore: type is checked above.
@@ -61200,7 +61247,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61200
61247
  );
61201
61248
  }
61202
61249
  }
61203
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
61250
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
61204
61251
  if (\\"name\\" in values && values.name != null) {
61205
61252
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
61206
61253
  // @ts-ignore: type is checked above.
@@ -61227,7 +61274,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61227
61274
  if (Array.isArray(values.names) &&
61228
61275
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
61229
61276
  // @ts-ignore: type is checked above.
61230
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
61277
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
61231
61278
 
61232
61279
  } else {
61233
61280
  throw new TypeError(
@@ -61236,7 +61283,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61236
61283
  );
61237
61284
  }
61238
61285
  }
61239
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
61286
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
61240
61287
  if (\\"language\\" in values && values.language != null) {
61241
61288
  if (values.language instanceof Intl.Locale) {
61242
61289
  // @ts-ignore: type is checked above.
@@ -61249,7 +61296,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61249
61296
  );
61250
61297
  }
61251
61298
  }
61252
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
61299
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
61253
61300
  if (\\"height\\" in values && values.height != null) {
61254
61301
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
61255
61302
  // @ts-ignore: type is checked above.
@@ -61262,7 +61309,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61262
61309
  );
61263
61310
  }
61264
61311
  }
61265
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
61312
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
61266
61313
  if (\\"width\\" in values && values.width != null) {
61267
61314
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
61268
61315
  // @ts-ignore: type is checked above.
@@ -61275,13 +61322,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
61275
61322
  );
61276
61323
  }
61277
61324
  }
61278
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
61325
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
61279
61326
  if (\\"previews\\" in values && values.previews != null) {
61280
61327
 
61281
61328
  if (Array.isArray(values.previews) &&
61282
61329
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
61283
61330
  // @ts-ignore: type is checked above.
61284
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
61331
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
61285
61332
 
61286
61333
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
61287
61334
  for (let i = 0; i < values.previews.length; i++) {
@@ -62264,7 +62311,7 @@ get names(): ((string | LanguageString))[] {
62264
62311
  if (v == null) continue;
62265
62312
 
62266
62313
  const decoded =
62267
- new Intl.Locale(v[\\"@value\\"])
62314
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
62268
62315
  ;
62269
62316
 
62270
62317
  if (typeof decoded === \\"undefined\\") {
@@ -62663,7 +62710,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
62663
62710
  * Clones this instance, optionally updating it with the given values.
62664
62711
  * @param values The values to update the clone with.
62665
62712
  * @param options The options to use for cloning.
62666
- * @returns The cloned instance.
62713
+ * @returns The cloned instance with its own property arrays. Nested objects
62714
+ * and URLs are shared with this instance.
62667
62715
  */
62668
62716
  override clone(
62669
62717
  values:
@@ -62981,7 +63029,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
62981
63029
  * Clones this instance, optionally updating it with the given values.
62982
63030
  * @param values The values to update the clone with.
62983
63031
  * @param options The options to use for cloning.
62984
- * @returns The cloned instance.
63032
+ * @returns The cloned instance with its own property arrays. Nested objects
63033
+ * and URLs are shared with this instance.
62985
63034
  */
62986
63035
  override clone(
62987
63036
  values:
@@ -63333,7 +63382,8 @@ instruments?: (Object | URL)[];}
63333
63382
  * Clones this instance, optionally updating it with the given values.
63334
63383
  * @param values The values to update the clone with.
63335
63384
  * @param options The options to use for cloning.
63336
- * @returns The cloned instance.
63385
+ * @returns The cloned instance with its own property arrays. Nested objects
63386
+ * and URLs are shared with this instance.
63337
63387
  */
63338
63388
  override clone(
63339
63389
  values:
@@ -63677,7 +63727,8 @@ instruments?: (Object | URL)[];}
63677
63727
  * Clones this instance, optionally updating it with the given values.
63678
63728
  * @param values The values to update the clone with.
63679
63729
  * @param options The options to use for cloning.
63680
- * @returns The cloned instance.
63730
+ * @returns The cloned instance with its own property arrays. Nested objects
63731
+ * and URLs are shared with this instance.
63681
63732
  */
63682
63733
  override clone(
63683
63734
  values:
@@ -64017,7 +64068,8 @@ instruments?: (Object | URL)[];}
64017
64068
  * Clones this instance, optionally updating it with the given values.
64018
64069
  * @param values The values to update the clone with.
64019
64070
  * @param options The options to use for cloning.
64020
- * @returns The cloned instance.
64071
+ * @returns The cloned instance with its own property arrays. Nested objects
64072
+ * and URLs are shared with this instance.
64021
64073
  */
64022
64074
  override clone(
64023
64075
  values:
@@ -64357,7 +64409,8 @@ instruments?: (Object | URL)[];}
64357
64409
  * Clones this instance, optionally updating it with the given values.
64358
64410
  * @param values The values to update the clone with.
64359
64411
  * @param options The options to use for cloning.
64360
- * @returns The cloned instance.
64412
+ * @returns The cloned instance with its own property arrays. Nested objects
64413
+ * and URLs are shared with this instance.
64361
64414
  */
64362
64415
  override clone(
64363
64416
  values:
@@ -64697,7 +64750,8 @@ instruments?: (Object | URL)[];}
64697
64750
  * Clones this instance, optionally updating it with the given values.
64698
64751
  * @param values The values to update the clone with.
64699
64752
  * @param options The options to use for cloning.
64700
- * @returns The cloned instance.
64753
+ * @returns The cloned instance with its own property arrays. Nested objects
64754
+ * and URLs are shared with this instance.
64701
64755
  */
64702
64756
  override clone(
64703
64757
  values:
@@ -65035,7 +65089,8 @@ instruments?: (Object | URL)[];}
65035
65089
  * Clones this instance, optionally updating it with the given values.
65036
65090
  * @param values The values to update the clone with.
65037
65091
  * @param options The options to use for cloning.
65038
- * @returns The cloned instance.
65092
+ * @returns The cloned instance with its own property arrays. Nested objects
65093
+ * and URLs are shared with this instance.
65039
65094
  */
65040
65095
  override clone(
65041
65096
  values:
@@ -65353,7 +65408,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
65353
65408
  * Clones this instance, optionally updating it with the given values.
65354
65409
  * @param values The values to update the clone with.
65355
65410
  * @param options The options to use for cloning.
65356
- * @returns The cloned instance.
65411
+ * @returns The cloned instance with its own property arrays. Nested objects
65412
+ * and URLs are shared with this instance.
65357
65413
  */
65358
65414
  override clone(
65359
65415
  values:
@@ -65680,7 +65736,8 @@ instruments?: (Object | URL)[];}
65680
65736
  * Clones this instance, optionally updating it with the given values.
65681
65737
  * @param values The values to update the clone with.
65682
65738
  * @param options The options to use for cloning.
65683
- * @returns The cloned instance.
65739
+ * @returns The cloned instance with its own property arrays. Nested objects
65740
+ * and URLs are shared with this instance.
65684
65741
  */
65685
65742
  override clone(
65686
65743
  values:
@@ -66060,7 +66117,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66060
66117
  * Clones this instance, optionally updating it with the given values.
66061
66118
  * @param values The values to update the clone with.
66062
66119
  * @param options The options to use for cloning.
66063
- * @returns The cloned instance.
66120
+ * @returns The cloned instance with its own property arrays. Nested objects
66121
+ * and URLs are shared with this instance.
66064
66122
  */
66065
66123
  override clone(
66066
66124
  values:
@@ -66098,7 +66156,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66098
66156
  // @ts-ignore: $warning is not recognized as a property, but it is.
66099
66157
  options = { ...options, $warning: this._warning };
66100
66158
  }
66101
- 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);
66159
+ 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);
66102
66160
  if (\\"quote\\" in values && values.quote != null) {
66103
66161
  if (values.quote instanceof Object || values.quote instanceof URL) {
66104
66162
  // @ts-ignore: type is checked above.
@@ -66111,7 +66169,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66111
66169
  );
66112
66170
  }
66113
66171
  }
66114
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
66172
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
66115
66173
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
66116
66174
  if (values.quoteUrl instanceof URL) {
66117
66175
  // @ts-ignore: type is checked above.
@@ -66124,7 +66182,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
66124
66182
  );
66125
66183
  }
66126
66184
  }
66127
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
66185
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
66128
66186
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
66129
66187
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
66130
66188
  // @ts-ignore: type is checked above.
@@ -67225,7 +67283,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67225
67283
  if (Array.isArray(values.items) &&
67226
67284
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
67227
67285
  // @ts-ignore: type is checked above.
67228
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
67286
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
67229
67287
 
67230
67288
  for (let i = 0; i < values.items.length; i++) {
67231
67289
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -67244,7 +67302,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67244
67302
  * Clones this instance, optionally updating it with the given values.
67245
67303
  * @param values The values to update the clone with.
67246
67304
  * @param options The options to use for cloning.
67247
- * @returns The cloned instance.
67305
+ * @returns The cloned instance with its own property arrays. Nested objects
67306
+ * and URLs are shared with this instance.
67248
67307
  */
67249
67308
  override clone(
67250
67309
  values:
@@ -67282,13 +67341,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67282
67341
  // @ts-ignore: $warning is not recognized as a property, but it is.
67283
67342
  options = { ...options, $warning: this._warning };
67284
67343
  }
67285
- 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);
67344
+ 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);
67286
67345
  if (\\"items\\" in values && values.items != null) {
67287
67346
 
67288
67347
  if (Array.isArray(values.items) &&
67289
67348
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
67290
67349
  // @ts-ignore: type is checked above.
67291
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
67350
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
67292
67351
 
67293
67352
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
67294
67353
  for (let i = 0; i < values.items.length; i++) {
@@ -67959,7 +68018,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67959
68018
  if (Array.isArray(values.items) &&
67960
68019
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
67961
68020
  // @ts-ignore: type is checked above.
67962
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
68021
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
67963
68022
 
67964
68023
  for (let i = 0; i < values.items.length; i++) {
67965
68024
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -67991,7 +68050,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
67991
68050
  * Clones this instance, optionally updating it with the given values.
67992
68051
  * @param values The values to update the clone with.
67993
68052
  * @param options The options to use for cloning.
67994
- * @returns The cloned instance.
68053
+ * @returns The cloned instance with its own property arrays. Nested objects
68054
+ * and URLs are shared with this instance.
67995
68055
  */
67996
68056
  override clone(
67997
68057
  values:
@@ -68029,13 +68089,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68029
68089
  // @ts-ignore: $warning is not recognized as a property, but it is.
68030
68090
  options = { ...options, $warning: this._warning };
68031
68091
  }
68032
- 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);
68092
+ 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);
68033
68093
  if (\\"items\\" in values && values.items != null) {
68034
68094
 
68035
68095
  if (Array.isArray(values.items) &&
68036
68096
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
68037
68097
  // @ts-ignore: type is checked above.
68038
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
68098
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
68039
68099
 
68040
68100
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
68041
68101
  for (let i = 0; i < values.items.length; i++) {
@@ -68049,7 +68109,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68049
68109
  );
68050
68110
  }
68051
68111
  }
68052
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
68112
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
68053
68113
  if (\\"startIndex\\" in values && values.startIndex != null) {
68054
68114
  if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
68055
68115
  // @ts-ignore: type is checked above.
@@ -68884,7 +68944,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
68884
68944
  if (Array.isArray(values.preferredUsernames) &&
68885
68945
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
68886
68946
  // @ts-ignore: type is checked above.
68887
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
68947
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
68888
68948
 
68889
68949
  } else {
68890
68950
  throw new TypeError(
@@ -68920,7 +68980,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
68920
68980
  if (Array.isArray(values.publicKeys) &&
68921
68981
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
68922
68982
  // @ts-ignore: type is checked above.
68923
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
68983
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
68924
68984
 
68925
68985
  for (let i = 0; i < values.publicKeys.length; i++) {
68926
68986
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -68960,7 +69020,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
68960
69020
  if (Array.isArray(values.assertionMethods) &&
68961
69021
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
68962
69022
  // @ts-ignore: type is checked above.
68963
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
69023
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
68964
69024
 
68965
69025
  for (let i = 0; i < values.assertionMethods.length; i++) {
68966
69026
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -69083,7 +69143,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69083
69143
  if (Array.isArray(values.streams) &&
69084
69144
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
69085
69145
  // @ts-ignore: type is checked above.
69086
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
69146
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
69087
69147
 
69088
69148
  for (let i = 0; i < values.streams.length; i++) {
69089
69149
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -69201,7 +69261,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69201
69261
  if (Array.isArray(values.aliases) &&
69202
69262
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
69203
69263
  // @ts-ignore: type is checked above.
69204
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
69264
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
69205
69265
 
69206
69266
  for (let i = 0; i < values.aliases.length; i++) {
69207
69267
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -69241,7 +69301,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69241
69301
  if (Array.isArray(values.services) &&
69242
69302
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
69243
69303
  // @ts-ignore: type is checked above.
69244
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
69304
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
69245
69305
 
69246
69306
  for (let i = 0; i < values.services.length; i++) {
69247
69307
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -69286,7 +69346,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69286
69346
  * Clones this instance, optionally updating it with the given values.
69287
69347
  * @param values The values to update the clone with.
69288
69348
  * @param options The options to use for cloning.
69289
- * @returns The cloned instance.
69349
+ * @returns The cloned instance with its own property arrays. Nested objects
69350
+ * and URLs are shared with this instance.
69290
69351
  */
69291
69352
  override clone(
69292
69353
  values:
@@ -69329,7 +69390,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69329
69390
  // @ts-ignore: $warning is not recognized as a property, but it is.
69330
69391
  options = { ...options, $warning: this._warning };
69331
69392
  }
69332
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
69393
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
69333
69394
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
69334
69395
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
69335
69396
  // @ts-ignore: type is checked above.
@@ -69356,7 +69417,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69356
69417
  if (Array.isArray(values.preferredUsernames) &&
69357
69418
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
69358
69419
  // @ts-ignore: type is checked above.
69359
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
69420
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
69360
69421
 
69361
69422
  } else {
69362
69423
  throw new TypeError(
@@ -69365,7 +69426,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69365
69426
  );
69366
69427
  }
69367
69428
  }
69368
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
69429
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
69369
69430
  if (\\"publicKey\\" in values && values.publicKey != null) {
69370
69431
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
69371
69432
  // @ts-ignore: type is checked above.
@@ -69392,7 +69453,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69392
69453
  if (Array.isArray(values.publicKeys) &&
69393
69454
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
69394
69455
  // @ts-ignore: type is checked above.
69395
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
69456
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
69396
69457
 
69397
69458
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
69398
69459
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -69406,7 +69467,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69406
69467
  );
69407
69468
  }
69408
69469
  }
69409
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
69470
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
69410
69471
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
69411
69472
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
69412
69473
  // @ts-ignore: type is checked above.
@@ -69433,7 +69494,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69433
69494
  if (Array.isArray(values.assertionMethods) &&
69434
69495
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
69435
69496
  // @ts-ignore: type is checked above.
69436
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
69497
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
69437
69498
 
69438
69499
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
69439
69500
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -69447,7 +69508,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69447
69508
  );
69448
69509
  }
69449
69510
  }
69450
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
69511
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
69451
69512
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
69452
69513
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
69453
69514
  // @ts-ignore: type is checked above.
@@ -69460,7 +69521,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69460
69521
  );
69461
69522
  }
69462
69523
  }
69463
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
69524
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
69464
69525
  if (\\"inbox\\" in values && values.inbox != null) {
69465
69526
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
69466
69527
  // @ts-ignore: type is checked above.
@@ -69473,7 +69534,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69473
69534
  );
69474
69535
  }
69475
69536
  }
69476
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
69537
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
69477
69538
  if (\\"outbox\\" in values && values.outbox != null) {
69478
69539
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
69479
69540
  // @ts-ignore: type is checked above.
@@ -69486,7 +69547,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69486
69547
  );
69487
69548
  }
69488
69549
  }
69489
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
69550
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
69490
69551
  if (\\"following\\" in values && values.following != null) {
69491
69552
  if (values.following instanceof Collection || values.following instanceof URL) {
69492
69553
  // @ts-ignore: type is checked above.
@@ -69499,7 +69560,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69499
69560
  );
69500
69561
  }
69501
69562
  }
69502
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
69563
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
69503
69564
  if (\\"followers\\" in values && values.followers != null) {
69504
69565
  if (values.followers instanceof Collection || values.followers instanceof URL) {
69505
69566
  // @ts-ignore: type is checked above.
@@ -69512,7 +69573,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69512
69573
  );
69513
69574
  }
69514
69575
  }
69515
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
69576
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
69516
69577
  if (\\"liked\\" in values && values.liked != null) {
69517
69578
  if (values.liked instanceof Collection || values.liked instanceof URL) {
69518
69579
  // @ts-ignore: type is checked above.
@@ -69525,7 +69586,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69525
69586
  );
69526
69587
  }
69527
69588
  }
69528
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
69589
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
69529
69590
  if (\\"featured\\" in values && values.featured != null) {
69530
69591
  if (values.featured instanceof Collection || values.featured instanceof URL) {
69531
69592
  // @ts-ignore: type is checked above.
@@ -69538,7 +69599,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69538
69599
  );
69539
69600
  }
69540
69601
  }
69541
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
69602
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
69542
69603
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
69543
69604
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
69544
69605
  // @ts-ignore: type is checked above.
@@ -69551,13 +69612,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69551
69612
  );
69552
69613
  }
69553
69614
  }
69554
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
69615
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
69555
69616
  if (\\"streams\\" in values && values.streams != null) {
69556
69617
 
69557
69618
  if (Array.isArray(values.streams) &&
69558
69619
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
69559
69620
  // @ts-ignore: type is checked above.
69560
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
69621
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
69561
69622
 
69562
69623
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
69563
69624
  for (let i = 0; i < values.streams.length; i++) {
@@ -69571,7 +69632,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69571
69632
  );
69572
69633
  }
69573
69634
  }
69574
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
69635
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
69575
69636
  if (\\"endpoints\\" in values && values.endpoints != null) {
69576
69637
  if (values.endpoints instanceof Endpoints) {
69577
69638
  // @ts-ignore: type is checked above.
@@ -69584,7 +69645,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69584
69645
  );
69585
69646
  }
69586
69647
  }
69587
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
69648
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
69588
69649
  if (\\"discoverable\\" in values && values.discoverable != null) {
69589
69650
  if (typeof values.discoverable === \\"boolean\\") {
69590
69651
  // @ts-ignore: type is checked above.
@@ -69597,7 +69658,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69597
69658
  );
69598
69659
  }
69599
69660
  }
69600
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
69661
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
69601
69662
  if (\\"suspended\\" in values && values.suspended != null) {
69602
69663
  if (typeof values.suspended === \\"boolean\\") {
69603
69664
  // @ts-ignore: type is checked above.
@@ -69610,7 +69671,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69610
69671
  );
69611
69672
  }
69612
69673
  }
69613
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
69674
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
69614
69675
  if (\\"memorial\\" in values && values.memorial != null) {
69615
69676
  if (typeof values.memorial === \\"boolean\\") {
69616
69677
  // @ts-ignore: type is checked above.
@@ -69623,7 +69684,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69623
69684
  );
69624
69685
  }
69625
69686
  }
69626
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
69687
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
69627
69688
  if (\\"indexable\\" in values && values.indexable != null) {
69628
69689
  if (typeof values.indexable === \\"boolean\\") {
69629
69690
  // @ts-ignore: type is checked above.
@@ -69636,7 +69697,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69636
69697
  );
69637
69698
  }
69638
69699
  }
69639
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
69700
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
69640
69701
  if (\\"successor\\" in values && values.successor != null) {
69641
69702
  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) {
69642
69703
  // @ts-ignore: type is checked above.
@@ -69649,7 +69710,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69649
69710
  );
69650
69711
  }
69651
69712
  }
69652
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
69713
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
69653
69714
  if (\\"alias\\" in values && values.alias != null) {
69654
69715
  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) {
69655
69716
  // @ts-ignore: type is checked above.
@@ -69676,7 +69737,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69676
69737
  if (Array.isArray(values.aliases) &&
69677
69738
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
69678
69739
  // @ts-ignore: type is checked above.
69679
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
69740
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
69680
69741
 
69681
69742
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
69682
69743
  for (let i = 0; i < values.aliases.length; i++) {
@@ -69690,7 +69751,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69690
69751
  );
69691
69752
  }
69692
69753
  }
69693
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
69754
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
69694
69755
  if (\\"service\\" in values && values.service != null) {
69695
69756
  if (values.service instanceof DidService || values.service instanceof URL) {
69696
69757
  // @ts-ignore: type is checked above.
@@ -69717,7 +69778,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69717
69778
  if (Array.isArray(values.services) &&
69718
69779
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
69719
69780
  // @ts-ignore: type is checked above.
69720
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
69781
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
69721
69782
 
69722
69783
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
69723
69784
  for (let i = 0; i < values.services.length; i++) {
@@ -69731,7 +69792,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69731
69792
  );
69732
69793
  }
69733
69794
  }
69734
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
69795
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
69735
69796
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
69736
69797
  if (typeof values.followedMessage === \\"string\\") {
69737
69798
  // @ts-ignore: type is checked above.
@@ -69744,7 +69805,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69744
69805
  );
69745
69806
  }
69746
69807
  }
69747
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
69808
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
69748
69809
  if (\\"cat\\" in values && values.cat != null) {
69749
69810
  if (typeof values.cat === \\"boolean\\") {
69750
69811
  // @ts-ignore: type is checked above.
@@ -75838,7 +75899,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
75838
75899
  * Clones this instance, optionally updating it with the given values.
75839
75900
  * @param values The values to update the clone with.
75840
75901
  * @param options The options to use for cloning.
75841
- * @returns The cloned instance.
75902
+ * @returns The cloned instance with its own property arrays. Nested objects
75903
+ * and URLs are shared with this instance.
75842
75904
  */
75843
75905
  override clone(
75844
75906
  values:
@@ -76255,7 +76317,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76255
76317
  if (Array.isArray(values.preferredUsernames) &&
76256
76318
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
76257
76319
  // @ts-ignore: type is checked above.
76258
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
76320
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
76259
76321
 
76260
76322
  } else {
76261
76323
  throw new TypeError(
@@ -76291,7 +76353,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76291
76353
  if (Array.isArray(values.publicKeys) &&
76292
76354
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
76293
76355
  // @ts-ignore: type is checked above.
76294
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
76356
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
76295
76357
 
76296
76358
  for (let i = 0; i < values.publicKeys.length; i++) {
76297
76359
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -76331,7 +76393,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76331
76393
  if (Array.isArray(values.assertionMethods) &&
76332
76394
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
76333
76395
  // @ts-ignore: type is checked above.
76334
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
76396
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
76335
76397
 
76336
76398
  for (let i = 0; i < values.assertionMethods.length; i++) {
76337
76399
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -76454,7 +76516,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76454
76516
  if (Array.isArray(values.streams) &&
76455
76517
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
76456
76518
  // @ts-ignore: type is checked above.
76457
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
76519
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
76458
76520
 
76459
76521
  for (let i = 0; i < values.streams.length; i++) {
76460
76522
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -76572,7 +76634,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76572
76634
  if (Array.isArray(values.aliases) &&
76573
76635
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
76574
76636
  // @ts-ignore: type is checked above.
76575
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
76637
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
76576
76638
 
76577
76639
  for (let i = 0; i < values.aliases.length; i++) {
76578
76640
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -76612,7 +76674,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76612
76674
  if (Array.isArray(values.services) &&
76613
76675
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
76614
76676
  // @ts-ignore: type is checked above.
76615
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
76677
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
76616
76678
 
76617
76679
  for (let i = 0; i < values.services.length; i++) {
76618
76680
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -76657,7 +76719,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76657
76719
  * Clones this instance, optionally updating it with the given values.
76658
76720
  * @param values The values to update the clone with.
76659
76721
  * @param options The options to use for cloning.
76660
- * @returns The cloned instance.
76722
+ * @returns The cloned instance with its own property arrays. Nested objects
76723
+ * and URLs are shared with this instance.
76661
76724
  */
76662
76725
  override clone(
76663
76726
  values:
@@ -76700,7 +76763,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76700
76763
  // @ts-ignore: $warning is not recognized as a property, but it is.
76701
76764
  options = { ...options, $warning: this._warning };
76702
76765
  }
76703
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
76766
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
76704
76767
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
76705
76768
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
76706
76769
  // @ts-ignore: type is checked above.
@@ -76727,7 +76790,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76727
76790
  if (Array.isArray(values.preferredUsernames) &&
76728
76791
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
76729
76792
  // @ts-ignore: type is checked above.
76730
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
76793
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
76731
76794
 
76732
76795
  } else {
76733
76796
  throw new TypeError(
@@ -76736,7 +76799,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76736
76799
  );
76737
76800
  }
76738
76801
  }
76739
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
76802
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
76740
76803
  if (\\"publicKey\\" in values && values.publicKey != null) {
76741
76804
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
76742
76805
  // @ts-ignore: type is checked above.
@@ -76763,7 +76826,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76763
76826
  if (Array.isArray(values.publicKeys) &&
76764
76827
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
76765
76828
  // @ts-ignore: type is checked above.
76766
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
76829
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
76767
76830
 
76768
76831
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
76769
76832
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -76777,7 +76840,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76777
76840
  );
76778
76841
  }
76779
76842
  }
76780
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
76843
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
76781
76844
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
76782
76845
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
76783
76846
  // @ts-ignore: type is checked above.
@@ -76804,7 +76867,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76804
76867
  if (Array.isArray(values.assertionMethods) &&
76805
76868
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
76806
76869
  // @ts-ignore: type is checked above.
76807
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
76870
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
76808
76871
 
76809
76872
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
76810
76873
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -76818,7 +76881,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76818
76881
  );
76819
76882
  }
76820
76883
  }
76821
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
76884
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
76822
76885
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
76823
76886
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
76824
76887
  // @ts-ignore: type is checked above.
@@ -76831,7 +76894,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76831
76894
  );
76832
76895
  }
76833
76896
  }
76834
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
76897
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
76835
76898
  if (\\"inbox\\" in values && values.inbox != null) {
76836
76899
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
76837
76900
  // @ts-ignore: type is checked above.
@@ -76844,7 +76907,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76844
76907
  );
76845
76908
  }
76846
76909
  }
76847
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
76910
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
76848
76911
  if (\\"outbox\\" in values && values.outbox != null) {
76849
76912
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
76850
76913
  // @ts-ignore: type is checked above.
@@ -76857,7 +76920,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76857
76920
  );
76858
76921
  }
76859
76922
  }
76860
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
76923
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
76861
76924
  if (\\"following\\" in values && values.following != null) {
76862
76925
  if (values.following instanceof Collection || values.following instanceof URL) {
76863
76926
  // @ts-ignore: type is checked above.
@@ -76870,7 +76933,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76870
76933
  );
76871
76934
  }
76872
76935
  }
76873
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
76936
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
76874
76937
  if (\\"followers\\" in values && values.followers != null) {
76875
76938
  if (values.followers instanceof Collection || values.followers instanceof URL) {
76876
76939
  // @ts-ignore: type is checked above.
@@ -76883,7 +76946,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76883
76946
  );
76884
76947
  }
76885
76948
  }
76886
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
76949
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
76887
76950
  if (\\"liked\\" in values && values.liked != null) {
76888
76951
  if (values.liked instanceof Collection || values.liked instanceof URL) {
76889
76952
  // @ts-ignore: type is checked above.
@@ -76896,7 +76959,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76896
76959
  );
76897
76960
  }
76898
76961
  }
76899
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
76962
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
76900
76963
  if (\\"featured\\" in values && values.featured != null) {
76901
76964
  if (values.featured instanceof Collection || values.featured instanceof URL) {
76902
76965
  // @ts-ignore: type is checked above.
@@ -76909,7 +76972,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76909
76972
  );
76910
76973
  }
76911
76974
  }
76912
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
76975
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
76913
76976
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
76914
76977
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
76915
76978
  // @ts-ignore: type is checked above.
@@ -76922,13 +76985,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76922
76985
  );
76923
76986
  }
76924
76987
  }
76925
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
76988
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
76926
76989
  if (\\"streams\\" in values && values.streams != null) {
76927
76990
 
76928
76991
  if (Array.isArray(values.streams) &&
76929
76992
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
76930
76993
  // @ts-ignore: type is checked above.
76931
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
76994
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
76932
76995
 
76933
76996
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
76934
76997
  for (let i = 0; i < values.streams.length; i++) {
@@ -76942,7 +77005,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76942
77005
  );
76943
77006
  }
76944
77007
  }
76945
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
77008
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
76946
77009
  if (\\"endpoints\\" in values && values.endpoints != null) {
76947
77010
  if (values.endpoints instanceof Endpoints) {
76948
77011
  // @ts-ignore: type is checked above.
@@ -76955,7 +77018,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76955
77018
  );
76956
77019
  }
76957
77020
  }
76958
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
77021
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
76959
77022
  if (\\"discoverable\\" in values && values.discoverable != null) {
76960
77023
  if (typeof values.discoverable === \\"boolean\\") {
76961
77024
  // @ts-ignore: type is checked above.
@@ -76968,7 +77031,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76968
77031
  );
76969
77032
  }
76970
77033
  }
76971
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
77034
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
76972
77035
  if (\\"suspended\\" in values && values.suspended != null) {
76973
77036
  if (typeof values.suspended === \\"boolean\\") {
76974
77037
  // @ts-ignore: type is checked above.
@@ -76981,7 +77044,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76981
77044
  );
76982
77045
  }
76983
77046
  }
76984
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
77047
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
76985
77048
  if (\\"memorial\\" in values && values.memorial != null) {
76986
77049
  if (typeof values.memorial === \\"boolean\\") {
76987
77050
  // @ts-ignore: type is checked above.
@@ -76994,7 +77057,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
76994
77057
  );
76995
77058
  }
76996
77059
  }
76997
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
77060
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
76998
77061
  if (\\"indexable\\" in values && values.indexable != null) {
76999
77062
  if (typeof values.indexable === \\"boolean\\") {
77000
77063
  // @ts-ignore: type is checked above.
@@ -77007,7 +77070,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77007
77070
  );
77008
77071
  }
77009
77072
  }
77010
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
77073
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
77011
77074
  if (\\"successor\\" in values && values.successor != null) {
77012
77075
  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) {
77013
77076
  // @ts-ignore: type is checked above.
@@ -77020,7 +77083,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77020
77083
  );
77021
77084
  }
77022
77085
  }
77023
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
77086
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
77024
77087
  if (\\"alias\\" in values && values.alias != null) {
77025
77088
  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) {
77026
77089
  // @ts-ignore: type is checked above.
@@ -77047,7 +77110,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77047
77110
  if (Array.isArray(values.aliases) &&
77048
77111
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
77049
77112
  // @ts-ignore: type is checked above.
77050
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
77113
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
77051
77114
 
77052
77115
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
77053
77116
  for (let i = 0; i < values.aliases.length; i++) {
@@ -77061,7 +77124,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77061
77124
  );
77062
77125
  }
77063
77126
  }
77064
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
77127
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
77065
77128
  if (\\"service\\" in values && values.service != null) {
77066
77129
  if (values.service instanceof DidService || values.service instanceof URL) {
77067
77130
  // @ts-ignore: type is checked above.
@@ -77088,7 +77151,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77088
77151
  if (Array.isArray(values.services) &&
77089
77152
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
77090
77153
  // @ts-ignore: type is checked above.
77091
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
77154
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
77092
77155
 
77093
77156
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
77094
77157
  for (let i = 0; i < values.services.length; i++) {
@@ -77102,7 +77165,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77102
77165
  );
77103
77166
  }
77104
77167
  }
77105
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
77168
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
77106
77169
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
77107
77170
  if (typeof values.followedMessage === \\"string\\") {
77108
77171
  // @ts-ignore: type is checked above.
@@ -77115,7 +77178,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
77115
77178
  );
77116
77179
  }
77117
77180
  }
77118
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
77181
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
77119
77182
  if (\\"cat\\" in values && values.cat != null) {
77120
77183
  if (typeof values.cat === \\"boolean\\") {
77121
77184
  // @ts-ignore: type is checked above.
@@ -83296,7 +83359,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83296
83359
  * Clones this instance, optionally updating it with the given values.
83297
83360
  * @param values The values to update the clone with.
83298
83361
  * @param options The options to use for cloning.
83299
- * @returns The cloned instance.
83362
+ * @returns The cloned instance with its own property arrays. Nested objects
83363
+ * and URLs are shared with this instance.
83300
83364
  */
83301
83365
  override clone(
83302
83366
  values:
@@ -83334,7 +83398,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83334
83398
  // @ts-ignore: $warning is not recognized as a property, but it is.
83335
83399
  options = { ...options, $warning: this._warning };
83336
83400
  }
83337
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
83401
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
83338
83402
  if (\\"accuracy\\" in values && values.accuracy != null) {
83339
83403
  if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
83340
83404
  // @ts-ignore: type is checked above.
@@ -83347,7 +83411,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83347
83411
  );
83348
83412
  }
83349
83413
  }
83350
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
83414
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
83351
83415
  if (\\"altitude\\" in values && values.altitude != null) {
83352
83416
  if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
83353
83417
  // @ts-ignore: type is checked above.
@@ -83360,7 +83424,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83360
83424
  );
83361
83425
  }
83362
83426
  }
83363
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
83427
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
83364
83428
  if (\\"latitude\\" in values && values.latitude != null) {
83365
83429
  if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
83366
83430
  // @ts-ignore: type is checked above.
@@ -83373,7 +83437,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83373
83437
  );
83374
83438
  }
83375
83439
  }
83376
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
83440
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
83377
83441
  if (\\"longitude\\" in values && values.longitude != null) {
83378
83442
  if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
83379
83443
  // @ts-ignore: type is checked above.
@@ -83386,7 +83450,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83386
83450
  );
83387
83451
  }
83388
83452
  }
83389
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
83453
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
83390
83454
  if (\\"radius\\" in values && values.radius != null) {
83391
83455
  if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
83392
83456
  // @ts-ignore: type is checked above.
@@ -83399,7 +83463,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
83399
83463
  );
83400
83464
  }
83401
83465
  }
83402
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
83466
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
83403
83467
  if (\\"units\\" in values && values.units != null) {
83404
83468
  if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
83405
83469
  // @ts-ignore: type is checked above.
@@ -84341,7 +84405,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
84341
84405
  * Clones this instance, optionally updating it with the given values.
84342
84406
  * @param values The values to update the clone with.
84343
84407
  * @param options The options to use for cloning.
84344
- * @returns The cloned instance.
84408
+ * @returns The cloned instance with its own property arrays. Nested objects
84409
+ * and URLs are shared with this instance.
84345
84410
  */
84346
84411
  override clone(
84347
84412
  values:
@@ -84379,7 +84444,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
84379
84444
  // @ts-ignore: $warning is not recognized as a property, but it is.
84380
84445
  options = { ...options, $warning: this._warning };
84381
84446
  }
84382
- 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);
84447
+ 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);
84383
84448
  if (\\"describes\\" in values && values.describes != null) {
84384
84449
  if (values.describes instanceof Object || values.describes instanceof URL) {
84385
84450
  // @ts-ignore: type is checked above.
@@ -85050,7 +85115,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85050
85115
  if (Array.isArray(values.exclusiveOptions) &&
85051
85116
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85052
85117
  // @ts-ignore: type is checked above.
85053
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
85118
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
85054
85119
 
85055
85120
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
85056
85121
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -85069,7 +85134,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85069
85134
  if (Array.isArray(values.inclusiveOptions) &&
85070
85135
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85071
85136
  // @ts-ignore: type is checked above.
85072
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
85137
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
85073
85138
 
85074
85139
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
85075
85140
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -85153,7 +85218,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85153
85218
  * Clones this instance, optionally updating it with the given values.
85154
85219
  * @param values The values to update the clone with.
85155
85220
  * @param options The options to use for cloning.
85156
- * @returns The cloned instance.
85221
+ * @returns The cloned instance with its own property arrays. Nested objects
85222
+ * and URLs are shared with this instance.
85157
85223
  */
85158
85224
  override clone(
85159
85225
  values:
@@ -85197,13 +85263,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85197
85263
  // @ts-ignore: $warning is not recognized as a property, but it is.
85198
85264
  options = { ...options, $warning: this._warning };
85199
85265
  }
85200
- 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);
85266
+ 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);
85201
85267
  if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
85202
85268
 
85203
85269
  if (Array.isArray(values.exclusiveOptions) &&
85204
85270
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85205
85271
  // @ts-ignore: type is checked above.
85206
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
85272
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
85207
85273
 
85208
85274
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
85209
85275
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -85217,13 +85283,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85217
85283
  );
85218
85284
  }
85219
85285
  }
85220
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
85286
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
85221
85287
  if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
85222
85288
 
85223
85289
  if (Array.isArray(values.inclusiveOptions) &&
85224
85290
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
85225
85291
  // @ts-ignore: type is checked above.
85226
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
85292
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
85227
85293
 
85228
85294
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
85229
85295
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -85237,7 +85303,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85237
85303
  );
85238
85304
  }
85239
85305
  }
85240
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
85306
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
85241
85307
  if (\\"closed\\" in values && values.closed != null) {
85242
85308
  if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
85243
85309
  // @ts-ignore: type is checked above.
@@ -85250,7 +85316,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85250
85316
  );
85251
85317
  }
85252
85318
  }
85253
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
85319
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
85254
85320
  if (\\"voters\\" in values && values.voters != null) {
85255
85321
  if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
85256
85322
  // @ts-ignore: type is checked above.
@@ -85263,7 +85329,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85263
85329
  );
85264
85330
  }
85265
85331
  }
85266
- clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
85332
+ clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
85267
85333
  if (\\"quote\\" in values && values.quote != null) {
85268
85334
  if (values.quote instanceof Object || values.quote instanceof URL) {
85269
85335
  // @ts-ignore: type is checked above.
@@ -85276,7 +85342,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85276
85342
  );
85277
85343
  }
85278
85344
  }
85279
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
85345
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
85280
85346
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
85281
85347
  if (values.quoteUrl instanceof URL) {
85282
85348
  // @ts-ignore: type is checked above.
@@ -85289,7 +85355,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
85289
85355
  );
85290
85356
  }
85291
85357
  }
85292
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
85358
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
85293
85359
  if (\\"quoteAuthorization\\" in values && values.quoteAuthorization != null) {
85294
85360
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
85295
85361
  // @ts-ignore: type is checked above.
@@ -87101,7 +87167,8 @@ instruments?: (Object | URL)[];}
87101
87167
  * Clones this instance, optionally updating it with the given values.
87102
87168
  * @param values The values to update the clone with.
87103
87169
  * @param options The options to use for cloning.
87104
- * @returns The cloned instance.
87170
+ * @returns The cloned instance with its own property arrays. Nested objects
87171
+ * and URLs are shared with this instance.
87105
87172
  */
87106
87173
  override clone(
87107
87174
  values:
@@ -87441,7 +87508,8 @@ instruments?: (Object | URL)[];}
87441
87508
  * Clones this instance, optionally updating it with the given values.
87442
87509
  * @param values The values to update the clone with.
87443
87510
  * @param options The options to use for cloning.
87444
- * @returns The cloned instance.
87511
+ * @returns The cloned instance with its own property arrays. Nested objects
87512
+ * and URLs are shared with this instance.
87445
87513
  */
87446
87514
  override clone(
87447
87515
  values:
@@ -87829,7 +87897,7 @@ relationships?: (Object | URL)[];}
87829
87897
  if (Array.isArray(values.objects) &&
87830
87898
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
87831
87899
  // @ts-ignore: type is checked above.
87832
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
87900
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
87833
87901
 
87834
87902
  for (let i = 0; i < values.objects.length; i++) {
87835
87903
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -87869,7 +87937,7 @@ relationships?: (Object | URL)[];}
87869
87937
  if (Array.isArray(values.relationships) &&
87870
87938
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
87871
87939
  // @ts-ignore: type is checked above.
87872
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
87940
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
87873
87941
 
87874
87942
  for (let i = 0; i < values.relationships.length; i++) {
87875
87943
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -87888,7 +87956,8 @@ relationships?: (Object | URL)[];}
87888
87956
  * Clones this instance, optionally updating it with the given values.
87889
87957
  * @param values The values to update the clone with.
87890
87958
  * @param options The options to use for cloning.
87891
- * @returns The cloned instance.
87959
+ * @returns The cloned instance with its own property arrays. Nested objects
87960
+ * and URLs are shared with this instance.
87892
87961
  */
87893
87962
  override clone(
87894
87963
  values:
@@ -87928,7 +87997,7 @@ relationships?: (Object | URL)[];}
87928
87997
  // @ts-ignore: $warning is not recognized as a property, but it is.
87929
87998
  options = { ...options, $warning: this._warning };
87930
87999
  }
87931
- 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);
88000
+ 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);
87932
88001
  if (\\"subject\\" in values && values.subject != null) {
87933
88002
  if (values.subject instanceof Object || values.subject instanceof URL) {
87934
88003
  // @ts-ignore: type is checked above.
@@ -87941,7 +88010,7 @@ relationships?: (Object | URL)[];}
87941
88010
  );
87942
88011
  }
87943
88012
  }
87944
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
88013
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
87945
88014
  if (\\"object\\" in values && values.object != null) {
87946
88015
  if (values.object instanceof Object || values.object instanceof URL) {
87947
88016
  // @ts-ignore: type is checked above.
@@ -87968,7 +88037,7 @@ relationships?: (Object | URL)[];}
87968
88037
  if (Array.isArray(values.objects) &&
87969
88038
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
87970
88039
  // @ts-ignore: type is checked above.
87971
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
88040
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
87972
88041
 
87973
88042
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
87974
88043
  for (let i = 0; i < values.objects.length; i++) {
@@ -87982,7 +88051,7 @@ relationships?: (Object | URL)[];}
87982
88051
  );
87983
88052
  }
87984
88053
  }
87985
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
88054
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
87986
88055
  if (\\"relationship\\" in values && values.relationship != null) {
87987
88056
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
87988
88057
  // @ts-ignore: type is checked above.
@@ -88009,7 +88078,7 @@ relationships?: (Object | URL)[];}
88009
88078
  if (Array.isArray(values.relationships) &&
88010
88079
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
88011
88080
  // @ts-ignore: type is checked above.
88012
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
88081
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
88013
88082
 
88014
88083
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
88015
88084
  for (let i = 0; i < values.relationships.length; i++) {
@@ -89532,7 +89601,8 @@ instruments?: (Object | URL)[];}
89532
89601
  * Clones this instance, optionally updating it with the given values.
89533
89602
  * @param values The values to update the clone with.
89534
89603
  * @param options The options to use for cloning.
89535
- * @returns The cloned instance.
89604
+ * @returns The cloned instance with its own property arrays. Nested objects
89605
+ * and URLs are shared with this instance.
89536
89606
  */
89537
89607
  override clone(
89538
89608
  values:
@@ -89938,7 +90008,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
89938
90008
  if (Array.isArray(values.preferredUsernames) &&
89939
90009
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
89940
90010
  // @ts-ignore: type is checked above.
89941
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
90011
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
89942
90012
 
89943
90013
  } else {
89944
90014
  throw new TypeError(
@@ -89974,7 +90044,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
89974
90044
  if (Array.isArray(values.publicKeys) &&
89975
90045
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
89976
90046
  // @ts-ignore: type is checked above.
89977
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
90047
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
89978
90048
 
89979
90049
  for (let i = 0; i < values.publicKeys.length; i++) {
89980
90050
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -90014,7 +90084,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90014
90084
  if (Array.isArray(values.assertionMethods) &&
90015
90085
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
90016
90086
  // @ts-ignore: type is checked above.
90017
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
90087
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
90018
90088
 
90019
90089
  for (let i = 0; i < values.assertionMethods.length; i++) {
90020
90090
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -90137,7 +90207,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90137
90207
  if (Array.isArray(values.streams) &&
90138
90208
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
90139
90209
  // @ts-ignore: type is checked above.
90140
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
90210
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
90141
90211
 
90142
90212
  for (let i = 0; i < values.streams.length; i++) {
90143
90213
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -90255,7 +90325,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90255
90325
  if (Array.isArray(values.aliases) &&
90256
90326
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
90257
90327
  // @ts-ignore: type is checked above.
90258
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
90328
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
90259
90329
 
90260
90330
  for (let i = 0; i < values.aliases.length; i++) {
90261
90331
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -90295,7 +90365,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90295
90365
  if (Array.isArray(values.services) &&
90296
90366
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
90297
90367
  // @ts-ignore: type is checked above.
90298
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
90368
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
90299
90369
 
90300
90370
  for (let i = 0; i < values.services.length; i++) {
90301
90371
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -90340,7 +90410,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90340
90410
  * Clones this instance, optionally updating it with the given values.
90341
90411
  * @param values The values to update the clone with.
90342
90412
  * @param options The options to use for cloning.
90343
- * @returns The cloned instance.
90413
+ * @returns The cloned instance with its own property arrays. Nested objects
90414
+ * and URLs are shared with this instance.
90344
90415
  */
90345
90416
  override clone(
90346
90417
  values:
@@ -90383,7 +90454,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90383
90454
  // @ts-ignore: $warning is not recognized as a property, but it is.
90384
90455
  options = { ...options, $warning: this._warning };
90385
90456
  }
90386
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
90457
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
90387
90458
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
90388
90459
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
90389
90460
  // @ts-ignore: type is checked above.
@@ -90410,7 +90481,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90410
90481
  if (Array.isArray(values.preferredUsernames) &&
90411
90482
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
90412
90483
  // @ts-ignore: type is checked above.
90413
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
90484
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
90414
90485
 
90415
90486
  } else {
90416
90487
  throw new TypeError(
@@ -90419,7 +90490,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90419
90490
  );
90420
90491
  }
90421
90492
  }
90422
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
90493
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
90423
90494
  if (\\"publicKey\\" in values && values.publicKey != null) {
90424
90495
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
90425
90496
  // @ts-ignore: type is checked above.
@@ -90446,7 +90517,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90446
90517
  if (Array.isArray(values.publicKeys) &&
90447
90518
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
90448
90519
  // @ts-ignore: type is checked above.
90449
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
90520
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
90450
90521
 
90451
90522
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
90452
90523
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -90460,7 +90531,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90460
90531
  );
90461
90532
  }
90462
90533
  }
90463
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
90534
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
90464
90535
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
90465
90536
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
90466
90537
  // @ts-ignore: type is checked above.
@@ -90487,7 +90558,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90487
90558
  if (Array.isArray(values.assertionMethods) &&
90488
90559
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
90489
90560
  // @ts-ignore: type is checked above.
90490
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
90561
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
90491
90562
 
90492
90563
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
90493
90564
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -90501,7 +90572,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90501
90572
  );
90502
90573
  }
90503
90574
  }
90504
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
90575
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
90505
90576
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
90506
90577
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
90507
90578
  // @ts-ignore: type is checked above.
@@ -90514,7 +90585,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90514
90585
  );
90515
90586
  }
90516
90587
  }
90517
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
90588
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
90518
90589
  if (\\"inbox\\" in values && values.inbox != null) {
90519
90590
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
90520
90591
  // @ts-ignore: type is checked above.
@@ -90527,7 +90598,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90527
90598
  );
90528
90599
  }
90529
90600
  }
90530
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
90601
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
90531
90602
  if (\\"outbox\\" in values && values.outbox != null) {
90532
90603
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
90533
90604
  // @ts-ignore: type is checked above.
@@ -90540,7 +90611,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90540
90611
  );
90541
90612
  }
90542
90613
  }
90543
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
90614
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
90544
90615
  if (\\"following\\" in values && values.following != null) {
90545
90616
  if (values.following instanceof Collection || values.following instanceof URL) {
90546
90617
  // @ts-ignore: type is checked above.
@@ -90553,7 +90624,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90553
90624
  );
90554
90625
  }
90555
90626
  }
90556
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
90627
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
90557
90628
  if (\\"followers\\" in values && values.followers != null) {
90558
90629
  if (values.followers instanceof Collection || values.followers instanceof URL) {
90559
90630
  // @ts-ignore: type is checked above.
@@ -90566,7 +90637,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90566
90637
  );
90567
90638
  }
90568
90639
  }
90569
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
90640
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
90570
90641
  if (\\"liked\\" in values && values.liked != null) {
90571
90642
  if (values.liked instanceof Collection || values.liked instanceof URL) {
90572
90643
  // @ts-ignore: type is checked above.
@@ -90579,7 +90650,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90579
90650
  );
90580
90651
  }
90581
90652
  }
90582
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
90653
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
90583
90654
  if (\\"featured\\" in values && values.featured != null) {
90584
90655
  if (values.featured instanceof Collection || values.featured instanceof URL) {
90585
90656
  // @ts-ignore: type is checked above.
@@ -90592,7 +90663,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90592
90663
  );
90593
90664
  }
90594
90665
  }
90595
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
90666
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
90596
90667
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
90597
90668
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
90598
90669
  // @ts-ignore: type is checked above.
@@ -90605,13 +90676,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90605
90676
  );
90606
90677
  }
90607
90678
  }
90608
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
90679
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
90609
90680
  if (\\"streams\\" in values && values.streams != null) {
90610
90681
 
90611
90682
  if (Array.isArray(values.streams) &&
90612
90683
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
90613
90684
  // @ts-ignore: type is checked above.
90614
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
90685
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
90615
90686
 
90616
90687
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
90617
90688
  for (let i = 0; i < values.streams.length; i++) {
@@ -90625,7 +90696,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90625
90696
  );
90626
90697
  }
90627
90698
  }
90628
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
90699
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
90629
90700
  if (\\"endpoints\\" in values && values.endpoints != null) {
90630
90701
  if (values.endpoints instanceof Endpoints) {
90631
90702
  // @ts-ignore: type is checked above.
@@ -90638,7 +90709,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90638
90709
  );
90639
90710
  }
90640
90711
  }
90641
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
90712
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
90642
90713
  if (\\"discoverable\\" in values && values.discoverable != null) {
90643
90714
  if (typeof values.discoverable === \\"boolean\\") {
90644
90715
  // @ts-ignore: type is checked above.
@@ -90651,7 +90722,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90651
90722
  );
90652
90723
  }
90653
90724
  }
90654
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
90725
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
90655
90726
  if (\\"suspended\\" in values && values.suspended != null) {
90656
90727
  if (typeof values.suspended === \\"boolean\\") {
90657
90728
  // @ts-ignore: type is checked above.
@@ -90664,7 +90735,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90664
90735
  );
90665
90736
  }
90666
90737
  }
90667
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
90738
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
90668
90739
  if (\\"memorial\\" in values && values.memorial != null) {
90669
90740
  if (typeof values.memorial === \\"boolean\\") {
90670
90741
  // @ts-ignore: type is checked above.
@@ -90677,7 +90748,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90677
90748
  );
90678
90749
  }
90679
90750
  }
90680
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
90751
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
90681
90752
  if (\\"indexable\\" in values && values.indexable != null) {
90682
90753
  if (typeof values.indexable === \\"boolean\\") {
90683
90754
  // @ts-ignore: type is checked above.
@@ -90690,7 +90761,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90690
90761
  );
90691
90762
  }
90692
90763
  }
90693
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
90764
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
90694
90765
  if (\\"successor\\" in values && values.successor != null) {
90695
90766
  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) {
90696
90767
  // @ts-ignore: type is checked above.
@@ -90703,7 +90774,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90703
90774
  );
90704
90775
  }
90705
90776
  }
90706
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
90777
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
90707
90778
  if (\\"alias\\" in values && values.alias != null) {
90708
90779
  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) {
90709
90780
  // @ts-ignore: type is checked above.
@@ -90730,7 +90801,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90730
90801
  if (Array.isArray(values.aliases) &&
90731
90802
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
90732
90803
  // @ts-ignore: type is checked above.
90733
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
90804
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
90734
90805
 
90735
90806
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
90736
90807
  for (let i = 0; i < values.aliases.length; i++) {
@@ -90744,7 +90815,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90744
90815
  );
90745
90816
  }
90746
90817
  }
90747
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
90818
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
90748
90819
  if (\\"service\\" in values && values.service != null) {
90749
90820
  if (values.service instanceof DidService || values.service instanceof URL) {
90750
90821
  // @ts-ignore: type is checked above.
@@ -90771,7 +90842,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90771
90842
  if (Array.isArray(values.services) &&
90772
90843
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
90773
90844
  // @ts-ignore: type is checked above.
90774
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
90845
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
90775
90846
 
90776
90847
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
90777
90848
  for (let i = 0; i < values.services.length; i++) {
@@ -90785,7 +90856,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90785
90856
  );
90786
90857
  }
90787
90858
  }
90788
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
90859
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
90789
90860
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
90790
90861
  if (typeof values.followedMessage === \\"string\\") {
90791
90862
  // @ts-ignore: type is checked above.
@@ -90798,7 +90869,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
90798
90869
  );
90799
90870
  }
90800
90871
  }
90801
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
90872
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
90802
90873
  if (\\"cat\\" in values && values.cat != null) {
90803
90874
  if (typeof values.cat === \\"boolean\\") {
90804
90875
  // @ts-ignore: type is checked above.
@@ -96970,7 +97041,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
96970
97041
  if (Array.isArray(values.contents) &&
96971
97042
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
96972
97043
  // @ts-ignore: type is checked above.
96973
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
97044
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
96974
97045
 
96975
97046
  } else {
96976
97047
  throw new TypeError(
@@ -96998,7 +97069,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
96998
97069
  * Clones this instance, optionally updating it with the given values.
96999
97070
  * @param values The values to update the clone with.
97000
97071
  * @param options The options to use for cloning.
97001
- * @returns The cloned instance.
97072
+ * @returns The cloned instance with its own property arrays. Nested objects
97073
+ * and URLs are shared with this instance.
97002
97074
  */
97003
97075
  clone(
97004
97076
  values:
@@ -97027,7 +97099,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97027
97099
  { id: values.id ?? this.id },
97028
97100
  options
97029
97101
  );
97030
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
97102
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
97031
97103
  if (\\"content\\" in values && values.content != null) {
97032
97104
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
97033
97105
  // @ts-ignore: type is checked above.
@@ -97054,7 +97126,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97054
97126
  if (Array.isArray(values.contents) &&
97055
97127
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
97056
97128
  // @ts-ignore: type is checked above.
97057
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
97129
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
97058
97130
 
97059
97131
  } else {
97060
97132
  throw new TypeError(
@@ -97063,7 +97135,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
97063
97135
  );
97064
97136
  }
97065
97137
  }
97066
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
97138
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
97067
97139
  if (\\"mediaType\\" in values && values.mediaType != null) {
97068
97140
  if (typeof values.mediaType === \\"string\\") {
97069
97141
  // @ts-ignore: type is checked above.
@@ -97585,7 +97657,8 @@ instruments?: (Object | URL)[];}
97585
97657
  * Clones this instance, optionally updating it with the given values.
97586
97658
  * @param values The values to update the clone with.
97587
97659
  * @param options The options to use for cloning.
97588
- * @returns The cloned instance.
97660
+ * @returns The cloned instance with its own property arrays. Nested objects
97661
+ * and URLs are shared with this instance.
97589
97662
  */
97590
97663
  override clone(
97591
97664
  values:
@@ -97925,7 +97998,8 @@ instruments?: (Object | URL)[];}
97925
97998
  * Clones this instance, optionally updating it with the given values.
97926
97999
  * @param values The values to update the clone with.
97927
98000
  * @param options The options to use for cloning.
97928
- * @returns The cloned instance.
98001
+ * @returns The cloned instance with its own property arrays. Nested objects
98002
+ * and URLs are shared with this instance.
97929
98003
  */
97930
98004
  override clone(
97931
98005
  values:
@@ -98284,7 +98358,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
98284
98358
  if (Array.isArray(values.formerTypes) &&
98285
98359
  values.formerTypes.every(v => isEntityType(v))) {
98286
98360
  // @ts-ignore: type is checked above.
98287
- this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
98361
+ this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
98288
98362
 
98289
98363
  } else {
98290
98364
  throw new TypeError(
@@ -98312,7 +98386,8 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
98312
98386
  * Clones this instance, optionally updating it with the given values.
98313
98387
  * @param values The values to update the clone with.
98314
98388
  * @param options The options to use for cloning.
98315
- * @returns The cloned instance.
98389
+ * @returns The cloned instance with its own property arrays. Nested objects
98390
+ * and URLs are shared with this instance.
98316
98391
  */
98317
98392
  override clone(
98318
98393
  values:
@@ -98351,7 +98426,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
98351
98426
  // @ts-ignore: $warning is not recognized as a property, but it is.
98352
98427
  options = { ...options, $warning: this._warning };
98353
98428
  }
98354
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType;
98429
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType.slice();
98355
98430
  if (\\"formerType\\" in values && values.formerType != null) {
98356
98431
  if (isEntityType(values.formerType)) {
98357
98432
  // @ts-ignore: type is checked above.
@@ -98378,7 +98453,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
98378
98453
  if (Array.isArray(values.formerTypes) &&
98379
98454
  values.formerTypes.every(v => isEntityType(v))) {
98380
98455
  // @ts-ignore: type is checked above.
98381
- clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
98456
+ clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
98382
98457
 
98383
98458
  } else {
98384
98459
  throw new TypeError(
@@ -98387,7 +98462,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
98387
98462
  );
98388
98463
  }
98389
98464
  }
98390
- clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
98465
+ clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
98391
98466
  if (\\"deleted\\" in values && values.deleted != null) {
98392
98467
  if (isTemporalInstant(values.deleted)) {
98393
98468
  // @ts-ignore: type is checked above.
@@ -98944,7 +99019,8 @@ instruments?: (Object | URL)[];}
98944
99019
  * Clones this instance, optionally updating it with the given values.
98945
99020
  * @param values The values to update the clone with.
98946
99021
  * @param options The options to use for cloning.
98947
- * @returns The cloned instance.
99022
+ * @returns The cloned instance with its own property arrays. Nested objects
99023
+ * and URLs are shared with this instance.
98948
99024
  */
98949
99025
  override clone(
98950
99026
  values:
@@ -99289,7 +99365,8 @@ instruments?: (Object | URL)[];}
99289
99365
  * Clones this instance, optionally updating it with the given values.
99290
99366
  * @param values The values to update the clone with.
99291
99367
  * @param options The options to use for cloning.
99292
- * @returns The cloned instance.
99368
+ * @returns The cloned instance with its own property arrays. Nested objects
99369
+ * and URLs are shared with this instance.
99293
99370
  */
99294
99371
  override clone(
99295
99372
  values:
@@ -99632,7 +99709,8 @@ instruments?: (Object | URL)[];}
99632
99709
  * Clones this instance, optionally updating it with the given values.
99633
99710
  * @param values The values to update the clone with.
99634
99711
  * @param options The options to use for cloning.
99635
- * @returns The cloned instance.
99712
+ * @returns The cloned instance with its own property arrays. Nested objects
99713
+ * and URLs are shared with this instance.
99636
99714
  */
99637
99715
  override clone(
99638
99716
  values:
@@ -99964,7 +100042,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
99964
100042
  * Clones this instance, optionally updating it with the given values.
99965
100043
  * @param values The values to update the clone with.
99966
100044
  * @param options The options to use for cloning.
99967
- * @returns The cloned instance.
100045
+ * @returns The cloned instance with its own property arrays. Nested objects
100046
+ * and URLs are shared with this instance.
99968
100047
  */
99969
100048
  override clone(
99970
100049
  values:
@@ -100314,7 +100393,8 @@ instruments?: (Object | URL)[];}
100314
100393
  * Clones this instance, optionally updating it with the given values.
100315
100394
  * @param values The values to update the clone with.
100316
100395
  * @param options The options to use for cloning.
100317
- * @returns The cloned instance.
100396
+ * @returns The cloned instance with its own property arrays. Nested objects
100397
+ * and URLs are shared with this instance.
100318
100398
  */
100319
100399
  override clone(
100320
100400
  values: