|
1
|
|
-(()=>{"use strict";var e={5795:e=>{e.exports=window.ReactDOM},9940:(e,t,n)=>{var r=n(5795);t.H=r.createRoot,r.hydrateRoot}},t={};const n=window.React;var r=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(9940),o=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],i={"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 a(e,t,n){const r=[...e].map(((e,r)=>c(e,{...n,index:r,level:t+1}))).filter(Boolean);return r.length?r:null}function s(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 a=(new DOMParser).parseFromString(e,i);if(n){const{childNodes:e}=a.body;return r?e:[...e].map((e=>c(e,t)))}const s=a.querySelector(o)||a.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return r?s:c(s,t)}catch(e){}return null}(e,t):e instanceof Node?c(e,t):null}function c(e,t={}){if(!(e&&e instanceof Node))return null;const{actions:r=[],index:s=0,level:c=0,randomKey:l}=t;let h=e,d=`${c}-${s}`;const u=[];return l&&0===c&&(d=`${function(e=6){let t="";for(let n=e;n>0;--n)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return t}()}-${d}`),Array.isArray(r)&&r.forEach((t=>{t.condition(h,d,c)&&("function"==typeof t.pre&&(h=t.pre(h,d,c),h instanceof Node||(h=e)),"function"==typeof t.post&&u.push(t.post(h,d,c)))})),u.length?u:function(e,t){const{key:r,level:s,...c}=t;switch(e.nodeType){case 1:return n.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[i[e.name]||e.name]=!0;break;default:n[i[e.name]||e.name]=e.value}var t}))}return n}(e,r),a(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 n=e.parentNode.nodeName.toLowerCase();return o.includes(n)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${t}" will be ignored`),null):t}case 8:default:return null;case 11:return a(e.childNodes,s,t)}var l}(h,{key:d,level:c,...t})}var l=Object.defineProperty,h=(e,t,n)=>((e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),d="react-inlinesvg",u={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function p(){return!("undefined"==typeof window||!window.document?.createElement)}async function m(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)}))}var g,y=class{constructor(){h(this,"cacheApi"),h(this,"cacheStore"),h(this,"subscribers",[]),h(this,"isReady",!1),this.cacheStore=new Map;let e=d,t=!1;p()&&(e=window.REACT_INLINESVG_CACHE_NAME??d,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).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){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===u.LOADED}async fetchAndAddToInternalCache(e,t){const n=this.cacheStore.get(e);if(n?.status!==u.LOADING){if(!n?.content){this.cacheStore.set(e,{content:"",status:u.LOADING});try{const n=await m(e,t);this.cacheStore.set(e,{content:n,status:u.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:u.FAILED}),t}}}else await this.handleLoading(e,(async()=>{this.cacheStore.set(e,{content:"",status:u.IDLE}),await this.fetchAndAddToInternalCache(e,t)}))}async fetchAndAddToPersistentCache(e,t){const n=this.cacheStore.get(e);if(n?.status===u.LOADED)return;if(n?.status===u.LOADING)return void await this.handleLoading(e,(async()=>{this.cacheStore.set(e,{content:"",status:u.IDLE}),await this.fetchAndAddToPersistentCache(e,t)}));this.cacheStore.set(e,{content:"",status:u.LOADING});const r=await(this.cacheApi?.match(e));if(r){const t=await r.text();this.cacheStore.set(e,{content:t,status:u.LOADED})}else try{await(this.cacheApi?.add(new Request(e,t)));const n=await(this.cacheApi?.match(e)),r=await(n?.text())??"";this.cacheStore.set(e,{content:r,status:u.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:u.FAILED}),t}}async handleLoading(e,t){for(let t=0;t<10;t++){if(this.cacheStore.get(e)?.status!==u.LOADING)return;await f(.1)}await t()}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 v(e){const t=(0,n.useRef)(void 0);return(0,n.useEffect)((()=>{t.current=e})),t.current}function k(e){const{baseURL:t,content:n,description:r,handleError:o,hash:i,preProcessor:a,title:c,uniquifyIDs:l=!1}=e;try{const e=function(e,t){return t?t(e):e}(n,a),o=s(e,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const h=w(o,{baseURL:t,hash:i,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 w(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?w(e,t):e})),e):e}function x(e){const{cacheRequests:t=!0,children:r=null,description:o,fetchOptions:i,innerRef:a,loader:c=null,onError:l,onLoad:h,src:d,title:f,uniqueHash:y}=e,[w,x]=(0,n.useReducer)(((e,t)=>({...e,...t})),{content:"",element:null,isCached:t&&g.isCached(e.src),status:u.IDLE}),{content:b,element:E,isCached:S,status:A}=w,D=v(e),$=v(w),C=(0,n.useRef)(y??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}()),L=(0,n.useRef)(!1),R=(0,n.useRef)(!1),O=(0,n.useCallback)((e=>{L.current&&(x({status:"Browser does not support SVG"===e.message?u.UNSUPPORTED:u.FAILED}),l?.(e))}),[l]),N=(0,n.useCallback)(((e,t=!1)=>{L.current&&x({content:e,isCached:t,status:u.LOADED})}),[]),M=(0,n.useCallback)((async()=>{const e=await m(d,i);N(e)}),[i,N,d]),T=(0,n.useCallback)((()=>{try{const t=s(k({...e,handleError:O,hash:C.current,content:b}));if(!t||!(0,n.isValidElement)(t))throw new Error("Could not convert the src to a React element");x({element:t,status:u.READY})}catch(e){O(e)}}),[b,O,e]),I=(0,n.useCallback)((async()=>{const e=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(d);let n;if(e?n=e[1]?window.atob(e[2]):decodeURIComponent(e[2]):d.includes("<svg")&&(n=d),n)N(n);else try{if(t){const e=await g.get(d,i);N(e,!0)}else await M()}catch(e){O(e)}}),[t,M,i,O,N,d]),P=(0,n.useCallback)((async()=>{L.current&&x({content:"",element:null,isCached:!1,status:u.LOADING})}),[]);(0,n.useEffect)((()=>{if(L.current=!0,p()&&!R.current){try{if(A===u.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(!d)throw new Error("Missing src");P()}}catch(e){O(e)}return R.current=!0,()=>{L.current=!1}}}),[]),(0,n.useEffect)((()=>{if(p()&&D&&D.src!==d){if(!d)return void O(new Error("Missing src"));P()}}),[O,P,D,d]),(0,n.useEffect)((()=>{A===u.LOADED&&T()}),[A,T]),(0,n.useEffect)((()=>{p()&&D&&D.src===d&&(D.title===f&&D.description===o||T())}),[o,T,D,d,f]),(0,n.useEffect)((()=>{if($)switch(A){case u.LOADING:$.status!==u.LOADING&&I();break;case u.LOADED:$.status!==u.LOADED&&T();break;case u.READY:$.status!==u.READY&&h?.(d,S)}}),[I,T,S,h,$,d,A]);const H=function(e,...t){const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return p()?E?(0,n.cloneElement)(E,{ref:a,...H}):[u.UNSUPPORTED,u.FAILED].includes(A)?r:c:c}function b(e){g||(g=new y);const{loader:t}=e,[r,o]=(0,n.useState)(g.isReady);return(0,n.useEffect)((()=>{r||g.onReady((()=>{o(!0)}))}),[r]),r?n.createElement(x,{...e}):t}const E=()=>(0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1000 100",preserveAspectRatio:"none"},(0,n.createElement)("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,n.createElement)("defs",null,(0,n.createElement)("path",{d:"M0 0h1000v99.62H0z"}))),S=()=>(0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor"},(0,n.createElement)("path",{d:"m0 98.99 170.59-87.45S611.11 98.99 1000 98.99V0H0v98.99Z"}),(0,n.createElement)("defs",null,(0,n.createElement)("path",{d:"M0 0h1000v98.99H0z"}))),A=()=>(0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor"},(0,n.createElement)("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,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1000 100",fill:"currentColor"},(0,n.createElement)("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"})),$=({data:e})=>{const{isUpload:t,uploadSvg:r,type:o}=e||{};return t?(0,n.createElement)(b,{src:r?.url}):(0,n.createElement)(n.Fragment,null,(()=>{switch(o){case"ocean-wave":return(0,n.createElement)(E,null);case"asymmetric-triangle":return(0,n.createElement)(S,null);case"abstract-paintbrush":return(0,n.createElement)(A,null);case"asymmetric-curve":return(0,n.createElement)(D,null);default:return null}})())},C=document.querySelectorAll(".wp-block-b-blocks-container");C?.forEach((e=>{const t=JSON.parse(e.dataset.attributes),{shape:o}=t,{top:i,bottom:a}=o,s=document.createElement("style");s.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:d,isFront:u,width:p,height:m}=r||{},f=`#${t} .topShaped`,g=`#${t} .bottomShaped`;return`\n\t\t${f}{\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${f} 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${f} svg *{\n\t\t\tfill: ${o};\n\t\t}\n\n\t\t${g}{\n\t\t\t${m?.desktop?`height: ${m?.desktop};`:""}\n\t\t\tcolor: ${h};\n\t\t\t${u?"z-index: 4;":""}\n\t\t}\n\t\t${g} svg{\n\t\t\t${p?.desktop?`width: ${p?.desktop};`:""}\n\t\t\t${m?.desktop?`height: ${m?.desktop};`:""}\n\t\t\tfill: ${h};\n\t\t\t${d?"transform: translateX(0%) rotateX(180deg);":"transform: rotate(180deg);"}\n\t\t\t${l?"transform: none;":""}\n\t\t}\n\t\t${g} 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${f} 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${g} svg{\n\t\t\t\t${p?.tablet?`width: ${p?.tablet}`:""}\n\t\t\t\t${m?.tablet?`height: ${m?.tablet}`:""}\n\t\t\t}\n\t\t}\n\n\t\t@media only screen and (max-width: 640px){\n\t\t\t${f} 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${g} svg{\n\t\t\t\t${p?.mobile?`width: ${p?.mobile}`:""}\n\t\t\t\t${m?.mobile?`height: ${m?.mobile}`:""}\n\t\t\t}\n\t\t}\n\t`.replace(/\s+/g," ")})(o,e.id),e.prepend(s);const c=e.querySelector(".topShaped"),l=e.querySelector(".bottomShaped");c&&(0,r.H)(c).render((0,n.createElement)($,{data:i})),l&&(0,r.H)(l).render((0,n.createElement)($,{data:a})),e?.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"],o={"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 r(t,e,n){const o=[...t].map(((t,o)=>a(t,{...n,index:o,level:e+1}))).filter(Boolean);return o.length?o:null}function i(t,e={}){return"string"==typeof t?function(t,e={}){if(!t||"string"!=typeof t)return null;const{includeAllNodes:n=!1,nodeOnly:o=!1,selector:r="body > *",type:i="text/html"}=e;try{const s=(new DOMParser).parseFromString(t,i);if(n){const{childNodes:t}=s.body;return o?t:[...t].map((t=>a(t,e)))}const c=s.querySelector(r)||s.body.childNodes[0];if(!(c instanceof Node))throw new TypeError("Error parsing input");return o?c:a(c,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:c=0,randomKey:l}=i;let u=t,d=`${c}-${s}`;const p=[];return l&&0===c&&(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,c)&&("function"==typeof e.pre&&(u=e.pre(u,d,c),u instanceof Node||(u=t)),"function"==typeof e.post&&p.push(e.post(u,d,c)))})),p.length?p:function(t,i){const{key:a,level:s,...c}=i;switch(t.nodeType){case 1:return e.createElement((l=t.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(l)?l:l.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,o]=e.split(/ ?: ?/).map(((t,e)=>0===e?t.replace(/\s+/g,""):t.trim()));if(n&&o){const e=n.replace(/(\w)-(\w)/g,((t,e,n)=>`${e}${n.toUpperCase()}`));let r=o.trim();Number.isNaN(Number(o))||(r=Number(o)),t[n.startsWith("-")?n:e]=r}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[o[t.name]||t.name]=!0;break;default:n[o[t.name]||t.name]=t.value}var e}))}return n}(t,a),r(t.childNodes,s,c));case 3:{const e=t.nodeValue?.toString()??"";if(!c.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const o=t.parentNode.nodeName.toLowerCase();return n.includes(o)?(/\S/.test(e)&&console.warn(`A textNode is not allowed inside '${o}'. Your text "${e}" will be ignored`),null):e}case 8:default:return null;case 11:return r(t.childNodes,s,i)}var l}(u,{key:d,level:c,...i})}var s=Object.defineProperty,c=(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),l="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 o in t)({}).hasOwnProperty.call(t,o)&&!e.includes(o)&&(n[o]=t[o]);return n}async function h(t,e){const n=await fetch(t,e),o=n.headers.get("content-type"),[r]=(o??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((t=>r.includes(t))))throw new Error(`Content type isn't valid: ${r}`);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:o,handleError:r,hash:a,preProcessor:s,title:c,uniquifyIDs:l=!1}=t;try{let t=s?s(n):n;l&&(t=function(t,e,n){const o=t.matchAll(/\bid=(["'])([^"']+)\1/g),r=[...new Set([...o].map((t=>t[2])))];return r.length?(r.sort(((t,e)=>e.length-t.length)),t.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,((t,o)=>{let i=o;for(const t of r){const o=t.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&");i=i.replace(new RegExp(`url\\((['"]?)#${o}\\1\\)`,"g"),`url($1${n}#${t}__${e}$1)`),i=i.replace(new RegExp(`#${o}(?![a-zA-Z0-9_-])`,"g"),`#${t}__${e}`)}return t.replace(o,i)}))):t}(t,a,e??""));const r=i(t,{nodeOnly:!0});if(!(r&&r instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const u=y(r,{baseURL:e,hash:a,uniquifyIDs:l});if(o){const t=u.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const e=document.createElementNS("http://www.w3.org/2000/svg","desc");e.innerHTML=o,u.prepend(e)}if(void 0!==c){const t=u.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),c){const t=document.createElementNS("http://www.w3.org/2000/svg","title");t.innerHTML=c,u.prepend(t)}}return u}catch(t){return r(t)}}function y(t,e){const{baseURL:n="",hash:o,uniquifyIDs:r}=e,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];return r?([...t.children].forEach((t=>{if(t.attributes?.length){const e=Object.values(t.attributes).map((t=>{const e=t,r=/url\((.*?)\)/.exec(t.value);return r?.[1]&&(e.value=t.value.replace(r[0],`url(${n}${r[1]}__${o})`)),e}));i.forEach((t=>{const n=e.find((e=>e.name===t));var r,i;n&&(r=t,i=n.value,!a.includes(r)||!i||i.includes("#"))&&(n.value=`${n.value}__${o}`)}))}return t.children.length?y(t,e):t})),t):t}function M(t,n){const{baseURL:o,cacheRequests:r=!0,description:a,fetchOptions:s,onError:c,onLoad:l,preProcessor:p,src:m,title:y,uniqueHash:M,uniquifyIDs:$}=t,w=(0,e.useRef)(M??function(){const t="abcdefghijklmnopqrstuvwxyz",e=`${t}${t.toUpperCase()}1234567890`;let n="";for(let t=0;t<8;t++)n+=(o=e)[Math.floor(Math.random()*o.length)];var o;return n}()),x=(0,e.useRef)(s),b=(0,e.useRef)(c),v=(0,e.useRef)(l),k=(0,e.useRef)(p);x.current=s,b.current=c,v.current=l,k.current=p;const[D,L]=(0,e.useReducer)(((t,e)=>({...t,...e})),{content:"",element:null,isCached:!1,status:u.IDLE},(o=>{if(!r||!n.isCached(m))return o;const a=n.getContent(m);try{const n=f({...t,handleError:()=>{},hash:w.current,content:a});if(!n)return{...o,content:a,isCached:!0,status:u.LOADED};const r=i(n);if(r&&(0,e.isValidElement)(r))return{content:a,element:r,isCached:!0,status:u.READY}}catch{}return{...o,content:a,isCached:!0,status:u.LOADED}})),{content:N,element:j,isCached:S,status:z}=D,E=g(t),T=g(D),A=(0,e.useRef)(!1),I=(0,e.useRef)(!1),O=(0,e.useCallback)((t=>{A.current&&(L({status:"Browser does not support SVG"===t.message?u.UNSUPPORTED:u.FAILED}),b.current?.(t))}),[]),C=(0,e.useCallback)((()=>{try{const t=i(f({baseURL:o,content:N,description:a,handleError:O,hash:w.current,preProcessor:k.current,src:m,title:y,uniquifyIDs:$}));if(!t||!(0,e.isValidElement)(t))throw new Error("Could not convert the src to a React element");L({element:t,status:u.READY})}catch(t){O(t)}}),[o,N,a,O,m,y,$]);var R;return R=()=>{if(A.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");L({content:"",element:null,isCached:!1,status:u.LOADING})}}catch(t){O(t)}return I.current=!0,()=>{A.current=!1}}},(0,e.useEffect)(R,[]),(0,e.useEffect)((()=>{if(d()&&E&&E.src!==m){if(!m)return void O(new Error("Missing src"));L({content:"",element:null,isCached:!1,status:u.LOADING})}}),[O,E,m]),(0,e.useEffect)((()=>{if(z!==u.LOADING)return;const t=new AbortController;let e=!0;return(async()=>{try{const o=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(m);let i;if(o?i=o[1]?window.atob(o[2]):decodeURIComponent(o[2]):m.includes("<svg")&&(i=m),i)return void(e&&L({content:i,isCached:!1,status:u.LOADED}));const a={...x.current,signal:t.signal};let s,c=!1;r?(c=n.isCached(m),s=await n.get(m,a)):s=await h(m,a),e&&L({content:s,isCached:c,status:u.LOADED})}catch(t){e&&"AbortError"!==t.name&&O(t)}})(),()=>{e=!1,t.abort()}}),[r,n,O,m,z]),(0,e.useEffect)((()=>{z===u.LOADED&&N&&C()}),[N,C,z]),(0,e.useEffect)((()=>{d()&&E&&E.src===m&&(E.title===y&&E.description===a||C())}),[a,C,E,m,y]),(0,e.useEffect)((()=>{T&&z===u.READY&&T.status!==u.READY&&v.current?.(m,S)}),[S,T,m,z]),{element:j,status:z}}var $=(0,e.createContext)(null),w=new class{constructor(t={}){c(this,"cacheApi"),c(this,"cacheStore"),c(this,"subscribers",[]),c(this,"isReady",!1);const{name:e=l,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 o=await(this.cacheApi?.match(t));return await(o?.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 x(t){const{children:n=null,innerRef:o,loader:r=null}=t,i=(0,e.useContext)($)??w,{element:a,status:s}=M(t,i);return d()?a?(0,e.cloneElement)(a,{ref:o,...p(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[u.UNSUPPORTED,u.FAILED].includes(s)?n:r:r}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"})})]}),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:"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"})}),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:"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:o}=t||{};return e?(0,b.jsx)(x,{src:n?.url}):(0,b.jsx)(b.Fragment,{children:(()=>{switch(o){case"ocean-wave":return(0,b.jsx)(v,{});case"asymmetric-triangle":return(0,b.jsx)(k,{});case"abstract-paintbrush":return(0,b.jsx)(D,{});case"asymmetric-curve":return(0,b.jsx)(L,{});default:return null}})()})},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),T=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}},A=t=>{const e=T(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},I=(t,e)=>E(e)?`${t}: ${e};`:"",O=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""},C=t=>{const{position:e="center center",xPosition:n=0,yPosition:o=0,attachment:r="",repeat:i="no-repeat",size:a="cover",customSize:s="0px"}=t||{},c=t=>"initial"!==t||E(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${n} ${o}`:e};`:""}\n\t\t${r&&c(r)?`background-attachment: ${r};`:""}\n\t\t${c(i)?`background-repeat: ${i};`:""}\n\t\t${c(a)?`background-size: ${"custom"===a?`${s} auto`:a};`:""}\n\t`},R=(t={})=>t?{desktop:E(t.url)?`background-image: ${A(t.url)}; ${C(t?.desktop)}`:"",tablet:E(t.url)?C(t?.tablet):"",mobile:E(t.url)?C(t?.mobile):""}:"",U=(t,e,n=!1)=>{const{type:o="color",color:r,gradient:i,img:a,video:s}=t||{},c="color"===o?I("background",r):"gradient"===o?(t=>{const{type:e="linear",radialType:n="ellipse",colors:o=[],centerPositions:r={x:0,y:0},angel:i=0}=t||{};if(E(t)){const t=o?.map((({color:t,position:e})=>`${t} ${e}%`)),a=`linear-gradient(${i}deg, ${t})`;return I("background","radial"===e?`radial-gradient(${n} at ${r?.x}% ${r?.y}%,${t})`:a)}return""})(i):"image"===o?R(a).desktop:"",l="image"===o?R(a).tablet:"",u="image"===o?R(a).mobile:"",d=n?`${e}:hover`:e;return`\n\t\t${"video"===o?((t,e)=>{const{url:n,loop:o}=t||{},r=document.querySelector(e),i=r?.querySelector(".bPlVideo"),a=document.createElement("video");if(a.muted=!0,a.autoplay=!0,a.classList.add("bPlVideo"),!i&&r&&n){const t=T(n);if(t){const e=document.createElement("source");e.src=t,a.appendChild(e),r.appendChild(a)}}return a.loop=o,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${c?`${d}{\n\t\t\t${c}\n\t\t}`:""}\n\n\t\t${l?`${S} {\n\t\t\t${d}{\n\t\t\t\t${l}\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()},Y=(t,e,n=!1)=>{const{isEnabled:o,colors:r,opacity:i=1,blend:a,filter:s="",blur:c=0,brightness:l=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!==l?`brightness(${l}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==d?`saturate(${d}%)`:""} ${0!==c?`blur(${c}px)`:""} ${0!==p?`hue-rotate(${p}deg)`:""}`,f=`${s}: ${s?g:""}; -webkit-${s}: ${s?g:""};`,y=n?`${e}:hover::after`:`${e}::after`;return o?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${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(r,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():""},P=(t,e,n=!1)=>{const o=(t,e="desktop")=>{if(!E(t))return"";const{skew:n,scale:o,rotate:r,offset:i,flipX:a,flipY:s}=t,{threeDRotate:c}=r||{},{isProportion:l}=o||{},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)`)),l?E(o?.[e]?.scale)&&u.push(`scale(${o[e].scale})`):(E(o?.[e]?.x)&&u.push(`scaleX(${o[e].x})`),E(o?.[e]?.y)&&u.push(`scaleY(${o[e].y})`)),E(r)&&(E(r?.[e]?.z)&&u.push(`rotateZ(${r[e].z}deg)`),c&&(E(r?.[e]?.x)&&u.push(`rotateX(${r[e].x}deg)`),E(r?.[e]?.y)&&u.push(`rotateY(${r[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(" "))},r=n?`${e}:hover`:e;return`\n\t\t${r} {\n\t\t\t${o(t,"desktop")}\n\t\t}\n\t\t${S}{\n\t\t\t${r} {\n\t\t\t\t${o(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${z}{\n\t\t\t${r} {\n\t\t\t\t${o(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},Q=t=>{const{padding:e,margin:n,height:o,width:r}=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",O(t)),c=t=>I("margin",O(t));return{desktop:s(e?.desktop)+c(n?.desktop)+a("height",o,"desktop")+a("width",r,"desktop"),tablet:s(e?.tablet)+c(n?.tablet)+a("height",o,"tablet")+a("width",r,"tablet"),mobile:s(e?.mobile)+c(n?.mobile)+a("height",o,"mobile")+a("width",r,"mobile")}},H=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},r=I("border-radius",O(n)),i=I("box-shadow",((t,e="box")=>{let n="";return t?.map(((o,r)=>{const{hOffset:i="0px",vOffset:a="0px",blur:s="0px",spreed:c="0px",color:l="#e7f0fe",isInset:u=!1}=o||{},d=u?"inset":"",p=`${i} ${a} ${s}`,h=r+1>=t.length?"":", ";n+="text"===e?`${p} ${l}${h}`:`${p} ${c} ${l} ${d}${h}`})),n||""})(o,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:o="0px"}=t;return`${o} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():I("border",e(t))})(e)+r+i};return{normal:o(e),hover:o(n)}},q=t=>{const{zIndex:e,overflow:n}=t||{},o=n?`overflow: ${n};`:"",r=t=>`${I("z-index",e?.[t])} ${I("position",E(e?.[t])?"relative":"")}`;return{desktop:r("desktop")+o,tablet:r("tablet"),mobile:r("mobile")}},F=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:r=!1}=t||{},i=e?"opacity: 0.5;":"display: none;",a=t=>t?i:"";return{desktop:a(n),tablet:a(o),mobile:a(r)}},Z=(t,e,n=!1,o=!0)=>{const{dimension:r,transform:i,background:a,borderShadow:s,mask:c,animation:l,visibility:u,responsive:d,position:p={},floating:h={},motion:m={},css:g=""}=e||{},f=n?`#${t}>div>div${o?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const o=n?`#${e} > div`:`#${e}`,r=document.querySelector(o);r&&t&&t.type&&(r.setAttribute("data-aos",t.type),r.setAttribute("data-aos-duration",1e3*t.duration||.4),r.setAttribute("data-aos-delay",1e3*t.delay||0),r.classList.contains("aos-init")||(r.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?r.classList.add("aos-animate"):r.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(r)})(l,t,n);const y=Q(r).desktop+q(u).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:r=.4}=e||{},{transition:i=200}=n||{};return`transition: background ${o}s, border ${r}s, border-radius ${r}s, box-shadow ${r}s, transform ${i}ms ease-in-out;`})(a,s,i)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:o={type:"contain",scale:"100%"},position:r={type:"center center",x:50,y:50},repeat:i="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?A(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"===o.type?o.scale:o.type};\n\t\t${"custom"===r.type?`${I("-webkit-mask-position-x",r.x)}\n\t\t\t${I("-webkit-mask-position-y",r.y)}`:`${I("-webkit-mask-position",r.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${i};`:""}`:"";var a})(c),M=Q(r).tablet+q(u).tablet+F(d,n).tablet,$=Q(r).mobile+q(u).mobile+F(d,n).mobile,w=H(s).normal,x=H(s).hover,b=F(d,n).desktop;return`\n\t\t${y||w?`${f} {\n\t\t\t${y}\n\t\t\t${w}\n\t\t}`:""}\n\t\t${x?`${f}:hover {\n\t\t\t${x}\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${M?`${S} {\n\t\t\t${f}{\n\t\t\t\t${M}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${$?`${z} {\n\t\t\t${f}{\n\t\t\t\t${$}\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${Y(a?.overlay,f)}\n\t\t${Y(a?.hoverOverlay,f,!0)}\n\t\t${E(i?.normal)?P(i?.normal,f):""}\n\t\t${E(i?.hover)?P(i?.hover,f,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:o={},mobile:r={}}=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${o?.type?i(o):""}\n\t\t}\n\n\t\t${z}{\n\t\t\t${r?.type?i(r):""}\n\t\t}\n\t`})(p,f)}\n\t\t${((t,e,n="")=>{const{translate:o={},rotate:r={},scale:i={},isEnabled:a=!1}=t||{};if(!a)return"";const s=[],c=[];return[{name:"Translate",property:"translate",values:o,value:t=>["x","y"].some((e=>E(o?.[e]?.[t])))?`${o?.x?.[t]||0}px ${o?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:r,value:t=>["x","y","z"].filter((e=>E(r?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${r[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:o,value:r})=>{const i=r("from"),a=r("to");if(!i||!a)return;const l=Number(o?.duration)>0?Number(o.duration):1e3,u=Number(o?.delay)>0?Number(o.delay):0,d=`advFloat${t}${n?`-${n}`:""}`;s.push(`@keyframes ${d}{ from{ ${e}: ${i}; } to{ ${e}: ${a}; } }`),c.push(`${d} ${l}ms ease-in-out ${u}ms infinite alternate`)})),c.length?`\n\t\t${s.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${c.join(", ")};\n\t\t}\n\t`:""})(h,f,t)}\n\t\t${((t,e,n)=>{const{isEnable:o=!1,vertical:r={},horizontal:i={},transparency:a={},blur:s={},rotate:c={},scale:l={},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,M=y?"view()":"scroll(nearest block)",$=[],w=[],x=[],b=[],v=String(n??"").replace(/[^a-zA-Z0-9]/g,""),k=(t,e,n)=>{$.push(`@keyframes advMe${t}${v}{ ${e} }`),w.push(`advMe${t}${v}`),x.push(M),b.push((t=>{const e=f(t?.top,0),n=f(t?.bottom,100),o=Math.min(e,n),r=Math.max(e,n);return y?`cover ${o}% ${r>=90?"contain 100%":`cover ${r}%`}`:`min(${3*o}vh, ${o}%) min(${3*r}vh, ${r}%)`})(n))};if(o){const t=r?.direction,e=i?.direction,n=t?100*f(r?.speed,4):0,o=e?100*f(i?.speed,4):0;if(n||o){const a="up"===t?-n:n,s="to-left"===e?-o:o,c=[n&&r,o&&i].filter(Boolean);k("Translate",`from{ translate: 0px 0px; } to{ translate: ${s}px ${a}px; }`,{top:Math.min(...c.map((t=>f(t?.top,0)))),bottom:Math.max(...c.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=c?.direction;if(p){const t=20*f(c?.level,4);k("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===p?-t:t}deg; }`,c)}if(l?.direction){const t=.15*f(l?.level,4),e=Math.max(0,1-t),n=1+t,o={"scale-up":`from{ scale: 1; } to{ scale: ${n}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${n}; } 100%{ scale: 1; }`}[l.direction];o&&k("Scale",o,l)}}const D=[];if(p){if(h?.direction){const t="direct"===h?.direction?100:-100;D.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);D.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const L=(t,n,o)=>{if(!t||!t.defaultView)return;const r=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=o,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 o=!1;i.items.forEach(((e,r)=>{const a=e.el&&e.el.isConnected?e.el:t.querySelector(r);if(!a)return;e.el=a;const s=e.rate*n/1e3,c=i.x-e.x,l=i.y-e.y,u=Math.sqrt(c*c+l*l);u<=s?(e.x=i.x,e.y=i.y):(e.x+=c/u*s,e.y+=l/u*s,o=!0),a.style.transform=e.build(e.x,e.y)})),i.frame=o?r.requestAnimationFrame(s):0,i.last=o?e:0};t.addEventListener("pointermove",(t=>{i.x=2*(t.clientX/r.innerWidth-.5),i.y=2*(t.clientY/r.innerHeight-.5),i.frame||(i.frame=r.requestAnimationFrame(s))}))};if(D.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*f(h?.speed,f(m?.speed,4))),e=(t,e)=>D.map((n=>n(t,e))).join(" ");L(document,t,e),L(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const N=t=>g?.[t]||("desktop"===t?g?.undefined:""),T=e.split(">")[0],A=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]:[],O=t=>!I.length||I.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${w.length?`\n\t\t${$.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${w.join(", ")};\n\t\t\t\tanimation-duration: ${w.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${w.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${w.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${w.map((()=>y?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${x.join(", ")};\n\t\t\t\tanimation-range: ${b.join(", ")};\n\t\t\t}\n\t\t\t${O("desktop")?`${j}{ ${O("desktop")} }`:""}\n\t\t\t${O("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${O("tablet-portrait")} }`:""}\n\t\t\t${O("mobile-portrait")?`${z}{ ${O("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${D.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${T}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${S}{ ${T}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${z}{ ${T}{ ${A("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:o,advanced:r}=n,{top:i,bottom:a}=o,s=document.createElement("style");s.innerHTML=((t,e)=>{const{top:n,bottom:o}=t||{},{color:r,isFlip:i,isFront:a,width:s,height:c}=n||{},{isUpload:l,color:u,isFlip:d,isFront:p,width:h,height:m}=o||{},g=`#${e} .topShaped`,f=`#${e} .bottomShaped`;return`\n\t\t${g}{\n\t\t\t${c?.desktop?`height: ${c?.desktop};`:""}\n\t\t\tcolor: ${r};\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: ${r};\n\t\t\t${i?"transform: translateX(0%) rotateY(180deg);":""}\n\t\t}\n\n\t\t${g} svg *{\n\t\t\tfill: ${r};\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${l?"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${c?.tablet?`height: ${c?.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${c?.mobile?`height: ${c?.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," ")})(o,e.id)+" "+Z(e.id,r,!1,!1),e.prepend(s);const c=e.querySelector(".topShaped"),l=e.querySelector(".bottomShaped");c&&(0,t.createRoot)(c).render((0,b.jsx)(N,{data:i})),l&&(0,t.createRoot)(l).render((0,b.jsx)(N,{data:a})),e?.removeAttribute("data-attributes"),e?.removeAttribute("data-bblocks-advanced")}))})(); |