@new-project-media/client-frontends-shared-types 1.1.18 → 1.1.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@new-project-media/client-frontends-shared-types",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "scripts": {
5
5
  "build": "tsc -p tsconfig.json",
6
6
  "postbuild": "mkdir -p ../../dist/packages/client-frontends-shared-types/ && cp package.json ../../dist/packages/client-frontends-shared-types/",
@@ -450,3 +450,54 @@ export declare const GeoSchema: z.ZodObject<{
450
450
  };
451
451
  }>;
452
452
  export type Geo = z.infer<typeof GeoSchema>;
453
+ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
454
+ offtaker: z.ZodOptional<z.ZodNumber>;
455
+ projects: z.ZodOptional<z.ZodNumber>;
456
+ keyPeople: z.ZodOptional<z.ZodNumber>;
457
+ documents: z.ZodOptional<z.ZodNumber>;
458
+ organizations: z.ZodOptional<z.ZodNumber>;
459
+ queueApplications: z.ZodOptional<z.ZodNumber>;
460
+ utility: z.ZodOptional<z.ZodNumber>;
461
+ puc: z.ZodOptional<z.ZodNumber>;
462
+ developer: z.ZodOptional<z.ZodNumber>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ keyPeople?: number;
465
+ offtaker?: number;
466
+ projects?: number;
467
+ documents?: number;
468
+ organizations?: number;
469
+ queueApplications?: number;
470
+ utility?: number;
471
+ puc?: number;
472
+ developer?: number;
473
+ }, {
474
+ keyPeople?: number;
475
+ offtaker?: number;
476
+ projects?: number;
477
+ documents?: number;
478
+ organizations?: number;
479
+ queueApplications?: number;
480
+ utility?: number;
481
+ puc?: number;
482
+ developer?: number;
483
+ }>, {
484
+ keyPeople?: number;
485
+ offtaker?: number;
486
+ projects?: number;
487
+ documents?: number;
488
+ organizations?: number;
489
+ queueApplications?: number;
490
+ utility?: number;
491
+ puc?: number;
492
+ developer?: number;
493
+ }, {
494
+ keyPeople?: number;
495
+ offtaker?: number;
496
+ projects?: number;
497
+ documents?: number;
498
+ organizations?: number;
499
+ queueApplications?: number;
500
+ utility?: number;
501
+ puc?: number;
502
+ developer?: number;
503
+ }>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GeoSchema = exports.DocumentRecordSchema = exports.OptionalDocumentLinkSchema = exports.DocumentLinkSchema = exports.OptionalS3DocumentSchema = exports.DocumentS3RecordSchema = exports.OptionalCoordinateSchema = exports.CoordinateSchema = exports.OptionalAddressSchema = exports.AddressSchema = exports.LinkedPeopleOptionalSchema = exports.LinkedPeopleSchema = exports.QueueJoinOptionalSchema = exports.QueueJoinSchema = exports.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.OrganizationItemSchema = exports.EntityItemSchema = void 0;
3
+ exports.TotalsSchema = exports.GeoSchema = exports.DocumentRecordSchema = exports.OptionalDocumentLinkSchema = exports.DocumentLinkSchema = exports.OptionalS3DocumentSchema = exports.DocumentS3RecordSchema = exports.OptionalCoordinateSchema = exports.CoordinateSchema = exports.OptionalAddressSchema = exports.AddressSchema = exports.LinkedPeopleOptionalSchema = exports.LinkedPeopleSchema = exports.QueueJoinOptionalSchema = exports.QueueJoinSchema = exports.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.OrganizationItemSchema = exports.EntityItemSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.EntityItemSchema = zod_1.z.object({
6
6
  identifier: zod_1.z.string().min(1),
@@ -95,4 +95,20 @@ exports.GeoSchema = zod_1.z.object({
95
95
  lat: zod_1.z.number(),
96
96
  }),
97
97
  });
