"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingCollectionsImagesSizingToggle-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,m=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(m,{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,m=void 0!==c&&c,g=e.help,p=void 0!==g&&g,r=e.note,u=void 0!==r&&r,h=e.alsoChange,d=void 0!==h&&h,C=e.disable,S=void 0!==C&&C,b=React.useContext,f=wp.components.Disabled,v=b(l.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,S?(0,o.tZ)(f,null,(0,o.tZ)(i,{settingName:y[n],onChange:T,label:m,help:p,note:u,noticeCSS:R})):(0,o.tZ)(i,{settingName:y[n],onChange:T,label:m,help:p,note:u,noticeCSS:R}))}))},"259d":function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Custom image sizing","shopwp"),settingName:"collectionsImagesSizingToggle"})}}}]);