"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[5502],{61019:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var i=t(94333),o=t(9818),n=t(69307),r=t(67221),p=t(10431),a=t(74784),l=t(91978),u=t(81514);const h=(0,l.O3)("onboarding",{}),c=(0,i.compose)((0,r.withOnboardingHydration)({profileItems:h.profile}),(0,o.withSelect)((e=>{const{getProfileItems:s,hasFinishedResolution:t}=e(r.ONBOARDING_STORE_NAME);return{profileItems:s(),hasFinishedResolution:t("getProfileItems",[])}})))((({profileItems:{completed:e,skipped:s}={},hasFinishedResolution:t})=>{(0,n.useEffect)((()=>{!t||e||s||(0,p.getHistory)().push((0,p.getNewPath)({},"/setup-wizard",{}))}),[t,e,s]);const i=(0,p.useQuery)();return(0,u.jsx)(a.ZP,{query:i})}))}}]);