"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingProductsImagesSizingToggle-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return m}});var a=n("oYSA"),o=n("qZpH"),i=n("ALIA"),l=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,a=e.label,o=e.help,i=e.note,l=e.noticeCSS,s=wp.components,m=s.ToggleControl,c=s.Notice;return React.createElement(React.Fragment,null,React.createElement(m,{checked:t,onChange:n,label:a,help:o,className:i&&t&&"shopwp-toggle-has-note"}),i&&t&&React.createElement(c,{isDismissible:!1,css:l,status:"warning"},i))})),s={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},m=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,m=e.label,c=void 0!==m&&m,r=e.help,g=void 0!==r&&r,p=e.note,u=void 0!==p&&p,h=e.alsoChange,d=void 0!==h&&h,S=e.disable,C=void 0!==S&&S,b=React.useContext,f=wp.components.Disabled,v=b(i.Z),w=(0,a.Z)(v,2),y=w[0],N=w[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,C?(0,o.tZ)(f,null,(0,o.tZ)(l,{settingName:y[n],onChange:T,label:c,help:g,note:u,noticeCSS:R})):(0,o.tZ)(l,{settingName:y[n],onChange:T,label:c,help:g,note:u,noticeCSS:R}))}))},Nym0:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Custom featured image sizing","shopwp"),settingName:"productsImagesSizingToggle"})}}}]);