@fedify/vocab-tools 2.1.26 → 2.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,7 @@ import {
19
19
  importPem,
20
20
  isDecimal,
21
21
  LanguageString,
22
+ normalizeLanguageTag,
22
23
  parseDecimal,
23
24
  type RemoteDocument
24
25
  } from \\"@fedify/vocab-runtime\\";
@@ -39,7 +40,7 @@ function decodeIri(iri: string): URL {
39
40
 
40
41
  function isValidLanguageTag(language: string): boolean {
41
42
  try {
42
- new Intl.Locale(language);
43
+ new Intl.Locale(normalizeLanguageTag(language));
43
44
  return true;
44
45
  } catch (error) {
45
46
  if (error instanceof RangeError) return false;
@@ -256,7 +257,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
256
257
  if (Array.isArray(values.attachments) &&
257
258
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
258
259
  // @ts-ignore: type is checked above.
259
- this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
260
+ this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
260
261
 
261
262
  for (let i = 0; i < values.attachments.length; i++) {
262
263
  this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
@@ -296,7 +297,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
296
297
  if (Array.isArray(values.attributions) &&
297
298
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
298
299
  // @ts-ignore: type is checked above.
299
- this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
300
+ this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
300
301
 
301
302
  for (let i = 0; i < values.attributions.length; i++) {
302
303
  this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
@@ -336,7 +337,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
336
337
  if (Array.isArray(values.audiences) &&
337
338
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
338
339
  // @ts-ignore: type is checked above.
339
- this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
340
+ this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
340
341
 
341
342
  for (let i = 0; i < values.audiences.length; i++) {
342
343
  this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
@@ -376,7 +377,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
376
377
  if (Array.isArray(values.contents) &&
377
378
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
378
379
  // @ts-ignore: type is checked above.
379
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
380
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
380
381
 
381
382
  } else {
382
383
  throw new TypeError(
@@ -391,7 +392,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
391
392
  if (Array.isArray(values.contexts) &&
392
393
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
393
394
  // @ts-ignore: type is checked above.
394
- this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
395
+ this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
395
396
 
396
397
  for (let i = 0; i < values.contexts.length; i++) {
397
398
  this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
@@ -431,7 +432,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
431
432
  if (Array.isArray(values.names) &&
432
433
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
433
434
  // @ts-ignore: type is checked above.
434
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
435
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
435
436
 
436
437
  } else {
437
438
  throw new TypeError(
@@ -459,7 +460,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
459
460
  if (Array.isArray(values.generators) &&
460
461
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
461
462
  // @ts-ignore: type is checked above.
462
- this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
463
+ this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
463
464
 
464
465
  for (let i = 0; i < values.generators.length; i++) {
465
466
  this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
@@ -499,7 +500,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
499
500
  if (Array.isArray(values.icons) &&
500
501
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
501
502
  // @ts-ignore: type is checked above.
502
- this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
503
+ this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
503
504
 
504
505
  for (let i = 0; i < values.icons.length; i++) {
505
506
  this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
@@ -539,7 +540,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
539
540
  if (Array.isArray(values.images) &&
540
541
  values.images.every(v => v instanceof Image || v instanceof URL)) {
541
542
  // @ts-ignore: type is checked above.
542
- this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
543
+ this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
543
544
 
544
545
  for (let i = 0; i < values.images.length; i++) {
545
546
  this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
@@ -579,7 +580,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
579
580
  if (Array.isArray(values.replyTargets) &&
580
581
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
581
582
  // @ts-ignore: type is checked above.
582
- this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
583
+ this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
583
584
 
584
585
  for (let i = 0; i < values.replyTargets.length; i++) {
585
586
  this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
@@ -619,7 +620,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
619
620
  if (Array.isArray(values.locations) &&
620
621
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
621
622
  // @ts-ignore: type is checked above.
622
- this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
623
+ this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
623
624
 
624
625
  for (let i = 0; i < values.locations.length; i++) {
625
626
  this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
@@ -659,7 +660,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
659
660
  if (Array.isArray(values.previews) &&
660
661
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
661
662
  // @ts-ignore: type is checked above.
662
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
663
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
663
664
 
664
665
  for (let i = 0; i < values.previews.length; i++) {
665
666
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -777,7 +778,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
777
778
  if (Array.isArray(values.summaries) &&
778
779
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
779
780
  // @ts-ignore: type is checked above.
780
- this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
781
+ this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
781
782
 
782
783
  } else {
783
784
  throw new TypeError(
@@ -792,7 +793,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
792
793
  if (Array.isArray(values.tags) &&
793
794
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
794
795
  // @ts-ignore: type is checked above.
795
- this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
796
+ this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
796
797
 
797
798
  for (let i = 0; i < values.tags.length; i++) {
798
799
  this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
@@ -845,7 +846,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
845
846
  if (Array.isArray(values.urls) &&
846
847
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
847
848
  // @ts-ignore: type is checked above.
848
- this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
849
+ this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
849
850
 
850
851
  } else {
851
852
  throw new TypeError(
@@ -881,7 +882,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
881
882
  if (Array.isArray(values.tos) &&
882
883
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
883
884
  // @ts-ignore: type is checked above.
884
- this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
885
+ this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
885
886
 
886
887
  for (let i = 0; i < values.tos.length; i++) {
887
888
  this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
@@ -921,7 +922,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
921
922
  if (Array.isArray(values.btos) &&
922
923
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
923
924
  // @ts-ignore: type is checked above.
924
- this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
925
+ this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
925
926
 
926
927
  for (let i = 0; i < values.btos.length; i++) {
927
928
  this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
@@ -961,7 +962,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
961
962
  if (Array.isArray(values.ccs) &&
962
963
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
963
964
  // @ts-ignore: type is checked above.
964
- this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
965
+ this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
965
966
 
966
967
  for (let i = 0; i < values.ccs.length; i++) {
967
968
  this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
@@ -1001,7 +1002,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1001
1002
  if (Array.isArray(values.bccs) &&
1002
1003
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1003
1004
  // @ts-ignore: type is checked above.
1004
- this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1005
+ this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1005
1006
 
1006
1007
  for (let i = 0; i < values.bccs.length; i++) {
1007
1008
  this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
@@ -1093,7 +1094,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1093
1094
  if (Array.isArray(values.proofs) &&
1094
1095
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
1095
1096
  // @ts-ignore: type is checked above.
1096
- this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
1097
+ this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
1097
1098
 
1098
1099
  for (let i = 0; i < values.proofs.length; i++) {
1099
1100
  this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
@@ -1177,7 +1178,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1177
1178
  * Clones this instance, optionally updating it with the given values.
1178
1179
  * @param values The values to update the clone with.
1179
1180
  * @param options The options to use for cloning.
1180
- * @returns The cloned instance.
1181
+ * @returns The cloned instance with its own property arrays. Nested objects
1182
+ * and URLs are shared with this instance.
1181
1183
  */
1182
1184
  clone(
1183
1185
  values:
@@ -1221,13 +1223,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1221
1223
  { id: values.id ?? this.id },
1222
1224
  options
1223
1225
  );
1224
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1226
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
1225
1227
  if (\\"attachments\\" in values && values.attachments != null) {
1226
1228
 
1227
1229
  if (Array.isArray(values.attachments) &&
1228
1230
  values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
1229
1231
  // @ts-ignore: type is checked above.
1230
- clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
1232
+ clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
1231
1233
 
1232
1234
  clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
1233
1235
  for (let i = 0; i < values.attachments.length; i++) {
@@ -1241,7 +1243,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1241
1243
  );
1242
1244
  }
1243
1245
  }
1244
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1246
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
1245
1247
  if (\\"attribution\\" in values && values.attribution != null) {
1246
1248
  if (values.attribution instanceof Application || values.attribution instanceof Group || values.attribution instanceof Organization || values.attribution instanceof Person || values.attribution instanceof Service || values.attribution instanceof URL) {
1247
1249
  // @ts-ignore: type is checked above.
@@ -1268,7 +1270,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1268
1270
  if (Array.isArray(values.attributions) &&
1269
1271
  values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
1270
1272
  // @ts-ignore: type is checked above.
1271
- clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
1273
+ clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
1272
1274
 
1273
1275
  clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
1274
1276
  for (let i = 0; i < values.attributions.length; i++) {
@@ -1282,7 +1284,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1282
1284
  );
1283
1285
  }
1284
1286
  }
1285
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1287
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
1286
1288
  if (\\"audience\\" in values && values.audience != null) {
1287
1289
  if (values.audience instanceof Object || values.audience instanceof URL) {
1288
1290
  // @ts-ignore: type is checked above.
@@ -1309,7 +1311,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1309
1311
  if (Array.isArray(values.audiences) &&
1310
1312
  values.audiences.every(v => v instanceof Object || v instanceof URL)) {
1311
1313
  // @ts-ignore: type is checked above.
1312
- clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
1314
+ clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
1313
1315
 
1314
1316
  clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
1315
1317
  for (let i = 0; i < values.audiences.length; i++) {
@@ -1323,7 +1325,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1323
1325
  );
1324
1326
  }
1325
1327
  }
1326
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
1328
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
1327
1329
  if (\\"content\\" in values && values.content != null) {
1328
1330
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
1329
1331
  // @ts-ignore: type is checked above.
@@ -1350,7 +1352,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1350
1352
  if (Array.isArray(values.contents) &&
1351
1353
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1352
1354
  // @ts-ignore: type is checked above.
1353
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
1355
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
1354
1356
 
1355
1357
  } else {
1356
1358
  throw new TypeError(
@@ -1359,13 +1361,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1359
1361
  );
1360
1362
  }
1361
1363
  }
1362
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1364
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
1363
1365
  if (\\"contexts\\" in values && values.contexts != null) {
1364
1366
 
1365
1367
  if (Array.isArray(values.contexts) &&
1366
1368
  values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1367
1369
  // @ts-ignore: type is checked above.
1368
- clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
1370
+ clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
1369
1371
 
1370
1372
  clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
1371
1373
  for (let i = 0; i < values.contexts.length; i++) {
@@ -1379,7 +1381,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1379
1381
  );
1380
1382
  }
1381
1383
  }
1382
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
1384
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
1383
1385
  if (\\"name\\" in values && values.name != null) {
1384
1386
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
1385
1387
  // @ts-ignore: type is checked above.
@@ -1406,7 +1408,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1406
1408
  if (Array.isArray(values.names) &&
1407
1409
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1408
1410
  // @ts-ignore: type is checked above.
1409
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
1411
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
1410
1412
 
1411
1413
  } else {
1412
1414
  throw new TypeError(
@@ -1415,7 +1417,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1415
1417
  );
1416
1418
  }
1417
1419
  }
1418
- clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
1420
+ clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
1419
1421
  if (\\"endTime\\" in values && values.endTime != null) {
1420
1422
  if (isTemporalInstant(values.endTime)) {
1421
1423
  // @ts-ignore: type is checked above.
@@ -1428,13 +1430,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1428
1430
  );
1429
1431
  }
1430
1432
  }
1431
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1433
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
1432
1434
  if (\\"generators\\" in values && values.generators != null) {
1433
1435
 
1434
1436
  if (Array.isArray(values.generators) &&
1435
1437
  values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1436
1438
  // @ts-ignore: type is checked above.
1437
- clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
1439
+ clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
1438
1440
 
1439
1441
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
1440
1442
  for (let i = 0; i < values.generators.length; i++) {
@@ -1448,7 +1450,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1448
1450
  );
1449
1451
  }
1450
1452
  }
1451
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1453
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
1452
1454
  if (\\"icon\\" in values && values.icon != null) {
1453
1455
  if (values.icon instanceof Image || values.icon instanceof URL) {
1454
1456
  // @ts-ignore: type is checked above.
@@ -1475,7 +1477,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1475
1477
  if (Array.isArray(values.icons) &&
1476
1478
  values.icons.every(v => v instanceof Image || v instanceof URL)) {
1477
1479
  // @ts-ignore: type is checked above.
1478
- clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
1480
+ clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
1479
1481
 
1480
1482
  clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
1481
1483
  for (let i = 0; i < values.icons.length; i++) {
@@ -1489,7 +1491,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1489
1491
  );
1490
1492
  }
1491
1493
  }
1492
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1494
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
1493
1495
  if (\\"image\\" in values && values.image != null) {
1494
1496
  if (values.image instanceof Image || values.image instanceof URL) {
1495
1497
  // @ts-ignore: type is checked above.
@@ -1516,7 +1518,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1516
1518
  if (Array.isArray(values.images) &&
1517
1519
  values.images.every(v => v instanceof Image || v instanceof URL)) {
1518
1520
  // @ts-ignore: type is checked above.
1519
- clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
1521
+ clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
1520
1522
 
1521
1523
  clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
1522
1524
  for (let i = 0; i < values.images.length; i++) {
@@ -1530,7 +1532,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1530
1532
  );
1531
1533
  }
1532
1534
  }
1533
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1535
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
1534
1536
  if (\\"replyTarget\\" in values && values.replyTarget != null) {
1535
1537
  if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
1536
1538
  // @ts-ignore: type is checked above.
@@ -1557,7 +1559,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1557
1559
  if (Array.isArray(values.replyTargets) &&
1558
1560
  values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1559
1561
  // @ts-ignore: type is checked above.
1560
- clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
1562
+ clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
1561
1563
 
1562
1564
  clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
1563
1565
  for (let i = 0; i < values.replyTargets.length; i++) {
@@ -1571,7 +1573,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1571
1573
  );
1572
1574
  }
1573
1575
  }
1574
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1576
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
1575
1577
  if (\\"location\\" in values && values.location != null) {
1576
1578
  if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
1577
1579
  // @ts-ignore: type is checked above.
@@ -1598,7 +1600,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1598
1600
  if (Array.isArray(values.locations) &&
1599
1601
  values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1600
1602
  // @ts-ignore: type is checked above.
1601
- clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
1603
+ clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
1602
1604
 
1603
1605
  clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
1604
1606
  for (let i = 0; i < values.locations.length; i++) {
@@ -1612,7 +1614,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1612
1614
  );
1613
1615
  }
1614
1616
  }
1615
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1617
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
1616
1618
  if (\\"preview\\" in values && values.preview != null) {
1617
1619
  if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
1618
1620
  // @ts-ignore: type is checked above.
@@ -1639,7 +1641,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1639
1641
  if (Array.isArray(values.previews) &&
1640
1642
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
1641
1643
  // @ts-ignore: type is checked above.
1642
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
1644
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
1643
1645
 
1644
1646
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
1645
1647
  for (let i = 0; i < values.previews.length; i++) {
@@ -1653,7 +1655,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1653
1655
  );
1654
1656
  }
1655
1657
  }
1656
- clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
1658
+ clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
1657
1659
  if (\\"published\\" in values && values.published != null) {
1658
1660
  if (isTemporalInstant(values.published)) {
1659
1661
  // @ts-ignore: type is checked above.
@@ -1666,7 +1668,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1666
1668
  );
1667
1669
  }
1668
1670
  }
1669
- clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1671
+ clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
1670
1672
  if (\\"replies\\" in values && values.replies != null) {
1671
1673
  if (values.replies instanceof Collection || values.replies instanceof URL) {
1672
1674
  // @ts-ignore: type is checked above.
@@ -1679,7 +1681,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1679
1681
  );
1680
1682
  }
1681
1683
  }
1682
- clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1684
+ clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
1683
1685
  if (\\"shares\\" in values && values.shares != null) {
1684
1686
  if (values.shares instanceof Collection || values.shares instanceof URL) {
1685
1687
  // @ts-ignore: type is checked above.
@@ -1692,7 +1694,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1692
1694
  );
1693
1695
  }
1694
1696
  }
1695
- clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1697
+ clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
1696
1698
  if (\\"likes\\" in values && values.likes != null) {
1697
1699
  if (values.likes instanceof Collection || values.likes instanceof URL) {
1698
1700
  // @ts-ignore: type is checked above.
@@ -1705,7 +1707,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1705
1707
  );
1706
1708
  }
1707
1709
  }
1708
- clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1710
+ clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
1709
1711
  if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
1710
1712
  if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
1711
1713
  // @ts-ignore: type is checked above.
@@ -1718,7 +1720,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1718
1720
  );
1719
1721
  }
1720
1722
  }
1721
- clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
1723
+ clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
1722
1724
  if (\\"startTime\\" in values && values.startTime != null) {
1723
1725
  if (isTemporalInstant(values.startTime)) {
1724
1726
  // @ts-ignore: type is checked above.
@@ -1731,7 +1733,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1731
1733
  );
1732
1734
  }
1733
1735
  }
1734
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
1736
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
1735
1737
  if (\\"summary\\" in values && values.summary != null) {
1736
1738
  if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
1737
1739
  // @ts-ignore: type is checked above.
@@ -1758,7 +1760,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1758
1760
  if (Array.isArray(values.summaries) &&
1759
1761
  values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
1760
1762
  // @ts-ignore: type is checked above.
1761
- clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
1763
+ clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
1762
1764
 
1763
1765
  } else {
1764
1766
  throw new TypeError(
@@ -1767,13 +1769,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1767
1769
  );
1768
1770
  }
1769
1771
  }
1770
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1772
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
1771
1773
  if (\\"tags\\" in values && values.tags != null) {
1772
1774
 
1773
1775
  if (Array.isArray(values.tags) &&
1774
1776
  values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
1775
1777
  // @ts-ignore: type is checked above.
1776
- clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
1778
+ clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
1777
1779
 
1778
1780
  clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
1779
1781
  for (let i = 0; i < values.tags.length; i++) {
@@ -1787,7 +1789,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1787
1789
  );
1788
1790
  }
1789
1791
  }
1790
- clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
1792
+ clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
1791
1793
  if (\\"updated\\" in values && values.updated != null) {
1792
1794
  if (isTemporalInstant(values.updated)) {
1793
1795
  // @ts-ignore: type is checked above.
@@ -1800,7 +1802,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1800
1802
  );
1801
1803
  }
1802
1804
  }
1803
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
1805
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
1804
1806
  if (\\"url\\" in values && values.url != null) {
1805
1807
  if (values.url instanceof URL || values.url instanceof Link) {
1806
1808
  // @ts-ignore: type is checked above.
@@ -1827,7 +1829,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1827
1829
  if (Array.isArray(values.urls) &&
1828
1830
  values.urls.every(v => v instanceof URL || v instanceof Link)) {
1829
1831
  // @ts-ignore: type is checked above.
1830
- clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
1832
+ clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
1831
1833
 
1832
1834
  } else {
1833
1835
  throw new TypeError(
@@ -1836,7 +1838,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1836
1838
  );
1837
1839
  }
1838
1840
  }
1839
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1841
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
1840
1842
  if (\\"to\\" in values && values.to != null) {
1841
1843
  if (values.to instanceof Object || values.to instanceof URL) {
1842
1844
  // @ts-ignore: type is checked above.
@@ -1863,7 +1865,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1863
1865
  if (Array.isArray(values.tos) &&
1864
1866
  values.tos.every(v => v instanceof Object || v instanceof URL)) {
1865
1867
  // @ts-ignore: type is checked above.
1866
- clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
1868
+ clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
1867
1869
 
1868
1870
  clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
1869
1871
  for (let i = 0; i < values.tos.length; i++) {
@@ -1877,7 +1879,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1877
1879
  );
1878
1880
  }
1879
1881
  }
1880
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1882
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
1881
1883
  if (\\"bto\\" in values && values.bto != null) {
1882
1884
  if (values.bto instanceof Object || values.bto instanceof URL) {
1883
1885
  // @ts-ignore: type is checked above.
@@ -1904,7 +1906,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1904
1906
  if (Array.isArray(values.btos) &&
1905
1907
  values.btos.every(v => v instanceof Object || v instanceof URL)) {
1906
1908
  // @ts-ignore: type is checked above.
1907
- clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
1909
+ clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
1908
1910
 
1909
1911
  clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
1910
1912
  for (let i = 0; i < values.btos.length; i++) {
@@ -1918,7 +1920,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1918
1920
  );
1919
1921
  }
1920
1922
  }
1921
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1923
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
1922
1924
  if (\\"cc\\" in values && values.cc != null) {
1923
1925
  if (values.cc instanceof Object || values.cc instanceof URL) {
1924
1926
  // @ts-ignore: type is checked above.
@@ -1945,7 +1947,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1945
1947
  if (Array.isArray(values.ccs) &&
1946
1948
  values.ccs.every(v => v instanceof Object || v instanceof URL)) {
1947
1949
  // @ts-ignore: type is checked above.
1948
- clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
1950
+ clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
1949
1951
 
1950
1952
  clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
1951
1953
  for (let i = 0; i < values.ccs.length; i++) {
@@ -1959,7 +1961,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1959
1961
  );
1960
1962
  }
1961
1963
  }
1962
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1964
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
1963
1965
  if (\\"bcc\\" in values && values.bcc != null) {
1964
1966
  if (values.bcc instanceof Object || values.bcc instanceof URL) {
1965
1967
  // @ts-ignore: type is checked above.
@@ -1986,7 +1988,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
1986
1988
  if (Array.isArray(values.bccs) &&
1987
1989
  values.bccs.every(v => v instanceof Object || v instanceof URL)) {
1988
1990
  // @ts-ignore: type is checked above.
1989
- clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
1991
+ clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
1990
1992
 
1991
1993
  clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
1992
1994
  for (let i = 0; i < values.bccs.length; i++) {
@@ -2000,7 +2002,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2000
2002
  );
2001
2003
  }
2002
2004
  }
2003
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
2005
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
2004
2006
  if (\\"mediaType\\" in values && values.mediaType != null) {
2005
2007
  if (typeof values.mediaType === \\"string\\") {
2006
2008
  // @ts-ignore: type is checked above.
@@ -2013,7 +2015,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2013
2015
  );
2014
2016
  }
2015
2017
  }
2016
- clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
2018
+ clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
2017
2019
  if (\\"duration\\" in values && values.duration != null) {
2018
2020
  if (isTemporalDuration(values.duration)) {
2019
2021
  // @ts-ignore: type is checked above.
@@ -2026,7 +2028,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2026
2028
  );
2027
2029
  }
2028
2030
  }
2029
- clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
2031
+ clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
2030
2032
  if (\\"sensitive\\" in values && values.sensitive != null) {
2031
2033
  if (typeof values.sensitive === \\"boolean\\") {
2032
2034
  // @ts-ignore: type is checked above.
@@ -2039,7 +2041,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2039
2041
  );
2040
2042
  }
2041
2043
  }
2042
- clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
2044
+ clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
2043
2045
  if (\\"source\\" in values && values.source != null) {
2044
2046
  if (values.source instanceof Source) {
2045
2047
  // @ts-ignore: type is checked above.
@@ -2052,7 +2054,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2052
2054
  );
2053
2055
  }
2054
2056
  }
2055
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2057
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
2056
2058
  if (\\"proof\\" in values && values.proof != null) {
2057
2059
  if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
2058
2060
  // @ts-ignore: type is checked above.
@@ -2079,7 +2081,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2079
2081
  if (Array.isArray(values.proofs) &&
2080
2082
  values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
2081
2083
  // @ts-ignore: type is checked above.
2082
- clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
2084
+ clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
2083
2085
 
2084
2086
  clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
2085
2087
  for (let i = 0; i < values.proofs.length; i++) {
@@ -2093,7 +2095,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2093
2095
  );
2094
2096
  }
2095
2097
  }
2096
- clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy;
2098
+ clone.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy = this.#_2MHQfh2N74MMmDLDqYWFo7TxYQK2_interactionPolicy.slice();
2097
2099
  if (\\"interactionPolicy\\" in values && values.interactionPolicy != null) {
2098
2100
  if (values.interactionPolicy instanceof InteractionPolicy) {
2099
2101
  // @ts-ignore: type is checked above.
@@ -2106,7 +2108,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2106
2108
  );
2107
2109
  }
2108
2110
  }
2109
- clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy;
2111
+ clone.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy = this.#_23YiVs2miQcEiUdn4u8SvjQKWYim_approvedBy.slice();
2110
2112
  if (\\"approvedBy\\" in values && values.approvedBy != null) {
2111
2113
  if (values.approvedBy instanceof URL) {
2112
2114
  // @ts-ignore: type is checked above.
@@ -2119,7 +2121,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2119
2121
  );
2120
2122
  }
2121
2123
  }
2122
- clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization;clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2124
+ clone.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = this.#_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization.slice();clone.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization = new Set(this.#_trust_3fCeb5aXaDDd4fvkQ96BLWifBUBa_likeAuthorization);
2123
2125
  if (\\"likeAuthorization\\" in values && values.likeAuthorization != null) {
2124
2126
  if (values.likeAuthorization instanceof LikeAuthorization || values.likeAuthorization instanceof URL) {
2125
2127
  // @ts-ignore: type is checked above.
@@ -2132,7 +2134,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2132
2134
  );
2133
2135
  }
2134
2136
  }
2135
- clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization;clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2137
+ clone.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = this.#_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization.slice();clone.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization = new Set(this.#_trust_YA4wdUW7rYztAQ6SjhMnJCmcmtP_replyAuthorization);
2136
2138
  if (\\"replyAuthorization\\" in values && values.replyAuthorization != null) {
2137
2139
  if (values.replyAuthorization instanceof ReplyAuthorization || values.replyAuthorization instanceof URL) {
2138
2140
  // @ts-ignore: type is checked above.
@@ -2145,7 +2147,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
2145
2147
  );
2146
2148
  }
2147
2149
  }
2148
- clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization;clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2150
+ clone.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = this.#_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization.slice();clone.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization = new Set(this.#_trust_446xEaDBs3Fz6MyzP3PSBaLupkbJ_announceAuthorization);
2149
2151
  if (\\"announceAuthorization\\" in values && values.announceAuthorization != null) {
2150
2152
  if (values.announceAuthorization instanceof AnnounceAuthorization || values.announceAuthorization instanceof URL) {
2151
2153
  // @ts-ignore: type is checked above.
@@ -13165,7 +13167,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13165
13167
  * Clones this instance, optionally updating it with the given values.
13166
13168
  * @param values The values to update the clone with.
13167
13169
  * @param options The options to use for cloning.
13168
- * @returns The cloned instance.
13170
+ * @returns The cloned instance with its own property arrays. Nested objects
13171
+ * and URLs are shared with this instance.
13169
13172
  */
13170
13173
  override clone(
13171
13174
  values:
@@ -13527,7 +13530,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13527
13530
  * Clones this instance, optionally updating it with the given values.
13528
13531
  * @param values The values to update the clone with.
13529
13532
  * @param options The options to use for cloning.
13530
- * @returns The cloned instance.
13533
+ * @returns The cloned instance with its own property arrays. Nested objects
13534
+ * and URLs are shared with this instance.
13531
13535
  */
13532
13536
  override clone(
13533
13537
  values:
@@ -13565,7 +13569,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
13565
13569
  // @ts-ignore: \$warning is not recognized as a property, but it is.
13566
13570
  options = { ...options, \$warning: this._warning };
13567
13571
  }
13568
- const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
13572
+ const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
13569
13573
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
13570
13574
  if (values.quoteUrl instanceof URL) {
13571
13575
  // @ts-ignore: type is checked above.
@@ -14062,7 +14066,7 @@ instruments?: (Object | URL)[];}
14062
14066
  if (Array.isArray(values.actors) &&
14063
14067
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
14064
14068
  // @ts-ignore: type is checked above.
14065
- this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
14069
+ this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
14066
14070
 
14067
14071
  for (let i = 0; i < values.actors.length; i++) {
14068
14072
  this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
@@ -14102,7 +14106,7 @@ instruments?: (Object | URL)[];}
14102
14106
  if (Array.isArray(values.objects) &&
14103
14107
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
14104
14108
  // @ts-ignore: type is checked above.
14105
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
14109
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
14106
14110
 
14107
14111
  for (let i = 0; i < values.objects.length; i++) {
14108
14112
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -14142,7 +14146,7 @@ instruments?: (Object | URL)[];}
14142
14146
  if (Array.isArray(values.targets) &&
14143
14147
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
14144
14148
  // @ts-ignore: type is checked above.
14145
- this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
14149
+ this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
14146
14150
 
14147
14151
  for (let i = 0; i < values.targets.length; i++) {
14148
14152
  this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
@@ -14182,7 +14186,7 @@ instruments?: (Object | URL)[];}
14182
14186
  if (Array.isArray(values.results) &&
14183
14187
  values.results.every(v => v instanceof Object || v instanceof URL)) {
14184
14188
  // @ts-ignore: type is checked above.
14185
- this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
14189
+ this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
14186
14190
 
14187
14191
  for (let i = 0; i < values.results.length; i++) {
14188
14192
  this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
@@ -14222,7 +14226,7 @@ instruments?: (Object | URL)[];}
14222
14226
  if (Array.isArray(values.origins) &&
14223
14227
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
14224
14228
  // @ts-ignore: type is checked above.
14225
- this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
14229
+ this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
14226
14230
 
14227
14231
  for (let i = 0; i < values.origins.length; i++) {
14228
14232
  this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
@@ -14262,7 +14266,7 @@ instruments?: (Object | URL)[];}
14262
14266
  if (Array.isArray(values.instruments) &&
14263
14267
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
14264
14268
  // @ts-ignore: type is checked above.
14265
- this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
14269
+ this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
14266
14270
 
14267
14271
  for (let i = 0; i < values.instruments.length; i++) {
14268
14272
  this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
@@ -14281,7 +14285,8 @@ instruments?: (Object | URL)[];}
14281
14285
  * Clones this instance, optionally updating it with the given values.
14282
14286
  * @param values The values to update the clone with.
14283
14287
  * @param options The options to use for cloning.
14284
- * @returns The cloned instance.
14288
+ * @returns The cloned instance with its own property arrays. Nested objects
14289
+ * and URLs are shared with this instance.
14285
14290
  */
14286
14291
  override clone(
14287
14292
  values:
@@ -14325,7 +14330,7 @@ instruments?: (Object | URL)[];}
14325
14330
  // @ts-ignore: \$warning is not recognized as a property, but it is.
14326
14331
  options = { ...options, \$warning: this._warning };
14327
14332
  }
14328
- 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);
14333
+ 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);
14329
14334
  if (\\"actor\\" in values && values.actor != null) {
14330
14335
  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) {
14331
14336
  // @ts-ignore: type is checked above.
@@ -14352,7 +14357,7 @@ instruments?: (Object | URL)[];}
14352
14357
  if (Array.isArray(values.actors) &&
14353
14358
  values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
14354
14359
  // @ts-ignore: type is checked above.
14355
- clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
14360
+ clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
14356
14361
 
14357
14362
  clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
14358
14363
  for (let i = 0; i < values.actors.length; i++) {
@@ -14366,7 +14371,7 @@ instruments?: (Object | URL)[];}
14366
14371
  );
14367
14372
  }
14368
14373
  }
14369
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
14374
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
14370
14375
  if (\\"object\\" in values && values.object != null) {
14371
14376
  if (values.object instanceof Object || values.object instanceof URL) {
14372
14377
  // @ts-ignore: type is checked above.
@@ -14393,7 +14398,7 @@ instruments?: (Object | URL)[];}
14393
14398
  if (Array.isArray(values.objects) &&
14394
14399
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
14395
14400
  // @ts-ignore: type is checked above.
14396
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
14401
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
14397
14402
 
14398
14403
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
14399
14404
  for (let i = 0; i < values.objects.length; i++) {
@@ -14407,7 +14412,7 @@ instruments?: (Object | URL)[];}
14407
14412
  );
14408
14413
  }
14409
14414
  }
14410
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
14415
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
14411
14416
  if (\\"target\\" in values && values.target != null) {
14412
14417
  if (values.target instanceof Object || values.target instanceof URL) {
14413
14418
  // @ts-ignore: type is checked above.
@@ -14434,7 +14439,7 @@ instruments?: (Object | URL)[];}
14434
14439
  if (Array.isArray(values.targets) &&
14435
14440
  values.targets.every(v => v instanceof Object || v instanceof URL)) {
14436
14441
  // @ts-ignore: type is checked above.
14437
- clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
14442
+ clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
14438
14443
 
14439
14444
  clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
14440
14445
  for (let i = 0; i < values.targets.length; i++) {
@@ -14448,7 +14453,7 @@ instruments?: (Object | URL)[];}
14448
14453
  );
14449
14454
  }
14450
14455
  }
14451
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
14456
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
14452
14457
  if (\\"result\\" in values && values.result != null) {
14453
14458
  if (values.result instanceof Object || values.result instanceof URL) {
14454
14459
  // @ts-ignore: type is checked above.
@@ -14475,7 +14480,7 @@ instruments?: (Object | URL)[];}
14475
14480
  if (Array.isArray(values.results) &&
14476
14481
  values.results.every(v => v instanceof Object || v instanceof URL)) {
14477
14482
  // @ts-ignore: type is checked above.
14478
- clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
14483
+ clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
14479
14484
 
14480
14485
  clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
14481
14486
  for (let i = 0; i < values.results.length; i++) {
@@ -14489,7 +14494,7 @@ instruments?: (Object | URL)[];}
14489
14494
  );
14490
14495
  }
14491
14496
  }
14492
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
14497
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
14493
14498
  if (\\"origin\\" in values && values.origin != null) {
14494
14499
  if (values.origin instanceof Object || values.origin instanceof URL) {
14495
14500
  // @ts-ignore: type is checked above.
@@ -14516,7 +14521,7 @@ instruments?: (Object | URL)[];}
14516
14521
  if (Array.isArray(values.origins) &&
14517
14522
  values.origins.every(v => v instanceof Object || v instanceof URL)) {
14518
14523
  // @ts-ignore: type is checked above.
14519
- clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
14524
+ clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
14520
14525
 
14521
14526
  clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
14522
14527
  for (let i = 0; i < values.origins.length; i++) {
@@ -14530,7 +14535,7 @@ instruments?: (Object | URL)[];}
14530
14535
  );
14531
14536
  }
14532
14537
  }
14533
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
14538
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
14534
14539
  if (\\"instrument\\" in values && values.instrument != null) {
14535
14540
  if (values.instrument instanceof Object || values.instrument instanceof URL) {
14536
14541
  // @ts-ignore: type is checked above.
@@ -14557,7 +14562,7 @@ instruments?: (Object | URL)[];}
14557
14562
  if (Array.isArray(values.instruments) &&
14558
14563
  values.instruments.every(v => v instanceof Object || v instanceof URL)) {
14559
14564
  // @ts-ignore: type is checked above.
14560
- clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
14565
+ clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
14561
14566
 
14562
14567
  clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
14563
14568
  for (let i = 0; i < values.instruments.length; i++) {
@@ -17534,7 +17539,8 @@ instruments?: (Object | URL)[];}
17534
17539
  * Clones this instance, optionally updating it with the given values.
17535
17540
  * @param values The values to update the clone with.
17536
17541
  * @param options The options to use for cloning.
17537
- * @returns The cloned instance.
17542
+ * @returns The cloned instance with its own property arrays. Nested objects
17543
+ * and URLs are shared with this instance.
17538
17544
  */
17539
17545
  override clone(
17540
17546
  values:
@@ -17948,7 +17954,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
17948
17954
  * Clones this instance, optionally updating it with the given values.
17949
17955
  * @param values The values to update the clone with.
17950
17956
  * @param options The options to use for cloning.
17951
- * @returns The cloned instance.
17957
+ * @returns The cloned instance with its own property arrays. Nested objects
17958
+ * and URLs are shared with this instance.
17952
17959
  */
17953
17960
  clone(
17954
17961
  values:
@@ -17976,7 +17983,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
17976
17983
  { id: values.id ?? this.id },
17977
17984
  options
17978
17985
  );
17979
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
17986
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
17980
17987
  if (\\"name\\" in values && values.name != null) {
17981
17988
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
17982
17989
  // @ts-ignore: type is checked above.
@@ -17989,7 +17996,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
17989
17996
  );
17990
17997
  }
17991
17998
  }
17992
- clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
17999
+ clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
17993
18000
  if (\\"value\\" in values && values.value != null) {
17994
18001
  if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
17995
18002
  // @ts-ignore: type is checked above.
@@ -18547,7 +18554,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
18547
18554
  * Clones this instance, optionally updating it with the given values.
18548
18555
  * @param values The values to update the clone with.
18549
18556
  * @param options The options to use for cloning.
18550
- * @returns The cloned instance.
18557
+ * @returns The cloned instance with its own property arrays. Nested objects
18558
+ * and URLs are shared with this instance.
18551
18559
  */
18552
18560
  override clone(
18553
18561
  values:
@@ -18585,7 +18593,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
18585
18593
  // @ts-ignore: \$warning is not recognized as a property, but it is.
18586
18594
  options = { ...options, \$warning: this._warning };
18587
18595
  }
18588
- 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);
18596
+ 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);
18589
18597
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
18590
18598
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
18591
18599
  // @ts-ignore: type is checked above.
@@ -18598,7 +18606,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
18598
18606
  );
18599
18607
  }
18600
18608
  }
18601
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
18609
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
18602
18610
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
18603
18611
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
18604
18612
  // @ts-ignore: type is checked above.
@@ -19570,7 +19578,8 @@ instruments?: (Object | URL)[];}
19570
19578
  * Clones this instance, optionally updating it with the given values.
19571
19579
  * @param values The values to update the clone with.
19572
19580
  * @param options The options to use for cloning.
19573
- * @returns The cloned instance.
19581
+ * @returns The cloned instance with its own property arrays. Nested objects
19582
+ * and URLs are shared with this instance.
19574
19583
  */
19575
19584
  override clone(
19576
19585
  values:
@@ -20004,7 +20013,8 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20004
20013
  * Clones this instance, optionally updating it with the given values.
20005
20014
  * @param values The values to update the clone with.
20006
20015
  * @param options The options to use for cloning.
20007
- * @returns The cloned instance.
20016
+ * @returns The cloned instance with its own property arrays. Nested objects
20017
+ * and URLs are shared with this instance.
20008
20018
  */
20009
20019
  clone(
20010
20020
  values:
@@ -20032,7 +20042,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20032
20042
  { id: values.id ?? this.id },
20033
20043
  options
20034
20044
  );
20035
- clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike;
20045
+ clone.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike = this.#_3JkwVLb3BNCwCWdsb5RftGAg8vyT_canLike.slice();
20036
20046
  if (\\"canLike\\" in values && values.canLike != null) {
20037
20047
  if (values.canLike instanceof InteractionRule) {
20038
20048
  // @ts-ignore: type is checked above.
@@ -20045,7 +20055,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20045
20055
  );
20046
20056
  }
20047
20057
  }
20048
- clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply;
20058
+ clone.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply = this.#_2UBgLRi5p3DRGGvWyB227i4Qjhzd_canReply.slice();
20049
20059
  if (\\"canReply\\" in values && values.canReply != null) {
20050
20060
  if (values.canReply instanceof InteractionRule) {
20051
20061
  // @ts-ignore: type is checked above.
@@ -20058,7 +20068,7 @@ canLike?: InteractionRule | null;canReply?: InteractionRule | null;canAnnounce?:
20058
20068
  );
20059
20069
  }
20060
20070
  }
20061
- clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce;
20071
+ clone.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce = this.#_fu5nmoAj528fBQfnxhY9Daok3Vi_canAnnounce.slice();
20062
20072
  if (\\"canAnnounce\\" in values && values.canAnnounce != null) {
20063
20073
  if (values.canAnnounce instanceof InteractionRule) {
20064
20074
  // @ts-ignore: type is checked above.
@@ -20697,7 +20707,7 @@ manualApprovals?: (URL)[];}
20697
20707
  if (Array.isArray(values.automaticApprovals) &&
20698
20708
  values.automaticApprovals.every(v => v instanceof URL)) {
20699
20709
  // @ts-ignore: type is checked above.
20700
- this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
20710
+ this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
20701
20711
 
20702
20712
  } else {
20703
20713
  throw new TypeError(
@@ -20733,7 +20743,7 @@ manualApprovals?: (URL)[];}
20733
20743
  if (Array.isArray(values.manualApprovals) &&
20734
20744
  values.manualApprovals.every(v => v instanceof URL)) {
20735
20745
  // @ts-ignore: type is checked above.
20736
- this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
20746
+ this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
20737
20747
 
20738
20748
  } else {
20739
20749
  throw new TypeError(
@@ -20748,7 +20758,8 @@ manualApprovals?: (URL)[];}
20748
20758
  * Clones this instance, optionally updating it with the given values.
20749
20759
  * @param values The values to update the clone with.
20750
20760
  * @param options The options to use for cloning.
20751
- * @returns The cloned instance.
20761
+ * @returns The cloned instance with its own property arrays. Nested objects
20762
+ * and URLs are shared with this instance.
20752
20763
  */
20753
20764
  clone(
20754
20765
  values:
@@ -20778,7 +20789,7 @@ manualApprovals?: (URL)[];}
20778
20789
  { id: values.id ?? this.id },
20779
20790
  options
20780
20791
  );
20781
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval;
20792
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = this.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval.slice();
20782
20793
  if (\\"automaticApproval\\" in values && values.automaticApproval != null) {
20783
20794
  if (values.automaticApproval instanceof URL) {
20784
20795
  // @ts-ignore: type is checked above.
@@ -20805,7 +20816,7 @@ manualApprovals?: (URL)[];}
20805
20816
  if (Array.isArray(values.automaticApprovals) &&
20806
20817
  values.automaticApprovals.every(v => v instanceof URL)) {
20807
20818
  // @ts-ignore: type is checked above.
20808
- clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals;
20819
+ clone.#_2rFyCF14HoyNjitj9PmCzek5iSsg_automaticApproval = values.automaticApprovals.slice();
20809
20820
 
20810
20821
  } else {
20811
20822
  throw new TypeError(
@@ -20814,7 +20825,7 @@ manualApprovals?: (URL)[];}
20814
20825
  );
20815
20826
  }
20816
20827
  }
20817
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval;
20828
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = this.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval.slice();
20818
20829
  if (\\"manualApproval\\" in values && values.manualApproval != null) {
20819
20830
  if (values.manualApproval instanceof URL) {
20820
20831
  // @ts-ignore: type is checked above.
@@ -20841,7 +20852,7 @@ manualApprovals?: (URL)[];}
20841
20852
  if (Array.isArray(values.manualApprovals) &&
20842
20853
  values.manualApprovals.every(v => v instanceof URL)) {
20843
20854
  // @ts-ignore: type is checked above.
20844
- clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals;
20855
+ clone.#_sxj8y5XMMMBWUnRYFw85MKedCMj_manualApproval = values.manualApprovals.slice();
20845
20856
 
20846
20857
  } else {
20847
20858
  throw new TypeError(
@@ -21375,7 +21386,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
21375
21386
  * Clones this instance, optionally updating it with the given values.
21376
21387
  * @param values The values to update the clone with.
21377
21388
  * @param options The options to use for cloning.
21378
- * @returns The cloned instance.
21389
+ * @returns The cloned instance with its own property arrays. Nested objects
21390
+ * and URLs are shared with this instance.
21379
21391
  */
21380
21392
  override clone(
21381
21393
  values:
@@ -21413,7 +21425,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
21413
21425
  // @ts-ignore: \$warning is not recognized as a property, but it is.
21414
21426
  options = { ...options, \$warning: this._warning };
21415
21427
  }
21416
- 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);
21428
+ 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);
21417
21429
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
21418
21430
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
21419
21431
  // @ts-ignore: type is checked above.
@@ -21426,7 +21438,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
21426
21438
  );
21427
21439
  }
21428
21440
  }
21429
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
21441
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
21430
21442
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
21431
21443
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
21432
21444
  // @ts-ignore: type is checked above.
@@ -22397,7 +22409,8 @@ instruments?: (Object | URL)[];}
22397
22409
  * Clones this instance, optionally updating it with the given values.
22398
22410
  * @param values The values to update the clone with.
22399
22411
  * @param options The options to use for cloning.
22400
- * @returns The cloned instance.
22412
+ * @returns The cloned instance with its own property arrays. Nested objects
22413
+ * and URLs are shared with this instance.
22401
22414
  */
22402
22415
  override clone(
22403
22416
  values:
@@ -22769,7 +22782,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
22769
22782
  * Clones this instance, optionally updating it with the given values.
22770
22783
  * @param values The values to update the clone with.
22771
22784
  * @param options The options to use for cloning.
22772
- * @returns The cloned instance.
22785
+ * @returns The cloned instance with its own property arrays. Nested objects
22786
+ * and URLs are shared with this instance.
22773
22787
  */
22774
22788
  override clone(
22775
22789
  values:
@@ -22807,7 +22821,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
22807
22821
  // @ts-ignore: \$warning is not recognized as a property, but it is.
22808
22822
  options = { ...options, \$warning: this._warning };
22809
22823
  }
22810
- 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);
22824
+ 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);
22811
22825
  if (\\"interactingObject\\" in values && values.interactingObject != null) {
22812
22826
  if (values.interactingObject instanceof Object || values.interactingObject instanceof URL) {
22813
22827
  // @ts-ignore: type is checked above.
@@ -22820,7 +22834,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
22820
22834
  );
22821
22835
  }
22822
22836
  }
22823
- clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget;clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
22837
+ clone.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = this.#_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget.slice();clone.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget = new Set(this.#_trust_2wHyG75YnN15CDMaFk3VNjByu4aL_interactionTarget);
22824
22838
  if (\\"interactionTarget\\" in values && values.interactionTarget != null) {
22825
22839
  if (values.interactionTarget instanceof Object || values.interactionTarget instanceof URL) {
22826
22840
  // @ts-ignore: type is checked above.
@@ -23791,7 +23805,8 @@ instruments?: (Object | URL)[];}
23791
23805
  * Clones this instance, optionally updating it with the given values.
23792
23806
  * @param values The values to update the clone with.
23793
23807
  * @param options The options to use for cloning.
23794
- * @returns The cloned instance.
23808
+ * @returns The cloned instance with its own property arrays. Nested objects
23809
+ * and URLs are shared with this instance.
23795
23810
  */
23796
23811
  override clone(
23797
23812
  values:
@@ -24204,7 +24219,7 @@ endpoints?: (URL)[];}
24204
24219
  if (Array.isArray(values.endpoints) &&
24205
24220
  values.endpoints.every(v => v instanceof URL)) {
24206
24221
  // @ts-ignore: type is checked above.
24207
- this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
24222
+ this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
24208
24223
 
24209
24224
  } else {
24210
24225
  throw new TypeError(
@@ -24219,7 +24234,8 @@ endpoints?: (URL)[];}
24219
24234
  * Clones this instance, optionally updating it with the given values.
24220
24235
  * @param values The values to update the clone with.
24221
24236
  * @param options The options to use for cloning.
24222
- * @returns The cloned instance.
24237
+ * @returns The cloned instance with its own property arrays. Nested objects
24238
+ * and URLs are shared with this instance.
24223
24239
  */
24224
24240
  clone(
24225
24241
  values:
@@ -24248,7 +24264,7 @@ endpoints?: (URL)[];}
24248
24264
  { id: values.id ?? this.id },
24249
24265
  options
24250
24266
  );
24251
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
24267
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
24252
24268
  if (\\"endpoint\\" in values && values.endpoint != null) {
24253
24269
  if (values.endpoint instanceof URL) {
24254
24270
  // @ts-ignore: type is checked above.
@@ -24275,7 +24291,7 @@ endpoints?: (URL)[];}
24275
24291
  if (Array.isArray(values.endpoints) &&
24276
24292
  values.endpoints.every(v => v instanceof URL)) {
24277
24293
  // @ts-ignore: type is checked above.
24278
- clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
24294
+ clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
24279
24295
 
24280
24296
  } else {
24281
24297
  throw new TypeError(
@@ -24654,7 +24670,8 @@ endpoints?: (URL)[];}
24654
24670
  * Clones this instance, optionally updating it with the given values.
24655
24671
  * @param values The values to update the clone with.
24656
24672
  * @param options The options to use for cloning.
24657
- * @returns The cloned instance.
24673
+ * @returns The cloned instance with its own property arrays. Nested objects
24674
+ * and URLs are shared with this instance.
24658
24675
  */
24659
24676
  override clone(
24660
24677
  values:
@@ -25084,7 +25101,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25084
25101
  * Clones this instance, optionally updating it with the given values.
25085
25102
  * @param values The values to update the clone with.
25086
25103
  * @param options The options to use for cloning.
25087
- * @returns The cloned instance.
25104
+ * @returns The cloned instance with its own property arrays. Nested objects
25105
+ * and URLs are shared with this instance.
25088
25106
  */
25089
25107
  clone(
25090
25108
  values:
@@ -25112,7 +25130,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25112
25130
  { id: values.id ?? this.id },
25113
25131
  options
25114
25132
  );
25115
- clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
25133
+ clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
25116
25134
  if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
25117
25135
  if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
25118
25136
  // @ts-ignore: type is checked above.
@@ -25125,7 +25143,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25125
25143
  );
25126
25144
  }
25127
25145
  }
25128
- clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
25146
+ clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
25129
25147
  if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
25130
25148
  if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
25131
25149
  // @ts-ignore: type is checked above.
@@ -25138,7 +25156,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25138
25156
  );
25139
25157
  }
25140
25158
  }
25141
- clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
25159
+ clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
25142
25160
  if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
25143
25161
  if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
25144
25162
  values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
@@ -25153,7 +25171,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25153
25171
  );
25154
25172
  }
25155
25173
  }
25156
- clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
25174
+ clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
25157
25175
  if (\\"proofValue\\" in values && values.proofValue != null) {
25158
25176
  if (values.proofValue instanceof Uint8Array) {
25159
25177
  // @ts-ignore: type is checked above.
@@ -25166,7 +25184,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
25166
25184
  );
25167
25185
  }
25168
25186
  }
25169
- clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
25187
+ clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
25170
25188
  if (\\"created\\" in values && values.created != null) {
25171
25189
  if (isTemporalInstant(values.created)) {
25172
25190
  // @ts-ignore: type is checked above.
@@ -26129,7 +26147,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
26129
26147
  * Clones this instance, optionally updating it with the given values.
26130
26148
  * @param values The values to update the clone with.
26131
26149
  * @param options The options to use for cloning.
26132
- * @returns The cloned instance.
26150
+ * @returns The cloned instance with its own property arrays. Nested objects
26151
+ * and URLs are shared with this instance.
26133
26152
  */
26134
26153
  clone(
26135
26154
  values:
@@ -26157,7 +26176,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
26157
26176
  { id: values.id ?? this.id },
26158
26177
  options
26159
26178
  );
26160
- clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
26179
+ clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
26161
26180
  if (\\"owner\\" in values && values.owner != null) {
26162
26181
  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) {
26163
26182
  // @ts-ignore: type is checked above.
@@ -26170,7 +26189,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
26170
26189
  );
26171
26190
  }
26172
26191
  }
26173
- clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
26192
+ clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
26174
26193
  if (\\"publicKey\\" in values && values.publicKey != null) {
26175
26194
  if (
26176
26195
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -27044,7 +27063,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
27044
27063
  * Clones this instance, optionally updating it with the given values.
27045
27064
  * @param values The values to update the clone with.
27046
27065
  * @param options The options to use for cloning.
27047
- * @returns The cloned instance.
27066
+ * @returns The cloned instance with its own property arrays. Nested objects
27067
+ * and URLs are shared with this instance.
27048
27068
  */
27049
27069
  clone(
27050
27070
  values:
@@ -27072,7 +27092,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
27072
27092
  { id: values.id ?? this.id },
27073
27093
  options
27074
27094
  );
27075
- clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
27095
+ clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
27076
27096
  if (\\"controller\\" in values && values.controller != null) {
27077
27097
  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) {
27078
27098
  // @ts-ignore: type is checked above.
@@ -27085,7 +27105,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
27085
27105
  );
27086
27106
  }
27087
27107
  }
27088
- clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
27108
+ clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
27089
27109
  if (\\"publicKey\\" in values && values.publicKey != null) {
27090
27110
  if (
27091
27111
  // @ts-ignore: CryptoKey exists in the global scope.
@@ -27884,7 +27904,8 @@ instruments?: (Object | URL)[];}
27884
27904
  * Clones this instance, optionally updating it with the given values.
27885
27905
  * @param values The values to update the clone with.
27886
27906
  * @param options The options to use for cloning.
27887
- * @returns The cloned instance.
27907
+ * @returns The cloned instance with its own property arrays. Nested objects
27908
+ * and URLs are shared with this instance.
27888
27909
  */
27889
27910
  override clone(
27890
27911
  values:
@@ -28230,7 +28251,8 @@ instruments?: (Object | URL)[];}
28230
28251
  * Clones this instance, optionally updating it with the given values.
28231
28252
  * @param values The values to update the clone with.
28232
28253
  * @param options The options to use for cloning.
28233
- * @returns The cloned instance.
28254
+ * @returns The cloned instance with its own property arrays. Nested objects
28255
+ * and URLs are shared with this instance.
28234
28256
  */
28235
28257
  override clone(
28236
28258
  values:
@@ -28571,7 +28593,8 @@ instruments?: (Object | URL)[];}
28571
28593
  * Clones this instance, optionally updating it with the given values.
28572
28594
  * @param values The values to update the clone with.
28573
28595
  * @param options The options to use for cloning.
28574
- * @returns The cloned instance.
28596
+ * @returns The cloned instance with its own property arrays. Nested objects
28597
+ * and URLs are shared with this instance.
28575
28598
  */
28576
28599
  override clone(
28577
28600
  values:
@@ -28977,7 +29000,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
28977
29000
  if (Array.isArray(values.preferredUsernames) &&
28978
29001
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
28979
29002
  // @ts-ignore: type is checked above.
28980
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
29003
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
28981
29004
 
28982
29005
  } else {
28983
29006
  throw new TypeError(
@@ -29013,7 +29036,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29013
29036
  if (Array.isArray(values.publicKeys) &&
29014
29037
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
29015
29038
  // @ts-ignore: type is checked above.
29016
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
29039
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
29017
29040
 
29018
29041
  for (let i = 0; i < values.publicKeys.length; i++) {
29019
29042
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -29053,7 +29076,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29053
29076
  if (Array.isArray(values.assertionMethods) &&
29054
29077
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
29055
29078
  // @ts-ignore: type is checked above.
29056
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
29079
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
29057
29080
 
29058
29081
  for (let i = 0; i < values.assertionMethods.length; i++) {
29059
29082
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -29176,7 +29199,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29176
29199
  if (Array.isArray(values.streams) &&
29177
29200
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
29178
29201
  // @ts-ignore: type is checked above.
29179
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
29202
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
29180
29203
 
29181
29204
  for (let i = 0; i < values.streams.length; i++) {
29182
29205
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -29294,7 +29317,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29294
29317
  if (Array.isArray(values.aliases) &&
29295
29318
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
29296
29319
  // @ts-ignore: type is checked above.
29297
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
29320
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
29298
29321
 
29299
29322
  for (let i = 0; i < values.aliases.length; i++) {
29300
29323
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -29334,7 +29357,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29334
29357
  if (Array.isArray(values.services) &&
29335
29358
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
29336
29359
  // @ts-ignore: type is checked above.
29337
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
29360
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
29338
29361
 
29339
29362
  for (let i = 0; i < values.services.length; i++) {
29340
29363
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -29379,7 +29402,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29379
29402
  * Clones this instance, optionally updating it with the given values.
29380
29403
  * @param values The values to update the clone with.
29381
29404
  * @param options The options to use for cloning.
29382
- * @returns The cloned instance.
29405
+ * @returns The cloned instance with its own property arrays. Nested objects
29406
+ * and URLs are shared with this instance.
29383
29407
  */
29384
29408
  override clone(
29385
29409
  values:
@@ -29422,7 +29446,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29422
29446
  // @ts-ignore: \$warning is not recognized as a property, but it is.
29423
29447
  options = { ...options, \$warning: this._warning };
29424
29448
  }
29425
- const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
29449
+ const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
29426
29450
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
29427
29451
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
29428
29452
  // @ts-ignore: type is checked above.
@@ -29449,7 +29473,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29449
29473
  if (Array.isArray(values.preferredUsernames) &&
29450
29474
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
29451
29475
  // @ts-ignore: type is checked above.
29452
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
29476
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
29453
29477
 
29454
29478
  } else {
29455
29479
  throw new TypeError(
@@ -29458,7 +29482,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29458
29482
  );
29459
29483
  }
29460
29484
  }
29461
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
29485
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
29462
29486
  if (\\"publicKey\\" in values && values.publicKey != null) {
29463
29487
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
29464
29488
  // @ts-ignore: type is checked above.
@@ -29485,7 +29509,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29485
29509
  if (Array.isArray(values.publicKeys) &&
29486
29510
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
29487
29511
  // @ts-ignore: type is checked above.
29488
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
29512
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
29489
29513
 
29490
29514
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
29491
29515
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -29499,7 +29523,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29499
29523
  );
29500
29524
  }
29501
29525
  }
29502
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
29526
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
29503
29527
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
29504
29528
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
29505
29529
  // @ts-ignore: type is checked above.
@@ -29526,7 +29550,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29526
29550
  if (Array.isArray(values.assertionMethods) &&
29527
29551
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
29528
29552
  // @ts-ignore: type is checked above.
29529
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
29553
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
29530
29554
 
29531
29555
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
29532
29556
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -29540,7 +29564,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29540
29564
  );
29541
29565
  }
29542
29566
  }
29543
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
29567
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
29544
29568
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
29545
29569
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
29546
29570
  // @ts-ignore: type is checked above.
@@ -29553,7 +29577,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29553
29577
  );
29554
29578
  }
29555
29579
  }
29556
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
29580
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
29557
29581
  if (\\"inbox\\" in values && values.inbox != null) {
29558
29582
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
29559
29583
  // @ts-ignore: type is checked above.
@@ -29566,7 +29590,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29566
29590
  );
29567
29591
  }
29568
29592
  }
29569
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
29593
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
29570
29594
  if (\\"outbox\\" in values && values.outbox != null) {
29571
29595
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
29572
29596
  // @ts-ignore: type is checked above.
@@ -29579,7 +29603,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29579
29603
  );
29580
29604
  }
29581
29605
  }
29582
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
29606
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
29583
29607
  if (\\"following\\" in values && values.following != null) {
29584
29608
  if (values.following instanceof Collection || values.following instanceof URL) {
29585
29609
  // @ts-ignore: type is checked above.
@@ -29592,7 +29616,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29592
29616
  );
29593
29617
  }
29594
29618
  }
29595
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
29619
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
29596
29620
  if (\\"followers\\" in values && values.followers != null) {
29597
29621
  if (values.followers instanceof Collection || values.followers instanceof URL) {
29598
29622
  // @ts-ignore: type is checked above.
@@ -29605,7 +29629,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29605
29629
  );
29606
29630
  }
29607
29631
  }
29608
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
29632
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
29609
29633
  if (\\"liked\\" in values && values.liked != null) {
29610
29634
  if (values.liked instanceof Collection || values.liked instanceof URL) {
29611
29635
  // @ts-ignore: type is checked above.
@@ -29618,7 +29642,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29618
29642
  );
29619
29643
  }
29620
29644
  }
29621
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
29645
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
29622
29646
  if (\\"featured\\" in values && values.featured != null) {
29623
29647
  if (values.featured instanceof Collection || values.featured instanceof URL) {
29624
29648
  // @ts-ignore: type is checked above.
@@ -29631,7 +29655,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29631
29655
  );
29632
29656
  }
29633
29657
  }
29634
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
29658
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
29635
29659
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
29636
29660
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
29637
29661
  // @ts-ignore: type is checked above.
@@ -29644,13 +29668,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29644
29668
  );
29645
29669
  }
29646
29670
  }
29647
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
29671
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
29648
29672
  if (\\"streams\\" in values && values.streams != null) {
29649
29673
 
29650
29674
  if (Array.isArray(values.streams) &&
29651
29675
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
29652
29676
  // @ts-ignore: type is checked above.
29653
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
29677
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
29654
29678
 
29655
29679
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
29656
29680
  for (let i = 0; i < values.streams.length; i++) {
@@ -29664,7 +29688,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29664
29688
  );
29665
29689
  }
29666
29690
  }
29667
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
29691
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
29668
29692
  if (\\"endpoints\\" in values && values.endpoints != null) {
29669
29693
  if (values.endpoints instanceof Endpoints) {
29670
29694
  // @ts-ignore: type is checked above.
@@ -29677,7 +29701,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29677
29701
  );
29678
29702
  }
29679
29703
  }
29680
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
29704
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
29681
29705
  if (\\"discoverable\\" in values && values.discoverable != null) {
29682
29706
  if (typeof values.discoverable === \\"boolean\\") {
29683
29707
  // @ts-ignore: type is checked above.
@@ -29690,7 +29714,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29690
29714
  );
29691
29715
  }
29692
29716
  }
29693
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
29717
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
29694
29718
  if (\\"suspended\\" in values && values.suspended != null) {
29695
29719
  if (typeof values.suspended === \\"boolean\\") {
29696
29720
  // @ts-ignore: type is checked above.
@@ -29703,7 +29727,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29703
29727
  );
29704
29728
  }
29705
29729
  }
29706
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
29730
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
29707
29731
  if (\\"memorial\\" in values && values.memorial != null) {
29708
29732
  if (typeof values.memorial === \\"boolean\\") {
29709
29733
  // @ts-ignore: type is checked above.
@@ -29716,7 +29740,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29716
29740
  );
29717
29741
  }
29718
29742
  }
29719
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
29743
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
29720
29744
  if (\\"indexable\\" in values && values.indexable != null) {
29721
29745
  if (typeof values.indexable === \\"boolean\\") {
29722
29746
  // @ts-ignore: type is checked above.
@@ -29729,7 +29753,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29729
29753
  );
29730
29754
  }
29731
29755
  }
29732
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
29756
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
29733
29757
  if (\\"successor\\" in values && values.successor != null) {
29734
29758
  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) {
29735
29759
  // @ts-ignore: type is checked above.
@@ -29742,7 +29766,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29742
29766
  );
29743
29767
  }
29744
29768
  }
29745
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
29769
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
29746
29770
  if (\\"alias\\" in values && values.alias != null) {
29747
29771
  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) {
29748
29772
  // @ts-ignore: type is checked above.
@@ -29769,7 +29793,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29769
29793
  if (Array.isArray(values.aliases) &&
29770
29794
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
29771
29795
  // @ts-ignore: type is checked above.
29772
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
29796
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
29773
29797
 
29774
29798
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
29775
29799
  for (let i = 0; i < values.aliases.length; i++) {
@@ -29783,7 +29807,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29783
29807
  );
29784
29808
  }
29785
29809
  }
29786
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
29810
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
29787
29811
  if (\\"service\\" in values && values.service != null) {
29788
29812
  if (values.service instanceof DidService || values.service instanceof URL) {
29789
29813
  // @ts-ignore: type is checked above.
@@ -29810,7 +29834,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29810
29834
  if (Array.isArray(values.services) &&
29811
29835
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
29812
29836
  // @ts-ignore: type is checked above.
29813
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
29837
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
29814
29838
 
29815
29839
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
29816
29840
  for (let i = 0; i < values.services.length; i++) {
@@ -29824,7 +29848,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29824
29848
  );
29825
29849
  }
29826
29850
  }
29827
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
29851
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
29828
29852
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
29829
29853
  if (typeof values.followedMessage === \\"string\\") {
29830
29854
  // @ts-ignore: type is checked above.
@@ -29837,7 +29861,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
29837
29861
  );
29838
29862
  }
29839
29863
  }
29840
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
29864
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
29841
29865
  if (\\"cat\\" in values && values.cat != null) {
29842
29866
  if (typeof values.cat === \\"boolean\\") {
29843
29867
  // @ts-ignore: type is checked above.
@@ -35855,7 +35879,8 @@ instruments?: (Object | URL)[];}
35855
35879
  * Clones this instance, optionally updating it with the given values.
35856
35880
  * @param values The values to update the clone with.
35857
35881
  * @param options The options to use for cloning.
35858
- * @returns The cloned instance.
35882
+ * @returns The cloned instance with its own property arrays. Nested objects
35883
+ * and URLs are shared with this instance.
35859
35884
  */
35860
35885
  override clone(
35861
35886
  values:
@@ -36208,7 +36233,8 @@ instruments?: (Object | URL)[];}
36208
36233
  * Clones this instance, optionally updating it with the given values.
36209
36234
  * @param values The values to update the clone with.
36210
36235
  * @param options The options to use for cloning.
36211
- * @returns The cloned instance.
36236
+ * @returns The cloned instance with its own property arrays. Nested objects
36237
+ * and URLs are shared with this instance.
36212
36238
  */
36213
36239
  override clone(
36214
36240
  values:
@@ -36554,7 +36580,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
36554
36580
  * Clones this instance, optionally updating it with the given values.
36555
36581
  * @param values The values to update the clone with.
36556
36582
  * @param options The options to use for cloning.
36557
- * @returns The cloned instance.
36583
+ * @returns The cloned instance with its own property arrays. Nested objects
36584
+ * and URLs are shared with this instance.
36558
36585
  */
36559
36586
  override clone(
36560
36587
  values:
@@ -36592,7 +36619,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
36592
36619
  // @ts-ignore: \$warning is not recognized as a property, but it is.
36593
36620
  options = { ...options, \$warning: this._warning };
36594
36621
  }
36595
- const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
36622
+ const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
36596
36623
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
36597
36624
  if (values.quoteUrl instanceof URL) {
36598
36625
  // @ts-ignore: type is checked above.
@@ -37067,7 +37094,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37067
37094
  * Clones this instance, optionally updating it with the given values.
37068
37095
  * @param values The values to update the clone with.
37069
37096
  * @param options The options to use for cloning.
37070
- * @returns The cloned instance.
37097
+ * @returns The cloned instance with its own property arrays. Nested objects
37098
+ * and URLs are shared with this instance.
37071
37099
  */
37072
37100
  override clone(
37073
37101
  values:
@@ -37105,7 +37133,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37105
37133
  // @ts-ignore: \$warning is not recognized as a property, but it is.
37106
37134
  options = { ...options, \$warning: this._warning };
37107
37135
  }
37108
- const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
37136
+ const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
37109
37137
  if (\\"width\\" in values && values.width != null) {
37110
37138
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
37111
37139
  // @ts-ignore: type is checked above.
@@ -37118,7 +37146,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37118
37146
  );
37119
37147
  }
37120
37148
  }
37121
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
37149
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
37122
37150
  if (\\"height\\" in values && values.height != null) {
37123
37151
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
37124
37152
  // @ts-ignore: type is checked above.
@@ -37638,7 +37666,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
37638
37666
  * Clones this instance, optionally updating it with the given values.
37639
37667
  * @param values The values to update the clone with.
37640
37668
  * @param options The options to use for cloning.
37641
- * @returns The cloned instance.
37669
+ * @returns The cloned instance with its own property arrays. Nested objects
37670
+ * and URLs are shared with this instance.
37642
37671
  */
37643
37672
  override clone(
37644
37673
  values:
@@ -37989,7 +38018,8 @@ instruments?: (Object | URL)[];}
37989
38018
  * Clones this instance, optionally updating it with the given values.
37990
38019
  * @param values The values to update the clone with.
37991
38020
  * @param options The options to use for cloning.
37992
- * @returns The cloned instance.
38021
+ * @returns The cloned instance with its own property arrays. Nested objects
38022
+ * and URLs are shared with this instance.
37993
38023
  */
37994
38024
  override clone(
37995
38025
  values:
@@ -38335,7 +38365,8 @@ instruments?: (Object | URL)[];}
38335
38365
  * Clones this instance, optionally updating it with the given values.
38336
38366
  * @param values The values to update the clone with.
38337
38367
  * @param options The options to use for cloning.
38338
- * @returns The cloned instance.
38368
+ * @returns The cloned instance with its own property arrays. Nested objects
38369
+ * and URLs are shared with this instance.
38339
38370
  */
38340
38371
  override clone(
38341
38372
  values:
@@ -38761,7 +38792,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38761
38792
  if (Array.isArray(values.items) &&
38762
38793
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
38763
38794
  // @ts-ignore: type is checked above.
38764
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
38795
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
38765
38796
 
38766
38797
  for (let i = 0; i < values.items.length; i++) {
38767
38798
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -38884,7 +38915,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38884
38915
  * Clones this instance, optionally updating it with the given values.
38885
38916
  * @param values The values to update the clone with.
38886
38917
  * @param options The options to use for cloning.
38887
- * @returns The cloned instance.
38918
+ * @returns The cloned instance with its own property arrays. Nested objects
38919
+ * and URLs are shared with this instance.
38888
38920
  */
38889
38921
  override clone(
38890
38922
  values:
@@ -38922,7 +38954,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38922
38954
  // @ts-ignore: \$warning is not recognized as a property, but it is.
38923
38955
  options = { ...options, \$warning: this._warning };
38924
38956
  }
38925
- const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
38957
+ const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
38926
38958
  if (\\"totalItems\\" in values && values.totalItems != null) {
38927
38959
  if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
38928
38960
  // @ts-ignore: type is checked above.
@@ -38935,7 +38967,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38935
38967
  );
38936
38968
  }
38937
38969
  }
38938
- clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
38970
+ clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
38939
38971
  if (\\"current\\" in values && values.current != null) {
38940
38972
  if (values.current instanceof CollectionPage || values.current instanceof URL) {
38941
38973
  // @ts-ignore: type is checked above.
@@ -38948,7 +38980,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38948
38980
  );
38949
38981
  }
38950
38982
  }
38951
- clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
38983
+ clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
38952
38984
  if (\\"first\\" in values && values.first != null) {
38953
38985
  if (values.first instanceof CollectionPage || values.first instanceof URL) {
38954
38986
  // @ts-ignore: type is checked above.
@@ -38961,7 +38993,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38961
38993
  );
38962
38994
  }
38963
38995
  }
38964
- clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
38996
+ clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
38965
38997
  if (\\"last\\" in values && values.last != null) {
38966
38998
  if (values.last instanceof CollectionPage || values.last instanceof URL) {
38967
38999
  // @ts-ignore: type is checked above.
@@ -38974,13 +39006,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38974
39006
  );
38975
39007
  }
38976
39008
  }
38977
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
39009
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
38978
39010
  if (\\"items\\" in values && values.items != null) {
38979
39011
 
38980
39012
  if (Array.isArray(values.items) &&
38981
39013
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
38982
39014
  // @ts-ignore: type is checked above.
38983
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
39015
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
38984
39016
 
38985
39017
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
38986
39018
  for (let i = 0; i < values.items.length; i++) {
@@ -38994,7 +39026,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
38994
39026
  );
38995
39027
  }
38996
39028
  }
38997
- clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
39029
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
38998
39030
  if (\\"likesOf\\" in values && values.likesOf != null) {
38999
39031
  if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
39000
39032
  // @ts-ignore: type is checked above.
@@ -39007,7 +39039,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39007
39039
  );
39008
39040
  }
39009
39041
  }
39010
- clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
39042
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
39011
39043
  if (\\"sharesOf\\" in values && values.sharesOf != null) {
39012
39044
  if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
39013
39045
  // @ts-ignore: type is checked above.
@@ -39020,7 +39052,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39020
39052
  );
39021
39053
  }
39022
39054
  }
39023
- clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
39055
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
39024
39056
  if (\\"repliesOf\\" in values && values.repliesOf != null) {
39025
39057
  if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
39026
39058
  // @ts-ignore: type is checked above.
@@ -39033,7 +39065,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39033
39065
  );
39034
39066
  }
39035
39067
  }
39036
- clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
39068
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
39037
39069
  if (\\"inboxOf\\" in values && values.inboxOf != null) {
39038
39070
  if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
39039
39071
  // @ts-ignore: type is checked above.
@@ -39046,7 +39078,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39046
39078
  );
39047
39079
  }
