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