98
+ exports.TotalsSchema = zod_1.z
99
+ .object({
100
+ offtaker: zod_1.z.number().optional(),
101
+ projects: zod_1.z.number().optional(),
102
+ keyPeople: zod_1.z.number().optional(),
103
+ documents: zod_1.z.number().optional(),
104
+ organizations: zod_1.z.number().optional(),
105
+ queueApplications: zod_1.z.number().optional(),
106
+ utility: zod_1.z.number().optional(),
107
+ puc: zod_1.z.number().optional(),
108
+ developer: zod_1.z.number().optional(),
109
+ })
110
+ .refine((obj) => Object.keys(obj).length > 0, {
111
+ message: 'At least one property must be present if totals object exists',
112
+ })
113
+ .optional();
98
114
  //# sourceMappingURL=entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/entity.ts"],"names":[],"mappings":";;;AAAA,6BAAiC;AAEpB,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACtB,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAA;AAGW,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE,CAAA;AAG/D,QAAA,qBAAqB,GAAG,OAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC,CAAA;AAGjD,QAAA,6BAA6B,GAAG,6BAAqB,CAAC,QAAQ,EAAE,CAAA;AAKhE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;IACN,IAAI,EAAE,4BAAoB;IAC1B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,OAAO,EAAE,4BAAoB;IAC7B,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,2BAAmB;IACjC,MAAM,EAAE,4BAAoB;IAC5B,EAAE,EAAE,4BAAoB;CACzB,CAAC;KACD,KAAK,EAAE,CAAA;AAEG,QAAA,0BAA0B,GAAG,0BAAkB,CAAC,QAAQ,EAAE,CAAA;AAK1D,QAAA,oBAAoB,GAAG,OAAC;KAClC,KAAK,CAAC,CAAC,8BAAsB,EAAE,0BAAkB,CAAC,CAAC;KACnD,QAAQ,EAAE,CAAA;AAMA,QAAA,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;QACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;KAChB,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/entity.ts"],"names":[],"mappings":";;;AAAA,6BAAiC;AAEpB,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACtB,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAA;AAGW,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC,CAA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AAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;IAC5C,OAAO,EAAE,+DAA+D;CACzE,CAAC;KACD,QAAQ,EAAE,CAAA"}
