"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingToggleCustomCheckoutDomain-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return m}});var o=n("oYSA"),a=n("qZpH"),i=n("ALIA"),l=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,o=e.label,a=e.help,i=e.note,l=e.noticeCSS,c=wp.components,m=c.ToggleControl,s=c.Notice;return React.createElement(React.Fragment,null,React.createElement(m,{checked:t,onChange:n,label:o,help:a,className:i&&t&&"shopwp-toggle-has-note"}),i&&t&&React.createElement(s,{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;"},m=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,m=e.label,s=void 0!==m&&m,p=e.help,u=void 0!==p&&p,h=e.note,r=void 0!==h&&h,g=e.alsoChange,d=void 0!==g&&g,C=e.disable,f=void 0!==C&&C,w=React.useContext,b=wp.components.Disabled,S=w(i.Z),v=(0,o.Z)(S,2),y=v[0],k=v[1],E=c;function N(){k({type:"UPDATE_SETTING",payload:{key:n,value:!y[n]}}),d&&k({type:"UPDATE_SETTING",payload:{key:d,value:!y[d]}})}return(0,a.tZ)(React.Fragment,null,f?(0,a.tZ)(b,null,(0,a.tZ)(l,{settingName:y[n],onChange:N,label:s,help:u,note:r,noticeCSS:E})):(0,a.tZ)(l,{settingName:y[n],onChange:N,label:s,help:u,note:r,noticeCSS:E}))}))},"ea+3":function(e,t,n){n.r(t);var o=n("XyRh");t.default=function(){return React.createElement(o.Z,{label:wp.i18n.__("Enable custom checkout domain","shopwp"),help:wp.i18n.__("When turned on, the plugin will attempt to use the custom domain you have set within Shopify for checkout instead of myshopify.com","shopwp"),settingName:"enableCustomCheckoutDomain"})}}}]);