39048
39080
  }
39049
- clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
39081
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
39050
39082
  if (\\"outboxOf\\" in values && values.outboxOf != null) {
39051
39083
  if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
39052
39084
  // @ts-ignore: type is checked above.
@@ -39059,7 +39091,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39059
39091
  );
39060
39092
  }
39061
39093
  }
39062
- clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
39094
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
39063
39095
  if (\\"followersOf\\" in values && values.followersOf != null) {
39064
39096
  if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
39065
39097
  // @ts-ignore: type is checked above.
@@ -39072,7 +39104,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39072
39104
  );
39073
39105
  }
39074
39106
  }
39075
- clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
39107
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
39076
39108
  if (\\"followingOf\\" in values && values.followingOf != null) {
39077
39109
  if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
39078
39110
  // @ts-ignore: type is checked above.
@@ -39085,7 +39117,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
39085
39117
  );
39086
39118
  }
39087
39119
  }
39088
- clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
39120
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
39089
39121
  if (\\"likedOf\\" in values && values.likedOf != null) {
39090
39122
  if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
39091
39123
  // @ts-ignore: type is checked above.
@@ -43409,7 +43441,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43409
43441
  * Clones this instance, optionally updating it with the given values.
43410
43442
  * @param values The values to update the clone with.
43411
43443
  * @param options The options to use for cloning.
43412
- * @returns The cloned instance.
43444
+ * @returns The cloned instance with its own property arrays. Nested objects
43445
+ * and URLs are shared with this instance.
43413
43446
  */
43414
43447
  override clone(
43415
43448
  values:
@@ -43447,7 +43480,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43447
43480
  // @ts-ignore: \$warning is not recognized as a property, but it is.
43448
43481
  options = { ...options, \$warning: this._warning };
43449
43482
  }
43450
- 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);
43483
+ 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);
43451
43484
  if (\\"partOf\\" in values && values.partOf != null) {
43452
43485
  if (values.partOf instanceof Collection || values.partOf instanceof URL) {
43453
43486
  // @ts-ignore: type is checked above.
@@ -43460,7 +43493,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43460
43493
  );
43461
43494
  }
