File: /sites/nuofama.com/wp-content/themes/blocksy/admin/dashboard/static/bundle/main.js
/*! For license information please see main.js.LICENSE.txt */
!function(){var e={184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var s=o.apply(null,n);s&&e.push(s)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var i in n)a.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}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 a=n(363),o=(s(a),s(n(697))),r=s(n(815));function s(e){return e&&e.__esModule?e:{default:e}}function i(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)}s(n(473));var u=1073741823;function p(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,a){e=n,t.forEach((function(t){return t(e,a)}))}}}t.default=function(e,t){var n,s,d="__create-react-context-"+(0,r.default)()+"__",h=function(e){function n(){var t,a;i(this,n);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return t=a=l(this,e.call.apply(e,[this].concat(r))),a.emitter=p(a.props.value),l(a,t)}return c(n,e),n.prototype.getChildContext=function(){var e;return(e={})[d]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,a=e.value,o=void 0;((r=n)===(s=a)?0!==r||1/r==1/s:r!=r&&s!=s)?o=0:(o="function"==typeof t?t(n,a):u,0!=(o|=0)&&this.emitter.set(e.value,o))}var r,s},n.prototype.render=function(){return this.props.children},n}(a.Component);h.childContextTypes=((n={})[d]=o.default.object.isRequired,n);var m=function(t){function n(){var e,a;i(this,n);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return e=a=l(this,t.call.apply(t,[this].concat(r))),a.state={value:a.getValue()},a.onUpdate=function(e,t){0!=((0|a.observedBits)&t)&&a.setState({value:a.getValue()})},l(a,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[d]&&this.context[d].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},n.prototype.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[d]?this.context[d].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return m.contextTypes=((s={})[d]=o.default.object,s),{Provider:h,Consumer:m}},e.exports=t.default},404:function(e,t,n){"use strict";t.__esModule=!0;var a=r(n(363)),o=r(n(966));function r(e){return e&&e.__esModule?e:{default:e}}t.default=a.default.createContext||o.default,e.exports=t.default},815:function(e,t,n){"use strict";var a="__global_unique_id__";e.exports=function(){return n.g[a]=(n.g[a]||0)+1}},143:function(e){"use strict";e.exports=function(e,t,n,a,o,r,s,i){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,a,o,r,s,i],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 a=n(414);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,s){if(s!==a){var i=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 i.name="Invariant Violation",i}}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:r,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 a(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=a(n(366)),r=a(n(462)),s=a(n(363)),i=a(n(533));let l,c,u,p,d,h=[],m=e=>"undefined"!=typeof window&&window.requestAnimationFrame(e),f=()=>Date.now();const y=(e,t)=>c={fn:e,transform:t},g=e=>h=e,v=e=>l=e,b=e=>u=e,E=e=>p=e,_=e=>d=e;class k{attach(){}detach(){}getValue(){}getAnimatedValue(){return this.getValue()}addChild(e){}removeChild(e){}getChildren(){return[]}}const w=e=>Object.keys(e).map((t=>e[t]));class x extends k{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 C extends x{constructor(){super(...arguments),this.payload=[],this.getAnimatedValue=()=>this.getValue(),this.attach=()=>this.payload.forEach((e=>e instanceof k&&e.addChild(this))),this.detach=()=>this.payload.forEach((e=>e instanceof k&&e.removeChild(this)))}}class O extends x{constructor(){super(...arguments),this.payload={},this.getAnimatedValue=()=>this.getValue(!0),this.attach=()=>w(this.payload).forEach((e=>e instanceof k&&e.addChild(this))),this.detach=()=>w(this.payload).forEach((e=>e instanceof k&&e.removeChild(this)))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const a=this.payload[n];(!e||a instanceof k)&&(t[n]=a instanceof k?a[e?"getAnimatedValue":"getValue"]():a)}return t}}class N extends O{constructor(e){super(),!(e=e||{}).transform||e.transform instanceof k||(e=c.transform(e)),this.payload=e}}const P={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 S{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 S.create({range:e,output:t,extrapolate:n||"extend"});let a=e.output,o=e.range||[0,1],r=e.easing||(e=>e),s="extend",i=e.map;void 0!==e.extrapolateLeft?s=e.extrapolateLeft:void 0!==e.extrapolate&&(s=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,a,o,r,s,i,l){let c=l?l(e):e;if(c<t){if("identity"===s)return c;"clamp"===s&&(c=t)}if(c>n){if("identity"===i)return c;"clamp"===i&&(c=n)}return a===o?a:t===n?e<=t?a:o:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=r(c),a===-1/0?c=-c:o===1/0?c+=a:c=c*(o-a)+a,c)}(e,o[t],o[t+1],a[t],a[t+1],r,s,l,i)}}}const j="[-+]?\\d*\\.?\\d+",D=j+"%";function M(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}const F=new RegExp("rgb"+M(j,j,j)),A=new RegExp("rgba"+M(j,j,j,j)),z=new RegExp("hsl"+M(j,D,D)),V=new RegExp("hsla"+M(j,D,D,j)),L=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,R=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,T=/^#([0-9a-fA-F]{6})$/,U=/^#([0-9a-fA-F]{8})$/;function I(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 W(e,t,n){const a=n<.5?n*(1+t):n+t-n*t,o=2*n-a,r=I(o,a,e+1/3),s=I(o,a,e),i=I(o,a,e-1/3);return Math.round(255*r)<<24|Math.round(255*s)<<16|Math.round(255*i)<<8}function H(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function B(e){return(parseFloat(e)%360+360)%360/360}function $(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function q(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function G(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=T.exec(e))?parseInt(t[1]+"ff",16)>>>0:P.hasOwnProperty(e)?P[e]:(t=F.exec(e))?(H(t[1])<<24|H(t[2])<<16|H(t[3])<<8|255)>>>0:(t=A.exec(e))?(H(t[1])<<24|H(t[2])<<16|H(t[3])<<8|$(t[4]))>>>0:(t=L.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=U.exec(e))?parseInt(t[1],16)>>>0:(t=R.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=z.exec(e))?(255|W(B(t[1]),q(t[2]),q(t[3])))>>>0:(t=V.exec(e))?(W(B(t[1]),q(t[2]),q(t[3]))|$(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 K=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Y=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,J=new RegExp(`(${Object.keys(P).join("|")})`,"g");class Q extends C{constructor(e,t,n){super(),this.getValue=()=>this.calc(...this.payload.map((e=>e.getValue()))),this.updateConfig=(e,t)=>this.calc=S.create(e,t),this.interpolate=(e,t)=>new Q(this,e,t),this.payload=e instanceof C&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],this.calc=S.create(t,n)}}function X(e,t){"function"==typeof e.update?t.add(e):e.getChildren().forEach((e=>X(e,t)))}class Z extends x{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=()=>X(this,this.animatedStyles),this.updateValue=e=>this.flush(this.value=e),this.interpolate=(e,t)=>new Q(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 ee extends C{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,a)=>t.payload[a].setValue(e,n))):t.payload.forEach(((a,o)=>t.payload[o].setValue(e,n)))},this.getValue=()=>this.payload.map((e=>e.getValue())),this.interpolate=(e,t)=>new Q(this,e,t),this.payload=e.map((e=>new Z(e)))}}function te(e,t){return null==e?t:e}function ne(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 oe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return"function"==typeof e?e(...n):e}function re(e){return Object.keys(e).map((t=>e[t]))}function se(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,a)=>void 0!==t[a]?n:r({},n,{[a]:e[a]})),{});return r({to:t},n)}function ie(e,t){let n=t[0],a=t[1];return r({},e,{[n]:new(Array.isArray(a)?ee:Z)(a)})}function le(e){const t=e.from,n=e.to,a=e.native,o=Object.entries(r({},t,n));return a?o.reduce(ie,{}):r({},t,n)}function ce(e,t){return t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e}const ue=e=>"auto"===e;let pe={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 de=["Webkit","Ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}pe=Object.keys(pe).reduce(((e,t)=>(de.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),pe);const me={};_((e=>new N(e))),E("div"),b((function(e){const t=e.output.map((e=>e.replace(Y,G))).map((e=>e.replace(J,G))),n=t[0].match(K).map((()=>[]));t.forEach((e=>{e.match(K).forEach(((e,t)=>n[t].push(+e)))}));const a=t[0].match(K).map(((t,a)=>S.create(r({},e,{output:n[a]}))));return e=>{let n=0;return t[0].replace(K,(()=>a[n++](e))).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,((e,t,n,a,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(a)}, ${o})`))}})),g(P),v((function(e,t){const n=e.from,a=e.to,o=e.children;if(!re(a).some(ue)&&!re(n).some(ue))return;let l=o(le(e));if(!l)return;Array.isArray(l)&&(l={type:"div",props:{children:l}});const c=l.props.style;return s.createElement(l.type,r({key:l.key?l.key:void 0},l.props,{style:r({},c,{position:"absolute",visibility:"hidden"}),ref:o=>{if(o){let s,l,c=i.findDOMNode(o),u=getComputedStyle(c);if("border-box"===u.boxSizing)s=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),a=parseFloat(u.borderTopWidth||0)+parseFloat(u.borderBottomWidth||0);s=c.offsetWidth-e-n,l=c.offsetHeight-t-a}const p=((e,t)=>(n,a)=>{let o=a[0],s=a[1];return r({},n,{[o]:"auto"===s?~o.indexOf("height")?t:e:s})})(s,l);t(r({},e,{from:Object.entries(n).reduce(p,n),to:Object.entries(a).reduce(p,a)}))}}}))})),y(((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const r=t.style,s=t.children,i=t.scrollTop,l=t.scrollLeft,c=o(t,["style","children","scrollTop","scrollLeft"]);void 0!==i&&(e.scrollTop=i),void 0!==l&&(e.scrollLeft=l),void 0!==s&&(e.textContent=s);for(let t in r)if(r.hasOwnProperty(t)){var n=0===t.indexOf("--"),a=he(t,r[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,a):e.style[t]=a}for(let t in c){const n=me[t]||(me[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())));void 0!==e.getAttribute(n)&&e.setAttribute(n,c[t])}}}),(e=>e));let fe=!1;const ye=new Set,ge=()=>{let e=f();for(let t of ye){let n=!0,a=!0;for(let o=0;o<t.configs.length;o++){let r,s,i=t.configs[o];for(let o=0;o<i.animatedValues.length;o++){let l=i.animatedValues[o];if(l.done)continue;let c=i.fromValues[o],u=i.toValues[o],p=l.lastPosition,d=u instanceof k,h=Array.isArray(i.initialVelocity)?i.initialVelocity[o]:i.initialVelocity;if(d&&(u=u.getValue()),i.immediate||!d&&!i.decay&&c===u)l.updateValue(u),l.done=!0;else if(i.delay&&e-t.startTime<i.delay)n=!1;else if(a=!1,"string"!=typeof c&&"string"!=typeof u){if(void 0!==i.duration)p=c+i.easing((e-t.startTime-i.delay)/i.duration)*(u-c),r=e>=t.startTime+i.delay+i.duration;else if(i.decay)p=c+h/(1-.998)*(1-Math.exp(-(1-.998)*(e-t.startTime))),r=Math.abs(l.lastPosition-p)<.1,r&&(u=p);else{s=void 0!==l.lastTime?l.lastTime:e,h=void 0!==l.lastVelocity?l.lastVelocity:i.initialVelocity,e>s+64&&(s=e);let t=Math.floor(e-s);for(let e=0;e<t;++e)h+=(-i.tension*(p-u)+-i.friction*h)/i.mass*1/1e3,p+=1*h/1e3;let n=!(!i.clamp||0===i.tension)&&(c<u?p>u:p<u),a=Math.abs(h)<=i.precision,o=0===i.tension||Math.abs(u-p)<=i.precision;r=n||a&&o,l.lastVelocity=h,l.lastTime=e}d&&!i.toValues[o].done&&(r=!1),r?(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[i.name]=i.interpolation.getValue())}!t.props.onFrame&&t.props.native||(!t.props.native&&t.onUpdate&&t.onUpdate(),t.props.onFrame&&t.props.onFrame(t.animatedProps)),n&&(ye.delete(t),t.debouncedOnEnd({finished:!0,noChange:a}))}ye.size?m(ge):fe=!1},ve=e=>{ye.has(e)&&ye.delete(e)};class be{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(r({},e,t))}update(e){this.props=r({},this.props,e);let t=this.props.interpolateTo?se(this.props):this.props,n=t.from,a=void 0===n?{}:n,o=t.to,s=void 0===o?{}:o,i=t.config,l=void 0===i?{}:i,c=t.delay,u=void 0===c?0:c,p=t.reverse,d=t.attach,m=t.reset,f=t.immediate,y=t.autoStart,g=t.ref;if(p){var v=[s,a];a=v[0],s=v[1]}this.hasChanged=!1;let b=d&&d(this),E=m?{}:this.merged;if(this.merged=r({},a,E,s),this.animations=Object.entries(this.merged).reduce(((e,t,n)=>{let o=t[0],s=t[1],i=!m&&e[o]||{};const c="number"==typeof s,p="string"==typeof s&&!s.startsWith("#")&&!/\d/.test(s)&&!h[s],d=!c&&!p&&Array.isArray(s);let y=void 0!==a[o]?a[o]:s,g=c||d||p?s:1,v=oe(l,o);if(b&&(g=b.animations[o].parent),void 0===v.decay&&ae(i.changes,s))return e;{let t,n;if(this.hasChanged=!0,c||p)t=n=i.parent||new Z(y);else if(d)t=n=i.parent||new ee(y);else{const e=i.interpolation&&i.interpolation.calc(i.parent.value);i.parent?(t=i.parent,t.setValue(0,!1)):t=new Z(0);const a={output:[void 0!==e?e:y,s]};i.interpolation?(n=i.interpolation,i.interpolation.updateConfig(a)):n=t.interpolate(a)}oe(f,o)&&t.setValue(s,!1);const a=ne(t.getPayload());return a.forEach((e=>e.prepare(this))),r({},e,{[o]:r({},i,{name:o,parent:t,interpolation:n,animatedValues:a,changes:s,fromValues:ne(t.getValue()),toValues:ne(b?g.getPayload():g),immediate:oe(f,o),delay:te(v.delay,u||0),initialVelocity:te(v.velocity,0),clamp:te(v.clamp,!1),precision:te(v.precision,.01),tension:te(v.tension,170),friction:te(v.friction,26),mass:te(v.mass,1),duration:v.duration,easing:te(v.easing,(e=>e)),decay:v.decay})})}}),this.animations),this.hasChanged){this.configs=re(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,k=new Array(_>1?_-1:0),w=1;w<_;w++)k[w-1]=arguments[w];g||!y&&!k.length||this.start(...k);const x=k[0],C=k[1];return this.onEnd="function"==typeof x&&x,this.onUpdate=C,this.getValues()}start(e,t){return this.startTime=f(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),this,ye.has(this)||(ye.add(this),fe||m(ge),fe=!0),new Promise((e=>this.resolve=e))}stop(e){void 0===e&&(e=!1),e&&re(this.animations).forEach((e=>e.changes=void 0)),this.debouncedOnEnd({finished:e})}destroy(){ve(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]}debouncedOnEnd(e){ve(this),this.isActive=!1;const t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null}}class Ee extends O{constructor(e,t){super(),e.style&&(e=r({},e,{style:d(e.style)})),this.payload=e,this.update=t,this.attach()}}function _e(e){class t extends s.Component{constructor(e){super(),this.callback=()=>{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 Ee(t,this.callback),n&&n.detach()}shouldComponentUpdate(e){const t=e.style,n=o(e,["style"]),a=this.props,r=a.style;return!(ae(o(a,["style"]),n)&&ae(r,t)||(this.attachProps(e),0))}render(){const t=this.propsAnimated.getValue(),n=(t.scrollTop,t.scrollLeft,o(t,["scrollTop","scrollLeft"]));return s.createElement(e,r({},n,{ref:e=>this.node=ce(e,this.props.forwardRef)}))}}return s.forwardRef(((e,n)=>s.createElement(t,r({},e,{forwardRef:n}))))}class ke extends s.Component{constructor(){super(...arguments),this.state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},this.controller=new be(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(r({},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,a=e.wasMounted;this.finished=!0,this.mounted&&t&&(!this.props.onRest||!a&&n||this.props.onRest(this.controller.merged),this.mounted&&this.didInject&&(this.afterInject=le(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,a=t.lastProps;const o=e.from,r=e.to,s=e.reset,i=e.force;return{propsChanged:!ae(r,a.to)||!ae(o,a.from)||s&&!n||i&&!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=r({},this.controller.getValues(),this.afterInject);return this.finished&&(n=r({},n,this.props.after)),Object.keys(n).length?e(n):null}componentDidUpdate(){this.didUpdate&&this.start(),this.didUpdate=!1}}ke.defaultProps={from:{},to:{},config:{tension:170,friction:26},native:!1,immediate:!1,reset:!1,force:!1,inject:l};class we extends s.PureComponent{constructor(){super(...arguments),this.first=!0,this.instances=new Set,this.hook=(e,t,n,a)=>(this.instances.add(e),(a?t===n-1:0===t)?void 0:Array.from(this.instances)[a?t+1:t-1])}render(){const e=this.props,t=e.items,n=e.children,a=e.from,i=void 0===a?{}:a,l=e.initial,c=e.reverse,u=e.keys,p=e.delay,d=e.onRest,h=o(e,["items","children","from","initial","reverse","keys","delay","onRest"]),m=ne(t);return ne(m).map(((e,t)=>s.createElement(ke,r({onRest:0===t?d:null,key:"function"==typeof u?u(e):ne(u)[t],from:this.first&&void 0!==l?l||{}:i},h,{delay:0===t&&p||void 0,attach:e=>this.hook(e,t,m.length,c),children:a=>{const o=n(e,t);return o?o(a):null}}))))}componentDidUpdate(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()}}we.defaultProps={keys:e=>e};const xe="__default";class Ce extends s.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,a){return void 0===n&&(n=!0),void 0===a&&(a=0),e.running=!0,new Promise((o=>{e.mounted&&e.setState((e=>({props:t,resolve:o,last:n,index:a})),(()=>e.running=!1))}))}}componentDidMount(){this.mounted=!0,this.componentDidUpdate({})}componentWillUnmount(){this.mounted=!1}componentDidUpdate(e){var t=this;const n=this.props,a=n.states,o=n.filter,r=n.state;if((e.state!==this.props.state||this.props.reset&&!this.running||!ae(a[r],e.states[e.state]))&&a&&r&&a[r]){const e=++this.guid,n=a[r];if(n)if(Array.isArray(n)){let t=Promise.resolve();for(let a=0;a<n.length;a++){let r=a,s=n[r],i=r===n.length-1;t=t.then((()=>e===this.guid&&this.next(o(s),i,r)))}}else if("function"==typeof n){let a=0;n((function(n,r){return void 0===r&&(r=!1),e===t.guid&&t.next(o(n),r,a++)}),(()=>m((()=>this.instance&&this.instance.stop()))),this.props)}else this.next(o(a[r]))}}render(){const e=this.state,t=e.props,n=e.resolve,a=e.last,i=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,d=l.forwardRef,h=o(l,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(c)&&(c=c[i]),s.createElement(u,r({ref:e=>this.instance=ce(e,d),config:c},h,t,{onRest:e=>{n(e),p&&a&&p(e)}}))}}Ce.defaultProps={state:xe};const Oe=s.forwardRef(((e,t)=>s.createElement(Ce,r({},e,{forwardRef:t}))));Oe.create=e=>function(t,n){return void 0===n&&(n=e=>e),("function"==typeof t||Array.isArray(t))&&(t={[xe]:t}),a=>s.createElement(Ce,r({primitive:e,states:t,filter:n},a))},Oe.Spring=e=>Oe.create(ke)(e,se),Oe.Trail=e=>Oe.create(we)(e,se);let Ne=0,Pe=e=>{let t=e.items,n=e.keys,a=o(e,["items","keys"]);return t=ne(void 0!==t?t:null),n="function"==typeof n?t.map(n):ne(n),r({items:t,keys:n.map((e=>String(e)))},a)};class Se extends s.PureComponent{componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}constructor(e){super(e),this.destroyItem=(e,t,n)=>a=>{const o=this.props,r=o.onRest,s=o.onDestroyed;this.mounted&&(s&&s(e),this.setState((e=>({deleted:e.deleted.filter((e=>e.key!==t))}))),r&&r(e,n,a))},this.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e}}static getDerivedStateFromProps(e,t){let n=t.first,a=t.prevProps,s=o(t,["first","prevProps"]),i=Pe(e),l=i.items,c=i.keys,u=i.initial,p=i.from,d=i.enter,h=i.leave,m=i.update,f=i.trail,y=void 0===f?0:f,g=i.unique,v=i.config,b=Pe(a),E=b.keys,_=b.items,k=r({},s.current),w=[...s.deleted],x=Object.keys(k),C=new Set(x),O=new Set(c),N=c.filter((e=>!C.has(e))),P=s.transitions.filter((e=>!e.destroyed&&!O.has(e.originalKey))).map((e=>e.originalKey)),S=c.filter((e=>C.has(e))),j=0;N.forEach((e=>{g&&w.find((t=>t.originalKey===e))&&(w=w.filter((t=>t.originalKey!==e)));const t=c.indexOf(e),a=l[t],o="enter";k[e]={state:o,originalKey:e,key:g?String(e):Ne++,item:a,trail:j+=y,config:oe(v,a,o),from:oe(n&&void 0!==u?u||{}:p,a),to:oe(d,a)}})),P.forEach((e=>{const t=E.indexOf(e),n=_[t],a="leave";w.push(r({},k[e],{state:a,destroyed:!0,left:E[Math.max(0,t-1)],right:E[Math.min(E.length,t+1)],trail:j+=y,config:oe(v,n,a),to:oe(h,n)})),delete k[e]})),S.forEach((e=>{const t=c.indexOf(e),n=l[t],a="update";k[e]=r({},k[e],{item:n,state:a,trail:j+=y,config:oe(v,n,a),to:oe(m,n)})}));let D=c.map((e=>k[e]));return w.forEach((e=>{let t,n=e.left,a=e.right,r=o(e,["left","right"]);-1!==(t=D.findIndex((e=>e.originalKey===n)))&&(t+=1),-1===t&&(t=D.findIndex((e=>e.originalKey===a))),-1===t&&(t=w.findIndex((e=>e.originalKey===n))),-1===t&&(t=w.findIndex((e=>e.originalKey===a))),t=Math.max(0,t),D=[...D.slice(0,t),r,...D.slice(t)]})),{first:n&&0===N.length,transitions:D,current:k,deleted:w,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,a=e.onStart,i=(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,d=e.item,h=e.from,m=e.to,f=e.trail,y=e.config,g=e.destroyed;return s.createElement(Oe,r({reset:l&&"enter"===u,primitive:ke,state:u,filter:se,states:{[u]:m},key:p,onRest:g?this.destroyItem(d,p,u):n&&(e=>n(d,u,e)),onStart:a&&(()=>a(d,u)),onFrame:t&&(e=>t(d,u,e)),delay:f,config:y},c,{from:h,children:e=>{const t=i(d,u,o);return t?t(e):null}}))}))}}Se.defaultProps={keys:e=>e,unique:!1,reset:!1};const je=["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]=_e(t),e)),_e);t.uT=Se,t.q=je},473:function(e){"use strict";e.exports=function(){}},363:function(e){"use strict";e.exports=React},533:function(e){"use strict";e.exports=ReactDOM},462:function(e,t,n){"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},a.apply(this,arguments)}n.r(t),n.d(t,{default:function(){return a}})},366:function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.r(t),n.d(t,{default:function(){return a}})}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,n),r.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 a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},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"}),a=t.Provider;t.Consumer;var o=t,r=window.wp.i18n,s=ctEvents,i=n.n(s),l=function(){const{theme_name:t,theme_custom_description:n,dashboard_has_heading:a}=(0,e.useContext)(o);let s={content:null};return i().trigger("ct:dashboard:heading:after",s),(0,e.createElement)("div",null,(0,e.createElement)("h2",{onClick:function(e){return e.shiftKey&&i().trigger("ct:dashboard:heading:advanced-click")}},"yes"===a&&(0,e.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M25 0c13.807 0 25 11.193 25 25S38.807 50 25 50 0 38.807 0 25 11.193 0 25 0zm5.469 25.701a.246.246 0 00-.332 0L19.36 35.812c-.073.07-.021.188.083.188h10.085a.486.486 0 00.331-.129l4.73-4.438c.548-.515.548-1.351 0-1.867zm0-11a.246.246 0 00-.332 0l-12 11.259a.427.427 0 00-.137.311v8.374c0 .098.126.147.2.078l15.551-14.666c.55-.516.55-1.748 0-2.264zM28.279 14H18.233c-.129 0-.234.099-.234.22v9.425c0 .098.126.148.2.078l10.161-9.535c.074-.07.022-.188-.083-.188z",fill:"#23282D",fillRule:"evenodd"})),t,"yes"===a&&s.content),(0,e.createElement)("p",null,n||(0,r.__)("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),d=n.n(p),h=n(404),m=n.n(h);function f(){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,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}f.__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,a=void 0,o=t.split("?")[0],r=N(o),s=""===r[0],i=O(e),l=0,c=i.length;l<c;l++){var u=!1,p=i[l].route;if(p.default)a={route:p,params:{},uri:t};else{for(var h=N(p.path),m={},f=Math.max(r.length,h.length),y=0;y<f;y++){var g=h[y],v=r[y];if(x(g)){m[g.slice(1)||"*"]=r.slice(y).map(decodeURIComponent).join("/");break}if(void 0===v){u=!0;break}var b=k.exec(g);if(b&&!s){-1===S.indexOf(b[1])||d()(!1);var E=decodeURIComponent(v);m[b[1]]=E}else if(g!==v){u=!0;break}}if(!u){n={route:p,params:m,uri:"/"+r.slice(0,y).join("/")};break}}}return n||a||null},E=function(e,t){if(v(e,"/"))return e;var n=e.split("?"),a=n[0],o=n[1],r=t.split("?")[0],s=N(a),i=N(r);if(""===s[0])return P(r,o);if(!v(s[0],".")){var l=i.concat(s).join("/");return P(("/"===r?"":"/")+l,o)}for(var c=i.concat(s),u=[],p=0,d=c.length;p<d;p++){var h=c[p];".."===h?u.pop():"."!==h&&u.push(h)}return P("/"+u.join("/"),o)},_=function(e,t){var n=e.split("?"),a=n[0],o=n[1],r=void 0===o?"":o,s="/"+N(a).map((function(e){var n=k.exec(e);return n?t[n[1]]:e})).join("/"),i=t.location,l=(i=void 0===i?{}:i).search,c=(void 0===l?"":l).split("?")[1]||"";return P(s,r,c)},k=/^:(.+)/,w=function(e){return k.test(e)},x=function(e){return e&&"*"===e[0]},C=function(e,t){return{route:e,score:e.default?0:N(e.path).reduce((function(e,t){return e+=4,function(e){return""===e}(t)?e+=1:w(t)?e+=2:x(t)?e-=5:e+=3,e}),0),index:t}},O=function(e){return e.map(C).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},N=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},P=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},S=["uri","path"],j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},D=function(e){var t=e.location,n=t.search,a=t.hash,o=t.href,r=t.origin,s=t.protocol,i=t.host,l=t.hostname,c=t.port,u=e.location.pathname;return!u&&o&&F&&(u=new URL(o).pathname),{pathname:encodeURI(decodeURI(u)),search:n,hash:a,href:o,origin:r,protocol:s,host:i,hostname:l,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},M=function(e,t){var n=[],a=D(e),o=!1,r=function(){};return{get location(){return a},get transitioning(){return o},_onTransitionComplete:function(){o=!1,r()},listen:function(t){n.push(t);var o=function(){a=D(e),t({location:a,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=s.state,l=s.replace,c=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{i=j({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}a=D(e),o=!0;var u=new Promise((function(e){return r=e}));return n.forEach((function(e){return e({location:a,action:"PUSH"})})),u}}},F=!("undefined"==typeof window||!window.document||!window.document.createElement),A=M(F?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):""},a=0,o=[n],r=[null];return{get location(){return o[a]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return a},get state(){return r[a]},pushState:function(e,t,n){var s=n.split("?"),i=s[0],l=s[1],c=void 0===l?"":l;a++,o.push({pathname:i,search:c.length?"?"+c:c}),r.push(e)},replaceState:function(e,t,n){var s=n.split("?"),i=s[0],l=s[1],c=void 0===l?"":l;o[a]={pathname:i,search:c},r[a]=e},go:function(e){var t=a+e;t<0||t>r.length-1||(a=t)}}}}()),z=A.navigate,V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};function L(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(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=m()(t);return n.displayName=e,n},W=I("Location"),H=function(e){var t=e.children;return u().createElement(W.Consumer,null,(function(e){return e?t(e):u().createElement(B,null,t)}))},B=function(e){function t(){var n,a;R(this,t);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return n=a=T(this,e.call.apply(e,[this].concat(r))),a.state={context:a.getContext(),refs:{unlisten:null}},T(a,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(!ae(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(W.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(u().Component);B.defaultProps={history:A};var $=I("Base",{baseuri:"/",basepath:"/"}),q=function(e){return u().createElement($.Consumer,null,(function(t){return u().createElement(H,null,(function(n){return u().createElement(G,V({},t,n,e))}))}))},G=function(e){function t(){return R(this,t),T(this,e.apply(this,arguments))}return U(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,a=e.basepath,o=e.primary,r=e.children,s=(e.baseuri,e.component),i=void 0===s?"div":s,l=L(e,["location","navigate","basepath","primary","children","baseuri","component"]),c=u().Children.toArray(r).reduce((function(e,t){var n=le(a)(t);return e.concat(n)}),[]),p=t.pathname,d=b(c,p);if(d){var h=d.params,m=d.uri,f=d.route,y=d.route.value;a=f.default?a:f.path.replace(/\*$/,"");var g=V({},h,{uri:m,location:t,navigate:function(e,t){return n(E(e,m),t)}}),v=u().cloneElement(y,g,y.props.children?u().createElement(q,{location:t,primary:o},y.props.children):void 0),_=o?Y:i,k=o?V({uri:m,location:t,component:i},l):l;return u().createElement($.Provider,{value:{baseuri:m,basepath:a}},u().createElement(_,k,v))}return null},t}(u().PureComponent);G.defaultProps={primary:!0};var K=I("Focus"),Y=function(e){var t=e.uri,n=e.location,a=e.component,o=L(e,["uri","location","component"]);return u().createElement(K.Consumer,null,(function(e){return u().createElement(X,V({},o,{component:a,requestFocus:e,uri:t,location:n}))}))},J=!0,Q=0,X=function(e){function t(){var n,a;R(this,t);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return n=a=T(this,e.call.apply(e,[this].concat(r))),a.state={},a.requestFocus=function(e){!a.state.shouldFocus&&e&&e.focus()},T(a,n)}return U(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return V({shouldFocus:!0},e);var n=e.uri!==t.uri,a=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return V({shouldFocus:n||a},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),a=(t.requestFocus,t.component),o=void 0===a?"div":a,r=(t.uri,t.location,L(t,["children","style","requestFocus","component","uri","location"]));return u().createElement(o,V({style:V({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},r),u().createElement(K.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,a=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==o){var r=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+r+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(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=f,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 i=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;i.call(this,e,t,a)}}}(X);var Z=function(){},ee=u().forwardRef;void 0===ee&&(ee=function(e){return e});var te=ee((function(e,t){var n=e.innerRef,a=L(e,["innerRef"]);return u().createElement($.Consumer,null,(function(e){e.basepath;var o=e.baseuri;return u().createElement(H,null,(function(e){var r=e.location,s=e.navigate,i=a.to,l=a.state,c=a.replace,p=a.getProps,d=void 0===p?Z:p,h=L(a,["to","state","replace","getProps"]),m=E(i,o),f=encodeURI(m),y=r.pathname===f,g=v(r.pathname,f);return u().createElement("a",V({ref:t||n,"aria-current":y?"page":void 0},h,d({isCurrent:y,isPartiallyCurrent:g,href:m,location:r}),{href:m,onClick:function(e){if(h.onClick&&h.onClick(e),ce(e)){e.preventDefault();var t=c;if("boolean"!=typeof c&&y){var n=V({},r.state),a=(n.key,L(n,["key"]));o=V({},l),i=a,t=(u=Object.keys(o)).length===Object.keys(i).length&&u.every((function(e){return i.hasOwnProperty(e)&&o[e]===i[e]}))}s(m,{state:l,replace:t})}var o,i,u}}))}))}))}));function ne(e){this.uri=e}te.displayName="Link";var ae=function(e){return e instanceof ne},oe=function(e){function t(){return R(this,t),T(this,e.apply(this,arguments))}return U(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,a=(e.from,e.replace),o=void 0===a||a,r=e.state,s=(e.noThrow,e.baseuri),i=L(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=E(n,s);t(_(e,i),{replace:o,state:r})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),a=e.baseuri,o=L(e,["navigate","to","from","replace","state","noThrow","baseuri"]),r=E(t,a);return n||function(e){throw new ne(e)}(_(r,o)),null},t}(u().Component),re=function(e){return u().createElement($.Consumer,null,(function(t){var n=t.baseuri;return u().createElement(H,null,(function(t){return u().createElement(oe,V({},t,{baseuri:n},e))}))}))},se=function(e){var t=e.path,n=e.children;return u().createElement($.Consumer,null,(function(e){var a=e.baseuri;return u().createElement(H,null,(function(e){var o=e.navigate,r=e.location,s=function(e,t){return b([{path:e}],t)}(E(t,a),r.pathname);return n({navigate:o,location:r,match:s?V({},s.params,{uri:s.uri,path:t}):null})}))}))},ie=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 a,o,r;if(n.props.path||n.props.default||n.type===re||d()(!1),n.type!==re||n.props.from&&n.props.to||d()(!1),n.type===re&&(a=n.props.from,o=n.props.to,r=function(e){return w(e)},N(a).filter(r).sort().join("/")!==N(o).filter(r).sort().join("/"))&&d()(!1),n.props.default)return{value:n,default:!0};var s=n.type===re?n.props.from:n.props.path,i="/"===s?t:ie(t)+"/"+ie(s);return{value:n,default:n.props.default,path:n.props.children?ie(i)+"/*":i}}},ce=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},ue=n(823);const pe=["path","text"],de=["path","text"];function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},he.apply(this,arguments)}function me(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var fe=function(){const t=[],n=[],{theme_version:a}=(0,e.useContext)(o);return i().trigger("ct:dashboard:navigation-links",t),i().trigger("ct:dashboard:end-navigation-links",n),ctDashboardLocalizations.plugin_data.hide_plugins_tab,(0,e.createElement)("ul",{className:"dashboard-navigation"},(0,e.createElement)("li",null,(0,e.createElement)(te,{to:"/"},(0,r.__)("Home","blocksy"))),t.map((function(t){let{path:n,text:a}=t,o=me(t,pe);return(0,e.createElement)("li",{key:n},(0,e.createElement)(te,he({to:n},o),a))})),!ctDashboardLocalizations.plugin_data.hide_plugins_tab&&(0,e.createElement)("li",null,(0,e.createElement)(te,{to:"/plugins"},(0,r.__)("Useful Plugins","blocksy"))),!ctDashboardLocalizations.plugin_data.hide_changelogs_tab&&(0,e.createElement)("li",null,(0,e.createElement)(te,{to:"/changelog"},(0,r.__)("Changelog","blocksy"),(0,e.createElement)("span",{className:"ct-version"},a))),(!ctDashboardLocalizations.plugin_data||!ctDashboardLocalizations.plugin_data.is_pro)&&(0,e.createElement)("li",{className:"ct-pro-tab"},(0,e.createElement)(te,{to:"/pro"},(0,r.__)("Free vs Pro","blocksy"))),n.map((function(t){let{path:n,text:a}=t,o=me(t,de);return(0,e.createElement)("li",{key:n},(0,e.createElement)(te,he({to:n},o),a))})))},ye=n(184),ge=n.n(ye),ve=function(){return ctDashboardLocalizations.plugin_data.hide_support_section?null:(0,e.createElement)("div",{className:"ct-support-container"},(0,e.createElement)("h2",null,(0,r.__)("Need help or advice?","blocksy")),(0,e.createElement)("p",null,(0,r.__)("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)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},(0,r.__)("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,r.__)("Join Facebook Community","blocksy")))},be=jQuery,Ee=n.n(be),_e=function(){const{is_companion_active:t,companion_download_link:n,child_download_link:a}=(0,e.useContext)(o);let s={content:null},l={content:null};const[c,u]=(0,e.useState)(!1),[p,d]=(0,e.useState)(!1);i().trigger("ct:dashboard:home:before",s),i().trigger("ct:dashboard:home:after",l);const h=p||t;return(0,e.createElement)("section",null,s.content,(0,e.createElement)("div",{className:"ct-first-steps-container"},(0,e.createElement)("h2",null,(0,r.__)("Customizer Shortcuts","blocksy")),(0,e.createElement)("ul",{className:"ct-first-steps"},(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M15.8,5.9L10,0L4.2,5.9C1,9.1,1,14.3,4.2,17.6C5.8,19.2,7.9,20,10,20s4.2-0.8,5.8-2.4C19,14.3,19,9.1,15.8,5.9z M10,17.9c-1.6,0-3.2-0.6-4.4-1.8c-1.2-1.2-1.8-2.7-1.8-4.4s0.6-3.2,1.8-4.4L10,2.9V17.9z"})),(0,e.createElement)("h4",null,(0,r.__)("Color Options","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Set the theme global colors, select the font, button and background colors.","blocksy")),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=color")}`,className:"ct-button"},(0,r.__)("Go to option","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M20,17.5v-15C20,1.1,18.9,0,17.5,0h-15C1.1,0,0,1.1,0,2.5v15C0,18.9,1.1,20,2.5,20h15C18.9,20,20,18.9,20,17.5z M18.8,17.6c0,0.6-0.6,1.2-1.2,1.2h-15c-0.7,0-1.2-0.5-1.2-1.2V7h17.5V17.6z"})),(0,e.createElement)("h4",null,(0,r.__)("Header Options","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Set the theme header type, set the colors, spacing, alignment and more.","blocksy")),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=header")}`,className:"ct-button","data-hover":"white"},(0,r.__)("Go to option","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M18,0H5.3c-1.1,0-2,1.1-2,2.4V4H2C0.9,4,0,5.1,0,6.4v0.8v9.6v0.8C0,18.9,0.9,20,2,20h3.3h1.3H18c1.1,0,2-1.1,2-2.4V2.4C20,1.1,19.1,0,18,0zM3.3,16.8c0,0.4-0.3,0.8-0.7,0.8c-0.4,0-0.7-0.4-0.7-0.8V6.6c0-0.1,0.1-0.2,0.2-0.2h0.9c0.1,0,0.2,0.1,0.2,0.2V16.8z M18,17.4c0,0.1-0.1,0.2-0.2,0.2H5.2c0.1-0.3,0.1-0.5,0.1-0.8V7.2c0,0,0,0,0,0V2.6c0-0.1,0.1-0.2,0.2-0.2h12.3c0.1,0,0.2,0.1,0.2,0.2V17.4z M6.9,5.3c-0.1,0-0.2-0.1-0.2-0.2V3.5c0-0.1,0.1-0.2,0.2-0.2h9.6c0.1,0,0.2,0.1,0.2,0.2v1.6c0,0.1-0.1,0.2-0.2,0.2H6.9z M16.5,13.3c0.1,0,0.2-0.1,0.2-0.2V9.5c0-0.1-0.1-0.2-0.2-0.2h-4.3c-0.1,0-0.2,0.1-0.2,0.2v3.6c0,0.1,0.1,0.2,0.2,0.2H16.5zM10.7,7.3c0-0.4-0.3-0.7-0.7-0.7H7.3C7,6.7,6.7,7,6.7,7.3l0,0C6.7,7.7,7,8,7.3,8H10C10.4,8,10.7,7.7,10.7,7.3L10.7,7.3z M10.7,10c0-0.4-0.3-0.7-0.7-0.7H7.3C7,9.3,6.7,9.6,6.7,10l0,0c0,0.4,0.3,0.7,0.7,0.7H10C10.4,10.7,10.7,10.4,10.7,10L10.7,10z M16.7,7.3c0-0.4-0.3-0.7-0.7-0.7h-3.3C12.3,6.7,12,7,12,7.3l0,0C12,7.7,12.3,8,12.7,8H16C16.4,8,16.7,7.7,16.7,7.3L16.7,7.3z M10.7,15.3c0,0.4-0.3,0.7-0.7,0.7H7.3c-0.4,0-0.7-0.3-0.7-0.7l0,0c0-0.4,0.3-0.7,0.7-0.7H10C10.4,14.7,10.7,15,10.7,15.3L10.7,15.3zM16.7,15.3c0,0.4-0.3,0.7-0.7,0.7h-3.3c-0.4,0-0.7-0.3-0.7-0.7l0,0c0-0.4,0.3-0.7,0.7-0.7H16C16.4,14.7,16.7,15,16.7,15.3L16.7,15.3z M10.7,12.7c0-0.4-0.3-0.7-0.7-0.7H7.3c-0.4,0-0.7,0.3-0.7,0.7l0,0c0,0.4,0.3,0.7,0.7,0.7H10C10.4,13.3,10.7,13,10.7,12.7L10.7,12.7z"})),(0,e.createElement)("h4",null,(0,r.__)("Blog Options","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Set the blog entries type, number of cards, spacing, colors and more.","blocksy")),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=blog_posts")}`,className:"ct-button","data-hover":"white"},(0,r.__)("Go to option","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M18,2h-2v16h2c1.1,0,2-0.9,2-2V4C20,2.9,19.1,2,18,2z"}),(0,e.createElement)("path",{d:"M13.1,0H1.9C0.8,0,0,0.9,0,2v16c0,1.1,0.8,2,1.9,2h11.2c1,0,1.9-0.9,1.9-2V2C15,0.9,14.2,0,13.1,0zM13,16c0,0.5-0.5,1-1,1H3c-0.5,0-1-0.5-1-1v-2c0-0.5,0.5-1,1-1h9c0.5,0,1,0.5,1,1V16zM12.5,11h-10C2.2,11,2,10.8,2,10.5C2,10.2,2.2,10,2.5,10h10c0.3,0,0.5,0.2,0.5,0.5C13,10.8,12.8,11,12.5,11z M12.5,8h-10C2.2,8,2,7.8,2,7.5C2,7.2,2.2,7,2.5,7h10C12.8,7,13,7.2,13,7.5C13,7.8,12.8,8,12.5,8zM12.5,5h-10C2.2,5,2,4.8,2,4.5C2,4.2,2.2,4,2.5,4h10C12.8,4,13,4.2,13,4.5C13,4.8,12.8,5,12.5,5z"})),(0,e.createElement)("h4",null,(0,r.__)("Page Options","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Set the page container width, spacing, sidebar and more.","blocksy")),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=single_pages")}`,className:"ct-button","data-hover":"white"},(0,r.__)("Go to option","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M0,2.5l0,15C0,18.9,1.1,20,2.5,20h15c1.4,0,2.5-1.1,2.5-2.5v-15C20,1.1,18.9,0,17.5,0l-15,0C1.1,0,0,1.1,0,2.5z M2.4,1.1H13v17.5H2.4c-0.7,0-1.2-0.5-1.2-1.2v-15C1.2,1.8,1.8,1.2,2.4,1.1L2.4,1.1z"})),(0,e.createElement)("h4",null,(0,r.__)("Sidebar Options","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Set the sidebar width, design type, spacing, colors.","blocksy")),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=sidebar")}`,className:"ct-button","data-hover":"white"},(0,r.__)("Go to option","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},(0,e.createElement)("path",{d:"M17.5,0h-15C1.1,0,0,1.1,0,2.5v15C0,18.9,1.1,20,2.5,20h15c1.4,0,2.5-1.1,2.5-2.5v-15C20,1.1,18.9,0,17.5,0z M18.8,13H1.2V2.4c0-0.6,0.6-1.2,1.2-1.2h15c0.7,0,1.2,0.5,1.2,1.2V13z"})),(0,e.createElement)("h4",null,(0,r.__)("Footer Options","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Set the footer type, number of columns, spacing and colors.","blocksy")),(0,e.createElement)("a",{href:`${ctDashboardLocalizations.customizer_url}${encodeURI("[section]=footer")}`,className:"ct-button","data-hover":"white"},(0,r.__)("Go to option","blocksy")))),"active"!==t&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h2",{className:"ct-downloads-heading"},(0,r.__)("Downloads","blocksy")),(0,e.createElement)("ul",{className:"ct-downloads"},(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",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,e.createElement)("h3",null,(0,r.__)("Blocksy Companion","blocksy")),(0,e.createElement)("p",null,(0,r.__)("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),Ee().ajax(ajaxurl,{type:"POST",data:{action:"blocksy_notice_button_click"}}).then((function(e){let{success:t,data:n}=e;t&&(d(n.status),"active"===n.status&&location.assign(n.pluginUrl)),u(!1)}))}},c?(0,r.__)("Installing & activating...","blocksy"):"uninstalled"===h?(0,r.__)("Install Blocksy Companion","blocksy"):"installed"===h?(0,r.__)("Activate Blocksy Companion","blocksy"):(0,r.__)("Blocksy Companion active!","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("svg",{width:"20",height:"20",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,e.createElement)("h3",null,(0,r.__)("Blocksy Child Theme","blocksy")),(0,e.createElement)("p",null,(0,r.__)("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:a,target:"_blank"},(0,r.__)("Download now","blocksy")))))),l.content,(0,e.createElement)(ve,null))},ke=function(t){let{status:n,plugin:a,onPluginsSync:o}=t;const[s,i]=(0,e.useState)(!1),l=async function(e,t){const n=new FormData;n.append("plugin",e),n.append("action",t),i(!0);try{await fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:n}),o()}catch(e){}i(!1)};return(0,e.createElement)("li",null,(0,e.createElement)("h4",{className:"ct-extension-title"},a.title,s&&(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"})))))),a.description&&(0,e.createElement)("div",{className:"ct-extension-description"},a.description),(0,e.createElement)("div",{className:"ct-extension-actions"},"activated"===n&&(0,e.createElement)("a",{onClick:function(){return l(a.name,"premium_plugin_deactivate")},className:"ct-button"},(0,r.__)("Deactivate","blocksy")),"deactivated"===n&&(0,e.createElement)("a",{onClick:function(){return l(a.name,"premium_plugin_activate")},className:"ct-button-primary"},(0,r.__)("Activate","blocksy")),"uninstalled"===n&&!a.comingsoon&&"link"!==a.type&&(0,e.createElement)("a",{onClick:function(){return l(a.name,"premium_plugin_download")},className:"ct-button"},(0,r.__)("Install","blocksy")),"uninstalled"===n&&!a.comingsoon&&"link"===a.type&&(0,e.createElement)("a",{href:a.link,className:"ct-button",target:"_blank"},(0,r.__)("Download","blocksy")),"uninstalled"===n&&a.comingsoon&&(0,e.createElement)("span",{className:"ct-badge"},(0,r.__)("COMING SOON","blocksy"))))};let we=null,xe=ctDashboardLocalizations.clean_install_plugins;var Ce=function(){const[t,n]=(0,e.useState)(!we),[a,o]=(0,e.useState)(we||[]),s=Object.values(xe).map((function(e,t){return e.name=Object.keys(xe)[t],e})),i=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&n(!0);const t=new FormData;t.append("action","get_premium_plugins_status");try{const e=await fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});if(200===e.status){const{success:t,data:n}=await e.json();t&&(o(n),we=n)}}catch(e){}n(!1)};return(0,e.useEffect)((function(){i(!we)}),[]),(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)("span",null),(0,r.__)("Loading Plugins Status...","blocksy"))}:function(t){return(0,e.createElement)(ue.q.div,{style:t},s.length>0&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("ul",{className:"ct-extensions-list"},s.map((function(t){return(0,e.createElement)(ke,{plugin:t,key:t.name,onPluginsSync:function(){return i()},status:(a.find((function(e){let{name:n}=e;return n===t.name}))||{}).status})}))),(0,e.createElement)(ve,null)))}})))},Oe=window.wp.date;let Ne=null;const Pe=function(t){let{versionDescriptor:n}=t;const[a,...o]=n.descriptor.split(/\r?\n/);return(0,e.createElement)("section",null,(0,e.createElement)("h2",null,(0,r.sprintf)((0,r.__)("Version: %s","blocksy"),n.version),(0,e.createElement)("span",null,(0,r.sprintf)((0,r.__)("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 Se=function(){const[t,n]=(0,e.useState)(!Ne),[a,o]=(0,e.useState)(Ne),[s,i]=(0,e.useState)(0);let l=!1;return window.ctDashboardLocalizations&&window.ctDashboardLocalizations.plugin_data&&window.ctDashboardLocalizations.plugin_data.has_beta_consent&&(l=window.ctDashboardLocalizations.plugin_data.has_beta_consent),(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),Ne=n.changelog)}}catch(e){}n(!1)}(!Ne)}),[]),(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)("span",null),(0,r.__)("Loading changelog...","blocksy"))}:function(t){return(0,e.createElement)(ue.q.div,{style:t},(0,e.createElement)("div",{className:ge()("changelog-info",{"has-sources":a&&a.length>1})},a&&a.length>1&&(0,e.createElement)("ul",{className:"changelog-sources"},a.map((function(t,n){let{title:a}=t;return(0,e.createElement)("li",{className:ge()({active:n===s}),onClick:function(){return i(n)},key:a},a)}))),(0,e.createElement)("ul",{className:"changelog-explanation"},(0,e.createElement)("li",null,(0,e.createElement)("span",{className:"new"})," ",(0,r.__)("New","blocksy")),(0,e.createElement)("li",null,(0,e.createElement)("span",{className:"fix"})," ",(0,r.__)("Fix","blocksy")),(0,e.createElement)("li",null,(0,e.createElement)("span",{className:"improvement"}),(0,r.__)("Update","blocksy")))),(0,e.createElement)("div",{className:"changelog-items"},a[s].changelog?function(e){let{hasBetas:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.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,Oe.dateI18n)("F j, Y",new Date(n.trim())),descriptor:e}})).filter((function(e){let{version:n}=e;return!!t||-1===n.indexOf("beta")}))}(a[s].changelog,{hasBetas:l}).map((function(t){return(0,e.createElement)(Pe,{key:t.version,versionDescriptor:t})})):(0,r.__)("No changelog present at the moment.","blocksy")))}})))};function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe=function(){return window.ctDashboardLocalizations&&window.ctDashboardLocalizations.plugin_data&&window.ctDashboardLocalizations.plugin_data.is_pro?null:(0,e.createElement)("section",{className:"ct-comparison-table"},(0,e.createElement)("ul",null,(0,e.createElement)("li",{className:"ct-table-heading"},(0,e.createElement)("span",null,(0,r.__)("General Features","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Free","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Pro","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Global color palette","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Related posts module","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Trending posts module","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Newsletter subscribe module","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Cookies notice module","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Custom widgets","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Google fonts","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Custom post types support","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("WooCommerce support","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Multiple conditional sidebars","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Content blocks (hooks)","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Custom code snippets","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Custom fonts (+ support for variable fonts)","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Adobe Typekit fonts","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Local Google fonts (GDPR)","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Advanced menu (mega menu)","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Shortcuts bar","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("White label (only in Agency package)","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}))),(0,e.createElement)("ul",null,(0,e.createElement)("li",{className:"ct-table-heading"},(0,e.createElement)("span",null,(0,r.__)("Header Features","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Free","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Pro","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Header builder","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Transparent header","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Sticky header","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Multiple conditional headers","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Duplicate headers items","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Desktop off-canvas drawer","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("More headers items","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}))),(0,e.createElement)("ul",null,(0,e.createElement)("li",{className:"ct-table-heading"},(0,e.createElement)("span",null,(0,r.__)("Footer Features","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Free","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Pro","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Footer builder","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Footer reveal effect","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Multiple conditional footers","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Duplicate footer items","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("More footer items","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}))),(0,e.createElement)("ul",null,(0,e.createElement)("li",{className:"ct-table-heading"},(0,e.createElement)("span",null,(0,r.__)("WooCommerce Features","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Free","blocksy")),(0,e.createElement)("span",null,(0,r.__)("Pro","blocksy"))),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Advanced archive layouts","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Advanced single product layouts","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("AJAX add to cart","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Quick view module","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Floating cart","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Off-canvas filters","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Off-canvas cart","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("More single product layouts","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Product share icons","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Product gallery slider","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"})),(0,e.createElement)("li",null,(0,e.createElement)("span",null,(0,r.__)("Wishlist","blocksy")),(0,e.createElement)("span",{className:"dashicons dashicons-no-alt"}),(0,e.createElement)("span",{className:"dashicons dashicons-yes"}))),(0,e.createElement)("div",{className:"ct-cta-container"},(0,e.createElement)("svg",{width:"55",height:"55",viewBox:"0 0 40.5 48.3"},(0,e.createElement)("path",{fill:"#2d82c8",d:"M33.4 29.4l7.1 12.3-7.4.6-4 6-7.3-12.9"}),(0,e.createElement)("path",{d:"M33.5 29.6L26 42.7l-4.2-7.3 11.6-6 .1.2zM0 41.7l7.5.6 3.9 6 7.2-12.4-11-7.3L0 41.7z",fill:"#2271b1"}),(0,e.createElement)("path",{d:"M39.5 18.7c0 1.6-2.4 2.8-2.7 4.3-.4 1.5 1 3.8.2 5.1-.8 1.3-3.4 1.2-4.5 2.3-1.1 1.1-1 3.7-2.3 4.5-1.3.8-3.6-.6-5.1-.2-1.5.4-2.7 2.7-4.3 2.7S18 35 16.5 34.7c-1.5-.4-3.8 1-5.1.2s-1.2-3.4-2.3-4.5-3.7-1-4.5-2.3.6-3.6.2-5.1-2.7-2.7-2.7-4.3 2.4-2.8 2.7-4.3c.4-1.5-1-3.8-.2-5.1C5.4 8 8.1 8.1 9.1 7c1.1-1.1 1-3.7 2.3-4.5s3.6.6 5.1.2C18 2.4 19.2 0 20.8 0c1.6 0 2.8 2.4 4.3 2.7 1.5.4 3.8-1 5.1-.2 1.3.8 1.2 3.4 2.3 4.5 1.1 1.1 3.7 1 4.5 2.3s-.6 3.6-.2 5.1c.3 1.5 2.7 2.7 2.7 4.3z",fill:"#599fd9"}),(0,e.createElement)("path",{d:"M23.6 7c-6.4-1.5-12.9 2.5-14.4 8.9-.7 3.1-.2 6.3 1.5 9.1 1.7 2.7 4.3 4.6 7.4 5.4.9.2 1.9.3 2.8.3 2.2 0 4.4-.6 6.3-1.8 2.7-1.7 4.6-4.3 5.4-7.5C34 15 30 8.5 23.6 7zm7 14c-.6 2.6-2.2 4.8-4.5 6.2-2.3 1.4-5 1.8-7.6 1.2-2.6-.6-4.8-2.2-6.2-4.5-1.4-2.3-1.8-5-1.2-7.6.6-2.6 2.2-4.8 4.5-6.2 1.6-1 3.4-1.5 5.2-1.5.8 0 1.5.1 2.3.3 5.4 1.3 8.7 6.7 7.5 12.1zm-8.2-4.5l3.7.5-2.7 2.7.7 3.7-3.4-1.8-3.3 1.8.6-3.7-2.7-2.7 3.8-.5 1.6-3.4 1.7 3.4z",fill:"#fff"})),(0,e.createElement)("h2",null,(0,r.__)("Upgrade Now","blocksy")),(0,e.createElement)("p",null,(0,r.__)("Upgrade to the Pro version and get instant access to all premium extensions, features and future updates.","blocksy")),(0,e.createElement)("a",{href:"https://creativethemes.com/blocksy/pricing/",className:"ct-button-primary",target:"_blank"},(0,r.__)("Get Blocksy Pro Now","blocksy"))))};const Ae=["Component","key","path"];function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ze.apply(this,arguments)}function Ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.ctDashboardLocalizations.DashboardContext=o;let Te=M({get location(){return De(De({},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 Ue=function(t){let{children:n}=t;return(0,e.createElement)(H,null,(function(t){let{location:a,navigate:o,history:r}=t;return(0,e.createElement)(ue.uT,{items:a,initial:null,immediate:(a.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){return function(a){return(0,e.createElement)(ue.q.div,{style:Le({},a)},(0,e.createElement)(q,{primary:!1,location:t,navigate:o},n))}}))}))};class Ie extends e.Component{render(){const t=[];return i().trigger("ct:dashboard:routes",t),(0,e.createElement)(B,{history:Te},(0,e.createElement)(a,{value:Le(Le(Le({},{theme_version:"1.0.0",theme_name:"Word"}),ctDashboardLocalizations),{},{Link:te,Location:H,navigate:z,history:Te,Match:se})},(0,e.createElement)("header",null,(0,e.createElement)(l,null),(0,e.createElement)(fe,null)),(0,e.createElement)("section",null,(0,e.createElement)(Ue,{primary:!1,className:"router"},(0,e.createElement)(_e,{path:"/"}),(0,e.createElement)(Ce,{path:"plugins"}),(0,e.createElement)(Se,{path:"changelog"}),(0,e.createElement)(Fe,{path:"pro"}),t.map((function(t){let{Component:n,key:a,path:o}=t,r=function(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,Ae);return(0,e.createElement)(n,ze({key:a||o,path:o},r))}))))))}}document.addEventListener("DOMContentLoaded",(function(){document.getElementById("ct-dashboard")&&(0,e.render)((0,e.createElement)(Ie,null),document.getElementById("ct-dashboard"))}))}()}();
//# sourceMappingURL=main.js.map