PageSourceSearch

https://wimpernwelle.com/_app/immutable/chunks/BKAfmr4_.js

js wimpernwelle.com collected 2026-09-27 06:51:07 UTC 15,396 bytes, 1 lines download raw bytes

1import{b7 as I,x as k}from"./B482F-C6.js";import{_ as O,b as R,c as A,M as X}from"./BWaeZeUr.js";class _{constructor(){this.elementMap=new Map}on(i,t,e,a){this.elementMap.has(i)||this.elementMap.set(i,{});const r=this.elementMap.get(i);if(r==null)throw new Error("Event map couldn't be created.");t in r||(r[t]=new Map),r[t].set(e,I(i,t,e,a))}off(i,t,e){const a=this.elementMap.get(i);if(a==null||!(t in a))return;const r=a[t],n=r.get(e);n!=null&&(n(),r.delete(e),r.size===0&&(delete a[t],Object.keys(a).length===0&&this.elementMap.delete(i)))}clear(){this.elementMap.forEach((i,t)=>{for(let[e,a]of Object.entries(i))a.forEach((r,n)=>{r()})}),this.elementMap.clear()}}var b;function q(s,i){i===void 0&&(i=!1);var t=s.CSS,e=b;if(typeof b=="boolean"&&!i)return b;var a=t&&typeof t.supports=="function";if(!a)return!1;var r=t.supports("--css-vars","yes"),n=t.supports("(--css-vars: yes)")&&t.supports("color","#00000000");return e=r||n,i||(b=e),e}function j(s,i,t){if(!s)return{x:0,y:0};var e=i.x,a=i.y,r=e+t.left,n=a+t.top,d,c;if(s.type==="touchstart"){var h=s;d=h.changedTouches[0].pageX-r,c=h.changedTouches[0].pageY-n}else{var f=s;d=f.pageX-r,c=f.pageY-n}return{x:d,y:c}}function P(s){return s===void 0&&(s=window),V(s)?{passive:!0}:!1}function V(s){s===void 0&&(s=window);var i=!1;try{var t={get passive(){return i=!0,!1}},e=function(){};s.document.addEventListener("test",e,t),s.document.removeEventListener("test",e,t)}catch{i=!1}return i}const W=Object.freeze(Object.defineProperty({__proto__:null,applyPassive:P},Symbol.toStringTag,{value:"Module"}));function Z(s,i){if(s.closest)return s.closest(i);for(var t=s;t;){if(z(t,i))return t;t=t.parentElement}return null}function z(s,i){var t=s.matches||s.webkitMatchesSelector||s.msMatchesSelector;return t.call(s,i)}const $=Object.freeze(Object.defineProperty({__proto__:null,closest:Z,matches:z},Symbol.toStringTag,{value:"Module"}));var J={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},K={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},x={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};var L=["touchstart","pointerdown","mousedown","keydown"],U=["touchend","pointerup","mouseup","contextmenu"],w=[],Q=(function(s){O(i,s);function i(t){var e=s.call(this,R(R({},i.defaultAdapter),t))||this;return e.activationAnimationHasEnded=!1,e.activationTimer=0,e.fgDeactivationRemovalTimer=0,e.fgScale="0",e.frame={width:0,height:0},e.initialSize=0,e.layoutFrame=0,e.maxRadius=0,e.unboundedCoords={left:0,top:0},e.activationState=e.defaultActivationState(),e.activationTimerCallback=function(){e.activationAnimationHasEnded=!0,e.runDeactivationUXLogicIfReady()},e.activateHandler=function(a){e.activateImpl(a)},e.deactivateHandler=function(){e.deactivateImpl()},e.focusHandler=function(){e.handleFocus()},e.blurHandler=function(){e.handleBlur()},e.resizeHandler=function(){e.layout()},e}return Object.defineProperty(i,"cssClasses",{get:function(){return J},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return K},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}}
vendor: 4,860 bytes, line 1
1,enumerable:!1,configurable:!0}),i.prototype.init=function(){var t=this,e=this.supportsPressRipple();if(this.registerRootHandlers(e),e){var a=i.cssClasses,r=a.ROOT,n=a.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(r),t.adapter.isUnbounded()&&(t.adapter.addClass(n),t.layoutInternal())})}},i.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(i.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(i.cssClasses.FG_DEACTIVATION));var e=i.cssClasses,a=e.ROOT,r=e.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(a),t.adapter.removeClass(r),t.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},i.prototype.activate=function(t){this.activateImpl(t)},i.prototype.deactivate=function(){this.deactivateImpl()},i.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){t.layoutInternal(),t.layoutFrame=0})},i.prototype.setUnbounded=function(t){var e=i.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},i.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(i.cssClasses.BG_FOCUSED)})},i.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(i.cssClasses.BG_FOCUSED)})},i.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},i.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},i.prototype.registerRootHandlers=function(t){var e,a;if(t){try{for(var r=A(L),n=r.next();!n.done;n=r.next()){var d=n.value;this.adapter.registerInteractionHandler(d,this.activateHandler)}}catch(c){e={error:c}}finally{try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},i.prototype.registerDeactivationHandlers=function(t){var e,a;if(t.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var r=A(U),n=r.next();!n.done;n=r.next()){var d=n.value;this.adapter.registerDocumentInteractionHandler(d,this.deactivateHandler)}}catch(c){e={error:c}}finally{try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(e)throw e.error}}},i.prototype.deregisterRootHandlers=function(){var t,e;try{for(var a=A(L),r=a.next();!r.done;r=a.next()){var n=r.value;this.adapter.deregisterInteractionHandler(n,this.activateHandler)}}catch(d){t={error:d}}finally{try{r&&!r.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},i.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var a=A(U),r=a.next();!r.done;r=a.next()){var n=r.value;this.adapter.deregisterDocumentInteractionHandler(n,this.deactivateHandler)}}catch(d){t={error:d}}finally{try{r&&!r.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}},i.prototype.removeCssVars=function(){var t=this,e=i.strings,a=Object.keys(e);a.forEach(function(r){r.indexOf("VAR_")===0&&t.adapter.updateCssVariable(e[r],null)})},i.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var a=this.activationState;if(!a.isActivated){var r=this.previousActivationEvent,n=r&&t!==void 0&&r.type!==t.type;if(!n){a.isActivated=!0,a.isProgrammatic=t===void 0,a.activationEvent=t,a.wasActivatedByPointer=a.isProgrammatic?!1:t!==void 0&&(t.type==="mousedown"||t.type==="touchstart"||t.type==="pointerdown");var d=t!==void 0&&w.length>0&&w.some(function(c){return e.adapter.containsEventTarget(c)});if(d){this.resetActivationState();return}t!==void 0&&(w.push(t.target),this.registerDeactivationHandlers(t)),a.wasElementMadeActive=this.checkElementMadeActive(t),a.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){w=[],!a.wasElementMadeActive&&t!==void 0&&(t.key===" "||t.keyCode===32)&&(a.wasElementMadeActive=e.checkElementMadeActive(t),a.wasElementMadeActive&&e.animateActivation()),a.wasElementMadeActive||(e.activationState=e.defaultActivationState())})}}}},i.prototype.checkElementMadeActive=function(t){return t!==void 0&&t.type==="
1keydown"?this.adapter.isSurfaceActive():!0},i.prototype.animateActivation=function(){var t=this,e=i.strings,a=e.VAR_FG_TRANSLATE_START,r=e.VAR_FG_TRANSLATE_END,n=i.cssClasses,d=n.FG_DEACTIVATION,c=n.FG_ACTIVATION,h=i.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var f="",p="";if(!this.adapter.isUnbounded()){var g=this.getFgTranslationCoordinates(),y=g.startPoint,o=g.endPoint;f=y.x+"px, "+y.y+"px",p=o.x+"px, "+o.y+"px"}this.adapter.updateCssVariable(a,f),this.adapter.updateCssVariable(r,p),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(d),this.adapter.computeBoundingRect(),this.adapter.addClass(c),this.activationTimer=setTimeout(function(){t.activationTimerCallback()},h)},i.prototype.getFgTranslationCoordinates=function(){var t=this.activationState,e=t.activationEvent,a=t.wasActivatedByPointer,r;a?r=j(e,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):r={x:this.frame.width/2,y:this.frame.height/2},r={x:r.x-this.initialSize/2,y:r.y-this.initialSize/2};var n={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:r,endPoint:n}},i.prototype.runDeactivationUXLogicIfReady=function(){var t=this,e=i.cssClasses.FG_DEACTIVATION,a=this.activationState,r=a.hasDeactivationUXRun,n=a.isActivated,d=r||!n;d&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(e),this.fgDeactivationRemovalTimer=setTimeout(function(){t.adapter.removeClass(e)},x.FG_DEACTIVATION_MS))},i.prototype.rmBoundedActivationClasses=function(){var t=i.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},i.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return t.previousActivationEvent=void 0},i.numbers.TAP_DELAY_MS)},i.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var a=R({},e);e.isProgrammatic?(requestAnimationFrame(function(){t.animateDeactivation(a)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(a),t.resetActivationState()}))}},i.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,a=t.wasElementMadeActive;(e||a)&&this.runDeactivationUXLogicIfReady()},i.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var e=Math.max(this.frame.height,this.frame.width),a=function(){var n=Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2));return n+i.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?e:a();var r=Math.floor(e*i.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!==0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},i.prototype.updateLayoutCssVars=function(){var t=i.strings,e=t.VAR_FG_SIZE,a=t.VAR_LEFT,r=t.VAR_TOP,n=t.VAR_FG_SCALE;this.adapter.updateCssVariable(e,this.initialSize+"px"),this.adapter.updateCssVariable(n,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(a,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(r,this.unboundedCoords.top+"px"))},i})(X);const{applyPassive:G}=W,{matches:E}=$;function N(s,{ripple:i=!0,surface:t=!1,unbounded:e=!1,disabled:a=!1,color:r,active:n,rippleElement:d,eventTarget:c,activeTarget:h,addClass:f=o=>s.classList.add(o),removeClass:p=o=>s.classList.remove(o),addStyle:g=(o,v)=>s.style.setProperty(o,v),initPromise:y=Promise.resolve()}={}){let o,v=new _,M=k("SMUI:addLayoutListener"),S,F=n,C=c,D=h;function H(){t?(f("mdc-ripple-surface"),r==="primary"?(f("smui-ripple-surface--primary"),p("smui-ripple-surface--secondary")):r==="secondary"?(p("smui-ripple-surface--primary"),f("smui-ripple-surface--secondary")):(p("smui-ripple-surface--primary"),p("smui-ripple-surface--secondary"))):(p("mdc-ripple-surface"),p("smui-ripple-surface--primary"),p("smui-ripple-surface--secondary")),o&&F!==n&&(F=n,n?o.activate():n===!1&&o.deactivate()),i&&!o?(o=new Q({addClass:f,browserSupportsCssVars:()=>q(window),computeBoundingRect:()=>(d||s).getBoundingClientRect(),containsEventTarget:u=>s.contains(u),deregisterDocumentInteractionHandler:(u,l)=>v.off(document.documentElement,u,l),deregisterInteractionHandler:(u,l)=>v.off(c||s,u,l),deregisterResizeHandler:u=>window.removeEventListener("resize",u),getWindowPageOffset:()=>{var u,l;return{x:(u=window.pageXOffset)!==null&&u!==void 0?u:window.scrollX,y:(l=window.pageYOffset)!==null&&l!==void 0?l:window.scrollY}},isSurfaceActive:()=>n??E(h||s,":active"),isSurfaceDisabled:()=>!!a,isUnbounded:()=>!!e,registerDocumentInteractionHandler:(u,l)=>{const m=G();v.on(document.documentElement,u,l,typeof m=="boolean"?{capture:m}:m)},registerInteractionHandler:(u,l)=>{const m=G();v.on(c||s,u,l,typeof m=="boolean"?{capture:m}:m)},registerResizeHandler:u=>v.on(window,"resize",u),removeClass:p,updateCssVariable:g}),y.then(()=>{o&&(o.init(),o.setUnbounded(e))})):o&&!i&&y.then(()=>{o&&(o.destroy(),o=void 0,v.clear())}),o&&(C!==c||D!==h)&&(C=c,D=h,o.destroy(),requestAnimationFrame(()=>{o&&(o.init(),o.setUnbounded(e))})),!i&&e&&f("mdc-ripple-upgraded--unbounded")}H(),M&&(S=M(B));function B(){o&&o.layout()}return{update(u){({ripple:i,surface:t,unbounded:e,disabled:a,color:r,active:n,rippleElement:d,eventTarget:c,activeTarget:h,addClass:f,removeClass:p,addStyle:g,initPromise:y}=Object.assign({ripple:!0,surface:!1,unbounded:!1,disabled:!1,color:void 0,active:void 0,rippleElement:void 0,eventTarget:void 0,activeTarget:void 0,addClass:l=>s.classList.add(l),removeClass:l=>s.classList.remove(l),addStyle:(l,m)=>s.style.setProperty(l,m),initPromise:Promise.resolve()},u)),H()},destroy(){o&&(o.destroy(),o=void 0,v.clear(),p("mdc-ripple-surface"),p("smui-ripple-surface--primary"),p("smui-ripple-surface--secondary")),S&&S()}}}export{N as R,_ as S,W as e,$ as p};

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.