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