PageSourceSearch

https://www.einhell.de/_assets/369fecbaddba51f6af024f761a766400/Assets/js/890.ca94827267a679664a1a.js

js einhell.de collected 2026-10-03 22:20:58 UTC 17,569 bytes, 2 lines download raw bytes

1/*! For license information please see 890.ca94827267a679664a1a.js.LICENSE.txt */
2(self.webpackChunkcommuniacs_template=self.webpackChunkcommuniacs_template||[]).push([[890,4525],{6276:function(){!function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,e+=1}var e=0,n={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var i in n)e.push(n[i]);for(var o=0,r=e.length;r>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){for(var e in t.Context.refreshAll(),n)n[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},o=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;t&&e&&!n&&(this.adapter.off(".waypoints"),delete i[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],o=i.newScroll>i.oldScroll?i.forward:i.backward;for(var r in this.waypoints[n]){var a=this.waypoints[n][r];if(null!==a.triggerPoint){var s=i.oldScroll<a.triggerPoint,l=i.newScroll>=a.triggerPoint;(s&&l||!s&&!l)&&(a.queueTrigger(o),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
2,e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;o>i;i++)t[i].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a=t[r];for(var s in this.waypoints[r]){var l,c,u,p,d=this.waypoints[r][s],f=d.options.offset,h=d.triggerPoint,w=0,y=null==h;d.element!==d.element.window&&(w=d.adapter.offset()[a.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(a.contextDimension*f/100))),l=a.contextScroll-a.contextOffset,d.triggerPoint=Math.floor(w+l-f),c=h<a.oldScroll,u=d.triggerPoint>=a.oldScroll,p=!c&&!u,!y&&c&&u?(d.queueTrigger(a.backward),i[d.group.id]=d.group):(!y&&p||y&&a.oldScroll>=d.triggerPoint)&&(d.queueTrigger(a.forward),i[d.group.id]=d.group)}}return o.requestAnimationFrame((function(){for(var t in i)i[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},o=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var r=0,a=i.length;a>r;r+=1){var s=i[r];(s.options.continuous||r===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,n=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(n,i){t[i]=e[i]})),n.adapters.push({name:"jquery",Adapter:t}),n.Adapter=t}(),function(){"use strict";function t(t){return function(){var n=[],i=arguments[0];return t.isFunction(arguments[0])&&((i=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var o=t.extend({},i,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),n.push(new e(o))})),n}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},4525:function(t,e,n){"use strict";n.r(e),n.d(e,{calcSusyWidths:function(){return s}
2,getBreakpoint:function(){return r},init:function(){return u},onLoad:function(){return p},onOrientationChange:function(){return f},onResize:function(){return d},parseNumberToLocalizedPrice:function(){return a}}),n(7966),n(6276);var i=n(9376),o=0;function r(){return parseInt(window.getComputedStyle(document.body,":after").getPropertyValue("content").split("-")[1])}function a(t,e){var n,i=function(t){if("number"==typeof t)return t;var e=function(t){return String(t||"").replace(/\u00A0/g," ").trim().replace(/\s+[^ ]*$/,"").trim()}(t),n=(e=e.replace(/[^\d.,-]/g,"")).lastIndexOf(","),i=e.lastIndexOf(".");n>i?e=e.replace(/\./g,"").replace(",","."):i>n&&(e=e.replace(/,/g,""));var o=Number(e);return Number.isFinite(o)?o:NaN}(t);if(null===i||Number.isNaN(i))return"";var o=null===(n=window)||void 0===n?void 0:n.tx_itemrepo,r=e||(null==o?void 0:o.dualCurrencyMainCode)||(null==o?void 0:o.currency)||"EUR",a=(null==o?void 0:o.currencyLocale)||"de-DE";return new Intl.NumberFormat(a,{style:"currency",currency:r}).format(i)}function s(t,e){var n=0,i=3.287743293003682;switch(t){case"span":n=e*(161.8/30.416)+(e-1)*i;break;case"gutter":n=i}return n}var l=r();function c(){var t=new Event("breakpointChanged"),e=r();(l<2&&e>=2||l>=2&&e<2)&&document.dispatchEvent(t),l=e}function u(){var t,e,n,r,a,s,l;i(".-btn-alpha, .-btn-gamma, .-btn-delta, .-btn-epsilon, .-btn-zeta, .-btn-eta, .-btn-white, .-btn-black").each((function(t,e){var n=i(e);n.is("div")&&!n.attr("tabindex")&&n.attr({tabindex:"0",role:"button"}),n.wrapInner("<span>")})),t=i(".clicker"),i(document).bind("mousedown",(function(e){var n=e.pageX,r=e.pageY;window.clearTimeout(o),t.removeClass("-click"),t.css("left",n).css("top",r).addClass("-click"),o=window.setTimeout((function(){i(".clicker").removeClass("-click")}),250)})),i(".-not-in-viewport").each((function(t,e){var n=i(e),o=i(e).attr("data-viewport-offset");n.waypoint({element:n,handler:function(){n.hasClass("-not-in-viewport")&&n.removeClass("-not-in-viewport").addClass("-in-viewport")},offset:o})})),i('a[href*="#optout"]').each((function(t,e){var n=i(e).attr("title");i(e).removeAttr("title"),i(e).attr("href",'javascript:gtmOptOut();alert("'+n+'");')})),e=i(".information__rating--trigger"),n=i(".tx-itemrepo--list"),r=i(".client-ozito"),a=i(".client-gerni"),s=i(".client-professional"),l=i("*[uc-src]"),(e.length||n.length)&&window.setInterval((function(){var t=i(".top__ranking");r.length||a.length||s.length?(e.length&&e.removeClass("-show"),t.length&&t.addClass("-show")):i('script[data-usercentrics="BazaarVoice"]').length?(e.length&&e.addClass("-show"),t.length&&t.removeClass("-show")):(e.length||t.length)&&(e.length&&e.removeClass("-show"),t.length&&t.addClass("-show"))}),1e3),(r.length||a.length)&&l.length&&l.each((function(t,e){var n=i(e).attr("uc-src");i(e).attr("src",n)})),i("body").addClass("-headerloaded"),i(".unibox-suggest-box button").attr("tabindex",-1)}function p(){i("body").removeClass("transition-preload"),function(){if(window.location.hash){var t=decodeURIComponent(window.location.hash.substring(1)),e=t?document.getElementById(t):null;-1===window.location.hash.indexOf("#/")&&-1===window.location.hash.indexOf("#state")&&-1===window.location.hash.indexOf("#error")&&e&&window.setTimeout((function(){i(".page").scrollTop(0),i("html, body").stop().animate({scrollTop:parseInt(i(e).offset().top)},500)}),100)}}()}function d(){c()}function f(){c()}},890:function(t,e,n){"use strict";n.r(e),n.d(e,{init:function(){return d}});var i=n(4525),o=n(7652),r=n(8678),a=n(9677),s=n(9376);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?c(Object(n),!0).forEach((function(e){var i,o,r;i=t,o=e,r=n[e],(o=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!==l(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===l(e)?e:String(e)}(o))in i?Object.defineProperty(i,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[o]=r})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}o.Z.use([r.W_,r.tl,r.s5]);var p=[];function d(){s(".module-navigation-tab-links .list__item").on("mousedown",(function(t){var e=s(t.currentTarget);e.hasClass("-active")||(e.parents(".module-navigation-tab-links .tap__navs .navs__list").find(".list__item").removeClass("-active"),e.parents(".module-navigation-tab-links").find(".tap__contents .contents__list .list__item").removeClass("-active"),e.addClass("-active"),e.parents(".module-navigation-tab-links").find(".tap__contents .contents__list .list__item").eq(e.index()).addClass("-active"))})).on("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),s(t.target).mousedown())})),document.querySelectorAll(".module-navigation-tab-links .swiper-container").forEach((function(t,e){var n={slidesPerView:"auto",spaceBetween:t.clientWidth*((0,i.calcSusyWidths)("gutter",0)/100),grabCursor:!0,watchOverflow:!0,a11y:{scrollOnFocus:!0},pagination:{el:t.querySelector(".swiper-pagination"),clickable:!0},on:u(u({init:function(t){!function(t){var e=t.querySelector(".tabnav__img");if(e){var n=e.clientHeight/2;t.querySelectorAll(".swiper-button").forEach((function(t){t.style.top="".concat(n,"px")}))}}(t.el)},resize:function(t){p[e].params.spaceBetween=(0,i.calcSusyWidths)("gutter",0)/100*t.el.clientWidth,t.update()}},a.tf),a.oM)};t.classList.contains("-swiper-with-nav")&&(n.slidesPerView=2,n.navigation={nextEl:t.querySelector(".swiper-button-next"),prevEl:t.querySelector(".swiper-button-prev")},n.breakpoints={640:{slidesPerView:4},1024:{slidesPerView:6}});var r=new o.Z(t,n);p[e]=r}))}},7966:function(){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}window.UserSpeed=function(e){var n=e||{},i=n.interval||4e3,o=0,r=n.onUpdate||!1,a=0;function s(t){var e=(n.size/(t/1e3)).toFixed(2),i=o;o=e,e!==i&&"function"==typeof r&&r.call(null,o)}function l(){if(!("object"===t(n)&&n.src&&n.size>0))throw"Please provide a valid img and its size when initializing.";a=setInterval((function(){var t,e,i;(t=n.src+"?v="+(new Date).getTime(),e=new Image,i=new Date,e.src=t,new Promise((function(t,n){e.onload=function(){var e=(new Date).getTime()-i.getTime();t(e)},e.onerror=function(){n(new Error("Unable to load image: "+e.src))}}))).then(s).catch((function(){clearInterval(a)}))}),i)}try{l()}catch(t){}return{get:function(){return o},onUpdate:function(t){r=t},kill:function(){clearInterval(a)},start:function(){l()}}}},9677:function(t,e,n){"use strict";n.d(e,{a:function(){return r},bf:function(){return a},oM:function(){return o},tf:function(){return i}});var i={afterInit:function(t){var e,n,i=null===(e=t.navigation)||void 0===e?void 0:e.prevEl,o=null===(n=t.navigation)||void 0===n?void 0:n.nextEl;i&&i.setAttribute("tabindex","-1"),o&&o.setAttribute("tabindex","-1")},setTranslate:function(t){var e,n,i=null===(e=t.navigation)||void 0===e?void 0:e.prevEl,o=null===(n=t.navigation)||void 0===n?void 0:n.nextEl;i&&i.setAttribute("tabindex","-1"),o&&o.setAttribute("tabindex","-1")}},o={paginationRender:function(t){var e;((null===(e=t.pagination)||void 0===e?void 0:e.bullets)||[]).forEach((function(t){t.setAttribute("tabindex","-1")}))},paginationUpdate:function(t){var e;((null===(e=t.pagination)||void 0===e?void 0:e.bullets)||[]).forEach((function(t){t.setAttribute("tabindex","-1")}))}};function r(t,e){t.addEventListener("focusin",(function(n){var i=n.target.closest(".swiper-slide");if(i){var o=Array.from(t.querySelectorAll(".swiper-slide")).indexOf(i);o>=0&&o!==e.activeIndex&&e.slideTo(o)}}))}
2function a(t){t.slides.forEach((function(t){t.removeAttribute("role"),t.removeAttribute("aria-label")}))}}}]);

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.