1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingLayoutAlignHeight-admin"],{"./_tmp/admin/js/app/settings/_common/toggle.jsx"(e,t,n){n.d(t,{A:()=>m});var a=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=n("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),l=n("./_tmp/admin/js/app/settings/_state/context.js");const 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,m=s.ToggleControl,p=s.Notice;return React.createElement(React.Fragment,null,React.createElement(m,{checked:t,onChange:n,label:a,help:o,className:l&&t&&"shopwp-toggle-has-note"}),l&&t&&React.createElement(p,{isDismissible:!1,css:i,status:"warning"},l))}));var s={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"};const m=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,m=e.label,p=void 0!==m&&m,c=e.help,r=void 0!==c&&c,g=e.note,d=void 0!==g&&g,h=e.alsoChange,u=void 0!==h&&h,v=e.disable,b=void 0!==v&&v,y=e.showNote,C=void 0===y||y,S=e.alsoTurnOff,_=void 0!==S&&S,f=e.callback,j=void 0!==f&&f,w=wp.element.useContext,T=wp.components.Disabled,E=w(l.A),N=(0,a.A)(E,2),k=N[0],A=N[1],R=s;function x(){var e=!k[n];A({type:"UPDATE_SETTING",payload:{key:n,value:e}}),0==e&&_&&_.forEach((function(e){A({type:"UPDATE_SETTING",payload:{key:e,value:!1}})})),u&&A({type:"UPDATE_SETTING",payload:{key:u,value:!k[u]}}),j&&j(e)}return(0,o.Y)(React.Fragment,null,b?(0,o.Y)(T,null,(0,o.Y)(i,{settingName:k[n],onChange:x,label:p,help:r,note:!!C&&d,noticeCSS:R})):(0,o.Y)(i,{settingName:k[n],onChange:x,label:p,help:r,note:!!C&&d,noticeCSS:R}))}))},"./_tmp/admin/js/app/settings/layout/align-height.jsx"(e,t,n){n.r(t),n.d(t,{default:()=>l});var a=n("./_tmp/admin/js/app/settings/_common/toggle.jsx"),o=n("./_tmp/admin/js/app/admin/_state/hooks.js");const l=function(){var e=(0,o.G)();return React.createElement(a.A,{label:e.t.a.alignHeight,settingName:"alignHeight",help:"Will attempt to vertically align products"})}}}]);
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.