43462
43495
  }
43463
- clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
43496
+ clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
43464
43497
  if (\\"next\\" in values && values.next != null) {
43465
43498
  if (values.next instanceof CollectionPage || values.next instanceof URL) {
43466
43499
  // @ts-ignore: type is checked above.
@@ -43473,7 +43506,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
43473
43506
  );
43474
43507
  }
43475
43508
  }
43476
- clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
43509
+ clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
43477
43510
  if (\\"prev\\" in values && values.prev != null) {
43478
43511
  if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
43479
43512
  // @ts-ignore: type is checked above.
@@ -44755,7 +44788,8 @@ instruments?: (Object | URL)[];}
44755
44788
  * Clones this instance, optionally updating it with the given values.
44756
44789
  * @param values The values to update the clone with.
44757
44790
  * @param options The options to use for cloning.
44758
- * @returns The cloned instance.
44791
+ * @returns The cloned instance with its own property arrays. Nested objects
44792
+ * and URLs are shared with this instance.
44759
44793
  */
44760
44794
  override clone(
44761
44795
  values:
@@ -45095,7 +45129,8 @@ instruments?: (Object | URL)[];}
45095
45129
  * Clones this instance, optionally updating it with the given values.
45096
45130
  * @param values The values to update the clone with.
