@fedify/vocab-tools 2.3.11-dev.2296 → 2.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,7 @@ import {
19
19
  importPem,
20
20
  isDecimal,
21
21
  LanguageString,
22
+ normalizeLanguageTag,
22
23
  parseDecimal,
23
24
  type RemoteDocument
24
25
  } from "@fedify/vocab-runtime";
@@ -39,7 +40,7 @@ function decodeIri(iri: string): URL {
39
40
 
40
41
  function isValidLanguageTag(language: string): boolean {
41
42
  try {
42
- new Intl.Locale(language);
43
+ new Intl.Locale(normalizeLanguageTag(language));
43
44
  return true;
44
45
  } catch (error) {
45
46
  if (error instanceof RangeError) return false;
@@ -265,7 +266,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
265
266
  if (Array.isArray(values.attachments) &&
266
267
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
267
268
  // @ts-ignore: type is checked above.
268
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
269
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
269
270
 
270
271
  for (let i = 0; i < values.attachments.length; i++) {
271
272
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -305,7 +306,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
305
306
  if (Array.isArray(values.attributions) &&
306
307
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
307
308
  // @ts-ignore: type is checked above.
308
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
309
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
309
310
 
310
311
  for (let i = 0; i < values.attributions.length; i++) {
311
312
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -345,7 +346,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
345
346
  if (Array.isArray(values.audiences) &&
346
347
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
347
348
  // @ts-ignore: type is checked above.
348
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
349
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
349
350
 
350
351
  for (let i = 0; i < values.audiences.length; i++) {
351
352
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -385,7 +386,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
385
386
  if (Array.isArray(values.contents) &&
386
387
  values.contents.every(v => typeof v === "string" || v instanceof LanguageString)) {
387
388
  // @ts-ignore: type is checked above.
388
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
389
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
389
390
 
390
391
  } else {
391
392
  throw new TypeError(
@@ -400,7 +401,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
400
401
  if (Array.isArray(values.contexts) &&
401
402
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
402
403
  // @ts-ignore: type is checked above.
403
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
404
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
404
405
 
405
406
  for (let i = 0; i < values.contexts.length; i++) {
406
407
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -440,7 +441,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
440
441
  if (Array.isArray(values.names) &&
441
442
  values.names.every(v => typeof v === "string" || v instanceof LanguageString)) {
442
443
  // @ts-ignore: type is checked above.
443
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
444
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
444
445
 
445
446
  } else {
446
447
  throw new TypeError(
@@ -468,7 +469,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
468
469
  if (Array.isArray(values.generators) &&
469
470
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
470
471
  // @ts-ignore: type is checked above.
471
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
472
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
472
473
 
473
474
  for (let i = 0; i < values.generators.length; i++) {
474
475
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -508,7 +509,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
508
509
  if (Array.isArray(values.icons) &&
509
510
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
510
511
  // @ts-ignore: type is checked above.
511
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
512
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
512
513
 
513
514
  for (let i = 0; i < values.icons.length; i++) {
514
515
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -548,7 +549,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
548
549
  if (Array.isArray(values.images) &&
549
550
  values.images.every(v => v instanceof Image || v instanceof URL)) {
550
551
  // @ts-ignore: type is checked above.
551
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
552
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
552
553
 
553
554
  for (let i = 0; i < values.images.length; i++) {
554
555
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -588,7 +589,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
588
589
  if (Array.isArray(values.replyTargets) &&
589
590
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
590
591
  // @ts-ignore: type is checked above.
591
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
592
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
592
593
 
593
594
  for (let i = 0; i < values.replyTargets.length; i++) {
594
595
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -628,7 +629,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
628
629
  if (Array.isArray(values.locations) &&
629
630
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
630
631
  // @ts-ignore: type is checked above.
631
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
632
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
632
633
 
633
634
  for (let i = 0; i < values.locations.length; i++) {
634
635
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -668,7 +669,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
668
669
  if (Array.isArray(values.previews) &&
669
670
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
670
671
  // @ts-ignore: type is checked above.
671
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
672
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
672
673
 
673
674
  for (let i = 0; i < values.previews.length; i++) {
674
675
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -786,7 +787,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
786
787
  if (Array.isArray(values.summaries) &&
787
788
  values.summaries.every(v => typeof v === "string" || v instanceof LanguageString)) {
788
789
  // @ts-ignore: type is checked above.
789
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
790
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
790
791
 
791
792
  } else {
792
793
  throw new TypeError(
@@ -801,7 +802,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
801
802
  if (Array.isArray(values.tags) &&
802
803
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
803
804
  // @ts-ignore: type is checked above.
804
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
805
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
805
806
 
806
807
  for (let i = 0; i < values.tags.length; i++) {
807
808
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -854,7 +855,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
854
855
  if (Array.isArray(values.urls) &&
855
856
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
856
857
  // @ts-ignore: type is checked above.
857
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
858
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
858
859
 
859
860
  } else {
860
861
  throw new TypeError(
@@ -890,7 +891,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
890
891
  if (Array.isArray(values.tos) &&
891
892
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
892
893
  // @ts-ignore: type is checked above.
893
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
894
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
894
895
 
895
896
  for (let i = 0; i < values.tos.length; i++) {
896
897
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -930,7 +931,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
930
931
  if (Array.isArray(values.btos) &&
931
932
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
932
933
  // @ts-ignore: type is checked above.
933
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
934
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
934
935
 
935
936
  for (let i = 0; i < values.btos.length; i++) {
936
937
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -970,7 +971,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
970
971
  if (Array.isArray(values.ccs) &&
971
972
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
972
973
  // @ts-ignore: type is checked above.
973
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
974
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
974
975
 
975
976
  for (let i = 0; i < values.ccs.length; i++) {
976
977
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -1010,7 +1011,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1010
1011
  if (Array.isArray(values.bccs) &&
1011
1012
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1012
1013
  // @ts-ignore: type is checked above.
1013
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1014
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1014
1015
 
1015
1016
  for (let i = 0; i < values.bccs.length; i++) {
1016
1017
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1102,7 +1103,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1102
1103
  if (Array.isArray(values.proofs) &&
1103
1104
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1104
1105
  // @ts-ignore: type is checked above.
1105
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1106
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1106
1107
 
1107
1108
  for (let i = 0; i < values.proofs.length; i++) {
1108
1109
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1186,7 +1187,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1186
1187
  * Clones this instance, optionally updating it with the given values.
1187
1188
  * @param values The values to update the clone with.
1188
1189
  * @param options The options to use for cloning.
1189
- * @returns The cloned instance.
1190
+ * @returns The cloned instance with its own property arrays. Nested objects
1191
+ * and URLs are shared with this instance.
1190
1192
  */
1191
1193
  clone(
1192
1194
  values:
@@ -1230,13 +1232,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1230
1232
  { id: values.id ?? this.id },
1231
1233
  options
1232
1234
  );
1233
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1235
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1234
1236
  if ("attachments" in values && values.attachments != null) {
1235
1237
 
1236
1238
  if (Array.isArray(values.attachments) &&
1237
1239
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1238
1240
  // @ts-ignore: type is checked above.
1239
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1241
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1240
1242
 
1241
1243
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1242
1244
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1250,7 +1252,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1250
1252
  );
1251
1253
  }
1252
1254
  }
1253
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1255
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1254
1256
  if ("attribution" in values && values.attribution != null) {
1255
1257
  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) {
1256
1258
  // @ts-ignore: type is checked above.
@@ -1277,7 +1279,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1277
1279
  if (Array.isArray(values.attributions) &&
1278
1280
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1279
1281
  // @ts-ignore: type is checked above.
1280
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1282
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1281
1283
 
1282
1284
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1283
1285
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1291,7 +1293,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1291
1293
  );
1292
1294
  }
1293
1295
  }
1294
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1296
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1295
1297
  if ("audience" in values && values.audience != null) {
1296
1298
  if (values.audience instanceof Object || values.audience instanceof URL) {
1297
1299
  // @ts-ignore: type is checked above.
@@ -1318,7 +1320,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1318
1320
  if (Array.isArray(values.audiences) &&
1319
1321
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1320
1322
  // @ts-ignore: type is checked above.
1321
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1323
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1322
1324
 
1323
1325
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1324
1326
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1332,7 +1334,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1332
1334
  );
1333
1335
  }
1334
1336
  }
1335
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1337
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1336
1338
  if ("content" in values && values.content != null) {
1337
1339
  if (typeof values.content === "string" || values.content instanceof LanguageString) {
1338
1340
  // @ts-ignore: type is checked above.
@@ -1359,7 +1361,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1359
1361
  if (Array.isArray(values.contents) &&
1360
1362
  values.contents.every(v => typeof v === "string" || v instanceof LanguageString)) {
1361
1363
  // @ts-ignore: type is checked above.
1362
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1364
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1363
1365
 
1364
1366
  } else {
1365
1367
  throw new TypeError(
@@ -1368,13 +1370,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1368
1370
  );
1369
1371
  }
1370
1372
  }
1371
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1373
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1372
1374
  if ("contexts" in values && values.contexts != null) {
1373
1375
 
1374
1376
  if (Array.isArray(values.contexts) &&
1375
1377
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1376
1378
  // @ts-ignore: type is checked above.
1377
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1379
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1378
1380
 
1379
1381
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1380
1382
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1388,7 +1390,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1388
1390
  );
1389
1391
  }
1390
1392
  }
1391
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1393
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1392
1394
  if ("name" in values && values.name != null) {
1393
1395
  if (typeof values.name === "string" || values.name instanceof LanguageString) {
1394
1396
  // @ts-ignore: type is checked above.
@@ -1415,7 +1417,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1415
1417
  if (Array.isArray(values.names) &&
1416
1418
  values.names.every(v => typeof v === "string" || v instanceof LanguageString)) {
1417
1419
  // @ts-ignore: type is checked above.
1418
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1420
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1419
1421
 
1420
1422
  } else {
1421
1423
  throw new TypeError(
@@ -1424,7 +1426,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1424
1426
  );
1425
1427
  }
1426
1428
  }
1427
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1429
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1428
1430
  if ("endTime" in values && values.endTime != null) {
1429
1431
  if (isTemporalInstant(values.endTime)) {
1430
1432
  // @ts-ignore: type is checked above.
@@ -1437,13 +1439,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1437
1439
  );
1438
1440
  }
1439
1441
  }
1440
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1442
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1441
1443
  if ("generators" in values && values.generators != null) {
1442
1444
 
1443
1445
  if (Array.isArray(values.generators) &&
1444
1446
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1445
1447
  // @ts-ignore: type is checked above.
1446
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1448
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1447
1449
 
1448
1450
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1449
1451
  for (let i = 0; i < values.generators.length; i++) {
@@ -1457,7 +1459,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1457
1459
  );
1458
1460
  }
1459
1461
  }
1460
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1462
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1461
1463
  if ("icon" in values && values.icon != null) {
1462
1464
  if (values.icon instanceof Image || values.icon instanceof URL) {
1463
1465
  // @ts-ignore: type is checked above.
@@ -1484,7 +1486,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1484
1486
  if (Array.isArray(values.icons) &&
1485
1487
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1486
1488
  // @ts-ignore: type is checked above.
1487
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1489
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1488
1490
 
1489
1491
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1490
1492
  for (let i = 0; i < values.icons.length; i++) {
@@ -1498,7 +1500,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1498
1500
  );
1499
1501
  }
1500
1502
  }
1501
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1503
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1502
1504
  if ("image" in values && values.image != null) {
1503
1505
  if (values.image instanceof Image || values.image instanceof URL) {
1504
1506
  // @ts-ignore: type is checked above.
@@ -1525,7 +1527,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1525
1527
  if (Array.isArray(values.images) &&
1526
1528
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1527
1529
  // @ts-ignore: type is checked above.
1528
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1530
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1529
1531
 
1530
1532
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1531
1533
  for (let i = 0; i < values.images.length; i++) {
@@ -1539,7 +1541,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1539
1541
  );
1540
1542
  }
1541
1543
  }
1542
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1544
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1543
1545
  if ("replyTarget" in values && values.replyTarget != null) {
1544
1546
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1545
1547
  // @ts-ignore: type is checked above.
@@ -1566,7 +1568,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1566
1568
  if (Array.isArray(values.replyTargets) &&
1567
1569
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1568
1570
  // @ts-ignore: type is checked above.
1569
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1571
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1570
1572
 
1571
1573
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1572
1574
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1580,7 +1582,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1580
1582
  );
1581
1583
  }
1582
1584
  }
1583
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1585
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1584
1586
  if ("location" in values && values.location != null) {
1585
1587
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1586
1588
  // @ts-ignore: type is checked above.
@@ -1607,7 +1609,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1607
1609
  if (Array.isArray(values.locations) &&
1608
1610
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1609
1611
  // @ts-ignore: type is checked above.
1610
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1612
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1611
1613
 
1612
1614
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1613
1615
  for (let i = 0; i < values.locations.length; i++) {
@@ -1621,7 +1623,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1621
1623
  );
1622
1624
  }
1623
1625
  }
1624
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1626
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1625
1627
  if ("preview" in values && values.preview != null) {
1626
1628
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1627
1629
  // @ts-ignore: type is checked above.
@@ -1648,7 +1650,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1648
1650
  if (Array.isArray(values.previews) &&
1649
1651
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1650
1652
  // @ts-ignore: type is checked above.
1651
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1653
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1652
1654
 
1653
1655
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1654
1656
  for (let i = 0; i < values.previews.length; i++) {
@@ -1662,7 +1664,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1662
1664
  );
1663
1665
  }
1664
1666
  }
1665
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1667
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1666
1668
  if ("published" in values && values.published != null) {
1667
1669
  if (isTemporalInstant(values.published)) {
1668
1670
  // @ts-ignore: type is checked above.
@@ -1675,7 +1677,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1675
1677
  );
1676
1678
  }
1677
1679
  }
1678
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1680
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1679
1681
  if ("replies" in values && values.replies != null) {
1680
1682
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1681
1683
  // @ts-ignore: type is checked above.
@@ -1688,7 +1690,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1688
1690
  );
1689
1691
  }
1690
1692
  }
1691
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1693
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1692
1694
  if ("shares" in values && values.shares != null) {
1693
1695
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1694
1696
  // @ts-ignore: type is checked above.
@@ -1701,7 +1703,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1701
1703
  );
1702
1704
  }
1703
1705
  }
1704
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1706
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1705
1707
  if ("likes" in values && values.likes != null) {
1706
1708
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1707
1709
  // @ts-ignore: type is checked above.
@@ -1714,7 +1716,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1714
1716
  );
1715
1717
  }
1716
1718
  }
1717
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1719
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1718
1720
  if ("emojiReactions" in values && values.emojiReactions != null) {
1719
1721
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1720
1722
  // @ts-ignore: type is checked above.
@@ -1727,7 +1729,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1727
1729
  );
1728
1730
  }
1729
1731
  }
1730
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1732
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1731
1733
  if ("startTime" in values && values.startTime != null) {
1732
1734
  if (isTemporalInstant(values.startTime)) {
1733
1735
  // @ts-ignore: type is checked above.
@@ -1740,7 +1742,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1740
1742
  );
1741
1743
  }
1742
1744
  }
1743
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1745
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1744
1746
  if ("summary" in values && values.summary != null) {
1745
1747
  if (typeof values.summary === "string" || values.summary instanceof LanguageString) {
1746
1748
  // @ts-ignore: type is checked above.
@@ -1767,7 +1769,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1767
1769
  if (Array.isArray(values.summaries) &&
1768
1770
  values.summaries.every(v => typeof v === "string" || v instanceof LanguageString)) {
1769
1771
  // @ts-ignore: type is checked above.
1770
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1772
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1771
1773
 
1772
1774
  } else {
1773
1775
  throw new TypeError(
@@ -1776,13 +1778,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1776
1778
  );
1777
1779
  }
1778
1780
  }
1779
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1781
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1780
1782
  if ("tags" in values && values.tags != null) {
1781
1783
 
1782
1784
  if (Array.isArray(values.tags) &&
1783
1785
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1784
1786
  // @ts-ignore: type is checked above.
1785
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1787
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1786
1788
 
1787
1789
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1788
1790
  for (let i = 0; i < values.tags.length; i++) {
@@ -1796,7 +1798,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1796
1798
  );
1797
1799
  }
1798
1800
  }
1799
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1801
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1800
1802
  if ("updated" in values && values.updated != null) {
1801
1803
  if (isTemporalInstant(values.updated)) {
1802
1804
  // @ts-ignore: type is checked above.
@@ -1809,7 +1811,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1809
1811
  );
1810
1812
  }
1811
1813
  }
1812
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1814
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1813
1815
  if ("url" in values && values.url != null) {
1814
1816
  if (values.url instanceof URL || values.url instanceof Link) {
1815
1817
  // @ts-ignore: type is checked above.
@@ -1836,7 +1838,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1836
1838
  if (Array.isArray(values.urls) &&
1837
1839
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1838
1840
  // @ts-ignore: type is checked above.
1839
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1841
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1840
1842
 
1841
1843
  } else {
1842
1844
  throw new TypeError(
@@ -1845,7 +1847,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1845
1847
  );
1846
1848
  }
1847
1849
  }
1848
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1850
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1849
1851
  if ("to" in values && values.to != null) {
1850
1852
  if (values.to instanceof Object || values.to instanceof URL) {
1851
1853
  // @ts-ignore: type is checked above.
@@ -1872,7 +1874,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1872
1874
  if (Array.isArray(values.tos) &&
1873
1875
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1874
1876
  // @ts-ignore: type is checked above.
1875
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1877
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1876
1878
 
1877
1879
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1878
1880
  for (let i = 0; i < values.tos.length; i++) {
@@ -1886,7 +1888,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1886
1888
  );
1887
1889
  }
1888
1890
  }
1889
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1891
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1890
1892
  if ("bto" in values && values.bto != null) {
1891
1893
  if (values.bto instanceof Object || values.bto instanceof URL) {
1892
1894
  // @ts-ignore: type is checked above.
@@ -1913,7 +1915,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1913
1915
  if (Array.isArray(values.btos) &&
1914
1916
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1915
1917
  // @ts-ignore: type is checked above.
1916
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1918
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1917
1919
 
1918
1920
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
1919
1921
  for (let i = 0; i < values.btos.length; i++) {
@@ -1927,7 +1929,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1927
1929
  );
1928
1930
  }
1929
1931
  }
1930
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1932
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1931
1933
  if ("cc" in values && values.cc != null) {
1932
1934
  if (values.cc instanceof Object || values.cc instanceof URL) {
1933
1935
  // @ts-ignore: type is checked above.
@@ -1954,7 +1956,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1954
1956
  if (Array.isArray(values.ccs) &&
1955
1957
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1956
1958
  // @ts-ignore: type is checked above.
1957
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1959
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1958
1960
 
1959
1961
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
1960
1962
  for (let i = 0; i < values.ccs.length; i++) {
@@ -1968,7 +1970,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1968
1970
  );
1969
1971
  }
1970
1972
  }
1971
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1973
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1972
1974
  if ("bcc" in values && values.bcc != null) {
1973
1975
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
1974
1976
  // @ts-ignore: type is checked above.
@@ -1995,7 +1997,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1995
1997
  if (Array.isArray(values.bccs) &&
1996
1998
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1997
1999
  // @ts-ignore: type is checked above.
1998
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
2000
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1999
2001
 
2000
2002
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
2001
2003
  for (let i = 0; i < values.bccs.length; i++) {
@@ -2009,7 +2011,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2009
2011
  );
2010
2012
  }
2011
2013
  }
2012
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2014
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2013
2015
  if ("mediaType" in values && values.mediaType != null) {
2014
2016
  if (typeof values.mediaType === "string") {
2015
2017
  // @ts-ignore: type is checked above.
@@ -2022,7 +2024,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2022
2024
  );
2023
2025
  }
2024
2026
  }
2025
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2027
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2026
2028
  if ("duration" in values && values.duration != null) {
2027
2029
  if (isTemporalDuration(values.duration)) {
2028
2030
  // @ts-ignore: type is checked above.
@@ -2035,7 +2037,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2035
2037
  );
2036
2038
  }
2037
2039
  }
2038
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2040
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2039
2041
  if ("sensitive" in values && values.sensitive != null) {
2040
2042
  if (typeof values.sensitive === "boolean") {
2041
2043
  // @ts-ignore: type is checked above.
@@ -2048,7 +2050,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2048
2050
  );
2049
2051
  }
2050
2052
  }
2051
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2053
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2052
2054
  if ("source" in values && values.source != null) {
2053
2055
  if (values.source instanceof Source) {
2054
2056
  // @ts-ignore: type is checked above.
@@ -2061,7 +2063,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2061
2063
  );
2062
2064
  }
2063
2065
  }
2064
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2066
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2065
2067
  if ("proof" in values && values.proof != null) {
2066
2068
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2067
2069
  // @ts-ignore: type is checked above.
@@ -2088,7 +2090,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2088
2090
  if (Array.isArray(values.proofs) &&
2089
2091
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2090
2092
  // @ts-ignore: type is checked above.
2091
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2093
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2092
2094
 
2093
2095
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2094
2096
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2102,7 +2104,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2102
2104
  );
2103
2105
  }
2104
2106
  }
2105
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2107
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2106
2108
  if ("interactionPolicy" in values && values.interactionPolicy != null) {
2107
2109
  if (values.interactionPolicy instanceof InteractionPolicy) {
2108
2110
  // @ts-ignore: type is checked above.
@@ -2115,7 +2117,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2115
2117
  );
2116
2118
  }
2117
2119
  }
2118
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2120
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2119
2121
  if ("approvedBy" in values && values.approvedBy != null) {
2120
2122
  if (values.approvedBy instanceof URL) {
2121
2123
  // @ts-ignore: type is checked above.
@@ -2128,7 +2130,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2128
2130
  );
2129
2131
  }
2130
2132
  }
2131
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2133
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2132
2134
  if ("likeAuthorization" in values && values.likeAuthorization != null) {
2133
2135
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2134
2136
  // @ts-ignore: type is checked above.
@@ -2141,7 +2143,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2141
2143
  );
2142
2144
  }
2143
2145
  }
2144
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2146
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2145
2147
  if ("replyAuthorization" in values && values.replyAuthorization != null) {
2146
2148
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2147
2149
  // @ts-ignore: type is checked above.
@@ -2154,7 +2156,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2154
2156
  );
2155
2157
  }
2156
2158
  }
2157
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2159
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2158
2160
  if ("announceAuthorization" in values && values.announceAuthorization != null) {
2159
2161
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2160
2162
  // @ts-ignore: type is checked above.
@@ -13742,7 +13744,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13742
13744
  * Clones this instance, optionally updating it with the given values.
13743
13745
  * @param values The values to update the clone with.
13744
13746
  * @param options The options to use for cloning.
13745
- * @returns The cloned instance.
13747
+ * @returns The cloned instance with its own property arrays. Nested objects
13748
+ * and URLs are shared with this instance.
13746
13749
  */
13747
13750
  override clone(
13748
13751
  values:
@@ -14139,7 +14142,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14139
14142
  * Clones this instance, optionally updating it with the given values.
14140
14143
  * @param values The values to update the clone with.
14141
14144
  * @param options The options to use for cloning.
14142
- * @returns The cloned instance.
14145
+ * @returns The cloned instance with its own property arrays. Nested objects
14146
+ * and URLs are shared with this instance.
14143
14147
  */
14144
14148
  override clone(
14145
14149
  values:
@@ -14177,7 +14181,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14177
14181
  // @ts-ignore: $warning is not recognized as a property, but it is.
14178
14182
  options = { ...options, $warning: this._warning };
14179
14183
  }
14180
- 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);
14184
+ 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);
14181
14185
  if ("quote" in values && values.quote != null) {
14182
14186
  if (values.quote instanceof Object || values.quote instanceof URL) {
14183
14187
  // @ts-ignore: type is checked above.
@@ -14190,7 +14194,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14190
14194
  );
14191
14195
  }
14192
14196
  }
14193
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
14197
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
14194
14198
  if ("quoteUrl" in values && values.quoteUrl != null) {
14195
14199
  if (values.quoteUrl instanceof URL) {
14196
14200
  // @ts-ignore: type is checked above.
@@ -14203,7 +14207,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
14203
14207
  );
14204
14208
  }
14205
14209
  }
14206
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
14210
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
14207
14211
  if ("quoteAuthorization" in values && values.quoteAuthorization != null) {
14208
14212
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
14209
14213
  // @ts-ignore: type is checked above.
@@ -15372,7 +15376,7 @@ instruments?: (Object | URL)[];}
15372
15376
  if (Array.isArray(values.actors) &&
15373
15377
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
15374
15378
  // @ts-ignore: type is checked above.
15375
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
15379
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
15376
15380
 
15377
15381
  for (let i = 0; i < values.actors.length; i++) {
15378
15382
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -15412,7 +15416,7 @@ instruments?: (Object | URL)[];}
15412
15416
  if (Array.isArray(values.objects) &&
15413
15417
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
15414
15418
  // @ts-ignore: type is checked above.
15415
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
15419
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
15416
15420
 
15417
15421
  for (let i = 0; i < values.objects.length; i++) {
15418
15422
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -15452,7 +15456,7 @@ instruments?: (Object | URL)[];}
15452
15456
  if (Array.isArray(values.targets) &&
15453
15457
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
15454
15458
  // @ts-ignore: type is checked above.
15455
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
15459
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
15456
15460
 
15457
15461
  for (let i = 0; i < values.targets.length; i++) {
15458
15462
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -15492,7 +15496,7 @@ instruments?: (Object | URL)[];}
15492
15496
  if (Array.isArray(values.results) &&
15493
15497
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15494
15498
  // @ts-ignore: type is checked above.
15495
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15499
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15496
15500
 
15497
15501
  for (let i = 0; i < values.results.length; i++) {
15498
15502
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -15532,7 +15536,7 @@ instruments?: (Object | URL)[];}
15532
15536
  if (Array.isArray(values.origins) &&
15533
15537
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15534
15538
  // @ts-ignore: type is checked above.
15535
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15539
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15536
15540
 
15537
15541
  for (let i = 0; i < values.origins.length; i++) {
15538
15542
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -15572,7 +15576,7 @@ instruments?: (Object | URL)[];}
15572
15576
  if (Array.isArray(values.instruments) &&
15573
15577
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15574
15578
  // @ts-ignore: type is checked above.
15575
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15579
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15576
15580
 
15577
15581
  for (let i = 0; i < values.instruments.length; i++) {
15578
15582
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -15591,7 +15595,8 @@ instruments?: (Object | URL)[];}
15591
15595
  * Clones this instance, optionally updating it with the given values.
15592
15596
  * @param values The values to update the clone with.
15593
15597
  * @param options The options to use for cloning.
15594
- * @returns The cloned instance.
15598
+ * @returns The cloned instance with its own property arrays. Nested objects
15599
+ * and URLs are shared with this instance.
15595
15600
  */
15596
15601
  override clone(
15597
15602
  values:
@@ -15635,7 +15640,7 @@ instruments?: (Object | URL)[];}
15635
15640
  // @ts-ignore: $warning is not recognized as a property, but it is.
15636
15641
  options = { ...options, $warning: this._warning };
15637
15642
  }
15638
- 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);
15643
+ 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);
15639
15644
  if ("actor" in values && values.actor != null) {
15640
15645
  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) {
15641
15646
  // @ts-ignore: type is checked above.
@@ -15662,7 +15667,7 @@ instruments?: (Object | URL)[];}
15662
15667
  if (Array.isArray(values.actors) &&
15663
15668
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
15664
15669
  // @ts-ignore: type is checked above.
15665
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
15670
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
15666
15671
 
15667
15672
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
15668
15673
  for (let i = 0; i < values.actors.length; i++) {
@@ -15676,7 +15681,7 @@ instruments?: (Object | URL)[];}
15676
15681
  );
15677
15682
  }
15678
15683
  }
15679
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15684
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
15680
15685
  if ("object" in values && values.object != null) {
15681
15686
  if (values.object instanceof Object || values.object instanceof URL) {
15682
15687
  // @ts-ignore: type is checked above.
@@ -15703,7 +15708,7 @@ instruments?: (Object | URL)[];}
15703
15708
  if (Array.isArray(values.objects) &&
15704
15709
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
15705
15710
  // @ts-ignore: type is checked above.
15706
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
15711
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
15707
15712
 
15708
15713
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
15709
15714
  for (let i = 0; i < values.objects.length; i++) {
@@ -15717,7 +15722,7 @@ instruments?: (Object | URL)[];}
15717
15722
  );
15718
15723
  }
15719
15724
  }
15720
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15725
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
15721
15726
  if ("target" in values && values.target != null) {
15722
15727
  if (values.target instanceof Object || values.target instanceof URL) {
15723
15728
  // @ts-ignore: type is checked above.
@@ -15744,7 +15749,7 @@ instruments?: (Object | URL)[];}
15744
15749
  if (Array.isArray(values.targets) &&
15745
15750
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
15746
15751
  // @ts-ignore: type is checked above.
15747
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
15752
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
15748
15753
 
15749
15754
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
15750
15755
  for (let i = 0; i < values.targets.length; i++) {
@@ -15758,7 +15763,7 @@ instruments?: (Object | URL)[];}
15758
15763
  );
15759
15764
  }
15760
15765
  }
15761
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15766
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
15762
15767
  if ("result" in values && values.result != null) {
15763
15768
  if (values.result instanceof Object || values.result instanceof URL) {
15764
15769
  // @ts-ignore: type is checked above.
@@ -15785,7 +15790,7 @@ instruments?: (Object | URL)[];}
15785
15790
  if (Array.isArray(values.results) &&
15786
15791
  values.results.every(v => v instanceof Object || v instanceof URL)) {
15787
15792
  // @ts-ignore: type is checked above.
15788
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
15793
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
15789
15794
 
15790
15795
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
15791
15796
  for (let i = 0; i < values.results.length; i++) {
@@ -15799,7 +15804,7 @@ instruments?: (Object | URL)[];}
15799
15804
  );
15800
15805
  }
15801
15806
  }
15802
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15807
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
15803
15808
  if ("origin" in values && values.origin != null) {
15804
15809
  if (values.origin instanceof Object || values.origin instanceof URL) {
15805
15810
  // @ts-ignore: type is checked above.
@@ -15826,7 +15831,7 @@ instruments?: (Object | URL)[];}
15826
15831
  if (Array.isArray(values.origins) &&
15827
15832
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
15828
15833
  // @ts-ignore: type is checked above.
15829
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
15834
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
15830
15835
 
15831
15836
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
15832
15837
  for (let i = 0; i < values.origins.length; i++) {
@@ -15840,7 +15845,7 @@ instruments?: (Object | URL)[];}
15840
15845
  );
15841
15846
  }
15842
15847
  }
15843
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15848
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
15844
15849
  if ("instrument" in values && values.instrument != null) {
15845
15850
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
15846
15851
  // @ts-ignore: type is checked above.
@@ -15867,7 +15872,7 @@ instruments?: (Object | URL)[];}
15867
15872
  if (Array.isArray(values.instruments) &&
15868
15873
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
15869
15874
  // @ts-ignore: type is checked above.
15870
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
15875
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
15871
15876
 
15872
15877
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
15873
15878
  for (let i = 0; i < values.instruments.length; i++) {
@@ -18990,7 +18995,8 @@ instruments?: (Object | URL)[];}
18990
18995
  * Clones this instance, optionally updating it with the given values.
18991
18996
  * @param values The values to update the clone with.
18992
18997
  * @param options The options to use for cloning.
18993
- * @returns The cloned instance.
18998
+ * @returns The cloned instance with its own property arrays. Nested objects
18999
+ * and URLs are shared with this instance.
18994
19000
  */
18995
19001
  override clone(
18996
19002
  values:
@@ -19414,7 +19420,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
19414
19420
  * Clones this instance, optionally updating it with the given values.
19415
19421
  * @param values The values to update the clone with.
19416
19422
  * @param options The options to use for cloning.
19417
- * @returns The cloned instance.
19423
+ * @returns The cloned instance with its own property arrays. Nested objects
19424
+ * and URLs are shared with this instance.
19418
19425
  */
19419
19426
  clone(
19420
19427
  values:
@@ -19442,7 +19449,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
19442
19449
  { id: values.id ?? this.id },
19443
19450
  options
19444
19451
  );
19445
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
19452
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
19446
19453
  if ("name" in values && values.name != null) {
19447
19454
  if (typeof values.name === "string" || values.name instanceof LanguageString) {
19448
19455
  // @ts-ignore: type is checked above.
@@ -19455,7 +19462,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
19455
19462
  );
19456
19463
  }
19457
19464
  }
19458
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
19465
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
19459
19466
  if ("value" in values && values.value != null) {
19460
19467
  if (typeof values.value === "string" || values.value instanceof LanguageString) {
19461
19468
  // @ts-ignore: type is checked above.
@@ -20064,7 +20071,8 @@ unit?: string | null;numericalValue?: Decimal | null;}
20064
20071
  * Clones this instance, optionally updating it with the given values.
20065
20072
  * @param values The values to update the clone with.
20066
20073
  * @param options The options to use for cloning.
20067
- * @returns The cloned instance.
20074
+ * @returns The cloned instance with its own property arrays. Nested objects
20075
+ * and URLs are shared with this instance.
20068
20076
  */
20069
20077
  clone(
20070
20078
  values:
@@ -20092,7 +20100,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
20092
20100
  { id: values.id ?? this.id },
20093
20101
  options
20094
20102
  );
20095
- clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6;
20103
+ clone.#_27fgyFbosTtMAhuepJH8K3ZGURT6 = this.#_27fgyFbosTtMAhuepJH8K3ZGURT6.slice();
20096
20104
  if ("unit" in values && values.unit != null) {
20097
20105
  if (typeof values.unit === "string") {
20098
20106
  // @ts-ignore: type is checked above.
@@ -20105,7 +20113,7 @@ unit?: string | null;numericalValue?: Decimal | null;}
20105
20113
  );
20106
20114
  }
20107
20115
  }
20108
- clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D;
20116
+ clone.#_1GQx8o2RgxRs4x9G5uT39XYBv7D = this.#_1GQx8o2RgxRs4x9G5uT39XYBv7D.slice();
20109
20117
  if ("numericalValue" in values && values.numericalValue != null) {
20110
20118
  if (typeof values.numericalValue === "string" && isDecimal(values.numericalValue)) {
20111
20119
  // @ts-ignore: type is checked above.
@@ -20643,7 +20651,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20643
20651
  * Clones this instance, optionally updating it with the given values.
20644
20652
  * @param values The values to update the clone with.
20645
20653
  * @param options The options to use for cloning.
20646
- * @returns The cloned instance.
20654
+ * @returns The cloned instance with its own property arrays. Nested objects
20655
+ * and URLs are shared with this instance.
20647
20656
  */
20648
20657
  override clone(
20649
20658
  values:
@@ -20681,7 +20690,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20681
20690
  // @ts-ignore: $warning is not recognized as a property, but it is.
20682
20691
  options = { ...options, $warning: this._warning };
20683
20692
  }
20684
- 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);
20693
+ 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);
20685
20694
  if ("interactingObject" in values && values.interactingObject != null) {
20686
20695
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
20687
20696
  // @ts-ignore: type is checked above.
@@ -20694,7 +20703,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
20694
20703
  );
20695
20704
  }
20696
20705
  }
20697
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20706
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
20698
20707
  if ("interactionTarget" in values && values.interactionTarget != null) {
20699
20708
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
20700
20709
  // @ts-ignore: type is checked above.
@@ -21699,7 +21708,8 @@ instruments?: (Object | URL)[];}
21699
21708
  * Clones this instance, optionally updating it with the given values.
21700
21709
  * @param values The values to update the clone with.
21701
21710
  * @param options The options to use for cloning.
21702
- * @returns The cloned instance.
21711
+ * @returns The cloned instance with its own property arrays. Nested objects
21712
+ * and URLs are shared with this instance.
21703
21713
  */
21704
21714
  override clone(
21705
21715
  values:
@@ -22158,7 +22168,8 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22158
22168
  * Clones this instance, optionally updating it with the given values.
22159
22169
  * @param values The values to update the clone with.
22160
22170
  * @param options The options to use for cloning.
22161
- * @returns The cloned instance.
22171
+ * @returns The cloned instance with its own property arrays. Nested objects
22172
+ * and URLs are shared with this instance.
22162
22173
  */
22163
22174
  clone(
22164
22175
  values:
@@ -22186,7 +22197,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22186
22197
  { id: values.id ?? this.id },
22187
22198
  options
22188
22199
  );
22189
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
22200
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
22190
22201
  if ("canLike" in values && values.canLike != null) {
22191
22202
  if (values.canLike instanceof InteractionRule) {
22192
22203
  // @ts-ignore: type is checked above.
@@ -22199,7 +22210,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22199
22210
  );
22200
22211
  }
22201
22212
  }
22202
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
22213
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
22203
22214
  if ("canReply" in values && values.canReply != null) {
22204
22215
  if (values.canReply instanceof InteractionRule) {
22205
22216
  // @ts-ignore: type is checked above.
@@ -22212,7 +22223,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22212
22223
  );
22213
22224
  }
22214
22225
  }
22215
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
22226
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
22216
22227
  if ("canAnnounce" in values && values.canAnnounce != null) {
22217
22228
  if (values.canAnnounce instanceof InteractionRule) {
22218
22229
  // @ts-ignore: type is checked above.
@@ -22225,7 +22236,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
22225
22236
  );
22226
22237
  }
22227
22238
  }
22228
- clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote;
22239
+ clone.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote = this.#_LE3zBTVacTZw2LSyLt4wVUkXeUy_canQuote.slice();
22229
22240
  if ("canQuote" in values && values.canQuote != null) {
22230
22241
  if (values.canQuote instanceof InteractionRule) {
22231
22242
  // @ts-ignore: type is checked above.
@@ -22978,7 +22989,7 @@ manualApprovals?: (URL)[];}
22978
22989
  if (Array.isArray(values.automaticApprovals) &&
22979
22990
  values.automaticApprovals.every(v => v instanceof URL)) {
22980
22991
  // @ts-ignore: type is checked above.
22981
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
22992
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
22982
22993
 
22983
22994
  } else {
22984
22995
  throw new TypeError(
@@ -23014,7 +23025,7 @@ manualApprovals?: (URL)[];}
23014
23025
  if (Array.isArray(values.manualApprovals) &&
23015
23026
  values.manualApprovals.every(v => v instanceof URL)) {
23016
23027
  // @ts-ignore: type is checked above.
23017
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
23028
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
23018
23029
 
23019
23030
  } else {
23020
23031
  throw new TypeError(
@@ -23029,7 +23040,8 @@ manualApprovals?: (URL)[];}
23029
23040
  * Clones this instance, optionally updating it with the given values.
23030
23041
  * @param values The values to update the clone with.
23031
23042
  * @param options The options to use for cloning.
23032
- * @returns The cloned instance.
23043
+ * @returns The cloned instance with its own property arrays. Nested objects
23044
+ * and URLs are shared with this instance.
23033
23045
  */
23034
23046
  clone(
23035
23047
  values:
@@ -23059,7 +23071,7 @@ manualApprovals?: (URL)[];}
23059
23071
  { id: values.id ?? this.id },
23060
23072
  options
23061
23073
  );
23062
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
23074
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
23063
23075
  if ("automaticApproval" in values && values.automaticApproval != null) {
23064
23076
  if (values.automaticApproval instanceof URL) {
23065
23077
  // @ts-ignore: type is checked above.
@@ -23086,7 +23098,7 @@ manualApprovals?: (URL)[];}
23086
23098
  if (Array.isArray(values.automaticApprovals) &&
23087
23099
  values.automaticApprovals.every(v => v instanceof URL)) {
23088
23100
  // @ts-ignore: type is checked above.
23089
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
23101
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
23090
23102
 
23091
23103
  } else {
23092
23104
  throw new TypeError(
@@ -23095,7 +23107,7 @@ manualApprovals?: (URL)[];}
23095
23107
  );
23096
23108
  }
23097
23109
  }
23098
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
23110
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
23099
23111
  if ("manualApproval" in values && values.manualApproval != null) {
23100
23112
  if (values.manualApproval instanceof URL) {
23101
23113
  // @ts-ignore: type is checked above.
@@ -23122,7 +23134,7 @@ manualApprovals?: (URL)[];}
23122
23134
  if (Array.isArray(values.manualApprovals) &&
23123
23135
  values.manualApprovals.every(v => v instanceof URL)) {
23124
23136
  // @ts-ignore: type is checked above.
23125
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
23137
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
23126
23138
 
23127
23139
  } else {
23128
23140
  throw new TypeError(
@@ -23669,7 +23681,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23669
23681
  * Clones this instance, optionally updating it with the given values.
23670
23682
  * @param values The values to update the clone with.
23671
23683
  * @param options The options to use for cloning.
23672
- * @returns The cloned instance.
23684
+ * @returns The cloned instance with its own property arrays. Nested objects
23685
+ * and URLs are shared with this instance.
23673
23686
  */
23674
23687
  override clone(
23675
23688
  values:
@@ -23707,7 +23720,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23707
23720
  // @ts-ignore: $warning is not recognized as a property, but it is.
23708
23721
  options = { ...options, $warning: this._warning };
23709
23722
  }
23710
- 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);
23723
+ 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);
23711
23724
  if ("interactingObject" in values && values.interactingObject != null) {
23712
23725
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
23713
23726
  // @ts-ignore: type is checked above.
@@ -23720,7 +23733,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
23720
23733
  );
23721
23734
  }
23722
23735
  }
23723
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23736
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
23724
23737
  if ("interactionTarget" in values && values.interactionTarget != null) {
23725
23738
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
23726
23739
  // @ts-ignore: type is checked above.
@@ -24724,7 +24737,8 @@ instruments?: (Object | URL)[];}
24724
24737
  * Clones this instance, optionally updating it with the given values.
24725
24738
  * @param values The values to update the clone with.
24726
24739
  * @param options The options to use for cloning.
24727
- * @returns The cloned instance.
24740
+ * @returns The cloned instance with its own property arrays. Nested objects
24741
+ * and URLs are shared with this instance.
24728
24742
  */
24729
24743
  override clone(
24730
24744
  values:
@@ -25099,7 +25113,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25099
25113
  * Clones this instance, optionally updating it with the given values.
25100
25114
  * @param values The values to update the clone with.
25101
25115
  * @param options The options to use for cloning.
25102
- * @returns The cloned instance.
25116
+ * @returns The cloned instance with its own property arrays. Nested objects
25117
+ * and URLs are shared with this instance.
25103
25118
  */
25104
25119
  override clone(
25105
25120
  values:
@@ -25137,7 +25152,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25137
25152
  // @ts-ignore: $warning is not recognized as a property, but it is.
25138
25153
  options = { ...options, $warning: this._warning };
25139
25154
  }
25140
- 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);
25155
+ 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);
25141
25156
  if ("interactingObject" in values && values.interactingObject != null) {
25142
25157
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
25143
25158
  // @ts-ignore: type is checked above.
@@ -25150,7 +25165,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
25150
25165
  );
25151
25166
  }
25152
25167
  }
25153
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25168
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
25154
25169
  if ("interactionTarget" in values && values.interactionTarget != null) {
25155
25170
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
25156
25171
  // @ts-ignore: type is checked above.
@@ -26154,7 +26169,8 @@ instruments?: (Object | URL)[];}
26154
26169
  * Clones this instance, optionally updating it with the given values.
26155
26170
  * @param values The values to update the clone with.
26156
26171
  * @param options The options to use for cloning.
26157
- * @returns The cloned instance.
26172
+ * @returns The cloned instance with its own property arrays. Nested objects
26173
+ * and URLs are shared with this instance.
26158
26174
  */
26159
26175
  override clone(
26160
26176
  values:
@@ -26529,7 +26545,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
26529
26545
  * Clones this instance, optionally updating it with the given values.
26530
26546
  * @param values The values to update the clone with.
26531
26547
  * @param options The options to use for cloning.
26532
- * @returns The cloned instance.
26548
+ * @returns The cloned instance with its own property arrays. Nested objects
26549
+ * and URLs are shared with this instance.
26533
26550
  */
26534
26551
  override clone(
26535
26552
  values:
@@ -26567,7 +26584,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
26567
26584
  // @ts-ignore: $warning is not recognized as a property, but it is.
26568
26585
  options = { ...options, $warning: this._warning };
26569
26586
  }
26570
- 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);
26587
+ 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);
26571
26588
  if ("interactingObject" in values && values.interactingObject != null) {
26572
26589
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
26573
26590
  // @ts-ignore: type is checked above.
@@ -26580,7 +26597,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
26580
26597
  );
26581
26598
  }
26582
26599
  }
26583
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
26600
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
26584
26601
  if ("interactionTarget" in values && values.interactionTarget != null) {
26585
26602
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
26586
26603
  // @ts-ignore: type is checked above.
@@ -27583,7 +27600,8 @@ instruments?: (Object | URL)[];}
27583
27600
  * Clones this instance, optionally updating it with the given values.
27584
27601
  * @param values The values to update the clone with.
27585
27602
  * @param options The options to use for cloning.
27586
- * @returns The cloned instance.
27603
+ * @returns The cloned instance with its own property arrays. Nested objects
27604
+ * and URLs are shared with this instance.
27587
27605
  */
27588
27606
  override clone(
27589
27607
  values:
@@ -28006,7 +28024,7 @@ endpoints?: (URL)[];}
28006
28024
  if (Array.isArray(values.endpoints) &&
28007
28025
  values.endpoints.every(v => v instanceof URL)) {
28008
28026
  // @ts-ignore: type is checked above.
28009
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
28027
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
28010
28028
 
28011
28029
  } else {
28012
28030
  throw new TypeError(
@@ -28021,7 +28039,8 @@ endpoints?: (URL)[];}
28021
28039
  * Clones this instance, optionally updating it with the given values.
28022
28040
  * @param values The values to update the clone with.
28023
28041
  * @param options The options to use for cloning.
28024
- * @returns The cloned instance.
28042
+ * @returns The cloned instance with its own property arrays. Nested objects
28043
+ * and URLs are shared with this instance.
28025
28044
  */
28026
28045
  clone(
28027
28046
  values:
@@ -28050,7 +28069,7 @@ endpoints?: (URL)[];}
28050
28069
  { id: values.id ?? this.id },
28051
28070
  options
28052
28071
  );
28053
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
28072
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
28054
28073
  if ("endpoint" in values && values.endpoint != null) {
28055
28074
  if (values.endpoint instanceof URL) {
28056
28075
  // @ts-ignore: type is checked above.
@@ -28077,7 +28096,7 @@ endpoints?: (URL)[];}
28077
28096
  if (Array.isArray(values.endpoints) &&
28078
28097
  values.endpoints.every(v => v instanceof URL)) {
28079
28098
  // @ts-ignore: type is checked above.
28080
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
28099
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
28081
28100
 
28082
28101
  } else {
28083
28102
  throw new TypeError(
@@ -28464,7 +28483,8 @@ endpoints?: (URL)[];}
28464
28483
  * Clones this instance, optionally updating it with the given values.
28465
28484
  * @param values The values to update the clone with.
28466
28485
  * @param options The options to use for cloning.
28467
- * @returns The cloned instance.
28486
+ * @returns The cloned instance with its own property arrays. Nested objects
28487
+ * and URLs are shared with this instance.
28468
28488
  */
28469
28489
  override clone(
28470
28490
  values:
@@ -28904,7 +28924,8 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null
28904
28924
  * Clones this instance, optionally updating it with the given values.
28905
28925
  * @param values The values to update the clone with.
28906
28926
  * @param options The options to use for cloning.
28907
- * @returns The cloned instance.
28927
+ * @returns The cloned instance with its own property arrays. Nested objects
28928
+ * and URLs are shared with this instance.
28908
28929
  */
28909
28930
  clone(
28910
28931
  values:
@@ -28932,7 +28953,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null
28932
28953
  { id: values.id ?? this.id },
28933
28954
  options
28934
28955
  );
28935
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
28956
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
28936
28957
  if ("cryptosuite" in values && values.cryptosuite != null) {
28937
28958
  if (values.cryptosuite == "eddsa-jcs-2022") {
28938
28959
  // @ts-ignore: type is checked above.
@@ -28945,7 +28966,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null
28945
28966
  );
28946
28967
  }
28947
28968
  }
28948
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28969
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
28949
28970
  if ("verificationMethod" in values && values.verificationMethod != null) {
28950
28971
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
28951
28972
  // @ts-ignore: type is checked above.
@@ -28958,7 +28979,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null
28958
28979
  );
28959
28980
  }
28960
28981
  }
28961
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
28982
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
28962
28983
  if ("proofPurpose" in values && values.proofPurpose != null) {
28963
28984
  if (values.proofPurpose === "assertionMethod" || values.proofPurpose === "authentication" ||
28964
28985
  values.proofPurpose === "capabilityInvocation" || values.proofPurpose === "capabilityDelegation" ||
@@ -28973,7 +28994,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null
28973
28994
  );
28974
28995
  }
28975
28996
  }
28976
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
28997
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
28977
28998
  if ("proofValue" in values && values.proofValue != null) {
28978
28999
  if (values.proofValue instanceof Uint8Array) {
28979
29000
  // @ts-ignore: type is checked above.
@@ -28986,7 +29007,7 @@ cryptosuite?: "eddsa-jcs-2022" | null;verificationMethod?: Multikey | URL | null
28986
29007
  );
28987
29008
  }
28988
29009
  }
28989
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
29010
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
28990
29011
  if ("created" in values && values.created != null) {
28991
29012
  if (isTemporalInstant(values.created)) {
28992
29013
  // @ts-ignore: type is checked above.
@@ -29985,7 +30006,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
29985
30006
  * Clones this instance, optionally updating it with the given values.
29986
30007
  * @param values The values to update the clone with.
29987
30008
  * @param options The options to use for cloning.
29988
- * @returns The cloned instance.
30009
+ * @returns The cloned instance with its own property arrays. Nested objects
30010
+ * and URLs are shared with this instance.
29989
30011
  */
29990
30012
  clone(
29991
30013
  values:
@@ -30013,7 +30035,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
30013
30035
  { id: values.id ?? this.id },
30014
30036
  options
30015
30037
  );
30016
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
30038
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
30017
30039
  if ("owner" in values && values.owner != null) {
30018
30040
  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) {
30019
30041
  // @ts-ignore: type is checked above.
@@ -30026,7 +30048,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
30026
30048
  );
30027
30049
  }
30028
30050
  }
30029
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
30051
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
30030
30052
  if ("publicKey" in values && values.publicKey != null) {
30031
30053
  if (
30032
30054
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -30925,7 +30947,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30925
30947
  * Clones this instance, optionally updating it with the given values.
30926
30948
  * @param values The values to update the clone with.
30927
30949
  * @param options The options to use for cloning.
30928
- * @returns The cloned instance.
30950
+ * @returns The cloned instance with its own property arrays. Nested objects
30951
+ * and URLs are shared with this instance.
30929
30952
  */
30930
30953
  clone(
30931
30954
  values:
@@ -30953,7 +30976,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30953
30976
  { id: values.id ?? this.id },
30954
30977
  options
30955
30978
  );
30956
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30979
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
30957
30980
  if ("controller" in values && values.controller != null) {
30958
30981
  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) {
30959
30982
  // @ts-ignore: type is checked above.
@@ -30966,7 +30989,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
30966
30989
  );
30967
30990
  }
30968
30991
  }
30969
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
30992
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
30970
30993
  if ("publicKey" in values && values.publicKey != null) {
30971
30994
  if (
30972
30995
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -31814,7 +31837,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
31814
31837
  * Clones this instance, optionally updating it with the given values.
31815
31838
  * @param values The values to update the clone with.
31816
31839
  * @param options The options to use for cloning.
31817
- * @returns The cloned instance.
31840
+ * @returns The cloned instance with its own property arrays. Nested objects
31841
+ * and URLs are shared with this instance.
31818
31842
  */
31819
31843
  override clone(
31820
31844
  values:
@@ -31852,7 +31876,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
31852
31876
  // @ts-ignore: $warning is not recognized as a property, but it is.
31853
31877
  options = { ...options, $warning: this._warning };
31854
31878
  }
31855
- const clone = super.clone(values, options) as unknown as Agreement;clone.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates = this.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates;
31879
+ const clone = super.clone(values, options) as unknown as Agreement;clone.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates = this.#_37zeAJ2NVyecrDdP8os69FGAn9Q6_stipulates.slice();
31856
31880
  if ("stipulates" in values && values.stipulates != null) {
31857
31881
  if (values.stipulates instanceof Commitment) {
31858
31882
  // @ts-ignore: type is checked above.
@@ -31865,7 +31889,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
31865
31889
  );
31866
31890
  }
31867
31891
  }
31868
- clone.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal = this.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal;
31892
+ clone.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal = this.#_4Vhx9DcywF65XWUQ4KZ35475FaJm_stipulatesReciprocal.slice();
31869
31893
  if ("stipulatesReciprocal" in values && values.stipulatesReciprocal != null) {
31870
31894
  if (values.stipulatesReciprocal instanceof Commitment) {
31871
31895
  // @ts-ignore: type is checked above.
@@ -32485,7 +32509,8 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
32485
32509
  * Clones this instance, optionally updating it with the given values.
32486
32510
  * @param values The values to update the clone with.
32487
32511
  * @param options The options to use for cloning.
32488
- * @returns The cloned instance.
32512
+ * @returns The cloned instance with its own property arrays. Nested objects
32513
+ * and URLs are shared with this instance.
32489
32514
  */
32490
32515
  clone(
32491
32516
  values:
@@ -32513,7 +32538,7 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
32513
32538
  { id: values.id ?? this.id },
32514
32539
  options
32515
32540
  );
32516
- clone.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies = this.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies;
32541
+ clone.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies = this.#_aCyzDK9TkXtLxrZs7JC8emuYisv_satisfies.slice();
32517
32542
  if ("satisfies" in values && values.satisfies != null) {
32518
32543
  if (values.satisfies instanceof URL) {
32519
32544
  // @ts-ignore: type is checked above.
@@ -32526,7 +32551,7 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
32526
32551
  );
32527
32552
  }
32528
32553
  }
32529
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
32554
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
32530
32555
  if ("resourceQuantity" in values && values.resourceQuantity != null) {
32531
32556
  if (values.resourceQuantity instanceof Measure) {
32532
32557
  // @ts-ignore: type is checked above.
@@ -33179,7 +33204,8 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33179
33204
  * Clones this instance, optionally updating it with the given values.
33180
33205
  * @param values The values to update the clone with.
33181
33206
  * @param options The options to use for cloning.
33182
- * @returns The cloned instance.
33207
+ * @returns The cloned instance with its own property arrays. Nested objects
33208
+ * and URLs are shared with this instance.
33183
33209
  */
33184
33210
  clone(
33185
33211
  values:
@@ -33207,7 +33233,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33207
33233
  { id: values.id ?? this.id },
33208
33234
  options
33209
33235
  );
33210
- clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action;
33236
+ clone.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action = this.#_38VmZKmXJSBy3AvgqNa9GVqbdphy_action.slice();
33211
33237
  if ("action" in values && values.action != null) {
33212
33238
  if (typeof values.action === "string") {
33213
33239
  // @ts-ignore: type is checked above.
@@ -33220,7 +33246,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33220
33246
  );
33221
33247
  }
33222
33248
  }
33223
- clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo;
33249
+ clone.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo = this.#_BBAeMUUQDwBQn6cvu3P2Csd6b6h_resourceConformsTo.slice();
33224
33250
  if ("resourceConformsTo" in values && values.resourceConformsTo != null) {
33225
33251
  if (values.resourceConformsTo instanceof URL) {
33226
33252
  // @ts-ignore: type is checked above.
@@ -33233,7 +33259,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33233
33259
  );
33234
33260
  }
33235
33261
  }
33236
- clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity;
33262
+ clone.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity = this.#_2dLfqTbbRiggEcMQWbHpxkQrtmrc_resourceQuantity.slice();
33237
33263
  if ("resourceQuantity" in values && values.resourceQuantity != null) {
33238
33264
  if (values.resourceQuantity instanceof Measure) {
33239
33265
  // @ts-ignore: type is checked above.
@@ -33246,7 +33272,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33246
33272
  );
33247
33273
  }
33248
33274
  }
33249
- clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity;
33275
+ clone.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity = this.#_YmNSnuih3Zk4VdR5JPVnQYroLAh_availableQuantity.slice();
33250
33276
  if ("availableQuantity" in values && values.availableQuantity != null) {
33251
33277
  if (values.availableQuantity instanceof Measure) {
33252
33278
  // @ts-ignore: type is checked above.
@@ -33259,7 +33285,7 @@ action?: string | null;resourceConformsTo?: URL | null;resourceQuantity?: Measur
33259
33285
  );
33260
33286
  }
33261
33287
  }
33262
- clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity;
33288
+ clone.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity = this.#_3XueAFds2NBrqNpnV8b7aC8hV72S_minimumQuantity.slice();
33263
33289
  if ("minimumQuantity" in values && values.minimumQuantity != null) {
33264
33290
  if (values.minimumQuantity instanceof Measure) {
33265
33291
  // @ts-ignore: type is checked above.
@@ -34138,7 +34164,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34138
34164
  * Clones this instance, optionally updating it with the given values.
34139
34165
  * @param values The values to update the clone with.
34140
34166
  * @param options The options to use for cloning.
34141
- * @returns The cloned instance.
34167
+ * @returns The cloned instance with its own property arrays. Nested objects
34168
+ * and URLs are shared with this instance.
34142
34169
  */
34143
34170
  override clone(
34144
34171
  values:
@@ -34176,7 +34203,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34176
34203
  // @ts-ignore: $warning is not recognized as a property, but it is.
34177
34204
  options = { ...options, $warning: this._warning };
34178
34205
  }
34179
- const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose;
34206
+ const clone = super.clone(values, options) as unknown as Proposal;clone.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose = this.#_4wb2xgUBheR2gaD2Se8QBH4LEC7_purpose.slice();
34180
34207
  if ("purpose" in values && values.purpose != null) {
34181
34208
  if (typeof values.purpose === "string") {
34182
34209
  // @ts-ignore: type is checked above.
@@ -34189,7 +34216,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34189
34216
  );
34190
34217
  }
34191
34218
  }
34192
- clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes;
34219
+ clone.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes = this.#_sS5LvXX8cn4c3x6ux836AwYbTyJ_publishes.slice();
34193
34220
  if ("publishes" in values && values.publishes != null) {
34194
34221
  if (values.publishes instanceof Intent) {
34195
34222
  // @ts-ignore: type is checked above.
@@ -34202,7 +34229,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34202
34229
  );
34203
34230
  }
34204
34231
  }
34205
- clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal;
34232
+ clone.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal = this.#_Z4ntJgFwR9BaNTbFvkRTGNEwUwy_reciprocal.slice();
34206
34233
  if ("reciprocal" in values && values.reciprocal != null) {
34207
34234
  if (values.reciprocal instanceof Intent) {
34208
34235
  // @ts-ignore: type is checked above.
@@ -34215,7 +34242,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
34215
34242
  );
34216
34243
  }
34217
34244
  }
34218
- clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased;
34245
+ clone.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased = this.#_48ncwmfGhSoqAFByMVh2UxoiozPq_unitBased.slice();
34219
34246
  if ("unitBased" in values && values.unitBased != null) {
34220
34247
  if (typeof values.unitBased === "boolean") {
34221
34248
  // @ts-ignore: type is checked above.
@@ -34938,7 +34965,8 @@ instruments?: (Object | URL)[];}
34938
34965
  * Clones this instance, optionally updating it with the given values.
34939
34966
  * @param values The values to update the clone with.
34940
34967
  * @param options The options to use for cloning.
34941
- * @returns The cloned instance.
34968
+ * @returns The cloned instance with its own property arrays. Nested objects
34969
+ * and URLs are shared with this instance.
34942
34970
  */
34943
34971
  override clone(
34944
34972
  values:
@@ -35287,7 +35315,8 @@ instruments?: (Object | URL)[];}
35287
35315
  * Clones this instance, optionally updating it with the given values.
35288
35316
  * @param values The values to update the clone with.
35289
35317
  * @param options The options to use for cloning.
35290
- * @returns The cloned instance.
35318
+ * @returns The cloned instance with its own property arrays. Nested objects
35319
+ * and URLs are shared with this instance.
35291
35320
  */
35292
35321
  override clone(
35293
35322
  values:
@@ -35631,7 +35660,8 @@ instruments?: (Object | URL)[];}
35631
35660
  * Clones this instance, optionally updating it with the given values.
35632
35661
  * @param values The values to update the clone with.
35633
35662
  * @param options The options to use for cloning.
35634
- * @returns The cloned instance.
35663
+ * @returns The cloned instance with its own property arrays. Nested objects
35664
+ * and URLs are shared with this instance.
35635
35665
  */
35636
35666
  override clone(
35637
35667
  values:
@@ -36040,7 +36070,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36040
36070
  if (Array.isArray(values.preferredUsernames) &&
36041
36071
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
36042
36072
  // @ts-ignore: type is checked above.
36043
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
36073
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
36044
36074
 
36045
36075
  } else {
36046
36076
  throw new TypeError(
@@ -36076,7 +36106,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36076
36106
  if (Array.isArray(values.publicKeys) &&
36077
36107
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
36078
36108
  // @ts-ignore: type is checked above.
36079
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
36109
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
36080
36110
 
36081
36111
  for (let i = 0; i < values.publicKeys.length; i++) {
36082
36112
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -36116,7 +36146,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36116
36146
  if (Array.isArray(values.assertionMethods) &&
36117
36147
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
36118
36148
  // @ts-ignore: type is checked above.
36119
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
36149
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
36120
36150
 
36121
36151
  for (let i = 0; i < values.assertionMethods.length; i++) {
36122
36152
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -36239,7 +36269,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36239
36269
  if (Array.isArray(values.streams) &&
36240
36270
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
36241
36271
  // @ts-ignore: type is checked above.
36242
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
36272
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
36243
36273
 
36244
36274
  for (let i = 0; i < values.streams.length; i++) {
36245
36275
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -36357,7 +36387,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36357
36387
  if (Array.isArray(values.aliases) &&
36358
36388
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
36359
36389
  // @ts-ignore: type is checked above.
36360
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
36390
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
36361
36391
 
36362
36392
  for (let i = 0; i < values.aliases.length; i++) {
36363
36393
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -36397,7 +36427,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36397
36427
  if (Array.isArray(values.services) &&
36398
36428
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
36399
36429
  // @ts-ignore: type is checked above.
36400
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
36430
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
36401
36431
 
36402
36432
  for (let i = 0; i < values.services.length; i++) {
36403
36433
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -36442,7 +36472,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36442
36472
  * Clones this instance, optionally updating it with the given values.
36443
36473
  * @param values The values to update the clone with.
36444
36474
  * @param options The options to use for cloning.
36445
- * @returns The cloned instance.
36475
+ * @returns The cloned instance with its own property arrays. Nested objects
36476
+ * and URLs are shared with this instance.
36446
36477
  */
36447
36478
  override clone(
36448
36479
  values:
@@ -36485,7 +36516,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36485
36516
  // @ts-ignore: $warning is not recognized as a property, but it is.
36486
36517
  options = { ...options, $warning: this._warning };
36487
36518
  }
36488
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
36519
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
36489
36520
  if ("preferredUsername" in values && values.preferredUsername != null) {
36490
36521
  if (typeof values.preferredUsername === "string" || values.preferredUsername instanceof LanguageString) {
36491
36522
  // @ts-ignore: type is checked above.
@@ -36512,7 +36543,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36512
36543
  if (Array.isArray(values.preferredUsernames) &&
36513
36544
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
36514
36545
  // @ts-ignore: type is checked above.
36515
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
36546
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
36516
36547
 
36517
36548
  } else {
36518
36549
  throw new TypeError(
@@ -36521,7 +36552,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36521
36552
  );
36522
36553
  }
36523
36554
  }
36524
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
36555
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
36525
36556
  if ("publicKey" in values && values.publicKey != null) {
36526
36557
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
36527
36558
  // @ts-ignore: type is checked above.
@@ -36548,7 +36579,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36548
36579
  if (Array.isArray(values.publicKeys) &&
36549
36580
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
36550
36581
  // @ts-ignore: type is checked above.
36551
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
36582
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
36552
36583
 
36553
36584
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
36554
36585
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -36562,7 +36593,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36562
36593
  );
36563
36594
  }
36564
36595
  }
36565
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
36596
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
36566
36597
  if ("assertionMethod" in values && values.assertionMethod != null) {
36567
36598
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
36568
36599
  // @ts-ignore: type is checked above.
@@ -36589,7 +36620,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36589
36620
  if (Array.isArray(values.assertionMethods) &&
36590
36621
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
36591
36622
  // @ts-ignore: type is checked above.
36592
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
36623
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
36593
36624
 
36594
36625
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
36595
36626
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -36603,7 +36634,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36603
36634
  );
36604
36635
  }
36605
36636
  }
36606
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
36637
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
36607
36638
  if ("manuallyApprovesFollowers" in values && values.manuallyApprovesFollowers != null) {
36608
36639
  if (typeof values.manuallyApprovesFollowers === "boolean") {
36609
36640
  // @ts-ignore: type is checked above.
@@ -36616,7 +36647,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36616
36647
  );
36617
36648
  }
36618
36649
  }
36619
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
36650
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
36620
36651
  if ("inbox" in values && values.inbox != null) {
36621
36652
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
36622
36653
  // @ts-ignore: type is checked above.
@@ -36629,7 +36660,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36629
36660
  );
36630
36661
  }
36631
36662
  }
36632
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
36663
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
36633
36664
  if ("outbox" in values && values.outbox != null) {
36634
36665
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
36635
36666
  // @ts-ignore: type is checked above.
@@ -36642,7 +36673,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36642
36673
  );
36643
36674
  }
36644
36675
  }
36645
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
36676
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
36646
36677
  if ("following" in values && values.following != null) {
36647
36678
  if (values.following instanceof Collection || values.following instanceof URL) {
36648
36679
  // @ts-ignore: type is checked above.
@@ -36655,7 +36686,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36655
36686
  );
36656
36687
  }
36657
36688
  }
36658
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
36689
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
36659
36690
  if ("followers" in values && values.followers != null) {
36660
36691
  if (values.followers instanceof Collection || values.followers instanceof URL) {
36661
36692
  // @ts-ignore: type is checked above.
@@ -36668,7 +36699,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36668
36699
  );
36669
36700
  }
36670
36701
  }
36671
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
36702
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
36672
36703
  if ("liked" in values && values.liked != null) {
36673
36704
  if (values.liked instanceof Collection || values.liked instanceof URL) {
36674
36705
  // @ts-ignore: type is checked above.
@@ -36681,7 +36712,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36681
36712
  );
36682
36713
  }
36683
36714
  }
36684
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
36715
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
36685
36716
  if ("featured" in values && values.featured != null) {
36686
36717
  if (values.featured instanceof Collection || values.featured instanceof URL) {
36687
36718
  // @ts-ignore: type is checked above.
@@ -36694,7 +36725,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36694
36725
  );
36695
36726
  }
36696
36727
  }
36697
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
36728
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
36698
36729
  if ("featuredTags" in values && values.featuredTags != null) {
36699
36730
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
36700
36731
  // @ts-ignore: type is checked above.
@@ -36707,13 +36738,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36707
36738
  );
36708
36739
  }
36709
36740
  }
36710
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
36741
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
36711
36742
  if ("streams" in values && values.streams != null) {
36712
36743
 
36713
36744
  if (Array.isArray(values.streams) &&
36714
36745
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
36715
36746
  // @ts-ignore: type is checked above.
36716
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
36747
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
36717
36748
 
36718
36749
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
36719
36750
  for (let i = 0; i < values.streams.length; i++) {
@@ -36727,7 +36758,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36727
36758
  );
36728
36759
  }
36729
36760
  }
36730
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
36761
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
36731
36762
  if ("endpoints" in values && values.endpoints != null) {
36732
36763
  if (values.endpoints instanceof Endpoints) {
36733
36764
  // @ts-ignore: type is checked above.
@@ -36740,7 +36771,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36740
36771
  );
36741
36772
  }
36742
36773
  }
36743
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
36774
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
36744
36775
  if ("discoverable" in values && values.discoverable != null) {
36745
36776
  if (typeof values.discoverable === "boolean") {
36746
36777
  // @ts-ignore: type is checked above.
@@ -36753,7 +36784,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36753
36784
  );
36754
36785
  }
36755
36786
  }
36756
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
36787
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
36757
36788
  if ("suspended" in values && values.suspended != null) {
36758
36789
  if (typeof values.suspended === "boolean") {
36759
36790
  // @ts-ignore: type is checked above.
@@ -36766,7 +36797,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36766
36797
  );
36767
36798
  }
36768
36799
  }
36769
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
36800
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
36770
36801
  if ("memorial" in values && values.memorial != null) {
36771
36802
  if (typeof values.memorial === "boolean") {
36772
36803
  // @ts-ignore: type is checked above.
@@ -36779,7 +36810,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36779
36810
  );
36780
36811
  }
36781
36812
  }
36782
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
36813
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
36783
36814
  if ("indexable" in values && values.indexable != null) {
36784
36815
  if (typeof values.indexable === "boolean") {
36785
36816
  // @ts-ignore: type is checked above.
@@ -36792,7 +36823,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36792
36823
  );
36793
36824
  }
36794
36825
  }
36795
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
36826
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
36796
36827
  if ("successor" in values && values.successor != null) {
36797
36828
  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) {
36798
36829
  // @ts-ignore: type is checked above.
@@ -36805,7 +36836,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36805
36836
  );
36806
36837
  }
36807
36838
  }
36808
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
36839
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
36809
36840
  if ("alias" in values && values.alias != null) {
36810
36841
  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) {
36811
36842
  // @ts-ignore: type is checked above.
@@ -36832,7 +36863,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36832
36863
  if (Array.isArray(values.aliases) &&
36833
36864
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
36834
36865
  // @ts-ignore: type is checked above.
36835
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
36866
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
36836
36867
 
36837
36868
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
36838
36869
  for (let i = 0; i < values.aliases.length; i++) {
@@ -36846,7 +36877,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36846
36877
  );
36847
36878
  }
36848
36879
  }
36849
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
36880
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
36850
36881
  if ("service" in values && values.service != null) {
36851
36882
  if (values.service instanceof DidService || values.service instanceof URL) {
36852
36883
  // @ts-ignore: type is checked above.
@@ -36873,7 +36904,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36873
36904
  if (Array.isArray(values.services) &&
36874
36905
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
36875
36906
  // @ts-ignore: type is checked above.
36876
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
36907
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
36877
36908
 
36878
36909
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
36879
36910
  for (let i = 0; i < values.services.length; i++) {
@@ -36887,7 +36918,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36887
36918
  );
36888
36919
  }
36889
36920
  }
36890
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
36921
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
36891
36922
  if ("followedMessage" in values && values.followedMessage != null) {
36892
36923
  if (typeof values.followedMessage === "string") {
36893
36924
  // @ts-ignore: type is checked above.
@@ -36900,7 +36931,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
36900
36931
  );
36901
36932
  }
36902
36933
  }
36903
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
36934
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
36904
36935
  if ("cat" in values && values.cat != null) {
36905
36936
  if (typeof values.cat === "boolean") {
36906
36937
  // @ts-ignore: type is checked above.
@@ -43172,7 +43203,8 @@ instruments?: (Object | URL)[];}
43172
43203
  * Clones this instance, optionally updating it with the given values.
43173
43204
  * @param values The values to update the clone with.
43174
43205
  * @param options The options to use for cloning.
43175
- * @returns The cloned instance.
43206
+ * @returns The cloned instance with its own property arrays. Nested objects
43207
+ * and URLs are shared with this instance.
43176
43208
  */
43177
43209
  override clone(
43178
43210
  values:
@@ -43528,7 +43560,8 @@ instruments?: (Object | URL)[];}
43528
43560
  * Clones this instance, optionally updating it with the given values.
43529
43561
  * @param values The values to update the clone with.
43530
43562
  * @param options The options to use for cloning.
43531
- * @returns The cloned instance.
43563
+ * @returns The cloned instance with its own property arrays. Nested objects
43564
+ * and URLs are shared with this instance.
43532
43565
  */
43533
43566
  override clone(
43534
43567
  values:
@@ -43909,7 +43942,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43909
43942
  * Clones this instance, optionally updating it with the given values.
43910
43943
  * @param values The values to update the clone with.
43911
43944
  * @param options The options to use for cloning.
43912
- * @returns The cloned instance.
43945
+ * @returns The cloned instance with its own property arrays. Nested objects
43946
+ * and URLs are shared with this instance.
43913
43947
  */
43914
43948
  override clone(
43915
43949
  values:
@@ -43947,7 +43981,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43947
43981
  // @ts-ignore: $warning is not recognized as a property, but it is.
43948
43982
  options = { ...options, $warning: this._warning };
43949
43983
  }
43950
- 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);
43984
+ 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);
43951
43985
  if ("quote" in values && values.quote != null) {
43952
43986
  if (values.quote instanceof Object || values.quote instanceof URL) {
43953
43987
  // @ts-ignore: type is checked above.
@@ -43960,7 +43994,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43960
43994
  );
43961
43995
  }
43962
43996
  }
43963
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
43997
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
43964
43998
  if ("quoteUrl" in values && values.quoteUrl != null) {
43965
43999
  if (values.quoteUrl instanceof URL) {
43966
44000
  // @ts-ignore: type is checked above.
@@ -43973,7 +44007,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43973
44007
  );
43974
44008
  }
43975
44009
  }
