@open-take/compositor 0.2.7 → 0.2.9

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/dist/index.d.ts CHANGED
@@ -104,7 +104,34 @@ type CapturePress = CaptureEventBase & {
104
104
  /** ms the hold occupies on screen (ground-truth wall time) */
105
105
  durationMs: number;
106
106
  };
107
- type CaptureEvent = CaptureClick | CaptureType | CaptureDrag | CaptureScroll | CaptureHover | CapturePress;
107
+ /** A file drag-and-drop (OS-level, synthesized via CDP Input.dispatchDragEvent
108
+ * with real file paths): the cursor carries the file(s) from the anchor
109
+ * (`x,y`) along `path` to `to`, where the drop lands and the page receives
110
+ * actual Files. The compositor draws a "file ghost card" riding the cursor
111
+ * for this beat — the recording itself shows only the page's reaction. */
112
+ type CaptureDropFiles = CaptureEventBase & {
113
+ kind: "dropFiles";
114
+ /** drop point, viewport CSS px */
115
+ to: {
116
+ x: number;
117
+ y: number;
118
+ };
119
+ /** full polyline incl. ends, viewport CSS px */
120
+ path?: {
121
+ x: number;
122
+ y: number;
123
+ }[];
124
+ /** ms the carry occupies on screen (ground-truth wall time) */
125
+ durationMs: number;
126
+ /** carry pacing baked into the dispatched dragOver march (see CaptureDrag) */
127
+ ease?: "linear" | "smooth";
128
+ /** dropped files' display metadata (basename + bytes) for the ghost card */
129
+ files: {
130
+ name: string;
131
+ size?: number;
132
+ }[];
133
+ };
134
+ type CaptureEvent = CaptureClick | CaptureType | CaptureDrag | CaptureScroll | CaptureHover | CapturePress | CaptureDropFiles;
108
135
  type CaptureLog = {
109
136
  video: {
110
137
  width: number;
@@ -116,6 +143,12 @@ type CaptureLog = {
116
143
  w: number;
117
144
  h: number;
118
145
  };
146
+ /** the app this take was shot from (the plan's url). Written by makeTake into
147
+ * the KEPT log; the composition never reads it. It exists so a take can say
148
+ * which app it is of — `make` refuses to overwrite a take of a different
149
+ * app, which is what stops a second demo in the same folder from destroying
150
+ * the first. Absent on takes made before it was recorded. */
151
+ url?: string;
119
152
  start?: {
120
153
  x: number;
121
154
  y: number;
@@ -133,6 +166,26 @@ type CaptureLog = {
133
166
  target?: string;
134
167
  reason: string;
135
168
  }[];
169
+ /** Beats whose editorial hold ran out before the PAGE had finished — the
170
+ * capture kept waiting (see runtime/src/settle.ts) and records how much
171
+ * longer it needed. This is the measurement that replaces guessing
172
+ * `settleMs`: `heldMs + waitedMs` is what that beat actually wanted, and
173
+ * `reason: "budget"` means even the extra wait was not enough. Absent when
174
+ * every hold was already long enough. */
175
+ settleWaits?: {
176
+ step: number;
177
+ action: string;
178
+ heldMs: number;
179
+ waitedMs: number;
180
+ reason: "idle" | "budget" | "unavailable";
181
+ }[];
182
+ /** Largest share of the frame a `<canvas>`/`<video>` held during the capture.
183
+ * It matters because the settle probe reads the page's STRUCTURE, and a
184
+ * paint surface never changes structurally no matter what is drawn inside
185
+ * it — so on a canvas-driven app "the page settled" is not evidence the
186
+ * beat's payoff had appeared, and `settleMs` is doing the whole job alone.
187
+ * Absent on an ordinary DOM app. */
188
+ paintedFrac?: number;
136
189
  };
137
190
  type ZoomDecision = {
138
191
  /** selective: not every action zooms. Edit this to tune/remove. */
@@ -153,8 +206,17 @@ type ZoomDecision = {
153
206
  /** why this decision (for the human/agent reading the composition) */
154
207
  reason: string;
155
208
  };
209
+ /** Ghost-card knobs for a dropFiles beat (editable): the macOS-style file
210
+ * card riding the cursor during the carry. */
211
+ type GhostCardConfig = {
212
+ enabled: boolean;
213
+ /** card offset from the cursor tip, video-px (default ~{x:26,y:30}) */
214
+ offset?: Pt;
215
+ /** ms of the release pop after the drop (fade + settle; default 280) */
216
+ releaseMs?: number;
217
+ };
156
218
  type CompEvent = {
157
- kind: "click" | "type" | "drag" | "scroll" | "hover" | "press";
219
+ kind: "click" | "type" | "drag" | "scroll" | "hover" | "press" | "dropFiles";
158
220
  tMs: number;
159
221
  /** anchor point (click / focus / drag start / hover) in video-px. For a
160
222
  * scroll/press the cursor does not move; this is its resting point. */
@@ -177,6 +239,13 @@ type CompEvent = {
177
239
  /** drag stroke easing baked into the ink (kind=drag): "smooth" or "linear".
178
240
  * The cursor replays it so it stays locked to the ink. Absent ⇒ linear. */
179
241
  ease?: "linear" | "smooth";
242
+ /** dropped files' display metadata (kind=dropFiles), for the ghost card */
243
+ files?: {
244
+ name: string;
245
+ size?: number;
246
+ }[];
247
+ /** ghost-card rendering knobs (kind=dropFiles); absent ⇒ enabled defaults */
248
+ ghostCard?: GhostCardConfig;
180
249
  };
181
250
  type FramingConfig = {
182
251
  /** video occupies this fraction of the frame at rest (inset for the backdrop) */
@@ -204,15 +273,36 @@ type CursorConfig = {
204
273
  travelMs: number;
205
274
  /** Distance-aware travel speed, as a fraction of the source video WIDTH per
206
275
  * second (resolution-independent). A travel leg's duration is
207
- * `clamp(distance / (widthsPerSec·videoWidth), travelMinMs, travelMaxMs)`, so
208
- * the cursor holds a roughly CONSTANT on-screen speed regardless of distance —
276
+ * `distance / (widthsPerSec·videoWidth·zoomFrac)`, floored at `travelMinMs` and
277
+ * then capped at `travelMaxMs` (in that order — an inverted band pins short hops
278
+ * to the floor, not everything to the ceiling), so the cursor holds a roughly
279
+ * CONSTANT on-screen speed regardless of distance —
209
280
  * the premium-recorder feel (measured ~0.30 widths/s on the reference). Set 0
210
- * to fall back to the fixed `travelMs`. */
281
+ * to fall back to the fixed `travelMs`.
282
+ *
283
+ * `zoomFrac = restScale / camera scale` — exactly 1 for a full-view take, so a
284
+ * zoom-less composition is unaffected. While the camera is punched in, the same
285
+ * video-px move covers proportionally more of the DELIVERED frame, so without
286
+ * this factor a 2× punch-in reads ~2× too fast precisely where the viewer is
287
+ * looking closest. zoomFrac is INTEGRATED across the leg, not sampled at one
288
+ * instant: a travel usually departs while the camera is still wide and lands
289
+ * after it has closed in, and pricing all of it at the landing magnification
290
+ * over-slows the departure by as much as a zoom-blind duration over-sped it.
291
+ * A leg the camera holds a frame through degenerates to that one frame's
292
+ * factor, which is the sampled model's only exactly-right case. */
211
293
  travelWidthsPerSec: number;
212
- /** Floor for a distance-aware travel (ms) so short hops aren't an instant snap. */
294
+ /** Floor for a distance-aware travel (ms) so short hops aren't an instant snap.
295
+ * NOTE both clamps are applied AFTER the speed model and neither is part of a
296
+ * `pace` preset, so on the legs they bind THEY set the duration and re-pacing
297
+ * the take does nothing. validate.ts says so once that stops being the
298
+ * exception (see CLAMPED_LEGS_FRAC). */
213
299
  travelMinMs: number;
214
300
  /** Ceiling for a distance-aware travel (ms) so a full-width jump stays a glide,
215
- * not a multi-second crawl. */
301
+ * not a multi-second crawl. Binds on any sweep past
302
+ * `travelMaxMs · travelWidthsPerSec · videoWidth` — ~571px of a 1920 frame at
303
+ * the shipped defaults — which is deliberate (it was eye-tuned on a reference
304
+ * recorder's long moves), so it also bounds how much of the zoom correction
305
+ * above a long zoomed sweep can actually receive. */
216
306
  travelMaxMs: number;
217
307
  scale: number;
218
308
  arcFrac: number;
@@ -402,11 +492,17 @@ declare const ZOOM_LEVELS: {
402
492
  type ZoomLevelName = keyof typeof ZOOM_LEVELS;
403
493
  /** Name a scale if it sits within tolerance of a preset; else null (custom). */
404
494
  declare function zoomLevelName(scale: number, tol?: number): ZoomLevelName | null;
405
- type MotionPreset = Pick<CursorConfig, "travelWidthsPerSec" | "holdMs" | "zoomInMs" | "zoomOutMs" | "pullOutDwellMs"> & {
495
+ type MotionPreset = Pick<CursorConfig, "travelWidthsPerSec" | "travelMinMs" | "travelMaxMs" | "holdMs" | "zoomInMs" | "zoomOutMs" | "pullOutDwellMs"> & {
406
496
  zoomEase?: undefined;
407
497
  };
408
498
  declare const MOTION: Record<"calm" | "natural" | "brisk", MotionPreset>;
409
499
  type MotionName = keyof typeof MOTION;
500
+ /** A clamp matches its preset — or the LEGACY value every composition carried
501
+ * before the clamps joined the presets. Without that second door, applying
502
+ * "brisk" to an old take and re-reading it would report "custom" purely
503
+ * because the take predates clamp-aware presets. Same escape hatch
504
+ * pullOutDwellMs already has. */
505
+ declare const CLAMP_TOL_MS = 20;
410
506
  declare function motionName(cursor: CursorConfig): MotionName | null;
411
507
  type LookPreset = Pick<FramingConfig, "background" | "cornerRadius" | "shadow">;
412
508
  declare const LOOKS: Record<string, LookPreset>;
@@ -446,7 +542,7 @@ declare function planComposition(log: CaptureLog, opts?: PlanOpts): TakeComposit
446
542
  //# sourceMappingURL=plan.d.ts.map
447
543
  /** One action, already mapped into video-px, handed to the director. */
448
544
  type Beat = {
449
- kind: "click" | "type" | "drag" | "scroll" | "hover" | "press";
545
+ kind: "click" | "type" | "drag" | "scroll" | "hover" | "press" | "dropFiles";
450
546
  tMs: number;
451
547
  durationMs: number;
452
548
  /** element bbox (for a drag: the path's bbox), video-px — or undefined for a
@@ -488,8 +584,31 @@ declare function directCamera(beats: Beat[], video: {
488
584
  }, cam: CameraConfig, rest: number, endMs: number): Framing[];
489
585
 
490
586
  //#endregion
491
- //#region src/render.d.ts
587
+ //#region src/validate.d.ts
492
588
  //# sourceMappingURL=camera.d.ts.map
589
+ type CompositionIssue = {
590
+ severity: "error" | "warn";
591
+ /** dotted/indexed field path, e.g. "events[3].zoom.scale" */
592
+ path: string;
593
+ message: string;
594
+ /** a concrete suggested correction the agent can apply */
595
+ fix?: string;
596
+ };
597
+ type ValidateOpts = {
598
+ /** soft ceiling on zoom scale — above it the pixels visibly soften (warn).
599
+ * Default 2.5 (the planner caps auto-zoom at 1.5; manual edits get headroom). */
600
+ maxScale?: number;
601
+ /** the ground-truth capture log. When given, action `tMs` is checked against
602
+ * it (capture-lock). Omit to skip that check. */
603
+ captureLog?: CaptureLog;
604
+ };
605
+ declare function validateComposition(comp: TakeComposition, opts?: ValidateOpts): CompositionIssue[];
606
+ /** Format issues for a human/agent log. Errors first. */
607
+ declare function formatIssues(issues: CompositionIssue[]): string;
608
+
609
+ //#endregion
610
+ //#region src/render.d.ts
611
+ //# sourceMappingURL=validate.d.ts.map
493
612
  type RenderTakeOpts = {
494
613
  /** input capture video (webm or mp4) */
495
614
  videoPath: string;
@@ -523,43 +642,30 @@ type RenderTakeOpts = {
523
642
  * from the CLIP start, and the first frame's trailing window is truncated.
524
643
  * Forwarded to revideo's projectSettings.range. */
525
644
  rangeSec?: [number, number];
526
- /** write the editable `<out>.composition.json` sibling (default true). Review
527
- * copies and A/B reels are disposable — they skip the sibling. */
645
+ /** write the editable composition (default true). Review copies and A/B reels
646
+ * are disposable — they skip it. */
528
647
  writeCompositionSibling?: boolean;
648
+ /** where to write it. Default `<out>.composition.json`; the runtime passes the
649
+ * take's working dir instead. WHERE a take keeps its files is a take-layout
650
+ * question — the compositor just writes where it is told. */
651
+ compositionPath?: string;
529
652
  };
530
- declare function renderTake(opts: RenderTakeOpts): Promise<{
653
+ type RenderTakeResult = {
531
654
  mp4Path: string;
532
655
  compositionPath: string;
533
- }>;
534
-
535
- //#endregion
536
- //#region src/validate.d.ts
537
- //# sourceMappingURL=render.d.ts.map
538
- type CompositionIssue = {
539
- severity: "error" | "warn";
540
- /** dotted/indexed field path, e.g. "events[3].zoom.scale" */
541
- path: string;
542
- message: string;
543
- /** a concrete suggested correction the agent can apply */
544
- fix?: string;
545
- };
546
- type ValidateOpts = {
547
- /** soft ceiling on zoom scale — above it the pixels visibly soften (warn).
548
- * Default 2.5 (the planner caps auto-zoom at 1.5; manual edits get headroom). */
549
- maxScale?: number;
550
- /** the ground-truth capture log. When given, action `tMs` is checked against
551
- * it (capture-lock). Omit to skip that check. */
552
- captureLog?: CaptureLog;
656
+ /** non-fatal validator findings for this composition. The render went ahead,
657
+ * but each one is something the author has to look at — a zoom that punches
658
+ * into empty space, a press whose zoom departs before the keypress, a tail
659
+ * that delivers a frozen screen. Empty when `skipValidate` is set. */
660
+ warnings: CompositionIssue[];
553
661
  };
554
- declare function validateComposition(comp: TakeComposition, opts?: ValidateOpts): CompositionIssue[];
555
- /** Format issues for a human/agent log. Errors first. */
556
- declare function formatIssues(issues: CompositionIssue[]): string;
662
+ declare function renderTake(opts: RenderTakeOpts): Promise<RenderTakeResult>;
557
663
 
558
664
  //#endregion
559
665
  //#region src/math.d.ts
560
- //# sourceMappingURL=validate.d.ts.map
666
+ //# sourceMappingURL=render.d.ts.map
561
667
  declare namespace math_d_exports {
562
- export { CamRect, StageKeyframes, bboxFitScale, buildLegs, buildStageKeyframes, cameraRampSchedule, clampCenter, cubicBezier, cursorPos, gradientEndpoints, isDragging, keyvalN, keyvalR, restStageScale, smoother, springEase, stageCamera, stageEasing };
668
+ export { CamRect, StageKeyframes, bboxFitScale, buildLegs, buildStageKeyframes, cameraRampSchedule, carryWindow, clampCenter, cubicBezier, cursorPos, fmtBytes, ghostCardLines, gradientEndpoints, isDragging, keyvalN, keyvalR, restStageScale, smoother, springEase, stageCamera, stageEasing };
563
669
  }
564
670
  declare function smoother(t: number): number;
565
671
  declare function cubicBezier(x1: number, y1: number, x2: number, y2: number): (x: number) => number;
@@ -617,10 +723,13 @@ declare function keyvalR(t: number, kfs: KF<CamRect>[], ease: (u: number) => num
617
723
  * lands. `null` for a beat the camera holds through (no anchor). Derived from
618
724
  * the same schedule the render uses, so a dwell-delayed pull-out (which
619
725
  * departs after the stored inAtMs and can land after its own tMs) is
620
- * reflected instead of approximated from inAtMs. */
726
+ * reflected instead of approximated from inAtMs. `pullOut` says which pace
727
+ * knob the window belongs to (zoomOutMs vs zoomInMs) — the same test the
728
+ * schedule itself makes, so a reader can't drift from it. */
621
729
  declare function cameraRampSchedule(comp: TakeComposition): ({
622
730
  startMs: number;
623
731
  landMs: number;
732
+ pullOut: boolean;
624
733
  } | null)[];
625
734
  declare function buildStageKeyframes(comp: TakeComposition): StageKeyframes;
626
735
  /** The one camera evaluator — scene.tsx (render) and the editor preview both
@@ -642,12 +751,48 @@ type Leg = {
642
751
  drag?: boolean;
643
752
  path?: Pt[];
644
753
  ease?: "linear" | "smooth";
754
+ /** Diagnostics only (never read by the render): which travel clamp, if
755
+ * either, set this leg's duration instead of the speed law. The clamps run
756
+ * AFTER the speed model, so a clamped leg is one where `travelWidthsPerSec`
757
+ * — and therefore the whole `pace` preset — has no say. validate.ts reports
758
+ * it when it stops being the exception and becomes the rule. */
759
+ clamped?: "min" | "max";
760
+ /** Diagnostics only: the duration (s) the clamped speed law asked for. When
761
+ * the delivered `t1 - t0` is shorter, the previous beat's action ran too
762
+ * late to leave room and the move is being rushed — a CAPTURE-side gap no
763
+ * cursor knob can fix. `evIdx` is the event this leg travels to. */
764
+ wantSec?: number;
765
+ evIdx?: number;
645
766
  };
646
767
  declare function buildLegs(comp: TakeComposition): Leg[];
647
768
  declare function cursorPos(t: number, legs: Leg[], comp: TakeComposition): Pt;
648
769
  /** True while a drag is mid-stroke (button held) — for the pressed cursor. */
649
770
  declare function isDragging(t: number, legs: Leg[]): boolean;
771
+ /** A dropFiles carry's on-screen window [start, end] in SECONDS — when the
772
+ * ghost card rides the cursor. Same dragLagMs shift as the carry leg in
773
+ * buildLegs, so card and cursor cannot drift apart. Shared by the Revideo
774
+ * scene and the editor preview (the no-drift invariant). */
775
+ declare function carryWindow(e: {
776
+ tMs: number;
777
+ durationMs?: number;
778
+ }, comp: TakeComposition): {
779
+ t0: number;
780
+ t1: number;
781
+ };
782
+ /** "1.2 MB" / "412 KB" — the ghost card's size caption (scene + preview). */
783
+ declare function fmtBytes(n: number): string;
784
+ /** The ghost card's two text lines for a dropFiles beat: the (first) filename,
785
+ * and a meta caption ("3 files · 1.8 MB" / "1.2 MB"). Shared scene/preview.
786
+ * Long filenames middle-ellipse (extension kept) so the card can't outgrow
787
+ * the frame — neither render surface clamps its width. */
788
+ declare function ghostCardLines(files: {
789
+ name: string;
790
+ size?: number;
791
+ }[]): {
792
+ title: string;
793
+ meta: string;
794
+ };
650
795
 
651
796
  //#endregion
652
- export { BBox, Beat, CameraConfig, CaptureClick, CaptureDrag, CaptureEvent, CaptureEventBase, CaptureHover, CaptureLog, CapturePress, CaptureScroll, CaptureType, CompEvent, CompositionIssue, CursorConfig, DEFAULT_CAMERA, DEFAULT_CURSOR, DEFAULT_FRAMING, DEFAULT_MOTION_BLUR, FINISH, FinishName, Framing, FramingConfig, LOOKS, LookName, LookPreset, MOTION, MotionBlurConfig, MotionName, MotionPreset, PlanOpts, Pt, RenderTakeOpts, ReviewBadge, ReviewDecor, TakeComposition, ValidateOpts, ZOOM_LEVELS, ZoomDecision, ZoomIntent, ZoomLevelName, directCamera, finishName, formatIssues, lookName, math_d_exports as math, motionBlurActive, motionName, planComposition, renderTake, resolveFfmpeg, resolveFfprobe, validateComposition, zoomLevelName };
797
+ export { BBox, Beat, CLAMP_TOL_MS, CameraConfig, CaptureClick, CaptureDrag, CaptureDropFiles, CaptureEvent, CaptureEventBase, CaptureHover, CaptureLog, CapturePress, CaptureScroll, CaptureType, CompEvent, CompositionIssue, CursorConfig, DEFAULT_CAMERA, DEFAULT_CURSOR, DEFAULT_FRAMING, DEFAULT_MOTION_BLUR, FINISH, FinishName, Framing, FramingConfig, GhostCardConfig, LOOKS, LookName, LookPreset, MOTION, MotionBlurConfig, MotionName, MotionPreset, PlanOpts, Pt, RenderTakeOpts, RenderTakeResult, ReviewBadge, ReviewDecor, TakeComposition, ValidateOpts, ZOOM_LEVELS, ZoomDecision, ZoomIntent, ZoomLevelName, directCamera, finishName, formatIssues, lookName, math_d_exports as math, motionBlurActive, motionName, planComposition, renderTake, resolveFfmpeg, resolveFfprobe, validateComposition, zoomLevelName };
653
798
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/presets.ts","../src/ffmpeg.ts","../src/plan.ts","../src/camera.ts","../src/render.ts","../src/validate.ts","../src/math.ts"],"sourcesContent":null,"mappings":";;;KAMY,EAAA;;;AAAZ,CAAA;AACY,KAAA,IAAA,GAAI;;EAKJ,CAAA,EAAA,MAAA;;;AAIZ,CAAA;;AAKQ,KATI,UAAA,GASJ,MAAA,GAAA,OAAA,GAAA,QAAA;;;AAeU,KApBN,gBAAA,GAoBM;;EAUN,CAAA,EAAA,MAAA;;;EAIA,GAAA,CAAA,EA7BJ,IA6BI;;;EAUA;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J,CAAA,EAAA,MAAA;AAgBZ,CAAA;;;;AAeY;AAKZ;;;AAOS,iBOoDO,OAAA,CPpDP,CAAA,EAAA,MAAA,EAAA,GAAA,EOoD+B,EPpD/B,COoDkC,OPpDlC,CAAA,EAAA,EAAA,IAAA,EAAA,CAAA,CAAA,EAAA,MAAA,EAAA,GAAA,MAAA,CAAA,EOoD4E,OPpD5E;;;;AAaE;AAMX;AAWA;iBO4OgB,kBAAA,OACR;;;;iBAUQ,mBAAA,OAA0B,kBAAkB;;;APhKhD,iBOkRI,WAAA,CPlRY,IAAA,EOkRM,ePlRN,CAAA,EAAA;;;EAUhB,SAAA,EAAA,MAAW;;;YO4QuB;;;KAiCzC,GAAA;;EPpSO,EAAA,EAAA,MAAA;KOuSP;KACA;;SAEI;;;AP3RG,iBO+RI,SAAA,CP/RQ,IAAA,EO+RQ,eP/RR,CAAA,EO+R0B,GP/R1B,EAAA;AA8BX,iBOqUG,SAAA,CPrUa,CAAA,EAAA,MAAA,EAS5B,IAAA,EO4T0C,GP5T1C,EAAA,EAAA,IAAA,EO4TuD,eP5TvD,CAAA,EO4TyE,EP5TzE;AAED;AAA2B,iBOuVX,UAAA,CPvVW,CAAA,EAAA,MAAA,EAAA,IAAA,EOuViB,GPvVjB,EAAA,CAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/presets.ts","../src/ffmpeg.ts","../src/plan.ts","../src/camera.ts","../src/validate.ts","../src/render.ts","../src/math.ts"],"sourcesContent":null,"mappings":";;;KAMY,EAAA;;;AAAZ,CAAA;AACY,KAAA,IAAA,GAAI;;EAKJ,CAAA,EAAA,MAAA;;;AAIZ,CAAA;;AAKQ,KATI,UAAA,GASJ,MAAA,GAAA,OAAA,GAAA,QAAA;;;AAeU,KApBN,gBAAA,GAoBM;;EAUN,CAAA,EAAA,MAAA;;;EAIA,GAAA,CAAA,EA7BJ,IA6BI;;;EAUA;;;EAiBA;;;EAUA,IAAA,CAAA,E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