@magmonium/one 0.4.23 → 0.4.24

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.
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, inject, viewChild, signal, computed, effect, DestroyRef, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { M as MODAL_REF, a as MIN_ZOOM, I as InputType, b as MAX_ZOOM, p as parseRatio, o as outputSize, c as cropRect, i as initialFraming, e as encodeFramed, d as drawFramed, r as renameForType, f as clampFraming, B as ButtonComponent, H as HeaderComponent, R as RangeInputComponent } from './magmonium-one-magmonium-one-DYiAUWQe.mjs';
3
+ import { M as MODAL_REF, a as MIN_ZOOM, I as InputType, b as MAX_ZOOM, p as parseRatio, o as outputSize, c as cropRect, i as initialFraming, e as encodeFramed, d as drawFramed, r as renameForType, f as clampFraming, B as ButtonComponent, H as HeaderComponent, R as RangeInputComponent } from './magmonium-one-magmonium-one-gmpPJsnC.mjs';
4
4
 
5
5
  const WHEEL_ZOOM_RATE = 0.0015;
6
6
  const distance = (a, b) => Math.hypot(a.x - b.x, a.y - b.y);
@@ -287,4 +287,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
287
287
  }], propDecorators: { file: [{ type: i0.Input, args: [{ isSignal: true, alias: "file", required: true }] }], ratio: [{ type: i0.Input, args: [{ isSignal: true, alias: "ratio", required: true }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: true }] }], stage: [{ type: i0.ViewChild, args: ['stage', { isSignal: true }] }] } });
288
288
 
289
289
  export { ImageEditorComponent };