43976
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
44010
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
43977
44011
  if ("quoteAuthorization" in values && values.quoteAuthorization != null) {
43978
44012
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
43979
44013
  // @ts-ignore: type is checked above.
@@ -45120,7 +45154,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45120
45154
  * Clones this instance, optionally updating it with the given values.
45121
45155
  * @param values The values to update the clone with.
45122
45156
  * @param options The options to use for cloning.
45123
- * @returns The cloned instance.
45157
+ * @returns The cloned instance with its own property arrays. Nested objects
45158
+ * and URLs are shared with this instance.
45124
45159
  */
45125
45160
  override clone(
45126
45161
  values:
@@ -45158,7 +45193,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45158
45193
  // @ts-ignore: $warning is not recognized as a property, but it is.
45159
45194
  options = { ...options, $warning: this._warning };
45160
45195
  }
45161
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
45196
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
45162
45197
  if ("width" in values && values.width != null) {
45163
45198
  if (typeof values.width === "number" && Number.isInteger(values.width) && values.width >= 0) {
45164
45199
  // @ts-ignore: type is checked above.
@@ -45171,7 +45206,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45171
45206
  );
45172
45207
  }
45173
45208
  }
45174
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
45209
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
45175
45210
  if ("height" in values && values.height != null) {
45176
45211
  if (typeof values.height === "number" && Number.isInteger(values.height) && values.height >= 0) {
45177
45212
  // @ts-ignore: type is checked above.
@@ -45704,7 +45739,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
45704
45739
  * Clones this instance, optionally updating it with the given values.
45705
45740
  * @param values The values to update the clone with.
45706
45741
  * @param options The options to use for cloning.
45707
- * @returns The cloned instance.
45742
+ * @returns The cloned instance with its own property arrays. Nested objects
45743
+ * and URLs are shared with this instance.
45708
45744
  */
45709
45745
  override clone(
45710
45746
  values:
@@ -46058,7 +46094,8 @@ instruments?: (Object | URL)[];}
46058
46094
  * Clones this instance, optionally updating it with the given values.
46059
46095
  * @param values The values to update the clone with.
46060
46096
  * @param options The options to use for cloning.
46061
- * @returns The cloned instance.
46097
+ * @returns The cloned instance with its own property arrays. Nested objects
46098
+ * and URLs are shared with this instance.
46062
46099
  */
46063
46100
  override clone(
46064
46101
  values:
@@ -46407,7 +46444,8 @@ instruments?: (Object | URL)[];}
46407
46444
  * Clones this instance, optionally updating it with the given values.
46408
46445
  * @param values The values to update the clone with.
46409
46446
  * @param options The options to use for cloning.
46410
- * @returns The cloned instance.
46447
+ * @returns The cloned instance with its own property arrays. Nested objects
46448
+ * and URLs are shared with this instance.
46411
46449
  */
46412
46450
  override clone(
46413
46451
  values:
@@ -46836,7 +46874,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46836
46874
  if (Array.isArray(values.items) &&
46837
46875
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
46838
46876
  // @ts-ignore: type is checked above.
46839
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
46877
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
46840
46878
 
46841
46879
  for (let i = 0; i < values.items.length; i++) {
46842
46880
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -46959,7 +46997,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46959
46997
  * Clones this instance, optionally updating it with the given values.
46960
46998
  * @param values The values to update the clone with.
46961
46999
  * @param options The options to use for cloning.
46962
- * @returns The cloned instance.
47000
+ * @returns The cloned instance with its own property arrays. Nested objects
47001
+ * and URLs are shared with this instance.
46963
47002
  */
46964
47003
  override clone(
46965
47004
  values:
@@ -46997,7 +47036,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46997
47036
  // @ts-ignore: $warning is not recognized as a property, but it is.
46998
47037
  options = { ...options, $warning: this._warning };
46999
47038
  }
47000
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
47039
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
47001
47040
  if ("totalItems" in values && values.totalItems != null) {
47002
47041
  if (typeof values.totalItems === "number" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
47003
47042
  // @ts-ignore: type is checked above.
@@ -47010,7 +47049,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47010
47049
  );
47011
47050
  }
47012
47051
  }
47013
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
47052
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
47014
47053
  if ("current" in values && values.current != null) {
47015
47054
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
47016
47055
  // @ts-ignore: type is checked above.
@@ -47023,7 +47062,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47023
47062
  );
47024
47063
  }
47025
47064
  }
47026
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
47065
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
47027
47066
  if ("first" in values && values.first != null) {
47028
47067
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
47029
47068
  // @ts-ignore: type is checked above.
@@ -47036,7 +47075,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47036
47075
  );
47037
47076
  }
47038
47077
  }
