1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[6114],{1290(e,t,n){n.d(t,{default:()=>ne});var o=n(6908),r=n(1893),i=n(1180),c=n(5784),s=n(9198),u=n(8768);function a(e,t,n){const o=Number(e);return Number.isNaN(o)?t:Math.min(n,Math.max(t,o))}function d(e,t=""){if("string"!=typeof e)return t;return e.trim()||t}function f(e,t){const n=Number(e);return Number.isFinite(n)?n:t}function l(e){const t=d(e,"");if(!t)return"";if(t.startsWith("var(")){const e=t.match(/var\(\s*(--[^,\s)]+)\s*(?:,\s*([^)]+))?\)/);return e&&e[1]?e[1]:""}return t.startsWith("--")?t:t.startsWith("pix-")?`--${t}`:`--pix-${t}`}let p=null;function m(e){const t=d(e,"");if(!t)return"";if("transparent"===t)return"rgba(0, 0, 0, 0)";if(function(e){const t=d(e,"").toLowerCase();return t.startsWith("#")||t.startsWith("rgb(")||t.startsWith("rgba(")||t.startsWith("hsl(")||t.startsWith("hsla(")}(t))return t;if("undefined"==typeof CSS||"function"!=typeof CSS.supports||!CSS.supports("color",t))return"";const n="undefined"!=typeof document&&document.documentElement?(p&&p.isConnected||(p=document.createElement("span"),p.style.position="absolute",p.style.left="-9999px",p.style.top="-9999px",p.style.visibility="hidden",p.style.pointerEvents="none",document.documentElement.appendChild(p)),p):null;return n?(n.style.color="",n.style.color=t,n.style.color?d(getComputedStyle(n).color,t):""):t}function g(e,t,n=0){if(!t||n>4)return"";let o="";if(e&&1===e.nodeType&&(o=getComputedStyle(e).getPropertyValue(t).trim()),o||(o=getComputedStyle(document.documentElement).getPropertyValue(t).trim()),!o)return"";if(o.startsWith("var(")){const t=g(e,l(o),n+1);if(t)return t;const r=o.match(/var\(\s*--[^,\s)]+\s*,\s*([^)]+)\)/);if(r&&r[1])return r[1].trim()}return o}function w(e,t,n){const o=d(e,"");if(!o)return n;if("transparent"===o)return"rgba(0, 0, 0, 0)";const r=l(o);if(r){const e=d(g(t,r),"");if(e){const t=m(e);if(t)return t}}const i=m(o);return i||n}const h={"dot-orbit":{z_index:-1,speed:1.2,color1:"primary",color2:"secondary",color_back:"white",size:.26,size_range:.25,spreading:.45,steps:2},"mesh-gradient":{z_index:-1,speed:1,color_count:4,color1:"#e0eaff",color2:"#241d9a",color3:"#f75092",color4:"#9f50d3",distortion:.8,swirl:.1,grain_mixer:0,grain_overlay:0,scale:1,offset_x:0,offset_y:0}},_="shader_loaded";let y=null,v=null;const b=new WeakMap,x=new Set;let k=!1,E=!1,C=null;const S=[];let B=!1,T=!1,I=!1,L=!1,W=null;function z(){return document.body.classList.contains("elementor-editor-active")||-1!==window.location.search.indexOf("elementor-preview=")||void 0!==window.elementorFrontend&&window.elementorFrontend&&"function"==typeof window.elementorFrontend.isEditMode&&window.elementorFrontend.isEditMode()}function M(e){if("undefined"==typeof window||!window.location||"string"!=typeof window.location.search)return!1;try{const t=new URLSearchParams(window.location.search).get(e);return""===t||"1"===t||"true"===t}catch(e){return!1}}function q(){return!!M("pix_static_shader")||("undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||Boolean("undefined"!=typeof navigator&&navigator.connection&&!0===navigator.connection.saveData)||function(){if("undefined"==typeof navigator)return!1;const e=`${d(navigator.userAgent,"")} ${Array.isArray(navigator.userAgentData?.brands)?navigator.userAgentData.brands.map(e=>e.brand).join(" "):""}`;return!0===navigator.webdriver||/HeadlessChrome|Lighthouse|PageSpeed/i.test(e)}())}function A(){return z()||M("pix_force_shader_animation")}function F(){return!!A()||!q()&&T}function O(e){e&&e.mount&&"function"==typeof e.mount.setSpeed&&e.mount.setSpeed(function(e){return e&&F()&&e.isVisible?e.speed:0}(e))}function R(){if(!T&&!q()){T=!0;try{localStorage.setItem(_,"1")}catch(e){}x.forEach(e=>{O(b.get(e))})}}function N(){if(I||A()||q()||"undefined"==typeof window)return;I=!0;const e=["pointerdown","touchstart","keydown","scroll"],t=void 0!==window.PointerEvent,n={passive:!0};let o=!1;const r=()=>{e.forEach(e=>{window.removeEventListener(e,c,n)}),o&&(t?window.removeEventListener("pointermove",s,n):window.removeEventListener("mousemove",s,n),o=!1),window.removeEventListener("load",u),null!==W&&(window.clearTimeout(W),W=null)},i=()=>{r(),"undefined"!=typeof requestIdleCallback?requestIdleCallback(()=>{R()},{timeout:2e3}):window.setTimeout(()=>{R()},150)},c=()=>{L=!0,"complete"===document.readyState&&i()},s=e=>{e&&!1===e.isTrusted||e&&"string"==typeof e.pointerType&&"mouse"!==e.pointerType||"hidden"
1!==document.visibilityState&&("function"!=typeof document.hasFocus||document.hasFocus())&&(e&&"number"==typeof e.movementX&&"number"==typeof e.movementY&&0===e.movementX&&0===e.movementY||(L=!0,r(),"function"==typeof requestAnimationFrame?requestAnimationFrame(()=>{R()}):R()))},u=()=>{if(o||(o=!0,t?window.addEventListener("pointermove",s,n):window.addEventListener("mousemove",s,n)),L)i();else try{localStorage.getItem(_)&&(W=window.setTimeout(()=>{i()},60))}catch(e){}};e.forEach(e=>{window.addEventListener(e,c,n)}),"complete"===document.readyState?u():window.addEventListener("load",u,{once:!0})}function P(){return new Promise(e=>{"undefined"!=typeof requestIdleCallback?requestIdleCallback(e,{timeout:100}):setTimeout(e,0)})}function X(e){-1===S.indexOf(e)&&S.push(e),async function(){if(B)return;B=!0;for(;S.length>0;){const e=S.shift();if(e.isConnected){try{await Q(e)}catch(e){}S.length>0&&await P()}}B=!1}()}function Y(e){C&&C.unobserve(e);const t=S.indexOf(e);-1!==t&&S.splice(t,1)}function $(e,t,n){if(!e||!t||"function"!=typeof t.setSpeed)return;const o=f(n,1),r=z()||"undefined"==typeof window||void 0===window.IntersectionObserver?null:v||(v=new window.IntersectionObserver(e=>{e.forEach(e=>{const t=b.get(e.target);t&&(t.isVisible=Boolean(e.isIntersecting&&e.intersectionRatio>0),O(t))})},{root:null,threshold:[0,.01]}),v);let i=b.get(e);i?(i.mount=t,i.speed=o,i.isVisible=!0):(i={mount:t,speed:o,isVisible:!0},b.set(e,i),x.add(e)),r&&r.observe(e),O(i)}function V(e){e&&1===e.nodeType&&(v&&v.unobserve(e),b.delete(e),x.delete(e))}function j(){if(y)return y;const e=(0,o.R)();var t;return t=e,y=new Promise((e,n)=>{t?t.complete&&t.naturalWidth>0?e(t):(t.onload=()=>e(t),t.onerror=()=>n(new Error("Image failed to load"))):n(new Error("Image is not defined"))}),y}function G(e="pattern"){const t="object"===e?r.J7:r.OZ;return{u_fit:r.Tk[t.fit],u_scale:t.scale,u_rotation:t.rotation,u_originX:t.originX,u_originY:t.originY,u_offsetX:t.offsetX,u_offsetY:t.offsetY,u_worldWidth:t.worldWidth,u_worldHeight:t.worldHeight}}function H(e,t){let n={};const o=e.getAttribute("data-pix-background-effect-options");if(o)try{n=JSON.parse(o)}catch(e){n={}}const r={...h[t]||{},..."object"==typeof n&&n?n:{}};return r.z_index=a(f(r.z_index,f(h[t]?.z_index,-1)),-999,999),function(e,t,n){const o={...t},r=h[e]||{};return({"dot-orbit":["color_back","color1","color2"],"mesh-gradient":["color1","color2","color3","color4"]}[e]||[]).forEach(e=>{o[e]=w(o[e],n,r[e]||"#000000")}),o}(t,r,e)}function D(e){return e.querySelector(":scope > .pix-background-effect-layer")||null}function J(e,t){if(e.dataset.pixBackgroundEffectInit!==t)return!1;const n=D(e);return!(!n||n.parentElement!==e||!n.isConnected)&&(!!function(e){return!(!e||!e.isConnected)&&(!!e.paperShaderMount||Boolean(e.querySelector("canvas")))}(n)||Boolean(e.__pixBackgroundRenderToken))}function U(e){Y(e),V(e),"function"==typeof e.__pixBackgroundEffectCleanup&&(e.__pixBackgroundEffectCleanup(),e.__pixBackgroundEffectCleanup=null);const t=D(e);t&&t.remove(),e.classList.remove("pix-background-effects"),delete e.dataset.pixBackgroundEffectInit,delete e.__pixBackgroundRenderToken}async function Z(e){const t=G("object");t.u_scale=a(e.scale,.1,4),t.u_offsetX=a(e.offset_x,-1,1),t.u_offsetY=a(e.offset_y,-1,1);const n=function(e){const t=a(Math.round(e.color_count),1,4),n=[e.color1,e.color2,e.color3,e.color4].slice(0,t).map(e=>(0,c.G)(e));return n.length?n:[(0,c.G)(h["mesh-gradient"].color1)]}(e);return{fragmentShader:s.b,speed:a(e.speed,0,4),uniforms:{...t,u_colors:n,u_colorsCount:n.length,u_distortion:a(e.distortion,0,1),u_swirl:a(e.swirl,0,1),u_grainMixer:a(e.grain_mixer,0,1),u_grainOverlay:a(e.grain_overlay,0,1)}}}async function K(e,t){switch(e){case"dot-orbit":return async function(e){const t=await j();return{fragmentShader:i.N,speed:a(e.speed,0,4),uniforms:{...G("pattern"),u_colorBack:(0,c.G)(e.color_back),u_colors:[(0,c.G)(e.color1),(0,c.G)(e.color2)],u_colorsCount:2,u_size:a(e.size,.05,1),u_sizeRange:a(e.size_range,0,1),u_spreading:a(e.spreading,0,1),u_stepsPerColor:a(Math.round(e.steps),1,4),u_noiseTexture:t}}}(t);case"mesh-gradient":return Z(t);default:return null}}async function Q(e){if(!e||1!==e.nodeType)return;const t=d(e.getAttribute("data-pix-background-effect"),"");if(!t)return void U(e);const n=`${t}:${e.getAttribute("data-pix-background-effect-options")||""}`;if(!E&&J(e,n))return;const o=H(e,t);
1e.dataset.pixBackgroundEffectInit===n&&function(e){Y(e),V(e),"function"==typeof e.__pixBackgroundEffectCleanup&&(e.__pixBackgroundEffectCleanup(),e.__pixBackgroundEffectCleanup=null);const t=D(e);t&&t.remove(),delete e.__pixBackgroundRenderToken}(e),e.dataset.pixBackgroundEffectInit=n,e.classList.add("pix-background-effects"),"function"==typeof e.__pixBackgroundEffectCleanup&&(e.__pixBackgroundEffectCleanup(),e.__pixBackgroundEffectCleanup=null);const r=function(e){let t=D(e);return t||(t=document.createElement("div"),t.className="pix-background-effect-layer",e.insertBefore(t,e.firstChild)),t}(e);r.innerHTML="",r.style.zIndex=`${o.z_index}`;const i=Symbol("pix-bg-render");e.__pixBackgroundRenderToken=i;try{const n=await K(t,o);if(!n)return void U(e);if(e.__pixBackgroundRenderToken!==i)return;const c=F(),s=c?n.speed:0;let a=r.offsetWidth*r.offsetHeight*2;"mesh-gradient"===t&&(a/=4);const d=new u.f(r,n.fragmentShader,n.uniforms,void 0,s,0,1,a);c||d.setFrame(1200),(z()||e.__pixBackgroundRenderToken===i)&&$(e,d,n.speed),e.__pixBackgroundEffectCleanup=()=>{V(e),d.dispose()}}catch(e){}}function ee(e=document){const t=function(e,t){const n=[];return 1===e.nodeType&&e.matches(t)&&n.push(e),n.push(...e.querySelectorAll(t)),n}(e,".pix-background-effects[data-pix-background-effect]");if(z())return void t.forEach(e=>{Q(e)});if(E)return void t.forEach(e=>X(e));const n=z()||"undefined"==typeof IntersectionObserver?null:C||(C=new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&(C.unobserve(t.target),X(t.target))},{rootMargin:"200px 0px 200px 0px"}),C);t.forEach(e=>{n?n.observe(e):X(e)})}function te(){return"undefined"!=typeof document&&Boolean(document.querySelector(".pix-theme-switcher"))}function ne(e){const t=function(e){return e&&e.jquery&&e.length?e[0]:e&&1===e.nodeType?e:document}(e);N(),ee(t),function(){if(k)return;const e=()=>{te()&&(k=!0,n.e(4122).then(n.bind(n,7057)).then(e=>{e&&"function"==typeof e.default&&e.default(e=>{E=!0,ee(e),E=!1})}).catch(()=>{k=!1}))};"undefined"!=typeof window?"complete"!==document.readyState?window.addEventListener("load",()=>{te()&&window.setTimeout(e,0)},{once:!0}):te()&&window.setTimeout(e,0):e()}()}}}]);
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.