@@ -89,17 +89,17 @@ declare const queue: z.ZodObject<{
89
89
  applicationId?: string;
90
90
  queueDataset?: string;
91
91
  country?: string;
92
+ organizations?: {
93
+ id?: string;
94
+ identifier?: string;
95
+ role?: string;
96
+ }[];
92
97
  geo?: {
93
98
  project?: {
94
99
  lat?: number;
95
100
  lon?: number;
96
101
  };
97
102
  };
98
- organizations?: {
99
- id?: string;
100
- identifier?: string;
101
- role?: string;
102
- }[];
103
103
  actualOperationalDate?: string;
104
104
  address?: string;
105
105
  allSectors?: string;
@@ -138,17 +138,17 @@ declare const queue: z.ZodObject<{
138
138
  applicationId?: string;
139
139
  queueDataset?: string;
140
140
  country?: string;
141
+ organizations?: {
142
+ id?: string;
143
+ identifier?: string;
144
+ role?: string;
145
+ }[];
141
146
  geo?: {
142
147
  project?: {
143
148
  lat?: number;
144
149
  lon?: number;
145
150
  };
146
151
  };
147
- organizations?: {
148
- id?: string;
149
- identifier?: string;
150
- role?: string;
151
- }[];
152
152
  actualOperationalDate?: string;
153
153
  address?: string;
154
154
  allSectors?: string;
@@ -408,6 +408,57 @@ declare const signal: z.ZodObject<{
408
408
  id?: string;
409
409
  identifier?: string;
410
410
  }>, "many">>;
411
+ totals: z.ZodOptional<z.ZodEffects<z.ZodObject<{
412
+ offtaker: z.ZodOptional<z.ZodNumber>;
413
+ projects: z.ZodOptional<z.ZodNumber>;
414
+ keyPeople: z.ZodOptional<z.ZodNumber>;
415
+ documents: z.ZodOptional<z.ZodNumber>;
416
+ organizations: z.ZodOptional<z.ZodNumber>;
417
+ queueApplications: z.ZodOptional<z.ZodNumber>;
418
+ utility: z.ZodOptional<z.ZodNumber>;
419
+ puc: z.ZodOptional<z.ZodNumber>;
420
+ developer: z.ZodOptional<z.ZodNumber>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ keyPeople?: number;
423
+ offtaker?: number;
424
+ projects?: number;
425
+ documents?: number;
426
+ organizations?: number;
427
+ queueApplications?: number;
428
+ utility?: number;
429
+ puc?: number;
430
+ developer?: number;
431
+ }, {
432
+ keyPeople?: number;
433
+ offtaker?: number;
434
+ projects?: number;
435
+ documents?: number;
436
+ organizations?: number;
437
+ queueApplications?: number;
438
+ utility?: number;
439
+ puc?: number;
440
+ developer?: number;
441
+ }>, {
442
+ keyPeople?: number;
443
+ offtaker?: number;
444
+ projects?: number;
445
+ documents?: number;
446
+ organizations?: number;
447
+ queueApplications?: number;
448
+ utility?: number;
449
+ puc?: number;
450
+ developer?: number;
451
+ }, {
452
+ keyPeople?: number;
453
+ offtaker?: number;
454
+ projects?: number;
455
+ documents?: number;
456
+ organizations?: number;
457
+ queueApplications?: number;
458
+ utility?: number;
459
+ puc?: number;
460
+ developer?: number;
461
+ }>>;
411
462
  }, "strip", z.ZodTypeAny, {
412
463
  type?: {
413
464
  id?: string;
@@ -446,6 +497,32 @@ declare const signal: z.ZodObject<{
446
497
  identifier?: string;
447
498
  }[];
448
499
  created?: string;
500
+ projects?: {
501
+ id?: string;
502
+ identifier?: string;
503
+ }[];
504
+ documents?: {
505
+ type?: string[];
506
+ key?: string;
507
+ filename?: string;
508
+ created?: string;
509
+ document_id?: string;
510
+ mimeType?: string;
511
+ userName?: string;
512
+ }[] | {
513
+ type?: string[];
514
+ id?: string;
515
+ source?: string;
516
+ created?: string;
517
+ file?: string;
518
+ url?: string;
519
+ documentDate?: string;
520
+ }[];
521
+ organizations?: {
522
+ id?: string;
523
+ identifier?: string;
524
+ role?: string;
525
+ }[];
449
526
  queueApplications?: {
450
527
  id?: string;
451
528
  identifier?: string;
@@ -498,28 +575,6 @@ declare const signal: z.ZodObject<{
498
575
  lon?: number;
499
576
  };
500
577
  };
501
- organizations?: {
502
- id?: string;
503
- identifier?: string;
504
- role?: string;
505
- }[];
506
- documents?: {
507
- type?: string[];
508
- key?: string;
509
- filename?: string;
510
- created?: string;
511
- document_id?: string;
512
- mimeType?: string;
513
- userName?: string;
514
- }[] | {
515
- type?: string[];
516
- id?: string;
517
- source?: string;
518
- created?: string;
519
- file?: string;
520
- url?: string;
521
- documentDate?: string;
522
- }[];
523
578
  mw?: number;
524
579
  pucTracker?: {
525
580
  id?: string;
@@ -546,10 +601,6 @@ declare const signal: z.ZodObject<{
546
601
  id?: string;
547
602
  identifier?: string;
548
603
  }[];
549
- projects?: {
550
- id?: string;
551
- identifier?: string;
552
- }[];
553
604
  countyBoard?: {
554
605
  id?: string;
555
606
  identifier?: string;
@@ -558,6 +609,17 @@ declare const signal: z.ZodObject<{
558
609
  id?: string;
559
610
  identifier?: string;
560
611
  }[];
612
+ totals?: {
613
+ keyPeople?: number;
614
+ offtaker?: number;
615
+ projects?: number;
616
+ documents?: number;
617
+ organizations?: number;
618
+ queueApplications?: number;
619
+ utility?: number;
620
+ puc?: number;
621
+ developer?: number;
622
+ };
561
623
  }, {
562
624
  type?: {
563
625
  id?: string;
@@ -596,6 +658,32 @@ declare const signal: z.ZodObject<{
596
658
  identifier?: string;
597
659
  }[];
598
660
  created?: string;
661
+ projects?: {
662
+ id?: string;
663
+ identifier?: string;
664
+ }[];
665
+ documents?: {
666
+ type?: string[];
667
+ key?: string;
668
+ filename?: string;
669
+ created?: string;
670
+ document_id?: string;
671
+ mimeType?: string;
672
+ userName?: string;
673
+ }[] | {
674
+ type?: string[];
675
+ id?: string;
676
+ source?: string;
677
+ created?: string;
678
+ file?: string;
679
+ url?: string;
680
+ documentDate?: string;
681
+ }[];
682
+ organizations?: {
683
+ id?: string;
684
+ identifier?: string;
685
+ role?: string;
686
+ }[];
599
687
  queueApplications?: {
600
688
  id?: string;
601
689
  identifier?: string;
@@ -648,28 +736,6 @@ declare const signal: z.ZodObject<{
648
736
  lon?: number;
649
737
  };
650
738
  };
651
- organizations?: {
652
- id?: string;
653
- identifier?: string;
654
- role?: string;
655
- }[];
656
- documents?: {
657
- type?: string[];
658
- key?: string;
659
- filename?: string;
660
- created?: string;
661
- document_id?: string;
662
- mimeType?: string;
663
- userName?: string;
664
- }[] | {
665
- type?: string[];
666
- id?: string;
667
- source?: string;
668
- created?: string;
669
- file?: string;
670
- url?: string;
671
- documentDate?: string;
672
- }[];
673
739
  mw?: number;
674
740
  pucTracker?: {
675
741
  id?: string;
@@ -696,10 +762,6 @@ declare const signal: z.ZodObject<{
696
762
  id?: string;
697
763
  identifier?: string;
698
764
  }[];
699
- projects?: {
700
- id?: string;
701
- identifier?: string;
702
- }[];
703
765
  countyBoard?: {
704
766
  id?: string;
705
767
  identifier?: string;
@@ -708,6 +770,17 @@ declare const signal: z.ZodObject<{
708
770
  id?: string;
709
771
  identifier?: string;
710
772
  }[];
773
+ totals?: {
774
+ keyPeople?: number;
775
+ offtaker?: number;
776
+ projects?: number;
777
+ documents?: number;
778
+ organizations?: number;
779
+ queueApplications?: number;
780
+ utility?: number;
781
+ puc?: number;
782
+ developer?: number;
783
+ };
711
784
  }>;
712
785
  export type Signal = z.infer<typeof signal>;
713
786
  export type OrganizationItem = z.infer<typeof OrganizationItemSchema>;
@@ -56,5 +56,6 @@ const signal = zod_1.z.object({
56
56
  projects: entity_1.EntityItemArrayOptionalSchema,
57
57
  countyBoard: entity_1.EntityItemArrayOptionalSchema,
58
58
  schoolDistrict: entity_1.EntityItemArrayOptionalSchema,
59
+ totals: entity_1.TotalsSchema,
59
60
  });
60
61
  //# sourceMappingURL=signals.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/signals.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAkBiB;AAEjB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0DAAyC,CAAA;IACzC,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAED,MAAM,MAAM,GAAG,OAAC,CAAC,MAAM,CAAC;IACtB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,8BAAqB;IAC5B,OAAO,EAAE,sCAA6B;IACtC,MAAM,EAAE,sCAA6B;IACrC,OAAO,EAAE,8BAAqB;IAC9B,iBAAiB,EAAE,gCAAuB;IAC1C,eAAe,EAAE,sCAA6B;IAC9C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,6BAAoB;IAC1B,UAAU,EAAE,oCAA2B;IACvC,aAAa,EAAE,oCAA2B;IAC1C,uBAAuB,EAAE,oCAA2B;IACpD,YAAY,EAAE,6BAAoB;IAClC,eAAe,EAAE,8BAAqB;IACtC,QAAQ,EAAE,gCAAuB;IACjC,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,iCAAwB;QACjC,YAAY,EAAE,6BAAoB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,MAAM,EAAE,iCAAwB;KACjC,CAAC;IACF,aAAa,EAAE,2BAAkB;IACjC,SAAS,EAAE,mCAA0B;IACrC,SAAS,EAAE,6BAAoB;IAC/B,EAAE,EAAE,6BAAoB;IACxB,UAAU,EAAE,sCAA6B;IACzC,WAAW,EAAE,6BAAoB;IACjC,YAAY,EAAE,6BAAoB;IAClC,SAAS,EAAE,8BAAqB;IAChC,OAAO,EAAE,4BAAmB;IAC5B,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,aAAa,CAAC;IACnC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACnD,IAAI,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,sCAA6B;IACtC,SAAS,EAAE,8BAAqB;IAChC,aAAa,EAAE,8BAAqB;IACpC,KAAK,EAAE,6BAAoB;IAC3B,UAAU,EAAE,sCAA6B;IACzC,QAAQ,EAAE,sCAA6B;IACvC,WAAW,EAAE,sCAA6B;IAC1C,cAAc,EAAE,sCAA6B;CAC9C,CAAC,CAAA"}
1
+ {"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/signals.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAmBiB;AAEjB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0DAAyC,CAAA;IACzC,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAED,MAAM,MAAM,GAAG,OAAC,CAAC,MAAM,CAAC;IACtB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,8BAAqB;IAC5B,OAAO,EAAE,sCAA6B;IACtC,MAAM,EAAE,sCAA6B;IACrC,OAAO,EAAE,8BAAqB;IAC9B,iBAAiB,EAAE,gCAAuB;IAC1C,eAAe,EAAE,sCAA6B;IAC9C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,6BAAoB;IAC1B,UAAU,E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