47039
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
47078
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
47040
47079
  if ("last" in values && values.last != null) {
47041
47080
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
47042
47081
  // @ts-ignore: type is checked above.
@@ -47049,13 +47088,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47049
47088
  );
47050
47089
  }
47051
47090
  }
47052
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
47091
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
47053
47092
  if ("items" in values && values.items != null) {
47054
47093
 
47055
47094
  if (Array.isArray(values.items) &&
47056
47095
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
47057
47096
  // @ts-ignore: type is checked above.
47058
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
47097
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
47059
47098
 
47060
47099
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
47061
47100
  for (let i = 0; i < values.items.length; i++) {
@@ -47069,7 +47108,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47069
47108
  );
47070
47109
  }
47071
47110
  }
47072
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
47111
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
47073
47112
  if ("likesOf" in values && values.likesOf != null) {
47074
47113
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
47075
47114
  // @ts-ignore: type is checked above.
@@ -47082,7 +47121,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47082
47121
  );
47083
47122
  }
47084
47123
  }
47085
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
47124
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
47086
47125
  if ("sharesOf" in values && values.sharesOf != null) {
47087
47126
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
47088
47127
  // @ts-ignore: type is checked above.
@@ -47095,7 +47134,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47095
47134
  );
47096
47135
  }
47097
47136
  }
