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/one-page-navigation/view.js +6 -1 2.1.7 → 2.1.8 View file →
@@ -1 +1,6 @@
1 -(()=>{"use strict";const t=window.React,e=window.ReactDOM,n="b-blocks-one-page-navigation",i=(t={},e="desktop")=>{const n=t?.bubble||{},i=u(n,e,"iconPosition",n.iconPosition||"auto");if("inside"===i||"center"===i)return"center";const o="outside"===i?n.side||"auto":i;return"left"===o||"right"===o?o:"left"===p(t.layout||{},e,"position","right")?"right":"left"},o={glassBullseye:["marker","item","media","animation","label","line"],magneticBubble:["marker","item","media","animation","label","line","bubble"],numberedSteps:["marker","item","number","media","line","label"],expandablePills:["marker","item","media","label"],stackedCards:["marker","item","media","label","line"],sideRail:["marker","item","media","label","line"]},r=["magneticBubble","expandablePills","stackedCards"],s=t=>!r.includes(t),a=["expandablePills","stackedCards"],l=t=>!a.includes(t),c=(t={})=>!s(t?.layout?.preset||"glassBullseye")||!!t?.media?.showIcon,d=(t,e)=>(o[t]||o.glassBullseye).includes(e),u=(t={},e,n,i="")=>{const o=e=>{const i=t?.[e]?.[n];return null==i||""===i?void 0:i},r=o("desktop")??i;if("desktop"===e)return r;const s=o("tablet")??r;return"tablet"===e?s:o("mobile")??s},$=(t="")=>String(t||"").trim().replace(/^#+/,""),h=t=>String(t+1).padStart(2,"0"),p=(t={},e,n,i)=>u(t,e,n,t[n]||i),b=t=>{const{layout:e={},animation:o={}}=t,r=e.preset||"glassBullseye",a=o.pulse&&d(r,"animation"),l=s(r)&&t?.media?.showIcon;return[n,`${n}-preset-${r}`,a?`${n}-pulse-${o.style||"pulseRing"}`:"","magneticBubble"===r&&"center"!==i(t)?`${n}-bubble-outside ${n}-bubble-${i(t)}`:"",l?"is-icon-visible":""].filter(Boolean).join(" ")},m={expandablePills:"link",stackedCards:"link"},g=t=>"link"===m[t],f=["magneticBubble","numberedSteps","stackedCards"],y=t=>"glassBullseye"===(t||"glassBullseye"),M={glassBullseye:{normal:{color:"#9aa0ae"},hover:{color:"#4b33f5"},active:{color:"#4b33f5"}},magneticBubble:{normal:{color:"#9aa0ae",background:"#ffffff",border:{width:"2px",style:"solid",color:"#e3e6ef"}},hover:{color:"#4b33f5",background:"#4b33f51a",markerColor:"#ffffff"},active:{color:"#4b33f5",background:"#4b33f5",markerColor:"#ffffff"}},numberedSteps:{normal:{color:"#9aa0ae",background:"#ffffff",border:{width:"2px",style:"solid",color:"#e3e6ef"}},hover:{color:"#4b33f5",background:"#4b33f51a",border:{width:"2px",style:"solid",color:"#4b33f5"}},active:{color:"#4b33f5",background:"#4b33f5",markerColor:"#ffffff",border:{width:"2px",style:"solid",color:"#4b33f5"}}},expandablePills:{normal:{color:"#1e2230"},hover:{color:"#4b33f5",background:"#4b33f51a"},active:{color:"#ffffff",background:"#4b33f5"}},stackedCards:{normal:{color:"#1e2230",background:"#ffffff",border:{width:"1px",style:"solid",color:"#e3e6ef"}},hover:{color:"#4b33f5",background:"#f4f5fa"},active:{color:"#ffffff",background:"#4b33f5",border:{width:"1px",style:"solid",color:"#4b33f5"}}},sideRail:{normal:{color:"#9aa0ae",background:"#9aa0ae"},hover:{background:"#4b33f5"},active:{background:"#4b33f5"}}},v=(t={},e,n=!1)=>{const{item:i={},line:o={},layout:r={}}=t,s=r.preset||"glassBullseye",a=i?.[e]||{},l=n&&(M[s]||{})[e]||{},c=t=>t&&("object"!=typeof t||Object.keys(t).length),d=(t,e)=>c(a[t])?a[t]:(n?l[t]:null)||e;return{color:d("color",""),background:d("background",{}),markerColor:d("markerColor",""),border:(()=>{if(c(a.border))return a.border;const t=o.color||o?.desktop?.thickness;return n&&t?{width:o?.desktop?.thickness||l.border?.width||"",style:"solid",color:o.color||l.border?.color||""}:(n?l.border:null)||{}})()}},w=(t={},e)=>t?.[e]?.color||"",x=window.ReactJSXRuntime,k=({icon:t={},label:e})=>{const{type:i="icon",icon:o="",img:r={},url:s="",alt:a="",svg:l=""}=t;if("none"===i)return null;if("image"===i){const t="string"==typeof r?{url:r}:r||{},i=t.url||s;return i?(0,x.jsx)("span",{className:`${n}-icon is-image`,children:(0,x.jsx)("img",{src:i,alt:t.alt||a||e||""})}):null}const c="svg"===i?l:o;return c?(0,x.jsx)("span",{className:`${n}-icon is-${"svg"===i?"svg":"icon"}`,dangerouslySetInnerHTML:{__html:c}}):null},j=()=>(0,x.jsxs)("svg",{className:`${n}-ring`,viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,x.jsx)("circle",{className:`${n}-ring-track`,cx:"12",cy:"12",r:"9"}),(0,x.jsx)("circle",{className:`${n}-ring-bar`,cx:"12",cy:"12",r:"9",pathLength:"100"})]}),N=(0,t.forwardRef)((({attributes:t,isBackend:e=!1},i=null)=>{const{items:o=[],layout:r={},behavior:s={},media:a={}}=t,c=r.preset||"glassBullseye",d=!l(c),u="numberedSteps"===c&&!a.showIcon;return(0,x.jsxs)("div",{ref:i,className:b(t),role:"navigation","aria-label":"Page sections","data-preset":c,"data-spy":s.scrollSpy?"1":"0","data-smooth":s.smoothScroll?"1":"0","data-hide-missing":s.hideMissingSections?"1":"0","data-speed":parseInt(s.scrollSpeed,10)||0,"data-offset":parseInt(s?.desktop?.scrollOffset,10)||0,"data-offset-tablet":s?.tablet?.scrollOffset??"","data-offset-mobile":s?.mobile?.scrollOffset??"",children:["magneticBubble"===c&&(0,x.jsx)("span",{className:`${n}-bubble`,"aria-hidden":"true"}),(0,x.jsx)("ul",{className:`${n}-list`,children:o.map(((t,i)=>{const o=$(t.sectionId),r=o?`#${o}`:void 0,s=e?"button":"a";return(0,x.jsxs)("li",{className:`${n}-item${o?"":" is-unlinked"}`,"data-target":o,children:[(0,x.jsxs)(s,{className:`${n}-link`,...e?{type:"button"}:{href:r},"aria-label":t.label||void 0,children:[(0,x.jsxs)("span",{className:`${n}-marker`,children:[u&&(0,x.jsx)("span",{className:`${n}-number`,children:h(i)}),!u&&(0,x.jsx)(k,{icon:t.icon,label:t.label}),"glassBullseye"===c&&(0,x.jsx)(j,{})]}),(0,x.jsx)("span",{className:d?`${n}-label`:`${n}-label ${n}-tooltip`,children:t.label})]}),e&&!o&&(0,x.jsx)("span",{className:`${n}-warning`,children:"No section chosen — this item is hidden on the front end."})]},t.id||i)}))})]})}));N.displayName="OnePageNavigation";const L=N,D=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),z=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 (min-width: 1025px)",S="@media only screen and (max-width: 1024px)",T="@media only screen and (max-width: 640px)",O="linear-gradient(135deg, #0040E3, #18D4FD)",C=t=>{const e=z(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},E=(t,e)=>D(e)?`${t}: ${e};`:"",A=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():E("border",e(t))},Y=(t,e,n=!0)=>{const{fontFamily:i="Default",fontCategory:o="sans-serif",fontVariant:r=400,fontWeight:s,isUploadFont:a=!0,fontSize:l={desktop:null,tablet:null,mobile:null},fontStyle:c,textTransform:d,textDecoration:u,lineHeight:$,letterSpace:h}=e||{},p=!n||!i||"Default"===i,b=l?.desktop||l,m=l?.tablet||b,g=l?.mobile||m,f=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},y=`\n\t\t${p?"":`font-family: '${i}', ${o};`}\n\t\t${E("font-weight",s)}\n\t\t${E("font-size",f(b))}\n\t\t${E("font-style",c)}\n\t\t${E("text-transform",d)}\n\t\t${E("text-decoration",u)}\n\t\t${E("line-height",$)}\n\t\t${E("letter-spacing",h)}\n\t`,M=r&&400!==r?"400i"===r?":ital@1":r?.includes("00i")?`: ital, wght@1, ${r?.replace("00i","00")} `:`: wght@${r} `:"",v=p?"":`https://fonts.googleapis.com/css2?family=${i?.split(" ").join("+")}${M.replace(/ /g,"")}&display=swap`;return{googleFontLink:!a||p?"":`@import url(${v});`,styles:`${t}{\n\t\t\t${y}\n\t\t}\n\t\t${S} {\n\t\t\t${t}{\n\t\t\t\t${E("font-size",f(m))}\n\t\t\t}\n\t\t}\n\t\t${T} {\n\t\t\t${t}{\n\t\t\t\t${E("font-size",f(g))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},Q=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},U=t=>{const{position:e="center center",xPosition:n=0,yPosition:i=0,attachment:o="",repeat:r="no-repeat",size:s="cover",customSize:a="0px"}=t||{},l=t=>"initial"!==t||D(t);return`\n\t\t${l(e)?`background-position: ${"custom"===e?`${n} ${i}`:e};`:""}\n\t\t${o&&l(o)?`background-attachment: ${o};`:""}\n\t\t${l(r)?`background-repeat: ${r};`:""}\n\t\t${l(s)?`background-size: ${"custom"===s?`${a} auto`:s};`:""}\n\t`},B=(t={})=>t?{desktop:D(t.url)?`background-image: ${C(t.url)}; ${U(t?.desktop)}`:"",tablet:D(t.url)?U(t?.tablet):"",mobile:D(t.url)?U(t?.mobile):""}:"",P=(t,e,n=!1)=>{const{type:i="color",color:o,gradient:r,img:s,video:a}=t||{},l="color"===i?E("background",o):"gradient"===i?(t=>{const{type:e="linear",radialType:n="ellipse",colors:i=[],centerPositions:o={x:0,y:0},angel:r=0}=t||{};if(D(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),s=`linear-gradient(${r}deg, ${t})`;return E("background","radial"===e?`radial-gradient(${n} at ${o?.x}% ${o?.y}%,${t})`:s)}return""})(r):"image"===i?B(s).desktop:"",c="image"===i?B(s).tablet:"",d="image"===i?B(s).mobile:"",u=n?`${e}:hover`:e;return`\n\t\t${"video"===i?((t,e)=>{const{url:n,loop:i}=t||{},o=document.querySelector(e),r=o?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!r&&o&&n){const t=z(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}`})(a,e):""}\n\n\t\t${l?`${u}{\n\t\t\t${l}\n\t\t}`:""}\n\n\t\t${c?`${S} {\n\t\t\t${u}{\n\t\t\t\t${c}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${d?`${T} {\n\t\t\t${u}{\n\t\t\t\t${d}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},R=(t,e,n=!1)=>{const{isEnabled:i,colors:o,opacity:r=1,blend:s,filter:a="",blur:l=0,brightness:c=100,contrast:d=100,saturation:u=100,hue:$=0,position:h={top:0,right:0,bottom:0,left:0},zIndex:p=-1}=t||{},b=`${100!==c?`brightness(${c}%)`:""} ${100!==d?`contrast(${d}%)`:""} ${100!==u?`saturate(${u}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==$?`hue-rotate(${$}deg)`:""}`,m=`${a}: ${a?b:""}; -webkit-${a}: ${a?b:""};`,g=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:${D(h.top)?h.top:0};\n\t\t\tright:${D(h.right)?h.right:0};\n\t\t\tbottom:${D(h.bottom)?h.bottom:0};\n\t\t\tleft:${D(h.left)?h.left:0};\n\t\t\tz-index:${p};\n\t\t}\n\t\t${P(o,g,!1)}\n\t\t${g}{\n\t\t\t${E("opacity",r)}\n\t\t\t${E("mix-blend-mode",s)}\n\t\t\t${m}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},H=(t,e,n=!1)=>{const i=(t,e="desktop")=>{if(!D(t))return"";const{skew:n,scale:i,rotate:o,offset:r,flipX:s,flipY:a}=t,{threeDRotate:l}=o||{},{isProportion:c}=i||{},d=[];return D(n)&&(D(n?.[e]?.x)&&d.push(`skewX(${n[e].x}deg)`),D(n?.[e]?.y)&&d.push(`skewY(${n[e].y}deg)`)),c?D(i?.[e]?.scale)&&d.push(`scale(${i[e].scale})`):(D(i?.[e]?.x)&&d.push(`scaleX(${i[e].x})`),D(i?.[e]?.y)&&d.push(`scaleY(${i[e].y})`)),D(o)&&(D(o?.[e]?.z)&&d.push(`rotateZ(${o[e].z}deg)`),l&&(D(o?.[e]?.x)&&d.push(`rotateX(${o[e].x}deg)`),D(o?.[e]?.y)&&d.push(`rotateY(${o[e].y}deg)`))),D(r)&&(D(r?.[e]?.x)&&d.push(`translateX(${r[e].x})`),D(r?.[e]?.y)&&d.push(`translateY(${r[e].y})`)),D(s)&&d.push(s?"scaleX(-1)":""),D(a)&&d.push(a?"scaleY(-1)":""),0===d.length?"":E("transform",d.join(" "))},o=n?`${e}:hover`:e;return`\n\t\t${o} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${S}{\n\t\t\t${o} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${T}{\n\t\t\t${o} {\n\t\t\t\t${i(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},F=t=>{const{padding:e,margin:n,height:i,width:o}=t||{},r=(t,e)=>E(t,e),s=(t,e,n)=>r(t,e?.[t]?.[n])+r(`min-${t}`,e?.min?.[n])+r(`max-${t}`,e?.max?.[n]),a=t=>E("padding",Q(t)),l=t=>E("margin",Q(t));return{desktop:a(e?.desktop)+l(n?.desktop)+s("height",i,"desktop")+s("width",o,"desktop"),tablet:a(e?.tablet)+l(n?.tablet)+s("height",i,"tablet")+s("width",o,"tablet"),mobile:a(e?.mobile)+l(n?.mobile)+s("height",i,"mobile")+s("width",o,"mobile")}},Z=t=>{const{normal:e,hover:n}=t||{},i=t=>{const{border:e,radius:n,shadow:i}=t||{},o=E("border-radius",Q(n)),r=E("box-shadow",((t,e="box")=>{let n="";return t?.map(((i,o)=>{const{hOffset:r="0px",vOffset:s="0px",blur:a="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},u=d?"inset":"",$=`${r} ${s} ${a}`,h=o+1>=t.length?"":", ";n+="text"===e?`${$} ${c}${h}`:`${$} ${l} ${c} ${u}${h}`})),n||""})(i,"box"));return A(e)+o+r};return{normal:i(e),hover:i(n)}},W=t=>{const{zIndex:e,overflow:n}=t||{},i=n?`overflow: ${n};`:"",o=t=>`${E("z-index",e?.[t])} ${E("position",D(e?.[t])?"relative":"")}`;return{desktop:o("desktop")+i,tablet:o("tablet"),mobile:o("mobile")}},q=(t,e)=>{const{desktop:n=!1,tablet:i=!1,mobile:o=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",s=t=>t?r:"";return{desktop:s(n),tablet:s(i),mobile:s(o)}},X=(t,e,n=!1,i=!0)=>{const{dimension:o,transform:r,background:s,borderShadow:a,mask:l,animation:c,visibility:d,responsive:u,position:$={},floating:h={},motion:p={},css:b=""}=e||{},m=n?`#${t}>div>div${i?":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)})(c,t,n);const g=F(o).desktop+W(d).desktop+((t,e,n)=>{const{transition:i=.4}=t||{},{transition:o=.4}=e||{},{transition:r=200}=n||{};return`transition: background ${i}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${r}ms ease-in-out;`})(s,a,r)+(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:r="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?C(n.url):`url(${(s=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===s))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===o.type?`${E("-webkit-mask-position-x",o.x)}\n\t\t\t${E("-webkit-mask-position-y",o.y)}`:`${E("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${r};`:""}`:"";var s})(l),f=F(o).tablet+W(d).tablet+q(u,n).tablet,y=F(o).mobile+W(d).mobile+q(u,n).mobile,M=Z(a).normal,v=Z(a).hover,w=q(u,n).desktop;return`\n\t\t${g||M?`${m} {\n\t\t\t${g}\n\t\t\t${M}\n\t\t}`:""}\n\t\t${v?`${m}:hover {\n\t\t\t${v}\n\t\t}`:""}\n\n\t\t${w?`${I} {\n\t\t\t${m}{\n\t\t\t\t${w}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${f?`${S} {\n\t\t\t${m}{\n\t\t\t\t${f}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y?`${T} {\n\t\t\t${m}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${P(s?.normal,m)}\n\t\t${P(s?.hover,m,!0)}\n\t\t${R(s?.overlay,m)}\n\t\t${R(s?.hoverOverlay,m,!0)}\n\t\t${D(r?.normal)?H(r?.normal,m):""}\n\t\t${D(r?.hover)?H(r?.hover,m,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:i={},mobile:o={}}=t,r=(t={})=>`\n\t\t${e}{\n\t\t\t${E("position",t?.type)}\n\t\t\t${E("left",t?.horizontal?.left)}\n\t\t\t${E("right",t?.horizontal?.right)}\n\t\t\t${E("top",t?.vertical?.top)}\n\t\t\t${E("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?r(n):""}\n\t\t\n\t\t${S}{\n\t\t\t${i?.type?r(i):""}\n\t\t}\n\n\t\t${T}{\n\t\t\t${o?.type?r(o):""}\n\t\t}\n\t`})($,m)}\n\t\t${((t,e,n="")=>{const{translate:i={},rotate:o={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const a=[],l=[];return[{name:"Translate",property:"translate",values:i,value:t=>["x","y"].some((e=>D(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=>D(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 D(e)||D(n)?D(n)?`1 ${D(e)?e:1} ${n}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:i,value:o})=>{const r=o("from"),s=o("to");if(!r||!s)return;const c=Number(i?.duration)>0?Number(i.duration):1e3,d=Number(i?.delay)>0?Number(i.delay):0,u=`advFloat${t}${n?`-${n}`:""}`;a.push(`@keyframes ${u}{ from{ ${e}: ${r}; } to{ ${e}: ${s}; } }`),l.push(`${u} ${c}ms ease-in-out ${d}ms infinite alternate`)})),l.length?`\n\t\t${a.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${l.join(", ")};\n\t\t}\n\t`:""})(h,m,t)}\n\t\t${((t,e,n)=>{const{isEnable:i=!1,vertical:o={},horizontal:r={},transparency:s={},blur:a={},rotate:l={},scale:c={},effectsRelativeTo:d="viewport",effectOn:u=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:$=!1,mouseTrack:h={},tilt:p={},sticky:b={}}=t||{},m=(t,e)=>D(t)&&!isNaN(t)?Number(t):e,g="viewport"===d,f=g?"view()":"scroll(nearest block)",y=[],M=[],v=[],w=[],x=String(n??"").replace(/[^a-zA-Z0-9]/g,""),k=(t,e,n)=>{y.push(`@keyframes advMe${t}${x}{ ${e} }`),M.push(`advMe${t}${x}`),v.push(f),w.push((t=>{const e=m(t?.top,0),n=m(t?.bottom,100),i=Math.min(e,n),o=Math.max(e,n);return g?`cover ${i}% ${o>=90?"contain 100%":`cover ${o}%`}`:`min(${3*i}vh, ${i}%) min(${3*o}vh, ${o}%)`})(n))};if(i){const t=o?.direction,e=r?.direction,n=t?100*m(o?.speed,4):0,i=e?100*m(r?.speed,4):0;if(n||i){const s="up"===t?-n:n,a="to-left"===e?-i:i,l=[n&&o,i&&r].filter(Boolean);k("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${s}px; }`,{top:Math.min(...l.map((t=>m(t?.top,0)))),bottom:Math.max(...l.map((t=>m(t?.bottom,100))))})}const d=s?.direction;if(d){const t=Math.max(0,1-m(s?.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}; }`}[d];e&&k("Opacity",e,s)}const u=a?.direction;if(u){const t=3*m(a?.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); }`}[u];e&&k("Blur",e,a)}const $=l?.direction;if($){const t=20*m(l?.level,4);k("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===$?-t:t}deg; }`,l)}if(c?.direction){const t=.15*m(c?.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; }`}[c.direction];i&&k("Scale",i,c)}}const j=[];if($){if(h?.direction){const t="direct"===h?.direction?100:-100;j.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(p?.direction){const t=12*("direct"===p?.direction?1:-1);j.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const N=(t,n,i)=>{if(!t||!t.defaultView)return;const o=t.defaultView,r=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),s=r.items.get(e)||{x:0,y:0};if(s.rate=n,s.build=i,r.items.set(e,s),r.bound)return;r.bound=!0;const a=e=>{const n=r.last?Math.min(e-r.last,100):16.7;r.last=e;let i=!1;r.items.forEach(((e,o)=>{const s=e.el&&e.el.isConnected?e.el:t.querySelector(o);if(!s)return;e.el=s;const a=e.rate*n/1e3,l=r.x-e.x,c=r.y-e.y,d=Math.sqrt(l*l+c*c);d<=a?(e.x=r.x,e.y=r.y):(e.x+=l/d*a,e.y+=c/d*a,i=!0),s.style.transform=e.build(e.x,e.y)})),r.frame=i?o.requestAnimationFrame(a):0,r.last=i?e:0};t.addEventListener("pointermove",(t=>{r.x=2*(t.clientX/o.innerWidth-.5),r.y=2*(t.clientY/o.innerHeight-.5),r.frame||(r.frame=o.requestAnimationFrame(a))}))};if(j.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*m(h?.speed,m(p?.speed,4))),e=(t,e)=>j.map((n=>n(t,e))).join(" ");N(document,t,e),N(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const L=t=>b?.[t]||("desktop"===t?b?.undefined:""),z=e.split(">")[0],O=t=>{const e=L(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?L("desktop"):"mobile"===t?L("tablet")||L("desktop"):"")(t)?"position: static;":""},C=Array.isArray(u)?u:D(u)?[u]:[],E=t=>!C.length||C.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${M.length?`\n\t\t${y.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${M.join(", ")};\n\t\t\t\tanimation-duration: ${M.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${M.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${M.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${M.map((()=>g?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${v.join(", ")};\n\t\t\t\tanimation-range: ${w.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")?`${T}{ ${E("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${j.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${O("desktop")?`${z}{ ${O("desktop")} }`:""}\n\t\t${O("tablet")?`${S}{ ${z}{ ${O("tablet")} } }`:""}\n\t\t${O("mobile")?`${T}{ ${z}{ ${O("mobile")} } }`:""}\n\t`})(p,m,t)}\n\t\t${b}\n\t`.replace(/\s+/g," ")},V=(t,e)=>t?`calc(${t} * ${e})`:"",G=({attributes:t,id:e,isBackend:o=!1})=>{const{advanced:r={},layout:a={},marker:$={},item:h={},media:b={},label:m={},line:M={},bubble:k={},number:j={},animation:N={}}=t,L=a.preset||"glassBullseye",D=`#${e}`,z=`${D} .${n}`,I=`${z} .${n}-list`,U=`${z} .${n}-link`,B=`${z} .is-active .${n}-link`,P=`${z} .${n}-marker`,R=`${z} .is-active .${n}-marker`,H=`${U}:hover .${n}-marker`,F=`${z} .${n}-label`,Z=`${z} .${n}-tooltip`,W=`${z} .${n}-number`,q=`${z} .${n}-icon`,G=s(L)&&b.showIcon?"::before":"",J=`${q}.is-icon, ${q}.is-svg`,_=`${q}.is-image`,K=`${z} .${n}-bubble`,tt=`${z} .${n}-ring circle`,et=`${z} .${n}-ring-track`,nt=(t,e)=>e.replace(/\s+/g," ").trim()?`${t}{ ${e} }`:"",it=g(L),ot=it?U:P,rt=it?`${U}:hover`:H,st=it?B:`${R}${"magneticBubble"===L?"::before":""}`,at={item:h,line:M,layout:a},lt={normal:v(at,"normal"),hover:v(at,"hover"),active:v(at,"active")},ct=t=>!!(t?.width||t?.top||t?.right||t?.bottom||t?.left),dt=t=>(t=>f.includes(t))(L)&&ct(t)?A(t):"",ut=t=>Array.isArray(t)&&t.length?t.map((t=>((t,e="box")=>{const{hOffset:n="0px",vOffset:i="0px",blur:o="0px",spreed:r="0px",color:s="#7090b0",isInset:a=!1}=t||{},l=`${n} ${i} ${o}`;return("text"===e?`${l} ${s}`:`${l} ${r} ${s} ${a?"inset":""}`)||"none"})(t))).join(", "):"",$t=t=>t?.color||("string"==typeof t?t:""),ht=t=>((t,e=!0,n=!0,i=!0)=>{const{type:o="solid",color:r="",gradient:s=O,image:a={},position:l="center center",attachment:c="",repeat:d="no-repeat",size:u="",overlayColor:$=""}=t||{};return"gradient"===o&&n?E("background",s):"image"===o&&i?`background: ${C(a?.url)};\n\t\t\t\t${E("background-color",$)}\n\t\t\t\t${E("background-position",l)}\n\t\t\t\t${E("background-size",u)}\n\t\t\t\t${E("background-repeat",d)}\n\t\t\t\t${E("background-attachment",c)}\n\t\t\t\t${E("background-repeat",d)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&E("background",r)})((t=>"string"==typeof t?{type:"solid",color:t}:t||{})(t)).trim(),pt={glassBullseye:`\n\t\t\t${nt(`${z} .${n}-ring-bar`,E("stroke",M.progressColor))}\n\t\t\t${nt(`${z} .is-passed .${n}-link`,E("color",lt.active.color))}\n\t\t`,magneticBubble:`\n\t\t\t${nt(`${I}::before`,E("background",M.color))}\n\t\t\t${nt(P,E("border-color",M.color))}\n\t\t\t${nt(R,"background: none; border-color: transparent;")}\n\t\t\t${nt(K,E("background",$t(lt.active.background)))}\n\t\t`,numberedSteps:`\n\t\t\t${nt(`${I}::before`,E("background",M.color))}\n\t\t\t${nt(P,E("border-color",M.color))}\n\t\t\t${nt(H,E("border-color",lt.hover.color))}\n\t\t\t${nt(R,E("border-color",$t(lt.active.background)))}\n\t\t`,expandablePills:"",stackedCards:`\n\t\t\t${nt(U,E("border-color",M.color))}\n\t\t\t${nt(B,E("border-color",$t(lt.active.background)))}\n\t\t`,sideRail:`\n\t\t\t${nt(`${I}::before`,E("background",M.color))}\n\t\t`},bt=it?"":G,mt=`\n\t\t${nt(U,E("color",lt.normal.color))}\n\t\t${nt(`${ot}${bt}`,ht(lt.normal.background))}\n\t\t${nt(P,E("color",lt.normal.markerColor))}\n\n\t\t${nt(`${U}:hover`,E("color",lt.hover.color))}\n\t\t${nt(`${rt}${bt}`,ht(lt.hover.background))}\n\t\t${nt(H,E("color",lt.hover.markerColor))}\n\n\t\t${nt(B,E("color",lt.active.color))}\n\t\t${nt(`${st}${bt}`,ht(lt.active.background))}\n\t\t${nt(R,E("color",lt.active.markerColor))}\n\t\t${nt(`${z} .is-active .${n}-number, ${z} .is-active .${n}-icon`,E("color",lt.active.markerColor))}\n\n\t\t${y(L)?`\n\t\t\t${nt(et,E("stroke",h?.normal?.ringColor))}\n\t\t\t${nt(`${U}:hover .${n}-ring-track`,E("stroke",h?.hover?.ringColor))}\n\t\t\t${nt(`${z} .is-active .${n}-ring-track`,E("stroke",h?.active?.ringColor))}\n\t\t`:""}\n\n\t\t${nt(`${ot}${bt}`,E("box-shadow",ut(h?.normal?.shadow)))}\n\t\t${nt(`${rt}${bt}`,E("box-shadow",ut(h?.hover?.shadow)))}\n\t\t${nt(`${st}${bt}`,E("box-shadow",ut(h?.active?.shadow)))}\n\t`,gt=$t(lt.active.background)||lt.active.color,ft={pulseRing:nt(`${R}::after`,E("border-color",gt)),radar:nt(`${R}::after`,E("background",gt)),breathingGlow:nt(`${R}::after`,E("color",gt)),heartbeat:""},yt=t=>{const e="mobile"===t?"12px":"24px",n=u(a,t,"offsetX","")||e,i=u(a,t,"offsetY","")||e,o=p(a,t,"position","right"),r=p(a,t,"verticalAlign","center"),s="left"===o?"left: calc(100% + 12px); right: auto;":"right: calc(100% + 12px); left: auto;";return`\n\t\t\t${nt(D,`${"left"===o?`left: ${n}; right: auto;`:`right: ${n}; left: auto;`} ${"top"===r?`top: ${i}; bottom: auto; transform: none;`:"bottom"===r?`bottom: ${i}; top: auto; transform: none;`:"top: 50%; bottom: auto; transform: translateY(-50%);"}`)}\n\t\t\t${nt(Z,s)}\n\t\t`},Mt=e=>{const o=$?.[e]?.size,r=M?.[e]?.thickness,s=h?.[e]?.spacing,a=h?.[e]?.width||o,c={glassBullseye:`\n\t\t\t\t${nt(P,`\n\t\t\t\t\t${E("width",o)}\n\t\t\t\t\t${E("height",o)}\n\t\t\t\t`)}\n\t\t\t`,magneticBubble:`\n\t\t\t\t${nt(`${I}::before`,`\n\t\t\t\t\t${E("left",V(a,.5))}\n\t\t\t\t\t${E("width",r)}\n\t\t\t\t`)}\n\t\t\t\t${nt(P,`\n\t\t\t\t\t${E("width",o)}\n\t\t\t\t\t${E("height",o)}\n\t\t\t\t\t${E("border-width",r)}\n\t\t\t\t`)}\n\t\t\t\t${nt(`${R}::before`,E("inset",V(o,-.285)))}\n\t\t\t\t${nt(K,`\n\t\t\t\t\t${E("left",V(a,.5))}\n\t\t\t\t\t${E("width",V(o,2))}\n\t\t\t\t\t${E("height",V(o,2))}\n\t\t\t\t\t${o?`margin: ${V(o,-1)} 0 0 ${V(o,-1)};`:""}\n\t\t\t\t`)}\n\t\t\t\t${(()=>{const o=k?.[e]||{};if("desktop"!==e&&!o.iconPosition&&!o.x&&!o.y)return"";const r=i(t,e),s=u(k,e,"x","0px"),a=u(k,e,"y","0px");return`\n\t\t\t\t${nt(`${z} .${n}-icon`,"center"===r?"transform: none;":`transform: translate(${"left"===r?`calc(${s} * -1)`:s}, ${a});`)}\n\t\t\t\t${nt(`${z} .is-active .${n}-icon`,E("color","center"===r?lt.active.markerColor:lt.active.color))}\n\t\t\t`})()}\n\t\t\t`,numberedSteps:`\n\t\t\t\t${nt(`${I}::before`,`\n\t\t\t\t\t${E("left",V(a,.5))}\n\t\t\t\t\t${E("width",r)}\n\t\t\t\t`)}\n\t\t\t\t${nt(P,`\n\t\t\t\t\t${E("width",o)}\n\t\t\t\t\t${E("border-width",r)}\n\t\t\t\t`)}\n\t\t\t`,expandablePills:nt(P,`\n\t\t\t\t${E("width",o)}\n\t\t\t\t${E("height",o)}\n\t\t\t`),stackedCards:`\n\t\t\t\t${nt(P,`\n\t\t\t\t\t${E("width",o)}\n\t\t\t\t\t${E("height",o)}\n\t\t\t\t`)}\n\t\t\t\t${nt(U,E("border-width",r))}\n\t\t\t`,sideRail:`\n\t\t\t\t${nt(`${I}::before`,E("width",r))}\n\t\t\t\t${nt(`${P}${G}`,`\n\t\t\t\t\t${E("width",o)}\n\t\t\t\t\t${E("height",r)}\n\t\t\t\t`)}\n\t\t\t\t${nt(`${H}${G}`,E("width",V(o,1.25)))}\n\t\t\t\t${nt(`${R}${G}`,E("width",V(o,1.5)))}\n\t\t\t`};return`\n\t\t\t${nt(I,E("gap",s))}\n\t\t\t${nt(U,l(L)?"":E("gap",m?.[e]?.gap))}\n\t\t\t${nt(Z,l(L)?E("border-radius",Q(m?.[e]?.radius)):"")}\n\t\t\t${nt(F,E("padding",Q(m?.[e]?.padding)))}\n\t\t\t${c[L]||""}\n\t\t`},vt=`\n\t\t${nt(J,E("color",b.color))}\n\t\t${nt(`${J} svg, ${J} svg path`,E("fill",b.color))}\n\t\t${nt(`${U}:hover .${n}-icon.is-icon, ${U}:hover .${n}-icon.is-svg`,E("color",b.hoverColor))}\n\t\t${nt(`${U}:hover .${n}-icon.is-icon svg path, ${U}:hover .${n}-icon.is-svg svg path`,E("fill",b.hoverColor))}\n\t\t${nt(`${z} .is-active .${n}-icon.is-icon, ${z} .is-active .${n}-icon.is-svg`,E("color",b.activeColor))}\n\t\t${nt(`${z} .is-active .${n}-icon.is-icon svg path, ${z} .is-active .${n}-icon.is-svg svg path`,E("fill",b.activeColor))}\n\t`,wt=t=>{const e=h?.[t]||{},n=e.width;return`\n\t\t\t${nt(ot,`\n\t\t\t\t${(t=>g(t))(L)?E("padding",Q(e.padding)):""}\n\t\t\t\t${E("border-radius",Q(e.radius))}\n\t\t\t\t${E("width",n)}\n\t\t\t\t${E("min-width",n)}\n\t\t\t\t${E("height",e.height)}\n\t\t\t`)}\n\t\t\t${y(L)?nt(tt,E("stroke-width",e.ringSize)):""}\n\t\t`},xt=t=>{const e=b?.[t]?.size,n=b?.[t]?.width,i=b?.[t]?.height,o=Q(b?.[t]?.radius),r=b?.[t]?.objectFit||("desktop"===t?b.objectFit:"");return`\n\t\t\t${nt(J,`\n\t\t\t\t${E("width",e)}\n\t\t\t\t${E("height",e)}\n\t\t\t`)}\n\t\t\t${nt(_,`\n\t\t\t\t${E("width",n)}\n\t\t\t\t${E("height",i)}\n\t\t\t\t${E("border-radius",o)}\n\t\t\t`)}\n\t\t\t${nt(`${_} img`,(t=>"contain"===t?"width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;":t?`width: 100%; height: 100%; ${E("object-fit",t)}`:"")(r))}\n\t\t`},kt=N.pulse&&d(L,"animation"),jt=kt?nt(`${R}::after`,E("animation-duration",N.speed)):"",Nt=`\n\t\t${Y("",m.typo)?.googleFontLink}\n\t\t${Y("",j.typo)?.googleFontLink}\n\t\t${Y(F,m.typo)?.styles}\n\t\t${Y(W,j.typo)?.styles}\n\n\t\t${nt(Z,`\n\t\t\t${ht(m.tooltipBackground)}\n\t\t\t${E("color",m.tooltipText)}\n\t\t\t${Lt=m.border,l(L)&&ct(Lt)?A(Lt):""}\n\t\t`)}\n\t\t${pt[L]||""}\n\t\t${mt}\n\t\t${((t={})=>"numberedSteps"===(t?.layout?.preset||"glassBullseye")&&!t?.media?.showIcon)(t)?`\n\t\t${nt(W,E("color",w(j,"normal")))}\n\t\t${nt(`${U}:hover .${n}-number`,E("color",w(j,"hover")))}\n\t\t${nt(`${z} .is-active .${n}-number`,E("color",w(j,"active")))}\n\t`:""}\n\t\t${c(t)?vt:""}\n\t\t${kt?ft[N.style]??ft.pulseRing:""}\n\t\t${jt}\n\n\t\t${yt("desktop")}\n\t\t${Mt("desktop")}\n\t\t${wt("desktop")}\n\t\t${c(t)?xt("desktop"):""}\n\n\t\t${S}{\n\t\t\t${yt("tablet")}\n\t\t\t${Mt("tablet")}\n\t\t\t${wt("tablet")}\n\t\t\t\t${c(t)?xt("tablet"):""}\n\t\t}\n\n\t\t${T}{\n\t\t\t${yt("mobile")}\n\t\t\t${Mt("mobile")}\n\t\t\t${wt("mobile")}\n\t\t\t\t${c(t)?xt("mobile"):""}\n\t\t}\n\n\t\t${nt(ot,dt(lt.normal.border))}\n\t\t${nt(rt,dt(lt.hover.border))}\n\t\t${nt(st,dt(lt.active.border))}\n\n\t\t${X(e,r,o,!1)}\n\n\t\t`;var Lt,Dt;return(0,x.jsx)("style",{dangerouslySetInnerHTML:{__html:(Dt=Nt,Dt.replace(/[^{}]+\{\s*\}/g,"").replace(/[^{}]+\{\s*\}/g,""))}})},J=(t="")=>String(t).replace(/<[^>]*>/g," ").replace(/&nbsp;|&#160;/g," ").replace(/&amp;/g,"&").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),_='h1, h2, h3, h4, h5, h6, .sectionHeadingTitle, [role="heading"]',K=t=>{const e=new Map;return t?(t.querySelectorAll(_).forEach((t=>{const n=J(t.textContent);n&&!e.has(n)&&e.set(n,(t=>{const e=t.closest('section, article, .wp-block-group, .wp-block-cover, [id^="bBlocks"], [data-block]');return e&&1===e.querySelectorAll(_).length?e:t})(t))})),e):e};class tt{constructor(t,{updateHash:e=!0,manageFocus:i=!0,preview:o=!1}={}){this.nav=t,this.doc=t.ownerDocument,this.win=this.doc.defaultView||window,this.updateHash=e,this.manageFocus=i,this.preview=o,this.items=Array.from(t.querySelectorAll(`.${n}-item`)),this.bubble=t.querySelector(`.${n}-bubble`),this.offset=parseInt(t.dataset.offset,10)||0,this.speed=parseInt(t.dataset.speed,10)||0,this.smooth="1"===t.dataset.smooth,this.spy="1"===t.dataset.spy,this.hideMissing="1"===t.dataset.hideMissing,this.scroller=null,this.active=-1,this.raf=0,this.scrollRaf=0,this.resizeRaf=0,this.listeners=[],this.targets=new Map,this.headings=new Map,this.sync(),this.bindClicks(),this.observe(),this.watchDOM(),this.onScroll()}findScroller(){const t=this.items.map((t=>this.target(t))).find(Boolean)||this.nav;let e=t?.parentElement,n=null;for(;e&&e!==this.doc.body&&e!==this.doc.documentElement;){const t=this.win.getComputedStyle(e);/(auto|scroll|overlay)/.test(t.overflowY)&&e.scrollHeight>e.clientHeight+1&&(n=e),e=e.parentElement}return n}view(){const t=this.scroller;return t?{top:t.scrollTop,height:t.clientHeight,edge:t.getBoundingClientRect().top,extent:t.scrollHeight}:{top:this.win.scrollY,height:this.win.innerHeight,edge:0,extent:Math.max(this.doc.documentElement?.scrollHeight||0,this.doc.body?.scrollHeight||0)}}topOf(t){return t.getBoundingClientRect().top-this.view().edge}scrollToY(t){this.scroller?this.scroller.scrollTop=t:this.win.scrollTo(this.win.scrollX,t)}currentOffset(){const t=this.win.innerWidth||0,e=t=>{const e=parseFloat(this.nav.dataset[t]);return isNaN(e)?null:e},n=640>=t?e("offsetMobile"):null,i=1024>=t?e("offsetTablet"):null;return n??i??this.offset}target(t){if(this.targets.has(t))return this.targets.get(t);const e=((t,e,n)=>{const i=$(e);if(!t||!i)return null;const o=t.getElementById(i);if(o)return o;const r=J(i);return r&&(n||K(t)).get(r)||null})(this.doc,t.dataset.target,this.headings);return this.targets.set(t,e),e}sync(){this.targets=new Map,this.headings=K(this.doc),this.scroller=this.findScroller();const t=this.items.filter((t=>!this.target(t))),e=t.length===this.items.length,i=this.hideMissing&&!e;this.items.forEach((e=>{const o=i&&t.includes(e);e.hidden=o;const r=e.querySelector(`.${n}-link`);r&&(r.tabIndex=o?-1:0)})),e&&t.length&&!this.warned&&(this.warned=!0)}bindClicks(){this.items.forEach(((t,e)=>{const i=t.querySelector(`.${n}-link`);if(!i)return;const o=n=>{this.boxOf(t)&&(n.preventDefault(),this.scrollTo(this.target(t),e))};i.addEventListener("click",o),this.listeners.push((()=>i.removeEventListener("click",o)))}))}scrollTo(t,e){const n=this.currentOffset(),i=Math.max(0,this.view().top+this.topOf(t)-n),o=()=>{if(!this.manageFocus)return;const e=t.hasAttribute("tabindex"),n=t.style.outline;e||(t.setAttribute("tabindex","-1"),t.style.outline="none"),t.focus({preventScroll:!0}),e||t.addEventListener("blur",(()=>{t.removeAttribute("tabindex"),t.style.outline=n}),{once:!0})};if(this.setActive(e),this.updateHash&&t.id&&this.win.history?.replaceState&&this.win.history.replaceState(null,"",`#${t.id}`),!this.smooth||(r=this.win,r.matchMedia?.("(prefers-reduced-motion: reduce)").matches)||!this.speed)return this.scrollToY(i),void o();var r;this.win.cancelAnimationFrame(this.raf);const s=this.view().top,a=this.win.performance.now(),l=t=>{const e=Math.min(1,(t-a)/this.speed);var n;this.scrollToY(s+(i-s)*(.5>(n=e)?4*n*n*n:1-Math.pow(-2*n+2,3)/2)),1>e?this.raf=this.win.requestAnimationFrame(l):o()};this.raf=this.win.requestAnimationFrame(l)}setActive(t){t!==this.active&&(this.active=t,this.paint(),this.items.forEach(((e,i)=>{const o=e.querySelector(`.${n}-link`);e.classList.toggle("is-active",i===t),o&&(i===t?o.setAttribute("aria-current","true"):o.removeAttribute("aria-current"))})),this.moveBubble())}moveBubble(){if(!this.bubble)return;const t=this.items[this.active];if(!t||t.hidden)return void(this.bubble.style.opacity="0");this.bubble.style.opacity="0.2";const e=this.nav.querySelector(`.${n}-list`),i=e&&"row"===this.win.getComputedStyle(e).flexDirection;this.bubble.style.transform=i?`translateX(${t.offsetLeft+t.offsetWidth/2}px)`:`translateY(${t.offsetTop+t.offsetHeight/2}px)`}rootMargin(){const t=this.currentOffset();return`-${t}px 0px -${Math.max(0,this.view().height-t-1)}px 0px`}boxOf(t){if(t.hidden)return null;const e=this.target(t);return e&&e.getClientRects().length?{top:this.topOf(e)}:null}currentIndex(){const t=this.currentOffset();let e=-1,n=-1/0;if(this.items.forEach(((i,o)=>{const r=this.boxOf(i);r&&r.top<=t&&r.top>n&&(n=r.top,e=o)})),-1===e){const t=this.view().height/2;return this.items.some(((n,i)=>{const o=this.boxOf(n);return!(!o||o.top>=t||(e=i,0))})),-1===e?this.firstIndex():e}if(!this.atEnd())return e;let i=e;return this.items.forEach(((t,n)=>{if(n<=e)return;const o=this.boxOf(t);o&&o.top<this.view().height&&(i=n)})),i}firstIndex(){if(!this.preview)return-1;const t=this.items.findIndex((t=>!t.hidden));return 0>t?-1:t}atEnd(){const{top:t,height:e,extent:n}=this.view();return n>e+1&&t+e>=n-2}observe(){this.spy&&this.win.IntersectionObserver&&(this.margin=this.rootMargin(),this.observer=new this.win.IntersectionObserver((()=>this.setActive(this.currentIndex())),{root:this.scroller,rootMargin:this.margin,threshold:0}),this.items.forEach((t=>{const e=this.target(t);e&&this.observer.observe(e)})))}paint(){const t=this.currentOffset();this.items.forEach(((e,i)=>{const o=-1!==this.active&&i<this.active;e.classList.toggle("is-passed",o);const r=e.querySelector(`.${n}-ring-bar`);if(!r)return;if(i!==this.active)return r.style.strokeDashoffset=o?"0":"100",void(r.style.opacity=o?"1":"0");const s=this.target(e);if(!s)return;const a=t-this.topOf(s),l=Math.min(1,Math.max(0,a/(s.offsetHeight||1)));r.style.strokeDashoffset=String(100-100*l),r.style.opacity=0<l?"1":"0"}))}onScroll(){const t=()=>{this.scrollRaf=0,this.spy&&this.setActive(this.currentIndex()),this.paint()},e=()=>{this.scrollRaf||(this.scrollRaf=this.win.requestAnimationFrame(t))},n=()=>{this.resizeRaf||(this.resizeRaf=this.win.requestAnimationFrame((()=>{this.resizeRaf=0,this.relayout()})))},i=this.scroller||this.win;i.addEventListener("scroll",e,{passive:!0}),this.win.addEventListener("resize",n,{passive:!0}),this.listeners.push((()=>{i.removeEventListener("scroll",e),this.win.removeEventListener("resize",n)})),t()}relayout(){this.observer&&this.margin!==this.rootMargin()&&(this.observer.disconnect(),this.observe()),this.moveBubble(),this.paint()}watchDOM(){if(!this.win.MutationObserver)return;let t=0;this.mutation=new this.win.MutationObserver((()=>{this.win.cancelAnimationFrame(t),t=this.win.requestAnimationFrame((()=>{this.sync(),this.observer?.disconnect(),this.observe(),this.moveBubble()}))})),this.mutation.observe(this.doc.body,{childList:!0,subtree:!0,characterData:!0})}destroy(){this.win.cancelAnimationFrame(this.raf),this.win.cancelAnimationFrame(this.scrollRaf),this.win.cancelAnimationFrame(this.resizeRaf),this.observer?.disconnect(),this.mutation?.disconnect(),this.listeners.forEach((t=>t())),this.listeners=[]}}const et=({attributes:e,id:n})=>{const i=(0,t.useRef)(null);return(0,t.useEffect)((()=>{if(!i.current)return;const t=new tt(i.current);return()=>t.destroy()}),[]),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(G,{attributes:e,id:n}),(0,x.jsx)(L,{ref:i,attributes:e})]})},nt=()=>{document.querySelectorAll(".wp-block-b-blocks-one-page-navigation").forEach((t=>{let n;try{n=JSON.parse(t.dataset.attributes||"")}catch(t){return}(0,e.createRoot)(t).render((0,x.jsx)(et,{attributes:n,id:t.id})),t.removeAttribute("data-attributes")}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",nt):nt()})();
1 +(()=>{"use strict";const t=window.React,e=window.ReactDOM,i="b-blocks-one-page-navigation",n=(t={},e="desktop")=>{const i=t?.bubble||{},n=h(i,e,"iconPosition",i.iconPosition||"auto");if("inside"===n||"center"===n)return"center";const o="outside"===n?i.side||"auto":n;return"left"===o||"right"===o?o:"left"===p(t.layout||{},e,"position","right")?"right":"left"},o={glassBullseye:["marker","item","media","animation","label","line"],magneticBubble:["marker","item","media","animation","label","line","bubble"],numberedSteps:["marker","item","number","media","line","label"],expandablePills:["marker","item","media","label"],stackedCards:["marker","item","media","label","line"],sideRail:["marker","item","media","label","line"]},r=["magneticBubble","expandablePills","stackedCards"],s=t=>!r.includes(t),a=["expandablePills","stackedCards"],l=t=>!a.includes(t),c=(t={})=>!s(t?.layout?.preset||"glassBullseye")||!!t?.media?.showIcon,d=(t,e)=>(o[t]||o.glassBullseye).includes(e),h=(t={},e,i,n="")=>{const o=e=>{const n=t?.[e]?.[i];return null==n||""===n?void 0:n},r=o("desktop")??n;if("desktop"===e)return r;const s=o("tablet")??r;return"tablet"===e?s:o("mobile")??s},u=(t="")=>String(t||"").trim().replace(/^#+/,""),$=t=>String(t+1).padStart(2,"0"),p=(t={},e,i,n)=>h(t,e,i,t[i]||n),m=t=>{const{layout:e={},animation:o={}}=t,r=e.preset||"glassBullseye",a=o.pulse&&d(r,"animation"),l=s(r)&&t?.media?.showIcon;return[i,`${i}-preset-${r}`,a?`${i}-pulse-${o.style||"pulseRing"}`:"","magneticBubble"===r&&"center"!==n(t)?`${i}-bubble-outside ${i}-bubble-${n(t)}`:"",l?"is-icon-visible":""].filter(Boolean).join(" ")},b={expandablePills:"link",stackedCards:"link"},g=t=>"link"===b[t],f=["magneticBubble","numberedSteps","stackedCards"],y=t=>"glassBullseye"===(t||"glassBullseye"),M={glassBullseye:{normal:{color:"#9aa0ae"},hover:{color:"#4b33f5"},active:{color:"#4b33f5"}},magneticBubble:{normal:{color:"#9aa0ae",background:"#ffffff",border:{width:"2px",style:"solid",color:"#e3e6ef"}},hover:{color:"#4b33f5",background:"#4b33f51a",markerColor:"#ffffff"},active:{color:"#4b33f5",background:"#4b33f5",markerColor:"#ffffff"}},numberedSteps:{normal:{color:"#9aa0ae",background:"#ffffff",border:{width:"2px",style:"solid",color:"#e3e6ef"}},hover:{color:"#4b33f5",background:"#4b33f51a",border:{width:"2px",style:"solid",color:"#4b33f5"}},active:{color:"#4b33f5",background:"#4b33f5",markerColor:"#ffffff",border:{width:"2px",style:"solid",color:"#4b33f5"}}},expandablePills:{normal:{color:"#1e2230"},hover:{color:"#4b33f5",background:"#4b33f51a"},active:{color:"#ffffff",background:"#4b33f5"}},stackedCards:{normal:{color:"#1e2230",background:"#ffffff",border:{width:"1px",style:"solid",color:"#e3e6ef"}},hover:{color:"#4b33f5",background:"#f4f5fa"},active:{color:"#ffffff",background:"#4b33f5",border:{width:"1px",style:"solid",color:"#4b33f5"}}},sideRail:{normal:{color:"#9aa0ae",background:"#9aa0ae"},hover:{background:"#4b33f5"},active:{background:"#4b33f5"}}},v=(t={},e,i=!1)=>{const{item:n={},line:o={},layout:r={}}=t,s=r.preset||"glassBullseye",a=n?.[e]||{},l=i&&(M[s]||{})[e]||{},c=t=>t&&("object"!=typeof t||Object.keys(t).length),d=(t,e)=>c(a[t])?a[t]:(i?l[t]:null)||e;return{color:d("color",""),background:d("background",{}),markerColor:d("markerColor",""),border:(()=>{if(c(a.border))return a.border;const t=o.color||o?.desktop?.thickness;return i&&t?{width:o?.desktop?.thickness||l.border?.width||"",style:"solid",color:o.color||l.border?.color||""}:(i?l.border:null)||{}})()}},w=(t={},e)=>t?.[e]?.color||"",x=window.ReactJSXRuntime,k=({icon:t={},label:e})=>{const{type:n="icon",icon:o="",img:r={},url:s="",alt:a="",svg:l=""}=t;if("none"===n)return null;if("image"===n){const t="string"==typeof r?{url:r}:r||{},n=t.url||s;return n?(0,x.jsx)("span",{className:`${i}-icon is-image`,children:(0,x.jsx)("img",{src:n,alt:t.alt||a||e||""})}):null}const c="svg"===n?l:o;return c?(0,x.jsx)("span",{className:`${i}-icon is-${"svg"===n?"svg":"icon"}`,dangerouslySetInnerHTML:{__html:c}}):null},j=()=>(0,x.jsxs)("svg",{className:`${i}-ring`,viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,x.jsx)("circle",{className:`${i}-ring-track`,cx:"12",cy:"12",r:"9"}),(0,x.jsx)("circle",{className:`${i}-ring-bar`,cx:"12",cy:"12",r:"9",pathLength:"100"})]}),N=(0,t.forwardRef)((({attributes:t,isBackend:e=!1},n=null)=>{const{items:o=[],layout:r={},behavior:s={},media:a={}}=t,c=r.preset||"glassBullseye",d=!l(c),h="numberedSteps"===c&&!a.showIcon;return(0,x.jsxs)("div",{ref:n,className:m(t),role:"navigation","aria-label":"Page sections","data-preset":c,"data-spy":s.scrollSpy?"1":"0","data-smooth":s.smoothScroll?"1":"0","data-hide-missing":s.hideMissingSections?"1":"0","data-speed":parseInt(s.scrollSpeed,10)||0,"data-offset":parseInt(s?.desktop?.scrollOffset,10)||0,"data-offset-tablet":s?.tablet?.scrollOffset??"","data-offset-mobile":s?.mobile?.scrollOffset??"",children:["magneticBubble"===c&&(0,x.jsx)("span",{className:`${i}-bubble`,"aria-hidden":"true"}),(0,x.jsx)("ul",{className:`${i}-list`,children:o.map(((t,n)=>{const o=u(t.sectionId),r=o?`#${o}`:void 0,s=e?"button":"a";return(0,x.jsxs)("li",{className:`${i}-item${o?"":" is-unlinked"}`,"data-target":o,children:[(0,x.jsxs)(s,{className:`${i}-link`,...e?{type:"button"}:{href:r},"aria-label":t.label||void 0,children:[(0,x.jsxs)("span",{className:`${i}-marker`,children:[h&&(0,x.jsx)("span",{className:`${i}-number`,children:$(n)}),!h&&(0,x.jsx)(k,{icon:t.icon,label:t.label}),"glassBullseye"===c&&(0,x.jsx)(j,{})]}),(0,x.jsx)("span",{className:d?`${i}-label`:`${i}-label ${i}-tooltip`,children:t.label})]}),e&&!o&&(0,x.jsx)("span",{className:`${i}-warning`,children:"No section chosen — this item is hidden on the front end."})]},t.id||n)}))})]})}));N.displayName="OnePageNavigation";const L=N,D=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),z=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"),i=e.documentElement;return!i||"svg"!==i.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),i=await e.text()
2 +;return this.sanitize(`${i}`)}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 i=e.name,n=i.toLowerCase(),o=e.value;if(this.options.removeEvents&&n.startsWith("on"))return void t.removeAttribute(i);if(this.options.removeExternalResources&&("href"===n||n.endsWith(":href"))&&!this.isAllowedUrl(o))return void t.removeAttribute(i);const r=n.replace("xlink:","");this.allowedAttributeSet.has(n)||this.allowedAttributeSet.has(r)?this.options.removeExternalResources&&this.hasExternalUrl(o)?t.removeAttribute(i):"style"===n&&this.options.sanitizeStyle&&t.setAttribute(i,this.sanitizeCss(o)):t.removeAttribute(i)}))}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 S="@media only screen and (min-width: 1025px)",T="@media only screen and (max-width: 1024px)",I="@media only screen and (max-width: 640px)",A="linear-gradient(135deg, #0040E3, #18D4FD)",O=t=>{const e=z(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},C=(t,e)=>D(e)?`${t}: ${e};`:"",E=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:i="solid",width:n="0px"}=t;return`${n} ${i} ${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((i=>t[i]?`border-${i}: ${e(t[i])};`:"")).join(" ").trim():C("border",e(t))},Y=(t,e,i=!0)=>{const{fontFamily:n="Default",fontCategory:o="sans-serif",fontVariant:r=400,fontWeight:s,isUploadFont:a=!0,fontSize:l={desktop:null,tablet:null,mobile:null},fontStyle:c,textTransform:d,textDecoration:h,lineHeight:u,letterSpace:$}=e||{},p=!i||!n||"Default"===n,m=l?.desktop||l,b=l?.tablet||m,g=l?.mobile||b,f=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},y=`\n\t\t${p?"":`font-family: '${n}', ${o};`}\n\t\t${C("font-weight",s)}\n\t\t${C("font-size",f(m))}\n\t\t${C("font-style",c)}\n\t\t${C("text-transform",d)}\n\t\t${C("text-decoration",h)}\n\t\t${C("line-height",u)}\n\t\t${C("letter-spacing",$)}\n\t`,M=r&&400!==r?"400i"===r?":ital@1":r?.includes("00i")?`: ital, wght@1, ${r?.replace("00i","00")} `:`: wght@${r} `:"",v=p?"":`https://fonts.googleapis.com/css2?family=${n?.split(" ").join("+")}${M.replace(/ /g,"")}&display=swap`;return{googleFontLink:!a||p?"":`@import url(${v});`,styles:`${t}{\n\t\t\t${y}\n\t\t}\n\t\t${T} {\n\t\t\t${t}{\n\t\t\t\t${C("font-size",f(b))}\n\t\t\t}\n\t\t}\n\t\t${I} {\n\t\t\t${t}{\n\t\t\t\t${C("font-size",f(g))}\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""},Q=t=>{const{position:e="center center",xPosition:i=0,yPosition:n=0,attachment:o="",repeat:r="no-repeat",size:s="cover",customSize:a="0px"}=t||{},l=t=>"initial"!==t||D(t);return`\n\t\t${l(e)?`background-position: ${"custom"===e?`${i} ${n}`:e};`:""}\n\t\t${o&&l(o)?`background-attachment: ${o};`:""}\n\t\t${l(r)?`background-repeat: ${r};`:""}\n\t\t${l(s)?`background-size: ${"custom"===s?`${a} auto`:s};`:""}\n\t`},P=(t={})=>t?{desktop:D(t.url)?`background-image: ${O(t.url)}; ${Q(t?.desktop)}`:"",tablet:D(t.url)?Q(t?.tablet):"",mobile:D(t.url)?Q(t?.mobile):""}:"",R=(t,e,i=!1)=>{const{type:n="color",color:o,gradient:r,img:s,video:a}=t||{},l="color"===n?C("background",o):"gradient"===n?(t=>{const{type:e="linear",radialType:i="ellipse",colors:n=[],centerPositions:o={x:0,y:0},angel:r=0}=t||{};if(D(t)){const t=n?.map((({color:t,position:e})=>`${t} ${e}%`)),s=`linear-gradient(${r}deg, ${t})`;return C("background","radial"===e?`radial-gradient(${i} at ${o?.x}% ${o?.y}%,${t})`:s)}return""})(r):"image"===n?P(s).desktop:"",c="image"===n?P(s).tablet:"",d="image"===n?P(s).mobile:"",h=i?`${e}:hover`:e;return`\n\t\t${"video"===n?((t,e)=>{const{url:i,loop:n}=t||{},o=document.querySelector(e),r=o?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!r&&o&&i){const t=z(i);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),o.appendChild(s)}}return s.loop=n,s.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(a,e):""}\n\n\t\t${l?`${h}{\n\t\t\t${l}\n\t\t}`:""}\n\n\t\t${c?`${T} {\n\t\t\t${h}{\n\t\t\t\t${c}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${d?`${I} {\n\t\t\t${h}{\n\t\t\t\t${d}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},B=(t,e,i=!1)=>{const{isEnabled:n,colors:o,opacity:r=1,blend:s,filter:a="",blur:l=0,brightness:c=100,contrast:d=100,saturation:h=100,hue:u=0,position:$={top:0,right:0,bottom:0,left:0},zIndex:p=-1}=t||{},m=`${100!==c?`brightness(${c}%)`:""} ${100!==d?`contrast(${d}%)`:""} ${100!==h?`saturate(${h}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==u?`hue-rotate(${u}deg)`:""}`,b=`${a}: ${a?m:""}; -webkit-${a}: ${a?m:""};`,g=i?`${e}:hover::after`:`${e}::after`;return n?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${D($.top)?$.top:0};\n\t\t\tright:${D($.right)?$.right:0};\n\t\t\tbottom:${D($.bottom)?$.bottom:0};\n\t\t\tleft:${D($.left)?$.left:0};\n\t\t\tz-index:${p};\n\t\t}\n\t\t${R(o,g,!1)}\n\t\t${g}{\n\t\t\t${C("opacity",r)}\n\t\t\t${C("mix-blend-mode",s)}\n\t\t\t${b}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},H=(t,e,i=!1)=>{const n=(t,e="desktop")=>{if(!D(t))return"";const{skew:i,scale:n,rotate:o,offset:r,flipX:s,flipY:a}=t,{threeDRotate:l}=o||{},{isProportion:c}=n||{},d=[];return D(i)&&(D(i?.[e]?.x)&&d.push(`skewX(${i[e].x}deg)`),D(i?.[e]?.y)&&d.push(`skewY(${i[e].y}deg)`)),c?D(n?.[e]?.scale)&&d.push(`scale(${n[e].scale})`):(D(n?.[e]?.x)&&d.push(`scaleX(${n[e].x})`),D(n?.[e]?.y)&&d.push(`scaleY(${n[e].y})`)),D(o)&&(D(o?.[e]?.z)&&d.push(`rotateZ(${o[e].z}deg)`),l&&(D(o?.[e]?.x)&&d.push(`rotateX(${o[e].x}deg)`),D(o?.[e]?.y)&&d.push(`rotateY(${o[e].y}deg)`))),D(r)&&(D(r?.[e]?.x)&&d.push(`translateX(${r[e].x})`),D(r?.[e]?.y)&&d.push(`translateY(${r[e].y})`)),D(s)&&d.push(s?"scaleX(-1)":""),D(a)&&d.push(a?"scaleY(-1)":""),0===d.length?"":C("transform",d.join(" "))},o=i?`${e}:hover`:e;return`\n\t\t${o} {\n\t\t\t${n(t,"desktop")}\n\t\t}\n\t\t${T}{\n\t\t\t${o} {\n\t\t\t\t${n(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${I}{\n\t\t\t${o} {\n\t\t\t\t${n(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},F=t=>{const{padding:e,margin:i,height:n,width:o}=t||{},r=(t,e)=>C(t,e),s=(t,e,i)=>r(t,e?.[t]?.[i])+r(`min-${t}`,e?.min?.[i])+r(`max-${t}`,e?.max?.[i]),a=t=>C("padding",U(t)),l=t=>C("margin",U(t));return{desktop:a(e?.desktop)+l(i?.desktop)+s("height",n,"desktop")+s("width",o,"desktop"),tablet:a(e?.tablet)+l(i?.tablet)+s("height",n,"tablet")+s("width",o,"tablet"),mobile:a(e?.mobile)+l(i?.mobile)+s("height",n,"mobile")+s("width",o,"mobile")}},Z=t=>{
3 +const{normal:e,hover:i}=t||{},n=t=>{const{border:e,radius:i,shadow:n}=t||{},o=C("border-radius",U(i)),r=C("box-shadow",((t,e="box")=>{let i="";return t?.map(((n,o)=>{const{hOffset:r="0px",vOffset:s="0px",blur:a="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=n||{},h=d?"inset":"",u=`${r} ${s} ${a}`,$=o+1>=t.length?"":", ";i+="text"===e?`${u} ${c}${$}`:`${u} ${l} ${c} ${h}${$}`})),i||""})(n,"box"));return E(e)+o+r};return{normal:n(e),hover:n(i)}},W=t=>{const{zIndex:e,overflow:i}=t||{},n=i?`overflow: ${i};`:"",o=t=>`${C("z-index",e?.[t])} ${C("position",D(e?.[t])?"relative":"")}`;return{desktop:o("desktop")+n,tablet:o("tablet"),mobile:o("mobile")}},q=(t,e)=>{const{desktop:i=!1,tablet:n=!1,mobile:o=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",s=t=>t?r:"";return{desktop:s(i),tablet:s(n),mobile:s(o)}},X=(t,e,i=!1,n=!0)=>{const{dimension:o,transform:r,background:s,borderShadow:a,mask:l,animation:c,visibility:d,responsive:h,position:u={},floating:$={},motion:p={},css:m=""}=e||{},b=i?`#${t}>div>div${n?":first-child":""}`:`#${t}>div`;((t,e,i)=>{const n=i?`#${e} > div`:`#${e}`,o=document.querySelector(n);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()),i)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?o.classList.add("aos-animate"):o.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(o)})(c,t,i);const g=F(o).desktop+W(d).desktop+((t,e,i)=>{const{transition:n=.4}=t||{},{transition:o=.4}=e||{},{transition:r=200}=i||{};return`transition: background ${n}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${r}ms ease-in-out;`})(s,a,r)+(t=>{const{isMask:e=!1,shape:i={type:"circle"},size:n={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:r="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===i.type?O(i.url):`url(${(s=i.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===s))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===n.type?n.scale:n.type};\n\t\t${"custom"===o.type?`${C("-webkit-mask-position-x",o.x)}\n\t\t\t${C("-webkit-mask-position-y",o.y)}`:`${C("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==n.type?`-webkit-mask-repeat: ${r};`:""}`:"";var s})(l),f=F(o).tablet+W(d).tablet+q(h,i).tablet,y=F(o).mobile+W(d).mobile+q(h,i).mobile,M=Z(a).normal,v=Z(a).hover,w=q(h,i).desktop;return`\n\t\t${g||M?`${b} {\n\t\t\t${g}\n\t\t\t${M}\n\t\t}`:""}\n\t\t${v?`${b}:hover {\n\t\t\t${v}\n\t\t}`:""}\n\n\t\t${w?`${S} {\n\t\t\t${b}{\n\t\t\t\t${w}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${f?`${T} {\n\t\t\t${b}{\n\t\t\t\t${f}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y?`${I} {\n\t\t\t${b}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${R(s?.normal,b)}\n\t\t${R(s?.hover,b,!0)}\n\t\t${B(s?.overlay,b)}\n\t\t${B(s?.hoverOverlay,b,!0)}\n\t\t${D(r?.normal)?H(r?.normal,b):""}\n\t\t${D(r?.hover)?H(r?.hover,b,!0):""}\n\t\t${((t,e)=>{const{desktop:i={},tablet:n={},mobile:o={}}=t,r=(t={})=>`\n\t\t${e}{\n\t\t\t${C("position",t?.type)}\n\t\t\t${C("left",t?.horizontal?.left)}\n\t\t\t${C("right",t?.horizontal?.right)}\n\t\t\t${C("top",t?.vertical?.top)}\n\t\t\t${C("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${i?.type?r(i):""}\n\t\t\n\t\t${T}{\n\t\t\t${n?.type?r(n):""}\n\t\t}\n\n\t\t${I}{\n\t\t\t${o?.type?r(o):""}\n\t\t}\n\t`})(u,b)}\n\t\t${((t,e,i="")=>{const{translate:n={},rotate:o={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const a=[],l=[];return[{name:"Translate",property:"translate",values:n,value:t=>["x","y"].some((e=>D(n?.[e]?.[t])))?`${n?.x?.[t]||0}px ${n?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:o,value:t=>["x","y","z"].filter((e=>D(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],i=r?.z?.[t];return D(e)||D(i)?D(i)?`1 ${D(e)?e:1} ${i}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:n,value:o})=>{const r=o("from"),s=o("to");if(!r||!s)return;const c=Number(n?.duration)>0?Number(n.duration):1e3,d=Number(n?.delay)>0?Number(n.delay):0,h=`advFloat${t}${i?`-${i}`:""}`;a.push(`@keyframes ${h}{ from{ ${e}: ${r}; } to{ ${e}: ${s}; } }`),l.push(`${h} ${c}ms ease-in-out ${d}ms infinite alternate`)})),l.length?`\n\t\t${a.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${l.join(", ")};\n\t\t}\n\t`:""})($,b,t)}\n\t\t${((t,e,i)=>{
4 +const{isEnable:n=!1,vertical:o={},horizontal:r={},transparency:s={},blur:a={},rotate:l={},scale:c={},effectsRelativeTo:d="viewport",effectOn:h=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:u=!1,mouseTrack:$={},tilt:p={},sticky:m={}}=t||{},b=(t,e)=>D(t)&&!isNaN(t)?Number(t):e,g="viewport"===d,f=g?"view()":"scroll(nearest block)",y=[],M=[],v=[],w=[],x=String(i??"").replace(/[^a-zA-Z0-9]/g,""),k=(t,e,i)=>{y.push(`@keyframes advMe${t}${x}{ ${e} }`),M.push(`advMe${t}${x}`),v.push(f),w.push((t=>{const e=b(t?.top,0),i=b(t?.bottom,100),n=Math.min(e,i),o=Math.max(e,i);return g?`cover ${n}% ${o>=90?"contain 100%":`cover ${o}%`}`:`min(${3*n}vh, ${n}%) min(${3*o}vh, ${o}%)`})(i))};if(n){const t=o?.direction,e=r?.direction,i=t?100*b(o?.speed,4):0,n=e?100*b(r?.speed,4):0;if(i||n){const s="up"===t?-i:i,a="to-left"===e?-n:n,l=[i&&o,n&&r].filter(Boolean);k("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${s}px; }`,{top:Math.min(...l.map((t=>b(t?.top,0)))),bottom:Math.max(...l.map((t=>b(t?.bottom,100))))})}const d=s?.direction;if(d){const t=Math.max(0,1-b(s?.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}; }`}[d];e&&k("Opacity",e,s)}const h=a?.direction;if(h){const t=3*b(a?.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); }`}[h];e&&k("Blur",e,a)}const u=l?.direction;if(u){const t=20*b(l?.level,4);k("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===u?-t:t}deg; }`,l)}if(c?.direction){const t=.15*b(c?.level,4),e=Math.max(0,1-t),i=1+t,n={"scale-up":`from{ scale: 1; } to{ scale: ${i}; }`,"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: ${i}; } 100%{ scale: 1; }`}[c.direction];n&&k("Scale",n,c)}}const j=[];if(u){if($?.direction){const t="direct"===$?.direction?100:-100;j.push(((e,i)=>`translate(${(e*t).toFixed(2)}px, ${(i*t).toFixed(2)}px)`))}if(p?.direction){const t=12*("direct"===p?.direction?1:-1);j.push(((e,i)=>`perspective(1000px) rotateX(${(i*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const N=(t,i,n)=>{if(!t||!t.defaultView)return;const o=t.defaultView,r=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),s=r.items.get(e)||{x:0,y:0};if(s.rate=i,s.build=n,r.items.set(e,s),r.bound)return;r.bound=!0;const a=e=>{const i=r.last?Math.min(e-r.last,100):16.7;r.last=e;let n=!1;r.items.forEach(((e,o)=>{const s=e.el&&e.el.isConnected?e.el:t.querySelector(o);if(!s)return;e.el=s;const a=e.rate*i/1e3,l=r.x-e.x,c=r.y-e.y,d=Math.sqrt(l*l+c*c);d<=a?(e.x=r.x,e.y=r.y):(e.x+=l/d*a,e.y+=c/d*a,n=!0),s.style.transform=e.build(e.x,e.y)})),r.frame=n?o.requestAnimationFrame(a):0,r.last=n?e:0};t.addEventListener("pointermove",(t=>{r.x=2*(t.clientX/o.innerWidth-.5),r.y=2*(t.clientY/o.innerHeight-.5),r.frame||(r.frame=o.requestAnimationFrame(a))}))};if(j.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*b($?.speed,b(p?.speed,4))),e=(t,e)=>j.map((i=>i(t,e))).join(" ");N(document,t,e),N(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const L=t=>m?.[t]||("desktop"===t?m?.undefined:""),z=e.split(">")[0],A=t=>{const e=L(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?L("desktop"):"mobile"===t?L("tablet")||L("desktop"):"")(t)?"position: static;":""},O=Array.isArray(h)?h:D(h)?[h]:[],C=t=>!O.length||O.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${M.length?`\n\t\t${y.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${M.join(", ")};\n\t\t\t\tanimation-duration: ${M.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${M.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${M.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${M.map((()=>g?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${v.join(", ")};\n\t\t\t\tanimation-range: ${w.join(", ")};\n\t\t\t}\n\t\t\t${C("desktop")?`${S}{ ${C("desktop")} }`:""}\n\t\t\t${C("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${C("tablet-portrait")} }`:""}\n\t\t\t${C("mobile-portrait")?`${I}{ ${C("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${j.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${z}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${T}{ ${z}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${I}{ ${z}{ ${A("mobile")} } }`:""}\n\t`})(p,b,t)}\n\t\t${m}\n\t`.replace(/\s+/g," ")},G=(t,e)=>t?`calc(${t} * ${e})`:"",V=({attributes:t,id:e,isBackend:o=!1})=>{const{advanced:r={},layout:a={},marker:u={},item:$={},media:m={},label:b={},line:M={},bubble:k={},number:j={},animation:N={}}=t,L=a.preset||"glassBullseye",D=`#${e}`,z=`${D} .${i}`,S=`${z} .${i}-list`,Q=`${z} .${i}-link`,P=`${z} .is-active .${i}-link`,R=`${z} .${i}-marker`,B=`${z} .is-active .${i}-marker`,H=`${Q}:hover .${i}-marker`,F=`${z} .${i}-label`,Z=`${z} .${i}-tooltip`,W=`${z} .${i}-number`,q=`${z} .${i}-icon`,V=s(L)&&m.showIcon?"::before":"",J=`${q}.is-icon, ${q}.is-svg`,_=`${q}.is-image`,K=`${z} .${i}-bubble`,tt=`${z} .${i}-ring circle`,et=`${z} .${i}-ring-track`,it=(t,e)=>e.replace(/\s+/g," ").trim()?`${t}{ ${e} }`:"",nt=g(L),ot=nt?Q:R,rt=nt?`${Q}:hover`:H,st=nt?P:`${B}${"magneticBubble"===L?"::before":""}`,at={item:$,line:M,layout:a},lt={normal:v(at,"normal"),hover:v(at,"hover"),active:v(at,"active")},ct=t=>!!(t?.width||t?.top||t?.right||t?.bottom||t?.left),dt=t=>(t=>f.includes(t))(L)&&ct(t)?E(t):"",ht=t=>Array.isArray(t)&&t.length?t.map((t=>((t,e="box")=>{const{hOffset:i="0px",vOffset:n="0px",blur:o="0px",spreed:r="0px",color:s="#7090b0",isInset:a=!1}=t||{},l=`${i} ${n} ${o}`;return("text"===e?`${l} ${s}`:`${l} ${r} ${s} ${a?"inset":""}`)||"none"})(t))).join(", "):"",ut=t=>t?.color||("string"==typeof t?t:""),$t=t=>((t,e=!0,i=!0,n=!0)=>{const{type:o="solid",color:r="",gradient:s=A,image:a={},position:l="center center",attachment:c="",repeat:d="no-repeat",size:h="",overlayColor:u=""}=t||{};return"gradient"===o&&i?C("background",s):"image"===o&&n?`background: ${O(a?.url)};\n\t\t\t\t${C("background-color",u)}\n\t\t\t\t${C("background-position",l)}\n\t\t\t\t${C("background-size",h)}\n\t\t\t\t${C("background-repeat",d)}\n\t\t\t\t${C("background-attachment",c)}\n\t\t\t\t${C("background-repeat",d)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&C("background",r)})((t=>"string"==typeof t?{type:"solid",color:t}:t||{})(t)).trim(),pt={glassBullseye:`\n\t\t\t${it(`${z} .${i}-ring-bar`,C("stroke",M.progressColor))}\n\t\t\t${it(`${z} .is-passed .${i}-link`,C("color",lt.active.color))}\n\t\t`,magneticBubble:`\n\t\t\t${it(`${S}::before`,C("background",M.color))}\n\t\t\t${it(R,C("border-color",M.color))}\n\t\t\t${it(B,"background: none; border-color: transparent;")}\n\t\t\t${it(K,C("background",ut(lt.active.background)))}\n\t\t`,numberedSteps:`\n\t\t\t${it(`${S}::before`,C("background",M.color))}\n\t\t\t${it(R,C("border-color",M.color))}\n\t\t\t${it(H,C("border-color",lt.hover.color))}\n\t\t\t${it(B,C("border-color",ut(lt.active.background)))}\n\t\t`,expandablePills:"",stackedCards:`\n\t\t\t${it(Q,C("border-color",M.color))}\n\t\t\t${it(P,C("border-color",ut(lt.active.background)))}\n\t\t`,sideRail:`\n\t\t\t${it(`${S}::before`,C("background",M.color))}\n\t\t`
5 +},mt=nt?"":V,bt=`\n\t\t${it(Q,C("color",lt.normal.color))}\n\t\t${it(`${ot}${mt}`,$t(lt.normal.background))}\n\t\t${it(R,C("color",lt.normal.markerColor))}\n\n\t\t${it(`${Q}:hover`,C("color",lt.hover.color))}\n\t\t${it(`${rt}${mt}`,$t(lt.hover.background))}\n\t\t${it(H,C("color",lt.hover.markerColor))}\n\n\t\t${it(P,C("color",lt.active.color))}\n\t\t${it(`${st}${mt}`,$t(lt.active.background))}\n\t\t${it(B,C("color",lt.active.markerColor))}\n\t\t${it(`${z} .is-active .${i}-number, ${z} .is-active .${i}-icon`,C("color",lt.active.markerColor))}\n\n\t\t${y(L)?`\n\t\t\t${it(et,C("stroke",$?.normal?.ringColor))}\n\t\t\t${it(`${Q}:hover .${i}-ring-track`,C("stroke",$?.hover?.ringColor))}\n\t\t\t${it(`${z} .is-active .${i}-ring-track`,C("stroke",$?.active?.ringColor))}\n\t\t`:""}\n\n\t\t${it(`${ot}${mt}`,C("box-shadow",ht($?.normal?.shadow)))}\n\t\t${it(`${rt}${mt}`,C("box-shadow",ht($?.hover?.shadow)))}\n\t\t${it(`${st}${mt}`,C("box-shadow",ht($?.active?.shadow)))}\n\t`,gt=ut(lt.active.background)||lt.active.color,ft={pulseRing:it(`${B}::after`,C("border-color",gt)),radar:it(`${B}::after`,C("background",gt)),breathingGlow:it(`${B}::after`,C("color",gt)),heartbeat:""},yt=t=>{const e="mobile"===t?"12px":"24px",i=h(a,t,"offsetX","")||e,n=h(a,t,"offsetY","")||e,o=p(a,t,"position","right"),r=p(a,t,"verticalAlign","center"),s="left"===o?"left: calc(100% + 12px); right: auto;":"right: calc(100% + 12px); left: auto;";return`\n\t\t\t${it(D,`${"left"===o?`left: ${i}; right: auto;`:`right: ${i}; left: auto;`} ${"top"===r?`top: ${n}; bottom: auto; transform: none;`:"bottom"===r?`bottom: ${n}; top: auto; transform: none;`:"top: 50%; bottom: auto; transform: translateY(-50%);"}`)}\n\t\t\t${it(Z,s)}\n\t\t`},Mt=e=>{const o=u?.[e]?.size,r=M?.[e]?.thickness,s=$?.[e]?.spacing,a=$?.[e]?.width||o,c={glassBullseye:`\n\t\t\t\t${it(R,`\n\t\t\t\t\t${C("width",o)}\n\t\t\t\t\t${C("height",o)}\n\t\t\t\t`)}\n\t\t\t`,magneticBubble:`\n\t\t\t\t${it(`${S}::before`,`\n\t\t\t\t\t${C("left",G(a,.5))}\n\t\t\t\t\t${C("width",r)}\n\t\t\t\t`)}\n\t\t\t\t${it(R,`\n\t\t\t\t\t${C("width",o)}\n\t\t\t\t\t${C("height",o)}\n\t\t\t\t\t${C("border-width",r)}\n\t\t\t\t`)}\n\t\t\t\t${it(`${B}::before`,C("inset",G(o,-.285)))}\n\t\t\t\t${it(K,`\n\t\t\t\t\t${C("left",G(a,.5))}\n\t\t\t\t\t${C("width",G(o,2))}\n\t\t\t\t\t${C("height",G(o,2))}\n\t\t\t\t\t${o?`margin: ${G(o,-1)} 0 0 ${G(o,-1)};`:""}\n\t\t\t\t`)}\n\t\t\t\t${(()=>{const o=k?.[e]||{};if("desktop"!==e&&!o.iconPosition&&!o.x&&!o.y)return"";const r=n(t,e),s=h(k,e,"x","0px"),a=h(k,e,"y","0px");return`\n\t\t\t\t${it(`${z} .${i}-icon`,"center"===r?"transform: none;":`transform: translate(${"left"===r?`calc(${s} * -1)`:s}, ${a});`)}\n\t\t\t\t${it(`${z} .is-active .${i}-icon`,C("color","center"===r?lt.active.markerColor:lt.active.color))}\n\t\t\t`})()}\n\t\t\t`,numberedSteps:`\n\t\t\t\t${it(`${S}::before`,`\n\t\t\t\t\t${C("left",G(a,.5))}\n\t\t\t\t\t${C("width",r)}\n\t\t\t\t`)}\n\t\t\t\t${it(R,`\n\t\t\t\t\t${C("width",o)}\n\t\t\t\t\t${C("border-width",r)}\n\t\t\t\t`)}\n\t\t\t`,expandablePills:it(R,`\n\t\t\t\t${C("width",o)}\n\t\t\t\t${C("height",o)}\n\t\t\t`),stackedCards:`\n\t\t\t\t${it(R,`\n\t\t\t\t\t${C("width",o)}\n\t\t\t\t\t${C("height",o)}\n\t\t\t\t`)}\n\t\t\t\t${it(Q,C("border-width",r))}\n\t\t\t`,sideRail:`\n\t\t\t\t${it(`${S}::before`,C("width",r))}\n\t\t\t\t${it(`${R}${V}`,`\n\t\t\t\t\t${C("width",o)}\n\t\t\t\t\t${C("height",r)}\n\t\t\t\t`)}\n\t\t\t\t${it(`${H}${V}`,C("width",G(o,1.25)))}\n\t\t\t\t${it(`${B}${V}`,C("width",G(o,1.5)))}\n\t\t\t`};return`\n\t\t\t${it(S,C("gap",s))}\n\t\t\t${it(Q,l(L)?"":C("gap",b?.[e]?.gap))}\n\t\t\t${it(Z,l(L)?C("border-radius",U(b?.[e]?.radius)):"")}\n\t\t\t${it(F,C("padding",U(b?.[e]?.padding)))}\n\t\t\t${c[L]||""}\n\t\t`},vt=`\n\t\t${it(J,C("color",m.color))}\n\t\t${it(`${J} svg, ${J} svg path`,C("fill",m.color))}\n\t\t${it(`${Q}:hover .${i}-icon.is-icon, ${Q}:hover .${i}-icon.is-svg`,C("color",m.hoverColor))}\n\t\t${it(`${Q}:hover .${i}-icon.is-icon svg path, ${Q}:hover .${i}-icon.is-svg svg path`,C("fill",m.hoverColor))}\n\t\t${it(`${z} .is-active .${i}-icon.is-icon, ${z} .is-active .${i}-icon.is-svg`,C("color",m.activeColor))}\n\t\t${it(`${z} .is-active .${i}-icon.is-icon svg path, ${z} .is-active .${i}-icon.is-svg svg path`,C("fill",m.activeColor))}\n\t`,wt=t=>{const e=$?.[t]||{},i=e.width;return`\n\t\t\t${it(ot,`\n\t\t\t\t${(t=>g(t))(L)?C("padding",U(e.padding)):""}\n\t\t\t\t${C("border-radius",U(e.radius))}\n\t\t\t\t${C("width",i)}\n\t\t\t\t${C("min-width",i)}\n\t\t\t\t${C("height",e.height)}\n\t\t\t`)}\n\t\t\t${y(L)?it(tt,C("stroke-width",e.ringSize)):""}\n\t\t`},xt=t=>{const e=m?.[t]?.size,i=m?.[t]?.width,n=m?.[t]?.height,o=U(m?.[t]?.radius),r=m?.[t]?.objectFit||("desktop"===t?m.objectFit:"");return`\n\t\t\t${it(J,`\n\t\t\t\t${C("width",e)}\n\t\t\t\t${C("height",e)}\n\t\t\t`)}\n\t\t\t${it(_,`\n\t\t\t\t${C("width",i)}\n\t\t\t\t${C("height",n)}\n\t\t\t\t${C("border-radius",o)}\n\t\t\t`)}\n\t\t\t${it(`${_} img`,(t=>"contain"===t?"width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;":t?`width: 100%; height: 100%; ${C("object-fit",t)}`:"")(r))}\n\t\t`},kt=N.pulse&&d(L,"animation"),jt=kt?it(`${B}::after`,C("animation-duration",N.speed)):"",Nt=`\n\t\t${Y("",b.typo)?.googleFontLink}\n\t\t${Y("",j.typo)?.googleFontLink}\n\t\t${Y(F,b.typo)?.styles}\n\t\t${Y(W,j.typo)?.styles}\n\n\t\t${it(Z,`\n\t\t\t${$t(b.tooltipBackground)}\n\t\t\t${C("color",b.tooltipText)}\n\t\t\t${Lt=b.border,l(L)&&ct(Lt)?E(Lt):""}\n\t\t`)}\n\t\t${pt[L]||""}\n\t\t${bt}\n\t\t${((t={})=>"numberedSteps"===(t?.layout?.preset||"glassBullseye")&&!t?.media?.showIcon)(t)?`\n\t\t${it(W,C("color",w(j,"normal")))}\n\t\t${it(`${Q}:hover .${i}-number`,C("color",w(j,"hover")))}\n\t\t${it(`${z} .is-active .${i}-number`,C("color",w(j,"active")))}\n\t`:""}\n\t\t${c(t)?vt:""}\n\t\t${kt?ft[N.style]??ft.pulseRing:""}\n\t\t${jt}\n\n\t\t${yt("desktop")}\n\t\t${Mt("desktop")}\n\t\t${wt("desktop")}\n\t\t${c(t)?xt("desktop"):""}\n\n\t\t${T}{\n\t\t\t${yt("tablet")}\n\t\t\t${Mt("tablet")}\n\t\t\t${wt("tablet")}\n\t\t\t\t${c(t)?xt("tablet"):""}\n\t\t}\n\n\t\t${I}{\n\t\t\t${yt("mobile")}\n\t\t\t${Mt("mobile")}\n\t\t\t${wt("mobile")}\n\t\t\t\t${c(t)?xt("mobile"):""}\n\t\t}\n\n\t\t${it(ot,dt(lt.normal.border))}\n\t\t${it(rt,dt(lt.hover.border))}\n\t\t${it(st,dt(lt.active.border))}\n\n\t\t${X(e,r,o,!1)}\n\n\t\t`;var Lt,Dt;return(0,x.jsx)("style",{dangerouslySetInnerHTML:{__html:(Dt=Nt,Dt.replace(/[^{}]+\{\s*\}/g,"").replace(/[^{}]+\{\s*\}/g,""))}})},J=(t="")=>String(t).replace(/<[^>]*>/g," ").replace(/&nbsp;|&#160;/g," ").replace(/&amp;/g,"&").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),_='h1, h2, h3, h4, h5, h6, .sectionHeadingTitle, [role="heading"]',K=t=>{const e=new Map;return t?(t.querySelectorAll(_).forEach((t=>{const i=J(t.textContent);i&&!e.has(i)&&e.set(i,(t=>{const e=t.closest('section, article, .wp-block-group, .wp-block-cover, [id^="bBlocks"], [data-block]');return e&&1===e.querySelectorAll(_).length?e:t})(t))})),e):e};class tt{constructor(t,{updateHash:e=!0,manageFocus:n=!0,preview:o=!1}={}){this.nav=t,this.doc=t.ownerDocument,this.win=this.doc.defaultView||window,this.updateHash=e,this.manageFocus=n,this.preview=o,this.items=Array.from(t.querySelectorAll(`.${i}-item`)),this.bubble=t.querySelector(`.${i}-bubble`),this.offset=parseInt(t.dataset.offset,10)||0,this.speed=parseInt(t.dataset.speed,10)||0,this.smooth="1"===t.dataset.smooth,this.spy="1"===t.dataset.spy,this.hideMissing="1"===t.dataset.hideMissing,this.scroller=null,this.active=-1,this.raf=0,this.scrollRaf=0,this.resizeRaf=0,this.listeners=[],this.targets=new Map,this.headings=new Map,this.sync(),this.bindClicks(),this.observe(),this.watchDOM(),this.onScroll()}findScroller(){const t=this.items.map((t=>this.target(t))).find(Boolean)||this.nav;let e=t?.parentElement,i=null;for(;e&&e!==this.doc.body&&e!==this.doc.documentElement;){const t=this.win.getComputedStyle(e);/(auto|scroll|overlay)/.test(t.overflowY)&&e.scrollHeight>e.clientHeight+1&&(i=e),
6 +e=e.parentElement}return i}view(){const t=this.scroller;return t?{top:t.scrollTop,height:t.clientHeight,edge:t.getBoundingClientRect().top,extent:t.scrollHeight}:{top:this.win.scrollY,height:this.win.innerHeight,edge:0,extent:Math.max(this.doc.documentElement?.scrollHeight||0,this.doc.body?.scrollHeight||0)}}topOf(t){return t.getBoundingClientRect().top-this.view().edge}scrollToY(t){this.scroller?this.scroller.scrollTop=t:this.win.scrollTo(this.win.scrollX,t)}currentOffset(){const t=this.win.innerWidth||0,e=t=>{const e=parseFloat(this.nav.dataset[t]);return isNaN(e)?null:e},i=640>=t?e("offsetMobile"):null,n=1024>=t?e("offsetTablet"):null;return i??n??this.offset}target(t){if(this.targets.has(t))return this.targets.get(t);const e=((t,e,i)=>{const n=u(e);if(!t||!n)return null;const o=t.getElementById(n);if(o)return o;const r=J(n);return r&&(i||K(t)).get(r)||null})(this.doc,t.dataset.target,this.headings);return this.targets.set(t,e),e}sync(){this.targets=new Map,this.headings=K(this.doc),this.scroller=this.findScroller();const t=this.items.filter((t=>!this.target(t))),e=t.length===this.items.length,n=this.hideMissing&&!e;this.items.forEach((e=>{const o=n&&t.includes(e);e.hidden=o;const r=e.querySelector(`.${i}-link`);r&&(r.tabIndex=o?-1:0)})),e&&t.length&&!this.warned&&(this.warned=!0)}bindClicks(){this.items.forEach(((t,e)=>{const n=t.querySelector(`.${i}-link`);if(!n)return;const o=i=>{this.boxOf(t)&&(i.preventDefault(),this.scrollTo(this.target(t),e))};n.addEventListener("click",o),this.listeners.push((()=>n.removeEventListener("click",o)))}))}scrollTo(t,e){const i=this.currentOffset(),n=Math.max(0,this.view().top+this.topOf(t)-i),o=()=>{if(!this.manageFocus)return;const e=t.hasAttribute("tabindex"),i=t.style.outline;e||(t.setAttribute("tabindex","-1"),t.style.outline="none"),t.focus({preventScroll:!0}),e||t.addEventListener("blur",(()=>{t.removeAttribute("tabindex"),t.style.outline=i}),{once:!0})};if(this.setActive(e),this.updateHash&&t.id&&this.win.history?.replaceState&&this.win.history.replaceState(null,"",`#${t.id}`),!this.smooth||(r=this.win,r.matchMedia?.("(prefers-reduced-motion: reduce)").matches)||!this.speed)return this.scrollToY(n),void o();var r;this.win.cancelAnimationFrame(this.raf);const s=this.view().top,a=this.win.performance.now(),l=t=>{const e=Math.min(1,(t-a)/this.speed);var i;this.scrollToY(s+(n-s)*(.5>(i=e)?4*i*i*i:1-Math.pow(-2*i+2,3)/2)),1>e?this.raf=this.win.requestAnimationFrame(l):o()};this.raf=this.win.requestAnimationFrame(l)}setActive(t){t!==this.active&&(this.active=t,this.paint(),this.items.forEach(((e,n)=>{const o=e.querySelector(`.${i}-link`);e.classList.toggle("is-active",n===t),o&&(n===t?o.setAttribute("aria-current","true"):o.removeAttribute("aria-current"))})),this.moveBubble())}moveBubble(){if(!this.bubble)return;const t=this.items[this.active];if(!t||t.hidden)return void(this.bubble.style.opacity="0");this.bubble.style.opacity="0.2";const e=this.nav.querySelector(`.${i}-list`),n=e&&"row"===this.win.getComputedStyle(e).flexDirection;this.bubble.style.transform=n?`translateX(${t.offsetLeft+t.offsetWidth/2}px)`:`translateY(${t.offsetTop+t.offsetHeight/2}px)`}rootMargin(){const t=this.currentOffset();return`-${t}px 0px -${Math.max(0,this.view().height-t-1)}px 0px`}boxOf(t){if(t.hidden)return null;const e=this.target(t);return e&&e.getClientRects().length?{top:this.topOf(e)}:null}currentIndex(){const t=this.currentOffset();let e=-1,i=-1/0;if(this.items.forEach(((n,o)=>{const r=this.boxOf(n);r&&r.top<=t&&r.top>i&&(i=r.top,e=o)})),-1===e){const t=this.view().height/2;return this.items.some(((i,n)=>{const o=this.boxOf(i);return!(!o||o.top>=t||(e=n,0))})),-1===e?this.firstIndex():e}if(!this.atEnd())return e;let n=e;return this.items.forEach(((t,i)=>{if(i<=e)return;const o=this.boxOf(t);o&&o.top<this.view().height&&(n=i)})),n}firstIndex(){if(!this.preview)return-1;const t=this.items.findIndex((t=>!t.hidden));return 0>t?-1:t}atEnd(){const{top:t,height:e,extent:i}=this.view();return i>e+1&&t+e>=i-2}observe(){this.spy&&this.win.IntersectionObserver&&(this.margin=this.rootMargin(),this.observer=new this.win.IntersectionObserver((()=>this.setActive(this.currentIndex())),{root:this.scroller,rootMargin:this.margin,threshold:0}),this.items.forEach((t=>{const e=this.target(t);e&&this.observer.observe(e)})))}paint(){const t=this.currentOffset();this.items.forEach(((e,n)=>{const o=-1!==this.active&&n<this.active;e.classList.toggle("is-passed",o);const r=e.querySelector(`.${i}-ring-bar`);if(!r)return;if(n!==this.active)return r.style.strokeDashoffset=o?"0":"100",void(r.style.opacity=o?"1":"0");const s=this.target(e);if(!s)return;const a=t-this.topOf(s),l=Math.min(1,Math.max(0,a/(s.offsetHeight||1)));r.style.strokeDashoffset=String(100-100*l),r.style.opacity=0<l?"1":"0"}))}onScroll(){const t=()=>{this.scrollRaf=0,this.spy&&this.setActive(this.currentIndex()),this.paint()},e=()=>{this.scrollRaf||(this.scrollRaf=this.win.requestAnimationFrame(t))},i=()=>{this.resizeRaf||(this.resizeRaf=this.win.requestAnimationFrame((()=>{this.resizeRaf=0,this.relayout()})))},n=this.scroller||this.win;n.addEventListener("scroll",e,{passive:!0}),this.win.addEventListener("resize",i,{passive:!0}),this.listeners.push((()=>{n.removeEventListener("scroll",e),this.win.removeEventListener("resize",i)})),t()}relayout(){this.observer&&this.margin!==this.rootMargin()&&(this.observer.disconnect(),this.observe()),this.moveBubble(),this.paint()}watchDOM(){if(!this.win.MutationObserver)return;let t=0;this.mutation=new this.win.MutationObserver((()=>{this.win.cancelAnimationFrame(t),t=this.win.requestAnimationFrame((()=>{this.sync(),this.observer?.disconnect(),this.observe(),this.moveBubble()}))})),this.mutation.observe(this.doc.body,{childList:!0,subtree:!0,characterData:!0})}destroy(){this.win.cancelAnimationFrame(this.raf),this.win.cancelAnimationFrame(this.scrollRaf),this.win.cancelAnimationFrame(this.resizeRaf),this.observer?.disconnect(),this.mutation?.disconnect(),this.listeners.forEach((t=>t())),this.listeners=[]}}const et=({attributes:e,id:i})=>{const n=(0,t.useRef)(null);return(0,t.useEffect)((()=>{if(!n.current)return;const t=new tt(n.current);return()=>t.destroy()}),[]),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(V,{attributes:e,id:i}),(0,x.jsx)(L,{ref:n,attributes:e})]})},it=()=>{document.querySelectorAll(".wp-block-b-blocks-one-page-navigation").forEach((t=>{let i;try{i=JSON.parse(t.dataset.attributes||"")}catch(t){return}(0,e.createRoot)(t).render((0,x.jsx)(et,{attributes:i,id:t.id})),t.removeAttribute("data-attributes")}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",it):it()})();