Heray-Was-Here
Server : LiteSpeed
System : Linux server310.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : myveqfxv ( 6863)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/myveqfxv/public_html/wp-content/plugins/gutenverse/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/myveqfxv/public_html/wp-content/plugins/gutenverse/assets/js/wizard.js
/*! For license information please see wizard.js.LICENSE.txt */
(()=>{var e={186(e,n,t){"use strict";var r=t(985);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,s,o){if(o!==r){var c=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 c.name="Invariant Violation",c}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:s,resetWarningCache:i};return t.PropTypes=t,t}},736(e,n,t){e.exports=t(186)()},985(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},500(e,n){var t;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=o(e,s(t)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)r.call(e,t)&&e[t]&&(n=o(n,t));return n}function o(e,n){return n?e?e+" "+n:e+n:e}e.exports?(i.default=i,e.exports=i):void 0===(t=function(){return i}.apply(n,[]))||(e.exports=t)}()}},n={};function t(r){var i=n[r];if(void 0!==i)return i.exports;var s=n[r]={exports:{}};return e[r](s,s.exports,t),s.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{"use strict";function e(n){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(n)}function n(n,t,r){return(t=function(n){var t=function(n){if("object"!=e(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==e(t)?t:t+""}(t))in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function i(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,s,o,c=[],a=!0,l=!1;try{if(s=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;a=!1}else for(;!(a=(r=s.call(t)).done)&&(c.push(r.value),c.length!==n);a=!0);}catch(e){l=!0,i=e}finally{try{if(!a&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw i}}return c}}(e,n)||function(e,n){if(e){if("string"==typeof e)return r(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}(e,n)||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.")}()}const s=window.wp.element,o=window.wp.i18n,c=window.React;var a=t.n(c);const l=window.ReactJSXRuntime;function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const p=function(e){return(0,l.jsxs)("svg",d(d({xmlns:"http://www.w3.org/2000/svg",width:64,height:64,fill:"none"},e),{},{children:[(0,l.jsx)("circle",{cx:32,cy:32,r:32,fill:"#3B57F7"}),(0,l.jsxs)("g",{fill:"#fff",clipPath:"url(#icon-plugin-form_svg__a)",children:[(0,l.jsx)("path",{d:"M23.79 42.129v4.619h8.467l-.974-1.772 1.595-2.847zM23.79 30.58h16.419v-6.928h-16.42zm2.198-4.618h12.021v2.309H25.988zM23.79 39.819h10.408l1.173-2.31h-9.383V35.2h14.221v-2.31h-16.42z"}),(0,l.jsx)("path",{d:"M18.219 14.416v36.95h16.578l-1.27-2.31h-13.11V21.344h23.164v16.165l2.2 4.003V14.416zm25.362 4.619H20.418v-2.31H43.58z"}),(0,l.jsx)("path",{d:"m40.39 42.896 2.906 5.085-.97 1.696h-5.81l-2.907-5.086.969-1.695 2.906 5.085h3.874l-1.937-3.39h-3.874l-.97-1.695zm1.938-3.39h-5.813l-.969 1.695h5.813l2.905 5.085.969-1.695z"})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"icon-plugin-form_svg__a",children:(0,l.jsx)("path",{fill:"#fff",d:"M13.71 13.715h36.572v36.95H13.71z"})})})]}))};function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const g=function(e){return(0,l.jsxs)("svg",h(h({xmlns:"http://www.w3.org/2000/svg",width:64,height:64,fill:"none"},e),{},{children:[(0,l.jsx)("circle",{cx:32,cy:32,r:32,fill:"#3B57F7"}),(0,l.jsx)("g",{clipPath:"url(#icon-plugin-font_svg__a)",children:(0,l.jsx)("path",{fill:"#fff",d:"M30.252 44.25h3.481V46h-8.722v-1.75h3.492v-24.5h-8.754v1.743H18V18h22.745l-.001 3.493h-1.75l.002-1.743h-8.744zm10.904-.011c-1.188-.001-2.155-1.205-2.155-2.684V31.116h3.481v-1.749H39v-3.503h-1.75v3.503h-3.482v1.75h3.483v10.438c0 2.442 1.751 4.43 3.904 4.433l3.953.003.001-1.749z"})}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"icon-plugin-font_svg__a",children:(0,l.jsx)("path",{fill:"#fff",d:"M18 18h28v28H18z"})})})]}))};function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const x=function(e){return(0,l.jsx)("svg",m(m({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none"},e),{},{children:(0,l.jsx)("path",{fill:"#40505D",d:"M13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0M9.774 4.038a.61.61 0 0 0-.877.018L6.075 7.651l-1.7-1.701a.61.61 0 0 0-.862.861l2.15 2.15a.61.61 0 0 0 .877-.015L9.783 4.89a.61.61 0 0 0-.008-.853"})}))};var j=function(){return(0,l.jsx)(x,{})},y=function(){return(0,l.jsx)(p,{})},w=function(){return(0,l.jsx)(g,{})},b=t(500),O=t.n(b);const _=window.wp.apiFetch;var N=t.n(_);function P(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var k="(prefers-reduced-motion: reduce)";function S(e){e.length=0}function E(e,n,t){return Array.prototype.slice.call(e,n,t)}function z(e){return e.bind.apply(e,[null].concat(E(arguments,1)))}var D=setTimeout,L=function(){};function C(e){return requestAnimationFrame(e)}function I(e,n){return typeof n===e}function A(e){return!G(e)&&I("object",e)}var M=Array.isArray,T=z(I,"function"),R=z(I,"string"),F=z(I,"undefined");function G(e){return null===e}function W(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function U(e){return M(e)?e:[e]}function H(e,n){U(e).forEach(n)}function B(e,n){return e.indexOf(n)>-1}function V(e,n){return e.push.apply(e,U(n)),e}function q(e,n,t){e&&H(n,function(n){n&&e.classList[t?"add":"remove"](n)})}function X(e,n){q(e,R(n)?n.split(" "):n,!0)}function Z(e,n){H(n,e.appendChild.bind(e))}function Y(e,n){H(e,function(e){var t=(n||e).parentNode;t&&t.insertBefore(e,n)})}function J(e,n){return W(e)&&(e.msMatchesSelector||e.matches).call(e,n)}function K(e,n){var t=e?E(e.children):[];return n?t.filter(function(e){return J(e,n)}):t}function $(e,n){return n?K(e,n)[0]:e.firstElementChild}var Q=Object.keys;function ee(e,n,t){return e&&(t?Q(e).reverse():Q(e)).forEach(function(t){"__proto__"!==t&&n(e[t],t)}),e}function ne(e){return E(arguments,1).forEach(function(n){ee(n,function(t,r){e[r]=n[r]})}),e}function te(e){return E(arguments,1).forEach(function(n){ee(n,function(n,t){M(n)?e[t]=n.slice():A(n)?e[t]=te({},A(e[t])?e[t]:{},n):e[t]=n})}),e}function re(e,n){H(n||Q(e),function(n){delete e[n]})}function ie(e,n){H(e,function(e){H(n,function(n){e&&e.removeAttribute(n)})})}function se(e,n,t){A(n)?ee(n,function(n,t){se(e,t,n)}):H(e,function(e){G(t)||""===t?ie(e,n):e.setAttribute(n,String(t))})}function oe(e,n,t){var r=document.createElement(e);return n&&(R(n)?X(r,n):se(r,n)),t&&Z(t,r),r}function ce(e,n,t){if(F(t))return getComputedStyle(e)[n];G(t)||(e.style[n]=""+t)}function ae(e,n){ce(e,"display",n)}function le(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function ue(e,n){return e.getAttribute(n)}function de(e,n){return e&&e.classList.contains(n)}function pe(e){return e.getBoundingClientRect()}function fe(e){H(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function he(e){return $((new DOMParser).parseFromString(e,"text/html").body)}function ge(e,n){e.preventDefault(),n&&(e.stopPropagation(),e.stopImmediatePropagation())}function ve(e,n){return e&&e.querySelector(n)}function me(e,n){return n?E(e.querySelectorAll(n)):[]}function xe(e,n){q(e,n,!1)}function je(e){return e.timeStamp}function ye(e){return R(e)?e:e?e+"px":""}var we="splide",be="data-"+we;function Oe(e,n){if(!e)throw new Error("["+we+"] "+(n||""))}var _e=Math.min,Ne=Math.max,Pe=Math.floor,ke=Math.ceil,Se=Math.abs;function Ee(e,n,t){return Se(e-n)<t}function ze(e,n,t,r){var i=_e(n,t),s=Ne(n,t);return r?i<e&&e<s:i<=e&&e<=s}function De(e,n,t){var r=_e(n,t),i=Ne(n,t);return _e(Ne(r,e),i)}function Le(e){return+(e>0)-+(e<0)}function Ce(e,n){return H(n,function(n){e=e.replace("%s",""+n)}),e}function Ie(e){return e<10?"0"+e:""+e}var Ae={};function Me(){var e=[];function n(e,n,t){H(e,function(e){e&&H(n,function(n){n.split(" ").forEach(function(n){var r=n.split(".");t(e,r[0],r[1])})})})}return{bind:function(t,r,i,s){n(t,r,function(n,t,r){var o="addEventListener"in n,c=o?n.removeEventListener.bind(n,t,i,s):n.removeListener.bind(n,i);o?n.addEventListener(t,i,s):n.addListener(i),e.push([n,t,r,i,c])})},unbind:function(t,r,i){n(t,r,function(n,t,r){e=e.filter(function(e){return!!(e[0]!==n||e[1]!==t||e[2]!==r||i&&e[3]!==i)||(e[4](),!1)})})},dispatch:function(e,n,t){var r,i=!0;return"function"==typeof CustomEvent?r=new CustomEvent(n,{bubbles:i,detail:t}):(r=document.createEvent("CustomEvent")).initCustomEvent(n,i,!1,t),e.dispatchEvent(r),r},destroy:function(){e.forEach(function(e){e[4]()}),S(e)}}}var Te="mounted",Re="ready",Fe="move",Ge="moved",We="click",Ue="active",He="inactive",Be="visible",Ve="hidden",qe="refresh",Xe="updated",Ze="resize",Ye="resized",Je="drag",Ke="dragging",$e="dragged",Qe="scroll",en="scrolled",nn="destroy",tn="arrows:mounted",rn="arrows:updated",sn="pagination:mounted",on="pagination:updated",cn="navigation:mounted",an="autoplay:play",ln="autoplay:playing",un="autoplay:pause",dn="lazyload:loaded",pn="ei";function fn(e){var n=e?e.event.bus:document.createDocumentFragment(),t=Me();return e&&e.event.on(nn,t.destroy),ne(t,{bus:n,on:function(e,r){t.bind(n,U(e).join(" "),function(e){r.apply(r,M(e.detail)?e.detail:[])})},off:z(t.unbind,n),emit:function(e){t.dispatch(n,e,E(arguments,1))}})}function hn(e,n,t,r){var i,s,o=Date.now,c=0,a=!0,l=0;function u(){if(!a){if(c=e?_e((o()-i)/e,1):1,t&&t(c),c>=1&&(n(),i=o(),r&&++l>=r))return d();s=C(u)}}function d(){a=!0}function p(){s&&cancelAnimationFrame(s),c=0,s=0,a=!0}return{start:function(n){n||p(),i=o()-(n?c*e:0),a=!1,s=C(u)},rewind:function(){i=o(),c=0,t&&t(c)},pause:d,cancel:p,set:function(n){e=n},isPaused:function(){return a}}}var gn="Arrow",vn=gn+"Left",mn=gn+"Right",xn=gn+"Up",jn=gn+"Down",yn="ttb",wn={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[xn,mn],ArrowRight:[jn,vn]},bn="role",On="tabindex",_n="aria-",Nn=_n+"controls",Pn=_n+"current",kn=_n+"selected",Sn=_n+"label",En=_n+"labelledby",zn=_n+"hidden",Dn=_n+"orientation",Ln=_n+"roledescription",Cn=_n+"live",In=_n+"busy",An=_n+"atomic",Mn=[bn,On,"disabled",Nn,Pn,Sn,En,zn,Dn,Ln],Tn=we+"__",Rn="is-",Fn=we,Gn=Tn+"track",Wn=Tn+"list",Un=Tn+"slide",Hn=Un+"--clone",Bn=Un+"__container",Vn=Tn+"arrows",qn=Tn+"arrow",Xn=qn+"--prev",Zn=qn+"--next",Yn=Tn+"pagination",Jn=Yn+"__page",Kn=Tn+"progress__bar",$n=Tn+"toggle",Qn=Tn+"sr",et=Rn+"initialized",nt=Rn+"active",tt=Rn+"prev",rt=Rn+"next",it=Rn+"visible",st=Rn+"loading",ot=Rn+"focus-in",ct=Rn+"overflow",at=[nt,it,tt,rt,st,ot,ct],lt={slide:Un,clone:Hn,arrows:Vn,arrow:qn,prev:Xn,next:Zn,pagination:Yn,page:Jn,spinner:Tn+"spinner"},ut="touchstart mousedown",dt="touchmove mousemove",pt="touchend touchcancel mouseup click",ft="slide",ht="loop",gt="fade";var vt=be+"-interval",mt={passive:!1,capture:!0},xt={Spacebar:" ",Right:mn,Left:vn,Up:xn,Down:jn};function jt(e){return e=R(e)?e:e.key,xt[e]||e}var yt="keydown",wt=be+"-lazy",bt=wt+"-srcset",Ot="["+wt+"], ["+bt+"]",_t=[" ","Enter"],Nt=Object.freeze({__proto__:null,Media:function(e,n,t){var r=e.state,i=t.breakpoints||{},s=t.reducedMotion||{},o=Me(),c=[];function a(e){e&&o.destroy()}function l(e,n){var t=matchMedia(n);o.bind(t,"change",u),c.push([e,t])}function u(){var n=r.is(7),i=t.direction,s=c.reduce(function(e,n){return te(e,n[1].matches?n[0]:{})},{});re(t),d(s),t.destroy?e.destroy("completely"===t.destroy):n?(a(!0),e.mount()):i!==t.direction&&e.refresh()}function d(n,i,s){te(t,n),i&&te(Object.getPrototypeOf(t),n),!s&&r.is(1)||e.emit(Xe,t)}return{setup:function(){var e="min"===t.mediaQuery;Q(i).sort(function(n,t){return e?+n-+t:+t-+n}).forEach(function(n){l(i[n],"("+(e?"min":"max")+"-width:"+n+"px)")}),l(s,k),u()},destroy:a,reduce:function(e){matchMedia(k).matches&&(e?te(t,s):re(t,Q(s)))},set:d}},Direction:function(e,n,t){return{resolve:function(e,n,r){var i="rtl"!==(r=r||t.direction)||n?r===yn?0:-1:1;return wn[e]&&wn[e][i]||e.replace(/width|left|right/i,function(e,n){var t=wn[e.toLowerCase()][i]||e;return n>0?t.charAt(0).toUpperCase()+t.slice(1):t})},orient:function(e){return e*("rtl"===t.direction?1:-1)}}},Elements:function(e,n,t){var r,i,s,o=fn(e),c=o.on,a=o.bind,l=e.root,u=t.i18n,d={},p=[],f=[],h=[];function g(){var e,n,s;r=x("."+Gn),i=$(r,"."+Wn),Oe(r&&i,"A track/list element is missing."),V(p,K(i,"."+Un+":not(."+Hn+")")),ee({arrows:Vn,pagination:Yn,prev:Xn,next:Zn,bar:Kn,toggle:$n},function(e,n){d[n]=x("."+e)}),ne(d,{root:l,track:r,list:i,slides:p}),n=l.id||""+(e=we)+Ie(Ae[e]=(Ae[e]||0)+1),s=t.role,l.id=n,r.id=r.id||n+"-track",i.id=i.id||n+"-list",!ue(l,bn)&&"SECTION"!==l.tagName&&s&&se(l,bn,s),se(l,Ln,u.carousel),se(i,bn,"presentation"),m()}function v(e){var n=Mn.concat("style");S(p),xe(l,f),xe(r,h),ie([r,i],n),ie(l,e?n:["style",Ln])}function m(){xe(l,f),xe(r,h),f=j(Fn),h=j(Gn),X(l,f),X(r,h),se(l,Sn,t.label),se(l,En,t.labelledby)}function x(e){var n=ve(l,e);return n&&function(e,n){if(T(e.closest))return e.closest(n);for(var t=e;t&&1===t.nodeType&&!J(t,n);)t=t.parentElement;return t}(n,"."+Fn)===l?n:void 0}function j(e){return[e+"--"+t.type,e+"--"+t.direction,t.drag&&e+"--draggable",t.isNavigation&&e+"--nav",e===Fn&&nt]}return ne(d,{setup:g,mount:function(){c(qe,v),c(qe,g),c(Xe,m),a(document,ut+" keydown",function(e){s="keydown"===e.type},{capture:!0}),a(l,"focusin",function(){q(l,ot,!!s)})},destroy:v})},Slides:function(e,n,t){var r=fn(e),i=r.on,s=r.emit,o=r.bind,c=n.Elements,a=c.slides,l=c.list,u=[];function d(){a.forEach(function(e,n){f(e,n,-1)})}function p(){g(function(e){e.destroy()}),S(u)}function f(n,t,r){var i=function(e,n,t,r){var i,s=fn(e),o=s.on,c=s.emit,a=s.bind,l=e.Components,u=e.root,d=e.options,p=d.isNavigation,f=d.updateOnMove,h=d.i18n,g=d.pagination,v=d.slideFocus,m=l.Direction.resolve,x=ue(r,"style"),j=ue(r,Sn),y=t>-1,w=$(r,"."+Bn);function b(){var i=e.splides.map(function(e){var t=e.splide.Components.Slides.getAt(n);return t?t.slide.id:""}).join(" ");se(r,Sn,Ce(h.slideX,(y?t:n)+1)),se(r,Nn,i),se(r,bn,v?"button":""),v&&ie(r,Ln)}function O(){i||_()}function _(){if(!i){var t=e.index;(s=N())!==de(r,nt)&&(q(r,nt,s),se(r,Pn,p&&s||""),c(s?Ue:He,P)),function(){var n=function(){if(e.is(gt))return N();var n=pe(l.Elements.track),t=pe(r),i=m("left",!0),s=m("right",!0);return Pe(n[i])<=ke(t[i])&&Pe(t[s])<=ke(n[s])}(),t=!n&&(!N()||y);if(e.state.is([4,5])||se(r,zn,t||""),se(me(r,d.focusableNodes||""),On,t?-1:""),v&&se(r,On,t?-1:0),n!==de(r,it)&&(q(r,it,n),c(n?Be:Ve,P)),!n&&document.activeElement===r){var i=l.Slides.getAt(e.index);i&&le(i.slide)}}(),q(r,tt,n===t-1),q(r,rt,n===t+1)}var s}function N(){var r=e.index;return r===n||d.cloneStatus&&r===t}var P={index:n,slideIndex:t,slide:r,container:w,isClone:y,mount:function(){y||(r.id=u.id+"-slide"+Ie(n+1),se(r,bn,g?"tabpanel":"group"),se(r,Ln,h.slide),se(r,Sn,j||Ce(h.slideLabel,[n+1,e.length]))),a(r,"click",z(c,We,P)),a(r,"keydown",z(c,"sk",P)),o([Ge,"sh",en],_),o(cn,b),f&&o(Fe,O)},destroy:function(){i=!0,s.destroy(),xe(r,at),ie(r,Mn),se(r,"style",x),se(r,Sn,j||"")},update:_,style:function(e,n,t){ce(t&&w||r,e,n)},isWithin:function(t,r){var i=Se(t-n);return y||!d.rewind&&!e.is(ht)||(i=_e(i,e.length-i)),i<=r}};return P}(e,t,r,n);i.mount(),u.push(i),u.sort(function(e,n){return e.index-n.index})}function h(e){return e?v(function(e){return!e.isClone}):u}function g(e,n){h(n).forEach(e)}function v(e){return u.filter(T(e)?e:function(n){return R(e)?J(n.slide,e):B(U(e),n.index)})}return{mount:function(){d(),i(qe,p),i(qe,d)},destroy:p,update:function(){g(function(e){e.update()})},register:f,get:h,getIn:function(e){var r=n.Controller,i=r.toIndex(e),s=r.hasFocus()?1:t.perPage;return v(function(e){return ze(e.index,i,i+s-1)})},getAt:function(e){return v(e)[0]},add:function(e,n){H(e,function(e){if(R(e)&&(e=he(e)),W(e)){var r=a[n];r?Y(e,r):Z(l,e),X(e,t.classes.slide),i=e,c=z(s,Ze),u=me(i,"img"),(d=u.length)?u.forEach(function(e){o(e,"load error",function(){--d||c()})}):c()}var i,c,u,d}),s(qe)},remove:function(e){fe(v(e).map(function(e){return e.slide})),s(qe)},forEach:g,filter:v,style:function(e,n,t){g(function(r){r.style(e,n,t)})},getLength:function(e){return e?a.length:u.length},isEnough:function(){return u.length>t.perPage}}},Layout:function(e,n,t){var r,i,s,o=fn(e),c=o.on,a=o.bind,l=o.emit,u=n.Slides,d=n.Direction.resolve,p=n.Elements,f=p.root,h=p.track,g=p.list,v=u.getAt,m=u.style;function x(){r=t.direction===yn,ce(f,"maxWidth",ye(t.width)),ce(h,d("paddingLeft"),y(!1)),ce(h,d("paddingRight"),y(!0)),j(!0)}function j(e){var n,o=pe(f);(e||i.width!==o.width||i.height!==o.height)&&(ce(h,"height",(n="",r&&(Oe(n=w(),"height or heightRatio is missing."),n="calc("+n+" - "+y(!1)+" - "+y(!0)+")"),n)),m(d("marginRight"),ye(t.gap)),m("width",t.autoWidth?null:ye(t.fixedWidth)||(r?"":b())),m("height",ye(t.fixedHeight)||(r?t.autoHeight?null:b():w()),!0),i=o,l(Ye),s!==(s=S())&&(q(f,ct,s),l("overflow",s)))}function y(e){var n=t.padding,r=d(e?"right":"left");return n&&ye(n[r]||(A(n)?0:n))||"0px"}function w(){return ye(t.height||pe(g).width*t.heightRatio)}function b(){var e=ye(t.gap);return"calc((100%"+(e&&" + "+e)+")/"+(t.perPage||1)+(e&&" - "+e)+")"}function O(){return pe(g)[d("width")]}function _(e,n){var t=v(e||0);return t?pe(t.slide)[d("width")]+(n?0:k()):0}function N(e,n){var t=v(e);if(t){var r=pe(t.slide)[d("right")],i=pe(g)[d("left")];return Se(r-i)+(n?0:k())}return 0}function P(n){return N(e.length-1)-N(0)+_(0,n)}function k(){var e=v(0);return e&&parseFloat(ce(e.slide,d("marginRight")))||0}function S(){return e.is(gt)||P(!0)>O()}return{mount:function(){var e,n;x(),a(window,"resize load",(e=z(l,Ze),n=hn(0,e,null,1),function(){n.isPaused()&&n.start()})),c([Xe,qe],x),c(Ze,j)},resize:j,listSize:O,slideSize:_,sliderSize:P,totalSize:N,getPadding:function(e){return parseFloat(ce(h,d("padding"+(e?"Right":"Left"))))||0},isOverflow:S}},Clones:function(e,n,t){var r,i=fn(e),s=i.on,o=n.Elements,c=n.Slides,a=n.Direction.resolve,l=[];function u(){s(qe,d),s([Xe,Ze],f),(r=h())&&(function(n){var r=c.get().slice(),i=r.length;if(i){for(;r.length<n;)V(r,r);V(r.slice(-n),r.slice(0,n)).forEach(function(s,a){var u=a<n,d=function(n,r){var i=n.cloneNode(!0);return X(i,t.classes.clone),i.id=e.root.id+"-clone"+Ie(r+1),i}(s.slide,a);u?Y(d,r[0].slide):Z(o.list,d),V(l,d),c.register(d,a-n+(u?0:i),s.index)})}}(r),n.Layout.resize(!0))}function d(){p(),u()}function p(){fe(l),S(l),i.destroy()}function f(){var e=h();r!==e&&(r<e||!e)&&i.emit(qe)}function h(){var r=t.clones;if(e.is(ht)){if(F(r)){var i=t[a("fixedWidth")]&&n.Layout.slideSize(0);r=i&&ke(pe(o.track)[a("width")]/i)||t[a("autoWidth")]&&e.length||2*t.perPage}}else r=0;return r}return{mount:u,destroy:p}},Move:function(e,n,t){var r,i=fn(e),s=i.on,o=i.emit,c=e.state.set,a=n.Layout,l=a.slideSize,u=a.getPadding,d=a.totalSize,p=a.listSize,f=a.sliderSize,h=n.Direction,g=h.resolve,v=h.orient,m=n.Elements,x=m.list,j=m.track;function y(){n.Controller.isBusy()||(n.Scroll.cancel(),w(e.index),n.Slides.update())}function w(e){b(P(e,!0))}function b(t,r){if(!e.is(gt)){var i=r?t:function(t){if(e.is(ht)){var r=N(t),i=r>n.Controller.getEnd();(r<0||i)&&(t=O(t,i))}return t}(t);ce(x,"transform","translate"+g("X")+"("+i+"px)"),t!==i&&o("sh")}}function O(e,n){var t=e-S(n),r=f();return e-v(r*(ke(Se(t)/r)||1))*(n?1:-1)}function _(){b(k(),!0),r.cancel()}function N(e){for(var t=n.Slides.get(),r=0,i=1/0,s=0;s<t.length;s++){var o=t[s].index,c=Se(P(o,!0)-e);if(!(c<=i))break;i=c,r=o}return r}function P(n,r){var i=v(d(n-1)-function(e){var n=t.focus;return"center"===n?(p()-l(e,!0))/2:+n*l(e)||0}(n));return r?function(n){return t.trimSpace&&e.is(ft)&&(n=De(n,0,v(f(!0)-p()))),n}(i):i}function k(){var e=g("left");return pe(x)[e]-pe(j)[e]+v(u(!1))}function S(e){return P(e?n.Controller.getEnd():0,!!t.trimSpace)}return{mount:function(){r=n.Transition,s([Te,Ye,Xe,qe],y)},move:function(e,n,t,i){var s,a;e!==n&&(s=e>t,a=v(O(k(),s)),s?a>=0:a<=x[g("scrollWidth")]-pe(j)[g("width")])&&(_(),b(O(k(),e>t),!0)),c(4),o(Fe,n,t,e),r.start(n,function(){c(3),o(Ge,n,t,e),i&&i()})},jump:w,translate:b,shift:O,cancel:_,toIndex:N,toPosition:P,getPosition:k,getLimit:S,exceededLimit:function(e,n){n=F(n)?k():n;var t=!0!==e&&v(n)<v(S(!1)),r=!1!==e&&v(n)>v(S(!0));return t||r},reposition:y}},Controller:function(e,n,t){var r,i,s,o,c=fn(e),a=c.on,l=c.emit,u=n.Move,d=u.getPosition,p=u.getLimit,f=u.toPosition,h=n.Slides,g=h.isEnough,v=h.getLength,m=t.omitEnd,x=e.is(ht),j=e.is(ft),y=z(P,!1),w=z(P,!0),b=t.start||0,O=b;function _(){i=v(!0),s=t.perMove,o=t.perPage,r=E();var e=De(b,0,m?r:i-1);e!==b&&(b=e,u.reposition())}function N(){r!==E()&&l(pn)}function P(e,n){var t=s||(I()?1:o),i=k(b+t*(e?-1:1),b,!(s||I()));return-1===i&&j&&!Ee(d(),p(!e),1)?e?0:r:n?i:S(i)}function k(n,c,a){if(g()||I()){var l=function(n){if(j&&"move"===t.trimSpace&&n!==b)for(var r=d();r===f(n,!0)&&ze(n,0,e.length-1,!t.rewind);)n<b?--n:++n;return n}(n);l!==n&&(c=n,n=l,a=!1),n<0||n>r?n=s||!ze(0,n,c,!0)&&!ze(r,c,n,!0)?x?a?n<0?-(i%o||o):i:n:t.rewind?n<0?r:0:-1:D(L(n)):a&&n!==c&&(n=D(L(c)+(n<c?-1:1)))}else n=-1;return n}function S(e){return x?(e+i)%i||0:e}function E(){for(var e=i-(I()||x&&s?1:o);m&&e-- >0;)if(f(i-1,!0)!==f(e,!0)){e++;break}return De(e,0,i-1)}function D(e){return De(I()?e:o*e,0,r)}function L(e){return I()?_e(e,r):Pe((e>=r?i-1:e)/o)}function C(e){e!==b&&(O=b,b=e)}function I(){return!F(t.focus)||t.isNavigation}function A(){return e.state.is([4,5])&&!!t.waitForTransition}return{mount:function(){_(),a([Xe,qe,pn],_),a(Ye,N)},go:function(e,n,t){if(!A()){var i=function(e){var n=b;if(R(e)){var t=e.match(/([+\-<>])(\d+)?/)||[],i=t[1],s=t[2];"+"===i||"-"===i?n=k(b+ +(""+i+(+s||1)),b):">"===i?n=s?D(+s):y(!0):"<"===i&&(n=w(!0))}else n=x?e:De(e,0,r);return n}(e),s=S(i);s>-1&&(n||s!==b)&&(C(s),u.move(i,s,O,t))}},scroll:function(e,t,i,s){n.Scroll.scroll(e,t,i,function(){var e=S(u.toIndex(d()));C(m?_e(e,r):e),s&&s()})},getNext:y,getPrev:w,getAdjacent:P,getEnd:E,setIndex:C,getIndex:function(e){return e?O:b},toIndex:D,toPage:L,toDest:function(e){var n=u.toIndex(e);return j?De(n,0,r):n},hasFocus:I,isBusy:A}},Arrows:function(e,n,t){var r,i,s=fn(e),o=s.on,c=s.bind,a=s.emit,l=t.classes,u=t.i18n,d=n.Elements,p=n.Controller,f=d.arrows,h=d.track,g=f,v=d.prev,m=d.next,x={};function j(){var e;!(e=t.arrows)||v&&m||(g=f||oe("div",l.arrows),v=O(!0),m=O(!1),r=!0,Z(g,[v,m]),!f&&Y(g,h)),v&&m&&(ne(x,{prev:v,next:m}),ae(g,e?"":"none"),X(g,i=Vn+"--"+t.direction),e&&(o([Te,Ge,qe,en,pn],_),c(m,"click",z(b,">")),c(v,"click",z(b,"<")),_(),se([v,m],Nn,h.id),a(tn,v,m))),o(Xe,y)}function y(){w(),j()}function w(){s.destroy(),xe(g,i),r?(fe(f?[v,m]:g),v=m=null):ie([v,m],Mn)}function b(e){p.go(e,!0)}function O(e){return he('<button class="'+l.arrow+" "+(e?l.prev:l.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(t.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function _(){if(v&&m){var n=e.index,t=p.getPrev(),r=p.getNext(),i=t>-1&&n<t?u.last:u.prev,s=r>-1&&n>r?u.first:u.next;v.disabled=t<0,m.disabled=r<0,se(v,Sn,i),se(m,Sn,s),a(rn,v,m,t,r)}}return{arrows:x,mount:j,destroy:w,update:_}},Autoplay:function(e,n,t){var r,i,s=fn(e),o=s.on,c=s.bind,a=s.emit,l=hn(t.interval,e.go.bind(e,">"),function(e){var n=d.bar;n&&ce(n,"width",100*e+"%"),a(ln,e)}),u=l.isPaused,d=n.Elements,p=n.Elements,f=p.root,h=p.toggle,g=t.autoplay,v="pause"===g;function m(){u()&&n.Slides.isEnough()&&(l.start(!t.resetProgress),i=r=v=!1,y(),a(an))}function x(e){void 0===e&&(e=!0),v=!!e,y(),u()||(l.pause(),a(un))}function j(){v||(r||i?x(!1):m())}function y(){h&&(q(h,nt,!v),se(h,Sn,t.i18n[v?"play":"pause"]))}function w(e){var r=n.Slides.getAt(e);l.set(r&&+ue(r.slide,vt)||t.interval)}return{mount:function(){g&&(t.pauseOnHover&&c(f,"mouseenter mouseleave",function(e){r="mouseenter"===e.type,j()}),t.pauseOnFocus&&c(f,"focusin focusout",function(e){i="focusin"===e.type,j()}),h&&c(h,"click",function(){v?m():x(!0)}),o([Fe,Qe,qe],l.rewind),o(Fe,w),h&&se(h,Nn,d.track.id),v||m(),y())},destroy:l.cancel,play:m,pause:x,isPaused:u}},Cover:function(e,n,t){var r=fn(e).on;function i(e){n.Slides.forEach(function(n){var t=$(n.container||n.slide,"img");t&&t.src&&s(e,t,n)})}function s(e,n,t){t.style("background",e?'center/cover no-repeat url("'+n.src+'")':"",!0),ae(n,e?"none":"")}return{mount:function(){t.cover&&(r(dn,z(s,!0)),r([Te,Xe,qe],z(i,!0)))},destroy:z(i,!1)}},Scroll:function(e,n,t){var r,i,s=fn(e),o=s.on,c=s.emit,a=e.state.set,l=n.Move,u=l.getPosition,d=l.getLimit,p=l.exceededLimit,f=l.translate,h=e.is(ft),g=1;function v(e,t,s,o,d){var f=u();if(j(),s&&(!h||!p())){var v=n.Layout.sliderSize(),y=Le(e)*v*Pe(Se(e)/v)||0;e=l.toPosition(n.Controller.toDest(e%v))+y}var w=Ee(f,e,1);g=1,t=w?0:t||Ne(Se(e-f)/1.5,800),i=o,r=hn(t,m,z(x,f,e,d),1),a(5),c(Qe),r.start()}function m(){a(3),i&&i(),c(en)}function x(e,n,r,s){var o,c,a=u(),l=(e+(n-e)*(o=s,(c=t.easingFunc)?c(o):1-Math.pow(1-o,4))-a)*g;f(a+l),h&&!r&&p()&&(g*=.6,Se(l)<10&&v(d(p(!0)),600,!1,i,!0))}function j(){r&&r.cancel()}function y(){r&&!r.isPaused()&&(j(),m())}return{mount:function(){o(Fe,j),o([Xe,qe],y)},destroy:j,scroll:v,cancel:y}},Drag:function(e,n,t){var r,i,s,o,c,a,l,u,d=fn(e),p=d.on,f=d.emit,h=d.bind,g=d.unbind,v=e.state,m=n.Move,x=n.Scroll,j=n.Controller,y=n.Elements.track,w=n.Media.reduce,b=n.Direction,O=b.resolve,_=b.orient,N=m.getPosition,P=m.exceededLimit,k=!1;function S(){var e=t.drag;W(!e),o="free"===e}function E(e){if(a=!1,!l){var n=G(e);r=e.target,i=t.noDrag,J(r,"."+Jn+", ."+qn)||i&&J(r,i)||!n&&e.button||(j.isBusy()?ge(e,!0):(u=n?y:window,c=v.is([4,5]),s=null,h(u,dt,z,mt),h(u,pt,D,mt),m.cancel(),x.cancel(),I(e)))}var r,i}function z(n){if(v.is(6)||(v.set(6),f(Je)),n.cancelable)if(c){m.translate(r+M(n)/(k&&e.is(ft)?5:1));var i=T(n)>200,s=k!==(k=P());(i||s)&&I(n),a=!0,f(Ke),ge(n)}else(function(e){return Se(M(e))>Se(M(e,!0))})(n)&&(c=function(e){var n=t.dragMinThreshold,r=A(n),i=r&&n.mouse||0,s=(r?n.touch:+n)||10;return Se(M(e))>(G(e)?s:i)}(n),ge(n))}function D(r){v.is(6)&&(v.set(3),f($e)),c&&(function(r){var i=function(n){if(e.is(ht)||!k){var t=T(n);if(t&&t<200)return M(n)/t}return 0}(r),s=function(e){return N()+Le(e)*_e(Se(e)*(t.flickPower||600),o?1/0:n.Layout.listSize()*(t.flickMaxPages||1))}(i),c=t.rewind&&t.rewindByDrag;w(!1),o?j.scroll(s,0,t.snap):e.is(gt)?j.go(_(Le(i))<0?c?"<":"-":c?">":"+"):e.is(ft)&&k&&c?j.go(P(!0)?">":"<"):j.go(j.toDest(s),!0),w(!0)}(r),ge(r)),g(u,dt,z),g(u,pt,D),c=!1}function C(e){!l&&a&&ge(e,!0)}function I(e){s=i,i=e,r=N()}function M(e,n){return F(e,n)-F(R(e),n)}function T(e){return je(e)-je(R(e))}function R(e){return i===e&&s||i}function F(e,n){return(G(e)?e.changedTouches[0]:e)["page"+O(n?"Y":"X")]}function G(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function W(e){l=e}return{mount:function(){h(y,dt,L,mt),h(y,pt,L,mt),h(y,ut,E,mt),h(y,"click",C,{capture:!0}),h(y,"dragstart",ge),p([Te,Xe],S)},disable:W,isDragging:function(){return c}}},Keyboard:function(e,n,t){var r,i,s=fn(e),o=s.on,c=s.bind,a=s.unbind,l=e.root,u=n.Direction.resolve;function d(){var e=t.keyboard;e&&(r="global"===e?window:l,c(r,yt,h))}function p(){a(r,yt)}function f(){var e=i;i=!0,D(function(){i=e})}function h(n){if(!i){var t=jt(n);t===u(vn)?e.go("<"):t===u(mn)&&e.go(">")}}return{mount:function(){d(),o(Xe,p),o(Xe,d),o(Fe,f)},destroy:p,disable:function(e){i=e}}},LazyLoad:function(e,n,t){var r=fn(e),i=r.on,s=r.off,o=r.bind,c=r.emit,a="sequential"===t.lazyLoad,l=[Ge,en],u=[];function d(){S(u),n.Slides.forEach(function(e){me(e.slide,Ot).forEach(function(n){var r=ue(n,wt),i=ue(n,bt);if(r!==n.src||i!==n.srcset){var s=t.classes.spinner,o=n.parentElement,c=$(o,"."+s)||oe("span",s,o);u.push([n,e,c]),n.src||ae(n,"none")}})}),a?g():(s(l),i(l,p),p())}function p(){(u=u.filter(function(n){var r=t.perPage*((t.preloadPages||1)+1)-1;return!n[1].isWithin(e.index,r)||f(n)})).length||s(l)}function f(e){var n=e[0];X(e[1].slide,st),o(n,"load error",z(h,e)),se(n,"src",ue(n,wt)),se(n,"srcset",ue(n,bt)),ie(n,wt),ie(n,bt)}function h(e,n){var t=e[0],r=e[1];xe(r.slide,st),"error"!==n.type&&(fe(e[2]),ae(t,""),c(dn,t,r),c(Ze)),a&&g()}function g(){u.length&&f(u.shift())}return{mount:function(){t.lazyLoad&&(d(),i(qe,d))},destroy:z(S,u),check:p}},Pagination:function(e,n,t){var r,i,s=fn(e),o=s.on,c=s.emit,a=s.bind,l=n.Slides,u=n.Elements,d=n.Controller,p=d.hasFocus,f=d.getIndex,h=d.go,g=n.Direction.resolve,v=u.pagination,m=[];function x(){r&&(fe(v?E(r.children):r),xe(r,i),S(m),r=null),s.destroy()}function j(e){h(">"+e,!0)}function y(e,n){var t=m.length,r=jt(n),i=w(),s=-1;r===g(mn,!1,i)?s=++e%t:r===g(vn,!1,i)?s=(--e+t)%t:"Home"===r?s=0:"End"===r&&(s=t-1);var o=m[s];o&&(le(o.button),h(">"+s),ge(n,!0))}function w(){return t.paginationDirection||t.direction}function b(e){return m[d.toPage(e)]}function O(){var e=b(f(!0)),n=b(f());if(e){var t=e.button;xe(t,nt),ie(t,kn),se(t,On,-1)}if(n){var i=n.button;X(i,nt),se(i,kn,!0),se(i,On,"")}c(on,{list:r,items:m},e,n)}return{items:m,mount:function n(){x(),o([Xe,qe,pn],n);var s=t.pagination;v&&ae(v,s?"":"none"),s&&(o([Fe,Qe,en],O),function(){var n=e.length,s=t.classes,o=t.i18n,c=t.perPage,f=p()?d.getEnd()+1:ke(n/c);X(r=v||oe("ul",s.pagination,u.track.parentElement),i=Yn+"--"+w()),se(r,bn,"tablist"),se(r,Sn,o.select),se(r,Dn,w()===yn?"vertical":"");for(var h=0;h<f;h++){var g=oe("li",null,r),x=oe("button",{class:s.page,type:"button"},g),b=l.getIn(h).map(function(e){return e.slide.id}),O=!p()&&c>1?o.pageX:o.slideX;a(x,"click",z(j,h)),t.paginationKeyboard&&a(x,"keydown",z(y,h)),se(g,bn,"presentation"),se(x,bn,"tab"),se(x,Nn,b.join(" ")),se(x,Sn,Ce(O,h+1)),se(x,On,-1),m.push({li:g,button:x,page:h})}}(),O(),c(sn,{list:r,items:m},b(e.index)))},destroy:x,getAt:b,update:O}},Sync:function(e,n,t){var r=t.isNavigation,i=t.slideFocus,s=[];function o(){var n,t;e.splides.forEach(function(n){n.isParent||(a(e,n.splide),a(n.splide,e))}),r&&((t=(n=fn(e)).on)(We,u),t("sk",d),t([Te,Xe],l),s.push(n),n.emit(cn,e.splides))}function c(){s.forEach(function(e){e.destroy()}),S(s)}function a(e,n){var t=fn(e);t.on(Fe,function(e,t,r){n.go(n.is(ht)?r:e)}),s.push(t)}function l(){se(n.Elements.list,Dn,t.direction===yn?"vertical":"")}function u(n){e.go(n.index)}function d(e,n){B(_t,jt(n))&&(u(e),ge(n))}return{setup:z(n.Media.set,{slideFocus:F(i)?r:i},!0),mount:o,destroy:c,remount:function(){c(),o()}}},Wheel:function(e,n,t){var r=fn(e).bind,i=0;function s(r){if(r.cancelable){var s=r.deltaY,o=s<0,c=je(r),a=t.wheelMinThreshold||0,l=t.wheelSleep||0;Se(s)>a&&c-i>l&&(e.go(o?"<":">"),i=c),function(r){return!t.releaseWheel||e.state.is(4)||-1!==n.Controller.getAdjacent(r)}(o)&&ge(r)}}return{mount:function(){t.wheel&&r(n.Elements.track,"wheel",s,mt)}}},Live:function(e,n,t){var r=fn(e).on,i=n.Elements.track,s=t.live&&!t.isNavigation,o=oe("span",Qn),c=hn(90,z(a,!1));function a(e){se(i,In,e),e?(Z(i,o),c.start()):(fe(o),c.cancel())}function l(e){s&&se(i,Cn,e?"off":"polite")}return{mount:function(){s&&(l(!n.Autoplay.isPaused()),se(i,An,!0),o.textContent="…",r(an,z(l,!0)),r(un,z(l,!1)),r([Ge,en],z(a,!0)))},disable:l,destroy:function(){ie(i,[Cn,An,In]),fe(o)}}}}),Pt={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:lt,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function kt(e,n,t){var r=n.Slides;function i(){r.forEach(function(e){e.style("transform","translateX(-"+100*e.index+"%)")})}return{mount:function(){fn(e).on([Te,qe],i)},start:function(e,n){r.style("transition","opacity "+t.speed+"ms "+t.easing),D(n)},cancel:L}}function St(e,n,t){var r,i=n.Move,s=n.Controller,o=n.Scroll,c=n.Elements.list,a=z(ce,c,"transition");function l(){a(""),o.cancel()}return{mount:function(){fn(e).bind(c,"transitionend",function(e){e.target===c&&r&&(l(),r())})},start:function(n,c){var l=i.toPosition(n,!0),u=i.getPosition(),d=function(n){var r=t.rewindSpeed;if(e.is(ft)&&r){var i=s.getIndex(!0),o=s.getEnd();if(0===i&&n>=o||i>=o&&0===n)return r}return t.speed}(n);Se(l-u)>=1&&d>=1?t.useScroll?o.scroll(l,d,!1,c):(a("transform "+d+"ms "+t.easing),i.translate(l,!0),r=c):(i.jump(n),c())},cancel:l}}var Et=function(){function e(n,t){var r;this.event=fn(),this.Components={},this.state=(r=1,{set:function(e){r=e},is:function(e){return B(U(e),r)}}),this.splides=[],this._o={},this._E={};var i=R(n)?ve(document,n):n;Oe(i,i+" is invalid."),this.root=i,t=te({label:ue(i,Sn)||"",labelledby:ue(i,En)||""},Pt,e.defaults,t||{});try{te(t,JSON.parse(ue(i,be)))}catch(e){Oe(!1,"Invalid JSON")}this._o=Object.create(te({},t))}var n,t,r=e.prototype;return r.mount=function(e,n){var t=this,r=this.state,i=this.Components;return Oe(r.is([1,7]),"Already mounted!"),r.set(1),this._C=i,this._T=n||this._T||(this.is(gt)?kt:St),this._E=e||this._E,ee(ne({},Nt,this._E,{Transition:this._T}),function(e,n){var r=e(t,i,t._o);i[n]=r,r.setup&&r.setup()}),ee(i,function(e){e.mount&&e.mount()}),this.emit(Te),X(this.root,et),r.set(3),this.emit(Re),this},r.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},r.go=function(e){return this._C.Controller.go(e),this},r.on=function(e,n){return this.event.on(e,n),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(E(arguments,1))),this},r.add=function(e,n){return this._C.Slides.add(e,n),this},r.remove=function(e){return this._C.Slides.remove(e),this},r.is=function(e){return this._o.type===e},r.refresh=function(){return this.emit(qe),this},r.destroy=function(e){void 0===e&&(e=!0);var n=this.event,t=this.state;return t.is(1)?fn(this).on(Re,this.destroy.bind(this,e)):(ee(this._C,function(n){n.destroy&&n.destroy(e)},!0),n.emit(nn),n.destroy(),e&&S(this.splides),t.set(7)),this},n=e,(t=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&P(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}();Et.defaults={},Et.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};var zt=[[Te,"onMounted"],[Re,"onReady"],[Fe,"onMove"],[Ge,"onMoved"],[We,"onClick"],[Ue,"onActive"],[He,"onInactive"],[Be,"onVisible"],[Ve,"onHidden"],[qe,"onRefresh"],[Xe,"onUpdated"],[Ze,"onResize"],[Ye,"onResized"],[Je,"onDrag"],[Ke,"onDragging"],[$e,"onDragged"],[Qe,"onScroll"],[en,"onScrolled"],[nn,"onDestroy"],[tn,"onArrowsMounted"],[rn,"onArrowsUpdated"],[sn,"onPaginationMounted"],[on,"onPaginationUpdated"],[cn,"onNavigationMounted"],[an,"onAutoplayPlay"],[ln,"onAutoplayPlaying"],[un,"onAutoplayPause"],[dn,"onLazyLoadLoaded"]];function Dt(...e){return e.filter(Boolean).join(" ")}function Lt(e){return null!==e&&"object"==typeof e}function Ct(e,n){if(Array.isArray(e)&&Array.isArray(n))return e.length===n.length&&!e.some((e,t)=>!Ct(e,n[t]));if(Lt(e)&&Lt(n)){const t=Object.keys(e),r=Object.keys(n);return t.length===r.length&&!t.some(t=>!Object.prototype.hasOwnProperty.call(n,t)||!Ct(e[t],n[t]))}return e===n}function It(e,n){const t=e;return function(e,n){if(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const i=t[r];if("__proto__"!==i&&!1===n(e[i],i))break}}}(n,(e,n)=>{Array.isArray(e)?t[n]=e.slice():Lt(e)?t[n]=It(Lt(t[n])?t[n]:{},e):t[n]=e}),t}var At=({children:e,className:n,...t})=>a().createElement("div",{className:Dt("splide__track",n),...t},a().createElement("ul",{className:"splide__list"},e)),Mt=class extends a().Component{constructor(){super(...arguments),this.splideRef=a().createRef(),this.slides=[]}componentDidMount(){const{options:e,extensions:n,transition:t}=this.props,{current:r}=this.splideRef;r&&(this.splide=new Et(r,e),this.bind(this.splide),this.splide.mount(n,t),this.options=It({},e||{}),this.slides=this.getSlides())}componentWillUnmount(){this.splide&&(this.splide.destroy(),this.splide=void 0),this.options=void 0,this.slides.length=0}componentDidUpdate(){if(!this.splide)return;const{options:e}=this.props;e&&!Ct(this.options,e)&&(this.splide.options=e,this.options=It({},e));const n=this.getSlides();var t,r;t=this.slides,r=n,(t.length!==r.length||t.some((e,n)=>e!==r[n]))&&(this.splide.refresh(),this.slides=n)}sync(e){var n;null==(n=this.splide)||n.sync(e)}go(e){var n;null==(n=this.splide)||n.go(e)}getSlides(){var e;if(this.splide){const n=null==(e=this.splide.Components.Elements)?void 0:e.list.children;return n&&Array.prototype.slice.call(n)||[]}return[]}bind(e){zt.forEach(([n,t])=>{const r=this.props[t];"function"==typeof r&&e.on(n,(...n)=>{r(e,...n)})})}omit(e,n){return n.forEach(n=>{Object.prototype.hasOwnProperty.call(e,n)&&delete e[n]}),e}render(){const{className:e,tag:n="div",hasTrack:t=!0,children:r,...i}=this.props;return a().createElement(n,{className:Dt("splide",e),ref:this.splideRef,...this.omit(i,["options",...zt.map(e=>e[1])])},t?a().createElement(At,null,r):r)}},Tt=({children:e,className:n,...t})=>a().createElement("li",{className:Dt("splide__slide",n),...t},e),Rt=t(736),Ft=t.n(Rt);function Gt(){return Gt=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Gt.apply(this,arguments)}var Wt=(0,c.forwardRef)(function(e,n){var t=e.color,r=void 0===t?"currentColor":t,i=e.size,s=void 0===i?24:i,o=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["color","size"]);return a().createElement("svg",Gt({ref:n,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o),a().createElement("polyline",{points:"20 6 9 17 4 12"}))});Wt.propTypes={color:Ft().string,size:Ft().oneOfType([Ft().string,Ft().number])},Wt.displayName="Check";const Ut=Wt;function Ht(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ht(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const Vt=function(e){return(0,l.jsx)("svg",Bt(Bt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:(0,l.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m15 6-6 6 6 6"})}))};function qt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const Zt=function(e){return(0,l.jsx)("svg",Xt(Xt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:(0,l.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m9 18 6-6-6-6"})}))};function Yt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const Kt=function(e){return(0,l.jsx)("svg",Jt(Jt({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),{},{children:(0,l.jsx)("path",{stroke:"#00223D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10.499 14.667v4.583m5.5 0-3.622-3.018c-.668-.557-1.003-.835-1.375-.942a1.84 1.84 0 0 0-1.006 0c-.373.107-.707.385-1.375.942L4.999 19.25m1.833-9.167V11m3.667-2.75V11m3.666-4.583V11m5.5-8.25H1.332m.917 0h16.5v7.517c0 1.54 0 2.31-.3 2.898a2.75 2.75 0 0 1-1.202 1.202c-.588.3-1.358.3-2.898.3h-7.7c-1.54 0-2.31 0-2.899-.3a2.75 2.75 0 0 1-1.202-1.202c-.3-.588-.3-1.358-.3-2.898z"})}))};function $t(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$t(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const er=function(e){return(0,l.jsxs)("svg",Qt(Qt({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),{},{children:[(0,l.jsx)("path",{stroke:"#00223D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M1.832 10.999a9.167 9.167 0 0 0 9.167 9.166 2.75 2.75 0 0 0 2.75-2.75v-.458c0-.426 0-.639.023-.817a2.75 2.75 0 0 1 2.368-2.368c.178-.023.391-.023.817-.023h.458a2.75 2.75 0 0 0 2.75-2.75 9.167 9.167 0 0 0-18.333 0"}),(0,l.jsx)("path",{stroke:"#00223D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6.415 11.915a.917.917 0 1 0 0-1.833.917.917 0 0 0 0 1.833M14.665 8.249a.917.917 0 1 0 0-1.834.917.917 0 0 0 0 1.834M9.165 7.332a.917.917 0 1 0 0-1.833.917.917 0 0 0 0 1.833"})]}))};function nr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function tr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const rr=function(e){return(0,l.jsx)("svg",tr(tr({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),{},{children:(0,l.jsx)("path",{fill:"#fff",d:"M8.167 11.085V2.918H10.5v8.167zm-4.667 0V2.918h2.333v8.167z"})}))};function ir(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function sr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ir(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const or=function(e){return(0,l.jsx)("svg",sr(sr({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),{},{children:(0,l.jsx)("path",{fill:"#fff",d:"M4.668 3v8.167l6.417-4.084z"})}))};function cr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function ar(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const lr=function(e){return(0,l.jsx)("svg",ar(ar({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),{},{children:(0,l.jsx)("path",{stroke:"#00223D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m5.957 11.915.72 1.439c.242.486.364.73.527.94q.217.282.499.5c.21.162.454.284.94.527l1.439.72-1.438.718c-.487.244-.73.366-.941.528a2.8 2.8 0 0 0-.5.5c-.162.21-.284.454-.527.94l-.719 1.438-.72-1.438c-.242-.486-.364-.73-.527-.94a2.8 2.8 0 0 0-.499-.5c-.21-.162-.454-.284-.94-.527l-1.439-.72 1.438-.719c.487-.243.73-.365.941-.527a2.8 2.8 0 0 0 .5-.5c.162-.21.284-.454.527-.94zM13.749 1.832l1.08 2.81c.259.671.388 1.007.589 1.29.178.25.397.47.647.648.283.2.62.33 1.291.588l2.81 1.08-2.81 1.081c-.672.259-1.008.388-1.29.589a2.8 2.8 0 0 0-.648.647c-.201.283-.33.62-.589 1.291l-1.08 2.81-1.08-2.81c-.26-.672-.389-1.008-.59-1.29a2.8 2.8 0 0 0-.647-.648c-.283-.201-.619-.33-1.29-.589l-2.81-1.08 2.81-1.08c.671-.26 1.007-.388 1.29-.59.25-.178.47-.397.647-.647.201-.283.33-.619.59-1.29z"})}))};function ur(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function dr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ur(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const pr=function(e){return(0,l.jsx)("svg",dr(dr({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),{},{children:(0,l.jsx)("path",{stroke:"#00223D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m11.001 13.749-2.75-2.75m2.75 2.75a20.5 20.5 0 0 0 3.667-1.833m-3.667 1.833v4.583s2.778-.504 3.667-1.833c.99-1.485 0-4.583 0-4.583m-6.417-.917a20 20 0 0 1 1.834-3.62 11.81 11.81 0 0 1 10.083-5.547c0 2.494-.715 6.875-5.5 10.084m-6.417-.917H3.668s.504-2.778 1.833-3.667c1.485-.99 4.584 0 4.584 0m-5.959 7.792c-1.375 1.155-1.833 4.583-1.833 4.583s3.428-.458 4.583-1.833c.651-.77.642-1.953-.082-2.668a2 2 0 0 0-2.668-.082"})}))};var fr=function(){return(0,l.jsx)(Vt,{})},hr=function(){return(0,l.jsx)(Zt,{})},gr=function(){return(0,l.jsx)(Kt,{})},vr=function(){return(0,l.jsx)(er,{})},mr=function(){return(0,l.jsx)(rr,{})},xr=function(){return(0,l.jsx)(or,{})},jr=function(){return(0,l.jsx)(lr,{})},yr=function(){return(0,l.jsx)(pr,{})},wr=function(e){var n="0%",t=function(){switch(null==e?void 0:e.progress){case"1/4":return n="25%","twenty-five";case"2/4":return n="50%","fifty";case"3/4":return n="75%","seventy-five";case"4/4":return n="100%","hundred";default:return n="0%","zero"}};return t(),(0,l.jsx)("div",{className:"installing-notice",children:(0,l.jsx)("div",{className:"installing-notice-container",children:(0,l.jsxs)("div",{className:"importing-notice",children:[(0,l.jsxs)("div",{className:"notice-inner",children:[(0,l.jsx)("span",{children:null==e?void 0:e.message}),(0,l.jsx)("span",{children:n})]}),(0,l.jsx)("div",{className:"bar-progress-container",children:(0,l.jsx)("div",{className:"notice-bar-progress "+"".concat(t(),"-percent")})})]})})})},br=function(e){var n=e.action,t=e.setAction,r=e.updateProgress,c=window.GutenThemeConfig.plugins,a=i((0,s.useState)({show:!0,message:"Preparing...",progress:"1/4"}),2),u=a[0],d=a[1];(0,s.useEffect)(function(){var e=!0;null==c||c.map(function(n){e=e&&(null==n?void 0:n.active)}),e&&t("done")},[]);var p=function(e,n){var t=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp("\\b".concat(t,"\\b"),"gi"),i=e.split(r),o=e.match(r);return i.map(function(e,n){return(0,l.jsxs)(s.Fragment,{children:[e,n<(null==o?void 0:o.length)?(0,l.jsx)("span",{className:"gutenverse",children:o[n]}):null]},n)})},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;c&&e<c.length?setTimeout(function(){d({show:!0,message:"Installing Plugins...",progress:"2/4"});var n=c[e];null!=n&&n.installed?null!=n&&n.active?f(e+1):N()({path:"wp/v2/plugins/plugin?plugin=".concat(null==n?void 0:n.slug,"/").concat(null==n?void 0:n.slug),method:"POST",data:{status:"active"}}).then(function(){f(e+1)}).catch(function(){alert("Error during plugin activation"),f(e+1)}):null!=n&&n.download_url?N()({path:"gtb-themes-backend/v1/install/plugins",method:"POST",data:{slug:null==n?void 0:n.slug,download_url:null==n?void 0:n.download_url}}).then(function(t){"success"===t.status?N()({path:"wp/v2/plugins/plugin?plugin=".concat(null==n?void 0:n.slug,"/").concat(null==n?void 0:n.slug),method:"POST",data:{status:"active"}}).then(function(){f(e+1)}).catch(function(){alert("Error during plugin activation"),f(e+1)}):(alert(t.message),f(e+1))}):N()({path:"wp/v2/plugins",method:"POST",data:{slug:null==n?void 0:n.slug,status:"active"}}).then(function(){f(e+1)}).catch(function(){alert("Error during plugin activation"),f(e+1)})},500):(d({show:!0,message:"Installing Complete",progress:"4/4"}),setTimeout(function(){t("done")},500))};return(0,l.jsxs)("div",{className:"plugin-install",children:[(0,l.jsx)("h1",{className:"content-title",children:(0,o.__)("Install Required Plugins","gutenverse-companion")}),(0,l.jsx)("p",{className:"content-desc",children:(0,o.__)("To access the full range of theme features, please install and activate the required plugins. Your enhanced user experience is just a few steps away!","gutenverse-companion")}),(0,l.jsx)("div",{className:"plugin-list",children:null==c?void 0:c.map(function(e,n){return(0,l.jsxs)("div",{className:"plugin-data ".concat(e.active&&"active"),children:[(0,l.jsx)("div",{className:"logo",children:(null==e?void 0:e.icons)&&(null==e?void 0:e.icons["1x"])&&(0,l.jsx)("img",{src:null==e?void 0:e.icons["1x"]})}),(0,l.jsxs)("div",{className:"plugin-detail",children:[(0,l.jsx)("h3",{className:"plugin-title",children:p(null==e?void 0:e.title,"Gutenverse")}),(0,l.jsx)("p",{className:"plugin-desc",children:null==e?void 0:e.short_desc.toLowerCase()})]}),e.active&&(0,l.jsx)("div",{className:"active-badge",children:"Installed"})]},n)})}),(0,l.jsx)("div",{className:"plugin-actions",children:function(){switch(n){case"done":return(0,l.jsxs)(s.Fragment,{children:[(0,l.jsx)("div",{className:"button-done",children:(0,o.__)("Installed & Activated","gutenverse-companion")}),(0,l.jsx)("div",{onClick:function(){return r("upgradePro",1)},className:"button-next",children:(0,o.__)("Next","gutenverse-companion")})]});case"loading":return(0,l.jsx)(s.Fragment,{children:(0,l.jsx)(wr,{message:null==u?void 0:u.message,progress:null==u?void 0:u.progress})});default:return(0,l.jsx)(s.Fragment,{children:(0,l.jsx)("div",{onClick:function(){return t("loading"),void f(0)},className:"button-install",children:(0,o.__)("Install Required Plugins","gutenverse-companion")})})}}()})]})},Or=function(e){var n=e.updateProgress,t=i((0,s.useState)(!0),2),r=t[0],c=t[1],a=(0,s.useRef)(),u=(0,s.useRef)([]),d=(0,s.useRef)([]),p=(0,s.useRef)([]),f=window.GutenThemeConfig,h=f.upgradePro,g=f.pro_preview,v=f.pro_title,m=f.slug,x=window.GutenverseWizard.gutenverseImgDir,j={slideInUp:"slide-up",slideInLeft:"slide-left",slideInRight:"slide-right",slideInDown:"slide-down",scaleIn:"scale-in",rotateCw:"rotate-cw",rotateCcw:"rotate-ccw",slideInUpThumbnail:"slide-up-thumbnail"},y=function(){var e,n=null==a||null===(e=a.current)||void 0===e||null===(e=e.splide)||void 0===e||null===(e=e.Components)||void 0===e?void 0:e.Autoplay;n&&(n.isPaused()?(n.play(),c(!0)):(n.pause(),c(!1)))};return(0,s.useEffect)(function(){if(a.current){var e=a.current.splide,n=e.length-1;u.current=document.querySelectorAll(".slider-wrapper .progress-bar-fill"),d.current=document.querySelectorAll(".slider-wrapper .progress-bar"),p.current=document.querySelectorAll(".slider-wrapper .splide-autoplay-controls .splide-toggle-div"),d.current[0]&&d.current[0].classList.add("is-done");var t=function(){Object.entries(j).forEach(function(e){var n=i(e,2),t=n[0],r=n[1];document.querySelectorAll(".slider-wrapper li.is-active ."+t).forEach(function(e){e.classList.remove(t),e.classList.add(r)}),document.querySelectorAll(".slider-wrapper li.is-prev ."+r).forEach(function(e){e.classList.remove(r),e.classList.add(t)}),document.querySelectorAll(".slider-wrapper li.is-next ."+r).forEach(function(e){e.classList.remove(r),e.classList.add(t)})})};return t(),e.on("moved",function(){t()}),e.on("autoplay:playing",function(t){var r=e.index;u.current[r]&&(u.current[r].style.width="".concat(100*t,"%"),r===n&&t>.99?(u.current[r].style.width="100%",e.Components.Autoplay.pause()):u.current[r].style.width="".concat(100*t,"%"))}),e.on("move",function(t,r){u.current[r]&&(u.current[r].style.width=t<r?"0%":"100%"),r>t&&d.current[r].classList.remove("is-done"),d.current[t]&&d.current[t].classList.add("is-done"),t<n&&e.Components.Autoplay.isPaused()&&(e.Components.Autoplay.play(),c(!0))}),function(){e&&(e.off("autoplay:playing"),e.off("moved"))}}},[]),(0,l.jsxs)("div",{className:"upgrade-pro-wrapper",children:[(0,l.jsx)("div",{className:"slider-wrapper",children:(0,l.jsxs)(Mt,{ref:a,"aria-label":"My Favorite Images",hasTrack:!1,options:{width:"860px",height:"460px",gap:"1rem",interval:5e3,autoplay:!0,pagination:!1,pauseOnHover:!1,pauseOnFocus:!1,resetProgress:!1},children:[(0,l.jsxs)(At,{children:[(0,l.jsx)(Tt,{children:(0,l.jsxs)("div",{className:"upgrade-pro-content",children:[(0,l.jsxs)("div",{className:"content-left",children:[(0,l.jsxs)("h3",{className:"content-title",children:[(0,o.__)("Get ","gutenverse-companion"),v]}),(0,l.jsx)("p",{className:"content-desc",children:(0,o.__)("Unlock "+v+" and gain access to 50+ other premium niche themes, full access to all advanced Pro features by upgrading to a Gutenverse Professional license or higher.","gutenverse-companion")}),(0,l.jsxs)("ul",{className:"content-list",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsxs)("span",{children:[(0,o.__)("Unlock ","gutenverse-companion"),(0,l.jsx)("b",{children:(0,o.__)("1000+","gutenverse-companion")}),(0,o.__)(" Template Library","gutenverse-companion")]})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsxs)("span",{children:[(0,o.__)("Unlock ","gutenverse-companion"),(0,l.jsx)("b",{children:(0,o.__)("50+","gutenverse-companion")}),(0,o.__)(" Premium Niche Themes","gutenverse-companion")]})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsxs)("span",{children:[(0,o.__)("Unlock ","gutenverse-companion"),(0,l.jsx)("b",{children:(0,o.__)("100+","gutenverse-companion")}),(0,o.__)(" Advanced Blocks","gutenverse-companion")]})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsxs)("span",{children:[(0,o.__)("Unlock ","gutenverse-companion"),(0,l.jsx)("b",{children:(0,o.__)("1000+","gutenverse-companion")}),(0,o.__)(" Icons Selector","gutenverse-companion")]})]})]}),(0,l.jsx)("div",{className:"upgrade-pro-button",onClick:function(){return window.open(h+"?utm_source="+m+"&utm_medium=wizard&utm_campaign=upgradepro","_blank")},children:(0,l.jsxs)("div",{className:"button-content-wrapper",children:[(0,l.jsx)("span",{children:(0,o.__)("Upgrade To PRO","gutenverse-companion")}),(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"})})]})})]}),(0,l.jsxs)("div",{className:"content-right plus-theme",children:[(0,l.jsx)("img",{className:"background",src:x+"/wizard-background-circle.png"}),(0,l.jsx)("img",{className:"positioned slideInUpThumbnail",src:g,style:{maxWidth:"95%",top:"10px",marginLeft:"10px",marginRight:"10px",zIndex:"5"}}),(0,l.jsx)("div",{className:"thumbnail-overlay"})]}),(0,l.jsx)("div",{className:"splide-autoplay-controls",children:(0,l.jsx)("div",{className:"splide-toggle-div plus-theme",onClick:y,children:r?(0,l.jsx)(mr,{}):(0,l.jsx)(xr,{})})})]})}),(0,l.jsx)(Tt,{children:(0,l.jsxs)("div",{className:"upgrade-pro-content",children:[(0,l.jsxs)("div",{className:"content-left",children:[(0,l.jsx)("h3",{className:"content-title",children:(0,o.__)("Design Without Limits","gutenverse-companion")}),(0,l.jsx)("p",{className:"content-desc",children:(0,o.__)("Unlock unlimited creative possibilities and craft a truly stunning website experience.","gutenverse-companion")}),(0,l.jsxs)("div",{className:"column",children:[(0,l.jsxs)("ul",{className:"content-list",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Advanced Animation Effects.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Transform.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Text Clip.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Highlight Styles.","gutenverse-companion")})]})]}),(0,l.jsxs)("ul",{className:"content-list",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Animated Shape Dividers.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Mouse Move Effect.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Fluid Background.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Background Effects.","gutenverse-companion")})]})]})]}),(0,l.jsx)("div",{className:"upgrade-pro-button",onClick:function(){return window.open(h+"?utm_source="+m+"&utm_medium=wizard&utm_campaign=upgradepro","_blank")},children:(0,l.jsxs)("div",{className:"button-content-wrapper",children:[(0,l.jsx)("span",{children:(0,o.__)("Upgrade To PRO","gutenverse-companion")}),(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"})})]})})]}),(0,l.jsxs)("div",{className:"content-right",children:[(0,l.jsx)("img",{className:"background",src:x+"/wizard-background-circle.png"}),(0,l.jsx)("img",{className:"positioned rotateCw slideInUp",src:x+"/limitless-design-mockup-arrow-animation.png",style:{width:"50px",top:"190px",left:"35px",zIndex:"9"}}),(0,l.jsx)("img",{className:"positioned slideInUp",src:x+"/limitless-design-mockup-animation-wizard.png",style:{width:"200px",top:"205px",left:"90px"}}),(0,l.jsx)("img",{className:"positioned slideInUp",src:x+"/limitless-design-mockup-blink.png",style:{width:"20px",top:"330px",right:"160px",animationDelay:"0.1s"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/limitless-design-mockup-icon-animation.png",style:{width:"25px",top:"100px",left:"50px"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/limitless-design-mockup-icon-star.png",style:{width:"25px",top:"60px",left:"100px",animationDelay:"0.2s"}}),(0,l.jsx)("img",{className:"positioned slideInRight",src:x+"/limitless-design-mockup-fade-animation.png",style:{width:"80px",top:"130px",right:"10px"}}),(0,l.jsx)("img",{className:"positioned slideInLeft",src:x+"/limitless-design-mockup-move-animation.png",style:{width:"80px",top:"295px",left:"85px",animationDelay:"0.2s"}}),(0,l.jsx)("img",{className:"positioned slideInRight",src:x+"/limitless-design-mockup-animation-star.png",style:{width:"150px",top:"295px",right:"-65px",zIndex:"9"}})]}),(0,l.jsx)("div",{className:"splide-autoplay-controls",children:(0,l.jsx)("div",{className:"splide-toggle-div",onClick:y,children:r?(0,l.jsx)(mr,{}):(0,l.jsx)(xr,{})})})]})}),(0,l.jsx)(Tt,{children:(0,l.jsxs)("div",{className:"upgrade-pro-content",children:[(0,l.jsxs)("div",{className:"content-left",children:[(0,l.jsx)("h3",{className:"content-title",children:(0,o.__)("Engage Visitors, Drive Results","gutenverse-companion")}),(0,l.jsx)("p",{className:"content-desc",children:(0,o.__)("Turn your website into a lead-generation machine and keep your audience engaged.","gutenverse-companion")}),(0,l.jsxs)("ul",{className:"content-list",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Gutenverse Form.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Gutenverse Popup.","gutenverse-companion")})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("div",{className:"circle",children:(0,l.jsx)(Ut,{size:12})}),(0,l.jsx)("span",{children:(0,o.__)("Gutenverse News.","gutenverse-companion")})]})]}),(0,l.jsx)("div",{className:"upgrade-pro-button",onClick:function(){return window.open(h+"?utm_source="+m+"&utm_medium=wizard&utm_campaign=upgradepro","_blank")},children:(0,l.jsxs)("div",{className:"button-content-wrapper",children:[(0,l.jsx)("span",{children:(0,o.__)("Upgrade To PRO","gutenverse-companion")}),(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"})})]})})]}),(0,l.jsxs)("div",{className:"content-right",children:[(0,l.jsx)("img",{className:"background",src:x+"/wizard-background-circle.png"}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/engage-result-mockup-gutenverse-form.png",style:{width:"170px",top:"40px",left:"110px",zIndex:"99"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/engage-result-mockup-gutenverse-popup.png",style:{width:"170px",top:"175px",left:"15px",zIndex:"99",animationDelay:"0.2s"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/engage-result-mockup-gutenverse-news.png",style:{width:"170px",top:"230px",right:"15px",zIndex:"99",animationDelay:"0.4s"}})]}),(0,l.jsx)("div",{className:"splide-autoplay-controls",children:(0,l.jsx)("div",{className:"splide-toggle-div",onClick:y,children:r?(0,l.jsx)(mr,{}):(0,l.jsx)(xr,{})})})]})}),(0,l.jsx)(Tt,{children:(0,l.jsxs)("div",{className:"upgrade-pro-content",children:[(0,l.jsxs)("div",{className:"content-left",children:[(0,l.jsx)("h3",{className:"content-title",children:(0,o.__)("Why Upgrade to PRO?","gutenverse-companion")}),(0,l.jsxs)("p",{className:"content-desc",children:[(0,o.__)("With","gutenverse-companion"),(0,l.jsx)("b",{children:(0,o.__)(" Gutenverse PRO","gutenverse-companion")}),(0,o.__)(" you're not just unlocking extra features—you're unlocking freedom. Freedom to design faster. Freedom to be more creative. Freedom to engage your audience at a whole new level.","gutenverse-companion")]}),(0,l.jsx)("p",{className:"content-desc bold",children:(0,o.__)("Ready to take your website to the next stage?","gutenverse-companion")}),(0,l.jsx)("div",{className:"upgrade-pro-button",onClick:function(){return window.open(h+"?utm_source="+m+"&utm_medium=wizard&utm_campaign=upgradepro","_blank")},children:(0,l.jsxs)("div",{className:"button-content-wrapper",children:[(0,l.jsx)("span",{children:(0,o.__)("Upgrade To PRO","gutenverse-companion")}),(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M3.25 9.5L2 2.625L5.4375 5.75L7.625 2L9.8125 5.75L13.25 2.625L12 9.5H3.25ZM12 11.375C12 11.75 11.75 12 11.375 12H3.875C3.5 12 3.25 11.75 3.25 11.375V10.75H12V11.375Z",fill:"white"})})]})}),(0,l.jsx)("div",{className:"flexible-container-arrow",children:(0,l.jsxs)("svg",{width:"75",height:"66",viewBox:"0 0 81 66",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M7.14771 51.5482C55.9057 58.3778 90.3609 32.8459 66.1666 10.5624",stroke:"url(#paint0_linear_24721_12165)",strokeWidth:"1.5",strokeLinecap:"round"}),(0,l.jsx)("path",{d:"M9.61444 48.8749L6.32684 51.5726L8.69361 55.3227",stroke:"#3B57F7",strokeWidth:"1.5",strokeLinecap:"round"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_24721_12165",x1:"30.6503",y1:"51.7548",x2:"43.9983",y2:"4.05337",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#3B57F7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#3B57F7",stopOpacity:"0"})]})})]})})]}),(0,l.jsxs)("div",{className:"content-right",children:[(0,l.jsx)("img",{className:"background",src:x+"/wizard-background-circle.png"}),(0,l.jsx)("img",{className:"positioned slideInUp",src:x+"/upgrade-pro-mockup-frame-pro.png",style:{width:"300px",top:"230px",left:"40px",zIndex:"2"}}),(0,l.jsx)("img",{className:"positioned slideInRight",src:x+"/upgrade-pro-mockup-cube-gutenverse.png",style:{width:"160px",top:"250px",right:"-70px",zIndex:"99",animationDelay:"0.1s"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/upgrade-pro-mockup-icon-lottie.png",style:{width:"50px",top:"280px",left:"30px",animationDelay:"0.4s"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/upgrade-pro-mockup-icon-megamenu.png",style:{width:"50px",top:"90px",right:"40px",animationDelay:"0.3s"}}),(0,l.jsx)("img",{className:"positioned scaleIn",src:x+"/upgrade-pro-mockup-icon-text-marquee.png",style:{width:"50px",top:"100px",left:"30px",animationDelay:"0.2s"}})]}),(0,l.jsx)("div",{className:"splide-autoplay-controls",children:(0,l.jsx)("div",{className:"splide-toggle-div",onClick:y,children:r?(0,l.jsx)(mr,{}):(0,l.jsx)(xr,{})})})]})})]}),(0,l.jsxs)("div",{className:"splide__arrows",children:[(0,l.jsx)("button",{className:"splide__arrow splide__arrow--prev",children:(0,l.jsx)(fr,{})}),(0,l.jsx)("button",{className:"splide__arrow splide__arrow--next",children:(0,l.jsx)(hr,{})})]}),(0,l.jsxs)("div",{className:"progress-bars",children:[(0,l.jsxs)("div",{className:"progress-bar",children:[(0,l.jsxs)("p",{className:"progress-bar-title",children:[(0,l.jsx)(yr,{}),(0,o.__)("Get ","gutenverse-companion"),v]}),(0,l.jsx)("div",{className:"individual-progress-bar",children:(0,l.jsx)("div",{className:"progress-bar-fill"})})]}),(0,l.jsxs)("div",{className:"progress-bar",children:[(0,l.jsxs)("p",{className:"progress-bar-title",children:[(0,l.jsx)(vr,{}),(0,o.__)("Limitless Design","gutenverse-companion")]}),(0,l.jsx)("div",{className:"individual-progress-bar",children:(0,l.jsx)("div",{className:"progress-bar-fill"})})]}),(0,l.jsxs)("div",{className:"progress-bar",children:[(0,l.jsxs)("p",{className:"progress-bar-title",children:[(0,l.jsx)(gr,{}),(0,o.__)("Engage Result","gutenverse-companion")]}),(0,l.jsx)("div",{className:"individual-progress-bar",children:(0,l.jsx)("div",{className:"progress-bar-fill"})})]}),(0,l.jsxs)("div",{className:"progress-bar",children:[(0,l.jsxs)("p",{className:"progress-bar-title",children:[(0,l.jsx)(jr,{}),(0,o.__)("Upgrade PRO","gutenverse-companion")]}),(0,l.jsx)("div",{className:"individual-progress-bar",children:(0,l.jsx)("div",{className:"progress-bar-fill"})})]})]})]})}),(0,l.jsx)("div",{className:"upgrade-footer",children:(0,l.jsxs)("div",{className:"upgrade-actions",children:[(0,l.jsxs)("div",{onClick:function(){return n("installPlugin",-1)},className:"button-back",children:[(0,l.jsx)("svg",{width:"16",height:"9",viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M15 5.1C15.3314 5.1 15.6 4.83137 15.6 4.5C15.6 4.16863 15.3314 3.9 15 3.9V5.1ZM0.575736 4.07574C0.341421 4.31005 0.341421 4.68995 0.575736 4.92426L4.39411 8.74264C4.62843 8.97696 5.00833 8.97696 5.24264 8.74264C5.47696 8.50833 5.47696 8.12843 5.24264 7.89411L1.84853 4.5L5.24264 1.10589C5.47696 0.871573 5.47696 0.491674 5.24264 0.257359C5.00833 0.0230446 4.62843 0.0230446 4.39411 0.257359L0.575736 4.07574ZM15 3.9L1 3.9V5.1L15 5.1V3.9Z",fill:"#99A2A9"})}),(0,o.__)("Back","gutenverse-companion")]}),(0,l.jsx)("div",{onClick:function(){return n("done",1)},className:"button-next",children:(0,o.__)("Next","gutenverse-companion")})]})})]})};const _r=function(){var e=i((0,s.useState)("installPlugin"),2),n=e[0],t=e[1],r=i((0,s.useState)(0),2),c=r[0],a=r[1],u=i((0,s.useState)("install"),2),d=u[0],p=u[1],f=window.GutenverseWizard.gutenverseImgDir,h=function(e,n){t(e),a(c+n)};return(0,l.jsx)("div",{className:"theme-wizard-wrapper",children:(0,l.jsxs)("div",{className:"theme-wizard",children:[(0,l.jsxs)("div",{className:"wizard-header",children:[(0,l.jsxs)("div",{className:"progress ".concat("installPlugin"===n?"active":""," ").concat(c>=0?"done":""),children:[(0,l.jsx)("p",{className:"number",children:"1"}),(0,l.jsx)("h3",{className:"progress-title",children:(0,o.__)("Plugin Requirements","gutenverse")})]}),(0,l.jsxs)("div",{className:"progress ".concat("upgradePro"===n?"active":""," ").concat(c>=1?"done":""),children:[(0,l.jsx)("p",{className:"number",children:"2"}),(0,l.jsx)("h3",{className:"progress-title",children:(0,o.__)("Upgrade Your Site","gutenverse")})]}),(0,l.jsxs)("div",{className:"progress ".concat("done"===n?"active":""," ").concat(c>=2?"done":""),children:[(0,l.jsx)("p",{className:"number",children:"3"}),(0,l.jsx)("h3",{className:"progress-title",children:(0,o.__)("Finalizing","gutenverse")})]})]}),(0,l.jsx)("div",{className:"wizard-body",children:function(){switch(n){case"done":return(0,l.jsxs)("div",{className:"finalizing",children:[(0,l.jsx)("div",{className:"image-wrapper",children:(0,l.jsx)("img",{className:"image-done",src:f+"/lite-plus-tf-final.png"})}),(0,l.jsxs)("div",{className:"final-detail",children:[(0,l.jsx)("h3",{className:"final-title",children:(0,o.__)("Congratulations All Set 🤩","gutenverse")}),(0,l.jsx)("p",{className:"final-desc",children:(0,o.__)("This theme is built with Gutenverse, a powerful and lightweight Gutenberg blocks and page builder plugin for the WordPress Site Editor.","gutenverse")}),(0,l.jsx)("div",{onClick:function(){window.location.href="".concat(window.GutenThemeConfig.dashboardPage)},className:"button-visit",children:(0,o.__)("Visit Dashboard","gutenverse")})]})]});case"upgradePro":return(0,l.jsx)(Or,{updateProgress:h});default:return(0,l.jsx)(br,{updateProgress:h,action:d,setAction:p})}}()})]})})};function Nr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var kr=function(e){var n=e.part,t=e.selected,r=e.toggleSelected,i=e.icon,s=e.title,o=e.subtitle,c=O()("wizard-gutenverse-form","wizard-item",{selected:t});return(0,l.jsxs)("div",{className:c,onClick:function(){return r(n)},children:[(0,l.jsx)("div",{className:"wizard-item-icon",children:i}),(0,l.jsxs)("div",{className:"wizard-item-content",children:[(0,l.jsx)("h3",{children:s()}),(0,l.jsx)("p",{children:o})]}),t&&(0,l.jsx)("div",{className:"wizard-item-check",children:(0,l.jsx)(j,{})})]})},Sr=function(e){var t=e.setStage,r=window.GutenverseWizard,c=r.status,a=r.dashboard,u=Object.keys(c).reduce(function(e,n){return c[n]?e+1:e},0),d=i((0,s.useState)({form:c.form,icon:c.icon}),2),p=d[0],f=d[1],h=c.form,g=c.icon,v=i((0,s.useState)("choose"),2),m=v[0],x=v[1],j=i((0,s.useState)({step:-1,totalStep:1,text:""}),2),b=j[0],_=j[1],P=function(e){"choose"===m&&f(function(t){return Pr(Pr({},t),{},n({},e,!t[e]))})},k=function(e){x("installing");var n=Object.keys(p).filter(function(e){return p[e]}),t=Object.keys(p).reduce(function(e,n){return p[n]?e+1:e},0),r=n[e],i="";switch(r){case"form":i=(0,o.__)("Install Gutenverse Form Plugin","gutenverse");break;case"icon":i=(0,o.__)("Install Gutenverse Icon","gutenverse")}_({step:e,totalStep:t,text:i}),e<t?N()({path:"gutenverse-client/v1/upgrade",method:"POST",data:{step:r}}).then(function(){k(e+1)}):(N()({path:"gutenverse-client/v1/upgrade",method:"POST",data:{step:"complete"}}),_({step:t,totalStep:t,text:(0,o.__)("Redirecting to Dashboard","gutenverse")}),setTimeout(function(){window.location.href=a},3e3))};return u>0?(0,l.jsx)("div",{className:"wizard-wrapper",children:(0,l.jsxs)("div",{className:"wizard-container",children:[(0,l.jsxs)("div",{className:"wizard-container-header",children:[(0,l.jsx)("h1",{children:(0,o.__)("Thank you for upgrading Gutenverse","gutenverse")}),(0,l.jsx)("p",{children:(0,o.__)("We separate block into several plugin on Version 2. Choose plugin or asset that you want to install & activate.","gutenverse")})]}),(0,l.jsxs)("div",{className:"wizard-container-body",children:[h&&(0,l.jsx)(kr,{title:function(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("strong",{children:[(0,o.__)("Gutenverse","gutenverse")," "]}),(0,o.__)("Form","gutenverse")]})},subtitle:(0,o.__)("Flexible, Design-Friendly and Advanced Contact Form builder plugin for WordPress new Editor"),icon:(0,l.jsx)(y,{}),part:"form",selected:p.form,toggleSelected:P}),g&&(0,l.jsx)(kr,{title:function(){return(0,l.jsx)(l.Fragment,{children:(0,o.__)("Gutenicon & Fontawesome","gutenverse")})},subtitle:(0,o.__)("Download Gutenverse fonticon into your server"),icon:(0,l.jsx)(w,{}),part:"icon",selected:p.icon,toggleSelected:P})]}),(0,l.jsxs)("div",{className:"wizard-container-footer",children:[(0,l.jsxs)("div",{className:O()("wizard-progress",{hide:"installing"!==m}),children:[(0,l.jsxs)("div",{className:"wizard-progress-wrapper",children:[(0,l.jsxs)("div",{className:"progress-text",children:[" ",b.text," "]}),b.step!==b.totalStep&&(0,l.jsxs)("div",{className:"progress-step",children:[b.step+1," / ",b.totalStep," ",(0,o.__)("Completed","gutenverse")]})]}),(0,l.jsx)("div",{className:"progress-bar",children:(0,l.jsx)("div",{className:"progress-done",style:{width:(b.step+1)/(b.totalStep+1)*100+"%"}})})]}),"choose"===m&&(0,l.jsxs)("div",{className:"wizard-button",children:[(0,l.jsx)("div",{className:"button secondary",onClick:function(){return t("later")},children:(0,o.__)("Install Later")}),(0,l.jsx)("div",{className:"button active",onClick:function(){return k(0)},children:(0,o.__)("Install & Activate")})]})]})]})}):(0,l.jsx)("div",{className:"wizard-wrapper",children:(0,l.jsxs)("div",{className:"wizard-container",children:[(0,l.jsxs)("div",{className:"wizard-container-header",children:[(0,l.jsx)("h1",{children:(0,o.__)("All Setup is Done","gutenverse")}),(0,l.jsx)("p",{children:(0,o.__)("All required plugins are upgraded and activated.","gutenverse")})]}),(0,l.jsx)("div",{className:"wizard-container-footer",children:(0,l.jsx)("div",{className:"wizard-button",children:(0,l.jsx)("div",{className:"button active",onClick:function(){return window.open(a)},children:(0,o.__)("Go to Dashboard","gutenverse")})})})]})})},Er=function(e){var n=e.setStage,t=window.GutenverseWizard.dashboard;return(0,l.jsx)("div",{className:"wizard-wrapper",children:(0,l.jsxs)("div",{className:"wizard-container",children:[(0,l.jsxs)("div",{className:"wizard-container-header",children:[(0,l.jsx)("h1",{children:(0,o.__)("New Gutenverse Setup","gutenverse")}),(0,l.jsx)("p",{children:(0,o.__)("If you decide to do upgrade later, you can follow this step.","gutenverse")})]}),(0,l.jsx)("div",{className:"wizard-container-body",style:{margin:"70px 0px 90px"},children:(0,l.jsxs)("ol",{children:[(0,l.jsxs)("li",{style:{marginBottom:"40px"},children:[(0,l.jsx)("h3",{style:{fontWeight:500},children:(0,o.__)("Install Additional Gutenverse Plugin","gutenverse")}),(0,l.jsxs)("p",{children:[(0,o.__)("Go to","gutenverse")," ",(0,l.jsx)("strong",{children:(0,o.__)("Gutenverse Dashboard → Ecosystem","gutenverse")})," ",(0,o.__)("and Choose which plugin you want to install.","gutenverse")]})]}),(0,l.jsxs)("li",{style:{marginBottom:"40px"},children:[(0,l.jsx)("h3",{style:{fontWeight:500},children:(0,o.__)("Load Fonticon locally","gutenverse")}),(0,l.jsxs)("p",{children:[(0,o.__)("Go to","gutenverse")," ",(0,l.jsx)("strong",{children:(0,o.__)("Gutenverse Dashboard → Setting → Font","gutenverse")})," ",(0,o.__)("and you can download font icon and serve it from your server instead of cloud.","gutenverse")]})]})]})}),(0,l.jsx)("div",{className:"wizard-container-footer",children:(0,l.jsxs)("div",{className:"wizard-button",children:[(0,l.jsx)("a",{className:"button secondary",href:t,children:(0,o.__)("Go to Dashboard","gutenverse")}),(0,l.jsx)("div",{className:"button active",onClick:function(){return n("install")},children:(0,o.__)("Back to Upgrade Page","gutenverse")})]})})]})})},zr=function(){var e=i((0,s.useState)("install"),2),n=e[0],t=e[1];return"install"===n?(0,l.jsx)(Sr,{setStage:t}):(0,l.jsx)(Er,{setStage:t})};window.addEventListener("load",function(){!function(){var e=document.getElementById("gutenverse-wizard");e&&(0,s.createRoot)(e).render((0,l.jsx)(zr,{}));var n=document.getElementById("gutenverse-onboard-wizard");n&&(0,s.createRoot)(n).render((0,l.jsx)(_r,{}))}()})})()})();

Hry