47098
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
47137
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
47099
47138
  if ("repliesOf" in values && values.repliesOf != null) {
47100
47139
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
47101
47140
  // @ts-ignore: type is checked above.
@@ -47108,7 +47147,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47108
47147
  );
47109
47148
  }
47110
47149
  }
47111
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
47150
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
47112
47151
  if ("inboxOf" in values && values.inboxOf != null) {
47113
47152
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
47114
47153
  // @ts-ignore: type is checked above.
@@ -47121,7 +47160,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47121
47160
  );
47122
47161
  }
47123
47162
  }
47124
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
47163
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
47125
47164
  if ("outboxOf" in values && values.outboxOf != null) {
47126
47165
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
47127
47166
  // @ts-ignore: type is checked above.
@@ -47134,7 +47173,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47134
47173
  );
47135
47174
  }
47136
47175
  }
47137
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
47176
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
47138
47177
  if ("followersOf" in values && values.followersOf != null) {
47139
47178
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
47140
47179
  // @ts-ignore: type is checked above.
@@ -47147,7 +47186,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47147
47186
  );
47148
47187
  }
47149
47188
  }
47150
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
47189
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
47151
47190
  if ("followingOf" in values && values.followingOf != null) {
47152
47191
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
47153
47192
  // @ts-ignore: type is checked above.
@@ -47160,7 +47199,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
47160
47199
  );
47161
47200
  }
47162
47201
  }
47163
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
47202
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
47164
47203
  if ("likedOf" in values && values.likedOf != null) {
47165
47204
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
47166
47205
  // @ts-ignore: type is checked above.
@@ -51667,7 +51706,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51667
51706
  * Clones this instance, optionally updating it with the given values.
51668
51707
  * @param values The values to update the clone with.
51669
51708
  * @param options The options to use for cloning.
51670
- * @returns The cloned instance.
51709
+ * @returns The cloned instance with its own property arrays. Nested objects
51710
+ * and URLs are shared with this instance.
51671
51711
  */
51672
51712
  override clone(
51673
51713
  values:
@@ -51705,7 +51745,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51705
51745
  // @ts-ignore: $warning is not recognized as a property, but it is.
51706
51746
  options = { ...options, $warning: this._warning };
51707
51747
  }
51708
- 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);
51748
+ 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);
51709
51749
  if ("partOf" in values && values.partOf != null) {
51710
51750
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
51711
51751
  // @ts-ignore: type is checked above.
@@ -51718,7 +51758,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51718
51758
  );
