{"version":3,"sources":["ng://primeng/splitbutton/splitbutton.ts"],"names":["SplitButton","el","renderer","router","cd","this","iconPos","onClick","EventEmitter","onDropdownClick","showTransitionOptions","hideTransitionOptions","overlayVisible","ariaId","UniqueComponentId","prototype","onDefaultButtonClick","event","emit","itemClick","item","disabled","preventDefault","url","command","originalEvent","show","onOverlayAnimationStart","toState","overlay","element","appendOverlay","style","zIndex","String","DomHandler","zindex","alignOverlay","bindDocumentClickListener","bindDocumentResizeListener","onOverlayHide","onDropdownButtonClick","dropdownClick","appendTo","absolutePosition","containerViewChild","nativeElement","relativePosition","document","body","appendChild","minWidth","getWidth","children","restoreOverlayAppend","_this","documentClickListener","listen","unbindDocumentClickListener","markForCheck","documentResizeListener","onWindowResize","bind","window","addEventListener","unbindDocumentResizeListener","removeEventListener","ngOnDestroy","ElementRef","Renderer2","Router","ChangeDetectorRef","__decorate","Input","Output","ViewChild","Component","selector","template","animations","trigger","state","transform","opacity","transition","animate","changeDetection","ChangeDetectionStrategy","Default","SplitButtonModule","NgModule","imports","CommonModule","ButtonModule","RouterModule","exports","declarations"],"mappings":"kgCAAAA,EAAA,WA2GI,SAAAA,EAAmBC,EAAuBC,EAA4BC,EAAuBC,GAA1EC,KAAAJ,GAAAA,EAAuBI,KAAAH,SAAAA,EAA4BG,KAAAF,OAAAA,EAAuBE,KAAAD,GAAAA,EA9CpFC,KAAAC,QAAkB,OAIjBD,KAAAE,QAA6B,IAAIC,EAAAA,aAEjCH,KAAAI,gBAAqC,IAAID,EAAAA,aAkB1CH,KAAAK,sBAAgC,iBAEhCL,KAAAM,sBAAgC,gBAQlCN,KAAAO,gBAA0B,EAa7BP,KAAKQ,OAASC,EAAAA,oBAAsB,QAgI5C,OA7HId,EAAAe,UAAAC,qBAAA,SAAqBC,GACjBZ,KAAKE,QAAQW,KAAKD,IAGtBjB,EAAAe,UAAAI,UAAA,SAAUF,EAAcG,GAChBA,EAAKC,SACLJ,EAAMK,kBAILF,EAAKG,KACNN,EAAMK,iBA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,qDApCF3E,EAAWwE,EAAA,CA7CvBI,EAAAA,UAAU,CACPC,SAAU,gBACVC,SAAU,2vFA2BVC,WAAY,CACRC,EAAAA,QAAQ,mBAAoB,CACxBC,EAAAA,MAAM,OAAQjD,EAAAA,MAAM,CAChBkD,UAAW,iBACXC,QAAS,KAEbF,EAAAA,MAAM,UAAWjD,EAAAA,MAAM,CACnBkD,UAAW,gBACXC,QAAS,KAEbC,EAAAA,WAAW,kBAAmBC,EAAAA,QAAQ,6BACtCD,EAAAA,WAAW,kBAAmBC,EAAAA,QAAQ,gCAG9CC,gBAAiBC,EAAAA,wBAAwBC,WAEhCxF,GAvDb,gBAmPA,SAAAyF,KAAiC,OAApBA,EAAiBjB,EAAA,CAL7BkB,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAaC,EAAAA,aAAaC,EAAAA,cACpCC,QAAS,CAAC/F,EAAY6F,EAAAA,aAAaC,EAAAA,cACnCE,aAAc,CAAChG,MAENyF","sourcesContent":["import {NgModule,Component,ElementRef,OnDestroy,Input,Output,EventEmitter,Renderer2,ChangeDetectorRef,ViewChild,ChangeDetectionStrategy} from '@angular/core';\nimport {trigger,state,style,transition,animate,AnimationEvent} from '@angular/animations';\nimport {CommonModule} from '@angular/common';\nimport {DomHandler} from 'primeng/dom';\nimport {MenuItem} from 'primeng/api';\nimport {ButtonModule} from 'primeng/button';\nimport {Router} from '@angular/router';\nimport {RouterModule} from '@angular/router';\nimport { UniqueComponentId } from 'primeng/utils';\n\n@Component({\n selector: 'p-splitButton',\n template: `\n