@fedify/vocab-tools 2.0.30 → 2.0.31-dev.2297
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.
- package/deno.json +1 -1
- package/dist/mod.cjs +6 -5
- package/dist/mod.js +6 -5
- package/package.json +1 -1
- package/src/__snapshots__/class.test.ts.deno.snap +484 -418
- package/src/__snapshots__/class.test.ts.node.snap +484 -418
- package/src/__snapshots__/class.test.ts.snap +484 -418
- package/src/constructor.ts +5 -4
|
@@ -241,7 +241,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
241
241
|
if (Array.isArray(values.attachments) &&
|
|
242
242
|
values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
|
|
243
243
|
// @ts-ignore: type is checked above.
|
|
244
|
-
this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
|
|
244
|
+
this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
|
|
245
245
|
|
|
246
246
|
for (let i = 0; i < values.attachments.length; i++) {
|
|
247
247
|
this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
|
|
@@ -281,7 +281,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
281
281
|
if (Array.isArray(values.attributions) &&
|
|
282
282
|
values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
283
283
|
// @ts-ignore: type is checked above.
|
|
284
|
-
this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
|
|
284
|
+
this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
|
|
285
285
|
|
|
286
286
|
for (let i = 0; i < values.attributions.length; i++) {
|
|
287
287
|
this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
|
|
@@ -321,7 +321,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
321
321
|
if (Array.isArray(values.audiences) &&
|
|
322
322
|
values.audiences.every(v => v instanceof Object || v instanceof URL)) {
|
|
323
323
|
// @ts-ignore: type is checked above.
|
|
324
|
-
this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
|
|
324
|
+
this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
|
|
325
325
|
|
|
326
326
|
for (let i = 0; i < values.audiences.length; i++) {
|
|
327
327
|
this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
|
|
@@ -361,7 +361,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
361
361
|
if (Array.isArray(values.contents) &&
|
|
362
362
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
363
363
|
// @ts-ignore: type is checked above.
|
|
364
|
-
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
364
|
+
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
365
365
|
|
|
366
366
|
} else {
|
|
367
367
|
throw new TypeError(
|
|
@@ -376,7 +376,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
376
376
|
if (Array.isArray(values.contexts) &&
|
|
377
377
|
values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
378
378
|
// @ts-ignore: type is checked above.
|
|
379
|
-
this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
|
|
379
|
+
this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
|
|
380
380
|
|
|
381
381
|
for (let i = 0; i < values.contexts.length; i++) {
|
|
382
382
|
this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
|
|
@@ -416,7 +416,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
416
416
|
if (Array.isArray(values.names) &&
|
|
417
417
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
418
418
|
// @ts-ignore: type is checked above.
|
|
419
|
-
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
419
|
+
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
420
420
|
|
|
421
421
|
} else {
|
|
422
422
|
throw new TypeError(
|
|
@@ -444,7 +444,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
444
444
|
if (Array.isArray(values.generators) &&
|
|
445
445
|
values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
446
446
|
// @ts-ignore: type is checked above.
|
|
447
|
-
this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
|
|
447
|
+
this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
|
|
448
448
|
|
|
449
449
|
for (let i = 0; i < values.generators.length; i++) {
|
|
450
450
|
this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
|
|
@@ -484,7 +484,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
484
484
|
if (Array.isArray(values.icons) &&
|
|
485
485
|
values.icons.every(v => v instanceof Image || v instanceof URL)) {
|
|
486
486
|
// @ts-ignore: type is checked above.
|
|
487
|
-
this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
|
|
487
|
+
this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
|
|
488
488
|
|
|
489
489
|
for (let i = 0; i < values.icons.length; i++) {
|
|
490
490
|
this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
|
|
@@ -524,7 +524,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
524
524
|
if (Array.isArray(values.images) &&
|
|
525
525
|
values.images.every(v => v instanceof Image || v instanceof URL)) {
|
|
526
526
|
// @ts-ignore: type is checked above.
|
|
527
|
-
this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
|
|
527
|
+
this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
|
|
528
528
|
|
|
529
529
|
for (let i = 0; i < values.images.length; i++) {
|
|
530
530
|
this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
|
|
@@ -564,7 +564,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
564
564
|
if (Array.isArray(values.replyTargets) &&
|
|
565
565
|
values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
566
566
|
// @ts-ignore: type is checked above.
|
|
567
|
-
this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
|
|
567
|
+
this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
|
|
568
568
|
|
|
569
569
|
for (let i = 0; i < values.replyTargets.length; i++) {
|
|
570
570
|
this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
|
|
@@ -604,7 +604,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
604
604
|
if (Array.isArray(values.locations) &&
|
|
605
605
|
values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
606
606
|
// @ts-ignore: type is checked above.
|
|
607
|
-
this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
|
|
607
|
+
this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
|
|
608
608
|
|
|
609
609
|
for (let i = 0; i < values.locations.length; i++) {
|
|
610
610
|
this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
|
|
@@ -644,7 +644,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
644
644
|
if (Array.isArray(values.previews) &&
|
|
645
645
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
646
646
|
// @ts-ignore: type is checked above.
|
|
647
|
-
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
647
|
+
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
648
648
|
|
|
649
649
|
for (let i = 0; i < values.previews.length; i++) {
|
|
650
650
|
this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
|
|
@@ -762,7 +762,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
762
762
|
if (Array.isArray(values.summaries) &&
|
|
763
763
|
values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
764
764
|
// @ts-ignore: type is checked above.
|
|
765
|
-
this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
|
|
765
|
+
this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
|
|
766
766
|
|
|
767
767
|
} else {
|
|
768
768
|
throw new TypeError(
|
|
@@ -777,7 +777,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
777
777
|
if (Array.isArray(values.tags) &&
|
|
778
778
|
values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
779
779
|
// @ts-ignore: type is checked above.
|
|
780
|
-
this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
|
|
780
|
+
this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
|
|
781
781
|
|
|
782
782
|
for (let i = 0; i < values.tags.length; i++) {
|
|
783
783
|
this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
|
|
@@ -830,7 +830,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
830
830
|
if (Array.isArray(values.urls) &&
|
|
831
831
|
values.urls.every(v => v instanceof URL || v instanceof Link)) {
|
|
832
832
|
// @ts-ignore: type is checked above.
|
|
833
|
-
this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
|
|
833
|
+
this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
|
|
834
834
|
|
|
835
835
|
} else {
|
|
836
836
|
throw new TypeError(
|
|
@@ -866,7 +866,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
866
866
|
if (Array.isArray(values.tos) &&
|
|
867
867
|
values.tos.every(v => v instanceof Object || v instanceof URL)) {
|
|
868
868
|
// @ts-ignore: type is checked above.
|
|
869
|
-
this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
|
|
869
|
+
this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
|
|
870
870
|
|
|
871
871
|
for (let i = 0; i < values.tos.length; i++) {
|
|
872
872
|
this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
|
|
@@ -906,7 +906,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
906
906
|
if (Array.isArray(values.btos) &&
|
|
907
907
|
values.btos.every(v => v instanceof Object || v instanceof URL)) {
|
|
908
908
|
// @ts-ignore: type is checked above.
|
|
909
|
-
this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
|
|
909
|
+
this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
|
|
910
910
|
|
|
911
911
|
for (let i = 0; i < values.btos.length; i++) {
|
|
912
912
|
this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
|
|
@@ -946,7 +946,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
946
946
|
if (Array.isArray(values.ccs) &&
|
|
947
947
|
values.ccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
948
948
|
// @ts-ignore: type is checked above.
|
|
949
|
-
this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
|
|
949
|
+
this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
|
|
950
950
|
|
|
951
951
|
for (let i = 0; i < values.ccs.length; i++) {
|
|
952
952
|
this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
|
|
@@ -986,7 +986,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
986
986
|
if (Array.isArray(values.bccs) &&
|
|
987
987
|
values.bccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
988
988
|
// @ts-ignore: type is checked above.
|
|
989
|
-
this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
|
|
989
|
+
this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
|
|
990
990
|
|
|
991
991
|
for (let i = 0; i < values.bccs.length; i++) {
|
|
992
992
|
this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
|
|
@@ -1078,7 +1078,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1078
1078
|
if (Array.isArray(values.proofs) &&
|
|
1079
1079
|
values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
|
|
1080
1080
|
// @ts-ignore: type is checked above.
|
|
1081
|
-
this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
|
|
1081
|
+
this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
|
|
1082
1082
|
|
|
1083
1083
|
for (let i = 0; i < values.proofs.length; i++) {
|
|
1084
1084
|
this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
|
|
@@ -1097,7 +1097,8 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1097
1097
|
* Clones this instance, optionally updating it with the given values.
|
|
1098
1098
|
* @param values The values to update the clone with.
|
|
1099
1099
|
* @param options The options to use for cloning.
|
|
1100
|
-
* @returns The cloned instance.
|
|
1100
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
1101
|
+
* and URLs are shared with this instance.
|
|
1101
1102
|
*/
|
|
1102
1103
|
clone(
|
|
1103
1104
|
values:
|
|
@@ -1141,13 +1142,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1141
1142
|
{ id: values.id ?? this.id },
|
|
1142
1143
|
options
|
|
1143
1144
|
);
|
|
1144
|
-
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
|
|
1145
|
+
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
|
|
1145
1146
|
if (\\"attachments\\" in values && values.attachments != null) {
|
|
1146
1147
|
|
|
1147
1148
|
if (Array.isArray(values.attachments) &&
|
|
1148
1149
|
values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
|
|
1149
1150
|
// @ts-ignore: type is checked above.
|
|
1150
|
-
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
|
|
1151
|
+
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
|
|
1151
1152
|
|
|
1152
1153
|
clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
|
|
1153
1154
|
for (let i = 0; i < values.attachments.length; i++) {
|
|
@@ -1161,7 +1162,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1161
1162
|
);
|
|
1162
1163
|
}
|
|
1163
1164
|
}
|
|
1164
|
-
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
|
|
1165
|
+
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
|
|
1165
1166
|
if (\\"attribution\\" in values && values.attribution != null) {
|
|
1166
1167
|
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) {
|
|
1167
1168
|
// @ts-ignore: type is checked above.
|
|
@@ -1188,7 +1189,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1188
1189
|
if (Array.isArray(values.attributions) &&
|
|
1189
1190
|
values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
1190
1191
|
// @ts-ignore: type is checked above.
|
|
1191
|
-
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
|
|
1192
|
+
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
|
|
1192
1193
|
|
|
1193
1194
|
clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
|
|
1194
1195
|
for (let i = 0; i < values.attributions.length; i++) {
|
|
@@ -1202,7 +1203,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1202
1203
|
);
|
|
1203
1204
|
}
|
|
1204
1205
|
}
|
|
1205
|
-
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
|
|
1206
|
+
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
|
|
1206
1207
|
if (\\"audience\\" in values && values.audience != null) {
|
|
1207
1208
|
if (values.audience instanceof Object || values.audience instanceof URL) {
|
|
1208
1209
|
// @ts-ignore: type is checked above.
|
|
@@ -1229,7 +1230,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1229
1230
|
if (Array.isArray(values.audiences) &&
|
|
1230
1231
|
values.audiences.every(v => v instanceof Object || v instanceof URL)) {
|
|
1231
1232
|
// @ts-ignore: type is checked above.
|
|
1232
|
-
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
|
|
1233
|
+
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
|
|
1233
1234
|
|
|
1234
1235
|
clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
|
|
1235
1236
|
for (let i = 0; i < values.audiences.length; i++) {
|
|
@@ -1243,7 +1244,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1243
1244
|
);
|
|
1244
1245
|
}
|
|
1245
1246
|
}
|
|
1246
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
|
|
1247
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
|
|
1247
1248
|
if (\\"content\\" in values && values.content != null) {
|
|
1248
1249
|
if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
|
|
1249
1250
|
// @ts-ignore: type is checked above.
|
|
@@ -1270,7 +1271,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1270
1271
|
if (Array.isArray(values.contents) &&
|
|
1271
1272
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
1272
1273
|
// @ts-ignore: type is checked above.
|
|
1273
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
1274
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
1274
1275
|
|
|
1275
1276
|
} else {
|
|
1276
1277
|
throw new TypeError(
|
|
@@ -1279,13 +1280,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1279
1280
|
);
|
|
1280
1281
|
}
|
|
1281
1282
|
}
|
|
1282
|
-
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
|
|
1283
|
+
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
|
|
1283
1284
|
if (\\"contexts\\" in values && values.contexts != null) {
|
|
1284
1285
|
|
|
1285
1286
|
if (Array.isArray(values.contexts) &&
|
|
1286
1287
|
values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1287
1288
|
// @ts-ignore: type is checked above.
|
|
1288
|
-
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
|
|
1289
|
+
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
|
|
1289
1290
|
|
|
1290
1291
|
clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
|
|
1291
1292
|
for (let i = 0; i < values.contexts.length; i++) {
|
|
@@ -1299,7 +1300,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1299
1300
|
);
|
|
1300
1301
|
}
|
|
1301
1302
|
}
|
|
1302
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
|
|
1303
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
|
|
1303
1304
|
if (\\"name\\" in values && values.name != null) {
|
|
1304
1305
|
if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
|
|
1305
1306
|
// @ts-ignore: type is checked above.
|
|
@@ -1326,7 +1327,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1326
1327
|
if (Array.isArray(values.names) &&
|
|
1327
1328
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
1328
1329
|
// @ts-ignore: type is checked above.
|
|
1329
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
1330
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
1330
1331
|
|
|
1331
1332
|
} else {
|
|
1332
1333
|
throw new TypeError(
|
|
@@ -1335,7 +1336,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1335
1336
|
);
|
|
1336
1337
|
}
|
|
1337
1338
|
}
|
|
1338
|
-
clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
|
|
1339
|
+
clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
|
|
1339
1340
|
if (\\"endTime\\" in values && values.endTime != null) {
|
|
1340
1341
|
if (isTemporalInstant(values.endTime)) {
|
|
1341
1342
|
// @ts-ignore: type is checked above.
|
|
@@ -1348,13 +1349,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1348
1349
|
);
|
|
1349
1350
|
}
|
|
1350
1351
|
}
|
|
1351
|
-
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
|
|
1352
|
+
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
|
|
1352
1353
|
if (\\"generators\\" in values && values.generators != null) {
|
|
1353
1354
|
|
|
1354
1355
|
if (Array.isArray(values.generators) &&
|
|
1355
1356
|
values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1356
1357
|
// @ts-ignore: type is checked above.
|
|
1357
|
-
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
|
|
1358
|
+
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
|
|
1358
1359
|
|
|
1359
1360
|
clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
|
|
1360
1361
|
for (let i = 0; i < values.generators.length; i++) {
|
|
@@ -1368,7 +1369,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1368
1369
|
);
|
|
1369
1370
|
}
|
|
1370
1371
|
}
|
|
1371
|
-
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
|
|
1372
|
+
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
|
|
1372
1373
|
if (\\"icon\\" in values && values.icon != null) {
|
|
1373
1374
|
if (values.icon instanceof Image || values.icon instanceof URL) {
|
|
1374
1375
|
// @ts-ignore: type is checked above.
|
|
@@ -1395,7 +1396,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1395
1396
|
if (Array.isArray(values.icons) &&
|
|
1396
1397
|
values.icons.every(v => v instanceof Image || v instanceof URL)) {
|
|
1397
1398
|
// @ts-ignore: type is checked above.
|
|
1398
|
-
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
|
|
1399
|
+
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
|
|
1399
1400
|
|
|
1400
1401
|
clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
|
|
1401
1402
|
for (let i = 0; i < values.icons.length; i++) {
|
|
@@ -1409,7 +1410,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1409
1410
|
);
|
|
1410
1411
|
}
|
|
1411
1412
|
}
|
|
1412
|
-
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
|
|
1413
|
+
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
|
|
1413
1414
|
if (\\"image\\" in values && values.image != null) {
|
|
1414
1415
|
if (values.image instanceof Image || values.image instanceof URL) {
|
|
1415
1416
|
// @ts-ignore: type is checked above.
|
|
@@ -1436,7 +1437,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1436
1437
|
if (Array.isArray(values.images) &&
|
|
1437
1438
|
values.images.every(v => v instanceof Image || v instanceof URL)) {
|
|
1438
1439
|
// @ts-ignore: type is checked above.
|
|
1439
|
-
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
|
|
1440
|
+
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
|
|
1440
1441
|
|
|
1441
1442
|
clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
|
|
1442
1443
|
for (let i = 0; i < values.images.length; i++) {
|
|
@@ -1450,7 +1451,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1450
1451
|
);
|
|
1451
1452
|
}
|
|
1452
1453
|
}
|
|
1453
|
-
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
|
|
1454
|
+
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
|
|
1454
1455
|
if (\\"replyTarget\\" in values && values.replyTarget != null) {
|
|
1455
1456
|
if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
|
|
1456
1457
|
// @ts-ignore: type is checked above.
|
|
@@ -1477,7 +1478,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1477
1478
|
if (Array.isArray(values.replyTargets) &&
|
|
1478
1479
|
values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1479
1480
|
// @ts-ignore: type is checked above.
|
|
1480
|
-
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
|
|
1481
|
+
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
|
|
1481
1482
|
|
|
1482
1483
|
clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
|
|
1483
1484
|
for (let i = 0; i < values.replyTargets.length; i++) {
|
|
@@ -1491,7 +1492,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1491
1492
|
);
|
|
1492
1493
|
}
|
|
1493
1494
|
}
|
|
1494
|
-
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
|
|
1495
|
+
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
|
|
1495
1496
|
if (\\"location\\" in values && values.location != null) {
|
|
1496
1497
|
if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
|
|
1497
1498
|
// @ts-ignore: type is checked above.
|
|
@@ -1518,7 +1519,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1518
1519
|
if (Array.isArray(values.locations) &&
|
|
1519
1520
|
values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1520
1521
|
// @ts-ignore: type is checked above.
|
|
1521
|
-
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
|
|
1522
|
+
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
|
|
1522
1523
|
|
|
1523
1524
|
clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
|
|
1524
1525
|
for (let i = 0; i < values.locations.length; i++) {
|
|
@@ -1532,7 +1533,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1532
1533
|
);
|
|
1533
1534
|
}
|
|
1534
1535
|
}
|
|
1535
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
1536
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
1536
1537
|
if (\\"preview\\" in values && values.preview != null) {
|
|
1537
1538
|
if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
|
|
1538
1539
|
// @ts-ignore: type is checked above.
|
|
@@ -1559,7 +1560,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1559
1560
|
if (Array.isArray(values.previews) &&
|
|
1560
1561
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
1561
1562
|
// @ts-ignore: type is checked above.
|
|
1562
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
1563
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
1563
1564
|
|
|
1564
1565
|
clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
|
|
1565
1566
|
for (let i = 0; i < values.previews.length; i++) {
|
|
@@ -1573,7 +1574,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1573
1574
|
);
|
|
1574
1575
|
}
|
|
1575
1576
|
}
|
|
1576
|
-
clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
|
|
1577
|
+
clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
|
|
1577
1578
|
if (\\"published\\" in values && values.published != null) {
|
|
1578
1579
|
if (isTemporalInstant(values.published)) {
|
|
1579
1580
|
// @ts-ignore: type is checked above.
|
|
@@ -1586,7 +1587,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1586
1587
|
);
|
|
1587
1588
|
}
|
|
1588
1589
|
}
|
|
1589
|
-
clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
|
|
1590
|
+
clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
|
|
1590
1591
|
if (\\"replies\\" in values && values.replies != null) {
|
|
1591
1592
|
if (values.replies instanceof Collection || values.replies instanceof URL) {
|
|
1592
1593
|
// @ts-ignore: type is checked above.
|
|
@@ -1599,7 +1600,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1599
1600
|
);
|
|
1600
1601
|
}
|
|
1601
1602
|
}
|
|
1602
|
-
clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
|
|
1603
|
+
clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
|
|
1603
1604
|
if (\\"shares\\" in values && values.shares != null) {
|
|
1604
1605
|
if (values.shares instanceof Collection || values.shares instanceof URL) {
|
|
1605
1606
|
// @ts-ignore: type is checked above.
|
|
@@ -1612,7 +1613,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1612
1613
|
);
|
|
1613
1614
|
}
|
|
1614
1615
|
}
|
|
1615
|
-
clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
|
|
1616
|
+
clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
|
|
1616
1617
|
if (\\"likes\\" in values && values.likes != null) {
|
|
1617
1618
|
if (values.likes instanceof Collection || values.likes instanceof URL) {
|
|
1618
1619
|
// @ts-ignore: type is checked above.
|
|
@@ -1625,7 +1626,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1625
1626
|
);
|
|
1626
1627
|
}
|
|
1627
1628
|
}
|
|
1628
|
-
clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
|
|
1629
|
+
clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
|
|
1629
1630
|
if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
|
|
1630
1631
|
if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
|
|
1631
1632
|
// @ts-ignore: type is checked above.
|
|
@@ -1638,7 +1639,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1638
1639
|
);
|
|
1639
1640
|
}
|
|
1640
1641
|
}
|
|
1641
|
-
clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
|
|
1642
|
+
clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
|
|
1642
1643
|
if (\\"startTime\\" in values && values.startTime != null) {
|
|
1643
1644
|
if (isTemporalInstant(values.startTime)) {
|
|
1644
1645
|
// @ts-ignore: type is checked above.
|
|
@@ -1651,7 +1652,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1651
1652
|
);
|
|
1652
1653
|
}
|
|
1653
1654
|
}
|
|
1654
|
-
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
|
|
1655
|
+
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
|
|
1655
1656
|
if (\\"summary\\" in values && values.summary != null) {
|
|
1656
1657
|
if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
|
|
1657
1658
|
// @ts-ignore: type is checked above.
|
|
@@ -1678,7 +1679,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1678
1679
|
if (Array.isArray(values.summaries) &&
|
|
1679
1680
|
values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
1680
1681
|
// @ts-ignore: type is checked above.
|
|
1681
|
-
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
|
|
1682
|
+
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
|
|
1682
1683
|
|
|
1683
1684
|
} else {
|
|
1684
1685
|
throw new TypeError(
|
|
@@ -1687,13 +1688,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1687
1688
|
);
|
|
1688
1689
|
}
|
|
1689
1690
|
}
|
|
1690
|
-
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
|
|
1691
|
+
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
|
|
1691
1692
|
if (\\"tags\\" in values && values.tags != null) {
|
|
1692
1693
|
|
|
1693
1694
|
if (Array.isArray(values.tags) &&
|
|
1694
1695
|
values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1695
1696
|
// @ts-ignore: type is checked above.
|
|
1696
|
-
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
|
|
1697
|
+
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
|
|
1697
1698
|
|
|
1698
1699
|
clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
|
|
1699
1700
|
for (let i = 0; i < values.tags.length; i++) {
|
|
@@ -1707,7 +1708,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1707
1708
|
);
|
|
1708
1709
|
}
|
|
1709
1710
|
}
|
|
1710
|
-
clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
|
|
1711
|
+
clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
|
|
1711
1712
|
if (\\"updated\\" in values && values.updated != null) {
|
|
1712
1713
|
if (isTemporalInstant(values.updated)) {
|
|
1713
1714
|
// @ts-ignore: type is checked above.
|
|
@@ -1720,7 +1721,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1720
1721
|
);
|
|
1721
1722
|
}
|
|
1722
1723
|
}
|
|
1723
|
-
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
|
|
1724
|
+
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
|
|
1724
1725
|
if (\\"url\\" in values && values.url != null) {
|
|
1725
1726
|
if (values.url instanceof URL || values.url instanceof Link) {
|
|
1726
1727
|
// @ts-ignore: type is checked above.
|
|
@@ -1747,7 +1748,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1747
1748
|
if (Array.isArray(values.urls) &&
|
|
1748
1749
|
values.urls.every(v => v instanceof URL || v instanceof Link)) {
|
|
1749
1750
|
// @ts-ignore: type is checked above.
|
|
1750
|
-
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
|
|
1751
|
+
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
|
|
1751
1752
|
|
|
1752
1753
|
} else {
|
|
1753
1754
|
throw new TypeError(
|
|
@@ -1756,7 +1757,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1756
1757
|
);
|
|
1757
1758
|
}
|
|
1758
1759
|
}
|
|
1759
|
-
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
|
|
1760
|
+
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
|
|
1760
1761
|
if (\\"to\\" in values && values.to != null) {
|
|
1761
1762
|
if (values.to instanceof Object || values.to instanceof URL) {
|
|
1762
1763
|
// @ts-ignore: type is checked above.
|
|
@@ -1783,7 +1784,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1783
1784
|
if (Array.isArray(values.tos) &&
|
|
1784
1785
|
values.tos.every(v => v instanceof Object || v instanceof URL)) {
|
|
1785
1786
|
// @ts-ignore: type is checked above.
|
|
1786
|
-
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
|
|
1787
|
+
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
|
|
1787
1788
|
|
|
1788
1789
|
clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
|
|
1789
1790
|
for (let i = 0; i < values.tos.length; i++) {
|
|
@@ -1797,7 +1798,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1797
1798
|
);
|
|
1798
1799
|
}
|
|
1799
1800
|
}
|
|
1800
|
-
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
|
|
1801
|
+
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
|
|
1801
1802
|
if (\\"bto\\" in values && values.bto != null) {
|
|
1802
1803
|
if (values.bto instanceof Object || values.bto instanceof URL) {
|
|
1803
1804
|
// @ts-ignore: type is checked above.
|
|
@@ -1824,7 +1825,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1824
1825
|
if (Array.isArray(values.btos) &&
|
|
1825
1826
|
values.btos.every(v => v instanceof Object || v instanceof URL)) {
|
|
1826
1827
|
// @ts-ignore: type is checked above.
|
|
1827
|
-
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
|
|
1828
|
+
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
|
|
1828
1829
|
|
|
1829
1830
|
clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
|
|
1830
1831
|
for (let i = 0; i < values.btos.length; i++) {
|
|
@@ -1838,7 +1839,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1838
1839
|
);
|
|
1839
1840
|
}
|
|
1840
1841
|
}
|
|
1841
|
-
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
|
|
1842
|
+
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
|
|
1842
1843
|
if (\\"cc\\" in values && values.cc != null) {
|
|
1843
1844
|
if (values.cc instanceof Object || values.cc instanceof URL) {
|
|
1844
1845
|
// @ts-ignore: type is checked above.
|
|
@@ -1865,7 +1866,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1865
1866
|
if (Array.isArray(values.ccs) &&
|
|
1866
1867
|
values.ccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
1867
1868
|
// @ts-ignore: type is checked above.
|
|
1868
|
-
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
|
|
1869
|
+
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
|
|
1869
1870
|
|
|
1870
1871
|
clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
|
|
1871
1872
|
for (let i = 0; i < values.ccs.length; i++) {
|
|
@@ -1879,7 +1880,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1879
1880
|
);
|
|
1880
1881
|
}
|
|
1881
1882
|
}
|
|
1882
|
-
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
|
|
1883
|
+
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
|
|
1883
1884
|
if (\\"bcc\\" in values && values.bcc != null) {
|
|
1884
1885
|
if (values.bcc instanceof Object || values.bcc instanceof URL) {
|
|
1885
1886
|
// @ts-ignore: type is checked above.
|
|
@@ -1906,7 +1907,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1906
1907
|
if (Array.isArray(values.bccs) &&
|
|
1907
1908
|
values.bccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
1908
1909
|
// @ts-ignore: type is checked above.
|
|
1909
|
-
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
|
|
1910
|
+
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
|
|
1910
1911
|
|
|
1911
1912
|
clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
|
|
1912
1913
|
for (let i = 0; i < values.bccs.length; i++) {
|
|
@@ -1920,7 +1921,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1920
1921
|
);
|
|
1921
1922
|
}
|
|
1922
1923
|
}
|
|
1923
|
-
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
|
|
1924
|
+
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
|
|
1924
1925
|
if (\\"mediaType\\" in values && values.mediaType != null) {
|
|
1925
1926
|
if (typeof values.mediaType === \\"string\\") {
|
|
1926
1927
|
// @ts-ignore: type is checked above.
|
|
@@ -1933,7 +1934,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1933
1934
|
);
|
|
1934
1935
|
}
|
|
1935
1936
|
}
|
|
1936
|
-
clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
|
|
1937
|
+
clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
|
|
1937
1938
|
if (\\"duration\\" in values && values.duration != null) {
|
|
1938
1939
|
if (isTemporalDuration(values.duration)) {
|
|
1939
1940
|
// @ts-ignore: type is checked above.
|
|
@@ -1946,7 +1947,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1946
1947
|
);
|
|
1947
1948
|
}
|
|
1948
1949
|
}
|
|
1949
|
-
clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
|
|
1950
|
+
clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
|
|
1950
1951
|
if (\\"sensitive\\" in values && values.sensitive != null) {
|
|
1951
1952
|
if (typeof values.sensitive === \\"boolean\\") {
|
|
1952
1953
|
// @ts-ignore: type is checked above.
|
|
@@ -1959,7 +1960,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1959
1960
|
);
|
|
1960
1961
|
}
|
|
1961
1962
|
}
|
|
1962
|
-
clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
|
|
1963
|
+
clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
|
|
1963
1964
|
if (\\"source\\" in values && values.source != null) {
|
|
1964
1965
|
if (values.source instanceof Source) {
|
|
1965
1966
|
// @ts-ignore: type is checked above.
|
|
@@ -1972,7 +1973,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1972
1973
|
);
|
|
1973
1974
|
}
|
|
1974
1975
|
}
|
|
1975
|
-
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
|
|
1976
|
+
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
|
|
1976
1977
|
if (\\"proof\\" in values && values.proof != null) {
|
|
1977
1978
|
if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
|
|
1978
1979
|
// @ts-ignore: type is checked above.
|
|
@@ -1999,7 +2000,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1999
2000
|
if (Array.isArray(values.proofs) &&
|
|
2000
2001
|
values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
|
|
2001
2002
|
// @ts-ignore: type is checked above.
|
|
2002
|
-
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
|
|
2003
|
+
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
|
|
2003
2004
|
|
|
2004
2005
|
clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
|
|
2005
2006
|
for (let i = 0; i < values.proofs.length; i++) {
|
|
@@ -11823,7 +11824,8 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
11823
11824
|
* Clones this instance, optionally updating it with the given values.
|
|
11824
11825
|
* @param values The values to update the clone with.
|
|
11825
11826
|
* @param options The options to use for cloning.
|
|
11826
|
-
* @returns The cloned instance.
|
|
11827
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
11828
|
+
* and URLs are shared with this instance.
|
|
11827
11829
|
*/
|
|
11828
11830
|
override clone(
|
|
11829
11831
|
values:
|
|
@@ -12185,7 +12187,8 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
12185
12187
|
* Clones this instance, optionally updating it with the given values.
|
|
12186
12188
|
* @param values The values to update the clone with.
|
|
12187
12189
|
* @param options The options to use for cloning.
|
|
12188
|
-
* @returns The cloned instance.
|
|
12190
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
12191
|
+
* and URLs are shared with this instance.
|
|
12189
12192
|
*/
|
|
12190
12193
|
override clone(
|
|
12191
12194
|
values:
|
|
@@ -12223,7 +12226,7 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
12223
12226
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
12224
12227
|
options = { ...options, \$warning: this._warning };
|
|
12225
12228
|
}
|
|
12226
|
-
const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
12229
|
+
const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
12227
12230
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
12228
12231
|
if (values.quoteUrl instanceof URL) {
|
|
12229
12232
|
// @ts-ignore: type is checked above.
|
|
@@ -12720,7 +12723,7 @@ instruments?: (Object | URL)[];}
|
|
|
12720
12723
|
if (Array.isArray(values.actors) &&
|
|
12721
12724
|
values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
12722
12725
|
// @ts-ignore: type is checked above.
|
|
12723
|
-
this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
|
|
12726
|
+
this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
|
|
12724
12727
|
|
|
12725
12728
|
for (let i = 0; i < values.actors.length; i++) {
|
|
12726
12729
|
this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
|
|
@@ -12760,7 +12763,7 @@ instruments?: (Object | URL)[];}
|
|
|
12760
12763
|
if (Array.isArray(values.objects) &&
|
|
12761
12764
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
12762
12765
|
// @ts-ignore: type is checked above.
|
|
12763
|
-
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
12766
|
+
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
12764
12767
|
|
|
12765
12768
|
for (let i = 0; i < values.objects.length; i++) {
|
|
12766
12769
|
this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
|
|
@@ -12800,7 +12803,7 @@ instruments?: (Object | URL)[];}
|
|
|
12800
12803
|
if (Array.isArray(values.targets) &&
|
|
12801
12804
|
values.targets.every(v => v instanceof Object || v instanceof URL)) {
|
|
12802
12805
|
// @ts-ignore: type is checked above.
|
|
12803
|
-
this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
|
|
12806
|
+
this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
|
|
12804
12807
|
|
|
12805
12808
|
for (let i = 0; i < values.targets.length; i++) {
|
|
12806
12809
|
this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
|
|
@@ -12840,7 +12843,7 @@ instruments?: (Object | URL)[];}
|
|
|
12840
12843
|
if (Array.isArray(values.results) &&
|
|
12841
12844
|
values.results.every(v => v instanceof Object || v instanceof URL)) {
|
|
12842
12845
|
// @ts-ignore: type is checked above.
|
|
12843
|
-
this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
|
|
12846
|
+
this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
|
|
12844
12847
|
|
|
12845
12848
|
for (let i = 0; i < values.results.length; i++) {
|
|
12846
12849
|
this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
|
|
@@ -12880,7 +12883,7 @@ instruments?: (Object | URL)[];}
|
|
|
12880
12883
|
if (Array.isArray(values.origins) &&
|
|
12881
12884
|
values.origins.every(v => v instanceof Object || v instanceof URL)) {
|
|
12882
12885
|
// @ts-ignore: type is checked above.
|
|
12883
|
-
this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
|
|
12886
|
+
this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
|
|
12884
12887
|
|
|
12885
12888
|
for (let i = 0; i < values.origins.length; i++) {
|
|
12886
12889
|
this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
|
|
@@ -12920,7 +12923,7 @@ instruments?: (Object | URL)[];}
|
|
|
12920
12923
|
if (Array.isArray(values.instruments) &&
|
|
12921
12924
|
values.instruments.every(v => v instanceof Object || v instanceof URL)) {
|
|
12922
12925
|
// @ts-ignore: type is checked above.
|
|
12923
|
-
this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
|
|
12926
|
+
this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
|
|
12924
12927
|
|
|
12925
12928
|
for (let i = 0; i < values.instruments.length; i++) {
|
|
12926
12929
|
this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
|
|
@@ -12939,7 +12942,8 @@ instruments?: (Object | URL)[];}
|
|
|
12939
12942
|
* Clones this instance, optionally updating it with the given values.
|
|
12940
12943
|
* @param values The values to update the clone with.
|
|
12941
12944
|
* @param options The options to use for cloning.
|
|
12942
|
-
* @returns The cloned instance.
|
|
12945
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
12946
|
+
* and URLs are shared with this instance.
|
|
12943
12947
|
*/
|
|
12944
12948
|
override clone(
|
|
12945
12949
|
values:
|
|
@@ -12983,7 +12987,7 @@ instruments?: (Object | URL)[];}
|
|
|
12983
12987
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
12984
12988
|
options = { ...options, \$warning: this._warning };
|
|
12985
12989
|
}
|
|
12986
|
-
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);
|
|
12990
|
+
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);
|
|
12987
12991
|
if (\\"actor\\" in values && values.actor != null) {
|
|
12988
12992
|
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) {
|
|
12989
12993
|
// @ts-ignore: type is checked above.
|
|
@@ -13010,7 +13014,7 @@ instruments?: (Object | URL)[];}
|
|
|
13010
13014
|
if (Array.isArray(values.actors) &&
|
|
13011
13015
|
values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
13012
13016
|
// @ts-ignore: type is checked above.
|
|
13013
|
-
clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
|
|
13017
|
+
clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
|
|
13014
13018
|
|
|
13015
13019
|
clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
|
|
13016
13020
|
for (let i = 0; i < values.actors.length; i++) {
|
|
@@ -13024,7 +13028,7 @@ instruments?: (Object | URL)[];}
|
|
|
13024
13028
|
);
|
|
13025
13029
|
}
|
|
13026
13030
|
}
|
|
13027
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
13031
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
13028
13032
|
if (\\"object\\" in values && values.object != null) {
|
|
13029
13033
|
if (values.object instanceof Object || values.object instanceof URL) {
|
|
13030
13034
|
// @ts-ignore: type is checked above.
|
|
@@ -13051,7 +13055,7 @@ instruments?: (Object | URL)[];}
|
|
|
13051
13055
|
if (Array.isArray(values.objects) &&
|
|
13052
13056
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
13053
13057
|
// @ts-ignore: type is checked above.
|
|
13054
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
13058
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
13055
13059
|
|
|
13056
13060
|
clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
|
|
13057
13061
|
for (let i = 0; i < values.objects.length; i++) {
|
|
@@ -13065,7 +13069,7 @@ instruments?: (Object | URL)[];}
|
|
|
13065
13069
|
);
|
|
13066
13070
|
}
|
|
13067
13071
|
}
|
|
13068
|
-
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
|
|
13072
|
+
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
|
|
13069
13073
|
if (\\"target\\" in values && values.target != null) {
|
|
13070
13074
|
if (values.target instanceof Object || values.target instanceof URL) {
|
|
13071
13075
|
// @ts-ignore: type is checked above.
|
|
@@ -13092,7 +13096,7 @@ instruments?: (Object | URL)[];}
|
|
|
13092
13096
|
if (Array.isArray(values.targets) &&
|
|
13093
13097
|
values.targets.every(v => v instanceof Object || v instanceof URL)) {
|
|
13094
13098
|
// @ts-ignore: type is checked above.
|
|
13095
|
-
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
|
|
13099
|
+
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
|
|
13096
13100
|
|
|
13097
13101
|
clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
|
|
13098
13102
|
for (let i = 0; i < values.targets.length; i++) {
|
|
@@ -13106,7 +13110,7 @@ instruments?: (Object | URL)[];}
|
|
|
13106
13110
|
);
|
|
13107
13111
|
}
|
|
13108
13112
|
}
|
|
13109
|
-
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
|
|
13113
|
+
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
|
|
13110
13114
|
if (\\"result\\" in values && values.result != null) {
|
|
13111
13115
|
if (values.result instanceof Object || values.result instanceof URL) {
|
|
13112
13116
|
// @ts-ignore: type is checked above.
|
|
@@ -13133,7 +13137,7 @@ instruments?: (Object | URL)[];}
|
|
|
13133
13137
|
if (Array.isArray(values.results) &&
|
|
13134
13138
|
values.results.every(v => v instanceof Object || v instanceof URL)) {
|
|
13135
13139
|
// @ts-ignore: type is checked above.
|
|
13136
|
-
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
|
|
13140
|
+
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
|
|
13137
13141
|
|
|
13138
13142
|
clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
|
|
13139
13143
|
for (let i = 0; i < values.results.length; i++) {
|
|
@@ -13147,7 +13151,7 @@ instruments?: (Object | URL)[];}
|
|
|
13147
13151
|
);
|
|
13148
13152
|
}
|
|
13149
13153
|
}
|
|
13150
|
-
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
|
|
13154
|
+
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
|
|
13151
13155
|
if (\\"origin\\" in values && values.origin != null) {
|
|
13152
13156
|
if (values.origin instanceof Object || values.origin instanceof URL) {
|
|
13153
13157
|
// @ts-ignore: type is checked above.
|
|
@@ -13174,7 +13178,7 @@ instruments?: (Object | URL)[];}
|
|
|
13174
13178
|
if (Array.isArray(values.origins) &&
|
|
13175
13179
|
values.origins.every(v => v instanceof Object || v instanceof URL)) {
|
|
13176
13180
|
// @ts-ignore: type is checked above.
|
|
13177
|
-
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
|
|
13181
|
+
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
|
|
13178
13182
|
|
|
13179
13183
|
clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
|
|
13180
13184
|
for (let i = 0; i < values.origins.length; i++) {
|
|
@@ -13188,7 +13192,7 @@ instruments?: (Object | URL)[];}
|
|
|
13188
13192
|
);
|
|
13189
13193
|
}
|
|
13190
13194
|
}
|
|
13191
|
-
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
|
|
13195
|
+
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
|
|
13192
13196
|
if (\\"instrument\\" in values && values.instrument != null) {
|
|
13193
13197
|
if (values.instrument instanceof Object || values.instrument instanceof URL) {
|
|
13194
13198
|
// @ts-ignore: type is checked above.
|
|
@@ -13215,7 +13219,7 @@ instruments?: (Object | URL)[];}
|
|
|
13215
13219
|
if (Array.isArray(values.instruments) &&
|
|
13216
13220
|
values.instruments.every(v => v instanceof Object || v instanceof URL)) {
|
|
13217
13221
|
// @ts-ignore: type is checked above.
|
|
13218
|
-
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
|
|
13222
|
+
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
|
|
13219
13223
|
|
|
13220
13224
|
clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
|
|
13221
13225
|
for (let i = 0; i < values.instruments.length; i++) {
|
|
@@ -16180,7 +16184,8 @@ instruments?: (Object | URL)[];}
|
|
|
16180
16184
|
* Clones this instance, optionally updating it with the given values.
|
|
16181
16185
|
* @param values The values to update the clone with.
|
|
16182
16186
|
* @param options The options to use for cloning.
|
|
16183
|
-
* @returns The cloned instance.
|
|
16187
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
16188
|
+
* and URLs are shared with this instance.
|
|
16184
16189
|
*/
|
|
16185
16190
|
override clone(
|
|
16186
16191
|
values:
|
|
@@ -16594,7 +16599,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
|
|
|
16594
16599
|
* Clones this instance, optionally updating it with the given values.
|
|
16595
16600
|
* @param values The values to update the clone with.
|
|
16596
16601
|
* @param options The options to use for cloning.
|
|
16597
|
-
* @returns The cloned instance.
|
|
16602
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
16603
|
+
* and URLs are shared with this instance.
|
|
16598
16604
|
*/
|
|
16599
16605
|
clone(
|
|
16600
16606
|
values:
|
|
@@ -16622,7 +16628,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
|
|
|
16622
16628
|
{ id: values.id ?? this.id },
|
|
16623
16629
|
options
|
|
16624
16630
|
);
|
|
16625
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
|
|
16631
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
|
|
16626
16632
|
if (\\"name\\" in values && values.name != null) {
|
|
16627
16633
|
if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
|
|
16628
16634
|
// @ts-ignore: type is checked above.
|
|
@@ -16635,7 +16641,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
|
|
|
16635
16641
|
);
|
|
16636
16642
|
}
|
|
16637
16643
|
}
|
|
16638
|
-
clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
|
|
16644
|
+
clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
|
|
16639
16645
|
if (\\"value\\" in values && values.value != null) {
|
|
16640
16646
|
if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
|
|
16641
16647
|
// @ts-ignore: type is checked above.
|
|
@@ -17233,7 +17239,7 @@ endpoints?: (URL)[];}
|
|
|
17233
17239
|
if (Array.isArray(values.endpoints) &&
|
|
17234
17240
|
values.endpoints.every(v => v instanceof URL)) {
|
|
17235
17241
|
// @ts-ignore: type is checked above.
|
|
17236
|
-
this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
|
|
17242
|
+
this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
|
|
17237
17243
|
|
|
17238
17244
|
} else {
|
|
17239
17245
|
throw new TypeError(
|
|
@@ -17248,7 +17254,8 @@ endpoints?: (URL)[];}
|
|
|
17248
17254
|
* Clones this instance, optionally updating it with the given values.
|
|
17249
17255
|
* @param values The values to update the clone with.
|
|
17250
17256
|
* @param options The options to use for cloning.
|
|
17251
|
-
* @returns The cloned instance.
|
|
17257
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
17258
|
+
* and URLs are shared with this instance.
|
|
17252
17259
|
*/
|
|
17253
17260
|
clone(
|
|
17254
17261
|
values:
|
|
@@ -17277,7 +17284,7 @@ endpoints?: (URL)[];}
|
|
|
17277
17284
|
{ id: values.id ?? this.id },
|
|
17278
17285
|
options
|
|
17279
17286
|
);
|
|
17280
|
-
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
|
|
17287
|
+
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
|
|
17281
17288
|
if (\\"endpoint\\" in values && values.endpoint != null) {
|
|
17282
17289
|
if (values.endpoint instanceof URL) {
|
|
17283
17290
|
// @ts-ignore: type is checked above.
|
|
@@ -17304,7 +17311,7 @@ endpoints?: (URL)[];}
|
|
|
17304
17311
|
if (Array.isArray(values.endpoints) &&
|
|
17305
17312
|
values.endpoints.every(v => v instanceof URL)) {
|
|
17306
17313
|
// @ts-ignore: type is checked above.
|
|
17307
|
-
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
|
|
17314
|
+
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
|
|
17308
17315
|
|
|
17309
17316
|
} else {
|
|
17310
17317
|
throw new TypeError(
|
|
@@ -17683,7 +17690,8 @@ endpoints?: (URL)[];}
|
|
|
17683
17690
|
* Clones this instance, optionally updating it with the given values.
|
|
17684
17691
|
* @param values The values to update the clone with.
|
|
17685
17692
|
* @param options The options to use for cloning.
|
|
17686
|
-
* @returns The cloned instance.
|
|
17693
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
17694
|
+
* and URLs are shared with this instance.
|
|
17687
17695
|
*/
|
|
17688
17696
|
override clone(
|
|
17689
17697
|
values:
|
|
@@ -18113,7 +18121,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18113
18121
|
* Clones this instance, optionally updating it with the given values.
|
|
18114
18122
|
* @param values The values to update the clone with.
|
|
18115
18123
|
* @param options The options to use for cloning.
|
|
18116
|
-
* @returns The cloned instance.
|
|
18124
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
18125
|
+
* and URLs are shared with this instance.
|
|
18117
18126
|
*/
|
|
18118
18127
|
clone(
|
|
18119
18128
|
values:
|
|
@@ -18141,7 +18150,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18141
18150
|
{ id: values.id ?? this.id },
|
|
18142
18151
|
options
|
|
18143
18152
|
);
|
|
18144
|
-
clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
|
|
18153
|
+
clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
|
|
18145
18154
|
if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
|
|
18146
18155
|
if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
|
|
18147
18156
|
// @ts-ignore: type is checked above.
|
|
@@ -18154,7 +18163,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18154
18163
|
);
|
|
18155
18164
|
}
|
|
18156
18165
|
}
|
|
18157
|
-
clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
|
|
18166
|
+
clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
|
|
18158
18167
|
if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
|
|
18159
18168
|
if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
|
|
18160
18169
|
// @ts-ignore: type is checked above.
|
|
@@ -18167,7 +18176,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18167
18176
|
);
|
|
18168
18177
|
}
|
|
18169
18178
|
}
|
|
18170
|
-
clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
|
|
18179
|
+
clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
|
|
18171
18180
|
if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
|
|
18172
18181
|
if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
|
|
18173
18182
|
values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
|
|
@@ -18182,7 +18191,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18182
18191
|
);
|
|
18183
18192
|
}
|
|
18184
18193
|
}
|
|
18185
|
-
clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
|
|
18194
|
+
clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
|
|
18186
18195
|
if (\\"proofValue\\" in values && values.proofValue != null) {
|
|
18187
18196
|
if (values.proofValue instanceof Uint8Array) {
|
|
18188
18197
|
// @ts-ignore: type is checked above.
|
|
@@ -18195,7 +18204,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18195
18204
|
);
|
|
18196
18205
|
}
|
|
18197
18206
|
}
|
|
18198
|
-
clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
|
|
18207
|
+
clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
|
|
18199
18208
|
if (\\"created\\" in values && values.created != null) {
|
|
18200
18209
|
if (isTemporalInstant(values.created)) {
|
|
18201
18210
|
// @ts-ignore: type is checked above.
|
|
@@ -19158,7 +19167,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19158
19167
|
* Clones this instance, optionally updating it with the given values.
|
|
19159
19168
|
* @param values The values to update the clone with.
|
|
19160
19169
|
* @param options The options to use for cloning.
|
|
19161
|
-
* @returns The cloned instance.
|
|
19170
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
19171
|
+
* and URLs are shared with this instance.
|
|
19162
19172
|
*/
|
|
19163
19173
|
clone(
|
|
19164
19174
|
values:
|
|
@@ -19186,7 +19196,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19186
19196
|
{ id: values.id ?? this.id },
|
|
19187
19197
|
options
|
|
19188
19198
|
);
|
|
19189
|
-
clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
|
|
19199
|
+
clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
|
|
19190
19200
|
if (\\"owner\\" in values && values.owner != null) {
|
|
19191
19201
|
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) {
|
|
19192
19202
|
// @ts-ignore: type is checked above.
|
|
@@ -19199,7 +19209,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19199
19209
|
);
|
|
19200
19210
|
}
|
|
19201
19211
|
}
|
|
19202
|
-
clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
|
|
19212
|
+
clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
|
|
19203
19213
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
19204
19214
|
if (
|
|
19205
19215
|
// @ts-ignore: CryptoKey exists in the global scope.
|
|
@@ -20073,7 +20083,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
20073
20083
|
* Clones this instance, optionally updating it with the given values.
|
|
20074
20084
|
* @param values The values to update the clone with.
|
|
20075
20085
|
* @param options The options to use for cloning.
|
|
20076
|
-
* @returns The cloned instance.
|
|
20086
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
20087
|
+
* and URLs are shared with this instance.
|
|
20077
20088
|
*/
|
|
20078
20089
|
clone(
|
|
20079
20090
|
values:
|
|
@@ -20101,7 +20112,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
20101
20112
|
{ id: values.id ?? this.id },
|
|
20102
20113
|
options
|
|
20103
20114
|
);
|
|
20104
|
-
clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
|
|
20115
|
+
clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
|
|
20105
20116
|
if (\\"controller\\" in values && values.controller != null) {
|
|
20106
20117
|
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) {
|
|
20107
20118
|
// @ts-ignore: type is checked above.
|
|
@@ -20114,7 +20125,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
20114
20125
|
);
|
|
20115
20126
|
}
|
|
20116
20127
|
}
|
|
20117
|
-
clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
|
|
20128
|
+
clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
|
|
20118
20129
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
20119
20130
|
if (
|
|
20120
20131
|
// @ts-ignore: CryptoKey exists in the global scope.
|
|
@@ -20913,7 +20924,8 @@ instruments?: (Object | URL)[];}
|
|
|
20913
20924
|
* Clones this instance, optionally updating it with the given values.
|
|
20914
20925
|
* @param values The values to update the clone with.
|
|
20915
20926
|
* @param options The options to use for cloning.
|
|
20916
|
-
* @returns The cloned instance.
|
|
20927
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
20928
|
+
* and URLs are shared with this instance.
|
|
20917
20929
|
*/
|
|
20918
20930
|
override clone(
|
|
20919
20931
|
values:
|
|
@@ -21259,7 +21271,8 @@ instruments?: (Object | URL)[];}
|
|
|
21259
21271
|
* Clones this instance, optionally updating it with the given values.
|
|
21260
21272
|
* @param values The values to update the clone with.
|
|
21261
21273
|
* @param options The options to use for cloning.
|
|
21262
|
-
* @returns The cloned instance.
|
|
21274
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
21275
|
+
* and URLs are shared with this instance.
|
|
21263
21276
|
*/
|
|
21264
21277
|
override clone(
|
|
21265
21278
|
values:
|
|
@@ -21600,7 +21613,8 @@ instruments?: (Object | URL)[];}
|
|
|
21600
21613
|
* Clones this instance, optionally updating it with the given values.
|
|
21601
21614
|
* @param values The values to update the clone with.
|
|
21602
21615
|
* @param options The options to use for cloning.
|
|
21603
|
-
* @returns The cloned instance.
|
|
21616
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
21617
|
+
* and URLs are shared with this instance.
|
|
21604
21618
|
*/
|
|
21605
21619
|
override clone(
|
|
21606
21620
|
values:
|
|
@@ -22006,7 +22020,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22006
22020
|
if (Array.isArray(values.preferredUsernames) &&
|
|
22007
22021
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
22008
22022
|
// @ts-ignore: type is checked above.
|
|
22009
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
22023
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
22010
22024
|
|
|
22011
22025
|
} else {
|
|
22012
22026
|
throw new TypeError(
|
|
@@ -22042,7 +22056,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22042
22056
|
if (Array.isArray(values.publicKeys) &&
|
|
22043
22057
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
22044
22058
|
// @ts-ignore: type is checked above.
|
|
22045
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
22059
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
22046
22060
|
|
|
22047
22061
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
22048
22062
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -22082,7 +22096,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22082
22096
|
if (Array.isArray(values.assertionMethods) &&
|
|
22083
22097
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
22084
22098
|
// @ts-ignore: type is checked above.
|
|
22085
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
22099
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
22086
22100
|
|
|
22087
22101
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
22088
22102
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -22205,7 +22219,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22205
22219
|
if (Array.isArray(values.streams) &&
|
|
22206
22220
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
22207
22221
|
// @ts-ignore: type is checked above.
|
|
22208
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
22222
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
22209
22223
|
|
|
22210
22224
|
for (let i = 0; i < values.streams.length; i++) {
|
|
22211
22225
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -22323,7 +22337,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22323
22337
|
if (Array.isArray(values.aliases) &&
|
|
22324
22338
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
22325
22339
|
// @ts-ignore: type is checked above.
|
|
22326
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
22340
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
22327
22341
|
|
|
22328
22342
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
22329
22343
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -22363,7 +22377,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22363
22377
|
if (Array.isArray(values.services) &&
|
|
22364
22378
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
22365
22379
|
// @ts-ignore: type is checked above.
|
|
22366
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
22380
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
22367
22381
|
|
|
22368
22382
|
for (let i = 0; i < values.services.length; i++) {
|
|
22369
22383
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -22408,7 +22422,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22408
22422
|
* Clones this instance, optionally updating it with the given values.
|
|
22409
22423
|
* @param values The values to update the clone with.
|
|
22410
22424
|
* @param options The options to use for cloning.
|
|
22411
|
-
* @returns The cloned instance.
|
|
22425
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
22426
|
+
* and URLs are shared with this instance.
|
|
22412
22427
|
*/
|
|
22413
22428
|
override clone(
|
|
22414
22429
|
values:
|
|
@@ -22451,7 +22466,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22451
22466
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
22452
22467
|
options = { ...options, \$warning: this._warning };
|
|
22453
22468
|
}
|
|
22454
|
-
const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
22469
|
+
const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
22455
22470
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
22456
22471
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
22457
22472
|
// @ts-ignore: type is checked above.
|
|
@@ -22478,7 +22493,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22478
22493
|
if (Array.isArray(values.preferredUsernames) &&
|
|
22479
22494
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
22480
22495
|
// @ts-ignore: type is checked above.
|
|
22481
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
22496
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
22482
22497
|
|
|
22483
22498
|
} else {
|
|
22484
22499
|
throw new TypeError(
|
|
@@ -22487,7 +22502,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22487
22502
|
);
|
|
22488
22503
|
}
|
|
22489
22504
|
}
|
|
22490
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
22505
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
22491
22506
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
22492
22507
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
22493
22508
|
// @ts-ignore: type is checked above.
|
|
@@ -22514,7 +22529,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22514
22529
|
if (Array.isArray(values.publicKeys) &&
|
|
22515
22530
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
22516
22531
|
// @ts-ignore: type is checked above.
|
|
22517
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
22532
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
22518
22533
|
|
|
22519
22534
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
22520
22535
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -22528,7 +22543,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22528
22543
|
);
|
|
22529
22544
|
}
|
|
22530
22545
|
}
|
|
22531
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
22546
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
22532
22547
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
22533
22548
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
22534
22549
|
// @ts-ignore: type is checked above.
|
|
@@ -22555,7 +22570,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22555
22570
|
if (Array.isArray(values.assertionMethods) &&
|
|
22556
22571
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
22557
22572
|
// @ts-ignore: type is checked above.
|
|
22558
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
22573
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
22559
22574
|
|
|
22560
22575
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
22561
22576
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -22569,7 +22584,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22569
22584
|
);
|
|
22570
22585
|
}
|
|
22571
22586
|
}
|
|
22572
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
22587
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
22573
22588
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
22574
22589
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
22575
22590
|
// @ts-ignore: type is checked above.
|
|
@@ -22582,7 +22597,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22582
22597
|
);
|
|
22583
22598
|
}
|
|
22584
22599
|
}
|
|
22585
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
22600
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
22586
22601
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
22587
22602
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
22588
22603
|
// @ts-ignore: type is checked above.
|
|
@@ -22595,7 +22610,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22595
22610
|
);
|
|
22596
22611
|
}
|
|
22597
22612
|
}
|
|
22598
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
22613
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
22599
22614
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
22600
22615
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
22601
22616
|
// @ts-ignore: type is checked above.
|
|
@@ -22608,7 +22623,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22608
22623
|
);
|
|
22609
22624
|
}
|
|
22610
22625
|
}
|
|
22611
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
22626
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
22612
22627
|
if (\\"following\\" in values && values.following != null) {
|
|
22613
22628
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
22614
22629
|
// @ts-ignore: type is checked above.
|
|
@@ -22621,7 +22636,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22621
22636
|
);
|
|
22622
22637
|
}
|
|
22623
22638
|
}
|
|
22624
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
22639
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
22625
22640
|
if (\\"followers\\" in values && values.followers != null) {
|
|
22626
22641
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
22627
22642
|
// @ts-ignore: type is checked above.
|
|
@@ -22634,7 +22649,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22634
22649
|
);
|
|
22635
22650
|
}
|
|
22636
22651
|
}
|
|
22637
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
22652
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
22638
22653
|
if (\\"liked\\" in values && values.liked != null) {
|
|
22639
22654
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
22640
22655
|
// @ts-ignore: type is checked above.
|
|
@@ -22647,7 +22662,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22647
22662
|
);
|
|
22648
22663
|
}
|
|
22649
22664
|
}
|
|
22650
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
22665
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
22651
22666
|
if (\\"featured\\" in values && values.featured != null) {
|
|
22652
22667
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
22653
22668
|
// @ts-ignore: type is checked above.
|
|
@@ -22660,7 +22675,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22660
22675
|
);
|
|
22661
22676
|
}
|
|
22662
22677
|
}
|
|
22663
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
22678
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
22664
22679
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
22665
22680
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
22666
22681
|
// @ts-ignore: type is checked above.
|
|
@@ -22673,13 +22688,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22673
22688
|
);
|
|
22674
22689
|
}
|
|
22675
22690
|
}
|
|
22676
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
22691
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
22677
22692
|
if (\\"streams\\" in values && values.streams != null) {
|
|
22678
22693
|
|
|
22679
22694
|
if (Array.isArray(values.streams) &&
|
|
22680
22695
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
22681
22696
|
// @ts-ignore: type is checked above.
|
|
22682
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
22697
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
22683
22698
|
|
|
22684
22699
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
22685
22700
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -22693,7 +22708,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22693
22708
|
);
|
|
22694
22709
|
}
|
|
22695
22710
|
}
|
|
22696
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
22711
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
22697
22712
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
22698
22713
|
if (values.endpoints instanceof Endpoints) {
|
|
22699
22714
|
// @ts-ignore: type is checked above.
|
|
@@ -22706,7 +22721,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22706
22721
|
);
|
|
22707
22722
|
}
|
|
22708
22723
|
}
|
|
22709
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
22724
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
22710
22725
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
22711
22726
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
22712
22727
|
// @ts-ignore: type is checked above.
|
|
@@ -22719,7 +22734,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22719
22734
|
);
|
|
22720
22735
|
}
|
|
22721
22736
|
}
|
|
22722
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
22737
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
22723
22738
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
22724
22739
|
if (typeof values.suspended === \\"boolean\\") {
|
|
22725
22740
|
// @ts-ignore: type is checked above.
|
|
@@ -22732,7 +22747,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22732
22747
|
);
|
|
22733
22748
|
}
|
|
22734
22749
|
}
|
|
22735
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
22750
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
22736
22751
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
22737
22752
|
if (typeof values.memorial === \\"boolean\\") {
|
|
22738
22753
|
// @ts-ignore: type is checked above.
|
|
@@ -22745,7 +22760,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22745
22760
|
);
|
|
22746
22761
|
}
|
|
22747
22762
|
}
|
|
22748
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
22763
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
22749
22764
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
22750
22765
|
if (typeof values.indexable === \\"boolean\\") {
|
|
22751
22766
|
// @ts-ignore: type is checked above.
|
|
@@ -22758,7 +22773,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22758
22773
|
);
|
|
22759
22774
|
}
|
|
22760
22775
|
}
|
|
22761
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
22776
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
22762
22777
|
if (\\"successor\\" in values && values.successor != null) {
|
|
22763
22778
|
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) {
|
|
22764
22779
|
// @ts-ignore: type is checked above.
|
|
@@ -22771,7 +22786,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22771
22786
|
);
|
|
22772
22787
|
}
|
|
22773
22788
|
}
|
|
22774
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
22789
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
22775
22790
|
if (\\"alias\\" in values && values.alias != null) {
|
|
22776
22791
|
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) {
|
|
22777
22792
|
// @ts-ignore: type is checked above.
|
|
@@ -22798,7 +22813,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22798
22813
|
if (Array.isArray(values.aliases) &&
|
|
22799
22814
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
22800
22815
|
// @ts-ignore: type is checked above.
|
|
22801
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
22816
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
22802
22817
|
|
|
22803
22818
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
22804
22819
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -22812,7 +22827,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22812
22827
|
);
|
|
22813
22828
|
}
|
|
22814
22829
|
}
|
|
22815
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
22830
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
22816
22831
|
if (\\"service\\" in values && values.service != null) {
|
|
22817
22832
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
22818
22833
|
// @ts-ignore: type is checked above.
|
|
@@ -22839,7 +22854,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22839
22854
|
if (Array.isArray(values.services) &&
|
|
22840
22855
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
22841
22856
|
// @ts-ignore: type is checked above.
|
|
22842
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
22857
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
22843
22858
|
|
|
22844
22859
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
22845
22860
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -22853,7 +22868,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22853
22868
|
);
|
|
22854
22869
|
}
|
|
22855
22870
|
}
|
|
22856
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
22871
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
22857
22872
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
22858
22873
|
if (typeof values.followedMessage === \\"string\\") {
|
|
22859
22874
|
// @ts-ignore: type is checked above.
|
|
@@ -22866,7 +22881,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22866
22881
|
);
|
|
22867
22882
|
}
|
|
22868
22883
|
}
|
|
22869
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
22884
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
22870
22885
|
if (\\"cat\\" in values && values.cat != null) {
|
|
22871
22886
|
if (typeof values.cat === \\"boolean\\") {
|
|
22872
22887
|
// @ts-ignore: type is checked above.
|
|
@@ -28884,7 +28899,8 @@ instruments?: (Object | URL)[];}
|
|
|
28884
28899
|
* Clones this instance, optionally updating it with the given values.
|
|
28885
28900
|
* @param values The values to update the clone with.
|
|
28886
28901
|
* @param options The options to use for cloning.
|
|
28887
|
-
* @returns The cloned instance.
|
|
28902
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
28903
|
+
* and URLs are shared with this instance.
|
|
28888
28904
|
*/
|
|
28889
28905
|
override clone(
|
|
28890
28906
|
values:
|
|
@@ -29237,7 +29253,8 @@ instruments?: (Object | URL)[];}
|
|
|
29237
29253
|
* Clones this instance, optionally updating it with the given values.
|
|
29238
29254
|
* @param values The values to update the clone with.
|
|
29239
29255
|
* @param options The options to use for cloning.
|
|
29240
|
-
* @returns The cloned instance.
|
|
29256
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
29257
|
+
* and URLs are shared with this instance.
|
|
29241
29258
|
*/
|
|
29242
29259
|
override clone(
|
|
29243
29260
|
values:
|
|
@@ -29583,7 +29600,8 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
29583
29600
|
* Clones this instance, optionally updating it with the given values.
|
|
29584
29601
|
* @param values The values to update the clone with.
|
|
29585
29602
|
* @param options The options to use for cloning.
|
|
29586
|
-
* @returns The cloned instance.
|
|
29603
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
29604
|
+
* and URLs are shared with this instance.
|
|
29587
29605
|
*/
|
|
29588
29606
|
override clone(
|
|
29589
29607
|
values:
|
|
@@ -29621,7 +29639,7 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
29621
29639
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
29622
29640
|
options = { ...options, \$warning: this._warning };
|
|
29623
29641
|
}
|
|
29624
|
-
const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
29642
|
+
const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
29625
29643
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
29626
29644
|
if (values.quoteUrl instanceof URL) {
|
|
29627
29645
|
// @ts-ignore: type is checked above.
|
|
@@ -30096,7 +30114,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30096
30114
|
* Clones this instance, optionally updating it with the given values.
|
|
30097
30115
|
* @param values The values to update the clone with.
|
|
30098
30116
|
* @param options The options to use for cloning.
|
|
30099
|
-
* @returns The cloned instance.
|
|
30117
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
30118
|
+
* and URLs are shared with this instance.
|
|
30100
30119
|
*/
|
|
30101
30120
|
override clone(
|
|
30102
30121
|
values:
|
|
@@ -30134,7 +30153,7 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30134
30153
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
30135
30154
|
options = { ...options, \$warning: this._warning };
|
|
30136
30155
|
}
|
|
30137
|
-
const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
|
|
30156
|
+
const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
|
|
30138
30157
|
if (\\"width\\" in values && values.width != null) {
|
|
30139
30158
|
if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
|
|
30140
30159
|
// @ts-ignore: type is checked above.
|
|
@@ -30147,7 +30166,7 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30147
30166
|
);
|
|
30148
30167
|
}
|
|
30149
30168
|
}
|
|
30150
|
-
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
|
|
30169
|
+
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
|
|
30151
30170
|
if (\\"height\\" in values && values.height != null) {
|
|
30152
30171
|
if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
|
|
30153
30172
|
// @ts-ignore: type is checked above.
|
|
@@ -30667,7 +30686,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30667
30686
|
* Clones this instance, optionally updating it with the given values.
|
|
30668
30687
|
* @param values The values to update the clone with.
|
|
30669
30688
|
* @param options The options to use for cloning.
|
|
30670
|
-
* @returns The cloned instance.
|
|
30689
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
30690
|
+
* and URLs are shared with this instance.
|
|
30671
30691
|
*/
|
|
30672
30692
|
override clone(
|
|
30673
30693
|
values:
|
|
@@ -31018,7 +31038,8 @@ instruments?: (Object | URL)[];}
|
|
|
31018
31038
|
* Clones this instance, optionally updating it with the given values.
|
|
31019
31039
|
* @param values The values to update the clone with.
|
|
31020
31040
|
* @param options The options to use for cloning.
|
|
31021
|
-
* @returns The cloned instance.
|
|
31041
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
31042
|
+
* and URLs are shared with this instance.
|
|
31022
31043
|
*/
|
|
31023
31044
|
override clone(
|
|
31024
31045
|
values:
|
|
@@ -31364,7 +31385,8 @@ instruments?: (Object | URL)[];}
|
|
|
31364
31385
|
* Clones this instance, optionally updating it with the given values.
|
|
31365
31386
|
* @param values The values to update the clone with.
|
|
31366
31387
|
* @param options The options to use for cloning.
|
|
31367
|
-
* @returns The cloned instance.
|
|
31388
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
31389
|
+
* and URLs are shared with this instance.
|
|
31368
31390
|
*/
|
|
31369
31391
|
override clone(
|
|
31370
31392
|
values:
|
|
@@ -31790,7 +31812,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31790
31812
|
if (Array.isArray(values.items) &&
|
|
31791
31813
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
31792
31814
|
// @ts-ignore: type is checked above.
|
|
31793
|
-
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
31815
|
+
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
31794
31816
|
|
|
31795
31817
|
for (let i = 0; i < values.items.length; i++) {
|
|
31796
31818
|
this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
|
|
@@ -31913,7 +31935,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31913
31935
|
* Clones this instance, optionally updating it with the given values.
|
|
31914
31936
|
* @param values The values to update the clone with.
|
|
31915
31937
|
* @param options The options to use for cloning.
|
|
31916
|
-
* @returns The cloned instance.
|
|
31938
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
31939
|
+
* and URLs are shared with this instance.
|
|
31917
31940
|
*/
|
|
31918
31941
|
override clone(
|
|
31919
31942
|
values:
|
|
@@ -31951,7 +31974,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31951
31974
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
31952
31975
|
options = { ...options, \$warning: this._warning };
|
|
31953
31976
|
}
|
|
31954
|
-
const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
|
|
31977
|
+
const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
|
|
31955
31978
|
if (\\"totalItems\\" in values && values.totalItems != null) {
|
|
31956
31979
|
if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
|
|
31957
31980
|
// @ts-ignore: type is checked above.
|
|
@@ -31964,7 +31987,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31964
31987
|
);
|
|
31965
31988
|
}
|
|
31966
31989
|
}
|
|
31967
|
-
clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
|
|
31990
|
+
clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
|
|
31968
31991
|
if (\\"current\\" in values && values.current != null) {
|
|
31969
31992
|
if (values.current instanceof CollectionPage || values.current instanceof URL) {
|
|
31970
31993
|
// @ts-ignore: type is checked above.
|
|
@@ -31977,7 +32000,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31977
32000
|
);
|
|
31978
32001
|
}
|
|
31979
32002
|
}
|
|
31980
|
-
clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
|
|
32003
|
+
clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
|
|
31981
32004
|
if (\\"first\\" in values && values.first != null) {
|
|
31982
32005
|
if (values.first instanceof CollectionPage || values.first instanceof URL) {
|
|
31983
32006
|
// @ts-ignore: type is checked above.
|
|
@@ -31990,7 +32013,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31990
32013
|
);
|
|
31991
32014
|
}
|
|
31992
32015
|
}
|
|
31993
|
-
clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
|
|
32016
|
+
clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
|
|
31994
32017
|
if (\\"last\\" in values && values.last != null) {
|
|
31995
32018
|
if (values.last instanceof CollectionPage || values.last instanceof URL) {
|
|
31996
32019
|
// @ts-ignore: type is checked above.
|
|
@@ -32003,13 +32026,13 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32003
32026
|
);
|
|
32004
32027
|
}
|
|
32005
32028
|
}
|
|
32006
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
|
|
32029
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
|
|
32007
32030
|
if (\\"items\\" in values && values.items != null) {
|
|
32008
32031
|
|
|
32009
32032
|
if (Array.isArray(values.items) &&
|
|
32010
32033
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
32011
32034
|
// @ts-ignore: type is checked above.
|
|
32012
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
32035
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
32013
32036
|
|
|
32014
32037
|
clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
|
|
32015
32038
|
for (let i = 0; i < values.items.length; i++) {
|
|
@@ -32023,7 +32046,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32023
32046
|
);
|
|
32024
32047
|
}
|
|
32025
32048
|
}
|
|
32026
|
-
clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
|
|
32049
|
+
clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
|
|
32027
32050
|
if (\\"likesOf\\" in values && values.likesOf != null) {
|
|
32028
32051
|
if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
|
|
32029
32052
|
// @ts-ignore: type is checked above.
|
|
@@ -32036,7 +32059,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32036
32059
|
);
|
|
32037
32060
|
}
|
|
32038
32061
|
}
|
|
32039
|
-
clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
|
|
32062
|
+
clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
|
|
32040
32063
|
if (\\"sharesOf\\" in values && values.sharesOf != null) {
|
|
32041
32064
|
if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
|
|
32042
32065
|
// @ts-ignore: type is checked above.
|
|
@@ -32049,7 +32072,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32049
32072
|
);
|
|
32050
32073
|
}
|
|
32051
32074
|
}
|
|
32052
|
-
clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
|
|
32075
|
+
clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
|
|
32053
32076
|
if (\\"repliesOf\\" in values && values.repliesOf != null) {
|
|
32054
32077
|
if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
|
|
32055
32078
|
// @ts-ignore: type is checked above.
|
|
@@ -32062,7 +32085,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32062
32085
|
);
|
|
32063
32086
|
}
|
|
32064
32087
|
}
|
|
32065
|
-
clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
|
|
32088
|
+
clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
|
|
32066
32089
|
if (\\"inboxOf\\" in values && values.inboxOf != null) {
|
|
32067
32090
|
if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
|
|
32068
32091
|
// @ts-ignore: type is checked above.
|
|
@@ -32075,7 +32098,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32075
32098
|
);
|
|
32076
32099
|
}
|
|
32077
32100
|
}
|
|
32078
|
-
clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
|
|
32101
|
+
clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
|
|
32079
32102
|
if (\\"outboxOf\\" in values && values.outboxOf != null) {
|
|
32080
32103
|
if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
|
|
32081
32104
|
// @ts-ignore: type is checked above.
|
|
@@ -32088,7 +32111,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32088
32111
|
);
|
|
32089
32112
|
}
|
|
32090
32113
|
}
|
|
32091
|
-
clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
|
|
32114
|
+
clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
|
|
32092
32115
|
if (\\"followersOf\\" in values && values.followersOf != null) {
|
|
32093
32116
|
if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
|
|
32094
32117
|
// @ts-ignore: type is checked above.
|
|
@@ -32101,7 +32124,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32101
32124
|
);
|
|
32102
32125
|
}
|
|
32103
32126
|
}
|
|
32104
|
-
clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
|
|
32127
|
+
clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
|
|
32105
32128
|
if (\\"followingOf\\" in values && values.followingOf != null) {
|
|
32106
32129
|
if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
|
|
32107
32130
|
// @ts-ignore: type is checked above.
|
|
@@ -32114,7 +32137,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32114
32137
|
);
|
|
32115
32138
|
}
|
|
32116
32139
|
}
|
|
32117
|
-
clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
|
|
32140
|
+
clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
|
|
32118
32141
|
if (\\"likedOf\\" in values && values.likedOf != null) {
|
|
32119
32142
|
if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
|
|
32120
32143
|
// @ts-ignore: type is checked above.
|
|
@@ -36438,7 +36461,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36438
36461
|
* Clones this instance, optionally updating it with the given values.
|
|
36439
36462
|
* @param values The values to update the clone with.
|
|
36440
36463
|
* @param options The options to use for cloning.
|
|
36441
|
-
* @returns The cloned instance.
|
|
36464
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
36465
|
+
* and URLs are shared with this instance.
|
|
36442
36466
|
*/
|
|
36443
36467
|
override clone(
|
|
36444
36468
|
values:
|
|
@@ -36476,7 +36500,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36476
36500
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
36477
36501
|
options = { ...options, \$warning: this._warning };
|
|
36478
36502
|
}
|
|
36479
|
-
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);
|
|
36503
|
+
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);
|
|
36480
36504
|
if (\\"partOf\\" in values && values.partOf != null) {
|
|
36481
36505
|
if (values.partOf instanceof Collection || values.partOf instanceof URL) {
|
|
36482
36506
|
// @ts-ignore: type is checked above.
|
|
@@ -36489,7 +36513,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36489
36513
|
);
|
|
36490
36514
|
}
|
|
36491
36515
|
}
|
|
36492
|
-
clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
|
|
36516
|
+
clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
|
|
36493
36517
|
if (\\"next\\" in values && values.next != null) {
|
|
36494
36518
|
if (values.next instanceof CollectionPage || values.next instanceof URL) {
|
|
36495
36519
|
// @ts-ignore: type is checked above.
|
|
@@ -36502,7 +36526,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36502
36526
|
);
|
|
36503
36527
|
}
|
|
36504
36528
|
}
|
|
36505
|
-
clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
|
|
36529
|
+
clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
|
|
36506
36530
|
if (\\"prev\\" in values && values.prev != null) {
|
|
36507
36531
|
if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
|
|
36508
36532
|
// @ts-ignore: type is checked above.
|
|
@@ -37784,7 +37808,8 @@ instruments?: (Object | URL)[];}
|
|
|
37784
37808
|
* Clones this instance, optionally updating it with the given values.
|
|
37785
37809
|
* @param values The values to update the clone with.
|
|
37786
37810
|
* @param options The options to use for cloning.
|
|
37787
|
-
* @returns The cloned instance.
|
|
37811
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
37812
|
+
* and URLs are shared with this instance.
|
|
37788
37813
|
*/
|
|
37789
37814
|
override clone(
|
|
37790
37815
|
values:
|
|
@@ -38124,7 +38149,8 @@ instruments?: (Object | URL)[];}
|
|
|
38124
38149
|
* Clones this instance, optionally updating it with the given values.
|
|
38125
38150
|
* @param values The values to update the clone with.
|
|
38126
38151
|
* @param options The options to use for cloning.
|
|
38127
|
-
* @returns The cloned instance.
|
|
38152
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
38153
|
+
* and URLs are shared with this instance.
|
|
38128
38154
|
*/
|
|
38129
38155
|
override clone(
|
|
38130
38156
|
values:
|
|
@@ -38462,7 +38488,8 @@ instruments?: (Object | URL)[];}
|
|
|
38462
38488
|
* Clones this instance, optionally updating it with the given values.
|
|
38463
38489
|
* @param values The values to update the clone with.
|
|
38464
38490
|
* @param options The options to use for cloning.
|
|
38465
|
-
* @returns The cloned instance.
|
|
38491
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
38492
|
+
* and URLs are shared with this instance.
|
|
38466
38493
|
*/
|
|
38467
38494
|
override clone(
|
|
38468
38495
|
values:
|
|
@@ -38932,7 +38959,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38932
38959
|
* Clones this instance, optionally updating it with the given values.
|
|
38933
38960
|
* @param values The values to update the clone with.
|
|
38934
38961
|
* @param options The options to use for cloning.
|
|
38935
|
-
* @returns The cloned instance.
|
|
38962
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
38963
|
+
* and URLs are shared with this instance.
|
|
38936
38964
|
*/
|
|
38937
38965
|
clone(
|
|
38938
38966
|
values:
|
|
@@ -38960,7 +38988,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38960
38988
|
{ id: values.id ?? this.id },
|
|
38961
38989
|
options
|
|
38962
38990
|
);
|
|
38963
|
-
clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
|
|
38991
|
+
clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
|
|
38964
38992
|
if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
|
|
38965
38993
|
if (values.proxyUrl instanceof URL) {
|
|
38966
38994
|
// @ts-ignore: type is checked above.
|
|
@@ -38973,7 +39001,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38973
39001
|
);
|
|
38974
39002
|
}
|
|
38975
39003
|
}
|
|
38976
|
-
clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
|
|
39004
|
+
clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
|
|
38977
39005
|
if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
|
|
38978
39006
|
if (values.oauthAuthorizationEndpoint instanceof URL) {
|
|
38979
39007
|
// @ts-ignore: type is checked above.
|
|
@@ -38986,7 +39014,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38986
39014
|
);
|
|
38987
39015
|
}
|
|
38988
39016
|
}
|
|
38989
|
-
clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
|
|
39017
|
+
clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
|
|
38990
39018
|
if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
|
|
38991
39019
|
if (values.oauthTokenEndpoint instanceof URL) {
|
|
38992
39020
|
// @ts-ignore: type is checked above.
|
|
@@ -38999,7 +39027,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38999
39027
|
);
|
|
39000
39028
|
}
|
|
39001
39029
|
}
|
|
39002
|
-
clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
|
|
39030
|
+
clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
|
|
39003
39031
|
if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
|
|
39004
39032
|
if (values.provideClientKey instanceof URL) {
|
|
39005
39033
|
// @ts-ignore: type is checked above.
|
|
@@ -39012,7 +39040,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
39012
39040
|
);
|
|
39013
39041
|
}
|
|
39014
39042
|
}
|
|
39015
|
-
clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
|
|
39043
|
+
clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
|
|
39016
39044
|
if (\\"signClientKey\\" in values && values.signClientKey != null) {
|
|
39017
39045
|
if (values.signClientKey instanceof URL) {
|
|
39018
39046
|
// @ts-ignore: type is checked above.
|
|
@@ -39025,7 +39053,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
39025
39053
|
);
|
|
39026
39054
|
}
|
|
39027
39055
|
}
|
|
39028
|
-
clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
|
|
39056
|
+
clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
|
|
39029
39057
|
if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
|
|
39030
39058
|
if (values.sharedInbox instanceof URL) {
|
|
39031
39059
|
// @ts-ignore: type is checked above.
|
|
@@ -39973,7 +40001,8 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
39973
40001
|
* Clones this instance, optionally updating it with the given values.
|
|
39974
40002
|
* @param values The values to update the clone with.
|
|
39975
40003
|
* @param options The options to use for cloning.
|
|
39976
|
-
* @returns The cloned instance.
|
|
40004
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
40005
|
+
* and URLs are shared with this instance.
|
|
39977
40006
|
*/
|
|
39978
40007
|
override clone(
|
|
39979
40008
|
values:
|
|
@@ -40325,7 +40354,8 @@ instruments?: (Object | URL)[];}
|
|
|
40325
40354
|
* Clones this instance, optionally updating it with the given values.
|
|
40326
40355
|
* @param values The values to update the clone with.
|
|
40327
40356
|
* @param options The options to use for cloning.
|
|
40328
|
-
* @returns The cloned instance.
|
|
40357
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
40358
|
+
* and URLs are shared with this instance.
|
|
40329
40359
|
*/
|
|
40330
40360
|
override clone(
|
|
40331
40361
|
values:
|
|
@@ -40667,7 +40697,8 @@ instruments?: (Object | URL)[];}
|
|
|
40667
40697
|
* Clones this instance, optionally updating it with the given values.
|
|
40668
40698
|
* @param values The values to update the clone with.
|
|
40669
40699
|
* @param options The options to use for cloning.
|
|
40670
|
-
* @returns The cloned instance.
|
|
40700
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
40701
|
+
* and URLs are shared with this instance.
|
|
40671
40702
|
*/
|
|
40672
40703
|
override clone(
|
|
40673
40704
|
values:
|
|
@@ -41073,7 +41104,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41073
41104
|
if (Array.isArray(values.preferredUsernames) &&
|
|
41074
41105
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
41075
41106
|
// @ts-ignore: type is checked above.
|
|
41076
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
41107
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
41077
41108
|
|
|
41078
41109
|
} else {
|
|
41079
41110
|
throw new TypeError(
|
|
@@ -41109,7 +41140,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41109
41140
|
if (Array.isArray(values.publicKeys) &&
|
|
41110
41141
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
41111
41142
|
// @ts-ignore: type is checked above.
|
|
41112
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
41143
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
41113
41144
|
|
|
41114
41145
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
41115
41146
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -41149,7 +41180,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41149
41180
|
if (Array.isArray(values.assertionMethods) &&
|
|
41150
41181
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
41151
41182
|
// @ts-ignore: type is checked above.
|
|
41152
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
41183
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
41153
41184
|
|
|
41154
41185
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
41155
41186
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -41272,7 +41303,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41272
41303
|
if (Array.isArray(values.streams) &&
|
|
41273
41304
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
41274
41305
|
// @ts-ignore: type is checked above.
|
|
41275
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
41306
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
41276
41307
|
|
|
41277
41308
|
for (let i = 0; i < values.streams.length; i++) {
|
|
41278
41309
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -41390,7 +41421,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41390
41421
|
if (Array.isArray(values.aliases) &&
|
|
41391
41422
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
41392
41423
|
// @ts-ignore: type is checked above.
|
|
41393
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
41424
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
41394
41425
|
|
|
41395
41426
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
41396
41427
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -41430,7 +41461,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41430
41461
|
if (Array.isArray(values.services) &&
|
|
41431
41462
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
41432
41463
|
// @ts-ignore: type is checked above.
|
|
41433
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
41464
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
41434
41465
|
|
|
41435
41466
|
for (let i = 0; i < values.services.length; i++) {
|
|
41436
41467
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -41475,7 +41506,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41475
41506
|
* Clones this instance, optionally updating it with the given values.
|
|
41476
41507
|
* @param values The values to update the clone with.
|
|
41477
41508
|
* @param options The options to use for cloning.
|
|
41478
|
-
* @returns The cloned instance.
|
|
41509
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
41510
|
+
* and URLs are shared with this instance.
|
|
41479
41511
|
*/
|
|
41480
41512
|
override clone(
|
|
41481
41513
|
values:
|
|
@@ -41518,7 +41550,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41518
41550
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
41519
41551
|
options = { ...options, \$warning: this._warning };
|
|
41520
41552
|
}
|
|
41521
|
-
const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
41553
|
+
const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
41522
41554
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
41523
41555
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
41524
41556
|
// @ts-ignore: type is checked above.
|
|
@@ -41545,7 +41577,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41545
41577
|
if (Array.isArray(values.preferredUsernames) &&
|
|
41546
41578
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
41547
41579
|
// @ts-ignore: type is checked above.
|
|
41548
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
41580
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
41549
41581
|
|
|
41550
41582
|
} else {
|
|
41551
41583
|
throw new TypeError(
|
|
@@ -41554,7 +41586,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41554
41586
|
);
|
|
41555
41587
|
}
|
|
41556
41588
|
}
|
|
41557
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
41589
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
41558
41590
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
41559
41591
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
41560
41592
|
// @ts-ignore: type is checked above.
|
|
@@ -41581,7 +41613,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41581
41613
|
if (Array.isArray(values.publicKeys) &&
|
|
41582
41614
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
41583
41615
|
// @ts-ignore: type is checked above.
|
|
41584
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
41616
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
41585
41617
|
|
|
41586
41618
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
41587
41619
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -41595,7 +41627,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41595
41627
|
);
|
|
41596
41628
|
}
|
|
41597
41629
|
}
|
|
41598
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
41630
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
41599
41631
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
41600
41632
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
41601
41633
|
// @ts-ignore: type is checked above.
|
|
@@ -41622,7 +41654,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41622
41654
|
if (Array.isArray(values.assertionMethods) &&
|
|
41623
41655
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
41624
41656
|
// @ts-ignore: type is checked above.
|
|
41625
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
41657
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
41626
41658
|
|
|
41627
41659
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
41628
41660
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -41636,7 +41668,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41636
41668
|
);
|
|
41637
41669
|
}
|
|
41638
41670
|
}
|
|
41639
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
41671
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
41640
41672
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
41641
41673
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
41642
41674
|
// @ts-ignore: type is checked above.
|
|
@@ -41649,7 +41681,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41649
41681
|
);
|
|
41650
41682
|
}
|
|
41651
41683
|
}
|
|
41652
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
41684
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
41653
41685
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
41654
41686
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
41655
41687
|
// @ts-ignore: type is checked above.
|
|
@@ -41662,7 +41694,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41662
41694
|
);
|
|
41663
41695
|
}
|
|
41664
41696
|
}
|
|
41665
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
41697
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
41666
41698
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
41667
41699
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
41668
41700
|
// @ts-ignore: type is checked above.
|
|
@@ -41675,7 +41707,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41675
41707
|
);
|
|
41676
41708
|
}
|
|
41677
41709
|
}
|
|
41678
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
41710
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
41679
41711
|
if (\\"following\\" in values && values.following != null) {
|
|
41680
41712
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
41681
41713
|
// @ts-ignore: type is checked above.
|
|
@@ -41688,7 +41720,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41688
41720
|
);
|
|
41689
41721
|
}
|
|
41690
41722
|
}
|
|
41691
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
41723
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
41692
41724
|
if (\\"followers\\" in values && values.followers != null) {
|
|
41693
41725
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
41694
41726
|
// @ts-ignore: type is checked above.
|
|
@@ -41701,7 +41733,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41701
41733
|
);
|
|
41702
41734
|
}
|
|
41703
41735
|
}
|
|
41704
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
41736
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
41705
41737
|
if (\\"liked\\" in values && values.liked != null) {
|
|
41706
41738
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
41707
41739
|
// @ts-ignore: type is checked above.
|
|
@@ -41714,7 +41746,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41714
41746
|
);
|
|
41715
41747
|
}
|
|
41716
41748
|
}
|
|
41717
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
41749
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
41718
41750
|
if (\\"featured\\" in values && values.featured != null) {
|
|
41719
41751
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
41720
41752
|
// @ts-ignore: type is checked above.
|
|
@@ -41727,7 +41759,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41727
41759
|
);
|
|
41728
41760
|
}
|
|
41729
41761
|
}
|
|
41730
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
41762
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
41731
41763
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
41732
41764
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
41733
41765
|
// @ts-ignore: type is checked above.
|
|
@@ -41740,13 +41772,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41740
41772
|
);
|
|
41741
41773
|
}
|
|
41742
41774
|
}
|
|
41743
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
41775
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
41744
41776
|
if (\\"streams\\" in values && values.streams != null) {
|
|
41745
41777
|
|
|
41746
41778
|
if (Array.isArray(values.streams) &&
|
|
41747
41779
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
41748
41780
|
// @ts-ignore: type is checked above.
|
|
41749
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
41781
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
41750
41782
|
|
|
41751
41783
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
41752
41784
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -41760,7 +41792,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41760
41792
|
);
|
|
41761
41793
|
}
|
|
41762
41794
|
}
|
|
41763
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
41795
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
41764
41796
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
41765
41797
|
if (values.endpoints instanceof Endpoints) {
|
|
41766
41798
|
// @ts-ignore: type is checked above.
|
|
@@ -41773,7 +41805,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41773
41805
|
);
|
|
41774
41806
|
}
|
|
41775
41807
|
}
|
|
41776
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
41808
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
41777
41809
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
41778
41810
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
41779
41811
|
// @ts-ignore: type is checked above.
|
|
@@ -41786,7 +41818,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41786
41818
|
);
|
|
41787
41819
|
}
|
|
41788
41820
|
}
|
|
41789
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
41821
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
41790
41822
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
41791
41823
|
if (typeof values.suspended === \\"boolean\\") {
|
|
41792
41824
|
// @ts-ignore: type is checked above.
|
|
@@ -41799,7 +41831,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41799
41831
|
);
|
|
41800
41832
|
}
|
|
41801
41833
|
}
|
|
41802
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
41834
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
41803
41835
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
41804
41836
|
if (typeof values.memorial === \\"boolean\\") {
|
|
41805
41837
|
// @ts-ignore: type is checked above.
|
|
@@ -41812,7 +41844,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41812
41844
|
);
|
|
41813
41845
|
}
|
|
41814
41846
|
}
|
|
41815
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
41847
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
41816
41848
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
41817
41849
|
if (typeof values.indexable === \\"boolean\\") {
|
|
41818
41850
|
// @ts-ignore: type is checked above.
|
|
@@ -41825,7 +41857,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41825
41857
|
);
|
|
41826
41858
|
}
|
|
41827
41859
|
}
|
|
41828
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
41860
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
41829
41861
|
if (\\"successor\\" in values && values.successor != null) {
|
|
41830
41862
|
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) {
|
|
41831
41863
|
// @ts-ignore: type is checked above.
|
|
@@ -41838,7 +41870,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41838
41870
|
);
|
|
41839
41871
|
}
|
|
41840
41872
|
}
|
|
41841
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
41873
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
41842
41874
|
if (\\"alias\\" in values && values.alias != null) {
|
|
41843
41875
|
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) {
|
|
41844
41876
|
// @ts-ignore: type is checked above.
|
|
@@ -41865,7 +41897,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41865
41897
|
if (Array.isArray(values.aliases) &&
|
|
41866
41898
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
41867
41899
|
// @ts-ignore: type is checked above.
|
|
41868
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
41900
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
41869
41901
|
|
|
41870
41902
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
41871
41903
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -41879,7 +41911,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41879
41911
|
);
|
|
41880
41912
|
}
|
|
41881
41913
|
}
|
|
41882
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
41914
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
41883
41915
|
if (\\"service\\" in values && values.service != null) {
|
|
41884
41916
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
41885
41917
|
// @ts-ignore: type is checked above.
|
|
@@ -41906,7 +41938,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41906
41938
|
if (Array.isArray(values.services) &&
|
|
41907
41939
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
41908
41940
|
// @ts-ignore: type is checked above.
|
|
41909
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
41941
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
41910
41942
|
|
|
41911
41943
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
41912
41944
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -41920,7 +41952,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41920
41952
|
);
|
|
41921
41953
|
}
|
|
41922
41954
|
}
|
|
41923
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
41955
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
41924
41956
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
41925
41957
|
if (typeof values.followedMessage === \\"string\\") {
|
|
41926
41958
|
// @ts-ignore: type is checked above.
|
|
@@ -41933,7 +41965,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41933
41965
|
);
|
|
41934
41966
|
}
|
|
41935
41967
|
}
|
|
41936
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
41968
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
41937
41969
|
if (\\"cat\\" in values && values.cat != null) {
|
|
41938
41970
|
if (typeof values.cat === \\"boolean\\") {
|
|
41939
41971
|
// @ts-ignore: type is checked above.
|
|
@@ -48050,7 +48082,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48050
48082
|
if (Array.isArray(values.rels) &&
|
|
48051
48083
|
values.rels.every(v => typeof v === \\"string\\")) {
|
|
48052
48084
|
// @ts-ignore: type is checked above.
|
|
48053
|
-
this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
|
|
48085
|
+
this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
|
|
48054
48086
|
|
|
48055
48087
|
} else {
|
|
48056
48088
|
throw new TypeError(
|
|
@@ -48099,7 +48131,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48099
48131
|
if (Array.isArray(values.names) &&
|
|
48100
48132
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
48101
48133
|
// @ts-ignore: type is checked above.
|
|
48102
|
-
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
48134
|
+
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
48103
48135
|
|
|
48104
48136
|
} else {
|
|
48105
48137
|
throw new TypeError(
|
|
@@ -48153,7 +48185,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48153
48185
|
if (Array.isArray(values.previews) &&
|
|
48154
48186
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
48155
48187
|
// @ts-ignore: type is checked above.
|
|
48156
|
-
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
48188
|
+
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
48157
48189
|
|
|
48158
48190
|
for (let i = 0; i < values.previews.length; i++) {
|
|
48159
48191
|
this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
|
|
@@ -48172,7 +48204,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48172
48204
|
* Clones this instance, optionally updating it with the given values.
|
|
48173
48205
|
* @param values The values to update the clone with.
|
|
48174
48206
|
* @param options The options to use for cloning.
|
|
48175
|
-
* @returns The cloned instance.
|
|
48207
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
48208
|
+
* and URLs are shared with this instance.
|
|
48176
48209
|
*/
|
|
48177
48210
|
clone(
|
|
48178
48211
|
values:
|
|
@@ -48202,7 +48235,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48202
48235
|
{ id: values.id ?? this.id },
|
|
48203
48236
|
options
|
|
48204
48237
|
);
|
|
48205
|
-
clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
|
|
48238
|
+
clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
|
|
48206
48239
|
if (\\"href\\" in values && values.href != null) {
|
|
48207
48240
|
if (values.href instanceof URL) {
|
|
48208
48241
|
// @ts-ignore: type is checked above.
|
|
@@ -48215,7 +48248,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48215
48248
|
);
|
|
48216
48249
|
}
|
|
48217
48250
|
}
|
|
48218
|
-
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
|
|
48251
|
+
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
|
|
48219
48252
|
if (\\"rel\\" in values && values.rel != null) {
|
|
48220
48253
|
if (typeof values.rel === \\"string\\") {
|
|
48221
48254
|
// @ts-ignore: type is checked above.
|
|
@@ -48242,7 +48275,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48242
48275
|
if (Array.isArray(values.rels) &&
|
|
48243
48276
|
values.rels.every(v => typeof v === \\"string\\")) {
|
|
48244
48277
|
// @ts-ignore: type is checked above.
|
|
48245
|
-
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
|
|
48278
|
+
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
|
|
48246
48279
|
|
|
48247
48280
|
} else {
|
|
48248
48281
|
throw new TypeError(
|
|
@@ -48251,7 +48284,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48251
48284
|
);
|
|
48252
48285
|
}
|
|
48253
48286
|
}
|
|
48254
|
-
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
|
|
48287
|
+
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
|
|
48255
48288
|
if (\\"mediaType\\" in values && values.mediaType != null) {
|
|
48256
48289
|
if (typeof values.mediaType === \\"string\\") {
|
|
48257
48290
|
// @ts-ignore: type is checked above.
|
|
@@ -48264,7 +48297,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48264
48297
|
);
|
|
48265
48298
|
}
|
|
48266
48299
|
}
|
|
48267
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
|
|
48300
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
|
|
48268
48301
|
if (\\"name\\" in values && values.name != null) {
|
|
48269
48302
|
if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
|
|
48270
48303
|
// @ts-ignore: type is checked above.
|
|
@@ -48291,7 +48324,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48291
48324
|
if (Array.isArray(values.names) &&
|
|
48292
48325
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
48293
48326
|
// @ts-ignore: type is checked above.
|
|
48294
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
48327
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
48295
48328
|
|
|
48296
48329
|
} else {
|
|
48297
48330
|
throw new TypeError(
|
|
@@ -48300,7 +48333,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48300
48333
|
);
|
|
48301
48334
|
}
|
|
48302
48335
|
}
|
|
48303
|
-
clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
|
|
48336
|
+
clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
|
|
48304
48337
|
if (\\"language\\" in values && values.language != null) {
|
|
48305
48338
|
if (values.language instanceof Intl.Locale) {
|
|
48306
48339
|
// @ts-ignore: type is checked above.
|
|
@@ -48313,7 +48346,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48313
48346
|
);
|
|
48314
48347
|
}
|
|
48315
48348
|
}
|
|
48316
|
-
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
|
|
48349
|
+
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
|
|
48317
48350
|
if (\\"height\\" in values && values.height != null) {
|
|
48318
48351
|
if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
|
|
48319
48352
|
// @ts-ignore: type is checked above.
|
|
@@ -48326,7 +48359,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48326
48359
|
);
|
|
48327
48360
|
}
|
|
48328
48361
|
}
|
|
48329
|
-
clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
|
|
48362
|
+
clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
|
|
48330
48363
|
if (\\"width\\" in values && values.width != null) {
|
|
48331
48364
|
if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
|
|
48332
48365
|
// @ts-ignore: type is checked above.
|
|
@@ -48339,13 +48372,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48339
48372
|
);
|
|
48340
48373
|
}
|
|
48341
48374
|
}
|
|
48342
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
48375
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
48343
48376
|
if (\\"previews\\" in values && values.previews != null) {
|
|
48344
48377
|
|
|
48345
48378
|
if (Array.isArray(values.previews) &&
|
|
48346
48379
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
48347
48380
|
// @ts-ignore: type is checked above.
|
|
48348
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
48381
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
48349
48382
|
|
|
48350
48383
|
clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
|
|
48351
48384
|
for (let i = 0; i < values.previews.length; i++) {
|
|
@@ -49697,7 +49730,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
49697
49730
|
* Clones this instance, optionally updating it with the given values.
|
|
49698
49731
|
* @param values The values to update the clone with.
|
|
49699
49732
|
* @param options The options to use for cloning.
|
|
49700
|
-
* @returns The cloned instance.
|
|
49733
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
49734
|
+
* and URLs are shared with this instance.
|
|
49701
49735
|
*/
|
|
49702
49736
|
override clone(
|
|
49703
49737
|
values:
|
|
@@ -50015,7 +50049,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
50015
50049
|
* Clones this instance, optionally updating it with the given values.
|
|
50016
50050
|
* @param values The values to update the clone with.
|
|
50017
50051
|
* @param options The options to use for cloning.
|
|
50018
|
-
* @returns The cloned instance.
|
|
50052
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
50053
|
+
* and URLs are shared with this instance.
|
|
50019
50054
|
*/
|
|
50020
50055
|
override clone(
|
|
50021
50056
|
values:
|
|
@@ -50367,7 +50402,8 @@ instruments?: (Object | URL)[];}
|
|
|
50367
50402
|
* Clones this instance, optionally updating it with the given values.
|
|
50368
50403
|
* @param values The values to update the clone with.
|
|
50369
50404
|
* @param options The options to use for cloning.
|
|
50370
|
-
* @returns The cloned instance.
|
|
50405
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
50406
|
+
* and URLs are shared with this instance.
|
|
50371
50407
|
*/
|
|
50372
50408
|
override clone(
|
|
50373
50409
|
values:
|
|
@@ -50711,7 +50747,8 @@ instruments?: (Object | URL)[];}
|
|
|
50711
50747
|
* Clones this instance, optionally updating it with the given values.
|
|
50712
50748
|
* @param values The values to update the clone with.
|
|
50713
50749
|
* @param options The options to use for cloning.
|
|
50714
|
-
* @returns The cloned instance.
|
|
50750
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
50751
|
+
* and URLs are shared with this instance.
|
|
50715
50752
|
*/
|
|
50716
50753
|
override clone(
|
|
50717
50754
|
values:
|
|
@@ -51051,7 +51088,8 @@ instruments?: (Object | URL)[];}
|
|
|
51051
51088
|
* Clones this instance, optionally updating it with the given values.
|
|
51052
51089
|
* @param values The values to update the clone with.
|
|
51053
51090
|
* @param options The options to use for cloning.
|
|
51054
|
-
* @returns The cloned instance.
|
|
51091
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
51092
|
+
* and URLs are shared with this instance.
|
|
51055
51093
|
*/
|
|
51056
51094
|
override clone(
|
|
51057
51095
|
values:
|
|
@@ -51391,7 +51429,8 @@ instruments?: (Object | URL)[];}
|
|
|
51391
51429
|
* Clones this instance, optionally updating it with the given values.
|
|
51392
51430
|
* @param values The values to update the clone with.
|
|
51393
51431
|
* @param options The options to use for cloning.
|
|
51394
|
-
* @returns The cloned instance.
|
|
51432
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
51433
|
+
* and URLs are shared with this instance.
|
|
51395
51434
|
*/
|
|
51396
51435
|
override clone(
|
|
51397
51436
|
values:
|
|
@@ -51731,7 +51770,8 @@ instruments?: (Object | URL)[];}
|
|
|
51731
51770
|
* Clones this instance, optionally updating it with the given values.
|
|
51732
51771
|
* @param values The values to update the clone with.
|
|
51733
51772
|
* @param options The options to use for cloning.
|
|
51734
|
-
* @returns The cloned instance.
|
|
51773
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
51774
|
+
* and URLs are shared with this instance.
|
|
51735
51775
|
*/
|
|
51736
51776
|
override clone(
|
|
51737
51777
|
values:
|
|
@@ -52069,7 +52109,8 @@ instruments?: (Object | URL)[];}
|
|
|
52069
52109
|
* Clones this instance, optionally updating it with the given values.
|
|
52070
52110
|
* @param values The values to update the clone with.
|
|
52071
52111
|
* @param options The options to use for cloning.
|
|
52072
|
-
* @returns The cloned instance.
|
|
52112
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
52113
|
+
* and URLs are shared with this instance.
|
|
52073
52114
|
*/
|
|
52074
52115
|
override clone(
|
|
52075
52116
|
values:
|
|
@@ -52387,7 +52428,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
52387
52428
|
* Clones this instance, optionally updating it with the given values.
|
|
52388
52429
|
* @param values The values to update the clone with.
|
|
52389
52430
|
* @param options The options to use for cloning.
|
|
52390
|
-
* @returns The cloned instance.
|
|
52431
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
52432
|
+
* and URLs are shared with this instance.
|
|
52391
52433
|
*/
|
|
52392
52434
|
override clone(
|
|
52393
52435
|
values:
|
|
@@ -52714,7 +52756,8 @@ instruments?: (Object | URL)[];}
|
|
|
52714
52756
|
* Clones this instance, optionally updating it with the given values.
|
|
52715
52757
|
* @param values The values to update the clone with.
|
|
52716
52758
|
* @param options The options to use for cloning.
|
|
52717
|
-
* @returns The cloned instance.
|
|
52759
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
52760
|
+
* and URLs are shared with this instance.
|
|
52718
52761
|
*/
|
|
52719
52762
|
override clone(
|
|
52720
52763
|
values:
|
|
@@ -53062,7 +53105,8 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
53062
53105
|
* Clones this instance, optionally updating it with the given values.
|
|
53063
53106
|
* @param values The values to update the clone with.
|
|
53064
53107
|
* @param options The options to use for cloning.
|
|
53065
|
-
* @returns The cloned instance.
|
|
53108
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
53109
|
+
* and URLs are shared with this instance.
|
|
53066
53110
|
*/
|
|
53067
53111
|
override clone(
|
|
53068
53112
|
values:
|
|
@@ -53100,7 +53144,7 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
53100
53144
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
53101
53145
|
options = { ...options, \$warning: this._warning };
|
|
53102
53146
|
}
|
|
53103
|
-
const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
53147
|
+
const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
53104
53148
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
53105
53149
|
if (values.quoteUrl instanceof URL) {
|
|
53106
53150
|
// @ts-ignore: type is checked above.
|
|
@@ -53552,7 +53596,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53552
53596
|
if (Array.isArray(values.items) &&
|
|
53553
53597
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
53554
53598
|
// @ts-ignore: type is checked above.
|
|
53555
|
-
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
53599
|
+
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
53556
53600
|
|
|
53557
53601
|
for (let i = 0; i < values.items.length; i++) {
|
|
53558
53602
|
this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
|
|
@@ -53571,7 +53615,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53571
53615
|
* Clones this instance, optionally updating it with the given values.
|
|
53572
53616
|
* @param values The values to update the clone with.
|
|
53573
53617
|
* @param options The options to use for cloning.
|
|
53574
|
-
* @returns The cloned instance.
|
|
53618
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
53619
|
+
* and URLs are shared with this instance.
|
|
53575
53620
|
*/
|
|
53576
53621
|
override clone(
|
|
53577
53622
|
values:
|
|
@@ -53609,13 +53654,13 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53609
53654
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
53610
53655
|
options = { ...options, \$warning: this._warning };
|
|
53611
53656
|
}
|
|
53612
|
-
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);
|
|
53657
|
+
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);
|
|
53613
53658
|
if (\\"items\\" in values && values.items != null) {
|
|
53614
53659
|
|
|
53615
53660
|
if (Array.isArray(values.items) &&
|
|
53616
53661
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
53617
53662
|
// @ts-ignore: type is checked above.
|
|
53618
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
53663
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
53619
53664
|
|
|
53620
53665
|
clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
|
|
53621
53666
|
for (let i = 0; i < values.items.length; i++) {
|
|
@@ -54286,7 +54331,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54286
54331
|
if (Array.isArray(values.items) &&
|
|
54287
54332
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
54288
54333
|
// @ts-ignore: type is checked above.
|
|
54289
|
-
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
54334
|
+
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
54290
54335
|
|
|
54291
54336
|
for (let i = 0; i < values.items.length; i++) {
|
|
54292
54337
|
this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
|
|
@@ -54318,7 +54363,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54318
54363
|
* Clones this instance, optionally updating it with the given values.
|
|
54319
54364
|
* @param values The values to update the clone with.
|
|
54320
54365
|
* @param options The options to use for cloning.
|
|
54321
|
-
* @returns The cloned instance.
|
|
54366
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
54367
|
+
* and URLs are shared with this instance.
|
|
54322
54368
|
*/
|
|
54323
54369
|
override clone(
|
|
54324
54370
|
values:
|
|
@@ -54356,13 +54402,13 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54356
54402
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
54357
54403
|
options = { ...options, \$warning: this._warning };
|
|
54358
54404
|
}
|
|
54359
|
-
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);
|
|
54405
|
+
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);
|
|
54360
54406
|
if (\\"items\\" in values && values.items != null) {
|
|
54361
54407
|
|
|
54362
54408
|
if (Array.isArray(values.items) &&
|
|
54363
54409
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
54364
54410
|
// @ts-ignore: type is checked above.
|
|
54365
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
54411
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
54366
54412
|
|
|
54367
54413
|
clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
|
|
54368
54414
|
for (let i = 0; i < values.items.length; i++) {
|
|
@@ -54376,7 +54422,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54376
54422
|
);
|
|
54377
54423
|
}
|
|
54378
54424
|
}
|
|
54379
|
-
clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
|
|
54425
|
+
clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
|
|
54380
54426
|
if (\\"startIndex\\" in values && values.startIndex != null) {
|
|
54381
54427
|
if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
|
|
54382
54428
|
// @ts-ignore: type is checked above.
|
|
@@ -55206,7 +55252,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55206
55252
|
if (Array.isArray(values.preferredUsernames) &&
|
|
55207
55253
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
55208
55254
|
// @ts-ignore: type is checked above.
|
|
55209
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
55255
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
55210
55256
|
|
|
55211
55257
|
} else {
|
|
55212
55258
|
throw new TypeError(
|
|
@@ -55242,7 +55288,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55242
55288
|
if (Array.isArray(values.publicKeys) &&
|
|
55243
55289
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
55244
55290
|
// @ts-ignore: type is checked above.
|
|
55245
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
55291
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
55246
55292
|
|
|
55247
55293
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
55248
55294
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -55282,7 +55328,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55282
55328
|
if (Array.isArray(values.assertionMethods) &&
|
|
55283
55329
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
55284
55330
|
// @ts-ignore: type is checked above.
|
|
55285
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
55331
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
55286
55332
|
|
|
55287
55333
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
55288
55334
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -55405,7 +55451,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55405
55451
|
if (Array.isArray(values.streams) &&
|
|
55406
55452
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
55407
55453
|
// @ts-ignore: type is checked above.
|
|
55408
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
55454
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
55409
55455
|
|
|
55410
55456
|
for (let i = 0; i < values.streams.length; i++) {
|
|
55411
55457
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -55523,7 +55569,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55523
55569
|
if (Array.isArray(values.aliases) &&
|
|
55524
55570
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
55525
55571
|
// @ts-ignore: type is checked above.
|
|
55526
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
55572
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
55527
55573
|
|
|
55528
55574
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
55529
55575
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -55563,7 +55609,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55563
55609
|
if (Array.isArray(values.services) &&
|
|
55564
55610
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
55565
55611
|
// @ts-ignore: type is checked above.
|
|
55566
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
55612
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
55567
55613
|
|
|
55568
55614
|
for (let i = 0; i < values.services.length; i++) {
|
|
55569
55615
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -55608,7 +55654,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55608
55654
|
* Clones this instance, optionally updating it with the given values.
|
|
55609
55655
|
* @param values The values to update the clone with.
|
|
55610
55656
|
* @param options The options to use for cloning.
|
|
55611
|
-
* @returns The cloned instance.
|
|
55657
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
55658
|
+
* and URLs are shared with this instance.
|
|
55612
55659
|
*/
|
|
55613
55660
|
override clone(
|
|
55614
55661
|
values:
|
|
@@ -55651,7 +55698,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55651
55698
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
55652
55699
|
options = { ...options, \$warning: this._warning };
|
|
55653
55700
|
}
|
|
55654
|
-
const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
55701
|
+
const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
55655
55702
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
55656
55703
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
55657
55704
|
// @ts-ignore: type is checked above.
|
|
@@ -55678,7 +55725,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55678
55725
|
if (Array.isArray(values.preferredUsernames) &&
|
|
55679
55726
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
55680
55727
|
// @ts-ignore: type is checked above.
|
|
55681
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
55728
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
55682
55729
|
|
|
55683
55730
|
} else {
|
|
55684
55731
|
throw new TypeError(
|
|
@@ -55687,7 +55734,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55687
55734
|
);
|
|
55688
55735
|
}
|
|
55689
55736
|
}
|
|
55690
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
55737
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
55691
55738
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
55692
55739
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
55693
55740
|
// @ts-ignore: type is checked above.
|
|
@@ -55714,7 +55761,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55714
55761
|
if (Array.isArray(values.publicKeys) &&
|
|
55715
55762
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
55716
55763
|
// @ts-ignore: type is checked above.
|
|
55717
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
55764
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
55718
55765
|
|
|
55719
55766
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
55720
55767
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -55728,7 +55775,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55728
55775
|
);
|
|
55729
55776
|
}
|
|
55730
55777
|
}
|
|
55731
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
55778
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
55732
55779
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
55733
55780
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
55734
55781
|
// @ts-ignore: type is checked above.
|
|
@@ -55755,7 +55802,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55755
55802
|
if (Array.isArray(values.assertionMethods) &&
|
|
55756
55803
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
55757
55804
|
// @ts-ignore: type is checked above.
|
|
55758
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
55805
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
55759
55806
|
|
|
55760
55807
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
55761
55808
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -55769,7 +55816,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55769
55816
|
);
|
|
55770
55817
|
}
|
|
55771
55818
|
}
|
|
55772
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
55819
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
55773
55820
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
55774
55821
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
55775
55822
|
// @ts-ignore: type is checked above.
|
|
@@ -55782,7 +55829,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55782
55829
|
);
|
|
55783
55830
|
}
|
|
55784
55831
|
}
|
|
55785
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
55832
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
55786
55833
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
55787
55834
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
55788
55835
|
// @ts-ignore: type is checked above.
|
|
@@ -55795,7 +55842,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55795
55842
|
);
|
|
55796
55843
|
}
|
|
55797
55844
|
}
|
|
55798
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
55845
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
55799
55846
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
55800
55847
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
55801
55848
|
// @ts-ignore: type is checked above.
|
|
@@ -55808,7 +55855,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55808
55855
|
);
|
|
55809
55856
|
}
|
|
55810
55857
|
}
|
|
55811
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
55858
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
55812
55859
|
if (\\"following\\" in values && values.following != null) {
|
|
55813
55860
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
55814
55861
|
// @ts-ignore: type is checked above.
|
|
@@ -55821,7 +55868,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55821
55868
|
);
|
|
55822
55869
|
}
|
|
55823
55870
|
}
|
|
55824
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
55871
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
55825
55872
|
if (\\"followers\\" in values && values.followers != null) {
|
|
55826
55873
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
55827
55874
|
// @ts-ignore: type is checked above.
|
|
@@ -55834,7 +55881,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55834
55881
|
);
|
|
55835
55882
|
}
|
|
55836
55883
|
}
|
|
55837
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
55884
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
55838
55885
|
if (\\"liked\\" in values && values.liked != null) {
|
|
55839
55886
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
55840
55887
|
// @ts-ignore: type is checked above.
|
|
@@ -55847,7 +55894,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55847
55894
|
);
|
|
55848
55895
|
}
|
|
55849
55896
|
}
|
|
55850
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
55897
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
55851
55898
|
if (\\"featured\\" in values && values.featured != null) {
|
|
55852
55899
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
55853
55900
|
// @ts-ignore: type is checked above.
|
|
@@ -55860,7 +55907,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55860
55907
|
);
|
|
55861
55908
|
}
|
|
55862
55909
|
}
|
|
55863
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
55910
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
55864
55911
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
55865
55912
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
55866
55913
|
// @ts-ignore: type is checked above.
|
|
@@ -55873,13 +55920,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55873
55920
|
);
|
|
55874
55921
|
}
|
|
55875
55922
|
}
|
|
55876
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
55923
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
55877
55924
|
if (\\"streams\\" in values && values.streams != null) {
|
|
55878
55925
|
|
|
55879
55926
|
if (Array.isArray(values.streams) &&
|
|
55880
55927
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
55881
55928
|
// @ts-ignore: type is checked above.
|
|
55882
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
55929
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
55883
55930
|
|
|
55884
55931
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
55885
55932
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -55893,7 +55940,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55893
55940
|
);
|
|
55894
55941
|
}
|
|
55895
55942
|
}
|
|
55896
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
55943
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
55897
55944
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
55898
55945
|
if (values.endpoints instanceof Endpoints) {
|
|
55899
55946
|
// @ts-ignore: type is checked above.
|
|
@@ -55906,7 +55953,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55906
55953
|
);
|
|
55907
55954
|
}
|
|
55908
55955
|
}
|
|
55909
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
55956
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
55910
55957
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
55911
55958
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
55912
55959
|
// @ts-ignore: type is checked above.
|
|
@@ -55919,7 +55966,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55919
55966
|
);
|
|
55920
55967
|
}
|
|
55921
55968
|
}
|
|
55922
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
55969
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
55923
55970
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
55924
55971
|
if (typeof values.suspended === \\"boolean\\") {
|
|
55925
55972
|
// @ts-ignore: type is checked above.
|
|
@@ -55932,7 +55979,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55932
55979
|
);
|
|
55933
55980
|
}
|
|
55934
55981
|
}
|
|
55935
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
55982
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
55936
55983
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
55937
55984
|
if (typeof values.memorial === \\"boolean\\") {
|
|
55938
55985
|
// @ts-ignore: type is checked above.
|
|
@@ -55945,7 +55992,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55945
55992
|
);
|
|
55946
55993
|
}
|
|
55947
55994
|
}
|
|
55948
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
55995
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
55949
55996
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
55950
55997
|
if (typeof values.indexable === \\"boolean\\") {
|
|
55951
55998
|
// @ts-ignore: type is checked above.
|
|
@@ -55958,7 +56005,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55958
56005
|
);
|
|
55959
56006
|
}
|
|
55960
56007
|
}
|
|
55961
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
56008
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
55962
56009
|
if (\\"successor\\" in values && values.successor != null) {
|
|
55963
56010
|
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) {
|
|
55964
56011
|
// @ts-ignore: type is checked above.
|
|
@@ -55971,7 +56018,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55971
56018
|
);
|
|
55972
56019
|
}
|
|
55973
56020
|
}
|
|
55974
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
56021
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
55975
56022
|
if (\\"alias\\" in values && values.alias != null) {
|
|
55976
56023
|
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) {
|
|
55977
56024
|
// @ts-ignore: type is checked above.
|
|
@@ -55998,7 +56045,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55998
56045
|
if (Array.isArray(values.aliases) &&
|
|
55999
56046
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
56000
56047
|
// @ts-ignore: type is checked above.
|
|
56001
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
56048
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
56002
56049
|
|
|
56003
56050
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
56004
56051
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -56012,7 +56059,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56012
56059
|
);
|
|
56013
56060
|
}
|
|
56014
56061
|
}
|
|
56015
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
56062
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
56016
56063
|
if (\\"service\\" in values && values.service != null) {
|
|
56017
56064
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
56018
56065
|
// @ts-ignore: type is checked above.
|
|
@@ -56039,7 +56086,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56039
56086
|
if (Array.isArray(values.services) &&
|
|
56040
56087
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
56041
56088
|
// @ts-ignore: type is checked above.
|
|
56042
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
56089
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
56043
56090
|
|
|
56044
56091
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
56045
56092
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -56053,7 +56100,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56053
56100
|
);
|
|
56054
56101
|
}
|
|
56055
56102
|
}
|
|
56056
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
56103
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
56057
56104
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
56058
56105
|
if (typeof values.followedMessage === \\"string\\") {
|
|
56059
56106
|
// @ts-ignore: type is checked above.
|
|
@@ -56066,7 +56113,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56066
56113
|
);
|
|
56067
56114
|
}
|
|
56068
56115
|
}
|
|
56069
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
56116
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
56070
56117
|
if (\\"cat\\" in values && values.cat != null) {
|
|
56071
56118
|
if (typeof values.cat === \\"boolean\\") {
|
|
56072
56119
|
// @ts-ignore: type is checked above.
|
|
@@ -62075,7 +62122,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
62075
62122
|
* Clones this instance, optionally updating it with the given values.
|
|
62076
62123
|
* @param values The values to update the clone with.
|
|
62077
62124
|
* @param options The options to use for cloning.
|
|
62078
|
-
* @returns The cloned instance.
|
|
62125
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
62126
|
+
* and URLs are shared with this instance.
|
|
62079
62127
|
*/
|
|
62080
62128
|
override clone(
|
|
62081
62129
|
values:
|
|
@@ -62492,7 +62540,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62492
62540
|
if (Array.isArray(values.preferredUsernames) &&
|
|
62493
62541
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
62494
62542
|
// @ts-ignore: type is checked above.
|
|
62495
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
62543
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
62496
62544
|
|
|
62497
62545
|
} else {
|
|
62498
62546
|
throw new TypeError(
|
|
@@ -62528,7 +62576,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62528
62576
|
if (Array.isArray(values.publicKeys) &&
|
|
62529
62577
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
62530
62578
|
// @ts-ignore: type is checked above.
|
|
62531
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
62579
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
62532
62580
|
|
|
62533
62581
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
62534
62582
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -62568,7 +62616,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62568
62616
|
if (Array.isArray(values.assertionMethods) &&
|
|
62569
62617
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
62570
62618
|
// @ts-ignore: type is checked above.
|
|
62571
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
62619
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
62572
62620
|
|
|
62573
62621
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
62574
62622
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -62691,7 +62739,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62691
62739
|
if (Array.isArray(values.streams) &&
|
|
62692
62740
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
62693
62741
|
// @ts-ignore: type is checked above.
|
|
62694
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
62742
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
62695
62743
|
|
|
62696
62744
|
for (let i = 0; i < values.streams.length; i++) {
|
|
62697
62745
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -62809,7 +62857,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62809
62857
|
if (Array.isArray(values.aliases) &&
|
|
62810
62858
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
62811
62859
|
// @ts-ignore: type is checked above.
|
|
62812
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
62860
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
62813
62861
|
|
|
62814
62862
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
62815
62863
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -62849,7 +62897,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62849
62897
|
if (Array.isArray(values.services) &&
|
|
62850
62898
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
62851
62899
|
// @ts-ignore: type is checked above.
|
|
62852
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
62900
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
62853
62901
|
|
|
62854
62902
|
for (let i = 0; i < values.services.length; i++) {
|
|
62855
62903
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -62894,7 +62942,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62894
62942
|
* Clones this instance, optionally updating it with the given values.
|
|
62895
62943
|
* @param values The values to update the clone with.
|
|
62896
62944
|
* @param options The options to use for cloning.
|
|
62897
|
-
* @returns The cloned instance.
|
|
62945
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
62946
|
+
* and URLs are shared with this instance.
|
|
62898
62947
|
*/
|
|
62899
62948
|
override clone(
|
|
62900
62949
|
values:
|
|
@@ -62937,7 +62986,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62937
62986
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
62938
62987
|
options = { ...options, \$warning: this._warning };
|
|
62939
62988
|
}
|
|
62940
|
-
const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
62989
|
+
const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
62941
62990
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
62942
62991
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
62943
62992
|
// @ts-ignore: type is checked above.
|
|
@@ -62964,7 +63013,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62964
63013
|
if (Array.isArray(values.preferredUsernames) &&
|
|
62965
63014
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
62966
63015
|
// @ts-ignore: type is checked above.
|
|
62967
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
63016
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
62968
63017
|
|
|
62969
63018
|
} else {
|
|
62970
63019
|
throw new TypeError(
|
|
@@ -62973,7 +63022,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62973
63022
|
);
|
|
62974
63023
|
}
|
|
62975
63024
|
}
|
|
62976
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
63025
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
62977
63026
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
62978
63027
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
62979
63028
|
// @ts-ignore: type is checked above.
|
|
@@ -63000,7 +63049,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63000
63049
|
if (Array.isArray(values.publicKeys) &&
|
|
63001
63050
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
63002
63051
|
// @ts-ignore: type is checked above.
|
|
63003
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
63052
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
63004
63053
|
|
|
63005
63054
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
63006
63055
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -63014,7 +63063,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63014
63063
|
);
|
|
63015
63064
|
}
|
|
63016
63065
|
}
|
|
63017
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
63066
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
63018
63067
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
63019
63068
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
63020
63069
|
// @ts-ignore: type is checked above.
|
|
@@ -63041,7 +63090,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63041
63090
|
if (Array.isArray(values.assertionMethods) &&
|
|
63042
63091
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
63043
63092
|
// @ts-ignore: type is checked above.
|
|
63044
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
63093
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
63045
63094
|
|
|
63046
63095
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
63047
63096
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -63055,7 +63104,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63055
63104
|
);
|
|
63056
63105
|
}
|
|
63057
63106
|
}
|
|
63058
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
63107
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
63059
63108
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
63060
63109
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
63061
63110
|
// @ts-ignore: type is checked above.
|
|
@@ -63068,7 +63117,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63068
63117
|
);
|
|
63069
63118
|
}
|
|
63070
63119
|
}
|
|
63071
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
63120
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
63072
63121
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
63073
63122
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
63074
63123
|
// @ts-ignore: type is checked above.
|
|
@@ -63081,7 +63130,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63081
63130
|
);
|
|
63082
63131
|
}
|
|
63083
63132
|
}
|
|
63084
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
63133
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
63085
63134
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
63086
63135
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
63087
63136
|
// @ts-ignore: type is checked above.
|
|
@@ -63094,7 +63143,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63094
63143
|
);
|
|
63095
63144
|
}
|
|
63096
63145
|
}
|
|
63097
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
63146
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
63098
63147
|
if (\\"following\\" in values && values.following != null) {
|
|
63099
63148
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
63100
63149
|
// @ts-ignore: type is checked above.
|
|
@@ -63107,7 +63156,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63107
63156
|
);
|
|
63108
63157
|
}
|
|
63109
63158
|
}
|
|
63110
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
63159
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
63111
63160
|
if (\\"followers\\" in values && values.followers != null) {
|
|
63112
63161
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
63113
63162
|
// @ts-ignore: type is checked above.
|
|
@@ -63120,7 +63169,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63120
63169
|
);
|
|
63121
63170
|
}
|
|
63122
63171
|
}
|
|
63123
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
63172
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
63124
63173
|
if (\\"liked\\" in values && values.liked != null) {
|
|
63125
63174
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
63126
63175
|
// @ts-ignore: type is checked above.
|
|
@@ -63133,7 +63182,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63133
63182
|
);
|
|
63134
63183
|
}
|
|
63135
63184
|
}
|
|
63136
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
63185
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
63137
63186
|
if (\\"featured\\" in values && values.featured != null) {
|
|
63138
63187
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
63139
63188
|
// @ts-ignore: type is checked above.
|
|
@@ -63146,7 +63195,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63146
63195
|
);
|
|
63147
63196
|
}
|
|
63148
63197
|
}
|
|
63149
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
63198
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
63150
63199
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
63151
63200
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
63152
63201
|
// @ts-ignore: type is checked above.
|
|
@@ -63159,13 +63208,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63159
63208
|
);
|
|
63160
63209
|
}
|
|
63161
63210
|
}
|
|
63162
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
63211
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
63163
63212
|
if (\\"streams\\" in values && values.streams != null) {
|
|
63164
63213
|
|
|
63165
63214
|
if (Array.isArray(values.streams) &&
|
|
63166
63215
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
63167
63216
|
// @ts-ignore: type is checked above.
|
|
63168
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
63217
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
63169
63218
|
|
|
63170
63219
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
63171
63220
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -63179,7 +63228,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63179
63228
|
);
|
|
63180
63229
|
}
|
|
63181
63230
|
}
|
|
63182
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
63231
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
63183
63232
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
63184
63233
|
if (values.endpoints instanceof Endpoints) {
|
|
63185
63234
|
// @ts-ignore: type is checked above.
|
|
@@ -63192,7 +63241,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63192
63241
|
);
|
|
63193
63242
|
}
|
|
63194
63243
|
}
|
|
63195
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
63244
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
63196
63245
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
63197
63246
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
63198
63247
|
// @ts-ignore: type is checked above.
|
|
@@ -63205,7 +63254,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63205
63254
|
);
|
|
63206
63255
|
}
|
|
63207
63256
|
}
|
|
63208
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
63257
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
63209
63258
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
63210
63259
|
if (typeof values.suspended === \\"boolean\\") {
|
|
63211
63260
|
// @ts-ignore: type is checked above.
|
|
@@ -63218,7 +63267,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63218
63267
|
);
|
|
63219
63268
|
}
|
|
63220
63269
|
}
|
|
63221
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
63270
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
63222
63271
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
63223
63272
|
if (typeof values.memorial === \\"boolean\\") {
|
|
63224
63273
|
// @ts-ignore: type is checked above.
|
|
@@ -63231,7 +63280,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63231
63280
|
);
|
|
63232
63281
|
}
|
|
63233
63282
|
}
|
|
63234
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
63283
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
63235
63284
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
63236
63285
|
if (typeof values.indexable === \\"boolean\\") {
|
|
63237
63286
|
// @ts-ignore: type is checked above.
|
|
@@ -63244,7 +63293,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63244
63293
|
);
|
|
63245
63294
|
}
|
|
63246
63295
|
}
|
|
63247
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
63296
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
63248
63297
|
if (\\"successor\\" in values && values.successor != null) {
|
|
63249
63298
|
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) {
|
|
63250
63299
|
// @ts-ignore: type is checked above.
|
|
@@ -63257,7 +63306,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63257
63306
|
);
|
|
63258
63307
|
}
|
|
63259
63308
|
}
|
|
63260
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
63309
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
63261
63310
|
if (\\"alias\\" in values && values.alias != null) {
|
|
63262
63311
|
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) {
|
|
63263
63312
|
// @ts-ignore: type is checked above.
|
|
@@ -63284,7 +63333,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63284
63333
|
if (Array.isArray(values.aliases) &&
|
|
63285
63334
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
63286
63335
|
// @ts-ignore: type is checked above.
|
|
63287
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
63336
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
63288
63337
|
|
|
63289
63338
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
63290
63339
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -63298,7 +63347,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63298
63347
|
);
|
|
63299
63348
|
}
|
|
63300
63349
|
}
|
|
63301
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
63350
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
63302
63351
|
if (\\"service\\" in values && values.service != null) {
|
|
63303
63352
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
63304
63353
|
// @ts-ignore: type is checked above.
|
|
@@ -63325,7 +63374,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63325
63374
|
if (Array.isArray(values.services) &&
|
|
63326
63375
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
63327
63376
|
// @ts-ignore: type is checked above.
|
|
63328
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
63377
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
63329
63378
|
|
|
63330
63379
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
63331
63380
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -63339,7 +63388,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63339
63388
|
);
|
|
63340
63389
|
}
|
|
63341
63390
|
}
|
|
63342
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
63391
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
63343
63392
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
63344
63393
|
if (typeof values.followedMessage === \\"string\\") {
|
|
63345
63394
|
// @ts-ignore: type is checked above.
|
|
@@ -63352,7 +63401,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63352
63401
|
);
|
|
63353
63402
|
}
|
|
63354
63403
|
}
|
|
63355
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
63404
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
63356
63405
|
if (\\"cat\\" in values && values.cat != null) {
|
|
63357
63406
|
if (typeof values.cat === \\"boolean\\") {
|
|
63358
63407
|
// @ts-ignore: type is checked above.
|
|
@@ -69448,7 +69497,8 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69448
69497
|
* Clones this instance, optionally updating it with the given values.
|
|
69449
69498
|
* @param values The values to update the clone with.
|
|
69450
69499
|
* @param options The options to use for cloning.
|
|
69451
|
-
* @returns The cloned instance.
|
|
69500
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
69501
|
+
* and URLs are shared with this instance.
|
|
69452
69502
|
*/
|
|
69453
69503
|
override clone(
|
|
69454
69504
|
values:
|
|
@@ -69486,7 +69536,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69486
69536
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
69487
69537
|
options = { ...options, \$warning: this._warning };
|
|
69488
69538
|
}
|
|
69489
|
-
const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
|
|
69539
|
+
const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
|
|
69490
69540
|
if (\\"accuracy\\" in values && values.accuracy != null) {
|
|
69491
69541
|
if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
|
|
69492
69542
|
// @ts-ignore: type is checked above.
|
|
@@ -69499,7 +69549,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69499
69549
|
);
|
|
69500
69550
|
}
|
|
69501
69551
|
}
|
|
69502
|
-
clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
|
|
69552
|
+
clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
|
|
69503
69553
|
if (\\"altitude\\" in values && values.altitude != null) {
|
|
69504
69554
|
if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
|
|
69505
69555
|
// @ts-ignore: type is checked above.
|
|
@@ -69512,7 +69562,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69512
69562
|
);
|
|
69513
69563
|
}
|
|
69514
69564
|
}
|
|
69515
|
-
clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
|
|
69565
|
+
clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
|
|
69516
69566
|
if (\\"latitude\\" in values && values.latitude != null) {
|
|
69517
69567
|
if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
|
|
69518
69568
|
// @ts-ignore: type is checked above.
|
|
@@ -69525,7 +69575,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69525
69575
|
);
|
|
69526
69576
|
}
|
|
69527
69577
|
}
|
|
69528
|
-
clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
|
|
69578
|
+
clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
|
|
69529
69579
|
if (\\"longitude\\" in values && values.longitude != null) {
|
|
69530
69580
|
if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
|
|
69531
69581
|
// @ts-ignore: type is checked above.
|
|
@@ -69538,7 +69588,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69538
69588
|
);
|
|
69539
69589
|
}
|
|
69540
69590
|
}
|
|
69541
|
-
clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
|
|
69591
|
+
clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
|
|
69542
69592
|
if (\\"radius\\" in values && values.radius != null) {
|
|
69543
69593
|
if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
|
|
69544
69594
|
// @ts-ignore: type is checked above.
|
|
@@ -69551,7 +69601,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69551
69601
|
);
|
|
69552
69602
|
}
|
|
69553
69603
|
}
|
|
69554
|
-
clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
|
|
69604
|
+
clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
|
|
69555
69605
|
if (\\"units\\" in values && values.units != null) {
|
|
69556
69606
|
if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
|
|
69557
69607
|
// @ts-ignore: type is checked above.
|
|
@@ -70468,7 +70518,8 @@ proofs?: (DataIntegrityProof | URL)[];describes?: Object | URL | null;}
|
|
|
70468
70518
|
* Clones this instance, optionally updating it with the given values.
|
|
70469
70519
|
* @param values The values to update the clone with.
|
|
70470
70520
|
* @param options The options to use for cloning.
|
|
70471
|
-
* @returns The cloned instance.
|
|
70521
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
70522
|
+
* and URLs are shared with this instance.
|
|
70472
70523
|
*/
|
|
70473
70524
|
override clone(
|
|
70474
70525
|
values:
|
|
@@ -70506,7 +70557,7 @@ proofs?: (DataIntegrityProof | URL)[];describes?: Object | URL | null;}
|
|
|
70506
70557
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
70507
70558
|
options = { ...options, \$warning: this._warning };
|
|
70508
70559
|
}
|
|
70509
|
-
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);
|
|
70560
|
+
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);
|
|
70510
70561
|
if (\\"describes\\" in values && values.describes != null) {
|
|
70511
70562
|
if (values.describes instanceof Object || values.describes instanceof URL) {
|
|
70512
70563
|
// @ts-ignore: type is checked above.
|
|
@@ -71166,7 +71217,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71166
71217
|
if (Array.isArray(values.exclusiveOptions) &&
|
|
71167
71218
|
values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71168
71219
|
// @ts-ignore: type is checked above.
|
|
71169
|
-
this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
|
|
71220
|
+
this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
|
|
71170
71221
|
|
|
71171
71222
|
for (let i = 0; i < values.exclusiveOptions.length; i++) {
|
|
71172
71223
|
this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
|
|
@@ -71185,7 +71236,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71185
71236
|
if (Array.isArray(values.inclusiveOptions) &&
|
|
71186
71237
|
values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71187
71238
|
// @ts-ignore: type is checked above.
|
|
71188
|
-
this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
|
|
71239
|
+
this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
|
|
71189
71240
|
|
|
71190
71241
|
for (let i = 0; i < values.inclusiveOptions.length; i++) {
|
|
71191
71242
|
this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
|
|
@@ -71243,7 +71294,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71243
71294
|
* Clones this instance, optionally updating it with the given values.
|
|
71244
71295
|
* @param values The values to update the clone with.
|
|
71245
71296
|
* @param options The options to use for cloning.
|
|
71246
|
-
* @returns The cloned instance.
|
|
71297
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
71298
|
+
* and URLs are shared with this instance.
|
|
71247
71299
|
*/
|
|
71248
71300
|
override clone(
|
|
71249
71301
|
values:
|
|
@@ -71287,13 +71339,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71287
71339
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
71288
71340
|
options = { ...options, \$warning: this._warning };
|
|
71289
71341
|
}
|
|
71290
|
-
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);
|
|
71342
|
+
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);
|
|
71291
71343
|
if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
|
|
71292
71344
|
|
|
71293
71345
|
if (Array.isArray(values.exclusiveOptions) &&
|
|
71294
71346
|
values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71295
71347
|
// @ts-ignore: type is checked above.
|
|
71296
|
-
clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
|
|
71348
|
+
clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
|
|
71297
71349
|
|
|
71298
71350
|
clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
|
|
71299
71351
|
for (let i = 0; i < values.exclusiveOptions.length; i++) {
|
|
@@ -71307,13 +71359,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71307
71359
|
);
|
|
71308
71360
|
}
|
|
71309
71361
|
}
|
|
71310
|
-
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
|
|
71362
|
+
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
|
|
71311
71363
|
if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
|
|
71312
71364
|
|
|
71313
71365
|
if (Array.isArray(values.inclusiveOptions) &&
|
|
71314
71366
|
values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71315
71367
|
// @ts-ignore: type is checked above.
|
|
71316
|
-
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
|
|
71368
|
+
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
|
|
71317
71369
|
|
|
71318
71370
|
clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
|
|
71319
71371
|
for (let i = 0; i < values.inclusiveOptions.length; i++) {
|
|
@@ -71327,7 +71379,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71327
71379
|
);
|
|
71328
71380
|
}
|
|
71329
71381
|
}
|
|
71330
|
-
clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
|
|
71382
|
+
clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
|
|
71331
71383
|
if (\\"closed\\" in values && values.closed != null) {
|
|
71332
71384
|
if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
|
|
71333
71385
|
// @ts-ignore: type is checked above.
|
|
@@ -71340,7 +71392,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71340
71392
|
);
|
|
71341
71393
|
}
|
|
71342
71394
|
}
|
|
71343
|
-
clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
|
|
71395
|
+
clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
|
|
71344
71396
|
if (\\"voters\\" in values && values.voters != null) {
|
|
71345
71397
|
if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
|
|
71346
71398
|
// @ts-ignore: type is checked above.
|
|
@@ -71353,7 +71405,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71353
71405
|
);
|
|
71354
71406
|
}
|
|
71355
71407
|
}
|
|
71356
|
-
clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
71408
|
+
clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
71357
71409
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
71358
71410
|
if (values.quoteUrl instanceof URL) {
|
|
71359
71411
|
// @ts-ignore: type is checked above.
|
|
@@ -72541,7 +72593,8 @@ instruments?: (Object | URL)[];}
|
|
|
72541
72593
|
* Clones this instance, optionally updating it with the given values.
|
|
72542
72594
|
* @param values The values to update the clone with.
|
|
72543
72595
|
* @param options The options to use for cloning.
|
|
72544
|
-
* @returns The cloned instance.
|
|
72596
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
72597
|
+
* and URLs are shared with this instance.
|
|
72545
72598
|
*/
|
|
72546
72599
|
override clone(
|
|
72547
72600
|
values:
|
|
@@ -72881,7 +72934,8 @@ instruments?: (Object | URL)[];}
|
|
|
72881
72934
|
* Clones this instance, optionally updating it with the given values.
|
|
72882
72935
|
* @param values The values to update the clone with.
|
|
72883
72936
|
* @param options The options to use for cloning.
|
|
72884
|
-
* @returns The cloned instance.
|
|
72937
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
72938
|
+
* and URLs are shared with this instance.
|
|
72885
72939
|
*/
|
|
72886
72940
|
override clone(
|
|
72887
72941
|
values:
|
|
@@ -73269,7 +73323,7 @@ relationships?: (Object | URL)[];}
|
|
|
73269
73323
|
if (Array.isArray(values.objects) &&
|
|
73270
73324
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
73271
73325
|
// @ts-ignore: type is checked above.
|
|
73272
|
-
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
73326
|
+
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
73273
73327
|
|
|
73274
73328
|
for (let i = 0; i < values.objects.length; i++) {
|
|
73275
73329
|
this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
|
|
@@ -73309,7 +73363,7 @@ relationships?: (Object | URL)[];}
|
|
|
73309
73363
|
if (Array.isArray(values.relationships) &&
|
|
73310
73364
|
values.relationships.every(v => v instanceof Object || v instanceof URL)) {
|
|
73311
73365
|
// @ts-ignore: type is checked above.
|
|
73312
|
-
this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
|
|
73366
|
+
this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
|
|
73313
73367
|
|
|
73314
73368
|
for (let i = 0; i < values.relationships.length; i++) {
|
|
73315
73369
|
this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
|
|
@@ -73328,7 +73382,8 @@ relationships?: (Object | URL)[];}
|
|
|
73328
73382
|
* Clones this instance, optionally updating it with the given values.
|
|
73329
73383
|
* @param values The values to update the clone with.
|
|
73330
73384
|
* @param options The options to use for cloning.
|
|
73331
|
-
* @returns The cloned instance.
|
|
73385
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
73386
|
+
* and URLs are shared with this instance.
|
|
73332
73387
|
*/
|
|
73333
73388
|
override clone(
|
|
73334
73389
|
values:
|
|
@@ -73368,7 +73423,7 @@ relationships?: (Object | URL)[];}
|
|
|
73368
73423
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
73369
73424
|
options = { ...options, \$warning: this._warning };
|
|
73370
73425
|
}
|
|
73371
|
-
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);
|
|
73426
|
+
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);
|
|
73372
73427
|
if (\\"subject\\" in values && values.subject != null) {
|
|
73373
73428
|
if (values.subject instanceof Object || values.subject instanceof URL) {
|
|
73374
73429
|
// @ts-ignore: type is checked above.
|
|
@@ -73381,7 +73436,7 @@ relationships?: (Object | URL)[];}
|
|
|
73381
73436
|
);
|
|
73382
73437
|
}
|
|
73383
73438
|
}
|
|
73384
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
73439
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
73385
73440
|
if (\\"object\\" in values && values.object != null) {
|
|
73386
73441
|
if (values.object instanceof Object || values.object instanceof URL) {
|
|
73387
73442
|
// @ts-ignore: type is checked above.
|
|
@@ -73408,7 +73463,7 @@ relationships?: (Object | URL)[];}
|
|
|
73408
73463
|
if (Array.isArray(values.objects) &&
|
|
73409
73464
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
73410
73465
|
// @ts-ignore: type is checked above.
|
|
73411
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
73466
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
73412
73467
|
|
|
73413
73468
|
clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
|
|
73414
73469
|
for (let i = 0; i < values.objects.length; i++) {
|
|
@@ -73422,7 +73477,7 @@ relationships?: (Object | URL)[];}
|
|
|
73422
73477
|
);
|
|
73423
73478
|
}
|
|
73424
73479
|
}
|
|
73425
|
-
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
|
|
73480
|
+
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
|
|
73426
73481
|
if (\\"relationship\\" in values && values.relationship != null) {
|
|
73427
73482
|
if (values.relationship instanceof Object || values.relationship instanceof URL) {
|
|
73428
73483
|
// @ts-ignore: type is checked above.
|
|
@@ -73449,7 +73504,7 @@ relationships?: (Object | URL)[];}
|
|
|
73449
73504
|
if (Array.isArray(values.relationships) &&
|
|
73450
73505
|
values.relationships.every(v => v instanceof Object || v instanceof URL)) {
|
|
73451
73506
|
// @ts-ignore: type is checked above.
|
|
73452
|
-
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
|
|
73507
|
+
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
|
|
73453
73508
|
|
|
73454
73509
|
clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
|
|
73455
73510
|
for (let i = 0; i < values.relationships.length; i++) {
|
|
@@ -74957,7 +75012,8 @@ instruments?: (Object | URL)[];}
|
|
|
74957
75012
|
* Clones this instance, optionally updating it with the given values.
|
|
74958
75013
|
* @param values The values to update the clone with.
|
|
74959
75014
|
* @param options The options to use for cloning.
|
|
74960
|
-
* @returns The cloned instance.
|
|
75015
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
75016
|
+
* and URLs are shared with this instance.
|
|
74961
75017
|
*/
|
|
74962
75018
|
override clone(
|
|
74963
75019
|
values:
|
|
@@ -75363,7 +75419,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75363
75419
|
if (Array.isArray(values.preferredUsernames) &&
|
|
75364
75420
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
75365
75421
|
// @ts-ignore: type is checked above.
|
|
75366
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
75422
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
75367
75423
|
|
|
75368
75424
|
} else {
|
|
75369
75425
|
throw new TypeError(
|
|
@@ -75399,7 +75455,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75399
75455
|
if (Array.isArray(values.publicKeys) &&
|
|
75400
75456
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
75401
75457
|
// @ts-ignore: type is checked above.
|
|
75402
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
75458
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
75403
75459
|
|
|
75404
75460
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
75405
75461
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -75439,7 +75495,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75439
75495
|
if (Array.isArray(values.assertionMethods) &&
|
|
75440
75496
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
75441
75497
|
// @ts-ignore: type is checked above.
|
|
75442
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
75498
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
75443
75499
|
|
|
75444
75500
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
75445
75501
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -75562,7 +75618,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75562
75618
|
if (Array.isArray(values.streams) &&
|
|
75563
75619
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
75564
75620
|
// @ts-ignore: type is checked above.
|
|
75565
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
75621
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
75566
75622
|
|
|
75567
75623
|
for (let i = 0; i < values.streams.length; i++) {
|
|
75568
75624
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -75680,7 +75736,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75680
75736
|
if (Array.isArray(values.aliases) &&
|
|
75681
75737
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
75682
75738
|
// @ts-ignore: type is checked above.
|
|
75683
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
75739
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
75684
75740
|
|
|
75685
75741
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
75686
75742
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -75720,7 +75776,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75720
75776
|
if (Array.isArray(values.services) &&
|
|
75721
75777
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
75722
75778
|
// @ts-ignore: type is checked above.
|
|
75723
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
75779
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
75724
75780
|
|
|
75725
75781
|
for (let i = 0; i < values.services.length; i++) {
|
|
75726
75782
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -75765,7 +75821,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75765
75821
|
* Clones this instance, optionally updating it with the given values.
|
|
75766
75822
|
* @param values The values to update the clone with.
|
|
75767
75823
|
* @param options The options to use for cloning.
|
|
75768
|
-
* @returns The cloned instance.
|
|
75824
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
75825
|
+
* and URLs are shared with this instance.
|
|
75769
75826
|
*/
|
|
75770
75827
|
override clone(
|
|
75771
75828
|
values:
|
|
@@ -75808,7 +75865,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75808
75865
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
75809
75866
|
options = { ...options, \$warning: this._warning };
|
|
75810
75867
|
}
|
|
75811
|
-
const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
75868
|
+
const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
75812
75869
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
75813
75870
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
75814
75871
|
// @ts-ignore: type is checked above.
|
|
@@ -75835,7 +75892,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75835
75892
|
if (Array.isArray(values.preferredUsernames) &&
|
|
75836
75893
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
75837
75894
|
// @ts-ignore: type is checked above.
|
|
75838
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
75895
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
75839
75896
|
|
|
75840
75897
|
} else {
|
|
75841
75898
|
throw new TypeError(
|
|
@@ -75844,7 +75901,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75844
75901
|
);
|
|
75845
75902
|
}
|
|
75846
75903
|
}
|
|
75847
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
75904
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
75848
75905
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
75849
75906
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
75850
75907
|
// @ts-ignore: type is checked above.
|
|
@@ -75871,7 +75928,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75871
75928
|
if (Array.isArray(values.publicKeys) &&
|
|
75872
75929
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
75873
75930
|
// @ts-ignore: type is checked above.
|
|
75874
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
75931
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
75875
75932
|
|
|
75876
75933
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
75877
75934
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -75885,7 +75942,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75885
75942
|
);
|
|
75886
75943
|
}
|
|
75887
75944
|
}
|
|
75888
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
75945
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
75889
75946
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
75890
75947
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
75891
75948
|
// @ts-ignore: type is checked above.
|
|
@@ -75912,7 +75969,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75912
75969
|
if (Array.isArray(values.assertionMethods) &&
|
|
75913
75970
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
75914
75971
|
// @ts-ignore: type is checked above.
|
|
75915
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
75972
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
75916
75973
|
|
|
75917
75974
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
75918
75975
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -75926,7 +75983,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75926
75983
|
);
|
|
75927
75984
|
}
|
|
75928
75985
|
}
|
|
75929
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
75986
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
75930
75987
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
75931
75988
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
75932
75989
|
// @ts-ignore: type is checked above.
|
|
@@ -75939,7 +75996,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75939
75996
|
);
|
|
75940
75997
|
}
|
|
75941
75998
|
}
|
|
75942
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
75999
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
75943
76000
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
75944
76001
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
75945
76002
|
// @ts-ignore: type is checked above.
|
|
@@ -75952,7 +76009,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75952
76009
|
);
|
|
75953
76010
|
}
|
|
75954
76011
|
}
|
|
75955
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
76012
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
75956
76013
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
75957
76014
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
75958
76015
|
// @ts-ignore: type is checked above.
|
|
@@ -75965,7 +76022,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75965
76022
|
);
|
|
75966
76023
|
}
|
|
75967
76024
|
}
|
|
75968
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
76025
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
75969
76026
|
if (\\"following\\" in values && values.following != null) {
|
|
75970
76027
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
75971
76028
|
// @ts-ignore: type is checked above.
|
|
@@ -75978,7 +76035,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75978
76035
|
);
|
|
75979
76036
|
}
|
|
75980
76037
|
}
|
|
75981
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
76038
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
75982
76039
|
if (\\"followers\\" in values && values.followers != null) {
|
|
75983
76040
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
75984
76041
|
// @ts-ignore: type is checked above.
|
|
@@ -75991,7 +76048,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75991
76048
|
);
|
|
75992
76049
|
}
|
|
75993
76050
|
}
|
|
75994
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
76051
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
75995
76052
|
if (\\"liked\\" in values && values.liked != null) {
|
|
75996
76053
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
75997
76054
|
// @ts-ignore: type is checked above.
|
|
@@ -76004,7 +76061,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76004
76061
|
);
|
|
76005
76062
|
}
|
|
76006
76063
|
}
|
|
76007
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
76064
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
76008
76065
|
if (\\"featured\\" in values && values.featured != null) {
|
|
76009
76066
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
76010
76067
|
// @ts-ignore: type is checked above.
|
|
@@ -76017,7 +76074,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76017
76074
|
);
|
|
76018
76075
|
}
|
|
76019
76076
|
}
|
|
76020
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
76077
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
76021
76078
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
76022
76079
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
76023
76080
|
// @ts-ignore: type is checked above.
|
|
@@ -76030,13 +76087,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76030
76087
|
);
|
|
76031
76088
|
}
|
|
76032
76089
|
}
|
|
76033
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
76090
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
76034
76091
|
if (\\"streams\\" in values && values.streams != null) {
|
|
76035
76092
|
|
|
76036
76093
|
if (Array.isArray(values.streams) &&
|
|
76037
76094
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
76038
76095
|
// @ts-ignore: type is checked above.
|
|
76039
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
76096
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
76040
76097
|
|
|
76041
76098
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
76042
76099
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -76050,7 +76107,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76050
76107
|
);
|
|
76051
76108
|
}
|
|
76052
76109
|
}
|
|
76053
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
76110
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
76054
76111
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
76055
76112
|
if (values.endpoints instanceof Endpoints) {
|
|
76056
76113
|
// @ts-ignore: type is checked above.
|
|
@@ -76063,7 +76120,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76063
76120
|
);
|
|
76064
76121
|
}
|
|
76065
76122
|
}
|
|
76066
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
76123
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
76067
76124
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
76068
76125
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
76069
76126
|
// @ts-ignore: type is checked above.
|
|
@@ -76076,7 +76133,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76076
76133
|
);
|
|
76077
76134
|
}
|
|
76078
76135
|
}
|
|
76079
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
76136
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
76080
76137
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
76081
76138
|
if (typeof values.suspended === \\"boolean\\") {
|
|
76082
76139
|
// @ts-ignore: type is checked above.
|
|
@@ -76089,7 +76146,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76089
76146
|
);
|
|
76090
76147
|
}
|
|
76091
76148
|
}
|
|
76092
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
76149
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
76093
76150
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
76094
76151
|
if (typeof values.memorial === \\"boolean\\") {
|
|
76095
76152
|
// @ts-ignore: type is checked above.
|
|
@@ -76102,7 +76159,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76102
76159
|
);
|
|
76103
76160
|
}
|
|
76104
76161
|
}
|
|
76105
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
76162
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
76106
76163
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
76107
76164
|
if (typeof values.indexable === \\"boolean\\") {
|
|
76108
76165
|
// @ts-ignore: type is checked above.
|
|
@@ -76115,7 +76172,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76115
76172
|
);
|
|
76116
76173
|
}
|
|
76117
76174
|
}
|
|
76118
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
76175
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
76119
76176
|
if (\\"successor\\" in values && values.successor != null) {
|
|
76120
76177
|
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) {
|
|
76121
76178
|
// @ts-ignore: type is checked above.
|
|
@@ -76128,7 +76185,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76128
76185
|
);
|
|
76129
76186
|
}
|
|
76130
76187
|
}
|
|
76131
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
76188
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
76132
76189
|
if (\\"alias\\" in values && values.alias != null) {
|
|
76133
76190
|
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) {
|
|
76134
76191
|
// @ts-ignore: type is checked above.
|
|
@@ -76155,7 +76212,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76155
76212
|
if (Array.isArray(values.aliases) &&
|
|
76156
76213
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
76157
76214
|
// @ts-ignore: type is checked above.
|
|
76158
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
76215
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
76159
76216
|
|
|
76160
76217
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
76161
76218
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -76169,7 +76226,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76169
76226
|
);
|
|
76170
76227
|
}
|
|
76171
76228
|
}
|
|
76172
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
76229
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
76173
76230
|
if (\\"service\\" in values && values.service != null) {
|
|
76174
76231
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
76175
76232
|
// @ts-ignore: type is checked above.
|
|
@@ -76196,7 +76253,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76196
76253
|
if (Array.isArray(values.services) &&
|
|
76197
76254
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
76198
76255
|
// @ts-ignore: type is checked above.
|
|
76199
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
76256
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
76200
76257
|
|
|
76201
76258
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
76202
76259
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -76210,7 +76267,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76210
76267
|
);
|
|
76211
76268
|
}
|
|
76212
76269
|
}
|
|
76213
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
76270
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
76214
76271
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
76215
76272
|
if (typeof values.followedMessage === \\"string\\") {
|
|
76216
76273
|
// @ts-ignore: type is checked above.
|
|
@@ -76223,7 +76280,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76223
76280
|
);
|
|
76224
76281
|
}
|
|
76225
76282
|
}
|
|
76226
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
76283
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
76227
76284
|
if (\\"cat\\" in values && values.cat != null) {
|
|
76228
76285
|
if (typeof values.cat === \\"boolean\\") {
|
|
76229
76286
|
// @ts-ignore: type is checked above.
|
|
@@ -82310,7 +82367,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82310
82367
|
if (Array.isArray(values.contents) &&
|
|
82311
82368
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
82312
82369
|
// @ts-ignore: type is checked above.
|
|
82313
|
-
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
82370
|
+
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
82314
82371
|
|
|
82315
82372
|
} else {
|
|
82316
82373
|
throw new TypeError(
|
|
@@ -82338,7 +82395,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82338
82395
|
* Clones this instance, optionally updating it with the given values.
|
|
82339
82396
|
* @param values The values to update the clone with.
|
|
82340
82397
|
* @param options The options to use for cloning.
|
|
82341
|
-
* @returns The cloned instance.
|
|
82398
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
82399
|
+
* and URLs are shared with this instance.
|
|
82342
82400
|
*/
|
|
82343
82401
|
clone(
|
|
82344
82402
|
values:
|
|
@@ -82367,7 +82425,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82367
82425
|
{ id: values.id ?? this.id },
|
|
82368
82426
|
options
|
|
82369
82427
|
);
|
|
82370
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
|
|
82428
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
|
|
82371
82429
|
if (\\"content\\" in values && values.content != null) {
|
|
82372
82430
|
if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
|
|
82373
82431
|
// @ts-ignore: type is checked above.
|
|
@@ -82394,7 +82452,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82394
82452
|
if (Array.isArray(values.contents) &&
|
|
82395
82453
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
82396
82454
|
// @ts-ignore: type is checked above.
|
|
82397
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
82455
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
82398
82456
|
|
|
82399
82457
|
} else {
|
|
82400
82458
|
throw new TypeError(
|
|
@@ -82403,7 +82461,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82403
82461
|
);
|
|
82404
82462
|
}
|
|
82405
82463
|
}
|
|
82406
|
-
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
|
|
82464
|
+
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
|
|
82407
82465
|
if (\\"mediaType\\" in values && values.mediaType != null) {
|
|
82408
82466
|
if (typeof values.mediaType === \\"string\\") {
|
|
82409
82467
|
// @ts-ignore: type is checked above.
|
|
@@ -82920,7 +82978,8 @@ instruments?: (Object | URL)[];}
|
|
|
82920
82978
|
* Clones this instance, optionally updating it with the given values.
|
|
82921
82979
|
* @param values The values to update the clone with.
|
|
82922
82980
|
* @param options The options to use for cloning.
|
|
82923
|
-
* @returns The cloned instance.
|
|
82981
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
82982
|
+
* and URLs are shared with this instance.
|
|
82924
82983
|
*/
|
|
82925
82984
|
override clone(
|
|
82926
82985
|
values:
|
|
@@ -83260,7 +83319,8 @@ instruments?: (Object | URL)[];}
|
|
|
83260
83319
|
* Clones this instance, optionally updating it with the given values.
|
|
83261
83320
|
* @param values The values to update the clone with.
|
|
83262
83321
|
* @param options The options to use for cloning.
|
|
83263
|
-
* @returns The cloned instance.
|
|
83322
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
83323
|
+
* and URLs are shared with this instance.
|
|
83264
83324
|
*/
|
|
83265
83325
|
override clone(
|
|
83266
83326
|
values:
|
|
@@ -83609,7 +83669,8 @@ proofs?: (DataIntegrityProof | URL)[];deleted?: Temporal.Instant | null;}
|
|
|
83609
83669
|
* Clones this instance, optionally updating it with the given values.
|
|
83610
83670
|
* @param values The values to update the clone with.
|
|
83611
83671
|
* @param options The options to use for cloning.
|
|
83612
|
-
* @returns The cloned instance.
|
|
83672
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
83673
|
+
* and URLs are shared with this instance.
|
|
83613
83674
|
*/
|
|
83614
83675
|
override clone(
|
|
83615
83676
|
values:
|
|
@@ -83647,7 +83708,7 @@ proofs?: (DataIntegrityProof | URL)[];deleted?: Temporal.Instant | null;}
|
|
|
83647
83708
|
// @ts-ignore: \$warning is not recognized as a property, but it is.
|
|
83648
83709
|
options = { ...options, \$warning: this._warning };
|
|
83649
83710
|
}
|
|
83650
|
-
const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
|
|
83711
|
+
const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
|
|
83651
83712
|
if (\\"deleted\\" in values && values.deleted != null) {
|
|
83652
83713
|
if (isTemporalInstant(values.deleted)) {
|
|
83653
83714
|
// @ts-ignore: type is checked above.
|
|
@@ -84072,7 +84133,8 @@ instruments?: (Object | URL)[];}
|
|
|
84072
84133
|
* Clones this instance, optionally updating it with the given values.
|
|
84073
84134
|
* @param values The values to update the clone with.
|
|
84074
84135
|
* @param options The options to use for cloning.
|
|
84075
|
-
* @returns The cloned instance.
|
|
84136
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
84137
|
+
* and URLs are shared with this instance.
|
|
84076
84138
|
*/
|
|
84077
84139
|
override clone(
|
|
84078
84140
|
values:
|
|
@@ -84417,7 +84479,8 @@ instruments?: (Object | URL)[];}
|
|
|
84417
84479
|
* Clones this instance, optionally updating it with the given values.
|
|
84418
84480
|
* @param values The values to update the clone with.
|
|
84419
84481
|
* @param options The options to use for cloning.
|
|
84420
|
-
* @returns The cloned instance.
|
|
84482
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
84483
|
+
* and URLs are shared with this instance.
|
|
84421
84484
|
*/
|
|
84422
84485
|
override clone(
|
|
84423
84486
|
values:
|
|
@@ -84760,7 +84823,8 @@ instruments?: (Object | URL)[];}
|
|
|
84760
84823
|
* Clones this instance, optionally updating it with the given values.
|
|
84761
84824
|
* @param values The values to update the clone with.
|
|
84762
84825
|
* @param options The options to use for cloning.
|
|
84763
|
-
* @returns The cloned instance.
|
|
84826
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
84827
|
+
* and URLs are shared with this instance.
|
|
84764
84828
|
*/
|
|
84765
84829
|
override clone(
|
|
84766
84830
|
values:
|
|
@@ -85092,7 +85156,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
85092
85156
|
* Clones this instance, optionally updating it with the given values.
|
|
85093
85157
|
* @param values The values to update the clone with.
|
|
85094
85158
|
* @param options The options to use for cloning.
|
|
85095
|
-
* @returns The cloned instance.
|
|
85159
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
85160
|
+
* and URLs are shared with this instance.
|
|
85096
85161
|
*/
|
|
85097
85162
|
override clone(
|
|
85098
85163
|
values:
|
|
@@ -85442,7 +85507,8 @@ instruments?: (Object | URL)[];}
|
|
|
85442
85507
|
* Clones this instance, optionally updating it with the given values.
|
|
85443
85508
|
* @param values The values to update the clone with.
|
|
85444
85509
|
* @param options The options to use for cloning.
|
|
85445
|
-
* @returns The cloned instance.
|
|
85510
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
85511
|
+
* and URLs are shared with this instance.
|
|
85446
85512
|
*/
|
|
85447
85513
|
override clone(
|
|
85448
85514
|
values:
|