51719
51759
  }
51720
51760
  }
51721
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
51761
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
51722
51762
  if ("next" in values && values.next != null) {
51723
51763
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
51724
51764
  // @ts-ignore: type is checked above.
@@ -51731,7 +51771,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
51731
51771
  );
51732
51772
  }
51733
51773
  }
51734
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
51774
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
51735
51775
  if ("prev" in values && values.prev != null) {
51736
51776
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
51737
51777
  // @ts-ignore: type is checked above.
@@ -53061,7 +53101,8 @@ instruments?: (Object | URL)[];}
53061
53101
  * Clones this instance, optionally updating it with the given values.
53062
53102
  * @param values The values to update the clone with.
53063
53103
  * @param options The options to use for cloning.
53064
- * @returns The cloned instance.
53104
+ * @returns The cloned instance with its own property arrays. Nested objects
53105
+ * and URLs are shared with this instance.
53065
53106
  */
53066
53107
  override clone(
53067
53108
  values:
@@ -53404,7 +53445,8 @@ instruments?: (Object | URL)[];}
53404
53445
  * Clones this instance, optionally updating it with the given values.
53405
53446
  * @param values The values to update the clone with.
53406
53447
  * @param options The options to use for cloning.
53407
- * @returns The cloned instance.
53448
+ * @returns The cloned instance with its own property arrays. Nested objects
53449
+ * and URLs are shared with this instance.
53408
53450
  */
53409
53451
  override clone(
53410
53452
  values:
@@ -53745,7 +53787,8 @@ instruments?: (Object | URL)[];}
53745
53787
  * Clones this instance, optionally updating it with the given values.
53746
53788
  * @param values The values to update the clone with.
53747
53789
  * @param options The options to use for cloning.
53748
- * @returns The cloned instance.
53790
+ * @returns The cloned instance with its own property arrays. Nested objects
53791
+ * and URLs are shared with this instance.
53749
53792
  */
53750
53793
  override clone(
53751
53794
  values:
@@ -54225,7 +54268,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54225
54268
  * Clones this instance, optionally updating it with the given values.
54226
54269
  * @param values The values to update the clone with.
54227
54270
  * @param options The options to use for cloning.
54228
- * @returns The cloned instance.
54271
+ * @returns The cloned instance with its own property arrays. Nested objects
54272
+ * and URLs are shared with this instance.
54229
54273
  */
54230
54274
  clone(
54231
54275
  values:
@@ -54253,7 +54297,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54253
54297
  { id: values.id ?? this.id },
54254
54298
  options
54255
54299
  );
54256
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
54300
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
54257
54301
  if ("proxyUrl" in values && values.proxyUrl != null) {
54258
54302
  if (values.proxyUrl instanceof URL) {
54259
54303
  // @ts-ignore: type is checked above.
@@ -54266,7 +54310,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54266
54310
  );
54267
54311
  }
54268
54312
  }
54269
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
54313
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
54270
54314
  if ("oauthAuthorizationEndpoint" in values && values.oauthAuthorizationEndpoint != null) {
54271
54315
  if (values.oauthAuthorizationEndpoint instanceof URL) {
54272
54316
  // @ts-ignore: type is checked above.
@@ -54279,7 +54323,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54279
54323
  );
54280
54324
  }
54281
54325
  }
54282
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
54326
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
54283
54327
  if ("oauthTokenEndpoint" in values && values.oauthTokenEndpoint != null) {
54284
54328
  if (values.oauthTokenEndpoint instanceof URL) {
54285
54329
  // @ts-ignore: type is checked above.
@@ -54292,7 +54336,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54292
54336
  );
54293
54337
  }
54294
54338
  }
54295
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
54339
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
54296
54340
  if ("provideClientKey" in values && values.provideClientKey != null) {
54297
54341
  if (values.provideClientKey instanceof URL) {
54298
54342
  // @ts-ignore: type is checked above.
@@ -54305,7 +54349,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54305
54349
  );
54306
54350
  }
54307
54351
  }
54308
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
54352
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
54309
54353
  if ("signClientKey" in values && values.signClientKey != null) {
54310
54354
  if (values.signClientKey instanceof URL) {
54311
54355
  // @ts-ignore: type is checked above.
@@ -54318,7 +54362,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
54318
54362
  );
54319
54363
  }
54320
54364
  }
54321
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
54365
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
54322
54366
  if ("sharedInbox" in values && values.sharedInbox != null) {
54323
54367
  if (values.sharedInbox instanceof URL) {
54324
54368
  // @ts-ignore: type is checked above.
@@ -55299,7 +55343,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
55299
55343
  * Clones this instance, optionally updating it with the given values.
55300
55344
  * @param values The values to update the clone with.
55301
55345
  * @param options The options to use for cloning.
55302
- * @returns The cloned instance.
55346
+ * @returns The cloned instance with its own property arrays. Nested objects
55347
+ * and URLs are shared with this instance.
55303
55348
  */
55304
55349
  override clone(
55305
55350
  values:
@@ -55654,7 +55699,8 @@ instruments?: (Object | URL)[];}
55654
55699
  * Clones this instance, optionally updating it with the given values.
55655
55700
  * @param values The values to update the clone with.
55656
55701
  * @param options The options to use for cloning.
55657
- * @returns The cloned instance.
55702
+ * @returns The cloned instance with its own property arrays. Nested objects
55703
+ * and URLs are shared with this instance.
55658
55704
  */
55659
55705
  override clone(
55660
55706
  values:
@@ -55999,7 +56045,8 @@ instruments?: (Object | URL)[];}
55999
56045
  * Clones this instance, optionally updating it with the given values.
56000
56046
  * @param values The values to update the clone with.
56001
56047
  * @param options The options to use for cloning.
56002
- * @returns The cloned instance.
56048
+ * @returns The cloned instance with its own property arrays. Nested objects
56049
+ * and URLs are shared with this instance.
56003
56050
  */
56004
56051
  override clone(
56005
56052
  values:
@@ -56408,7 +56455,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56408
56455
  if (Array.isArray(values.preferredUsernames) &&
56409
56456
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
56410
56457
  // @ts-ignore: type is checked above.
56411
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
56458
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
56412
56459
 
56413
56460
  } else {
56414
56461
  throw new TypeError(
@@ -56444,7 +56491,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56444
56491
  if (Array.isArray(values.publicKeys) &&
56445
56492
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
56446
56493
  // @ts-ignore: type is checked above.
56447
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
56494
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
56448
56495
 
56449
56496
  for (let i = 0; i < values.publicKeys.length; i++) {
56450
56497
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -56484,7 +56531,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56484
56531
  if (Array.isArray(values.assertionMethods) &&
56485
56532
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
56486
56533
  // @ts-ignore: type is checked above.
56487
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
56534
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
56488
56535
 
56489
56536
  for (let i = 0; i < values.assertionMethods.length; i++) {
56490
56537
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -56607,7 +56654,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56607
56654
  if (Array.isArray(values.streams) &&
56608
56655
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
56609
56656
  // @ts-ignore: type is checked above.
56610
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
56657
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
56611
56658
 
56612
56659
  for (let i = 0; i < values.streams.length; i++) {
56613
56660
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -56725,7 +56772,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56725
56772
  if (Array.isArray(values.aliases) &&
56726
56773
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
56727
56774
  // @ts-ignore: type is checked above.
56728
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
56775
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
56729
56776
 
56730
56777
  for (let i = 0; i < values.aliases.length; i++) {
56731
56778
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -56765,7 +56812,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56765
56812
  if (Array.isArray(values.services) &&
56766
56813
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
56767
56814
  // @ts-ignore: type is checked above.
56768
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
56815
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
56769
56816
 
56770
56817
  for (let i = 0; i < values.services.length; i++) {
56771
56818
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -56810,7 +56857,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56810
56857
  * Clones this instance, optionally updating it with the given values.
56811
56858
  * @param values The values to update the clone with.
56812
56859
  * @param options The options to use for cloning.
56813
- * @returns The cloned instance.
56860
+ * @returns The cloned instance with its own property arrays. Nested objects
56861
+ * and URLs are shared with this instance.
56814
56862
  */
56815
56863
  override clone(
56816
56864
  values:
@@ -56853,7 +56901,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56853
56901
  // @ts-ignore: $warning is not recognized as a property, but it is.
56854
56902
  options = { ...options, $warning: this._warning };
56855
56903
  }
56856
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
56904
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
56857
56905
  if ("preferredUsername" in values && values.preferredUsername != null) {
56858
56906
  if (typeof values.preferredUsername === "string" || values.preferredUsername instanceof LanguageString) {
56859
56907
  // @ts-ignore: type is checked above.
@@ -56880,7 +56928,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56880
56928
  if (Array.isArray(values.preferredUsernames) &&
56881
56929
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
56882
56930
  // @ts-ignore: type is checked above.
56883
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
56931
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
56884
56932
 
56885
56933
  } else {
56886
56934
  throw new TypeError(
@@ -56889,7 +56937,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56889
56937
  );
56890
56938
  }
56891
56939
  }
56892
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
56940
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
56893
56941
  if ("publicKey" in values && values.publicKey != null) {
56894
56942
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
56895
56943
  // @ts-ignore: type is checked above.
@@ -56916,7 +56964,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56916
56964
  if (Array.isArray(values.publicKeys) &&
56917
56965
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
56918
56966
  // @ts-ignore: type is checked above.
56919
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
56967
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
56920
56968
 
56921
56969
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
56922
56970
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -56930,7 +56978,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56930
56978
  );
56931
56979
  }
56932
56980
  }
56933
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
56981
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
56934
56982
  if ("assertionMethod" in values && values.assertionMethod != null) {
56935
56983
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
56936
56984
  // @ts-ignore: type is checked above.
@@ -56957,7 +57005,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56957
57005
  if (Array.isArray(values.assertionMethods) &&
56958
57006
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
56959
57007
  // @ts-ignore: type is checked above.
56960
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
57008
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
56961
57009
 
56962
57010
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
56963
57011
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -56971,7 +57019,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56971
57019
  );
56972
57020
  }
56973
57021
  }
56974
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
57022
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
56975
57023
  if ("manuallyApprovesFollowers" in values && values.manuallyApprovesFollowers != null) {
56976
57024
  if (typeof values.manuallyApprovesFollowers === "boolean") {
56977
57025
  // @ts-ignore: type is checked above.
@@ -56984,7 +57032,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56984
57032
  );
56985
57033
  }
56986
57034
  }
56987
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
57035
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
56988
57036
  if ("inbox" in values && values.inbox != null) {
56989
57037
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
56990
57038
  // @ts-ignore: type is checked above.
@@ -56997,7 +57045,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
56997
57045
  );
56998
57046
  }
56999
57047
  }
57000
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
57048
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
57001
57049
  if ("outbox" in values && values.outbox != null) {
57002
57050
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
57003
57051
  // @ts-ignore: type is checked above.
@@ -57010,7 +57058,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57010
57058
  );
57011
57059
  }
57012
57060
  }
57013
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
57061
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
57014
57062
  if ("following" in values && values.following != null) {
57015
57063
  if (values.following instanceof Collection || values.following instanceof URL) {
57016
57064
  // @ts-ignore: type is checked above.
@@ -57023,7 +57071,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57023
57071
  );
57024
57072
  }
57025
57073
  }
57026
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
57074
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
57027
57075
  if ("followers" in values && values.followers != null) {
57028
57076
  if (values.followers instanceof Collection || values.followers instanceof URL) {
57029
57077
  // @ts-ignore: type is checked above.
@@ -57036,7 +57084,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57036
57084
  );
57037
57085
  }
57038
57086
  }
57039
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
57087
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
57040
57088
  if ("liked" in values && values.liked != null) {
57041
57089
  if (values.liked instanceof Collection || values.liked instanceof URL) {
57042
57090
  // @ts-ignore: type is checked above.
@@ -57049,7 +57097,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57049
57097
  );
57050
57098
  }
57051
57099
  }
57052
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
57100
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
57053
57101
  if ("featured" in values && values.featured != null) {
57054
57102
  if (values.featured instanceof Collection || values.featured instanceof URL) {
57055
57103
  // @ts-ignore: type is checked above.
@@ -57062,7 +57110,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57062
57110
  );
57063
57111
  }
57064
57112
  }
57065
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
57113
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
57066
57114
  if ("featuredTags" in values && values.featuredTags != null) {
57067
57115
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
57068
57116
  // @ts-ignore: type is checked above.
@@ -57075,13 +57123,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57075
57123
  );
57076
57124
  }
57077
57125
  }
57078
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
57126
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
57079
57127
  if ("streams" in values && values.streams != null) {
57080
57128
 
57081
57129
  if (Array.isArray(values.streams) &&
57082
57130
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
57083
57131
  // @ts-ignore: type is checked above.
57084
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
57132
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
57085
57133
 
57086
57134
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
57087
57135
  for (let i = 0; i < values.streams.length; i++) {
@@ -57095,7 +57143,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57095
57143
  );
57096
57144
  }
57097
57145
  }
57098
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
57146
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
57099
57147
  if ("endpoints" in values && values.endpoints != null) {
57100
57148
  if (values.endpoints instanceof Endpoints) {
57101
57149
  // @ts-ignore: type is checked above.
@@ -57108,7 +57156,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57108
57156
  );
57109
57157
  }
57110
57158
  }
57111
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
57159
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
57112
57160
  if ("discoverable" in values && values.discoverable != null) {
57113
57161
  if (typeof values.discoverable === "boolean") {
57114
57162
  // @ts-ignore: type is checked above.
@@ -57121,7 +57169,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57121
57169
  );
57122
57170
  }
57123
57171
  }
57124
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
57172
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
57125
57173
  if ("suspended" in values && values.suspended != null) {
57126
57174
  if (typeof values.suspended === "boolean") {
57127
57175
  // @ts-ignore: type is checked above.
@@ -57134,7 +57182,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57134
57182
  );
57135
57183
  }
57136
57184
  }
57137
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
57185
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
57138
57186
  if ("memorial" in values && values.memorial != null) {
57139
57187
  if (typeof values.memorial === "boolean") {
57140
57188
  // @ts-ignore: type is checked above.
@@ -57147,7 +57195,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57147
57195
  );
57148
57196
  }
57149
57197
  }
57150
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
57198
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
57151
57199
  if ("indexable" in values && values.indexable != null) {
57152
57200
  if (typeof values.indexable === "boolean") {
57153
57201
  // @ts-ignore: type is checked above.
@@ -57160,7 +57208,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57160
57208
  );
57161
57209
  }
57162
57210
  }
57163
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
57211
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
57164
57212
  if ("successor" in values && values.successor != null) {
57165
57213
  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) {
57166
57214
  // @ts-ignore: type is checked above.
@@ -57173,7 +57221,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57173
57221
  );
57174
57222
  }
57175
57223
  }
57176
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
57224
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
57177
57225
  if ("alias" in values && values.alias != null) {
57178
57226
  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) {
57179
57227
  // @ts-ignore: type is checked above.
@@ -57200,7 +57248,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57200
57248
  if (Array.isArray(values.aliases) &&
57201
57249
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
57202
57250
  // @ts-ignore: type is checked above.
57203
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
57251
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
57204
57252
 
57205
57253
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
57206
57254
  for (let i = 0; i < values.aliases.length; i++) {
@@ -57214,7 +57262,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57214
57262
  );
57215
57263
  }
57216
57264
  }
57217
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
57265
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
57218
57266
  if ("service" in values && values.service != null) {
57219
57267
  if (values.service instanceof DidService || values.service instanceof URL) {
57220
57268
  // @ts-ignore: type is checked above.
@@ -57241,7 +57289,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57241
57289
  if (Array.isArray(values.services) &&
57242
57290
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
57243
57291
  // @ts-ignore: type is checked above.
57244
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
57292
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
57245
57293
 
57246
57294
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
57247
57295
  for (let i = 0; i < values.services.length; i++) {
@@ -57255,7 +57303,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57255
57303
  );
57256
57304
  }
57257
57305
  }
57258
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
57306
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
57259
57307
  if ("followedMessage" in values && values.followedMessage != null) {
57260
57308
  if (typeof values.followedMessage === "string") {
57261
57309
  // @ts-ignore: type is checked above.
@@ -57268,7 +57316,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
57268
57316
  );
57269
57317
  }
57270
57318
  }
