"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingCartConditionalFixedCartTab-admin"],{nEVM:function(e,a,t){var n=t("oYSA"),l=t("ALIA");a.Z=function(e){var a=e.options,t=void 0!==a&&a,o=e.label,i=void 0!==o&&o,p=e.help,s=void 0!==p&&p,c=e.name,u=React.useContext,r=wp.components.RadioControl,d=u(l.Z),m=(0,n.Z)(d,2),b=m[0],h=m[1];return React.createElement("div",null,React.createElement(r,{selected:b[c],label:i,options:t,onChange:function(e){h({type:"UPDATE_SETTING",payload:{key:c,value:e}})},help:s}))}},MwVl:function(e,a,t){t.r(a),t.d(a,{default:function(){return r}});var n=t("nEVM"),l=t("oYSA"),o=t("qZpH"),i=t("ALIA"),p=t("Qjib"),s=t("Ancs"),c={name:"2p2l51-manuallySelectedPagesCSS",styles:"margin-top:-30px;margin-bottom:35px;label:manuallySelectedPagesCSS;"},u=function(){var e=React.useContext,a=e(i.Z),t=(0,l.Z)(a,1)[0],n=e(s.Z),u=(0,l.Z)(n,1)[0],r=c,d=u.availablePages.map((function(e){return{label:e.postTitle,value:e.iD}}));return"manual"===t.cartConditionalFixedTabLoading&&(0,o.tZ)(p.P,{customCSS:r,disableWhen:[!u.availablePages],options:d,settingsKey:"cartConditionalManuallySelectedPages",multiple:!0})},r=function(){return React.createElement(React.Fragment,null,React.createElement(n.Z,{name:"cartConditionalFixedTabLoading",label:wp.i18n.__("Show fixed cart tab on:","shopwp"),help:wp.i18n.__("Determines when to load the fixed cart tab. Default is all pages.","shopwp"),options:[{label:wp.i18n.__("All pages","shopwp"),value:"all"},{label:wp.i18n.__("Only pages with products","shopwp"),value:"withProducts"},{label:wp.i18n.__("Manually selected pages","shopwp"),value:"manual"}]}),React.createElement(u,null))}}}]);