!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=19)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=React},function(e,t){e.exports=ctEvents},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(16)),i=r(n(17)),a=r(n(2)),s=r(n(18));let c=void 0,l=void 0,u=[],p=e=>"undefined"!=typeof window&&window.requestAnimationFrame(e),h=e=>"undefined"!=typeof window&&window.cancelAnimationFrame(e),d=void 0,f=()=>Date.now(),m=void 0,y=void 0;const b=(e,t)=>l={fn:e,transform:t},v=e=>u=e,g=e=>c=e,O=e=>d=e,j=e=>m=e,w=e=>y=e;var E=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return l},get colorNames(){return u},get requestFrame(){return p},get cancelFrame(){return h},get interpolation(){return d},get now(){return f},get defaultElement(){return m},get createAnimatedStyle(){return y},injectApplyAnimatedValues:b,injectColorNames:v,injectBugfixes:g,injectInterpolation:O,injectFrame:(e,t)=>{var n=[e,t];return p=n[0],h=n[1],n},injectNow:e=>f=e,injectDefaultElement:j,injectCreateAnimatedStyle:w});class _{attach(){}detach(){}getValue(){}getAnimatedValue(){return this.getValue()}addChild(e){}removeChild(e){}getChildren(){return[]}}const x=e=>Object.keys(e).map(t=>e[t]);class k extends _{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 k{constructor(){super(...arguments),this.payload=[],this.getAnimatedValue=()=>this.getValue(),this.attach=()=>this.payload.forEach(e=>e instanceof _&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof _&&e.removeChild(this))}}class S extends k{constructor(){super(...arguments),this.payload={},this.getAnimatedValue=()=>this.getValue(!0),this.attach=()=>x(this.payload).forEach(e=>e instanceof _&&e.addChild(this)),this.detach=()=>x(this.payload).forEach(e=>e instanceof _&&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 _)&&(t[n]=r instanceof _?r[e?"getAnimatedValue":"getValue"]():r)}return t}}class P extends S{constructor(e){super(),!(e=e||{}).transform||e.transform instanceof _||(e=l.transform(e)),this.payload=e}}const A={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(d&&e.output&&"string"==typeof e.output[0])return d(e);if(Array.isArray(e))return M.create({range:e,output:t,extrapolate:n||"extend"});let r=e.output,o=e.range||[0,1],i=e.easing||(e=>e),a="extend",s=e.map;void 0!==e.extrapolateLeft?a=e.extrapolateLeft:void 0!==e.extrapolate&&(a=e.extrapolate);let c="extend";return void 0!==e.extrapolateRight?c=e.extrapolateRight:void 0!==e.extrapolate&&(c=e.extrapolate),e=>{let t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,o);return function(e,t,n,r,o,i,a,s,c){let l=c?c(e):e;if(ln){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=i(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,o[t],o[t+1],r[t],r[t+1],i,a,c,s)}}}const D="[-+]?\\d*\\.?\\d+";function V(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}const R=new RegExp("rgb"+V(D,D,D)),F=new RegExp("rgba"+V(D,D,D,D)),z=new RegExp("hsl"+V(D,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),T=new RegExp("hsla"+V(D,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",D)),U=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,L=/^#([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})$/,N=/^#([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,i=W(o,r,e+1/3),a=W(o,r,e),s=W(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function B(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 $(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 K(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:A.hasOwnProperty(e)?A[e]:(t=R.exec(e))?(B(t[1])<<24|B(t[2])<<16|B(t[3])<<8|255)>>>0:(t=F.exec(e))?(B(t[1])<<24|B(t[2])<<16|B(t[3])<<8|$(t[4]))>>>0:(t=U.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=N.exec(e))?parseInt(t[1],16)>>>0:(t=L.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|H(q(t[1]),G(t[2]),G(t[3])))>>>0:(t=T.exec(e))?(H(q(t[1]),G(t[2]),G(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 Y=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Z=/(#(?:[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(A).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=M.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=M.create(t,n)}}class X extends k{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=()=>function e(t,n){"function"==typeof t.update?n.add(t):t.getChildren().forEach(t=>e(t,n))}(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,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 Q(this,e,t),this.payload=e.map(e=>new X(e))}}function te(e,t){return null==e?t:e}function ne(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function re(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),r=1;re[t])}function ae(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:i({},n,{[r]:e[r]}),{});return i({to:t},n)}function se(e,t){let n=t[0],r=t[1];return i({},e,{[n]:new(Array.isArray(r)?ee:X)(r)})}function ce(e){const t=e.from,n=e.to,r=e.native,o=Object.entries(i({},t,n));return r?o.reduce(se,{}):i({},t,n)}function le(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 he=["Webkit","Ms","Moz","O"];function de(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)=>(he.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),pe);const fe={};w(e=>new P(e)),j("div"),O((function(e){const t=e.output.map(e=>e.replace(Z,K)).map(e=>e.replace(J,K)),n=t[0].match(Y).map(()=>[]);t.forEach(e=>{e.match(Y).forEach((e,t)=>n[t].push(+e))});const r=t[0].match(Y).map((t,r)=>M.create(i({},e,{output:n[r]})));return e=>{let n=0;return t[0].replace(Y,()=>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(A),g((function(e,t){const n=e.from,r=e.to,o=e.children;if(!ie(r).some(ue)&&!ie(n).some(ue))return;let c=o(ce(e));if(!c)return;Array.isArray(c)&&(c={type:"div",props:{children:c}});const l=c.props.style;return a.createElement(c.type,i({key:c.key?c.key:void 0},c.props,{style:i({},l,{position:"absolute",visibility:"hidden"}),ref:o=>{if(o){let a,c,l=s.findDOMNode(o),u=getComputedStyle(l);if("border-box"===u.boxSizing)a=l.offsetWidth,c=l.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);a=l.offsetWidth-e-n,c=l.offsetHeight-t-r}const p=((e,t)=>(n,r)=>{let o=r[0],a=r[1];return i({},n,{[o]:"auto"===a?~o.indexOf("height")?t:e:a})})(a,c);t(i({},e,{from:Object.entries(n).reduce(p,n),to:Object.entries(r).reduce(p,r)}))}}}))})),b((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const i=t.style,a=t.children,s=t.scrollTop,c=t.scrollLeft,l=o(t,["style","children","scrollTop","scrollLeft"]);void 0!==s&&(e.scrollTop=s),void 0!==c&&(e.scrollLeft=c),void 0!==a&&(e.textContent=a);for(let t in i)if(i.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=de(t,i[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in l){const n=fe[t]||(fe[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));void 0!==e.getAttribute(n)&&e.setAttribute(n,l[t])}}},e=>e);let me=!1;const ye=new Set,be=()=>{let e=f();for(let t of ye){let n=!0,r=!0;for(let o=0;o=t.startTime+s.delay+s.duration;else if(s.decay)p=l+d/(1-.998)*(1-Math.exp(-(1-.998)*(e-t.startTime))),i=Math.abs(c.lastPosition-p)<.1,i&&(u=p);else{a=void 0!==c.lastTime?c.lastTime:e,d=void 0!==c.lastVelocity?c.lastVelocity:s.initialVelocity,e>a+64&&(a=e);let t=Math.floor(e-a);for(let e=0;eu:p{ye.has(e)&&ye.delete(e)};class ge{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(i({},e,t))}update(e){this.props=i({},this.props,e);let t=this.props.interpolateTo?ae(this.props):this.props,n=t.from,r=void 0===n?{}:n,o=t.to,a=void 0===o?{}:o,s=t.config,c=void 0===s?{}:s,l=t.delay,p=void 0===l?0:l,h=t.reverse,d=t.attach,f=t.reset,m=t.immediate,y=t.autoStart,b=t.ref;if(h){var v=[a,r];r=v[0],a=v[1]}this.hasChanged=!1;let g=d&&d(this),O=f?{}:this.merged;if(this.merged=i({},r,O,a),this.animations=Object.entries(this.merged).reduce((e,t,n)=>{let o=t[0],a=t[1],s=!f&&e[o]||{};const l="number"==typeof a,h="string"==typeof a&&!a.startsWith("#")&&!/\d/.test(a)&&!u[a],d=!l&&!h&&Array.isArray(a);let y=void 0!==r[o]?r[o]:a,b=l||d||h?a:1,v=oe(c,o);if(g&&(b=g.animations[o].parent),void 0===v.decay&&re(s.changes,a))return e;{let t,n;if(this.hasChanged=!0,l||h)t=n=s.parent||new X(y);else if(d)t=n=s.parent||new ee(y);else{const e=s.interpolation&&s.interpolation.calc(s.parent.value);s.parent?(t=s.parent,t.setValue(0,!1)):t=new X(0);const r={output:[void 0!==e?e:y,a]};s.interpolation?(n=s.interpolation,s.interpolation.updateConfig(r)):n=t.interpolate(r)}oe(m,o)&&t.setValue(a,!1);const r=ne(t.getPayload());return r.forEach(e=>e.prepare(this)),i({},e,{[o]:i({},s,{name:o,parent:t,interpolation:n,animatedValues:r,changes:a,fromValues:ne(t.getValue()),toValues:ne(g?b.getPayload():b),immediate:oe(m,o),delay:te(v.delay,p||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=ie(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 j=arguments.length,w=new Array(j>1?j-1:0),E=1;Ethis.resolve=e)}stop(e){void 0===e&&(e=!1),e&&ie(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 Oe extends S{constructor(e,t){super(),e.style&&(e=i({},e,{style:y(e.style)})),this.payload=e,this.update=t,this.attach()}}function je(e){class t extends a.Component{constructor(e){super(),this.callback=()=>{if(this.node){!1===l.fn(this.node,this.propsAnimated.getAnimatedValue(),this)&&this.forceUpdate()}},this.attachProps(e)}componentWillUnmount(){this.propsAnimated&&this.propsAnimated.detach()}setNativeProps(e){!1===l.fn(this.node,e,this)&&this.forceUpdate()}attachProps(e){e.forwardRef;let t=o(e,["forwardRef"]);const n=this.propsAnimated;this.propsAnimated=new Oe(t,this.callback),n&&n.detach()}shouldComponentUpdate(e){const t=e.style,n=o(e,["style"]),r=this.props,i=r.style;return(!re(o(r,["style"]),n)||!re(i,t))&&(this.attachProps(e),!0)}render(){const t=this.propsAnimated.getValue(),n=(t.scrollTop,t.scrollLeft,o(t,["scrollTop","scrollLeft"]));return a.createElement(e,i({},n,{ref:e=>this.node=le(e,this.props.forwardRef)}))}}return a.forwardRef((e,n)=>a.createElement(t,i({},e,{forwardRef:n})))}const we={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 Ee extends a.Component{constructor(){super(...arguments),this.state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},this.controller=new ge(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(i({},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=ce(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,i=e.to,a=e.reset,s=e.force;return{propsChanged:!re(i,r.to)||!re(o,r.from)||a&&!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=i({},this.controller.getValues(),this.afterInject);return this.finished&&(n=i({},n,this.props.after)),Object.keys(n).length?e(n):null}componentDidUpdate(){this.didUpdate&&this.start(),this.didUpdate=!1}}Ee.defaultProps={from:{},to:{},config:we.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};class _e extends a.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,c=e.initial,l=e.reverse,u=e.keys,p=e.delay,h=e.onRest,d=o(e,["items","children","from","initial","reverse","keys","delay","onRest"]),f=ne(t);return ne(f).map((e,t)=>a.createElement(Ee,i({onRest:0===t?h:null,key:"function"==typeof u?u(e):ne(u)[t],from:this.first&&void 0!==c?c||{}:s},d,{delay:0===t&&p||void 0,attach:e=>this.hook(e,t,f.length,l),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()}}_e.defaultProps={keys:e=>e};class xe extends a.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,i=n.state;if((e.state!==this.props.state||this.props.reset&&!this.running||!re(r[i],e.states[e.state]))&&r&&i&&r[i]){const e=++this.guid,n=r[i];if(n)if(Array.isArray(n)){let t=Promise.resolve();for(let r=0;re===this.guid&&this.next(o(a),s,i))}}else if("function"==typeof n){let r=0;n((function(n,i){return void 0===i&&(i=!1),e===t.guid&&t.next(o(n),i,r++)}),()=>p(()=>this.instance&&this.instance.stop()),this.props)}else this.next(o(r[i]))}}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 c=this.props,l=(c.state,c.filter,c.states,c.config),u=c.primitive,p=c.onRest,h=c.forwardRef,d=o(c,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(l)&&(l=l[s]),a.createElement(u,i({ref:e=>this.instance=le(e,h),config:l},d,t,{onRest:e=>{n(e),p&&r&&p(e)}}))}}xe.defaultProps={state:"__default"};const ke=a.forwardRef((e,t)=>a.createElement(xe,i({},e,{forwardRef:t})));ke.create=e=>function(t,n){return void 0===n&&(n=e=>e),("function"==typeof t||Array.isArray(t))&&(t={__default:t}),r=>a.createElement(xe,i({primitive:e,states:t,filter:n},r))},ke.Spring=e=>ke.create(Ee)(e,ae),ke.Trail=e=>ke.create(_e)(e,ae);let Ce=0,Se=e=>{let t=e.items,n=e.keys,r=o(e,["items","keys"]);return t=ne(void 0!==t?t:null),n="function"==typeof n?t.map(n):ne(n),i({items:t,keys:n.map(e=>String(e))},r)};class Pe extends a.PureComponent{componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}constructor(e){super(e),this.destroyItem=(e,t,n)=>r=>{const o=this.props,i=o.onRest,a=o.onDestroyed;this.mounted&&(a&&a(e),this.setState(e=>({deleted:e.deleted.filter(e=>e.key!==t)})),i&&i(e,n,r))},this.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e}}static getDerivedStateFromProps(e,t){let n=t.first,r=t.prevProps,a=o(t,["first","prevProps"]),s=Se(e),c=s.items,l=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,b=s.unique,v=s.config,g=Se(r),O=g.keys,j=g.items,w=i({},a.current),E=[...a.deleted],_=Object.keys(w),x=new Set(_),k=new Set(l),C=l.filter(e=>!x.has(e)),S=a.transitions.filter(e=>!e.destroyed&&!k.has(e.originalKey)).map(e=>e.originalKey),P=l.filter(e=>x.has(e)),A=0;C.forEach(e=>{b&&E.find(t=>t.originalKey===e)&&(E=E.filter(t=>t.originalKey!==e));const t=l.indexOf(e),r=c[t];w[e]={state:"enter",originalKey:e,key:b?String(e):Ce++,item:r,trail:A+=y,config:oe(v,r,"enter"),from:oe(n&&void 0!==u?u||{}:p,r),to:oe(h,r)}}),S.forEach(e=>{const t=O.indexOf(e),n=j[t];E.push(i({},w[e],{state:"leave",destroyed:!0,left:O[Math.max(0,t-1)],right:O[Math.min(O.length,t+1)],trail:A+=y,config:oe(v,n,"leave"),to:oe(d,n)})),delete w[e]}),P.forEach(e=>{const t=l.indexOf(e),n=c[t];w[e]=i({},w[e],{item:n,state:"update",trail:A+=y,config:oe(v,n,"update"),to:oe(f,n)})});let M=l.map(e=>w[e]);return E.forEach(e=>{let t,n=e.left,r=e.right,i=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=E.findIndex(e=>e.originalKey===n)),-1===t&&(t=E.findIndex(e=>e.originalKey===r)),t=Math.max(0,t),M=[...M.slice(0,t),i,...M.slice(t)]}),{first:n&&0===C.length,transitions:M,current:w,deleted:E,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),c=(e.unique,e.reset),l=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,b=e.destroyed;return a.createElement(ke,i({reset:c&&"enter"===u,primitive:Ee,state:u,filter:ae,states:{[u]:f},key:p,onRest:b?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},l,{from:d,children:e=>{const t=s(h,u,o);return t?t(e):null}}))})}}Pe.defaultProps={keys:e=>e,unique:!1,reset:!1};const Ae=["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]=je(t),e),je);t.Spring=Ee,t.Keyframes=ke,t.Transition=Pe,t.Trail=_e,t.Controller=ge,t.config=we,t.animated=Ae,t.interpolate=(e,t,n)=>e&&new Q(e,t,n),t.Globals=E},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;tt.score?-1:e.index-t.index}))},A=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},M=function(e,t){return e+(t?"?"+t:"")},D=["uri","path"],V=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},s=a.state,c=a.replace,l=void 0!==c&&c;if("number"==typeof t)e.history.go(t);else{s=V({},s,{key:Date.now()+""});try{o||l?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(n){e.location[l?"replace":"assign"](t)}}r=R(e),o=!0;var u=new Promise((function(e){return i=e}));return n.forEach((function(e){return e({location:r,action:"PUSH"})})),u}}},z=!("undefined"==typeof window||!window.document||!window.document.createElement),T=F(z?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],i=[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 i[r]},pushState:function(e,t,n){var a=n.split("?"),s=a[0],c=a[1],l=void 0===c?"":c;r++,o.push({pathname:s,search:l.length?"?"+l:l}),i.push(e)},replaceState:function(e,t,n){var a=n.split("?"),s=a[0],c=a[1],l=void 0===c?"":c;o[r]={pathname:s,search:l},i[r]=e},go:function(e){var t=r+e;t<0||t>i.length-1||(r=t)}}}}()),U=T.navigate,L=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(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 H(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 B=function(e,t){var n=y()(t);return n.displayName=e,n},q=B("Location"),$=function(e){var t=e.children;return h.a.createElement(q.Consumer,null,(function(e){return e?t(e):h.a.createElement(G,null,t)}))},G=function(e){function t(){var n,r;N(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ye=function(){var e=[],t=[],n=Object(r.useContext)(a).theme_version;l.a.trigger("ct:dashboard:navigation-links",e),l.a.trigger("ct:dashboard:end-navigation-links",t);ctDashboardLocalizations.plugin_data.hide_plugins_tab;return Object(r.createElement)("ul",{className:"dashboard-navigation"},Object(r.createElement)("li",null,Object(r.createElement)(oe,{to:"/"},Object(s.__)("Home","blocksy"))),e.map((function(e){var t=e.path,n=e.text,o=me(e,["path","text"]);return Object(r.createElement)("li",{key:t},Object(r.createElement)(oe,fe({to:t},o),n))})),!ctDashboardLocalizations.plugin_data.hide_plugins_tab&&Object(r.createElement)("li",null,Object(r.createElement)(oe,{to:"/plugins"},Object(s.__)("Useful Plugins","blocksy"))),!ctDashboardLocalizations.plugin_data.hide_changelogs_tab&&Object(r.createElement)("li",null,Object(r.createElement)(oe,{to:"/changelog"},Object(s.__)("Changelog","blocksy"),Object(r.createElement)("span",{className:"ct-version"},n))),t.map((function(e){var t=e.path,n=e.text,o=me(e,["path","text"]);return Object(r.createElement)("li",{key:t},Object(r.createElement)(oe,fe({to:t},o),n))})))},be=n(6),ve=n.n(be),ge=function(){return ctDashboardLocalizations.plugin_data.hide_support_section?null:Object(r.createElement)("div",{className:"ct-support-container"},Object(r.createElement)("h2",null,Object(s.__)("Support","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Got a question or need some help with the theme? You can always submit a support ticket, and our team will help you out.","blocksy")),Object(r.createElement)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},Object(s.__)("Submit a Ticket","blocksy")))},Oe=function(){var e=Object(r.useContext)(a),t=e.is_companion_active,n=e.companion_download_link,o=e.child_download_link,i={content:null},c={content:null};return l.a.trigger("ct:dashboard:home:before",i),l.a.trigger("ct:dashboard:home:after",c),Object(r.createElement)("section",null,i.content,Object(r.createElement)("div",{className:"ct-first-steps-container"},Object(r.createElement)("h2",null,Object(s.__)("Getting Started","blocksy")),"yes"!==t&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("ul",{className:"ct-downloads"},Object(r.createElement)("li",null,Object(r.createElement)("a",{href:n},Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h3",null,Object(s.__)("Blocksy Companion","blocksy")),Object(r.createElement)("p",null,Object(s.__)("By downloading and installing this plugin you will have access to demo templates, extensions and a lot more stunning features.","blocksy")))),Object(r.createElement)("li",null,Object(r.createElement)("a",{href:o},Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h3",null,Object(s.__)("Blocksy Child Theme","blocksy")),Object(r.createElement)("p",null,Object(s.__)("By using a child theme you can modify any file without the fear of breaking something in the parent theme.","blocksy"))))),Object(r.createElement)("h2",null,Object(s.__)("Customizer Shortcuts","blocksy"))),Object(r.createElement)("ul",{className:"ct-first-steps"},Object(r.createElement)("li",null,Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h4",null,Object(s.__)("Color Options","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Set the theme global colors, chose the font, button and background color.","blocksy")),Object(r.createElement)("a",{href:"".concat(ctDashboardLocalizations.customizer_url).concat(encodeURI("[section]=color")),className:"ct-button"},Object(s.__)("Go to option","blocksy"))),Object(r.createElement)("li",null,Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h4",null,Object(s.__)("Header Options","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Set the theme header type, set the colors, spacing, alignment and more.","blocksy")),Object(r.createElement)("a",{href:"".concat(ctDashboardLocalizations.customizer_url).concat(encodeURI("[section]=header")),className:"ct-button","data-hover":"white"},Object(s.__)("Go to option","blocksy"))),Object(r.createElement)("li",null,Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h4",null,Object(s.__)("Blog Options","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Set the blog entries type, number of cards, spacing, colors and more.","blocksy")),Object(r.createElement)("a",{href:"".concat(ctDashboardLocalizations.customizer_url).concat(encodeURI("[section]=blog_posts")),className:"ct-button","data-hover":"white"},Object(s.__)("Go to option","blocksy"))),Object(r.createElement)("li",null,Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.createElement)("path",{d:"M18,2h-2v16h2c1.1,0,2-0.9,2-2V4C20,2.9,19.1,2,18,2z"}),Object(r.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"})),Object(r.createElement)("h4",null,Object(s.__)("Page Options","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Set the page container width, spacing, sidebar and more.","blocksy")),Object(r.createElement)("a",{href:"".concat(ctDashboardLocalizations.customizer_url).concat(encodeURI("[section]=single_pages")),className:"ct-button","data-hover":"white"},Object(s.__)("Go to option","blocksy"))),Object(r.createElement)("li",null,Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h4",null,Object(s.__)("Sidebar Options","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Set the sidebar width, design type, spacing, colors.","blocksy")),Object(r.createElement)("a",{href:"".concat(ctDashboardLocalizations.customizer_url).concat(encodeURI("[section]=sidebar")),className:"ct-button","data-hover":"white"},Object(s.__)("Go to option","blocksy"))),Object(r.createElement)("li",null,Object(r.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Object(r.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"})),Object(r.createElement)("h4",null,Object(s.__)("Footer Options","blocksy")),Object(r.createElement)("p",null,Object(s.__)("Set the footer type, number of columns, spacing and colors.","blocksy")),Object(r.createElement)("a",{href:"".concat(ctDashboardLocalizations.customizer_url).concat(encodeURI("[section]=footer")),className:"ct-button","data-hover":"white"},Object(s.__)("Go to option","blocksy"))))),c.content,Object(r.createElement)(ge,null))};function je(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function we(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==c[0]&&c[0]&&n(!0),(t=new FormData).append("action","get_premium_plugins_status"),e.prev=4,e.next=7,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 7:if(200!==(r=e.sent).status){e.next=15;break}return e.next=11,r.json();case 11:o=e.sent,i=o.success,s=o.data,i&&(a(s),Se=s);case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(4);case 19:n(!1);case 20:case"end":return e.stop()}}),e,null,[[4,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){xe(i,r,o,a,s,"next",e)}function s(e){xe(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){l(!Se)}),[]),Object(r.createElement)("div",null,Object(r.createElement)(de.Transition,{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(e){return e?function(e){return Object(r.createElement)(de.animated.p,{style:e,className:"ct-loading-text"},Object(r.createElement)("span",null),Object(s.__)("Loading Plugins Status...","blocksy"))}:function(e){return Object(r.createElement)(de.animated.div,{style:e},c.length>0&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("ul",{className:"ct-extensions-list"},c.map((function(e){return Object(r.createElement)(_e,{plugin:e,key:e.name,onPluginsSync:function(){return l()},status:(i.find((function(t){return t.name===e.name}))||{}).status})}))),Object(r.createElement)(ge,null)))}})))},Me=n(9);function De(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function Ve(e){return Ue(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ze(e)||Fe()}function Re(e,t){return Ue(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||ze(e,t)||Fe()}function Fe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ze(e,t){if(e){if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Te(e,t):void 0}}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n
  • \n\n ".concat(o.join("\n").trim().split("\n").map((function(e){return e.replace(/^-\s/,"")})).map((function(e){return e.replace(/`(.*?)`/g,"$1")})).join("
  • "),"\n
  • ").replace(/New:/g,'').replace(/Improvement:/g,'').replace(/Fix:/g,'')}}))},Ne=function(){var e=Re(Object(r.useState)(!Le),2),t=e[0],n=e[1],o=Re(Object(r.useState)(Le),2),i=o[0],a=o[1],c=Re(Object(r.useState)(0),2),l=c[0],u=c[1],p=!1;window.ctDashboardLocalizations&&window.ctDashboardLocalizations.plugin_data&&window.ctDashboardLocalizations.plugin_data.has_beta_consent&&(p=window.ctDashboardLocalizations.plugin_data.has_beta_consent);var h=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,r,o,i,s,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.length>0&&void 0!==c[0]&&c[0]&&n(!0),(t=new FormData).append("action","get_latest_changelog"),e.prev=4,e.next=7,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 7:if(200!==(r=e.sent).status){e.next=15;break}return e.next=11,r.json();case 11:o=e.sent,i=o.success,s=o.data,i&&s.changelog&&(a(s.changelog),Le=s.changelog);case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(4);case 19:n(!1);case 20:case"end":return e.stop()}}),e,null,[[4,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){De(i,r,o,a,s,"next",e)}function s(e){De(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){h(!Le)}),[]),Object(r.createElement)("section",{className:"ct-changelog-wrapper"},Object(r.createElement)(de.Transition,{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(e){return e?function(e){return Object(r.createElement)(de.animated.p,{className:"ct-loading-text",style:e},Object(r.createElement)("span",null),Object(s.__)("Loading changelog...","blocksy"))}:function(e){return Object(r.createElement)(de.animated.div,{style:e},Object(r.createElement)("div",{className:ve()("changelog-info",{"has-sources":i&&i.length>1})},i&&i.length>1&&Object(r.createElement)("ul",{className:"changelog-sources"},i.map((function(e,t){var n=e.title;return Object(r.createElement)("li",{className:ve()({active:t===l}),onClick:function(){return u(t)},key:n},n)}))),Object(r.createElement)("ul",{className:"changelog-explanation"},Object(r.createElement)("li",null,Object(r.createElement)("span",{className:"new"})," ",Object(s.__)("New","blocksy")),Object(r.createElement)("li",null,Object(r.createElement)("span",{className:"fix"})," ",Object(s.__)("Fix","blocksy")),Object(r.createElement)("li",null,Object(r.createElement)("span",{className:"improvement"}),Object(s.__)("Update","blocksy")))),Object(r.createElement)("div",{className:"changelog-items"},i[l].changelog?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasBetas;return e.replace(/\r/g,"").replace(/(\r\n|\r|\n){3,}/g,"$1\n\n").split("\n\n").map((function(e){var t=Re(e.split(/\r?\n/)[0].split(":"),2),n=t[0],r=t[1];return{version:n,date:Object(Me.dateI18n)("F j, Y",new Date(r)),descriptor:e}})).filter((function(e){var t=e.version;return!!n||-1===t.indexOf("beta")})).filter((function(e){var t=e.version;return!!n||3===t.split(".").length}))}(i[l].changelog,{hasBetas:p}).map((function(e){return Object(r.createElement)(Ie,{key:e.version,versionDescriptor:e})})):Object(s.__)("No changelog present at the moment.","blocksy")))}})))};function We(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 He(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ye(e,t){for(var n=0;n