57271
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
57319
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
57272
57320
  if ("cat" in values && values.cat != null) {
57273
57321
  if (typeof values.cat === "boolean") {
57274
57322
  // @ts-ignore: type is checked above.
@@ -63646,7 +63694,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63646
63694
  if (Array.isArray(values.rels) &&
63647
63695
  values.rels.every(v => typeof v === "string")) {
63648
63696
  // @ts-ignore: type is checked above.
63649
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
63697
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
63650
63698
 
63651
63699
  } else {
63652
63700
  throw new TypeError(
@@ -63695,7 +63743,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63695
63743
  if (Array.isArray(values.names) &&
63696
63744
  values.names.every(v => typeof v === "string" || v instanceof LanguageString)) {
63697
63745
  // @ts-ignore: type is checked above.
63698
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
63746
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
63699
63747
 
63700
63748
  } else {
63701
63749
  throw new TypeError(
@@ -63749,7 +63797,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63749
63797
  if (Array.isArray(values.previews) &&
63750
63798
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
63751
63799
  // @ts-ignore: type is checked above.
63752
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
63800
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
63753
63801
 
63754
63802
  for (let i = 0; i < values.previews.length; i++) {
63755
63803
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -63768,7 +63816,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63768
63816
  * Clones this instance, optionally updating it with the given values.
63769
63817
  * @param values The values to update the clone with.
63770
63818
  * @param options The options to use for cloning.
63771
- * @returns The cloned instance.
63819
+ * @returns The cloned instance with its own property arrays. Nested objects
63820
+ * and URLs are shared with this instance.
63772
63821
  */
63773
63822
  clone(
63774
63823
  values:
@@ -63798,7 +63847,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63798
63847
  { id: values.id ?? this.id },
63799
63848
  options
63800
63849
  );
63801
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
63850
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
63802
63851
  if ("href" in values && values.href != null) {
63803
63852
  if (values.href instanceof URL) {
63804
63853
  // @ts-ignore: type is checked above.
@@ -63811,7 +63860,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63811
63860
  );
63812
63861
  }
63813
63862
  }
63814
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
63863
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
63815
63864
  if ("rel" in values && values.rel != null) {
63816
63865
  if (typeof values.rel === "string") {
63817
63866
  // @ts-ignore: type is checked above.
@@ -63838,7 +63887,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63838
63887
  if (Array.isArray(values.rels) &&
63839
63888
  values.rels.every(v => typeof v === "string")) {
63840
63889
  // @ts-ignore: type is checked above.
63841
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
63890
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
63842
63891
 
63843
63892
  } else {
63844
63893
  throw new TypeError(
@@ -63847,7 +63896,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63847
63896
  );
63848
63897
  }
63849
63898
  }
63850
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
63899
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
63851
63900
  if ("mediaType" in values && values.mediaType != null) {
63852
63901
  if (typeof values.mediaType === "string") {
63853
63902
  // @ts-ignore: type is checked above.
@@ -63860,7 +63909,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63860
63909
  );
63861
63910
  }
63862
63911
  }
63863
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
63912
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
63864
63913
  if ("name" in values && values.name != null) {
63865
63914
  if (typeof values.name === "string" || values.name instanceof LanguageString) {
63866
63915
  // @ts-ignore: type is checked above.
@@ -63887,7 +63936,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63887
63936
  if (Array.isArray(values.names) &&
63888
63937
  values.names.every(v => typeof v === "string" || v instanceof LanguageString)) {
63889
63938
  // @ts-ignore: type is checked above.
63890
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
63939
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
63891
63940
 
63892
63941
  } else {
63893
63942
  throw new TypeError(
@@ -63896,7 +63945,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63896
63945
  );
63897
63946
  }
63898
63947
  }
63899
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
63948
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
63900
63949
  if ("language" in values && values.language != null) {
63901
63950
  if (values.language instanceof Intl.Locale) {
63902
63951
  // @ts-ignore: type is checked above.
@@ -63909,7 +63958,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63909
63958
  );
63910
63959
  }
63911
63960
  }
63912
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
63961
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
63913
63962
  if ("height" in values && values.height != null) {
63914
63963
  if (typeof values.height === "number" && Number.isInteger(values.height) && values.height >= 0) {
63915
63964
  // @ts-ignore: type is checked above.
@@ -63922,7 +63971,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63922
63971
  );
63923
63972
  }
63924
63973
  }
63925
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
63974
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
63926
63975
  if ("width" in values && values.width != null) {
63927
63976
  if (typeof values.width === "number" && Number.isInteger(values.width) && values.width >= 0) {
63928
63977
  // @ts-ignore: type is checked above.
@@ -63935,13 +63984,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
63935
63984
  );
63936
63985
  }
63937
63986
  }
63938
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
63987
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
63939
63988
  if ("previews" in values && values.previews != null) {
63940
63989
 
63941
63990
  if (Array.isArray(values.previews) &&
63942
63991
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
63943
63992
  // @ts-ignore: type is checked above.
63944
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
63993
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
63945
63994
 
63946
63995
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
63947
63996
  for (let i = 0; i < values.previews.length; i++) {
@@ -64936,7 +64985,7 @@ get names(): ((string | LanguageString))[] {
64936
64985
  if (v == null) continue;
64937
64986
 
64938
64987
  const decoded =
64939
- new Intl.Locale(v["@value"])
64988
+ new Intl.Locale(normalizeLanguageTag(v["@value"]))
64940
64989
  ;
64941
64990
 
64942
64991
  if (typeof decoded === "undefined") {
@@ -65336,7 +65385,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
65336
65385
  * Clones this instance, optionally updating it with the given values.
65337
65386
  * @param values The values to update the clone with.
65338
65387
  * @param options The options to use for cloning.
65339
- * @returns The cloned instance.
65388
+ * @returns The cloned instance with its own property arrays. Nested objects
65389
+ * and URLs are shared with this instance.
65340
65390
  */
65341
65391
  override clone(
65342
65392
  values:
@@ -65657,7 +65707,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
65657
65707
  * Clones this instance, optionally updating it with the given values.
65658
65708
  * @param values The values to update the clone with.
65659
65709
  * @param options The options to use for cloning.
65660
- * @returns The cloned instance.
65710
+ * @returns The cloned instance with its own property arrays. Nested objects
65711
+ * and URLs are shared with this instance.
65661
65712
  */
65662
65713
  override clone(
65663
65714
  values:
@@ -66012,7 +66063,8 @@ instruments?: (Object | URL)[];}
66012
66063
  * Clones this instance, optionally updating it with the given values.
66013
66064
  * @param values The values to update the clone with.
66014
66065
  * @param options The options to use for cloning.
66015
- * @returns The cloned instance.
66066
+ * @returns The cloned instance with its own property arrays. Nested objects
66067
+ * and URLs are shared with this instance.
66016
66068
  */
66017
66069
  override clone(
66018
66070
  values:
@@ -66359,7 +66411,8 @@ instruments?: (Object | URL)[];}
66359
66411
  * Clones this instance, optionally updating it with the given values.
66360
66412
  * @param values The values to update the clone with.
66361
66413
  * @param options The options to use for cloning.
66362
- * @returns The cloned instance.
66414
+ * @returns The cloned instance with its own property arrays. Nested objects
66415
+ * and URLs are shared with this instance.
66363
66416
  */
66364
66417
  override clone(
66365
66418
  values:
@@ -66702,7 +66755,8 @@ instruments?: (Object | URL)[];}
66702
66755
  * Clones this instance, optionally updating it with the given values.
66703
66756
  * @param values The values to update the clone with.
66704
66757
  * @param options The options to use for cloning.
66705
- * @returns The cloned instance.
66758
+ * @returns The cloned instance with its own property arrays. Nested objects
66759
+ * and URLs are shared with this instance.
66706
66760
  */
66707
66761
  override clone(
66708
66762
  values:
@@ -67045,7 +67099,8 @@ instruments?: (Object | URL)[];}
67045
67099
  * Clones this instance, optionally updating it with the given values.
67046
67100
  * @param values The values to update the clone with.
67047
67101
  * @param options The options to use for cloning.
67048
- * @returns The cloned instance.
67102
+ * @returns The cloned instance with its own property arrays. Nested objects
67103
+ * and URLs are shared with this instance.
67049
67104
  */
67050
67105
  override clone(
67051
67106
  values:
@@ -67388,7 +67443,8 @@ instruments?: (Object | URL)[];}
67388
67443
  * Clones this instance, optionally updating it with the given values.
67389
67444
  * @param values The values to update the clone with.
67390
67445
  * @param options The options to use for cloning.
67391
- * @returns The cloned instance.
67446
+ * @returns The cloned instance with its own property arrays. Nested objects
67447
+ * and URLs are shared with this instance.
67392
67448
  */
67393
67449
  override clone(
67394
67450
  values:
@@ -67729,7 +67785,8 @@ instruments?: (Object | URL)[];}
67729
67785
  * Clones this instance, optionally updating it with the given values.
67730
67786
  * @param values The values to update the clone with.
67731
67787
  * @param options The options to use for cloning.
67732
- * @returns The cloned instance.
67788
+ * @returns The cloned instance with its own property arrays. Nested objects
67789
+ * and URLs are shared with this instance.
67733
67790
  */
67734
67791
  override clone(
67735
67792
  values:
@@ -68050,7 +68107,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
68050
68107
  * Clones this instance, optionally updating it with the given values.
68051
68108
  * @param values The values to update the clone with.
68052
68109
  * @param options The options to use for cloning.
68053
- * @returns The cloned instance.
68110
+ * @returns The cloned instance with its own property arrays. Nested objects
68111
+ * and URLs are shared with this instance.
68054
68112
  */
68055
68113
  override clone(
68056
68114
  values:
@@ -68380,7 +68438,8 @@ instruments?: (Object | URL)[];}
68380
68438
  * Clones this instance, optionally updating it with the given values.
68381
68439
  * @param values The values to update the clone with.
68382
68440
  * @param options The options to use for cloning.
68383
- * @returns The cloned instance.
68441
+ * @returns The cloned instance with its own property arrays. Nested objects
68442
+ * and URLs are shared with this instance.
68384
68443
  */
68385
68444
  override clone(
68386
68445
  values:
@@ -68763,7 +68822,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68763
68822
  * Clones this instance, optionally updating it with the given values.
68764
68823
  * @param values The values to update the clone with.
68765
68824
  * @param options The options to use for cloning.
68766
- * @returns The cloned instance.
68825
+ * @returns The cloned instance with its own property arrays. Nested objects
68826
+ * and URLs are shared with this instance.
68767
68827
  */
68768
68828
  override clone(
68769
68829
  values:
@@ -68801,7 +68861,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68801
68861
  // @ts-ignore: $warning is not recognized as a property, but it is.
68802
68862
  options = { ...options, $warning: this._warning };
68803
68863
  }
68804
- 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);
68864
+ 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);
68805
68865
  if ("quote" in values && values.quote != null) {
68806
68866
  if (values.quote instanceof Object || values.quote instanceof URL) {
68807
68867
  // @ts-ignore: type is checked above.
@@ -68814,7 +68874,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68814
68874
  );
68815
68875
  }
68816
68876
  }
68817
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
68877
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
68818
68878
  if ("quoteUrl" in values && values.quoteUrl != null) {
68819
68879
  if (values.quoteUrl instanceof URL) {
68820
68880
  // @ts-ignore: type is checked above.
@@ -68827,7 +68887,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
68827
68887
  );
68828
68888
  }
68829
68889
  }
68830
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
68890
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
68831
68891
  if ("quoteAuthorization" in values && values.quoteAuthorization != null) {
68832
68892
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
68833
68893
  // @ts-ignore: type is checked above.
@@ -69951,7 +70011,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
69951
70011
  if (Array.isArray(values.items) &&
69952
70012
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
69953
70013
  // @ts-ignore: type is checked above.
69954
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70014
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
69955
70015
 
69956
70016
  for (let i = 0; i < values.items.length; i++) {
69957
70017
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -69970,7 +70030,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
69970
70030
  * Clones this instance, optionally updating it with the given values.
69971
70031
  * @param values The values to update the clone with.
69972
70032
  * @param options The options to use for cloning.
69973
- * @returns The cloned instance.
70033
+ * @returns The cloned instance with its own property arrays. Nested objects
70034
+ * and URLs are shared with this instance.
69974
70035
  */
69975
70036
  override clone(
69976
70037
  values:
@@ -70008,13 +70069,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70008
70069
  // @ts-ignore: $warning is not recognized as a property, but it is.
70009
70070
  options = { ...options, $warning: this._warning };
70010
70071
  }
70011
- 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);
70072
+ 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);
70012
70073
  if ("items" in values && values.items != null) {
70013
70074
 
70014
70075
  if (Array.isArray(values.items) &&
70015
70076
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
70016
70077
  // @ts-ignore: type is checked above.
70017
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70078
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
70018
70079
 
70019
70080
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
70020
70081
  for (let i = 0; i < values.items.length; i++) {
@@ -70698,7 +70759,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70698
70759
  if (Array.isArray(values.items) &&
70699
70760
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
70700
70761
  // @ts-ignore: type is checked above.
70701
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70762
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
70702
70763
 
70703
70764
  for (let i = 0; i < values.items.length; i++) {
70704
70765
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -70730,7 +70791,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70730
70791
  * Clones this instance, optionally updating it with the given values.
70731
70792
  * @param values The values to update the clone with.
70732
70793
  * @param options The options to use for cloning.
70733
- * @returns The cloned instance.
70794
+ * @returns The cloned instance with its own property arrays. Nested objects
70795
+ * and URLs are shared with this instance.
70734
70796
  */
70735
70797
  override clone(
70736
70798
  values:
@@ -70768,13 +70830,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70768
70830
  // @ts-ignore: $warning is not recognized as a property, but it is.
70769
70831
  options = { ...options, $warning: this._warning };
70770
70832
  }
70771
- 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);
70833
+ 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);
70772
70834
  if ("items" in values && values.items != null) {
70773
70835
 
70774
70836
  if (Array.isArray(values.items) &&
70775
70837
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
70776
70838
  // @ts-ignore: type is checked above.
70777
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
70839
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
70778
70840
 
70779
70841
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
70780
70842
  for (let i = 0; i < values.items.length; i++) {
@@ -70788,7 +70850,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
70788
70850
  );
70789
70851
  }
70790
70852
  }
70791
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
70853
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
70792
70854
  if ("startIndex" in values && values.startIndex != null) {
70793
70855
  if (typeof values.startIndex === "number" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
70794
70856
  // @ts-ignore: type is checked above.
@@ -71636,7 +71698,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71636
71698
  if (Array.isArray(values.preferredUsernames) &&
71637
71699
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
71638
71700
  // @ts-ignore: type is checked above.
71639
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
71701
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
71640
71702
 
71641
71703
  } else {
71642
71704
  throw new TypeError(
@@ -71672,7 +71734,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71672
71734
  if (Array.isArray(values.publicKeys) &&
71673
71735
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
71674
71736
  // @ts-ignore: type is checked above.
71675
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
71737
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
71676
71738
 
71677
71739
  for (let i = 0; i < values.publicKeys.length; i++) {
71678
71740
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -71712,7 +71774,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71712
71774
  if (Array.isArray(values.assertionMethods) &&
71713
71775
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
71714
71776
  // @ts-ignore: type is checked above.
71715
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
71777
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
71716
71778
 
71717
71779
  for (let i = 0; i < values.assertionMethods.length; i++) {
71718
71780
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -71835,7 +71897,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71835
71897
  if (Array.isArray(values.streams) &&
71836
71898
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
71837
71899
  // @ts-ignore: type is checked above.
71838
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
71900
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
71839
71901
 
71840
71902
  for (let i = 0; i < values.streams.length; i++) {
71841
71903
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -71953,7 +72015,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71953
72015
  if (Array.isArray(values.aliases) &&
71954
72016
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
71955
72017
  // @ts-ignore: type is checked above.
71956
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
72018
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
71957
72019
 
71958
72020
  for (let i = 0; i < values.aliases.length; i++) {
71959
72021
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -71993,7 +72055,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
71993
72055
  if (Array.isArray(values.services) &&
71994
72056
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
71995
72057
  // @ts-ignore: type is checked above.
71996
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
72058
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
71997
72059
 
71998
72060
  for (let i = 0; i < values.services.length; i++) {
71999
72061
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -72038,7 +72100,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72038
72100
  * Clones this instance, optionally updating it with the given values.
72039
72101
  * @param values The values to update the clone with.
72040
72102
  * @param options The options to use for cloning.
72041
- * @returns The cloned instance.
72103
+ * @returns The cloned instance with its own property arrays. Nested objects
72104
+ * and URLs are shared with this instance.
72042
72105
  */
72043
72106
  override clone(
72044
72107
  values:
@@ -72081,7 +72144,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72081
72144
  // @ts-ignore: $warning is not recognized as a property, but it is.
72082
72145
  options = { ...options, $warning: this._warning };
72083
72146
  }
72084
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
72147
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
72085
72148
  if ("preferredUsername" in values && values.preferredUsername != null) {
72086
72149
  if (typeof values.preferredUsername === "string" || values.preferredUsername instanceof LanguageString) {
72087
72150
  // @ts-ignore: type is checked above.
@@ -72108,7 +72171,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72108
72171
  if (Array.isArray(values.preferredUsernames) &&
72109
72172
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
72110
72173
  // @ts-ignore: type is checked above.
72111
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
72174
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
72112
72175
 
72113
72176
  } else {
72114
72177
  throw new TypeError(
@@ -72117,7 +72180,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72117
72180
  );
72118
72181
  }
72119
72182
  }
72120
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
72183
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
72121
72184
  if ("publicKey" in values && values.publicKey != null) {
72122
72185
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
72123
72186
  // @ts-ignore: type is checked above.
@@ -72144,7 +72207,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72144
72207
  if (Array.isArray(values.publicKeys) &&
72145
72208
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
72146
72209
  // @ts-ignore: type is checked above.
72147
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
72210
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
72148
72211
 
72149
72212
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
72150
72213
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -72158,7 +72221,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72158
72221
  );
72159
72222
  }
72160
72223
  }
72161
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
72224
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
72162
72225
  if ("assertionMethod" in values && values.assertionMethod != null) {
72163
72226
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
72164
72227
  // @ts-ignore: type is checked above.
@@ -72185,7 +72248,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72185
72248
  if (Array.isArray(values.assertionMethods) &&
72186
72249
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
72187
72250
  // @ts-ignore: type is checked above.
72188
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
72251
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
72189
72252
 
72190
72253
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
72191
72254
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -72199,7 +72262,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72199
72262
  );
72200
72263
  }
72201
72264
  }
72202
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
72265
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
72203
72266
  if ("manuallyApprovesFollowers" in values && values.manuallyApprovesFollowers != null) {
72204
72267
  if (typeof values.manuallyApprovesFollowers === "boolean") {
72205
72268
  // @ts-ignore: type is checked above.
@@ -72212,7 +72275,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72212
72275
  );
72213
72276
  }
72214
72277
  }
72215
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
72278
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
72216
72279
  if ("inbox" in values && values.inbox != null) {
72217
72280
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
72218
72281
  // @ts-ignore: type is checked above.
@@ -72225,7 +72288,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72225
72288
  );
72226
72289
  }
72227
72290
  }
72228
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
72291
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
72229
72292
  if ("outbox" in values && values.outbox != null) {
72230
72293
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
72231
72294
  // @ts-ignore: type is checked above.
@@ -72238,7 +72301,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72238
72301
  );
72239
72302
  }
72240
72303
  }
72241
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
72304
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
72242
72305
  if ("following" in values && values.following != null) {
72243
72306
  if (values.following instanceof Collection || values.following instanceof URL) {
72244
72307
  // @ts-ignore: type is checked above.
@@ -72251,7 +72314,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72251
72314
  );
72252
72315
  }
72253
72316
  }
72254
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
72317
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
72255
72318
  if ("followers" in values && values.followers != null) {
72256
72319
  if (values.followers instanceof Collection || values.followers instanceof URL) {
72257
72320
  // @ts-ignore: type is checked above.
@@ -72264,7 +72327,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72264
72327
  );
72265
72328
  }
72266
72329
  }
72267
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
72330
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
72268
72331
  if ("liked" in values && values.liked != null) {
72269
72332
  if (values.liked instanceof Collection || values.liked instanceof URL) {
72270
72333
  // @ts-ignore: type is checked above.
@@ -72277,7 +72340,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72277
72340
  );
72278
72341
  }
72279
72342
  }
72280
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
72343
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
72281
72344
  if ("featured" in values && values.featured != null) {
72282
72345
  if (values.featured instanceof Collection || values.featured instanceof URL) {
72283
72346
  // @ts-ignore: type is checked above.
@@ -72290,7 +72353,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72290
72353
  );
72291
72354
  }
72292
72355
  }
72293
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
72356
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
72294
72357
  if ("featuredTags" in values && values.featuredTags != null) {
72295
72358
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
72296
72359
  // @ts-ignore: type is checked above.
@@ -72303,13 +72366,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72303
72366
  );
72304
72367
  }
72305
72368
  }
72306
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
72369
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
72307
72370
  if ("streams" in values && values.streams != null) {
72308
72371
 
72309
72372
  if (Array.isArray(values.streams) &&
72310
72373
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
72311
72374
  // @ts-ignore: type is checked above.
72312
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
72375
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
72313
72376
 
72314
72377
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
72315
72378
  for (let i = 0; i < values.streams.length; i++) {
@@ -72323,7 +72386,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72323
72386
  );
72324
72387
  }
72325
72388
  }
72326
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
72389
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
72327
72390
  if ("endpoints" in values && values.endpoints != null) {
72328
72391
  if (values.endpoints instanceof Endpoints) {
72329
72392
  // @ts-ignore: type is checked above.
@@ -72336,7 +72399,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72336
72399
  );
72337
72400
  }
72338
72401
  }
72339
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
72402
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
72340
72403
  if ("discoverable" in values && values.discoverable != null) {
72341
72404
  if (typeof values.discoverable === "boolean") {
72342
72405
  // @ts-ignore: type is checked above.
@@ -72349,7 +72412,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72349
72412
  );
72350
72413
  }
72351
72414
  }
72352
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
72415
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
72353
72416
  if ("suspended" in values && values.suspended != null) {
72354
72417
  if (typeof values.suspended === "boolean") {
72355
72418
  // @ts-ignore: type is checked above.
@@ -72362,7 +72425,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72362
72425
  );
72363
72426
  }
72364
72427
  }
72365
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
72428
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
72366
72429
  if ("memorial" in values && values.memorial != null) {
72367
72430
  if (typeof values.memorial === "boolean") {
72368
72431
  // @ts-ignore: type is checked above.
@@ -72375,7 +72438,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72375
72438
  );
72376
72439
  }
72377
72440
  }
72378
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
72441
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
72379
72442
  if ("indexable" in values && values.indexable != null) {
72380
72443
  if (typeof values.indexable === "boolean") {
72381
72444
  // @ts-ignore: type is checked above.
@@ -72388,7 +72451,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72388
72451
  );
72389
72452
  }
72390
72453
  }
72391
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
72454
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
72392
72455
  if ("successor" in values && values.successor != null) {
72393
72456
  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) {
72394
72457
  // @ts-ignore: type is checked above.
@@ -72401,7 +72464,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72401
72464
  );
72402
72465
  }
72403
72466
  }
72404
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
72467
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
72405
72468
  if ("alias" in values && values.alias != null) {
72406
72469
  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) {
72407
72470
  // @ts-ignore: type is checked above.
@@ -72428,7 +72491,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72428
72491
  if (Array.isArray(values.aliases) &&
72429
72492
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
72430
72493
  // @ts-ignore: type is checked above.
72431
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
72494
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
72432
72495
 
72433
72496
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
72434
72497
  for (let i = 0; i < values.aliases.length; i++) {
@@ -72442,7 +72505,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72442
72505
  );
72443
72506
  }
72444
72507
  }
72445
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
72508
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
72446
72509
  if ("service" in values && values.service != null) {
72447
72510
  if (values.service instanceof DidService || values.service instanceof URL) {
72448
72511
  // @ts-ignore: type is checked above.
@@ -72469,7 +72532,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72469
72532
  if (Array.isArray(values.services) &&
72470
72533
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
72471
72534
  // @ts-ignore: type is checked above.
72472
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
72535
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
72473
72536
 
72474
72537
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
72475
72538
  for (let i = 0; i < values.services.length; i++) {
@@ -72483,7 +72546,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72483
72546
  );
72484
72547
  }
72485
72548
  }
72486
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
72549
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
72487
72550
  if ("followedMessage" in values && values.followedMessage != null) {
72488
72551
  if (typeof values.followedMessage === "string") {
72489
72552
  // @ts-ignore: type is checked above.
@@ -72496,7 +72559,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
72496
72559
  );
72497
72560
  }
72498
72561
  }
72499
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
72562
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
72500
72563
  if ("cat" in values && values.cat != null) {
72501
72564
  if (typeof values.cat === "boolean") {
72502
72565
  // @ts-ignore: type is checked above.
@@ -78759,7 +78822,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
78759
78822
  * Clones this instance, optionally updating it with the given values.
78760
78823
  * @param values The values to update the clone with.
78761
78824
  * @param options The options to use for cloning.
78762
- * @returns The cloned instance.
78825
+ * @returns The cloned instance with its own property arrays. Nested objects
78826
+ * and URLs are shared with this instance.
78763
78827
  */
78764
78828
  override clone(
78765
78829
  values:
@@ -79179,7 +79243,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79179
79243
  if (Array.isArray(values.preferredUsernames) &&
79180
79244
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
79181
79245
  // @ts-ignore: type is checked above.
79182
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
79246
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
79183
79247
 
79184
79248
  } else {
79185
79249
  throw new TypeError(
@@ -79215,7 +79279,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79215
79279
  if (Array.isArray(values.publicKeys) &&
79216
79280
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
79217
79281
  // @ts-ignore: type is checked above.
79218
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
79282
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
79219
79283
 
79220
79284
  for (let i = 0; i < values.publicKeys.length; i++) {
79221
79285
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -79255,7 +79319,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79255
79319
  if (Array.isArray(values.assertionMethods) &&
79256
79320
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
79257
79321
  // @ts-ignore: type is checked above.
79258
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
79322
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
79259
79323
 
79260
79324
  for (let i = 0; i < values.assertionMethods.length; i++) {
79261
79325
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -79378,7 +79442,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79378
79442
  if (Array.isArray(values.streams) &&
79379
79443
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
79380
79444
  // @ts-ignore: type is checked above.
79381
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
79445
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
79382
79446
 
79383
79447
  for (let i = 0; i < values.streams.length; i++) {
79384
79448
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -79496,7 +79560,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79496
79560
  if (Array.isArray(values.aliases) &&
79497
79561
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
79498
79562
  // @ts-ignore: type is checked above.
79499
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
79563
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
79500
79564
 
79501
79565
  for (let i = 0; i < values.aliases.length; i++) {
79502
79566
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -79536,7 +79600,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79536
79600
  if (Array.isArray(values.services) &&
79537
79601
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
79538
79602
  // @ts-ignore: type is checked above.
79539
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
79603
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
79540
79604
 
79541
79605
  for (let i = 0; i < values.services.length; i++) {
79542
79606
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -79581,7 +79645,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79581
79645
  * Clones this instance, optionally updating it with the given values.
79582
79646
  * @param values The values to update the clone with.
79583
79647
  * @param options The options to use for cloning.
79584
- * @returns The cloned instance.
79648
+ * @returns The cloned instance with its own property arrays. Nested objects
79649
+ * and URLs are shared with this instance.
79585
79650
  */
79586
79651
  override clone(
79587
79652
  values:
@@ -79624,7 +79689,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79624
79689
  // @ts-ignore: $warning is not recognized as a property, but it is.
79625
79690
  options = { ...options, $warning: this._warning };
79626
79691
  }
79627
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
79692
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
79628
79693
  if ("preferredUsername" in values && values.preferredUsername != null) {
79629
79694
  if (typeof values.preferredUsername === "string" || values.preferredUsername instanceof LanguageString) {
79630
79695
  // @ts-ignore: type is checked above.
@@ -79651,7 +79716,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79651
79716
  if (Array.isArray(values.preferredUsernames) &&
79652
79717
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
79653
79718
  // @ts-ignore: type is checked above.
79654
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
79719
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
79655
79720
 
79656
79721
  } else {
79657
79722
  throw new TypeError(
@@ -79660,7 +79725,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79660
79725
  );
79661
79726
  }
79662
79727
  }
79663
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
79728
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
79664
79729
  if ("publicKey" in values && values.publicKey != null) {
79665
79730
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
79666
79731
  // @ts-ignore: type is checked above.
@@ -79687,7 +79752,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79687
79752
  if (Array.isArray(values.publicKeys) &&
79688
79753
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
79689
79754
  // @ts-ignore: type is checked above.
79690
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
79755
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
79691
79756
 
79692
79757
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
79693
79758
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -79701,7 +79766,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79701
79766
  );
79702
79767
  }
79703
79768
  }
79704
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
79769
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
79705
79770
  if ("assertionMethod" in values && values.assertionMethod != null) {
79706
79771
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
79707
79772
  // @ts-ignore: type is checked above.
@@ -79728,7 +79793,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79728
79793
  if (Array.isArray(values.assertionMethods) &&
79729
79794
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
79730
79795
  // @ts-ignore: type is checked above.
79731
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
79796
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
79732
79797
 
79733
79798
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
79734
79799
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -79742,7 +79807,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79742
79807
  );
79743
79808
  }
79744
79809
  }
79745
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
79810
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
79746
79811
  if ("manuallyApprovesFollowers" in values && values.manuallyApprovesFollowers != null) {
79747
79812
  if (typeof values.manuallyApprovesFollowers === "boolean") {
79748
79813
  // @ts-ignore: type is checked above.
@@ -79755,7 +79820,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79755
79820
  );
79756
79821
  }
79757
79822
  }
79758
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
79823
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
79759
79824
  if ("inbox" in values && values.inbox != null) {
79760
79825
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
79761
79826
  // @ts-ignore: type is checked above.
@@ -79768,7 +79833,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79768
79833
  );
79769
79834
  }
79770
79835
  }
79771
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
79836
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
79772
79837
  if ("outbox" in values && values.outbox != null) {
79773
79838
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
79774
79839
  // @ts-ignore: type is checked above.
@@ -79781,7 +79846,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79781
79846
  );
79782
79847
  }
79783
79848
  }
79784
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
79849
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
79785
79850
  if ("following" in values && values.following != null) {
79786
79851
  if (values.following instanceof Collection || values.following instanceof URL) {
79787
79852
  // @ts-ignore: type is checked above.
@@ -79794,7 +79859,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79794
79859
  );
79795
79860
  }
79796
79861
  }
79797
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
79862
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
79798
79863
  if ("followers" in values && values.followers != null) {
79799
79864
  if (values.followers instanceof Collection || values.followers instanceof URL) {
79800
79865
  // @ts-ignore: type is checked above.
@@ -79807,7 +79872,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79807
79872
  );
79808
79873
  }
79809
79874
  }
79810
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
79875
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
79811
79876
  if ("liked" in values && values.liked != null) {
79812
79877
  if (values.liked instanceof Collection || values.liked instanceof URL) {
79813
79878
  // @ts-ignore: type is checked above.
@@ -79820,7 +79885,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79820
79885
  );
79821
79886
  }
79822
79887
  }
79823
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
79888
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
79824
79889
  if ("featured" in values && values.featured != null) {
79825
79890
  if (values.featured instanceof Collection || values.featured instanceof URL) {
79826
79891
  // @ts-ignore: type is checked above.
@@ -79833,7 +79898,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79833
79898
  );
79834
79899
  }
79835
79900
  }
79836
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
79901
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
79837
79902
  if ("featuredTags" in values && values.featuredTags != null) {
79838
79903
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
79839
79904
  // @ts-ignore: type is checked above.
@@ -79846,13 +79911,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79846
79911
  );
79847
79912
  }
79848
79913
  }
79849
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
79914
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
79850
79915
  if ("streams" in values && values.streams != null) {
79851
79916
 
79852
79917
  if (Array.isArray(values.streams) &&
79853
79918
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
79854
79919
  // @ts-ignore: type is checked above.
79855
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
79920
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
79856
79921
 
79857
79922
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
79858
79923
  for (let i = 0; i < values.streams.length; i++) {
@@ -79866,7 +79931,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79866
79931
  );
79867
79932
  }
79868
79933
  }
79869
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
79934
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
79870
79935
  if ("endpoints" in values && values.endpoints != null) {
79871
79936
  if (values.endpoints instanceof Endpoints) {
79872
79937
  // @ts-ignore: type is checked above.
@@ -79879,7 +79944,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79879
79944
  );
79880
79945
  }
79881
79946
  }
79882
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
79947
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
79883
79948
  if ("discoverable" in values && values.discoverable != null) {
79884
79949
  if (typeof values.discoverable === "boolean") {
79885
79950
  // @ts-ignore: type is checked above.
@@ -79892,7 +79957,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79892
79957
  );
79893
79958
  }
79894
79959
  }
79895
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
79960
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
79896
79961
  if ("suspended" in values && values.suspended != null) {
79897
79962
  if (typeof values.suspended === "boolean") {
79898
79963
  // @ts-ignore: type is checked above.
@@ -79905,7 +79970,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79905
79970
  );
79906
79971
  }
79907
79972
  }
79908
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
79973
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
79909
79974
  if ("memorial" in values && values.memorial != null) {
79910
79975
  if (typeof values.memorial === "boolean") {
79911
79976
  // @ts-ignore: type is checked above.
@@ -79918,7 +79983,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79918
79983
  );
79919
79984
  }
79920
79985
  }
79921
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
79986
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
79922
79987
  if ("indexable" in values && values.indexable != null) {
79923
79988
  if (typeof values.indexable === "boolean") {
79924
79989
  // @ts-ignore: type is checked above.
@@ -79931,7 +79996,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79931
79996
  );
79932
79997
  }
79933
79998
  }
79934
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
79999
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
79935
80000
  if ("successor" in values && values.successor != null) {
79936
80001
  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) {
79937
80002
  // @ts-ignore: type is checked above.
@@ -79944,7 +80009,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79944
80009
  );
79945
80010
  }
79946
80011
  }
79947
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
80012
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
79948
80013
  if ("alias" in values && values.alias != null) {
79949
80014
  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) {
79950
80015
  // @ts-ignore: type is checked above.
@@ -79971,7 +80036,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79971
80036
  if (Array.isArray(values.aliases) &&
79972
80037
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
79973
80038
  // @ts-ignore: type is checked above.
79974
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
80039
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
79975
80040
 
79976
80041
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
79977
80042
  for (let i = 0; i < values.aliases.length; i++) {
@@ -79985,7 +80050,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
79985
80050
  );
79986
80051
  }
79987
80052
  }
79988
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
80053
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
79989
80054
  if ("service" in values && values.service != null) {
79990
80055
  if (values.service instanceof DidService || values.service instanceof URL) {
79991
80056
  // @ts-ignore: type is checked above.
@@ -80012,7 +80077,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
80012
80077
  if (Array.isArray(values.services) &&
80013
80078
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
80014
80079
  // @ts-ignore: type is checked above.
80015
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
80080
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
80016
80081
 
80017
80082
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
80018
80083
  for (let i = 0; i < values.services.length; i++) {
@@ -80026,7 +80091,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
80026
80091
  );
80027
80092
  }
80028
80093
  }
80029
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
80094
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
80030
80095
  if ("followedMessage" in values && values.followedMessage != null) {
80031
80096
  if (typeof values.followedMessage === "string") {
80032
80097
  // @ts-ignore: type is checked above.
@@ -80039,7 +80104,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
80039
80104
  );
80040
80105
  }
80041
80106
  }
80042
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
80107
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
80043
80108
  if ("cat" in values && values.cat != null) {
80044
80109
  if (typeof values.cat === "boolean") {
80045
80110
  // @ts-ignore: type is checked above.
@@ -86389,7 +86454,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86389
86454
  * Clones this instance, optionally updating it with the given values.
86390
86455
  * @param values The values to update the clone with.
86391
86456
  * @param options The options to use for cloning.
86392
- * @returns The cloned instance.
86457
+ * @returns The cloned instance with its own property arrays. Nested objects
86458
+ * and URLs are shared with this instance.
86393
86459
  */
86394
86460
  override clone(
86395
86461
  values:
@@ -86427,7 +86493,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86427
86493
  // @ts-ignore: $warning is not recognized as a property, but it is.
86428
86494
  options = { ...options, $warning: this._warning };
86429
86495
  }
86430
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
86496
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
86431
86497
  if ("accuracy" in values && values.accuracy != null) {
86432
86498
  if (typeof values.accuracy === "number" && !Number.isNaN(values.accuracy)) {
86433
86499
  // @ts-ignore: type is checked above.
@@ -86440,7 +86506,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86440
86506
  );
86441
86507
  }
86442
86508
  }
86443
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
86509
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
86444
86510
  if ("altitude" in values && values.altitude != null) {
86445
86511
  if (typeof values.altitude === "number" && !Number.isNaN(values.altitude)) {
86446
86512
  // @ts-ignore: type is checked above.
@@ -86453,7 +86519,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86453
86519
  );
86454
86520
  }
86455
86521
  }
86456
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
86522
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
86457
86523
  if ("latitude" in values && values.latitude != null) {
86458
86524
  if (typeof values.latitude === "number" && !Number.isNaN(values.latitude)) {
86459
86525
  // @ts-ignore: type is checked above.
@@ -86466,7 +86532,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86466
86532
  );
86467
86533
  }
86468
86534
  }
86469
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
86535
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
86470
86536
  if ("longitude" in values && values.longitude != null) {
86471
86537
  if (typeof values.longitude === "number" && !Number.isNaN(values.longitude)) {
86472
86538
  // @ts-ignore: type is checked above.
@@ -86479,7 +86545,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86479
86545
  );
86480
86546
  }
86481
86547
  }
86482
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
86548
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
86483
86549
  if ("radius" in values && values.radius != null) {
86484
86550
  if (typeof values.radius === "number" && !Number.isNaN(values.radius)) {
86485
86551
  // @ts-ignore: type is checked above.
@@ -86492,7 +86558,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
86492
86558
  );
86493
86559
  }
86494
86560
  }
86495
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
86561
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
86496
86562
  if ("units" in values && values.units != null) {
86497
86563
  if (values.units == "cm" || values.units == "feet" || values.units == "inches" || values.units == "km" || values.units == "m" || values.units == "miles" || values.units instanceof URL) {
86498
86564
  // @ts-ignore: type is checked above.
@@ -87437,7 +87503,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
87437
87503
  * Clones this instance, optionally updating it with the given values.
87438
87504
  * @param values The values to update the clone with.
87439
87505
  * @param options The options to use for cloning.
87440
- * @returns The cloned instance.
87506
+ * @returns The cloned instance with its own property arrays. Nested objects
87507
+ * and URLs are shared with this instance.
87441
87508
  */
87442
87509
  override clone(
87443
87510
  values:
@@ -87475,7 +87542,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
87475
87542
  // @ts-ignore: $warning is not recognized as a property, but it is.
87476
87543
  options = { ...options, $warning: this._warning };
87477
87544
  }
87478
- 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);
87545
+ 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);
87479
87546
  if ("describes" in values && values.describes != null) {
87480
87547
  if (values.describes instanceof Object || values.describes instanceof URL) {
87481
87548
  // @ts-ignore: type is checked above.
@@ -88159,7 +88226,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88159
88226
  if (Array.isArray(values.exclusiveOptions) &&
88160
88227
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88161
88228
  // @ts-ignore: type is checked above.
88162
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
88229
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
88163
88230
 
88164
88231
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
88165
88232
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -88178,7 +88245,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88178
88245
  if (Array.isArray(values.inclusiveOptions) &&
88179
88246
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88180
88247
  // @ts-ignore: type is checked above.
88181
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
88248
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
88182
88249
 
88183
88250
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
88184
88251
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -88262,7 +88329,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88262
88329
  * Clones this instance, optionally updating it with the given values.
88263
88330
  * @param values The values to update the clone with.
88264
88331
  * @param options The options to use for cloning.
88265
- * @returns The cloned instance.
88332
+ * @returns The cloned instance with its own property arrays. Nested objects
88333
+ * and URLs are shared with this instance.
88266
88334
  */
88267
88335
  override clone(
88268
88336
  values:
@@ -88306,13 +88374,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88306
88374
  // @ts-ignore: $warning is not recognized as a property, but it is.
88307
88375
  options = { ...options, $warning: this._warning };
88308
88376
  }
88309
- 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);
88377
+ 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);
88310
88378
  if ("exclusiveOptions" in values && values.exclusiveOptions != null) {
88311
88379
 
88312
88380
  if (Array.isArray(values.exclusiveOptions) &&
88313
88381
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88314
88382
  // @ts-ignore: type is checked above.
88315
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
88383
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
88316
88384
 
88317
88385
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
88318
88386
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -88326,13 +88394,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88326
88394
  );
88327
88395
  }
88328
88396
  }
88329
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
88397
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
88330
88398
  if ("inclusiveOptions" in values && values.inclusiveOptions != null) {
88331
88399
 
88332
88400
  if (Array.isArray(values.inclusiveOptions) &&
88333
88401
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
88334
88402
  // @ts-ignore: type is checked above.
88335
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
88403
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
88336
88404
 
88337
88405
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
88338
88406
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -88346,7 +88414,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88346
88414
  );
88347
88415
  }
88348
88416
  }
88349
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
88417
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
88350
88418
  if ("closed" in values && values.closed != null) {
88351
88419
  if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") {
88352
88420
  // @ts-ignore: type is checked above.
@@ -88359,7 +88427,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88359
88427
  );
88360
88428
  }
