1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[8753],{8543(e,t,n){n.d(t,{default:()=>c});let i=null,r=null,o=null,a=null,l=null,s=null;async function c(e){e||(e=$("body"));const t=e.find(".pix-marquee");if(!t.length)return;i||(i=await async function(){try{const{motionValue:e,transform:t,scroll:i,wrap:r,frame:o,springValue:a,inView:l}=await n.e(7565).then(n.bind(n,163));return{motionValue:e,transform:t,scroll:i,wrap:r,frame:o,springValue:a,inView:l}}catch(e){}}(),r=i.motionValue(0),o=i.springValue(0,{damping:50,stiffness:200}),a=i.transform([0,1400],[0,5],{clamp:!1}),l=i.motionValue(0),s=null,i.scroll((e,t)=>{const n=t&&t.y&&"number"==typeof t.y.velocity?t.y.velocity:0;r.set(n),s&&clearTimeout(s),s=setTimeout(()=>{r.set(0)},150)}),r.on("change",e=>{o.set(e)}),o.on("change",e=>{l.set(a(e))}));const c=[];function d(e,t,n){let i=0;for(let r=0;r<t;r++){const t=e[0].children[r];if(!t)break;i+=n?t.getBoundingClientRect().height:t.getBoundingClientRect().width}return Math.ceil(i||0)}function u(e){if("undefined"==typeof elementorFrontend||!elementorFrontend)return;const t=elementorFrontend.elementsHandler;t&&"function"==typeof t.runReadyTrigger&&e.find(".elementor-element:not(.pix-marquee-el-init)").each(function(){const e=$(this);e.addClass("pix-marquee-el-init"),e.removeClass("elementor-invisible"),this.removeAttribute("id");try{t.runReadyTrigger(e),window.update_numbers(e),window.pix_animation(e,!0)}catch(e){}})}function m(e,t,n,i,r){if(i){let i=r,o=0;for(;i<n&&o<10;)e.append(t),i+=r,o++;return}let o=r||e[0].getBoundingClientRect().width;if(!o)return;const a=Math.min(10,Math.ceil(n/o)-1);for(let n=0;n<a;n++)e.append(t)}let f;t.each(function(e,t){const n=$(t);if(n.hasClass("pix-is-loaded"))return;n.addClass("pix-is-loaded");const r=n,o=r.find(".marquee__inner").first(),a="rtl"===getComputedStyle(document.documentElement).direction,s={baseVelocity:parseFloat(n.attr("data-base-velocity"))||100,scrollDirectionChange:"true"===n.attr("data-scroll-direction-change"),loadAnimation:"true"===n.attr("data-load-animation"),vertical:"true"===n.attr("data-vertical"),smoothVelocity:"true"===n.attr("data-smooth-velocity"),reversed:n.hasClass("pix-reversed")||o.hasClass("pix-reversed"),pauseOnHover:n.hasClass("pix-pause-hover"),speed:parseFloat(n.attr("data-speed"))||null,cssSpeed:null,isRTL:a};if(!o.length)return;const f=o[0].children.length,p=o.html();o.find(".elementor-element").addClass("pix-marquee-el-init");const h=s.vertical?r[0].getBoundingClientRect().height||r.innerHeight():r[0].getBoundingClientRect().width||r.innerWidth();let g=d(o,f,s.vertical);if(!g)return;setTimeout(()=>{g=d(o,f,s.vertical),x()},200),setTimeout(()=>{g=d(o,f,s.vertical),x()},2e3),s.vertical&&(o[0].style.height=`${g}px`),m(o,p,g+h,s.vertical,g),u(r);const y=()=>{const e=getComputedStyle(t).getPropertyValue("--marquee-speed").trim();return e&&""!==e?parseFloat(e.replace("s","")):s.speed},v=i.motionValue(0);let w=-1;s.reversed&&(w=1);const V=i.motionValue(w);let C=!1;v.on("change",e=>{let t;s.isRTL&&!s.vertical?(t=i.wrap(0,g,e),o[0].style.transform=`translate3d(${t}px, 0, 0)`):s.vertical?(t=i.wrap(-g,0,e),o[0].style.transform=`translate3d(0, ${t}px, 0)`):(t=i.wrap(-g,0,e),o[0].style.transform=`translate3d(${t}px, 0, 0)`)}),s.pauseOnHover&&(r.on("mouseenter",()=>{C=!0}),r.on("mouseleave",()=>{C=!1})),i.inView(t,(e,t)=>{const n=c.find(t=>t.$container[0]===e);return n&&(n.isVisible=!0),e=>{n&&(n.isVisible=!1)}});const b={$container:r,$inner:o,originalHTML:p,originalCount:f,isVisible:!0,get cycleWidth(){return g},set cycleWidth(e){g=e},cancelTick:null,updateEffectiveVelocity:null,destroy(){this.cancelTick?.(),r.off("mouseenter mouseleave")}};let T=60;const x=()=>{const e=y();e&&(T=g/e),0==e&&(T=0)};b.updateEffectiveVelocity=x,x();let R=performance.now();const E=i.frame.update(e=>{if(!e)return;let t=e.timestamp;const n=e.timestamp-R;if(R=t,!b.isVisible||C)return;if(s.scrollDirectionChange){const e=l.get();e<0?V.set(w):e>0&&V.set(-w)}let i=0;0!=T?(i=V.get()*T*(n/1e3),s.smoothVelocity&&(i+=V.get()*Math.abs(i*l.get()*.5))):s.smoothVelocity&&(i+=V.get()*Math.abs(.5*l.get())),s.isRTL&&!s.vertical&&(i=-i),v.set(v.get()+i)},!0);b.cancelTick=E,c.push(b);let k=y();const q=()=>{const e=y();e!==k&&(k=e,x()),requestAnimationFrame(q)};window.elementorFrontend?.isEditMode?.()&&q()}),window.addEventListener("resize",()=>{clearTimeout(f),f=setTimeout(()=>{const e=[];for(const t of c)if(t.$container[0]&&t.$inner[0]){const n="true"===t.$container.attr("data-vertical"),i=n?t.$container[0].getBoundingClientRect().height||t.$container.innerHe
1ight():t.$container[0].getBoundingClientRect().width||t.$container.innerWidth(),r=d(t.$inner,t.originalCount,n);e.push({m:t,isVertical:n,containerSize:i,newCycleWidth:r})}for(const{m:t,isVertical:n,containerSize:i,newCycleWidth:r}of e)t.cycleWidth=r,n&&(t.$inner[0].style.height=`${r}px`),m(t.$inner,t.originalHTML,r+i,n,r),t.updateEffectiveVelocity&&t.updateEffectiveVelocity(),u(t.$container)},150)},{passive:!0});const p=()=>{for(const e of c)e.destroy&&e.destroy();clearTimeout(f),clearTimeout(s)};return window.addEventListener("pagehide",p),window.addEventListener("beforeunload",p),{destroy:p,marquees:c}}}}]);
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.