45097
45131
  * @param options The options to use for cloning.
45098
- * @returns The cloned instance.
45132
+ * @returns The cloned instance with its own property arrays. Nested objects
45133
+ * and URLs are shared with this instance.
45099
45134
  */
45100
45135
  override clone(
45101
45136
  values:
@@ -45433,7 +45468,8 @@ instruments?: (Object | URL)[];}
45433
45468
  * Clones this instance, optionally updating it with the given values.
45434
45469
  * @param values The values to update the clone with.
45435
45470
  * @param options The options to use for cloning.
45436
- * @returns The cloned instance.
45471
+ * @returns The cloned instance with its own property arrays. Nested objects
45472
+ * and URLs are shared with this instance.
45437
45473
  */
45438
45474
  override clone(
45439
45475
  values:
@@ -45903,7 +45939,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45903
45939
  * Clones this instance, optionally updating it with the given values.
45904
45940
  * @param values The values to update the clone with.
45905
45941
  * @param options The options to use for cloning.
45906
- * @returns The cloned instance.
45942
+ * @returns The cloned instance with its own property arrays. Nested objects
45943
+ * and URLs are shared with this instance.
45907
45944
  */
45908
45945
  clone(
45909
45946
  values:
@@ -45931,7 +45968,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45931
45968
  { id: values.id ?? this.id },
45932
45969
  options
45933
45970
  );
45934
- clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
45971
+ clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
45935
45972
  if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
45936
45973
  if (values.proxyUrl instanceof URL) {
45937
45974
  // @ts-ignore: type is checked above.
@@ -45944,7 +45981,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45944
45981
  );
45945
45982
  }
