{"version":3,"sources":["src/app/focus-prime/tokens/select.ts","node_modules/primeng/fesm2022/primeng-icons-windowmaximize.mjs","node_modules/primeng/fesm2022/primeng-icons-windowminimize.mjs","node_modules/primeng/fesm2022/primeng-focustrap.mjs","node_modules/primeng/fesm2022/primeng-dialog.mjs","node_modules/primeng/fesm2022/primeng-dynamicdialog.mjs"],"sourcesContent":["export const FP_SELECT_TOKEN = {\n root: {\n background: '{form.field.background}',\n disabledBackground: '{form.field.disabled.background}',\n filledBackground: '{form.field.filled.background}',\n filledHoverBackground: '{form.field.filled.hover.background}',\n filledFocusBackground: '{form.field.filled.focus.background}',\n borderColor: '#CEC5BB', // '{form.field.border.color}',\n hoverBorderColor: '{form.field.hover.border.color}',\n focusBorderColor: '{form.field.focus.border.color}',\n invalidBorderColor: '{form.field.invalid.border.color}',\n color: '{text.color}', //'{form.field.color}',\n disabledColor: '{form.field.disabled.color}',\n placeholderColor: '{form.field.placeholder.color}',\n invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',\n shadow: '{form.field.shadow}',\n paddingX: '{form.field.padding.x}',\n paddingY: '{form.field.padding.y}',\n borderRadius: '{form.field.border.radius}',\n focusRing: {\n width: '{form.field.focus.ring.width}',\n style: '{form.field.focus.ring.style}',\n color: '{form.field.focus.ring.color}',\n offset: '{form.field.focus.ring.offset}',\n shadow: '{form.field.focus.ring.shadow}',\n },\n transitionDuration: '{form.field.transition.duration}',\n sm: {\n fontSize: '{form.field.sm.font.size}',\n paddingX: '8px', //'{form.field.sm.padding.x}',\n paddingY: '4.5px', //'{form.field.sm.padding.y}',\n },\n lg: {\n fontSize: '12px', //'{form.field.lg.font.size}',\n paddingX: '8px', //{form.field.lg.padding.x}',\n paddingY: '10px', //'{form.field.lg.padding.y}',\n },\n },\n dropdown: {\n width: '2.5rem',\n color: '#62647E', //'{form.field.icon.color}',\n },\n overlay: {\n background: '{overlay.select.background}',\n borderColor: '{overlay.select.border.color}',\n borderRadius: '{overlay.select.border.radius}',\n color: '{overlay.select.color}',\n shadow: '{overlay.select.shadow}',\n },\n list: {\n padding: '{list.padding}',\n gap: '{list.gap}',\n header: {\n padding: '{list.header.padding}',\n },\n },\n option: {\n focusBackground: '{list.option.focus.background}',\n selectedBackground: '{list.option.selected.background}',\n selectedFocusBackground: '{list.option.selected.focus.background}',\n color: '{list.option.color}',\n focusColor: '{list.option.focus.color}',\n selectedColor: '{list.option.selected.color}',\n selectedFocusColor: '{list.option.selected.focus.color}',\n padding: '{list.option.padding}',\n borderRadius: '{list.option.border.radius}',\n },\n optionGroup: {\n background: '{list.option.group.background}',\n color: '{list.option.group.color}',\n fontWeight: '{list.option.group.font.weight}',\n padding: '{list.option.group.padding}',\n },\n clearIcon: {\n color: '{form.field.icon.color}',\n },\n checkmark: {\n color: '{list.option.color}',\n gutterStart: '-0.375rem',\n gutterEnd: '0.375rem',\n },\n emptyMessage: {\n padding: '{list.option.padding}',\n },\n}\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { uuid } from '@primeuix/utils';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet WindowMaximizeIcon = /*#__PURE__*/(() => {\n class WindowMaximizeIcon extends BaseIcon {\n pathId;\n ngOnInit() {\n this.pathId = 'url(#' + uuid() + ')';\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵWindowMaximizeIcon_BaseFactory;\n return function WindowMaximizeIcon_Factory(__ngFactoryType__) {\n return (ɵWindowMaximizeIcon_BaseFactory || (ɵWindowMaximizeIcon_BaseFactory = i0.ɵɵgetInheritedFactory(WindowMaximizeIcon)))(__ngFactoryType__ || WindowMaximizeIcon);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: WindowMaximizeIcon,\n selectors: [[\"WindowMaximizeIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 6,\n vars: 7,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z\", \"fill\", \"currentColor\"], [3, \"id\"], [\"width\", \"14\", \"height\", \"14\", \"fill\", \"white\"]],\n template: function WindowMaximizeIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0)(1, \"g\");\n i0.ɵɵelement(2, \"path\", 1);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"defs\")(4, \"clipPath\", 2);\n i0.ɵɵelement(5, \"rect\", 3);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"clip-path\", ctx.pathId);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"id\", ctx.pathId);\n }\n },\n encapsulation: 2\n });\n }\n return WindowMaximizeIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { WindowMaximizeIcon };\n","import * as i0 from '@angular/core';\nimport { Component } from '@angular/core';\nimport { uuid } from '@primeuix/utils';\nimport { BaseIcon } from 'primeng/icons/baseicon';\nlet WindowMinimizeIcon = /*#__PURE__*/(() => {\n class WindowMinimizeIcon extends BaseIcon {\n pathId;\n ngOnInit() {\n this.pathId = 'url(#' + uuid() + ')';\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵWindowMinimizeIcon_BaseFactory;\n return function WindowMinimizeIcon_Factory(__ngFactoryType__) {\n return (ɵWindowMinimizeIcon_BaseFactory || (ɵWindowMinimizeIcon_BaseFactory = i0.ɵɵgetInheritedFactory(WindowMinimizeIcon)))(__ngFactoryType__ || WindowMinimizeIcon);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: WindowMinimizeIcon,\n selectors: [[\"WindowMinimizeIcon\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 6,\n vars: 7,\n consts: [[\"width\", \"14\", \"height\", \"14\", \"viewBox\", \"0 0 14 14\", \"fill\", \"none\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [\"fill-rule\", \"evenodd\", \"clip-rule\", \"evenodd\", \"d\", \"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z\", \"fill\", \"currentColor\"], [3, \"id\"], [\"width\", \"14\", \"height\", \"14\", \"fill\", \"white\"]],\n template: function WindowMinimizeIcon_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 0)(1, \"g\");\n i0.ɵɵelement(2, \"path\", 1);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"defs\")(4, \"clipPath\", 2);\n i0.ɵɵelement(5, \"rect\", 3);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.getClassNames());\n i0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-hidden\", ctx.ariaHidden)(\"role\", ctx.role);\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"clip-path\", ctx.pathId);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"id\", ctx.pathId);\n }\n },\n encapsulation: 2\n });\n }\n return WindowMinimizeIcon;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { WindowMinimizeIcon };\n","import { DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { inject, PLATFORM_ID, booleanAttribute, Input, Directive, NgModule } from '@angular/core';\nimport { createElement, getFirstFocusableElement, focus, getLastFocusableElement } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\n\n/**\n * Focus Trap keeps focus within a certain DOM element while tabbing.\n * @group Components\n */\nlet FocusTrap = /*#__PURE__*/(() => {\n class FocusTrap extends BaseComponent {\n /**\n * When set as true, focus wouldn't be managed.\n * @group Props\n */\n pFocusTrapDisabled = false;\n platformId = inject(PLATFORM_ID);\n document = inject(DOCUMENT);\n firstHiddenFocusableElement;\n lastHiddenFocusableElement;\n ngOnInit() {\n super.ngOnInit();\n if (isPlatformBrowser(this.platformId) && !this.pFocusTrapDisabled) {\n !this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement && this.createHiddenFocusableElements();\n }\n }\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n if (changes.pFocusTrapDisabled && isPlatformBrowser(this.platformId)) {\n if (changes.pFocusTrapDisabled.currentValue) {\n this.removeHiddenFocusableElements();\n } else {\n this.createHiddenFocusableElements();\n }\n }\n }\n removeHiddenFocusableElements() {\n if (this.firstHiddenFocusableElement && this.firstHiddenFocusableElement.parentNode) {\n this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement);\n }\n if (this.lastHiddenFocusableElement && this.lastHiddenFocusableElement.parentNode) {\n this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement);\n }\n }\n getComputedSelector(selector) {\n return `:not(.p-hidden-focusable):not([data-p-hidden-focusable=\"true\"])${selector ?? ''}`;\n }\n createHiddenFocusableElements() {\n const tabindex = '0';\n const createFocusableElement = onFocus => {\n return createElement('span', {\n class: 'p-hidden-accessible p-hidden-focusable',\n tabindex,\n role: 'presentation',\n 'aria-hidden': true,\n 'data-p-hidden-accessible': true,\n 'data-p-hidden-focusable': true,\n onFocus: onFocus?.bind(this)\n });\n };\n this.firstHiddenFocusableElement = createFocusableElement(this.onFirstHiddenElementFocus);\n this.lastHiddenFocusableElement = createFocusableElement(this.onLastHiddenElementFocus);\n this.firstHiddenFocusableElement.setAttribute('data-pc-section', 'firstfocusableelement');\n this.lastHiddenFocusableElement.setAttribute('data-pc-section', 'lastfocusableelement');\n this.el.nativeElement.prepend(this.firstHiddenFocusableElement);\n this.el.nativeElement.append(this.lastHiddenFocusableElement);\n }\n onFirstHiddenElementFocus(event) {\n const {\n currentTarget,\n relatedTarget\n } = event;\n const focusableElement = relatedTarget === this.lastHiddenFocusableElement || !this.el.nativeElement?.contains(relatedTarget) ? getFirstFocusableElement(currentTarget.parentElement, ':not(.p-hidden-focusable)') : this.lastHiddenFocusableElement;\n focus(focusableElement);\n }\n onLastHiddenElementFocus(event) {\n const {\n currentTarget,\n relatedTarget\n } = event;\n const focusableElement = relatedTarget === this.firstHiddenFocusableElement || !this.el.nativeElement?.contains(relatedTarget) ? getLastFocusableElement(currentTarget.parentElement, ':not(.p-hidden-focusable)') : this.firstHiddenFocusableElement;\n focus(focusableElement);\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵFocusTrap_BaseFactory;\n return function FocusTrap_Factory(__ngFactoryType__) {\n return (ɵFocusTrap_BaseFactory || (ɵFocusTrap_BaseFactory = i0.ɵɵgetInheritedFactory(FocusTrap)))(__ngFactoryType__ || FocusTrap);\n };\n })();\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: FocusTrap,\n selectors: [[\"\", \"pFocusTrap\", \"\"]],\n inputs: {\n pFocusTrapDisabled: [2, \"pFocusTrapDisabled\", \"pFocusTrapDisabled\", booleanAttribute]\n },\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature]\n });\n }\n return FocusTrap;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet FocusTrapModule = /*#__PURE__*/(() => {\n class FocusTrapModule {\n static ɵfac = function FocusTrapModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || FocusTrapModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: FocusTrapModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n }\n return FocusTrapModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FocusTrap, FocusTrapModule };\n","import { animation, style, animate, trigger, transition, useAnimation } from '@angular/animations';\nimport * as i1 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, inject, NgZone, booleanAttribute, numberAttribute, ContentChildren, ContentChild, Input, ViewChild, Output, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';\nimport { uuid, blockBodyScroll, unblockBodyScroll, setAttribute, hasClass, addClass, getOuterWidth, getOuterHeight, getViewport, removeClass, appendChild } from '@primeuix/utils';\nimport { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button } from 'primeng/button';\nimport { DomHandler } from 'primeng/dom';\nimport { FocusTrap } from 'primeng/focustrap';\nimport { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from 'primeng/icons';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { BaseStyle } from 'primeng/base';\nconst _c0 = [\"header\"];\nconst _c1 = [\"content\"];\nconst _c2 = [\"footer\"];\nconst _c3 = [\"closeicon\"];\nconst _c4 = [\"maximizeicon\"];\nconst _c5 = [\"minimizeicon\"];\nconst _c6 = [\"headless\"];\nconst _c7 = [\"titlebar\"];\nconst _c8 = [\"*\", [[\"p-footer\"]]];\nconst _c9 = [\"*\", \"p-footer\"];\nconst _c10 = (a0, a1, a2) => ({\n position: \"fixed\",\n height: \"100%\",\n width: \"100%\",\n left: 0,\n top: 0,\n display: \"flex\",\n \"justify-content\": a0,\n \"align-items\": a1,\n \"pointer-events\": a2\n});\nconst _c11 = a0 => ({\n \"p-dialog p-component\": true,\n \"p-dialog-maximized\": a0\n});\nconst _c12 = () => ({\n display: \"flex\",\n \"flex-direction\": \"column\",\n \"pointer-events\": \"auto\"\n});\nconst _c13 = (a0, a1) => ({\n transform: a0,\n transition: a1\n});\nconst _c14 = a0 => ({\n value: \"visible\",\n params: a0\n});\nfunction Dialog_div_0_div_1_ng_container_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Dialog_div_0_div_1_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_container_2_ng_container_1_Template, 1, 0, \"ng-container\", 11);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._headlessTemplate || ctx_r1.headlessTemplate || ctx_r1.headlessT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 15);\n i0.ɵɵlistener(\"mousedown\", function Dialog_div_0_div_1_ng_template_3_div_0_Template_div_mousedown_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.initResize($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.cx(\"resizeHandle\"));\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 21);\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵproperty(\"id\", ctx_r1.ariaLabelledBy)(\"ngClass\", ctx_r1.cx(\"title\"));\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.header);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 18);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(6);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.maximized ? ctx_r1.minimizeIcon : ctx_r1.maximizeIcon);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMaximizeIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"WindowMaximizeIcon\");\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMinimizeIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"WindowMinimizeIcon\");\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMaximizeIcon_1_Template, 1, 0, \"WindowMaximizeIcon\", 23)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMinimizeIcon_2_Template, 1, 0, \"WindowMinimizeIcon\", 23);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(6);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.maximized && !ctx_r1._maximizeiconTemplate && !ctx_r1.maximizeIconTemplate && !ctx_r1.maximizeIconT);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.maximized && !ctx_r1._minimizeiconTemplate && !ctx_r1.minimizeIconTemplate && !ctx_r1.minimizeIconT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_ng_template_0_Template(rf, ctx) {}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_Template, 1, 0, null, 11);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(6);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._maximizeiconTemplate || ctx_r1.maximizeIconTemplate || ctx_r1.maximizeIconT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_ng_template_0_Template(rf, ctx) {}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_Template, 1, 0, null, 11);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(6);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._minimizeiconTemplate || ctx_r1.minimizeIconTemplate || ctx_r1.minimizeIconT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-button\", 22);\n i0.ɵɵlistener(\"onClick\", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template_p_button_onClick_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext(5);\n return i0.ɵɵresetView(ctx_r1.maximize());\n })(\"keydown.enter\", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template_p_button_keydown_enter_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext(5);\n return i0.ɵɵresetView(ctx_r1.maximize());\n });\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_span_1_Template, 1, 1, \"span\", 14)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_Template, 3, 2, \"ng-container\", 23)(3, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_Template, 2, 1, \"ng-container\", 23)(4, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_Template, 2, 1, \"ng-container\", 23);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵproperty(\"styleClass\", ctx_r1.cx(\"pcMaximizeButton\"))(\"tabindex\", ctx_r1.maximizable ? \"0\" : \"-1\")(\"ariaLabel\", ctx_r1.maximizeLabel)(\"buttonProps\", ctx_r1.maximizeButtonProps);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.maximizeIcon && !ctx_r1._maximizeiconTemplate && !ctx_r1._minimizeiconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.maximizeIcon && !(ctx_r1.maximizeButtonProps == null ? null : ctx_r1.maximizeButtonProps.icon));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.maximized);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.maximized);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 18);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(8);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.closeIcon);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_TimesIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"TimesIcon\");\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_span_1_Template, 1, 1, \"span\", 14)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_TimesIcon_2_Template, 1, 0, \"TimesIcon\", 23);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(7);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.closeIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.closeIcon);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_ng_template_0_Template(rf, ctx) {}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_Template, 1, 0, null, 11);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(7);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._closeiconTemplate || ctx_r1.closeIconTemplate || ctx_r1.closeIconT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_Template, 3, 2, \"ng-container\", 23)(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_Template, 2, 1, \"span\", 23);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(6);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1._closeiconTemplate && !ctx_r1.closeIconTemplate && !ctx_r1.closeIconT && !(ctx_r1.closeButtonProps == null ? null : ctx_r1.closeButtonProps.icon));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1._closeiconTemplate || ctx_r1.closeIconTemplate || ctx_r1.closeIconT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-button\", 24);\n i0.ɵɵlistener(\"onClick\", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template_p_button_onClick_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r1 = i0.ɵɵnextContext(5);\n return i0.ɵɵresetView(ctx_r1.close($event));\n })(\"keydown.enter\", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template_p_button_keydown_enter_0_listener($event) {\n i0.ɵɵrestoreView(_r6);\n const ctx_r1 = i0.ɵɵnextContext(5);\n return i0.ɵɵresetView(ctx_r1.close($event));\n });\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_Template, 2, 2, \"ng-template\", null, 4, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵproperty(\"styleClass\", ctx_r1.cx(\"pcCloseButton\"))(\"ariaLabel\", ctx_r1.closeAriaLabel)(\"tabindex\", ctx_r1.closeTabindex)(\"buttonProps\", ctx_r1.closeButtonProps);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 16, 3);\n i0.ɵɵlistener(\"mousedown\", function Dialog_div_0_div_1_ng_template_3_div_1_Template_div_mousedown_0_listener($event) {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.initDrag($event));\n });\n i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_template_3_div_1_span_2_Template, 2, 3, \"span\", 17)(3, Dialog_div_0_div_1_ng_template_3_div_1_ng_container_3_Template, 1, 0, \"ng-container\", 11);\n i0.ɵɵelementStart(4, \"div\", 18);\n i0.ɵɵtemplate(5, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template, 5, 8, \"p-button\", 19)(6, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template, 3, 4, \"p-button\", 20);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.cx(\"header\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1._headerTemplate && !ctx_r1.headerTemplate && !ctx_r1.headerT);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._headerTemplate || ctx_r1.headerTemplate || ctx_r1.headerT);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", ctx_r1.cx(\"headerActions\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.maximizable);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.closable);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_ng_container_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_6_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_div_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 18, 5);\n i0.ɵɵprojection(2, 1);\n i0.ɵɵtemplate(3, Dialog_div_0_div_1_ng_template_3_div_6_ng_container_3_Template, 1, 0, \"ng-container\", 11);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.cx(\"footer\"));\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._footerTemplate || ctx_r1.footerTemplate || ctx_r1.footerT);\n }\n}\nfunction Dialog_div_0_div_1_ng_template_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_0_Template, 1, 1, \"div\", 12)(1, Dialog_div_0_div_1_ng_template_3_div_1_Template, 7, 6, \"div\", 13);\n i0.ɵɵelementStart(2, \"div\", 7, 2);\n i0.ɵɵprojection(4);\n i0.ɵɵtemplate(5, Dialog_div_0_div_1_ng_template_3_ng_container_5_Template, 1, 0, \"ng-container\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(6, Dialog_div_0_div_1_ng_template_3_div_6_Template, 4, 2, \"div\", 14);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.resizable);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.showHeader);\n i0.ɵɵadvance();\n i0.ɵɵclassMap(ctx_r1.contentStyleClass);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.cx(\"content\"))(\"ngStyle\", ctx_r1.contentStyle);\n i0.ɵɵattribute(\"data-pc-section\", \"content\");\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1._contentTemplate || ctx_r1.contentTemplate || ctx_r1.contentT);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1._footerTemplate || ctx_r1.footerTemplate || ctx_r1.footerT);\n }\n}\nfunction Dialog_div_0_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 9, 0);\n i0.ɵɵlistener(\"@animation.start\", function Dialog_div_0_div_1_Template_div_animation_animation_start_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onAnimationStart($event));\n })(\"@animation.done\", function Dialog_div_0_div_1_Template_div_animation_animation_done_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.onAnimationEnd($event));\n });\n i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_container_2_Template, 2, 1, \"ng-container\", 10)(3, Dialog_div_0_div_1_ng_template_3_Template, 7, 9, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const notHeadless_r7 = i0.ɵɵreference(4);\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵstyleMap(ctx_r1.style);\n i0.ɵɵclassMap(ctx_r1.styleClass);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(13, _c11, ctx_r1.maximizable && ctx_r1.maximized))(\"ngStyle\", i0.ɵɵpureFunction0(15, _c12))(\"pFocusTrapDisabled\", ctx_r1.focusTrap === false)(\"@animation\", i0.ɵɵpureFunction1(19, _c14, i0.ɵɵpureFunction2(16, _c13, ctx_r1.transformOptions, ctx_r1.transitionOptions)));\n i0.ɵɵattribute(\"role\", ctx_r1.role)(\"aria-labelledby\", ctx_r1.ariaLabelledBy)(\"aria-modal\", true);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r1._headlessTemplate || ctx_r1.headlessTemplate || ctx_r1.headlessT)(\"ngIfElse\", notHeadless_r7);\n }\n}\nfunction Dialog_div_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 7);\n i0.ɵɵtemplate(1, Dialog_div_0_div_1_Template, 5, 21, \"div\", 8);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵstyleMap(ctx_r1.maskStyle);\n i0.ɵɵclassMap(ctx_r1.maskStyleClass);\n i0.ɵɵproperty(\"ngClass\", ctx_r1.maskClass)(\"ngStyle\", i0.ɵɵpureFunction3(7, _c10, ctx_r1.position === \"left\" || ctx_r1.position === \"topleft\" || ctx_r1.position === \"bottomleft\" ? \"flex-start\" : ctx_r1.position === \"right\" || ctx_r1.position === \"topright\" || ctx_r1.position === \"bottomright\" ? \"flex-end\" : \"center\", ctx_r1.position === \"top\" || ctx_r1.position === \"topleft\" || ctx_r1.position === \"topright\" ? \"flex-start\" : ctx_r1.position === \"bottom\" || ctx_r1.position === \"bottomleft\" || ctx_r1.position === \"bottomright\" ? \"flex-end\" : \"center\", ctx_r1.modal ? \"auto\" : \"none\"));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.visible);\n }\n}\nconst theme = ({\n dt\n}) => `\n.p-dialog {\n max-height: 90%;\n transform: scale(1);\n border-radius: ${dt('dialog.border.radius')};\n box-shadow: ${dt('dialog.shadow')};\n background: ${dt('dialog.background')};\n border: 1px solid ${dt('dialog.border.color')};\n color: ${dt('dialog.color')};\n display: flex;\n flex-direction: column;\n pointer-events: auto\n}\n\n.p-dialog-content {\n overflow-y: auto;\n padding: ${dt('dialog.content.padding')};\n flex-grow: 1;\n}\n\n.p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n padding: ${dt('dialog.header.padding')};\n}\n\n.p-dialog-title {\n font-weight: ${dt('dialog.title.font.weight')};\n font-size: ${dt('dialog.title.font.size')};\n}\n\n.p-dialog-footer {\n flex-shrink: 0;\n padding: ${dt('dialog.footer.padding')};\n display: flex;\n justify-content: flex-end;\n gap: ${dt('dialog.footer.gap')};\n}\n\n.p-dialog-header-actions {\n display: flex;\n align-items: center;\n gap: ${dt('dialog.header.gap')};\n}\n\n.p-dialog-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-dialog-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.p-dialog-enter-from,\n.p-dialog-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n\n.p-dialog-top .p-dialog,\n.p-dialog-bottom .p-dialog,\n.p-dialog-left .p-dialog,\n.p-dialog-right .p-dialog,\n.p-dialog-topleft .p-dialog,\n.p-dialog-topright .p-dialog,\n.p-dialog-bottomleft .p-dialog,\n.p-dialog-bottomright .p-dialog {\n margin: 0.75rem;\n transform: translate3d(0px, 0px, 0px);\n}\n\n.p-dialog-top .p-dialog-enter-active,\n.p-dialog-top .p-dialog-leave-active,\n.p-dialog-bottom .p-dialog-enter-active,\n.p-dialog-bottom .p-dialog-leave-active,\n.p-dialog-left .p-dialog-enter-active,\n.p-dialog-left .p-dialog-leave-active,\n.p-dialog-right .p-dialog-enter-active,\n.p-dialog-right .p-dialog-leave-active,\n.p-dialog-topleft .p-dialog-enter-active,\n.p-dialog-topleft .p-dialog-leave-active,\n.p-dialog-topright .p-dialog-enter-active,\n.p-dialog-topright .p-dialog-leave-active,\n.p-dialog-bottomleft .p-dialog-enter-active,\n.p-dialog-bottomleft .p-dialog-leave-active,\n.p-dialog-bottomright .p-dialog-enter-active,\n.p-dialog-bottomright .p-dialog-leave-active {\n transition: all 0.3s ease-out;\n}\n\n.p-dialog-top .p-dialog-enter-from,\n.p-dialog-top .p-dialog-leave-to {\n transform: translate3d(0px, -100%, 0px);\n}\n\n.p-dialog-bottom .p-dialog-enter-from,\n.p-dialog-bottom .p-dialog-leave-to {\n transform: translate3d(0px, 100%, 0px);\n}\n\n.p-dialog-left .p-dialog-enter-from,\n.p-dialog-left .p-dialog-leave-to,\n.p-dialog-topleft .p-dialog-enter-from,\n.p-dialog-topleft .p-dialog-leave-to,\n.p-dialog-bottomleft .p-dialog-enter-from,\n.p-dialog-bottomleft .p-dialog-leave-to {\n transform: translate3d(-100%, 0px, 0px);\n}\n\n.p-dialog-right .p-dialog-enter-from,\n.p-dialog-right .p-dialog-leave-to,\n.p-dialog-topright .p-dialog-enter-from,\n.p-dialog-topright .p-dialog-leave-to,\n.p-dialog-bottomright .p-dialog-enter-from,\n.p-dialog-bottomright .p-dialog-leave-to {\n transform: translate3d(100%, 0px, 0px);\n}\n\n.p-dialog-left:dir(rtl) .p-dialog-enter-from,\n.p-dialog-left:dir(rtl) .p-dialog-leave-to,\n.p-dialog-topleft:dir(rtl) .p-dialog-enter-from,\n.p-dialog-topleft:dir(rtl) .p-dialog-leave-to,\n.p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,\n.p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {\n transform: translate3d(100%, 0px, 0px);\n}\n\n.p-dialog-right:dir(rtl) .p-dialog-enter-from,\n.p-dialog-right:dir(rtl) .p-dialog-leave-to,\n.p-dialog-topright:dir(rtl) .p-dialog-enter-from,\n.p-dialog-topright:dir(rtl) .p-dialog-leave-to,\n.p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,\n.p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {\n transform: translate3d(-100%, 0px, 0px);\n}\n\n.p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n border-radius: 0;\n}\n\n.p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n}\n\n.p-overlay-mask:dir(rtl) {\n flex-direction: row-reverse;\n}\n\n/* For PrimeNG */\n\n.p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n}\n\n.p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n}\n`;\n/* Position */\nconst inlineStyles = {\n mask: ({\n instance\n }) => ({\n position: 'fixed',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n display: 'flex',\n justifyContent: instance.position === 'left' || instance.position === 'topleft' || instance.position === 'bottomleft' ? 'flex-start' : instance.position === 'right' || instance.position === 'topright' || instance.position === 'bottomright' ? 'flex-end' : 'center',\n alignItems: instance.position === 'top' || instance.position === 'topleft' || instance.position === 'topright' ? 'flex-start' : instance.position === 'bottom' || instance.position === 'bottomleft' || instance.position === 'bottomright' ? 'flex-end' : 'center',\n pointerEvents: instance.modal ? 'auto' : 'none'\n }),\n root: {\n display: 'flex',\n flexDirection: 'column',\n pointerEvents: 'auto'\n }\n};\nconst classes = {\n mask: ({\n instance\n }) => {\n const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];\n const pos = positions.find(item => item === instance.position);\n return {\n 'p-dialog-mask': true,\n 'p-overlay-mask p-overlay-mask-enter': instance.modal,\n [`p-dialog-${pos}`]: pos\n };\n },\n root: ({\n instance\n }) => ({\n 'p-dialog p-component': true,\n 'p-dialog-maximized': instance.maximizable && instance.maximized\n }),\n header: 'p-dialog-header',\n title: 'p-dialog-title',\n resizeHandle: 'p-resizable-handle',\n headerActions: 'p-dialog-header-actions',\n pcMaximizeButton: 'p-dialog-maximize-button',\n pcCloseButton: 'p-dialog-close-button',\n content: 'p-dialog-content',\n footer: 'p-dialog-footer'\n};\nlet DialogStyle = /*#__PURE__*/(() => {\n class DialogStyle extends BaseStyle {\n name = 'dialog';\n theme = theme;\n classes = classes;\n inlineStyles = inlineStyles;\n static ɵfac = /* @__PURE__ */(() => {\n let ɵDialogStyle_BaseFactory;\n return function DialogStyle_Factory(__ngFactoryType__) {\n return (ɵDialogStyle_BaseFactory || (ɵDialogStyle_BaseFactory = i0.ɵɵgetInheritedFactory(DialogStyle)))(__ngFactoryType__ || DialogStyle);\n };\n })();\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DialogStyle,\n factory: DialogStyle.ɵfac\n });\n }\n return DialogStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * Dialog is a container to display content in an overlay window.\n *\n * [Live Demo](https://www.primeng.org/dialog)\n *\n * @module dialogstyle\n *\n */\nvar DialogClasses = /*#__PURE__*/function (DialogClasses) {\n /**\n * Class name of the mask element\n */\n DialogClasses[\"mask\"] = \"p-dialog-mask\";\n /**\n * Class name of the root element\n */\n DialogClasses[\"root\"] = \"p-dialog\";\n /**\n * Class name of the header element\n */\n DialogClasses[\"header\"] = \"p-dialog-header\";\n /**\n * Class name of the title element\n */\n DialogClasses[\"title\"] = \"p-dialog-title\";\n /**\n * Class name of the header actions element\n */\n DialogClasses[\"headerActions\"] = \"p-dialog-header-actions\";\n /**\n * Class name of the maximize button element\n */\n DialogClasses[\"pcMaximizeButton\"] = \"p-dialog-maximize-button\";\n /**\n * Class name of the close button element\n */\n DialogClasses[\"pcCloseButton\"] = \"p-dialog-close-button\";\n /**\n * Class name of the content element\n */\n DialogClasses[\"content\"] = \"p-dialog-content\";\n /**\n * Class name of the footer element\n */\n DialogClasses[\"footer\"] = \"p-dialog-footer\";\n return DialogClasses;\n}(DialogClasses || {});\nconst showAnimation = animation([style({\n transform: '{{transform}}',\n opacity: 0\n}), animate('{{transition}}')]);\nconst hideAnimation = animation([animate('{{transition}}', style({\n transform: '{{transform}}',\n opacity: 0\n}))]);\n/**\n * Dialog is a container to display content in an overlay window.\n * @group Components\n */\nlet Dialog = /*#__PURE__*/(() => {\n class Dialog extends BaseComponent {\n /**\n * Title text of the dialog.\n * @group Props\n */\n header;\n /**\n * Enables dragging to change the position using header.\n * @group Props\n */\n draggable = true;\n /**\n * Enables resizing of the content.\n * @group Props\n */\n resizable = true;\n /**\n * Defines the left offset of dialog.\n * @group Props\n * @deprecated positionLeft property is deprecated.\n */\n get positionLeft() {\n return 0;\n }\n set positionLeft(_positionLeft) {\n console.log('positionLeft property is deprecated.');\n }\n /**\n * Defines the top offset of dialog.\n * @group Props\n * @deprecated positionTop property is deprecated.\n */\n get positionTop() {\n return 0;\n }\n set positionTop(_positionTop) {\n console.log('positionTop property is deprecated.');\n }\n /**\n * Style of the content section.\n * @group Props\n */\n contentStyle;\n /**\n * Style class of the content.\n * @group Props\n */\n contentStyleClass;\n /**\n * Defines if background should be blocked when dialog is displayed.\n * @group Props\n */\n modal = false;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n closeOnEscape = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n dismissableMask = false;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n rtl = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n closable = true;\n /**\n * Defines if the component is responsive.\n * @group Props\n * @deprecated Responsive property is deprecated.\n */\n get responsive() {\n return false;\n }\n set responsive(_responsive) {\n console.log('Responsive property is deprecated.');\n }\n /**\n * Target element to attach the dialog, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n breakpoints;\n /**\n * Style class of the component.\n * @group Props\n */\n styleClass;\n /**\n * Style class of the mask.\n * @group Props\n */\n maskStyleClass;\n /**\n * Style of the mask.\n * @group Props\n */\n maskStyle;\n /**\n * Whether to show the header or not.\n * @group Props\n */\n showHeader = true;\n /**\n * Defines the breakpoint of the component responsive.\n * @group Props\n * @deprecated Breakpoint property is not utilized and deprecated. Use breakpoints or CSS media queries instead.\n */\n get breakpoint() {\n return 649;\n }\n set breakpoint(_breakpoint) {\n console.log('Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.');\n }\n /**\n * Whether background scroll should be blocked when dialog is visible.\n * @group Props\n */\n blockScroll = false;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n autoZIndex = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n baseZIndex = 0;\n /**\n * Minimum value for the left coordinate of dialog in dragging.\n * @group Props\n */\n minX = 0;\n /**\n * Minimum value for the top coordinate of dialog in dragging.\n * @group Props\n */\n minY = 0;\n /**\n * When enabled, first focusable element receives focus on show.\n * @group Props\n */\n focusOnShow = true;\n /**\n * Whether the dialog can be displayed full screen.\n * @group Props\n */\n maximizable = false;\n /**\n * Keeps dialog in the viewport.\n * @group Props\n */\n keepInViewport = true;\n /**\n * When enabled, can only focus on elements inside the dialog.\n * @group Props\n */\n focusTrap = true;\n /**\n * Transition options of the animation.\n * @group Props\n */\n transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * Name of the close icon.\n * @group Props\n */\n closeIcon;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n closeAriaLabel;\n /**\n * Index of the close button in tabbing order.\n * @group Props\n */\n closeTabindex = '0';\n /**\n * Name of the minimize icon.\n * @group Props\n */\n minimizeIcon;\n /**\n * Name of the maximize icon.\n * @group Props\n */\n maximizeIcon;\n /**\n * Used to pass all properties of the ButtonProps to the Button component.\n * @group Props\n */\n closeButtonProps = {\n severity: 'secondary',\n text: true,\n rounded: true\n };\n /**\n * Used to pass all properties of the ButtonProps to the Button component.\n * @group Props\n */\n maximizeButtonProps = {\n severity: 'secondary',\n text: true,\n rounded: true\n };\n /**\n * Specifies the visibility of the dialog.\n * @group Props\n */\n get visible() {\n return this._visible;\n }\n set visible(value) {\n this._visible = value;\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n }\n /**\n * Inline style of the component.\n * @group Props\n */\n get style() {\n return this._style;\n }\n set style(value) {\n if (value) {\n this._style = {\n ...value\n };\n this.originalStyle = value;\n }\n }\n /**\n * Position of the dialog.\n * @group Props\n */\n get position() {\n return this._position;\n }\n set position(value) {\n this._position = value;\n switch (value) {\n case 'topleft':\n case 'bottomleft':\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\n case 'topright':\n case 'bottomright':\n case 'right':\n this.transformOptions = 'translate3d(100%, 0px, 0px)';\n break;\n case 'bottom':\n this.transformOptions = 'translate3d(0px, 100%, 0px)';\n break;\n case 'top':\n this.transformOptions = 'translate3d(0px, -100%, 0px)';\n break;\n default:\n this.transformOptions = 'scale(0.7)';\n break;\n }\n }\n /**\n * Role attribute of html element.\n * @group Emits\n */\n role = 'dialog';\n /**\n * Callback to invoke when dialog is shown.\n * @group Emits\n */\n onShow = new EventEmitter();\n /**\n * Callback to invoke when dialog is hidden.\n * @group Emits\n */\n onHide = new EventEmitter();\n /**\n * This EventEmitter is used to notify changes in the visibility state of a component.\n * @param {boolean} value - New value.\n * @group Emits\n */\n visibleChange = new EventEmitter();\n /**\n * Callback to invoke when dialog resizing is initiated.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n onResizeInit = new EventEmitter();\n /**\n * Callback to invoke when dialog resizing is completed.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n onResizeEnd = new EventEmitter();\n /**\n * Callback to invoke when dialog dragging is completed.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n onDragEnd = new EventEmitter();\n /**\n * Callback to invoke when dialog maximized or unmaximized.\n * @group Emits\n */\n onMaximize = new EventEmitter();\n headerViewChild;\n contentViewChild;\n footerViewChild;\n /**\n * Header template.\n * @group Props\n */\n headerTemplate;\n /**\n * Content template.\n * @group Props\n */\n contentTemplate;\n /**\n * Footer template.\n * @group Props\n */\n footerTemplate;\n /**\n * Close icon template.\n * @group Props\n */\n closeIconTemplate;\n /**\n * Maximize icon template.\n * @group Props\n */\n maximizeIconTemplate;\n /**\n * Minimize icon template.\n * @group Props\n */\n minimizeIconTemplate;\n /**\n * Headless template.\n * @group Props\n */\n headlessTemplate;\n _headerTemplate;\n _contentTemplate;\n _footerTemplate;\n _closeiconTemplate;\n _maximizeiconTemplate;\n _minimizeiconTemplate;\n _headlessTemplate;\n _visible = false;\n maskVisible;\n container;\n wrapper;\n dragging;\n ariaLabelledBy = this.getAriaLabelledBy();\n documentDragListener;\n documentDragEndListener;\n resizing;\n documentResizeListener;\n documentResizeEndListener;\n documentEscapeListener;\n maskClickListener;\n lastPageX;\n lastPageY;\n preventVisibleChangePropagation;\n maximized;\n preMaximizeContentHeight;\n preMaximizeContainerWidth;\n preMaximizeContainerHeight;\n preMaximizePageX;\n preMaximizePageY;\n id = uuid('pn_id_');\n _style = {};\n _position = 'center';\n originalStyle;\n transformOptions = 'scale(0.7)';\n styleElement;\n window;\n _componentStyle = inject(DialogStyle);\n headerT;\n contentT;\n footerT;\n closeIconT;\n maximizeIconT;\n minimizeIconT;\n headlessT;\n get maximizeLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['maximizeLabel'];\n }\n zone = inject(NgZone);\n get maskClass() {\n const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];\n const pos = positions.find(item => item === this.position);\n return {\n 'p-dialog-mask': true,\n 'p-overlay-mask p-overlay-mask-enter': this.modal || this.dismissableMask,\n [`p-dialog-${pos}`]: pos\n };\n }\n ngOnInit() {\n super.ngOnInit();\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n templates;\n ngAfterContentInit() {\n this.templates?.forEach(item => {\n switch (item.getType()) {\n case 'header':\n this.headerT = item.template;\n break;\n case 'content':\n this.contentT = item.template;\n break;\n case 'footer':\n this.footerT = item.template;\n break;\n case 'closeicon':\n this.closeIconT = item.template;\n break;\n case 'maximizeicon':\n this.maximizeIconT = item.template;\n break;\n case 'minimizeicon':\n this.minimizeIconT = item.template;\n break;\n case 'headless':\n this.headlessT = item.template;\n break;\n default:\n this.contentT = item.template;\n break;\n }\n });\n }\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n parseDurationToMilliseconds(durationString) {\n const transitionTimeRegex = /([\\d\\.]+)(ms|s)\\b/g;\n let totalMilliseconds = 0;\n let match;\n while ((match = transitionTimeRegex.exec(durationString)) !== null) {\n const value = parseFloat(match[1]);\n const unit = match[2];\n if (unit === 'ms') {\n totalMilliseconds += value;\n } else if (unit === 's') {\n totalMilliseconds += value * 1000;\n }\n }\n if (totalMilliseconds === 0) {\n return undefined;\n }\n return totalMilliseconds;\n }\n _focus(focusParentElement) {\n if (focusParentElement) {\n const timeoutDuration = this.parseDurationToMilliseconds(this.transitionOptions);\n let _focusableElements = DomHandler.getFocusableElements(focusParentElement);\n if (_focusableElements && _focusableElements.length > 0) {\n this.zone.runOutsideAngular(() => {\n setTimeout(() => _focusableElements[0].focus(), timeoutDuration || 5);\n });\n return true;\n }\n }\n return false;\n }\n focus(focusParentElement) {\n let focused = this._focus(focusParentElement);\n if (!focused) {\n focused = this._focus(this.footerViewChild?.nativeElement);\n if (!focused) {\n focused = this._focus(this.headerViewChild?.nativeElement);\n if (!focused) {\n this._focus(this.contentViewChild?.nativeElement);\n }\n }\n }\n }\n close(event) {\n this.visibleChange.emit(false);\n event.preventDefault();\n }\n enableModality() {\n if (this.closable && this.dismissableMask) {\n this.maskClickListener = this.renderer.listen(this.wrapper, 'mousedown', event => {\n if (this.wrapper && this.wrapper.isSameNode(event.target)) {\n this.close(event);\n }\n });\n }\n if (this.modal) {\n blockBodyScroll();\n }\n }\n disableModality() {\n if (this.wrapper) {\n if (this.dismissableMask) {\n this.unbindMaskClickListener();\n }\n // for nested dialogs w/modal\n const scrollBlockers = document.querySelectorAll('.p-dialog-mask-scrollblocker');\n if (this.modal && scrollBlockers && scrollBlockers.length == 1) {\n unblockBodyScroll();\n }\n if (!this.cd.destroyed) {\n this.cd.detectChanges();\n }\n }\n }\n maximize() {\n this.maximized = !this.maximized;\n if (!this.modal && !this.blockScroll) {\n if (this.maximized) {\n blockBodyScroll();\n } else {\n unblockBodyScroll();\n }\n }\n this.onMaximize.emit({\n maximized: this.maximized\n });\n }\n unbindMaskClickListener() {\n if (this.maskClickListener) {\n this.maskClickListener();\n this.maskClickListener = null;\n }\n }\n moveOnTop() {\n if (this.autoZIndex) {\n ZIndexUtils.set('modal', this.container, this.baseZIndex + this.config.zIndex.modal);\n this.wrapper.style.zIndex = String(parseInt(this.container.style.zIndex, 10) - 1);\n }\n }\n createStyle() {\n if (isPlatformBrowser(this.platformId)) {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n }\n initDrag(event) {\n if (hasClass(event.target, 'p-dialog-maximize-icon') || hasClass(event.target, 'p-dialog-header-close-icon') || hasClass(event.target.parentElement, 'p-dialog-header-icon')) {\n return;\n }\n if (this.draggable) {\n this.dragging = true;\n this.lastPageX = event.pageX;\n this.lastPageY = event.pageY;\n this.container.style.margin = '0';\n addClass(this.document.body, 'p-unselectable-text');\n }\n }\n onDrag(event) {\n if (this.dragging) {\n const containerWidth = getOuterWidth(this.container);\n const containerHeight = getOuterHeight(this.container);\n const deltaX = event.pageX - this.lastPageX;\n const deltaY = event.pageY - this.lastPageY;\n const offset = this.container.getBoundingClientRect();\n const containerComputedStyle = getComputedStyle(this.container);\n const leftMargin = parseFloat(containerComputedStyle.marginLeft);\n const topMargin = parseFloat(containerComputedStyle.marginTop);\n const leftPos = offset.left + deltaX - leftMargin;\n const topPos = offset.top + deltaY - topMargin;\n const viewport = getViewport();\n this.container.style.position = 'fixed';\n if (this.keepInViewport) {\n if (leftPos >= this.minX && leftPos + containerWidth < viewport.width) {\n this._style.left = `${leftPos}px`;\n this.lastPageX = event.pageX;\n this.container.style.left = `${leftPos}px`;\n }\n if (topPos >= this.minY && topPos + containerHeight < viewport.height) {\n this._style.top = `${topPos}px`;\n this.lastPageY = event.pageY;\n this.container.style.top = `${topPos}px`;\n }\n } else {\n this.lastPageX = event.pageX;\n this.container.style.left = `${leftPos}px`;\n this.lastPageY = event.pageY;\n this.container.style.top = `${topPos}px`;\n }\n }\n }\n endDrag(event) {\n if (this.dragging) {\n this.dragging = false;\n removeClass(this.document.body, 'p-unselectable-text');\n this.cd.detectChanges();\n this.onDragEnd.emit(event);\n }\n }\n resetPosition() {\n this.container.style.position = '';\n this.container.style.left = '';\n this.container.style.top = '';\n this.container.style.margin = '';\n }\n //backward compatibility\n center() {\n this.resetPosition();\n }\n initResize(event) {\n if (this.resizable) {\n this.resizing = true;\n this.lastPageX = event.pageX;\n this.lastPageY = event.pageY;\n addClass(this.document.body, 'p-unselectable-text');\n this.onResizeInit.emit(event);\n }\n }\n onResize(event) {\n if (this.resizing) {\n let deltaX = event.pageX - this.lastPageX;\n let deltaY = event.pageY - this.lastPageY;\n let containerWidth = getOuterWidth(this.container);\n let containerHeight = getOuterHeight(this.container);\n let contentHeight = getOuterHeight(this.contentViewChild?.nativeElement);\n let newWidth = containerWidth + deltaX;\n let newHeight = containerHeight + deltaY;\n let minWidth = this.container.style.minWidth;\n let minHeight = this.container.style.minHeight;\n let offset = this.container.getBoundingClientRect();\n let viewport = getViewport();\n let hasBeenDragged = !parseInt(this.container.style.top) || !parseInt(this.container.style.left);\n if (hasBeenDragged) {\n newWidth += deltaX;\n newHeight += deltaY;\n }\n if ((!minWidth || newWidth > parseInt(minWidth)) && offset.left + newWidth < viewport.width) {\n this._style.width = newWidth + 'px';\n this.container.style.width = this._style.width;\n }\n if ((!minHeight || newHeight > parseInt(minHeight)) && offset.top + newHeight < viewport.height) {\n this.contentViewChild.nativeElement.style.height = contentHeight + newHeight - containerHeight + 'px';\n if (this._style.height) {\n this._style.height = newHeight + 'px';\n this.container.style.height = this._style.height;\n }\n }\n this.lastPageX = event.pageX;\n this.lastPageY = event.pageY;\n }\n }\n resizeEnd(event) {\n if (this.resizing) {\n this.resizing = false;\n removeClass(this.document.body, 'p-unselectable-text');\n this.onResizeEnd.emit(event);\n }\n }\n bindGlobalListeners() {\n if (this.draggable) {\n this.bindDocumentDragListener();\n this.bindDocumentDragEndListener();\n }\n if (this.resizable) {\n this.bindDocumentResizeListeners();\n }\n if (this.closeOnEscape && this.closable) {\n this.bindDocumentEscapeListener();\n }\n }\n unbindGlobalListeners() {\n this.unbindDocumentDragListener();\n this.unbindDocumentDragEndListener();\n this.unbindDocumentResizeListeners();\n this.unbindDocumentEscapeListener();\n }\n bindDocumentDragListener() {\n if (!this.documentDragListener) {\n this.zone.runOutsideAngular(() => {\n this.documentDragListener = this.renderer.listen(this.document.defaultView, 'mousemove', this.onDrag.bind(this));\n });\n }\n }\n unbindDocumentDragListener() {\n if (this.documentDragListener) {\n this.documentDragListener();\n this.documentDragListener = null;\n }\n }\n bindDocumentDragEndListener() {\n if (!this.documentDragEndListener) {\n this.zone.runOutsideAngular(() => {\n this.documentDragEndListener = this.renderer.listen(this.document.defaultView, 'mouseup', this.endDrag.bind(this));\n });\n }\n }\n unbindDocumentDragEndListener() {\n if (this.documentDragEndListener) {\n this.documentDragEndListener();\n this.documentDragEndListener = null;\n }\n }\n bindDocumentResizeListeners() {\n if (!this.documentResizeListener && !this.documentResizeEndListener) {\n this.zone.runOutsideAngular(() => {\n this.documentResizeListener = this.renderer.listen(this.document.defaultView, 'mousemove', this.onResize.bind(this));\n this.documentResizeEndListener = this.renderer.listen(this.document.defaultView, 'mouseup', this.resizeEnd.bind(this));\n });\n }\n }\n unbindDocumentResizeListeners() {\n if (this.documentResizeListener && this.documentResizeEndListener) {\n this.documentResizeListener();\n this.documentResizeEndListener();\n this.documentResizeListener = null;\n this.documentResizeEndListener = null;\n }\n }\n bindDocumentEscapeListener() {\n const documentTarget = this.el ? this.el.nativeElement.ownerDocument : 'document';\n this.documentEscapeListener = this.renderer.listen(documentTarget, 'keydown', event => {\n if (event.key == 'Escape') {\n this.close(event);\n }\n });\n }\n unbindDocumentEscapeListener() {\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n this.documentEscapeListener = null;\n }\n }\n appendContainer() {\n if (this.appendTo) {\n if (this.appendTo === 'body') this.renderer.appendChild(this.document.body, this.wrapper);else appendChild(this.appendTo, this.wrapper);\n }\n }\n restoreAppend() {\n if (this.container && this.appendTo) {\n this.renderer.appendChild(this.el.nativeElement, this.wrapper);\n }\n }\n onAnimationStart(event) {\n switch (event.toState) {\n case 'visible':\n this.container = event.element;\n this.wrapper = this.container?.parentElement;\n this.appendContainer();\n this.moveOnTop();\n this.bindGlobalListeners();\n this.container?.setAttribute(this.id, '');\n if (this.modal) {\n this.enableModality();\n }\n // if (!this.modal && this.blockScroll) {\n // addClass(this.document.body, 'p-overflow-hidden');\n // }\n if (this.focusOnShow) {\n this.focus();\n }\n break;\n case 'void':\n if (this.wrapper && this.modal) {\n addClass(this.wrapper, 'p-overlay-mask-leave');\n }\n break;\n }\n }\n onAnimationEnd(event) {\n switch (event.toState) {\n case 'void':\n this.onContainerDestroy();\n this.onHide.emit({});\n this.cd.markForCheck();\n if (this.maskVisible !== this.visible) {\n this.maskVisible = this.visible;\n }\n break;\n case 'visible':\n this.onShow.emit({});\n break;\n }\n }\n onContainerDestroy() {\n this.unbindGlobalListeners();\n this.dragging = false;\n this.maskVisible = false;\n if (this.maximized) {\n // removeClass(this.document.body, 'p-overflow-hidden')\n this.document.body.style.removeProperty('--scrollbar;-width');\n this.maximized = false;\n }\n if (this.modal) {\n this.disableModality();\n }\n // if (this.blockScroll) {\n // removeClass(this.document.body, 'p-overflow-hidden');\n // }\n if (hasClass(this.document.body, 'p-overflow-hidden')) {\n removeClass(this.document.body, 'p-overflow-hidden');\n }\n if (this.container && this.autoZIndex) {\n ZIndexUtils.clear(this.container);\n }\n this.container = null;\n this.wrapper = null;\n this._style = this.originalStyle ? {\n ...this.originalStyle\n } : {};\n }\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n ngOnDestroy() {\n if (this.container) {\n this.restoreAppend();\n this.onContainerDestroy();\n }\n this.destroyStyle();\n super.ngOnDestroy();\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵDialog_BaseFactory;\n return function Dialog_Factory(__ngFactoryType__) {\n return (ɵDialog_BaseFactory || (ɵDialog_BaseFactory = i0.ɵɵgetInheritedFactory(Dialog)))(__ngFactoryType__ || Dialog);\n };\n })();\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: Dialog,\n selectors: [[\"p-dialog\"]],\n contentQueries: function Dialog_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, _c0, 4);\n i0.ɵɵcontentQuery(dirIndex, _c1, 4);\n i0.ɵɵcontentQuery(dirIndex, _c2, 4);\n i0.ɵɵcontentQuery(dirIndex, _c3, 4);\n i0.ɵɵcontentQuery(dirIndex, _c4, 4);\n i0.ɵɵcontentQuery(dirIndex, _c5, 4);\n i0.ɵɵcontentQuery(dirIndex, _c6, 4);\n i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._headerTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._contentTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._footerTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._closeiconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._maximizeiconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._minimizeiconTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._headlessTemplate = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);\n }\n },\n viewQuery: function Dialog_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c7, 5);\n i0.ɵɵviewQuery(_c1, 5);\n i0.ɵɵviewQuery(_c2, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerViewChild = _t.first);\n }\n },\n inputs: {\n header: \"header\",\n draggable: [2, \"draggable\", \"draggable\", booleanAttribute],\n resizable: [2, \"resizable\", \"resizable\", booleanAttribute],\n positionLeft: \"positionLeft\",\n positionTop: \"positionTop\",\n contentStyle: \"contentStyle\",\n contentStyleClass: \"contentStyleClass\",\n modal: [2, \"modal\", \"modal\", booleanAttribute],\n closeOnEscape: [2, \"closeOnEscape\", \"closeOnEscape\", booleanAttribute],\n dismissableMask: [2, \"dismissableMask\", \"dismissableMask\", booleanAttribute],\n rtl: [2, \"rtl\", \"rtl\", booleanAttribute],\n closable: [2, \"closable\", \"closable\", booleanAttribute],\n responsive: \"responsive\",\n appendTo: \"appendTo\",\n breakpoints: \"breakpoints\",\n styleClass: \"styleClass\",\n maskStyleClass: \"maskStyleClass\",\n maskStyle: \"maskStyle\",\n showHeader: [2, \"showHeader\", \"showHeader\", booleanAttribute],\n breakpoint: \"breakpoint\",\n blockScroll: [2, \"blockScroll\", \"blockScroll\", booleanAttribute],\n autoZIndex: [2, \"autoZIndex\", \"autoZIndex\", booleanAttribute],\n baseZIndex: [2, \"baseZIndex\", \"baseZIndex\", numberAttribute],\n minX: [2, \"minX\", \"minX\", numberAttribute],\n minY: [2, \"minY\", \"minY\", numberAttribute],\n focusOnShow: [2, \"focusOnShow\", \"focusOnShow\", booleanAttribute],\n maximizable: [2, \"maximizable\", \"maximizable\", booleanAttribute],\n keepInViewport: [2, \"keepInViewport\", \"keepInViewport\", booleanAttribute],\n focusTrap: [2, \"focusTrap\", \"focusTrap\", booleanAttribute],\n transitionOptions: \"transitionOptions\",\n closeIcon: \"closeIcon\",\n closeAriaLabel: \"closeAriaLabel\",\n closeTabindex: \"closeTabindex\",\n minimizeIcon: \"minimizeIcon\",\n maximizeIcon: \"maximizeIcon\",\n closeButtonProps: \"closeButtonProps\",\n maximizeButtonProps: \"maximizeButtonProps\",\n visible: \"visible\",\n style: \"style\",\n position: \"position\",\n role: \"role\",\n headerTemplate: [0, \"content\", \"headerTemplate\"],\n contentTemplate: \"contentTemplate\",\n footerTemplate: \"footerTemplate\",\n closeIconTemplate: \"closeIconTemplate\",\n maximizeIconTemplate: \"maximizeIconTemplate\",\n minimizeIconTemplate: \"minimizeIconTemplate\",\n headlessTemplate: \"headlessTemplate\"\n },\n outputs: {\n onShow: \"onShow\",\n onHide: \"onHide\",\n visibleChange: \"visibleChange\",\n onResizeInit: \"onResizeInit\",\n onResizeEnd: \"onResizeEnd\",\n onDragEnd: \"onDragEnd\",\n onMaximize: \"onMaximize\"\n },\n features: [i0.ɵɵProvidersFeature([DialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature],\n ngContentSelectors: _c9,\n decls: 1,\n vars: 1,\n consts: [[\"container\", \"\"], [\"notHeadless\", \"\"], [\"content\", \"\"], [\"titlebar\", \"\"], [\"icon\", \"\"], [\"footer\", \"\"], [3, \"ngClass\", \"class\", \"ngStyle\", \"style\", 4, \"ngIf\"], [3, \"ngClass\", \"ngStyle\"], [\"pFocusTrap\", \"\", 3, \"class\", \"ngClass\", \"ngStyle\", \"style\", \"pFocusTrapDisabled\", 4, \"ngIf\"], [\"pFocusTrap\", \"\", 3, \"ngClass\", \"ngStyle\", \"pFocusTrapDisabled\"], [4, \"ngIf\", \"ngIfElse\"], [4, \"ngTemplateOutlet\"], [\"style\", \"z-index: 90;\", 3, \"ngClass\", \"mousedown\", 4, \"ngIf\"], [3, \"ngClass\", \"mousedown\", 4, \"ngIf\"], [3, \"ngClass\", 4, \"ngIf\"], [2, \"z-index\", \"90\", 3, \"mousedown\", \"ngClass\"], [3, \"mousedown\", \"ngClass\"], [3, \"id\", \"ngClass\", 4, \"ngIf\"], [3, \"ngClass\"], [3, \"styleClass\", \"tabindex\", \"ariaLabel\", \"buttonProps\", \"onClick\", \"keydown.enter\", 4, \"ngIf\"], [3, \"styleClass\", \"ariaLabel\", \"tabindex\", \"buttonProps\", \"onClick\", \"keydown.enter\", 4, \"ngIf\"], [3, \"id\", \"ngClass\"], [3, \"onClick\", \"keydown.enter\", \"styleClass\", \"tabindex\", \"ariaLabel\", \"buttonProps\"], [4, \"ngIf\"], [3, \"onClick\", \"keydown.enter\", \"styleClass\", \"ariaLabel\", \"tabindex\", \"buttonProps\"]],\n template: function Dialog_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c8);\n i0.ɵɵtemplate(0, Dialog_div_0_Template, 2, 11, \"div\", 6);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.maskVisible);\n }\n },\n dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Button, FocusTrap, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon, SharedModule],\n encapsulation: 2,\n data: {\n animation: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])]\n },\n changeDetection: 0\n });\n }\n return Dialog;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet DialogModule = /*#__PURE__*/(() => {\n class DialogModule {\n static ɵfac = function DialogModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DialogModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: DialogModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [Dialog, SharedModule, SharedModule]\n });\n }\n return DialogModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Dialog, DialogClasses, DialogModule, DialogStyle };\n","import * as i3 from '@angular/common';\nimport { isPlatformBrowser, CommonModule, DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Injectable, inject, ViewChild, SkipSelf, Optional, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule, createComponent, Inject } from '@angular/core';\nimport { uuid, setAttribute, addClass, removeClass, getOuterWidth, getOuterHeight, getViewport, hasClass, appendChild } from '@primeuix/utils';\nimport { animation, style, animate, trigger, transition, useAnimation } from '@angular/animations';\nimport { TranslationKeys, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button } from 'primeng/button';\nimport { DomHandler } from 'primeng/dom';\nimport { FocusTrap } from 'primeng/focustrap';\nimport { WindowMaximizeIcon, WindowMinimizeIcon, TimesIcon } from 'primeng/icons';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { DialogStyle } from 'primeng/dialog';\nimport { Subject } from 'rxjs';\nconst _c0 = [\"mask\"];\nconst _c1 = [\"content\"];\nconst _c2 = [\"footer\"];\nconst _c3 = [\"titlebar\"];\nconst _c4 = (a0, a1, a2) => ({\n position: \"fixed\",\n height: \"100%\",\n width: \"100%\",\n left: 0,\n top: 0,\n display: \"flex\",\n \"justify-content\": a0,\n \"align-items\": a1,\n \"pointer-events\": a2\n});\nconst _c5 = a0 => ({\n \"p-dialog p-component\": true,\n \"p-dialog-maximized\": a0\n});\nconst _c6 = () => ({\n display: \"flex\",\n \"flex-direction\": \"column\",\n \"pointer-events\": \"auto\"\n});\nconst _c7 = (a0, a1) => ({\n transform: a0,\n transition: a1\n});\nconst _c8 = a0 => ({\n value: \"visible\",\n params: a0\n});\nfunction DynamicDialogComponent_div_2_div_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 14);\n i0.ɵɵlistener(\"mousedown\", function DynamicDialogComponent_div_2_div_2_Template_div_mousedown_0_listener($event) {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.initResize($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngClass\", \"p-resizable-handle\");\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_WindowMaximizeIcon_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"WindowMaximizeIcon\");\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_WindowMinimizeIcon_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"WindowMinimizeIcon\");\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_WindowMaximizeIcon_1_Template, 1, 0, \"WindowMaximizeIcon\", 11)(2, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_WindowMinimizeIcon_2_Template, 1, 0, \"WindowMinimizeIcon\", 11);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.maximized && !ctx_r1.maximizeIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.maximized && !ctx_r1.minimizeIconTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_1_ng_template_0_Template(rf, ctx) {}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_1_Template, 1, 0, null, 21);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.maximizeIconTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_1_ng_template_0_Template(rf, ctx) {}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_1_Template, 1, 0, null, 21);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.minimizeIconTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-button\", 20);\n i0.ɵɵlistener(\"onClick\", function DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_Template_p_button_onClick_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.maximize());\n })(\"keydown.enter\", function DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_Template_p_button_keydown_enter_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.maximize());\n });\n i0.ɵɵtemplate(1, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_Template, 3, 2, \"ng-container\", 11)(2, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_Template, 2, 1, \"ng-container\", 11)(3, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_Template, 2, 1, \"ng-container\", 11);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"styleClass\", \"p-dialog-maximize-button\")(\"tabindex\", ctx_r1.maximizable ? \"0\" : \"-1\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.maximizeIcon);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.maximized);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.maximized);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"TimesIcon\");\n i0.ɵɵelementContainerEnd();\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_1_ng_template_0_Template(rf, ctx) {}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_1_ng_template_0_Template, 0, 0, \"ng-template\");\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtemplate(1, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_1_Template, 1, 0, null, 21);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(5);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.closeIconTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p-button\", 22);\n i0.ɵɵlistener(\"onClick\", function DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_Template_p_button_onClick_0_listener() {\n i0.ɵɵrestoreView(_r6);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.hide());\n })(\"keydown.enter\", function DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_Template_p_button_keydown_enter_0_listener() {\n i0.ɵɵrestoreView(_r6);\n const ctx_r1 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r1.hide());\n });\n i0.ɵɵtemplate(1, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_ng_container_1_Template, 2, 0, \"ng-container\", 11)(2, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_Template, 2, 1, \"span\", 11);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"styleClass\", \"p-dialog-close-button\")(\"ariaLabel\", ctx_r1.ddconfig.closeAriaLabel || ctx_r1.defaultCloseAriaLabel);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.closeIconTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.closeIconTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"span\", 16);\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"div\", 17);\n i0.ɵɵtemplate(4, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_Template, 4, 5, \"p-button\", 18)(5, DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_Template, 3, 4, \"p-button\", 19);\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", \"p-dialog-title\")(\"id\", ctx_r1.ariaLabelledBy);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.ddconfig.header);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", \"p-dialog-header-actions\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.ddconfig.maximizable);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.closable);\n }\n}\nfunction DynamicDialogComponent_div_2_div_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 15, 3);\n i0.ɵɵlistener(\"mousedown\", function DynamicDialogComponent_div_2_div_3_Template_div_mousedown_0_listener($event) {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r1.initDrag($event));\n });\n i0.ɵɵtemplate(2, DynamicDialogComponent_div_2_div_3_ng_container_2_Template, 1, 0, \"ng-container\", 12)(3, DynamicDialogComponent_div_2_div_3_ng_container_3_Template, 6, 6, \"ng-container\", 11);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", \"p-dialog-header\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngComponentOutlet\", ctx_r1.headerTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.headerTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_6_ng_template_0_Template(rf, ctx) {}\nfunction DynamicDialogComponent_div_2_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, DynamicDialogComponent_div_2_6_ng_template_0_Template, 0, 0, \"ng-template\", 23);\n }\n}\nfunction DynamicDialogComponent_div_2_ng_container_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction DynamicDialogComponent_div_2_div_8_ng_container_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.ddconfig.footer, \" \");\n }\n}\nfunction DynamicDialogComponent_div_2_div_8_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction DynamicDialogComponent_div_2_div_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 17, 4);\n i0.ɵɵtemplate(2, DynamicDialogComponent_div_2_div_8_ng_container_2_Template, 2, 1, \"ng-container\", 11)(3, DynamicDialogComponent_div_2_div_8_ng_container_3_Template, 1, 0, \"ng-container\", 12);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", \"p-dialog-footer\");\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.footerTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngComponentOutlet\", ctx_r1.footerTemplate);\n }\n}\nfunction DynamicDialogComponent_div_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 7, 1);\n i0.ɵɵlistener(\"@animation.start\", function DynamicDialogComponent_div_2_Template_div_animation_animation_start_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onAnimationStart($event));\n })(\"@animation.done\", function DynamicDialogComponent_div_2_Template_div_animation_animation_done_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onAnimationEnd($event));\n });\n i0.ɵɵtemplate(2, DynamicDialogComponent_div_2_div_2_Template, 1, 1, \"div\", 8)(3, DynamicDialogComponent_div_2_div_3_Template, 4, 3, \"div\", 9);\n i0.ɵɵelementStart(4, \"div\", 10, 2);\n i0.ɵɵtemplate(6, DynamicDialogComponent_div_2_6_Template, 1, 0, null, 11)(7, DynamicDialogComponent_div_2_ng_container_7_Template, 1, 0, \"ng-container\", 12);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(8, DynamicDialogComponent_div_2_div_8_Template, 4, 3, \"div\", 13);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵstyleMap(ctx_r1.ddconfig.style);\n i0.ɵɵclassMap(ctx_r1.ddconfig.styleClass);\n i0.ɵɵstyleProp(\"width\", ctx_r1.ddconfig.width)(\"height\", ctx_r1.ddconfig.height);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(22, _c5, ctx_r1.maximizable && ctx_r1.maximized))(\"ngStyle\", i0.ɵɵpureFunction0(24, _c6))(\"@animation\", i0.ɵɵpureFunction1(28, _c8, i0.ɵɵpureFunction2(25, _c7, ctx_r1.transformOptions, ctx_r1.ddconfig.transitionOptions || \"150ms cubic-bezier(0, 0, 0.2, 1)\")))(\"pFocusTrapDisabled\", ctx_r1.ddconfig.focusTrap === false);\n i0.ɵɵattribute(\"aria-labelledby\", ctx_r1.ariaLabelledBy)(\"aria-modal\", true)(\"id\", ctx_r1.dialogId);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r1.ddconfig.resizable);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.ddconfig.showHeader !== false);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", \"p-dialog-content\")(\"ngStyle\", ctx_r1.ddconfig.contentStyle);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.contentTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngComponentOutlet\", ctx_r1.contentTemplate);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.ddconfig.footer || ctx_r1.footerTemplate);\n }\n}\nlet DynamicDialogContent = /*#__PURE__*/(() => {\n class DynamicDialogContent {\n viewContainerRef;\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static ɵfac = function DynamicDialogContent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DynamicDialogContent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: DynamicDialogContent,\n selectors: [[\"\", \"pDynamicDialogContent\", \"\"]]\n });\n }\n return DynamicDialogContent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet DynamicDialogStyle = /*#__PURE__*/(() => {\n class DynamicDialogStyle extends DialogStyle {\n name = 'dialog';\n static ɵfac = /* @__PURE__ */(() => {\n let ɵDynamicDialogStyle_BaseFactory;\n return function DynamicDialogStyle_Factory(__ngFactoryType__) {\n return (ɵDynamicDialogStyle_BaseFactory || (ɵDynamicDialogStyle_BaseFactory = i0.ɵɵgetInheritedFactory(DynamicDialogStyle)))(__ngFactoryType__ || DynamicDialogStyle);\n };\n })();\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DynamicDialogStyle,\n factory: DynamicDialogStyle.ɵfac\n });\n }\n return DynamicDialogStyle;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n *\n * DynamicDialog is a container to display content in an overlay window.\n *\n * [Live Demo](https://www.primeng.org/dynamicdialog)\n *\n * @module dynamicdialogstyle\n *\n */\nvar DynamicDialogClasses = /*#__PURE__*/function (DynamicDialogClasses) {\n /**\n * Class name of the mask element\n */\n DynamicDialogClasses[\"mask\"] = \"p-dialog-mask\";\n /**\n * Class name of the root element\n */\n DynamicDialogClasses[\"root\"] = \"p-dialog\";\n /**\n * Class name of the header element\n */\n DynamicDialogClasses[\"header\"] = \"p-dialog-header\";\n /**\n * Class name of the title element\n */\n DynamicDialogClasses[\"title\"] = \"p-dialog-title\";\n /**\n * Class name of the header actions element\n */\n DynamicDialogClasses[\"headerActions\"] = \"p-dialog-header-actions\";\n /**\n * Class name of the maximize button element\n */\n DynamicDialogClasses[\"pcMaximizeButton\"] = \"p-dialog-maximize-button\";\n /**\n * Class name of the close button element\n */\n DynamicDialogClasses[\"pcCloseButton\"] = \"p-dialog-close-button\";\n /**\n * Class name of the content element\n */\n DynamicDialogClasses[\"content\"] = \"p-dialog-content\";\n /**\n * Class name of the footer element\n */\n DynamicDialogClasses[\"footer\"] = \"p-dialog-footer\";\n return DynamicDialogClasses;\n}(DynamicDialogClasses || {});\n/**\n * Dialogs can be created dynamically with any component as the content using a DialogService.\n * @group Components\n */\nclass DynamicDialogConfig {\n /**\n * An object to pass to the component loaded inside the Dialog.\n * @group Props\n */\n data;\n /**\n * An object to pass to the component loaded inside the Dialog.\n * @group Props\n */\n inputValues;\n /**\n * Header text of the dialog.\n * @group Props\n */\n header;\n /**\n * Identifies the element (or elements) that labels the element it is applied to.\n * @group Props\n */\n ariaLabelledBy;\n /**\n * Footer text of the dialog.\n * @group Props\n */\n footer;\n /**\n * Width of the dialog.\n * @group Props\n */\n width;\n /**\n * Height of the dialog.\n * @group Props\n */\n height;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n closeOnEscape = false;\n /**\n * Specifies if autofocus should happen on show.\n * @group Props\n */\n focusOnShow = true;\n /**\n * When enabled, can only focus on elements inside the dialog.\n * @group Props\n */\n focusTrap = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n baseZIndex;\n /**\n * Whether to re-enforce layering through applying zIndex.\n * @group Props\n */\n autoZIndex = false;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n dismissableMask = false;\n /**\n * Inline style of the component.\n * @group Props\n */\n rtl = false;\n /**\n * Inline style of the comopnent.\n * @group Props\n */\n style;\n /**\n * Inline style of the content.\n * @group Props\n */\n contentStyle;\n /**\n * Style class of the component.\n * @group Props\n */\n styleClass;\n /**\n * Transition options of the animation.\n * @group Props\n */\n transitionOptions;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n closable = false;\n /**\n * Whether to show the header or not.\n * @group Props\n */\n showHeader = false;\n /**\n * Defines if background should be blocked when dialog is displayed.\n * @group Props\n */\n modal = false;\n /**\n * Style class of the mask.\n * @group Props\n */\n maskStyleClass;\n /**\n * Enables resizing of the content.\n * @group Props\n */\n resizable = false;\n /**\n * Enables dragging to change the position using header.\n * @group Props\n */\n draggable = false;\n /**\n * Keeps dialog in the viewport.\n * @group Props\n */\n keepInViewport = false;\n /**\n * Minimum value for the left coordinate of dialog in dragging.\n * @group Props\n */\n minX;\n /**\n * Minimum value for the top coordinate of dialog in dragging.\n * @group Props\n */\n minY;\n /**\n * Whether the dialog can be displayed full screen.\n * @group Props\n */\n maximizable = false;\n /**\n * Name of the maximize icon.\n * @group Props\n */\n maximizeIcon;\n /**\n * Name of the minimize icon.\n * @group Props\n */\n minimizeIcon;\n /**\n * Position of the dialog, options are \"center\", \"top\", \"bottom\", \"left\", \"right\", \"top-left\", \"top-right\", \"bottom-left\" or \"bottom-right\".\n * @group Props\n */\n position;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n closeAriaLabel;\n /**\n * Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n appendTo;\n /**\n * A boolean to determine if it can be duplicate.\n * @group Props\n */\n duplicate = false;\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n breakpoints;\n /**\n * Dialog templates.\n * @group Props\n */\n templates;\n}\n\n/**\n * Dynamic Dialog instance.\n * @group Components\n */\nclass DynamicDialogRef {\n constructor() {}\n /**\n * Closes dialog.\n * @group Method\n */\n close(result) {\n this._onClose.next(result);\n setTimeout(() => {\n this._onClose.complete();\n }, 1000);\n }\n /**\n * Destroys the dialog instance.\n * @group Method\n */\n destroy() {\n this._onDestroy.next(null);\n }\n /**\n * Callback to invoke on drag start.\n * @param {MouseEvent} event - Mouse event.\n * @group Method\n */\n dragStart(event) {\n this._onDragStart.next(event);\n }\n /**\n * Callback to invoke on drag end.\n * @param {MouseEvent} event - Mouse event.\n * @group Method\n */\n dragEnd(event) {\n this._onDragEnd.next(event);\n }\n /**\n * Callback to invoke on resize start.\n * @param {MouseEvent} event - Mouse event.\n * @group Method\n */\n resizeInit(event) {\n this._onResizeInit.next(event);\n }\n /**\n * Callback to invoke on resize start.\n * @param {MouseEvent} event - Mouse event.\n * @group Method\n */\n resizeEnd(event) {\n this._onResizeEnd.next(event);\n }\n /**\n * Callback to invoke on dialog is maximized.\n * @param {*} value - Size value.\n * @group Method\n */\n maximize(value) {\n this._onMaximize.next(value);\n }\n _onClose = new Subject();\n /**\n * Event triggered on dialog is closed.\n * @group Events\n */\n onClose = this._onClose.asObservable();\n _onDestroy = new Subject();\n /**\n * Event triggered on dialog instance is destroyed.\n * @group Events\n */\n onDestroy = this._onDestroy.asObservable();\n _onDragStart = new Subject();\n /**\n * Event triggered on drag start.\n * @param {MouseEvent} event - Mouse event.\n * @group Events\n */\n onDragStart = this._onDragStart.asObservable();\n _onDragEnd = new Subject();\n /**\n * Event triggered on drag end.\n * @param {MouseEvent} event - Mouse event.\n * @group Events\n */\n onDragEnd = this._onDragEnd.asObservable();\n _onResizeInit = new Subject();\n /**\n * Event triggered on resize start.\n * @param {MouseEvent} event - Mouse event.\n * @group Events\n */\n onResizeInit = this._onResizeInit.asObservable();\n _onResizeEnd = new Subject();\n /**\n * Event triggered on resize end.\n * @param {MouseEvent} event - Mouse event.\n * @group Events\n */\n onResizeEnd = this._onResizeEnd.asObservable();\n _onMaximize = new Subject();\n /**\n * Event triggered on dialog is maximized.\n * @param {*} value - Size value.\n * @group Events\n */\n onMaximize = this._onMaximize.asObservable();\n /**\n * Event triggered on child component load.\n * @param {*} value - Chi.\n * @group Events\n */\n onChildComponentLoaded = new Subject();\n}\nconst showAnimation = animation([style({\n transform: '{{transform}}',\n opacity: 0\n}), animate('{{transition}}', style({\n transform: 'none',\n opacity: 1\n}))]);\nconst hideAnimation = animation([animate('{{transition}}', style({\n transform: '{{transform}}',\n opacity: 0\n}))]);\nlet DynamicDialogComponent = /*#__PURE__*/(() => {\n class DynamicDialogComponent extends BaseComponent {\n renderer;\n ddconfig;\n dialogRef;\n zone;\n parentDialog;\n visible = true;\n componentRef;\n mask;\n resizing;\n dragging;\n maximized;\n _style = {};\n originalStyle;\n lastPageX;\n lastPageY;\n ariaLabelledBy;\n id = uuid('pn_id_');\n styleElement;\n insertionPoint;\n maskViewChild;\n contentViewChild;\n footerViewChild;\n headerViewChild;\n childComponentType;\n inputValues;\n container;\n wrapper;\n documentKeydownListener;\n documentEscapeListener;\n maskClickListener;\n transformOptions = 'scale(0.7)';\n documentResizeListener;\n documentResizeEndListener;\n documentDragListener;\n documentDragEndListener;\n _componentStyle = inject(DynamicDialogStyle);\n get minX() {\n return this.ddconfig.minX ? this.ddconfig.minX : 0;\n }\n get minY() {\n return this.ddconfig.minY ? this.ddconfig.minY : 0;\n }\n get keepInViewport() {\n return this.ddconfig.keepInViewport;\n }\n get maximizable() {\n return this.ddconfig.maximizable;\n }\n get maximizeIcon() {\n return this.ddconfig.maximizeIcon;\n }\n get minimizeIcon() {\n return this.ddconfig.minimizeIcon;\n }\n get closable() {\n return this.ddconfig.closable;\n }\n get style() {\n return this._style;\n }\n get position() {\n return this.ddconfig.position;\n }\n get defaultCloseAriaLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['close'];\n }\n set style(value) {\n if (value) {\n this._style = {\n ...value\n };\n this.originalStyle = value;\n }\n }\n get parent() {\n const domElements = Array.from(this.document.getElementsByClassName('p-dialog'));\n if (domElements.length > 1) {\n return domElements.pop();\n }\n }\n get parentContent() {\n const domElements = Array.from(this.document.getElementsByClassName('p-dialog'));\n if (domElements.length > 0) {\n const contentElements = domElements[domElements.length - 1].querySelector('.p-dialog-content');\n if (contentElements) return Array.isArray(contentElements) ? contentElements[0] : contentElements;\n }\n }\n get header() {\n return this.ddconfig.header;\n }\n get data() {\n return this.ddconfig.data;\n }\n get breakpoints() {\n return this.ddconfig.breakpoints;\n }\n get footerTemplate() {\n return this.ddconfig?.templates?.footer;\n }\n get headerTemplate() {\n return this.ddconfig?.templates?.header;\n }\n get contentTemplate() {\n return this.ddconfig?.templates?.content;\n }\n get minimizeIconTemplate() {\n return this.ddconfig?.templates?.minimizeicon;\n }\n get maximizeIconTemplate() {\n return this.ddconfig?.templates?.maximizeicon;\n }\n get closeIconTemplate() {\n return this.ddconfig?.templates?.closeicon;\n }\n get maskClass() {\n const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];\n const pos = positions.find(item => item === this.position);\n return {\n 'p-dialog-mask': true,\n 'p-overlay-mask p-overlay-mask-enter': this.ddconfig.modal || this.ddconfig.dismissableMask,\n [`p-dialog-${pos}`]: pos\n };\n }\n get dialogId() {\n return this.attrSelector;\n }\n zIndexForLayering;\n constructor(renderer, ddconfig, dialogRef, zone, parentDialog) {\n super();\n this.renderer = renderer;\n this.ddconfig = ddconfig;\n this.dialogRef = dialogRef;\n this.zone = zone;\n this.parentDialog = parentDialog;\n }\n ngOnInit() {\n super.ngOnInit();\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n createStyle() {\n if (isPlatformBrowser(this.platformId)) {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[id=${this.dialogId}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n }\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.loadChildComponent(this.childComponentType);\n this.ariaLabelledBy = this.getAriaLabelledBy();\n this.cd.detectChanges();\n }\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n loadChildComponent(componentType) {\n let viewContainerRef = this.insertionPoint?.viewContainerRef;\n viewContainerRef?.clear();\n this.componentRef = viewContainerRef?.createComponent(componentType);\n if (this.inputValues) {\n Object.entries(this.inputValues).forEach(([key, value]) => {\n this.componentRef.setInput(key, value);\n });\n }\n this.dialogRef.onChildComponentLoaded.next(this.componentRef.instance);\n }\n moveOnTop() {\n if (this.ddconfig.autoZIndex !== false) {\n ZIndexUtils.set('modal', this.container, (this.ddconfig.baseZIndex || 0) + this.config.zIndex.modal);\n this.wrapper.style.zIndex = String(parseInt(this.container.style.zIndex, 10) - 1);\n } else {\n this.zIndexForLayering = ZIndexUtils.generateZIndex('modal', (this.ddconfig.baseZIndex || 0) + this.config.zIndex.modal);\n }\n }\n onAnimationStart(event) {\n switch (event.toState) {\n case 'visible':\n this.container = event.element;\n this.wrapper = this.container.parentElement;\n this.moveOnTop();\n if (this.parent) {\n this.unbindGlobalListeners();\n }\n this.bindGlobalListeners();\n this.container?.setAttribute(this.id, '');\n if (this.ddconfig.modal !== false) {\n this.enableModality();\n }\n if (this.ddconfig.focusOnShow !== false) {\n this.focus();\n }\n break;\n case 'void':\n if (this.wrapper && this.ddconfig.modal !== false) {\n addClass(this.wrapper, 'p-overlay-mask-leave');\n }\n break;\n }\n }\n onAnimationEnd(event) {\n if (event.toState === 'void') {\n if (this.parentContent) {\n this.focus(this.parentContent);\n }\n this.onContainerDestroy();\n this.dialogRef.destroy();\n }\n }\n onContainerDestroy() {\n this.unbindGlobalListeners();\n if (this.container && this.ddconfig.autoZIndex !== false) {\n ZIndexUtils.clear(this.container);\n }\n if (this.zIndexForLayering) {\n ZIndexUtils.revertZIndex(this.zIndexForLayering);\n }\n if (this.ddconfig.modal !== false) {\n this.disableModality();\n }\n this.container = null;\n }\n close() {\n this.visible = false;\n this.cd.markForCheck();\n }\n hide() {\n if (this.dialogRef) {\n this.dialogRef.close();\n }\n }\n enableModality() {\n if (this.ddconfig.dismissableMask) {\n this.maskClickListener = this.renderer.listen(this.wrapper, 'mousedown', event => {\n if (this.wrapper && this.wrapper.isSameNode(event.target)) {\n this.hide();\n }\n });\n }\n if (this.ddconfig.modal !== false) {\n addClass(this.document.body, 'p-overflow-hidden');\n }\n }\n disableModality() {\n if (this.wrapper) {\n if (this.ddconfig.dismissableMask) {\n this.unbindMaskClickListener();\n }\n if (this.ddconfig.modal !== false) {\n removeClass(this.document.body, 'p-overflow-hidden');\n }\n if (!this.cd.destroyed) {\n this.cd.detectChanges();\n }\n }\n }\n focus(focusParentElement = this.contentViewChild.nativeElement) {\n let focusable = DomHandler.getFocusableElement(focusParentElement, '[autofocus]');\n if (focusable) {\n this.zone.runOutsideAngular(() => {\n setTimeout(() => focusable.focus(), 5);\n });\n return;\n }\n const focusableElement = DomHandler.getFocusableElement(focusParentElement);\n if (focusableElement) {\n this.zone.runOutsideAngular(() => {\n setTimeout(() => focusableElement.focus(), 5);\n });\n } else if (this.footerViewChild) {\n // If the content section is empty try to focus on footer\n this.focus(this.footerViewChild.nativeElement);\n } else if (!focusableElement && this.headerViewChild) {\n this.focus(this.headerViewChild.nativeElement);\n }\n }\n maximize() {\n this.maximized = !this.maximized;\n if (this.maximized) {\n addClass(this.document.body, 'p-overflow-hidden');\n } else {\n removeClass(this.document.body, 'p-overflow-hidden');\n }\n this.dialogRef.maximize({\n maximized: this.maximized\n });\n }\n initResize(event) {\n if (this.ddconfig.resizable) {\n if (!this.documentResizeListener) {\n this.bindDocumentResizeListeners();\n }\n this.resizing = true;\n this.lastPageX = event.pageX;\n this.lastPageY = event.pageY;\n addClass(this.document.body, 'p-unselectable-text');\n this.dialogRef.resizeInit(event);\n }\n }\n onResize(event) {\n if (this.resizing) {\n let deltaX = event.pageX - this.lastPageX;\n let deltaY = event.pageY - this.lastPageY;\n let containerWidth = getOuterWidth(this.container);\n let containerHeight = getOuterHeight(this.container);\n let contentHeight = getOuterHeight(this.contentViewChild.nativeElement);\n let newWidth = containerWidth + deltaX;\n let newHeight = containerHeight + deltaY;\n let minWidth = this.container.style.minWidth;\n let minHeight = this.container.style.minHeight;\n let offset = this.container.getBoundingClientRect();\n let viewport = getViewport();\n let hasBeenDragged = !parseInt(this.container.style.top) || !parseInt(this.container.style.left);\n if (hasBeenDragged) {\n newWidth += deltaX;\n newHeight += deltaY;\n }\n if ((!minWidth || newWidth > parseInt(minWidth)) && offset.left + newWidth < viewport.width) {\n this._style.width = newWidth + 'px';\n this.container.style.width = this._style.width;\n }\n if ((!minHeight || newHeight > parseInt(minHeight)) && offset.top + newHeight < viewport.height) {\n this.contentViewChild.nativeElement.style.height = contentHeight + newHeight - containerHeight + 'px';\n if (this._style.height) {\n this._style.height = newHeight + 'px';\n this.container.style.height = this._style.height;\n }\n }\n this.lastPageX = event.pageX;\n this.lastPageY = event.pageY;\n }\n }\n resizeEnd(event) {\n if (this.resizing) {\n this.resizing = false;\n removeClass(this.document.body, 'p-unselectable-text');\n this.dialogRef.resizeEnd(event);\n }\n }\n initDrag(event) {\n if (hasClass(event.target, 'p-dialog-header-icon') || hasClass(event.target.parentElement, 'p-dialog-header-icon')) {\n return;\n }\n if (this.ddconfig.draggable) {\n this.dragging = true;\n this.lastPageX = event.pageX;\n this.lastPageY = event.pageY;\n this.container.style.margin = '0';\n addClass(this.document.body, 'p-unselectable-text');\n this.dialogRef.dragStart(event);\n }\n }\n onDrag(event) {\n if (this.dragging) {\n let containerWidth = getOuterWidth(this.container);\n let containerHeight = getOuterHeight(this.container);\n let deltaX = event.pageX - this.lastPageX;\n let deltaY = event.pageY - this.lastPageY;\n let offset = this.container.getBoundingClientRect();\n let leftPos = offset.left + deltaX;\n let topPos = offset.top + deltaY;\n let viewport = getViewport();\n this.container.style.position = 'fixed';\n if (this.keepInViewport) {\n if (leftPos >= this.minX && leftPos + containerWidth < viewport.width) {\n this._style.left = leftPos + 'px';\n this.lastPageX = event.pageX;\n this.container.style.left = leftPos + 'px';\n }\n if (topPos >= this.minY && topPos + containerHeight < viewport.height) {\n this._style.top = topPos + 'px';\n this.lastPageY = event.pageY;\n this.container.style.top = topPos + 'px';\n }\n } else {\n this.lastPageX = event.pageX;\n this.container.style.left = leftPos + 'px';\n this.lastPageY = event.pageY;\n this.container.style.top = topPos + 'px';\n }\n }\n }\n endDrag(event) {\n if (this.dragging) {\n this.dragging = false;\n removeClass(this.document.body, 'p-unselectable-text');\n this.dialogRef.dragEnd(event);\n this.cd.detectChanges();\n }\n }\n resetPosition() {\n this.container.style.position = '';\n this.container.style.left = '';\n this.container.style.top = '';\n this.container.style.margin = '';\n }\n bindDocumentDragListener() {\n if (isPlatformBrowser(this.platformId)) {\n this.zone.runOutsideAngular(() => {\n this.documentDragListener = this.renderer.listen(this.document, 'mousemove', this.onDrag.bind(this));\n });\n }\n }\n bindDocumentDragEndListener() {\n if (isPlatformBrowser(this.platformId)) {\n this.zone.runOutsideAngular(() => {\n this.documentDragEndListener = this.renderer.listen(this.document, 'mouseup', this.endDrag.bind(this));\n });\n }\n }\n unbindDocumentDragEndListener() {\n if (this.documentDragEndListener) {\n this.documentDragEndListener();\n this.documentDragListener = null;\n }\n }\n unbindDocumentDragListener() {\n if (this.documentDragListener) {\n this.documentDragListener();\n this.documentDragListener = null;\n }\n }\n bindDocumentResizeListeners() {\n if (isPlatformBrowser(this.platformId)) {\n this.zone.runOutsideAngular(() => {\n this.documentResizeListener = this.renderer.listen(this.document, 'mousemove', this.onResize.bind(this));\n this.documentResizeEndListener = this.renderer.listen(this.document, 'mouseup', this.resizeEnd.bind(this));\n });\n }\n }\n unbindDocumentResizeListeners() {\n if (this.documentResizeListener && this.documentResizeEndListener) {\n this.documentResizeListener();\n this.documentResizeEndListener();\n this.documentResizeListener = null;\n this.documentResizeEndListener = null;\n }\n }\n bindGlobalListeners() {\n if (this.ddconfig.closeOnEscape !== false) {\n this.bindDocumentEscapeListener();\n }\n if (this.ddconfig.resizable) {\n this.bindDocumentResizeListeners();\n }\n if (this.ddconfig.draggable) {\n this.bindDocumentDragListener();\n this.bindDocumentDragEndListener();\n }\n }\n unbindGlobalListeners() {\n this.unbindDocumentEscapeListener();\n this.unbindDocumentResizeListeners();\n this.unbindDocumentDragListener();\n this.unbindDocumentDragEndListener();\n }\n bindDocumentEscapeListener() {\n const documentTarget = this.maskViewChild ? this.maskViewChild.nativeElement.ownerDocument : 'document';\n this.documentEscapeListener = this.renderer.listen(documentTarget, 'keydown', event => {\n if (event.which == 27) {\n const currentZIndex = ZIndexUtils.getCurrent();\n if (parseInt(this.container.style.zIndex) == currentZIndex || this.zIndexForLayering == currentZIndex) {\n this.hide();\n }\n }\n });\n }\n unbindDocumentEscapeListener() {\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n this.documentEscapeListener = null;\n }\n }\n unbindMaskClickListener() {\n if (this.maskClickListener) {\n this.maskClickListener();\n this.maskClickListener = null;\n }\n }\n ngOnDestroy() {\n this.onContainerDestroy();\n if (this.componentRef) {\n this.componentRef.destroy();\n }\n this.destroyStyle();\n super.ngOnDestroy();\n }\n static ɵfac = function DynamicDialogComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DynamicDialogComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(DynamicDialogConfig), i0.ɵɵdirectiveInject(DynamicDialogRef), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(DynamicDialogComponent, 12));\n };\n static ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: DynamicDialogComponent,\n selectors: [[\"p-dynamicDialog\"], [\"p-dynamicdialog\"], [\"p-dynamic-dialog\"]],\n viewQuery: function DynamicDialogComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(DynamicDialogContent, 5);\n i0.ɵɵviewQuery(_c0, 5);\n i0.ɵɵviewQuery(_c1, 5);\n i0.ɵɵviewQuery(_c2, 5);\n i0.ɵɵviewQuery(_c3, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.insertionPoint = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.maskViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerViewChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerViewChild = _t.first);\n }\n },\n features: [i0.ɵɵProvidersFeature([DynamicDialogStyle]), i0.ɵɵInheritDefinitionFeature],\n decls: 3,\n vars: 9,\n consts: [[\"mask\", \"\"], [\"container\", \"\"], [\"content\", \"\"], [\"titlebar\", \"\"], [\"footer\", \"\"], [3, \"ngStyle\", \"ngClass\"], [\"role\", \"dialog\", \"pFocusTrap\", \"\", 3, \"ngClass\", \"ngStyle\", \"style\", \"class\", \"pFocusTrapDisabled\", \"width\", \"height\", 4, \"ngIf\"], [\"role\", \"dialog\", \"pFocusTrap\", \"\", 3, \"ngClass\", \"ngStyle\", \"pFocusTrapDisabled\"], [\"style\", \"z-index: 90;\", 3, \"ngClass\", \"mousedown\", 4, \"ngIf\"], [3, \"ngClass\", \"mousedown\", 4, \"ngIf\"], [3, \"ngClass\", \"ngStyle\"], [4, \"ngIf\"], [4, \"ngComponentOutlet\"], [3, \"ngClass\", 4, \"ngIf\"], [2, \"z-index\", \"90\", 3, \"mousedown\", \"ngClass\"], [3, \"mousedown\", \"ngClass\"], [3, \"ngClass\", \"id\"], [3, \"ngClass\"], [\"rounded\", \"\", \"text\", \"\", 3, \"styleClass\", \"tabindex\", \"onClick\", \"keydown.enter\", 4, \"ngIf\"], [\"rounded\", \"\", \"text\", \"\", \"severity\", \"secondary\", 3, \"styleClass\", \"ariaLabel\", \"onClick\", \"keydown.enter\", 4, \"ngIf\"], [\"rounded\", \"\", \"text\", \"\", 3, \"onClick\", \"keydown.enter\", \"styleClass\", \"tabindex\"], [4, \"ngTemplateOutlet\"], [\"rounded\", \"\", \"text\", \"\", \"severity\", \"secondary\", 3, \"onClick\", \"keydown.enter\", \"styleClass\", \"ariaLabel\"], [\"pDynamicDialogContent\", \"\"]],\n template: function DynamicDialogComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 5, 0);\n i0.ɵɵtemplate(2, DynamicDialogComponent_div_2_Template, 9, 30, \"div\", 6);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵclassMap(ctx.ddconfig.maskStyleClass);\n i0.ɵɵproperty(\"ngStyle\", i0.ɵɵpureFunction3(5, _c4, ctx.position === \"left\" || ctx.position === \"topleft\" || ctx.position === \"bottomleft\" ? \"flex-start\" : ctx.position === \"right\" || ctx.position === \"topright\" || ctx.position === \"bottomright\" ? \"flex-end\" : \"center\", ctx.position === \"top\" || ctx.position === \"topleft\" || ctx.position === \"topright\" ? \"flex-start\" : ctx.position === \"bottom\" || ctx.position === \"bottomleft\" || ctx.position === \"bottomright\" ? \"flex-end\" : \"center\", ctx.ddconfig.modal ? \"auto\" : \"none\"))(\"ngClass\", ctx.maskClass);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx.visible);\n }\n },\n dependencies: [CommonModule, i3.NgClass, i3.NgComponentOutlet, i3.NgIf, i3.NgTemplateOutlet, i3.NgStyle, SharedModule, DynamicDialogContent, WindowMaximizeIcon, WindowMinimizeIcon, TimesIcon, Button, FocusTrap],\n encapsulation: 2,\n data: {\n animation: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])]\n }\n });\n }\n return DynamicDialogComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet DynamicDialogModule = /*#__PURE__*/(() => {\n class DynamicDialogModule {\n static ɵfac = function DynamicDialogModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DynamicDialogModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: DynamicDialogModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [DynamicDialogComponent, SharedModule, SharedModule]\n });\n }\n return DynamicDialogModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nclass DynamicDialogInjector {\n _parentInjector;\n _additionalTokens;\n constructor(_parentInjector, _additionalTokens) {\n this._parentInjector = _parentInjector;\n this._additionalTokens = _additionalTokens;\n }\n get(token, notFoundValue, options) {\n const value = this._additionalTokens.get(token);\n if (value) return value;\n return this._parentInjector.get(token, notFoundValue);\n }\n}\n\n/**\n * Dynamic Dialog component methods.\n * @group Service\n */\nlet DialogService = /*#__PURE__*/(() => {\n class DialogService {\n appRef;\n injector;\n document;\n dialogComponentRefMap = new Map();\n constructor(appRef, injector, document) {\n this.appRef = appRef;\n this.injector = injector;\n this.document = document;\n }\n /**\n * Displays the dialog using the dynamic dialog object options.\n * @param {*} componentType - Dynamic component for content template.\n * @param {DynamicDialogConfig} config - DynamicDialog object.\n * @returns {DynamicDialogRef} DynamicDialog instance.\n * @group Method\n */\n open(componentType, config) {\n if (!this.duplicationPermission(componentType, config)) {\n return null;\n }\n const dialogRef = this.appendDialogComponentToBody(config, componentType);\n this.dialogComponentRefMap.get(dialogRef).instance.childComponentType = componentType;\n this.dialogComponentRefMap.get(dialogRef).instance.inputValues = config.inputValues;\n return dialogRef;\n }\n /**\n * Returns the dynamic dialog component instance.\n * @param {ref} DynamicDialogRef - DynamicDialog instance.\n * @group Method\n */\n getInstance(ref) {\n return this.dialogComponentRefMap.get(ref).instance;\n }\n appendDialogComponentToBody(config, componentType) {\n const map = new WeakMap();\n map.set(DynamicDialogConfig, config);\n const dialogRef = new DynamicDialogRef();\n map.set(DynamicDialogRef, dialogRef);\n const sub = dialogRef.onClose.subscribe(() => {\n this.dialogComponentRefMap.get(dialogRef).instance.close();\n });\n const destroySub = dialogRef.onDestroy.subscribe(() => {\n this.removeDialogComponentFromBody(dialogRef);\n destroySub.unsubscribe();\n sub.unsubscribe();\n });\n const componentRef = createComponent(DynamicDialogComponent, {\n environmentInjector: this.appRef.injector,\n elementInjector: new DynamicDialogInjector(this.injector, map)\n });\n this.appRef.attachView(componentRef.hostView);\n const domElem = componentRef.hostView.rootNodes[0];\n if (!config.appendTo || config.appendTo === 'body') {\n this.document.body.appendChild(domElem);\n } else {\n appendChild(config.appendTo, domElem);\n }\n this.dialogComponentRefMap.set(dialogRef, componentRef);\n return dialogRef;\n }\n removeDialogComponentFromBody(dialogRef) {\n if (!dialogRef || !this.dialogComponentRefMap.has(dialogRef)) {\n return;\n }\n const dialogComponentRef = this.dialogComponentRefMap.get(dialogRef);\n this.appRef.detachView(dialogComponentRef.hostView);\n dialogComponentRef.destroy();\n dialogComponentRef.changeDetectorRef.detectChanges();\n this.dialogComponentRefMap.delete(dialogRef);\n }\n duplicationPermission(componentType, config) {\n if (config.duplicate) {\n return true;\n }\n let permission = true;\n for (const [key, value] of this.dialogComponentRefMap) {\n if (value.instance.childComponentType === componentType) {\n permission = false;\n break;\n }\n }\n return permission;\n }\n static ɵfac = function DialogService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DialogService)(i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DialogService,\n factory: DialogService.ɵfac\n });\n }\n return DialogService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DialogService, DynamicDialogClasses, DynamicDialogComponent, DynamicDialogConfig, DynamicDialogInjector, DynamicDialogModule, DynamicDialogRef, DynamicDialogStyle };\n"],"mappings":"u4BAAO,IAAMA,GAAkB,CAC3BC,KAAM,CACFC,WAAY,0BACZC,mBAAoB,mCACpBC,iBAAkB,iCAClBC,sBAAuB,uCACvBC,sBAAuB,uCACvBC,YAAa,UACbC,iBAAkB,kCAClBC,iBAAkB,kCAClBC,mBAAoB,oCACpBC,MAAO,eACPC,cAAe,8BACfC,iBAAkB,iCAClBC,wBAAyB,yCACzBC,OAAQ,sBACRC,SAAU,yBACVC,SAAU,yBACVC,aAAc,6BACdC,UAAW,CACPC,MAAO,gCACPC,MAAO,gCACPV,MAAO,gCACPW,OAAQ,iCACRP,OAAQ,kCAEZQ,mBAAoB,mCACpBC,GAAI,CACAC,SAAU,4BACVT,SAAU,MACVC,SAAU,SAEdS,GAAI,CACAD,SAAU,OACVT,SAAU,MACVC,SAAU,SAGlBU,SAAU,CACNP,MAAO,SACPT,MAAO,WAEXiB,QAAS,CACL1B,WAAY,8BACZK,YAAa,gCACbW,aAAc,iCACdP,MAAO,yBACPI,OAAQ,2BAEZc,KAAM,CACFC,QAAS,iBACTC,IAAK,aACLC,OAAQ,CACJF,QAAS,0BAGjBG,OAAQ,CACJC,gBAAiB,iCACjBC,mBAAoB,oCACpBC,wBAAyB,0CACzBzB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,CACrD,KAAK,8BAA8BA,CAAS,EAC5CM,EAAW,YAAY,EACvBD,EAAI,YAAY,CAClB,CAAC,EACKE,EAAeC,GAAgBC,GAAwB,CAC3D,oBAAqB,KAAK,OAAO,SACjC,gBAAiB,IAAItB,GAAsB,KAAK,SAAUe,CAAG,CAC/D,CAAC,EACD,KAAK,OAAO,WAAWK,EAAa,QAAQ,EAC5C,IAAMG,EAAUH,EAAa,SAAS,UAAU,CAAC,EACjD,MAAI,CAACR,EAAO,UAAYA,EAAO,WAAa,OAC1C,KAAK,SAAS,KAAK,YAAYW,CAAO,EAEtCC,GAAYZ,EAAO,SAAUW,CAAO,EAEtC,KAAK,sBAAsB,IAAIV,EAAWO,CAAY,EAC/CP,CACT,CACA,8BAA8BA,EAAW,CACvC,GAAI,CAACA,GAAa,CAAC,KAAK,sBAAsB,IAAIA,CAAS,EACzD,OAEF,IAAMY,EAAqB,KAAK,sBAAsB,IAAIZ,CAAS,EACnE,KAAK,OAAO,WAAWY,EAAmB,QAAQ,EAClDA,EAAmB,QAAQ,EAC3BA,EAAmB,kBAAkB,cAAc,EACnD,KAAK,sBAAsB,OAAOZ,CAAS,CAC7C,CACA,sBAAsBF,EAAeC,EAAQ,CAC3C,GAAIA,EAAO,UACT,MAAO,GAET,IAAIc,EAAa,GACjB,OAAW,CAACC,EAAKrB,CAAK,IAAK,KAAK,sBAC9B,GAAIA,EAAM,SAAS,qBAAuBK,EAAe,CACvDe,EAAa,GACb,KACF,CAEF,OAAOA,CACT,CACA,OAAO,UAAO,SAA+BE,EAAmB,CAC9D,OAAO,IAAKA,GAAqBrB,GAAkBsB,EAAYC,EAAc,EAAMD,EAAYE,EAAQ,EAAMF,EAASG,CAAQ,CAAC,CACjI,EACA,OAAO,WAA0BC,EAAmB,CAClD,MAAO1B,EACP,QAASA,EAAc,SACzB,CAAC,CACH,CACA,OAAOA,CACT,GAAG","names":["FP_SELECT_TOKEN","root","background","disabledBackground","filledBackground","filledHoverBackground","filledFocusBackground","borderColor","hoverBorderColor","focusBorderColor","invalidBorderColor","color","disabledColor","placeholderColor","invalidPlaceholderColor","shadow","paddingX","paddingY","borderRadius","focusRing","width","style","offset","transitionDuration","sm","fontSize","lg","dropdown","overlay","list","padding","gap","header","option","focusBackground","selectedBackground","selectedFocusBackground","focusColor","selectedColor","selectedFocusColor","optionGroup","fontWeight","clearIcon","checkmark","gutterStart","gutterEnd","emptyMessage","WindowMaximizeIcon","BaseIcon","uuid","ɵWindowMaximizeIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","ɵɵadvance","ɵɵproperty","WindowMinimizeIcon","BaseIcon","uuid","ɵWindowMinimizeIcon_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMap","ɵɵattribute","ɵɵadvance","ɵɵproperty","FocusTrap","BaseComponent","inject","PLATFORM_ID","DOCUMENT","isPlatformBrowser","changes","selector","tabindex","createFocusableElement","onFocus","createElement","event","currentTarget","relatedTarget","focusableElement","getFirstFocusableElement","focus","getLastFocusableElement","ɵFocusTrap_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineDirective","booleanAttribute","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","theme","dt","inlineStyles","instance","classes","pos","item","DialogStyle","BaseStyle","ɵDialogStyle_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","showAnimation","animation","style","animate","hideAnimation","_c0","_c1","_c2","_c3","_c4","a0","a1","a2","_c5","_c6","_c7","_c8","DynamicDialogComponent_div_2_div_2_Template","rf","ctx","_r3","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ctx_r1","ɵɵnextContext","ɵɵresetView","ɵɵelementEnd","ɵɵproperty","DynamicDialogComponent_div_2_div_3_ng_container_2_Template","ɵɵelementContainer","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_WindowMaximizeIcon_1_Template","ɵɵelement","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_WindowMinimizeIcon_2_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_1_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ɵɵadvance","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_1_ng_template_0_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_1_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_2_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_1_ng_template_0_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_1_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_ng_container_3_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_4_Template","_r5","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_ng_container_1_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_1_ng_template_0_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_1_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_span_2_Template","DynamicDialogComponent_div_2_div_3_ng_container_3_p_button_5_Template","_r6","DynamicDialogComponent_div_2_div_3_ng_container_3_Template","ɵɵtext","ɵɵtextInterpolate","DynamicDialogComponent_div_2_div_3_Template","_r4","DynamicDialogComponent_div_2_6_ng_template_0_Template","DynamicDialogComponent_div_2_6_Template","DynamicDialogComponent_div_2_ng_container_7_Template","DynamicDialogComponent_div_2_div_8_ng_container_2_Template","ɵɵtextInterpolate1","DynamicDialogComponent_div_2_div_8_ng_container_3_Template","DynamicDialogComponent_div_2_div_8_Template","DynamicDialogComponent_div_2_Template","_r1","ɵɵstyleMap","ɵɵclassMap","ɵɵstyleProp","ɵɵpureFunction1","ɵɵpureFunction0","ɵɵpureFunction2","ɵɵattribute","DynamicDialogContent","viewContainerRef","__ngFactoryType__","ɵɵdirectiveInject","ViewContainerRef","ɵɵdefineDirective","DynamicDialogStyle","DialogStyle","ɵDynamicDialogStyle_BaseFactory","ɵɵgetInheritedFactory","ɵɵdefineInjectable","DynamicDialogConfig","DynamicDialogRef","result","event","value","Subject","showAnimation","animation","style","animate","hideAnimation","DynamicDialogComponent","BaseComponent","uuid","inject","DynamicDialogStyle","TranslationKeys","__spreadValues","domElements","contentElements","pos","item","renderer","ddconfig","dialogRef","zone","parentDialog","isPlatformBrowser","innerHTML","breakpoint","setAttribute","componentType","viewContainerRef","key","zindexutils","addClass","removeClass","focusParentElement","focusable","DomHandler","focusableElement","deltaX","deltaY","containerWidth","getOuterWidth","containerHeight","getOuterHeight","contentHeight","newWidth","newHeight","minWidth","minHeight","offset","viewport","getViewport","hasClass","leftPos","topPos","documentTarget","currentZIndex","__ngFactoryType__","ɵɵdirectiveInject","Renderer2","NgZone","ɵɵdefineComponent","rf","ctx","ɵɵviewQuery","DynamicDialogContent","_c0","_c1","_c2","_c3","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","ɵɵelementStart","ɵɵtemplate","DynamicDialogComponent_div_2_Template","ɵɵelementEnd","ɵɵclassMap","ɵɵproperty","ɵɵpureFunction3","_c4","ɵɵadvance","CommonModule","NgClass","NgComponentOutlet","NgIf","NgTemplateOutlet","NgStyle","SharedModule","WindowMaximizeIcon","WindowMinimizeIcon","TimesIcon","Button","FocusTrap","trigger","transition","useAnimation","DynamicDialogInjector","_parentInjector","_additionalTokens","token","notFoundValue","options","value","DialogService","appRef","injector","document","componentType","config","dialogRef","ref","map","DynamicDialogConfig","DynamicDialogRef","sub","destroySub","componentRef","createComponent","DynamicDialogComponent","domElem","appendChild","dialogComponentRef","permission","key","__ngFactoryType__","ɵɵinject","ApplicationRef","Injector","DOCUMENT","ɵɵdefineInjectable"],"x_google_ignoreList":[1,2,3,4,5]}