1"use strict";(globalThis.webpackChunk_inventis_front_end_boilerplate=globalThis.webpackChunk_inventis_front_end_boilerplate||[]).push([[761],{9761:(e,t,n)=>{function i(e,t){if(e instanceof Window)return e;if(function(e){return e instanceof HTMLElement||e instanceof Element}(e))return e;if(void 0!==t){const n=i(t);if(n)return n.querySelector(e)}return document.querySelector(e)}n.r(t),n.d(t,{default:()=>u});const o=[];function r(e,t,n,i){if(void 0!==i){const o={passive:!1,once:!1};i.once&&(o.once=!0),i.passive&&(o.passive=!0),e.addEventListener(t,n,o)}else e.addEventListener(t,n);const r=`${Math.random()}-${+new Date}`;return o.push({id:r,el:e,target:t,callback:n}),{id:r,remove:s.bind(this,r)}}function s(e){const t=[];for(let n=0,i=o.length;n<i;n++){const i=o[n];i.id===e?i.el.removeEventListener(i.target,i.callback):t.push(i)}}function a(e,t,n){const i=t.split(" ");for(let t=0;t<i.length;t++)void 0===n?e.classList.toggle(i[t]):n?e.classList.add(i[t]):e.classList.remove(i[t])}function c(e,t={}){const n=document.createElement(e);if(t.class&&function(e,t){if(e instanceof Element)a(e,t,!0);else for(let n=0;n<e.length;n++)a(e[n],t,!0)}(n,t.class),t.id&&n.setAttribute("id",t.id),t.attr)for(let e=0,i=t.attr.length;e<i;e++){const i=t.attr[e];n.setAttribute(i[0],i[1])}if(t.parent&&t.parent.appendChild(n),t.html&&(n.innerHTML=t.html),t.children)for(let e=0,i=t.children.length;e<i;e++)n.appendChild(t.children[e]);return n}function l(e={}){const t=Object.assign({parent:"#node-marquee",speed:1,minQuantity:4,autoplay:!0,pauseOnHover:!1,useParentStyles:!0,prependWhitespace:!0,resize:!0},e),n="node-marquee",o=i(t.parent);if(!(o instanceof HTMLElement))return!1;o.classList.add(n);const s={width:window.innerWidth,height:window.innerHeight};let a,l=!1,u=!1,d=0,f=!1,p=o.innerHTML,h=0,m=[],v=0;const w=[r(window,"resize",(function(){if(!1===t.resize)return;const e=s.width,n=s.height,i=window.innerWidth,o=window.innerHeight;if(s.width=i,s.height=o,"string"==typeof t.resize)return"w"===t.resize&&e!==i||"h"===t.resize&&n!==o?void y():void 0;y()})),r(o,"mouseenter",(function(){t.pauseOnHover&&q()}
1)),r(o,"mouseleave",(function(){t.pauseOnHover&&M()}))];function y(){L(),h=0,m=[],o.innerHTML="",t.useParentStyles&&(o.style.position="relative",o.style.width="100%",o.style.overflow="hidden",o.style.whiteSpace="nowrap");const e=g();v=e.clientWidth,v<=0&&(v=window.innerWidth),v<o.clientWidth&&(h=Math.ceil((o.clientWidth+v)/v)),h<t.minQuantity&&(h=t.minQuantity);for(let e=1;e<h;e+=1)g(!0);_(),function(){if(a)return;const e={childList:!0};a=new MutationObserver((e=>{for(const t of e)"childList"===t.type&&(p=o.innerHTML,y())})),a.observe(o,e)}(),setTimeout((()=>{b()}),500)}function g(e=!1){const i=c("div",{class:`${n}__el`,html:`${t.prependWhitespace?" ":""}${p}`});return e&&(i.style.position="absolute",i.style.top="0",i.style.left="0"),i.style.display="inline-block",o.appendChild(i),m.push(i),i}function L(){a&&(a.disconnect(),a=void 0)}function b(){if(l)return;const e=[];for(let t=0;t<h;t+=1)e.push(m[t].clientWidth);v=Math.max(...e)}function H(){u&&(f=window.requestAnimationFrame(H)),_()}function _(e=t.speed){d-=e;const n=v*(h-1);for(let e=0;e<h;e+=1){const t=m[e],i=E(-v,n,d+v*e);t.style.transform=`matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0, ${i}, 0, 0,1)`}}function E(e,t,n){const i=t-e;return function(e,t){return e||0===e?t(e):t}(n,(t=>(i+(t-e)%i)%i+e))}function M(){f||(u=!0,f=window.requestAnimationFrame(H))}function q(){u=!1,f&&(window.cancelAnimationFrame(f),f=!1)}return y(),t.autoplay&&M(),{play:M,pause:q,isPlaying:()=>u,render:_,recreate:y,updateSizes:b,destroy:function(){l=!0,q(),L(),w.forEach((e=>{e.remove()})),o.innerHTML=p}}}const u=e=>{let t=l({parent:e.querySelector(".marquee__to-left"),speed:1.8,pauseOnHover:!1}),n=l({parent:e.querySelector(".marquee__to-right"),speed:1.3,pauseOnHover:!1});e.addEventListener("mouseover",(()=>{t.pause(),n.pause()})),e.addEventListener("mouseout",(()=>{t.play(),n.play()}))}}}]);
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.