45946
45983
  }
45947
- clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
45984
+ clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
45948
45985
  if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
45949
45986
  if (values.oauthAuthorizationEndpoint instanceof URL) {
45950
45987
  // @ts-ignore: type is checked above.
@@ -45957,7 +45994,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45957
45994
  );
45958
45995
  }
45959
45996
  }
45960
- clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
45997
+ clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
45961
45998
  if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
45962
45999
  if (values.oauthTokenEndpoint instanceof URL) {
45963
46000
  // @ts-ignore: type is checked above.
@@ -45970,7 +46007,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45970
46007
  );
45971
46008
  }
45972
46009
  }
45973
- clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
46010
+ clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
45974
46011
  if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
45975
46012
  if (values.provideClientKey instanceof URL) {
45976
46013
  // @ts-ignore: type is checked above.
@@ -45983,7 +46020,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45983
46020
  );
45984
46021
  }
45985
46022
  }
45986
- clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
46023
+ clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
45987
46024
  if (\\"signClientKey\\" in values && values.signClientKey != null) {
45988
46025
  if (values.signClientKey instanceof URL) {
45989
46026
  // @ts-ignore: type is checked above.
@@ -45996,7 +46033,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
45996
46033
  );
45997
46034
  }
45998
46035
  }
45999
- clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
46036
+ clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
46000
46037
  if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
46001
46038
  if (values.sharedInbox instanceof URL) {
46002
46039
  // @ts-ignore: type is checked above.
@@ -46944,7 +46981,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
46944
46981
  * Clones this instance, optionally updating it with the given values.
46945
46982
  * @param values The values to update the clone with.
46946
46983
  * @param options The options to use for cloning.
46947
- * @returns The cloned instance.
46984
+ * @returns The cloned instance with its own property arrays. Nested objects
46985
+ * and URLs are shared with this instance.
46948
46986
  */
46949
46987
  override clone(
46950
46988
  values:
@@ -47296,7 +47334,8 @@ instruments?: (Object | URL)[];}
47296
47334
  * Clones this instance, optionally updating it with the given values.
47297
47335
  * @param values The values to update the clone with.
47298
47336
  * @param options The options to use for cloning.
47299
- * @returns The cloned instance.
47337
+ * @returns The cloned instance with its own property arrays. Nested objects
47338
+ * and URLs are shared with this instance.
47300
47339
  */
47301
47340
  override clone(
47302
47341
  values:
@@ -47638,7 +47677,8 @@ instruments?: (Object | URL)[];}
47638
47677
  * Clones this instance, optionally updating it with the given values.
47639
47678
  * @param values The values to update the clone with.
47640
47679
  * @param options The options to use for cloning.
47641
- * @returns The cloned instance.
47680
+ * @returns The cloned instance with its own property arrays. Nested objects
47681
+ * and URLs are shared with this instance.
47642
47682
  */
47643
47683
  override clone(
47644
47684
  values:
@@ -48044,7 +48084,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48044
48084
  if (Array.isArray(values.preferredUsernames) &&
48045
48085
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
48046
48086
  // @ts-ignore: type is checked above.
48047
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
48087
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
48048
48088
 
48049
48089
  } else {
48050
48090
  throw new TypeError(
@@ -48080,7 +48120,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48080
48120
  if (Array.isArray(values.publicKeys) &&
48081
48121
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
48082
48122
  // @ts-ignore: type is checked above.
48083
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
48123
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
48084
48124
 
48085
48125
  for (let i = 0; i < values.publicKeys.length; i++) {
48086
48126
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -48120,7 +48160,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48120
48160
  if (Array.isArray(values.assertionMethods) &&
48121
48161
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
48122
48162
  // @ts-ignore: type is checked above.
48123
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
48163
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
48124
48164
 
48125
48165
  for (let i = 0; i < values.assertionMethods.length; i++) {
48126
48166
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -48243,7 +48283,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48243
48283
  if (Array.isArray(values.streams) &&
48244
48284
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
48245
48285
  // @ts-ignore: type is checked above.
48246
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
48286
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
48247
48287
 
48248
48288
  for (let i = 0; i < values.streams.length; i++) {
48249
48289
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -48361,7 +48401,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48361
48401
  if (Array.isArray(values.aliases) &&
48362
48402
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
48363
48403
  // @ts-ignore: type is checked above.
48364
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
48404
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
48365
48405
 
48366
48406
  for (let i = 0; i < values.aliases.length; i++) {
48367
48407
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -48401,7 +48441,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48401
48441
  if (Array.isArray(values.services) &&
48402
48442
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
48403
48443
  // @ts-ignore: type is checked above.
48404
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
48444
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
48405
48445
 
48406
48446
  for (let i = 0; i < values.services.length; i++) {
48407
48447
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -48446,7 +48486,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48446
48486
  * Clones this instance, optionally updating it with the given values.
48447
48487
  * @param values The values to update the clone with.
48448
48488
  * @param options The options to use for cloning.
48449
- * @returns The cloned instance.
48489
+ * @returns The cloned instance with its own property arrays. Nested objects
48490
+ * and URLs are shared with this instance.
48450
48491
  */
48451
48492
  override clone(
48452
48493
  values:
@@ -48489,7 +48530,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48489
48530
  // @ts-ignore: \$warning is not recognized as a property, but it is.
48490
48531
  options = { ...options, \$warning: this._warning };
48491
48532
  }
48492
- const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
48533
+ const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
48493
48534
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
48494
48535
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
48495
48536
  // @ts-ignore: type is checked above.
@@ -48516,7 +48557,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48516
48557
  if (Array.isArray(values.preferredUsernames) &&
48517
48558
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
48518
48559
  // @ts-ignore: type is checked above.
48519
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
48560
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
48520
48561
 
48521
48562
  } else {
48522
48563
  throw new TypeError(
@@ -48525,7 +48566,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48525
48566
  );
48526
48567
  }
48527
48568
  }
48528
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
48569
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
48529
48570
  if (\\"publicKey\\" in values && values.publicKey != null) {
48530
48571
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
48531
48572
  // @ts-ignore: type is checked above.
@@ -48552,7 +48593,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48552
48593
  if (Array.isArray(values.publicKeys) &&
48553
48594
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
48554
48595
  // @ts-ignore: type is checked above.
48555
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
48596
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
48556
48597
 
48557
48598
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
48558
48599
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -48566,7 +48607,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48566
48607
  );
48567
48608
  }
48568
48609
  }
48569
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
48610
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
48570
48611
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
48571
48612
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
48572
48613
  // @ts-ignore: type is checked above.
@@ -48593,7 +48634,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48593
48634
  if (Array.isArray(values.assertionMethods) &&
48594
48635
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
48595
48636
  // @ts-ignore: type is checked above.
48596
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
48637
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
48597
48638
 
48598
48639
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
48599
48640
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -48607,7 +48648,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48607
48648
  );
48608
48649
  }
48609
48650
  }
48610
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
48651
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
48611
48652
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
48612
48653
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
48613
48654
  // @ts-ignore: type is checked above.
@@ -48620,7 +48661,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48620
48661
  );
48621
48662
  }
48622
48663
  }
48623
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
48664
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
48624
48665
  if (\\"inbox\\" in values && values.inbox != null) {
48625
48666
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
48626
48667
  // @ts-ignore: type is checked above.
@@ -48633,7 +48674,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48633
48674
  );
48634
48675
  }
48635
48676
  }
48636
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
48677
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
48637
48678
  if (\\"outbox\\" in values && values.outbox != null) {
48638
48679
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
48639
48680
  // @ts-ignore: type is checked above.
@@ -48646,7 +48687,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48646
48687
  );
48647
48688
  }
48648
48689
  }
48649
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
48690
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
48650
48691
  if (\\"following\\" in values && values.following != null) {
48651
48692
  if (values.following instanceof Collection || values.following instanceof URL) {
48652
48693
  // @ts-ignore: type is checked above.
@@ -48659,7 +48700,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48659
48700
  );
48660
48701
  }
48661
48702
  }
48662
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
48703
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
48663
48704
  if (\\"followers\\" in values && values.followers != null) {
48664
48705
  if (values.followers instanceof Collection || values.followers instanceof URL) {
48665
48706
  // @ts-ignore: type is checked above.
@@ -48672,7 +48713,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48672
48713
  );
48673
48714
  }
48674
48715
  }
48675
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
48716
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
48676
48717
  if (\\"liked\\" in values && values.liked != null) {
48677
48718
  if (values.liked instanceof Collection || values.liked instanceof URL) {
48678
48719
  // @ts-ignore: type is checked above.
@@ -48685,7 +48726,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48685
48726
  );
48686
48727
  }
48687
48728
  }
48688
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
48729
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
48689
48730
  if (\\"featured\\" in values && values.featured != null) {
48690
48731
  if (values.featured instanceof Collection || values.featured instanceof URL) {
48691
48732
  // @ts-ignore: type is checked above.
@@ -48698,7 +48739,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48698
48739
  );
48699
48740
  }
48700
48741
  }
48701
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
48742
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
48702
48743
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
48703
48744
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
48704
48745
  // @ts-ignore: type is checked above.
@@ -48711,13 +48752,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48711
48752
  );
48712
48753
  }
48713
48754
  }
48714
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
48755
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
48715
48756
  if (\\"streams\\" in values && values.streams != null) {
48716
48757
 
48717
48758
  if (Array.isArray(values.streams) &&
48718
48759
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
48719
48760
  // @ts-ignore: type is checked above.
48720
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
48761
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
48721
48762
 
48722
48763
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
48723
48764
  for (let i = 0; i < values.streams.length; i++) {
@@ -48731,7 +48772,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48731
48772
  );
48732
48773
  }
48733
48774
  }
48734
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
48775
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
48735
48776
  if (\\"endpoints\\" in values && values.endpoints != null) {
48736
48777
  if (values.endpoints instanceof Endpoints) {
48737
48778
  // @ts-ignore: type is checked above.
@@ -48744,7 +48785,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48744
48785
  );
48745
48786
  }
48746
48787
  }
48747
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
48788
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
48748
48789
  if (\\"discoverable\\" in values && values.discoverable != null) {
48749
48790
  if (typeof values.discoverable === \\"boolean\\") {
48750
48791
  // @ts-ignore: type is checked above.
@@ -48757,7 +48798,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48757
48798
  );
48758
48799
  }
48759
48800
  }
48760
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
48801
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
48761
48802
  if (\\"suspended\\" in values && values.suspended != null) {
48762
48803
  if (typeof values.suspended === \\"boolean\\") {
48763
48804
  // @ts-ignore: type is checked above.
@@ -48770,7 +48811,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48770
48811
  );
48771
48812
  }
48772
48813
  }
48773
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
48814
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
48774
48815
  if (\\"memorial\\" in values && values.memorial != null) {
48775
48816
  if (typeof values.memorial === \\"boolean\\") {
48776
48817
  // @ts-ignore: type is checked above.
@@ -48783,7 +48824,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48783
48824
  );
48784
48825
  }
48785
48826
  }
48786
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
48827
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
48787
48828
  if (\\"indexable\\" in values && values.indexable != null) {
48788
48829
  if (typeof values.indexable === \\"boolean\\") {
48789
48830
  // @ts-ignore: type is checked above.
@@ -48796,7 +48837,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48796
48837
  );
48797
48838
  }
48798
48839
  }
48799
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
48840
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
48800
48841
  if (\\"successor\\" in values && values.successor != null) {
48801
48842
  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) {
48802
48843
  // @ts-ignore: type is checked above.
@@ -48809,7 +48850,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48809
48850
  );
48810
48851
  }
48811
48852
  }
48812
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
48853
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
48813
48854
  if (\\"alias\\" in values && values.alias != null) {
48814
48855
  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) {
48815
48856
  // @ts-ignore: type is checked above.
@@ -48836,7 +48877,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48836
48877
  if (Array.isArray(values.aliases) &&
48837
48878
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
48838
48879
  // @ts-ignore: type is checked above.
48839
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
48880
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
48840
48881
 
48841
48882
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
48842
48883
  for (let i = 0; i < values.aliases.length; i++) {
@@ -48850,7 +48891,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48850
48891
  );
48851
48892
  }
48852
48893
  }
48853
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
48894
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
48854
48895
  if (\\"service\\" in values && values.service != null) {
48855
48896
  if (values.service instanceof DidService || values.service instanceof URL) {
48856
48897
  // @ts-ignore: type is checked above.
@@ -48877,7 +48918,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48877
48918
  if (Array.isArray(values.services) &&
48878
48919
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
48879
48920
  // @ts-ignore: type is checked above.
48880
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
48921
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
48881
48922
 
48882
48923
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
48883
48924
  for (let i = 0; i < values.services.length; i++) {
@@ -48891,7 +48932,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48891
48932
  );
48892
48933
  }
48893
48934
  }
48894
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
48935
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
48895
48936
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
48896
48937
  if (typeof values.followedMessage === \\"string\\") {
48897
48938
  // @ts-ignore: type is checked above.
@@ -48904,7 +48945,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
48904
48945
  );
48905
48946
  }
48906
48947
  }