290
- //# sourceMappingURL=magmonium-one-image-editor-Cts7yTVY.mjs.map
290
+ //# sourceMappingURL=magmonium-one-image-editor-CgWR5JsA.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"magmonium-one-image-editor-Cts7yTVY.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/file-upload-input/image-editor.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { HeaderComponent } from '../../../header';\nimport { RangeInputComponent } from '../range/range';\nimport { InputType, RangeInput } from '../../model/input';\nimport { MODAL_REF, ModalRef } from '../../../../config/modal-ref';\nimport {\n clampFraming,\n cropRect,\n drawFramed,\n encodeFramed,\n Framing,\n FrameSize,\n initialFraming,\n MAX_ZOOM,\n MIN_ZOOM,\n outputSize,\n parseRatio,\n renameForType,\n} from './image-frame';\n\n/**\n * What an ImageEditor closes with. The framed file on an apply, `unreadable`\n * when the picture never decoded, and neither for a dismissal — a flat object\n * rather than a union, so the web-component build (no `strict`) reads it too.\n */\nexport type ImageEditorResult = { file?: File; unreadable?: boolean };\n\ntype Point = { x: number; y: number };\n\nconst WHEEL_ZOOM_RATE = 0.0015;\n\nconst distance = (a: Point, b: Point): number =>\n Math.hypot(a.x - b.x, a.y - b.y);\n\n@Component({\n selector: 'm-image-editor',\n template: `\n <div class=\"image-editor\">\n <m-header\n [level]=\"3\"\n label=\"edit-image-size\"\n [params]=\"sizeParams()\"\n />\n <div\n #stage\n class=\"image-editor__stage\"\n [style.aspect-ratio]=\"aspect()\"\n [style.--m-image-editor-aspect]=\"aspect()\"\n [class.image-editor__stage--panning]=\"isPanning()\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerUp($event)\"\n (wheel)=\"onWheel($event)\"\n >\n @if (sourceUrl(); as url) {\n <img\n class=\"image-editor__image\"\n [src]=\"url\"\n alt=\"\"\n draggable=\"false\"\n [style.width.px]=\"imageBox().width\"\n [style.height.px]=\"imageBox().height\"\n [style.transform]=\"imageBox().transform\"\n />\n }\n </div>\n <m-range\n [config]=\"zoomConfig()\"\n [value]=\"zoomPercent()\"\n (valueChange)=\"onZoom($event)\"\n />\n <!-- asset: buttons/okay.yml. No cancel beside it: the Modal's own close\n is the cancel, and it drops the image the same way. -->\n <m-one-button\n name=\"okay\"\n label=\"apply\"\n [disabled]=\"!source() || isApplying()\"\n (clicked)=\"apply()\"\n />\n </div>\n `,\n imports: [ButtonComponent, HeaderComponent, RangeInputComponent],\n styleUrl: './image-editor.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ImageEditorComponent {\n readonly file = input.required<File>();\n readonly ratio = input.required<string>();\n readonly width = input.required<number>();\n\n readonly #modalRef = inject<ModalRef<ImageEditorResult | undefined>>(MODAL_REF);\n private readonly stage = viewChild<ElementRef<HTMLDivElement>>('stage');\n\n protected readonly source = signal<ImageBitmap | undefined>(undefined);\n protected readonly sourceUrl = signal<string | undefined>(undefined);\n protected readonly isApplying = signal(false);\n private readonly framing = signal<Framing>({ cx: 0, cy: 0, zoom: MIN_ZOOM });\n private readonly stageWidth = signal(0);\n private readonly pointers = new Map<number, Point>();\n protected readonly isPanning = signal(false);\n #settled = false;\n\n protected readonly zoomConfig = computed<RangeInput>(() => ({\n name: 'zoom',\n label: 'zoom',\n type: InputType.RANGE,\n min: MIN_ZOOM * 100,\n max: MAX_ZOOM * 100,\n }));\n\n protected readonly aspect = computed(() => parseRatio(this.ratio()) ?? 1);\n\n private readonly output = computed<FrameSize | undefined>(() =>\n outputSize(this.ratio(), this.width())\n );\n\n protected readonly sizeParams = computed(() => {\n const size = this.output();\n return {\n width: String(size?.width ?? ''),\n height: String(size?.height ?? ''),\n };\n });\n\n private readonly imageSize = computed<FrameSize | undefined>(() => {\n const bitmap = this.source();\n return bitmap ? { width: bitmap.width, height: bitmap.height } : undefined;\n });\n\n protected readonly zoomPercent = computed(() =>\n String(Math.round(this.framing().zoom * 100))\n );\n\n /** The whole picture laid out so the box shows exactly the crop. */\n protected readonly imageBox = computed(() => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return { width: 0, height: 0, transform: 'none' };\n const rect = cropRect(image, this.aspect(), this.framing());\n const scale = stage / rect.width;\n return {\n width: image.width * scale,\n height: image.height * scale,\n transform: `translate(${-rect.x * scale}px, ${-rect.y * scale}px)`,\n };\n });\n\n private readonly load = effect((onCleanup) => {\n const file = this.file();\n let cancelled = false;\n const url = URL.createObjectURL(file);\n this.sourceUrl.set(url);\n // EXIF orientation applied here, so the geometry below and the <img> the\n // stage draws agree on which way is up.\n createImageBitmap(file, { imageOrientation: 'from-image' })\n .then((bitmap) => {\n if (cancelled) {\n bitmap.close();\n return;\n }\n this.framing.set(\n initialFraming({ width: bitmap.width, height: bitmap.height })\n );\n this.source.set(bitmap);\n })\n .catch(() => {\n if (!cancelled) this.settle({ unreadable: true });\n });\n onCleanup(() => {\n cancelled = true;\n URL.revokeObjectURL(url);\n this.source()?.close();\n });\n });\n\n private readonly measure = effect((onCleanup) => {\n const stage = this.stage()?.nativeElement;\n if (!stage) return;\n this.stageWidth.set(stage.clientWidth);\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(([entry]) =>\n this.stageWidth.set(entry.contentRect.width)\n );\n observer.observe(stage);\n onCleanup(() => observer.disconnect());\n });\n\n // The Modal's own close affordance destroys the body without a word, and a\n // dismissal is a cancel: whoever opened the editor is still waiting.\n private readonly reportDismissal = inject(DestroyRef).onDestroy(() =>\n this.settle(undefined)\n );\n\n protected onPointerDown = (event: PointerEvent): void => {\n if (!this.source()) return;\n (event.currentTarget as HTMLElement).setPointerCapture?.(event.pointerId);\n this.pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });\n this.isPanning.set(true);\n };\n\n protected onPointerMove = (event: PointerEvent): void => {\n const previous = this.pointers.get(event.pointerId);\n if (!previous) return;\n const next = { x: event.clientX, y: event.clientY };\n const others = [...this.pointers.entries()].filter(\n ([id]) => id !== event.pointerId\n );\n if (others.length === 1) {\n // Pinch: the gap between two fingers is the zoom.\n const anchor = others[0][1];\n const before = distance(previous, anchor);\n if (before > 0) this.zoomBy(distance(next, anchor) / before);\n } else if (others.length === 0) {\n this.panBy(next.x - previous.x, next.y - previous.y);\n }\n this.pointers.set(event.pointerId, next);\n };\n\n protected onPointerUp = (event: PointerEvent): void => {\n this.pointers.delete(event.pointerId);\n this.isPanning.set(this.pointers.size > 0);\n };\n\n protected onWheel = (event: WheelEvent): void => {\n if (!this.source()) return;\n event.preventDefault();\n this.zoomBy(Math.exp(-event.deltaY * WHEEL_ZOOM_RATE));\n };\n\n protected onZoom = (percent: string): void => {\n const zoom = Number(percent) / 100;\n if (!Number.isFinite(zoom)) return;\n this.updateFraming((framing) => ({ ...framing, zoom }));\n };\n\n protected apply = async (): Promise<void> => {\n const bitmap = this.source();\n const image = this.imageSize();\n const output = this.output();\n if (!bitmap || !image || !output || this.isApplying()) return;\n this.isApplying.set(true);\n try {\n const rect = cropRect(image, this.aspect(), this.framing());\n const blob = await encodeFramed(drawFramed(bitmap, rect, output));\n const original = this.file();\n this.settle({\n file: new File([blob], renameForType(original.name, blob.type), {\n type: blob.type,\n lastModified: Date.now(),\n }),\n });\n } catch {\n this.settle({ unreadable: true });\n }\n };\n\n /** Screen pixels dragged, moved into source pixels at the current scale. */\n private panBy = (dx: number, dy: number): void => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return;\n const rect = cropRect(image, this.aspect(), this.framing());\n const perPixel = rect.width / stage;\n this.updateFraming((framing) => ({\n ...framing,\n cx: framing.cx - dx * perPixel,\n cy: framing.cy - dy * perPixel,\n }));\n };\n\n private zoomBy = (factor: number): void => {\n this.updateFraming((framing) => ({\n ...framing,\n zoom: framing.zoom * factor,\n }));\n };\n\n private updateFraming = (change: (framing: Framing) => Framing): void => {\n const image = this.imageSize();\n if (!image) return;\n this.framing.update((framing) =>\n clampFraming(image, this.aspect(), change(framing))\n );\n };\n\n private settle = (result: ImageEditorResult | undefined): void => {\n if (this.#settled) return;\n this.#settled = true;\n this.#modalRef.close(result);\n };\n}\n"],"names":[],"mappings":";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,QAAA,EAAA,SAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAIpD,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBApDhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,QAAA,EAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CT,EAAA,OAAA,EACQ,CAAC,eAAe,EAAE,eAAe,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAE/C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,0wBAAA,CAAA,EAAA;4UAQgB,OAAO,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
1
+ {"version":3,"file":"magmonium-one-image-editor-CgWR5JsA.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/file-upload-input/image-editor.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { HeaderComponent } from '../../../header';\nimport { RangeInputComponent } from '../range/range';\nimport { InputType, RangeInput } from '../../model/input';\nimport { MODAL_REF, ModalRef } from '../../../../config/modal-ref';\nimport {\n clampFraming,\n cropRect,\n drawFramed,\n encodeFramed,\n Framing,\n FrameSize,\n initialFraming,\n MAX_ZOOM,\n MIN_ZOOM,\n outputSize,\n parseRatio,\n renameForType,\n} from './image-frame';\n\n/**\n * What an ImageEditor closes with. The framed file on an apply, `unreadable`\n * when the picture never decoded, and neither for a dismissal — a flat object\n * rather than a union, so the web-component build (no `strict`) reads it too.\n */\nexport type ImageEditorResult = { file?: File; unreadable?: boolean };\n\ntype Point = { x: number; y: number };\n\nconst WHEEL_ZOOM_RATE = 0.0015;\n\nconst distance = (a: Point, b: Point): number =>\n Math.hypot(a.x - b.x, a.y - b.y);\n\n@Component({\n selector: 'm-image-editor',\n template: `\n <div class=\"image-editor\">\n <m-header\n [level]=\"3\"\n label=\"edit-image-size\"\n [params]=\"sizeParams()\"\n />\n <div\n #stage\n class=\"image-editor__stage\"\n [style.aspect-ratio]=\"aspect()\"\n [style.--m-image-editor-aspect]=\"aspect()\"\n [class.image-editor__stage--panning]=\"isPanning()\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerUp($event)\"\n (wheel)=\"onWheel($event)\"\n >\n @if (sourceUrl(); as url) {\n <img\n class=\"image-editor__image\"\n [src]=\"url\"\n alt=\"\"\n draggable=\"false\"\n [style.width.px]=\"imageBox().width\"\n [style.height.px]=\"imageBox().height\"\n [style.transform]=\"imageBox().transform\"\n />\n }\n </div>\n <m-range\n [config]=\"zoomConfig()\"\n [value]=\"zoomPercent()\"\n (valueChange)=\"onZoom($event)\"\n />\n <!-- asset: buttons/okay.yml. No cancel beside it: the Modal's own close\n is the cancel, and it drops the image the same way. -->\n <m-one-button\n name=\"okay\"\n label=\"apply\"\n [disabled]=\"!source() || isApplying()\"\n (clicked)=\"apply()\"\n />\n </div>\n `,\n imports: [ButtonComponent, HeaderComponent, RangeInputComponent],\n styleUrl: './image-editor.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ImageEditorComponent {\n readonly file = input.required<File>();\n readonly ratio = input.required<string>();\n readonly width = input.required<number>();\n\n readonly #modalRef = inject<ModalRef<ImageEditorResult | undefined>>(MODAL_REF);\n private readonly stage = viewChild<ElementRef<HTMLDivElement>>('stage');\n\n protected readonly source = signal<ImageBitmap | undefined>(undefined);\n protected readonly sourceUrl = signal<string | undefined>(undefined);\n protected readonly isApplying = signal(false);\n private readonly framing = signal<Framing>({ cx: 0, cy: 0, zoom: MIN_ZOOM });\n private readonly stageWidth = signal(0);\n private readonly pointers = new Map<number, Point>();\n protected readonly isPanning = signal(false);\n #settled = false;\n\n protected readonly zoomConfig = computed<RangeInput>(() => ({\n name: 'zoom',\n label: 'zoom',\n type: InputType.RANGE,\n min: MIN_ZOOM * 100,\n max: MAX_ZOOM * 100,\n }));\n\n protected readonly aspect = computed(() => parseRatio(this.ratio()) ?? 1);\n\n private readonly output = computed<FrameSize | undefined>(() =>\n outputSize(this.ratio(), this.width())\n );\n\n protected readonly sizeParams = computed(() => {\n const size = this.output();\n return {\n width: String(size?.width ?? ''),\n height: String(size?.height ?? ''),\n };\n });\n\n private readonly imageSize = computed<FrameSize | undefined>(() => {\n const bitmap = this.source();\n return bitmap ? { width: bitmap.width, height: bitmap.height } : undefined;\n });\n\n protected readonly zoomPercent = computed(() =>\n String(Math.round(this.framing().zoom * 100))\n );\n\n /** The whole picture laid out so the box shows exactly the crop. */\n protected readonly imageBox = computed(() => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return { width: 0, height: 0, transform: 'none' };\n const rect = cropRect(image, this.aspect(), this.framing());\n const scale = stage / rect.width;\n return {\n width: image.width * scale,\n height: image.height * scale,\n transform: `translate(${-rect.x * scale}px, ${-rect.y * scale}px)`,\n };\n });\n\n private readonly load = effect((onCleanup) => {\n const file = this.file();\n let cancelled = false;\n const url = URL.createObjectURL(file);\n this.sourceUrl.set(url);\n // EXIF orientation applied here, so the geometry below and the <img> the\n // stage draws agree on which way is up.\n createImageBitmap(file, { imageOrientation: 'from-image' })\n .then((bitmap) => {\n if (cancelled) {\n bitmap.close();\n return;\n }\n this.framing.set(\n initialFraming({ width: bitmap.width, height: bitmap.height })\n );\n this.source.set(bitmap);\n })\n .catch(() => {\n if (!cancelled) this.settle({ unreadable: true });\n });\n onCleanup(() => {\n cancelled = true;\n URL.revokeObjectURL(url);\n this.source()?.close();\n });\n });\n\n private readonly measure = effect((onCleanup) => {\n const stage = this.stage()?.nativeElement;\n if (!stage) return;\n this.stageWidth.set(stage.clientWidth);\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(([entry]) =>\n this.stageWidth.set(entry.contentRect.width)\n );\n observer.observe(stage);\n onCleanup(() => observer.disconnect());\n });\n\n // The Modal's own close affordance destroys the body without a word, and a\n // dismissal is a cancel: whoever opened the editor is still waiting.\n private readonly reportDismissal = inject(DestroyRef).onDestroy(() =>\n this.settle(undefined)\n );\n\n protected onPointerDown = (event: PointerEvent): void => {\n if (!this.source()) return;\n (event.currentTarget as HTMLElement).setPointerCapture?.(event.pointerId);\n this.pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });\n this.isPanning.set(true);\n };\n\n protected onPointerMove = (event: PointerEvent): void => {\n const previous = this.pointers.get(event.pointerId);\n if (!previous) return;\n const next = { x: event.clientX, y: event.clientY };\n const others = [...this.pointers.entries()].filter(\n ([id]) => id !== event.pointerId\n );\n if (others.length === 1) {\n // Pinch: the gap between two fingers is the zoom.\n const anchor = others[0][1];\n const before = distance(previous, anchor);\n if (before > 0) this.zoomBy(distance(next, anchor) / before);\n } else if (others.length === 0) {\n this.panBy(next.x - previous.x, next.y - previous.y);\n }\n this.pointers.set(event.pointerId, next);\n };\n\n protected onPointerUp = (event: PointerEvent): void => {\n this.pointers.delete(event.pointerId);\n this.isPanning.set(this.pointers.size > 0);\n };\n\n protected onWheel = (event: WheelEvent): void => {\n if (!this.source()) return;\n event.preventDefault();\n this.zoomBy(Math.exp(-event.deltaY * WHEEL_ZOOM_RATE));\n };\n\n protected onZoom = (percent: string): void => {\n const zoom = Number(percent) / 100;\n if (!Number.isFinite(zoom)) return;\n this.updateFraming((framing) => ({ ...framing, zoom }));\n };\n\n protected apply = async (): Promise<void> => {\n const bitmap = this.source();\n const image = this.imageSize();\n const output = this.output();\n if (!bitmap || !image || !output || this.isApplying()) return;\n this.isApplying.set(true);\n try {\n const rect = cropRect(image, this.aspect(), this.framing());\n const blob = await encodeFramed(drawFramed(bitmap, rect, output));\n const original = this.file();\n this.settle({\n file: new File([blob], renameForType(original.name, blob.type), {\n type: blob.type,\n lastModified: Date.now(),\n }),\n });\n } catch {\n this.settle({ unreadable: true });\n }\n };\n\n /** Screen pixels dragged, moved into source pixels at the current scale. */\n private panBy = (dx: number, dy: number): void => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return;\n const rect = cropRect(image, this.aspect(), this.framing());\n const perPixel = rect.width / stage;\n this.updateFraming((framing) => ({\n ...framing,\n cx: framing.cx - dx * perPixel,\n cy: framing.cy - dy * perPixel,\n }));\n };\n\n private zoomBy = (factor: number): void => {\n this.updateFraming((framing) => ({\n ...framing,\n zoom: framing.zoom * factor,\n }));\n };\n\n private updateFraming = (change: (framing: Framing) => Framing): void => {\n const image = this.imageSize();\n if (!image) return;\n this.framing.update((framing) =>\n clampFraming(image, this.aspect(), change(framing))\n );\n };\n\n private settle = (result: ImageEditorResult | undefined): void => {\n if (this.#settled) return;\n this.#settled = true;\n this.#modalRef.close(result);\n };\n}\n"],"names":[],"mappings":";;;;AAyCA,MAAM,eAAe,GAAG,MAAM;AAE9B,MAAM,QAAQ,GAAG,CAAC,CAAQ,EAAE,CAAQ,KAClC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;MAsDrB,oBAAoB,CAAA;AACtB,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAQ;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAU;AAChC,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAU;AAEhC,IAAA,SAAS,GAAG,MAAM,CAA0C,SAAS,CAAC;AAC9D,IAAA,KAAK,GAAG,SAAS,CAA6B,OAAO,4EAAC;AAEpD,IAAA,MAAM,GAAG,MAAM,CAA0B,SAAS,6EAAC;AACnD,IAAA,SAAS,GAAG,MAAM,CAAqB,SAAS,gFAAC;AACjD,IAAA,UAAU,GAA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{
11456
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-DI-xaAPU.mjs');
11456
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-AftA6cwc.mjs');
11457
11457
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
11458
11458
  break;
11459
11459
  }
@@ -11465,12 +11465,12 @@ class SectionFormItemComponent extends ConfigComponent {
11465
11465
  break;
11466
11466
  }
