{"version":3,"sources":["../../src/app/components/confirmpopup/confirmpopup.ts"],"names":["ConfirmPopup","el","confirmationService","renderer","cd","config","_this","this","showTransitionOptions","hideTransitionOptions","autoZIndex","baseZIndex","subscription","requireConfirmation$","subscribe","confirmation","key","accept","acceptEvent","EventEmitter","reject","rejectEvent","visible","hide","Object","defineProperty","prototype","_visible","value","markForCheck","onAnimationStart","event","toState","container","element","document","body","appendChild","align","bindListeners","onAnimationEnd","onContainerDestroy","style","zIndex","String","DomHandler","zindex","absolutePosition","target","containerOffset","getOffset","targetOffset","arrowLeft","left","setProperty","top","addClass","emit","bindDocumentClickListener","bindDocumentResizeListener","bindScrollListener","unbindListeners","unbindDocumentClickListener","unbindDocumentResizeListener","unbindScrollListener","documentClickListener","documentEvent","isIOS","documentTarget","nativeElement","ownerDocument","listen","targetElement","contains","onWindowResize","documentResizeListener","bind","window","addEventListener","removeEventListener","scrollHandler","ConnectedOverlayScrollHandler","unsubscribeConfirmationSubscriptions","unsubscribe","acceptLabel","getTranslation","TranslationKeys","ACCEPT","rejectLabel","REJECT","ngOnDestroy","Component","args","selector","template","animations","trigger","state","transform","opacity","transition","animate","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","ElementRef","ConfirmationService","Renderer2","ChangeDetectorRef","PrimeNGConfig","Input","NgModule","imports","CommonModule","ButtonModule","exports","declarations"],"mappings":"6pBAkFI,SAAAA,EAAmBC,EAAwBC,EAAiDC,EAA6BC,EAA8BC,GAAvJ,IAAAC,EAAAC,KAAmBA,KAAAN,GAAAA,EAAwBM,KAAAL,oBAAAA,EAAiDK,KAAAJ,SAAAA,EAA6BI,KAAAH,GAAAA,EAA8BG,KAAAF,OAAAA,EAlC9IE,KAAAC,sBAAgC,kCAEhCD,KAAAE,sBAAgC,aAEhCF,KAAAG,YAAsB,EAEtBH,KAAAI,WAAqB,EA6B1BJ,KAAKK,aAAeL,KAAKL,oBAAoBW,qBAAqBC,WAAU,SAAAC,GACnEA,EAKDA,EA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G3CC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,cAAeC,EAAAA,kBAAkBC,0uBAzCoCC,EAAAA,kBAEnDC,EAAAA,2BAFkHC,EAAAA,iBAAnDC,EAAAA,yBAE1CC,EAAAA,8CA4CtCC,EAAAA,qCAEAA,EAAAA,qCAEAA,EAAAA,0BAEAA,EAAAA,0BAEAA,EAAAA,qBAEAA,EAAAA,0BAEAA,EAAAA,uBAgBAA,EAAAA,eAuML,iCALCC,EAAAA,SAAQtB,KAAA,CAAC,CACNuB,QAAS,CAACC,EAAAA,aAAaC,EAAAA,cACvBC,QAAS,CAACtH,GACVuH,aAAc,CAACvH","sourcesContent":["import {NgModule ,Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, OnDestroy, Input, EventEmitter, Renderer2} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {Confirmation, ConfirmationService, PrimeNGConfig, TranslationKeys} from 'primeng/api';\nimport {Subscription} from 'rxjs';\nimport {ButtonModule} from 'primeng/button';\nimport {trigger,state,style,transition,animate,AnimationEvent} from '@angular/animations';\nimport {DomHandler, ConnectedOverlayScrollHandler} from 'primeng/dom';\n\n@Component({\n selector: 'p-confirmPopup',\n template: `\n