48907
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
48948
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
48908
48949
  if (\\"cat\\" in values && values.cat != null) {
48909
48950
  if (typeof values.cat === \\"boolean\\") {
48910
48951
  // @ts-ignore: type is checked above.
@@ -55021,7 +55062,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55021
55062
  if (Array.isArray(values.rels) &&
55022
55063
  values.rels.every(v => typeof v === \\"string\\")) {
55023
55064
  // @ts-ignore: type is checked above.
55024
- this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
55065
+ this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
55025
55066
 
55026
55067
  } else {
55027
55068
  throw new TypeError(
@@ -55070,7 +55111,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55070
55111
  if (Array.isArray(values.names) &&
55071
55112
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
55072
55113
  // @ts-ignore: type is checked above.
55073
- this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
55114
+ this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
55074
55115
 
55075
55116
  } else {
55076
55117
  throw new TypeError(
@@ -55124,7 +55165,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55124
55165
  if (Array.isArray(values.previews) &&
55125
55166
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
55126
55167
  // @ts-ignore: type is checked above.
55127
- this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
55168
+ this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
55128
55169
 
55129
55170
  for (let i = 0; i < values.previews.length; i++) {
55130
55171
  this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
@@ -55143,7 +55184,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55143
55184
  * Clones this instance, optionally updating it with the given values.
55144
55185
  * @param values The values to update the clone with.
55145
55186
  * @param options The options to use for cloning.
55146
- * @returns The cloned instance.
55187
+ * @returns The cloned instance with its own property arrays. Nested objects
55188
+ * and URLs are shared with this instance.
55147
55189
  */
55148
55190
  clone(
55149
55191
  values:
@@ -55173,7 +55215,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55173
55215
  { id: values.id ?? this.id },
55174
55216
  options
55175
55217
  );
55176
- clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
55218
+ clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
55177
55219
  if (\\"href\\" in values && values.href != null) {
55178
55220
  if (values.href instanceof URL) {
55179
55221
  // @ts-ignore: type is checked above.
@@ -55186,7 +55228,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55186
55228
  );
55187
55229
  }
55188
55230
  }
55189
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
55231
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
55190
55232
  if (\\"rel\\" in values && values.rel != null) {
55191
55233
  if (typeof values.rel === \\"string\\") {
55192
55234
  // @ts-ignore: type is checked above.
@@ -55213,7 +55255,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55213
55255
  if (Array.isArray(values.rels) &&
55214
55256
  values.rels.every(v => typeof v === \\"string\\")) {
55215
55257
  // @ts-ignore: type is checked above.
55216
- clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
55258
+ clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
55217
55259
 
55218
55260
  } else {
55219
55261
  throw new TypeError(
@@ -55222,7 +55264,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55222
55264
  );
55223
55265
  }
55224
55266
  }
55225
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
55267
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
55226
55268
  if (\\"mediaType\\" in values && values.mediaType != null) {
55227
55269
  if (typeof values.mediaType === \\"string\\") {
55228
55270
  // @ts-ignore: type is checked above.
@@ -55235,7 +55277,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55235
55277
  );
55236
55278
  }
55237
55279
  }
55238
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
55280
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
55239
55281
  if (\\"name\\" in values && values.name != null) {
55240
55282
  if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
55241
55283
  // @ts-ignore: type is checked above.
@@ -55262,7 +55304,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55262
55304
  if (Array.isArray(values.names) &&
55263
55305
  values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
55264
55306
  // @ts-ignore: type is checked above.
55265
- clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
55307
+ clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
55266
55308
 
55267
55309
  } else {
55268
55310
  throw new TypeError(
@@ -55271,7 +55313,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55271
55313
  );
55272
55314
  }
55273
55315
  }
55274
- clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
55316
+ clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
55275
55317
  if (\\"language\\" in values && values.language != null) {
55276
55318
  if (values.language instanceof Intl.Locale) {
55277
55319
  // @ts-ignore: type is checked above.
@@ -55284,7 +55326,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55284
55326
  );
55285
55327
  }
55286
55328
  }
55287
- clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
55329
+ clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
55288
55330
  if (\\"height\\" in values && values.height != null) {
55289
55331
  if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
55290
55332
  // @ts-ignore: type is checked above.
@@ -55297,7 +55339,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55297
55339
  );
55298
55340
  }
55299
55341
  }
55300
- clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
55342
+ clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
55301
55343
  if (\\"width\\" in values && values.width != null) {
55302
55344
  if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
55303
55345
  // @ts-ignore: type is checked above.
@@ -55310,13 +55352,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
55310
55352
  );
55311
55353
  }
55312
55354
  }
55313
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
55355
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
55314
55356
  if (\\"previews\\" in values && values.previews != null) {
55315
55357
 
55316
55358
  if (Array.isArray(values.previews) &&
55317
55359
  values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
55318
55360
  // @ts-ignore: type is checked above.
55319
- clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
55361
+ clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
55320
55362
 
55321
55363
  clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
55322
55364
  for (let i = 0; i < values.previews.length; i++) {
@@ -56284,7 +56326,7 @@ get names(): ((string | LanguageString))[] {
56284
56326
  if (v == null) continue;
56285
56327
 
56286
56328
  const decoded =
56287
- new Intl.Locale(v[\\"@value\\"])
56329
+ new Intl.Locale(normalizeLanguageTag(v[\\"@value\\"]))
56288
56330
  ;
56289
56331
 
56290
56332
  if (!this._shouldCacheDecodedJsonLd(decoded)) {
@@ -56668,7 +56710,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
56668
56710
  * Clones this instance, optionally updating it with the given values.
56669
56711
  * @param values The values to update the clone with.
56670
56712
  * @param options The options to use for cloning.
56671
- * @returns The cloned instance.
56713
+ * @returns The cloned instance with its own property arrays. Nested objects
56714
+ * and URLs are shared with this instance.
56672
56715
  */
56673
56716
  override clone(
56674
56717
  values:
@@ -56986,7 +57029,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
56986
57029
  * Clones this instance, optionally updating it with the given values.
56987
57030
  * @param values The values to update the clone with.
56988
57031
  * @param options The options to use for cloning.
56989
- * @returns The cloned instance.
57032
+ * @returns The cloned instance with its own property arrays. Nested objects
57033
+ * and URLs are shared with this instance.
56990
57034
  */
56991
57035
  override clone(
56992
57036
  values:
@@ -57338,7 +57382,8 @@ instruments?: (Object | URL)[];}
57338
57382
  * Clones this instance, optionally updating it with the given values.
57339
57383
  * @param values The values to update the clone with.
57340
57384
  * @param options The options to use for cloning.
57341
- * @returns The cloned instance.
57385
+ * @returns The cloned instance with its own property arrays. Nested objects
57386
+ * and URLs are shared with this instance.
57342
57387
  */
57343
57388
  override clone(
57344
57389
  values:
@@ -57682,7 +57727,8 @@ instruments?: (Object | URL)[];}
57682
57727
  * Clones this instance, optionally updating it with the given values.
57683
57728
  * @param values The values to update the clone with.
57684
57729
  * @param options The options to use for cloning.
57685
- * @returns The cloned instance.
57730
+ * @returns The cloned instance with its own property arrays. Nested objects
57731
+ * and URLs are shared with this instance.
57686
57732
  */
57687
57733
  override clone(
57688
57734
  values:
@@ -58022,7 +58068,8 @@ instruments?: (Object | URL)[];}
58022
58068
  * Clones this instance, optionally updating it with the given values.
58023
58069
  * @param values The values to update the clone with.
58024
58070
  * @param options The options to use for cloning.
58025
- * @returns The cloned instance.
58071
+ * @returns The cloned instance with its own property arrays. Nested objects
58072
+ * and URLs are shared with this instance.
58026
58073
  */
58027
58074
  override clone(
58028
58075
  values:
@@ -58362,7 +58409,8 @@ instruments?: (Object | URL)[];}
58362
58409
  * Clones this instance, optionally updating it with the given values.
58363
58410
  * @param values The values to update the clone with.
58364
58411
  * @param options The options to use for cloning.
58365
- * @returns The cloned instance.
58412
+ * @returns The cloned instance with its own property arrays. Nested objects
58413
+ * and URLs are shared with this instance.
58366
58414
  */
58367
58415
  override clone(
58368
58416
  values:
@@ -58702,7 +58750,8 @@ instruments?: (Object | URL)[];}
58702
58750
  * Clones this instance, optionally updating it with the given values.
58703
58751
  * @param values The values to update the clone with.
58704
58752
  * @param options The options to use for cloning.
58705
- * @returns The cloned instance.
58753
+ * @returns The cloned instance with its own property arrays. Nested objects
58754
+ * and URLs are shared with this instance.
58706
58755
  */
58707
58756
  override clone(
58708
58757
  values:
@@ -59040,7 +59089,8 @@ instruments?: (Object | URL)[];}
59040
59089
  * Clones this instance, optionally updating it with the given values.
59041
59090
  * @param values The values to update the clone with.
59042
59091
  * @param options The options to use for cloning.
59043
- * @returns The cloned instance.
59092
+ * @returns The cloned instance with its own property arrays. Nested objects
59093
+ * and URLs are shared with this instance.
59044
59094
  */
59045
59095
  override clone(
59046
59096
  values:
@@ -59358,7 +59408,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
59358
59408
  * Clones this instance, optionally updating it with the given values.
59359
59409
  * @param values The values to update the clone with.
59360
59410
  * @param options The options to use for cloning.
59361
- * @returns The cloned instance.
59411
+ * @returns The cloned instance with its own property arrays. Nested objects
59412
+ * and URLs are shared with this instance.
59362
59413
  */
59363
59414
  override clone(
59364
59415
  values:
@@ -59685,7 +59736,8 @@ instruments?: (Object | URL)[];}
59685
59736
  * Clones this instance, optionally updating it with the given values.
59686
59737
  * @param values The values to update the clone with.
59687
59738
  * @param options The options to use for cloning.
59688
- * @returns The cloned instance.
59739
+ * @returns The cloned instance with its own property arrays. Nested objects
59740
+ * and URLs are shared with this instance.
59689
59741
  */
59690
59742
  override clone(
59691
59743
  values:
@@ -60033,7 +60085,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60033
60085
  * Clones this instance, optionally updating it with the given values.
60034
60086
  * @param values The values to update the clone with.
60035
60087
  * @param options The options to use for cloning.
60036
- * @returns The cloned instance.
60088
+ * @returns The cloned instance with its own property arrays. Nested objects
60089
+ * and URLs are shared with this instance.
60037
60090
  */
60038
60091
  override clone(
60039
60092
  values:
@@ -60071,7 +60124,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60071
60124
  // @ts-ignore: \$warning is not recognized as a property, but it is.
60072
60125
  options = { ...options, \$warning: this._warning };
60073
60126
  }
60074
- const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
60127
+ const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
60075
60128
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
60076
60129
  if (values.quoteUrl instanceof URL) {
60077
60130
  // @ts-ignore: type is checked above.
@@ -60523,7 +60576,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60523
60576
  if (Array.isArray(values.items) &&
60524
60577
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
60525
60578
  // @ts-ignore: type is checked above.
60526
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
60579
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
60527
60580
 
60528
60581
  for (let i = 0; i < values.items.length; i++) {
60529
60582
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -60542,7 +60595,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60542
60595
  * Clones this instance, optionally updating it with the given values.
60543
60596
  * @param values The values to update the clone with.
60544
60597
  * @param options The options to use for cloning.
60545
- * @returns The cloned instance.
60598
+ * @returns The cloned instance with its own property arrays. Nested objects
60599
+ * and URLs are shared with this instance.
60546
60600
  */
60547
60601
  override clone(
60548
60602
  values:
@@ -60580,13 +60634,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
60580
60634
  // @ts-ignore: \$warning is not recognized as a property, but it is.
60581
60635
  options = { ...options, \$warning: this._warning };
60582
60636
  }
60583
- 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);
60637
+ 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);
60584
60638
  if (\\"items\\" in values && values.items != null) {
60585
60639
 
60586
60640
  if (Array.isArray(values.items) &&
60587
60641
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
60588
60642
  // @ts-ignore: type is checked above.
60589
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
60643
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
60590
60644
 
60591
60645
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
60592
60646
  for (let i = 0; i < values.items.length; i++) {
@@ -61257,7 +61311,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61257
61311
  if (Array.isArray(values.items) &&
61258
61312
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
61259
61313
  // @ts-ignore: type is checked above.
61260
- this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
61314
+ this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
61261
61315
 
61262
61316
  for (let i = 0; i < values.items.length; i++) {
61263
61317
  this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
@@ -61289,7 +61343,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61289
61343
  * Clones this instance, optionally updating it with the given values.
61290
61344
  * @param values The values to update the clone with.
61291
61345
  * @param options The options to use for cloning.
61292
- * @returns The cloned instance.
61346
+ * @returns The cloned instance with its own property arrays. Nested objects
61347
+ * and URLs are shared with this instance.
61293
61348
  */
61294
61349
  override clone(
61295
61350
  values:
@@ -61327,13 +61382,13 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61327
61382
  // @ts-ignore: \$warning is not recognized as a property, but it is.
61328
61383
  options = { ...options, \$warning: this._warning };
61329
61384
  }
61330
- 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);
61385
+ 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);
61331
61386
  if (\\"items\\" in values && values.items != null) {
61332
61387
 
61333
61388
  if (Array.isArray(values.items) &&
61334
61389
  values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
61335
61390
  // @ts-ignore: type is checked above.
61336
- clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
61391
+ clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
61337
61392
 
61338
61393
  clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
61339
61394
  for (let i = 0; i < values.items.length; i++) {
@@ -61347,7 +61402,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
61347
61402
  );
61348
61403
  }
61349
61404
  }
61350
- clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
61405
+ clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
61351
61406
  if (\\"startIndex\\" in values && values.startIndex != null) {
61352
61407
  if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
61353
61408
  // @ts-ignore: type is checked above.
@@ -62177,7 +62232,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62177
62232
  if (Array.isArray(values.preferredUsernames) &&
62178
62233
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
62179
62234
  // @ts-ignore: type is checked above.
62180
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
62235
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
62181
62236
 
62182
62237
  } else {
62183
62238
  throw new TypeError(
@@ -62213,7 +62268,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62213
62268
  if (Array.isArray(values.publicKeys) &&
62214
62269
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
62215
62270
  // @ts-ignore: type is checked above.
62216
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
62271
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
62217
62272
 
62218
62273
  for (let i = 0; i < values.publicKeys.length; i++) {
62219
62274
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -62253,7 +62308,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62253
62308
  if (Array.isArray(values.assertionMethods) &&
62254
62309
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
62255
62310
  // @ts-ignore: type is checked above.
62256
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
62311
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
62257
62312
 
62258
62313
  for (let i = 0; i < values.assertionMethods.length; i++) {
62259
62314
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -62376,7 +62431,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62376
62431
  if (Array.isArray(values.streams) &&
62377
62432
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
62378
62433
  // @ts-ignore: type is checked above.
62379
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
62434
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
62380
62435
 
62381
62436
  for (let i = 0; i < values.streams.length; i++) {
62382
62437
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -62494,7 +62549,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62494
62549
  if (Array.isArray(values.aliases) &&
62495
62550
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
62496
62551
  // @ts-ignore: type is checked above.
62497
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
62552
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
62498
62553
 
62499
62554
  for (let i = 0; i < values.aliases.length; i++) {
62500
62555
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -62534,7 +62589,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62534
62589
  if (Array.isArray(values.services) &&
62535
62590
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
62536
62591
  // @ts-ignore: type is checked above.
62537
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
62592
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
62538
62593
 
62539
62594
  for (let i = 0; i < values.services.length; i++) {
62540
62595
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -62579,7 +62634,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62579
62634
  * Clones this instance, optionally updating it with the given values.
62580
62635
  * @param values The values to update the clone with.
62581
62636
  * @param options The options to use for cloning.
62582
- * @returns The cloned instance.
62637
+ * @returns The cloned instance with its own property arrays. Nested objects
62638
+ * and URLs are shared with this instance.
62583
62639
  */
62584
62640
  override clone(
62585
62641
  values:
@@ -62622,7 +62678,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62622
62678
  // @ts-ignore: \$warning is not recognized as a property, but it is.
62623
62679
  options = { ...options, \$warning: this._warning };
62624
62680
  }
62625
- const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
62681
+ const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
62626
62682
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
62627
62683
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
62628
62684
  // @ts-ignore: type is checked above.
@@ -62649,7 +62705,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62649
62705
  if (Array.isArray(values.preferredUsernames) &&
62650
62706
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
62651
62707
  // @ts-ignore: type is checked above.
62652
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
62708
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
62653
62709
 
62654
62710
  } else {
62655
62711
  throw new TypeError(
@@ -62658,7 +62714,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62658
62714
  );
62659
62715
  }
62660
62716
  }
62661
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
62717
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
62662
62718
  if (\\"publicKey\\" in values && values.publicKey != null) {
62663
62719
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
62664
62720
  // @ts-ignore: type is checked above.
@@ -62685,7 +62741,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62685
62741
  if (Array.isArray(values.publicKeys) &&
62686
62742
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
62687
62743
  // @ts-ignore: type is checked above.
62688
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
62744
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
62689
62745
 
62690
62746
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
62691
62747
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -62699,7 +62755,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62699
62755
  );
62700
62756
  }
62701
62757
  }
62702
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
62758
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
62703
62759
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
62704
62760
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
62705
62761
  // @ts-ignore: type is checked above.
@@ -62726,7 +62782,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62726
62782
  if (Array.isArray(values.assertionMethods) &&
62727
62783
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
62728
62784
  // @ts-ignore: type is checked above.
62729
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
62785
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
62730
62786
 
62731
62787
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
62732
62788
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -62740,7 +62796,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62740
62796
  );
62741
62797
  }
62742
62798
  }
62743
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
62799
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
62744
62800
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
62745
62801
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
62746
62802
  // @ts-ignore: type is checked above.
@@ -62753,7 +62809,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62753
62809
  );
62754
62810
  }
62755
62811
  }
62756
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
62812
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
62757
62813
  if (\\"inbox\\" in values && values.inbox != null) {
62758
62814
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
62759
62815
  // @ts-ignore: type is checked above.
@@ -62766,7 +62822,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62766
62822
  );
62767
62823
  }
62768
62824
  }
62769
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
62825
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
62770
62826
  if (\\"outbox\\" in values && values.outbox != null) {
62771
62827
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
62772
62828
  // @ts-ignore: type is checked above.
@@ -62779,7 +62835,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62779
62835
  );
62780
62836
  }
62781
62837
  }
62782
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
62838
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
62783
62839
  if (\\"following\\" in values && values.following != null) {
62784
62840
  if (values.following instanceof Collection || values.following instanceof URL) {
62785
62841
  // @ts-ignore: type is checked above.
@@ -62792,7 +62848,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62792
62848
  );
62793
62849
  }
62794
62850
  }
62795
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
62851
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
62796
62852
  if (\\"followers\\" in values && values.followers != null) {
62797
62853
  if (values.followers instanceof Collection || values.followers instanceof URL) {
62798
62854
  // @ts-ignore: type is checked above.
@@ -62805,7 +62861,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62805
62861
  );
62806
62862
  }
62807
62863
  }
62808
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
62864
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
62809
62865
  if (\\"liked\\" in values && values.liked != null) {
62810
62866
  if (values.liked instanceof Collection || values.liked instanceof URL) {
62811
62867
  // @ts-ignore: type is checked above.
@@ -62818,7 +62874,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62818
62874
  );
62819
62875
  }
62820
62876
  }
62821
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
62877
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
62822
62878
  if (\\"featured\\" in values && values.featured != null) {
62823
62879
  if (values.featured instanceof Collection || values.featured instanceof URL) {
62824
62880
  // @ts-ignore: type is checked above.
@@ -62831,7 +62887,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62831
62887
  );
62832
62888
  }
62833
62889
  }
62834
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
62890
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
62835
62891
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
62836
62892
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
62837
62893
  // @ts-ignore: type is checked above.
@@ -62844,13 +62900,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62844
62900
  );
62845
62901
  }
62846
62902
  }
62847
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
62903
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
62848
62904
  if (\\"streams\\" in values && values.streams != null) {
62849
62905
 
62850
62906
  if (Array.isArray(values.streams) &&
62851
62907
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
62852
62908
  // @ts-ignore: type is checked above.
62853
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
62909
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
62854
62910
 
62855
62911
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
62856
62912
  for (let i = 0; i < values.streams.length; i++) {
@@ -62864,7 +62920,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62864
62920
  );
62865
62921
  }
62866
62922
  }
62867
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
62923
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
62868
62924
  if (\\"endpoints\\" in values && values.endpoints != null) {
62869
62925
  if (values.endpoints instanceof Endpoints) {
62870
62926
  // @ts-ignore: type is checked above.
@@ -62877,7 +62933,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62877
62933
  );
62878
62934
  }
62879
62935
  }
62880
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
62936
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
62881
62937
  if (\\"discoverable\\" in values && values.discoverable != null) {
62882
62938
  if (typeof values.discoverable === \\"boolean\\") {
62883
62939
  // @ts-ignore: type is checked above.
@@ -62890,7 +62946,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62890
62946
  );
62891
62947
  }
62892
62948
  }
62893
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
62949
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
62894
62950
  if (\\"suspended\\" in values && values.suspended != null) {
62895
62951
  if (typeof values.suspended === \\"boolean\\") {
62896
62952
  // @ts-ignore: type is checked above.
@@ -62903,7 +62959,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62903
62959
  );
62904
62960
  }
62905
62961
  }
62906
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
62962
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
62907
62963
  if (\\"memorial\\" in values && values.memorial != null) {
62908
62964
  if (typeof values.memorial === \\"boolean\\") {
62909
62965
  // @ts-ignore: type is checked above.
@@ -62916,7 +62972,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62916
62972
  );
62917
62973
  }
62918
62974
  }
62919
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
62975
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
62920
62976
  if (\\"indexable\\" in values && values.indexable != null) {
62921
62977
  if (typeof values.indexable === \\"boolean\\") {
62922
62978
  // @ts-ignore: type is checked above.
@@ -62929,7 +62985,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62929
62985
  );
62930
62986
  }
62931
62987
  }
62932
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
62988
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
62933
62989
  if (\\"successor\\" in values && values.successor != null) {
62934
62990
  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) {
62935
62991
  // @ts-ignore: type is checked above.
@@ -62942,7 +62998,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62942
62998
  );
62943
62999
  }
62944
63000
  }
62945
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
63001
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
62946
63002
  if (\\"alias\\" in values && values.alias != null) {
62947
63003
  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) {
62948
63004
  // @ts-ignore: type is checked above.
@@ -62969,7 +63025,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62969
63025
  if (Array.isArray(values.aliases) &&
62970
63026
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
62971
63027
  // @ts-ignore: type is checked above.
62972
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
63028
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
62973
63029
 
62974
63030
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
62975
63031
  for (let i = 0; i < values.aliases.length; i++) {
@@ -62983,7 +63039,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
62983
63039
  );
62984
63040
  }
62985
63041
  }
62986
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
63042
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
62987
63043
  if (\\"service\\" in values && values.service != null) {
62988
63044
  if (values.service instanceof DidService || values.service instanceof URL) {
62989
63045
  // @ts-ignore: type is checked above.
@@ -63010,7 +63066,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
63010
63066
  if (Array.isArray(values.services) &&
63011
63067
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
63012
63068
  // @ts-ignore: type is checked above.
63013
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
63069
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
63014
63070
 
63015
63071
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
63016
63072
  for (let i = 0; i < values.services.length; i++) {
@@ -63024,7 +63080,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
63024
63080
  );
63025
63081
  }
63026
63082
  }
63027
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
63083
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
63028
63084
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
63029
63085
  if (typeof values.followedMessage === \\"string\\") {
63030
63086
  // @ts-ignore: type is checked above.
@@ -63037,7 +63093,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
63037
63093
  );
63038
63094
  }
63039
63095
  }
63040
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
63096
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
63041
63097
  if (\\"cat\\" in values && values.cat != null) {
63042
63098
  if (typeof values.cat === \\"boolean\\") {
63043
63099
  // @ts-ignore: type is checked above.
@@ -69046,7 +69102,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
69046
69102
  * Clones this instance, optionally updating it with the given values.
69047
69103
  * @param values The values to update the clone with.
69048
69104
  * @param options The options to use for cloning.
69049
- * @returns The cloned instance.
69105
+ * @returns The cloned instance with its own property arrays. Nested objects
69106
+ * and URLs are shared with this instance.
69050
69107
  */
69051
69108
  override clone(
69052
69109
  values:
@@ -69463,7 +69520,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69463
69520
  if (Array.isArray(values.preferredUsernames) &&
69464
69521
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
69465
69522
  // @ts-ignore: type is checked above.
69466
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
69523
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
69467
69524
 
69468
69525
  } else {
69469
69526
  throw new TypeError(
@@ -69499,7 +69556,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69499
69556
  if (Array.isArray(values.publicKeys) &&
69500
69557
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
69501
69558
  // @ts-ignore: type is checked above.
69502
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
69559
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
69503
69560
 
69504
69561
  for (let i = 0; i < values.publicKeys.length; i++) {
69505
69562
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -69539,7 +69596,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69539
69596
  if (Array.isArray(values.assertionMethods) &&
69540
69597
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
69541
69598
  // @ts-ignore: type is checked above.
69542
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
69599
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
69543
69600
 
69544
69601
  for (let i = 0; i < values.assertionMethods.length; i++) {
69545
69602
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -69662,7 +69719,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69662
69719
  if (Array.isArray(values.streams) &&
69663
69720
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
69664
69721
  // @ts-ignore: type is checked above.
69665
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
69722
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
69666
69723
 
69667
69724
  for (let i = 0; i < values.streams.length; i++) {
69668
69725
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -69780,7 +69837,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69780
69837
  if (Array.isArray(values.aliases) &&
69781
69838
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
69782
69839
  // @ts-ignore: type is checked above.
69783
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
69840
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
69784
69841
 
69785
69842
  for (let i = 0; i < values.aliases.length; i++) {
69786
69843
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -69820,7 +69877,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69820
69877
  if (Array.isArray(values.services) &&
69821
69878
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
69822
69879
  // @ts-ignore: type is checked above.
69823
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
69880
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
69824
69881
 
69825
69882
  for (let i = 0; i < values.services.length; i++) {
69826
69883
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -69865,7 +69922,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69865
69922
  * Clones this instance, optionally updating it with the given values.
69866
69923
  * @param values The values to update the clone with.
69867
69924
  * @param options The options to use for cloning.
69868
- * @returns The cloned instance.
69925
+ * @returns The cloned instance with its own property arrays. Nested objects
69926
+ * and URLs are shared with this instance.
69869
69927
  */
69870
69928
  override clone(
69871
69929
  values:
@@ -69908,7 +69966,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69908
69966
  // @ts-ignore: \$warning is not recognized as a property, but it is.
69909
69967
  options = { ...options, \$warning: this._warning };
69910
69968
  }
69911
- const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
69969
+ const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
69912
69970
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
69913
69971
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
69914
69972
  // @ts-ignore: type is checked above.
@@ -69935,7 +69993,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69935
69993
  if (Array.isArray(values.preferredUsernames) &&
69936
69994
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
69937
69995
  // @ts-ignore: type is checked above.
69938
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
69996
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
69939
69997
 
69940
69998
  } else {
69941
69999
  throw new TypeError(
@@ -69944,7 +70002,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69944
70002
  );
69945
70003
  }
69946
70004
  }
69947
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
70005
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
69948
70006
  if (\\"publicKey\\" in values && values.publicKey != null) {
69949
70007
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
69950
70008
  // @ts-ignore: type is checked above.
@@ -69971,7 +70029,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69971
70029
  if (Array.isArray(values.publicKeys) &&
69972
70030
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
69973
70031
  // @ts-ignore: type is checked above.
69974
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
70032
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
69975
70033
 
69976
70034
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
69977
70035
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -69985,7 +70043,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
69985
70043
  );
69986
70044
  }
69987
70045
  }
69988
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
70046
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
69989
70047
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
69990
70048
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
69991
70049
  // @ts-ignore: type is checked above.
@@ -70012,7 +70070,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70012
70070
  if (Array.isArray(values.assertionMethods) &&
70013
70071
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
70014
70072
  // @ts-ignore: type is checked above.
70015
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
70073
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
70016
70074
 
70017
70075
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
70018
70076
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -70026,7 +70084,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70026
70084
  );
70027
70085
  }
70028
70086
  }
70029
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
70087
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
70030
70088
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
70031
70089
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
70032
70090
  // @ts-ignore: type is checked above.
@@ -70039,7 +70097,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70039
70097
  );
70040
70098
  }
70041
70099
  }
70042
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
70100
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
70043
70101
  if (\\"inbox\\" in values && values.inbox != null) {
70044
70102
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
70045
70103
  // @ts-ignore: type is checked above.
@@ -70052,7 +70110,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70052
70110
  );
70053
70111
  }
70054
70112
  }
70055
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
70113
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
70056
70114
  if (\\"outbox\\" in values && values.outbox != null) {
70057
70115
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
70058
70116
  // @ts-ignore: type is checked above.
@@ -70065,7 +70123,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70065
70123
  );
70066
70124
  }
70067
70125
  }
70068
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
70126
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
70069
70127
  if (\\"following\\" in values && values.following != null) {
70070
70128
  if (values.following instanceof Collection || values.following instanceof URL) {
70071
70129
  // @ts-ignore: type is checked above.
@@ -70078,7 +70136,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70078
70136
  );
70079
70137
  }
70080
70138
  }
70081
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
70139
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
70082
70140
  if (\\"followers\\" in values && values.followers != null) {
70083
70141
  if (values.followers instanceof Collection || values.followers instanceof URL) {
70084
70142
  // @ts-ignore: type is checked above.
@@ -70091,7 +70149,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70091
70149
  );
70092
70150
  }
70093
70151
  }
70094
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
70152
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
70095
70153
  if (\\"liked\\" in values && values.liked != null) {
70096
70154
  if (values.liked instanceof Collection || values.liked instanceof URL) {
70097
70155
  // @ts-ignore: type is checked above.
@@ -70104,7 +70162,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70104
70162
  );
70105
70163
  }
70106
70164
  }
70107
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
70165
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
70108
70166
  if (\\"featured\\" in values && values.featured != null) {
70109
70167
  if (values.featured instanceof Collection || values.featured instanceof URL) {
70110
70168
  // @ts-ignore: type is checked above.
@@ -70117,7 +70175,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70117
70175
  );
70118
70176
  }
70119
70177
  }
70120
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
70178
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
70121
70179
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
70122
70180
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
70123
70181
  // @ts-ignore: type is checked above.
@@ -70130,13 +70188,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70130
70188
  );
