/home/silvwabw/www/wp-content/plugins/gutenverse-companion/assets/js/gutenverse-theme-wizard.js
(()=>{var e={39:(e,t,n)=>{var r=n(310)(n(453),"WeakMap");e.exports=r},50:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},55:e=>{e.exports=function(){return!1}},61:(e,t,n)=>{var r=n(624),a=n(358),i=n(50),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&a(e.length)&&!!o[r(e)]}},73:(e,t,n)=>{var r=n(453).Symbol;e.exports=r},77:(e,t,n)=>{var r=n(364),a=n(615),i=n(676),o=n(489),s=n(39),l=n(624),c=n(513),u="[object Map]",m="[object Promise]",p="[object Set]",d="[object WeakMap]",f="[object DataView]",h=c(r),g=c(a),v=c(i),E=c(o),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=f||a&&w(new a)!=u||i&&w(i.resolve())!=m||o&&w(new o)!=p||s&&w(new s)!=d)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case h:return f;case g:return u;case v:return m;case E:return p;case b:return d}return t}),e.exports=w},152:(e,t,n)=>{var r=n(327),a=n(450),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},167:(e,t,n)=>{var r=n(61),a=n(877),i=n(273),o=i&&i.isTypedArray,s=o?a(o):r;e.exports=s},186:(e,t,n)=>{"use strict";var r=n(985);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},187:(e,t,n)=>{var r=n(330),a=n(992),i=n(717),o=n(513),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,m=c.hasOwnProperty,p=RegExp("^"+u.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||a(e))&&(r(e)?p:s).test(o(e))}},232:(e,t,n)=>{e=n.nmd(e);var r=n(453),a=n(55),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||a;e.exports=l},273:(e,t,n)=>{e=n.nmd(e);var r=n(928),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s},310:(e,t,n)=>{var r=n(187),a=n(584);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},327:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},330:(e,t,n)=>{var r=n(624),a=n(717);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},353:(e,t,n)=>{var r=n(453)["__core-js_shared__"];e.exports=r},356:(e,t,n)=>{var r=n(382),a=n(50),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},358:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},364:(e,t,n)=>{var r=n(310)(n(453),"DataView");e.exports=r},382:(e,t,n)=>{var r=n(624),a=n(50);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},450:(e,t,n)=>{var r=n(951)(Object.keys,Object);e.exports=r},453:(e,t,n)=>{var r=n(928),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},478:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},489:(e,t,n)=>{var r=n(310)(n(453),"Set");e.exports=r},513:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},521:e=>{var t=Array.isArray;e.exports=t},584:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},615:(e,t,n)=>{var r=n(310)(n(453),"Map");e.exports=r},624:(e,t,n)=>{var r=n(73),a=n(915),i=n(478),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},633:(e,t,n)=>{var r=n(152),a=n(77),i=n(356),o=n(521),s=n(710),l=n(232),c=n(327),u=n(167),m=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}},676:(e,t,n)=>{var r=n(310)(n(453),"Promise");e.exports=r},710:(e,t,n)=>{var r=n(330),a=n(358);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},717:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},736:(e,t,n)=>{e.exports=n(186)()},877:e=>{e.exports=function(e){return function(t){return e(t)}}},915:(e,t,n)=>{var r=n(73),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[s]=n:delete e[s]),a}},928:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},951:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},992:(e,t,n)=>{var r,a=n(353),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var a=r.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=r[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>he,hasStandardBrowserEnv:()=>ve,hasStandardBrowserWebWorkerEnv:()=>Ee,navigator:()=>ge,origin:()=>be});const t=window.React;var r=n.n(t);const a=window.wp.element,i=window.wp.i18n;function o(e,t){return function(){return e.apply(t,arguments)}}const{toString:s}=Object.prototype,{getPrototypeOf:l}=Object,{iterator:c,toStringTag:u}=Symbol,m=(p=Object.create(null),e=>{const t=s.call(e);return p[t]||(p[t]=t.slice(8,-1).toLowerCase())});var p;const d=e=>(e=e.toLowerCase(),t=>m(t)===e),f=e=>t=>typeof t===e,{isArray:h}=Array,g=f("undefined");function v(e){return null!==e&&!g(e)&&null!==e.constructor&&!g(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E=d("ArrayBuffer"),b=f("string"),w=f("function"),y=f("number"),C=e=>null!==e&&"object"==typeof e,_=e=>{if("object"!==m(e))return!1;const t=l(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||u in e||c in e)},x=d("Date"),N=d("File"),S=d("Blob"),k=d("FileList"),O=d("URLSearchParams"),[L,T,P,R]=["ReadableStream","Request","Response","Headers"].map(d);function A(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),h(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{if(v(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let o;for(r=0;r<i;r++)o=a[r],t.call(null,e[o],o,e)}}function j(e,t){if(v(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,F=e=>!g(e)&&e!==D,I=(M="undefined"!=typeof Uint8Array&&l(Uint8Array),e=>M&&e instanceof M);var M;const B=d("HTMLFormElement"),U=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),z=d("RegExp"),H=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};A(n,(n,a)=>{let i;!1!==(i=t(n,a,e))&&(r[a]=i||n)}),Object.defineProperties(e,r)},V=d("AsyncFunction"),q=(W="function"==typeof setImmediate,$=w(D.postMessage),W?setImmediate:$?(Z=`axios@${Math.random()}`,G=[],D.addEventListener("message",({source:e,data:t})=>{e===D&&t===Z&&G.length&&G.shift()()},!1),e=>{G.push(e),D.postMessage(Z,"*")}):e=>setTimeout(e));var W,$,Z,G;const J="undefined"!=typeof queueMicrotask?queueMicrotask.bind(D):"undefined"!=typeof process&&process.nextTick||q,K={isArray:h,isArrayBuffer:E,isBuffer:v,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||w(e.append)&&("formdata"===(t=m(e))||"object"===t&&w(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t},isString:b,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:C,isPlainObject:_,isEmptyObject:e=>{if(!C(e)||v(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:L,isRequest:T,isResponse:P,isHeaders:R,isUndefined:g,isDate:x,isFile:N,isBlob:S,isRegExp:z,isFunction:w,isStream:e=>C(e)&&w(e.pipe),isURLSearchParams:O,isTypedArray:I,isFileList:k,forEach:A,merge:function e(){const{caseless:t,skipUndefined:n}=F(this)&&this||{},r={},a=(a,i)=>{const o=t&&j(r,i)||i;_(r[o])&&_(a)?r[o]=e(r[o],a):_(a)?r[o]=e({},a):h(a)?r[o]=a.slice():n&&g(a)||(r[o]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&A(arguments[e],a);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(A(t,(t,r)=>{n&&w(t)?e[r]=o(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,i,o;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],r&&!r(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&l(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:d,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(h(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[c]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:B,hasOwnProperty:U,hasOwnProp:U,reduceDescriptors:H,freezeMethods:e=>{H(e,(t,n)=>{if(w(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];w(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return h(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:j,global:D,isContextDefined:F,isSpecCompliantForm:function(e){return!!(e&&w(e.append)&&"FormData"===e[u]&&e[c])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(C(e)){if(t.indexOf(e)>=0)return;if(v(e))return e;if(!("toJSON"in e)){t[r]=e;const a=h(e)?[]:{};return A(e,(e,t)=>{const i=n(e,r+1);!g(i)&&(a[t]=i)}),t[r]=void 0,a}}return e};return n(e,0)},isAsyncFn:V,isThenable:e=>e&&(C(e)||w(e))&&w(e.then)&&w(e.catch),setImmediate:q,asap:J,isIterable:e=>null!=e&&w(e[c])};function X(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}K.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}});const Y=X.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Q[e]={value:e}}),Object.defineProperties(X,Q),Object.defineProperty(Y,"isAxiosError",{value:!0}),X.from=(e,t,n,r,a,i)=>{const o=Object.create(Y);K.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return X.call(o,s,l,n,r,a),e&&null==o.cause&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",i&&Object.assign(o,i),o};const ee=X;function te(e){return K.isPlainObject(e)||K.isArray(e)}function ne(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function re(e,t,n){return e?e.concat(t).map(function(e,t){return e=ne(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const ae=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)}),ie=function(e,t,n){if(!K.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!K.isUndefined(t[e])})).metaTokens,a=n.visitor||c,i=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(K.isDate(e))return e.toISOString();if(K.isBoolean(e))return e.toString();if(!s&&K.isBlob(e))throw new ee("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(e)||K.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(K.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(K.isArray(e)&&function(e){return K.isArray(e)&&!e.some(te)}(e)||(K.isFileList(e)||K.endsWith(n,"[]"))&&(s=K.toArray(e)))return n=ne(n),s.forEach(function(e,r){!K.isUndefined(e)&&null!==e&&t.append(!0===o?re([n],r,i):null===o?n:n+"[]",l(e))}),!1;return!!te(e)||(t.append(re(a,n,i),l(e)),!1)}const u=[],m=Object.assign(ae,{defaultVisitor:c,convertValue:l,isVisitable:te});if(!K.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!K.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),K.forEach(n,function(n,i){!0===(!(K.isUndefined(n)||null===n)&&a.call(t,n,K.isString(i)?i.trim():i,r,m))&&e(n,r?r.concat(i):[i])}),u.pop()}}(e),t};function oe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function se(e,t){this._pairs=[],e&&ie(e,this,t)}const le=se.prototype;le.append=function(e,t){this._pairs.push([e,t])},le.toString=function(e){const t=e?function(t){return e.call(this,t,oe)}:oe;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const ce=se;function ue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function me(e,t,n){if(!t)return e;const r=n&&n.encode||ue;K.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(i=a?a(t,n):K.isURLSearchParams(t)?t.toString():new ce(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const pe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(t){null!==t&&e(t)})}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ce,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},he="undefined"!=typeof window&&"undefined"!=typeof document,ge="object"==typeof navigator&&navigator||void 0,ve=he&&(!ge||["ReactNative","NativeScript","NS"].indexOf(ge.product)<0),Ee="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,be=he&&window.location.href||"http://localhost",we={...e,...fe},ye=function(e){function t(e,n,r,a){let i=e[a++];if("__proto__"===i)return!0;const o=Number.isFinite(+i),s=a>=e.length;return i=!i&&K.isArray(r)?r.length:i,s?(K.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!o):(r[i]&&K.isObject(r[i])||(r[i]=[]),t(e,n,r[i],a)&&K.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}(r[i])),!o)}if(K.isFormData(e)&&K.isFunction(e.entries)){const n={};return K.forEachEntry(e,(e,r)=>{t(function(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null},Ce={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=K.isObject(e);if(a&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return r?JSON.stringify(ye(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ie(e,new we.classes.URLSearchParams,{visitor:function(e,t,n,r){return we.isNode&&K.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=K.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ie(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e){if(K.isString(e))try{return(0,JSON.parse)(e),K.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ce.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(K.isResponse(e)||K.isReadableStream(e))return e;if(e&&K.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw ee.from(e,ee.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:we.classes.FormData,Blob:we.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{Ce.headers[e]={}});const _e=Ce,xe=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ne=Symbol("internals");function Se(e){return e&&String(e).trim().toLowerCase()}function ke(e){return!1===e||null==e?e:K.isArray(e)?e.map(ke):String(e)}function Oe(e,t,n,r,a){return K.isFunction(r)?r.call(this,t,n):(a&&(t=n),K.isString(t)?K.isString(r)?-1!==t.indexOf(r):K.isRegExp(r)?r.test(t):void 0:void 0)}class Le{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Se(t);if(!a)throw new Error("header name must be a non-empty string");const i=K.findKey(r,a);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ke(e))}const i=(e,t)=>K.forEach(e,(e,n)=>a(e,n,t));if(K.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(K.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach(function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&xe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(K.isObject(e)&&K.isIterable(e)){let n,r,a={};for(const t of e){if(!K.isArray(t))throw TypeError("Object iterator must return a key-value pair");a[r=t[0]]=(n=a[r])?K.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(a,t)}else null!=e&&a(t,e,n);return this}get(e,t){if(e=Se(e)){const n=K.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(K.isFunction(t))return t.call(this,e,n);if(K.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Se(e)){const n=K.findKey(this,e);return!(!n||void 0===this[n]||t&&!Oe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Se(e)){const a=K.findKey(n,e);!a||t&&!Oe(0,n[a],a,t)||(delete n[a],r=!0)}}return K.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!Oe(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return K.forEach(this,(r,a)=>{const i=K.findKey(n,a);if(i)return t[i]=ke(r),void delete t[a];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(a):String(a).trim();o!==a&&delete t[a],t[o]=ke(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return K.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&K.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Ne]=this[Ne]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Se(e);t[r]||(function(e,t){const n=K.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})})}(n,e),t[r]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}Le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),K.reduceDescriptors(Le.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),K.freezeMethods(Le);const Te=Le;function Pe(e,t){const n=this||_e,r=t||n,a=Te.from(r.headers);let i=r.data;return K.forEach(e,function(e){i=e.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Re(e){return!(!e||!e.__CANCEL__)}function Ae(e,t,n){ee.call(this,null==e?"canceled":e,ee.ERR_CANCELED,t,n),this.name="CanceledError"}K.inherits(Ae,ee,{__CANCEL__:!0});const je=Ae;function De(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ee("Request failed with status code "+n.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Fe=(e,t,n=3)=>{let r=0;const a=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,i=0,o=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[o];a||(a=l),n[i]=s,r[i]=l;let u=o,m=0;for(;u!==i;)m+=n[u++],u%=e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),l-a<t)return;const p=c&&l-c;return p?Math.round(1e3*m/p):void 0}}(50,250);return function(e,t){let n,r,a=0,i=1e3/t;const o=(t,i=Date.now())=>{a=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=i?o(e,t):(n=e,r||(r=setTimeout(()=>{r=null,o(n)},i-s)))},()=>n&&o(n)]}(n=>{const i=n.loaded,o=n.lengthComputable?n.total:void 0,s=i-r,l=a(s);r=i,e({loaded:i,total:o,progress:o?i/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&i<=o?(o-i)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},Ie=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Me=e=>(...t)=>K.asap(()=>e(...t)),Be=we.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,we.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(we.origin),we.navigator&&/(msie|trident)/i.test(we.navigator.userAgent)):()=>!0,Ue=we.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const o=[e+"="+encodeURIComponent(t)];K.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),K.isString(r)&&o.push("path="+r),K.isString(a)&&o.push("domain="+a),!0===i&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ze(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const He=e=>e instanceof Te?{...e}:e;function Ve(e,t){t=t||{};const n={};function r(e,t,n,r){return K.isPlainObject(e)&&K.isPlainObject(t)?K.merge.call({caseless:r},e,t):K.isPlainObject(t)?K.merge({},t):K.isArray(t)?t.slice():t}function a(e,t,n,a){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e,0,a):r(e,t,0,a)}function i(e,t){if(!K.isUndefined(t))return r(void 0,t)}function o(e,t){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,a,i){return i in t?r(n,a):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>a(He(e),He(t),0,!0)};return K.forEach(Object.keys({...e,...t}),function(r){const i=l[r]||a,o=i(e[r],t[r],r);K.isUndefined(o)&&i!==s||(n[r]=o)}),n}const qe=e=>{const t=Ve({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;if(t.headers=o=Te.from(o),t.url=me(ze(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),K.isFormData(n))if(we.hasStandardBrowserEnv||we.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(K.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}if(we.hasStandardBrowserEnv&&(r&&K.isFunction(r)&&(r=r(t)),r||!1!==r&&Be(t.url))){const e=a&&i&&Ue.read(i);e&&o.set(a,e)}return t},We="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=qe(e);let a=r.data;const i=Te.from(r.headers).normalize();let o,s,l,c,u,{responseType:m,onUploadProgress:p,onDownloadProgress:d}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let h=new XMLHttpRequest;function g(){if(!h)return;const r=Te.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());De(function(e){t(e),f()},function(e){n(e),f()},{data:m&&"text"!==m&&"json"!==m?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new ee("Request aborted",ee.ECONNABORTED,e,h)),h=null)},h.onerror=function(t){const r=t&&t.message?t.message:"Network Error",a=new ee(r,ee.ERR_NETWORK,e,h);a.event=t||null,n(a),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const a=r.transitional||de;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ee(t,a.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,h)),h=null},void 0===a&&i.setContentType(null),"setRequestHeader"in h&&K.forEach(i.toJSON(),function(e,t){h.setRequestHeader(t,e)}),K.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),m&&"json"!==m&&(h.responseType=r.responseType),d&&([l,u]=Fe(d,!0),h.addEventListener("progress",l)),p&&h.upload&&([s,c]=Fe(p),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(o=t=>{h&&(n(!t||t.type?new je(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===we.protocols.indexOf(v)?n(new ee("Unsupported protocol "+v+":",ee.ERR_BAD_REQUEST,e)):h.send(a||null)})},$e=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const a=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ee?t:new je(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,a(new ee(`timeout ${t} of ms exceeded`,ee.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)}),e=null)};e.forEach(e=>e.addEventListener("abort",a));const{signal:s}=r;return s.unsubscribe=()=>K.asap(o),s}},Ze=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,a=0;for(;a<n;)r=a+t,yield e.slice(a,r),a=r},Ge=(e,t,n,r)=>{const a=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Ze(n,t)}(e,t);let i,o=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await a.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=o+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},{isFunction:Je}=K,Ke=(({Request:e,Response:t})=>({Request:e,Response:t}))(K.global),{ReadableStream:Xe,TextEncoder:Ye}=K.global,Qe=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},et=e=>{e=K.merge.call({skipUndefined:!0},Ke,e);const{fetch:t,Request:n,Response:r}=e,a=t?Je(t):"function"==typeof fetch,i=Je(n),o=Je(r);if(!a)return!1;const s=a&&Je(Xe),l=a&&("function"==typeof Ye?(c=new Ye,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const u=i&&s&&Qe(()=>{let e=!1;const t=new n(we.origin,{body:new Xe,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),m=o&&s&&Qe(()=>K.isReadableStream(new r("").body)),p={stream:m&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ee(`Response type '${e}' is not supported`,ee.ERR_NOT_SUPPORT,n)})});return async e=>{let{url:a,method:o,data:s,signal:c,cancelToken:d,timeout:f,onDownloadProgress:h,onUploadProgress:g,responseType:v,headers:E,withCredentials:b="same-origin",fetchOptions:w}=qe(e),y=t||fetch;v=v?(v+"").toLowerCase():"text";let C=$e([c,d&&d.toAbortSignal()],f),_=null;const x=C&&C.unsubscribe&&(()=>{C.unsubscribe()});let N;try{if(g&&u&&"get"!==o&&"head"!==o&&0!==(N=await(async(e,t)=>{const r=K.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(K.isBlob(e))return e.size;if(K.isSpecCompliantForm(e)){const t=new n(we.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return K.isArrayBufferView(e)||K.isArrayBuffer(e)?e.byteLength:(K.isURLSearchParams(e)&&(e+=""),K.isString(e)?(await l(e)).byteLength:void 0)})(t):r})(E,s))){let e,t=new n(a,{method:"POST",body:s,duplex:"half"});if(K.isFormData(s)&&(e=t.headers.get("content-type"))&&E.setContentType(e),t.body){const[e,n]=Ie(N,Fe(Me(g)));s=Ge(t.body,65536,e,n)}}K.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype,c={...w,signal:C,method:o.toUpperCase(),headers:E.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};_=i&&new n(a,c);let d=await(i?y(_,w):y(a,c));const f=m&&("stream"===v||"response"===v);if(m&&(h||f&&x)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=d[t]});const t=K.toFiniteNumber(d.headers.get("content-length")),[n,a]=h&&Ie(t,Fe(Me(h),!0))||[];d=new r(Ge(d.body,65536,n,()=>{a&&a(),x&&x()}),e)}v=v||"text";let S=await p[K.findKey(p,v)||"text"](d,e);return!f&&x&&x(),await new Promise((t,n)=>{De(t,n,{data:S,headers:Te.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:_})})}catch(t){if(x&&x(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new ee("Network Error",ee.ERR_NETWORK,e,_),{cause:t.cause||t});throw ee.from(t,t&&t.code,e,_)}}},tt=new Map,nt=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:a}=t,i=[r,a,n];let o,s,l=i.length,c=tt;for(;l--;)o=i[l],s=c.get(o),void 0===s&&c.set(o,s=l?new Map:et(t)),c=s;return s},rt=(nt(),{http:null,xhr:We,fetch:{get:nt}});K.forEach(rt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const at=e=>`- ${e}`,it=e=>K.isFunction(e)||null===e||!1===e,ot=(e,t)=>{e=K.isArray(e)?e:[e];const{length:n}=e;let r,a;const i={};for(let o=0;o<n;o++){let n;if(r=e[o],a=r,!it(r)&&(a=rt[(n=String(r)).toLowerCase()],void 0===a))throw new ee(`Unknown adapter '${n}'`);if(a&&(K.isFunction(a)||(a=a.get(t))))break;i[n||"#"+o]=a}if(!a){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(at).join("\n"):" "+at(e[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return a};function st(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je(null,e)}function lt(e){return st(e),e.headers=Te.from(e.headers),e.data=Pe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ot(e.adapter||_e.adapter,e)(e).then(function(t){return st(e),t.data=Pe.call(e,e.transformResponse,t),t.headers=Te.from(t.headers),t},function(t){return Re(t)||(st(e),t&&t.response&&(t.response.data=Pe.call(e,e.transformResponse,t.response),t.response.headers=Te.from(t.response.headers))),Promise.reject(t)})}const ct="1.12.2",ut={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ut[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const mt={};ut.transitional=function(e,t,n){function r(e,t){return"[Axios v"+ct+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,i)=>{if(!1===e)throw new ee(r(a," has been removed"+(t?" in "+t:"")),ee.ERR_DEPRECATED);return t&&!mt[a]&&(mt[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,i)}},ut.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const pt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],o=t[i];if(o){const t=e[i],n=void 0===t||o(t,i,e);if(!0!==n)throw new ee("option "+i+" must be "+n,ee.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ee("Unknown option "+i,ee.ERR_BAD_OPTION)}},validators:ut},dt=pt.validators;class ft{constructor(e){this.defaults=e||{},this.interceptors={request:new pe,response:new pe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ve(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;void 0!==n&&pt.assertOptions(n,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean)},!1),null!=r&&(K.isFunction(r)?t.paramsSerializer={serialize:r}:pt.assertOptions(r,{encode:dt.function,serialize:dt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),pt.assertOptions(t,{baseUrl:dt.spelling("baseURL"),withXsrfToken:dt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&K.merge(a.common,a[t.method]);a&&K.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=Te.concat(i,a);const o=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,m=0;if(!s){const e=[lt.bind(this),void 0];for(e.unshift(...o),e.push(...l),u=e.length,c=Promise.resolve(t);m<u;)c=c.then(e[m++],e[m++]);return c}u=o.length;let p=t;for(;m<u;){const e=o[m++],t=o[m++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=lt.call(this,p)}catch(e){return Promise.reject(e)}for(m=0,u=l.length;m<u;)c=c.then(l[m++],l[m++]);return c}getUri(e){return me(ze((e=Ve(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}K.forEach(["delete","get","head","options"],function(e){ft.prototype[e]=function(t,n){return this.request(Ve(n||{},{method:e,url:t,data:(n||{}).data}))}}),K.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,a){return this.request(Ve(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ft.prototype[e]=t(),ft.prototype[e+"Form"]=t(!0)});const ht=ft;class gt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,a){n.reason||(n.reason=new je(e,r,a),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new gt(function(t){e=t}),cancel:e}}}const vt=gt,Et={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Et).forEach(([e,t])=>{Et[t]=e});const bt=Et,wt=function e(t){const n=new ht(t),r=o(ht.prototype.request,n);return K.extend(r,ht.prototype,n,{allOwnKeys:!0}),K.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ve(t,n))},r}(_e);wt.Axios=ht,wt.CanceledError=je,wt.CancelToken=vt,wt.isCancel=Re,wt.VERSION=ct,wt.toFormData=ie,wt.AxiosError=ee,wt.Cancel=wt.CanceledError,wt.all=function(e){return Promise.all(e)},wt.spread=function(e){return function(t){return e.apply(null,t)}},wt.isAxiosError=function(e){return K.isObject(e)&&!0===e.isAxiosError},wt.mergeConfig=Ve,wt.AxiosHeaders=Te,wt.formToJSON=e=>ye(K.isHTMLForm(e)?new FormData(e):e),wt.getAdapter=ot,wt.HttpStatusCode=bt,wt.default=wt;const yt=wt;var Ct=n(633),_t=n.n(Ct),xt=n(736),Nt=n.n(xt);function St(){return St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},St.apply(this,arguments)}var kt=(0,t.forwardRef)(function(e,t){var n=e.color,a=void 0===n?"currentColor":n,i=e.size,o=void 0===i?24:i,s=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["color","size"]);return r().createElement("svg",St({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),r().createElement("line",{x1:"12",y1:"2",x2:"12",y2:"6"}),r().createElement("line",{x1:"12",y1:"18",x2:"12",y2:"22"}),r().createElement("line",{x1:"4.93",y1:"4.93",x2:"7.76",y2:"7.76"}),r().createElement("line",{x1:"16.24",y1:"16.24",x2:"19.07",y2:"19.07"}),r().createElement("line",{x1:"2",y1:"12",x2:"6",y2:"12"}),r().createElement("line",{x1:"18",y1:"12",x2:"22",y2:"12"}),r().createElement("line",{x1:"4.93",y1:"19.07",x2:"7.76",y2:"16.24"}),r().createElement("line",{x1:"16.24",y1:"7.76",x2:"19.07",y2:"4.93"}))});kt.propTypes={color:Nt().string,size:Nt().oneOfType([Nt().string,Nt().number])},kt.displayName="Loader";const Ot=kt;function Lt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Tt="(prefers-reduced-motion: reduce)";function Pt(e){e.length=0}function Rt(e,t,n){return Array.prototype.slice.call(e,t,n)}function At(e){return e.bind.apply(e,[null].concat(Rt(arguments,1)))}var jt=setTimeout,Dt=function(){};function Ft(e){return requestAnimationFrame(e)}function It(e,t){return typeof t===e}function Mt(e){return!Vt(e)&&It("object",e)}var Bt=Array.isArray,Ut=At(It,"function"),zt=At(It,"string"),Ht=At(It,"undefined");function Vt(e){return null===e}function qt(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function Wt(e){return Bt(e)?e:[e]}function $t(e,t){Wt(e).forEach(t)}function Zt(e,t){return e.indexOf(t)>-1}function Gt(e,t){return e.push.apply(e,Wt(t)),e}function Jt(e,t,n){e&&$t(t,function(t){t&&e.classList[n?"add":"remove"](t)})}function Kt(e,t){Jt(e,zt(t)?t.split(" "):t,!0)}function Xt(e,t){$t(t,e.appendChild.bind(e))}function Yt(e,t){$t(e,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function Qt(e,t){return qt(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function en(e,t){var n=e?Rt(e.children):[];return t?n.filter(function(e){return Qt(e,t)}):n}function tn(e,t){return t?en(e,t)[0]:e.firstElementChild}var nn=Object.keys;function rn(e,t,n){return e&&(n?nn(e).reverse():nn(e)).forEach(function(n){"__proto__"!==n&&t(e[n],n)}),e}function an(e){return Rt(arguments,1).forEach(function(t){rn(t,function(n,r){e[r]=t[r]})}),e}function on(e){return Rt(arguments,1).forEach(function(t){rn(t,function(t,n){Bt(t)?e[n]=t.slice():Mt(t)?e[n]=on({},Mt(e[n])?e[n]:{},t):e[n]=t})}),e}function sn(e,t){$t(t||nn(e),function(t){delete e[t]})}function ln(e,t){$t(e,function(e){$t(t,function(t){e&&e.removeAttribute(t)})})}function cn(e,t,n){Mt(t)?rn(t,function(t,n){cn(e,n,t)}):$t(e,function(e){Vt(n)||""===n?ln(e,t):e.setAttribute(t,String(n))})}function un(e,t,n){var r=document.createElement(e);return t&&(zt(t)?Kt(r,t):cn(r,t)),n&&Xt(n,r),r}function mn(e,t,n){if(Ht(n))return getComputedStyle(e)[t];Vt(n)||(e.style[t]=""+n)}function pn(e,t){mn(e,"display",t)}function dn(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function fn(e,t){return e.getAttribute(t)}function hn(e,t){return e&&e.classList.contains(t)}function gn(e){return e.getBoundingClientRect()}function vn(e){$t(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function En(e){return tn((new DOMParser).parseFromString(e,"text/html").body)}function bn(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function wn(e,t){return e&&e.querySelector(t)}function yn(e,t){return t?Rt(e.querySelectorAll(t)):[]}function Cn(e,t){Jt(e,t,!1)}function _n(e){return e.timeStamp}function xn(e){return zt(e)?e:e?e+"px":""}var Nn="splide",Sn="data-"+Nn;function kn(e,t){if(!e)throw new Error("["+Nn+"] "+(t||""))}var On=Math.min,Ln=Math.max,Tn=Math.floor,Pn=Math.ceil,Rn=Math.abs;function An(e,t,n){return Rn(e-t)<n}function jn(e,t,n,r){var a=On(t,n),i=Ln(t,n);return r?a<e&&e<i:a<=e&&e<=i}function Dn(e,t,n){var r=On(t,n),a=Ln(t,n);return On(Ln(r,e),a)}function Fn(e){return+(e>0)-+(e<0)}function In(e,t){return $t(t,function(t){e=e.replace("%s",""+t)}),e}function Mn(e){return e<10?"0"+e:""+e}var Bn={};function Un(){var e=[];function t(e,t,n){$t(e,function(e){e&&$t(t,function(t){t.split(" ").forEach(function(t){var r=t.split(".");n(e,r[0],r[1])})})})}return{bind:function(n,r,a,i){t(n,r,function(t,n,r){var o="addEventListener"in t,s=o?t.removeEventListener.bind(t,n,a,i):t.removeListener.bind(t,a);o?t.addEventListener(n,a,i):t.addListener(a),e.push([t,n,r,a,s])})},unbind:function(n,r,a){t(n,r,function(t,n,r){e=e.filter(function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==r||a&&e[3]!==a)||(e[4](),!1)})})},dispatch:function(e,t,n){var r,a=!0;return"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:a,detail:n}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,a,!1,n),e.dispatchEvent(r),r},destroy:function(){e.forEach(function(e){e[4]()}),Pt(e)}}}var zn="mounted",Hn="ready",Vn="move",qn="moved",Wn="click",$n="active",Zn="inactive",Gn="visible",Jn="hidden",Kn="refresh",Xn="updated",Yn="resize",Qn="resized",er="drag",tr="dragging",nr="dragged",rr="scroll",ar="scrolled",ir="destroy",or="arrows:mounted",sr="arrows:updated",lr="pagination:mounted",cr="pagination:updated",ur="navigation:mounted",mr="autoplay:play",pr="autoplay:playing",dr="autoplay:pause",fr="lazyload:loaded",hr="ei";function gr(e){var t=e?e.event.bus:document.createDocumentFragment(),n=Un();return e&&e.event.on(ir,n.destroy),an(n,{bus:t,on:function(e,r){n.bind(t,Wt(e).join(" "),function(e){r.apply(r,Bt(e.detail)?e.detail:[])})},off:At(n.unbind,t),emit:function(e){n.dispatch(t,e,Rt(arguments,1))}})}function vr(e,t,n,r){var a,i,o=Date.now,s=0,l=!0,c=0;function u(){if(!l){if(s=e?On((o()-a)/e,1):1,n&&n(s),s>=1&&(t(),a=o(),r&&++c>=r))return m();i=Ft(u)}}function m(){l=!0}function p(){i&&cancelAnimationFrame(i),s=0,i=0,l=!0}return{start:function(t){t||p(),a=o()-(t?s*e:0),l=!1,i=Ft(u)},rewind:function(){a=o(),s=0,n&&n(s)},pause:m,cancel:p,set:function(t){e=t},isPaused:function(){return l}}}var Er="Arrow",br=Er+"Left",wr=Er+"Right",yr=Er+"Up",Cr=Er+"Down",_r="ttb",xr={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[yr,wr],ArrowRight:[Cr,br]},Nr="role",Sr="tabindex",kr="aria-",Or=kr+"controls",Lr=kr+"current",Tr=kr+"selected",Pr=kr+"label",Rr=kr+"labelledby",Ar=kr+"hidden",jr=kr+"orientation",Dr=kr+"roledescription",Fr=kr+"live",Ir=kr+"busy",Mr=kr+"atomic",Br=[Nr,Sr,"disabled",Or,Lr,Pr,Rr,Ar,jr,Dr],Ur=Nn+"__",zr="is-",Hr=Nn,Vr=Ur+"track",qr=Ur+"list",Wr=Ur+"slide",$r=Wr+"--clone",Zr=Wr+"__container",Gr=Ur+"arrows",Jr=Ur+"arrow",Kr=Jr+"--prev",Xr=Jr+"--next",Yr=Ur+"pagination",Qr=Yr+"__page",ea=Ur+"progress__bar",ta=Ur+"toggle",na=Ur+"sr",ra=zr+"initialized",aa=zr+"active",ia=zr+"prev",oa=zr+"next",sa=zr+"visible",la=zr+"loading",ca=zr+"focus-in",ua=zr+"overflow",ma=[aa,sa,ia,oa,la,ca,ua],pa={slide:Wr,clone:$r,arrows:Gr,arrow:Jr,prev:Kr,next:Xr,pagination:Yr,page:Qr,spinner:Ur+"spinner"},da="touchstart mousedown",fa="touchmove mousemove",ha="touchend touchcancel mouseup click",ga="slide",va="loop",Ea="fade";var ba=Sn+"-interval",wa={passive:!1,capture:!0},ya={Spacebar:" ",Right:wr,Left:br,Up:yr,Down:Cr};function Ca(e){return e=zt(e)?e:e.key,ya[e]||e}var _a="keydown",xa=Sn+"-lazy",Na=xa+"-srcset",Sa="["+xa+"], ["+Na+"]",ka=[" ","Enter"],Oa=Object.freeze({__proto__:null,Media:function(e,t,n){var r=e.state,a=n.breakpoints||{},i=n.reducedMotion||{},o=Un(),s=[];function l(e){e&&o.destroy()}function c(e,t){var n=matchMedia(t);o.bind(n,"change",u),s.push([e,n])}function u(){var t=r.is(7),a=n.direction,i=s.reduce(function(e,t){return on(e,t[1].matches?t[0]:{})},{});sn(n),m(i),n.destroy?e.destroy("completely"===n.destroy):t?(l(!0),e.mount()):a!==n.direction&&e.refresh()}function m(t,a,i){on(n,t),a&&on(Object.getPrototypeOf(n),t),!i&&r.is(1)||e.emit(Xn,n)}return{setup:function(){var e="min"===n.mediaQuery;nn(a).sort(function(t,n){return e?+t-+n:+n-+t}).forEach(function(t){c(a[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),c(i,Tt),u()},destroy:l,reduce:function(e){matchMedia(Tt).matches&&(e?on(n,i):sn(n,nn(i)))},set:m}},Direction:function(e,t,n){return{resolve:function(e,t,r){var a="rtl"!==(r=r||n.direction)||t?r===_r?0:-1:1;return xr[e]&&xr[e][a]||e.replace(/width|left|right/i,function(e,t){var n=xr[e.toLowerCase()][a]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var r,a,i,o=gr(e),s=o.on,l=o.bind,c=e.root,u=n.i18n,m={},p=[],d=[],f=[];function h(){var e,t,i;r=E("."+Vr),a=tn(r,"."+qr),kn(r&&a,"A track/list element is missing."),Gt(p,en(a,"."+Wr+":not(."+$r+")")),rn({arrows:Gr,pagination:Yr,prev:Kr,next:Xr,bar:ea,toggle:ta},function(e,t){m[t]=E("."+e)}),an(m,{root:c,track:r,list:a,slides:p}),t=c.id||""+(e=Nn)+Mn(Bn[e]=(Bn[e]||0)+1),i=n.role,c.id=t,r.id=r.id||t+"-track",a.id=a.id||t+"-list",!fn(c,Nr)&&"SECTION"!==c.tagName&&i&&cn(c,Nr,i),cn(c,Dr,u.carousel),cn(a,Nr,"presentation"),v()}function g(e){var t=Br.concat("style");Pt(p),Cn(c,d),Cn(r,f),ln([r,a],t),ln(c,e?t:["style",Dr])}function v(){Cn(c,d),Cn(r,f),d=b(Hr),f=b(Vr),Kt(c,d),Kt(r,f),cn(c,Pr,n.label),cn(c,Rr,n.labelledby)}function E(e){var t=wn(c,e);return t&&function(e,t){if(Ut(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!Qt(n,t);)n=n.parentElement;return n}(t,"."+Hr)===c?t:void 0}function b(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===Hr&&aa]}return an(m,{setup:h,mount:function(){s(Kn,g),s(Kn,h),s(Xn,v),l(document,da+" keydown",function(e){i="keydown"===e.type},{capture:!0}),l(c,"focusin",function(){Jt(c,ca,!!i)})},destroy:g})},Slides:function(e,t,n){var r=gr(e),a=r.on,i=r.emit,o=r.bind,s=t.Elements,l=s.slides,c=s.list,u=[];function m(){l.forEach(function(e,t){d(e,t,-1)})}function p(){h(function(e){e.destroy()}),Pt(u)}function d(t,n,r){var a=function(e,t,n,r){var a,i=gr(e),o=i.on,s=i.emit,l=i.bind,c=e.Components,u=e.root,m=e.options,p=m.isNavigation,d=m.updateOnMove,f=m.i18n,h=m.pagination,g=m.slideFocus,v=c.Direction.resolve,E=fn(r,"style"),b=fn(r,Pr),w=n>-1,y=tn(r,"."+Zr);function C(){var a=e.splides.map(function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""}).join(" ");cn(r,Pr,In(f.slideX,(w?n:t)+1)),cn(r,Or,a),cn(r,Nr,g?"button":""),g&&ln(r,Dr)}function _(){a||x()}function x(){if(!a){var n=e.index;(i=N())!==hn(r,aa)&&(Jt(r,aa,i),cn(r,Lr,p&&i||""),s(i?$n:Zn,S)),function(){var t=function(){if(e.is(Ea))return N();var t=gn(c.Elements.track),n=gn(r),a=v("left",!0),i=v("right",!0);return Tn(t[a])<=Pn(n[a])&&Tn(n[i])<=Pn(t[i])}(),n=!t&&(!N()||w);if(e.state.is([4,5])||cn(r,Ar,n||""),cn(yn(r,m.focusableNodes||""),Sr,n?-1:""),g&&cn(r,Sr,n?-1:0),t!==hn(r,sa)&&(Jt(r,sa,t),s(t?Gn:Jn,S)),!t&&document.activeElement===r){var a=c.Slides.getAt(e.index);a&&dn(a.slide)}}(),Jt(r,ia,t===n-1),Jt(r,oa,t===n+1)}var i}function N(){var r=e.index;return r===t||m.cloneStatus&&r===n}var S={index:t,slideIndex:n,slide:r,container:y,isClone:w,mount:function(){w||(r.id=u.id+"-slide"+Mn(t+1),cn(r,Nr,h?"tabpanel":"group"),cn(r,Dr,f.slide),cn(r,Pr,b||In(f.slideLabel,[t+1,e.length]))),l(r,"click",At(s,Wn,S)),l(r,"keydown",At(s,"sk",S)),o([qn,"sh",ar],x),o(ur,C),d&&o(Vn,_)},destroy:function(){a=!0,i.destroy(),Cn(r,ma),ln(r,Br),cn(r,"style",E),cn(r,Pr,b||"")},update:x,style:function(e,t,n){mn(n&&y||r,e,t)},isWithin:function(n,r){var a=Rn(n-t);return w||!m.rewind&&!e.is(va)||(a=On(a,e.length-a)),a<=r}};return S}(e,n,r,t);a.mount(),u.push(a),u.sort(function(e,t){return e.index-t.index})}function f(e){return e?g(function(e){return!e.isClone}):u}function h(e,t){f(t).forEach(e)}function g(e){return u.filter(Ut(e)?e:function(t){return zt(e)?Qt(t.slide,e):Zt(Wt(e),t.index)})}return{mount:function(){m(),a(Kn,p),a(Kn,m)},destroy:p,update:function(){h(function(e){e.update()})},register:d,get:f,getIn:function(e){var r=t.Controller,a=r.toIndex(e),i=r.hasFocus()?1:n.perPage;return g(function(e){return jn(e.index,a,a+i-1)})},getAt:function(e){return g(e)[0]},add:function(e,t){$t(e,function(e){if(zt(e)&&(e=En(e)),qt(e)){var r=l[t];r?Yt(e,r):Xt(c,e),Kt(e,n.classes.slide),a=e,s=At(i,Yn),u=yn(a,"img"),(m=u.length)?u.forEach(function(e){o(e,"load error",function(){--m||s()})}):s()}var a,s,u,m}),i(Kn)},remove:function(e){vn(g(e).map(function(e){return e.slide})),i(Kn)},forEach:h,filter:g,style:function(e,t,n){h(function(r){r.style(e,t,n)})},getLength:function(e){return e?l.length:u.length},isEnough:function(){return u.length>n.perPage}}},Layout:function(e,t,n){var r,a,i,o=gr(e),s=o.on,l=o.bind,c=o.emit,u=t.Slides,m=t.Direction.resolve,p=t.Elements,d=p.root,f=p.track,h=p.list,g=u.getAt,v=u.style;function E(){r=n.direction===_r,mn(d,"maxWidth",xn(n.width)),mn(f,m("paddingLeft"),w(!1)),mn(f,m("paddingRight"),w(!0)),b(!0)}function b(e){var t,o=gn(d);(e||a.width!==o.width||a.height!==o.height)&&(mn(f,"height",(t="",r&&(kn(t=y(),"height or heightRatio is missing."),t="calc("+t+" - "+w(!1)+" - "+w(!0)+")"),t)),v(m("marginRight"),xn(n.gap)),v("width",n.autoWidth?null:xn(n.fixedWidth)||(r?"":C())),v("height",xn(n.fixedHeight)||(r?n.autoHeight?null:C():y()),!0),a=o,c(Qn),i!==(i=O())&&(Jt(d,ua,i),c("overflow",i)))}function w(e){var t=n.padding,r=m(e?"right":"left");return t&&xn(t[r]||(Mt(t)?0:t))||"0px"}function y(){return xn(n.height||gn(h).width*n.heightRatio)}function C(){var e=xn(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function _(){return gn(h)[m("width")]}function x(e,t){var n=g(e||0);return n?gn(n.slide)[m("width")]+(t?0:k()):0}function N(e,t){var n=g(e);if(n){var r=gn(n.slide)[m("right")],a=gn(h)[m("left")];return Rn(r-a)+(t?0:k())}return 0}function S(t){return N(e.length-1)-N(0)+x(0,t)}function k(){var e=g(0);return e&&parseFloat(mn(e.slide,m("marginRight")))||0}function O(){return e.is(Ea)||S(!0)>_()}return{mount:function(){var e,t;E(),l(window,"resize load",(e=At(c,Yn),t=vr(0,e,null,1),function(){t.isPaused()&&t.start()})),s([Xn,Kn],E),s(Yn,b)},resize:b,listSize:_,slideSize:x,sliderSize:S,totalSize:N,getPadding:function(e){return parseFloat(mn(f,m("padding"+(e?"Right":"Left"))))||0},isOverflow:O}},Clones:function(e,t,n){var r,a=gr(e),i=a.on,o=t.Elements,s=t.Slides,l=t.Direction.resolve,c=[];function u(){i(Kn,m),i([Xn,Yn],d),(r=f())&&(function(t){var r=s.get().slice(),a=r.length;if(a){for(;r.length<t;)Gt(r,r);Gt(r.slice(-t),r.slice(0,t)).forEach(function(i,l){var u=l<t,m=function(t,r){var a=t.cloneNode(!0);return Kt(a,n.classes.clone),a.id=e.root.id+"-clone"+Mn(r+1),a}(i.slide,l);u?Yt(m,r[0].slide):Xt(o.list,m),Gt(c,m),s.register(m,l-t+(u?0:a),i.index)})}}(r),t.Layout.resize(!0))}function m(){p(),u()}function p(){vn(c),Pt(c),a.destroy()}function d(){var e=f();r!==e&&(r<e||!e)&&a.emit(Kn)}function f(){var r=n.clones;if(e.is(va)){if(Ht(r)){var a=n[l("fixedWidth")]&&t.Layout.slideSize(0);r=a&&Pn(gn(o.track)[l("width")]/a)||n[l("autoWidth")]&&e.length||2*n.perPage}}else r=0;return r}return{mount:u,destroy:p}},Move:function(e,t,n){var r,a=gr(e),i=a.on,o=a.emit,s=e.state.set,l=t.Layout,c=l.slideSize,u=l.getPadding,m=l.totalSize,p=l.listSize,d=l.sliderSize,f=t.Direction,h=f.resolve,g=f.orient,v=t.Elements,E=v.list,b=v.track;function w(){t.Controller.isBusy()||(t.Scroll.cancel(),y(e.index),t.Slides.update())}function y(e){C(S(e,!0))}function C(n,r){if(!e.is(Ea)){var a=r?n:function(n){if(e.is(va)){var r=N(n),a=r>t.Controller.getEnd();(r<0||a)&&(n=_(n,a))}return n}(n);mn(E,"transform","translate"+h("X")+"("+a+"px)"),n!==a&&o("sh")}}function _(e,t){var n=e-O(t),r=d();return e-g(r*(Pn(Rn(n)/r)||1))*(t?1:-1)}function x(){C(k(),!0),r.cancel()}function N(e){for(var n=t.Slides.get(),r=0,a=1/0,i=0;i<n.length;i++){var o=n[i].index,s=Rn(S(o,!0)-e);if(!(s<=a))break;a=s,r=o}return r}function S(t,r){var a=g(m(t-1)-function(e){var t=n.focus;return"center"===t?(p()-c(e,!0))/2:+t*c(e)||0}(t));return r?function(t){return n.trimSpace&&e.is(ga)&&(t=Dn(t,0,g(d(!0)-p()))),t}(a):a}function k(){var e=h("left");return gn(E)[e]-gn(b)[e]+g(u(!1))}function O(e){return S(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){r=t.Transition,i([zn,Qn,Xn,Kn],w)},move:function(e,t,n,a){var i,l;e!==t&&(i=e>n,l=g(_(k(),i)),i?l>=0:l<=E[h("scrollWidth")]-gn(b)[h("width")])&&(x(),C(_(k(),e>n),!0)),s(4),o(Vn,t,n,e),r.start(t,function(){s(3),o(qn,t,n,e),a&&a()})},jump:y,translate:C,shift:_,cancel:x,toIndex:N,toPosition:S,getPosition:k,getLimit:O,exceededLimit:function(e,t){t=Ht(t)?k():t;var n=!0!==e&&g(t)<g(O(!1)),r=!1!==e&&g(t)>g(O(!0));return n||r},reposition:w}},Controller:function(e,t,n){var r,a,i,o,s=gr(e),l=s.on,c=s.emit,u=t.Move,m=u.getPosition,p=u.getLimit,d=u.toPosition,f=t.Slides,h=f.isEnough,g=f.getLength,v=n.omitEnd,E=e.is(va),b=e.is(ga),w=At(S,!1),y=At(S,!0),C=n.start||0,_=C;function x(){a=g(!0),i=n.perMove,o=n.perPage,r=L();var e=Dn(C,0,v?r:a-1);e!==C&&(C=e,u.reposition())}function N(){r!==L()&&c(hr)}function S(e,t){var n=i||(A()?1:o),a=k(C+n*(e?-1:1),C,!(i||A()));return-1===a&&b&&!An(m(),p(!e),1)?e?0:r:t?a:O(a)}function k(t,s,l){if(h()||A()){var c=function(t){if(b&&"move"===n.trimSpace&&t!==C)for(var r=m();r===d(t,!0)&&jn(t,0,e.length-1,!n.rewind);)t<C?--t:++t;return t}(t);c!==t&&(s=t,t=c,l=!1),t<0||t>r?t=i||!jn(0,t,s,!0)&&!jn(r,s,t,!0)?E?l?t<0?-(a%o||o):a:t:n.rewind?t<0?r:0:-1:T(P(t)):l&&t!==s&&(t=T(P(s)+(t<s?-1:1)))}else t=-1;return t}function O(e){return E?(e+a)%a||0:e}function L(){for(var e=a-(A()||E&&i?1:o);v&&e-- >0;)if(d(a-1,!0)!==d(e,!0)){e++;break}return Dn(e,0,a-1)}function T(e){return Dn(A()?e:o*e,0,r)}function P(e){return A()?On(e,r):Tn((e>=r?a-1:e)/o)}function R(e){e!==C&&(_=C,C=e)}function A(){return!Ht(n.focus)||n.isNavigation}function j(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){x(),l([Xn,Kn,hr],x),l(Qn,N)},go:function(e,t,n){if(!j()){var a=function(e){var t=C;if(zt(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],a=n[1],i=n[2];"+"===a||"-"===a?t=k(C+ +(""+a+(+i||1)),C):">"===a?t=i?T(+i):w(!0):"<"===a&&(t=y(!0))}else t=E?e:Dn(e,0,r);return t}(e),i=O(a);i>-1&&(t||i!==C)&&(R(i),u.move(a,i,_,n))}},scroll:function(e,n,a,i){t.Scroll.scroll(e,n,a,function(){var e=O(u.toIndex(m()));R(v?On(e,r):e),i&&i()})},getNext:w,getPrev:y,getAdjacent:S,getEnd:L,setIndex:R,getIndex:function(e){return e?_:C},toIndex:T,toPage:P,toDest:function(e){var t=u.toIndex(e);return b?Dn(t,0,r):t},hasFocus:A,isBusy:j}},Arrows:function(e,t,n){var r,a,i=gr(e),o=i.on,s=i.bind,l=i.emit,c=n.classes,u=n.i18n,m=t.Elements,p=t.Controller,d=m.arrows,f=m.track,h=d,g=m.prev,v=m.next,E={};function b(){var e;!(e=n.arrows)||g&&v||(h=d||un("div",c.arrows),g=_(!0),v=_(!1),r=!0,Xt(h,[g,v]),!d&&Yt(h,f)),g&&v&&(an(E,{prev:g,next:v}),pn(h,e?"":"none"),Kt(h,a=Gr+"--"+n.direction),e&&(o([zn,qn,Kn,ar,hr],x),s(v,"click",At(C,">")),s(g,"click",At(C,"<")),x(),cn([g,v],Or,f.id),l(or,g,v))),o(Xn,w)}function w(){y(),b()}function y(){i.destroy(),Cn(h,a),r?(vn(d?[g,v]:h),g=v=null):ln([g,v],Br)}function C(e){p.go(e,!0)}function _(e){return En('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.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 x(){if(g&&v){var t=e.index,n=p.getPrev(),r=p.getNext(),a=n>-1&&t<n?u.last:u.prev,i=r>-1&&t>r?u.first:u.next;g.disabled=n<0,v.disabled=r<0,cn(g,Pr,a),cn(v,Pr,i),l(sr,g,v,n,r)}}return{arrows:E,mount:b,destroy:y,update:x}},Autoplay:function(e,t,n){var r,a,i=gr(e),o=i.on,s=i.bind,l=i.emit,c=vr(n.interval,e.go.bind(e,">"),function(e){var t=m.bar;t&&mn(t,"width",100*e+"%"),l(pr,e)}),u=c.isPaused,m=t.Elements,p=t.Elements,d=p.root,f=p.toggle,h=n.autoplay,g="pause"===h;function v(){u()&&t.Slides.isEnough()&&(c.start(!n.resetProgress),a=r=g=!1,w(),l(mr))}function E(e){void 0===e&&(e=!0),g=!!e,w(),u()||(c.pause(),l(dr))}function b(){g||(r||a?E(!1):v())}function w(){f&&(Jt(f,aa,!g),cn(f,Pr,n.i18n[g?"play":"pause"]))}function y(e){var r=t.Slides.getAt(e);c.set(r&&+fn(r.slide,ba)||n.interval)}return{mount:function(){h&&(n.pauseOnHover&&s(d,"mouseenter mouseleave",function(e){r="mouseenter"===e.type,b()}),n.pauseOnFocus&&s(d,"focusin focusout",function(e){a="focusin"===e.type,b()}),f&&s(f,"click",function(){g?v():E(!0)}),o([Vn,rr,Kn],c.rewind),o(Vn,y),f&&cn(f,Or,m.track.id),g||v(),w())},destroy:c.cancel,play:v,pause:E,isPaused:u}},Cover:function(e,t,n){var r=gr(e).on;function a(e){t.Slides.forEach(function(t){var n=tn(t.container||t.slide,"img");n&&n.src&&i(e,n,t)})}function i(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),pn(t,e?"none":"")}return{mount:function(){n.cover&&(r(fr,At(i,!0)),r([zn,Xn,Kn],At(a,!0)))},destroy:At(a,!1)}},Scroll:function(e,t,n){var r,a,i=gr(e),o=i.on,s=i.emit,l=e.state.set,c=t.Move,u=c.getPosition,m=c.getLimit,p=c.exceededLimit,d=c.translate,f=e.is(ga),h=1;function g(e,n,i,o,m){var d=u();if(b(),i&&(!f||!p())){var g=t.Layout.sliderSize(),w=Fn(e)*g*Tn(Rn(e)/g)||0;e=c.toPosition(t.Controller.toDest(e%g))+w}var y=An(d,e,1);h=1,n=y?0:n||Ln(Rn(e-d)/1.5,800),a=o,r=vr(n,v,At(E,d,e,m),1),l(5),s(rr),r.start()}function v(){l(3),a&&a(),s(ar)}function E(e,t,r,i){var o,s,l=u(),c=(e+(t-e)*(o=i,(s=n.easingFunc)?s(o):1-Math.pow(1-o,4))-l)*h;d(l+c),f&&!r&&p()&&(h*=.6,Rn(c)<10&&g(m(p(!0)),600,!1,a,!0))}function b(){r&&r.cancel()}function w(){r&&!r.isPaused()&&(b(),v())}return{mount:function(){o(Vn,b),o([Xn,Kn],w)},destroy:b,scroll:g,cancel:w}},Drag:function(e,t,n){var r,a,i,o,s,l,c,u,m=gr(e),p=m.on,d=m.emit,f=m.bind,h=m.unbind,g=e.state,v=t.Move,E=t.Scroll,b=t.Controller,w=t.Elements.track,y=t.Media.reduce,C=t.Direction,_=C.resolve,x=C.orient,N=v.getPosition,S=v.exceededLimit,k=!1;function O(){var e=n.drag;B(!e),o="free"===e}function L(e){if(l=!1,!c){var t=M(e);r=e.target,a=n.noDrag,Qt(r,"."+Qr+", ."+Jr)||a&&Qt(r,a)||!t&&e.button||(b.isBusy()?bn(e,!0):(u=t?w:window,s=g.is([4,5]),i=null,f(u,fa,T,wa),f(u,ha,P,wa),v.cancel(),E.cancel(),A(e)))}var r,a}function T(t){if(g.is(6)||(g.set(6),d(er)),t.cancelable)if(s){v.translate(r+j(t)/(k&&e.is(ga)?5:1));var a=D(t)>200,i=k!==(k=S());(a||i)&&A(t),l=!0,d(tr),bn(t)}else(function(e){return Rn(j(e))>Rn(j(e,!0))})(t)&&(s=function(e){var t=n.dragMinThreshold,r=Mt(t),a=r&&t.mouse||0,i=(r?t.touch:+t)||10;return Rn(j(e))>(M(e)?i:a)}(t),bn(t))}function P(r){g.is(6)&&(g.set(3),d(nr)),s&&(function(r){var a=function(t){if(e.is(va)||!k){var n=D(t);if(n&&n<200)return j(t)/n}return 0}(r),i=function(e){return N()+Fn(e)*On(Rn(e)*(n.flickPower||600),o?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(a),s=n.rewind&&n.rewindByDrag;y(!1),o?b.scroll(i,0,n.snap):e.is(Ea)?b.go(x(Fn(a))<0?s?"<":"-":s?">":"+"):e.is(ga)&&k&&s?b.go(S(!0)?">":"<"):b.go(b.toDest(i),!0),y(!0)}(r),bn(r)),h(u,fa,T),h(u,ha,P),s=!1}function R(e){!c&&l&&bn(e,!0)}function A(e){i=a,a=e,r=N()}function j(e,t){return I(e,t)-I(F(e),t)}function D(e){return _n(e)-_n(F(e))}function F(e){return a===e&&i||a}function I(e,t){return(M(e)?e.changedTouches[0]:e)["page"+_(t?"Y":"X")]}function M(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function B(e){c=e}return{mount:function(){f(w,fa,Dt,wa),f(w,ha,Dt,wa),f(w,da,L,wa),f(w,"click",R,{capture:!0}),f(w,"dragstart",bn),p([zn,Xn],O)},disable:B,isDragging:function(){return s}}},Keyboard:function(e,t,n){var r,a,i=gr(e),o=i.on,s=i.bind,l=i.unbind,c=e.root,u=t.Direction.resolve;function m(){var e=n.keyboard;e&&(r="global"===e?window:c,s(r,_a,f))}function p(){l(r,_a)}function d(){var e=a;a=!0,jt(function(){a=e})}function f(t){if(!a){var n=Ca(t);n===u(br)?e.go("<"):n===u(wr)&&e.go(">")}}return{mount:function(){m(),o(Xn,p),o(Xn,m),o(Vn,d)},destroy:p,disable:function(e){a=e}}},LazyLoad:function(e,t,n){var r=gr(e),a=r.on,i=r.off,o=r.bind,s=r.emit,l="sequential"===n.lazyLoad,c=[qn,ar],u=[];function m(){Pt(u),t.Slides.forEach(function(e){yn(e.slide,Sa).forEach(function(t){var r=fn(t,xa),a=fn(t,Na);if(r!==t.src||a!==t.srcset){var i=n.classes.spinner,o=t.parentElement,s=tn(o,"."+i)||un("span",i,o);u.push([t,e,s]),t.src||pn(t,"none")}})}),l?h():(i(c),a(c,p),p())}function p(){(u=u.filter(function(t){var r=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,r)||d(t)})).length||i(c)}function d(e){var t=e[0];Kt(e[1].slide,la),o(t,"load error",At(f,e)),cn(t,"src",fn(t,xa)),cn(t,"srcset",fn(t,Na)),ln(t,xa),ln(t,Na)}function f(e,t){var n=e[0],r=e[1];Cn(r.slide,la),"error"!==t.type&&(vn(e[2]),pn(n,""),s(fr,n,r),s(Yn)),l&&h()}function h(){u.length&&d(u.shift())}return{mount:function(){n.lazyLoad&&(m(),a(Kn,m))},destroy:At(Pt,u),check:p}},Pagination:function(e,t,n){var r,a,i=gr(e),o=i.on,s=i.emit,l=i.bind,c=t.Slides,u=t.Elements,m=t.Controller,p=m.hasFocus,d=m.getIndex,f=m.go,h=t.Direction.resolve,g=u.pagination,v=[];function E(){r&&(vn(g?Rt(r.children):r),Cn(r,a),Pt(v),r=null),i.destroy()}function b(e){f(">"+e,!0)}function w(e,t){var n=v.length,r=Ca(t),a=y(),i=-1;r===h(wr,!1,a)?i=++e%n:r===h(br,!1,a)?i=(--e+n)%n:"Home"===r?i=0:"End"===r&&(i=n-1);var o=v[i];o&&(dn(o.button),f(">"+i),bn(t,!0))}function y(){return n.paginationDirection||n.direction}function C(e){return v[m.toPage(e)]}function _(){var e=C(d(!0)),t=C(d());if(e){var n=e.button;Cn(n,aa),ln(n,Tr),cn(n,Sr,-1)}if(t){var a=t.button;Kt(a,aa),cn(a,Tr,!0),cn(a,Sr,"")}s(cr,{list:r,items:v},e,t)}return{items:v,mount:function t(){E(),o([Xn,Kn,hr],t);var i=n.pagination;g&&pn(g,i?"":"none"),i&&(o([Vn,rr,ar],_),function(){var t=e.length,i=n.classes,o=n.i18n,s=n.perPage,d=p()?m.getEnd()+1:Pn(t/s);Kt(r=g||un("ul",i.pagination,u.track.parentElement),a=Yr+"--"+y()),cn(r,Nr,"tablist"),cn(r,Pr,o.select),cn(r,jr,y()===_r?"vertical":"");for(var f=0;f<d;f++){var h=un("li",null,r),E=un("button",{class:i.page,type:"button"},h),C=c.getIn(f).map(function(e){return e.slide.id}),_=!p()&&s>1?o.pageX:o.slideX;l(E,"click",At(b,f)),n.paginationKeyboard&&l(E,"keydown",At(w,f)),cn(h,Nr,"presentation"),cn(E,Nr,"tab"),cn(E,Or,C.join(" ")),cn(E,Pr,In(_,f+1)),cn(E,Sr,-1),v.push({li:h,button:E,page:f})}}(),_(),s(lr,{list:r,items:v},C(e.index)))},destroy:E,getAt:C,update:_}},Sync:function(e,t,n){var r=n.isNavigation,a=n.slideFocus,i=[];function o(){var t,n;e.splides.forEach(function(t){t.isParent||(l(e,t.splide),l(t.splide,e))}),r&&((n=(t=gr(e)).on)(Wn,u),n("sk",m),n([zn,Xn],c),i.push(t),t.emit(ur,e.splides))}function s(){i.forEach(function(e){e.destroy()}),Pt(i)}function l(e,t){var n=gr(e);n.on(Vn,function(e,n,r){t.go(t.is(va)?r:e)}),i.push(n)}function c(){cn(t.Elements.list,jr,n.direction===_r?"vertical":"")}function u(t){e.go(t.index)}function m(e,t){Zt(ka,Ca(t))&&(u(e),bn(t))}return{setup:At(t.Media.set,{slideFocus:Ht(a)?r:a},!0),mount:o,destroy:s,remount:function(){s(),o()}}},Wheel:function(e,t,n){var r=gr(e).bind,a=0;function i(r){if(r.cancelable){var i=r.deltaY,o=i<0,s=_n(r),l=n.wheelMinThreshold||0,c=n.wheelSleep||0;Rn(i)>l&&s-a>c&&(e.go(o?"<":">"),a=s),function(r){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(r)}(o)&&bn(r)}}return{mount:function(){n.wheel&&r(t.Elements.track,"wheel",i,wa)}}},Live:function(e,t,n){var r=gr(e).on,a=t.Elements.track,i=n.live&&!n.isNavigation,o=un("span",na),s=vr(90,At(l,!1));function l(e){cn(a,Ir,e),e?(Xt(a,o),s.start()):(vn(o),s.cancel())}function c(e){i&&cn(a,Fr,e?"off":"polite")}return{mount:function(){i&&(c(!t.Autoplay.isPaused()),cn(a,Mr,!0),o.textContent="…",r(mr,At(c,!0)),r(dr,At(c,!1)),r([qn,ar],At(l,!0)))},disable:c,destroy:function(){ln(a,[Fr,Mr,Ir]),vn(o)}}}}),La={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:pa,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 Ta(e,t,n){var r=t.Slides;function a(){r.forEach(function(e){e.style("transform","translateX(-"+100*e.index+"%)")})}return{mount:function(){gr(e).on([zn,Kn],a)},start:function(e,t){r.style("transition","opacity "+n.speed+"ms "+n.easing),jt(t)},cancel:Dt}}function Pa(e,t,n){var r,a=t.Move,i=t.Controller,o=t.Scroll,s=t.Elements.list,l=At(mn,s,"transition");function c(){l(""),o.cancel()}return{mount:function(){gr(e).bind(s,"transitionend",function(e){e.target===s&&r&&(c(),r())})},start:function(t,s){var c=a.toPosition(t,!0),u=a.getPosition(),m=function(t){var r=n.rewindSpeed;if(e.is(ga)&&r){var a=i.getIndex(!0),o=i.getEnd();if(0===a&&t>=o||a>=o&&0===t)return r}return n.speed}(t);Rn(c-u)>=1&&m>=1?n.useScroll?o.scroll(c,m,!1,s):(l("transform "+m+"ms "+n.easing),a.translate(c,!0),r=s):(a.jump(t),s())},cancel:c}}var Ra=function(){function e(t,n){var r;this.event=gr(),this.Components={},this.state=(r=1,{set:function(e){r=e},is:function(e){return Zt(Wt(e),r)}}),this.splides=[],this._o={},this._E={};var a=zt(t)?wn(document,t):t;kn(a,a+" is invalid."),this.root=a,n=on({label:fn(a,Pr)||"",labelledby:fn(a,Rr)||""},La,e.defaults,n||{});try{on(n,JSON.parse(fn(a,Sn)))}catch(e){kn(!1,"Invalid JSON")}this._o=Object.create(on({},n))}var t,n,r=e.prototype;return r.mount=function(e,t){var n=this,r=this.state,a=this.Components;return kn(r.is([1,7]),"Already mounted!"),r.set(1),this._C=a,this._T=t||this._T||(this.is(Ea)?Ta:Pa),this._E=e||this._E,rn(an({},Oa,this._E,{Transition:this._T}),function(e,t){var r=e(n,a,n._o);a[t]=r,r.setup&&r.setup()}),rn(a,function(e){e.mount&&e.mount()}),this.emit(zn),Kt(this.root,ra),r.set(3),this.emit(Hn),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,t){return this.event.on(e,t),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(Rt(arguments,1))),this},r.add=function(e,t){return this._C.Slides.add(e,t),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(Kn),this},r.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?gr(this).on(Hn,this.destroy.bind(this,e)):(rn(this._C,function(t){t.destroy&&t.destroy(e)},!0),t.emit(ir),t.destroy(),e&&Pt(this.splides),n.set(7)),this},t=e,(n=[{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()}}])&&Lt(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Ra.defaults={},Ra.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};var Aa=[[zn,"onMounted"],[Hn,"onReady"],[Vn,"onMove"],[qn,"onMoved"],[Wn,"onClick"],[$n,"onActive"],[Zn,"onInactive"],[Gn,"onVisible"],[Jn,"onHidden"],[Kn,"onRefresh"],[Xn,"onUpdated"],[Yn,"onResize"],[Qn,"onResized"],[er,"onDrag"],[tr,"onDragging"],[nr,"onDragged"],[rr,"onScroll"],[ar,"onScrolled"],[ir,"onDestroy"],[or,"onArrowsMounted"],[sr,"onArrowsUpdated"],[lr,"onPaginationMounted"],[cr,"onPaginationUpdated"],[ur,"onNavigationMounted"],[mr,"onAutoplayPlay"],[pr,"onAutoplayPlaying"],[dr,"onAutoplayPause"],[fr,"onLazyLoadLoaded"]];function ja(...e){return e.filter(Boolean).join(" ")}function Da(e){return null!==e&&"object"==typeof e}function Fa(e,t){if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&!e.some((e,n)=>!Fa(e,t[n]));if(Da(e)&&Da(t)){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&!n.some(n=>!Object.prototype.hasOwnProperty.call(t,n)||!Fa(e[n],t[n]))}return e===t}function Ia(e,t){const n=e;return function(e,t){if(e){const n=Object.keys(e);for(let r=0;r<n.length;r++){const a=n[r];if("__proto__"!==a&&!1===t(e[a],a))break}}}(t,(e,t)=>{Array.isArray(e)?n[t]=e.slice():Da(e)?n[t]=Ia(Da(n[t])?n[t]:{},e):n[t]=e}),n}var Ma=({children:e,className:t,...n})=>r().createElement("div",{className:ja("splide__track",t),...n},r().createElement("ul",{className:"splide__list"},e)),Ba=class extends r().Component{constructor(){super(...arguments),this.splideRef=r().createRef(),this.slides=[]}componentDidMount(){const{options:e,extensions:t,transition:n}=this.props,{current:r}=this.splideRef;r&&(this.splide=new Ra(r,e),this.bind(this.splide),this.splide.mount(t,n),this.options=Ia({},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&&!Fa(this.options,e)&&(this.splide.options=e,this.options=Ia({},e));const t=this.getSlides();var n,r;n=this.slides,r=t,(n.length!==r.length||n.some((e,t)=>e!==r[t]))&&(this.splide.refresh(),this.slides=t)}sync(e){var t;null==(t=this.splide)||t.sync(e)}go(e){var t;null==(t=this.splide)||t.go(e)}getSlides(){var e;if(this.splide){const t=null==(e=this.splide.Components.Elements)?void 0:e.list.children;return t&&Array.prototype.slice.call(t)||[]}return[]}bind(e){Aa.forEach(([t,n])=>{const r=this.props[n];"function"==typeof r&&e.on(t,(...t)=>{r(e,...t)})})}omit(e,t){return t.forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&delete e[t]}),e}render(){const{className:e,tag:t="div",hasTrack:n=!0,children:a,...i}=this.props;return r().createElement(t,{className:ja("splide",e),ref:this.splideRef,...this.omit(i,["options",...Aa.map(e=>e[1])])},n?r().createElement(Ma,null,a):a)}},Ua=({children:e,className:t,...n})=>r().createElement("li",{className:ja("splide__slide",t),...n},e);function za(){return za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},za.apply(this,arguments)}var Ha=(0,t.forwardRef)(function(e,t){var n=e.color,a=void 0===n?"currentColor":n,i=e.size,o=void 0===i?24:i,s=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["color","size"]);return r().createElement("svg",za({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),r().createElement("polyline",{points:"20 6 9 17 4 12"}))});Ha.propTypes={color:Nt().string,size:Nt().oneOfType([Nt().string,Nt().number])},Ha.displayName="Check";const Va=Ha,qa=()=>(0,t.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M15.5 6L9.5 12L15.5 18",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Wa=()=>(0,t.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M9 18L15 12L9 6",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),$a=()=>(0,t.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M10.4987 14.6667V19.25M15.9987 19.25L12.3766 16.2316C11.7085 15.6749 11.3745 15.3965 11.0016 15.2901C10.6729 15.1964 10.3245 15.1964 9.99576 15.2901C9.62289 15.3965 9.28887 15.6749 8.62083 16.2316L4.9987 19.25M6.83203 10.0833V11M10.4987 8.25V11M14.1654 6.41667V11M19.6654 2.75H1.33203M2.2487 2.75H18.7487V10.2667C18.7487 11.8068 18.7487 12.5769 18.449 13.1651C18.1853 13.6826 17.7646 14.1033 17.2472 14.3669C16.6589 14.6667 15.8888 14.6667 14.3487 14.6667H6.6487C5.10855 14.6667 4.33848 14.6667 3.75022 14.3669C3.23278 14.1033 2.81208 13.6826 2.54843 13.1651C2.2487 12.5769 2.2487 11.8068 2.2487 10.2667V2.75Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Za=()=>(0,t.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M1.83203 10.9987C1.83203 16.0613 5.93609 20.1654 10.9987 20.1654C12.5175 20.1654 13.7487 18.9341 13.7487 17.4154V16.957C13.7487 16.5313 13.7487 16.3185 13.7722 16.1398C13.9347 14.9057 14.9057 13.9347 16.1398 13.7722C16.3185 13.7487 16.5313 13.7487 16.957 13.7487H17.4154C18.9341 13.7487 20.1654 12.5175 20.1654 10.9987C20.1654 5.93609 16.0613 1.83203 10.9987 1.83203C5.93609 1.83203 1.83203 5.93609 1.83203 10.9987Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.createElement)("path",{d:"M6.41536 11.9154C6.92163 11.9154 7.33203 11.505 7.33203 10.9987C7.33203 10.4924 6.92163 10.082 6.41536 10.082C5.9091 10.082 5.4987 10.4924 5.4987 10.9987C5.4987 11.505 5.9091 11.9154 6.41536 11.9154Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.createElement)("path",{d:"M14.6654 8.2487C15.1716 8.2487 15.582 7.83829 15.582 7.33203C15.582 6.82577 15.1716 6.41536 14.6654 6.41536C14.1591 6.41536 13.7487 6.82577 13.7487 7.33203C13.7487 7.83829 14.1591 8.2487 14.6654 8.2487Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.createElement)("path",{d:"M9.16536 7.33203C9.67163 7.33203 10.082 6.92163 10.082 6.41536C10.082 5.9091 9.67163 5.4987 9.16536 5.4987C8.6591 5.4987 8.2487 5.9091 8.2487 6.41536C8.2487 6.92163 8.6591 7.33203 9.16536 7.33203Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Ga=()=>(0,t.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M8.16667 11.0846V2.91797H10.5V11.0846H8.16667ZM3.5 11.0846V2.91797H5.83333V11.0846H3.5Z",fill:"white"})),Ja=()=>(0,t.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M4.66797 3V11.1667L11.0846 7.08333L4.66797 3Z",fill:"white"})),Ka=()=>(0,t.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M5.95703 11.9154L6.67612 13.3535C6.91948 13.8403 7.04117 14.0836 7.20373 14.2945C7.34797 14.4817 7.51574 14.6494 7.70287 14.7937C7.91376 14.9562 8.15713 15.0779 8.64386 15.3213L10.082 16.0404L8.64386 16.7595C8.15713 17.0028 7.91376 17.1245 7.70287 17.2871C7.51574 17.4313 7.34797 17.5991 7.20373 17.7862C7.04117 17.9971 6.91948 18.2405 6.67612 18.7272L5.95703 20.1654L5.23794 18.7272C4.99458 18.2405 4.8729 17.9971 4.71034 17.7862C4.56609 17.5991 4.39832 17.4313 4.21119 17.2871C4.0003 17.1245 3.75694 17.0028 3.2702 16.7595L1.83203 16.0404L3.2702 15.3213C3.75693 15.0779 4.0003 14.9562 4.21119 14.7937C4.39832 14.6494 4.56609 14.4817 4.71034 14.2945C4.8729 14.0836 4.99458 13.8403 5.23794 13.3535L5.95703 11.9154Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.createElement)("path",{d:"M13.7487 1.83203L14.8291 4.64108C15.0876 5.31321 15.2169 5.64927 15.4179 5.93195C15.596 6.18249 15.8149 6.40138 16.0654 6.57953C16.3481 6.78053 16.6842 6.90978 17.3563 7.16829L20.1654 8.2487L17.3563 9.3291C16.6842 9.58761 16.3481 9.71687 16.0654 9.91787C15.8149 10.096 15.596 10.3149 15.4179 10.5654C15.2169 10.8481 15.0876 11.1842 14.8291 11.8563L13.7487 14.6654L12.6683 11.8563C12.4098 11.1842 12.2805 10.8481 12.0795 10.5654C11.9014 10.3149 11.6825 10.096 11.432 9.91787C11.1493 9.71687 10.8132 9.58761 10.1411 9.3291L7.33203 8.2487L10.1411 7.16829C10.8132 6.90978 11.1493 6.78053 11.432 6.57953C11.6825 6.40138 11.9014 6.18249 12.0795 5.93195C12.2805 5.64927 12.4098 5.31321 12.6683 4.64108L13.7487 1.83203Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Xa=()=>(0,t.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M11.0013 13.7489L8.2513 10.9989M11.0013 13.7489C12.2817 13.2619 13.5101 12.6478 14.668 11.9156M11.0013 13.7489V18.3323C11.0013 18.3323 13.7788 17.8281 14.668 16.4989C15.658 15.0139 14.668 11.9156 14.668 11.9156M8.2513 10.9989C8.7391 9.7334 9.35332 8.52032 10.0846 7.37809C11.1527 5.67033 12.64 4.26422 14.4049 3.29351C16.1698 2.3228 18.1537 1.81977 20.168 1.83226C20.168 4.32559 19.453 8.70726 14.668 11.9156M8.2513 10.9989H3.66797C3.66797 10.9989 4.17214 8.22143 5.5013 7.33226C6.9863 6.34226 10.0846 7.33226 10.0846 7.33226M4.1263 15.1239C2.7513 16.2789 2.29297 19.7073 2.29297 19.7073C2.29297 19.7073 5.7213 19.2489 6.8763 17.8739C7.52714 17.1039 7.51797 15.9214 6.7938 15.2064C6.4375 14.8664 5.96815 14.6698 5.47584 14.6546C4.98353 14.6394 4.50294 14.8065 4.1263 15.1239Z",stroke:"#00223D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Ya=e=>{let n="0%";const r=()=>{switch(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 r(),(0,t.createElement)("div",{className:"installing-notice"},(0,t.createElement)("div",{className:"installing-notice-container"},(0,t.createElement)("div",{className:"importing-notice"},(0,t.createElement)("div",{className:"notice-inner"},(0,t.createElement)("span",null,e?.message),(0,t.createElement)("span",null,n)),(0,t.createElement)("div",{className:"bar-progress-container"},(0,t.createElement)("div",{className:`notice-bar-progress ${r()}-percent`})))))},Qa=({action:e,setAction:n,updateProgress:r})=>{const{plugins:o}=window.GutenThemeConfig,[s,l]=(0,a.useState)({show:!0,message:"Preparing...",progress:"1/4"});(0,a.useEffect)(()=>{let e=!0;o?.map(t=>{e=e&&t?.active}),e&&n("done")},[]);const c=(e=0)=>{o&&e<o.length?setTimeout(()=>{l({show:!0,message:"Installing Plugins...",progress:"2/4"});const t=o[e];t?.installed?t?.active?c(e+1):wp?.apiFetch({path:`wp/v2/plugins/plugin?plugin=${t?.slug}/${t?.slug}`,method:"POST",data:{status:"active"}}).then(()=>{c(e+1)}).catch(()=>{alert("Error during plugin activation"),c(e+1)}):t?.download_url?wp?.apiFetch({path:"gtb-themes-backend/v1/install/plugins",method:"POST",data:{slug:t?.slug,download_url:t?.download_url}}).then(n=>{"success"===n.status?wp?.apiFetch({path:`wp/v2/plugins/plugin?plugin=${t?.slug}/${t?.slug}`,method:"POST",data:{status:"active"}}).then(()=>{c(e+1)}).catch(()=>{alert("Error during plugin activation"),c(e+1)}):(alert(n.message),c(e+1))}):wp?.apiFetch({path:"wp/v2/plugins",method:"POST",data:{slug:t?.slug,status:"active"}}).then(()=>{c(e+1)}).catch(()=>{alert("Error during plugin activation"),c(e+1)})},500):(l({show:!0,message:"Installing Complete",progress:"4/4"}),setTimeout(()=>{n("done")},500))};return(0,t.createElement)("div",{className:"plugin-install"},(0,t.createElement)("h1",{className:"content-title"},(0,i.__)("Install Required Plugins","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"content-desc"},(0,i.__)("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!","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"plugin-list"},o?.map((e,n)=>(0,t.createElement)("div",{className:`plugin-data ${e.active&&"active"}`,key:n},(0,t.createElement)("div",{className:"logo"},e?.icons&&e?.icons["1x"]&&(0,t.createElement)("img",{src:e?.icons["1x"]})),(0,t.createElement)("div",{className:"plugin-detail"},(0,t.createElement)("h3",{className:"plugin-title"},(e=>{const n="Gutenverse".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(`\\b${n}\\b`,"gi"),i=e.split(r),o=e.match(r);return i.map((e,n)=>(0,t.createElement)(a.Fragment,{key:n},e,n<o?.length?(0,t.createElement)("span",{className:"gutenverse"},o[n]):null))})(e?.title)),(0,t.createElement)("p",{className:"plugin-desc"},e?.short_desc.toLowerCase())),e.active&&(0,t.createElement)("div",{className:"active-badge"},"Installed")))),(0,t.createElement)("div",{className:"plugin-actions"},(()=>{switch(e){case"done":return(0,t.createElement)(a.Fragment,null,(0,t.createElement)("div",{className:"button-done"},(0,i.__)("Installed & Activated","--gtb-theme-namespace--")),(0,t.createElement)("div",{onClick:()=>r("importTemplate",1),className:"button-next"},(0,i.__)("Next","--gtb-theme-namespace--")));case"loading":return(0,t.createElement)(a.Fragment,null,(0,t.createElement)(Ya,{message:s?.message,progress:s?.progress}));default:return(0,t.createElement)(a.Fragment,null,(0,t.createElement)("div",{onClick:()=>(n("loading"),void c(0)),className:"button-install"},(0,i.__)("Install Required Plugins","--gtb-theme-namespace--")))}})()))},ei=({updateProgress:e,requirement:n})=>{const[r,o]=(0,a.useState)(!0),s=(0,a.useRef)(),l=(0,a.useRef)([]),c=(0,a.useRef)([]),u=(0,a.useRef)([]),{upgradePro:m}=window.GutenThemeConfig,{images:p}=window.GutenverseCompanionConfig,d={slideInUp:"slide-up",slideInLeft:"slide-left",slideInRight:"slide-right",slideInDown:"slide-down",scaleIn:"scale-in",rotateCw:"rotate-cw",rotateCcw:"rotate-ccw"},f=()=>{const e=s?.current?.splide?.Components?.Autoplay;e&&(e.isPaused()?(e.play(),o(!0)):(e.pause(),o(!1)))};return(0,a.useEffect)(()=>{if(s.current){const e=s.current.splide,t=e.length-1;l.current=document.querySelectorAll(".slider-wrapper .progress-bar-fill"),c.current=document.querySelectorAll(".slider-wrapper .progress-bar"),u.current=document.querySelectorAll(".slider-wrapper .splide-autoplay-controls .splide-toggle-div"),c.current[0]&&c.current[0].classList.add("is-done");const n=()=>{Object.entries(d).forEach(([e,t])=>{document.querySelectorAll(".slider-wrapper li.is-active ."+e).forEach(n=>{n.classList.remove(e),n.classList.add(t)}),document.querySelectorAll(".slider-wrapper li.is-prev ."+t).forEach(n=>{n.classList.remove(t),n.classList.add(e)}),document.querySelectorAll(".slider-wrapper li.is-next ."+t).forEach(n=>{n.classList.remove(t),n.classList.add(e)})})};return n(),e.on("moved",()=>{n()}),e.on("autoplay:playing",n=>{const r=e.index;l.current[r]&&(l.current[r].style.width=100*n+"%",r===t&&n>.99?(l.current[r].style.width="100%",e.Components.Autoplay.pause()):l.current[r].style.width=100*n+"%")}),e.on("move",(n,r)=>{l.current[r]&&(l.current[r].style.width=n<r?"0%":"100%"),r>n&&c.current[r].classList.remove("is-done"),c.current[n]&&c.current[n].classList.add("is-done"),n<t&&e.Components.Autoplay.isPaused()&&(e.Components.Autoplay.play(),o(!0))}),()=>{e&&(e.off("autoplay:playing"),e.off("moved"))}}},[]),(0,t.createElement)("div",{className:"upgrade-pro-wrapper"},(0,t.createElement)("div",{className:"slider-wrapper"},(0,t.createElement)(Ba,{ref:s,"aria-label":"My Favorite Images",hasTrack:!1,options:{width:"860px",height:"460px",gap:"1rem",autoplay:!0,interval:5e3,pagination:!1,pauseOnHover:!1,pauseOnFocus:!1,resetProgress:!1}},(0,t.createElement)(Ma,null,(0,t.createElement)(Ua,null,(0,t.createElement)("div",{className:"upgrade-pro-content"},(0,t.createElement)("div",{className:"content-left"},(0,t.createElement)("h3",{className:"content-title"},(0,i.__)("Work Smarter, Build Faster","gutenverse-companion")),(0,t.createElement)("p",{className:"content-desc"},(0,i.__)("Boost your productivity with powerful tools designed to speed up website creation.","gutenverse-companion")),(0,t.createElement)("ul",{className:"content-list"},(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("1000+ Templates Library.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("50+ Prebuilt Sites.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("100+ Advanced Blocks.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("1000+ Icons Selector.","gutenverse-companion")))),(0,t.createElement)("div",{className:"upgrade-pro-button",onClick:()=>window.open(m,"_blank")},(0,t.createElement)("div",{className:"button-content-wrapper"},(0,t.createElement)("span",null,(0,i.__)("Upgrade To PRO","gutenverse-companion")),(0,t.createElement)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,t.createElement)("div",{className:"content-right"},(0,t.createElement)("img",{className:"background",src:p+"/wizard-background-circle.png"}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/work-faster-mockup-laptop-wizard.png",style:{width:"320px",top:"240px",left:"25px",zIndex:"5"}}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/work-faster-mockup-demo-monify.png",style:{width:"70px",top:"116px",left:"110px",animationDelay:"0.4s"}}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/work-faster-mockup-demo-aventra.png",style:{width:"70px",top:"145px",right:"40px",animationDelay:"0.5s"}}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/work-faster-mockup-demo-mentori.png",style:{width:"70px",top:"230px",right:"30px",animationDelay:"0.6s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/work-faster-mockup-advanced-blocks.png",style:{width:"90px",top:"250px",right:"40px",zIndex:"99",animationDelay:"0.2s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/work-faster-mokcup-template-library.png",style:{width:"90px",top:"130px",left:"30px",animationDelay:"0.2s"}}),(0,t.createElement)("img",{className:"positioned rotateCw slideInUp",src:p+"/work-faster-arrow-white.png",style:{width:"60px",top:"200px",left:"60px",transform:"rotate(-90deg)",zIndex:"9"}})),(0,t.createElement)("div",{className:"splide-autoplay-controls"},(0,t.createElement)("div",{className:"splide-toggle-div",onClick:f},r?(0,t.createElement)(Ga,null):(0,t.createElement)(Ja,null))))),(0,t.createElement)(Ua,null,(0,t.createElement)("div",{className:"upgrade-pro-content"},(0,t.createElement)("div",{className:"content-left"},(0,t.createElement)("h3",{className:"content-title"},(0,i.__)("Design Without Limits","gutenverse-companion")),(0,t.createElement)("p",{className:"content-desc"},(0,i.__)("Unlock unlimited creative possibilities and craft a truly stunning website experience.","gutenverse-companion")),(0,t.createElement)("div",{className:"column"},(0,t.createElement)("ul",{className:"content-list"},(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Advanced Animation Effects.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Transform.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Text Clip.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Highlight Styles.","gutenverse-companion")))),(0,t.createElement)("ul",{className:"content-list"},(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Animated Shape Dividers.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Mouse Move Effect.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Fluid Background.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Background Effects.","gutenverse-companion"))))),(0,t.createElement)("div",{className:"upgrade-pro-button",onClick:()=>window.open(m,"_blank")},(0,t.createElement)("div",{className:"button-content-wrapper"},(0,t.createElement)("span",null,(0,i.__)("Upgrade To PRO","gutenverse-companion")),(0,t.createElement)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,t.createElement)("div",{className:"content-right"},(0,t.createElement)("img",{className:"background",src:p+"/wizard-background-circle.png"}),(0,t.createElement)("img",{className:"positioned rotateCw slideInUp",src:p+"/limitless-design-mockup-arrow-animation.png",style:{width:"50px",top:"190px",left:"35px",zIndex:"9"}}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/limitless-design-mockup-animation-wizard.png",style:{width:"200px",top:"205px",left:"90px"}}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/limitless-design-mockup-blink.png",style:{width:"20px",top:"330px",right:"160px",animationDelay:"0.1s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/limitless-design-mockup-icon-animation.png",style:{width:"25px",top:"100px",left:"50px"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/limitless-design-mockup-icon-star.png",style:{width:"25px",top:"60px",left:"100px",animationDelay:"0.2s"}}),(0,t.createElement)("img",{className:"positioned slideInRight",src:p+"/limitless-design-mockup-fade-animation.png",style:{width:"80px",top:"130px",right:"10px"}}),(0,t.createElement)("img",{className:"positioned slideInLeft",src:p+"/limitless-design-mockup-move-animation.png",style:{width:"80px",top:"295px",left:"85px",animationDelay:"0.2s"}}),(0,t.createElement)("img",{className:"positioned slideInRight",src:p+"/limitless-design-mockup-animation-star.png",style:{width:"150px",top:"295px",right:"-65px",zIndex:"9"}})),(0,t.createElement)("div",{className:"splide-autoplay-controls"},(0,t.createElement)("div",{className:"splide-toggle-div",onClick:f},r?(0,t.createElement)(Ga,null):(0,t.createElement)(Ja,null))))),(0,t.createElement)(Ua,null,(0,t.createElement)("div",{className:"upgrade-pro-content"},(0,t.createElement)("div",{className:"content-left"},(0,t.createElement)("h3",{className:"content-title"},(0,i.__)("Engage Visitors, Drive Results","gutenverse-companion")),(0,t.createElement)("p",{className:"content-desc"},(0,i.__)("Turn your website into a lead-generation machine and keep your audience engaged.","gutenverse-companion")),(0,t.createElement)("ul",{className:"content-list"},(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Gutenverse Form.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Gutenverse Popup.","gutenverse-companion"))),(0,t.createElement)("li",null,(0,t.createElement)("div",{className:"circle"},(0,t.createElement)(Va,{size:12})),(0,t.createElement)("span",null,(0,i.__)("Gutenverse News.","gutenverse-companion")))),(0,t.createElement)("div",{className:"upgrade-pro-button",onClick:()=>window.open(m,"_blank")},(0,t.createElement)("div",{className:"button-content-wrapper"},(0,t.createElement)("span",null,(0,i.__)("Upgrade To PRO","gutenverse-companion")),(0,t.createElement)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,t.createElement)("div",{className:"content-right"},(0,t.createElement)("img",{className:"background",src:p+"/wizard-background-circle.png"}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/engage-result-mockup-gutenverse-form.png",style:{width:"170px",top:"40px",left:"110px",zIndex:"99"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/engage-result-mockup-gutenverse-popup.png",style:{width:"170px",top:"175px",left:"15px",zIndex:"99",animationDelay:"0.2s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/engage-result-mockup-gutenverse-news.png",style:{width:"170px",top:"230px",right:"15px",zIndex:"99",animationDelay:"0.4s"}})),(0,t.createElement)("div",{className:"splide-autoplay-controls"},(0,t.createElement)("div",{className:"splide-toggle-div",onClick:f},r?(0,t.createElement)(Ga,null):(0,t.createElement)(Ja,null))))),(0,t.createElement)(Ua,null,(0,t.createElement)("div",{className:"upgrade-pro-content"},(0,t.createElement)("div",{className:"content-left"},(0,t.createElement)("h3",{className:"content-title"},(0,i.__)("Why Upgrade to PRO?","gutenverse-companion")),(0,t.createElement)("p",{className:"content-desc"},(0,i.__)("With Gutenverse PRO, 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,t.createElement)("p",{className:"content-desc bold"},(0,i.__)("Ready to take your website to the next stage?","gutenverse-companion")),(0,t.createElement)("div",{className:"upgrade-pro-button",onClick:()=>window.open(m,"_blank")},(0,t.createElement)("div",{className:"button-content-wrapper"},(0,t.createElement)("span",null,(0,i.__)("Upgrade To PRO","gutenverse-companion")),(0,t.createElement)("svg",{width:16,height:16,viewBox:"0 0 15 15",fill:"white",transform:"translate(0,0)",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,t.createElement)("div",{className:"flexible-container-arrow"},(0,t.createElement)("svg",{width:"75",height:"66",viewBox:"0 0 81 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,t.createElement)("path",{d:"M9.61444 48.8749L6.32684 51.5726L8.69361 55.3227",stroke:"#3B57F7",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.createElement)("defs",null,(0,t.createElement)("linearGradient",{id:"paint0_linear_24721_12165",x1:"30.6503",y1:"51.7548",x2:"43.9983",y2:"4.05337",gradientUnits:"userSpaceOnUse"},(0,t.createElement)("stop",{stopColor:"#3B57F7"}),(0,t.createElement)("stop",{offset:"1",stopColor:"#3B57F7",stopOpacity:"0"})))))),(0,t.createElement)("div",{className:"content-right"},(0,t.createElement)("img",{className:"background",src:p+"/wizard-background-circle.png"}),(0,t.createElement)("img",{className:"positioned slideInUp",src:p+"/upgrade-pro-mockup-frame-pro.png",style:{width:"300px",top:"230px",left:"40px",zIndex:"2"}}),(0,t.createElement)("img",{className:"positioned slideInRight",src:p+"/upgrade-pro-mockup-cube-gutenverse.png",style:{width:"160px",top:"250px",right:"-70px",zIndex:"99",animationDelay:"0.1s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/upgrade-pro-mockup-icon-lottie.png",style:{width:"50px",top:"280px",left:"30px",animationDelay:"0.4s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/upgrade-pro-mockup-icon-megamenu.png",style:{width:"50px",top:"90px",right:"40px",animationDelay:"0.3s"}}),(0,t.createElement)("img",{className:"positioned scaleIn",src:p+"/upgrade-pro-mockup-icon-text-marquee.png",style:{width:"50px",top:"100px",left:"30px",animationDelay:"0.2s"}})),(0,t.createElement)("div",{className:"splide-autoplay-controls"},(0,t.createElement)("div",{className:"splide-toggle-div",onClick:f},r?(0,t.createElement)(Ga,null):(0,t.createElement)(Ja,null)))))),(0,t.createElement)("div",{className:"splide__arrows"},(0,t.createElement)("button",{className:"splide__arrow splide__arrow--prev"},(0,t.createElement)(qa,null)),(0,t.createElement)("button",{className:"splide__arrow splide__arrow--next"},(0,t.createElement)(Wa,null))),(0,t.createElement)("div",{className:"progress-bars"},(0,t.createElement)("div",{className:"progress-bar"},(0,t.createElement)("p",{className:"progress-bar-title"},(0,t.createElement)(Xa,null),(0,i.__)("Work Faster","gutenverse-companion")),(0,t.createElement)("div",{className:"individual-progress-bar"},(0,t.createElement)("div",{className:"progress-bar-fill"}))),(0,t.createElement)("div",{className:"progress-bar"},(0,t.createElement)("p",{className:"progress-bar-title"},(0,t.createElement)(Za,null),(0,i.__)("Limitless Design","gutenverse-companion")),(0,t.createElement)("div",{className:"individual-progress-bar"},(0,t.createElement)("div",{className:"progress-bar-fill"}))),(0,t.createElement)("div",{className:"progress-bar"},(0,t.createElement)("p",{className:"progress-bar-title"},(0,t.createElement)($a,null),(0,i.__)("Engage Result","gutenverse-companion")),(0,t.createElement)("div",{className:"individual-progress-bar"},(0,t.createElement)("div",{className:"progress-bar-fill"}))),(0,t.createElement)("div",{className:"progress-bar"},(0,t.createElement)("p",{className:"progress-bar-title"},(0,t.createElement)(Ka,null),(0,i.__)("Upgrade PRO","gutenverse-companion")),(0,t.createElement)("div",{className:"individual-progress-bar"},(0,t.createElement)("div",{className:"progress-bar-fill"})))))),(0,t.createElement)("div",{className:"upgrade-footer"},(0,t.createElement)("div",{className:"upgrade-actions"},(0,t.createElement)("div",{onClick:()=>n?e("importTemplate",2):e("pluginAndTheme",1),className:"button-back"},(0,t.createElement)("svg",{width:"16",height:"9",viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,i.__)("Back","gutenverse-companion")),(0,t.createElement)("div",{onClick:()=>e("done",4),className:"button-next"},(0,i.__)("Next","gutenverse-companion")))))},ti=({updateProgress:e})=>{const{assign:n}=window.GutenThemeConfig,[r,o]=(0,a.useState)(!1),[s,l]=(0,a.useState)(n),[c,u]=(0,a.useState)(["Creating Pages","Assigning Templates"]),[m,p]=(0,a.useState)(!1),[d,f]=(0,a.useState)(""),[h,g]=(0,a.useState)(0),[v,E]=(0,a.useState)(0),[b,w]=(0,a.useState)(!1),[y,C]=(0,a.useState)(null),[_,x]=(0,a.useState)(""),N=e=>{p(!0),w(!1),x(e)};return(0,a.useEffect)(()=>{if(s?.length>0){let e=!0;s?.map(t=>{e=e&&t?.status?.exists&&t?.status?.using_template}),o(e)}},[s]),(0,t.createElement)("div",{className:"template-install import-demo"},m&&(0,t.createElement)(ni,{importerStep:c,importerNotice:d,importerCurrent:h,importerStatus:v,completeSubtitle:y,done:b,close:()=>p(!1),setImporterStep:u,setImporterNotice:f,setImporterStatus:E,setImporterCurrent:g,setDone:w,updateTemplateStatus:e=>{l(t=>t.map(t=>t.title===e?{...t,status:{...t.status,using_template:!0,exists:!0}}:t))},setCompleteSubtitle:C,importMode:_,templateList:s}),(0,t.createElement)("div",{className:"template-title"},(0,t.createElement)("h1",{className:"content-title"},(0,i.__)("Import Prebuilt Demos","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"button-import-all "+(r?"imported":""),onClick:()=>{r||N("all")}},!r&&(0,t.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M4.00033 13.3327C3.63366 13.3327 3.31966 13.202 3.05833 12.9407C2.79699 12.6793 2.66655 12.3656 2.66699 11.9993V9.99935H4.00033V11.9993H12.0003V9.99935H13.3337V11.9993C13.3337 12.366 13.203 12.68 12.9417 12.9413C12.6803 13.2027 12.3665 13.3331 12.0003 13.3327H4.00033ZM8.00033 10.666L4.66699 7.33268L5.60033 6.36602L7.33366 8.09935V2.66602H8.66699V8.09935L10.4003 6.36602L11.3337 7.33268L8.00033 10.666Z",fill:"white"})),r?(0,i.__)("All Pages Imported","--gtb-theme-namespace--"):(0,i.__)("Import All Pages","--gtb-theme-namespace--"))),(0,t.createElement)("div",{className:"template-list"},s?.map((e,n)=>(0,t.createElement)("div",{className:"template-page",key:n},(0,t.createElement)("img",{src:e?.thumb}),(0,t.createElement)("div",{className:"template-page-desc"},(0,t.createElement)("h3",null,e?.title),(0,t.createElement)("div",{className:"buttons"},(0,t.createElement)("div",{className:"button-import-page "+(e?.status?.exists?e?.status?.using_template?"imported":"switch":"import"),onClick:()=>{e.status.using_template||N(e)}},e?.status?.exists?e?.status?.using_template?(0,i.__)("Imported","--gtb-theme-namespace--"):(0,i.__)("Switch Template","--gtb-theme-namespace--"):(0,i.__)("Import Page","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"button-view-demo",onClick:()=>window.open(e?.demo,"_blank")},(0,i.__)("View Demo","--gtb-theme-namespace--"))))))),(0,t.createElement)("div",{className:"template-actions"},(0,t.createElement)("div",{onClick:()=>e("installPlugin",-1),className:"button-back"},(0,t.createElement)("svg",{width:"16",height:"9",viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("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,i.__)("Back","--gtb-theme-namespace--")),(0,t.createElement)("div",{onClick:()=>e("upgradePro",1),className:"button-next"},(0,i.__)("Next","--gtb-theme-namespace--"))))},ni=e=>{const{importerStep:n=["Fetching Data","Importing Assets","Deploying Content"],importerNotice:r=(0,i.__)("Importing “Home” demo in progress...","--gtb-theme-namespace--"),importerCurrent:o=2,importerStatus:s=(0,i.__)("Import: Demo Home....","--gtb-theme-namespace--"),headerText:l=(0,i.__)("Important Notice","--gtb-theme-namespace--"),warnText:c=(0,i.__)("Please do not refresh or close the page while importing data is in progress.","--gtb-theme-namespace--"),completeTitle:u=(0,i.__)("Install Demo Completed","--gtb-theme-namespace--"),completeSubtitle:m=(0,i.__)("All Demo is successfully imported!","--gtb-theme-namespace--"),done:p=!1,close:d=()=>{},setImporterStep:f,setImporterNotice:h,setImporterStatus:g,setImporterCurrent:v,setDone:E,updateTemplateStatus:b,setCompleteSubtitle:w,importMode:y,templateList:C}=e,[_,x]=(0,a.useState)(1),[N,S]=(0,a.useState)(!0);return(0,t.createElement)("div",{className:"gutenverse-importer-wrapper-modal-wizzard"},(0,t.createElement)("div",{className:"importer-modal"},1!==_||p?2!==_||p?p?(0,t.createElement)("div",{className:"import-complete"},(0,t.createElement)("div",{className:"auth-icon-status-wrapper"},(0,t.createElement)("svg",{viewBox:"0 0 160 160"},(0,t.createElement)("defs",null,(0,t.createElement)("circle",{id:"circle-clip",cx:"50%",cy:"50%",r:"18%"}),(0,t.createElement)("clipPath",{id:"avatar-clip"},(0,t.createElement)("use",{href:"#circle-clip"}))),(0,t.createElement)("circle",{cx:"50%",cy:"50%",r:"18%",fill:"white",fillOpacity:"1"},(0,t.createElement)("animate",{attributeName:"r",values:"18%;50%",dur:"4s",repeatCount:"indefinite"}),(0,t.createElement)("animate",{attributeName:"fill-opacity",values:"1;0",dur:"4s",repeatCount:"indefinite"})),(0,t.createElement)("circle",{cx:"50%",cy:"50%",r:"18%",fill:"white",fillOpacity:"1"},(0,t.createElement)("animate",{attributeName:"r",values:"18%;50%",dur:"4s",begin:"1s",repeatCount:"indefinite"}),(0,t.createElement)("animate",{attributeName:"fill-opacity",values:"1;0",dur:"4s",begin:"1s",repeatCount:"indefinite"})),(0,t.createElement)("circle",{cx:"50%",cy:"50%",r:"18%",fill:"white",fillOpacity:"1"},(0,t.createElement)("animate",{attributeName:"r",values:"18%;50%",dur:"4s",begin:"2s",repeatCount:"indefinite"}),(0,t.createElement)("animate",{attributeName:"fill-opacity",values:"1;0",dur:"4s",begin:"2s",repeatCount:"indefinite"})),(0,t.createElement)("circle",{cx:"50%",cy:"50%",r:"18%",fill:"white",fillOpacity:"1"},(0,t.createElement)("animate",{attributeName:"r",values:"18%;50%",dur:"4s",begin:"3s",repeatCount:"indefinite"}),(0,t.createElement)("animate",{attributeName:"fill-opacity",values:"1;0",dur:"4s",begin:"3s",repeatCount:"indefinite"}))),(0,t.createElement)("div",{className:"auth-status-icon"},(0,t.createElement)("svg",{width:"30",height:"23",viewBox:"0 0 30 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("g",{filter:"url(#filter0_b_1867_7047)"},(0,t.createElement)("path",{d:"M29.9987 2.66689L9.9987 22.6669L0.832031 13.5002L3.18203 11.1502L9.9987 17.9502L27.6487 0.316895L29.9987 2.66689Z",fill:"#1bc87f"})),(0,t.createElement)("defs",null,(0,t.createElement)("filter",{id:"filter0_b_1867_7047",x:"-3.16797",y:"-3.68311",width:"37.168",height:"30.3501",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,t.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,t.createElement)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"2"}),(0,t.createElement)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_1867_7047"}),(0,t.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_1867_7047",result:"shape"})))))),(0,t.createElement)("div",{className:"complete-title"},u),(0,t.createElement)("div",{className:"complete-subtitle"},m),(0,t.createElement)("div",{className:"close-button",onClick:()=>d()},(0,i.__)("Close","--gtb-theme-namespace--"))):void 0:(0,t.createElement)(a.Fragment,null,(0,t.createElement)("div",{className:"importer-header"},(0,t.createElement)("span",null,l)),(0,t.createElement)("div",{className:"importer-body"},(0,t.createElement)("div",{className:"importer-warn"},(0,t.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M10 0C4.47754 0 0 4.47915 0 10C0 15.5241 4.47754 20 10 20C15.5225 20 20 15.5241 20 10C20 4.47915 15.5225 0 10 0ZM10 4.43548C10.9353 4.43548 11.6935 5.19371 11.6935 6.12903C11.6935 7.06435 10.9353 7.82258 10 7.82258C9.06468 7.82258 8.30645 7.06435 8.30645 6.12903C8.30645 5.19371 9.06468 4.43548 10 4.43548ZM12.2581 14.6774C12.2581 14.9446 12.0414 15.1613 11.7742 15.1613H8.22581C7.95859 15.1613 7.74194 14.9446 7.74194 14.6774V13.7097C7.74194 13.4425 7.95859 13.2258 8.22581 13.2258H8.70968V10.6452H8.22581C7.95859 10.6452 7.74194 10.4285 7.74194 10.1613V9.19355C7.74194 8.92633 7.95859 8.70968 8.22581 8.70968H10.8065C11.0737 8.70968 11.2903 8.92633 11.2903 9.19355V13.2258H11.7742C12.0414 13.2258 12.2581 13.4425 12.2581 13.7097V14.6774Z",fill:"#FFC908"})),(0,t.createElement)("span",null,c)),(0,t.createElement)("div",{className:"importer-step"},(0,t.createElement)("div",{className:"import-step-notice"},(0,t.createElement)("p",{dangerouslySetInnerHTML:{__html:r}})),(0,t.createElement)("div",{className:"importer-inner-step"},n.map((e,n)=>{const r=n;return(0,t.createElement)("div",{key:n,className:"steps "+(o>r?"done":o==r?"current":"")},o>r?(0,t.createElement)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("rect",{x:"0.5",y:"2.5",width:"15",height:"15",rx:"7.5",fill:"#3B57F7"}),(0,t.createElement)("rect",{x:"0.5",y:"2.5",width:"15",height:"15",rx:"7.5",stroke:"#3B57F7"}),(0,t.createElement)("path",{d:"M12 7L6.5 12.5L4 10",stroke:"white",strokeLinecap:" ",strokeLinejoin:"round"})):(0,t.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",fill:"white"}),(0,t.createElement)("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",stroke:"#D0D5DD"})),(0,t.createElement)("div",null,e),o>r?(0,t.createElement)("span",{className:"completed"},(0,i.__)("Completed","--gtb-theme-namespace--")):o==r?(0,t.createElement)("div",{className:"loading"},(0,t.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M8 1C8.13261 1 8.25979 1.05268 8.35355 1.14645C8.44732 1.24021 8.5 1.36739 8.5 1.5V4.5C8.5 4.63261 8.44732 4.75979 8.35355 4.85355C8.25979 4.94732 8.13261 5 8 5C7.86739 5 7.74022 4.94732 7.64645 4.85355C7.55268 4.75979 7.5 4.63261 7.5 4.5V1.5C7.5 1.36739 7.55268 1.24021 7.64645 1.14645C7.74022 1.05268 7.86739 1 8 1ZM8 11C8.13261 11 8.25979 11.0527 8.35355 11.1464C8.44732 11.2402 8.5 11.3674 8.5 11.5V14.5C8.5 14.6326 8.44732 14.7598 8.35355 14.8536C8.25979 14.9473 8.13261 15 8 15C7.86739 15 7.74022 14.9473 7.64645 14.8536C7.55268 14.7598 7.5 14.6326 7.5 14.5V11.5C7.5 11.3674 7.55268 11.2402 7.64645 11.1464C7.74022 11.0527 7.86739 11 8 11ZM15 8C15 8.13261 14.9473 8.25979 14.8536 8.35355C14.7598 8.44732 14.6326 8.5 14.5 8.5H11.5C11.3674 8.5 11.2402 8.44732 11.1464 8.35355C11.0527 8.25979 11 8.13261 11 8C11 7.86739 11.0527 7.74022 11.1464 7.64645C11.2402 7.55268 11.3674 7.5 11.5 7.5H14.5C14.6326 7.5 14.7598 7.55268 14.8536 7.64645C14.9473 7.74022 15 7.86739 15 8ZM5 8C5 8.13261 4.94732 8.25979 4.85355 8.35355C4.75979 8.44732 4.63261 8.5 4.5 8.5H1.5C1.36739 8.5 1.24021 8.44732 1.14645 8.35355C1.05268 8.25979 1 8.13261 1 8C1 7.86739 1.05268 7.74022 1.14645 7.64645C1.24021 7.55268 1.36739 7.5 1.5 7.5H4.5C4.63261 7.5 4.75979 7.55268 4.85355 7.64645C4.94732 7.74022 5 7.86739 5 8ZM3.05 3.05C3.14376 2.95626 3.27092 2.90361 3.4035 2.90361C3.53608 2.90361 3.66324 2.95626 3.757 3.05L5.88 5.172C5.97108 5.2663 6.02148 5.3926 6.02034 5.5237C6.0192 5.6548 5.96661 5.7802 5.87391 5.87291C5.78121 5.96561 5.6558 6.0182 5.5247 6.01934C5.3936 6.02048 5.2673 5.97008 5.173 5.879L3.05 3.757C2.95626 3.66324 2.90361 3.53608 2.90361 3.4035C2.90361 3.27092 2.95626 3.14376 3.05 3.05ZM10.121 10.121C10.2148 10.0273 10.3419 9.97461 10.4745 9.97461C10.6071 9.97461 10.7342 10.0273 10.828 10.121L12.95 12.243C13.0411 12.3373 13.0915 12.4636 13.0903 12.5947C13.0892 12.7258 13.0366 12.8512 12.9439 12.9439C12.8512 13.0366 12.7258 13.0892 12.5947 13.0903C12.4636 13.0915 12.3373 13.0411 12.243 12.95L10.121 10.828C10.0273 10.7342 9.97461 10.6071 9.97461 10.4745C9.97461 10.3419 10.0273 10.2148 10.121 10.121ZM12.95 3.051C13.0434 3.14472 13.0959 3.27166 13.0959 3.404C13.0959 3.53634 13.0434 3.66328 12.95 3.757L10.828 5.88C10.7337 5.97108 10.6074 6.02148 10.4763 6.02034C10.3452 6.0192 10.2198 5.96661 10.1271 5.87391C10.0344 5.78121 9.9818 5.6558 9.98066 5.5247C9.97952 5.3936 10.0299 5.2673 10.121 5.173L12.243 3.051C12.3368 2.95726 12.4639 2.90461 12.5965 2.90461C12.7291 2.90461 12.8562 2.95726 12.95 3.051ZM5.879 10.121C5.97274 10.2148 6.02539 10.3419 6.02539 10.4745C6.02539 10.6071 5.97274 10.7342 5.879 10.828L3.757 12.95C3.6627 13.0411 3.5364 13.0915 3.4053 13.0903C3.2742 13.0892 3.14879 13.0366 3.05609 12.9439C2.96339 12.8512 2.9108 12.7258 2.90966 12.5947C2.90852 12.4636 2.95892 12.3373 3.05 12.243L5.172 10.121C5.26576 10.0273 5.39292 9.97461 5.5255 9.97461C5.65808 9.97461 5.78524 10.0273 5.879 10.121Z",fill:"#933affff"}))):"")})))),(0,t.createElement)("div",{className:"importer-footer"},(0,t.createElement)("div",{className:"footer-info"},(0,t.createElement)("span",null,s),(0,t.createElement)("span",null,(0,i.__)(`${o}/${n.length} Completed`,"--gtb-theme-namespace--")))),(0,t.createElement)("div",{className:"footer-loading"},(0,t.createElement)("div",{className:"loading-status",style:{width:o/n.length*100+"%"}}))):(0,t.createElement)(a.Fragment,null,(0,t.createElement)("div",{className:"importer-header"},(0,t.createElement)("span",null,l)),(0,t.createElement)("div",{className:"importer-body first-step"},(0,t.createElement)("div",{className:"importer-warn"},(0,t.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M10 0C4.47754 0 0 4.47915 0 10C0 15.5241 4.47754 20 10 20C15.5225 20 20 15.5241 20 10C20 4.47915 15.5225 0 10 0ZM10 4.43548C10.9353 4.43548 11.6935 5.19371 11.6935 6.12903C11.6935 7.06435 10.9353 7.82258 10 7.82258C9.06468 7.82258 8.30645 7.06435 8.30645 6.12903C8.30645 5.19371 9.06468 4.43548 10 4.43548ZM12.2581 14.6774C12.2581 14.9446 12.0414 15.1613 11.7742 15.1613H8.22581C7.95859 15.1613 7.74194 14.9446 7.74194 14.6774V13.7097C7.74194 13.4425 7.95859 13.2258 8.22581 13.2258H8.70968V10.6452H8.22581C7.95859 10.6452 7.74194 10.4285 7.74194 10.1613V9.19355C7.74194 8.92633 7.95859 8.70968 8.22581 8.70968H10.8065C11.0737 8.70968 11.2903 8.92633 11.2903 9.19355V13.2258H11.7742C12.0414 13.2258 12.2581 13.4425 12.2581 13.7097V14.6774Z",fill:"#FFC908"})),(0,t.createElement)("span",null,c)),(0,t.createElement)("div",{className:"importer-step"},(0,t.createElement)("p",null,(0,i.__)("Select the options below to import this template:","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"import-mode-wrapper"},(0,t.createElement)("div",{className:"checkbox-inner"},(0,t.createElement)("div",{className:"select-inner"},(0,t.createElement)("input",{id:"with-menu",type:"checkbox",checked:N,onChange:()=>{},hidden:!0}),(0,t.createElement)("span",{className:"checkmark",onClick:()=>!N&&S(!N)})),(0,t.createElement)("div",{className:"label-wrapper"},(0,t.createElement)("p",{className:"label-checkbox"},(0,i.__)("Full Import","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"label-description"},(0,i.__)("Import page and menu for this template.","--gtb-theme-namespace--")))),(0,t.createElement)("div",{className:"checkbox-inner"},(0,t.createElement)("div",{className:"select-inner"},(0,t.createElement)("input",{id:"without-menu",type:"checkbox",checked:!N,onChange:()=>{},hidden:!0}),(0,t.createElement)("span",{className:"checkmark",onClick:()=>{N&&S(!N)}})),(0,t.createElement)("div",{className:"label-wrapper"},(0,t.createElement)("p",{className:"label-checkbox"},(0,i.__)("Import Without Menu","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"label-description"},(0,i.__)("Import page for this template, without menu.","--gtb-theme-namespace--"))))))),(0,t.createElement)("div",{className:"importer-footer first-step"},(0,t.createElement)("div",{className:"footer-info"},(0,t.createElement)("div",{className:"button-start-import",onClick:()=>{var e;x(2),"all"===y?(async()=>{const e=C.filter(e=>!e?.status?.using_template),t=e.map(e=>e.title);f(N?[...t,"Importing Menu"]:t),E(!1);for(let t=0;t<e.length;t++){const n=e[t];try{h(`Creating “${n.title}” page in progress...`),g(`Create Page: ${n.page}....`),await(wp?.apiFetch({path:"gtb-themes-backend/v1/pages/assign",method:"POST",data:{title:n.title}})),b(n.title),g(`Assigning Templates: ${n.page}....`),v(t+1),await new Promise(e=>setTimeout(e,500))}catch(e){console.error(`Failed to assign template for page: ${n.page}`,e)}}setTimeout(()=>{let t=1;N?(g("Importing Menu...."),v(e.length+t),t++,wp?.apiFetch({path:"gtb-themes-backend/v1/import/menus",method:"GET"}).then(()=>{setTimeout(()=>{g("Done..."),v(e.length+t),E(!0),w((0,i.__)("All Demo is successfully imported!","--gtb-theme-namespace--"))},500)}).catch(e=>{E(!0),console.error("Failed to import menu",e)})):setTimeout(()=>{g("Done..."),v(e.length+t),E(!0),w((0,i.__)("All Demo is successfully imported!","--gtb-theme-namespace--"))},500)},500)})():(e=y,f(N?["Creating Pages","Assigning Templates","Importing Menu"]:["Creating Pages","Assigning Templates"]),h(`Creating “${e.title}” page in progress...`),g(`Create Page: ${e.page}....`),v(1),E(!1),wp?.apiFetch({path:"gtb-themes-backend/v1/pages/assign",method:"POST",data:{title:e.title}}).then(()=>{g(`Assigning Templates: ${e.page}....`),v(2),b(e.title),N?setTimeout(()=>{g("Importing Menu...."),v(3),wp?.apiFetch({path:"gtb-themes-backend/v1/import/menus",method:"GET"}).then(()=>{setTimeout(()=>{g("Done..."),v(4),E(!0),w(`Page ${e.page} is successfully imported!`)},500)}).catch(()=>{})},500):setTimeout(()=>{g("Done..."),v(3),E(!0),w(`Page ${e.page} is successfully imported!`)},500)}).catch(()=>{}))}},(0,i.__)("Start Import","--gtb-theme-namespace--")))))))},ri=()=>{const[e,n]=(0,a.useState)("installPlugin"),[r,o]=(0,a.useState)(0),[s,l]=(0,a.useState)("install"),c=(e,t)=>{n(e),o(r+t)};return(0,t.createElement)("div",{className:"theme-wizard-wrapper"},(0,t.createElement)("div",{className:"theme-wizard"},(0,t.createElement)("div",{className:"wizard-header"},(0,t.createElement)("div",{className:`progress ${"installPlugin"===e?"active":""} ${r>=0?"done":""}`},(0,t.createElement)("p",{className:"number"},"1"),(0,t.createElement)("h3",{className:"progress-title"},(0,i.__)("Plugin Requirements","--gtb-theme-namespace--"))),(0,t.createElement)("div",{className:`progress ${"importTemplate"===e?"active":""} ${r>=1?"done":""}`},(0,t.createElement)("p",{className:"number"},"2"),(0,t.createElement)("h3",{className:"progress-title"},(0,i.__)("Import Demo","--gtb-theme-namespace--"))),(0,t.createElement)("div",{className:`progress ${"upgradePro"===e?"active":""} ${r>=2?"done":""}`},(0,t.createElement)("p",{className:"number"},"3"),(0,t.createElement)("h3",{className:"progress-title"},(0,i.__)("Upgrade Your Site","--gtb-theme-namespace--"))),(0,t.createElement)("div",{className:`progress ${"done"===e?"active":""} ${r>=3?"done":""}`},(0,t.createElement)("p",{className:"number"},"4"),(0,t.createElement)("h3",{className:"progress-title"},(0,i.__)("Finalizing","--gtb-theme-namespace--")))),(0,t.createElement)("div",{className:"wizard-body"},(()=>{switch(e){case"done":const{images:e}=window.GutenverseCompanionConfig;return(0,t.createElement)("div",{className:"finalizing"},(0,t.createElement)("div",{className:"image-wrapper"},(0,t.createElement)("img",{className:"image-done",src:e+"/final.png"})),(0,t.createElement)("div",{className:"final-detail"},(0,t.createElement)("h3",{className:"final-title"},(0,i.__)("Congratulations All Set 🤩","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"final-desc"},(0,i.__)("This theme is built with Gutenverse, a powerful and lightweight Gutenberg blocks and page builder plugin for the WordPress Site Editor.","--gtb-theme-namespace--")),(0,t.createElement)("div",{onClick:()=>{window.location.href=`${window.GutenThemeConfig.dashboardPage}&wizard_setup_done=yes`},className:"button-visit"},(0,i.__)("Visit Dashboard","--gtb-theme-namespace--"))));case"upgradePro":return(0,t.createElement)(ei,{updateProgress:c});case"importTemplate":return(0,t.createElement)(ti,{updateProgress:c});default:return(0,t.createElement)(Qa,{updateProgress:c,action:s,setAction:l})}})())))},ai=()=>(0,t.createElement)("span",{className:"blink-icon"},(0,t.createElement)("svg",{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M6.12394 12.248C7.40699 8.4469 8.44684 7.40692 12.248 6.124C8.44684 4.84115 7.40699 3.80111 6.12394 0C4.84115 3.80111 3.80104 4.84115 0 6.124C3.80104 7.40692 4.84115 8.4469 6.12394 12.248Z",fill:"url(#paint0_linear_19089_7751)"}),(0,t.createElement)("path",{d:"M13.1535 11.3184C12.4535 13.392 11.8862 13.9594 9.8125 14.6593C11.8862 15.3591 12.4535 15.9265 13.1535 18.0002C13.8533 15.9265 14.4207 15.3591 16.4943 14.6593C14.4207 13.9594 13.8533 13.392 13.1535 11.3184Z",fill:"url(#paint1_linear_19089_7751)"}),(0,t.createElement)("defs",null,(0,t.createElement)("linearGradient",{id:"paint0_linear_19089_7751",x1:"1.5998",y1:"-4.72723",x2:"18.2853",y2:"20.486",gradientUnits:"userSpaceOnUse"},(0,t.createElement)("stop",{stopColor:"#65DCF5"}),(0,t.createElement)("stop",{offset:"1",stopColor:"#65DCF5",stopOpacity:"0"})),(0,t.createElement)("linearGradient",{id:"paint1_linear_19089_7751",x1:"10.6853",y1:"8.73945",x2:"19.788",y2:"22.4943",gradientUnits:"userSpaceOnUse"},(0,t.createElement)("stop",{stopColor:"#65DCF5"}),(0,t.createElement)("stop",{offset:"1",stopColor:"#65DCF5",stopOpacity:"0"}))))),ii=()=>{const{assign:e}=window.GutenThemeConfig,[n,r]=(0,a.useState)(!1),[o,s]=(0,a.useState)(e),[l,c]=(0,a.useState)(["Creating Pages","Assigning Templates"]),[u,m]=(0,a.useState)(!1),[p,d]=(0,a.useState)(""),[f,h]=(0,a.useState)(0),[g,v]=(0,a.useState)(0),[E,b]=(0,a.useState)(!1),[w,y]=(0,a.useState)(null),[C,_]=(0,a.useState)("");(0,a.useEffect)(()=>{if(o?.length>0){let e=!0;o?.map(t=>{e=e&&t?.status?.exists&&t?.status?.using_template}),r(e)}},[o]);const x=e=>{m(!0),b(!1),_(e)};return(0,t.createElement)("div",{className:"template-install import-demo"},u&&(0,t.createElement)(ni,{importerStep:l,importerNotice:p,importerCurrent:f,importerStatus:g,completeSubtitle:w,done:E,close:()=>m(!1),setImporterStep:c,setImporterNotice:d,setImporterStatus:v,setImporterCurrent:h,setDone:b,updateTemplateStatus:e=>{s(t=>t.map(t=>t.title===e?{...t,status:{...t.status,using_template:!0,exists:!0}}:t))},setCompleteSubtitle:y,importMode:C,templateList:o}),(0,t.createElement)("div",{className:"template-title"},(0,t.createElement)("h1",{className:"content-title"},(0,i.__)("Import Prebuilt Demos","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"button-import-all "+(n?"imported":""),onClick:()=>{n||x("all")}},(0,t.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M4.00033 13.3327C3.63366 13.3327 3.31966 13.202 3.05833 12.9407C2.79699 12.6793 2.66655 12.3656 2.66699 11.9993V9.99935H4.00033V11.9993H12.0003V9.99935H13.3337V11.9993C13.3337 12.366 13.203 12.68 12.9417 12.9413C12.6803 13.2027 12.3665 13.3331 12.0003 13.3327H4.00033ZM8.00033 10.666L4.66699 7.33268L5.60033 6.36602L7.33366 8.09935V2.66602H8.66699V8.09935L10.4003 6.36602L11.3337 7.33268L8.00033 10.666Z",fill:"white"})),n?(0,i.__)("All Pages Imported","--gtb-theme-namespace--"):(0,i.__)("Import All Pages","--gtb-theme-namespace--"))),(0,t.createElement)("div",{className:"template-list"},o?.map((e,n)=>(0,t.createElement)("div",{className:"template-page",key:n},(0,t.createElement)("img",{src:e?.thumb}),(0,t.createElement)("div",{className:"template-page-desc"},(0,t.createElement)("h3",null,e?.title),(0,t.createElement)("div",{className:"buttons"},(0,t.createElement)("div",{className:"button-import-page "+(e?.status?.exists?e?.status?.using_template?"imported":"switch":"import"),onClick:()=>{e.status.using_template||x(e)}},e?.status?.exists?e?.status?.using_template?(0,i.__)("Imported","--gtb-theme-namespace--"):(0,i.__)("Switch Template","--gtb-theme-namespace--"):(0,i.__)("Import Page","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"button-view-demo",onClick:()=>window.open(e?.demo,"_blank")},(0,i.__)("View Demo","--gtb-theme-namespace--"))))))),(0,t.createElement)("div",{className:"template-actions"}))},oi=()=>(0,t.createElement)("div",{className:"wave"},(0,t.createElement)("svg",{width:"145",height:"138",viewBox:"0 0 145 138",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("circle",{cx:"110",cy:"28",r:"110",fill:"#F8FBFF"}),(0,t.createElement)("circle",{cx:"110",cy:"28",r:"64",fill:"#F2F8FF"}))),si=()=>{const{home_url:e,version:n,logo:r,title:o,plugins:s,upgradePro:l="https://gutenverse.com/pro",supportLink:c="https://support.jegtheme.com",docsLink:u="https://gutenverse.com/docs",subscribed:m=!1}=window.GutenThemeConfig,[p,d]=(0,a.useState)(""),[f,h]=(0,a.useState)("dashboard"),[g,v]=(0,a.useState)("install"),[E,b]=(0,a.useState)(!1),[w,y]=(0,a.useState)(!1),[C,_]=(0,a.useState)(m),x=()=>{if(_t()(p))return void y("empty");const t=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(p);t?t&&!E&&(b(!0),(e=>{const{libraryApi:t}=window.GutenThemeConfig;return(e=>yt.create({baseURL:e}))(t).post("/subscribe",e)})({email:p,domain:e}).then(()=>{_(!0),d("")}).catch(()=>{y("error")}).finally(()=>{b(!1)})):y("format")},N=(e=0)=>{if(s&&e<s.length){const t=s[e];t?.installed?t?.active?N(e+1):wp?.apiFetch({path:`wp/v2/plugins/plugin?plugin=${t?.slug}/${t?.slug}`,method:"POST",data:{status:"active"}}).then(()=>{N(e+1)}).catch(()=>{console.error("Error during plugin activation"),N(e)}):t?.download_url?wp?.apiFetch({path:"gtb-themes-backend/v1/install/plugins",method:"POST",data:{slug:t?.slug,download_url:t?.download_url}}).then(()=>{wp?.apiFetch({path:`wp/v2/plugins/plugin?plugin=${t?.slug}/${t?.slug}`,method:"POST",data:{status:"active"}}).then(()=>{N(e+1)}).catch(()=>{console.error("Error during plugin activation"),N(e)})}):wp?.apiFetch({path:"wp/v2/plugins",method:"POST",data:{slug:t?.slug,status:"active"}}).then(()=>{N(e+1)}).catch(()=>{console.error("Error during installing plugin")})}else v("done")},S=()=>{v("loading"),N(0)};return(0,a.useEffect)(()=>{let e=!0;s?.map(t=>{e=e&&t?.active}),e&&v("done")},[]),(0,t.createElement)("div",{className:"themeforest-dashboard"},(0,t.createElement)("div",{className:"dashboard-header"},(0,t.createElement)("div",{className:"logo"},r?(0,t.createElement)("img",{src:r}):(0,i.__)("LOGO","--gtb-theme-namespace--")),(0,t.createElement)("ul",{className:"menu"},(0,t.createElement)("li",{onClick:()=>h("dashboard"),className:"dashboard"===f?"active":""},(0,i.__)("Dashboard","--gtb-theme-namespace--")),(0,t.createElement)("li",{onClick:()=>h("demo"),className:"demo"===f?"active":""},(0,i.__)("Demo","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"support",onClick:()=>window.open(c,"_blank")},(0,t.createElement)("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("g",{clipPath:"url(#clip0_19874_7889)"},(0,t.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.48793 1.89237C6.09975 1.88536 5.71401 1.95497 5.35276 2.09721C4.99152 2.23945 4.66187 2.45153 4.38269 2.72132C4.1035 2.9911 3.88025 3.3133 3.72573 3.66946C3.5712 4.02562 3.48843 4.40876 3.48214 4.79694V8.85666C3.48214 9.10293 3.38431 9.33912 3.21017 9.51326C3.03603 9.6874 2.79984 9.78523 2.55357 9.78523H1.39286C1.02345 9.78523 0.66917 9.63848 0.407958 9.37727C0.146747 9.11606 0 8.76178 0 8.39237L0 6.53523C0 6.16582 0.146747 5.81154 0.407958 5.55033C0.66917 5.28912 1.02345 5.14237 1.39286 5.14237H2.08929V4.78023C2.09776 4.20952 2.21857 3.64608 2.44483 3.12207C2.67109 2.59806 2.99835 2.12375 3.40794 1.72624C3.81752 1.32873 4.3014 1.01579 4.83195 0.805309C5.36249 0.594826 5.9293 0.490917 6.5 0.499517C7.0707 0.490917 7.63751 0.594826 8.16805 0.805309C8.6986 1.01579 9.18248 1.32873 9.59206 1.72624C10.0016 2.12375 10.3289 2.59806 10.5552 3.12207C10.7814 3.64608 10.9022 4.20952 10.9107 4.78023V5.14237H11.6071C11.9766 5.14237 12.3308 5.28912 12.592 5.55033C12.8533 5.81154 13 6.16582 13 6.53523V8.39237C13 8.76178 12.8533 9.11606 12.592 9.37727C12.3308 9.63848 11.9766 9.78523 11.6071 9.78523H10.9107V10.2495C10.9108 10.877 10.6799 11.4826 10.262 11.9507C9.84411 12.4187 9.26849 12.7166 8.645 12.7873C8.52392 13.0035 8.34736 13.1835 8.13353 13.3086C7.91971 13.4338 7.67635 13.4997 7.42857 13.4995H6.03571C5.66631 13.4995 5.31203 13.3528 5.05082 13.0916C4.7896 12.8303 4.64286 12.4761 4.64286 12.1067C4.64286 11.7373 4.7896 11.383 5.05082 11.1218C5.31203 10.8605 5.66631 10.7138 6.03571 10.7138H7.42857C7.93186 10.7138 8.37293 10.9803 8.61714 11.3805C8.87308 11.3217 9.10151 11.1778 9.26511 10.9724C9.42871 10.767 9.51781 10.5121 9.51786 10.2495V4.79602C9.51149 4.40583 9.42784 4.02078 9.27175 3.66312C9.11566 3.30545 8.89023 2.98228 8.60848 2.71227C8.32673 2.44227 7.99425 2.23079 7.63027 2.09006C7.2663 1.94933 6.87803 1.88214 6.48793 1.89237Z",fill:"#011627"})),(0,t.createElement)("defs",null,(0,t.createElement)("clipPath",{id:"clip0_19874_7889"},(0,t.createElement)("rect",{width:"13",height:"13",fill:"white",transform:"translate(0 0.5)"})))),(0,i.__)("Get Support","--gtb-theme-namespace--")))),(0,t.createElement)("div",{className:"dashboard-content"},(()=>{if("demo"===f)return(0,t.createElement)(ii,null);{const{images:e}=window.GutenverseCompanionConfig;return(0,t.createElement)("div",{className:"content-wrapper"},(0,t.createElement)("div",{className:"content-left"},(0,t.createElement)("div",{className:"top"},(0,t.createElement)("p",{className:"description"},(0,i.sprintf)((0,i.__)("Welcome to %s Theme 👋","--gtb-theme-namespace--"),o)),(0,t.createElement)("p",{className:"version"},(0,i.__)("version ","--gtb-theme-namespace--"),n)),(0,t.createElement)("div",{className:"middle"},(0,t.createElement)("img",{className:"background",src:e+"/bg-dashboard-tf.png"}),(0,t.createElement)("div",{className:"detail"},(0,t.createElement)("div",{className:"texts"},(0,t.createElement)("p",{className:"texts-title"},(0,i.__)("Thank You For Choosing ","--gtb-theme-namespace--"),(0,t.createElement)("span",{className:"gradient-text"},o,(0,t.createElement)(ai,null))),(0,t.createElement)("p",{className:"texts-description"},(0,i.sprintf)((0,i.__)("Thank you for bringing us happiness! We truly appreciate your purchase of the %s Theme. Dive into its features, explore all the possibilities, and create a stunning site with ease.","--gtb-theme-namespace--"),o),(0,i.__)("To get started, be sure to check out the ","--gtb-theme-namespace--"),(0,t.createElement)("a",{href:u,target:"_blank",rel:"noreferrer"},(0,i.__)("Documentation.","--gtb-theme-namespace--")))),(0,t.createElement)("div",{className:"dancer"},(0,t.createElement)("img",{src:e+"/image-dancer.png"})))),(0,t.createElement)("div",{className:"bottom"},(0,t.createElement)("div",{className:"content-1"},(0,t.createElement)(oi,null),(0,t.createElement)("div",{className:"content-icon"},(0,t.createElement)("img",{src:e+"/icon-setting.png"})),(0,t.createElement)("p",{className:"content-title"},(0,i.__)("Plugin Requirements","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"content-description"},(0,i.__)("Install and activate the required plugins to unlock all theme features.","--gtb-theme-namespace--")),(()=>{switch(g){case"done":return(0,t.createElement)("div",{className:"action-button plugin-done"},(0,i.__)("Plugin Installed","--gtb-theme-namespace--"));case"loading":return(0,t.createElement)("div",{className:"action-button plugin-loading"},(0,t.createElement)("div",{className:"rotating",style:{display:"flex"}},(0,t.createElement)(Ot,{size:20})));default:return(0,t.createElement)("div",{className:"action-button plugin-install",onClick:S},(0,i.__)("Install Plugins","--gtb-theme-namespace--"))}})()),(0,t.createElement)("div",{className:"content-2"},(0,t.createElement)(oi,null),(0,t.createElement)("div",{className:"content-icon"},(0,t.createElement)("img",{src:e+"/icon-demo.png"})),(0,t.createElement)("p",{className:"content-title"},(0,i.__)("Install Demo","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"content-description"},(0,i.__)("Importing the demo and style takes only one click. It is easily customizable.","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"action-button",onClick:()=>h("demo")},(0,i.__)("View Demo","--gtb-theme-namespace--"))),(0,t.createElement)("div",{className:"content-3"},(0,t.createElement)(oi,null),(0,t.createElement)("div",{className:"content-icon"},(0,t.createElement)("img",{src:e+"/icon-faq.png"})),(0,t.createElement)("p",{className:"content-title"},(0,i.__)("Documentation","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"content-description"},(0,i.__)("Check our documentation to find the best solution for you.","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"action-button",onClick:()=>window.open(u,"_blank")},(0,i.__)("Check Now","--gtb-theme-namespace--"))))),(0,t.createElement)("div",{className:"content-right"},(0,t.createElement)("div",{className:"top"},(0,t.createElement)("img",{className:"background",src:e+"/bg-upgrade-pro.png"}),(0,t.createElement)("img",{className:"image",src:e+"/mockup-upgrade-pro.png"}),(0,t.createElement)("p",{className:"content-title"},(0,i.__)("Upgrade To ","--gtb-theme-namespace--"),(0,t.createElement)("span",{className:"gradient-text"},(0,i.__)("Gutenverse PRO","--gtb-theme-namespace--"))),(0,t.createElement)("p",{className:"content-description"},(0,i.__)("Unlock the WordPress Editor's potential with Gutenverse PRO.","--gtb-theme-namespace--")),(0,t.createElement)("div",{className:"action-button",onClick:()=>{window.open(l,"_blank")}},(0,i.__)("Upgrade To PRO","--gtb-theme-namespace--"),(0,t.createElement)("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M2 11L0.5 2.75L4.625 6.5L7.25 2L9.875 6.5L14 2.75L12.5 11H2ZM12.5 13.25C12.5 13.7 12.2 14 11.75 14H2.75C2.3 14 2 13.7 2 13.25V12.5H12.5V13.25Z",fill:"white"})))),(0,t.createElement)("div",{className:"bottom"},(0,t.createElement)("p",{className:"content-title"},(0,i.__)("Join Our Newsletter","--gtb-theme-namespace--")),(0,t.createElement)("p",{className:"content-description"},(0,i.__)("Be the first to receive updates and stay informed about all our news","--gtb-theme-namespace--")),(0,t.createElement)("input",{type:"text",placeholder:(0,i.__)("Your Email","--gtb-theme-namespace--"),value:p,disabled:E,onChange:e=>d(e.target.value)}),(0,t.createElement)("div",{className:"action-button",onClick:x},(0,i.__)("Subcsribe","--gtb-theme-namespace--")),w&&!C&&(0,t.createElement)("span",{className:"warning"},(()=>{switch(setTimeout(()=>y(!1),4e3),w){case"error":return(0,i.__)("there is an error requesting subscription.","--gtb-theme-namespace--");case"format":return(0,i.__)("please use a valid email address format.","--gtb-theme-namespace--");default:return(0,i.__)("please input an email address.","--gtb-theme-namespace--")}})()))))}})()))};n.p,document.getElementById("gutenverse-theme-dashboard")&&document.addEventListener("DOMContentLoaded",()=>{(0,a.createRoot)(document.getElementById("gutenverse-theme-dashboard")).render((0,t.createElement)(si,null))}),document.getElementById("gutenverse-theme-wizard")&&document.addEventListener("DOMContentLoaded",()=>{(0,a.createRoot)(document.getElementById("gutenverse-theme-wizard")).render((0,t.createElement)(ri,null))})})()})();