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/timeline-item/view.js +5 -1 2.1.4 → 2.1.8 View file →
@@ -1 +1,5 @@
1 -(()=>{"use strict";const t=window.ReactDOM,e=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),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}},i="@media only screen and (max-width: 1024px)",a="@media only screen and (max-width: 640px)",s="linear-gradient(135deg, #0040E3, #18D4FD)";window.React;const n=t=>{const e=o(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},r=(t,o)=>e(o)?`${t}: ${o};`:"",l=(t,e=!0,o=!0,i=!0)=>{const{type:a="solid",color:l="",gradient:c=s,image:d={},position:p="center center",attachment:b="",repeat:u="no-repeat",size:y="",overlayColor:M=""}=t||{};return"gradient"===a&&o?r("background",c):"image"===a&&i?`background: ${n(d?.url)};\n\t\t\t\t${r("background-color",M)}\n\t\t\t\t${r("background-position",p)}\n\t\t\t\t${r("background-size",y)}\n\t\t\t\t${r("background-repeat",u)}\n\t\t\t\t${r("background-attachment",b)}\n\t\t\t\t${r("background-repeat",u)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&r("background",l)},c=(t,e="box")=>{let o="";return t?.map(((i,a)=>{const{hOffset:s="0px",vOffset:n="0px",blur:r="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},p=d?"inset":"",b=`${s} ${n} ${r}`,u=a+1>=t.length?"":", ";o+="text"===e?`${b} ${c}${u}`:`${b} ${l} ${c} ${p}${u}`})),o||""},d=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},p=t=>{const{position:o="center center",xPosition:i=0,yPosition:a=0,attachment:s="",repeat:n="no-repeat",size:r="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(o)?`background-position: ${"custom"===o?`${i} ${a}`:o};`:""}\n\t\t${s&&c(s)?`background-attachment: ${s};`:""}\n\t\t${c(n)?`background-repeat: ${n};`:""}\n\t\t${c(r)?`background-size: ${"custom"===r?`${l} auto`:r};`:""}\n\t`},b=(t={})=>t?{desktop:e(t.url)?`background-image: ${n(t.url)}; ${p(t?.desktop)}`:"",tablet:e(t.url)?p(t?.tablet):"",mobile:e(t.url)?p(t?.mobile):""}:"",u=(t,s,n=!1)=>{const{type:l="color",color:c,gradient:d,img:p,video:u}=t||{},y="color"===l?r("background",c):"gradient"===l?(t=>{const{type:o="linear",radialType:i="ellipse",colors:a=[],centerPositions:s={x:0,y:0},angel:n=0}=t||{};if(e(t)){const t=a?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${n}deg, ${t})`;return r("background","radial"===o?`radial-gradient(${i} at ${s?.x}% ${s?.y}%,${t})`:e)}return""})(d):"image"===l?b(p).desktop:"",M="image"===l?b(p).tablet:"",m="image"===l?b(p).mobile:"",g=n?`${s}:hover`:s;return`\n\t\t${"video"===l?((t,e)=>{const{url:i,loop:a}=t||{},s=document.querySelector(e),n=s?.querySelector(".bPlVideo"),r=document.createElement("video");if(r.muted=!0,r.autoplay=!0,r.classList.add("bPlVideo"),!n&&s&&i){const t=o(i);if(t){const e=document.createElement("source");e.src=t,r.appendChild(e),s.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,s):""}\n\n\t\t${y?`${g}{\n\t\t\t${y}\n\t\t}`:""}\n\n\t\t${M?`${i} {\n\t\t\t${g}{\n\t\t\t\t${M}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m?`${a} {\n\t\t\t${g}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},y=(t,o,i=!1)=>{const{isEnabled:a,colors:s,opacity:n=1,blend:l,filter:c="",blur:d=0,brightness:p=100,contrast:b=100,saturation:y=100,hue:M=0,position:m={top:0,right:0,bottom:0,left:0},zIndex:g=-1}=t||{},x=`${100!==p?`brightness(${p}%)`:""} ${100!==b?`contrast(${b}%)`:""} ${100!==y?`saturate(${y}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==M?`hue-rotate(${M}deg)`:""}`,w=`${c}: ${c?x:""}; -webkit-${c}: ${c?x:""};`,h=i?`${o}:hover::after`:`${o}::after`;return a?`\n\t\t${o}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${o}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(m.top)?m.top:0};\n\t\t\tright:${e(m.right)?m.right:0};\n\t\t\tbottom:${e(m.bottom)?m.bottom:0};\n\t\t\tleft:${e(m.left)?m.left:0};\n\t\t\tz-index:${g};\n\t\t}\n\t\t${u(s,h,!1)}\n\t\t${h}{\n\t\t\t${r("opacity",n)}\n\t\t\t${r("mix-blend-mode",l)}\n\t\t\t${w}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},M=(t,o,s=!1)=>{const n=(t,o="desktop")=>{if(!e(t))return"";const{skew:i,scale:a,rotate:s,offset:n,flipX:l,flipY:c}=t,{threeDRotate:d}=s||{},{isProportion:p}=a||{},b=[];return e(i)&&(e(i?.[o]?.x)&&b.push(`skewX(${i[o].x}deg)`),e(i?.[o]?.y)&&b.push(`skewY(${i[o].y}deg)`)),p?e(a?.[o]?.scale)&&b.push(`scale(${a[o].scale})`):(e(a?.[o]?.x)&&b.push(`scaleX(${a[o].x})`),e(a?.[o]?.y)&&b.push(`scaleY(${a[o].y})`)),e(s)&&(e(s?.[o]?.z)&&b.push(`rotateZ(${s[o].z}deg)`),d&&(e(s?.[o]?.x)&&b.push(`rotateX(${s[o].x}deg)`),e(s?.[o]?.y)&&b.push(`rotateY(${s[o].y}deg)`))),e(n)&&(e(n?.[o]?.x)&&b.push(`translateX(${n[o].x})`),e(n?.[o]?.y)&&b.push(`translateY(${n[o].y})`)),e(l)&&b.push(l?"scaleX(-1)":""),e(c)&&b.push(c?"scaleY(-1)":""),0===b.length?"":r("transform",b.join(" "))},l=s?`${o}:hover`:o;return`\n\t\t${l} {\n\t\t\t${n(t,"desktop")}\n\t\t}\n\t\t${i}{\n\t\t\t${l} {\n\t\t\t\t${n(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${a}{\n\t\t\t${l} {\n\t\t\t\t${n(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},m=t=>{const{padding:e,margin:o,height:i,width:a}=t||{},s=(t,e)=>r(t,e),n=(t,e,o)=>s(t,e?.[t]?.[o])+s(`min-${t}`,e?.min?.[o])+s(`max-${t}`,e?.max?.[o]),l=t=>r("padding",d(t)),c=t=>r("margin",d(t));return{desktop:l(e?.desktop)+c(o?.desktop)+n("height",i,"desktop")+n("width",a,"desktop"),tablet:l(e?.tablet)+c(o?.tablet)+n("height",i,"tablet")+n("width",a,"tablet"),mobile:l(e?.mobile)+c(o?.mobile)+n("height",i,"mobile")+n("width",a,"mobile")}},g=t=>{const{normal:e,hover:o}=t||{},i=t=>{const{border:e,radius:o,shadow:i}=t||{},a=r("border-radius",d(o)),s=r("box-shadow",c(i,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:i="0px"}=t;return`${i} ${o} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((o=>t[o]?`border-${o}: ${e(t[o])};`:"")).join(" ").trim():r("border",e(t))})(e)+a+s};return{normal:i(e),hover:i(o)}},x=t=>{const{zIndex:o,overflow:i}=t||{},a=i?`overflow: ${i};`:"",s=t=>`${r("z-index",o?.[t])} ${r("position",e(o?.[t])?"relative":"")}`;return{desktop:s("desktop")+a,tablet:s("tablet"),mobile:s("mobile")}},w=(t,e)=>{const{desktop:o=!1,tablet:i=!1,mobile:a=!1}=t||{},s=e?"opacity: 0.5;":"display: none;",n=t=>t?s:"";return{desktop:n(o),tablet:n(i),mobile:n(a)}},h=window.wp.i18n,$=((0,h.__)("General","b-blocks"),(0,h.__)("Style","b-blocks"),(0,h.__)("Advanced","b-blocks"),[{label:(0,h.__)("Vertical","b-blocks"),value:"vertical"},{label:(0,h.__)("Horizontal","b-blocks"),value:"horizontal"}].map((t=>t.value)),[{label:(0,h.__)("Alternate","b-blocks"),value:"alternate"},{label:(0,h.__)("Left","b-blocks"),value:"left"},{label:(0,h.__)("Right","b-blocks"),value:"right"}].map((t=>t.value)),[{label:(0,h.__)("Between markers","b-blocks"),value:"markers"},{label:(0,h.__)("Full length","b-blocks"),value:"full"}].map((t=>t.value)),[{label:(0,h.__)("Circle","b-blocks"),value:"circle"},{label:(0,h.__)("Rounded","b-blocks"),value:"rounded"},{label:(0,h.__)("Square","b-blocks"),value:"square"},{label:(0,h.__)("Diamond","b-blocks"),value:"diamond"},{label:(0,h.__)("Hexagon","b-blocks"),value:"hexagon"}].map((t=>t.value)),[{label:(0,h.__)("Solid","b-blocks"),value:"solid"},{label:(0,h.__)("Dashed","b-blocks"),value:"dashed"},{label:(0,h.__)("Dotted","b-blocks"),value:"dotted"},{label:(0,h.__)("Double","b-blocks"),value:"double"}].map((t=>t.value)),(t={})=>{const{width:e,style:o,offset:i,color:a}=t;return[e?`outline-width: ${e};`:"",o?`outline-style: ${o};`:"",a?`outline-color: ${a};`:"",i?`outline-offset: ${i};`:""].filter(Boolean).join(" ")}),j=([{label:(0,h.__)("Solid","b-blocks"),value:"solid"},{label:(0,h.__)("Dashed","b-blocks"),value:"dashed"},{label:(0,h.__)("Dotted","b-blocks"),value:"dotted"}].map((t=>t.value)),(0,h.__)("Auto (follow layout)","b-blocks"),(0,h.__)("Left","b-blocks"),(0,h.__)("Right","b-blocks"),t=>[["core/heading",{level:3,content:t}],["core/paragraph",{content:(0,h.__)("Describe what happened at this point on the timeline.","b-blocks")}]]),k=(j((0,h.__)("First milestone","b-blocks")),j((0,h.__)("Second milestone","b-blocks")),j((0,h.__)("Third milestone","b-blocks")),JSON.parse('{"attributes":{"align":{"type":"string","default":""},"layout":{"type":"object","default":{"desktop":{"direction":"vertical","side":"alternate","itemGap":"10px","cardWidth":"100%","cardGap":"0px","markerGap":"10px"},"tablet":{"direction":"","side":"","itemGap":"","cardWidth":"","cardGap":"","markerGap":""},"mobile":{"direction":"","side":"","itemGap":"","cardWidth":"","cardGap":"","markerGap":""}}},"connector":{"type":"object","default":{"line":{"show":true,"style":"solid","bg":{"type":"solid","color":"#d9d9d9"},"progress":false,"activeBg":{"type":"solid","color":"#1e1e1e"},"progressFade":false,"extent":"markers","desktop":{"width":"2px","dash":"8px","gap":"6px"},"tablet":{"width":"","dash":"","gap":""},"mobile":{"width":"","dash":"","gap":""}},"arrow":{"show":true,"align":"center","color":"","desktop":{"size":"14px","offset":"16px"},"tablet":{"size":"","offset":""},"mobile":{"size":"","offset":""}}}},"marker":{"type":"object","default":{"shape":"circle","transition":300,"pulse":{"show":false,"bg":{"type":"solid","color":""},"speed":2400},"normal":{"bg":{"type":"solid","color":"#efefef"},"color":{"icon":"#1e1e1e"},"border":{"width":"0px"},"ring":{"width":"0px","style":"solid","offset":"0px","color":""},"shadow":[]},"hover":{"bg":{"type":"solid","color":""},"color":{"icon":""},"border":{},"ring":{"width":"","style":"","offset":"","color":""},"shadow":[]},"desktop":{"size":"34px","iconSize":"16px","radius":{}},"tablet":{"size":"","iconSize":"","radius":{}},"mobile":{"size":"","iconSize":"","radius":{}}}},"card":{"type":"object","default":{"normal":{"bg":{"type":"solid","color":"#efefef"},"border":{"width":"0px"},"shadow":[{"hOffset":"0px","vOffset":"0px","blur":"0px","spreed":"0px","color":"#7090b000","isInset":false}]},"hover":{"bg":{"type":"solid","color":""},"border":{}},"desktop":{"padding":{"top":"16px","right":"16px","bottom":"16px","left":"16px"},"radius":{"top":"4px","right":"4px","bottom":"4px","left":"4px"}},"tablet":{"padding":{},"radius":{}},"mobile":{"padding":{},"radius":{}}}},"date":{"type":"object","default":{"show":true,"color":"#1e1e1e","typo":{"fontSize":{"desktop":"16px"}},"desktop":{"gap":"16px"},"tablet":{"gap":""},"mobile":{"gap":""}}},"advanced":{"type":"object","default":{"dimension":{"padding":{"desktop":{"top":"","right":"","bottom":"","left":""},"tablet":{"top":"","right":"","bottom":"","left":""},"mobile":{"top":"","right":"","bottom":"","left":""}}},"transform":{"normal":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"hover":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"transition":200},"borderShadow":{"normal":{"radius":{"top":"","right":"","bottom":"","left":""},"shadow":[{"hOffset":"","vOffset":"","blur":"","spreed":"","color":"","isInset":false}],"border":{"top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}}},"background":{"normal":{"type":"color","color":"","gradient":{"type":"radial","radialType":"ellipse","colors":[{"color":"rgba(58, 66, 222, 1)","position":"0"},{"color":"rgba(176, 195, 235, 1)","position":"80"}],"centerPositions":{"x":50,"y":50},"angel":90},"img":{"url":"","desktop":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"tablet":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"mobile":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"}},"video":{"url":"","loop":false},"transition":0.3}}}}}}')),f=(t,e)=>{if(null==e)return t;if(Array.isArray(e)){const o=t&&"object"==typeof t&&!Array.isArray(t);return 0===e.length&&o?t:e}if("object"!=typeof e)return e;if(!t||"object"!=typeof t||Array.isArray(t))return e;const o={...t};return Object.keys(e).forEach((i=>{o[i]=f(t[i],e[i])})),o},N=(Object.fromEntries(Object.entries(k.attributes).map((([t,e])=>[t,e.default]))),JSON.parse('{"attributes":{"date":{"type":"string","default":""},"icon":{"type":"string","default":"<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 384 512\'><path d=\'M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\'/></svg>"},"item":{"type":"object","default":{"side":"","arrowAlign":"","marker":{"normal":{"bg":{"type":"solid","color":""},"color":{"icon":""},"ring":{"width":"","style":"","offset":"","color":""},"shadow":[]},"hover":{"bg":{"type":"solid","color":""},"color":{"icon":""},"ring":{"width":"","style":"","offset":"","color":""},"shadow":[]}},"pulse":{"show":"","bg":{"type":"solid","color":""},"speed":""},"card":{"normal":{"bg":{"type":"solid","color":""}}},"date":{"color":""},"arrow":{"bg":{"type":"solid","color":""}}}},"advanced":{"type":"object","default":{"dimension":{"padding":{"desktop":{"top":"","right":"","bottom":"","left":""},"tablet":{"top":"","right":"","bottom":"","left":""},"mobile":{"top":"","right":"","bottom":"","left":""}}},"transform":{"normal":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"hover":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"transition":200},"borderShadow":{"normal":{"radius":{"top":"","right":"","bottom":"","left":""},"shadow":[{"hOffset":"","vOffset":"","blur":"","spreed":"","color":"","isInset":false}],"border":{"top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}}},"background":{"normal":{"type":"color","color":"","gradient":{"type":"radial","radialType":"ellipse","colors":[{"color":"rgba(58, 66, 222, 1)","position":"0"},{"color":"rgba(176, 195, 235, 1)","position":"80"}],"centerPositions":{"x":50,"y":50},"angel":90},"img":{"url":"","desktop":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"tablet":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"mobile":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"}},"video":{"url":"","loop":false},"transition":0.3}}}}}}')),D=Object.fromEntries(Object.entries(N.attributes).map((([t,e])=>[t,e.default]))),L=window.ReactJSXRuntime,z=({attributes:t,id:o,isBackend:s=!1})=>{const{item:d,advanced:p}=((t={})=>f(D,t))(t),{marker:b,pulse:h,card:j,date:k,arrow:N}=d,z=`#${o}`,v=`${z}.b-blocks-timeline-item`,I=`${z} .b-blocks-timeline-card`,T=`${z} .b-blocks-timeline-marker`,S=`${z} .b-blocks-timeline-date`,O=l(N.bg)||l(j.normal.bg),A=["on"===h.show?"animation-name: bb-tl-marker-pulse;":"","off"===h.show?"animation-name: none;":"","off"===h.show?"":l(h.bg,!0,!0,!1),"off"===h.show?"":r("animation-duration",h.speed?`${h.speed}ms`:"")].filter(Boolean).join(" "),Y=s?`#${o}>div>div:first-child`:`#${o}>div`,E=((t,o,s=!1,l=!0)=>{const{dimension:c,transform:d,background:p,borderShadow:b,mask:h,animation:$,visibility:j,responsive:k,css:f=""}=o||{},N=s?`#${t}>div>div${l?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const i=o?`#${e} > div`:`#${e}`,a=document.querySelector(i);if(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()),o)){const t=new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?a.classList.add("aos-animate"):a.classList.remove("aos-animate")}))}),{threshold:[.5]});t.observe(a)}})($,t,s);const D=m(c).desktop+x(j).desktop+((t,e,o)=>{const{transition:i=.4}=t||{},{transition:a=.4}=e||{},{transition:s=200}=o||{};return`transition: background ${i}s, border ${a}s, border-radius ${a}s, box-shadow ${a}s, transform ${s}ms ease-in-out;`})(p,b,d)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:i={type:"contain",scale:"100%"},position:a={type:"center center",x:50,y:50},repeat:s="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===o.type?n(o.url):`url(${(l=o.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg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MjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===l))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===a.type?`${r("-webkit-mask-position-x",a.x)}\n\t\t\t${r("-webkit-mask-position-y",a.y)}`:`${r("-webkit-mask-position",a.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${s};`:""}`:"";var l})(h),L=m(c).tablet+x(j).tablet+w(k,s).tablet,z=m(c).mobile+x(j).mobile+w(k,s).mobile,v=g(b).normal,I=g(b).hover,T=w(k,s).desktop;return`\n\t\t${D||v?`${N} {\n\t\t\t${D}\n\t\t\t${v}\n\t\t}`:""}\n\t\t${I?`${N}:hover {\n\t\t\t${I}\n\t\t}`:""}\n\n\t\t${T?`@media only screen and (min-width: 1025px) {\n\t\t\t${N}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${L?`${i} {\n\t\t\t${N}{\n\t\t\t\t${L}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${z?`${a} {\n\t\t\t${N}{\n\t\t\t\t${z}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${u(p?.normal,N)}\n\t\t${u(p?.hover,N,!0)}\n\t\t${y(p?.overlay,N)}\n\t\t${y(p?.hoverOverlay,N,!0)}\n\t\t${e(d?.normal)?M(d?.normal,N):""}\n\t\t${e(d?.hover)?M(d?.hover,N,!0):""}\n\n\t\t${f}\n\t`.replace(/\s+/g," ")})(o,p,s,!0).split(Y).join(`#${o}`);return(0,L.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${I}{\n\t\t\t\t${l(j.normal.bg)}\n\t\t\t}\n\t\t\t${v} .b-blocks-timeline-card::after{\n\t\t\t\t${O}\n\t\t\t}\n\t\t\t${T}{\n\t\t\t\t${l(b.normal.bg)}\n\t\t\t\t${r("color",b.normal.color.icon)}\n\t\t\t\t${$(b.normal.ring)}\n\t\t\t\t${r("box-shadow",c(b.normal.shadow||[]))}\n\t\t\t}\n\t\t\t${T}:hover{\n\t\t\t\t${l(b.hover.bg)}\n\t\t\t\t${r("color",b.hover.color.icon)}\n\t\t\t\t${$(b.hover.ring)}\n\t\t\t\t${r("box-shadow",c(b.hover.shadow||[]))}\n\t\t\t}\n\t\t\t${A?`${T}::after{ ${A} }`:""}\n\t\t\t${S}{\n\t\t\t\t${r("color",k.color)}\n\t\t\t}\n\t\t\t${E}\n\t\t\t`}})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-timeline-item[data-attributes]").forEach((e=>{let o={};try{const t=e.dataset.attributes;t&&"undefined"!==t&&""!==t&&(o=JSON.parse(t))}catch(t){return void console.warn("Timeline Item: Invalid attributes JSON",t)}const i=e.querySelector(":scope > .b-blocks-timeline-item-style");i&&((0,t.createRoot)(i).render((0,L.jsx)(z,{attributes:o,id:e.id})),e.removeAttribute("data-attributes"))}))}))})();
1 +(()=>{"use strict";const t=window.ReactDOM,e=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),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}};new class{constructor(t={}){this.defaultOptions={allowedTags:["svg","g","path","rect","circle","ellipse","line","polyline","polygon","text","tspan","defs","clipPath","mask","linearGradient","radialGradient","stop","style","title","desc"],allowedAttributes:["id","class","style","transform","xmlns","xmlns:xlink","version","baseProfile","xml:space","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","viewBox","preserveAspectRatio","overflow","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","opacity","color","paint-order","vector-effect","shape-rendering","display","visibility","clip-path","clip-rule","clipPathUnits","mask","maskUnits","maskContentUnits","offset","stop-color","stop-opacity","gradientUnits","gradientTransform","spreadMethod","fx","fy","fr","dx","dy","text-anchor","dominant-baseline","alignment-baseline","font-family","font-size","font-style","font-weight","letter-spacing","word-spacing","textLength","lengthAdjust","role","focusable","aria-hidden","aria-label","aria-labelledby","aria-describedby"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t},this.allowedTagSet=new Set(this.options.allowedTags.map((t=>t.toLowerCase()))),this.allowedAttributeSet=new Set(this.options.allowedAttributes.map((t=>t.toLowerCase())))}sanitize(t){if("string"!=typeof t||""===t.trim())return"";const e=(new DOMParser).parseFromString(t,"image/svg+xml"),o=e.documentElement;return!o||"svg"!==o.localName.toLowerCase()||e.getElementsByTagName("parsererror").length?"":(this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement))}async sanitizeFile(t){const e=await fetch(t),o=await e.text();return this.sanitize(`${o}`)}removeScripts(t){this.options.removeScripts&&Array.from(t.querySelectorAll("*")).forEach((t=>{t.localName.toLowerCase().includes("script")&&t.remove()}))}sanitizeElements(t){Array.from(t.querySelectorAll("*")).forEach((t=>{const e=t.localName.toLowerCase();this.allowedTagSet.has(e)?("style"===e&&this.options.sanitizeStyle&&(t.textContent=this.sanitizeCss(t.textContent)),this.sanitizeAttributes(t)):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const o=e.name,i=o.toLowerCase(),a=e.value;if(this.options.removeEvents&&i.startsWith("on"))return void t.removeAttribute(o);if(this.options.removeExternalResources&&("href"===i||i.endsWith(":href"))&&!this.isAllowedUrl(a))return void t.removeAttribute(o);const n=i.replace("xlink:","");this.allowedAttributeSet.has(i)||this.allowedAttributeSet.has(n)?this.options.removeExternalResources&&this.hasExternalUrl(a)?t.removeAttribute(o):"style"===i&&this.options.sanitizeStyle&&t.setAttribute(o,this.sanitizeCss(a)):t.removeAttribute(o)}))}hasExternalUrl(t){return!("string"!=typeof t||!/url\s*\(/i.test(t))&&Array.from(t.matchAll(/url\s*\(\s*['"]?([^'")]*)/gi)).some((([,t])=>!t.trim().startsWith("#")))}isAllowedUrl(t){const e=String(t||"").trim();if(e.startsWith("#"))return!0;if(/^data:/i.test(e))return this.options.allowedProtocols.includes("data")&&/^data:image\/(png|jpe?g|gif|webp);base64,/i.test(e);try{return this.options.allowedProtocols.includes(new URL(e).protocol.replace(":",""))}catch{return!1}}sanitizeCss(t){return String(t||"").replace(/expression\s*\(/gi,"").replace(/javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"").replace(/@import[^;]*;?/gi,"").replace(/url\s*\(\s*(['"]?)(?!#)[^)]*\)/gi,"none")}};const i="@media only screen and (min-width: 1025px)",a="@media only screen and (max-width: 1024px)",n="@media only screen and (max-width: 640px)",r="linear-gradient(135deg, #0040E3, #18D4FD)";window.React;const s=t=>{const e=o(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,o)=>e(o)?`${t}: ${o};`:"",c=(t,e=!0,o=!0,i=!0)=>{const{type:a="solid",color:n="",gradient:c=r,image:d={},position:p="center center",attachment:u="",repeat:b="no-repeat",size:m="",overlayColor:y=""}=t||{};return"gradient"===a&&o?l("background",c):"image"===a&&i?`background: ${s(d?.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",b)}\n\t\t\t\t${l("background-attachment",u)}\n\t\t\t\t${l("background-repeat",b)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&l("background",n)},d=(t,e="box")=>{let o="";return t?.map(((i,a)=>{const{hOffset:n="0px",vOffset:r="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},p=d?"inset":"",u=`${n} ${r} ${s}`,b=a+1>=t.length?"":", ";o+="text"===e?`${u} ${c}${b}`:`${u} ${l} ${c} ${p}${b}`})),o||""},p=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},u=t=>{const{position:o="center center",xPosition:i=0,yPosition:a=0,attachment:n="",repeat:r="no-repeat",size:s="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(o)?`background-position: ${"custom"===o?`${i} ${a}`:o};`:""}\n\t\t${n&&c(n)?`background-attachment: ${n};`:""}\n\t\t${c(r)?`background-repeat: ${r};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},b=(t={})=>t?{desktop:e(t.url)?`background-image: ${s(t.url)}; ${u(t?.desktop)}`:"",tablet:e(t.url)?u(t?.tablet):"",mobile:e(t.url)?u(t?.mobile):""}:"",m=(t,i,r=!1)=>{const{type:s="color",color:c,gradient:d,img:p,video:u}=t||{},m="color"===s?l("background",c):"gradient"===s?(t=>{const{type:o="linear",radialType:i="ellipse",colors:a=[],centerPositions:n={x:0,y:0},angel:r=0}=t||{};if(e(t)){const t=a?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${r}deg, ${t})`;return l("background","radial"===o?`radial-gradient(${i} at ${n?.x}% ${n?.y}%,${t})`:e)}return""})(d):"image"===s?b(p).desktop:"",y="image"===s?b(p).tablet:"",h="image"===s?b(p).mobile:"",M=r?`${i}:hover`:i;return`\n\t\t${"video"===s?((t,e)=>{const{url:i,loop:a}=t||{},n=document.querySelector(e),r=n?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!r&&n&&i){const t=o(i);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),n.appendChild(s)}}return s.loop=a,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,i):""}\n\n\t\t${m?`${M}{\n\t\t\t${m}\n\t\t}`:""}\n\n\t\t${y?`${a} {\n\t\t\t${M}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${h?`${n} {\n\t\t\t${M}{\n\t\t\t\t${h}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},y=(t,o,i=!1)=>{const{isEnabled:a,colors:n,opacity:r=1,blend:s,filter:c="",blur:d=0,brightness:p=100,contrast:u=100,saturation:b=100,hue:y=0,position:h={top:0,right:0,bottom:0,left:0},zIndex:M=-1}=t||{},x=`${100!==p?`brightness(${p}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==b?`saturate(${b}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==y?`hue-rotate(${y}deg)`:""}`,f=`${c}: ${c?x:""}; -webkit-${c}: ${c?x:""};`,g=i?`${o}:hover::after`:`${o}::after`
2 +;return a?`\n\t\t${o}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${o}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(h.top)?h.top:0};\n\t\t\tright:${e(h.right)?h.right:0};\n\t\t\tbottom:${e(h.bottom)?h.bottom:0};\n\t\t\tleft:${e(h.left)?h.left:0};\n\t\t\tz-index:${M};\n\t\t}\n\t\t${m(n,g,!1)}\n\t\t${g}{\n\t\t\t${l("opacity",r)}\n\t\t\t${l("mix-blend-mode",s)}\n\t\t\t${f}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},h=(t,o,i=!1)=>{const r=(t,o="desktop")=>{if(!e(t))return"";const{skew:i,scale:a,rotate:n,offset:r,flipX:s,flipY:c}=t,{threeDRotate:d}=n||{},{isProportion:p}=a||{},u=[];return e(i)&&(e(i?.[o]?.x)&&u.push(`skewX(${i[o].x}deg)`),e(i?.[o]?.y)&&u.push(`skewY(${i[o].y}deg)`)),p?e(a?.[o]?.scale)&&u.push(`scale(${a[o].scale})`):(e(a?.[o]?.x)&&u.push(`scaleX(${a[o].x})`),e(a?.[o]?.y)&&u.push(`scaleY(${a[o].y})`)),e(n)&&(e(n?.[o]?.z)&&u.push(`rotateZ(${n[o].z}deg)`),d&&(e(n?.[o]?.x)&&u.push(`rotateX(${n[o].x}deg)`),e(n?.[o]?.y)&&u.push(`rotateY(${n[o].y}deg)`))),e(r)&&(e(r?.[o]?.x)&&u.push(`translateX(${r[o].x})`),e(r?.[o]?.y)&&u.push(`translateY(${r[o].y})`)),e(s)&&u.push(s?"scaleX(-1)":""),e(c)&&u.push(c?"scaleY(-1)":""),0===u.length?"":l("transform",u.join(" "))},s=i?`${o}:hover`:o;return`\n\t\t${s} {\n\t\t\t${r(t,"desktop")}\n\t\t}\n\t\t${a}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${n}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},M=t=>{const{padding:e,margin:o,height:i,width:a}=t||{},n=(t,e)=>l(t,e),r=(t,e,o)=>n(t,e?.[t]?.[o])+n(`min-${t}`,e?.min?.[o])+n(`max-${t}`,e?.max?.[o]),s=t=>l("padding",p(t)),c=t=>l("margin",p(t));return{desktop:s(e?.desktop)+c(o?.desktop)+r("height",i,"desktop")+r("width",a,"desktop"),tablet:s(e?.tablet)+c(o?.tablet)+r("height",i,"tablet")+r("width",a,"tablet"),mobile:s(e?.mobile)+c(o?.mobile)+r("height",i,"mobile")+r("width",a,"mobile")}},x=t=>{const{normal:e,hover:o}=t||{},i=t=>{const{border:e,radius:o,shadow:i}=t||{},a=l("border-radius",p(o)),n=l("box-shadow",d(i,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:i="0px"}=t;return`${i} ${o} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((o=>t[o]?`border-${o}: ${e(t[o])};`:"")).join(" ").trim():l("border",e(t))})(e)+a+n};return{normal:i(e),hover:i(o)}},f=t=>{const{zIndex:o,overflow:i}=t||{},a=i?`overflow: ${i};`:"",n=t=>`${l("z-index",o?.[t])} ${l("position",e(o?.[t])?"relative":"")}`;return{desktop:n("desktop")+a,tablet:n("tablet"),mobile:n("mobile")}},g=(t,e)=>{const{desktop:o=!1,tablet:i=!1,mobile:a=!1}=t||{},n=e?"opacity: 0.5;":"display: none;",r=t=>t?n:"";return{desktop:r(o),tablet:r(i),mobile:r(a)}},$=(t,o,r=!1,c=!0)=>{const{dimension:d,transform:p,background:u,borderShadow:b,mask:$,animation:w,visibility:k,responsive:j,position:v={},floating:z={},motion:N={},css:L=""}=o||{},D=r?`#${t}>div>div${c?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const i=o?`#${e} > div`:`#${e}`,a=document.querySelector(i);if(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()),o)){const t=new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?a.classList.add("aos-animate"):a.classList.remove("aos-animate")}))}),{threshold:[.5]});t.observe(a)}})(w,t,r);const S=M(d).desktop+f(k).desktop+((t,e,o)=>{const{transition:i=.4}=t||{},{transition:a=.4}=e||{},{transition:n=200}=o||{};return`transition: background ${i}s, border ${a}s, border-radius ${a}s, box-shadow ${a}s, transform ${n}ms ease-in-out;`})(u,b,p)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:i={type:"contain",scale:"100%"},position:a={type:"center center",x:50,y:50},repeat:n="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===o.type?s(o.url):`url(${(r=o.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC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ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{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"===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"!==i.type?`-webkit-mask-repeat: ${n};`:""}`:"";var r})($),T=M(d).tablet+f(k).tablet+g(j,r).tablet,I=M(d).mobile+f(k).mobile+g(j,r).mobile,A=x(b).normal,O=x(b).hover,E=g(j,r).desktop
3 +;return`\n\t\t${S||A?`${D} {\n\t\t\t${S}\n\t\t\t${A}\n\t\t}`:""}\n\t\t${O?`${D}:hover {\n\t\t\t${O}\n\t\t}`:""}\n\n\t\t${E?`${i} {\n\t\t\t${D}{\n\t\t\t\t${E}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${T?`${a} {\n\t\t\t${D}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${n} {\n\t\t\t${D}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m(u?.normal,D)}\n\t\t${m(u?.hover,D,!0)}\n\t\t${y(u?.overlay,D)}\n\t\t${y(u?.hoverOverlay,D,!0)}\n\t\t${e(p?.normal)?h(p?.normal,D):""}\n\t\t${e(p?.hover)?h(p?.hover,D,!0):""}\n\t\t${((t,e)=>{const{desktop:o={},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${o?.type?s(o):""}\n\t\t\n\t\t${a}{\n\t\t\t${i?.type?s(i):""}\n\t\t}\n\n\t\t${n}{\n\t\t\t${r?.type?s(r):""}\n\t\t}\n\t`})(v,D)}\n\t\t${((t,o,i="")=>{const{translate:a={},rotate:n={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:a,value:t=>["x","y"].some((o=>e(a?.[o]?.[t])))?`${a?.x?.[t]||0}px ${a?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:n,value:t=>["x","y","z"].filter((o=>e(n?.[o]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${n[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:r,value:t=>{const o=r?.y?.[t],i=r?.z?.[t];return e(o)||e(i)?e(i)?`1 ${e(o)?o:1} ${i}`:`1 ${o}`:""}}].forEach((({name:t,property:e,values:o,value:a})=>{const n=a("from"),r=a("to");if(!n||!r)return;const s=Number(o?.duration)>0?Number(o.duration):1e3,d=Number(o?.delay)>0?Number(o.delay):0,p=`advFloat${t}${i?`-${i}`:""}`;l.push(`@keyframes ${p}{ from{ ${e}: ${n}; } to{ ${e}: ${r}; } }`),c.push(`${p} ${s}ms ease-in-out ${d}ms infinite alternate`)})),c.length?`\n\t\t${l.join(" ")}\n\t\t${o}{\n\t\t\tanimation: ${c.join(", ")};\n\t\t}\n\t`:""})(z,D,t)}\n\t\t${((t,o,r)=>{const{isEnable:s=!1,vertical:l={},horizontal:c={},transparency:d={},blur:p={},rotate:u={},scale:b={},effectsRelativeTo:m="viewport",effectOn:y=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:h=!1,mouseTrack:M={},tilt:x={},sticky:f={}}=t||{},g=(t,o)=>e(t)&&!isNaN(t)?Number(t):o,$="viewport"===m,w=$?"view()":"scroll(nearest block)",k=[],j=[],v=[],z=[],N=String(r??"").replace(/[^a-zA-Z0-9]/g,""),L=(t,e,o)=>{k.push(`@keyframes advMe${t}${N}{ ${e} }`),j.push(`advMe${t}${N}`),v.push(w),z.push((t=>{const e=g(t?.top,0),o=g(t?.bottom,100),i=Math.min(e,o),a=Math.max(e,o);return $?`cover ${i}% ${a>=90?"contain 100%":`cover ${a}%`}`:`min(${3*i}vh, ${i}%) min(${3*a}vh, ${a}%)`})(o))};if(s){const t=l?.direction,e=c?.direction,o=t?100*g(l?.speed,4):0,i=e?100*g(c?.speed,4):0;if(o||i){const a="up"===t?-o:o,n="to-left"===e?-i:i,r=[o&&l,i&&c].filter(Boolean);L("Translate",`from{ translate: 0px 0px; } to{ translate: ${n}px ${a}px; }`,{top:Math.min(...r.map((t=>g(t?.top,0)))),bottom:Math.max(...r.map((t=>g(t?.bottom,100))))})}const a=d?.direction;if(a){const t=Math.max(0,1-g(d?.level,5)/10),e={"fade-in":`from{ opacity: ${t}; } to{ opacity: 1; }`,"fade-out":`from{ opacity: 1; } to{ opacity: ${t}; }`,"fade-out-in":`0%{ opacity: 1; } 50%{ opacity: ${t}; } 100%{ opacity: 1; }`,"fade-in-out":`0%{ opacity: ${t}; } 50%{ opacity: 1; } 100%{ opacity: ${t}; }`}[a];e&&L("Opacity",e,d)}const n=p?.direction;if(n){const t=3*g(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); }`}[n];e&&L("Blur",e,p)}const r=u?.direction;if(r){const t=20*g(u?.level,4);L("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===r?-t:t}deg; }`,u)}if(b?.direction){const t=.15*g(b?.level,4),e=Math.max(0,1-t),o=1+t,i={"scale-up":`from{ scale: 1; } to{ scale: ${o}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${o}; } 100%{ scale: 1; }`}[b.direction];i&&L("Scale",i,b)}}const D=[];if(h){if(M?.direction){const t="direct"===M?.direction?100:-100;D.push(((e,o)=>`translate(${(e*t).toFixed(2)}px, ${(o*t).toFixed(2)}px)`))}if(x?.direction){const t=12*("direct"===x?.direction?1:-1);D.push(((e,o)=>`perspective(1000px) rotateX(${(o*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const S=(t,e,i)=>{if(!t||!t.defaultView)return;const a=t.defaultView,n=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),r=n.items.get(o)||{x:0,y:0};if(r.rate=e,r.build=i,n.items.set(o,r),n.bound)return;n.bound=!0;const s=e=>{const o=n.last?Math.min(e-n.last,100):16.7;n.last=e;let i=!1;n.items.forEach(((e,a)=>{const r=e.el&&e.el.isConnected?e.el:t.querySelector(a);if(!r)return;e.el=r;const s=e.rate*o/1e3,l=n.x-e.x,c=n.y-e.y,d=Math.sqrt(l*l+c*c);d<=s?(e.x=n.x,e.y=n.y):(e.x+=l/d*s,e.y+=c/d*s,i=!0),r.style.transform=e.build(e.x,e.y)})),n.frame=i?a.requestAnimationFrame(s):0,n.last=i?e:0};t.addEventListener("pointermove",(t=>{n.x=2*(t.clientX/a.innerWidth-.5),n.y=2*(t.clientY/a.innerHeight-.5),n.frame||(n.frame=a.requestAnimationFrame(s))}))};if(D.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*g(M?.speed,g(x?.speed,4))),e=(t,e)=>D.map((o=>o(t,e))).join(" ");S(document,t,e),S(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const T=t=>f?.[t]||("desktop"===t?f?.undefined:""),I=o.split(">")[0],A=t=>{const e=T(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?T("desktop"):"mobile"===t?T("tablet")||T("desktop"):"")(t)?"position: static;":""},O=Array.isArray(y)?y:e(y)?[y]:[],E=t=>!O.length||O.includes(t)?"":`${o}{ animation-name: none; }`;return`\n\t\t${j.length?`\n\t\t${k.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((()=>$?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${v.join(", ")};\n\t\t\t\tanimation-range: ${z.join(", ")};\n\t\t\t}\n\t\t\t${E("desktop")?`${i}{ ${E("desktop")} }`:""}\n\t\t\t${E("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${E("tablet-portrait")} }`:""}\n\t\t\t${E("mobile-portrait")?`${n}{ ${E("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${D.length?`${o}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${I}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${a}{ ${I}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${n}{ ${I}{ ${A("mobile")} } }`:""}\n\t`})(N,D,t)}\n\t\t${L}\n\t`.replace(/\s+/g," ")},w=window.wp.i18n,k=((0,w.__)("General","b-blocks"),(0,w.__)("Style","b-blocks"),(0,w.__)("Advanced","b-blocks"),[{label:(0,w.__)("Vertical","b-blocks"),value:"vertical"},{label:(0,w.__)("Horizontal","b-blocks"),value:"horizontal"}].map((t=>t.value)),[{label:(0,w.__)("Alternate","b-blocks"),value:"alternate"},{label:(0,w.__)("Left","b-blocks"),value:"left"},{label:(0,w.__)("Right","b-blocks"),value:"right"}].map((t=>t.value)),[{label:(0,w.__)("Between markers","b-blocks"),value:"markers"},{label:(0,w.__)("Full length","b-blocks"),value:"full"}].map((t=>t.value)),[{label:(0,w.__)("Circle","b-blocks"),value:"circle"},{label:(0,w.__)("Rounded","b-blocks"),value:"rounded"},{label:(0,w.__)("Square","b-blocks"),value:"square"},{label:(0,w.__)("Diamond","b-blocks"),value:"diamond"},{label:(0,w.__)("Hexagon","b-blocks"),value:"hexagon"}].map((t=>t.value)),[{label:(0,w.__)("Solid","b-blocks"),value:"solid"},{label:(0,w.__)("Dashed","b-blocks"),value:"dashed"},{label:(0,w.__)("Dotted","b-blocks"),value:"dotted"},{
4 +label:(0,w.__)("Double","b-blocks"),value:"double"}].map((t=>t.value)),(t={})=>{const{width:e,style:o,offset:i,color:a}=t;return[e?`outline-width: ${e};`:"",o?`outline-style: ${o};`:"",a?`outline-color: ${a};`:"",i?`outline-offset: ${i};`:""].filter(Boolean).join(" ")}),j=([{label:(0,w.__)("Solid","b-blocks"),value:"solid"},{label:(0,w.__)("Dashed","b-blocks"),value:"dashed"},{label:(0,w.__)("Dotted","b-blocks"),value:"dotted"}].map((t=>t.value)),(0,w.__)("Auto (follow layout)","b-blocks"),(0,w.__)("Left","b-blocks"),(0,w.__)("Right","b-blocks"),t=>[["core/heading",{level:3,content:t}],["core/paragraph",{content:(0,w.__)("Describe what happened at this point on the timeline.","b-blocks")}]]),v=(j((0,w.__)("First milestone","b-blocks")),j((0,w.__)("Second milestone","b-blocks")),j((0,w.__)("Third milestone","b-blocks")),JSON.parse('{"attributes":{"align":{"type":"string","default":""},"layout":{"type":"object","default":{"desktop":{"direction":"vertical","side":"alternate","itemGap":"10px","cardWidth":"100%","cardGap":"0px","markerGap":"10px"},"tablet":{"direction":"","side":"","itemGap":"","cardWidth":"","cardGap":"","markerGap":""},"mobile":{"direction":"","side":"","itemGap":"","cardWidth":"","cardGap":"","markerGap":""}}},"connector":{"type":"object","default":{"line":{"show":true,"style":"solid","bg":{"type":"solid","color":"#d9d9d9"},"progress":false,"activeBg":{"type":"solid","color":"#1e1e1e"},"progressFade":false,"extent":"markers","desktop":{"width":"2px","dash":"8px","gap":"6px"},"tablet":{"width":"","dash":"","gap":""},"mobile":{"width":"","dash":"","gap":""}},"arrow":{"show":true,"align":"center","color":"","desktop":{"size":"14px","offset":"16px"},"tablet":{"size":"","offset":""},"mobile":{"size":"","offset":""}}}},"marker":{"type":"object","default":{"shape":"circle","transition":300,"pulse":{"show":false,"bg":{"type":"solid","color":""},"speed":2400},"normal":{"bg":{"type":"solid","color":"#efefef"},"color":{"icon":"#1e1e1e"},"border":{"width":"0px"},"ring":{"width":"0px","style":"solid","offset":"0px","color":""},"shadow":[]},"hover":{"bg":{"type":"solid","color":""},"color":{"icon":""},"border":{},"ring":{"width":"","style":"","offset":"","color":""},"shadow":[]},"desktop":{"size":"34px","iconSize":"16px","radius":{}},"tablet":{"size":"","iconSize":"","radius":{}},"mobile":{"size":"","iconSize":"","radius":{}}}},"card":{"type":"object","default":{"normal":{"bg":{"type":"solid","color":"#efefef"},"border":{"width":"0px"},"shadow":[{"hOffset":"0px","vOffset":"0px","blur":"0px","spreed":"0px","color":"#7090b000","isInset":false}]},"hover":{"bg":{"type":"solid","color":""},"border":{}},"desktop":{"padding":{"top":"16px","right":"16px","bottom":"16px","left":"16px"},"radius":{"top":"4px","right":"4px","bottom":"4px","left":"4px"}},"tablet":{"padding":{},"radius":{}},"mobile":{"padding":{},"radius":{}}}},"date":{"type":"object","default":{"show":true,"color":"#1e1e1e","typo":{"fontSize":{"desktop":"16px"}},"desktop":{"gap":"16px"},"tablet":{"gap":""},"mobile":{"gap":""}}},"advanced":{"type":"object","default":{"dimension":{"padding":{"desktop":{"top":"","right":"","bottom":"","left":""},"tablet":{"top":"","right":"","bottom":"","left":""},"mobile":{"top":"","right":"","bottom":"","left":""}}},"transform":{"normal":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"hover":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"transition":200},"borderShadow":{"normal":{"radius":{"top":"","right":"","bottom":"","left":""},"shadow":[{"hOffset":"","vOffset":"","blur":"","spreed":"","color":"","isInset":false}],"border":{"top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}}},"background":{"normal":{"type":"color","color":"","gradient":{"type":"radial","radialType":"ellipse","colors":[{"color":"rgba(58, 66, 222, 1)","position":"0"},{"color":"rgba(176, 195, 235, 1)","position":"80"}],"centerPositions":{"x":50,"y":50},"angel":90},"img":{"url":"","desktop":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"tablet":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"mobile":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"}},"video":{"url":"","loop":false},"transition":0.3}}}}}}')),z=(t,e)=>{if(null==e)return t;if(Array.isArray(e)){const o=t&&"object"==typeof t&&!Array.isArray(t);return 0===e.length&&o?t:e}if("object"!=typeof e)return e;if(!t||"object"!=typeof t||Array.isArray(t))return e;const o={...t};return Object.keys(e).forEach((i=>{o[i]=z(t[i],e[i])})),o},N=(Object.fromEntries(Object.entries(v.attributes).map((([t,e])=>[t,e.default]))),
5 +JSON.parse('{"attributes":{"date":{"type":"string","default":""},"icon":{"type":"string","default":"<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 384 512\'><path d=\'M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\'/></svg>"},"item":{"type":"object","default":{"side":"","arrowAlign":"","marker":{"normal":{"bg":{"type":"solid","color":""},"color":{"icon":""},"ring":{"width":"","style":"","offset":"","color":""},"shadow":[]},"hover":{"bg":{"type":"solid","color":""},"color":{"icon":""},"ring":{"width":"","style":"","offset":"","color":""},"shadow":[]}},"pulse":{"show":"","bg":{"type":"solid","color":""},"speed":""},"card":{"normal":{"bg":{"type":"solid","color":""}}},"date":{"color":""},"arrow":{"bg":{"type":"solid","color":""}}}},"advanced":{"type":"object","default":{"dimension":{"padding":{"desktop":{"top":"","right":"","bottom":"","left":""},"tablet":{"top":"","right":"","bottom":"","left":""},"mobile":{"top":"","right":"","bottom":"","left":""}}},"transform":{"normal":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"hover":{"rotate":{"desktop":{"z":"","y":"","x":""},"tablet":{"z":"","y":"","x":""},"mobile":{"z":"","y":"","x":""},"threeDRotate":false},"offset":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"scale":{"isProportion":true,"desktop":{"x":"","y":"","scale":""},"tablet":{"x":"","y":"","scale":""},"mobile":{"x":"","y":"","scale":""}},"skew":{"desktop":{"x":"","y":""},"tablet":{"x":"","y":""},"mobile":{"x":"","y":""}},"flipX":false,"flipY":false},"transition":200},"borderShadow":{"normal":{"radius":{"top":"","right":"","bottom":"","left":""},"shadow":[{"hOffset":"","vOffset":"","blur":"","spreed":"","color":"","isInset":false}],"border":{"top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}}},"background":{"normal":{"type":"color","color":"","gradient":{"type":"radial","radialType":"ellipse","colors":[{"color":"rgba(58, 66, 222, 1)","position":"0"},{"color":"rgba(176, 195, 235, 1)","position":"80"}],"centerPositions":{"x":50,"y":50},"angel":90},"img":{"url":"","desktop":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"tablet":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"},"mobile":{"position":"center center","xPosition":0,"yPosition":0,"attachment":"","repeat":"no-repeat","size":"","customSize":"0px"}},"video":{"url":"","loop":false},"transition":0.3}}}}}}')),L=Object.fromEntries(Object.entries(N.attributes).map((([t,e])=>[t,e.default]))),D=window.ReactJSXRuntime,S=({attributes:t,id:e,isBackend:o=!1})=>{const{item:i,advanced:a}=((t={})=>z(L,t))(t),{marker:n,pulse:r,card:s,date:p,arrow:u}=i,b=`#${e}`,m=`${b}.b-blocks-timeline-item`,y=`${b} .b-blocks-timeline-card`,h=`${b} .b-blocks-timeline-marker`,M=`${b} .b-blocks-timeline-date`,x=c(u.bg)||c(s.normal.bg),f=["on"===r.show?"animation-name: bb-tl-marker-pulse;":"","off"===r.show?"animation-name: none;":"","off"===r.show?"":c(r.bg,!0,!0,!1),"off"===r.show?"":l("animation-duration",r.speed?`${r.speed}ms`:"")].filter(Boolean).join(" "),g=o?`#${e}>div>div:first-child`:`#${e}>div`,w=$(e,a,o,!0).split(g).join(`#${e}`);return(0,D.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${y}{\n\t\t\t\t${c(s.normal.bg)}\n\t\t\t}\n\t\t\t${m} .b-blocks-timeline-card::after{\n\t\t\t\t${x}\n\t\t\t}\n\t\t\t${h}{\n\t\t\t\t${c(n.normal.bg)}\n\t\t\t\t${l("color",n.normal.color.icon)}\n\t\t\t\t${k(n.normal.ring)}\n\t\t\t\t${l("box-shadow",d(n.normal.shadow||[]))}\n\t\t\t}\n\t\t\t${h}:hover{\n\t\t\t\t${c(n.hover.bg)}\n\t\t\t\t${l("color",n.hover.color.icon)}\n\t\t\t\t${k(n.hover.ring)}\n\t\t\t\t${l("box-shadow",d(n.hover.shadow||[]))}\n\t\t\t}\n\t\t\t${f?`${h}::after{ ${f} }`:""}\n\t\t\t${M}{\n\t\t\t\t${l("color",p.color)}\n\t\t\t}\n\t\t\t${w}\n\t\t\t`}})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-timeline-item[data-attributes]").forEach((e=>{let o={};try{const t=e.dataset.attributes;t&&"undefined"!==t&&""!==t&&(o=JSON.parse(t))}catch(t){return void console.warn("Timeline Item: Invalid attributes JSON",t)}const i=e.querySelector(":scope > .b-blocks-timeline-item-style");i&&((0,t.createRoot)(i).render((0,D.jsx)(S,{attributes:o,id:e.id})),e.removeAttribute("data-attributes"))}))}))})();