88361
88429
  }
88362
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
88430
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
88363
88431
  if ("voters" in values && values.voters != null) {
88364
88432
  if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) {
88365
88433
  // @ts-ignore: type is checked above.
@@ -88372,7 +88440,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88372
88440
  );
88373
88441
  }
88374
88442
  }
88375
- clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote;clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
88443
+ clone.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = this.#_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote.slice();clone.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote = new Set(this.#_trust_3obhVLFML2Fh2Qsbg3BM2dec8S9e_quote);
88376
88444
  if ("quote" in values && values.quote != null) {
88377
88445
  if (values.quote instanceof Object || values.quote instanceof URL) {
88378
88446
  // @ts-ignore: type is checked above.
@@ -88385,7 +88453,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88385
88453
  );
88386
88454
  }
88387
88455
  }
88388
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
88456
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
88389
88457
  if ("quoteUrl" in values && values.quoteUrl != null) {
88390
88458
  if (values.quoteUrl instanceof URL) {
88391
88459
  // @ts-ignore: type is checked above.
@@ -88398,7 +88466,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
88398
88466
  );
88399
88467
  }
88400
88468
  }
88401
- clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization;clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
88469
+ clone.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = this.#_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization.slice();clone.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization = new Set(this.#_trust_ZKAEiJeuEvjeYkC4pG58D5vAJ4m_quoteAuthorization);
88402
88470
  if ("quoteAuthorization" in values && values.quoteAuthorization != null) {
88403
88471
  if (values.quoteAuthorization instanceof QuoteAuthorization || values.quoteAuthorization instanceof URL) {
88404
88472
  // @ts-ignore: type is checked above.
@@ -90253,7 +90321,8 @@ instruments?: (Object | URL)[];}
90253
90321
  * Clones this instance, optionally updating it with the given values.
90254
90322
  * @param values The values to update the clone with.
90255
90323
  * @param options The options to use for cloning.
90256
- * @returns The cloned instance.
90324
+ * @returns The cloned instance with its own property arrays. Nested objects
90325
+ * and URLs are shared with this instance.
90257
90326
  */
90258
90327
  override clone(
90259
90328
  values:
@@ -90596,7 +90665,8 @@ instruments?: (Object | URL)[];}
90596
90665
  * Clones this instance, optionally updating it with the given values.
90597
90666
  * @param values The values to update the clone with.
90598
90667
  * @param options The options to use for cloning.
90599
- * @returns The cloned instance.
90668
+ * @returns The cloned instance with its own property arrays. Nested objects
90669
+ * and URLs are shared with this instance.
90600
90670
  */
90601
90671
  override clone(
90602
90672
  values:
@@ -90987,7 +91057,7 @@ relationships?: (Object | URL)[];}
90987
91057
  if (Array.isArray(values.objects) &&
90988
91058
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
90989
91059
  // @ts-ignore: type is checked above.
90990
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
91060
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
90991
91061
 
90992
91062
  for (let i = 0; i < values.objects.length; i++) {
90993
91063
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -91027,7 +91097,7 @@ relationships?: (Object | URL)[];}
91027
91097
  if (Array.isArray(values.relationships) &&
91028
91098
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
91029
91099
  // @ts-ignore: type is checked above.
91030
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
91100
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
91031
91101
 
91032
91102
  for (let i = 0; i < values.relationships.length; i++) {
91033
91103
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -91046,7 +91116,8 @@ relationships?: (Object | URL)[];}
91046
91116
  * Clones this instance, optionally updating it with the given values.
91047
91117
  * @param values The values to update the clone with.
91048
91118
  * @param options The options to use for cloning.
91049
- * @returns The cloned instance.
91119
+ * @returns The cloned instance with its own property arrays. Nested objects
91120
+ * and URLs are shared with this instance.
91050
91121
  */
91051
91122
  override clone(
91052
91123
  values:
@@ -91086,7 +91157,7 @@ relationships?: (Object | URL)[];}
91086
91157
  // @ts-ignore: $warning is not recognized as a property, but it is.
91087
91158
  options = { ...options, $warning: this._warning };
91088
91159
  }
91089
- 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);
91160
+ 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);
91090
91161
  if ("subject" in values && values.subject != null) {
91091
91162
  if (values.subject instanceof Object || values.subject instanceof URL) {
91092
91163
  // @ts-ignore: type is checked above.
@@ -91099,7 +91170,7 @@ relationships?: (Object | URL)[];}
91099
91170
  );
