| @@ -1 +1,4 @@ | ||
| 1 | -(()=>{"use strict";const t=window.ReactDOM,e=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}},o="@media only screen and (max-width: 1024px)",i="@media only screen and (max-width: 640px)",r="linear-gradient(135deg, #0040E3, #18D4FD)";window.React;const s=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},a=(t,n)=>e(n)?`${t}: ${n};`:"",l=(t,e=!0,n=!0,o=!0)=>{const{type:i="solid",color:l="",gradient:c=r,image:d={},position:M="center center",attachment:$="",repeat:u="no-repeat",size:g="",overlayColor:b=""}=t||{};return"gradient"===i&&n?a("background",c):"image"===i&&o?`background: ${s(d?.url)};\n\t\t\t\t${a("background-color",b)}\n\t\t\t\t${a("background-position",M)}\n\t\t\t\t${a("background-size",g)}\n\t\t\t\t${a("background-repeat",u)}\n\t\t\t\t${a("background-attachment",$)}\n\t\t\t\t${a("background-repeat",u)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&a("background",l)},c=t=>{const{width:e="",style:n="solid",color:o="",side:i="all",radius:r=""}=t||{},s=t=>{const e=i?.toLowerCase();return e?.includes("all")||e?.includes(t)},l=`${e} ${n} ${o}`,c=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>s(t)?`border-${t}: ${l};`:"")).join(""):""}\n\t\t${a("border-radius",r)}\n\t`;return c},d=(t,e,n=!0)=>{const{fontFamily:r="Default",fontCategory:s="sans-serif",fontVariant:l=400,fontWeight:c,isUploadFont:d=!0,fontSize:M={desktop:null,tablet:null,mobile:null},fontStyle:$,textTransform:u,textDecoration:g,lineHeight:b,letterSpace:y}=e||{},p=!n||!r||"Default"===r,m=M?.desktop||M,j=M?.tablet||m,N=M?.mobile||j,L=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},w=`\n\t\t${p?"":`font-family: '${r}', ${s};`}\n\t\t${a("font-weight",c)}\n\t\t${a("font-size",L(m))}\n\t\t${a("font-style",$)}\n\t\t${a("text-transform",u)}\n\t\t${a("text-decoration",g)}\n\t\t${a("line-height",b)}\n\t\t${a("letter-spacing",y)}\n\t`,h=l&&400!==l?"400i"===l?":ital@1":l?.includes("00i")?`: ital, wght@1, ${l?.replace("00i","00")} `:`: wght@${l} `:"",D=p?"":`https://fonts.googleapis.com/css2?family=${r?.split(" ").join("+")}${h.replace(/ /g,"")}&display=swap`;return{googleFontLink:!d||p?"":`@import url(${D});`,styles:`${t}{\n\t\t\t${w}\n\t\t}\n\t\t${o} {\n\t\t\t${t}{\n\t\t\t\t${a("font-size",L(j))}\n\t\t\t}\n\t\t}\n\t\t${i} {\n\t\t\t${t}{\n\t\t\t\t${a("font-size",L(N))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},M=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""},$=t=>{const{position:n="center center",xPosition:o=0,yPosition:i=0,attachment:r="",repeat:s="no-repeat",size:a="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(n)?`background-position: ${"custom"===n?`${o} ${i}`:n};`:""}\n\t\t${r&&c(r)?`background-attachment: ${r};`:""}\n\t\t${c(s)?`background-repeat: ${s};`:""}\n\t\t${c(a)?`background-size: ${"custom"===a?`${l} auto`:a};`:""}\n\t`},u=(t={})=>t?{desktop:e(t.url)?`background-image: ${s(t.url)}; ${$(t?.desktop)}`:"",tablet:e(t.url)?$(t?.tablet):"",mobile:e(t.url)?$(t?.mobile):""}:"",g=(t,r,s=!1)=>{const{type:l="color",color:c,gradient:d,img:M,video:$}=t||{},g="color"===l?a("background",c):"gradient"===l?(t=>{const{type:n="linear",radialType:o="ellipse",colors:i=[],centerPositions:r={x:0,y:0},angel:s=0}=t||{};if(e(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${s}deg, ${t})`;return a("background","radial"===n?`radial-gradient(${o} at ${r?.x}% ${r?.y}%,${t})`:e)}return""})(d):"image"===l?u(M).desktop:"",b="image"===l?u(M).tablet:"",y="image"===l?u(M).mobile:"",p=s?`${r}:hover`:r;return`\n\t\t${"video"===l?((t,e)=>{const{url:o,loop:i}=t||{},r=document.querySelector(e),s=r?.querySelector(".bPlVideo"),a=document.createElement("video");if(a.muted=!0,a.autoplay=!0,a.classList.add("bPlVideo"),!s&&r&&o){const t=n(o);if(t){const e=document.createElement("source");e.src=t,a.appendChild(e),r.appendChild(a)}}return a.loop=i,a.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}`})($,r):""}\n\n\t\t${g?`${p}{\n\t\t\t${g}\n\t\t}`:""}\n\n\t\t${b?`${o} {\n\t\t\t${p}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y?`${i} {\n\t\t\t${p}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},b=(t,n,o=!1)=>{const{isEnabled:i,colors:r,opacity:s=1,blend:l,filter:c="",blur:d=0,brightness:M=100,contrast:$=100,saturation:u=100,hue:b=0,position:y={top:0,right:0,bottom:0,left:0},zIndex:p=-1}=t||{},m=`${100!==M?`brightness(${M}%)`:""} ${100!==$?`contrast(${$}%)`:""} ${100!==u?`saturate(${u}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==b?`hue-rotate(${b}deg)`:""}`,j=`${c}: ${c?m:""}; -webkit-${c}: ${c?m:""};`,N=o?`${n}:hover::after`:`${n}::after`;return i?`\n\t\t${n}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${n}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(y.top)?y.top:0};\n\t\t\tright:${e(y.right)?y.right:0};\n\t\t\tbottom:${e(y.bottom)?y.bottom:0};\n\t\t\tleft:${e(y.left)?y.left:0};\n\t\t\tz-index:${p};\n\t\t}\n\t\t${g(r,N,!1)}\n\t\t${N}{\n\t\t\t${a("opacity",s)}\n\t\t\t${a("mix-blend-mode",l)}\n\t\t\t${j}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},y=(t,n,r=!1)=>{const s=(t,n="desktop")=>{if(!e(t))return"";const{skew:o,scale:i,rotate:r,offset:s,flipX:l,flipY:c}=t,{threeDRotate:d}=r||{},{isProportion:M}=i||{},$=[];return e(o)&&(e(o?.[n]?.x)&&$.push(`skewX(${o[n].x}deg)`),e(o?.[n]?.y)&&$.push(`skewY(${o[n].y}deg)`)),M?e(i?.[n]?.scale)&&$.push(`scale(${i[n].scale})`):(e(i?.[n]?.x)&&$.push(`scaleX(${i[n].x})`),e(i?.[n]?.y)&&$.push(`scaleY(${i[n].y})`)),e(r)&&(e(r?.[n]?.z)&&$.push(`rotateZ(${r[n].z}deg)`),d&&(e(r?.[n]?.x)&&$.push(`rotateX(${r[n].x}deg)`),e(r?.[n]?.y)&&$.push(`rotateY(${r[n].y}deg)`))),e(s)&&(e(s?.[n]?.x)&&$.push(`translateX(${s[n].x})`),e(s?.[n]?.y)&&$.push(`translateY(${s[n].y})`)),e(l)&&$.push(l?"scaleX(-1)":""),e(c)&&$.push(c?"scaleY(-1)":""),0===$.length?"":a("transform",$.join(" "))},l=r?`${n}:hover`:n;return`\n\t\t${l} {\n\t\t\t${s(t,"desktop")}\n\t\t}\n\t\t${o}{\n\t\t\t${l} {\n\t\t\t\t${s(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${i}{\n\t\t\t${l} {\n\t\t\t\t${s(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},p=t=>{const{padding:e,margin:n,height:o,width:i}=t||{},r=(t,e)=>a(t,e),s=(t,e,n)=>r(t,e?.[t]?.[n])+r(`min-${t}`,e?.min?.[n])+r(`max-${t}`,e?.max?.[n]),l=t=>a("padding",M(t)),c=t=>a("margin",M(t));return{desktop:l(e?.desktop)+c(n?.desktop)+s("height",o,"desktop")+s("width",i,"desktop"),tablet:l(e?.tablet)+c(n?.tablet)+s("height",o,"tablet")+s("width",i,"tablet"),mobile:l(e?.mobile)+c(n?.mobile)+s("height",o,"mobile")+s("width",i,"mobile")}},m=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},i=a("border-radius",M(n)),r=a("box-shadow",((t,e="box")=>{let n="";return t?.map(((o,i)=>{const{hOffset:r="0px",vOffset:s="0px",blur:a="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=o||{},M=d?"inset":"",$=`${r} ${s} ${a}`,u=i+1>=t.length?"":", ";n+="text"===e?`${$} ${c}${u}`:`${$} ${l} ${c} ${M}${u}`})),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():a("border",e(t))})(e)+i+r};return{normal:o(e),hover:o(n)}},j=t=>{const{zIndex:n,overflow:o}=t||{},i=o?`overflow: ${o};`:"",r=t=>`${a("z-index",n?.[t])} ${a("position",e(n?.[t])?"relative":"")}`;return{desktop:r("desktop")+i,tablet:r("tablet"),mobile:r("mobile")}},N=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:i=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",s=t=>t?r:"";return{desktop:s(n),tablet:s(o),mobile:s(i)}},L=(t,n,r=!1,l=!0)=>{const{dimension:c,transform:d,background:M,borderShadow:$,mask:u,animation:L,visibility:w,responsive:h,css:D=""}=n||{},x=r?`#${t}>div>div${l?":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)})(L,t,r);const k=p(c).desktop+j(w).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:i=.4}=e||{},{transition:r=200}=n||{};return`transition: background ${o}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${r}ms ease-in-out;`})(M,$,d)+(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:r="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?s(n.url):`url(${(l=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5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64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===l))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===o.type?o.scale:o.type};\n\t\t${"custom"===i.type?`${a("-webkit-mask-position-x",i.x)}\n\t\t\t${a("-webkit-mask-position-y",i.y)}`:`${a("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${r};`:""}`:"";var l})(u),z=p(c).tablet+j(w).tablet+N(h,r).tablet,I=p(c).mobile+j(w).mobile+N(h,r).mobile,T=m($).normal,v=m($).hover,S=N(h,r).desktop;return`\n\t\t${k||T?`${x} {\n\t\t\t${k}\n\t\t\t${T}\n\t\t}`:""}\n\t\t${v?`${x}: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${x}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${z?`${o} {\n\t\t\t${x}{\n\t\t\t\t${z}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${i} {\n\t\t\t${x}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g(M?.normal,x)}\n\t\t${g(M?.hover,x,!0)}\n\t\t${b(M?.overlay,x)}\n\t\t${b(M?.hoverOverlay,x,!0)}\n\t\t${e(d?.normal)?y(d?.normal,x):""}\n\t\t${e(d?.hover)?y(d?.hover,x,!0):""}\n\n\t\t${D}\n\t`.replace(/\s+/g," ")},w=window.ReactJSXRuntime,h={top:"flex-start",middle:"center",bottom:"flex-end"},D={left:"flex-start",center:"center",right:"flex-end"},x={left:"flex-start",center:"center",right:"flex-end"},k=(t,e)=>"string"==typeof t?t:t?.[e]||"mobile"===e&&t?.tablet||t?.desktop,z=({attributes:t,id:e,isBackend:n=!1})=>{const{layout:r={},eyebrow:s={},heading:$={},subHeading:u={},button:g={},advanced:b}=t,{minHeight:y="60vh",verticalAlign:p={},contentAlign:m={},btnGap:j={}}=r,N=`#${e} .b-blocks-hero-section`,z=`${N} .b-blocks-hero-section-container`,I=`${N} .b-blocks-hero-section-eyebrow`,T=`${N} .b-blocks-hero-section-heading`,v=`${N} .b-blocks-hero-section-subheading`,S=`${N} .b-blocks-hero-section-actions`,f=`${N} .b-blocks-hero-section-cta--primary`,O=(t,e,n)=>a(t,M(e?.[n])),Y=t=>{const e=k(p,t)||"middle",n=k(m,t)||"center",o=null==(i=k(j,t))||""===i?"":"number"==typeof i?`${i}px`:i;var i;return`\n\t\t\t${N}{ align-items:${h[e]||"center"}; }\n\t\t\t${z}{ ${a("text-align",n)} align-items:${D[n]||"center"}; }\n\t\t\t${v}{ ${"center"===n?"margin-left:auto;margin-right:auto;":"margin-left:0;margin-right:0;"} }\n\t\t\t${S}{ ${a("gap",o)} justify-content:${x[n]||"center"}; }\n\t\t`},A=t=>`\n\t\t${I}{ ${O("padding",s.padding,t)} ${O("margin",s.margin,t)} ${O("border-radius",s.borderRadius,t)} }\n\t\t${T}{ ${O("padding",$.padding,t)} ${O("margin",$.margin,t)} ${O("border-radius",$.borderRadius,t)} }\n\t\t${v}{ ${O("padding",u.padding,t)} ${O("margin",u.margin,t)} ${O("border-radius",u.borderRadius,t)} }\n\t\t${f}{ ${O("padding",g.padding,t)} ${O("margin",g.margin,t)} ${O("border-radius",g.radius,t)} }\n\t`;return(0,w.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${d("",s.typo).googleFontLink}\n\t\t\t${d("",$.typo).googleFontLink}\n\t\t\t${d("",u.typo).googleFontLink}\n\t\t\t${d("",g.typo).googleFontLink}\n\t\t\t${N}{\n\t\t\t\t${"auto"===y?"min-height:auto;":`min-height:${y};`}\n\t\t\t}\n\t\t\t${I}{\n\t\t\t\t${a("color",s.color)}\n\t\t\t\t${l(s.bg)}\n\t\t\t\t${c(s.border)}\n\t\t\t}\n\t\t\t${d(I,s.typo).styles}\n\t\t\t${T}{\n\t\t\t\t${a("color",$.color)}\n\t\t\t\t${l($.bg)}\n\t\t\t\t${c($.border)}\n\t\t\t}\n\t\t\t${d(T,$.typo).styles}\n\t\t\t${v}{\n\t\t\t\t${a("color",u.color)}\n\t\t\t\t${l(u.bg)}\n\t\t\t\t${c(u.border)}\n\t\t\t}\n\t\t\t${d(v,u.typo).styles}\n\t\t\t${f}{\n\t\t\t\t${l(g.normal?.bg)}\n\t\t\t\t${a("color",g.normal?.color)}\n\t\t\t\t${c(g.normal?.border)}\n\t\t\t\ttransition:all ${g.transition??.2}s ease;\n\t\t\t}\n\t\t\t${d(f,g.typo).styles}\n\t\t\t${f}:hover, ${f}:focus-visible{\n\t\t\t\t${l(g.hover?.bg)}\n\t\t\t\t${a("color",g.hover?.color)}\n\t\t\t\t${c(g.hover?.border)}\n\t\t\t}\n\t\t\t${Y("desktop")}\n\t\t\t${A("desktop")}\n\t\t\t${o}{ ${Y("tablet")} ${A("tablet")} }\n\t\t\t${i}{ ${Y("mobile")} ${A("mobile")} }\n\t\t\t${L(e,b,n,!1)}\n\t\t\t`}})},I=window.wp.i18n,T=()=>(0,w.jsx)("span",{className:"screen-reader-text",children:(0,I.__)("(opens in a new tab)","b-blocks")}),v=t=>!!(t||"").replace(/<[^>]*>/g,"").trim(),S=({attributes:t,id:e})=>{const{eyebrow:n={},heading:o={},subHeading:i={},button:r={}}=t,s=["h1","h2","h3"].includes(o.tag)?o.tag:"h1",a=e?`${e}-heading`:void 0,l=!!r.show&&v(r.text);return(0,w.jsx)("div",{className:"b-blocks-hero-section",...a?{"aria-labelledby":a}:{},children:(0,w.jsxs)("div",{className:"b-blocks-hero-section-container",children:[n.show&&v(n.text)?(0,w.jsx)("span",{className:"b-blocks-hero-section-eyebrow",dangerouslySetInnerHTML:{__html:n.text}}):null,v(o.text)?(0,w.jsx)(s,{id:a,className:"b-blocks-hero-section-heading",dangerouslySetInnerHTML:{__html:o.text}}):null,i.show&&v(i.text)?(0,w.jsx)("p",{className:"b-blocks-hero-section-subheading",dangerouslySetInnerHTML:{__html:i.text}}):null,l?(0,w.jsx)("div",{className:"b-blocks-hero-section-actions",children:(0,w.jsxs)("a",{className:"b-blocks-hero-section-cta b-blocks-hero-section-cta--primary",href:r.url||"#",...r.newTab?{target:"_blank",rel:"noopener noreferrer"}:{},children:[(0,w.jsx)("span",{dangerouslySetInnerHTML:{__html:r.text}}),r.newTab?(0,w.jsx)(T,{}):null]})}):null]})})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-hero-section").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(z,{attributes:n,id:e.id}),(0,w.jsx)(S,{attributes:n,id:e.id})]})),e?.removeAttribute("data-attributes")}))}))})(); | |
| 1 | +(()=>{"use strict";const t=window.ReactDOM,e=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"),n=e.documentElement;return!n||"svg"!==n.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),n=await e.text();return this.sanitize(`${n}`)}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 n=e.name,o=n.toLowerCase(),i=e.value;if(this.options.removeEvents&&o.startsWith("on"))return void t.removeAttribute(n);if(this.options.removeExternalResources&&("href"===o||o.endsWith(":href"))&&!this.isAllowedUrl(i))return void t.removeAttribute(n);const r=o.replace("xlink:","");this.allowedAttributeSet.has(o)||this.allowedAttributeSet.has(r)?this.options.removeExternalResources&&this.hasExternalUrl(i)?t.removeAttribute(n):"style"===o&&this.options.sanitizeStyle&&t.setAttribute(n,this.sanitizeCss(i)):t.removeAttribute(n)}))}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 o="@media only screen and (min-width: 1025px)",i="@media only screen and (max-width: 1024px)",r="@media only screen and (max-width: 640px)",a="linear-gradient(135deg, #0040E3, #18D4FD)";window.React;const s=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,n)=>e(n)?`${t}: ${n};`:"",c=(t,e=!0,n=!0,o=!0)=>{const{type:i="solid",color:r="",gradient:c=a,image:d={},position:u="center center",attachment:p="",repeat:$="no-repeat",size:m="",overlayColor:y=""}=t||{};return"gradient"===i&&n?l("background",c):"image"===i&&o?`background: ${s(d?.url)};\n\t\t\t\t${l("background-color",y)}\n\t\t\t\t${l("background-position",u)}\n\t\t\t\t${l("background-size",m)}\n\t\t\t\t${l("background-repeat",$)}\n\t\t\t\t${l("background-attachment",p)}\n\t\t\t\t${l("background-repeat",$)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&l("background",r)},d=t=>{const{width:e="",style:n="solid",color:o="",side:i="all",radius:r=""}=t||{},a=t=>{const e=i?.toLowerCase();return e?.includes("all")||e?.includes(t)},s=`${e} ${n} ${o}`,c=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>a(t)?`border-${t}: ${s};`:"")).join(""):""}\n\t\t${l("border-radius",r)}\n\t`;return c},u=(t,e,n=!0)=>{const{fontFamily:o="Default",fontCategory:a="sans-serif",fontVariant:s=400,fontWeight:c,isUploadFont:d=!0,fontSize:u={desktop:null,tablet:null,mobile:null},fontStyle:p,textTransform:$,textDecoration:m,lineHeight:y,letterSpace:M}=e||{},b=!n||!o||"Default"===o,g=u?.desktop||u,h=u?.tablet||g,x=u?.mobile||h,w=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},f=`\n\t\t${b?"":`font-family: '${o}', ${a};`}\n\t\t${l("font-weight",c)}\n\t\t${l("font-size",w(g))}\n\t\t${l("font-style",p)}\n\t\t${l("text-transform",$)}\n\t\t${l("text-decoration",m)}\n\t\t${l("line-height",y)}\n\t\t${l("letter-spacing",M)}\n\t`,j=s&&400!==s?"400i"===s?":ital@1":s?.includes("00i")?`: ital, wght@1, ${s?.replace("00i","00")} `:`: wght@${s} `:"",N=b?"":`https://fonts.googleapis.com/css2?family=${o?.split(" ").join("+")}${j.replace(/ /g,"")}&display=swap`;return{googleFontLink:!d||b?"":`@import url(${N});`,styles:`${t}{\n\t\t\t${f}\n\t\t}\n\t\t${i} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",w(h))}\n\t\t\t}\n\t\t}\n\t\t${r} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",w(x))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},p=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""},$=t=>{const{position:n="center center",xPosition:o=0,yPosition:i=0,attachment:r="",repeat:a="no-repeat",size:s="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(n)?`background-position: ${"custom"===n?`${o} ${i}`:n};`:""}\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`},m=(t={})=>t?{desktop:e(t.url)?`background-image: ${s(t.url)}; ${$(t?.desktop)}`:"",tablet:e(t.url)?$(t?.tablet):"",mobile:e(t.url)?$(t?.mobile):""}:"",y=(t,o,a=!1)=>{const{type:s="color",color:c,gradient:d,img:u,video:p}=t||{},$="color"===s?l("background",c):"gradient"===s?(t=>{const{type:n="linear",radialType:o="ellipse",colors:i=[],centerPositions:r={x:0,y:0},angel:a=0}=t||{};if(e(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${a}deg, ${t})`;return l("background","radial"===n?`radial-gradient(${o} at ${r?.x}% ${r?.y}%,${t})`:e)}return""})(d):"image"===s?m(u).desktop:"",y="image"===s?m(u).tablet:"",M="image"===s?m(u).mobile:"",b=a?`${o}:hover`:o;return`\n\t\t${"video"===s?((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){ | |
| 2 | +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}`})(p,o):""}\n\n\t\t${$?`${b}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${y?`${i} {\n\t\t\t${b}{\n\t\t\t\t${y}\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\t`.replace(/\s+/g," ").trim()},M=(t,n,o=!1)=>{const{isEnabled:i,colors:r,opacity:a=1,blend:s,filter:c="",blur:d=0,brightness:u=100,contrast:p=100,saturation:$=100,hue:m=0,position:M={top:0,right:0,bottom:0,left:0},zIndex:b=-1}=t||{},g=`${100!==u?`brightness(${u}%)`:""} ${100!==p?`contrast(${p}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==m?`hue-rotate(${m}deg)`:""}`,h=`${c}: ${c?g:""}; -webkit-${c}: ${c?g:""};`,x=o?`${n}:hover::after`:`${n}::after`;return i?`\n\t\t${n}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${n}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(M.top)?M.top:0};\n\t\t\tright:${e(M.right)?M.right:0};\n\t\t\tbottom:${e(M.bottom)?M.bottom:0};\n\t\t\tleft:${e(M.left)?M.left:0};\n\t\t\tz-index:${b};\n\t\t}\n\t\t${y(r,x,!1)}\n\t\t${x}{\n\t\t\t${l("opacity",a)}\n\t\t\t${l("mix-blend-mode",s)}\n\t\t\t${h}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},b=(t,n,o=!1)=>{const a=(t,n="desktop")=>{if(!e(t))return"";const{skew:o,scale:i,rotate:r,offset:a,flipX:s,flipY:c}=t,{threeDRotate:d}=r||{},{isProportion:u}=i||{},p=[];return e(o)&&(e(o?.[n]?.x)&&p.push(`skewX(${o[n].x}deg)`),e(o?.[n]?.y)&&p.push(`skewY(${o[n].y}deg)`)),u?e(i?.[n]?.scale)&&p.push(`scale(${i[n].scale})`):(e(i?.[n]?.x)&&p.push(`scaleX(${i[n].x})`),e(i?.[n]?.y)&&p.push(`scaleY(${i[n].y})`)),e(r)&&(e(r?.[n]?.z)&&p.push(`rotateZ(${r[n].z}deg)`),d&&(e(r?.[n]?.x)&&p.push(`rotateX(${r[n].x}deg)`),e(r?.[n]?.y)&&p.push(`rotateY(${r[n].y}deg)`))),e(a)&&(e(a?.[n]?.x)&&p.push(`translateX(${a[n].x})`),e(a?.[n]?.y)&&p.push(`translateY(${a[n].y})`)),e(s)&&p.push(s?"scaleX(-1)":""),e(c)&&p.push(c?"scaleY(-1)":""),0===p.length?"":l("transform",p.join(" "))},s=o?`${n}:hover`:n;return`\n\t\t${s} {\n\t\t\t${a(t,"desktop")}\n\t\t}\n\t\t${i}{\n\t\t\t${s} {\n\t\t\t\t${a(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${r}{\n\t\t\t${s} {\n\t\t\t\t${a(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},g=t=>{const{padding:e,margin:n,height:o,width:i}=t||{},r=(t,e)=>l(t,e),a=(t,e,n)=>r(t,e?.[t]?.[n])+r(`min-${t}`,e?.min?.[n])+r(`max-${t}`,e?.max?.[n]),s=t=>l("padding",p(t)),c=t=>l("margin",p(t));return{desktop:s(e?.desktop)+c(n?.desktop)+a("height",o,"desktop")+a("width",i,"desktop"),tablet:s(e?.tablet)+c(n?.tablet)+a("height",o,"tablet")+a("width",i,"tablet"),mobile:s(e?.mobile)+c(n?.mobile)+a("height",o,"mobile")+a("width",i,"mobile")}},h=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},i=l("border-radius",p(n)),r=l("box-shadow",((t,e="box")=>{let n="";return t?.map(((o,i)=>{const{hOffset:r="0px",vOffset:a="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=o||{},u=d?"inset":"",p=`${r} ${a} ${s}`,$=i+1>=t.length?"":", ";n+="text"===e?`${p} ${c}${$}`:`${p} ${l} ${c} ${u}${$}`})),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():l("border",e(t))})(e)+i+r};return{normal:o(e),hover:o(n)}},x=t=>{const{zIndex:n,overflow:o}=t||{},i=o?`overflow: ${o};`:"",r=t=>`${l("z-index",n?.[t])} ${l("position",e(n?.[t])?"relative":"")}`;return{desktop:r("desktop")+i,tablet:r("tablet"),mobile:r("mobile")}},w=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:i=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",a=t=>t?r:"";return{desktop:a(n),tablet:a(o),mobile:a(i)}},f=(t,n,a=!1,c=!0)=>{const{dimension:d,transform:u,background:p,borderShadow:$,mask:m,animation:f,visibility:j,responsive:N,position:L={},floating:k={},motion:D={},css:v=""}=n||{},z=a?`#${t}>div>div${c?":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)})(f,t,a);const T=g(d).desktop+x(j).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:i=.4}=e||{},{transition:r=200}=n||{};return`transition: background ${o}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${r}ms ease-in-out;`})(p,$,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:r="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?s(n.url):`url(${(a=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40N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cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===a))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===o.type?o.scale:o.type};\n\t\t${"custom"===i.type?`${l("-webkit-mask-position-x",i.x)}\n\t\t\t${l("-webkit-mask-position-y",i.y)}`:`${l("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${r};`:""}`:"";var a})(m),I=g(d).tablet+x(j).tablet+w(N,a).tablet,S=g(d).mobile+x(j).mobile+w(N,a).mobile,A=h($).normal,E=h($).hover,O=w(N,a).desktop;return`\n\t\t${T||A?`${z} {\n\t\t\t${T}\n\t\t\t${A}\n\t\t}`:""}\n\t\t${E?`${z}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${O?`${o} {\n\t\t\t${z}{\n\t\t\t\t${O}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${i} {\n\t\t\t${z}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${r} {\n\t\t\t${z}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y(p?.normal,z)}\n\t\t${y(p?.hover,z,!0)}\n\t\t${M(p?.overlay,z)}\n\t\t${M(p?.hoverOverlay,z,!0)}\n\t\t${e(u?.normal)?b(u?.normal,z):""}\n\t\t${e(u?.hover)?b(u?.hover,z,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:o={},mobile:a={}}=t,s=(t={})=>`\n\t\t${e}{\n\t\t\t${l("position",t?.type)}\n\t\t\t${l("left",t?.horizontal?.left)}\n\t\t\t${l("right",t?.horizontal?.right)}\n\t\t\t${l("top",t?.vertical?.top)}\n\t\t\t${l("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?s(n):""}\n\t\t\n\t\t${i}{\n\t\t\t${o?.type?s(o):""}\n\t\t}\n\n\t\t${r}{\n\t\t\t${a?.type?s(a):""}\n\t\t}\n\t`})(L,z)}\n\t\t${((t,n,o="")=>{const{translate:i={},rotate:r={},scale:a={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:i,value:t=>["x","y"].some((n=>e(i?.[n]?.[t])))?`${i?.x?.[t]||0}px ${i?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:r,value:t=>["x","y","z"].filter((n=>e(r?.[n]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${r[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:a,value:t=>{const n=a?.y?.[t],o=a?.z?.[t];return e(n)||e(o)?e(o)?`1 ${e(n)?n:1} ${o}`:`1 ${n}`:""}}].forEach((({name:t,property:e,values:n,value:i})=>{const r=i("from"),a=i("to");if(!r||!a)return;const s=Number(n?.duration)>0?Number(n.duration):1e3,d=Number(n?.delay)>0?Number(n.delay):0,u=`advFloat${t}${o?`-${o}`:""}`;l.push(`@keyframes ${u}{ from{ ${e}: ${r}; } to{ ${e}: ${a}; } }`),c.push(`${u} ${s}ms ease-in-out ${d}ms infinite alternate`)})),c.length?`\n\t\t${l.join(" ")}\n\t\t${n}{\n\t\t\tanimation: ${c.join(", ")};\n\t\t}\n\t`:""})(k,z,t)}\n\t\t${((t,n,a)=>{const{isEnable:s=!1,vertical:l={},horizontal:c={},transparency:d={},blur:u={},rotate:p={},scale:$={},effectsRelativeTo:m="viewport",effectOn:y=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:M=!1,mouseTrack:b={},tilt:g={},sticky:h={}}=t||{},x=(t,n)=>e(t)&&!isNaN(t)?Number(t):n,w="viewport"===m,f=w?"view()":"scroll(nearest block)",j=[],N=[],L=[],k=[],D=String(a??"").replace(/[^a-zA-Z0-9]/g,""),v=(t,e,n)=>{j.push(`@keyframes advMe${t}${D}{ ${e} }`),N.push(`advMe${t}${D}`),L.push(f),k.push((t=>{const e=x(t?.top,0),n=x(t?.bottom,100),o=Math.min(e,n),i=Math.max(e,n);return w?`cover ${o}% ${i>=90?"contain 100%":`cover ${i}%`}`:`min(${3*o}vh, ${o}%) min(${3*i}vh, ${i}%)`})(n))};if(s){const t=l?.direction,e=c?.direction,n=t?100*x(l?.speed,4):0,o=e?100*x(c?.speed,4):0;if(n||o){const i="up"===t?-n:n,r="to-left"===e?-o:o,a=[n&&l,o&&c].filter(Boolean);v("Translate",`from{ translate: 0px 0px; } to{ translate: ${r}px ${i}px; }`,{top:Math.min(...a.map((t=>x(t?.top,0)))),bottom:Math.max(...a.map((t=>x(t?.bottom,100))))})}const i=d?.direction;if(i){const t=Math.max(0,1-x(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&&v("Opacity",e,d)}const r=u?.direction;if(r){const t=3*x(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); }`}[r];e&&v("Blur",e,u)}const a=p?.direction;if(a){const t=20*x(p?.level,4);v("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===a?-t:t}deg; }`,p)}if($?.direction){const t=.15*x($?.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; }`}[$.direction];o&&v("Scale",o,$)}}const z=[];if(M){if(b?.direction){const t="direct"===b?.direction?100:-100;z.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(g?.direction){const t=12*("direct"===g?.direction?1:-1);z.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const T=(t,e,o)=>{if(!t||!t.defaultView)return;const i=t.defaultView,r=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),a=r.items.get(n)||{x:0,y:0};if(a.rate=e,a.build=o,r.items.set(n,a),r.bound)return;r.bound=!0;const s=e=>{const n=r.last?Math.min(e-r.last,100):16.7;r.last=e;let o=!1;r.items.forEach(((e,i)=>{const a=e.el&&e.el.isConnected?e.el:t.querySelector(i);if(!a)return;e.el=a;const s=e.rate*n/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,o=!0),a.style.transform=e.build(e.x,e.y)})),r.frame=o?i.requestAnimationFrame(s):0,r.last=o?e:0};t.addEventListener("pointermove",(t=>{r.x=2*(t.clientX/i.innerWidth-.5),r.y=2*(t.clientY/i.innerHeight-.5),r.frame||(r.frame=i.requestAnimationFrame(s))}))};if(z.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*x(b?.speed,x(g?.speed,4))),e=(t,e)=>z.map((n=>n(t,e))).join(" ");T(document,t,e),T(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const I=t=>h?.[t]||("desktop"===t?h?.undefined:""),S=n.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:e(y)?[y]:[],O=t=>!E.length||E.includes(t)?"":`${n}{ animation-name: none; }` | |
| 4 | +;return`\n\t\t${N.length?`\n\t\t${j.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${n}{\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((()=>w?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${L.join(", ")};\n\t\t\t\tanimation-range: ${k.join(", ")};\n\t\t\t}\n\t\t\t${O("desktop")?`${o}{ ${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")?`${r}{ ${O("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${z.length?`${n}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${S}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${i}{ ${S}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${r}{ ${S}{ ${A("mobile")} } }`:""}\n\t`})(D,z,t)}\n\t\t${v}\n\t`.replace(/\s+/g," ")},j=window.ReactJSXRuntime,N={top:"flex-start",middle:"center",bottom:"flex-end"},L={left:"flex-start",center:"center",right:"flex-end"},k={left:"flex-start",center:"center",right:"flex-end"},D=(t,e)=>"string"==typeof t?t:t?.[e]||"mobile"===e&&t?.tablet||t?.desktop,v=({attributes:t,id:e,isBackend:n=!1})=>{const{layout:o={},eyebrow:a={},heading:s={},subHeading:$={},button:m={},advanced:y}=t,{minHeight:M="60vh",verticalAlign:b={},contentAlign:g={},btnGap:h={}}=o,x=`#${e} .b-blocks-hero-section`,w=`${x} .b-blocks-hero-section-container`,v=`${x} .b-blocks-hero-section-eyebrow`,z=`${x} .b-blocks-hero-section-heading`,T=`${x} .b-blocks-hero-section-subheading`,I=`${x} .b-blocks-hero-section-actions`,S=`${x} .b-blocks-hero-section-cta--primary`,A=(t,e,n)=>l(t,p(e?.[n])),E=t=>{const e=D(b,t)||"middle",n=D(g,t)||"center",o=null==(i=D(h,t))||""===i?"":"number"==typeof i?`${i}px`:i;var i;return`\n\t\t\t${x}{ align-items:${N[e]||"center"}; }\n\t\t\t${w}{ ${l("text-align",n)} align-items:${L[n]||"center"}; }\n\t\t\t${T}{ ${"center"===n?"margin-left:auto;margin-right:auto;":"margin-left:0;margin-right:0;"} }\n\t\t\t${I}{ ${l("gap",o)} justify-content:${k[n]||"center"}; }\n\t\t`},O=t=>`\n\t\t${v}{ ${A("padding",a.padding,t)} ${A("margin",a.margin,t)} ${A("border-radius",a.borderRadius,t)} }\n\t\t${z}{ ${A("padding",s.padding,t)} ${A("margin",s.margin,t)} ${A("border-radius",s.borderRadius,t)} }\n\t\t${T}{ ${A("padding",$.padding,t)} ${A("margin",$.margin,t)} ${A("border-radius",$.borderRadius,t)} }\n\t\t${S}{ ${A("padding",m.padding,t)} ${A("margin",m.margin,t)} ${A("border-radius",m.radius,t)} }\n\t`;return(0,j.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${u("",a.typo).googleFontLink}\n\t\t\t${u("",s.typo).googleFontLink}\n\t\t\t${u("",$.typo).googleFontLink}\n\t\t\t${u("",m.typo).googleFontLink}\n\t\t\t${x}{\n\t\t\t\t${"auto"===M?"min-height:auto;":`min-height:${M};`}\n\t\t\t}\n\t\t\t${v}{\n\t\t\t\t${l("color",a.color)}\n\t\t\t\t${c(a.bg)}\n\t\t\t\t${d(a.border)}\n\t\t\t}\n\t\t\t${u(v,a.typo).styles}\n\t\t\t${z}{\n\t\t\t\t${l("color",s.color)}\n\t\t\t\t${c(s.bg)}\n\t\t\t\t${d(s.border)}\n\t\t\t}\n\t\t\t${u(z,s.typo).styles}\n\t\t\t${T}{\n\t\t\t\t${l("color",$.color)}\n\t\t\t\t${c($.bg)}\n\t\t\t\t${d($.border)}\n\t\t\t}\n\t\t\t${u(T,$.typo).styles}\n\t\t\t${S}{\n\t\t\t\t${c(m.normal?.bg)}\n\t\t\t\t${l("color",m.normal?.color)}\n\t\t\t\t${d(m.normal?.border)}\n\t\t\t\ttransition:all ${m.transition??.2}s ease;\n\t\t\t}\n\t\t\t${u(S,m.typo).styles}\n\t\t\t${S}:hover, ${S}:focus-visible{\n\t\t\t\t${c(m.hover?.bg)}\n\t\t\t\t${l("color",m.hover?.color)}\n\t\t\t\t${d(m.hover?.border)}\n\t\t\t}\n\t\t\t${E("desktop")}\n\t\t\t${O("desktop")}\n\t\t\t${i}{ ${E("tablet")} ${O("tablet")} }\n\t\t\t${r}{ ${E("mobile")} ${O("mobile")} }\n\t\t\t${f(e,y,n,!1)}\n\t\t\t`}})},z=window.wp.i18n,T=()=>(0,j.jsx)("span",{className:"screen-reader-text",children:(0,z.__)("(opens in a new tab)","b-blocks")}),I=t=>!!(t||"").replace(/<[^>]*>/g,"").trim(),S=({attributes:t,id:e})=>{const{eyebrow:n={},heading:o={},subHeading:i={},button:r={}}=t,a=["h1","h2","h3"].includes(o.tag)?o.tag:"h1",s=e?`${e}-heading`:void 0,l=!!r.show&&I(r.text);return(0,j.jsx)("div",{className:"b-blocks-hero-section",...s?{"aria-labelledby":s}:{},children:(0,j.jsxs)("div",{className:"b-blocks-hero-section-container",children:[n.show&&I(n.text)?(0,j.jsx)("span",{className:"b-blocks-hero-section-eyebrow",dangerouslySetInnerHTML:{__html:n.text}}):null,I(o.text)?(0,j.jsx)(a,{id:s,className:"b-blocks-hero-section-heading",dangerouslySetInnerHTML:{__html:o.text}}):null,i.show&&I(i.text)?(0,j.jsx)("p",{className:"b-blocks-hero-section-subheading",dangerouslySetInnerHTML:{__html:i.text}}):null,l?(0,j.jsx)("div",{className:"b-blocks-hero-section-actions",children:(0,j.jsxs)("a",{className:"b-blocks-hero-section-cta b-blocks-hero-section-cta--primary",href:r.url||"#",...r.newTab?{target:"_blank",rel:"noopener noreferrer"}:{},children:[(0,j.jsx)("span",{dangerouslySetInnerHTML:{__html:r.text}}),r.newTab?(0,j.jsx)(T,{}):null]})}):null]})})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-hero-section").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(v,{attributes:n,id:e.id}),(0,j.jsx)(S,{attributes:n,id:e.id})]})),e?.removeAttribute("data-attributes")}))}))})(); | |