"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingColorPickerCartCounterTextColor-admin"],{"31mL":function(o,t,e){var n=e("oYSA"),l=e("ALIA"),r=e("qZpH"),a={name:"149qvms-CustomColorPickerCSS",styles:"margin-bottom:0!important;position:relative;.components-base-control__label{left:-9px;color:black;padding:3px 10px;margin-top:15px;position:relative;top:-24px;display:inline-block;}.component-color-indicator{margin-top:38px;right:0!important;}.components-color-palette__custom-color{align-items:center!important;}.components-circular-option-picker__dropdown-link-action .components-button{right:35px;top:1px;position:relative;};label:CustomColorPickerCSS;"},p={name:"13ned5d-stylesInner",styles:"margin-top:0;top:-25px;position:relative;padding-left:0;margin-bottom:-10px;label:stylesInner;"};t.Z=wp.element.memo((function(o){var t=o.settingName,e=o.help,i=void 0!==e&&e,c=o.label,s=void 0!==c&&c,m=React,u=m.useContext,C=m.useState,d=wp.components,b=d.ColorPalette,x=d.BaseControl,g=d.ColorIndicator,v=u(l.Z),h=(0,n.Z)(v,2),k=h[0],w=h[1],f=C(!1),S=(0,n.Z)(f,2),Z=S[0],_=(S[1],p),y=a;return(0,r.tZ)(x,{help:i,label:s,className:[Z&&"shopwp-is-open","shopwp-color-picker"],css:y},k[t]&&(0,r.tZ)(g,{colorValue:k[t]}),(0,r.tZ)(b,{css:_,colors:[],value:k[t],onChange:function(o){w({type:"UPDATE_SETTING",payload:{key:t,value:o}})},clearable:!1}))}))},SvXv:function(o,t,e){e.r(t);var n=e("31mL");t.default=function(){return React.createElement(n.Z,{settingName:"cartCounterTextColor",label:wp.i18n.__("Fixed cart counter text color","shopwp")})}}}]);