70131
70189
  }
70132
70190
  }
70133
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
70191
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
70134
70192
  if (\\"streams\\" in values && values.streams != null) {
70135
70193
 
70136
70194
  if (Array.isArray(values.streams) &&
70137
70195
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
70138
70196
  // @ts-ignore: type is checked above.
70139
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
70197
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
70140
70198
 
70141
70199
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
70142
70200
  for (let i = 0; i < values.streams.length; i++) {
@@ -70150,7 +70208,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70150
70208
  );
70151
70209
  }
70152
70210
  }
70153
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
70211
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
70154
70212
  if (\\"endpoints\\" in values && values.endpoints != null) {
70155
70213
  if (values.endpoints instanceof Endpoints) {
70156
70214
  // @ts-ignore: type is checked above.
@@ -70163,7 +70221,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70163
70221
  );
70164
70222
  }
70165
70223
  }
70166
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
70224
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
70167
70225
  if (\\"discoverable\\" in values && values.discoverable != null) {
70168
70226
  if (typeof values.discoverable === \\"boolean\\") {
70169
70227
  // @ts-ignore: type is checked above.
@@ -70176,7 +70234,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70176
70234
  );
70177
70235
  }
70178
70236
  }
70179
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
70237
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
70180
70238
  if (\\"suspended\\" in values && values.suspended != null) {
70181
70239
  if (typeof values.suspended === \\"boolean\\") {
70182
70240
  // @ts-ignore: type is checked above.
@@ -70189,7 +70247,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70189
70247
  );
70190
70248
  }
70191
70249
  }
70192
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
70250
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
70193
70251
  if (\\"memorial\\" in values && values.memorial != null) {
70194
70252
  if (typeof values.memorial === \\"boolean\\") {
70195
70253
  // @ts-ignore: type is checked above.
@@ -70202,7 +70260,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70202
70260
  );
70203
70261
  }
70204
70262
  }
70205
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
70263
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
70206
70264
  if (\\"indexable\\" in values && values.indexable != null) {
70207
70265
  if (typeof values.indexable === \\"boolean\\") {
70208
70266
  // @ts-ignore: type is checked above.
@@ -70215,7 +70273,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70215
70273
  );
70216
70274
  }
70217
70275
  }
70218
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
70276
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
70219
70277
  if (\\"successor\\" in values && values.successor != null) {
70220
70278
  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) {
70221
70279
  // @ts-ignore: type is checked above.
@@ -70228,7 +70286,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70228
70286
  );
70229
70287
  }
70230
70288
  }
70231
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
70289
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
70232
70290
  if (\\"alias\\" in values && values.alias != null) {
70233
70291
  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) {
70234
70292
  // @ts-ignore: type is checked above.
@@ -70255,7 +70313,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70255
70313
  if (Array.isArray(values.aliases) &&
70256
70314
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
70257
70315
  // @ts-ignore: type is checked above.
70258
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
70316
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
70259
70317
 
70260
70318
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
70261
70319
  for (let i = 0; i < values.aliases.length; i++) {
@@ -70269,7 +70327,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70269
70327
  );
70270
70328
  }
70271
70329
  }
70272
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
70330
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
70273
70331
  if (\\"service\\" in values && values.service != null) {
70274
70332
  if (values.service instanceof DidService || values.service instanceof URL) {
70275
70333
  // @ts-ignore: type is checked above.
@@ -70296,7 +70354,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70296
70354
  if (Array.isArray(values.services) &&
70297
70355
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
70298
70356
  // @ts-ignore: type is checked above.
70299
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
70357
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
70300
70358
 
70301
70359
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
70302
70360
  for (let i = 0; i < values.services.length; i++) {
@@ -70310,7 +70368,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70310
70368
  );
70311
70369
  }
70312
70370
  }
70313
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
70371
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
70314
70372
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
70315
70373
  if (typeof values.followedMessage === \\"string\\") {
70316
70374
  // @ts-ignore: type is checked above.
@@ -70323,7 +70381,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
70323
70381
  );
70324
70382
  }
70325
70383
  }
70326
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
70384
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
70327
70385
  if (\\"cat\\" in values && values.cat != null) {
70328
70386
  if (typeof values.cat === \\"boolean\\") {
70329
70387
  // @ts-ignore: type is checked above.
@@ -76419,7 +76477,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76419
76477
  * Clones this instance, optionally updating it with the given values.
76420
76478
  * @param values The values to update the clone with.
76421
76479
  * @param options The options to use for cloning.
76422
- * @returns The cloned instance.
76480
+ * @returns The cloned instance with its own property arrays. Nested objects
76481
+ * and URLs are shared with this instance.
76423
76482
  */
76424
76483
  override clone(
76425
76484
  values:
@@ -76457,7 +76516,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76457
76516
  // @ts-ignore: \$warning is not recognized as a property, but it is.
76458
76517
  options = { ...options, \$warning: this._warning };
76459
76518
  }
76460
- const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
76519
+ const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
76461
76520
  if (\\"accuracy\\" in values && values.accuracy != null) {
76462
76521
  if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
76463
76522
  // @ts-ignore: type is checked above.
@@ -76470,7 +76529,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76470
76529
  );
76471
76530
  }
76472
76531
  }
76473
- clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
76532
+ clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
76474
76533
  if (\\"altitude\\" in values && values.altitude != null) {
76475
76534
  if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
76476
76535
  // @ts-ignore: type is checked above.
@@ -76483,7 +76542,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76483
76542
  );
76484
76543
  }
76485
76544
  }
76486
- clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
76545
+ clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
76487
76546
  if (\\"latitude\\" in values && values.latitude != null) {
76488
76547
  if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
76489
76548
  // @ts-ignore: type is checked above.
@@ -76496,7 +76555,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76496
76555
  );
76497
76556
  }
76498
76557
  }
76499
- clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
76558
+ clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
76500
76559
  if (\\"longitude\\" in values && values.longitude != null) {
76501
76560
  if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
76502
76561
  // @ts-ignore: type is checked above.
@@ -76509,7 +76568,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76509
76568
  );
76510
76569
  }
76511
76570
  }
76512
- clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
76571
+ clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
76513
76572
  if (\\"radius\\" in values && values.radius != null) {
76514
76573
  if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
76515
76574
  // @ts-ignore: type is checked above.
@@ -76522,7 +76581,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
76522
76581
  );
76523
76582
  }
76524
76583
  }
76525
- clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
76584
+ clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
76526
76585
  if (\\"units\\" in values && values.units != null) {
76527
76586
  if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
76528
76587
  // @ts-ignore: type is checked above.
@@ -77439,7 +77498,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77439
77498
  * Clones this instance, optionally updating it with the given values.
77440
77499
  * @param values The values to update the clone with.
77441
77500
  * @param options The options to use for cloning.
77442
- * @returns The cloned instance.
77501
+ * @returns The cloned instance with its own property arrays. Nested objects
77502
+ * and URLs are shared with this instance.
77443
77503
  */
77444
77504
  override clone(
77445
77505
  values:
@@ -77477,7 +77537,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
77477
77537
  // @ts-ignore: \$warning is not recognized as a property, but it is.
77478
77538
  options = { ...options, \$warning: this._warning };
77479
77539
  }
77480
- 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);
77540
+ 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);
77481
77541
  if (\\"describes\\" in values && values.describes != null) {
77482
77542
  if (values.describes instanceof Object || values.describes instanceof URL) {
77483
77543
  // @ts-ignore: type is checked above.
@@ -78137,7 +78197,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78137
78197
  if (Array.isArray(values.exclusiveOptions) &&
78138
78198
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78139
78199
  // @ts-ignore: type is checked above.
78140
- this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
78200
+ this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
78141
78201
 
78142
78202
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
78143
78203
  this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
@@ -78156,7 +78216,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78156
78216
  if (Array.isArray(values.inclusiveOptions) &&
78157
78217
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78158
78218
  // @ts-ignore: type is checked above.
78159
- this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
78219
+ this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
78160
78220
 
78161
78221
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
78162
78222
  this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
@@ -78214,7 +78274,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78214
78274
  * Clones this instance, optionally updating it with the given values.
78215
78275
  * @param values The values to update the clone with.
78216
78276
  * @param options The options to use for cloning.
78217
- * @returns The cloned instance.
78277
+ * @returns The cloned instance with its own property arrays. Nested objects
78278
+ * and URLs are shared with this instance.
78218
78279
  */
78219
78280
  override clone(
78220
78281
  values:
@@ -78258,13 +78319,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78258
78319
  // @ts-ignore: \$warning is not recognized as a property, but it is.
78259
78320
  options = { ...options, \$warning: this._warning };
78260
78321
  }
78261
- 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);
78322
+ 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);
78262
78323
  if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
78263
78324
 
78264
78325
  if (Array.isArray(values.exclusiveOptions) &&
78265
78326
  values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78266
78327
  // @ts-ignore: type is checked above.
78267
- clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
78328
+ clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
78268
78329
 
78269
78330
  clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
78270
78331
  for (let i = 0; i < values.exclusiveOptions.length; i++) {
@@ -78278,13 +78339,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78278
78339
  );
78279
78340
  }
78280
78341
  }
78281
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
78342
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
78282
78343
  if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
78283
78344
 
78284
78345
  if (Array.isArray(values.inclusiveOptions) &&
78285
78346
  values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
78286
78347
  // @ts-ignore: type is checked above.
78287
- clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
78348
+ clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
78288
78349
 
78289
78350
  clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
78290
78351
  for (let i = 0; i < values.inclusiveOptions.length; i++) {
@@ -78298,7 +78359,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78298
78359
  );
78299
78360
  }
78300
78361
  }
78301
- clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
78362
+ clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
78302
78363
  if (\\"closed\\" in values && values.closed != null) {
78303
78364
  if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
78304
78365
  // @ts-ignore: type is checked above.
@@ -78311,7 +78372,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78311
78372
  );
78312
78373
  }
78313
78374
  }
78314
- clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
78375
+ clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
78315
78376
  if (\\"voters\\" in values && values.voters != null) {
78316
78377
  if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
78317
78378
  // @ts-ignore: type is checked above.
@@ -78324,7 +78385,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
78324
78385
  );
78325
78386
  }
78326
78387
  }
78327
- clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
78388
+ clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
78328
78389
  if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
78329
78390
  if (values.quoteUrl instanceof URL) {
78330
78391
  // @ts-ignore: type is checked above.
@@ -79512,7 +79573,8 @@ instruments?: (Object | URL)[];}
79512
79573
  * Clones this instance, optionally updating it with the given values.
79513
79574
  * @param values The values to update the clone with.
79514
79575
  * @param options The options to use for cloning.
79515
- * @returns The cloned instance.
79576
+ * @returns The cloned instance with its own property arrays. Nested objects
79577
+ * and URLs are shared with this instance.
79516
79578
  */
79517
79579
  override clone(
79518
79580
  values:
@@ -79852,7 +79914,8 @@ instruments?: (Object | URL)[];}
79852
79914
  * Clones this instance, optionally updating it with the given values.
79853
79915
  * @param values The values to update the clone with.
79854
79916
  * @param options The options to use for cloning.
79855
- * @returns The cloned instance.
79917
+ * @returns The cloned instance with its own property arrays. Nested objects
79918
+ * and URLs are shared with this instance.
79856
79919
  */
79857
79920
  override clone(
79858
79921
  values:
@@ -80240,7 +80303,7 @@ relationships?: (Object | URL)[];}
80240
80303
  if (Array.isArray(values.objects) &&
80241
80304
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
80242
80305
  // @ts-ignore: type is checked above.
80243
- this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
80306
+ this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
80244
80307
 
80245
80308
  for (let i = 0; i < values.objects.length; i++) {
80246
80309
  this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
@@ -80280,7 +80343,7 @@ relationships?: (Object | URL)[];}
80280
80343
  if (Array.isArray(values.relationships) &&
80281
80344
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
80282
80345
  // @ts-ignore: type is checked above.
80283
- this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
80346
+ this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
80284
80347
 
80285
80348
  for (let i = 0; i < values.relationships.length; i++) {
80286
80349
  this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
@@ -80299,7 +80362,8 @@ relationships?: (Object | URL)[];}
80299
80362
  * Clones this instance, optionally updating it with the given values.
80300
80363
  * @param values The values to update the clone with.
80301
80364
  * @param options The options to use for cloning.
80302
- * @returns The cloned instance.
80365
+ * @returns The cloned instance with its own property arrays. Nested objects
80366
+ * and URLs are shared with this instance.
80303
80367
  */
80304
80368
  override clone(
80305
80369
  values:
@@ -80339,7 +80403,7 @@ relationships?: (Object | URL)[];}
80339
80403
  // @ts-ignore: \$warning is not recognized as a property, but it is.
80340
80404
  options = { ...options, \$warning: this._warning };
80341
80405
  }
80342
- 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);
80406
+ 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);
80343
80407
  if (\\"subject\\" in values && values.subject != null) {
80344
80408
  if (values.subject instanceof Object || values.subject instanceof URL) {
80345
80409
  // @ts-ignore: type is checked above.
@@ -80352,7 +80416,7 @@ relationships?: (Object | URL)[];}
80352
80416
  );
80353
80417
  }
80354
80418
  }
