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