MikroWizard.docker-compose-.../mikrofront/dist/html/987.96f768e3ee10d3ce.js

1 line
48 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkmikrowizard=self.webpackChunkmikrowizard||[]).push([[987],{5007:(at,J,g)=>{g.d(J,{$:()=>ot});var k=g(6780);let a,b=1;const w={};function A(B){return B in w&&(delete w[B],!0)}const q={setImmediate(B){const p=b++;return w[p]=!0,a||(a=Promise.resolve()),a.then(()=>A(p)&&B()),p},clearImmediate(B){A(B)}},{setImmediate:tt,clearImmediate:U}=q,I={setImmediate(...B){const{delegate:p}=I;return(p?.setImmediate||tt)(...B)},clearImmediate(B){const{delegate:p}=I;return(p?.clearImmediate||U)(B)},delegate:void 0};var z=g(9687);const ot=new class F extends z.q{flush(p){this._active=!0;const V=this._scheduled;this._scheduled=void 0;const{actions:x}=this;let j;p=p||x.shift();do{if(j=p.execute(p.state,p.delay))break}while((p=x[0])&&p.id===V&&x.shift());if(this._active=!1,j){for(;(p=x[0])&&p.id===V&&x.shift();)p.unsubscribe();throw j}}}(class Y extends k.R{constructor(p,V){super(p,V),this.scheduler=p,this.work=V}requestAsyncId(p,V,x=0){return null!==x&&x>0?super.requestAsyncId(p,V,x):(p.actions.push(this),p._scheduled||(p._scheduled=I.setImmediate(p.flush.bind(p,void 0))))}recycleAsyncId(p,V,x=0){var j;if(null!=x?x>0:this.delay>0)return super.recycleAsyncId(p,V,x);const{actions:Z}=p;null!=V&&(null===(j=Z[Z.length-1])||void 0===j?void 0:j.id)!==V&&(I.clearImmediate(V),p._scheduled===V&&(p._scheduled=void 0))}})},7987:(at,J,g)=>{g.d(J,{$Q:()=>_t,WB:()=>vt,hJ:()=>nt,rR:()=>u,rW:()=>s,z_:()=>wt});var k=g(5478),b=g(177),a=g(4438),w=g(4085),A=g(6860),q=g(5964),st=g(6697),tt=g(6977),U=g(7048),I=g(8203),Y=g(6939),z=g(1413),F=g(8359),ot=g(7786),et=g(7336);const B=(0,A.CZ)();class p{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,w.a1)(-this._previousScrollPosition.left),t.style.top=(0,w.a1)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,o=this._document.body.style,r=i.scrollBehavior||"",h=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),B&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),B&&(i.scrollBehavior=r,o.scrollBehavior=h)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class x{constructor(t,e,i,o){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe((0,q.p)(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class j{enable(){}disable(){}attach(){}}function Z(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function rt(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.l