| @@ -1 +1,3 @@ | ||
| 1 | -(()=>{"use strict";var t={5338:(t,e,o)=>{var n=o(5795);e.H=n.createRoot,n.hydrateRoot},5795:t=>{t.exports=window.ReactDOM}},e={};const o=window.React;var n=function o(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,o),a.exports}(5338);const i=({attributes:t,facebookKey:e})=>{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=${e}`;return(0,o.createElement)("div",{className:`bBlocks-fbPage-wrapper ${n.align}`},(0,o.createElement)("div",null,(0,o.createElement)("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"})))},a=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),s="@media only screen and (max-width: 1024px)",r="@media only screen and (max-width: 640px)",M=(t,e,o=!1)=>a(e)?`${t}: ${e}${o?" !important":""};`:"",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:n=0,attachment:i="",repeat:s="no-repeat",size:r="cover",customSize:M="0px"}=t||{},c=t=>"initial"!==t||a(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${o} ${n}`:e};`:""}\n\t\t${i&&c(i)?`background-attachment: ${i};`:""}\n\t\t${c(s)?`background-repeat: ${s};`:""}\n\t\t${c(r)?`background-size: ${"custom"===r?`${M} auto`:r};`:""}\n\t`},l=(t={})=>t?{desktop:a(t.url)?`background-image: url(${t.url}); ${d(t?.desktop)}`:"",tablet:a(t.url)?d(t?.tablet):"",mobile:a(t.url)?d(t?.mobile):""}:"",u=(t,e,o=!1)=>{const{type:n="color",color:i,gradient:c,img:d,video:u}=t||{},y="color"===n?M("background",i):"gradient"===n?(t=>{const{type:e="linear",radialType:o="ellipse",colors:n=[],centerPositions:i={x:0,y:0},angel:s=0}=t||{};if(a(t)){const t=n?.map((({color:t,position:e})=>`${t} ${e}%`)),a=`linear-gradient(${s}deg, ${t})`;return M("background","radial"===e?`radial-gradient(${o} at ${i?.x}% ${i?.y}%,${t})`:a)}return""})(c):"image"===n?l(d).desktop:"",j="image"===n?l(d).tablet:"",N="image"===n?l(d).mobile:"",p=o?`${e}:hover`:e;return`\n\t\t${"video"===n?((t,e)=>{const{url:o,loop:n}=t||{},i=document.querySelector(e),a=i?.querySelector(".bPlVideo"),s=document.createElement("video");return s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),a||i&&o&&(s.innerHTML=`<source src=${o}></source>`,i.appendChild(s)),s.loop=n,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}`})(u,e):""}\n\n\t\t${y?`${p}{\n\t\t\t${y}\n\t\t}`:""}\n\n\t\t${j?`${s} {\n\t\t\t${p}{\n\t\t\t\t${j}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${N?`${r} {\n\t\t\t${p}{\n\t\t\t\t${N}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},y=(t,e,o=!1)=>{const{isEnabled:n,colors:i,opacity:s=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 n?`\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:${a(p.top)?p.top:0};\n\t\t\tright:${a(p.right)?p.right:0};\n\t\t\tbottom:${a(p.bottom)?p.bottom:0};\n\t\t\tleft:${a(p.left)?p.left:0};\n\t\t\tz-index:${L};\n\t\t}\n\t\t${u(i,D,!1)}\n\t\t${D}{\n\t\t\t${M("opacity",s)}\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 n=(t,e="desktop")=>{if(!a(t))return"";const{skew:o,scale:n,rotate:i,offset:s,flipX:r,flipY:c}=t,{threeDRotate:d}=i||{},{isProportion:l}=n||{},u=[];return a(o)&&(a(o?.[e]?.x)&&u.push(`skewX(${o[e].x}deg)`),a(o?.[e]?.y)&&u.push(`skewY(${o[e].y}deg)`)),l?a(n?.[e]?.scale)&&u.push(`scale(${n[e].scale})`):(a(n?.[e]?.x)&&u.push(`scaleX(${n[e].x})`),a(n?.[e]?.y)&&u.push(`scaleY(${n[e].y})`)),a(i)&&(a(i?.[e]?.z)&&u.push(`rotateZ(${i[e].z}deg)`),d&&(a(i?.[e]?.x)&&u.push(`rotateX(${i[e].x}deg)`),a(i?.[e]?.y)&&u.push(`rotateY(${i[e].y}deg)`))),a(s)&&(a(s?.[e]?.x)&&u.push(`translateX(${s[e].x})`),a(s?.[e]?.y)&&u.push(`translateY(${s[e].y})`)),a(r)&&u.push(r?"scaleX(-1)":""),a(c)&&u.push(c?"scaleY(-1)":""),0===u.length?"":M("transform",u.join(" "))},i=o?`${e}:hover`:e;return`\n\t\t${i} {\n\t\t\t${n(t,"desktop")}\n\t\t}\n\t\t${s}{\n\t\t\t${i} {\n\t\t\t\t${n(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${r}{\n\t\t\t${i} {\n\t\t\t\t${n(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},N=t=>{const{padding:e,margin:o,height:n,width:i}=t||{},a=(t,e)=>M(t,e),s=(t,e,o)=>a(t,e?.[t]?.[o])+a(`min-${t}`,e?.min?.[o])+a(`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)+s("height",n,"desktop")+s("width",i,"desktop"),tablet:r(e?.tablet)+d(o?.tablet)+s("height",n,"tablet")+s("width",i,"tablet"),mobile:r(e?.mobile)+d(o?.mobile)+s("height",n,"mobile")+s("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)),a=M("box-shadow",((t,e="box")=>{let o="";return t?.map(((n,i)=>{const{hOffset:a="0px",vOffset:s="0px",blur:r="0px",spreed:M="0px",color:c="#e7f0fe",isInset:d=!1}=n||{},l=d?"inset":"",u=`${a} ${s} ${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+a};return{normal:n(e),hover:n(o)}},L=t=>{const{zIndex:e,overflow:o}=t||{},n=o?`overflow: ${o};`:"",i=t=>`${M("z-index",e?.[t])} ${M("position",a(e?.[t])?"relative":"")}`;return{desktop:i("desktop")+n,tablet:i("tablet"),mobile:i("mobile")}},$=(t,e)=>{const{desktop:o=!1,tablet:n=!1,mobile:i=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",s=t=>t?a:"";return{desktop:s(o),tablet:s(n),mobile:s(i)}},w=(t,e,o=!1,n=!0)=>{const{dimension:i,transform:c,background:d,borderShadow:l,mask:w,animation:D,visibility:g,responsive:m,css:b=""}=e||{},x=o?`#${t}>div>div${n?":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)})(D,t,o);const z=N(i).desktop+L(g).desktop+((t,e,o)=>{const{transition:n=.4}=t||{},{transition:i=.4}=e||{},{transition:a=200}=o||{};return`transition: background ${n}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${a}ms ease-in-out;`})(d,l,c)+(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:a="no-repeat"}=t||{};return e?`-webkit-mask-image: url(${"custom"===o.type?o.url:(s=o.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data: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:"hexagon"}].find((t=>t.type===s))).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: ${a};`:""}`:"";var s})(w),h=N(i).tablet+L(g).tablet+$(m,o).tablet,I=N(i).mobile+L(g).mobile+$(m,o).mobile,k=p(l).normal,T=p(l).hover,v=$(m,o).desktop;return`\n\t\t${z||k?`${x} {\n\t\t\t${z}\n\t\t\t${k}\n\t\t}`:""}\n\t\t${T?`${x}:hover {\n\t\t\t${T}\n\t\t}`:""}\n\n\t\t${v?`@media only screen and (min-width: 1025px) {\n\t\t\t${x}{\n\t\t\t\t${v}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${h?`${s} {\n\t\t\t${x}{\n\t\t\t\t${h}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${r} {\n\t\t\t${x}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${u(d?.normal,x)}\n\t\t${u(d?.hover,x,!0)}\n\t\t${y(d?.overlay,x)}\n\t\t${y(d?.hoverOverlay,x,!0)}\n\t\t${a(c?.normal)?j(c?.normal,x):""}\n\t\t${a(c?.hover)?j(c?.hover,x,!0):""}\n\n\t\t${b}\n\t`.replace(/\s+/g," ")},D=({attributes:t,id:e})=>{const{advanced:n}=t;return(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:` \n\t\t\t${w(e,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((t=>{const e=JSON.parse(t.dataset.attributes),a=t.dataset.facebookkey;a&&((0,n.H)(t).render((0,o.createElement)(o.Fragment,null,(0,o.createElement)(D,{attributes:e,id:t.id}),(0,o.createElement)(i,{attributes:e,facebookKey:a}))),t?.removeAttribute("data-attributes"),t?.removeAttribute("data-facebookkey"))}))}))})(); | |
| 1 | +(()=>{"use strict";const t=window.ReactDOM,e=window.ReactJSXRuntime,o=({attributes:t,facebookKey:o})=>{const{facebook:i}=t,n=`https://www.facebook.com/plugins/page.php?href=${encodeURIComponent(i.link)}&tabs=${i.layout?.join(",")||"timeline"}&width=${i.width}&height=${i.height}&small_header=${i.smallHeader}&adapt_container_width=true&hide_cover=${!i.coverPhoto}&show_facepile=${i.profilePhotos}&hide_cta=${i.ctaButton}&appId=${o}`;return(0,e.jsx)("div",{className:`bBlocks-fbPage-wrapper ${i.align}`,children:(0,e.jsx)("div",{children:(0,e.jsx)("iframe",{src:n,width:i.width,height:i.height,scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",title:"Facebook Page"})})})},i=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),n=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}};new class{constructor(t={}){this.defaultOptions={allowedTags:["svg","g","path","rect","circle","ellipse","line","polyline","polygon","text","tspan","defs","clipPath","mask","linearGradient","radialGradient","stop","style","title","desc"],allowedAttributes:["id","class","style","transform","xmlns","xmlns:xlink","version","baseProfile","xml:space","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","viewBox","preserveAspectRatio","overflow","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","opacity","color","paint-order","vector-effect","shape-rendering","display","visibility","clip-path","clip-rule","clipPathUnits","mask","maskUnits","maskContentUnits","offset","stop-color","stop-opacity","gradientUnits","gradientTransform","spreadMethod","fx","fy","fr","dx","dy","text-anchor","dominant-baseline","alignment-baseline","font-family","font-size","font-style","font-weight","letter-spacing","word-spacing","textLength","lengthAdjust","role","focusable","aria-hidden","aria-label","aria-labelledby","aria-describedby"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t},this.allowedTagSet=new Set(this.options.allowedTags.map((t=>t.toLowerCase()))),this.allowedAttributeSet=new Set(this.options.allowedAttributes.map((t=>t.toLowerCase())))}sanitize(t){if("string"!=typeof t||""===t.trim())return"";const e=(new DOMParser).parseFromString(t,"image/svg+xml"),o=e.documentElement;return!o||"svg"!==o.localName.toLowerCase()||e.getElementsByTagName("parsererror").length?"":(this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement))}async sanitizeFile(t){const e=await fetch(t),o=await e.text();return this.sanitize(`${o}`)}removeScripts(t){this.options.removeScripts&&Array.from(t.querySelectorAll("*")).forEach((t=>{t.localName.toLowerCase().includes("script")&&t.remove()}))}sanitizeElements(t){Array.from(t.querySelectorAll("*")).forEach((t=>{const e=t.localName.toLowerCase();this.allowedTagSet.has(e)?("style"===e&&this.options.sanitizeStyle&&(t.textContent=this.sanitizeCss(t.textContent)),this.sanitizeAttributes(t)):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const o=e.name,i=o.toLowerCase(),n=e.value;if(this.options.removeEvents&&i.startsWith("on"))return void t.removeAttribute(o);if(this.options.removeExternalResources&&("href"===i||i.endsWith(":href"))&&!this.isAllowedUrl(n))return void t.removeAttribute(o);const r=i.replace("xlink:","");this.allowedAttributeSet.has(i)||this.allowedAttributeSet.has(r)?this.options.removeExternalResources&&this.hasExternalUrl(n)?t.removeAttribute(o):"style"===i&&this.options.sanitizeStyle&&t.setAttribute(o,this.sanitizeCss(n)):t.removeAttribute(o)}))}hasExternalUrl(t){return!("string"!=typeof t||!/url\s*\(/i.test(t))&&Array.from(t.matchAll(/url\s*\(\s*['"]?([^'")]*)/gi)).some((([,t])=>!t.trim().startsWith("#")))}isAllowedUrl(t){const e=String(t||"").trim();if(e.startsWith("#"))return!0;if(/^data:/i.test(e))return this.options.allowedProtocols.includes("data")&&/^data:image\/(png|jpe?g|gif|webp);base64,/i.test(e);try{return this.options.allowedProtocols.includes(new URL(e).protocol.replace(":",""))}catch{return!1}}sanitizeCss(t){return String(t||"").replace(/expression\s*\(/gi,"").replace(/javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"").replace(/@import[^;]*;?/gi,"").replace(/url\s*\(\s*(['"]?)(?!#)[^)]*\)/gi,"none")}};const r="@media only screen and (min-width: 1025px)",a="@media only screen and (max-width: 1024px)",s="@media only screen and (max-width: 640px)";window.React;const l=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},c=(t,e)=>i(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""},p=t=>{const{position:e="center center",xPosition:o=0,yPosition:n=0,attachment:r="",repeat:a="no-repeat",size:s="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||i(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${o} ${n}`:e};`:""}\n\t\t${r&&c(r)?`background-attachment: ${r};`:""}\n\t\t${c(a)?`background-repeat: ${a};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},u=(t={})=>t?{desktop:i(t.url)?`background-image: ${l(t.url)}; ${p(t?.desktop)}`:"",tablet:i(t.url)?p(t?.tablet):"",mobile:i(t.url)?p(t?.mobile):""}:"",m=(t,e,o=!1)=>{const{type:r="color",color:l,gradient:d,img:p,video:m}=t||{},M="color"===r?c("background",l):"gradient"===r?(t=>{const{type:e="linear",radialType:o="ellipse",colors:n=[],centerPositions:r={x:0,y:0},angel:a=0}=t||{};if(i(t)){const t=n?.map((({color:t,position:e})=>`${t} ${e}%`)),i=`linear-gradient(${a}deg, ${t})`;return c("background","radial"===e?`radial-gradient(${o} at ${r?.x}% ${r?.y}%,${t})`:i)}return""})(d):"image"===r?u(p).desktop:"",y="image"===r?u(p).tablet:"",$="image"===r?u(p).mobile:"",h=o?`${e}:hover`:e;return`\n\t\t${"video"===r?((t,e)=>{const{url:o,loop:i}=t||{},r=document.querySelector(e),a=r?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!a&&r&&o){const t=n(o);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),r.appendChild(s)}}return s.loop=i,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}`})(m,e):""}\n\n\t\t${M?`${h}{\n\t\t\t${M}\n\t\t}`:""}\n\n\t\t${y?`${a} {\n\t\t\t${h}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${$?`${s} {\n\t\t\t${h}{\n\t\t\t\t${$}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},M=(t,e,o=!1)=>{const{isEnabled:n,colors:r,opacity:a=1,blend:s,filter:l="",blur:d=0,brightness:p=100,contrast:u=100,saturation:M=100,hue:y=0,position:$={top:0,right:0,bottom:0,left:0},zIndex:h=-1}=t||{},b=`${100!==p?`brightness(${p}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==M?`saturate(${M}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==y?`hue-rotate(${y}deg)`:""}`,g=`${l}: ${l?b:""}; -webkit-${l}: ${l?b:""};`,w=o?`${e}:hover::after`:`${e}::after`;return n?`\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:${i($.top)?$.top:0};\n\t\t\tright:${i($.right)?$.right:0};\n\t\t\tbottom:${i($.bottom)?$.bottom:0};\n\t\t\tleft:${i($.left)?$.left:0};\n\t\t\tz-index:${h};\n\t\t}\n\t\t${m(r,w,!1)}\n\t\t${w}{\n\t\t\t${c("opacity",a)}\n\t\t\t${c("mix-blend-mode",s)}\n\t\t\t${g}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},y=(t,e,o=!1)=>{ | |
| 2 | +const n=(t,e="desktop")=>{if(!i(t))return"";const{skew:o,scale:n,rotate:r,offset:a,flipX:s,flipY:l}=t,{threeDRotate:d}=r||{},{isProportion:p}=n||{},u=[];return i(o)&&(i(o?.[e]?.x)&&u.push(`skewX(${o[e].x}deg)`),i(o?.[e]?.y)&&u.push(`skewY(${o[e].y}deg)`)),p?i(n?.[e]?.scale)&&u.push(`scale(${n[e].scale})`):(i(n?.[e]?.x)&&u.push(`scaleX(${n[e].x})`),i(n?.[e]?.y)&&u.push(`scaleY(${n[e].y})`)),i(r)&&(i(r?.[e]?.z)&&u.push(`rotateZ(${r[e].z}deg)`),d&&(i(r?.[e]?.x)&&u.push(`rotateX(${r[e].x}deg)`),i(r?.[e]?.y)&&u.push(`rotateY(${r[e].y}deg)`))),i(a)&&(i(a?.[e]?.x)&&u.push(`translateX(${a[e].x})`),i(a?.[e]?.y)&&u.push(`translateY(${a[e].y})`)),i(s)&&u.push(s?"scaleX(-1)":""),i(l)&&u.push(l?"scaleY(-1)":""),0===u.length?"":c("transform",u.join(" "))},r=o?`${e}:hover`:e;return`\n\t\t${r} {\n\t\t\t${n(t,"desktop")}\n\t\t}\n\t\t${a}{\n\t\t\t${r} {\n\t\t\t\t${n(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${s}{\n\t\t\t${r} {\n\t\t\t\t${n(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},$=t=>{const{padding:e,margin:o,height:i,width:n}=t||{},r=(t,e)=>c(t,e),a=(t,e,o)=>r(t,e?.[t]?.[o])+r(`min-${t}`,e?.min?.[o])+r(`max-${t}`,e?.max?.[o]),s=t=>c("padding",d(t)),l=t=>c("margin",d(t));return{desktop:s(e?.desktop)+l(o?.desktop)+a("height",i,"desktop")+a("width",n,"desktop"),tablet:s(e?.tablet)+l(o?.tablet)+a("height",i,"tablet")+a("width",n,"tablet"),mobile:s(e?.mobile)+l(o?.mobile)+a("height",i,"mobile")+a("width",n,"mobile")}},h=t=>{const{normal:e,hover:o}=t||{},i=t=>{const{border:e,radius:o,shadow:i}=t||{},n=c("border-radius",d(o)),r=c("box-shadow",((t,e="box")=>{let o="";return t?.map(((i,n)=>{const{hOffset:r="0px",vOffset:a="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},p=d?"inset":"",u=`${r} ${a} ${s}`,m=n+1>=t.length?"":", ";o+="text"===e?`${u} ${c}${m}`:`${u} ${l} ${c} ${p}${m}`})),o||""})(i,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:i="0px"}=t;return`${i} ${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():c("border",e(t))})(e)+n+r};return{normal:i(e),hover:i(o)}},b=t=>{const{zIndex:e,overflow:o}=t||{},n=o?`overflow: ${o};`:"",r=t=>`${c("z-index",e?.[t])} ${c("position",i(e?.[t])?"relative":"")}`;return{desktop:r("desktop")+n,tablet:r("tablet"),mobile:r("mobile")}},g=(t,e)=>{const{desktop:o=!1,tablet:i=!1,mobile:n=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",a=t=>t?r:"";return{desktop:a(o),tablet:a(i),mobile:a(n)}},w=(t,e,o=!1,n=!0)=>{const{dimension:d,transform:p,background:u,borderShadow:w,mask:x,animation:j,visibility:f,responsive:N,position:L={},floating:D={},motion:v={},css:z=""}=e||{},k=o?`#${t}>div>div${n?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const i=o?`#${e} > div`:`#${e}`,n=document.querySelector(i);n&&t&&t.type&&(n.setAttribute("data-aos",t.type),n.setAttribute("data-aos-duration",1e3*t.duration||.4),n.setAttribute("data-aos-delay",1e3*t.delay||0),n.classList.contains("aos-init")||(n.classList.add("aos-init"),window?.AOS?.init()),o)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?n.classList.add("aos-animate"):n.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(n)})(j,t,o);const T=$(d).desktop+b(f).desktop+((t,e,o)=>{const{transition:i=.4}=t||{},{transition:n=.4}=e||{},{transition:r=200}=o||{};return`transition: background ${i}s, border ${n}s, border-radius ${n}s, box-shadow ${n}s, transform ${r}ms ease-in-out;`})(u,w,p)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:i={type:"contain",scale:"100%"},position:n={type:"center center",x:50,y:50},repeat:r="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===o.type?l(o.url):`url(${(a=o.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMz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ovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===a))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===n.type?`${c("-webkit-mask-position-x",n.x)}\n\t\t\t${c("-webkit-mask-position-y",n.y)}`:`${c("-webkit-mask-position",n.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${r};`:""}`:"";var a})(x),I=$(d).tablet+b(f).tablet+g(N,o).tablet,S=$(d).mobile+b(f).mobile+g(N,o).mobile,A=h(w).normal,E=h(w).hover,O=g(N,o).desktop | |
| 3 | +;return`\n\t\t${T||A?`${k} {\n\t\t\t${T}\n\t\t\t${A}\n\t\t}`:""}\n\t\t${E?`${k}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${O?`${r} {\n\t\t\t${k}{\n\t\t\t\t${O}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${a} {\n\t\t\t${k}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${s} {\n\t\t\t${k}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m(u?.normal,k)}\n\t\t${m(u?.hover,k,!0)}\n\t\t${M(u?.overlay,k)}\n\t\t${M(u?.hoverOverlay,k,!0)}\n\t\t${i(p?.normal)?y(p?.normal,k):""}\n\t\t${i(p?.hover)?y(p?.hover,k,!0):""}\n\t\t${((t,e)=>{const{desktop:o={},tablet:i={},mobile:n={}}=t,r=(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${o?.type?r(o):""}\n\t\t\n\t\t${a}{\n\t\t\t${i?.type?r(i):""}\n\t\t}\n\n\t\t${s}{\n\t\t\t${n?.type?r(n):""}\n\t\t}\n\t`})(L,k)}\n\t\t${((t,e,o="")=>{const{translate:n={},rotate:r={},scale:a={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:n,value:t=>["x","y"].some((e=>i(n?.[e]?.[t])))?`${n?.x?.[t]||0}px ${n?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:r,value:t=>["x","y","z"].filter((e=>i(r?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${r[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:a,value:t=>{const e=a?.y?.[t],o=a?.z?.[t];return i(e)||i(o)?i(o)?`1 ${i(e)?e:1} ${o}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:i,value:n})=>{const r=n("from"),a=n("to");if(!r||!a)return;const s=Number(i?.duration)>0?Number(i.duration):1e3,d=Number(i?.delay)>0?Number(i.delay):0,p=`advFloat${t}${o?`-${o}`:""}`;l.push(`@keyframes ${p}{ from{ ${e}: ${r}; } to{ ${e}: ${a}; } }`),c.push(`${p} ${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`:""})(D,k,t)}\n\t\t${((t,e,o)=>{const{isEnable:n=!1,vertical:l={},horizontal:c={},transparency:d={},blur:p={},rotate:u={},scale:m={},effectsRelativeTo:M="viewport",effectOn:y=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:$=!1,mouseTrack:h={},tilt:b={},sticky:g={}}=t||{},w=(t,e)=>i(t)&&!isNaN(t)?Number(t):e,x="viewport"===M,j=x?"view()":"scroll(nearest block)",f=[],N=[],L=[],D=[],v=String(o??"").replace(/[^a-zA-Z0-9]/g,""),z=(t,e,o)=>{f.push(`@keyframes advMe${t}${v}{ ${e} }`),N.push(`advMe${t}${v}`),L.push(j),D.push((t=>{const e=w(t?.top,0),o=w(t?.bottom,100),i=Math.min(e,o),n=Math.max(e,o);return x?`cover ${i}% ${n>=90?"contain 100%":`cover ${n}%`}`:`min(${3*i}vh, ${i}%) min(${3*n}vh, ${n}%)`})(o))};if(n){const t=l?.direction,e=c?.direction,o=t?100*w(l?.speed,4):0,i=e?100*w(c?.speed,4):0;if(o||i){const n="up"===t?-o:o,r="to-left"===e?-i:i,a=[o&&l,i&&c].filter(Boolean);z("Translate",`from{ translate: 0px 0px; } to{ translate: ${r}px ${n}px; }`,{top:Math.min(...a.map((t=>w(t?.top,0)))),bottom:Math.max(...a.map((t=>w(t?.bottom,100))))})}const n=d?.direction;if(n){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}; }`}[n];e&&z("Opacity",e,d)}const r=p?.direction;if(r){const t=3*w(p?.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); }`}[r];e&&z("Blur",e,p)}const a=u?.direction;if(a){const t=20*w(u?.level,4);z("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===a?-t:t}deg; }`,u)}if(m?.direction){const t=.15*w(m?.level,4),e=Math.max(0,1-t),o=1+t,i={"scale-up":`from{ scale: 1; } to{ scale: ${o}; }`,"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: ${o}; } 100%{ scale: 1; }`}[m.direction];i&&z("Scale",i,m)}}const k=[];if($){if(h?.direction){const t="direct"===h?.direction?100:-100;k.push(((e,o)=>`translate(${(e*t).toFixed(2)}px, ${(o*t).toFixed(2)}px)`))}if(b?.direction){const t=12*("direct"===b?.direction?1:-1);k.push(((e,o)=>`perspective(1000px) rotateX(${(o*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const T=(t,o,i)=>{if(!t||!t.defaultView)return;const n=t.defaultView,r=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),a=r.items.get(e)||{x:0,y:0};if(a.rate=o,a.build=i,r.items.set(e,a),r.bound)return;r.bound=!0;const s=e=>{const o=r.last?Math.min(e-r.last,100):16.7;r.last=e;let i=!1;r.items.forEach(((e,n)=>{const a=e.el&&e.el.isConnected?e.el:t.querySelector(n);if(!a)return;e.el=a;const s=e.rate*o/1e3,l=r.x-e.x,c=r.y-e.y,d=Math.sqrt(l*l+c*c);d<=s?(e.x=r.x,e.y=r.y):(e.x+=l/d*s,e.y+=c/d*s,i=!0),a.style.transform=e.build(e.x,e.y)})),r.frame=i?n.requestAnimationFrame(s):0,r.last=i?e:0};t.addEventListener("pointermove",(t=>{r.x=2*(t.clientX/n.innerWidth-.5),r.y=2*(t.clientY/n.innerHeight-.5),r.frame||(r.frame=n.requestAnimationFrame(s))}))};if(k.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*w(h?.speed,w(b?.speed,4))),e=(t,e)=>k.map((o=>o(t,e))).join(" ");T(document,t,e),T(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const I=t=>g?.[t]||("desktop"===t?g?.undefined:""),S=e.split(">")[0],A=t=>{const e=I(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?I("desktop"):"mobile"===t?I("tablet")||I("desktop"):"")(t)?"position: static;":""},E=Array.isArray(y)?y:i(y)?[y]:[],O=t=>!E.length||E.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${N.length?`\n\t\t${f.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${N.join(", ")};\n\t\t\t\tanimation-duration: ${N.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${N.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${N.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${N.map((()=>x?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${L.join(", ")};\n\t\t\t\tanimation-range: ${D.join(", ")};\n\t\t\t}\n\t\t\t${O("desktop")?`${r}{ ${O("desktop")} }`:""}\n\t\t\t${O("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${O("tablet-portrait")} }`:""}\n\t\t\t${O("mobile-portrait")?`${s}{ ${O("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${k.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${S}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${a}{ ${S}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${s}{ ${S}{ ${A("mobile")} } }`:""}\n\t`})(v,k,t)}\n\t\t${z}\n\t`.replace(/\s+/g," ")},x=({attributes:t,id:o})=>{const{advanced:i}=t;return(0,e.jsx)("style",{dangerouslySetInnerHTML:{__html:` \n\t\t\t${w(o,i)}\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((i=>{const n=JSON.parse(i.dataset.attributes),r=i.dataset.facebookkey;r&&((0,t.createRoot)(i).render((0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(x,{attributes:n,id:i.id}),(0,e.jsx)(o,{attributes:n,facebookKey:r})]})),i?.removeAttribute("data-attributes"),i?.removeAttribute("data-facebookkey"))}))}))})(); | |