1(()=>{"use strict";var t={338:(t,e,n)=>{var r=n(795);e.H=r.createRoot,r.hydrateRoot},795:t=>{t.exports=window.ReactDOM}},e={};const n=window.React;var r=function n(r){var a=e[r];if(void 0!==a)return a.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}(338);const a="linear-gradient(135deg, #0040E3, #18D4FD)",o=t=>{const e=(t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}})(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},s=(t,e)=>{return null==(n=e)||""===n||Array.isArray(n)&&0===n.length||"object"==typeof n&&0===Object.keys(n).length||"string"==typeof n&&""===n.trim()||"number"==typeof n&&0===n?"":`${t}: ${e};`;var n},l=(t,e=!0,n=!0,r=!0)=>{const{type:l="solid",color:i="",gradient:c=a,image:m={},position:d="center center",attachment:u="",repeat:p="no-repeat",size:f="",overlayColor:h=""}=t||{};return"gradient"===l&&n?s("background",c):"image"===l&&r?`background: ${o(m?.url)};\n\t\t\t\t${s("background-color",h)}\n\t\t\t\t${s("background-position",d)}\n\t\t\t\t${s("background-size",f)}\n\t\t\t\t${s("background-repeat",p)}\n\t\t\t\t${s("background-attachment",u)}\n\t\t\t\t${s("background-repeat",p)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&s("background",i)},i=t=>{const{side:e=2,vertical:n="0px",horizontal:r="0px",top:a="0px",right:o="0px",bottom:s="0px",left:l="0px"}=t||{};return 2===e?`${n} ${r}`:`${a} ${o} ${s} ${l}`},c=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map(e=>t[e]||"").every(t=>!t)?"":e.map(e=>t[e]||"0").join(" ")}return""},m=({attributes:t,id:e})=>{const{verticalAlign:r,textAlign:a,background:o,minHeight:s,padding:m,layout:d,styles:u={},selectedTheme:p}=t,f=`#${e}`,h=`${f} .BPBlurEffectParallax`,g=`${h} .hero`,b=`${h} .hero-bg`,$=`${f} .BPVerticalParallax .parallax-item`,y=`${f} .bpParticleParallax .hero-container`,E=`${y} .floating-cube`,v=`${f} .bplThreeImageParallax`,x=`${v} .parallax-hero`,w=`${v} .bg-top`,k=`${v} .bg-bottom`,M=`${v} #leaves-container svg`,N=`${f} .BPScrollZoomParallax`,P=`${N} .zoom-hero`,S=`${N} .zoom-bg`;return(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\n\t\t${"default"===p&&"\n\t\t\t\t.wp-block-psb-parallax{\n\t\t\t\t\tposition: relative;\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t"}\n\t\t\n\n\t\t${f}{\n\t\t\tmin-height: ${s};\n\t\t}\n\n\t\t${f} .psbParallaxSection{\n\t\t\tjustify-content: ${r};\n\t\t\ttext-align: ${a};\n\t\t\tmin-height: ${s};\n\t\t\tpadding: ${i(m)};\n\t\t}\n\t\t${f} .psbParallaxImg{\n\t\t\t${l(o)}\n\t\t}\n\n\n\n\t\t${g} {\n\t\t\tmin-height:${s};\n\t\t\tmax-width:${d?.width?.desktop};\n\t\t\tmargin:${c(d?.margin?.desktop)};\n\t\t\tpadding: ${i(m)};\n\t\t\ttext-align: ${a};\n\t\t\t}\n\t\n\t\t\t${b}{\n\t\t\t${l(o)}\n\t\t\t}\n\t\n\t\t\t\t@media (max-width: 480px){\n\t\t\t\t}\n\n\t\t\t\t${$}{\n\t\t\t\t\t${l(o)}\n\t\t\t\t\twidth:${d?.width?.desktop};\n\t\t\t\t\tmin-height:${s};\n\t\t\t\t\tpadding: ${i(m)};\n\t\t\t\t\tmargin:${c(d?.margin?.desktop)};\n\t\t\t\t\ttext-align: ${a};\n\t\t\t\t}\n\t\t\n\t\n\t\n\t\t\t\t@media (max-width: 480px){\n\t\t\t\t}\n\n\n\t\t\t\t${y}{\n\t\t\t\t\t${l(o)}\n\t\t\t\t\twidth:${d?.width?.desktop};\n\t\t\t\t\tmin-height:${s};\n\t\t\t\t\tmargin:${c(d?.margin?.desktop)};\n\t\t\t\t\tpadding: ${i(m)};\n\t\t\t\t\ttext-align: ${a};\n\t\t\t\t}\n\n\t\t\t\t${E}{\n\t\t\t\t\t\ttop: ${u?.cube?.position?.x?.desktop};\n\t\t\t\t\t\tright: ${u?.cube?.position?.y?.desktop};;\n\t\t\t\t}\n\n\t\t\t\t${E} .front {\n\t\t\t\t\tbackground: ${u?.cube?.front};\n\t\t\t\t}\n\t\t\t\t${E} .back {\n\t\t\t\t\tbackground: ${u?.cube?.back};\n\t\t\t\t}\n\t\t\t\t${E} .top {\n\t\t\t\t\tbackground: ${u?.cube?.top};\n\t\t\t\t}\n\t\t\t\t${E} .bottom {\n\t\t\t\t\tbackground: ${u?.cube?.bottom};\n\t\t\t\t}\n\t\t\t\t${E} .left {\n\t\t\t\t\tbackground: ${u?.cube?.left};\n\t\t\t\t}\n\t\t\t\t${E} .right {\n\t\t\t\t\tbackground: ${u?.cube?.right};\n\t\t\t\t}\n\n\t\t\t\t@media (min-width:641px) and (max-width: 1024px){\n\n\t\t\t\t\t${E}{\n\t\t\t\t\t\ttop: ${u?.cube?.position?.x?.tablet};\n\t\t\t\t\t\tright: ${u?.cube?.position?.y?.tablet};;\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\n\t\n\t\n\t\t\t\t@media (max-width: 480px){\n\n\t\t\t\t\t\t${E}{\n\t\t\t\t\t\t\ttop: ${u?.cube?.position?.x?.mobile};\n\t\t\t\t\t\t\tright: ${u?.cube?.position?.y?.mobile};;\n\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t${x}{\n\t\t\t\t\twidth:${d?.width?.desktop};\n\t\t\t\t\tmin-height:${s};\n\t\t\t\t\tmargin:${c(d?.margin?.desktop)};\n\t\t\t\t\ttext-align: ${a};\n\t\t\t\t\tpadding: ${i(m)};\n\t\t\t\t}\n\n\t\t\t\t${w}{\n \t\tbackground-color:${u?.t4Styles?.backgroundColors?.upper};\n\t\t\t\t}\n\t\t\t\t${k}{\n \t\tbackground-color:${u?.t4Styles?.backgroundColors?.lower};\n\t\t\t\t}\n\n\t\t\t\t${M}{\n\t\t\t\tfill:${u?.leaf?.color};\n\t\t\t\t}\n\n\t\t\t\t/* ============ theme 7 : Scroll Zoom ============ */\n\t\t\t\t${P}{\n\t\t\t\t\tmin-height:${s};\n\t\t\t\t\tpadding:${i(m)};\n\t\t\t\t\ttext-align:${a};\n\t\t\t\t\tjustify-content:${r};\n\t\t\t\t}\n\t\t\t\t${S}{\n\t\t\t\t\t${l(o)}\n\t\t\t\t}\n\n\n\n\t\t\t\t@media (max-width: 480px){\n\t\t\t\t}\n\n\n\t\t`.replace(/\s+/g," ")}})},d=window.wp.blockEditor,u=()=>(0,n.createElement)(d.InnerBlocks,{template:[["core/heading",{content:"Parallax Section by bPlugins",style:{typography:{fontSize:"40px"},color:{text:"#fff"}}}],["core/paragraph",{content:"The Parallax effect is a modern web design technique where the background element scrolls slower than the foreground content. The parallax effect can be used on landing pages, long-form content, sales pages, or the homepage of a business website. It is a great way to highlight different sections on a lengthy page.",style:{typography:{fontSize:"20px"},color:{text:"#fff"}}}],["core/buttons",{contentJustification:"center",layout:{justifyContent:"center"}},[["core/button",{text:"Click Me",style:{typography:{fontSize:"30px"},color:{text:"#fff",gradient:"linear-gradient(135deg, #4527a4, #8344c5)"}}}]]]]}),p=({effectName:t="This parallax effect"})=>{const e="undefined"!=typeof window&&window.psbPricingUrl||"https://bplugins.com/products/parallax-section/pricing/";return(0,n.createElement)("div",{className:"bpl-psb-view-update-modal"},(0,n.createElement)("div",{className:"container"},(0,n.createElement)("h3",{className:"heading"},"ð ",t," is a ",(0,n.createElement)("span",null,"Pro effect"),". Upgrade now to keep it and unlock every other premium effect."),(0,n.createElement)("a",{className:"btn",href:e,target:"_blank",rel:"noopener noreferrer"},"ð Upgrade now")))},f=({isBackend:t=!1,isPremium:e=!1,previewMs:r=4e3})=>
1{const a=!t&&!e,[o,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!a)return void s(!1);const t=setTimeout(()=>s(!0),r);return()=>clearTimeout(t)},[a,r]),{locked:a,showModal:o}},h=()=>"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,g=t=>{const e=t?.ownerDocument||document;return{doc:e,win:e.defaultView||window}},b=new WeakMap,$=t=>{const e=(t=>{if(!t)return null;const e=b.get(t);if(e){if(e.node&&e.node.scrollHeight>e.node.clientHeight+1)return e.node;if(!e.node&&Date.now()-e.at<1e3)return null}const{doc:n,win:r}=g(t);let a=null;for(let e=t.parentElement;e&&e!==n.body&&e!==n.documentElement;e=e.parentElement){const t=r.getComputedStyle(e).overflowY;if(("auto"===t||"scroll"===t)&&e.scrollHeight>e.clientHeight+1){a=e;break}}return b.set(t,{node:a,at:Date.now()}),a})(t);return e?e.scrollTop:g(t).win.scrollY},y=(t,e)=>{const{doc:n}=g(t);return n.addEventListener("scroll",e,{passive:!0,capture:!0}),()=>n.removeEventListener("scroll",e,{capture:!0})},E=(t,e,n=!1)=>{if(h())return void(t&&(t.style.top="50%",t.style.transform="translate(-50%, -50%)"));const{win:r}=g(t),a=parseFloat(t?.dataset?.speed)||-1,o=n||$(t),s=r.innerHeight,l=e?.clientHeight,i=e?e.getBoundingClientRect().top+o:0,c=o+s;if(c>i&&o<i+l){let e=(c-i)*a/(s+l)*100+(50-50*a);t.style.top=e+"%",t.style.transform="translate(-50%, -"+e+"%)"}},v=({isBackend:t=!1,children:e,isPremium:r})=>{const a=(0,n.useRef)(null),o=(0,n.useRef)(null),s=(0,n.useRef)(null),{showModal:l}=f({isBackend:t,isPremium:r});return(0,n.useEffect)(()=>{const{win:t}=g(s.current);if(l)return;const e=a.current,n=o.current,r=s.current;if(!e||!n||!r)return;if(t.matchMedia("(prefers-reduced-motion: reduce)").matches)return e.style.transform="none",e.style.filter="none",n.style.opacity="1",void(n.style.transform="none");let i=0,c=1;const m=()=>{i=r.getBoundingClientRect().top+$(s.current),c=r.offsetHeight||1},d=()=>{const t=$(s.current)-i;if(t<0)return e.style.transform="translateY(0px)",e.style.filter="blur(0px) brightness(1)",n.style.opacity="1",void(n.style.transform="translateY(0px)");e.style.transform=`translateY(${.5*t}px)`;const r=Math.min(t/c,1);e.style.filter=`blur(${8*r}px) brightness(${1-.4*r})`,n.style.opacity=1-.7*r,n.style.transform=`translateY(${50*r}px)`};let u=!1;const p=()=>{m(),d()};m(),d();const f=y(s.current,()=>{u||(u=!0,t.requestAnimationFrame(()=>{d(),u=!1}))});return t.addEventListener("resize",p),()=>{f(),t.removeEventListener("resize",p)}},[l]),(0,n.createElement)("div",{className:"BPBlurEffectParallax"},(0,n.createElement)("section",{className:"hero",ref:s},l&&(0,n.createElement)(p,{effectName:"Blur Effect"}),(0,n.createElement)("div",{className:"hero-bg",ref:a}),(0,n.createElement)("div",{className:"hero-content",ref:o},t&&(0,n.createElement)(u,null),(0,n.createElement)("div",{className:"psb-theme1-wrapper"},(0,n.createElement)("div",{className:"psb-theme1-overlay"}),(0,n.createElement)("div",{className:"psb-theme1-content"},e)))))},x=({isBackend:t=!1,children:e,isPremium:r})=>{const a=(0,n.useRef)(null),{showModal:o}=f({isBackend:t,isPremium:r});return(0,n.createElement)("section",{className:"BPVerticalParallax"},o&&(0,n.createElement)(p,{effectName:"Sticky Effect"}),(0,n.createElement)("div",{ref:a,className:"parallax-item"},t&&(0,n.createElement)(u,null),(0,n.createElement)("div",{className:"psb-theme1-wrapper"},(0,n.createElement)("div",{className:"psb-theme1-overlay"}),(0,n.createElement)("div",{className:"psb-theme1-content"},e))))},w=({attributes:t,isBackend:e=!1,isPremium:r,children:a})=>{const{options:o,styles:s}=t||{},{particles:l}=s||{},i=(0,n.useRef)(null),c=(0,n.useRef)(null),{showModal:m}=f({isBackend:e,isPremium:r});return(0,n.useEffect)(()=>{const{win:t,doc:e}=g(i.current);if(m)return;const n=i.current;if(!n)return;const r=n.getContext("2d");if(!r)return;let a,o=[],s=0,d=0;function u(){n.width=t.innerWidth,n.height=t.innerHeight+1500}function p(){const e=Math.floor(t.innerWidth/l.density);o=[];for(let t=0;t<e;t++){const t=5*Math.random()+1,e=Math.random()*n.width,r=Math.random()*n.height,a=Math.random()*`${l.movingSpeed}`-.25,s=Math.random()*`${l.movingSpeed}`-.25,i=`rgba(${l.color.r}, ${l.color.g}, ${l.color.b}, ${.5*Math.random()})`;o.push({x:e,y:r,size:t,speedX:a,speedY:s,color:i})}}const f=e.getElementById("main-container");if(f){const t=f.getBoundingClientRect();d=t.top+$(i.current)}else console.warn("main-container not found â maybe not rendered in this view");const h=y(i.current,()=>{s=$(i.current)-d,s<0&&(s=0)}),b=()=>{u(),p()};return t.addEventListener("resize",b),u(),p(),function t(){r.clearRect(0,0,n.width,n.height),o.forEach(t=>{t.x+=t.speedX,t.y+=t.speedY+2e-4*s,t.x<0&&(t.x=n.width),t.x>n.width&&(t.x=0),t.y<0&&(t.y=n.height),t.y>n.height&&(t.y=0),r.fillStyle=t.color,r.beginPath(),r.arc(t.x,t.y,t.size,0,2*Math.PI),r.fill()});for(let t=0;t<o.length;t++)for(let e=t+1;e<o.length;e++){const n=o[t].x-o[e].x,a=o[t].y-o[e].y,s=Math.sqrt(n*n+a*a);s<100&&(r.beginPath(),r.moveTo(o[t].x,o[t].y),r.lineTo(o[e].x,o[e].y),r.strokeStyle=`rgba(${l.color.r}, ${l.color.g}, ${l.color.b},${.3*(1-s/100)})`,r.lineWidth=1,r.stroke())}const i=e.getElementById("parallax-text");i&&(i.style.transform=`translateY(${.3*s}px)`);const m=c.current;m&&(m.style.transform=`translateY(${.33*s}px)`),n&&(n.style.transform=`translateY(${.3*-s}px)`);const d=e.getElementById("cube");
1if(d){const t=11+.4*s,e=23+.2*s;d.style.transform=`translateY(${.3*s}px) translateX(${.1*-s}px) rotateX(${-t}deg) rotateY(${-e}deg)`}a=requestAnimationFrame(t)}(),()=>{h(),t.removeEventListener("resize",b),a&&cancelAnimationFrame(a)}},[l,m]),(0,n.createElement)("div",{className:"bpParticleParallax"},m&&(0,n.createElement)(p,{effectName:"Particle Effect"}),(0,n.createElement)("div",{className:"hero-container",id:"main-container"},(0,n.createElement)("canvas",{ref:i,id:"particles-canvas"}),(0,n.createElement)("div",{className:"hero-content",ref:c},e&&(0,n.createElement)(u,null),(0,n.createElement)("div",{className:"psb-theme1-wrapper"},(0,n.createElement)("div",{className:"psb-theme1-overlay"}),(0,n.createElement)("div",{className:"psb-theme1-content"},a))),o?.isCube&&(0,n.createElement)("div",{className:"floating-cube",id:"cube"},(0,n.createElement)("div",{className:"face front"}),(0,n.createElement)("div",{className:"face back"}),(0,n.createElement)("div",{className:"face top"}),(0,n.createElement)("div",{className:"face bottom"}),(0,n.createElement)("div",{className:"face left"}),(0,n.createElement)("div",{className:"face right"}))))},k=({attributes:t,isBackend:e=!1,children:r,isPremium:a})=>{const{styles:o}=t||[],s=(0,n.useRef)(null),l=(0,n.useRef)(null),i=(0,n.useRef)(null),c=(0,n.useRef)(null),m=(0,n.useRef)(null),d=(0,n.useRef)(null),h=(0,n.useRef)(null),b=(0,n.useRef)(null),E=(0,n.useRef)(null),v=(0,n.useRef)(null),{showModal:x}=f({isBackend:e,isPremium:a});return(0,n.useEffect)(()=>{const{win:t,doc:e}=g(s.current);if(x)return;const n=E.current;let r=0,a=0,u=!1;const p=o?.leaf?.count;for(let t=0;t<p;t++){const t=e.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("width","40"),t.setAttribute("height","40"),t.setAttribute("viewBox","0 0 24 24"),t.innerHTML='\n <path d="M12 2C7 6 4 12 12 22C20 12 17 6 12 2Z" />\n <path d="M12 2C12 8 12 16 12 22" stroke="#065f46" stroke-width="0.8" stroke-linecap="round"/>\n <path d="M12 7 L9 8.5" stroke="#065f46" stroke-width="0.5" stroke-linecap="round"/>\n <path d="M12 10 L8.5 12" stroke="#065f46" stroke-width="0.5" stroke-linecap="round"/>\n <path d="M12 13 L9 15" stroke="#065f46" stroke-width="0.5" stroke-linecap="round"/>\n <path d="M12 7 L15 8.5" stroke="#065f46" stroke-width="0.5" stroke-linecap="round"/>\n <path d="M12 10 L15.5 12" stroke="#065f46" stroke-width="0.5" stroke-linecap="round"/>\n <path d="M12 13 L15 15" stroke="#065f46" stroke-width="0.5" stroke-linecap="round"/>\n ',t.style.position="absolute",t.style.left=100*Math.random()+"%",t.style.top=100*Math.random()+"%",t.dataset.speed=.1+.2*Math.random(),t.style.opacity=.2+.3*Math.random(),t.style.transform=`rotate(${360*Math.random()}deg)`,o?.leaf?.status&&n.appendChild(t)}const f=()=>{const t=s.current;if(t){const e=t.getBoundingClientRect();r=e.top+$(s.current),a=e.height}};f();const w=()=>{f()};let k=!1;const M=y(s.current,()=>{k||(k=!0,t.requestAnimationFrame(()=>{(()=>{const t=$(s.current);if(u=t>=r&&t<=r+a,!u)return;const e=t-r;l.current&&(l.current.style.transform=`translateY(${.05*e}px)`),i.current&&(i.current.style.transform=`translateY(${.08*e}px)`),c.current&&(c.current.style.transform=`translateY(${.1*-e}px)`),m.current&&(m.current.style.transform=`translateY(${.05*e}px)`),d.current&&(d.current.style.transform=`rotate(-5deg) translateY(${.15*e}px)`),h.current&&(h.current.style.transform=`rotate(8deg) translateY(${.2*e}px)`),v.current&&(v.current.style.transform=`translateY(${-.32*e}px)`),b.current&&(b.current.style.opacity=Math.max(0,1-.01*e)),Array.from(n.children).forEach(t=>{const n=parseFloat(t.dataset.speed);t.style.transform=`translateY(${e*n}px) rotate(${360*Math.random()}deg)`})})(),k=!1}))});return t.addEventListener("resize",w),()=>{M(),t.removeEventListener("resize",w),n&&(n.innerHTML="")}},[o?.leaf?.count,o?.leaf?.status,x]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"bplThreeImageParallax",ref:s},x&&(0,n.createElement)(p,{effectName:"Leaf Effect"}),(0,n.createElement)("div",{className:"parallax-hero"},(0,n.createElement)("div",{className:"bg-layer bg-top",ref:l}),(0,n.createElement)("div",{className:"bg-layer bg-bottom",ref:i}),o?.leaf?.status&&(0,n.createElement)("div",{id:"leaves-container",ref:E}),(0,n.createElement)("div",{className:"hero-content",ref:v},e&&(0,n.createElement)(u,null),(0,n.createElement)("div",{className:"psb-theme1-wrapper"},(0,n.createElement)("div",{className:"psb-theme1-overlay"}),(0,n.createElement)("div",{className:"psb-theme1-content"},r))))))},M=({isBackend:t=!1,attributes:e,isPremium:r,children:a})=>{var o,s;const{styles:l}=e||{},i=l?.zoom||{},c=null!==(o=i?.startScale)&&void 0!==o?o:1,m=null!==(s=i?.endScale)&&void 0!==s?s:1.3,d=(0,n.useRef)(null),b=(0,n.useRef)(null),$=(0,n.useRef)(null),{showModal:E}=f({isBackend:t,isPremium:r});return(0,n.useEffect)(()=>{const{win:t}=g(d.current);if(E)return;const e=d.current,n=b.current,r=$.current;if(!e||!n)return;if(h())return n.style.transform=`scale(${c})`,void(r&&(r.style.opacity="1",r.style.transform="none"));let a=!1;const o=()=>
1{const o=e.getBoundingClientRect(),s=t.innerHeight;let l=1-(o.top+o.height)/(s+o.height);l=Math.min(Math.max(l,0),1);const i=c+(m-c)*l;if(n.style.transform=`scale(${i})`,r){const t=Math.min(2*l,1);r.style.opacity=String(t),r.style.transform=`translateY(${40*(1-t)}px)`}a=!1},s=()=>{a||(a=!0,t.requestAnimationFrame(o))},l=y(d.current,s);return t.addEventListener("resize",s),o(),()=>{l(),t.removeEventListener("resize",s)}},[c,m,E]),(0,n.createElement)("div",{className:"BPScrollZoomParallax"},(0,n.createElement)("section",{className:"zoom-hero",ref:d},E&&(0,n.createElement)(p,{effectName:"Scroll Zoom"}),(0,n.createElement)("div",{className:"zoom-bg",ref:b}),(0,n.createElement)("div",{className:"zoom-content",ref:$},t&&(0,n.createElement)(u,null),(0,n.createElement)("div",{className:"psb-theme1-wrapper"},(0,n.createElement)("div",{className:"psb-theme1-overlay"}),(0,n.createElement)("div",{className:"psb-theme1-content"},a)))))};document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".wp-block-psb-parallax").forEach(t=>{const e=t.querySelector(".psbParallaxImg"),a=JSON.parse(t.dataset.attributes),o=JSON.parse(t.dataset.pipecheck),{selectedTheme:s}=a,l=t.className,i=t.innerHTML,c=document.createElement("div");if(c.innerHTML=i,"default"!=s&&(c.querySelectorAll("style").forEach(t=>t.remove()),c.querySelectorAll(".psbParallaxImg").forEach(t=>t.remove())),"default"!=s){const e=c.innerHTML;t.innerHTML="",(0,r.H)(t).render((0,n.createElement)("div",{className:l,id:t.id},(0,n.createElement)(m,{attributes:a,id:t.id,isPremium:o}),(()=>{switch(s){case"theme1":return(0,n.createElement)(v,{attributes:a,isPremium:o},(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}));case"theme2":return(0,n.createElement)(x,{attributes:a,isPremium:o},(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}));case"theme3":return(0,n.createElement)(w,{attributes:a,isPremium:o},(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}));case"theme4":return(0,n.createElement)(k,{attributes:a,isPremium:o},(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}));case"theme7":return(0,n.createElement)(M,{attributes:a,isPremium:o},(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}));default:return(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:e}})}})()))}if("default"===s&&e){const o=document.createElement("div");if(t.insertBefore(o,t.firstChild),(0,r.H)(o).render((0,n.createElement)(m,{attributes:a,id:t.id})),e){E(e,e.parentElement);let t=!1;document.addEventListener("scroll",()=>{t||(t=!0,window.requestAnimationFrame(()=>{E(e,e.parentElement),t=!1}))},{passive:!0})}}})})})();
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.