|
1
|
|
-(()=>{"use strict";const t=window.ReactDOM,e=window.ReactJSXRuntime,o=({attributes:t,facebookKey:o})=>{const{facebook:n}=t,i=`https://www.facebook.com/plugins/page.php?href=${encodeURIComponent(n.link)}&tabs=${n.layout?.join(",")||"timeline"}&width=${n.width}&height=${n.height}&small_header=${n.smallHeader}&adapt_container_width=true&hide_cover=${!n.coverPhoto}&show_facepile=${n.profilePhotos}&hide_cta=${n.ctaButton}&appId=${o}`;return(0,e.jsx)("div",{className:`bBlocks-fbPage-wrapper ${n.align}`,children:(0,e.jsx)("div",{children:(0,e.jsx)("iframe",{src:i,width:n.width,height:n.height,scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",title:"Facebook Page"})})})},n=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),i=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}},s="@media only screen and (max-width: 1024px)",a="@media only screen and (max-width: 640px)";window.React;const r=t=>{const e=i(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},M=(t,e)=>n(e)?`${t}: ${e};`:"",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""},d=t=>{const{position:e="center center",xPosition:o=0,yPosition:i=0,attachment:s="",repeat:a="no-repeat",size:r="cover",customSize:M="0px"}=t||{},c=t=>"initial"!==t||n(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${o} ${i}`:e};`:""}\n\t\t${s&&c(s)?`background-attachment: ${s};`:""}\n\t\t${c(a)?`background-repeat: ${a};`:""}\n\t\t${c(r)?`background-size: ${"custom"===r?`${M} auto`:r};`:""}\n\t`},l=(t={})=>t?{desktop:n(t.url)?`background-image: ${r(t.url)}; ${d(t?.desktop)}`:"",tablet:n(t.url)?d(t?.tablet):"",mobile:n(t.url)?d(t?.mobile):""}:"",u=(t,e,o=!1)=>{const{type:r="color",color:c,gradient:d,img:u,video:y}=t||{},j="color"===r?M("background",c):"gradient"===r?(t=>{const{type:e="linear",radialType:o="ellipse",colors:i=[],centerPositions:s={x:0,y:0},angel:a=0}=t||{};if(n(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),n=`linear-gradient(${a}deg, ${t})`;return M("background","radial"===e?`radial-gradient(${o} at ${s?.x}% ${s?.y}%,${t})`:n)}return""})(d):"image"===r?l(u).desktop:"",N="image"===r?l(u).tablet:"",p="image"===r?l(u).mobile:"",L=o?`${e}:hover`:e;return`\n\t\t${"video"===r?((t,e)=>{const{url:o,loop:n}=t||{},s=document.querySelector(e),a=s?.querySelector(".bPlVideo"),r=document.createElement("video");if(r.muted=!0,r.autoplay=!0,r.classList.add("bPlVideo"),!a&&s&&o){const t=i(o);if(t){const e=document.createElement("source");e.src=t,r.appendChild(e),s.appendChild(r)}}return r.loop=n,r.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(y,e):""}\n\n\t\t${j?`${L}{\n\t\t\t${j}\n\t\t}`:""}\n\n\t\t${N?`${s} {\n\t\t\t${L}{\n\t\t\t\t${N}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${p?`${a} {\n\t\t\t${L}{\n\t\t\t\t${p}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},y=(t,e,o=!1)=>{const{isEnabled:i,colors:s,opacity:a=1,blend:r,filter:c="",blur:d=0,brightness:l=100,contrast:y=100,saturation:j=100,hue:N=0,position:p={top:0,right:0,bottom:0,left:0},zIndex:L=-1}=t||{},$=`${100!==l?`brightness(${l}%)`:""} ${100!==y?`contrast(${y}%)`:""} ${100!==j?`saturate(${j}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==N?`hue-rotate(${N}deg)`:""}`,w=`${c}: ${c?$:""}; -webkit-${c}: ${c?$:""};`,D=o?`${e}:hover::after`:`${e}::after`;return i?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${n(p.top)?p.top:0};\n\t\t\tright:${n(p.right)?p.right:0};\n\t\t\tbottom:${n(p.bottom)?p.bottom:0};\n\t\t\tleft:${n(p.left)?p.left:0};\n\t\t\tz-index:${L};\n\t\t}\n\t\t${u(s,D,!1)}\n\t\t${D}{\n\t\t\t${M("opacity",a)}\n\t\t\t${M("mix-blend-mode",r)}\n\t\t\t${w}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},j=(t,e,o=!1)=>{const i=(t,e="desktop")=>{if(!n(t))return"";const{skew:o,scale:i,rotate:s,offset:a,flipX:r,flipY:c}=t,{threeDRotate:d}=s||{},{isProportion:l}=i||{},u=[];return n(o)&&(n(o?.[e]?.x)&&u.push(`skewX(${o[e].x}deg)`),n(o?.[e]?.y)&&u.push(`skewY(${o[e].y}deg)`)),l?n(i?.[e]?.scale)&&u.push(`scale(${i[e].scale})`):(n(i?.[e]?.x)&&u.push(`scaleX(${i[e].x})`),n(i?.[e]?.y)&&u.push(`scaleY(${i[e].y})`)),n(s)&&(n(s?.[e]?.z)&&u.push(`rotateZ(${s[e].z}deg)`),d&&(n(s?.[e]?.x)&&u.push(`rotateX(${s[e].x}deg)`),n(s?.[e]?.y)&&u.push(`rotateY(${s[e].y}deg)`))),n(a)&&(n(a?.[e]?.x)&&u.push(`translateX(${a[e].x})`),n(a?.[e]?.y)&&u.push(`translateY(${a[e].y})`)),n(r)&&u.push(r?"scaleX(-1)":""),n(c)&&u.push(c?"scaleY(-1)":""),0===u.length?"":M("transform",u.join(" "))},r=o?`${e}:hover`:e;return`\n\t\t${r} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${s}{\n\t\t\t${r} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${a}{\n\t\t\t${r} {\n\t\t\t\t${i(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},N=t=>{const{padding:e,margin:o,height:n,width:i}=t||{},s=(t,e)=>M(t,e),a=(t,e,o)=>s(t,e?.[t]?.[o])+s(`min-${t}`,e?.min?.[o])+s(`max-${t}`,e?.max?.[o]),r=t=>M("padding",c(t)),d=t=>M("margin",c(t));return{desktop:r(e?.desktop)+d(o?.desktop)+a("height",n,"desktop")+a("width",i,"desktop"),tablet:r(e?.tablet)+d(o?.tablet)+a("height",n,"tablet")+a("width",i,"tablet"),mobile:r(e?.mobile)+d(o?.mobile)+a("height",n,"mobile")+a("width",i,"mobile")}},p=t=>{const{normal:e,hover:o}=t||{},n=t=>{const{border:e,radius:o,shadow:n}=t||{},i=M("border-radius",c(o)),s=M("box-shadow",((t,e="box")=>{let o="";return t?.map(((n,i)=>{const{hOffset:s="0px",vOffset:a="0px",blur:r="0px",spreed:M="0px",color:c="#e7f0fe",isInset:d=!1}=n||{},l=d?"inset":"",u=`${s} ${a} ${r}`,y=i+1>=t.length?"":", ";o+="text"===e?`${u} ${c}${y}`:`${u} ${M} ${c} ${l}${y}`})),o||""})(n,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:n="0px"}=t;return`${n} ${o} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((o=>t[o]?`border-${o}: ${e(t[o])};`:"")).join(" ").trim():M("border",e(t))})(e)+i+s};return{normal:n(e),hover:n(o)}},L=t=>{const{zIndex:e,overflow:o}=t||{},i=o?`overflow: ${o};`:"",s=t=>`${M("z-index",e?.[t])} ${M("position",n(e?.[t])?"relative":"")}`;return{desktop:s("desktop")+i,tablet:s("tablet"),mobile:s("mobile")}},$=(t,e)=>{const{desktop:o=!1,tablet:n=!1,mobile:i=!1}=t||{},s=e?"opacity: 0.5;":"display: none;",a=t=>t?s:"";return{desktop:a(o),tablet:a(n),mobile:a(i)}},w=(t,e,o=!1,i=!0)=>{const{dimension:c,transform:d,background:l,borderShadow:w,mask:D,animation:g,visibility:b,responsive:m,css:x=""}=e||{},h=o?`#${t}>div>div${i?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const n=o?`#${e} > div`:`#${e}`,i=document.querySelector(n);i&&t&&t.type&&(i.setAttribute("data-aos",t.type),i.setAttribute("data-aos-duration",1e3*t.duration||.4),i.setAttribute("data-aos-delay",1e3*t.delay||0),i.classList.contains("aos-init")||(i.classList.add("aos-init"),window?.AOS?.init()),o)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?i.classList.add("aos-animate"):i.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(i)})(g,t,o);const z=N(c).desktop+L(b).desktop+((t,e,o)=>{const{transition:n=.4}=t||{},{transition:i=.4}=e||{},{transition:s=200}=o||{};return`transition: background ${n}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${s}ms ease-in-out;`})(l,w,d)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:n={type:"contain",scale:"100%"},position:i={type:"center center",x:50,y:50},repeat:s="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===o.type?r(o.url):`url(${(a=o.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg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oiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===a))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===n.type?n.scale:n.type};\n\t\t${"custom"===i.type?`${M("-webkit-mask-position-x",i.x)}\n\t\t\t${M("-webkit-mask-position-y",i.y)}`:`${M("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==n.type?`-webkit-mask-repeat: ${s};`:""}`:"";var a})(D),I=N(c).tablet+L(b).tablet+$(m,o).tablet,k=N(c).mobile+L(b).mobile+$(m,o).mobile,T=p(w).normal,v=p(w).hover,S=$(m,o).desktop;return`\n\t\t${z||T?`${h} {\n\t\t\t${z}\n\t\t\t${T}\n\t\t}`:""}\n\t\t${v?`${h}:hover {\n\t\t\t${v}\n\t\t}`:""}\n\n\t\t${S?`@media only screen and (min-width: 1025px) {\n\t\t\t${h}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${s} {\n\t\t\t${h}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${k?`${a} {\n\t\t\t${h}{\n\t\t\t\t${k}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${u(l?.normal,h)}\n\t\t${u(l?.hover,h,!0)}\n\t\t${y(l?.overlay,h)}\n\t\t${y(l?.hoverOverlay,h,!0)}\n\t\t${n(d?.normal)?j(d?.normal,h):""}\n\t\t${n(d?.hover)?j(d?.hover,h,!0):""}\n\n\t\t${x}\n\t`.replace(/\s+/g," ")},D=({attributes:t,id:o})=>{const{advanced:n}=t;return(0,e.jsx)("style",{dangerouslySetInnerHTML:{__html:` \n\t\t\t${w(o,n)}\n\t\t`}})};document.addEventListener("DOMContentLoaded",(()=>{if(!document.getElementById("facebook-jssdk")){const t=document.createElement("script");t.id="facebook-jssdk",t.src="https://connect.facebook.net/en_US/sdk.js",document.body.appendChild(t)}document.querySelectorAll(".wp-block-b-blocks-facebook-page").forEach((n=>{const i=JSON.parse(n.dataset.attributes),s=n.dataset.facebookkey;s&&((0,t.createRoot)(n).render((0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(D,{attributes:i,id:n.id}),(0,e.jsx)(o,{attributes:i,facebookKey:s})]})),n?.removeAttribute("data-attributes"),n?.removeAttribute("data-facebookkey"))}))}))})(); |
|
1
|
+(()=>{"use strict";const t=window.ReactDOM,e=window.ReactJSXRuntime,n=({attributes:t,facebookKey:n})=>{const{facebook:o}=t,i=`https://www.facebook.com/plugins/page.php?href=${encodeURIComponent(o.link)}&tabs=${o.layout?.join(",")||"timeline"}&width=${o.width}&height=${o.height}&small_header=${o.smallHeader}&adapt_container_width=true&hide_cover=${!o.coverPhoto}&show_facepile=${o.profilePhotos}&hide_cta=${o.ctaButton}&appId=${n}`;return(0,e.jsx)("div",{className:`bBlocks-fbPage-wrapper ${o.align}`,children:(0,e.jsx)("div",{children:(0,e.jsx)("iframe",{src:i,width:o.width,height:o.height,scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",title:"Facebook Page"})})})},o=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),i=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}},a="@media only screen and (min-width: 1025px)",r="@media only screen and (max-width: 1024px)",s="@media only screen and (max-width: 640px)";window.React;const l=t=>{const e=i(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},c=(t,e)=>o(e)?`${t}: ${e};`:"",d=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""},u=t=>{const{position:e="center center",xPosition:n=0,yPosition:i=0,attachment:a="",repeat:r="no-repeat",size:s="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||o(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${n} ${i}`:e};`:""}\n\t\t${a&&c(a)?`background-attachment: ${a};`:""}\n\t\t${c(r)?`background-repeat: ${r};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},M=(t={})=>t?{desktop:o(t.url)?`background-image: ${l(t.url)}; ${u(t?.desktop)}`:"",tablet:o(t.url)?u(t?.tablet):"",mobile:o(t.url)?u(t?.mobile):""}:"",p=(t,e,n=!1)=>{const{type:a="color",color:l,gradient:d,img:u,video:p}=t||{},$="color"===a?c("background",l):"gradient"===a?(t=>{const{type:e="linear",radialType:n="ellipse",colors:i=[],centerPositions:a={x:0,y:0},angel:r=0}=t||{};if(o(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),o=`linear-gradient(${r}deg, ${t})`;return c("background","radial"===e?`radial-gradient(${n} at ${a?.x}% ${a?.y}%,${t})`:o)}return""})(d):"image"===a?M(u).desktop:"",m="image"===a?M(u).tablet:"",y="image"===a?M(u).mobile:"",b=n?`${e}:hover`:e;return`\n\t\t${"video"===a?((t,e)=>{const{url:n,loop:o}=t||{},a=document.querySelector(e),r=a?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!r&&a&&n){const t=i(n);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),a.appendChild(s)}}return s.loop=o,s.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(p,e):""}\n\n\t\t${$?`${b}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${m?`${r} {\n\t\t\t${b}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y?`${s} {\n\t\t\t${b}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},$=(t,e,n=!1)=>{const{isEnabled:i,colors:a,opacity:r=1,blend:s,filter:l="",blur:d=0,brightness:u=100,contrast:M=100,saturation:$=100,hue:m=0,position:y={top:0,right:0,bottom:0,left:0},zIndex:b=-1}=t||{},j=`${100!==u?`brightness(${u}%)`:""} ${100!==M?`contrast(${M}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==m?`hue-rotate(${m}deg)`:""}`,N=`${l}: ${l?j:""}; -webkit-${l}: ${l?j:""};`,w=n?`${e}:hover::after`:`${e}::after`;return i?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${o(y.top)?y.top:0};\n\t\t\tright:${o(y.right)?y.right:0};\n\t\t\tbottom:${o(y.bottom)?y.bottom:0};\n\t\t\tleft:${o(y.left)?y.left:0};\n\t\t\tz-index:${b};\n\t\t}\n\t\t${p(a,w,!1)}\n\t\t${w}{\n\t\t\t${c("opacity",r)}\n\t\t\t${c("mix-blend-mode",s)}\n\t\t\t${N}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},m=(t,e,n=!1)=>{const i=(t,e="desktop")=>{if(!o(t))return"";const{skew:n,scale:i,rotate:a,offset:r,flipX:s,flipY:l}=t,{threeDRotate:d}=a||{},{isProportion:u}=i||{},M=[];return o(n)&&(o(n?.[e]?.x)&&M.push(`skewX(${n[e].x}deg)`),o(n?.[e]?.y)&&M.push(`skewY(${n[e].y}deg)`)),u?o(i?.[e]?.scale)&&M.push(`scale(${i[e].scale})`):(o(i?.[e]?.x)&&M.push(`scaleX(${i[e].x})`),o(i?.[e]?.y)&&M.push(`scaleY(${i[e].y})`)),o(a)&&(o(a?.[e]?.z)&&M.push(`rotateZ(${a[e].z}deg)`),d&&(o(a?.[e]?.x)&&M.push(`rotateX(${a[e].x}deg)`),o(a?.[e]?.y)&&M.push(`rotateY(${a[e].y}deg)`))),o(r)&&(o(r?.[e]?.x)&&M.push(`translateX(${r[e].x})`),o(r?.[e]?.y)&&M.push(`translateY(${r[e].y})`)),o(s)&&M.push(s?"scaleX(-1)":""),o(l)&&M.push(l?"scaleY(-1)":""),0===M.length?"":c("transform",M.join(" "))},a=n?`${e}:hover`:e;return`\n\t\t${a} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${r}{\n\t\t\t${a} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${s}{\n\t\t\t${a} {\n\t\t\t\t${i(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},y=t=>{const{padding:e,margin:n,height:o,width:i}=t||{},a=(t,e)=>c(t,e),r=(t,e,n)=>a(t,e?.[t]?.[n])+a(`min-${t}`,e?.min?.[n])+a(`max-${t}`,e?.max?.[n]),s=t=>c("padding",d(t)),l=t=>c("margin",d(t));return{desktop:s(e?.desktop)+l(n?.desktop)+r("height",o,"desktop")+r("width",i,"desktop"),tablet:s(e?.tablet)+l(n?.tablet)+r("height",o,"tablet")+r("width",i,"tablet"),mobile:s(e?.mobile)+l(n?.mobile)+r("height",o,"mobile")+r("width",i,"mobile")}},b=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},i=c("border-radius",d(n)),a=c("box-shadow",((t,e="box")=>{let n="";return t?.map(((o,i)=>{const{hOffset:a="0px",vOffset:r="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=o||{},u=d?"inset":"",M=`${a} ${r} ${s}`,p=i+1>=t.length?"":", ";n+="text"===e?`${M} ${c}${p}`:`${M} ${l} ${c} ${u}${p}`})),n||""})(o,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:o="0px"}=t;return`${o} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():c("border",e(t))})(e)+i+a};return{normal:o(e),hover:o(n)}},j=t=>{const{zIndex:e,overflow:n}=t||{},i=n?`overflow: ${n};`:"",a=t=>`${c("z-index",e?.[t])} ${c("position",o(e?.[t])?"relative":"")}`;return{desktop:a("desktop")+i,tablet:a("tablet"),mobile:a("mobile")}},N=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:i=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",r=t=>t?a:"";return{desktop:r(n),tablet:r(o),mobile:r(i)}},w=(t,e,n=!1,i=!0)=>{const{dimension:d,transform:u,background:M,borderShadow:w,mask:g,animation:x,visibility:L,responsive:h,position:D={},floating:f={},motion:z={},css:k=""}=e||{},v=n?`#${t}>div>div${i?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const o=n?`#${e} > div`:`#${e}`,i=document.querySelector(o);i&&t&&t.type&&(i.setAttribute("data-aos",t.type),i.setAttribute("data-aos-duration",1e3*t.duration||.4),i.setAttribute("data-aos-delay",1e3*t.delay||0),i.classList.contains("aos-init")||(i.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?i.classList.add("aos-animate"):i.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(i)})(x,t,n);const I=y(d).desktop+j(L).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:i=.4}=e||{},{transition:a=200}=n||{};return`transition: background ${o}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${a}ms ease-in-out;`})(M,w,u)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:o={type:"contain",scale:"100%"},position:i={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?l(n.url):`url(${(r=n.type,[{svg:"data:image/svg+x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TI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===r))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===o.type?o.scale:o.type};\n\t\t${"custom"===i.type?`${c("-webkit-mask-position-x",i.x)}\n\t\t\t${c("-webkit-mask-position-y",i.y)}`:`${c("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${a};`:""}`:"";var r})(g),T=y(d).tablet+j(L).tablet+N(h,n).tablet,S=y(d).mobile+j(L).mobile+N(h,n).mobile,O=b(w).normal,E=b(w).hover,Y=N(h,n).desktop;return`\n\t\t${I||O?`${v} {\n\t\t\t${I}\n\t\t\t${O}\n\t\t}`:""}\n\t\t${E?`${v}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${Y?`${a} {\n\t\t\t${v}{\n\t\t\t\t${Y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${T?`${r} {\n\t\t\t${v}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${s} {\n\t\t\t${v}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${p(M?.normal,v)}\n\t\t${p(M?.hover,v,!0)}\n\t\t${$(M?.overlay,v)}\n\t\t${$(M?.hoverOverlay,v,!0)}\n\t\t${o(u?.normal)?m(u?.normal,v):""}\n\t\t${o(u?.hover)?m(u?.hover,v,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:o={},mobile:i={}}=t,a=(t={})=>`\n\t\t${e}{\n\t\t\t${c("position",t?.type)}\n\t\t\t${c("left",t?.horizontal?.left)}\n\t\t\t${c("right",t?.horizontal?.right)}\n\t\t\t${c("top",t?.vertical?.top)}\n\t\t\t${c("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?a(n):""}\n\t\t\n\t\t${r}{\n\t\t\t${o?.type?a(o):""}\n\t\t}\n\n\t\t${s}{\n\t\t\t${i?.type?a(i):""}\n\t\t}\n\t`})(D,v)}\n\t\t${((t,e,n="")=>{const{translate:i={},rotate:a={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:i,value:t=>["x","y"].some((e=>o(i?.[e]?.[t])))?`${i?.x?.[t]||0}px ${i?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:a,value:t=>["x","y","z"].filter((e=>o(a?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${a[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:r,value:t=>{const e=r?.y?.[t],n=r?.z?.[t];return o(e)||o(n)?o(n)?`1 ${o(e)?e:1} ${n}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:o,value:i})=>{const a=i("from"),r=i("to");if(!a||!r)return;const s=Number(o?.duration)>0?Number(o.duration):1e3,d=Number(o?.delay)>0?Number(o.delay):0,u=`advFloat${t}${n?`-${n}`:""}`;l.push(`@keyframes ${u}{ from{ ${e}: ${a}; } to{ ${e}: ${r}; } }`),c.push(`${u} ${s}ms ease-in-out ${d}ms infinite alternate`)})),c.length?`\n\t\t${l.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${c.join(", ")};\n\t\t}\n\t`:""})(f,v,t)}\n\t\t${((t,e,n)=>{const{isEnable:i=!1,vertical:l={},horizontal:c={},transparency:d={},blur:u={},rotate:M={},scale:p={},effectsRelativeTo:$="viewport",effectOn:m=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:y=!1,mouseTrack:b={},tilt:j={},sticky:N={}}=t||{},w=(t,e)=>o(t)&&!isNaN(t)?Number(t):e,g="viewport"===$,x=g?"view()":"scroll(nearest block)",L=[],h=[],D=[],f=[],z=String(n??"").replace(/[^a-zA-Z0-9]/g,""),k=(t,e,n)=>{L.push(`@keyframes advMe${t}${z}{ ${e} }`),h.push(`advMe${t}${z}`),D.push(x),f.push((t=>{const e=w(t?.top,0),n=w(t?.bottom,100),o=Math.min(e,n),i=Math.max(e,n);return g?`cover ${o}% ${i>=90?"contain 100%":`cover ${i}%`}`:`min(${3*o}vh, ${o}%) min(${3*i}vh, ${i}%)`})(n))};if(i){const t=l?.direction,e=c?.direction,n=t?100*w(l?.speed,4):0,o=e?100*w(c?.speed,4):0;if(n||o){const i="up"===t?-n:n,a="to-left"===e?-o:o,r=[n&&l,o&&c].filter(Boolean);k("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${i}px; }`,{top:Math.min(...r.map((t=>w(t?.top,0)))),bottom:Math.max(...r.map((t=>w(t?.bottom,100))))})}const i=d?.direction;if(i){const t=Math.max(0,1-w(d?.level,5)/10),e={"fade-in":`from{ opacity: ${t}; } to{ opacity: 1; }`,"fade-out":`from{ opacity: 1; } to{ opacity: ${t}; }`,"fade-out-in":`0%{ opacity: 1; } 50%{ opacity: ${t}; } 100%{ opacity: 1; }`,"fade-in-out":`0%{ opacity: ${t}; } 50%{ opacity: 1; } 100%{ opacity: ${t}; }`}[i];e&&k("Opacity",e,d)}const a=u?.direction;if(a){const t=3*w(u?.level,4),e={"fade-in":`from{ filter: blur(${t}px); } to{ filter: blur(0px); }`,"fade-out":`from{ filter: blur(0px); } to{ filter: blur(${t}px); }`,"fade-out-in":`0%{ filter: blur(0px); } 50%{ filter: blur(${t}px); } 100%{ filter: blur(0px); }`,"fade-in-out":`0%{ filter: blur(${t}px); } 50%{ filter: blur(0px); } 100%{ filter: blur(${t}px); }`}[a];e&&k("Blur",e,u)}const r=M?.direction;if(r){const t=20*w(M?.level,4);k("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===r?-t:t}deg; }`,M)}if(p?.direction){const t=.15*w(p?.level,4),e=Math.max(0,1-t),n=1+t,o={"scale-up":`from{ scale: 1; } to{ scale: ${n}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${n}; } 100%{ scale: 1; }`}[p.direction];o&&k("Scale",o,p)}}const v=[];if(y){if(b?.direction){const t="direct"===b?.direction?100:-100;v.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(j?.direction){const t=12*("direct"===j?.direction?1:-1);v.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const I=(t,n,o)=>{if(!t||!t.defaultView)return;const i=t.defaultView,a=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),r=a.items.get(e)||{x:0,y:0};if(r.rate=n,r.build=o,a.items.set(e,r),a.bound)return;a.bound=!0;const s=e=>{const n=a.last?Math.min(e-a.last,100):16.7;a.last=e;let o=!1;a.items.forEach(((e,i)=>{const r=e.el&&e.el.isConnected?e.el:t.querySelector(i);if(!r)return;e.el=r;const s=e.rate*n/1e3,l=a.x-e.x,c=a.y-e.y,d=Math.sqrt(l*l+c*c);d<=s?(e.x=a.x,e.y=a.y):(e.x+=l/d*s,e.y+=c/d*s,o=!0),r.style.transform=e.build(e.x,e.y)})),a.frame=o?i.requestAnimationFrame(s):0,a.last=o?e:0};t.addEventListener("pointermove",(t=>{a.x=2*(t.clientX/i.innerWidth-.5),a.y=2*(t.clientY/i.innerHeight-.5),a.frame||(a.frame=i.requestAnimationFrame(s))}))};if(v.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*w(b?.speed,w(j?.speed,4))),e=(t,e)=>v.map((n=>n(t,e))).join(" ");I(document,t,e),I(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const T=t=>N?.[t]||("desktop"===t?N?.undefined:""),S=e.split(">")[0],O=t=>{const e=T(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?T("desktop"):"mobile"===t?T("tablet")||T("desktop"):"")(t)?"position: static;":""},E=Array.isArray(m)?m:o(m)?[m]:[],Y=t=>!E.length||E.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${h.length?`\n\t\t${L.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${h.join(", ")};\n\t\t\t\tanimation-duration: ${h.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${h.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${h.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${h.map((()=>g?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${D.join(", ")};\n\t\t\t\tanimation-range: ${f.join(", ")};\n\t\t\t}\n\t\t\t${Y("desktop")?`${a}{ ${Y("desktop")} }`:""}\n\t\t\t${Y("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${Y("tablet-portrait")} }`:""}\n\t\t\t${Y("mobile-portrait")?`${s}{ ${Y("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${v.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${O("desktop")?`${S}{ ${O("desktop")} }`:""}\n\t\t${O("tablet")?`${r}{ ${S}{ ${O("tablet")} } }`:""}\n\t\t${O("mobile")?`${s}{ ${S}{ ${O("mobile")} } }`:""}\n\t`})(z,v,t)}\n\t\t${k}\n\t`.replace(/\s+/g," ")},g=({attributes:t,id:n})=>{const{advanced:o}=t;return(0,e.jsx)("style",{dangerouslySetInnerHTML:{__html:` \n\t\t\t${w(n,o)}\n\t\t`}})};document.addEventListener("DOMContentLoaded",(()=>{if(!document.getElementById("facebook-jssdk")){const t=document.createElement("script");t.id="facebook-jssdk",t.src="https://connect.facebook.net/en_US/sdk.js",document.body.appendChild(t)}document.querySelectorAll(".wp-block-b-blocks-facebook-page").forEach((o=>{const i=JSON.parse(o.dataset.attributes),a=o.dataset.facebookkey;a&&((0,t.createRoot)(o).render((0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g,{attributes:i,id:o.id}),(0,e.jsx)(n,{attributes:i,facebookKey:a})]})),o?.removeAttribute("data-attributes"),o?.removeAttribute("data-facebookkey"))}))}))})(); |