"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingGeneralEnableDefaultPages-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return c}});var a=n("oYSA"),l=n("qZpH"),o=n("ALIA"),i=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,a=e.label,l=e.help,o=e.note,i=e.noticeCSS,s=wp.components,c=s.ToggleControl,m=s.Notice;return React.createElement(React.Fragment,null,React.createElement(c,{checked:t,onChange:n,label:a,help:l,className:o&&t&&"shopwp-toggle-has-note"}),o&&t&&React.createElement(m,{isDismissible:!1,css:i,status:"warning"},o))})),s={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},c=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,c=e.label,m=void 0!==c&&c,p=e.help,r=void 0!==p&&p,g=e.note,u=void 0!==g&&g,h=e.alsoChange,b=void 0!==h&&h,d=e.disable,f=void 0!==d&&d,C=React.useContext,S=wp.components.Disabled,v=C(o.Z),w=(0,a.Z)(v,2),E=w[0],y=w[1],N=s;function R(){y({type:"UPDATE_SETTING",payload:{key:n,value:!E[n]}}),b&&y({type:"UPDATE_SETTING",payload:{key:b,value:!E[b]}})}return(0,l.tZ)(React.Fragment,null,f?(0,l.tZ)(S,null,(0,l.tZ)(i,{settingName:E[n],onChange:R,label:m,help:r,note:u,noticeCSS:N})):(0,l.tZ)(i,{settingName:E[n],onChange:R,label:m,help:r,note:u,noticeCSS:N}))}))},mlBz:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Enable Listing Pages?","shopwp"),settingName:"enableDefaultPages"})}}}]);