"use strict";(globalThis.webpackChunknewfold_Onboarding=globalThis.webpackChunknewfold_Onboarding||[]).push([[356],{8053:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(1609),r=t(5573);const l=(0,s.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.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"}))},2356:(e,a,t)=>{t.r(a),t.d(a,{default:()=>h});var s=t(1609),r=t(6427),l=t(8468),n=t(8053),o=t(7143),i=t(7723),d=t(7675),m=t(8969),c=t(431);const b=()=>{const{brandConfig:e}=(0,o.useSelect)((e=>({brandConfig:e(d.M).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.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-top-profile"}),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-top-header"})),(0,s.createElement)("div",{className:"sidebar-skeleton-header-below"},(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-below-subheading-1"}),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-header-below-subheading-2"}))),(0,s.createElement)("div",{className:"sidebar-skeleton-divider"}),!1!==e?.views?.sidebar?.illustration?.shown&&(0,s.createElement)(l.Fragment,null,(0,s.createElement)("div",{className:"sidebar-skeleton-body"},(0,s.createElement)(c.A,{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.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-1"}),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-2"}),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-3"}),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-4"}),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer sidebar-skeleton-footer-line-5"}),(0,s.createElement)("div",{className:"sidebar-skeleton-footer-buttons"},(!1!==e?.views?.sidebar?.fullService?.shown||!1!==e?.views?.sidebar?.experts?.shown)&&(0,s.createElement)("div",{className:"sidebar-skeleton-footer-buttons-button-1"},(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer-1 sidebar-skeleton-footer-buttons-button-2"})),(0,s.createElement)(c.A,{type:"shine-placeholder",className:"shimmer-1 sidebar-skeleton-footer-buttons-button-3"}))))},h=(0,l.memo)((()=>{const{currentStep:e}=(0,o.useSelect)((e=>({currentStep:e(d.M).getCurrentStep()}))),{setIsSidebarOpened:a}=(0,o.useDispatch)(d.M);return(0,s.createElement)(r.Fill,{name:`${m.St}/${m.Qe}`},(0,s.createElement)(r.PanelBody,{className:"nfd-onboarding-sidebar-learn-more",initialOpen:!0},(0,s.createElement)(l.Suspense,{fallback:(0,s.createElement)(b,null)},(0,s.createElement)(r.PanelHeader,{label:(0,i.__)("Learn More","wp-module-onboarding")},(0,s.createElement)("div",{className:"nfd-onboarding-sidebar-learn-more__header"},(0,s.createElement)(r.Button,{className:"nfd-onboarding-sidebar-learn-more__header__icon",onClick:()=>{a(!1)},icon:n.A}))),e?.sidebars?.LearnMore&&e?.sidebars?.LearnMore.SidebarComponents.map(((e,a)=>(0,s.createElement)(l.Fragment,{key:a},(0,s.createElement)(e,null)))))))}))}}]);