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/container/view.js +7 -1 2.1.2 → 2.1.8 View file →
@@ -1 +1,7 @@
1 -(()=>{"use strict";const e=window.ReactDOM,t=window.React;var n=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],r={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function o(e,t,n){const r=[...e].map(((e,r)=>a(e,{...n,index:r,level:t+1}))).filter(Boolean);return r.length?r:null}function i(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:i="text/html"}=t;try{const s=(new DOMParser).parseFromString(e,i);if(n){const{childNodes:e}=s.body;return r?e:[...e].map((e=>a(e,t)))}const c=s.querySelector(o)||s.body.childNodes[0];if(!(c instanceof Node))throw new TypeError("Error parsing input");return r?c:a(c,t)}catch(e){}return null}(e,t):e instanceof Node?a(e,t):null}function a(e,i={}){if(!(e&&e instanceof Node))return null;const{actions:a=[],index:s=0,level:c=0,randomKey:l}=i;let h=e,u=`${c}-${s}`;const d=[];return l&&0===c&&(u=`${function(e=6){let t="";for(let n=e;n>0;--n)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return t}()}-${u}`),Array.isArray(a)&&a.forEach((t=>{t.condition(h,u,c)&&("function"==typeof t.pre&&(h=t.pre(h,u,c),h instanceof Node||(h=e)),"function"==typeof t.post&&d.push(t.post(h,u,c)))})),d.length?d:function(e,i){const{key:a,level:s,...c}=i;switch(e.nodeType){case 1:return t.createElement((l=e.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(l)?l:l.toLowerCase()),function(e,t){const n={key:t};if(e instanceof Element){const t=e.getAttribute("class");t&&(n.className=t),[...e.attributes].forEach((e=>{switch(e.name){case"class":break;case"style":n[e.name]="string"!=typeof(t=e.value)?{}:t.split(/ ?; ?/).reduce(((e,t)=>{const[n,r]=t.split(/ ?: ?/).map(((e,t)=>0===t?e.replace(/\s+/g,""):e.trim()));if(n&&r){const t=n.replace(/(\w)-(\w)/g,((e,t,n)=>`${t}${n.toUpperCase()}`));let o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),e[n.startsWith("-")?n:t]=o}return e}),{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[r[e.name]||e.name]=!0;break;default:n[r[e.name]||e.name]=e.value}var t}))}return n}(e,a),o(e.childNodes,s,c));case 3:{const t=e.nodeValue?.toString()??"";if(!c.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;const r=e.parentNode.nodeName.toLowerCase();return n.includes(r)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${r}'. Your text "${t}" will be ignored`),null):t}case 8:default:return null;case 11:return o(e.childNodes,s,i)}var l}(h,{key:u,level:c,...i})}var s=Object.defineProperty,c=(e,t,n)=>((e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),l="react-inlinesvg",h={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function u(){return!("undefined"==typeof window||!window.document?.createElement)}function d(e,...t){const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&!t.includes(r)&&(n[r]=e[r]);return n}async function p(e,t){const n=await fetch(e,t),r=n.headers.get("content-type"),[o]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((e=>o.includes(e))))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function f(e=1){return new Promise((t=>{setTimeout(t,1e3*e)}))}function g(e){const n=(0,t.useRef)(void 0);return(0,t.useEffect)((()=>{n.current=e})),n.current}function m(e){const{baseURL:t,content:n,description:r,handleError:o,hash:a,preProcessor:s,title:c,uniquifyIDs:l=!1}=e;try{let e=s?s(n):n;l&&(e=function(e,t,n){const r=e.matchAll(/\bid=(["'])([^"']+)\1/g),o=[...new Set([...r].map((e=>e[2])))];return o.length?(o.sort(((e,t)=>t.length-e.length)),e.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,((e,r)=>{let i=r;for(const e of o){const r=e.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&");i=i.replace(new RegExp(`url\\((['"]?)#${r}\\1\\)`,"g"),`url($1${n}#${e}__${t}$1)`),i=i.replace(new RegExp(`#${r}(?![a-zA-Z0-9_-])`,"g"),`#${e}__${t}`)}return e.replace(r,i)}))):e}(e,a,t??""));const o=i(e,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const h=y(o,{baseURL:t,hash:a,uniquifyIDs:l});if(r){const e=h.querySelector("desc");e?.parentNode&&e.parentNode.removeChild(e);const t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=r,h.prepend(t)}if(void 0!==c){const e=h.querySelector("title");if(e?.parentNode&&e.parentNode.removeChild(e),c){const e=document.createElementNS("http://www.w3.org/2000/svg","title");e.innerHTML=c,h.prepend(e)}}return h}catch(e){return o(e)}}function y(e,t){const{baseURL:n="",hash:r,uniquifyIDs:o}=t,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];return o?([...e.children].forEach((e=>{if(e.attributes?.length){const t=Object.values(e.attributes).map((e=>{const t=e,o=/url\((.*?)\)/.exec(e.value);return o?.[1]&&(t.value=e.value.replace(o[0],`url(${n}${o[1]}__${r})`)),t}));i.forEach((e=>{const n=t.find((t=>t.name===e));var o,i;n&&(o=e,i=n.value,!a.includes(o)||!i||i.includes("#"))&&(n.value=`${n.value}__${r}`)}))}return e.children.length?y(e,t):e})),e):e}function v(e,n){const{baseURL:r,cacheRequests:o=!0,description:a,fetchOptions:s,onError:c,onLoad:l,preProcessor:d,src:f,title:y,uniqueHash:v,uniquifyIDs:w}=e,k=(0,t.useRef)(v??function(){const e="abcdefghijklmnopqrstuvwxyz",t=`${e}${e.toUpperCase()}1234567890`;let n="";for(let e=0;e<8;e++)n+=(r=t)[Math.floor(Math.random()*r.length)];var r;return n}()),x=(0,t.useRef)(s),b=(0,t.useRef)(c),E=(0,t.useRef)(l),S=(0,t.useRef)(d);x.current=s,b.current=c,E.current=l,S.current=d;const[A,$]=(0,t.useReducer)(((e,t)=>({...e,...t})),{content:"",element:null,isCached:!1,status:h.IDLE},(r=>{if(!o||!n.isCached(f))return r;const a=n.getContent(f);try{const n=m({...e,handleError:()=>{},hash:k.current,content:a});if(!n)return{...r,content:a,isCached:!0,status:h.LOADED};const o=i(n);if(o&&(0,t.isValidElement)(o))return{content:a,element:o,isCached:!0,status:h.READY}}catch{}return{...r,content:a,isCached:!0,status:h.LOADED}})),{content:R,element:D,isCached:C,status:L}=A,O=g(e),M=g(A),N=(0,t.useRef)(!1),P=(0,t.useRef)(!1),T=(0,t.useCallback)((e=>{N.current&&($({status:"Browser does not support SVG"===e.message?h.UNSUPPORTED:h.FAILED}),b.current?.(e))}),[]),I=(0,t.useCallback)((()=>{try{const e=i(m({baseURL:r,content:R,description:a,handleError:T,hash:k.current,preProcessor:S.current,src:f,title:y,uniquifyIDs:w}));if(!e||!(0,t.isValidElement)(e))throw new Error("Could not convert the src to a React element");$({element:e,status:h.READY})}catch(e){T(e)}}),[r,R,a,T,f,y,w]);var j;return j=()=>{if(N.current=!0,u()&&!P.current){try{if(L===h.READY)E.current?.(f,C);else if(L===h.IDLE){if(!function(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="<svg />";const t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()||"undefined"==typeof window||null===window)throw new Error("Browser does not support SVG");if(!f)throw new Error("Missing src");$({content:"",element:null,isCached:!1,status:h.LOADING})}}catch(e){T(e)}return P.current=!0,()=>{N.current=!1}}},(0,t.useEffect)(j,[]),(0,t.useEffect)((()=>{if(u()&&O&&O.src!==f){if(!f)return void T(new Error("Missing src"));$({content:"",element:null,isCached:!1,status:h.LOADING})}}),[T,O,f]),(0,t.useEffect)((()=>{if(L!==h.LOADING)return;const e=new AbortController;let t=!0;return(async()=>{try{const r=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(f);let i;if(r?i=r[1]?window.atob(r[2]):decodeURIComponent(r[2]):f.includes("<svg")&&(i=f),i)return void(t&&$({content:i,isCached:!1,status:h.LOADED}));const a={...x.current,signal:e.signal};let s,c=!1;o?(c=n.isCached(f),s=await n.get(f,a)):s=await p(f,a),t&&$({content:s,isCached:c,status:h.LOADED})}catch(e){t&&"AbortError"!==e.name&&T(e)}})(),()=>{t=!1,e.abort()}}),[o,n,T,f,L]),(0,t.useEffect)((()=>{L===h.LOADED&&R&&I()}),[R,I,L]),(0,t.useEffect)((()=>{u()&&O&&O.src===f&&(O.title===y&&O.description===a||I())}),[a,I,O,f,y]),(0,t.useEffect)((()=>{M&&L===h.READY&&M.status!==h.READY&&E.current?.(f,C)}),[C,M,f,L]),{element:D,status:L}}var w=(0,t.createContext)(null),k=new class{constructor(e={}){c(this,"cacheApi"),c(this,"cacheStore"),c(this,"subscribers",[]),c(this,"isReady",!1);const{name:t=l,persistent:n=!1}=e;this.cacheStore=new Map,n&&u()&&"caches"in window?caches.open(t).then((e=>{this.cacheApi=e})).catch((e=>{console.error(`Failed to open cache: ${e.message}`),this.cacheApi=void 0})).finally((()=>{this.isReady=!0;const e=[...this.subscribers];this.subscribers.length=0,e.forEach((e=>{try{e()}catch(e){console.error(`Error in CacheStore subscriber callback: ${e.message}`)}}))})):this.isReady=!0}onReady(e){return this.isReady?(e(),()=>{}):(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);t>=0&&this.subscribers.splice(t,1)})}waitForReady(){return this.isReady?Promise.resolve():new Promise((e=>{this.onReady(e)}))}async get(e,t){return await this.fetchAndCache(e,t),this.cacheStore.get(e)?.content??""}getContent(e){return this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===h.LOADED}async fetchAndCache(e,t){this.isReady||await this.waitForReady();const n=this.cacheStore.get(e);if(n?.status!==h.LOADED)if(n?.status!==h.LOADING){this.cacheStore.set(e,{content:"",status:h.LOADING});try{const n=this.cacheApi?await this.fetchFromPersistentCache(e,t):await p(e,t);this.cacheStore.set(e,{content:n,status:h.LOADED})}catch(t){const n="AbortError"===t?.name;throw this.cacheStore.set(e,{content:"",error:n?void 0:t,status:h.FAILED}),t}}else{await this.handleLoading(e,t?.signal||void 0,(async()=>{this.cacheStore.set(e,{content:"",status:h.IDLE}),await this.fetchAndCache(e,t)}));const n=this.cacheStore.get(e);if(n?.status===h.FAILED){if(n.error)throw n.error;this.cacheStore.delete(e),await this.fetchAndCache(e,t)}}}async fetchFromPersistentCache(e,t){const n=await(this.cacheApi?.match(e));if(n)return n.text();await(this.cacheApi?.add(new Request(e,t)));const r=await(this.cacheApi?.match(e));return await(r?.text())??""}async handleLoading(e,t,n){for(let n=0;n<10;n++){if(t?.aborted)throw t.reason instanceof Error?t.reason:new DOMException("The operation was aborted.","AbortError");if(this.cacheStore.get(e)?.status!==h.LOADING)return;await f(.1)}await n()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map((([e,t])=>({[e]:t})))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map((e=>this.cacheApi.delete(e))))}this.cacheStore.clear()}};function x(e){const{children:n=null,innerRef:r,loader:o=null}=e,i=(0,t.useContext)(w)??k,{element:a,status:s}=v(e,i);return u()?a?(0,t.cloneElement)(a,{ref:r,...d(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[h.UNSUPPORTED,h.FAILED].includes(s)?n:o:o}const b=window.ReactJSXRuntime,E=()=>(0,b.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1000 100",preserveAspectRatio:"none",children:[(0,b.jsx)("path",{fill:"currentColor",d:"M0 97.79S101.82-.97 283.17 5.23c203.09 0 290.46 94.4 716.83 94.4V0H0v97.79Z"}),(0,b.jsx)("defs",{children:(0,b.jsx)("path",{d:"M0 0h1000v99.62H0z"})})]}),S=()=>(0,b.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor",children:[(0,b.jsx)("path",{d:"m0 98.99 170.59-87.45S611.11 98.99 1000 98.99V0H0v98.99Z"}),(0,b.jsx)("defs",{children:(0,b.jsx)("path",{d:"M0 0h1000v98.99H0z"})})]}),A=()=>(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor",children:(0,b.jsx)("path",{d:"M1000 0H0l.004 84.53c8.883-1.503 17.67-3.832 26.606-4.38 11.144-.693 22.668-2.426 33.516 2.75 2.148 1.022 5.802 1.283 7.787.236 16.643-8.726 35.02-8.353 52.995-8.552 16.393-.171 32.8 2.003 49.227 2.575 7.39.249 14.834-.883 22.252-1.395 5.505-.385 11.126-1.657 16.502-1.017 27.437 3.259 54.741.483 82.116-.512 22.989-.824 46.094-1.695 69.014-.384 18.454 1.053 36.688 5.406 55.054 8.106 3.796.56 7.833.866 11.584.284 19.935-3.06 39.975-5.795 59.667-9.936 13.651-2.875 27.24-4.332 41.044-3.482 16.178.995 32.295 2.86 48.464 4.05 14.143 1.039 28.322 2.251 42.486 2.24 6.99-.004 13.954-2.691 20.971-3.957 3.599-.646 7.394-1.548 10.917-1.071 8.379 1.156 16.747 2.73 24.926 4.807 3.59.91 6.937 3.182 9.992 5.342 8.332 5.887 12.636 5.884 21.316.173 1.429-.938 4.516-.871 6.155-.05 4.483 2.259 8.528 5.261 12.874 7.783 4.35 2.528 8.526 3.508 13.604.622 8.431-4.779 8.798-4.844 5.644-16.958 9.004 5.279 16.629 10.026 24.537 14.293 5.578 3.015 11.102 6.918 18.332 3.864 5.162-2.182 9.711-4.556 8.883-11.517 8.026 4.971 15.566 9.27 22.664 14.154 6.305 4.338 12.352 3.68 18.678.595 6.039-2.943 4.774-7.627 1.511-13.691 4.874 2.2 8.264 3.038 10.67 4.97 4.736 3.8 9.051 2.95 14.068.709 7.736-3.457 8.919-7.193 3.577-13.387-.879-1.02-1.85-1.978-1.982-3.99 5.02 3.216 10.095 6.346 15.041 9.666 5.659 3.8 11.127 7.853 16.793 11.63 7.265 4.848 15.631 4.988 21.951-.296 4.726-3.951 2.104-8.467-.974-12.184-4.576-5.533-9.527-10.8-14.312-16.168.415-.445.829-.877 1.244-1.316 5.943 4.058 11.898 8.105 17.824 12.196 4.109 2.835 8.088 5.854 12.277 8.587 10.747 7.007 15.487 6.835 26.683-1.303 4.201 3.223 8.74 6.49 13.041 10.025 9.951 8.183 15.277 7.933 24.777-2.595V0Z"})}),$=()=>(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor",children:(0,b.jsx)("path",{d:"M646.99 79.145C766.266 62.962 906.985 26.462 1000 0H0c211.255 131.265 460.086 104.501 646.99 79.145Z"})}),R=({data:e})=>{const{isUpload:t,uploadSvg:n,type:r}=e||{};return t?(0,b.jsx)(x,{src:n?.url}):(0,b.jsx)(b.Fragment,{children:(()=>{switch(r){case"ocean-wave":return(0,b.jsx)(E,{});case"asymmetric-triangle":return(0,b.jsx)(S,{});case"abstract-paintbrush":return(0,b.jsx)(A,{});case"asymmetric-curve":return(0,b.jsx)($,{});default:return null}})()})},D=document.querySelectorAll(".wp-block-b-blocks-container");D?.forEach((t=>{const n=JSON.parse(t.dataset.attributes),{shape:r}=n,{top:o,bottom:i}=r,a=document.createElement("style");a.innerHTML=((e,t)=>{const{top:n,bottom:r}=e||{},{color:o,isFlip:i,isFront:a,width:s,height:c}=n||{},{isUpload:l,color:h,isFlip:u,isFront:d,width:p,height:f}=r||{},g=`#${t} .topShaped`,m=`#${t} .bottomShaped`;return`\n\t\t${g}{\n\t\t\t${c?.desktop?`height: ${c?.desktop};`:""}\n\t\t\tcolor: ${o};\n\t\t\t${a?"z-index: 4;":""}\n\t\t}\n\n\t\t${g} svg{\n\t\t\t${s?.desktop?`width: ${s?.desktop};`:""}\n\t\t\t${c?.desktop?`height: ${c?.desktop};`:""}\n\t\t\tfill: ${o};\n\t\t\t${i?"transform: translateX(0%) rotateY(180deg);":""}\n\t\t}\n\n\t\t${g} svg *{\n\t\t\tfill: ${o};\n\t\t}\n\n\t\t${m}{\n\t\t\t${f?.desktop?`height: ${f?.desktop};`:""}\n\t\t\tcolor: ${h};\n\t\t\t${d?"z-index: 4;":""}\n\t\t}\n\t\t${m} svg{\n\t\t\t${p?.desktop?`width: ${p?.desktop};`:""}\n\t\t\t${f?.desktop?`height: ${f?.desktop};`:""}\n\t\t\tfill: ${h};\n\t\t\t${u?"transform: translateX(0%) rotateX(180deg);":"transform: rotate(180deg);"}\n\t\t\t${l?"transform: none;":""}\n\t\t}\n\t\t${m} svg *{\n\t\t\tcolor: ${h};\n\t\t\tfill: ${h};\n\t\t}\n\t\t\n\t\t@media only screen and (max-width: 1024px){\n\t\t\t${g} svg{\n\t\t\t\t${s?.tablet?`width: ${s?.tablet}`:""}\n\t\t\t\t${c?.tablet?`height: ${c?.tablet}`:""}\n\t\t\t}\n\t\t\t${m} svg{\n\t\t\t\t${p?.tablet?`width: ${p?.tablet}`:""}\n\t\t\t\t${f?.tablet?`height: ${f?.tablet}`:""}\n\t\t\t}\n\t\t}\n\n\t\t@media only screen and (max-width: 640px){\n\t\t\t${g} svg{\n\t\t\t\t${s?.mobile?`width: ${s?.mobile}`:""}\n\t\t\t\t${c?.mobile?`height: ${c?.mobile}`:""}\n\t\t\t}\n\t\t\t${m} svg{\n\t\t\t\t${p?.mobile?`width: ${p?.mobile}`:""}\n\t\t\t\t${f?.mobile?`height: ${f?.mobile}`:""}\n\t\t\t}\n\t\t}\n\t`.replace(/\s+/g," ")})(r,t.id),t.prepend(a);const s=t.querySelector(".topShaped"),c=t.querySelector(".bottomShaped");s&&(0,e.createRoot)(s).render((0,b.jsx)(R,{data:o})),c&&(0,e.createRoot)(c).render((0,b.jsx)(R,{data:i})),t?.removeAttribute("data-attributes")}))})();
1 +(()=>{"use strict";const t=window.ReactDOM,e=window.React;var n=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],r={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode",
2 +"writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function o(t,e,n){const r=[...t].map(((t,r)=>a(t,{...n,index:r,level:e+1}))).filter(Boolean);return r.length?r:null}function i(t,e={}){return"string"==typeof t?function(t,e={}){if(!t||"string"!=typeof t)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:i="text/html"}=e;try{const s=(new DOMParser).parseFromString(t,i);if(n){const{childNodes:t}=s.body;return r?t:[...t].map((t=>a(t,e)))}const l=s.querySelector(o)||s.body.childNodes[0];if(!(l instanceof Node))throw new TypeError("Error parsing input");return r?l:a(l,e)}catch(t){}return null}(t,e):t instanceof Node?a(t,e):null}function a(t,i={}){if(!(t&&t instanceof Node))return null;const{actions:a=[],index:s=0,level:l=0,randomKey:c}=i;let u=t,d=`${l}-${s}`;const p=[];return c&&0===l&&(d=`${function(t=6){let e="";for(let n=t;n>0;--n)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return e}()}-${d}`),Array.isArray(a)&&a.forEach((e=>{e.condition(u,d,l)&&("function"==typeof e.pre&&(u=e.pre(u,d,l),u instanceof Node||(u=t)),"function"==typeof e.post&&p.push(e.post(u,d,l)))})),p.length?p:function(t,i){const{key:a,level:s,...l}=i;switch(t.nodeType){case 1:return e.createElement((c=t.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(c)?c:c.toLowerCase()),function(t,e){const n={key:e};if(t instanceof Element){const e=t.getAttribute("class");e&&(n.className=e),[...t.attributes].forEach((t=>{switch(t.name){case"class":break;case"style":n[t.name]="string"!=typeof(e=t.value)?{}:e.split(/ ?; ?/).reduce(((t,e)=>{const[n,r]=e.split(/ ?: ?/).map(((t,e)=>0===e?t.replace(/\s+/g,""):t.trim()));if(n&&r){const e=n.replace(/(\w)-(\w)/g,((t,e,n)=>`${e}${n.toUpperCase()}`));let o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),t[n.startsWith("-")?n:e]=o}return t}),{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[r[t.name]||t.name]=!0;break;default:n[r[t.name]||t.name]=t.value}var e}))}return n}(t,a),o(t.childNodes,s,l));case 3:{const e=t.nodeValue?.toString()??"";if(!l.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const r=t.parentNode.nodeName.toLowerCase();return n.includes(r)?(/\S/.test(e)&&console.warn(`A textNode is not allowed inside '${r}'. Your text "${e}" will be ignored`),null):e}case 8:default:return null;case 11:return o(t.childNodes,s,i)}var c}(u,{key:d,level:l,...i})}var s=Object.defineProperty,l=(t,e,n)=>((t,e,n)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n)(t,"symbol"!=typeof e?e+"":e,n),c="react-inlinesvg",u={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function d(){return!("undefined"==typeof window||!window.document?.createElement)}function p(t,...e){const n={};for(const r in t)({}).hasOwnProperty.call(t,r)&&!e.includes(r)&&(n[r]=t[r]);return n}async function h(t,e){const n=await fetch(t,e),r=n.headers.get("content-type"),[o]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((t=>o.includes(t))))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function m(t=1){return new Promise((e=>{setTimeout(e,1e3*t)}))}function g(t){const n=(0,e.useRef)(void 0);return(0,e.useEffect)((()=>{n.current=t})),n.current}function f(t){const{baseURL:e,content:n,description:r,handleError:o,hash:a,preProcessor:s,title:l,uniquifyIDs:c=!1}=t;try{let t=s?s(n):n;c&&(t=function(t,e,n){const r=t.matchAll(/\bid=(["'])([^"']+)\1/g),o=[...new Set([...r].map((t=>t[2])))];return o.length?(o.sort(((t,e)=>e.length-t.length)),t.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,((t,r)=>{let i=r;for(const t of o){const r=t.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&");i=i.replace(new RegExp(`url\\((['"]?)#${r}\\1\\)`,"g"),`url($1${n}#${t}__${e}$1)`),i=i.replace(new RegExp(`#${r}(?![a-zA-Z0-9_-])`,"g"),`#${t}__${e}`)}return t.replace(r,i)}))):t}(t,a,e??""));const o=i(t,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const u=y(o,{baseURL:e,hash:a,uniquifyIDs:c});if(r){const t=u.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const e=document.createElementNS("http://www.w3.org/2000/svg","desc");e.innerHTML=r,u.prepend(e)}if(void 0!==l){const t=u.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),l){const t=document.createElementNS("http://www.w3.org/2000/svg","title");t.innerHTML=l,u.prepend(t)}}return u}catch(t){return o(t)}}function y(t,e){const{baseURL:n="",hash:r,uniquifyIDs:o}=e,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];return o?([...t.children].forEach((t=>{if(t.attributes?.length){const e=Object.values(t.attributes).map((t=>{const e=t,o=/url\((.*?)\)/.exec(t.value);return o?.[1]&&(e.value=t.value.replace(o[0],`url(${n}${o[1]}__${r})`)),e}));i.forEach((t=>{const n=e.find((e=>e.name===t));var o,i;n&&(o=t,i=n.value,!a.includes(o)||!i||i.includes("#"))&&(n.value=`${n.value}__${r}`)}))}return t.children.length?y(t,e):t})),t):t}function w(t,n){const{baseURL:r,cacheRequests:o=!0,description:a,fetchOptions:s,onError:l,onLoad:c,preProcessor:p,src:m,title:y,uniqueHash:w,uniquifyIDs:M}=t,x=(0,e.useRef)(w??function(){const t="abcdefghijklmnopqrstuvwxyz",e=`${t}${t.toUpperCase()}1234567890`;let n="";for(let t=0;t<8;t++)n+=(r=e)[Math.floor(Math.random()*r.length)];var r;return n}()),$=(0,e.useRef)(s),b=(0,e.useRef)(l),v=(0,e.useRef)(c),k=(0,e.useRef)(p);$.current=s,b.current=l,v.current=c,k.current=p;const[L,D]=(0,e.useReducer)(((t,e)=>({...t,...e})),{content:"",element:null,isCached:!1,status:u.IDLE},(r=>{if(!o||!n.isCached(m))return r;const a=n.getContent(m);try{const n=f({...t,handleError:()=>{},hash:x.current,content:a});if(!n)return{...r,content:a,isCached:!0,status:u.LOADED};const o=i(n);if(o&&(0,e.isValidElement)(o))return{content:a,element:o,isCached:!0,status:u.READY}}catch{}return{...r,content:a,isCached:!0,status:u.LOADED}})),{content:N,element:j,isCached:S,status:z}=L,E=g(t),A=g(L),T=(0,e.useRef)(!1),I=(0,e.useRef)(!1),C=(0,e.useCallback)((t=>{T.current&&(D({status:"Browser does not support SVG"===t.message?u.UNSUPPORTED:u.FAILED}),b.current?.(t))
3 +}),[]),O=(0,e.useCallback)((()=>{try{const t=i(f({baseURL:r,content:N,description:a,handleError:C,hash:x.current,preProcessor:k.current,src:m,title:y,uniquifyIDs:M}));if(!t||!(0,e.isValidElement)(t))throw new Error("Could not convert the src to a React element");D({element:t,status:u.READY})}catch(t){C(t)}}),[r,N,a,C,m,y,M]);var R;return R=()=>{if(T.current=!0,d()&&!I.current){try{if(z===u.READY)v.current?.(m,S);else if(z===u.IDLE){if(!function(){if(!document)return!1;const t=document.createElement("div");t.innerHTML="<svg />";const e=t.firstChild;return!!e&&"http://www.w3.org/2000/svg"===e.namespaceURI}()||"undefined"==typeof window||null===window)throw new Error("Browser does not support SVG");if(!m)throw new Error("Missing src");D({content:"",element:null,isCached:!1,status:u.LOADING})}}catch(t){C(t)}return I.current=!0,()=>{T.current=!1}}},(0,e.useEffect)(R,[]),(0,e.useEffect)((()=>{if(d()&&E&&E.src!==m){if(!m)return void C(new Error("Missing src"));D({content:"",element:null,isCached:!1,status:u.LOADING})}}),[C,E,m]),(0,e.useEffect)((()=>{if(z!==u.LOADING)return;const t=new AbortController;let e=!0;return(async()=>{try{const r=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(m);let i;if(r?i=r[1]?window.atob(r[2]):decodeURIComponent(r[2]):m.includes("<svg")&&(i=m),i)return void(e&&D({content:i,isCached:!1,status:u.LOADED}));const a={...$.current,signal:t.signal};let s,l=!1;o?(l=n.isCached(m),s=await n.get(m,a)):s=await h(m,a),e&&D({content:s,isCached:l,status:u.LOADED})}catch(t){e&&"AbortError"!==t.name&&C(t)}})(),()=>{e=!1,t.abort()}}),[o,n,C,m,z]),(0,e.useEffect)((()=>{z===u.LOADED&&N&&O()}),[N,O,z]),(0,e.useEffect)((()=>{d()&&E&&E.src===m&&(E.title===y&&E.description===a||O())}),[a,O,E,m,y]),(0,e.useEffect)((()=>{A&&z===u.READY&&A.status!==u.READY&&v.current?.(m,S)}),[S,A,m,z]),{element:j,status:z}}var M=(0,e.createContext)(null),x=new class{constructor(t={}){l(this,"cacheApi"),l(this,"cacheStore"),l(this,"subscribers",[]),l(this,"isReady",!1);const{name:e=c,persistent:n=!1}=t;this.cacheStore=new Map,n&&d()&&"caches"in window?caches.open(e).then((t=>{this.cacheApi=t})).catch((t=>{console.error(`Failed to open cache: ${t.message}`),this.cacheApi=void 0})).finally((()=>{this.isReady=!0;const t=[...this.subscribers];this.subscribers.length=0,t.forEach((t=>{try{t()}catch(t){console.error(`Error in CacheStore subscriber callback: ${t.message}`)}}))})):this.isReady=!0}onReady(t){return this.isReady?(t(),()=>{}):(this.subscribers.push(t),()=>{const e=this.subscribers.indexOf(t);e>=0&&this.subscribers.splice(e,1)})}waitForReady(){return this.isReady?Promise.resolve():new Promise((t=>{this.onReady(t)}))}async get(t,e){return await this.fetchAndCache(t,e),this.cacheStore.get(t)?.content??""}getContent(t){return this.cacheStore.get(t)?.content??""}set(t,e){this.cacheStore.set(t,e)}isCached(t){return this.cacheStore.get(t)?.status===u.LOADED}async fetchAndCache(t,e){this.isReady||await this.waitForReady();const n=this.cacheStore.get(t);if(n?.status!==u.LOADED)if(n?.status!==u.LOADING){this.cacheStore.set(t,{content:"",status:u.LOADING});try{const n=this.cacheApi?await this.fetchFromPersistentCache(t,e):await h(t,e);this.cacheStore.set(t,{content:n,status:u.LOADED})}catch(e){const n="AbortError"===e?.name;throw this.cacheStore.set(t,{content:"",error:n?void 0:e,status:u.FAILED}),e}}else{await this.handleLoading(t,e?.signal||void 0,(async()=>{this.cacheStore.set(t,{content:"",status:u.IDLE}),await this.fetchAndCache(t,e)}));const n=this.cacheStore.get(t);if(n?.status===u.FAILED){if(n.error)throw n.error;this.cacheStore.delete(t),await this.fetchAndCache(t,e)}}}async fetchFromPersistentCache(t,e){const n=await(this.cacheApi?.match(t));if(n)return n.text();await(this.cacheApi?.add(new Request(t,e)));const r=await(this.cacheApi?.match(t));return await(r?.text())??""}async handleLoading(t,e,n){for(let n=0;n<10;n++){if(e?.aborted)throw e.reason instanceof Error?e.reason:new DOMException("The operation was aborted.","AbortError");if(this.cacheStore.get(t)?.status!==u.LOADING)return;await m(.1)}await n()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map((([t,e])=>({[t]:e})))}async delete(t){this.cacheApi&&await this.cacheApi.delete(t),this.cacheStore.delete(t)}async clear(){if(this.cacheApi){const t=await this.cacheApi.keys();await Promise.allSettled(t.map((t=>this.cacheApi.delete(t))))}this.cacheStore.clear()}};function $(t){const{children:n=null,innerRef:r,loader:o=null}=t,i=(0,e.useContext)(M)??x,{element:a,status:s}=w(t,i);return d()?a?(0,e.cloneElement)(a,{ref:r,...p(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[u.UNSUPPORTED,u.FAILED].includes(s)?n:o:o}const b=window.ReactJSXRuntime,v=()=>(0,b.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1000 100",preserveAspectRatio:"none",children:[(0,b.jsx)("path",{fill:"currentColor",d:"M0 97.79S101.82-.97 283.17 5.23c203.09 0 290.46 94.4 716.83 94.4V0H0v97.79Z"}),(0,b.jsx)("defs",{children:(0,b.jsx)("path",{d:"M0 0h1000v99.62H0z"})})]}),k=()=>(0,b.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor",children:[(0,b.jsx)("path",{d:"m0 98.99 170.59-87.45S611.11 98.99 1000 98.99V0H0v98.99Z"}),(0,b.jsx)("defs",{children:(0,b.jsx)("path",{d:"M0 0h1000v98.99H0z"})})]}),L=()=>(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor",children:(0,b.jsx)("path",{d:"M1000 0H0l.004 84.53c8.883-1.503 17.67-3.832 26.606-4.38 11.144-.693 22.668-2.426 33.516 2.75 2.148 1.022 5.802 1.283 7.787.236 16.643-8.726 35.02-8.353 52.995-8.552 16.393-.171 32.8 2.003 49.227 2.575 7.39.249 14.834-.883 22.252-1.395 5.505-.385 11.126-1.657 16.502-1.017 27.437 3.259 54.741.483 82.116-.512 22.989-.824 46.094-1.695 69.014-.384 18.454 1.053 36.688 5.406 55.054 8.106 3.796.56 7.833.866 11.584.284 19.935-3.06 39.975-5.795 59.667-9.936 13.651-2.875 27.24-4.332 41.044-3.482 16.178.995 32.295 2.86 48.464 4.05 14.143 1.039 28.322 2.251 42.486 2.24 6.99-.004 13.954-2.691 20.971-3.957 3.599-.646 7.394-1.548 10.917-1.071 8.379 1.156 16.747 2.73 24.926 4.807 3.59.91 6.937 3.182 9.992 5.342 8.332 5.887 12.636 5.884 21.316.173 1.429-.938 4.516-.871 6.155-.05 4.483 2.259 8.528 5.261 12.874 7.783 4.35 2.528 8.526 3.508 13.604.622 8.431-4.779 8.798-4.844 5.644-16.958 9.004 5.279 16.629 10.026 24.537 14.293 5.578 3.015 11.102 6.918 18.332 3.864 5.162-2.182 9.711-4.556 8.883-11.517 8.026 4.971 15.566 9.27 22.664 14.154 6.305 4.338 12.352 3.68 18.678.595 6.039-2.943 4.774-7.627 1.511-13.691 4.874 2.2 8.264 3.038 10.67 4.97 4.736 3.8 9.051 2.95 14.068.709 7.736-3.457 8.919-7.193 3.577-13.387-.879-1.02-1.85-1.978-1.982-3.99 5.02 3.216 10.095 6.346 15.041 9.666 5.659 3.8 11.127 7.853 16.793 11.63 7.265 4.848 15.631 4.988 21.951-.296 4.726-3.951 2.104-8.467-.974-12.184-4.576-5.533-9.527-10.8-14.312-16.168.415-.445.829-.877 1.244-1.316 5.943 4.058 11.898 8.105 17.824 12.196 4.109 2.835 8.088 5.854 12.277 8.587 10.747 7.007 15.487 6.835 26.683-1.303 4.201 3.223 8.74 6.49 13.041 10.025 9.951 8.183 15.277 7.933 24.777-2.595V0Z"})}),D=()=>(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor",children:(0,b.jsx)("path",{d:"M646.99 79.145C766.266 62.962 906.985 26.462 1000 0H0c211.255 131.265 460.086 104.501 646.99 79.145Z"})}),N=({data:t})=>{const{isUpload:e,uploadSvg:n,type:r}=t||{};return e?(0,b.jsx)($,{src:n?.url}):(0,b.jsx)(b.Fragment,{children:(()=>{switch(r){case"ocean-wave":return(0,b.jsx)(v,{});case"asymmetric-triangle":return(0,b.jsx)(k,{});case"abstract-paintbrush":return(0,b.jsx)(L,{});case"asymmetric-curve":return(0,b.jsx)(D,{});default:return null}})()})
4 +},j="@media only screen and (min-width: 1025px)",S="@media only screen and (max-width: 1024px)",z="@media only screen and (max-width: 640px)",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),A=t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}};new class{constructor(t={}){this.defaultOptions={allowedTags:["svg","g","path","rect","circle","ellipse","line","polyline","polygon","text","tspan","defs","clipPath","mask","linearGradient","radialGradient","stop","style","title","desc"],allowedAttributes:["id","class","style","transform","xmlns","xmlns:xlink","version","baseProfile","xml:space","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","viewBox","preserveAspectRatio","overflow","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","opacity","color","paint-order","vector-effect","shape-rendering","display","visibility","clip-path","clip-rule","clipPathUnits","mask","maskUnits","maskContentUnits","offset","stop-color","stop-opacity","gradientUnits","gradientTransform","spreadMethod","fx","fy","fr","dx","dy","text-anchor","dominant-baseline","alignment-baseline","font-family","font-size","font-style","font-weight","letter-spacing","word-spacing","textLength","lengthAdjust","role","focusable","aria-hidden","aria-label","aria-labelledby","aria-describedby"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t},this.allowedTagSet=new Set(this.options.allowedTags.map((t=>t.toLowerCase()))),this.allowedAttributeSet=new Set(this.options.allowedAttributes.map((t=>t.toLowerCase())))}sanitize(t){if("string"!=typeof t||""===t.trim())return"";const e=(new DOMParser).parseFromString(t,"image/svg+xml"),n=e.documentElement;return!n||"svg"!==n.localName.toLowerCase()||e.getElementsByTagName("parsererror").length?"":(this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement))}async sanitizeFile(t){const e=await fetch(t),n=await e.text();return this.sanitize(`${n}`)}removeScripts(t){this.options.removeScripts&&Array.from(t.querySelectorAll("*")).forEach((t=>{t.localName.toLowerCase().includes("script")&&t.remove()}))}sanitizeElements(t){Array.from(t.querySelectorAll("*")).forEach((t=>{const e=t.localName.toLowerCase();this.allowedTagSet.has(e)?("style"===e&&this.options.sanitizeStyle&&(t.textContent=this.sanitizeCss(t.textContent)),this.sanitizeAttributes(t)):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const n=e.name,r=n.toLowerCase(),o=e.value;if(this.options.removeEvents&&r.startsWith("on"))return void t.removeAttribute(n);if(this.options.removeExternalResources&&("href"===r||r.endsWith(":href"))&&!this.isAllowedUrl(o))return void t.removeAttribute(n);const i=r.replace("xlink:","");this.allowedAttributeSet.has(r)||this.allowedAttributeSet.has(i)?this.options.removeExternalResources&&this.hasExternalUrl(o)?t.removeAttribute(n):"style"===r&&this.options.sanitizeStyle&&t.setAttribute(n,this.sanitizeCss(o)):t.removeAttribute(n)}))}hasExternalUrl(t){return!("string"!=typeof t||!/url\s*\(/i.test(t))&&Array.from(t.matchAll(/url\s*\(\s*['"]?([^'")]*)/gi)).some((([,t])=>!t.trim().startsWith("#")))}isAllowedUrl(t){const e=String(t||"").trim();if(e.startsWith("#"))return!0;if(/^data:/i.test(e))return this.options.allowedProtocols.includes("data")&&/^data:image\/(png|jpe?g|gif|webp);base64,/i.test(e);try{return this.options.allowedProtocols.includes(new URL(e).protocol.replace(":",""))}catch{return!1}}sanitizeCss(t){return String(t||"").replace(/expression\s*\(/gi,"").replace(/javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"").replace(/@import[^;]*;?/gi,"").replace(/url\s*\(\s*(['"]?)(?!#)[^)]*\)/gi,"none")}};const T=t=>{const e=A(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},I=(t,e)=>E(e)?`${t}: ${e};`:"",C=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""},O=t=>{const{position:e="center center",xPosition:n=0,yPosition:r=0,attachment:o="",repeat:i="no-repeat",size:a="cover",customSize:s="0px"}=t||{},l=t=>"initial"!==t||E(t);return`\n\t\t${l(e)?`background-position: ${"custom"===e?`${n} ${r}`:e};`:""}\n\t\t${o&&l(o)?`background-attachment: ${o};`:""}\n\t\t${l(i)?`background-repeat: ${i};`:""}\n\t\t${l(a)?`background-size: ${"custom"===a?`${s} auto`:a};`:""}\n\t`},R=(t={})=>t?{desktop:E(t.url)?`background-image: ${T(t.url)}; ${O(t?.desktop)}`:"",tablet:E(t.url)?O(t?.tablet):"",mobile:E(t.url)?O(t?.mobile):""}:"",U=(t,e,n=!1)=>{const{type:r="color",color:o,gradient:i,img:a,video:s}=t||{},l="color"===r?I("background",o):"gradient"===r?(t=>{const{type:e="linear",radialType:n="ellipse",colors:r=[],centerPositions:o={x:0,y:0},angel:i=0}=t||{};if(E(t)){const t=r?.map((({color:t,position:e})=>`${t} ${e}%`)),a=`linear-gradient(${i}deg, ${t})`;return I("background","radial"===e?`radial-gradient(${n} at ${o?.x}% ${o?.y}%,${t})`:a)}return""})(i):"image"===r?R(a).desktop:"",c="image"===r?R(a).tablet:"",u="image"===r?R(a).mobile:"",d=n?`${e}:hover`:e;return`\n\t\t${"video"===r?((t,e)=>{const{url:n,loop:r}=t||{},o=document.querySelector(e),i=o?.querySelector(".bPlVideo"),a=document.createElement("video");if(a.muted=!0,a.autoplay=!0,a.classList.add("bPlVideo"),!i&&o&&n){const t=A(n);if(t){const e=document.createElement("source");e.src=t,a.appendChild(e),o.appendChild(a)}}return a.loop=r,a.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(s,e):""}\n\n\t\t${l?`${d}{\n\t\t\t${l}\n\t\t}`:""}\n\n\t\t${c?`${S} {\n\t\t\t${d}{\n\t\t\t\t${c}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${u?`${z} {\n\t\t\t${d}{\n\t\t\t\t${u}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},P=(t,e,n=!1)=>{const{isEnabled:r,colors:o,opacity:i=1,blend:a,filter:s="",blur:l=0,brightness:c=100,contrast:u=100,saturation:d=100,hue:p=0,position:h={top:0,right:0,bottom:0,left:0},zIndex:m=-1}=t||{},g=`${100!==c?`brightness(${c}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==d?`saturate(${d}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==p?`hue-rotate(${p}deg)`:""}`,f=`${s}: ${s?g:""}; -webkit-${s}: ${s?g:""};`,y=n?`${e}:hover::after`:`${e}::after`;return r?`\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:${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${U(o,y,!1)}\n\t\t${y}{\n\t\t\t${I("opacity",i)}\n\t\t\t${I("mix-blend-mode",a)}\n\t\t\t${f}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},Y=(t,e,n=!1)=>{const r=(t,e="desktop")=>{if(!E(t))return"";const{skew:n,scale:r,rotate:o,offset:i,flipX:a,flipY:s}=t,{threeDRotate:l}=o||{},{isProportion:c}=r||{},u=[];return E(n)&&(E(n?.[e]?.x)&&u.push(`skewX(${n[e].x}deg)`),E(n?.[e]?.y)&&u.push(`skewY(${n[e].y}deg)`)),c?E(r?.[e]?.scale)&&u.push(`scale(${r[e].scale})`):(E(r?.[e]?.x)&&u.push(`scaleX(${r[e].x})`),E(r?.[e]?.y)&&u.push(`scaleY(${r[e].y})`)),E(o)&&(E(o?.[e]?.z)&&u.push(`rotateZ(${o[e].z}deg)`),l&&(E(o?.[e]?.x)&&u.push(`rotateX(${o[e].x}deg)`),E(o?.[e]?.y)&&u.push(`rotateY(${o[e].y}deg)`))),E(i)&&(E(i?.[e]?.x)&&u.push(`translateX(${i[e].x})`),E(i?.[e]?.y)&&u.push(`translateY(${i[e].y})`)),E(a)&&u.push(a?"scaleX(-1)":""),E(s)&&u.push(s?"scaleY(-1)":""),0===u.length?"":I("transform",u.join(" "))},o=n?`${e}:hover`:e
5 +;return`\n\t\t${o} {\n\t\t\t${r(t,"desktop")}\n\t\t}\n\t\t${S}{\n\t\t\t${o} {\n\t\t\t\t${r(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${z}{\n\t\t\t${o} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},Q=t=>{const{padding:e,margin:n,height:r,width:o}=t||{},i=(t,e)=>I(t,e),a=(t,e,n)=>i(t,e?.[t]?.[n])+i(`min-${t}`,e?.min?.[n])+i(`max-${t}`,e?.max?.[n]),s=t=>I("padding",C(t)),l=t=>I("margin",C(t));return{desktop:s(e?.desktop)+l(n?.desktop)+a("height",r,"desktop")+a("width",o,"desktop"),tablet:s(e?.tablet)+l(n?.tablet)+a("height",r,"tablet")+a("width",o,"tablet"),mobile:s(e?.mobile)+l(n?.mobile)+a("height",r,"mobile")+a("width",o,"mobile")}},H=t=>{const{normal:e,hover:n}=t||{},r=t=>{const{border:e,radius:n,shadow:r}=t||{},o=I("border-radius",C(n)),i=I("box-shadow",((t,e="box")=>{let n="";return t?.map(((r,o)=>{const{hOffset:i="0px",vOffset:a="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:u=!1}=r||{},d=u?"inset":"",p=`${i} ${a} ${s}`,h=o+1>=t.length?"":", ";n+="text"===e?`${p} ${c}${h}`:`${p} ${l} ${c} ${d}${h}`})),n||""})(r,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:r="0px"}=t;return`${r} ${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():I("border",e(t))})(e)+o+i};return{normal:r(e),hover:r(n)}},q=t=>{const{zIndex:e,overflow:n}=t||{},r=n?`overflow: ${n};`:"",o=t=>`${I("z-index",e?.[t])} ${I("position",E(e?.[t])?"relative":"")}`;return{desktop:o("desktop")+r,tablet:o("tablet"),mobile:o("mobile")}},F=(t,e)=>{const{desktop:n=!1,tablet:r=!1,mobile:o=!1}=t||{},i=e?"opacity: 0.5;":"display: none;",a=t=>t?i:"";return{desktop:a(n),tablet:a(r),mobile:a(o)}},Z=(t,e,n=!1,r=!0)=>{const{dimension:o,transform:i,background:a,borderShadow:s,mask:l,animation:c,visibility:u,responsive:d,position:p={},floating:h={},motion:m={},css:g=""}=e||{},f=n?`#${t}>div>div${r?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const r=n?`#${e} > div`:`#${e}`,o=document.querySelector(r);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 y=Q(o).desktop+q(u).desktop+((t,e,n)=>{const{transition:r=.4}=t||{},{transition:o=.4}=e||{},{transition:i=200}=n||{};return`transition: background ${r}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${i}ms ease-in-out;`})(a,s,i)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:r={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:i="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?T(n.url):`url(${(a=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===a))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===r.type?r.scale:r.type};\n\t\t${"custom"===o.type?`${I("-webkit-mask-position-x",o.x)}\n\t\t\t${I("-webkit-mask-position-y",o.y)}`:`${I("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==r.type?`-webkit-mask-repeat: ${i};`:""}`:"";var a})(l),w=Q(o).tablet+q(u).tablet+F(d,n).tablet,M=Q(o).mobile+q(u).mobile+F(d,n).mobile,x=H(s).normal,$=H(s).hover,b=F(d,n).desktop;return`\n\t\t${y||x?`${f} {\n\t\t\t${y}\n\t\t\t${x}\n\t\t}`:""}\n\t\t${$?`${f}:hover {\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${b?`${j} {\n\t\t\t${f}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${w?`${S} {\n\t\t\t${f}{\n\t\t\t\t${w}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${M?`${z} {\n\t\t\t${f}{\n\t\t\t\t${M}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${U(a?.normal,f)}\n\t\t${U(a?.hover,f,!0)}\n\t\t${P(a?.overlay,f)}\n\t\t${P(a?.hoverOverlay,f,!0)}\n\t\t${E(i?.normal)?Y(i?.normal,f):""}\n\t\t${E(i?.hover)?Y(i?.hover,f,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:r={},mobile:o={}}=t,i=(t={})=>`\n\t\t${e}{\n\t\t\t${I("position",t?.type)}\n\t\t\t${I("left",t?.horizontal?.left)}\n\t\t\t${I("right",t?.horizontal?.right)}\n\t\t\t${I("top",t?.vertical?.top)}\n\t\t\t${I("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?i(n):""}\n\t\t\n\t\t${S}{\n\t\t\t${r?.type?i(r):""}\n\t\t}\n\n\t\t${z}{\n\t\t\t${o?.type?i(o):""}\n\t\t}\n\t`})(p,f)}\n\t\t${((t,e,n="")=>{const{translate:r={},rotate:o={},scale:i={},isEnabled:a=!1}=t||{};if(!a)return""
6 +;const s=[],l=[];return[{name:"Translate",property:"translate",values:r,value:t=>["x","y"].some((e=>E(r?.[e]?.[t])))?`${r?.x?.[t]||0}px ${r?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:o,value:t=>["x","y","z"].filter((e=>E(o?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${o[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:i,value:t=>{const e=i?.y?.[t],n=i?.z?.[t];return E(e)||E(n)?E(n)?`1 ${E(e)?e:1} ${n}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:r,value:o})=>{const i=o("from"),a=o("to");if(!i||!a)return;const c=Number(r?.duration)>0?Number(r.duration):1e3,u=Number(r?.delay)>0?Number(r.delay):0,d=`advFloat${t}${n?`-${n}`:""}`;s.push(`@keyframes ${d}{ from{ ${e}: ${i}; } to{ ${e}: ${a}; } }`),l.push(`${d} ${c}ms ease-in-out ${u}ms infinite alternate`)})),l.length?`\n\t\t${s.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${l.join(", ")};\n\t\t}\n\t`:""})(h,f,t)}\n\t\t${((t,e,n)=>{const{isEnable:r=!1,vertical:o={},horizontal:i={},transparency:a={},blur:s={},rotate:l={},scale:c={},effectsRelativeTo:u="viewport",effectOn:d=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:p=!1,mouseTrack:h={},tilt:m={},sticky:g={}}=t||{},f=(t,e)=>E(t)&&!isNaN(t)?Number(t):e,y="viewport"===u,w=y?"view()":"scroll(nearest block)",M=[],x=[],$=[],b=[],v=String(n??"").replace(/[^a-zA-Z0-9]/g,""),k=(t,e,n)=>{M.push(`@keyframes advMe${t}${v}{ ${e} }`),x.push(`advMe${t}${v}`),$.push(w),b.push((t=>{const e=f(t?.top,0),n=f(t?.bottom,100),r=Math.min(e,n),o=Math.max(e,n);return y?`cover ${r}% ${o>=90?"contain 100%":`cover ${o}%`}`:`min(${3*r}vh, ${r}%) min(${3*o}vh, ${o}%)`})(n))};if(r){const t=o?.direction,e=i?.direction,n=t?100*f(o?.speed,4):0,r=e?100*f(i?.speed,4):0;if(n||r){const a="up"===t?-n:n,s="to-left"===e?-r:r,l=[n&&o,r&&i].filter(Boolean);k("Translate",`from{ translate: 0px 0px; } to{ translate: ${s}px ${a}px; }`,{top:Math.min(...l.map((t=>f(t?.top,0)))),bottom:Math.max(...l.map((t=>f(t?.bottom,100))))})}const u=a?.direction;if(u){const t=Math.max(0,1-f(a?.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}; }`}[u];e&&k("Opacity",e,a)}const d=s?.direction;if(d){const t=3*f(s?.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); }`}[d];e&&k("Blur",e,s)}const p=l?.direction;if(p){const t=20*f(l?.level,4);k("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===p?-t:t}deg; }`,l)}if(c?.direction){const t=.15*f(c?.level,4),e=Math.max(0,1-t),n=1+t,r={"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];r&&k("Scale",r,c)}}const L=[];if(p){if(h?.direction){const t="direct"===h?.direction?100:-100;L.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(m?.direction){const t=12*("direct"===m?.direction?1:-1);L.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const D=(t,n,r)=>{if(!t||!t.defaultView)return;const o=t.defaultView,i=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),a=i.items.get(e)||{x:0,y:0};if(a.rate=n,a.build=r,i.items.set(e,a),i.bound)return;i.bound=!0;const s=e=>{const n=i.last?Math.min(e-i.last,100):16.7;i.last=e;let r=!1;i.items.forEach(((e,o)=>{const a=e.el&&e.el.isConnected?e.el:t.querySelector(o);if(!a)return;e.el=a;const s=e.rate*n/1e3,l=i.x-e.x,c=i.y-e.y,u=Math.sqrt(l*l+c*c);u<=s?(e.x=i.x,e.y=i.y):(e.x+=l/u*s,e.y+=c/u*s,r=!0),a.style.transform=e.build(e.x,e.y)})),i.frame=r?o.requestAnimationFrame(s):0,i.last=r?e:0};t.addEventListener("pointermove",(t=>{i.x=2*(t.clientX/o.innerWidth-.5),i.y=2*(t.clientY/o.innerHeight-.5),i.frame||(i.frame=o.requestAnimationFrame(s))}))};if(L.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*f(h?.speed,f(m?.speed,4))),e=(t,e)=>L.map((n=>n(t,e))).join(" ");D(document,t,e),D(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const N=t=>g?.[t]||("desktop"===t?g?.undefined:""),A=e.split(">")[0],T=t=>{const e=N(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?N("desktop"):"mobile"===t?N("tablet")||N("desktop"):"")(t)?"position: static;":""},I=Array.isArray(d)?d:E(d)?[d]:[],C=t=>!I.length||I.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${x.length?`\n\t\t${M.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${x.join(", ")};\n\t\t\t\tanimation-duration: ${x.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${x.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${x.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${x.map((()=>y?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${$.join(", ")};\n\t\t\t\tanimation-range: ${b.join(", ")};\n\t\t\t}\n\t\t\t${C("desktop")?`${j}{ ${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")?`${z}{ ${C("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${L.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${T("desktop")?`${A}{ ${T("desktop")} }`:""}\n\t\t${T("tablet")?`${S}{ ${A}{ ${T("tablet")} } }`:""}\n\t\t${T("mobile")?`${z}{ ${A}{ ${T("mobile")} } }`:""}\n\t`})(m,f,t)}\n\t\t${g}\n\t`.replace(/\s+/g," ")},B=document.querySelectorAll(".wp-block-b-blocks-container[data-attributes]");B?.forEach((e=>{const n=JSON.parse(e.dataset.attributes),{shape:r,advanced:o}=n,{top:i,bottom:a}=r,s=document.createElement("style");s.innerHTML=((t,e)=>{const{top:n,bottom:r}=t||{},{color:o,isFlip:i,isFront:a,width:s,height:l}=n||{},{isUpload:c,color:u,isFlip:d,isFront:p,width:h,height:m}=r||{},g=`#${e} .topShaped`,f=`#${e} .bottomShaped`;return`\n\t\t${g}{\n\t\t\t${l?.desktop?`height: ${l?.desktop};`:""}\n\t\t\tcolor: ${o};\n\t\t\t${a?"z-index: 4;":""}\n\t\t}\n\n\t\t${g} svg{\n\t\t\t${s?.desktop?`width: ${s?.desktop};`:""}\n\t\t\t${l?.desktop?`height: ${l?.desktop};`:""}\n\t\t\tfill: ${o};\n\t\t\t${i?"transform: translateX(0%) rotateY(180deg);":""}\n\t\t}\n\n\t\t${g} svg *{\n\t\t\tfill: ${o};\n\t\t}\n\n\t\t${f}{\n\t\t\t${m?.desktop?`height: ${m?.desktop};`:""}\n\t\t\tcolor: ${u};\n\t\t\t${p?"z-index: 4;":""}\n\t\t}\n\t\t${f} svg{\n\t\t\t${h?.desktop?`width: ${h?.desktop};`:""}\n\t\t\t${m?.desktop?`height: ${m?.desktop};`:""}\n\t\t\tfill: ${u};\n\t\t\t${d?"transform: translateX(0%) rotateX(180deg);":"transform: rotate(180deg);"}\n\t\t\t${c?"transform: none;":""}\n\t\t}\n\t\t${f} svg *{\n\t\t\tcolor: ${u};\n\t\t\tfill: ${u};\n\t\t}\n\t\t\n\t\t${S}{\n\t\t\t${g} svg{\n\t\t\t\t${s?.tablet?`width: ${s?.tablet}`:""}\n\t\t\t\t${l?.tablet?`height: ${l?.tablet}`:""}\n\t\t\t}\n\t\t\t${f} svg{\n\t\t\t\t${h?.tablet?`width: ${h?.tablet}`:""}\n\t\t\t\t${m?.tablet?`height: ${m?.tablet}`:""}\n\t\t\t}\n\t\t}\n\n\t\t${z}{\n\t\t\t${g} svg{\n\t\t\t\t${s?.mobile?`width: ${s?.mobile}`:""}\n\t\t\t\t${l?.mobile?`height: ${l?.mobile}`:""}\n\t\t\t}\n\t\t\t${f} svg{\n\t\t\t\t${h?.mobile?`width: ${h?.mobile}`:""}\n\t\t\t\t${m?.mobile?`height: ${m?.mobile}`:""}\n\t\t\t}\n\t\t}\n\t`.replace(/\s+/g," ")})(r,e.id)+" "+Z(e.id,o,!1,!1),e.prepend(s);const l=e.querySelector(".topShaped"),c=e.querySelector(".bottomShaped");l&&(0,t.createRoot)(l).render((0,b.jsx)(N,{data:i})),c&&(0,t.createRoot)(c).render((0,b.jsx)(N,{data:a})),e?.removeAttribute("data-attributes"),
7 +e?.removeAttribute("data-bblocks-advanced")}))})();