11467
11467
  case InputType.PASSWORD: {
11468
- const { PasswordInputComponent } = await import('./magmonium-one-password-0yqcwSuI.mjs');
11468
+ const { PasswordInputComponent } = await import('./magmonium-one-password-BIv5qjgx.mjs');
11469
11469
  this.createDynamicComponent(seq, PasswordInputComponent);
11470
11470
  break;
11471
11471
  }
11472
11472
  case InputType.OTP: {
11473
- const { OtpInputComponent } = await import('./magmonium-one-otp--l6d3azh.mjs');
11473
+ const { OtpInputComponent } = await import('./magmonium-one-otp-CVAektYK.mjs');
11474
11474
  this.createDynamicComponent(seq, OtpInputComponent);
11475
11475
  break;
11476
11476
  }
@@ -18243,7 +18243,7 @@ class SectionComponent extends ConfigComponent {
18243
18243
  }
18244
18244
  </div>
18245
18245
  </div>
18246
- `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline-start:0;margin-inline-end:auto}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}:host(.is-full-height) .m-section__collapsible:not(.is-collapsed)>.m-section__collapsible-content{overflow:visible}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18246
+ `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline:auto}:host(.align-left) .m-section__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-section__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-section__body{margin-inline:auto;justify-content:center}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}:host(.is-full-height) .m-section__collapsible:not(.is-collapsed)>.m-section__collapsible-content{overflow:visible}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18247
18247
  }
18248
18248
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SectionComponent, decorators: [{
18249
18249
  type: Component,
@@ -18350,7 +18350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
18350
18350
  };
18351
18351
  },
18352
18352
  },
18353
- ], styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline-start:0;margin-inline-end:auto}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}:host(.is-full-height) .m-section__collapsible:not(.is-collapsed)>.m-section__collapsible-content{overflow:visible}\n"] }]
18353
+ ], styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline:auto}:host(.align-left) .m-section__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-section__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-section__body{margin-inline:auto;justify-content:center}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}:host(.is-full-height) .m-section__collapsible:not(.is-collapsed)>.m-section__collapsible-content{overflow:visible}\n"] }]
18354
18354
  }], ctorParameters: () => [], propDecorators: { badges: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionBadgesComponent), { isSignal: true }] }], toggle: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionToggleComponent), { isSignal: true }] }], action: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ActionComponent), { isSignal: true }] }], back: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionBackComponent), { isSignal: true }] }], search: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionSearchComponent), { isSignal: true }] }], filter: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionFilterComponent), { isSignal: true }] }], filterGroup: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionFilterGroupComponent), { isSignal: true }] }], stepper: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionStepperComponent), { isSignal: true }] }], hero: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionHeroComponent), { isSignal: true }] }], jumbotron: [{ type: i0.ContentChild, args: [i0.forwardRef(() => JumbotronComponent), { isSignal: true }] }], carousel: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CarouselComponent), { isSignal: true }] }], footer: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionFooterComponent), { isSignal: true }] }], pagination: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionPaginationComponent), { isSignal: true }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], heightMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "heightMode", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], alignX: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignX", required: false }] }], alignY: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignY", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], inView: [{ type: i0.Output, args: ["inView"] }] } });
18355
18355
 
