PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
← All changes | build/key-takeaways/view.js +4 -1 2.1.7 → 2.1.8 View file →
@@ -1 +1,4 @@
1 -(()=>{"use strict";const t=window.ReactDOM,e="@media only screen and (min-width: 1025px)",n="@media only screen and (max-width: 1024px)",o="@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),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}};window.React;const s=t=>{const e=r(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,e)=>i(e)?`${t}: ${e};`:"",d=(t,e=!0,n=!0,o=!0)=>{const{type:i="solid",color:r="",gradient:d=a,image:c={},position:$="center center",attachment:u="",repeat:p="no-repeat",size:y="",overlayColor:m=""}=t||{};return"gradient"===i&&n?l("background",d):"image"===i&&o?`background: ${s(c?.url)};\n\t\t\t\t${l("background-color",m)}\n\t\t\t\t${l("background-position",$)}\n\t\t\t\t${l("background-size",y)}\n\t\t\t\t${l("background-repeat",p)}\n\t\t\t\t${l("background-attachment",u)}\n\t\t\t\t${l("background-repeat",p)}\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: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))},$=(t,e,a=!0)=>{const{fontFamily:i="Default",fontCategory:r="sans-serif",fontVariant:s=400,fontWeight:d,isUploadFont:c=!0,fontSize:$={desktop:null,tablet:null,mobile:null},fontStyle:u,textTransform:p,textDecoration:y,lineHeight:m,letterSpace:M}=e||{},b=!a||!i||"Default"===i,g=$?.desktop||$,k=$?.tablet||g,j=$?.mobile||k,x=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${b?"":`font-family: '${i}', ${r};`}\n\t\t${l("font-weight",d)}\n\t\t${l("font-size",x(g))}\n\t\t${l("font-style",u)}\n\t\t${l("text-transform",p)}\n\t\t${l("text-decoration",y)}\n\t\t${l("line-height",m)}\n\t\t${l("letter-spacing",M)}\n\t`,N=s&&400!==s?"400i"===s?":ital@1":s?.includes("00i")?`: ital, wght@1, ${s?.replace("00i","00")} `:`: wght@${s} `:"",h=b?"":`https://fonts.googleapis.com/css2?family=${i?.split(" ").join("+")}${N.replace(/ /g,"")}&display=swap`;return{googleFontLink:!c||b?"":`@import url(${h});`,styles:`${t}{\n\t\t\t${w}\n\t\t}\n\t\t${n} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",x(k))}\n\t\t\t}\n\t\t}\n\t\t${o} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",x(j))}\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""},p=t=>{const{position:e="center center",xPosition:n=0,yPosition:o=0,attachment:a="",repeat:r="no-repeat",size:s="cover",customSize:l="0px"}=t||{},d=t=>"initial"!==t||i(t);return`\n\t\t${d(e)?`background-position: ${"custom"===e?`${n} ${o}`:e};`:""}\n\t\t${a&&d(a)?`background-attachment: ${a};`:""}\n\t\t${d(r)?`background-repeat: ${r};`:""}\n\t\t${d(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},y=(t={})=>t?{desktop:i(t.url)?`background-image: ${s(t.url)}; ${p(t?.desktop)}`:"",tablet:i(t.url)?p(t?.tablet):"",mobile:i(t.url)?p(t?.mobile):""}:"",m=(t,e,a=!1)=>{const{type:s="color",color:d,gradient:c,img:$,video:u}=t||{},p="color"===s?l("background",d):"gradient"===s?(t=>{const{type:e="linear",radialType:n="ellipse",colors:o=[],centerPositions:a={x:0,y:0},angel:r=0}=t||{};if(i(t)){const t=o?.map((({color:t,position:e})=>`${t} ${e}%`)),i=`linear-gradient(${r}deg, ${t})`;return l("background","radial"===e?`radial-gradient(${n} at ${a?.x}% ${a?.y}%,${t})`:i)}return""})(c):"image"===s?y($).desktop:"",m="image"===s?y($).tablet:"",M="image"===s?y($).mobile:"",b=a?`${e}:hover`:e;return`\n\t\t${"video"===s?((t,e)=>{const{url:n,loop:o}=t||{},a=document.querySelector(e),i=a?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!i&&a&&n){const t=r(n);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),a.appendChild(s)}}return s.loop=o,s.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(u,e):""}\n\n\t\t${p?`${b}{\n\t\t\t${p}\n\t\t}`:""}\n\n\t\t${m?`${n} {\n\t\t\t${b}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${M?`${o} {\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,e,n=!1)=>{const{isEnabled:o,colors:a,opacity:r=1,blend:s,filter:d="",blur:c=0,brightness:$=100,contrast:u=100,saturation:p=100,hue:y=0,position:M={top:0,right:0,bottom:0,left:0},zIndex:b=-1}=t||{},g=`${100!==$?`brightness(${$}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==p?`saturate(${p}%)`:""} ${0!==c?`blur(${c}px)`:""} ${0!==y?`hue-rotate(${y}deg)`:""}`,k=`${d}: ${d?g:""}; -webkit-${d}: ${d?g:""};`,j=n?`${e}:hover::after`:`${e}::after`;return o?`\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(M.top)?M.top:0};\n\t\t\tright:${i(M.right)?M.right:0};\n\t\t\tbottom:${i(M.bottom)?M.bottom:0};\n\t\t\tleft:${i(M.left)?M.left:0};\n\t\t\tz-index:${b};\n\t\t}\n\t\t${m(a,j,!1)}\n\t\t${j}{\n\t\t\t${l("opacity",r)}\n\t\t\t${l("mix-blend-mode",s)}\n\t\t\t${k}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},b=(t,e,a=!1)=>{const r=(t,e="desktop")=>{if(!i(t))return"";const{skew:n,scale:o,rotate:a,offset:r,flipX:s,flipY:d}=t,{threeDRotate:c}=a||{},{isProportion:$}=o||{},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)`)),$?i(o?.[e]?.scale)&&u.push(`scale(${o[e].scale})`):(i(o?.[e]?.x)&&u.push(`scaleX(${o[e].x})`),i(o?.[e]?.y)&&u.push(`scaleY(${o[e].y})`)),i(a)&&(i(a?.[e]?.z)&&u.push(`rotateZ(${a[e].z}deg)`),c&&(i(a?.[e]?.x)&&u.push(`rotateX(${a[e].x}deg)`),i(a?.[e]?.y)&&u.push(`rotateY(${a[e].y}deg)`))),i(r)&&(i(r?.[e]?.x)&&u.push(`translateX(${r[e].x})`),i(r?.[e]?.y)&&u.push(`translateY(${r[e].y})`)),i(s)&&u.push(s?"scaleX(-1)":""),i(d)&&u.push(d?"scaleY(-1)":""),0===u.length?"":l("transform",u.join(" "))},s=a?`${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${o}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},g=t=>{const{padding:e,margin:n,height:o,width:a}=t||{},i=(t,e)=>l(t,e),r=(t,e,n)=>i(t,e?.[t]?.[n])+i(`min-${t}`,e?.min?.[n])+i(`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",o,"desktop")+r("width",a,"desktop"),tablet:s(e?.tablet)+d(n?.tablet)+r("height",o,"tablet")+r("width",a,"tablet"),mobile:s(e?.mobile)+d(n?.mobile)+r("height",o,"mobile")+r("width",a,"mobile")}},k=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},a=l("border-radius",u(n)),i=l("box-shadow",((t,e="box")=>{let n="";return t?.map(((o,a)=>{const{hOffset:i="0px",vOffset:r="0px",blur:s="0px",spreed:l="0px",color:d="#e7f0fe",isInset:c=!1}=o||{},$=c?"inset":"",u=`${i} ${r} ${s}`,p=a+1>=t.length?"":", ";n+="text"===e?`${u} ${d}${p}`:`${u} ${l} ${d} ${$}${p}`})),n||""})(o,"box"));return c(e)+a+i};return{normal:o(e),hover:o(n)}},j=t=>{const{zIndex:e,overflow:n}=t||{},o=n?`overflow: ${n};`:"",a=t=>`${l("z-index",e?.[t])} ${l("position",i(e?.[t])?"relative":"")}`;return{desktop:a("desktop")+o,tablet:a("tablet"),mobile:a("mobile")}},x=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:a=!1}=t||{},i=e?"opacity: 0.5;":"display: none;",r=t=>t?i:"";return{desktop:r(n),tablet:r(o),mobile:r(a)}},w=(t,a,r=!1,d=!0)=>{const{dimension:c,transform:$,background:u,borderShadow:p,mask:y,animation:w,visibility:N,responsive:h,position:L={},floating:f={},motion:D={},css:z=""}=a||{},v=r?`#${t}>div>div${d?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const o=n?`#${e} > div`:`#${e}`,a=document.querySelector(o);a&&t&&t.type&&(a.setAttribute("data-aos",t.type),a.setAttribute("data-aos-duration",1e3*t.duration||.4),a.setAttribute("data-aos-delay",1e3*t.delay||0),a.classList.contains("aos-init")||(a.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?a.classList.add("aos-animate"):a.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(a)})(w,t,r);const T=g(c).desktop+j(N).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:a=.4}=e||{},{transition:i=200}=n||{};return`transition: background ${o}s, border ${a}s, border-radius ${a}s, box-shadow ${a}s, transform ${i}ms ease-in-out;`})(u,p,$)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:o={type:"contain",scale:"100%"},position:a={type:"center center",x:50,y:50},repeat:i="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,PHN2Z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===r))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===o.type?o.scale:o.type};\n\t\t${"custom"===a.type?`${l("-webkit-mask-position-x",a.x)}\n\t\t\t${l("-webkit-mask-position-y",a.y)}`:`${l("-webkit-mask-position",a.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${i};`:""}`:"";var r})(y),I=g(c).tablet+j(N).tablet+x(h,r).tablet,S=g(c).mobile+j(N).mobile+x(h,r).mobile,O=k(p).normal,E=k(p).hover,Y=x(h,r).desktop;return`\n\t\t${T||O?`${v} {\n\t\t\t${T}\n\t\t\t${O}\n\t\t}`:""}\n\t\t${E?`${v}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${Y?`${e} {\n\t\t\t${v}{\n\t\t\t\t${Y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${n} {\n\t\t\t${v}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${o} {\n\t\t\t${v}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m(u?.normal,v)}\n\t\t${m(u?.hover,v,!0)}\n\t\t${M(u?.overlay,v)}\n\t\t${M(u?.hoverOverlay,v,!0)}\n\t\t${i($?.normal)?b($?.normal,v):""}\n\t\t${i($?.hover)?b($?.hover,v,!0):""}\n\t\t${((t,e)=>{const{desktop:a={},tablet:i={},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${a?.type?s(a):""}\n\t\t\n\t\t${n}{\n\t\t\t${i?.type?s(i):""}\n\t\t}\n\n\t\t${o}{\n\t\t\t${r?.type?s(r):""}\n\t\t}\n\t`})(L,v)}\n\t\t${((t,e,n="")=>{const{translate:o={},rotate:a={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],d=[];return[{name:"Translate",property:"translate",values:o,value:t=>["x","y"].some((e=>i(o?.[e]?.[t])))?`${o?.x?.[t]||0}px ${o?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:a,value:t=>["x","y","z"].filter((e=>i(a?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${a[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:r,value:t=>{const e=r?.y?.[t],n=r?.z?.[t];return i(e)||i(n)?i(n)?`1 ${i(e)?e:1} ${n}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:o,value:a})=>{const i=a("from"),r=a("to");if(!i||!r)return;const s=Number(o?.duration)>0?Number(o.duration):1e3,c=Number(o?.delay)>0?Number(o.delay):0,$=`advFloat${t}${n?`-${n}`:""}`;l.push(`@keyframes ${$}{ from{ ${e}: ${i}; } to{ ${e}: ${r}; } }`),d.push(`${$} ${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`:""})(f,v,t)}\n\t\t${((t,a,r)=>{const{isEnable:s=!1,vertical:l={},horizontal:d={},transparency:c={},blur:$={},rotate:u={},scale:p={},effectsRelativeTo:y="viewport",effectOn:m=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:M=!1,mouseTrack:b={},tilt:g={},sticky:k={}}=t||{},j=(t,e)=>i(t)&&!isNaN(t)?Number(t):e,x="viewport"===y,w=x?"view()":"scroll(nearest block)",N=[],h=[],L=[],f=[],D=String(r??"").replace(/[^a-zA-Z0-9]/g,""),z=(t,e,n)=>{N.push(`@keyframes advMe${t}${D}{ ${e} }`),h.push(`advMe${t}${D}`),L.push(w),f.push((t=>{const e=j(t?.top,0),n=j(t?.bottom,100),o=Math.min(e,n),a=Math.max(e,n);return x?`cover ${o}% ${a>=90?"contain 100%":`cover ${a}%`}`:`min(${3*o}vh, ${o}%) min(${3*a}vh, ${a}%)`})(n))};if(s){const t=l?.direction,e=d?.direction,n=t?100*j(l?.speed,4):0,o=e?100*j(d?.speed,4):0;if(n||o){const a="up"===t?-n:n,i="to-left"===e?-o:o,r=[n&&l,o&&d].filter(Boolean);z("Translate",`from{ translate: 0px 0px; } to{ translate: ${i}px ${a}px; }`,{top:Math.min(...r.map((t=>j(t?.top,0)))),bottom:Math.max(...r.map((t=>j(t?.bottom,100))))})}const a=c?.direction;if(a){const t=Math.max(0,1-j(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}; }`}[a];e&&z("Opacity",e,c)}const i=$?.direction;if(i){const t=3*j($?.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); }`}[i];e&&z("Blur",e,$)}const r=u?.direction;if(r){const t=20*j(u?.level,4);z("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===r?-t:t}deg; }`,u)}if(p?.direction){const t=.15*j(p?.level,4),e=Math.max(0,1-t),n=1+t,o={"scale-up":`from{ scale: 1; } to{ scale: ${n}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${n}; } 100%{ scale: 1; }`}[p.direction];o&&z("Scale",o,p)}}const v=[];if(M){if(b?.direction){const t="direct"===b?.direction?100:-100;v.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(g?.direction){const t=12*("direct"===g?.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 o=t.defaultView,i=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),r=i.items.get(a)||{x:0,y:0};if(r.rate=e,r.build=n,i.items.set(a,r),i.bound)return;i.bound=!0;const s=e=>{const n=i.last?Math.min(e-i.last,100):16.7;i.last=e;let a=!1;i.items.forEach(((e,o)=>{const r=e.el&&e.el.isConnected?e.el:t.querySelector(o);if(!r)return;e.el=r;const s=e.rate*n/1e3,l=i.x-e.x,d=i.y-e.y,c=Math.sqrt(l*l+d*d);c<=s?(e.x=i.x,e.y=i.y):(e.x+=l/c*s,e.y+=d/c*s,a=!0),r.style.transform=e.build(e.x,e.y)})),i.frame=a?o.requestAnimationFrame(s):0,i.last=a?e:0};t.addEventListener("pointermove",(t=>{i.x=2*(t.clientX/o.innerWidth-.5),i.y=2*(t.clientY/o.innerHeight-.5),i.frame||(i.frame=o.requestAnimationFrame(s))}))};if(v.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*j(b?.speed,j(g?.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 I=t=>k?.[t]||("desktop"===t?k?.undefined:""),S=a.split(">")[0],O=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(m)?m:i(m)?[m]:[],Y=t=>!E.length||E.includes(t)?"":`${a}{ animation-name: none; }`;return`\n\t\t${h.length?`\n\t\t${N.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${a}{\n\t\t\t\tanimation-name: ${h.join(", ")};\n\t\t\t\tanimation-duration: ${h.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${h.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${h.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${h.map((()=>x?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${L.join(", ")};\n\t\t\t\tanimation-range: ${f.join(", ")};\n\t\t\t}\n\t\t\t${Y("desktop")?`${e}{ ${Y("desktop")} }`:""}\n\t\t\t${Y("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${Y("tablet-portrait")} }`:""}\n\t\t\t${Y("mobile-portrait")?`${o}{ ${Y("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${v.length?`${a}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${O("desktop")?`${S}{ ${O("desktop")} }`:""}\n\t\t${O("tablet")?`${n}{ ${S}{ ${O("tablet")} } }`:""}\n\t\t${O("mobile")?`${o}{ ${S}{ ${O("mobile")} } }`:""}\n\t`})(D,v,t)}\n\t\t${z}\n\t`.replace(/\s+/g," ")},N=window.ReactJSXRuntime,h=(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}},L=({attributes:t,id:e,isBackend:a=!1})=>{const{heading:i={},list:r={},icon:s={},item:p={},advanced:y}=t,m=s.color||"#ffffff",M=s.size||"18px",b=p.typography?.fontSize?.desktop||"16px",g=`#${e} .bBlocks-key-takeaways-wrapper`,k=`${g} .bBlocks-key-takeaways-heading`,j=`${g} .bBlocks-key-takeaways-list`,x=`${g} .bBlocks-key-takeaways-item`,L=`${g} .bBlocks-key-takeaways-icon`,f=`${g} .bBlocks-key-takeaways-num`,D=`${g} .bBlocks-key-takeaways-bullet`;return(0,N.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${$("",i.typography).googleFontLink}\n\t\t\t${$("",p.typography).googleFontLink}\n\t\t\t${$(k,i.typography).styles}\n\t\t\t${k}{\n\t\t\t\t${l("color",i.color)}\n\t\t\t\t${d(i.bg)}\n\t\t\t\t${l("padding",u(h(i,"desktop","padding")))}\n\t\t\t\t${l("margin",u(h(i,"desktop","margin")))}\n\t\t\t\t${c(i.border)}\n\t\t\t\t${l("border-radius",u(h(i,"desktop","radius")))}\n\t\t\t}\n\t\t\t${j}{\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${$(x,p.typography).styles}\n\t\t\t${x}{\n\t\t\t\t${l("color",p.color)}\n\t\t\t\t${d(p.bg)}\n\t\t\t\t${l("padding",u(h(p,"desktop","padding")))}\n\t\t\t\t${l("margin",u(h(p,"desktop","margin")))}\n\t\t\t\t${c(p.border)}\n\t\t\t\t${l("border-radius",u(h(p,"desktop","radius")))}\n\t\t\t}\n\t\t\t${L}{\n\t\t\t\tcolor: ${m};\n\t\t\t\tfont-size: ${M};\n\t\t\t\tmin-height: calc(${b} * 1.5);\n\t\t\t\t${d(s.bg)}\n\t\t\t\t${l("padding",u(h(s,"desktop","padding")))}\n\t\t\t\t${l("margin",u(h(s,"desktop","margin")))}\n\t\t\t\t${c(s.border)}\n\t\t\t\t${l("border-radius",u(h(s,"desktop","radius")))}\n\t\t\t}\n\t\t\t${L}>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",m)}\n\t\t\t}\n\t\t\t${f}{\n\t\t\t\twidth: calc(${M} + 10px);\n\t\t\t\theight: calc(${M} + 10px);\n\t\t\t\tcolor: ${m};\n\t\t\t\tfont-size: calc(${M} * 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(h(s,"desktop","radius")))}\n\t\t\t}\n\t\t\t${D}{\n\t\t\t\twidth: calc(${M} * 0.45);\n\t\t\t\theight: calc(${M} * 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(h(s,"desktop","radius")))}\n\t\t\t}\n\t\t\t${n}{\n\t\t\t\t${k}{\n\t\t\t\t\t${l("padding",u(h(i,"tablet","padding")))}\n\t\t\t\t\t${l("margin",u(h(i,"tablet","margin")))}\n\t\t\t\t\t${l("border-radius",u(h(i,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t\t${x}{\n\t\t\t\t\t${l("padding",u(h(p,"tablet","padding")))}\n\t\t\t\t\t${l("margin",u(h(p,"tablet","margin")))}\n\t\t\t\t\t${l("border-radius",u(h(p,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t\t${L}{\n\t\t\t\t\t${l("padding",u(h(s,"tablet","padding")))}\n\t\t\t\t\t${l("margin",u(h(s,"tablet","margin")))}\n\t\t\t\t\t${l("border-radius",u(h(s,"tablet","radius")))}\n\t\t\t\t}\n\t\t\t}\n\t\t\t${o}{\n\t\t\t\t${k}{\n\t\t\t\t\t${l("padding",u(h(i,"mobile","padding")))}\n\t\t\t\t\t${l("margin",u(h(i,"mobile","margin")))}\n\t\t\t\t\t${l("border-radius",u(h(i,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t\t${x}{\n\t\t\t\t\t${l("padding",u(h(p,"mobile","padding")))}\n\t\t\t\t\t${l("margin",u(h(p,"mobile","margin")))}\n\t\t\t\t\t${l("border-radius",u(h(p,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t\t${L}{\n\t\t\t\t\t${l("padding",u(h(s,"mobile","padding")))}\n\t\t\t\t\t${l("margin",u(h(s,"mobile","margin")))}\n\t\t\t\t\t${l("border-radius",u(h(s,"mobile","radius")))}\n\t\t\t\t}\n\t\t\t}\n\t\t\t${w(e,y,a,!1)}\n\t\t\t`}})},f=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:o=[]}=t,a=z.includes(n.style)?n.style:"check",i=D.includes(e.tag)?e.tag:"h3",r="numbered"===a?"ol":"ul",s=!1!==n.showIcon,l=(Array.isArray(o)?o:[]).filter((t=>v(t&&t.text))),d=["bBlocks-key-takeaways-wrapper",`bBlocks-key-takeaways-style-${a}`].filter(Boolean).join(" "),c=v(e.text)?e.text:(0,f.__)("Key Takeaways","b-blocks");return(0,N.jsxs)("div",{className:d,role:"region","aria-label":v(c),children:[(0,N.jsx)(i,{className:"bBlocks-key-takeaways-heading",dangerouslySetInnerHTML:{__html:c}}),(0,N.jsx)("div",{className:"bBlocks-key-takeaways-body",children:0===l.length?(0,N.jsx)("p",{className:"bBlocks-key-takeaways-empty",children:(0,f.__)("No takeaways to display.","b-blocks")}):(0,N.jsx)(r,{className:"bBlocks-key-takeaways-list",role:"list",children:l.map(((t,e)=>(0,N.jsxs)("li",{className:"bBlocks-key-takeaways-item",children:[s&&"check"===a&&(0,N.jsx)("span",{className:"bBlocks-key-takeaways-icon","aria-hidden":"true",dangerouslySetInnerHTML:{__html:t&&t.icon||""}}),s&&"numbered"===a&&(0,N.jsx)("span",{className:"bBlocks-key-takeaways-num","aria-hidden":"true"}),s&&"bullet"===a&&(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)(L,{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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRo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ctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",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")}))}))})();