diff --git a/build/1.11.3/310.js b/build/1.11.3/310.js index dc0c91725..630ea46f5 100644 --- a/build/1.11.3/310.js +++ b/build/1.11.3/310.js @@ -1 +1 @@ -"use strict";(globalThis.webpackChunknewfold_Onboarding=globalThis.webpackChunknewfold_Onboarding||[]).push([[310],{6310:(e,a,l)=>{l.r(a),l.d(a,{default:()=>b});var t=l(9307),s=l(5609),r=l(444);const n=(0,t.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var o=l(9818),i=l(5736),d=l(2503),m=l(2200),c=l(682);const h=()=>{var e,a,l;const{brandConfig:s}=(0,o.useSelect)((e=>({brandConfig:e(d.h).getNewfoldBrandConfig()})));return(0,t.createElement)("div",{className:"sidebar-skeleton"},(0,t.createElement)("div",{className:"sidebar-skeleton-header"},(0,t.createElement)("div",{className:"sidebar-skeleton-header-top"},(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-top-profile"}),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-top-header"})),(0,t.createElement)("div",{className:"sidebar-skeleton-header-below"},(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-below-subheading-1"}),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-below-subheading-2"}))),(0,t.createElement)("div",{className:"sidebar-skeleton-divider"}),!1!==(null==s||null===(e=s.views)||void 0===e||null===(a=e.sidebar)||void 0===a||null===(l=a.illustration)||void 0===l?void 0:l.shown)&&(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"sidebar-skeleton-body"},(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-body-image"})),(0,t.createElement)("div",{className:"sidebar-skeleton-divider"})),(0,t.createElement)("div",{className:"sidebar-skeleton-footer"},(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-1"}),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-2"}),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-3"}),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-4"}),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-5"}),(0,t.createElement)("div",{className:"sidebar-skeleton-footer-buttons"},(0,t.createElement)("div",{className:"sidebar-skeleton-footer-buttons-button-1"},(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer-1 sidebar-skeleton-footer-buttons-button-2"})),(0,t.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer-1 sidebar-skeleton-footer-buttons-button-3"}))))},b=(0,t.memo)((()=>{var e,a;const{currentStep:l}=(0,o.useSelect)((e=>({currentStep:e(d.h).getCurrentStep()}))),{setIsSidebarOpened:r}=(0,o.useDispatch)(d.h);return(0,t.createElement)(s.Fill,{name:`${m.qB}/${m.Jq}`},(0,t.createElement)(s.PanelBody,{className:"nfd-onboarding-sidebar-learn-more",initialOpen:!0},(0,t.createElement)(t.Suspense,{fallback:(0,t.createElement)(h,null)},(0,t.createElement)(s.PanelHeader,{label:(0,i.__)("Learn More","wp-module-onboarding")},(0,t.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__header"},(0,t.createElement)(s.Button,{className:"nfd-onboarding-sidebar-learn-more__header__icon",onClick:()=>{r(!1)},icon:n}))),(null==l||null===(e=l.sidebars)||void 0===e?void 0:e.LearnMore)&&(null==l||null===(a=l.sidebars)||void 0===a?void 0:a.LearnMore.SidebarComponents.map(((e,a)=>(0,t.createElement)(t.Fragment,{key:a},(0,t.createElement)(e,null))))))))}))}}]); \ No newline at end of file +"use strict";(globalThis.webpackChunknewfold_Onboarding=globalThis.webpackChunknewfold_Onboarding||[]).push([[310],{6310:(e,l,a)=>{a.r(l),a.d(l,{default:()=>b});var s=a(9307),t=a(5609),n=a(444);const r=(0,s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(n.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var o=a(9818),i=a(5736),d=a(2503),m=a(2200),c=a(682);const h=()=>{var e,l,a,t,n,r,i,m,h;const{brandConfig:b}=(0,o.useSelect)((e=>({brandConfig:e(d.h).getNewfoldBrandConfig()})));return(0,s.createElement)("div",{className:"sidebar-skeleton"},(0,s.createElement)("div",{className:"sidebar-skeleton-header"},(0,s.createElement)("div",{className:"sidebar-skeleton-header-top"},(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-top-profile"}),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-top-header"})),(0,s.createElement)("div",{className:"sidebar-skeleton-header-below"},(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-below-subheading-1"}),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-below-subheading-2"}))),(0,s.createElement)("div",{className:"sidebar-skeleton-divider"}),!1!==(null==b||null===(e=b.views)||void 0===e||null===(l=e.sidebar)||void 0===l||null===(a=l.illustration)||void 0===a?void 0:a.shown)&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"sidebar-skeleton-body"},(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-body-image"})),(0,s.createElement)("div",{className:"sidebar-skeleton-divider"})),(0,s.createElement)("div",{className:"sidebar-skeleton-footer"},(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-1"}),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-2"}),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-3"}),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-4"}),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-5"}),(0,s.createElement)("div",{className:"sidebar-skeleton-footer-buttons"},(!1!==(null==b||null===(t=b.views)||void 0===t||null===(n=t.sidebar)||void 0===n||null===(r=n.fullService)||void 0===r?void 0:r.shown)||!1!==(null==b||null===(i=b.views)||void 0===i||null===(m=i.sidebar)||void 0===m||null===(h=m.experts)||void 0===h?void 0:h.shown))&&(0,s.createElement)("div",{className:"sidebar-skeleton-footer-buttons-button-1"},(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer-1 sidebar-skeleton-footer-buttons-button-2"})),(0,s.createElement)(c.Z,{type:"shine-placeholder",className:"shimmer-1 sidebar-skeleton-footer-buttons-button-3"}))))},b=(0,s.memo)((()=>{var e,l;const{currentStep:a}=(0,o.useSelect)((e=>({currentStep:e(d.h).getCurrentStep()}))),{setIsSidebarOpened:n}=(0,o.useDispatch)(d.h);return(0,s.createElement)(t.Fill,{name:`${m.qB}/${m.Jq}`},(0,s.createElement)(t.PanelBody,{className:"nfd-onboarding-sidebar-learn-more",initialOpen:!0},(0,s.createElement)(s.Suspense,{fallback:(0,s.createElement)(h,null)},(0,s.createElement)(t.PanelHeader,{label:(0,i.__)("Learn More","wp-module-onboarding")},(0,s.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__header"},(0,s.createElement)(t.Button,{className:"nfd-onboarding-sidebar-learn-more__header__icon",onClick:()=>{n(!1)},icon:r}))),(null==a||null===(e=a.sidebars)||void 0===e?void 0:e.LearnMore)&&(null==a||null===(l=a.sidebars)||void 0===l?void 0:l.LearnMore.SidebarComponents.map(((e,l)=>(0,s.createElement)(s.Fragment,{key:l},(0,s.createElement)(e,null))))))))}))}}]); \ No newline at end of file diff --git a/build/1.11.3/onboarding.asset.php b/build/1.11.3/onboarding.asset.php index 54ff1e5e9..448a1d236 100644 --- a/build/1.11.3/onboarding.asset.php +++ b/build/1.11.3/onboarding.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-preferences', 'wp-primitives', 'wp-style-engine', 'wp-url'), 'version' => '1056bb463217718dd502'); + array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-preferences', 'wp-primitives', 'wp-style-engine', 'wp-url'), 'version' => '16764c644aebe345f1cf'); diff --git a/build/1.11.3/onboarding.js b/build/1.11.3/onboarding.js index eb61774d2..d707087a9 100644 --- a/build/1.11.3/onboarding.js +++ b/build/1.11.3/onboarding.js @@ -1,62 +1,62 @@ -(()=>{var e,t,n={7207:(e,t,n)=>{"use strict";n.d(t,{v:()=>x,T:()=>o});var r={};n.r(r),n.d(r,{initializeNamespace:()=>s,updateHiiveDebounceInstance:()=>h,updateHiiveDebounceTime:()=>p,updateHiiveEventsQueue:()=>d,updateHiiveEventsQueueThreshold:()=>u,updateHiiveUrls:()=>c});var i={};n.r(i),n.d(i,{getHiiveBatchUrl:()=>f,getHiiveDebounce:()=>w,getHiiveEventsQueue:()=>m,getHiiveEventsQueueThreshold:()=>g,getHiiveSingleUrl:()=>v});var a=n(9818);class o{constructor(e,t,n,r){this.category=e,this.action=t,this.data=n,this.namespace=r}}const l={urls:{single:void 0,batch:void 0},queue:{events:[],threshold:100},debounce:{time:void 0,instance:void 0}};function s(e){return{type:"INITIALIZE_NAMESPACE",namespace:e}}function c(e,t){return{type:"UPDATE_HIIVE_URLS",urls:e,namespace:t}}function d(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE",events:e,namespace:t}}function u(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD",threshold:e,namespace:t}}function p(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_TIME",debounceTime:e,namespace:t}}function h(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_INSTANCE",instance:e,namespace:t}}function m(e,t){return e.hiive[t]?.queue.events}function g(e,t){return e.hiive[t]?.queue.threshold}function v(e,t){return e.hiive[t]?.urls.single}function f(e,t){return e.hiive[t]?.urls.batch}function w(e,t){return e.hiive[t]?.debounce}const b={reducer:(0,a.combineReducers)({hiive:(e,t)=>{switch(t.type){case"INITIALIZE_NAMESPACE":return{...e,[t.namespace]:l};case"UPDATE_HIIVE_URLS":return{...e,[t.namespace]:{...e[t.namespace],urls:{single:t.urls.single,batch:t.urls.batch}}};case"UPDATE_HIIVE_EVENTS_QUEUE":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:t.events,threshold:e[t.namespace].queue.threshold}}};case"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:e[t.namespace].queue.events,threshold:t.threshold}}};case"UPDATE_HIIVE_DEBOUNCE_TIME":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:t.debounceTime,instance:e[t.namespace].debounce.instance}}};case"UPDATE_HIIVE_DEBOUNCE_INSTANCE":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:e[t.namespace].debounce.time,instance:t.instance}}}}return e}}),actions:r,selectors:i},_=(0,a.createReduxStore)("newfold/ui-analytics",b);(0,a.register)(_);var y=n(6989),E=n.n(y);const S=e=>!!window?.nfdUIAnalytics?.hiive&&e in window.nfdUIAnalytics.hiive,k=e=>e instanceof o,C=async e=>{if(!e||!S(e))return!1;const t=(0,a.select)(_).getHiiveBatchUrl(e);if(!t)return!1;const n=(0,a.select)(_).getHiiveEventsQueue(e);if(0===n.length)return!0;(0,a.dispatch)(_).updateHiiveEventsQueue([],e);try{await E()({url:t,method:"POST",data:n})}catch(t){console.error(t),(0,a.dispatch)(_).updateHiiveEventsQueue(n,e)}return!0},x={initialize:async({namespace:e,urls:{single:t,batch:n}={},settings:{debounce:{time:r}={},queue:{threshold:i=100}={}}={}})=>!(!e||!S(e)&&(!t&&!n||((0,a.dispatch)(_).initializeNamespace(e),(0,a.dispatch)(_).updateHiiveUrls({single:t,batch:n},e),(0,a.dispatch)(_).updateHiiveDebounceTime(r,e),(0,a.dispatch)(_).updateHiiveEventsQueueThreshold(i,e),window.nfdUIAnalytics?.hiive?window.nfdUIAnalytics.hiive[e]=!0:window.nfdUIAnalytics={hiive:{[e]:!0}},0))),initialized:S,validate:k,track:e=>{if(!k(e)||!S(e.namespace))return!1;const t=e.namespace;delete e.namespace;const n=(0,a.select)(_).getHiiveEventsQueue(t);n.push(e),(0,a.dispatch)(_).updateHiiveEventsQueue(n,t);const r=(0,a.select)(_).getHiiveEventsQueueThreshold(t);return r&&r{if(!e)return!1;const t=(0,a.select)(_).getHiiveDebounce(e);!!t.time&&(clearInterval(t.instance),(0,a.dispatch)(_).updateHiiveDebounceInstance(setTimeout((()=>{C(e),(0,a.dispatch)(_).updateHiiveDebounceInstance(void 0,e)}),t.time),e))})(t),!0},send:async e=>{if(!k(e)||!S(e.namespace))return!1;const t=e.namespace;delete e.namespace;const n=(0,a.select)(_).getHiiveSingleUrl(t);if(!n)return!1;try{await E()({url:n,method:"POST",data:e})}catch(e){return console.error(e),!1}},dispatchEvents:C,disableDebounce:e=>{if(!e)return!1;const t=(0,a.select)(_).getHiiveDebounce(e);return t.instance&&(clearInterval(t.instance),(0,a.dispatch)(_).updateHiiveDebounceInstance(void 0,e),(0,a.dispatch)(_).updateHiiveDebounceTime(void 0,e)),!0}}},2599:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tu,J0:()=>l,RQ:()=>N,WK:()=>I,Zn:()=>S,Zq:()=>C,aU:()=>i,cP:()=>p,fp:()=>m,pC:()=>x,q_:()=>o}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const a="popstate";function o(e){return void 0===e&&(e={}),function(e,t,n,o){void 0===o&&(o={});let{window:s=document.defaultView,v5Compat:p=!1}=o,h=s.history,m=i.Pop,g=null,v=f();function f(){return(h.state||{idx:null}).idx}function w(){m=i.Pop;let e=f(),t=null==e?null:e-v;v=e,g&&g({action:m,location:_.location,delta:t})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof e?e:u(e);return l(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,h.replaceState(r({},h.state,{idx:v}),""));let _={get action(){return m},get location(){return e(s,h)},listen(e){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(a,w),g=e,()=>{s.removeEventListener(a,w),g=null}},createHref:e=>t(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){m=i.Push;let r=d(_.location,e,t);n&&n(r,e),v=f()+1;let a=c(r,v),o=_.createHref(r);try{h.pushState(a,"",o)}catch(e){s.location.assign(o)}p&&g&&g({action:m,location:_.location,delta:1})},replace:function(e,t){m=i.Replace;let r=d(_.location,e,t);n&&n(r,e),v=f();let a=c(r,v),o=_.createHref(r);h.replaceState(a,"",o),p&&g&&g({action:m,location:_.location,delta:0})},go:e=>h.go(e)};return _}((function(e,t){let{pathname:n="/",search:r="",hash:i=""}=p(e.location.hash.substr(1));return d("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:u(t))}),(function(e,t){s("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function l(e,t){if(!1===e||null==e)throw new Error(t)}function s(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var h;function m(e,t,n){void 0===n&&(n="/");let r=S(("string"==typeof t?p(t):t).pathname||"/",n);if(null==r)return null;let i=g(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(l(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let s=N([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(l(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),g(e.children,t,c,s)),(null!=e.path||e.index)&&t.push({path:s,score:b(s,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of v(e.path))i(e,t,n);else i(e,t)})),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return i?[a,""]:[a];let o=v(r.join("/")),l=[];return l.push(...o.map((e=>""===e?a:[a,e].join("/")))),i&&l.push(...o),l.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const f=/^:\w+$/,w=e=>"*"===e;function b(e,t){let n=e.split("/"),r=n.length;return n.some(w)&&(r+=-2),t&&(r+=2),n.filter((e=>!w(e))).reduce(((e,t)=>e+(f.test(t)?3:""===t?1:10)),r)}function _(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let e=0;e(r.push(t),"/([^\\/]+)")));return e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=l[n]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return s(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l[n]||"",t),e}),{}),pathname:a,pathnameBase:o,pattern:e}}function E(e){try{return decodeURI(e)}catch(t){return s(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function S(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function k(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function C(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function x(e,t,n,i){let a;void 0===i&&(i=!1),"string"==typeof e?a=p(e):(a=r({},e),l(!a.pathname||!a.pathname.includes("?"),k("?","pathname","search",a)),l(!a.pathname||!a.pathname.includes("#"),k("#","pathname","hash",a)),l(!a.search||!a.search.includes("#"),k("#","search","hash",a)));let o,s=""===e||""===a.pathname,c=s?"/":a.pathname;if(i||null==c)o=n;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?p(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:D(r),hash:P(i)}}(a,o),u=c&&"/"!==c&&c.endsWith("/"),h=(s||"."===c)&&n.endsWith("/");return d.pathname.endsWith("/")||!u&&!h||(d.pathname+="/"),d}const N=e=>e.join("/").replace(/\/\/+/g,"/"),T=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",P=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function I(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}Error;const L=["post","put","patch","delete"],O=(new Set(L),["get",...L]);new Set(O),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,Symbol("deferred")},1984:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);const i=function(e){let{icon:t,size:n=24,...i}=e;return(0,r.cloneElement)(t,{width:n,height:n,...i})}},6713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"}))},8184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},4310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}))},5024:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6058:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}))},6922:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}))},5430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},2322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"}))},3377:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"}))},544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(i.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"}))},9343:(e,t,n)=>{"use strict";n.d(t,{B:()=>R});var r=n(5736),i=n(2200),a=n(5107),o=n(3377),l=n(9307),s=n(304),c=n(9818),d=n(2503),u=n(1392);const p=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),h=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),m=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),g=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),v=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),f=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),w=(0,l.lazy)((()=>n.e(73).then(n.bind(n,8073)))),b=new s.h({path:"/ecommerce/step/address",title:(0,r.__)("Street Address","wp-module-onboarding"),Component:w,icon:o.Z,drawerView:i.dv,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:i,techSupportLink:a,fullServiceCreativeTeamLink:s,brandConfig:w}=(0,c.useSelect)((e=>({brandName:e(d.h).getNewfoldBrandName(),techSupportLink:e(d.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(d.h).getfullServiceCreativeTeamUrl(),brandConfig:e(d.h).getNewfoldBrandConfig()}))),b=((e,t,n)=>({introduction:{heading:(0,r.__)("Street Address","wp-module-onboarding"),subheading:(0,r.__)("Whether this is where the magic happens or the mail goes, tell us where your business is located."),icon:o.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-ecommerce-address-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Whether it’s a storefront or a PO Box, we’re proud to help you connect your real-world and online businesses","wp-module-onboarding"),description:(0,r.sprintf)( +(()=>{var e,t,n={7207:(e,t,n)=>{"use strict";n.d(t,{v:()=>x,T:()=>o});var r={};n.r(r),n.d(r,{initializeNamespace:()=>s,updateHiiveDebounceInstance:()=>h,updateHiiveDebounceTime:()=>p,updateHiiveEventsQueue:()=>d,updateHiiveEventsQueueThreshold:()=>u,updateHiiveUrls:()=>c});var i={};n.r(i),n.d(i,{getHiiveBatchUrl:()=>f,getHiiveDebounce:()=>w,getHiiveEventsQueue:()=>m,getHiiveEventsQueueThreshold:()=>g,getHiiveSingleUrl:()=>v});var a=n(9818);class o{constructor(e,t,n,r){this.category=e,this.action=t,this.data=n,this.namespace=r}}const l={urls:{single:void 0,batch:void 0},queue:{events:[],threshold:100},debounce:{time:void 0,instance:void 0}};function s(e){return{type:"INITIALIZE_NAMESPACE",namespace:e}}function c(e,t){return{type:"UPDATE_HIIVE_URLS",urls:e,namespace:t}}function d(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE",events:e,namespace:t}}function u(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD",threshold:e,namespace:t}}function p(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_TIME",debounceTime:e,namespace:t}}function h(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_INSTANCE",instance:e,namespace:t}}function m(e,t){return e.hiive[t]?.queue.events}function g(e,t){return e.hiive[t]?.queue.threshold}function v(e,t){return e.hiive[t]?.urls.single}function f(e,t){return e.hiive[t]?.urls.batch}function w(e,t){return e.hiive[t]?.debounce}const b={reducer:(0,a.combineReducers)({hiive:(e,t)=>{switch(t.type){case"INITIALIZE_NAMESPACE":return{...e,[t.namespace]:l};case"UPDATE_HIIVE_URLS":return{...e,[t.namespace]:{...e[t.namespace],urls:{single:t.urls.single,batch:t.urls.batch}}};case"UPDATE_HIIVE_EVENTS_QUEUE":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:t.events,threshold:e[t.namespace].queue.threshold}}};case"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:e[t.namespace].queue.events,threshold:t.threshold}}};case"UPDATE_HIIVE_DEBOUNCE_TIME":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:t.debounceTime,instance:e[t.namespace].debounce.instance}}};case"UPDATE_HIIVE_DEBOUNCE_INSTANCE":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:e[t.namespace].debounce.time,instance:t.instance}}}}return e}}),actions:r,selectors:i},_=(0,a.createReduxStore)("newfold/ui-analytics",b);(0,a.register)(_);var y=n(6989),E=n.n(y);const S=e=>!!window?.nfdUIAnalytics?.hiive&&e in window.nfdUIAnalytics.hiive,k=e=>e instanceof o,C=async e=>{if(!e||!S(e))return!1;const t=(0,a.select)(_).getHiiveBatchUrl(e);if(!t)return!1;const n=(0,a.select)(_).getHiiveEventsQueue(e);if(0===n.length)return!0;(0,a.dispatch)(_).updateHiiveEventsQueue([],e);try{await E()({url:t,method:"POST",data:n})}catch(t){console.error(t),(0,a.dispatch)(_).updateHiiveEventsQueue(n,e)}return!0},x={initialize:async({namespace:e,urls:{single:t,batch:n}={},settings:{debounce:{time:r}={},queue:{threshold:i=100}={}}={}})=>!(!e||!S(e)&&(!t&&!n||((0,a.dispatch)(_).initializeNamespace(e),(0,a.dispatch)(_).updateHiiveUrls({single:t,batch:n},e),(0,a.dispatch)(_).updateHiiveDebounceTime(r,e),(0,a.dispatch)(_).updateHiiveEventsQueueThreshold(i,e),window.nfdUIAnalytics?.hiive?window.nfdUIAnalytics.hiive[e]=!0:window.nfdUIAnalytics={hiive:{[e]:!0}},0))),initialized:S,validate:k,track:e=>{if(!k(e)||!S(e.namespace))return!1;const t=e.namespace;delete e.namespace;const n=(0,a.select)(_).getHiiveEventsQueue(t);n.push(e),(0,a.dispatch)(_).updateHiiveEventsQueue(n,t);const r=(0,a.select)(_).getHiiveEventsQueueThreshold(t);return r&&r{if(!e)return!1;const t=(0,a.select)(_).getHiiveDebounce(e);!!t.time&&(clearInterval(t.instance),(0,a.dispatch)(_).updateHiiveDebounceInstance(setTimeout((()=>{C(e),(0,a.dispatch)(_).updateHiiveDebounceInstance(void 0,e)}),t.time),e))})(t),!0},send:async e=>{if(!k(e)||!S(e.namespace))return!1;const t=e.namespace;delete e.namespace;const n=(0,a.select)(_).getHiiveSingleUrl(t);if(!n)return!1;try{await E()({url:n,method:"POST",data:e})}catch(e){return console.error(e),!1}},dispatchEvents:C,disableDebounce:e=>{if(!e)return!1;const t=(0,a.select)(_).getHiiveDebounce(e);return t.instance&&(clearInterval(t.instance),(0,a.dispatch)(_).updateHiiveDebounceInstance(void 0,e),(0,a.dispatch)(_).updateHiiveDebounceTime(void 0,e)),!0}}},2599:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tu,J0:()=>l,RQ:()=>N,WK:()=>I,Zn:()=>S,Zq:()=>C,aU:()=>i,cP:()=>p,fp:()=>m,pC:()=>x,q_:()=>o}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const a="popstate";function o(e){return void 0===e&&(e={}),function(e,t,n,o){void 0===o&&(o={});let{window:s=document.defaultView,v5Compat:p=!1}=o,h=s.history,m=i.Pop,g=null,v=f();function f(){return(h.state||{idx:null}).idx}function w(){m=i.Pop;let e=f(),t=null==e?null:e-v;v=e,g&&g({action:m,location:_.location,delta:t})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof e?e:u(e);return l(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,h.replaceState(r({},h.state,{idx:v}),""));let _={get action(){return m},get location(){return e(s,h)},listen(e){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(a,w),g=e,()=>{s.removeEventListener(a,w),g=null}},createHref:e=>t(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){m=i.Push;let r=d(_.location,e,t);n&&n(r,e),v=f()+1;let a=c(r,v),o=_.createHref(r);try{h.pushState(a,"",o)}catch(e){s.location.assign(o)}p&&g&&g({action:m,location:_.location,delta:1})},replace:function(e,t){m=i.Replace;let r=d(_.location,e,t);n&&n(r,e),v=f();let a=c(r,v),o=_.createHref(r);h.replaceState(a,"",o),p&&g&&g({action:m,location:_.location,delta:0})},go:e=>h.go(e)};return _}((function(e,t){let{pathname:n="/",search:r="",hash:i=""}=p(e.location.hash.substr(1));return d("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:u(t))}),(function(e,t){s("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function l(e,t){if(!1===e||null==e)throw new Error(t)}function s(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var h;function m(e,t,n){void 0===n&&(n="/");let r=S(("string"==typeof t?p(t):t).pathname||"/",n);if(null==r)return null;let i=g(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(l(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let s=N([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(l(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),g(e.children,t,c,s)),(null!=e.path||e.index)&&t.push({path:s,score:b(s,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of v(e.path))i(e,t,n);else i(e,t)})),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return i?[a,""]:[a];let o=v(r.join("/")),l=[];return l.push(...o.map((e=>""===e?a:[a,e].join("/")))),i&&l.push(...o),l.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const f=/^:\w+$/,w=e=>"*"===e;function b(e,t){let n=e.split("/"),r=n.length;return n.some(w)&&(r+=-2),t&&(r+=2),n.filter((e=>!w(e))).reduce(((e,t)=>e+(f.test(t)?3:""===t?1:10)),r)}function _(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let e=0;e(r.push(t),"/([^\\/]+)")));return e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=l[n]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return s(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l[n]||"",t),e}),{}),pathname:a,pathnameBase:o,pattern:e}}function E(e){try{return decodeURI(e)}catch(t){return s(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function S(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function k(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function C(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function x(e,t,n,i){let a;void 0===i&&(i=!1),"string"==typeof e?a=p(e):(a=r({},e),l(!a.pathname||!a.pathname.includes("?"),k("?","pathname","search",a)),l(!a.pathname||!a.pathname.includes("#"),k("#","pathname","hash",a)),l(!a.search||!a.search.includes("#"),k("#","search","hash",a)));let o,s=""===e||""===a.pathname,c=s?"/":a.pathname;if(i||null==c)o=n;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?p(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:D(r),hash:P(i)}}(a,o),u=c&&"/"!==c&&c.endsWith("/"),h=(s||"."===c)&&n.endsWith("/");return d.pathname.endsWith("/")||!u&&!h||(d.pathname+="/"),d}const N=e=>e.join("/").replace(/\/\/+/g,"/"),T=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",P=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function I(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}Error;const L=["post","put","patch","delete"],O=(new Set(L),["get",...L]);new Set(O),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,Symbol("deferred")},1984:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);const i=function(e){let{icon:t,size:n=24,...i}=e;return(0,r.cloneElement)(t,{width:n,height:n,...i})}},6713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"}))},8184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},4310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}))},5024:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6058:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}))},6922:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}))},5430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},2322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"}))},3377:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"}))},544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307),i=n(444);const a=(0,r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(i.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"}))},9343:(e,t,n)=>{"use strict";n.d(t,{B:()=>R});var r=n(5736),i=n(2200),a=n(5107),o=n(3377),l=n(9307),s=n(304),c=n(9818),d=n(2503),u=n(1392);const p=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),h=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),m=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),g=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),v=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),f=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),w=(0,l.lazy)((()=>n.e(73).then(n.bind(n,8073)))),b=new s.h({path:"/ecommerce/step/address",title:(0,r.__)("Street Address","wp-module-onboarding"),Component:w,icon:o.Z,drawerView:i.dv,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,s;const{brandName:w,techSupportLink:b,fullServiceCreativeTeamLink:_,brandConfig:y}=(0,c.useSelect)((e=>({brandName:e(d.h).getNewfoldBrandName(),techSupportLink:e(d.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(d.h).getfullServiceCreativeTeamUrl(),brandConfig:e(d.h).getNewfoldBrandConfig()}))),E=((e,t,n)=>({introduction:{heading:(0,r.__)("Street Address","wp-module-onboarding"),subheading:(0,r.__)("Whether this is where the magic happens or the mail goes, tell us where your business is located.","wp-module-onboarding"),icon:o.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-ecommerce-address-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Whether it’s a storefront or a PO Box, we’re proud to help you connect your real-world and online businesses","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: 1: Brand 2: Site or Store */ -(0,r.__)("We use this address to setup WooCommerce, your payment provider, Contact Page and more so you can start stocking the shelves of your %1$s Online %2$s.","wp-module-onboarding"),e,(0,u.I)("Site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(i,a,s);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__ecommerce-address"},(0,l.createElement)(f,{heading:b.introduction.heading,subheading:b.introduction.subheading,icon:b.introduction.icon}),!1!==(null==w||null===(e=w.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(p,{cssIcon:b.illustration.icon}),(0,l.createElement)(h,{headingWithDescriptions:b.information.headingWithDescriptions}),(0,l.createElement)(m,null,b.help.fullService.link&&(0,l.createElement)(g,{text:b.help.fullService.text,onClick:()=>window.open(b.help.fullService.link,"_blank")}),(0,l.createElement)(v,{text:b.help.support.text,link:b.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Street Address","wp-module-onboarding")}});var _=n(444);const y=(0,l.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(_.Path,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})),E=(0,l.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(_.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})),S=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),k=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),C=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),x=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),N=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),T=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),D=(0,l.lazy)((()=>n.e(491).then(n.bind(n,2491)))),P=new s.h({path:"/ecommerce/step/products",title:(0,r.__)("Product Info","wp-module-onboarding"),Component:D,icon:y,drawerView:i.dv,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:i,techSupportLink:a,fullServiceCreativeTeamLink:o,brandConfig:s}=(0,c.useSelect)((e=>({brandName:e(d.h).getNewfoldBrandName(),techSupportLink:e(d.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(d.h).getfullServiceCreativeTeamUrl(),brandConfig:e(d.h).getNewfoldBrandConfig()}))),p=((e,t,n)=>({introduction:{heading:(0,r.__)("Products Info","wp-module-onboarding"),subheading:(0,r.__)("We can offer free, exclusive solutions and apply our expert experience if we know how you sell."),icon:E},illustration:{icon:"nfd-onboarding-sidebar-learn-more-ecommerce-products-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Go from multiple sizes to multiple locations to multiple online channels","wp-module-onboarding"),description:(0,r.sprintf)( +(0,r.__)("We use this address to setup WooCommerce, your payment provider, Contact Page and more so you can start stocking the shelves of your %1$s Online %2$s.","wp-module-onboarding"),e,(0,u.I)("Site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(w,b,_);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__ecommerce-address"},(0,l.createElement)(f,{heading:E.introduction.heading,subheading:E.introduction.subheading,icon:E.introduction.icon}),!1!==(null==y||null===(e=y.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(p,{cssIcon:E.illustration.icon}),(0,l.createElement)(h,{headingWithDescriptions:E.information.headingWithDescriptions}),(0,l.createElement)(m,null,!1!==(null==y||null===(i=y.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(s=a.fullService)||void 0===s?void 0:s.shown)&&E.help.fullService.link&&(0,l.createElement)(g,{text:E.help.fullService.text,onClick:()=>window.open(E.help.fullService.link,"_blank")}),(0,l.createElement)(v,{text:E.help.support.text,link:E.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Street Address","wp-module-onboarding")}});var _=n(444);const y=(0,l.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(_.Path,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})),E=(0,l.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(_.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})),S=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),k=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),C=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),x=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),N=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),T=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),D=(0,l.lazy)((()=>n.e(491).then(n.bind(n,2491)))),P=new s.h({path:"/ecommerce/step/products",title:(0,r.__)("Product Info","wp-module-onboarding"),Component:D,icon:y,drawerView:i.dv,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,o;const{brandName:s,techSupportLink:p,fullServiceCreativeTeamLink:h,brandConfig:m}=(0,c.useSelect)((e=>({brandName:e(d.h).getNewfoldBrandName(),techSupportLink:e(d.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(d.h).getfullServiceCreativeTeamUrl(),brandConfig:e(d.h).getNewfoldBrandConfig()}))),g=((e,t,n)=>({introduction:{heading:(0,r.__)("Products Info","wp-module-onboarding"),subheading:(0,r.__)("We can offer free, exclusive solutions and apply our expert experience if we know how you sell.","wp-module-onboarding"),icon:E},illustration:{icon:"nfd-onboarding-sidebar-learn-more-ecommerce-products-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Go from multiple sizes to multiple locations to multiple online channels","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: 1: Brand 2: site or store */ -(0,r.__)("Tell us a little about how and what you’re planning to sell and we’ll bring the power of WooCommerce and unique %1$s %2$s solutions to elevate your business and enhance your capabilities.","wp-module-onboarding"),e,(0,u.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(i,a,o);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__ecommerce-products"},(0,l.createElement)(T,{heading:p.introduction.heading,subheading:p.introduction.subheading,icon:p.introduction.icon}),!1!==(null==s||null===(e=s.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(S,{cssIcon:p.illustration.icon}),(0,l.createElement)(k,{headingWithDescriptions:p.information.headingWithDescriptions}),(0,l.createElement)(C,null,p.help.fullService.link&&(0,l.createElement)(x,{text:p.help.fullService.text,onClick:()=>window.open(p.help.fullService.link,"_blank")}),(0,l.createElement)(N,{text:p.help.support.text,link:p.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Product Info","wp-module-onboarding")}});var I=n(9702),L=n(6515);const O=new s.h({path:`/${L._}/step/interstitial`,Component:a.Z}),A=[b,P],R=new I.W({id:i.uK,name:(0,r.__)("Commerce","wp-module-onboarding"),steps:A,interstitialSteps:[O]})},4433:(e,t,n)=>{"use strict";n.d(t,{E:()=>ee});var r=n(5736),i=n(2200),a=n(5430),o=n(304),l=n(9307),s=n(9818),c=n(2503),d=n(1392);const u=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),p=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),h=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),m=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),g=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),v=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),f=(0,l.lazy)((()=>n.e(244).then(n.bind(n,4244)))),w=new o.h({path:"/wp-setup/step/basic-info",title:(0,r.__)("Basic Info","wp-module-onboarding"),Component:f,icon:a.Z,drawerView:i.tM,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:i,techSupportLink:o,fullServiceCreativeTeamLink:f,brandConfig:w}=(0,s.useSelect)((e=>({brandName:e(c.h).getNewfoldBrandName(),techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),b=((e,t,n)=>({introduction:{heading:(0,r.__)("Basic Info","wp-module-onboarding"),subheading:(0,r.sprintf)( +(0,r.__)("Tell us a little about how and what you’re planning to sell and we’ll bring the power of WooCommerce and unique %1$s %2$s solutions to elevate your business and enhance your capabilities.","wp-module-onboarding"),e,(0,u.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(s,p,h);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__ecommerce-products"},(0,l.createElement)(T,{heading:g.introduction.heading,subheading:g.introduction.subheading,icon:g.introduction.icon}),!1!==(null==m||null===(e=m.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(S,{cssIcon:g.illustration.icon}),(0,l.createElement)(k,{headingWithDescriptions:g.information.headingWithDescriptions}),(0,l.createElement)(C,null,!1!==(null==m||null===(i=m.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(o=a.fullService)||void 0===o?void 0:o.shown)&&g.help.fullService.link&&(0,l.createElement)(x,{text:g.help.fullService.text,onClick:()=>window.open(g.help.fullService.link,"_blank")}),(0,l.createElement)(N,{text:g.help.support.text,link:g.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Product Info","wp-module-onboarding")}});var I=n(9702),L=n(6515);const O=new s.h({path:`/${L._}/step/interstitial`,Component:a.Z}),A=[b,P],R=new I.W({id:i.uK,name:(0,r.__)("Commerce","wp-module-onboarding"),steps:A,interstitialSteps:[O]})},4433:(e,t,n)=>{"use strict";n.d(t,{E:()=>ee});var r=n(5736),i=n(2200),a=n(5430),o=n(304),l=n(9307),s=n(9818),c=n(2503),d=n(1392);const u=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),p=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),h=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),m=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),g=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),v=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),f=(0,l.lazy)((()=>n.e(244).then(n.bind(n,4244)))),w=new o.h({path:"/wp-setup/step/basic-info",title:(0,r.__)("Basic Info","wp-module-onboarding"),Component:f,icon:a.Z,drawerView:i.tM,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,o,f;const{brandName:w,techSupportLink:b,fullServiceCreativeTeamLink:_,brandConfig:y}=(0,s.useSelect)((e=>({brandName:e(c.h).getNewfoldBrandName(),techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),E=((e,t,n)=>({introduction:{heading:(0,r.__)("Basic Info","wp-module-onboarding"),subheading:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("Setup how your %s will present in visitors' browsers and search results.","wp-module-onboarding"),(0,d.I)("site")),icon:a.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-basic-info-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Present in tip-top shape to web browsers and search engine results","wp-module-onboarding"),description:(0,r.__)("Loading your site details, logo and social graph helps not just launch your site but have it found looking great in feeds.","wp-module-onboarding")}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(0,o,f);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__basic-info"},(0,l.createElement)(v,{heading:b.introduction.heading,subheading:b.introduction.subheading,icon:b.introduction.icon}),!1!==(null==w||null===(e=w.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(u,{cssIcon:b.illustration.icon}),(0,l.createElement)(p,{headingWithDescriptions:b.information.headingWithDescriptions}),(0,l.createElement)(h,null,b.help.fullService.link&&(0,l.createElement)(m,{text:b.help.fullService.text,onClick:()=>window.open(b.help.fullService.link,"_blank")}),(0,l.createElement)(g,{text:b.help.support.text,link:b.help.support.link})))}]}},data:{tooltipText:(0,r.sprintf)( +(0,r.__)("Setup how your %s will present in visitors' browsers and search results.","wp-module-onboarding"),(0,d.I)("site")),icon:a.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-basic-info-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Present in tip-top shape to web browsers and search engine results","wp-module-onboarding"),description:(0,r.__)("Loading your site details, logo and social graph helps not just launch your site but have it found looking great in feeds.","wp-module-onboarding")}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(0,b,_);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__basic-info"},(0,l.createElement)(v,{heading:E.introduction.heading,subheading:E.introduction.subheading,icon:E.introduction.icon}),!1!==(null==y||null===(e=y.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(u,{cssIcon:E.illustration.icon}),(0,l.createElement)(p,{headingWithDescriptions:E.information.headingWithDescriptions}),(0,l.createElement)(h,null,!1!==(null==y||null===(i=y.views)||void 0===i||null===(o=i.sidebar)||void 0===o||null===(f=o.fullService)||void 0===f?void 0:f.shown)&&E.help.fullService.link&&(0,l.createElement)(m,{text:E.help.fullService.text,onClick:()=>window.open(E.help.fullService.link,"_blank")}),(0,l.createElement)(g,{text:E.help.support.text,link:E.help.support.link})))}]}},data:{tooltipText:(0,r.sprintf)( /* translators: %s: website or store */ -(0,r.__)("Introduce us to this %s","wp-module-onboarding"),(0,d.I)("website"))}});var b=n(6922);const _=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),y=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),E=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),S=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),k=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),C=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),x=(0,l.lazy)((()=>n.e(449).then(n.bind(n,5449)))),N=new o.h({path:"/wp-setup/step/get-started/experience",title:(0,r.__)("WordPress Experience","wp-module-onboarding"),Component:x,icon:b.Z,drawerView:i.mz,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:o}=(0,s.useSelect)((e=>({techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),u=((e,t)=>({introduction:{heading:(0,r.__)("WordPress Experience","wp-module-onboarding"),subheading:(0,r.__)("We want to offer the best default settings and guidance for someone with your WordPress experience.","wp-module-onboarding"),icon:b.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-get-started-wp-experience-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Why we ask","wp-module-onboarding"),description:(0,r.sprintf)( +(0,r.__)("Introduce us to this %s","wp-module-onboarding"),(0,d.I)("website"))}});var b=n(6922);const _=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),y=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),E=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),S=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),k=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),C=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),x=(0,l.lazy)((()=>n.e(449).then(n.bind(n,5449)))),N=new o.h({path:"/wp-setup/step/get-started/experience",title:(0,r.__)("WordPress Experience","wp-module-onboarding"),Component:x,icon:b.Z,drawerView:i.mz,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,o;const{techSupportLink:u,fullServiceCreativeTeamLink:p,brandConfig:h}=(0,s.useSelect)((e=>({techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),m=((e,t)=>({introduction:{heading:(0,r.__)("WordPress Experience","wp-module-onboarding"),subheading:(0,r.__)("We want to offer the best default settings and guidance for someone with your WordPress experience.","wp-module-onboarding"),icon:b.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-get-started-wp-experience-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Why we ask","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("We want to help everyone get the most out of their WordPress %s and this setup, so we use this to help optimize for a great experience and periodically when we offer tips, reminders and recommendations.","wp-module-onboarding"),(0,d.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-wp-experience"},(0,l.createElement)(C,{heading:u.introduction.heading,subheading:u.introduction.subheading,icon:u.introduction.icon}),!1!==(null==o||null===(e=o.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(_,{cssIcon:u.illustration.icon}),(0,l.createElement)(y,{headingWithDescriptions:u.information.headingWithDescriptions}),(0,l.createElement)(E,null,u.help.fullService.link&&(0,l.createElement)(S,{text:u.help.fullService.text,onClick:()=>window.open(u.help.fullService.link,"_blank")}),(0,l.createElement)(k,{text:u.help.support.text,link:u.help.support.link})))}]}}});var T=n(2322);const D=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),P=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),I=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),L=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),O=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),A=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),R=(0,l.lazy)((()=>n.e(537).then(n.bind(n,8537)))),z=new o.h({path:"/wp-setup/step/get-started/site-primary",title:(0,r.sprintf)( +(0,r.__)("We want to help everyone get the most out of their WordPress %s and this setup, so we use this to help optimize for a great experience and periodically when we offer tips, reminders and recommendations.","wp-module-onboarding"),(0,d.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(u,p);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-wp-experience"},(0,l.createElement)(C,{heading:m.introduction.heading,subheading:m.introduction.subheading,icon:m.introduction.icon}),!1!==(null==h||null===(e=h.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(_,{cssIcon:m.illustration.icon}),(0,l.createElement)(y,{headingWithDescriptions:m.information.headingWithDescriptions}),(0,l.createElement)(E,null,!1!==(null==h||null===(i=h.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(o=a.fullService)||void 0===o?void 0:o.shown)&&m.help.fullService.link&&(0,l.createElement)(S,{text:m.help.fullService.text,onClick:()=>window.open(m.help.fullService.link,"_blank")}),(0,l.createElement)(k,{text:m.help.support.text,link:m.help.support.link})))}]}}});var T=n(2322);const D=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),P=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),I=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),L=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),O=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),A=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),R=(0,l.lazy)((()=>n.e(537).then(n.bind(n,8537)))),z=new o.h({path:"/wp-setup/step/get-started/site-primary",title:(0,r.sprintf)( /* translators: %s: website or store */ -(0,r.__)("Primary %s Setup","wp-module-onboarding"),(0,d.I)("Site")),Component:R,icon:T.Z,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:o}=(0,s.useSelect)((e=>({techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),u=((e,t)=>({introduction:{heading:(0,r.sprintf)( +(0,r.__)("Primary %s Setup","wp-module-onboarding"),(0,d.I)("Site")),Component:R,icon:T.Z,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,o;const{techSupportLink:u,fullServiceCreativeTeamLink:p,brandConfig:h}=(0,s.useSelect)((e=>({techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),m=((e,t)=>({introduction:{heading:(0,r.sprintf)( /* translators: %s: Site or Store */ (0,r.__)("%s Type","wp-module-onboarding"),(0,d.I)("Site")),subheading:(0,r.sprintf)( /* translators: %s: site or store */ (0,r.__)("We'll use this to provide our best-matching designs and features for %s like yours.","wp-module-onboarding"),(0,d.I)("site")),icon:b.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-get-started-site-type-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Why we ask","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("We chose the templates, features and best configuration we can for sites. You’re always in full control of your WordPress %s and we ask so we can be a good website partner.","wp-module-onboarding"),(0,d.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-site-type"},(0,l.createElement)(A,{heading:u.introduction.heading,subheading:u.introduction.subheading,icon:u.introduction.icon}),!1!==(null==o||null===(e=o.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(D,{cssIcon:u.illustration.icon}),(0,l.createElement)(P,{headingWithDescriptions:u.information.headingWithDescriptions}),(0,l.createElement)(I,null,u.help.fullService.link&&(0,l.createElement)(L,{text:u.help.fullService.text,onClick:()=>window.location.href=u.help.fullService.link}),(0,l.createElement)(O,{text:u.help.support.text,link:u.help.support.link})))}]}}}),$=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),V=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),H=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),U=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),F=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),W=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),B=(0,l.lazy)((()=>n.e(994).then(n.bind(n,1994)))),Z=new o.h({path:"/wp-setup/step/get-started/site-secondary",title:(0,r.sprintf)( +(0,r.__)("We chose the templates, features and best configuration we can for sites. You’re always in full control of your WordPress %s and we ask so we can be a good website partner.","wp-module-onboarding"),(0,d.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(u,p);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-site-type"},(0,l.createElement)(A,{heading:m.introduction.heading,subheading:m.introduction.subheading,icon:m.introduction.icon}),!1!==(null==h||null===(e=h.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)(D,{cssIcon:m.illustration.icon}),(0,l.createElement)(P,{headingWithDescriptions:m.information.headingWithDescriptions}),(0,l.createElement)(I,null,!1!==(null==h||null===(i=h.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(o=a.fullService)||void 0===o?void 0:o.shown)&&m.help.fullService.link&&(0,l.createElement)(L,{text:m.help.fullService.text,onClick:()=>window.location.href=m.help.fullService.link}),(0,l.createElement)(O,{text:m.help.support.text,link:m.help.support.link})))}]}}}),$=(0,l.lazy)((()=>n.e(657).then(n.bind(n,8657)))),V=(0,l.lazy)((()=>n.e(574).then(n.bind(n,2574)))),H=(0,l.lazy)((()=>n.e(856).then(n.bind(n,3856)))),U=(0,l.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),W=(0,l.lazy)((()=>n.e(33).then(n.bind(n,33)))),F=(0,l.lazy)((()=>n.e(58).then(n.bind(n,1058)))),B=(0,l.lazy)((()=>n.e(994).then(n.bind(n,1994)))),Z=new o.h({path:"/wp-setup/step/get-started/site-secondary",title:(0,r.sprintf)( /* translators: %s: website or store */ -(0,r.__)("Secondary %s Setup","wp-module-onboarding"),(0,d.I)("Site")),Component:B,icon:T.Z,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:o}=(0,s.useSelect)((e=>({techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),u=((e,t)=>({introduction:{heading:(0,r.sprintf)( +(0,r.__)("Secondary %s Setup","wp-module-onboarding"),(0,d.I)("Site")),Component:B,icon:T.Z,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,o;const{techSupportLink:u,fullServiceCreativeTeamLink:p,brandConfig:h}=(0,s.useSelect)((e=>({techSupportLink:e(c.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(c.h).getfullServiceCreativeTeamUrl(),brandConfig:e(c.h).getNewfoldBrandConfig()}))),m=((e,t)=>({introduction:{heading:(0,r.sprintf)( /* translators: %s: Site or Store */ (0,r.__)("%s Type","wp-module-onboarding"),(0,d.I)("Site")),subheading:(0,r.sprintf)( /* translators: %s: site or store */ (0,r.__)("We'll use this to provide our best-matching designs and features for %s like yours.","wp-module-onboarding"),(0,d.I)("site")),icon:b.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-get-started-site-type-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Why we ask","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("We chose the templates, features and best configuration we can for sites. You’re always in full control of your WordPress %s and we ask so we can be a good website partner.","wp-module-onboarding"),(0,d.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-site-type"},(0,l.createElement)(W,{heading:u.introduction.heading,subheading:u.introduction.subheading,icon:u.introduction.icon}),!1!==(null==o||null===(e=o.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)($,{cssIcon:u.illustration.icon}),(0,l.createElement)(V,{headingWithDescriptions:u.information.headingWithDescriptions}),(0,l.createElement)(H,null,u.help.fullService.link&&(0,l.createElement)(U,{text:u.help.fullService.text,onClick:()=>window.open(u.help.fullService.link,"_blank")}),(0,l.createElement)(F,{text:u.help.support.text,link:u.help.support.link})))}]}}});var M=n(444);const j=(0,l.createElement)(M.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(M.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})),G=(0,l.lazy)((()=>n.e(405).then(n.bind(n,9405)))),q=new o.h({path:"/wp-setup/step/top-priority",title:(0,r.__)("Top Priority","wp-module-onboarding"),tooltipText:(0,r.__)("Tell us your top priority","wp-module-onboarding"),Component:G,icon:j});var Q=n(9702),J=n(5107),Y=n(6515);const K=new o.h({path:`/${Y.H}/step/interstitial/${i.tg}`,Component:J.Z}),X=[N,z,Z,w,q],ee=new Q.W({id:i.tg,name:(0,r.__)("Demographic","wp-module-onboarding"),steps:X,interstitialSteps:[K]})},8244:(e,t,n)=>{"use strict";n.d(t,{c:()=>Q});var r=n(5736),i=n(2819),a=n(2200),o=n(9307),l=n(304),s=n(444);const c=(0,o.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(s.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"}));var d=n(9818),u=n(2503),p=n(1392);const h=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),m=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),g=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),v=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),f=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),w=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),b=(0,o.lazy)((()=>n.e(849).then(n.bind(n,1849)))),_=new l.h({path:"/wp-setup/step/design/colors",title:(0,r.__)("Colors","wp-module-onboarding"),Component:b,icon:c,drawerView:a.qR,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:l}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),s=((e,t)=>({introduction:{heading:(0,r.__)("Colors","wp-module-onboarding"),subheading:(0,r.sprintf)( +(0,r.__)("We chose the templates, features and best configuration we can for sites. You’re always in full control of your WordPress %s and we ask so we can be a good website partner.","wp-module-onboarding"),(0,d.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(u,p);return(0,l.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-site-type"},(0,l.createElement)(F,{heading:m.introduction.heading,subheading:m.introduction.subheading,icon:m.introduction.icon}),!1!==(null==h||null===(e=h.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,l.createElement)($,{cssIcon:m.illustration.icon}),(0,l.createElement)(V,{headingWithDescriptions:m.information.headingWithDescriptions}),(0,l.createElement)(H,null,!1!==(null==h||null===(i=h.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(o=a.fullService)||void 0===o?void 0:o.shown)&&m.help.fullService.link&&(0,l.createElement)(U,{text:m.help.fullService.text,onClick:()=>window.open(m.help.fullService.link,"_blank")}),(0,l.createElement)(W,{text:m.help.support.text,link:m.help.support.link})))}]}}});var M=n(444);const j=(0,l.createElement)(M.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(M.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})),G=(0,l.lazy)((()=>n.e(405).then(n.bind(n,9405)))),q=new o.h({path:"/wp-setup/step/top-priority",title:(0,r.__)("Top Priority","wp-module-onboarding"),tooltipText:(0,r.__)("Tell us your top priority","wp-module-onboarding"),Component:G,icon:j});var Q=n(9702),J=n(5107),Y=n(6515);const K=new o.h({path:`/${Y.H}/step/interstitial/${i.tg}`,Component:J.Z}),X=[N,z,Z,w,q],ee=new Q.W({id:i.tg,name:(0,r.__)("Demographic","wp-module-onboarding"),steps:X,interstitialSteps:[K]})},8244:(e,t,n)=>{"use strict";n.d(t,{c:()=>Q});var r=n(5736),i=n(2819),a=n(2200),o=n(9307),l=n(304),s=n(444);const c=(0,o.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(s.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"}));var d=n(9818),u=n(2503),p=n(1392);const h=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),m=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),g=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),v=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),f=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),w=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),b=(0,o.lazy)((()=>n.e(849).then(n.bind(n,1849)))),_=new l.h({path:"/wp-setup/step/design/colors",title:(0,r.__)("Colors","wp-module-onboarding"),Component:b,icon:c,drawerView:a.qR,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,l;const{techSupportLink:s,fullServiceCreativeTeamLink:b,brandConfig:_}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),y=((e,t)=>({introduction:{heading:(0,r.__)("Colors","wp-module-onboarding"),subheading:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("Whether your brand is vibrant, understated, elegant or edgy use color to delight your %s visitors.","wp-module-onboarding"),(0,p.I)("site")),icon:c},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-colors-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Let a splash of color make a splash with your visitors with your Global Site Colors.","wp-module-onboarding"),description:(0,r.__)("We had our designers mix up some palettes for striking websites for you to chose additional presets, or you can chose your own colors using the color pickers.","wp-module-onboarding")}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-colors"},(0,o.createElement)(w,{heading:s.introduction.heading,subheading:s.introduction.subheading,icon:s.introduction.icon}),!1!==(null==l||null===(e=l.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(h,{cssIcon:s.illustration.icon}),(0,o.createElement)(m,{headingWithDescriptions:s.information.headingWithDescriptions}),(0,o.createElement)(g,null,s.help.fullService.link&&(0,o.createElement)(v,{text:s.help.fullService.text,onClick:()=>window.open(s.help.fullService.link,"_blank")}),(0,o.createElement)(f,{text:s.help.support.text,link:s.help.support.link})))}]}},data:{tooltipText:(0,r.__)("What's your color palette?","wp-module-onboarding"),patternId:"theme-styles"}});var y=n(544),E=n(6713);const S=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),k=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),C=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),x=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),N=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),T=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),D=(0,o.lazy)((()=>n.e(704).then(n.bind(n,2704)))),P=new l.h({path:"/wp-setup/step/design/theme-styles/menu",title:(0,r.__)("Theme Styles","wp-module-onboarding"),Component:D,icon:y.Z,drawerView:a.Yl,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:i,techSupportLink:a,fullServiceCreativeTeamLink:l,brandConfig:s}=(0,d.useSelect)((e=>({brandName:e(u.h).getNewfoldBrandName(),techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),c=((e,t,n)=>({introduction:{heading:(0,r.__)("Theme Styles","wp-module-onboarding"),subheading:(0,r.__)("Professionally-designed website templates ready for their public debut featuring your great ideas.","wp-module-onboarding"),icon:E.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-theme-styles-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Show the web you have style with modern colors and elevated fonts","wp-module-onboarding"),description:(0,r.sprintf)( +(0,r.__)("Whether your brand is vibrant, understated, elegant or edgy use color to delight your %s visitors.","wp-module-onboarding"),(0,p.I)("site")),icon:c},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-colors-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Let a splash of color make a splash with your visitors with your Global Site Colors.","wp-module-onboarding"),description:(0,r.__)("We had our designers mix up some palettes for striking websites for you to chose additional presets, or you can chose your own colors using the color pickers.","wp-module-onboarding")}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(s,b);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-colors"},(0,o.createElement)(w,{heading:y.introduction.heading,subheading:y.introduction.subheading,icon:y.introduction.icon}),!1!==(null==_||null===(e=_.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(h,{cssIcon:y.illustration.icon}),(0,o.createElement)(m,{headingWithDescriptions:y.information.headingWithDescriptions}),(0,o.createElement)(g,null,!1!==(null==_||null===(i=_.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(l=a.fullService)||void 0===l?void 0:l.shown)&&y.help.fullService.link&&(0,o.createElement)(v,{text:y.help.fullService.text,onClick:()=>window.open(y.help.fullService.link,"_blank")}),(0,o.createElement)(f,{text:y.help.support.text,link:y.help.support.link})))}]}},data:{tooltipText:(0,r.__)("What's your color palette?","wp-module-onboarding"),patternId:"theme-styles"}});var y=n(544),E=n(6713);const S=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),k=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),C=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),x=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),N=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),T=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),D=(0,o.lazy)((()=>n.e(704).then(n.bind(n,2704)))),P=new l.h({path:"/wp-setup/step/design/theme-styles/menu",title:(0,r.__)("Theme Styles","wp-module-onboarding"),Component:D,icon:y.Z,drawerView:a.Yl,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,l;const{brandName:s,techSupportLink:c,fullServiceCreativeTeamLink:h,brandConfig:m}=(0,d.useSelect)((e=>({brandName:e(u.h).getNewfoldBrandName(),techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),g=((e,t,n)=>({introduction:{heading:(0,r.__)("Theme Styles","wp-module-onboarding"),subheading:(0,r.__)("Professionally-designed website templates ready for their public debut featuring your great ideas.","wp-module-onboarding"),icon:E.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-theme-styles-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Show the web you have style with modern colors and elevated fonts","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: 1: Brand 2: site or store */ (0,r.__)("Pick one of these professionally-designed website styles to start your %1$s %2$s.","wp-module-onboarding"),e,(0,p.I)("site"))},{description:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("In the next steps and in the future, you can change the specific colors and fonts to fit your aesthetic vision for your %s.","wp-module-onboarding"),(0,p.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(i,a,l);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-theme-styles-menu"},(0,o.createElement)(T,{heading:c.introduction.heading,subheading:c.introduction.subheading,icon:c.introduction.icon}),!1!==(null==s||null===(e=s.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(S,{cssIcon:c.illustration.icon}),(0,o.createElement)(k,{headingWithDescriptions:c.information.headingWithDescriptions}),(0,o.createElement)(C,null,c.help.fullService.link&&(0,o.createElement)(x,{text:c.help.fullService.text,onClick:()=>window.open(c.help.fullService.link,"_blank")}),(0,o.createElement)(N,{text:c.help.support.text,link:c.help.support.link})))}]}},data:{designDrawerActiveLinkIncludes:"/wp-setup/step/design/theme-styles/",patternId:"theme-styles"}});var I=n(9583);const L=(0,o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(s.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})),O=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),A=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),R=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),z=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),$=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),V=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),H=(0,o.lazy)((()=>n.e(719).then(n.bind(n,9719)))),U=new l.h({path:"/wp-setup/step/design/typography",title:(0,r.__)("Fonts","wp-module-onboarding"),Component:H,icon:L,drawerView:a.R2,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:l}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),s=((e,t)=>({introduction:{heading:(0,r.__)("Fonts","wp-module-onboarding"),subheading:(0,r.__)("Give tone and taste to your words using a curated set of great type treatments.","wp-module-onboarding"),icon:L},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-fonts-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Not just what we say, how we say it","wp-module-onboarding"),description:(0,r.sprintf)( +(0,r.__)("In the next steps and in the future, you can change the specific colors and fonts to fit your aesthetic vision for your %s.","wp-module-onboarding"),(0,p.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(s,c,h);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-theme-styles-menu"},(0,o.createElement)(T,{heading:g.introduction.heading,subheading:g.introduction.subheading,icon:g.introduction.icon}),!1!==(null==m||null===(e=m.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(S,{cssIcon:g.illustration.icon}),(0,o.createElement)(k,{headingWithDescriptions:g.information.headingWithDescriptions}),(0,o.createElement)(C,null,!1!==(null==m||null===(i=m.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(l=a.fullService)||void 0===l?void 0:l.shown)&&g.help.fullService.link&&(0,o.createElement)(x,{text:g.help.fullService.text,onClick:()=>window.open(g.help.fullService.link,"_blank")}),(0,o.createElement)(N,{text:g.help.support.text,link:g.help.support.link})))}]}},data:{designDrawerActiveLinkIncludes:"/wp-setup/step/design/theme-styles/",patternId:"theme-styles"}});var I=n(9583);const L=(0,o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(s.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})),O=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),A=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),R=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),z=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),$=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),V=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),H=(0,o.lazy)((()=>n.e(719).then(n.bind(n,9719)))),U=new l.h({path:"/wp-setup/step/design/typography",title:(0,r.__)("Fonts","wp-module-onboarding"),Component:H,icon:L,drawerView:a.R2,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,l;const{techSupportLink:s,fullServiceCreativeTeamLink:c,brandConfig:h}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),m=((e,t)=>({introduction:{heading:(0,r.__)("Fonts","wp-module-onboarding"),subheading:(0,r.__)("Give tone and taste to your words using a curated set of great type treatments.","wp-module-onboarding"),icon:L},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-fonts-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Not just what we say, how we say it","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("Fonts help our ideas look creative and compelling, astute and articulate, refined and regal, modern and much more. Great font combinations help set the perfect tone for your %s and your story jump off the screen.","wp-module-onboarding"),(0,p.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-fonts"},(0,o.createElement)(V,{heading:s.introduction.heading,subheading:s.introduction.subheading,icon:s.introduction.icon}),!1!==(null==l||null===(e=l.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(O,{cssIcon:s.illustration.icon}),(0,o.createElement)(A,{headingWithDescriptions:s.information.headingWithDescriptions}),(0,o.createElement)(R,null,s.help.fullService.link&&(0,o.createElement)(z,{text:s.help.fullService.text,onClick:()=>window.open(s.help.fullService.link,"_blank")}),(0,o.createElement)($,{text:s.help.support.text,link:s.help.support.link})))}]}},data:{tooltipText:(0,r.__)("What's your font style?","wp-module-onboarding"),patternId:"theme-styles"}});var F=n(9702),W=n(1809),B=n(5107),Z=n(6515);const M=new l.h({path:`/${Z.H}/step/interstitial/${a.$E}`,Component:B.Z}),j=[P,I.i],G=[_,U],q=(0,i.filter)([...j,...G,...W.p.steps],(e=>e.path.includes("/step/design/")&&!e.path.includes("/theme-styles/preview"))),Q=new F.W({id:a.$E,name:(0,r.__)("Design","wp-module-onboarding"),steps:j,conditionalSteps:G,initialSteps:q,interstitialSteps:[M]})},1715:(e,t,n)=>{"use strict";n.d(t,{R:()=>_});var r=n(5736),i=n(2200),a=n(9307),o=n(444);const l=(0,a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(o.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));var s=n(304),c=n(9818),d=n(2503),u=n(1392);const p=(0,a.lazy)((()=>n.e(657).then(n.bind(n,8657)))),h=(0,a.lazy)((()=>n.e(574).then(n.bind(n,2574)))),m=(0,a.lazy)((()=>n.e(856).then(n.bind(n,3856)))),g=(0,a.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),v=(0,a.lazy)((()=>n.e(33).then(n.bind(n,33)))),f=(0,a.lazy)((()=>n.e(58).then(n.bind(n,1058)))),w=(0,a.lazy)((()=>n.e(420).then(n.bind(n,5420)))),b=[new s.h({path:"/wp-setup/step/site-features",title:(0,r.__)("Features","wp-module-onboarding"),Component:w,icon:l,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:i,techSupportLink:o,fullServiceCreativeTeamLink:s,brandConfig:w}=(0,c.useSelect)((e=>({brandName:e(d.h).getNewfoldBrandName(),techSupportLink:e(d.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(d.h).getfullServiceCreativeTeamUrl(),brandConfig:e(d.h).getNewfoldBrandConfig()}))),b=((e,t,n)=>({introduction:{heading:(0,r.__)("Features","wp-module-onboarding"),subheading:(0,r.sprintf)( +(0,r.__)("Fonts help our ideas look creative and compelling, astute and articulate, refined and regal, modern and much more. Great font combinations help set the perfect tone for your %s and your story jump off the screen.","wp-module-onboarding"),(0,p.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(s,c);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-fonts"},(0,o.createElement)(V,{heading:m.introduction.heading,subheading:m.introduction.subheading,icon:m.introduction.icon}),!1!==(null==h||null===(e=h.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(O,{cssIcon:m.illustration.icon}),(0,o.createElement)(A,{headingWithDescriptions:m.information.headingWithDescriptions}),(0,o.createElement)(R,null,!1!==(null==h||null===(i=h.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(l=a.fullService)||void 0===l?void 0:l.shown)&&m.help.fullService.link&&(0,o.createElement)(z,{text:m.help.fullService.text,onClick:()=>window.open(m.help.fullService.link,"_blank")}),(0,o.createElement)($,{text:m.help.support.text,link:m.help.support.link})))}]}},data:{tooltipText:(0,r.__)("What's your font style?","wp-module-onboarding"),patternId:"theme-styles"}});var W=n(9702),F=n(1809),B=n(5107),Z=n(6515);const M=new l.h({path:`/${Z.H}/step/interstitial/${a.$E}`,Component:B.Z}),j=[P,I.i],G=[_,U],q=(0,i.filter)([...j,...G,...F.p.steps],(e=>e.path.includes("/step/design/")&&!e.path.includes("/theme-styles/preview"))),Q=new W.W({id:a.$E,name:(0,r.__)("Design","wp-module-onboarding"),steps:j,conditionalSteps:G,initialSteps:q,interstitialSteps:[M]})},1715:(e,t,n)=>{"use strict";n.d(t,{R:()=>_});var r=n(5736),i=n(2200),a=n(9307),o=n(444);const l=(0,a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(o.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));var s=n(304),c=n(9818),d=n(2503),u=n(1392);const p=(0,a.lazy)((()=>n.e(657).then(n.bind(n,8657)))),h=(0,a.lazy)((()=>n.e(574).then(n.bind(n,2574)))),m=(0,a.lazy)((()=>n.e(856).then(n.bind(n,3856)))),g=(0,a.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),v=(0,a.lazy)((()=>n.e(33).then(n.bind(n,33)))),f=(0,a.lazy)((()=>n.e(58).then(n.bind(n,1058)))),w=(0,a.lazy)((()=>n.e(420).then(n.bind(n,5420)))),b=[new s.h({path:"/wp-setup/step/site-features",title:(0,r.__)("Features","wp-module-onboarding"),Component:w,icon:l,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,o,s;const{brandName:w,techSupportLink:b,fullServiceCreativeTeamLink:_,brandConfig:y}=(0,c.useSelect)((e=>({brandName:e(d.h).getNewfoldBrandName(),techSupportLink:e(d.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(d.h).getfullServiceCreativeTeamUrl(),brandConfig:e(d.h).getNewfoldBrandConfig()}))),E=((e,t,n)=>({introduction:{heading:(0,r.__)("Features","wp-module-onboarding"),subheading:(0,r.sprintf)( /* translators: 1: Brand 2: site or store */ (0,r.__)("Easy-to-use features from our partner's WordPress Plugins and unique %1$s solutions to put your %2$s to work.","wp-module-onboarding"),e,(0,u.I)("site")),icon:l},illustration:{icon:"nfd-onboarding-sidebar-learn-more-site-features-illustration"},information:{headingWithDescriptions:[{heading:(0,r.sprintf)( /* translators: %s: site or store */ (0,r.__)("We’ve assembled the best building blocks for a successful %s","wp-module-onboarding"),(0,u.I)("site")),description:(0,r.sprintf)( /* translators: 1: Brand 2: Site or Store 3: Brand */ -(0,r.__)("Put your %1$s %2$s to work for you using features that unlock the potential of WordPress with powerful solutions from %3$s and our partners.","wp-module-onboarding"),e,(0,u.I)("Site"),e)}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(i,o,s);return(0,a.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__site-features"},(0,a.createElement)(f,{heading:b.introduction.heading,subheading:b.introduction.subheading,icon:b.introduction.icon}),!1!==(null==w||null===(e=w.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,a.createElement)(p,{cssIcon:b.illustration.icon}),(0,a.createElement)(h,{headingWithDescriptions:b.information.headingWithDescriptions}),(0,a.createElement)(m,null,b.help.fullService.link&&(0,a.createElement)(g,{text:b.help.fullService.text,onClick:()=>window.open(b.help.fullService.link,"_blank")}),(0,a.createElement)(v,{text:b.help.support.text,link:b.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Key features to supercharge your site","wp-module-onboarding"),patternId:"site-features"}})],_=new(n(9702).W)({id:i.iX,name:(0,r.__)("Features","wp-module-onboarding"),steps:b})},1809:(e,t,n)=>{"use strict";n.d(t,{p:()=>Z});var r=n(5736),i=n(2200),a=n(5107),o=n(9307),l=n(444);const s=(0,o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(l.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var c=n(304),d=n(9818),u=n(2503),p=n(1392);const h=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),m=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),g=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),v=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),f=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),w=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),b=(0,o.lazy)((()=>n.e(128).then(n.bind(n,128)))),_=new c.h({path:"/wp-setup/step/design/header-menu",title:(0,r.__)("Header & Menu","wp-module-onboarding"),Component:b,icon:s,drawerView:i.qO,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:l}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),c=((e,t)=>({introduction:{heading:(0,r.__)("Header & Menu","wp-module-onboarding"),subheading:(0,r.sprintf)( +(0,r.__)("Put your %1$s %2$s to work for you using features that unlock the potential of WordPress with powerful solutions from %3$s and our partners.","wp-module-onboarding"),e,(0,u.I)("Site"),e)}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:t}}}))(w,b,_);return(0,a.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__site-features"},(0,a.createElement)(f,{heading:E.introduction.heading,subheading:E.introduction.subheading,icon:E.introduction.icon}),!1!==(null==y||null===(e=y.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,a.createElement)(p,{cssIcon:E.illustration.icon}),(0,a.createElement)(h,{headingWithDescriptions:E.information.headingWithDescriptions}),(0,a.createElement)(m,null,!1!==(null==y||null===(i=y.views)||void 0===i||null===(o=i.sidebar)||void 0===o||null===(s=o.fullService)||void 0===s?void 0:s.shown)&&E.help.fullService.link&&(0,a.createElement)(g,{text:E.help.fullService.text,onClick:()=>window.open(E.help.fullService.link,"_blank")}),(0,a.createElement)(v,{text:E.help.support.text,link:E.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Key features to supercharge your site","wp-module-onboarding"),patternId:"site-features"}})],_=new(n(9702).W)({id:i.iX,name:(0,r.__)("Features","wp-module-onboarding"),steps:b})},1809:(e,t,n)=>{"use strict";n.d(t,{p:()=>Z});var r=n(5736),i=n(2200),a=n(5107),o=n(9307),l=n(444);const s=(0,o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(l.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var c=n(304),d=n(9818),u=n(2503),p=n(1392);const h=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),m=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),g=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),v=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),f=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),w=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),b=(0,o.lazy)((()=>n.e(128).then(n.bind(n,128)))),_=new c.h({path:"/wp-setup/step/design/header-menu",title:(0,r.__)("Header & Menu","wp-module-onboarding"),Component:b,icon:s,drawerView:i.qO,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,l;const{techSupportLink:c,fullServiceCreativeTeamLink:b,brandConfig:_}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),y=((e,t)=>({introduction:{heading:(0,r.__)("Header & Menu","wp-module-onboarding"),subheading:(0,r.sprintf)( /* translators: %s: site or store */ (0,r.__)("Surface key content in your %s -- who you are, what your about and where to find things.","wp-module-onboarding"),(0,p.I)("site")),icon:s},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-header-menu-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Putting your best foot forward","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: 1: site or store 2: Site or Store */ (0,r.__)("Just like a %1$s putting a map of departments at the front door, a great %2$s Header & Menu help point visitors at the places you most want them to visit.","wp-module-onboarding"),(0,p.I)("site"),(0,p.I)("Site"))},{description:(0,r.sprintf)( /* translators: %s: website */ -(0,r.__)("When picking a %s header, consider the number of menu items, character length of each item and how those will visually impact the Header Pattern design you choose.","wp-module-onboarding"),(0,p.I)("website"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-header-menu"},(0,o.createElement)(w,{heading:c.introduction.heading,subheading:c.introduction.subheading,icon:c.introduction.icon}),!1!==(null==l||null===(e=l.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(h,{cssIcon:c.illustration.icon}),(0,o.createElement)(m,{headingWithDescriptions:c.information.headingWithDescriptions}),(0,o.createElement)(g,null,c.help.fullService.link&&(0,o.createElement)(v,{text:c.help.fullService.text,onClick:()=>window.open(c.help.fullService.link,"_blank")}),(0,o.createElement)(f,{text:c.help.support.text,link:c.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Let's make the right things visible","wp-module-onboarding"),patternId:"header-menu"}}),y=(0,o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(l.Path,{d:"M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"}));var E=n(6922);const S=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),k=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),C=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),x=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),N=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),T=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),D=(0,o.lazy)((()=>n.e(662).then(n.bind(n,2662)))),P=new c.h({path:"/wp-setup/step/design/homepage-menu",title:(0,r.__)("Homepage Layouts","wp-module-onboarding"),Component:D,icon:y,drawerView:i.Yl,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:l}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),s=((e,t)=>({introduction:{heading:(0,r.__)("Home Page","wp-module-onboarding"),subheading:(0,r.__)("The home page is where you tell visitors your story. It helps users find what they came for.","wp-module-onboarding"),icon:E.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-homepage-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Welcome to your new home online","wp-module-onboarding"),description:(0,r.sprintf)( +(0,r.__)("When picking a %s header, consider the number of menu items, character length of each item and how those will visually impact the Header Pattern design you choose.","wp-module-onboarding"),(0,p.I)("website"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(c,b);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-header-menu"},(0,o.createElement)(w,{heading:y.introduction.heading,subheading:y.introduction.subheading,icon:y.introduction.icon}),!1!==(null==_||null===(e=_.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(h,{cssIcon:y.illustration.icon}),(0,o.createElement)(m,{headingWithDescriptions:y.information.headingWithDescriptions}),(0,o.createElement)(g,null,!1!==(null==_||null===(i=_.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(l=a.fullService)||void 0===l?void 0:l.shown)&&y.help.fullService.link&&(0,o.createElement)(v,{text:y.help.fullService.text,onClick:()=>window.open(y.help.fullService.link,"_blank")}),(0,o.createElement)(f,{text:y.help.support.text,link:y.help.support.link})))}]}},data:{tooltipText:(0,r.__)("Let's make the right things visible","wp-module-onboarding"),patternId:"header-menu"}}),y=(0,o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(l.Path,{d:"M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"}));var E=n(6922);const S=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),k=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),C=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),x=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),N=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),T=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),D=(0,o.lazy)((()=>n.e(662).then(n.bind(n,2662)))),P=new c.h({path:"/wp-setup/step/design/homepage-menu",title:(0,r.__)("Homepage Layouts","wp-module-onboarding"),Component:D,icon:y,drawerView:i.Yl,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,l;const{techSupportLink:s,fullServiceCreativeTeamLink:c,brandConfig:h}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),m=((e,t)=>({introduction:{heading:(0,r.__)("Home Page","wp-module-onboarding"),subheading:(0,r.__)("The home page is where you tell visitors your story. It helps users find what they came for.","wp-module-onboarding"),icon:E.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-homepage-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Welcome to your new home online","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: %s: site or store */ -(0,r.__)("Like good curb appeal, a great home page design helps get users excited about your %s. Mixing media, headings, text and more, you can bring your ideas to live and your products & services to the forefront for visitors.","wp-module-onboarding"),(0,p.I)("site"))},{description:(0,r.__)("Look for a Home Page Pattern design you think will help organize and elevate your ideas.","wp-module-onboarding")}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-homepage"},(0,o.createElement)(T,{heading:s.introduction.heading,subheading:s.introduction.subheading,icon:s.introduction.icon}),!1!==(null==l||null===(e=l.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(S,{cssIcon:s.illustration.icon}),(0,o.createElement)(k,{headingWithDescriptions:s.information.headingWithDescriptions}),(0,o.createElement)(C,null,s.help.fullService.link&&(0,o.createElement)(x,{text:s.help.fullService.text,onClick:()=>window.open(s.help.fullService.link,"_blank")}),(0,o.createElement)(N,{text:s.help.support.text,link:s.help.support.link})))}]}},data:{patternId:"homepage-styles",tooltipText:(0,r.__)("There’s no place like a great home page","wp-module-onboarding")}}),I=(0,o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(l.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"})),L=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),O=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),A=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),R=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),z=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),$=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),V=(0,o.lazy)((()=>n.e(696).then(n.bind(n,696)))),H=new c.h({path:"/wp-setup/step/design/site-pages",title:(0,r.__)("Page Layouts","wp-module-onboarding"),Component:V,icon:I,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:l}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),s=((e,t)=>({introduction:{heading:(0,r.__)("Pages","wp-module-onboarding"),subheading:(0,r.sprintf)( +(0,r.__)("Like good curb appeal, a great home page design helps get users excited about your %s. Mixing media, headings, text and more, you can bring your ideas to live and your products & services to the forefront for visitors.","wp-module-onboarding"),(0,p.I)("site"))},{description:(0,r.__)("Look for a Home Page Pattern design you think will help organize and elevate your ideas.","wp-module-onboarding")}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(s,c);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-homepage"},(0,o.createElement)(T,{heading:m.introduction.heading,subheading:m.introduction.subheading,icon:m.introduction.icon}),!1!==(null==h||null===(e=h.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(S,{cssIcon:m.illustration.icon}),(0,o.createElement)(k,{headingWithDescriptions:m.information.headingWithDescriptions}),(0,o.createElement)(C,null,!1!==(null==h||null===(i=h.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(l=a.fullService)||void 0===l?void 0:l.shown)&&m.help.fullService.link&&(0,o.createElement)(x,{text:m.help.fullService.text,onClick:()=>window.open(m.help.fullService.link,"_blank")}),(0,o.createElement)(N,{text:m.help.support.text,link:m.help.support.link})))}]}},data:{patternId:"homepage-styles",tooltipText:(0,r.__)("There’s no place like a great home page","wp-module-onboarding")}}),I=(0,o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(l.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"})),L=(0,o.lazy)((()=>n.e(657).then(n.bind(n,8657)))),O=(0,o.lazy)((()=>n.e(574).then(n.bind(n,2574)))),A=(0,o.lazy)((()=>n.e(856).then(n.bind(n,3856)))),R=(0,o.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),z=(0,o.lazy)((()=>n.e(33).then(n.bind(n,33)))),$=(0,o.lazy)((()=>n.e(58).then(n.bind(n,1058)))),V=(0,o.lazy)((()=>n.e(696).then(n.bind(n,696)))),H=new c.h({path:"/wp-setup/step/design/site-pages",title:(0,r.__)("Page Layouts","wp-module-onboarding"),Component:V,icon:I,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,i,a,l;const{techSupportLink:s,fullServiceCreativeTeamLink:c,brandConfig:h}=(0,d.useSelect)((e=>({techSupportLink:e(u.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(u.h).getfullServiceCreativeTeamUrl(),brandConfig:e(u.h).getNewfoldBrandConfig()}))),m=((e,t)=>({introduction:{heading:(0,r.__)("Pages","wp-module-onboarding"),subheading:(0,r.sprintf)( /* translators: %s: site or store */ (0,r.__)("Use professionally-designed templates for common site pages to assemble a beautiful, high-quality %s.","wp-module-onboarding"),(0,p.I)("site")),icon:I},illustration:{icon:"nfd-onboarding-sidebar-learn-more-pages-illustration"},information:{headingWithDescriptions:[{heading:(0,r.__)("Rapidly deliver ideas with templates primed for your content","wp-module-onboarding"),description:(0,r.sprintf)( /* translators: 1: site or store 2: site or store */ -(0,r.__)("We’ve baked everything we know about making great designs and content for common %1$s needs into ease-to-use templates. Pick templates and we’ll add them as Page drafts to your WordPress %2$s.","wp-module-onboarding"),(0,p.I)("site"),(0,p.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(i,a);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__site-pages"},(0,o.createElement)($,{heading:s.introduction.heading,subheading:s.introduction.subheading,icon:s.introduction.icon}),!1!==(null==l||null===(e=l.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(L,{cssIcon:s.illustration.icon}),(0,o.createElement)(O,{headingWithDescriptions:s.information.headingWithDescriptions}),(0,o.createElement)(A,null,s.help.fullService.link&&(0,o.createElement)(R,{text:s.help.fullService.text,onClick:()=>window.open(s.help.fullService.link,"_blank")}),(0,o.createElement)(z,{text:s.help.support.text,link:s.help.support.link})))}]}},data:{tooltipText:(0,r.__)("You have ideas, we have page templates","wp-module-onboarding"),patternId:"site-pages"}});var U=n(9702),F=n(6515);const W=new c.h({path:`/${F.H}/step/interstitial/${i.$3}`,Component:a.Z}),B=[_,P,H],Z=new U.W({id:i.$3,name:(0,r.__)("Layout & Content","wp-module-onboarding"),steps:B,interstitialSteps:[W]})},682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(4184),a=n.n(i);const o=e=>{let{type:t,after:n=!0,children:i,className:o="",duration:l=!1,timingFunction:s=!1}=e;const c="animate";return n?(0,r.createElement)("div",{className:a()(function(){if(t){let e="";switch(t){case"fade-in":e=c.concat("__fade-in");break;case"fade-in-disabled":e=c.concat("__fade-in--disabled");break;case"fade-in-right":e=c.concat("__fade-in--right");break;case"fade-in-left":e=c.concat("__fade-in--left");break;case"fade-in-up":e=c.concat("__fade-in--up");break;case"shine":e=c.concat("__shine");break;case"shine-placeholder":e=c.concat("__shine--placeholder");break;case"dropdown":e=c.concat("__dropdown");break;case"load":e=c.concat("__load")}return e}}(),o),style:{animationDuration:l,animationTimingFunction:s}},i):(0,r.createElement)("div",{className:"animate__blank"},i)}},5378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9307),i=n(5609),a=n(1984),o=n(4184),l=n.n(o);const s=e=>{let{className:t,text:n,onClick:o,icon:s}=e;return(0,r.createElement)(i.Button,{className:l()("nfd-onboarding-button--white",t),onClick:"function"==typeof o&&o},(0,r.createElement)("span",{className:`${t}__text`},n),s&&(0,r.createElement)(a.Z,{className:`${t}__icon`,icon:s}))}},2058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(9307),i=n(5609),a=n(4184),o=n.n(a);const l=e=>{let{className:t,text:n,onClick:a=!1}=e;return(0,r.createElement)(i.Button,{variant:"primary",className:o()("nfd-onboarding-button--background",t),onClick:"function"==typeof a&&a},n)}},9519:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);const i=(0,r.memo)((e=>{let{heading:t,subHeading:n,question:i}=e;return(0,r.createElement)("div",null,t&&(0,r.createElement)("h2",{className:"nfd-step-card-heading"},t),n&&(0,r.createElement)("h3",{className:i?"nfd-step-card-subheading-other":"nfd-step-card-subheading"},n),i&&(0,r.createElement)("h3",{className:"nfd-step-card-question"},i))}))},1526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);const i=e=>{let{title:t,subtitle:n,children:i}=e;return(0,r.createElement)("div",{className:"nfd-main-heading"},(0,r.createElement)("h2",{className:"nfd-main-heading__title"},t),n&&(0,r.createElement)("h3",{className:"nfd-main-heading__subtitle"},n),i)}},5634:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(9307),i=n(4184),a=n.n(i);const o=window.wp.a11y;var l=n(9250),s=n(8297),c=n(6342);const d=e=>{let{className:t="nfd-onboarding-layout__base",children:n}=e;const i=(0,l.TH)(),d=document.querySelector(".nfd-onboard-content");return(0,r.useEffect)((()=>{null==d||d.focus({preventScroll:!0}),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Showing new Onboarding Page";(0,o.speak)(e,"assertive")}("Override"),(0,s.uW)(new s.Z_(c.Az))}),[i.pathname]),(0,r.createElement)("div",{className:a()("nfd-onboarding-layout",t)},n)};var u=n(682);const p=e=>{let{children:t}=e;return(0,r.createElement)("section",{className:"is-contained"},t)},h=e=>{let{className:t="",children:n,isBgPrimary:i=!1,isCentered:o=!1,isVerticallyCentered:l=!1,isContained:s=!1,isPadded:c=!1,isFadeIn:h=!0}=e;const m=s?p:r.Fragment;return(0,r.createElement)(u.Z,{type:h&&"fade-in",duration:"233ms",timingFunction:"ease-in-out"},(0,r.createElement)(d,{className:a()("nfd-onboarding-layout__common",t,{"is-bg-primary":i},{"is-centered":o},{"is-vertically-centered":l},{"is-padded":c})},(0,r.createElement)(m,null,n)))}},1054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(5736),a=n(6332);const o=e=>{let{count:t,watch:n,callback:o,className:l,viewportWidth:s,isWithCard:c=!1}=e;const[d,u]=(0,r.useState)(0);return(0,r.useEffect)((()=>u(1)),[n]),n?(0,r.createElement)(r.Fragment,null,n?(0,r.createElement)("div",{style:{display:"none"}},d):null,o()):c?(()=>{const e=[];for(let n=0;n{const e=[];for(let n=0;n{"use strict";n.d(t,{V3:()=>T,i5:()=>f,H:()=>S,T9:()=>C,r9:()=>w.Z});var r=n(9307),i=n(9818),a=n(2175),o=n(4981),l=n(7462),s=n(5609),c=n(4333);let d;const u=6e3;function p(e){var t,n;let{viewportWidth:i,settings:o,containerWidth:l,minHeight:p,additionalStyles:h=[]}=e;i||(i=l);const[m,{height:g}]=(0,c.useResizeObserver)(),{styles:v,assets:f,duotone:w}={styles:o.styles,assets:o.__unstableResolvedAssets,duotone:null===(t=o.__experimentalFeatures)||void 0===t||null===(n=t.color)||void 0===n?void 0:n.duotone},b=(0,r.useMemo)((()=>v?[...v,{css:"body{height:auto;overflow:hidden;border:none;padding:0;}",__unstableType:"presets"},...h]:v),[v,h]),_=(0,r.useMemo)((()=>{var e,t;return[...null!==(e=null==w?void 0:w.default)&&void 0!==e?e:[],...null!==(t=null==w?void 0:w.theme)&&void 0!==t?t:[]]}),[w]);d=d||(0,c.pure)(a.BlockList);const y=l/i;return(0,r.createElement)(s.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${y})`,height:g*y,maxHeight:g>u?u*y:void 0,minHeight:p}},(0,r.createElement)(a.__unstableIframe,{assets:f,contentRef:(0,c.useRefEffect)((e=>{const{ownerDocument:{documentElement:t}}=e;t.classList.add("block-editor-block-preview__content-iframe"),t.style.position="absolute",t.style.width="100%",e.style.boxSizing="border-box",e.style.position="absolute",e.style.width="100%",e.spellcheck=0}),[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:i,height:g,pointerEvents:"none",maxHeight:u,minHeight:0!==y&&y<1&&p?p/y:p}},(0,r.createElement)(a.__unstableEditorStyles,{styles:b}),m,_.map((e=>(0,r.createElement)(a.__unstablePresetDuotoneFilter,{preset:e,key:e.slug}))),(0,r.createElement)(d,{renderAppender:!1})))}function h(e){const[t,{width:n}]=(0,c.useResizeObserver)();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{style:{position:"relative",width:"100%",height:0}},t),(0,r.createElement)("div",{className:"block-editor-block-preview__container"},n&&(0,r.createElement)(p,(0,l.Z)({},e,{containerWidth:n}))))}var m=n(6690),g=n(2503),v=n(682);const f=(0,r.memo)((e=>{let{blockGrammer:t,viewportWidth:n=1300,styling:l="large",setIsLoadingParent:s=!1,previewSettings:c=!1,skeletonLoadingTime:d=2500}=e;const[u,p]=(0,r.useState)(),[f,w]=(0,r.useState)(),[b,_]=(0,r.useState)(!0);(0,r.useEffect)((()=>{if(d){const e=setTimeout((()=>{_(!1),s&&s(!1)}),d);return()=>clearTimeout(e)}_(!1),s&&s(!1)}),[d]);const{currentData:y,storedPreviewSettings:E}=(0,i.useSelect)((e=>({currentData:e(g.h).getCurrentOnboardingData(),storedPreviewSettings:e(g.h).getPreviewSettings()})),[]);(0,r.useEffect)((()=>{w(c?(0,m.NF)(c,E):E)}),[]),(0,r.useEffect)((()=>{t&&p((0,o.parse)(t))}),[t]),(0,r.useEffect)((()=>{c||w(E)}),[E,y]);const S=(0,r.memo)((()=>(0,r.createElement)("div",{className:"live-preview__container--is-skeleton"},(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-header"},(0,r.createElement)(v.Z,{type:"shine",className:"live-preview__container--is-skeleton--shimmer"})),(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-body-1"}),(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-body-2"}),(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-footer"}))));return(0,r.createElement)("div",{className:`live-preview__container-${l}`},b&&(0,r.createElement)(S,null),u&&f&&(0,r.createElement)(a.BlockEditorProvider,{value:u,settings:f.settings},(0,r.createElement)(h,{viewportWidth:n,settings:f.settings})))}));var w=n(1054),b=n(1984),_=n(8184),y=n(444);const E=(0,r.createElement)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(y.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})),S=e=>{let{className:t="live-preview--selectable-card",selected:n=!1,blockGrammer:i,viewportWidth:a=1500,styling:o="large",previewSettings:l,overlay:s=!1,onClick:c=!1,skeletonLoadingTime:d=2500}=e;const[u,p]=(0,r.useState)(!0);return(0,r.createElement)("div",{className:`${t}`,role:"button",tabIndex:0,onClick:"function"==typeof c&&(()=>{u||c()}),onKeyDown:"function"==typeof c&&(()=>{u||c()})},(0,r.createElement)("div",{className:`${t}__title-bar`},(0,r.createElement)("div",{className:`${t}__title-bar__browser`},(0,r.createElement)("span",{className:`${t}__title-bar__browser__dot`}),(0,r.createElement)("span",{className:`${t}__title-bar__browser__dot`}),(0,r.createElement)("span",{className:`${t}__title-bar__browser__dot`})),(0,r.createElement)("div",{className:n?`${t}__title-bar--selected live-preview-selected-check`:`${t}__title-bar--unselected`},(0,r.createElement)(b.Z,{className:`${t}__title-bar--selected__path`,icon:_.Z,size:64}))),(0,r.createElement)("div",{className:`${t}__live-preview-container`},(0,r.createElement)(f,{styling:o,blockGrammer:i,viewportWidth:a,previewSettings:l,setIsLoadingParent:p,skeletonLoadingTime:d}),s&&!u&&(0,r.createElement)("div",{className:`${t}__live-preview-container__overlay`},(0,r.createElement)(b.Z,{className:`${t}__live-preview-container__overlay__icon`,size:64,icon:E}))))};var k=n(6058);const C=e=>{let{className:t="live-preview--selectable-card--title-description",selected:n=!1,blockGrammer:i,viewportWidth:a=1500,styling:o="large",previewSettings:l,onClick:c=!1,skeletonLoadingTime:d=2500,title:u=!1,description:p=!1,slug:h}=e;const[m,g]=(0,r.useState)(!1),w=e=>{"function"==typeof c&&c(e,h,u)};return(0,r.createElement)("div",{className:`${t}`},(0,r.createElement)("div",{className:`${t}__live-preview-container`,onClick:()=>w(!n),role:"presentation"},(0,r.createElement)(f,{styling:o,blockGrammer:i,viewportWidth:a,previewSettings:l,skeletonLoadingTime:d})),(0,r.createElement)("div",{className:`${t}__information`,style:{backgroundColor:m?"var(--nfd-onboarding-light-gray-highlighted)":"var(--nfd-onboarding-light-gray-3)"}},(0,r.createElement)("div",{className:`${t}__information__title-question`},(0,r.createElement)("div",{className:`${t}__information__title-question__checkbox`},(0,r.createElement)(s.CheckboxControl,{label:(0,r.createElement)("b",null,u),onChange:()=>w(!n),checked:n})),(0,r.createElement)("div",{className:`${t}__information__title-question__question`},(0,r.createElement)(b.Z,{className:`${t}__information__title-question__question__icon`,icon:k.Z,style:{fill:m&&"var(--wp-admin-theme-color-darker-10)"},onClick:()=>g(!m)})))),m&&(0,r.createElement)(v.Z,{type:"dropdown",className:`${t}__description--container ${m?"highlighted":"not-highlighted"}`,style:{backgroundColor:m?"var(--nfd-onboarding-light-gray-highlighted)":"var(--nfd-onboarding-light-gray-3)"}},(0,r.createElement)("p",{className:`${t}__description--text`},p)))};var x=n(7625),N=n(2200);const T=e=>{let{children:t}=e;const[n,a]=(0,r.useState)(!1),{currentData:o,storedPreviewSettings:l,themeStatus:s}=(0,i.useSelect)((e=>({currentData:e(g.h).getCurrentOnboardingData(),storedPreviewSettings:e(g.h).getPreviewSettings(),themeStatus:e(g.h).getThemeStatus()})),[]),{updateThemeStatus:c,updatePreviewSettings:d,enqueueRequest:u}=(0,i.useDispatch)(g.h);return(0,r.useEffect)((()=>{n||N.GV!==s||(async()=>{let e;if(null!=l&&l.title&&null!=l&&l.settings)e=l;else{var t;const n=await(0,x.oC)();if(null!=n&&n.error)return c(N.a0);o.data.theme.variation?e=n.body.filter((e=>e.title===o.data.theme.variation))[0]:0===(null===(t=n.body[0])||void 0===t?void 0:t.id)&&(e=n.body[0]),d((0,m.NF)(e,l))}e&&u(N.Az.SET_GLOBAL_STYLES,(()=>(0,x.cw)({...e,title:o.data.theme.variation,version:2}))),a(!0)})()}),[n,s]),t}},5107:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(9307),i=n(9818),a=n(9250),o=n(1984),l=n(5024),s=n(2503),c=n(9519),d=n(5634),u=n(349),p=n(5736),h=n(1392);var m=n(2058),g=n(5378),v=n(3421),f=n(8297),w=n(2200),b=n(7533),_=n(6342),y=n(3568);const E=()=>{const[e,t]=(0,r.useState)(15),n=(0,a.s0)(),{setIsDrawerSuppressed:E,setSidebarActiveView:S}=(0,i.useDispatch)(s.h);async function k(){var e;N&&(N.isComplete=(new Date).getTime(),(0,b.kB)(N),(0,y.a)(null==N||null===(e=N.data)||void 0===e?void 0:e.comingSoon)),(0,v.jd)(),(0,f.uW)(new f.Z_(_.pd)),window.location.replace(w.br)}(0,r.useEffect)((()=>{const n=setInterval((()=>{t(e-1)}),1e3);return 0===e&&(clearInterval(n),k()),()=>{clearInterval(n)}}),[e]),(0,r.useEffect)((()=>{E(!0),S(!1)}),[]);const{brandName:C,nextStep:x,currentData:N}=(0,i.useSelect)((e=>({brandName:e(s.h).getNewfoldBrandName(),nextStep:e(s.h).getNextStep(),currentData:e(s.h).getCurrentOnboardingData()}))),T=(e=>({heading:(0,p.__)("A great foundation to build from","wp-module-onboarding"),subheading:(0,p.sprintf)( +(0,r.__)("We’ve baked everything we know about making great designs and content for common %1$s needs into ease-to-use templates. Pick templates and we’ll add them as Page drafts to your WordPress %2$s.","wp-module-onboarding"),(0,p.I)("site"),(0,p.I)("site"))}]},help:{fullService:{text:(0,r.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:t},support:{text:(0,r.__)("Technical Support","wp-module-onboarding"),link:e}}}))(s,c);return(0,o.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__site-pages"},(0,o.createElement)($,{heading:m.introduction.heading,subheading:m.introduction.subheading,icon:m.introduction.icon}),!1!==(null==h||null===(e=h.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,o.createElement)(L,{cssIcon:m.illustration.icon}),(0,o.createElement)(O,{headingWithDescriptions:m.information.headingWithDescriptions}),(0,o.createElement)(A,null,!1!==(null==h||null===(i=h.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(l=a.fullService)||void 0===l?void 0:l.shown)&&m.help.fullService.link&&(0,o.createElement)(R,{text:m.help.fullService.text,onClick:()=>window.open(m.help.fullService.link,"_blank")}),(0,o.createElement)(z,{text:m.help.support.text,link:m.help.support.link})))}]}},data:{tooltipText:(0,r.__)("You have ideas, we have page templates","wp-module-onboarding"),patternId:"site-pages"}});var U=n(9702),W=n(6515);const F=new c.h({path:`/${W.H}/step/interstitial/${i.$3}`,Component:a.Z}),B=[_,P,H],Z=new U.W({id:i.$3,name:(0,r.__)("Layout & Content","wp-module-onboarding"),steps:B,interstitialSteps:[F]})},682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(4184),a=n.n(i);const o=e=>{let{type:t,after:n=!0,children:i,className:o="",duration:l=!1,timingFunction:s=!1}=e;const c="animate";return n?(0,r.createElement)("div",{className:a()(function(){if(t){let e="";switch(t){case"fade-in":e=c.concat("__fade-in");break;case"fade-in-disabled":e=c.concat("__fade-in--disabled");break;case"fade-in-right":e=c.concat("__fade-in--right");break;case"fade-in-left":e=c.concat("__fade-in--left");break;case"fade-in-up":e=c.concat("__fade-in--up");break;case"shine":e=c.concat("__shine");break;case"shine-placeholder":e=c.concat("__shine--placeholder");break;case"dropdown":e=c.concat("__dropdown");break;case"load":e=c.concat("__load")}return e}}(),o),style:{animationDuration:l,animationTimingFunction:s}},i):(0,r.createElement)("div",{className:"animate__blank"},i)}},5378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9307),i=n(5609),a=n(1984),o=n(4184),l=n.n(o);const s=e=>{let{className:t,text:n,onClick:o,icon:s}=e;return(0,r.createElement)(i.Button,{className:l()("nfd-onboarding-button--white",t),onClick:"function"==typeof o&&o},(0,r.createElement)("span",{className:`${t}__text`},n),s&&(0,r.createElement)(a.Z,{className:`${t}__icon`,icon:s}))}},2058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(9307),i=n(5609),a=n(4184),o=n.n(a);const l=e=>{let{className:t,text:n,onClick:a=!1}=e;return(0,r.createElement)(i.Button,{variant:"primary",className:o()("nfd-onboarding-button--background",t),onClick:"function"==typeof a&&a},n)}},9519:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);const i=(0,r.memo)((e=>{let{heading:t,subHeading:n,question:i}=e;return(0,r.createElement)("div",null,t&&(0,r.createElement)("h2",{className:"nfd-step-card-heading"},t),n&&(0,r.createElement)("h3",{className:i?"nfd-step-card-subheading-other":"nfd-step-card-subheading"},n),i&&(0,r.createElement)("h3",{className:"nfd-step-card-question"},i))}))},1526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307);const i=e=>{let{title:t,subtitle:n,children:i}=e;return(0,r.createElement)("div",{className:"nfd-main-heading"},(0,r.createElement)("h2",{className:"nfd-main-heading__title"},t),n&&(0,r.createElement)("h3",{className:"nfd-main-heading__subtitle"},n),i)}},5634:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(9307),i=n(4184),a=n.n(i);const o=window.wp.a11y;var l=n(9250),s=n(8297),c=n(6342);const d=e=>{let{className:t="nfd-onboarding-layout__base",children:n}=e;const i=(0,l.TH)(),d=document.querySelector(".nfd-onboard-content");return(0,r.useEffect)((()=>{null==d||d.focus({preventScroll:!0}),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Showing new Onboarding Page";(0,o.speak)(e,"assertive")}("Override"),(0,s.uW)(new s.Z_(c.Az))}),[i.pathname]),(0,r.createElement)("div",{className:a()("nfd-onboarding-layout",t)},n)};var u=n(682);const p=e=>{let{children:t}=e;return(0,r.createElement)("section",{className:"is-contained"},t)},h=e=>{let{className:t="",children:n,isBgPrimary:i=!1,isCentered:o=!1,isVerticallyCentered:l=!1,isContained:s=!1,isPadded:c=!1,isFadeIn:h=!0}=e;const m=s?p:r.Fragment;return(0,r.createElement)(u.Z,{type:h&&"fade-in",duration:"233ms",timingFunction:"ease-in-out"},(0,r.createElement)(d,{className:a()("nfd-onboarding-layout__common",t,{"is-bg-primary":i},{"is-centered":o},{"is-vertically-centered":l},{"is-padded":c})},(0,r.createElement)(m,null,n)))}},1054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(5736),a=n(6332);const o=e=>{let{count:t,watch:n,callback:o,className:l,viewportWidth:s,isWithCard:c=!1}=e;const[d,u]=(0,r.useState)(0);return(0,r.useEffect)((()=>u(1)),[n]),n?(0,r.createElement)(r.Fragment,null,n?(0,r.createElement)("div",{style:{display:"none"}},d):null,o()):c?(()=>{const e=[];for(let n=0;n{const e=[];for(let n=0;n{"use strict";n.d(t,{V3:()=>T,i5:()=>f,H:()=>S,T9:()=>C,r9:()=>w.Z});var r=n(9307),i=n(9818),a=n(2175),o=n(4981),l=n(7462),s=n(5609),c=n(4333);let d;const u=6e3;function p(e){var t,n;let{viewportWidth:i,settings:o,containerWidth:l,minHeight:p,additionalStyles:h=[]}=e;i||(i=l);const[m,{height:g}]=(0,c.useResizeObserver)(),{styles:v,assets:f,duotone:w}={styles:o.styles,assets:o.__unstableResolvedAssets,duotone:null===(t=o.__experimentalFeatures)||void 0===t||null===(n=t.color)||void 0===n?void 0:n.duotone},b=(0,r.useMemo)((()=>v?[...v,{css:"body{height:auto;overflow:hidden;border:none;padding:0;}",__unstableType:"presets"},...h]:v),[v,h]),_=(0,r.useMemo)((()=>{var e,t;return[...null!==(e=null==w?void 0:w.default)&&void 0!==e?e:[],...null!==(t=null==w?void 0:w.theme)&&void 0!==t?t:[]]}),[w]);d=d||(0,c.pure)(a.BlockList);const y=l/i;return(0,r.createElement)(s.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${y})`,height:g*y,maxHeight:g>u?u*y:void 0,minHeight:p}},(0,r.createElement)(a.__unstableIframe,{assets:f,contentRef:(0,c.useRefEffect)((e=>{const{ownerDocument:{documentElement:t}}=e;t.classList.add("block-editor-block-preview__content-iframe"),t.style.position="absolute",t.style.width="100%",e.style.boxSizing="border-box",e.style.position="absolute",e.style.width="100%",e.spellcheck=0}),[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:i,height:g,pointerEvents:"none",maxHeight:u,minHeight:0!==y&&y<1&&p?p/y:p}},(0,r.createElement)(a.__unstableEditorStyles,{styles:b}),m,_.map((e=>(0,r.createElement)(a.__unstablePresetDuotoneFilter,{preset:e,key:e.slug}))),(0,r.createElement)(d,{renderAppender:!1})))}function h(e){const[t,{width:n}]=(0,c.useResizeObserver)();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{style:{position:"relative",width:"100%",height:0}},t),(0,r.createElement)("div",{className:"block-editor-block-preview__container"},n&&(0,r.createElement)(p,(0,l.Z)({},e,{containerWidth:n}))))}var m=n(6690),g=n(2503),v=n(682);const f=(0,r.memo)((e=>{let{blockGrammer:t,viewportWidth:n=1300,styling:l="large",setIsLoadingParent:s=!1,previewSettings:c=!1,skeletonLoadingTime:d=2500}=e;const[u,p]=(0,r.useState)(),[f,w]=(0,r.useState)(),[b,_]=(0,r.useState)(!0);(0,r.useEffect)((()=>{if(d){const e=setTimeout((()=>{_(!1),s&&s(!1)}),d);return()=>clearTimeout(e)}_(!1),s&&s(!1)}),[d]);const{currentData:y,storedPreviewSettings:E}=(0,i.useSelect)((e=>({currentData:e(g.h).getCurrentOnboardingData(),storedPreviewSettings:e(g.h).getPreviewSettings()})),[]);(0,r.useEffect)((()=>{w(c?(0,m.NF)(c,E):E)}),[]),(0,r.useEffect)((()=>{t&&p((0,o.parse)(t))}),[t]),(0,r.useEffect)((()=>{c||w(E)}),[E,y]);const S=(0,r.memo)((()=>(0,r.createElement)("div",{className:"live-preview__container--is-skeleton"},(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-header"},(0,r.createElement)(v.Z,{type:"shine",className:"live-preview__container--is-skeleton--shimmer"})),(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-body-1"}),(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-body-2"}),(0,r.createElement)("div",{className:"live-preview__container--is-skeleton--box live-preview__container--is-skeleton--box-footer"}))));return(0,r.createElement)("div",{className:`live-preview__container-${l}`},b&&(0,r.createElement)(S,null),u&&f&&(0,r.createElement)(a.BlockEditorProvider,{value:u,settings:f.settings},(0,r.createElement)(h,{viewportWidth:n,settings:f.settings})))}));var w=n(1054),b=n(1984),_=n(8184),y=n(444);const E=(0,r.createElement)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(y.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})),S=e=>{let{className:t="live-preview--selectable-card",selected:n=!1,blockGrammer:i,viewportWidth:a=1500,styling:o="large",previewSettings:l,overlay:s=!1,onClick:c=!1,skeletonLoadingTime:d=2500}=e;const[u,p]=(0,r.useState)(!0);return(0,r.createElement)("div",{className:`${t}`,role:"button",tabIndex:0,onClick:"function"==typeof c&&(()=>{u||c()}),onKeyDown:"function"==typeof c&&(()=>{u||c()})},(0,r.createElement)("div",{className:`${t}__title-bar`},(0,r.createElement)("div",{className:`${t}__title-bar__browser`},(0,r.createElement)("span",{className:`${t}__title-bar__browser__dot`}),(0,r.createElement)("span",{className:`${t}__title-bar__browser__dot`}),(0,r.createElement)("span",{className:`${t}__title-bar__browser__dot`})),(0,r.createElement)("div",{className:n?`${t}__title-bar--selected live-preview-selected-check`:`${t}__title-bar--unselected`},(0,r.createElement)(b.Z,{className:`${t}__title-bar--selected__path`,icon:_.Z,size:64}))),(0,r.createElement)("div",{className:`${t}__live-preview-container`},(0,r.createElement)(f,{styling:o,blockGrammer:i,viewportWidth:a,previewSettings:l,setIsLoadingParent:p,skeletonLoadingTime:d}),s&&!u&&(0,r.createElement)("div",{className:`${t}__live-preview-container__overlay`},(0,r.createElement)(b.Z,{className:`${t}__live-preview-container__overlay__icon`,size:64,icon:E}))))};var k=n(6058);const C=e=>{let{className:t="live-preview--selectable-card--title-description",selected:n=!1,blockGrammer:i,viewportWidth:a=1500,styling:o="large",previewSettings:l,onClick:c=!1,skeletonLoadingTime:d=2500,title:u=!1,description:p=!1,slug:h}=e;const[m,g]=(0,r.useState)(!1),w=e=>{"function"==typeof c&&c(e,h,u)};return(0,r.createElement)("div",{className:`${t}`},(0,r.createElement)("div",{className:`${t}__live-preview-container`,onClick:()=>w(!n),role:"presentation"},(0,r.createElement)(f,{styling:o,blockGrammer:i,viewportWidth:a,previewSettings:l,skeletonLoadingTime:d})),(0,r.createElement)("div",{className:`${t}__information`,style:{backgroundColor:m?"var(--nfd-onboarding-light-gray-highlighted)":"var(--nfd-onboarding-light-gray-3)"}},(0,r.createElement)("div",{className:`${t}__information__title-question`},(0,r.createElement)("div",{className:`${t}__information__title-question__checkbox`},(0,r.createElement)(s.CheckboxControl,{label:(0,r.createElement)("b",null,u),onChange:()=>w(!n),checked:n})),(0,r.createElement)("div",{className:`${t}__information__title-question__question`},(0,r.createElement)(b.Z,{className:`${t}__information__title-question__question__icon`,icon:k.Z,style:{fill:m&&"var(--wp-admin-theme-color-darker-10)"},onClick:()=>g(!m)})))),m&&(0,r.createElement)(v.Z,{type:"dropdown",className:`${t}__description--container ${m?"highlighted":"not-highlighted"}`,style:{backgroundColor:m?"var(--nfd-onboarding-light-gray-highlighted)":"var(--nfd-onboarding-light-gray-3)"}},(0,r.createElement)("p",{className:`${t}__description--text`},p)))};var x=n(7625),N=n(2200);const T=e=>{let{children:t}=e;const[n,a]=(0,r.useState)(!1),{currentData:o,storedPreviewSettings:l,themeStatus:s}=(0,i.useSelect)((e=>({currentData:e(g.h).getCurrentOnboardingData(),storedPreviewSettings:e(g.h).getPreviewSettings(),themeStatus:e(g.h).getThemeStatus()})),[]),{updateThemeStatus:c,updatePreviewSettings:d,enqueueRequest:u}=(0,i.useDispatch)(g.h);return(0,r.useEffect)((()=>{n||N.GV!==s||(async()=>{let e;if(null!=l&&l.title&&null!=l&&l.settings)e=l;else{var t;const n=await(0,x.oC)();if(null!=n&&n.error)return c(N.a0);o.data.theme.variation?e=n.body.filter((e=>e.title===o.data.theme.variation))[0]:0===(null===(t=n.body[0])||void 0===t?void 0:t.id)&&(e=n.body[0]),d((0,m.NF)(e,l))}e&&u(N.Az.SET_GLOBAL_STYLES,(()=>(0,x.cw)({...e,title:o.data.theme.variation,version:2}))),a(!0)})()}),[n,s]),t}},5107:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(9307),i=n(9818),a=n(9250),o=n(1984),l=n(5024),s=n(2503),c=n(9519),d=n(5634),u=n(349),p=n(5736),h=n(1392);var m=n(2058),g=n(5378),v=n(3421),f=n(8297),w=n(2200),b=n(7533),_=n(6342),y=n(3568);const E=()=>{const[e,t]=(0,r.useState)(15),n=(0,a.s0)(),{setIsDrawerSuppressed:E,setSidebarActiveView:S}=(0,i.useDispatch)(s.h);async function k(){var e;N&&(N.isComplete=(new Date).getTime(),(0,b.kB)(N),(0,y.a)(null==N||null===(e=N.data)||void 0===e?void 0:e.comingSoon)),(0,v.jd)(),(0,f.uW)(new f.Z_(_.pd)),window.location.replace(w.br)}(0,r.useEffect)((()=>{const n=setInterval((()=>{t(e-1)}),1e3);return 0===e&&(clearInterval(n),k()),()=>{clearInterval(n)}}),[e]),(0,r.useEffect)((()=>{E(!0),S(!1)}),[]);const{brandName:C,nextStep:x,currentData:N}=(0,i.useSelect)((e=>({brandName:e(s.h).getNewfoldBrandName(),nextStep:e(s.h).getNextStep(),currentData:e(s.h).getCurrentOnboardingData()}))),T=(e=>({heading:(0,p.__)("A great foundation to build from","wp-module-onboarding"),subheading:(0,p.sprintf)( /* translators: Brand */ (0,p.__)("with WordPress and %s","wp-module-onboarding"),e),content:{heading:(0,p.sprintf)( /* translators: site or store */ (0,p.__)("Would you like to enter your WordPress Dashboard or continue setting up your %s?","wp-module-onboarding"),(0,h.I)("site")),question1:(0,p.__)("You've made great progress! Would you like to keep going with the setup or take it from here?","wp-module-onboarding"),question2:(0,p.sprintf)( /* translators: Brand */ -(0,p.__)("You can continue from your %s home page in the Next steps list.","wp-module-onboarding"),e),redirectMessage:(0,p.__)("Taking you to WordPress in…","wp-module-onboarding")},buttons:{button1:{text:(0,p.__)("Enter WordPress","wp-module-onboarding")},button2:{text:(0,p.__)("Continue Setup","wp-module-onboarding")}}}))(C);return(0,r.createElement)(d.Z,{isBgPrimary:!0,isCentered:!0},(0,r.createElement)(u.Z,{className:"chapter-interstitial"},(0,r.createElement)(c.Z,{heading:T.heading,subHeading:T.subheading}),(0,r.createElement)("div",{className:"chapter-interstitial__content"},(0,r.createElement)("div",{className:"chapter-interstitial__content__column-left"},(0,r.createElement)("h2",{className:"chapter-interstitial__content__column-left__heading"},T.content.heading),(0,r.createElement)("p",{className:"chapter-interstitial__content__column-left__question1"},T.content.question1),(0,r.createElement)("p",{className:"chapter-interstitial__content__column-left__question2"},T.content.question2),(0,r.createElement)("h2",{className:"chapter-interstitial__content__column-left__heading"},T.content.redirectMessage,(0,r.createElement)("br",null)," ",e)),(0,r.createElement)("div",{className:"chapter-interstitial__content__column-right"},(0,r.createElement)("div",{className:"chapter-interstitial__content__column-right__img"}))),(0,r.createElement)("div",{className:"chapter-interstitial__buttons"},(0,r.createElement)(m.default,{onClick:()=>k(),text:T.buttons.button1.text,className:"chapter-interstitial__buttons--blue"}),(0,r.createElement)(g.default,{onClick:()=>n(x.path),text:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("b",{className:"chapter-interstitial__buttons--white__text"},T.buttons.button2.text),(0,r.createElement)(o.Z,{className:"chapter-interstitial__buttons--white__icon",icon:l.Z})),className:"chapter-interstitial__buttons--white"}))))}},35:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(9307),i=n(5634),a=n(1526),o=n(950);const l=e=>{let{title:t,subtitle:n}=e;return(0,r.createElement)(i.Z,{className:"step-loader",isVerticallyCentered:!0},(0,r.createElement)(a.Z,{title:t,subtitle:n}),(0,r.createElement)("div",{className:"step-loader__logo-container"},(0,r.createElement)("div",{className:"step-loader__logo"})),(0,r.createElement)(o.Z,null))}},950:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(9307),i=n(2503),a=n(9818),o=n(5736);const l=e=>{let{question:t=(0,o.__)("Need Help?","wp-module-onboarding"),urlLabel:n=(0,o.__)("Hire our Experts","wp-module-onboarding")}=e;const l=(0,a.select)(i.h).getHireExpertsUrl();return l&&(0,r.createElement)("div",{className:"nfd-card-need-help-tag"},t,(0,r.createElement)("a",{href:l,target:"_blank",rel:"noreferrer"},n))}},349:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(4184),a=n.n(i);const o=e=>{let{className:t="",children:n}=e;return(0,r.createElement)("div",{className:a()("nfd-onboarding-large-card",t)},(0,r.createElement)("div",{className:"nfd-onboarding-large-card__logo"}),n)}},5087:(e,t,n)=>{"use strict";n.d(t,{e:()=>o,i:()=>i});var r=n(2819);const i={NONE:"none",AD_LINK_ERROR:"ad-link-error",INVALID_LINK_ERROR:"invalid-link-error"},a={facebook_site:"facebook",twitter_site:"twitter",instagram_url:"instagram",youtube_url:"youtube",linkedin_url:"linkedin",yelp_url:"yelp",tiktok_url:"tiktok"},o=e=>(0,r.transform)(a,((t,n,r)=>{var i;const a=(null==e?void 0:e[r])||(null==e||null===(i=e.other_social_urls)||void 0===i?void 0:i[r]);a&&(t[n]=a)}))},6515:(e,t,n)=>{"use strict";n.d(t,{H:()=>r,_:()=>i});const r="wp-setup",i="ecommerce"},8548:(e,t,n)=>{"use strict";n.d(t,{LI:()=>he,Ub:()=>pe,Nr:()=>ce,HA:()=>de,iD:()=>ue,Tx:()=>me});var r=n(6515),i=n(2819),a=n(4433),o=n(8244),l=n(1809),s=n(1715),c=n(6922),d=n(9307),u=n(9818),p=n(2503),h=n(5736),m=n(1392);const g=(0,d.lazy)((()=>n.e(657).then(n.bind(n,8657)))),v=(0,d.lazy)((()=>n.e(574).then(n.bind(n,2574)))),f=(0,d.lazy)((()=>n.e(856).then(n.bind(n,3856)))),w=(0,d.lazy)((()=>Promise.resolve().then(n.bind(n,2058)))),b=(0,d.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),_=(0,d.lazy)((()=>n.e(33).then(n.bind(n,33)))),y=(0,d.lazy)((()=>n.e(58).then(n.bind(n,1058))));var E=n(304),S=n(2200);const k=(0,d.lazy)((()=>n.e(76).then(n.bind(n,1076)))),C=new E.h({path:"/wp-setup/step/get-started/welcome",title:(0,h.__)("Welcome","wp-module-onboarding"),Component:k,icon:c.Z,drawerView:S.mz,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:r,expertsLink:i,techSupportLink:a,fullServiceCreativeTeamLink:o,brandConfig:l}=(0,u.useSelect)((e=>({brandName:e(p.h).getNewfoldBrandName(),expertsLink:e(p.h).getExpertsUrl(),techSupportLink:e(p.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(p.h).getfullServiceCreativeTeamUrl(),brandConfig:e(p.h).getNewfoldBrandConfig()}))),s=((e,t,n,r)=>({introduction:{heading:(0,h.__)("Start Setup","wp-module-onboarding"),subheading:(0,h.sprintf)( +(0,p.__)("You can continue from your %s home page in the Next steps list.","wp-module-onboarding"),e),redirectMessage:(0,p.__)("Taking you to WordPress in…","wp-module-onboarding")},buttons:{button1:{text:(0,p.__)("Enter WordPress","wp-module-onboarding")},button2:{text:(0,p.__)("Continue Setup","wp-module-onboarding")}}}))(C);return(0,r.createElement)(d.Z,{isBgPrimary:!0,isCentered:!0},(0,r.createElement)(u.Z,{className:"chapter-interstitial"},(0,r.createElement)(c.Z,{heading:T.heading,subHeading:T.subheading}),(0,r.createElement)("div",{className:"chapter-interstitial__content"},(0,r.createElement)("div",{className:"chapter-interstitial__content__column-left"},(0,r.createElement)("h2",{className:"chapter-interstitial__content__column-left__heading"},T.content.heading),(0,r.createElement)("p",{className:"chapter-interstitial__content__column-left__question1"},T.content.question1),(0,r.createElement)("p",{className:"chapter-interstitial__content__column-left__question2"},T.content.question2),(0,r.createElement)("h2",{className:"chapter-interstitial__content__column-left__heading"},T.content.redirectMessage,(0,r.createElement)("br",null)," ",e)),(0,r.createElement)("div",{className:"chapter-interstitial__content__column-right"},(0,r.createElement)("div",{className:"chapter-interstitial__content__column-right__img"}))),(0,r.createElement)("div",{className:"chapter-interstitial__buttons"},(0,r.createElement)(m.default,{onClick:()=>k(),text:T.buttons.button1.text,className:"chapter-interstitial__buttons--blue"}),(0,r.createElement)(g.default,{onClick:()=>n(x.path),text:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("b",{className:"chapter-interstitial__buttons--white__text"},T.buttons.button2.text),(0,r.createElement)(o.Z,{className:"chapter-interstitial__buttons--white__icon",icon:l.Z})),className:"chapter-interstitial__buttons--white"}))))}},35:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(9307),i=n(5634),a=n(1526),o=n(950);const l=e=>{let{title:t,subtitle:n}=e;return(0,r.createElement)(i.Z,{className:"step-loader",isVerticallyCentered:!0},(0,r.createElement)(a.Z,{title:t,subtitle:n}),(0,r.createElement)("div",{className:"step-loader__logo-container"},(0,r.createElement)("div",{className:"step-loader__logo"})),(0,r.createElement)(o.Z,null))}},950:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(9307),i=n(2503),a=n(9818),o=n(5736);const l=e=>{let{question:t=(0,o.__)("Need Help?","wp-module-onboarding"),urlLabel:n=(0,o.__)("Hire our Experts","wp-module-onboarding")}=e;const l=(0,a.select)(i.h).getHireExpertsUrl();return l&&(0,r.createElement)("div",{className:"nfd-card-need-help-tag"},t,(0,r.createElement)("a",{href:l,target:"_blank",rel:"noreferrer"},n))}},349:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307),i=n(4184),a=n.n(i);const o=e=>{let{className:t="",children:n}=e;return(0,r.createElement)("div",{className:a()("nfd-onboarding-large-card",t)},(0,r.createElement)("div",{className:"nfd-onboarding-large-card__logo"}),n)}},5087:(e,t,n)=>{"use strict";n.d(t,{e:()=>o,i:()=>i});var r=n(2819);const i={NONE:"none",AD_LINK_ERROR:"ad-link-error",INVALID_LINK_ERROR:"invalid-link-error"},a={facebook_site:"facebook",twitter_site:"twitter",instagram_url:"instagram",youtube_url:"youtube",linkedin_url:"linkedin",yelp_url:"yelp",tiktok_url:"tiktok"},o=e=>(0,r.transform)(a,((t,n,r)=>{var i;const a=(null==e?void 0:e[r])||(null==e||null===(i=e.other_social_urls)||void 0===i?void 0:i[r]);a&&(t[n]=a)}))},6515:(e,t,n)=>{"use strict";n.d(t,{H:()=>r,_:()=>i});const r="wp-setup",i="ecommerce"},8548:(e,t,n)=>{"use strict";n.d(t,{LI:()=>he,Ub:()=>pe,Nr:()=>ce,HA:()=>de,iD:()=>ue,Tx:()=>me});var r=n(6515),i=n(2819),a=n(4433),o=n(8244),l=n(1809),s=n(1715),c=n(6922),d=n(9307),u=n(9818),p=n(2503),h=n(5736),m=n(1392);const g=(0,d.lazy)((()=>n.e(657).then(n.bind(n,8657)))),v=(0,d.lazy)((()=>n.e(574).then(n.bind(n,2574)))),f=(0,d.lazy)((()=>n.e(856).then(n.bind(n,3856)))),w=(0,d.lazy)((()=>Promise.resolve().then(n.bind(n,2058)))),b=(0,d.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),_=(0,d.lazy)((()=>n.e(33).then(n.bind(n,33)))),y=(0,d.lazy)((()=>n.e(58).then(n.bind(n,1058))));var E=n(304),S=n(2200);const k=(0,d.lazy)((()=>n.e(76).then(n.bind(n,1076)))),C=new E.h({path:"/wp-setup/step/get-started/welcome",title:(0,h.__)("Welcome","wp-module-onboarding"),Component:k,icon:c.Z,drawerView:S.mz,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,r,i,a,o,l,s,E,S,k,C;const{brandName:x,expertsLink:N,techSupportLink:T,fullServiceCreativeTeamLink:D,brandConfig:P}=(0,u.useSelect)((e=>({brandName:e(p.h).getNewfoldBrandName(),expertsLink:e(p.h).getExpertsUrl(),techSupportLink:e(p.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(p.h).getfullServiceCreativeTeamUrl(),brandConfig:e(p.h).getNewfoldBrandConfig()}))),I=((e,t,n,r)=>({introduction:{heading:(0,h.__)("Start Setup","wp-module-onboarding"),subheading:(0,h.sprintf)( /* translators: 1: Brand 2: website or store */ (0,h.__)("Lay the foundation for a successful %1$s %2$s using our WordPress Onboarding. ","wp-module-onboarding"),e,(0,m.I)("website")),icon:c.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-get-started-welcome-illustration"},information:{headingWithDescriptions:[{heading:(0,h.sprintf)( /* translators: %s: website or store */ @@ -66,21 +66,21 @@ /* translators: 1: Brand 2: website or store */ (0,h.__)("%1$s is your %2$s partner","wp-module-onboarding"),e,(0,m.I)("website")),description:(0,h.sprintf)( /* translators: 1: website or store 2: Brand 3. site or store */ -(0,h.__)("A WordPress %1$s hosted by %2$s has tons of unique and proven solutions to help you get farther, faster with your WordPress. We put our expertise, partnerships and solutions to work on your %3$s.","wp-module-onboarding"),(0,m.I)("website"),e,(0,m.I)("site"))}]},help:{experts:{text:(0,h.__)("1-1 Expert Solutions & Coaching","wp-module-onboarding"),link:t},fullService:{text:(0,h.__)("Hire Our Full-Service Creative Team","wp-module-onboarding"),link:r},support:{text:(0,h.__)("Technical Support","wp-module-onboarding"),link:n}}}))(r,i,a,o);return(0,d.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-welcome"},(0,d.createElement)(y,{heading:s.introduction.heading,subheading:s.introduction.subheading,icon:s.introduction.icon}),!1!==(null==l||null===(e=l.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,d.createElement)(g,{cssIcon:s.illustration.icon}),(0,d.createElement)(v,{headingWithDescriptions:s.information.headingWithDescriptions}),(0,d.createElement)(f,null,s.help.experts.link&&(0,d.createElement)(w,{text:s.help.experts.text,onClick:()=>window.open(s.help.experts.link,"_blank")}),s.help.fullService.link&&(0,d.createElement)(b,{text:s.help.fullService.text,onClick:()=>window.open(s.help.fullService.link,"_blank")}),(0,d.createElement)(_,{text:s.help.support.text,link:s.help.support.link})))}]}},data:{tooltipText:(0,h.__)("Welcome","wp-module-onboarding")}}),x=(0,d.lazy)((()=>n.e(111).then(n.bind(n,3111)))),N=new E.h({path:"/wp-setup/step/complete",Component:x});var T=n(2322);const D=(0,d.lazy)((()=>n.e(657).then(n.bind(n,8657)))),P=(0,d.lazy)((()=>n.e(574).then(n.bind(n,2574)))),I=(0,d.lazy)((()=>n.e(856).then(n.bind(n,3856)))),L=(0,d.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),O=(0,d.lazy)((()=>n.e(33).then(n.bind(n,33)))),A=(0,d.lazy)((()=>n.e(58).then(n.bind(n,1058)))),R=(0,d.lazy)((()=>n.e(465).then(n.bind(n,4465)))),z=new E.h({path:"/wp-setup/step/what-next",title:(0,h.__)("What Next","wp-module-onboarding"),Component:R,icon:T.Z,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:r,techSupportLink:i,fullServiceCreativeTeamLink:a,brandConfig:o}=(0,u.useSelect)((e=>({brandName:e(p.h).getNewfoldBrandName(),techSupportLink:e(p.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(p.h).getfullServiceCreativeTeamUrl(),brandConfig:e(p.h).getNewfoldBrandConfig()}))),l=((e,t,n)=>({introduction:{heading:(0,h.__)("What’s Next","wp-module-onboarding"),subheading:(0,h.sprintf)( +(0,h.__)("A WordPress %1$s hosted by %2$s has tons of unique and proven solutions to help you get farther, faster with your WordPress. We put our expertise, partnerships and solutions to work on your %3$s.","wp-module-onboarding"),(0,m.I)("website"),e,(0,m.I)("site"))}]},help:{experts:{text:(0,h.__)("1-1 Expert Solutions & Coaching","wp-module-onboarding"),link:t},fullService:{text:(0,h.__)("Hire Our Full-Service Creative Team","wp-module-onboarding"),link:r},support:{text:(0,h.__)("Technical Support","wp-module-onboarding"),link:n}}}))(x,N,T,D),L=null!=P&&null!==(e=P.views)&&void 0!==e&&null!==(t=e.sidebar)&&void 0!==t&&null!==(n=t.infoPanel)&&void 0!==n&&null!==(r=n.headingWithDescriptions)&&void 0!==r&&r.shown?I.information.headingWithDescriptions.filter(((e,t)=>{var n,r,i,a,o;return null==P||null===(n=P.views)||void 0===n||null===(r=n.sidebar)||void 0===r||null===(i=r.infoPanel)||void 0===i||null===(a=i.headingWithDescriptions)||void 0===a||null===(o=a.shown)||void 0===o?void 0:o.includes(t)})):I.information.headingWithDescriptions;return(0,d.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__get-started-welcome"},(0,d.createElement)(y,{heading:I.introduction.heading,subheading:I.introduction.subheading,icon:I.introduction.icon}),!1!==(null==P||null===(i=P.views)||void 0===i||null===(a=i.sidebar)||void 0===a||null===(o=a.illustration)||void 0===o?void 0:o.shown)&&(0,d.createElement)(g,{cssIcon:I.illustration.icon}),(0,d.createElement)(v,{headingWithDescriptions:L}),(0,d.createElement)(f,null,!1!==(null==P||null===(l=P.views)||void 0===l||null===(s=l.sidebar)||void 0===s||null===(E=s.experts)||void 0===E?void 0:E.shown)&&I.help.experts.link&&(0,d.createElement)(w,{text:I.help.experts.text,onClick:()=>window.open(I.help.experts.link,"_blank")}),!1!==(null==P||null===(S=P.views)||void 0===S||null===(k=S.sidebar)||void 0===k||null===(C=k.fullService)||void 0===C?void 0:C.shown)&&I.help.fullService.link&&(0,d.createElement)(b,{text:I.help.fullService.text,onClick:()=>window.open(I.help.fullService.link,"_blank")}),(0,d.createElement)(_,{text:I.help.support.text,link:I.help.support.link})))}]}},data:{tooltipText:(0,h.__)("Welcome","wp-module-onboarding")}}),x=(0,d.lazy)((()=>n.e(111).then(n.bind(n,3111)))),N=new E.h({path:"/wp-setup/step/complete",Component:x});var T=n(2322);const D=(0,d.lazy)((()=>n.e(657).then(n.bind(n,8657)))),P=(0,d.lazy)((()=>n.e(574).then(n.bind(n,2574)))),I=(0,d.lazy)((()=>n.e(856).then(n.bind(n,3856)))),L=(0,d.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),O=(0,d.lazy)((()=>n.e(33).then(n.bind(n,33)))),A=(0,d.lazy)((()=>n.e(58).then(n.bind(n,1058)))),R=(0,d.lazy)((()=>n.e(465).then(n.bind(n,4465)))),z=new E.h({path:"/wp-setup/step/what-next",title:(0,h.__)("What Next","wp-module-onboarding"),Component:R,icon:T.Z,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,r,i,a;const{brandName:o,techSupportLink:l,fullServiceCreativeTeamLink:s,brandConfig:c}=(0,u.useSelect)((e=>({brandName:e(p.h).getNewfoldBrandName(),techSupportLink:e(p.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(p.h).getfullServiceCreativeTeamUrl(),brandConfig:e(p.h).getNewfoldBrandConfig()}))),g=((e,t,n)=>({introduction:{heading:(0,h.__)("What’s Next","wp-module-onboarding"),subheading:(0,h.sprintf)( /* translators: 1: website or store 2: website or store */ (0,h.__)("The beginning of your %1$s journey is complete. We’re here to support your next steps and %2$s goals!","wp-module-onboarding"),(0,m.I)("website"),(0,m.I)("website")),icon:T.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-what-next-illustration"},information:{headingWithDescriptions:[{heading:(0,h.__)("Add, adjust and launch!","wp-module-onboarding"),description:(0,h.sprintf)( /* translators: 1: site or store 2: Brand 3: site or store */ (0,h.__)("Now that you’ve setup the basics, use WordPress to edit your pages, %1$s design and explore the unlimited destinations you can chart for your %2$s %3$s.","wp-module-onboarding"),(0,m.I)("site"),e,(0,m.I)("site"))},{description:(0,h.sprintf)( /* translators: %s: website */ -(0,h.__)("Our support team, %s experts and professional designers are always just a chat or call away if you ever need directions.","wp-module-onboarding"),(0,m.I)("website"))}]},help:{fullService:{text:(0,h.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,h.__)("Technical Support","wp-module-onboarding"),link:t}}}))(r,i,a);return(0,d.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__what-next"},(0,d.createElement)(A,{heading:l.introduction.heading,subheading:l.introduction.subheading,icon:l.introduction.icon}),!1!==(null==o||null===(e=o.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,d.createElement)(D,{cssIcon:l.illustration.icon,baseClassName:"nfd-onboarding-sidebar-learn-more__what-next",backgroundPosition:"right bottom"}),(0,d.createElement)(P,{headingWithDescriptions:l.information.headingWithDescriptions}),(0,d.createElement)(I,null,l.help.fullService.link&&(0,d.createElement)(L,{text:l.help.fullService.text,onClick:()=>window.open(l.help.fullService.link,"_blank")}),(0,d.createElement)(O,{text:l.help.support.text,link:l.help.support.link})))}]}},data:{tooltipText:(0,h.__)("How else can we help?","wp-module-onboarding")}});var $=n(444);const V=(0,d.createElement)($.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,d.createElement)($.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));var H=n(5634),U=n(1526),F=n(4333);class W{constructor(e){let{path:t,title:n,Component:r,icon:i}=e;this.path=t,this.title=n,this.Component=r,this.icon=i}}const B=new W({path:"*",title:(0,h.__)("Error 404","wp-module-onboarding"),Component:()=>{const e=(0,F.useViewportMatch)("medium"),{setIsDrawerOpened:t,setDrawerActiveView:n,setSidebarActiveView:r,setIsDrawerSuppressed:i}=(0,u.useDispatch)(p.h);(0,d.useEffect)((()=>{e&&t(!0),r(S.Jq),i(!1),n(S.BP)}),[]);const a={heading:(0,h.__)("Error 404","wp-module-onboarding"),subheading:(0,h.__)("Please Check Again!","wp-module-onboarding")};return(0,d.createElement)(H.Z,{isVerticallyCentered:!0},(0,d.createElement)(U.Z,{title:a.heading,subtitle:a.subheading}))},Icon:V});class Z extends E.h{constructor(e){let{path:t,title:n,icon:r,drawerView:i,sidebars:a,data:o}=e;super({path:t,title:n,Component:null,icon:r,drawerView:i,sidebars:a,data:o})}}var M=n(9250);const j=new W({path:"/",title:"",Component:()=>{const e=(0,M.s0)(),{firstStep:t}=(0,u.useSelect)((e=>({firstStep:e(p.h).getFirstStep()})),[]);return(0,d.useEffect)((()=>{e(t.path,{replace:!0,state:{origin:"index-redirect"}})})),(0,d.createElement)(d.Fragment,null)},Icon:(0,d.createElement)(d.Fragment,null)});var G=n(6713);const q=[j,B],Q=[a.E,o.c,l.p,s.R],J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=[];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps])})),t=t.concat([N,z]),t},Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=[...q];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps,...e.conditionalSteps])})),t=t.concat([N,z]),t},K=e=>{const t=[...e],n=t.findIndex((e=>e.path.includes("/step/get-started")));-1!==n&&(t[n]=(e=>{const t={...e};return t.title=(0,h.__)("Get Started","wp-module-onboarding"),t.data.tooltipText=(0,h.__)("Get Started","wp-module-onboarding"),t.data.primaryDrawerActiveLinkIncludes="/wp-setup/step/get-started/",new Z(t)})(e[n]));const r=t.findIndex((e=>e.path.includes("/step/design")));return-1!==r&&(t[r]=(e=>{const t={...e};return t.title=(0,h.__)("Design","wp-module-onboarding"),t.icon=G.Z,t.data.primaryDrawerActiveLinkIncludes="/wp-setup/step/design/",new Z(t)})(t[r])),(0,i.filter)(t,(e=>e instanceof Z||!e.path.includes("/step/get-started")&&!e.path.includes("/step/design")&&!e.path.includes("/step/complete")&&!e.path.includes("/step/interstitial")))},X=e=>{const t=[...e];return(0,i.filter)(t,(e=>e.path.includes("/step/design/")&&!e.path.includes("/theme-styles/preview")))};var ee=n(9343),te=n(3377);const ne=[j,B],re=[a.E,ee.B,o.c,l.p,s.R],ie=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=[];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps])})),t=t.concat([N,z]),(0,i.filter)(t,(e=>!e.path.includes("/wp-setup/step/top-priority")))},ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=[...ne];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps,...e.conditionalSteps])})),t=t.concat([N,z]),(0,i.filter)(t,(e=>!e.path.includes("/wp-setup/step/top-priority")))},oe=e=>{const t=(e=K(e)).findIndex((e=>e.path.includes("/ecommerce/step")));return-1!==t&&(e[t]=(e=>{const t={...e};return t.title=(0,h.__)("Store Info","wp-module-onboarding"),t.icon=te.Z,t.data.primaryDrawerActiveLinkIncludes="/ecommerce/step/",new Z(t)})(e[t])),(0,i.filter)(e,(e=>e instanceof Z||!e.path.includes("/ecommerce/step")&&!e.path.includes("/wp-setup/step/top-priority")))},le=()=>{var e;return null!==(e=window.nfdOnboarding.currentFlow)&&void 0!==e?e:r.H},se={[r.H]:{getRoutes:Y,getSteps:J,getTopSteps:K,chapters:Q,getData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=J(e),r=Y(e);return t&&(n=n.filter((e=>!e.path.includes("/interstitial"))),r=r.filter((e=>!e.path.includes("/interstitial")))),{steps:n,routes:r,topSteps:K(n),designRoutes:X(r)}},getDesignRoutes:X},[r._]:{getRoutes:ae,getSteps:ie,getTopSteps:oe,chapters:re,getData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re;const t=ie(e),n=ae(e);return{steps:t,routes:n,topSteps:oe(t),designRoutes:X(n)}},getDesignRoutes:X}},ce=se[le()].getRoutes(),de=se[le()].getSteps(),ue=se[le()].getTopSteps(de),pe=se[le()].getDesignRoutes(ce),he=e=>se[e].chapters,me=(se[le()].getRoutes,se[le()].getSteps,se[le()].getTopSteps,e=>(e=e||le(),se[e].getData));se[le()].getDesignRoutes},9885:(e,t,n)=>{"use strict";n.d(t,{Lb:()=>a,QF:()=>s,yY:()=>o});var r=n(2819),i=n(9583);const a=(e,t)=>{const n=o(e,t),r=[...t];return{allSteps:l(n.allSteps,i.i,r)}},o=(e,t)=>{const n=new Set(t.map((e=>e.path)));return{allSteps:(0,r.filter)(e,(e=>!n.has(e.path)))}},l=(e,t,n)=>{const r=e.findIndex((e=>e.path===t.path));return e.splice(r+1,0,...n),e},s=(e,t,n)=>{const r=e.findIndex((e=>e.id===t.id));return e.splice(r+1,0,n),e}},9702:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});class r{constructor(e){let{id:t,name:n,steps:r,conditionalSteps:i=[],initialSteps:a=[],topSteps:o=[],interstitialSteps:l=[]}=e;this.id=t,this.name=n,this.steps=r.map((e=>(e.chapter=this.id,e))),this.conditionalSteps=i.map((e=>(e.chapter=this.id,e))),this.initialSteps=a,this.topSteps=o,this.interstitialSteps=l}}},304:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});class r{constructor(e){let{path:t,title:n,Component:r,icon:i,drawerView:a,sidebars:o,data:l}=e;this.path=t,this.title=n,this.Component=r,this.icon=i,this.drawerView=a,this.sidebars=o,this.data=l}}},9583:(e,t,n)=>{"use strict";n.d(t,{i:()=>b});var r=n(544),i=n(9307),a=n(5736),o=n(304),l=n(9818),s=n(2503),c=n(1392),d=n(6713);const u=(0,i.lazy)((()=>n.e(657).then(n.bind(n,8657)))),p=(0,i.lazy)((()=>n.e(574).then(n.bind(n,2574)))),h=(0,i.lazy)((()=>n.e(856).then(n.bind(n,3856)))),m=(0,i.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),g=(0,i.lazy)((()=>n.e(33).then(n.bind(n,33)))),v=(0,i.lazy)((()=>n.e(58).then(n.bind(n,1058))));var f=n(2200);const w=(0,i.lazy)((()=>n.e(792).then(n.bind(n,2792)))),b=new o.h({path:"/wp-setup/step/design/theme-styles/preview",title:(0,a.__)("Theme Styles","wp-module-onboarding"),Component:w,icon:r.Z,drawerView:f._h,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n;const{brandName:r,techSupportLink:o,fullServiceCreativeTeamLink:f,brandConfig:w}=(0,l.useSelect)((e=>({brandName:e(s.h).getNewfoldBrandName(),techSupportLink:e(s.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(s.h).getfullServiceCreativeTeamUrl(),brandConfig:e(s.h).getNewfoldBrandConfig()}))),b=((e,t,n)=>({introduction:{heading:(0,a.__)("Theme Styles","wp-module-onboarding"),subheading:(0,a.__)("Professionally-designed website templates ready for their public debut featuring your great ideas.","wp-module-onboarding"),icon:d.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-theme-styles-illustration"},information:{headingWithDescriptions:[{heading:(0,a.__)("Show the web you have style with modern colors and elevated fonts","wp-module-onboarding"),description:(0,a.sprintf)( +(0,h.__)("Our support team, %s experts and professional designers are always just a chat or call away if you ever need directions.","wp-module-onboarding"),(0,m.I)("website"))}]},help:{fullService:{text:(0,h.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,h.__)("Technical Support","wp-module-onboarding"),link:t}}}))(o,l,s);return(0,d.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__what-next"},(0,d.createElement)(A,{heading:g.introduction.heading,subheading:g.introduction.subheading,icon:g.introduction.icon}),!1!==(null==c||null===(e=c.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,d.createElement)(D,{cssIcon:g.illustration.icon,baseClassName:"nfd-onboarding-sidebar-learn-more__what-next",backgroundPosition:"right bottom"}),(0,d.createElement)(P,{headingWithDescriptions:g.information.headingWithDescriptions}),(0,d.createElement)(I,null,!1!==(null==c||null===(r=c.views)||void 0===r||null===(i=r.sidebar)||void 0===i||null===(a=i.fullService)||void 0===a?void 0:a.shown)&&g.help.fullService.link&&(0,d.createElement)(L,{text:g.help.fullService.text,onClick:()=>window.open(g.help.fullService.link,"_blank")}),(0,d.createElement)(O,{text:g.help.support.text,link:g.help.support.link})))}]}},data:{tooltipText:(0,h.__)("How else can we help?","wp-module-onboarding")}});var $=n(444);const V=(0,d.createElement)($.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,d.createElement)($.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));var H=n(5634),U=n(1526),W=n(4333);class F{constructor(e){let{path:t,title:n,Component:r,icon:i}=e;this.path=t,this.title=n,this.Component=r,this.icon=i}}const B=new F({path:"*",title:(0,h.__)("Error 404","wp-module-onboarding"),Component:()=>{const e=(0,W.useViewportMatch)("medium"),{setIsDrawerOpened:t,setDrawerActiveView:n,setSidebarActiveView:r,setIsDrawerSuppressed:i}=(0,u.useDispatch)(p.h);(0,d.useEffect)((()=>{e&&t(!0),r(S.Jq),i(!1),n(S.BP)}),[]);const a={heading:(0,h.__)("Error 404","wp-module-onboarding"),subheading:(0,h.__)("Please Check Again!","wp-module-onboarding")};return(0,d.createElement)(H.Z,{isVerticallyCentered:!0},(0,d.createElement)(U.Z,{title:a.heading,subtitle:a.subheading}))},Icon:V});class Z extends E.h{constructor(e){let{path:t,title:n,icon:r,drawerView:i,sidebars:a,data:o}=e;super({path:t,title:n,Component:null,icon:r,drawerView:i,sidebars:a,data:o})}}var M=n(9250);const j=new F({path:"/",title:"",Component:()=>{const e=(0,M.s0)(),{firstStep:t}=(0,u.useSelect)((e=>({firstStep:e(p.h).getFirstStep()})),[]);return(0,d.useEffect)((()=>{e(t.path,{replace:!0,state:{origin:"index-redirect"}})})),(0,d.createElement)(d.Fragment,null)},Icon:(0,d.createElement)(d.Fragment,null)});var G=n(6713);const q=[j,B],Q=[a.E,o.c,l.p,s.R],J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=[];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps])})),t=t.concat([N,z]),t},Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=[...q];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps,...e.conditionalSteps])})),t=t.concat([N,z]),t},K=e=>{const t=[...e],n=t.findIndex((e=>e.path.includes("/step/get-started")));-1!==n&&(t[n]=(e=>{const t={...e};return t.title=(0,h.__)("Get Started","wp-module-onboarding"),t.data.tooltipText=(0,h.__)("Get Started","wp-module-onboarding"),t.data.primaryDrawerActiveLinkIncludes="/wp-setup/step/get-started/",new Z(t)})(e[n]));const r=t.findIndex((e=>e.path.includes("/step/design")));return-1!==r&&(t[r]=(e=>{const t={...e};return t.title=(0,h.__)("Design","wp-module-onboarding"),t.icon=G.Z,t.data.primaryDrawerActiveLinkIncludes="/wp-setup/step/design/",new Z(t)})(t[r])),(0,i.filter)(t,(e=>e instanceof Z||!e.path.includes("/step/get-started")&&!e.path.includes("/step/design")&&!e.path.includes("/step/complete")&&!e.path.includes("/step/interstitial")))},X=e=>{const t=[...e];return(0,i.filter)(t,(e=>e.path.includes("/step/design/")&&!e.path.includes("/theme-styles/preview")))};var ee=n(9343),te=n(3377);const ne=[j,B],re=[a.E,ee.B,o.c,l.p,s.R],ie=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=[];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps])})),t=t.concat([N,z]),(0,i.filter)(t,(e=>!e.path.includes("/wp-setup/step/top-priority")))},ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=[...ne];return t.push(C),e.forEach((e=>{t=t.concat([...e.steps,...e.conditionalSteps])})),t=t.concat([N,z]),(0,i.filter)(t,(e=>!e.path.includes("/wp-setup/step/top-priority")))},oe=e=>{const t=(e=K(e)).findIndex((e=>e.path.includes("/ecommerce/step")));return-1!==t&&(e[t]=(e=>{const t={...e};return t.title=(0,h.__)("Store Info","wp-module-onboarding"),t.icon=te.Z,t.data.primaryDrawerActiveLinkIncludes="/ecommerce/step/",new Z(t)})(e[t])),(0,i.filter)(e,(e=>e instanceof Z||!e.path.includes("/ecommerce/step")&&!e.path.includes("/wp-setup/step/top-priority")))},le=()=>{var e;return null!==(e=window.nfdOnboarding.currentFlow)&&void 0!==e?e:r.H},se={[r.H]:{getRoutes:Y,getSteps:J,getTopSteps:K,chapters:Q,getData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=J(e),r=Y(e);return t&&(n=n.filter((e=>!e.path.includes("/interstitial"))),r=r.filter((e=>!e.path.includes("/interstitial")))),{steps:n,routes:r,topSteps:K(n),designRoutes:X(r)}},getDesignRoutes:X},[r._]:{getRoutes:ae,getSteps:ie,getTopSteps:oe,chapters:re,getData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re;const t=ie(e),n=ae(e);return{steps:t,routes:n,topSteps:oe(t),designRoutes:X(n)}},getDesignRoutes:X}},ce=se[le()].getRoutes(),de=se[le()].getSteps(),ue=se[le()].getTopSteps(de),pe=se[le()].getDesignRoutes(ce),he=e=>se[e].chapters,me=(se[le()].getRoutes,se[le()].getSteps,se[le()].getTopSteps,e=>(e=e||le(),se[e].getData));se[le()].getDesignRoutes},9885:(e,t,n)=>{"use strict";n.d(t,{Lb:()=>a,QF:()=>s,yY:()=>o});var r=n(2819),i=n(9583);const a=(e,t)=>{const n=o(e,t),r=[...t];return{allSteps:l(n.allSteps,i.i,r)}},o=(e,t)=>{const n=new Set(t.map((e=>e.path)));return{allSteps:(0,r.filter)(e,(e=>!n.has(e.path)))}},l=(e,t,n)=>{const r=e.findIndex((e=>e.path===t.path));return e.splice(r+1,0,...n),e},s=(e,t,n)=>{const r=e.findIndex((e=>e.id===t.id));return e.splice(r+1,0,n),e}},9702:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});class r{constructor(e){let{id:t,name:n,steps:r,conditionalSteps:i=[],initialSteps:a=[],topSteps:o=[],interstitialSteps:l=[]}=e;this.id=t,this.name=n,this.steps=r.map((e=>(e.chapter=this.id,e))),this.conditionalSteps=i.map((e=>(e.chapter=this.id,e))),this.initialSteps=a,this.topSteps=o,this.interstitialSteps=l}}},304:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});class r{constructor(e){let{path:t,title:n,Component:r,icon:i,drawerView:a,sidebars:o,data:l}=e;this.path=t,this.title=n,this.Component=r,this.icon=i,this.drawerView=a,this.sidebars=o,this.data=l}}},9583:(e,t,n)=>{"use strict";n.d(t,{i:()=>b});var r=n(544),i=n(9307),a=n(5736),o=n(304),l=n(9818),s=n(2503),c=n(1392),d=n(6713);const u=(0,i.lazy)((()=>n.e(657).then(n.bind(n,8657)))),p=(0,i.lazy)((()=>n.e(574).then(n.bind(n,2574)))),h=(0,i.lazy)((()=>n.e(856).then(n.bind(n,3856)))),m=(0,i.lazy)((()=>Promise.resolve().then(n.bind(n,5378)))),g=(0,i.lazy)((()=>n.e(33).then(n.bind(n,33)))),v=(0,i.lazy)((()=>n.e(58).then(n.bind(n,1058))));var f=n(2200);const w=(0,i.lazy)((()=>n.e(792).then(n.bind(n,2792)))),b=new o.h({path:"/wp-setup/step/design/theme-styles/preview",title:(0,a.__)("Theme Styles","wp-module-onboarding"),Component:w,icon:r.Z,drawerView:f._h,sidebars:{LearnMore:{SidebarComponents:[()=>{var e,t,n,r,o,f;const{brandName:w,techSupportLink:b,fullServiceCreativeTeamLink:_,brandConfig:y}=(0,l.useSelect)((e=>({brandName:e(s.h).getNewfoldBrandName(),techSupportLink:e(s.h).getTechSupportUrl(),fullServiceCreativeTeamLink:e(s.h).getfullServiceCreativeTeamUrl(),brandConfig:e(s.h).getNewfoldBrandConfig()}))),E=((e,t,n)=>({introduction:{heading:(0,a.__)("Theme Styles","wp-module-onboarding"),subheading:(0,a.__)("Professionally-designed website templates ready for their public debut featuring your great ideas.","wp-module-onboarding"),icon:d.Z},illustration:{icon:"nfd-onboarding-sidebar-learn-more-design-theme-styles-illustration"},information:{headingWithDescriptions:[{heading:(0,a.__)("Show the web you have style with modern colors and elevated fonts","wp-module-onboarding"),description:(0,a.sprintf)( /* translators: 1: Brand 2: site or store */ (0,a.__)("Pick one of these professionally-designed website styles to start your %1$s %2$s.","wp-module-onboarding"),e,(0,c.I)("site"))},{description:(0,a.sprintf)( /* translators: %s: site or store */ -(0,a.__)("In the next steps and in the future, you can change the specific colors and fonts to fit your aesthetic vision for your %s.","wp-module-onboarding"),(0,c.I)("site"))}]},help:{fullService:{text:(0,a.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,a.__)("Technical Support","wp-module-onboarding"),link:t}}}))(r,o,f);return(0,i.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-theme-styles-preview"},(0,i.createElement)(v,{heading:b.introduction.heading,subheading:b.introduction.subheading,icon:b.introduction.icon}),!1!==(null==w||null===(e=w.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,i.createElement)(u,{cssIcon:b.illustration.icon}),(0,i.createElement)(p,{headingWithDescriptions:b.information.headingWithDescriptions}),(0,i.createElement)(h,null,b.help.fullService.link&&(0,i.createElement)(m,{text:b.help.fullService.text,onClick:()=>window.open(b.help.fullService.link,"_blank")}),(0,i.createElement)(g,{text:b.help.support.text,link:b.help.support.link})))}]}},data:{designDrawerActiveLinkIncludes:"/wp-setup/step/design/theme-styles/",patternId:"theme-styles"}})},2503:(e,t,n)=>{"use strict";n.d(t,{h:()=>Le});var r={};n.r(r),n.d(r,{dequeueRequest:()=>N,enqueueRequest:()=>x,flushQueue:()=>T,resetNavError:()=>I,setActiveChapter:()=>p,setActiveFlow:()=>d,setActiveStep:()=>u,setCurrentOnboardingData:()=>h,setDrawerActiveView:()=>l,setHeaderMenuData:()=>C,setIsDrawerOpened:()=>s,setIsDrawerSuppressed:()=>c,setIsHeaderNavigationEnabled:()=>b,setIsSidebarOpened:()=>f,setNavErrorContinuePath:()=>P,setOnboardingSocialData:()=>m,setRuntime:()=>o,setSidebarActiveView:()=>w,showNavErrorDialog:()=>D,updateAllSteps:()=>E,updateDesignRoutes:()=>k,updatePreviewSettings:()=>_,updateRoutes:()=>y,updateSettings:()=>g,updateThemeStatus:()=>v,updateTopSteps:()=>S});var i={};n.r(i),n.d(i,{getAllSteps:()=>G,getCurrentChapter:()=>ee,getCurrentOnboardingData:()=>B,getCurrentStep:()=>X,getCurrentStepPath:()=>J,getDesignRoutes:()=>Q,getDrawerView:()=>A,getExperienceLevel:()=>ye,getExpertsUrl:()=>pe,getFirstStep:()=>Y,getHeaderMenuData:()=>ue,getHireExpertsUrl:()=>W,getLastStep:()=>K,getMigrationUrl:()=>ge,getNavErrorPath:()=>_e,getNewfoldBrand:()=>V,getNewfoldBrandConfig:()=>U,getNewfoldBrandName:()=>H,getNewfoldBrandUrl:()=>F,getNextStep:()=>re,getOnboardingFlow:()=>M,getOnboardingSocialData:()=>Z,getPluginInstallHash:()=>ve,getPreviewSettings:()=>le,getPreviousStep:()=>ne,getQueuePeek:()=>fe,getRoutes:()=>j,getSettings:()=>se,getShowErrorDialog:()=>be,getSidebarView:()=>ae,getSidebars:()=>oe,getStepFromPath:()=>te,getStepPreviewData:()=>de,getTechSupportUrl:()=>me,getThemeStatus:()=>ce,getTopPriority:()=>Ee,getTopSteps:()=>q,getfullServiceCreativeTeamUrl:()=>he,isDrawerOpened:()=>R,isDrawerSuppressed:()=>z,isHeaderNavigationEnabled:()=>$,isQueueEmpty:()=>we,isSidebarOpened:()=>ie});var a=n(6515);function o(e){var t;return window.nfdOnboarding={buildUrl:e.buildUrl,siteUrl:e.siteUrl,migrated:!0,currentFlow:null!==(t=e.currentFlow)&&void 0!==t?t:a.H,stepPreviewData:e.previewSettings.stepPreviewData},{type:"SET_RUNTIME",runtime:e}}function l(e){return{type:"SET_DRAWER_ACTIVE_VIEW",view:e}}function s(e){return{type:"SET_DRAWER_OPENED",isOpen:e}}function c(e){return{type:"SET_DRAWER_SUPPRESSED",isSuppressed:e}}function d(e){return{type:"SET_ACTIVE_FLOW",flow:e}}function u(e){return{type:"SET_ACTIVE_STEP",path:e=e.replace(/\/$/,"")}}function p(e){return{type:"SET_ACTIVE_CHAPTER",chapter:e}}function h(e){return{type:"SET_CURRENT_DATA",flowData:e}}function m(e){return{type:"SET_SOCIAL_DATA",socialData:e}}function g(e){return{type:"UPDATE_SETTINGS",settings:e}}function v(e){return{type:"UPDATE_THEME_STATUS",themeStatus:e}}function f(e){return{type:"SET_SIDEBAR_OPENED",isOpen:e}}function w(e){return{type:"SET_SIDEBAR_ACTIVE_VIEW",view:e}}function b(e){return{type:"SET_HEADER_NAVIGATION_ENABLED",isNavigationEnabled:e}}function _(e){return{type:"SET_PREVIEW_SETTINGS",previewSettings:e}}function y(e){return{type:"UPDATE_ROUTES",routes:e}}function E(e){return{type:"UPDATE_ALL_STEPS",allSteps:e}}function S(e){return{type:"UPDATE_TOP_STEPS",topSteps:e}}function k(e){return{type:"UPDATE_DESIGN_ROUTES",designRoutes:e}}function C(e){return{type:"UPDATE_HEADER_MENU_DATA",menu:e}}function x(e,t){return{type:"ENQUEUE_REQUEST",id:e,request:t}}function N(){return{type:"DEQUEUE_REQUEST"}}function T(){return{type:"FLUSH_QUEUE"}}function D(e){return{type:"SHOW_NAV_ERROR_DIALOG",showDialog:e}}function P(e){return{type:"SET_NAV_ERROR_CONTINUE_PATH",continuePath:e}}function I(){return{type:"RESET_NAV_ERROR"}}var L=n(2819),O=n(6483);function A(e){return e.drawer.view}function R(e){return e.drawer.isOpen}function z(e){return e.drawer.isSuppressed}function $(e){return e.header.isNavigationEnabled}function V(e){return e.runtime.currentBrand.brand}function H(e){return e.runtime.currentBrand.name}function U(e){return e.runtime.currentBrand.config}function F(e){return e.runtime.currentBrand.url}function W(e){const t=e.runtime.currentBrand.hireExpertsInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParameters)+((null==t?void 0:t.fragment)||"")}function B(e){return e.data.flowData}function Z(e){return e.data.socialData}function M(e){var t;return null!==(t=e.runtime.currentFlow)&&void 0!==t?t:a.H}function j(e){return e.flow.steps.routes}function G(e){return e.flow.steps.allSteps}function q(e){return e.flow.steps.topSteps}function Q(e){return e.flow.steps.designRoutes}function J(e){return e.flow.steps.currentStep}function Y(e){return e.flow.steps.allSteps[0]}function K(e){return e.flow.steps.allSteps[e.flow.steps.allSteps.length-1]}function X(e){return(0,L.filter)(e.flow.steps.allSteps,["path",e.flow.steps.currentStep])[0]}function ee(e){return e.flow.chapter}function te(e,t){return(0,L.filter)(e.flow.steps.allSteps,["path",t])[0]}function ne(e){const t=(0,L.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return 0===t?null:-1!==t&&e.flow.steps.allSteps[t-1]}function re(e){const t=e.flow.steps.allSteps.length-1,n=(0,L.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return t===n?null:-1!==n&&e.flow.steps.allSteps[n+1]}function ie(e){return e.sidebar.isOpen}function ae(e){return e.sidebar.view}function oe(e){return(0,L.filter)(e.sidebar.sidebars,["enabled",!0])}function le(e){return e.runtime.previewSettings.settings}function se(e){return e.settings}function ce(e){return e.settings.themeStatus}function de(e){return e.runtime.previewSettings.stepPreviewData}function ue(e){return e.header.menu}function pe(e){const t=e.runtime.currentBrand.expertsInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function he(e){const t=e.runtime.currentBrand.fullServiceCreativeTeamInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function me(e){const t=e.runtime.currentBrand.techSupportInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function ge(e){const t=e.runtime.currentBrand.migrationInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function ve(e){return e.runtime.pluginInstallHash}function fe(e){var t;return null!==(t=null==e?void 0:e.queue[0])&&void 0!==t?t:null}function we(e){var t;return 0===(null==e||null===(t=e.queue)||void 0===t?void 0:t.length)}function be(e){return e.flow.steps.error.showDialog}function _e(e){return e.flow.steps.error.continuePath}function ye(e){return e.data.flowData.data.wpComfortLevel}function Ee(e){return e.data.flowData.data.topPriority.priority1}var Se=n(9818),ke=n(2200),Ce=n(8548),xe=n(9307);const Ne=(0,xe.lazy)((()=>n.e(993).then(n.bind(n,1993)))),Te=(0,xe.lazy)((()=>n.e(310).then(n.bind(n,6310)))),De=[{id:ke.Jq,menu:Ne,sidebar:Te,enabled:!0}],Pe=async e=>{const t=e,n=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;t[0]&&await t[0][1]().then((t=>{t.error&&et.shift())).then(n)};return await n(),t},Ie={reducer:(0,Se.combineReducers)({drawer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isOpen:!1,isSuppressed:!1,view:ke.tM},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_DRAWER_OPENED":return{...e,isOpen:t.isOpen};case"SET_DRAWER_ACTIVE_VIEW":return{...e,view:t.view};case"SET_DRAWER_SUPPRESSED":return{...e,isSuppressed:t.isSuppressed,isOpen:!t.isSuppressed&&e.isOpen}}return e},runtime:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_RUNTIME":return{...e,...t.runtime};case"SET_PREVIEW_SETTINGS":return{...e,previewSettings:{...e.previewSettings,settings:t.previewSettings}}}return e},data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CURRENT_DATA":return{...e,flowData:{...t.flowData}};case"SET_SOCIAL_DATA":return{...e,socialData:{...t.socialData}}}return e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themeStatus:ke.a0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings};case"UPDATE_THEME_STATUS":return{...e,themeStatus:t.themeStatus}}return e},flow:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{flow:a.H,steps:{routes:Ce.Nr,allSteps:Ce.HA,topSteps:Ce.iD,designRoutes:Ce.Ub,currentStep:"",error:{showDialog:!1,continuePath:""}},chapter:void 0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_ACTIVE_STEP":return{...e,steps:{...e.steps,currentStep:t.path}};case"SET_ACTIVE_FLOW":return{...e,flow:t.flow};case"UPDATE_ROUTES":return{...e,steps:{...e.steps,routes:t.routes}};case"UPDATE_ALL_STEPS":return{...e,steps:{...e.steps,allSteps:t.allSteps}};case"UPDATE_TOP_STEPS":return{...e,steps:{...e.steps,topSteps:t.topSteps}};case"UPDATE_DESIGN_ROUTES":return{...e,steps:{...e.steps,designRoutes:t.designRoutes}};case"SHOW_NAV_ERROR_DIALOG":return{...e,steps:{...e.steps,error:{...e.steps.error,showDialog:t.showDialog}}};case"SET_NAV_ERROR_CONTINUE_PATH":return{...e,steps:{...e.steps,error:{...e.steps.error,continuePath:t.continuePath}}};case"RESET_NAV_ERROR":return{...e,steps:{...e.steps,error:{showDialog:!1,continuePath:""}}};case"SET_ACTIVE_CHAPTER":return{...e,chapter:t.chapter}}return e},sidebar:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isOpen:!1,view:"LearnMore",sidebars:De},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SIDEBAR_OPENED":return{...e,isOpen:t.isOpen};case"SET_SIDEBAR_ACTIVE_VIEW":return{...e,view:t.view}}return e},header:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isNavigationEnabled:!0,menu:""},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_HEADER_NAVIGATION_ENABLED":return{...e,isNavigationEnabled:t.isNavigationEnabled};case"UPDATE_HEADER_MENU_DATA":return{...e,menu:t.menu}}return e},queue:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENQUEUE_REQUEST":return e=e.filter((e=>e[0]!==t.id)),[...e,[t.id,t.request]];case"DEQUEUE_REQUEST":return[...e.slice(1)];case"FLUSH_QUEUE":return Pe(e),[]}return e}}),actions:r,selectors:i},Le=(0,Se.createReduxStore)("newfold/onboarding",Ie);(0,Se.register)(Le)},6342:(e,t,n)=>{"use strict";n.d(t,{Az:()=>a,Dv:()=>u,El:()=>g,En:()=>C,F8:()=>S,GX:()=>c,IV:()=>f,L7:()=>_,LW:()=>d,Ou:()=>r,Tg:()=>h,Xm:()=>k,Y3:()=>o,Z4:()=>m,_C:()=>y,eM:()=>w,hz:()=>p,pS:()=>l,pd:()=>i,ql:()=>v,r9:()=>E,rX:()=>b,uo:()=>x,xp:()=>s});const r="onboarding_started",i="onboarding_complete",a="pageview",o="onboarding_top_priority_set",l="onboarding_step_skipped",s="primary_type_set",c="secondary_type_set",d="experience_level_set",u="theme_style_selected",p="colors_selected",h="fonts_selected",m="header_selected",g="homepage_layout_selected",v="starter_pages_selected",f="feature_added",w="site_title_set",b="tagline_set",_="logo_added",y="onboarding_exited",E="onboarding_chapter_started",S="onboarding_chapter_complete",k="social_added",C="wonder_start",x={[o]:"top_priority",[l]:"step",[s]:"primary_type",[c]:"secondary_type",[d]:"experience_level",[u]:"theme_style",[p]:"color_palette",[h]:"font_set",[m]:"header",[g]:"layout",[v]:"pages",[f]:"feature",[w]:"title",[b]:"tagline",[y]:"step",[E]:"chapter",[S]:"chapter",[k]:"platform"}},8297:(e,t,n)=>{"use strict";n.d(t,{Z_:()=>a,hf:()=>s,uW:()=>l,tH:()=>o});var r=n(7207),i=n(6342);class a extends r.T{constructor(e,t,n,r){const a=s(e);super(i.En,e,{label_key:a,[a]:t,...n,page:r||window.location.href},i.En)}}const o=e=>r.v.track(e),l=e=>r.v.send(e),s=e=>{if(e in i.uo)return i.uo[e]}},3568:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(4704),i=n(6329),a=n(6989),o=n.n(a);async function l(e){return await(0,i.D)(o()({url:(0,r.FZ)("settings/coming-soon"),method:"POST",data:{comingSoon:e}}).then())}},4704:(e,t,n)=>{"use strict";n.d(t,{$L:()=>o,FZ:()=>i,hG:()=>a});var r=n(2200);const i=e=>{var t;return`${r.bQ}/${e}`+(null!==(t=window.nfdOnboarding)&&void 0!==t&&t.currentFlow?`&flow=${window.nfdOnboarding.currentFlow}`:"")},a=e=>`${r.Y1}/${e}`,o=e=>`${r.km}/${e}`},3768:(e,t,n)=>{"use strict";n.d(t,{Hs:()=>s,pn:()=>l,xb:()=>o});var r=n(6989),i=n.n(r),a=n(4704);const o=e=>0===Object.keys(e).length;async function l(){return i()({url:(0,a.$L)("settings")})}async function s(e){return i()({url:(0,a.$L)("settings"),method:"POST",data:e})}},7533:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,ME:()=>s,b5:()=>u,kB:()=>c});var r=n(6329),i=n(4704),a=n(6989),o=n.n(a);let l;async function s(){return await(0,r.D)(o()({url:(0,i.FZ)("flow")}).then())}async function c(e){l&&l.abort("New setFlow request placed!"),l=new AbortController;const{signal:t}=l;return await(0,r.D)(o()({url:(0,i.FZ)("flow"),signal:t,method:"POST",data:e}).then())}async function d(){return await(0,r.D)(o()({url:(0,i.FZ)("flow/complete"),method:"POST"}).then())}async function u(e){return await(0,r.D)(o()({url:(0,i.FZ)("flow/switch"),method:"POST",data:{flow:e}}).then())}},6138:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(6329),i=n(4704),a=n(6989),o=n.n(a);async function l(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return await(0,r.D)(o()({url:(0,i.FZ)("patterns"+(e?`&step=${e}&squash=${t}`:""))}).then())}},3421:(e,t,n)=>{"use strict";n.d(t,{S1:()=>c,jd:()=>u,yn:()=>d});var r=n(6989),i=n.n(r),a=n(4704),o=n(2853),l=n(6329),s=n(2200);const c=()=>{if((0,o.Ph)(s.tY))return!0;i()({url:(0,a.FZ)("plugins/initialize"),method:"POST",headers:{"X-NFD-INSTALLER":window.nfdOnboarding.pluginInstallHash}}).catch((e=>{console.error(e)}))},d=async()=>await(0,l.D)(i()({url:(0,a.FZ)("plugins/site-features")}));async function u(){return await(0,l.D)(i()({url:(0,a.FZ)("plugins/initialize/activate"),method:"POST"}).then())}},6329:(e,t,n)=>{"use strict";async function r(e){const t={body:null,error:null};try{t.body=await e}catch(e){t.error=e}return t}n.d(t,{D:()=>r})},8395:(e,t,n)=>{"use strict";n.d(t,{Gw:()=>s,I2:()=>c,j2:()=>d});var r=n(6989),i=n.n(r),a=n(6329),o=n(2200),l=n(4704);async function s(){return await(0,a.D)(i()({url:(0,l.FZ)("settings")}).then())}async function c(e){return await(0,a.D)(i()({url:(0,l.FZ)("settings"),method:"POST",data:e}).then())}const d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!(e>=o.wV)&&i()({url:(0,l.FZ)("settings/initialize"),method:"POST"}).catch((()=>{e+=1,d(e)}))}},7625:(e,t,n)=>{"use strict";n.d(t,{LK:()=>v,N9:()=>d,S1:()=>c,YL:()=>m,cw:()=>h,ko:()=>g,oC:()=>p,sN:()=>u});var r=n(6989),i=n.n(r),a=n(4704),o=n(6329),l=n(2853),s=n(2200);const c=()=>{if((0,l.Ph)(s.Vx))return!0;i()({url:(0,a.FZ)("themes/initialize"),method:"POST"}).catch((e=>{console.error(e)}))},d=async function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"==typeof e&&await(0,o.D)(i()({url:(0,a.hG)("themes/install"),method:"POST",data:{theme:e,activate:t,queue:n}}))},u=async function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"==typeof e&&await(0,o.D)(i()({url:(0,a.hG)("themes/expedite"),method:"POST",data:{theme:e,activate:t}}))},p=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return await(0,o.D)(i()({url:(0,a.FZ)("themes/variations&variations="+e)}).then())},h=async e=>await(0,o.D)(i()({url:(0,a.FZ)("themes/variations"),method:"POST",data:e}).then()),m=async e=>await(0,o.D)(i()({url:(0,a.hG)("themes/status"+(e?`&theme=${e}`:""))})),g=async()=>await(0,o.D)(i()({url:(0,a.FZ)("themes/fonts")})),v=async()=>await(0,o.D)(i()({url:(0,a.FZ)("themes/colors")}))},6690:(e,t,n)=>{"use strict";n.d(t,{NF:()=>y});var r=n(9307),i=n(2819),a=n(4981);const o=window.wp.styleEngine;var l=n(2175);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return null;const{coerceTo:n,rootSizeValue:r,acceptableUnits:i}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...t},a=null==i?void 0:i.join("|"),o=new RegExp(`^(\\d*\\.?\\d+)(${a}){1,1}$`),l=e.match(o);if(!l||l.length<3)return null;let[,s,c]=l,d=parseFloat(s);return"px"!==n||"em"!==c&&"rem"!==c||(d*=r,c=n),"px"!==c||"em"!==n&&"rem"!==n||(d/=r,c=n),{value:d,unit:c}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return Number.isFinite(e)?parseFloat(e.toFixed(t)):void 0}const d="body",u=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],cssVarInfix:"duotone",valueFunc:e=>{let{slug:t}=e;return`url( '#wp-duotone-${t}' )`},classes:[]},{path:["typography","fontSizes"],valueFunc:(e,t)=>{let{typography:n}=t;return function(e,t){const{size:n}=e;if(!0!==(null==t?void 0:t.fluid))return n;if(!1===(null==e?void 0:e.fluid))return n;const r=(null==e?void 0:e.fluid)||{};let i=null==r?void 0:r.min,a=null==r?void 0:r.max;const o=s(n);return null!=o&&o.unit?(i||(i=.75*o.value+o.unit),a||(a=1.5*o.value+o.unit),function(e){let{maximumViewPortWidth:t,minimumViewPortWidth:n,maximumFontSize:r,minimumFontSize:i,scaleFactor:a}=e;const o=s(i),l=(null==o?void 0:o.unit)||"rem",d=s(r,{coerceTo:l});if(!o||!d)return null;const u=s(i,{coerceTo:"rem"}),p=s(t,{coerceTo:l}),h=s(n,{coerceTo:l});if(!p||!h||!u)return null;const m=c(h.value/100,3)+l;let g=(d.value-o.value)/(p.value-h.value)*100;g=c(g,3)||1;const v=g*a;return`clamp(${i}, ${u.value}${u.unit} + ((1vw - ${m}) * ${v}), ${r})`}({maximumViewPortWidth:"1600px",minimumViewPortWidth:"768px",maximumFontSize:a,minimumFontSize:i,scaleFactor:1})||n):n}(e,n)},valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:e=>{let{size:t}=e;return t},classes:[]}],p={__experimentalBorder:"border",color:"color",spacing:"spacing",typography:"typography"};function h(e){var t;const n="var:";return null!=e&&null!==(t=e.startsWith)&&void 0!==t&&t.call(e,n)?`var(--wp--${e.slice(n.length).split("|").join("--")})`:e}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.reduce)(u,((n,r)=>{let{path:a,cssVarInfix:o,classes:l}=r;if(!l)return n;const s=(0,i.get)(t,a,[]);return s&&Array.isArray(s)&&s.forEach((t=>{let{slug:r}=t;l.forEach((t=>{let{classSuffix:a,propertyName:l}=t;const s=`.has-${(0,i.kebabCase)(r)}-${a}`,c=e.split(",").map((e=>`${e}${s}`)).join(","),d=`var(--wp--preset--${o}--${(0,i.kebabCase)(r)})`;n+=`${c}{${l}: ${d} !important;}`}))})),n}),"")}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[];return Object.keys(e).forEach((a=>{const o=t+(0,i.kebabCase)(a.replace("/","-")),l=e[a];if(l instanceof Object){const e=o+n;r=[...r,...g(l,e,n)]}else r.push(`${o}: ${l}`)})),r}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const l=d===t,s=(0,i.reduce)(a.__EXPERIMENTAL_STYLE_PROPERTY,((t,r,a)=>{let{value:o,properties:s,rootOnly:c}=r;if(c&&!l)return t;const d=o;if("elements"===d[0])return t;const u=(0,i.get)(e,d);if("--wp--style--root--padding"===a&&("string"==typeof u||!n))return t;if(s&&"string"!=typeof u)Object.entries(s).forEach((e=>{const[n,r]=e;if(!(0,i.get)(u,[r],!1))return;const a=n.startsWith("--")?n:(0,i.kebabCase)(n);t.push(`${a}: ${h((0,i.get)(u,[r]))}`)}));else if((0,i.get)(e,d,!1)){const n=a.startsWith("--")?a:(0,i.kebabCase)(a);t.push(`${n}: ${h((0,i.get)(e,d))}`)}return t}),[]),c=(0,o.getCSSRules)(e);return c.forEach((e=>{var t;if(l&&n&&e.key.startsWith("padding"))return;const a=e.key.startsWith("--")?e.key:(0,i.kebabCase)(e.key);let o=e.value;if("string"!=typeof o&&null!==(t=o)&&void 0!==t&&t.ref){var c;const e=o.ref.split(".");if(o=(0,i.get)(r,e),!o||null!==(c=o)&&void 0!==c&&c.ref)return}s.push(`${a}: ${o}`)})),s}function f(e){var t,n,r,i,a;let{tree:o,style:s,selector:c,hasBlockGapSupport:u,hasFallbackGapSupport:p,fallbackGapValue:h}=e,m="",g=u?(0,l.__experimentalGetGapCSSValue)(null==s||null===(t=s.spacing)||void 0===t?void 0:t.blockGap):"";if(p&&(c===d?g=g||"0.5em":!u&&h&&(g=h)),g&&null!=o&&null!==(n=o.settings)&&void 0!==n&&null!==(r=n.layout)&&void 0!==r&&r.definitions&&(Object.values(o.settings.layout.definitions).forEach((e=>{let{className:t,name:n,spacingStyles:r}=e;(u||"flex"===n)&&null!=r&&r.length&&r.forEach((e=>{const n=[];if(e.rules&&Object.entries(e.rules).forEach((e=>{let[t,r]=e;n.push(`${t}: ${r||g}`)})),n.length){let r="";r=u?c===d?`${c} .${t}${(null==e?void 0:e.selector)||""}`:`${c}.${t}${(null==e?void 0:e.selector)||""}`:c===d?`:where(.${t}${(null==e?void 0:e.selector)||""})`:`:where(${c}.${t}${(null==e?void 0:e.selector)||""})`,m+=`${r} { ${n.join("; ")}; }`}}))})),c===d&&u&&(m+=`${c} { --wp--style--block-gap: ${g}; }`)),c===d&&null!=o&&null!==(i=o.settings)&&void 0!==i&&null!==(a=i.layout)&&void 0!==a&&a.definitions){const e=["block","flex","grid"];Object.values(o.settings.layout.definitions).forEach((t=>{let{className:n,displayMode:r,baseStyles:i}=t;r&&e.includes(r)&&(m+=`${c} .${n} { display:${r}; }`),null!=i&&i.length&&i.forEach((e=>{const t=[];if(e.rules&&Object.entries(e.rules).forEach((e=>{let[n,r]=e;t.push(`${n}: ${r}`)})),t.length){const r=`${c} .${n}${(null==e?void 0:e.selector)||""}`;m+=`${r} { ${t.join("; ")}; }`}}))}))}return m}const w=(e,t)=>{var n,r;const o=[];if(null==e||!e.styles)return o;const l=e=>(0,i.pickBy)(e,((e,t)=>["border","color","spacing","typography","filter"].includes(t))),s=l(e.styles);return s&&o.push({styles:s,selector:d}),Object.entries(a.__EXPERIMENTAL_ELEMENTS).forEach((t=>{var n,r;let[i,a]=t;var l;null!==(n=e.styles)&&void 0!==n&&n.elements&&null!==(r=e.styles)&&void 0!==r&&r.elements[i]&&o.push({styles:null===(l=e.styles)||void 0===l?void 0:l.elements[i],selector:a})})),Object.entries(null!==(n=null===(r=e.styles)||void 0===r?void 0:r.blocks)&&void 0!==n?n:{}).forEach((e=>{var n,r;let[i,s]=e;const c=l(s);c&&null!=t&&null!==(n=t[i])&&void 0!==n&&n.selector&&o.push({duotoneSelector:t[i].duotoneSelector,fallbackGapValue:t[i].fallbackGapValue,hasLayoutSupport:t[i].hasLayoutSupport,selector:t[i].selector,styles:c,featureSelectors:t[i].featureSelectors}),Object.entries(null!==(r=null==s?void 0:s.elements)&&void 0!==r?r:{}).forEach((e=>{let[n,r]=e;r&&null!=t&&t[i]&&null!==a.__EXPERIMENTAL_ELEMENTS&&void 0!==a.__EXPERIMENTAL_ELEMENTS&&a.__EXPERIMENTAL_ELEMENTS[n]&&o.push({styles:r,selector:t[i].selector.split(",").map((e=>a.__EXPERIMENTAL_ELEMENTS[n].split(",").map((t=>e+" "+t)))).join(",")})}))})),o},b=(e,t)=>{var n,r,a;const o=[];if(null==e||!e.settings)return o;const l=e=>{const t={};return u.forEach((n=>{let{path:r}=n;const a=(0,i.get)(e,r,!1);!1!==a&&(0,i.set)(t,r,a)})),t},s=l(e.settings),c=null===(n=e.settings)||void 0===n?void 0:n.custom;return(0,i.isEmpty)(s)&&!c||o.push({presets:s,custom:c,selector:d}),Object.entries(null!==(r=null===(a=e.settings)||void 0===a?void 0:a.blocks)&&void 0!==r?r:{}).forEach((e=>{let[n,r]=e;const a=l(r),s=r.custom;(0,i.isEmpty)(a)&&!s||o.push({presets:a,custom:s,selector:t[n].selector})})),o},_=(e,t)=>{const n=b(e,t);let r="";return n.forEach((t=>{let{presets:n,custom:a,selector:o}=t;const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,i.reduce)(u,((n,r)=>{let{path:a,valueKey:o,valueFunc:l,cssVarInfix:s}=r;const c=(0,i.get)(e,a,[]);return c&&Array.isArray(c)&&c.forEach((e=>{o&&!l?n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${e[o]}`):l&&"function"==typeof l&&n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${l(e,t)}`)})),n}),[])}(n,null==e?void 0:e.settings),s=g(a,"--wp--custom--","--");s.length>0&&l.push(...s),l.length>0&&(r+=`${o}{${l.join(";")};}`)})),r};function y(e,t){var n;const o=t.settings.__experimentalFeatures.spacing.blockGap,s=!o,c=null===(n=t.settings)||void 0===n||!n.disableLayoutStyles||t.settings.disableLayoutStyles;if(!(null!=e&&e.styles||null!=e&&e.settings||null!=e&&e.globalStyles))return;const h={settings:e.settings,styles:null!=e&&e.globalStyles?e.globalStyles:e.styles},g=(e=>{const t={};return e.forEach((e=>{var n,r,i,a,o,l,s,c,d;const u=e.name,h=null!==(n=null==e||null===(r=e.supports)||void 0===r?void 0:r.__experimentalSelector)&&void 0!==n?n:".wp-block-"+u.replace("core/","").replace("/","-"),m=null!==(i=null==e||null===(a=e.supports)||void 0===a||null===(o=a.color)||void 0===o?void 0:o.__experimentalDuotone)&&void 0!==i?i:null,g=!(null==e||null===(l=e.supports)||void 0===l||!l.__experimentalLayout),v=null==e||null===(s=e.supports)||void 0===s||null===(c=s.spacing)||void 0===c||null===(d=c.blockGap)||void 0===d?void 0:d.__experimentalDefault,f={};Object.entries(p).forEach((t=>{var n,r;let[i,a]=t;const o=null==e||null===(n=e.supports)||void 0===n||null===(r=n[i])||void 0===r?void 0:r.__experimentalSelector;o&&(f[a]=function(e,t){const n=e.split(","),r=t.split(","),i=[];return n.forEach((e=>{r.forEach((t=>{i.push(`${e.trim()} ${t.trim()}`)}))})),i.join(", ")}(h,o))})),t[u]={duotoneSelector:m,fallbackGapValue:v,featureSelectors:Object.keys(f).length?f:void 0,hasLayoutSupport:g,name:u,selector:h}})),t})((0,a.getBlockTypes)()),y=_(h,g),E=function(e,t,n,r){var a,o;let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const c=w(e,t),u=b(e,t),p=null==e||null===(a=e.settings)||void 0===a?void 0:a.useRootPaddingAwareAlignments,{contentSize:h,wideSize:g}=(null==e||null===(o=e.settings)||void 0===o?void 0:o.layout)||{};let _="body {margin: 0;";if(h&&(_+=` --wp--style--global--content-size: ${h};`),g&&(_+=` --wp--style--global--wide-size: ${g};`),p&&(_+='padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) } \n\t\t\t .has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) { padding-right: 0; padding-left: 0; } \n\t\t\t .has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull { margin-right: 0; margin-left: 0; } \n\t\t\t .has-global-padding > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: 0; padding-left: 0;'),_+="}",c.forEach((t=>{let{selector:i,duotoneSelector:a,styles:o,fallbackGapValue:l,hasLayoutSupport:c,featureSelectors:u}=t;u&&Object.entries(u).forEach((e=>{let[t,n]=e;if(null!=o&&o[t]){const e=v({[t]:o[t]});delete o[t],e.length&&(_+=`${n}{${e.join(";")} }`)}}));const h={};if(null!=o&&o.filter&&(h.filter=o.filter,delete o.filter),a){const e=v(h);e.length>0&&(_+=`${a}{${e.join(";")};}`)}s||d!==i&&!c||(_+=f({tree:e,style:o,selector:i,hasBlockGapSupport:n,hasFallbackGapSupport:r,fallbackGapValue:l}));const m=v(o,i,p,e);null!=m&&m.length&&(_+=`${i}{${m.join(";")};}`);const g=Object.entries(o).filter((e=>{let[t]=e;return t.startsWith(":")}));null!=g&&g.length&&g.forEach((e=>{let[t,n]=e;const r=v(n);if(null==r||!r.length)return;const a=`${i.split(",").map((e=>e+t)).join(",")}{${r.join(";")};}`;_+=a}))})),_+=".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",_+=".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",_+=".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }",!s&&n){var y,E;const t=(0,l.__experimentalGetGapCSSValue)(null==e||null===(y=e.styles)||void 0===y||null===(E=y.spacing)||void 0===E?void 0:E.blockGap)||"0.5em";_+=".wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }",_+=`.wp-site-blocks > * + * { margin-block-start: ${t}; }`}return u.forEach((e=>{let{selector:t,presets:n}=e;d===t&&(t="");const r=m(t,n);(0,i.isEmpty)(r)||(_+=r)})),_}(h,g,o,s,c),S=function(e,t){return b(e,t).flatMap((e=>{let{presets:t}=e;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u.filter((e=>"duotone"===e.path.at(-1))).flatMap((t=>{const n=(0,i.get)(e,t.path,{});return["default","theme"].filter((e=>n[e])).flatMap((e=>n[e].map((e=>(0,r.createElement)(l.__unstablePresetDuotoneFilter,{preset:e,key:e.slug})))))}))}(t)}))}(h,g),k=[...t.settings.styles.filter((e=>!(e.hasOwnProperty("id")&&("customProperty"===e.id||"globalStyle"===e.id)))),{id:"customProperty",css:y,isGlobalStyles:!0},{id:"globalStyle",css:E,isGlobalStyles:!0},{assets:S,__unstableType:"svg",isGlobalStyles:!0}];return e.settings.styles=k,e.settings.__unstableResolvedAssets=t.settings.__unstableResolvedAssets,e.settings.__experimentalFeatures=t.settings.__experimentalFeatures,e}},2853:(e,t,n)=>{"use strict";n.d(t,{Ph:()=>a,gq:()=>l,iO:()=>o});var r=n(6483),i=n(2819);const a=e=>new URLSearchParams(window.location.search).get(e),o=(e,t)=>(0,r.hasQueryArg)(e,t)?(0,r.removeQueryArgs)(e,t):e,l=e=>(0,i.transform)(e,((e,t,n)=>{e[(0,i.snakeCase)(n)]=t}))},1392:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(6515),i=n(5736);const a={[r.H]:{site:{noun:(0,i._x)("site","noun","wp-module-onboarding")},website:{noun:(0,i._x)("website","noun","wp-module-onboarding")}},[r._]:{site:{noun:(0,i._x)("store","noun","wp-module-onboarding")},website:{noun:(0,i._x)("store","noun","wp-module-onboarding")}}},o=function(e){var t,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"noun";const o=(null===(t=window)||void 0===t||null===(n=t.nfdOnboarding)||void 0===n?void 0:n.currentFlow)||r.H,l=a[o][e.toLowerCase()][i];return e===e.toUpperCase()?l.toUpperCase():e[0]===e[0].toUpperCase()?l[0].toUpperCase()+l.substring(1):l}},2200:(e,t,n)=>{"use strict";n.d(t,{$3:()=>q,$E:()=>G,Az:()=>J,BP:()=>y,Bv:()=>A,DY:()=>H,Ei:()=>L,GV:()=>B,JB:()=>c,Jq:()=>O,R2:()=>x,Rq:()=>Z,Vx:()=>V,Y1:()=>v,Yl:()=>_,Zh:()=>W,_h:()=>k,a0:()=>U,bQ:()=>g,br:()=>w,dD:()=>d,dv:()=>P,iX:()=>Q,km:()=>m,lE:()=>S,mz:()=>D,nx:()=>T,pf:()=>p,qB:()=>I,qO:()=>N,qR:()=>C,tM:()=>b,tX:()=>E,tY:()=>$,tg:()=>M,uK:()=>j,uj:()=>z,vv:()=>F,wV:()=>R});var r,i,a,o,l,s=n(6483);const c="nfd-onboarding",d="object"==typeof(null===(r=window)||void 0===r?void 0:r.nfdOnboarding)&&"buildUrl"in window.nfdOnboarding,u=window.nfdOnboarding.adminUrl,p=window.nfdOnboarding.siteUrl,h=window.nfdOnboarding.restUrl,m=`${h}/wp/v2`,g=`${h}/newfold-onboarding/v1`,v=`${h}/newfold-installer/v1`,f=(0,s.addQueryArgs)(`${u}index.php`,null===(i=window.nfdOnboarding.currentBrand)||void 0===i?void 0:i.dashboardRedirectParams),w=null!==(a=(0,s.addQueryArgs)(null===(o=window.nfdOnboarding.currentBrand)||void 0===o?void 0:o.pluginDashboardPage,null===(l=window.nfdOnboarding.currentBrand)||void 0===l?void 0:l.dashboardRedirectParams))&&void 0!==a?a:f,b="nav-primary",_="nav-design",y="nav-page",E="design-themes",S="design-theme-styles-menu",k="design-theme-styles-preview",C="design-colors",x="design-fonts",N="design-header-menu",T="design-homepage-menu",D="nav-get-started",P="nav-ecommerce-store-info",I="Sidebar",L="HeaderMenu",O="LearnMore",A=2,R=2,z=2,$="nfd_plugins",V="nfd_themes",H="nfd_slug_yith_wonder",U="init",F="inactive",W="installing",B="activated",Z="failed",M="demographic",j="commerce",G="design",q="layout_and_content",Q="features",J={SET_FLOW:"SET_FLOW",SET_GLOBAL_STYLES:"SET_GLOBAL_STYLES"}},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t{"use strict";n.d(t,{AW:()=>N,F0:()=>T,FR:()=>l,TH:()=>m,Us:()=>s,WU:()=>f,Z5:()=>D,oQ:()=>p,s0:()=>v});var r=n(9196),i=n(2599);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),r.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))}),[e,t])}():function(){h()||(0,i.J0)(!1);let{basename:e,navigator:t}=r.useContext(s),{matches:n}=r.useContext(d),{pathname:a}=m(),o=JSON.stringify((0,i.Zq)(n).map((e=>e.pathnameBase))),l=r.useRef(!1);return g((()=>{l.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!l.current)return;if("number"==typeof n)return void t.go(n);let s=(0,i.pC)(n,JSON.parse(o),a,"path"===r.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:(0,i.RQ)([e,s.pathname])),(r.replace?t.replace:t.push)(s,r.state,r)}),[e,t,o,a])}()}function f(e,t){let{relative:n}=void 0===t?{}:t,{matches:a}=r.useContext(d),{pathname:o}=m(),l=JSON.stringify((0,i.Zq)(a).map((e=>e.pathnameBase)));return r.useMemo((()=>(0,i.pC)(e,JSON.parse(l),o,"path"===n)),[e,l,o,n])}function w(e,t,n){h()||(0,i.J0)(!1);let{navigator:o}=r.useContext(s),{matches:l}=r.useContext(d),u=l[l.length-1],p=u?u.params:{},g=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let v,f=m();if(t){var w;let e="string"==typeof t?(0,i.cP)(t):t;"/"===g||(null==(w=e.pathname)?void 0:w.startsWith(g))||(0,i.J0)(!1),v=e}else v=f;let b=v.pathname||"/",S="/"===g?b:b.slice(g.length)||"/",k=(0,i.fp)(e,{pathname:S}),C=function(e,t,n){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var o;if(null==(o=n)||!o.errors)return null;e=n.matches}let l=e,s=null==(a=n)?void 0:a.errors;if(null!=s){let e=l.findIndex((e=>e.route.id&&(null==s?void 0:s[e.route.id])));e>=0||(0,i.J0)(!1),l=l.slice(0,Math.min(l.length,e+1))}return l.reduceRight(((e,i,a)=>{let o=i.route.id?null==s?void 0:s[i.route.id]:null,c=null;n&&(c=i.route.errorElement||_);let d=t.concat(l.slice(0,a+1)),u=()=>{let t;return t=o?c:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(E,{match:i,routeContext:{outlet:e,matches:d,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===a)?r.createElement(y,{location:n.location,revalidation:n.revalidation,component:c,error:o,children:u(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):u()}),null)}(k&&k.map((e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:(0,i.RQ)([g,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:(0,i.RQ)([g,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n);return t&&C?r.createElement(c.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:i.aU.Pop}},C):C}function b(){let e=function(){var e;let t=r.useContext(u),n=function(e){let t=r.useContext(l);return t||(0,i.J0)(!1),t}(k.UseRouteError),a=x(k.UseRouteError);return t||(null==(e=n.errors)?void 0:e[a])}(),t=(0,i.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const _=r.createElement(b,null);class y extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(d.Provider,{value:this.props.routeContext},r.createElement(u.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function E(e){let{routeContext:t,match:n,children:i}=e,a=r.useContext(o);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(d.Provider,{value:t},i)}var S,k,C;function x(e){let t=function(e){let t=r.useContext(d);return t||(0,i.J0)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,i.J0)(!1),n.route.id}function N(e){(0,i.J0)(!1)}function T(e){let{basename:t="/",children:n=null,location:a,navigationType:o=i.aU.Pop,navigator:l,static:d=!1}=e;h()&&(0,i.J0)(!1);let u=t.replace(/^\/*/,"/"),p=r.useMemo((()=>({basename:u,navigator:l,static:d})),[u,l,d]);"string"==typeof a&&(a=(0,i.cP)(a));let{pathname:m="/",search:g="",hash:v="",state:f=null,key:w="default"}=a,b=r.useMemo((()=>{let e=(0,i.Zn)(m,u);return null==e?null:{location:{pathname:e,search:g,hash:v,state:f,key:w},navigationType:o}}),[u,m,g,v,f,w,o]);return null==b?null:r.createElement(s.Provider,{value:p},r.createElement(c.Provider,{children:n,value:b}))}function D(e){let{children:t,location:n}=e;return w(P(t),n)}function P(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,a)=>{if(!r.isValidElement(e))return;let o=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,P(e.props.children,o));e.type!==N&&(0,i.J0)(!1),e.props.index&&e.props.children&&(0,i.J0)(!1);let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=P(e.props.children,o)),n.push(l)})),n}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(S||(S={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(k||(k={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(C||(C={})),new Promise((()=>{})),r.Component},9196:e=>{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},2175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},7798:e=>{"use strict";e.exports=window.wp.coreData},9818:e=>{"use strict";e.exports=window.wp.data},5904:e=>{"use strict";e.exports=window.wp.dom},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},9630:e=>{"use strict";e.exports=window.wp.keycodes},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>e+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="newfold.Onboarding:",i.l=(n,r,a,o)=>{if(e[n])e[n].push(r);else{var l,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d{l.onerror=l.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),i&&i.forEach((e=>e(r))),t)return t(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),s&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e={343:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=a);var o=i.p+i.u(t),l=new Error;i.l(o,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[o,l,s]=n,c=0;if(o.some((t=>0!==e[t]))){for(r in l)i.o(l,r)&&(i.m[r]=l[r]);s&&s(i)}for(t&&t(n);c{"use strict";i.r(a);var e={};i.r(e),i.d(e,{disableComplementaryArea:()=>Ge,enableComplementaryArea:()=>je,pinItem:()=>qe,setDefaultComplementaryArea:()=>Me,setFeatureDefaults:()=>Ke,setFeatureValue:()=>Ye,toggleFeature:()=>Je,unpinItem:()=>Qe});var t={};i.r(t),i.d(t,{getActiveComplementaryArea:()=>Xe,isComplementaryAreaLoading:()=>et,isFeatureActive:()=>nt,isItemPinned:()=>tt});var n=i(2200);const r=window.wp.domReady;var o=i.n(r);const l=window.wp.blockLibrary;var s=i(9307),c=i(2503),d=i(7533),u=i(3421),p=i(7625),h=i(6989),m=i.n(h);const g=()=>{m()({url:`${n.pf}/wp-cron.php`,method:"GET",parse:!1}).catch((e=>{console.error(e)}))};var v=i(8395),f=i(5609),w=i(9818),b=i(9250),_=i(1984),y=i(4310),E=i(5024),S=i(5736),k=i(8297),C=i(6342);const x=e=>{let{path:t,showErrorDialog:n}=e;const{setNavErrorContinuePath:r}=(0,w.useDispatch)(c.h),i=(0,b.s0)();return(0,s.createElement)(f.Button,{className:"navigation-buttons navigation-buttons_back",onClick:()=>{!1!==n?r(t):i(t,{state:{origin:"header"}})},variant:"secondary"},(0,s.createElement)(_.Z,{icon:y.Z}),(0,S.__)("Back","wp-module-onboarding"))},N=e=>{let{path:t,showErrorDialog:n}=e;const{setNavErrorContinuePath:r}=(0,w.useDispatch)(c.h),i=(0,b.s0)();return(0,s.createElement)(f.Button,{onClick:()=>{!1!==n?r(t):i(t,{state:{origin:"header"}})},variant:"primary",className:"navigation-buttons navigation-buttons_next"},(0,S.__)("Next","wp-module-onboarding"),(0,s.createElement)(_.Z,{icon:E.Z}))};async function T(e){e&&(e.isComplete=(new Date).getTime(),(0,d.kB)(e)),(0,u.jd)(),(0,k.uW)(new k.Z_(C.pd)),window.location.replace(n.br)}const D=e=>{let{currentData:t,saveDataAndExitFunc:n}=e;return(0,s.createElement)(f.Button,{onClick:()=>n(t),className:"navigation-buttons navigation-buttons_finish",variant:"primary"},(0,S.__)("Finish","wp-module-onboarding"),(0,s.createElement)(_.Z,{icon:E.Z}))},P=()=>{const{previousStep:e,nextStep:t,currentData:n,showErrorDialog:r}=(0,w.useSelect)((e=>({nextStep:e(c.h).getNextStep(),previousStep:e(c.h).getPreviousStep(),currentData:e(c.h).getCurrentOnboardingData(),showErrorDialog:e(c.h).getShowErrorDialog()})),[]),i=null===e||!1===e,a=null===t||!1===t;return(0,s.createElement)("div",{className:"nfd-onboarding-header__step-navigation"},(0,s.createElement)(f.ButtonGroup,{style:{display:"flex",columnGap:"0.5rem"}},i||a?null:(0,s.createElement)(x,{path:e.path,showErrorDialog:r}),a?(0,s.createElement)(D,{currentData:n,saveDataAndExitFunc:T}):(0,s.createElement)(N,{path:t.path,showErrorDialog:r})))},I=()=>{const{sidebars:e,isHeaderNavigationEnabled:t}=(0,w.useSelect)((e=>({sidebars:e(c.h).getSidebars(),isHeaderNavigationEnabled:e(c.h).isHeaderNavigationEnabled()})));return(0,s.createElement)(s.Fragment,null,t&&(0,s.createElement)(P,null),e.map((e=>(0,s.createElement)(f.Slot,{key:e.id,name:`${n.Ei}/${e.id}`}))))},L=(0,s.memo)((()=>(0,s.createElement)("div",{className:"nfd-onboarding-header"},(0,s.createElement)("div",{className:"nfd-onboarding-header__center"}),(0,s.createElement)("div",{className:"nfd-onboarding-header__end"},(0,s.createElement)(I,null)))));var O=i(6483),A=i(2819),R=i(9885),z=i(9343),$=i(4433),V=i(8244),H=i(1715),U=i(1809);const F=[$.E,z.B,V.c,U.p,H.R],W=e=>F.filter((t=>t.id===e)),B=(e,t,n)=>{const r={};return e.forEach((e=>t[e.id]?r[e.id]=t[e.id]:r[e.id]={completed:!1,firstStep:e.steps[0].path,lastStep:(null==n?void 0:n.chapter)===e.id&&null!=n&&n.path?null==n?void 0:n.path:""})),r};var Z=i(8548),M=i(6515),j=i(2853),G=i(35),q=i(1392);const Q=()=>{const{brandName:e}=(0,w.useSelect)((e=>({brandName:e(c.h).getNewfoldBrandName()})),[]),t=(e=>({title:(0,S.sprintf)( +(0,a.__)("In the next steps and in the future, you can change the specific colors and fonts to fit your aesthetic vision for your %s.","wp-module-onboarding"),(0,c.I)("site"))}]},help:{fullService:{text:(0,a.__)("Hire Our Full-Service Creative Studio","wp-module-onboarding"),link:n},support:{text:(0,a.__)("Technical Support","wp-module-onboarding"),link:t}}}))(w,b,_);return(0,i.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__design-theme-styles-preview"},(0,i.createElement)(v,{heading:E.introduction.heading,subheading:E.introduction.subheading,icon:E.introduction.icon}),!1!==(null==y||null===(e=y.views)||void 0===e||null===(t=e.sidebar)||void 0===t||null===(n=t.illustration)||void 0===n?void 0:n.shown)&&(0,i.createElement)(u,{cssIcon:E.illustration.icon}),(0,i.createElement)(p,{headingWithDescriptions:E.information.headingWithDescriptions}),(0,i.createElement)(h,null,!1!==(null==y||null===(r=y.views)||void 0===r||null===(o=r.sidebar)||void 0===o||null===(f=o.fullService)||void 0===f?void 0:f.shown)&&E.help.fullService.link&&(0,i.createElement)(m,{text:E.help.fullService.text,onClick:()=>window.open(E.help.fullService.link,"_blank")}),(0,i.createElement)(g,{text:E.help.support.text,link:E.help.support.link})))}]}},data:{designDrawerActiveLinkIncludes:"/wp-setup/step/design/theme-styles/",patternId:"theme-styles"}})},2503:(e,t,n)=>{"use strict";n.d(t,{h:()=>Le});var r={};n.r(r),n.d(r,{dequeueRequest:()=>N,enqueueRequest:()=>x,flushQueue:()=>T,resetNavError:()=>I,setActiveChapter:()=>p,setActiveFlow:()=>d,setActiveStep:()=>u,setCurrentOnboardingData:()=>h,setDrawerActiveView:()=>l,setHeaderMenuData:()=>C,setIsDrawerOpened:()=>s,setIsDrawerSuppressed:()=>c,setIsHeaderNavigationEnabled:()=>b,setIsSidebarOpened:()=>f,setNavErrorContinuePath:()=>P,setOnboardingSocialData:()=>m,setRuntime:()=>o,setSidebarActiveView:()=>w,showNavErrorDialog:()=>D,updateAllSteps:()=>E,updateDesignRoutes:()=>k,updatePreviewSettings:()=>_,updateRoutes:()=>y,updateSettings:()=>g,updateThemeStatus:()=>v,updateTopSteps:()=>S});var i={};n.r(i),n.d(i,{getAllSteps:()=>G,getCurrentChapter:()=>ee,getCurrentOnboardingData:()=>B,getCurrentStep:()=>X,getCurrentStepPath:()=>J,getDesignRoutes:()=>Q,getDrawerView:()=>A,getExperienceLevel:()=>ye,getExpertsUrl:()=>pe,getFirstStep:()=>Y,getHeaderMenuData:()=>ue,getHireExpertsUrl:()=>F,getLastStep:()=>K,getMigrationUrl:()=>ge,getNavErrorPath:()=>_e,getNewfoldBrand:()=>V,getNewfoldBrandConfig:()=>U,getNewfoldBrandName:()=>H,getNewfoldBrandUrl:()=>W,getNextStep:()=>re,getOnboardingFlow:()=>M,getOnboardingSocialData:()=>Z,getPluginInstallHash:()=>ve,getPreviewSettings:()=>le,getPreviousStep:()=>ne,getQueuePeek:()=>fe,getRoutes:()=>j,getSettings:()=>se,getShowErrorDialog:()=>be,getSidebarView:()=>ae,getSidebars:()=>oe,getStepFromPath:()=>te,getStepPreviewData:()=>de,getTechSupportUrl:()=>me,getThemeStatus:()=>ce,getTopPriority:()=>Ee,getTopSteps:()=>q,getfullServiceCreativeTeamUrl:()=>he,isDrawerOpened:()=>R,isDrawerSuppressed:()=>z,isHeaderNavigationEnabled:()=>$,isQueueEmpty:()=>we,isSidebarOpened:()=>ie});var a=n(6515);function o(e){var t;return window.nfdOnboarding={buildUrl:e.buildUrl,siteUrl:e.siteUrl,migrated:!0,currentFlow:null!==(t=e.currentFlow)&&void 0!==t?t:a.H,stepPreviewData:e.previewSettings.stepPreviewData},{type:"SET_RUNTIME",runtime:e}}function l(e){return{type:"SET_DRAWER_ACTIVE_VIEW",view:e}}function s(e){return{type:"SET_DRAWER_OPENED",isOpen:e}}function c(e){return{type:"SET_DRAWER_SUPPRESSED",isSuppressed:e}}function d(e){return{type:"SET_ACTIVE_FLOW",flow:e}}function u(e){return{type:"SET_ACTIVE_STEP",path:e=e.replace(/\/$/,"")}}function p(e){return{type:"SET_ACTIVE_CHAPTER",chapter:e}}function h(e){return{type:"SET_CURRENT_DATA",flowData:e}}function m(e){return{type:"SET_SOCIAL_DATA",socialData:e}}function g(e){return{type:"UPDATE_SETTINGS",settings:e}}function v(e){return{type:"UPDATE_THEME_STATUS",themeStatus:e}}function f(e){return{type:"SET_SIDEBAR_OPENED",isOpen:e}}function w(e){return{type:"SET_SIDEBAR_ACTIVE_VIEW",view:e}}function b(e){return{type:"SET_HEADER_NAVIGATION_ENABLED",isNavigationEnabled:e}}function _(e){return{type:"SET_PREVIEW_SETTINGS",previewSettings:e}}function y(e){return{type:"UPDATE_ROUTES",routes:e}}function E(e){return{type:"UPDATE_ALL_STEPS",allSteps:e}}function S(e){return{type:"UPDATE_TOP_STEPS",topSteps:e}}function k(e){return{type:"UPDATE_DESIGN_ROUTES",designRoutes:e}}function C(e){return{type:"UPDATE_HEADER_MENU_DATA",menu:e}}function x(e,t){return{type:"ENQUEUE_REQUEST",id:e,request:t}}function N(){return{type:"DEQUEUE_REQUEST"}}function T(){return{type:"FLUSH_QUEUE"}}function D(e){return{type:"SHOW_NAV_ERROR_DIALOG",showDialog:e}}function P(e){return{type:"SET_NAV_ERROR_CONTINUE_PATH",continuePath:e}}function I(){return{type:"RESET_NAV_ERROR"}}var L=n(2819),O=n(6483);function A(e){return e.drawer.view}function R(e){return e.drawer.isOpen}function z(e){return e.drawer.isSuppressed}function $(e){return e.header.isNavigationEnabled}function V(e){return e.runtime.currentBrand.brand}function H(e){return e.runtime.currentBrand.name}function U(e){return e.runtime.currentBrand.config}function W(e){return e.runtime.currentBrand.url}function F(e){const t=e.runtime.currentBrand.hireExpertsInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParameters)+((null==t?void 0:t.fragment)||"")}function B(e){return e.data.flowData}function Z(e){return e.data.socialData}function M(e){var t;return null!==(t=e.runtime.currentFlow)&&void 0!==t?t:a.H}function j(e){return e.flow.steps.routes}function G(e){return e.flow.steps.allSteps}function q(e){return e.flow.steps.topSteps}function Q(e){return e.flow.steps.designRoutes}function J(e){return e.flow.steps.currentStep}function Y(e){return e.flow.steps.allSteps[0]}function K(e){return e.flow.steps.allSteps[e.flow.steps.allSteps.length-1]}function X(e){return(0,L.filter)(e.flow.steps.allSteps,["path",e.flow.steps.currentStep])[0]}function ee(e){return e.flow.chapter}function te(e,t){return(0,L.filter)(e.flow.steps.allSteps,["path",t])[0]}function ne(e){const t=(0,L.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return 0===t?null:-1!==t&&e.flow.steps.allSteps[t-1]}function re(e){const t=e.flow.steps.allSteps.length-1,n=(0,L.findIndex)(e.flow.steps.allSteps,{path:e.flow.steps.currentStep});return t===n?null:-1!==n&&e.flow.steps.allSteps[n+1]}function ie(e){return e.sidebar.isOpen}function ae(e){return e.sidebar.view}function oe(e){return(0,L.filter)(e.sidebar.sidebars,["enabled",!0])}function le(e){return e.runtime.previewSettings.settings}function se(e){return e.settings}function ce(e){return e.settings.themeStatus}function de(e){return e.runtime.previewSettings.stepPreviewData}function ue(e){return e.header.menu}function pe(e){const t=e.runtime.currentBrand.expertsInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function he(e){const t=e.runtime.currentBrand.fullServiceCreativeTeamInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function me(e){const t=e.runtime.currentBrand.techSupportInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function ge(e){const t=e.runtime.currentBrand.migrationInfo;return(0,O.addQueryArgs)(null==t?void 0:t.defaultLink,null==t?void 0:t.queryParams)+((null==t?void 0:t.fragment)||"")}function ve(e){return e.runtime.pluginInstallHash}function fe(e){var t;return null!==(t=null==e?void 0:e.queue[0])&&void 0!==t?t:null}function we(e){var t;return 0===(null==e||null===(t=e.queue)||void 0===t?void 0:t.length)}function be(e){return e.flow.steps.error.showDialog}function _e(e){return e.flow.steps.error.continuePath}function ye(e){return e.data.flowData.data.wpComfortLevel}function Ee(e){return e.data.flowData.data.topPriority.priority1}var Se=n(9818),ke=n(2200),Ce=n(8548),xe=n(9307);const Ne=(0,xe.lazy)((()=>n.e(993).then(n.bind(n,1993)))),Te=(0,xe.lazy)((()=>n.e(310).then(n.bind(n,6310)))),De=[{id:ke.Jq,menu:Ne,sidebar:Te,enabled:!0}],Pe=async e=>{const t=e,n=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;t[0]&&await t[0][1]().then((t=>{t.error&&et.shift())).then(n)};return await n(),t},Ie={reducer:(0,Se.combineReducers)({drawer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isOpen:!1,isSuppressed:!1,view:ke.tM},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_DRAWER_OPENED":return{...e,isOpen:t.isOpen};case"SET_DRAWER_ACTIVE_VIEW":return{...e,view:t.view};case"SET_DRAWER_SUPPRESSED":return{...e,isSuppressed:t.isSuppressed,isOpen:!t.isSuppressed&&e.isOpen}}return e},runtime:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_RUNTIME":return{...e,...t.runtime};case"SET_PREVIEW_SETTINGS":return{...e,previewSettings:{...e.previewSettings,settings:t.previewSettings}}}return e},data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CURRENT_DATA":return{...e,flowData:{...t.flowData}};case"SET_SOCIAL_DATA":return{...e,socialData:{...t.socialData}}}return e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themeStatus:ke.a0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings};case"UPDATE_THEME_STATUS":return{...e,themeStatus:t.themeStatus}}return e},flow:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{flow:a.H,steps:{routes:Ce.Nr,allSteps:Ce.HA,topSteps:Ce.iD,designRoutes:Ce.Ub,currentStep:"",error:{showDialog:!1,continuePath:""}},chapter:void 0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_ACTIVE_STEP":return{...e,steps:{...e.steps,currentStep:t.path}};case"SET_ACTIVE_FLOW":return{...e,flow:t.flow};case"UPDATE_ROUTES":return{...e,steps:{...e.steps,routes:t.routes}};case"UPDATE_ALL_STEPS":return{...e,steps:{...e.steps,allSteps:t.allSteps}};case"UPDATE_TOP_STEPS":return{...e,steps:{...e.steps,topSteps:t.topSteps}};case"UPDATE_DESIGN_ROUTES":return{...e,steps:{...e.steps,designRoutes:t.designRoutes}};case"SHOW_NAV_ERROR_DIALOG":return{...e,steps:{...e.steps,error:{...e.steps.error,showDialog:t.showDialog}}};case"SET_NAV_ERROR_CONTINUE_PATH":return{...e,steps:{...e.steps,error:{...e.steps.error,continuePath:t.continuePath}}};case"RESET_NAV_ERROR":return{...e,steps:{...e.steps,error:{showDialog:!1,continuePath:""}}};case"SET_ACTIVE_CHAPTER":return{...e,chapter:t.chapter}}return e},sidebar:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isOpen:!1,view:"LearnMore",sidebars:De},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SIDEBAR_OPENED":return{...e,isOpen:t.isOpen};case"SET_SIDEBAR_ACTIVE_VIEW":return{...e,view:t.view}}return e},header:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isNavigationEnabled:!0,menu:""},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_HEADER_NAVIGATION_ENABLED":return{...e,isNavigationEnabled:t.isNavigationEnabled};case"UPDATE_HEADER_MENU_DATA":return{...e,menu:t.menu}}return e},queue:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENQUEUE_REQUEST":return e=e.filter((e=>e[0]!==t.id)),[...e,[t.id,t.request]];case"DEQUEUE_REQUEST":return[...e.slice(1)];case"FLUSH_QUEUE":return Pe(e),[]}return e}}),actions:r,selectors:i},Le=(0,Se.createReduxStore)("newfold/onboarding",Ie);(0,Se.register)(Le)},6342:(e,t,n)=>{"use strict";n.d(t,{Az:()=>a,Dv:()=>u,El:()=>g,En:()=>C,F8:()=>S,GX:()=>c,IV:()=>f,L7:()=>_,LW:()=>d,Ou:()=>r,Tg:()=>h,Xm:()=>k,Y3:()=>o,Z4:()=>m,_C:()=>y,eM:()=>w,hz:()=>p,pS:()=>l,pd:()=>i,ql:()=>v,r9:()=>E,rX:()=>b,uo:()=>x,xp:()=>s});const r="onboarding_started",i="onboarding_complete",a="pageview",o="onboarding_top_priority_set",l="onboarding_step_skipped",s="primary_type_set",c="secondary_type_set",d="experience_level_set",u="theme_style_selected",p="colors_selected",h="fonts_selected",m="header_selected",g="homepage_layout_selected",v="starter_pages_selected",f="feature_added",w="site_title_set",b="tagline_set",_="logo_added",y="onboarding_exited",E="onboarding_chapter_started",S="onboarding_chapter_complete",k="social_added",C="wonder_start",x={[o]:"top_priority",[l]:"step",[s]:"primary_type",[c]:"secondary_type",[d]:"experience_level",[u]:"theme_style",[p]:"color_palette",[h]:"font_set",[m]:"header",[g]:"layout",[v]:"pages",[f]:"feature",[w]:"title",[b]:"tagline",[y]:"step",[E]:"chapter",[S]:"chapter",[k]:"platform"}},8297:(e,t,n)=>{"use strict";n.d(t,{Z_:()=>a,hf:()=>s,uW:()=>l,tH:()=>o});var r=n(7207),i=n(6342);class a extends r.T{constructor(e,t,n,r){const a=s(e);super(i.En,e,{label_key:a,[a]:t,...n,page:r||window.location.href},i.En)}}const o=e=>r.v.track(e),l=e=>r.v.send(e),s=e=>{if(e in i.uo)return i.uo[e]}},3568:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(4704),i=n(6329),a=n(6989),o=n.n(a);async function l(e){return await(0,i.D)(o()({url:(0,r.FZ)("settings/coming-soon"),method:"POST",data:{comingSoon:e}}).then())}},4704:(e,t,n)=>{"use strict";n.d(t,{$L:()=>o,FZ:()=>i,hG:()=>a});var r=n(2200);const i=e=>{var t;return`${r.bQ}/${e}`+(null!==(t=window.nfdOnboarding)&&void 0!==t&&t.currentFlow?`&flow=${window.nfdOnboarding.currentFlow}`:"")},a=e=>`${r.Y1}/${e}`,o=e=>`${r.km}/${e}`},3768:(e,t,n)=>{"use strict";n.d(t,{Hs:()=>s,pn:()=>l,xb:()=>o});var r=n(6989),i=n.n(r),a=n(4704);const o=e=>0===Object.keys(e).length;async function l(){return i()({url:(0,a.$L)("settings")})}async function s(e){return i()({url:(0,a.$L)("settings"),method:"POST",data:e})}},7533:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,ME:()=>s,b5:()=>u,kB:()=>c});var r=n(6329),i=n(4704),a=n(6989),o=n.n(a);let l;async function s(){return await(0,r.D)(o()({url:(0,i.FZ)("flow")}).then())}async function c(e){l&&l.abort("New setFlow request placed!"),l=new AbortController;const{signal:t}=l;return await(0,r.D)(o()({url:(0,i.FZ)("flow"),signal:t,method:"POST",data:e}).then())}async function d(){return await(0,r.D)(o()({url:(0,i.FZ)("flow/complete"),method:"POST"}).then())}async function u(e){return await(0,r.D)(o()({url:(0,i.FZ)("flow/switch"),method:"POST",data:{flow:e}}).then())}},6138:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(6329),i=n(4704),a=n(6989),o=n.n(a);async function l(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return await(0,r.D)(o()({url:(0,i.FZ)("patterns"+(e?`&step=${e}&squash=${t}`:""))}).then())}},3421:(e,t,n)=>{"use strict";n.d(t,{S1:()=>c,jd:()=>u,yn:()=>d});var r=n(6989),i=n.n(r),a=n(4704),o=n(2853),l=n(6329),s=n(2200);const c=()=>{if((0,o.Ph)(s.tY))return!0;i()({url:(0,a.FZ)("plugins/initialize"),method:"POST",headers:{"X-NFD-INSTALLER":window.nfdOnboarding.pluginInstallHash}}).catch((e=>{console.error(e)}))},d=async()=>await(0,l.D)(i()({url:(0,a.FZ)("plugins/site-features")}));async function u(){return await(0,l.D)(i()({url:(0,a.FZ)("plugins/initialize/activate"),method:"POST"}).then())}},6329:(e,t,n)=>{"use strict";async function r(e){const t={body:null,error:null};try{t.body=await e}catch(e){t.error=e}return t}n.d(t,{D:()=>r})},8395:(e,t,n)=>{"use strict";n.d(t,{Gw:()=>s,I2:()=>c,j2:()=>d});var r=n(6989),i=n.n(r),a=n(6329),o=n(2200),l=n(4704);async function s(){return await(0,a.D)(i()({url:(0,l.FZ)("settings")}).then())}async function c(e){return await(0,a.D)(i()({url:(0,l.FZ)("settings"),method:"POST",data:e}).then())}const d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!(e>=o.wV)&&i()({url:(0,l.FZ)("settings/initialize"),method:"POST"}).catch((()=>{e+=1,d(e)}))}},7625:(e,t,n)=>{"use strict";n.d(t,{LK:()=>v,N9:()=>d,S1:()=>c,YL:()=>m,cw:()=>h,ko:()=>g,oC:()=>p,sN:()=>u});var r=n(6989),i=n.n(r),a=n(4704),o=n(6329),l=n(2853),s=n(2200);const c=()=>{if((0,l.Ph)(s.Vx))return!0;i()({url:(0,a.FZ)("themes/initialize"),method:"POST"}).catch((e=>{console.error(e)}))},d=async function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"==typeof e&&await(0,o.D)(i()({url:(0,a.hG)("themes/install"),method:"POST",data:{theme:e,activate:t,queue:n}}))},u=async function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"==typeof e&&await(0,o.D)(i()({url:(0,a.hG)("themes/expedite"),method:"POST",data:{theme:e,activate:t}}))},p=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return await(0,o.D)(i()({url:(0,a.FZ)("themes/variations&variations="+e)}).then())},h=async e=>await(0,o.D)(i()({url:(0,a.FZ)("themes/variations"),method:"POST",data:e}).then()),m=async e=>await(0,o.D)(i()({url:(0,a.hG)("themes/status"+(e?`&theme=${e}`:""))})),g=async()=>await(0,o.D)(i()({url:(0,a.FZ)("themes/fonts")})),v=async()=>await(0,o.D)(i()({url:(0,a.FZ)("themes/colors")}))},6690:(e,t,n)=>{"use strict";n.d(t,{NF:()=>y});var r=n(9307),i=n(2819),a=n(4981);const o=window.wp.styleEngine;var l=n(2175);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return null;const{coerceTo:n,rootSizeValue:r,acceptableUnits:i}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...t},a=null==i?void 0:i.join("|"),o=new RegExp(`^(\\d*\\.?\\d+)(${a}){1,1}$`),l=e.match(o);if(!l||l.length<3)return null;let[,s,c]=l,d=parseFloat(s);return"px"!==n||"em"!==c&&"rem"!==c||(d*=r,c=n),"px"!==c||"em"!==n&&"rem"!==n||(d/=r,c=n),{value:d,unit:c}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return Number.isFinite(e)?parseFloat(e.toFixed(t)):void 0}const d="body",u=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],cssVarInfix:"duotone",valueFunc:e=>{let{slug:t}=e;return`url( '#wp-duotone-${t}' )`},classes:[]},{path:["typography","fontSizes"],valueFunc:(e,t)=>{let{typography:n}=t;return function(e,t){const{size:n}=e;if(!0!==(null==t?void 0:t.fluid))return n;if(!1===(null==e?void 0:e.fluid))return n;const r=(null==e?void 0:e.fluid)||{};let i=null==r?void 0:r.min,a=null==r?void 0:r.max;const o=s(n);return null!=o&&o.unit?(i||(i=.75*o.value+o.unit),a||(a=1.5*o.value+o.unit),function(e){let{maximumViewPortWidth:t,minimumViewPortWidth:n,maximumFontSize:r,minimumFontSize:i,scaleFactor:a}=e;const o=s(i),l=(null==o?void 0:o.unit)||"rem",d=s(r,{coerceTo:l});if(!o||!d)return null;const u=s(i,{coerceTo:"rem"}),p=s(t,{coerceTo:l}),h=s(n,{coerceTo:l});if(!p||!h||!u)return null;const m=c(h.value/100,3)+l;let g=(d.value-o.value)/(p.value-h.value)*100;g=c(g,3)||1;const v=g*a;return`clamp(${i}, ${u.value}${u.unit} + ((1vw - ${m}) * ${v}), ${r})`}({maximumViewPortWidth:"1600px",minimumViewPortWidth:"768px",maximumFontSize:a,minimumFontSize:i,scaleFactor:1})||n):n}(e,n)},valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:e=>{let{size:t}=e;return t},classes:[]}],p={__experimentalBorder:"border",color:"color",spacing:"spacing",typography:"typography"};function h(e){var t;const n="var:";return null!=e&&null!==(t=e.startsWith)&&void 0!==t&&t.call(e,n)?`var(--wp--${e.slice(n.length).split("|").join("--")})`:e}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.reduce)(u,((n,r)=>{let{path:a,cssVarInfix:o,classes:l}=r;if(!l)return n;const s=(0,i.get)(t,a,[]);return s&&Array.isArray(s)&&s.forEach((t=>{let{slug:r}=t;l.forEach((t=>{let{classSuffix:a,propertyName:l}=t;const s=`.has-${(0,i.kebabCase)(r)}-${a}`,c=e.split(",").map((e=>`${e}${s}`)).join(","),d=`var(--wp--preset--${o}--${(0,i.kebabCase)(r)})`;n+=`${c}{${l}: ${d} !important;}`}))})),n}),"")}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[];return Object.keys(e).forEach((a=>{const o=t+(0,i.kebabCase)(a.replace("/","-")),l=e[a];if(l instanceof Object){const e=o+n;r=[...r,...g(l,e,n)]}else r.push(`${o}: ${l}`)})),r}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const l=d===t,s=(0,i.reduce)(a.__EXPERIMENTAL_STYLE_PROPERTY,((t,r,a)=>{let{value:o,properties:s,rootOnly:c}=r;if(c&&!l)return t;const d=o;if("elements"===d[0])return t;const u=(0,i.get)(e,d);if("--wp--style--root--padding"===a&&("string"==typeof u||!n))return t;if(s&&"string"!=typeof u)Object.entries(s).forEach((e=>{const[n,r]=e;if(!(0,i.get)(u,[r],!1))return;const a=n.startsWith("--")?n:(0,i.kebabCase)(n);t.push(`${a}: ${h((0,i.get)(u,[r]))}`)}));else if((0,i.get)(e,d,!1)){const n=a.startsWith("--")?a:(0,i.kebabCase)(a);t.push(`${n}: ${h((0,i.get)(e,d))}`)}return t}),[]),c=(0,o.getCSSRules)(e);return c.forEach((e=>{var t;if(l&&n&&e.key.startsWith("padding"))return;const a=e.key.startsWith("--")?e.key:(0,i.kebabCase)(e.key);let o=e.value;if("string"!=typeof o&&null!==(t=o)&&void 0!==t&&t.ref){var c;const e=o.ref.split(".");if(o=(0,i.get)(r,e),!o||null!==(c=o)&&void 0!==c&&c.ref)return}s.push(`${a}: ${o}`)})),s}function f(e){var t,n,r,i,a;let{tree:o,style:s,selector:c,hasBlockGapSupport:u,hasFallbackGapSupport:p,fallbackGapValue:h}=e,m="",g=u?(0,l.__experimentalGetGapCSSValue)(null==s||null===(t=s.spacing)||void 0===t?void 0:t.blockGap):"";if(p&&(c===d?g=g||"0.5em":!u&&h&&(g=h)),g&&null!=o&&null!==(n=o.settings)&&void 0!==n&&null!==(r=n.layout)&&void 0!==r&&r.definitions&&(Object.values(o.settings.layout.definitions).forEach((e=>{let{className:t,name:n,spacingStyles:r}=e;(u||"flex"===n)&&null!=r&&r.length&&r.forEach((e=>{const n=[];if(e.rules&&Object.entries(e.rules).forEach((e=>{let[t,r]=e;n.push(`${t}: ${r||g}`)})),n.length){let r="";r=u?c===d?`${c} .${t}${(null==e?void 0:e.selector)||""}`:`${c}.${t}${(null==e?void 0:e.selector)||""}`:c===d?`:where(.${t}${(null==e?void 0:e.selector)||""})`:`:where(${c}.${t}${(null==e?void 0:e.selector)||""})`,m+=`${r} { ${n.join("; ")}; }`}}))})),c===d&&u&&(m+=`${c} { --wp--style--block-gap: ${g}; }`)),c===d&&null!=o&&null!==(i=o.settings)&&void 0!==i&&null!==(a=i.layout)&&void 0!==a&&a.definitions){const e=["block","flex","grid"];Object.values(o.settings.layout.definitions).forEach((t=>{let{className:n,displayMode:r,baseStyles:i}=t;r&&e.includes(r)&&(m+=`${c} .${n} { display:${r}; }`),null!=i&&i.length&&i.forEach((e=>{const t=[];if(e.rules&&Object.entries(e.rules).forEach((e=>{let[n,r]=e;t.push(`${n}: ${r}`)})),t.length){const r=`${c} .${n}${(null==e?void 0:e.selector)||""}`;m+=`${r} { ${t.join("; ")}; }`}}))}))}return m}const w=(e,t)=>{var n,r;const o=[];if(null==e||!e.styles)return o;const l=e=>(0,i.pickBy)(e,((e,t)=>["border","color","spacing","typography","filter"].includes(t))),s=l(e.styles);return s&&o.push({styles:s,selector:d}),Object.entries(a.__EXPERIMENTAL_ELEMENTS).forEach((t=>{var n,r;let[i,a]=t;var l;null!==(n=e.styles)&&void 0!==n&&n.elements&&null!==(r=e.styles)&&void 0!==r&&r.elements[i]&&o.push({styles:null===(l=e.styles)||void 0===l?void 0:l.elements[i],selector:a})})),Object.entries(null!==(n=null===(r=e.styles)||void 0===r?void 0:r.blocks)&&void 0!==n?n:{}).forEach((e=>{var n,r;let[i,s]=e;const c=l(s);c&&null!=t&&null!==(n=t[i])&&void 0!==n&&n.selector&&o.push({duotoneSelector:t[i].duotoneSelector,fallbackGapValue:t[i].fallbackGapValue,hasLayoutSupport:t[i].hasLayoutSupport,selector:t[i].selector,styles:c,featureSelectors:t[i].featureSelectors}),Object.entries(null!==(r=null==s?void 0:s.elements)&&void 0!==r?r:{}).forEach((e=>{let[n,r]=e;r&&null!=t&&t[i]&&null!==a.__EXPERIMENTAL_ELEMENTS&&void 0!==a.__EXPERIMENTAL_ELEMENTS&&a.__EXPERIMENTAL_ELEMENTS[n]&&o.push({styles:r,selector:t[i].selector.split(",").map((e=>a.__EXPERIMENTAL_ELEMENTS[n].split(",").map((t=>e+" "+t)))).join(",")})}))})),o},b=(e,t)=>{var n,r,a;const o=[];if(null==e||!e.settings)return o;const l=e=>{const t={};return u.forEach((n=>{let{path:r}=n;const a=(0,i.get)(e,r,!1);!1!==a&&(0,i.set)(t,r,a)})),t},s=l(e.settings),c=null===(n=e.settings)||void 0===n?void 0:n.custom;return(0,i.isEmpty)(s)&&!c||o.push({presets:s,custom:c,selector:d}),Object.entries(null!==(r=null===(a=e.settings)||void 0===a?void 0:a.blocks)&&void 0!==r?r:{}).forEach((e=>{let[n,r]=e;const a=l(r),s=r.custom;(0,i.isEmpty)(a)&&!s||o.push({presets:a,custom:s,selector:t[n].selector})})),o},_=(e,t)=>{const n=b(e,t);let r="";return n.forEach((t=>{let{presets:n,custom:a,selector:o}=t;const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,i.reduce)(u,((n,r)=>{let{path:a,valueKey:o,valueFunc:l,cssVarInfix:s}=r;const c=(0,i.get)(e,a,[]);return c&&Array.isArray(c)&&c.forEach((e=>{o&&!l?n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${e[o]}`):l&&"function"==typeof l&&n.push(`--wp--preset--${s}--${(0,i.kebabCase)(e.slug)}: ${l(e,t)}`)})),n}),[])}(n,null==e?void 0:e.settings),s=g(a,"--wp--custom--","--");s.length>0&&l.push(...s),l.length>0&&(r+=`${o}{${l.join(";")};}`)})),r};function y(e,t){var n;const o=t.settings.__experimentalFeatures.spacing.blockGap,s=!o,c=null===(n=t.settings)||void 0===n||!n.disableLayoutStyles||t.settings.disableLayoutStyles;if(!(null!=e&&e.styles||null!=e&&e.settings||null!=e&&e.globalStyles))return;const h={settings:e.settings,styles:null!=e&&e.globalStyles?e.globalStyles:e.styles},g=(e=>{const t={};return e.forEach((e=>{var n,r,i,a,o,l,s,c,d;const u=e.name,h=null!==(n=null==e||null===(r=e.supports)||void 0===r?void 0:r.__experimentalSelector)&&void 0!==n?n:".wp-block-"+u.replace("core/","").replace("/","-"),m=null!==(i=null==e||null===(a=e.supports)||void 0===a||null===(o=a.color)||void 0===o?void 0:o.__experimentalDuotone)&&void 0!==i?i:null,g=!(null==e||null===(l=e.supports)||void 0===l||!l.__experimentalLayout),v=null==e||null===(s=e.supports)||void 0===s||null===(c=s.spacing)||void 0===c||null===(d=c.blockGap)||void 0===d?void 0:d.__experimentalDefault,f={};Object.entries(p).forEach((t=>{var n,r;let[i,a]=t;const o=null==e||null===(n=e.supports)||void 0===n||null===(r=n[i])||void 0===r?void 0:r.__experimentalSelector;o&&(f[a]=function(e,t){const n=e.split(","),r=t.split(","),i=[];return n.forEach((e=>{r.forEach((t=>{i.push(`${e.trim()} ${t.trim()}`)}))})),i.join(", ")}(h,o))})),t[u]={duotoneSelector:m,fallbackGapValue:v,featureSelectors:Object.keys(f).length?f:void 0,hasLayoutSupport:g,name:u,selector:h}})),t})((0,a.getBlockTypes)()),y=_(h,g),E=function(e,t,n,r){var a,o;let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const c=w(e,t),u=b(e,t),p=null==e||null===(a=e.settings)||void 0===a?void 0:a.useRootPaddingAwareAlignments,{contentSize:h,wideSize:g}=(null==e||null===(o=e.settings)||void 0===o?void 0:o.layout)||{};let _="body {margin: 0;";if(h&&(_+=` --wp--style--global--content-size: ${h};`),g&&(_+=` --wp--style--global--wide-size: ${g};`),p&&(_+='padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) } \n\t\t\t .has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) { padding-right: 0; padding-left: 0; } \n\t\t\t .has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull { margin-right: 0; margin-left: 0; } \n\t\t\t .has-global-padding > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } \n\t\t\t .has-global-padding :where(.has-global-padding) > .alignfull:where(:not(.has-global-padding)) > :where([class*="wp-block-"]:not(.alignfull):not([class*="__"]),p,h1,h2,h3,h4,h5,h6,ul,ol) { padding-right: 0; padding-left: 0;'),_+="}",c.forEach((t=>{let{selector:i,duotoneSelector:a,styles:o,fallbackGapValue:l,hasLayoutSupport:c,featureSelectors:u}=t;u&&Object.entries(u).forEach((e=>{let[t,n]=e;if(null!=o&&o[t]){const e=v({[t]:o[t]});delete o[t],e.length&&(_+=`${n}{${e.join(";")} }`)}}));const h={};if(null!=o&&o.filter&&(h.filter=o.filter,delete o.filter),a){const e=v(h);e.length>0&&(_+=`${a}{${e.join(";")};}`)}s||d!==i&&!c||(_+=f({tree:e,style:o,selector:i,hasBlockGapSupport:n,hasFallbackGapSupport:r,fallbackGapValue:l}));const m=v(o,i,p,e);null!=m&&m.length&&(_+=`${i}{${m.join(";")};}`);const g=Object.entries(o).filter((e=>{let[t]=e;return t.startsWith(":")}));null!=g&&g.length&&g.forEach((e=>{let[t,n]=e;const r=v(n);if(null==r||!r.length)return;const a=`${i.split(",").map((e=>e+t)).join(",")}{${r.join(";")};}`;_+=a}))})),_+=".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",_+=".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",_+=".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }",!s&&n){var y,E;const t=(0,l.__experimentalGetGapCSSValue)(null==e||null===(y=e.styles)||void 0===y||null===(E=y.spacing)||void 0===E?void 0:E.blockGap)||"0.5em";_+=".wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }",_+=`.wp-site-blocks > * + * { margin-block-start: ${t}; }`}return u.forEach((e=>{let{selector:t,presets:n}=e;d===t&&(t="");const r=m(t,n);(0,i.isEmpty)(r)||(_+=r)})),_}(h,g,o,s,c),S=function(e,t){return b(e,t).flatMap((e=>{let{presets:t}=e;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u.filter((e=>"duotone"===e.path.at(-1))).flatMap((t=>{const n=(0,i.get)(e,t.path,{});return["default","theme"].filter((e=>n[e])).flatMap((e=>n[e].map((e=>(0,r.createElement)(l.__unstablePresetDuotoneFilter,{preset:e,key:e.slug})))))}))}(t)}))}(h,g),k=[...t.settings.styles.filter((e=>!(e.hasOwnProperty("id")&&("customProperty"===e.id||"globalStyle"===e.id)))),{id:"customProperty",css:y,isGlobalStyles:!0},{id:"globalStyle",css:E,isGlobalStyles:!0},{assets:S,__unstableType:"svg",isGlobalStyles:!0}];return e.settings.styles=k,e.settings.__unstableResolvedAssets=t.settings.__unstableResolvedAssets,e.settings.__experimentalFeatures=t.settings.__experimentalFeatures,e}},2853:(e,t,n)=>{"use strict";n.d(t,{Ph:()=>a,gq:()=>l,iO:()=>o});var r=n(6483),i=n(2819);const a=e=>new URLSearchParams(window.location.search).get(e),o=(e,t)=>(0,r.hasQueryArg)(e,t)?(0,r.removeQueryArgs)(e,t):e,l=e=>(0,i.transform)(e,((e,t,n)=>{e[(0,i.snakeCase)(n)]=t}))},1392:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(6515),i=n(5736);const a={[r.H]:{site:{noun:(0,i._x)("site","noun","wp-module-onboarding")},website:{noun:(0,i._x)("website","noun","wp-module-onboarding")}},[r._]:{site:{noun:(0,i._x)("store","noun","wp-module-onboarding")},website:{noun:(0,i._x)("store","noun","wp-module-onboarding")}}},o=function(e){var t,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"noun";const o=(null===(t=window)||void 0===t||null===(n=t.nfdOnboarding)||void 0===n?void 0:n.currentFlow)||r.H,l=a[o][e.toLowerCase()][i];return e===e.toUpperCase()?l.toUpperCase():e[0]===e[0].toUpperCase()?l[0].toUpperCase()+l.substring(1):l}},2200:(e,t,n)=>{"use strict";n.d(t,{$3:()=>q,$E:()=>G,Az:()=>J,BP:()=>y,Bv:()=>A,DY:()=>H,Ei:()=>L,GV:()=>B,JB:()=>c,Jq:()=>O,R2:()=>x,Rq:()=>Z,Vx:()=>V,Y1:()=>v,Yl:()=>_,Zh:()=>F,_h:()=>k,a0:()=>U,bQ:()=>g,br:()=>w,dD:()=>d,dv:()=>P,iX:()=>Q,km:()=>m,lE:()=>S,mz:()=>D,nx:()=>T,pf:()=>p,qB:()=>I,qO:()=>N,qR:()=>C,tM:()=>b,tX:()=>E,tY:()=>$,tg:()=>M,uK:()=>j,uj:()=>z,vv:()=>W,wV:()=>R});var r,i,a,o,l,s=n(6483);const c="nfd-onboarding",d="object"==typeof(null===(r=window)||void 0===r?void 0:r.nfdOnboarding)&&"buildUrl"in window.nfdOnboarding,u=window.nfdOnboarding.adminUrl,p=window.nfdOnboarding.siteUrl,h=window.nfdOnboarding.restUrl,m=`${h}/wp/v2`,g=`${h}/newfold-onboarding/v1`,v=`${h}/newfold-installer/v1`,f=(0,s.addQueryArgs)(`${u}index.php`,null===(i=window.nfdOnboarding.currentBrand)||void 0===i?void 0:i.dashboardRedirectParams),w=null!==(a=(0,s.addQueryArgs)(null===(o=window.nfdOnboarding.currentBrand)||void 0===o?void 0:o.pluginDashboardPage,null===(l=window.nfdOnboarding.currentBrand)||void 0===l?void 0:l.dashboardRedirectParams))&&void 0!==a?a:f,b="nav-primary",_="nav-design",y="nav-page",E="design-themes",S="design-theme-styles-menu",k="design-theme-styles-preview",C="design-colors",x="design-fonts",N="design-header-menu",T="design-homepage-menu",D="nav-get-started",P="nav-ecommerce-store-info",I="Sidebar",L="HeaderMenu",O="LearnMore",A=2,R=2,z=2,$="nfd_plugins",V="nfd_themes",H="nfd_slug_yith_wonder",U="init",W="inactive",F="installing",B="activated",Z="failed",M="demographic",j="commerce",G="design",q="layout_and_content",Q="features",J={SET_FLOW:"SET_FLOW",SET_GLOBAL_STYLES:"SET_GLOBAL_STYLES"}},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t{"use strict";n.d(t,{AW:()=>N,F0:()=>T,FR:()=>l,TH:()=>m,Us:()=>s,WU:()=>f,Z5:()=>D,oQ:()=>p,s0:()=>v});var r=n(9196),i=n(2599);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),r.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))}),[e,t])}():function(){h()||(0,i.J0)(!1);let{basename:e,navigator:t}=r.useContext(s),{matches:n}=r.useContext(d),{pathname:a}=m(),o=JSON.stringify((0,i.Zq)(n).map((e=>e.pathnameBase))),l=r.useRef(!1);return g((()=>{l.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!l.current)return;if("number"==typeof n)return void t.go(n);let s=(0,i.pC)(n,JSON.parse(o),a,"path"===r.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:(0,i.RQ)([e,s.pathname])),(r.replace?t.replace:t.push)(s,r.state,r)}),[e,t,o,a])}()}function f(e,t){let{relative:n}=void 0===t?{}:t,{matches:a}=r.useContext(d),{pathname:o}=m(),l=JSON.stringify((0,i.Zq)(a).map((e=>e.pathnameBase)));return r.useMemo((()=>(0,i.pC)(e,JSON.parse(l),o,"path"===n)),[e,l,o,n])}function w(e,t,n){h()||(0,i.J0)(!1);let{navigator:o}=r.useContext(s),{matches:l}=r.useContext(d),u=l[l.length-1],p=u?u.params:{},g=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let v,f=m();if(t){var w;let e="string"==typeof t?(0,i.cP)(t):t;"/"===g||(null==(w=e.pathname)?void 0:w.startsWith(g))||(0,i.J0)(!1),v=e}else v=f;let b=v.pathname||"/",S="/"===g?b:b.slice(g.length)||"/",k=(0,i.fp)(e,{pathname:S}),C=function(e,t,n){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var o;if(null==(o=n)||!o.errors)return null;e=n.matches}let l=e,s=null==(a=n)?void 0:a.errors;if(null!=s){let e=l.findIndex((e=>e.route.id&&(null==s?void 0:s[e.route.id])));e>=0||(0,i.J0)(!1),l=l.slice(0,Math.min(l.length,e+1))}return l.reduceRight(((e,i,a)=>{let o=i.route.id?null==s?void 0:s[i.route.id]:null,c=null;n&&(c=i.route.errorElement||_);let d=t.concat(l.slice(0,a+1)),u=()=>{let t;return t=o?c:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(E,{match:i,routeContext:{outlet:e,matches:d,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===a)?r.createElement(y,{location:n.location,revalidation:n.revalidation,component:c,error:o,children:u(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):u()}),null)}(k&&k.map((e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:(0,i.RQ)([g,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:(0,i.RQ)([g,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n);return t&&C?r.createElement(c.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:i.aU.Pop}},C):C}function b(){let e=function(){var e;let t=r.useContext(u),n=function(e){let t=r.useContext(l);return t||(0,i.J0)(!1),t}(k.UseRouteError),a=x(k.UseRouteError);return t||(null==(e=n.errors)?void 0:e[a])}(),t=(0,i.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const _=r.createElement(b,null);class y extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(d.Provider,{value:this.props.routeContext},r.createElement(u.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function E(e){let{routeContext:t,match:n,children:i}=e,a=r.useContext(o);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(d.Provider,{value:t},i)}var S,k,C;function x(e){let t=function(e){let t=r.useContext(d);return t||(0,i.J0)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,i.J0)(!1),n.route.id}function N(e){(0,i.J0)(!1)}function T(e){let{basename:t="/",children:n=null,location:a,navigationType:o=i.aU.Pop,navigator:l,static:d=!1}=e;h()&&(0,i.J0)(!1);let u=t.replace(/^\/*/,"/"),p=r.useMemo((()=>({basename:u,navigator:l,static:d})),[u,l,d]);"string"==typeof a&&(a=(0,i.cP)(a));let{pathname:m="/",search:g="",hash:v="",state:f=null,key:w="default"}=a,b=r.useMemo((()=>{let e=(0,i.Zn)(m,u);return null==e?null:{location:{pathname:e,search:g,hash:v,state:f,key:w},navigationType:o}}),[u,m,g,v,f,w,o]);return null==b?null:r.createElement(s.Provider,{value:p},r.createElement(c.Provider,{children:n,value:b}))}function D(e){let{children:t,location:n}=e;return w(P(t),n)}function P(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,a)=>{if(!r.isValidElement(e))return;let o=[...t,a];if(e.type===r.Fragment)return void n.push.apply(n,P(e.props.children,o));e.type!==N&&(0,i.J0)(!1),e.props.index&&e.props.children&&(0,i.J0)(!1);let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=P(e.props.children,o)),n.push(l)})),n}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(S||(S={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(k||(k={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(C||(C={})),new Promise((()=>{})),r.Component},9196:e=>{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},2175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},7798:e=>{"use strict";e.exports=window.wp.coreData},9818:e=>{"use strict";e.exports=window.wp.data},5904:e=>{"use strict";e.exports=window.wp.dom},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},9630:e=>{"use strict";e.exports=window.wp.keycodes},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>e+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="newfold.Onboarding:",i.l=(n,r,a,o)=>{if(e[n])e[n].push(r);else{var l,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d{l.onerror=l.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),i&&i.forEach((e=>e(r))),t)return t(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),s&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e={343:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=a);var o=i.p+i.u(t),l=new Error;i.l(o,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[o,l,s]=n,c=0;if(o.some((t=>0!==e[t]))){for(r in l)i.o(l,r)&&(i.m[r]=l[r]);s&&s(i)}for(t&&t(n);c{"use strict";i.r(a);var e={};i.r(e),i.d(e,{disableComplementaryArea:()=>Ge,enableComplementaryArea:()=>je,pinItem:()=>qe,setDefaultComplementaryArea:()=>Me,setFeatureDefaults:()=>Ke,setFeatureValue:()=>Ye,toggleFeature:()=>Je,unpinItem:()=>Qe});var t={};i.r(t),i.d(t,{getActiveComplementaryArea:()=>Xe,isComplementaryAreaLoading:()=>et,isFeatureActive:()=>nt,isItemPinned:()=>tt});var n=i(2200);const r=window.wp.domReady;var o=i.n(r);const l=window.wp.blockLibrary;var s=i(9307),c=i(2503),d=i(7533),u=i(3421),p=i(7625),h=i(6989),m=i.n(h);const g=()=>{m()({url:`${n.pf}/wp-cron.php`,method:"GET",parse:!1}).catch((e=>{console.error(e)}))};var v=i(8395),f=i(5609),w=i(9818),b=i(9250),_=i(1984),y=i(4310),E=i(5024),S=i(5736),k=i(8297),C=i(6342);const x=e=>{let{path:t,showErrorDialog:n}=e;const{setNavErrorContinuePath:r}=(0,w.useDispatch)(c.h),i=(0,b.s0)();return(0,s.createElement)(f.Button,{className:"navigation-buttons navigation-buttons_back",onClick:()=>{!1!==n?r(t):i(t,{state:{origin:"header"}})},variant:"secondary"},(0,s.createElement)(_.Z,{icon:y.Z}),(0,S.__)("Back","wp-module-onboarding"))},N=e=>{let{path:t,showErrorDialog:n}=e;const{setNavErrorContinuePath:r}=(0,w.useDispatch)(c.h),i=(0,b.s0)();return(0,s.createElement)(f.Button,{onClick:()=>{!1!==n?r(t):i(t,{state:{origin:"header"}})},variant:"primary",className:"navigation-buttons navigation-buttons_next"},(0,S.__)("Next","wp-module-onboarding"),(0,s.createElement)(_.Z,{icon:E.Z}))};async function T(e){e&&(e.isComplete=(new Date).getTime(),(0,d.kB)(e)),(0,u.jd)(),(0,k.uW)(new k.Z_(C.pd)),window.location.replace(n.br)}const D=e=>{let{currentData:t,saveDataAndExitFunc:n}=e;return(0,s.createElement)(f.Button,{onClick:()=>n(t),className:"navigation-buttons navigation-buttons_finish",variant:"primary"},(0,S.__)("Finish","wp-module-onboarding"),(0,s.createElement)(_.Z,{icon:E.Z}))},P=()=>{const{previousStep:e,nextStep:t,currentData:n,showErrorDialog:r}=(0,w.useSelect)((e=>({nextStep:e(c.h).getNextStep(),previousStep:e(c.h).getPreviousStep(),currentData:e(c.h).getCurrentOnboardingData(),showErrorDialog:e(c.h).getShowErrorDialog()})),[]),i=null===e||!1===e,a=null===t||!1===t;return(0,s.createElement)("div",{className:"nfd-onboarding-header__step-navigation"},(0,s.createElement)(f.ButtonGroup,{style:{display:"flex",columnGap:"0.5rem"}},i||a?null:(0,s.createElement)(x,{path:e.path,showErrorDialog:r}),a?(0,s.createElement)(D,{currentData:n,saveDataAndExitFunc:T}):(0,s.createElement)(N,{path:t.path,showErrorDialog:r})))},I=()=>{const{sidebars:e,isHeaderNavigationEnabled:t}=(0,w.useSelect)((e=>({sidebars:e(c.h).getSidebars(),isHeaderNavigationEnabled:e(c.h).isHeaderNavigationEnabled()})));return(0,s.createElement)(s.Fragment,null,t&&(0,s.createElement)(P,null),e.map((e=>(0,s.createElement)(f.Slot,{key:e.id,name:`${n.Ei}/${e.id}`}))))},L=(0,s.memo)((()=>(0,s.createElement)("div",{className:"nfd-onboarding-header"},(0,s.createElement)("div",{className:"nfd-onboarding-header__center"}),(0,s.createElement)("div",{className:"nfd-onboarding-header__end"},(0,s.createElement)(I,null)))));var O=i(6483),A=i(2819),R=i(9885),z=i(9343),$=i(4433),V=i(8244),H=i(1715),U=i(1809);const W=[$.E,z.B,V.c,U.p,H.R],F=e=>W.filter((t=>t.id===e)),B=(e,t,n)=>{const r={};return e.forEach((e=>t[e.id]?r[e.id]=t[e.id]:r[e.id]={completed:!1,firstStep:e.steps[0].path,lastStep:(null==n?void 0:n.chapter)===e.id&&null!=n&&n.path?null==n?void 0:n.path:""})),r};var Z=i(8548),M=i(6515),j=i(2853),G=i(35),q=i(1392);const Q=()=>{const{brandName:e}=(0,w.useSelect)((e=>({brandName:e(c.h).getNewfoldBrandName()})),[]),t=(e=>({title:(0,S.sprintf)( /* translators: 1: Brand 2: Site or Store */ -(0,S.__)("Making the keys to your %1$s Online %2$s","wp-module-onboarding"),e,(0,q.I)("Site")),subtitle:(0,S.__)("We’re installing WooCommerce for you to fill with your amazing products & services!","wp-module-onboarding")}))(e);return(0,s.createElement)(G.Z,{title:t.title,subtitle:t.subtitle})};var J=i(7207);const Y=e=>{let{children:t}=e;const r=(0,b.TH)(),[i,a]=(0,s.useState)(!1),{brandConfig:o,experienceLevel:l,topPriority:u,currentData:p,currentStep:h,lastChapter:m,firstStep:g}=(0,w.useSelect)((e=>({brandName:e(c.h).getNewfoldBrandName(),brandConfig:e(c.h).getNewfoldBrandConfig(),experienceLevel:e(c.h).getExperienceLevel(),topPriority:e(c.h).getTopPriority(),currentData:e(c.h).getCurrentOnboardingData(),lastChapter:e(c.h).getCurrentChapter(),currentStep:e(c.h).getCurrentStep(),firstStep:e(c.h).getFirstStep()})),[]),{updateAllSteps:v,updateRoutes:f,updateTopSteps:_,updateDesignRoutes:y,setCurrentOnboardingData:E,setActiveChapter:S,setIsDrawerOpened:x,setIsDrawerSuppressed:N,setIsHeaderNavigationEnabled:T,setSidebarActiveView:D}=(0,w.useDispatch)(c.h),P=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t>=n.uj)return a(!1);const r=await(0,d.b5)(e);if(null!=r&&r.error)return t+=1,P(e,t);await J.v.dispatchEvents();const i=z.B.steps[0],o=(0,O.getFragment)(window.location.href),l=(0,j.iO)(window.location.href,"flow").replace(o,"");window.location.replace(`${l}#${i.path}`),window.location.reload()};return(0,s.useEffect)((()=>{if(!1!==(null==o?void 0:o.prioritization))return(()=>{const e=window.nfdOnboarding.currentFlow,t=(0,Z.LI)(e),n=(0,j.Ph)("chapter");let r;r=n?W(n):((e,t,n)=>{const r=(e=>{const t={publishing:U.p,selling:z.B,designing:V.c};return t[e]?t[e]:U.p})(t);let i;switch(n){case"1":default:i=(0,A.filter)(e,(e=>e.id!==r.id)),i=(0,R.QF)(i,$.E,r);break;case"3":i=(0,A.filter)(e,(e=>e.id!==r.id&&(e.id===H.R.id||e.id===$.E.id))),i=(0,R.QF)(i,$.E,r);break;case"5":i=(0,A.filter)(e,(e=>e.id!==r.id&&(e.id===H.R.id||e.id===$.E.id)))}return i})(t,u,l);const i=(0,Z.Tx)(e)(r,n);p.data.chapters=B(t,p.data.chapters,h),E(p),v(i.steps),_(i.topSteps),f(i.routes),y(i.designRoutes)})()}),[l,u]),(0,s.useEffect)((()=>{(()=>{r.pathname===g.path&&(0,k.tH)(new k.Z_(C.Ou));const e=null==h?void 0:h.chapter;var t;m!==e&&(m&&(p.data.chapters[m].completed=!0,(0,k.tH)(new k.Z_(C.F8,m))),e&&(p.data.chapters[e].completed=!1,(0,k.tH)(new k.Z_(C.r9,e))),S(e)),e&&(p.data.chapters[e].lastStep=null!==(t=null==h?void 0:h.path)&&void 0!==t?t:"")})()}),[h]),(0,s.useEffect)((()=>{var e;if(null!==(e=window.nfdOnboarding)&&void 0!==e&&e.newFlow){const e=window.nfdOnboarding.newFlow;x(!1),N(!0),T(!1),D(!1),a(e),(async e=>{var t;const n=null!==(t=null==o?void 0:o.enabled_flows)&&void 0!==t?t:{};e in n&&!0===n[e]&&(e===M._?P(e):a(!1))})(e),window.nfdOnboarding.newFlow=void 0}}),[r.pathname]),(0,s.createElement)(s.Fragment,null,"ecommerce"===i?(0,s.createElement)(Q,null):t)},K=(0,s.memo)((()=>{const{routes:e}=(0,w.useSelect)((e=>({routes:e(c.h).getRoutes()}))),t=(0,s.useCallback)((()=>null==e?void 0:e.map((e=>(0,s.createElement)(b.AW,{key:e.path,path:e.path,end:!0,element:(0,s.createElement)(e.Component,null)})))),[e]);return(0,s.createElement)("main",{className:"nfd-onboard-content"},(0,s.createElement)(s.Suspense,{fallback:(0,s.createElement)(s.Fragment,null)},(0,s.createElement)(Y,null,(0,s.createElement)(b.Z5,null,t(e)))))}));var X=i(4333),ee=i(4184),te=i.n(ee),ne=i(682),re=i(6690);function ie(e){if(e){const t={};return null==e||e.forEach((e=>{t[e.slug]=e.color})),t}}function ae(e){if(e){const t=[];for(const n in e)t.push({slug:n,name:(null==n?void 0:n.charAt(0).toUpperCase())+(null==n?void 0:n.slice(1)),color:e[n]});return t}}const oe=e=>{let{isColorSelected:t,color:n,slug:r,name:i,callback:a}=e;return(0,s.createElement)("div",{className:"custom-palette__below__row",onClick:()=>a(r),onKeyDown:()=>a(r),role:"button",tabIndex:0},(0,s.createElement)("div",{className:`custom-palette__below__row__icon ${t&&"custom-palette__below__row__icon--selected-border"}`,style:{backgroundColor:`${n}`}},t?(0,s.createElement)(s.Fragment,null,"✓"):null),(0,s.createElement)("div",{className:"custom-palette__below__row__text"},i))},le=()=>{const e=(0,s.useRef)(null),[t,r]=(0,s.useState)(),[i,a]=(0,s.useState)(),[o,l]=(0,s.useState)(),[d,u]=(0,s.useState)(),[h,m]=(0,s.useState)(""),[g,v]=(0,s.useState)(!1),[b,_]=(0,s.useState)(!0),[y,E]=(0,s.useState)(),{storedPreviewSettings:x,currentData:N,themeStatus:T}=(0,w.useSelect)((e=>({storedPreviewSettings:e(c.h).getPreviewSettings(),currentData:e(c.h).getCurrentOnboardingData(),themeStatus:e(c.h).getThemeStatus()})),[]),{updatePreviewSettings:D,setCurrentOnboardingData:P,updateThemeStatus:I}=(0,w.useDispatch)(c.h);(0,s.useEffect)((()=>{var t,r;n.GV===T&&(L(),"custom"===(null==N||null===(t=N.data)||void 0===t?void 0:t.colorStyle)&&(_(!1),null==e||null===(r=e.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"end"})))}),[T]);const L=async()=>{var e;const[t,i]=await Promise.all([(0,p.oC)(),(0,p.LK)()]);if(null!=i&&i.error)return I(n.a0);if(null!=t&&t.error)return I(n.a0);let o;var s,c,d,h,m,g,v;r(null==i?void 0:i.body.tailored),a(null==i?void 0:i.body["custom-picker-grouping"]),""!==(null==N||null===(e=N.data)||void 0===e?void 0:e.colorStyle)?(o=null!==(s=null==x||null===(c=x.settings)||void 0===c||null===(d=c.color)||void 0===d?void 0:d.palette)&&void 0!==s?s:null===(h=t.body[0])||void 0===h||null===(m=h.settings)||void 0===m||null===(g=m.color)||void 0===g?void 0:g.palette,"custom"===(null==N||null===(v=N.data)||void 0===v?void 0:v.colorStyle)&&(l(ie(o)),u(ie(o))),l(ie(o))):O()};async function O(){var e,t,n;const r=await(0,p.oC)(!0);let i;null!=N&&null!==(e=N.data)&&void 0!==e&&null!==(t=e.theme)&&void 0!==t&&t.variation?i=r.body.filter((e=>e.title===N.data.theme.variation))[0]:0===(null===(n=r.body[0])||void 0===n?void 0:n.id)&&(i=r.body[0]),D((0,re.NF)(i,x)),u();const a=i.settings.color.palette;N.data.colorStyle="",P(N),l(ie(a))}const A=e=>{u(),async function(e){var n,r;const i=x;let a=null==x||null===(n=x.settings)||void 0===n||null===(r=n.color)||void 0===r?void 0:r.palette;t&&e&&a&&(a=a.map((n=>{var r;return null!=t&&null!==(r=t[e])&&void 0!==r&&r[n.slug]&&(n.color=t[e][n.slug]),n})),i.settings.color.palette=a,D((0,re.NF)(i,x)))}(e),l(t[e]),ae(t[e]),N.data.colorStyle=e,P(N),(0,k.tH)(new k.Z_(C.hz,e,{colors:(0,j.gq)(t[e])}))},R=async e=>{const t={...o};if(t[h]=e,i){const n=i[h];n&&n.forEach((n=>{t[n]=e}))}!async function(){var e,t;const n=x,r=null==n||null===(e=n.settings)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.palette;if(r){for(let e=0;e{var t,n;d&&void 0!==d[h]&&(r[function(e,t,n){const r=n.findIndex((t=>{let{slug:n}=t;return n===e}));return-1===r?n.findIndex((e=>{let{slug:n}=e;return n===t})):r}(e,h,null==x||null===(t=x.settings)||void 0===t||null===(n=t.color)||void 0===n?void 0:n.palette)].color=d[h])}))}n.settings.color.palette=r,D((0,re.NF)(n,x))}}(),ae(t),N.data.colorStyle="custom",P(N),l(t),clearTimeout(y),E(setTimeout((()=>{(0,k.tH)(new k.Z_(C.hz,"custom",{colors:(0,j.gq)(t)}))}),1e3)),u(t)},z=e=>{v(!g),m(g?"":e)};return t&&(0,s.createElement)("div",{className:"theme-colors--drawer"},(0,s.createElement)("h2",null,(0,S.__)("Color Palettes","wp-module-onboarding")),Object.keys(t).map(((e,n)=>{var r,i,a,o,l;return(0,s.createElement)("div",{key:e,className:te()("color-palette drawer-palette--button",{"color-palette-selected drawer-palette--button--selected":e===(null==N||null===(r=N.data)||void 0===r?void 0:r.colorStyle)}),role:"button",tabIndex:n+1,onClick:()=>A(e),onKeyDown:()=>A(e)},(0,s.createElement)("div",{className:"color-palette__colors"},(0,s.createElement)("div",{className:"color-palette__colors--tertiary",style:{backgroundColor:`${null===(i=t[e])||void 0===i?void 0:i["header-background"]}`}}),(0,s.createElement)("div",{className:"color-palette__colors--secondary",style:{backgroundColor:`${null===(a=t[e])||void 0===a?void 0:a.secondary}`}}),(0,s.createElement)("div",{className:"color-palette__colors--primary",style:{backgroundColor:`${null===(o=t[e])||void 0===o?void 0:o.primary}`}})),(0,s.createElement)("div",{className:"color-palette__name drawer-palette--button__text"},null===(l=t[e])||void 0===l?void 0:l.name))})),function(){var t,n,r,i;const a="#fff",l=d&&""!==(null==d?void 0:d.primary)?d.primary:null!==(t=null==o?void 0:o.primary)&&void 0!==t?t:a,c=d&&""!==(null==d?void 0:d.secondary)?d.secondary:null!==(n=null==o?void 0:o.secondary)&&void 0!==n?n:a,u=d&&""!==(null==d?void 0:d["header-background"])?d["header-background"]:null!==(r=null==o?void 0:o["header-background"])&&void 0!==r?r:a;return(0,s.createElement)("div",{className:"custom-palette"},(0,s.createElement)("div",{className:"custom-palette__top",role:"button",tabIndex:0,onClick:()=>_(!b),onKeyDown:()=>_(!b)},(0,s.createElement)("div",{className:"custom-palette__top-text"},(0,S.__)("SELECT CUSTOM COLORS","wp-module-onboarding")),b?(0,s.createElement)("div",{className:"custom-palette__top-icon"},"+"):(0,s.createElement)("div",{className:"custom-palette__top-icon"},"-")),(0,s.createElement)(ne.Z,{type:"fade-in",duration:"300ms",timingFunction:"ease-in-out",className:"custom-palette__below "+(b?"custom-palette_acc_closed":"custom-palette_acc_opened")},(0,s.createElement)(oe,{isColorSelected:d,color:null!==(i=null==d?void 0:d.base)&&void 0!==i?i:a,slug:"base",name:(0,S.__)("Background","wp-module-onboarding"),callback:z}),(0,s.createElement)(oe,{isColorSelected:d,color:l,slug:"primary",name:(0,S.__)("Primary","wp-module-onboarding"),callback:z}),(0,s.createElement)(oe,{isColorSelected:d,color:c,slug:"secondary",name:(0,S.__)("Secondary","wp-module-onboarding"),callback:z}),(0,s.createElement)(oe,{isColorSelected:d,color:u,slug:"tertiary",name:(0,S.__)("Tertiary","wp-module-onboarding"),callback:z})),d&&(0,s.createElement)(ne.Z,{type:"fade-in",duration:"300ms"},(0,s.createElement)("div",{ref:e,className:"theme-colors--drawer--reset",role:"button",tabIndex:0,onClick:O,onKeyDown:O},(0,s.createElement)("div",null,(0,S.__)("Reset","wp-module-onboarding")))),g&&(0,s.createElement)(f.Popover,null,(0,s.createElement)("div",{role:"button",tabIndex:0,className:"custom-palette__picker__close-icon",onClick:()=>v(!1),onKeyDown:()=>v(!1)},"X"),(0,s.createElement)(f.ColorPicker,{onChange:R})))}())};var se=i(6138),ce=i(6332);const de=()=>{var e,t;const[r,i]=(0,s.useState)(),[a,o]=(0,s.useState)(),[l,u]=(0,s.useState)(""),p=(0,b.TH)(),{currentStep:h,currentData:m,themeStatus:g,storedPreviewSettings:v}=(0,w.useSelect)((e=>({currentStep:e(c.h).getStepFromPath(p.pathname),currentData:e(c.h).getCurrentOnboardingData(),themeStatus:e(c.h).getThemeStatus(),storedPreviewSettings:e(c.h).getStepPreviewData()})),[]),{setCurrentOnboardingData:f,updateThemeStatus:_,setHeaderMenuData:y}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{g===n.GV&&(async()=>{var e;const t=await(0,se.C)(null==h||null===(e=h.data)||void 0===e?void 0:e.patternId);if(null!=t&&t.error)return _(n.a0);const r=null==t?void 0:t.body.pageHeaders,a=null==t?void 0:t.body.pageBody;m.data.partHeader&&""!==m.data.partHeader||(m.data.partHeader=r[0].slug,f(m)),u(m.data.partHeader),o(t.body),i(r);let[l,s]=["",""];r.forEach((e=>{e.slug===m.data.partHeader&&(l=e.content)})),s=l+a,y(s)})()}),[g]),(0,s.createElement)(ce.r9,{count:null===(e=v[null==h||null===(t=h.data)||void 0===t?void 0:t.patternId])||void 0===e?void 0:e.previewCount,watch:r,callback:()=>null==r?void 0:r.map(((e,t)=>(0,s.createElement)(ce.H,{key:t,className:"theme-header-menu-preview--drawer__list__item",selected:e.slug===l,blockGrammer:e.content,viewportWidth:900,styling:"custom",overlay:!1,onClick:()=>(async e=>{document.getElementsByClassName("nfd-onboard-content")&&document.getElementsByClassName("nfd-onboard-content")[0].scrollIntoView({behavior:"smooth"});const t=r[e];if(t.slug===l)return!0;u(t.slug),m.data.partHeader=t.slug,f(m);const n=t.content+a.pageBody;y(n);const i=await(0,d.kB)(m);null===(null==i?void 0:i.error)&&f(m),(0,k.tH)(new k.Z_(C.Z4,t.slug))})(t)}))),className:"theme-header-menu-preview--drawer__list__item",viewportWidth:900})},ue=()=>(0,s.createElement)("div",{style:{padding:"0 16px"}},(0,s.createElement)("h2",null,(0,S.__)("Pick a Homepage Design","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show a few Homepage Patterns.","wp-module-onboarding"))),pe=()=>(0,s.createElement)("div",{style:{padding:"0 16px"}},(0,s.createElement)("h2",null,(0,S.__)("Pick a Theme Style","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("No Style Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show Theme details","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("With Style Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show single-column of other Styles.","wp-module-onboarding"))),he=()=>{var e,t;const[r,i]=(0,s.useState)(),[a,o]=(0,s.useState)(),[l,d]=(0,s.useState)(""),{currentStep:u,currentData:h,storedPreviewSettings:m,themeStatus:g,themeVariations:v}=(0,w.useSelect)((e=>({currentStep:e(c.h).getCurrentStep(),currentData:e(c.h).getCurrentOnboardingData(),storedPreviewSettings:e(c.h).getPreviewSettings(),themeStatus:e(c.h).getThemeStatus(),themeVariations:e(c.h).getStepPreviewData()})),[]),{updatePreviewSettings:f,setCurrentOnboardingData:b,updateThemeStatus:_}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{g===n.GV&&(async()=>{var e;const t=await(0,p.oC)(!0);if(null!=t&&t.error)return _(n.a0);let r;h.data.theme.variation?r=h.data.theme.variation:(r=t.body[0].title,h.data.theme.variation=r,b(h)),d(r);const a=await(0,se.C)(null==u||null===(e=u.data)||void 0===e?void 0:e.patternId,!0);if(null!=a&&a.error)return _(n.a0);i(null==a?void 0:a.body),o(null==t?void 0:t.body),document.getElementsByClassName("theme-styles-preview--drawer__list__item__title-bar--selected")&&document.getElementsByClassName("theme-styles-preview--drawer__list__item__title-bar--selected")[0]&&document.getElementsByClassName("theme-styles-preview--drawer__list__item__title-bar--selected")[0].scrollIntoView({behavior:"smooth",block:"center"})})()}),[g]),(0,s.createElement)("div",{className:"theme-styles-preview--drawer"},(0,s.createElement)("div",{className:"theme-styles-preview--drawer__list"},(0,s.createElement)(ce.r9,{className:"theme-styles-preview--drawer__list__item",watch:a&&r,count:null===(e=v[null==u||null===(t=u.data)||void 0===t?void 0:t.patternId])||void 0===e?void 0:e.previewCount,callback:()=>null==a?void 0:a.map(((e,t)=>(0,s.createElement)(ce.H,{key:t,className:"theme-styles-preview--drawer__list__item",selected:e.title===l,blockGrammer:r,viewportWidth:900,styling:"custom",previewSettings:e,overlay:!1,onClick:()=>(e=>{const t=a[e];if(l===t.title)return!0;f((0,re.NF)(t,m)),d(t.title),h.data.theme.variation=t.title,b(h),(0,k.tH)(new k.Z_(C.Dv,t.title))})(t)}))),viewportWidth:900})))},me=()=>(0,s.createElement)("div",{style:{padding:"0 16px"}},(0,s.createElement)("h2",null,(0,S.__)("Pick a Theme","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("No Theme Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show contextual help","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("With Theme Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show single-column of other Themes.","wp-module-onboarding"))),ge=()=>{const e=(0,s.useRef)(),[t,r]=(0,s.useState)(!1),[i,a]=(0,s.useState)(),[o,l]=(0,s.useState)(),{storedPreviewSettings:d,currentData:u,themeStatus:h}=(0,w.useSelect)((e=>({storedPreviewSettings:e(c.h).getPreviewSettings(),currentData:e(c.h).getCurrentOnboardingData(),themeStatus:e(c.h).getThemeStatus()})),[]),{updatePreviewSettings:m,setCurrentOnboardingData:g,updateThemeStatus:v}=(0,w.useDispatch)(c.h);(0,s.useEffect)((()=>{var e,t,n;""!==(null==u||null===(e=u.data)||void 0===e?void 0:e.fontStyle)&&void 0!==o&&(a(null==u||null===(t=u.data)||void 0===t?void 0:t.fontStyle),f(null==u||null===(n=u.data)||void 0===n?void 0:n.fontStyle))}),[o,d]),(0,s.useEffect)((()=>{t||n.GV!==h||(async()=>{var t,i;const a=await(0,p.ko)();if(null!=a&&a.error)return v(n.a0);l(null==a?void 0:a.body);const o=null==d||null===(t=d.settings)||void 0===t||null===(i=t.styles[0])||void 0===i?void 0:i.css;if(o){const t=/--wp--preset--font-family.*;/;e.current.setAttribute("style",o.match(t))}r(!0)})()}),[t,h]);const f=async function(e){var t,n,r,l,s,c,p,h,v,f,w;let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click";if(i===e)return!0;a(e);const _=d,y=o;var E,S,x,N,T,D;null!=_&&null!==(t=_.styles)&&void 0!==t&&null!==(n=t.typography)&&void 0!==n&&n.fontFamily&&null!=_&&null!==(r=_.styles)&&void 0!==r&&null!==(l=r.blocks["core/heading"])&&void 0!==l&&null!==(s=l.typography)&&void 0!==s&&s.fontFamily&&(_.styles.typography.fontFamily=null===(E=y[e])||void 0===E||null===(S=E.styles)||void 0===S||null===(x=S.typography)||void 0===x?void 0:x.fontFamily,_.styles.blocks["core/heading"].typography.fontFamily=null===(N=y[e])||void 0===N?void 0:N.styles.blocks["core/heading"].typography.fontFamily),null!==(c=_.styles)&&void 0!==c&&null!==(p=c.blocks["core/site-title"])&&void 0!==p&&null!==(h=p.typography)&&void 0!==h&&h.fontFamily&&(_.styles.blocks["core/site-title"].typography.fontFamily=null===(T=y[e])||void 0===T?void 0:T.styles.blocks["core/heading"].typography.fontFamily),null!==(v=_.styles)&&void 0!==v&&null!==(f=v.blocks["core/site-tagline"])&&void 0!==f&&null!==(w=f.typography)&&void 0!==w&&w.fontFamily&&(_.styles.blocks["core/site-tagline"].typography.fontFamily=null===(D=y[e])||void 0===D?void 0:D.styles.blocks["core/heading"].typography.fontFamily),u.data.fontStyle=e,m((0,re.NF)(_,d)),g(u),"click"===b&&(0,k.tH)(new k.Z_(C.Tg,e))};return(0,s.createElement)("div",{ref:e,className:"theme-fonts--drawer"},(0,s.createElement)("h2",null,(0,S.__)("Font Palettes","wp-module-onboarding")),o&&Object.keys(o).map(((e,t)=>{var n,r,a,l,c,d,u,p,h;const m=null===(n=o[e])||void 0===n?void 0:n.label.split("&",2);return 0===m.length?null:(0,s.createElement)("div",{key:e,role:"button",tabIndex:t+1,className:te()("font-palette drawer-palette--button",{"font-palette-selected drawer-palette--button--selected":i===e}),onClick:()=>f(e),onKeyDown:()=>f(e)},(0,s.createElement)("div",{className:"font-palette__icon drawer-palette--button__text",style:{fontFamily:null===(r=o[e])||void 0===r||null===(a=r.styles)||void 0===a||null===(l=a.typography)||void 0===l?void 0:l.fontFamily}}, +(0,S.__)("Making the keys to your %1$s Online %2$s","wp-module-onboarding"),e,(0,q.I)("Site")),subtitle:(0,S.__)("We’re installing WooCommerce for you to fill with your amazing products & services!","wp-module-onboarding")}))(e);return(0,s.createElement)(G.Z,{title:t.title,subtitle:t.subtitle})};var J=i(7207);const Y=e=>{let{children:t}=e;const r=(0,b.TH)(),[i,a]=(0,s.useState)(!1),{brandConfig:o,experienceLevel:l,topPriority:u,currentData:p,currentStep:h,lastChapter:m,firstStep:g}=(0,w.useSelect)((e=>({brandName:e(c.h).getNewfoldBrandName(),brandConfig:e(c.h).getNewfoldBrandConfig(),experienceLevel:e(c.h).getExperienceLevel(),topPriority:e(c.h).getTopPriority(),currentData:e(c.h).getCurrentOnboardingData(),lastChapter:e(c.h).getCurrentChapter(),currentStep:e(c.h).getCurrentStep(),firstStep:e(c.h).getFirstStep()})),[]),{updateAllSteps:v,updateRoutes:f,updateTopSteps:_,updateDesignRoutes:y,setCurrentOnboardingData:E,setActiveChapter:S,setIsDrawerOpened:x,setIsDrawerSuppressed:N,setIsHeaderNavigationEnabled:T,setSidebarActiveView:D}=(0,w.useDispatch)(c.h),P=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t>=n.uj)return a(!1);const r=await(0,d.b5)(e);if(null!=r&&r.error)return t+=1,P(e,t);await J.v.dispatchEvents();const i=z.B.steps[0],o=(0,O.getFragment)(window.location.href),l=(0,j.iO)(window.location.href,"flow").replace(o,"");window.location.replace(`${l}#${i.path}`),window.location.reload()};return(0,s.useEffect)((()=>{if(!1!==(null==o?void 0:o.prioritization))return(()=>{const e=window.nfdOnboarding.currentFlow,t=(0,Z.LI)(e),n=(0,j.Ph)("chapter");let r;r=n?F(n):((e,t,n)=>{const r=(e=>{const t={publishing:U.p,selling:z.B,designing:V.c};return t[e]?t[e]:U.p})(t);let i;switch(n){case"1":default:i=(0,A.filter)(e,(e=>e.id!==r.id)),i=(0,R.QF)(i,$.E,r);break;case"3":i=(0,A.filter)(e,(e=>e.id!==r.id&&(e.id===H.R.id||e.id===$.E.id))),i=(0,R.QF)(i,$.E,r);break;case"5":i=(0,A.filter)(e,(e=>e.id!==r.id&&(e.id===H.R.id||e.id===$.E.id)))}return i})(t,u,l);const i=(0,Z.Tx)(e)(r,n);p.data.chapters=B(t,p.data.chapters,h),E(p),v(i.steps),_(i.topSteps),f(i.routes),y(i.designRoutes)})()}),[l,u]),(0,s.useEffect)((()=>{(()=>{r.pathname===g.path&&(0,k.tH)(new k.Z_(C.Ou));const e=null==h?void 0:h.chapter;var t;m!==e&&(m&&(p.data.chapters[m].completed=!0,(0,k.tH)(new k.Z_(C.F8,m))),e&&(p.data.chapters[e].completed=!1,(0,k.tH)(new k.Z_(C.r9,e))),S(e)),e&&(p.data.chapters[e].lastStep=null!==(t=null==h?void 0:h.path)&&void 0!==t?t:"")})()}),[h]),(0,s.useEffect)((()=>{var e;if(null!==(e=window.nfdOnboarding)&&void 0!==e&&e.newFlow){const e=window.nfdOnboarding.newFlow;x(!1),N(!0),T(!1),D(!1),a(e),(async e=>{var t;const n=null!==(t=null==o?void 0:o.enabled_flows)&&void 0!==t?t:{};e in n&&!0===n[e]&&(e===M._?P(e):a(!1))})(e),window.nfdOnboarding.newFlow=void 0}}),[r.pathname]),(0,s.createElement)(s.Fragment,null,"ecommerce"===i?(0,s.createElement)(Q,null):t)},K=(0,s.memo)((()=>{const{routes:e}=(0,w.useSelect)((e=>({routes:e(c.h).getRoutes()}))),t=(0,s.useCallback)((()=>null==e?void 0:e.map((e=>(0,s.createElement)(b.AW,{key:e.path,path:e.path,end:!0,element:(0,s.createElement)(e.Component,null)})))),[e]);return(0,s.createElement)("main",{className:"nfd-onboard-content"},(0,s.createElement)(s.Suspense,{fallback:(0,s.createElement)(s.Fragment,null)},(0,s.createElement)(Y,null,(0,s.createElement)(b.Z5,null,t(e)))))}));var X=i(4333),ee=i(4184),te=i.n(ee),ne=i(682),re=i(6690);function ie(e){if(e){const t={};return null==e||e.forEach((e=>{t[e.slug]=e.color})),t}}function ae(e){if(e){const t=[];for(const n in e)t.push({slug:n,name:(null==n?void 0:n.charAt(0).toUpperCase())+(null==n?void 0:n.slice(1)),color:e[n]});return t}}const oe=e=>{let{isColorSelected:t,color:n,slug:r,name:i,callback:a}=e;return(0,s.createElement)("div",{className:"custom-palette__below__row",onClick:()=>a(r),onKeyDown:()=>a(r),role:"button",tabIndex:0},(0,s.createElement)("div",{className:`custom-palette__below__row__icon ${t&&"custom-palette__below__row__icon--selected-border"}`,style:{backgroundColor:`${n}`}},t?(0,s.createElement)(s.Fragment,null,"✓"):null),(0,s.createElement)("div",{className:"custom-palette__below__row__text"},i))},le=()=>{const e=(0,s.useRef)(null),[t,r]=(0,s.useState)(),[i,a]=(0,s.useState)(),[o,l]=(0,s.useState)(),[d,u]=(0,s.useState)(),[h,m]=(0,s.useState)(""),[g,v]=(0,s.useState)(!1),[b,_]=(0,s.useState)(!0),[y,E]=(0,s.useState)(),{storedPreviewSettings:x,currentData:N,themeStatus:T}=(0,w.useSelect)((e=>({storedPreviewSettings:e(c.h).getPreviewSettings(),currentData:e(c.h).getCurrentOnboardingData(),themeStatus:e(c.h).getThemeStatus()})),[]),{updatePreviewSettings:D,setCurrentOnboardingData:P,updateThemeStatus:I}=(0,w.useDispatch)(c.h);(0,s.useEffect)((()=>{var t,r;n.GV===T&&(L(),"custom"===(null==N||null===(t=N.data)||void 0===t?void 0:t.colorStyle)&&(_(!1),null==e||null===(r=e.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"end"})))}),[T]);const L=async()=>{var e;const[t,i]=await Promise.all([(0,p.oC)(),(0,p.LK)()]);if(null!=i&&i.error)return I(n.a0);if(null!=t&&t.error)return I(n.a0);let o;var s,c,d,h,m,g,v;r(null==i?void 0:i.body.tailored),a(null==i?void 0:i.body["custom-picker-grouping"]),""!==(null==N||null===(e=N.data)||void 0===e?void 0:e.colorStyle)?(o=null!==(s=null==x||null===(c=x.settings)||void 0===c||null===(d=c.color)||void 0===d?void 0:d.palette)&&void 0!==s?s:null===(h=t.body[0])||void 0===h||null===(m=h.settings)||void 0===m||null===(g=m.color)||void 0===g?void 0:g.palette,"custom"===(null==N||null===(v=N.data)||void 0===v?void 0:v.colorStyle)&&(l(ie(o)),u(ie(o))),l(ie(o))):O()};async function O(){var e,t,n;const r=await(0,p.oC)(!0);let i;null!=N&&null!==(e=N.data)&&void 0!==e&&null!==(t=e.theme)&&void 0!==t&&t.variation?i=r.body.filter((e=>e.title===N.data.theme.variation))[0]:0===(null===(n=r.body[0])||void 0===n?void 0:n.id)&&(i=r.body[0]),D((0,re.NF)(i,x)),u();const a=i.settings.color.palette;N.data.colorStyle="",P(N),l(ie(a))}const A=e=>{u(),async function(e){var n,r;const i=x;let a=null==x||null===(n=x.settings)||void 0===n||null===(r=n.color)||void 0===r?void 0:r.palette;t&&e&&a&&(a=a.map((n=>{var r;return null!=t&&null!==(r=t[e])&&void 0!==r&&r[n.slug]&&(n.color=t[e][n.slug]),n})),i.settings.color.palette=a,D((0,re.NF)(i,x)))}(e),l(t[e]),ae(t[e]),N.data.colorStyle=e,P(N),(0,k.tH)(new k.Z_(C.hz,e,{colors:(0,j.gq)(t[e])}))},R=async e=>{const t={...o};if(t[h]=e,i){const n=i[h];n&&n.forEach((n=>{t[n]=e}))}!async function(){var e,t;const n=x,r=null==n||null===(e=n.settings)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.palette;if(r){for(let e=0;e{var t,n;d&&void 0!==d[h]&&(r[function(e,t,n){const r=n.findIndex((t=>{let{slug:n}=t;return n===e}));return-1===r?n.findIndex((e=>{let{slug:n}=e;return n===t})):r}(e,h,null==x||null===(t=x.settings)||void 0===t||null===(n=t.color)||void 0===n?void 0:n.palette)].color=d[h])}))}n.settings.color.palette=r,D((0,re.NF)(n,x))}}(),ae(t),N.data.colorStyle="custom",P(N),l(t),clearTimeout(y),E(setTimeout((()=>{(0,k.tH)(new k.Z_(C.hz,"custom",{colors:(0,j.gq)(t)}))}),1e3)),u(t)},z=e=>{v(!g),m(g?"":e)};return t&&(0,s.createElement)("div",{className:"theme-colors--drawer"},(0,s.createElement)("h2",null,(0,S.__)("Color Palettes","wp-module-onboarding")),Object.keys(t).map(((e,n)=>{var r,i,a,o,l;return(0,s.createElement)("div",{key:e,className:te()("color-palette drawer-palette--button",{"color-palette-selected drawer-palette--button--selected":e===(null==N||null===(r=N.data)||void 0===r?void 0:r.colorStyle)}),role:"button",tabIndex:n+1,onClick:()=>A(e),onKeyDown:()=>A(e)},(0,s.createElement)("div",{className:"color-palette__colors"},(0,s.createElement)("div",{className:"color-palette__colors--tertiary",style:{backgroundColor:`${null===(i=t[e])||void 0===i?void 0:i["header-background"]}`}}),(0,s.createElement)("div",{className:"color-palette__colors--secondary",style:{backgroundColor:`${null===(a=t[e])||void 0===a?void 0:a.secondary}`}}),(0,s.createElement)("div",{className:"color-palette__colors--primary",style:{backgroundColor:`${null===(o=t[e])||void 0===o?void 0:o.primary}`}})),(0,s.createElement)("div",{className:"color-palette__name drawer-palette--button__text"},null===(l=t[e])||void 0===l?void 0:l.name))})),function(){var t,n,r,i;const a="#fff",l=d&&""!==(null==d?void 0:d.primary)?d.primary:null!==(t=null==o?void 0:o.primary)&&void 0!==t?t:a,c=d&&""!==(null==d?void 0:d.secondary)?d.secondary:null!==(n=null==o?void 0:o.secondary)&&void 0!==n?n:a,u=d&&""!==(null==d?void 0:d["header-background"])?d["header-background"]:null!==(r=null==o?void 0:o["header-background"])&&void 0!==r?r:a;return(0,s.createElement)("div",{className:"custom-palette"},(0,s.createElement)("div",{className:"custom-palette__top",role:"button",tabIndex:0,onClick:()=>_(!b),onKeyDown:()=>_(!b)},(0,s.createElement)("div",{className:"custom-palette__top-text"},(0,S.__)("SELECT CUSTOM COLORS","wp-module-onboarding")),b?(0,s.createElement)("div",{className:"custom-palette__top-icon"},"+"):(0,s.createElement)("div",{className:"custom-palette__top-icon"},"-")),(0,s.createElement)(ne.Z,{type:"fade-in",duration:"300ms",timingFunction:"ease-in-out",className:"custom-palette__below "+(b?"custom-palette_acc_closed":"custom-palette_acc_opened")},(0,s.createElement)(oe,{isColorSelected:d,color:null!==(i=null==d?void 0:d.base)&&void 0!==i?i:a,slug:"base",name:(0,S.__)("Background","wp-module-onboarding"),callback:z}),(0,s.createElement)(oe,{isColorSelected:d,color:l,slug:"primary",name:(0,S.__)("Primary","wp-module-onboarding"),callback:z}),(0,s.createElement)(oe,{isColorSelected:d,color:c,slug:"secondary",name:(0,S.__)("Secondary","wp-module-onboarding"),callback:z}),(0,s.createElement)(oe,{isColorSelected:d,color:u,slug:"tertiary",name:(0,S.__)("Tertiary","wp-module-onboarding"),callback:z})),d&&(0,s.createElement)(ne.Z,{type:"fade-in",duration:"300ms"},(0,s.createElement)("div",{ref:e,className:"theme-colors--drawer--reset",role:"button",tabIndex:0,onClick:O,onKeyDown:O},(0,s.createElement)("div",null,(0,S.__)("Reset","wp-module-onboarding")))),g&&(0,s.createElement)(f.Popover,null,(0,s.createElement)("div",{role:"button",tabIndex:0,className:"custom-palette__picker__close-icon",onClick:()=>v(!1),onKeyDown:()=>v(!1)},"X"),(0,s.createElement)(f.ColorPicker,{onChange:R})))}())};var se=i(6138),ce=i(6332);const de=()=>{var e,t;const[r,i]=(0,s.useState)(),[a,o]=(0,s.useState)(),[l,u]=(0,s.useState)(""),p=(0,b.TH)(),{currentStep:h,currentData:m,themeStatus:g,storedPreviewSettings:v}=(0,w.useSelect)((e=>({currentStep:e(c.h).getStepFromPath(p.pathname),currentData:e(c.h).getCurrentOnboardingData(),themeStatus:e(c.h).getThemeStatus(),storedPreviewSettings:e(c.h).getStepPreviewData()})),[]),{setCurrentOnboardingData:f,updateThemeStatus:_,setHeaderMenuData:y}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{g===n.GV&&(async()=>{var e;const t=await(0,se.C)(null==h||null===(e=h.data)||void 0===e?void 0:e.patternId);if(null!=t&&t.error)return _(n.a0);const r=null==t?void 0:t.body.pageHeaders,a=null==t?void 0:t.body.pageBody;m.data.partHeader&&""!==m.data.partHeader||(m.data.partHeader=r[0].slug,f(m)),u(m.data.partHeader),o(t.body),i(r);let[l,s]=["",""];r.forEach((e=>{e.slug===m.data.partHeader&&(l=e.content)})),s=l+a,y(s)})()}),[g]),(0,s.createElement)(ce.r9,{count:null===(e=v[null==h||null===(t=h.data)||void 0===t?void 0:t.patternId])||void 0===e?void 0:e.previewCount,watch:r,callback:()=>null==r?void 0:r.map(((e,t)=>(0,s.createElement)(ce.H,{key:t,className:"theme-header-menu-preview--drawer__list__item",selected:e.slug===l,blockGrammer:e.content,viewportWidth:900,styling:"custom",overlay:!1,onClick:()=>(async e=>{document.getElementsByClassName("nfd-onboard-content")&&document.getElementsByClassName("nfd-onboard-content")[0].scrollIntoView({behavior:"smooth"});const t=r[e];if(t.slug===l)return!0;u(t.slug),m.data.partHeader=t.slug,f(m);const n=t.content+a.pageBody;y(n);const i=await(0,d.kB)(m);null===(null==i?void 0:i.error)&&f(m),(0,k.tH)(new k.Z_(C.Z4,t.slug))})(t)}))),className:"theme-header-menu-preview--drawer__list__item",viewportWidth:900})},ue=()=>(0,s.createElement)("div",{style:{padding:"0 16px"}},(0,s.createElement)("h2",null,(0,S.__)("Pick a Homepage Design","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show a few Homepage Patterns.","wp-module-onboarding"))),pe=()=>(0,s.createElement)("div",{style:{padding:"0 16px"}},(0,s.createElement)("h2",null,(0,S.__)("Pick a Theme Style","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("No Style Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show Theme details","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("With Style Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show single-column of other Styles.","wp-module-onboarding"))),he=()=>{var e,t;const[r,i]=(0,s.useState)(),[a,o]=(0,s.useState)(),[l,d]=(0,s.useState)(""),{currentStep:u,currentData:h,storedPreviewSettings:m,themeStatus:g,themeVariations:v}=(0,w.useSelect)((e=>({currentStep:e(c.h).getCurrentStep(),currentData:e(c.h).getCurrentOnboardingData(),storedPreviewSettings:e(c.h).getPreviewSettings(),themeStatus:e(c.h).getThemeStatus(),themeVariations:e(c.h).getStepPreviewData()})),[]),{updatePreviewSettings:f,setCurrentOnboardingData:b,updateThemeStatus:_}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{g===n.GV&&(async()=>{var e;const t=await(0,p.oC)(!0);if(null!=t&&t.error)return _(n.a0);let r;h.data.theme.variation?r=h.data.theme.variation:(r=t.body[0].title,h.data.theme.variation=r,b(h)),d(r);const a=await(0,se.C)(null==u||null===(e=u.data)||void 0===e?void 0:e.patternId,!0);if(null!=a&&a.error)return _(n.a0);i(null==a?void 0:a.body),o(null==t?void 0:t.body),document.getElementsByClassName("theme-styles-preview--drawer__list__item__title-bar--selected")&&document.getElementsByClassName("theme-styles-preview--drawer__list__item__title-bar--selected")[0]&&document.getElementsByClassName("theme-styles-preview--drawer__list__item__title-bar--selected")[0].scrollIntoView({behavior:"smooth",block:"center"})})()}),[g]),(0,s.createElement)("div",{className:"theme-styles-preview--drawer"},(0,s.createElement)("div",{className:"theme-styles-preview--drawer__list"},(0,s.createElement)(ce.r9,{className:"theme-styles-preview--drawer__list__item",watch:a&&r,count:null===(e=v[null==u||null===(t=u.data)||void 0===t?void 0:t.patternId])||void 0===e?void 0:e.previewCount,callback:()=>null==a?void 0:a.map(((e,t)=>(0,s.createElement)(ce.H,{key:t,className:"theme-styles-preview--drawer__list__item",selected:e.title===l,blockGrammer:r,viewportWidth:900,styling:"custom",previewSettings:e,overlay:!1,onClick:()=>(e=>{const t=a[e];if(l===t.title)return!0;f((0,re.NF)(t,m)),d(t.title),h.data.theme.variation=t.title,b(h),(0,k.tH)(new k.Z_(C.Dv,t.title))})(t)}))),viewportWidth:900})))},me=()=>(0,s.createElement)("div",{style:{padding:"0 16px"}},(0,s.createElement)("h2",null,(0,S.__)("Pick a Theme","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("No Theme Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show contextual help","wp-module-onboarding")),(0,s.createElement)("h4",null,(0,S.__)("With Theme Selected","wp-module-onboarding")),(0,s.createElement)("p",null,(0,S.__)("Panel will show single-column of other Themes.","wp-module-onboarding"))),ge=()=>{const e=(0,s.useRef)(),[t,r]=(0,s.useState)(!1),[i,a]=(0,s.useState)(),[o,l]=(0,s.useState)(),{storedPreviewSettings:d,currentData:u,themeStatus:h}=(0,w.useSelect)((e=>({storedPreviewSettings:e(c.h).getPreviewSettings(),currentData:e(c.h).getCurrentOnboardingData(),themeStatus:e(c.h).getThemeStatus()})),[]),{updatePreviewSettings:m,setCurrentOnboardingData:g,updateThemeStatus:v}=(0,w.useDispatch)(c.h);(0,s.useEffect)((()=>{var e,t,n;""!==(null==u||null===(e=u.data)||void 0===e?void 0:e.fontStyle)&&void 0!==o&&(a(null==u||null===(t=u.data)||void 0===t?void 0:t.fontStyle),f(null==u||null===(n=u.data)||void 0===n?void 0:n.fontStyle))}),[o,d]),(0,s.useEffect)((()=>{t||n.GV!==h||(async()=>{var t,i;const a=await(0,p.ko)();if(null!=a&&a.error)return v(n.a0);l(null==a?void 0:a.body);const o=null==d||null===(t=d.settings)||void 0===t||null===(i=t.styles[0])||void 0===i?void 0:i.css;if(o){const t=/--wp--preset--font-family.*;/;e.current.setAttribute("style",o.match(t))}r(!0)})()}),[t,h]);const f=async function(e){var t,n,r,l,s,c,p,h,v,f,w;let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click";if(i===e)return!0;a(e);const _=d,y=o;var E,S,x,N,T,D;null!=_&&null!==(t=_.styles)&&void 0!==t&&null!==(n=t.typography)&&void 0!==n&&n.fontFamily&&null!=_&&null!==(r=_.styles)&&void 0!==r&&null!==(l=r.blocks["core/heading"])&&void 0!==l&&null!==(s=l.typography)&&void 0!==s&&s.fontFamily&&(_.styles.typography.fontFamily=null===(E=y[e])||void 0===E||null===(S=E.styles)||void 0===S||null===(x=S.typography)||void 0===x?void 0:x.fontFamily,_.styles.blocks["core/heading"].typography.fontFamily=null===(N=y[e])||void 0===N?void 0:N.styles.blocks["core/heading"].typography.fontFamily),null!==(c=_.styles)&&void 0!==c&&null!==(p=c.blocks["core/site-title"])&&void 0!==p&&null!==(h=p.typography)&&void 0!==h&&h.fontFamily&&(_.styles.blocks["core/site-title"].typography.fontFamily=null===(T=y[e])||void 0===T?void 0:T.styles.blocks["core/heading"].typography.fontFamily),null!==(v=_.styles)&&void 0!==v&&null!==(f=v.blocks["core/site-tagline"])&&void 0!==f&&null!==(w=f.typography)&&void 0!==w&&w.fontFamily&&(_.styles.blocks["core/site-tagline"].typography.fontFamily=null===(D=y[e])||void 0===D?void 0:D.styles.blocks["core/heading"].typography.fontFamily),u.data.fontStyle=e,m((0,re.NF)(_,d)),g(u),"click"===b&&(0,k.tH)(new k.Z_(C.Tg,e))};return(0,s.createElement)("div",{ref:e,className:"theme-fonts--drawer"},(0,s.createElement)("h2",null,(0,S.__)("Font Palettes","wp-module-onboarding")),o&&Object.keys(o).map(((e,t)=>{var n,r,a,l,c,d,u,p,h;const m=null===(n=o[e])||void 0===n?void 0:n.label.split("&",2);return 0===m.length?null:(0,s.createElement)("div",{key:e,role:"button",tabIndex:t+1,className:te()("font-palette drawer-palette--button",{"font-palette-selected drawer-palette--button--selected":i===e}),onClick:()=>f(e),onKeyDown:()=>f(e)},(0,s.createElement)("div",{className:"font-palette__icon drawer-palette--button__text",style:{fontFamily:null===(r=o[e])||void 0===r||null===(a=r.styles)||void 0===a||null===(l=a.typography)||void 0===l?void 0:l.fontFamily}}, /* translators: text in each font selection pill representing the respective font */ -(0,S.__)("Aa","wp-module-onboarding")),(0,s.createElement)("div",{className:"font-palette__name drawer-palette--button__text"},(0,s.createElement)("span",{style:{fontFamily:null===(c=o[e])||void 0===c?void 0:c.styles.blocks["core/heading"].typography.fontFamily}},m[0]),m[1]?"&":"",(0,s.createElement)("span",{style:{fontFamily:null===(d=o[e])||void 0===d||null===(u=d.styles)||void 0===u||null===(p=u.typography)||void 0===p?void 0:p.fontFamily}},null!==(h=m[1])&&void 0!==h?h:"")))})))};var ve=i(9630),fe=i(9196),we=i(2599);function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}const ye=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Ee=["aria-current","caseSensitive","className","end","style","to","children"];function Se(e){let{basename:t,children:n,window:r}=e,i=fe.useRef();null==i.current&&(i.current=(0,we.q_)({window:r,v5Compat:!0}));let a=i.current,[o,l]=fe.useState({action:a.action,location:a.location});return fe.useLayoutEffect((()=>a.listen(l)),[a]),fe.createElement(b.F0,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a})}const ke="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Ce=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xe=fe.forwardRef((function(e,t){let n,{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:s,to:c,preventScrollReset:d}=e,u=_e(e,ye),{basename:p}=fe.useContext(b.Us),h=!1;if("string"==typeof c&&Ce.test(c)&&(n=c,ke))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=(0,we.Zn)(t.pathname,p);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:h=!0}catch(e){}let m=(0,b.oQ)(c,{relative:i}),g=function(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o}=void 0===t?{}:t,l=(0,b.s0)(),s=(0,b.TH)(),c=(0,b.WU)(e,{relative:o});return fe.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:(0,we.Ep)(s)===(0,we.Ep)(c);l(e,{replace:n,state:i,preventScrollReset:a,relative:o})}}),[s,l,c,r,i,n,e,a,o])}(c,{replace:o,state:l,target:s,preventScrollReset:d,relative:i});return fe.createElement("a",be({},u,{href:n||m,onClick:h||a?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:s}))})),Ne=fe.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:i="",end:a=!1,style:o,to:l,children:s}=e,c=_e(e,Ee),d=(0,b.WU)(l,{relative:c.relative}),u=(0,b.TH)(),p=fe.useContext(b.FR),{navigator:h}=fe.useContext(b.Us),m=h.encodeLocation?h.encodeLocation(d).pathname:d.pathname,g=u.pathname,v=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;r||(g=g.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase());let f,w=g===m||!a&&g.startsWith(m)&&"/"===g.charAt(m.length),_=null!=v&&(v===m||!a&&v.startsWith(m)&&"/"===v.charAt(m.length)),y=w?n:void 0;f="function"==typeof i?i({isActive:w,isPending:_}):[i,w?"active":null,_?"pending":null].filter(Boolean).join(" ");let E="function"==typeof o?o({isActive:w,isPending:_}):o;return fe.createElement(xe,be({},c,{"aria-current":y,className:f,ref:t,style:E,to:l}),"function"==typeof s?s({isActive:w,isPending:_}):s)}));var Te,De;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Te||(Te={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(De||(De={}));const Pe=()=>{const{designRoutes:e}=(0,w.useSelect)((e=>({designRoutes:e(c.h).getDesignRoutes()})),[]),{setDrawerActiveView:t}=(0,w.useDispatch)(c.h),r=(0,b.TH)();return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>t(n.tM)},(0,S.__)("Onboarding Menu","wp-module-onboarding")),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},e.map((e=>{var n;return(0,s.createElement)("li",{key:e.path,className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.path,className:te()("nfd-onboarding-drawer__panel-menu-link",{active:r.pathname===e.path||r.pathname.includes(null==e||null===(n=e.data)||void 0===n?void 0:n.designDrawerActiveLinkIncludes)}),state:{origin:"drawer-nav"},onClick:()=>t(e.drawerView)},(0,s.createElement)(_.Z,{icon:e.icon}),(0,s.createElement)("span",null,e.title)))})))))},Ie=()=>{const e=$.E.steps,{setDrawerActiveView:t}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>t(n.tM)},(0,S.__)("Onboarding Menu","wp-module-onboarding")),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},e.map((e=>(0,s.createElement)("li",{key:e.path,className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.path,className:"nfd-onboarding-drawer__panel-menu-link",state:{origin:"drawer-nav"},onClick:()=>t(e.drawerView)},(0,s.createElement)(_.Z,{icon:e.icon}),(0,s.createElement)("span",null,e.title))))))))},Le=()=>{const{setDrawerActiveView:e}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>e(n.tM)},(0,S.__)("Resume Onboarding","wp-module-onboarding")))},Oe=()=>{const e=(0,b.TH)(),{topSteps:t}=(0,w.useSelect)((e=>({topSteps:e(c.h).getTopSteps()})),[]),{setDrawerActiveView:n}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},t.map((t=>{var r,i,a;return(0,s.createElement)(f.Tooltip,{key:t.path,text:null===(r=t.data)||void 0===r?void 0:r.tooltipText},(0,s.createElement)("li",{className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.pathname===t.path||e.pathname.includes(null==t||null===(i=t.data)||void 0===i?void 0:i.primaryDrawerActiveLinkIncludes)?e.pathname:t.path,className:te()("nfd-onboarding-drawer__panel-menu-link",{active:e.pathname===t.path||e.pathname.includes(null==t||null===(a=t.data)||void 0===a?void 0:a.primaryDrawerActiveLinkIncludes)}),state:{origin:"drawer-nav"},onClick:()=>(null==t?void 0:t.drawerView)&&n(t.drawerView)},(0,s.createElement)(_.Z,{icon:t.icon}),(0,s.createElement)("span",null,t.title))))})))))},Ae=()=>{const e=z.B.steps,{setDrawerActiveView:t}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>t(n.tM)},(0,S.__)("Onboarding Menu","wp-module-onboarding")),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},e.map((e=>(0,s.createElement)("li",{key:e.path,className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.path,className:"nfd-onboarding-drawer__panel-menu-link",state:{origin:"drawer-nav"},onClick:()=>t(e.drawerView)},(0,s.createElement)(_.Z,{icon:e.icon}),(0,s.createElement)("span",null,e.title))))))))},Re=e=>{let{children:t}=e;const{setDrawerActiveView:r}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>r(n.Yl)},(0,S.__)("Design","wp-module-onboarding")),t)},ze=()=>{const{isDrawerOpen:e,drawerView:t}=(0,w.useSelect)((e=>{const{isDrawerOpened:t,getDrawerView:n}=e(c.h);return{isDrawerOpen:t(),drawerView:n()}}),[]),{setIsDrawerOpened:r}=(0,w.useDispatch)(c.h);return(0,s.createElement)("div",{className:te()("nfd-onboarding-drawer__panel",{"is-open":e}),role:"button",tabIndex:"0",onKeyDown:e=>{e.keyCode!==ve.ESCAPE||e.defaultPrevented||(e.preventDefault(),r(!1))}},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-inner"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-site-title-container"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-site-title"},(0,S.__)("WordPress Onboarding","wp-module-onboarding"))),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-scroll-container"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-inside"},n.tM===t&&(0,s.createElement)(Oe,null),n.Yl===t&&(0,s.createElement)(Pe,null),n.mz===t&&(0,s.createElement)(Ie,null),n.dv===t&&(0,s.createElement)(Ae,null),n.BP===t&&(0,s.createElement)(Le,null),n.tX===t&&(0,s.createElement)(Re,null,(0,s.createElement)(me,null)),n.lE===t&&(0,s.createElement)(Re,null,(0,s.createElement)(pe,null)),n._h===t&&(0,s.createElement)(Re,null,(0,s.createElement)(he,null)),n.qR===t&&(0,s.createElement)(Re,null,(0,s.createElement)(le,null)),n.R2===t&&(0,s.createElement)(Re,null,(0,s.createElement)(ge,null)),n.qO===t&&(0,s.createElement)(Re,null,(0,s.createElement)(de,null)),n.nx===t&&(0,s.createElement)(Re,null,(0,s.createElement)(ue,null))))))},$e=e=>{let{isOpen:t}=e;const{isDrawerOpen:n,isDrawerSuppressed:r}=(0,w.useSelect)((e=>({isDrawerOpen:e(c.h).isDrawerOpened(),isDrawerSuppressed:e(c.h).isDrawerSuppressed()})),[]),{setIsDrawerOpened:i}=(0,w.useDispatch)(c.h),a=(0,s.useRef)();return(0,s.useEffect)((()=>{n||a.current.focus()}),[n]),(0,s.createElement)(f.__unstableMotion.div,{className:te()("nfd-onboarding-drawer__toggle",{"is-open":n}),whileHover:"expand"},(0,s.createElement)(f.Button,{className:`nfd-onboarding-drawer__toggle-button has-icon ${!r||"is-suppressed"}`,label:(0,S.__)("Toggle Navigation","wp-module-onboarding"),ref:a,"aria-pressed":t,onClick:()=>{r||i(!n)}},(0,s.createElement)("div",{style:{width:"36px",height:"36px",backgroundImage:"var(--nfd-onboarding-icon)",backgroundSize:"contain"}})))},Ve=(0,s.memo)((e=>{let{isDefaultOpen:t=!1}=e;const n=(0,X.useViewportMatch)("medium"),{setIsDrawerOpened:r}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{r(t&&n)}),[t,n,r]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)($e,null),(0,s.createElement)(ze,null))})),He=()=>{const{isSidebarOpened:e,sideBarView:t,sidebars:r}=(0,w.useSelect)((e=>({isSidebarOpened:e(c.h).isSidebarOpened(),sideBarView:e(c.h).getSidebarView(),sidebars:e(c.h).getSidebars()})));return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(s.Suspense,{fallback:(0,s.createElement)(s.Fragment,null)},r.map((e=>(0,s.createElement)(s.Fragment,{key:e.id},(0,s.createElement)(e.sidebar,null),(0,s.createElement)(e.menu,null))))),(0,s.createElement)("div",{className:te()("nfd-onboarding-sidebar__panel",{"is-open":e&&t})},(0,s.createElement)("div",{className:"nfd-onboarding-sidebar__panel-inner"},e&&t&&(0,s.createElement)(f.Slot,{name:`${n.qB}/${t}`}))))};var Ue=i(3768);const Fe=e=>{let{isActive:t}=e;return(0,s.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,s.useEffect)((()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")})),[t]),null},We=window.wp.deprecated;var Be=i.n(We);const Ze=window.wp.preferences,Me=(e,t)=>({type:"SET_DEFAULT_COMPLEMENTARY_AREA",scope:e,area:t}),je=(e,t)=>n=>{let{registry:r,dispatch:i}=n;t&&(r.select(Ze.store).get(e,"isComplementaryAreaVisible")||r.dispatch(Ze.store).set(e,"isComplementaryAreaVisible",!0),i({type:"ENABLE_COMPLEMENTARY_AREA",scope:e,area:t}))},Ge=e=>t=>{let{registry:n}=t;n.select(Ze.store).get(e,"isComplementaryAreaVisible")&&n.dispatch(Ze.store).set(e,"isComplementaryAreaVisible",!1)},qe=(e,t)=>n=>{let{registry:r}=n;if(!t)return;const i=r.select(Ze.store).get(e,"pinnedItems");!0!==(null==i?void 0:i[t])&&r.dispatch(Ze.store).set(e,"pinnedItems",{...i,[t]:!0})},Qe=(e,t)=>n=>{let{registry:r}=n;if(!t)return;const i=r.select(Ze.store).get(e,"pinnedItems");r.dispatch(Ze.store).set(e,"pinnedItems",{...i,[t]:!1})};function Je(e,t){return function(n){let{registry:r}=n;Be()("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),r.dispatch(Ze.store).toggle(e,t)}}function Ye(e,t,n){return function(r){let{registry:i}=r;Be()("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),i.dispatch(Ze.store).set(e,t,!!n)}}function Ke(e,t){return function(n){let{registry:r}=n;Be()("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),r.dispatch(Ze.store).setDefaults(e,t)}}const Xe=(0,w.createRegistrySelector)((e=>(t,n)=>{var r;const i=e(Ze.store).get(n,"isComplementaryAreaVisible");if(void 0!==i)return!1===i?null:null==t||null===(r=t.complementaryAreas)||void 0===r?void 0:r[n]})),et=(0,w.createRegistrySelector)((e=>(t,n)=>{var r;const i=e(Ze.store).get(n,"isComplementaryAreaVisible"),a=null==t||null===(r=t.complementaryAreas)||void 0===r?void 0:r[n];return i&&void 0===a})),tt=(0,w.createRegistrySelector)((e=>(t,n,r)=>{var i;const a=e(Ze.store).get(n,"pinnedItems");return null===(i=null==a?void 0:a[r])||void 0===i||i})),nt=(0,w.createRegistrySelector)((e=>(t,n,r)=>(Be()("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(Ze.store).get(n,r)))),rt=(0,w.combineReducers)({complementaryAreas:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_DEFAULT_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return e[n]?e:{...e,[n]:r}}case"ENABLE_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return{...e,[n]:r}}}return e}}),it=(0,w.createReduxStore)("core/interface",{reducer:rt,actions:e,selectors:t});(0,w.register)(it);var at=i(7462);const ot=(0,s.forwardRef)((function(e,t){let{footer:n,header:r,sidebar:i,secondarySidebar:a,notices:o,content:l,drawer:c,actions:d,labels:u,className:p,shortcuts:h}=e;const m=(0,f.__unstableUseNavigateRegions)(h);!function(e){(0,s.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("nfd-interface-interface-skeleton__html-container");const g={ +(0,S.__)("Aa","wp-module-onboarding")),(0,s.createElement)("div",{className:"font-palette__name drawer-palette--button__text"},(0,s.createElement)("span",{style:{fontFamily:null===(c=o[e])||void 0===c?void 0:c.styles.blocks["core/heading"].typography.fontFamily}},m[0]),m[1]?"&":"",(0,s.createElement)("span",{style:{fontFamily:null===(d=o[e])||void 0===d||null===(u=d.styles)||void 0===u||null===(p=u.typography)||void 0===p?void 0:p.fontFamily}},null!==(h=m[1])&&void 0!==h?h:"")))})))};var ve=i(9630),fe=i(9196),we=i(2599);function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}const ye=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Ee=["aria-current","caseSensitive","className","end","style","to","children"];function Se(e){let{basename:t,children:n,window:r}=e,i=fe.useRef();null==i.current&&(i.current=(0,we.q_)({window:r,v5Compat:!0}));let a=i.current,[o,l]=fe.useState({action:a.action,location:a.location});return fe.useLayoutEffect((()=>a.listen(l)),[a]),fe.createElement(b.F0,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a})}const ke="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Ce=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xe=fe.forwardRef((function(e,t){let n,{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:s,to:c,preventScrollReset:d}=e,u=_e(e,ye),{basename:p}=fe.useContext(b.Us),h=!1;if("string"==typeof c&&Ce.test(c)&&(n=c,ke))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=(0,we.Zn)(t.pathname,p);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:h=!0}catch(e){}let m=(0,b.oQ)(c,{relative:i}),g=function(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o}=void 0===t?{}:t,l=(0,b.s0)(),s=(0,b.TH)(),c=(0,b.WU)(e,{relative:o});return fe.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:(0,we.Ep)(s)===(0,we.Ep)(c);l(e,{replace:n,state:i,preventScrollReset:a,relative:o})}}),[s,l,c,r,i,n,e,a,o])}(c,{replace:o,state:l,target:s,preventScrollReset:d,relative:i});return fe.createElement("a",be({},u,{href:n||m,onClick:h||a?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:s}))})),Ne=fe.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:i="",end:a=!1,style:o,to:l,children:s}=e,c=_e(e,Ee),d=(0,b.WU)(l,{relative:c.relative}),u=(0,b.TH)(),p=fe.useContext(b.FR),{navigator:h}=fe.useContext(b.Us),m=h.encodeLocation?h.encodeLocation(d).pathname:d.pathname,g=u.pathname,v=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;r||(g=g.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase());let f,w=g===m||!a&&g.startsWith(m)&&"/"===g.charAt(m.length),_=null!=v&&(v===m||!a&&v.startsWith(m)&&"/"===v.charAt(m.length)),y=w?n:void 0;f="function"==typeof i?i({isActive:w,isPending:_}):[i,w?"active":null,_?"pending":null].filter(Boolean).join(" ");let E="function"==typeof o?o({isActive:w,isPending:_}):o;return fe.createElement(xe,be({},c,{"aria-current":y,className:f,ref:t,style:E,to:l}),"function"==typeof s?s({isActive:w,isPending:_}):s)}));var Te,De;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Te||(Te={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(De||(De={}));const Pe=()=>{const{designRoutes:e}=(0,w.useSelect)((e=>({designRoutes:e(c.h).getDesignRoutes()})),[]),{setDrawerActiveView:t}=(0,w.useDispatch)(c.h),r=(0,b.TH)();return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>t(n.tM)},(0,S.__)("Onboarding Menu","wp-module-onboarding")),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},e.map((e=>{var n;return(0,s.createElement)("li",{key:e.path,className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.path,className:te()("nfd-onboarding-drawer__panel-menu-link",{active:r.pathname===e.path||r.pathname.includes(null==e||null===(n=e.data)||void 0===n?void 0:n.designDrawerActiveLinkIncludes)}),state:{origin:"drawer-nav"},onClick:()=>t(e.drawerView)},(0,s.createElement)(_.Z,{icon:e.icon}),(0,s.createElement)("span",null,e.title)))})))))},Ie=()=>{const e=$.E.steps,{setDrawerActiveView:t}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>t(n.tM)},(0,S.__)("Onboarding Menu","wp-module-onboarding")),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},e.map((e=>(0,s.createElement)("li",{key:e.path,className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.path,className:"nfd-onboarding-drawer__panel-menu-link",state:{origin:"drawer-nav"},onClick:()=>t(e.drawerView)},(0,s.createElement)(_.Z,{icon:e.icon}),(0,s.createElement)("span",null,e.title))))))))},Le=()=>{const{setDrawerActiveView:e}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>e(n.tM)},(0,S.__)("Resume Onboarding","wp-module-onboarding")))},Oe=()=>{const e=(0,b.TH)(),{topSteps:t}=(0,w.useSelect)((e=>({topSteps:e(c.h).getTopSteps()})),[]),{setDrawerActiveView:n}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},t.map((t=>{var r,i,a;return(0,s.createElement)(f.Tooltip,{key:t.path,text:null===(r=t.data)||void 0===r?void 0:r.tooltipText},(0,s.createElement)("li",{className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.pathname===t.path||e.pathname.includes(null==t||null===(i=t.data)||void 0===i?void 0:i.primaryDrawerActiveLinkIncludes)?e.pathname:t.path,className:te()("nfd-onboarding-drawer__panel-menu-link",{active:e.pathname===t.path||e.pathname.includes(null==t||null===(a=t.data)||void 0===a?void 0:a.primaryDrawerActiveLinkIncludes)}),state:{origin:"drawer-nav"},onClick:()=>(null==t?void 0:t.drawerView)&&n(t.drawerView)},(0,s.createElement)(_.Z,{icon:t.icon}),(0,s.createElement)("span",null,t.title))))})))))},Ae=()=>{const e=z.B.steps,{setDrawerActiveView:t}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>t(n.tM)},(0,S.__)("Onboarding Menu","wp-module-onboarding")),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-menu"},(0,s.createElement)("ul",{className:"nfd-onboarding-drawer__panel-routes"},e.map((e=>(0,s.createElement)("li",{key:e.path,className:"nfd-onboarding-drawer__panel-menu-item"},(0,s.createElement)(Ne,{to:e.path,className:"nfd-onboarding-drawer__panel-menu-link",state:{origin:"drawer-nav"},onClick:()=>t(e.drawerView)},(0,s.createElement)(_.Z,{icon:e.icon}),(0,s.createElement)("span",null,e.title))))))))},Re=e=>{let{children:t}=e;const{setDrawerActiveView:r}=(0,w.useDispatch)(c.h);return(0,s.createElement)(ne.Z,{type:"fade-in",duration:"100ms",timingFunction:"ease-in"},(0,s.createElement)(f.Button,{className:"nfd-onboarding-drawer__panel-back",variant:"tertiary",icon:y.Z,onClick:()=>r(n.Yl)},(0,S.__)("Design","wp-module-onboarding")),t)},ze=()=>{const{isDrawerOpen:e,drawerView:t}=(0,w.useSelect)((e=>{const{isDrawerOpened:t,getDrawerView:n}=e(c.h);return{isDrawerOpen:t(),drawerView:n()}}),[]),{setIsDrawerOpened:r}=(0,w.useDispatch)(c.h);return(0,s.createElement)("div",{className:te()("nfd-onboarding-drawer__panel",{"is-open":e}),role:"button",tabIndex:"0",onKeyDown:e=>{e.keyCode!==ve.ESCAPE||e.defaultPrevented||(e.preventDefault(),r(!1))}},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-inner"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-site-title-container"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-site-title"},(0,S.__)("WordPress Onboarding","wp-module-onboarding"))),(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-scroll-container"},(0,s.createElement)("div",{className:"nfd-onboarding-drawer__panel-inside"},n.tM===t&&(0,s.createElement)(Oe,null),n.Yl===t&&(0,s.createElement)(Pe,null),n.mz===t&&(0,s.createElement)(Ie,null),n.dv===t&&(0,s.createElement)(Ae,null),n.BP===t&&(0,s.createElement)(Le,null),n.tX===t&&(0,s.createElement)(Re,null,(0,s.createElement)(me,null)),n.lE===t&&(0,s.createElement)(Re,null,(0,s.createElement)(pe,null)),n._h===t&&(0,s.createElement)(Re,null,(0,s.createElement)(he,null)),n.qR===t&&(0,s.createElement)(Re,null,(0,s.createElement)(le,null)),n.R2===t&&(0,s.createElement)(Re,null,(0,s.createElement)(ge,null)),n.qO===t&&(0,s.createElement)(Re,null,(0,s.createElement)(de,null)),n.nx===t&&(0,s.createElement)(Re,null,(0,s.createElement)(ue,null))))))},$e=e=>{let{isOpen:t}=e;const{isDrawerOpen:n,isDrawerSuppressed:r}=(0,w.useSelect)((e=>({isDrawerOpen:e(c.h).isDrawerOpened(),isDrawerSuppressed:e(c.h).isDrawerSuppressed()})),[]),{setIsDrawerOpened:i}=(0,w.useDispatch)(c.h),a=(0,s.useRef)();return(0,s.useEffect)((()=>{n||a.current.focus()}),[n]),(0,s.createElement)(f.__unstableMotion.div,{className:te()("nfd-onboarding-drawer__toggle",{"is-open":n}),whileHover:"expand"},(0,s.createElement)(f.Button,{className:`nfd-onboarding-drawer__toggle-button has-icon ${!r||"is-suppressed"}`,label:(0,S.__)("Toggle Navigation","wp-module-onboarding"),ref:a,"aria-pressed":t,onClick:()=>{r||i(!n)}},(0,s.createElement)("div",{style:{width:"36px",height:"36px",backgroundImage:"var(--nfd-onboarding-icon)",backgroundSize:"contain"}})))},Ve=(0,s.memo)((e=>{let{isDefaultOpen:t=!1}=e;const n=(0,X.useViewportMatch)("medium"),{setIsDrawerOpened:r}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{r(t&&n)}),[t,n,r]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)($e,null),(0,s.createElement)(ze,null))})),He=()=>{const{isSidebarOpened:e,sideBarView:t,sidebars:r}=(0,w.useSelect)((e=>({isSidebarOpened:e(c.h).isSidebarOpened(),sideBarView:e(c.h).getSidebarView(),sidebars:e(c.h).getSidebars()})));return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(s.Suspense,{fallback:(0,s.createElement)(s.Fragment,null)},r.map((e=>(0,s.createElement)(s.Fragment,{key:e.id},(0,s.createElement)(e.sidebar,null),(0,s.createElement)(e.menu,null))))),(0,s.createElement)("div",{className:te()("nfd-onboarding-sidebar__panel",{"is-open":e&&t})},(0,s.createElement)("div",{className:"nfd-onboarding-sidebar__panel-inner"},e&&t&&(0,s.createElement)(f.Slot,{name:`${n.qB}/${t}`}))))};var Ue=i(3768);const We=e=>{let{isActive:t}=e;return(0,s.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,s.useEffect)((()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")})),[t]),null},Fe=window.wp.deprecated;var Be=i.n(Fe);const Ze=window.wp.preferences,Me=(e,t)=>({type:"SET_DEFAULT_COMPLEMENTARY_AREA",scope:e,area:t}),je=(e,t)=>n=>{let{registry:r,dispatch:i}=n;t&&(r.select(Ze.store).get(e,"isComplementaryAreaVisible")||r.dispatch(Ze.store).set(e,"isComplementaryAreaVisible",!0),i({type:"ENABLE_COMPLEMENTARY_AREA",scope:e,area:t}))},Ge=e=>t=>{let{registry:n}=t;n.select(Ze.store).get(e,"isComplementaryAreaVisible")&&n.dispatch(Ze.store).set(e,"isComplementaryAreaVisible",!1)},qe=(e,t)=>n=>{let{registry:r}=n;if(!t)return;const i=r.select(Ze.store).get(e,"pinnedItems");!0!==(null==i?void 0:i[t])&&r.dispatch(Ze.store).set(e,"pinnedItems",{...i,[t]:!0})},Qe=(e,t)=>n=>{let{registry:r}=n;if(!t)return;const i=r.select(Ze.store).get(e,"pinnedItems");r.dispatch(Ze.store).set(e,"pinnedItems",{...i,[t]:!1})};function Je(e,t){return function(n){let{registry:r}=n;Be()("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),r.dispatch(Ze.store).toggle(e,t)}}function Ye(e,t,n){return function(r){let{registry:i}=r;Be()("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),i.dispatch(Ze.store).set(e,t,!!n)}}function Ke(e,t){return function(n){let{registry:r}=n;Be()("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),r.dispatch(Ze.store).setDefaults(e,t)}}const Xe=(0,w.createRegistrySelector)((e=>(t,n)=>{var r;const i=e(Ze.store).get(n,"isComplementaryAreaVisible");if(void 0!==i)return!1===i?null:null==t||null===(r=t.complementaryAreas)||void 0===r?void 0:r[n]})),et=(0,w.createRegistrySelector)((e=>(t,n)=>{var r;const i=e(Ze.store).get(n,"isComplementaryAreaVisible"),a=null==t||null===(r=t.complementaryAreas)||void 0===r?void 0:r[n];return i&&void 0===a})),tt=(0,w.createRegistrySelector)((e=>(t,n,r)=>{var i;const a=e(Ze.store).get(n,"pinnedItems");return null===(i=null==a?void 0:a[r])||void 0===i||i})),nt=(0,w.createRegistrySelector)((e=>(t,n,r)=>(Be()("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(Ze.store).get(n,r)))),rt=(0,w.combineReducers)({complementaryAreas:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_DEFAULT_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return e[n]?e:{...e,[n]:r}}case"ENABLE_COMPLEMENTARY_AREA":{const{scope:n,area:r}=t;return{...e,[n]:r}}}return e}}),it=(0,w.createReduxStore)("core/interface",{reducer:rt,actions:e,selectors:t});(0,w.register)(it);var at=i(7462);const ot=(0,s.forwardRef)((function(e,t){let{footer:n,header:r,sidebar:i,secondarySidebar:a,notices:o,content:l,drawer:c,actions:d,labels:u,className:p,shortcuts:h}=e;const m=(0,f.__unstableUseNavigateRegions)(h);!function(e){(0,s.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("nfd-interface-interface-skeleton__html-container");const g={ /* translators: accessibility text for the nav bar landmark region. */ drawer:(0,S.__)("Drawer","wp-module-onboarding"), /* translators: accessibility text for the top bar landmark region. */ @@ -94,4 +94,4 @@ sidebar:(0,S.__)("Settings","wp-module-onboarding"), /* translators: accessibility text for the publish landmark region. */ actions:(0,S.__)("Publish","wp-module-onboarding"), /* translators: accessibility text for the footer landmark region. */ -footer:(0,S.__)("Footer","wp-module-onboarding"),...u};return(0,s.createElement)("div",(0,at.Z)({},m,{ref:(0,X.useMergeRefs)([t,m.ref]),className:te()(p,"nfd-interface-interface-skeleton",m.className,!!n&&"has-footer")}),!!c&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__drawer",role:"region","aria-label":g.drawer,tabIndex:"-1"},c),(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__editor"},!!r&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__header",role:"region","aria-label":g.header,tabIndex:"-1"},r),(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__body"},!!a&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":g.secondarySidebar,tabIndex:"-1"},a),!!o&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__notices"},o),(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__content",role:"region","aria-label":g.body,tabIndex:"-1"},l),!!i&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__sidebar",role:"region","aria-label":g.sidebar,tabIndex:"-1"},i),!!d&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__actions",role:"region","aria-label":g.actions,tabIndex:"-1"},d))),!!n&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__footer",role:"region","aria-label":g.footer,tabIndex:"-1"},n))}));var lt=i(5087);const st=()=>{const e=(0,b.TH)(),t=(0,X.useViewportMatch)("medium"),r=(0,A.kebabCase)(e.pathname),{isDrawerOpen:i,newfoldBrand:a,onboardingFlow:o,currentData:l,socialData:u,firstStep:p,allSteps:h}=(0,w.useSelect)((e=>({isDrawerOpen:e(c.h).isDrawerOpened(),newfoldBrand:e(c.h).getNewfoldBrand(),onboardingFlow:e(c.h).getOnboardingFlow(),currentData:e(c.h).getCurrentOnboardingData(),socialData:e(c.h).getOnboardingSocialData(),firstStep:e(c.h).getFirstStep(),allSteps:e(c.h).getAllSteps()})),[e.pathname]),[m,g]=(0,s.useState)(!1),[_,y]=(0,s.useState)(!1),[E,S]=(0,s.useState)(!1),{setActiveStep:x,setActiveFlow:N,updateAllSteps:T,flushQueue:D,enqueueRequest:P,setOnboardingSocialData:I,setCurrentOnboardingData:O}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{document.body.classList.add(`nfd-brand-${a}`)}),[a]),(0,s.useEffect)((()=>{(async function(){const t=(null==e?void 0:e.pathname)===(null==p?void 0:p.path);if(l&&!t&&!m){if(g(!0),E&&await async function(){const{address:e}=l.storeDetails;let t={};void 0!==e&&(delete e.country,delete e.state,t=e),(0,Ue.xb)(t)||await(0,Ue.Hs)(t),delete l.storeDetails.address,delete l.storeDetails.tax,S(!1)}(),_){const e=await async function(){const e=await(0,v.Gw)(),t=await(0,v.I2)(u);return y(!1),null!==(null==t?void 0:t.error)?null==e?void 0:e.body:null==t?void 0:t.body}();e&&I(e)}D(),P(n.Az.SET_FLOW,(()=>(0,d.kB)(l))),g(!1)}null!=e&&e.pathname.includes("basic-info")&&y(!0),null!=e&&e.pathname.includes("ecommerce")&&S(!0)})(),(()=>{var t;const n=null===(t=window.nfdOnboarding)||void 0===t?void 0:t.previousStep;if("object"!=typeof n)return window.nfdOnboarding.previousStep={path:e.pathname,url:window.location.href},void J.v.dispatchEvents(C.En);const r=n.path,i=n.url;if(r.includes("basic-info")){const e=l.data.blogName,t=l.data.blogDescription,n=l.data.siteLogo.url;e&&(0,k.tH)(new k.Z_(C.eM,e,{},i)),t&&(0,k.tH)(new k.Z_(C.rX,t,{},i)),n&&(0,k.tH)(new k.Z_(C.L7,void 0,{},i));const r=Object.keys((0,lt.e)(u)).join(",");r&&(0,k.tH)(new k.Z_(C.Xm,r,{},i))}if(r.includes("site-pages")){var a;const e=null===(a=l.data.sitePages)||void 0===a?void 0:a.other;e&&!1!==e?(0,k.tH)(new k.Z_(C.ql,e.map((e=>e.title)),{count:e.length},i)):(0,k.tH)(new k.Z_(C.ql,[],{count:0},i))}if(r.includes("site-features")){const e=l.data.siteFeatures;for(const t in e)!1!==e[t]&&(0,k.tH)(new k.Z_(C.IV,t,{},i))}window.nfdOnboarding.previousStep={path:e.pathname,url:window.location.href},J.v.dispatchEvents(C.En)})(),function(){if(null!=e&&e.pathname.includes("colors")||null!=e&&e.pathname.includes("fonts")){const e=(0,R.Lb)(h,V.c.conditionalSteps);T(e.allSteps),l.data.customDesign||(l.data.customDesign=!0,O(l))}}(),e.pathname.includes("/step")&&(N(o),x(e.pathname))}),[e.pathname,o]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Fe,{isActive:!0}),(0,s.createElement)(f.SlotFillProvider,null,(0,s.createElement)(ot,{className:te()("nfd-onboarding-skeleton",`brand-${a}`,`path-${r}`,{"is-drawer-open":i},{"is-large-viewport":t},{"is-small-viewport":!t}),header:(0,s.createElement)(L,null),drawer:(0,s.createElement)(Ve,null),content:(0,s.createElement)(K,null),sidebar:(0,s.createElement)(He,null)})))},ct=()=>(0,s.createElement)(Se,null,(0,s.createElement)(st,null));var dt=i(4704);n.dD?o()((()=>{J.v.initialize({namespace:C.En,urls:{single:(0,dt.FZ)("events"),batch:(0,dt.FZ)("events/batch")},settings:{debounce:{time:3e3}}}),async function(e,t){var r;(0,u.S1)(),(0,p.S1)(),setInterval(g,45e3);const i=document.getElementById(e);var a;(0,w.dispatch)(c.h).setRuntime(t),null!==(r=t.previewSettings.settings.preRequisites)&&void 0!==r&&r.themes&&(0,w.dispatch)(c.h).updateThemeStatus(null===(a=t.previewSettings.settings.preRequisites)||void 0===a?void 0:a.themes[n.DY]);const o=await(0,d.ME)();null===o.error&&(o.body=(e=>{e.hasExited=0,e.isComplete=0;const t=window.nfdOnboarding.currentFlow;return e.data.chapters=B((0,Z.LI)(t),e.data.chapters),e})(o.body),(0,w.dispatch)(c.h).setCurrentOnboardingData(o.body)),null!==i&&void 0!==s.render?((0,s.render)((0,s.createElement)(ct,null),i),(0,v.j2)()):console.log("Could not find mount element or wp.element.render().")}(n.JB,window.nfdOnboarding),(0,l.registerCoreBlocks)()})):console.log("Cannot find Newfold Onboarding runtime data to set __webpack_public_path__.")})(),((window.newfold=window.newfold||{}).Onboarding=window.newfold.Onboarding||{}).onboarding=a})(); \ No newline at end of file +footer:(0,S.__)("Footer","wp-module-onboarding"),...u};return(0,s.createElement)("div",(0,at.Z)({},m,{ref:(0,X.useMergeRefs)([t,m.ref]),className:te()(p,"nfd-interface-interface-skeleton",m.className,!!n&&"has-footer")}),!!c&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__drawer",role:"region","aria-label":g.drawer,tabIndex:"-1"},c),(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__editor"},!!r&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__header",role:"region","aria-label":g.header,tabIndex:"-1"},r),(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__body"},!!a&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":g.secondarySidebar,tabIndex:"-1"},a),!!o&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__notices"},o),(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__content",role:"region","aria-label":g.body,tabIndex:"-1"},l),!!i&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__sidebar",role:"region","aria-label":g.sidebar,tabIndex:"-1"},i),!!d&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__actions",role:"region","aria-label":g.actions,tabIndex:"-1"},d))),!!n&&(0,s.createElement)("div",{className:"nfd-interface-interface-skeleton__footer",role:"region","aria-label":g.footer,tabIndex:"-1"},n))}));var lt=i(5087);const st=()=>{const e=(0,b.TH)(),t=(0,X.useViewportMatch)("medium"),r=(0,A.kebabCase)(e.pathname),{isDrawerOpen:i,newfoldBrand:a,onboardingFlow:o,currentData:l,socialData:u,firstStep:p,allSteps:h}=(0,w.useSelect)((e=>({isDrawerOpen:e(c.h).isDrawerOpened(),newfoldBrand:e(c.h).getNewfoldBrand(),onboardingFlow:e(c.h).getOnboardingFlow(),currentData:e(c.h).getCurrentOnboardingData(),socialData:e(c.h).getOnboardingSocialData(),firstStep:e(c.h).getFirstStep(),allSteps:e(c.h).getAllSteps()})),[e.pathname]),[m,g]=(0,s.useState)(!1),[_,y]=(0,s.useState)(!1),[E,S]=(0,s.useState)(!1),{setActiveStep:x,setActiveFlow:N,updateAllSteps:T,flushQueue:D,enqueueRequest:P,setOnboardingSocialData:I,setCurrentOnboardingData:O}=(0,w.useDispatch)(c.h);return(0,s.useEffect)((()=>{document.body.classList.add(`nfd-brand-${a}`)}),[a]),(0,s.useEffect)((()=>{(async function(){const t=(null==e?void 0:e.pathname)===(null==p?void 0:p.path);if(l&&!t&&!m){if(g(!0),E&&await async function(){const{address:e}=l.storeDetails;let t={};void 0!==e&&(delete e.country,delete e.state,t=e),(0,Ue.xb)(t)||await(0,Ue.Hs)(t),delete l.storeDetails.address,delete l.storeDetails.tax,S(!1)}(),_){const e=await async function(){const e=await(0,v.Gw)(),t=await(0,v.I2)(u);return y(!1),null!==(null==t?void 0:t.error)?null==e?void 0:e.body:null==t?void 0:t.body}();e&&I(e)}D(),P(n.Az.SET_FLOW,(()=>(0,d.kB)(l))),g(!1)}null!=e&&e.pathname.includes("basic-info")&&y(!0),null!=e&&e.pathname.includes("ecommerce")&&S(!0)})(),(()=>{var t;const n=null===(t=window.nfdOnboarding)||void 0===t?void 0:t.previousStep;if("object"!=typeof n)return window.nfdOnboarding.previousStep={path:e.pathname,url:window.location.href},void J.v.dispatchEvents(C.En);const r=n.path,i=n.url;if(r.includes("basic-info")){const e=l.data.blogName,t=l.data.blogDescription,n=l.data.siteLogo.url;e&&(0,k.tH)(new k.Z_(C.eM,e,{},i)),t&&(0,k.tH)(new k.Z_(C.rX,t,{},i)),n&&(0,k.tH)(new k.Z_(C.L7,void 0,{},i));const r=Object.keys((0,lt.e)(u)).join(",");r&&(0,k.tH)(new k.Z_(C.Xm,r,{},i))}if(r.includes("site-pages")){var a;const e=null===(a=l.data.sitePages)||void 0===a?void 0:a.other;e&&!1!==e?(0,k.tH)(new k.Z_(C.ql,e.map((e=>e.title)),{count:e.length},i)):(0,k.tH)(new k.Z_(C.ql,[],{count:0},i))}if(r.includes("site-features")){const e=l.data.siteFeatures;for(const t in e)!1!==e[t]&&(0,k.tH)(new k.Z_(C.IV,t,{},i))}window.nfdOnboarding.previousStep={path:e.pathname,url:window.location.href},J.v.dispatchEvents(C.En)})(),function(){if(null!=e&&e.pathname.includes("colors")||null!=e&&e.pathname.includes("fonts")){const e=(0,R.Lb)(h,V.c.conditionalSteps);T(e.allSteps),l.data.customDesign||(l.data.customDesign=!0,O(l))}}(),e.pathname.includes("/step")&&(N(o),x(e.pathname))}),[e.pathname,o]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)(We,{isActive:!0}),(0,s.createElement)(f.SlotFillProvider,null,(0,s.createElement)(ot,{className:te()("nfd-onboarding-skeleton",`brand-${a}`,`path-${r}`,{"is-drawer-open":i},{"is-large-viewport":t},{"is-small-viewport":!t}),header:(0,s.createElement)(L,null),drawer:(0,s.createElement)(Ve,null),content:(0,s.createElement)(K,null),sidebar:(0,s.createElement)(He,null)})))},ct=()=>(0,s.createElement)(Se,null,(0,s.createElement)(st,null));var dt=i(4704);n.dD?o()((()=>{J.v.initialize({namespace:C.En,urls:{single:(0,dt.FZ)("events"),batch:(0,dt.FZ)("events/batch")},settings:{debounce:{time:3e3}}}),async function(e,t){var r;(0,u.S1)(),(0,p.S1)(),setInterval(g,45e3);const i=document.getElementById(e);var a;(0,w.dispatch)(c.h).setRuntime(t),null!==(r=t.previewSettings.settings.preRequisites)&&void 0!==r&&r.themes&&(0,w.dispatch)(c.h).updateThemeStatus(null===(a=t.previewSettings.settings.preRequisites)||void 0===a?void 0:a.themes[n.DY]);const o=await(0,d.ME)();null===o.error&&(o.body=(e=>{e.hasExited=0,e.isComplete=0;const t=window.nfdOnboarding.currentFlow;return e.data.chapters=B((0,Z.LI)(t),e.data.chapters),e})(o.body),(0,w.dispatch)(c.h).setCurrentOnboardingData(o.body)),null!==i&&void 0!==s.render?((0,s.render)((0,s.createElement)(ct,null),i),(0,v.j2)()):console.log("Could not find mount element or wp.element.render().")}(n.JB,window.nfdOnboarding),(0,l.registerCoreBlocks)()})):console.log("Cannot find Newfold Onboarding runtime data to set __webpack_public_path__.")})(),((window.newfold=window.newfold||{}).Onboarding=window.newfold.Onboarding||{}).onboarding=a})(); \ No newline at end of file diff --git a/languages/wp-module-onboarding-pt_BR-nfd-onboarding.json b/languages/wp-module-onboarding-pt_BR-nfd-onboarding.json index 38791d83f..b8e84f6fd 100644 --- a/languages/wp-module-onboarding-pt_BR-nfd-onboarding.json +++ b/languages/wp-module-onboarding-pt_BR-nfd-onboarding.json @@ -1 +1 @@ -{"domain":"messages","locale_data":{"messages":{"80":["80"],"160":["160"],"":{"domain":"messages","lang":"pt_BR"},"Onboarding":["Onboarding"],"Please upgrade your WordPress":["Atualize seu WordPress"],"To take advantage of the latest WordPress has to offer, our WordPress Onboarding to setup your website requires the latest version of WordPress.":["Para aproveitar tudo que o WordPress mais recente tem a oferecer, o onboarding de configuração do seu site requer a versão mais recente do WordPress."],"Your WordPress version %1$s does not meet our minimum requirements of %2$s.":["Seu WordPress versão %1$s não é compatível com os requisitos mínimos de %2$s."],"Upgrade WordPress":["Fazer Upgrade do WordPress"],"There was an error Upgrading WordPress.":["Ocorreu um erro no Upgrade do seu WordPress."],"your web host":["sua hospedagem de sites."],"Woocommerce Settings":["Configurações Woocommerce"],"Home":["Home"],"About":["Sobre"],"Contact":["Contato"],"News":["Notícias"],"Privacy":["Privacidade"],"Careers":["Carreiras"],"Explain your company values or the history behind your brand.":["Detalhe os valores de sua empresa e a história de sua marca."],"Offer visitors a single page with a contact form, your street address and social media.":["Ofereça aos visitantes uma página com formulário de contato, seu endereço e redes sociais."],"Testimonials":["Depoimentos"],"Highlight your success with testimonials from your fans.":["Destaque seu sucesso com depoimentos."],"Blog":["Blog"],"A page for periodic news, announcements and ideas.":["Página para notícias periódicas e ideias."],"Security, Speed & Growth":["Segurança, Velocidade e Crescimento"],"Powered by Jetpack":["Criado por Jetpack"],"Jetpack includes dozens of powerful, unique capabilities for your WordPress sites from Automattic.":["Jetpack inclui diversas capacidades únicas e poderosas da Automattic para seu WordPress."],"Forms":["Formulários"],"Powered by WP Forms":["Criado por WP Forms"],"Five million people build smarter forms and surveys with WPForms from Awesome Motive.":["Cinco milhões de pessoas utilizam formulários e pesquisas inteligentes com WPForms."],"Site Traffic":["Tráfego"],"Powered by MonsterInsights":["Powered by MonsterInsights"],"See the opportunities in your website analytics traffic data using MonsterInsights from Awesome Motive.":["Identifique oportunidades nos dados de tráfego do seu site utilizando o MonsterInsights."],"Search Engine Optimization":["SEO (Otimização para mecanismos de busca)"],"Powered by Yoast":["Criado por Yoast"],"Get more traffic to your WordPress site with powerful analysis and tools from our colleagues at Yoast.":["Obtenha mais tráfego para seu site WordPress a partir de análises e ferramentas poderosas da Yoast."],"Email Newsletters":["News via E-mail"],"Powered by Creative Email":["Criado por Creative Email"],"A professional logo builder, marketing automations with WooCommerce and social management -- CreativeMail is a whole lot more than mail from Constant Contact.":["Criação profissional de logos e automação de marketing com gerenciamento de Woocommerce e redes sociais -- CreativeMail é um pacote completo da Constant Contact."],"Lead Generation":["Geração de Leads"],"Powered by Optin Monster":["Criado por Optin Monster"],"Connect with website visitors using a proven kit of tools for growth using this offering from Awesome Motive.":["Conecte os visitantes de seu site utilizando um kit de ferramentas de crescimento validado através da oferta da Awesome Motive."],"Enhanced Product Search":["Busca Otimizada de Produtos"],"Powered by YITH":["Criado por YITH"],"Give your visitors great search experiences with this exclusive offering from our colleagues at YITH.":["Ofereça uma excelente experiência de busca a seus visitantes com essa oferta exclusiva da YITH."],"Enhanced Product Filters":["Filtro Otimizado de Produtos"],"Give your visitors powerful tools to discover your great products with this exclusive offering from our colleagues at YITH.":["Ofereça uma poderosa ferramenta de descoberta de produtos a seus visitantes com essa oferta exclusiva da YITH."],"Bookings & Appointments":["Agendamentos"],"Have visitors book meetings and services with you, accepting payment and more using this exclusive offering from our colleagues at YITH.":["Faça com que os visitantes agendem reuniões e serviços com você, aceitando pagamentos e muito mais, usando esta oferta exclusiva da YITH."],"Product Wishlists":["Lista de Desejos"],"Let discerning shoppers curate their selections with a system of favorites using this exclusive offering from our colleagues at YITH.":["Possibilite que compradores exigentes criem suas seleções com um sistema de favoritos usando esta oferta exclusiva da YITH."],"Calm":["Calma"],"Cool":["Fria"],"Warm":["Quente"],"Radiant":["Radiante"],"Bold":["Ousada"],"Retro":["Retrô"],"Professional":["Profissional"],"Crisp":["Nítida"],"Polished":["Polida"],"Nightowl":["Noturna"],"Subtle":["Sutil"],"Modern & approachable":["Moderna & Amigável"],"Strong & sleek":["Forte & Elegante"],"Stately & elevated":["Imponente & Importante"],"Typewriter & crisp midcentury":["Máquina de escrever & Meados do século"],"Refined traditional newsletter":["Newsletter Tradicional Refinada"],"Bold stamp & slab":["Carimbo & Negrito"],"Fast & Simple":["Rápida & Simples"],"Timeless & Traditional":["Atemporal & Tradicional"],"Sleek & Sophisticated":["Elegante & Sofisticada"],"Clear & Crisp":["Clara & Nítida"],"Retro & Classy":["Retrô & Clássica"],"Defined & Solid":["Definida & Sólida"],"Event action":["Ação do Evento"],"Event category":["Categoria do Evento"],"Event data":["Dados do Evento"],"Request does not contain an array of events.":["A solicitação não contém uma matriz de eventos."],"Some events failed.":["Alguns eventos falharam."],"Homepage":["Página inicial"],"Pattern identifier (slug) or step name (step) required.":["Identificador de padrão ou nome da etapa obrigatório."],"No Patterns Found.":["Padrões Não Encontrados."],"No Pattern Found.":["Padrão Não Encontrado."],"Bad event structure/value.":["Estrutura/valor do evento incorreto."],"Wrong Parameter Provided : primary => value":["Parâmetro Errado Fornecido: primário => valor"],"Wrong Parameter Provided : secondary => value":["Parâmetro Errado Fornecido: secundário => valor"],"Webfont font family must be a non-empty string.":["A família de fontes Webfont deve ser uma sequência de caracteres não-vazia."],"Webfont src must be a non-empty string or an array of strings.":["A fonte de Webfont deve ser uma sequência de caracteres não-vazia ou uma matriz de sequência de caracteres."],"Each webfont src must be a non-empty string.":["Cada fonte Webfont src deve ser uma sequência de caracteres não-vazia."],"Webfont font weight must be a properly formatted string or integer.":["O peso da fonte Webfont deve ser uma sequência de caracteres ou um número inteiro formatado corretamente."],"Colors":["Cores"],"Whether your brand is vibrant, understated, elegant or edgy use color to delight your %s visitors.":["Seja sua marca vibrante, discreta, elegante ou ousada, use cores para encantar seus visitantes."],"Let a splash of color make a splash with your visitors with your Global Site Colors.":["Deixe que um toque de cor impressione seus visitantes com as Cores Globais do Site."],"We had our designers mix up some palettes for striking websites for you to chose additional presets, or you can chose your own colors using the color pickers.":["Você pode escolher entre paletas criadas por nossos designers ou escolher suas próprias cores utilizando o seletor de cores."],"Hire Our Full-Service Creative Studio":["Contrate Nosso Estúdio Criativo de Serviço Completo"],"Technical Support":["Suporte Técnico"],"%s Type":["Tipo de %s"],"We'll use this to provide our best-matching designs and features for %s like yours.":["Usaremos as informações para oferecer as melhores opções de design e recursos para seu tipo de %s."],"Why we ask":["Por que perguntamos"],"We chose the templates, features and best configuration we can for sites. You’re always in full control of your WordPress %s and we ask so we can be a good website partner.":["Escolhemos os modelos, recursos e as melhores configurações para seu projeto, mas é você que está no controle. Você pode seguir com nossas sugestões ou de configurar da melhor forma para o seu tipo de %s WordPress. Conte com a nossa parceria."],"Pages":["Páginas"],"Use professionally-designed templates for common site pages to assemble a beautiful, high-quality %s.":["Use modelos profissionais para criar um site, blog ou loja online de alta qualidade."],"Rapidly deliver ideas with templates primed for your content":["Publique suas ideias com agilidade utilizando modelos que se encaixam perfeitamente com o seu conteúdo"],"We’ve baked everything we know about making great designs and content for common %1$s needs into ease-to-use templates. Pick templates and we’ll add them as Page drafts to your WordPress %2$s.":["Reunimos tudo o que sabemos sobre como criar ótimos designs e conteúdo para as suas necessidades em modelos fáceis de usar. Escolha modelos e nós adicionaremos um rascunho de página ao projeto que você está criando com WordPress."],"Street Address":["Endereço"],"Whether it’s a storefront or a PO Box, we’re proud to help you connect your real-world and online businesses":["Seja uma vitrine ou uma caixa postal, temos orgulho de ajuda-lo a conectar seus negócios do mundo real e online"],"We use this address to setup WooCommerce, your payment provider, Contact Page and more so you can start stocking the shelves of your %1$s Online %2$s.":["Usamos este endereço para configurar o WooCommerce, seu provedor de pagamento, página de contato e muito mais."],"WordPress Experience":["Experiência WordPress"],"We want to offer the best default settings and guidance for someone with your WordPress experience.":["Queremos oferecer as melhores configurações e as orientações necessárias para alguém com sua experiência em WordPress."],"We want to help everyone get the most out of their WordPress %s and this setup, so we use this to help optimize for a great experience and periodically when we offer tips, reminders and recommendations.":["Queremos te ajudar a aproveitar ao máximo o seu WordPress. Com esta configuração vamos otimizar sua experiência e enviar periodicamente dicas, lembretes e recomendações."],"What’s Next":["O Que Vem Por Aí"],"The beginning of your %1$s journey is complete. We’re here to support your next steps and %2$s goals!":["O início da jornada no ambiente digital está completa. Estamos aqui para apoiar seus próximos passos e objetivos!"],"Add, adjust and launch!":["Adicione, ajuste e lance!"],"Now that you’ve setup the basics, use WordPress to edit your pages, %1$s design and explore the unlimited destinations you can chart for your %2$s %3$s.":["Agora que você configurou o básico, use o WordPress para editar suas páginas, criar sites ou lojas e explorar os destinos ilimitados que você pode traçar para seu projeto."],"Our support team, %s experts and professional designers are always just a chat or call away if you ever need directions.":["Nossa equipe de suporte está sempre disponível no chat caso você tenha dúvidas ou precise de ajuda."],"Exit to WordPress":["Sair para o WordPress"],"Exit without finishing?":["Sair sem finalizar?"],"Continue":["Continuar"],"Exit":["Sair"],"You can restart onboarding from your %s Settings page.":["Você pode reiniciar a integração na página de configurações da %s."],"Preparing your %s design studio":["Preparando seu estúdio de design %s"],"Hang tight while we show you some of the best WordPress has to offer!":["Aguarde enquanto mostramos o melhor que o WordPress tem a oferecer!"],"Uh-oh, something went wrong. Please contact support.":["Opa, algo deu errado. Entre em contato com o suporte."],"It looks like you may have an existing website":["Parece que você já tem um site"],"Going through this setup will change your active theme, WordPress settings, add content – would you like to continue?":["Passar por esta configuração mudará seu tema ativo, configurações do WordPress e adicionará conteúdo – gostaria de continuar?"],"Hang tight, we’re building your %1$s %2$s":["Aguarde, estamos criando sua página"],"We’re assembling your unique design and installing useful tools":["Estamos montando seu design exclusivo e instalando ferramentas úteis"],"Nice work: Your site is ready 🎉":["Bom trabalho! Seu site está pronto 🎉"],"Move-in day begins! Let us know if you'd like a hand.":["O dia da mudança começou! Nos avise se precisar de ajuda."],"Complete Setup":["Configuração Completa"],"WHATS NEXT":["O QUE VEM POR AÍ"],"Add content, organize your menu and launch.":["Adicione conteúdo, organize seu menu e lance."],"✅ Theme created, features added and Coming Soon mode activated. Thank you for building your site with %s, we're always here to help!":["✅ Tema criado, recursos adicionados e modo Em breve ativado. Obrigado por construir seu site com %s, estamos sempre aqui para ajudar!"],"HELP & RESOURCES":["AJUDA & RECURSOS"],"Next step or next level, we're your partner.":["Próximo passo ou próximo nível, somos seu parceiro."],"WordPress make it easy to grow your %s. Send a newsletter, broadcast a podcast, create courses and trainings. Dream it, build it.":["WordPress facilita o crescimento de seu tipo de %s. Envie uma newsletter, transmita um podcast, crie cursos e treinamentos. Sonhe, construa."],"HIRE OUR EXPERTS":["FALE COM NOSSOS ESPECIALISTAS"],"Make our great people your people.":["Faça do nosso time o seu time."],"Looking for personalized WordPress assistance, or someone to take-over from here? Go beyond support with our professional services.":["Procurando assistência personalizada para WordPress ou alguém para assumir o controle a partir daqui? Vá além do suporte com nossos serviços profissionais."],"Home Page":["Página Inicial"],"The home page is where you tell visitors your story. It helps users find what they came for.":["A página inicial é onde você conta sua história aos visitantes. Ela ajuda usuários a encontrar o que procuram."],"Welcome to your new home online":["Bem-vindo à página inicial do seu site"],"Like good curb appeal, a great home page design helps get users excited about your %s. Mixing media, headings, text and more, you can bring your ideas to live and your products & services to the forefront for visitors.":["Argumentos poderosos e um ótimo design ajudam a deixar os usuários empolgados. Combinando mídia, títulos, texto e muito mais, você pode dar vida às suas ideias e colocar seus produtos e serviços em destaque para os visitantes."],"Look for a Home Page Pattern design you think will help organize and elevate your ideas.":["Procure um design de página inicial que você acha que ajudará a organizar e elevar suas ideias."],"Help us tailor this setup to your %s":["Nos ajude a oferecer as melhores opções para você"],"ABOUT YOUR %s":["SOBRE SEU TIPO DE %s"],"What type of %s is it?":["Qual segmento melhor descreve seu tipo de %s?"],"Continue Setup":["Continuar Configuração"],"Enter to search your %s type":["Digite para pesquisar outros tipos de %s"],"or tell us here:":["ou nos conte aqui:"],"Basic Info":["Informações Básicas"],"Setup how your %s will present in visitors' browsers and search results.":["Configure como sua página será visualizada nos navegadores e nos resultados de pesquisa dos visitantes."],"Present in tip-top shape to web browsers and search engine results":["Em ótima forma para ser apresentado em navegadores e resultados de pesquisa"],"Loading your site details, logo and social graph helps not just launch your site but have it found looking great in feeds.":["Carregando os detalhes do seu site, logotipo, fontes e redes sociais ajuda a lançar seu site mais rápido, e também ajuda a deixar se perfil com ótima aparência nos feeds."],"Learn More":["Saiba Mais"],"You have ideas, we have page templates":["Você tem ideias, nós temos modelos de páginas"],"Begin closer to the finish line than a blank canvas.":["Comece mais perto da linha de chegada com nossos modelos prontos."],"There’s no place like a great home page":["Não há nada como uma página inicial atrativa"],"Pick a starter layout you can refine and remix with your content":["Escolha um layout inicial que você possa refinar e combinar com seu conteúdo"],"Theme Styles":["Tema"],"Professionally-designed website templates ready for their public debut featuring your great ideas.":["Modelos de sites projetados para o sucesso e totalmente prontos para você apresentar suas ideias."],"Show the web you have style with modern colors and elevated fonts":["Mostre que você tem estilo com cores modernas e fontes especiais"],"Pick one of these professionally-designed website styles to start your %1$s %2$s.":["Escolha um dos estilos criados por profissionais para iniciar seu projeto."],"In the next steps and in the future, you can change the specific colors and fonts to fit your aesthetic vision for your %s.":["Você poderá alterar as cores e fontes para se adequar à sua marca sempre que quiser."],"Lets tailor your theme for the perfect fit":["Vamos personalizar seu tema para o ajuste perfeito"],"Start with a style preset or":["Comece com uma definição de estilo ou"],"build a custom design.":["crie um design personalizado."],"Customize Colors & Fonts?":["Customizar Cores & Fontes?"],"Check to customize in the next few steps (or leave empty and use the Site Editor later)":["Marque para personalizar nas próximas etapas (ou deixe em branco e use o Editor do Site mais tarde)"],"Error 404":["Erro 404"],"Please Check Again!":["Por favor Verifique Novamente!"],"Skip this Step":["Pular Esta Etapa"],"Tell us your top priority":["Nos conte sua prioridade"],"We'll prioritize getting you there.":["Priorizaremos levar você até lá."],"Publishing":["Publicar"],"From blogs, to newsletters, to podcasts and videos, we help the web find your content.":["De blogs a boletins informativos, podcasts e vídeos, ajudamos a web a encontrar seu conteúdo."],"Selling":["Vender"],"Startup or seasoned business, drop-shipping or downloads, we've got ecommerce covered.":["Iniciante ou experiente, dropshipping ou downloads, temos tudo para sua loja online."],"Designing":["Design"],"With smart style presets and powerful options, we help your site look and feel polished.":["Com sugestões inteligentes de estilo e opções poderosa ajudamos seu site a ter uma aparência sofisticada."],"Where would you like to start? We'll start there and then move into next steps.":["Onde você gostaria de começar? Vamos iniciar por ai e seguimos para as próximas etapas."],"ABOUT YOU":["SOBRE VOCÊ"],"What is your experience with WordPress?":["Qual sua experiência com WordPress?"],"Never used it":["Nunca usei"],"Used it some":["Usei um pouco"],"I'm an expert":["Sou especialista"],"Introduce us to this %s":["Apresente-nos seu projeto"],"So we can introduce it to the web":["Para que possamos apresenta-lo para a internet"],"%s Title":["Título"],"WordPress %s":["%s WordPress"],"Shown to visitors, search engine and social media posts.":["O título é exibido aos visitantes, nos mecanismos de busca e também em postagens em mídias sociais."],"%s Description":["Descrição"],"Just another WordPress %s.":["Mais um projeto criado com WordPress."],"Tell people who you are, what you sell and why they should visit your %s.":["Conte quem você é, o que você está oferecendo e por que as pessoas deveriam visitar sua página web."],"Error Saving Data, Try Again!":["Erro ao Salvar Dados, Tente Novamente!"],"(%d characters left)":["(%d caracteres restantes)"],"Just another WordPress %s":["Apenas mais um %s WordPress"],"RESET":["RESETAR"],"UPLOAD":["CARREGAR"],"Edit URLs":["Editar URLs"],"Proceed Anyways":["Seguir Mesmo Assim"],"Social Media":["Redes Sociais"],"It looks like you're using a URL shortener!":["Parece que você está usando um encurtador de URL!"],"That's smart, but we encourage you to enter the standard URL for your social profiles to help search engines know this website is associated with your profile using Yoast's Open Graph support. You can always change the URLs used within your site to trackable in the future.":["Isso é inteligente, mas recomendamos que você insira o URL padrão para seus perfis sociais para ajudar os mecanismos de busca a entender que este site está associar ao seu perfil usando o suporte do Open Graph do Yoast. Você sempre pode alterar os URLs usados em seu site para rastreáveis no futuro."],"One of those URLs doesn't look like a social media URL.":["Um desses URLs não se parece com um URL de mídias social."],"We recommend using your official social URL to help search engines know this website is associated with your profile using Yoast's Open Graph support. You can always change the URLs used within your site in the future.":["Recomendamos usar sua URL social oficial para ajudar os mecanismos de pesquisa a saberem que este site está associado ao seu perfil usando o suporte Open Graph do Yoast. Você sempre pode alterar os URLs usados em seu site no futuro."],"That's clever! Short URLs are a great way to track clicks. However, To help build your social graph, we need the full URLs to your social profiles. You can go into your menus and change your social icon links after setup.":["Isso é inteligente! URLs curtos são uma ótima maneira de rastrear cliques. No entanto, para ajudar a construir seu gráfico social, precisamos dos URLs completos de seus perfis sociais. Você pode acessar seus menus e alterar os links dos ícones sociais após a configuração."],"To help build your social graph, we need the full URLs to your social profiles. Please check your URLs for typos and try copy & paste with the official URL if you continue to see this error.":["Para ajudar a construir seu gráfico social, precisamos dos URLs completos de seus perfis sociais. Verifique se há erros de digitação em seus URLs e tente copiar e colar com o URL oficial se continuar a ver esse erro."],"Facebook":["Facebook"],"Twitter":["Twitter"],"Instagram":["Instagram"],"Youtube":["Youtube"],"Linkedin":["Linkedin"],"Yelp":["Yelp"],"Tiktok":["Tiktok"],"Features":["Configurações"],"Easy-to-use features from our partner's WordPress Plugins and unique %1$s solutions to put your %2$s to work.":["Plugins WordPress de nossos parceiros com recursos fáceis de usar e soluções exclusivas da %1$s para colocar seu site ou loja em funcionamento."],"We’ve assembled the best building blocks for a successful %s":["Reunimos os melhores blocos para um projeto online de sucesso"],"Put your %1$s %2$s to work for you using features that unlock the potential of WordPress with powerful solutions from %3$s and our partners.":["Coloque seu site para trabalhar para você usando recursos que revelam todo o potencial do WordPress."],"Key features to supercharge your site":["Principais recursos para turbinar seu site"],"Our toolbox of Plugins & Services is your toolbox.":["Sua caixa de ferramentas disponível na nossa área de Plugins & Serviços."],"Tell us about your products":["Nos conte sobre seus produtos"],"What type of products will you be selling?":["Que tipo de produtos você quer vender?"],"How many products will you be selling?":["Quantos produtos você quer vender?"],"Physical products":["Produtos físicos"],"Digital / Downloadable products":["Produtos digitais"],"Subscriptions":["Assinaturas"],"Book rooms, houses or rent products":["Reserva de quartos, casas ou aluguel de produtos"],"Membership":["Afiliados"],"Customizable products":["Produtos customizáveis"],"Bundles of products":["Pacotes de produtos"],"Let your users ask a quote for your products":["Permitir que os usuários peçam um orçamento dos seus produtos ou serviços"],"Typography":["Tipografia"],"Give tone and taste to your words using a curated set of great type treatments.":["Dê o tom certo ao seu conteúdo utilizando nossa curadoria exclusiva de fontes."],"Not just what we say, how we say it":["Não apenas o que estamos falando, mas como estamos falando"],"Fonts help our ideas look creative and compelling, astute and articulate, refined and regal, modern and much more. Great font combinations help set the perfect tone for your %s and your story jump off the screen.":["As fontes têm o poder de comunicar ideias e dar o tom da sua comunicação. Sejam modernas, criativas, refinadas ou até mesmo retrô, elas te ajudam a criar uma história, e mostrar para o seu visitante um pouco mais do objetivo da sua página. "],"Header & Menu":["Cabeçalho & Menu"],"Surface key content in your %s -- who you are, what your about and where to find things.":["Exiba seu conteúdo principal - quem você é, o que você faz e onde encontrar coisas."],"Putting your best foot forward":["Levando o seu melhor em frente"],"Just like a %1$s putting a map of departments at the front door, a great %2$s Header & Menu help point visitors at the places you most want them to visit.":["Invista na criação de ótimo cabeçalho e menu para direcionar seus visitantes às páginas, produtos ou conteúdos que você quer que eles visitem."],"When picking a %s header, consider the number of menu items, character length of each item and how those will visually impact the Header Pattern design you choose.":["Ao escolher um estilo de cabeçalho considere o número de itens no menu, o número de caracteres de cada item e como eles vão impactar visualmente o design do Padrão de Cabeçalho que você escolher."],"Resources Page.":["Página de Recursos."],"Confirm your business or store address":["Confirme o endereço da sua empresa ou loja"],"We’ll use this information to help you setup your online store":["Usaremos essas informações para ajudá-lo a configurar sua loja virtual"],"Where is your store based?":["Onde fica sua loja?"],"Address":["Endereço"],"City":["Cidade"],"State":["Estado"],"Postal Code":["CEP"],"Email":["E-mail"],"What currency do you want to display in your store?":["Qual moeda você deseja exibir em sua loja?"],"* required":["* campos obrigatórios"],"Products Info":["Informações de Produtos"],"Tell us a little about how and what you’re planning to sell and we’ll bring the power of WooCommerce and unique %1$s %2$s solutions to elevate your business and enhance your capabilities.":["Nos conte um pouco sobre como e o que você planeja vender e traremos o poder do WooCommerce e soluções exclusivas %1$s para elevar seu negócio e aprimorar seus recursos."],"Make your %s dreams a reality!":["Transforme seu sonho em realidade!"],"with WordPress and %s.":["com WordPress e %s."],"Start Setup":["Iniciar Configuração"],"YOUR CONTENT":["SEU CONTEÚDO"],"Publish boldly with WordPress Blocks.":["Publique com ousadia com WordPress Blocks."],"Build a beautiful %s using a visual builder. Block Patterns accelerate telling your story or tending your store with professional designs.":["Utilize um construtor visual para criar um projeto incrível. Com os Block Patterns você acelera a criação da sua loja e conta sua história com um design profissional."],"POWERFUL FEATURES":["RECURSOS PODEROSOS"],"Proven, easy-to-use solutions.":["Soluções fáceis de usar."],"Reach for your %1$s goals using proven WordPress Plugins & %2$s solutions. Send a newsletter, host a podcast, book clients, take payments and more.":["Alcance seus objetivos utilizando uma combinação de plug-ins WordPress profissionais e soluções %2$s. Envie uma newsletter, hospede um podcast, reserve clientes, receba pagamentos e muito mais."],"MODERN DESIGN":["DESIGN MODERNO"],"Paint trim. Move walls. No sweat.":["Crie layouts. Mova blocos. Sem suar."],"Establish your %s's unique design. Use the WordPress Editor to refine over time with professionally-designed patterns, parts, templates, colors and type.":["Estabeleça um design exclusivo. Use o Editor do WordPress para refinar padrões, peças, modelos, cores e tipos projetados profissionalmente."],"Lay the foundation for a successful %1$s %2$s using our WordPress Onboarding. ":["Estabeleça as bases para um projeto de sucesso com a %1$s usando nosso processo de criação de sites e lojas WordPress totalmente guiado. "],"WordPress is free %s software":["WordPress é um software gratuito para criação de %s"],"When you set up this new WordPress %1$s, you’re joining millions of website owners who publish their %2$s using the free, community-built software project we’re proud to support.":["Junte-se a milhões de proprietários de sites que publicam seus projetos na internet utilizando o WordPress."],"%1$s is your %2$s partner":["Conte com a parceria da %1$s para criar seu projeto"],"A WordPress %1$s hosted by %2$s has tons of unique and proven solutions to help you get farther, faster with your WordPress. We put our expertise, partnerships and solutions to work on your %3$s.":["Sites e lojas WordPress hospedados na %2$s contam com soluções exclusivas e comprovadas para te ajudar ajudá-lo a ter sucesso. Colocamos nossa experiência, parceria e soluções para trabalhar em seus projetos online."],"1-1 Expert Solutions & Coaching":["Soluções especializadas e treinamento individual"],"Hire Our Full-Service Creative Team":["Contrate Nosso Estúdio Criativo de Serviço Completo"],"Loading…":["Carregando..."],"Need Help?":["Precisa de Ajuda?"],"Hire our Experts":["Entre em contato com nossos especialistas"],"Resources":["Recursos"],"What to Expect":["O Que Esperar"],"Welcome":["Bem vindo"],"Primary %s Setup":["Configuração inicial"],"Secondary %s Setup":["Configuração secundária"],"Top Priority":["Prioridade"],"Let's make the right things visible":["Vamos tornar as coisas certas visíveis"],"Homepage Layouts":["Layouts de Página inicial"],"Page Layouts":["Layout de Páginas"],"What Next":["O Que Vem Por Aí"],"How else can we help?":["No que mais podemos ajudar?"],"What's your color palette?":["Qual sua paleta de cores?"],"What's your font style?":["Qual sua fonte?"],"Design":["Design"],"Get Started":["Começar"],"Product Info":["Informações do produto"],"Store Info":["Informações da loja"],"Back":["Voltar"],"Next":["Seguir"],"Finish":["Finalizar"],"Making the keys to your %1$s Online %2$s":["Criando os acessos"],"We’re installing WooCommerce for you to fill with your amazing products & services!":["Estamos instalando o WooCommerce para você publicar seus produtos e serviços incríveis!"],"Color Palettes":["Paletas de Cores"],"SELECT CUSTOM COLORS":["SELECIONE CORES PERSONALIZADAS"],"Background":["Cor de fundo"],"Primary":["Principal"],"Secondary":["Secundária"],"Tertiary":["Terciária"],"Reset":["Resetar"],"Pick a Homepage Design":["Escolha um design para a sua página inicial"],"Panel will show a few Homepage Patterns.":["O painel mostrará alguns padrões de página inicial."],"Pick a Theme Style":["Escolha um Estilo de Tema"],"No Style Selected":["Nenhum Estilo Selecionado"],"Panel will show Theme details":["O painel mostrará detalhes de Temas"],"With Style Selected":["Com Estilo Selecionado"],"Panel will show single-column of other Styles.":["O painel mostrará uma única coluna de outros Estilos."],"Pick a Theme":["Escolha um Tema"],"No Theme Selected":["Nenhum Tema Selecionado"],"Panel will show contextual help":["O painel mostrará ajuda contextual"],"With Theme Selected":["Com Tema Selecionado"],"Panel will show single-column of other Themes.":["O painel mostrará uma única coluna de outros temas."],"Font Palettes":["Paletas de Fontes"],"Onboarding Menu":["Menu de Onboarding"],"Resume Onboarding":["Continuar Onboarding"],"WordPress Onboarding":["Onboarding WordPress"],"Toggle Navigation":["Alternar Navegação"],"Drawer":["Menu Lateral"],"Header":["Cabeçalho"],"Content":["Conteúdo"],"Block Library":["Biblioteca de Blocos"],"Settings":["Configurações"],"Publish":["Publicar"],"Footer":["Rodapé"],"ALWAYS COUNT ON OUR TEAM":["CONTE SEMPRE COM O NOSSO TIME"],"24 hours a day / 7 days a week":["24h por dia / 7 dias por semana"],"From beginner to advanced, you have a partner to trust. Our support works when you work. Also count on various help materials on YouTube, blog and Knowledge Base.":["Do iniciante ao avançado, você tem um parceiro em quem confiar. Nosso suporte trabalha quando você trabalha. Conte também com diversos materiais de ajuda na Youtube, blog e Base de conhecimento."],"noun\u0004site":["site"],"noun\u0004website":["website"],"noun\u0004store":["loja"]}}} \ No newline at end of file +{"domain":"messages","locale_data":{"messages":{"80":["80"],"160":["160"],"":{"domain":"messages","lang":"pt_BR"},"Onboarding":["Onboarding"],"Please upgrade your WordPress":["Atualize seu WordPress"],"To take advantage of the latest WordPress has to offer, our WordPress Onboarding to setup your website requires the latest version of WordPress.":["Para aproveitar tudo que o WordPress mais recente tem a oferecer, o onboarding de configuração do seu site requer a versão mais recente do WordPress."],"Your WordPress version %1$s does not meet our minimum requirements of %2$s.":["Seu WordPress versão %1$s não é compatível com os requisitos mínimos de %2$s."],"Upgrade WordPress":["Fazer Upgrade do WordPress"],"There was an error Upgrading WordPress.":["Ocorreu um erro no Upgrade do seu WordPress."],"your web host":["sua hospedagem de sites."],"Woocommerce Settings":["Configurações Woocommerce"],"Home":["Home"],"About":["Sobre"],"Contact":["Contato"],"News":["Notícias"],"Privacy":["Privacidade"],"Careers":["Carreiras"],"Explain your company values or the history behind your brand.":["Detalhe os valores de sua empresa e a história de sua marca."],"Offer visitors a single page with a contact form, your street address and social media.":["Ofereça aos visitantes uma página com formulário de contato, seu endereço e redes sociais."],"Testimonials":["Depoimentos"],"Highlight your success with testimonials from your fans.":["Destaque seu sucesso com depoimentos."],"Blog":["Blog"],"A page for periodic news, announcements and ideas.":["Página para notícias periódicas e ideias."],"Security, Speed & Growth":["Segurança, Velocidade e Crescimento"],"Powered by Jetpack":["Criado por Jetpack"],"Jetpack includes dozens of powerful, unique capabilities for your WordPress sites from Automattic.":["Jetpack inclui diversas capacidades únicas e poderosas da Automattic para seu WordPress."],"Forms":["Formulários"],"Powered by WP Forms":["Criado por WP Forms"],"Five million people build smarter forms and surveys with WPForms from Awesome Motive.":["Cinco milhões de pessoas utilizam formulários e pesquisas inteligentes com WPForms."],"Site Traffic":["Tráfego"],"Powered by MonsterInsights":["Powered by MonsterInsights"],"See the opportunities in your website analytics traffic data using MonsterInsights from Awesome Motive.":["Identifique oportunidades nos dados de tráfego do seu site utilizando o MonsterInsights."],"Search Engine Optimization":["SEO (Otimização para mecanismos de busca)"],"Powered by Yoast":["Criado por Yoast"],"Get more traffic to your WordPress site with powerful analysis and tools from our colleagues at Yoast.":["Obtenha mais tráfego para seu site WordPress a partir de análises e ferramentas poderosas da Yoast."],"Email Newsletters":["News via E-mail"],"Powered by Creative Email":["Criado por Creative Email"],"A professional logo builder, marketing automations with WooCommerce and social management -- CreativeMail is a whole lot more than mail from Constant Contact.":["Criação profissional de logos e automação de marketing com gerenciamento de Woocommerce e redes sociais -- CreativeMail é um pacote completo da Constant Contact."],"Lead Generation":["Geração de Leads"],"Powered by Optin Monster":["Criado por Optin Monster"],"Connect with website visitors using a proven kit of tools for growth using this offering from Awesome Motive.":["Conecte os visitantes de seu site utilizando um kit de ferramentas de crescimento validado através da oferta da Awesome Motive."],"Enhanced Product Search":["Busca Otimizada de Produtos"],"Powered by YITH":["Criado por YITH"],"Give your visitors great search experiences with this exclusive offering from our colleagues at YITH.":["Ofereça uma excelente experiência de busca a seus visitantes com essa oferta exclusiva da YITH."],"Enhanced Product Filters":["Filtro Otimizado de Produtos"],"Give your visitors powerful tools to discover your great products with this exclusive offering from our colleagues at YITH.":["Ofereça uma poderosa ferramenta de descoberta de produtos a seus visitantes com essa oferta exclusiva da YITH."],"Bookings & Appointments":["Agendamentos"],"Have visitors book meetings and services with you, accepting payment and more using this exclusive offering from our colleagues at YITH.":["Faça com que os visitantes agendem reuniões e serviços com você, aceitando pagamentos e muito mais, usando esta oferta exclusiva da YITH."],"Product Wishlists":["Lista de Desejos"],"Let discerning shoppers curate their selections with a system of favorites using this exclusive offering from our colleagues at YITH.":["Possibilite que compradores exigentes criem suas seleções com um sistema de favoritos usando esta oferta exclusiva da YITH."],"Calm":["Calma"],"Cool":["Fria"],"Warm":["Quente"],"Radiant":["Radiante"],"Bold":["Ousada"],"Retro":["Retrô"],"Professional":["Profissional"],"Crisp":["Nítida"],"Polished":["Polida"],"Nightowl":["Noturna"],"Subtle":["Sutil"],"Modern & approachable":["Moderna & Amigável"],"Strong & sleek":["Forte & Elegante"],"Stately & elevated":["Imponente & Importante"],"Typewriter & crisp midcentury":["Máquina de escrever & Meados do século"],"Refined traditional newsletter":["Newsletter Tradicional Refinada"],"Bold stamp & slab":["Carimbo & Negrito"],"Fast & Simple":["Rápida & Simples"],"Timeless & Traditional":["Atemporal & Tradicional"],"Sleek & Sophisticated":["Elegante & Sofisticada"],"Clear & Crisp":["Clara & Nítida"],"Retro & Classy":["Retrô & Clássica"],"Defined & Solid":["Definida & Sólida"],"Event action":["Ação do Evento"],"Event category":["Categoria do Evento"],"Event data":["Dados do Evento"],"Request does not contain an array of events.":["A solicitação não contém uma matriz de eventos."],"Some events failed.":["Alguns eventos falharam."],"Homepage":["Página inicial"],"Pattern identifier (slug) or step name (step) required.":["Identificador de padrão ou nome da etapa obrigatório."],"No Patterns Found.":["Padrões Não Encontrados."],"No Pattern Found.":["Padrão Não Encontrado."],"Bad event structure/value.":["Estrutura/valor do evento incorreto."],"Wrong Parameter Provided : primary => value":["Parâmetro Errado Fornecido: primário => valor"],"Wrong Parameter Provided : secondary => value":["Parâmetro Errado Fornecido: secundário => valor"],"Webfont font family must be a non-empty string.":["A família de fontes Webfont deve ser uma sequência de caracteres não-vazia."],"Webfont src must be a non-empty string or an array of strings.":["A fonte de Webfont deve ser uma sequência de caracteres não-vazia ou uma matriz de sequência de caracteres."],"Each webfont src must be a non-empty string.":["Cada fonte Webfont src deve ser uma sequência de caracteres não-vazia."],"Webfont font weight must be a properly formatted string or integer.":["O peso da fonte Webfont deve ser uma sequência de caracteres ou um número inteiro formatado corretamente."],"Colors":["Cores"],"Whether your brand is vibrant, understated, elegant or edgy use color to delight your %s visitors.":["Seja sua marca vibrante, discreta, elegante ou ousada, use cores para encantar seus visitantes."],"Let a splash of color make a splash with your visitors with your Global Site Colors.":["Deixe que um toque de cor impressione seus visitantes com as Cores Globais do Site."],"We had our designers mix up some palettes for striking websites for you to chose additional presets, or you can chose your own colors using the color pickers.":["Você pode escolher entre paletas criadas por nossos designers ou escolher suas próprias cores utilizando o seletor de cores."],"Hire Our Full-Service Creative Studio":["Contrate Nosso Estúdio Criativo de Serviço Completo"],"Technical Support":["Suporte Técnico"],"%s Type":["Tipo de %s"],"We'll use this to provide our best-matching designs and features for %s like yours.":["Usaremos as informações para oferecer as melhores opções de design e recursos para seu tipo de %s."],"Why we ask":["Por que perguntamos"],"We chose the templates, features and best configuration we can for sites. You’re always in full control of your WordPress %s and we ask so we can be a good website partner.":["Escolhemos os modelos, recursos e as melhores configurações para seu projeto, mas é você que está no controle. Você pode seguir com nossas sugestões ou de configurar da melhor forma para o seu tipo de %s WordPress. Conte com a nossa parceria."],"Pages":["Páginas"],"Use professionally-designed templates for common site pages to assemble a beautiful, high-quality %s.":["Use modelos profissionais para criar um site, blog ou loja online de alta qualidade."],"Rapidly deliver ideas with templates primed for your content":["Publique suas ideias com agilidade utilizando modelos que se encaixam perfeitamente com o seu conteúdo"],"We’ve baked everything we know about making great designs and content for common %1$s needs into ease-to-use templates. Pick templates and we’ll add them as Page drafts to your WordPress %2$s.":["Reunimos tudo o que sabemos sobre como criar ótimos designs e conteúdo para as suas necessidades em modelos fáceis de usar. Escolha modelos e nós adicionaremos um rascunho de página ao projeto que você está criando com WordPress."],"Street Address":["Endereço"],"Whether it’s a storefront or a PO Box, we’re proud to help you connect your real-world and online businesses":["Seja uma vitrine ou uma caixa postal, temos orgulho de ajuda-lo a conectar seus negócios do mundo real e online"],"We use this address to setup WooCommerce, your payment provider, Contact Page and more so you can start stocking the shelves of your %1$s Online %2$s.":["Usamos este endereço para configurar o WooCommerce, seu provedor de pagamento, página de contato e muito mais."],"WordPress Experience":["Experiência WordPress"],"We want to offer the best default settings and guidance for someone with your WordPress experience.":["Queremos oferecer as melhores configurações e as orientações necessárias para alguém com sua experiência em WordPress."],"We want to help everyone get the most out of their WordPress %s and this setup, so we use this to help optimize for a great experience and periodically when we offer tips, reminders and recommendations.":["Queremos te ajudar a aproveitar ao máximo o seu WordPress. Com esta configuração vamos otimizar sua experiência e enviar periodicamente dicas, lembretes e recomendações."],"What’s Next":["O Que Vem Por Aí"],"The beginning of your %1$s journey is complete. We’re here to support your next steps and %2$s goals!":["O início da jornada no ambiente digital está completa. Estamos aqui para apoiar seus próximos passos e objetivos!"],"Add, adjust and launch!":["Adicione, ajuste e lance!"],"Now that you’ve setup the basics, use WordPress to edit your pages, %1$s design and explore the unlimited destinations you can chart for your %2$s %3$s.":["Agora que você configurou o básico, use o WordPress para editar suas páginas, criar sites ou lojas e explorar os destinos ilimitados que você pode traçar para seu projeto."],"Our support team, %s experts and professional designers are always just a chat or call away if you ever need directions.":["Nossa equipe de suporte está sempre disponível no chat caso você tenha dúvidas ou precise de ajuda."],"Exit to WordPress":["Sair para o WordPress"],"Exit without finishing?":["Sair sem finalizar?"],"Continue":["Continuar"],"Exit":["Sair"],"You can restart onboarding from your %s Settings page.":["Você pode reiniciar a integração na página de configurações da %s."],"Preparing your %s design studio":["Preparando seu estúdio de design %s"],"Hang tight while we show you some of the best WordPress has to offer!":["Aguarde enquanto mostramos o melhor que o WordPress tem a oferecer!"],"Uh-oh, something went wrong. Please contact support.":["Opa, algo deu errado. Entre em contato com o suporte."],"It looks like you may have an existing website":["Parece que você já tem um site"],"Going through this setup will change your active theme, WordPress settings, add content – would you like to continue?":["Passar por esta configuração mudará seu tema ativo, configurações do WordPress e adicionará conteúdo – gostaria de continuar?"],"Hang tight, we’re building your %1$s %2$s":["Aguarde, estamos criando sua página"],"We’re assembling your unique design and installing useful tools":["Estamos montando seu design exclusivo e instalando ferramentas úteis"],"Nice work: Your site is ready 🎉":["Bom trabalho! Seu site está pronto 🎉"],"Move-in day begins! Let us know if you'd like a hand.":["O dia da mudança começou! Nos avise se precisar de ajuda."],"Complete Setup":["Configuração Completa"],"WHATS NEXT":["O QUE VEM POR AÍ"],"Add content, organize your menu and launch.":["Adicione conteúdo, organize seu menu e lance."],"✅ Theme created, features added and Coming Soon mode activated. Thank you for building your site with %s, we're always here to help!":["✅ Tema criado, recursos adicionados e modo Em breve ativado. Obrigado por construir seu site com %s, estamos sempre aqui para ajudar!"],"HELP & RESOURCES":["AJUDA & RECURSOS"],"Next step or next level, we're your partner.":["Próximo passo ou próximo nível, somos seu parceiro."],"WordPress make it easy to grow your %s. Send a newsletter, broadcast a podcast, create courses and trainings. Dream it, build it.":["WordPress facilita o crescimento de seu tipo de %s. Envie uma newsletter, transmita um podcast, crie cursos e treinamentos. Sonhe, construa."],"HIRE OUR EXPERTS":["FALE COM NOSSOS ESPECIALISTAS"],"Make our great people your people.":["Faça do nosso time o seu time."],"Looking for personalized WordPress assistance, or someone to take-over from here? Go beyond support with our professional services.":["Procurando assistência personalizada para WordPress ou alguém para assumir o controle a partir daqui? Vá além do suporte com nossos serviços profissionais."],"Home Page":["Página Inicial"],"The home page is where you tell visitors your story. It helps users find what they came for.":["A página inicial é onde você conta sua história aos visitantes. Ela ajuda usuários a encontrar o que procuram."],"Welcome to your new home online":["Bem-vindo à página inicial do seu site"],"Like good curb appeal, a great home page design helps get users excited about your %s. Mixing media, headings, text and more, you can bring your ideas to live and your products & services to the forefront for visitors.":["Argumentos poderosos e um ótimo design ajudam a deixar os usuários empolgados. Combinando mídia, títulos, texto e muito mais, você pode dar vida às suas ideias e colocar seus produtos e serviços em destaque para os visitantes."],"Look for a Home Page Pattern design you think will help organize and elevate your ideas.":["Procure um design de página inicial que você acha que ajudará a organizar e elevar suas ideias."],"Help us tailor this setup to your %s":["Nos ajude a oferecer as melhores opções para você"],"ABOUT YOUR %s":["SOBRE SEU TIPO DE %s"],"What type of %s is it?":["Qual segmento melhor descreve seu tipo de %s?"],"Continue Setup":["Continuar Configuração"],"Enter to search your %s type":["Digite para pesquisar outros tipos de %s"],"or tell us here:":["ou nos conte aqui:"],"Basic Info":["Informações Básicas"],"Setup how your %s will present in visitors' browsers and search results.":["Configure como sua página será visualizada nos navegadores e nos resultados de pesquisa dos visitantes."],"Present in tip-top shape to web browsers and search engine results":["Em ótima forma para ser apresentado em navegadores e resultados de pesquisa"],"Loading your site details, logo and social graph helps not just launch your site but have it found looking great in feeds.":["Carregando os detalhes do seu site, logotipo, fontes e redes sociais ajuda a lançar seu site mais rápido, e também ajuda a deixar se perfil com ótima aparência nos feeds."],"Learn More":["Saiba Mais"],"You have ideas, we have page templates":["Você tem ideias, nós temos modelos de páginas"],"Begin closer to the finish line than a blank canvas.":["Comece mais perto da linha de chegada com nossos modelos prontos."],"There’s no place like a great home page":["Não há nada como uma página inicial atrativa"],"Pick a starter layout you can refine and remix with your content":["Escolha um layout inicial que você possa refinar e combinar com seu conteúdo"],"Theme Styles":["Tema"],"Professionally-designed website templates ready for their public debut featuring your great ideas.":["Modelos de sites projetados para o sucesso e totalmente prontos para você apresentar suas ideias."],"Show the web you have style with modern colors and elevated fonts":["Mostre que você tem estilo com cores modernas e fontes especiais"],"Pick one of these professionally-designed website styles to start your %1$s %2$s.":["Escolha um dos estilos criados por profissionais para iniciar seu projeto."],"In the next steps and in the future, you can change the specific colors and fonts to fit your aesthetic vision for your %s.":["Você poderá alterar as cores e fontes para se adequar à sua marca sempre que quiser."],"Lets tailor your theme for the perfect fit":["Vamos personalizar seu tema para o ajuste perfeito"],"Start with a style preset or":["Comece com uma definição de estilo ou"],"build a custom design.":["crie um design personalizado."],"Customize Colors & Fonts?":["Customizar Cores & Fontes?"],"Check to customize in the next few steps (or leave empty and use the Site Editor later)":["Marque para personalizar nas próximas etapas (ou deixe em branco e use o Editor do Site mais tarde)"],"Error 404":["Erro 404"],"Please Check Again!":["Por favor Verifique Novamente!"],"Skip this Step":["Pular Esta Etapa"],"Tell us your top priority":["Nos conte sua prioridade"],"We'll prioritize getting you there.":["Priorizaremos levar você até lá."],"Publishing":["Publicar"],"From blogs, to newsletters, to podcasts and videos, we help the web find your content.":["De blogs a boletins informativos, podcasts e vídeos, ajudamos a web a encontrar seu conteúdo."],"Selling":["Vender"],"Startup or seasoned business, drop-shipping or downloads, we've got ecommerce covered.":["Iniciante ou experiente, dropshipping ou downloads, temos tudo para sua loja online."],"Designing":["Design"],"With smart style presets and powerful options, we help your site look and feel polished.":["Com sugestões inteligentes de estilo e opções poderosa ajudamos seu site a ter uma aparência sofisticada."],"Where would you like to start? We'll start there and then move into next steps.":["Onde você gostaria de começar? Vamos iniciar por ai e seguimos para as próximas etapas."],"ABOUT YOU":["SOBRE VOCÊ"],"What is your experience with WordPress?":["Qual sua experiência com WordPress?"],"Never used it":["Nunca usei"],"Used it some":["Usei um pouco"],"I'm an expert":["Sou especialista"],"Introduce us to this %s":["Apresente-nos seu projeto"],"So we can introduce it to the web":["Para que possamos apresenta-lo para a internet"],"%s Title":["Título"],"WordPress %s":["%s WordPress"],"Shown to visitors, search engine and social media posts.":["O título é exibido aos visitantes, nos mecanismos de busca e também em postagens em mídias sociais."],"%s Description":["Descrição"],"Just another WordPress %s.":["Mais um projeto criado com WordPress."],"Tell people who you are, what you sell and why they should visit your %s.":["Conte quem você é, o que você está oferecendo e por que as pessoas deveriam visitar sua página web."],"Error Saving Data, Try Again!":["Erro ao Salvar Dados, Tente Novamente!"],"(%d characters left)":["(%d caracteres restantes)"],"Just another WordPress %s":["Apenas mais um %s WordPress"],"RESET":["RESETAR"],"UPLOAD":["CARREGAR"],"Edit URLs":["Editar URLs"],"Proceed Anyways":["Seguir Mesmo Assim"],"Social Media":["Redes Sociais"],"It looks like you're using a URL shortener!":["Parece que você está usando um encurtador de URL!"],"That's smart, but we encourage you to enter the standard URL for your social profiles to help search engines know this website is associated with your profile using Yoast's Open Graph support. You can always change the URLs used within your site to trackable in the future.":["Isso é inteligente, mas recomendamos que você insira o URL padrão para seus perfis sociais para ajudar os mecanismos de busca a entender que este site está associar ao seu perfil usando o suporte do Open Graph do Yoast. Você sempre pode alterar os URLs usados em seu site para rastreáveis no futuro."],"One of those URLs doesn't look like a social media URL.":["Um desses URLs não se parece com um URL de mídias social."],"We recommend using your official social URL to help search engines know this website is associated with your profile using Yoast's Open Graph support. You can always change the URLs used within your site in the future.":["Recomendamos usar sua URL social oficial para ajudar os mecanismos de pesquisa a saberem que este site está associado ao seu perfil usando o suporte Open Graph do Yoast. Você sempre pode alterar os URLs usados em seu site no futuro."],"That's clever! Short URLs are a great way to track clicks. However, To help build your social graph, we need the full URLs to your social profiles. You can go into your menus and change your social icon links after setup.":["Isso é inteligente! URLs curtos são uma ótima maneira de rastrear cliques. No entanto, para ajudar a construir seu gráfico social, precisamos dos URLs completos de seus perfis sociais. Você pode acessar seus menus e alterar os links dos ícones sociais após a configuração."],"To help build your social graph, we need the full URLs to your social profiles. Please check your URLs for typos and try copy & paste with the official URL if you continue to see this error.":["Para ajudar a construir seu gráfico social, precisamos dos URLs completos de seus perfis sociais. Verifique se há erros de digitação em seus URLs e tente copiar e colar com o URL oficial se continuar a ver esse erro."],"Facebook":["Facebook"],"Twitter":["Twitter"],"Instagram":["Instagram"],"Youtube":["Youtube"],"Linkedin":["Linkedin"],"Yelp":["Yelp"],"Tiktok":["Tiktok"],"Features":["Configurações"],"Easy-to-use features from our partner's WordPress Plugins and unique %1$s solutions to put your %2$s to work.":["Plugins WordPress de nossos parceiros com recursos fáceis de usar e soluções exclusivas da %1$s para colocar seu site ou loja em funcionamento."],"We’ve assembled the best building blocks for a successful %s":["Reunimos os melhores blocos para um projeto online de sucesso"],"Put your %1$s %2$s to work for you using features that unlock the potential of WordPress with powerful solutions from %3$s and our partners.":["Coloque seu site para trabalhar para você usando recursos que revelam todo o potencial do WordPress."],"Key features to supercharge your site":["Principais recursos para turbinar seu site"],"Our toolbox of Plugins & Services is your toolbox.":["Sua caixa de ferramentas disponível na nossa área de Plugins & Serviços."],"Tell us about your products":["Nos conte sobre seus produtos"],"What type of products will you be selling?":["Que tipo de produtos você quer vender?"],"How many products will you be selling?":["Quantos produtos você quer vender?"],"Physical products":["Produtos físicos"],"Digital / Downloadable products":["Produtos digitais"],"Subscriptions":["Assinaturas"],"Book rooms, houses or rent products":["Reserva de quartos, casas ou aluguel de produtos"],"Membership":["Afiliados"],"Customizable products":["Produtos customizáveis"],"Bundles of products":["Pacotes de produtos"],"Let your users ask a quote for your products":["Permitir que os usuários peçam um orçamento dos seus produtos ou serviços"],"Typography":["Tipografia"],"Give tone and taste to your words using a curated set of great type treatments.":["Dê o tom certo ao seu conteúdo utilizando nossa curadoria exclusiva de fontes."],"Not just what we say, how we say it":["Não apenas o que estamos falando, mas como estamos falando"],"Fonts help our ideas look creative and compelling, astute and articulate, refined and regal, modern and much more. Great font combinations help set the perfect tone for your %s and your story jump off the screen.":["As fontes têm o poder de comunicar ideias e dar o tom da sua comunicação. Sejam modernas, criativas, refinadas ou até mesmo retrô, elas te ajudam a criar uma história, e mostrar para o seu visitante um pouco mais do objetivo da sua página. "],"Header & Menu":["Cabeçalho & Menu"],"Surface key content in your %s -- who you are, what your about and where to find things.":["Exiba seu conteúdo principal - quem você é, o que você faz e onde encontrar coisas."],"Putting your best foot forward":["Levando o seu melhor em frente"],"Just like a %1$s putting a map of departments at the front door, a great %2$s Header & Menu help point visitors at the places you most want them to visit.":["Invista na criação de ótimo cabeçalho e menu para direcionar seus visitantes às páginas, produtos ou conteúdos que você quer que eles visitem."],"When picking a %s header, consider the number of menu items, character length of each item and how those will visually impact the Header Pattern design you choose.":["Ao escolher um estilo de cabeçalho considere o número de itens no menu, o número de caracteres de cada item e como eles vão impactar visualmente o design do Padrão de Cabeçalho que você escolher."],"Resources Page.":["Página de Recursos."],"Confirm your business or store address":["Confirme o endereço da sua empresa ou loja"],"We’ll use this information to help you setup your online store":["Usaremos essas informações para ajudá-lo a configurar sua loja virtual"],"Where is your store based?":["Onde fica sua loja?"],"Address":["Endereço"],"City":["Cidade"],"State":["Estado"],"Postal Code":["CEP"],"Email":["E-mail"],"What currency do you want to display in your store?":["Qual moeda você deseja exibir em sua loja?"],"* required":["* campos obrigatórios"],"Products Info":["Informações de Produtos"],"Tell us a little about how and what you’re planning to sell and we’ll bring the power of WooCommerce and unique %1$s %2$s solutions to elevate your business and enhance your capabilities.":["Nos conte um pouco sobre como e o que você planeja vender e traremos o poder do WooCommerce e soluções exclusivas %1$s para elevar seu negócio e aprimorar seus recursos."],"Make your %s dreams a reality!":["Transforme seu sonho em realidade!"],"with WordPress and %s.":["com WordPress e %s."],"Start Setup":["Iniciar Configuração"],"YOUR CONTENT":["SEU CONTEÚDO"],"Publish boldly with WordPress Blocks.":["Publique com ousadia com WordPress Blocks."],"Build a beautiful %s using a visual builder. Block Patterns accelerate telling your story or tending your store with professional designs.":["Utilize um construtor visual para criar um projeto incrível. Com os Block Patterns você acelera a criação da sua loja e conta sua história com um design profissional."],"POWERFUL FEATURES":["RECURSOS PODEROSOS"],"Proven, easy-to-use solutions.":["Soluções fáceis de usar."],"Reach for your %1$s goals using proven WordPress Plugins & %2$s solutions. Send a newsletter, host a podcast, book clients, take payments and more.":["Alcance seus objetivos utilizando uma combinação de plug-ins WordPress profissionais e soluções %2$s. Envie uma newsletter, hospede um podcast, reserve clientes, receba pagamentos e muito mais."],"MODERN DESIGN":["DESIGN MODERNO"],"Paint trim. Move walls. No sweat.":["Crie layouts. Mova blocos. Sem suar."],"Establish your %s's unique design. Use the WordPress Editor to refine over time with professionally-designed patterns, parts, templates, colors and type.":["Estabeleça um design exclusivo. Use o Editor do WordPress para refinar padrões, peças, modelos, cores e tipos projetados profissionalmente."],"Lay the foundation for a successful %1$s %2$s using our WordPress Onboarding. ":["Estabeleça as bases para um projeto de sucesso com a %1$s usando nosso processo de criação de sites e lojas WordPress totalmente guiado. "],"WordPress is free %s software":["WordPress é um software gratuito para criação de %s"],"When you set up this new WordPress %1$s, you’re joining millions of website owners who publish their %2$s using the free, community-built software project we’re proud to support.":["Junte-se a milhões de proprietários de sites que publicam seus projetos na internet utilizando o WordPress."],"%1$s is your %2$s partner":["Conte com a parceria da %1$s para criar seu projeto"],"A WordPress %1$s hosted by %2$s has tons of unique and proven solutions to help you get farther, faster with your WordPress. We put our expertise, partnerships and solutions to work on your %3$s.":["Sites e lojas WordPress hospedados na %2$s contam com soluções exclusivas e comprovadas para te ajudar ajudá-lo a ter sucesso. Colocamos nossa experiência, parceria e soluções para trabalhar em seus projetos online."],"1-1 Expert Solutions & Coaching":["Soluções especializadas e treinamento individual"],"Hire Our Full-Service Creative Team":["Contrate Nosso Estúdio Criativo de Serviço Completo"],"Loading…":["Carregando..."],"Need Help?":["Precisa de Ajuda?"],"Hire our Experts":["Entre em contato com nossos especialistas"],"Resources":["Recursos"],"What to Expect":["O Que Esperar"],"Welcome":["Bem vindo"],"Primary %s Setup":["Configuração inicial"],"Secondary %s Setup":["Configuração secundária"],"Top Priority":["Prioridade"],"Let's make the right things visible":["Vamos tornar as coisas certas visíveis"],"Homepage Layouts":["Layouts de Página inicial"],"Page Layouts":["Layout de Páginas"],"What Next":["O Que Vem Por Aí"],"How else can we help?":["No que mais podemos ajudar?"],"What's your color palette?":["Qual sua paleta de cores?"],"What's your font style?":["Qual sua fonte?"],"Design":["Design"],"Get Started":["Começar"],"Product Info":["Informações do produto"],"Store Info":["Informações da loja"],"Back":["Voltar"],"Next":["Seguir"],"Finish":["Finalizar"],"Making the keys to your %1$s Online %2$s":["Criando os acessos"],"We’re installing WooCommerce for you to fill with your amazing products & services!":["Estamos instalando o WooCommerce para você publicar seus produtos e serviços incríveis!"],"Color Palettes":["Paletas de Cores"],"SELECT CUSTOM COLORS":["SELECIONE CORES PERSONALIZADAS"],"Background":["Cor de fundo"],"Primary":["Principal"],"Secondary":["Secundária"],"Tertiary":["Terciária"],"Reset":["Resetar"],"Pick a Homepage Design":["Escolha um design para a sua página inicial"],"Panel will show a few Homepage Patterns.":["O painel mostrará alguns padrões de página inicial."],"Pick a Theme Style":["Escolha um Estilo de Tema"],"No Style Selected":["Nenhum Estilo Selecionado"],"Panel will show Theme details":["O painel mostrará detalhes de Temas"],"With Style Selected":["Com Estilo Selecionado"],"Panel will show single-column of other Styles.":["O painel mostrará uma única coluna de outros Estilos."],"Pick a Theme":["Escolha um Tema"],"No Theme Selected":["Nenhum Tema Selecionado"],"Panel will show contextual help":["O painel mostrará ajuda contextual"],"With Theme Selected":["Com Tema Selecionado"],"Panel will show single-column of other Themes.":["O painel mostrará uma única coluna de outros temas."],"Font Palettes":["Paletas de Fontes"],"Onboarding Menu":["Menu de Onboarding"],"Resume Onboarding":["Continuar Onboarding"],"WordPress Onboarding":["Onboarding WordPress"],"Toggle Navigation":["Alternar Navegação"],"Drawer":["Menu Lateral"],"Header":["Cabeçalho"],"Content":["Conteúdo"],"Block Library":["Biblioteca de Blocos"],"Settings":["Configurações"],"Publish":["Publicar"],"Footer":["Rodapé"],"We can offer free, exclusive solutions and apply our expert experience if we know how you sell.":["Podemos oferecer soluções gratuitas e exclusivas e aplicar nossa experiência especializada se soubermos como você vende."],"Whether this is where the magic happens or the mail goes, tell us where your business is located.":["Quer seja aqui que a magia acontece ou o correio vai, diga-nos onde está localizada a sua empresa."],"ALWAYS COUNT ON OUR TEAM":["CONTE SEMPRE COM O NOSSO TIME"],"24 hours a day / 7 days a week":["24h por dia / 7 dias por semana"],"From beginner to advanced, you have a partner to trust. Our support works when you work. Also count on various help materials on YouTube, blog and Knowledge Base.":["Do iniciante ao avançado, você tem um parceiro em quem confiar. Nosso suporte trabalha quando você trabalha. Conte também com diversos materiais de ajuda na Youtube, blog e Base de conhecimento."],"Go from multiple sizes to multiple locations to multiple online channels":["Vá de vários tamanhos para vários locais e vários canais on-line"],"noun\u0004site":["site"],"noun\u0004website":["website"],"noun\u0004store":["loja"]}}} \ No newline at end of file diff --git a/languages/wp-module-onboarding-pt_BR.mo b/languages/wp-module-onboarding-pt_BR.mo index 01e93a219..1486ca42a 100644 Binary files a/languages/wp-module-onboarding-pt_BR.mo and b/languages/wp-module-onboarding-pt_BR.mo differ diff --git a/languages/wp-module-onboarding-pt_BR.po b/languages/wp-module-onboarding-pt_BR.po index a455c8bae..bef042e3d 100644 --- a/languages/wp-module-onboarding-pt_BR.po +++ b/languages/wp-module-onboarding-pt_BR.po @@ -1755,6 +1755,13 @@ msgstr "Publicar" msgid "Footer" msgstr "Rodapé" +#: build/1.11.3/onboarding.js:3 +msgid "We can offer free, exclusive solutions and apply our expert experience if we know how you sell." +msgstr "Podemos oferecer soluções gratuitas e exclusivas e aplicar nossa experiência especializada se soubermos como você vende." + +#: build/1.11.3/onboarding.js:1 +msgid "Whether this is where the magic happens or the mail goes, tell us where your business is located." +msgstr "Quer seja aqui que a magia acontece ou o correio vai, diga-nos onde está localizada a sua empresa." #: build/1.11.3/465.js:5 msgid "ALWAYS COUNT ON OUR TEAM" msgstr "CONTE SEMPRE COM O NOSSO TIME" @@ -1766,3 +1773,7 @@ msgstr "24h por dia / 7 dias por semana" #: build/1.11.3/465.js:5 msgid "From beginner to advanced, you have a partner to trust. Our support works when you work. Also count on various help materials on YouTube, blog and Knowledge Base." msgstr "Do iniciante ao avançado, você tem um parceiro em quem confiar. Nosso suporte trabalha quando você trabalha. Conte também com diversos materiais de ajuda na Youtube, blog e Base de conhecimento." + +#: build/1.11.3/onboarding.js:3 +msgid "Go from multiple sizes to multiple locations to multiple online channels" +msgstr "Vá de vários tamanhos para vários locais e vários canais on-line" diff --git a/languages/wp-module-onboarding.pot b/languages/wp-module-onboarding.pot index 3a2c68e71..c16ea01d5 100644 --- a/languages/wp-module-onboarding.pot +++ b/languages/wp-module-onboarding.pot @@ -772,6 +772,10 @@ msgstr "" msgid "Street Address" msgstr "" +#: build/1.11.3/onboarding.js:1 +msgid "Whether this is where the magic happens or the mail goes, tell us where your business is located." +msgstr "" + #: build/1.11.3/onboarding.js:1 msgid "Whether it’s a storefront or a PO Box, we’re proud to help you connect your real-world and online businesses" msgstr "" @@ -827,6 +831,10 @@ msgstr "" msgid "Products Info" msgstr "" +#: build/1.11.3/onboarding.js:3 +msgid "We can offer free, exclusive solutions and apply our expert experience if we know how you sell." +msgstr "" + #: build/1.11.3/onboarding.js:3 msgid "Go from multiple sizes to multiple locations to multiple online channels" msgstr "" diff --git a/src/OnboardingSPA/components/Sidebar/components/LearnMore/Skeleton/SidebarSkeleton.js b/src/OnboardingSPA/components/Sidebar/components/LearnMore/Skeleton/SidebarSkeleton.js index ff7b05f13..75c69addb 100644 --- a/src/OnboardingSPA/components/Sidebar/components/LearnMore/Skeleton/SidebarSkeleton.js +++ b/src/OnboardingSPA/components/Sidebar/components/LearnMore/Skeleton/SidebarSkeleton.js @@ -71,12 +71,17 @@ const SidebarSkeleton = () => { />
-
- -
+ { ( brandConfig?.views?.sidebar?.fullService?.shown !== + false || + brandConfig?.views?.sidebar?.experts?.shown !== + false ) && ( +
+ +
+ ) }