"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingColorPickerCartIconColor-admin"],{"31mL":function(o,e,t){var n=t("oYSA"),l=t("ALIA"),a=t("qZpH"),p={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;"},i={name:"13ned5d-stylesInner",styles:"margin-top:0;top:-25px;position:relative;padding-left:0;margin-bottom:-10px;label:stylesInner;"};e.Z=wp.element.memo((function(o){var e=o.settingName,t=o.help,r=void 0!==t&&t,c=o.label,s=void 0!==c&&c,m=React,u=m.useContext,d=m.useState,C=wp.components,b=C.ColorPalette,g=C.BaseControl,h=C.ColorIndicator,k=u(l.Z),v=(0,n.Z)(k,2),x=v[0],w=v[1],f=d(!1),Z=(0,n.Z)(f,2),_=Z[0],y=(Z[1],i),S=p;return(0,a.tZ)(g,{help:r,label:s,className:[_&&"shopwp-is-open","shopwp-color-picker"],css:S},x[e]&&(0,a.tZ)(h,{colorValue:x[e]}),(0,a.tZ)(b,{css:y,colors:[],value:x[e],onChange:function(o){w({type:"UPDATE_SETTING",payload:{key:e,value:o}})},clearable:!1}))}))},"j/eW":function(o,e,t){t.r(e);var n=t("31mL");e.default=function(){return React.createElement(n.Z,{settingName:"cartIconColor",label:wp.i18n.__("Fixed cart icon color","shopwp")})}}}]);