@milaboratories/pl-model-middle-layer 1.3.0 → 1.4.1

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.
Files changed (37) hide show
  1. package/dist/block_meta/block_components.d.ts +225 -51
  2. package/dist/block_meta/block_components.d.ts.map +1 -1
  3. package/dist/block_meta/block_description.d.ts +34 -28
  4. package/dist/block_meta/block_description.d.ts.map +1 -1
  5. package/dist/block_meta/block_manifest.d.ts +133 -69
  6. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  7. package/dist/block_meta/block_meta.d.ts +102 -2
  8. package/dist/block_meta/block_meta.d.ts.map +1 -1
  9. package/dist/block_registry/block_pack_spec.d.ts +201 -0
  10. package/dist/block_registry/block_pack_spec.d.ts.map +1 -0
  11. package/dist/block_registry/index.d.ts +4 -0
  12. package/dist/block_registry/index.d.ts.map +1 -0
  13. package/dist/block_registry/overview.d.ts +914 -0
  14. package/dist/block_registry/overview.d.ts.map +1 -0
  15. package/dist/block_registry/registry_spec.d.ts +184 -0
  16. package/dist/block_registry/registry_spec.d.ts.map +1 -0
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.mjs +187 -118
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/project_overview.d.ts +1 -1
  24. package/dist/project_overview.d.ts.map +1 -1
  25. package/package.json +1 -1
  26. package/src/block_meta/block_components.ts +17 -10
  27. package/src/block_meta/block_manifest.ts +7 -5
  28. package/src/block_meta/block_meta.ts +10 -2
  29. package/src/block_registry/block_pack_spec.ts +51 -0
  30. package/src/block_registry/index.ts +3 -0
  31. package/src/block_registry/overview.ts +27 -0
  32. package/src/block_registry/registry_spec.ts +38 -0
  33. package/src/index.ts +1 -1
  34. package/src/project_overview.ts +1 -1
  35. package/dist/block_pack.d.ts +0 -24
  36. package/dist/block_pack.d.ts.map +0 -1
  37. package/src/block_pack.ts +0 -29
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const BlockComponentsManifest: z.ZodObject<{
3
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
4
4
  type: z.ZodLiteral<"relative">;
5
5
  path: z.ZodString;
6
6
  }, "strict", z.ZodTypeAny, {
@@ -10,12 +10,39 @@ export declare const BlockComponentsManifest: z.ZodObject<{
10
10
  type: "relative";
11
11
  path: string;
12
12
  }>, {
13
- type: string;
14
- main: any;
13
+ type: "workflow-v1";
14
+ main: {
15
+ type: "relative";
16
+ path: string;
17
+ };
15
18
  }, {
16
19
  type: "relative";
17
20
  path: string;
18
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
21
+ }>, z.ZodObject<{
22
+ type: z.ZodLiteral<"workflow-v1">;
23
+ main: z.ZodObject<{
24
+ type: z.ZodLiteral<"relative">;
25
+ path: z.ZodString;
26
+ }, "strict", z.ZodTypeAny, {
27
+ type: "relative";
28
+ path: string;
29
+ }, {
30
+ type: "relative";
31
+ path: string;
32
+ }>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ type: "workflow-v1";
35
+ main: {
36
+ type: "relative";
37
+ path: string;
38
+ };
39
+ }, {
40
+ type: "workflow-v1";
41
+ main: {
42
+ type: "relative";
43
+ path: string;
44
+ };
45
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
19
46
  type: z.ZodLiteral<"workflow-v1">;
20
47
  main: z.ZodObject<{
21
48
  type: z.ZodLiteral<"relative">;
@@ -61,14 +88,7 @@ export declare const BlockComponentsManifest: z.ZodObject<{
61
88
  path: string;
62
89
  }>;
63
90
  }, "strip", z.ZodTypeAny, {
64
- ui: {
65
- type: "relative";
66
- path: string;
67
- };
68
91
  workflow: {
69
- type: string;
70
- main: any;
71
- } | {
72
92
  type: "workflow-v1";
73
93
  main: {
74
94
  type: "relative";
@@ -79,11 +99,11 @@ export declare const BlockComponentsManifest: z.ZodObject<{
79
99
  type: "relative";
80
100
  path: string;
81
101
  };
82
- }, {
83
102
  ui: {
84
103
  type: "relative";
85
104
  path: string;
86
105
  };
106
+ }, {
87
107
  workflow: {
88
108
  type: "relative";
89
109
  path: string;
@@ -98,6 +118,10 @@ export declare const BlockComponentsManifest: z.ZodObject<{
98
118
  type: "relative";
99
119
  path: string;
100
120
  };
121
+ ui: {
122
+ type: "relative";
123
+ path: string;
124
+ };
101
125
  }>;
102
126
  export type BlockComponentsManifest = z.infer<typeof BlockComponentsManifest>;
103
127
  export declare const BlockPackMetaManifest: z.ZodObject<{
@@ -282,7 +306,7 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
282
306
  version: string;
283
307
  }>;
284
308
  components: z.ZodObject<{
285
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
309
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
286
310
  type: z.ZodLiteral<"relative">;
287
311
  path: z.ZodString;
288
312
  }, "strict", z.ZodTypeAny, {
@@ -292,12 +316,39 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
292
316
  type: "relative";
293
317
  path: string;
294
318
  }>, {
295
- type: string;
296
- main: any;
319
+ type: "workflow-v1";
320
+ main: {
321
+ type: "relative";
322
+ path: string;
323
+ };
297
324
  }, {
298
325
  type: "relative";
299
326
  path: string;
300
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
327
+ }>, z.ZodObject<{
328
+ type: z.ZodLiteral<"workflow-v1">;
329
+ main: z.ZodObject<{
330
+ type: z.ZodLiteral<"relative">;
331
+ path: z.ZodString;
332
+ }, "strict", z.ZodTypeAny, {
333
+ type: "relative";
334
+ path: string;
335
+ }, {
336
+ type: "relative";
337
+ path: string;
338
+ }>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ type: "workflow-v1";
341
+ main: {
342
+ type: "relative";
343
+ path: string;
344
+ };
345
+ }, {
346
+ type: "workflow-v1";
347
+ main: {
348
+ type: "relative";
349
+ path: string;
350
+ };
351
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
301
352
  type: z.ZodLiteral<"workflow-v1">;
302
353
  main: z.ZodObject<{
303
354
  type: z.ZodLiteral<"relative">;
@@ -343,14 +394,7 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
343
394
  path: string;
344
395
  }>;
345
396
  }, "strip", z.ZodTypeAny, {
346
- ui: {
347
- type: "relative";
348
- path: string;
349
- };
350
397
  workflow: {
351
- type: string;
352
- main: any;
353
- } | {
354
398
  type: "workflow-v1";
355
399
  main: {
356
400
  type: "relative";
@@ -361,11 +405,11 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
361
405
  type: "relative";
362
406
  path: string;
363
407
  };
364
- }, {
365
408
  ui: {
366
409
  type: "relative";
367
410
  path: string;
368
411
  };
412
+ }, {
369
413
  workflow: {
370
414
  type: "relative";
371
415
  path: string;
@@ -380,6 +424,10 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
380
424
  type: "relative";
381
425
  path: string;
382
426
  };
427
+ ui: {
428
+ type: "relative";
429
+ path: string;
430
+ };
383
431
  }>;
384
432
  meta: z.ZodObject<{
385
433
  title: z.ZodString;
@@ -548,14 +596,7 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
548
596
  }>;
549
597
  }, "strip", z.ZodTypeAny, {
550
598
  components: {
551
- ui: {
552
- type: "relative";
553
- path: string;
554
- };
555
599
  workflow: {
556
- type: string;
557
- main: any;
558
- } | {
559
600
  type: "workflow-v1";
560
601
  main: {
561
602
  type: "relative";
@@ -566,6 +607,10 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
566
607
  type: "relative";
567
608
  path: string;
568
609
  };
610
+ ui: {
611
+ type: "relative";
612
+ path: string;
613
+ };
569
614
  };
570
615
  meta: {
571
616
  organization: {
@@ -609,10 +654,6 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
609
654
  };
610
655
  }, {
611
656
  components: {
612
- ui: {
613
- type: "relative";
614
- path: string;
615
- };
616
657
  workflow: {
617
658
  type: "relative";
618
659
  path: string;
@@ -627,6 +668,10 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
627
668
  type: "relative";
628
669
  path: string;
629
670
  };
671
+ ui: {
672
+ type: "relative";
673
+ path: string;
674
+ };
630
675
  };
631
676
  meta: {
632
677
  organization: {
@@ -670,6 +715,7 @@ export declare const BlockPackDescriptionManifest: z.ZodObject<{
670
715
  };
671
716
  }>;
672
717
  export type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
718
+ export declare const Sha256Schema: z.ZodString;
673
719
  export declare const ManifestFileInfo: z.ZodObject<{
674
720
  name: z.ZodString;
675
721
  size: z.ZodNumber;
@@ -701,7 +747,7 @@ export declare const BlockPackManifest: z.ZodObject<{
701
747
  version: string;
702
748
  }>;
703
749
  components: z.ZodObject<{
704
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
750
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
705
751
  type: z.ZodLiteral<"relative">;
706
752
  path: z.ZodString;
707
753
  }, "strict", z.ZodTypeAny, {
@@ -711,12 +757,39 @@ export declare const BlockPackManifest: z.ZodObject<{
711
757
  type: "relative";
712
758
  path: string;
713
759
  }>, {
714
- type: string;
715
- main: any;
760
+ type: "workflow-v1";
761
+ main: {
762
+ type: "relative";
763
+ path: string;
764
+ };
716
765
  }, {
717
766
  type: "relative";
718
767
  path: string;
719
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
768
+ }>, z.ZodObject<{
769
+ type: z.ZodLiteral<"workflow-v1">;
770
+ main: z.ZodObject<{
771
+ type: z.ZodLiteral<"relative">;
772
+ path: z.ZodString;
773
+ }, "strict", z.ZodTypeAny, {
774
+ type: "relative";
775
+ path: string;
776
+ }, {
777
+ type: "relative";
778
+ path: string;
779
+ }>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ type: "workflow-v1";
782
+ main: {
783
+ type: "relative";
784
+ path: string;
785
+ };
786
+ }, {
787
+ type: "workflow-v1";
788
+ main: {
789
+ type: "relative";
790
+ path: string;
791
+ };
792
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
720
793
  type: z.ZodLiteral<"workflow-v1">;
721
794
  main: z.ZodObject<{
722
795
  type: z.ZodLiteral<"relative">;
@@ -762,14 +835,7 @@ export declare const BlockPackManifest: z.ZodObject<{
762
835
  path: string;
763
836
  }>;
764
837
  }, "strip", z.ZodTypeAny, {
765
- ui: {
766
- type: "relative";
767
- path: string;
768
- };
769
838
  workflow: {
770
- type: string;
771
- main: any;
772
- } | {
773
839
  type: "workflow-v1";
774
840
  main: {
775
841
  type: "relative";
@@ -780,11 +846,11 @@ export declare const BlockPackManifest: z.ZodObject<{
780
846
  type: "relative";
781
847
  path: string;
782
848
  };
783
- }, {
784
849
  ui: {
785
850
  type: "relative";
786
851
  path: string;
787
852
  };
853
+ }, {
788
854
  workflow: {
789
855
  type: "relative";
790
856
  path: string;
@@ -799,6 +865,10 @@ export declare const BlockPackManifest: z.ZodObject<{
799
865
  type: "relative";
800
866
  path: string;
801
867
  };
868
+ ui: {
869
+ type: "relative";
870
+ path: string;
871
+ };
802
872
  }>;
803
873
  meta: z.ZodObject<{
804
874
  title: z.ZodString;
@@ -967,14 +1037,7 @@ export declare const BlockPackManifest: z.ZodObject<{
967
1037
  }>;
968
1038
  }, "strip", z.ZodTypeAny, {
969
1039
  components: {
970
- ui: {
971
- type: "relative";
972
- path: string;
973
- };
974
1040
  workflow: {
975
- type: string;
976
- main: any;
977
- } | {
978
1041
  type: "workflow-v1";
979
1042
  main: {
980
1043
  type: "relative";
@@ -985,6 +1048,10 @@ export declare const BlockPackManifest: z.ZodObject<{
985
1048
  type: "relative";
986
1049
  path: string;
987
1050
  };
1051
+ ui: {
1052
+ type: "relative";
1053
+ path: string;
1054
+ };
988
1055
  };
989
1056
  meta: {
990
1057
  organization: {
@@ -1028,10 +1095,6 @@ export declare const BlockPackManifest: z.ZodObject<{
1028
1095
  };
1029
1096
  }, {
1030
1097
  components: {
1031
- ui: {
1032
- type: "relative";
1033
- path: string;
1034
- };
1035
1098
  workflow: {
1036
1099
  type: "relative";
1037
1100
  path: string;
@@ -1046,6 +1109,10 @@ export declare const BlockPackManifest: z.ZodObject<{
1046
1109
  type: "relative";
1047
1110
  path: string;
1048
1111
  };
1112
+ ui: {
1113
+ type: "relative";
1114
+ path: string;
1115
+ };
1049
1116
  };
1050
1117
  meta: {
1051
1118
  organization: {
@@ -1104,14 +1171,7 @@ export declare const BlockPackManifest: z.ZodObject<{
1104
1171
  }, "strip", z.ZodTypeAny, {
1105
1172
  description: {
1106
1173
  components: {
1107
- ui: {
1108
- type: "relative";
1109
- path: string;
1110
- };
1111
1174
  workflow: {
1112
- type: string;
1113
- main: any;
1114
- } | {
1115
1175
  type: "workflow-v1";
1116
1176
  main: {
1117
1177
  type: "relative";
@@ -1122,6 +1182,10 @@ export declare const BlockPackManifest: z.ZodObject<{
1122
1182
  type: "relative";
1123
1183
  path: string;
1124
1184
  };
1185
+ ui: {
1186
+ type: "relative";
1187
+ path: string;
1188
+ };
1125
1189
  };
1126
1190
  meta: {
1127
1191
  organization: {
@@ -1173,10 +1237,6 @@ export declare const BlockPackManifest: z.ZodObject<{
1173
1237
  }, {
1174
1238
  description: {
1175
1239
  components: {
1176
- ui: {
1177
- type: "relative";
1178
- path: string;
1179
- };
1180
1240
  workflow: {
1181
1241
  type: "relative";
1182
1242
  path: string;
@@ -1191,6 +1251,10 @@ export declare const BlockPackManifest: z.ZodObject<{
1191
1251
  type: "relative";
1192
1252
  path: string;
1193
1253
  };
1254
+ ui: {
1255
+ type: "relative";
1256
+ path: string;
1257
+ };
1194
1258
  };
1195
1259
  meta: {
1196
1260
  organization: {
@@ -1 +1 @@
1
- {"version":3,"file":"block_manifest.d.ts","sourceRoot":"","sources":["../../src/block_meta/block_manifest.ts"],"names":[],"mappings":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C,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,qBAAqB,kBAAkB,CAAC"}
@@ -387,7 +387,7 @@ export declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
387
387
  tags?: string[] | undefined;
388
388
  }>;
389
389
  export type BlockPackMetaDescriptionRaw = z.infer<typeof BlockPackMetaDescriptionRaw>;
390
- export declare const BlockPackMetaEmbeddedContent: z.ZodObject<{
390
+ export declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
391
391
  title: z.ZodString;
392
392
  description: z.ZodString;
393
393
  longDescription: z.ZodOptional<z.ZodString>;
@@ -486,5 +486,105 @@ export declare const BlockPackMetaEmbeddedContent: z.ZodObject<{
486
486
  support?: string | undefined;
487
487
  tags?: string[] | undefined;
488
488
  }>;
489
- export type BlockPackMetaEmbeddedContent = z.infer<typeof BlockPackMetaEmbeddedContent>;
489
+ export type BlockPackMetaEmbeddedBase64 = z.infer<typeof BlockPackMetaEmbeddedBase64>;
490
+ export declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
491
+ title: z.ZodString;
492
+ description: z.ZodString;
493
+ longDescription: z.ZodOptional<z.ZodString>;
494
+ logo: z.ZodOptional<z.ZodObject<{
495
+ type: z.ZodLiteral<"explicit-bytes">;
496
+ mimeType: z.ZodString;
497
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
498
+ }, "strict", z.ZodTypeAny, {
499
+ type: "explicit-bytes";
500
+ content: Uint8Array;
501
+ mimeType: string;
502
+ }, {
503
+ type: "explicit-bytes";
504
+ content: Uint8Array;
505
+ mimeType: string;
506
+ }>>;
507
+ url: z.ZodOptional<z.ZodString>;
508
+ docs: z.ZodOptional<z.ZodString>;
509
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
510
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
511
+ organization: z.ZodObject<{
512
+ name: z.ZodString;
513
+ url: z.ZodString;
514
+ logo: z.ZodOptional<z.ZodObject<{
515
+ type: z.ZodLiteral<"explicit-bytes">;
516
+ mimeType: z.ZodString;
517
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
518
+ }, "strict", z.ZodTypeAny, {
519
+ type: "explicit-bytes";
520
+ content: Uint8Array;
521
+ mimeType: string;
522
+ }, {
523
+ type: "explicit-bytes";
524
+ content: Uint8Array;
525
+ mimeType: string;
526
+ }>>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ url: string;
529
+ name: string;
530
+ logo?: {
531
+ type: "explicit-bytes";
532
+ content: Uint8Array;
533
+ mimeType: string;
534
+ } | undefined;
535
+ }, {
536
+ url: string;
537
+ name: string;
538
+ logo?: {
539
+ type: "explicit-bytes";
540
+ content: Uint8Array;
541
+ mimeType: string;
542
+ } | undefined;
543
+ }>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ organization: {
546
+ url: string;
547
+ name: string;
548
+ logo?: {
549
+ type: "explicit-bytes";
550
+ content: Uint8Array;
551
+ mimeType: string;
552
+ } | undefined;
553
+ };
554
+ title: string;
555
+ description: string;
556
+ url?: string | undefined;
557
+ longDescription?: string | undefined;
558
+ logo?: {
559
+ type: "explicit-bytes";
560
+ content: Uint8Array;
561
+ mimeType: string;
562
+ } | undefined;
563
+ docs?: string | undefined;
564
+ support?: string | undefined;
565
+ tags?: string[] | undefined;
566
+ }, {
567
+ organization: {
568
+ url: string;
569
+ name: string;
570
+ logo?: {
571
+ type: "explicit-bytes";
572
+ content: Uint8Array;
573
+ mimeType: string;
574
+ } | undefined;
575
+ };
576
+ title: string;
577
+ description: string;
578
+ url?: string | undefined;
579
+ longDescription?: string | undefined;
580
+ logo?: {
581
+ type: "explicit-bytes";
582
+ content: Uint8Array;
583
+ mimeType: string;
584
+ } | undefined;
585
+ docs?: string | undefined;
586
+ support?: string | undefined;
587
+ tags?: string[] | undefined;
588
+ }>;
589
+ export type BlockPackMetaEmbeddedBytes = z.infer<typeof BlockPackMetaEmbeddedBytes>;
490
590
  //# sourceMappingURL=block_meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"block_meta.d.ts","sourceRoot":"","sources":["../../src/block_meta/block_meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,wBAAgB,aAAa,CAC3B,KAAK,CAAC,cAAc,SAAS,CAAC,CAAC,UAAU,EACzC,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,UAAU,EACrC,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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