18356
18356
  class UserApiService {
@@ -20280,7 +20280,7 @@ class RowComponent extends ConfigComponent {
20280
20280
  <div class="m-row__body">
20281
20281
  <ng-content />
20282
20282
  </div>
20283
- `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;grid-column:span 12;width:100%;box-sizing:border-box;border-bottom:1px solid var(--m-backdrop-border);min-height:5em}:host(.no-border){border-bottom:none}:host-context(.is-with-border):last-child,:host-context(.is-sandwich-border):last-child{border-bottom:none}:host.has-padding-y{padding-block:var(--m-row-py, var(--section-pt, var(--_section-pt, 1.5rem)))}.m-row__body{display:flex;flex-wrap:wrap;align-content:flex-start;max-width:var(--m-row-max-width);margin-inline:auto}:host.has-padding-x .m-row__body{padding-inline:var(--m-row-px, var(--section-px, var(--_section-px, 1rem)))}:host.is-center .m-row__body{display:flex;justify-content:center;align-items:center}:host(.align-left) .m-row__body,:host(.align-right) .m-row__body,:host(.align-center) .m-row__body{margin-inline-start:0;margin-inline-end:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20283
+ `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;grid-column:span 12;width:100%;box-sizing:border-box;border-bottom:1px solid var(--m-backdrop-border);min-height:5em}:host(.no-border){border-bottom:none}:host-context(.is-with-border):last-child,:host-context(.is-sandwich-border):last-child{border-bottom:none}:host.has-padding-y{padding-block:var(--m-row-py, var(--section-pt, var(--_section-pt, 1.5rem)))}.m-row__body{display:flex;flex-wrap:wrap;align-content:flex-start;max-width:var(--m-row-max-width);margin-inline:auto}:host.has-padding-x .m-row__body{padding-inline:var(--m-row-px, var(--section-px, var(--_section-px, 1rem)))}:host.is-center .m-row__body{display:flex;justify-content:center;align-items:center}:host(.align-left) .m-row__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-row__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-row__body{margin-inline:auto;justify-content:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20284
20284
  }
20285
20285
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RowComponent, decorators: [{
20286
20286
  type: Component,
@@ -20292,7 +20292,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
20292
20292
  class: 'm-row',
20293
20293
  '[class]': 'classes()',
20294
20294
  '[style.--m-row-max-width]': 'resolvedMaxWidth()',
20295
- }, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;grid-column:span 12;width:100%;box-sizing:border-box;border-bottom:1px solid var(--m-backdrop-border);min-height:5em}:host(.no-border){border-bottom:none}:host-context(.is-with-border):last-child,:host-context(.is-sandwich-border):last-child{border-bottom:none}:host.has-padding-y{padding-block:var(--m-row-py, var(--section-pt, var(--_section-pt, 1.5rem)))}.m-row__body{display:flex;flex-wrap:wrap;align-content:flex-start;max-width:var(--m-row-max-width);margin-inline:auto}:host.has-padding-x .m-row__body{padding-inline:var(--m-row-px, var(--section-px, var(--_section-px, 1rem)))}:host.is-center .m-row__body{display:flex;justify-content:center;align-items:center}:host(.align-left) .m-row__body,:host(.align-right) .m-row__body,:host(.align-center) .m-row__body{margin-inline-start:0;margin-inline-end:auto}\n"] }]
20295
+ }, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;grid-column:span 12;width:100%;box-sizing:border-box;border-bottom:1px solid var(--m-backdrop-border);min-height:5em}:host(.no-border){border-bottom:none}:host-context(.is-with-border):last-child,:host-context(.is-sandwich-border):last-child{border-bottom:none}:host.has-padding-y{padding-block:var(--m-row-py, var(--section-pt, var(--_section-pt, 1.5rem)))}.m-row__body{display:flex;flex-wrap:wrap;align-content:flex-start;max-width:var(--m-row-max-width);margin-inline:auto}:host.has-padding-x .m-row__body{padding-inline:var(--m-row-px, var(--section-px, var(--_section-px, 1rem)))}:host.is-center .m-row__body{display:flex;justify-content:center;align-items:center}:host(.align-left) .m-row__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-row__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-row__body{margin-inline:auto;justify-content:center}\n"] }]
20296
20296
  }], propDecorators: { padding: [{ type: i0.Input, args: [{ isSignal: true, alias: "padding", required: false }] }], paddingX: [{ type: i0.Input, args: [{ isSignal: true, alias: "paddingX", required: false }] }], paddingY: [{ type: i0.Input, args: [{ isSignal: true, alias: "paddingY", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], center: [{ type: i0.Input, args: [{ isSignal: true, alias: "center", required: false }] }] } });
20297
20297
 
20298
20298
  // The line box each heading level draws, straight from `header.sass`: its font
@@ -23724,7 +23724,7 @@ class WrapperInputComponent extends ConfigComponent {
23724
23724
  break;
23725
23725
  }
23726
23726
  case InputType.TOGGLE: {
23727
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-DI-xaAPU.mjs');
23727
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-AftA6cwc.mjs');
23728
23728
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
23729
23729
  break;
23730
23730
  }
@@ -23736,12 +23736,12 @@ class WrapperInputComponent extends ConfigComponent {
23736
23736
  break;
23737
23737
  }
23738
23738
  case InputType.PASSWORD: {
23739
- const { PasswordInputComponent } = await import('./magmonium-one-password-0yqcwSuI.mjs');
23739
+ const { PasswordInputComponent } = await import('./magmonium-one-password-BIv5qjgx.mjs');
23740
23740
  this.createDynamicComponent(seq, PasswordInputComponent);
23741
23741
  break;
23742
23742
  }
23743
23743
  case InputType.OTP: {
23744
- const { OtpInputComponent } = await import('./magmonium-one-otp--l6d3azh.mjs');
23744
+ const { OtpInputComponent } = await import('./magmonium-one-otp-CVAektYK.mjs');
23745
23745
  this.createDynamicComponent(seq, OtpInputComponent);
23746
23746
  break;
23747
23747
  }
@@ -25470,7 +25470,7 @@ class FileUploadInputComponent extends BaseInputComponent {
25470
25470
  const modalStore = this.modalStore;
25471
25471
  if (!modalStore)
25472
25472
  return undefined;
25473
- const { ImageEditorComponent } = await import('./magmonium-one-image-editor-Cts7yTVY.mjs');
25473
+ const { ImageEditorComponent } = await import('./magmonium-one-image-editor-CgWR5JsA.mjs');
25474
25474
  const ratio = String(this.config()?.ratio ?? '');
25475
25475
  return new Promise((resolve) => {
25476
25476
  const modalRef = new ModalRef();
@@ -29811,8 +29811,10 @@ const DOC_DENSITIES = [
29811
29811
  'default',
29812
29812
  'spaced',
29813
29813
  ];
29814
+ const DOC_ALIGNS = ['left', 'center', 'right'];
29814
29815
  const DEFAULT_DOC_VARIANT = 'plain';
29815
29816
  const DEFAULT_DOC_DENSITY = 'default';
29817
+ const DEFAULT_DOC_ALIGN = 'left';
29816
29818
 
29817
29819
  /** What a missing translation of a document falls back to before giving up. */
29818
29820
  const DEFAULT_DOC_LANG = 'en';
@@ -29846,9 +29848,11 @@ class DocComponent {
29846
29848
  variant = input(DEFAULT_DOC_VARIANT, ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
29847
29849
  /** The rhythm — type size and the space between blocks. */
29848
29850
  density = input(DEFAULT_DOC_DENSITY, ...(ngDevMode ? [{ debugName: "density" }] : /* istanbul ignore next */ []));
29851
+ /** Where the text sits on the line — `left` unless picked otherwise. */
29852
+ align = input(DEFAULT_DOC_ALIGN, ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
29849
29853
  http = inject(HttpService);
29850
29854
  translate = inject(TranslateService);
29851
- rootClass = computed(() => `m-doc m-doc--${this.variant()} m-doc--${this.density()}`, ...(ngDevMode ? [{ debugName: "rootClass" }] : /* istanbul ignore next */ []));
29855
+ rootClass = computed(() => `m-doc m-doc--${this.variant()} m-doc--${this.density()} m-doc--align-${this.align()}`, ...(ngDevMode ? [{ debugName: "rootClass" }] : /* istanbul ignore next */ []));
29852
29856
  html = signal('', ...(ngDevMode ? [{ debugName: "html" }] : /* istanbul ignore next */ []));
29853
29857
  pending = signal(false, ...(ngDevMode ? [{ debugName: "pending" }] : /* istanbul ignore next */ []));
29854
29858
  /** Only the newest read may write; an input changed mid-flight wins. */
@@ -29929,14 +29933,14 @@ class DocComponent {
29929
29933
  this.pending.set(false);
29930
29934
  }
29931
29935
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DocComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29932
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DocComponent, isStandalone: true, selector: "m-doc", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: false, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: false, transformFunction: null }, designSrc: { classPropertyName: "designSrc", publicName: "designSrc", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "doc-host" }, ngImport: i0, template: `
29936
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DocComponent, isStandalone: true, selector: "m-doc", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: false, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: false, transformFunction: null }, designSrc: { classPropertyName: "designSrc", publicName: "designSrc", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "doc-host" }, ngImport: i0, template: `
29933
29937
  <div [class]="rootClass()">
29934
29938
  @if (pending()) {
29935
29939
  <div class="m-doc__skeleton"></div>
29936
29940
  }
29937
29941
  <div class="m-doc__body" [innerHTML]="html()"></div>
29938
29942
  </div>
29939
- `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}.doc-host{display:block;width:100%}.m-doc{--m-doc-font: 1rem;--m-doc-line: 1.65;--m-doc-gap: 1em;--m-doc-heading-gap: 1.5em;--m-doc-heading-scale: 1;--m-doc-heading-boost: 1;--m-doc-cell: .5em .75em;--m-doc-pad: 1.25rem;position:relative;width:100%;color:var(--m-text);font-size:var(--m-doc-font);line-height:var(--m-doc-line)}.m-doc--compact{--m-doc-font: .875rem;--m-doc-line: 1.45;--m-doc-gap: .5em;--m-doc-heading-gap: 1em;--m-doc-heading-scale: .8;--m-doc-cell: .25em .5em;--m-doc-pad: .75rem}.m-doc--spaced{--m-doc-font: 1.0625rem;--m-doc-line: 1.8;--m-doc-gap: 1.5em;--m-doc-heading-gap: 2em;--m-doc-heading-scale: 1.1;--m-doc-cell: .75em 1em;--m-doc-pad: 2rem}.m-doc--card{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem;background:var(--m-background-lite)}.m-doc--outline{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem}.m-doc--article{--m-doc-heading-boost: 1.15;max-width:70ch;margin-inline:auto}.m-doc--article .m-doc__body>p:first-child{font-size:1.15em;color:var(--m-text-secondary)}.m-doc--muted{color:var(--m-text-secondary)}.m-doc--muted .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc--callout{padding:var(--m-doc-pad);border-left:3px solid var(--m-mm);border-radius:0 .5rem .5rem 0;background:color-mix(in srgb,var(--m-mm) 8%,transparent)}.m-doc--accent .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-mm)}.m-doc--quiet .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc__skeleton{height:12rem;border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 6%,transparent);animation:doc-pulse 1.4s ease-in-out infinite}.m-doc__body{display:block}.m-doc__body>:first-child{margin-top:0}.m-doc__body>:last-child{margin-bottom:0}.m-doc__body :is(h1,h2,h3,h4,h5,h6){margin:var(--m-doc-heading-gap) 0 .5em;line-height:1.25;color:var(--m-text)}.m-doc__body h1{font-size:calc(2em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h2{font-size:calc(1.6em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h3{font-size:calc(1.3em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h4{font-size:calc(1.1em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body :is(h5,h6){font-size:1em}.m-doc__body :is(p,ul,ol,blockquote,pre,table){margin:0 0 var(--m-doc-gap)}.m-doc__body :is(ul,ol){padding-left:1.5em}.m-doc__body li+li{margin-top:calc(var(--m-doc-gap) * .25)}.m-doc__body a{color:var(--m-mm);text-decoration:underline}.m-doc__body hr{margin:calc(var(--m-doc-gap) * 1.5) 0;border:0;border-top:1px solid var(--m-border)}.m-doc__body code{padding:.15em .35em;border-radius:.25rem;background:color-mix(in srgb,var(--m-text) 8%,transparent);font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em}.m-doc__body pre{overflow-x:auto;padding:1em;border:1px solid var(--m-border);border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 5%,transparent)}.m-doc__body pre code{padding:0;background:none}.m-doc__body blockquote{padding-left:1em;border-left:2px solid var(--m-border);color:var(--m-text-secondary)}.m-doc__body table{width:100%;border-collapse:collapse}.m-doc__body table :is(th,td){padding:var(--m-doc-cell);border-bottom:1px solid var(--m-border);text-align:left}.m-doc__body table th{font-weight:600}@keyframes doc-pulse{0%,to{opacity:.5}50%{opacity:.9}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
29943
+ `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}.doc-host{display:block;width:100%}.m-doc{--m-doc-font: 1rem;--m-doc-line: 1.65;--m-doc-gap: 1em;--m-doc-heading-gap: 1.5em;--m-doc-heading-scale: 1;--m-doc-heading-boost: 1;--m-doc-cell: .5em .75em;--m-doc-pad: 1.25rem;position:relative;width:100%;color:var(--m-text);font-size:var(--m-doc-font);line-height:var(--m-doc-line)}.m-doc--compact{--m-doc-font: .875rem;--m-doc-line: 1.45;--m-doc-gap: .5em;--m-doc-heading-gap: 1em;--m-doc-heading-scale: .8;--m-doc-cell: .25em .5em;--m-doc-pad: .75rem}.m-doc--spaced{--m-doc-font: 1.0625rem;--m-doc-line: 1.8;--m-doc-gap: 1.5em;--m-doc-heading-gap: 2em;--m-doc-heading-scale: 1.1;--m-doc-cell: .75em 1em;--m-doc-pad: 2rem}.m-doc--card{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem;background:var(--m-background-lite)}.m-doc--outline{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem}.m-doc--article{--m-doc-heading-boost: 1.15;max-width:70ch;margin-inline:auto}.m-doc--article .m-doc__body>p:first-child{font-size:1.15em;color:var(--m-text-secondary)}.m-doc--muted{color:var(--m-text-secondary)}.m-doc--muted .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc--callout{padding:var(--m-doc-pad);border-left:3px solid var(--m-mm);border-radius:0 .5rem .5rem 0;background:color-mix(in srgb,var(--m-mm) 8%,transparent)}.m-doc--accent .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-mm)}.m-doc--quiet .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc--align-left{text-align:left}.m-doc--align-center{text-align:center}.m-doc--align-right{text-align:right}.m-doc__skeleton{height:12rem;border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 6%,transparent);animation:doc-pulse 1.4s ease-in-out infinite}.m-doc__body{display:block}.m-doc__body>:first-child{margin-top:0}.m-doc__body>:last-child{margin-bottom:0}.m-doc__body :is(h1,h2,h3,h4,h5,h6){margin:var(--m-doc-heading-gap) 0 .5em;line-height:1.25;color:var(--m-text)}.m-doc__body h1{font-size:calc(2em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h2{font-size:calc(1.6em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h3{font-size:calc(1.3em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h4{font-size:calc(1.1em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body :is(h5,h6){font-size:1em}.m-doc__body :is(p,ul,ol,blockquote,pre,table){margin:0 0 var(--m-doc-gap)}.m-doc__body :is(ul,ol){padding-left:1.5em}.m-doc__body li+li{margin-top:calc(var(--m-doc-gap) * .25)}.m-doc__body a{color:var(--m-mm);text-decoration:underline}.m-doc__body hr{margin:calc(var(--m-doc-gap) * 1.5) 0;border:0;border-top:1px solid var(--m-border)}.m-doc__body code{padding:.15em .35em;border-radius:.25rem;background:color-mix(in srgb,var(--m-text) 8%,transparent);font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em}.m-doc__body pre{overflow-x:auto;padding:1em;border:1px solid var(--m-border);border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 5%,transparent)}.m-doc__body pre code{padding:0;background:none}.m-doc__body blockquote{padding-left:1em;border-left:2px solid var(--m-border);color:var(--m-text-secondary)}.m-doc__body table{width:100%;border-collapse:collapse}.m-doc__body table :is(th,td){padding:var(--m-doc-cell);border-bottom:1px solid var(--m-border);text-align:left}.m-doc__body table th{font-weight:600}@keyframes doc-pulse{0%,to{opacity:.5}50%{opacity:.9}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
29940
29944
  }
29941
29945
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DocComponent, decorators: [{
29942
29946
  type: Component,
@@ -29947,8 +29951,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
29947
29951
  }
29948
29952
  <div class="m-doc__body" [innerHTML]="html()"></div>
29949
29953
  </div>
29950
- `, encapsulation: ViewEncapsulation.None, host: { class: 'doc-host' }, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}.doc-host{display:block;width:100%}.m-doc{--m-doc-font: 1rem;--m-doc-line: 1.65;--m-doc-gap: 1em;--m-doc-heading-gap: 1.5em;--m-doc-heading-scale: 1;--m-doc-heading-boost: 1;--m-doc-cell: .5em .75em;--m-doc-pad: 1.25rem;position:relative;width:100%;color:var(--m-text);font-size:var(--m-doc-font);line-height:var(--m-doc-line)}.m-doc--compact{--m-doc-font: .875rem;--m-doc-line: 1.45;--m-doc-gap: .5em;--m-doc-heading-gap: 1em;--m-doc-heading-scale: .8;--m-doc-cell: .25em .5em;--m-doc-pad: .75rem}.m-doc--spaced{--m-doc-font: 1.0625rem;--m-doc-line: 1.8;--m-doc-gap: 1.5em;--m-doc-heading-gap: 2em;--m-doc-heading-scale: 1.1;--m-doc-cell: .75em 1em;--m-doc-pad: 2rem}.m-doc--card{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem;background:var(--m-background-lite)}.m-doc--outline{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem}.m-doc--article{--m-doc-heading-boost: 1.15;max-width:70ch;margin-inline:auto}.m-doc--article .m-doc__body>p:first-child{font-size:1.15em;color:var(--m-text-secondary)}.m-doc--muted{color:var(--m-text-secondary)}.m-doc--muted .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc--callout{padding:var(--m-doc-pad);border-left:3px solid var(--m-mm);border-radius:0 .5rem .5rem 0;background:color-mix(in srgb,var(--m-mm) 8%,transparent)}.m-doc--accent .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-mm)}.m-doc--quiet .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc__skeleton{height:12rem;border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 6%,transparent);animation:doc-pulse 1.4s ease-in-out infinite}.m-doc__body{display:block}.m-doc__body>:first-child{margin-top:0}.m-doc__body>:last-child{margin-bottom:0}.m-doc__body :is(h1,h2,h3,h4,h5,h6){margin:var(--m-doc-heading-gap) 0 .5em;line-height:1.25;color:var(--m-text)}.m-doc__body h1{font-size:calc(2em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h2{font-size:calc(1.6em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h3{font-size:calc(1.3em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h4{font-size:calc(1.1em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body :is(h5,h6){font-size:1em}.m-doc__body :is(p,ul,ol,blockquote,pre,table){margin:0 0 var(--m-doc-gap)}.m-doc__body :is(ul,ol){padding-left:1.5em}.m-doc__body li+li{margin-top:calc(var(--m-doc-gap) * .25)}.m-doc__body a{color:var(--m-mm);text-decoration:underline}.m-doc__body hr{margin:calc(var(--m-doc-gap) * 1.5) 0;border:0;border-top:1px solid var(--m-border)}.m-doc__body code{padding:.15em .35em;border-radius:.25rem;background:color-mix(in srgb,var(--m-text) 8%,transparent);font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em}.m-doc__body pre{overflow-x:auto;padding:1em;border:1px solid var(--m-border);border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 5%,transparent)}.m-doc__body pre code{padding:0;background:none}.m-doc__body blockquote{padding-left:1em;border-left:2px solid var(--m-border);color:var(--m-text-secondary)}.m-doc__body table{width:100%;border-collapse:collapse}.m-doc__body table :is(th,td){padding:var(--m-doc-cell);border-bottom:1px solid var(--m-border);text-align:left}.m-doc__body table th{font-weight:600}@keyframes doc-pulse{0%,to{opacity:.5}50%{opacity:.9}}\n"] }]
29951
- }], ctorParameters: () => [], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], remote: [{ type: i0.Input, args: [{ isSignal: true, alias: "remote", required: false }] }], url: [{ type: i0.Input, args: [{ isSignal: true, alias: "url", required: false }] }], designSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "designSrc", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }] } });
29954
+ `, encapsulation: ViewEncapsulation.None, host: { class: 'doc-host' }, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}.doc-host{display:block;width:100%}.m-doc{--m-doc-font: 1rem;--m-doc-line: 1.65;--m-doc-gap: 1em;--m-doc-heading-gap: 1.5em;--m-doc-heading-scale: 1;--m-doc-heading-boost: 1;--m-doc-cell: .5em .75em;--m-doc-pad: 1.25rem;position:relative;width:100%;color:var(--m-text);font-size:var(--m-doc-font);line-height:var(--m-doc-line)}.m-doc--compact{--m-doc-font: .875rem;--m-doc-line: 1.45;--m-doc-gap: .5em;--m-doc-heading-gap: 1em;--m-doc-heading-scale: .8;--m-doc-cell: .25em .5em;--m-doc-pad: .75rem}.m-doc--spaced{--m-doc-font: 1.0625rem;--m-doc-line: 1.8;--m-doc-gap: 1.5em;--m-doc-heading-gap: 2em;--m-doc-heading-scale: 1.1;--m-doc-cell: .75em 1em;--m-doc-pad: 2rem}.m-doc--card{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem;background:var(--m-background-lite)}.m-doc--outline{padding:var(--m-doc-pad);border:1px solid var(--m-border);border-radius:.5rem}.m-doc--article{--m-doc-heading-boost: 1.15;max-width:70ch;margin-inline:auto}.m-doc--article .m-doc__body>p:first-child{font-size:1.15em;color:var(--m-text-secondary)}.m-doc--muted{color:var(--m-text-secondary)}.m-doc--muted .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc--callout{padding:var(--m-doc-pad);border-left:3px solid var(--m-mm);border-radius:0 .5rem .5rem 0;background:color-mix(in srgb,var(--m-mm) 8%,transparent)}.m-doc--accent .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-mm)}.m-doc--quiet .m-doc__body :is(h1,h2,h3,h4,h5,h6){color:var(--m-text-secondary)}.m-doc--align-left{text-align:left}.m-doc--align-center{text-align:center}.m-doc--align-right{text-align:right}.m-doc__skeleton{height:12rem;border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 6%,transparent);animation:doc-pulse 1.4s ease-in-out infinite}.m-doc__body{display:block}.m-doc__body>:first-child{margin-top:0}.m-doc__body>:last-child{margin-bottom:0}.m-doc__body :is(h1,h2,h3,h4,h5,h6){margin:var(--m-doc-heading-gap) 0 .5em;line-height:1.25;color:var(--m-text)}.m-doc__body h1{font-size:calc(2em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h2{font-size:calc(1.6em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h3{font-size:calc(1.3em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body h4{font-size:calc(1.1em * var(--m-doc-heading-scale) * var(--m-doc-heading-boost))}.m-doc__body :is(h5,h6){font-size:1em}.m-doc__body :is(p,ul,ol,blockquote,pre,table){margin:0 0 var(--m-doc-gap)}.m-doc__body :is(ul,ol){padding-left:1.5em}.m-doc__body li+li{margin-top:calc(var(--m-doc-gap) * .25)}.m-doc__body a{color:var(--m-mm);text-decoration:underline}.m-doc__body hr{margin:calc(var(--m-doc-gap) * 1.5) 0;border:0;border-top:1px solid var(--m-border)}.m-doc__body code{padding:.15em .35em;border-radius:.25rem;background:color-mix(in srgb,var(--m-text) 8%,transparent);font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em}.m-doc__body pre{overflow-x:auto;padding:1em;border:1px solid var(--m-border);border-radius:.5rem;background:color-mix(in srgb,var(--m-text) 5%,transparent)}.m-doc__body pre code{padding:0;background:none}.m-doc__body blockquote{padding-left:1em;border-left:2px solid var(--m-border);color:var(--m-text-secondary)}.m-doc__body table{width:100%;border-collapse:collapse}.m-doc__body table :is(th,td){padding:var(--m-doc-cell);border-bottom:1px solid var(--m-border);text-align:left}.m-doc__body table th{font-weight:600}@keyframes doc-pulse{0%,to{opacity:.5}50%{opacity:.9}}\n"] }]
29955
+ }], ctorParameters: () => [], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], remote: [{ type: i0.Input, args: [{ isSignal: true, alias: "remote", required: false }] }], url: [{ type: i0.Input, args: [{ isSignal: true, alias: "url", required: false }] }], designSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "designSrc", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }] } });
29952
29956
 
29953
29957
  /**
29954
29958
  * The markdown a toolbar press writes, as a pure transform over the textarea's
@@ -30479,7 +30483,7 @@ class DocEditorComponent {
30479
30483
  </ul>
30480
30484
  }
30481
30485
  </div>
30482
- `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;height:100%;min-height:0}.m-doc-editor{display:flex;flex-direction:column;gap:.5rem;width:100%;height:100%;min-height:0}.m-doc-editor__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;flex:0 0 auto}.m-doc-editor__host-actions{display:flex;align-items:center;margin-left:auto}.m-doc-editor__divider{width:1px;align-self:stretch;margin:.15rem .35rem;background:var(--m-backdrop-border)}.m-doc-editor__proposal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem;margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:var(--m-input-border-width, 1px) solid color-mix(in srgb,var(--m-text) 18%,var(--m-background))}.m-doc-editor__preview-banner{margin:0;font-size:.75rem;opacity:.75}.m-doc-editor__panes{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);gap:.75rem;flex:1 1 auto;min-height:0;overflow:auto}.m-doc-editor__preview{height:100%;min-height:0;padding:.75rem;border:var(--m-input-border-width, 1px) solid color-mix(in srgb,var(--m-text) 18%,var(--m-background));border-radius:.5rem;overflow:auto}.m-doc-editor__problems{flex:0 0 auto;max-height:9rem;margin:0;padding:0;overflow-y:auto;list-style:none}.m-doc-editor__problem{display:flex;align-items:center;gap:.4rem;width:100%;padding:.25rem .35rem;border:0;border-radius:.3rem;background:transparent;color:inherit;font-size:.75rem;text-align:left;cursor:pointer}.m-doc-editor__problem:hover{background:color-mix(in srgb,var(--m-focus) 6%,var(--m-background))}.m-doc-editor__problem code{opacity:.6;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.m-doc-editor__problem-line{min-width:1.5rem;opacity:.6}.m-doc-editor--preview .m-doc-editor__source{display:none}.m-doc-editor:not(.m-doc-editor--preview) .m-doc-editor__preview{display:none}m-textarea-input{min-height:100%;--m-textarea-input-height: 100%;--m-textarea-input-wrapper-height: 100%;font-family:monospace;font-size:.9rem}\n"], dependencies: [{ kind: "component", type: DocComponent, selector: "m-doc", inputs: ["name", "remote", "url", "designSrc", "variant", "density"] }, { kind: "component", type: ButtonComponent, selector: "m-button,m-one-button", inputs: ["config", "color", "labelClass", "fullWidth", "nav", "navParams", "href", "disabled", "variant", "name", "baseUrl", "one", "remote", "label", "noTranslate", "params", "noNative", "icon", "isRightIcon", "iconOnly", "stacked", "imgSrc", "nonClickable", "inverted", "isSubmit", "tabindex"], outputs: ["configChange", "clicked"] }, { kind: "component", type: SectionButtonGroupComponent, selector: "m-section-button-group", inputs: ["vertical", "align", "variant", "size", "fullWidth"] }, { kind: "component", type: TextareaInputComponent, selector: "m-textarea-input" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30486
+ `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;height:100%;min-height:0}.m-doc-editor{display:flex;flex-direction:column;gap:.5rem;width:100%;height:100%;min-height:0}.m-doc-editor__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;flex:0 0 auto}.m-doc-editor__host-actions{display:flex;align-items:center;margin-left:auto}.m-doc-editor__divider{width:1px;align-self:stretch;margin:.15rem .35rem;background:var(--m-backdrop-border)}.m-doc-editor__proposal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem;margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:var(--m-input-border-width, 1px) solid color-mix(in srgb,var(--m-text) 18%,var(--m-background))}.m-doc-editor__preview-banner{margin:0;font-size:.75rem;opacity:.75}.m-doc-editor__panes{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);gap:.75rem;flex:1 1 auto;min-height:0;overflow:auto}.m-doc-editor__preview{height:100%;min-height:0;padding:.75rem;border:var(--m-input-border-width, 1px) solid color-mix(in srgb,var(--m-text) 18%,var(--m-background));border-radius:.5rem;overflow:auto}.m-doc-editor__problems{flex:0 0 auto;max-height:9rem;margin:0;padding:0;overflow-y:auto;list-style:none}.m-doc-editor__problem{display:flex;align-items:center;gap:.4rem;width:100%;padding:.25rem .35rem;border:0;border-radius:.3rem;background:transparent;color:inherit;font-size:.75rem;text-align:left;cursor:pointer}.m-doc-editor__problem:hover{background:color-mix(in srgb,var(--m-focus) 6%,var(--m-background))}.m-doc-editor__problem code{opacity:.6;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.m-doc-editor__problem-line{min-width:1.5rem;opacity:.6}.m-doc-editor--preview .m-doc-editor__source{display:none}.m-doc-editor:not(.m-doc-editor--preview) .m-doc-editor__preview{display:none}m-textarea-input{min-height:100%;--m-textarea-input-height: 100%;--m-textarea-input-wrapper-height: 100%;font-family:monospace;font-size:.9rem}\n"], dependencies: [{ kind: "component", type: DocComponent, selector: "m-doc", inputs: ["name", "remote", "url", "designSrc", "variant", "density", "align"] }, { kind: "component", type: ButtonComponent, selector: "m-button,m-one-button", inputs: ["config", "color", "labelClass", "fullWidth", "nav", "navParams", "href", "disabled", "variant", "name", "baseUrl", "one", "remote", "label", "noTranslate", "params", "noNative", "icon", "isRightIcon", "iconOnly", "stacked", "imgSrc", "nonClickable", "inverted", "isSubmit", "tabindex"], outputs: ["configChange", "clicked"] }, { kind: "component", type: SectionButtonGroupComponent, selector: "m-section-button-group", inputs: ["vertical", "align", "variant", "size", "fullWidth"] }, { kind: "component", type: TextareaInputComponent, selector: "m-textarea-input" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30483
30487
  }
30484
30488
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DocEditorComponent, decorators: [{
30485
30489
  type: Component,
@@ -41521,5 +41525,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
41521
41525
  * Generated bundle index. Do not edit.
41522
41526
  */
41523
41527
 
41524
- export { ChatBubbleComponent as $, ACCESS_DOMAINS as A, ButtonComponent as B, AssetUrlPipe as C, Assets as D, AuthActivityPageComponent as E, AuthApiService as F, AuthStore as G, HeaderComponent$1 as H, InputType as I, AutosizeDirective as J, BadgeComponent as K, LabelComponent as L, MODAL_REF as M, BandingComponent as N, BaseArrayInputComponent as O, BaseRootWebComponent as P, BaseWebComponent as Q, RangeInputComponent as R, BrowserLocaleService as S, TranslatePipe as T, ButtonGroupComponent as U, CALLING_APP_HEADER as V, COMPONENT_INPUT_REGISTRY as W, CardComponent as X, CardWrapperComponent as Y, CarouselComponent as Z, ChartComponent as _, MIN_ZOOM as a, HttpService as a$, CheckboxGroupComponent as a0, CheckboxInputComponent as a1, ClearableInputComponent as a2, ClipboardService as a3, ColComponent as a4, ColorPickerInputComponent as a5, CommentItemComponent as a6, CommentsApiService as a7, CommentsComponent as a8, CommentsStore as a9, DeviceService as aA, DocComponent as aB, DocEditorComponent as aC, DomService as aD, Domain as aE, DotGridComponent as aF, DragListDirective as aG, DragListItemDirective as aH, DraggableDirective as aI, DropdownInputComponent as aJ, FILTER_GROUP_CONTEXT as aK, FILTER_RANGE_MODES as aL, FILTER_VARIANTS as aM, FLEX_VARIANTS as aN, FOLDER_PICK_LISTENER as aO, FORM_ASSET_FOLDER as aP, FileService as aQ, FileUploadDirective as aR, FileUploadInputComponent as aS, FlexComponent as aT, FlexItemComponent as aU, FormGroupComponent as aV, FrameComponent as aW, FreezeService as aX, GRID_BREAKPOINTS as aY, GetNavService as aZ, HighlightDirective as a_, CompactNumberPipe as aa, ComponentInputComponent as ab, ComponentStepperComponent as ac, ConfigComponent as ad, ConfirmComponent as ae, ContextMenuComponent as af, CustomIconClass as ag, CustomIconEditComponent as ah, DEFAULT_DENIAL as ai, DEFAULT_DOC_DENSITY as aj, DEFAULT_DOC_VARIANT as ak, DEFAULT_FILTER_RANGE_MODE as al, DEFAULT_FILTER_VARIANT as am, DEFAULT_NAV_PARAM as an, DEFAULT_NAV_SEGMENT as ao, DEFAULT_SIZE as ap, DOCK_MIN_PAGE_REMAINDER as aq, DOCS_FOLDER as ar, DOC_ACTION_ICONS as as, DOC_DENSITIES as at, DOC_EDIT_ACTIONS as au, DOC_TOOLBAR_GROUPS as av, DOC_VARIANTS as aw, DashboardCardComponent as ax, DateInputComponent as ay, DatePickerComponent as az, MAX_ZOOM as b, OverlayService as b$, ICON_SOURCE as b0, IS_SIDE_PANEL as b1, IconComponent as b2, ImgComponent as b3, InstrumentScoreComponent as b4, InterceptorObservables as b5, JumbotronComponent as b6, KeyValueComponent as b7, LAYOUT_ASSET_FOLDER as b8, LOADING_ACTIONS_REF as b9, NAV_ID_SEP as bA, NAV_MAIN_BUTTONS as bB, NAV_SEGMENT_RE as bC, NAV_STORE_REF as bD, NAV_WC_COMPONENTS as bE, NAV_WIDGET_MAP as bF, NavComponent as bG, NavDetailsComponent as bH, NavHeaderComponent as bI, NavMenuComponent as bJ, NavStore as bK, NavTrailComponent as bL, NothingComponent as bM, NotificationElementComponent as bN, NotificationGroupComponent as bO, NotificationPopupComponent as bP, NotificationService as bQ, NotificationStore as bR, NotificationType as bS, NotificationWidgetComponent as bT, ONE_ASSET_BASE_URL as bU, OPTIONS_SOURCE as bV, OVERLAY_WIDGETS as bW, OneApp as bX, OptionsSourceDirective as bY, OverlayBodyComponent as bZ, OverlayRef as b_, LOGIN_COMPONENT as ba, LOGIN_STORE as bb, LanguageComponent as bc, ListComponent as bd, LogoComponent as be, MAG_SOCKET_EVENT as bf, MHeroColorDirective as bg, MHeroComponent as bh, MODAL_STORE_REF as bi, MOUNT_STATIC_SEGMENT as bj, MOUNT_TOKEN as bk, MRefDirective as bl, MStepComponent as bm, MURL_PARAM as bn, MURL_SEP as bo, ManifestEnrichmentService as bp, MarginDirective as bq, MenuComponent as br, ModalDirective as bs, ModalRef as bt, ModalStore as bu, MoneyPipe as bv, MultiRangeInputComponent as bw, MultiselectInputComponent as bx, MurlUrlSerializer as by, NAV_DEFAULT_MURL as bz, cropRect as c, SectionStepperComponent as c$, PLATFORM_BUTTON_NAV_IDS as c0, PLATFORM_EXTENSIBLE_NAV_IDS as c1, PLATFORM_NAV_MAP as c2, PLATFORM_ROOT_CHILDREN as c3, PLUGIN_FALLBACK_LANG as c4, PLUGIN_OUTPUT_EVENT as c5, PLUGIN_SCREENS as c6, PaddingDirective as c7, PaginationComponent as c8, PanelComponent as c9, SPACING_INWARD as cA, ScoreComponent as cB, ScrollComponent as cC, ScrollService as cD, SearchPanelComponent as cE, SearchStore as cF, SearchUserPanelComponent as cG, SectionAccordionDirective as cH, SectionAccordionGroupDirective as cI, SectionBackComponent as cJ, SectionBadgesComponent as cK, SectionButtonGroupComponent as cL, SectionCardComponent as cM, SectionCarouselComponent as cN, SectionComponent as cO, SectionFilterComponent as cP, SectionFilterGroupComponent as cQ, SectionFilterMenuComponent as cR, SectionFilterPanelComponent as cS, SectionFilterRangePanelComponent as cT, SectionFooterComponent as cU, SectionFormComponent as cV, SectionFormItemComponent as cW, SectionHeaderComponent as cX, SectionHeroComponent as cY, SectionPaginationComponent as cZ, SectionSearchComponent as c_, PercentagePipe as ca, PlaygroundComponent as cb, PluginComponent as cc, PluginInputComponent as cd, PluginOutputComponent as ce, PositionDirective as cf, PwaInstallComponent as cg, RECENT_SEARCH_LIMIT as ch, REMOTE_PAGE_RELOAD as ci, ROOT_NAV$1 as cj, RadioGroupComponent as ck, RadioInputComponent as cl, RatingInputComponent as cm, ReactiveElementComponent as cn, RemoteComponent as co, RemoteLoaderService as cp, ResizeElementComponent as cq, RouteContainer as cr, RowComponent as cs, SEARCH_QUERY as ct, SEARCH_RESULTS_EVENT as cu, SECTION_ACCORDION_GROUP as cv, SECTION_FORM_CONTEXT as cw, SECTION_TABLE_VARIANTS as cx, SHARED_ICONS as cy, SIZE_CONTEXT as cz, drawFramed as d, WIN_USER_TAB_KEY as d$, SectionTableCellComponent as d0, SectionTableComponent as d1, SectionTableRowComponent as d2, SectionTableSortPipe as d3, SectionTabsComponent as d4, SectionToggleComponent as d5, SectionToggleItemDirective as d6, SelectableCardInputComponent as d7, SelectorDirective as d8, SettingsSearchBarComponent as d9, ThemeDataService as dA, ThemeService as dB, ThemeStore as dC, TimeAgoPipe as dD, TimelineComponent as dE, ToggleButtonComponent as dF, ToggleInputComponent as dG, ToggleRadioInputComponent as dH, ToolTipDirective as dI, TooltipComponent as dJ, TranslateService as dK, TreeGridComponent as dL, URL_SEP as dM, USER_STORE_REF as dN, USER_TAB_MAP as dO, UniverseComponent as dP, UserApiService as dQ, UserAvatarComponent as dR, UserComponent as dS, UserNavComponent as dT, UserSettingsComponent as dU, UserStore as dV, WC_BUNDLE as dW, WC_NAVIGATE_EVENT as dX, WC_ROUTE_CHANGED_EVENT as dY, WC_SEARCH_GROUPS as dZ, WIN_USER_TAB_HOOK as d_, SettingsSearchService as da, ShapeComponent as db, SharedStoreRegistry as dc, SidePanelDirective as dd, Size as de, SocketStore as df, SortComponent as dg, StatComponent as dh, StepComponent as di, StepperComponent as dj, StepsComponent as dk, StorageService as dl, StrokeLinecap as dm, StrokeLinejoin as dn, SummaryComponent as dp, SvgGeneratorComponent as dq, SvgGeneratorService as dr, SvgService as ds, TOTAL_COLUMNS as dt, TRANSLATION_SOURCE as du, TableComponent as dv, TechnicalMeterComponent as dw, TextInputComponent as dx, TextareaInputComponent as dy, ThemeComponent as dz, encodeFramed as e, generateTransform as e$, WatermarkComponent as e0, WcRouterStore as e1, WrapperInputComponent as e2, allowedCodes as e3, anchorNavId as e4, applyColorsToElement as e5, applyDocEdit as e6, assetOptions as e7, bootstrapMagApp as e8, bootstrapPwaInstall as e9, docRemotePath as eA, emailValidation as eB, evaluate as eC, evaluateBool as eD, exposeScreens as eE, exposedScreensOf as eF, fieldBoolean as eG, fieldNumber as eH, fieldString as eI, filterHoldsList as eJ, filterHoldsOneBound as eK, filterHoldsOptions as eL, filterHoldsRange as eM, filterList as eN, filterNumber as eO, filterNumberList as eP, filterOne as eQ, filterPanelOf as eR, filterPanelWidth as eS, filterRange as eT, filterTreeGridRows as eU, filterValueList as eV, filterValues as eW, flattenTreeGridRows as eX, formatBadgeCount as eY, fullName as eZ, generateClipPath as e_, browserLocale as ea, buildWcBaseUrl as eb, calculateLuminance as ec, calculateRanks as ed, cellText as ee, checkDoc as ef, checkFilterCondition as eg, childNavId as eh, claimDenial as ei, classListSignal as ej, coerceSize as ek, cornerEdge as el, cornerSide as em, createLoadingState as en, createMap as eo, createPlatformNavMap as ep, createPluginElement as eq, definePluginScreens as er, definedWcTierOf as es, deriveAvatarGradient as et, deriveContrastColor as eu, deriveOppositeColor as ev, derivePropertyName as ew, docActionKey as ex, docAssetCandidates as ey, docProblemKey as ez, clampFraming as f, navIdToSegments as f$, getClassList as f0, getProperty as f1, getScrollParent as f2, getTierFromPreviewPath as f3, getTreeGridRow as f4, getUniqueId as f5, getValue as f6, hasErrorComputed as f7, hexToRgb as f8, hslToRgb$1 as f9, isWebComponent as fA, linkToId as fB, linkToNav as fC, loadingActions as fD, mInterceptor as fE, manualValidation as fF, matchFieldValidation as fG, matchMount as fH, maxLengthValidation as fI, maxValidation as fJ, mergePlatformNav as fK, mergeUnique as fL, mergeUniqueBy as fM, mergeUniqueWith as fN, minAgeValidation as fO, minLengthValidation as fP, minValidation as fQ, miniMarkToHtml as fR, mountFor as fS, mountPatternProblem as fT, mountPatternText as fU, mountSegmentOf as fV, mountTokenOf as fW, navIdChain as fX, navIdFor as fY, navIdSegment as fZ, navIdToRoutePath as f_, initMagmoniumApp as fa, initialNotificationState as fb, initialState$2 as fc, initials as fd, injectAuthenticate as fe, injectDefaultDenial as ff, injectInstallApp as fg, injectParentSize as fh, injectScrollSticky as fi, isBootRedirect as fj, isButtonName as fk, isCancelledComputed as fl, isExtensiblePlatformNavId as fm, isJson as fn, isLoadingComputed as fo, isLocalhost as fp, isNavInstanceConfig as fq, isNavMenuConfig as fr, isNavRowsConfig as fs, isNavVisibilityConfig as ft, isPlatformNavId as fu, isSize as fv, isTierPreview as fw, isUrlLocalhost as fx, isValidNavId as fy, isValidNavSegment as fz, BaseInputComponent as g, splitOnMatch as g$, navParamOf as g0, navTailMatcher as g1, navToId as g2, navVisibilityGuard as g3, nextSectionTableSort as g4, normalizeAssetOptions as g5, offsetOfLine as g6, parentNavId as g7, parseAddress as g8, parseColor as g9, recordDefinedWcTier as gA, remoteOutletRoute as gB, renderAddress as gC, renderDocument as gD, requiredValidation as gE, resolveConfigAsset as gF, resolveIconSize as gG, resolvePallet as gH, resolvePatternRules as gI, resolveSize as gJ, resolveSpacing as gK, rgbToHex as gL, rgbToHsl as gM, rowHasChildren as gN, samePatterns as gO, sectionTableColumnId as gP, sectionTableColumnWidths as gQ, sectionTableFrozenCount as gR, segmentsToNavId as gS, setProperty as gT, setTreeGridChildren as gU, setWcLocalPort as gV, setWcTier as gW, settingsWidgets as gX, shouldShowBadge as gY, sortSectionTableRows as gZ, splitNavId as g_, parseMountPattern as ga, parsePatternNames as gb, patternValidation as gc, patternsValidation as gd, permissionRefusal as ge, pickSupportedLanguage as gf, platformNavWidgets as gg, pluginTag as gh, presetDefaultOption as gi, privateGuard as gj, processImageToSvg as gk, provideAppContext as gl, provideMagAppConfig as gm, provideMagWcConfig as gn, provideMagWcRoutes as go, provideModalComponents as gp, provideMurlUrlSerializer as gq, provideNavWidgets as gr, provideOverlayWidgets as gs, providePlatformNavWidgets as gt, providePluginRuntime as gu, provideSearch as gv, provideSizeContext as gw, provideUserTabs as gx, publicGuard as gy, readFieldPatterns as gz, BaseTextInputComponent as h, stringToColor as h0, tailRouteOf as h1, toAttrBool as h2, toAttrNumber as h3, toCssLength as h4, toHostNavId as h5, toLength$1 as h6, toLocalNavId as h7, toggleTreeGridRow as h8, unfetchedPlatformNav as h9, ungroupedDocActions as ha, urlValidation as hb, wcLocalBaseOf as hc, wcTierOf as hd, initialFraming as i, TextOutputComponent as j, IS_DESIGN_MODE as k, APP_CONTEXT_REF as l, APP_LINK as m, ASSET_BASE_URL as n, outputSize as o, parseRatio as p, AccordionBodyDirective as q, renameForType as r, AccordionComponent as s, AccordionGroupComponent as t, ActionComponent as u, AnimatedGraphsComponent as v, AppCardComponent as w, AppRelationType as x, AppTileComponent as y, AssetStore as z };
41525
- //# sourceMappingURL=magmonium-one-magmonium-one-DYiAUWQe.mjs.map
41528
+ export { ChatBubbleComponent as $, ACCESS_DOMAINS as A, ButtonComponent as B, AssetUrlPipe as C, Assets as D, AuthActivityPageComponent as E, AuthApiService as F, AuthStore as G, HeaderComponent$1 as H, InputType as I, AutosizeDirective as J, BadgeComponent as K, LabelComponent as L, MODAL_REF as M, BandingComponent as N, BaseArrayInputComponent as O, BaseRootWebComponent as P, BaseWebComponent as Q, RangeInputComponent as R, BrowserLocaleService as S, TranslatePipe as T, ButtonGroupComponent as U, CALLING_APP_HEADER as V, COMPONENT_INPUT_REGISTRY as W, CardComponent as X, CardWrapperComponent as Y, CarouselComponent as Z, ChartComponent as _, MIN_ZOOM as a, GetNavService as a$, CheckboxGroupComponent as a0, CheckboxInputComponent as a1, ClearableInputComponent as a2, ClipboardService as a3, ColComponent as a4, ColorPickerInputComponent as a5, CommentItemComponent as a6, CommentsApiService as a7, CommentsComponent as a8, CommentsStore as a9, DateInputComponent as aA, DatePickerComponent as aB, DeviceService as aC, DocComponent as aD, DocEditorComponent as aE, DomService as aF, Domain as aG, DotGridComponent as aH, DragListDirective as aI, DragListItemDirective as aJ, DraggableDirective as aK, DropdownInputComponent as aL, FILTER_GROUP_CONTEXT as aM, FILTER_RANGE_MODES as aN, FILTER_VARIANTS as aO, FLEX_VARIANTS as aP, FOLDER_PICK_LISTENER as aQ, FORM_ASSET_FOLDER as aR, FileService as aS, FileUploadDirective as aT, FileUploadInputComponent as aU, FlexComponent as aV, FlexItemComponent as aW, FormGroupComponent as aX, FrameComponent as aY, FreezeService as aZ, GRID_BREAKPOINTS as a_, CompactNumberPipe as aa, ComponentInputComponent as ab, ComponentStepperComponent as ac, ConfigComponent as ad, ConfirmComponent as ae, ContextMenuComponent as af, CustomIconClass as ag, CustomIconEditComponent as ah, DEFAULT_DENIAL as ai, DEFAULT_DOC_ALIGN as aj, DEFAULT_DOC_DENSITY as ak, DEFAULT_DOC_VARIANT as al, DEFAULT_FILTER_RANGE_MODE as am, DEFAULT_FILTER_VARIANT as an, DEFAULT_NAV_PARAM as ao, DEFAULT_NAV_SEGMENT as ap, DEFAULT_SIZE as aq, DOCK_MIN_PAGE_REMAINDER as ar, DOCS_FOLDER as as, DOC_ACTION_ICONS as at, DOC_ALIGNS as au, DOC_DENSITIES as av, DOC_EDIT_ACTIONS as aw, DOC_TOOLBAR_GROUPS as ax, DOC_VARIANTS as ay, DashboardCardComponent as az, MAX_ZOOM as b, OverlayBodyComponent as b$, HighlightDirective as b0, HttpService as b1, ICON_SOURCE as b2, IS_SIDE_PANEL as b3, IconComponent as b4, ImgComponent as b5, InstrumentScoreComponent as b6, InterceptorObservables as b7, JumbotronComponent as b8, KeyValueComponent as b9, MurlUrlSerializer as bA, NAV_DEFAULT_MURL as bB, NAV_ID_SEP as bC, NAV_MAIN_BUTTONS as bD, NAV_SEGMENT_RE as bE, NAV_STORE_REF as bF, NAV_WC_COMPONENTS as bG, NAV_WIDGET_MAP as bH, NavComponent as bI, NavDetailsComponent as bJ, NavHeaderComponent as bK, NavMenuComponent as bL, NavStore as bM, NavTrailComponent as bN, NothingComponent as bO, NotificationElementComponent as bP, NotificationGroupComponent as bQ, NotificationPopupComponent as bR, NotificationService as bS, NotificationStore as bT, NotificationType as bU, NotificationWidgetComponent as bV, ONE_ASSET_BASE_URL as bW, OPTIONS_SOURCE as bX, OVERLAY_WIDGETS as bY, OneApp as bZ, OptionsSourceDirective as b_, LAYOUT_ASSET_FOLDER as ba, LOADING_ACTIONS_REF as bb, LOGIN_COMPONENT as bc, LOGIN_STORE as bd, LanguageComponent as be, ListComponent as bf, LogoComponent as bg, MAG_SOCKET_EVENT as bh, MHeroColorDirective as bi, MHeroComponent as bj, MODAL_STORE_REF as bk, MOUNT_STATIC_SEGMENT as bl, MOUNT_TOKEN as bm, MRefDirective as bn, MStepComponent as bo, MURL_PARAM as bp, MURL_SEP as bq, ManifestEnrichmentService as br, MarginDirective as bs, MenuComponent as bt, ModalDirective as bu, ModalRef as bv, ModalStore as bw, MoneyPipe as bx, MultiRangeInputComponent as by, MultiselectInputComponent as bz, cropRect as c, SectionPaginationComponent as c$, OverlayRef as c0, OverlayService as c1, PLATFORM_BUTTON_NAV_IDS as c2, PLATFORM_EXTENSIBLE_NAV_IDS as c3, PLATFORM_NAV_MAP as c4, PLATFORM_ROOT_CHILDREN as c5, PLUGIN_FALLBACK_LANG as c6, PLUGIN_OUTPUT_EVENT as c7, PLUGIN_SCREENS as c8, PaddingDirective as c9, SHARED_ICONS as cA, SIZE_CONTEXT as cB, SPACING_INWARD as cC, ScoreComponent as cD, ScrollComponent as cE, ScrollService as cF, SearchPanelComponent as cG, SearchStore as cH, SearchUserPanelComponent as cI, SectionAccordionDirective as cJ, SectionAccordionGroupDirective as cK, SectionBackComponent as cL, SectionBadgesComponent as cM, SectionButtonGroupComponent as cN, SectionCardComponent as cO, SectionCarouselComponent as cP, SectionComponent as cQ, SectionFilterComponent as cR, SectionFilterGroupComponent as cS, SectionFilterMenuComponent as cT, SectionFilterPanelComponent as cU, SectionFilterRangePanelComponent as cV, SectionFooterComponent as cW, SectionFormComponent as cX, SectionFormItemComponent as cY, SectionHeaderComponent as cZ, SectionHeroComponent as c_, PaginationComponent as ca, PanelComponent as cb, PercentagePipe as cc, PlaygroundComponent as cd, PluginComponent as ce, PluginInputComponent as cf, PluginOutputComponent as cg, PositionDirective as ch, PwaInstallComponent as ci, RECENT_SEARCH_LIMIT as cj, REMOTE_PAGE_RELOAD as ck, ROOT_NAV$1 as cl, RadioGroupComponent as cm, RadioInputComponent as cn, RatingInputComponent as co, ReactiveElementComponent as cp, RemoteComponent as cq, RemoteLoaderService as cr, ResizeElementComponent as cs, RouteContainer as ct, RowComponent as cu, SEARCH_QUERY as cv, SEARCH_RESULTS_EVENT as cw, SECTION_ACCORDION_GROUP as cx, SECTION_FORM_CONTEXT as cy, SECTION_TABLE_VARIANTS as cz, drawFramed as d, WC_SEARCH_GROUPS as d$, SectionSearchComponent as d0, SectionStepperComponent as d1, SectionTableCellComponent as d2, SectionTableComponent as d3, SectionTableRowComponent as d4, SectionTableSortPipe as d5, SectionTabsComponent as d6, SectionToggleComponent as d7, SectionToggleItemDirective as d8, SelectableCardInputComponent as d9, TextareaInputComponent as dA, ThemeComponent as dB, ThemeDataService as dC, ThemeService as dD, ThemeStore as dE, TimeAgoPipe as dF, TimelineComponent as dG, ToggleButtonComponent as dH, ToggleInputComponent as dI, ToggleRadioInputComponent as dJ, ToolTipDirective as dK, TooltipComponent as dL, TranslateService as dM, TreeGridComponent as dN, URL_SEP as dO, USER_STORE_REF as dP, USER_TAB_MAP as dQ, UniverseComponent as dR, UserApiService as dS, UserAvatarComponent as dT, UserComponent as dU, UserNavComponent as dV, UserSettingsComponent as dW, UserStore as dX, WC_BUNDLE as dY, WC_NAVIGATE_EVENT as dZ, WC_ROUTE_CHANGED_EVENT as d_, SelectorDirective as da, SettingsSearchBarComponent as db, SettingsSearchService as dc, ShapeComponent as dd, SharedStoreRegistry as de, SidePanelDirective as df, Size as dg, SocketStore as dh, SortComponent as di, StatComponent as dj, StepComponent as dk, StepperComponent as dl, StepsComponent as dm, StorageService as dn, StrokeLinecap as dp, StrokeLinejoin as dq, SummaryComponent as dr, SvgGeneratorComponent as ds, SvgGeneratorService as dt, SvgService as du, TOTAL_COLUMNS as dv, TRANSLATION_SOURCE as dw, TableComponent as dx, TechnicalMeterComponent as dy, TextInputComponent as dz, encodeFramed as e, fullName as e$, WIN_USER_TAB_HOOK as e0, WIN_USER_TAB_KEY as e1, WatermarkComponent as e2, WcRouterStore as e3, WrapperInputComponent as e4, allowedCodes as e5, anchorNavId as e6, applyColorsToElement as e7, applyDocEdit as e8, assetOptions as e9, docAssetCandidates as eA, docProblemKey as eB, docRemotePath as eC, emailValidation as eD, evaluate as eE, evaluateBool as eF, exposeScreens as eG, exposedScreensOf as eH, fieldBoolean as eI, fieldNumber as eJ, fieldString as eK, filterHoldsList as eL, filterHoldsOneBound as eM, filterHoldsOptions as eN, filterHoldsRange as eO, filterList as eP, filterNumber as eQ, filterNumberList as eR, filterOne as eS, filterPanelOf as eT, filterPanelWidth as eU, filterRange as eV, filterTreeGridRows as eW, filterValueList as eX, filterValues as eY, flattenTreeGridRows as eZ, formatBadgeCount as e_, bootstrapMagApp as ea, bootstrapPwaInstall as eb, browserLocale as ec, buildWcBaseUrl as ed, calculateLuminance as ee, calculateRanks as ef, cellText as eg, checkDoc as eh, checkFilterCondition as ei, childNavId as ej, claimDenial as ek, classListSignal as el, coerceSize as em, cornerEdge as en, cornerSide as eo, createLoadingState as ep, createMap as eq, createPlatformNavMap as er, createPluginElement as es, definePluginScreens as et, definedWcTierOf as eu, deriveAvatarGradient as ev, deriveContrastColor as ew, deriveOppositeColor as ex, derivePropertyName as ey, docActionKey as ez, clampFraming as f, navIdSegment as f$, generateClipPath as f0, generateTransform as f1, getClassList as f2, getProperty as f3, getScrollParent as f4, getTierFromPreviewPath as f5, getTreeGridRow as f6, getUniqueId as f7, getValue as f8, hasErrorComputed as f9, isValidNavId as fA, isValidNavSegment as fB, isWebComponent as fC, linkToId as fD, linkToNav as fE, loadingActions as fF, mInterceptor as fG, manualValidation as fH, matchFieldValidation as fI, matchMount as fJ, maxLengthValidation as fK, maxValidation as fL, mergePlatformNav as fM, mergeUnique as fN, mergeUniqueBy as fO, mergeUniqueWith as fP, minAgeValidation as fQ, minLengthValidation as fR, minValidation as fS, miniMarkToHtml as fT, mountFor as fU, mountPatternProblem as fV, mountPatternText as fW, mountSegmentOf as fX, mountTokenOf as fY, navIdChain as fZ, navIdFor as f_, hexToRgb as fa, hslToRgb$1 as fb, initMagmoniumApp as fc, initialNotificationState as fd, initialState$2 as fe, initials as ff, injectAuthenticate as fg, injectDefaultDenial as fh, injectInstallApp as fi, injectParentSize as fj, injectScrollSticky as fk, isBootRedirect as fl, isButtonName as fm, isCancelledComputed as fn, isExtensiblePlatformNavId as fo, isJson as fp, isLoadingComputed as fq, isLocalhost as fr, isNavInstanceConfig as fs, isNavMenuConfig as ft, isNavRowsConfig as fu, isNavVisibilityConfig as fv, isPlatformNavId as fw, isSize as fx, isTierPreview as fy, isUrlLocalhost as fz, BaseInputComponent as g, sortSectionTableRows as g$, navIdToRoutePath as g0, navIdToSegments as g1, navParamOf as g2, navTailMatcher as g3, navToId as g4, navVisibilityGuard as g5, nextSectionTableSort as g6, normalizeAssetOptions as g7, offsetOfLine as g8, parentNavId as g9, publicGuard as gA, readFieldPatterns as gB, recordDefinedWcTier as gC, remoteOutletRoute as gD, renderAddress as gE, renderDocument as gF, requiredValidation as gG, resolveConfigAsset as gH, resolveIconSize as gI, resolvePallet as gJ, resolvePatternRules as gK, resolveSize as gL, resolveSpacing as gM, rgbToHex as gN, rgbToHsl as gO, rowHasChildren as gP, samePatterns as gQ, sectionTableColumnId as gR, sectionTableColumnWidths as gS, sectionTableFrozenCount as gT, segmentsToNavId as gU, setProperty as gV, setTreeGridChildren as gW, setWcLocalPort as gX, setWcTier as gY, settingsWidgets as gZ, shouldShowBadge as g_, parseAddress as ga, parseColor as gb, parseMountPattern as gc, parsePatternNames as gd, patternValidation as ge, patternsValidation as gf, permissionRefusal as gg, pickSupportedLanguage as gh, platformNavWidgets as gi, pluginTag as gj, presetDefaultOption as gk, privateGuard as gl, processImageToSvg as gm, provideAppContext as gn, provideMagAppConfig as go, provideMagWcConfig as gp, provideMagWcRoutes as gq, provideModalComponents as gr, provideMurlUrlSerializer as gs, provideNavWidgets as gt, provideOverlayWidgets as gu, providePlatformNavWidgets as gv, providePluginRuntime as gw, provideSearch as gx, provideSizeContext as gy, provideUserTabs as gz, BaseTextInputComponent as h, splitNavId as h0, splitOnMatch as h1, stringToColor as h2, tailRouteOf as h3, toAttrBool as h4, toAttrNumber as h5, toCssLength as h6, toHostNavId as h7, toLength$1 as h8, toLocalNavId as h9, toggleTreeGridRow as ha, unfetchedPlatformNav as hb, ungroupedDocActions as hc, urlValidation as hd, wcLocalBaseOf as he, wcTierOf as hf, initialFraming as i, TextOutputComponent as j, IS_DESIGN_MODE as k, APP_CONTEXT_REF as l, APP_LINK as m, ASSET_BASE_URL as n, outputSize as o, parseRatio as p, AccordionBodyDirective as q, renameForType as r, AccordionComponent as s, AccordionGroupComponent as t, ActionComponent as u, AnimatedGraphsComponent as v, AppCardComponent as w, AppRelationType as x, AppTileComponent as y, AssetStore as z };
41529
+ //# sourceMappingURL=magmonium-one-magmonium-one-gmpPJsnC.mjs.map