HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site_dev/wp-content/themes/blocksy/admin/dashboard/static/bundle/main.js
!function(){var e={184:function(e,t){var n;
/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},966:function(e,t,n){"use strict";t.__esModule=!0;var r=n(363),o=(i(r),i(n(697))),a=i(n(815));i(n(473));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=1073741823;t.default=function(e,t){var n,i,p="__create-react-context-"+(0,a.default)()+"__",h=function(e){function n(){var t,r,o,a;s(this,n);for(var i=arguments.length,c=Array(i),u=0;u<i;u++)c[u]=arguments[u];return t=r=l(this,e.call.apply(e,[this].concat(c))),r.emitter=(o=r.props.value,a=[],{on:function(e){a.push(e)},off:function(e){a=a.filter((function(t){return t!==e}))},get:function(){return o},set:function(e,t){o=e,a.forEach((function(e){return e(o,t)}))}}),l(r,t)}return c(n,e),n.prototype.getChildContext=function(){var e;return(e={})[p]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,r=e.value,o=void 0;((a=n)===(i=r)?0!==a||1/a==1/i:a!=a&&i!=i)?o=0:(o="function"==typeof t?t(n,r):u,0!==(o|=0)&&this.emitter.set(e.value,o))}var a,i},n.prototype.render=function(){return this.props.children},n}(r.Component);h.childContextTypes=((n={})[p]=o.default.object.isRequired,n);var d=function(t){function n(){var e,r;s(this,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return e=r=l(this,t.call.apply(t,[this].concat(a))),r.state={value:r.getValue()},r.onUpdate=function(e,t){0!=((0|r.observedBits)&t)&&r.setState({value:r.getValue()})},l(r,e)}return c(n,t),n.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?u:t},n.prototype.componentDidMount=function(){this.context[p]&&this.context[p].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},n.prototype.componentWillUnmount=function(){this.context[p]&&this.context[p].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[p]?this.context[p].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return d.contextTypes=((i={})[p]=o.default.object,i),{Provider:h,Consumer:d}},e.exports=t.default},404:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(363)),o=a(n(966));function a(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},815:function(e,t,n){"use strict";var r="__global_unique_id__";e.exports=function(){return n.g[r]=(n.g[r]||0)+1}},143:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},823:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n(366)),a=r(n(462)),i=r(n(363)),s=r(n(533));let l,c,u,p,h,d=[],f=e=>"undefined"!=typeof window&&window.requestAnimationFrame(e),m=e=>"undefined"!=typeof window&&window.cancelAnimationFrame(e),y=()=>Date.now();const g=(e,t)=>c={fn:e,transform:t},v=e=>d=e,b=e=>l=e,E=e=>u=e,_=e=>p=e,w=e=>h=e;var k=Object.freeze({get bugfixes(){return l},get applyAnimatedValues(){return c},get colorNames(){return d},get requestFrame(){return f},get cancelFrame(){return m},get interpolation(){return u},get now(){return y},get defaultElement(){return p},get createAnimatedStyle(){return h},injectApplyAnimatedValues:g,injectColorNames:v,injectBugfixes:b,injectInterpolation:E,injectFrame:(e,t)=>{var n=[e,t];return f=n[0],m=n[1],n},injectNow:e=>y=e,injectDefaultElement:_,injectCreateAnimatedStyle:w});class x{attach(){}detach(){}getValue(){}getAnimatedValue(){return this.getValue()}addChild(e){}removeChild(e){}getChildren(){return[]}}const O=e=>Object.keys(e).map((t=>e[t]));class C extends x{constructor(){var e;super(...arguments),e=this,this.children=[],this.getChildren=()=>this.children,this.getPayload=function(t){return void 0===t&&(t=void 0),void 0!==t&&e.payload?e.payload[t]:e.payload||e}}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class j extends C{constructor(){super(...arguments),this.payload=[],this.getAnimatedValue=()=>this.getValue(),this.attach=()=>this.payload.forEach((e=>e instanceof x&&e.addChild(this))),this.detach=()=>this.payload.forEach((e=>e instanceof x&&e.removeChild(this)))}}class P extends C{constructor(){super(...arguments),this.payload={},this.getAnimatedValue=()=>this.getValue(!0),this.attach=()=>O(this.payload).forEach((e=>e instanceof x&&e.addChild(this))),this.detach=()=>O(this.payload).forEach((e=>e instanceof x&&e.removeChild(this)))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const r=this.payload[n];(!e||r instanceof x)&&(t[n]=r instanceof x?r[e?"getAnimatedValue":"getValue"]():r)}return t}}class S extends P{constructor(e){super(),!(e=e||{}).transform||e.transform instanceof x||(e=c.transform(e)),this.payload=e}}const z={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};class M{static create(e,t,n){if("function"==typeof e)return e;if(u&&e.output&&"string"==typeof e.output[0])return u(e);if(Array.isArray(e))return M.create({range:e,output:t,extrapolate:n||"extend"});let r=e.output,o=e.range||[0,1],a=e.easing||(e=>e),i="extend",s=e.map;void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);let l="extend";return void 0!==e.extrapolateRight?l=e.extrapolateRight:void 0!==e.extrapolate&&(l=e.extrapolate),e=>{let t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,o,a,i,s,l){let c=l?l(e):e;if(c<t){if("identity"===i)return c;"clamp"===i&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=a(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(e,o[t],o[t+1],r[t],r[t+1],a,i,l,s)}}}const V="[-+]?\\d*\\.?\\d+",D=V+"%";function A(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}const F=new RegExp("rgb"+A(V,V,V)),T=new RegExp("rgba"+A(V,V,V,V)),N=new RegExp("hsl"+A(V,D,D)),R=new RegExp("hsla"+A(V,D,D,V)),L=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,U=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,I=/^#([0-9a-fA-F]{6})$/,B=/^#([0-9a-fA-F]{8})$/;function W(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}function H(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=W(o,r,e+1/3),i=W(o,r,e),s=W(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function $(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function q(e){return(parseFloat(e)%360+360)%360/360}function K(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function G(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Y(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=I.exec(e))?parseInt(t[1]+"ff",16)>>>0:z.hasOwnProperty(e)?z[e]:(t=F.exec(e))?($(t[1])<<24|$(t[2])<<16|$(t[3])<<8|255)>>>0:(t=T.exec(e))?($(t[1])<<24|$(t[2])<<16|$(t[3])<<8|K(t[4]))>>>0:(t=L.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=B.exec(e))?parseInt(t[1],16)>>>0:(t=U.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=N.exec(e))?(255|H(q(t[1]),G(t[2]),G(t[3])))>>>0:(t=R.exec(e))?(H(q(t[1]),G(t[2]),G(t[3]))|K(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const J=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Q=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Z=new RegExp(`(${Object.keys(z).join("|")})`,"g");class X extends j{constructor(e,t,n){super(),this.getValue=()=>this.calc(...this.payload.map((e=>e.getValue()))),this.updateConfig=(e,t)=>this.calc=M.create(e,t),this.interpolate=(e,t)=>new X(this,e,t),this.payload=e instanceof j&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],this.calc=M.create(t,n)}}function ee(e,t){"function"==typeof e.update?t.add(e):e.getChildren().forEach((e=>ee(e,t)))}class te extends C{constructor(e){var t;super(),t=this,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.getValue=()=>this.value,this.updateStyles=()=>ee(this,this.animatedStyles),this.updateValue=e=>this.flush(this.value=e),this.interpolate=(e,t)=>new X(this,e,t),this.value=e,this.animatedStyles=new Set,this.done=!1,this.startPosition=e,this.lastPosition=e,this.lastVelocity=void 0,this.lastTime=void 0,this.controller=void 0}flush(){0===this.animatedStyles.size&&this.updateStyles(),this.animatedStyles.forEach((e=>e.update()))}prepare(e){void 0===this.controller&&(this.controller=e),this.controller===e&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e.isActive?this.lastVelocity:void 0,this.lastTime=e.isActive?this.lastTime:void 0,this.done=!1,this.animatedStyles.clear())}}class ne extends j{constructor(e){var t;super(),t=this,this.setValue=function(e,n){void 0===n&&(n=!0),Array.isArray(e)?e.length===t.payload.length&&e.forEach(((e,r)=>t.payload[r].setValue(e,n))):t.payload.forEach(((r,o)=>t.payload[o].setValue(e,n)))},this.getValue=()=>this.payload.map((e=>e.getValue())),this.interpolate=(e,t)=>new X(this,e,t),this.payload=e.map((e=>new te(e)))}}function re(e,t){return null==e?t:e}function oe(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function ae(e,t){if(typeof e!=typeof t)return!1;if("string"==typeof e||"number"==typeof e)return e===t;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return void 0!==n||e===t}function ie(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e(...n):e}function se(e){return Object.keys(e).map((t=>e[t]))}function le(e){const t=function(e){return e.to,e.from,e.config,e.native,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.impl,e.inject,e.delay,e.attach,e.destroyed,e.interpolateTo,e.autoStart,e.ref,o(e,["to","from","config","native","onStart","onRest","onFrame","children","reset","reverse","force","immediate","impl","inject","delay","attach","destroyed","interpolateTo","autoStart","ref"])}(e),n=Object.keys(e).reduce(((n,r)=>void 0!==t[r]?n:a({},n,{[r]:e[r]})),{});return a({to:t},n)}function ce(e,t){let n=t[0],r=t[1];return a({},e,{[n]:new(Array.isArray(r)?ne:te)(r)})}function ue(e){const t=e.from,n=e.to,r=e.native,o=Object.entries(a({},t,n));return r?o.reduce(ce,{}):a({},t,n)}function pe(e,t){return t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e}const he=e=>"auto"===e;let de={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const fe=["Webkit","Ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}de=Object.keys(de).reduce(((e,t)=>(fe.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),de);const ye={};w((e=>new S(e))),_("div"),E((function(e){const t=e.output.map((e=>e.replace(Q,Y))).map((e=>e.replace(Z,Y))),n=t[0].match(J).map((()=>[]));t.forEach((e=>{e.match(J).forEach(((e,t)=>n[t].push(+e)))}));const r=t[0].match(J).map(((t,r)=>M.create(a({},e,{output:n[r]}))));return e=>{let n=0;return t[0].replace(J,(()=>r[n++](e))).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,((e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`))}})),v(z),b((function(e,t){const n=e.from,r=e.to,o=e.children;if(!se(r).some(he)&&!se(n).some(he))return;let l=o(ue(e));if(!l)return;Array.isArray(l)&&(l={type:"div",props:{children:l}});const c=l.props.style;return i.createElement(l.type,a({key:l.key?l.key:void 0},l.props,{style:a({},c,{position:"absolute",visibility:"hidden"}),ref:o=>{if(o){let i,l,c=s.findDOMNode(o),u=getComputedStyle(c);if("border-box"===u.boxSizing)i=c.offsetWidth,l=c.offsetHeight;else{const e=parseFloat(u.paddingLeft||0)+parseFloat(u.paddingRight||0),t=parseFloat(u.paddingTop||0)+parseFloat(u.paddingBottom||0),n=parseFloat(u.borderLeftWidth||0)+parseFloat(u.borderRightWidth||0),r=parseFloat(u.borderTopWidth||0)+parseFloat(u.borderBottomWidth||0);i=c.offsetWidth-e-n,l=c.offsetHeight-t-r}const p=((e,t)=>(n,r)=>{let o=r[0],i=r[1];return a({},n,{[o]:"auto"===i?~o.indexOf("height")?t:e:i})})(i,l);t(a({},e,{from:Object.entries(n).reduce(p,n),to:Object.entries(r).reduce(p,r)}))}}}))})),g(((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const a=t.style,i=t.children,s=t.scrollTop,l=t.scrollLeft,c=o(t,["style","children","scrollTop","scrollLeft"]);void 0!==s&&(e.scrollTop=s),void 0!==l&&(e.scrollLeft=l),void 0!==i&&(e.textContent=i);for(let t in a)if(a.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=me(t,a[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in c){const n=ye[t]||(ye[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())));void 0!==e.getAttribute(n)&&e.setAttribute(n,c[t])}}}),(e=>e));let ge=!1;const ve=new Set,be=()=>{let e=y();for(let t of ve){let n=!0,r=!0;for(let o=0;o<t.configs.length;o++){let a,i,s=t.configs[o];for(let o=0;o<s.animatedValues.length;o++){let l=s.animatedValues[o];if(l.done)continue;let c=s.fromValues[o],u=s.toValues[o],p=l.lastPosition,h=u instanceof x,d=Array.isArray(s.initialVelocity)?s.initialVelocity[o]:s.initialVelocity;if(h&&(u=u.getValue()),s.immediate||!h&&!s.decay&&c===u)l.updateValue(u),l.done=!0;else if(s.delay&&e-t.startTime<s.delay)n=!1;else if(r=!1,"string"!=typeof c&&"string"!=typeof u){if(void 0!==s.duration)p=c+s.easing((e-t.startTime-s.delay)/s.duration)*(u-c),a=e>=t.startTime+s.delay+s.duration;else if(s.decay)p=c+d/(1-.998)*(1-Math.exp(-(1-.998)*(e-t.startTime))),a=Math.abs(l.lastPosition-p)<.1,a&&(u=p);else{i=void 0!==l.lastTime?l.lastTime:e,d=void 0!==l.lastVelocity?l.lastVelocity:s.initialVelocity,e>i+64&&(i=e);let t=Math.floor(e-i);for(let e=0;e<t;++e){d+=1*((-s.tension*(p-u)+-s.friction*d)/s.mass)/1e3,p+=1*d/1e3}let n=!(!s.clamp||0===s.tension)&&(c<u?p>u:p<u),r=Math.abs(d)<=s.precision,o=0===s.tension||Math.abs(u-p)<=s.precision;a=n||r&&o,l.lastVelocity=d,l.lastTime=e}h&&!s.toValues[o].done&&(a=!1),a?(l.value!==u&&(p=u),l.done=!0):n=!1,l.updateValue(p),l.lastPosition=p}else l.updateValue(u),l.done=!0}!t.props.onFrame&&t.props.native||(t.animatedProps[s.name]=s.interpolation.getValue())}!t.props.onFrame&&t.props.native||(!t.props.native&&t.onUpdate&&t.onUpdate(),t.props.onFrame&&t.props.onFrame(t.animatedProps)),n&&(ve.delete(t),t.debouncedOnEnd({finished:!0,noChange:r}))}ve.size?f(be):ge=!1},Ee=e=>{ve.has(e)&&ve.delete(e)};class _e{constructor(e,t){void 0===t&&(t={native:!0,interpolateTo:!0,autoStart:!0}),this.getValues=()=>this.props.native?this.interpolations:this.animatedProps,this.dependents=new Set,this.isActive=!1,this.hasChanged=!1,this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[],this.frame=void 0,this.startTime=void 0,this.lastTime=void 0,this.update(a({},e,t))}update(e){this.props=a({},this.props,e);let t=this.props.interpolateTo?le(this.props):this.props,n=t.from,r=void 0===n?{}:n,o=t.to,i=void 0===o?{}:o,s=t.config,l=void 0===s?{}:s,c=t.delay,u=void 0===c?0:c,p=t.reverse,h=t.attach,f=t.reset,m=t.immediate,y=t.autoStart,g=t.ref;if(p){var v=[i,r];r=v[0],i=v[1]}this.hasChanged=!1;let b=h&&h(this),E=f?{}:this.merged;if(this.merged=a({},r,E,i),this.animations=Object.entries(this.merged).reduce(((e,t,n)=>{let o=t[0],i=t[1],s=!f&&e[o]||{};const c="number"==typeof i,p="string"==typeof i&&!i.startsWith("#")&&!/\d/.test(i)&&!d[i],h=!c&&!p&&Array.isArray(i);let y=void 0!==r[o]?r[o]:i,g=c||h||p?i:1,v=ie(l,o);if(b&&(g=b.animations[o].parent),void 0===v.decay&&ae(s.changes,i))return e;{let t,n;if(this.hasChanged=!0,c||p)t=n=s.parent||new te(y);else if(h)t=n=s.parent||new ne(y);else{const e=s.interpolation&&s.interpolation.calc(s.parent.value);s.parent?(t=s.parent,t.setValue(0,!1)):t=new te(0);const r={output:[void 0!==e?e:y,i]};s.interpolation?(n=s.interpolation,s.interpolation.updateConfig(r)):n=t.interpolate(r)}ie(m,o)&&t.setValue(i,!1);const r=oe(t.getPayload());return r.forEach((e=>e.prepare(this))),a({},e,{[o]:a({},s,{name:o,parent:t,interpolation:n,animatedValues:r,changes:i,fromValues:oe(t.getValue()),toValues:oe(b?g.getPayload():g),immediate:ie(m,o),delay:re(v.delay,u||0),initialVelocity:re(v.velocity,0),clamp:re(v.clamp,!1),precision:re(v.precision,.01),tension:re(v.tension,170),friction:re(v.friction,26),mass:re(v.mass,1),duration:v.duration,easing:re(v.easing,(e=>e)),decay:v.decay})})}}),this.animations),this.hasChanged){this.configs=se(this.animations),this.animatedProps={},this.interpolations={};for(let e in this.animations)this.interpolations[e]=this.animations[e].interpolation,this.animatedProps[e]=this.animations[e].interpolation.getValue()}for(var _=arguments.length,w=new Array(_>1?_-1:0),k=1;k<_;k++)w[k-1]=arguments[k];g||!y&&!w.length||this.start(...w);const x=w[0],O=w[1];return this.onEnd="function"==typeof x&&x,this.onUpdate=O,this.getValues()}start(e,t){var n;return this.startTime=y(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),n=this,ve.has(n)||(ve.add(n),ge||f(be),ge=!0),new Promise((e=>this.resolve=e))}stop(e){void 0===e&&(e=!1),e&&se(this.animations).forEach((e=>e.changes=void 0)),this.debouncedOnEnd({finished:e})}destroy(){Ee(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]}debouncedOnEnd(e){Ee(this),this.isActive=!1;const t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null}}class we extends P{constructor(e,t){super(),e.style&&(e=a({},e,{style:h(e.style)})),this.payload=e,this.update=t,this.attach()}}function ke(e){class t extends i.Component{constructor(e){super(),this.callback=()=>{if(this.node){!1===c.fn(this.node,this.propsAnimated.getAnimatedValue(),this)&&this.forceUpdate()}},this.attachProps(e)}componentWillUnmount(){this.propsAnimated&&this.propsAnimated.detach()}setNativeProps(e){!1===c.fn(this.node,e,this)&&this.forceUpdate()}attachProps(e){e.forwardRef;let t=o(e,["forwardRef"]);const n=this.propsAnimated;this.propsAnimated=new we(t,this.callback),n&&n.detach()}shouldComponentUpdate(e){const t=e.style,n=o(e,["style"]),r=this.props,a=r.style;return(!ae(o(r,["style"]),n)||!ae(a,t))&&(this.attachProps(e),!0)}render(){const t=this.propsAnimated.getValue(),n=(t.scrollTop,t.scrollLeft,o(t,["scrollTop","scrollLeft"]));return i.createElement(e,a({},n,{ref:e=>this.node=pe(e,this.props.forwardRef)}))}}return i.forwardRef(((e,n)=>i.createElement(t,a({},e,{forwardRef:n}))))}const xe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}};class Oe extends i.Component{constructor(){super(...arguments),this.state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},this.controller=new _e(null,null),this.didUpdate=!1,this.didInject=!1,this.finished=!0,this.start=()=>{this.finished=!1;let e=this.mounted;this.controller.start((t=>this.finish(a({},t,{wasMounted:e}))),this.update)},this.stop=()=>this.controller.stop(!0),this.update=()=>this.mounted&&this.setState({internal:!0}),this.finish=e=>{let t=e.finished,n=e.noChange,r=e.wasMounted;this.finished=!0,this.mounted&&t&&(!this.props.onRest||!r&&n||this.props.onRest(this.controller.merged),this.mounted&&this.didInject&&(this.afterInject=ue(this.props),this.setState({internal:!0})),this.mounted&&(this.didInject||this.props.after)&&this.setState({internal:!0}),this.didInject=!1)}}componentDidMount(){this.componentDidUpdate(),this.mounted=!0}componentWillUnmount(){this.mounted=!1,this.stop()}static getDerivedStateFromProps(e,t){let n=t.internal,r=t.lastProps;const o=e.from,a=e.to,i=e.reset,s=e.force;return{propsChanged:!ae(a,r.to)||!ae(o,r.from)||i&&!n||s&&!n,lastProps:e,internal:!1}}render(){const e=this.props.children,t=this.state.propsChanged;if(this.props.inject&&t&&!this.injectProps){const e=this.props.inject(this.props,(e=>{this.injectProps=e,this.setState({internal:!0})}));if(e)return e}(this.injectProps||t)&&(this.didInject=!1,this.injectProps?(this.controller.update(this.injectProps),this.didInject=!0):t&&this.controller.update(this.props),this.didUpdate=!0,this.afterInject=void 0,this.injectProps=void 0);let n=a({},this.controller.getValues(),this.afterInject);return this.finished&&(n=a({},n,this.props.after)),Object.keys(n).length?e(n):null}componentDidUpdate(){this.didUpdate&&this.start(),this.didUpdate=!1}}Oe.defaultProps={from:{},to:{},config:xe.default,native:!1,immediate:!1,reset:!1,force:!1,inject:l};class Ce extends i.PureComponent{constructor(){super(...arguments),this.first=!0,this.instances=new Set,this.hook=(e,t,n,r)=>(this.instances.add(e),(r?t===n-1:0===t)?void 0:Array.from(this.instances)[r?t+1:t-1])}render(){const e=this.props,t=e.items,n=e.children,r=e.from,s=void 0===r?{}:r,l=e.initial,c=e.reverse,u=e.keys,p=e.delay,h=e.onRest,d=o(e,["items","children","from","initial","reverse","keys","delay","onRest"]),f=oe(t);return oe(f).map(((e,t)=>i.createElement(Oe,a({onRest:0===t?h:null,key:"function"==typeof u?u(e):oe(u)[t],from:this.first&&void 0!==l?l||{}:s},d,{delay:0===t&&p||void 0,attach:e=>this.hook(e,t,f.length,c),children:r=>{const o=n(e,t);return o?o(r):null}}))))}componentDidUpdate(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()}}Ce.defaultProps={keys:e=>e};const je="__default";class Pe extends i.PureComponent{constructor(){var e;super(...arguments),e=this,this.guid=0,this.state={props:{},resolve:()=>null,last:!0,index:0},this.next=function(t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=0),e.running=!0,new Promise((o=>{e.mounted&&e.setState((e=>({props:t,resolve:o,last:n,index:r})),(()=>e.running=!1))}))}}componentDidMount(){this.mounted=!0,this.componentDidUpdate({})}componentWillUnmount(){this.mounted=!1}componentDidUpdate(e){var t=this;const n=this.props,r=n.states,o=n.filter,a=n.state;if((e.state!==this.props.state||this.props.reset&&!this.running||!ae(r[a],e.states[e.state]))&&r&&a&&r[a]){const e=++this.guid,n=r[a];if(n)if(Array.isArray(n)){let t=Promise.resolve();for(let r=0;r<n.length;r++){let a=r,i=n[a],s=a===n.length-1;t=t.then((()=>e===this.guid&&this.next(o(i),s,a)))}}else if("function"==typeof n){let r=0;n((function(n,a){return void 0===a&&(a=!1),e===t.guid&&t.next(o(n),a,r++)}),(()=>f((()=>this.instance&&this.instance.stop()))),this.props)}else this.next(o(r[a]))}}render(){const e=this.state,t=e.props,n=e.resolve,r=e.last,s=e.index;if(!t||0===Object.keys(t).length)return null;let l=this.props,c=(l.state,l.filter,l.states,l.config),u=l.primitive,p=l.onRest,h=l.forwardRef,d=o(l,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(c)&&(c=c[s]),i.createElement(u,a({ref:e=>this.instance=pe(e,h),config:c},d,t,{onRest:e=>{n(e),p&&r&&p(e)}}))}}Pe.defaultProps={state:je};const Se=i.forwardRef(((e,t)=>i.createElement(Pe,a({},e,{forwardRef:t}))));Se.create=e=>function(t,n){return void 0===n&&(n=e=>e),("function"==typeof t||Array.isArray(t))&&(t={[je]:t}),r=>i.createElement(Pe,a({primitive:e,states:t,filter:n},r))},Se.Spring=e=>Se.create(Oe)(e,le),Se.Trail=e=>Se.create(Ce)(e,le);let ze=0,Me=e=>{let t=e.items,n=e.keys,r=o(e,["items","keys"]);return t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n),a({items:t,keys:n.map((e=>String(e)))},r)};class Ve extends i.PureComponent{componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}constructor(e){super(e),this.destroyItem=(e,t,n)=>r=>{const o=this.props,a=o.onRest,i=o.onDestroyed;this.mounted&&(i&&i(e),this.setState((e=>({deleted:e.deleted.filter((e=>e.key!==t))}))),a&&a(e,n,r))},this.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e}}static getDerivedStateFromProps(e,t){let n=t.first,r=t.prevProps,i=o(t,["first","prevProps"]),s=Me(e),l=s.items,c=s.keys,u=s.initial,p=s.from,h=s.enter,d=s.leave,f=s.update,m=s.trail,y=void 0===m?0:m,g=s.unique,v=s.config,b=Me(r),E=b.keys,_=b.items,w=a({},i.current),k=[...i.deleted],x=Object.keys(w),O=new Set(x),C=new Set(c),j=c.filter((e=>!O.has(e))),P=i.transitions.filter((e=>!e.destroyed&&!C.has(e.originalKey))).map((e=>e.originalKey)),S=c.filter((e=>O.has(e))),z=0;j.forEach((e=>{g&&k.find((t=>t.originalKey===e))&&(k=k.filter((t=>t.originalKey!==e)));const t=c.indexOf(e),r=l[t],o="enter";w[e]={state:o,originalKey:e,key:g?String(e):ze++,item:r,trail:z+=y,config:ie(v,r,o),from:ie(n&&void 0!==u?u||{}:p,r),to:ie(h,r)}})),P.forEach((e=>{const t=E.indexOf(e),n=_[t],r="leave";k.push(a({},w[e],{state:r,destroyed:!0,left:E[Math.max(0,t-1)],right:E[Math.min(E.length,t+1)],trail:z+=y,config:ie(v,n,r),to:ie(d,n)})),delete w[e]})),S.forEach((e=>{const t=c.indexOf(e),n=l[t],r="update";w[e]=a({},w[e],{item:n,state:r,trail:z+=y,config:ie(v,n,r),to:ie(f,n)})}));let M=c.map((e=>w[e]));return k.forEach((e=>{let t,n=e.left,r=e.right,a=o(e,["left","right"]);-1!==(t=M.findIndex((e=>e.originalKey===n)))&&(t+=1),-1===t&&(t=M.findIndex((e=>e.originalKey===r))),-1===t&&(t=k.findIndex((e=>e.originalKey===n))),-1===t&&(t=k.findIndex((e=>e.originalKey===r))),t=Math.max(0,t),M=[...M.slice(0,t),a,...M.slice(t)]})),{first:n&&0===j.length,transitions:M,current:w,deleted:k,prevProps:e}}render(){const e=this.props,t=(e.initial,e.from,e.enter,e.leave,e.update,e.onDestroyed,e.keys,e.items,e.onFrame),n=e.onRest,r=e.onStart,s=(e.trail,e.config,e.children),l=(e.unique,e.reset),c=o(e,["initial","from","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","trail","config","children","unique","reset"]);return this.state.transitions.map(((e,o)=>{let u=e.state,p=e.key,h=e.item,d=e.from,f=e.to,m=e.trail,y=e.config,g=e.destroyed;return i.createElement(Se,a({reset:l&&"enter"===u,primitive:Oe,state:u,filter:le,states:{[u]:f},key:p,onRest:g?this.destroyItem(h,p,u):n&&(e=>n(h,u,e)),onStart:r&&(()=>r(h,u)),onFrame:t&&(e=>t(h,u,e)),delay:m,config:y},c,{from:d,children:e=>{const t=s(h,u,o);return t?t(e):null}}))}))}}Ve.defaultProps={keys:e=>e,unique:!1,reset:!1};const De=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].reduce(((e,t)=>(e[t]=ke(t),e)),ke);t.uT=Ve,t.q=De},473:function(e){"use strict";var t=function(){};e.exports=t},363:function(e){"use strict";e.exports=React},533:function(e){"use strict";e.exports=ReactDOM},462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.r(t),n.d(t,{default:function(){return r}})},366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.r(t),n.d(t,{default:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=window.wp.element;const t=(0,e.createContext)({theme_version:"1.0.0",theme_name:"Word"}),r=t.Provider;t.Consumer;var o=t,a=window.wp.i18n,i=ctEvents,s=n.n(i);var l=function(){const{theme_name:t,theme_custom_description:n,dashboard_has_heading:r}=(0,e.useContext)(o);let i={content:null};return s().trigger("ct:dashboard:heading:after",i),(0,e.createElement)("div",null,(0,e.createElement)("h2",{onClick:function(e){return e.shiftKey&&s().trigger("ct:dashboard:heading:advanced-click")}},"yes"===r&&(0,e.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 35 35"},(0,e.createElement)("path",{fill:"#1e1e1e",d:"M35,17.5C35,7.8,27.2,0,17.5,0C7.8,0,0,7.8,0,17.5C0,27.2,7.8,35,17.5,35C27.2,35,35,27.2,35,17.5z"}),(0,e.createElement)("path",{fill:"#ffffff",d:"M16.3,13.7h3.9c0.5,0,0.9,0.4,0.9,1c0,0.5-0.4,1-1,1h-3.1L16.3,13.7z M24.2,17.6c0.6-0.8,1-1.9,1-3c0-1.1-0.4-2.1-1-2.9c-0.9-1.2-2.3-2-3.9-2.1c0,0-0.1,0-0.1,0v0h-9.4c-0.2,0-0.4,0.3-0.3,0.5l2.3,5.5h-1.9c-0.2,0-0.4,0.3-0.3,0.5l3.9,9.5h5.8c2.7,0,5-2.2,5-5C25.2,19.5,24.8,18.5,24.2,17.6C24.2,17.6,24.2,17.6,24.2,17.6zM16.3,19.6h3.9c0.5,0,0.9,0.4,0.9,1c0,0.5-0.4,1-1,1h-3.1L16.3,19.6z"}),"/>"),t,"yes"===r&&i.content),(0,e.createElement)("p",null,n||(0,a.__)("The most innovative, intuitive and lightning fast WordPress theme. Build your next web project visually, in no time.","blocksy")))},c=n(363),u=n.n(c),p=n(143),h=n.n(p),d=n(404),f=n.n(d);function m(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function y(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function g(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}m.__suppressDeprecationWarning=!0,y.__suppressDeprecationWarning=!0,g.__suppressDeprecationWarning=!0;var v=function(e,t){return e.substr(0,t.length)===t},b=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],a=j(o),i=""===a[0],s=C(e),l=0,c=s.length;l<c;l++){var u=!1,p=s[l].route;if(p.default)r={route:p,params:{},uri:t};else{for(var d=j(p.path),f={},m=Math.max(a.length,d.length),y=0;y<m;y++){var g=d[y],v=a[y];if(x(g)){f[g.slice(1)||"*"]=a.slice(y).map(decodeURIComponent).join("/");break}if(void 0===v){u=!0;break}var b=w.exec(g);if(b&&!i){-1===S.indexOf(b[1])||h()(!1);var E=decodeURIComponent(v);f[b[1]]=E}else if(g!==v){u=!0;break}}if(!u){n={route:p,params:f,uri:"/"+a.slice(0,y).join("/")};break}}}return n||r||null},E=function(e,t){if(v(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],a=t.split("?")[0],i=j(r),s=j(a);if(""===i[0])return P(a,o);if(!v(i[0],".")){var l=s.concat(i).join("/");return P(("/"===a?"":"/")+l,o)}for(var c=s.concat(i),u=[],p=0,h=c.length;p<h;p++){var d=c[p];".."===d?u.pop():"."!==d&&u.push(d)}return P("/"+u.join("/"),o)},_=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+j(r).map((function(e){var n=w.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,l=(s=void 0===s?{}:s).search,c=(void 0===l?"":l).split("?")[1]||"";return i=P(i,a,c)},w=/^:(.+)/,k=function(e){return w.test(e)},x=function(e){return e&&"*"===e[0]},O=function(e,t){return{route:e,score:e.default?0:j(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?k(t)?e+=2:x(t)?e-=5:e+=3:e+=1,e}),0),index:t}},C=function(e){return e.map(O).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},j=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},P=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},S=["uri","path"],z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,a=t.origin,i=t.protocol,s=t.host,l=t.hostname,c=t.port,u=e.location.pathname;!u&&o&&D&&(u=new URL(o).pathname);return{pathname:encodeURI(decodeURI(u)),search:n,hash:r,href:o,origin:a,protocol:i,host:s,hostname:l,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},V=function(e,t){var n=[],r=M(e),o=!1,a=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,a()},listen:function(t){n.push(t);var o=function(){r=M(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.state,l=i.replace,c=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{s=z({},s,{key:Date.now()+""});try{o||c?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=M(e),o=!0;var u=new Promise((function(e){return a=e}));return n.forEach((function(e){return e({location:r,action:"PUSH"})})),u}}},D=!("undefined"==typeof window||!window.document||!window.document.createElement),A=V(D?window:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),s=i[0],l=i[1],c=void 0===l?"":l;r++,o.push({pathname:s,search:c.length?"?"+c:c}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],l=i[1],c=void 0===l?"":l;o[r]={pathname:s,search:c},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}}()),F=A.navigate,T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function N(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function U(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var I=function(e,t){var n=f()(t);return n.displayName=e,n},B=I("Location"),W=function(e){var t=e.children;return u().createElement(B.Consumer,null,(function(e){return e?t(e):u().createElement(H,null,t)}))},H=function(e){function t(){var n,r;R(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=L(this,e.call.apply(e,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},L(r,n)}return U(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!re(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return u().createElement(B.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(u().Component);H.defaultProps={history:A};var $=I("Base",{baseuri:"/",basepath:"/"}),q=function(e){return u().createElement($.Consumer,null,(function(t){return u().createElement(W,null,(function(n){return u().createElement(K,T({},t,n,e))}))}))},K=function(e){function t(){return R(this,t),L(this,e.apply(this,arguments))}return U(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,r=e.basepath,o=e.primary,a=e.children,i=(e.baseuri,e.component),s=void 0===i?"div":i,l=N(e,["location","navigate","basepath","primary","children","baseuri","component"]),c=u().Children.toArray(a).reduce((function(e,t){var n=le(r)(t);return e.concat(n)}),[]),p=t.pathname,h=b(c,p);if(h){var d=h.params,f=h.uri,m=h.route,y=h.route.value;r=m.default?r:m.path.replace(/\*$/,"");var g=T({},d,{uri:f,location:t,navigate:function(e,t){return n(E(e,f),t)}}),v=u().cloneElement(y,g,y.props.children?u().createElement(q,{location:t,primary:o},y.props.children):void 0),_=o?Y:s,w=o?T({uri:f,location:t,component:s},l):l;return u().createElement($.Provider,{value:{baseuri:f,basepath:r}},u().createElement(_,w,v))}return null},t}(u().PureComponent);K.defaultProps={primary:!0};var G=I("Focus"),Y=function(e){var t=e.uri,n=e.location,r=e.component,o=N(e,["uri","location","component"]);return u().createElement(G.Consumer,null,(function(e){return u().createElement(Z,T({},o,{component:r,requestFocus:e,uri:t,location:n}))}))},J=!0,Q=0,Z=function(e){function t(){var n,r;R(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=L(this,e.call.apply(e,[this].concat(a))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},L(r,n)}return U(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return T({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return T({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){Q++,this.focus()},t.prototype.componentWillUnmount=function(){0===--Q&&(J=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()},t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):J?J=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),r=(t.requestFocus,t.component),o=void 0===r?"div":r,a=(t.uri,t.location,N(t,["children","style","requestFocus","component","uri","location"]));return u().createElement(o,T({style:T({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},a),u().createElement(G.Provider,{value:this.requestFocus},this.props.children))},t}(u().Component);!function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var a=e.displayName||e.name,i="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+a+" uses "+i+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+(null!==o?"\n  "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=m,t.componentWillReceiveProps=y),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=g;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}}(Z);var X=function(){},ee=u().forwardRef;void 0===ee&&(ee=function(e){return e});var te=ee((function(e,t){var n=e.innerRef,r=N(e,["innerRef"]);return u().createElement($.Consumer,null,(function(e){e.basepath;var o=e.baseuri;return u().createElement(W,null,(function(e){var a=e.location,i=e.navigate,s=r.to,l=r.state,c=r.replace,p=r.getProps,h=void 0===p?X:p,d=N(r,["to","state","replace","getProps"]),f=E(s,o),m=encodeURI(f),y=a.pathname===m,g=v(a.pathname,m);return u().createElement("a",T({ref:t||n,"aria-current":y?"page":void 0},d,h({isCurrent:y,isPartiallyCurrent:g,href:f,location:a}),{href:f,onClick:function(e){if(d.onClick&&d.onClick(e),ce(e)){e.preventDefault();var t=c;if("boolean"!=typeof c&&y){var n=T({},a.state),r=(n.key,N(n,["key"]));o=T({},l),s=r,t=(u=Object.keys(o)).length===Object.keys(s).length&&u.every((function(e){return s.hasOwnProperty(e)&&o[e]===s[e]}))}i(f,{state:l,replace:t})}var o,s,u}}))}))}))}));function ne(e){this.uri=e}te.displayName="Link";var re=function(e){return e instanceof ne},oe=function(e){function t(){return R(this,t),L(this,e.apply(this,arguments))}return U(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,a=e.state,i=(e.noThrow,e.baseuri),s=N(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=E(n,i);t(_(e,s),{replace:o,state:a})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=N(e,["navigate","to","from","replace","state","noThrow","baseuri"]),a=E(t,r);return n||function(e){throw new ne(e)}(_(a,o)),null},t}(u().Component),ae=function(e){return u().createElement($.Consumer,null,(function(t){var n=t.baseuri;return u().createElement(W,null,(function(t){return u().createElement(oe,T({},t,{baseuri:n},e))}))}))},ie=function(e){var t=e.path,n=e.children;return u().createElement($.Consumer,null,(function(e){var r=e.baseuri;return u().createElement(W,null,(function(e){var o=e.navigate,a=e.location,i=function(e,t){return b([{path:e}],t)}(E(t,r),a.pathname);return n({navigate:o,location:a,match:i?T({},i.params,{uri:i.uri,path:t}):null})}))}))},se=function(e){return e.replace(/(^\/+|\/+$)/g,"")},le=function e(t){return function(n){if(!n)return null;if(n.type===u().Fragment&&n.props.children)return u().Children.map(n.props.children,e(t));var r,o,a;if(n.props.path||n.props.default||n.type===ae||h()(!1),n.type!==ae||n.props.from&&n.props.to||h()(!1),n.type===ae&&(r=n.props.from,o=n.props.to,a=function(e){return k(e)},j(r).filter(a).sort().join("/")!==j(o).filter(a).sort().join("/"))&&h()(!1),n.props.default)return{value:n,default:!0};var i=n.type===ae?n.props.from:n.props.path,s="/"===i?t:se(t)+"/"+se(i);return{value:n,default:n.props.default,path:n.props.children?se(s)+"/*":s}}},ce=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},ue=n(823);const pe=["path","text"],he=["path","text"];function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(this,arguments)}function fe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var me=function(){const t=[],n=[];s().trigger("ct:dashboard:navigation-links",t),s().trigger("ct:dashboard:end-navigation-links",n);ctDashboardLocalizations.plugin_data.hide_plugins_tab;return(0,e.createElement)("ul",{className:"dashboard-navigation"},(0,e.createElement)("li",null,(0,e.createElement)(te,{to:"/"},(0,a.__)("Home","blocksy"))),t.map((function(t){let{path:n,text:r}=t,o=fe(t,pe);return(0,e.createElement)("li",{key:n},(0,e.createElement)(te,de({to:n},o),r))})),!ctDashboardLocalizations.plugin_data.hide_plugins_tab&&(0,e.createElement)("li",null,(0,e.createElement)(te,{to:"/plugins"},(0,a.__)("Useful Plugins","blocksy"))),!ctDashboardLocalizations.plugin_data.hide_changelogs_tab&&(0,e.createElement)("li",null,(0,e.createElement)(te,{to:"/changelog"},(0,a.__)("Changelog","blocksy"))),n.map((function(t){let{path:n,text:r}=t,o=fe(t,he);return(0,e.createElement)("li",{key:n},(0,e.createElement)(te,de({to:n},o),r))})))},ye=jQuery,ge=n.n(ye);const ve=function(t){let{href:n=""}=t;return ctDashboardLocalizations.plugin_data.hide_docs_section?null:(0,e.createElement)("a",{href:n,target:"_blank"},(0,e.createElement)("svg",{width:"14px",height:"14px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M23 2.1h-6.6c-1.8 0-3.4.9-4.4 2.3C11 3 9.4 2.1 7.6 2.1H1c-.6 0-1 .4-1 1v16.5c0 .6.4 1 1 1h7.7c1.3 0 2.3 1 2.3 2.3 0 .6.4 1 1 1s1-.4 1-1c0-1.3 1-2.3 2.3-2.3H23c.6 0 1-.4 1-1V3.1c0-.6-.4-1-1-1zM11 19.3c-.7-.4-1.5-.7-2.3-.7H2V4.1h5.6c1.9 0 3.4 1.5 3.4 3.4v11.8zm11-.7h-6.7c-.8 0-1.6.2-2.3.7V7.5c0-1.9 1.5-3.4 3.4-3.4H22v14.5z"})),(0,a.__)("Documentation","blocksy"))};var be=function(){const{is_companion_active:t,companion_download_link:n,child_download_link:r}=(0,e.useContext)(o);let i={content:null},l={content:null};const[c,u]=(0,e.useState)(!1),[p,h]=(0,e.useState)(!1);s().trigger("ct:dashboard:home:before",i),s().trigger("ct:dashboard:home:after",l);const d=p||t;return(0,e.createElement)("section",null,i.content,(0,e.createElement)("div",{className:"ct-dashboard-home-container","data-columns":ctDashboardLocalizations.plugin_data.hide_support_section?"1":"2"},(0,e.createElement)("section",null,(0,e.createElement)("h4",null,(0,a.__)("Customizer Shortcuts","blocksy")),(0,e.createElement)("ul",{className:"ct-customizer-shortcuts-list"},(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Color Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Manage the colour palette, as well as setting colours for different elements of the website.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/general-options/colors/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=color")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Typography Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Set the footer type, number of columns, spacing and colors.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/general-options/typography/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=typography")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Header Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Configure the header to your liking with an easy to use drag and drop builder.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/header-elements/header-builder-elements/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=header")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Footer Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Arrange your footer in a way that actually makes sense with our drag and drop builder.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/footer-options/footer-introduction/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=footer")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Blog Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Adjust your blog roll options in a single place and make it stand out in the crowd.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/post-types/blog-posts/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=blog_posts")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Posts Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Set the footer type, number of columns, spacing and colors.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/post-types/single-posts/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=single_blog_posts")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Page Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Set the page container width, spacing, sidebar and more.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/post-types/pages/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=single_pages")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,a.__)("Sidebar Options","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Change the sidebar behaviour and style with a nice set of options that come in handy.","blocksy")),(0,e.createElement)("div",{className:"ct-shortcut-actions"},(0,e.createElement)(ve,{href:"https://creativethemes.com/blocksy/docs/general-options/sidebar/"}),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=sidebar")}`,target:"_blank"},(0,e.createElement)("svg",{width:"15px",height:"15px",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M4 11c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v7c0 .6.4 1 1 1zM12 11c-.6 0-1 .4-1 1v9c0 .6.4 1 1 1s1-.4 1-1v-9c0-.6-.4-1-1-1zM20 13c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1s-1 .4-1 1v9c0 .6.4 1 1 1zM7 13H1c-.6 0-1 .4-1 1s.4 1 1 1h2v6c0 .6.4 1 1 1s1-.4 1-1v-6h2c.6 0 1-.4 1-1s-.4-1-1-1zM15 7h-2V3c0-.6-.4-1-1-1s-1 .4-1 1v4H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zM23 15h-6c-.6 0-1 .4-1 1s.4 1 1 1h2v4c0 .6.4 1 1 1s1-.4 1-1v-4h2c.6 0 1-.4 1-1s-.4-1-1-1z"})),(0,a.__)("Customize","blocksy")))))),!ctDashboardLocalizations.plugin_data.hide_support_section&&(0,e.createElement)("aside",null,(0,e.createElement)("h4",null,(0,a.__)("Need help or advice?","blocksy")),(0,e.createElement)("ul",{className:"ct-support-container","data-placement":"sidebar"},(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,e.createElement)("span",null,(0,e.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M8.6 6.7c0-1.9 1.5-3.5 3.4-3.5s3.4 1.5 3.4 3.5-1.5 3.5-3.4 3.5-3.4-1.6-3.4-3.5zM22 11.3h-3.9c.5.5.7 1.2.7 2v5.9c0 .6-.2 1.2-.3 1.7H22c1.2-.8 2-2.2 2-3.8v-3.7c0-1.2-.9-2.1-2-2.1zm.8-4.1c0-1.6-1.3-2.9-2.9-2.9-1.6 0-2.9 1.3-2.9 2.9 0 1.6 1.3 2.9 2.9 2.9 1.7 0 2.9-1.3 2.9-2.9zM5.2 13c.1-.7.3-1.3.7-1.8H1.8c-1 .1-1.8.9-1.8 2V17c0 1.6.8 2.9 2 3.8h3.5c-.2-.6-.3-1.3-.3-2.1V13zM4 4.4c-1.6 0-2.9 1.3-2.9 2.9 0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9c0-1.7-1.3-2.9-2.9-2.9zm11.2 6.9H8.8c-1.1 0-2 .9-2 2v5.5c0 .7.2 1.4.4 2.1h9.5c.3-.6.4-1.3.4-2.1v-5.5c.1-1.1-.8-2-1.9-2z"}))),(0,a.__)("Facebook Community","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Share ideas, help others, ask questions and discuss your next project in our friendly community.","blocksy")),(0,e.createElement)("a",{href:"https://www.facebook.com/groups/blocksy.community",className:"ct-button","data-hover":"blue",target:"_blank"},(0,a.__)("Join Our Facebook Community","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,e.createElement)("span",null,(0,e.createElement)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M13.3 3.7 8.5.4C7.4-.3 5.9-.1 5.2 1c-.3.4-.5.9-.5 1.4v19.1c0 1.3 1.1 2.4 2.4 2.4.5 0 1-.2 1.4-.4l4.7-3.3 9-6.3c1.1-.8 1.4-2.3.6-3.4l-.6-.6-8.9-6.2z"}))),(0,a.__)("Video Tutorials","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Learn how to do just about anything within Blocksy by following our byte-sized video tutorials.","blocksy")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/video-tutorials/",className:"ct-button","data-hover":"blue",target:"_blank"},(0,a.__)("Watch Tutorials","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,e.createElement)("span",null,(0,e.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M24 4.1v13.8c0 .7-.5 1.2-1.2 1.3-2 .1-6.1.5-8.9 1.9-.4.2-.9-.1-.9-.6V5.7c0-.2.1-.4.3-.5 2.7-1.7 7.2-2.1 9.4-2.3.7-.1 1.3.5 1.3 1.2zM1.4 2.9C.6 2.8 0 3.4 0 4.1v13.8c0 .7.5 1.2 1.2 1.3 2 .1 6.1.5 8.9 1.9.4.2.9-.1.9-.5V5.7c0-.2-.1-.4-.3-.5C8.1 3.5 3.6 3 1.4 2.9z"}))),(0,a.__)("Knowledge Base","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Dive in deeper with our documentation and learn advanced tips and tricks about Blocksy and its components.","blocksy")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/docs/",className:"ct-button","data-hover":"blue",target:"_blank"},(0,a.__)("View Documentation","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,e.createElement)("span",null,(0,e.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor"},(0,e.createElement)("path",{d:"M8.3 7.3 4.1 3C6.2 1.1 9 0 12 0s5.8 1.1 7.9 3l-4.3 4.3C14.6 6.5 13.4 6 12 6s-2.6.5-3.7 1.3zM12 18c-1.4 0-2.6-.5-3.7-1.3L4.1 21c2.1 1.9 4.9 3 7.9 3s5.8-1.1 7.9-3l-4.3-4.3c-1 .8-2.2 1.3-3.6 1.3zm9-13.9-4.3 4.3c.8 1 1.3 2.3 1.3 3.7s-.5 2.6-1.3 3.7l4.3 4.3c1.9-2.1 3-4.9 3-7.9s-1.1-6-3-8.1zM6 12c0-1.4.5-2.6 1.3-3.7L3 4.1C1.1 6.2 0 9 0 12s1.1 5.8 3 7.9l4.3-4.3C6.5 14.6 6 13.4 6 12z"}))),(0,a.__)("Support","blocksy")),(0,e.createElement)("p",null,(0,a.__)("If your questions that have not been answered by our documentation or video tutorials, just drop us a line.","blocksy")),(0,e.createElement)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},(0,a.__)("Submit a Ticket","blocksy")))))),l.content,"active"!==t&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ct-dashboard-home-downloads"},(0,e.createElement)("ul",null,(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,e.createElement)("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M3.1,0c-0.4,0-0.8,0.2-1,0.6L0.2,3.9C0.1,4.1,0,4.2,0,4.4v13.3C0,19,1,20,2.2,20h15.6c1.2,0,2.2-1,2.2-2.2V4.4c0-0.2-0.1-0.4-0.2-0.6l-1.9-3.3c-0.2-0.3-0.6-0.6-1-0.6H3.1z M3.7,2.2h12.6l1.3,2.2H2.4L3.7,2.2z M2.2,6.7h15.6v11.1H2.2V6.7zM8.9,8.3v3.3H5.6l4.4,4.4l4.4-4.4h-3.3V8.3H8.9z"})),(0,a.__)("Blocksy Companion","blocksy")),(0,e.createElement)("p",null,(0,a.__)("By downloading and installing this plugin you will have access to demo templates, extensions and a lot more stunning features.","blocksy")),(0,e.createElement)("a",{className:"ct-button",onClick:function(e){e.stopPropagation(),u(!0),ge().ajax(ajaxurl,{type:"POST",data:{action:"blocksy_notice_button_click",nonce:ct_localizations.nonce}}).then((function(e){let{success:t,data:n}=e;t&&(h(n.status),"active"===n.status&&location.assign(n.pluginUrl)),u(!1)}))}},c?(0,a.__)("Installing & activating...","blocksy"):"uninstalled"===d?(0,a.__)("Install Blocksy Companion","blocksy"):"installed"===d?(0,a.__)("Activate Blocksy Companion","blocksy"):(0,a.__)("Blocksy Companion active!","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("h4",null,(0,e.createElement)("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M3.1,0c-0.4,0-0.8,0.2-1,0.6L0.2,3.9C0.1,4.1,0,4.2,0,4.4v13.3C0,19,1,20,2.2,20h15.6c1.2,0,2.2-1,2.2-2.2V4.4c0-0.2-0.1-0.4-0.2-0.6l-1.9-3.3c-0.2-0.3-0.6-0.6-1-0.6H3.1z M3.7,2.2h12.6l1.3,2.2H2.4L3.7,2.2z M2.2,6.7h15.6v11.1H2.2V6.7zM8.9,8.3v3.3H5.6l4.4,4.4l4.4-4.4h-3.3V8.3H8.9z"})),(0,a.__)("Blocksy Child Theme","blocksy")),(0,e.createElement)("p",null,(0,a.__)("By using a child theme you can modify any file without the fear of breaking something in the parent theme.","blocksy")),(0,e.createElement)("a",{className:"ct-button",href:r,target:"_blank"},(0,a.__)("Download now","blocksy")))))))},Ee=n(184),_e=n.n(Ee);var we=function(t){let{status:n,plugin:r,onPluginsSync:o}=t;const[i,s]=(0,e.useState)(!1),l=async function(e,t){const n=new FormData;n.append("plugin",e),n.append("action",t),n.append("nonce",ctDashboardLocalizations.dashboard_actions_nonce),s(!0);try{await fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:n}),o()}catch(e){}s(!1)};return(0,e.createElement)("li",null,(0,e.createElement)("h4",{className:"ct-plugin-title"},r.title,i&&(0,e.createElement)("svg",{width:"15",height:"15",viewBox:"0 0 100 100"},(0,e.createElement)("g",{transform:"translate(50,50)"},(0,e.createElement)("g",{transform:"scale(1)"},(0,e.createElement)("circle",{cx:"0",cy:"0",r:"50",fill:"#687c93"}),(0,e.createElement)("circle",{cx:"0",cy:"-26",r:"12",fill:"#ffffff",transform:"rotate(161.634)"},(0,e.createElement)("animateTransform",{attributeName:"transform",type:"rotate",calcMode:"linear",values:"0 0 0;360 0 0",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"})))))),r.description&&(0,e.createElement)("div",{className:"ct-plugin-description"},r.description),(0,e.createElement)("div",{className:"ct-plugin-actions"},"activated"===n&&(0,e.createElement)("a",{onClick:function(){return l(r.name,"premium_plugin_deactivate")},className:"ct-button"},(0,a.__)("Deactivate","blocksy")),"deactivated"===n&&(0,e.createElement)("a",{onClick:function(){return l(r.name,"premium_plugin_activate")},className:"ct-button-primary"},(0,a.__)("Activate","blocksy")),"uninstalled"===n&&!r.comingsoon&&"link"!==r.type&&(0,e.createElement)("a",{onClick:function(){return l(r.name,"premium_plugin_download")},className:"ct-button"},(0,a.__)("Install","blocksy")),"uninstalled"===n&&!r.comingsoon&&"link"===r.type&&(0,e.createElement)("a",{href:r.link,className:"ct-button",target:"_blank"},(0,a.__)("Download","blocksy")),"uninstalled"===n&&r.comingsoon&&(0,e.createElement)("span",{className:"ct-badge"},(0,a.__)("COMING SOON","blocksy"))))};var ke=function(){return ctDashboardLocalizations.plugin_data.hide_support_section?null:(0,e.createElement)("div",{className:"ct-support-container"},(0,e.createElement)("h2",null,(0,a.__)("Need help or advice?","blocksy")),(0,e.createElement)("p",null,(0,a.__)("Got a question or need help with the theme? You can always submit a support ticket or ask for help in our friendly Facebook community.","blocksy")),(0,e.createElement)("div",{className:"ct-support-buttons"},(0,e.createElement)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},(0,a.__)("Submit a Support Ticket","blocksy")),(0,e.createElement)("a",{href:"https://www.facebook.com/groups/blocksy.community",className:"ct-button","data-hover":"blue",target:"_blank"},(0,a.__)("Join Facebook Community","blocksy"))))};let xe=null,Oe=ctDashboardLocalizations.clean_install_plugins;var Ce=function(){const[t,n]=(0,e.useState)(!xe),[r,o]=(0,e.useState)(xe||[]),i=Object.values(Oe).map((function(e,t){return e.name=Object.keys(Oe)[t],e})),s=async function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&n(!0);const e=new FormData;e.append("action","get_premium_plugins_status"),e.append("nonce",ctDashboardLocalizations.dashboard_actions_nonce);try{const t=await fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:e});if(200===t.status){const{success:e,data:n}=await t.json();e&&(o(n),xe=n)}}catch(e){}n(!1)};return(0,e.useEffect)((function(){s(!xe)}),[]),(0,e.createElement)("div",null,(0,e.createElement)(ue.uT,{items:t,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],initial:null,config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return t?function(t){return(0,e.createElement)(ue.q.p,{style:t,className:"ct-loading-text"},(0,e.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 100 100"},(0,e.createElement)("g",{transform:"translate(50,50)"},(0,e.createElement)("g",{transform:"scale(1)"},(0,e.createElement)("circle",{cx:"0",cy:"0",r:"50",fill:"currentColor"}),(0,e.createElement)("circle",{cx:"0",cy:"-26",r:"12",fill:"#ffffff",transform:"rotate(161.634)"},(0,e.createElement)("animateTransform",{attributeName:"transform",type:"rotate",calcMode:"linear",values:"0 0 0;360 0 0",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"}))))),(0,a.__)("Loading Plugins Status...","blocksy"))}:function(t){return(0,e.createElement)(ue.q.div,{style:t},i.length>0&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("ul",{className:"ct-recommended-plugins-list"},i.map((function(t){return(0,e.createElement)(we,{plugin:t,key:t.name,onPluginsSync:function(){return s()},status:(r.find((function(e){let{name:n}=e;return n===t.name}))||{}).status})}))),(0,e.createElement)(ke,null)))}})))},je=window.wp.date;let Pe=null;const Se=function(t){let{versionDescriptor:n}=t;const[r,...o]=n.descriptor.split(/\r?\n/);return(0,e.createElement)("section",null,(0,e.createElement)("h2",null,(0,a.sprintf)((0,a.__)("Version: %s","blocksy"),n.version),(0,e.createElement)("span",null,(0,a.sprintf)((0,a.__)("Released on %s","blocksy"),n.date))),(0,e.createElement)("div",{className:"ct-release-info",dangerouslySetInnerHTML:{__html:`<ul><li>\n\n                        ${o.join("\n").trim().split("\n").map((function(e){return e.replace(/^-\s/,"")})).map((function(e){return e.replace(/`(.*?)`/g,"<code>$1</code>")})).map((function(e){return e.replace(/\[(.*?)\]\((.*?)\)/g,'<a href="$2">$1</a>')})).join("</li><li>")}\n                        </li></ul>`.replace(/New:/g,'<span class="new" title="New"></span>').replace(/Improvement:/g,'<span class="improvement" title="Enhance"></span>').replace(/Fix:/g,'<span class="fix" title="Fix"></span>')}}))};var ze=function(){const[t,n]=(0,e.useState)(!Pe),[r,o]=(0,e.useState)(Pe),[i,s]=(0,e.useState)(0);let l=!1;window.ctDashboardLocalizations&&window.ctDashboardLocalizations.plugin_data&&window.ctDashboardLocalizations.plugin_data.has_beta_consent&&(l=window.ctDashboardLocalizations.plugin_data.has_beta_consent);return(0,e.useEffect)((function(){!async function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&n(!0);const e=new FormData;e.append("action","get_latest_changelog");try{const t=await fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:e});if(200===t.status){const{success:e,data:n}=await t.json();e&&n.changelog&&(o(n.changelog),Pe=n.changelog)}}catch(e){}n(!1)}(!Pe)}),[]),(0,e.createElement)("section",{className:"ct-changelog-wrapper"},(0,e.createElement)(ue.uT,{items:t,from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],initial:null,config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t){return t?function(t){return(0,e.createElement)(ue.q.p,{className:"ct-loading-text",style:t},(0,e.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 100 100"},(0,e.createElement)("g",{transform:"translate(50,50)"},(0,e.createElement)("g",{transform:"scale(1)"},(0,e.createElement)("circle",{cx:"0",cy:"0",r:"50",fill:"currentColor"}),(0,e.createElement)("circle",{cx:"0",cy:"-26",r:"12",fill:"#ffffff",transform:"rotate(161.634)"},(0,e.createElement)("animateTransform",{attributeName:"transform",type:"rotate",calcMode:"linear",values:"0 0 0;360 0 0",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"}))))),(0,a.__)("Loading changelog...","blocksy"))}:function(t){return(0,e.createElement)(ue.q.div,{style:t},(0,e.createElement)("div",{className:_e()("changelog-info",{"has-sources":r&&r.length>1})},r&&r.length>1&&(0,e.createElement)("ul",{className:"changelog-sources"},r.map((function(t,n){let{title:r}=t;return(0,e.createElement)("li",{className:_e()({active:n===i}),onClick:function(){return s(n)},key:r},r)}))),(0,e.createElement)("ul",{className:"changelog-explanation"},(0,e.createElement)("li",null,(0,e.createElement)("span",{className:"new"})," ",(0,a.__)("New","blocksy")),(0,e.createElement)("li",null,(0,e.createElement)("span",{className:"fix"})," ",(0,a.__)("Fix","blocksy")),(0,e.createElement)("li",null,(0,e.createElement)("span",{className:"improvement"}),(0,a.__)("Improvement","blocksy")))),(0,e.createElement)("div",{className:"changelog-items"},r[i].changelog?function(e){let{hasBetas:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(n=e,n.replace(/[\u00A0-\u9999<>\&]/g,(function(e){return"&#"+e.charCodeAt(0)+";"}))).replace(/\r/g,"").replace(/(\r\n|\r|\n){3,}/g,"$1\n\n").split("\n\n").map((function(e){let[t,n]=e.split(/\r?\n/)[0].split(":");return{version:t,date:(0,je.dateI18n)("F j, Y",new Date(n.trim())),descriptor:e}})).filter((function(e){let{version:n}=e;return!!t||-1===n.indexOf("beta")}));var n}(r[i].changelog,{hasBetas:l}).map((function(t){return(0,e.createElement)(Se,{key:t.version,versionDescriptor:t})})):(0,a.__)("No changelog present at the moment.","blocksy")))}})))};function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ae=["location","navigate","history"],Fe=["Component","key","path"];function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Te.apply(this,arguments)}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Le(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}window.ctDashboardLocalizations.DashboardContext=o;let Ie=V({get location(){return Ve(Ve({},window.location),{},{pathname:(window.location.hash||"#/").replace(/#/g,"")})},addEventListener(e,t){window.addEventListener(e,t)},removeEventListener(e,t){window.removeEventListener(e,t)},history:{get state(){return window.history.state},replaceState(e,t,n){window.history.replaceState(e,t,`#${n}`)},pushState(e,t,n){window.history.pushState(e,t,`#${n}`)}}});const Be=function(t){let{children:n}=t;const r=(0,e.useRef)();return(0,e.createElement)(W,null,(function(t){let{location:o,navigate:a,history:i}=t;Ue(t,Ae);const s=function(t){return(0,e.createElement)(q,{primary:!1,location:t,navigate:a},n)};return(0,e.createElement)(ue.uT,{ref:function(e){r.current=e},items:o,initial:null,immediate:(o.state||{}).hasNoChange,keys:function(e){return e.pathname},from:{opacity:0},enter:[{opacity:1}],leave:[{opacity:0}],config:function(e,t){return"leave"===t?{duration:300}:{delay:300,duration:300}}},(function(t,n,o){return(t.state||{}).hasNoChange&&2===r.current.state.transitions.length&&r.current.state.transitions.every((function(e){return e.item.pathname.indexOf("extensions")>-1}))?function(){return s(t)}:function(n){return(0,e.createElement)(ue.q.div,{style:Re({},n)},s(t))}}))}))};class We extends e.Component{render(){const t=[];return s().trigger("ct:dashboard:routes",t),(0,e.createElement)(H,{history:Ie},(0,e.createElement)(r,{value:Re(Re(Re({},{theme_version:"1.0.0",theme_name:"Word"}),ctDashboardLocalizations),{},{Link:te,Location:W,navigate:F,history:Ie,Match:ie})},(0,e.createElement)("header",null,(0,e.createElement)(l,null),(0,e.createElement)(me,null)),(0,e.createElement)("section",null,(0,e.createElement)(Be,{primary:!1,className:"router"},(0,e.createElement)(be,{path:"/"}),(0,e.createElement)(Ce,{path:"plugins"}),(0,e.createElement)(ze,{path:"changelog"}),t.map((function(t){let{Component:n,key:r,path:o}=t,a=Ue(t,Fe);return(0,e.createElement)(n,Te({key:r||o,path:o},a))}))))))}}document.addEventListener("DOMContentLoaded",(function(){ctDashboardLocalizations.plugin_data&&document.getElementById("ct-dashboard")&&(0,e.render)((0,e.createElement)(We,null),document.getElementById("ct-dashboard"))}))}()}();