@fedify/vocab-tools 2.0.30-dev.2202 → 2.0.31-dev.2273
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
|
@@ -239,7 +239,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
239
239
|
if (Array.isArray(values.attachments) &&
|
|
240
240
|
values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
|
|
241
241
|
// @ts-ignore: type is checked above.
|
|
242
|
-
this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
|
|
242
|
+
this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
|
|
243
243
|
|
|
244
244
|
for (let i = 0; i < values.attachments.length; i++) {
|
|
245
245
|
this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment.add(i);
|
|
@@ -279,7 +279,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
279
279
|
if (Array.isArray(values.attributions) &&
|
|
280
280
|
values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
281
281
|
// @ts-ignore: type is checked above.
|
|
282
|
-
this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
|
|
282
|
+
this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
|
|
283
283
|
|
|
284
284
|
for (let i = 0; i < values.attributions.length; i++) {
|
|
285
285
|
this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.add(i);
|
|
@@ -319,7 +319,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
319
319
|
if (Array.isArray(values.audiences) &&
|
|
320
320
|
values.audiences.every(v => v instanceof Object || v instanceof URL)) {
|
|
321
321
|
// @ts-ignore: type is checked above.
|
|
322
|
-
this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
|
|
322
|
+
this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
|
|
323
323
|
|
|
324
324
|
for (let i = 0; i < values.audiences.length; i++) {
|
|
325
325
|
this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.add(i);
|
|
@@ -359,7 +359,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
359
359
|
if (Array.isArray(values.contents) &&
|
|
360
360
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
361
361
|
// @ts-ignore: type is checked above.
|
|
362
|
-
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
362
|
+
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
363
363
|
|
|
364
364
|
} else {
|
|
365
365
|
throw new TypeError(
|
|
@@ -374,7 +374,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
374
374
|
if (Array.isArray(values.contexts) &&
|
|
375
375
|
values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
376
376
|
// @ts-ignore: type is checked above.
|
|
377
|
-
this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
|
|
377
|
+
this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
|
|
378
378
|
|
|
379
379
|
for (let i = 0; i < values.contexts.length; i++) {
|
|
380
380
|
this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context.add(i);
|
|
@@ -414,7 +414,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
414
414
|
if (Array.isArray(values.names) &&
|
|
415
415
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
416
416
|
// @ts-ignore: type is checked above.
|
|
417
|
-
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
417
|
+
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
418
418
|
|
|
419
419
|
} else {
|
|
420
420
|
throw new TypeError(
|
|
@@ -442,7 +442,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
442
442
|
if (Array.isArray(values.generators) &&
|
|
443
443
|
values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
444
444
|
// @ts-ignore: type is checked above.
|
|
445
|
-
this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
|
|
445
|
+
this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
|
|
446
446
|
|
|
447
447
|
for (let i = 0; i < values.generators.length; i++) {
|
|
448
448
|
this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator.add(i);
|
|
@@ -482,7 +482,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
482
482
|
if (Array.isArray(values.icons) &&
|
|
483
483
|
values.icons.every(v => v instanceof Image || v instanceof URL)) {
|
|
484
484
|
// @ts-ignore: type is checked above.
|
|
485
|
-
this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
|
|
485
|
+
this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
|
|
486
486
|
|
|
487
487
|
for (let i = 0; i < values.icons.length; i++) {
|
|
488
488
|
this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.add(i);
|
|
@@ -522,7 +522,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
522
522
|
if (Array.isArray(values.images) &&
|
|
523
523
|
values.images.every(v => v instanceof Image || v instanceof URL)) {
|
|
524
524
|
// @ts-ignore: type is checked above.
|
|
525
|
-
this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
|
|
525
|
+
this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
|
|
526
526
|
|
|
527
527
|
for (let i = 0; i < values.images.length; i++) {
|
|
528
528
|
this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.add(i);
|
|
@@ -562,7 +562,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
562
562
|
if (Array.isArray(values.replyTargets) &&
|
|
563
563
|
values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
564
564
|
// @ts-ignore: type is checked above.
|
|
565
|
-
this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
|
|
565
|
+
this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
|
|
566
566
|
|
|
567
567
|
for (let i = 0; i < values.replyTargets.length; i++) {
|
|
568
568
|
this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.add(i);
|
|
@@ -602,7 +602,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
602
602
|
if (Array.isArray(values.locations) &&
|
|
603
603
|
values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
604
604
|
// @ts-ignore: type is checked above.
|
|
605
|
-
this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
|
|
605
|
+
this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
|
|
606
606
|
|
|
607
607
|
for (let i = 0; i < values.locations.length; i++) {
|
|
608
608
|
this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.add(i);
|
|
@@ -642,7 +642,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
642
642
|
if (Array.isArray(values.previews) &&
|
|
643
643
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
644
644
|
// @ts-ignore: type is checked above.
|
|
645
|
-
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
645
|
+
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
646
646
|
|
|
647
647
|
for (let i = 0; i < values.previews.length; i++) {
|
|
648
648
|
this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
|
|
@@ -760,7 +760,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
760
760
|
if (Array.isArray(values.summaries) &&
|
|
761
761
|
values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
762
762
|
// @ts-ignore: type is checked above.
|
|
763
|
-
this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
|
|
763
|
+
this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
|
|
764
764
|
|
|
765
765
|
} else {
|
|
766
766
|
throw new TypeError(
|
|
@@ -775,7 +775,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
775
775
|
if (Array.isArray(values.tags) &&
|
|
776
776
|
values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
777
777
|
// @ts-ignore: type is checked above.
|
|
778
|
-
this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
|
|
778
|
+
this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
|
|
779
779
|
|
|
780
780
|
for (let i = 0; i < values.tags.length; i++) {
|
|
781
781
|
this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
|
|
@@ -828,7 +828,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
828
828
|
if (Array.isArray(values.urls) &&
|
|
829
829
|
values.urls.every(v => v instanceof URL || v instanceof Link)) {
|
|
830
830
|
// @ts-ignore: type is checked above.
|
|
831
|
-
this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
|
|
831
|
+
this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
|
|
832
832
|
|
|
833
833
|
} else {
|
|
834
834
|
throw new TypeError(
|
|
@@ -864,7 +864,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
864
864
|
if (Array.isArray(values.tos) &&
|
|
865
865
|
values.tos.every(v => v instanceof Object || v instanceof URL)) {
|
|
866
866
|
// @ts-ignore: type is checked above.
|
|
867
|
-
this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
|
|
867
|
+
this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
|
|
868
868
|
|
|
869
869
|
for (let i = 0; i < values.tos.length; i++) {
|
|
870
870
|
this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.add(i);
|
|
@@ -904,7 +904,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
904
904
|
if (Array.isArray(values.btos) &&
|
|
905
905
|
values.btos.every(v => v instanceof Object || v instanceof URL)) {
|
|
906
906
|
// @ts-ignore: type is checked above.
|
|
907
|
-
this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
|
|
907
|
+
this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
|
|
908
908
|
|
|
909
909
|
for (let i = 0; i < values.btos.length; i++) {
|
|
910
910
|
this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.add(i);
|
|
@@ -944,7 +944,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
944
944
|
if (Array.isArray(values.ccs) &&
|
|
945
945
|
values.ccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
946
946
|
// @ts-ignore: type is checked above.
|
|
947
|
-
this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
|
|
947
|
+
this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
|
|
948
948
|
|
|
949
949
|
for (let i = 0; i < values.ccs.length; i++) {
|
|
950
950
|
this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.add(i);
|
|
@@ -984,7 +984,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
984
984
|
if (Array.isArray(values.bccs) &&
|
|
985
985
|
values.bccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
986
986
|
// @ts-ignore: type is checked above.
|
|
987
|
-
this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
|
|
987
|
+
this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
|
|
988
988
|
|
|
989
989
|
for (let i = 0; i < values.bccs.length; i++) {
|
|
990
990
|
this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.add(i);
|
|
@@ -1076,7 +1076,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1076
1076
|
if (Array.isArray(values.proofs) &&
|
|
1077
1077
|
values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
|
|
1078
1078
|
// @ts-ignore: type is checked above.
|
|
1079
|
-
this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
|
|
1079
|
+
this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
|
|
1080
1080
|
|
|
1081
1081
|
for (let i = 0; i < values.proofs.length; i++) {
|
|
1082
1082
|
this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.add(i);
|
|
@@ -1095,7 +1095,8 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1095
1095
|
* Clones this instance, optionally updating it with the given values.
|
|
1096
1096
|
* @param values The values to update the clone with.
|
|
1097
1097
|
* @param options The options to use for cloning.
|
|
1098
|
-
* @returns The cloned instance.
|
|
1098
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
1099
|
+
* and URLs are shared with this instance.
|
|
1099
1100
|
*/
|
|
1100
1101
|
clone(
|
|
1101
1102
|
values:
|
|
@@ -1139,13 +1140,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1139
1140
|
{ id: values.id ?? this.id },
|
|
1140
1141
|
options
|
|
1141
1142
|
);
|
|
1142
|
-
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment;clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
|
|
1143
|
+
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = this.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment.slice();clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set(this.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment);
|
|
1143
1144
|
if (\\"attachments\\" in values && values.attachments != null) {
|
|
1144
1145
|
|
|
1145
1146
|
if (Array.isArray(values.attachments) &&
|
|
1146
1147
|
values.attachments.every(v => v instanceof Object || v instanceof Link || v instanceof PropertyValue || v instanceof URL)) {
|
|
1147
1148
|
// @ts-ignore: type is checked above.
|
|
1148
|
-
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments;
|
|
1149
|
+
clone.#_49BipA5dq9eoH8LX8xdsVumveTca_attachment = values.attachments.slice();
|
|
1149
1150
|
|
|
1150
1151
|
clone.#_trust_49BipA5dq9eoH8LX8xdsVumveTca_attachment = new Set();
|
|
1151
1152
|
for (let i = 0; i < values.attachments.length; i++) {
|
|
@@ -1159,7 +1160,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1159
1160
|
);
|
|
1160
1161
|
}
|
|
1161
1162
|
}
|
|
1162
|
-
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo;clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
|
|
1163
|
+
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = this.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo.slice();clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set(this.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo);
|
|
1163
1164
|
if (\\"attribution\\" in values && values.attribution != null) {
|
|
1164
1165
|
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) {
|
|
1165
1166
|
// @ts-ignore: type is checked above.
|
|
@@ -1186,7 +1187,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1186
1187
|
if (Array.isArray(values.attributions) &&
|
|
1187
1188
|
values.attributions.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
1188
1189
|
// @ts-ignore: type is checked above.
|
|
1189
|
-
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions;
|
|
1190
|
+
clone.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = values.attributions.slice();
|
|
1190
1191
|
|
|
1191
1192
|
clone.#_trust_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py_attributedTo = new Set();
|
|
1192
1193
|
for (let i = 0; i < values.attributions.length; i++) {
|
|
@@ -1200,7 +1201,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1200
1201
|
);
|
|
1201
1202
|
}
|
|
1202
1203
|
}
|
|
1203
|
-
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience;clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
|
|
1204
|
+
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = this.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience.slice();clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set(this.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience);
|
|
1204
1205
|
if (\\"audience\\" in values && values.audience != null) {
|
|
1205
1206
|
if (values.audience instanceof Object || values.audience instanceof URL) {
|
|
1206
1207
|
// @ts-ignore: type is checked above.
|
|
@@ -1227,7 +1228,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1227
1228
|
if (Array.isArray(values.audiences) &&
|
|
1228
1229
|
values.audiences.every(v => v instanceof Object || v instanceof URL)) {
|
|
1229
1230
|
// @ts-ignore: type is checked above.
|
|
1230
|
-
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences;
|
|
1231
|
+
clone.#_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = values.audiences.slice();
|
|
1231
1232
|
|
|
1232
1233
|
clone.#_trust_3ocC3VVi88cEd5sPWL8djkZsvTN6_audience = new Set();
|
|
1233
1234
|
for (let i = 0; i < values.audiences.length; i++) {
|
|
@@ -1241,7 +1242,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1241
1242
|
);
|
|
1242
1243
|
}
|
|
1243
1244
|
}
|
|
1244
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
|
|
1245
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
|
|
1245
1246
|
if (\\"content\\" in values && values.content != null) {
|
|
1246
1247
|
if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
|
|
1247
1248
|
// @ts-ignore: type is checked above.
|
|
@@ -1268,7 +1269,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1268
1269
|
if (Array.isArray(values.contents) &&
|
|
1269
1270
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
1270
1271
|
// @ts-ignore: type is checked above.
|
|
1271
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
1272
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
1272
1273
|
|
|
1273
1274
|
} else {
|
|
1274
1275
|
throw new TypeError(
|
|
@@ -1277,13 +1278,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1277
1278
|
);
|
|
1278
1279
|
}
|
|
1279
1280
|
}
|
|
1280
|
-
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context;clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
|
|
1281
|
+
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = this.#_3mhZzGXSpQ431mBSz2kvych22v4e_context.slice();clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set(this.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context);
|
|
1281
1282
|
if (\\"contexts\\" in values && values.contexts != null) {
|
|
1282
1283
|
|
|
1283
1284
|
if (Array.isArray(values.contexts) &&
|
|
1284
1285
|
values.contexts.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1285
1286
|
// @ts-ignore: type is checked above.
|
|
1286
|
-
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts;
|
|
1287
|
+
clone.#_3mhZzGXSpQ431mBSz2kvych22v4e_context = values.contexts.slice();
|
|
1287
1288
|
|
|
1288
1289
|
clone.#_trust_3mhZzGXSpQ431mBSz2kvych22v4e_context = new Set();
|
|
1289
1290
|
for (let i = 0; i < values.contexts.length; i++) {
|
|
@@ -1297,7 +1298,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1297
1298
|
);
|
|
1298
1299
|
}
|
|
1299
1300
|
}
|
|
1300
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
|
|
1301
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
|
|
1301
1302
|
if (\\"name\\" in values && values.name != null) {
|
|
1302
1303
|
if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
|
|
1303
1304
|
// @ts-ignore: type is checked above.
|
|
@@ -1324,7 +1325,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1324
1325
|
if (Array.isArray(values.names) &&
|
|
1325
1326
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
1326
1327
|
// @ts-ignore: type is checked above.
|
|
1327
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
1328
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
1328
1329
|
|
|
1329
1330
|
} else {
|
|
1330
1331
|
throw new TypeError(
|
|
@@ -1333,7 +1334,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1333
1334
|
);
|
|
1334
1335
|
}
|
|
1335
1336
|
}
|
|
1336
|
-
clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
|
|
1337
|
+
clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.slice();
|
|
1337
1338
|
if (\\"endTime\\" in values && values.endTime != null) {
|
|
1338
1339
|
if (isTemporalInstant(values.endTime)) {
|
|
1339
1340
|
// @ts-ignore: type is checked above.
|
|
@@ -1346,13 +1347,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1346
1347
|
);
|
|
1347
1348
|
}
|
|
1348
1349
|
}
|
|
1349
|
-
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
|
|
1350
|
+
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator.slice();clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
|
|
1350
1351
|
if (\\"generators\\" in values && values.generators != null) {
|
|
1351
1352
|
|
|
1352
1353
|
if (Array.isArray(values.generators) &&
|
|
1353
1354
|
values.generators.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1354
1355
|
// @ts-ignore: type is checked above.
|
|
1355
|
-
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
|
|
1356
|
+
clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators.slice();
|
|
1356
1357
|
|
|
1357
1358
|
clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set();
|
|
1358
1359
|
for (let i = 0; i < values.generators.length; i++) {
|
|
@@ -1366,7 +1367,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1366
1367
|
);
|
|
1367
1368
|
}
|
|
1368
1369
|
}
|
|
1369
|
-
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon;clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
|
|
1370
|
+
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = this.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon.slice();clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set(this.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon);
|
|
1370
1371
|
if (\\"icon\\" in values && values.icon != null) {
|
|
1371
1372
|
if (values.icon instanceof Image || values.icon instanceof URL) {
|
|
1372
1373
|
// @ts-ignore: type is checked above.
|
|
@@ -1393,7 +1394,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1393
1394
|
if (Array.isArray(values.icons) &&
|
|
1394
1395
|
values.icons.every(v => v instanceof Image || v instanceof URL)) {
|
|
1395
1396
|
// @ts-ignore: type is checked above.
|
|
1396
|
-
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons;
|
|
1397
|
+
clone.#_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = values.icons.slice();
|
|
1397
1398
|
|
|
1398
1399
|
clone.#_trust_33CjRLy5ujtsUrwRSCrsggvGdKuR_icon = new Set();
|
|
1399
1400
|
for (let i = 0; i < values.icons.length; i++) {
|
|
@@ -1407,7 +1408,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1407
1408
|
);
|
|
1408
1409
|
}
|
|
1409
1410
|
}
|
|
1410
|
-
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image;clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
|
|
1411
|
+
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = this.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image.slice();clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set(this.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image);
|
|
1411
1412
|
if (\\"image\\" in values && values.image != null) {
|
|
1412
1413
|
if (values.image instanceof Image || values.image instanceof URL) {
|
|
1413
1414
|
// @ts-ignore: type is checked above.
|
|
@@ -1434,7 +1435,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1434
1435
|
if (Array.isArray(values.images) &&
|
|
1435
1436
|
values.images.every(v => v instanceof Image || v instanceof URL)) {
|
|
1436
1437
|
// @ts-ignore: type is checked above.
|
|
1437
|
-
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images;
|
|
1438
|
+
clone.#_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = values.images.slice();
|
|
1438
1439
|
|
|
1439
1440
|
clone.#_trust_3dXrUdkARxwyJLtJcYi1AJ92H41U_image = new Set();
|
|
1440
1441
|
for (let i = 0; i < values.images.length; i++) {
|
|
@@ -1448,7 +1449,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1448
1449
|
);
|
|
1449
1450
|
}
|
|
1450
1451
|
}
|
|
1451
|
-
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo;clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
|
|
1452
|
+
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = this.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo.slice();clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set(this.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo);
|
|
1452
1453
|
if (\\"replyTarget\\" in values && values.replyTarget != null) {
|
|
1453
1454
|
if (values.replyTarget instanceof Object || values.replyTarget instanceof Link || values.replyTarget instanceof URL) {
|
|
1454
1455
|
// @ts-ignore: type is checked above.
|
|
@@ -1475,7 +1476,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1475
1476
|
if (Array.isArray(values.replyTargets) &&
|
|
1476
1477
|
values.replyTargets.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1477
1478
|
// @ts-ignore: type is checked above.
|
|
1478
|
-
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets;
|
|
1479
|
+
clone.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = values.replyTargets.slice();
|
|
1479
1480
|
|
|
1480
1481
|
clone.#_trust_3fpbDrvZgf3Kq1a5V9aByFn8kx3s_inReplyTo = new Set();
|
|
1481
1482
|
for (let i = 0; i < values.replyTargets.length; i++) {
|
|
@@ -1489,7 +1490,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1489
1490
|
);
|
|
1490
1491
|
}
|
|
1491
1492
|
}
|
|
1492
|
-
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location;clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
|
|
1493
|
+
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = this.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location.slice();clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set(this.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location);
|
|
1493
1494
|
if (\\"location\\" in values && values.location != null) {
|
|
1494
1495
|
if (values.location instanceof Object || values.location instanceof Link || values.location instanceof URL) {
|
|
1495
1496
|
// @ts-ignore: type is checked above.
|
|
@@ -1516,7 +1517,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1516
1517
|
if (Array.isArray(values.locations) &&
|
|
1517
1518
|
values.locations.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1518
1519
|
// @ts-ignore: type is checked above.
|
|
1519
|
-
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations;
|
|
1520
|
+
clone.#_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = values.locations.slice();
|
|
1520
1521
|
|
|
1521
1522
|
clone.#_trust_31k5MUZJsnsPNg8dQQJieWaXTFnR_location = new Set();
|
|
1522
1523
|
for (let i = 0; i < values.locations.length; i++) {
|
|
@@ -1530,7 +1531,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1530
1531
|
);
|
|
1531
1532
|
}
|
|
1532
1533
|
}
|
|
1533
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
1534
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
1534
1535
|
if (\\"preview\\" in values && values.preview != null) {
|
|
1535
1536
|
if (values.preview instanceof Link || values.preview instanceof Object || values.preview instanceof URL) {
|
|
1536
1537
|
// @ts-ignore: type is checked above.
|
|
@@ -1557,7 +1558,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1557
1558
|
if (Array.isArray(values.previews) &&
|
|
1558
1559
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
1559
1560
|
// @ts-ignore: type is checked above.
|
|
1560
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
1561
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
1561
1562
|
|
|
1562
1563
|
clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
|
|
1563
1564
|
for (let i = 0; i < values.previews.length; i++) {
|
|
@@ -1571,7 +1572,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1571
1572
|
);
|
|
1572
1573
|
}
|
|
1573
1574
|
}
|
|
1574
|
-
clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
|
|
1575
|
+
clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published.slice();
|
|
1575
1576
|
if (\\"published\\" in values && values.published != null) {
|
|
1576
1577
|
if (isTemporalInstant(values.published)) {
|
|
1577
1578
|
// @ts-ignore: type is checked above.
|
|
@@ -1584,7 +1585,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1584
1585
|
);
|
|
1585
1586
|
}
|
|
1586
1587
|
}
|
|
1587
|
-
clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
|
|
1588
|
+
clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies.slice();clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
|
|
1588
1589
|
if (\\"replies\\" in values && values.replies != null) {
|
|
1589
1590
|
if (values.replies instanceof Collection || values.replies instanceof URL) {
|
|
1590
1591
|
// @ts-ignore: type is checked above.
|
|
@@ -1597,7 +1598,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1597
1598
|
);
|
|
1598
1599
|
}
|
|
1599
1600
|
}
|
|
1600
|
-
clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares;clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
|
|
1601
|
+
clone.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares = this.#_3kAfck9PcEYt2L7xug5y99YPbANs_shares.slice();clone.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares = new Set(this.#_trust_3kAfck9PcEYt2L7xug5y99YPbANs_shares);
|
|
1601
1602
|
if (\\"shares\\" in values && values.shares != null) {
|
|
1602
1603
|
if (values.shares instanceof Collection || values.shares instanceof URL) {
|
|
1603
1604
|
// @ts-ignore: type is checked above.
|
|
@@ -1610,7 +1611,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1610
1611
|
);
|
|
1611
1612
|
}
|
|
1612
1613
|
}
|
|
1613
|
-
clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes;clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
|
|
1614
|
+
clone.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = this.#_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes.slice();clone.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes = new Set(this.#_trust_S3ceDnpMdzoTRCccB9FkJWrEzYW_likes);
|
|
1614
1615
|
if (\\"likes\\" in values && values.likes != null) {
|
|
1615
1616
|
if (values.likes instanceof Collection || values.likes instanceof URL) {
|
|
1616
1617
|
// @ts-ignore: type is checked above.
|
|
@@ -1623,7 +1624,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1623
1624
|
);
|
|
1624
1625
|
}
|
|
1625
1626
|
}
|
|
1626
|
-
clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions;clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
|
|
1627
|
+
clone.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.slice();clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set(this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions);
|
|
1627
1628
|
if (\\"emojiReactions\\" in values && values.emojiReactions != null) {
|
|
1628
1629
|
if (values.emojiReactions instanceof Collection || values.emojiReactions instanceof URL) {
|
|
1629
1630
|
// @ts-ignore: type is checked above.
|
|
@@ -1636,7 +1637,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1636
1637
|
);
|
|
1637
1638
|
}
|
|
1638
1639
|
}
|
|
1639
|
-
clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
|
|
1640
|
+
clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime.slice();
|
|
1640
1641
|
if (\\"startTime\\" in values && values.startTime != null) {
|
|
1641
1642
|
if (isTemporalInstant(values.startTime)) {
|
|
1642
1643
|
// @ts-ignore: type is checked above.
|
|
@@ -1649,7 +1650,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1649
1650
|
);
|
|
1650
1651
|
}
|
|
1651
1652
|
}
|
|
1652
|
-
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
|
|
1653
|
+
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary.slice();
|
|
1653
1654
|
if (\\"summary\\" in values && values.summary != null) {
|
|
1654
1655
|
if (typeof values.summary === \\"string\\" || values.summary instanceof LanguageString) {
|
|
1655
1656
|
// @ts-ignore: type is checked above.
|
|
@@ -1676,7 +1677,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1676
1677
|
if (Array.isArray(values.summaries) &&
|
|
1677
1678
|
values.summaries.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
1678
1679
|
// @ts-ignore: type is checked above.
|
|
1679
|
-
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries;
|
|
1680
|
+
clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = values.summaries.slice();
|
|
1680
1681
|
|
|
1681
1682
|
} else {
|
|
1682
1683
|
throw new TypeError(
|
|
@@ -1685,13 +1686,13 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1685
1686
|
);
|
|
1686
1687
|
}
|
|
1687
1688
|
}
|
|
1688
|
-
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag;clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
|
|
1689
|
+
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag.slice();clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set(this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag);
|
|
1689
1690
|
if (\\"tags\\" in values && values.tags != null) {
|
|
1690
1691
|
|
|
1691
1692
|
if (Array.isArray(values.tags) &&
|
|
1692
1693
|
values.tags.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
1693
1694
|
// @ts-ignore: type is checked above.
|
|
1694
|
-
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
|
|
1695
|
+
clone.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags.slice();
|
|
1695
1696
|
|
|
1696
1697
|
clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag = new Set();
|
|
1697
1698
|
for (let i = 0; i < values.tags.length; i++) {
|
|
@@ -1705,7 +1706,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1705
1706
|
);
|
|
1706
1707
|
}
|
|
1707
1708
|
}
|
|
1708
|
-
clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
|
|
1709
|
+
clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.slice();
|
|
1709
1710
|
if (\\"updated\\" in values && values.updated != null) {
|
|
1710
1711
|
if (isTemporalInstant(values.updated)) {
|
|
1711
1712
|
// @ts-ignore: type is checked above.
|
|
@@ -1718,7 +1719,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1718
1719
|
);
|
|
1719
1720
|
}
|
|
1720
1721
|
}
|
|
1721
|
-
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
|
|
1722
|
+
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url.slice();
|
|
1722
1723
|
if (\\"url\\" in values && values.url != null) {
|
|
1723
1724
|
if (values.url instanceof URL || values.url instanceof Link) {
|
|
1724
1725
|
// @ts-ignore: type is checked above.
|
|
@@ -1745,7 +1746,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1745
1746
|
if (Array.isArray(values.urls) &&
|
|
1746
1747
|
values.urls.every(v => v instanceof URL || v instanceof Link)) {
|
|
1747
1748
|
// @ts-ignore: type is checked above.
|
|
1748
|
-
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls;
|
|
1749
|
+
clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = values.urls.slice();
|
|
1749
1750
|
|
|
1750
1751
|
} else {
|
|
1751
1752
|
throw new TypeError(
|
|
@@ -1754,7 +1755,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1754
1755
|
);
|
|
1755
1756
|
}
|
|
1756
1757
|
}
|
|
1757
|
-
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to;clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
|
|
1758
|
+
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = this.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to.slice();clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set(this.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to);
|
|
1758
1759
|
if (\\"to\\" in values && values.to != null) {
|
|
1759
1760
|
if (values.to instanceof Object || values.to instanceof URL) {
|
|
1760
1761
|
// @ts-ignore: type is checked above.
|
|
@@ -1781,7 +1782,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1781
1782
|
if (Array.isArray(values.tos) &&
|
|
1782
1783
|
values.tos.every(v => v instanceof Object || v instanceof URL)) {
|
|
1783
1784
|
// @ts-ignore: type is checked above.
|
|
1784
|
-
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos;
|
|
1785
|
+
clone.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = values.tos.slice();
|
|
1785
1786
|
|
|
1786
1787
|
clone.#_trust_3hFbw7DTpHhq3cvVhkY8njhcsXbd_to = new Set();
|
|
1787
1788
|
for (let i = 0; i < values.tos.length; i++) {
|
|
@@ -1795,7 +1796,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1795
1796
|
);
|
|
1796
1797
|
}
|
|
1797
1798
|
}
|
|
1798
|
-
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto;clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
|
|
1799
|
+
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = this.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto.slice();clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set(this.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto);
|
|
1799
1800
|
if (\\"bto\\" in values && values.bto != null) {
|
|
1800
1801
|
if (values.bto instanceof Object || values.bto instanceof URL) {
|
|
1801
1802
|
// @ts-ignore: type is checked above.
|
|
@@ -1822,7 +1823,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1822
1823
|
if (Array.isArray(values.btos) &&
|
|
1823
1824
|
values.btos.every(v => v instanceof Object || v instanceof URL)) {
|
|
1824
1825
|
// @ts-ignore: type is checked above.
|
|
1825
|
-
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos;
|
|
1826
|
+
clone.#_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = values.btos.slice();
|
|
1826
1827
|
|
|
1827
1828
|
clone.#_trust_aLZupjwL8XB7tzdLgCMXdjZ6qej_bto = new Set();
|
|
1828
1829
|
for (let i = 0; i < values.btos.length; i++) {
|
|
@@ -1836,7 +1837,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1836
1837
|
);
|
|
1837
1838
|
}
|
|
1838
1839
|
}
|
|
1839
|
-
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc;clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
|
|
1840
|
+
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = this.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc.slice();clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set(this.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc);
|
|
1840
1841
|
if (\\"cc\\" in values && values.cc != null) {
|
|
1841
1842
|
if (values.cc instanceof Object || values.cc instanceof URL) {
|
|
1842
1843
|
// @ts-ignore: type is checked above.
|
|
@@ -1863,7 +1864,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1863
1864
|
if (Array.isArray(values.ccs) &&
|
|
1864
1865
|
values.ccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
1865
1866
|
// @ts-ignore: type is checked above.
|
|
1866
|
-
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs;
|
|
1867
|
+
clone.#_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = values.ccs.slice();
|
|
1867
1868
|
|
|
1868
1869
|
clone.#_trust_42a1SvBs24QSLzKcfjCyNTjW5a1g_cc = new Set();
|
|
1869
1870
|
for (let i = 0; i < values.ccs.length; i++) {
|
|
@@ -1877,7 +1878,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1877
1878
|
);
|
|
1878
1879
|
}
|
|
1879
1880
|
}
|
|
1880
|
-
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc;clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
|
|
1881
|
+
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = this.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc.slice();clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set(this.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc);
|
|
1881
1882
|
if (\\"bcc\\" in values && values.bcc != null) {
|
|
1882
1883
|
if (values.bcc instanceof Object || values.bcc instanceof URL) {
|
|
1883
1884
|
// @ts-ignore: type is checked above.
|
|
@@ -1904,7 +1905,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1904
1905
|
if (Array.isArray(values.bccs) &&
|
|
1905
1906
|
values.bccs.every(v => v instanceof Object || v instanceof URL)) {
|
|
1906
1907
|
// @ts-ignore: type is checked above.
|
|
1907
|
-
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs;
|
|
1908
|
+
clone.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = values.bccs.slice();
|
|
1908
1909
|
|
|
1909
1910
|
clone.#_trust_3qvegKUB8YLgTXRpEf8E6JZSkz2H_bcc = new Set();
|
|
1910
1911
|
for (let i = 0; i < values.bccs.length; i++) {
|
|
@@ -1918,7 +1919,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1918
1919
|
);
|
|
1919
1920
|
}
|
|
1920
1921
|
}
|
|
1921
|
-
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
|
|
1922
|
+
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
|
|
1922
1923
|
if (\\"mediaType\\" in values && values.mediaType != null) {
|
|
1923
1924
|
if (typeof values.mediaType === \\"string\\") {
|
|
1924
1925
|
// @ts-ignore: type is checked above.
|
|
@@ -1931,7 +1932,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1931
1932
|
);
|
|
1932
1933
|
}
|
|
1933
1934
|
}
|
|
1934
|
-
clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
|
|
1935
|
+
clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration.slice();
|
|
1935
1936
|
if (\\"duration\\" in values && values.duration != null) {
|
|
1936
1937
|
if (isTemporalDuration(values.duration)) {
|
|
1937
1938
|
// @ts-ignore: type is checked above.
|
|
@@ -1944,7 +1945,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1944
1945
|
);
|
|
1945
1946
|
}
|
|
1946
1947
|
}
|
|
1947
|
-
clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
|
|
1948
|
+
clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive.slice();
|
|
1948
1949
|
if (\\"sensitive\\" in values && values.sensitive != null) {
|
|
1949
1950
|
if (typeof values.sensitive === \\"boolean\\") {
|
|
1950
1951
|
// @ts-ignore: type is checked above.
|
|
@@ -1957,7 +1958,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1957
1958
|
);
|
|
1958
1959
|
}
|
|
1959
1960
|
}
|
|
1960
|
-
clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source;
|
|
1961
|
+
clone.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source = this.#_2ZwCFoS787v8y8bXKjMoE6MAbrEB_source.slice();
|
|
1961
1962
|
if (\\"source\\" in values && values.source != null) {
|
|
1962
1963
|
if (values.source instanceof Source) {
|
|
1963
1964
|
// @ts-ignore: type is checked above.
|
|
@@ -1970,7 +1971,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1970
1971
|
);
|
|
1971
1972
|
}
|
|
1972
1973
|
}
|
|
1973
|
-
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof;clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
|
|
1974
|
+
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = this.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof.slice();clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set(this.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof);
|
|
1974
1975
|
if (\\"proof\\" in values && values.proof != null) {
|
|
1975
1976
|
if (values.proof instanceof DataIntegrityProof || values.proof instanceof URL) {
|
|
1976
1977
|
// @ts-ignore: type is checked above.
|
|
@@ -1997,7 +1998,7 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
1997
1998
|
if (Array.isArray(values.proofs) &&
|
|
1998
1999
|
values.proofs.every(v => v instanceof DataIntegrityProof || v instanceof URL)) {
|
|
1999
2000
|
// @ts-ignore: type is checked above.
|
|
2000
|
-
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs;
|
|
2001
|
+
clone.#_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = values.proofs.slice();
|
|
2001
2002
|
|
|
2002
2003
|
clone.#_trust_42rPnotok1ivQ2RNCKNbeFJgx8b8_proof = new Set();
|
|
2003
2004
|
for (let i = 0; i < values.proofs.length; i++) {
|
|
@@ -11821,7 +11822,8 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
11821
11822
|
* Clones this instance, optionally updating it with the given values.
|
|
11822
11823
|
* @param values The values to update the clone with.
|
|
11823
11824
|
* @param options The options to use for cloning.
|
|
11824
|
-
* @returns The cloned instance.
|
|
11825
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
11826
|
+
* and URLs are shared with this instance.
|
|
11825
11827
|
*/
|
|
11826
11828
|
override clone(
|
|
11827
11829
|
values:
|
|
@@ -12183,7 +12185,8 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
12183
12185
|
* Clones this instance, optionally updating it with the given values.
|
|
12184
12186
|
* @param values The values to update the clone with.
|
|
12185
12187
|
* @param options The options to use for cloning.
|
|
12186
|
-
* @returns The cloned instance.
|
|
12188
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
12189
|
+
* and URLs are shared with this instance.
|
|
12187
12190
|
*/
|
|
12188
12191
|
override clone(
|
|
12189
12192
|
values:
|
|
@@ -12221,7 +12224,7 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
12221
12224
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
12222
12225
|
options = { ...options, $warning: this._warning };
|
|
12223
12226
|
}
|
|
12224
|
-
const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
12227
|
+
const clone = super.clone(values, options) as unknown as ChatMessage;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
12225
12228
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
12226
12229
|
if (values.quoteUrl instanceof URL) {
|
|
12227
12230
|
// @ts-ignore: type is checked above.
|
|
@@ -12718,7 +12721,7 @@ instruments?: (Object | URL)[];}
|
|
|
12718
12721
|
if (Array.isArray(values.actors) &&
|
|
12719
12722
|
values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
12720
12723
|
// @ts-ignore: type is checked above.
|
|
12721
|
-
this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
|
|
12724
|
+
this.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
|
|
12722
12725
|
|
|
12723
12726
|
for (let i = 0; i < values.actors.length; i++) {
|
|
12724
12727
|
this.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor.add(i);
|
|
@@ -12758,7 +12761,7 @@ instruments?: (Object | URL)[];}
|
|
|
12758
12761
|
if (Array.isArray(values.objects) &&
|
|
12759
12762
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
12760
12763
|
// @ts-ignore: type is checked above.
|
|
12761
|
-
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
12764
|
+
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
12762
12765
|
|
|
12763
12766
|
for (let i = 0; i < values.objects.length; i++) {
|
|
12764
12767
|
this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
|
|
@@ -12798,7 +12801,7 @@ instruments?: (Object | URL)[];}
|
|
|
12798
12801
|
if (Array.isArray(values.targets) &&
|
|
12799
12802
|
values.targets.every(v => v instanceof Object || v instanceof URL)) {
|
|
12800
12803
|
// @ts-ignore: type is checked above.
|
|
12801
|
-
this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
|
|
12804
|
+
this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
|
|
12802
12805
|
|
|
12803
12806
|
for (let i = 0; i < values.targets.length; i++) {
|
|
12804
12807
|
this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.add(i);
|
|
@@ -12838,7 +12841,7 @@ instruments?: (Object | URL)[];}
|
|
|
12838
12841
|
if (Array.isArray(values.results) &&
|
|
12839
12842
|
values.results.every(v => v instanceof Object || v instanceof URL)) {
|
|
12840
12843
|
// @ts-ignore: type is checked above.
|
|
12841
|
-
this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
|
|
12844
|
+
this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
|
|
12842
12845
|
|
|
12843
12846
|
for (let i = 0; i < values.results.length; i++) {
|
|
12844
12847
|
this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.add(i);
|
|
@@ -12878,7 +12881,7 @@ instruments?: (Object | URL)[];}
|
|
|
12878
12881
|
if (Array.isArray(values.origins) &&
|
|
12879
12882
|
values.origins.every(v => v instanceof Object || v instanceof URL)) {
|
|
12880
12883
|
// @ts-ignore: type is checked above.
|
|
12881
|
-
this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
|
|
12884
|
+
this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
|
|
12882
12885
|
|
|
12883
12886
|
for (let i = 0; i < values.origins.length; i++) {
|
|
12884
12887
|
this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin.add(i);
|
|
@@ -12918,7 +12921,7 @@ instruments?: (Object | URL)[];}
|
|
|
12918
12921
|
if (Array.isArray(values.instruments) &&
|
|
12919
12922
|
values.instruments.every(v => v instanceof Object || v instanceof URL)) {
|
|
12920
12923
|
// @ts-ignore: type is checked above.
|
|
12921
|
-
this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
|
|
12924
|
+
this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
|
|
12922
12925
|
|
|
12923
12926
|
for (let i = 0; i < values.instruments.length; i++) {
|
|
12924
12927
|
this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.add(i);
|
|
@@ -12937,7 +12940,8 @@ instruments?: (Object | URL)[];}
|
|
|
12937
12940
|
* Clones this instance, optionally updating it with the given values.
|
|
12938
12941
|
* @param values The values to update the clone with.
|
|
12939
12942
|
* @param options The options to use for cloning.
|
|
12940
|
-
* @returns The cloned instance.
|
|
12943
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
12944
|
+
* and URLs are shared with this instance.
|
|
12941
12945
|
*/
|
|
12942
12946
|
override clone(
|
|
12943
12947
|
values:
|
|
@@ -12981,7 +12985,7 @@ instruments?: (Object | URL)[];}
|
|
|
12981
12985
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
12982
12986
|
options = { ...options, $warning: this._warning };
|
|
12983
12987
|
}
|
|
12984
|
-
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);
|
|
12988
|
+
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);
|
|
12985
12989
|
if (\\"actor\\" in values && values.actor != null) {
|
|
12986
12990
|
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) {
|
|
12987
12991
|
// @ts-ignore: type is checked above.
|
|
@@ -13008,7 +13012,7 @@ instruments?: (Object | URL)[];}
|
|
|
13008
13012
|
if (Array.isArray(values.actors) &&
|
|
13009
13013
|
values.actors.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
13010
13014
|
// @ts-ignore: type is checked above.
|
|
13011
|
-
clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors;
|
|
13015
|
+
clone.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = values.actors.slice();
|
|
13012
13016
|
|
|
13013
13017
|
clone.#_trust_2DjTTboo3CNHU2a2JQqUSE2dbv9D_actor = new Set();
|
|
13014
13018
|
for (let i = 0; i < values.actors.length; i++) {
|
|
@@ -13022,7 +13026,7 @@ instruments?: (Object | URL)[];}
|
|
|
13022
13026
|
);
|
|
13023
13027
|
}
|
|
13024
13028
|
}
|
|
13025
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
13029
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
13026
13030
|
if (\\"object\\" in values && values.object != null) {
|
|
13027
13031
|
if (values.object instanceof Object || values.object instanceof URL) {
|
|
13028
13032
|
// @ts-ignore: type is checked above.
|
|
@@ -13049,7 +13053,7 @@ instruments?: (Object | URL)[];}
|
|
|
13049
13053
|
if (Array.isArray(values.objects) &&
|
|
13050
13054
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
13051
13055
|
// @ts-ignore: type is checked above.
|
|
13052
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
13056
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
13053
13057
|
|
|
13054
13058
|
clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
|
|
13055
13059
|
for (let i = 0; i < values.objects.length; i++) {
|
|
@@ -13063,7 +13067,7 @@ instruments?: (Object | URL)[];}
|
|
|
13063
13067
|
);
|
|
13064
13068
|
}
|
|
13065
13069
|
}
|
|
13066
|
-
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target;clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
|
|
13070
|
+
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = this.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target.slice();clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set(this.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target);
|
|
13067
13071
|
if (\\"target\\" in values && values.target != null) {
|
|
13068
13072
|
if (values.target instanceof Object || values.target instanceof URL) {
|
|
13069
13073
|
// @ts-ignore: type is checked above.
|
|
@@ -13090,7 +13094,7 @@ instruments?: (Object | URL)[];}
|
|
|
13090
13094
|
if (Array.isArray(values.targets) &&
|
|
13091
13095
|
values.targets.every(v => v instanceof Object || v instanceof URL)) {
|
|
13092
13096
|
// @ts-ignore: type is checked above.
|
|
13093
|
-
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets;
|
|
13097
|
+
clone.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = values.targets.slice();
|
|
13094
13098
|
|
|
13095
13099
|
clone.#_trust_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF_target = new Set();
|
|
13096
13100
|
for (let i = 0; i < values.targets.length; i++) {
|
|
@@ -13104,7 +13108,7 @@ instruments?: (Object | URL)[];}
|
|
|
13104
13108
|
);
|
|
13105
13109
|
}
|
|
13106
13110
|
}
|
|
13107
|
-
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result;clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
|
|
13111
|
+
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = this.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result.slice();clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set(this.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result);
|
|
13108
13112
|
if (\\"result\\" in values && values.result != null) {
|
|
13109
13113
|
if (values.result instanceof Object || values.result instanceof URL) {
|
|
13110
13114
|
// @ts-ignore: type is checked above.
|
|
@@ -13131,7 +13135,7 @@ instruments?: (Object | URL)[];}
|
|
|
13131
13135
|
if (Array.isArray(values.results) &&
|
|
13132
13136
|
values.results.every(v => v instanceof Object || v instanceof URL)) {
|
|
13133
13137
|
// @ts-ignore: type is checked above.
|
|
13134
|
-
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results;
|
|
13138
|
+
clone.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = values.results.slice();
|
|
13135
13139
|
|
|
13136
13140
|
clone.#_trust_u4QGFbRFcYmPEKGbPv1hpBR9r5G_result = new Set();
|
|
13137
13141
|
for (let i = 0; i < values.results.length; i++) {
|
|
@@ -13145,7 +13149,7 @@ instruments?: (Object | URL)[];}
|
|
|
13145
13149
|
);
|
|
13146
13150
|
}
|
|
13147
13151
|
}
|
|
13148
|
-
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin;clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
|
|
13152
|
+
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = this.#_25zu2s3VxVujgEKqrDycjE284XQR_origin.slice();clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set(this.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin);
|
|
13149
13153
|
if (\\"origin\\" in values && values.origin != null) {
|
|
13150
13154
|
if (values.origin instanceof Object || values.origin instanceof URL) {
|
|
13151
13155
|
// @ts-ignore: type is checked above.
|
|
@@ -13172,7 +13176,7 @@ instruments?: (Object | URL)[];}
|
|
|
13172
13176
|
if (Array.isArray(values.origins) &&
|
|
13173
13177
|
values.origins.every(v => v instanceof Object || v instanceof URL)) {
|
|
13174
13178
|
// @ts-ignore: type is checked above.
|
|
13175
|
-
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins;
|
|
13179
|
+
clone.#_25zu2s3VxVujgEKqrDycjE284XQR_origin = values.origins.slice();
|
|
13176
13180
|
|
|
13177
13181
|
clone.#_trust_25zu2s3VxVujgEKqrDycjE284XQR_origin = new Set();
|
|
13178
13182
|
for (let i = 0; i < values.origins.length; i++) {
|
|
@@ -13186,7 +13190,7 @@ instruments?: (Object | URL)[];}
|
|
|
13186
13190
|
);
|
|
13187
13191
|
}
|
|
13188
13192
|
}
|
|
13189
|
-
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument;clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
|
|
13193
|
+
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = this.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument.slice();clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set(this.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument);
|
|
13190
13194
|
if (\\"instrument\\" in values && values.instrument != null) {
|
|
13191
13195
|
if (values.instrument instanceof Object || values.instrument instanceof URL) {
|
|
13192
13196
|
// @ts-ignore: type is checked above.
|
|
@@ -13213,7 +13217,7 @@ instruments?: (Object | URL)[];}
|
|
|
13213
13217
|
if (Array.isArray(values.instruments) &&
|
|
13214
13218
|
values.instruments.every(v => v instanceof Object || v instanceof URL)) {
|
|
13215
13219
|
// @ts-ignore: type is checked above.
|
|
13216
|
-
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments;
|
|
13220
|
+
clone.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = values.instruments.slice();
|
|
13217
13221
|
|
|
13218
13222
|
clone.#_trust_3c5t2x7DYRo2shwTxpkd4kYSS5WQ_instrument = new Set();
|
|
13219
13223
|
for (let i = 0; i < values.instruments.length; i++) {
|
|
@@ -16178,7 +16182,8 @@ instruments?: (Object | URL)[];}
|
|
|
16178
16182
|
* Clones this instance, optionally updating it with the given values.
|
|
16179
16183
|
* @param values The values to update the clone with.
|
|
16180
16184
|
* @param options The options to use for cloning.
|
|
16181
|
-
* @returns The cloned instance.
|
|
16185
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
16186
|
+
* and URLs are shared with this instance.
|
|
16182
16187
|
*/
|
|
16183
16188
|
override clone(
|
|
16184
16189
|
values:
|
|
@@ -16592,7 +16597,8 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
|
|
|
16592
16597
|
* Clones this instance, optionally updating it with the given values.
|
|
16593
16598
|
* @param values The values to update the clone with.
|
|
16594
16599
|
* @param options The options to use for cloning.
|
|
16595
|
-
* @returns The cloned instance.
|
|
16600
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
16601
|
+
* and URLs are shared with this instance.
|
|
16596
16602
|
*/
|
|
16597
16603
|
clone(
|
|
16598
16604
|
values:
|
|
@@ -16620,7 +16626,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
|
|
|
16620
16626
|
{ id: values.id ?? this.id },
|
|
16621
16627
|
options
|
|
16622
16628
|
);
|
|
16623
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
|
|
16629
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
|
|
16624
16630
|
if (\\"name\\" in values && values.name != null) {
|
|
16625
16631
|
if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
|
|
16626
16632
|
// @ts-ignore: type is checked above.
|
|
@@ -16633,7 +16639,7 @@ name?: string | LanguageString | null;value?: string | LanguageString | null;}
|
|
|
16633
16639
|
);
|
|
16634
16640
|
}
|
|
16635
16641
|
}
|
|
16636
|
-
clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value;
|
|
16642
|
+
clone.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value = this.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx_value.slice();
|
|
16637
16643
|
if (\\"value\\" in values && values.value != null) {
|
|
16638
16644
|
if (typeof values.value === \\"string\\" || values.value instanceof LanguageString) {
|
|
16639
16645
|
// @ts-ignore: type is checked above.
|
|
@@ -17231,7 +17237,7 @@ endpoints?: (URL)[];}
|
|
|
17231
17237
|
if (Array.isArray(values.endpoints) &&
|
|
17232
17238
|
values.endpoints.every(v => v instanceof URL)) {
|
|
17233
17239
|
// @ts-ignore: type is checked above.
|
|
17234
|
-
this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
|
|
17240
|
+
this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
|
|
17235
17241
|
|
|
17236
17242
|
} else {
|
|
17237
17243
|
throw new TypeError(
|
|
@@ -17246,7 +17252,8 @@ endpoints?: (URL)[];}
|
|
|
17246
17252
|
* Clones this instance, optionally updating it with the given values.
|
|
17247
17253
|
* @param values The values to update the clone with.
|
|
17248
17254
|
* @param options The options to use for cloning.
|
|
17249
|
-
* @returns The cloned instance.
|
|
17255
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
17256
|
+
* and URLs are shared with this instance.
|
|
17250
17257
|
*/
|
|
17251
17258
|
clone(
|
|
17252
17259
|
values:
|
|
@@ -17275,7 +17282,7 @@ endpoints?: (URL)[];}
|
|
|
17275
17282
|
{ id: values.id ?? this.id },
|
|
17276
17283
|
options
|
|
17277
17284
|
);
|
|
17278
|
-
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
|
|
17285
|
+
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = this.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.slice();
|
|
17279
17286
|
if (\\"endpoint\\" in values && values.endpoint != null) {
|
|
17280
17287
|
if (values.endpoint instanceof URL) {
|
|
17281
17288
|
// @ts-ignore: type is checked above.
|
|
@@ -17302,7 +17309,7 @@ endpoints?: (URL)[];}
|
|
|
17302
17309
|
if (Array.isArray(values.endpoints) &&
|
|
17303
17310
|
values.endpoints.every(v => v instanceof URL)) {
|
|
17304
17311
|
// @ts-ignore: type is checked above.
|
|
17305
|
-
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints;
|
|
17312
|
+
clone.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = values.endpoints.slice();
|
|
17306
17313
|
|
|
17307
17314
|
} else {
|
|
17308
17315
|
throw new TypeError(
|
|
@@ -17681,7 +17688,8 @@ endpoints?: (URL)[];}
|
|
|
17681
17688
|
* Clones this instance, optionally updating it with the given values.
|
|
17682
17689
|
* @param values The values to update the clone with.
|
|
17683
17690
|
* @param options The options to use for cloning.
|
|
17684
|
-
* @returns The cloned instance.
|
|
17691
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
17692
|
+
* and URLs are shared with this instance.
|
|
17685
17693
|
*/
|
|
17686
17694
|
override clone(
|
|
17687
17695
|
values:
|
|
@@ -18111,7 +18119,8 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18111
18119
|
* Clones this instance, optionally updating it with the given values.
|
|
18112
18120
|
* @param values The values to update the clone with.
|
|
18113
18121
|
* @param options The options to use for cloning.
|
|
18114
|
-
* @returns The cloned instance.
|
|
18122
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
18123
|
+
* and URLs are shared with this instance.
|
|
18115
18124
|
*/
|
|
18116
18125
|
clone(
|
|
18117
18126
|
values:
|
|
@@ -18139,7 +18148,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18139
18148
|
{ id: values.id ?? this.id },
|
|
18140
18149
|
options
|
|
18141
18150
|
);
|
|
18142
|
-
clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite;
|
|
18151
|
+
clone.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite = this.#_3RurJsa7tnptyqMFR5hDGcP9pMs5_cryptosuite.slice();
|
|
18143
18152
|
if (\\"cryptosuite\\" in values && values.cryptosuite != null) {
|
|
18144
18153
|
if (values.cryptosuite == \\"eddsa-jcs-2022\\") {
|
|
18145
18154
|
// @ts-ignore: type is checked above.
|
|
@@ -18152,7 +18161,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18152
18161
|
);
|
|
18153
18162
|
}
|
|
18154
18163
|
}
|
|
18155
|
-
clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod;clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
|
|
18164
|
+
clone.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.slice();clone.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod = new Set(this.#_trust_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod);
|
|
18156
18165
|
if (\\"verificationMethod\\" in values && values.verificationMethod != null) {
|
|
18157
18166
|
if (values.verificationMethod instanceof Multikey || values.verificationMethod instanceof URL) {
|
|
18158
18167
|
// @ts-ignore: type is checked above.
|
|
@@ -18165,7 +18174,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18165
18174
|
);
|
|
18166
18175
|
}
|
|
18167
18176
|
}
|
|
18168
|
-
clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose;
|
|
18177
|
+
clone.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose = this.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb_proofPurpose.slice();
|
|
18169
18178
|
if (\\"proofPurpose\\" in values && values.proofPurpose != null) {
|
|
18170
18179
|
if (values.proofPurpose === \\"assertionMethod\\" || values.proofPurpose === \\"authentication\\" ||
|
|
18171
18180
|
values.proofPurpose === \\"capabilityInvocation\\" || values.proofPurpose === \\"capabilityDelegation\\" ||
|
|
@@ -18180,7 +18189,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18180
18189
|
);
|
|
18181
18190
|
}
|
|
18182
18191
|
}
|
|
18183
|
-
clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue;
|
|
18192
|
+
clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue.slice();
|
|
18184
18193
|
if (\\"proofValue\\" in values && values.proofValue != null) {
|
|
18185
18194
|
if (values.proofValue instanceof Uint8Array) {
|
|
18186
18195
|
// @ts-ignore: type is checked above.
|
|
@@ -18193,7 +18202,7 @@ cryptosuite?: \\"eddsa-jcs-2022\\" | null;verificationMethod?: Multikey | URL |
|
|
|
18193
18202
|
);
|
|
18194
18203
|
}
|
|
18195
18204
|
}
|
|
18196
|
-
clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
|
|
18205
|
+
clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac.slice();
|
|
18197
18206
|
if (\\"created\\" in values && values.created != null) {
|
|
18198
18207
|
if (isTemporalInstant(values.created)) {
|
|
18199
18208
|
// @ts-ignore: type is checked above.
|
|
@@ -19156,7 +19165,8 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19156
19165
|
* Clones this instance, optionally updating it with the given values.
|
|
19157
19166
|
* @param values The values to update the clone with.
|
|
19158
19167
|
* @param options The options to use for cloning.
|
|
19159
|
-
* @returns The cloned instance.
|
|
19168
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
19169
|
+
* and URLs are shared with this instance.
|
|
19160
19170
|
*/
|
|
19161
19171
|
clone(
|
|
19162
19172
|
values:
|
|
@@ -19184,7 +19194,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19184
19194
|
{ id: values.id ?? this.id },
|
|
19185
19195
|
options
|
|
19186
19196
|
);
|
|
19187
|
-
clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner;clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
|
|
19197
|
+
clone.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = this.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner.slice();clone.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner = new Set(this.#_trust_5UJq9NDh3ZHgswFwwdVxQvJxdx2_owner);
|
|
19188
19198
|
if (\\"owner\\" in values && values.owner != null) {
|
|
19189
19199
|
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) {
|
|
19190
19200
|
// @ts-ignore: type is checked above.
|
|
@@ -19197,7 +19207,7 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
|
|
|
19197
19207
|
);
|
|
19198
19208
|
}
|
|
19199
19209
|
}
|
|
19200
|
-
clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem;
|
|
19210
|
+
clone.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem = this.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD_publicKeyPem.slice();
|
|
19201
19211
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
19202
19212
|
if (
|
|
19203
19213
|
// @ts-ignore: CryptoKey exists in the global scope.
|
|
@@ -20071,7 +20081,8 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
20071
20081
|
* Clones this instance, optionally updating it with the given values.
|
|
20072
20082
|
* @param values The values to update the clone with.
|
|
20073
20083
|
* @param options The options to use for cloning.
|
|
20074
|
-
* @returns The cloned instance.
|
|
20084
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
20085
|
+
* and URLs are shared with this instance.
|
|
20075
20086
|
*/
|
|
20076
20087
|
clone(
|
|
20077
20088
|
values:
|
|
@@ -20099,7 +20110,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
20099
20110
|
{ id: values.id ?? this.id },
|
|
20100
20111
|
options
|
|
20101
20112
|
);
|
|
20102
|
-
clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller;clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
|
|
20113
|
+
clone.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = this.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller.slice();clone.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller = new Set(this.#_trust_2yr3eUBTP6cNcyaxKzAXWjFsnGzN_controller);
|
|
20103
20114
|
if (\\"controller\\" in values && values.controller != null) {
|
|
20104
20115
|
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) {
|
|
20105
20116
|
// @ts-ignore: type is checked above.
|
|
@@ -20112,7 +20123,7 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
|
|
|
20112
20123
|
);
|
|
20113
20124
|
}
|
|
20114
20125
|
}
|
|
20115
|
-
clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase;
|
|
20126
|
+
clone.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase = this.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F_publicKeyMultibase.slice();
|
|
20116
20127
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
20117
20128
|
if (
|
|
20118
20129
|
// @ts-ignore: CryptoKey exists in the global scope.
|
|
@@ -20911,7 +20922,8 @@ instruments?: (Object | URL)[];}
|
|
|
20911
20922
|
* Clones this instance, optionally updating it with the given values.
|
|
20912
20923
|
* @param values The values to update the clone with.
|
|
20913
20924
|
* @param options The options to use for cloning.
|
|
20914
|
-
* @returns The cloned instance.
|
|
20925
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
20926
|
+
* and URLs are shared with this instance.
|
|
20915
20927
|
*/
|
|
20916
20928
|
override clone(
|
|
20917
20929
|
values:
|
|
@@ -21257,7 +21269,8 @@ instruments?: (Object | URL)[];}
|
|
|
21257
21269
|
* Clones this instance, optionally updating it with the given values.
|
|
21258
21270
|
* @param values The values to update the clone with.
|
|
21259
21271
|
* @param options The options to use for cloning.
|
|
21260
|
-
* @returns The cloned instance.
|
|
21272
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
21273
|
+
* and URLs are shared with this instance.
|
|
21261
21274
|
*/
|
|
21262
21275
|
override clone(
|
|
21263
21276
|
values:
|
|
@@ -21598,7 +21611,8 @@ instruments?: (Object | URL)[];}
|
|
|
21598
21611
|
* Clones this instance, optionally updating it with the given values.
|
|
21599
21612
|
* @param values The values to update the clone with.
|
|
21600
21613
|
* @param options The options to use for cloning.
|
|
21601
|
-
* @returns The cloned instance.
|
|
21614
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
21615
|
+
* and URLs are shared with this instance.
|
|
21602
21616
|
*/
|
|
21603
21617
|
override clone(
|
|
21604
21618
|
values:
|
|
@@ -22004,7 +22018,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22004
22018
|
if (Array.isArray(values.preferredUsernames) &&
|
|
22005
22019
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
22006
22020
|
// @ts-ignore: type is checked above.
|
|
22007
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
22021
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
22008
22022
|
|
|
22009
22023
|
} else {
|
|
22010
22024
|
throw new TypeError(
|
|
@@ -22040,7 +22054,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22040
22054
|
if (Array.isArray(values.publicKeys) &&
|
|
22041
22055
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
22042
22056
|
// @ts-ignore: type is checked above.
|
|
22043
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
22057
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
22044
22058
|
|
|
22045
22059
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
22046
22060
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -22080,7 +22094,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22080
22094
|
if (Array.isArray(values.assertionMethods) &&
|
|
22081
22095
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
22082
22096
|
// @ts-ignore: type is checked above.
|
|
22083
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
22097
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
22084
22098
|
|
|
22085
22099
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
22086
22100
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -22203,7 +22217,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22203
22217
|
if (Array.isArray(values.streams) &&
|
|
22204
22218
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
22205
22219
|
// @ts-ignore: type is checked above.
|
|
22206
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
22220
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
22207
22221
|
|
|
22208
22222
|
for (let i = 0; i < values.streams.length; i++) {
|
|
22209
22223
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -22321,7 +22335,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22321
22335
|
if (Array.isArray(values.aliases) &&
|
|
22322
22336
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
22323
22337
|
// @ts-ignore: type is checked above.
|
|
22324
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
22338
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
22325
22339
|
|
|
22326
22340
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
22327
22341
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -22361,7 +22375,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22361
22375
|
if (Array.isArray(values.services) &&
|
|
22362
22376
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
22363
22377
|
// @ts-ignore: type is checked above.
|
|
22364
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
22378
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
22365
22379
|
|
|
22366
22380
|
for (let i = 0; i < values.services.length; i++) {
|
|
22367
22381
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -22406,7 +22420,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22406
22420
|
* Clones this instance, optionally updating it with the given values.
|
|
22407
22421
|
* @param values The values to update the clone with.
|
|
22408
22422
|
* @param options The options to use for cloning.
|
|
22409
|
-
* @returns The cloned instance.
|
|
22423
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
22424
|
+
* and URLs are shared with this instance.
|
|
22410
22425
|
*/
|
|
22411
22426
|
override clone(
|
|
22412
22427
|
values:
|
|
@@ -22449,7 +22464,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22449
22464
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
22450
22465
|
options = { ...options, $warning: this._warning };
|
|
22451
22466
|
}
|
|
22452
|
-
const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
22467
|
+
const clone = super.clone(values, options) as unknown as Application;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
22453
22468
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
22454
22469
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
22455
22470
|
// @ts-ignore: type is checked above.
|
|
@@ -22476,7 +22491,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22476
22491
|
if (Array.isArray(values.preferredUsernames) &&
|
|
22477
22492
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
22478
22493
|
// @ts-ignore: type is checked above.
|
|
22479
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
22494
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
22480
22495
|
|
|
22481
22496
|
} else {
|
|
22482
22497
|
throw new TypeError(
|
|
@@ -22485,7 +22500,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22485
22500
|
);
|
|
22486
22501
|
}
|
|
22487
22502
|
}
|
|
22488
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
22503
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
22489
22504
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
22490
22505
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
22491
22506
|
// @ts-ignore: type is checked above.
|
|
@@ -22512,7 +22527,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22512
22527
|
if (Array.isArray(values.publicKeys) &&
|
|
22513
22528
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
22514
22529
|
// @ts-ignore: type is checked above.
|
|
22515
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
22530
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
22516
22531
|
|
|
22517
22532
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
22518
22533
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -22526,7 +22541,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22526
22541
|
);
|
|
22527
22542
|
}
|
|
22528
22543
|
}
|
|
22529
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
22544
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
22530
22545
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
22531
22546
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
22532
22547
|
// @ts-ignore: type is checked above.
|
|
@@ -22553,7 +22568,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22553
22568
|
if (Array.isArray(values.assertionMethods) &&
|
|
22554
22569
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
22555
22570
|
// @ts-ignore: type is checked above.
|
|
22556
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
22571
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
22557
22572
|
|
|
22558
22573
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
22559
22574
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -22567,7 +22582,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22567
22582
|
);
|
|
22568
22583
|
}
|
|
22569
22584
|
}
|
|
22570
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
22585
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
22571
22586
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
22572
22587
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
22573
22588
|
// @ts-ignore: type is checked above.
|
|
@@ -22580,7 +22595,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22580
22595
|
);
|
|
22581
22596
|
}
|
|
22582
22597
|
}
|
|
22583
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
22598
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
22584
22599
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
22585
22600
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
22586
22601
|
// @ts-ignore: type is checked above.
|
|
@@ -22593,7 +22608,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22593
22608
|
);
|
|
22594
22609
|
}
|
|
22595
22610
|
}
|
|
22596
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
22611
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
22597
22612
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
22598
22613
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
22599
22614
|
// @ts-ignore: type is checked above.
|
|
@@ -22606,7 +22621,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22606
22621
|
);
|
|
22607
22622
|
}
|
|
22608
22623
|
}
|
|
22609
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
22624
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
22610
22625
|
if (\\"following\\" in values && values.following != null) {
|
|
22611
22626
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
22612
22627
|
// @ts-ignore: type is checked above.
|
|
@@ -22619,7 +22634,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22619
22634
|
);
|
|
22620
22635
|
}
|
|
22621
22636
|
}
|
|
22622
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
22637
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
22623
22638
|
if (\\"followers\\" in values && values.followers != null) {
|
|
22624
22639
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
22625
22640
|
// @ts-ignore: type is checked above.
|
|
@@ -22632,7 +22647,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22632
22647
|
);
|
|
22633
22648
|
}
|
|
22634
22649
|
}
|
|
22635
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
22650
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
22636
22651
|
if (\\"liked\\" in values && values.liked != null) {
|
|
22637
22652
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
22638
22653
|
// @ts-ignore: type is checked above.
|
|
@@ -22645,7 +22660,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22645
22660
|
);
|
|
22646
22661
|
}
|
|
22647
22662
|
}
|
|
22648
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
22663
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
22649
22664
|
if (\\"featured\\" in values && values.featured != null) {
|
|
22650
22665
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
22651
22666
|
// @ts-ignore: type is checked above.
|
|
@@ -22658,7 +22673,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22658
22673
|
);
|
|
22659
22674
|
}
|
|
22660
22675
|
}
|
|
22661
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
22676
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
22662
22677
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
22663
22678
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
22664
22679
|
// @ts-ignore: type is checked above.
|
|
@@ -22671,13 +22686,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22671
22686
|
);
|
|
22672
22687
|
}
|
|
22673
22688
|
}
|
|
22674
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
22689
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
22675
22690
|
if (\\"streams\\" in values && values.streams != null) {
|
|
22676
22691
|
|
|
22677
22692
|
if (Array.isArray(values.streams) &&
|
|
22678
22693
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
22679
22694
|
// @ts-ignore: type is checked above.
|
|
22680
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
22695
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
22681
22696
|
|
|
22682
22697
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
22683
22698
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -22691,7 +22706,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22691
22706
|
);
|
|
22692
22707
|
}
|
|
22693
22708
|
}
|
|
22694
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
22709
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
22695
22710
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
22696
22711
|
if (values.endpoints instanceof Endpoints) {
|
|
22697
22712
|
// @ts-ignore: type is checked above.
|
|
@@ -22704,7 +22719,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22704
22719
|
);
|
|
22705
22720
|
}
|
|
22706
22721
|
}
|
|
22707
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
22722
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
22708
22723
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
22709
22724
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
22710
22725
|
// @ts-ignore: type is checked above.
|
|
@@ -22717,7 +22732,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22717
22732
|
);
|
|
22718
22733
|
}
|
|
22719
22734
|
}
|
|
22720
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
22735
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
22721
22736
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
22722
22737
|
if (typeof values.suspended === \\"boolean\\") {
|
|
22723
22738
|
// @ts-ignore: type is checked above.
|
|
@@ -22730,7 +22745,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22730
22745
|
);
|
|
22731
22746
|
}
|
|
22732
22747
|
}
|
|
22733
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
22748
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
22734
22749
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
22735
22750
|
if (typeof values.memorial === \\"boolean\\") {
|
|
22736
22751
|
// @ts-ignore: type is checked above.
|
|
@@ -22743,7 +22758,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22743
22758
|
);
|
|
22744
22759
|
}
|
|
22745
22760
|
}
|
|
22746
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
22761
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
22747
22762
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
22748
22763
|
if (typeof values.indexable === \\"boolean\\") {
|
|
22749
22764
|
// @ts-ignore: type is checked above.
|
|
@@ -22756,7 +22771,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22756
22771
|
);
|
|
22757
22772
|
}
|
|
22758
22773
|
}
|
|
22759
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
22774
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
22760
22775
|
if (\\"successor\\" in values && values.successor != null) {
|
|
22761
22776
|
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) {
|
|
22762
22777
|
// @ts-ignore: type is checked above.
|
|
@@ -22769,7 +22784,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22769
22784
|
);
|
|
22770
22785
|
}
|
|
22771
22786
|
}
|
|
22772
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
22787
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
22773
22788
|
if (\\"alias\\" in values && values.alias != null) {
|
|
22774
22789
|
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) {
|
|
22775
22790
|
// @ts-ignore: type is checked above.
|
|
@@ -22796,7 +22811,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22796
22811
|
if (Array.isArray(values.aliases) &&
|
|
22797
22812
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
22798
22813
|
// @ts-ignore: type is checked above.
|
|
22799
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
22814
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
22800
22815
|
|
|
22801
22816
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
22802
22817
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -22810,7 +22825,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22810
22825
|
);
|
|
22811
22826
|
}
|
|
22812
22827
|
}
|
|
22813
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
22828
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
22814
22829
|
if (\\"service\\" in values && values.service != null) {
|
|
22815
22830
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
22816
22831
|
// @ts-ignore: type is checked above.
|
|
@@ -22837,7 +22852,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22837
22852
|
if (Array.isArray(values.services) &&
|
|
22838
22853
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
22839
22854
|
// @ts-ignore: type is checked above.
|
|
22840
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
22855
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
22841
22856
|
|
|
22842
22857
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
22843
22858
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -22851,7 +22866,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22851
22866
|
);
|
|
22852
22867
|
}
|
|
22853
22868
|
}
|
|
22854
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
22869
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
22855
22870
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
22856
22871
|
if (typeof values.followedMessage === \\"string\\") {
|
|
22857
22872
|
// @ts-ignore: type is checked above.
|
|
@@ -22864,7 +22879,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
22864
22879
|
);
|
|
22865
22880
|
}
|
|
22866
22881
|
}
|
|
22867
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
22882
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
22868
22883
|
if (\\"cat\\" in values && values.cat != null) {
|
|
22869
22884
|
if (typeof values.cat === \\"boolean\\") {
|
|
22870
22885
|
// @ts-ignore: type is checked above.
|
|
@@ -28882,7 +28897,8 @@ instruments?: (Object | URL)[];}
|
|
|
28882
28897
|
* Clones this instance, optionally updating it with the given values.
|
|
28883
28898
|
* @param values The values to update the clone with.
|
|
28884
28899
|
* @param options The options to use for cloning.
|
|
28885
|
-
* @returns The cloned instance.
|
|
28900
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
28901
|
+
* and URLs are shared with this instance.
|
|
28886
28902
|
*/
|
|
28887
28903
|
override clone(
|
|
28888
28904
|
values:
|
|
@@ -29235,7 +29251,8 @@ instruments?: (Object | URL)[];}
|
|
|
29235
29251
|
* Clones this instance, optionally updating it with the given values.
|
|
29236
29252
|
* @param values The values to update the clone with.
|
|
29237
29253
|
* @param options The options to use for cloning.
|
|
29238
|
-
* @returns The cloned instance.
|
|
29254
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
29255
|
+
* and URLs are shared with this instance.
|
|
29239
29256
|
*/
|
|
29240
29257
|
override clone(
|
|
29241
29258
|
values:
|
|
@@ -29581,7 +29598,8 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
29581
29598
|
* Clones this instance, optionally updating it with the given values.
|
|
29582
29599
|
* @param values The values to update the clone with.
|
|
29583
29600
|
* @param options The options to use for cloning.
|
|
29584
|
-
* @returns The cloned instance.
|
|
29601
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
29602
|
+
* and URLs are shared with this instance.
|
|
29585
29603
|
*/
|
|
29586
29604
|
override clone(
|
|
29587
29605
|
values:
|
|
@@ -29619,7 +29637,7 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
29619
29637
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
29620
29638
|
options = { ...options, $warning: this._warning };
|
|
29621
29639
|
}
|
|
29622
|
-
const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
29640
|
+
const clone = super.clone(values, options) as unknown as Article;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
29623
29641
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
29624
29642
|
if (values.quoteUrl instanceof URL) {
|
|
29625
29643
|
// @ts-ignore: type is checked above.
|
|
@@ -30094,7 +30112,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30094
30112
|
* Clones this instance, optionally updating it with the given values.
|
|
30095
30113
|
* @param values The values to update the clone with.
|
|
30096
30114
|
* @param options The options to use for cloning.
|
|
30097
|
-
* @returns The cloned instance.
|
|
30115
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
30116
|
+
* and URLs are shared with this instance.
|
|
30098
30117
|
*/
|
|
30099
30118
|
override clone(
|
|
30100
30119
|
values:
|
|
@@ -30132,7 +30151,7 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30132
30151
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
30133
30152
|
options = { ...options, $warning: this._warning };
|
|
30134
30153
|
}
|
|
30135
|
-
const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
|
|
30154
|
+
const clone = super.clone(values, options) as unknown as Document;clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
|
|
30136
30155
|
if (\\"width\\" in values && values.width != null) {
|
|
30137
30156
|
if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
|
|
30138
30157
|
// @ts-ignore: type is checked above.
|
|
@@ -30145,7 +30164,7 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30145
30164
|
);
|
|
30146
30165
|
}
|
|
30147
30166
|
}
|
|
30148
|
-
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
|
|
30167
|
+
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
|
|
30149
30168
|
if (\\"height\\" in values && values.height != null) {
|
|
30150
30169
|
if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
|
|
30151
30170
|
// @ts-ignore: type is checked above.
|
|
@@ -30665,7 +30684,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
30665
30684
|
* Clones this instance, optionally updating it with the given values.
|
|
30666
30685
|
* @param values The values to update the clone with.
|
|
30667
30686
|
* @param options The options to use for cloning.
|
|
30668
|
-
* @returns The cloned instance.
|
|
30687
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
30688
|
+
* and URLs are shared with this instance.
|
|
30669
30689
|
*/
|
|
30670
30690
|
override clone(
|
|
30671
30691
|
values:
|
|
@@ -31016,7 +31036,8 @@ instruments?: (Object | URL)[];}
|
|
|
31016
31036
|
* Clones this instance, optionally updating it with the given values.
|
|
31017
31037
|
* @param values The values to update the clone with.
|
|
31018
31038
|
* @param options The options to use for cloning.
|
|
31019
|
-
* @returns The cloned instance.
|
|
31039
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
31040
|
+
* and URLs are shared with this instance.
|
|
31020
31041
|
*/
|
|
31021
31042
|
override clone(
|
|
31022
31043
|
values:
|
|
@@ -31362,7 +31383,8 @@ instruments?: (Object | URL)[];}
|
|
|
31362
31383
|
* Clones this instance, optionally updating it with the given values.
|
|
31363
31384
|
* @param values The values to update the clone with.
|
|
31364
31385
|
* @param options The options to use for cloning.
|
|
31365
|
-
* @returns The cloned instance.
|
|
31386
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
31387
|
+
* and URLs are shared with this instance.
|
|
31366
31388
|
*/
|
|
31367
31389
|
override clone(
|
|
31368
31390
|
values:
|
|
@@ -31788,7 +31810,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31788
31810
|
if (Array.isArray(values.items) &&
|
|
31789
31811
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
31790
31812
|
// @ts-ignore: type is checked above.
|
|
31791
|
-
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
31813
|
+
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
31792
31814
|
|
|
31793
31815
|
for (let i = 0; i < values.items.length; i++) {
|
|
31794
31816
|
this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
|
|
@@ -31911,7 +31933,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31911
31933
|
* Clones this instance, optionally updating it with the given values.
|
|
31912
31934
|
* @param values The values to update the clone with.
|
|
31913
31935
|
* @param options The options to use for cloning.
|
|
31914
|
-
* @returns The cloned instance.
|
|
31936
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
31937
|
+
* and URLs are shared with this instance.
|
|
31915
31938
|
*/
|
|
31916
31939
|
override clone(
|
|
31917
31940
|
values:
|
|
@@ -31949,7 +31972,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31949
31972
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
31950
31973
|
options = { ...options, $warning: this._warning };
|
|
31951
31974
|
}
|
|
31952
|
-
const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems;
|
|
31975
|
+
const clone = super.clone(values, options) as unknown as Collection;clone.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems = this.#_XDbmNDuWHmrhqH712zqtecdbv1V_totalItems.slice();
|
|
31953
31976
|
if (\\"totalItems\\" in values && values.totalItems != null) {
|
|
31954
31977
|
if (typeof values.totalItems === \\"number\\" && Number.isInteger(values.totalItems) && values.totalItems >= 0) {
|
|
31955
31978
|
// @ts-ignore: type is checked above.
|
|
@@ -31962,7 +31985,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31962
31985
|
);
|
|
31963
31986
|
}
|
|
31964
31987
|
}
|
|
31965
|
-
clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current;clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
|
|
31988
|
+
clone.#_3UyUdxnyn6cDn53QKrh4MBiearma_current = this.#_3UyUdxnyn6cDn53QKrh4MBiearma_current.slice();clone.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current = new Set(this.#_trust_3UyUdxnyn6cDn53QKrh4MBiearma_current);
|
|
31966
31989
|
if (\\"current\\" in values && values.current != null) {
|
|
31967
31990
|
if (values.current instanceof CollectionPage || values.current instanceof URL) {
|
|
31968
31991
|
// @ts-ignore: type is checked above.
|
|
@@ -31975,7 +31998,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31975
31998
|
);
|
|
31976
31999
|
}
|
|
31977
32000
|
}
|
|
31978
|
-
clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first;clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
|
|
32001
|
+
clone.#_J52RqweMe6hhv7RnLJMC8BExTE5_first = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.slice();clone.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first = new Set(this.#_trust_J52RqweMe6hhv7RnLJMC8BExTE5_first);
|
|
31979
32002
|
if (\\"first\\" in values && values.first != null) {
|
|
31980
32003
|
if (values.first instanceof CollectionPage || values.first instanceof URL) {
|
|
31981
32004
|
// @ts-ignore: type is checked above.
|
|
@@ -31988,7 +32011,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
31988
32011
|
);
|
|
31989
32012
|
}
|
|
31990
32013
|
}
|
|
31991
|
-
clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last;clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
|
|
32014
|
+
clone.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.slice();clone.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = new Set(this.#_trust_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last);
|
|
31992
32015
|
if (\\"last\\" in values && values.last != null) {
|
|
31993
32016
|
if (values.last instanceof CollectionPage || values.last instanceof URL) {
|
|
31994
32017
|
// @ts-ignore: type is checked above.
|
|
@@ -32001,13 +32024,13 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32001
32024
|
);
|
|
32002
32025
|
}
|
|
32003
32026
|
}
|
|
32004
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
|
|
32027
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.slice();clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set(this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items);
|
|
32005
32028
|
if (\\"items\\" in values && values.items != null) {
|
|
32006
32029
|
|
|
32007
32030
|
if (Array.isArray(values.items) &&
|
|
32008
32031
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
32009
32032
|
// @ts-ignore: type is checked above.
|
|
32010
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
32033
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
32011
32034
|
|
|
32012
32035
|
clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
|
|
32013
32036
|
for (let i = 0; i < values.items.length; i++) {
|
|
@@ -32021,7 +32044,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32021
32044
|
);
|
|
32022
32045
|
}
|
|
32023
32046
|
}
|
|
32024
|
-
clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
|
|
32047
|
+
clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.slice();clone.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = new Set(this.#_trust_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf);
|
|
32025
32048
|
if (\\"likesOf\\" in values && values.likesOf != null) {
|
|
32026
32049
|
if (values.likesOf instanceof Object || values.likesOf instanceof URL) {
|
|
32027
32050
|
// @ts-ignore: type is checked above.
|
|
@@ -32034,7 +32057,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32034
32057
|
);
|
|
32035
32058
|
}
|
|
32036
32059
|
}
|
|
32037
|
-
clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
|
|
32060
|
+
clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.slice();clone.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = new Set(this.#_trust_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf);
|
|
32038
32061
|
if (\\"sharesOf\\" in values && values.sharesOf != null) {
|
|
32039
32062
|
if (values.sharesOf instanceof Object || values.sharesOf instanceof URL) {
|
|
32040
32063
|
// @ts-ignore: type is checked above.
|
|
@@ -32047,7 +32070,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32047
32070
|
);
|
|
32048
32071
|
}
|
|
32049
32072
|
}
|
|
32050
|
-
clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
|
|
32073
|
+
clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.slice();clone.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = new Set(this.#_trust_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf);
|
|
32051
32074
|
if (\\"repliesOf\\" in values && values.repliesOf != null) {
|
|
32052
32075
|
if (values.repliesOf instanceof Object || values.repliesOf instanceof URL) {
|
|
32053
32076
|
// @ts-ignore: type is checked above.
|
|
@@ -32060,7 +32083,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32060
32083
|
);
|
|
32061
32084
|
}
|
|
32062
32085
|
}
|
|
32063
|
-
clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
|
|
32086
|
+
clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.slice();clone.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = new Set(this.#_trust_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf);
|
|
32064
32087
|
if (\\"inboxOf\\" in values && values.inboxOf != null) {
|
|
32065
32088
|
if (values.inboxOf instanceof Object || values.inboxOf instanceof URL) {
|
|
32066
32089
|
// @ts-ignore: type is checked above.
|
|
@@ -32073,7 +32096,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32073
32096
|
);
|
|
32074
32097
|
}
|
|
32075
32098
|
}
|
|
32076
|
-
clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
|
|
32099
|
+
clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.slice();clone.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = new Set(this.#_trust_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf);
|
|
32077
32100
|
if (\\"outboxOf\\" in values && values.outboxOf != null) {
|
|
32078
32101
|
if (values.outboxOf instanceof Object || values.outboxOf instanceof URL) {
|
|
32079
32102
|
// @ts-ignore: type is checked above.
|
|
@@ -32086,7 +32109,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32086
32109
|
);
|
|
32087
32110
|
}
|
|
32088
32111
|
}
|
|
32089
|
-
clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
|
|
32112
|
+
clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.slice();clone.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = new Set(this.#_trust_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf);
|
|
32090
32113
|
if (\\"followersOf\\" in values && values.followersOf != null) {
|
|
32091
32114
|
if (values.followersOf instanceof Object || values.followersOf instanceof URL) {
|
|
32092
32115
|
// @ts-ignore: type is checked above.
|
|
@@ -32099,7 +32122,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32099
32122
|
);
|
|
32100
32123
|
}
|
|
32101
32124
|
}
|
|
32102
|
-
clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
|
|
32125
|
+
clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.slice();clone.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = new Set(this.#_trust_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf);
|
|
32103
32126
|
if (\\"followingOf\\" in values && values.followingOf != null) {
|
|
32104
32127
|
if (values.followingOf instanceof Object || values.followingOf instanceof URL) {
|
|
32105
32128
|
// @ts-ignore: type is checked above.
|
|
@@ -32112,7 +32135,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
32112
32135
|
);
|
|
32113
32136
|
}
|
|
32114
32137
|
}
|
|
32115
|
-
clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
|
|
32138
|
+
clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.slice();clone.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = new Set(this.#_trust_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf);
|
|
32116
32139
|
if (\\"likedOf\\" in values && values.likedOf != null) {
|
|
32117
32140
|
if (values.likedOf instanceof Object || values.likedOf instanceof URL) {
|
|
32118
32141
|
// @ts-ignore: type is checked above.
|
|
@@ -36436,7 +36459,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36436
36459
|
* Clones this instance, optionally updating it with the given values.
|
|
36437
36460
|
* @param values The values to update the clone with.
|
|
36438
36461
|
* @param options The options to use for cloning.
|
|
36439
|
-
* @returns The cloned instance.
|
|
36462
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
36463
|
+
* and URLs are shared with this instance.
|
|
36440
36464
|
*/
|
|
36441
36465
|
override clone(
|
|
36442
36466
|
values:
|
|
@@ -36474,7 +36498,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36474
36498
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
36475
36499
|
options = { ...options, $warning: this._warning };
|
|
36476
36500
|
}
|
|
36477
|
-
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);
|
|
36501
|
+
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);
|
|
36478
36502
|
if (\\"partOf\\" in values && values.partOf != null) {
|
|
36479
36503
|
if (values.partOf instanceof Collection || values.partOf instanceof URL) {
|
|
36480
36504
|
// @ts-ignore: type is checked above.
|
|
@@ -36487,7 +36511,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36487
36511
|
);
|
|
36488
36512
|
}
|
|
36489
36513
|
}
|
|
36490
|
-
clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next;clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
|
|
36514
|
+
clone.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = this.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next.slice();clone.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next = new Set(this.#_trust_3BT4kQLcXhHx7TAWaNDKh8nFn9eY_next);
|
|
36491
36515
|
if (\\"next\\" in values && values.next != null) {
|
|
36492
36516
|
if (values.next instanceof CollectionPage || values.next instanceof URL) {
|
|
36493
36517
|
// @ts-ignore: type is checked above.
|
|
@@ -36500,7 +36524,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
36500
36524
|
);
|
|
36501
36525
|
}
|
|
36502
36526
|
}
|
|
36503
|
-
clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev;clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
|
|
36527
|
+
clone.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = this.#_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev.slice();clone.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev = new Set(this.#_trust_3b8yG8tDNzQFFEnWhCc13G8eHooA_prev);
|
|
36504
36528
|
if (\\"prev\\" in values && values.prev != null) {
|
|
36505
36529
|
if (values.prev instanceof CollectionPage || values.prev instanceof URL) {
|
|
36506
36530
|
// @ts-ignore: type is checked above.
|
|
@@ -37782,7 +37806,8 @@ instruments?: (Object | URL)[];}
|
|
|
37782
37806
|
* Clones this instance, optionally updating it with the given values.
|
|
37783
37807
|
* @param values The values to update the clone with.
|
|
37784
37808
|
* @param options The options to use for cloning.
|
|
37785
|
-
* @returns The cloned instance.
|
|
37809
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
37810
|
+
* and URLs are shared with this instance.
|
|
37786
37811
|
*/
|
|
37787
37812
|
override clone(
|
|
37788
37813
|
values:
|
|
@@ -38122,7 +38147,8 @@ instruments?: (Object | URL)[];}
|
|
|
38122
38147
|
* Clones this instance, optionally updating it with the given values.
|
|
38123
38148
|
* @param values The values to update the clone with.
|
|
38124
38149
|
* @param options The options to use for cloning.
|
|
38125
|
-
* @returns The cloned instance.
|
|
38150
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
38151
|
+
* and URLs are shared with this instance.
|
|
38126
38152
|
*/
|
|
38127
38153
|
override clone(
|
|
38128
38154
|
values:
|
|
@@ -38460,7 +38486,8 @@ instruments?: (Object | URL)[];}
|
|
|
38460
38486
|
* Clones this instance, optionally updating it with the given values.
|
|
38461
38487
|
* @param values The values to update the clone with.
|
|
38462
38488
|
* @param options The options to use for cloning.
|
|
38463
|
-
* @returns The cloned instance.
|
|
38489
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
38490
|
+
* and URLs are shared with this instance.
|
|
38464
38491
|
*/
|
|
38465
38492
|
override clone(
|
|
38466
38493
|
values:
|
|
@@ -38930,7 +38957,8 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38930
38957
|
* Clones this instance, optionally updating it with the given values.
|
|
38931
38958
|
* @param values The values to update the clone with.
|
|
38932
38959
|
* @param options The options to use for cloning.
|
|
38933
|
-
* @returns The cloned instance.
|
|
38960
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
38961
|
+
* and URLs are shared with this instance.
|
|
38934
38962
|
*/
|
|
38935
38963
|
clone(
|
|
38936
38964
|
values:
|
|
@@ -38958,7 +38986,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38958
38986
|
{ id: values.id ?? this.id },
|
|
38959
38987
|
options
|
|
38960
38988
|
);
|
|
38961
|
-
clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
|
|
38989
|
+
clone.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = this.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.slice();
|
|
38962
38990
|
if (\\"proxyUrl\\" in values && values.proxyUrl != null) {
|
|
38963
38991
|
if (values.proxyUrl instanceof URL) {
|
|
38964
38992
|
// @ts-ignore: type is checked above.
|
|
@@ -38971,7 +38999,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38971
38999
|
);
|
|
38972
39000
|
}
|
|
38973
39001
|
}
|
|
38974
|
-
clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
|
|
39002
|
+
clone.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = this.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.slice();
|
|
38975
39003
|
if (\\"oauthAuthorizationEndpoint\\" in values && values.oauthAuthorizationEndpoint != null) {
|
|
38976
39004
|
if (values.oauthAuthorizationEndpoint instanceof URL) {
|
|
38977
39005
|
// @ts-ignore: type is checked above.
|
|
@@ -38984,7 +39012,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38984
39012
|
);
|
|
38985
39013
|
}
|
|
38986
39014
|
}
|
|
38987
|
-
clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
|
|
39015
|
+
clone.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = this.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.slice();
|
|
38988
39016
|
if (\\"oauthTokenEndpoint\\" in values && values.oauthTokenEndpoint != null) {
|
|
38989
39017
|
if (values.oauthTokenEndpoint instanceof URL) {
|
|
38990
39018
|
// @ts-ignore: type is checked above.
|
|
@@ -38997,7 +39025,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
38997
39025
|
);
|
|
38998
39026
|
}
|
|
38999
39027
|
}
|
|
39000
|
-
clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
|
|
39028
|
+
clone.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = this.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.slice();
|
|
39001
39029
|
if (\\"provideClientKey\\" in values && values.provideClientKey != null) {
|
|
39002
39030
|
if (values.provideClientKey instanceof URL) {
|
|
39003
39031
|
// @ts-ignore: type is checked above.
|
|
@@ -39010,7 +39038,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
39010
39038
|
);
|
|
39011
39039
|
}
|
|
39012
39040
|
}
|
|
39013
|
-
clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
|
|
39041
|
+
clone.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = this.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.slice();
|
|
39014
39042
|
if (\\"signClientKey\\" in values && values.signClientKey != null) {
|
|
39015
39043
|
if (values.signClientKey instanceof URL) {
|
|
39016
39044
|
// @ts-ignore: type is checked above.
|
|
@@ -39023,7 +39051,7 @@ proxyUrl?: URL | null;oauthAuthorizationEndpoint?: URL | null;oauthTokenEndpoint
|
|
|
39023
39051
|
);
|
|
39024
39052
|
}
|
|
39025
39053
|
}
|
|
39026
|
-
clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
|
|
39054
|
+
clone.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = this.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.slice();
|
|
39027
39055
|
if (\\"sharedInbox\\" in values && values.sharedInbox != null) {
|
|
39028
39056
|
if (values.sharedInbox instanceof URL) {
|
|
39029
39057
|
// @ts-ignore: type is checked above.
|
|
@@ -39971,7 +39999,8 @@ proofs?: (DataIntegrityProof | URL)[];}
|
|
|
39971
39999
|
* Clones this instance, optionally updating it with the given values.
|
|
39972
40000
|
* @param values The values to update the clone with.
|
|
39973
40001
|
* @param options The options to use for cloning.
|
|
39974
|
-
* @returns The cloned instance.
|
|
40002
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
40003
|
+
* and URLs are shared with this instance.
|
|
39975
40004
|
*/
|
|
39976
40005
|
override clone(
|
|
39977
40006
|
values:
|
|
@@ -40323,7 +40352,8 @@ instruments?: (Object | URL)[];}
|
|
|
40323
40352
|
* Clones this instance, optionally updating it with the given values.
|
|
40324
40353
|
* @param values The values to update the clone with.
|
|
40325
40354
|
* @param options The options to use for cloning.
|
|
40326
|
-
* @returns The cloned instance.
|
|
40355
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
40356
|
+
* and URLs are shared with this instance.
|
|
40327
40357
|
*/
|
|
40328
40358
|
override clone(
|
|
40329
40359
|
values:
|
|
@@ -40665,7 +40695,8 @@ instruments?: (Object | URL)[];}
|
|
|
40665
40695
|
* Clones this instance, optionally updating it with the given values.
|
|
40666
40696
|
* @param values The values to update the clone with.
|
|
40667
40697
|
* @param options The options to use for cloning.
|
|
40668
|
-
* @returns The cloned instance.
|
|
40698
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
40699
|
+
* and URLs are shared with this instance.
|
|
40669
40700
|
*/
|
|
40670
40701
|
override clone(
|
|
40671
40702
|
values:
|
|
@@ -41071,7 +41102,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41071
41102
|
if (Array.isArray(values.preferredUsernames) &&
|
|
41072
41103
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
41073
41104
|
// @ts-ignore: type is checked above.
|
|
41074
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
41105
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
41075
41106
|
|
|
41076
41107
|
} else {
|
|
41077
41108
|
throw new TypeError(
|
|
@@ -41107,7 +41138,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41107
41138
|
if (Array.isArray(values.publicKeys) &&
|
|
41108
41139
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
41109
41140
|
// @ts-ignore: type is checked above.
|
|
41110
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
41141
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
41111
41142
|
|
|
41112
41143
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
41113
41144
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -41147,7 +41178,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41147
41178
|
if (Array.isArray(values.assertionMethods) &&
|
|
41148
41179
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
41149
41180
|
// @ts-ignore: type is checked above.
|
|
41150
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
41181
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
41151
41182
|
|
|
41152
41183
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
41153
41184
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -41270,7 +41301,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41270
41301
|
if (Array.isArray(values.streams) &&
|
|
41271
41302
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
41272
41303
|
// @ts-ignore: type is checked above.
|
|
41273
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
41304
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
41274
41305
|
|
|
41275
41306
|
for (let i = 0; i < values.streams.length; i++) {
|
|
41276
41307
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -41388,7 +41419,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41388
41419
|
if (Array.isArray(values.aliases) &&
|
|
41389
41420
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
41390
41421
|
// @ts-ignore: type is checked above.
|
|
41391
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
41422
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
41392
41423
|
|
|
41393
41424
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
41394
41425
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -41428,7 +41459,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41428
41459
|
if (Array.isArray(values.services) &&
|
|
41429
41460
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
41430
41461
|
// @ts-ignore: type is checked above.
|
|
41431
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
41462
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
41432
41463
|
|
|
41433
41464
|
for (let i = 0; i < values.services.length; i++) {
|
|
41434
41465
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -41473,7 +41504,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41473
41504
|
* Clones this instance, optionally updating it with the given values.
|
|
41474
41505
|
* @param values The values to update the clone with.
|
|
41475
41506
|
* @param options The options to use for cloning.
|
|
41476
|
-
* @returns The cloned instance.
|
|
41507
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
41508
|
+
* and URLs are shared with this instance.
|
|
41477
41509
|
*/
|
|
41478
41510
|
override clone(
|
|
41479
41511
|
values:
|
|
@@ -41516,7 +41548,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41516
41548
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
41517
41549
|
options = { ...options, $warning: this._warning };
|
|
41518
41550
|
}
|
|
41519
|
-
const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
41551
|
+
const clone = super.clone(values, options) as unknown as Group;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
41520
41552
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
41521
41553
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
41522
41554
|
// @ts-ignore: type is checked above.
|
|
@@ -41543,7 +41575,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41543
41575
|
if (Array.isArray(values.preferredUsernames) &&
|
|
41544
41576
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
41545
41577
|
// @ts-ignore: type is checked above.
|
|
41546
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
41578
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
41547
41579
|
|
|
41548
41580
|
} else {
|
|
41549
41581
|
throw new TypeError(
|
|
@@ -41552,7 +41584,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41552
41584
|
);
|
|
41553
41585
|
}
|
|
41554
41586
|
}
|
|
41555
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
41587
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
41556
41588
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
41557
41589
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
41558
41590
|
// @ts-ignore: type is checked above.
|
|
@@ -41579,7 +41611,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41579
41611
|
if (Array.isArray(values.publicKeys) &&
|
|
41580
41612
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
41581
41613
|
// @ts-ignore: type is checked above.
|
|
41582
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
41614
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
41583
41615
|
|
|
41584
41616
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
41585
41617
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -41593,7 +41625,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41593
41625
|
);
|
|
41594
41626
|
}
|
|
41595
41627
|
}
|
|
41596
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
41628
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
41597
41629
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
41598
41630
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
41599
41631
|
// @ts-ignore: type is checked above.
|
|
@@ -41620,7 +41652,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41620
41652
|
if (Array.isArray(values.assertionMethods) &&
|
|
41621
41653
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
41622
41654
|
// @ts-ignore: type is checked above.
|
|
41623
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
41655
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
41624
41656
|
|
|
41625
41657
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
41626
41658
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -41634,7 +41666,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41634
41666
|
);
|
|
41635
41667
|
}
|
|
41636
41668
|
}
|
|
41637
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
41669
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
41638
41670
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
41639
41671
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
41640
41672
|
// @ts-ignore: type is checked above.
|
|
@@ -41647,7 +41679,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41647
41679
|
);
|
|
41648
41680
|
}
|
|
41649
41681
|
}
|
|
41650
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
41682
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
41651
41683
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
41652
41684
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
41653
41685
|
// @ts-ignore: type is checked above.
|
|
@@ -41660,7 +41692,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41660
41692
|
);
|
|
41661
41693
|
}
|
|
41662
41694
|
}
|
|
41663
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
41695
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
41664
41696
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
41665
41697
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
41666
41698
|
// @ts-ignore: type is checked above.
|
|
@@ -41673,7 +41705,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41673
41705
|
);
|
|
41674
41706
|
}
|
|
41675
41707
|
}
|
|
41676
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
41708
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
41677
41709
|
if (\\"following\\" in values && values.following != null) {
|
|
41678
41710
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
41679
41711
|
// @ts-ignore: type is checked above.
|
|
@@ -41686,7 +41718,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41686
41718
|
);
|
|
41687
41719
|
}
|
|
41688
41720
|
}
|
|
41689
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
41721
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
41690
41722
|
if (\\"followers\\" in values && values.followers != null) {
|
|
41691
41723
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
41692
41724
|
// @ts-ignore: type is checked above.
|
|
@@ -41699,7 +41731,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41699
41731
|
);
|
|
41700
41732
|
}
|
|
41701
41733
|
}
|
|
41702
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
41734
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
41703
41735
|
if (\\"liked\\" in values && values.liked != null) {
|
|
41704
41736
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
41705
41737
|
// @ts-ignore: type is checked above.
|
|
@@ -41712,7 +41744,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41712
41744
|
);
|
|
41713
41745
|
}
|
|
41714
41746
|
}
|
|
41715
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
41747
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
41716
41748
|
if (\\"featured\\" in values && values.featured != null) {
|
|
41717
41749
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
41718
41750
|
// @ts-ignore: type is checked above.
|
|
@@ -41725,7 +41757,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41725
41757
|
);
|
|
41726
41758
|
}
|
|
41727
41759
|
}
|
|
41728
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
41760
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
41729
41761
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
41730
41762
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
41731
41763
|
// @ts-ignore: type is checked above.
|
|
@@ -41738,13 +41770,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41738
41770
|
);
|
|
41739
41771
|
}
|
|
41740
41772
|
}
|
|
41741
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
41773
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
41742
41774
|
if (\\"streams\\" in values && values.streams != null) {
|
|
41743
41775
|
|
|
41744
41776
|
if (Array.isArray(values.streams) &&
|
|
41745
41777
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
41746
41778
|
// @ts-ignore: type is checked above.
|
|
41747
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
41779
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
41748
41780
|
|
|
41749
41781
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
41750
41782
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -41758,7 +41790,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41758
41790
|
);
|
|
41759
41791
|
}
|
|
41760
41792
|
}
|
|
41761
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
41793
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
41762
41794
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
41763
41795
|
if (values.endpoints instanceof Endpoints) {
|
|
41764
41796
|
// @ts-ignore: type is checked above.
|
|
@@ -41771,7 +41803,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41771
41803
|
);
|
|
41772
41804
|
}
|
|
41773
41805
|
}
|
|
41774
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
41806
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
41775
41807
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
41776
41808
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
41777
41809
|
// @ts-ignore: type is checked above.
|
|
@@ -41784,7 +41816,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41784
41816
|
);
|
|
41785
41817
|
}
|
|
41786
41818
|
}
|
|
41787
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
41819
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
41788
41820
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
41789
41821
|
if (typeof values.suspended === \\"boolean\\") {
|
|
41790
41822
|
// @ts-ignore: type is checked above.
|
|
@@ -41797,7 +41829,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41797
41829
|
);
|
|
41798
41830
|
}
|
|
41799
41831
|
}
|
|
41800
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
41832
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
41801
41833
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
41802
41834
|
if (typeof values.memorial === \\"boolean\\") {
|
|
41803
41835
|
// @ts-ignore: type is checked above.
|
|
@@ -41810,7 +41842,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41810
41842
|
);
|
|
41811
41843
|
}
|
|
41812
41844
|
}
|
|
41813
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
41845
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
41814
41846
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
41815
41847
|
if (typeof values.indexable === \\"boolean\\") {
|
|
41816
41848
|
// @ts-ignore: type is checked above.
|
|
@@ -41823,7 +41855,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41823
41855
|
);
|
|
41824
41856
|
}
|
|
41825
41857
|
}
|
|
41826
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
41858
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
41827
41859
|
if (\\"successor\\" in values && values.successor != null) {
|
|
41828
41860
|
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) {
|
|
41829
41861
|
// @ts-ignore: type is checked above.
|
|
@@ -41836,7 +41868,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41836
41868
|
);
|
|
41837
41869
|
}
|
|
41838
41870
|
}
|
|
41839
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
41871
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
41840
41872
|
if (\\"alias\\" in values && values.alias != null) {
|
|
41841
41873
|
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) {
|
|
41842
41874
|
// @ts-ignore: type is checked above.
|
|
@@ -41863,7 +41895,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41863
41895
|
if (Array.isArray(values.aliases) &&
|
|
41864
41896
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
41865
41897
|
// @ts-ignore: type is checked above.
|
|
41866
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
41898
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
41867
41899
|
|
|
41868
41900
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
41869
41901
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -41877,7 +41909,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41877
41909
|
);
|
|
41878
41910
|
}
|
|
41879
41911
|
}
|
|
41880
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
41912
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
41881
41913
|
if (\\"service\\" in values && values.service != null) {
|
|
41882
41914
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
41883
41915
|
// @ts-ignore: type is checked above.
|
|
@@ -41904,7 +41936,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41904
41936
|
if (Array.isArray(values.services) &&
|
|
41905
41937
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
41906
41938
|
// @ts-ignore: type is checked above.
|
|
41907
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
41939
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
41908
41940
|
|
|
41909
41941
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
41910
41942
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -41918,7 +41950,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41918
41950
|
);
|
|
41919
41951
|
}
|
|
41920
41952
|
}
|
|
41921
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
41953
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
41922
41954
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
41923
41955
|
if (typeof values.followedMessage === \\"string\\") {
|
|
41924
41956
|
// @ts-ignore: type is checked above.
|
|
@@ -41931,7 +41963,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
41931
41963
|
);
|
|
41932
41964
|
}
|
|
41933
41965
|
}
|
|
41934
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
41966
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
41935
41967
|
if (\\"cat\\" in values && values.cat != null) {
|
|
41936
41968
|
if (typeof values.cat === \\"boolean\\") {
|
|
41937
41969
|
// @ts-ignore: type is checked above.
|
|
@@ -48048,7 +48080,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48048
48080
|
if (Array.isArray(values.rels) &&
|
|
48049
48081
|
values.rels.every(v => typeof v === \\"string\\")) {
|
|
48050
48082
|
// @ts-ignore: type is checked above.
|
|
48051
|
-
this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
|
|
48083
|
+
this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
|
|
48052
48084
|
|
|
48053
48085
|
} else {
|
|
48054
48086
|
throw new TypeError(
|
|
@@ -48097,7 +48129,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48097
48129
|
if (Array.isArray(values.names) &&
|
|
48098
48130
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
48099
48131
|
// @ts-ignore: type is checked above.
|
|
48100
|
-
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
48132
|
+
this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
48101
48133
|
|
|
48102
48134
|
} else {
|
|
48103
48135
|
throw new TypeError(
|
|
@@ -48151,7 +48183,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48151
48183
|
if (Array.isArray(values.previews) &&
|
|
48152
48184
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
48153
48185
|
// @ts-ignore: type is checked above.
|
|
48154
|
-
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
48186
|
+
this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
48155
48187
|
|
|
48156
48188
|
for (let i = 0; i < values.previews.length; i++) {
|
|
48157
48189
|
this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
|
|
@@ -48170,7 +48202,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48170
48202
|
* Clones this instance, optionally updating it with the given values.
|
|
48171
48203
|
* @param values The values to update the clone with.
|
|
48172
48204
|
* @param options The options to use for cloning.
|
|
48173
|
-
* @returns The cloned instance.
|
|
48205
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
48206
|
+
* and URLs are shared with this instance.
|
|
48174
48207
|
*/
|
|
48175
48208
|
clone(
|
|
48176
48209
|
values:
|
|
@@ -48200,7 +48233,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48200
48233
|
{ id: values.id ?? this.id },
|
|
48201
48234
|
options
|
|
48202
48235
|
);
|
|
48203
|
-
clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
|
|
48236
|
+
clone.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = this.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.slice();
|
|
48204
48237
|
if (\\"href\\" in values && values.href != null) {
|
|
48205
48238
|
if (values.href instanceof URL) {
|
|
48206
48239
|
// @ts-ignore: type is checked above.
|
|
@@ -48213,7 +48246,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48213
48246
|
);
|
|
48214
48247
|
}
|
|
48215
48248
|
}
|
|
48216
|
-
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel;
|
|
48249
|
+
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = this.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel.slice();
|
|
48217
48250
|
if (\\"rel\\" in values && values.rel != null) {
|
|
48218
48251
|
if (typeof values.rel === \\"string\\") {
|
|
48219
48252
|
// @ts-ignore: type is checked above.
|
|
@@ -48240,7 +48273,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48240
48273
|
if (Array.isArray(values.rels) &&
|
|
48241
48274
|
values.rels.every(v => typeof v === \\"string\\")) {
|
|
48242
48275
|
// @ts-ignore: type is checked above.
|
|
48243
|
-
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels;
|
|
48276
|
+
clone.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = values.rels.slice();
|
|
48244
48277
|
|
|
48245
48278
|
} else {
|
|
48246
48279
|
throw new TypeError(
|
|
@@ -48249,7 +48282,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48249
48282
|
);
|
|
48250
48283
|
}
|
|
48251
48284
|
}
|
|
48252
|
-
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
|
|
48285
|
+
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
|
|
48253
48286
|
if (\\"mediaType\\" in values && values.mediaType != null) {
|
|
48254
48287
|
if (typeof values.mediaType === \\"string\\") {
|
|
48255
48288
|
// @ts-ignore: type is checked above.
|
|
@@ -48262,7 +48295,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48262
48295
|
);
|
|
48263
48296
|
}
|
|
48264
48297
|
}
|
|
48265
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name;
|
|
48298
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name.slice();
|
|
48266
48299
|
if (\\"name\\" in values && values.name != null) {
|
|
48267
48300
|
if (typeof values.name === \\"string\\" || values.name instanceof LanguageString) {
|
|
48268
48301
|
// @ts-ignore: type is checked above.
|
|
@@ -48289,7 +48322,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48289
48322
|
if (Array.isArray(values.names) &&
|
|
48290
48323
|
values.names.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
48291
48324
|
// @ts-ignore: type is checked above.
|
|
48292
|
-
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
|
|
48325
|
+
clone.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names.slice();
|
|
48293
48326
|
|
|
48294
48327
|
} else {
|
|
48295
48328
|
throw new TypeError(
|
|
@@ -48298,7 +48331,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48298
48331
|
);
|
|
48299
48332
|
}
|
|
48300
48333
|
}
|
|
48301
|
-
clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang;
|
|
48334
|
+
clone.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang = this.#_f57HKWCp1YRBbTJE8PF12RbDJGf_hreflang.slice();
|
|
48302
48335
|
if (\\"language\\" in values && values.language != null) {
|
|
48303
48336
|
if (values.language instanceof Intl.Locale) {
|
|
48304
48337
|
// @ts-ignore: type is checked above.
|
|
@@ -48311,7 +48344,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48311
48344
|
);
|
|
48312
48345
|
}
|
|
48313
48346
|
}
|
|
48314
|
-
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height;
|
|
48347
|
+
clone.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height = this.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb_height.slice();
|
|
48315
48348
|
if (\\"height\\" in values && values.height != null) {
|
|
48316
48349
|
if (typeof values.height === \\"number\\" && Number.isInteger(values.height) && values.height >= 0) {
|
|
48317
48350
|
// @ts-ignore: type is checked above.
|
|
@@ -48324,7 +48357,7 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48324
48357
|
);
|
|
48325
48358
|
}
|
|
48326
48359
|
}
|
|
48327
|
-
clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width;
|
|
48360
|
+
clone.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width = this.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe_width.slice();
|
|
48328
48361
|
if (\\"width\\" in values && values.width != null) {
|
|
48329
48362
|
if (typeof values.width === \\"number\\" && Number.isInteger(values.width) && values.width >= 0) {
|
|
48330
48363
|
// @ts-ignore: type is checked above.
|
|
@@ -48337,13 +48370,13 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
48337
48370
|
);
|
|
48338
48371
|
}
|
|
48339
48372
|
}
|
|
48340
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview;clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
48373
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = this.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview.slice();clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set(this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview);
|
|
48341
48374
|
if (\\"previews\\" in values && values.previews != null) {
|
|
48342
48375
|
|
|
48343
48376
|
if (Array.isArray(values.previews) &&
|
|
48344
48377
|
values.previews.every(v => v instanceof Link || v instanceof Object || v instanceof URL)) {
|
|
48345
48378
|
// @ts-ignore: type is checked above.
|
|
48346
|
-
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews;
|
|
48379
|
+
clone.#_gCVTegXxWWCw6wWRxa1QF65zusg_preview = values.previews.slice();
|
|
48347
48380
|
|
|
48348
48381
|
clone.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview = new Set();
|
|
48349
48382
|
for (let i = 0; i < values.previews.length; i++) {
|
|
@@ -49695,7 +49728,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
49695
49728
|
* Clones this instance, optionally updating it with the given values.
|
|
49696
49729
|
* @param values The values to update the clone with.
|
|
49697
49730
|
* @param options The options to use for cloning.
|
|
49698
|
-
* @returns The cloned instance.
|
|
49731
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
49732
|
+
* and URLs are shared with this instance.
|
|
49699
49733
|
*/
|
|
49700
49734
|
override clone(
|
|
49701
49735
|
values:
|
|
@@ -50013,7 +50047,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
50013
50047
|
* Clones this instance, optionally updating it with the given values.
|
|
50014
50048
|
* @param values The values to update the clone with.
|
|
50015
50049
|
* @param options The options to use for cloning.
|
|
50016
|
-
* @returns The cloned instance.
|
|
50050
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
50051
|
+
* and URLs are shared with this instance.
|
|
50017
50052
|
*/
|
|
50018
50053
|
override clone(
|
|
50019
50054
|
values:
|
|
@@ -50365,7 +50400,8 @@ instruments?: (Object | URL)[];}
|
|
|
50365
50400
|
* Clones this instance, optionally updating it with the given values.
|
|
50366
50401
|
* @param values The values to update the clone with.
|
|
50367
50402
|
* @param options The options to use for cloning.
|
|
50368
|
-
* @returns The cloned instance.
|
|
50403
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
50404
|
+
* and URLs are shared with this instance.
|
|
50369
50405
|
*/
|
|
50370
50406
|
override clone(
|
|
50371
50407
|
values:
|
|
@@ -50709,7 +50745,8 @@ instruments?: (Object | URL)[];}
|
|
|
50709
50745
|
* Clones this instance, optionally updating it with the given values.
|
|
50710
50746
|
* @param values The values to update the clone with.
|
|
50711
50747
|
* @param options The options to use for cloning.
|
|
50712
|
-
* @returns The cloned instance.
|
|
50748
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
50749
|
+
* and URLs are shared with this instance.
|
|
50713
50750
|
*/
|
|
50714
50751
|
override clone(
|
|
50715
50752
|
values:
|
|
@@ -51049,7 +51086,8 @@ instruments?: (Object | URL)[];}
|
|
|
51049
51086
|
* Clones this instance, optionally updating it with the given values.
|
|
51050
51087
|
* @param values The values to update the clone with.
|
|
51051
51088
|
* @param options The options to use for cloning.
|
|
51052
|
-
* @returns The cloned instance.
|
|
51089
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
51090
|
+
* and URLs are shared with this instance.
|
|
51053
51091
|
*/
|
|
51054
51092
|
override clone(
|
|
51055
51093
|
values:
|
|
@@ -51389,7 +51427,8 @@ instruments?: (Object | URL)[];}
|
|
|
51389
51427
|
* Clones this instance, optionally updating it with the given values.
|
|
51390
51428
|
* @param values The values to update the clone with.
|
|
51391
51429
|
* @param options The options to use for cloning.
|
|
51392
|
-
* @returns The cloned instance.
|
|
51430
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
51431
|
+
* and URLs are shared with this instance.
|
|
51393
51432
|
*/
|
|
51394
51433
|
override clone(
|
|
51395
51434
|
values:
|
|
@@ -51729,7 +51768,8 @@ instruments?: (Object | URL)[];}
|
|
|
51729
51768
|
* Clones this instance, optionally updating it with the given values.
|
|
51730
51769
|
* @param values The values to update the clone with.
|
|
51731
51770
|
* @param options The options to use for cloning.
|
|
51732
|
-
* @returns The cloned instance.
|
|
51771
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
51772
|
+
* and URLs are shared with this instance.
|
|
51733
51773
|
*/
|
|
51734
51774
|
override clone(
|
|
51735
51775
|
values:
|
|
@@ -52067,7 +52107,8 @@ instruments?: (Object | URL)[];}
|
|
|
52067
52107
|
* Clones this instance, optionally updating it with the given values.
|
|
52068
52108
|
* @param values The values to update the clone with.
|
|
52069
52109
|
* @param options The options to use for cloning.
|
|
52070
|
-
* @returns The cloned instance.
|
|
52110
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
52111
|
+
* and URLs are shared with this instance.
|
|
52071
52112
|
*/
|
|
52072
52113
|
override clone(
|
|
52073
52114
|
values:
|
|
@@ -52385,7 +52426,8 @@ names?: ((string | LanguageString))[];language?: Intl.Locale | null;height?: num
|
|
|
52385
52426
|
* Clones this instance, optionally updating it with the given values.
|
|
52386
52427
|
* @param values The values to update the clone with.
|
|
52387
52428
|
* @param options The options to use for cloning.
|
|
52388
|
-
* @returns The cloned instance.
|
|
52429
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
52430
|
+
* and URLs are shared with this instance.
|
|
52389
52431
|
*/
|
|
52390
52432
|
override clone(
|
|
52391
52433
|
values:
|
|
@@ -52712,7 +52754,8 @@ instruments?: (Object | URL)[];}
|
|
|
52712
52754
|
* Clones this instance, optionally updating it with the given values.
|
|
52713
52755
|
* @param values The values to update the clone with.
|
|
52714
52756
|
* @param options The options to use for cloning.
|
|
52715
|
-
* @returns The cloned instance.
|
|
52757
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
52758
|
+
* and URLs are shared with this instance.
|
|
52716
52759
|
*/
|
|
52717
52760
|
override clone(
|
|
52718
52761
|
values:
|
|
@@ -53060,7 +53103,8 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
53060
53103
|
* Clones this instance, optionally updating it with the given values.
|
|
53061
53104
|
* @param values The values to update the clone with.
|
|
53062
53105
|
* @param options The options to use for cloning.
|
|
53063
|
-
* @returns The cloned instance.
|
|
53106
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
53107
|
+
* and URLs are shared with this instance.
|
|
53064
53108
|
*/
|
|
53065
53109
|
override clone(
|
|
53066
53110
|
values:
|
|
@@ -53098,7 +53142,7 @@ proofs?: (DataIntegrityProof | URL)[];quoteUrl?: URL | null;}
|
|
|
53098
53142
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
53099
53143
|
options = { ...options, $warning: this._warning };
|
|
53100
53144
|
}
|
|
53101
|
-
const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
53145
|
+
const clone = super.clone(values, options) as unknown as Note;clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
53102
53146
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
53103
53147
|
if (values.quoteUrl instanceof URL) {
|
|
53104
53148
|
// @ts-ignore: type is checked above.
|
|
@@ -53550,7 +53594,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53550
53594
|
if (Array.isArray(values.items) &&
|
|
53551
53595
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
53552
53596
|
// @ts-ignore: type is checked above.
|
|
53553
|
-
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
53597
|
+
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
53554
53598
|
|
|
53555
53599
|
for (let i = 0; i < values.items.length; i++) {
|
|
53556
53600
|
this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
|
|
@@ -53569,7 +53613,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53569
53613
|
* Clones this instance, optionally updating it with the given values.
|
|
53570
53614
|
* @param values The values to update the clone with.
|
|
53571
53615
|
* @param options The options to use for cloning.
|
|
53572
|
-
* @returns The cloned instance.
|
|
53616
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
53617
|
+
* and URLs are shared with this instance.
|
|
53573
53618
|
*/
|
|
53574
53619
|
override clone(
|
|
53575
53620
|
values:
|
|
@@ -53607,13 +53652,13 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
53607
53652
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
53608
53653
|
options = { ...options, $warning: this._warning };
|
|
53609
53654
|
}
|
|
53610
|
-
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);
|
|
53655
|
+
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);
|
|
53611
53656
|
if (\\"items\\" in values && values.items != null) {
|
|
53612
53657
|
|
|
53613
53658
|
if (Array.isArray(values.items) &&
|
|
53614
53659
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
53615
53660
|
// @ts-ignore: type is checked above.
|
|
53616
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
53661
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
53617
53662
|
|
|
53618
53663
|
clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
|
|
53619
53664
|
for (let i = 0; i < values.items.length; i++) {
|
|
@@ -54284,7 +54329,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54284
54329
|
if (Array.isArray(values.items) &&
|
|
54285
54330
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
54286
54331
|
// @ts-ignore: type is checked above.
|
|
54287
|
-
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
54332
|
+
this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
54288
54333
|
|
|
54289
54334
|
for (let i = 0; i < values.items.length; i++) {
|
|
54290
54335
|
this.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.add(i);
|
|
@@ -54316,7 +54361,8 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54316
54361
|
* Clones this instance, optionally updating it with the given values.
|
|
54317
54362
|
* @param values The values to update the clone with.
|
|
54318
54363
|
* @param options The options to use for cloning.
|
|
54319
|
-
* @returns The cloned instance.
|
|
54364
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
54365
|
+
* and URLs are shared with this instance.
|
|
54320
54366
|
*/
|
|
54321
54367
|
override clone(
|
|
54322
54368
|
values:
|
|
@@ -54354,13 +54400,13 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54354
54400
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
54355
54401
|
options = { ...options, $warning: this._warning };
|
|
54356
54402
|
}
|
|
54357
|
-
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);
|
|
54403
|
+
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);
|
|
54358
54404
|
if (\\"items\\" in values && values.items != null) {
|
|
54359
54405
|
|
|
54360
54406
|
if (Array.isArray(values.items) &&
|
|
54361
54407
|
values.items.every(v => v instanceof Object || v instanceof Link || v instanceof URL)) {
|
|
54362
54408
|
// @ts-ignore: type is checked above.
|
|
54363
|
-
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
|
54409
|
+
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items.slice();
|
|
54364
54410
|
|
|
54365
54411
|
clone.#_trust_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = new Set();
|
|
54366
54412
|
for (let i = 0; i < values.items.length; i++) {
|
|
@@ -54374,7 +54420,7 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
|
|
|
54374
54420
|
);
|
|
54375
54421
|
}
|
|
54376
54422
|
}
|
|
54377
|
-
clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex;
|
|
54423
|
+
clone.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex = this.#_2W4yinFwqmpneu2h4m1mZ3pcLADd_startIndex.slice();
|
|
54378
54424
|
if (\\"startIndex\\" in values && values.startIndex != null) {
|
|
54379
54425
|
if (typeof values.startIndex === \\"number\\" && Number.isInteger(values.startIndex) && values.startIndex >= 0) {
|
|
54380
54426
|
// @ts-ignore: type is checked above.
|
|
@@ -55204,7 +55250,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55204
55250
|
if (Array.isArray(values.preferredUsernames) &&
|
|
55205
55251
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
55206
55252
|
// @ts-ignore: type is checked above.
|
|
55207
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
55253
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
55208
55254
|
|
|
55209
55255
|
} else {
|
|
55210
55256
|
throw new TypeError(
|
|
@@ -55240,7 +55286,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55240
55286
|
if (Array.isArray(values.publicKeys) &&
|
|
55241
55287
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
55242
55288
|
// @ts-ignore: type is checked above.
|
|
55243
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
55289
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
55244
55290
|
|
|
55245
55291
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
55246
55292
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -55280,7 +55326,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55280
55326
|
if (Array.isArray(values.assertionMethods) &&
|
|
55281
55327
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
55282
55328
|
// @ts-ignore: type is checked above.
|
|
55283
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
55329
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
55284
55330
|
|
|
55285
55331
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
55286
55332
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -55403,7 +55449,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55403
55449
|
if (Array.isArray(values.streams) &&
|
|
55404
55450
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
55405
55451
|
// @ts-ignore: type is checked above.
|
|
55406
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
55452
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
55407
55453
|
|
|
55408
55454
|
for (let i = 0; i < values.streams.length; i++) {
|
|
55409
55455
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -55521,7 +55567,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55521
55567
|
if (Array.isArray(values.aliases) &&
|
|
55522
55568
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
55523
55569
|
// @ts-ignore: type is checked above.
|
|
55524
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
55570
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
55525
55571
|
|
|
55526
55572
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
55527
55573
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -55561,7 +55607,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55561
55607
|
if (Array.isArray(values.services) &&
|
|
55562
55608
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
55563
55609
|
// @ts-ignore: type is checked above.
|
|
55564
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
55610
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
55565
55611
|
|
|
55566
55612
|
for (let i = 0; i < values.services.length; i++) {
|
|
55567
55613
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -55606,7 +55652,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55606
55652
|
* Clones this instance, optionally updating it with the given values.
|
|
55607
55653
|
* @param values The values to update the clone with.
|
|
55608
55654
|
* @param options The options to use for cloning.
|
|
55609
|
-
* @returns The cloned instance.
|
|
55655
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
55656
|
+
* and URLs are shared with this instance.
|
|
55610
55657
|
*/
|
|
55611
55658
|
override clone(
|
|
55612
55659
|
values:
|
|
@@ -55649,7 +55696,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55649
55696
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
55650
55697
|
options = { ...options, $warning: this._warning };
|
|
55651
55698
|
}
|
|
55652
|
-
const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
55699
|
+
const clone = super.clone(values, options) as unknown as Organization;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
55653
55700
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
55654
55701
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
55655
55702
|
// @ts-ignore: type is checked above.
|
|
@@ -55676,7 +55723,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55676
55723
|
if (Array.isArray(values.preferredUsernames) &&
|
|
55677
55724
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
55678
55725
|
// @ts-ignore: type is checked above.
|
|
55679
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
55726
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
55680
55727
|
|
|
55681
55728
|
} else {
|
|
55682
55729
|
throw new TypeError(
|
|
@@ -55685,7 +55732,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55685
55732
|
);
|
|
55686
55733
|
}
|
|
55687
55734
|
}
|
|
55688
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
55735
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
55689
55736
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
55690
55737
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
55691
55738
|
// @ts-ignore: type is checked above.
|
|
@@ -55712,7 +55759,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55712
55759
|
if (Array.isArray(values.publicKeys) &&
|
|
55713
55760
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
55714
55761
|
// @ts-ignore: type is checked above.
|
|
55715
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
55762
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
55716
55763
|
|
|
55717
55764
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
55718
55765
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -55726,7 +55773,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55726
55773
|
);
|
|
55727
55774
|
}
|
|
55728
55775
|
}
|
|
55729
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
55776
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
55730
55777
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
55731
55778
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
55732
55779
|
// @ts-ignore: type is checked above.
|
|
@@ -55753,7 +55800,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55753
55800
|
if (Array.isArray(values.assertionMethods) &&
|
|
55754
55801
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
55755
55802
|
// @ts-ignore: type is checked above.
|
|
55756
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
55803
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
55757
55804
|
|
|
55758
55805
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
55759
55806
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -55767,7 +55814,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55767
55814
|
);
|
|
55768
55815
|
}
|
|
55769
55816
|
}
|
|
55770
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
55817
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
55771
55818
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
55772
55819
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
55773
55820
|
// @ts-ignore: type is checked above.
|
|
@@ -55780,7 +55827,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55780
55827
|
);
|
|
55781
55828
|
}
|
|
55782
55829
|
}
|
|
55783
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
55830
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
55784
55831
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
55785
55832
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
55786
55833
|
// @ts-ignore: type is checked above.
|
|
@@ -55793,7 +55840,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55793
55840
|
);
|
|
55794
55841
|
}
|
|
55795
55842
|
}
|
|
55796
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
55843
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
55797
55844
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
55798
55845
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
55799
55846
|
// @ts-ignore: type is checked above.
|
|
@@ -55806,7 +55853,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55806
55853
|
);
|
|
55807
55854
|
}
|
|
55808
55855
|
}
|
|
55809
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
55856
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
55810
55857
|
if (\\"following\\" in values && values.following != null) {
|
|
55811
55858
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
55812
55859
|
// @ts-ignore: type is checked above.
|
|
@@ -55819,7 +55866,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55819
55866
|
);
|
|
55820
55867
|
}
|
|
55821
55868
|
}
|
|
55822
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
55869
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
55823
55870
|
if (\\"followers\\" in values && values.followers != null) {
|
|
55824
55871
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
55825
55872
|
// @ts-ignore: type is checked above.
|
|
@@ -55832,7 +55879,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55832
55879
|
);
|
|
55833
55880
|
}
|
|
55834
55881
|
}
|
|
55835
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
55882
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
55836
55883
|
if (\\"liked\\" in values && values.liked != null) {
|
|
55837
55884
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
55838
55885
|
// @ts-ignore: type is checked above.
|
|
@@ -55845,7 +55892,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55845
55892
|
);
|
|
55846
55893
|
}
|
|
55847
55894
|
}
|
|
55848
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
55895
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
55849
55896
|
if (\\"featured\\" in values && values.featured != null) {
|
|
55850
55897
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
55851
55898
|
// @ts-ignore: type is checked above.
|
|
@@ -55858,7 +55905,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55858
55905
|
);
|
|
55859
55906
|
}
|
|
55860
55907
|
}
|
|
55861
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
55908
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
55862
55909
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
55863
55910
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
55864
55911
|
// @ts-ignore: type is checked above.
|
|
@@ -55871,13 +55918,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55871
55918
|
);
|
|
55872
55919
|
}
|
|
55873
55920
|
}
|
|
55874
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
55921
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
55875
55922
|
if (\\"streams\\" in values && values.streams != null) {
|
|
55876
55923
|
|
|
55877
55924
|
if (Array.isArray(values.streams) &&
|
|
55878
55925
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
55879
55926
|
// @ts-ignore: type is checked above.
|
|
55880
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
55927
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
55881
55928
|
|
|
55882
55929
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
55883
55930
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -55891,7 +55938,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55891
55938
|
);
|
|
55892
55939
|
}
|
|
55893
55940
|
}
|
|
55894
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
55941
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
55895
55942
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
55896
55943
|
if (values.endpoints instanceof Endpoints) {
|
|
55897
55944
|
// @ts-ignore: type is checked above.
|
|
@@ -55904,7 +55951,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55904
55951
|
);
|
|
55905
55952
|
}
|
|
55906
55953
|
}
|
|
55907
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
55954
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
55908
55955
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
55909
55956
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
55910
55957
|
// @ts-ignore: type is checked above.
|
|
@@ -55917,7 +55964,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55917
55964
|
);
|
|
55918
55965
|
}
|
|
55919
55966
|
}
|
|
55920
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
55967
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
55921
55968
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
55922
55969
|
if (typeof values.suspended === \\"boolean\\") {
|
|
55923
55970
|
// @ts-ignore: type is checked above.
|
|
@@ -55930,7 +55977,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55930
55977
|
);
|
|
55931
55978
|
}
|
|
55932
55979
|
}
|
|
55933
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
55980
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
55934
55981
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
55935
55982
|
if (typeof values.memorial === \\"boolean\\") {
|
|
55936
55983
|
// @ts-ignore: type is checked above.
|
|
@@ -55943,7 +55990,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55943
55990
|
);
|
|
55944
55991
|
}
|
|
55945
55992
|
}
|
|
55946
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
55993
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
55947
55994
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
55948
55995
|
if (typeof values.indexable === \\"boolean\\") {
|
|
55949
55996
|
// @ts-ignore: type is checked above.
|
|
@@ -55956,7 +56003,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55956
56003
|
);
|
|
55957
56004
|
}
|
|
55958
56005
|
}
|
|
55959
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
56006
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
55960
56007
|
if (\\"successor\\" in values && values.successor != null) {
|
|
55961
56008
|
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) {
|
|
55962
56009
|
// @ts-ignore: type is checked above.
|
|
@@ -55969,7 +56016,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55969
56016
|
);
|
|
55970
56017
|
}
|
|
55971
56018
|
}
|
|
55972
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
56019
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
55973
56020
|
if (\\"alias\\" in values && values.alias != null) {
|
|
55974
56021
|
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) {
|
|
55975
56022
|
// @ts-ignore: type is checked above.
|
|
@@ -55996,7 +56043,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
55996
56043
|
if (Array.isArray(values.aliases) &&
|
|
55997
56044
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
55998
56045
|
// @ts-ignore: type is checked above.
|
|
55999
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
56046
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
56000
56047
|
|
|
56001
56048
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
56002
56049
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -56010,7 +56057,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56010
56057
|
);
|
|
56011
56058
|
}
|
|
56012
56059
|
}
|
|
56013
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
56060
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
56014
56061
|
if (\\"service\\" in values && values.service != null) {
|
|
56015
56062
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
56016
56063
|
// @ts-ignore: type is checked above.
|
|
@@ -56037,7 +56084,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56037
56084
|
if (Array.isArray(values.services) &&
|
|
56038
56085
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
56039
56086
|
// @ts-ignore: type is checked above.
|
|
56040
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
56087
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
56041
56088
|
|
|
56042
56089
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
56043
56090
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -56051,7 +56098,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56051
56098
|
);
|
|
56052
56099
|
}
|
|
56053
56100
|
}
|
|
56054
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
56101
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
56055
56102
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
56056
56103
|
if (typeof values.followedMessage === \\"string\\") {
|
|
56057
56104
|
// @ts-ignore: type is checked above.
|
|
@@ -56064,7 +56111,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
56064
56111
|
);
|
|
56065
56112
|
}
|
|
56066
56113
|
}
|
|
56067
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
56114
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
56068
56115
|
if (\\"cat\\" in values && values.cat != null) {
|
|
56069
56116
|
if (typeof values.cat === \\"boolean\\") {
|
|
56070
56117
|
// @ts-ignore: type is checked above.
|
|
@@ -62073,7 +62120,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
62073
62120
|
* Clones this instance, optionally updating it with the given values.
|
|
62074
62121
|
* @param values The values to update the clone with.
|
|
62075
62122
|
* @param options The options to use for cloning.
|
|
62076
|
-
* @returns The cloned instance.
|
|
62123
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
62124
|
+
* and URLs are shared with this instance.
|
|
62077
62125
|
*/
|
|
62078
62126
|
override clone(
|
|
62079
62127
|
values:
|
|
@@ -62490,7 +62538,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62490
62538
|
if (Array.isArray(values.preferredUsernames) &&
|
|
62491
62539
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
62492
62540
|
// @ts-ignore: type is checked above.
|
|
62493
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
62541
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
62494
62542
|
|
|
62495
62543
|
} else {
|
|
62496
62544
|
throw new TypeError(
|
|
@@ -62526,7 +62574,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62526
62574
|
if (Array.isArray(values.publicKeys) &&
|
|
62527
62575
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
62528
62576
|
// @ts-ignore: type is checked above.
|
|
62529
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
62577
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
62530
62578
|
|
|
62531
62579
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
62532
62580
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -62566,7 +62614,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62566
62614
|
if (Array.isArray(values.assertionMethods) &&
|
|
62567
62615
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
62568
62616
|
// @ts-ignore: type is checked above.
|
|
62569
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
62617
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
62570
62618
|
|
|
62571
62619
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
62572
62620
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -62689,7 +62737,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62689
62737
|
if (Array.isArray(values.streams) &&
|
|
62690
62738
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
62691
62739
|
// @ts-ignore: type is checked above.
|
|
62692
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
62740
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
62693
62741
|
|
|
62694
62742
|
for (let i = 0; i < values.streams.length; i++) {
|
|
62695
62743
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -62807,7 +62855,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62807
62855
|
if (Array.isArray(values.aliases) &&
|
|
62808
62856
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
62809
62857
|
// @ts-ignore: type is checked above.
|
|
62810
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
62858
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
62811
62859
|
|
|
62812
62860
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
62813
62861
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -62847,7 +62895,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62847
62895
|
if (Array.isArray(values.services) &&
|
|
62848
62896
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
62849
62897
|
// @ts-ignore: type is checked above.
|
|
62850
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
62898
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
62851
62899
|
|
|
62852
62900
|
for (let i = 0; i < values.services.length; i++) {
|
|
62853
62901
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -62892,7 +62940,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62892
62940
|
* Clones this instance, optionally updating it with the given values.
|
|
62893
62941
|
* @param values The values to update the clone with.
|
|
62894
62942
|
* @param options The options to use for cloning.
|
|
62895
|
-
* @returns The cloned instance.
|
|
62943
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
62944
|
+
* and URLs are shared with this instance.
|
|
62896
62945
|
*/
|
|
62897
62946
|
override clone(
|
|
62898
62947
|
values:
|
|
@@ -62935,7 +62984,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62935
62984
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
62936
62985
|
options = { ...options, $warning: this._warning };
|
|
62937
62986
|
}
|
|
62938
|
-
const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
62987
|
+
const clone = super.clone(values, options) as unknown as Person;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
62939
62988
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
62940
62989
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
62941
62990
|
// @ts-ignore: type is checked above.
|
|
@@ -62962,7 +63011,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62962
63011
|
if (Array.isArray(values.preferredUsernames) &&
|
|
62963
63012
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
62964
63013
|
// @ts-ignore: type is checked above.
|
|
62965
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
63014
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
62966
63015
|
|
|
62967
63016
|
} else {
|
|
62968
63017
|
throw new TypeError(
|
|
@@ -62971,7 +63020,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62971
63020
|
);
|
|
62972
63021
|
}
|
|
62973
63022
|
}
|
|
62974
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
63023
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
62975
63024
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
62976
63025
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
62977
63026
|
// @ts-ignore: type is checked above.
|
|
@@ -62998,7 +63047,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
62998
63047
|
if (Array.isArray(values.publicKeys) &&
|
|
62999
63048
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
63000
63049
|
// @ts-ignore: type is checked above.
|
|
63001
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
63050
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
63002
63051
|
|
|
63003
63052
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
63004
63053
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -63012,7 +63061,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63012
63061
|
);
|
|
63013
63062
|
}
|
|
63014
63063
|
}
|
|
63015
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
63064
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
63016
63065
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
63017
63066
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
63018
63067
|
// @ts-ignore: type is checked above.
|
|
@@ -63039,7 +63088,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63039
63088
|
if (Array.isArray(values.assertionMethods) &&
|
|
63040
63089
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
63041
63090
|
// @ts-ignore: type is checked above.
|
|
63042
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
63091
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
63043
63092
|
|
|
63044
63093
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
63045
63094
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -63053,7 +63102,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63053
63102
|
);
|
|
63054
63103
|
}
|
|
63055
63104
|
}
|
|
63056
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
63105
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
63057
63106
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
63058
63107
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
63059
63108
|
// @ts-ignore: type is checked above.
|
|
@@ -63066,7 +63115,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63066
63115
|
);
|
|
63067
63116
|
}
|
|
63068
63117
|
}
|
|
63069
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
63118
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
63070
63119
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
63071
63120
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
63072
63121
|
// @ts-ignore: type is checked above.
|
|
@@ -63079,7 +63128,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63079
63128
|
);
|
|
63080
63129
|
}
|
|
63081
63130
|
}
|
|
63082
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
63131
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
63083
63132
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
63084
63133
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
63085
63134
|
// @ts-ignore: type is checked above.
|
|
@@ -63092,7 +63141,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63092
63141
|
);
|
|
63093
63142
|
}
|
|
63094
63143
|
}
|
|
63095
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
63144
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
63096
63145
|
if (\\"following\\" in values && values.following != null) {
|
|
63097
63146
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
63098
63147
|
// @ts-ignore: type is checked above.
|
|
@@ -63105,7 +63154,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63105
63154
|
);
|
|
63106
63155
|
}
|
|
63107
63156
|
}
|
|
63108
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
63157
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
63109
63158
|
if (\\"followers\\" in values && values.followers != null) {
|
|
63110
63159
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
63111
63160
|
// @ts-ignore: type is checked above.
|
|
@@ -63118,7 +63167,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63118
63167
|
);
|
|
63119
63168
|
}
|
|
63120
63169
|
}
|
|
63121
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
63170
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
63122
63171
|
if (\\"liked\\" in values && values.liked != null) {
|
|
63123
63172
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
63124
63173
|
// @ts-ignore: type is checked above.
|
|
@@ -63131,7 +63180,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63131
63180
|
);
|
|
63132
63181
|
}
|
|
63133
63182
|
}
|
|
63134
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
63183
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
63135
63184
|
if (\\"featured\\" in values && values.featured != null) {
|
|
63136
63185
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
63137
63186
|
// @ts-ignore: type is checked above.
|
|
@@ -63144,7 +63193,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63144
63193
|
);
|
|
63145
63194
|
}
|
|
63146
63195
|
}
|
|
63147
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
63196
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
63148
63197
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
63149
63198
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
63150
63199
|
// @ts-ignore: type is checked above.
|
|
@@ -63157,13 +63206,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63157
63206
|
);
|
|
63158
63207
|
}
|
|
63159
63208
|
}
|
|
63160
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
63209
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
63161
63210
|
if (\\"streams\\" in values && values.streams != null) {
|
|
63162
63211
|
|
|
63163
63212
|
if (Array.isArray(values.streams) &&
|
|
63164
63213
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
63165
63214
|
// @ts-ignore: type is checked above.
|
|
63166
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
63215
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
63167
63216
|
|
|
63168
63217
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
63169
63218
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -63177,7 +63226,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63177
63226
|
);
|
|
63178
63227
|
}
|
|
63179
63228
|
}
|
|
63180
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
63229
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
63181
63230
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
63182
63231
|
if (values.endpoints instanceof Endpoints) {
|
|
63183
63232
|
// @ts-ignore: type is checked above.
|
|
@@ -63190,7 +63239,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63190
63239
|
);
|
|
63191
63240
|
}
|
|
63192
63241
|
}
|
|
63193
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
63242
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
63194
63243
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
63195
63244
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
63196
63245
|
// @ts-ignore: type is checked above.
|
|
@@ -63203,7 +63252,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63203
63252
|
);
|
|
63204
63253
|
}
|
|
63205
63254
|
}
|
|
63206
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
63255
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
63207
63256
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
63208
63257
|
if (typeof values.suspended === \\"boolean\\") {
|
|
63209
63258
|
// @ts-ignore: type is checked above.
|
|
@@ -63216,7 +63265,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63216
63265
|
);
|
|
63217
63266
|
}
|
|
63218
63267
|
}
|
|
63219
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
63268
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
63220
63269
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
63221
63270
|
if (typeof values.memorial === \\"boolean\\") {
|
|
63222
63271
|
// @ts-ignore: type is checked above.
|
|
@@ -63229,7 +63278,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63229
63278
|
);
|
|
63230
63279
|
}
|
|
63231
63280
|
}
|
|
63232
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
63281
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
63233
63282
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
63234
63283
|
if (typeof values.indexable === \\"boolean\\") {
|
|
63235
63284
|
// @ts-ignore: type is checked above.
|
|
@@ -63242,7 +63291,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63242
63291
|
);
|
|
63243
63292
|
}
|
|
63244
63293
|
}
|
|
63245
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
63294
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
63246
63295
|
if (\\"successor\\" in values && values.successor != null) {
|
|
63247
63296
|
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) {
|
|
63248
63297
|
// @ts-ignore: type is checked above.
|
|
@@ -63255,7 +63304,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63255
63304
|
);
|
|
63256
63305
|
}
|
|
63257
63306
|
}
|
|
63258
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
63307
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
63259
63308
|
if (\\"alias\\" in values && values.alias != null) {
|
|
63260
63309
|
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) {
|
|
63261
63310
|
// @ts-ignore: type is checked above.
|
|
@@ -63282,7 +63331,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63282
63331
|
if (Array.isArray(values.aliases) &&
|
|
63283
63332
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
63284
63333
|
// @ts-ignore: type is checked above.
|
|
63285
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
63334
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
63286
63335
|
|
|
63287
63336
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
63288
63337
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -63296,7 +63345,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63296
63345
|
);
|
|
63297
63346
|
}
|
|
63298
63347
|
}
|
|
63299
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
63348
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
63300
63349
|
if (\\"service\\" in values && values.service != null) {
|
|
63301
63350
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
63302
63351
|
// @ts-ignore: type is checked above.
|
|
@@ -63323,7 +63372,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63323
63372
|
if (Array.isArray(values.services) &&
|
|
63324
63373
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
63325
63374
|
// @ts-ignore: type is checked above.
|
|
63326
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
63375
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
63327
63376
|
|
|
63328
63377
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
63329
63378
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -63337,7 +63386,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63337
63386
|
);
|
|
63338
63387
|
}
|
|
63339
63388
|
}
|
|
63340
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
63389
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
63341
63390
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
63342
63391
|
if (typeof values.followedMessage === \\"string\\") {
|
|
63343
63392
|
// @ts-ignore: type is checked above.
|
|
@@ -63350,7 +63399,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
63350
63399
|
);
|
|
63351
63400
|
}
|
|
63352
63401
|
}
|
|
63353
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
63402
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
63354
63403
|
if (\\"cat\\" in values && values.cat != null) {
|
|
63355
63404
|
if (typeof values.cat === \\"boolean\\") {
|
|
63356
63405
|
// @ts-ignore: type is checked above.
|
|
@@ -69446,7 +69495,8 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69446
69495
|
* Clones this instance, optionally updating it with the given values.
|
|
69447
69496
|
* @param values The values to update the clone with.
|
|
69448
69497
|
* @param options The options to use for cloning.
|
|
69449
|
-
* @returns The cloned instance.
|
|
69498
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
69499
|
+
* and URLs are shared with this instance.
|
|
69450
69500
|
*/
|
|
69451
69501
|
override clone(
|
|
69452
69502
|
values:
|
|
@@ -69484,7 +69534,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69484
69534
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
69485
69535
|
options = { ...options, $warning: this._warning };
|
|
69486
69536
|
}
|
|
69487
|
-
const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy;
|
|
69537
|
+
const clone = super.clone(values, options) as unknown as Place;clone.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy = this.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne_accuracy.slice();
|
|
69488
69538
|
if (\\"accuracy\\" in values && values.accuracy != null) {
|
|
69489
69539
|
if (typeof values.accuracy === \\"number\\" && !Number.isNaN(values.accuracy)) {
|
|
69490
69540
|
// @ts-ignore: type is checked above.
|
|
@@ -69497,7 +69547,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69497
69547
|
);
|
|
69498
69548
|
}
|
|
69499
69549
|
}
|
|
69500
|
-
clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude;
|
|
69550
|
+
clone.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude = this.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi_altitude.slice();
|
|
69501
69551
|
if (\\"altitude\\" in values && values.altitude != null) {
|
|
69502
69552
|
if (typeof values.altitude === \\"number\\" && !Number.isNaN(values.altitude)) {
|
|
69503
69553
|
// @ts-ignore: type is checked above.
|
|
@@ -69510,7 +69560,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69510
69560
|
);
|
|
69511
69561
|
}
|
|
69512
69562
|
}
|
|
69513
|
-
clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude;
|
|
69563
|
+
clone.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude = this.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM_latitude.slice();
|
|
69514
69564
|
if (\\"latitude\\" in values && values.latitude != null) {
|
|
69515
69565
|
if (typeof values.latitude === \\"number\\" && !Number.isNaN(values.latitude)) {
|
|
69516
69566
|
// @ts-ignore: type is checked above.
|
|
@@ -69523,7 +69573,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69523
69573
|
);
|
|
69524
69574
|
}
|
|
69525
69575
|
}
|
|
69526
|
-
clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude;
|
|
69576
|
+
clone.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude = this.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf_longitude.slice();
|
|
69527
69577
|
if (\\"longitude\\" in values && values.longitude != null) {
|
|
69528
69578
|
if (typeof values.longitude === \\"number\\" && !Number.isNaN(values.longitude)) {
|
|
69529
69579
|
// @ts-ignore: type is checked above.
|
|
@@ -69536,7 +69586,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69536
69586
|
);
|
|
69537
69587
|
}
|
|
69538
69588
|
}
|
|
69539
|
-
clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius;
|
|
69589
|
+
clone.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius = this.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw_radius.slice();
|
|
69540
69590
|
if (\\"radius\\" in values && values.radius != null) {
|
|
69541
69591
|
if (typeof values.radius === \\"number\\" && !Number.isNaN(values.radius)) {
|
|
69542
69592
|
// @ts-ignore: type is checked above.
|
|
@@ -69549,7 +69599,7 @@ proofs?: (DataIntegrityProof | URL)[];accuracy?: number | null;altitude?: number
|
|
|
69549
69599
|
);
|
|
69550
69600
|
}
|
|
69551
69601
|
}
|
|
69552
|
-
clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units;
|
|
69602
|
+
clone.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units = this.#_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.slice();
|
|
69553
69603
|
if (\\"units\\" in values && values.units != null) {
|
|
69554
69604
|
if (values.units == \\"cm\\" || values.units == \\"feet\\" || values.units == \\"inches\\" || values.units == \\"km\\" || values.units == \\"m\\" || values.units == \\"miles\\" || values.units instanceof URL) {
|
|
69555
69605
|
// @ts-ignore: type is checked above.
|
|
@@ -70466,7 +70516,8 @@ proofs?: (DataIntegrityProof | URL)[];describes?: Object | URL | null;}
|
|
|
70466
70516
|
* Clones this instance, optionally updating it with the given values.
|
|
70467
70517
|
* @param values The values to update the clone with.
|
|
70468
70518
|
* @param options The options to use for cloning.
|
|
70469
|
-
* @returns The cloned instance.
|
|
70519
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
70520
|
+
* and URLs are shared with this instance.
|
|
70470
70521
|
*/
|
|
70471
70522
|
override clone(
|
|
70472
70523
|
values:
|
|
@@ -70504,7 +70555,7 @@ proofs?: (DataIntegrityProof | URL)[];describes?: Object | URL | null;}
|
|
|
70504
70555
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
70505
70556
|
options = { ...options, $warning: this._warning };
|
|
70506
70557
|
}
|
|
70507
|
-
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);
|
|
70558
|
+
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);
|
|
70508
70559
|
if (\\"describes\\" in values && values.describes != null) {
|
|
70509
70560
|
if (values.describes instanceof Object || values.describes instanceof URL) {
|
|
70510
70561
|
// @ts-ignore: type is checked above.
|
|
@@ -71164,7 +71215,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71164
71215
|
if (Array.isArray(values.exclusiveOptions) &&
|
|
71165
71216
|
values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71166
71217
|
// @ts-ignore: type is checked above.
|
|
71167
|
-
this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
|
|
71218
|
+
this.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
|
|
71168
71219
|
|
|
71169
71220
|
for (let i = 0; i < values.exclusiveOptions.length; i++) {
|
|
71170
71221
|
this.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf.add(i);
|
|
@@ -71183,7 +71234,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71183
71234
|
if (Array.isArray(values.inclusiveOptions) &&
|
|
71184
71235
|
values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71185
71236
|
// @ts-ignore: type is checked above.
|
|
71186
|
-
this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
|
|
71237
|
+
this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
|
|
71187
71238
|
|
|
71188
71239
|
for (let i = 0; i < values.inclusiveOptions.length; i++) {
|
|
71189
71240
|
this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
|
|
@@ -71241,7 +71292,8 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71241
71292
|
* Clones this instance, optionally updating it with the given values.
|
|
71242
71293
|
* @param values The values to update the clone with.
|
|
71243
71294
|
* @param options The options to use for cloning.
|
|
71244
|
-
* @returns The cloned instance.
|
|
71295
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
71296
|
+
* and URLs are shared with this instance.
|
|
71245
71297
|
*/
|
|
71246
71298
|
override clone(
|
|
71247
71299
|
values:
|
|
@@ -71285,13 +71337,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71285
71337
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
71286
71338
|
options = { ...options, $warning: this._warning };
|
|
71287
71339
|
}
|
|
71288
|
-
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);
|
|
71340
|
+
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);
|
|
71289
71341
|
if (\\"exclusiveOptions\\" in values && values.exclusiveOptions != null) {
|
|
71290
71342
|
|
|
71291
71343
|
if (Array.isArray(values.exclusiveOptions) &&
|
|
71292
71344
|
values.exclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71293
71345
|
// @ts-ignore: type is checked above.
|
|
71294
|
-
clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions;
|
|
71346
|
+
clone.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = values.exclusiveOptions.slice();
|
|
71295
71347
|
|
|
71296
71348
|
clone.#_trust_2N5scKaVEcdYHFmfKYYacAwUhUgQ_oneOf = new Set();
|
|
71297
71349
|
for (let i = 0; i < values.exclusiveOptions.length; i++) {
|
|
@@ -71305,13 +71357,13 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71305
71357
|
);
|
|
71306
71358
|
}
|
|
71307
71359
|
}
|
|
71308
|
-
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf;clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
|
|
71360
|
+
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.slice();clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set(this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf);
|
|
71309
71361
|
if (\\"inclusiveOptions\\" in values && values.inclusiveOptions != null) {
|
|
71310
71362
|
|
|
71311
71363
|
if (Array.isArray(values.inclusiveOptions) &&
|
|
71312
71364
|
values.inclusiveOptions.every(v => v instanceof Object || v instanceof URL)) {
|
|
71313
71365
|
// @ts-ignore: type is checked above.
|
|
71314
|
-
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
|
|
71366
|
+
clone.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions.slice();
|
|
71315
71367
|
|
|
71316
71368
|
clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = new Set();
|
|
71317
71369
|
for (let i = 0; i < values.inclusiveOptions.length; i++) {
|
|
@@ -71325,7 +71377,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71325
71377
|
);
|
|
71326
71378
|
}
|
|
71327
71379
|
}
|
|
71328
|
-
clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
|
|
71380
|
+
clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed.slice();
|
|
71329
71381
|
if (\\"closed\\" in values && values.closed != null) {
|
|
71330
71382
|
if (isTemporalInstant(values.closed) || typeof values.closed === \\"boolean\\") {
|
|
71331
71383
|
// @ts-ignore: type is checked above.
|
|
@@ -71338,7 +71390,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71338
71390
|
);
|
|
71339
71391
|
}
|
|
71340
71392
|
}
|
|
71341
|
-
clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
|
|
71393
|
+
clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount.slice();
|
|
71342
71394
|
if (\\"voters\\" in values && values.voters != null) {
|
|
71343
71395
|
if (typeof values.voters === \\"number\\" && Number.isInteger(values.voters) && values.voters >= 0) {
|
|
71344
71396
|
// @ts-ignore: type is checked above.
|
|
@@ -71351,7 +71403,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
71351
71403
|
);
|
|
71352
71404
|
}
|
|
71353
71405
|
}
|
|
71354
|
-
clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl;
|
|
71406
|
+
clone.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl = this.#_K1zrMQkQjmciFAmGdGLfaDbG925_quoteUrl.slice();
|
|
71355
71407
|
if (\\"quoteUrl\\" in values && values.quoteUrl != null) {
|
|
71356
71408
|
if (values.quoteUrl instanceof URL) {
|
|
71357
71409
|
// @ts-ignore: type is checked above.
|
|
@@ -72539,7 +72591,8 @@ instruments?: (Object | URL)[];}
|
|
|
72539
72591
|
* Clones this instance, optionally updating it with the given values.
|
|
72540
72592
|
* @param values The values to update the clone with.
|
|
72541
72593
|
* @param options The options to use for cloning.
|
|
72542
|
-
* @returns The cloned instance.
|
|
72594
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
72595
|
+
* and URLs are shared with this instance.
|
|
72543
72596
|
*/
|
|
72544
72597
|
override clone(
|
|
72545
72598
|
values:
|
|
@@ -72879,7 +72932,8 @@ instruments?: (Object | URL)[];}
|
|
|
72879
72932
|
* Clones this instance, optionally updating it with the given values.
|
|
72880
72933
|
* @param values The values to update the clone with.
|
|
72881
72934
|
* @param options The options to use for cloning.
|
|
72882
|
-
* @returns The cloned instance.
|
|
72935
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
72936
|
+
* and URLs are shared with this instance.
|
|
72883
72937
|
*/
|
|
72884
72938
|
override clone(
|
|
72885
72939
|
values:
|
|
@@ -73267,7 +73321,7 @@ relationships?: (Object | URL)[];}
|
|
|
73267
73321
|
if (Array.isArray(values.objects) &&
|
|
73268
73322
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
73269
73323
|
// @ts-ignore: type is checked above.
|
|
73270
|
-
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
73324
|
+
this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
73271
73325
|
|
|
73272
73326
|
for (let i = 0; i < values.objects.length; i++) {
|
|
73273
73327
|
this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.add(i);
|
|
@@ -73307,7 +73361,7 @@ relationships?: (Object | URL)[];}
|
|
|
73307
73361
|
if (Array.isArray(values.relationships) &&
|
|
73308
73362
|
values.relationships.every(v => v instanceof Object || v instanceof URL)) {
|
|
73309
73363
|
// @ts-ignore: type is checked above.
|
|
73310
|
-
this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
|
|
73364
|
+
this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
|
|
73311
73365
|
|
|
73312
73366
|
for (let i = 0; i < values.relationships.length; i++) {
|
|
73313
73367
|
this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.add(i);
|
|
@@ -73326,7 +73380,8 @@ relationships?: (Object | URL)[];}
|
|
|
73326
73380
|
* Clones this instance, optionally updating it with the given values.
|
|
73327
73381
|
* @param values The values to update the clone with.
|
|
73328
73382
|
* @param options The options to use for cloning.
|
|
73329
|
-
* @returns The cloned instance.
|
|
73383
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
73384
|
+
* and URLs are shared with this instance.
|
|
73330
73385
|
*/
|
|
73331
73386
|
override clone(
|
|
73332
73387
|
values:
|
|
@@ -73366,7 +73421,7 @@ relationships?: (Object | URL)[];}
|
|
|
73366
73421
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
73367
73422
|
options = { ...options, $warning: this._warning };
|
|
73368
73423
|
}
|
|
73369
|
-
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);
|
|
73424
|
+
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);
|
|
73370
73425
|
if (\\"subject\\" in values && values.subject != null) {
|
|
73371
73426
|
if (values.subject instanceof Object || values.subject instanceof URL) {
|
|
73372
73427
|
// @ts-ignore: type is checked above.
|
|
@@ -73379,7 +73434,7 @@ relationships?: (Object | URL)[];}
|
|
|
73379
73434
|
);
|
|
73380
73435
|
}
|
|
73381
73436
|
}
|
|
73382
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object;clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
73437
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = this.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object.slice();clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set(this.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object);
|
|
73383
73438
|
if (\\"object\\" in values && values.object != null) {
|
|
73384
73439
|
if (values.object instanceof Object || values.object instanceof URL) {
|
|
73385
73440
|
// @ts-ignore: type is checked above.
|
|
@@ -73406,7 +73461,7 @@ relationships?: (Object | URL)[];}
|
|
|
73406
73461
|
if (Array.isArray(values.objects) &&
|
|
73407
73462
|
values.objects.every(v => v instanceof Object || v instanceof URL)) {
|
|
73408
73463
|
// @ts-ignore: type is checked above.
|
|
73409
|
-
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects;
|
|
73464
|
+
clone.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = values.objects.slice();
|
|
73410
73465
|
|
|
73411
73466
|
clone.#_trust_2MH19yxjn1wnHsNfa5n4JBhJzxyc_object = new Set();
|
|
73412
73467
|
for (let i = 0; i < values.objects.length; i++) {
|
|
@@ -73420,7 +73475,7 @@ relationships?: (Object | URL)[];}
|
|
|
73420
73475
|
);
|
|
73421
73476
|
}
|
|
73422
73477
|
}
|
|
73423
|
-
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship;clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
|
|
73478
|
+
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = this.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship.slice();clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set(this.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship);
|
|
73424
73479
|
if (\\"relationship\\" in values && values.relationship != null) {
|
|
73425
73480
|
if (values.relationship instanceof Object || values.relationship instanceof URL) {
|
|
73426
73481
|
// @ts-ignore: type is checked above.
|
|
@@ -73447,7 +73502,7 @@ relationships?: (Object | URL)[];}
|
|
|
73447
73502
|
if (Array.isArray(values.relationships) &&
|
|
73448
73503
|
values.relationships.every(v => v instanceof Object || v instanceof URL)) {
|
|
73449
73504
|
// @ts-ignore: type is checked above.
|
|
73450
|
-
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships;
|
|
73505
|
+
clone.#_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = values.relationships.slice();
|
|
73451
73506
|
|
|
73452
73507
|
clone.#_trust_4Lzz89F9qipAQSGkWyX9DGWiUojG_relationship = new Set();
|
|
73453
73508
|
for (let i = 0; i < values.relationships.length; i++) {
|
|
@@ -74955,7 +75010,8 @@ instruments?: (Object | URL)[];}
|
|
|
74955
75010
|
* Clones this instance, optionally updating it with the given values.
|
|
74956
75011
|
* @param values The values to update the clone with.
|
|
74957
75012
|
* @param options The options to use for cloning.
|
|
74958
|
-
* @returns The cloned instance.
|
|
75013
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
75014
|
+
* and URLs are shared with this instance.
|
|
74959
75015
|
*/
|
|
74960
75016
|
override clone(
|
|
74961
75017
|
values:
|
|
@@ -75361,7 +75417,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75361
75417
|
if (Array.isArray(values.preferredUsernames) &&
|
|
75362
75418
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
75363
75419
|
// @ts-ignore: type is checked above.
|
|
75364
|
-
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
75420
|
+
this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
75365
75421
|
|
|
75366
75422
|
} else {
|
|
75367
75423
|
throw new TypeError(
|
|
@@ -75397,7 +75453,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75397
75453
|
if (Array.isArray(values.publicKeys) &&
|
|
75398
75454
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
75399
75455
|
// @ts-ignore: type is checked above.
|
|
75400
|
-
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
75456
|
+
this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
75401
75457
|
|
|
75402
75458
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
75403
75459
|
this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey.add(i);
|
|
@@ -75437,7 +75493,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75437
75493
|
if (Array.isArray(values.assertionMethods) &&
|
|
75438
75494
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
75439
75495
|
// @ts-ignore: type is checked above.
|
|
75440
|
-
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
75496
|
+
this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
75441
75497
|
|
|
75442
75498
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
75443
75499
|
this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.add(i);
|
|
@@ -75560,7 +75616,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75560
75616
|
if (Array.isArray(values.streams) &&
|
|
75561
75617
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
75562
75618
|
// @ts-ignore: type is checked above.
|
|
75563
|
-
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
75619
|
+
this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
75564
75620
|
|
|
75565
75621
|
for (let i = 0; i < values.streams.length; i++) {
|
|
75566
75622
|
this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.add(i);
|
|
@@ -75678,7 +75734,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75678
75734
|
if (Array.isArray(values.aliases) &&
|
|
75679
75735
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
75680
75736
|
// @ts-ignore: type is checked above.
|
|
75681
|
-
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
75737
|
+
this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
75682
75738
|
|
|
75683
75739
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
75684
75740
|
this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.add(i);
|
|
@@ -75718,7 +75774,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75718
75774
|
if (Array.isArray(values.services) &&
|
|
75719
75775
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
75720
75776
|
// @ts-ignore: type is checked above.
|
|
75721
|
-
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
75777
|
+
this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
75722
75778
|
|
|
75723
75779
|
for (let i = 0; i < values.services.length; i++) {
|
|
75724
75780
|
this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.add(i);
|
|
@@ -75763,7 +75819,8 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75763
75819
|
* Clones this instance, optionally updating it with the given values.
|
|
75764
75820
|
* @param values The values to update the clone with.
|
|
75765
75821
|
* @param options The options to use for cloning.
|
|
75766
|
-
* @returns The cloned instance.
|
|
75822
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
75823
|
+
* and URLs are shared with this instance.
|
|
75767
75824
|
*/
|
|
75768
75825
|
override clone(
|
|
75769
75826
|
values:
|
|
@@ -75806,7 +75863,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75806
75863
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
75807
75864
|
options = { ...options, $warning: this._warning };
|
|
75808
75865
|
}
|
|
75809
|
-
const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername;
|
|
75866
|
+
const clone = super.clone(values, options) as unknown as Service;clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = this.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername.slice();
|
|
75810
75867
|
if (\\"preferredUsername\\" in values && values.preferredUsername != null) {
|
|
75811
75868
|
if (typeof values.preferredUsername === \\"string\\" || values.preferredUsername instanceof LanguageString) {
|
|
75812
75869
|
// @ts-ignore: type is checked above.
|
|
@@ -75833,7 +75890,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75833
75890
|
if (Array.isArray(values.preferredUsernames) &&
|
|
75834
75891
|
values.preferredUsernames.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
75835
75892
|
// @ts-ignore: type is checked above.
|
|
75836
|
-
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames;
|
|
75893
|
+
clone.#_3isuDgRAKSntq9XdbjiNxjwyPZAf_preferredUsername = values.preferredUsernames.slice();
|
|
75837
75894
|
|
|
75838
75895
|
} else {
|
|
75839
75896
|
throw new TypeError(
|
|
@@ -75842,7 +75899,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75842
75899
|
);
|
|
75843
75900
|
}
|
|
75844
75901
|
}
|
|
75845
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey;clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
75902
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = this.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey.slice();clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set(this.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey);
|
|
75846
75903
|
if (\\"publicKey\\" in values && values.publicKey != null) {
|
|
75847
75904
|
if (values.publicKey instanceof CryptographicKey || values.publicKey instanceof URL) {
|
|
75848
75905
|
// @ts-ignore: type is checked above.
|
|
@@ -75869,7 +75926,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75869
75926
|
if (Array.isArray(values.publicKeys) &&
|
|
75870
75927
|
values.publicKeys.every(v => v instanceof CryptographicKey || v instanceof URL)) {
|
|
75871
75928
|
// @ts-ignore: type is checked above.
|
|
75872
|
-
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys;
|
|
75929
|
+
clone.#_axq166E2eZADq34V4MYUc8KMZdC_publicKey = values.publicKeys.slice();
|
|
75873
75930
|
|
|
75874
75931
|
clone.#_trust_axq166E2eZADq34V4MYUc8KMZdC_publicKey = new Set();
|
|
75875
75932
|
for (let i = 0; i < values.publicKeys.length; i++) {
|
|
@@ -75883,7 +75940,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75883
75940
|
);
|
|
75884
75941
|
}
|
|
75885
75942
|
}
|
|
75886
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
75943
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.slice();clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set(this.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod);
|
|
75887
75944
|
if (\\"assertionMethod\\" in values && values.assertionMethod != null) {
|
|
75888
75945
|
if (values.assertionMethod instanceof Multikey || values.assertionMethod instanceof URL) {
|
|
75889
75946
|
// @ts-ignore: type is checked above.
|
|
@@ -75910,7 +75967,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75910
75967
|
if (Array.isArray(values.assertionMethods) &&
|
|
75911
75968
|
values.assertionMethods.every(v => v instanceof Multikey || v instanceof URL)) {
|
|
75912
75969
|
// @ts-ignore: type is checked above.
|
|
75913
|
-
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods;
|
|
75970
|
+
clone.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = values.assertionMethods.slice();
|
|
75914
75971
|
|
|
75915
75972
|
clone.#_trust_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod = new Set();
|
|
75916
75973
|
for (let i = 0; i < values.assertionMethods.length; i++) {
|
|
@@ -75924,7 +75981,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75924
75981
|
);
|
|
75925
75982
|
}
|
|
75926
75983
|
}
|
|
75927
|
-
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers;
|
|
75984
|
+
clone.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers = this.#_36QNc9MxfkKf6h8sEUQSHnV9NZA_manuallyApprovesFollowers.slice();
|
|
75928
75985
|
if (\\"manuallyApprovesFollowers\\" in values && values.manuallyApprovesFollowers != null) {
|
|
75929
75986
|
if (typeof values.manuallyApprovesFollowers === \\"boolean\\") {
|
|
75930
75987
|
// @ts-ignore: type is checked above.
|
|
@@ -75937,7 +75994,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75937
75994
|
);
|
|
75938
75995
|
}
|
|
75939
75996
|
}
|
|
75940
|
-
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox;clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
75997
|
+
clone.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = this.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox.slice();clone.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox = new Set(this.#_trust_3ghX3VfZXXbLvhCRH7QJqpzLrXjB_inbox);
|
|
75941
75998
|
if (\\"inbox\\" in values && values.inbox != null) {
|
|
75942
75999
|
if (values.inbox instanceof OrderedCollection || values.inbox instanceof OrderedCollectionPage || values.inbox instanceof URL) {
|
|
75943
76000
|
// @ts-ignore: type is checked above.
|
|
@@ -75950,7 +76007,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75950
76007
|
);
|
|
75951
76008
|
}
|
|
75952
76009
|
}
|
|
75953
|
-
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox;clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
76010
|
+
clone.#_41QwhqJouoLg3h8dRPKat21brynC_outbox = this.#_41QwhqJouoLg3h8dRPKat21brynC_outbox.slice();clone.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox = new Set(this.#_trust_41QwhqJouoLg3h8dRPKat21brynC_outbox);
|
|
75954
76011
|
if (\\"outbox\\" in values && values.outbox != null) {
|
|
75955
76012
|
if (values.outbox instanceof OrderedCollection || values.outbox instanceof OrderedCollectionPage || values.outbox instanceof URL) {
|
|
75956
76013
|
// @ts-ignore: type is checked above.
|
|
@@ -75963,7 +76020,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75963
76020
|
);
|
|
75964
76021
|
}
|
|
75965
76022
|
}
|
|
75966
|
-
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following;clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
76023
|
+
clone.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = this.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following.slice();clone.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following = new Set(this.#_trust_3yAv8jymNfNuJUDuBzJ1NQhdbAee_following);
|
|
75967
76024
|
if (\\"following\\" in values && values.following != null) {
|
|
75968
76025
|
if (values.following instanceof Collection || values.following instanceof URL) {
|
|
75969
76026
|
// @ts-ignore: type is checked above.
|
|
@@ -75976,7 +76033,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75976
76033
|
);
|
|
75977
76034
|
}
|
|
75978
76035
|
}
|
|
75979
|
-
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers;clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
76036
|
+
clone.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = this.#_BBCTgfphhsFzpVfKTykGSpBNwoA_followers.slice();clone.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers = new Set(this.#_trust_BBCTgfphhsFzpVfKTykGSpBNwoA_followers);
|
|
75980
76037
|
if (\\"followers\\" in values && values.followers != null) {
|
|
75981
76038
|
if (values.followers instanceof Collection || values.followers instanceof URL) {
|
|
75982
76039
|
// @ts-ignore: type is checked above.
|
|
@@ -75989,7 +76046,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
75989
76046
|
);
|
|
75990
76047
|
}
|
|
75991
76048
|
}
|
|
75992
|
-
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked;clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
76049
|
+
clone.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = this.#_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked.slice();clone.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked = new Set(this.#_trust_3bgkPwJanyTCoVFM9ovRcus8tKkU_liked);
|
|
75993
76050
|
if (\\"liked\\" in values && values.liked != null) {
|
|
75994
76051
|
if (values.liked instanceof Collection || values.liked instanceof URL) {
|
|
75995
76052
|
// @ts-ignore: type is checked above.
|
|
@@ -76002,7 +76059,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76002
76059
|
);
|
|
76003
76060
|
}
|
|
76004
76061
|
}
|
|
76005
|
-
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured;clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
76062
|
+
clone.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured = this.#_4N1vBJzXDf8NbBumeECQMFvKetja_featured.slice();clone.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured = new Set(this.#_trust_4N1vBJzXDf8NbBumeECQMFvKetja_featured);
|
|
76006
76063
|
if (\\"featured\\" in values && values.featured != null) {
|
|
76007
76064
|
if (values.featured instanceof Collection || values.featured instanceof URL) {
|
|
76008
76065
|
// @ts-ignore: type is checked above.
|
|
@@ -76015,7 +76072,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76015
76072
|
);
|
|
76016
76073
|
}
|
|
76017
76074
|
}
|
|
76018
|
-
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags;clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
76075
|
+
clone.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = this.#_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags.slice();clone.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags = new Set(this.#_trust_2MxnRRLq9iPzx5CFq2NPrXdUDCac_featuredTags);
|
|
76019
76076
|
if (\\"featuredTags\\" in values && values.featuredTags != null) {
|
|
76020
76077
|
if (values.featuredTags instanceof Collection || values.featuredTags instanceof URL) {
|
|
76021
76078
|
// @ts-ignore: type is checked above.
|
|
@@ -76028,13 +76085,13 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76028
76085
|
);
|
|
76029
76086
|
}
|
|
76030
76087
|
}
|
|
76031
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams;clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
76088
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = this.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams.slice();clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set(this.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams);
|
|
76032
76089
|
if (\\"streams\\" in values && values.streams != null) {
|
|
76033
76090
|
|
|
76034
76091
|
if (Array.isArray(values.streams) &&
|
|
76035
76092
|
values.streams.every(v => v instanceof Collection || v instanceof URL)) {
|
|
76036
76093
|
// @ts-ignore: type is checked above.
|
|
76037
|
-
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams;
|
|
76094
|
+
clone.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = values.streams.slice();
|
|
76038
76095
|
|
|
76039
76096
|
clone.#_trust_3sG2Hdwn9qzKGu9mpYkqakAMUkH9_streams = new Set();
|
|
76040
76097
|
for (let i = 0; i < values.streams.length; i++) {
|
|
@@ -76048,7 +76105,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76048
76105
|
);
|
|
76049
76106
|
}
|
|
76050
76107
|
}
|
|
76051
|
-
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints;
|
|
76108
|
+
clone.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints = this.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG_endpoints.slice();
|
|
76052
76109
|
if (\\"endpoints\\" in values && values.endpoints != null) {
|
|
76053
76110
|
if (values.endpoints instanceof Endpoints) {
|
|
76054
76111
|
// @ts-ignore: type is checked above.
|
|
@@ -76061,7 +76118,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76061
76118
|
);
|
|
76062
76119
|
}
|
|
76063
76120
|
}
|
|
76064
|
-
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable;
|
|
76121
|
+
clone.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable = this.#_gAJzg1QDc4rcefFsUzGSYmyXvNH_discoverable.slice();
|
|
76065
76122
|
if (\\"discoverable\\" in values && values.discoverable != null) {
|
|
76066
76123
|
if (typeof values.discoverable === \\"boolean\\") {
|
|
76067
76124
|
// @ts-ignore: type is checked above.
|
|
@@ -76074,7 +76131,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76074
76131
|
);
|
|
76075
76132
|
}
|
|
76076
76133
|
}
|
|
76077
|
-
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended;
|
|
76134
|
+
clone.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended = this.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7_suspended.slice();
|
|
76078
76135
|
if (\\"suspended\\" in values && values.suspended != null) {
|
|
76079
76136
|
if (typeof values.suspended === \\"boolean\\") {
|
|
76080
76137
|
// @ts-ignore: type is checked above.
|
|
@@ -76087,7 +76144,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76087
76144
|
);
|
|
76088
76145
|
}
|
|
76089
76146
|
}
|
|
76090
|
-
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial;
|
|
76147
|
+
clone.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial = this.#_79S8K4f5J9MWUgCxziRyUe6PTHZ_memorial.slice();
|
|
76091
76148
|
if (\\"memorial\\" in values && values.memorial != null) {
|
|
76092
76149
|
if (typeof values.memorial === \\"boolean\\") {
|
|
76093
76150
|
// @ts-ignore: type is checked above.
|
|
@@ -76100,7 +76157,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76100
76157
|
);
|
|
76101
76158
|
}
|
|
76102
76159
|
}
|
|
76103
|
-
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable;
|
|
76160
|
+
clone.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable = this.#_2diCorzqPGQQqftp6e4SrCEwEnyk_indexable.slice();
|
|
76104
76161
|
if (\\"indexable\\" in values && values.indexable != null) {
|
|
76105
76162
|
if (typeof values.indexable === \\"boolean\\") {
|
|
76106
76163
|
// @ts-ignore: type is checked above.
|
|
@@ -76113,7 +76170,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76113
76170
|
);
|
|
76114
76171
|
}
|
|
76115
76172
|
}
|
|
76116
|
-
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo;clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
76173
|
+
clone.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = this.#_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo.slice();clone.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo = new Set(this.#_trust_2ZNWDhuNdSXBwEmrB5kwffdKGzok_movedTo);
|
|
76117
76174
|
if (\\"successor\\" in values && values.successor != null) {
|
|
76118
76175
|
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) {
|
|
76119
76176
|
// @ts-ignore: type is checked above.
|
|
@@ -76126,7 +76183,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76126
76183
|
);
|
|
76127
76184
|
}
|
|
76128
76185
|
}
|
|
76129
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs;clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
76186
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = this.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs.slice();clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set(this.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs);
|
|
76130
76187
|
if (\\"alias\\" in values && values.alias != null) {
|
|
76131
76188
|
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) {
|
|
76132
76189
|
// @ts-ignore: type is checked above.
|
|
@@ -76153,7 +76210,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76153
76210
|
if (Array.isArray(values.aliases) &&
|
|
76154
76211
|
values.aliases.every(v => v instanceof Application || v instanceof Group || v instanceof Organization || v instanceof Person || v instanceof Service || v instanceof URL)) {
|
|
76155
76212
|
// @ts-ignore: type is checked above.
|
|
76156
|
-
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases;
|
|
76213
|
+
clone.#_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = values.aliases.slice();
|
|
76157
76214
|
|
|
76158
76215
|
clone.#_trust_3NV7TGNhuABbryNjNi4wib4DgNpY_alsoKnownAs = new Set();
|
|
76159
76216
|
for (let i = 0; i < values.aliases.length; i++) {
|
|
@@ -76167,7 +76224,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76167
76224
|
);
|
|
76168
76225
|
}
|
|
76169
76226
|
}
|
|
76170
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service;clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
76227
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = this.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service.slice();clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set(this.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service);
|
|
76171
76228
|
if (\\"service\\" in values && values.service != null) {
|
|
76172
76229
|
if (values.service instanceof DidService || values.service instanceof URL) {
|
|
76173
76230
|
// @ts-ignore: type is checked above.
|
|
@@ -76194,7 +76251,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76194
76251
|
if (Array.isArray(values.services) &&
|
|
76195
76252
|
values.services.every(v => v instanceof DidService || v instanceof URL)) {
|
|
76196
76253
|
// @ts-ignore: type is checked above.
|
|
76197
|
-
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services;
|
|
76254
|
+
clone.#_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = values.services.slice();
|
|
76198
76255
|
|
|
76199
76256
|
clone.#_trust_4Q6NrKH6bazBGtxwG8vyG77ir7Tg_service = new Set();
|
|
76200
76257
|
for (let i = 0; i < values.services.length; i++) {
|
|
@@ -76208,7 +76265,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76208
76265
|
);
|
|
76209
76266
|
}
|
|
76210
76267
|
}
|
|
76211
|
-
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage;
|
|
76268
|
+
clone.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage = this.#_QuxorEK1txp7jGjq8BRQfTPvUwp__misskey_followedMessage.slice();
|
|
76212
76269
|
if (\\"followedMessage\\" in values && values.followedMessage != null) {
|
|
76213
76270
|
if (typeof values.followedMessage === \\"string\\") {
|
|
76214
76271
|
// @ts-ignore: type is checked above.
|
|
@@ -76221,7 +76278,7 @@ services?: (DidService | URL)[];followedMessage?: string | null;cat?: boolean |
|
|
|
76221
76278
|
);
|
|
76222
76279
|
}
|
|
76223
76280
|
}
|
|
76224
|
-
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat;
|
|
76281
|
+
clone.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat = this.#_2xEU4QtkC53RAun67T81Egqt9vmL_isCat.slice();
|
|
76225
76282
|
if (\\"cat\\" in values && values.cat != null) {
|
|
76226
76283
|
if (typeof values.cat === \\"boolean\\") {
|
|
76227
76284
|
// @ts-ignore: type is checked above.
|
|
@@ -82308,7 +82365,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82308
82365
|
if (Array.isArray(values.contents) &&
|
|
82309
82366
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
82310
82367
|
// @ts-ignore: type is checked above.
|
|
82311
|
-
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
82368
|
+
this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
82312
82369
|
|
|
82313
82370
|
} else {
|
|
82314
82371
|
throw new TypeError(
|
|
@@ -82336,7 +82393,8 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82336
82393
|
* Clones this instance, optionally updating it with the given values.
|
|
82337
82394
|
* @param values The values to update the clone with.
|
|
82338
82395
|
* @param options The options to use for cloning.
|
|
82339
|
-
* @returns The cloned instance.
|
|
82396
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
82397
|
+
* and URLs are shared with this instance.
|
|
82340
82398
|
*/
|
|
82341
82399
|
clone(
|
|
82342
82400
|
values:
|
|
@@ -82365,7 +82423,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82365
82423
|
{ id: values.id ?? this.id },
|
|
82366
82424
|
options
|
|
82367
82425
|
);
|
|
82368
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content;
|
|
82426
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = this.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content.slice();
|
|
82369
82427
|
if (\\"content\\" in values && values.content != null) {
|
|
82370
82428
|
if (typeof values.content === \\"string\\" || values.content instanceof LanguageString) {
|
|
82371
82429
|
// @ts-ignore: type is checked above.
|
|
@@ -82392,7 +82450,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82392
82450
|
if (Array.isArray(values.contents) &&
|
|
82393
82451
|
values.contents.every(v => typeof v === \\"string\\" || v instanceof LanguageString)) {
|
|
82394
82452
|
// @ts-ignore: type is checked above.
|
|
82395
|
-
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents;
|
|
82453
|
+
clone.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz_content = values.contents.slice();
|
|
82396
82454
|
|
|
82397
82455
|
} else {
|
|
82398
82456
|
throw new TypeError(
|
|
@@ -82401,7 +82459,7 @@ contents?: ((string | LanguageString))[];mediaType?: string | null;}
|
|
|
82401
82459
|
);
|
|
82402
82460
|
}
|
|
82403
82461
|
}
|
|
82404
|
-
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType;
|
|
82462
|
+
clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType.slice();
|
|
82405
82463
|
if (\\"mediaType\\" in values && values.mediaType != null) {
|
|
82406
82464
|
if (typeof values.mediaType === \\"string\\") {
|
|
82407
82465
|
// @ts-ignore: type is checked above.
|
|
@@ -82918,7 +82976,8 @@ instruments?: (Object | URL)[];}
|
|
|
82918
82976
|
* Clones this instance, optionally updating it with the given values.
|
|
82919
82977
|
* @param values The values to update the clone with.
|
|
82920
82978
|
* @param options The options to use for cloning.
|
|
82921
|
-
* @returns The cloned instance.
|
|
82979
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
82980
|
+
* and URLs are shared with this instance.
|
|
82922
82981
|
*/
|
|
82923
82982
|
override clone(
|
|
82924
82983
|
values:
|
|
@@ -83258,7 +83317,8 @@ instruments?: (Object | URL)[];}
|
|
|
83258
83317
|
* Clones this instance, optionally updating it with the given values.
|
|
83259
83318
|
* @param values The values to update the clone with.
|
|
83260
83319
|
* @param options The options to use for cloning.
|
|
83261
|
-
* @returns The cloned instance.
|
|
83320
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
83321
|
+
* and URLs are shared with this instance.
|
|
83262
83322
|
*/
|
|
83263
83323
|
override clone(
|
|
83264
83324
|
values:
|
|
@@ -83607,7 +83667,8 @@ proofs?: (DataIntegrityProof | URL)[];deleted?: Temporal.Instant | null;}
|
|
|
83607
83667
|
* Clones this instance, optionally updating it with the given values.
|
|
83608
83668
|
* @param values The values to update the clone with.
|
|
83609
83669
|
* @param options The options to use for cloning.
|
|
83610
|
-
* @returns The cloned instance.
|
|
83670
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
83671
|
+
* and URLs are shared with this instance.
|
|
83611
83672
|
*/
|
|
83612
83673
|
override clone(
|
|
83613
83674
|
values:
|
|
@@ -83645,7 +83706,7 @@ proofs?: (DataIntegrityProof | URL)[];deleted?: Temporal.Instant | null;}
|
|
|
83645
83706
|
// @ts-ignore: $warning is not recognized as a property, but it is.
|
|
83646
83707
|
options = { ...options, $warning: this._warning };
|
|
83647
83708
|
}
|
|
83648
|
-
const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
|
|
83709
|
+
const clone = super.clone(values, options) as unknown as Tombstone;clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.slice();
|
|
83649
83710
|
if (\\"deleted\\" in values && values.deleted != null) {
|
|
83650
83711
|
if (isTemporalInstant(values.deleted)) {
|
|
83651
83712
|
// @ts-ignore: type is checked above.
|
|
@@ -84070,7 +84131,8 @@ instruments?: (Object | URL)[];}
|
|
|
84070
84131
|
* Clones this instance, optionally updating it with the given values.
|
|
84071
84132
|
* @param values The values to update the clone with.
|
|
84072
84133
|
* @param options The options to use for cloning.
|
|
84073
|
-
* @returns The cloned instance.
|
|
84134
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
84135
|
+
* and URLs are shared with this instance.
|
|
84074
84136
|
*/
|
|
84075
84137
|
override clone(
|
|
84076
84138
|
values:
|
|
@@ -84415,7 +84477,8 @@ instruments?: (Object | URL)[];}
|
|
|
84415
84477
|
* Clones this instance, optionally updating it with the given values.
|
|
84416
84478
|
* @param values The values to update the clone with.
|
|
84417
84479
|
* @param options The options to use for cloning.
|
|
84418
|
-
* @returns The cloned instance.
|
|
84480
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
84481
|
+
* and URLs are shared with this instance.
|
|
84419
84482
|
*/
|
|
84420
84483
|
override clone(
|
|
84421
84484
|
values:
|
|
@@ -84758,7 +84821,8 @@ instruments?: (Object | URL)[];}
|
|
|
84758
84821
|
* Clones this instance, optionally updating it with the given values.
|
|
84759
84822
|
* @param values The values to update the clone with.
|
|
84760
84823
|
* @param options The options to use for cloning.
|
|
84761
|
-
* @returns The cloned instance.
|
|
84824
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
84825
|
+
* and URLs are shared with this instance.
|
|
84762
84826
|
*/
|
|
84763
84827
|
override clone(
|
|
84764
84828
|
values:
|
|
@@ -85090,7 +85154,8 @@ proofs?: (DataIntegrityProof | URL)[];width?: number | null;height?: number | nu
|
|
|
85090
85154
|
* Clones this instance, optionally updating it with the given values.
|
|
85091
85155
|
* @param values The values to update the clone with.
|
|
85092
85156
|
* @param options The options to use for cloning.
|
|
85093
|
-
* @returns The cloned instance.
|
|
85157
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
85158
|
+
* and URLs are shared with this instance.
|
|
85094
85159
|
*/
|
|
85095
85160
|
override clone(
|
|
85096
85161
|
values:
|
|
@@ -85440,7 +85505,8 @@ instruments?: (Object | URL)[];}
|
|
|
85440
85505
|
* Clones this instance, optionally updating it with the given values.
|
|
85441
85506
|
* @param values The values to update the clone with.
|
|
85442
85507
|
* @param options The options to use for cloning.
|
|
85443
|
-
* @returns The cloned instance.
|
|
85508
|
+
* @returns The cloned instance with its own property arrays. Nested objects
|
|
85509
|
+
* and URLs are shared with this instance.
|
|
85444
85510
|
*/
|
|
85445
85511
|
override clone(
|
|
85446
85512
|
values:
|