80355
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
80419
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
80356
80420
  if (\\"object\\" in values && values.object != null) {
80357
80421
  if (values.object instanceof Object || values.object instanceof URL) {
80358
80422
  // @ts-ignore: type is checked above.
@@ -80379,7 +80443,7 @@ relationships?: (Object | URL)[];}
80379
80443
  if (Array.isArray(values.objects) &&
80380
80444
  values.objects.every(v => v instanceof Object || v instanceof URL)) {
80381
80445
  // @ts-ignore: type is checked above.
80382
- clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
80446
+ clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
80383
80447
 
80384
80448
  clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
80385
80449
  for (let i = 0; i < values.objects.length; i++) {
@@ -80393,7 +80457,7 @@ relationships?: (Object | URL)[];}
80393
80457
  );
80394
80458
  }
80395
80459
  }
80396
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
80460
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
80397
80461
  if (\\"relationship\\" in values && values.relationship != null) {
80398
80462
  if (values.relationship instanceof Object || values.relationship instanceof URL) {
80399
80463
  // @ts-ignore: type is checked above.
@@ -80420,7 +80484,7 @@ relationships?: (Object | URL)[];}
80420
80484
  if (Array.isArray(values.relationships) &&
80421
80485
  values.relationships.every(v => v instanceof Object || v instanceof URL)) {
80422
80486
  // @ts-ignore: type is checked above.
80423
- clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
80487
+ clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
80424
80488
 
80425
80489
  clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
80426
80490
  for (let i = 0; i < values.relationships.length; i++) {
@@ -81928,7 +81992,8 @@ instruments?: (Object | URL)[];}
81928
81992
  * Clones this instance, optionally updating it with the given values.
81929
81993
  * @param values The values to update the clone with.
81930
81994
  * @param options The options to use for cloning.
81931
- * @returns The cloned instance.
81995
+ * @returns The cloned instance with its own property arrays. Nested objects
81996
+ * and URLs are shared with this instance.
81932
81997
  */
81933
81998
  override clone(
81934
81999
  values:
@@ -82334,7 +82399,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82334
82399
  if (Array.isArray(values.preferredUsernames) &&
82335
82400
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
82336
82401
  // @ts-ignore: type is checked above.
82337
- this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
82402
+ this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
82338
82403
 
82339
82404
  } else {
82340
82405
  throw new TypeError(
@@ -82370,7 +82435,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82370
82435
  if (Array.isArray(values.publicKeys) &&
82371
82436
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
82372
82437
  // @ts-ignore: type is checked above.
82373
- this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
82438
+ this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
82374
82439
 
82375
82440
  for (let i = 0; i < values.publicKeys.length; i++) {
82376
82441
  this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
@@ -82410,7 +82475,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82410
82475
  if (Array.isArray(values.assertionMethods) &&
82411
82476
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
82412
82477
  // @ts-ignore: type is checked above.
82413
- this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
82478
+ this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
82414
82479
 
82415
82480
  for (let i = 0; i < values.assertionMethods.length; i++) {
82416
82481
  this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
@@ -82533,7 +82598,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82533
82598
  if (Array.isArray(values.streams) &&
82534
82599
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
82535
82600
  // @ts-ignore: type is checked above.
82536
- this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
82601
+ this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
82537
82602
 
82538
82603
  for (let i = 0; i < values.streams.length; i++) {
82539
82604
  this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
@@ -82651,7 +82716,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82651
82716
  if (Array.isArray(values.aliases) &&
82652
82717
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
82653
82718
  // @ts-ignore: type is checked above.
82654
- this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
82719
+ this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
82655
82720
 
82656
82721
  for (let i = 0; i < values.aliases.length; i++) {
82657
82722
  this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
@@ -82691,7 +82756,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82691
82756
  if (Array.isArray(values.services) &&
82692
82757
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
82693
82758
  // @ts-ignore: type is checked above.
82694
- this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
82759
+ this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
82695
82760
 
82696
82761
  for (let i = 0; i < values.services.length; i++) {
82697
82762
  this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
@@ -82736,7 +82801,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82736
82801
  * Clones this instance, optionally updating it with the given values.
82737
82802
  * @param values The values to update the clone with.
82738
82803
  * @param options The options to use for cloning.
82739
- * @returns The cloned instance.
82804
+ * @returns The cloned instance with its own property arrays. Nested objects
82805
+ * and URLs are shared with this instance.
82740
82806
  */
82741
82807
  override clone(
82742
82808
  values:
@@ -82779,7 +82845,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82779
82845
  // @ts-ignore: \$warning is not recognized as a property, but it is.
82780
82846
  options = { ...options, \$warning: this._warning };
82781
82847
  }
82782
- const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
82848
+ const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
82783
82849
  if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
82784
82850
  if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
82785
82851
  // @ts-ignore: type is checked above.
@@ -82806,7 +82872,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82806
82872
  if (Array.isArray(values.preferredUsernames) &&
82807
82873
  values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
82808
82874
  // @ts-ignore: type is checked above.
82809
- clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
82875
+ clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
82810
82876
 
82811
82877
  } else {
82812
82878
  throw new TypeError(
@@ -82815,7 +82881,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82815
82881
  );
82816
82882
  }
82817
82883
  }
82818
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
82884
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
82819
82885
  if (\\"publicKey\\" in values && values.publicKey != null) {
82820
82886
  if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
82821
82887
  // @ts-ignore: type is checked above.
@@ -82842,7 +82908,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82842
82908
  if (Array.isArray(values.publicKeys) &&
82843
82909
  values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
82844
82910
  // @ts-ignore: type is checked above.
82845
- clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
82911
+ clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
82846
82912
 
82847
82913
  clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
82848
82914
  for (let i = 0; i < values.publicKeys.length; i++) {
@@ -82856,7 +82922,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82856
82922
  );
82857
82923
  }
82858
82924
  }
82859
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
82925
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
82860
82926
  if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
82861
82927
  if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
82862
82928
  // @ts-ignore: type is checked above.
@@ -82883,7 +82949,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82883
82949
  if (Array.isArray(values.assertionMethods) &&
82884
82950
  values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
82885
82951
  // @ts-ignore: type is checked above.
82886
- clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
82952
+ clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
82887
82953
 
82888
82954
  clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
82889
82955
  for (let i = 0; i < values.assertionMethods.length; i++) {
@@ -82897,7 +82963,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82897
82963
  );
82898
82964
  }
82899
82965
  }
82900
- clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
82966
+ clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
82901
82967
  if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
82902
82968
  if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
82903
82969
  // @ts-ignore: type is checked above.
@@ -82910,7 +82976,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82910
82976
  );
82911
82977
  }
82912
82978
  }
82913
- clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
82979
+ clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
82914
82980
  if (\\"inbox\\" in values && values.inbox != null) {
82915
82981
  if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
82916
82982
  // @ts-ignore: type is checked above.
@@ -82923,7 +82989,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82923
82989
  );
82924
82990
  }
82925
82991
  }
82926
- clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
82992
+ clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
82927
82993
  if (\\"outbox\\" in values && values.outbox != null) {
82928
82994
  if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
82929
82995
  // @ts-ignore: type is checked above.
@@ -82936,7 +83002,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82936
83002
  );
82937
83003
  }
82938
83004
  }
82939
- clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
83005
+ clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
82940
83006
  if (\\"following\\" in values && values.following != null) {
82941
83007
  if (values.following instanceof Collection || values.following instanceof URL) {
82942
83008
  // @ts-ignore: type is checked above.
@@ -82949,7 +83015,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82949
83015
  );
82950
83016
  }
82951
83017
  }
82952
- clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
83018
+ clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
82953
83019
  if (\\"followers\\" in values && values.followers != null) {
82954
83020
  if (values.followers instanceof Collection || values.followers instanceof URL) {
82955
83021
  // @ts-ignore: type is checked above.
@@ -82962,7 +83028,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82962
83028
  );
82963
83029
  }
82964
83030
  }
82965
- clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
83031
+ clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
82966
83032
  if (\\"liked\\" in values && values.liked != null) {
82967
83033
  if (values.liked instanceof Collection || values.liked instanceof URL) {
82968
83034
  // @ts-ignore: type is checked above.
@@ -82975,7 +83041,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82975
83041
  );
82976
83042
  }
82977
83043
  }
82978
- clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
83044
+ clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
82979
83045
  if (\\"featured\\" in values && values.featured != null) {
82980
83046
  if (values.featured instanceof Collection || values.featured instanceof URL) {
82981
83047
  // @ts-ignore: type is checked above.
@@ -82988,7 +83054,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
82988
83054
  );
82989
83055
  }
82990
83056
  }
82991
- clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
83057
+ clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
82992
83058
  if (\\"featuredTags\\" in values && values.featuredTags != null) {
82993
83059
  if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
82994
83060
  // @ts-ignore: type is checked above.
@@ -83001,13 +83067,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83001
83067
  );
83002
83068
  }
83003
83069
  }
83004
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
83070
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
83005
83071
  if (\\"streams\\" in values && values.streams != null) {
83006
83072
 
83007
83073
  if (Array.isArray(values.streams) &&
83008
83074
  values.streams.every(v => v instanceof Collection || v instanceof URL)) {
83009
83075
  // @ts-ignore: type is checked above.
83010
- clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
83076
+ clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
83011
83077
 
83012
83078
  clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
83013
83079
  for (let i = 0; i < values.streams.length; i++) {
@@ -83021,7 +83087,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83021
83087
  );
83022
83088
  }
83023
83089
  }
83024
- clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
83090
+ clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
83025
83091
  if (\\"endpoints\\" in values && values.endpoints != null) {
83026
83092
  if (values.endpoints instanceof Endpoints) {
83027
83093
  // @ts-ignore: type is checked above.
@@ -83034,7 +83100,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83034
83100
  );
83035
83101
  }
83036
83102
  }
83037
- clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
83103
+ clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
83038
83104
  if (\\"discoverable\\" in values && values.discoverable != null) {
83039
83105
  if (typeof values.discoverable === \\"boolean\\") {
83040
83106
  // @ts-ignore: type is checked above.
@@ -83047,7 +83113,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83047
83113
  );
83048
83114
  }
83049
83115
  }
83050
- clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
83116
+ clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
83051
83117
  if (\\"suspended\\" in values && values.suspended != null) {
83052
83118
  if (typeof values.suspended === \\"boolean\\") {
83053
83119
  // @ts-ignore: type is checked above.
@@ -83060,7 +83126,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83060
83126
  );
83061
83127
  }
83062
83128
  }
83063
- clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
83129
+ clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
83064
83130
  if (\\"memorial\\" in values && values.memorial != null) {
83065
83131
  if (typeof values.memorial === \\"boolean\\") {
83066
83132
  // @ts-ignore: type is checked above.
@@ -83073,7 +83139,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83073
83139
  );
83074
83140
  }
83075
83141
  }
83076
- clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
83142
+ clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
83077
83143
  if (\\"indexable\\" in values && values.indexable != null) {
83078
83144
  if (typeof values.indexable === \\"boolean\\") {
83079
83145
  // @ts-ignore: type is checked above.
@@ -83086,7 +83152,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83086
83152
  );
83087
83153
  }
83088
83154
  }
83089
- clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
83155
+ clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
83090
83156
  if (\\"successor\\" in values && values.successor != null) {
83091
83157
  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) {
83092
83158
  // @ts-ignore: type is checked above.
@@ -83099,7 +83165,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83099
83165
  );
83100
83166
  }
83101
83167
  }
83102
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
83168
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
83103
83169
  if (\\"alias\\" in values && values.alias != null) {
83104
83170
  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) {
83105
83171
  // @ts-ignore: type is checked above.
@@ -83126,7 +83192,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83126
83192
  if (Array.isArray(values.aliases) &&
83127
83193
  values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
83128
83194
  // @ts-ignore: type is checked above.
83129
- clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
83195
+ clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
83130
83196
 
83131
83197
  clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
83132
83198
  for (let i = 0; i < values.aliases.length; i++) {
@@ -83140,7 +83206,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83140
83206
  );
83141
83207
  }
83142
83208
  }
83143
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
83209
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
83144
83210
  if (\\"service\\" in values && values.service != null) {
83145
83211
  if (values.service instanceof DidService || values.service instanceof URL) {
83146
83212
  // @ts-ignore: type is checked above.
@@ -83167,7 +83233,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83167
83233
  if (Array.isArray(values.services) &&
83168
83234
  values.services.every(v => v instanceof DidService || v instanceof URL)) {
83169
83235
  // @ts-ignore: type is checked above.
83170
- clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
83236
+ clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
83171
83237
 
83172
83238
  clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
83173
83239
  for (let i = 0; i < values.services.length; i++) {
@@ -83181,7 +83247,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83181
83247
  );
83182
83248
  }
83183
83249
  }
83184
- clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
83250
+ clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
83185
83251
  if (\\"followedMessage\\" in values && values.followedMessage != null) {
83186
83252
  if (typeof values.followedMessage === \\"string\\") {
83187
83253
  // @ts-ignore: type is checked above.
@@ -83194,7 +83260,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
83194
83260
  );
83195
83261
  }
83196
83262
  }
83197
- clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
83263
+ clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
83198
83264
  if (\\"cat\\" in values && values.cat != null) {
83199
83265
  if (typeof values.cat === \\"boolean\\") {
83200
83266
  // @ts-ignore: type is checked above.
@@ -89281,7 +89347,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89281
89347
  if (Array.isArray(values.contents) &&
89282
89348
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
89283
89349
  // @ts-ignore: type is checked above.
89284
- this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
89350
+ this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
89285
89351
 
89286
89352
  } else {
89287
89353
  throw new TypeError(
@@ -89309,7 +89375,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89309
89375
  * Clones this instance, optionally updating it with the given values.
89310
89376
  * @param values The values to update the clone with.
89311
89377
  * @param options The options to use for cloning.
89312
- * @returns The cloned instance.
89378
+ * @returns The cloned instance with its own property arrays. Nested objects
89379
+ * and URLs are shared with this instance.
89313
89380
  */
89314
89381
  clone(
89315
89382
  values:
@@ -89338,7 +89405,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89338
89405
  { id: values.id ?? this.id },
89339
89406
  options
89340
89407
  );
89341
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
89408
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
89342
89409
  if (\\"content\\" in values && values.content != null) {
89343
89410
  if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
89344
89411
  // @ts-ignore: type is checked above.
@@ -89365,7 +89432,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89365
89432
  if (Array.isArray(values.contents) &&
89366
89433
  values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
89367
89434
  // @ts-ignore: type is checked above.
89368
- clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
89435
+ clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
89369
89436
 
89370
89437
  } else {
89371
89438
  throw new TypeError(
@@ -89374,7 +89441,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
89374
89441
  );
89375
89442
  }
89376
89443
  }
89377
- clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
89444
+ clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
89378
89445
  if (\\"mediaType\\" in values && values.mediaType != null) {
89379
89446
  if (typeof values.mediaType === \\"string\\") {
89380
89447
  // @ts-ignore: type is checked above.
@@ -89891,7 +89958,8 @@ instruments?: (Object | URL)[];}
89891
89958
  * Clones this instance, optionally updating it with the given values.
89892
89959
  * @param values The values to update the clone with.
89893
89960
  * @param options The options to use for cloning.
89894
- * @returns The cloned instance.
89961
+ * @returns The cloned instance with its own property arrays. Nested objects
89962
+ * and URLs are shared with this instance.
89895
89963
  */
89896
89964
  override clone(
89897
89965
  values:
@@ -90231,7 +90299,8 @@ instruments?: (Object | URL)[];}
90231
90299
  * Clones this instance, optionally updating it with the given values.
90232
90300
  * @param values The values to update the clone with.
90233
90301
  * @param options The options to use for cloning.
90234
- * @returns The cloned instance.
90302
+ * @returns The cloned instance with its own property arrays. Nested objects
90303
+ * and URLs are shared with this instance.
90235
90304
  */
90236
90305
  override clone(
90237
90306
  values:
@@ -90580,7 +90649,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
90580
90649
  * Clones this instance, optionally updating it with the given values.
90581
90650
  * @param values The values to update the clone with.
90582
90651
  * @param options The options to use for cloning.
90583
- * @returns The cloned instance.
90652
+ * @returns The cloned instance with its own property arrays. Nested objects
90653
+ * and URLs are shared with this instance.
90584
90654
  */
90585
90655
  override clone(
90586
90656
  values:
@@ -90618,7 +90688,7 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
90618
90688
  // @ts-ignore: \$warning is not recognized as a property, but it is.
90619
90689
  options = { ...options, \$warning: this._warning };
90620
90690
  }
90621
- const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
90691
+ const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
90622
90692
  if (\\"deleted\\" in values && values.deleted != null) {
90623
90693
  if (isTemporalInstant(values.deleted)) {
90624
90694
  // @ts-ignore: type is checked above.
@@ -91043,7 +91113,8 @@ instruments?: (Object | URL)[];}
91043
91113
  * Clones this instance, optionally updating it with the given values.
91044
91114
  * @param values The values to update the clone with.
91045
91115
  * @param options The options to use for cloning.
91046
- * @returns The cloned instance.
91116
+ * @returns The cloned instance with its own property arrays. Nested objects
91117
+ * and URLs are shared with this instance.
91047
91118
  */
91048
91119
  override clone(
91049
91120
  values:
@@ -91388,7 +91459,8 @@ instruments?: (Object | URL)[];}
91388
91459
  * Clones this instance, optionally updating it with the given values.
91389
91460
  * @param values The values to update the clone with.
91390
91461
  * @param options The options to use for cloning.
91391
- * @returns The cloned instance.
91462
+ * @returns The cloned instance with its own property arrays. Nested objects
91463
+ * and URLs are shared with this instance.
91392
91464
  */
91393
91465
  override clone(
91394
91466
  values:
@@ -91731,7 +91803,8 @@ instruments?: (Object | URL)[];}
91731
91803
  * Clones this instance, optionally updating it with the given values.
91732
91804
  * @param values The values to update the clone with.
91733
91805
  * @param options The options to use for cloning.
91734
- * @returns The cloned instance.
91806
+ * @returns The cloned instance with its own property arrays. Nested objects
91807
+ * and URLs are shared with this instance.
91735
91808
  */
91736
91809
  override clone(
91737
91810
  values:
@@ -92063,7 +92136,8 @@ proofs?: (DataIntegrityProof | URL)[];interactionPolicy?: InteractionPolicy | nu
92063
92136
  * Clones this instance, optionally updating it with the given values.
92064
92137
  * @param values The values to update the clone with.
92065
92138
  * @param options The options to use for cloning.
92066
- * @returns The cloned instance.
92139
+ * @returns The cloned instance with its own property arrays. Nested objects
92140
+ * and URLs are shared with this instance.
92067
92141
  */
92068
92142
  override clone(
92069
92143
  values:
@@ -92413,7 +92487,8 @@ instruments?: (Object | URL)[];}
92413
92487
  * Clones this instance, optionally updating it with the given values.
92414
92488
  * @param values The values to update the clone with.
92415
92489
  * @param options The options to use for cloning.
92416
- * @returns The cloned instance.
92490
+ * @returns The cloned instance with its own property arrays. Nested objects
92491
+ * and URLs are shared with this instance.
92417
92492
  */
92418
92493
  override clone(
92419
92494
  values: