supervision 0.2.5 → 0.2.7
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/depth-preview-probe-DG7McQEN.js +314 -0
- package/dist/depth-preview-probe-DG7McQEN.js.map +1 -0
- package/dist/depth-preview-track-BvgwNEE9.js +612 -0
- package/dist/depth-preview-track-BvgwNEE9.js.map +1 -0
- package/dist/detections/chunked-detection-frame-source.d.ts.map +1 -1
- package/dist/editing.d.ts +1 -1
- package/dist/editing.d.ts.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9845 -4759
- package/dist/index.js.map +1 -1
- package/dist/mask-preparation.worker.js +788 -25
- package/dist/mask-preparation.worker.js.map +1 -1
- package/dist/media/decoder-deadline.d.ts +18 -0
- package/dist/media/decoder-deadline.d.ts.map +1 -0
- package/dist/media/depth-preview-probe.d.ts +65 -0
- package/dist/media/depth-preview-probe.d.ts.map +1 -0
- package/dist/media/depth-preview-track.d.ts +96 -0
- package/dist/media/depth-preview-track.d.ts.map +1 -0
- package/dist/media/media-normalization.d.ts.map +1 -1
- package/dist/media/media-source.d.ts +7 -0
- package/dist/media/media-source.d.ts.map +1 -1
- package/dist/media/mediabunny-frame-clock.d.ts +7 -0
- package/dist/media/mediabunny-frame-clock.d.ts.map +1 -0
- package/dist/media/mediabunny-media-source.d.ts +3 -0
- package/dist/media/mediabunny-media-source.d.ts.map +1 -1
- package/dist/media/track-frame-index.d.ts +14 -0
- package/dist/media/track-frame-index.d.ts.map +1 -0
- package/dist/media/video-engine-media-source.d.ts.map +1 -1
- package/dist/media/video-engine-media-source.js +1 -1
- package/dist/render-preparation/depth/clip-preview.d.ts +41 -0
- package/dist/render-preparation/depth/clip-preview.d.ts.map +1 -0
- package/dist/render-preparation/depth/clip-timing.d.ts +18 -0
- package/dist/render-preparation/depth/clip-timing.d.ts.map +1 -0
- package/dist/render-preparation/depth/clip.d.ts +14 -0
- package/dist/render-preparation/depth/clip.d.ts.map +1 -0
- package/dist/render-preparation/depth/exact-at-rest.d.ts +44 -0
- package/dist/render-preparation/depth/exact-at-rest.d.ts.map +1 -0
- package/dist/render-preparation/depth/exact-playback.d.ts +40 -0
- package/dist/render-preparation/depth/exact-playback.d.ts.map +1 -0
- package/dist/render-preparation/depth/files.d.ts +55 -0
- package/dist/render-preparation/depth/files.d.ts.map +1 -0
- package/dist/render-preparation/depth/frame-decode.d.ts +20 -0
- package/dist/render-preparation/depth/frame-decode.d.ts.map +1 -0
- package/dist/render-preparation/depth/frame-preparer.d.ts +51 -0
- package/dist/render-preparation/depth/frame-preparer.d.ts.map +1 -0
- package/dist/render-preparation/depth/frame-window.d.ts +146 -0
- package/dist/render-preparation/depth/frame-window.d.ts.map +1 -0
- package/dist/render-preparation/depth/options.d.ts +37 -0
- package/dist/render-preparation/depth/options.d.ts.map +1 -0
- package/dist/render-preparation/depth/png16.d.ts +40 -0
- package/dist/render-preparation/depth/png16.d.ts.map +1 -0
- package/dist/render-preparation/depth/preview-luma-copier.d.ts +12 -0
- package/dist/render-preparation/depth/preview-luma-copier.d.ts.map +1 -0
- package/dist/render-preparation/depth/preview-luma.d.ts +48 -0
- package/dist/render-preparation/depth/preview-luma.d.ts.map +1 -0
- package/dist/render-preparation/depth/source.d.ts +123 -0
- package/dist/render-preparation/depth/source.d.ts.map +1 -0
- package/dist/render-preparation/depth/worker-protocol.d.ts +76 -0
- package/dist/render-preparation/depth/worker-protocol.d.ts.map +1 -0
- package/dist/render-preparation/mask-frame-artifact.d.ts +10 -0
- package/dist/render-preparation/mask-frame-artifact.d.ts.map +1 -1
- package/dist/render-preparation/mask-frame-compositor.d.ts +2 -1
- package/dist/render-preparation/mask-frame-compositor.d.ts.map +1 -1
- package/dist/render-preparation/mask-frame-preparer.d.ts.map +1 -1
- package/dist/render-preparation/mask-outline-paths.d.ts +3 -0
- package/dist/render-preparation/mask-outline-paths.d.ts.map +1 -0
- package/dist/render-preparation/mask-preparation-worker-protocol.d.ts +2 -1
- package/dist/render-preparation/mask-preparation-worker-protocol.d.ts.map +1 -1
- package/dist/render-preparation/playhead-motion.d.ts +67 -0
- package/dist/render-preparation/playhead-motion.d.ts.map +1 -0
- package/dist/render-preparation/prepared-render-window.d.ts +12 -0
- package/dist/render-preparation/prepared-render-window.d.ts.map +1 -1
- package/dist/renderers/depth-textures.d.ts +79 -0
- package/dist/renderers/depth-textures.d.ts.map +1 -0
- package/dist/renderers/detection-render-order.d.ts +4 -0
- package/dist/renderers/detection-render-order.d.ts.map +1 -0
- package/dist/renderers/id-mask-stroke-coverage.d.ts +3 -0
- package/dist/renderers/id-mask-stroke-coverage.d.ts.map +1 -0
- package/dist/renderers/media-renderer-core.d.ts.map +1 -1
- package/dist/renderers/media-renderer-scene.d.ts +16 -2
- package/dist/renderers/media-renderer-scene.d.ts.map +1 -1
- package/dist/renderers/pixi-batch-texture-bindings.d.ts +9 -0
- package/dist/renderers/pixi-batch-texture-bindings.d.ts.map +1 -0
- package/dist/renderers/pixi-box-layer.d.ts +1 -0
- package/dist/renderers/pixi-box-layer.d.ts.map +1 -1
- package/dist/renderers/pixi-depth-layer.d.ts +76 -0
- package/dist/renderers/pixi-depth-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-depth-shader.d.ts +76 -0
- package/dist/renderers/pixi-depth-shader.d.ts.map +1 -0
- package/dist/renderers/pixi-focus-layer.d.ts +1 -0
- package/dist/renderers/pixi-focus-layer.d.ts.map +1 -1
- package/dist/renderers/pixi-frame-present.d.ts +1 -0
- package/dist/renderers/pixi-frame-present.d.ts.map +1 -1
- package/dist/renderers/pixi-id-mask-shader.d.ts +1 -0
- package/dist/renderers/pixi-id-mask-shader.d.ts.map +1 -1
- package/dist/renderers/pixi-interaction-layer.d.ts +1 -1
- package/dist/renderers/pixi-interaction-layer.d.ts.map +1 -1
- package/dist/renderers/pixi-interaction-presentation-layer.d.ts +1 -0
- package/dist/renderers/pixi-interaction-presentation-layer.d.ts.map +1 -1
- package/dist/renderers/pixi-mask-brush-preview.d.ts.map +1 -1
- package/dist/renderers/pixi-mask-halo.d.ts +1 -0
- package/dist/renderers/pixi-mask-halo.d.ts.map +1 -1
- package/dist/renderers/pixi-mask-layer.d.ts +8 -2
- package/dist/renderers/pixi-mask-layer.d.ts.map +1 -1
- package/dist/renderers/pixi-mask-screen-stroke.d.ts +17 -0
- package/dist/renderers/pixi-mask-screen-stroke.d.ts.map +1 -0
- package/dist/renderers/pixi-media-scene.d.ts.map +1 -1
- package/dist/renderers/pixi-region-coverage-mask.d.ts +1 -0
- package/dist/renderers/pixi-region-coverage-mask.d.ts.map +1 -1
- package/dist/renderers/pixi-region-layer.d.ts +1 -0
- package/dist/renderers/pixi-region-layer.d.ts.map +1 -1
- package/dist/renderers/pixi-scene-layer-slot.d.ts +1 -0
- package/dist/renderers/pixi-scene-layer-slot.d.ts.map +1 -1
- package/dist/renderers/pixi-vector-layer.d.ts +1 -0
- package/dist/renderers/pixi-vector-layer.d.ts.map +1 -1
- package/dist/renderers/prepared-annotation-window.d.ts +1 -0
- package/dist/renderers/prepared-annotation-window.d.ts.map +1 -1
- package/dist/renderers/render-preparation-report.d.ts +23 -0
- package/dist/renderers/render-preparation-report.d.ts.map +1 -0
- package/dist/sessions/media-session-defaults.d.ts.map +1 -1
- package/dist/sessions/media-session-state.d.ts.map +1 -1
- package/dist/sessions/media-session.d.ts.map +1 -1
- package/dist/tracking.worker.js +64 -0
- package/dist/tracking.worker.js.map +1 -1
- package/dist/types/media-depth.d.ts +55 -0
- package/dist/types/media-depth.d.ts.map +1 -0
- package/dist/types/media-renderer.d.ts +33 -0
- package/dist/types/media-renderer.d.ts.map +1 -1
- package/dist/types/media-session.d.ts +21 -0
- package/dist/types/media-session.d.ts.map +1 -1
- package/dist/types/render-preparation.d.ts +105 -3
- package/dist/types/render-preparation.d.ts.map +1 -1
- package/dist/{video-engine-media-source-DR-x1UfK.js → video-engine-media-source-DOFsuGS4.js} +35 -29
- package/dist/video-engine-media-source-DOFsuGS4.js.map +1 -0
- package/dist/web-video-engine/analysis.js +6 -43
- package/dist/web-video-engine/cache-budget.d.ts +4 -7
- package/dist/web-video-engine/constants.d.ts +3 -4
- package/dist/web-video-engine/create-scrub-cursor.d.ts +1 -0
- package/dist/web-video-engine/decode-resolution-fynpRIAG.js +109 -0
- package/dist/web-video-engine/decode-scheduler.d.ts +1 -0
- package/dist/web-video-engine/engine-core.d.ts +4 -2
- package/dist/web-video-engine/engine.js +8 -6
- package/dist/web-video-engine/engine.worker.js +164 -66
- package/dist/web-video-engine/frame-cache.d.ts +9 -0
- package/dist/web-video-engine/frame-index.d.ts +1 -0
- package/dist/web-video-engine/frame-index.js +97 -0
- package/dist/web-video-engine/{frame-timeline-DreEwsRY.js → frame-timeline-CYgzzmpA.js} +1 -109
- package/dist/web-video-engine/frame-timeline-reader.d.ts +21 -0
- package/dist/web-video-engine/video-engine.d.ts +9 -4
- package/node_modules/supervision-js-core/THIRD_PARTY_NOTICES.md +132 -0
- package/node_modules/supervision-js-core/dist/detections/buffered-detection-timeline.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/index.d.ts +8 -3
- package/node_modules/supervision-js-core/dist/index.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/index.js +1172 -70
- package/node_modules/supervision-js-core/dist/index.js.map +1 -1
- package/node_modules/supervision-js-core/dist/interactions/annotation-editing-engine.d.ts +2 -2
- package/node_modules/supervision-js-core/dist/interactions/annotation-editing-engine.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/interactions/annotation-handles.d.ts +2 -2
- package/node_modules/supervision-js-core/dist/interactions/annotation-handles.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/interactions/detection-picker.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/interactions/viewport-controller.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/styles/annotation-renderer-presentation.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/styles/annotation-renderer-registry.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/annotation-renderer.d.ts +50 -3
- package/node_modules/supervision-js-core/dist/types/annotation-renderer.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/depth-map.d.ts +203 -0
- package/node_modules/supervision-js-core/dist/types/depth-map.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/detections.d.ts +2 -1
- package/node_modules/supervision-js-core/dist/types/detections.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/editing.d.ts +9 -0
- package/node_modules/supervision-js-core/dist/types/editing.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/interaction.d.ts +4 -0
- package/node_modules/supervision-js-core/dist/types/interaction.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/mask-style.d.ts +3 -0
- package/node_modules/supervision-js-core/dist/types/mask-style.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/media-rendering.d.ts +3 -0
- package/node_modules/supervision-js-core/dist/types/media-rendering.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/types/viewport.d.ts +3 -0
- package/node_modules/supervision-js-core/dist/types/viewport.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/utils/depth-color-mapping.d.ts +91 -0
- package/node_modules/supervision-js-core/dist/utils/depth-color-mapping.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/depth-colormap-tables.d.ts +30 -0
- package/node_modules/supervision-js-core/dist/utils/depth-colormap-tables.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/depth-colormaps.d.ts +16 -0
- package/node_modules/supervision-js-core/dist/utils/depth-colormaps.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/depth-manifest.d.ts +23 -0
- package/node_modules/supervision-js-core/dist/utils/depth-manifest.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/depth-readout.d.ts +14 -0
- package/node_modules/supervision-js-core/dist/utils/depth-readout.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/detection-frames.d.ts +21 -0
- package/node_modules/supervision-js-core/dist/utils/detection-frames.d.ts.map +1 -1
- package/node_modules/supervision-js-core/dist/utils/id-mask-frame.d.ts +3 -7
- package/node_modules/supervision-js-core/dist/utils/id-mask-frame.d.ts.map +1 -1
- package/node_modules/supervision-js-core/package.json +2 -1
- package/package.json +6 -1
- package/dist/video-engine-media-source-DR-x1UfK.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../src/types/viewport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,IAAI,iBAAiB,CAAC;IAClC,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC;IACnC,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC;IACnC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC;IAC1E,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,SAAS,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CACzE"}
|
|
1
|
+
{"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../src/types/viewport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,IAAI,iBAAiB,CAAC;IAClC,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC;IACnC,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC;IACnC;;wEAEoE;IACpE,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC;IAC1E,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,SAAS,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CACzE"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { DepthMapKind, DepthQuantity, type DepthCamera, type DepthMap, type DepthRange, type PreviewDepthSamples, type ScaledDepthSamples } from "#types/depth-map";
|
|
2
|
+
/** Percentiles `"auto"` colours between: outliers and flying pixels fall outside. */
|
|
3
|
+
export declare const DEFAULT_DEPTH_PERCENTILE_LOW = 0.02;
|
|
4
|
+
export declare const DEFAULT_DEPTH_PERCENTILE_HIGH = 0.98;
|
|
5
|
+
/** How a depth renderer chooses what it colours; renderer descriptors fit it. */
|
|
6
|
+
export interface DepthColorMappingOptions {
|
|
7
|
+
readonly quantity?: DepthQuantity;
|
|
8
|
+
/**
|
|
9
|
+
* `"clip"` is the map's own display range, `"auto"` this frame's 2nd to
|
|
10
|
+
* 98th percentile, and an object is an explicit range in the quantity's
|
|
11
|
+
* unit. `"clip"` without a display range behaves as `"auto"`.
|
|
12
|
+
*/
|
|
13
|
+
readonly range?: "clip" | "auto" | DepthRange;
|
|
14
|
+
}
|
|
15
|
+
/** The quantity actually coloured, which can differ from the one requested. */
|
|
16
|
+
export interface DepthQuantityResolution {
|
|
17
|
+
readonly quantity: DepthQuantity;
|
|
18
|
+
/** True when the map cannot provide the requested quantity, so disparity is coloured. */
|
|
19
|
+
readonly fellBack: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* How a value in the map kind's unit becomes the coloured quantity:
|
|
23
|
+
* `reciprocal ? numerator / (x + innerOffset) + outerOffset : x`.
|
|
24
|
+
*/
|
|
25
|
+
export interface DepthValueConversion extends DepthQuantityResolution {
|
|
26
|
+
readonly reciprocal: boolean;
|
|
27
|
+
readonly numerator: number;
|
|
28
|
+
readonly innerOffset: number;
|
|
29
|
+
readonly outerOffset: number;
|
|
30
|
+
/** Depth grows away from the camera, so its low end is the near, warm end. */
|
|
31
|
+
readonly nearIsLow: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Everything a depth shader needs besides the samples:
|
|
35
|
+
* `t = clamp((v - lo) / (hi - lo))`, flipped to `1 - t` when `nearIsLow`.
|
|
36
|
+
*/
|
|
37
|
+
export interface DepthColorMapping extends DepthValueConversion {
|
|
38
|
+
readonly lo: number;
|
|
39
|
+
readonly hi: number;
|
|
40
|
+
}
|
|
41
|
+
export interface DepthPercentileRangeOptions {
|
|
42
|
+
/**
|
|
43
|
+
* The renderer's quantity, whose unit the range is in. Defaults to
|
|
44
|
+
* `"disparity"`.
|
|
45
|
+
*/
|
|
46
|
+
readonly quantity?: DepthQuantity;
|
|
47
|
+
/** Lower percentile from 0 to 1. Defaults to 0.02. */
|
|
48
|
+
readonly low?: number;
|
|
49
|
+
/** Upper percentile from 0 to 1. Defaults to 0.98. */
|
|
50
|
+
readonly high?: number;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Metric depth needs a camera to come out of disparity, and relative inverse
|
|
54
|
+
* depth has no metric depth at all, so both fall back to disparity.
|
|
55
|
+
*/
|
|
56
|
+
export declare function resolveDepthQuantity(kind: DepthMapKind, quantity?: DepthQuantity, camera?: DepthCamera): DepthQuantityResolution;
|
|
57
|
+
export declare function resolveDepthValueConversion(map: Pick<DepthMap, "camera" | "kind">, quantity?: DepthQuantity): DepthValueConversion;
|
|
58
|
+
export declare function convertDepthValue(value: number, conversion: DepthValueConversion): number;
|
|
59
|
+
/**
|
|
60
|
+
* Converts a range in the map kind's unit, swapping its bounds under a
|
|
61
|
+
* reciprocal. Null when a bound has no image, such as disparity at or below
|
|
62
|
+
* `-doffsPx` for depth, which would be infinite or negative.
|
|
63
|
+
*/
|
|
64
|
+
export declare function convertDepthRange(range: DepthRange, conversion: DepthValueConversion): DepthRange | null;
|
|
65
|
+
/** The value in the map kind's unit, or null where there is no depth. */
|
|
66
|
+
export declare function decodeDepthSample(stored: number, samples: ScaledDepthSamples | PreviewDepthSamples): number | null;
|
|
67
|
+
/**
|
|
68
|
+
* Steps between the lowest valid preview code and the top one, so one step
|
|
69
|
+
* is `(range.max - range.min) / span`.
|
|
70
|
+
*/
|
|
71
|
+
export declare function depthPreviewSpan(samples: PreviewDepthSamples): number;
|
|
72
|
+
/**
|
|
73
|
+
* This map's own percentile range in the coloured quantity's unit, or null
|
|
74
|
+
* when fewer than 1 % of the samples it reads hold depth.
|
|
75
|
+
*
|
|
76
|
+
* It depends on this map alone, so a frame always gets the same range. Pass
|
|
77
|
+
* the result back as an explicit range to keep colours steady across frames.
|
|
78
|
+
*/
|
|
79
|
+
export declare function computeDepthPercentileRange(map: DepthMap, options?: DepthPercentileRangeOptions): DepthRange | null;
|
|
80
|
+
/**
|
|
81
|
+
* The range a renderer colours between, in the coloured quantity's unit.
|
|
82
|
+
*
|
|
83
|
+
* `autoRange` lets a caller that already computed this map's percentile range
|
|
84
|
+
* skip the histogram. A range that cannot be honoured falls back step by step:
|
|
85
|
+
* the display range to the percentile range, and that to the full range of
|
|
86
|
+
* the valid samples, so a sparse frame still colours what it has.
|
|
87
|
+
*/
|
|
88
|
+
export declare function resolveDepthDisplayRange(map: DepthMap, options: DepthColorMappingOptions, conversion: DepthValueConversion, autoRange?: DepthRange | null): DepthRange;
|
|
89
|
+
/** Resolves a renderer's quantity and range for one map into shader terms. */
|
|
90
|
+
export declare function resolveDepthColorMapping(map: DepthMap, options?: DepthColorMappingOptions, autoRange?: DepthRange | null): DepthColorMapping;
|
|
91
|
+
//# sourceMappingURL=depth-color-mapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depth-color-mapping.d.ts","sourceRoot":"","sources":["../../src/utils/depth-color-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,aAAa,EACb,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACxB,MAAM,kBAAkB,CAAC;AAG1B,qFAAqF;AACrF,eAAO,MAAM,4BAA4B,OAAO,CAAC;AACjD,eAAO,MAAM,6BAA6B,OAAO,CAAC;AAOlD,iFAAiF;AACjF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,aAAa,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAA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;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,UAAU,EACjB,UAAU,EAAE,oBAAoB,GAC/B,UAAU,GAAG,IAAI,CAanB;AAED,yEAAyE;AACzE,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,kBAAkB,GAAG,mBAAmB,GAChD,MAAM,GAAG,IAAI,CAcf;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAErE;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,QAAQ,EACb,OAAO,GAAE,2BAAgC,GACxC,UAAU,GAAG,IAAI,CAwBnB;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,QAAQ,EACb,OAAO,EAAE,wBAAwB,EACjC,UAAU,EAAE,oBAAoB,EAChC,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,GAC5B,UAAU,CA4BZ;AAED,8EAA8E;AAC9E,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,QAAQ,EACb,OAAO,GAAE,wBAA6B,EACtC,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,GAC5B,iBAAiB,CAKnB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Turbo, Anton Mikhailov's published table.
|
|
3
|
+
* Copyright 2019 Google LLC.
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* https://gist.github.com/mikhailov-work/ee72ba4191942acecc03fe6da94fc73f
|
|
6
|
+
*/
|
|
7
|
+
export declare const turboTable: string;
|
|
8
|
+
/*!
|
|
9
|
+
* Viridis, by Stéfan van der Walt, Nathaniel Smith and Eric Firing.
|
|
10
|
+
* Released under CC0: https://github.com/BIDS/colormap
|
|
11
|
+
*/
|
|
12
|
+
export declare const viridisTable: string;
|
|
13
|
+
/*!
|
|
14
|
+
* Cividis, Nuñez, Anderton and Renslow, PLOS ONE 13(7) e0199239 (2018),
|
|
15
|
+
* from https://github.com/pnnl/cmaputil as shipped by matplotlib.
|
|
16
|
+
* Copyright (c) 2017, Battelle Memorial Institute. Redistributed under
|
|
17
|
+
* its BSD-style licence, which asks for this notice to be kept.
|
|
18
|
+
*/
|
|
19
|
+
export declare const cividisTable: string;
|
|
20
|
+
/*!
|
|
21
|
+
* Inferno, by Stéfan van der Walt and Nathaniel Smith.
|
|
22
|
+
* Released under CC0: https://github.com/BIDS/colormap
|
|
23
|
+
*/
|
|
24
|
+
export declare const infernoTable: string;
|
|
25
|
+
/*!
|
|
26
|
+
* Magma, by Stéfan van der Walt and Nathaniel Smith.
|
|
27
|
+
* Released under CC0: https://github.com/BIDS/colormap
|
|
28
|
+
*/
|
|
29
|
+
export declare const magmaTable: string;
|
|
30
|
+
//# sourceMappingURL=depth-colormap-tables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depth-colormap-tables.d.ts","sourceRoot":"","sources":["../../src/utils/depth-colormap-tables.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,eAAO,MAAM,UAAU,QAiBb,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,YAAY,QAiBf,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,YAAY,QAiBf,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,YAAY,QAiBf,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,UAAU,QAiBb,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DepthColormap } from "#types/depth-map";
|
|
2
|
+
export declare const DEPTH_COLORMAP_ENTRIES = 256;
|
|
3
|
+
export declare function isDepthColormap(value: unknown): value is DepthColormap;
|
|
4
|
+
/**
|
|
5
|
+
* The colour table as 256 RGBA8 entries with opaque alpha, far or low values
|
|
6
|
+
* first. Entry `i` is the colour of `t = i / 255`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createDepthColormapLut(name: DepthColormap): Uint8Array;
|
|
9
|
+
/**
|
|
10
|
+
* CSS colours of a depth colormap at `stops` evenly spaced points, far end
|
|
11
|
+
* first and near end last, read from the same table the depth renderer draws
|
|
12
|
+
* with. A legend that matches the picture is
|
|
13
|
+
* `linear-gradient(to right, ${colors.join(", ")})`.
|
|
14
|
+
*/
|
|
15
|
+
export declare function depthColormapColors(colormap: DepthColormap, stops?: number): string[];
|
|
16
|
+
//# sourceMappingURL=depth-colormaps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depth-colormaps.d.ts","sourceRoot":"","sources":["../../src/utils/depth-colormaps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AASjD,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAgB1C,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,aAAa,GAAG,UAAU,CA0BtE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,aAAa,EACvB,KAAK,SAAK,GACT,MAAM,EAAE,CAiBV"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DepthPreviewLevels, type DepthManifest, type DepthMap } from "#types/depth-map";
|
|
2
|
+
export declare const DEPTH_MANIFEST_SCHEMA = "supervision.depth-manifest";
|
|
3
|
+
/**
|
|
4
|
+
* Reads the snake_case `depth.json` a producer writes into a
|
|
5
|
+
* {@link DepthManifest}, and rejects anything a renderer could not honour.
|
|
6
|
+
*
|
|
7
|
+
* Messages name the offending wire field, such as
|
|
8
|
+
* `depth.json: storage.scale must be a positive number`. Unknown fields are
|
|
9
|
+
* ignored so newer producers stay readable.
|
|
10
|
+
*/
|
|
11
|
+
export declare function parseDepthManifest(json: unknown): DepthManifest;
|
|
12
|
+
/**
|
|
13
|
+
* Expands a clip frame pattern for one frame index: `{index}` becomes the
|
|
14
|
+
* plain number and `{index:06}` the number zero-padded to six digits.
|
|
15
|
+
*/
|
|
16
|
+
export declare function resolveDepthFrameFile(pattern: string, index: number): string;
|
|
17
|
+
/**
|
|
18
|
+
* Checks a host-supplied depth map's shape, without reading its sample values.
|
|
19
|
+
*/
|
|
20
|
+
export declare function validateDepthMap(map: DepthMap): void;
|
|
21
|
+
/** The code that stands for the top of a preview's range: 255, or 235 in TV range. */
|
|
22
|
+
export declare function depthPreviewTopCode(levels?: DepthPreviewLevels): number;
|
|
23
|
+
//# sourceMappingURL=depth-manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depth-manifest.d.ts","sourceRoot":"","sources":["../../src/utils/depth-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAIlB,KAAK,aAAa,EAClB,KAAK,QAAQ,EAGd,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,qBAAqB,+BAA+B,CAAC;AAqBlE;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CAmE/D;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAY5E;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,QAAQ,GAAG,IAAI,CAgEpD;AAoID,sFAAsF;AACtF,wBAAgB,mBAAmB,CAAC,MAAM,GAAE,kBAA2B,UAEtE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type DepthMap, type DepthReadout } from "#types/depth-map";
|
|
2
|
+
import type { Point } from "#types/detections";
|
|
3
|
+
/**
|
|
4
|
+
* Reads the depth map pixel under a point.
|
|
5
|
+
*
|
|
6
|
+
* `coordinateSpace` is the size `point` is measured in, normally the media's;
|
|
7
|
+
* the map is stretched over it the way the renderer draws it. Without it the
|
|
8
|
+
* point is in map pixels. Returns null outside the map.
|
|
9
|
+
*/
|
|
10
|
+
export declare function readDepthAt(map: DepthMap, point: Point, coordinateSpace?: {
|
|
11
|
+
readonly width: number;
|
|
12
|
+
readonly height: number;
|
|
13
|
+
}): DepthReadout | null;
|
|
14
|
+
//# sourceMappingURL=depth-readout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depth-readout.d.ts","sourceRoot":"","sources":["../../src/utils/depth-readout.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM/C;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,KAAK,EACZ,eAAe,CAAC,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACpE,YAAY,GAAG,IAAI,CAmErB"}
|
|
@@ -5,6 +5,27 @@ export interface DecodedDetectionMask {
|
|
|
5
5
|
readonly height: number;
|
|
6
6
|
readonly data: Uint8Array;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* A playhead compared by time can arrive perturbed by whatever plane it crossed
|
|
10
|
+
* to get here: a producer that publishes whole milliseconds reports a source
|
|
11
|
+
* frame at 5.033333s as 5.033s, and even an exact producer loses a bit to a
|
|
12
|
+
* seconds-to-milliseconds-and-back trip. A frame starting within that reach may
|
|
13
|
+
* already be on screen while one starting past it cannot.
|
|
14
|
+
*
|
|
15
|
+
* Selection by identity carries none of this, which is why it lives in its own
|
|
16
|
+
* function and not in a smaller number here.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PLAYHEAD_QUANTIZATION_TOLERANCE_SECONDS = 0.0005;
|
|
19
|
+
/**
|
|
20
|
+
* Validates and orders a window without copying it. The frames stay the
|
|
21
|
+
* caller's own objects, which is what a source wants: `DetectionFrame` and its
|
|
22
|
+
* `detections` are both `readonly`, nothing in the library writes to either,
|
|
23
|
+
* and the buffer that receives this window already keeps the objects it
|
|
24
|
+
* recognises and copies only the ones it does not
|
|
25
|
+
* (`reuseBufferedFrameSnapshots`). A source that copies first pays for every
|
|
26
|
+
* frame the buffer is about to discard.
|
|
27
|
+
*/
|
|
28
|
+
export declare function sortedDetectionFrames(detectionFrames: readonly DetectionFrame[] | undefined): DetectionFrame[];
|
|
8
29
|
export declare function copySortedDetectionFrames(detectionFrames: readonly DetectionFrame[] | undefined): DetectionFrame[];
|
|
9
30
|
/**
|
|
10
31
|
* One frame's deep copy, for a caller that already knows which frames it is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detection-frames.d.ts","sourceRoot":"","sources":["../../src/utils/detection-frames.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"detection-frames.d.ts","sourceRoot":"","sources":["../../src/utils/detection-frames.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AASD;;;;;;;;;GASG;AACH,eAAO,MAAM,uCAAuC,SAAS,CAAC;AAE9D;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,SAAS,cAAc,EAAE,GAAG,SAAS,GACrD,cAAc,EAAE,CAMlB;AAED,wBAAgB,yBAAyB,CACvC,eAAe,EAAE,SAAS,cAAc,EAAE,GAAG,SAAS,GACrD,cAAc,EAAE,CAMlB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,cAAc,CAwDxE;AA2FD,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,SAAS,cAAc,EAAE,GACzC,IAAI,CAkON;AAmED,wBAAgB,6BAA6B,CAC3C,eAAe,EAAE,SAAS,cAAc,EAAE,EAC1C,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,GACd,cAAc,EAAE,CAIlB;AAED,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,SAAS,cAAc,EAAE,EAC1C,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,8BAAmC,GAC3C,cAAc,GAAG,SAAS,CAc5B;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,aAAa,GAClB,oBAAoB,CAkCtB;AAiJD,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,cAAc,EACrB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,WAOhB;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,YA4BvD;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,UA0BlE"}
|
|
@@ -31,13 +31,9 @@ export interface IdMaskFrameOptions {
|
|
|
31
31
|
}
|
|
32
32
|
export declare function createIdMaskFrame(instructions: readonly IdMaskInstruction[], options?: IdMaskFrameOptions): IdMaskFrame | undefined;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* own width, which the shader draws as an inner boundary at any scale. The
|
|
38
|
-
* ceiling is the widest neighbourhood the shaders scan, so a wider stroke would
|
|
39
|
-
* be drawn at the ceiling anyway and every layer drawing the same annotation
|
|
40
|
-
* has to arrive at the same width.
|
|
34
|
+
* Converts a source-grid stroke width into raster texels. Fractional widths
|
|
35
|
+
* let coverage shaders draw a border within a texel. The ceiling bounds the
|
|
36
|
+
* neighbourhood the shaders scan.
|
|
41
37
|
*/
|
|
42
38
|
export declare function resolveIdMaskStrokeTexels(strokeWidth: number, maskWidth: number, rasterWidth: number): number;
|
|
43
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-mask-frame.d.ts","sourceRoot":"","sources":["../../src/utils/id-mask-frame.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAChD,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAClD,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IACjD,QAAQ,CAAC,KAAK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AAiB,EAAE,EAC1C,OAAO,GAAE,kBAAuB,GAC/B,WAAW,GAAG,SAAS,CAqFzB;AAsHD;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,UAKpB;AAsCD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,MAAM,sBAM5D;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,YAAY,EACrB,eAAe,EAAE,MAAM,EACvB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,QAQd"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supervision",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Browser-native computer vision media rendering and annotation engine.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"import": "./dist/web-video-engine/analysis.js",
|
|
62
62
|
"default": "./dist/web-video-engine/analysis.js"
|
|
63
63
|
},
|
|
64
|
+
"#web-video-engine/frame-index": {
|
|
65
|
+
"types": "./dist/web-video-engine/frame-index.d.ts",
|
|
66
|
+
"import": "./dist/web-video-engine/frame-index.js",
|
|
67
|
+
"default": "./dist/web-video-engine/frame-index.js"
|
|
68
|
+
},
|
|
64
69
|
"#editing/*": {
|
|
65
70
|
"types": "./dist/editing/*.d.ts",
|
|
66
71
|
"import": "./dist/editing/*.js"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"video-engine-media-source-DR-x1UfK.js","sources":["../src/media/media-errors.ts","../src/media/display-pixel-ratio.ts","../src/media/media-frame-clock.ts","../src/media/engine-import-failure.ts","../src/media/video-engine-media-source.ts"],"sourcesContent":[null,null,null,null,null],"names":[],"mappings":";;AAsBA;;;;;;AAMG;AACH,MAAM,mBAAmB,GAAmD;IA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