1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingProductsImagesShowZoom-admin"],{"./_tmp/admin/js/app/settings/_common/toggle.jsx"(e,t,o){o.d(t,{A:()=>i});var a=o("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),n=o("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),s=o("./_tmp/admin/js/app/settings/_state/context.js");const m=wp.element.memo((function(e){var t=e.settingName,o=e.onChange,a=e.label,n=e.help,s=e.note,m=e.noticeCSS,l=wp.components,i=l.ToggleControl,p=l.Notice;return React.createElement(React.Fragment,null,React.createElement(i,{checked:t,onChange:o,label:a,help:n,className:s&&t&&"shopwp-toggle-has-note"}),s&&t&&React.createElement(p,{isDismissible:!1,css:m,status:"warning"},s))}));var l={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"};const i=wp.element.memo((function(e){var t=e.settingName,o=void 0!==t&&t,i=e.label,p=void 0!==i&&i,c=e.help,r=void 0!==c&&c,d=e.note,g=void 0!==d&&d,u=e.alsoChange,h=void 0!==u&&u,v=e.disable,b=void 0!==v&&v,w=e.showNote,S=void 0===w||w,f=e.alsoTurnOff,C=void 0!==f&&f,_=e.callback,j=void 0!==_&&_,T=wp.element.useContext,y=wp.components.Disabled,E=T(s.A),N=(0,a.A)(E,2),k=N[0],A=N[1],I=l;function R(){var e=!k[o];A({type:"UPDATE_SETTING",payload:{key:o,value:e}}),0==e&&C&&C.forEach((function(e){A({type:"UPDATE_SETTING",payload:{key:e,value:!1}})})),h&&A({type:"UPDATE_SETTING",payload:{key:h,value:!k[h]}}),j&&j(e)}return(0,n.Y)(React.Fragment,null,b?(0,n.Y)(y,null,(0,n.Y)(m,{settingName:k[o],onChange:R,label:p,help:r,note:!!S&&g,noticeCSS:I})):(0,n.Y)(m,{settingName:k[o],onChange:R,label:p,help:r,note:!!S&&g,noticeCSS:I}))}))},"./_tmp/admin/js/app/settings/products/products-images-show-zoom.jsx"(e,t,o){o.r(t),o.d(t,{default:()=>s});var a=o("./_tmp/admin/js/app/settings/_common/toggle.jsx"),n=o("./_tmp/admin/js/app/admin/_state/hooks.js");const s=function(){var e=(0,n.G)();return React.createElement(a.A,{label:e.t.a.showImageZoom,settingName:"productsImagesShowZoom",help:"This enables the product image zoom feature on hover"})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.