1"use strict";(self.webpackChunkcallyzer_ms_angular=self.webpackChunkcallyzer_ms_angular||[]).push([[388],{20388:(Z,N,h)=>{h.d(N,{tT:()=>l,zk:()=>c});var s=h(94650),n=h(21607),A=h(36895),j=h(95698);class _{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(i=>i!==e);let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();const t=this._focusTrapStack,i=t.indexOf(e);-1!==i&&(t.splice(i,1),t.length&&t[t.length-1]._enable())}}let M;_.\u0275fac=function(e){return new(e||_)},_.\u0275prov=s.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"});try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}class u{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,A.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}u.\u0275fac=function(e){return new(e||u)(s.LFG(s.Lbi))},u.\u0275prov=s.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"});class f{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function x(o){return!!(o.offsetWidth||o.offsetHeight||"function"==typeof o.getClientRects&&o.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function H(o){try{return o.frameElement}catch{return null}}(function V(o){return o.ownerDocument&&o.ownerDocument.defaultView||window}(e));if(t&&(-1===B(t)||!this.isVisible(t)))return!1;let i=e.nodeName.toLowerCase(),r=B(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===i||"object"===i||this._platform.WEBKIT&&this._platform.IOS&&!function $(o){let e=o.nodeName.toLowerCase(),t="input"===e&&o.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||(this._platform.FIREFOX||e.hasAttribute("controls"))):e.tabIndex>=0)}isFocusable(e,t){return function K(o){return!function W(o){return function z(o){return"input"==o.nodeName.toLowerCase()}(o)&&"hidden"==o.type}(o)&&(function P(o){let e=o.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(o)||function G(o){return function Y(o){return"a"==o.nodeName.toLowerCase()}(o)&&o.hasAttribute("href")}(o)||o.hasAttribute("contenteditable")||I(o))}(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}}function I(o){if(!o.hasAttribute("tabindex")||void 0===o.tabIndex)return!1;let e=o.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function B(o){if(!I(o))return null;const e=parseInt(o.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function D(o){return null!=o&&"false"!=`${o}`}f.\u0275fac=function(e){return new(e||f)(s.LFG(u))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"});class J{constructor(e,t,i,r,g=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,g||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let i=0;i<t.length;i++)t[i].hasAttribute(`cdk-focus-${e}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[i]):t[i].hasAttribute(`cdk-focus-region-${e}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[i]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return t?.focus(),!!t}return e.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let i=0;i<t.length;i++){let r=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(r)return r}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let i=t.length-1;i>=0;i--){let r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,j.q)(1)).subscribe(e)}}class b{constructor(e,t,i){this._checker=e,this._ngZone=t,this._document=i}
1create(e,t=!1){return new J(e,this._checker,this._ngZone,this._document,t)}}b.\u0275fac=function(e){return new(e||b)(s.LFG(f),s.LFG(s.R0b),s.LFG(A.K0))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"});class v{constructor(e,t,i){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=D(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=D(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}v.\u0275fac=function(e){return new(e||v)(s.Y36(s.SBq),s.Y36(b),s.Y36(A.K0))},v.\u0275dir=s.lG2({type:v,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[s.TTD]});class d{static forRoot(){return{ngModule:d,providers:[_,u,f]}}}d.\u0275fac=function(e){return new(e||d)},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({imports:[A.ez]});var C=h(82381),F=h(65987);class p{constructor(){this.hide=()=>{},this.setClass=()=>{}}}p.\u0275fac=function(e){return new(e||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"platform"});class m{}m.\u0275fac=function(e){return new(e||m)},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac,providedIn:"platform"});const S={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},R=new s.OlP("override-default-config"),a_SCROLLBAR_MEASURER="modal-scrollbar-measure",a_OPEN="modal-open",a_FADE="fade",a_SHOW="show",w_MODAL=300,w_BACKDROP=150,E_BACKRDOP="backdrop-click",E_ESC="esc",E_BACK="browser-back-navigation-clicked";class k{constructor(e,t,i){this._element=t,this._renderer=i,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},e)}ngOnInit(){this._focusEl=n.tj.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,a_FADE),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,a_SHOW)},this.isAnimated?w_BACKDROP:0),n.tj&&n.tj.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(n.tj.body,a_OPEN),this._renderer.setStyle(n.tj.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(e){this.clickStartedInContent=e.target!==this._element.nativeElement}onClickStop(e){const t=e.target===this._element.nativeElement&&!this.clickStartedInContent;!this.config.ignoreBackdropClick&&"static"!==this.config.backdrop&&t?(this.bsModalService?.setDismissReason(E_BACKRDOP),this.hide()):this.clickStartedInContent=!1}onPopState(){this.bsModalService?.setDismissReason(E_BACK),this.hide()}onEsc(e){this.isShown&&((27===e.keyCode||"Escape"===e.key)&&e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason(E_ESC),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,a_SHOW),setTimeout(()=>{this.isShown=!1,n.tj&&n.tj.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(n.tj.body,a_OPEN),this._renderer.setStyle(n.tj.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?w_MODAL:0)}}k.\u0275fac=function(e){return new(e||k)(s.Y36(m),s.Y36(s.SBq),s.Y36(s.Qsj))}
1,k.\u0275cmp=s.Xpm({type:k,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(e,t){1&e&&s.NdJ("mousedown",function(r){return t.onClickStarted(r)})("click",function(r){return t.onClickStop(r)})("popstate",function(){return t.onPopState()},!1,s.Jf7)("keydown.esc",function(r){return t.onEsc(r)},!1,s.Jf7),2&e&&s.uIk("aria-modal",!0)("aria-labelledby",t.config.ariaLabelledBy)("aria-describedby",t.config.ariaDescribedby)},ngContentSelectors:["*"],decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(e,t){1&e&&(s.F$t(),s.TgZ(0,"div",0)(1,"div",1),s.Hsn(2),s.qZA()()),2&e&&s.Tol("modal-dialog"+(t.config.class?" "+t.config.class:""))},dependencies:[v],encapsulation:2});class y{constructor(e,t){this._isAnimated=!1,this._isShown=!1,this.element=e,this.renderer=t}get isAnimated(){return this._isAnimated}set isAnimated(e){this._isAnimated=e}get isShown(){return this._isShown}set isShown(e){this._isShown=e,e?this.renderer.addClass(this.element.nativeElement,`${a_SHOW}`):this.renderer.removeClass(this.element.nativeElement,`${a_SHOW}`)}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,`${a_FADE}`),n.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}y.\u0275fac=function(e){return new(e||y)(s.Y36(s.SBq),s.Y36(s.Qsj))},y.\u0275cmp=s.Xpm({type:y,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(e,t){},encapsulation:2});class T{constructor(e,t,i,r,g){this._element=e,this._renderer=i,this.onShow=new s.vpe,this.onShown=new s.vpe,this.onHide=new s.vpe,this.onHidden=new s.vpe,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.timerHideModal=0,this.timerRmBackDrop=0,this.isNested=!1,this.clickStartedInContent=!1,this._focusEl=null,this._backdrop=r.createLoader(e,t,i),this._config=g||S}set config(e){this._config=this.getConfig(e)}get config(){return this._config}get isShown(){return this._isShown}onClickStarted(e){this.clickStartedInContent=e.target!==this._element.nativeElement}onClickStop(e){const t=e.target===this._element.nativeElement&&!this.clickStartedInContent;!this.config.ignoreBackdropClick&&"static"!==this.config.backdrop&&t?(this.dismissReason=E_BACKRDOP,this.hide(e)):this.clickStartedInContent=!1}onEsc(e){this._isShown&&((27===e.keyCode||"Escape"===e.key)&&e.preventDefault(),this.config.keyboard&&(this.dismissReason=E_ESC,this.hide()))}ngOnDestroy(){this._isShown&&(this._isShown=!1,this.hideModal(),this._backdrop.dispose())}ngOnInit(){this._config=this._config||this.getConfig(),setTimeout(()=>{this._config.show&&this.show()},0)}toggle(){return this._isShown?this.hide():this.show()}show(){this.dismissReason=void 0,this.onShow.emit(this),!this._isShown&&(clearTimeout(this.timerHideModal),clearTimeout(this.timerRmBackDrop),this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),n.tj&&n.tj.body&&(n.tj.body.classList.contains(a_OPEN)?this.isNested=!0:(this._renderer.addClass(n.tj.body,a_OPEN),this._renderer.setStyle(n.tj.body,"overflow-y","hidden"))),this.showBackdrop(()=>{this.showElement()}))}hide(e){if(this._isShown){if(e&&e.preventDefault(),this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.onHide.emit(this),n.u9.clearTimeout(this.timerHideModal),n.u9.clearTimeout(this.timerRmBackDrop),this._isShown=!1,this._renderer.removeClass(this._element.nativeElement,a_SHOW),this._config.animated?this.timerHideModal=n.u9.setTimeout(()=>this.hideModal(),300):this.hideModal(),this._focusEl&&this._focusEl.focus()}getConfig(e){return Object.assign({},this._config,e)}showElement(){(!this._element.nativeElement.parentNode||this._element.nativeElement.parentNode.nodeType!==Node.ELEMENT_NODE)&&n.tj&&n.tj.body&&n.tj.body.appendChild(this._element.nativeElement),this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","false"),this._renderer.setAttribute(this._element.nativeElement,"aria-modal","true"),this._renderer.setStyle(this._element.nativeElement,"display","block"),this._renderer.setProperty(this._element.nativeElement,"scrollTop",0),this._config.animated&&n.cQ.reflow(this._element.nativeElement),this._renderer.addClass(this._element.nativeElement,a_SHOW);const e=()=>{this._config.focus&&this._element.nativeElement.focus(),this.onShown.emit(this)};
1this._config.animated?setTimeout(e,300):e()}hideModal(){this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","true"),this._renderer.setStyle(this._element.nativeElement,"display","none"),this.showBackdrop(()=>{this.isNested||(n.tj&&n.tj.body&&(this._renderer.removeClass(n.tj.body,a_OPEN),this._renderer.setStyle(n.tj.body,"overflow-y","")),this.resetScrollbar()),this.resetAdjustments(),this.focusOtherModal(),this.onHidden.emit(this)})}showBackdrop(e){if(!this._isShown||!this.config.backdrop||this.backdrop&&this.backdrop.instance.isShown)if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;const t=()=>{this.removeBackdrop(),e&&e()};this.backdrop.instance.isAnimated?this.timerRmBackDrop=n.u9.setTimeout(t,150):t()}else e&&e();else{if(this.removeBackdrop(),this._backdrop.attach(y).to("body").show({isAnimated:this._config.animated}),this.backdrop=this._backdrop._componentRef,!e)return;if(!this._config.animated)return void e();setTimeout(e,150)}}removeBackdrop(){this._backdrop.hide()}focusOtherModal(){if(null==this._element.nativeElement.parentElement)return;const e=this._element.nativeElement.parentElement.querySelectorAll(".in[bsModal]");e.length&&e[e.length-1].focus()}resetAdjustments(){this._renderer.setStyle(this._element.nativeElement,"paddingLeft",""),this._renderer.setStyle(this._element.nativeElement,"paddingRight","")}checkScrollbar(){this.isBodyOverflowing=n.tj.body.clientWidth<n.u9.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){n.tj&&(this.originalBodyPadding=parseInt(n.u9.getComputedStyle(n.tj.body).getPropertyValue("padding-right")||0,10),this.isBodyOverflowing&&(n.tj.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){n.tj.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.addClass(e,a_SCROLLBAR_MEASURER),this._renderer.appendChild(n.tj.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(n.tj.body,e),t}}T.\u0275fac=function(e){return new(e||T)(s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(s.Qsj),s.Y36(C.oj),s.Y36(R,8))},T.\u0275dir=s.lG2({type:T,selectors:[["","bsModal",""]],hostBindings:function(e,t){1&e&&s.NdJ("mousedown",function(r){return t.onClickStarted(r)})("mouseup",function(r){return t.onClickStop(r)})("keydown.esc",function(r){return t.onEsc(r)})},inputs:{config:"config",closeInterceptor:"closeInterceptor"},outputs:{onShow:"onShow",onShown:"onShown",onHide:"onHide",onHidden:"onHidden"},exportAs:["bs-modal"]});let Q=1;class l{constructor(e,t,i){this.clf=t,this.modalDefaultOption=i,this.onShow=new s.vpe,this.onShown=new s.vpe,this.onHide=new s.vpe,this.onHidden=new s.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=e.createRenderer(null,null),this.config=i?Object.assign({},S,i):S}show(e,t){this._focusEl=n.tj.activeElement,this.modalsCount++,this._createLoaders();const i=t?.id||Q++;return this.config=this.modalDefaultOption?Object.assign({},S,this.modalDefaultOption,t):Object.assign({},S,t),this.config.id=i,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(e)}hide(e){(1===this.modalsCount||null==e)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=e?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(e),this.removeLoaders(e)},this.config.animated?w_BACKDROP:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const e=!0===this.config.backdrop||"static"===this.config.backdrop,t=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),e&&t&&(this._backdropLoader.attach(y).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){if(!this.backdropRef)return;this.backdropRef.instance.isShown=!1;const e=this.config.animated?w_BACKDROP:0;setTimeout(()=>this.removeBackdrop(),e)}_showModal(e){const t=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const g of this.config.providers)t.provide(g);const i=new p,r=t.provide({provide:m,useValue:this.config}).provide({provide:p,useValue:i}).attach(k).to("body");return i.hide=()=>this.hide(i.id),i.setClass=g=>{r.instance&&(r.instance.config.class=g)},i.onHidden=new s.vpe,i.onHide=new s.vpe,this.copyEvent(t.onBeforeHide,i.onHide),this.copyEvent(t.onHidden,i.onHidden
1),r.show({content:e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),r.instance&&(r.instance.level=this.getModalsCount(),i.content=t.getInnerComponent(),i.id=r.instance.config?.id),i}_hideModal(e){if(null!=e){const t=this.loaders.findIndex(r=>r.instance?.config.id===e),i=this.loaders[t];i&&i.hide(e)}else this.loaders.forEach(t=>{t.instance&&t.hide(t.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(e){this.lastDismissReason=e}removeBackdrop(){this._renderer.removeClass(n.tj.body,a_OPEN),this._renderer.setStyle(n.tj.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=n.tj.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){n.tj&&(this.originalBodyPadding=parseInt(window.getComputedStyle(n.tj.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(n.tj.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){n.tj.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.addClass(e,a_SCROLLBAR_MEASURER),this._renderer.appendChild(n.tj.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(n.tj.body,e),t}_createLoaders(){const e=this.clf.createLoader();this.copyEvent(e.onBeforeShow,this.onShow),this.copyEvent(e.onShown,this.onShown),this.copyEvent(e.onBeforeHide,this.onHide),this.copyEvent(e.onHidden,this.onHidden),this.loaders.push(e)}removeLoaders(e){if(null!=e){const t=this.loaders.findIndex(i=>i.instance?.config.id===e);t>=0&&(this.loaders.splice(t,1),this.loaders.forEach((i,r)=>{i.instance&&(i.instance.level=r+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(e,t){e.subscribe(i=>{t.emit(this.lastDismissReason||i)})}}l.\u0275fac=function(e){return new(e||l)(s.LFG(s.FYo),s.LFG(C.oj),s.LFG(R,8))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac,providedIn:"platform"});d.forRoot();class c{static forRoot(){return{ngModule:c,providers:[l,C.oj,F.sA]}}static forChild(){return{ngModule:c,providers:[l,C.oj,F.sA]}}}c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=s.oAB({type:c}),c.\u0275inj=s.cJS({imports:[d]})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.