"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingPluginEnableBeta-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return s}});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,c=wp.components,s=c.ToggleControl,m=c.Notice;return React.createElement(React.Fragment,null,React.createElement(s,{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))})),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 t=e.settingName,n=void 0!==t&&t,s=e.label,m=void 0!==s&&s,p=e.help,r=void 0!==p&&p,u=e.note,g=void 0!==u&&u,h=e.alsoChange,b=void 0!==h&&h,d=e.disable,C=void 0!==d&&d,S=React.useContext,w=wp.components.Disabled,f=S(l.Z),v=(0,a.Z)(f,2),y=v[0],E=v[1],N=c;function R(){E({type:"UPDATE_SETTING",payload:{key:n,value:!y[n]}}),b&&E({type:"UPDATE_SETTING",payload:{key:b,value:!y[b]}})}return(0,o.tZ)(React.Fragment,null,C?(0,o.tZ)(w,null,(0,o.tZ)(i,{settingName:y[n],onChange:R,label:m,help:r,note:g,noticeCSS:N})):(0,o.tZ)(i,{settingName:y[n],onChange:R,label:m,help:r,note:g,noticeCSS:N}))}))},wohy:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Enable Beta Updates","shopwp"),settingName:"enableBeta"})}}}]);