"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingProductsThumbnailToggle-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return s}});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,m=wp.components,s=m.ToggleControl,c=m.Notice;return React.createElement(React.Fragment,null,React.createElement(s,{checked:t,onChange:n,label:a,help:o,className:l&&t&&"shopwp-toggle-has-note"}),l&&t&&React.createElement(c,{isDismissible:!1,css:i,status:"warning"},l))})),m={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,p=e.help,r=void 0!==p&&p,g=e.note,u=void 0!==g&&g,h=e.alsoChange,d=void 0!==h&&h,b=e.disable,C=void 0!==b&&b,S=React.useContext,w=wp.components.Disabled,f=S(l.Z),v=(0,a.Z)(f,2),T=v[0],y=v[1],N=m;function R(){y({type:"UPDATE_SETTING",payload:{key:n,value:!T[n]}}),d&&y({type:"UPDATE_SETTING",payload:{key:d,value:!T[d]}})}return(0,o.tZ)(React.Fragment,null,C?(0,o.tZ)(w,null,(0,o.tZ)(i,{settingName:T[n],onChange:R,label:c,help:r,note:u,noticeCSS:N})):(0,o.tZ)(i,{settingName:T[n],onChange:R,label:c,help:r,note:u,noticeCSS:N}))}))},CXwX:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Custom thumbnail image sizing","shopwp"),settingName:"productsThumbnailImagesSizingToggle"})}}}]);