"use strict";(self.webpackChunk_brizy_builder_pro=self.webpackChunk_brizy_builder_pro||[]).push([["707"],{510(e,l,r){r.r(l),r.d(l,{default:()=>s});var t=r(322),n=r(513);let o=e=>{if(e)return(0,n.uv)(e)};function s(e){let{Motions:l}=(0,t.l)(),{ImagesLoaded:r}=(0,t.o)(),n=e.get(0);l&&n&&n.querySelectorAll(".brz-motion--effects").forEach(e=>{let{motionScrollVertical:t,motionScrollHorizontal:n,motionScrollTransparency:s,motionScrollRotate:u,motionScrollScale:c,motionScrollBlur:i,motionMouseTrack:a,motionMouseFit:p,motionResponsive:f}=e.dataset,{scroll:b,mouse:h}=(e=>{let{scrollVertical:l,scrollHorizontal:r,scrollTransparency:t,scrollRotate:n,scrollScale:o,scrollBlur:s,mouseTrack:u,mouseFit:c}=e,i=[],a=[];if(l){let{scrollStep:e,direction:r,viewport:t}=l;i.push({type:"vertical",scrollStep:Number(null!=e?e:1),direction:r,viewport:t})}if(r){let{scrollStep:e,direction:l,viewport:t}=r;i.push({type:"horizontal",scrollStep:Number(null!=e?e:1),direction:l,viewport:t})}if(t){let{scrollStep:e,direction:l,viewport:r}=t;i.push({type:"transparency",scrollStep:Number(null!=e?e:1),direction:l,viewport:r})}if(n){let{scrollStep:e,direction:l,viewport:r,xPosition:t="center",yPosition:o="center"}=n;i.push({type:"rotate",scrollStep:Number(null!=e?e:1),viewport:r,direction:l,xPosition:t,yPosition:o})}if(o){let{scrollStep:e,direction:l,viewport:r,xPosition:t="center",yPosition:n="center"}=o;i.push({type:"scale",scrollStep:Number(null!=e?e:1),direction:l,xPosition:t,yPosition:n,viewport:r})}if(s){let{scrollStep:e,direction:l,viewport:r}=s;i.push({type:"blur",scrollStep:Number(null!=e?e:1),direction:l,viewport:r})}if(u){let{type:e,distance:l,direction:r}=u;a.push({type:e,direction:r,distance:l})}if(c){let{type:e,distance:l,direction:r}=c;a.push({type:e,direction:r,distance:l})}return{mouse:a,scroll:i}})({scrollVertical:o(t),scrollHorizontal:o(n),scrollTransparency:o(s),scrollRotate:o(u),scrollScale:o(c),scrollBlur:o(i),mouseTrack:o(a),mouseFit:o(p)}),y={scroll:b,mouse:h,responsive:o(f)};if(r)r(e,()=>{let r=new l(e,y);window.Brz.on("elements.gallery.changed",l=>{e.contains(l)&&r.arrange()})});else{let r=new l(e,y);window.Brz.on("elements.gallery.changed",l=>{e.contains(l)&&r.arrange()})}})}},322(e,l,r){r.d(l,{l:()=>t,o:()=>n});let t=()=>window.BrizyLibs||{},n=()=>window.BrizyProLibs||{}},513(e,l,r){r.d(l,{$$:()=>n,uv:()=>t});let t=e=>JSON.parse(decodeURIComponent(e)),n=e=>{try{return t(e)}catch(e){}}}}]);