this.wc=this.wc||{},this.wc.onboardingHomepageNotice=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=462)}({15:function(t,e){!function(){t.exports=this.wp.data}()},2:function(t,e){!function(){t.exports=this.wp.i18n}()},25:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return p})),n.d(e,"g",(function(){return b})),n.d(e,"h",(function(){return m})),n.d(e,"f",(function(){return y}));var o=n(30),r=n.n(o),i=n(2),c=["wcAdminSettings","preloadSettings"],u="object"===("undefined"==typeof wcSettings?"undefined":r()(wcSettings))?wcSettings:{},s=Object.keys(u).reduce((function(t,e){return c.includes(e)||(t[e]=u[e]),t}),{}),a=s.adminUrl,d=(s.countries,s.currency),f=s.locale,l=s.orderStatuses,p=(s.siteTitle,s.wcAssetUrl);function b(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t};if(c.includes(t))throw new Error(Object(i.__)("Mutable settings should be accessed via data store."));var o=s.hasOwnProperty(t)?s[t]:e;return n(o,e)}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t};if(c.includes(t))throw new Error(Object(i.__)("Mutable settings should be mutated via data store."));s[t]=n(e)}function y(t){return(a||"")+t}},28:function(t,e){!function(){t.exports=this.wc.tracks}()},30:function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},462:function(t,e,n){"use strict";n.r(e);var o=n(15),r=n(2),i=n(54),c=n(25),u=n(28),s=function(){var t=document.querySelector(".editor-post-publish-button");t.classList.contains("is-clicked")||(t.classList.add("is-clicked"),function t(){return document.querySelector(".editor-post-publish-button").classList.contains("is-busy")?new Promise((function(t){window.requestAnimationFrame(t)})).then((function(){return t()})):Promise.resolve(!0)}().then((function(){var t=null!==document.querySelector(".components-snackbar__content")?"snackbar":"default";Object(o.dispatch)("core/notices").removeNotice("SAVE_POST_NOTICE_ID"),Object(o.dispatch)("core/notices").createSuccessNotice(Object(r.__)("🏠 Nice work creating your store's homepage!",'woocommerce'),{id:"WOOCOMMERCE_ONBOARDING_HOME_PAGE_NOTICE",type:t,actions:[{label:Object(r.__)("Continue setup.",'woocommerce'),onClick:function(){Object(u.queueRecordEvent)("tasklist_appearance_continue_setup",{}),window.location=Object(c.f)("admin.php?page=wc-admin&task=appearance")}}]})})))};Object(i.a)((function(){var t=document.querySelector(".editor-post-publish-button");t&&t.addEventListener("click",function t(){return document.querySelector(".editor-post-publish-button").classList.contains("is-busy")?Promise.resolve(!0):new Promise((function(t){window.requestAnimationFrame(t)})).then((function(){return t()}))}().then((function(){return s()})))}))},54:function(t,e,n){"use strict";function o(t){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",t):t()}n.d(e,"a",(function(){return o}))}});