"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingProductsHeadingToggle-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return c}});var a=n("oYSA"),o=n("qZpH"),l=n("ALIA"),i=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,a=e.label,o=e.help,l=e.note,i=e.noticeCSS,s=wp.components,c=s.ToggleControl,p=s.Notice;return React.createElement(React.Fragment,null,React.createElement(c,{checked:t,onChange:n,label:a,help:o,className:l&&t&&"shopwp-toggle-has-note"}),l&&t&&React.createElement(p,{isDismissible:!1,css:i,status:"warning"},l))})),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,p=void 0!==c&&c,r=e.help,g=void 0!==r&&r,m=e.note,u=void 0!==m&&m,h=e.alsoChange,d=void 0!==h&&h,w=e.disable,f=void 0!==w&&w,S=React.useContext,C=wp.components.Disabled,b=S(l.Z),v=(0,a.Z)(b,2),y=v[0],N=v[1],R=s;function T(){N({type:"UPDATE_SETTING",payload:{key:n,value:!y[n]}}),d&&N({type:"UPDATE_SETTING",payload:{key:d,value:!y[d]}})}return(0,o.tZ)(React.Fragment,null,f?(0,o.tZ)(C,null,(0,o.tZ)(i,{settingName:y[n],onChange:T,label:p,help:g,note:u,noticeCSS:R})):(0,o.tZ)(i,{settingName:y[n],onChange:T,label:p,help:g,note:u,noticeCSS:R}))}))},nLW2:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Show Default Page Heading?","shopwp"),help:wp.i18n.__("Hide / show the heading found on the default Products page.","shopwp"),settingName:"productsHeadingToggle"})}}}]);