pptx-angular-viewer 2.16.0 → 2.17.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.
@@ -25288,6 +25288,37 @@ function getImageFitStyle(el) {
25288
25288
  if (!isImageLikeElement(el)) {
25289
25289
  return uncropped;
25290
25290
  }
25291
+ const { placement, crop } = imageFitTransformParts(el);
25292
+ if (!placement && !crop) {
25293
+ return uncropped;
25294
+ }
25295
+ // Placement first, crop second: transforms compose right-to-left, so the
25296
+ // crop magnifies within the box the placement has already mapped onto the
25297
+ // fill-rect region (translate percentages resolve against the img border
25298
+ // box and are scaled by the preceding placement scale, which is exactly
25299
+ // "percent of the placed width").
25300
+ const transform = [placement, crop].filter(Boolean).join(' ');
25301
+ return {
25302
+ position: 'absolute',
25303
+ width: '100%',
25304
+ height: '100%',
25305
+ maxWidth: 'none',
25306
+ maxHeight: 'none',
25307
+ objectFit: 'fill',
25308
+ transformOrigin: 'top left',
25309
+ transform,
25310
+ };
25311
+ }
25312
+ /** A `translate`/`scale` pair that changes nothing, used to pad a transform. */
25313
+ const IDENTITY_TRANSFORM_PAIR = 'translate(0%, 0%) scale(1, 1)';
25314
+ /**
25315
+ * The two halves of a picture's fit transform: the `a:stretch/a:fillRect`
25316
+ * PLACEMENT and the `a:srcRect` source CROP. Either is `''` when absent.
25317
+ */
25318
+ function imageFitTransformParts(el) {
25319
+ if (!isImageLikeElement(el)) {
25320
+ return { placement: '', crop: '' };
25321
+ }
25291
25322
  // `a:stretch/a:fillRect` stretches the (cropped) image into a sub-rect of
25292
25323
  // the FRAME; negative offsets legitimately push it past the frame edges,
25293
25324
  // and the overflow-hidden frame clips the spill (issue #132 deck, phone
@@ -25300,52 +25331,59 @@ function getImageFitStyle(el) {
25300
25331
  const frRight = el.fillRectRight ?? 0;
25301
25332
  const frBottom = el.fillRectBottom ?? 0;
25302
25333
  const hasFillRect = Math.abs(frLeft) + Math.abs(frTop) + Math.abs(frRight) + Math.abs(frBottom) > 0.0001;
25303
- const placementTransform = hasFillRect
25334
+ const placement = hasFillRect
25304
25335
  ? `translate(${round2(frLeft * 100)}%, ${round2(frTop * 100)}%) scale(${round6(Math.max(0.01, 1 - frLeft - frRight))}, ${round6(Math.max(0.01, 1 - frTop - frBottom))})`
25305
25336
  : '';
25306
25337
  const cropLeft = clampCropValue(el.cropLeft);
25307
25338
  const cropTop = clampCropValue(el.cropTop);
25308
25339
  const cropRight = clampCropValue(el.cropRight);
25309
25340
  const cropBottom = clampCropValue(el.cropBottom);
25310
- const hasCrop = cropLeft + cropRight > 0.0001 || cropTop + cropBottom > 0.0001;
25311
- if (!hasCrop && !hasFillRect) {
25312
- return uncropped;
25313
- }
25314
- let cropTransform = '';
25315
- if (hasCrop) {
25316
- // A crop that swallows (almost) the whole source would divide by ~0
25317
- // below, so the pair is rescaled to leave a 1% sliver rather than
25318
- // producing Infinity.
25319
- const horizontalScale = cropLeft + cropRight >= 0.99 ? 0.99 / (cropLeft + cropRight) : 1;
25320
- const verticalScale = cropTop + cropBottom >= 0.99 ? 0.99 / (cropTop + cropBottom) : 1;
25321
- const left = clampCropValue(cropLeft * horizontalScale);
25322
- const right = clampCropValue(cropRight * horizontalScale);
25323
- const top = clampCropValue(cropTop * verticalScale);
25324
- const bottom = clampCropValue(cropBottom * verticalScale);
25325
- const remainingWidth = Math.max(0.01, 1 - left - right);
25326
- const remainingHeight = Math.max(0.01, 1 - top - bottom);
25327
- const tx = Math.round((-left / remainingWidth) * 10000) / 100;
25328
- const ty = Math.round((-top / remainingHeight) * 10000) / 100;
25329
- const sx = Math.round((1 / remainingWidth) * 1e6) / 1e6;
25330
- const sy = Math.round((1 / remainingHeight) * 1e6) / 1e6;
25331
- cropTransform = `translate(${tx}%, ${ty}%) scale(${sx}, ${sy})`;
25332
- }
25333
- // Placement first, crop second: transforms compose right-to-left, so the
25334
- // crop magnifies within the box the placement has already mapped onto the
25335
- // fill-rect region (translate percentages resolve against the img border
25336
- // box and are scaled by the preceding placement scale, which is exactly
25337
- // "percent of the placed width").
25338
- const transform = [placementTransform, cropTransform].filter(Boolean).join(' ');
25339
- return {
25340
- position: 'absolute',
25341
- width: '100%',
25342
- height: '100%',
25343
- maxWidth: 'none',
25344
- maxHeight: 'none',
25345
- objectFit: 'fill',
25346
- transformOrigin: 'top left',
25347
- transform,
25348
- };
25341
+ if (cropLeft + cropRight <= 0.0001 && cropTop + cropBottom <= 0.0001) {
25342
+ return { placement, crop: '' };
25343
+ }
25344
+ // A crop that swallows (almost) the whole source would divide by ~0
25345
+ // below, so the pair is rescaled to leave a 1% sliver rather than
25346
+ // producing Infinity.
25347
+ const horizontalScale = cropLeft + cropRight >= 0.99 ? 0.99 / (cropLeft + cropRight) : 1;
25348
+ const verticalScale = cropTop + cropBottom >= 0.99 ? 0.99 / (cropTop + cropBottom) : 1;
25349
+ const left = clampCropValue(cropLeft * horizontalScale);
25350
+ const right = clampCropValue(cropRight * horizontalScale);
25351
+ const top = clampCropValue(cropTop * verticalScale);
25352
+ const bottom = clampCropValue(cropBottom * verticalScale);
25353
+ const remainingWidth = Math.max(0.01, 1 - left - right);
25354
+ const remainingHeight = Math.max(0.01, 1 - top - bottom);
25355
+ const tx = Math.round((-left / remainingWidth) * 10000) / 100;
25356
+ const ty = Math.round((-top / remainingHeight) * 10000) / 100;
25357
+ const sx = Math.round((1 / remainingWidth) * 1e6) / 1e6;
25358
+ const sy = Math.round((1 / remainingHeight) * 1e6) / 1e6;
25359
+ return { placement, crop: `translate(${tx}%, ${ty}%) scale(${sx}, ${sy})` };
25360
+ }
25361
+ /**
25362
+ * The `<img>` `transform` that renders a picture's fill-rect placement and
25363
+ * source crop, as one string.
25364
+ *
25365
+ * This is the value {@link getImageFitStyle} puts on the element; it is exposed
25366
+ * separately so the Morph engine can animate BETWEEN two pictures' crops
25367
+ * without re-deriving the maths (issue #148: PowerPoint's "Scale Height" /
25368
+ * "Scale Width" is an `a:srcRect` crop, so a slide pair that differs only in
25369
+ * scale has identical frames and morphed as a hard cut).
25370
+ *
25371
+ * @param el - The picture element.
25372
+ * @param padToIdentity - When true, ALWAYS emits both the placement and the
25373
+ * crop `translate`/`scale` pair, substituting an identity pair where the
25374
+ * element has none. Two pictures then produce the same transform function
25375
+ * list, which is what lets CSS interpolate them function-by-function instead
25376
+ * of decomposing to a matrix (and lets an uncropped end of a pair sit at a
25377
+ * true identity, so the element lands exactly on its static style).
25378
+ * @returns The transform value; `''` only when there is nothing to apply and
25379
+ * `padToIdentity` is false.
25380
+ */
25381
+ function buildImageFitTransform(el, padToIdentity = false) {
25382
+ const { placement, crop } = imageFitTransformParts(el);
25383
+ if (!padToIdentity) {
25384
+ return [placement, crop].filter(Boolean).join(' ');
25385
+ }
25386
+ return `${placement || IDENTITY_TRANSFORM_PAIR} ${crop || IDENTITY_TRANSFORM_PAIR}`;
25349
25387
  }
25350
25388
  /** Round to two decimals for stable CSS percentage output. */
25351
25389
  function round2(value) {
@@ -33896,6 +33934,155 @@ function buildRunEffectStyle(style) {
33896
33934
  return css;
33897
33935
  }
33898
33936
 
33937
+ /**
33938
+ * Per-run advance-width compensation, so the browser breaks lines where
33939
+ * PowerPoint breaks them.
33940
+ *
33941
+ * PowerPoint lays text out with GDI-compatible (hinted) metrics: every glyph
33942
+ * advance is snapped to a whole device pixel at 576 DPI, i.e. to 1/8 point,
33943
+ * i.e. to 1/6 of a CSS px. The browser uses unrounded fractional advances. The
33944
+ * two therefore disagree by up to 1/12 px per glyph, in EITHER direction, and
33945
+ * the accumulated disagreement over a line is what decides a knife-edge wrap.
33946
+ *
33947
+ * Ground truth (PowerPoint COM `TextRange.BoundWidth` over the issue #131 /
33948
+ * #149 deck): summing `round(advance * 6) / 6` per character reproduced all 78
33949
+ * advance-exact measured lines to under 0.001 px, while the browser's own
33950
+ * measurement of the same strings ran anywhere from 1.07% narrow to 0.28% wide.
33951
+ *
33952
+ * That spread is the point. The first attempt at this (issue #131) applied a
33953
+ * flat 0.003em to every run, which is roughly the middle of the range: it
33954
+ * tipped genuinely-late wraps the right way but pushed every string the browser
33955
+ * already measured WIDER than PowerPoint over its column, so short labels that
33956
+ * PowerPoint keeps on one line ("Explore solution", "Secure Data Movement")
33957
+ * started wrapping (issue #149). No single constant can do this job; the
33958
+ * correction has to be derived from the actual characters.
33959
+ *
33960
+ * So: measure the run, compute the width PowerPoint would have measured, and
33961
+ * emit the letter-spacing that closes the gap. Measured end to end in Chromium
33962
+ * (rendered span vs COM ground truth) this leaves a mean error of 0.04 px and a
33963
+ * worst case of 0.37 px, against 0.51 px / 2.06 px uncompensated.
33964
+ */
33965
+ /**
33966
+ * Advance-width quantisation steps per CSS px. PowerPoint snaps each glyph
33967
+ * advance to an integer pixel at 576 DPI = 8 steps per point = 6 steps per px.
33968
+ */
33969
+ const ADVANCE_STEPS_PER_PX = 6;
33970
+ /** Bound the caches so a long editing session cannot grow them without limit. */
33971
+ const MAX_CACHE_ENTRIES = 20000;
33972
+ let measureContext;
33973
+ let advanceCache = new Map();
33974
+ let trackingCache = new Map();
33975
+ let fontsHookInstalled = false;
33976
+ /**
33977
+ * A font that finishes loading after a run was measured invalidates that
33978
+ * measurement (it described the fallback face). Drop the caches so the next
33979
+ * render recomputes against what is now actually painted.
33980
+ */
33981
+ function installFontLoadHook() {
33982
+ if (fontsHookInstalled || typeof document === 'undefined') {
33983
+ return;
33984
+ }
33985
+ fontsHookInstalled = true;
33986
+ document.fonts?.addEventListener?.('loadingdone', () => {
33987
+ advanceCache = new Map();
33988
+ trackingCache = new Map();
33989
+ });
33990
+ }
33991
+ function getMeasureContext() {
33992
+ if (measureContext !== undefined) {
33993
+ return measureContext;
33994
+ }
33995
+ if (typeof document === 'undefined') {
33996
+ measureContext = null;
33997
+ return null;
33998
+ }
33999
+ installFontLoadHook();
34000
+ measureContext = document.createElement('canvas').getContext('2d');
34001
+ return measureContext;
34002
+ }
34003
+ /** CSS shorthand for `CanvasRenderingContext2D.font`. */
34004
+ function toCanvasFont(font) {
34005
+ const size = font.fontSizePx && font.fontSizePx > 0 ? font.fontSizePx : DEFAULT_TEXT_FONT_SIZE;
34006
+ const family = font.fontFamily || DEFAULT_FONT_FAMILY$1;
34007
+ return `${font.italic ? 'italic ' : ''}${font.bold ? 'bold ' : ''}${size}px ${family}`;
34008
+ }
34009
+ function advanceOf(ctx, canvasFont, char) {
34010
+ const key = `${canvasFont}\u0000${char}`;
34011
+ const cached = advanceCache.get(key);
34012
+ if (cached !== undefined) {
34013
+ return cached;
34014
+ }
34015
+ ctx.font = canvasFont;
34016
+ const width = ctx.measureText(char).width;
34017
+ if (advanceCache.size >= MAX_CACHE_ENTRIES) {
34018
+ advanceCache = new Map();
34019
+ }
34020
+ advanceCache.set(key, width);
34021
+ return width;
34022
+ }
34023
+ /**
34024
+ * The letter-spacing (in CSS px) that makes `text` render at the width
34025
+ * PowerPoint measured it at. `0` when there is nothing to correct, no DOM to
34026
+ * measure with, or the correction came out implausible.
34027
+ *
34028
+ * The divisor is the character count, not the gap count: every engine adds the
34029
+ * spacing after the final character too, and that trailing gap is part of the
34030
+ * inline box the line breaker sees. Being wrong about that convention would
34031
+ * cost one unit of tracking (~0.04 px), well inside the tolerance here.
34032
+ *
34033
+ * The result needs no sanity clamp: snapping to a grid moves a glyph by at most
34034
+ * half a step, so the tracking can never exceed 1/12 px per character however
34035
+ * odd the font is. That is imperceptible by construction, which is the whole
34036
+ * reason this can be done with `letter-spacing` at all.
34037
+ */
34038
+ function resolveMetricTrackingPx(text, font) {
34039
+ if (!text) {
34040
+ return 0;
34041
+ }
34042
+ const canvasFont = toCanvasFont(font);
34043
+ const key = `${canvasFont}\u0000${text}`;
34044
+ const cached = trackingCache.get(key);
34045
+ if (cached !== undefined) {
34046
+ return cached;
34047
+ }
34048
+ const ctx = getMeasureContext();
34049
+ if (!ctx) {
34050
+ return 0;
34051
+ }
34052
+ const chars = [...text];
34053
+ ctx.font = canvasFont;
34054
+ const natural = ctx.measureText(text).width;
34055
+ if (!(natural > 0)) {
34056
+ return 0;
34057
+ }
34058
+ let powerPoint = 0;
34059
+ for (const char of chars) {
34060
+ powerPoint += Math.round(advanceOf(ctx, canvasFont, char) * ADVANCE_STEPS_PER_PX);
34061
+ }
34062
+ powerPoint /= ADVANCE_STEPS_PER_PX;
34063
+ const tracking = (powerPoint - natural) / chars.length;
34064
+ if (trackingCache.size >= MAX_CACHE_ENTRIES) {
34065
+ trackingCache = new Map();
34066
+ }
34067
+ trackingCache.set(key, tracking);
34068
+ return tracking;
34069
+ }
34070
+ /**
34071
+ * {@link resolveMetricTrackingPx} as a CSS length, or `undefined` when the run
34072
+ * needs no correction (so callers can leave `letter-spacing` undeclared rather
34073
+ * than emitting a no-op `0px`).
34074
+ */
34075
+ function resolveMetricTracking(text, font) {
34076
+ const tracking = resolveMetricTrackingPx(text, font);
34077
+ return tracking === 0 ? undefined : `${tracking}px`;
34078
+ }
34079
+ /** Test hook: forget every measurement (also used by the font-load listener). */
34080
+ function resetMetricTrackingCache() {
34081
+ advanceCache = new Map();
34082
+ trackingCache = new Map();
34083
+ measureContext = undefined;
34084
+ }
34085
+
33899
34086
  /**
33900
34087
  * Per-run inline-style builder for rendered text runs (framework-agnostic).
33901
34088
  *
@@ -33909,23 +34096,22 @@ const PX_PER_POINT = 96 / 72;
33909
34096
  /** Super/subscript glyphs render at ~65% of the run font size (matches React). */
33910
34097
  const BASELINE_FONT_SCALE = 0.65;
33911
34098
  /**
33912
- * Flat tracking (in em) every run carries so the browser wraps lines where
33913
- * PowerPoint does.
34099
+ * Combine the authored `a:rPr/@spc` character spacing with the measured
34100
+ * PowerPoint metric compensation into one `letter-spacing`, or leave it
34101
+ * undeclared when neither applies.
33914
34102
  *
33915
- * PowerPoint measures text with GDI-compatible (hinted) metrics, which run
33916
- * consistently wider than the browser's fractional advances: COM `BoundWidth`
33917
- * ground truth on the issue #131 deck puts every Arial line 0.4-0.6% wider
33918
- * than Chrome measures the same string, so the browser squeezes one more word
33919
- * onto a knife-edge line than PowerPoint and the paragraph wraps a word late.
33920
- * Solving that deck's slides 5/13/14 for the tracking that reproduces every
33921
- * PowerPoint break point gives the window (0.0019em, 0.0104em); 0.003em sits
33922
- * inside it and matches the measured metric gap. At a 10px font this is
33923
- * 0.03px per glyph: far below anything visible, but enough to tip knife-edge
33924
- * fits the way PowerPoint tips them.
34103
+ * The compensation is derived from the run's own characters
34104
+ * (`resolveMetricTracking`); an earlier attempt used one flat constant for
34105
+ * every run and regressed short labels that PowerPoint keeps on one line
34106
+ * (issue #149).
33925
34107
  */
33926
- const POWERPOINT_METRIC_TRACKING_EM = 0.003;
33927
- /** {@link POWERPOINT_METRIC_TRACKING_EM} as the CSS length every run gets. */
33928
- const POWERPOINT_METRIC_TRACKING = `${POWERPOINT_METRIC_TRACKING_EM}em`;
34108
+ function resolveLetterSpacing(s, text, font) {
34109
+ const authored = typeof s.characterSpacing === 'number' && s.characterSpacing !== 0
34110
+ ? (s.characterSpacing / 100) * PX_PER_POINT
34111
+ : 0;
34112
+ const spacing = authored + resolveMetricTrackingPx(text, font);
34113
+ return spacing === 0 ? undefined : `${spacing}px`;
34114
+ }
33929
34115
  /**
33930
34116
  * Layer the "extra" run properties that neither the boolean decoration set nor
33931
34117
  * `buildRunEffectStyle` cover: character spacing, super/subscript baseline
@@ -33933,14 +34119,10 @@ const POWERPOINT_METRIC_TRACKING = `${POWERPOINT_METRIC_TRACKING_EM}em`;
33933
34119
  * and `a:rPr/@cap` caps. Mirrors React's `renderSingleSegment` span style so the
33934
34120
  * shared builder (Vue / Angular / Svelte / Vanilla) reaches run-prop parity.
33935
34121
  */
33936
- function applyExtraRunProps(style, s) {
33937
- // Character spacing (`a:rPr/@spc`, hundredths of a point) → letter-spacing px,
33938
- // layered on top of the metric-compensation tracking every run carries.
33939
- if (typeof s.characterSpacing === 'number' && s.characterSpacing !== 0) {
33940
- style.letterSpacing = `calc(${(s.characterSpacing / 100) * PX_PER_POINT}px + ${POWERPOINT_METRIC_TRACKING})`;
33941
- }
33942
- else {
33943
- style.letterSpacing = POWERPOINT_METRIC_TRACKING;
34122
+ function applyExtraRunProps(style, s, text, font) {
34123
+ const letterSpacing = resolveLetterSpacing(s, text, font);
34124
+ if (letterSpacing !== undefined) {
34125
+ style.letterSpacing = letterSpacing;
33944
34126
  }
33945
34127
  // Kerning (`a:rPr/@kern`): 0 disables kerning, any other value enables it.
33946
34128
  if (typeof s.kerning === 'number') {
@@ -33970,15 +34152,7 @@ function applyExtraRunProps(style, s) {
33970
34152
  style.fontVariantCaps = 'small-caps';
33971
34153
  }
33972
34154
  }
33973
- /**
33974
- * Per-run inline style derived from a TextSegment's style.
33975
- *
33976
- * `fontScale` is the body's `a:normAutofit/@fontScale` (see
33977
- * `resolveAutoFitFontScale`). It has to be applied HERE and not only on the
33978
- * text body, because a run that authors its own `sz` overrides the body's
33979
- * font-size, so scaling the body alone left every authored run at full size.
33980
- */
33981
- function segmentStyleToCss(seg, fontScale = 1) {
34155
+ function segmentStyleToCss(seg, fontScale = 1, context = {}) {
33982
34156
  const s = seg.style ?? {};
33983
34157
  const style = {};
33984
34158
  if (s.fontFamily) {
@@ -34028,7 +34202,18 @@ function segmentStyleToCss(seg, fontScale = 1) {
34028
34202
  if (deco.length > 0) {
34029
34203
  style.textDecoration = deco.join(' ');
34030
34204
  }
34031
- applyExtraRunProps(style, s);
34205
+ // The font the run will actually paint with: its own declarations where it
34206
+ // made them, the body's where it did not. Bold and italic are always the
34207
+ // run's own (both are declared unconditionally just above).
34208
+ const runFont = {
34209
+ fontFamily: style.fontFamily ?? context.blockFont?.fontFamily,
34210
+ fontSizePx: typeof style.fontSize === 'string'
34211
+ ? Number.parseFloat(style.fontSize)
34212
+ : context.blockFont?.fontSizePx,
34213
+ bold: Boolean(s.bold),
34214
+ italic: Boolean(s.italic),
34215
+ };
34216
+ applyExtraRunProps(style, s, context.text ?? seg.text ?? '', runFont);
34032
34217
  return style;
34033
34218
  }
34034
34219
  /**
@@ -34187,6 +34372,15 @@ function buildParagraphs(element, fieldContext, segmentOverrides) {
34187
34372
  // `a:normAutofit/@fontScale`: applied to every authored run size below, since
34188
34373
  // a run's own `sz` overrides the (already scaled) body font-size.
34189
34374
  const fontScale = resolveAutoFitFontScale(element.textStyle);
34375
+ // What a run that declares no font of its own inherits from the text body.
34376
+ // Only used to measure the run for its PowerPoint metric compensation, so it
34377
+ // mirrors what `buildTextBlockStyle` declares on the block itself.
34378
+ const blockFont = {
34379
+ fontFamily: element.textStyle?.fontFamily
34380
+ ? getSubstituteFontFamily(element.textStyle.fontFamily)
34381
+ : DEFAULT_FONT_FAMILY$1,
34382
+ fontSizePx: (element.textStyle?.fontSize || DEFAULT_TEXT_FONT_SIZE) * fontScale,
34383
+ };
34190
34384
  const paragraphIndents = element.paragraphIndents;
34191
34385
  const grouped = [
34192
34386
  { paraSegments: [] },
@@ -34223,7 +34417,7 @@ function buildParagraphs(element, fieldContext, segmentOverrides) {
34223
34417
  ? substituteFieldText(rawText, seg.fieldType, fieldContext)
34224
34418
  : rawText;
34225
34419
  if (text) {
34226
- const style = segmentStyleToCss(seg, fontScale);
34420
+ const style = segmentStyleToCss(seg, fontScale, { text, blockFont });
34227
34421
  applyUnderlineVariant(style, seg);
34228
34422
  // Per-run text effects (gradient/pattern fill, outer/inner shadow,
34229
34423
  // 3D extrusion text-shadow, blur, HSL, alpha opacity, glow,
@@ -35001,6 +35195,123 @@ function generateGeometryMorphAnimation(pair, durationMs, pairIndex, steps = GEO
35001
35195
  };
35002
35196
  }
35003
35197
 
35198
+ /** Crop/placement insets are fractions of the source; 0.0001 is ~0.01%. */
35199
+ const CROP_EPSILON = 0.0001;
35200
+ /** The eight inset fractions that together decide what a picture paints. */
35201
+ function cropInsets(element) {
35202
+ if (!isImageLikeElement(element)) {
35203
+ return [0, 0, 0, 0, 0, 0, 0, 0];
35204
+ }
35205
+ return [
35206
+ element.cropLeft ?? 0,
35207
+ element.cropTop ?? 0,
35208
+ element.cropRight ?? 0,
35209
+ element.cropBottom ?? 0,
35210
+ element.fillRectLeft ?? 0,
35211
+ element.fillRectTop ?? 0,
35212
+ element.fillRectRight ?? 0,
35213
+ element.fillRectBottom ?? 0,
35214
+ ];
35215
+ }
35216
+ /**
35217
+ * Whether a matched pair's pictures show a DIFFERENT region of their source.
35218
+ *
35219
+ * This is a geometry change, not an appearance change: PowerPoint zooms
35220
+ * smoothly between the two crops rather than dissolving one into the other, so
35221
+ * callers must not route it through the crossfade path.
35222
+ */
35223
+ function morphImageCropChanged(fromElement, toElement) {
35224
+ if (!isImageLikeElement(fromElement) || !isImageLikeElement(toElement)) {
35225
+ return false;
35226
+ }
35227
+ const from = cropInsets(fromElement);
35228
+ const to = cropInsets(toElement);
35229
+ return from.some((value, index) => Math.abs(value - to[index]) > CROP_EPSILON);
35230
+ }
35231
+ /**
35232
+ * Keyframes that carry a picture's `<img>` from one crop to another.
35233
+ *
35234
+ * `transform-origin` is restated because the uncropped end of a pair has no
35235
+ * static transform at all (and therefore the CSS default origin); pinning both
35236
+ * frames to `top left` is what makes the two transforms describe the same
35237
+ * mapping. It is harmless on the final frame, where an uncropped incoming
35238
+ * picture sits at a pure identity transform.
35239
+ */
35240
+ function cropKeyframes(name, fromTransform, toTransform) {
35241
+ return `
35242
+ @keyframes ${name} {
35243
+ \tfrom {
35244
+ \t\ttransform-origin: top left;
35245
+ \t\ttransform: ${fromTransform};
35246
+ \t}
35247
+ \tto {
35248
+ \t\ttransform-origin: top left;
35249
+ \t\ttransform: ${toTransform};
35250
+ \t}
35251
+ }`;
35252
+ }
35253
+ /**
35254
+ * The INCOMING half of every pair whose picture crop changed.
35255
+ *
35256
+ * Keyed by the incoming element id and targeted at its `<img>`, matching the
35257
+ * FLIP model the rest of the engine uses: the incoming picture is rendered at
35258
+ * its final crop and started at the outgoing one's.
35259
+ *
35260
+ * @param pairs - Matched pairs.
35261
+ * @param durationMs - Animation duration in milliseconds.
35262
+ * @returns One descriptor per pair whose crop actually changed.
35263
+ */
35264
+ function generateImageCropMorphAnimations(pairs, durationMs) {
35265
+ const animations = [];
35266
+ for (let index = 0; index < pairs.length; index++) {
35267
+ const { fromElement, toElement } = pairs[index];
35268
+ if (!morphImageCropChanged(fromElement, toElement)) {
35269
+ continue;
35270
+ }
35271
+ const safeName = `pptx-morph-crop-${index}-${toElement.id.replace(/[^a-zA-Z0-9]/gu, '')}`;
35272
+ animations.push({
35273
+ elementId: toElement.id,
35274
+ target: 'image',
35275
+ animation: `${safeName} ${durationMs}ms ${MORPH_EASING} forwards`,
35276
+ keyframes: cropKeyframes(safeName, buildImageFitTransform(fromElement, true), buildImageFitTransform(toElement, true)),
35277
+ });
35278
+ }
35279
+ return animations;
35280
+ }
35281
+ /**
35282
+ * The OUTGOING half: the same zoom on a ghost the overlay is painting.
35283
+ *
35284
+ * Restricted to the ghost set for the same reason the element-level ghosts are:
35285
+ * an outgoing shape the overlay does not paint has no node to animate, and
35286
+ * `buildMorphTransitionPlan` derives the overlay's element list from the
35287
+ * outgoing animations.
35288
+ *
35289
+ * @param pairs - Matched pairs.
35290
+ * @param durationMs - Animation duration in milliseconds.
35291
+ * @param ghostIds - Outgoing ids the overlay will paint; defaults to "all".
35292
+ * @returns One descriptor per painted ghost whose crop changed.
35293
+ */
35294
+ function generateImageCropGhostAnimations(pairs, durationMs, ghostIds) {
35295
+ const animations = [];
35296
+ for (let index = 0; index < pairs.length; index++) {
35297
+ const { fromElement, toElement } = pairs[index];
35298
+ if (ghostIds && !ghostIds.has(fromElement.id)) {
35299
+ continue;
35300
+ }
35301
+ if (!morphImageCropChanged(fromElement, toElement)) {
35302
+ continue;
35303
+ }
35304
+ const safeName = `pptx-morph-crop-ghost-${index}-${fromElement.id.replace(/[^a-zA-Z0-9]/gu, '')}`;
35305
+ animations.push({
35306
+ elementId: fromElement.id,
35307
+ target: 'image',
35308
+ animation: `${safeName} ${durationMs}ms ${MORPH_EASING} forwards`,
35309
+ keyframes: cropKeyframes(safeName, buildImageFitTransform(fromElement, true), buildImageFitTransform(toElement, true)),
35310
+ });
35311
+ }
35312
+ return animations;
35313
+ }
35314
+
35004
35315
  /** Depth cap for the recursive text read; real decks never nest this far. */
35005
35316
  const TEXT_MAX_DEPTH = 8;
35006
35317
  /**
@@ -35748,9 +36059,15 @@ const GEOMETRY_EPSILON = 0.5;
35748
36059
  * Most of a Morph deck is inert - the authoring pattern is to duplicate a slide
35749
36060
  * and restyle one thing, so 26 of 32 pairs on this deck's transitions are
35750
36061
  * untouched - which makes what we do with them the dominant visual effect.
36062
+ *
36063
+ * A picture's SOURCE CROP counts here even though it moves no box: PowerPoint's
36064
+ * "Scale Height"/"Scale Width" is an `a:srcRect` crop inside an unchanged frame,
36065
+ * so a picture rescaled between two slides compares equal on every other axis
36066
+ * and would otherwise be skipped entirely (issue #148).
35751
36067
  */
35752
36068
  function isInertMorphPair(fromElement, toElement) {
35753
- return (Math.abs(fromElement.x - toElement.x) <= GEOMETRY_EPSILON &&
36069
+ return (!morphImageCropChanged(fromElement, toElement) &&
36070
+ Math.abs(fromElement.x - toElement.x) <= GEOMETRY_EPSILON &&
35754
36071
  Math.abs(fromElement.y - toElement.y) <= GEOMETRY_EPSILON &&
35755
36072
  Math.abs(fromElement.width - toElement.width) <= GEOMETRY_EPSILON &&
35756
36073
  Math.abs(fromElement.height - toElement.height) <= GEOMETRY_EPSILON &&
@@ -36229,6 +36546,11 @@ function generateFullMorphTransition(fromSlide, toSlide, durationMs, mode = 'obj
36229
36546
  allAnimations.push(geo);
36230
36547
  }
36231
36548
  }
36549
+ // Picture crop morph: a pair whose `a:srcRect` changed zooms its source
36550
+ // region inside an otherwise unchanged frame (PowerPoint's "Scale
36551
+ // Height"/"Scale Width"). This rides the element's `<img>`, not its
36552
+ // container, so it is additive to whatever the pair does above.
36553
+ allAnimations.push(...generateImageCropMorphAnimations(matchResult.pairs, durationMs));
36232
36554
  // Generate text morph animations for text-bearing matched pairs
36233
36555
  if (mode === 'word' || mode === 'character') {
36234
36556
  for (let i = 0; i < matchResult.pairs.length; i++) {
@@ -36242,6 +36564,9 @@ function generateFullMorphTransition(fromSlide, toSlide, durationMs, mode = 'obj
36242
36564
  // Outgoing half of every restyled pair's crossfade.
36243
36565
  const ghosts = generateMorphGhostAnimations(matchResult.pairs, durationMs, pairAnims.length, ghostIds);
36244
36566
  allAnimations.push(...ghosts);
36567
+ // The same zoom on the painted ghosts, so a crop change that IS crossfading
36568
+ // dissolves from the region the outgoing slide actually showed.
36569
+ allAnimations.push(...generateImageCropGhostAnimations(matchResult.pairs, durationMs, ghostIds));
36245
36570
  // Generate fade-out for unmatched from elements
36246
36571
  const fadeOuts = generateUnmatchedFadeOutAnimations(matchResult.unmatchedFrom, durationMs, pairAnims.length + ghosts.length);
36247
36572
  allAnimations.push(...fadeOuts);
@@ -36307,15 +36632,23 @@ function buildMorphTransitionPlan(fromSlide, toSlide, durationMs, mode = 'object
36307
36632
  const outgoingIds = new Set(flattenedOutgoing.map((element) => element.id));
36308
36633
  const incomingAnimations = new Map();
36309
36634
  const outgoingAnimations = new Map();
36635
+ const incomingImageAnimations = new Map();
36636
+ const outgoingImageAnimations = new Map();
36310
36637
  const keyframes = [];
36311
36638
  for (const animation of animations) {
36312
36639
  keyframes.push(animation.keyframes);
36313
- if (outgoingIds.has(animation.elementId)) {
36314
- outgoingAnimations.set(animation.elementId, animation.animation);
36315
- }
36316
- else {
36317
- incomingAnimations.set(animation.elementId, animation.animation);
36318
- }
36640
+ const isOutgoing = outgoingIds.has(animation.elementId);
36641
+ // An `image`-targeted animation rides the `<img>` inside the element, so
36642
+ // it goes in its own map: it shares an element id with the container
36643
+ // animation and would otherwise overwrite it.
36644
+ const target = animation.target === 'image'
36645
+ ? isOutgoing
36646
+ ? outgoingImageAnimations
36647
+ : incomingImageAnimations
36648
+ : isOutgoing
36649
+ ? outgoingAnimations
36650
+ : incomingAnimations;
36651
+ target.set(animation.elementId, animation.animation);
36319
36652
  }
36320
36653
  // An outgoing shape with no animation is one whose ghost the engine dropped
36321
36654
  // as redundant: its live counterpart draws the same thing along the same
@@ -36328,6 +36661,8 @@ function buildMorphTransitionPlan(fromSlide, toSlide, durationMs, mode = 'object
36328
36661
  keyframesCss: keyframes.join('\n'),
36329
36662
  incomingAnimations,
36330
36663
  outgoingAnimations,
36664
+ incomingImageAnimations,
36665
+ outgoingImageAnimations,
36331
36666
  outgoingElements,
36332
36667
  durationMs,
36333
36668
  };
@@ -36356,13 +36691,38 @@ function cssAttributeValue(value) {
36356
36691
  * @returns Keyframes plus the scoped `animation` rules, ready to inject.
36357
36692
  */
36358
36693
  function buildMorphScopedCss(plan, scopeAttribute, which = 'incoming') {
36359
- const animations = which === 'incoming' ? plan.incomingAnimations : plan.outgoingAnimations;
36694
+ return `${plan.keyframesCss}\n${buildMorphAnimationRules(plan, scopeAttribute, which)}`;
36695
+ }
36696
+ /**
36697
+ * Just the `animation` rules of a plan, with no `@keyframes` block.
36698
+ *
36699
+ * For a binding that already injects {@link MorphTransitionPlan.keyframesCss}
36700
+ * itself and applies the element-level animations some other way (React merges
36701
+ * them into its per-element animation state), but still needs the descendant
36702
+ * rules that {@link MorphTransitionPlan.incomingImageAnimations} cannot be
36703
+ * expressed as an inline style for.
36704
+ *
36705
+ * @param plan - The plan to render.
36706
+ * @param scopeAttribute - As {@link buildMorphScopedCss}.
36707
+ * @param which - Which half of the transition to emit.
36708
+ * @param only - `'image'` emits only the `<img>` descendant rules; omit for all.
36709
+ * @returns The newline-joined rules (no trailing newline); `''` when there are none.
36710
+ */
36711
+ function buildMorphAnimationRules(plan, scopeAttribute, which = 'incoming', only) {
36360
36712
  const prefix = scopeAttribute ? `[${scopeAttribute}] ` : '';
36361
36713
  const rules = [];
36362
- for (const [elementId, animation] of animations) {
36363
- rules.push(`${prefix}[data-element-id="${cssAttributeValue(elementId)}"] { animation: ${animation}; }`);
36714
+ const emit = (animations, suffix) => {
36715
+ for (const [elementId, animation] of animations) {
36716
+ rules.push(`${prefix}[data-element-id="${cssAttributeValue(elementId)}"]${suffix} { animation: ${animation}; }`);
36717
+ }
36718
+ };
36719
+ if (only !== 'image') {
36720
+ emit(which === 'incoming' ? plan.incomingAnimations : plan.outgoingAnimations, '');
36364
36721
  }
36365
- return `${plan.keyframesCss}\n${rules.join('\n')}`;
36722
+ // The picture-crop channel targets the `<img>` the element renders, which
36723
+ // every binding draws inside the `data-element-id` container.
36724
+ emit(which === 'incoming' ? plan.incomingImageAnimations : plan.outgoingImageAnimations, ' img');
36725
+ return rules.join('\n');
36366
36726
  }
36367
36727
 
36368
36728
  /**
@@ -55467,6 +55827,20 @@ function applyMediaPlaybackAttributes(el, source) {
55467
55827
  el.volume = attributes.volume;
55468
55828
  el.playbackRate = attributes.playbackRate;
55469
55829
  }
55830
+ /**
55831
+ * Derive a {@link MediaSurface} from the two flags a binding's renderer carries.
55832
+ *
55833
+ * "Neither interactive nor presenting" is what a STILL of a slide looks like
55834
+ * from inside an element renderer, and all four declarative bindings had spelt
55835
+ * that out by hand - twice each, once per shared media rule. Deriving it once
55836
+ * keeps a binding from quietly answering the two rules differently.
55837
+ */
55838
+ function mediaSurfaceOf(input) {
55839
+ return {
55840
+ presenting: input.presenting,
55841
+ preview: !input.interactive && !input.presenting,
55842
+ };
55843
+ }
55470
55844
  /**
55471
55845
  * Whether a media element should carry the browser's native transport.
55472
55846
  *
@@ -55485,6 +55859,115 @@ function mediaTransportVisible(surface) {
55485
55859
  }
55486
55860
  return surface.canvasTransport;
55487
55861
  }
55862
+ /**
55863
+ * What a media element paints when it has no playable source.
55864
+ *
55865
+ * WHY this is shared (issue #147): a slide-transition overlay is a STILL of the
55866
+ * outgoing slide, and React's overlay renders it without the media map, so a
55867
+ * full-bleed background video fell back to its poster frame AND to the centred
55868
+ * play badge that goes with it. The badge is authoring chrome, not slide
55869
+ * content, so `solution-explorer.pptx` played a mystery play triangle across
55870
+ * the middle of every morph out of slide 2 - which is exactly what the reporter
55871
+ * caught at 11s. The same class of artefact was one map away in the other four:
55872
+ * their typed "Media" placeholder box is chrome too, and it paints on any still
55873
+ * whose media cannot resolve.
55874
+ *
55875
+ * The rule: a still of a slide - and the show itself - paints slide CONTENT and
55876
+ * nothing else. Only the authoring canvas adds the affordance that says "this
55877
+ * picture is a video you cannot play here".
55878
+ *
55879
+ * `badge` and `placeholder` are unions rather than booleans on purpose. As
55880
+ * booleans, four bindings read "paint a badge" and drew a PLAY triangle over
55881
+ * media the package had failed to find - the opposite of what React said in the
55882
+ * same spot. A union cannot be half-read.
55883
+ */
55884
+ function mediaFallbackVisual(surface, input) {
55885
+ const contentOnly = surface.presenting || surface.preview;
55886
+ if (contentOnly) {
55887
+ return { poster: input.hasPoster, dimPoster: false, badge: 'none', placeholder: 'none' };
55888
+ }
55889
+ const missing = input.missing === true;
55890
+ // The badge is an overlay ON a poster; with no poster the placeholder box
55891
+ // carries the same icon itself, so exactly one of the two is ever set.
55892
+ if (input.hasPoster) {
55893
+ return {
55894
+ poster: true,
55895
+ dimPoster: missing,
55896
+ badge: missing ? 'missing' : 'play',
55897
+ placeholder: 'none',
55898
+ };
55899
+ }
55900
+ return {
55901
+ poster: false,
55902
+ dimPoster: false,
55903
+ badge: 'none',
55904
+ placeholder: missing ? 'missing' : 'typed',
55905
+ };
55906
+ }
55907
+ /**
55908
+ * The icons the fallback draws, as SVG path `d` strings in a 24x24 `viewBox`,
55909
+ * stroked with `currentColor` over `fill: none`.
55910
+ *
55911
+ * Paths rather than each binding's own `<circle>` / `<polygon>` / `<line>` mix:
55912
+ * one array renders identically through JSX, a Vue/Svelte `for`, an Angular
55913
+ * `@for` and a DOM loop, so the five icons cannot drift apart.
55914
+ */
55915
+ const MEDIA_FALLBACK_ICONS = {
55916
+ play: ['M5 3 L19 12 L5 21 Z'],
55917
+ missing: ['M12 2 a10 10 0 1 0 0 20 a10 10 0 1 0 0-20', 'M4 4 L20 20'],
55918
+ audio: [
55919
+ 'M9 18V5l12-2v13',
55920
+ 'M6 15 a3 3 0 1 0 0 6 a3 3 0 1 0 0-6',
55921
+ 'M18 13 a3 3 0 1 0 0 6 a3 3 0 1 0 0-6',
55922
+ ],
55923
+ };
55924
+ /**
55925
+ * The icon for a resolved {@link MediaFallbackVisual}, or `[]` when the surface
55926
+ * asks for none. An untyped placeholder gets no icon, as React has always done:
55927
+ * the deck never said whether it is a clip or a track.
55928
+ */
55929
+ function mediaFallbackIcon(visual, mediaType) {
55930
+ if (visual.badge === 'missing' || visual.placeholder === 'missing') {
55931
+ return MEDIA_FALLBACK_ICONS.missing;
55932
+ }
55933
+ if (visual.badge === 'play') {
55934
+ return MEDIA_FALLBACK_ICONS.play;
55935
+ }
55936
+ if (visual.placeholder === 'typed') {
55937
+ if (mediaType === 'audio') {
55938
+ return MEDIA_FALLBACK_ICONS.audio;
55939
+ }
55940
+ if (mediaType === 'video') {
55941
+ return MEDIA_FALLBACK_ICONS.play;
55942
+ }
55943
+ }
55944
+ return [];
55945
+ }
55946
+ /**
55947
+ * The i18n key labelling a resolved {@link MediaFallbackVisual}, or `undefined`
55948
+ * when it carries no label (the play badge is a bare triangle).
55949
+ *
55950
+ * Shared because the five disagreed: React hard-coded the English words "Video"
55951
+ * and "Audio" - untranslated, in a package that ships four locales - while the
55952
+ * other four labelled every unplayable element the same flat "Media", whatever
55953
+ * the deck said it was.
55954
+ */
55955
+ function mediaFallbackLabelKey(visual, mediaType) {
55956
+ if (visual.badge === 'missing' || visual.placeholder === 'missing') {
55957
+ return 'pptx.media.notFound';
55958
+ }
55959
+ if (visual.placeholder !== 'typed') {
55960
+ return undefined;
55961
+ }
55962
+ if (mediaType === 'video') {
55963
+ return 'pptx.media.videoClip';
55964
+ }
55965
+ if (mediaType === 'audio') {
55966
+ return 'pptx.media.audioClip';
55967
+ }
55968
+ return 'pptx.elementType.media';
55969
+ }
55970
+ const MEDIA_CHROME_ATTRIBUTE = 'data-pptx-media-chrome';
55488
55971
 
55489
55972
  /**
55490
55973
  * Persistent audio manager: keeps "play across slides" audio alive when the
@@ -63911,7 +64394,7 @@ function createLocalStorageBackend(namespace) {
63911
64394
  /** Try IndexedDB first; fall back to localStorage on any failure. */
63912
64395
  async function resolveBackend(dbName, namespace) {
63913
64396
  try {
63914
- const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-DldhOh3e.mjs');
64397
+ const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-hwk7tPwT.mjs');
63915
64398
  const db = await openChatDb(dbName);
63916
64399
  return createIdbBackend(db);
63917
64400
  }
@@ -75917,6 +76400,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
75917
76400
  * `media-render.tsx` / `media-persistent-audio.tsx`. Kept TestBed-free so the
75918
76401
  * source resolution + media-fragment maths can be unit-tested directly.
75919
76402
  */
76403
+ /** Which surface {@link MediaRendererComponent} is painting on. */
76404
+ function mediaSurfaceFor(interactive, presenting) {
76405
+ return mediaSurfaceOf({ interactive, presenting });
76406
+ }
76407
+ /**
76408
+ * What the template paints when no `<video>`/`<audio>` can be mounted.
76409
+ *
76410
+ * A still of a slide - the slide-transition overlay, the presenter console's
76411
+ * panes, the thumbnail rail - gets the poster frame and nothing else: the play
76412
+ * badge and the typed placeholder box are authoring chrome, and issue #147 is
76413
+ * exactly that chrome riding along inside a morph. Factored out of the template
76414
+ * so its `@if`s can be asserted without a TestBed, as this package does
76415
+ * elsewhere (see `action-settings-panel.component.test.ts`).
76416
+ */
76417
+ function mediaFallbackFor(el, hasPoster, surface) {
76418
+ return mediaFallbackVisual(surface, {
76419
+ hasPoster,
76420
+ missing: asMediaElement(el)?.mediaMissing === true,
76421
+ });
76422
+ }
75920
76423
  /** Narrow a generic element to `MediaPptxElement`, or `undefined`. */
75921
76424
  function asMediaElement(el) {
75922
76425
  return el.type === 'media' ? el : undefined;
@@ -76109,12 +76612,35 @@ class MediaRendererComponent {
76109
76612
  * for the same reason). React paints one on its canvas; that difference is
76110
76613
  * deliberate and is the only thing the shared rule leaves to the binding.
76111
76614
  */
76112
- showControls = computed(() => mediaTransportVisible({
76113
- presenting: this.presenting(),
76114
- preview: !this.interactive() && !this.presenting(),
76115
- canvasTransport: false,
76116
- }), /* @ts-ignore */
76615
+ showControls = computed(() => mediaTransportVisible({ ...this.surface(), canvasTransport: false }), /* @ts-ignore */
76117
76616
  ...(ngDevMode ? [{ debugName: "showControls" }] : /* istanbul ignore next */ []));
76617
+ /**
76618
+ * Which surface this renderer is painting on: the live show stage, a STILL of
76619
+ * a slide (the transition overlay, the presenter console's panes, the
76620
+ * thumbnail rail), or the authoring canvas.
76621
+ */
76622
+ surface = computed(() => mediaSurfaceFor(this.interactive(), this.presenting()), /* @ts-ignore */
76623
+ ...(ngDevMode ? [{ debugName: "surface" }] : /* istanbul ignore next */ []));
76624
+ /**
76625
+ * What to paint when no `<video>`/`<audio>` can be mounted.
76626
+ *
76627
+ * A still of a slide - the slide-transition overlay, the presenter console's
76628
+ * panes, the thumbnail rail - gets the poster frame and nothing else: the
76629
+ * play badge and the typed placeholder box are authoring chrome, and issue
76630
+ * #147 is exactly that chrome riding along inside a morph. Shared, so the
76631
+ * five bindings cannot drift on it.
76632
+ */
76633
+ fallback = computed(() => mediaFallbackFor(this.element(), Boolean(this.poster()), this.surface()), /* @ts-ignore */
76634
+ ...(ngDevMode ? [{ debugName: "fallback" }] : /* istanbul ignore next */ []));
76635
+ /** The shared icon paths and resolved label for whatever the fallback is. */
76636
+ fallbackIcon = computed(() => mediaFallbackIcon(this.fallback(), this.mediaKind()), /* @ts-ignore */
76637
+ ...(ngDevMode ? [{ debugName: "fallbackIcon" }] : /* istanbul ignore next */ []));
76638
+ translate = inject(TranslateService);
76639
+ fallbackLabel = computed(() => {
76640
+ const key = mediaFallbackLabelKey(this.fallback(), this.mediaKind());
76641
+ return key === undefined ? '' : this.translate.instant(key);
76642
+ }, /* @ts-ignore */
76643
+ ...(ngDevMode ? [{ debugName: "fallbackLabel" }] : /* istanbul ignore next */ []));
76118
76644
  containerStyle = computed(() => getContainerStyle(this.element(), this.zIndex()), /* @ts-ignore */
76119
76645
  ...(ngDevMode ? [{ debugName: "containerStyle" }] : /* istanbul ignore next */ []));
76120
76646
  /** Poster / preview frame data-URL (also used as the `<video poster>`). */
@@ -76181,22 +76707,57 @@ class MediaRendererComponent {
76181
76707
  }
76182
76708
  </video>
76183
76709
  }
76184
- } @else if (poster(); as posterSrc) {
76710
+ } @else if (fallback().poster && poster(); as posterSrc) {
76185
76711
  @if (clrChangeParams(); as cc) {
76186
76712
  <pptx-color-changed-image
76187
76713
  [src]="posterSrc"
76188
76714
  [clrChange]="cc"
76189
76715
  alt=""
76190
- imgClass="pptx-ng-img"
76716
+ [imgClass]="fallback().dimPoster ? 'pptx-ng-img pptx-ng-media-dim' : 'pptx-ng-img'"
76191
76717
  />
76192
76718
  } @else {
76193
- <img [src]="posterSrc" alt="" class="pptx-ng-img" />
76719
+ <img
76720
+ [src]="posterSrc"
76721
+ alt=""
76722
+ class="pptx-ng-img"
76723
+ [class.pptx-ng-media-dim]="fallback().dimPoster"
76724
+ />
76194
76725
  }
76195
- } @else {
76196
- <div class="pptx-ng-placeholder">{{ placeholderLabel() }}</div>
76726
+ <!-- Authoring-canvas chrome only; data-pptx-media-chrome is the neutral
76727
+ marker e2e/media-transition-chrome.spec.ts asserts the absence of. -->
76728
+ @if (fallback().badge !== 'none') {
76729
+ <div
76730
+ [attr.data-pptx-media-chrome]="fallback().badge"
76731
+ class="pptx-ng-media-badge"
76732
+ [class.pptx-ng-media-badge-missing]="fallback().badge === 'missing'"
76733
+ >
76734
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
76735
+ @for (d of fallbackIcon(); track d) {
76736
+ <path [attr.d]="d" />
76737
+ }
76738
+ </svg>
76739
+ @if (fallback().badge === 'missing') {
76740
+ <span>{{ fallbackLabel() }}</span>
76741
+ }
76742
+ </div>
76743
+ }
76744
+ } @else if (fallback().placeholder !== 'none') {
76745
+ <div
76746
+ class="pptx-ng-placeholder pptx-ng-media-placeholder"
76747
+ [attr.data-pptx-media-chrome]="fallback().placeholder"
76748
+ >
76749
+ @if (fallbackIcon().length > 0) {
76750
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
76751
+ @for (d of fallbackIcon(); track d) {
76752
+ <path [attr.d]="d" />
76753
+ }
76754
+ </svg>
76755
+ }
76756
+ <span>{{ fallbackLabel() }}</span>
76757
+ </div>
76197
76758
  }
76198
76759
  </div>
76199
- `, isInline: true, styles: [".pptx-ng-media-el{display:block;pointer-events:auto}.pptx-ng-media-video{width:100%;height:100%;object-fit:contain}.pptx-ng-media-audio{width:100%}.pptx-ng-media-inert{pointer-events:none}.pptx-ng-img{width:100%;height:100%;object-fit:contain;display:block}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ColorChangedImageComponent, selector: "pptx-color-changed-image", inputs: ["src", "clrChange", "alt", "imgClass", "imgStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76760
+ `, isInline: true, styles: [".pptx-ng-media-el{display:block;pointer-events:auto}.pptx-ng-media-video{width:100%;height:100%;object-fit:contain}.pptx-ng-media-audio{width:100%}.pptx-ng-media-inert{pointer-events:none}.pptx-ng-img{width:100%;height:100%;object-fit:contain;display:block}.pptx-ng-media-dim{opacity:.5}.pptx-ng-media-badge{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#fffc;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));pointer-events:none}.pptx-ng-media-badge svg{width:48px;height:48px}.pptx-ng-media-badge-missing{color:#fff9}.pptx-ng-media-badge-missing svg{width:32px;height:32px}.pptx-ng-media-placeholder{flex-direction:column;gap:4px;font-size:10px}.pptx-ng-media-placeholder svg{width:32px;height:32px}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ColorChangedImageComponent, selector: "pptx-color-changed-image", inputs: ["src", "clrChange", "alt", "imgClass", "imgStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76200
76761
  }
76201
76762
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: MediaRendererComponent, decorators: [{
76202
76763
  type: Component,
@@ -76241,22 +76802,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
76241
76802
  }
76242
76803
  </video>
76243
76804
  }
76244
- } @else if (poster(); as posterSrc) {
76805
+ } @else if (fallback().poster && poster(); as posterSrc) {
76245
76806
  @if (clrChangeParams(); as cc) {
76246
76807
  <pptx-color-changed-image
76247
76808
  [src]="posterSrc"
76248
76809
  [clrChange]="cc"
76249
76810
  alt=""
76250
- imgClass="pptx-ng-img"
76811
+ [imgClass]="fallback().dimPoster ? 'pptx-ng-img pptx-ng-media-dim' : 'pptx-ng-img'"
76251
76812
  />
76252
76813
  } @else {
76253
- <img [src]="posterSrc" alt="" class="pptx-ng-img" />
76814
+ <img
76815
+ [src]="posterSrc"
76816
+ alt=""
76817
+ class="pptx-ng-img"
76818
+ [class.pptx-ng-media-dim]="fallback().dimPoster"
76819
+ />
76254
76820
  }
76255
- } @else {
76256
- <div class="pptx-ng-placeholder">{{ placeholderLabel() }}</div>
76821
+ <!-- Authoring-canvas chrome only; data-pptx-media-chrome is the neutral
76822
+ marker e2e/media-transition-chrome.spec.ts asserts the absence of. -->
76823
+ @if (fallback().badge !== 'none') {
76824
+ <div
76825
+ [attr.data-pptx-media-chrome]="fallback().badge"
76826
+ class="pptx-ng-media-badge"
76827
+ [class.pptx-ng-media-badge-missing]="fallback().badge === 'missing'"
76828
+ >
76829
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
76830
+ @for (d of fallbackIcon(); track d) {
76831
+ <path [attr.d]="d" />
76832
+ }
76833
+ </svg>
76834
+ @if (fallback().badge === 'missing') {
76835
+ <span>{{ fallbackLabel() }}</span>
76836
+ }
76837
+ </div>
76838
+ }
76839
+ } @else if (fallback().placeholder !== 'none') {
76840
+ <div
76841
+ class="pptx-ng-placeholder pptx-ng-media-placeholder"
76842
+ [attr.data-pptx-media-chrome]="fallback().placeholder"
76843
+ >
76844
+ @if (fallbackIcon().length > 0) {
76845
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
76846
+ @for (d of fallbackIcon(); track d) {
76847
+ <path [attr.d]="d" />
76848
+ }
76849
+ </svg>
76850
+ }
76851
+ <span>{{ fallbackLabel() }}</span>
76852
+ </div>
76257
76853
  }
76258
76854
  </div>
76259
- `, styles: [".pptx-ng-media-el{display:block;pointer-events:auto}.pptx-ng-media-video{width:100%;height:100%;object-fit:contain}.pptx-ng-media-audio{width:100%}.pptx-ng-media-inert{pointer-events:none}.pptx-ng-img{width:100%;height:100%;object-fit:contain;display:block}\n"] }]
76855
+ `, styles: [".pptx-ng-media-el{display:block;pointer-events:auto}.pptx-ng-media-video{width:100%;height:100%;object-fit:contain}.pptx-ng-media-audio{width:100%}.pptx-ng-media-inert{pointer-events:none}.pptx-ng-img{width:100%;height:100%;object-fit:contain;display:block}.pptx-ng-media-dim{opacity:.5}.pptx-ng-media-badge{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#fffc;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));pointer-events:none}.pptx-ng-media-badge svg{width:48px;height:48px}.pptx-ng-media-badge-missing{color:#fff9}.pptx-ng-media-badge-missing svg{width:32px;height:32px}.pptx-ng-media-placeholder{flex-direction:column;gap:4px;font-size:10px}.pptx-ng-media-placeholder svg{width:32px;height:32px}\n"] }]
76260
76856
  }], ctorParameters: () => [], propDecorators: { element: [{ type: i0.Input, args: [{ isSignal: true, alias: "element", required: true }] }], mediaDataUrls: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaDataUrls", required: false }] }], zIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "zIndex", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], marked: [{ type: i0.Input, args: [{ isSignal: true, alias: "marked", required: false }] }], presenting: [{ type: i0.Input, args: [{ isSignal: true, alias: "presenting", required: false }] }], placeholderLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholderLabel", required: false }] }], mediaElRef: [{ type: i0.ViewChild, args: ['mediaEl', { isSignal: true }] }] } });
76261
76857
 
76262
76858
  /**
@@ -87412,9 +88008,30 @@ class PresentationInputController {
87412
88008
  deps;
87413
88009
  /** Digit buffer backing PowerPoint's "type a slide number, then Enter" jump. */
87414
88010
  keyBuffer = createPresentationKeyBuffer();
88011
+ /** Partial wheel charge, so one trackpad flick is one slide step. */
88012
+ wheelBuffer = createWheelStepBuffer();
87415
88013
  constructor(deps) {
87416
88014
  this.deps = deps;
87417
88015
  }
88016
+ /**
88017
+ * Document-level wheel handling while a show runs: PowerPoint advances on
88018
+ * wheel-down and goes back on wheel-up. Inert while editing, where the
88019
+ * viewport scrolls natively.
88020
+ */
88021
+ handleWheel(event) {
88022
+ if (!acceptsPresentationInput()) {
88023
+ return;
88024
+ }
88025
+ const mapped = mapPresentationWheel(event, this.wheelBuffer);
88026
+ if (mapped.intent === 'next-slide') {
88027
+ event.preventDefault();
88028
+ this.deps.navigator.navigate('next');
88029
+ }
88030
+ else if (mapped.intent === 'previous-slide') {
88031
+ event.preventDefault();
88032
+ this.deps.navigator.navigate('prev');
88033
+ }
88034
+ }
87418
88035
  /** Document-level key handling, so no focusable element is required. */
87419
88036
  handleKeyDown(event) {
87420
88037
  if (!acceptsPresentationInput()) {
@@ -89197,6 +89814,14 @@ class PresentationOverlayComponent {
89197
89814
  * CSS overlay. `emitClosed()` is itself guarded against double-firing, so it
89198
89815
  * is safe if our own close flow *also* triggers this event.
89199
89816
  */
89817
+ /**
89818
+ * PowerPoint navigates a running show on the wheel: down advances, up goes
89819
+ * back. This overlay only exists while a show runs, so no extra mode gate is
89820
+ * needed - the same reason its key handling lives here.
89821
+ */
89822
+ onWheel(event) {
89823
+ this.input.handleWheel(event);
89824
+ }
89200
89825
  onFullscreenChange() {
89201
89826
  if (hasExitedFullscreen(typeof document === 'undefined' ? null : document)) {
89202
89827
  this.emitClosed();
@@ -89289,7 +89914,7 @@ class PresentationOverlayComponent {
89289
89914
  this.closed.emit();
89290
89915
  }
89291
89916
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: PresentationOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
89292
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: PresentationOverlayComponent, isStandalone: true, selector: "pptx-presentation-overlay", inputs: { slides: { classPropertyName: "slides", publicName: "slides", isSignal: true, isRequired: true, transformFunction: null }, canvasSize: { classPropertyName: "canvasSize", publicName: "canvasSize", isSignal: true, isRequired: true, transformFunction: null }, mediaDataUrls: { classPropertyName: "mediaDataUrls", publicName: "mediaDataUrls", isSignal: true, isRequired: false, transformFunction: null }, startIndex: { classPropertyName: "startIndex", publicName: "startIndex", isSignal: true, isRequired: false, transformFunction: null }, showWithAnimation: { classPropertyName: "showWithAnimation", publicName: "showWithAnimation", isSignal: true, isRequired: false, transformFunction: null }, useTimings: { classPropertyName: "useTimings", publicName: "useTimings", isSignal: true, isRequired: false, transformFunction: null }, subtitlesVisible: { classPropertyName: "subtitlesVisible", publicName: "subtitlesVisible", isSignal: true, isRequired: false, transformFunction: null }, sessionEnded: { classPropertyName: "sessionEnded", publicName: "sessionEnded", isSignal: true, isRequired: false, transformFunction: null }, endWithBlackSlide: { classPropertyName: "endWithBlackSlide", publicName: "endWithBlackSlide", isSignal: true, isRequired: false, transformFunction: null }, presenterMode: { classPropertyName: "presenterMode", publicName: "presenterMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { indexChange: "indexChange", closed: "closed", subtitlesChange: "subtitlesChange", presenterViewToggle: "presenterViewToggle", annotationsExit: "annotationsExit" }, host: { listeners: { "document:fullscreenchange": "onFullscreenChange()", "window:resize": "onWindowResize()", "document:keydown": "onKeyDown($event)" } }, providers: [AnimationPlaybackService, PresentationAnnotationsService, ZoomNavigationService], viewQueries: [{ propertyName: "stageRef", first: true, predicate: ["stage"], descendants: true, isSignal: true }, { propertyName: "rootRef", first: true, predicate: ["root"], descendants: true, isSignal: true }], ngImport: i0, template: "<div #root class=\"pptx-ng-presentation-root\">\n\t<!--\n\t\tSlide counter, rendered first in DOM (before slide content) so a\n\t\tgeneric \"N / M\" text query resolves to it rather than to any slide-text\n\t\trun that happens to read like \"24 / 7\". Position is fixed, so DOM order\n\t\tdoes not affect its on-screen placement.\n\t-->\n\t<span class=\"pptx-ng-presentation-counter\" [ngStyle]=\"counterStyle\">\n\t\t{{ counterLabel() }}\n\t</span>\n\n\t<!-- Black \"End of slide show\" screen: the show has run past its last\n\t slide. It MUST be visible - while it is up the next input either\n\t goes nowhere (backward) or ends the show (forward), so a deck that\n\t kept painting the last slide looked stuck and swallowed advances. -->\n\t@if (endOfShow()) {\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"pptx-ng-presentation-end\"\n\t\t\tdata-pptx-end-of-show\n\t\t\t(click)=\"onEndScreenClick($event)\"\n\t\t>\n\t\t\t<span>{{ 'pptx.presentation.endOfSlideShow' | translate }}</span>\n\t\t</button>\n\t}\n\n\t<div\n\t\t#stage\n\t\tclass=\"pptx-ng-presentation-stage\"\n\t\t[ngStyle]=\"stageContainerStyle()\"\n\t\t(click)=\"onBodyClick($event)\"\n\t\t(mouseover)=\"onStageHover($event)\"\n\t\t(mouseout)=\"onStageHoverEnd($event)\"\n\t\t(contextmenu)=\"$event.preventDefault()\"\n\t>\n\t\t<pptx-slide-canvas\n\t\t\t[slide]=\"currentSlide()\"\n\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t[mediaDataUrls]=\"mediaDataUrls()\"\n\t\t\t[zoom]=\"zoom()\"\n\t\t\t[autoFit]=\"false\"\n\t\t\t[interactive]=\"false\"\n\t\t\t[presenting]=\"true\"\n\t\t/>\n\n\t\t@if (activeTransition(); as t) {\n\t\t\t<pptx-presentation-transition-overlay\n\t\t\t\t[outgoingSlide]=\"t.outgoing\"\n\t\t\t\t[incomingSlide]=\"currentSlide()\"\n\t\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t\t[transition]=\"t.transition\"\n\t\t\t\t[mediaDataUrls]=\"mediaDataUrls()\"\n\t\t\t\t[zoom]=\"zoom()\"\n\t\t\t\t(complete)=\"activeTransition.set(null)\"\n\t\t\t/>\n\t\t}\n\n\t\t<!-- Ink annotation overlay (pen/highlighter/eraser/laser). Ctrl+M\n\t\t hides the markup without discarding the strokes. The host carries\n\t\t the shared blackboard z-index so strokes stay visible ABOVE the\n\t\t blackout sheet while the screen is blanked (the stage no longer\n\t\t creates a stacking context, see stageContainerStyle). -->\n\t\t@if (inkMarkupVisible()) {\n\t\t\t<pptx-presentation-annotation-overlay\n\t\t\t\tdata-pptx-annotation-overlay\n\t\t\t\t[style.z-index]=\"annotationOverlayZ()\"\n\t\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t\t[zoom]=\"zoom()\"\n\t\t\t/>\n\t\t}\n\t</div>\n\t@if (presenterWindow.snapshot().blackout !== 'none') {\n\t\t<div\n\t\t\tclass=\"presenter-blank\"\n\t\t\tdata-pptx-blackout\n\t\t\t[style.background]=\"presenterWindow.snapshot().blackout\"\n\t\t></div>\n\t}\n\t@if (presenterWindow.snapshot().pointer?.tool === 'laser') {\n\t\t<div\n\t\t\tclass=\"presenter-laser\"\n\t\t\t[style.left.%]=\"(presenterWindow.snapshot().pointer?.x ?? 0.5) * 100\"\n\t\t\t[style.top.%]=\"(presenterWindow.snapshot().pointer?.y ?? 0.5) * 100\"\n\t\t></div>\n\t}\n\t@if (presenterWindow.snapshot().subtitlesVisible && presenterWindow.snapshot().caption) {\n\t\t<div class=\"presenter-caption\">{{ presenterWindow.snapshot().caption }}</div>\n\t}\n\n\t<!-- Live-caption (subtitle) bar. -->\n\t<pptx-presentation-subtitle-bar [visible]=\"subtitlesVisible()\" />\n\n\t<!--\n\t\tTouch-only chrome (close button, edge arrows, counter pill). The\n\t\tcomponent stylesheet hides all three unless the device has a coarse\n\t\tpointer, matching React's `PresentationTouchControls`: on a desktop they\n\t\tduplicate the toolbar above and put a SECOND slide counter on screen.\n\n\t\tRendered BEFORE the show toolbar, as React renders its touch controls,\n\t\tbecause both carry the same accessible names (\"Next Slide\", \"Previous\n\t\tSlide\", \"End Presentation\"). On a coarse pointer the toolbar's copies are\n\t\tstill in the DOM but inert (`pointer-events: none`), so whichever comes\n\t\tfirst is what a by-name lookup - a screen reader's, or a spec's `.first()`\n\t\t- resolves to. With the toolbar first, every such lookup landed on a\n\t\tbutton no user could press: it reported itself visible and enabled, and\n\t\tthe tap was swallowed by the overlay. Position is fixed on all of these,\n\t\tso moving them in the DOM does not move them on screen.\n\t-->\n\t<!-- Always-visible close button (top-right, safe-area aware). -->\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-close\"\n\t\t[ngStyle]=\"closeButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'close')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'close')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.endPresentation' | translate\"\n\t>\n\t\t<svg lucideX class=\"h-5 w-5\"></svg>\n\t</button>\n\n\t<!-- Edge navigation buttons (vertically centred, touch-friendly). -->\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-nav pptx-ng-presentation-prev\"\n\t\t[ngStyle]=\"prevButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'prev')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'prev')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.previousSlide' | translate\"\n\t>\n\t\t<svg lucideChevronLeft class=\"h-6 w-6\"></svg>\n\t</button>\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-nav pptx-ng-presentation-next\"\n\t\t[ngStyle]=\"nextButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'next')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'next')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.nextSlide' | translate\"\n\t>\n\t\t<svg lucideChevronRight class=\"h-6 w-6\"></svg>\n\t</button>\n\n\t<!--\n\t\tThe show toolbar (bottom-centre, auto-hiding): navigation, counter,\n\t\telapsed time, annotation tools, presenter view and end-show, per\n\t\t`PRESENT_TOOLBAR_CONTROLS` in pptx-viewer-shared.\n\t-->\n\t<pptx-presentation-toolbar\n\t\t[currentSlideIndex]=\"currentIndex()\"\n\t\t[totalSlides]=\"slides().length\"\n\t\t[presentationStartTime]=\"showStartedAt\"\n\t\t[presenterMode]=\"presenterMode()\"\n\t\t(move)=\"navigator.navigate($event === 1 ? 'next' : 'prev')\"\n\t\t(presenterViewToggle)=\"presenterViewToggle.emit()\"\n\t\t(endPresentation)=\"onToolbarEnd()\"\n\t/>\n</div>\n", styles: [":host{display:block;position:fixed;inset:0;z-index:10000;background:#000;cursor:pointer;-webkit-user-select:none;user-select:none}.pptx-ng-presentation-root{position:absolute;inset:0;touch-action:pan-y}.pptx-ng-presentation-close:hover,.pptx-ng-presentation-nav:hover{background:#000000bf}@media not all and (any-pointer:coarse){.pptx-ng-presentation-close,.pptx-ng-presentation-nav,.pptx-ng-presentation-counter{display:none!important}}.presenter-blank{position:absolute;inset:0;z-index:75;pointer-events:none}.pptx-ng-presentation-end{position:absolute;inset:0;z-index:90;display:flex;align-items:flex-start;border:0;padding:0;background:#000;text-align:left;cursor:default}.pptx-ng-presentation-end span{padding:.75rem 1rem;color:#ffffffb3;font-size:12px}.presenter-laser{position:absolute;z-index:76;width:20px;height:20px;transform:translate(-50%,-50%);border-radius:50%;background:#ef4444;box-shadow:0 0 20px 8px #ef444488;pointer-events:none}.presenter-caption{position:absolute;z-index:77;left:10%;right:10%;bottom:2rem;padding:.75rem 1.5rem;border-radius:.5rem;background:#000c;color:#fff;text-align:center;font-size:1.25rem;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SlideCanvasComponent, selector: "pptx-slide-canvas", inputs: ["slide", "canvasSize", "mediaDataUrls", "zoom", "editable", "showGrid", "showRulers", "rulerUnit", "showGuides", "snapToGrid", "snapToShape", "guideCommand", "spellCheck", "snapToGuides", "autoFit", "transparentBackground", "interactive", "presenting", "selectedIds", "editingId", "editTemplateMode", "templateElements", "aiHighlights", "aiActive", "aiActiveSlideIndex", "aiChangeBatch", "aiPickMode", "drawTool", "drawColor", "drawWidth"], outputs: ["elementSelect", "backgroundClick", "transformStart", "transformUpdate", "contextMenu", "textEditStart", "textCommit", "textInput", "textCancel", "textFormat", "rotateUpdate", "marqueeSelect", "inkStrokeComplete", "eraserHit", "cellCommit", "tableChange"] }, { kind: "component", type: PresentationTransitionOverlayComponent, selector: "pptx-presentation-transition-overlay", inputs: ["outgoingSlide", "canvasSize", "transition", "templateElements", "mediaDataUrls", "durationMs", "zoom", "incomingSlide"], outputs: ["complete"] }, { kind: "component", type: PresentationAnnotationOverlayComponent, selector: "pptx-presentation-annotation-overlay", inputs: ["canvasSize", "zoom"] }, { kind: "component", type: PresentationSubtitleBarComponent, selector: "pptx-presentation-subtitle-bar", inputs: ["visible"] }, { kind: "component", type: PresentationToolbarComponent, selector: "pptx-presentation-toolbar", inputs: ["currentSlideIndex", "totalSlides", "presentationStartTime", "presenterMode"], outputs: ["move", "endPresentation", "presenterViewToggle"] }, { kind: "component", type: LucideX, selector: "svg[lucideX]" }, { kind: "component", type: LucideChevronLeft, selector: "svg[lucideChevronLeft]" }, { kind: "component", type: LucideChevronRight, selector: "svg[lucideChevronRight]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
89917
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: PresentationOverlayComponent, isStandalone: true, selector: "pptx-presentation-overlay", inputs: { slides: { classPropertyName: "slides", publicName: "slides", isSignal: true, isRequired: true, transformFunction: null }, canvasSize: { classPropertyName: "canvasSize", publicName: "canvasSize", isSignal: true, isRequired: true, transformFunction: null }, mediaDataUrls: { classPropertyName: "mediaDataUrls", publicName: "mediaDataUrls", isSignal: true, isRequired: false, transformFunction: null }, startIndex: { classPropertyName: "startIndex", publicName: "startIndex", isSignal: true, isRequired: false, transformFunction: null }, showWithAnimation: { classPropertyName: "showWithAnimation", publicName: "showWithAnimation", isSignal: true, isRequired: false, transformFunction: null }, useTimings: { classPropertyName: "useTimings", publicName: "useTimings", isSignal: true, isRequired: false, transformFunction: null }, subtitlesVisible: { classPropertyName: "subtitlesVisible", publicName: "subtitlesVisible", isSignal: true, isRequired: false, transformFunction: null }, sessionEnded: { classPropertyName: "sessionEnded", publicName: "sessionEnded", isSignal: true, isRequired: false, transformFunction: null }, endWithBlackSlide: { classPropertyName: "endWithBlackSlide", publicName: "endWithBlackSlide", isSignal: true, isRequired: false, transformFunction: null }, presenterMode: { classPropertyName: "presenterMode", publicName: "presenterMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { indexChange: "indexChange", closed: "closed", subtitlesChange: "subtitlesChange", presenterViewToggle: "presenterViewToggle", annotationsExit: "annotationsExit" }, host: { listeners: { "document:wheel": "onWheel($event)", "document:fullscreenchange": "onFullscreenChange()", "window:resize": "onWindowResize()", "document:keydown": "onKeyDown($event)" } }, providers: [AnimationPlaybackService, PresentationAnnotationsService, ZoomNavigationService], viewQueries: [{ propertyName: "stageRef", first: true, predicate: ["stage"], descendants: true, isSignal: true }, { propertyName: "rootRef", first: true, predicate: ["root"], descendants: true, isSignal: true }], ngImport: i0, template: "<div #root class=\"pptx-ng-presentation-root\">\n\t<!--\n\t\tSlide counter, rendered first in DOM (before slide content) so a\n\t\tgeneric \"N / M\" text query resolves to it rather than to any slide-text\n\t\trun that happens to read like \"24 / 7\". Position is fixed, so DOM order\n\t\tdoes not affect its on-screen placement.\n\t-->\n\t<span class=\"pptx-ng-presentation-counter\" [ngStyle]=\"counterStyle\">\n\t\t{{ counterLabel() }}\n\t</span>\n\n\t<!-- Black \"End of slide show\" screen: the show has run past its last\n\t slide. It MUST be visible - while it is up the next input either\n\t goes nowhere (backward) or ends the show (forward), so a deck that\n\t kept painting the last slide looked stuck and swallowed advances. -->\n\t@if (endOfShow()) {\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"pptx-ng-presentation-end\"\n\t\t\tdata-pptx-end-of-show\n\t\t\t(click)=\"onEndScreenClick($event)\"\n\t\t>\n\t\t\t<span>{{ 'pptx.presentation.endOfSlideShow' | translate }}</span>\n\t\t</button>\n\t}\n\n\t<div\n\t\t#stage\n\t\tclass=\"pptx-ng-presentation-stage\"\n\t\t[ngStyle]=\"stageContainerStyle()\"\n\t\t(click)=\"onBodyClick($event)\"\n\t\t(mouseover)=\"onStageHover($event)\"\n\t\t(mouseout)=\"onStageHoverEnd($event)\"\n\t\t(contextmenu)=\"$event.preventDefault()\"\n\t>\n\t\t<pptx-slide-canvas\n\t\t\t[slide]=\"currentSlide()\"\n\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t[mediaDataUrls]=\"mediaDataUrls()\"\n\t\t\t[zoom]=\"zoom()\"\n\t\t\t[autoFit]=\"false\"\n\t\t\t[interactive]=\"false\"\n\t\t\t[presenting]=\"true\"\n\t\t/>\n\n\t\t@if (activeTransition(); as t) {\n\t\t\t<pptx-presentation-transition-overlay\n\t\t\t\t[outgoingSlide]=\"t.outgoing\"\n\t\t\t\t[incomingSlide]=\"currentSlide()\"\n\t\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t\t[transition]=\"t.transition\"\n\t\t\t\t[mediaDataUrls]=\"mediaDataUrls()\"\n\t\t\t\t[zoom]=\"zoom()\"\n\t\t\t\t(complete)=\"activeTransition.set(null)\"\n\t\t\t/>\n\t\t}\n\n\t\t<!-- Ink annotation overlay (pen/highlighter/eraser/laser). Ctrl+M\n\t\t hides the markup without discarding the strokes. The host carries\n\t\t the shared blackboard z-index so strokes stay visible ABOVE the\n\t\t blackout sheet while the screen is blanked (the stage no longer\n\t\t creates a stacking context, see stageContainerStyle). -->\n\t\t@if (inkMarkupVisible()) {\n\t\t\t<pptx-presentation-annotation-overlay\n\t\t\t\tdata-pptx-annotation-overlay\n\t\t\t\t[style.z-index]=\"annotationOverlayZ()\"\n\t\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t\t[zoom]=\"zoom()\"\n\t\t\t/>\n\t\t}\n\t</div>\n\t@if (presenterWindow.snapshot().blackout !== 'none') {\n\t\t<div\n\t\t\tclass=\"presenter-blank\"\n\t\t\tdata-pptx-blackout\n\t\t\t[style.background]=\"presenterWindow.snapshot().blackout\"\n\t\t></div>\n\t}\n\t@if (presenterWindow.snapshot().pointer?.tool === 'laser') {\n\t\t<div\n\t\t\tclass=\"presenter-laser\"\n\t\t\t[style.left.%]=\"(presenterWindow.snapshot().pointer?.x ?? 0.5) * 100\"\n\t\t\t[style.top.%]=\"(presenterWindow.snapshot().pointer?.y ?? 0.5) * 100\"\n\t\t></div>\n\t}\n\t@if (presenterWindow.snapshot().subtitlesVisible && presenterWindow.snapshot().caption) {\n\t\t<div class=\"presenter-caption\">{{ presenterWindow.snapshot().caption }}</div>\n\t}\n\n\t<!-- Live-caption (subtitle) bar. -->\n\t<pptx-presentation-subtitle-bar [visible]=\"subtitlesVisible()\" />\n\n\t<!--\n\t\tTouch-only chrome (close button, edge arrows, counter pill). The\n\t\tcomponent stylesheet hides all three unless the device has a coarse\n\t\tpointer, matching React's `PresentationTouchControls`: on a desktop they\n\t\tduplicate the toolbar above and put a SECOND slide counter on screen.\n\n\t\tRendered BEFORE the show toolbar, as React renders its touch controls,\n\t\tbecause both carry the same accessible names (\"Next Slide\", \"Previous\n\t\tSlide\", \"End Presentation\"). On a coarse pointer the toolbar's copies are\n\t\tstill in the DOM but inert (`pointer-events: none`), so whichever comes\n\t\tfirst is what a by-name lookup - a screen reader's, or a spec's `.first()`\n\t\t- resolves to. With the toolbar first, every such lookup landed on a\n\t\tbutton no user could press: it reported itself visible and enabled, and\n\t\tthe tap was swallowed by the overlay. Position is fixed on all of these,\n\t\tso moving them in the DOM does not move them on screen.\n\t-->\n\t<!-- Always-visible close button (top-right, safe-area aware). -->\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-close\"\n\t\t[ngStyle]=\"closeButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'close')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'close')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.endPresentation' | translate\"\n\t>\n\t\t<svg lucideX class=\"h-5 w-5\"></svg>\n\t</button>\n\n\t<!-- Edge navigation buttons (vertically centred, touch-friendly). -->\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-nav pptx-ng-presentation-prev\"\n\t\t[ngStyle]=\"prevButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'prev')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'prev')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.previousSlide' | translate\"\n\t>\n\t\t<svg lucideChevronLeft class=\"h-6 w-6\"></svg>\n\t</button>\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-nav pptx-ng-presentation-next\"\n\t\t[ngStyle]=\"nextButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'next')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'next')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.nextSlide' | translate\"\n\t>\n\t\t<svg lucideChevronRight class=\"h-6 w-6\"></svg>\n\t</button>\n\n\t<!--\n\t\tThe show toolbar (bottom-centre, auto-hiding): navigation, counter,\n\t\telapsed time, annotation tools, presenter view and end-show, per\n\t\t`PRESENT_TOOLBAR_CONTROLS` in pptx-viewer-shared.\n\t-->\n\t<pptx-presentation-toolbar\n\t\t[currentSlideIndex]=\"currentIndex()\"\n\t\t[totalSlides]=\"slides().length\"\n\t\t[presentationStartTime]=\"showStartedAt\"\n\t\t[presenterMode]=\"presenterMode()\"\n\t\t(move)=\"navigator.navigate($event === 1 ? 'next' : 'prev')\"\n\t\t(presenterViewToggle)=\"presenterViewToggle.emit()\"\n\t\t(endPresentation)=\"onToolbarEnd()\"\n\t/>\n</div>\n", styles: [":host{display:block;position:fixed;inset:0;z-index:10000;background:#000;cursor:pointer;-webkit-user-select:none;user-select:none}.pptx-ng-presentation-root{position:absolute;inset:0;touch-action:pan-y}.pptx-ng-presentation-close:hover,.pptx-ng-presentation-nav:hover{background:#000000bf}@media not all and (any-pointer:coarse){.pptx-ng-presentation-close,.pptx-ng-presentation-nav,.pptx-ng-presentation-counter{display:none!important}}.presenter-blank{position:absolute;inset:0;z-index:75;pointer-events:none}.pptx-ng-presentation-end{position:absolute;inset:0;z-index:90;display:flex;align-items:flex-start;border:0;padding:0;background:#000;text-align:left;cursor:default}.pptx-ng-presentation-end span{padding:.75rem 1rem;color:#ffffffb3;font-size:12px}.presenter-laser{position:absolute;z-index:76;width:20px;height:20px;transform:translate(-50%,-50%);border-radius:50%;background:#ef4444;box-shadow:0 0 20px 8px #ef444488;pointer-events:none}.presenter-caption{position:absolute;z-index:77;left:10%;right:10%;bottom:2rem;padding:.75rem 1.5rem;border-radius:.5rem;background:#000c;color:#fff;text-align:center;font-size:1.25rem;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SlideCanvasComponent, selector: "pptx-slide-canvas", inputs: ["slide", "canvasSize", "mediaDataUrls", "zoom", "editable", "showGrid", "showRulers", "rulerUnit", "showGuides", "snapToGrid", "snapToShape", "guideCommand", "spellCheck", "snapToGuides", "autoFit", "transparentBackground", "interactive", "presenting", "selectedIds", "editingId", "editTemplateMode", "templateElements", "aiHighlights", "aiActive", "aiActiveSlideIndex", "aiChangeBatch", "aiPickMode", "drawTool", "drawColor", "drawWidth"], outputs: ["elementSelect", "backgroundClick", "transformStart", "transformUpdate", "contextMenu", "textEditStart", "textCommit", "textInput", "textCancel", "textFormat", "rotateUpdate", "marqueeSelect", "inkStrokeComplete", "eraserHit", "cellCommit", "tableChange"] }, { kind: "component", type: PresentationTransitionOverlayComponent, selector: "pptx-presentation-transition-overlay", inputs: ["outgoingSlide", "canvasSize", "transition", "templateElements", "mediaDataUrls", "durationMs", "zoom", "incomingSlide"], outputs: ["complete"] }, { kind: "component", type: PresentationAnnotationOverlayComponent, selector: "pptx-presentation-annotation-overlay", inputs: ["canvasSize", "zoom"] }, { kind: "component", type: PresentationSubtitleBarComponent, selector: "pptx-presentation-subtitle-bar", inputs: ["visible"] }, { kind: "component", type: PresentationToolbarComponent, selector: "pptx-presentation-toolbar", inputs: ["currentSlideIndex", "totalSlides", "presentationStartTime", "presenterMode"], outputs: ["move", "endPresentation", "presenterViewToggle"] }, { kind: "component", type: LucideX, selector: "svg[lucideX]" }, { kind: "component", type: LucideChevronLeft, selector: "svg[lucideChevronLeft]" }, { kind: "component", type: LucideChevronRight, selector: "svg[lucideChevronRight]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
89293
89918
  }
89294
89919
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: PresentationOverlayComponent, decorators: [{
89295
89920
  type: Component,
@@ -89305,7 +89930,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
89305
89930
  LucideChevronLeft,
89306
89931
  LucideChevronRight,
89307
89932
  ], providers: [AnimationPlaybackService, PresentationAnnotationsService, ZoomNavigationService], template: "<div #root class=\"pptx-ng-presentation-root\">\n\t<!--\n\t\tSlide counter, rendered first in DOM (before slide content) so a\n\t\tgeneric \"N / M\" text query resolves to it rather than to any slide-text\n\t\trun that happens to read like \"24 / 7\". Position is fixed, so DOM order\n\t\tdoes not affect its on-screen placement.\n\t-->\n\t<span class=\"pptx-ng-presentation-counter\" [ngStyle]=\"counterStyle\">\n\t\t{{ counterLabel() }}\n\t</span>\n\n\t<!-- Black \"End of slide show\" screen: the show has run past its last\n\t slide. It MUST be visible - while it is up the next input either\n\t goes nowhere (backward) or ends the show (forward), so a deck that\n\t kept painting the last slide looked stuck and swallowed advances. -->\n\t@if (endOfShow()) {\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"pptx-ng-presentation-end\"\n\t\t\tdata-pptx-end-of-show\n\t\t\t(click)=\"onEndScreenClick($event)\"\n\t\t>\n\t\t\t<span>{{ 'pptx.presentation.endOfSlideShow' | translate }}</span>\n\t\t</button>\n\t}\n\n\t<div\n\t\t#stage\n\t\tclass=\"pptx-ng-presentation-stage\"\n\t\t[ngStyle]=\"stageContainerStyle()\"\n\t\t(click)=\"onBodyClick($event)\"\n\t\t(mouseover)=\"onStageHover($event)\"\n\t\t(mouseout)=\"onStageHoverEnd($event)\"\n\t\t(contextmenu)=\"$event.preventDefault()\"\n\t>\n\t\t<pptx-slide-canvas\n\t\t\t[slide]=\"currentSlide()\"\n\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t[mediaDataUrls]=\"mediaDataUrls()\"\n\t\t\t[zoom]=\"zoom()\"\n\t\t\t[autoFit]=\"false\"\n\t\t\t[interactive]=\"false\"\n\t\t\t[presenting]=\"true\"\n\t\t/>\n\n\t\t@if (activeTransition(); as t) {\n\t\t\t<pptx-presentation-transition-overlay\n\t\t\t\t[outgoingSlide]=\"t.outgoing\"\n\t\t\t\t[incomingSlide]=\"currentSlide()\"\n\t\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t\t[transition]=\"t.transition\"\n\t\t\t\t[mediaDataUrls]=\"mediaDataUrls()\"\n\t\t\t\t[zoom]=\"zoom()\"\n\t\t\t\t(complete)=\"activeTransition.set(null)\"\n\t\t\t/>\n\t\t}\n\n\t\t<!-- Ink annotation overlay (pen/highlighter/eraser/laser). Ctrl+M\n\t\t hides the markup without discarding the strokes. The host carries\n\t\t the shared blackboard z-index so strokes stay visible ABOVE the\n\t\t blackout sheet while the screen is blanked (the stage no longer\n\t\t creates a stacking context, see stageContainerStyle). -->\n\t\t@if (inkMarkupVisible()) {\n\t\t\t<pptx-presentation-annotation-overlay\n\t\t\t\tdata-pptx-annotation-overlay\n\t\t\t\t[style.z-index]=\"annotationOverlayZ()\"\n\t\t\t\t[canvasSize]=\"canvasSize()\"\n\t\t\t\t[zoom]=\"zoom()\"\n\t\t\t/>\n\t\t}\n\t</div>\n\t@if (presenterWindow.snapshot().blackout !== 'none') {\n\t\t<div\n\t\t\tclass=\"presenter-blank\"\n\t\t\tdata-pptx-blackout\n\t\t\t[style.background]=\"presenterWindow.snapshot().blackout\"\n\t\t></div>\n\t}\n\t@if (presenterWindow.snapshot().pointer?.tool === 'laser') {\n\t\t<div\n\t\t\tclass=\"presenter-laser\"\n\t\t\t[style.left.%]=\"(presenterWindow.snapshot().pointer?.x ?? 0.5) * 100\"\n\t\t\t[style.top.%]=\"(presenterWindow.snapshot().pointer?.y ?? 0.5) * 100\"\n\t\t></div>\n\t}\n\t@if (presenterWindow.snapshot().subtitlesVisible && presenterWindow.snapshot().caption) {\n\t\t<div class=\"presenter-caption\">{{ presenterWindow.snapshot().caption }}</div>\n\t}\n\n\t<!-- Live-caption (subtitle) bar. -->\n\t<pptx-presentation-subtitle-bar [visible]=\"subtitlesVisible()\" />\n\n\t<!--\n\t\tTouch-only chrome (close button, edge arrows, counter pill). The\n\t\tcomponent stylesheet hides all three unless the device has a coarse\n\t\tpointer, matching React's `PresentationTouchControls`: on a desktop they\n\t\tduplicate the toolbar above and put a SECOND slide counter on screen.\n\n\t\tRendered BEFORE the show toolbar, as React renders its touch controls,\n\t\tbecause both carry the same accessible names (\"Next Slide\", \"Previous\n\t\tSlide\", \"End Presentation\"). On a coarse pointer the toolbar's copies are\n\t\tstill in the DOM but inert (`pointer-events: none`), so whichever comes\n\t\tfirst is what a by-name lookup - a screen reader's, or a spec's `.first()`\n\t\t- resolves to. With the toolbar first, every such lookup landed on a\n\t\tbutton no user could press: it reported itself visible and enabled, and\n\t\tthe tap was swallowed by the overlay. Position is fixed on all of these,\n\t\tso moving them in the DOM does not move them on screen.\n\t-->\n\t<!-- Always-visible close button (top-right, safe-area aware). -->\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-close\"\n\t\t[ngStyle]=\"closeButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'close')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'close')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.endPresentation' | translate\"\n\t>\n\t\t<svg lucideX class=\"h-5 w-5\"></svg>\n\t</button>\n\n\t<!-- Edge navigation buttons (vertically centred, touch-friendly). -->\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-nav pptx-ng-presentation-prev\"\n\t\t[ngStyle]=\"prevButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'prev')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'prev')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.previousSlide' | translate\"\n\t>\n\t\t<svg lucideChevronLeft class=\"h-6 w-6\"></svg>\n\t</button>\n\t<button\n\t\ttype=\"button\"\n\t\tclass=\"pptx-ng-presentation-nav pptx-ng-presentation-next\"\n\t\t[ngStyle]=\"nextButtonStyle\"\n\t\t(click)=\"onChromeButton($event, 'next')\"\n\t\t(touchend)=\"onChromeButtonTouch($event, 'next')\"\n\t\t[attr.aria-label]=\"'pptx.presenter.nextSlide' | translate\"\n\t>\n\t\t<svg lucideChevronRight class=\"h-6 w-6\"></svg>\n\t</button>\n\n\t<!--\n\t\tThe show toolbar (bottom-centre, auto-hiding): navigation, counter,\n\t\telapsed time, annotation tools, presenter view and end-show, per\n\t\t`PRESENT_TOOLBAR_CONTROLS` in pptx-viewer-shared.\n\t-->\n\t<pptx-presentation-toolbar\n\t\t[currentSlideIndex]=\"currentIndex()\"\n\t\t[totalSlides]=\"slides().length\"\n\t\t[presentationStartTime]=\"showStartedAt\"\n\t\t[presenterMode]=\"presenterMode()\"\n\t\t(move)=\"navigator.navigate($event === 1 ? 'next' : 'prev')\"\n\t\t(presenterViewToggle)=\"presenterViewToggle.emit()\"\n\t\t(endPresentation)=\"onToolbarEnd()\"\n\t/>\n</div>\n", styles: [":host{display:block;position:fixed;inset:0;z-index:10000;background:#000;cursor:pointer;-webkit-user-select:none;user-select:none}.pptx-ng-presentation-root{position:absolute;inset:0;touch-action:pan-y}.pptx-ng-presentation-close:hover,.pptx-ng-presentation-nav:hover{background:#000000bf}@media not all and (any-pointer:coarse){.pptx-ng-presentation-close,.pptx-ng-presentation-nav,.pptx-ng-presentation-counter{display:none!important}}.presenter-blank{position:absolute;inset:0;z-index:75;pointer-events:none}.pptx-ng-presentation-end{position:absolute;inset:0;z-index:90;display:flex;align-items:flex-start;border:0;padding:0;background:#000;text-align:left;cursor:default}.pptx-ng-presentation-end span{padding:.75rem 1rem;color:#ffffffb3;font-size:12px}.presenter-laser{position:absolute;z-index:76;width:20px;height:20px;transform:translate(-50%,-50%);border-radius:50%;background:#ef4444;box-shadow:0 0 20px 8px #ef444488;pointer-events:none}.presenter-caption{position:absolute;z-index:77;left:10%;right:10%;bottom:2rem;padding:.75rem 1.5rem;border-radius:.5rem;background:#000c;color:#fff;text-align:center;font-size:1.25rem;pointer-events:none}\n"] }]
89308
- }], ctorParameters: () => [], propDecorators: { slides: [{ type: i0.Input, args: [{ isSignal: true, alias: "slides", required: true }] }], canvasSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "canvasSize", required: true }] }], mediaDataUrls: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaDataUrls", required: false }] }], startIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "startIndex", required: false }] }], showWithAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "showWithAnimation", required: false }] }], useTimings: [{ type: i0.Input, args: [{ isSignal: true, alias: "useTimings", required: false }] }], subtitlesVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitlesVisible", required: false }] }], sessionEnded: [{ type: i0.Input, args: [{ isSignal: true, alias: "sessionEnded", required: false }] }], endWithBlackSlide: [{ type: i0.Input, args: [{ isSignal: true, alias: "endWithBlackSlide", required: false }] }], presenterMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "presenterMode", required: false }] }], indexChange: [{ type: i0.Output, args: ["indexChange"] }], closed: [{ type: i0.Output, args: ["closed"] }], subtitlesChange: [{ type: i0.Output, args: ["subtitlesChange"] }], presenterViewToggle: [{ type: i0.Output, args: ["presenterViewToggle"] }], annotationsExit: [{ type: i0.Output, args: ["annotationsExit"] }], stageRef: [{ type: i0.ViewChild, args: ['stage', { isSignal: true }] }], rootRef: [{ type: i0.ViewChild, args: ['root', { isSignal: true }] }], onFullscreenChange: [{
89933
+ }], ctorParameters: () => [], propDecorators: { slides: [{ type: i0.Input, args: [{ isSignal: true, alias: "slides", required: true }] }], canvasSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "canvasSize", required: true }] }], mediaDataUrls: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaDataUrls", required: false }] }], startIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "startIndex", required: false }] }], showWithAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "showWithAnimation", required: false }] }], useTimings: [{ type: i0.Input, args: [{ isSignal: true, alias: "useTimings", required: false }] }], subtitlesVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitlesVisible", required: false }] }], sessionEnded: [{ type: i0.Input, args: [{ isSignal: true, alias: "sessionEnded", required: false }] }], endWithBlackSlide: [{ type: i0.Input, args: [{ isSignal: true, alias: "endWithBlackSlide", required: false }] }], presenterMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "presenterMode", required: false }] }], indexChange: [{ type: i0.Output, args: ["indexChange"] }], closed: [{ type: i0.Output, args: ["closed"] }], subtitlesChange: [{ type: i0.Output, args: ["subtitlesChange"] }], presenterViewToggle: [{ type: i0.Output, args: ["presenterViewToggle"] }], annotationsExit: [{ type: i0.Output, args: ["annotationsExit"] }], stageRef: [{ type: i0.ViewChild, args: ['stage', { isSignal: true }] }], rootRef: [{ type: i0.ViewChild, args: ['root', { isSignal: true }] }], onWheel: [{
89934
+ type: HostListener,
89935
+ args: ['document:wheel', ['$event']]
89936
+ }], onFullscreenChange: [{
89309
89937
  type: HostListener,
89310
89938
  args: ['document:fullscreenchange']
89311
89939
  }], onWindowResize: [{
@@ -95427,7 +96055,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
95427
96055
  }], propDecorators: { canEdit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canEdit", required: false }] }], slideIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "slideIndex", required: false }] }] } });
95428
96056
 
95429
96057
  // Generated by scripts/inline-shared.mjs from package.json. Do not edit.
95430
- const PPTX_ANGULAR_VIEWER_VERSION = "2.15.3";
96058
+ const PPTX_ANGULAR_VIEWER_VERSION = "2.17.0";
95431
96059
 
95432
96060
  /**
95433
96061
  * account-page.component.ts: File > Account content.
@@ -127364,5 +127992,5 @@ function cn(...values) {
127364
127992
  * Generated bundle index. Do not edit.
127365
127993
  */
127366
127994
 
127367
- export { CommentsService as $, ALIGN_OPTIONS as A, AnimationPlaybackService as B, AutosaveService as C, BroadcastDialogComponent as D, CHART_EDITOR_STYLES as E, CURSOR_PALETTE as F, CanvasFitService as G, ChartAxisOptionsComponent as H, ChartAxisStyleOptionsComponent as I, ChartComboTypeOptionsComponent as J, ChartDataEditorComponent as K, ChartDataLabelOptionsComponent as L, ChartDatapointMarkerOptionsComponent as M, ChartDatapointOptionsComponent as N, ChartDisplayOptionsComponent as O, ChartElementViewComponent as P, ChartErrorBarOptionsComponent as Q, ChartMarkerOptionsComponent as R, ChartPartSelectionService as S, ChartPrimitivesComponent as T, ChartRendererComponent as U, ChartTrendlineOptionsComponent as V, CollaborationCursorsComponent as W, CollaborationService as X, ColorChangedImageComponent as Y, CommentMarkersOverlayComponent as Z, CommentsPanelComponent as _, ANIMATION_PRESET_CATEGORIES as a, IsMobileService as a$, ComparePanelComponent as a0, ConnectorRendererComponent as a1, ConnectorTextOverlayComponent as a2, CustomShowsComponent as a3, DATA_TABLE_HEADER_H as a4, DATA_TABLE_KEY_W as a5, DATA_TABLE_PADDING as a6, DATA_TABLE_ROW_H as a7, DEFAULT_BOUNDS as a8, DEFAULT_BROADCAST_SERVER_URL as a9, EffectsPanelComponent as aA, ElementRendererComponent as aB, EmbeddedFontsService as aC, EncryptedFileDialogComponent as aD, EquationEditorDialogComponent as aE, EquationRendererComponent as aF, EquationTemplateGalleryComponent as aG, ExportProgressModalComponent as aH, ExportService as aI, FieldContextService as aJ, FindBarComponent as aK, FindReplaceBarComponent as aL, FollowModeBarComponent as aM, FontEmbeddingListComponent as aN, FontEmbeddingPanelComponent as aO, GALLERY_THEME_PRESETS as aP, GRIDLINE_COLOR as aQ, GradientPickerComponent as aR, HANDOUT_OPTIONS as aS, HeaderFooterDialogComponent as aT, HyperlinkDialogComponent as aU, ImagePropertiesPanelComponent as aV, InkDrawingService as aW, InkRendererComponent as aX, InsertSmartArtDialogComponent as aY, InspectorPaneHeaderComponent as aZ, InspectorPanelComponent as a_, DEFAULT_CANVAS_HEIGHT as aa, DEFAULT_CANVAS_WIDTH as ab, DEFAULT_COLOR_SCHEME as ac, DEFAULT_FILL_COLOR as ad, DEFAULT_LAYOUT as ae, DEFAULT_PALETTE$1 as af, DEFAULT_PATTERN_FILL_PRESET as ag, DEFAULT_PRINT_SETTINGS as ah, DEFAULT_SLIDE_BACKGROUND as ai, DEFAULT_STROKE_COLOR as aj, DEFAULT_STYLE as ak, DEFAULT_TABLE_ROW_HEIGHT as al, DEFAULT_TEXT_COLOR$1 as am, DEFAULT_VIEWER_PROFILE as an, DIRECTIONAL_PRESETS as ao, DIRECTION_OPTIONS as ap, DocumentPropertiesCardComponent as aq, EMBEDDED_FONTS_STYLE_ID as ar, EMPHASIS_PRESETS as as, ENTRANCE_PRESETS as at, TEMPLATES as au, EXIT_PRESETS as av, EditorContextMenuComponent as aw, EditorHistory as ax, EditorStateService as ay, EditorToolbarComponent as az, AUDIENCE_HASH as b, RibbonDrawingGroupComponent as b$, KeepAnnotationsDialogComponent as b0, LOCALE_CATALOG as b1, LONG_PRESS_DURATION_MS as b2, LONG_PRESS_MOVE_TOLERANCE_PX as b3, LoadContentService as b4, LocalPresencePublisher as b5, MAX_ZOOM_SCALE as b6, MIN_ZOOM_SCALE as b7, MOTION_PATH_COLUMNS as b8, MediaPreviewComponent as b9, PresentationAnnotationOverlayComponent as bA, PresentationAnnotationsService as bB, PresentationOverlayComponent as bC, PresentationPropertiesPanelComponent as bD, PresentationSettingsCardComponent as bE, PresentationSubtitleBarComponent as bF, PresentationToolbarComponent as bG, PresentationTransitionOverlayComponent as bH, PresenterViewComponent as bI, PresenterWindowService as bJ, PrintDialogComponent as bK, PrintService as bL, PrintSettingsPanelComponent as bM, PropertiesDialogComponent as bN, REPEAT_MODE_OPTIONS as bO, RESIZE_HANDLES as bP, RULER_FONT_SIZE as bQ, RULER_THICKNESS as bR, ReadingViewOverlayComponent as bS, RemoteSelectionOverlayComponent as bT, RibbonAnimationGalleryComponent as bU, RibbonAnimationsSectionComponent as bV, RibbonArrangeSectionComponent as bW, RibbonColorPopoverComponent as bX, RibbonComponent as bY, RibbonDesignSectionComponent as bZ, RibbonDrawSectionComponent as b_, MediaPropertiesPanelComponent as ba, MediaRendererComponent as bb, MediaTrimTimelineComponent as bc, MobileBottomBarComponent as bd, MobileMenuSheetComponent as be, MobilePresenterViewComponent as bf, MobileSheetComponent as bg, MobileSlidesSheetComponent as bh, MobileToolbarComponent as bi, ModalDialogComponent as bj, Model3DRendererComponent as bk, NotesHandoutCardComponent as bl, NotesPanelComponent as bm, NotesToolbarComponent as bn, OleRendererComponent as bo, OutlineViewOverlayComponent as bp, POWER_POINT_VIEWER_PROVIDERS as bq, PRESENTER_CHANNEL_NAME as br, PRESENTER_MSG_ORIGIN as bs, PRESENTER_TIMER_SEGMENT_MS as bt, PX_PER_CM as bu, PX_PER_INCH as bv, PasswordProtectionDialogComponent as bw, PasswordStrengthMeterComponent as bx, PowerPointViewerComponent as by, PresentToolbarAutoHide as bz, AUDIENCE_NONCE_KEY as c, TIMING_CURVE_OPTIONS as c$, RibbonEditingSectionComponent as c0, RibbonFileSectionComponent as c1, RibbonFontControlsComponent as c2, RibbonHomeSectionComponent as c3, RibbonHyperlinkButtonComponent as c4, RibbonInsertFieldsComponent as c5, RibbonInsertSectionComponent as c6, RibbonMotionPathGalleryComponent as c7, RibbonParagraphControlsComponent as c8, RibbonPrimaryRowComponent as c9, ShowOptionsFieldsetComponent as cA, ShowSlidesFieldsetComponent as cB, SignatureStrippedDialogComponent as cC, SignaturesPanelComponent as cD, SignaturesService as cE, SlideBackgroundCardComponent as cF, SlideCanvasComponent as cG, SlideDefaultInspectorComponent as cH, SlideDiffChangesComponent as cI, SlideDiffRowComponent as cJ, SlideDiffThumbnailsComponent as cK, SlideSizeCardComponent as cL, SlideSorterOverlayComponent as cM, SlideThemeOverridePanelComponent as cN, SlideTransitionCardComponent as cO, SlidesPanelComponent as cP, SmartArt3DRendererComponent as cQ, SmartArt3DService as cR, SmartArtPreviewComponent as cS, SmartArtPropertiesComponent as cT, SmartArtRendererComponent as cU, StatusBarComponent as cV, TABLE_STRUCTURE_TOGGLES as cW, TEXT_3D_BOTTOM_BEVEL_KEYS as cX, TEXT_3D_TOP_BEVEL_KEYS as cY, TEXT_DIRECTION_OPTIONS$1 as cZ, THEME_CATALOG as c_, RibbonReviewSectionComponent as ca, RibbonShapeExtrasComponent as cb, RibbonSlideshowSectionComponent as cc, RibbonTransitionsSectionComponent as cd, RibbonViewSectionComponent as ce, RulerGuidesService as cf, SEQUENCE_OPTIONS as cg, SEVERITY_GROUPS as ch, SEVERITY_LABELS as ci, SHORTCUT_REFERENCE_ITEMS as cj, SLIDE_TRANSITION_KEYFRAMES as ck, DEFAULT_PALETTE as cl, PALETTES$1 as cm, SMART_ART_COLOR_SCHEMES as cn, SMART_ART_STYLE_OPTIONS as co, SUB_ITEM_LABEL as cp, SVG_WARP_PRESETS as cq, SWIPE_MAX_VERTICAL_PX as cr, SWIPE_THRESHOLD_PX as cs, SelectionPaneComponent as ct, SetUpSlideShowDialogComponent as cu, SettingsAppearanceTabComponent as cv, SettingsDialogComponent as cw, SettingsLanguageTabComponent as cx, ShareDialogComponent as cy, ShortcutPanelComponent as cz, AVATAR_COLOR_SWATCHES as d, applyAnimationPreset as d$, TRIGGER_OPTIONS as d0, TYPE_LABELS as d1, TableCellAdvancedFillComponent as d2, TableCellFormattingComponent as d3, TableDataEditorComponent as d4, TablePropertiesComponent as d5, TableRendererComponent as d6, TableResizeOverlayComponent as d7, TableSelectionService as d8, TagsCardComponent as d9, ViewerInspectorPanelService as dA, ViewerKeyboardService as dB, ViewerMobileSheetService as dC, ViewerPresentationModeService as dD, ViewerThemeGalleryService as dE, ViewerTouchGesturesService as dF, ViewerZoomService as dG, WEBM_MIME_CANDIDATES as dH, WriteBackScheduler as dI, ZERO_LINE_COLOR as dJ, ZoomNavigationService as dK, ZoomRendererComponent as dL, ZoomTargetService as dM, addCategory as dN, addCommentToList as dO, addGradientStopPatch as dP, addItem as dQ, addSeries as dR, addSubItem as dS, advanceStep as dT, affordanceElements as dU, aiToggleVisible as dV, alignPatch as dW, animationFor as dX, animationPresetLabelKey as dY, annotationMapToInkInserts as dZ, applyAcceptedDiff as d_, Text3DBevelSectionComponent as da, Text3DPanelComponent as db, TextAdvancedPanelComponent as dc, ThemeEditorFieldsComponent as dd, ThemeGalleryComponent as de, ThemeSelectorCardComponent as df, TitleBarComponent as dg, TitleBarSearchComponent as dh, TransitionDirectionPickerComponent as di, TransitionPreviewComponent as dj, VALIGN_OPTIONS as dk, VIEWER_THEME as dl, VersionHistoryPanelComponent as dm, ViewerCanvasEditingService as dn, ViewerCollabCursorService as dp, ViewerCollaborationSessionService as dq, ViewerCompareService as dr, ViewerCustomShowsService as ds, ViewerDialogsService as dt, ViewerDocumentPropertiesService as du, ViewerExportService as dv, ViewerExtraDialogsComponent as dw, ViewerFileIOService as dx, ViewerFindReplaceService as dy, ViewerFormatPainterService as dz, AXIS_LABEL_COLOR as e, buildZoomViewModel as e$, applyFindReplacements as e0, applyFormatToElement as e1, applyMove as e2, applyResize as e3, applyTableStylePreset as e4, asMediaElement as e5, assignUserColor as e6, attachShowVisibilityPause as e7, attachTouchGestures as e8, axisTickValues as e9, buildFontFaceRule as eA, buildGradientFillCss as eB, buildGridlinesAndLabels as eC, buildHyperlinkPatch as eD, buildInkContainerStyle as eE, buildInkStrokes as eF, buildLegend as eG, buildModel3DContainerStyle as eH, buildModel3DViewModel as eI, buildOleActionModel as eJ, buildOleInfoRows as eK, buildPatternFillCss as eL, buildPrintHtmlDocument as eM, buildPropertiesPatch as eN, buildRegionMapViewModel as eO, buildSaveSlides as eP, buildShareUrl as eQ, buildSmartArtInsertElement as eR, buildSmartArtNodes as eS, buildStockViewModel as eT, buildSurfaceViewModel as eU, buildTableViewModel as eV, buildTreemapViewModel as eW, buildTrimFragment as eX, buildWaterfallViewModel as eY, buildZeroLine as eZ, buildZoomContainerStyle as e_, beginNodeEdit as ea, bevelSizePatch as eb, boolFromEvent as ec, bringForward as ed, bringToFront as ee, buildBarActions as ef, buildBroadcastConfig as eg, buildBroadcastViewerUrl as eh, buildCategoryLabels as ei, buildCellParagraphs as ej, buildChartViewModel as ek, buildChatLogExport as el, buildChatLogMarkdown as em, buildChromeStyle as en, buildClearHyperlinkPatch as eo, buildClickGroups as ep, buildColStyles as eq, buildCollaborationConfig as er, buildComboViewModel as es, buildCssGradientFromShapeStyle as et, buildDuotoneFilter as eu, buildDuotoneFilterId as ev, buildEmbeddedFontStyles as ew, buildEquationElement as ex, buildEquationSegment as ey, buildFallbackViewModel as ez, AccessibilityPanelComponent as f, computeTextLines as f$, bulletIndentPx as f0, canAddTopLevelNode as f1, canGroupSelection as f2, canRemoveTopLevelNode as f3, canSetStrokeWidth as f4, canStartBroadcast as f5, canStartShare as f6, canUngroupSelection as f7, canUseClipboard as f8, captionDisplayText as f9, computeBubbleRadius as fA, computeCornerHandle as fB, computeDataTablePrimitives as fC, computeDistribute as fD, computeDrawingViewBox as fE, computeErrorBarPrimitives as fF, computeFocusTargets as fG, computeHandleBoxes as fH, computeHandoutLayout as fI, computeIsMobile as fJ, computeIsTablet as fK, computeLinePoints as fL, computeLinearRegression as fM, computePageCount as fN, computePieLayout as fO, computePieSlicePath as fP, computePieSlices as fQ, computePlotLayout as fR, computeRSquared as fS, computeRadarPoints as fT, computeScatterDots as fU, computeSelectionBoxes as fV, computeSingleSelected as fW, computeSlideIndices as fX, computeSnap as fY, computeStackedBarRects as fZ, computeStackedValueRange as f_, cellRunStyle as fa, cellStyleToStyleMap as fb, cellTdStyle as fc, changeCountLabel as fd, changeIcon as fe, characterSpacingPatch as ff, checkFontAvailable as fg, clampCursorPosition as fh, clampGifDimensions as fi, clampIndex as fj, clampNotesFontSize as fk, clampScale as fl, clampStep as fm, clearAllLocalViewerData as fn, clearAudienceContent as fo, cn as fp, collectAccessibilityIssues as fq, collectElementText as fr, collectSlideText as fs, collectStoredChats as ft, collectUsedFontFamilies as fu, columnWidthStyle as fv, commitNodeText as fw, computeAlign as fx, computeAxisTitlePrimitives as fy, computeBarRects as fz, AccessibilityService as g, formatPropertyDate as g$, computeTrendlinePrimitives as g0, computeValueRange as g1, convertOmmlToMathMl as g2, copyFormatFromElement as g3, countAccessibilityIssues as g4, countAnnotationStrokes as g5, createAngularAiBridge as g6, createCustomShow as g7, createSwipeDismissDrag as g8, createWebrtcBundle as g9, enableSoftEdgePatch as gA, encodeGif as gB, endShowMediaCleanup as gC, estimatePageCount as gD, evenColumnWidths as gE, evenRowHeights as gF, exitPresentationFullscreen as gG, exportAiChatLogs as gH, extractPathPoints as gI, eyedropperAvailable as gJ, fillColorOf as gK, findInSlides as gL, findOwningSlideIndex as gM, findSlideIndexByElementId as gN, firstVisibleIndex as gO, fitPolynomial as gP, fitZoom as gQ, focusTargetChips as gR, fontMimeForFormat as gS, fontSizeOf as gT, forgetSessionDeck as gU, formatAutoNumber as gV, formatAxisValue as gW, formatBytes as gX, formatCursorLabel as gY, formatElapsed as gZ, formatFileSize as g_, createWebsocketBundle as ga, cssObjectToStyleMap as gb, currentColorScheme as gc, currentLayout as gd, currentStyle as ge, defaultCssVars as gf, defaultRadius as gg, defaultThemeColors as gh, deleteElementsByIds as gi, deleteVersion as gj, demoteNode as gk, deriveModel3DBlobUrl as gl, derivePresenceList as gm, describeSmartArtBounds as gn, disableGlowPatch as go, disableInnerShadowPatch as gp, disableOuterShadowPatch as gq, disableReflectionPatch as gr, disableSoftEdgePatch as gs, duplicateElementById as gt, durationOf as gu, effectsStateOf as gv, enableGlowPatch as gw, enableInnerShadowPatch as gx, enableOuterShadowPatch as gy, enableReflectionPatch as gz, AccountPageComponent as h, isSigned as h$, formatTime as h0, fpsToFrameIntervalMs as h1, generateBroadcastRoomId as h2, generateCommentId as h3, generateCustomShowId as h4, generatePressureCircles as h5, generateTicks as h6, getClrChangeParams as h7, getContainerStyle as h8, getDuotoneFilterDef as h9, gradientStateOf as hA, gradientStatePatch as hB, gridColumns as hC, groupElements as hD, groupIssuesBySeverity as hE, hasAnimation as hF, hasCopyableFormat as hG, hasExistingLink as hH, hasExitedFullscreen as hI, hasGradientFill as hJ, hasPressureVariation as hK, hasVisibleSlideAfter as hL, headerLabel as hM, imageDimensions as hN, inkViewBox as hO, insertTableElementColumn as hP, insertTableElementRow as hQ, interpolateWidth as hR, isAudienceTab as hS, isBold as hT, isBrowserOpenableMime as hU, isChildNode as hV, isElementInteractive as hW, isInjectableUrl as hX, isItalic as hY, isPpactionUrl as hZ, isPresenterMessage as h_, getImageSrc as ha, getLocalStorageUsageSummary as hb, getOleAriaLabel as hc, getOleBadgeLabel as hd, getOleDisplayName as he, getOleDownloadFileName as hf, getOleTypeColor as hg, getOleTypeLabel as hh, getPasswordStrength as hi, getPatternSvg as hj, getPlaceholderStyle as hk, getVersions as hl, getResolvedShapeClipPath as hm, getResolvedShapeClipPathFor as hn, getSessionTabId as ho, getShapeFillStrokeStyle as hp, getSlideBackgroundStyle as hq, getSlideTransitionAnimations as hr, getSmartArtNodeBounds as hs, getSpeechRecognitionCtor as ht, getTextBlockStyle as hu, getTextWarp as hv, getTouchDistance as hw, getWarpCategory as hx, getWarpPath as hy, gradientStateFromStyle as hz, ActionSettingsPanelComponent as i, pickFile as i$, isTextElement as i0, isTwoTableFocus as i1, isUnderline as i2, isUrlSafe as i3, isValidRoomId as i4, isViewportBackgroundPressTarget as i5, isZoomActivationKey as i6, issueTrackKey as i7, issueTypeLabel as i8, keyToLabel as i9, nextVisibleIndex as iA, nodeBold as iB, nodeEditBox as iC, nodeFillColor as iD, nodeFontColor as iE, nodeIdFromKey as iF, nodeItalic as iG, nodeStyle as iH, normalizeFontFormat as iI, normalizeSlidesPerPage as iJ, normalizeValue as iK, numFromEvent as iL, ommlToMathml as iM, ooxmlDashToCssBorderStyle as iN, openNativeEyeDropper as iO, overallStatus as iP, paletteColor as iQ, parseAudienceNonce as iR, parseNodeTextarea as iS, partitionSlides as iT, patchChartData as iU, patchChartStyle as iV, patchTableData as iW, patchTextStyle as iX, patternPresetOptions as iY, pendingElementStyles as iZ, pickColorByClickFallback as i_, lastVisibleIndex as ia, latexToMathml as ib, linePointsToSvgString as ic, lineSpacingPatch as id, loadAudienceContent as ie, loadSessionDeck as ig, mergeCaptionResults as ih, mergeDown as ii, mergeRight as ij, mergeSelection as ik, moveElementBy as il, moveNodeDown as im, moveNodeUp as io, msToFrameDelayCs as ip, narrowToCircle as iq, narrowToPolygon as ir, narrowToRect as is, newChartElement as it, newEquationElement as iu, newPresetShapeElement as iv, newShapeElement as iw, newSmartArtElement as ix, newTableElement as iy, newTextElement as iz, AdvancedChartEditorComponent as j, saveViewerProfile as j$, pickSupportedMimeType as j0, planGifFrames as j1, planVideoSegments as j2, pointsToSvgPathD as j3, presenceToCursors as j4, presentationStageStyle as j5, presenterTimerProgress as j6, presetByLayout as j7, presetsForCategory as j8, pressuresToWidths as j9, resizeElement as jA, resolveCaptionTracks as jB, resolveChartKind as jC, resolveFontVariant as jD, resolveHyperlinkHref as jE, resolveInteractiveElementId as jF, resolveMediaSrc as jG, resolveOleType as jH, resolveParagraphBullet as jI, resolvePresenterNotes as jJ, resolveProfileInitial as jK, resolveRegionCode as jL, resolveSlideAutoAdvanceMs as jM, resolvePalette as jN, resolveThemeCatalogEntry as jO, resolveTransitionDuration as jP, restoreSessionDeck as jQ, revealedElementStyles as jR, routeOrthogonalConnector as jS, rowStyle as jT, rulerDragToGuidePosition as jU, rulerHighlight as jV, rulerStripTicks as jW, sampleColorFromSlide as jX, sanitizeColor as jY, sanitizeSlideIndex as jZ, sanitizeUserName as j_, prevVisibleIndex as ja, projectDrawingShapes as jb, promoteNode as jc, provideViewerTheme as jd, radarAngle as je, radarRingPoints as jf, readAsDataUrl as jg, recordWebm as jh, redistributeColumnWidth as ji, registerCrossSlideAudio as jj, rememberSessionDeck as jk, removeAnimation as jl, removeCategory as jm, removeTableElementColumn as jn, removeCommentFromList as jo, removeElementAnimation as jp, removeGradientStopPatch as jq, removeNode as jr, removeTableElementRow as js, removeSeries as jt, renderToCanvas as ju, reorderAnimationDown as jv, reorderAnimationUp as jw, replaceInSlides as jx, replaceMatch as jy, requestPresentationFullscreen as jz, AiChangeOverlayComponent as k, smartArtNodes as k$, scanAvailableFonts as k0, searchSlides as k1, seedBroadcastFields as k2, seedHyperlinkDraft as k3, seedPropertiesDraft as k4, seedShareFields as k5, segmentFrameCount as k6, selectValue$2 as k7, sendBackward as k8, sendToBack as k9, setRepeatCount as kA, setRepeatMode as kB, setSequence as kC, setSeriesChartType as kD, setSeriesColor as kE, setSeriesErrorBars as kF, setSeriesMarker as kG, setSeriesName as kH, setSeriesTrendline as kI, setSeriesValue as kJ, setStyle as kK, setTimingCurve as kL, setTitle as kM, setTrigger as kN, setTriggerShapeId as kO, shapeStylePatch as kP, sheetAfterNavigate as kQ, shouldBlockClickAdvance as kR, shouldUseSvgWarp as kS, showDirectionPicker as kT, showsTemplateAffordance as kU, signatureCountLabel as kV, signatureKey as kW, signatureTimestamp as kX, signerName as kY, statusLabel as kZ, slideNumberOf as k_, sequentialColorScale as ka, serializeWriteBack as kb, seriesColor as kc, setAnimationEmphasis as kd, setAnimationEntrance as ke, setAnimationExit as kf, setAxis as kg, setAxisLogScale as kh, setAxisTitleStyle as ki, setCategoryLabel as kj, setCellText as kk, setColorScheme as kl, setDataLabels as km, setDataPointExplosion as kn, setDataPointFill as ko, setDataPointLabel as kp, setDataPointMarker as kq, setDelay as kr, setDirection as ks, setDuration as kt, setElementPosition as ku, setGridlineStyle as kv, setLayout as kw, setLegend as kx, setNodeStyle as ky, setNodeText as kz, AiChatPanelComponent as l, paletteColour as l0, snapToGridStep as l1, splitCursorCell as l2, splitMergedCell as l3, statusKind as l4, statusLabel$1 as l5, storeAudienceContent as l6, stringFromEvent$5 as l7, strokeColorOf as l8, strokeToInkElement as l9, updateReflectionPatch as lA, vAlignPatch as lB, validatePassword as lC, validatePrintSettings as lD, validateRoomId as lE, valueToY as lF, vermilionDarkColors as lG, vermilionDarkTheme as lH, vermilionLightColors as lI, vermilionLightTheme as lJ, vermilionRadius as lK, waypointsToPathD as lL, worstStatus as lM, zoomTargetSlideIndex as lN, strokeWidthOf as la, styleShadowFilter as lb, textAdvancedPatch as lc, textAdvancedStateFromStyle as ld, textAdvancedStateOf as le, textColorOf as lf, textDirectionPatch as lg, textStyleOf as lh, textStylePatch as li, themeStyle as lj, themeToCssVars as lk, thumbnailHeight as ll, thumbnailZoom as lm, toggleCommentResolvedInList as ln, toggleNodeBold as lo, toggleNodeItalic as lp, toggleSheet as lq, topLevelNodeCount as lr, transformSelectedTextCase as ls, translationsEn as lt, ungroupElements as lu, updateElementById as lv, updateGlowPatch as lw, updateGradientStopPatch as lx, updateInnerShadowPatch as ly, updateOuterShadowPatch as lz, AiChatService as m, AiComposerComponent as n, AiFocusBarComponent as o, AiFocusHighlightOverlayComponent as p, AiHistoryMenuComponent as q, AiHistoryService as r, AiMessageListComponent as s, toChatSummary as t, AiPanelStore as u, AiProposalCardComponent as v, AiSettingsSectionComponent as w, AiToolCallCardComponent as x, AnimationAuthorPanelComponent as y, AnimationPanelComponent as z };
127368
- //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-CdR_uJ3A.mjs.map
127995
+ export { CommentsService as $, ALIGN_OPTIONS as A, AnimationPlaybackService as B, AutosaveService as C, BroadcastDialogComponent as D, CHART_EDITOR_STYLES as E, CURSOR_PALETTE as F, CanvasFitService as G, ChartAxisOptionsComponent as H, ChartAxisStyleOptionsComponent as I, ChartComboTypeOptionsComponent as J, ChartDataEditorComponent as K, ChartDataLabelOptionsComponent as L, ChartDatapointMarkerOptionsComponent as M, ChartDatapointOptionsComponent as N, ChartDisplayOptionsComponent as O, ChartElementViewComponent as P, ChartErrorBarOptionsComponent as Q, ChartMarkerOptionsComponent as R, ChartPartSelectionService as S, ChartPrimitivesComponent as T, ChartRendererComponent as U, ChartTrendlineOptionsComponent as V, CollaborationCursorsComponent as W, CollaborationService as X, ColorChangedImageComponent as Y, CommentMarkersOverlayComponent as Z, CommentsPanelComponent as _, ANIMATION_PRESET_CATEGORIES as a, IsMobileService as a$, ComparePanelComponent as a0, ConnectorRendererComponent as a1, ConnectorTextOverlayComponent as a2, CustomShowsComponent as a3, DATA_TABLE_HEADER_H as a4, DATA_TABLE_KEY_W as a5, DATA_TABLE_PADDING as a6, DATA_TABLE_ROW_H as a7, DEFAULT_BOUNDS as a8, DEFAULT_BROADCAST_SERVER_URL as a9, EffectsPanelComponent as aA, ElementRendererComponent as aB, EmbeddedFontsService as aC, EncryptedFileDialogComponent as aD, EquationEditorDialogComponent as aE, EquationRendererComponent as aF, EquationTemplateGalleryComponent as aG, ExportProgressModalComponent as aH, ExportService as aI, FieldContextService as aJ, FindBarComponent as aK, FindReplaceBarComponent as aL, FollowModeBarComponent as aM, FontEmbeddingListComponent as aN, FontEmbeddingPanelComponent as aO, GALLERY_THEME_PRESETS as aP, GRIDLINE_COLOR as aQ, GradientPickerComponent as aR, HANDOUT_OPTIONS as aS, HeaderFooterDialogComponent as aT, HyperlinkDialogComponent as aU, ImagePropertiesPanelComponent as aV, InkDrawingService as aW, InkRendererComponent as aX, InsertSmartArtDialogComponent as aY, InspectorPaneHeaderComponent as aZ, InspectorPanelComponent as a_, DEFAULT_CANVAS_HEIGHT as aa, DEFAULT_CANVAS_WIDTH as ab, DEFAULT_COLOR_SCHEME as ac, DEFAULT_FILL_COLOR as ad, DEFAULT_LAYOUT as ae, DEFAULT_PALETTE$1 as af, DEFAULT_PATTERN_FILL_PRESET as ag, DEFAULT_PRINT_SETTINGS as ah, DEFAULT_SLIDE_BACKGROUND as ai, DEFAULT_STROKE_COLOR as aj, DEFAULT_STYLE as ak, DEFAULT_TABLE_ROW_HEIGHT as al, DEFAULT_TEXT_COLOR$1 as am, DEFAULT_VIEWER_PROFILE as an, DIRECTIONAL_PRESETS as ao, DIRECTION_OPTIONS as ap, DocumentPropertiesCardComponent as aq, EMBEDDED_FONTS_STYLE_ID as ar, EMPHASIS_PRESETS as as, ENTRANCE_PRESETS as at, TEMPLATES as au, EXIT_PRESETS as av, EditorContextMenuComponent as aw, EditorHistory as ax, EditorStateService as ay, EditorToolbarComponent as az, AUDIENCE_HASH as b, RibbonDrawingGroupComponent as b$, KeepAnnotationsDialogComponent as b0, LOCALE_CATALOG as b1, LONG_PRESS_DURATION_MS as b2, LONG_PRESS_MOVE_TOLERANCE_PX as b3, LoadContentService as b4, LocalPresencePublisher as b5, MAX_ZOOM_SCALE as b6, MIN_ZOOM_SCALE as b7, MOTION_PATH_COLUMNS as b8, MediaPreviewComponent as b9, PresentationAnnotationOverlayComponent as bA, PresentationAnnotationsService as bB, PresentationOverlayComponent as bC, PresentationPropertiesPanelComponent as bD, PresentationSettingsCardComponent as bE, PresentationSubtitleBarComponent as bF, PresentationToolbarComponent as bG, PresentationTransitionOverlayComponent as bH, PresenterViewComponent as bI, PresenterWindowService as bJ, PrintDialogComponent as bK, PrintService as bL, PrintSettingsPanelComponent as bM, PropertiesDialogComponent as bN, REPEAT_MODE_OPTIONS as bO, RESIZE_HANDLES as bP, RULER_FONT_SIZE as bQ, RULER_THICKNESS as bR, ReadingViewOverlayComponent as bS, RemoteSelectionOverlayComponent as bT, RibbonAnimationGalleryComponent as bU, RibbonAnimationsSectionComponent as bV, RibbonArrangeSectionComponent as bW, RibbonColorPopoverComponent as bX, RibbonComponent as bY, RibbonDesignSectionComponent as bZ, RibbonDrawSectionComponent as b_, MediaPropertiesPanelComponent as ba, MediaRendererComponent as bb, MediaTrimTimelineComponent as bc, MobileBottomBarComponent as bd, MobileMenuSheetComponent as be, MobilePresenterViewComponent as bf, MobileSheetComponent as bg, MobileSlidesSheetComponent as bh, MobileToolbarComponent as bi, ModalDialogComponent as bj, Model3DRendererComponent as bk, NotesHandoutCardComponent as bl, NotesPanelComponent as bm, NotesToolbarComponent as bn, OleRendererComponent as bo, OutlineViewOverlayComponent as bp, POWER_POINT_VIEWER_PROVIDERS as bq, PRESENTER_CHANNEL_NAME as br, PRESENTER_MSG_ORIGIN as bs, PRESENTER_TIMER_SEGMENT_MS as bt, PX_PER_CM as bu, PX_PER_INCH as bv, PasswordProtectionDialogComponent as bw, PasswordStrengthMeterComponent as bx, PowerPointViewerComponent as by, PresentToolbarAutoHide as bz, AUDIENCE_NONCE_KEY as c, TIMING_CURVE_OPTIONS as c$, RibbonEditingSectionComponent as c0, RibbonFileSectionComponent as c1, RibbonFontControlsComponent as c2, RibbonHomeSectionComponent as c3, RibbonHyperlinkButtonComponent as c4, RibbonInsertFieldsComponent as c5, RibbonInsertSectionComponent as c6, RibbonMotionPathGalleryComponent as c7, RibbonParagraphControlsComponent as c8, RibbonPrimaryRowComponent as c9, ShowOptionsFieldsetComponent as cA, ShowSlidesFieldsetComponent as cB, SignatureStrippedDialogComponent as cC, SignaturesPanelComponent as cD, SignaturesService as cE, SlideBackgroundCardComponent as cF, SlideCanvasComponent as cG, SlideDefaultInspectorComponent as cH, SlideDiffChangesComponent as cI, SlideDiffRowComponent as cJ, SlideDiffThumbnailsComponent as cK, SlideSizeCardComponent as cL, SlideSorterOverlayComponent as cM, SlideThemeOverridePanelComponent as cN, SlideTransitionCardComponent as cO, SlidesPanelComponent as cP, SmartArt3DRendererComponent as cQ, SmartArt3DService as cR, SmartArtPreviewComponent as cS, SmartArtPropertiesComponent as cT, SmartArtRendererComponent as cU, StatusBarComponent as cV, TABLE_STRUCTURE_TOGGLES as cW, TEXT_3D_BOTTOM_BEVEL_KEYS as cX, TEXT_3D_TOP_BEVEL_KEYS as cY, TEXT_DIRECTION_OPTIONS$1 as cZ, THEME_CATALOG as c_, RibbonReviewSectionComponent as ca, RibbonShapeExtrasComponent as cb, RibbonSlideshowSectionComponent as cc, RibbonTransitionsSectionComponent as cd, RibbonViewSectionComponent as ce, RulerGuidesService as cf, SEQUENCE_OPTIONS as cg, SEVERITY_GROUPS as ch, SEVERITY_LABELS as ci, SHORTCUT_REFERENCE_ITEMS as cj, SLIDE_TRANSITION_KEYFRAMES as ck, DEFAULT_PALETTE as cl, PALETTES$1 as cm, SMART_ART_COLOR_SCHEMES as cn, SMART_ART_STYLE_OPTIONS as co, SUB_ITEM_LABEL as cp, SVG_WARP_PRESETS as cq, SWIPE_MAX_VERTICAL_PX as cr, SWIPE_THRESHOLD_PX as cs, SelectionPaneComponent as ct, SetUpSlideShowDialogComponent as cu, SettingsAppearanceTabComponent as cv, SettingsDialogComponent as cw, SettingsLanguageTabComponent as cx, ShareDialogComponent as cy, ShortcutPanelComponent as cz, AVATAR_COLOR_SWATCHES as d, applyAnimationPreset as d$, TRIGGER_OPTIONS as d0, TYPE_LABELS as d1, TableCellAdvancedFillComponent as d2, TableCellFormattingComponent as d3, TableDataEditorComponent as d4, TablePropertiesComponent as d5, TableRendererComponent as d6, TableResizeOverlayComponent as d7, TableSelectionService as d8, TagsCardComponent as d9, ViewerInspectorPanelService as dA, ViewerKeyboardService as dB, ViewerMobileSheetService as dC, ViewerPresentationModeService as dD, ViewerThemeGalleryService as dE, ViewerTouchGesturesService as dF, ViewerZoomService as dG, WEBM_MIME_CANDIDATES as dH, WriteBackScheduler as dI, ZERO_LINE_COLOR as dJ, ZoomNavigationService as dK, ZoomRendererComponent as dL, ZoomTargetService as dM, addCategory as dN, addCommentToList as dO, addGradientStopPatch as dP, addItem as dQ, addSeries as dR, addSubItem as dS, advanceStep as dT, affordanceElements as dU, aiToggleVisible as dV, alignPatch as dW, animationFor as dX, animationPresetLabelKey as dY, annotationMapToInkInserts as dZ, applyAcceptedDiff as d_, Text3DBevelSectionComponent as da, Text3DPanelComponent as db, TextAdvancedPanelComponent as dc, ThemeEditorFieldsComponent as dd, ThemeGalleryComponent as de, ThemeSelectorCardComponent as df, TitleBarComponent as dg, TitleBarSearchComponent as dh, TransitionDirectionPickerComponent as di, TransitionPreviewComponent as dj, VALIGN_OPTIONS as dk, VIEWER_THEME as dl, VersionHistoryPanelComponent as dm, ViewerCanvasEditingService as dn, ViewerCollabCursorService as dp, ViewerCollaborationSessionService as dq, ViewerCompareService as dr, ViewerCustomShowsService as ds, ViewerDialogsService as dt, ViewerDocumentPropertiesService as du, ViewerExportService as dv, ViewerExtraDialogsComponent as dw, ViewerFileIOService as dx, ViewerFindReplaceService as dy, ViewerFormatPainterService as dz, AXIS_LABEL_COLOR as e, buildZoomViewModel as e$, applyFindReplacements as e0, applyFormatToElement as e1, applyMove as e2, applyResize as e3, applyTableStylePreset as e4, asMediaElement as e5, assignUserColor as e6, attachShowVisibilityPause as e7, attachTouchGestures as e8, axisTickValues as e9, buildFontFaceRule as eA, buildGradientFillCss as eB, buildGridlinesAndLabels as eC, buildHyperlinkPatch as eD, buildInkContainerStyle as eE, buildInkStrokes as eF, buildLegend as eG, buildModel3DContainerStyle as eH, buildModel3DViewModel as eI, buildOleActionModel as eJ, buildOleInfoRows as eK, buildPatternFillCss as eL, buildPrintHtmlDocument as eM, buildPropertiesPatch as eN, buildRegionMapViewModel as eO, buildSaveSlides as eP, buildShareUrl as eQ, buildSmartArtInsertElement as eR, buildSmartArtNodes as eS, buildStockViewModel as eT, buildSurfaceViewModel as eU, buildTableViewModel as eV, buildTreemapViewModel as eW, buildTrimFragment as eX, buildWaterfallViewModel as eY, buildZeroLine as eZ, buildZoomContainerStyle as e_, beginNodeEdit as ea, bevelSizePatch as eb, boolFromEvent as ec, bringForward as ed, bringToFront as ee, buildBarActions as ef, buildBroadcastConfig as eg, buildBroadcastViewerUrl as eh, buildCategoryLabels as ei, buildCellParagraphs as ej, buildChartViewModel as ek, buildChatLogExport as el, buildChatLogMarkdown as em, buildChromeStyle as en, buildClearHyperlinkPatch as eo, buildClickGroups as ep, buildColStyles as eq, buildCollaborationConfig as er, buildComboViewModel as es, buildCssGradientFromShapeStyle as et, buildDuotoneFilter as eu, buildDuotoneFilterId as ev, buildEmbeddedFontStyles as ew, buildEquationElement as ex, buildEquationSegment as ey, buildFallbackViewModel as ez, AccessibilityPanelComponent as f, computeTextLines as f$, bulletIndentPx as f0, canAddTopLevelNode as f1, canGroupSelection as f2, canRemoveTopLevelNode as f3, canSetStrokeWidth as f4, canStartBroadcast as f5, canStartShare as f6, canUngroupSelection as f7, canUseClipboard as f8, captionDisplayText as f9, computeBubbleRadius as fA, computeCornerHandle as fB, computeDataTablePrimitives as fC, computeDistribute as fD, computeDrawingViewBox as fE, computeErrorBarPrimitives as fF, computeFocusTargets as fG, computeHandleBoxes as fH, computeHandoutLayout as fI, computeIsMobile as fJ, computeIsTablet as fK, computeLinePoints as fL, computeLinearRegression as fM, computePageCount as fN, computePieLayout as fO, computePieSlicePath as fP, computePieSlices as fQ, computePlotLayout as fR, computeRSquared as fS, computeRadarPoints as fT, computeScatterDots as fU, computeSelectionBoxes as fV, computeSingleSelected as fW, computeSlideIndices as fX, computeSnap as fY, computeStackedBarRects as fZ, computeStackedValueRange as f_, cellRunStyle as fa, cellStyleToStyleMap as fb, cellTdStyle as fc, changeCountLabel as fd, changeIcon as fe, characterSpacingPatch as ff, checkFontAvailable as fg, clampCursorPosition as fh, clampGifDimensions as fi, clampIndex as fj, clampNotesFontSize as fk, clampScale as fl, clampStep as fm, clearAllLocalViewerData as fn, clearAudienceContent as fo, cn as fp, collectAccessibilityIssues as fq, collectElementText as fr, collectSlideText as fs, collectStoredChats as ft, collectUsedFontFamilies as fu, columnWidthStyle as fv, commitNodeText as fw, computeAlign as fx, computeAxisTitlePrimitives as fy, computeBarRects as fz, AccessibilityService as g, formatPropertyDate as g$, computeTrendlinePrimitives as g0, computeValueRange as g1, convertOmmlToMathMl as g2, copyFormatFromElement as g3, countAccessibilityIssues as g4, countAnnotationStrokes as g5, createAngularAiBridge as g6, createCustomShow as g7, createSwipeDismissDrag as g8, createWebrtcBundle as g9, enableSoftEdgePatch as gA, encodeGif as gB, endShowMediaCleanup as gC, estimatePageCount as gD, evenColumnWidths as gE, evenRowHeights as gF, exitPresentationFullscreen as gG, exportAiChatLogs as gH, extractPathPoints as gI, eyedropperAvailable as gJ, fillColorOf as gK, findInSlides as gL, findOwningSlideIndex as gM, findSlideIndexByElementId as gN, firstVisibleIndex as gO, fitPolynomial as gP, fitZoom as gQ, focusTargetChips as gR, fontMimeForFormat as gS, fontSizeOf as gT, forgetSessionDeck as gU, formatAutoNumber as gV, formatAxisValue as gW, formatBytes as gX, formatCursorLabel as gY, formatElapsed as gZ, formatFileSize as g_, createWebsocketBundle as ga, cssObjectToStyleMap as gb, currentColorScheme as gc, currentLayout as gd, currentStyle as ge, defaultCssVars as gf, defaultRadius as gg, defaultThemeColors as gh, deleteElementsByIds as gi, deleteVersion as gj, demoteNode as gk, deriveModel3DBlobUrl as gl, derivePresenceList as gm, describeSmartArtBounds as gn, disableGlowPatch as go, disableInnerShadowPatch as gp, disableOuterShadowPatch as gq, disableReflectionPatch as gr, disableSoftEdgePatch as gs, duplicateElementById as gt, durationOf as gu, effectsStateOf as gv, enableGlowPatch as gw, enableInnerShadowPatch as gx, enableOuterShadowPatch as gy, enableReflectionPatch as gz, AccountPageComponent as h, isSigned as h$, formatTime as h0, fpsToFrameIntervalMs as h1, generateBroadcastRoomId as h2, generateCommentId as h3, generateCustomShowId as h4, generatePressureCircles as h5, generateTicks as h6, getClrChangeParams as h7, getContainerStyle as h8, getDuotoneFilterDef as h9, gradientStateOf as hA, gradientStatePatch as hB, gridColumns as hC, groupElements as hD, groupIssuesBySeverity as hE, hasAnimation as hF, hasCopyableFormat as hG, hasExistingLink as hH, hasExitedFullscreen as hI, hasGradientFill as hJ, hasPressureVariation as hK, hasVisibleSlideAfter as hL, headerLabel as hM, imageDimensions as hN, inkViewBox as hO, insertTableElementColumn as hP, insertTableElementRow as hQ, interpolateWidth as hR, isAudienceTab as hS, isBold as hT, isBrowserOpenableMime as hU, isChildNode as hV, isElementInteractive as hW, isInjectableUrl as hX, isItalic as hY, isPpactionUrl as hZ, isPresenterMessage as h_, getImageSrc as ha, getLocalStorageUsageSummary as hb, getOleAriaLabel as hc, getOleBadgeLabel as hd, getOleDisplayName as he, getOleDownloadFileName as hf, getOleTypeColor as hg, getOleTypeLabel as hh, getPasswordStrength as hi, getPatternSvg as hj, getPlaceholderStyle as hk, getVersions as hl, getResolvedShapeClipPath as hm, getResolvedShapeClipPathFor as hn, getSessionTabId as ho, getShapeFillStrokeStyle as hp, getSlideBackgroundStyle as hq, getSlideTransitionAnimations as hr, getSmartArtNodeBounds as hs, getSpeechRecognitionCtor as ht, getTextBlockStyle as hu, getTextWarp as hv, getTouchDistance as hw, getWarpCategory as hx, getWarpPath as hy, gradientStateFromStyle as hz, ActionSettingsPanelComponent as i, pendingElementStyles as i$, isTextElement as i0, isTwoTableFocus as i1, isUnderline as i2, isUrlSafe as i3, isValidRoomId as i4, isViewportBackgroundPressTarget as i5, isZoomActivationKey as i6, issueTrackKey as i7, issueTypeLabel as i8, keyToLabel as i9, newTableElement as iA, newTextElement as iB, nextVisibleIndex as iC, nodeBold as iD, nodeEditBox as iE, nodeFillColor as iF, nodeFontColor as iG, nodeIdFromKey as iH, nodeItalic as iI, nodeStyle as iJ, normalizeFontFormat as iK, normalizeSlidesPerPage as iL, normalizeValue as iM, numFromEvent as iN, ommlToMathml as iO, ooxmlDashToCssBorderStyle as iP, openNativeEyeDropper as iQ, overallStatus as iR, paletteColor as iS, parseAudienceNonce as iT, parseNodeTextarea as iU, partitionSlides as iV, patchChartData as iW, patchChartStyle as iX, patchTableData as iY, patchTextStyle as iZ, patternPresetOptions as i_, lastVisibleIndex as ia, latexToMathml as ib, linePointsToSvgString as ic, lineSpacingPatch as id, loadAudienceContent as ie, loadSessionDeck as ig, mediaFallbackFor as ih, mediaSurfaceFor as ii, mergeCaptionResults as ij, mergeDown as ik, mergeRight as il, mergeSelection as im, moveElementBy as io, moveNodeDown as ip, moveNodeUp as iq, msToFrameDelayCs as ir, narrowToCircle as is, narrowToPolygon as it, narrowToRect as iu, newChartElement as iv, newEquationElement as iw, newPresetShapeElement as ix, newShapeElement as iy, newSmartArtElement as iz, AdvancedChartEditorComponent as j, sanitizeSlideIndex as j$, pickColorByClickFallback as j0, pickFile as j1, pickSupportedMimeType as j2, planGifFrames as j3, planVideoSegments as j4, pointsToSvgPathD as j5, presenceToCursors as j6, presentationStageStyle as j7, presenterTimerProgress as j8, presetByLayout as j9, replaceMatch as jA, requestPresentationFullscreen as jB, resizeElement as jC, resolveCaptionTracks as jD, resolveChartKind as jE, resolveFontVariant as jF, resolveHyperlinkHref as jG, resolveInteractiveElementId as jH, resolveMediaSrc as jI, resolveOleType as jJ, resolveParagraphBullet as jK, resolvePresenterNotes as jL, resolveProfileInitial as jM, resolveRegionCode as jN, resolveSlideAutoAdvanceMs as jO, resolvePalette as jP, resolveThemeCatalogEntry as jQ, resolveTransitionDuration as jR, restoreSessionDeck as jS, revealedElementStyles as jT, routeOrthogonalConnector as jU, rowStyle as jV, rulerDragToGuidePosition as jW, rulerHighlight as jX, rulerStripTicks as jY, sampleColorFromSlide as jZ, sanitizeColor as j_, presetsForCategory as ja, pressuresToWidths as jb, prevVisibleIndex as jc, projectDrawingShapes as jd, promoteNode as je, provideViewerTheme as jf, radarAngle as jg, radarRingPoints as jh, readAsDataUrl as ji, recordWebm as jj, redistributeColumnWidth as jk, registerCrossSlideAudio as jl, rememberSessionDeck as jm, removeAnimation as jn, removeCategory as jo, removeTableElementColumn as jp, removeCommentFromList as jq, removeElementAnimation as jr, removeGradientStopPatch as js, removeNode as jt, removeTableElementRow as ju, removeSeries as jv, renderToCanvas as jw, reorderAnimationDown as jx, reorderAnimationUp as jy, replaceInSlides as jz, AiChangeOverlayComponent as k, statusLabel as k$, sanitizeUserName as k0, saveViewerProfile as k1, scanAvailableFonts as k2, searchSlides as k3, seedBroadcastFields as k4, seedHyperlinkDraft as k5, seedPropertiesDraft as k6, seedShareFields as k7, segmentFrameCount as k8, selectValue$2 as k9, setNodeStyle as kA, setNodeText as kB, setRepeatCount as kC, setRepeatMode as kD, setSequence as kE, setSeriesChartType as kF, setSeriesColor as kG, setSeriesErrorBars as kH, setSeriesMarker as kI, setSeriesName as kJ, setSeriesTrendline as kK, setSeriesValue as kL, setStyle as kM, setTimingCurve as kN, setTitle as kO, setTrigger as kP, setTriggerShapeId as kQ, shapeStylePatch as kR, sheetAfterNavigate as kS, shouldBlockClickAdvance as kT, shouldUseSvgWarp as kU, showDirectionPicker as kV, showsTemplateAffordance as kW, signatureCountLabel as kX, signatureKey as kY, signatureTimestamp as kZ, signerName as k_, sendBackward as ka, sendToBack as kb, sequentialColorScale as kc, serializeWriteBack as kd, seriesColor as ke, setAnimationEmphasis as kf, setAnimationEntrance as kg, setAnimationExit as kh, setAxis as ki, setAxisLogScale as kj, setAxisTitleStyle as kk, setCategoryLabel as kl, setCellText as km, setColorScheme as kn, setDataLabels as ko, setDataPointExplosion as kp, setDataPointFill as kq, setDataPointLabel as kr, setDataPointMarker as ks, setDelay as kt, setDirection as ku, setDuration as kv, setElementPosition as kw, setGridlineStyle as kx, setLayout as ky, setLegend as kz, AiChatPanelComponent as l, slideNumberOf as l0, smartArtNodes as l1, paletteColour as l2, snapToGridStep as l3, splitCursorCell as l4, splitMergedCell as l5, statusKind as l6, statusLabel$1 as l7, storeAudienceContent as l8, stringFromEvent$5 as l9, updateInnerShadowPatch as lA, updateOuterShadowPatch as lB, updateReflectionPatch as lC, vAlignPatch as lD, validatePassword as lE, validatePrintSettings as lF, validateRoomId as lG, valueToY as lH, vermilionDarkColors as lI, vermilionDarkTheme as lJ, vermilionLightColors as lK, vermilionLightTheme as lL, vermilionRadius as lM, waypointsToPathD as lN, worstStatus as lO, zoomTargetSlideIndex as lP, strokeColorOf as la, strokeToInkElement as lb, strokeWidthOf as lc, styleShadowFilter as ld, textAdvancedPatch as le, textAdvancedStateFromStyle as lf, textAdvancedStateOf as lg, textColorOf as lh, textDirectionPatch as li, textStyleOf as lj, textStylePatch as lk, themeStyle as ll, themeToCssVars as lm, thumbnailHeight as ln, thumbnailZoom as lo, toggleCommentResolvedInList as lp, toggleNodeBold as lq, toggleNodeItalic as lr, toggleSheet as ls, topLevelNodeCount as lt, transformSelectedTextCase as lu, translationsEn as lv, ungroupElements as lw, updateElementById as lx, updateGlowPatch as ly, updateGradientStopPatch as lz, AiChatService as m, AiComposerComponent as n, AiFocusBarComponent as o, AiFocusHighlightOverlayComponent as p, AiHistoryMenuComponent as q, AiHistoryService as r, AiMessageListComponent as s, toChatSummary as t, AiPanelStore as u, AiProposalCardComponent as v, AiSettingsSectionComponent as w, AiToolCallCardComponent as x, AnimationAuthorPanelComponent as y, AnimationPanelComponent as z };
127996
+ //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-DMmyHdPM.mjs.map