PageSourceSearch

https://mijnstembureau-losser.nl/chunk-UACIWJ4K.js

js mijnstembureau-losser.nl collected 2026-09-25 08:55:05 UTC 3,841 bytes, 41 lines download raw bytes

1import{B as D,C as w,E as l,M as A,c as k,d as r,l as b,ma as I,pa as L,y as a}from"./chunk-XLVBAUTG.js";import{Jc as g,Ma as m,Na as f,Qa as y,Tb as v,ba as p,ca as d,fa as o,qa as c,ua as u,wa as h}from"./chunk-IDWJ26SS.js";var M=`
2    .p-ink {
3        display: block;
4        position: absolute;
5        background: dt('ripple.background');
6        border-radius: 100%;
7        transform: scale(0);
8        pointer-events: none;
9    }
10
11    .p-ink-active {
12        animation: ripple 0.4s linear;
13    }
14
15    @keyframes ripple {
16        100% {
17            opacity: 0;
18            transform: scale(2.5);
19        }
20    }
21`;var N=`
22    ${M}
23
24    /* For PrimeNG */
25    .p-ripple {
26        overflow: hidden;
27        position: relative;
28    }
29
30    .p-ripple-disabled .p-ink {
31        display: none !important;
32    }
33
34    @keyframes ripple {
35        100% {
36            opacity: 0;
37            transform: scale(2.5);
38        }
39    }
40`,$={root:"p-ink"},x=(()=>{class i extends I{name="ripple";style=N;classes=$;static \u0275fac=(()=>{let e;return function(s){return(e||(e=h(i)))(s||i)}})();static \u0275prov=p({token:i,factory:i.\u0275fac})}return i})();var W=(()=>{class i extends L{componentName="Ripple";zone=o(c);_componentStyle=o(x);animationListener;mouseDownListener;timeout;constructor(){super(),u(()=>{g(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(e){let t=this.getInk();if(!t||this.document.defaultView?.getComputedStyle(t,null).display==="none")return;if(!this.$unstyled()&&r(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"),!a(t)&&!l(t)){let n=Math.max(b(this.el.nativeElement),w(this.el.nativeElement));t.style.height=n+"px",t.style.width=n+"px"}let s=D(this.el.nativeElement),E=e.pageX-s.left+this.document.body.scrollTop-l(t)/2,F=e.pageY-s.top+this.document.body.scrollLeft-a(t)/2;this.renderer.setStyle(t,"top",F+"px"),this.renderer.setStyle(t,"left",E+"px"),!this.$unstyled()&&k(t,"p-ink-active"),t.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let n=this.getInk();n&&(!this.$unstyled()&&r(n,"p-ink-active"),n.setAttribute("data-p-ink-active","false"))},401)}getInk(){let e=this.el.nativeElement.children;for(let t=0;t<e.length;t++)if(typeof e[t].className=="string"&&e[t].className.indexOf("p-ink")!==-1)return e[t];return null}resetInk(){let e=this.getInk();e&&(!this.$unstyled()&&r(e,"p-ink-active"),e.setAttribute("data-p-ink-active","false"))}onAnimationEnd(e){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&r(e.currentTarget,"p-ink-active"),e.currentTarget.setAttribute("data-p-ink-active","false")}create(){let e=this.renderer.createElement("span");this.renderer.addClass(e,"p-ink"),this.renderer.appendChild(this.el.nativeElement,e),this.renderer.setAttribute(e,"data-p-ink","true"),this.renderer.setAttribute(e,"data-p-ink-active","false"),this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.setAttribute(e,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(e,"animationend",this.onAnimationEnd.bind(this)))}remove(){let e=this.getInk();e&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,A(e))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=f({type:i,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[v([x]),y]})}return i})(),G=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=m({type:i});static \u0275inj=d({})}return i})();export{W as a,G as b};
41//# sourceMappingURL=chunk-UACIWJ4K.js.map

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.