91100
91171
  }
91101
91172
  }
91102
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
91173
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
91103
91174
  if ("object" in values && values.object != null) {
91104
91175
  if (values.object instanceof Object || values.object instanceof URL) {
91105
91176
  // @ts-ignore: type is checked above.
@@ -91126,7 +91197,7 @@ relationships?: (Object | URL)[];}
91126
91197
  if (Array.isArray(values.objects) &&
91127
91198
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
91128
91199
  // @ts-ignore: type is checked above.
91129
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
91200
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
91130
91201
 
91131
91202
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
91132
91203
  for (let i = 0; i < values.objects.length; i++) {
@@ -91140,7 +91211,7 @@ relationships?: (Object | URL)[];}
91140
91211
  );
91141
91212
  }
91142
91213
  }
91143
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
91214
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
91144
91215
  if ("relationship" in values && values.relationship != null) {
91145
91216
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
91146
91217
  // @ts-ignore: type is checked above.
@@ -91167,7 +91238,7 @@ relationships?: (Object | URL)[];}
91167
91238
  if (Array.isArray(values.relationships) &&
91168
91239
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
91169
91240
  // @ts-ignore: type is checked above.
91170
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
91241
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
91171
91242
 
91172
91243
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
91173
91244
  for (let i = 0; i < values.relationships.length; i++) {
@@ -92741,7 +92812,8 @@ instruments?: (Object | URL)[];}
92741
92812
  * Clones this instance, optionally updating it with the given values.
92742
92813
  * @param values The values to update the clone with.
92743
92814
  * @param options The options to use for cloning.
92744
- * @returns The cloned instance.
92815
+ * @returns The cloned instance with its own property arrays. Nested objects
92816
+ * and URLs are shared with this instance.
92745
92817
  */
92746
92818
  override clone(
92747
92819
  values:
@@ -93150,7 +93222,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93150
93222
  if (Array.isArray(values.preferredUsernames) &&
93151
93223
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
93152
93224
  // @ts-ignore: type is checked above.
93153
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
93225
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
93154
93226
 
93155
93227
  } else {
93156
93228
  throw new TypeError(
@@ -93186,7 +93258,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93186
93258
  if (Array.isArray(values.publicKeys) &&
93187
93259
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
93188
93260
  // @ts-ignore: type is checked above.
93189
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
93261
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
93190
93262
 
93191
93263
  for (let i = 0; i < values.publicKeys.length; i++) {
93192
93264
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -93226,7 +93298,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93226
93298
  if (Array.isArray(values.assertionMethods) &&
93227
93299
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
93228
93300
  // @ts-ignore: type is checked above.
93229
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
93301
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
93230
93302
 
93231
93303
  for (let i = 0; i < values.assertionMethods.length; i++) {
93232
93304
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -93349,7 +93421,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93349
93421
  if (Array.isArray(values.streams) &&
93350
93422
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
93351
93423
  // @ts-ignore: type is checked above.
93352
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
93424
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
93353
93425
 
93354
93426
  for (let i = 0; i < values.streams.length; i++) {
93355
93427
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -93467,7 +93539,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93467
93539
  if (Array.isArray(values.aliases) &&
93468
93540
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
93469
93541
  // @ts-ignore: type is checked above.
93470
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
93542
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
93471
93543
 
93472
93544
  for (let i = 0; i < values.aliases.length; i++) {
93473
93545
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -93507,7 +93579,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93507
93579
  if (Array.isArray(values.services) &&
93508
93580
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
93509
93581
  // @ts-ignore: type is checked above.
93510
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
93582
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
93511
93583
 
93512
93584
  for (let i = 0; i < values.services.length; i++) {
93513
93585
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -93552,7 +93624,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93552
93624
  * Clones this instance, optionally updating it with the given values.
93553
93625
  * @param values The values to update the clone with.
93554
93626
  * @param options The options to use for cloning.
93555
- * @returns The cloned instance.
93627
+ * @returns The cloned instance with its own property arrays. Nested objects
93628
+ * and URLs are shared with this instance.
93556
93629
  */
93557
93630
  override clone(
93558
93631
  values:
@@ -93595,7 +93668,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93595
93668
  // @ts-ignore: $warning is not recognized as a property, but it is.
93596
93669
  options = { ...options, $warning: this._warning };
93597
93670
  }
93598
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
93671
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
93599
93672
  if ("preferredUsername" in values && values.preferredUsername != null) {
93600
93673
  if (typeof values.preferredUsername === "string" || values.preferredUsername instanceof LanguageString) {
93601
93674
  // @ts-ignore: type is checked above.
@@ -93622,7 +93695,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93622
93695
  if (Array.isArray(values.preferredUsernames) &&
93623
93696
  values.preferredUsernames.every(v => typeof v === "string" || v instanceof LanguageString)) {
93624
93697
  // @ts-ignore: type is checked above.
93625
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
93698
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
93626
93699
 
93627
93700
  } else {
93628
93701
  throw new TypeError(
@@ -93631,7 +93704,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93631
93704
  );
93632
93705
  }
93633
93706
  }
93634
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
93707
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
93635
93708
  if ("publicKey" in values && values.publicKey != null) {
93636
93709
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
93637
93710
  // @ts-ignore: type is checked above.
@@ -93658,7 +93731,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93658
93731
  if (Array.isArray(values.publicKeys) &&
93659
93732
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
93660
93733
  // @ts-ignore: type is checked above.
93661
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
93734
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
93662
93735
 
93663
93736
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
93664
93737
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -93672,7 +93745,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93672
93745
  );
93673
93746
  }
93674
93747
  }
93675
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
93748
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
93676
93749
  if ("assertionMethod" in values && values.assertionMethod != null) {
93677
93750
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
93678
93751
  // @ts-ignore: type is checked above.
@@ -93699,7 +93772,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93699
93772
  if (Array.isArray(values.assertionMethods) &&
93700
93773
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
93701
93774
  // @ts-ignore: type is checked above.
93702
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
93775
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
93703
93776
 
93704
93777
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
93705
93778
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -93713,7 +93786,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93713
93786
  );
93714
93787
  }
93715
93788
  }
93716
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
93789
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
93717
93790
  if ("manuallyApprovesFollowers" in values && values.manuallyApprovesFollowers != null) {
93718
93791
  if (typeof values.manuallyApprovesFollowers === "boolean") {
93719
93792
  // @ts-ignore: type is checked above.
@@ -93726,7 +93799,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93726
93799
  );
93727
93800
  }
93728
93801
  }
93729
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
93802
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
93730
93803
  if ("inbox" in values && values.inbox != null) {
93731
93804
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
93732
93805
  // @ts-ignore: type is checked above.
@@ -93739,7 +93812,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93739
93812
  );
93740
93813
  }
93741
93814
  }
93742
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
93815
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
93743
93816
  if ("outbox" in values && values.outbox != null) {
93744
93817
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
93745
93818
  // @ts-ignore: type is checked above.
@@ -93752,7 +93825,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93752
93825
  );
93753
93826
  }
93754
93827
  }
93755
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
93828
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
93756
93829
  if ("following" in values && values.following != null) {
93757
93830
  if (values.following instanceof Collection || values.following instanceof URL) {
93758
93831
  // @ts-ignore: type is checked above.
@@ -93765,7 +93838,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93765
93838
  );
93766
93839
  }
93767
93840
  }
93768
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
93841
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
93769
93842
  if ("followers" in values && values.followers != null) {
93770
93843
  if (values.followers instanceof Collection || values.followers instanceof URL) {
93771
93844
  // @ts-ignore: type is checked above.
@@ -93778,7 +93851,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93778
93851
  );
93779
93852
  }
93780
93853
  }
93781
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
93854
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
93782
93855
  if ("liked" in values && values.liked != null) {
93783
93856
  if (values.liked instanceof Collection || values.liked instanceof URL) {
93784
93857
  // @ts-ignore: type is checked above.
@@ -93791,7 +93864,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93791
93864
  );
93792
93865
  }
93793
93866
  }
93794
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
93867
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
93795
93868
  if ("featured" in values && values.featured != null) {
93796
93869
  if (values.featured instanceof Collection || values.featured instanceof URL) {
93797
93870
  // @ts-ignore: type is checked above.
@@ -93804,7 +93877,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93804
93877
  );
93805
93878
  }
93806
93879
  }
93807
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
93880
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
93808
93881
  if ("featuredTags" in values && values.featuredTags != null) {
93809
93882
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
93810
93883
  // @ts-ignore: type is checked above.
@@ -93817,13 +93890,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93817
93890
  );
93818
93891
  }
93819
93892
  }
93820
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
93893
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
93821
93894
  if ("streams" in values && values.streams != null) {
93822
93895
 
93823
93896
  if (Array.isArray(values.streams) &&
93824
93897
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
93825
93898
  // @ts-ignore: type is checked above.
93826
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
93899
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
93827
93900
 
93828
93901
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
93829
93902
  for (let i = 0; i < values.streams.length; i++) {
@@ -93837,7 +93910,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93837
93910
  );
93838
93911
  }
93839
93912
  }
93840
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
93913
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
93841
93914
  if ("endpoints" in values && values.endpoints != null) {
93842
93915
  if (values.endpoints instanceof Endpoints) {
93843
93916
  // @ts-ignore: type is checked above.
@@ -93850,7 +93923,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93850
93923
  );
93851
93924
  }
93852
93925
  }
93853
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
93926
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
93854
93927
  if ("discoverable" in values && values.discoverable != null) {
93855
93928
  if (typeof values.discoverable === "boolean") {
93856
93929
  // @ts-ignore: type is checked above.
@@ -93863,7 +93936,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93863
93936
  );
93864
93937
  }
93865
93938
  }
93866
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
93939
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
93867
93940
  if ("suspended" in values && values.suspended != null) {
93868
93941
  if (typeof values.suspended === "boolean") {
93869
93942
  // @ts-ignore: type is checked above.
@@ -93876,7 +93949,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93876
93949
  );
93877
93950
  }
93878
93951
  }
93879
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
93952
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
93880
93953
  if ("memorial" in values && values.memorial != null) {
93881
93954
  if (typeof values.memorial === "boolean") {
93882
93955
  // @ts-ignore: type is checked above.
@@ -93889,7 +93962,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93889
93962
  );
93890
93963
  }
93891
93964
  }
93892
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
93965
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
93893
93966
  if ("indexable" in values && values.indexable != null) {
93894
93967
  if (typeof values.indexable === "boolean") {
93895
93968
  // @ts-ignore: type is checked above.
@@ -93902,7 +93975,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93902
93975
  );
93903
93976
  }
93904
93977
  }
93905
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
93978
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
93906
93979
  if ("successor" in values && values.successor != null) {
93907
93980
  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) {
93908
93981
  // @ts-ignore: type is checked above.
@@ -93915,7 +93988,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93915
93988
  );
93916
93989
  }
93917
93990
  }
93918
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
93991
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
93919
93992
  if ("alias" in values && values.alias != null) {
93920
93993
  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) {
93921
93994
  // @ts-ignore: type is checked above.
@@ -93942,7 +94015,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93942
94015
  if (Array.isArray(values.aliases) &&
93943
94016
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
93944
94017
  // @ts-ignore: type is checked above.
93945
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
94018
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
93946
94019
 
93947
94020
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
93948
94021
  for (let i = 0; i < values.aliases.length; i++) {
@@ -93956,7 +94029,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93956
94029
  );
93957
94030
  }
93958
94031
  }
93959
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
94032
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
93960
94033
  if ("service" in values && values.service != null) {
93961
94034
  if (values.service instanceof DidService || values.service instanceof URL) {
93962
94035
  // @ts-ignore: type is checked above.
@@ -93983,7 +94056,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93983
94056
  if (Array.isArray(values.services) &&
93984
94057
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
93985
94058
  // @ts-ignore: type is checked above.
93986
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
94059
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
93987
94060
 
93988
94061
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
93989
94062
  for (let i = 0; i < values.services.length; i++) {
@@ -93997,7 +94070,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
93997
94070
  );
93998
94071
  }
93999
94072
  }
94000
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
94073
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
94001
94074
  if ("followedMessage" in values && values.followedMessage != null) {
94002
94075
  if (typeof values.followedMessage === "string") {
94003
94076
  // @ts-ignore: type is checked above.
@@ -94010,7 +94083,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
94010
94083
  );
94011
94084
  }
94012
94085
  }
94013
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
94086
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
94014
94087
  if ("cat" in values && values.cat != null) {
94015
94088
  if (typeof values.cat === "boolean") {
94016
94089
  // @ts-ignore: type is checked above.
@@ -100358,7 +100431,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100358
100431
  if (Array.isArray(values.contents) &&
100359
100432
  values.contents.every(v => typeof v === "string" || v instanceof LanguageString)) {
100360
100433
  // @ts-ignore: type is checked above.
100361
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
100434
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
100362
100435
 
100363
100436
  } else {
100364
100437
  throw new TypeError(
@@ -100386,7 +100459,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100386
100459
  * Clones this instance, optionally updating it with the given values.
100387
100460
  * @param values The values to update the clone with.
100388
100461
  * @param options The options to use for cloning.
100389
- * @returns The cloned instance.
100462
+ * @returns The cloned instance with its own property arrays. Nested objects
100463
+ * and URLs are shared with this instance.
100390
100464
  */
100391
100465
  clone(
100392
100466
  values:
@@ -100415,7 +100489,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100415
100489
  { id: values.id ?? this.id },
100416
100490
  options
100417
100491
  );
100418
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
100492
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
100419
100493
  if ("content" in values && values.content != null) {
100420
100494
  if (typeof values.content === "string" || values.content instanceof LanguageString) {
100421
100495
  // @ts-ignore: type is checked above.
@@ -100442,7 +100516,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100442
100516
  if (Array.isArray(values.contents) &&
100443
100517
  values.contents.every(v => typeof v === "string" || v instanceof LanguageString)) {
100444
100518
  // @ts-ignore: type is checked above.
100445
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
100519
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
100446
100520
 
100447
100521
  } else {
100448
100522
  throw new TypeError(
@@ -100451,7 +100525,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
100451
100525
  );
100452
100526
  }
100453
100527
  }
100454
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
100528
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
100455
100529
  if ("mediaType" in values && values.mediaType != null) {
100456
100530
  if (typeof values.mediaType === "string") {
100457
100531
  // @ts-ignore: type is checked above.
@@ -100976,7 +101050,8 @@ instruments?: (Object | URL)[];}
100976
101050
  * Clones this instance, optionally updating it with the given values.
100977
101051
  * @param values The values to update the clone with.
100978
101052
  * @param options The options to use for cloning.
100979
- * @returns The cloned instance.
101053
+ * @returns The cloned instance with its own property arrays. Nested objects
101054
+ * and URLs are shared with this instance.
100980
101055
  */
100981
101056
  override clone(
100982
101057
  values:
@@ -101319,7 +101394,8 @@ instruments?: (Object | URL)[];}
101319
101394
  * Clones this instance, optionally updating it with the given values.
101320
101395
  * @param values The values to update the clone with.
101321
101396
  * @param options The options to use for cloning.
101322
- * @returns The cloned instance.
101397
+ * @returns The cloned instance with its own property arrays. Nested objects
101398
+ * and URLs are shared with this instance.
101323
101399
  */
101324
101400
  override clone(
101325
101401
  values:
@@ -101681,7 +101757,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101681
101757
  if (Array.isArray(values.formerTypes) &&
101682
101758
  values.formerTypes.every(v => isEntityType(v))) {
101683
101759
  // @ts-ignore: type is checked above.
101684
- this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
101760
+ this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
101685
101761
 
101686
101762
  } else {
101687
101763
  throw new TypeError(
@@ -101709,7 +101785,8 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101709
101785
  * Clones this instance, optionally updating it with the given values.
101710
101786
  * @param values The values to update the clone with.
101711
101787
  * @param options The options to use for cloning.
101712
- * @returns The cloned instance.
101788
+ * @returns The cloned instance with its own property arrays. Nested objects
101789
+ * and URLs are shared with this instance.
101713
101790
  */
101714
101791
  override clone(
101715
101792
  values:
@@ -101748,7 +101825,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101748
101825
  // @ts-ignore: $warning is not recognized as a property, but it is.
101749
101826
  options = { ...options, $warning: this._warning };
101750
101827
  }
101751
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType;
101828
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType.slice();
101752
101829
  if ("formerType" in values && values.formerType != null) {
101753
101830
  if (isEntityType(values.formerType)) {
101754
101831
  // @ts-ignore: type is checked above.
@@ -101775,7 +101852,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101775
101852
  if (Array.isArray(values.formerTypes) &&
101776
101853
  values.formerTypes.every(v => isEntityType(v))) {
101777
101854
  // @ts-ignore: type is checked above.
101778
- clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
101855
+ clone.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes.slice();
101779
101856
 
101780
101857
  } else {
101781
101858
  throw new TypeError(
@@ -101784,7 +101861,7 @@ formerTypes?: ($EntityType)[];deleted?: Temporal.Instant | null;}
101784
101861
  );
101785
101862
  }
101786
101863
  }
101787
- clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
101864
+ clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
101788
101865
  if ("deleted" in values && values.deleted != null) {
101789
101866
  if (isTemporalInstant(values.deleted)) {
101790
101867
  // @ts-ignore: type is checked above.
@@ -102344,7 +102421,8 @@ instruments?: (Object | URL)[];}
102344
102421
  * Clones this instance, optionally updating it with the given values.
102345
102422
  * @param values The values to update the clone with.
102346
102423
  * @param options The options to use for cloning.
102347
- * @returns The cloned instance.
102424
+ * @returns The cloned instance with its own property arrays. Nested objects
102425
+ * and URLs are shared with this instance.
102348
102426
  */
102349
102427
  override clone(
102350
102428
  values:
@@ -102692,7 +102770,8 @@ instruments?: (Object | URL)[];}
102692
102770
  * Clones this instance, optionally updating it with the given values.
102693
102771
  * @param values The values to update the clone with.
102694
102772
  * @param options The options to use for cloning.
102695
- * @returns The cloned instance.
102773
+ * @returns The cloned instance with its own property arrays. Nested objects
102774
+ * and URLs are shared with this instance.
102696
102775
  */
102697
102776
  override clone(
102698
102777
  values:
@@ -103038,7 +103117,8 @@ instruments?: (Object | URL)[];}
103038
103117
  * Clones this instance, optionally updating it with the given values.
103039
103118
  * @param values The values to update the clone with.
103040
103119
  * @param options The options to use for cloning.
103041
- * @returns The cloned instance.
103120
+ * @returns The cloned instance with its own property arrays. Nested objects
103121
+ * and URLs are shared with this instance.
103042
103122
  */
103043
103123
  override clone(
103044
103124
  values:
@@ -103373,7 +103453,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
103373
103453
  * Clones this instance, optionally updating it with the given values.
103374
103454
  * @param values The values to update the clone with.
103375
103455
  * @param options The options to use for cloning.
103376
- * @returns The cloned instance.
103456
+ * @returns The cloned instance with its own property arrays. Nested objects
103457
+ * and URLs are shared with this instance.
103377
103458
  */
103378
103459
  override clone(
103379
103460
  values:
@@ -103726,7 +103807,8 @@ instruments?: (Object | URL)[];}
103726
103807
  * Clones this instance, optionally updating it with the given values.
103727
103808
  * @param values The values to update the clone with.
103728
103809
  * @param options The options to use for cloning.
103729
- * @returns The cloned instance.
103810
+ * @returns The cloned instance with its own property arrays. Nested objects
103811
+ * and URLs are shared with this instance.
103730
103812
  */
103731
103813
  override clone(
103732
103814
  values: