"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingShowEstimatedTax-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return m}});var a=n("oYSA"),o=n("qZpH"),i=n("ALIA"),l=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,a=e.label,o=e.help,i=e.note,l=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:i&&t&&"shopwp-toggle-has-note"}),i&&t&&React.createElement(p,{isDismissible:!1,css:l,status:"warning"},i))})),s={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},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,h=e.note,u=void 0!==h&&h,g=e.alsoChange,d=void 0!==g&&g,w=e.disable,S=void 0!==w&&w,b=React.useContext,C=wp.components.Disabled,v=b(i.Z),f=(0,a.Z)(v,2),E=f[0],y=f[1],N=s;function R(){y({type:"UPDATE_SETTING",payload:{key:n,value:!E[n]}}),d&&y({type:"UPDATE_SETTING",payload:{key:d,value:!E[d]}})}return(0,o.tZ)(React.Fragment,null,S?(0,o.tZ)(C,null,(0,o.tZ)(l,{settingName:E[n],onChange:R,label:p,help:r,note:u,noticeCSS:N})):(0,o.tZ)(l,{settingName:E[n],onChange:R,label:p,help:r,note:u,noticeCSS:N}))}))},OimQ:function(e,t,n){n.r(t);var a=n("XyRh");t.default=function(){return React.createElement(a.Z,{label:wp.i18n.__("Show estimated tax?","shopwp"),help:wp.i18n.__("Adds an estimated tax above the subtotal.","shopwp"),settingName:"showEstimatedTax"})}}}]);