| @@ -1 +1,4 @@ | ||
| 1 | -(()=>{"use strict";const t=window.ReactDOM,e="@media only screen and (max-width: 1024px)",n="@media only screen and (max-width: 640px)",a="linear-gradient(135deg, #0040E3, #18D4FD)",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),o=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}};window.React;const s=t=>{const e=o(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},r=(t,e)=>i(e)?`${t}: ${e};`:"",d=(t,e=!0,n=!0,i=!0)=>{const{type:o="solid",color:d="",gradient:l=a,image:c={},position:M="center center",attachment:u="",repeat:$="no-repeat",size:y="",overlayColor:g=""}=t||{};return"gradient"===o&&n?r("background",l):"image"===o&&i?`background: ${s(c?.url)};\n\t\t\t\t${r("background-color",g)}\n\t\t\t\t${r("background-position",M)}\n\t\t\t\t${r("background-size",y)}\n\t\t\t\t${r("background-repeat",$)}\n\t\t\t\t${r("background-attachment",u)}\n\t\t\t\t${r("background-repeat",$)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&r("background",d)},l=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:a="0px"}=t;return`${a} ${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():r("border",e(t))},c=(t,a,i=!0)=>{const{fontFamily:o="Default",fontCategory:s="sans-serif",fontVariant:d=400,fontWeight:l,isUploadFont:c=!0,fontSize:M={desktop:null,tablet:null,mobile:null},fontStyle:u,textTransform:$,textDecoration:y,lineHeight:g,letterSpace:p}=a||{},b=!i||!o||"Default"===o,m=M?.desktop||M,k=M?.tablet||m,j=M?.mobile||k,w=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},N=`\n\t\t${b?"":`font-family: '${o}', ${s};`}\n\t\t${r("font-weight",l)}\n\t\t${r("font-size",w(m))}\n\t\t${r("font-style",u)}\n\t\t${r("text-transform",$)}\n\t\t${r("text-decoration",y)}\n\t\t${r("line-height",g)}\n\t\t${r("letter-spacing",p)}\n\t`,L=d&&400!==d?"400i"===d?":ital@1":d?.includes("00i")?`: ital, wght@1, ${d?.replace("00i","00")} `:`: wght@${d} `:"",D=b?"":`https://fonts.googleapis.com/css2?family=${o?.split(" ").join("+")}${L.replace(/ /g,"")}&display=swap`;return{googleFontLink:!c||b?"":`@import url(${D});`,styles:`${t}{\n\t\t\t${N}\n\t\t}\n\t\t${e} {\n\t\t\t${t}{\n\t\t\t\t${r("font-size",w(k))}\n\t\t\t}\n\t\t}\n\t\t${n} {\n\t\t\t${t}{\n\t\t\t\t${r("font-size",w(j))}\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""},u=t=>{const{position:e="center center",xPosition:n=0,yPosition:a=0,attachment:o="",repeat:s="no-repeat",size:r="cover",customSize:d="0px"}=t||{},l=t=>"initial"!==t||i(t);return`\n\t\t${l(e)?`background-position: ${"custom"===e?`${n} ${a}`:e};`:""}\n\t\t${o&&l(o)?`background-attachment: ${o};`:""}\n\t\t${l(s)?`background-repeat: ${s};`:""}\n\t\t${l(r)?`background-size: ${"custom"===r?`${d} auto`:r};`:""}\n\t`},$=(t={})=>t?{desktop:i(t.url)?`background-image: ${s(t.url)}; ${u(t?.desktop)}`:"",tablet:i(t.url)?u(t?.tablet):"",mobile:i(t.url)?u(t?.mobile):""}:"",y=(t,a,s=!1)=>{const{type:d="color",color:l,gradient:c,img:M,video:u}=t||{},y="color"===d?r("background",l):"gradient"===d?(t=>{const{type:e="linear",radialType:n="ellipse",colors:a=[],centerPositions:o={x:0,y:0},angel:s=0}=t||{};if(i(t)){const t=a?.map((({color:t,position:e})=>`${t} ${e}%`)),i=`linear-gradient(${s}deg, ${t})`;return r("background","radial"===e?`radial-gradient(${n} at ${o?.x}% ${o?.y}%,${t})`:i)}return""})(c):"image"===d?$(M).desktop:"",g="image"===d?$(M).tablet:"",p="image"===d?$(M).mobile:"",b=s?`${a}:hover`:a;return`\n\t\t${"video"===d?((t,e)=>{const{url:n,loop:a}=t||{},i=document.querySelector(e),s=i?.querySelector(".bPlVideo"),r=document.createElement("video");if(r.muted=!0,r.autoplay=!0,r.classList.add("bPlVideo"),!s&&i&&n){const t=o(n);if(t){const e=document.createElement("source");e.src=t,r.appendChild(e),i.appendChild(r)}}return r.loop=a,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}`})(u,a):""}\n\n\t\t${y?`${b}{\n\t\t\t${y}\n\t\t}`:""}\n\n\t\t${g?`${e} {\n\t\t\t${b}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${p?`${n} {\n\t\t\t${b}{\n\t\t\t\t${p}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},g=(t,e,n=!1)=>{const{isEnabled:a,colors:o,opacity:s=1,blend:d,filter:l="",blur:c=0,brightness:M=100,contrast:u=100,saturation:$=100,hue:g=0,position:p={top:0,right:0,bottom:0,left:0},zIndex:b=-1}=t||{},m=`${100!==M?`brightness(${M}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==c?`blur(${c}px)`:""} ${0!==g?`hue-rotate(${g}deg)`:""}`,k=`${l}: ${l?m:""}; -webkit-${l}: ${l?m:""};`,j=n?`${e}:hover::after`:`${e}::after`;return a?`\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(p.top)?p.top:0};\n\t\t\tright:${i(p.right)?p.right:0};\n\t\t\tbottom:${i(p.bottom)?p.bottom:0};\n\t\t\tleft:${i(p.left)?p.left:0};\n\t\t\tz-index:${b};\n\t\t}\n\t\t${y(o,j,!1)}\n\t\t${j}{\n\t\t\t${r("opacity",s)}\n\t\t\t${r("mix-blend-mode",d)}\n\t\t\t${k}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},p=(t,a,o=!1)=>{const s=(t,e="desktop")=>{if(!i(t))return"";const{skew:n,scale:a,rotate:o,offset:s,flipX:d,flipY:l}=t,{threeDRotate:c}=o||{},{isProportion:M}=a||{},u=[];return i(n)&&(i(n?.[e]?.x)&&u.push(`skewX(${n[e].x}deg)`),i(n?.[e]?.y)&&u.push(`skewY(${n[e].y}deg)`)),M?i(a?.[e]?.scale)&&u.push(`scale(${a[e].scale})`):(i(a?.[e]?.x)&&u.push(`scaleX(${a[e].x})`),i(a?.[e]?.y)&&u.push(`scaleY(${a[e].y})`)),i(o)&&(i(o?.[e]?.z)&&u.push(`rotateZ(${o[e].z}deg)`),c&&(i(o?.[e]?.x)&&u.push(`rotateX(${o[e].x}deg)`),i(o?.[e]?.y)&&u.push(`rotateY(${o[e].y}deg)`))),i(s)&&(i(s?.[e]?.x)&&u.push(`translateX(${s[e].x})`),i(s?.[e]?.y)&&u.push(`translateY(${s[e].y})`)),i(d)&&u.push(d?"scaleX(-1)":""),i(l)&&u.push(l?"scaleY(-1)":""),0===u.length?"":r("transform",u.join(" "))},d=o?`${a}:hover`:a;return`\n\t\t${d} {\n\t\t\t${s(t,"desktop")}\n\t\t}\n\t\t${e}{\n\t\t\t${d} {\n\t\t\t\t${s(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${n}{\n\t\t\t${d} {\n\t\t\t\t${s(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},b=t=>{const{padding:e,margin:n,height:a,width:i}=t||{},o=(t,e)=>r(t,e),s=(t,e,n)=>o(t,e?.[t]?.[n])+o(`min-${t}`,e?.min?.[n])+o(`max-${t}`,e?.max?.[n]),d=t=>r("padding",M(t)),l=t=>r("margin",M(t));return{desktop:d(e?.desktop)+l(n?.desktop)+s("height",a,"desktop")+s("width",i,"desktop"),tablet:d(e?.tablet)+l(n?.tablet)+s("height",a,"tablet")+s("width",i,"tablet"),mobile:d(e?.mobile)+l(n?.mobile)+s("height",a,"mobile")+s("width",i,"mobile")}},m=t=>{const{normal:e,hover:n}=t||{},a=t=>{const{border:e,radius:n,shadow:a}=t||{},i=r("border-radius",M(n)),o=r("box-shadow",((t,e="box")=>{let n="";return t?.map(((a,i)=>{const{hOffset:o="0px",vOffset:s="0px",blur:r="0px",spreed:d="0px",color:l="#e7f0fe",isInset:c=!1}=a||{},M=c?"inset":"",u=`${o} ${s} ${r}`,$=i+1>=t.length?"":", ";n+="text"===e?`${u} ${l}${$}`:`${u} ${d} ${l} ${M}${$}`})),n||""})(a,"box"));return l(e)+i+o};return{normal:a(e),hover:a(n)}},k=t=>{const{zIndex:e,overflow:n}=t||{},a=n?`overflow: ${n};`:"",o=t=>`${r("z-index",e?.[t])} ${r("position",i(e?.[t])?"relative":"")}`;return{desktop:o("desktop")+a,tablet:o("tablet"),mobile:o("mobile")}},j=(t,e)=>{const{desktop:n=!1,tablet:a=!1,mobile:i=!1}=t||{},o=e?"opacity: 0.5;":"display: none;",s=t=>t?o:"";return{desktop:s(n),tablet:s(a),mobile:s(i)}},w=(t,a,o=!1,d=!0)=>{const{dimension:l,transform:c,background:M,borderShadow:u,mask:$,animation:w,visibility:N,responsive:L,css:D=""}=a||{},h=o?`#${t}>div>div${d?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const a=n?`#${e} > div`:`#${e}`,i=document.querySelector(a);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)})(w,t,o);const x=b(l).desktop+k(N).desktop+((t,e,n)=>{const{transition:a=.4}=t||{},{transition:i=.4}=e||{},{transition:o=200}=n||{};return`transition: background ${a}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${o}ms ease-in-out;`})(M,u,c)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:a={type:"contain",scale:"100%"},position:i={type:"center center",x:50,y:50},repeat:o="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?s(n.url):`url(${(d=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",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===d))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===a.type?a.scale:a.type};\n\t\t${"custom"===i.type?`${r("-webkit-mask-position-x",i.x)}\n\t\t\t${r("-webkit-mask-position-y",i.y)}`:`${r("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==a.type?`-webkit-mask-repeat: ${o};`:""}`:"";var d})($),z=b(l).tablet+k(N).tablet+j(L,o).tablet,I=b(l).mobile+k(N).mobile+j(L,o).mobile,T=m(u).normal,v=m(u).hover,S=j(L,o).desktop;return`\n\t\t${x||T?`${h} {\n\t\t\t${x}\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${z?`${e} {\n\t\t\t${h}{\n\t\t\t\t${z}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${n} {\n\t\t\t${h}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y(M?.normal,h)}\n\t\t${y(M?.hover,h,!0)}\n\t\t${g(M?.overlay,h)}\n\t\t${g(M?.hoverOverlay,h,!0)}\n\t\t${i(c?.normal)?p(c?.normal,h):""}\n\t\t${i(c?.hover)?p(c?.hover,h,!0):""}\n\n\t\t${D}\n\t`.replace(/\s+/g," ")},N=window.ReactJSXRuntime,L=(t,e,n)=>{if(t){if(t[e]&&void 0!==t[e][n])return t[e][n];if("radius"===n){if(t[e]&&void 0!==t[e].borderRadius)return t[e].borderRadius;if(void 0!==t.radius)return t.radius;if(void 0!==t.borderRadius)return t.borderRadius}return void 0!==t[n]?t[n]:void 0}},D=({attributes:t,id:a,isBackend:i=!1})=>{const{heading:o={},list:s={},icon:u={},item:$={},advanced:y}=t,g=u.color||"#ffffff",p=u.size||"18px",b=$.typography?.fontSize?.desktop||"16px",m=`#${a} .bBlocks-key-takeaways-wrapper`,k=`${m} .bBlocks-key-takeaways-heading`,j=`${m} .bBlocks-key-takeaways-list`,D=`${m} .bBlocks-key-takeaways-item`,h=`${m} .bBlocks-key-takeaways-icon`,x=`${m} .bBlocks-key-takeaways-num`,z=`${m} .bBlocks-key-takeaways-bullet`;return(0,N.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${c("",o.typography).googleFontLink}\n\t\t\t${c("",$.typography).googleFontLink}\n\t\t\t${c(k,o.typography).styles}\n\t\t\t${k}{\n\t\t\t\t${r("color",o.color)}\n\t\t\t\t${d(o.bg)}\n\t\t\t\t${r("padding",M(L(o,"desktop","padding")))}\n\t\t\t\t${r("margin",M(L(o,"desktop","margin")))}\n\t\t\t\t${l(o.border)}\n\t\t\t\t${r("border-radius",M(L(o,"desktop","radius")))}\n\t\t\t}\n\t\t\t${j}{\n\t\t\t\t${r("gap","number"==typeof s.gap?`${s.gap}px`:s.gap||"10px")}\n\t\t\t}\n\t\t\t${c(D,$.typography).styles}\n\t\t\t${D}{\n\t\t\t\t${r("color",$.color)}\n\t\t\t\t${d($.bg)}\n\t\t\t\t${r("padding",M(L($,"desktop","padding")))}\n\t\t\t\t${r("margin",M(L($,"desktop","margin")))}\n\t\t\t\t${l($.border)}\n\t\t\t\t${r("border-radius",M(L($,"desktop","radius")))}\n\t\t\t}\n\t\t\t${h}{\n\t\t\t\tcolor: ${g};\n\t\t\t\tfont-size: ${p};\n\t\t\t\tmin-height: calc(${b} * 1.5);\n\t\t\t\t${d(u.bg)}\n\t\t\t\t${r("padding",M(L(u,"desktop","padding")))}\n\t\t\t\t${r("margin",M(L(u,"desktop","margin")))}\n\t\t\t\t${l(u.border)}\n\t\t\t\t${r("border-radius",M(L(u,"desktop","radius")))}\n\t\t\t}\n\t\t\t${h}>svg{\n\t\t\t\t${r("height",u.size)}\n\t\t\t\t${r("width",u.size)}\n\t\t\t\t${r("fill",g)}\n\t\t\t}\n\t\t\t${x}{\n\t\t\t\twidth: calc(${p} + 10px);\n\t\t\t\theight: calc(${p} + 10px);\n\t\t\t\tcolor: ${g};\n\t\t\t\tfont-size: calc(${p} * 0.8);\n\t\t\t\t${d(u.bg)}\n\t\t\t\t${l(u.border)}\n\t\t\t\t${r("border-radius",M(L(u,"desktop","radius")))}\n\t\t\t}\n\t\t\t${z}{\n\t\t\t\twidth: calc(${p} * 0.45);\n\t\t\t\theight: calc(${p} * 0.45);\n\t\t\t\t${d(u.bg)}\n\t\t\t\t${l(u.border)}\n\t\t\t\t${r("border-radius",M(L(u,"desktop","radius")))}\n\t\t\t}\n\t\t\t${e}{\n\t\t\t\t${k}{\n\t\t\t\t\t${r("padding",M(L(o,"tablet","padding")))}\n\t\t\t\t\t${r("margin",M(L(o,"tablet","margin")))}\n\t\t\t\t\t${r("border-radius",M(L(o,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t\t${D}{\n\t\t\t\t\t${r("padding",M(L($,"tablet","padding")))}\n\t\t\t\t\t${r("margin",M(L($,"tablet","margin")))}\n\t\t\t\t\t${r("border-radius",M(L($,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t\t${h}{\n\t\t\t\t\t${r("padding",M(L(u,"tablet","padding")))}\n\t\t\t\t\t${r("margin",M(L(u,"tablet","margin")))}\n\t\t\t\t\t${r("border-radius",M(L(u,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t}\n\t\t\t${n}{\n\t\t\t\t${k}{\n\t\t\t\t\t${r("padding",M(L(o,"mobile","padding")))}\n\t\t\t\t\t${r("margin",M(L(o,"mobile","margin")))}\n\t\t\t\t\t${r("border-radius",M(L(o,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t\t${D}{\n\t\t\t\t\t${r("padding",M(L($,"mobile","padding")))}\n\t\t\t\t\t${r("margin",M(L($,"mobile","margin")))}\n\t\t\t\t\t${r("border-radius",M(L($,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t\t${h}{\n\t\t\t\t\t${r("padding",M(L(u,"mobile","padding")))}\n\t\t\t\t\t${r("margin",M(L(u,"mobile","margin")))}\n\t\t\t\t\t${r("border-radius",M(L(u,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t}\n\t\t\t${w(a,y,i,!1)}\n\t\t\t`}})},h=window.wp.i18n,x=["h2","h3","h4"],z=["check","numbered","bullet"],I=t=>(t||"").toString().replace(/<[^>]*>/g,"").trim(),T=({attributes:t})=>{const{heading:e={},list:n={},items:a=[]}=t,i=z.includes(n.style)?n.style:"check",o=x.includes(e.tag)?e.tag:"h3",s="numbered"===i?"ol":"ul",r=!1!==n.showIcon,d=(Array.isArray(a)?a:[]).filter((t=>I(t&&t.text))),l=["bBlocks-key-takeaways-wrapper",`bBlocks-key-takeaways-style-${i}`].filter(Boolean).join(" "),c=I(e.text)?e.text:(0,h.__)("Key Takeaways","b-blocks");return(0,N.jsxs)("div",{className:l,role:"region","aria-label":I(c),children:[(0,N.jsx)(o,{className:"bBlocks-key-takeaways-heading",dangerouslySetInnerHTML:{__html:c}}),(0,N.jsx)("div",{className:"bBlocks-key-takeaways-body",children:0===d.length?(0,N.jsx)("p",{className:"bBlocks-key-takeaways-empty",children:(0,h.__)("No takeaways to display.","b-blocks")}):(0,N.jsx)(s,{className:"bBlocks-key-takeaways-list",role:"list",children:d.map(((t,e)=>(0,N.jsxs)("li",{className:"bBlocks-key-takeaways-item",children:[r&&"check"===i&&(0,N.jsx)("span",{className:"bBlocks-key-takeaways-icon","aria-hidden":"true",dangerouslySetInnerHTML:{__html:t&&t.icon||""}}),r&&"numbered"===i&&(0,N.jsx)("span",{className:"bBlocks-key-takeaways-num","aria-hidden":"true"}),r&&"bullet"===i&&(0,N.jsx)("span",{className:"bBlocks-key-takeaways-bullet","aria-hidden":"true"}),(0,N.jsx)("span",{className:"bBlocks-key-takeaways-text",dangerouslySetInnerHTML:{__html:t&&t.text||""}})]},t&&t._key||e)))})})]})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-key-takeaways").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(D,{attributes:n,id:e.id}),(0,N.jsx)(T,{attributes:n})]})),e?.removeAttribute("data-attributes")}))}))})(); | |
| 1 | +(()=>{"use strict";const t=window.ReactDOM,e="@media only screen and (min-width: 1025px)",n="@media only screen and (max-width: 1024px)",i="@media only screen and (max-width: 640px)",o="linear-gradient(135deg, #0040E3, #18D4FD)",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),r=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,i=n.toLowerCase(),o=e.value;if(this.options.removeEvents&&i.startsWith("on"))return void t.removeAttribute(n);if(this.options.removeExternalResources&&("href"===i||i.endsWith(":href"))&&!this.isAllowedUrl(o))return void t.removeAttribute(n);const a=i.replace("xlink:","");this.allowedAttributeSet.has(i)||this.allowedAttributeSet.has(a)?this.options.removeExternalResources&&this.hasExternalUrl(o)?t.removeAttribute(n):"style"===i&&this.options.sanitizeStyle&&t.setAttribute(n,this.sanitizeCss(o)):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")}},window.React;const s=t=>{const e=r(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,e)=>a(e)?`${t}: ${e};`:"",d=(t,e=!0,n=!0,i=!0)=>{const{type:a="solid",color:r="",gradient:d=o,image:c={},position:p="center center",attachment:u="",repeat:$="no-repeat",size:m="",overlayColor:y=""}=t||{};return"gradient"===a&&n?l("background",d):"image"===a&&i?`background: ${s(c?.url)};\n\t\t\t\t${l("background-color",y)}\n\t\t\t\t${l("background-position",p)}\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",u)}\n\t\t\t\t${l("background-repeat",$)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&l("background",r)},c=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:i="0px"}=t;return`${i} ${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))},p=(t,e,o=!0)=>{const{fontFamily:a="Default",fontCategory:r="sans-serif",fontVariant:s=400,fontWeight:d,isUploadFont:c=!0,fontSize:p={desktop:null,tablet:null,mobile:null},fontStyle:u,textTransform:$,textDecoration:m,lineHeight:y,letterSpace:g}=e||{},M=!o||!a||"Default"===a,b=p?.desktop||p,h=p?.tablet||b,w=p?.mobile||h,x=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},k=`\n\t\t${M?"":`font-family: '${a}', ${r};`}\n\t\t${l("font-weight",d)}\n\t\t${l("font-size",x(b))}\n\t\t${l("font-style",u)}\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",g)}\n\t`,f=s&&400!==s?"400i"===s?":ital@1":s?.includes("00i")?`: ital, wght@1, ${s?.replace("00i","00")} `:`: wght@${s} `:"",j=M?"":`https://fonts.googleapis.com/css2?family=${a?.split(" ").join("+")}${f.replace(/ /g,"")}&display=swap`;return{googleFontLink:!c||M?"":`@import url(${j});`,styles:`${t}{\n\t\t\t${k}\n\t\t}\n\t\t${n} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",x(h))}\n\t\t\t}\n\t\t}\n\t\t${i} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",x(w))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},u=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:e="center center",xPosition:n=0,yPosition:i=0,attachment:o="",repeat:r="no-repeat",size:s="cover",customSize:l="0px"}=t||{},d=t=>"initial"!==t||a(t);return`\n\t\t${d(e)?`background-position: ${"custom"===e?`${n} ${i}`:e};`:""}\n\t\t${o&&d(o)?`background-attachment: ${o};`:""}\n\t\t${d(r)?`background-repeat: ${r};`:""}\n\t\t${d(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},m=(t={})=>t?{desktop:a(t.url)?`background-image: ${s(t.url)}; ${$(t?.desktop)}`:"",tablet:a(t.url)?$(t?.tablet):"",mobile:a(t.url)?$(t?.mobile):""}:"",y=(t,e,o=!1)=>{const{type:s="color",color:d,gradient:c,img:p,video:u}=t||{},$="color"===s?l("background",d):"gradient"===s?(t=>{const{type:e="linear",radialType:n="ellipse",colors:i=[],centerPositions:o={x:0,y:0},angel:r=0}=t||{};if(a(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),a=`linear-gradient(${r}deg, ${t})`;return l("background","radial"===e?`radial-gradient(${n} at ${o?.x}% ${o?.y}%,${t})`:a)}return""})(c):"image"===s?m(p).desktop:"",y="image"===s?m(p).tablet:"",g="image"===s?m(p).mobile:"",M=o?`${e}:hover`:e;return`\n\t\t${"video"===s?((t,e)=>{const{url:n,loop:i}=t||{},o=document.querySelector(e),a=o?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!a&&o&&n){ | |
| 2 | +const t=r(n);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),o.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}`})(u,e):""}\n\n\t\t${$?`${M}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${y?`${n} {\n\t\t\t${M}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g?`${i} {\n\t\t\t${M}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},g=(t,e,n=!1)=>{const{isEnabled:i,colors:o,opacity:r=1,blend:s,filter:d="",blur:c=0,brightness:p=100,contrast:u=100,saturation:$=100,hue:m=0,position:g={top:0,right:0,bottom:0,left:0},zIndex:M=-1}=t||{},b=`${100!==p?`brightness(${p}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==c?`blur(${c}px)`:""} ${0!==m?`hue-rotate(${m}deg)`:""}`,h=`${d}: ${d?b:""}; -webkit-${d}: ${d?b:""};`,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:${a(g.top)?g.top:0};\n\t\t\tright:${a(g.right)?g.right:0};\n\t\t\tbottom:${a(g.bottom)?g.bottom:0};\n\t\t\tleft:${a(g.left)?g.left:0};\n\t\t\tz-index:${M};\n\t\t}\n\t\t${y(o,w,!1)}\n\t\t${w}{\n\t\t\t${l("opacity",r)}\n\t\t\t${l("mix-blend-mode",s)}\n\t\t\t${h}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},M=(t,e,o=!1)=>{const r=(t,e="desktop")=>{if(!a(t))return"";const{skew:n,scale:i,rotate:o,offset:r,flipX:s,flipY:d}=t,{threeDRotate:c}=o||{},{isProportion:p}=i||{},u=[];return a(n)&&(a(n?.[e]?.x)&&u.push(`skewX(${n[e].x}deg)`),a(n?.[e]?.y)&&u.push(`skewY(${n[e].y}deg)`)),p?a(i?.[e]?.scale)&&u.push(`scale(${i[e].scale})`):(a(i?.[e]?.x)&&u.push(`scaleX(${i[e].x})`),a(i?.[e]?.y)&&u.push(`scaleY(${i[e].y})`)),a(o)&&(a(o?.[e]?.z)&&u.push(`rotateZ(${o[e].z}deg)`),c&&(a(o?.[e]?.x)&&u.push(`rotateX(${o[e].x}deg)`),a(o?.[e]?.y)&&u.push(`rotateY(${o[e].y}deg)`))),a(r)&&(a(r?.[e]?.x)&&u.push(`translateX(${r[e].x})`),a(r?.[e]?.y)&&u.push(`translateY(${r[e].y})`)),a(s)&&u.push(s?"scaleX(-1)":""),a(d)&&u.push(d?"scaleY(-1)":""),0===u.length?"":l("transform",u.join(" "))},s=o?`${e}:hover`:e;return`\n\t\t${s} {\n\t\t\t${r(t,"desktop")}\n\t\t}\n\t\t${n}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${i}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},b=t=>{const{padding:e,margin:n,height:i,width:o}=t||{},a=(t,e)=>l(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=>l("padding",u(t)),d=t=>l("margin",u(t));return{desktop:s(e?.desktop)+d(n?.desktop)+r("height",i,"desktop")+r("width",o,"desktop"),tablet:s(e?.tablet)+d(n?.tablet)+r("height",i,"tablet")+r("width",o,"tablet"),mobile:s(e?.mobile)+d(n?.mobile)+r("height",i,"mobile")+r("width",o,"mobile")}},h=t=>{const{normal:e,hover:n}=t||{},i=t=>{const{border:e,radius:n,shadow:i}=t||{},o=l("border-radius",u(n)),a=l("box-shadow",((t,e="box")=>{let n="";return t?.map(((i,o)=>{const{hOffset:a="0px",vOffset:r="0px",blur:s="0px",spreed:l="0px",color:d="#e7f0fe",isInset:c=!1}=i||{},p=c?"inset":"",u=`${a} ${r} ${s}`,$=o+1>=t.length?"":", ";n+="text"===e?`${u} ${d}${$}`:`${u} ${l} ${d} ${p}${$}`})),n||""})(i,"box"));return c(e)+o+a};return{normal:i(e),hover:i(n)}},w=t=>{const{zIndex:e,overflow:n}=t||{},i=n?`overflow: ${n};`:"",o=t=>`${l("z-index",e?.[t])} ${l("position",a(e?.[t])?"relative":"")}`;return{desktop:o("desktop")+i,tablet:o("tablet"),mobile:o("mobile")}},x=(t,e)=>{const{desktop:n=!1,tablet:i=!1,mobile:o=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",r=t=>t?a:"";return{desktop:r(n),tablet:r(i),mobile:r(o)}},k=(t,o,r=!1,d=!0)=>{const{dimension:c,transform:p,background:u,borderShadow:$,mask:m,animation:k,visibility:f,responsive:j,position:N={},floating:L={},motion:D={},css:z=""}=o||{},v=r?`#${t}>div>div${d?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const i=n?`#${e} > div`:`#${e}`,o=document.querySelector(i);o&&t&&t.type&&(o.setAttribute("data-aos",t.type),o.setAttribute("data-aos-duration",1e3*t.duration||.4),o.setAttribute("data-aos-delay",1e3*t.delay||0),o.classList.contains("aos-init")||(o.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?o.classList.add("aos-animate"):o.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(o)})(k,t,r);const T=b(c).desktop+w(f).desktop+((t,e,n)=>{const{transition:i=.4}=t||{},{transition:o=.4}=e||{},{transition:a=200}=n||{};return`transition: background ${i}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${a}ms ease-in-out;`})(u,$,p)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:i={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?s(n.url):`url(${(r=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{ | |
| 3 | +svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===r))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===o.type?`${l("-webkit-mask-position-x",o.x)}\n\t\t\t${l("-webkit-mask-position-y",o.y)}`:`${l("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${a};`:""}`:"";var r})(m),S=b(c).tablet+w(f).tablet+x(j,r).tablet,I=b(c).mobile+w(f).mobile+x(j,r).mobile,A=h($).normal,E=h($).hover,O=x(j,r).desktop;return`\n\t\t${T||A?`${v} {\n\t\t\t${T}\n\t\t\t${A}\n\t\t}`:""}\n\t\t${E?`${v}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${O?`${e} {\n\t\t\t${v}{\n\t\t\t\t${O}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${n} {\n\t\t\t${v}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${i} {\n\t\t\t${v}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y(u?.normal,v)}\n\t\t${y(u?.hover,v,!0)}\n\t\t${g(u?.overlay,v)}\n\t\t${g(u?.hoverOverlay,v,!0)}\n\t\t${a(p?.normal)?M(p?.normal,v):""}\n\t\t${a(p?.hover)?M(p?.hover,v,!0):""}\n\t\t${((t,e)=>{const{desktop:o={},tablet:a={},mobile:r={}}=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${o?.type?s(o):""}\n\t\t\n\t\t${n}{\n\t\t\t${a?.type?s(a):""}\n\t\t}\n\n\t\t${i}{\n\t\t\t${r?.type?s(r):""}\n\t\t}\n\t`})(N,v)}\n\t\t${((t,e,n="")=>{const{translate:i={},rotate:o={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],d=[];return[{name:"Translate",property:"translate",values:i,value:t=>["x","y"].some((e=>a(i?.[e]?.[t])))?`${i?.x?.[t]||0}px ${i?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:o,value:t=>["x","y","z"].filter((e=>a(o?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${o[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:r,value:t=>{const e=r?.y?.[t],n=r?.z?.[t];return a(e)||a(n)?a(n)?`1 ${a(e)?e:1} ${n}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:i,value:o})=>{const a=o("from"),r=o("to");if(!a||!r)return;const s=Number(i?.duration)>0?Number(i.duration):1e3,c=Number(i?.delay)>0?Number(i.delay):0,p=`advFloat${t}${n?`-${n}`:""}`;l.push(`@keyframes ${p}{ from{ ${e}: ${a}; } to{ ${e}: ${r}; } }`),d.push(`${p} ${s}ms ease-in-out ${c}ms infinite alternate`)})),d.length?`\n\t\t${l.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${d.join(", ")};\n\t\t}\n\t`:""})(L,v,t)}\n\t\t${((t,o,r)=>{const{isEnable:s=!1,vertical:l={},horizontal:d={},transparency:c={},blur:p={},rotate:u={},scale:$={},effectsRelativeTo:m="viewport",effectOn:y=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:g=!1,mouseTrack:M={},tilt:b={},sticky:h={}}=t||{},w=(t,e)=>a(t)&&!isNaN(t)?Number(t):e,x="viewport"===m,k=x?"view()":"scroll(nearest block)",f=[],j=[],N=[],L=[],D=String(r??"").replace(/[^a-zA-Z0-9]/g,""),z=(t,e,n)=>{f.push(`@keyframes advMe${t}${D}{ ${e} }`),j.push(`advMe${t}${D}`),N.push(k),L.push((t=>{const e=w(t?.top,0),n=w(t?.bottom,100),i=Math.min(e,n),o=Math.max(e,n);return x?`cover ${i}% ${o>=90?"contain 100%":`cover ${o}%`}`:`min(${3*i}vh, ${i}%) min(${3*o}vh, ${o}%)`})(n))};if(s){const t=l?.direction,e=d?.direction,n=t?100*w(l?.speed,4):0,i=e?100*w(d?.speed,4):0;if(n||i){const o="up"===t?-n:n,a="to-left"===e?-i:i,r=[n&&l,i&&d].filter(Boolean);z("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${o}px; }`,{top:Math.min(...r.map((t=>w(t?.top,0)))),bottom:Math.max(...r.map((t=>w(t?.bottom,100))))})}const o=c?.direction;if(o){const t=Math.max(0,1-w(c?.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}; }`}[o];e&&z("Opacity",e,c)}const a=p?.direction;if(a){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); }`}[a];e&&z("Blur",e,p)}const r=u?.direction;if(r){const t=20*w(u?.level,4);z("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===r?-t:t}deg; }`,u)}if($?.direction){const t=.15*w($?.level,4),e=Math.max(0,1-t),n=1+t,i={"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];i&&z("Scale",i,$)}}const v=[];if(g){if(M?.direction){const t="direct"===M?.direction?100:-100;v.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(b?.direction){const t=12*("direct"===b?.direction?1:-1);v.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const T=(t,e,n)=>{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(o)||{x:0,y:0};if(r.rate=e,r.build=n,a.items.set(o,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,d=a.y-e.y,c=Math.sqrt(l*l+d*d);c<=s?(e.x=a.x,e.y=a.y):(e.x+=l/c*s,e.y+=d/c*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(M?.speed,w(b?.speed,4))),e=(t,e)=>v.map((n=>n(t,e))).join(" ");T(document,t,e),T(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const S=t=>h?.[t]||("desktop"===t?h?.undefined:""),I=o.split(">")[0],A=t=>{const e=S(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?S("desktop"):"mobile"===t?S("tablet")||S("desktop"):"")(t)?"position: static;":""},E=Array.isArray(y)?y:a(y)?[y]:[],O=t=>!E.length||E.includes(t)?"":`${o}{ animation-name: none; }`;return`\n\t\t${j.length?`\n\t\t${f.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${o}{\n\t\t\t\tanimation-name: ${j.join(", ")};\n\t\t\t\tanimation-duration: ${j.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${j.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${j.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${j.map((()=>x?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${N.join(", ")};\n\t\t\t\tanimation-range: ${L.join(", ")};\n\t\t\t}\n\t\t\t${O("desktop")?`${e}{ ${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")?`${i}{ ${O("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${v.length?`${o}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${I}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${n}{ ${I}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${i}{ ${I}{ ${A("mobile")} } }`:""}\n\t`})(D,v,t)}\n\t\t${z}\n\t`.replace(/\s+/g," ")},f=window.ReactJSXRuntime,j=(t,e,n)=>{if(t){if(t[e]&&void 0!==t[e][n])return t[e][n];if("radius"===n){if(t[e]&&void 0!==t[e].borderRadius)return t[e].borderRadius;if(void 0!==t.radius)return t.radius | |
| 4 | +;if(void 0!==t.borderRadius)return t.borderRadius}return void 0!==t[n]?t[n]:void 0}},N=({attributes:t,id:e,isBackend:o=!1})=>{const{heading:a={},list:r={},icon:s={},item:$={},advanced:m}=t,y=s.color||"#ffffff",g=s.size||"18px",M=$.typography?.fontSize?.desktop||"16px",b=`#${e} .bBlocks-key-takeaways-wrapper`,h=`${b} .bBlocks-key-takeaways-heading`,w=`${b} .bBlocks-key-takeaways-list`,x=`${b} .bBlocks-key-takeaways-item`,N=`${b} .bBlocks-key-takeaways-icon`,L=`${b} .bBlocks-key-takeaways-num`,D=`${b} .bBlocks-key-takeaways-bullet`;return(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${p("",a.typography).googleFontLink}\n\t\t\t${p("",$.typography).googleFontLink}\n\t\t\t${p(h,a.typography).styles}\n\t\t\t${h}{\n\t\t\t\t${l("color",a.color)}\n\t\t\t\t${d(a.bg)}\n\t\t\t\t${l("padding",u(j(a,"desktop","padding")))}\n\t\t\t\t${l("margin",u(j(a,"desktop","margin")))}\n\t\t\t\t${c(a.border)}\n\t\t\t\t${l("border-radius",u(j(a,"desktop","radius")))}\n\t\t\t}\n\t\t\t${w}{\n\t\t\t\t${l("gap","number"==typeof r.gap?`${r.gap}px`:r.gap||"10px")}\n\t\t\t}\n\t\t\t${p(x,$.typography).styles}\n\t\t\t${x}{\n\t\t\t\t${l("color",$.color)}\n\t\t\t\t${d($.bg)}\n\t\t\t\t${l("padding",u(j($,"desktop","padding")))}\n\t\t\t\t${l("margin",u(j($,"desktop","margin")))}\n\t\t\t\t${c($.border)}\n\t\t\t\t${l("border-radius",u(j($,"desktop","radius")))}\n\t\t\t}\n\t\t\t${N}{\n\t\t\t\tcolor: ${y};\n\t\t\t\tfont-size: ${g};\n\t\t\t\tmin-height: calc(${M} * 1.5);\n\t\t\t\t${d(s.bg)}\n\t\t\t\t${l("padding",u(j(s,"desktop","padding")))}\n\t\t\t\t${l("margin",u(j(s,"desktop","margin")))}\n\t\t\t\t${c(s.border)}\n\t\t\t\t${l("border-radius",u(j(s,"desktop","radius")))}\n\t\t\t}\n\t\t\t${N}>svg{\n\t\t\t\t${l("height",s.size)}\n\t\t\t\t${l("width",s.size)}\n\t\t\t\t${l("fill",y)}\n\t\t\t}\n\t\t\t${L}{\n\t\t\t\twidth: calc(${g} + 10px);\n\t\t\t\theight: calc(${g} + 10px);\n\t\t\t\tcolor: ${y};\n\t\t\t\tfont-size: calc(${g} * 0.8);\n\t\t\t\t${d(s.bg)}\n\t\t\t\t${c(s.border)}\n\t\t\t\t${l("border-radius",u(j(s,"desktop","radius")))}\n\t\t\t}\n\t\t\t${D}{\n\t\t\t\twidth: calc(${g} * 0.45);\n\t\t\t\theight: calc(${g} * 0.45);\n\t\t\t\t${d(s.bg)}\n\t\t\t\t${c(s.border)}\n\t\t\t\t${l("border-radius",u(j(s,"desktop","radius")))}\n\t\t\t}\n\t\t\t${n}{\n\t\t\t\t${h}{\n\t\t\t\t\t${l("padding",u(j(a,"tablet","padding")))}\n\t\t\t\t\t${l("margin",u(j(a,"tablet","margin")))}\n\t\t\t\t\t${l("border-radius",u(j(a,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t\t${x}{\n\t\t\t\t\t${l("padding",u(j($,"tablet","padding")))}\n\t\t\t\t\t${l("margin",u(j($,"tablet","margin")))}\n\t\t\t\t\t${l("border-radius",u(j($,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t\t${N}{\n\t\t\t\t\t${l("padding",u(j(s,"tablet","padding")))}\n\t\t\t\t\t${l("margin",u(j(s,"tablet","margin")))}\n\t\t\t\t\t${l("border-radius",u(j(s,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t}\n\t\t\t${i}{\n\t\t\t\t${h}{\n\t\t\t\t\t${l("padding",u(j(a,"mobile","padding")))}\n\t\t\t\t\t${l("margin",u(j(a,"mobile","margin")))}\n\t\t\t\t\t${l("border-radius",u(j(a,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t\t${x}{\n\t\t\t\t\t${l("padding",u(j($,"mobile","padding")))}\n\t\t\t\t\t${l("margin",u(j($,"mobile","margin")))}\n\t\t\t\t\t${l("border-radius",u(j($,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t\t${N}{\n\t\t\t\t\t${l("padding",u(j(s,"mobile","padding")))}\n\t\t\t\t\t${l("margin",u(j(s,"mobile","margin")))}\n\t\t\t\t\t${l("border-radius",u(j(s,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t}\n\t\t\t${k(e,m,o,!1)}\n\t\t\t`}})},L=window.wp.i18n,D=["h2","h3","h4"],z=["check","numbered","bullet"],v=t=>(t||"").toString().replace(/<[^>]*>/g,"").trim(),T=({attributes:t})=>{const{heading:e={},list:n={},items:i=[]}=t,o=z.includes(n.style)?n.style:"check",a=D.includes(e.tag)?e.tag:"h3",r="numbered"===o?"ol":"ul",s=!1!==n.showIcon,l=(Array.isArray(i)?i:[]).filter((t=>v(t&&t.text))),d=["bBlocks-key-takeaways-wrapper",`bBlocks-key-takeaways-style-${o}`].filter(Boolean).join(" "),c=v(e.text)?e.text:(0,L.__)("Key Takeaways","b-blocks");return(0,f.jsxs)("div",{className:d,role:"region","aria-label":v(c),children:[(0,f.jsx)(a,{className:"bBlocks-key-takeaways-heading",dangerouslySetInnerHTML:{__html:c}}),(0,f.jsx)("div",{className:"bBlocks-key-takeaways-body",children:0===l.length?(0,f.jsx)("p",{className:"bBlocks-key-takeaways-empty",children:(0,L.__)("No takeaways to display.","b-blocks")}):(0,f.jsx)(r,{className:"bBlocks-key-takeaways-list",role:"list",children:l.map(((t,e)=>(0,f.jsxs)("li",{className:"bBlocks-key-takeaways-item",children:[s&&"check"===o&&(0,f.jsx)("span",{className:"bBlocks-key-takeaways-icon","aria-hidden":"true",dangerouslySetInnerHTML:{__html:t&&t.icon||""}}),s&&"numbered"===o&&(0,f.jsx)("span",{className:"bBlocks-key-takeaways-num","aria-hidden":"true"}),s&&"bullet"===o&&(0,f.jsx)("span",{className:"bBlocks-key-takeaways-bullet","aria-hidden":"true"}),(0,f.jsx)("span",{className:"bBlocks-key-takeaways-text",dangerouslySetInnerHTML:{__html:t&&t.text||""}})]},t&&t._key||e)))})})]})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-key-takeaways").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(N,{attributes:n,id:e.id}),(0,f.jsx)(T,{attributes:n})]})),e?.removeAttribute("data-attributes")}))}))})(); | |