var f6=Object.defineProperty;var p6=(e,t,r)=>t in e?f6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Q2=(e,t,r)=>(p6(e,typeof t!="symbol"?t+"":t,r),r);/* empty css */const Vr=window.wp.customize,tr=e=>window.wp.customize(`${e}_settings`)==null?null:window.wp.customize(`${e}_settings`)(),ss=(e,t)=>{window.wp.customize(`${e}_settings`)!=null&&window.wp.customize(`${e}_settings`)(t)};class g6{constructor(){}getPreviewTemplate(t){const r=tr(t),i=r.preview_template_id??r.current_template_id,{defaultTemplate:o,previewTemplate:a}=r.templates.reduce((s,l)=>(l.id==="default"&&(s.defaultTemplate=l),l.id===i&&(s.previewTemplate=l),s),{defaultTemplate:null,previewTemplate:null});return a??o}getCurrentTemplate(t){const r=tr(t),i=r.current_template_id,{defaultTemplate:o,currentTemplate:a}=r.templates.reduce((s,l)=>(l.id==="default"&&(s.defaultTemplate=l),l.id===i&&(s.currentTemplate=l),s),{defaultTemplate:null,currentTemplate:null});return a??o}getTemplates(t){const r=tr(t);return r?r.templates??[]:[]}updateTemplates(t,r){const i=tr(t);ss(t,JSON.parse(JSON.stringify({...i,templates:r})))}updatePreviewTemplateId(t,r){const i=tr(t);ss(t,JSON.parse(JSON.stringify({...i,preview_template_id:r})))}updateCurrentTemplateId(t,r){const i=tr(t);ss(t,JSON.parse(JSON.stringify({...i,current_template_id:r})))}refreshPartial(t){const r=window.wp.customize(t);r&&r.set(Date.now())}}const Ee=()=>new g6;var at=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sc(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}),r}var Dc={exports:{}},ba={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var x6=window.React,m6=Symbol.for("react.element"),w6=Symbol.for("react.fragment"),v6=Object.prototype.hasOwnProperty,C6=x6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y6={key:!0,ref:!0,__self:!0,__source:!0};function Ec(e,t,r){var i,o={},a=null,s=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(i in t)v6.call(t,i)&&!y6.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)o[i]===void 0&&(o[i]=t[i]);return{$$typeof:m6,type:e,key:a,ref:s,props:o,_owner:C6.current}}ba.Fragment=w6;ba.jsx=Ec;ba.jsxs=Ec;Dc.exports=ba;var n=Dc.exports,Bn={},e0=window.ReactDOM;Bn.createRoot=e0.createRoot,Bn.hydrateRoot=e0.hydrateRoot;var It=function(){return It=Object.assign||function(t){for(var r,i=1,o=arguments.length;i0?gt(Ir,--s1):0,vr--,ht===10&&(vr=1,ja--),ht}function C1(){return ht=s12||cl(ht)>3?"":" "}function L6(e,t){for(;--t&&C1()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return Da(e,Oo()+(t<6&&Ln()==32&&C1()==32))}function dl(e){for(;C1();)switch(ht){case e:return s1;case 34:case 39:e!==34&&e!==39&&dl(ht);break;case 40:e===41&&dl(e);break;case 92:C1();break}return s1}function $6(e,t){for(;C1()&&e+ht!==47+10;)if(e+ht===42+42&&Ln()===47)break;return"/*"+Da(t,s1-1)+"*"+Gl(e===47?e:C1())}function A6(e){for(;!cl(Ln());)C1();return Da(e,s1)}function V6(e){return k6(Po("",null,null,null,[""],e=H6(e),0,[0],e))}function Po(e,t,r,i,o,a,s,l,c){for(var d=0,u=0,f=s,h=0,x=0,p=0,m=1,w=1,E=1,_=0,k="",H=o,$=a,C=i,b=k;w;)switch(p=_,_=C1()){case 40:if(p!=108&>(b,f-1)==58){Fo(b+=je(ls(_),"&","&\f"),"&\f",Mc(d?l[d-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:b+=ls(_);break;case 9:case 10:case 13:case 32:b+=M6(p);break;case 92:b+=L6(Oo()-1,7);continue;case 47:switch(Ln()){case 42:case 47:ai(I6($6(C1(),Oo()),t,r,c),c);break;default:b+="/"}break;case 123*m:l[d++]=E1(b)*E;case 125*m:case 59:case 0:switch(_){case 0:case 125:w=0;case 59+u:E==-1&&(b=je(b,/\f/g,"")),x>0&&E1(b)-f&&ai(x>32?r0(b+";",i,r,f-1,c):r0(je(b," ","")+";",i,r,f-2,c),c);break;case 59:b+=";";default:if(ai(C=n0(b,t,r,d,u,o,l,k,H=[],$=[],f,a),a),_===123)if(u===0)Po(b,t,C,C,H,a,f,l,$);else switch(h===99&>(b,3)===110?100:h){case 100:case 108:case 109:case 115:Po(e,C,C,i&&ai(n0(e,C,C,0,0,o,l,k,o,H=[],f,$),$),o,$,f,l,i?H:$);break;default:Po(b,C,C,C,[""],$,0,l,$)}}d=u=x=0,m=E=1,k=b="",f=s;break;case 58:f=1+E1(b),x=p;default:if(m<1){if(_==123)--m;else if(_==125&&m++==0&&E6()==125)continue}switch(b+=Gl(_),_*m){case 38:E=u>0?1:(b+="\f",-1);break;case 44:l[d++]=(E1(b)-1)*E,E=1;break;case 64:Ln()===45&&(b+=ls(C1())),h=Ln(),u=f=E1(k=b+=A6(Oo())),_++;break;case 45:p===45&&E1(b)==2&&(m=0)}}return a}function n0(e,t,r,i,o,a,s,l,c,d,u,f){for(var h=o-1,x=o===0?a:[""],p=$c(x),m=0,w=0,E=0;m0?x[_]+" "+k:je(k,/&\f/g,x[_])))&&(c[E++]=H);return Sa(e,t,r,o===0?_a:l,c,d,u,f)}function I6(e,t,r,i){return Sa(e,t,r,Hc,Gl(D6()),wr(e,2,-2),0,i)}function r0(e,t,r,i,o){return Sa(e,t,r,Wl,wr(e,0,i),wr(e,i+1,-1),i,o)}function Vc(e,t,r){switch(j6(e,t)){case 5103:return Ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ve+e+e;case 4789:return pi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+pi+e+Ze+e+e;case 5936:switch(gt(e,t+11)){case 114:return Ve+e+Ze+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+Ze+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+Ze+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ve+e+Ze+e+e;case 6165:return Ve+e+Ze+"flex-"+e+e;case 5187:return Ve+e+je(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+Ze+"flex-$1$2")+e;case 5443:return Ve+e+Ze+"flex-item-"+je(e,/flex-|-self/g,"")+(P1(e,/flex-|baseline/)?"":Ze+"grid-row-"+je(e,/flex-|-self/g,""))+e;case 4675:return Ve+e+Ze+"flex-line-pack"+je(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ve+e+Ze+je(e,"shrink","negative")+e;case 5292:return Ve+e+Ze+je(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+je(e,"-grow","")+Ve+e+Ze+je(e,"grow","positive")+e;case 4554:return Ve+je(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return je(je(je(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return je(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return je(je(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+Ze+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4200:if(!P1(e,/flex-|baseline/))return Ze+"grid-column-align"+wr(e,t)+e;break;case 2592:case 3360:return Ze+je(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(i,o){return t=o,P1(i.props,/grid-\w+-end/)})?~Fo(e+(r=r[t].value),"span",0)?e:Ze+je(e,"-start","")+e+Ze+"grid-row-span:"+(~Fo(r,"span",0)?P1(r,/\d+/):+P1(r,/\d+/)-+P1(e,/\d+/))+";":Ze+je(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(i){return P1(i.props,/grid-\w+-start/)})?e:Ze+je(je(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return je(e,/(.+)-inline(.+)/,Ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(E1(e)-1-t>6)switch(gt(e,t+1)){case 109:if(gt(e,t+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+pi+(gt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fo(e,"stretch",0)?Vc(je(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return je(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(i,o,a,s,l,c,d){return Ze+o+":"+a+d+(s?Ze+o+"-span:"+(l?c:+c-+a)+d:"")+e});case 4949:if(gt(e,t+6)===121)return je(e,":",":"+Ve)+e;break;case 6444:switch(gt(e,gt(e,14)===45?18:11)){case 120:return je(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ve+(gt(e,14)===45?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+Ze+"$2box$3")+e;case 100:return je(e,":",":"+Ze)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return je(e,"scroll-","scroll-snap-")+e}return e}function na(e,t){for(var r="",i=0;i-1&&!e.return)switch(e.type){case Wl:e.return=Vc(e.value,e.length,r);return;case kc:return na([tn(e,{value:je(e.value,"@","@"+Ve)})],i);case _a:if(e.length)return S6(r=e.props,function(o){switch(P1(o,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":nr(tn(e,{props:[je(o,/:(read-\w+)/,":"+pi+"$1")]})),nr(tn(e,{props:[o]})),ll(e,{props:t0(r,i)});break;case"::placeholder":nr(tn(e,{props:[je(o,/:(plac\w+)/,":"+Ve+"input-$1")]})),nr(tn(e,{props:[je(o,/:(plac\w+)/,":"+pi+"$1")]})),nr(tn(e,{props:[je(o,/:(plac\w+)/,Ze+"input-$1")]})),nr(tn(e,{props:[o]})),ll(e,{props:t0(r,i)});break}return""})}}var O6={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const Mi=window.React;window.React.useRef;window.React.useState;window.React.useMemo;window.React.useEffect;const P6=window.React.useContext;window.React.useDebugValue;const N6=window.React.createElement;var Cr=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Ic="active",Tc="data-styled-version",Ea="6.1.8",Ul=`/*!sc*/ `,Yl=typeof window<"u"&&"HTMLElement"in window,z6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),Ha=Object.freeze([]),yr=Object.freeze({});function Z6(e,t,r){return r===void 0&&(r=yr),e.theme!==r.theme&&e.theme||t||r.theme}var Bc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),W6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,G6=/(^-|-$)/g;function i0(e){return e.replace(W6,"-").replace(G6,"")}var U6=/(a)(d)/gi,bo=52,o0=function(e){return String.fromCharCode(e+(e>25?39:97))};function ul(e){var t,r="";for(t=Math.abs(e);t>bo;t=t/bo|0)r=o0(t%bo)+r;return(o0(t%bo)+r).replace(U6,"$1-$2")}var cs,Rc=5381,ur=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Fc=function(e){return ur(Rc,e)};function Y6(e){return ul(Fc(e)>>>0)}function X6(e){return e.displayName||e.name||"Component"}function ds(e){return typeof e=="string"&&!0}var Oc=typeof Symbol=="function"&&Symbol.for,Pc=Oc?Symbol.for("react.memo"):60115,J6=Oc?Symbol.for("react.forward_ref"):60112,K6={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},q6={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Nc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Q6=((cs={})[J6]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},cs[Pc]=Nc,cs);function a0(e){return("type"in(t=e)&&t.type.$$typeof)===Pc?Nc:"$$typeof"in e?Q6[e.$$typeof]:K6;var t}var e8=Object.defineProperty,t8=Object.getOwnPropertyNames,s0=Object.getOwnPropertySymbols,n8=Object.getOwnPropertyDescriptor,r8=Object.getPrototypeOf,l0=Object.prototype;function zc(e,t,r){if(typeof t!="string"){if(l0){var i=r8(t);i&&i!==l0&&zc(e,i,r)}var o=t8(t);s0&&(o=o.concat(s0(t)));for(var a=a0(e),s=a0(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var i8=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,i=0;i=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,a=o;t>=a;)if((a<<=1)<0)throw Wi(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(i),this.length=a;for(var s=o;s=this.length||this.groupSizes[t]===0)return r;for(var i=this.groupSizes[t],o=this.indexOfGroup(t),a=o+i,s=o;s=0){var i=document.createTextNode(r);return this.element.insertBefore(i,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(w+="".concat(E,","))}),c+="".concat(p).concat(m,'{content:"').concat(w,'"}').concat(Ul)},u=0;u0?".".concat(t):h},u=c.slice();u.push(function(h){h.type===_a&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(g8,r).replace(i,d))}),s.prefix&&u.push(F6),u.push(T6);var f=function(h,x,p,m){x===void 0&&(x=""),p===void 0&&(p=""),m===void 0&&(m="&"),t=m,r=x,i=new RegExp("\\".concat(r,"\\b"),"g");var w=h.replace(x8,""),E=V6(p||x?"".concat(p," ").concat(x," { ").concat(w," }"):w);s.namespace&&(E=Gc(E,s.namespace));var _=[];return na(E,B6(u.concat(R6(function(k){return _.push(k)})))),_};return f.hash=c.length?c.reduce(function(h,x){return x.name||Wi(15),ur(h,x.name)},Rc).toString():"",f}var w8=new Wc,fl=m8(),Uc=Mi.createContext({shouldForwardProp:void 0,styleSheet:w8,stylis:fl});Uc.Consumer;Mi.createContext(void 0);function u0(){return P6(Uc)}var v8=function(){function e(t,r){var i=this;this.inject=function(o,a){a===void 0&&(a=fl);var s=i.name+a.hash;o.hasNameForId(i.id,s)||o.insertRules(i.id,s,a(i.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Jl(this,function(){throw Wi(12,String(i.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=fl),this.name+t.hash},e}(),C8=function(e){return e>="A"&&e<="Z"};function h0(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,s)){var l=i(a,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,l)}o=Mn(o,s),this.staticRulesId=s}else{for(var c=ur(this.baseHash,i.hash),d="",u=0;u>>0);r.hasNameForId(this.componentId,x)||r.insertRules(this.componentId,x,i(d,".".concat(x),void 0,this.componentId)),o=Mn(o,x)}}return o},e}(),Jc=Mi.createContext(void 0);Jc.Consumer;var us={};function j8(e,t,r){var i=Xl(e),o=e,a=!ds(e),s=t.attrs,l=s===void 0?Ha:s,c=t.componentId,d=c===void 0?function(H,$){var C=typeof H!="string"?"sc":i0(H);us[C]=(us[C]||0)+1;var b="".concat(C,"-").concat(Y6(Ea+C+us[C]));return $?"".concat($,"-").concat(b):b}(t.displayName,t.parentComponentId):c,u=t.displayName,f=u===void 0?function(H){return ds(H)?"styled.".concat(H):"Styled(".concat(X6(H),")")}(e):u,h=t.displayName&&t.componentId?"".concat(i0(t.displayName),"-").concat(t.componentId):t.componentId||d,x=i&&o.attrs?o.attrs.concat(l).filter(Boolean):l,p=t.shouldForwardProp;if(i&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;p=function(H,$){return m(H,$)&&w(H,$)}}else p=m}var E=new _8(r,h,i?o.componentStyle:void 0);function _(H,$){return function(C,b,T){var M=C.attrs,j=C.componentStyle,V=C.defaultProps,F=C.foldedComponentIds,z=C.styledComponentId,Z=C.target,B=Mi.useContext(Jc),O=u0(),I=C.shouldForwardProp||O.shouldForwardProp,P=Z6(b,B,V)||yr,L=function(N,ee,de){for(var ne,te=It(It({},ee),{className:void 0,theme:de}),ye=0;ye-1}function n9(e,t){var r=this.__data__,i=Ma(r,e);return i<0?r.push([e,t]):r[i][1]=t,this}Tr.prototype.clear=q8;Tr.prototype.delete=Q8;Tr.prototype.get=e9;Tr.prototype.has=t9;Tr.prototype.set=n9;function Wn(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1&&e%1==0&&eE9(e)&&"desktop"in e,gl=(e,t)=>{const r={};return xt(r,e,t),r},v0=e=>{let t;const r=new Set,i=(u,f)=>{const h=typeof u=="function"?u(t):u;if(!Object.is(h,t)){const x=t;t=f??(typeof h!="object"||h===null)?h:Object.assign({},t,h),r.forEach(p=>p(t,x))}},o=()=>t,c={setState:i,getState:o,getInitialState:()=>d,subscribe:u=>(r.add(u),()=>r.delete(u)),destroy:()=>{r.clear()}},d=t=e(i,o,c);return c},H9=e=>e?v0(e):v0;var a3={exports:{}},s3={},l3={exports:{}},c3={};/** * @license React * use-sync-external-store-shim.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var _r=window.React;function k9(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var M9=typeof Object.is=="function"?Object.is:k9,L9=_r.useState,$9=_r.useEffect,A9=_r.useLayoutEffect,V9=_r.useDebugValue;function I9(e,t){var r=t(),i=L9({inst:{value:r,getSnapshot:t}}),o=i[0].inst,a=i[1];return A9(function(){o.value=r,o.getSnapshot=t,fs(o)&&a({inst:o})},[e,r,t]),$9(function(){return fs(o)&&a({inst:o}),e(function(){fs(o)&&a({inst:o})})},[e]),V9(r),r}function fs(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!M9(e,r)}catch{return!0}}function T9(e,t){return t()}var B9=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?T9:I9;c3.useSyncExternalStore=_r.useSyncExternalStore!==void 0?_r.useSyncExternalStore:B9;l3.exports=c3;var R9=l3.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var $a=window.React,F9=R9;function O9(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var P9=typeof Object.is=="function"?Object.is:O9,N9=F9.useSyncExternalStore,z9=$a.useRef,Z9=$a.useEffect,W9=$a.useMemo,G9=$a.useDebugValue;s3.useSyncExternalStoreWithSelector=function(e,t,r,i,o){var a=z9(null);if(a.current===null){var s={hasValue:!1,value:null};a.current=s}else s=a.current;a=W9(function(){function c(x){if(!d){if(d=!0,u=x,x=i(x),o!==void 0&&s.hasValue){var p=s.value;if(o(p,x))return f=p}return f=x}if(p=f,P9(u,x))return p;var m=i(x);return o!==void 0&&o(p,m)?p:(u=x,f=m)}var d=!1,u,f,h=r===void 0?null:r;return[function(){return c(t())},h===null?void 0:function(){return c(h())}]},[t,r,i,o]);var l=N9(e,a[0],a[1]);return Z9(function(){s.hasValue=!0,s.value=l},[l]),G9(l),l};a3.exports=s3;var U9=a3.exports;const Y9=Ut(U9),X9=window.React,{useDebugValue:J9}=X9,{useSyncExternalStoreWithSelector:K9}=Y9;const q9=e=>e;function Q9(e,t=q9,r){const i=K9(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return J9(i),i}const C0=e=>{const t=typeof e=="function"?H9(e):e,r=(i,o)=>Q9(t,i,o);return Object.assign(r,t),r},Gi=e=>e?C0(e):C0,Aa=Gi()(e=>({current:"desktop",changeCurrent:t=>{e(()=>({current:t}))}})),e7=window.React.useEffect;function Ce(){const{current:e}=Aa();return e7(()=>{},[]),{current:e,changeDevice:r=>{Vr.previewedDevice(r)}}}var d3=Symbol.for("immer-nothing"),y0=Symbol.for("immer-draftable"),Zt=Symbol.for("immer-state");function w1(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var jr=Object.getPrototypeOf;function Sr(e){return!!e&&!!e[Zt]}function Fn(e){var t;return e?u3(e)||Array.isArray(e)||!!e[y0]||!!((t=e.constructor)!=null&&t[y0])||Ia(e)||Ta(e):!1}var t7=Object.prototype.constructor.toString();function u3(e){if(!e||typeof e!="object")return!1;const t=jr(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===t7}function oa(e,t){Va(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,i)=>t(i,r,e))}function Va(e){const t=e[Zt];return t?t.type_:Array.isArray(e)?1:Ia(e)?2:Ta(e)?3:0}function xl(e,t){return Va(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function h3(e,t,r){const i=Va(e);i===2?e.set(t,r):i===3?e.add(r):e[t]=r}function n7(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ia(e){return e instanceof Map}function Ta(e){return e instanceof Set}function En(e){return e.copy_||e.base_}function ml(e,t){if(Ia(e))return new Map(e);if(Ta(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&u3(e))return jr(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[Zt];let i=Reflect.ownKeys(r);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=r7),Object.freeze(e),t&&Object.entries(e).forEach(([r,i])=>e2(i,!0))),e}function r7(){w1(2)}function Ba(e){return Object.isFrozen(e)}var i7={};function On(e){const t=i7[e];return t||w1(0,e),t}var Vi;function f3(){return Vi}function o7(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function b0(e,t){t&&(On("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function wl(e){vl(e),e.drafts_.forEach(a7),e.drafts_=null}function vl(e){e===Vi&&(Vi=e.parent_)}function _0(e){return Vi=o7(Vi,e)}function a7(e){const t=e[Zt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function j0(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[Zt].modified_&&(wl(t),w1(4)),Fn(e)&&(e=aa(t,e),t.parent_||sa(t,e)),t.patches_&&On("Patches").generateReplacementPatches_(r[Zt].base_,e,t.patches_,t.inversePatches_)):e=aa(t,r,[]),wl(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==d3?e:void 0}function aa(e,t,r){if(Ba(t))return t;const i=t[Zt];if(!i)return oa(t,(o,a)=>S0(e,i,t,o,a,r)),t;if(i.scope_!==e)return t;if(!i.modified_)return sa(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const o=i.copy_;let a=o,s=!1;i.type_===3&&(a=new Set(o),o.clear(),s=!0),oa(a,(l,c)=>S0(e,i,o,l,c,r,s)),sa(e,o,!1),r&&e.patches_&&On("Patches").generatePatches_(i,r,e.patches_,e.inversePatches_)}return i.copy_}function S0(e,t,r,i,o,a,s){if(Sr(o)){const l=a&&t&&t.type_!==3&&!xl(t.assigned_,i)?a.concat(i):void 0,c=aa(e,o,l);if(h3(r,i,c),Sr(c))e.canAutoFreeze_=!1;else return}else s&&r.add(o);if(Fn(o)&&!Ba(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;aa(e,o),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,i)&&sa(e,o)}}function sa(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&e2(t,r)}function s7(e,t){const r=Array.isArray(e),i={type_:r?1:0,scope_:t?t.scope_:f3(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=i,a=t2;r&&(o=[i],a=Ii);const{revoke:s,proxy:l}=Proxy.revocable(o,a);return i.draft_=l,i.revoke_=s,l}var t2={get(e,t){if(t===Zt)return e;const r=En(e);if(!xl(r,t))return l7(e,r,t);const i=r[t];return e.finalized_||!Fn(i)?i:i===ps(e.base_,t)?(gs(e),e.copy_[t]=yl(i,e)):i},has(e,t){return t in En(e)},ownKeys(e){return Reflect.ownKeys(En(e))},set(e,t,r){const i=p3(En(e),t);if(i!=null&&i.set)return i.set.call(e.draft_,r),!0;if(!e.modified_){const o=ps(En(e),t),a=o==null?void 0:o[Zt];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(n7(r,o)&&(r!==void 0||xl(e.base_,t)))return!0;gs(e),Cl(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ps(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,gs(e),Cl(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=En(e),i=Reflect.getOwnPropertyDescriptor(r,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:r[t]}},defineProperty(){w1(11)},getPrototypeOf(e){return jr(e.base_)},setPrototypeOf(){w1(12)}},Ii={};oa(t2,(e,t)=>{Ii[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ii.deleteProperty=function(e,t){return Ii.set.call(this,e,t,void 0)};Ii.set=function(e,t,r){return t2.set.call(this,e[0],t,r,e[0])};function ps(e,t){const r=e[Zt];return(r?En(r):e)[t]}function l7(e,t,r){var o;const i=p3(t,r);return i?"value"in i?i.value:(o=i.get)==null?void 0:o.call(e.draft_):void 0}function p3(e,t){if(!(t in e))return;let r=jr(e);for(;r;){const i=Object.getOwnPropertyDescriptor(r,t);if(i)return i;r=jr(r)}}function Cl(e){e.modified_||(e.modified_=!0,e.parent_&&Cl(e.parent_))}function gs(e){e.copy_||(e.copy_=ml(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var c7=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,i)=>{if(typeof t=="function"&&typeof r!="function"){const a=r;r=t;const s=this;return function(c=a,...d){return s.produce(c,u=>r.call(this,u,...d))}}typeof r!="function"&&w1(6),i!==void 0&&typeof i!="function"&&w1(7);let o;if(Fn(t)){const a=_0(this),s=yl(t,void 0);let l=!0;try{o=r(s),l=!1}finally{l?wl(a):vl(a)}return b0(a,i),j0(o,a)}else if(!t||typeof t!="object"){if(o=r(t),o===void 0&&(o=t),o===d3&&(o=void 0),this.autoFreeze_&&e2(o,!0),i){const a=[],s=[];On("Patches").generateReplacementPatches_(t,o,a,s),i(a,s)}return o}else w1(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...l)=>this.produceWithPatches(s,c=>t(c,...l));let i,o;return[this.produce(t,r,(s,l)=>{i=s,o=l}),i,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Fn(e)||w1(8),Sr(e)&&(e=d7(e));const t=_0(this),r=yl(e,void 0);return r[Zt].isManual_=!0,vl(t),r}finishDraft(e,t){const r=e&&e[Zt];(!r||!r.isManual_)&&w1(9);const{scope_:i}=r;return b0(i,t),j0(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const o=t[r];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}r>-1&&(t=t.slice(r+1));const i=On("Patches").applyPatches_;return Sr(e)?i(e,t):this.produce(e,o=>i(o,t))}};function yl(e,t){const r=Ia(e)?On("MapSet").proxyMap_(e,t):Ta(e)?On("MapSet").proxySet_(e,t):s7(e,t);return(t?t.scope_:f3()).drafts_.push(r),r}function d7(e){return Sr(e)||w1(10,e),g3(e)}function g3(e){if(!Fn(e)||Ba(e))return e;const t=e[Zt];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ml(e,t.scope_.immer_.useStrictShallowCopy_)}else r=ml(e,!0);return oa(r,(i,o)=>{h3(r,i,g3(o))}),t&&(t.finalized_=!1),r}var Wt=new c7,u7=Wt.produce;Wt.produceWithPatches.bind(Wt);var x3=Wt.setAutoFreeze.bind(Wt);Wt.setUseStrictShallowCopy.bind(Wt);Wt.applyPatches.bind(Wt);Wt.createDraft.bind(Wt);Wt.finishDraft.bind(Wt);var la={exports:{}};la.exports;(function(e,t){var r=200,i="__lodash_hash_undefined__",o=1,a=2,s=9007199254740991,l="[object Arguments]",c="[object Array]",d="[object AsyncFunction]",u="[object Boolean]",f="[object Date]",h="[object Error]",x="[object Function]",p="[object GeneratorFunction]",m="[object Map]",w="[object Number]",E="[object Null]",_="[object Object]",k="[object Promise]",H="[object Proxy]",$="[object RegExp]",C="[object Set]",b="[object String]",T="[object Symbol]",M="[object Undefined]",j="[object WeakMap]",V="[object ArrayBuffer]",F="[object DataView]",z="[object Float32Array]",Z="[object Float64Array]",B="[object Int8Array]",O="[object Int16Array]",I="[object Int32Array]",P="[object Uint8Array]",L="[object Uint8ClampedArray]",W="[object Uint16Array]",Q="[object Uint32Array]",Y=/[\\^$.*+?()[\]{}|]/g,he=/^\[object .+?Constructor\]$/,pe=/^(?:0|[1-9]\d*)$/,N={};N[z]=N[Z]=N[B]=N[O]=N[I]=N[P]=N[L]=N[W]=N[Q]=!0,N[l]=N[c]=N[V]=N[u]=N[F]=N[f]=N[h]=N[x]=N[m]=N[w]=N[_]=N[$]=N[C]=N[b]=N[j]=!1;var ee=typeof at=="object"&&at&&at.Object===Object&&at,de=typeof self=="object"&&self&&self.Object===Object&&self,ne=ee||de||Function("return this")(),te=t&&!t.nodeType&&t,ye=te&&!0&&e&&!e.nodeType&&e,Re=ye&&ye.exports===te,$e=Re&&ee.process,v=function(){try{return $e&&$e.binding&&$e.binding("util")}catch{}}(),A=v&&v.isTypedArray;function S(y,R){for(var G=-1,oe=y==null?0:y.length,ze=0,be=[];++G-1}function R1(y,R){var G=this.__data__,oe=mo(G,y);return oe<0?(++this.size,G.push([y,R])):G[oe][1]=R,this}ge.prototype.clear=dt,ge.prototype.delete=lt,ge.prototype.get=Qt,ge.prototype.has=B1,ge.prototype.set=R1;function bt(y){var R=-1,G=y==null?0:y.length;for(this.clear();++Rpt))return!1;var Ke=be.get(y);if(Ke&&be.get(R))return Ke==R;var Ot=-1,g1=!0,_t=G&a?new xo:void 0;for(be.set(y,R),be.set(R,y);++Ot-1&&y%1==0&&y-1&&y%1==0&&y<=s}function J2(y){var R=typeof y;return y!=null&&(R=="object"||R=="function")}function Jr(y){return y!=null&&typeof y=="object"}var K2=A?fe(A):Jd;function d6(y){return l6(y)?Gd(y):Kd(y)}function u6(){return[]}function h6(){return!1}e.exports=c6})(la,la.exports);var h7=la.exports;const Ui=Ut(h7),f7=e=>(t,r,i)=>{const o=i.subscribe;return i.subscribe=(s,l,c)=>{let d=s;if(l){const u=(c==null?void 0:c.equalityFn)||Object.is;let f=s(i.getState());d=h=>{const x=s(h);if(!u(f,x)){const p=f;l(f=x,p)}},c!=null&&c.fireImmediately&&l(f,f)}return o(d)},e(t,r,i)},m3=f7,p7=e=>(t,r,i)=>(i.setState=(o,a,...s)=>{const l=typeof o=="function"?u7(o):o;return t(l,a,...s)},e(i.setState,r,i)),w3=p7;function pr(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[i,o]of e)if(!Object.is(o,t.get(i)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0}const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(const i of r)if(!Object.prototype.hasOwnProperty.call(t,i)||!Object.is(e[i],t[i]))return!1;return!0}x3(!1);let Fe;const wn="footer";Vr.panel(wn,function(){const e=()=>Ee().getTemplates(wn),t=()=>{const o=e(),a=Ee().getPreviewTemplate(wn).id;return o.find(s=>s.id===a)},r=()=>{const o=e(),a=Ee().getCurrentTemplate(wn).id;return(o.find(s=>s.id===a)??o[0]).id},i=()=>{Ee().refreshPartial(`${wn}_placements`)};Fe=Gi(m3(w3((o,a)=>({templates:e(),previewTemplate:t(),currentTemplateId:r(),chosenElement:null,chosenRow:null,addTemplate:s=>{o(l=>{l.templates.push(s)}),i()},reset:()=>{o(s=>{s.previewTemplate={...window.brandyCustomizerData.default_settings.empty_footer_template,id:s.previewTemplate.id,settings:{...window.brandyCustomizerData.default_settings.empty_footer_template.settings,name:s.previewTemplate.settings.name}},i()})},removeTemplate:s=>{const l=e().filter(c=>c.id!==s);o(c=>{c.templates=l,s===c.previewTemplate.id&&(c.previewTemplate=l[0])})},choosePreviewTemplate:s=>{const l=a().templates;a().previewTemplate.id!==s&&(o(d=>{d.previewTemplate=l.find(u=>u.id===s)??l[0]}),i())},setCurrentTemplateId:s=>{const l=a().templates;if(a().currentTemplateId===s)return;const c=l.find(d=>d.id===s)==null?l[0].id:s;o(d=>{d.currentTemplateId=c}),Ee().updateCurrentTemplateId("header",c)},cloneElementItem:s=>{o(l=>{const c=l.previewTemplate.elements[s];if(c==null)return;const d=c.cloned_from??s,u=d+new Date().getTime(),f=`Cloned ${c.title}`,h={...c,id:u,title:f,cloned_from:d},x={};Object.keys(l.previewTemplate.elements).forEach(p=>{x[p]=l.previewTemplate.elements[p],p===s&&(x[u]=h)}),l.previewTemplate.elements=JSON.parse(JSON.stringify(x))})},removeElementItem:s=>{o(l=>{delete l.previewTemplate.elements[s],l.previewTemplate.elements=JSON.parse(JSON.stringify(l.previewTemplate.elements))})},changeElementItemTitle:(s,l)=>{o(c=>{c.previewTemplate.elements[s]!=null&&(c.previewTemplate.elements[s].title=l)})},addElement:s=>{v3({...s,template:a().previewTemplate}).then(l=>{o(c=>{c.previewTemplate.placements[Ge(s.device)]=l}),i()})},setElements:({row:s,col:l,changedList:c,device:d})=>{const u=a().previewTemplate,f=JSON.parse(JSON.stringify(u.placements[Ge(d)]));s==="toggle"&&(f.toggle=c),s!=="toggle"&&l!=null&&(f[s][l]=c),o(h=>{h.previewTemplate.placements[Ge(d)]=f}),Ui(f,u.placements[Ge(d)])||i()},removeElement:s=>{var l;C3({...s,template:a().previewTemplate}).then(c=>{o(d=>{var u;d.previewTemplate.placements[Ge(s.device)]=c,s.removeId===((u=d.chosenElement)==null?void 0:u.id)&&(d.chosenElement=null)}),i()}),s.removeId===((l=a().chosenElement)==null?void 0:l.id)&&Mt()},selectElement:s=>{o(l=>{l.chosenElement=s.element}),o(l=>{l.chosenRow=null})},deselectSection:()=>{o(s=>{s.chosenElement=null}),o(s=>{s.chosenRow=null})},changeElementSettings:s=>{o(l=>{var c;return s((c=l.chosenElement)==null?void 0:c.settings)})},changeTemplateSettings:s=>{o(l=>{var c;return s((c=l.previewTemplate)==null?void 0:c.settings)})},changeRowSettings:s=>{o(l=>{l.previewTemplate&&l.chosenRow&&l.chosenRow in l.previewTemplate.row_configurations&&s(l.previewTemplate.row_configurations[l.chosenRow])})},selectRow:s=>{o(l=>{s in l.previewTemplate.row_configurations&&(l.chosenRow=s,l.chosenElement=null)})},deselectRow:()=>{o(s=>{s.chosenRow=null})}})))),Fe.subscribe(o=>o.chosenElement,(o,a)=>{a!=null&&Fe.setState(s=>{(o==null?void 0:o.id)!=null&&(s.previewTemplate.elements[o==null?void 0:o.id]=o)})},{equalityFn:pr}),Fe.subscribe(o=>o.previewTemplate,o=>{Fe.setState(a=>{const s=a.templates.findIndex(l=>l.id===o.id)||0;a.templates[s]=o})},{equalityFn:pr}),Fe.subscribe(o=>o.previewTemplate.id,(o,a)=>{o!==a&&Ee().updatePreviewTemplateId(wn,o??"default")}),Fe.subscribe(o=>o.templates,(o,a)=>{JSON.stringify(o)!==JSON.stringify(a)&&Ee().updateTemplates(wn,o)},{equalityFn:pr})});function v3({template:e,row:t,col:r=null,addId:i,lastPush:o=!0,device:a="desktop"}){return new Promise(s=>{const l=e.placements[Ge(a)],c=JSON.parse(JSON.stringify(l)),d=e.elements[i];d!=null&&(t==="toggle"&&c.toggle!=null&&(c.toggle=o?[...c.toggle,d.id]:[d.id,...c.toggle]),t!=="toggle"&&r!=null&&(c[t][r]=o?[...c[t][r],d.id]:[d.id,...c[t][r]]),s(c))})}function C3({template:e,row:t,col:r,removeId:i,device:o="desktop"}){return new Promise(a=>{const s=e.placements[Ge(o)],l=JSON.parse(JSON.stringify(s));t==="toggle"&&(l.toggle=l.toggle.filter(c=>c!==i)),t!=="toggle"&&r!=null&&(l[t][r]=l[t][r].filter(c=>c!==i)),i==="toggle_button"&&(l.toggle=[]),a(l)})}const g7=e=>e==="header",Ge=(e="desktop")=>e==="tablet"?"mobile":e,y3=(e={top:[],middle:[],bottom:[],toggle:[]})=>{const t=Object.keys(e).reduce((r,i)=>i==="toggle"?[...r,...e[i]]:(e[i].forEach(o=>{r=[...r,...o]}),r),[]);return[...new Set(t)]},_e=(e,t)=>Ai(e)?e[t]==null?e.desktop:e[t]:e,x7=()=>document.querySelector("#customize-preview iframe"),Ti=(e,t=0)=>{setTimeout(()=>{e()},t)},b3=()=>{window.jQuery("#customize-header-actions #customize-save-button-wrapper > input").prop("disabled",!0).val("Published").removeClass("has-next-sibling"),window.jQuery("#customize-header-actions #customize-save-button-wrapper > button").css("display","none")},_3=()=>{window.jQuery("#customize-header-actions #customize-save-button-wrapper > input").prop("disabled",!1).val("Publish").addClass("has-next-sibling"),window.jQuery("#customize-header-actions #customize-save-button-wrapper > button").css("display","inline-block")},Ra=e=>{const t=(window==null?void 0:window.brandyCustomizerData.content_variables)??{};return Object.keys(t).forEach(r=>{e=e.replace(`[${r}]`,t[r])}),e};var m7="Expected a function",j3="__lodash_hash_undefined__",S3=1/0,w7="[object Function]",v7="[object GeneratorFunction]",C7="[object Symbol]",y7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,b7=/^\w*$/,_7=/^\./,j7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,S7=/[\\^$.*+?()[\]{}|]/g,D7=/\\(\\)?/g,E7=/^\[object .+?Constructor\]$/,H7=typeof at=="object"&&at&&at.Object===Object&&at,k7=typeof self=="object"&&self&&self.Object===Object&&self,n2=H7||k7||Function("return this")();function M7(e,t){return e==null?void 0:e[t]}function L7(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var $7=Array.prototype,A7=Function.prototype,D3=Object.prototype,xs=n2["__core-js_shared__"],D0=function(){var e=/[^.]+$/.exec(xs&&xs.keys&&xs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),E3=A7.toString,r2=D3.hasOwnProperty,H3=D3.toString,V7=RegExp("^"+E3.call(r2).replace(S7,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E0=n2.Symbol,I7=$7.splice,T7=k3(n2,"Map"),Bi=k3(Object,"create"),H0=E0?E0.prototype:void 0,k0=H0?H0.toString:void 0;function Pn(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1}function G7(e,t){var r=this.__data__,i=Fa(r,e);return i<0?r.push([e,t]):r[i][1]=t,this}Br.prototype.clear=N7;Br.prototype.delete=z7;Br.prototype.get=Z7;Br.prototype.has=W7;Br.prototype.set=G7;function Gn(e){var t=-1,r=e?e.length:0;for(this.clear();++t{const a=window.brandyCustomizerData.settings_layouts[o??e];a!=null&&Object.values(a).forEach(s=>{s.sections.forEach(l=>{l.components.forEach(c=>{c.render_options!=null&&c.render_options.type==="data_attribute"&&c.render_options.data.forEach(d=>{if(Ie(t,d.value_path)===void 0)return;let u=Ie(t,d.value_path);const f=Ie(t,d.value_path.map(x=>x==="mobile"||x==="tablet"?"desktop":x));u==null&&f!=null&&(u=f),u=_e(u,r),$3(u)&&(u=Ra(u));const h=ie(d.select_from_body?d.selector:`${b1(e,i)} ${d.selector}`);if(d.name==="class"){ms(h).attr(d.name,d.name==="class"?`${d.default_class} ${u}`:u);return}if(d.type==="switcher"){ms(h).attr(d.name,u?d.enabled_value:d.disabled_value);return}ms(h).attr(d.name,u)})})})})},yu=window.jQuery,bu=({sectionId:e,settings:t,device:r,builder:i="header",clonedFromId:o})=>{const a=window.brandyCustomizerData.settings_layouts[o??e];a!=null&&Object.values(a).forEach(s=>{s.sections.forEach(l=>{l.components.forEach(c=>{c.render_options!=null&&c.render_options.type==="content"&&c.render_options.data.forEach(d=>{if(Ie(t,d.value_path)===void 0)return;const u=ie(`${b1(e,i)} ${d.selector}`);let f=Ie(t,d.value_path);const h=Ie(t,d.value_path.map(x=>x==="mobile"||x==="tablet"?"desktop":x));f==null&&h!=null&&(f=h),$3(f)&&(f=Ra(f)),yu(u).html(Ai(f)?_e(f,r):f)})})})})},_u=(e,t="desktop",r)=>{const i=[];if(e.font_style){const o=_e(e.font_style,t);i.push({name:`${r}-font_weight`,value:o.weight.toString()},{name:`${r}-font_style`,value:o.italic?"italic":"inherit"})}if(e.font_size){const o=_e(e.font_size,t);i.push({name:`${r}-font_size`,value:o.value+o.unit})}if(e.line_height){const o=_e(e.line_height,t);i.push({name:`${r}-line_height`,value:o.value+o.unit})}if(e.letter_spacing){const o=_e(e.letter_spacing,t);i.push({name:`${r}-letter_spacing`,value:o.value+o.unit})}return e.transform&&i.push({name:`${r}-transform`,value:_e(e.transform,t)}),e.decoration&&i.push({name:`${r}-decoration`,value:_e(e.decoration,t)}),i},ft=e=>`${e.value}${e.unit}`,ju=(e,t,r)=>{const i=[];return e.type==="solid"&&i.push({name:`${r}-main`,value:e.solid_color}),e.type==="gradient"&&i.push({name:`${r}-main`,value:e.gradient_color},{name:`${r}-position`,value:0},{name:`${r}-overlay-color`,value:"transparent"}),e.type==="image"&&i.push({name:`${r}-main`,value:`url(${e.image.url})`},{name:`${r}-overlay-color`,value:e.image.overlay_color},{name:`${r}-size`,value:e.image.size},{name:`${r}-position`,value:e.image.position=="custom"?ft(e.image.left)+" "+ft(e.image.top):e.image.position}),i},Yi=e=>`${e.top}${e.unit} ${e.right}${e.unit} ${e.bottom}${e.unit} ${e.left}${e.unit}`,Su=(e,t)=>{const r=["top","right","bottom","left"],i=[];return r.forEach(o=>{i.push({name:`${e}-${o}`,value:`${t[o]}${t.unit}`})}),i},Du=e=>`${e.x}px ${e.y}px ${e.blur}px ${e.spread}px ${e.color}`,Eu=window.jQuery,y1=({sectionId:e,settings:t,device:r,builder:i="header",clonedFromId:o})=>{const a=window.brandyCustomizerData.settings_layouts[o??e];if(a==null)return;let s=[];if(Object.values(a).forEach(l=>{l.sections.forEach(c=>{c.components.forEach(d=>{d.render_options!=null&&d.render_options.type==="variable"&&(s=[...s,...Hu(d,t,r)])})})}),s.length>0){const l=ie(b1(e,i));s.forEach(c=>{Eu(l).css(c.name,c.value)})}};function Hu(e,t,r){let i=[];return e.render_options.data.forEach(({type:o,value_path:a,name:s,enabled_value:l,disabled_value:c})=>{if(Ie(t,a)==null)return;let d=null;switch(o){case"color":d=ku;break;case"dimension":d=Mu;break;case"typography":d=Lu;break;case"spacing":d=$u;break;case"background":d=Au;break;case"switcher":d=Vu;break;case"box_shadow":d=Iu;break;default:d=Tu}d!==null&&(i=[...i,...d(t,{variableName:s,valuePath:a,enabledValue:l,disabledValue:c},r)])}),i}function ku(e,t,r){const i=[],o=Ie(e,t.valuePath);return o==null?[]:(Object.entries(o).forEach(([a,s])=>{i.push({name:`${t.variableName}-${a}`,value:_e(s,r)})}),i)}function Mu(e,t,r){const i=[],o=Ie(e,t.valuePath);return o==null?[]:(i.push({name:`${t.variableName}`,value:ft(_e(o,r))}),i)}function Lu(e,t,r){const i=Ie(e,t.valuePath);return i==null?[]:_u(i,r,t.variableName)}function $u(e,t,r){const i=Ie(e,t.valuePath);if(i==null)return[];const o=[];return o.push({name:`${t.variableName}`,value:Yi(_e(i,r))}),o.push(...Su(t.variableName,_e(i,r))),o}function Au(e,t,r){const i=Ie(e,["background"]);return i==null?[]:ju(i,r,t.variableName)}function Vu(e,t,r){const i=Ie(e,t.valuePath);if(i==null)return[];const o=_e(i,r),a=[];return a.push({name:`${t.variableName}`,value:o?t.enabledValue:t.disabledValue}),a}function Iu(e,t,r){const i=Ie(e,t.valuePath);if(i==null)return[];const o=_e(i,r),a=[];if(!o.enabled)return a.push({name:`${t.variableName}`,value:0}),a;let s=o.custom_value;return o.type==="default"&&(s={x:0,y:4,blur:16,spread:0,color:"rgba(0, 0, 0, 0.06)"}),o.type==="small"&&(s={x:0,y:4,blur:16,spread:0,color:"rgba(0, 0, 0, 0.05)"}),o.type==="medium"&&(s={x:0,y:6,blur:20,spread:0,color:"rgba(0, 0, 0, 0.10)"}),o.type==="large"&&(s={x:0,y:10,blur:26,spread:0,color:"rgba(0, 0, 0, 0.16)"}),a.push({name:`${t.variableName}`,value:Du(s)}),a}function Tu(e,t,r){let i=Ie(e,t.valuePath);if(i==null)return[];i=_e(i,r);const o=[];return o.push({name:`${t.variableName}`,value:i.toString()}),o}const Xi=g.button.withConfig({displayName:"Buttonstyled__Button",componentId:"sc-43c5mk-0"})(({rounded:e=!1,primary:t=!1,secondary:r=!1,disabled:i})=>[{width:"100%",borderRadius:"5px",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",textAlign:"center",fontSize:"1rem",lineHeight:"1.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms"},{"&:hover":{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}},e&&{borderRadius:"0.125rem"},t&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","&:hover":{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},r&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(209 213 219 / var(--tw-bg-opacity))"},i&&{cursor:"not-allowed","--tw-bg-opacity":"1",backgroundColor:"rgb(209 213 219 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","&:hover":{"--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}}]),a2=g.div.withConfig({displayName:"Layoutsstyled__StyledSettingsLayout",componentId:"sc-o6y3t-0"})({height:"fit-content"}),Be=g.label.withConfig({displayName:"Layoutsstyled__StyledSettingLabel",componentId:"sc-o6y3t-1"})({display:"inline-block",fontSize:"13px",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}),Ji=g.div.withConfig({displayName:"Layoutsstyled__StyledSettingsSection",componentId:"sc-o6y3t-2"})({position:"relative",display:"flex",flexDirection:"column",gap:"16px",padding:"1.25rem","&::after":{content:"var(--tw-content)",position:"absolute",bottom:"0px",left:"50%",height:"1px",width:"calc(100% - 2.5rem)","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-bg-opacity":"1",backgroundColor:"rgb(227 232 238 / var(--tw-bg-opacity))"},"&:last-child::after":{content:"var(--tw-content)",height:"0px"}}),V3=g.div.withConfig({displayName:"Layoutsstyled__StyledSectionLayout",componentId:"sc-o6y3t-3"})({height:"fit-content"});var I3={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",s=0;s *{","}svg *[fill]{","}svg *[stroke]{","}& + *{","}&.selected + *{","}&.selected{","}"],{borderColor:"rgba(209, 234, 255, 0.70)",backgroundColor:"rgba(209, 234, 255, 0.70) !important","--tw-text-opacity":"1 !important",color:"rgb(34 113 177 / var(--tw-text-opacity)) !important"},{fill:"#2271B1 !important"},{fill:"#2271B1 !important"},{stroke:"#2271B1 !important"},{borderLeftColor:"transparent"},{borderLeftColor:"rgba(209, 234, 255, 0.70)"},{borderRightWidth:"1px"})}};function mt({options:e=[],selected:t="",onChange:r=()=>!1,className:i="",multiple:o=!1,itemCss:a=null}){const s=Fu(()=>t??(o?[e[0].value]:e[0].value),[o,t,e]),l=c=>{let d;o&&Array.isArray(s)?s.includes(c)?d=s.filter(f=>f!==c):d=[...s,c]:d=c,(o&&Array.isArray(s)?d.length!=s.length:d!==s)&&r(d)};return n.jsx(Nu,{className:`brandy-radio-group ${i} items-center justify-center`,children:e.map(c=>{const d=o?t==null?void 0:t.includes(c.value):t===c.value,u={key:c.value};return n.jsxs(Ru,{...u,children:[n.jsx(zu,{className:Se(["brandy-radio-item min-h-[32px] p-2 relative inline-flex bg-white px-3 items-center flex-auto justify-center text-brandy-text-secondary border-r-0 transition-all duration-100 ease-in cursor-pointer",d&&"selected",e.length===3&&"w-1/3",e.length===2&&"w-1/2"]),onClick:()=>{l(c.value)},$_css2:a??[d?Pu.selected[o?"multiple":"single"]:"",d&&o&&ce([""," &.selected ~ .selected{","}"],{"--tw-border-opacity":"1 !important",borderLeftColor:"rgb(34 113 177 / var(--tw-border-opacity)) !important","&:first-child":{"--tw-border-opacity":"1 !important",borderLeftColor:"rgb(34 113 177 / var(--tw-border-opacity)) !important"}},{"--tw-border-opacity":"1 !important",borderLeftColor:"rgb(227 232 238 / var(--tw-border-opacity)) !important"})],children:typeof c.label=="string"?n.jsx("span",{dangerouslySetInnerHTML:{__html:c.label}}):c.label},c.value),c.title&&n.jsx("span",{className:`-mt-1 font-[300] ${d&&"font-[500]"}`,children:c.title},`${c.value}-descripiton`)]})})})}var Nu=g("div")`${Ou}`,zu=g("span").withConfig({displayName:"RadioGroup___StyledSpan",componentId:"sc-60p899-0"})(["",""],e=>e.$_css2);const Zu=window.React.useMemo;function $1(e){const{current:t}=Ce(),r=Zu(()=>_e(e.value,t),[t,e.value]);return n.jsxs("div",{className:e.className,children:[n.jsx(st,{title:e.title}),n.jsx(mt,{className:"brandy-icon-group",selected:r,options:e.options??[],onChange:e.onChange,itemCss:e.itemCss??[ce(['&.selected{border:1px solid #000;svg{*[fill]:not([fill="white"]){fill:#000 !important;}*[stroke]:not([stroke="white"]){stroke:#000 !important;}}}&:hover{svg{*[fill]:not([fill="white"]){fill:#000 !important;}*[stroke]:not([stroke="white"]){stroke:#000 !important;}}}svg *{transition:all ease-in-out 0.1s;}'])]})]})}var s2={},T3={},Pa={exports:{}},si={exports:{}};(function(){var e,t,r,i,o,a;typeof performance<"u"&&performance!==null&&performance.now?si.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(si.exports=function(){return(e()-o)/1e6},t=process.hrtime,e=function(){var s;return s=t(),s[0]*1e9+s[1]},i=e(),a=process.uptime()*1e9,o=i-a):Date.now?(si.exports=function(){return Date.now()-r},r=Date.now()):(si.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(at);var Wu=si.exports,Gu=Wu,z1=typeof window>"u"?at:window,jo=["moz","webkit"],gr="AnimationFrame",Dr=z1["request"+gr],Ri=z1["cancel"+gr]||z1["cancelRequest"+gr];for(var Kr=0;!Dr&&Kr=0;o--){var a=L0[o]+i;if(a in r)return a}return!1},Ju=eh,Ku=/\s/,qu=/(_|-|\.|:)/,Qu=/([a-z][A-Z]|[A-Z][a-z])/;function eh(e){return Ku.test(e)?e.toLowerCase():qu.test(e)?(nh(e)||e).toLowerCase():Qu.test(e)?ih(e).toLowerCase():e.toLowerCase()}var th=/[\W_]+(.|$)/g;function nh(e){return e.replace(th,function(t,r){return r?" "+r:""})}var rh=/(.)([A-Z]+)/g;function ih(e){return e.replace(rh,function(t,r,i){return r+" "+i.toLowerCase().split("").join(" ")})}var oh=Ju,ah=sh;function sh(e){return oh(e).replace(/[\W_]+(.|$)/g,function(t,r){return r?" "+r:""}).trim()}var lh=ah,ch=dh;function dh(e){return lh(e).replace(/\s(\w)/g,function(t,r){return r.toUpperCase()})}var uh={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},hh=function(e,t){return typeof t=="number"&&!uh[e]?t+"px":t},fh=Xu,ph=ch,Zo={float:"cssFloat"},gh=hh;function ca(e,t,r){var i=Zo[t];if(typeof i>"u"&&(i=mh(t)),i){if(r===void 0)return e.style[i];e.style[i]=gh(i,r)}}function xh(e,t){for(var r in t)t.hasOwnProperty(r)&&ca(e,r,t[r])}function mh(e){var t=ph(e),r=fh(t);return Zo[t]=Zo[e]=Zo[r]=r,r}function B3(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:xh(arguments[0],arguments[1]):ca(arguments[0],arguments[1],arguments[2])}Na.exports=B3;Na.exports.set=B3;Na.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(r,i){return r[i]=ca(e,i||""),r},{}):ca(e,t||"")};var R3=Na.exports,F3={exports:{}},wh="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",vh=wh,Ch=vh;function O3(){}function P3(){}P3.resetWarningCache=O3;var yh=function(){function e(i,o,a,s,l,c){if(c!==Ch){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:P3,resetWarningCache:O3};return r.PropTypes=r,r};F3.exports=yh();var bh=F3.exports,N3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return typeof r=="string"}})(N3);var z3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=R3,r=i(t);function i(s){return s&&s.__esModule?s:{default:s}}var o=!1;function a(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(s&&o!==!1)return o;if(typeof document<"u"){var l=document.createElement("div");(0,r.default)(l,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(l),o=l.offsetWidth-l.clientWidth,document.body.removeChild(l)}else o=0;return o||0}})(z3);var Z3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(Z3);var W3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var i=r.clientWidth,o=getComputedStyle(r),a=o.paddingLeft,s=o.paddingRight;return i-parseFloat(a)-parseFloat(s)}})(W3);var G3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var i=r.clientHeight,o=getComputedStyle(r),a=o.paddingTop,s=o.paddingBottom;return i-parseFloat(a)-parseFloat(s)}})(G3);var Yt={};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"};Yt.containerStyleAutoHeight={height:"auto"};Yt.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"};Yt.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0};Yt.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0};Yt.trackHorizontalStyleDefault={position:"absolute",height:6};Yt.trackVerticalStyleDefault={position:"absolute",width:6};Yt.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"};Yt.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"};Yt.disableSelectStyle={userSelect:"none"};Yt.disableSelectStyleReset={userSelect:""};var Un={};Object.defineProperty(Un,"__esModule",{value:!0});var sn=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r}function Sh(e){return Ki.default.createElement("div",e)}function Dh(e){var t=e.style,r=za(e,["style"]),i=sn({},t,{right:2,bottom:2,left:2,borderRadius:3});return Ki.default.createElement("div",sn({style:i},r))}function Eh(e){var t=e.style,r=za(e,["style"]),i=sn({},t,{right:2,bottom:2,top:2,borderRadius:3});return Ki.default.createElement("div",sn({style:i},r))}function Hh(e){var t=e.style,r=za(e,["style"]),i=sn({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return Ki.default.createElement("div",sn({style:i},r))}function kh(e){var t=e.style,r=za(e,["style"]),i=sn({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return Ki.default.createElement("div",sn({style:i},r))}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(F){for(var z=1;z=0||Object.prototype.hasOwnProperty.call(F,B)&&(Z[B]=F[B]);return Z}function T(F,z){if(!(F instanceof z))throw new TypeError("Cannot call a class as a function")}function M(F,z){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:F}function j(F,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);F.prototype=Object.create(z&&z.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(F,z):F.__proto__=z)}var V=function(F){j(z,F);function z(Z){var B;T(this,z);for(var O=arguments.length,I=Array(O>1?O-1:0),P=1;P0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=B)}},{key:"scrollTop",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=B)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var B=this.view,O=this.trackHorizontal,I=this.trackVertical,P=this.thumbHorizontal,L=this.thumbVertical;B.addEventListener("scroll",this.handleScroll),(0,x.default)()&&(O.addEventListener("mouseenter",this.handleTrackMouseEnter),O.addEventListener("mouseleave",this.handleTrackMouseLeave),O.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),I.addEventListener("mouseenter",this.handleTrackMouseEnter),I.addEventListener("mouseleave",this.handleTrackMouseLeave),I.addEventListener("mousedown",this.handleVerticalTrackMouseDown),P.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),L.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var B=this.view,O=this.trackHorizontal,I=this.trackVertical,P=this.thumbHorizontal,L=this.thumbVertical;B.removeEventListener("scroll",this.handleScroll),(0,x.default)()&&(O.removeEventListener("mouseenter",this.handleTrackMouseEnter),O.removeEventListener("mouseleave",this.handleTrackMouseLeave),O.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),I.removeEventListener("mouseenter",this.handleTrackMouseEnter),I.removeEventListener("mouseleave",this.handleTrackMouseLeave),I.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),P.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),L.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(B){var O=this,I=this.props,P=I.onScroll,L=I.onScrollFrame;P&&P(B),this.update(function(W){var Q=W.scrollLeft,Y=W.scrollTop;O.viewScrollLeft=Q,O.viewScrollTop=Y,L&&L(W)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var B=this.props.onScrollStart;B&&B(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var B=this.props.autoHide;B&&this.showTracks()}},{key:"handleScrollStop",value:function(){var B=this.props.onScrollStop;B&&B(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var B=this.props.autoHide;B&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,x.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(B){B.preventDefault();var O=B.target,I=B.clientX,P=O.getBoundingClientRect(),L=P.left,W=this.getThumbHorizontalWidth(),Q=Math.abs(L-I)-W/2;this.view.scrollLeft=this.getScrollLeftForOffset(Q)}},{key:"handleVerticalTrackMouseDown",value:function(B){B.preventDefault();var O=B.target,I=B.clientY,P=O.getBoundingClientRect(),L=P.top,W=this.getThumbVerticalHeight(),Q=Math.abs(L-I)-W/2;this.view.scrollTop=this.getScrollTopForOffset(Q)}},{key:"handleHorizontalThumbMouseDown",value:function(B){B.preventDefault(),this.handleDragStart(B);var O=B.target,I=B.clientX,P=O.offsetWidth,L=O.getBoundingClientRect(),W=L.left;this.prevPageX=P-(I-W)}},{key:"handleVerticalThumbMouseDown",value:function(B){B.preventDefault(),this.handleDragStart(B);var O=B.target,I=B.clientY,P=O.offsetHeight,L=O.getBoundingClientRect(),W=L.top;this.prevPageY=P-(I-W)}},{key:"setupDragging",value:function(){(0,s.default)(document.body,H.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=m.default}},{key:"teardownDragging",value:function(){(0,s.default)(document.body,H.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(B){this.dragging=!0,B.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(B){if(this.prevPageX){var O=B.clientX,I=this.trackHorizontal.getBoundingClientRect(),P=I.left,L=this.getThumbHorizontalWidth(),W=L-this.prevPageX,Q=-P+O-W;this.view.scrollLeft=this.getScrollLeftForOffset(Q)}if(this.prevPageY){var Y=B.clientY,he=this.trackVertical.getBoundingClientRect(),pe=he.top,N=this.getThumbVerticalHeight(),ee=N-this.prevPageY,de=-pe+Y-ee;this.view.scrollTop=this.getScrollTopForOffset(de)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var B=this.props.autoHide;B&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var B=this.props.autoHide;B&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var B=this.props.autoHide;B&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,s.default)(this.trackHorizontal,{opacity:1}),(0,s.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var B=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var O=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,s.default)(B.trackHorizontal,{opacity:0}),(0,s.default)(B.trackVertical,{opacity:0})},O)}}},{key:"detectScrolling",value:function(){var B=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){B.lastViewScrollLeft===B.viewScrollLeft&&B.lastViewScrollTop===B.viewScrollTop&&(clearInterval(B.detectScrollingInterval),B.scrolling=!1,B.handleScrollStop()),B.lastViewScrollLeft=B.viewScrollLeft,B.lastViewScrollTop=B.viewScrollTop},100))}},{key:"raf",value:function(B){var O=this;this.requestFrame&&o.default.cancel(this.requestFrame),this.requestFrame=(0,o.default)(function(){O.requestFrame=void 0,B()})}},{key:"update",value:function(B){var O=this;this.raf(function(){return O._update(B)})}},{key:"_update",value:function(B){var O=this.props,I=O.onUpdate,P=O.hideTracksWhenNotNeeded,L=this.getValues();if((0,x.default)()){var W=L.scrollLeft,Q=L.clientWidth,Y=L.scrollWidth,he=(0,E.default)(this.trackHorizontal),pe=this.getThumbHorizontalWidth(),N=W/(Y-Q)*(he-pe),ee={width:pe,transform:"translateX("+N+"px)"},de=L.scrollTop,ne=L.clientHeight,te=L.scrollHeight,ye=(0,k.default)(this.trackVertical),Re=this.getThumbVerticalHeight(),$e=de/(te-ne)*(ye-Re),v={height:Re,transform:"translateY("+$e+"px)"};if(P){var A={visibility:Y>Q?"visible":"hidden"},S={visibility:te>ne?"visible":"hidden"};(0,s.default)(this.trackHorizontal,A),(0,s.default)(this.trackVertical,S)}(0,s.default)(this.thumbHorizontal,ee),(0,s.default)(this.thumbVertical,v)}I&&I(L),typeof B=="function"&&B(L)}},{key:"render",value:function(){var B=this,O=(0,x.default)(),I=this.props;I.onScroll,I.onScrollFrame,I.onScrollStart,I.onScrollStop,I.onUpdate;var P=I.renderView,L=I.renderTrackHorizontal,W=I.renderTrackVertical,Q=I.renderThumbHorizontal,Y=I.renderThumbVertical,he=I.tagName;I.hideTracksWhenNotNeeded;var pe=I.autoHide;I.autoHideTimeout;var N=I.autoHideDuration;I.thumbSize,I.thumbMinSize;var ee=I.universal,de=I.autoHeight,ne=I.autoHeightMin,te=I.autoHeightMax,ye=I.style,Re=I.children,$e=b(I,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),v=this.state.didMountUniversal,A=t({},H.containerStyleDefault,de&&t({},H.containerStyleAutoHeight,{minHeight:ne,maxHeight:te}),ye),S=t({},H.viewStyleDefault,{marginRight:O?-O:0,marginBottom:O?-O:0},de&&t({},H.viewStyleAutoHeight,{minHeight:(0,f.default)(ne)?"calc("+ne+" + "+O+"px)":ne+O,maxHeight:(0,f.default)(te)?"calc("+te+" + "+O+"px)":te+O}),de&&ee&&!v&&{minHeight:ne,maxHeight:te},ee&&!v&&H.viewStyleUniversalInitial),U={transition:"opacity "+N+"ms",opacity:0},X=t({},H.trackHorizontalStyleDefault,pe&&U,(!O||ee&&!v)&&{display:"none"}),q=t({},H.trackVerticalStyleDefault,pe&&U,(!O||ee&&!v)&&{display:"none"});return(0,l.createElement)(he,t({},$e,{style:A,ref:function(le){B.container=le}}),[(0,l.cloneElement)(P({style:S}),{key:"view",ref:function(le){B.view=le}},Re),(0,l.cloneElement)(L({style:X}),{key:"trackHorizontal",ref:function(le){B.trackHorizontal=le}},(0,l.cloneElement)(Q({style:H.thumbHorizontalStyleDefault}),{ref:function(le){B.thumbHorizontal=le}})),(0,l.cloneElement)(W({style:q}),{key:"trackVertical",ref:function(le){B.trackVertical=le}},(0,l.cloneElement)(Y({style:H.thumbVerticalStyleDefault}),{ref:function(le){B.thumbVertical=le}}))])}}]),z}(l.Component);e.default=V,V.propTypes={onScroll:d.default.func,onScrollFrame:d.default.func,onScrollStart:d.default.func,onScrollStop:d.default.func,onUpdate:d.default.func,renderView:d.default.func,renderTrackHorizontal:d.default.func,renderTrackVertical:d.default.func,renderThumbHorizontal:d.default.func,renderThumbVertical:d.default.func,tagName:d.default.string,thumbSize:d.default.number,thumbMinSize:d.default.number,hideTracksWhenNotNeeded:d.default.bool,autoHide:d.default.bool,autoHideTimeout:d.default.number,autoHideDuration:d.default.number,autoHeight:d.default.bool,autoHeightMin:d.default.oneOfType([d.default.number,d.default.string]),autoHeightMax:d.default.oneOfType([d.default.number,d.default.string]),universal:d.default.bool,style:d.default.object,children:d.default.node},V.defaultProps={renderView:$.renderViewDefault,renderTrackHorizontal:$.renderTrackHorizontalDefault,renderTrackVertical:$.renderTrackVerticalDefault,renderThumbHorizontal:$.renderThumbHorizontalDefault,renderThumbVertical:$.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})(T3);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=T3,r=i(t);function i(o){return o&&o.__esModule?o:{default:o}}e.default=r.default,e.Scrollbars=r.default})(s2);const G1=Ut(s2),$0=window.React;var A0=function(t){return t.reduce(function(r,i){var o=i[0],a=i[1];return r[o]=a,r},{})},V0=typeof window<"u"&&window.document&&window.document.createElement?$0.useLayoutEffect:$0.useEffect,Tt="top",l1="bottom",c1="right",Bt="left",l2="auto",qi=[Tt,l1,c1,Bt],Er="start",Fi="end",Mh="clippingParents",U3="viewport",qr="popper",Lh="reference",I0=qi.reduce(function(e,t){return e.concat([t+"-"+Er,t+"-"+Fi])},[]),Y3=[].concat(qi,[l2]).reduce(function(e,t){return e.concat([t,t+"-"+Er,t+"-"+Fi])},[]),$h="beforeRead",Ah="read",Vh="afterRead",Ih="beforeMain",Th="main",Bh="afterMain",Rh="beforeWrite",Fh="write",Oh="afterWrite",Ph=[$h,Ah,Vh,Ih,Th,Bh,Rh,Fh,Oh];function M1(e){return e?(e.nodeName||"").toLowerCase():null}function Gt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Nn(e){var t=Gt(e).Element;return e instanceof t||e instanceof Element}function a1(e){var t=Gt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function c2(e){if(typeof ShadowRoot>"u")return!1;var t=Gt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Nh(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var i=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!a1(a)||!M1(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){var l=o[s];l===!1?a.removeAttribute(s):a.setAttribute(s,l===!0?"":l)}))})}function zh(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(i){var o=t.elements[i],a=t.attributes[i]||{},s=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:r[i]),l=s.reduce(function(c,d){return c[d]="",c},{});!a1(o)||!M1(o)||(Object.assign(o.style,l),Object.keys(a).forEach(function(c){o.removeAttribute(c)}))})}}const Zh={name:"applyStyles",enabled:!0,phase:"write",fn:Nh,effect:zh,requires:["computeStyles"]};function H1(e){return e.split("-")[0]}var An=Math.max,da=Math.min,Hr=Math.round;function bl(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function X3(){return!/^((?!chrome|android).)*safari/i.test(bl())}function kr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var i=e.getBoundingClientRect(),o=1,a=1;t&&a1(e)&&(o=e.offsetWidth>0&&Hr(i.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Hr(i.height)/e.offsetHeight||1);var s=Nn(e)?Gt(e):window,l=s.visualViewport,c=!X3()&&r,d=(i.left+(c&&l?l.offsetLeft:0))/o,u=(i.top+(c&&l?l.offsetTop:0))/a,f=i.width/o,h=i.height/a;return{width:f,height:h,top:u,right:d+f,bottom:u+h,left:d,x:d,y:u}}function d2(e){var t=kr(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function J3(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&c2(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function W1(e){return Gt(e).getComputedStyle(e)}function Wh(e){return["table","td","th"].indexOf(M1(e))>=0}function dn(e){return((Nn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Za(e){return M1(e)==="html"?e:e.assignedSlot||e.parentNode||(c2(e)?e.host:null)||dn(e)}function T0(e){return!a1(e)||W1(e).position==="fixed"?null:e.offsetParent}function Gh(e){var t=/firefox/i.test(bl()),r=/Trident/i.test(bl());if(r&&a1(e)){var i=W1(e);if(i.position==="fixed")return null}var o=Za(e);for(c2(o)&&(o=o.host);a1(o)&&["html","body"].indexOf(M1(o))<0;){var a=W1(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Qi(e){for(var t=Gt(e),r=T0(e);r&&Wh(r)&&W1(r).position==="static";)r=T0(r);return r&&(M1(r)==="html"||M1(r)==="body"&&W1(r).position==="static")?t:r||Gh(e)||t}function u2(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gi(e,t,r){return An(e,da(t,r))}function Uh(e,t,r){var i=gi(e,t,r);return i>r?r:i}function K3(){return{top:0,right:0,bottom:0,left:0}}function q3(e){return Object.assign({},K3(),e)}function Q3(e,t){return t.reduce(function(r,i){return r[i]=e,r},{})}var Yh=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,q3(typeof t!="number"?t:Q3(t,qi))};function Xh(e){var t,r=e.state,i=e.name,o=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,l=H1(r.placement),c=u2(l),d=[Bt,c1].indexOf(l)>=0,u=d?"height":"width";if(!(!a||!s)){var f=Yh(o.padding,r),h=d2(a),x=c==="y"?Tt:Bt,p=c==="y"?l1:c1,m=r.rects.reference[u]+r.rects.reference[c]-s[c]-r.rects.popper[u],w=s[c]-r.rects.reference[c],E=Qi(a),_=E?c==="y"?E.clientHeight||0:E.clientWidth||0:0,k=m/2-w/2,H=f[x],$=_-h[u]-f[p],C=_/2-h[u]/2+k,b=gi(H,C,$),T=c;r.modifiersData[i]=(t={},t[T]=b,t.centerOffset=b-C,t)}}function Jh(e){var t=e.state,r=e.options,i=r.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||J3(t.elements.popper,o)&&(t.elements.arrow=o))}const Kh={name:"arrow",enabled:!0,phase:"main",fn:Xh,effect:Jh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mr(e){return e.split("-")[1]}var qh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qh(e,t){var r=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:Hr(r*o)/o||0,y:Hr(i*o)/o||0}}function B0(e){var t,r=e.popper,i=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,f=e.isFixed,h=s.x,x=h===void 0?0:h,p=s.y,m=p===void 0?0:p,w=typeof u=="function"?u({x,y:m}):{x,y:m};x=w.x,m=w.y;var E=s.hasOwnProperty("x"),_=s.hasOwnProperty("y"),k=Bt,H=Tt,$=window;if(d){var C=Qi(r),b="clientHeight",T="clientWidth";if(C===Gt(r)&&(C=dn(r),W1(C).position!=="static"&&l==="absolute"&&(b="scrollHeight",T="scrollWidth")),C=C,o===Tt||(o===Bt||o===c1)&&a===Fi){H=l1;var M=f&&C===$&&$.visualViewport?$.visualViewport.height:C[b];m-=M-i.height,m*=c?1:-1}if(o===Bt||(o===Tt||o===l1)&&a===Fi){k=c1;var j=f&&C===$&&$.visualViewport?$.visualViewport.width:C[T];x-=j-i.width,x*=c?1:-1}}var V=Object.assign({position:l},d&&qh),F=u===!0?Qh({x,y:m},Gt(r)):{x,y:m};if(x=F.x,m=F.y,c){var z;return Object.assign({},V,(z={},z[H]=_?"0":"",z[k]=E?"0":"",z.transform=($.devicePixelRatio||1)<=1?"translate("+x+"px, "+m+"px)":"translate3d("+x+"px, "+m+"px, 0)",z))}return Object.assign({},V,(t={},t[H]=_?m+"px":"",t[k]=E?x+"px":"",t.transform="",t))}function ef(e){var t=e.state,r=e.options,i=r.gpuAcceleration,o=i===void 0?!0:i,a=r.adaptive,s=a===void 0?!0:a,l=r.roundOffsets,c=l===void 0?!0:l,d={placement:H1(t.placement),variation:Mr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,B0(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,B0(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const tf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ef,data:{}};var So={passive:!0};function nf(e){var t=e.state,r=e.instance,i=e.options,o=i.scroll,a=o===void 0?!0:o,s=i.resize,l=s===void 0?!0:s,c=Gt(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(u){u.addEventListener("scroll",r.update,So)}),l&&c.addEventListener("resize",r.update,So),function(){a&&d.forEach(function(u){u.removeEventListener("scroll",r.update,So)}),l&&c.removeEventListener("resize",r.update,So)}}const rf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:nf,data:{}};var of={left:"right",right:"left",bottom:"top",top:"bottom"};function Wo(e){return e.replace(/left|right|bottom|top/g,function(t){return of[t]})}var af={start:"end",end:"start"};function R0(e){return e.replace(/start|end/g,function(t){return af[t]})}function h2(e){var t=Gt(e),r=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:r,scrollTop:i}}function f2(e){return kr(dn(e)).left+h2(e).scrollLeft}function sf(e,t){var r=Gt(e),i=dn(e),o=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,c=0;if(o){a=o.width,s=o.height;var d=X3();(d||!d&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:l+f2(e),y:c}}function lf(e){var t,r=dn(e),i=h2(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=An(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=An(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-i.scrollLeft+f2(e),c=-i.scrollTop;return W1(o||r).direction==="rtl"&&(l+=An(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:l,y:c}}function p2(e){var t=W1(e),r=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+i)}function e4(e){return["html","body","#document"].indexOf(M1(e))>=0?e.ownerDocument.body:a1(e)&&p2(e)?e:e4(Za(e))}function xi(e,t){var r;t===void 0&&(t=[]);var i=e4(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=Gt(i),s=o?[a].concat(a.visualViewport||[],p2(i)?i:[]):i,l=t.concat(s);return o?l:l.concat(xi(Za(s)))}function _l(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function cf(e,t){var r=kr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function F0(e,t,r){return t===U3?_l(sf(e,r)):Nn(t)?cf(t,r):_l(lf(dn(e)))}function df(e){var t=xi(Za(e)),r=["absolute","fixed"].indexOf(W1(e).position)>=0,i=r&&a1(e)?Qi(e):e;return Nn(i)?t.filter(function(o){return Nn(o)&&J3(o,i)&&M1(o)!=="body"}):[]}function uf(e,t,r,i){var o=t==="clippingParents"?df(e):[].concat(t),a=[].concat(o,[r]),s=a[0],l=a.reduce(function(c,d){var u=F0(e,d,i);return c.top=An(u.top,c.top),c.right=da(u.right,c.right),c.bottom=da(u.bottom,c.bottom),c.left=An(u.left,c.left),c},F0(e,s,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function t4(e){var t=e.reference,r=e.element,i=e.placement,o=i?H1(i):null,a=i?Mr(i):null,s=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,c;switch(o){case Tt:c={x:s,y:t.y-r.height};break;case l1:c={x:s,y:t.y+t.height};break;case c1:c={x:t.x+t.width,y:l};break;case Bt:c={x:t.x-r.width,y:l};break;default:c={x:t.x,y:t.y}}var d=o?u2(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(a){case Er:c[d]=c[d]-(t[u]/2-r[u]/2);break;case Fi:c[d]=c[d]+(t[u]/2-r[u]/2);break}}return c}function Oi(e,t){t===void 0&&(t={});var r=t,i=r.placement,o=i===void 0?e.placement:i,a=r.strategy,s=a===void 0?e.strategy:a,l=r.boundary,c=l===void 0?Mh:l,d=r.rootBoundary,u=d===void 0?U3:d,f=r.elementContext,h=f===void 0?qr:f,x=r.altBoundary,p=x===void 0?!1:x,m=r.padding,w=m===void 0?0:m,E=q3(typeof w!="number"?w:Q3(w,qi)),_=h===qr?Lh:qr,k=e.rects.popper,H=e.elements[p?_:h],$=uf(Nn(H)?H:H.contextElement||dn(e.elements.popper),c,u,s),C=kr(e.elements.reference),b=t4({reference:C,element:k,strategy:"absolute",placement:o}),T=_l(Object.assign({},k,b)),M=h===qr?T:C,j={top:$.top-M.top+E.top,bottom:M.bottom-$.bottom+E.bottom,left:$.left-M.left+E.left,right:M.right-$.right+E.right},V=e.modifiersData.offset;if(h===qr&&V){var F=V[o];Object.keys(j).forEach(function(z){var Z=[c1,l1].indexOf(z)>=0?1:-1,B=[Tt,l1].indexOf(z)>=0?"y":"x";j[z]+=F[B]*Z})}return j}function hf(e,t){t===void 0&&(t={});var r=t,i=r.placement,o=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?Y3:c,u=Mr(i),f=u?l?I0:I0.filter(function(p){return Mr(p)===u}):qi,h=f.filter(function(p){return d.indexOf(p)>=0});h.length===0&&(h=f);var x=h.reduce(function(p,m){return p[m]=Oi(e,{placement:m,boundary:o,rootBoundary:a,padding:s})[H1(m)],p},{});return Object.keys(x).sort(function(p,m){return x[p]-x[m]})}function ff(e){if(H1(e)===l2)return[];var t=Wo(e);return[R0(e),t,R0(t)]}function pf(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,s=r.altAxis,l=s===void 0?!0:s,c=r.fallbackPlacements,d=r.padding,u=r.boundary,f=r.rootBoundary,h=r.altBoundary,x=r.flipVariations,p=x===void 0?!0:x,m=r.allowedAutoPlacements,w=t.options.placement,E=H1(w),_=E===w,k=c||(_||!p?[Wo(w)]:ff(w)),H=[w].concat(k).reduce(function(pe,N){return pe.concat(H1(N)===l2?hf(t,{placement:N,boundary:u,rootBoundary:f,padding:d,flipVariations:p,allowedAutoPlacements:m}):N)},[]),$=t.rects.reference,C=t.rects.popper,b=new Map,T=!0,M=H[0],j=0;j=0,B=Z?"width":"height",O=Oi(t,{placement:V,boundary:u,rootBoundary:f,altBoundary:h,padding:d}),I=Z?z?c1:Bt:z?l1:Tt;$[B]>C[B]&&(I=Wo(I));var P=Wo(I),L=[];if(a&&L.push(O[F]<=0),l&&L.push(O[I]<=0,O[P]<=0),L.every(function(pe){return pe})){M=V,T=!1;break}b.set(V,L)}if(T)for(var W=p?3:1,Q=function(N){var ee=H.find(function(de){var ne=b.get(de);if(ne)return ne.slice(0,N).every(function(te){return te})});if(ee)return M=ee,"break"},Y=W;Y>0;Y--){var he=Q(Y);if(he==="break")break}t.placement!==M&&(t.modifiersData[i]._skip=!0,t.placement=M,t.reset=!0)}}const gf={name:"flip",enabled:!0,phase:"main",fn:pf,requiresIfExists:["offset"],data:{_skip:!1}};function O0(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function P0(e){return[Tt,c1,l1,Bt].some(function(t){return e[t]>=0})}function xf(e){var t=e.state,r=e.name,i=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=Oi(t,{elementContext:"reference"}),l=Oi(t,{altBoundary:!0}),c=O0(s,i),d=O0(l,o,a),u=P0(c),f=P0(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const mf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xf};function wf(e,t,r){var i=H1(e),o=[Bt,Tt].indexOf(i)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=a[0],l=a[1];return s=s||0,l=(l||0)*o,[Bt,c1].indexOf(i)>=0?{x:l,y:s}:{x:s,y:l}}function vf(e){var t=e.state,r=e.options,i=e.name,o=r.offset,a=o===void 0?[0,0]:o,s=Y3.reduce(function(u,f){return u[f]=wf(f,t.rects,a),u},{}),l=s[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=s}const Cf={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:vf};function yf(e){var t=e.state,r=e.name;t.modifiersData[r]=t4({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bf={name:"popperOffsets",enabled:!0,phase:"read",fn:yf,data:{}};function _f(e){return e==="x"?"y":"x"}function jf(e){var t=e.state,r=e.options,i=e.name,o=r.mainAxis,a=o===void 0?!0:o,s=r.altAxis,l=s===void 0?!1:s,c=r.boundary,d=r.rootBoundary,u=r.altBoundary,f=r.padding,h=r.tether,x=h===void 0?!0:h,p=r.tetherOffset,m=p===void 0?0:p,w=Oi(t,{boundary:c,rootBoundary:d,padding:f,altBoundary:u}),E=H1(t.placement),_=Mr(t.placement),k=!_,H=u2(E),$=_f(H),C=t.modifiersData.popperOffsets,b=t.rects.reference,T=t.rects.popper,M=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,j=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(C){if(a){var z,Z=H==="y"?Tt:Bt,B=H==="y"?l1:c1,O=H==="y"?"height":"width",I=C[H],P=I+w[Z],L=I-w[B],W=x?-T[O]/2:0,Q=_===Er?b[O]:T[O],Y=_===Er?-T[O]:-b[O],he=t.elements.arrow,pe=x&&he?d2(he):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:K3(),ee=N[Z],de=N[B],ne=gi(0,b[O],pe[O]),te=k?b[O]/2-W-ne-ee-j.mainAxis:Q-ne-ee-j.mainAxis,ye=k?-b[O]/2+W+ne+de+j.mainAxis:Y+ne+de+j.mainAxis,Re=t.elements.arrow&&Qi(t.elements.arrow),$e=Re?H==="y"?Re.clientTop||0:Re.clientLeft||0:0,v=(z=V==null?void 0:V[H])!=null?z:0,A=I+te-v-$e,S=I+ye-v,U=gi(x?da(P,A):P,I,x?An(L,S):L);C[H]=U,F[H]=U-I}if(l){var X,q=H==="x"?Tt:Bt,fe=H==="x"?l1:c1,le=C[$],Me=$==="y"?"height":"width",Ne=le+w[q],Xt=le-w[fe],tt=[Tt,Bt].indexOf(E)!==-1,Jn=(X=V==null?void 0:V[$])!=null?X:0,pn=tt?Ne:le-b[Me]-T[Me]-Jn+j.altAxis,Jt=tt?le+b[Me]+T[Me]-Jn-j.altAxis:Xt,V1=x&&tt?Uh(pn,le,Jt):gi(x?pn:Ne,le,x?Jt:Xt);C[$]=V1,F[$]=V1-le}t.modifiersData[i]=F}}const Sf={name:"preventOverflow",enabled:!0,phase:"main",fn:jf,requiresIfExists:["offset"]};function Df(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ef(e){return e===Gt(e)||!a1(e)?h2(e):Df(e)}function Hf(e){var t=e.getBoundingClientRect(),r=Hr(t.width)/e.offsetWidth||1,i=Hr(t.height)/e.offsetHeight||1;return r!==1||i!==1}function kf(e,t,r){r===void 0&&(r=!1);var i=a1(t),o=a1(t)&&Hf(t),a=dn(t),s=kr(e,o,r),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!r)&&((M1(t)!=="body"||p2(a))&&(l=Ef(t)),a1(t)?(c=kr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=f2(a))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Mf(e){var t=new Map,r=new Set,i=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(l){if(!r.has(l)){var c=t.get(l);c&&o(c)}}),i.push(a)}return e.forEach(function(a){r.has(a.name)||o(a)}),i}function Lf(e){var t=Mf(e);return Ph.reduce(function(r,i){return r.concat(t.filter(function(o){return o.phase===i}))},[])}function $f(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Af(e){var t=e.reduce(function(r,i){var o=r[i.name];return r[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,r},{});return Object.keys(t).map(function(r){return t[r]})}var N0={placement:"bottom",modifiers:[],strategy:"absolute"};function z0(){for(var e=arguments.length,t=new Array(e),r=0;r{u(!0)},h=()=>{u(!1)};if(!e)return!1;const x=Gf(null);return Wf(()=>{setTimeout(()=>{o(x.current)},300)},[x.current]),n.jsxs("div",{className:"brandy-with-tooltip",children:[n.jsx("div",{className:"brandy-tooltip-activator",onMouseMove:()=>{f()},onMouseLeave:()=>{h()},ref:x,children:t}),n.jsx(Uf,{ref:s,className:"bg-brandy-text text-gutenberg-white px-[10px] py-[5px] rounded-base my-2 z-10",style:{...l.popper,...r},...c.popper,$_css:[{visibility:"hidden",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms"},d&&{visibility:"visible",opacity:"1"}],children:e})]})}var Uf=g("div").withConfig({displayName:"Tooltip___StyledDiv",componentId:"sc-gmfqn3-0"})(["",""],e=>e.$_css);const Yf=window.React.useEffect,ys=window.React.useMemo,bs=window.React.useState,Xf=38,n4=5,r4=5;function et({options:e,selected:t,onChange:r=()=>!1,style:i={}}){const[o,a]=bs(null),[s,l]=bs(null),{styles:c,attributes:d}=_1(o,s),[u,f]=bs(!1),h=ys(()=>(o==null?void 0:o.getBoundingClientRect().width)??0,[o]),x=()=>{f(_=>!_)},p=()=>{f(!1)},m=ys(()=>e.find(k=>k.value===t),[e,t]),w=_=>{const k=_.currentTarget.dataset.value;r(k??"")};Yf(()=>{const _=k=>{(o==null||s==null)&&p(),!(o!=null&&o.contains(k.target))&&!(s!=null&&s.contains(k.target))&&p()};return window.jQuery(document).on("click","body",_),()=>{window.jQuery(document).off("click","body",_)}},[o,s]);const E=ys(()=>{const _=Math.min(e.length,4);return _*Xf+(_-1)*n4+r4*2},[e]);return n.jsxs("div",{className:"brandy-select",style:i,children:[n.jsxs("div",{className:Se(["brandy-select__selector","w-full h-[40px] p-[12px] bg-gutenberg-white","flex justify-between items-center","border border-brandy-border-light","rounded-base cursor-pointer"]),ref:a,onClick:x,children:[n.jsx("span",{className:"brandy-select__selection-item min-h-[15px] text-brandy-text overflow-hidden text-ellipsis whitespace-nowrap",children:(m==null?void 0:m.label)??""}),n.jsx("span",{className:"brandy-select__arrow",children:n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M14 8L10 12L6 8",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u&&n.jsx("div",{ref:l,style:{...c.popper,width:h,boxShadow:"0px 0px 8px 0px rgba(51, 51, 51, 0.10)"},...d.popper,className:Se(["my-2 z-[99999999999] rounded-base overflow-hidden","cursor-pointer"]),children:n.jsx(G1,{autoHide:!0,className:"bg-gutenberg-white",style:{height:E},children:n.jsx(Jf,{className:"flex flex-col",children:e.map(_=>n.jsxs(Kf,{className:"brandy-select__option-content","data-value":_.value,onClick:w,$_css:[{display:"flex",alignItems:"center",justifyContent:"space-between","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"},{minHeight:"38px",borderRadius:"5px",paddingLeft:"16px",paddingRight:"16px",paddingTop:"9px",paddingBottom:"9px","&:hover":{backgroundColor:"rgba(34, 113, 177, 0.03)","--tw-text-opacity":"1",color:"rgb(0 0 0 / var(--tw-text-opacity))"}},{transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms"},t===_.value&&{backgroundColor:"#2271B10D !important","--tw-text-opacity":"1 !important",color:"rgb(34 113 177 / var(--tw-text-opacity)) !important"}],children:[n.jsx(qf,{children:(_.label??"").toString().length>30?n.jsx(He,{title:_.label,children:_.label}):_.label}),_.value===t&&n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",style:{width:20,height:20},children:n.jsx("path",{className:"stroke-wp",d:"M17.3274 7.53122L10.5767 16.6102L6.66221 13.6996",strokeWidth:"1.5"})})]},_.value))})})})]})}var Jf=g("div")` padding: ${r4}px; gap: ${n4}px; `,Kf=g("div")`${e=>e.$_css}`,qf=g("span").withConfig({displayName:"Select___StyledSpan",componentId:"sc-1b3pn9-0"})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;"]);const Qf=window.React,ep=window.React.useEffect,tp=window.React.useState,Vn=Qf.forwardRef(({id:e,className:t,checked:r=!1,disabled:i=!1,size:o="sm",onChange:a=()=>!1},s)=>{const[l,c]=tp(!1),d=u=>{u.preventDefault(),u.stopPropagation(),a(!r)};return ep(()=>{const u=()=>{c(!1)};return window.addEventListener("mouseup",u),()=>{window.removeEventListener("mouseup",u)}},[]),n.jsx("button",{id:e,type:"button",className:Se(["brandy-component-switcher",o,t,r?"checked":"",l?"active":"",i?"disabled":""]),onClick:d,onMouseDown:()=>{c(!0)},ref:s,disabled:i,children:n.jsx("div",{className:"brandy-component-switcher-handle"})})}),ct=window.React,In=window.React.useRef,np=window.React.useMemo,ua=window.React.useEffect,rp=window.React.useState,ip=window.React.useCallback,op=window.React.useLayoutEffect;function Wa(){return(Wa=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function jl(e){var t=In(e),r=In(function(i){t.current&&t.current(i)});return t.current=e,r.current}var Lr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:w.buttons>0)&&o.current?a(Z0(o.current,w,l.current)):m(!1)},p=function(){return m(!1)};function m(w){var E=c.current,_=Sl(o.current),k=w?_.addEventListener:_.removeEventListener;k(E?"touchmove":"mousemove",x),k(E?"touchend":"mouseup",p)}return[function(w){var E=w.nativeEvent,_=o.current;if(_&&(W0(E),!function(H,$){return $&&!mi(H)}(E,c.current)&&_)){if(mi(E)){c.current=!0;var k=E.changedTouches||[];k.length&&(l.current=k[0].identifier)}_.focus(),a(Z0(_,E,l.current)),m(!0)}},function(w){var E=w.which||w.keyCode;E<37||E>40||(w.preventDefault(),s({left:E===39?.05:E===37?-.05:0,top:E===40?.05:E===38?-.05:0}))},m]},[s,a]),u=d[0],f=d[1],h=d[2];return ua(function(){return h},[h]),ct.createElement("div",Wa({},i,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),Ga=function(e){return e.filter(Boolean).join(" ")},x2=function(e){var t=e.color,r=e.left,i=e.top,o=i===void 0?.5:i,a=Ga(["react-colorful__pointer",e.className]);return ct.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},ct.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},wt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},ap=function(e){return dp(Dl(e))},Dl=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?wt(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?wt(parseInt(e.substring(6,8),16)/255,2):1}},sp=function(e){return cp(lp(e))},o4=function(e){var t=e.s,r=e.v,i=e.a,o=(200-t)*r/100;return{h:wt(e.h),s:wt(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:wt(o/2),a:wt(i,2)}},El=function(e){var t=o4(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},_s=function(e){var t=o4(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},lp=function(e){var t=e.h,r=e.s,i=e.v,o=e.a;t=t/360*6,r/=100,i/=100;var a=Math.floor(t),s=i*(1-r),l=i*(1-(t-a)*r),c=i*(1-(1-t+a)*r),d=a%6;return{r:wt(255*[i,l,s,s,c,i][d]),g:wt(255*[c,i,i,l,s,s][d]),b:wt(255*[s,s,c,i,i,l][d]),a:wt(o,2)}},Do=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},cp=function(e){var t=e.r,r=e.g,i=e.b,o=e.a,a=o<1?Do(wt(255*o)):"";return"#"+Do(t)+Do(r)+Do(i)+a},dp=function(e){var t=e.r,r=e.g,i=e.b,o=e.a,a=Math.max(t,r,i),s=a-Math.min(t,r,i),l=s?a===t?(r-i)/s:a===r?2+(i-t)/s:4+(t-r)/s:0;return{h:wt(60*(l<0?l+6:l)),s:wt(a?s/a*100:0),v:wt(a/255*100),a:o}},up=ct.memo(function(e){var t=e.hue,r=e.onChange,i=Ga(["react-colorful__hue",e.className]);return ct.createElement("div",{className:i},ct.createElement(g2,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:Lr(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":wt(t),"aria-valuemax":"360","aria-valuemin":"0"},ct.createElement(x2,{className:"react-colorful__hue-pointer",left:t/360,color:El({h:t,s:100,v:100,a:1})})))}),hp=ct.memo(function(e){var t=e.hsva,r=e.onChange,i={backgroundColor:El({h:t.h,s:100,v:100,a:1})};return ct.createElement("div",{className:"react-colorful__saturation",style:i},ct.createElement(g2,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:Lr(t.s+100*o.left,0,100),v:Lr(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+wt(t.s)+"%, Brightness "+wt(t.v)+"%"},ct.createElement(x2,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:El(t)})))}),a4=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},fp=function(e,t){return e.toLowerCase()===t.toLowerCase()||a4(Dl(e),Dl(t))};function pp(e,t,r){var i=jl(r),o=rp(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=In({color:t,hsva:a});ua(function(){if(!e.equal(t,l.current.color)){var d=e.toHsva(t);l.current={hsva:d,color:t},s(d)}},[t,e]),ua(function(){var d;a4(a,l.current.hsva)||e.equal(d=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:d},i(d))},[a,e,i]);var c=ip(function(d){s(function(u){return Object.assign({},u,d)})},[]);return[a,c]}var gp=typeof window<"u"?op:ua,xp=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},G0=new Map,mp=function(e){gp(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!G0.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,G0.set(t,r);var i=xp();i&&r.setAttribute("nonce",i),t.head.appendChild(r)}},[])},wp=function(e){var t=e.className,r=e.hsva,i=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+_s(Object.assign({},r,{a:0}))+", "+_s(Object.assign({},r,{a:1}))+")"},a=Ga(["react-colorful__alpha",t]),s=wt(100*r.a);return ct.createElement("div",{className:a},ct.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),ct.createElement(g2,{onMove:function(l){i({a:l.left})},onKey:function(l){i({a:Lr(r.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},ct.createElement(x2,{className:"react-colorful__alpha-pointer",left:r.a,color:_s(r)})))},vp=function(e){var t=e.className,r=e.colorModel,i=e.color,o=i===void 0?r.defaultColor:i,a=e.onChange,s=i4(e,["className","colorModel","color","onChange"]),l=In(null);mp(l);var c=pp(r,o,a),d=c[0],u=c[1],f=Ga(["react-colorful",t]);return ct.createElement("div",Wa({},s,{ref:l,className:f}),ct.createElement(hp,{hsva:d,onChange:u}),ct.createElement(up,{hue:d.h,onChange:u}),ct.createElement(wp,{hsva:d,onChange:u,className:"react-colorful__last-control"}))},Cp={defaultColor:"0001",toHsva:ap,fromHsva:sp,equal:fp},yp=function(e){return ct.createElement(vp,Wa({},e,{colorModel:Cp}))};function eo(){return n.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M11.7515 10.3747C11.91 10.5332 11.999 10.7482 11.999 10.9723C11.999 11.1965 11.91 11.4115 11.7515 11.57C11.593 11.7285 11.378 11.8175 11.1538 11.8175C10.9296 11.8175 10.7147 11.7285 10.5562 11.57L6.09201 7.10443L1.62646 11.5686C1.46796 11.7271 1.25297 11.8161 1.02881 11.8161C0.804643 11.8161 0.589659 11.7271 0.431151 11.5686C0.272643 11.4101 0.183594 11.1951 0.183594 10.9709C0.183594 10.7468 0.272643 10.5318 0.431151 10.3733L4.8967 5.90912L0.432557 1.44357C0.274049 1.28506 0.185 1.07008 0.185 0.845917C0.185 0.621752 0.274049 0.406769 0.432557 0.24826C0.591065 0.0897521 0.806049 0.000703009 1.03021 0.000703007C1.25438 0.000703005 1.46936 0.0897521 1.62787 0.24826L6.09201 4.71381L10.5576 0.247557C10.7161 0.0890489 10.931 -3.73458e-09 11.1552 0C11.3794 3.73458e-09 11.5944 0.0890489 11.7529 0.247557C11.9114 0.406065 12.0004 0.621049 12.0004 0.845213C12.0004 1.06938 11.9114 1.28436 11.7529 1.44287L7.28732 5.90912L11.7515 10.3747Z",fill:window.brandyCustomizerData.colors.icon.normal})})}function s4(){return n.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M15.3 0H1.7C0.76245 0 0 0.755368 0 1.68421V10.9474C0 11.8762 0.76245 12.6316 1.7 12.6316H7.65V14.3158H5.1V16H11.9V14.3158H9.35V12.6316H15.3C16.2376 12.6316 17 11.8762 17 10.9474V1.68421C17 0.755368 16.2376 0 15.3 0ZM1.7 10.5V1.68421H15.3L15.3017 10.5H8.50085H1.7Z",fill:window.brandyCustomizerData.colors.icon.normal})})}function bp(){return n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:"#808890"}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:"#808890"}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:"#808890"}),n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:"#808890"}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:"#808890"}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:"#808890"})]})}function l4(){return n.jsxs("svg",{width:"11",height:"16",viewBox:"0 0 11 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"1.5",y:"0.75",width:"8.5",height:"14.5",rx:"1.25",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"}),n.jsx("rect",{x:"4.75",y:"12",width:"2",height:"1.5",fill:window.brandyCustomizerData.colors.icon.normal})]})}function c4(){return n.jsx("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M12.1877 14.1044C11.1306 14.1044 10.2705 13.2323 10.2705 12.1608C10.2705 11.1635 11.1294 10.2016 11.591 9.68511C11.647 9.6222 11.6955 9.56798 11.7312 9.52604C11.7873 9.45922 11.8573 9.40549 11.9363 9.36863C12.0154 9.33176 12.1016 9.31266 12.1888 9.31266C12.276 9.31266 12.3622 9.33176 12.4412 9.36863C12.5203 9.40549 12.5903 9.45922 12.6464 9.52604C12.6802 9.56529 12.7252 9.61591 12.777 9.67373C13.2413 10.192 14.105 11.1569 14.105 12.1617C14.105 13.2323 13.2449 14.1044 12.1877 14.1044ZM11.6554 8.01231L4.72511 1.13953C4.43251 0.847564 4.03604 0.683594 3.62269 0.683594C3.20934 0.683594 2.81286 0.847564 2.52026 1.13953L2.38515 1.27463C2.08499 1.56989 1.91386 1.97192 1.90914 2.39294C1.90798 2.59849 1.94778 2.80221 2.02622 2.99221C2.10465 3.18221 2.22016 3.35468 2.36598 3.49955L3.6095 4.74278L1.07363 7.27416C0.94813 7.39995 0.849031 7.54955 0.782153 7.71417C0.715275 7.87879 0.681968 8.05512 0.684186 8.23279C0.685661 8.40612 0.72226 8.57736 0.79177 8.73615C0.86128 8.89494 0.96226 9.038 1.08861 9.15667L5.02019 12.9313C5.26656 13.1674 5.59491 13.2988 5.93617 13.2978C6.27743 13.2968 6.605 13.1635 6.84997 12.9259L10.568 9.32263C10.6352 9.25577 10.7212 9.21095 10.8145 9.19412C10.9327 9.17523 11.0522 9.16661 11.1719 9.16835H11.1809C11.3149 9.16858 11.446 9.12889 11.5574 9.05433C11.6688 8.97977 11.7555 8.87372 11.8064 8.74971C11.8573 8.62569 11.8702 8.48933 11.8433 8.358C11.8164 8.22667 11.751 8.10632 11.6554 8.01231ZM4.28774 4.06425L3.04361 2.82043C2.98773 2.76476 2.94338 2.69861 2.91313 2.62576C2.88287 2.55291 2.86729 2.47481 2.86729 2.39593C2.86729 2.31705 2.88287 2.23895 2.91313 2.1661C2.94338 2.09326 2.98773 2.0271 3.04361 1.97144L3.19819 1.81716C3.25403 1.7613 3.32032 1.71699 3.39328 1.68675C3.46625 1.65652 3.54446 1.64096 3.62344 1.64096C3.70242 1.64096 3.78062 1.65652 3.85359 1.68675C3.92655 1.71699 3.99284 1.7613 4.04868 1.81716L5.29759 3.05649L4.28774 4.06425Z",fill:window.brandyCustomizerData.colors.icon.normal})})}function _p(){return n.jsx("svg",{width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M10.9655 15C12.3568 15 13.7169 14.5895 14.8737 13.8203C16.0305 13.0511 16.9321 11.9579 17.4645 10.6788C17.997 9.3997 18.1363 7.99224 17.8648 6.63437C17.5934 5.2765 16.9234 4.02922 15.9396 3.05026C14.9559 2.07129 13.7024 1.4046 12.3379 1.13451C10.9733 0.86441 9.55892 1.00303 8.27354 1.53285C6.98815 2.06266 5.88952 2.95987 5.11656 4.11101C4.3436 5.26216 3.93103 6.61553 3.93103 8V11.6167L1.82069 9.51667L1 10.3333L4.51724 13.8333L8.03448 10.3333L7.21379 9.51667L5.10345 11.6167V8C5.10345 6.84628 5.44725 5.71846 6.09138 4.75918C6.73552 3.79989 7.65105 3.05222 8.7222 2.61071C9.79335 2.16919 10.972 2.05368 12.1091 2.27876C13.2463 2.50384 14.2908 3.05941 15.1106 3.87521C15.9304 4.69102 16.4888 5.73042 16.7149 6.86198C16.9411 7.99353 16.825 9.16642 16.3814 10.2323C15.9377 11.2982 15.1863 12.2093 14.2223 12.8502C13.2583 13.4912 12.1249 13.8333 10.9655 13.8333V15Z",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"0.5"})})}function jp(){return n.jsx("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.70239 14.4921C7.70239 10.7422 10.7422 7.70239 14.4921 7.70239C18.2419 7.70239 21.2818 10.7422 21.2818 14.4921C21.2818 18.2419 18.2419 21.2818 14.4921 21.2818C10.7422 21.2818 7.70239 18.2419 7.70239 14.4921ZM14.4921 6.20239C9.91381 6.20239 6.20239 9.91381 6.20239 14.4921C6.20239 19.0703 9.91381 22.7818 14.4921 22.7818C16.5112 22.7818 18.3616 22.0599 19.7995 20.8602L23.4697 24.5303C23.7626 24.8232 24.2374 24.8232 24.5303 24.5303C24.8232 24.2374 24.8232 23.7626 24.5303 23.4697L20.8602 19.7995C22.0599 18.3616 22.7818 16.5112 22.7818 14.4921C22.7818 9.91381 19.0703 6.20239 14.4921 6.20239Z",fill:window.brandyCustomizerData.colors.icon.normal})})}function d4(){return n.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.44631 14C11.7898 14 14.5003 11.3137 14.5003 8C14.5003 4.68629 11.7898 2 8.44631 2C5.10279 2 2.39233 4.68629 2.39233 8C2.39233 11.3137 5.10279 14 8.44631 14ZM8.44633 11C10.1181 11 11.4733 9.65685 11.4733 8C11.4733 6.34315 10.1181 5 8.44633 5C6.77457 5 5.41934 6.34315 5.41934 8C5.41934 9.65685 6.77457 11 8.44633 11Z",fill:"#808890"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.77861 0C7.29032 0 6.87343 0.352637 6.79245 0.834163L6.42823 3H10.4642L10.1 0.834163C10.019 0.352636 9.60213 0 9.11384 0H7.77861ZM9.11383 16C9.60212 16 10.019 15.6474 10.1 15.1658L10.4642 13H6.42822L6.79244 15.1658C6.87342 15.6474 7.29031 16 7.7786 16H9.11383Z",fill:"#808890"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.1066 3.43378C14.8604 3.01115 14.3432 2.82625 13.8841 2.99671L11.8061 3.76825L13.8241 7.23235L15.5373 5.83459C15.9158 5.52578 16.0128 4.98945 15.7666 4.56682L15.1066 3.43378ZM1.78554 12.5666C2.03174 12.9892 2.54889 13.1741 3.00799 13.0037L5.08596 12.2321L3.06797 8.76801L1.3548 10.1658C0.9763 10.4746 0.879292 11.0109 1.12549 11.4335L1.78554 12.5666Z",fill:"#808890"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.12633 4.56673C0.880129 4.98937 0.977138 5.52569 1.35564 5.83451L3.0688 7.23227L5.0868 3.76817L3.00883 2.99663C2.54973 2.82617 2.03257 3.01107 1.78637 3.4337L1.12633 4.56673ZM15.7675 11.4339C16.0137 11.0113 15.9167 10.475 15.5382 10.1662L13.825 8.7684L11.807 12.2325L13.885 13.004C14.3441 13.1745 14.8612 12.9896 15.1074 12.567L15.7675 11.4339Z",fill:"#808890"})]})}function Sp(){return n.jsx("svg",{width:"18",height:"16",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M14 0H4C2.9 0 2 0.9 2 2V14C2 15.1 2.9 16 4 16H14C15.1 16 16 15.1 16 14V2C16 0.9 15.1 0 14 0ZM14.5 14C14.5 14.3 14.3 14.5 14 14.5H4C3.7 14.5 3.5 14.3 3.5 14V2C3.5 1.7 3.7 1.5 4 1.5H14C14.3 1.5 14.5 1.7 14.5 2V14ZM7 13.5H11V12H7V13.5Z",fill:window.brandyCustomizerData.colors.icon.normal})})}const Dp=window.React.forwardRef,Ue=Dp(({onChange:e=()=>!1,type:t="text",className:r="",prefix:i=!1,wrapperStyle:o={},...a},s)=>{const l=d=>{let u=d.target.value;t==="number"&&u!=""&&(u=+u),e(u)},c=()=>{typeof a.value=="number"&&(a.min!=null&&a.value<+a.min&&e(a.min),a.max!=null&&a.value>+a.max&&e(a.max))};return n.jsxs(Ep,{className:Se(["brandy-input group",r]),style:o,ref:s,children:[i,n.jsx("input",{className:"w-full bg-inherit p-0 border-0 focus:outline-none focus:border-0 focus:shadow-none",...a,type:t,onChange:l,onBlur:c})]})});var Ep=g("div").withConfig({displayName:"Input___StyledDiv",componentId:"sc-aibt7d-0"})({display:"flex",minHeight:"30px",alignItems:"center",gap:"0.5rem",borderRadius:"5px",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",paddingLeft:"0.5rem",paddingRight:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",lineHeight:"1","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))",outline:"2px solid transparent",outlineOffset:"2px",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:focus-within":{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))"},"&:focus":{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}});let Rt;setTimeout(()=>{Rt=Gi()(e=>({settings:window.wp.customize("colors_settings")(),globalPalettes:window.wp.customize("global_palettes")(),updateSettings:t=>{e(r=>({settings:t(r.settings)}))}}))},1);function D(e){var t;return(((t=window.brandyCustomizerData)==null?void 0:t.i18n)??{})[e]??e}const u4=()=>{const e=[],t=[],r=Rt.getState().settings,i=window.brandyCustomizerData.global.custom_colors;return Object.keys(r).forEach(o=>{o=="links"&&(e.push({key:"links_normal",value:"var(--brandy-link-normal)",color:O1(r.links.normal),title:D("Link normal")}),e.push({key:"links_hover",value:"var(--brandy-link-hover)",color:O1(r.links.hover),title:D("Link hover")})),o=="body_text"&&(e.push({key:"primary_text",value:"var(--primary_text)",color:O1(r.body_text.primary),title:D("Primary text")}),e.push({key:"secondary_text",value:"var(--secondary_text)",color:O1(r.body_text.secondary),title:D("Secondary text")})),o=="border"&&e.push({key:"border_color",value:"var(--brandy-border-color)",color:O1(r.border),title:D("Border color")}),o=="heading"&&e.push({key:"heading",value:"var(--heading)",color:O1(r.heading),title:D("Heading")}),o=="accent"&&e.push({key:"accent",value:"var(--accent)",color:O1(r.accent),title:D("Accent")}),o.includes("palette")&&t.push({key:o,value:`var(--${o})`,color:O1(r[o]),title:D("Palette")+" "+o.replace("palette_","")})}),i.forEach(({id:o,color:a,title:s})=>{t.push({key:o,value:`var(--${o})`,color:O1(a),title:s})}),{theme:e,palette:t}},Hp=e=>e!=null&&e.includes("var")?e.replace("var(--","").replace(")",""):null,O1=e=>{const t=window.wp.customize("colors_settings")(),r=e.replace(")","").replace("var(--","");return t[r]==null?e:t[r]},h4=e=>{if(e==null)return{isGlobal:!1,color:""};const t=u4(),r=[...t.theme,...t.palette].find(i=>i.value==e);return r?{isGlobal:!0,color:r.color}:e.includes("var(")?{isGlobal:!0,color:e}:{isGlobal:!1,color:e}};function kp(){return n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M9.00001 0.299988C4.20001 0.299988 0.200012 4.19999 0.200012 9.09999C0.200012 13.9 4.10001 17.9 9.00001 17.9C13.8 17.9 17.8 14 17.8 9.09999C17.8 4.19999 13.8 0.299988 9.00001 0.299988ZM15.5 5.79999H12.9C12.4 4.29999 11.8 2.99999 11 1.99999C13 2.59999 14.6 3.99999 15.5 5.79999ZM16.2 8.99999C16.2 9.59999 16.1 10.2 16 10.8H13.1C13.2 10.2 13.2 9.59999 13.2 8.99999C13.2 8.39999 13.1 7.79999 13.1 7.19999H16C16.2 7.79999 16.2 8.39999 16.2 8.99999ZM9.00001 15.7C8.00001 15 7.20001 13.8 6.70001 12.2H11.3C10.8 13.8 10 15.1 9.00001 15.7ZM6.40001 10.8C6.30001 10.2 6.30001 9.69999 6.30001 8.99999C6.30001 8.39999 6.40001 7.79999 6.40001 7.19999H11.6C11.7 7.79999 11.7 8.29999 11.7 8.99999C11.7 9.69999 11.6 10.2 11.6 10.8H6.40001ZM1.80001 8.99999C1.80001 8.39999 1.90001 7.79999 2.00001 7.19999H4.90001C4.80001 7.79999 4.80001 8.39999 4.80001 8.99999C4.80001 9.59999 4.90001 10.2 4.90001 10.8H2.00001C1.80001 10.2 1.80001 9.59999 1.80001 8.99999ZM9.00001 2.29999C10 2.99999 10.8 4.19999 11.3 5.79999H6.70001C7.20001 4.19999 8.00001 2.89999 9.00001 2.29999ZM7.00001 1.99999C6.20001 2.99999 5.60001 4.29999 5.20001 5.79999H2.50001C3.40001 3.99999 5.00001 2.59999 7.00001 1.99999ZM2.50001 12.3H5.10001C5.50001 13.8 6.10001 15.1 6.90001 16C5.10001 15.4 3.40001 14 2.50001 12.3ZM11 16C11.8 15 12.4 13.8 12.8 12.3H15.4C14.6 14 13 15.4 11 16Z",fill:"black"})})}const Mp=window.React.useEffect,xr=window.React.useMemo,js=window.React.useState;function me({color:e,onChange:t=()=>!1,hideGlobals:r=!1}){const[i,o]=js(null),[a,s]=js(null),{styles:l,attributes:c}=_1(i,a),[d,u]=js(!1),f=()=>{u(E=>!E)},h=()=>{u(!1)},x=Rt(E=>E.settings),p=xr(()=>h4(e),[e,x]);Mp(()=>{const E=_=>{i==null&&a==null&&h(),!(a!=null&&a.contains(_.target))&&!(i!=null&&i.contains(_.target))&&h()};return window.jQuery(document).on("click","body",E),()=>{window.jQuery(document).off("click","body",E)}},[i,a]);const m=xr(()=>p.color==""||p.color.endsWith("00")&&p.color.length>7,[p]),w=xr(()=>p.isGlobal,[p]);return n.jsxs($p,{className:"brandy-color-picker",children:[n.jsxs(Ap,{className:"brandy-color-preview",style:{background:p.color||"transparent"},ref:o,onClick:f,$_css2:[{height:"30px",width:"30px"},{borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(255 255 255 / var(--tw-border-opacity))"},{outlineStyle:"solid",outlineWidth:"2px",outlineColor:"#0000001A","&:hover":{outlineColor:"#1e1e1e"}},{cursor:"pointer",borderRadius:"9999px"},{transitionProperty:"outline",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},d&&{outlineColor:"#1e1e1e"},m&&ce(["background:linear-gradient(45deg,#e0e0e3 25%,transparent 25%),linear-gradient(-45deg,#e0e0e3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e0e3 75%),linear-gradient(-45deg,transparent 75%,#e0e0e3 75%) !important;background-size:4px 4px !important;background-position:0 0,0 10px,10px -10px,-10px 0px !important;"])],children:[m&&n.jsx(Vp,{children:n.jsx(c4,{})}),w&&n.jsx(Ip,{children:n.jsx(kp,{})})]}),d&&n.jsx(Tp,{ref:s,className:"color-picker-popup",style:l.popper,...c.popper,$_css3:[{position:"absolute",right:"0px",marginTop:"0.5rem",marginBottom:"0.5rem",width:"250px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{zIndex:"99999999"},{borderRadius:"0.375rem",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},{cursor:"auto"},{"--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{display:"flex",flexDirection:"column",overflow:"hidden"}],children:n.jsx(f4,{color:e,onChange:t,hideGlobals:r})})]})}const Ss=ce([""," &.selected{","}"],{position:"relative",height:"22px",width:"22px",cursor:"pointer",borderRadius:"5px","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{outlineStyle:"solid",outlineWidth:"1.5px",outlineOffset:"2px",outlineColor:"#2271B1"}),Lp="#ffffff00",f4=({color:e,onChange:t=()=>!1,hideGlobals:r=!1})=>{const i=xr(()=>u4(),[]),o=xr(()=>h4(e),[e]),a=xr(()=>Hp(e),[e]);return n.jsxs(n.Fragment,{children:[n.jsx(Bp,{children:n.jsx(yp,{color:o.color||Lp,onChange:t})}),n.jsx(Rp,{children:n.jsx(Fp,{value:o.color||"NULL",onChange:t})}),!r&&n.jsxs("div",{children:[n.jsx(Op,{children:D("Theme colors")}),n.jsx(Pp,{children:i.theme.map((s,l)=>n.jsx(He,{title:s.title,style:{textTransform:"capitalize"},children:n.jsx(Np,{className:`dashicons ${s.key===a?"selected":""} global-block`,style:{background:s.color},onClick:()=>{t(s.value)},$_css4:[Ss]})},l))}),n.jsx(zp,{children:D("Palette colors")}),n.jsxs(Zp,{children:[i.palette.map((s,l)=>n.jsx(He,{title:s.title,style:{textTransform:"capitalize"},children:n.jsx(Wp,{className:`dashicons ${s.key===a?"selected":""} global-block`,style:{background:s.color},onClick:()=>{t(s.value)},$_css5:[Ss]})},l)),n.jsx(Gp,{className:`dashicons ${o.color==""?"selected":""} global-block transparent-block`,onClick:()=>{t("")},$_css6:[Ss]})]})]})]})};var $p=g("div")({position:"relative"}),Ap=g("div")`${e=>e.$_css2}`,Vp=g("span")({position:"relative",left:"50%",top:"50%",display:"inline-block","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%"}),Ip=g("span")({position:"relative",left:"50%",top:"50%",display:"inline-block","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%","& svg":{height:"16px",width:"16px",borderRadius:"50%",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(214 214 215 / var(--tw-border-opacity))"},"& svg *[fill]":{fill:"#fff"}}),Tp=g("div")`${e=>e.$_css3}`,Bp=g("div")({padding:"1rem",">.react-colorful":{width:"100%"}}),Rp=g("div")({borderBottomWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem",paddingTop:"0.5rem"}),Fp=g(Ue)({width:"100%"}),Op=g("div")({marginLeft:"1rem",marginRight:"1rem",marginTop:"1rem",fontWeight:"500"}),Pp=g("div")({display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.5rem",padding:"1rem"}),Np=g("div")`${e=>e.$_css4}`,zp=g("div")({marginLeft:"1rem",marginRight:"1rem",fontWeight:"500"}),Zp=g("div")({display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.5rem",padding:"1rem"}),Wp=g("div")`${e=>e.$_css5}`,Gp=g("div").withConfig({displayName:"ColorPicker___StyledDiv12",componentId:"sc-g829wk-0"})(["",""],e=>e.$_css6),Up="Expected a function",U0=0/0,Yp="[object Symbol]",Xp=/^\s+|\s+$/g,Jp=/^[-+]0x[0-9a-f]+$/i,Kp=/^0b[01]+$/i,qp=/^0o[0-7]+$/i,Qp=parseInt,eg=typeof at=="object"&&at&&at.Object===Object&&at,tg=typeof self=="object"&&self&&self.Object===Object&&self,ng=eg||tg||Function("return this")(),rg=Object.prototype,ig=rg.toString,og=Math.max,ag=Math.min,Ds=function(){return ng.Date.now()};function sg(e,t,r){var i,o,a,s,l,c,d=0,u=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(Up);t=Y0(t)||0,Hl(r)&&(u=!!r.leading,f="maxWait"in r,a=f?og(Y0(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h);function x(C){var b=i,T=o;return i=o=void 0,d=C,s=e.apply(T,b),s}function p(C){return d=C,l=setTimeout(E,t),u?x(C):s}function m(C){var b=C-c,T=C-d,M=t-b;return f?ag(M,a-T):M}function w(C){var b=C-c,T=C-d;return c===void 0||b>=t||b<0||f&&T>=a}function E(){var C=Ds();if(w(C))return _(C);l=setTimeout(E,m(C))}function _(C){return l=void 0,h&&i?x(C):(i=o=void 0,s)}function k(){l!==void 0&&clearTimeout(l),d=0,i=c=o=l=void 0}function H(){return l===void 0?s:_(Ds())}function $(){var C=Ds(),b=w(C);if(i=arguments,o=this,c=C,b){if(l===void 0)return p(c);if(f)return l=setTimeout(E,t),x(c)}return l===void 0&&(l=setTimeout(E,t)),s}return $.cancel=k,$.flush=H,$}function Hl(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function lg(e){return!!e&&typeof e=="object"}function cg(e){return typeof e=="symbol"||lg(e)&&ig.call(e)==Yp}function Y0(e){if(typeof e=="number")return e;if(cg(e))return U0;if(Hl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Xp,"");var r=Kp.test(e);return r||qp.test(e)?Qp(e.slice(2),r?2:8):Jp.test(e)?U0:+e}var dg=sg;const $r=Ut(dg);function ln(e){"@babel/helpers - typeof";return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ln(e)}function ug(e,t){if(ln(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(ln(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hg(e){var t=ug(e,"string");return ln(t)=="symbol"?t:t+""}function v1(e,t,r){return t=hg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,i)}return r}function Et(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,i=new Array(t);r2&&arguments[2]!==void 0?arguments[2]:!1,i=new Set;function o(a,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=i.has(a);if(to(!c,"Warning: There may be circular references"),c)return!1;if(a===s)return!0;if(r&&l>1)return!1;i.add(a);var d=l+1;if(Array.isArray(a)){if(!Array.isArray(s)||a.length!==s.length)return!1;for(var u=0;u=0)&&(r[o]=e[o]);return r}function x4(e,t){if(e==null)return{};var r=kg(e,t),i,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var ae={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var r=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||r>=ae.F1&&r<=ae.F12)return!1;switch(r){case ae.ALT:case ae.CAPS_LOCK:case ae.CONTEXT_MENU:case ae.CTRL:case ae.DOWN:case ae.END:case ae.ESC:case ae.HOME:case ae.INSERT:case ae.LEFT:case ae.MAC_FF_META:case ae.META:case ae.NUMLOCK:case ae.NUM_CENTER:case ae.PAGE_DOWN:case ae.PAGE_UP:case ae.PAUSE:case ae.PRINT_SCREEN:case ae.RIGHT:case ae.SHIFT:case ae.UP:case ae.WIN_KEY:case ae.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ae.ZERO&&t<=ae.NINE||t>=ae.NUM_ZERO&&t<=ae.NUM_MULTIPLY||t>=ae.A&&t<=ae.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ae.SPACE:case ae.QUESTION_MARK:case ae.NUM_PLUS:case ae.NUM_MINUS:case ae.NUM_PERIOD:case ae.NUM_DIVISION:case ae.SEMICOLON:case ae.DASH:case ae.EQUALS:case ae.COMMA:case ae.PERIOD:case ae.SLASH:case ae.APOSTROPHE:case ae.SINGLE_QUOTE:case ae.OPEN_SQUARE_BRACKET:case ae.BACKSLASH:case ae.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};function $l(e,t,r){return(e-t)/(r-t)}function m2(e,t,r,i){var o=$l(t,r,i),a={};switch(e){case"rtl":a.right="".concat(o*100,"%"),a.transform="translateX(50%)";break;case"btt":a.bottom="".concat(o*100,"%"),a.transform="translateY(50%)";break;case"ttb":a.top="".concat(o*100,"%"),a.transform="translateY(-50%)";break;default:a.left="".concat(o*100,"%"),a.transform="translateX(-50%)";break}return a}function hr(e,t){return Array.isArray(e)?e[t]:e}var Mg=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange","onChangeComplete"];const ks=window.React;var Lg=ks.forwardRef(function(e,t){var r,i,o=e.prefixCls,a=e.value,s=e.valueIndex,l=e.onStartMove,c=e.style,d=e.render,u=e.dragging,f=e.onOffsetChange,h=e.onChangeComplete,x=x4(e,Mg),p=ks.useContext(Yn),m=p.min,w=p.max,E=p.direction,_=p.disabled,k=p.keyboard,H=p.range,$=p.tabIndex,C=p.ariaLabelForHandle,b=p.ariaLabelledByForHandle,T=p.ariaValueTextFormatterForHandle,M=p.styles,j=p.classNames,V="".concat(o,"-handle"),F=function(P){_||l(P,s)},z=function(P){if(!_&&k){var L=null;switch(P.which||P.keyCode){case ae.LEFT:L=E==="ltr"||E==="btt"?-1:1;break;case ae.RIGHT:L=E==="ltr"||E==="btt"?1:-1;break;case ae.UP:L=E!=="ttb"?1:-1;break;case ae.DOWN:L=E!=="ttb"?-1:1;break;case ae.HOME:L="min";break;case ae.END:L="max";break;case ae.PAGE_UP:L=2;break;case ae.PAGE_DOWN:L=-2;break}L!==null&&(P.preventDefault(),f(L,s))}},Z=function(P){switch(P.which||P.keyCode){case ae.LEFT:case ae.RIGHT:case ae.UP:case ae.DOWN:case ae.HOME:case ae.END:case ae.PAGE_UP:case ae.PAGE_DOWN:h==null||h();break}},B=m2(E,a,m,w),O=ks.createElement("div",ha({ref:t,className:Se(V,(r={},v1(r,"".concat(V,"-").concat(s+1),H),v1(r,"".concat(V,"-dragging"),u),r),j.handle),style:Et(Et(Et({},B),c),M.handle),onMouseDown:F,onTouchStart:F,onKeyDown:z,onKeyUp:Z,tabIndex:_?null:hr($,s),role:"slider","aria-valuemin":m,"aria-valuemax":w,"aria-valuenow":a,"aria-disabled":_,"aria-label":hr(C,s),"aria-labelledby":hr(b,s),"aria-valuetext":(i=hr(T,s))===null||i===void 0?void 0:i(a),"aria-orientation":E==="ltr"||E==="rtl"?"horizontal":"vertical"},x));return d&&(O=d(O,{index:s,prefixCls:o,value:a,dragging:u})),O}),$g=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"];const rr=window.React;var Ag=rr.forwardRef(function(e,t){var r=e.prefixCls,i=e.style,o=e.onStartMove,a=e.onOffsetChange,s=e.values,l=e.handleRender,c=e.draggingIndex,d=x4(e,$g),u=rr.useRef({});return rr.useImperativeHandle(t,function(){return{focus:function(h){var x;(x=u.current[h])===null||x===void 0||x.focus()}}}),rr.createElement(rr.Fragment,null,s.map(function(f,h){return rr.createElement(Lg,ha({ref:function(p){p?u.current[h]=p:delete u.current[h]},dragging:c===h,prefixCls:r,style:hr(i,h),key:h,value:f,valueIndex:h,onStartMove:o,onOffsetChange:a,render:l},d))}))});const S1=window.React;function t5(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Vg(e,t,r,i,o,a,s,l,c){var d=S1.useState(null),u=zt(d,2),f=u[0],h=u[1],x=S1.useState(-1),p=zt(x,2),m=p[0],w=p[1],E=S1.useState(r),_=zt(E,2),k=_[0],H=_[1],$=S1.useState(r),C=zt($,2),b=C[0],T=C[1],M=S1.useRef(null),j=S1.useRef(null);S1.useEffect(function(){m===-1&&H(r)},[r,m]),S1.useEffect(function(){return function(){document.removeEventListener("mousemove",M.current),document.removeEventListener("mouseup",j.current),document.removeEventListener("touchmove",M.current),document.removeEventListener("touchend",j.current)}},[]);var V=function(I,P){k.some(function(L,W){return L!==I[W]})&&(P!==void 0&&h(P),H(I),s(I))},F=function(I,P){if(I===-1){var L=b[0],W=b[b.length-1],Q=i-L,Y=o-W,he=P*(o-i);he=Math.max(he,Q),he=Math.min(he,Y);var pe=a(L+he);he=pe-L;var N=b.map(function(te){return te+he});V(N)}else{var ee=(o-i)*P,de=on(k);de[I]=b[I];var ne=c(de,ee,I,"dist");V(ne.values,ne.value)}},z=S1.useRef(F);z.current=F;var Z=function(I,P,L){I.stopPropagation();var W=L||r,Q=W[P];w(P),h(Q),T(W);var Y=t5(I),he=Y.pageX,pe=Y.pageY,N=function(ne){ne.preventDefault();var te=t5(ne),ye=te.pageX,Re=te.pageY,$e=ye-he,v=Re-pe,A=e.current.getBoundingClientRect(),S=A.width,U=A.height,X;switch(t){case"btt":X=-v/U;break;case"ttb":X=v/U;break;case"rtl":X=-$e/S;break;default:X=$e/S}z.current(P,X)},ee=function de(ne){ne.preventDefault(),document.removeEventListener("mouseup",de),document.removeEventListener("mousemove",N),document.removeEventListener("touchend",de),document.removeEventListener("touchmove",N),M.current=null,j.current=null,w(-1),l()};document.addEventListener("mouseup",ee),document.addEventListener("mousemove",N),document.addEventListener("touchend",ee),document.addEventListener("touchmove",N),M.current=N,j.current=ee},B=S1.useMemo(function(){var O=on(r).sort(function(P,L){return P-L}),I=on(k).sort(function(P,L){return P-L});return O.every(function(P,L){return P===I[L]})?k:r},[r,k]);return[m,f,B,Z]}const Ms=window.React;function Ig(e,t,r,i,o,a){var s=Ms.useCallback(function(x){var p=isFinite(x)?x:e;return p=Math.min(t,x),p=Math.max(e,p),p},[e,t]),l=Ms.useCallback(function(x){if(r!==null){var p=e+Math.round((s(x)-e)/r)*r,m=function(k){return(String(k).split(".")[1]||"").length},w=Math.max(m(r),m(t),m(e)),E=Number(p.toFixed(w));return e<=E&&E<=t?E:null}return null},[r,e,t,s]),c=Ms.useCallback(function(x){var p=s(x),m=i.map(function(_){return _.value});r!==null&&m.push(l(x)),m.push(e,t);var w=m[0],E=t-e;return m.forEach(function(_){var k=Math.abs(p-_);k<=E&&(w=_,E=k)}),w},[e,t,i,r,s,l]),d=function x(p,m,w){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof m=="number"){var _,k=p[w],H=k+m,$=[];i.forEach(function(j){$.push(j.value)}),$.push(e,t),$.push(l(k));var C=m>0?1:-1;E==="unit"?$.push(l(k+C*r)):$.push(l(H)),$=$.filter(function(j){return j!==null}).filter(function(j){return m<0?j<=k:j>=k}),E==="unit"&&($=$.filter(function(j){return j!==k}));var b=E==="unit"?k:H;_=$[0];var T=Math.abs(_-b);if($.forEach(function(j){var V=Math.abs(j-b);V1){var M=on(p);return M[w]=_,x(M,m-C,w,E)}return _}else{if(m==="min")return e;if(m==="max")return t}},u=function(p,m,w){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",_=p[w],k=d(p,m,w,E);return{value:k,changed:k!==_}},f=function(p){return a===null&&p===0||typeof a=="number"&&p3&&arguments[3]!==void 0?arguments[3]:"unit",_=p.map(c),k=_[w],H=d(_,m,w,E);if(_[w]=H,o===!1){var $=a||0;w>0&&_[w-1]!==k&&(_[w]=Math.max(_[w],_[w-1]+$)),w<_.length-1&&_[w+1]!==k&&(_[w]=Math.min(_[w],_[w+1]-$))}else if(typeof a=="number"||a===null){for(var C=w+1;C<_.length;C+=1)for(var b=!0;f(_[C]-_[C-1])&&b;){var T=u(_,1,C);_[C]=T.value,b=T.changed}for(var M=w;M>0;M-=1)for(var j=!0;f(_[M]-_[M-1])&&j;){var V=u(_,-1,M-1);_[M-1]=V.value,j=V.changed}for(var F=_.length-1;F>0;F-=1)for(var z=!0;f(_[F]-_[F-1])&&z;){var Z=u(_,-1,F-1);_[F-1]=Z.value,z=Z.changed}for(var B=0;B<_.length-1;B+=1)for(var O=!0;f(_[B+1]-_[B])&&O;){var I=u(_,1,B+1);_[B+1]=I.value,O=I.changed}}return{value:_[w],values:_}};return[c,h]}const n5=window.React;function Tg(e){var t=e.prefixCls,r=e.style,i=e.children,o=e.value,a=e.onClick,s=n5.useContext(Yn),l=s.min,c=s.max,d=s.direction,u=s.includedStart,f=s.includedEnd,h=s.included,x="".concat(t,"-text"),p=m2(d,o,l,c);return n5.createElement("span",{className:Se(x,v1({},"".concat(x,"-active"),h&&u<=o&&o<=f)),style:Et(Et({},p),r),onMouseDown:function(w){w.stopPropagation()},onClick:function(){a(o)}},i)}const r5=window.React;function Bg(e){var t=e.prefixCls,r=e.marks,i=e.onClick,o="".concat(t,"-mark");return r.length?r5.createElement("div",{className:o},r.map(function(a){var s=a.value,l=a.style,c=a.label;return r5.createElement(Tg,{key:s,prefixCls:o,style:l,value:s,onClick:i},c)})):null}const i5=window.React;function Rg(e){var t=e.prefixCls,r=e.value,i=e.style,o=e.activeStyle,a=i5.useContext(Yn),s=a.min,l=a.max,c=a.direction,d=a.included,u=a.includedStart,f=a.includedEnd,h="".concat(t,"-dot"),x=d&&u<=r&&r<=f,p=Et(Et({},m2(c,r,s,l)),typeof i=="function"?i(r):i);return x&&(p=Et(Et({},p),typeof o=="function"?o(r):o)),i5.createElement("span",{className:Se(h,v1({},"".concat(h,"-active"),x)),style:p})}const Eo=window.React;function Fg(e){var t=e.prefixCls,r=e.marks,i=e.dots,o=e.style,a=e.activeStyle,s=Eo.useContext(Yn),l=s.min,c=s.max,d=s.step,u=Eo.useMemo(function(){var f=new Set;if(r.forEach(function(x){f.add(x.value)}),i&&d!==null)for(var h=l;h<=c;)f.add(h),h+=d;return Array.from(f)},[l,c,d,i,r]);return Eo.createElement("div",{className:"".concat(t,"-step")},u.map(function(f){return Eo.createElement(Rg,{prefixCls:t,key:f,value:f,style:o,activeStyle:a})}))}const o5=window.React;function a5(e){var t,r=e.prefixCls,i=e.style,o=e.start,a=e.end,s=e.index,l=e.onStartMove,c=e.replaceCls,d=o5.useContext(Yn),u=d.direction,f=d.min,h=d.max,x=d.disabled,p=d.range,m=d.classNames,w="".concat(r,"-track"),E=$l(o,f,h),_=$l(a,f,h),k=function(b){!x&&l&&l(b,-1)},H={};switch(u){case"rtl":H.right="".concat(E*100,"%"),H.width="".concat(_*100-E*100,"%");break;case"btt":H.bottom="".concat(E*100,"%"),H.height="".concat(_*100-E*100,"%");break;case"ttb":H.top="".concat(E*100,"%"),H.height="".concat(_*100-E*100,"%");break;default:H.left="".concat(E*100,"%"),H.width="".concat(_*100-E*100,"%")}var $=c||Se(w,(t={},v1(t,"".concat(w,"-").concat(s+1),s!==null&&p),v1(t,"".concat(r,"-track-draggable"),l),t),m.track);return o5.createElement("div",{className:$,style:Et(Et({},H),i),onMouseDown:k,onTouchStart:k})}const ir=window.React;function Og(e){var t=e.prefixCls,r=e.style,i=e.values,o=e.startPoint,a=e.onStartMove,s=ir.useContext(Yn),l=s.included,c=s.range,d=s.min,u=s.styles,f=s.classNames,h=ir.useMemo(function(){if(!c){if(i.length===0)return[];var p=o??d,m=i[0];return[{start:Math.min(p,m),end:Math.max(p,m)}]}for(var w=[],E=0;E=0?I:!1},[I,Ne]),tt=Te.useMemo(function(){var nt=Object.keys(te||{});return nt.map(function(Le){var ge=te[Le],dt={value:Number(Le)};return ge&&ln(ge)==="object"&&!Te.isValidElement(ge)&&("label"in ge||"style"in ge)?(dt.style=ge.style,dt.label=ge.label):dt.label=ge,dt}).filter(function(Le){var ge=Le.label;return ge||typeof ge=="number"}).sort(function(Le,ge){return Le.value-ge.value})},[te]),Jn=Ig(le,Me,Ne,tt,B,Xt),pn=zt(Jn,2),Jt=pn[0],V1=pn[1],ao=yg(b,{value:C}),Ft=zt(ao,2),f1=Ft[0],so=Ft[1],Kt=Te.useMemo(function(){var nt=f1==null?[]:Array.isArray(f1)?f1:[f1],Le=zt(nt,1),ge=Le[0],dt=ge===void 0?le:ge,lt=f1===null?[]:[dt];if(T){if(lt=on(nt),M||f1===void 0){var Qt=M>=0?M+1:2;for(lt=lt.slice(0,Qt);lt.length=0&&X.current.focus(nt)}lo(null)},[I1]);var rs=Te.useMemo(function(){return P&&Ne===null?!1:P},[P,Ne]),co=function(Le,ge){qn(Le,ge),V==null||V(p1(Y1.current))},uo=Zr!==-1;Te.useEffect(function(){if(!uo){var nt=Kt.lastIndexOf(ts);X.current.focus(nt)}},[uo]);var T1=Te.useMemo(function(){return on(Wr).sort(function(nt,Le){return nt-Le})},[Wr]),Yr=Te.useMemo(function(){return T?[T1[0],T1[T1.length-1]]:[le,T1[0]]},[T1,T,le]),j1=zt(Yr,2),ho=j1[0],fo=j1[1];Te.useImperativeHandle(t,function(){return{focus:function(){X.current.focus(0)},blur:function(){var Le=document,ge=Le.activeElement;q.current.contains(ge)&&(ge==null||ge.blur())}}}),Te.useEffect(function(){x&&X.current.focus(0)},[]);var is=Te.useMemo(function(){return{min:le,max:Me,direction:fe,disabled:u,keyboard:h,step:Ne,included:Y,includedStart:ho,includedEnd:fo,range:T,tabIndex:v,ariaLabelForHandle:A,ariaLabelledByForHandle:S,ariaValueTextFormatterForHandle:U,styles:c||{},classNames:l||{}}},[le,Me,fe,u,h,Ne,Y,ho,fo,T,v,A,S,U,c,l]);return Te.createElement(Yn.Provider,{value:is},Te.createElement("div",{ref:q,className:Se(o,a,(r={},v1(r,"".concat(o,"-disabled"),u),v1(r,"".concat(o,"-vertical"),W),v1(r,"".concat(o,"-horizontal"),!W),v1(r,"".concat(o,"-with-marks"),tt.length),r)),style:s,onMouseDown:Gr},Te.createElement("div",{className:Se("".concat(o,"-rail"),l==null?void 0:l.rail),style:Et(Et({},ee),c==null?void 0:c.rail)}),Te.createElement(Og,{prefixCls:o,style:pe,values:T1,startPoint:he,onStartMove:rs?co:null}),Te.createElement(Fg,{prefixCls:o,marks:tt,dots:ye,style:de,activeStyle:ne}),Te.createElement(Ag,{ref:X,prefixCls:o,style:N,values:Wr,draggingIndex:Zr,onStartMove:co,onOffsetChange:ns,onFocus:p,onBlur:m,handleRender:Re,onChangeComplete:zr}),Te.createElement(Bg,{prefixCls:o,marks:tt,onClick:X1})))});function m4({value:e,onChange:t=()=>!1,min:r=0,max:i,defaultValue:o,className:a="",step:s=1}){const l=$r(c=>{t(c)},0);return n.jsx(Pg,{className:Se(["brandy-component-slider",a]),value:e,onChange:l,min:r,max:i,step:s,defaultValue:o})}const Ng=window.React.useMemo;function re(e){return Ng(()=>g7(e)?Ae:Fe,[e])}function wi({onReset:e,hasChanged:t=!1}){const r=()=>{t&&e()};return n.jsx(zg,{onClick:r,$_css:[{cursor:"pointer","& svg *":{transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms"}},t?{"& svg *":{fill:"#2271B1",stroke:"#2271B1"}}:""],children:n.jsx(_p,{})})}var zg=g("div").withConfig({displayName:"ResetButton___StyledDiv",componentId:"sc-n1cbpg-0"})(["",""],e=>e.$_css);const Zg=window.React.useCallback,Wg=window.React.useContext,s5=window.React.useMemo;function Ua(e){const{builder:t}=Wg(h1),r=re(t)(l=>e.reset_action==="row_settings"?l.changeRowSettings:l.changeElementSettings),i=re(t)(l=>l.previewTemplate),{current:o}=Ce(),a=Zg(()=>{r(l=>{if(l==null)return;const c=window.brandyCustomizerData.elements[e.sectionId]??window.brandyCustomizerData.default_settings[e.sectionId];c&&(e.reset_paths??[]).forEach(d=>{const u=Ie(c.settings,d);xt(l,d,u),y1({sectionId:e.sectionId,settings:gl(d,u),device:o,builder:t,clonedFromId:e.cloned_from}),A3({sectionId:e.sectionId,settings:gl(d,u),device:o,builder:t})})})},[r,e,o,t]),s=s5(()=>{let l,c;window.brandyCustomizerData.elements[e.sectionId]&&(c=window.brandyCustomizerData.elements[e.sectionId],l=i.elements[e.sectionId]),window.brandyCustomizerData.default_settings[e.sectionId]&&(c=window.brandyCustomizerData.default_settings[e.sectionId],["top_header","top_footer"].includes(e.sectionId)&&(l={settings:i.row_configurations.top}),["middle_header","middle_footer"].includes(e.sectionId)&&(l={settings:i.row_configurations.middle}),["bottom_header","bottom_footer"].includes(e.sectionId)&&(l={settings:i.row_configurations.bottom}),(e.sectionId==="header"||e.sectionId==="footer")&&(l=i));let d=!1;return l&&c&&(e.reset_paths??[]).forEach(u=>{if(d==!0)return;const f=Ie(l.settings,u),h=Ie(c.settings,u);Ui(f,h)||(d=!0)},!1),d},[o,e.sectionId,e.reset_paths,i]);return s5(()=>n.jsxs(n.Fragment,{children:[n.jsxs(Gg,{children:[n.jsx(st,{className:Se(["mb-0"]),title:e.title}),n.jsx(wi,{onReset:a,hasChanged:s})]}),e.description&&n.jsx("div",{dangerouslySetInnerHTML:{__html:e.description}})]}),[a,e.title])}var Gg=g("div").withConfig({displayName:"Reset___StyledDiv",componentId:"sc-pc751i-0"})({display:"flex",alignItems:"center",justifyContent:"space-between"});const Ug=window.React.useMemo,Yg=window.React.useState,Xg=[{label:D("Default"),value:"default"},{label:D("Small"),value:"small"},{label:D("Medium"),value:"medium"},{label:D("Large"),value:"large"},{label:D("Custom shadow"),value:"custom"}],Jg={x:{title:D("X offset")},y:{title:D("Y offset")},blur:{title:D("Blur")},spread:{title:D("Spread")}};function Kg(e){const{current:t}=Ce(),r=Ug(()=>_e(e.value,t),[t,e.value]),i=c=>{e.onChange({...r,enabled:c})},o=c=>{e.onChange({...r,type:c})},a=c=>d=>{e.onChange({...r,custom_value:{...r.custom_value,[c]:d}})},[s,l]=Yg(!0);return n.jsxs(qg,{children:[n.jsxs(Qg,{children:[n.jsxs(ex,{children:[n.jsx(st,{title:e.title,className:"mb-0"}),r.enabled&&n.jsx(tx,{onClick:()=>{l(c=>!c)},$_css:[{cursor:"pointer",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms"},s&&"transform: rotate(180deg)"],children:n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M14 8L10 12L6 8",stroke:"#A1ABB7","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),n.jsxs(nx,{children:[n.jsx(Ua,{...e,title:{text:""},reset_paths:[e.value_path]}),n.jsx(Vn,{checked:r.enabled,onChange:i})]})]}),r.enabled&&s&&n.jsxs(rx,{className:"box-shadow-wrapper",children:[n.jsx(et,{options:Xg,selected:r.type,onChange:o}),r.type==="custom"&&n.jsxs(n.Fragment,{children:[n.jsxs(ix,{children:[n.jsx(ox,{children:"Shadow color"}),n.jsx(me,{color:r.custom_value.color??"#cdcdcd",onChange:a("color")})]}),Object.entries(Jg).map(([c,d])=>n.jsxs("div",{children:[n.jsx(ax,{children:d.title}),n.jsxs(sx,{children:[n.jsx(lx,{type:"number",value:r.custom_value[c],min:-10,max:40,onChange:a(c)}),n.jsx(m4,{value:r.custom_value[c],min:-10,max:40,onChange:a(c)})]})]},c))]})]})]})}var qg=g("div")({display:"flex",flexDirection:"column",gap:"1rem"}),Qg=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),ex=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),tx=g("span")`${e=>e.$_css}`,nx=g("div")({display:"flex",alignItems:"center",gap:"0.5rem"}),rx=g("div")({display:"flex",flexDirection:"column",gap:"1rem"}),ix=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),ox=g("span")({"--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),ax=g("div")({"--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),sx=g("div")({marginTop:"0.5rem",display:"flex",alignItems:"center",gap:"0.75rem"}),lx=g(Ue).withConfig({displayName:"BoxShadowBuilder___StyledInput",componentId:"sc-no79k6-0"})({width:"60px"});const cx=window.React.useMemo;function un(e){const{current:t}=Ce(),r=cx(()=>_e(e.value,t),[t,e.value]);return n.jsxs("div",{children:[n.jsx(st,{title:e.title,className:"mb-2"}),n.jsx(mt,{selected:r,options:e.options??[],onChange:e.onChange})]})}const dx=window.React.createElement,ux=window.React.useCallback,hx=window.React.useMemo;function fx(e){return n.jsxs(gx,{children:[n.jsx(st,{title:e.title,className:"mb-0"}),n.jsx(xx,{children:Object.entries(e.value).map((t,r)=>dx(px,{...e,attributeKey:t[0],color:t[1],key:r}))})]})}function px(e){const{current:t}=Ce(),r=hx(()=>_e(e.color,t),[e.color,t]),i=ux(o=>{e.onChange(o,[...e.value_path,e.attributeKey])},[e]);return n.jsx(He,{title:e.attributeKey,style:{textTransform:"capitalize"},children:n.jsx(me,{color:r,onChange:i})})}var gx=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),xx=g("div").withConfig({displayName:"ColorGroupBuilder___StyledDiv2",componentId:"sc-d3agj8-0"})({display:"flex",alignItems:"center",gap:"0.75rem"});const w4=["px","em","rem","%"],v4=({options:e=w4,value:t="px",onChange:r=()=>!1})=>{const i=o=>a=>{a.preventDefault(),r(o)};return n.jsx("div",{className:"flex gap-2",children:e.map(o=>n.jsx("span",{className:Se(["uppercase text-brandy-text-secondary cursor-pointer text-[10px] hover:text-brandy-text",t===o&&"text-wp hover:!text-wp"]),onClick:i(o),children:o},o))})},l5=window.React.useCallback;function Ye({value:e,onChange:t=()=>!1,title:r="Dimension",units:i=w4,min:o=0,max:a=100,hideUnitSelection:s=!1,step:l=1}){const c=$r(h=>{t({...e,unit:h})},0),d=l5(h=>{c(h)},[c]),u=$r(h=>{t({...e,value:h})},0),f=l5(h=>{u(h)},[u]);return n.jsxs("div",{children:[n.jsxs("div",{className:"flex justify-between items-center mb-2",children:[r,!s&&n.jsx(v4,{options:i,value:e.unit,onChange:d})]}),n.jsxs("div",{className:"flex gap-5 items-center",children:[n.jsx(Ue,{type:"number",className:"w-1/3",value:e.value,onChange:f,min:o,max:a,step:l}),n.jsx(m4,{className:"w-2/3",value:e.value,onChange:f,min:o,max:a,step:l})]})]})}const ei=window.React.useMemo;function mx(e){const{current:t}=Ce(),r=ei(()=>_e(e.value,t),[t,e.value]),i=ei(()=>_e(e.default_value,t),[e.default_value,t]),o=ei(()=>i.min??0,[i]),a=ei(()=>i.max??100,[i]);return ei(()=>n.jsx(Ye,{title:n.jsx(st,{title:e.title,className:"mb-0"}),value:r,onChange:e.onChange,units:e.units??["px","em","%"],min:o,max:a,hideUnitSelection:e.hide_units}),[e.title,e.units,r,e.onChange,o,a,e.hide_units])}const c5=window.React.useEffect,wx=window.React.useState,vx="Select image",Cx="Use this image";function yx(e={}){const t=(e==null?void 0:e.title)??vx,r=(e==null?void 0:e.buttonText)??Cx,[i,o]=wx(null);return c5(()=>{const a=window.wp.media({id:"brandy-upload-media",title:t,button:{text:r},multiple:!1,type:"image"});return o(a),a.on("select",function(){e.onSelect&&e.onSelect(a.state().get("selection").first().toJSON().url)}),()=>{window.jQuery('button[type="button"].browser').remove()}},[e.onSelect,t,r,o]),c5(()=>()=>{window.jQuery("#brandy-upload-media").closest('[id^="__wp-uploader-id"]').remove()},[]),{media:i}}function C4({value:e,onChange:t}){const{media:r}=yx({onSelect:t}),i=o=>{o.preventDefault(),r&&r.open()};return n.jsx(n.Fragment,{children:e?n.jsxs(bx,{className:"group",children:[n.jsxs(_x,{children:[n.jsx(jx,{}),e&&n.jsx(Sx,{src:e})]}),n.jsx(Dx,{onClick:i,children:"Change photo"})]}):n.jsx(Ex,{onClick:i,children:"Select photo"})})}var bx=g("div")({position:"relative",display:"flex",width:"100%",flexDirection:"column",gap:"0.5rem"}),_x=g("div")({margin:"auto",height:"200px",width:"100%",overflow:"hidden",borderRadius:"5px",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(240 240 240 / var(--tw-bg-opacity))",backgroundSize:"cover",backgroundPosition:"center",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms"}),jx=g("div")({position:"absolute",left:"0px",top:"0px",height:"100%",width:"100%",cursor:"pointer",borderRadius:"5px",backgroundColor:"transparent",transitionProperty:"background-color",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms",".group:hover &":{backgroundColor:"#00000080"}}),Sx=g("img")({height:"100%",width:"100%",objectFit:"contain"}),Dx=g("button")({visibility:"hidden",position:"absolute",left:"50%",top:"50%",width:"fit-content","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms",".group:hover &":{visibility:"visible",opacity:"1"}}),Ex=g("button").withConfig({displayName:"ImagePicker___StyledButton2",componentId:"sc-i4u663-0"})({width:"100%",borderRadius:"5px",borderWidth:"1px",borderStyle:"dashed","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(248 248 248 / var(--tw-bg-opacity))",padding:"0.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:hover":{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}});const d5=window.React.useMemo;function Hx(e){const{current:t}=Ce(),r=d5(()=>_e(e.value,t),[t,e.value]);return d5(()=>n.jsxs(kx,{children:[n.jsx(st,{title:e.title}),n.jsx(C4,{value:r,onChange:e.onChange})]}),[r,e.onChange,e.title])}var kx=g("div").withConfig({displayName:"ImageBuilder___StyledDiv",componentId:"sc-1enyrgi-0"})({display:"flex",alignItems:"center",justifyContent:"space-between"});const Mx=window.React;function w2(e){const{current:t}=Ce(),r=Mx.useMemo(()=>_e(e.value,t),[t,e.value]);return n.jsxs(Lx,{className:"switcher-builder",$_css2:[{marginBottom:"-4px",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between"},ce(["& + .switcher-builder{margin-top:8px;margin-bottom:0 !important;}"])],children:[n.jsx(st,{title:e.title,className:"!mb-0"}),n.jsx(Vn,{checked:r,onChange:e.onChange}),e.description&&n.jsx($x,{dangerouslySetInnerHTML:{__html:e.description}})]})}var Lx=g("div")`${e=>e.$_css2}`,$x=g("div").withConfig({displayName:"SwitcherBuilder___StyledDiv2",componentId:"sc-10j4p3z-0"})({marginTop:"10px",width:"100%",fontSize:"12px",fontStyle:"italic"});const Ax=window.React.createContext,Cn=window.React.useMemo,Rr=Ax({});function Vx({value:e,children:t,onChange:r,fontSizeMin:i=1,fontSizeMax:o=100,lineHeightMin:a=1,lineHeightMax:s=100,letterSpacingMin:l=1,letterSpacingMax:c=100}){const d=Cn(()=>e.font_size,[e]),u=Cn(()=>e.line_height,[e]),f=Cn(()=>e.letter_spacing,[e]),h=Cn(()=>e.font_style,[e.font_style]),x=Cn(()=>e.transform,[e.transform]),p=Cn(()=>e.decoration,[e.decoration]),m=Cn(()=>({fontSize:d,lineHeight:u,letterSpacing:f,fontStyle:h,transform:x,decoration:p,onChange:r,fontSizeMin:i,fontSizeMax:o,lineHeightMin:a,lineHeightMax:s,letterSpacingMin:l,letterSpacingMax:c}),[d,u,f,h,r,i,o,a,s,l,c,p,x]);return n.jsx(Rr.Provider,{value:m,children:t})}const Ix=window.React.useContext,Tx=window.React.useMemo;function Bx(){const{current:e}=Ce(),{fontSize:t,onChange:r,fontSizeMin:i,fontSizeMax:o}=Ix(Rr),a=l=>{r("font_size",l)},s=Tx(()=>_e(t,e)??{value:16,unit:"px"},[t,e]);return n.jsx("div",{className:"brandy-font-item brandy-font-size",children:n.jsx(Ye,{title:n.jsx(Rx,{children:D("Font size")}),units:["px","em","rem"],value:s,onChange:a,min:i,max:o})})}var Rx=g(Be).withConfig({displayName:"FontSize___StyledStyledSettingLabel",componentId:"sc-16fkzly-0"})({margin:"0px"});const Fx=window.React.forwardRef,Ox=window.React.useEffect,Px=window.React.useMemo,Ls=window.React.useRef,Nx=window.React.useState,zx=window.ReactDOM.createPortal,Zx=ce(["svg{*[fill]{","}*[stroke]{","}}"],{fill:"#2271B1"},{stroke:"#2271B1"}),Al=[{name:"desktop",icon:n.jsx(s4,{})},{name:"tablet",icon:n.jsx(Sp,{})},{name:"mobile",icon:n.jsx(l4,{})}],Wx=Fx(({currentDevice:e,onChange:t},r)=>n.jsx("div",{className:"absolute top-[calc(100%+5px)] left-0 p-[2px] rounded-md flex flex-col gap-[2px] bg-gutenberg-white z-[10]",style:{boxShadow:"2px 4px 10px 0px rgba(105, 116, 132, 0.20)"},ref:r,children:Al.map(i=>n.jsx(Gx,{className:"relative w-[30px] h-[30px] flex items-center justify-center rounded-md dashicons text-brandy-text-secondary transition-all ease-in-out duration-base cursor-pointer hover:bg-blue-50",onClick:()=>t(i.name),$_css2:[e===i.name&&Zx],children:i.icon},i.name))}));function zn(){const{current:e,changeDevice:t}=Ce(),[r,i]=Nx(!1),o=h=>{t(h)},a=Px(()=>Al.find(h=>h.name===e)??Al[0],[e]),s=h=>{h.preventDefault(),i(x=>!x)},l=()=>{i(!1)},c=Ls(null),d=Ls(null),u=Ls(null),f=zx(r?n.jsx(Wx,{currentDevice:e,onChange:o,ref:d}):!1,u.current??document.body);return Ox(()=>{const h=x=>{var p,m;c.current==null&&d.current==null&&l(),!((p=c==null?void 0:c.current)!=null&&p.contains(x.target))&&!((m=d.current)!=null&&m.contains(x.target))&&l()};return window.jQuery(document).on("click","body",h),()=>{window.jQuery(document).off("click","body",h)}},[c.current,d.current]),n.jsxs("div",{className:"relative inline-flex",children:[n.jsx("div",{className:"w-[34px] m-auto transition-all ease-in-out duration-base cursor-pointer inline-flex justify-center",onClick:s,ref:c,children:a.icon},a.name),n.jsx("div",{className:"brandy-selection-popup",ref:u,children:f})]})}var Gx=g("div").withConfig({displayName:"DeviceSwitcher___StyledDiv",componentId:"sc-1sdffvj-0"})(["",""],e=>e.$_css2);const Vl=[{key:"thin_100",weight:100,italic:!1,label:"Thin 100"},{key:"thin_100_italic",weight:100,italic:!0,label:"Thin 100 Italic"},{key:"extra_light_200",weight:200,italic:!1,label:"Extra-Light 200"},{key:"extra_light_200_italic",weight:200,italic:!0,label:"Extra-Light 200 Italic"},{key:"light_300",weight:300,italic:!1,label:"Light 300"},{key:"light_300_italic",weight:300,italic:!0,label:"Light 300 Italic"},{key:"regular",weight:400,italic:!1,label:"Regular 400"},{key:"regular_400_italic",weight:400,italic:!0,label:"Regular 400 Italic"},{key:"medium",weight:500,italic:!1,label:"Medium 500"},{key:"medium_500_italic",weight:500,italic:!0,label:"Medium 500 Italic"},{key:"semibold",weight:600,italic:!1,label:"Semi-bold 600"},{key:"smibold_italic",weight:600,italic:!0,label:"Semi-bold 600 Italic"},{key:"bold",weight:700,italic:!1,label:"Bold 700"},{key:"bold_italic",weight:700,italic:!0,label:"Bold 700 Italic"},{key:"extra_bold",weight:800,italic:!1,label:"Extra-Bold 800"},{key:"extra_bold_italic",weight:800,italic:!0,label:"Extra-Bold 800 Italic"},{key:"ultra_bold",weight:900,italic:!1,label:"Ultra-Bold 900"},{key:"ultra_bold_italic",weight:900,italic:!0,label:"Ultra-Bold 900 Italic"}],Ux=window.React.useContext,$s=window.React.useMemo,Yx=Vl.map(e=>({value:e.key,label:e.label}));function Xx(){const{current:e}=Ce(),{fontStyle:t,onChange:r}=Ux(Rr),i=$s(()=>{var l;return((l=_e(t,e))==null?void 0:l.weight)??400},[e,t]),o=$s(()=>{var l;return((l=_e(t,e))==null?void 0:l.italic)??!1},[e,t]),a=$s(()=>Vl.find(l=>l.weight===i&&l.italic===o),[i,o]),s=l=>{const c=Vl.find(d=>d.key===l);c&&r("font_style",{weight:c.weight,italic:c.italic})};return n.jsxs("div",{children:[n.jsxs(Jx,{children:[n.jsx(Kx,{children:D("Font style")}),n.jsx(zn,{})]}),n.jsx(et,{options:Yx,selected:(a==null?void 0:a.key)??"",onChange:s})]})}var Jx=g("div")({marginBottom:"0.5rem",display:"flex",alignItems:"center",gap:"0.5rem"}),Kx=g(Be).withConfig({displayName:"FontStyle___StyledStyledSettingLabel",componentId:"sc-7wg633-0"})({margin:"0px"});const qx=window.React.useContext,Qx=window.React.useMemo;function em(){const{current:e}=Ce(),{letterSpacing:t,onChange:r,letterSpacingMin:i,letterSpacingMax:o}=qx(Rr),a=l=>{r("letter_spacing",l)},s=Qx(()=>_e(t,e)??{value:0,unit:"px"},[t,e]);return n.jsx("div",{className:"brandy-font-item brandy-letter-spacing",children:n.jsx(Ye,{title:n.jsx(tm,{children:D("Letter spacing")}),units:["px","em","rem"],value:s,onChange:a,min:i,max:o})})}var tm=g(Be).withConfig({displayName:"LetterSpacing___StyledStyledSettingLabel",componentId:"sc-1occtdz-0"})({margin:"0px"});const nm=window.React.useContext,rm=window.React.useMemo;function im(){const{current:e}=Ce(),{lineHeight:t,onChange:r,lineHeightMin:i,lineHeightMax:o}=nm(Rr),a=l=>{r("line_height",l)},s=rm(()=>_e(t,e)??{value:16,unit:"px"},[t,e]);return n.jsx("div",{className:"brandy-font-item brandy-line-height",children:n.jsx(Ye,{title:n.jsx(om,{children:D("Line height")}),units:["px","em","rem"],value:s,onChange:a,min:i,max:o})})}var om=g(Be).withConfig({displayName:"LineHeight___StyledStyledSettingLabel",componentId:"sc-15u33dd-0"})({margin:"0px"});const am=window.React.useContext,u5=window.React.useMemo,mr=g.span({display:"flex",height:"20px",width:"20px",alignItems:"center",justifyContent:"center"}),sm=[{value:"uppercase",label:n.jsx(mr,{children:n.jsx("svg",{width:"19",height:"10",viewBox:"0 0 19 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0.538086 10L4.1748 0.135742H5.3916L9.02832 10H7.73633L6.74512 7.17676H2.82129L1.83008 10H0.538086ZM4.72852 1.72852L3.18359 6.13086H6.38281L4.83789 1.72852H4.72852ZM9.97168 10L13.6084 0.135742H14.8252L18.4619 10H17.1699L16.1787 7.17676H12.2549L11.2637 10H9.97168ZM14.1621 1.72852L12.6172 6.13086H15.8164L14.2715 1.72852H14.1621Z",fill:"#5A6D80"})})})},{value:"normal",label:n.jsx(mr,{children:n.jsx("svg",{width:"17",height:"11",viewBox:"0 0 17 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0.361554 10L3.86155 0.135742H5.85081L9.35081 10H7.50511L6.67796 7.4502H3.02757L2.20726 10H0.361554ZM4.79808 1.96777L3.47191 6.08984H6.24046L4.91429 1.96777H4.79808ZM12.8098 10.123C11.3879 10.123 10.3557 9.24805 10.3557 7.8877V7.87402C10.3557 6.54102 11.3742 5.76172 13.1926 5.65234L15.1135 5.53613V4.89355C15.1135 4.14844 14.6282 3.73828 13.7121 3.73828C12.9328 3.73828 12.427 4.01855 12.2561 4.51074L12.2492 4.53809H10.6428L10.6496 4.47656C10.8137 3.21875 12.0168 2.38477 13.7942 2.38477C15.7151 2.38477 16.7951 3.31445 16.7951 4.89355V10H15.1135V8.97461H14.9973C14.5871 9.69922 13.7942 10.123 12.8098 10.123ZM12.0373 7.80566C12.0373 8.44141 12.5774 8.81738 13.3293 8.81738C14.3547 8.81738 15.1135 8.14746 15.1135 7.25879V6.65723L13.4319 6.7666C12.4817 6.82812 12.0373 7.17676 12.0373 7.79199V7.80566Z",fill:"#5A6D80"})})})},{value:"lowercase",label:n.jsx(mr,{children:n.jsx("svg",{width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M3.35547 8.12988C1.9541 8.12988 0.894531 7.28223 0.894531 5.94238V5.92871C0.894531 4.61621 1.86523 3.85742 3.58105 3.75488L5.69336 3.625V2.95508C5.69336 2.0459 5.13965 1.55371 4.03906 1.55371C3.15723 1.55371 2.57617 1.88184 2.38477 2.45605L2.37793 2.47656H1.18848L1.19531 2.43555C1.38672 1.28027 2.50781 0.500977 4.08008 0.500977C5.87793 0.500977 6.88281 1.42383 6.88281 2.95508V8H5.69336V6.91309H5.58398C5.11914 7.69922 4.34668 8.12988 3.35547 8.12988ZM2.11133 5.91504C2.11133 6.66016 2.74707 7.09766 3.60156 7.09766C4.81152 7.09766 5.69336 6.30469 5.69336 5.25195V4.58203L3.72461 4.70508C2.60352 4.77344 2.11133 5.16992 2.11133 5.90137V5.91504ZM11.0801 8.12988C9.67871 8.12988 8.61914 7.28223 8.61914 5.94238V5.92871C8.61914 4.61621 9.58984 3.85742 11.3057 3.75488L13.418 3.625V2.95508C13.418 2.0459 12.8643 1.55371 11.7637 1.55371C10.8818 1.55371 10.3008 1.88184 10.1094 2.45605L10.1025 2.47656H8.91309L8.91992 2.43555C9.11133 1.28027 10.2324 0.500977 11.8047 0.500977C13.6025 0.500977 14.6074 1.42383 14.6074 2.95508V8H13.418V6.91309H13.3086C12.8438 7.69922 12.0713 8.12988 11.0801 8.12988ZM9.83594 5.91504C9.83594 6.66016 10.4717 7.09766 11.3262 7.09766C12.5361 7.09766 13.418 6.30469 13.418 5.25195V4.58203L11.4492 4.70508C10.3281 4.77344 9.83594 5.16992 9.83594 5.90137V5.91504Z",fill:"#5A6D80"})})})}],lm=[{value:"normal",label:n.jsx(mr,{children:n.jsx("svg",{width:"10",height:"2",viewBox:"0 0 10 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0 0.5H10V2H0V0.5Z",fill:"#5A6D80"})})})},{value:"underline",label:n.jsx(mr,{children:n.jsx("svg",{width:"10",height:"14",viewBox:"0 0 10 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0 13V14H10V13H0ZM5 11C6.5 11 7.6 10.6 8.4 9.8C9.2 9 9.5 7.8 9.5 6.3V0H8V5.8C8 7 7.8 7.9 7.4 8.6C7 9.3 6.2 9.6 5 9.6C3.8 9.6 3 9.3 2.6 8.6C2.2 7.9 2 7 2 5.8V0H0.5V6.2C0.5 7.7 0.9 8.9 1.6 9.7C2.4 10.6 3.5 11 5 11Z",fill:"#5A6D80"})})})},{value:"line-through",label:n.jsx(mr,{children:n.jsx("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M5.1 4V3.5C5.1 2.9 5.3 2.4 5.8 2.1C6.3 1.8 7 1.6 7.8 1.6C8.5 1.6 9.2 1.7 9.9 1.9C10.6 2.1 11.3 2.4 12 2.8L12.2 0.9C11.6 0.6 11 0.4 10.3 0.2C9.5 0.0999998 8.7 0 7.9 0C6.4 0 5.2 0.3 4.3 1C3.5 1.7 3.1 2.5 3.1 3.6V4H5.1ZM16 7H0V8H8.3C8.6 8.1 8.9 8.2 9.1 8.3C9.6 8.5 10 8.8 10.2 9.1C10.5 9.4 10.6 9.8 10.6 10.3C10.6 11 10.4 11.4 9.8 11.8C9.3 12.1 8.6 12.3 7.7 12.3C6.9 12.3 6.1 12.2 5.3 12C4.5 11.8 3.8 11.5 3.1 11.2L3 13.1C3.5 13.3 4.2 13.5 5 13.7C5.8 13.9 6.6 14 7.4 14C9.1 14 10.4 13.7 11.3 13C12.2 12.3 12.6 11.4 12.6 10.2C12.6 9.3 12.4 8.5 11.9 8H16V7Z",fill:"#5A6D80"})})})}];function cm(){const{current:e}=Ce(),{transform:t,decoration:r,onChange:i}=am(Rr),o=u5(()=>_e(t,e),[t,e]),a=u5(()=>_e(r,e)??"normal",[r,e]),s=c=>{i("transform",c)},l=c=>{i("decoration",c)};return n.jsxs("div",{className:"brandy-font-item brandy-font-type",children:[n.jsx(dm,{children:D("Type")}),n.jsxs(um,{children:[n.jsx(mt,{options:sm,selected:o,buttonStyle:"solid",onChange:s}),n.jsx(mt,{options:lm,selected:a,buttonStyle:"solid",onChange:l})]})]})}var dm=g(Be)({marginBottom:"0.5rem"}),um=g("div").withConfig({displayName:"Type___StyledDiv",componentId:"sc-1s138yn-0"})({display:"flex",gap:"1rem"});const hm=window.React.useEffect,As=window.React.useState;function y4({value:e,onChange:t,fontSizeMin:r=1,fontSizeMax:i=100,lineHeightMin:o=1,lineHeightMax:a=100,letterSpacingMin:s=1,letterSpacingMax:l=100}){const[c,d]=As(null),[u,f]=As(null),{styles:h,attributes:x}=_1(c,u),[p,m]=As(!1),w=()=>{m(!0)},E=()=>{m(!1)};return hm(()=>{const _=k=>{c==null&&u==null&&E(),!(u!=null&&u.contains(k.target))&&!(c!=null&&c.contains(k.target))&&E()};return window.jQuery(document).on("click","body",_),()=>{window.jQuery(document).off("click","body",_)}},[c,u]),n.jsx(Vx,{value:e,onChange:t,fontSizeMin:r,fontSizeMax:i,lineHeightMin:o,lineHeightMax:a,letterSpacingMin:s,letterSpacingMax:l,children:n.jsxs(fm,{children:[n.jsx(pm,{onClick:w,ref:d,$_css:[{height:"30px",width:"30px",cursor:"pointer",borderRadius:"9999px",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(255 255 255 / var(--tw-border-opacity))",transitionProperty:"outline",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{outlineStyle:"solid",outlineWidth:"2px",outlineColor:"#0000001A","&:hover":{outlineColor:"#000"}},p&&{outlineColor:"#000"}],children:n.jsx(gm,{children:n.jsx("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0017 2.62506L9.43025 0L2.14453 7.43766L4.71596 10.0627L12.0017 2.62506ZM4.71373 10.0622L2.1423 7.4371L1.28516 10.9372L4.71373 10.0622ZM6 12.6869H0V13.9995H6V12.6869Z",fill:"#A1ABB7"})})})}),p&&n.jsxs(xm,{className:"font-popup",ref:f,style:h.popper,...x.popper,$_css2:[{marginTop:"0.5rem",marginBottom:"0.5rem",minWidth:"280px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{position:"absolute",zIndex:"99999999",display:"flex",flexDirection:"column",gap:"1.25rem"},{borderRadius:"5px",padding:"20px 16px"},{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:[n.jsx(Xx,{}),n.jsx(Bx,{}),n.jsx(im,{}),n.jsx(em,{}),n.jsx(cm,{})]})]})})}var fm=g("div")({position:"relative"}),pm=g("div")`${e=>e.$_css}`,gm=g("span")({position:"relative",left:"50%",top:"50%",display:"inline-block","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%"}),xm=g("div").withConfig({displayName:"TypographyPicker___StyledDiv3",componentId:"sc-wkun31-0"})(["",""],e=>e.$_css2);const mm=window.React,wm=window.React.useCallback;function vm(e){const t=mm.useMemo(()=>e.value,[e.value]),r=wm((i,o)=>{e.onChange(o,[...e.value_path,i])},[e]);return n.jsxs(Cm,{children:[n.jsx(st,{title:e.title,className:"mb-0"}),n.jsx(y4,{value:t,onChange:r})]})}var Cm=g("div").withConfig({displayName:"TypographyBuilder___StyledDiv",componentId:"sc-1r71o9z-0"})({display:"flex",alignItems:"center",justifyContent:"space-between"});const h5=g.span.withConfig({displayName:"EnabledDevices__StyledOptionLabel",componentId:"sc-1joegxg-0"})({display:"flex",alignItems:"center",gap:"0.5rem"}),ym=[{value:"desktop",label:n.jsxs(h5,{children:[n.jsx(s4,{}),n.jsx("span",{children:"Desktop"})]})},{value:"mobile",label:n.jsxs(h5,{children:[n.jsx(l4,{}),n.jsx("span",{children:"Tablet/Mobile"})]})}];function bm(e){return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsx(mt,{multiple:!0,options:ym,onChange:e.onChange,selected:e.value,buttonStyle:"solid"})]})}const _m=window.React.useMemo;function v2(e){const{current:t}=Ce(),r=_m(()=>_e(e.value,t),[t,e.value]);return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsx(Ue,{value:r,onChange:e.onChange,wrapperStyle:{width:"100%"}})]})}const jm=["top","right","bottom","left"];function no({value:e,onChange:t,title:r="Spacing",units:i=["px","em","rem","%"]}){const o=l=>{t({...e,unit:l})},a=l=>c=>{if(typeof c=="string"&&c!="")return;const d={...e};e.is_constraints?(d.top=c,d.left=c,d.bottom=c,d.right=c):d[l]=c,t(d)},s=()=>{const l={...e,is_constraints:!e.is_constraints};l.is_constraints&&(l.right=e.top,l.bottom=e.top,l.left=e.top),t(l)};return n.jsxs("div",{className:"brandy-spacing",children:[n.jsxs("div",{className:"flex justify-between items-center mb-2",children:[n.jsx("div",{children:r}),n.jsx(v4,{options:i,value:e.unit,onChange:o})]}),n.jsxs("div",{className:"flex gap-1 items-start",children:[jm.map(l=>n.jsxs("div",{className:"w-1/4 flex flex-col gap-2 items-center justify-start",children:[n.jsx(Ue,{type:"number",value:e[l],onChange:a(l),min:0}),n.jsx("span",{className:"uppercase text-brandy-text-secondary text-[10px]",children:l})]},l)),n.jsx("div",{onClick:s,className:"mt-2 p-1 cursor-pointer flex items-center justify-center",children:n.jsx("svg",{width:"10",height:"20",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{className:e.is_constraints?"stroke-wp":"",d:"M5 6V14M9 13V15C9 16.0609 8.57857 17.0783 7.82843 17.8284C7.07828 18.5786 6.06087 19 5 19C3.93913 19 2.92172 18.5786 2.17157 17.8284C1.42143 17.0783 1 16.0609 1 15V13M9 7V5C9 3.93913 8.57857 2.92172 7.82843 2.17157C7.07828 1.42143 6.06087 1 5 1C3.93913 1 2.92172 1.42143 2.17157 2.17157C1.42143 2.92172 1 3.93913 1 5V7",stroke:"#5A6D80",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}const Sm=window.React.useMemo;function Dm(e){const{current:t}=Ce(),r=Sm(()=>_e(e.value,t),[t,e.value]);return n.jsx(no,{title:n.jsx(st,{title:e.title,className:"mb-0"}),value:r,onChange:e.onChange,units:e.units??["px","em","%"]})}const Em=window.React.useMemo,Ho=g.span.withConfig({displayName:"AlignmentBuilder__StyledOptionItem",componentId:"sc-1i3hi1g-0"})({display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"}),Hm=[{value:"left",label:n.jsxs(Ho,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.835938",y:"5.5",width:"13",height:"5",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M0.335938 1H8.33594M0.335938 15H8.33594",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Left"})]})},{value:"center",label:n.jsxs(Ho,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"-0.5",y:"0.5",width:"9",height:"5",transform:"matrix(-1 0 0 1 11.5 5)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M14.5 1H0.5M14.5 15H0.5",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Center"})]})},{value:"right",label:n.jsxs(Ho,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"-0.5",y:"0.5",width:"13",height:"5",transform:"matrix(-1 0 0 1 13.6719 5)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M14.6719 1H6.67188M14.6719 15H6.67188",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Right"})]})},{value:"justify",label:n.jsxs(Ho,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.835938",y:"5.5",width:"13",height:"5",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M0.335938 1H8.33594M0.335938 15H8.33594",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Justify"})]})}];function km(e){const t=Em(()=>(e.available_alignments??["left","center","right"]).map(r=>Hm.find(i=>i.value===r)).filter(r=>r!=null),[e.available_alignments]);return n.jsx(un,{...e,options:t})}const Mm=window.React.useMemo,Vs=g.span.withConfig({displayName:"PositionBuilder__StyledOptionItem",componentId:"sc-vce992-0"})({display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"}),Lm=[{value:"left",label:n.jsxs(Vs,{children:[n.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M5.16699 5V11H16.167V5H5.16699ZM0.166992 16H1.66699V0H0.166992V16Z",fill:window.brandyCustomizerData.colors.icon.normal})}),n.jsx("span",{children:"Left"})]})},{value:"bottom",label:n.jsxs(Vs,{children:[n.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"10",height:"5",transform:"matrix(-4.37114e-08 1 1 4.37114e-08 5 2.18557e-08)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 14.5L-1.31134e-07 14.5L0 16L16 16L16 14.5Z",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("span",{children:"Bottom"})]})},{value:"right",label:n.jsxs(Vs,{children:[n.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0.25 11H11.25V5H0.25V11ZM14.75 0V16H16.25V0H14.75Z",fill:window.brandyCustomizerData.colors.icon.normal})}),n.jsx("span",{children:"Right"})]})}];function $m(e){const t=Mm(()=>(e.available_positions??["left","bottom","right"]).map(r=>Lm.find(i=>i.value===r)??null).filter(r=>r!=null),[e.available_positions]);return n.jsx(un,{...e,options:t})}const Am=window.React.useMemo;function C2(e){const{current:t}=Ce(),r=Am(()=>_e(e.value,t),[t,e.value]);return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsx(et,{selected:r,options:e.options??[],onChange:e.onChange}),e.description&&n.jsx(Vm,{dangerouslySetInnerHTML:{__html:e.description}})]})}var Vm=g("div").withConfig({displayName:"DropdownBuilder___StyledDiv",componentId:"sc-133xc9-0"})({marginTop:"0.5rem",fontSize:"12px"});const Im=window.React.useMemo;function Tm(e){const{current:t}=Ce(),r=Im(()=>_e(e.value,t),[t,e.value]);return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsx(mt,{multiple:!0,options:e.options??[],onChange:e.onChange,selected:r,buttonStyle:"solid"})]})}function y2(e){if(e&&!(typeof window>"u")){var t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}}const J=window.React,Ht=window.React.useState,kt=window.React.useEffect,Xn=window.React.useRef,Bm=window.React.memo,f5=window.React.useCallback,p5=window.React.Fragment;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var ue=function(){return ue=Object.assign||function(t){for(var r,i=1,o=arguments.length;i=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),o,a=[],s;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(s)throw s.error}}return a}function b4(){for(var e=[],t=0;t'); background-size: 100%, 6px; background-repeat: repeat; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .colorpicker .color-picker-panel-alpha-bg { position: absolute; width: 100%; height: 100%; border-radius: 4px; } .colorpicker .color-picker-panel-alpha-handler { position: absolute; width: 100%; height: 100%; cursor: grab; } .colorpicker .color-picker-panel-alpha span { position: absolute; top: -3px; height: 14px; width: 14px; padding: 1px 0; margin-left: -7px; border-radius: 50%; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24); border: solid 2px #fff; cursor: grab; } .colorpicker .color-picker-panel-open { display: block; } .colorpicker .color-picker-panel-close { display: none; } .colorpicker .color-picker-panel-inner { position: relative; } .colorpicker .color-picker-panel-preview { height: 30px; width: 30px; overflow: hidden; border-radius: 2px; background-image: url("data:image/png;base64,R0lGODdhCgAKAPAAAOXl5f///ywAAAAACgAKAEACEIQdqXt9GxyETrI279OIgwIAOw=="); } .colorpicker .color-picker-panel-preview span, .colorpicker .color-picker-panel-preview input[type=color] { position: absolute; display: block; height: 100%; width: 30px; border-radius: 2px; } .colorpicker .color-picker-panel-preview span { box-shadow: 0 0 2px #808080 inset; } .colorpicker .color-picker-panel-preview input[type=color] { opacity: 0; } .colorpicker .color-picker-panel-wrap { width: 100%; position: relative; display: flex; flex-direction: column; justify-content: space-between; } .colorpicker .color-picker-panel-wrap-preview { position: absolute; right: 8px; display: none; } .colorpicker .color-picker-panel-wrap-ribbon { height: 8px; } .colorpicker .color-picker-panel-wrap-alpha { height: 8px; } .colorpicker .color-picker-panel-wrap-ribbon { height: 8px; } .colorpicker .color-picker-panel-board { position: relative; margin-bottom: 16px; font-size: 0; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .colorpicker .color-picker-panel-board-hsv { width: 100%; height: 120px; position: relative; z-index: 1; border-radius: 6px; } .colorpicker .color-picker-panel-board-value { border-radius: 6px; position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 2; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMSAxIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48bGluZWFyR3JhZGllbnQgaWQ9Imxlc3NoYXQtZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9InJnYigwLDAsMCkiIHN0b3Atb3BhY2l0eT0iMCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=); background-image: -webkit-linear-gradient(top, transparent 0%, #000000 100%); background-image: -moz-linear-gradient(top, transparent 0%, #000000 100%); background-image: -o-linear-gradient(top, transparent 0%, #000000 100%); background-image: linear-gradient(to bottom, transparent 0%, #000000 100%); } .colorpicker .color-picker-panel-board-saturation { border-radius: 6px; position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 1; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMSAxIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48bGluZWFyR3JhZGllbnQgaWQ9Imxlc3NoYXQtZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0icmdiKDAsMCwwKSIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=); background-image: -webkit-linear-gradient(left, #fff 0%, transparent 100%); background-image: -moz-linear-gradient(left, #fff 0%, transparent 100%); background-image: -o-linear-gradient(left, #fff 0%, transparent 100%); background-image: linear-gradient(to right, #fff 0%, transparent 100%); } .colorpicker .color-picker-panel-board-handler { cursor: grab; cursor: -webkit-grab; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; } .colorpicker .color-picker-panel-board span { position: absolute; border-radius: 10px; width: 14px; height: 14px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24); border: solid 2px #fff; left: -999px; top: -999px; z-index: 2; } .colorpicker .color-picker-panel-params { font-size: 12px; } .colorpicker .color-picker-panel-params-input { overflow: hidden; padding: 2px 8px; } .colorpicker .color-picker-panel-params-hex { width: 52px; } .colorpicker .color-picker-panel-params-lable { padding: 2px 8px; height: 22px; line-height: 18px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .colorpicker .color-picker-panel-params-lable-hex { width: 52px; } .colorpicker .color-picker-panel-params-lable-number, .colorpicker .color-picker-panel-params-lable-alpha { margin-left: 5px; width: 44px; text-transform: uppercase; } .colorpicker .color-picker-panel-params-lable-number:hover { border-radius: 2px; background-color: #eee; box-shadow: 0 0 0 1px #ccc inset; cursor: grab; } .colorpicker .color-picker-panel-params-lable label { float: left; text-align: center; } .colorpicker .color-picker-panel-params-has-alpha input[type=number] { width: 32px; } .colorpicker .color-picker-panel-params input { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; text-align: center; padding: 1px; margin: 0; float: left; border-radius: 2px; border: 1px solid #cacaca; font-family: "Helvetica Neue", Helvetica, sans-serif; } .colorpicker .color-picker-trigger { border: 1px solid #999; display: inline-block; padding: 2px; border-radius: 2px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; width: 20px; height: 20px; cursor: grab; box-shadow: 0 0 0 2px #fff inset; } .colorpicker .color-picker-trigger-open { box-shadow: 0px 0px 3px #999; } .color-picker-panel-params-has-alpha .color-picker-panel-params-lable-number, .color-picker-panel-params-has-alpha .color-picker-panel-params-lable-alpha { width: 32px; } .color-picker { position: absolute; left: -9999px; top: -9999px; z-index: 1000; } .color-picker-wrap { display: inline-block; } .color-picker-slide-up-enter { animation-duration: 0.3s; animation-fill-mode: both; transform-origin: 0 0; display: block !important; opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); animation-play-state: paused; } .color-picker-slide-up-appear { animation-duration: 0.3s; animation-fill-mode: both; transform-origin: 0 0; display: block !important; opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); animation-play-state: paused; } .color-picker-slide-up-leave { animation-duration: 0.3s; animation-fill-mode: both; transform-origin: 0 0; display: block !important; opacity: 1; animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); animation-play-state: paused; } .color-picker-slide-up-enter.color-picker-slide-up-enter-active.color-picker-placement-bottomLeft, .color-picker-slide-up-enter.color-picker-slide-up-enter-active.color-picker-placement-bottomRight, .color-picker-slide-up-appear.color-picker-slide-up-appear-active.color-picker-placement-bottomLeft, .color-picker-slide-up-appear.color-picker-slide-up-appear-active.color-picker-placement-bottomRight { animation-name: rcColorPickerSlideUpIn; animation-play-state: running; } .color-picker-slide-up-enter.color-picker-slide-up-enter-active.color-picker-placement-topLeft, .color-picker-slide-up-enter.color-picker-slide-up-enter-active.color-picker-placement-topRight, .color-picker-slide-up-appear.color-picker-slide-up-appear-active.color-picker-placement-topLeft, .color-picker-slide-up-appear.color-picker-slide-up-appear-active.color-picker-placement-topRight { animation-name: rcColorPickerSlideDownIn; animation-play-state: running; } .color-picker-slide-up-leave.color-picker-slide-up-leave-active.color-picker-placement-bottomLeft, .color-picker-slide-up-leave.color-picker-slide-up-leave-active.color-picker-placement-bottomRight { animation-name: rcColorPickerSlideUpOut; animation-play-state: running; } .color-picker-slide-up-leave.color-picker-slide-up-leave-active.color-picker-placement-topLeft, .color-picker-slide-up-leave.color-picker-slide-up-leave-active.color-picker-placement-topRight { animation-name: rcColorPickerSlideDownOut; animation-play-state: running; } .gradient-interaction { flex-direction: column; display: flex; z-index: 1; } .gradient-interaction .gradient-result { height: 74px; width: 100%; position: relative; border-radius: 6px; margin-top: 18px; flex-grow: 1; font-size: 16px; } .gradient-interaction .gradient-result:hover .gradient-angle { opacity: 1; } .gradient-interaction .gradient-result .gradient-mode { height: 32px; width: 32px; position: relative; top: 20px; left: 16px; border: 2px solid white; border-radius: 0.15em; cursor: pointer; opacity: 0.25; transition: all 0.3s; } .gradient-interaction .gradient-result .gradient-mode::before { position: absolute; content: ""; top: 0; right: 0; bottom: 0; left: 0; margin: auto; transition: all 0.3s; } .gradient-interaction .gradient-result .gradient-mode:hover { opacity: 1; } .gradient-interaction .gradient-result .gradient-mode[data-mode=linear]::before { height: 2px; width: 70%; background: white; transform: rotate(45deg); border-radius: 50em; } .gradient-interaction .gradient-result .gradient-mode[data-mode=radial]::before { height: 50%; width: 50%; border-radius: 100%; border: 2px solid white; background-color: white; } .gradient-interaction .gradient-result .gradient-mode[data-mode=radial]::before + .gradient-angle { opacity: 0; } .gradient-interaction .gradient-result .gradient-mode[data-mode=radial] + .gradient-angle { opacity: 0; } .gradient-interaction .gradient-result .gradient-angle { height: 0.35em; width: 0.35em; background: white; border-radius: 100%; top: 0; right: 0; bottom: 0; left: 0; transition: all 0.3s; position: absolute; margin: auto; opacity: 0.25; } .gradient-interaction .gradient-result .gradient-angle > div { height: 2px; width: 2em; top: 0; right: 0; bottom: 0; left: 50%; position: absolute; background: white; border-radius: 1em; margin: auto 0; transform-origin: left; } .gradient-interaction .gradient-result .gradient-pos { height: 5em; width: 5em; display: grid; display: -ms-grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; -ms-grid-columns: 1fr 1fr 1fr; -ms-grid-rows: 1fr 1fr 1fr; opacity: 1; top: 0; right: 0; bottom: 0; left: 0; transition: all 0.3s; position: absolute; margin: auto; } .gradient-interaction .gradient-result .gradient-pos > div { height: 15px; width: 15px; border: 2px solid transparent; position: relative; margin: auto; transition: all 0.3s; } .gradient-interaction .gradient-result .gradient-pos > div:not(.gradient-active) { cursor: pointer; } .gradient-interaction .gradient-result .gradient-pos > div::before { position: absolute; content: ""; top: 0; right: 0; bottom: 0; left: 0; height: 5px; width: 5px; border-radius: 100%; background: white; transition: all 0.3s; opacity: 0.25; margin: auto; } .gradient-interaction .gradient-result .gradient-pos > div:hover::before { opacity: 1; } .gradient-interaction .gradient-result .gradient-pos > div.gradient-active { border-color: white; border-radius: 100%; } .gradient-interaction .gradient-result .gradient-pos > div.gradient-active::before { opacity: 1; } .gradient-interaction .gradient-stops { margin-top: 18px; } .gradient-interaction .gradient-stops .gradient-stop-preview { height: 8px; width: 100%; border-radius: 6px; position: relative; overflow: hidden; cursor: pointer; } .gradient-interaction .gradient-stops .gradient-stop-preview::before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8, '); background-size: 8px; border-radius: 4px; z-index: -1; } .gradient-interaction .gradient-stops .gradient-stop-marker { position: relative; z-index: 1; } .gradient-interaction .gradient-stops .gradient-stop-marker .gradient-marker { height: 14px; width: 14px; position: absolute; background: currentColor; margin: -11px 0 0 -7px; border-radius: 100%; border: 2px solid white; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24); transition: opacity 0.15s; cursor: grab; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .gradient-interaction .gradient-stops .gradient-stop-marker .gradient-marker::before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8, '); background-size: 4px; border-radius: 100%; z-index: -1; } .gradient-interaction .gradient-stops .gradient-stop-marker .gradient-marker.hide { opacity: 0; } .gradient-interaction .gradient-stops .gradient-stop-marker .gradient-marker.active { border-width: 3px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.6); } .default-color-panel { display: grid; grid-template-columns: repeat(auto-fill, 30px); grid-gap: 6px; justify-content: space-between; margin: 14px -16px 0px -16px; padding: 2px 16px 1px 16px; overflow: auto; max-height: 105px; } .default-color-panel .default-color-panel_item { height: 30px; width: 30px; cursor: pointer; position: relative; outline: none; border-radius: 4px; box-shadow: 0px 0px 0px 1px #bbbfc5; } .default-color-panel .default-color-panel_item.default-color-panel_item-active { user-select: none; } .default-color-panel .default-color-panel_item.default-color-panel_item-active .item_qub { position: absolute; inset: 35%; background: white; border-radius: 50%; opacity: 1; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.38); } @keyframes rcColorPickerSlideUpIn { 0% { opacity: 0; transform-origin: 0% 0%; transform: scaleY(0); } 100% { opacity: 1; transform-origin: 0% 0%; transform: scaleY(1); } } @keyframes rcColorPickerSlideUpOut { 0% { opacity: 1; transform-origin: 0% 0%; transform: scaleY(1); } 100% { opacity: 0; transform-origin: 0% 0%; transform: scaleY(0); } } @keyframes rcColorPickerSlideDownIn { 0% { opacity: 0; transform-origin: 100% 100%; transform: scaleY(0); } 100% { opacity: 1; transform-origin: 100% 100%; transform: scaleY(1); } } @keyframes rcColorPickerSlideDownOut { 0% { opacity: 1; transform-origin: 100% 100%; transform: scaleY(1); } 100% { opacity: 0; transform-origin: 100% 100%; transform: scaleY(0); } }`);function Fm(e){var t={exports:{}};return e(t,t.exports),t.exports}var Je=Fm(function(e){(function(t){var r=/^\s+/,i=/\s+$/,o=0,a=t.round,s=t.min,l=t.max,c=t.random;function d(v,A){if(v=v||"",A=A||{},v instanceof d)return v;if(!(this instanceof d))return new d(v,A);var S=u(v);this._originalInput=v,this._r=S.r,this._g=S.g,this._b=S.b,this._a=S.a,this._roundA=a(100*this._a)/100,this._format=A.format||S.format,this._gradientType=A.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=S.ok,this._tc_id=o++}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var v=this.toRgb();return(v.r*299+v.g*587+v.b*114)/1e3},getLuminance:function(){var v=this.toRgb(),A,S,U,X,q,fe;return A=v.r/255,S=v.g/255,U=v.b/255,A<=.03928?X=A/12.92:X=t.pow((A+.055)/1.055,2.4),S<=.03928?q=S/12.92:q=t.pow((S+.055)/1.055,2.4),U<=.03928?fe=U/12.92:fe=t.pow((U+.055)/1.055,2.4),.2126*X+.7152*q+.0722*fe},setAlpha:function(v){return this._a=L(v),this._roundA=a(100*this._a)/100,this},toHsv:function(){var v=p(this._r,this._g,this._b);return{h:v.h*360,s:v.s,v:v.v,a:this._a}},toHsvString:function(){var v=p(this._r,this._g,this._b),A=a(v.h*360),S=a(v.s*100),U=a(v.v*100);return this._a==1?"hsv("+A+", "+S+"%, "+U+"%)":"hsva("+A+", "+S+"%, "+U+"%, "+this._roundA+")"},toHsl:function(){var v=h(this._r,this._g,this._b);return{h:v.h*360,s:v.s,l:v.l,a:this._a}},toHslString:function(){var v=h(this._r,this._g,this._b),A=a(v.h*360),S=a(v.s*100),U=a(v.l*100);return this._a==1?"hsl("+A+", "+S+"%, "+U+"%)":"hsla("+A+", "+S+"%, "+U+"%, "+this._roundA+")"},toHex:function(v){return w(this._r,this._g,this._b,v)},toHexString:function(v){return"#"+this.toHex(v)},toHex8:function(v){return E(this._r,this._g,this._b,this._a,v)},toHex8String:function(v){return"#"+this.toHex8(v)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(W(this._r,255)*100)+"%",g:a(W(this._g,255)*100)+"%",b:a(W(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(W(this._r,255)*100)+"%, "+a(W(this._g,255)*100)+"%, "+a(W(this._b,255)*100)+"%)":"rgba("+a(W(this._r,255)*100)+"%, "+a(W(this._g,255)*100)+"%, "+a(W(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:I[w(this._r,this._g,this._b,!0)]||!1},toFilter:function(v){var A="#"+_(this._r,this._g,this._b,this._a),S=A,U=this._gradientType?"GradientType = 1, ":"";if(v){var X=d(v);S="#"+_(X._r,X._g,X._b,X._a)}return"progid:DXImageTransform.Microsoft.gradient("+U+"startColorstr="+A+",endColorstr="+S+")"},toString:function(v){var A=!!v;v=v||this._format;var S=!1,U=this._a<1&&this._a>=0,X=!A&&U&&(v==="hex"||v==="hex6"||v==="hex3"||v==="hex4"||v==="hex8"||v==="name");return X?v==="name"&&this._a===0?this.toName():this.toRgbString():(v==="rgb"&&(S=this.toRgbString()),v==="prgb"&&(S=this.toPercentageRgbString()),(v==="hex"||v==="hex6")&&(S=this.toHexString()),v==="hex3"&&(S=this.toHexString(!0)),v==="hex4"&&(S=this.toHex8String(!0)),v==="hex8"&&(S=this.toHex8String()),v==="name"&&(S=this.toName()),v==="hsl"&&(S=this.toHslString()),v==="hsv"&&(S=this.toHsvString()),S||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(v,A){var S=v.apply(null,[this].concat([].slice.call(A)));return this._r=S._r,this._g=S._g,this._b=S._b,this.setAlpha(S._a),this},lighten:function(){return this._applyModification(C,arguments)},brighten:function(){return this._applyModification(b,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(k,arguments)},saturate:function(){return this._applyModification(H,arguments)},greyscale:function(){return this._applyModification($,arguments)},spin:function(){return this._applyModification(M,arguments)},_applyCombination:function(v,A){return v.apply(null,[this].concat([].slice.call(A)))},analogous:function(){return this._applyCombination(Z,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(z,arguments)},triad:function(){return this._applyCombination(V,arguments)},tetrad:function(){return this._applyCombination(F,arguments)}},d.fromRatio=function(v,A){if(typeof v=="object"){var S={};for(var U in v)v.hasOwnProperty(U)&&(U==="a"?S[U]=v[U]:S[U]=ee(v[U]));v=S}return d(v,A)};function u(v){var A={r:0,g:0,b:0},S=1,U=null,X=null,q=null,fe=!1,le=!1;return typeof v=="string"&&(v=Re(v)),typeof v=="object"&&(ye(v.r)&&ye(v.g)&&ye(v.b)?(A=f(v.r,v.g,v.b),fe=!0,le=String(v.r).substr(-1)==="%"?"prgb":"rgb"):ye(v.h)&&ye(v.s)&&ye(v.v)?(U=ee(v.s),X=ee(v.v),A=m(v.h,U,X),fe=!0,le="hsv"):ye(v.h)&&ye(v.s)&&ye(v.l)&&(U=ee(v.s),q=ee(v.l),A=x(v.h,U,q),fe=!0,le="hsl"),v.hasOwnProperty("a")&&(S=v.a)),S=L(S),{ok:fe,format:v.format||le,r:s(255,l(A.r,0)),g:s(255,l(A.g,0)),b:s(255,l(A.b,0)),a:S}}function f(v,A,S){return{r:W(v,255)*255,g:W(A,255)*255,b:W(S,255)*255}}function h(v,A,S){v=W(v,255),A=W(A,255),S=W(S,255);var U=l(v,A,S),X=s(v,A,S),q,fe,le=(U+X)/2;if(U==X)q=fe=0;else{var Me=U-X;switch(fe=le>.5?Me/(2-U-X):Me/(U+X),U){case v:q=(A-S)/Me+(A1&&(tt-=1),tt<1/6?Ne+(Xt-Ne)*6*tt:tt<1/2?Xt:tt<2/3?Ne+(Xt-Ne)*(2/3-tt)*6:Ne}if(A===0)U=X=q=S;else{var le=S<.5?S*(1+A):S+A-S*A,Me=2*S-le;U=fe(Me,le,v+1/3),X=fe(Me,le,v),q=fe(Me,le,v-1/3)}return{r:U*255,g:X*255,b:q*255}}function p(v,A,S){v=W(v,255),A=W(A,255),S=W(S,255);var U=l(v,A,S),X=s(v,A,S),q,fe,le=U,Me=U-X;if(fe=U===0?0:Me/U,U==X)q=0;else{switch(U){case v:q=(A-S)/Me+(A>1)+720)%360;--A;)U.h=(U.h+X)%360,q.push(d(U));return q}function B(v,A){A=A||6;for(var S=d(v).toHsv(),U=S.h,X=S.s,q=S.v,fe=[],le=1/A;A--;)fe.push(d({h:U,s:X,v:q})),q=(q+le)%1;return fe}d.mix=function(v,A,S){S=S===0?0:S||50;var U=d(v).toRgb(),X=d(A).toRgb(),q=S/100,fe={r:(X.r-U.r)*q+U.r,g:(X.g-U.g)*q+U.g,b:(X.b-U.b)*q+U.b,a:(X.a-U.a)*q+U.a};return d(fe)},d.readability=function(v,A){var S=d(v),U=d(A);return(t.max(S.getLuminance(),U.getLuminance())+.05)/(t.min(S.getLuminance(),U.getLuminance())+.05)},d.isReadable=function(v,A,S){var U=d.readability(v,A),X,q;switch(q=!1,X=$e(S),X.level+X.size){case"AAsmall":case"AAAlarge":q=U>=4.5;break;case"AAlarge":q=U>=3;break;case"AAAsmall":q=U>=7;break}return q},d.mostReadable=function(v,A,S){var U=null,X=0,q,fe,le,Me;S=S||{},fe=S.includeFallbackColors,le=S.level,Me=S.size;for(var Ne=0;NeX&&(X=q,U=d(A[Ne]));return d.isReadable(v,U,{level:le,size:Me})||!fe?U:(S.includeFallbackColors=!1,d.mostReadable(v,["#fff","#000"],S))};var O=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},I=d.hexNames=P(O);function P(v){var A={};for(var S in v)v.hasOwnProperty(S)&&(A[v[S]]=S);return A}function L(v){return v=parseFloat(v),(isNaN(v)||v<0||v>1)&&(v=1),v}function W(v,A){he(v)&&(v="100%");var S=pe(v);return v=s(A,l(0,parseFloat(v))),S&&(v=parseInt(v*A,10)/100),t.abs(v-A)<1e-6?1:v%A/parseFloat(A)}function Q(v){return s(1,l(0,v))}function Y(v){return parseInt(v,16)}function he(v){return typeof v=="string"&&v.indexOf(".")!=-1&&parseFloat(v)===1}function pe(v){return typeof v=="string"&&v.indexOf("%")!=-1}function N(v){return v.length==1?"0"+v:""+v}function ee(v){return v<=1&&(v=v*100+"%"),v}function de(v){return t.round(parseFloat(v)*255).toString(16)}function ne(v){return Y(v)/255}var te=function(){var v="[-\\+]?\\d+%?",A="[-\\+]?\\d*\\.\\d+%?",S="(?:"+A+")|(?:"+v+")",U="[\\s|\\(]+("+S+")[,|\\s]+("+S+")[,|\\s]+("+S+")\\s*\\)?",X="[\\s|\\(]+("+S+")[,|\\s]+("+S+")[,|\\s]+("+S+")[,|\\s]+("+S+")\\s*\\)?";return{CSS_UNIT:new RegExp(S),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+X),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+X),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+X),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ye(v){return!!te.CSS_UNIT.exec(v)}function Re(v){v=v.replace(r,"").replace(i,"").toLowerCase();var A=!1;if(O[v])v=O[v],A=!0;else if(v=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S;return(S=te.rgb.exec(v))?{r:S[1],g:S[2],b:S[3]}:(S=te.rgba.exec(v))?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=te.hsl.exec(v))?{h:S[1],s:S[2],l:S[3]}:(S=te.hsla.exec(v))?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=te.hsv.exec(v))?{h:S[1],s:S[2],v:S[3]}:(S=te.hsva.exec(v))?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=te.hex8.exec(v))?{r:Y(S[1]),g:Y(S[2]),b:Y(S[3]),a:ne(S[4]),format:A?"name":"hex8"}:(S=te.hex6.exec(v))?{r:Y(S[1]),g:Y(S[2]),b:Y(S[3]),format:A?"name":"hex"}:(S=te.hex4.exec(v))?{r:Y(S[1]+""+S[1]),g:Y(S[2]+""+S[2]),b:Y(S[3]+""+S[3]),a:ne(S[4]+""+S[4]),format:A?"name":"hex8"}:(S=te.hex3.exec(v))?{r:Y(S[1]+""+S[1]),g:Y(S[2]+""+S[2]),b:Y(S[3]+""+S[3]),format:A?"name":"hex"}:!1}function $e(v){var A,S;return v=v||{level:"AA",size:"small"},A=(v.level||"AA").toUpperCase(),S=(v.size||"small").toLowerCase(),A!=="AA"&&A!=="AAA"&&(A="AA"),S!=="small"&&S!=="large"&&(S="small"),{level:A,size:S}}e.exports?e.exports=d:window.tinycolor=d})(Math)}),Il=function(e){var t={hex:"#ffffff",alpha:100},r=Je(e);if(e)if(r.isValid()&&!e.trim().startsWith("radial-gradient")&&!e.trim().startsWith("linear-gradient"))t.hex=r.toHexString(),t.alpha=Math.round(r.getAlpha()*100);else return t;return t},_4=function(e,t){var r=yt(Ht(e),2),i=r[0],o=r[1];return kt(function(){var a=setTimeout(function(){o(e)},t);return function(){clearTimeout(a)}},[e,t]),i},Om=[{angle:"0",name:"to top"},{angle:"45",name:"to top right"},{angle:"45",name:"to right top"},{angle:"90",name:"to right"},{angle:"135",name:"to right bottom"},{angle:"135",name:"to bottom right"},{angle:"180",name:"to bottom"},{angle:"225",name:"to left bottom"},{angle:"225",name:"to bottom left"},{angle:"270",name:"to left"},{angle:"315",name:"to top left"},{angle:"315",name:"to left top"}],j4=function(e){var t,r,i=Je(e),o={stops:[["rgba(0, 0, 0, 1)",0,0],["rgba(183, 80, 174, 0.92)",1,1]],gradient:"linear-gradient(180deg, rgba(6, 6, 6, 1) 0.0%, rgba(183, 80, 174, 0.92) 100.0%)",modifier:180,type:"linear"};if(e==="transparent")return o;if(i.isValid()&&!e.trim().startsWith("radial-gradient")&&!e.trim().startsWith("linear-gradient")){var a=i.toRgbString();return a&&(o.stops=[["rgba(0, 0, 0, 1)",0,0],[a,1,1]],o.gradient="linear-gradient(180deg, rgba(6, 6, 6, 1) 0.0%, "+a+" 100.0%)"),o}else{e=e.replace(";","").replace("background-image:","");var s=S4(e),l=[],c="";if(s==="Failed to find gradient"||s==="Not correct position")return console.warn("Incorrect gradient value"),o;typeof s!="string"&&(l=s.stops,c=s.angle?s.angle:s.line);var d=yt(e.match(/^(\w+)-gradient\((.*)\)$/i)||[],3),u=d[1],f=d[2];if(!u||!f)return console.warn("Incorrect gradient value"),o;var h=(t=Om.find(function(m){return m.name===c}))===null||t===void 0?void 0:t.angle,x=u==="linear"?"180":"circle at center",p=h||c||x;return{gradient:u+"-gradient("+(typeof s!="string"?s.original:e)+")",type:u,modifier:p.match(/\d+/)!==null?Number((r=p.match(/\d+/))===null||r===void 0?void 0:r.join("")):p,stops:l.map(function(m,w){var E=[""+m.color,w];return(m.position||m.position===0)&&E.splice(1,0,m.position),E})}}},vi=function(e,t,r,i){var o=Je(e),a,s=i||o.getAlpha()*100;switch(t){case"rgb":a=o.toRgbString();break;case"hsl":a=o.toHslString();break;case"hex":r&&s!==100?a=o.toHex8String():a=o.toHexString();break;default:a="";break}return a},N1=function(e,t,r,i,o){i===void 0&&(i="rgb");var a="";switch(e){case"linear":typeof r=="number"&&(a="linear-gradient("+r+"deg, "+t.map(function(s){return vi(s[0],i,o)+" "+Math.round(s[1]*100).toFixed(2)+"%"})+")"),typeof r=="string"&&(a="linear-gradient("+r+", "+t.map(function(s){return vi(s[0],i,o)+" "+Math.round(s[1]*100).toFixed(2)+"%"})+")");break;case"radial":a="radial-gradient("+r+", "+t.map(function(s){return vi(s[0],i,o)+" "+Math.round(s[1]*100).toFixed(2)+"%"})+")";break}return a},Pi=function(e){if(e){if(e.toLowerCase()==="transparent")return[0,0,0,0];if(e[0]==="#")return e.length<7&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+(e.length>4?e[4]+e[4]:"")),[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16),e.length>7?parseInt(e.substr(7,2),16)/255:1];if(e.indexOf("rgb")===0)return e+=",1",e.match(/[\.\d]+/g).map(function(t){return+t})}},Ni=function(e){if(!Array.isArray(e)||e.length<3||e.length>4)return"";var t=e.map(function(r){var i=(+r).toString(16);return i.length===1&&(i="0"+i),i},[]);return~t.indexOf("NaN")?"":"#"+t.join("")},Pm=function(e){return!!Ni(e)},or=function(e,t){return new RegExp(e.reduce(function(r,i){return r+(typeof i=="string"?i:i.source)},""),t)},Nm=function(){var e="gi",t=/(?:[+-]?\d*\.?\d+)(?:deg|grad|rad|turn)/,r=/to\s+((?:(?:left|right)(?:\s+(?:top|bottom))?))/,i=/circle at\s+((?:(?:left|right|center|top|bottom)(?:\s+(?:left|right|center|top|bottom))?))/,o=/\s*,\s*/,a=/\#(?:[a-f0-9]{6,8}|[a-f0-9]{3})/,s=/\(\s*(?:\d{1,3}%?\s*,\s*){2}%?\d{1,3}%?\s*\)/,l=/\(\s*(?:\d{1,3}%?\s*,\s*){2}%?\d{1,3}%?\s*,\s*\d*\.?\d+\)/,c=/(?:[+-]?\d*\.?\d+)(?:%|[a-z]+)?/,d=/[_a-z-][_a-z0-9-]*/,u=or(["(?:",a,"|","(?:rgb|hsl)",s,"|","(?:rgba|hsla)",l,"|",d,")"],""),f=or([u,"(?:\\s+",c,"(?:\\s+",c,")?)?"],""),h=or(["(?:",f,o,")*",f],""),x=or(["(?:(",t,")|",r,"|",i,")"],""),p=or(["(?:(",x,")",o,")?(",h,")"],e),m=or(["\\s*(",u,")","(?:\\s+","(",c,"))?","(?:",o,"\\s*)?"],e);return{gradientSearch:p,colorStopSearch:m}},zm=function(e,t){var r={stops:[],angle:"",line:"",original:""},i,o,a;if(e.gradientSearch.lastIndex=0,i=e.gradientSearch.exec(t),i!==null)for(r=ue(ue({},r),{original:i[0]}),i[1]&&(r.line=i[1]),i[2]&&(r.angle=i[2]),i[3]&&(r.sideCorner=i[3]),e.colorStopSearch.lastIndex=0,o=e.colorStopSearch.exec(i[5]);o!==null;){var s=Je(o[1]);a={color:s.toRgbString()},o[2]&&(a.position=Number((parseInt(o[2],10)/100).toFixed(2))),r.stops.push(a),o=e.colorStopSearch.exec(i[5])}return r},S4=function(e){var t=Nm(),r,i=/.*gradient\s*\(((?:\([^\)]*\)|[^\)\(]*)*)\)/,o=i.exec(e);return o!==null?(r=zm(t,o[1]),r.original.trim()!==o[1].trim()&&(r.parseWarning=!0),r.stops.every(function(a){return a.hasOwnProperty("position")})===!1&&(r="Not correct position")):r="Failed to find gradient",r},b2=function(){function e(t){var r=this;this.initRgb=function(){var o=r.color.toRgb(),a=o.r,s=o.g,l=o.b;r.redValue=a,r.greenValue=s,r.blueValue=l},this.initHsb=function(){var o=r.color.toHsv(),a=o.h,s=o.s,l=o.v;r.hueValue=a,r.saturationValue=s,r.brightnessValue=l},this.toHexString=function(){return r.color.toHexString()},this.toRgbString=function(){return r.color.toRgbString()},this.toHsv=function(){return r.color.toHsv()},this.color=Je(t),this.initRgb(),this.initHsb();var i=this.color.toRgb().a;this.alphaValue=Math.min(1,i)*100,this.hueValue=this.color.toHsv().h,this.saturationValue=this.color.toHsv().s,this.brightnessValue=this.color.toHsv().v,this.redValue=this.color.toRgb().r,this.greenValue=this.color.toRgb().g,this.blueValue=this.color.toRgb().b,this.lightnessValue=0}return e.isValidHex=function(t){return Je(t).isValid()},Object.defineProperty(e.prototype,"hex",{get:function(){return this.color.toHex()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hue",{get:function(){return this.hueValue},set:function(t){this.color=Je({h:t,s:this.saturation,v:this.brightness}),this.initRgb(),this.hueValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"saturation",{get:function(){return this.saturationValue},set:function(t){this.color=Je({h:this.hue,s:t,v:this.brightness}),this.initRgb(),this.saturationValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lightness",{get:function(){return this.lightnessValue},set:function(t){this.color=Je({h:this.hue,s:this.saturation,l:t}),this.initRgb(),this.lightnessValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"brightness",{get:function(){return this.brightnessValue},set:function(t){this.color=Je({h:this.hue,s:this.saturation,v:t}),this.initRgb(),this.brightnessValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"red",{get:function(){return this.redValue},set:function(t){var r=this.color.toRgb();this.color=Je(ue(ue({},r),{r:t})),this.initHsb(),this.redValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"green",{get:function(){return this.greenValue},set:function(t){var r=this.color.toRgb();this.color=Je(ue(ue({},r),{g:t})),this.initHsb(),this.greenValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blue",{get:function(){return this.blueValue},set:function(t){var r=this.color.toRgb();this.color=Je(ue(ue({},r),{b:t})),this.initHsb(),this.blueValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this.color.getAlpha()*100},set:function(t){this.color.setAlpha(t/100)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"RGB",{get:function(){return[this.red,this.green,this.blue]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HSB",{get:function(){return[this.hue,this.saturation,this.brightness]},enumerable:!1,configurable:!0}),e}(),Zm=200,Wm=150,Gm=function(e){var t=e.rootPrefixCls,r=e.color,i=e.colorBoardHeight,o=e.onChange,a=e.setChange,s=Xn(),l=function(){a(!1),window.removeEventListener("mousemove",x),window.removeEventListener("mouseup",p)},c=function(){a(!1),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",h)};kt(function(){return function(){l(),c()}},[]);var d=function(C){C.preventDefault();var b=C.buttons;if(b===1){l();var T=C.clientX,M=C.clientY;w({x:T,y:M}),window.addEventListener("mousemove",x),window.addEventListener("mouseup",p)}},u=function(C){if(C.cancelable&&C.preventDefault(),C.touches.length===1){c();var b=C.targetTouches[0].clientX,T=C.targetTouches[0].clientY;w({x:b,y:T}),window.addEventListener("touchmove",f,{passive:!1}),window.addEventListener("touchend",h,{passive:!1})}},f=function(C){C.cancelable&&C.preventDefault();var b=C.targetTouches[0].clientX,T=C.targetTouches[0].clientY;w({x:b,y:T})},h=function(){c()},x=function(C){C.preventDefault();var b=C.clientX,T=C.clientY;w({x:b,y:T})},p=function(C){C.preventDefault();var b=C.clientX,T=C.clientY;w({x:b,y:T}),l()},m=function(){return t+"-board"},w=function(C){var b=s&&s.current.getBoundingClientRect(),T=C.x-b.left,M=C.y-b.top,j=b.width||Zm,V=b.height||Wm;T=Math.max(0,T),T=Math.min(T,j),M=Math.max(0,M),M=Math.min(M,V),r.saturation=T/j,r.brightness=1-M/V,o(r)},E=m(),_={h:r.hue,s:1,v:1},k=new b2(_).toHexString(),H=r.saturation*100,$=(1-r.brightness)*100;return J.createElement("div",{className:E,ref:s},J.createElement("div",{className:E+"-hsv",style:{backgroundColor:k,height:i+"px",minHeight:i+"px"}},J.createElement("div",{className:E+"-value"}),J.createElement("div",{className:E+"-saturation"})),J.createElement("span",{style:{left:"calc("+H+"% - 7px)",top:"calc("+$+"% - 7px)",backgroundColor:r.toHexString()}}),J.createElement("div",{className:E+"-handler",onMouseDown:d,onTouchStart:u}))},Um=function(e){var t=e.rootPrefixCls,r=e.color,i=e.onChange,o=e.setChange,a=Xn(),s=function(){window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",u)},l=function(){o(!1),window.removeEventListener("touchmove",h),window.removeEventListener("touchend",x)};kt(function(){return function(){s(),l()}},[]);var c=function($){$.preventDefault();var C=$.clientX,b=$.clientY;m({x:C,y:b}),window.addEventListener("mousemove",d),window.addEventListener("mouseup",u)},d=function($){var C=$.clientX,b=$.clientY;m({x:C,y:b})},u=function($){var C=$.clientX,b=$.clientY;m({x:C,y:b}),o(!1),s()},f=function($){if($.cancelable&&$.preventDefault(),$.touches.length===1){l();var C=$.targetTouches[0].clientX,b=$.targetTouches[0].clientY;m({x:C,y:b}),window.addEventListener("touchmove",h,{passive:!1}),window.addEventListener("touchend",x,{passive:!1})}},h=function($){$.cancelable&&$.preventDefault();var C=$.targetTouches[0].clientX,b=$.targetTouches[0].clientY;m({x:C,y:b})},x=function(){l()},p=function(){return t+"-ribbon"},m=function($){var C=a&&a.current.getBoundingClientRect(),b=C.width,T=$.x-C.left;T=Math.max(0,T),T=Math.min(T,b);var M=T/b,j=M*360;r.hue=j,i(r)},w={h:r.hue,s:1,v:1},E=new b2(w).toHexString(),_=p(),k=r.hue,H=k/360*100;return J.createElement("div",{className:_,ref:a,onMouseDown:c,onTouchStart:f},J.createElement("div",{className:"color-picker-panel-ribbon-bg"}),J.createElement("span",{style:{left:H+"%",backgroundColor:E}}),J.createElement("div",{className:_+"-handler"}))},g5=function(e,t,r,i){return"rgba("+[e,t,r,i/100].join(",")+")"},Ym=function(e){var t=e.rootPrefixCls,r=e.color,i=e.alpha,o=e.onChange,a=e.setChange,s=Xn(),l=function(){window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",f)},c=function(){a(!1),window.removeEventListener("touchmove",x),window.removeEventListener("touchend",p)};kt(function(){return function(){l(),c()}},[]);var d=function(H){var $=H.clientX,C=H.clientY;E({x:$,y:C}),window.addEventListener("mousemove",u),window.addEventListener("mouseup",f)},u=function(H){var $=H.clientX,C=H.clientY;E({x:$,y:C})},f=function(H){var $=H.clientX,C=H.clientY;E({x:$,y:C}),a(!1),l()},h=function(H){if(H.cancelable&&H.preventDefault(),H.touches.length===1){c();var $=H.targetTouches[0].clientX,C=H.targetTouches[0].clientY;E({x:$,y:C}),window.addEventListener("touchmove",x,{passive:!1}),window.addEventListener("touchend",p,{passive:!1})}},x=function(H){H.cancelable&&H.preventDefault();var $=H.targetTouches[0].clientX,C=H.targetTouches[0].clientY;E({x:$,y:C})},p=function(){c()},m=function(){var H=r.red,$=r.green,C=r.blue,b="linear-gradient(to right, "+g5(H,$,C,0)+" , "+g5(H,$,C,100)+")";return b},w=function(){return t+"-alpha"},E=function(H){var $=s&&s.current.getBoundingClientRect(),C=$.width,b=H.x-$.left;b=Math.max(0,b),b=Math.min(b,C);var T=Math.round(b/C*100);o(T)},_=function(){var H=r.red,$=r.green,C=r.blue,b=(i||1)/100;return"rgba("+H+", "+$+", "+C+", "+b+")"},k=w();return J.createElement("div",{className:k,ref:s,onMouseDown:d,onTouchStart:h},J.createElement("div",{className:k+"-bg",style:{background:m()}}),J.createElement("span",{style:{left:i+"%",backgroundColor:_()}}),J.createElement("div",{className:k+"-handler"}))},D4=function(e){var t=e.alpha,r=e.className,i=e.hex,o=e.colorBoardHeight,a=e.showAlpha,s=e.onChange,l=Xn(),c=new b2(i);c.alpha=t;var d=yt(Ht({color:c,alpha:t}),2),u=d[0],f=d[1],h=yt(Ht(!1),2),x=h[0],p=h[1];kt(function(){x||f({color:c,alpha:t})},[i,t]);var m=function(E){p(!0);var _=u.color;_.alpha=E,f({color:_,alpha:E}),s({hex:_.toHexString(),alpha:E})},w=function(E){p(!0);var _=u.alpha;E.alpha=_,f(ue(ue({},u),{color:E,alpha:E.alpha})),s({hex:E.toHexString(),alpha:E.alpha})};return J.createElement("div",{ref:l,className:["color-picker-panel",r].join(" "),tabIndex:0},J.createElement("div",{className:"color-picker-panel-inner"},J.createElement(Gm,{rootPrefixCls:"color-picker-panel",color:u.color,colorBoardHeight:o,onChange:w,setChange:p}),J.createElement("div",{className:"color-picker-panel-wrap"+(a?" color-picker-panel-wrap-has-alpha":"")},J.createElement("div",{className:"color-picker-panel-wrap-ribbon"},J.createElement(Um,{rootPrefixCls:"color-picker-panel",color:u.color,onChange:w,setChange:p})),a&&J.createElement("div",{className:"color-picker-panel-wrap-alpha"},J.createElement(Ym,{rootPrefixCls:"color-picker-panel",alpha:u.alpha,color:u.color,onChange:m,setChange:p})))))};y2(`.input_rgba { position: relative; } .input_rgba .input_rgba-wrap { display: flex; } .input_rgba .input_rgba-wrap .input_rgba-hex { position: relative; width: 100%; font-size: 0; } .input_rgba .input_rgba-wrap .input_rgba-hex .input_rgba-hex-label { position: absolute; top: 7px; left: 12px; font-size: 16px; color: #929fb7; font-size: 14px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 1.71; letter-spacing: normal; } .input_rgba .input_rgba-wrap .input_rgba-hex input { padding-left: 26px; } .input_rgba .input_rgba-wrap .input_rgba-alpha { margin-left: 16px; position: relative; flex-grow: 0; flex-shrink: 0; flex-basis: 71px; font-size: 0; } .input_rgba .input_rgba-wrap .input_rgba-alpha .input_rgba-alpha-label { position: absolute; top: 16%; color: #929fb7; right: 12px; font-size: 16px; } .input_rgba .input_rgba-wrap input { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; outline: none; border: none; box-shadow: none; width: 100%; height: 40px; border-radius: 4px; background-color: #fff; font-size: 16px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 24px; letter-spacing: normal; color: #312e55; margin-bottom: 8px; padding-left: 12px; padding-right: 12px; padding-top: 0; padding-bottom: 0; transition: all 0.15s ease; box-shadow: 0px 0px 0px 2px #bbbfc5; } .input_rgba .input_rgba-wrap input:hover { background-color: #d4e5ff; box-shadow: none; } .input_rgba .input_rgba-wrap input:focus { box-shadow: 0px 0px 0px 2px #6dbafd; background-color: #e5f3ff; } .input_rgba .input_rgba-wrap .input_rgba-label { width: 100%; text-transform: uppercase; font-size: 12px; font-weight: bold; font-stretch: normal; font-style: normal; line-height: 1.67; letter-spacing: 0.5px; text-align: center; color: #929fb7; }`);var Xm=function(e){return e.replace(/%/i,""),e[0]==="0"&&e.length>1?e.substr(1):Number(e)>=100?100:isNaN(Number(e))?parseInt(e):e||0},Jm=function(e){return e?e.substr(0,3).replace(/[^\d]/g,""):""},Km=function(e){return e&&e.substring(0,1)==="#"&&(e=e.substring(1)),e?e.substr(0,6).replace(/[^a-zA-Z0-9\s-]/gi,""):""},qm=function(e,t){e.key==="Enter"&&t()},Qm=function(e){var t={wrapClass:"input_rgba-hex",labelSymbol:!0,idInput:"rgba-hex"+Math.random()*1e4,valueInput:e.hexValue,labelText:"Hex",labelArea:"hex",labelClass:"input_rgba-label",onChangeInput:function(i){return e.onChangeHex(Km(i.target.value))},name:"hex"},r={wrapClass:"input_rgba-alpha",labelSymbol:!1,idInput:"rgba-alpha"+Math.random()*1e4,valueInput:e.alphaValue,labelText:"Alpha",labelArea:"alpha",labelClass:"input_rgba-label",onChangeInput:function(i){return e.onChangeAlpha(Jm(i.target.value))},name:"alpha"};return e.showAlpha===!1?[t]:[t,r]},E4=function(e){var t=e.hex,r=e.alpha,i=e.format,o=i===void 0?"rgb":i,a=e.showAlpha,s=a===void 0?!0:a,l=e.onChange,c=e.onSubmitChange,d=yt(Ht({alpha:r,hex:t}),2),u=d[0],f=d[1],h=function(w){var E=Xm(w);f(ue(ue({},u),{alpha:Number(E)}))},x=function(w){f(ue(ue({},u),{hex:w}))},p=function(){var w=Je(u.hex[0]==="#"?u.hex:"#"+u.hex);w.setAlpha(Number(u.alpha)/100),w&&(u.alpha!==r||u.hex!==t)?(l({hex:u.hex[0]==="#"?u.hex:"#"+u.hex,alpha:Number(u.alpha)}),c&&c(vi(w.toRgbString(),o,s,u.alpha))):(f({hex:t,alpha:r}),l({hex:t,alpha:r}))};kt(function(){f({hex:t,alpha:r})},[t,r]);var m={alphaValue:u.alpha,hexValue:u.hex.replace(/#/i,""),onChangeAlpha:h,onChangeHex:x,showAlpha:s};return J.createElement("div",{className:"input_rgba"},J.createElement("div",{className:"input_rgba-wrap"},Qm(m).map(function(w,E){var _=w.wrapClass,k=w.labelSymbol,H=w.idInput,$=w.valueInput,C=w.labelText,b=w.labelArea,T=w.labelClass,M=w.onChangeInput,j=w.name;return J.createElement("div",{className:_,key:E},k&&J.createElement("label",{htmlFor:"rgba-hex",className:"input_rgba-hex-label"},"#"),j==="alpha"&&J.createElement("label",{htmlFor:H,className:"input_rgba-alpha-label"},"%"),J.createElement("input",{type:"text",id:H,value:$,"aria-label":b,onChange:function(V){return M(V)},onBlur:p,onKeyPress:function(V){return qm(V,p)}}),J.createElement("div",{className:T},C))})))},ew=function(e){var t=e.color,r=e.setColor,i=e.activeColor,o=e.setActiveColor,a=e.setInit,s=e.format,l=s===void 0?"rgb":s,c=e.showAlpha,d=c===void 0?!0:c,u=e.allowAddGradientStops,f=u===void 0?!0:u,h=Xn(),x=yt(Ht(!1),2),p=x[0],m=x[1],w=yt(Ht(!1),2),E=w[0],_=w[1],k=t.stops,H=t.type,$=t.modifier,C=function(I){if(a(!1),I.stopPropagation(),!!f){var P=I.target;if(P.className!=="gradient-marker"){var L=P.getBoundingClientRect(),W=I.clientX-L.left,Q=Number((100/L.width*W).toFixed(0))/100,Y=Je(i.hex);Y.setAlpha(i.alpha/100);var he=b4(t.stops,[[Y.toRgbString(),Q,t.stops.length]]).sort(function(pe,N){return pe[1]-N[1]}).map(function(pe,N){return pe[2]=N,pe});r(ue(ue({},t),{gradient:""+N1(H,he,$,l,d),stops:he})),o(ue(ue({},i),{loc:Q,index:he.find(function(pe){return pe[1]===Q})[2]}))}}},b=function(){window.removeEventListener("mousemove",j),window.removeEventListener("mouseup",V)},T=function(){window.removeEventListener("touchmove",z),window.removeEventListener("touchend",Z)},M=function(I,P){if(I.preventDefault(),I.stopPropagation(),I.nativeEvent.stopImmediatePropagation(),I.detail!==2&&(a(!1),I.button===0)){var L=Je(P[0]);o({hex:"#"+L.toHex(),alpha:L.getAlpha()*100,loc:P[1],index:P[2]});var W=I.clientX,Q=I.clientY;B({x:W,y:Q}),window.addEventListener("mousemove",j),window.addEventListener("mouseup",V)}},j=function(I){var P,L=I.clientX,W=I.clientY,Q=(P=h==null?void 0:h.current)===null||P===void 0?void 0:P.getBoundingClientRect(),Y=W-Q.y;if(Y>80&&k.length>2){_(!0);return}else _(!1);B({x:L,y:W})},V=function(I){var P,L=I.clientX,W=I.clientY,Q=(P=h==null?void 0:h.current)===null||P===void 0?void 0:P.getBoundingClientRect(),Y=W-Q.y;Y>80&&k.length>2&&m(!0),B({x:L,y:W}),b()},F=function(I,P){if(a(!1),I.cancelable&&I.preventDefault(),I.touches.length===1){T();var L=Je(P[0]);o({hex:"#"+L.toHex(),alpha:L.getAlpha()*100,loc:P[1],index:P[2]});var W=I.targetTouches[0].clientX,Q=I.targetTouches[0].clientY;B({x:W,y:Q}),window.addEventListener("touchmove",z,{passive:!1}),window.addEventListener("touchend",Z,{passive:!1})}},z=function(I){var P;I.cancelable&&I.preventDefault();var L=I.targetTouches[0].clientX,W=I.targetTouches[0].clientY,Q=(P=h==null?void 0:h.current)===null||P===void 0?void 0:P.getBoundingClientRect(),Y=W-Q.y;if(Y>80&&k.length>2){_(!0);return}else _(!1);B({x:L,y:W})},Z=function(){T()},B=function(I){var P=h&&h.current.getBoundingClientRect(),L=P.width,W=I.x-P.left;W=Math.max(0,W),W=Math.min(W,L);var Q=Number((100/P.width*W).toFixed(0))/100;o(function(Y){return ue(ue({},Y),{loc:Q})})},O=function(){if(!(k.length<=2)){var I=k.filter(function(Y){return Y[2]!==i.index}).map(function(Y,he){return Y[2]=he,Y}),P=Pi(I[I.length-1][0]),L=I[I.length-1][1],W=Ni([P[0],P[1],P[2]]),Q=I[I.length-1][2];return m(!1),_(!1),o({hex:W,alpha:Number(Math.round(P[3]*100)),loc:L,index:Q}),r(ue(ue({},t),{gradient:""+N1(H,I,$,l,d),stops:I}))}};return kt(function(){if(p)return O();var I=k.map(function(P){return i.index===P[2]?[P[0],i.loc,P[2]]:P});r(ue(ue({},t),{gradient:""+N1(H,I,$,l,d),stops:I}))},[i.loc,p]),kt(function(){return function(){b(),T()}},[]),J.createElement("div",{className:"gradient-stops",onClick:function(I){return C(I)},ref:h},J.createElement("div",{className:"gradient-stop-preview",style:{background:"linear-gradient(to right, "+k.map(function(I){return I[0]+" "+I[1]*100+"%"}).join(", ")+")"}}),J.createElement("div",{className:"gradient-stop-marker"},k.map(function(I){var P=I[1]*100,L=I[0];return J.createElement("div",{key:L+P+Math.random()*100,className:"gradient-marker"+(E&&i.index===I[2]?" hide":"")+(!E&&i.index===I[2]?" active":""),style:{left:Math.abs(Math.min(P,100))+"%",color:L},onTouchStart:function(W){return F(W,I)},onMouseDown:function(W){return M(W,I)},onClick:function(W){return W.stopPropagation()},onDoubleClick:O})})))},tw=function(e){var t="solid",r=Je(e).isValid();if(e){if(e==="transparent"||r&&!e.trim().startsWith("radial-gradient")&&!e.trim().startsWith("linear-gradient"))return t="solid",t;var i=Pi(e);if(i){if(Pm([i[0],i[1],i[2]]))return t="solid",t}else return t="gradient",t}return t},x5=function(e,t){if(!e.length||!Array.isArray(e))return[];var r=b4(new Set(e));switch(t){case"solid":return r.filter(function(i,o){var a=Je(i);return a.isValid()&&!i.trim().startsWith("radial-gradient")&&!i.trim().startsWith("linear-gradient")?!0:(o>100,!1)});case"grad":return r.filter(function(i,o){var a=S4(i);return a==="Failed to find gradient"?!1:a==="Not correct position"?(console.warn("Incorrect gradient default value. You need to indicate the location for the colors. We ignore this gradient value"),!1):!(o>100)});default:return[]}},H4=function(e,t){if(e instanceof Array&&t instanceof Array){if(e.length!==t.length)return!1;for(var r=0;r{t(i)},0);return n.jsx("div",{className:"brandy-gradient-picker",children:n.jsx(lw,{value:e,onChange:r,gradient:!0,solid:!1,defaultColors:cw})})}const uw=g.div` ${{borderBottomWidth:"1px",borderStyle:"dashed","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem","&:last-child":{borderBottomWidth:"0px"}}} `,hw=[{value:"left",label:"Left"},{value:"top",label:"Top"},{value:"bottom",label:"Bottom"},{value:"right",label:"Right"},{value:"center",label:"Center"},{value:"custom",label:"Custom"}];function fw({value:e,onChange:t}){const r=i=>{t(i)};return n.jsxs(ww,{children:[n.jsx(Be,{children:n.jsx(vw,{children:"Position"})}),n.jsx(et,{options:hw,selected:e,onChange:r,style:{width:200}})]})}const pw=[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}];function gw({value:e,onChange:t}){const r=i=>{t(i)};return n.jsxs(Cw,{children:[n.jsx(Be,{children:n.jsx(yw,{children:"Size"})}),n.jsx(et,{options:pw,selected:e,onChange:r,style:{width:200}})]})}function xw({value:e,onChange:t}){const r=i=>{Array.isArray(i)||t(i)};return n.jsxs(bw,{children:[n.jsx(Be,{children:n.jsx(_w,{children:"Overlay color"})}),n.jsx(me,{color:e,onChange:r})]})}const ti=g.div({padding:"10px"});function mw({value:e,onChange:t=()=>!1}){const r=i=>(e[i],o=>{const a={...e,[i]:o};t(a)});return n.jsxs("div",{children:[n.jsx(uw,{children:n.jsx(C4,{value:e.url,onChange:r("url")})}),e.url&&n.jsxs(n.Fragment,{children:[n.jsx(ti,{children:n.jsx(xw,{value:e.overlay_color,onChange:r("overlay_color")})}),n.jsx(ti,{children:n.jsx(gw,{value:e.size,onChange:r("size")})}),n.jsx(ti,{children:n.jsx(fw,{value:e.position,onChange:r("position")})}),e.position==="custom"&&n.jsxs(n.Fragment,{children:[n.jsx(ti,{children:n.jsx(Ye,{min:e.top.min,max:e.top.max,value:e.top,title:n.jsx(Be,{children:n.jsx(jw,{children:"Top"})}),onChange:r("top")})}),n.jsx(ti,{children:n.jsx(Ye,{min:e.left.min,max:e.left.max,value:e.left,title:n.jsx(Be,{children:n.jsx(Sw,{children:"Left"})}),onChange:r("left")})})]})]})]})}var ww=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),vw=g("span")({fontSize:"13px"}),Cw=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),yw=g("span")({fontSize:"13px"}),bw=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),_w=g("span")({fontSize:"13px"}),jw=g("span")({fontSize:"13px"}),Sw=g("span").withConfig({displayName:"Image___StyledSpan5",componentId:"sc-1ul140t-0"})({fontSize:"13px"});const Dw=window.React.createContext,Ew=window.React.useEffect,Q1=window.React.useMemo,Is=window.React.useState,Hw=[{label:"Color",value:"solid"},{label:"Gradient",value:"gradient"},{label:"Image",value:"image"}],kw=Dw({});function Mw({value:e,onChange:t=()=>!1}){const r=Q1(()=>e.type,[e.type]),i=Q1(()=>e.solid_color,[e.solid_color]),o=Q1(()=>e.gradient_color,[e.gradient_color]),a=Q1(()=>e.image,[e.image]),s=Q1(()=>{const H=T=>{t(T,"type")},$=T=>{t(T,"solid_color")},C=$r(T=>{t(T,"gradient_color")},0);return{backgroundType:r,solidColor:i,gradientColor:o,image:a,changeType:H,changeSolidColor:$,changeGradientColor:C,changeImage:T=>{t(T,"image")}}},[r,i,o,a,e,t]),l=Q1(()=>r==="image"?{backgroundImage:`url(${a.url})`,backgroundPosition:"center",backgroundSize:"contain"}:{background:r==="solid"?i:o},[r,i,o,a]),[c,d]=Is(null),[u,f]=Is(null),{styles:h,attributes:x}=_1(c,u),[p,m]=Is(!1),w=()=>{m(!0)},E=()=>{m(!1)};Ew(()=>{const H=C=>{var T;c==null&&u==null&&E();const b=(T=document.getElementById("brandy-upload-media"))==null?void 0:T.closest(".media-modal.wp-core-ui");!(b!=null&&b.contains(C.target))&&!(u!=null&&u.contains(C.target))&&!(c!=null&&c.contains(C.target))&&E()},$=()=>{const C=window.jQuery("#brandy-upload-media").closest(".media-modal.wp-core-ui").parent();C&&C.remove()};return window.jQuery(document).on("click","body",H),()=>{window.jQuery(document).off("click","body",H),$()}},[c,u]);const _=Q1(()=>e.type==="solid"?445:e.type==="gradient"?530:e.image.url===""?150:500,[e.type,e.image.url]),k=Q1(()=>r==="solid"?i==null||i.endsWith("00")&&i.length>6:r==="gradient"?o.indexOf(",0)")!==o.lastIndexOf(",0)")&&o.indexOf(",0)")!==-1&&o.lastIndexOf(",0)")!==-1||o.indexOf(",0)")!==o.lastIndexOf(", 0)")&&o.indexOf(",0)")!==-1&&o.lastIndexOf(", 0)")!==-1||o.indexOf(", 0)")!==o.lastIndexOf(",0)")&&o.indexOf(", 0)")!==-1&&o.lastIndexOf(",0)")!==-1||o.indexOf(", 0)")!==o.lastIndexOf(", 0)")&&o.indexOf(", 0)")!==-1&&o.lastIndexOf(", 0)")!==-1:a.url==="",[r,i,o,a.url]);return n.jsx(kw.Provider,{value:s,children:n.jsxs(Lw,{children:[n.jsx($w,{style:l,ref:d,onClick:w,$_css2:[{height:"30px",width:"30px",cursor:"pointer"},{borderRadius:"9999px",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(255 255 255 / var(--tw-border-opacity))","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{outlineStyle:"solid",outlineWidth:"2px",outlineColor:"#0000001A","&:hover":{outlineColor:"#1e1e1e"}},{transitionProperty:"outline",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},p&&{outlineColor:"#1e1e1e"},k&&ce(["background:linear-gradient(45deg,#e0e0e3 25%,transparent 25%),linear-gradient(-45deg,#e0e0e3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e0e3 75%),linear-gradient(-45deg,transparent 75%,#e0e0e3 75%) !important;background-size:4px 4px !important;background-position:0 0,0 10px,10px -10px,-10px 0px !important;"])],children:k&&n.jsx(Aw,{children:n.jsx(c4,{})})}),p&&n.jsx(Vw,{ref:f,style:h.popper,...x.popper,$_css3:[{marginTop:"0.5rem",marginBottom:"0.5rem",maxHeight:"700px",width:"314px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{position:"absolute",zIndex:"999992"},{borderRadius:"0.375rem",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},{cursor:"auto"},{"--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{display:"flex",flexDirection:"column"}],children:n.jsxs(G1,{className:"color-picker-popup",style:{height:_},autoHide:!0,children:[n.jsx(Iw,{children:n.jsx(mt,{options:Hw,selected:r,onChange:s.changeType})}),n.jsxs("div",{children:[r==="solid"&&n.jsx(f4,{color:i,onChange:s.changeSolidColor}),r==="gradient"&&n.jsx(dw,{value:o,onChange:s.changeGradientColor}),r==="image"&&n.jsx(mw,{value:a,onChange:s.changeImage})]})]})})]})})}var Lw=g("div")({position:"relative"}),$w=g("div")`${e=>e.$_css2}`,Aw=g("span")({position:"relative",left:"50%",top:"50%",display:"inline-block","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%"}),Vw=g("div")`${e=>e.$_css3}`,Iw=g("div").withConfig({displayName:"BackgroundPicker___StyledDiv4",componentId:"sc-1vzs4ya-0"})({paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem"});const Tw=window.React.useMemo;function Bw(e){const{current:t}=Ce(),r=Tw(()=>_e(e.value,t),[t,e.value]),i=(o,a)=>{e.onChange({...r,[a]:o})};return n.jsxs(Rw,{children:[n.jsx(st,{title:e.title,className:"mb-0"}),n.jsxs(Fw,{children:[n.jsx(Ua,{...e,reset_paths:[e.value_path],title:null,reset_action:"row_settings"}),n.jsx(Mw,{value:r,onChange:i})]})]})}var Rw=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),Fw=g("div").withConfig({displayName:"BackgroundBuilder___StyledDiv2",componentId:"sc-18ksi7m-0"})({display:"flex",alignItems:"center",gap:"0.75rem"});const Ow=window.React.useMemo,Ts=g.span.withConfig({displayName:"VerticalAlignmentBuilder__StyledOptionItem",componentId:"sc-16og1d2-0"})({display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"}),Pw=[{value:"top",label:n.jsxs(Ts,{children:[n.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"5.83325",y:"15.5",width:"10",height:"5",transform:"rotate(-90 5.83325 15.5)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3333 1.5L0.333252 1.5L0.333252 0L16.3333 1.39876e-06L16.3333 1.5Z",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("span",{children:"Top"})]})},{value:"middle",label:n.jsxs(Ts,{children:[n.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M16.5 5H9.3V0H7.7V5H0.5V11H7.7V16H9.3V11H16.5V5Z",fill:window.brandyCustomizerData.colors.icon.normal})}),n.jsx("span",{children:"Middle"})]})},{value:"bottom",label:n.jsxs(Ts,{children:[n.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"10",height:"5",transform:"matrix(-4.37114e-08 1 1 4.37114e-08 5.6665 2.18557e-08)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6665 14.5L0.666504 14.5L0.666504 16L16.6665 16L16.6665 14.5Z",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("span",{children:"Bottom"})]})}];function Nw(e){const t=Ow(()=>Pw.filter(r=>e.available_alignments?e.available_alignments.includes(r.value):!0),[e.available_alignments]);return n.jsx(un,{...e,options:t})}const zw=window.React.useMemo;function Zw(e){return zw(()=>n.jsxs("div",{children:[n.jsx(Ww,{children:n.jsx(st,{className:Se(["mb-0"]),title:e.title})}),e.content&&n.jsx("div",{dangerouslySetInnerHTML:{__html:e.content}})]}),[e.content,e.title])}var Ww=g("div").withConfig({displayName:"FlexibleBuilder___StyledDiv",componentId:"sc-17nqz4o-0"})({display:"flex",alignItems:"center",justifyContent:"space-between"});const Gw=window.React.useMemo,Bs=g.span.withConfig({displayName:"HorizontalAlignmentBuilder__StyledOptionItem",componentId:"sc-1ebs2zw-0"})({display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"}),Uw=[{value:"left",label:n.jsxs(Bs,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"1.16797",y:"5.5",width:"13",height:"5",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M0.667969 1H8.66797M0.667969 15H8.66797",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Left"})]})},{value:"center",label:n.jsxs(Bs,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"-0.5",y:"0.5",width:"9",height:"5",transform:"matrix(-1 0 0 1 11.5 5)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M14.5 1H0.5M14.5 15H0.5",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Center"})]})},{value:"right",label:n.jsxs(Bs,{children:[n.jsxs("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"-0.5",y:"0.5",width:"13",height:"5",transform:"matrix(-1 0 0 1 13.8359 5)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M14.8359 1H6.83594M14.8359 15H6.83594",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5"})]}),n.jsx("span",{children:"Right"})]})}];function Yw(e){const t=Gw(()=>Uw.filter(r=>e.available_alignments?e.available_alignments.includes(r.value):!0),[e.available_alignments]);return n.jsx(un,{...e,options:t})}const Xw=window.React.useEffect,M4=[[{key:"formatselect",icon:''}],[{key:"styleselect",icon:''}],[{key:"fontsizeselect",icon:''}],[{key:"undo",icon:' '},{key:"redo",icon:' '}],[{key:"bold",icon:''},{key:"italic",icon:''},{key:"underline",icon:' '},{key:"strikethrough",icon:''}],[{key:"bullist",icon:''},{key:"numlist",icon:''},{key:"indent",icon:''},{key:"outdent",icon:''}],[{key:"alignleft",icon:''},{key:"aligncenter",icon:''},{key:"alignright",icon:''},{key:"alignjustify",icon:''}],[{key:"link",icon:''}]],Jw=M4.reduce((e,t)=>[...e,t.map(r=>r.key).join(" ")],[]).join(" | "),Kw=M4.reduce((e,t)=>[...e,...t],[]);function qw({id:e,value:t,onChange:r}){Xw(()=>{window.wp.editor.initialize(e,{tinymce:{class:"brandy-tinymce",toolbar1:Jw,style_formats_merge:!0,style_formats:[],fontsize_formats:"8px 9px 10px 11px 12px 13px 14px 15px 16px 18px 24px 30px 36px 40px"},quicktags:{buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,close"}});const o=window.tinymce.get(e);return o.on("init",()=>{var c,d;o.setContent(t);const a=document.querySelector(`#customize-editor-${e}`);if(a==null)return;a.querySelectorAll(".mce-btn-group .mce-btn").forEach((u,f)=>{var x;const h=Kw[f];if(h){if(["fontsizeselect","formatselect","styleselect"].includes(h.key)){const p=new DOMParser().parseFromString(h.icon,"image/svg+xml").documentElement;(x=u.querySelector(".mce-caret"))==null||x.replaceWith(p);return}u.innerHTML=h.icon}});const l=document.createElement("button");l.className="insert-media add_media brandy-insert-media",l.innerHTML="+ Add media",(d=(c=a.querySelector(".mce-last.mce-btn-group"))==null?void 0:c.parentElement)==null||d.appendChild(l)}),o.on("change",()=>{r(o.getContent())}),o.on("keyup undo redo",()=>{r(o.getContent())}),()=>{var a;window.wp.editor.remove(e),(a=document.querySelector(".ui-menu.ui-widget"))==null||a.remove()}},[]);const i=o=>{r(o.target.value)};return n.jsx("div",{className:"brandy-customize-editor",id:`customize-editor-${e}`,children:n.jsx("textarea",{value:t,id:e,onChange:i,className:"brandy-editor-textarea"})})}const Qw=window.React.useMemo;function L4({id:e,value:t,onChange:r}){const i=Qw(()=>t,[t]),o=l=>{r(l),s(l)},s=$r(l=>l,200);return n.jsx(qw,{id:e,onChange:o,value:i})}const ev=window.React.useMemo,tv=window.React.useState;function nv(e){const t=ev(()=>e.prefilleds??[],[e.prefilleds]),r=a=>{const s=window.tinymce.get(e.sectionId);s&&s.setContent(a),e.onChange(a)},[i,o]=tv(!1);return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsxs("div",{className:"bg-[#F6F7F7] rounded-base overflow-hidden",children:[n.jsx(L4,{value:e.value,onChange:e.onChange,id:e.sectionId}),n.jsxs("div",{className:"html-prefilled p-4",children:[n.jsxs("div",{className:"flex items-center justify-between cursor-pointer",onClick:()=>{o(a=>!a)},children:[n.jsx("span",{className:"text-black",children:"More options"}),n.jsx("span",{className:`p-[5px] transition-all ease-in-out duration-500 ${i&&"rotate-180"}`,children:n.jsx("svg",{width:"11",height:"6",viewBox:"0 0 11 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rotate-180",children:n.jsx("path",{d:"M11 4.71428L5.5 0L0 4.71428L0.9 6L5.5 2.14286L10 6L11 4.71428Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),i&&n.jsx("div",{className:"prefilled-wrapper mt-4 flex flex-col gap-[10px]",children:t.map((a,s)=>n.jsx("div",{className:"p-[10px] rounded-base shadow-base bg-[#fff] cursor-pointer",onClick:()=>{r(a.value)},children:a.label},s))})]})]}),e.description&&n.jsx(rv,{children:e.description})]})}var rv=g("div").withConfig({displayName:"PrefilledHTML___StyledDiv",componentId:"sc-uzr3vx-0"})({marginTop:"1rem",fontSize:"12px",fontStyle:"italic"});function iv(e){return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsx(L4,{value:e.value,onChange:e.onChange,id:e.sectionId,toolbars:""}),e.description&&n.jsx(ov,{children:e.description})]},e.sectionId)}var ov=g("div").withConfig({displayName:"HTMLBuilder___StyledDiv",componentId:"sc-kly0zw-0"})({marginTop:"1rem",fontSize:"12px",fontStyle:"italic"});const av=window.React.useState;function sv(e){const[t,r]=av(e.expanded());return{isOpen:t,openInserter:()=>{r(!0),e.open()},closeInserter:()=>{r(!1),e.close()},toggleInserter:()=>{t?(r(!1),e.close()):(r(!0),e.open())}}}const{__:j5}=window.wp.i18n,{__experimentalLibrary:lv}=window.wp.blockEditor;function cv({onClose:e}){return n.jsxs("div",{className:"customize-widgets-layout__inserter-panel",children:[n.jsxs("div",{className:"customize-widgets-layout__inserter-panel-header",children:[n.jsx("h2",{className:"customize-widgets-layout__inserter-panel-header-title",children:j5("Add a block")}),n.jsx("button",{className:"customize-widgets-layout__inserter-panel-header-close-button w-[24px] h-[24px]",onClick:e,"aria-label":j5("Close inserter"),children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:n.jsx("path",{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})})]}),n.jsx("div",{className:"customize-widgets-layout__inserter-panel-content",children:n.jsx(lv,{onSelect:e})})]})}const dv=window.React.useContext,uv=window.ReactDOM.createPortal;function hv(){const{inserter:e,sidebar:t}=dv(k2),{isOpen:r,openInserter:i,closeInserter:o,toggleInserter:a}=sv(e),s=h=>{h.preventDefault(),h.stopPropagation(),i()},l=h=>{h!=null&&h.preventDefault&&h.preventDefault(),h!=null&&h.stopPropagation&&h.stopPropagation(),o()},c=h=>{h.preventDefault(),h.stopPropagation(),a()},d=h=>{h.preventDefault(),h.stopPropagation(),t.undo()},u=h=>{h.preventDefault(),h.stopPropagation(),t.redo()},f=uv(r?n.jsx(cv,{onOpen:s,onClose:l}):!1,e.contentContainer[0]);return n.jsxs("div",{className:"brandy-widget-content__header mb-2",children:[n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsxs("div",{className:"flex gap-2",children:[n.jsx("div",{onClick:d,className:Se(["rounded-md cursor-pointer",!t.hasUndo()&&"disabled"]),children:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M8.39922 6.5L9.49922 7.5L6.59922 10.8H15.9992C16.8992 10.8 17.6992 11.1 18.2992 11.7C19.6992 13.2 19.6992 15.9 19.6992 17.3V17.5H18.1992V17.2C18.1992 16.1 18.1992 13.7 17.1992 12.7C16.8992 12.4 16.4992 12.2 15.8992 12.2H6.69922L9.49922 15L8.39922 16.1L3.79922 11.5L8.39922 6.5Z",fill:"#A1ABB7"})})}),n.jsx("div",{onClick:u,className:Se(["rounded-md cursor-pointer",!t.hasRedo()&&"disabled"]),children:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M5.7 11.7C6.3 11.1 7.1 10.8 8 10.8H17.3L14.4 7.5L15.5 6.5L20 11.5L15.5 16L14.5 15L17.2 12.3H8C7.5 12.3 7.1 12.5 6.7 12.8C5.7 13.8 5.7 16.2 5.7 17.3V17.6H4.2V17.4C4.2 15.9 4.2 13.1 5.7 11.7Z",fill:"#A1ABB7"})})})]}),n.jsx("div",{onClick:c,className:"rounded-md cursor-pointer",children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",fill:"#1e1e1e",children:n.jsx("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})})})]}),f]})}const fv=window.React.useEffect,{useDispatch:pv,useSelect:gv}=window.wp.data,{store:S5}=window.wp.blockEditor;function xv(e,t){const{hasSelectedBlock:r,hasMultiSelection:i}=gv(S5),{clearSelectedBlock:o}=pv(S5);fv(()=>{function a(c){!t.current||!e||e.inspector.isOpen||(r()||i())&&c&&document.contains(c)&&!t.current.contains(c)&&!c.closest('[role="dialog"]')&&!c.closest('[role="toolbar"]')&&!c.closest(".components-popover__content")&&!c.closest(".wp-block-legacy-widget__edit-form")&&!c.closest(".brandy-widget-inspector")&&!c.closest(".block-editor-button-block-appender")&&o()}function s(c){a(c.target)}function l(){a(document.activeElement)}return document.addEventListener("mousedown",s),window.addEventListener("blur",l),()=>{document.removeEventListener("mousedown",s),window.removeEventListener("blur",l)}},[t,e,r,i,o])}function mv(e,t){return e==null||e!==e?t:e}var wv=mv;const vv=Ut(wv),Cv=window.React.useMemo,{useSelect:yv}=window.wp.data,{store:bv}=window.wp.coreData,{uploadMedia:_v}=window.wp.mediaUtils;function $4(){const e=window.brandyWidgetsBlockEditorSettings,{hasUploadPermission:t}=yv(i=>({hasUploadPermission:vv(i(bv).canUser("create","media"),!0)}));return{settings:Cv(()=>{let i;return t&&(i=({onError:o,...a})=>{_v({wpAllowedMimeTypes:e.allowedMimeTypes,onError:({message:s})=>o(s),...a})}),{...e,mediaUpload:i,__unstableHasCustomAppender:!0,keepCaretInsideBlock:!0}},[t])}}var jv=200,_2="__lodash_hash_undefined__",Sv=1/0,A4=9007199254740991,Dv="[object Arguments]",Ev="[object Function]",Hv="[object GeneratorFunction]",kv="[object Symbol]",Mv=/[\\^$.*+?()[\]{}|]/g,Lv=/^\[object .+?Constructor\]$/,$v=/^(?:0|[1-9]\d*)$/,Av=typeof at=="object"&&at&&at.Object===Object&&at,Vv=typeof self=="object"&&self&&self.Object===Object&&self,j2=Av||Vv||Function("return this")();function Iv(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Tv(e,t){var r=e?e.length:0;return!!r&&Fv(e,t,0)>-1}function Bv(e,t,r){for(var i=-1,o=e?e.length:0;++i-1}function lC(e,t){var r=this.__data__,i=Xa(r,e);return i<0?r.push([e,t]):r[i][1]=t,this}Or.prototype.clear=iC;Or.prototype.delete=oC;Or.prototype.get=aC;Or.prototype.has=sC;Or.prototype.set=lC;function Pr(e){var t=-1,r=e?e.length:0;for(this.clear();++t=jv&&(a=zv,s=!1,t=new fa(t));e:for(;++o0&&r(l)?t>1?B4(l,t-1,r,i,o):S2(o,l):i||(o[o.length]=l)}return o}function wC(e,t,r){var i=t(e);return E2(e)?i:S2(i,r(e))}function vC(e){if(!H2(e)||MC(e))return!1;var t=P4(e)||Wv(e)?Yv:Lv;return t.test(VC(e))}function CC(e){if(!H2(e))return $C(e);var t=LC(e),r=[];for(var i in e)i=="constructor"&&(t||!Fr.call(e,i))||r.push(i);return r}function yC(e,t){return e=Object(e),bC(e,t,function(r,i){return i in e})}function bC(e,t,r){for(var i=-1,o=t.length,a={};++i-1&&e%1==0&&e-1&&e%1==0&&e<=A4}function H2(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function N4(e){return!!e&&typeof e=="object"}function RC(e){return typeof e=="symbol"||N4(e)&&D2.call(e)==kv}function FC(e){return O4(e)?xC(e,!0):CC(e)}var OC=_C(function(e,t){return e==null?{}:(t=V4(B4(t,1),AC),yC(e,mC(jC(e),t)))});function z4(){return[]}var PC=OC;const NC=Ut(PC),{serialize:zC,parse:ZC,createBlock:Fs}=window.wp.blocks,{addWidgetIdToBlock:WC}=window.wp.widgets;function M5(e,t=null){let r;if(e.name==="core/legacy-widget"&&(e.attributes.id||e.attributes.instance))if(e.attributes.id)r={id:e.attributes.id};else{const{encoded:o,hash:a,raw:s,...l}=e.attributes.instance;r={idBase:e.attributes.idBase,instance:{...t==null?void 0:t.instance,is_widget_customizer_js_value:!0,encoded_serialized_instance:o,instance_hash_key:a,raw_instance:s,...l}}}else r={idBase:"block",widgetClass:"WP_Widget_Block",instance:{raw_instance:{content:zC(e)}}};return{...NC(t,["form","rendered"]),...r}}function L5({id:e,idBase:t,number:r,instance:i}){let o;const{encoded_serialized_instance:a,instance_hash_key:s,raw_instance:l,...c}=i;if(t==="block"){const d=ZC(l.content);o=d.length?d[0]:Fs("core/paragraph",{})}else r?o=Fs("core/legacy-widget",{idBase:t,instance:{encoded:a,hash:s,raw:l,...c}}):o=Fs("core/legacy-widget",{id:e});return WC(o,e)}const GC=window.React.useCallback,UC=window.React.useEffect,YC=window.React.useState,{isShallowEqualArrays:Os}=window.wp.isShallowEqual,{getWidgetIdFromBlock:Ps,addWidgetIdToBlock:XC}=window.wp.widgets;function JC(e){const[t,r]=YC(e.getWidgets().map(o=>L5(o)));UC(()=>e.subscribe((o,a)=>{r(s=>{const l=new Map(o.map(u=>[u.id,u])),c=new Map(s.map(u=>[Ps(u),u])),d=a.map(u=>{const f=l.get(u.id);return f&&f===u?c.get(u.id):L5(u)});return Os(s,d)?s:d})}),[e]);const i=GC(o=>{r(a=>{if(Os(a,o))return a;const s=new Map(a.map(d=>[Ps(d),d])),l=o.map(d=>{const u=Ps(d);if(u&&s.has(u)){const f=s.get(u),h=e.getWidget(u);return Ui(d,f)&&h?h:M5(d,h)}return M5(d)});if(Os(e.getWidgets(),l))return a;const c=e.setWidgets(l);return o.reduce((d,u,f)=>{const h=c[f];return h!==null&&(d===o&&(d=o.slice()),d[f]=XC(u,h)),d},o)})},[e]);return{blocks:t,updateBlocks:i}}const{BlockList:KC,BlockTools:qC,BlockSelectionClearer:QC,CopyHandler:ey,ObserveTyping:ty,WritingFlow:ny,__unstableEditorStyles:ry,ButtonBlockAppender:iy}=window.wp.blockEditor;function oy(){const{settings:e}=$4();return n.jsx("div",{className:"brandy-widget-content__inspector",children:n.jsx(ey,{children:n.jsxs(qC,{children:[n.jsx(ry,{styles:[...e.defaultEditorStyles,{css:"body{font-size: 13px !important;}"}]}),n.jsx(QC,{children:n.jsx(ny,{className:"editor-styles-wrapper",children:n.jsx(ty,{children:n.jsx(KC,{renderAppender:iy})})})})]})})})}const ay=window.React.useEffect,{useShortcut:Ns,store:sy}=window.wp.keyboardShortcuts,{useDispatch:ly}=window.wp.data;function Bl({undo:e,redo:t,save:r}){return Ns("core/customize-widgets/undo",i=>{e(),i.preventDefault()}),Ns("core/customize-widgets/redo",i=>{t(),i.preventDefault()}),Ns("core/customize-widgets/save",i=>{i.preventDefault(),r()}),null}function cy(){const{registerShortcut:e,unregisterShortcut:t}=ly(sy);return ay(()=>(e({name:"core/customize-widgets/undo",category:"global",description:"Undo your last changes.",keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/customize-widgets/redo",category:"global",description:"Redo your last undo.",keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/customize-widgets/save",category:"global",description:"Save your changes.",keyCombination:{modifier:"primary",character:"s"}}),()=>{t("core/customize-widgets/undo"),t("core/customize-widgets/redo"),t("core/customize-widgets/save")}),[e,t]),null}Bl.Register=cy;const dy=window.React.useContext,{__unstableBlockSettingsMenuFirstItem:uy}=window.wp.blockEditor,{MenuItem:hy}=window.wp.components;function fy(){const{inspector:e}=dy(k2);return n.jsx(uy,{children:({onClose:t})=>n.jsx(hy,{onClick:()=>{e.open(),t()},inspector:e,children:"Show more settings"})})}const py=ce` ${{"--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}} &:after { ${{borderTopLeftRadius:"0.25rem",borderTopRightRadius:"0.25rem","--tw-bg-opacity":"1",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity))"}} } `,gy=ce` &:after { content: ""; ${{position:"absolute",bottom:"-1px",left:"50%",height:"3px",width:"100%","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",backgroundColor:"transparent",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 1, 1)",transitionDuration:"0.2s"}} } `,xy=g(({isActive:e,...t})=>n.jsx("span",{...t})).withConfig({displayName:"Tabs__StyledTabItem",componentId:"sc-1e1ax13-0"})(["",""],({isActive:e})=>[{position:"relative",flex:"1 1 0%",cursor:"pointer",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",textAlign:"center",fontSize:"16px",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"},gy,e&&py]);function my({current:e,items:t,onChange:r,styledCSS:i}){return n.jsx(wy,{$_css2:[{display:"flex","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},i],children:t.map(({label:o,key:a})=>n.jsx(xy,{onClick:()=>{r(a)},isActive:e===a,className:e===a?"active":"",children:o},a))})}var wy=g("div").withConfig({displayName:"Tabs___StyledDiv",componentId:"sc-1e1ax13-1"})(["",""],e=>e.$_css2);const $5=window.React.useMemo,vy=window.React.useState,Cy=[{label:"General",key:"general"},{label:"Designs",key:"designs"}];function Nr(e){const t=$5(()=>(e==null?void 0:e.items)??Cy,[e]),[r,i]=vy(t[0].key);return{contextHolder:$5(()=>n.jsx(my,{items:t,current:r,onChange:i}),[t,r,i]),items:t,currentTab:r,setCurrentTab:i}}function A1({title:e,onGoBack:t,hasBottomPart:r=!0}){return n.jsxs(n.Fragment,{children:[n.jsxs(yy,{className:"brandy-panel-header",children:[n.jsx("div",{className:"customize-section-back",onClick:t}),n.jsx(by,{children:e??n.jsxs(n.Fragment,{children:[n.jsxs(_y,{children:[D("Customizing")," ▸ ",D("Not found")]}),n.jsx(jy,{children:D("Not found")})]})})]}),r&&n.jsx(Sy,{})]})}var yy=g("div")({display:"flex",alignItems:"center",borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))"}),by=g("div")({height:"100%",width:"100%","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"0.75rem"}),_y=g("div")({fontSize:"13px",fontWeight:"300","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),jy=g("div")({fontSize:"20px",fontWeight:"300","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}),Sy=g("div").withConfig({displayName:"Header___StyledDiv5",componentId:"sc-27w5k5-0"})({borderBottomWidth:"1px",padding:"1rem",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"});const Dy=window.React,Ey=window.React.memo,Hy=window.React.useCallback,Z4=window.React.useContext,W4=window.React.useMemo,Pe=Dy.createContext({});function ky(e){const{builder:t}=Z4(h1),r=re(t)(l=>l.deselectSection),i=re(t)(l=>{var c;return((c=l.chosenElement)==null?void 0:c.title)??""}),o=re(t)(l=>{var c,d;return((d=(c=l.previewTemplate)==null?void 0:c.settings)==null?void 0:d.name)??t}),a=Hy(()=>{Mt(),r()},[Mt,r]),s=W4(()=>({builder:t,goBack:a}),[t,a]);return n.jsxs(Pe.Provider,{value:s,children:[n.jsx(A1,{onGoBack:a,builder:t,title:n.jsxs(n.Fragment,{children:[n.jsxs($y,{children:[D("Customizing")," ▸ ",o]}),n.jsx(Ay,{children:i||"Not found"})]})}),n.jsx(Ly,{elementId:e.elementId,clonedFromId:e.clonedFromId})]})}function My({elementId:e,clonedFromId:t}){const{builder:r}=Z4(Pe),{contextHolder:i,currentTab:o}=Nr(),a=re(r)(c=>{var d;return((d=c.chosenElement)==null?void 0:d.settings)??{}}),s=re(r)(c=>c.changeElementSettings),l=W4(()=>{var c;return((c=window.brandyCustomizerData.settings_layouts[t??e])==null?void 0:c[o].sections)??[]},[e,o]);return l.length===0?!1:n.jsxs(n.Fragment,{children:[i,n.jsx(a2,{children:l.map((c,d)=>n.jsx(oo,{section:c,sectionKey:`${o}-${d}`,sectionId:e,settings:a,onChange:s,builder:r,clonedFromId:t},`${o}-${d}`))})]})}const Ly=Ey(My);var $y=g("div")({fontSize:"13px",fontWeight:"300",textTransform:"capitalize","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),Ay=g("div").withConfig({displayName:"ElementSection___StyledDiv2",componentId:"sc-1dfz9mj-0"})({fontSize:"20px",fontWeight:"300","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"});const Vy=window.React.createContext,Iy=window.React.useContext,Ty=window.React.useEffect,ni=window.React.useMemo,By=window.React.useRef,A5=window.ReactDOM.createPortal,{BlockEditorKeyboardShortcuts:Ry,BlockEditorProvider:Fy,BlockInspector:Oy}=window.wp.blockEditor,{ShortcutProvider:Py}=window.wp.keyboardShortcuts,{SlotFillProvider:Ny,Popover:zy}=window.wp.components,{removeFilter:Zy}=window.wp.hooks;Zy("editor.BlockEdit","core/customize-widgets/block-edit");const k2=Vy({});function Wy(e){const{builder:t}=Iy(Pe),r=ni(()=>`${t}_${e.sectionId}`,[e.sectionId,t]),i=ni(()=>window.wp.customize.control(`sidebars_widgets[${r}]`),[r]),{blocks:o,updateBlocks:a}=JC(i.sidebarAdapter),{settings:s}=$4(),l=By(null);xv(i,l);const c=ni(()=>`#sub-accordion-section-widgets-inspector-sidebar-widgets-${r}`,[r]),d=ni(()=>`#sub-accordion-section-sidebar-widgets-${r}`,[r]),u=ni(()=>({inserter:i.inserter,sidebar:i.sidebarAdapter,inspector:i.inspector}),[i]);Ty(()=>{var p;return(p=document.querySelector(d))==null||p.remove(),u.inspector.triggerActiveCallbacks=()=>{},()=>{u.inserter.close()}},[]);const f=A5(n.jsx("div",{className:"customize-widgets-popover",ref:l,children:n.jsx(zy.Slot,{})}),document.body),h=p=>{a(p)},x=p=>{a(p)};return n.jsx(k2.Provider,{value:u,children:n.jsxs(Ny,{children:[n.jsx("div",{className:"brandy-block-inspector",children:n.jsxs(Py,{children:[n.jsx(Ry.Register,{}),n.jsx(Bl.Register,{}),n.jsxs(Fy,{value:o,onChange:h,onInput:x,useSubRegistry:!1,settings:s,children:[n.jsx(Bl,{undo:u.sidebar.undo,redo:u.sidebar.redo,save:u.sidebar.save}),n.jsx(hv,{}),n.jsx(oy,{}),A5(n.jsx("form",{className:"hehehihi",onSubmit:p=>p.preventDefault(),children:n.jsx(Oy,{})}),document.querySelector(c)??document.body)]}),n.jsx(fy,{})]})}),f]})})}const Gy=window.React.useMemo;function Uy(e){return Gy(()=>n.jsx(Wy,{sectionId:e.sectionId}),[])}const Yy=window.React.useEffect,V5=window.React.useMemo,zs=window.React.useState;function Xy({options:e,selected:t,onChange:r=()=>!1,style:i={}}){const[o,a]=zs(null),[s,l]=zs(null),{styles:c,attributes:d}=_1(o,s),[u,f]=zs(!1),h=V5(()=>(o==null?void 0:o.getBoundingClientRect().width)??0,[o]),x=()=>{f(k=>!k)},p=()=>{f(!1)};Yy(()=>{const k=H=>{(o==null||s==null)&&p(),!(o!=null&&o.contains(H.target))&&!(s!=null&&s.contains(H.target))&&p()};return window.jQuery(document).on("click","body",k),()=>{window.jQuery(document).off("click","body",k)}},[o,s]);const m=k=>{const H=t.indexOf(k);let $=[];H===-1?$=[...t,k]:$=t.filter(C=>C!==k),r($)},w=k=>{const H=t.filter($=>$!==k);r(H)},E=k=>t.includes(k),_=V5(()=>e.length*47>300?300:e.length*47,[e]);return n.jsxs("div",{className:"brandy-select",style:i,children:[n.jsxs("div",{className:Se(["brandy-select__selector","w-full min-h-[40px] px-[12px] py-[3px] bg-gutenberg-white","flex justify-between items-center","border border-brandy-border-light","rounded-base cursor-pointer"]),ref:a,onClick:x,children:[n.jsx("span",{className:"brandy-select__selection-item min-h-[15px] text-brandy-text overflow-hidden text-ellipsis whitespace-nowrap flex flex-wrap",children:t.length>0?t.map(k=>{const H=e.find($=>$.value===k);return n.jsx("span",{className:"text-[#000]",children:n.jsxs("span",{className:"bg-[#f0f0f0] m-[3px] p-[5px] flex items-center gap-[5px] rounded-base",children:[n.jsx("p",{children:H==null?void 0:H.label}),n.jsx("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false","data-icon":"close",width:"10px",height:"10px",fill:"currentColor","aria-hidden":"true",className:"text-[#848484] hover:text-[#000]",onClick:$=>{$.stopPropagation(),w((H==null?void 0:H.value)??"")},children:n.jsx("path",{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"})})]},k)})}):"Select options"}),n.jsx("span",{className:"brandy-select__arrow",children:n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M14 8L10 12L6 8",stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u&&n.jsx("div",{ref:l,style:{...c.popper,width:h,boxShadow:"0px 0px 8px 0px rgba(51, 51, 51, 0.10)"},...d.popper,className:Se(["my-2 z-[99999999999] rounded-base overflow-hidden","cursor-pointer"]),children:n.jsx(G1,{autoHide:!0,className:"bg-gutenberg-white",style:{height:_},children:n.jsx("div",{className:"p-[5px] flex flex-col gap-[5px]",children:e.map(k=>n.jsxs(Jy,{className:"brandy-select__option-content","data-value":k.value,onClick:()=>m(k.value),$_css:[{display:"flex",alignItems:"center",justifyContent:"space-between","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"},{minHeight:"38px",borderRadius:"5px",paddingLeft:"16px",paddingRight:"16px",paddingTop:"9px",paddingBottom:"9px","&:hover":{backgroundColor:"rgba(34, 113, 177, 0.03)","--tw-text-opacity":"1",color:"rgb(0 0 0 / var(--tw-text-opacity))"}},{transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms"},E(k.value)&&{backgroundColor:"#2271B10D !important","--tw-text-opacity":"1 !important",color:"rgb(34 113 177 / var(--tw-text-opacity)) !important"}],children:[k.label,E(k.value)&&n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",style:{width:20,height:20},children:n.jsx("path",{className:"stroke-wp",d:"M17.3274 7.53122L10.5767 16.6102L6.66221 13.6996",strokeWidth:"1.5"})})]},k.value))})})})]})}var Jy=g("div").withConfig({displayName:"MultipleSelect___StyledDiv",componentId:"sc-k7vdlx-0"})(["",""],e=>e.$_css);const Ky=window.React.useMemo;function qy(e){const{current:t}=Ce(),r=Ky(()=>_e(e.value,t),[t,e.value]);return n.jsxs("div",{children:[n.jsx(st,{title:e.title}),n.jsx(Xy,{selected:r,options:e.options??[],onChange:e.onChange}),e.description&&n.jsx(Qy,{dangerouslySetInnerHTML:{__html:e.description}})]})}var Qy=g("div").withConfig({displayName:"MultipleSelectBuilder___StyledDiv",componentId:"sc-eadnfz-0"})({marginTop:"0.5rem",fontSize:"12px"}),G4={exports:{}};/**! * Sortable 1.15.2 * @author RubaXa * @author owenm * @license MIT */function I5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,i)}return r}function L1(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function nb(e,t){if(e==null)return{};var r=tb(e,t),i,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function rb(e){return ib(e)||ob(e)||ab(e)||sb()}function ib(e){if(Array.isArray(e))return Rl(e)}function ob(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ab(e,t){if(e){if(typeof e=="string")return Rl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rl(e,t)}}function Rl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function cb(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function i1(e,t,r,i){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&pa(e,t):pa(e,t))||i&&e===r)return e;if(e===r)break}while(e=cb(e))}return null}var B5=/\s+/g;function Qe(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(B5," ").replace(" "+t+" "," ");e.className=(i+(r?" "+t:"")).replace(B5," ")}}function se(e,t,r){var i=e&&e.style;if(i){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in i)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),i[t]=r+(typeof r=="string"?"":"px")}}function Tn(e,t){var r="";if(typeof e=="string")r=e;else do{var i=se(e,"transform");i&&i!=="none"&&(r=i+" "+r)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(r)}function J4(e,t,r){if(e){var i=e.getElementsByTagName(t),o=0,a=i.length;if(r)for(;o=a:s=o<=a,!s)return i;if(i===k1())break;i=an(i,!1)}return!1}function Ar(e,t,r,i){for(var o=0,a=0,s=e.children;a2&&arguments[2]!==void 0?arguments[2]:{},o=i.evt,a=nb(i,xb);io.pluginEvent.bind(xe)(t,r,L1({dragEl:K,parentEl:it,ghostEl:ve,rootEl:Xe,nextEl:Hn,lastDownEl:Yo,cloneEl:qe,cloneHidden:rn,dragStarted:ci,putSortable:Ct,activeSortable:xe.active,originalEvent:o,oldIndex:fr,oldDraggableIndex:bi,newIndex:Nt,newDraggableIndex:nn,hideGhostForTarget:rd,unhideGhostForTarget:id,cloneNowHidden:function(){rn=!0},cloneNowShown:function(){rn=!1},dispatchSortableEvent:function(l){Dt({sortable:r,name:l,originalEvent:o})}},a))};function Dt(e){li(L1({putSortable:Ct,cloneEl:qe,targetEl:K,rootEl:Xe,oldIndex:fr,oldDraggableIndex:bi,newIndex:Nt,newDraggableIndex:nn},e))}var K,it,ve,Xe,Hn,Yo,qe,rn,fr,Nt,bi,nn,ko,Ct,dr=!1,ga=!1,xa=[],yn,x1,Us,Ys,P5,N5,ci,sr,_i,ji=!1,Mo=!1,Xo,jt,Xs=[],Fl=!1,ma=[],Ka=typeof document<"u",Lo=U4,z5=ro||U1?"cssFloat":"float",mb=Ka&&!Y4&&!U4&&"draggable"in document.createElement("div"),ed=function(){if(Ka){if(U1)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),td=function(t,r){var i=se(t),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),a=Ar(t,0,r),s=Ar(t,1,r),l=a&&se(a),c=s&&se(s),d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+We(a).width,u=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+We(s).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&l.float&&l.float!=="none"){var f=l.float==="left"?"left":"right";return s&&(c.clear==="both"||c.clear===f)?"vertical":"horizontal"}return a&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||d>=o&&i[z5]==="none"||s&&i[z5]==="none"&&d+u>o)?"vertical":"horizontal"},wb=function(t,r,i){var o=i?t.left:t.top,a=i?t.right:t.bottom,s=i?t.width:t.height,l=i?r.left:r.top,c=i?r.right:r.bottom,d=i?r.width:r.height;return o===l||a===c||o+s/2===l+d/2},vb=function(t,r){var i;return xa.some(function(o){var a=o[St].options.emptyInsertThreshold;if(!(!a||M2(o))){var s=We(o),l=t>=s.left-a&&t<=s.right+a,c=r>=s.top-a&&r<=s.bottom+a;if(l&&c)return i=o}}),i},nd=function(t){function r(a,s){return function(l,c,d,u){var f=l.options.group.name&&c.options.group.name&&l.options.group.name===c.options.group.name;if(a==null&&(s||f))return!0;if(a==null||a===!1)return!1;if(s&&a==="clone")return a;if(typeof a=="function")return r(a(l,c,d,u),s)(l,c,d,u);var h=(s?l:c).options.group.name;return a===!0||typeof a=="string"&&a===h||a.join&&a.indexOf(h)>-1}}var i={},o=t.group;(!o||Uo(o)!="object")&&(o={name:o}),i.name=o.name,i.checkPull=r(o.pull,!0),i.checkPut=r(o.put),i.revertClone=o.revertClone,t.group=i},rd=function(){!ed&&ve&&se(ve,"display","none")},id=function(){!ed&&ve&&se(ve,"display","")};Ka&&!Y4&&document.addEventListener("click",function(e){if(ga)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ga=!1,!1},!0);var bn=function(t){if(K){t=t.touches?t.touches[0]:t;var r=vb(t.clientX,t.clientY);if(r){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o]);i.target=i.rootEl=r,i.preventDefault=void 0,i.stopPropagation=void 0,r[St]._onDragOver(i)}}},Cb=function(t){K&&K.parentNode[St]._isOutsideThisEl(t.target)};function xe(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=d1({},t),e[St]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return td(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,l){s.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:xe.supportPointer!==!1&&"PointerEvent"in window&&!Ci,emptyInsertThreshold:5};io.initializePlugins(this,e,r);for(var i in r)!(i in t)&&(t[i]=r[i]);nd(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:mb,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?ke(e,"pointerdown",this._onTapStart):(ke(e,"mousedown",this._onTapStart),ke(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ke(e,"dragover",this),ke(e,"dragenter",this)),xa.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),d1(this,fb())}xe.prototype={constructor:xe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(sr=null)},_getDirection:function(t,r){return typeof this.options.direction=="function"?this.options.direction.call(this,t,r,K):this.options.direction},_onTapStart:function(t){if(t.cancelable){var r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,c=(l||t).target,d=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||c,u=o.filter;if(Hb(i),!K&&!(/mousedown|pointerdown/.test(s)&&t.button!==0||o.disabled)&&!d.isContentEditable&&!(!this.nativeDraggable&&Ci&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=i1(c,o.draggable,i,!1),!(c&&c.animated)&&Yo!==c)){if(fr=ot(c),bi=ot(c,o.draggable),typeof u=="function"){if(u.call(this,t,c,this)){Dt({sortable:r,rootEl:d,name:"filter",targetEl:c,toEl:i,fromEl:i}),Lt("filter",r,{evt:t}),a&&t.cancelable&&t.preventDefault();return}}else if(u&&(u=u.split(",").some(function(f){if(f=i1(d,f.trim(),i,!1),f)return Dt({sortable:r,rootEl:f,name:"filter",targetEl:c,fromEl:i,toEl:i}),Lt("filter",r,{evt:t}),!0}),u)){a&&t.cancelable&&t.preventDefault();return}o.handle&&!i1(d,o.handle,i,!1)||this._prepareDragStart(t,l,c)}}},_prepareDragStart:function(t,r,i){var o=this,a=o.el,s=o.options,l=a.ownerDocument,c;if(i&&!K&&i.parentNode===a){var d=We(i);if(Xe=a,K=i,it=K.parentNode,Hn=K.nextSibling,Yo=i,ko=s.group,xe.dragged=K,yn={target:K,clientX:(r||t).clientX,clientY:(r||t).clientY},P5=yn.clientX-d.left,N5=yn.clientY-d.top,this._lastX=(r||t).clientX,this._lastY=(r||t).clientY,K.style["will-change"]="all",c=function(){if(Lt("delayEnded",o,{evt:t}),xe.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!T5&&o.nativeDraggable&&(K.draggable=!0),o._triggerDragStart(t,r),Dt({sortable:o,name:"choose",originalEvent:t}),Qe(K,s.chosenClass,!0)},s.ignore.split(",").forEach(function(u){J4(K,u.trim(),Js)}),ke(l,"dragover",bn),ke(l,"mousemove",bn),ke(l,"touchmove",bn),ke(l,"mouseup",o._onDrop),ke(l,"touchend",o._onDrop),ke(l,"touchcancel",o._onDrop),T5&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),Lt("delayStart",this,{evt:t}),s.delay&&(!s.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(ro||U1))){if(xe.eventCanceled){this._onDrop();return}ke(l,"mouseup",o._disableDelayedDrag),ke(l,"touchend",o._disableDelayedDrag),ke(l,"touchcancel",o._disableDelayedDrag),ke(l,"mousemove",o._delayedDragTouchMoveHandler),ke(l,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&ke(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(c,s.delay)}else c()}},_delayedDragTouchMoveHandler:function(t){var r=t.touches?t.touches[0]:t;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&Js(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;De(t,"mouseup",this._disableDelayedDrag),De(t,"touchend",this._disableDelayedDrag),De(t,"touchcancel",this._disableDelayedDrag),De(t,"mousemove",this._delayedDragTouchMoveHandler),De(t,"touchmove",this._delayedDragTouchMoveHandler),De(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,r){r=r||t.pointerType=="touch"&&t,!this.nativeDraggable||r?this.options.supportPointer?ke(document,"pointermove",this._onTouchMove):r?ke(document,"touchmove",this._onTouchMove):ke(document,"mousemove",this._onTouchMove):(ke(K,"dragend",this),ke(Xe,"dragstart",this._onDragStart));try{document.selection?Jo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,r){if(dr=!1,Xe&&K){Lt("dragStarted",this,{evt:r}),this.nativeDraggable&&ke(document,"dragover",Cb);var i=this.options;!t&&Qe(K,i.dragClass,!1),Qe(K,i.ghostClass,!0),xe.active=this,t&&this._appendGhost(),Dt({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function(){if(x1){this._lastX=x1.clientX,this._lastY=x1.clientY,rd();for(var t=document.elementFromPoint(x1.clientX,x1.clientY),r=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(x1.clientX,x1.clientY),t!==r);)r=t;if(K.parentNode[St]._isOutsideThisEl(t),r)do{if(r[St]){var i=void 0;if(i=r[St]._onDragOver({clientX:x1.clientX,clientY:x1.clientY,target:t,rootEl:r}),i&&!this.options.dragoverBubble)break}t=r}while(r=r.parentNode);id()}},_onTouchMove:function(t){if(yn){var r=this.options,i=r.fallbackTolerance,o=r.fallbackOffset,a=t.touches?t.touches[0]:t,s=ve&&Tn(ve,!0),l=ve&&s&&s.a,c=ve&&s&&s.d,d=Lo&&jt&&F5(jt),u=(a.clientX-yn.clientX+o.x)/(l||1)+(d?d[0]-Xs[0]:0)/(l||1),f=(a.clientY-yn.clientY+o.y)/(c||1)+(d?d[1]-Xs[1]:0)/(c||1);if(!xe.active&&!dr){if(i&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))=0&&(Dt({rootEl:it,name:"add",toEl:it,fromEl:Xe,originalEvent:t}),Dt({sortable:this,name:"remove",toEl:it,originalEvent:t}),Dt({rootEl:it,name:"sort",toEl:it,fromEl:Xe,originalEvent:t}),Dt({sortable:this,name:"sort",toEl:it,originalEvent:t})),Ct&&Ct.save()):Nt!==fr&&Nt>=0&&(Dt({sortable:this,name:"update",toEl:it,originalEvent:t}),Dt({sortable:this,name:"sort",toEl:it,originalEvent:t})),xe.active&&((Nt==null||Nt===-1)&&(Nt=fr,nn=bi),Dt({sortable:this,name:"end",toEl:it,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Lt("nulling",this),Xe=K=it=ve=Hn=qe=Yo=rn=yn=x1=ci=Nt=nn=fr=bi=sr=_i=Ct=ko=xe.dragged=xe.ghost=xe.clone=xe.active=null,ma.forEach(function(t){t.checked=!0}),ma.length=Us=Ys=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":K&&(this._onDragOver(t),yb(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],r,i=this.el.children,o=0,a=i.length,s=this.options;oo.right+a||e.clientY>i.bottom&&e.clientX>i.left:e.clientY>o.bottom+a||e.clientX>i.right&&e.clientY>i.top}function Sb(e,t,r,i,o,a,s,l){var c=i?e.clientY:e.clientX,d=i?r.height:r.width,u=i?r.top:r.left,f=i?r.bottom:r.right,h=!1;if(!s){if(l&&Xou+d*a/2:cf-Xo)return-_i}else if(c>u+d*(1-o)/2&&cf-d*a/2)?c>u+d/2?1:-1:0}function Db(e){return ot(K)1&&(we.forEach(function(l){a.addAnimationState({target:l,rect:$t?We(l):s}),Ws(l),l.fromRect=s,i.removeAnimationState(l)}),$t=!1,Ab(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(r){var i=r.sortable,o=r.isOwner,a=r.insertion,s=r.activeSortable,l=r.parentEl,c=r.putSortable,d=this.options;if(a){if(o&&s._hideClone(),ii=!1,d.animation&&we.length>1&&($t||!o&&!s.options.sort&&!c)){var u=We(Oe,!1,!0,!0);we.forEach(function(h){h!==Oe&&(O5(h,u),l.appendChild(h))}),$t=!0}if(!o)if($t||Vo(),we.length>1){var f=Ao;s._showClone(i),s.options.animation&&!Ao&&f&&Pt.forEach(function(h){s.addAnimationState({target:h,rect:oi}),h.fromRect=oi,h.thisAnimationDuration=null})}else s._showClone(i)}},dragOverAnimationCapture:function(r){var i=r.dragRect,o=r.isOwner,a=r.activeSortable;if(we.forEach(function(l){l.thisAnimationDuration=null}),a.options.animation&&!o&&a.multiDrag.isMultiDrag){oi=d1({},i);var s=Tn(Oe,!0);oi.top-=s.f,oi.left-=s.e}},dragOverAnimationComplete:function(){$t&&($t=!1,Vo())},drop:function(r){var i=r.originalEvent,o=r.rootEl,a=r.parentEl,s=r.sortable,l=r.dispatchSortableEvent,c=r.oldIndex,d=r.putSortable,u=d||this.sortable;if(i){var f=this.options,h=a.children;if(!lr)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Qe(Oe,f.selectedClass,!~we.indexOf(Oe)),~we.indexOf(Oe))we.splice(we.indexOf(Oe),1),ri=null,li({sortable:s,rootEl:o,name:"deselect",targetEl:Oe,originalEvent:i});else{if(we.push(Oe),li({sortable:s,rootEl:o,name:"select",targetEl:Oe,originalEvent:i}),i.shiftKey&&ri&&s.el.contains(ri)){var x=ot(ri),p=ot(Oe);if(~x&&~p&&x!==p){var m,w;for(p>x?(w=x,m=p):(w=p,m=x+1);w1){var E=We(Oe),_=ot(Oe,":not(."+this.options.selectedClass+")");if(!ii&&f.animation&&(Oe.thisAnimationDuration=null),u.captureAnimationState(),!ii&&(f.animation&&(Oe.fromRect=E,we.forEach(function(H){if(H.thisAnimationDuration=null,H!==Oe){var $=$t?We(H):E;H.fromRect=$,u.addAnimationState({target:H,rect:$})}})),Vo(),we.forEach(function(H){h[_]?a.insertBefore(H,h[_]):a.appendChild(H),_++}),c===ot(Oe))){var k=!1;we.forEach(function(H){if(H.sortableIndex!==ot(H)){k=!0;return}}),k&&(l("update"),l("sort"))}we.forEach(function(H){Ws(H)}),u.animateAll()}m1=u}(o===a||d&&d.lastPutMode!=="clone")&&Pt.forEach(function(H){H.parentNode&&H.parentNode.removeChild(H)})}},nullingGlobal:function(){this.isMultiDrag=lr=!1,Pt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),De(document,"pointerup",this._deselectMultiDrag),De(document,"mouseup",this._deselectMultiDrag),De(document,"touchend",this._deselectMultiDrag),De(document,"keydown",this._checkKeyDown),De(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(r){if(!(typeof lr<"u"&&lr)&&m1===this.sortable&&!(r&&i1(r.target,this.options.draggable,this.sortable.el,!1))&&!(r&&r.button!==0))for(;we.length;){var i=we[0];Qe(i,this.options.selectedClass,!1),we.shift(),li({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:i,originalEvent:r})}},_checkKeyDown:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},d1(e,{pluginName:"multiDrag",utils:{select:function(r){var i=r.parentNode[St];!i||!i.options.multiDrag||~we.indexOf(r)||(m1&&m1!==i&&(m1.multiDrag._deselectMultiDrag(),m1=i),Qe(r,i.options.selectedClass,!0),we.push(r))},deselect:function(r){var i=r.parentNode[St],o=we.indexOf(r);!i||!i.options.multiDrag||!~o||(Qe(r,i.options.selectedClass,!1),we.splice(o,1))}},eventProperties:function(){var r=this,i=[],o=[];return we.forEach(function(a){i.push({multiDragElement:a,index:a.sortableIndex});var s;$t&&a!==Oe?s=-1:$t?s=ot(a,":not(."+r.options.selectedClass+")"):s=ot(a),o.push({multiDragElement:a,index:s})}),{items:rb(we),clones:[].concat(Pt),oldIndicies:i,newIndicies:o}},optionListeners:{multiDragKey:function(r){return r=r.toLowerCase(),r==="ctrl"?r="Control":r.length>1&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r}}})}function Ab(e,t){we.forEach(function(r,i){var o=t.children[r.sortableIndex+(e?Number(i):0)];o?t.insertBefore(r,o):t.appendChild(r)})}function W5(e,t){Pt.forEach(function(r,i){var o=t.children[r.sortableIndex+(e?Number(i):0)];o?t.insertBefore(r,o):t.appendChild(r)})}function Vo(){we.forEach(function(e){e!==Oe&&e.parentNode&&e.parentNode.removeChild(e)})}xe.mount(new kb);xe.mount(A2,$2);const Vb=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:$b,Sortable:xe,Swap:Mb,default:xe},Symbol.toStringTag,{value:"Module"})),Ib=Sc(Vb);var ad={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i=[],o=0;o$882b6d93070905b3$re_export$Sortable),s(e.exports,"Direction",()=>$882b6d93070905b3$re_export$Direction),s(e.exports,"DOMRect",()=>$882b6d93070905b3$re_export$DOMRect),s(e.exports,"GroupOptions",()=>$882b6d93070905b3$re_export$GroupOptions),s(e.exports,"MoveEvent",()=>$882b6d93070905b3$re_export$MoveEvent),s(e.exports,"Options",()=>$882b6d93070905b3$re_export$Options),s(e.exports,"PullResult",()=>$882b6d93070905b3$re_export$PullResult),s(e.exports,"PutResult",()=>$882b6d93070905b3$re_export$PutResult),s(e.exports,"SortableEvent",()=>$882b6d93070905b3$re_export$SortableEvent),s(e.exports,"SortableOptions",()=>$882b6d93070905b3$re_export$SortableOptions),s(e.exports,"Utils",()=>$882b6d93070905b3$re_export$Utils),s(e.exports,"ReactSortable",()=>H);function c(C){C.parentElement!==null&&C.parentElement.removeChild(C)}function d(C,b,T){const M=C.children[T]||null;C.insertBefore(b,M)}function u(C){C.forEach(b=>c(b.element))}function f(C){C.forEach(b=>{d(b.parentElement,b.element,b.oldIndex)})}function h(C,b){const T=w(C),M={parentElement:C.from};let j=[];switch(T){case"normal":j=[{element:C.item,newIndex:C.newIndex,oldIndex:C.oldIndex,parentElement:C.from}];break;case"swap":const z={element:C.item,oldIndex:C.oldIndex,newIndex:C.newIndex,...M},Z={element:C.swapItem,oldIndex:C.newIndex,newIndex:C.oldIndex,...M};j=[z,Z];break;case"multidrag":j=C.oldIndicies.map((B,O)=>({element:B.multiDragElement,oldIndex:B.index,newIndex:C.newIndicies[O].index,...M}));break}return E(j,b)}function x(C,b){const T=p(C,b);return m(C,T)}function p(C,b){const T=[...b];return C.concat().reverse().forEach(M=>T.splice(M.oldIndex,1)),T}function m(C,b,T,M){const j=[...b];return C.forEach(V=>{const F=M&&T&&M(V.item,T);j.splice(V.newIndex,0,F||V.item)}),j}function w(C){return C.oldIndicies&&C.oldIndicies.length>0?"multidrag":C.swapItem?"swap":"normal"}function E(C,b){return C.map(M=>({...M,item:b[M.oldIndex]})).sort((M,j)=>M.oldIndex-j.oldIndex)}function _(C){const{list:b,setList:T,children:M,tag:j,style:V,className:F,clone:z,onAdd:Z,onChange:B,onChoose:O,onClone:I,onEnd:P,onFilter:L,onRemove:W,onSort:Q,onStart:Y,onUnchoose:he,onUpdate:pe,onMove:N,onSpill:ee,onSelect:de,onDeselect:ne,...te}=C;return te}const k={dragging:null};class H extends i.Component{constructor(b){super(b),this.ref=(0,i.createRef)();const T=[...b.list].map(M=>Object.assign(M,{chosen:!1,selected:!1}));b.setList(T,this.sortable,k),a(o)(!b.plugins,` Plugins prop is no longer supported. Instead, mount it with "Sortable.mount(new MultiDrag())" Please read the updated README.md at https://github.com/SortableJS/react-sortablejs. `)}componentDidMount(){if(this.ref.current===null)return;const b=this.makeOptions();a(t).create(this.ref.current,b)}componentDidUpdate(b){b.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:b,style:T,className:M,id:j}=this.props,V={style:T,className:M,id:j},F=!b||b===null?"div":b;return(0,i.createElement)(F,{ref:this.ref,...V},this.getChildren())}getChildren(){const{children:b,dataIdAttr:T,selectedClass:M="sortable-selected",chosenClass:j="sortable-chosen",dragClass:V="sortable-drag",fallbackClass:F="sortable-falback",ghostClass:z="sortable-ghost",swapClass:Z="sortable-swap-highlight",filter:B="sortable-filter",list:O}=this.props;if(!b||b==null)return null;const I=T||"data-id";return i.Children.map(b,(P,L)=>{if(P===void 0)return;const W=O[L]||{},{className:Q}=P.props,Y=typeof B=="string"&&{[B.replace(".","")]:!!W.filtered},he=a(r)(Q,{[M]:W.selected,[j]:W.chosen,...Y});return(0,i.cloneElement)(P,{[I]:P.key,className:he})})}get sortable(){const b=this.ref.current;if(b===null)return null;const T=Object.keys(b).find(M=>M.includes("Sortable"));return T?b[T]:null}makeOptions(){const b=["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"],T=["onChange","onClone","onFilter","onSort"],M=_(this.props);return b.forEach(V=>M[V]=this.prepareOnHandlerPropAndDOM(V)),T.forEach(V=>M[V]=this.prepareOnHandlerProp(V)),{...M,onMove:(V,F)=>{const{onMove:z}=this.props,Z=V.willInsertAfter||-1;if(!z)return Z;const B=z(V,F,this.sortable,k);return typeof B>"u"?!1:B}}}prepareOnHandlerPropAndDOM(b){return T=>{this.callOnHandlerProp(T,b),this[b](T)}}prepareOnHandlerProp(b){return T=>{this.callOnHandlerProp(T,b)}}callOnHandlerProp(b,T){const M=this.props[T];M&&M(b,this.sortable,k)}onAdd(b){const{list:T,setList:M,clone:j}=this.props,V=[...k.dragging.props.list],F=h(b,V);u(F);const z=m(F,T,b,j).map(Z=>Object.assign(Z,{selected:!1}));M(z,this.sortable,k)}onRemove(b){const{list:T,setList:M}=this.props,j=w(b),V=h(b,T);f(V);let F=[...T];if(b.pullMode!=="clone")F=p(V,F);else{let z=V;switch(j){case"multidrag":z=V.map((Z,B)=>({...Z,element:b.clones[B]}));break;case"normal":z=V.map(Z=>({...Z,element:b.clone}));break;case"swap":default:a(o)(!0,`mode "${j}" cannot clone. Please remove "props.clone" from when using the "${j}" plugin`)}u(z),V.forEach(Z=>{const B=Z.oldIndex,O=this.props.clone(Z.item,b);F.splice(B,1,O)})}F=F.map(z=>Object.assign(z,{selected:!1})),M(F,this.sortable,k)}onUpdate(b){const{list:T,setList:M}=this.props,j=h(b,T);u(j),f(j);const V=x(j,T);return M(V,this.sortable,k)}onStart(){k.dragging=this}onEnd(){k.dragging=null}onChoose(b){const{list:T,setList:M}=this.props,j=T.map((V,F)=>{let z=V;return F===b.oldIndex&&(z=Object.assign(V,{chosen:!0})),z});M(j,this.sortable,k)}onUnchoose(b){const{list:T,setList:M}=this.props,j=T.map((V,F)=>{let z=V;return F===b.oldIndex&&(z=Object.assign(z,{chosen:!1})),z});M(j,this.sortable,k)}onSpill(b){const{removeOnSpill:T,revertOnSpill:M}=this.props;T&&!M&&c(b.item)}onSelect(b){const{list:T,setList:M}=this.props,j=T.map(V=>Object.assign(V,{selected:!1}));b.newIndicies.forEach(V=>{const F=V.index;if(F===-1){console.log(`"${b.type}" had indice of "${V.index}", which is probably -1 and doesn't usually happen here.`),console.log(b);return}j[F].selected=!0}),M(j,this.sortable,k)}onDeselect(b){const{list:T,setList:M}=this.props,j=T.map(V=>Object.assign(V,{selected:!1}));b.newIndicies.forEach(V=>{const F=V.index;F!==-1&&(j[F].selected=!0)}),M(j,this.sortable,k)}}Q2(H,"defaultProps",{clone:b=>b});var $={};l(e.exports,$)})(G4);var hn=G4.exports;const Pb=window.React.forwardRef,fn=Pb(({searchText:e="",onSearch:t=()=>!1,placeholder:r=D("Search"),...i},o)=>n.jsx(Nb,{value:e,onChange:t,ref:o,type:"text",prefix:n.jsx(zb,{children:n.jsx(jp,{})}),placeholder:r,...i,$_css2:[{height:"40px",width:"100%",borderRadius:"5px",borderWidth:"0px !important",paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"8px",">input":{"--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}},ce(["",""],{"--tw-bg-opacity":"1 !important",backgroundColor:"rgb(246 247 247 / var(--tw-bg-opacity)) !important"})]}));var Nb=g(Ue)`${e=>e.$_css2}`,zb=g("span").withConfig({displayName:"SearchBox___StyledSpan",componentId:"sc-3svoz1-0"})({"--tw-scale-x":"-1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",">svg":{height:"25px",width:"25px"}});const Zb=window.React.createContext,Wb=window.React.forwardRef,V2=window.React.useContext,sd=window.React.useEffect,va=window.React.useMemo,Gb=window.React.useRef,Si=window.React.useState,Ub=Zb({}),Yb=e=>{const{builder:t}=V2(Pe),r=re(t)(l=>l.changeElementSettings),i=re(t)(l=>{var c;return((c=l.chosenElement)==null?void 0:c.id)??""}),[o]=Si(!1),a=()=>{r(l=>{l.languages=l.languages.filter(c=>c.id!==e.item.id)}),Ee().refreshPartial(`${t}_${i}`)},s=l=>{r(c=>{const d=c.languages.findIndex(u=>u.id===e.item.id);d!==-1&&(c.languages[d].url=l.toString())})};return n.jsxs(qb,{className:"bg-gutenberg-white rounded-base transition-all ease-in-out duration-base overflow-hidden",$_css2:[{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:[n.jsxs(Qb,{className:"group flex justify-between items-center p-3 select-none h-[44px]",$_css3:[o&&{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},o&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(30 30 30 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("span",{className:"brandy-social-drag-handle cursor-grab p-2",children:n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Se([!o&&"group-hover:[&_*]:fill-brandy-text",o&&`[&_*]:fill-[${window.brandyCustomizerData.colors.icon.normal}]`]),children:[n.jsxs("g",{clipPath:"url(#clip0_2536_66911)",children:[n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2536_66911",children:n.jsx("rect",{width:"7",height:"12",fill:"white"})})})]})}),n.jsx(e_,{className:"brandy-icon",dangerouslySetInnerHTML:{__html:ld[e.item.flag]??""}}),n.jsx("span",{className:Se(["group-hover:text-brandy-text",o&&"group-hover:text-gutenberg-white"]),children:e.item.language_name})]}),n.jsx(t_,{className:"flex invisible opacity-0 items-center gap-1 transition-all ease-in-out duration-base",$_css4:[{".group:hover &":{visibility:"visible !important",opacity:"1 !important"}},o&&{visibility:"visible !important",opacity:"1 !important"}],children:n.jsx(n_,{className:"p-1 cursor-pointer",onClick:a,$_css5:[ce(["&:hover svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#FF5F5D"},{fill:"#FF5F5D"})],children:n.jsxs("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1.67773 1.57422H11.3206L9.97478 10.3049C9.82442 11.2803 8.98504 12.0002 7.99812 12.0002H5.0002C4.01328 12.0002 3.17391 11.2803 3.02355 10.3049L1.67773 1.57422Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("rect",{x:"0.875",y:"1.57422",width:"11.25",height:"1.37702",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M8.10686 1.57369C8.10686 1.57369 7.38732 1.57369 6.49972 1.57369C5.61212 1.57369 4.89258 1.57369 4.89258 1.57369C4.89258 0.704538 5.61212 -4.8097e-05 6.49972 -4.8097e-05C7.38732 -4.8097e-05 8.10686 0.704538 8.10686 1.57369Z",fill:window.brandyCustomizerData.colors.icon.normal})]})})})]}),o&&n.jsx("div",{className:"p-4",children:n.jsx(r_,{value:e.item.url,onChange:s,prefix:n.jsx(i_,{className:"brandy-icon",$_css7:[ce(["padding:6px;background:#e3e8ee;border-right:1px solid #e3e8ee;svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#A1ABB7"},{fill:"#A1ABB7"})],children:n.jsx("svg",{width:"18",height:"11",viewBox:"0 0 18 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M12.6 0.200012H11V1.70001H12.6C14.6 1.70001 16.3 3.40001 16.3 5.40001C16.3 7.40001 14.6 9.10001 12.6 9.10001H11V10.6H12.6C15.4 10.6 17.8 8.30001 17.8 5.40001C17.8 2.50001 15.5 0.200012 12.6 0.200012ZM1.70001 5.40001C1.70001 3.40001 3.40001 1.70001 5.40001 1.70001H7.00001V0.200012H5.40001C2.50001 0.200012 0.200012 2.50001 0.200012 5.40001C0.200012 8.30001 2.50001 10.6 5.40001 10.6H7.00001V9.10001H5.40001C3.40001 9.10001 1.70001 7.40001 1.70001 5.40001ZM6.30001 6.30001H11.6V4.80001H6.30001V6.30001Z",fill:"black"})})}),$_css6:[ce(["padding:0 !important;overflow:hidden;"])]})})]})},Xb=window.brandyCustomizerData.language.list,ld=window.brandyCustomizerData.language.flags;function Jb(e){const{builder:t}=V2(Pe),r=va(()=>e.value??e.default_value,[e.value,e.default_value]),i=re(t)(w=>{var E;return((E=w.chosenElement)==null?void 0:E.id)??""}),[o,a]=Si(null),[s,l]=Si(null),{styles:c,attributes:d}=_1(o,s),[u,f]=Si(!1),h=()=>{f(w=>!w)},x=()=>{f(!1)};sd(()=>{const w=E=>{(o==null||s==null)&&x(),!(o!=null&&o.contains(E.target))&&!(s!=null&&s.contains(E.target))&&x()};return window.jQuery(document).on("click","body",w),()=>{window.jQuery(document).off("click","body",w)}},[o,s]);const p=w=>{JSON.stringify(r)!==JSON.stringify(w)&&(e.onChange(w),Ee().refreshPartial(`${t}_${i}`))},m=va(()=>({defaultValue:e.default_value}),[e.default_value]);return n.jsx(Ub.Provider,{value:m,children:n.jsxs(o_,{children:[n.jsxs(a_,{children:[n.jsx(Be,{className:"m-0",children:D("List languages")}),n.jsx(s_,{className:"group",ref:a,onClick:h,children:n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx(l_,{d:"M12 5.3H7.2V0.5H4.8V5.3H0V7.7H4.8V12.5H7.2V7.7H12V5.3Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),n.jsx(hn.ReactSortable,{list:r,setList:p,className:"flex flex-col gap-4",animation:150,easing:"ease-in-out",handle:".brandy-social-drag-handle",children:r.map(w=>n.jsx("div",{children:n.jsx(Yb,{item:w})},w.id))}),u&&n.jsx(Kb,{ref:l,style:{...c.popper},...d.popper,onClose:x})]})})}const Kb=Wb(({style:e,onClose:t,...r},i)=>{const{builder:o}=V2(Pe),a=re(o)(p=>p.changeElementSettings),s=re(o)(p=>{var m,w;return((w=(m=p.chosenElement)==null?void 0:m.settings)==null?void 0:w.languages)??[]}),l=re(o)(p=>{var m;return((m=p.chosenElement)==null?void 0:m.id)??""}),[c,d]=Si(""),u=va(()=>Xb.filter(p=>!s.map(m=>m.id).includes(p.id)),[s]),f=va(()=>u.filter(p=>p.language_name.toLowerCase().includes(c.toLowerCase())||p.language_code.toLowerCase().includes(c.toLowerCase())||p.country_code.toLowerCase().includes(c.toLowerCase())||(p.english_name??"").toLowerCase().includes(c.toLowerCase())),[u,c]),h=p=>()=>{a(m=>{m.languages.push(p)}),Ee().refreshPartial(`${o}_${l}`),t()},x=Gb(null);return sd(()=>{var p,m;return(m=(p=x.current)==null?void 0:p.querySelector("input"))==null?void 0:m.focus()},[x.current]),n.jsxs(c_,{style:e,ref:i,...r,children:[n.jsxs(d_,{children:[n.jsx(u_,{children:"Add language"}),n.jsx(h_,{onClick:()=>{t()},children:n.jsx(eo,{})})]}),n.jsx(f_,{children:n.jsx(fn,{ref:x,searchText:c,onSearch:p=>{d(p.toString())},placeholder:D("Search language")})}),n.jsx(G1,{className:"h-[300px]",autoHide:!0,children:n.jsxs(p_,{children:[f.map(p=>n.jsxs(g_,{onClick:h(p),children:[n.jsx(x_,{className:"brandy-icon",dangerouslySetInnerHTML:{__html:ld[p.flag]??""},$_css8:[` display: inline-flex; width: 30px; height: 100%; svg { width: 100%; height: 100%; }`]}),n.jsx("span",{children:p.english_name})]},p.id)),f.length===0&&n.jsx(m_,{children:"No language found"})]})})]})});var qb=g("div")`${e=>e.$_css2}`,Qb=g("div")`${e=>e.$_css3}`,e_=g("span")` width: 20px; height: 20px; border-radius: 50%; overflow: hidden; outline: 1px solid rgba(227, 232, 238, 0.45); outline-offset: 2px; svg { width: auto; height: 102%; left: -22%; position: relative; } `,t_=g("div")`${e=>e.$_css4}`,n_=g("span")`${e=>e.$_css5}`,r_=g(Ue)`${e=>e.$_css6}`,i_=g("span")`${e=>e.$_css7}`,o_=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),a_=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),s_=g("div")({cursor:"pointer",borderRadius:"5px",padding:"0.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:hover":{backgroundColor:"#D1EAFFB2"}}),l_=g("path")({transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s",".group:hover &":{fill:"#2271B1"}}),c_=g("div")({zIndex:"10",marginTop:"0.5rem",marginBottom:"0.5rem",width:"320px",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-shadow":"0px 0px 8px 0px rgba(51, 51, 51, 0.10)","--tw-shadow-colored":"0px 0px 8px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}),d_=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"1rem",paddingBottom:"0.5rem"}),u_=g("span")({fontSize:"16px",fontWeight:"500"}),h_=g("span")({cursor:"pointer",padding:"0.25rem"}),f_=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem",paddingTop:"0.5rem"}),p_=g("div")({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"0.25rem",padding:"1rem"}),g_=g("div")({display:"flex",minHeight:"45px",cursor:"pointer",alignItems:"center",gap:"0.5rem",borderRadius:"3px",padding:"0.5rem","&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(240 244 249 / var(--tw-bg-opacity))"}}),x_=g("span")`${e=>e.$_css8}`,m_=g("div").withConfig({displayName:"ListLanguages___StyledDiv12",componentId:"sc-1uj33jr-0"})({gridColumn:"span 4 / span 4",margin:"auto","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"});const w_=window.React.createContext,v_=window.React.forwardRef,I2=window.React.useContext,cd=window.React.useEffect,Ca=window.React.useMemo,C_=window.React.useRef,Di=window.React.useState,y_=w_({}),b_=e=>{const{builder:t}=I2(Pe),r=Ae(s=>s.changeElementSettings),[i,o]=Di(!1),a=()=>{r(s=>{s.currencies=s.currencies.filter(l=>l.id!==e.item.id)}),Ee().refreshPartial(`${t}_currency`)};return n.jsx(S_,{className:"currency-item",$_css2:[{overflow:"hidden",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:n.jsxs(D_,{className:"group",$_css3:[{display:"flex",height:"44px",userSelect:"none",alignItems:"center",justifyContent:"space-between",padding:"0.75rem"},i&&{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},i&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(30 30 30 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:[n.jsxs(E_,{children:[n.jsx(H_,{className:"brandy-social-drag-handle",children:n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Se([!i&&"group-hover:[&_*]:fill-brandy-text",i&&`[&_*]:fill-[${window.brandyCustomizerData.colors.icon.normal}]`]),children:[n.jsxs("g",{clipPath:"url(#clip0_2536_66911)",children:[n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2536_66911",children:n.jsx("rect",{width:"7",height:"12",fill:"white"})})})]})}),n.jsxs(k_,{className:Se(["group-hover:text-brandy-text",i&&"group-hover:text-gutenberg-white"]),children:[n.jsx(M_,{src:e.item.flag,alt:"currency-flag"}),n.jsx(L_,{children:e.item.id})]})]}),n.jsx($_,{$_css4:[{visibility:"hidden",display:"flex",alignItems:"center",gap:"0.25rem",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{".group:hover &":{visibility:"visible !important",opacity:"1 !important"}},i&&{visibility:"visible !important",opacity:"1 !important"}],children:n.jsx(A_,{onClick:a,$_css5:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#FF5F5D"},{fill:"#FF5F5D"})],children:n.jsxs("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1.67773 1.57422H11.3206L9.97478 10.3049C9.82442 11.2803 8.98504 12.0002 7.99812 12.0002H5.0002C4.01328 12.0002 3.17391 11.2803 3.02355 10.3049L1.67773 1.57422Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("rect",{x:"0.875",y:"1.57422",width:"11.25",height:"1.37702",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M8.10686 1.57369C8.10686 1.57369 7.38732 1.57369 6.49972 1.57369C5.61212 1.57369 4.89258 1.57369 4.89258 1.57369C4.89258 0.704538 5.61212 -4.8097e-05 6.49972 -4.8097e-05C7.38732 -4.8097e-05 8.10686 0.704538 8.10686 1.57369Z",fill:window.brandyCustomizerData.colors.icon.normal})]})})})]})})},dd=window.brandyCustomizerData.currency.list;function __(e){const{builder:t}=I2(Pe),r=Ca(()=>e.value??e.default_value,[e.value,e.default_value]),[i,o]=Di(null),[a,s]=Di(null),{styles:l,attributes:c}=_1(i,a),[d,u]=Di(!1),f=()=>{u(m=>!m)},h=()=>{u(!1)};cd(()=>{const m=w=>{(i==null||a==null)&&h(),!(i!=null&&i.contains(w.target))&&!(a!=null&&a.contains(w.target))&&h()};return window.jQuery(document).on("click","body",m),()=>{window.jQuery(document).off("click","body",m)}},[i,a]);const x=m=>{JSON.stringify(r)!==JSON.stringify(m)&&(e.onChange(m),Ee().refreshPartial(`${t}_currency`))},p=Ca(()=>({defaultValue:e.default_value}),[e.default_value]);return n.jsx(y_.Provider,{value:p,children:n.jsxs(V_,{children:[n.jsxs(I_,{children:[n.jsx(Be,{className:"m-0",children:D("List Currencies")}),n.jsx(T_,{className:"group",ref:o,onClick:f,children:n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx(B_,{d:"M12 5.3H7.2V0.5H4.8V5.3H0V7.7H4.8V12.5H7.2V7.7H12V5.3Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),dd.length<1&&n.jsx("div",{dangerouslySetInnerHTML:{__html:D('Please install YayCurrency to add currencies')}}),n.jsx(hn.ReactSortable,{list:r,setList:x,className:"flex flex-col gap-4",animation:150,easing:"ease-in-out",handle:".brandy-social-drag-handle",children:r.map(m=>n.jsx("div",{children:n.jsx(b_,{item:m})},m.id))}),d&&n.jsx(j_,{ref:s,style:{...l.popper},...c.popper,onClose:h})]})})}const j_=v_(({style:e,onClose:t,...r},i)=>{const{builder:o}=I2(Pe),a=Ae(x=>x.changeElementSettings),s=Ae(x=>{var p,m;return((m=(p=x.chosenElement)==null?void 0:p.settings)==null?void 0:m.currencies)??[]}),[l,c]=Di(""),d=Ca(()=>dd.filter(x=>!s.map(p=>p.id).includes(x.id)),[s]),u=Ca(()=>d.filter(x=>x.name.toLowerCase().includes(l.toLowerCase())||x.id.toLowerCase().includes(l.toLowerCase())),[d,l]),f=x=>()=>{a(p=>{p.currencies.push(x)}),Ee().refreshPartial(`${o}_currency`),t()},h=C_(null);return cd(()=>{var x,p;return(p=(x=h.current)==null?void 0:x.querySelector("input"))==null?void 0:p.focus()},[h.current]),n.jsxs(R_,{style:e,ref:i,...r,$_css6:[{zIndex:"10",marginTop:"0.5rem",marginBottom:"0.5rem",width:"320px",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{"--tw-shadow":"0px 0px 8px 0px rgba(51, 51, 51, 0.10)","--tw-shadow-colored":"0px 0px 8px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:[n.jsxs(F_,{children:[n.jsx(O_,{children:"Add currency"}),n.jsx(P_,{onClick:()=>{t()},children:n.jsx(eo,{})})]}),n.jsx(N_,{children:n.jsx(fn,{ref:h,searchText:l,onSearch:x=>{c(x.toString())},placeholder:D("Search currency")})}),n.jsx(G1,{className:"h-[300px]",autoHide:!0,children:n.jsxs(z_,{children:[u.map(x=>n.jsxs(Z_,{onClick:f(x),$_css7:[{display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"center",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"1rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:[n.jsx(W_,{src:x.flag,alt:"currency-flag"}),n.jsx(G_,{children:x.id})]},x.id)),u.length===0&&n.jsx(U_,{children:"No currency found"})]})})]})});var S_=g("div")`${e=>e.$_css2}`,D_=g("div")`${e=>e.$_css3}`,E_=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),H_=g("span")({cursor:"grab",padding:"0.5rem"}),k_=g("span")({display:"flex",alignItems:"center"}),M_=g("img")({marginRight:"0.5rem",display:"inline-block",width:"30px",borderRadius:"3px"}),L_=g("span")({fontWeight:"500"}),$_=g("div")`${e=>e.$_css4}`,A_=g("span")`${e=>e.$_css5}`,V_=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),I_=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),T_=g("div")({cursor:"pointer",borderRadius:"5px",padding:"0.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:hover":{backgroundColor:"#D1EAFFB2"}}),B_=g("path")({transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s",".group:hover &":{fill:"#2271B1"}}),R_=g("div")`${e=>e.$_css6}`,F_=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"1rem",paddingBottom:"0.5rem"}),O_=g("span")({fontSize:"16px",fontWeight:"500"}),P_=g("span")({cursor:"pointer",padding:"0.25rem"}),N_=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem",paddingTop:"0.5rem"}),z_=g("div")({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"1rem",padding:"1rem"}),Z_=g("div")`${e=>e.$_css7}`,W_=g("img")({marginRight:"0.5rem",width:"40px",borderRadius:"3px"}),G_=g("span")({fontWeight:"500"}),U_=g("div").withConfig({displayName:"ListCurrencies___StyledDiv13",componentId:"sc-gaezvr-0"})({gridColumn:"span 4 / span 4",margin:"auto","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"});const Y_=window.React.useContext;function X_(e){const t=Y_(Pe);return n.jsx("div",{className:"flex flex-col gap-4",children:n.jsxs("div",{children:[n.jsx(Ua,{...e}),n.jsxs("div",{className:"text-brandy-text-secondary mt-2",children:[D("Manage your menu items in the")," ",n.jsx("span",{className:"text-wp underline cursor-pointer",onClick:()=>{var r;t!=null&&t.goBack?(t==null||t.goBack(),(r=window.wp.customize.panel("nav_menus"))==null||r.expand()):window.open(window.brandyCustomizerData.paths.nav_menu,"_blank")},children:"Menus screen."})]})]})})}const J_=window.React.useContext,G5=window.React.useMemo,K_=window.brandyCustomizerData.icons.account;function q_(e){const{builder:t}=J_(h1),r=G5(()=>e.value_path.indexOf("logged_in")!==-1?"logged_in":"logged_out",[e.value_path]),i=re(t)(a=>{var s,l,c,d,u,f,h,x;return(r==="logged_in"?(d=(c=(l=(s=a.chosenElement)==null?void 0:s.settings)==null?void 0:l.logged_in)==null?void 0:c.icon)==null?void 0:d.style:(x=(h=(f=(u=a.chosenElement)==null?void 0:u.settings)==null?void 0:f.logged_out)==null?void 0:h.icon)==null?void 0:x.style)??"outline"}),o=G5(()=>Object.entries(K_[i]??{}).map(([a,s])=>({value:a,label:n.jsx("span",{className:Se(["brandy-icon"]),dangerouslySetInnerHTML:{__html:s}})})),[i]);return n.jsx($1,{...e,options:o,itemCss:[ce(["&.selected{border:1px solid black;svg *[stroke]{stroke:#000 !important;}svg *[fill]{fill:#000 !important;}}&:hover{svg{*[fill]{fill:#000 !important;}*[stroke]{stroke:#000 !important;}}}svg *{transition:all ease-in-out 0.1s;}"])]})}const Q_=window.React.useMemo,ej={logged_in:n.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.8 12V10.5H4.32727L4.32727 12C4.32727 12.2761 4.5552 12.5 4.83636 12.5H11.9636C12.2448 12.5 12.4727 12.2761 12.4727 12V2C12.4727 1.72386 12.2448 1.5 11.9636 1.5L4.83636 1.5C4.5552 1.5 4.32727 1.72386 4.32727 2V3.5L2.8 3.5V2C2.8 0.895431 3.71171 0 4.83636 0H11.9636C13.0883 0 14 0.89543 14 2V12C14 13.1046 13.0883 14 11.9636 14H4.83636C3.71171 14 2.8 13.1046 2.8 12ZM10.1983 6.46492L7.14371 3.46492L6.09265 4.53509L7.83875 6.25001L0 6.25001V7.75001L7.83874 7.75001L6.09265 9.46491L7.14371 10.5351L10.1983 7.53509L10.7431 7.00001L10.1983 6.46492Z",fill:"#5A6D80"})}),logged_out:n.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.8 12V10.5H4.32727L4.32727 12C4.32727 12.2761 4.5552 12.5 4.83636 12.5H11.9636C12.2448 12.5 12.4727 12.2761 12.4727 12V2C12.4727 1.72386 12.2448 1.5 11.9636 1.5L4.83636 1.5C4.5552 1.5 4.32727 1.72386 4.32727 2V3.5L2.8 3.5V2C2.8 0.895431 3.71171 0 4.83636 0H11.9636C13.0883 0 14 0.89543 14 2V12C14 13.1046 13.0883 14 11.9636 14H4.83636C3.71171 14 2.8 13.1046 2.8 12ZM10.1983 6.46492L7.14371 3.46492L6.09265 4.53509L7.83875 6.25001L0 6.25001V7.75001L7.83874 7.75001L6.09265 9.46491L7.14371 10.5351L10.1983 7.53509L10.7431 7.00001L10.1983 6.46492Z",fill:"#5A6D80"})})};function ud({state:e}){const t=Q_(()=>e==="logged_in"?"Logged in view":"Logged out view",[e]);return n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("div",{className:"text-[12px] font-bold text-brandy-text-secondary uppercase",children:t}),n.jsx("div",{children:ej[e]})]})}const tj=()=>n.jsx(ud,{state:"logged_in"}),nj=()=>n.jsx(ud,{state:"logged_out"}),rj=window.React.useMemo,ij=window.brandyCustomizerData.icons.button;function oj(e){const t=rj(()=>Object.entries(ij??{}).map(([r,i])=>({value:r,label:n.jsx("span",{className:Se(["brandy-icon"]),dangerouslySetInnerHTML:{__html:i}})})),[]);return n.jsx($1,{...e,options:t,className:"[&_.brandy-icon-group]:grid [&_.brandy-icon-group]:grid-cols-4"})}const aj=window.React.useContext,sj=window.React.useMemo,lj=window.brandyCustomizerData.icons.cart;function cj(e){const{builder:t}=aj(h1),r=re(t)(o=>{var a;return(a=o.chosenElement)==null?void 0:a.settings.icon_style}),i=sj(()=>Object.entries(lj[r]??{}).map(([o,a])=>({value:o,label:n.jsx("span",{className:Se(["brandy-icon"]),dangerouslySetInnerHTML:{__html:a}})})),[r]);return n.jsx($1,{...e,options:i})}const dj=window.React.forwardRef,T2=window.React.useContext,hd=window.React.useEffect,zl=window.React.useMemo,uj=window.React.useRef,Ei=window.React.useState,hj=e=>{const{builder:t}=T2(Pe),r=re(t)(f=>{var h;return(h=f.chosenElement)==null?void 0:h.settings}),i=re(t)(f=>f.changeElementSettings),[o,a]=Ei(!1),s=f=>{f.stopPropagation(),r.items.forEach((h,x)=>{h.id===e.item.id&&i(p=>{p.items[x].visible=!r.items[x].visible})}),Ee().refreshPartial(`${t}_contact`)},l=()=>{i(f=>{f.items=r.items.filter(h=>h.id!==e.item.id)}),Ee().refreshPartial(`${t}_contact`)},c=()=>{a(f=>!f)},d=f=>{r.items.forEach((h,x)=>{if(h.id===e.item.id){const p=ie(b1("contact",t)+` .brandy-contact-item[type="${h.id}"] .brandy-contact-item__text`);p&&window.jQuery(p).html(f.toString()),i(m=>{m.items[x].content=f.toString()})}})},u=f=>{r.items.forEach((h,x)=>{if(h.id===e.item.id){const p=ie(b1("contact",t)+` .brandy-contact-item[type="${h.id}"]`);p&&window.jQuery(p).attr("href",f.toString()),i(m=>{m.items[x].url=f.toString()})}})};return n.jsxs(xj,{$_css2:[{overflow:"hidden",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:[n.jsxs(mj,{className:"group",$_css3:[{display:"flex",height:"44px",userSelect:"none",alignItems:"center",justifyContent:"space-between",padding:"0.75rem"},o&&{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},o&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(30 30 30 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:[n.jsxs(wj,{children:[n.jsx(vj,{className:"brandy-social-drag-handle",children:n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Se([!o&&"group-hover:[&_*]:fill-brandy-text",o&&`[&_*]:fill-[${window.brandyCustomizerData.colors.icon.normal}]`]),children:[n.jsxs("g",{clipPath:"url(#clip0_2536_66911)",children:[n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2536_66911",children:n.jsx("rect",{width:"7",height:"12",fill:"white"})})})]})}),n.jsx("span",{className:Se(["group-hover:text-brandy-text",o&&"group-hover:text-gutenberg-white"]),children:e.item.label})]}),n.jsxs(Cj,{className:"flex invisible opacity-0 items-center gap-1 transition-all ease-in-out duration-base",$_css4:[{".group:hover &":{visibility:"visible !important",opacity:"1 !important"}},o&&{visibility:"visible !important",opacity:"1 !important"}],children:[n.jsx(yj,{className:"p-1 cursor-pointer",onClick:l,$_css5:[ce(["&:hover svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#FF5F5D"},{fill:"#FF5F5D"})],children:n.jsxs("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1.67773 1.57422H11.3206L9.97478 10.3049C9.82442 11.2803 8.98504 12.0002 7.99812 12.0002H5.0002C4.01328 12.0002 3.17391 11.2803 3.02355 10.3049L1.67773 1.57422Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("rect",{x:"0.875",y:"1.57422",width:"11.25",height:"1.37702",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M8.10686 1.57369C8.10686 1.57369 7.38732 1.57369 6.49972 1.57369C5.61212 1.57369 4.89258 1.57369 4.89258 1.57369C4.89258 0.704538 5.61212 -4.8097e-05 6.49972 -4.8097e-05C7.38732 -4.8097e-05 8.10686 0.704538 8.10686 1.57369Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx("span",{onClick:s,className:"p-1 cursor-pointer",children:e.item.visible?n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsxs("g",{children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21322 9.65625C7.21322 8.13747 8.43575 6.90625 9.94382 6.90625C11.4519 6.90625 12.6744 8.13747 12.6744 9.65625C12.6744 11.175 11.4519 12.4063 9.94382 12.4063C8.43575 12.4063 7.21322 11.175 7.21322 9.65625ZM6.01336 5.76716C8.14608 3.61928 11.6039 3.61928 13.7366 5.76716L15.2165 7.25756C15.6445 7.68849 16.0132 8.05979 16.2687 8.39713C16.5426 8.75864 16.75 9.16072 16.75 9.65625C16.75 10.1518 16.5426 10.5539 16.2687 10.9154C16.0132 11.2527 15.6445 11.624 15.2165 12.0549L13.7366 13.5453C11.6039 15.6932 8.14608 15.6932 6.01336 13.5453L4.53346 12.0549C4.10553 11.624 3.73681 11.2527 3.48125 10.9154C3.20737 10.5539 3 10.1518 3 9.65625C3 9.16072 3.20737 8.75864 3.48125 8.39712C3.73681 8.0598 4.10553 7.6885 4.53347 7.25757C4.54402 7.24694 4.55461 7.23627 4.56524 7.22557L6.01336 5.76716Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.94342 8.28125C9.18939 8.28125 8.57812 8.89686 8.57812 9.65625C8.57812 10.4156 9.18939 11.0313 9.94342 11.0313C10.6975 11.0313 11.3087 10.4156 11.3087 9.65625C11.3087 8.89686 10.6975 8.28125 9.94342 8.28125Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}):n.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.56821 4.64479C9.56073 3.73048 11.9917 4.09905 13.6323 5.75445L15.6616 7.80205C15.682 7.82261 15.7022 7.84294 15.7222 7.86308C15.9974 8.14007 16.235 8.37932 16.3788 8.6519C16.6957 9.25283 16.6957 9.97343 16.3788 10.5744C16.235 10.8469 15.9974 11.0862 15.7222 11.3632C15.7022 11.3833 15.682 11.4036 15.6616 11.4242L15.6264 11.4597C15.3624 11.7261 14.9344 11.7261 14.6704 11.4597C14.4064 11.1933 14.4064 10.7614 14.6704 10.495L14.7056 10.4595C15.0763 10.0855 15.1497 10.0008 15.1852 9.93354C15.2908 9.73323 15.2908 9.49303 15.1852 9.29272C15.1497 9.22547 15.0763 9.14078 14.7056 8.76672L12.6763 6.71912C11.4472 5.4789 9.62411 5.2001 8.12791 5.88666C7.78805 6.04261 7.38724 5.89103 7.23269 5.5481C7.07813 5.20517 7.22835 4.80075 7.56821 4.64479Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37445 4.50556C3.60367 4.20819 4.0284 4.15462 4.32311 4.38591L16.4915 13.9356C16.7862 14.1669 16.8393 14.5955 16.61 14.8929C16.3808 15.1902 15.9561 15.2438 15.6614 15.0125L13.6598 13.4416L13.6324 13.4693C11.5204 15.6004 8.09611 15.6004 5.98409 13.4693L4.51857 11.9905C4.0948 11.563 3.72965 11.1946 3.47658 10.8599C3.20536 10.5012 3 10.1022 3 9.61059C3 9.11894 3.20536 8.72 3.47658 8.36131C3.72965 8.02662 4.09479 7.65823 4.51858 7.23067L5.05544 6.68896L3.49304 5.46278C3.19833 5.23149 3.14524 4.80293 3.37445 4.50556ZM10.3879 10.8739L11.5296 11.7699C11.0725 12.1267 10.499 12.3391 9.87639 12.3391C8.38296 12.3391 7.17231 11.1175 7.17231 9.61059C7.17231 9.22476 7.25168 8.85763 7.39484 8.52492L8.53724 9.42147C8.52874 9.48329 8.52435 9.54644 8.52435 9.61062C8.52435 10.3641 9.12968 10.9749 9.87639 10.9749C10.0574 10.9749 10.2301 10.939 10.3879 10.8739Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx(bj,{onClick:c,className:"p-1 cursor-pointer",$_css6:[ce(["&:hover svg{*[stroke]{","}*[fill]{","}}",""],{stroke:"#1E1E1E"},{fill:"#1E1E1E"},o&&{"*":{fill:"#fff !important"}})],children:n.jsx("svg",{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28003 0.627C4.30892 0.451874 4.39853 0.292754 4.53292 0.177945C4.66731 0.0631354 4.83776 8.18362e-05 5.01395 1.09305e-07H5.98605C6.16237 -9.57618e-05 6.333 0.0628773 6.46754 0.177702C6.60208 0.292527 6.6918 0.451747 6.72072 0.627L6.90233 1.7265C7.48813 1.9215 8.02108 2.23575 8.4714 2.64L9.50826 2.2485C9.67323 2.18642 9.8547 2.18529 10.0204 2.2453C10.1861 2.3053 10.3254 2.42257 10.4134 2.57625L10.8994 3.42375C10.9878 3.57753 11.019 3.75792 10.9877 3.93277C10.9563 4.10763 10.8644 4.26558 10.7282 4.3785L9.87374 5.0865C9.99709 5.68891 9.99709 6.31034 9.87374 6.91275L10.729 7.62225C10.8649 7.73513 10.9568 7.89295 10.9881 8.06763C11.0195 8.24232 10.9883 8.42254 10.9002 8.57625L10.4141 9.42375C10.3261 9.57743 10.1869 9.6947 10.0212 9.75471C9.85544 9.81471 9.67397 9.81358 9.50901 9.7515L8.4714 9.36C8.02108 9.765 7.48887 10.0785 6.90233 10.2735L6.72072 11.373C6.6918 11.5483 6.60208 11.7075 6.46754 11.8223C6.333 11.9371 6.16237 12.0001 5.98605 12H5.01395C4.83776 11.9999 4.66731 11.9369 4.53292 11.8221C4.39853 11.7072 4.30892 11.5481 4.28003 11.373L4.09841 10.2735C3.51888 10.0803 2.98485 9.76943 2.52934 9.36L1.49173 9.7515C1.32676 9.81384 1.14519 9.8152 0.979313 9.75532C0.813441 9.69544 0.674028 9.57822 0.585874 9.4245L0.0998205 8.57625C0.0116929 8.42254 -0.0194682 8.24232 0.0118792 8.06763C0.0432266 7.89295 0.13505 7.73513 0.271018 7.62225L1.12626 6.91275C1.00293 6.31034 1.00293 5.68891 1.12626 5.0865L0.271763 4.3785C0.135794 4.26562 0.0439709 4.1078 0.0126235 3.93312C-0.0187239 3.75843 0.0124372 3.57821 0.100565 3.4245L0.586618 2.57625C0.674655 2.4224 0.814019 2.30502 0.979901 2.245C1.14578 2.18498 1.32742 2.18622 1.49248 2.2485L2.52934 2.64C2.98484 2.23055 3.51888 1.91964 4.09841 1.7265L4.28003 0.627ZM7.73376 6C7.73376 6.29547 7.676 6.58806 7.56378 6.86104C7.45156 7.13402 7.28708 7.38206 7.07973 7.59099C6.87237 7.79992 6.6262 7.96566 6.35528 8.07873C6.08436 8.1918 5.79399 8.25 5.50074 8.25C5.2075 8.25 4.91713 8.1918 4.64621 8.07873C4.37528 7.96566 4.12912 7.79992 3.92176 7.59099C3.71441 7.38206 3.54992 7.13402 3.43771 6.86104C3.32549 6.58806 3.26773 6.29547 3.26773 6C3.26773 5.40326 3.50299 4.83097 3.92176 4.40901C4.34053 3.98705 4.90851 3.75 5.50074 3.75C6.09298 3.75 6.66095 3.98705 7.07973 4.40901C7.4985 4.83097 7.73376 5.40326 7.73376 6Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]})]}),o&&n.jsxs(_j,{children:[n.jsxs(jj,{children:[n.jsx("div",{children:"Content"}),n.jsx(Ue,{value:e.item.content,onChange:d})]}),n.jsxs(Sj,{children:[n.jsx("div",{children:"Link"}),n.jsx(Dj,{value:e.item.url,onChange:u,prefix:n.jsx(Ej,{className:"brandy-icon",dangerouslySetInnerHTML:{__html:fd[e.item.icon]??""},$_css8:[ce(["padding:6px;background:#fafafa;border-radius:5px 0 0 5px;border-right:1px solid #e3e8ee;svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#A1ABB7"},{fill:"#A1ABB7"})]}),$_css7:[ce(["padding:0 !important;overflow:hidden;"])]})]})]})]})},fj=window.brandyCustomizerData.all_contacts,fd=window.brandyCustomizerData.icons.contact;function pj(e){const{builder:t}=T2(Pe),r=zl(()=>e.value??e.default_value,[e.value,e.default_value]),[i,o]=Ei(null),[a,s]=Ei(null),{styles:l,attributes:c}=_1(i,a),[d,u]=Ei(!1),f=()=>{u(p=>!p)},h=()=>{u(!1)};hd(()=>{const p=m=>{(i==null||a==null)&&h(),!(i!=null&&i.contains(m.target))&&!(a!=null&&a.contains(m.target))&&h()};return window.jQuery(document).on("click","body",p),()=>{window.jQuery(document).off("click","body",p)}},[i,a]);const x=p=>{JSON.stringify(r)!==JSON.stringify(p)&&(e.onChange(p),Ee().refreshPartial(`${t}_contact`))};return n.jsxs("div",{className:"flex flex-col gap-4",children:[n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx(Be,{className:"m-0",children:D("List contacts")}),n.jsx("div",{className:"group p-2 hover:bg-wp-light cursor-pointer rounded-base transition-all ease-in-out duration-base",ref:o,onClick:f,children:n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{className:"group-hover:fill-wp transition-all ease-in-out duration-base",d:"M12 5.3H7.2V0.5H4.8V5.3H0V7.7H4.8V12.5H7.2V7.7H12V5.3Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),n.jsx(hn.ReactSortable,{list:r,setList:x,className:"flex flex-col gap-4",animation:150,easing:"ease-in-out",handle:".brandy-social-drag-handle",children:r.map(p=>n.jsx("div",{children:n.jsx(hj,{item:p})},p.id))}),d&&n.jsx(gj,{ref:s,style:{...l.popper},...c.popper,onClose:h})]})}const gj=dj(({style:e,onClose:t,...r},i)=>{const{builder:o}=T2(Pe),a=re(o)(x=>{var p;return(p=x.chosenElement)==null?void 0:p.settings}),s=re(o)(x=>x.changeElementSettings),[l,c]=Ei(""),d=zl(()=>fj.filter(x=>!a.items.map(p=>p.id).includes(x.id)),[a.items]),u=zl(()=>d.filter(x=>x.label.toLowerCase().includes(l.toLowerCase())),[d,l]),f=x=>()=>{s(p=>{p.items.push(x)}),Ee().refreshPartial(`${o}_contact`),t()},h=uj(null);return hd(()=>{var x,p;return(p=(x=h.current)==null?void 0:x.querySelector("input"))==null?void 0:p.focus()},[h.current]),n.jsxs(Hj,{className:"bg-gutenberg-white z-10 rounded-base w-[320px] my-2",style:e,ref:i,...r,$_css9:[{"--tw-shadow":"0px 0px 8px 0px rgba(51, 51, 51, 0.10)","--tw-shadow-colored":"0px 0px 8px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:[n.jsxs("div",{className:"p-4 pb-2 flex items-center justify-between",children:[n.jsx("span",{className:"text-[16px] font-medium",children:"Select contact"}),n.jsx("span",{className:"cursor-pointer p-1",onClick:()=>{t()},children:n.jsx(eo,{})})]}),n.jsx("div",{className:"p-4 pt-2 border-b border-b-brandy-border-light",children:n.jsx(fn,{ref:h,searchText:l,onSearch:x=>{c(x.toString())},placeholder:D("Search contact")})}),n.jsx(G1,{className:"h-[250px]",autoHide:!0,children:n.jsxs("div",{className:"p-4 flex flex-col gap-1",children:[u.map(x=>n.jsxs(kj,{className:"group",onClick:f(x),$_css10:[{display:"flex",width:"100%",alignItems:"center",gap:"10px",borderRadius:"3px",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"16px",paddingBottom:"16px"},{cursor:"pointer",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{"&:hover":{backgroundColor:"rgba(34, 113, 177, 0.03)"}}],children:[n.jsx(Mj,{className:"brandy-icon",dangerouslySetInnerHTML:{__html:fd[x.icon]??""},$_css11:[ce(["svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#A1ABB7",".group:hover &":{stroke:"#2271B1"}},{fill:"#A1ABB7",".group:hover &":{fill:"#2271B1"}})]}),n.jsx(Lj,{children:x.label})]},x.id)),u.length===0&&n.jsx("div",{className:"text-brandy-text-secondary col-span-4 m-auto",children:"No social found"})]})})]})});var xj=g("div")`${e=>e.$_css2}`,mj=g("div")`${e=>e.$_css3}`,wj=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),vj=g("span")({cursor:"grab",padding:"0.5rem"}),Cj=g("div")`${e=>e.$_css4}`,yj=g("span")`${e=>e.$_css5}`,bj=g("span")`${e=>e.$_css6}`,_j=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"1rem"}),jj=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),Sj=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),Dj=g(Ue)`${e=>e.$_css7}`,Ej=g("span")`${e=>e.$_css8}`,Hj=g("div")`${e=>e.$_css9}`,kj=g("div")`${e=>e.$_css10}`,Mj=g("span")`${e=>e.$_css11}`,Lj=g("span").withConfig({displayName:"ListContacts___StyledSpan6",componentId:"sc-1q0j5o-0"})({"--tw-text-opacity":"1",color:"rgb(66 66 66 / var(--tw-text-opacity))",".group:hover &":{"--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}});const $j=window.React.useContext,Aj=window.React.useMemo,Vj=[{value:"text",label:n.jsxs("svg",{width:"278",height:"61",viewBox:"0 0 278 61",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"1",width:"277",height:"59",rx:"4.5",fill:"white",stroke:"#E3E8EE"}),n.jsx("rect",{x:"25",y:"17.3438",width:"28.607",height:"27.1014",rx:"5",fill:"#E3E8EE"}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"78.6074",y:"27.3945",width:"35.0667",height:"6.11967",rx:"2",fill:"#808890"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"123.607",y:"27.3945",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"168.607",y:"27.3945",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"213.607",y:"27.3945",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})})]})},{value:"button",label:n.jsxs("svg",{width:"278",height:"61",viewBox:"0 0 278 61",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"1",width:"277",height:"59",rx:"4.5",fill:"white",stroke:"#E3E8EE"}),n.jsx("rect",{x:"25",y:"17.4492",width:"28.607",height:"27.1014",rx:"5",fill:"#E3E8EE"}),n.jsxs("g",{opacity:"0.6",children:[n.jsx("rect",{x:"73.6074",y:"16.5",width:"45",height:"28.6364",rx:"2",fill:"#D9D9D9",fillOpacity:"0.6"}),n.jsx("rect",{x:"78.6074",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#808890"})]}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"123.607",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"168.607",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"213.607",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})})]})},{value:"wrapper",label:n.jsxs("svg",{width:"278",height:"61",viewBox:"0 0 278 61",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"1",width:"277",height:"59",rx:"4.5",fill:"white",stroke:"#E3E8EE"}),n.jsx("rect",{x:"25",y:"17.3965",width:"28.607",height:"27.1014",rx:"5",fill:"#E3E8EE"}),n.jsxs("g",{opacity:"0.6",children:[n.jsx("mask",{id:"path-3-inside-1_2612_115264",fill:"white",children:n.jsx("path",{d:"M73.6074 16.4473H118.607V45.0836H73.6074V16.4473Z"})}),n.jsx("path",{d:"M73.6074 17.4473H118.607V15.4473H73.6074V17.4473ZM118.607 44.0836H73.6074V46.0836H118.607V44.0836Z",fill:window.brandyCustomizerData.colors.icon.normal,mask:"url(#path-3-inside-1_2612_115264)"}),n.jsx("rect",{x:"78.6074",y:"27.4473",width:"35.0667",height:"6.11967",rx:"2",fill:"#808890"})]}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"123.607",y:"27.4473",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"168.607",y:"27.4473",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"213.607",y:"27.4473",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})})]})},{value:"underline",label:n.jsxs("svg",{width:"278",height:"61",viewBox:"0 0 278 61",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"1",width:"277",height:"59",rx:"4.5",fill:"white",stroke:"#E3E8EE"}),n.jsx("rect",{x:"25",y:"17.4492",width:"28.607",height:"27.1014",rx:"5",fill:"#E3E8EE"}),n.jsxs("g",{opacity:"0.6",children:[n.jsx("mask",{id:"path-3-inside-1_2609_114915",fill:"white",children:n.jsx("path",{d:"M73.6074 16.5H118.607V45.1364H73.6074V16.5Z"})}),n.jsx("path",{d:"M118.607 44.1364H73.6074V46.1364H118.607V44.1364Z",fill:window.brandyCustomizerData.colors.icon.normal,mask:"url(#path-3-inside-1_2609_114915)"}),n.jsx("rect",{x:"78.6074",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#808890"})]}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"123.607",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"168.607",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"213.607",y:"27.5",width:"35.0667",height:"6.11967",rx:"2",fill:"#E3E8EE"})})]})}],Ij=g.div.withConfig({displayName:"ActiveTypeSelection__StyledItem",componentId:"sc-5cnq7j-0"})(({selected:e})=>[{backgroundColor:"rgba(255, 255, 255, 0.65)",padding:"1.25rem","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.80)"}},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},{cursor:"pointer",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent"},e&&{"--tw-border-opacity":"1",borderColor:"rgb(0 0 0 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"}]);var Tj=g(Ij).withConfig({displayName:"ActiveTypeSelection___StyledStyledItem",componentId:"sc-5cnq7j-1"})(["",""],e=>e.$_css2);function Bj(e){const{builder:t}=$j(Pe),{current:r}=Ce(),i=re(t)(s=>s.changeElementSettings),o=Aj(()=>e.value??e.default_value,[e.value,e.default_value]),a=s=>{s!=e.value&&(e.onChange(s),s=="button"?i(l=>{const c="#ffffff";l.active_item.color={normal:{desktop:c,tablet:null,mobile:null}};const d="var(--primary_text)";l.active_item.background={normal:{desktop:d,tablet:null,mobile:null},hover:{desktop:d,tablet:null,mobile:null}},l.active_item.border={color:{normal:{desktop:d,tablet:null,mobile:null},hover:{desktop:d,tablet:null,mobile:null}},width:{desktop:{unit:"px",value:1,min:0,max:20},tablet:null,mobile:null}},l.active_item.border_radius={desktop:{unit:"px",value:0,min:0,max:50},tablet:null,mobile:null}}):s!="text"&&i(l=>{const c="var(--primary_text)";l.active_item.color={normal:{desktop:c,tablet:null,mobile:null}},l.active_item.border={color:{normal:{desktop:c,tablet:null,mobile:null},hover:{desktop:c,tablet:null,mobile:null}},width:{desktop:{unit:"px",value:1,min:0,max:20},tablet:null,mobile:null}},l.active_item.border_radius={desktop:{unit:"px",value:0,min:0,max:50},tablet:null,mobile:null},y1({sectionId:e.sectionId,settings:l,device:r})}))};return n.jsxs(n.Fragment,{children:[n.jsx(Be,{children:D("Select menu item active type")}),n.jsx("div",{className:"flex flex-col gap-4",children:Vj.map(s=>n.jsx(Tj,{onClick:()=>{a(s.value)},selected:o===s.value,$_css2:[ce` svg { width: 100%; } `],children:s.label},s.value))})]})}const Rj=window.React.useContext,Fj=window.React.useMemo,Oj=window.brandyCustomizerData.wp_nav_menus,Pj=Oj.map(e=>({label:e.name,value:e.slug}));function Nj(e){const t=Rj(Pe),r=Fj(()=>e.value??e.default_value,[e.value,e.default_value]);return n.jsxs(n.Fragment,{children:[n.jsx(Be,{children:"Select menu"}),n.jsx(et,{options:Pj,selected:r,onChange:e.onChange}),n.jsxs("div",{className:"text-brandy-text-secondary mt-2",children:[D("Manage your menu items in the")," ",n.jsx("span",{className:"text-wp underline cursor-pointer",onClick:()=>{var i;t!=null&&t.goBack?(t==null||t.goBack(),(i=window.wp.customize.panel("nav_menus"))==null||i.expand()):window.open(window.brandyCustomizerData.paths.nav_menu,"_blank")},children:"Menus screen."})]})]})}const zj=window.React.useMemo,Zj=window.brandyCustomizerData.icons.search;function Wj(e){const t=zj(()=>Object.entries(Zj??{}).map(([r,i])=>({value:r,label:n.jsx("span",{className:Se(["brandy-icon"]),dangerouslySetInnerHTML:{__html:i}})})),[]);return n.jsx($1,{...e,options:t})}const Gj=[{label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_5678_84101)"}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-3-outside-2_5678_84101)"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"black",fillOpacity:"0.2"}),n.jsx("rect",{x:"9",y:"9",width:"20",height:"5",rx:"2",fill:"black",fillOpacity:"0.1"}),n.jsx("path",{d:"M157 14H140V15H157V14Z",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"145",y:"8.5",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"167",y:"10",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"184",y:"10",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"201",y:"10",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"218",y:"10",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"235",y:"10",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"252",y:"10",width:"7",height:"3",rx:"1.5",fill:"black",fillOpacity:"0.1"}),n.jsx("rect",{x:"270",y:"5.5",width:"12",height:"12",rx:"2",fill:"black",fillOpacity:"0.1"}),n.jsx("path",{d:"M273 8.5V9.25H280V8.5H273ZM273 12.4H280V11.65H273V12.4ZM273 15.5H280V14.75H273V15.5Z",fill:"white",stroke:"white",strokeWidth:"0.2"}),n.jsxs("g",{clipPath:"url(#clip0_5678_84101)",children:[n.jsx("g",{filter:"url(#filter0_d_5678_84101)",children:n.jsx("path",{d:"M177 1H284C285.657 1 287 2.34315 287 4V85H177V1Z",fill:"white"})}),n.jsx("rect",{x:"187.012",y:"21",width:"24",height:"10",rx:"1",fill:"#F0F0F1"}),n.jsx("rect",{width:"40.2492",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 255.262 21.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"63.9859",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 279 27.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"187.012",y:"37",width:"24",height:"10",rx:"1",fill:"#F0F0F1"}),n.jsx("rect",{width:"40.2492",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 255.262 37.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"63.9859",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 279 43.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"187.012",y:"53",width:"24",height:"10",rx:"1",fill:"#F0F0F1"}),n.jsx("rect",{width:"40.2492",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 255.262 53.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"63.9859",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 279 59.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"187.012",y:"69",width:"24",height:"10",rx:"1",fill:"#F0F0F1"}),n.jsx("rect",{width:"40.2492",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 255.262 69.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"63.9859",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 279 75.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"187",y:"6.84375",width:"83",height:"8",rx:"1",fill:"#F0F0F1",stroke:"#A1ABB7",strokeWidth:"0.25"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M191.652 8.84375C192.564 8.84375 193.303 9.58325 193.303 10.4955C193.303 10.8772 193.174 11.2286 192.957 11.5083L194 12.5518L193.708 12.8438L192.665 11.8003C192.385 12.0177 192.033 12.1472 191.652 12.1472C190.739 12.1472 190 11.4077 190 10.4955C190 9.58325 190.739 8.84375 191.652 8.84375ZM191.652 9.25668C192.336 9.25668 192.89 9.8113 192.89 10.4955C192.89 11.1796 192.336 11.7343 191.652 11.7343C190.968 11.7343 190.413 11.1796 190.413 10.4955C190.413 9.8113 190.968 9.25668 191.652 9.25668Z",fill:"#A1ABB7"}),n.jsx("path",{d:"M278 11.2879L279.555 12.8438L280 12.3996L278.445 10.8437L280 9.28833L279.556 8.84417L278 10.3987L276.445 8.84375L276 9.28791L277.555 10.8437L276 12.3992L276.444 12.8438L278 11.2883V11.2879Z",fill:"#A1ABB7"})]}),n.jsxs("defs",{children:[n.jsxs("filter",{id:"filter0_d_5678_84101",x:"167",y:"-5",width:"130",height:"104",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[n.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.jsx("feOffset",{dy:"4"}),n.jsx("feGaussianBlur",{stdDeviation:"5"}),n.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),n.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"}),n.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_5678_84101"}),n.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_5678_84101",result:"shape"})]}),n.jsx("clipPath",{id:"clip0_5678_84101",children:n.jsx("rect",{width:"110",height:"84",fill:"white",transform:"translate(177 1)"})})]})]}),value:"type_1",title:"Panel sidebar - list view"},{label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_563_5243",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_563_5243)"}),n.jsxs("mask",{id:"path-3-outside-2_563_5243",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-3-outside-2_563_5243)"}),n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H282C284.761 1 287 3.23858 287 6V85H1V6Z",fill:"white"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"black","fill-opacity":"0.2"}),n.jsx("rect",{x:"9",y:"9",width:"20",height:"5",rx:"2",fill:"black","fill-opacity":"0.1"}),n.jsx("path",{d:"M157 14H140V15H157V14Z",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"145",y:"8.5",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"167",y:"10",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"184",y:"10",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"201",y:"10",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"218",y:"10",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"235",y:"10",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"252",y:"10",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"270",y:"5.5",width:"12",height:"12",rx:"2",fill:"black","fill-opacity":"0.1"}),n.jsx("path",{d:"M273 8.5V9.25H280V8.5H273ZM273 12.4H280V11.65H273V12.4ZM273 15.5H280V14.75H273V15.5Z",fill:"white",stroke:"white","stroke-width":"0.2"}),n.jsxs("g",{"clip-path":"url(#clip0_563_5243)",children:[n.jsx("g",{filter:"url(#filter0_d_563_5243)",children:n.jsx("path",{d:"M177 1H284C285.657 1 287 2.34315 287 4V85H177V1Z",fill:"white"})}),n.jsx("rect",{x:"185.999",y:"20",width:"41.0006",height:"16",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"16.0993",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 202.115 39)",fill:"#F0F0F1"}),n.jsx("rect",{width:"41.0006",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 227 44)",fill:"#F0F0F1"}),n.jsx("rect",{x:"237",y:"20",width:"41.0006",height:"16",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"16.0993",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 253.116 39)",fill:"#F0F0F1"}),n.jsx("rect",{width:"41.0006",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 278 44)",fill:"#F0F0F1"}),n.jsx("rect",{x:"185.999",y:"53",width:"41.0006",height:"16",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"16.0993",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 202.115 72)",fill:"#F0F0F1"}),n.jsx("rect",{width:"41.0006",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 227 77)",fill:"#F0F0F1"}),n.jsx("rect",{x:"237",y:"53",width:"41.0006",height:"16",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"16.0993",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 253.116 72)",fill:"#F0F0F1"}),n.jsx("rect",{width:"41.0006",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 278 77)",fill:"#F0F0F1"}),n.jsx("rect",{x:"186",y:"6.84375",width:"82",height:"8",rx:"1",fill:"#F0F0F1",stroke:"#A1ABB7","stroke-width":"0.25"}),n.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M190.652 8.84375C191.564 8.84375 192.303 9.58325 192.303 10.4955C192.303 10.8772 192.174 11.2286 191.957 11.5083L193 12.5518L192.708 12.8438L191.665 11.8003C191.385 12.0177 191.033 12.1472 190.652 12.1472C189.739 12.1472 189 11.4077 189 10.4955C189 9.58325 189.739 8.84375 190.652 8.84375ZM190.652 9.25668C191.336 9.25668 191.89 9.8113 191.89 10.4955C191.89 11.1796 191.336 11.7343 190.652 11.7343C189.968 11.7343 189.413 11.1796 189.413 10.4955C189.413 9.8113 189.968 9.25668 190.652 9.25668Z",fill:"#A1ABB7"}),n.jsx("path",{d:"M276 11.2879L277.555 12.8438L278 12.3996L276.445 10.8437L278 9.28833L277.556 8.84417L276 10.3987L274.445 8.84375L274 9.28791L275.555 10.8437L274 12.3992L274.444 12.8438L276 11.2883V11.2879Z",fill:"#A1ABB7"})]}),n.jsxs("defs",{children:[n.jsxs("filter",{id:"filter0_d_563_5243",x:"167",y:"-5",width:"130",height:"104",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[n.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.jsx("feOffset",{dy:"4"}),n.jsx("feGaussianBlur",{stdDeviation:"5"}),n.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),n.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"}),n.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_563_5243"}),n.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_563_5243",result:"shape"})]}),n.jsx("clipPath",{id:"clip0_563_5243",children:n.jsx("rect",{width:"110",height:"84",fill:"white",transform:"translate(177 1)"})})]})]}),value:"type_2",title:"Panel sidebar - grid view"},{label:n.jsxs("svg",{width:"288",height:"86",viewBox:"0 0 288 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_1820_74422",maskUnits:"userSpaceOnUse",x:"0",y:"0.15625",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",y:"0.15625",width:"288",height:"85"}),n.jsx("path",{d:"M1 4.15625C1 2.49939 2.34315 1.15625 4 1.15625H284C285.657 1.15625 287 2.4994 287 4.15625V85.1562H1V4.15625Z"})]}),n.jsx("path",{d:"M1 4.15625C1 2.49939 2.34315 1.15625 4 1.15625H284C285.657 1.15625 287 2.4994 287 4.15625V85.1562H1V4.15625Z",fill:"white"}),n.jsx("path",{d:"M1 6.15625C1 3.39483 3.23858 1.15625 6 1.15625H282C284.761 1.15625 287 3.39483 287 6.15625V85.1562H1V6.15625Z",fill:"black",fillOpacity:"0.2"}),n.jsx("path",{d:"M1 4.15625C1 2.49939 2.34315 1.15625 4 1.15625H284C285.657 1.15625 287 2.4994 287 4.15625V75.1562H1V4.15625Z",fill:"#FEFEFE"}),n.jsx("path",{d:"M279 9.44416L280.555 11L281 10.5558L279.445 9L281 7.44458L280.556 7.00042L279 8.555L277.445 7L277 7.44416L278.555 9L277 10.5554L277.444 11L279 9.44458V9.44416Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"77",y:"8.15625",width:"140.668",height:"12",rx:"2",fill:"#F0F0F1",stroke:"#A1ABB7",strokeWidth:"0.25"}),n.jsx("path",{opacity:"0.5",d:"M203.441 14.3783L204.219 15.1562L204.441 14.9342L203.664 14.1562L204.441 13.3785L204.219 13.1565L203.441 13.9337L202.664 13.1562L202.441 13.3783L203.219 14.1562L202.441 14.934L202.663 15.1562L203.441 14.3785V14.3783Z",fill:"#A1ABB7"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M210.919 11.1562C212.287 11.1562 213.397 12.2655 213.397 13.6338C213.397 14.2064 213.202 14.7335 212.876 15.1531L214.441 16.7183L214.003 17.1562L212.438 15.5911C212.019 15.9172 211.492 16.1114 210.919 16.1114C209.551 16.1114 208.441 15.0022 208.441 13.6338C208.441 12.2655 209.551 11.1562 210.919 11.1562ZM210.919 11.7756C211.945 11.7756 212.777 12.6076 212.777 13.6338C212.777 14.6601 211.945 15.492 210.919 15.492C209.893 15.492 209.061 14.6601 209.061 13.6338C209.061 12.6076 209.893 11.7756 210.919 11.7756Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"32",y:"27.1562",width:"44",height:"22",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"28.2857",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 60.2891 54.1562)",fill:"#F0F0F1"}),n.jsx("rect",{width:"44",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 76 61.1562)",fill:"#F0F0F1"}),n.jsx("rect",{x:"92",y:"27.1562",width:"44",height:"22",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"28.2857",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 120.289 54.1562)",fill:"#F0F0F1"}),n.jsx("rect",{width:"44",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 136 61.1562)",fill:"#F0F0F1"}),n.jsx("rect",{x:"152",y:"27.1562",width:"44",height:"22",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"28.2857",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 180.289 54.1562)",fill:"#F0F0F1"}),n.jsx("rect",{width:"44",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 196 61.1562)",fill:"#F0F0F1"}),n.jsx("rect",{x:"212",y:"27.1562",width:"44",height:"22",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"28.2857",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 240.289 54.1562)",fill:"#F0F0F1"}),n.jsx("rect",{width:"44",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 256 61.1562)",fill:"#F0F0F1"}),n.jsx("path",{d:"M0 4.15625C0 1.94711 1.79086 0.15625 4 0.15625H284C286.209 0.15625 288 1.94711 288 4.15625H286C286 3.05168 285.105 2.15625 284 2.15625H4C2.89543 2.15625 2 3.05168 2 4.15625H0ZM287 85.1562H1H287ZM0 85.1562V4.15625C0 1.94711 1.79086 0.15625 4 0.15625V2.15625C2.89543 2.15625 2 3.05168 2 4.15625V85.1562H0ZM284 0.15625C286.209 0.15625 288 1.94711 288 4.15625V85.1562H286V4.15625C286 3.05168 285.105 2.15625 284 2.15625V0.15625Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_1820_74422)"})]}),title:"Panel Full-screen - grid view",value:"type_3"},{label:n.jsxs("svg",{width:"293",height:"85",viewBox:"0 0 293 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_563_5245",maskUnits:"userSpaceOnUse",x:"5",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",x:"5",width:"288",height:"85"}),n.jsx("path",{d:"M6 6C6 3.23858 8.23858 1 11 1H287C289.761 1 292 3.23858 292 6V85H6V6Z"})]}),n.jsx("path",{d:"M5 6C5 2.68629 7.68629 0 11 0H287C290.314 0 293 2.68629 293 6H291C291 3.79086 289.209 2 287 2H11C8.79086 2 7 3.79086 7 6H5ZM292 85H6H292ZM5 85V6C5 2.68629 7.68629 0 11 0V2C8.79086 2 7 3.79086 7 6V85H5ZM287 0C290.314 0 293 2.68629 293 6V85H291V6C291 3.79086 289.209 2 287 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_563_5245)"}),n.jsxs("mask",{id:"path-3-outside-2_563_5245",maskUnits:"userSpaceOnUse",x:"5",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",x:"5",width:"288",height:"85"}),n.jsx("path",{d:"M6 4C6 2.34314 7.34315 1 9 1H289C290.657 1 292 2.34315 292 4V85H6V4Z"})]}),n.jsx("path",{d:"M5 4C5 1.79086 6.79086 0 9 0H289C291.209 0 293 1.79086 293 4H291C291 2.89543 290.105 2 289 2H9C7.89543 2 7 2.89543 7 4H5ZM292 85H6H292ZM5 85V4C5 1.79086 6.79086 0 9 0V2C7.89543 2 7 2.89543 7 4V85H5ZM289 0C291.209 0 293 1.79086 293 4V85H291V4C291 2.89543 290.105 2 289 2V0Z",fill:"#E3E8EE",mask:"url(#path-3-outside-2_563_5245)"}),n.jsx("path",{d:"M6 4C6 2.34314 7.34315 1 9 1H289C290.657 1 292 2.34315 292 4V85H6V4Z",fill:"white"}),n.jsx("path",{d:"M6 4C6 2.34314 7.34315 1 9 1H289C290.657 1 292 2.34315 292 4V85H6V4Z",fill:"black","fill-opacity":"0.2"}),n.jsx("rect",{x:"14",y:"10",width:"20",height:"5",rx:"2",fill:"black","fill-opacity":"0.1"}),n.jsx("path",{d:"M140 15H123V16H140V15Z",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"128",y:"9.5",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"150",y:"11",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"167",y:"11",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"184",y:"11",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"201",y:"11",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"218",y:"11",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"235",y:"11",width:"7",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"218",y:"6.5",width:"68",height:"12",rx:"2",fill:"#F0F0F1",stroke:"#A1ABB7","stroke-width":"0.25"}),n.jsx("path",{opacity:"0.5",d:"M273 13.2221L273.778 14L274 13.7779L273.222 13L274 12.2223L273.778 12.0002L273 12.7775L272.222 12L272 12.2221L272.778 13L272 13.7777L272.222 14L273 13.2223V13.2221Z",fill:"#A1ABB7"}),n.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M280.478 10C281.846 10 282.955 11.1092 282.955 12.4776C282.955 13.0501 282.761 13.5773 282.435 13.9968L284 15.562L283.562 16L281.997 14.4348C281.577 14.7609 281.05 14.9552 280.478 14.9552C279.109 14.9552 278 13.8459 278 12.4776C278 11.1092 279.109 10 280.478 10ZM280.478 10.6194C281.504 10.6194 282.336 11.4513 282.336 12.4776C282.336 13.5038 281.504 14.3358 280.478 14.3358C279.451 14.3358 278.619 13.5038 278.619 12.4776C278.619 11.4513 279.451 10.6194 280.478 10.6194Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"218",y:"21",width:"68",height:"59",rx:"2",fill:"white"}),n.jsx("rect",{x:"224",y:"27",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 261.902 27.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 276.001 33.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"224",y:"45",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 261.902 45.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 276.001 51.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"224",y:"63",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 261.902 63.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 276.001 69.5)",fill:"#F0F0F1"}),n.jsx("path",{d:"M277 22.8438C277 22.2915 277.448 21.8438 278 21.8438H285V29.8438H278C277.448 29.8438 277 29.396 277 28.8438V22.8438Z",fill:"white"}),n.jsx("path",{d:"M281 26.2879L282.555 27.8438L283 27.3996L281.445 25.8437L283 24.2883L282.556 23.8442L281 25.3987L279.445 23.8438L279 24.2879L280.555 25.8437L279 27.3992L279.444 27.8438L281 26.2879Z",fill:"#A1ABB7"})]}),value:"type_4",title:"Panel dropdown - list view"},{label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_563_5246",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_563_5246)"}),n.jsxs("mask",{id:"path-3-outside-2_563_5246",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-3-outside-2_563_5246)"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"black","fill-opacity":"0.2"}),n.jsx("rect",{x:"8",y:"10",width:"25",height:"5",rx:"2",fill:"black","fill-opacity":"0.05"}),n.jsx("rect",{x:"46",y:"10",width:"14",height:"5",rx:"2",fill:"black","fill-opacity":"0.05"}),n.jsx("rect",{x:"70",y:"7",width:"143",height:"12",rx:"2",fill:"#F0F0F1",stroke:"#A1ABB7","stroke-width":"0.25"}),n.jsx("path",{opacity:"0.5",d:"M200 13.2221L200.778 14L201 13.7779L200.222 13L201 12.2223L200.778 12.0002L200 12.7775L199.222 12L199 12.2221L199.778 13L199 13.7777L199.222 14L200 13.2223V13.2221Z",fill:"#A1ABB7"}),n.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M207.478 10C208.846 10 209.955 11.1092 209.955 12.4776C209.955 13.0501 209.761 13.5773 209.435 13.9968L211 15.562L210.562 16L208.997 14.4348C208.577 14.7609 208.05 14.9552 207.478 14.9552C206.109 14.9552 205 13.8459 205 12.4776C205 11.1092 206.109 10 207.478 10ZM207.478 10.6194C208.504 10.6194 209.336 11.4513 209.336 12.4776C209.336 13.5038 208.504 14.3358 207.478 14.3358C206.451 14.3358 205.619 13.5038 205.619 12.4776C205.619 11.4513 206.451 10.6194 207.478 10.6194Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"226",y:"10",width:"55",height:"5",rx:"2",fill:"black","fill-opacity":"0.05"}),n.jsx("rect",{x:"70",y:"21",width:"143",height:"59",rx:"2",fill:"white"}),n.jsx("rect",{x:"79",y:"27",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 116.902 27.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 131.001 33.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"146.001",y:"27",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 183.904 27.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 198.002 33.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"79",y:"45",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 116.902 45.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 131.001 51.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"146.001",y:"45",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 183.904 45.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 198.002 51.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"79",y:"63",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 116.902 63.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 131.001 69.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"146.001",y:"63",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 183.904 63.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 198.002 69.5)",fill:"#F0F0F1"}),n.jsx("path",{d:"M204 22.8438C204 22.2915 204.448 21.8438 205 21.8438H212V29.8438H205C204.448 29.8438 204 29.396 204 28.8438V22.8438Z",fill:"white"}),n.jsx("path",{opacity:"0.7",d:"M208 26.2879L209.555 27.8438L210 27.3996L208.445 25.8437L210 24.2883L209.556 23.8442L208 25.3987L206.445 23.8438L206 24.2879L207.555 25.8437L206 27.3992L206.444 27.8438L208 26.2879Z",fill:"#A1ABB7"})]}),value:"type_5",title:"Panel dropdown - grid view"},{label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_563_5246",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_563_5246)"}),n.jsxs("mask",{id:"path-3-outside-2_563_5246",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-3-outside-2_563_5246)"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"black","fill-opacity":"0.2"}),n.jsx("rect",{x:"8",y:"10",width:"25",height:"5",rx:"2",fill:"black","fill-opacity":"0.05"}),n.jsx("rect",{x:"46",y:"10",width:"14",height:"5",rx:"2",fill:"black","fill-opacity":"0.05"}),n.jsx("rect",{x:"70",y:"7",width:"143",height:"12",rx:"2",fill:"#F0F0F1",stroke:"#A1ABB7","stroke-width":"0.25"}),n.jsx("path",{opacity:"0.5",d:"M200 13.2221L200.778 14L201 13.7779L200.222 13L201 12.2223L200.778 12.0002L200 12.7775L199.222 12L199 12.2221L199.778 13L199 13.7777L199.222 14L200 13.2223V13.2221Z",fill:"#A1ABB7"}),n.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M207.478 10C208.846 10 209.955 11.1092 209.955 12.4776C209.955 13.0501 209.761 13.5773 209.435 13.9968L211 15.562L210.562 16L208.997 14.4348C208.577 14.7609 208.05 14.9552 207.478 14.9552C206.109 14.9552 205 13.8459 205 12.4776C205 11.1092 206.109 10 207.478 10ZM207.478 10.6194C208.504 10.6194 209.336 11.4513 209.336 12.4776C209.336 13.5038 208.504 14.3358 207.478 14.3358C206.451 14.3358 205.619 13.5038 205.619 12.4776C205.619 11.4513 206.451 10.6194 207.478 10.6194Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"226",y:"10",width:"55",height:"5",rx:"2",fill:"black","fill-opacity":"0.05"}),n.jsx("rect",{x:"70",y:"21",width:"143",height:"59",rx:"2",fill:"white"}),n.jsx("rect",{x:"79",y:"27",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 116.902 27.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 131.001 33.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"146.001",y:"27",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 183.904 27.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 198.002 33.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"79",y:"45",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 116.902 45.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 131.001 51.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"146.001",y:"45",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 183.904 45.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 198.002 51.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"79",y:"63",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 116.902 63.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 131.001 69.5)",fill:"#F0F0F1"}),n.jsx("rect",{x:"146.001",y:"63",width:"10",height:"10",rx:"2",fill:"#F0F0F1"}),n.jsx("rect",{width:"23.9024",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 183.904 63.5)",fill:"#F0F0F1"}),n.jsx("rect",{width:"37.9986",height:"3",rx:"1.5",transform:"matrix(-1 0 0 1 198.002 69.5)",fill:"#F0F0F1"}),n.jsx("path",{d:"M204 22.8438C204 22.2915 204.448 21.8438 205 21.8438H212V29.8438H205C204.448 29.8438 204 29.396 204 28.8438V22.8438Z",fill:"white"}),n.jsx("path",{opacity:"0.7",d:"M208 26.2879L209.555 27.8438L210 27.3996L208.445 25.8437L210 24.2883L209.556 23.8442L208 25.3987L206.445 23.8438L206 24.2879L207.555 25.8437L206 27.3992L206.444 27.8438L208 26.2879Z",fill:"#A1ABB7"})]}),value:"type_6",title:"Top dropdown"}];function Uj(e){return console.log(e.options),n.jsx($1,{...e,options:(e.options??[]).map(t=>Gj.find(r=>r.value===t.value)),className:"live-result-type-group [&_.brandy-radio-item]:pb-0",itemCss:[ce(["&.selected{border:1px solid #000;}"])]})}const Yj=window.React.useMemo,Xj=window.React.useState;function Jj(e){const[t,r]=Xj(""),i=l=>{r(l.toString())},o=Yj(()=>e.value,[e.value]),a=l=>{l.preventDefault(),l.stopPropagation(),l.key==="Enter"&&(o.includes(t)||(e.onChange([...o,t]),r("")))},s=l=>{o.includes(l)&&e.onChange(o.filter(c=>c!==l))};return n.jsxs("div",{children:[n.jsx(Ue,{placeholder:"Typing suggestion then enter",onChange:i,value:t,onKeyUp:a,type:"text"}),n.jsx(Kj,{tags:o,onRemove:s})]})}function Kj({tags:e,onRemove:t}){return n.jsx(qj,{children:e.map(r=>n.jsxs(Qj,{children:[r,n.jsx("span",{onClick:()=>{t(r)},children:n.jsxs(eS,{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("g",{clipPath:"url(#clip0_3840_66678)",children:n.jsx("path",{d:"M11.7465 11.0349C11.9074 11.1958 11.9979 11.4141 11.9979 11.6417C11.9979 11.8694 11.9074 12.0877 11.7465 12.2486C11.5855 12.4096 11.3672 12.5 11.1396 12.5C10.912 12.5 10.6937 12.4096 10.5327 12.2486L5.99964 7.71412L1.46515 12.2472C1.30419 12.4081 1.08589 12.4986 0.858264 12.4986C0.630638 12.4986 0.412335 12.4081 0.25138 12.2472C0.0904241 12.0862 2.39843e-09 11.8679 0 11.6403C-2.39843e-09 11.4127 0.0904241 11.1944 0.25138 11.0334L4.78587 6.50036L0.252807 1.96586C0.0918518 1.80491 0.00142799 1.5866 0.001428 1.35898C0.001428 1.13135 0.0918518 0.913049 0.252807 0.752094C0.413763 0.591138 0.632066 0.500714 0.859692 0.500714C1.08732 0.500714 1.30562 0.591138 1.46658 0.752094L5.99964 5.28659L10.5341 0.751379C10.6951 0.590424 10.9134 0.5 11.141 0.5C11.3686 0.5 11.5869 0.590424 11.7479 0.751379C11.9089 0.912335 11.9993 1.13064 11.9993 1.35826C11.9993 1.58589 11.9089 1.80419 11.7479 1.96515L7.21341 6.50036L11.7465 11.0349Z",fill:window.brandyCustomizerData.colors.icon.normal})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_3840_66678",children:n.jsx("rect",{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"})})})]})})]},r))})}var qj=g("div")({marginTop:"0.5rem",display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.75rem"}),Qj=g("span")({display:"flex",alignItems:"center",gap:"0.5rem",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"0.5rem"}),eS=g("svg").withConfig({displayName:"Suggestions___StyledSvg",componentId:"sc-vw3nn3-0"})({height:"8px",width:"8px",cursor:"pointer"});const tS=window.React.forwardRef,B2=window.React.useContext,pd=window.React.useEffect,qo=window.React.useMemo,nS=window.React.useRef,Hi=window.React.useState,rS=e=>{const{builder:t}=B2(Pe),r=re(t)(h=>{var x;return(x=h.chosenElement)==null?void 0:x.settings}),i=re(t)(h=>h.changeElementSettings),o=re(t)(h=>{var x;return(x=h.chosenElement)==null?void 0:x.id}),[a,s]=Hi(!1),l=h=>{h.stopPropagation(),r.items.forEach((x,p)=>{x.id===e.item.id&&i(m=>{m.items[p].visible=!r.items[p].visible})}),Ee().refreshPartial(`${t}_${o}`)},c=()=>{i(h=>{h.items=r.items.filter(x=>x.id!==e.item.id)}),Ee().refreshPartial(`${t}_${o}`)},d=()=>{s(h=>!h)},u=h=>{r.items.forEach((x,p)=>{if(x.id===e.item.id){const m=ie(b1(o??"",t)+` .brandy-social-item[data-social-id="${x.id}"] .brandy-social-item__label`);m&&window.jQuery(m).html(h),i(w=>{w.items[p].label=h.toString()})}})},f=h=>{r.items.forEach((x,p)=>{if(x.id===e.item.id){const m=ie(b1(o??"",t)+` .brandy-social-item[data-social-id="${x.id}"]`);m&&window.jQuery(m).attr("href",h),i(w=>{w.items[p].url=h.toString()})}})};return n.jsxs(sS,{$_css2:[{overflow:"hidden",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:[n.jsxs(lS,{className:"group",$_css3:[{display:"flex",height:"44px",userSelect:"none",alignItems:"center",justifyContent:"space-between",padding:"0.75rem"},a&&{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},a&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(30 30 30 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:[n.jsxs(cS,{children:[n.jsx(dS,{className:"brandy-social-drag-handle",children:n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Se([!a&&"group-hover:[&_*]:fill-brandy-text",a&&`[&_*]:fill-[${window.brandyCustomizerData.colors.icon.normal}]`]),children:[n.jsxs("g",{clipPath:"url(#clip0_2536_66911)",children:[n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2536_66911",children:n.jsx("rect",{width:"7",height:"12",fill:"white"})})})]})}),n.jsx("span",{className:Se(["group-hover:text-brandy-text",a&&"group-hover:text-gutenberg-white"]),children:e.item.label})]}),n.jsxs(uS,{$_css4:[{visibility:"hidden",display:"flex",alignItems:"center",gap:"0.25rem",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{".group:hover &":{visibility:"visible !important",opacity:"1 !important"}},a&&{visibility:"visible !important",opacity:"1 !important"}],children:[n.jsx(hS,{onClick:c,$_css5:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#FF5F5D"},{fill:"#FF5F5D"})],children:n.jsxs("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1.67773 1.57422H11.3206L9.97478 10.3049C9.82442 11.2803 8.98504 12.0002 7.99812 12.0002H5.0002C4.01328 12.0002 3.17391 11.2803 3.02355 10.3049L1.67773 1.57422Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("rect",{x:"0.875",y:"1.57422",width:"11.25",height:"1.37702",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M8.10686 1.57369C8.10686 1.57369 7.38732 1.57369 6.49972 1.57369C5.61212 1.57369 4.89258 1.57369 4.89258 1.57369C4.89258 0.704538 5.61212 -4.8097e-05 6.49972 -4.8097e-05C7.38732 -4.8097e-05 8.10686 0.704538 8.10686 1.57369Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx("span",{onClick:l,className:"p-1 cursor-pointer",children:e.item.visible?n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsxs("g",{children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21322 9.65625C7.21322 8.13747 8.43575 6.90625 9.94382 6.90625C11.4519 6.90625 12.6744 8.13747 12.6744 9.65625C12.6744 11.175 11.4519 12.4063 9.94382 12.4063C8.43575 12.4063 7.21322 11.175 7.21322 9.65625ZM6.01336 5.76716C8.14608 3.61928 11.6039 3.61928 13.7366 5.76716L15.2165 7.25756C15.6445 7.68849 16.0132 8.05979 16.2687 8.39713C16.5426 8.75864 16.75 9.16072 16.75 9.65625C16.75 10.1518 16.5426 10.5539 16.2687 10.9154C16.0132 11.2527 15.6445 11.624 15.2165 12.0549L13.7366 13.5453C11.6039 15.6932 8.14608 15.6932 6.01336 13.5453L4.53346 12.0549C4.10553 11.624 3.73681 11.2527 3.48125 10.9154C3.20737 10.5539 3 10.1518 3 9.65625C3 9.16072 3.20737 8.75864 3.48125 8.39712C3.73681 8.0598 4.10553 7.6885 4.53347 7.25757C4.54402 7.24694 4.55461 7.23627 4.56524 7.22557L6.01336 5.76716Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.94342 8.28125C9.18939 8.28125 8.57812 8.89686 8.57812 9.65625C8.57812 10.4156 9.18939 11.0313 9.94342 11.0313C10.6975 11.0313 11.3087 10.4156 11.3087 9.65625C11.3087 8.89686 10.6975 8.28125 9.94342 8.28125Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}):n.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.56821 4.64479C9.56073 3.73048 11.9917 4.09905 13.6323 5.75445L15.6616 7.80205C15.682 7.82261 15.7022 7.84294 15.7222 7.86308C15.9974 8.14007 16.235 8.37932 16.3788 8.6519C16.6957 9.25283 16.6957 9.97343 16.3788 10.5744C16.235 10.8469 15.9974 11.0862 15.7222 11.3632C15.7022 11.3833 15.682 11.4036 15.6616 11.4242L15.6264 11.4597C15.3624 11.7261 14.9344 11.7261 14.6704 11.4597C14.4064 11.1933 14.4064 10.7614 14.6704 10.495L14.7056 10.4595C15.0763 10.0855 15.1497 10.0008 15.1852 9.93354C15.2908 9.73323 15.2908 9.49303 15.1852 9.29272C15.1497 9.22547 15.0763 9.14078 14.7056 8.76672L12.6763 6.71912C11.4472 5.4789 9.62411 5.2001 8.12791 5.88666C7.78805 6.04261 7.38724 5.89103 7.23269 5.5481C7.07813 5.20517 7.22835 4.80075 7.56821 4.64479Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37445 4.50556C3.60367 4.20819 4.0284 4.15462 4.32311 4.38591L16.4915 13.9356C16.7862 14.1669 16.8393 14.5955 16.61 14.8929C16.3808 15.1902 15.9561 15.2438 15.6614 15.0125L13.6598 13.4416L13.6324 13.4693C11.5204 15.6004 8.09611 15.6004 5.98409 13.4693L4.51857 11.9905C4.0948 11.563 3.72965 11.1946 3.47658 10.8599C3.20536 10.5012 3 10.1022 3 9.61059C3 9.11894 3.20536 8.72 3.47658 8.36131C3.72965 8.02662 4.09479 7.65823 4.51858 7.23067L5.05544 6.68896L3.49304 5.46278C3.19833 5.23149 3.14524 4.80293 3.37445 4.50556ZM10.3879 10.8739L11.5296 11.7699C11.0725 12.1267 10.499 12.3391 9.87639 12.3391C8.38296 12.3391 7.17231 11.1175 7.17231 9.61059C7.17231 9.22476 7.25168 8.85763 7.39484 8.52492L8.53724 9.42147C8.52874 9.48329 8.52435 9.54644 8.52435 9.61062C8.52435 10.3641 9.12968 10.9749 9.87639 10.9749C10.0574 10.9749 10.2301 10.939 10.3879 10.8739Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx(fS,{onClick:d,$_css6:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}",""],{stroke:"#1E1E1E"},{fill:"#1E1E1E"},a&&{"*":{fill:"#fff !important"}})],children:n.jsx("svg",{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28003 0.627C4.30892 0.451874 4.39853 0.292754 4.53292 0.177945C4.66731 0.0631354 4.83776 8.18362e-05 5.01395 1.09305e-07H5.98605C6.16237 -9.57618e-05 6.333 0.0628773 6.46754 0.177702C6.60208 0.292527 6.6918 0.451747 6.72072 0.627L6.90233 1.7265C7.48813 1.9215 8.02108 2.23575 8.4714 2.64L9.50826 2.2485C9.67323 2.18642 9.8547 2.18529 10.0204 2.2453C10.1861 2.3053 10.3254 2.42257 10.4134 2.57625L10.8994 3.42375C10.9878 3.57753 11.019 3.75792 10.9877 3.93277C10.9563 4.10763 10.8644 4.26558 10.7282 4.3785L9.87374 5.0865C9.99709 5.68891 9.99709 6.31034 9.87374 6.91275L10.729 7.62225C10.8649 7.73513 10.9568 7.89295 10.9881 8.06763C11.0195 8.24232 10.9883 8.42254 10.9002 8.57625L10.4141 9.42375C10.3261 9.57743 10.1869 9.6947 10.0212 9.75471C9.85544 9.81471 9.67397 9.81358 9.50901 9.7515L8.4714 9.36C8.02108 9.765 7.48887 10.0785 6.90233 10.2735L6.72072 11.373C6.6918 11.5483 6.60208 11.7075 6.46754 11.8223C6.333 11.9371 6.16237 12.0001 5.98605 12H5.01395C4.83776 11.9999 4.66731 11.9369 4.53292 11.8221C4.39853 11.7072 4.30892 11.5481 4.28003 11.373L4.09841 10.2735C3.51888 10.0803 2.98485 9.76943 2.52934 9.36L1.49173 9.7515C1.32676 9.81384 1.14519 9.8152 0.979313 9.75532C0.813441 9.69544 0.674028 9.57822 0.585874 9.4245L0.0998205 8.57625C0.0116929 8.42254 -0.0194682 8.24232 0.0118792 8.06763C0.0432266 7.89295 0.13505 7.73513 0.271018 7.62225L1.12626 6.91275C1.00293 6.31034 1.00293 5.68891 1.12626 5.0865L0.271763 4.3785C0.135794 4.26562 0.0439709 4.1078 0.0126235 3.93312C-0.0187239 3.75843 0.0124372 3.57821 0.100565 3.4245L0.586618 2.57625C0.674655 2.4224 0.814019 2.30502 0.979901 2.245C1.14578 2.18498 1.32742 2.18622 1.49248 2.2485L2.52934 2.64C2.98484 2.23055 3.51888 1.91964 4.09841 1.7265L4.28003 0.627ZM7.73376 6C7.73376 6.29547 7.676 6.58806 7.56378 6.86104C7.45156 7.13402 7.28708 7.38206 7.07973 7.59099C6.87237 7.79992 6.6262 7.96566 6.35528 8.07873C6.08436 8.1918 5.79399 8.25 5.50074 8.25C5.2075 8.25 4.91713 8.1918 4.64621 8.07873C4.37528 7.96566 4.12912 7.79992 3.92176 7.59099C3.71441 7.38206 3.54992 7.13402 3.43771 6.86104C3.32549 6.58806 3.26773 6.29547 3.26773 6C3.26773 5.40326 3.50299 4.83097 3.92176 4.40901C4.34053 3.98705 4.90851 3.75 5.50074 3.75C6.09298 3.75 6.66095 3.98705 7.07973 4.40901C7.4985 4.83097 7.73376 5.40326 7.73376 6Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]})]}),a&&n.jsxs(pS,{children:[n.jsxs(gS,{children:[n.jsx("div",{children:"Label"}),n.jsx(Ue,{value:e.item.label,onChange:u})]}),n.jsxs(xS,{children:[n.jsx("div",{children:"Link"}),n.jsx(mS,{value:e.item.url,onChange:f,prefix:n.jsx(wS,{className:"brandy-icon",dangerouslySetInnerHTML:{__html:(ya[e.item.icon]&&ya[e.item.icon][r.icon_color_type])??""},$_css8:[ce(["padding:6px;background:#fafafa;border-radius:5px 0 0 5px;border-right:1px solid #e3e8ee;svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#A1ABB7"},{fill:"#A1ABB7"})]}),$_css7:[ce(["padding:0 !important;overflow:hidden;"])]})]})]})]})},iS=window.brandyCustomizerData.all_socials,ya=window.brandyCustomizerData.icons.socials;function oS(e){const{builder:t}=B2(Pe),r=qo(()=>e.value??e.default_value,[e.value,e.default_value]),[i,o]=Hi(null),[a,s]=Hi(null),{styles:l,attributes:c}=_1(i,a),[d,u]=Hi(!1),f=()=>{u(m=>!m)},h=()=>{u(!1)};pd(()=>{const m=w=>{(i==null||a==null)&&h(),!(i!=null&&i.contains(w.target))&&!(a!=null&&a.contains(w.target))&&h()};return window.jQuery(document).on("click","body",m),()=>{window.jQuery(document).off("click","body",m)}},[i,a]);const x=re(t)(m=>{var w;return(w=m.chosenElement)==null?void 0:w.id}),p=m=>{JSON.stringify(r)!==JSON.stringify(m)&&(e.onChange(m),Ee().refreshPartial(`${t}_${x}`))};return n.jsxs(vS,{children:[n.jsxs(CS,{children:[n.jsx(Be,{className:"m-0",children:"List socials"}),n.jsx(yS,{className:"group",ref:o,onClick:f,children:n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx(bS,{d:"M12 5.3H7.2V0.5H4.8V5.3H0V7.7H4.8V12.5H7.2V7.7H12V5.3Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),n.jsx(hn.ReactSortable,{list:r,setList:p,className:"flex flex-col gap-4",animation:150,easing:"ease-in-out",handle:".brandy-social-drag-handle",children:r.map(m=>n.jsx("div",{children:n.jsx(rS,{item:m})},m.id))}),d&&n.jsx(aS,{ref:s,style:{...l.popper},...c.popper,onClose:h})]})}const aS=tS(({style:e,onClose:t,...r},i)=>{const{builder:o}=B2(Pe),a=re(o)(m=>{var w;return(w=m.chosenElement)==null?void 0:w.settings}),s=re(o)(m=>m.changeElementSettings),[l,c]=Hi(""),d=qo(()=>iS.filter(m=>!a.items.map(w=>w.id).includes(m.id)),[a.items]),u=qo(()=>d.filter(m=>m.label.toLowerCase().includes(l.toLowerCase())),[d,l]),f=qo(()=>a.icon_color_type,[a.icon_color_type]),h=re(o)(m=>{var w;return(w=m.chosenElement)==null?void 0:w.id}),x=m=>()=>{s(w=>{w.items.push(m)}),Ee().refreshPartial(`${o}_${h}`),t()},p=nS(null);return pd(()=>{var m,w;return(w=(m=p.current)==null?void 0:m.querySelector("input"))==null?void 0:w.focus()},[p.current]),n.jsxs(_S,{style:e,ref:i,...r,$_css9:[{zIndex:"10",marginTop:"0.5rem",marginBottom:"0.5rem",width:"320px",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{"--tw-shadow":"0px 0px 8px 0px rgba(51, 51, 51, 0.10)","--tw-shadow-colored":"0px 0px 8px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:[n.jsxs(jS,{children:[n.jsx(SS,{children:"Add social icon"}),n.jsx(DS,{onClick:()=>{t()},children:n.jsx(eo,{})})]}),n.jsx(ES,{children:n.jsx(fn,{ref:p,searchText:l,onSearch:m=>{c(m.toString())},placeholder:D("Search socials")})}),n.jsx(G1,{className:"h-[300px]",autoHide:!0,children:n.jsxs(HS,{children:[u.map(m=>n.jsx(kS,{onClick:x(m),$_css10:[{display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"center",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"1rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},f==="custom"&&ce(["&:hover{svg{*[stroke]{","}*[fill]{","}}}"],{stroke:"#2271B1"},{fill:"#2271B1"})],children:n.jsx("span",{className:`brandy-icon ${f==="custom"&&"[&_svg]:fill-icon"}`,dangerouslySetInnerHTML:{__html:(ya[m.icon]&&ya[m.icon][f])??""}})},m.id)),u.length===0&&n.jsx("div",{className:"text-brandy-text-secondary col-span-4 m-auto",children:"No social found"})]})})]})});var sS=g("div")`${e=>e.$_css2}`,lS=g("div")`${e=>e.$_css3}`,cS=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),dS=g("span")({cursor:"grab",padding:"0.5rem"}),uS=g("div")`${e=>e.$_css4}`,hS=g("span")`${e=>e.$_css5}`,fS=g("span")`${e=>e.$_css6}`,pS=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"1rem"}),gS=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),xS=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),mS=g(Ue)`${e=>e.$_css7}`,wS=g("span")`${e=>e.$_css8}`,vS=g("div")({display:"flex",flexDirection:"column",gap:"1rem"}),CS=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),yS=g("div")({cursor:"pointer",borderRadius:"5px",padding:"0.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:hover":{backgroundColor:"#D1EAFFB2"}}),bS=g("path")({transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s",".group:hover &":{fill:"#2271B1"}}),_S=g("div")`${e=>e.$_css9}`,jS=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"1rem",paddingBottom:"0.5rem"}),SS=g("span")({fontSize:"16px",fontWeight:"500"}),DS=g("span")({cursor:"pointer",padding:"0.25rem"}),ES=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem",paddingTop:"0.5rem"}),HS=g("div")({display:"grid",gridTemplateColumns:"repeat(4, minmax(0, 1fr))",gap:"1rem",padding:"1rem"}),kS=g("div").withConfig({displayName:"ListSocials___StyledDiv15",componentId:"sc-hody2l-0"})(["",""],e=>e.$_css10);const MS=window.React.forwardRef,R2=window.React.useContext,gd=window.React.useEffect,Qo=window.React.useMemo,LS=window.React.useRef,ki=window.React.useState,$S=e=>{const{builder:t}=R2(Pe),r=re(t)(f=>{var h;return(h=f.chosenElement)==null?void 0:h.settings}),i=re(t)(f=>f.changeElementSettings),o=re(t)(f=>{var h;return(h=f.chosenElement)==null?void 0:h.id}),[a,s]=ki(!1),l=f=>{f.stopPropagation(),r.items.forEach((h,x)=>{h.id===e.item.id&&i(p=>{p.items[x].visible=!r.items[x].visible})}),Ee().refreshPartial(`${t}_${o}`)},c=()=>{i(f=>{f.items=r.items.filter(h=>h.id!==e.item.id)}),Ee().refreshPartial(`${t}_${o}`)},d=()=>{s(f=>!f)},u=f=>{r.items.forEach((h,x)=>{if(h.id===e.item.id){const p=ie(b1(o??"",t)+` .brandy-payment-item[data-payment-id="${h.id}"]`);p&&window.jQuery(p).attr("href",Ra(f)),i(m=>{m.items[x].url=f.toString()})}})};return n.jsxs(TS,{$_css2:[{overflow:"hidden",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:[n.jsxs(BS,{className:"group",$_css3:[{display:"flex",height:"44px",userSelect:"none",alignItems:"center",justifyContent:"space-between",padding:"0.75rem"},a&&{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},a&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(30 30 30 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:[n.jsxs(RS,{children:[n.jsx(FS,{className:"brandy-payment-drag-handle",children:n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Se([!a&&"group-hover:[&_*]:fill-brandy-text",a&&`[&_*]:fill-[${window.brandyCustomizerData.colors.icon.normal}]`]),children:[n.jsxs("g",{clipPath:"url(#clip0_2536_66911)",children:[n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2536_66911",children:n.jsx("rect",{width:"7",height:"12",fill:"white"})})})]})}),n.jsx("span",{className:Se(["group-hover:text-brandy-text",a&&"group-hover:text-gutenberg-white"]),children:e.item.label})]}),n.jsxs(OS,{$_css4:[{visibility:"hidden",display:"flex",alignItems:"center",gap:"0.25rem",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{".group:hover &":{visibility:"visible !important",opacity:"1 !important"}},a&&{visibility:"visible !important",opacity:"1 !important"}],children:[n.jsx(PS,{onClick:c,$_css5:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#FF5F5D"},{fill:"#FF5F5D"})],children:n.jsxs("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1.67773 1.57422H11.3206L9.97478 10.3049C9.82442 11.2803 8.98504 12.0002 7.99812 12.0002H5.0002C4.01328 12.0002 3.17391 11.2803 3.02355 10.3049L1.67773 1.57422Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("rect",{x:"0.875",y:"1.57422",width:"11.25",height:"1.37702",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M8.10686 1.57369C8.10686 1.57369 7.38732 1.57369 6.49972 1.57369C5.61212 1.57369 4.89258 1.57369 4.89258 1.57369C4.89258 0.704538 5.61212 -4.8097e-05 6.49972 -4.8097e-05C7.38732 -4.8097e-05 8.10686 0.704538 8.10686 1.57369Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx("span",{onClick:l,className:"p-1 cursor-pointer",children:e.item.visible?n.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsxs("g",{children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21322 9.65625C7.21322 8.13747 8.43575 6.90625 9.94382 6.90625C11.4519 6.90625 12.6744 8.13747 12.6744 9.65625C12.6744 11.175 11.4519 12.4063 9.94382 12.4063C8.43575 12.4063 7.21322 11.175 7.21322 9.65625ZM6.01336 5.76716C8.14608 3.61928 11.6039 3.61928 13.7366 5.76716L15.2165 7.25756C15.6445 7.68849 16.0132 8.05979 16.2687 8.39713C16.5426 8.75864 16.75 9.16072 16.75 9.65625C16.75 10.1518 16.5426 10.5539 16.2687 10.9154C16.0132 11.2527 15.6445 11.624 15.2165 12.0549L13.7366 13.5453C11.6039 15.6932 8.14608 15.6932 6.01336 13.5453L4.53346 12.0549C4.10553 11.624 3.73681 11.2527 3.48125 10.9154C3.20737 10.5539 3 10.1518 3 9.65625C3 9.16072 3.20737 8.75864 3.48125 8.39712C3.73681 8.0598 4.10553 7.6885 4.53347 7.25757C4.54402 7.24694 4.55461 7.23627 4.56524 7.22557L6.01336 5.76716Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.94342 8.28125C9.18939 8.28125 8.57812 8.89686 8.57812 9.65625C8.57812 10.4156 9.18939 11.0313 9.94342 11.0313C10.6975 11.0313 11.3087 10.4156 11.3087 9.65625C11.3087 8.89686 10.6975 8.28125 9.94342 8.28125Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}):n.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.56821 4.64479C9.56073 3.73048 11.9917 4.09905 13.6323 5.75445L15.6616 7.80205C15.682 7.82261 15.7022 7.84294 15.7222 7.86308C15.9974 8.14007 16.235 8.37932 16.3788 8.6519C16.6957 9.25283 16.6957 9.97343 16.3788 10.5744C16.235 10.8469 15.9974 11.0862 15.7222 11.3632C15.7022 11.3833 15.682 11.4036 15.6616 11.4242L15.6264 11.4597C15.3624 11.7261 14.9344 11.7261 14.6704 11.4597C14.4064 11.1933 14.4064 10.7614 14.6704 10.495L14.7056 10.4595C15.0763 10.0855 15.1497 10.0008 15.1852 9.93354C15.2908 9.73323 15.2908 9.49303 15.1852 9.29272C15.1497 9.22547 15.0763 9.14078 14.7056 8.76672L12.6763 6.71912C11.4472 5.4789 9.62411 5.2001 8.12791 5.88666C7.78805 6.04261 7.38724 5.89103 7.23269 5.5481C7.07813 5.20517 7.22835 4.80075 7.56821 4.64479Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37445 4.50556C3.60367 4.20819 4.0284 4.15462 4.32311 4.38591L16.4915 13.9356C16.7862 14.1669 16.8393 14.5955 16.61 14.8929C16.3808 15.1902 15.9561 15.2438 15.6614 15.0125L13.6598 13.4416L13.6324 13.4693C11.5204 15.6004 8.09611 15.6004 5.98409 13.4693L4.51857 11.9905C4.0948 11.563 3.72965 11.1946 3.47658 10.8599C3.20536 10.5012 3 10.1022 3 9.61059C3 9.11894 3.20536 8.72 3.47658 8.36131C3.72965 8.02662 4.09479 7.65823 4.51858 7.23067L5.05544 6.68896L3.49304 5.46278C3.19833 5.23149 3.14524 4.80293 3.37445 4.50556ZM10.3879 10.8739L11.5296 11.7699C11.0725 12.1267 10.499 12.3391 9.87639 12.3391C8.38296 12.3391 7.17231 11.1175 7.17231 9.61059C7.17231 9.22476 7.25168 8.85763 7.39484 8.52492L8.53724 9.42147C8.52874 9.48329 8.52435 9.54644 8.52435 9.61062C8.52435 10.3641 9.12968 10.9749 9.87639 10.9749C10.0574 10.9749 10.2301 10.939 10.3879 10.8739Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx(NS,{onClick:d,$_css6:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}",""],{stroke:"#1E1E1E"},{fill:"#1E1E1E"},a&&{"*":{fill:"#fff !important"}})],children:n.jsx("svg",{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28003 0.627C4.30892 0.451874 4.39853 0.292754 4.53292 0.177945C4.66731 0.0631354 4.83776 8.18362e-05 5.01395 1.09305e-07H5.98605C6.16237 -9.57618e-05 6.333 0.0628773 6.46754 0.177702C6.60208 0.292527 6.6918 0.451747 6.72072 0.627L6.90233 1.7265C7.48813 1.9215 8.02108 2.23575 8.4714 2.64L9.50826 2.2485C9.67323 2.18642 9.8547 2.18529 10.0204 2.2453C10.1861 2.3053 10.3254 2.42257 10.4134 2.57625L10.8994 3.42375C10.9878 3.57753 11.019 3.75792 10.9877 3.93277C10.9563 4.10763 10.8644 4.26558 10.7282 4.3785L9.87374 5.0865C9.99709 5.68891 9.99709 6.31034 9.87374 6.91275L10.729 7.62225C10.8649 7.73513 10.9568 7.89295 10.9881 8.06763C11.0195 8.24232 10.9883 8.42254 10.9002 8.57625L10.4141 9.42375C10.3261 9.57743 10.1869 9.6947 10.0212 9.75471C9.85544 9.81471 9.67397 9.81358 9.50901 9.7515L8.4714 9.36C8.02108 9.765 7.48887 10.0785 6.90233 10.2735L6.72072 11.373C6.6918 11.5483 6.60208 11.7075 6.46754 11.8223C6.333 11.9371 6.16237 12.0001 5.98605 12H5.01395C4.83776 11.9999 4.66731 11.9369 4.53292 11.8221C4.39853 11.7072 4.30892 11.5481 4.28003 11.373L4.09841 10.2735C3.51888 10.0803 2.98485 9.76943 2.52934 9.36L1.49173 9.7515C1.32676 9.81384 1.14519 9.8152 0.979313 9.75532C0.813441 9.69544 0.674028 9.57822 0.585874 9.4245L0.0998205 8.57625C0.0116929 8.42254 -0.0194682 8.24232 0.0118792 8.06763C0.0432266 7.89295 0.13505 7.73513 0.271018 7.62225L1.12626 6.91275C1.00293 6.31034 1.00293 5.68891 1.12626 5.0865L0.271763 4.3785C0.135794 4.26562 0.0439709 4.1078 0.0126235 3.93312C-0.0187239 3.75843 0.0124372 3.57821 0.100565 3.4245L0.586618 2.57625C0.674655 2.4224 0.814019 2.30502 0.979901 2.245C1.14578 2.18498 1.32742 2.18622 1.49248 2.2485L2.52934 2.64C2.98484 2.23055 3.51888 1.91964 4.09841 1.7265L4.28003 0.627ZM7.73376 6C7.73376 6.29547 7.676 6.58806 7.56378 6.86104C7.45156 7.13402 7.28708 7.38206 7.07973 7.59099C6.87237 7.79992 6.6262 7.96566 6.35528 8.07873C6.08436 8.1918 5.79399 8.25 5.50074 8.25C5.2075 8.25 4.91713 8.1918 4.64621 8.07873C4.37528 7.96566 4.12912 7.79992 3.92176 7.59099C3.71441 7.38206 3.54992 7.13402 3.43771 6.86104C3.32549 6.58806 3.26773 6.29547 3.26773 6C3.26773 5.40326 3.50299 4.83097 3.92176 4.40901C4.34053 3.98705 4.90851 3.75 5.50074 3.75C6.09298 3.75 6.66095 3.98705 7.07973 4.40901C7.4985 4.83097 7.73376 5.40326 7.73376 6Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]})]}),a&&n.jsx(zS,{children:n.jsxs(ZS,{children:[n.jsx("div",{children:"Link"}),n.jsx(WS,{value:e.item.url,onChange:u,prefix:n.jsx(GS,{className:"brandy-icon",dangerouslySetInnerHTML:{__html:xd[e.item.icon]??""},$_css8:[ce(["padding:6px;background:#fafafa;border-radius:5px 0 0 5px;border-right:1px solid #e3e8ee;"])]}),$_css7:[ce(["padding:0 !important;overflow:hidden;"])]})]})})]})},AS=window.brandyCustomizerData.all_payments,xd=window.brandyCustomizerData.icons.payments;function VS(e){const{builder:t}=R2(Pe),r=Qo(()=>e.value??e.default_value,[e.value,e.default_value]),[i,o]=ki(null),[a,s]=ki(null),{styles:l,attributes:c}=_1(i,a),[d,u]=ki(!1),f=()=>{u(m=>!m)},h=()=>{u(!1)};gd(()=>{const m=w=>{(i==null||a==null)&&h(),!(i!=null&&i.contains(w.target))&&!(a!=null&&a.contains(w.target))&&h()};return window.jQuery(document).on("click","body",m),()=>{window.jQuery(document).off("click","body",m)}},[i,a]);const x=re(t)(m=>{var w;return(w=m.chosenElement)==null?void 0:w.id}),p=m=>{JSON.stringify(r)!==JSON.stringify(m)&&(e.onChange(m),Ee().refreshPartial(`${t}_${x}`))};return n.jsxs(US,{children:[n.jsxs(YS,{children:[n.jsx(Be,{className:"m-0",children:"List payments"}),n.jsx(XS,{className:"group",ref:o,onClick:f,children:n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx(JS,{d:"M12 5.3H7.2V0.5H4.8V5.3H0V7.7H4.8V12.5H7.2V7.7H12V5.3Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),n.jsx(hn.ReactSortable,{list:r,setList:p,className:"flex flex-col gap-4",animation:150,easing:"ease-in-out",handle:".brandy-payment-drag-handle",children:r.map(m=>n.jsx("div",{children:n.jsx($S,{item:m})},m.id))}),d&&n.jsx(IS,{ref:s,style:{...l.popper},...c.popper,onClose:h})]})}const IS=MS(({style:e,onClose:t,...r},i)=>{const{builder:o}=R2(Pe),a=re(o)(m=>{var w;return(w=m.chosenElement)==null?void 0:w.settings}),s=re(o)(m=>m.changeElementSettings),[l,c]=ki(""),d=Qo(()=>AS.filter(m=>!a.items.map(w=>w.id).includes(m.id)),[a.items]),u=Qo(()=>d.filter(m=>m.label.toLowerCase().includes(l.toLowerCase())),[d,l]),f=Qo(()=>a.icon_color_type,[a.icon_color_type]),h=re(o)(m=>{var w;return(w=m.chosenElement)==null?void 0:w.id}),x=m=>()=>{s(w=>{w.items.push(m)}),Ee().refreshPartial(`${o}_${h}`),t()},p=LS(null);return gd(()=>{var m,w;return(w=(m=p.current)==null?void 0:m.querySelector("input"))==null?void 0:w.focus()},[p.current]),n.jsxs(KS,{style:e,ref:i,...r,$_css9:[{zIndex:"10",marginTop:"0.5rem",marginBottom:"0.5rem",width:"320px",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{"--tw-shadow":"0px 0px 8px 0px rgba(51, 51, 51, 0.10)","--tw-shadow-colored":"0px 0px 8px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:[n.jsxs(qS,{children:[n.jsx(QS,{children:"Add payment icon"}),n.jsx(eD,{onClick:()=>{t()},children:n.jsx(eo,{})})]}),n.jsx(tD,{children:n.jsx(fn,{ref:p,searchText:l,onSearch:m=>{c(m.toString())},placeholder:D("Search payment")})}),n.jsx(G1,{className:"h-[300px]",autoHide:!0,children:n.jsxs(nD,{children:[u.map(m=>n.jsx(rD,{onClick:x(m),$_css10:[{display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"center",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"1rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},f==="custom"&&ce(["&:hover{svg{*[stroke]{","}*[fill]{","}}}"],{stroke:"#2271B1"},{fill:"#2271B1"})],children:n.jsx("span",{className:`brandy-icon ${f==="custom"&&"[&_svg]:fill-icon"}`,dangerouslySetInnerHTML:{__html:xd[m.icon]??""}})},m.id)),u.length===0&&n.jsx("div",{className:"text-brandy-text-secondary col-span-4 m-auto",children:"No payment found"})]})})]})});var TS=g("div")`${e=>e.$_css2}`,BS=g("div")`${e=>e.$_css3}`,RS=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),FS=g("span")({cursor:"grab",padding:"0.5rem"}),OS=g("div")`${e=>e.$_css4}`,PS=g("span")`${e=>e.$_css5}`,NS=g("span")`${e=>e.$_css6}`,zS=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"1rem"}),ZS=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),WS=g(Ue)`${e=>e.$_css7}`,GS=g("span")`${e=>e.$_css8}`,US=g("div")({display:"flex",flexDirection:"column",gap:"1rem"}),YS=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),XS=g("div")({cursor:"pointer",borderRadius:"5px",padding:"0.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:hover":{backgroundColor:"#D1EAFFB2"}}),JS=g("path")({transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s",".group:hover &":{fill:"#2271B1"}}),KS=g("div")`${e=>e.$_css9}`,qS=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"1rem",paddingBottom:"0.5rem"}),QS=g("span")({fontSize:"16px",fontWeight:"500"}),eD=g("span")({cursor:"pointer",padding:"0.25rem"}),tD=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem",paddingTop:"0.5rem"}),nD=g("div")({display:"grid",gridTemplateColumns:"repeat(4, minmax(0, 1fr))",gap:"1rem",padding:"1rem"}),rD=g("div").withConfig({displayName:"ListPayments___StyledDiv14",componentId:"sc-wzxanx-0"})(["",""],e=>e.$_css10);const iD=window.React.useContext,oD=window.React.useMemo,aD=window.brandyCustomizerData.icons.wishlist;function sD(e){const{builder:t}=iD(h1),r=re(t)(o=>{var a,s;return((s=(a=o.chosenElement)==null?void 0:a.settings)==null?void 0:s.icon_style)??"outline"}),i=oD(()=>Object.entries(aD[r]??{}).map(([o,a])=>({value:o,label:n.jsx("span",{className:Se(["brandy-icon"]),dangerouslySetInnerHTML:{__html:a}})})),[r]);return n.jsx($1,{...e,options:i,itemCss:r==="outline"?[ce(["&.selected{border:1px solid black;svg *[stroke]{stroke:#000 !important;}}"])]:[ce(["&.selected{border:1px solid black;svg *[stroke]{stroke:#000 !important;}svg *[fill]{fill:#000 !important;}}"])]})}const lD=window.React.useContext,cD=window.React.useMemo;function dD(e){const{builder:t}=lD(h1),r=cD(()=>e.value_path.indexOf("logged_in")!==-1?"logged_in":"logged_out",[e.value_path]),i=re(t)(a=>{var s,l,c;return((c=(l=(s=a.chosenElement)==null?void 0:s.settings)==null?void 0:l[r])==null?void 0:c.custom_link)??""}),o=a=>{const s=ie(b1(e.sectionId,t)+" .brandy-account");s&&(a==="custom"?window.jQuery(s).attr("href",i):window.jQuery(s).attr("href",`#${a}`)),e.onChange(a)};return n.jsx(C2,{...e,onChange:o})}const uD=window.React.useContext;function hD(e){const{builder:t}=uD(Pe),{current:r}=Ce(),i=re(t)(a=>a.changeElementSettings),o=a=>{a==="small"&&i(s=>{s.button_design_padding={unit:"px",top:10,bottom:10,left:16,right:16,is_constraints:!1},s.button_design_text.typography.font_size.desktop.value=12,s.button_design_text.typography.font_size.desktop.unit="px",s.button_design_text.typography.font_size.tablet=null,s.button_design_text.typography.font_size.mobile=null,s.button_design_text.typography.line_height.desktop.value=10,s.button_design_text.typography.line_height.desktop.unit="px",s.button_design_text.typography.line_height.tablet=null,s.button_design_text.typography.line_height.mobile=null,s.button_design_icon.size.desktop.value=10,s.button_design_icon.size.desktop.unit="px",s.button_design_icon.size.tablet=null,s.button_design_icon.size.mobile=null,y1({sectionId:e.sectionId,settings:s,device:r,clonedFromId:e.cloned_from})}),a==="medium"&&i(s=>{s.button_design_padding={unit:"px",top:12,bottom:12,left:16,right:16,is_constraints:!1},s.button_design_text.typography.font_size.desktop.value=14,s.button_design_text.typography.font_size.desktop.unit="px",s.button_design_text.typography.font_size.tablet=null,s.button_design_text.typography.font_size.mobile=null,s.button_design_text.typography.line_height.desktop.value=14,s.button_design_text.typography.line_height.desktop.unit="px",s.button_design_text.typography.line_height.tablet=null,s.button_design_text.typography.line_height.mobile=null,s.button_design_icon.size.desktop.value=14,s.button_design_icon.size.desktop.unit="px",s.button_design_icon.size.tablet=null,s.button_design_icon.size.mobile=null,y1({sectionId:e.sectionId,settings:s,device:r,clonedFromId:e.cloned_from})}),a==="large"&&i(s=>{s.button_design_padding={unit:"px",top:16,bottom:16,left:16,right:16,is_constraints:!1},s.button_design_text.typography.font_size.desktop.value=18,s.button_design_text.typography.font_size.desktop.unit="px",s.button_design_text.typography.font_size.tablet=null,s.button_design_text.typography.font_size.mobile=null,s.button_design_text.typography.line_height.desktop.value=18,s.button_design_text.typography.line_height.desktop.unit="px",s.button_design_text.typography.line_height.tablet=null,s.button_design_text.typography.line_height.mobile=null,s.button_design_icon.size.desktop.value=16,s.button_design_icon.size.desktop.unit="px",s.button_design_icon.size.tablet=null,s.button_design_icon.size.mobile=null,y1({sectionId:e.sectionId,settings:s,device:r,clonedFromId:e.cloned_from})}),e.onChange(a)};return n.jsx(un,{...e,onChange:o})}const fD=window.React.useContext;function pD(e){const{builder:t}=fD(Pe),{current:r}=Ce(),i=re(t)(a=>a.changeElementSettings),o=a=>{i(a==="outline"?s=>{const l=s.button_design.background_color;s.button_design.border.color=l,s.button_design_text.color=l,s.button_design_icon.color=l,s.button_design.border.width.desktop.value==0&&(s.button_design.border.width.desktop.value=1),s.button_design.border.width.desktop.unit="px",s.button_design.border.width.tablet=null,s.button_design.border.width.mobile=null,s.button_design.background_color={normal:{desktop:"#ffffff00",tablet:null,mobile:null},hover:{desktop:"#ffffff00",tablet:null,mobile:null}},y1({sectionId:e.sectionId,settings:s,device:r,clonedFromId:e.cloned_from})}:s=>{const l={desktop:"#fff",tablet:null,mobile:null};s.button_design_text.color={normal:l,hover:l},s.button_design_icon.color={normal:l,hover:l},s.button_design.background_color=s.button_design.border.color,y1({sectionId:e.sectionId,settings:s,device:r,clonedFromId:e.cloned_from})}),e.onChange(a)};return n.jsx(un,{...e,onChange:o})}const U5=window.React.useMemo,gD=[{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"24",height:"36",transform:"matrix(-1 0 0 1 110 15)",fill:"#A1ABB7"}),n.jsx("rect",{width:"72",height:"36",transform:"matrix(-1 0 0 1 83 15)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75917)"})]}),value:"layout_1"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"15",width:"24",height:"36",fill:"#A1ABB7"}),n.jsx("rect",{x:"38",y:"15",width:"72",height:"36",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75957)"})]}),value:"layout_2"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"15",width:"48",height:"36",fill:"#A1ABB7"}),n.jsx("rect",{x:"62",y:"15",width:"48",height:"36",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_15432)"})]}),value:"layout_3"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"24",height:"36",transform:"matrix(-1 0 0 1 110 15)",fill:"#A1ABB7"}),n.jsx("rect",{width:"72",height:"36",transform:"matrix(-1 0 0 1 83 15)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75917)"})]}),value:"layout_full"}],xD=[{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"31",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"45",y:"11",width:"31",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"79",y:"11",width:"31",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137253)"})]}),value:"layout_1"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"63",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"77",y:"11",width:"15",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"95",y:"11",width:"15",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137262)"})]}),value:"layout_2"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"63",height:"44",transform:"matrix(-1 0 0 1 110 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 44 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 26 11)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137269)"})]}),value:"layout_3"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 110 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"63",height:"44",transform:"matrix(-1 0 0 1 92 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 26 11)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137276)"})]}),value:"layout_4"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"24",height:"36",transform:"matrix(-1 0 0 1 110 15)",fill:"#A1ABB7"}),n.jsx("rect",{width:"72",height:"36",transform:"matrix(-1 0 0 1 83 15)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75917)"})]}),value:"layout_full"}],mD=[{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"22.5",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"36.5",y:"11",width:"22.5",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"62",y:"11",width:"22.5",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"87.5",y:"11",width:"22.5",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137283)"})]}),value:"layout_1"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"45",height:"44",transform:"matrix(-1 0 0 1 110 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 62 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 44 11)",fill:"#A1ABB7"}),n.jsx("rect",{width:"15",height:"44",transform:"matrix(-1 0 0 1 26 11)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137304)"})]}),value:"layout_2"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"45",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"59",y:"11",width:"15",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"77",y:"11",width:"15",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"95",y:"11",width:"15",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137295)"})]}),value:"layout_3"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"24",height:"36",transform:"matrix(-1 0 0 1 110 15)",fill:"#A1ABB7"}),n.jsx("rect",{width:"72",height:"36",transform:"matrix(-1 0 0 1 83 15)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75917)"})]}),value:"layout_full"}],wD=[{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"17.4",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"31.4004",y:"11",width:"17.4",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"51.7998",y:"11",width:"17.4",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"72.2002",y:"11",width:"17.4",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"92.5996",y:"11",width:"17.4",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137313)"})]}),value:"layout_1"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"28",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"45",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"62",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M94.5 11H79V55H94.5H110V11H94.5Z",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4555_151083)"})]}),value:"layout_2"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"28",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.5 11H45V55H60.5H76V11H60.5Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"79",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"96",y:"11",width:"14",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4555_151113)"})]}),value:"layout_3"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.5 11H11V55H26.5H42V11H26.5Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"45",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"62",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"79",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"96",y:"11",width:"14",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4555_151132)"})]}),value:"layout_4"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"24",height:"36",transform:"matrix(-1 0 0 1 110 15)",fill:"#A1ABB7"}),n.jsx("rect",{width:"72",height:"36",transform:"matrix(-1 0 0 1 83 15)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75917)"})]}),value:"layout_full"}],vD=[{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 6C1 3.23858 3.23858 1 6 1H115C117.761 1 120 3.23858 120 6V65H1V6Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{x:"11",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"28",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"45",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"62",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"79",y:"11",width:"14",height:"44",fill:"#A1ABB7"}),n.jsx("rect",{x:"96",y:"11",width:"14",height:"44",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H115C118.314 0 121 2.68629 121 6H119C119 3.79086 117.209 2 115 2H6C3.79086 2 2 3.79086 2 6H0ZM120 65H1H120ZM0 65V6C0 2.68629 2.68629 0 6 0V2C3.79086 2 2 3.79086 2 6V65H0ZM115 0C118.314 0 121 2.68629 121 6V65H119V6C119 3.79086 117.209 2 115 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_3120_137327)"})]}),value:"layout_1"},{label:n.jsxs("svg",{width:"121",height:"65",viewBox:"0 0 121 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1 4C1 2.34315 2.34315 1 4 1H117C118.657 1 120 2.34315 120 4V65H1V4Z",fill:"white"}),n.jsxs("g",{opacity:"0.35",children:[n.jsx("rect",{width:"24",height:"36",transform:"matrix(-1 0 0 1 110 15)",fill:"#A1ABB7"}),n.jsx("rect",{width:"72",height:"36",transform:"matrix(-1 0 0 1 83 15)",fill:"#A1ABB7"})]}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H117C119.209 0 121 1.79086 121 4H119C119 2.89543 118.105 2 117 2H4C2.89543 2 2 2.89543 2 4H0ZM120 65H1H120ZM0 65V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V65H0ZM117 0C119.209 0 121 1.79086 121 4V65H119V4C119 2.89543 118.105 2 117 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_4343_75917)"})]}),value:"layout_full"}];function CD(e){var o;const{current:t}=Ce(),r=U5(()=>{var a,s;return((a=e.settings)==null?void 0:a.number_column[t])??((s=e.settings)==null?void 0:s.number_column.desktop)},[(o=e.settings)==null?void 0:o.number_column[t],t]),i=U5(()=>r===3?xD:r===4?mD:r===5?wD:r===6?vD:gD,[r]);return r===1?!1:n.jsx($1,{...e,options:i,className:"column-layout-group [&>div:first-child]:mb-2 [&_.brandy-icon-group]:grid [&_.brandy-icon-group]:grid-cols-2",itemCss:[ce(["&.selected{border:1px solid #000;}"])]})}function yD(e){const{current:t}=Ce(),r=Ge(t),i=o=>{Fe.setState(a=>{const s=a.chosenRow;if(s==null)return;const l=a.previewTemplate.placements[r][s],c=l.length;if(cp>o-1?[...h,...x]:h,[]).length<1){a.previewTemplate.placements[r][s]=l.slice(0,o);return}const u=l.reduce((h,x)=>[...h,...x],[]),f=[];for(let h=0;he.value,[e.value]),i=re(t)(a=>a.changeElementSettings),o=a=>{a==="type_1"&&i(s=>{s.input_box.border_radius.desktop.value=0,s.input_box.border_radius.desktop.unit="px",s.input_box.border_radius.tablet=null,s.input_box.border_radius.mobile=null,s.button.border_radius.desktop.value=0,s.button.border_radius.desktop.unit="px",s.button.border_radius.tablet=null,s.button.border_radius.mobile=null}),["type_2","type_3"].includes(a)&&i(s=>{s.input_box.border_radius.desktop.value=12,s.input_box.border_radius.desktop.unit="px",s.input_box.border_radius.tablet=null,s.input_box.border_radius.mobile=null,s.button.border_radius.desktop.value=12,s.button.border_radius.desktop.unit="px",s.button.border_radius.tablet=null,s.button.border_radius.mobile=null}),e.onChange(a)};return n.jsx($1,{...e,onChange:a=>o(a),value:r,options:DD,className:"theme-layout-type-group [&_.brandy-radio-group]:grid [&_.brandy-radio-group]:grid-cols-2",itemCss:[ce(["&.selected{border:1px solid #000;}"])]})}const HD=window.React.useMemo;function kD(e){const{current:t}=Ce(),r=Ae(o=>o.previewTemplate.placements[Ge(t)].toggle),i=HD(()=>[{value:"none",label:"None"},...r.filter((o,a)=>a===0?!1:window.brandyCustomizerData.elements[o]).map((o,a)=>({value:(a+2).toString(),label:window.brandyCustomizerData.elements[o].title,title:window.brandyCustomizerData.elements[o].title}))],[r]);return n.jsx(C2,{...e,options:i})}const MD=window.React.useState;function LD(e){const[t,r]=MD(window.wp.customize("blogname")),i=o=>{r(o),window.wp.customize("blogname")(o)};return n.jsx(v2,{...e,value:t,onChange:i})}const $D=window.React.useState;function AD(e){const[t,r]=$D(window.wp.customize("blogdescription")),i=o=>{r(o),window.wp.customize("blogdescription")(o)};return n.jsx(v2,{...e,value:t,onChange:i})}const el=window.React.useMemo;function VD(e){const{current:t}=Ce(),r=el(()=>Ge(t),[t]),i=el(()=>[...e.value_path,r],[r,e.value_path]),o=s=>{const l=ie(`#brandy-header > div[device="${r}"] [data-section-id="${e.sectionId}"] .header-container`);l!=null&&window.jQuery(l).attr("item-layout",s?"stretch":"normal"),e.onChange(s,i)},a=el(()=>e.value[r]==null?e.value.desktop:e.value[r],[e.value,r]);return n.jsx(w2,{...e,value:a,onChange:o})}const tl=window.React.useMemo;function ID(e){const{current:t}=Ce(),r=tl(()=>Ge(t),[t]),i=tl(()=>[...e.value_path,r],[r,e.value_path]),o=s=>{const l=ie(`#brandy-footer > div[device="${r}"] [data-section-id="${e.sectionId}"] .footer-container`);l!=null&&window.jQuery(l).attr("item-layout",s?"stretch":"normal"),e.onChange(s,i)},a=tl(()=>e.value[r]==null?e.value.desktop:e.value[r],[e.value,r]);return n.jsx(w2,{...e,value:a,onChange:o})}const At=window.React.useMemo,TD=window.React.useState,r1={unit:"px",value:12};function BD(e){const{current:t}=Ce(),[r,i]=TD("column_1"),o=At(()=>["column_items_direction"],[]),a=At(()=>["column_horizontal_alignment"],[]),s=At(()=>["column_vertical_alignment"],[]),l=At(()=>["column_flex_wrap"],[]),c=At(()=>["column_item_vertical_spacing"],[]),d=At(()=>["column_item_horizontal_spacing"],[]),u=At(()=>["column_item_grow"],[]),f=At(()=>{const M=Ie(e.settings,o);return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,o,t,r]),h=At(()=>{const M=Ie(e.settings,a);return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,a,t,r]),x=At(()=>{const M=Ie(e.settings,s);return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,s,t,r]),p=At(()=>{const M=Ie(e.settings,l);return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,l,t,r]),m=At(()=>{const M=Ie(e.settings,c)??{desktop:{column_1:r1,column_2:r1,column_3:r1,column_4:r1,column_5:r1,column_6:r1}};return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,c,t,r]),w=At(()=>{const M=Ie(e.settings,d)??{desktop:{column_1:r1,column_2:r1,column_3:r1,column_4:r1,column_5:r1,column_6:r1}};return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,d,t,r]),E=At(()=>{const M=Ie(e.settings,u)??{desktop:{column_1:"none",column_2:"none",column_3:"none",column_4:"none",column_5:"none",column_6:"none"}};return M[t]==null||M[t][r]==null?M.desktop[r]:M[t][r]},[e.settings,u,t,r]),_=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).attr(`data-items-direction-${t}`,M),e.onChange(M,[...o,t,r])},k=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).css(`--brandy-footer-column-${j}-horizontal-alignment-${t}`,M),e.onChange(M,[...a,t,r])},H=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).css(`--brandy-footer-column-${j}-vertical-alignment-${t}`,M),e.onChange(M,[...s,t,r])},$=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).css(`--brandy-footer-column-${j}-flex-wrap-${t}`,M?"wrap":"nowrap"),e.onChange(M,[...l,t,r])},C=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).css(`--brandy-footer-column-${j}-item-horizontal-spacing-${t}`,ft(M)),e.onChange(M,[...d,t,r])},b=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).css(`--brandy-footer-column-${j}-item-vertical-spacing-${t}`,ft(M)),e.onChange(M,[...c,t,r])},T=M=>{const j=parseInt(r.replace("column_","")),V=ie(`#brandy-footer [data-section-id="${e.sectionId}"] .footer-col:nth-child(${j})`);V!=null&&window.jQuery(V).css(`--brandy-footer-column-${j}-item-grow-${t}`,M),e.onChange(M,[...u,t,r])};return n.jsxs("div",{children:[n.jsxs(ND,{children:[n.jsxs(zD,{children:[D("Column content layout"),n.jsx(zn,{})]}),n.jsx(mt,{options:RD,selected:r,onChange:i})]}),n.jsxs(ZD,{children:[n.jsx(WD,{children:D("Items direction")}),n.jsx(mt,{options:FD,selected:f,onChange:_})]}),n.jsxs(GD,{children:[n.jsx(UD,{children:D("Horizontal alignment")}),n.jsx(mt,{options:OD,selected:h,onChange:k,className:"grid grid-cols-4",itemCss:ce(["height:100%;&.selected{"," "," > *{","}svg *[fill]{","}svg *[stroke]{","}& + *{","}}&.selected + *{","}"],{borderColor:"rgba(209, 234, 255, 0.70)",backgroundColor:"rgba(209, 234, 255, 0.70) !important","--tw-text-opacity":"1 !important",color:"rgb(34 113 177 / var(--tw-text-opacity)) !important"},{borderRightWidth:"1px"},{fill:"#2271B1 !important"},{fill:"#2271B1 !important"},{stroke:"#2271B1 !important"},{borderLeftColor:"transparent"},{borderLeftColor:"rgba(209, 234, 255, 0.70)"})})]}),n.jsxs(YD,{children:[n.jsx(XD,{children:D("Vertical alignment")}),n.jsx(mt,{options:PD,selected:x,onChange:H,className:"grid grid-cols-4",itemCss:ce(["height:100%;&.selected{"," "," > *{","}svg *[fill]{","}svg *[stroke]{","}& + *{","}}&.selected + *{","}"],{borderColor:"rgba(209, 234, 255, 0.70)",backgroundColor:"rgba(209, 234, 255, 0.70) !important","--tw-text-opacity":"1 !important",color:"rgb(34 113 177 / var(--tw-text-opacity)) !important"},{borderRightWidth:"1px"},{fill:"#2271B1 !important"},{fill:"#2271B1 !important"},{stroke:"#2271B1 !important"},{borderLeftColor:"transparent"},{borderLeftColor:"rgba(209, 234, 255, 0.70)"})})]}),n.jsx(JD,{children:n.jsx(Ye,{title:D("Item horizontal spacing"),value:w,min:0,max:300,onChange:C})}),n.jsx(KD,{children:n.jsx(Ye,{title:D("Item vertical spacing"),value:m,min:0,max:300,onChange:b})}),n.jsxs(qD,{children:[n.jsx(QD,{children:D("Item Grow")}),n.jsx(mt,{options:[{label:"None",value:"none"},{label:"Grow",value:"1"}],selected:E,onChange:T})]}),n.jsxs(eE,{children:[n.jsx("div",{children:D("Flex wrap")}),n.jsx(Vn,{checked:p,onChange:$})]})]})}const RD=Array.from({length:6}).map((e,t)=>({label:t+1,value:`column_${t+1}`})),FD=[{label:"Horizontal",value:"horizontal"},{label:"Vertical",value:"vertical"}],OD=[{label:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M4 19.7992H12.9V18.2992H4V19.7992ZM12.9 4.19922H4V5.69922H12.9V4.19922ZM4 11.1992V12.6992H20V11.1992H4Z",fill:"#A1ABB7"})}),value:"flex-start"},{label:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M16.4 4.19922H7.6V5.69922H16.5V4.19922H16.4ZM4 11.1992V12.6992H20V11.1992H4ZM7.6 19.7992H16.5V18.2992H7.6V19.7992Z",fill:"#A1ABB7"})}),value:"center"},{label:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M20 3.99961L11.1 3.99961V5.49961L20 5.49961L20 3.99961ZM11.1 19.5996H20V18.0996H11.1V19.5996ZM20 12.5996V11.0996L4 11.0996L4 12.5996L20 12.5996Z",fill:"#A1ABB7"})}),value:"flex-end"},{label:n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0 9.5H18V8H0V9.5ZM0 16.5H18V15H0V16.5ZM0 1V2.5H18V1H0Z",fill:"#A1ABB7"})}),value:"space-between"}],PD=[{label:n.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"5.83325",y:"15.5",width:"10",height:"5",transform:"rotate(-90 5.83325 15.5)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3333 1.5L0.333252 1.5L0.333252 0L16.3333 1.39876e-06L16.3333 1.5Z",fill:window.brandyCustomizerData.colors.icon.normal})]}),value:"flex-start"},{label:n.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M16.5 5H9.3V0H7.7V5H0.5V11H7.7V16H9.3V11H16.5V5Z",fill:window.brandyCustomizerData.colors.icon.normal})}),value:"center"},{label:n.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"10",height:"5",transform:"matrix(-4.37114e-08 1 1 4.37114e-08 5.6665 2.18557e-08)",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6665 14.5L0.666504 14.5L0.666504 16L16.6665 16L16.6665 14.5Z",fill:window.brandyCustomizerData.colors.icon.normal})]}),value:"flex-end"},{label:n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M0 9.5H18V8H0V9.5ZM0 16.5H18V15H0V16.5ZM0 1V2.5H18V1H0Z",fill:"#A1ABB7"})}),value:"space-between"}];var ND=g("div")({marginBottom:"1rem"}),zD=g("div")({marginBottom:"0.5rem",fontWeight:"700"}),ZD=g("div")({marginBottom:"1rem"}),WD=g("div")({marginBottom:"0.5rem"}),GD=g("div")({marginBottom:"1rem"}),UD=g("div")({marginBottom:"0.5rem"}),YD=g("div")({marginBottom:"1rem"}),XD=g("div")({marginBottom:"0.5rem"}),JD=g("div")({marginBottom:"1rem"}),KD=g("div")({marginBottom:"1rem"}),qD=g("div")({marginBottom:"1rem"}),QD=g("div")({marginBottom:"0.5rem"}),eE=g("div").withConfig({displayName:"ColumnContentLayout___StyledDiv13",componentId:"sc-1864esf-0"})({marginBottom:"1rem",display:"flex",alignItems:"center",justifyContent:"space-between"});const md=window.React.useContext,tE=window.React.useMemo,nE=window.React.useState,rE=e=>{const{builder:t}=md(Pe),r=re(t)(f=>{var h;return(h=f.chosenElement)==null?void 0:h.settings}),i=re(t)(f=>f.changeElementSettings),o=re(t)(f=>{var h;return(h=f.chosenElement)==null?void 0:h.id}),[a,s]=nE(!1),l=()=>{i(f=>{f.items=r.items.filter((h,x)=>x!==e.position)}),Ee().refreshPartial(`${t}_${o}`)},c=()=>{s(f=>!f)},d=f=>{r.items.forEach((h,x)=>{if(e.position===x){const p=ie(b1(o??"",t)+` .brandy-list-link-item:nth-child(${x+1})`);p&&window.jQuery(p).html(f),i(m=>{m.items[x].label=f.toString()})}})},u=f=>{r.items.forEach((h,x)=>{if(x===e.position){const p=ie(b1(o??"",t)+` .brandy-list-link-item:nth-child(${x+1})`);p&&window.jQuery(p).attr("href",Ra(f)),i(m=>{m.items[x].url=f.toString()})}})};return n.jsxs(oE,{$_css2:[{overflow:"hidden",borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}],children:[n.jsxs(aE,{className:"group",$_css3:[{display:"flex",height:"44px",userSelect:"none",alignItems:"center",justifyContent:"space-between",padding:"0.75rem"},a&&{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))"},a&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(30 30 30 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:[n.jsxs(sE,{children:[n.jsx(lE,{className:"brandy-link-drag-handle",children:n.jsxs("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Se([!a&&"group-hover:[&_*]:fill-brandy-text",a&&`[&_*]:fill-[${window.brandyCustomizerData.colors.icon.normal}]`]),children:[n.jsxs("g",{clipPath:"url(#clip0_2536_66911)",children:[n.jsx("circle",{cx:"1",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"1",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"6",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"1",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("circle",{cx:"6",cy:"11",r:"1",fill:window.brandyCustomizerData.colors.icon.normal})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2536_66911",children:n.jsx("rect",{width:"7",height:"12",fill:"white"})})})]})}),n.jsx("span",{className:Se(["group-hover:text-brandy-text",a&&"group-hover:text-gutenberg-white"]),children:e.item.label})]}),n.jsxs(cE,{$_css4:[{visibility:"hidden",display:"flex",alignItems:"center",gap:"0.25rem",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{".group:hover &":{visibility:"visible !important",opacity:"1 !important"}},a&&{visibility:"visible !important",opacity:"1 !important"}],children:[n.jsx(dE,{onClick:l,$_css5:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}"],{stroke:"#FF5F5D"},{fill:"#FF5F5D"})],children:n.jsxs("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M1.67773 1.57422H11.3206L9.97478 10.3049C9.82442 11.2803 8.98504 12.0002 7.99812 12.0002H5.0002C4.01328 12.0002 3.17391 11.2803 3.02355 10.3049L1.67773 1.57422Z",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("rect",{x:"0.875",y:"1.57422",width:"11.25",height:"1.37702",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M8.10686 1.57369C8.10686 1.57369 7.38732 1.57369 6.49972 1.57369C5.61212 1.57369 4.89258 1.57369 4.89258 1.57369C4.89258 0.704538 5.61212 -4.8097e-05 6.49972 -4.8097e-05C7.38732 -4.8097e-05 8.10686 0.704538 8.10686 1.57369Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}),n.jsx(uE,{onClick:c,$_css6:[{cursor:"pointer",padding:"0.25rem"},ce(["&:hover svg{*[stroke]{","}*[fill]{","}}",""],{stroke:"#1E1E1E"},{fill:"#1E1E1E"},a&&{"*":{fill:"#fff !important"}})],children:n.jsx("svg",{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28003 0.627C4.30892 0.451874 4.39853 0.292754 4.53292 0.177945C4.66731 0.0631354 4.83776 8.18362e-05 5.01395 1.09305e-07H5.98605C6.16237 -9.57618e-05 6.333 0.0628773 6.46754 0.177702C6.60208 0.292527 6.6918 0.451747 6.72072 0.627L6.90233 1.7265C7.48813 1.9215 8.02108 2.23575 8.4714 2.64L9.50826 2.2485C9.67323 2.18642 9.8547 2.18529 10.0204 2.2453C10.1861 2.3053 10.3254 2.42257 10.4134 2.57625L10.8994 3.42375C10.9878 3.57753 11.019 3.75792 10.9877 3.93277C10.9563 4.10763 10.8644 4.26558 10.7282 4.3785L9.87374 5.0865C9.99709 5.68891 9.99709 6.31034 9.87374 6.91275L10.729 7.62225C10.8649 7.73513 10.9568 7.89295 10.9881 8.06763C11.0195 8.24232 10.9883 8.42254 10.9002 8.57625L10.4141 9.42375C10.3261 9.57743 10.1869 9.6947 10.0212 9.75471C9.85544 9.81471 9.67397 9.81358 9.50901 9.7515L8.4714 9.36C8.02108 9.765 7.48887 10.0785 6.90233 10.2735L6.72072 11.373C6.6918 11.5483 6.60208 11.7075 6.46754 11.8223C6.333 11.9371 6.16237 12.0001 5.98605 12H5.01395C4.83776 11.9999 4.66731 11.9369 4.53292 11.8221C4.39853 11.7072 4.30892 11.5481 4.28003 11.373L4.09841 10.2735C3.51888 10.0803 2.98485 9.76943 2.52934 9.36L1.49173 9.7515C1.32676 9.81384 1.14519 9.8152 0.979313 9.75532C0.813441 9.69544 0.674028 9.57822 0.585874 9.4245L0.0998205 8.57625C0.0116929 8.42254 -0.0194682 8.24232 0.0118792 8.06763C0.0432266 7.89295 0.13505 7.73513 0.271018 7.62225L1.12626 6.91275C1.00293 6.31034 1.00293 5.68891 1.12626 5.0865L0.271763 4.3785C0.135794 4.26562 0.0439709 4.1078 0.0126235 3.93312C-0.0187239 3.75843 0.0124372 3.57821 0.100565 3.4245L0.586618 2.57625C0.674655 2.4224 0.814019 2.30502 0.979901 2.245C1.14578 2.18498 1.32742 2.18622 1.49248 2.2485L2.52934 2.64C2.98484 2.23055 3.51888 1.91964 4.09841 1.7265L4.28003 0.627ZM7.73376 6C7.73376 6.29547 7.676 6.58806 7.56378 6.86104C7.45156 7.13402 7.28708 7.38206 7.07973 7.59099C6.87237 7.79992 6.6262 7.96566 6.35528 8.07873C6.08436 8.1918 5.79399 8.25 5.50074 8.25C5.2075 8.25 4.91713 8.1918 4.64621 8.07873C4.37528 7.96566 4.12912 7.79992 3.92176 7.59099C3.71441 7.38206 3.54992 7.13402 3.43771 6.86104C3.32549 6.58806 3.26773 6.29547 3.26773 6C3.26773 5.40326 3.50299 4.83097 3.92176 4.40901C4.34053 3.98705 4.90851 3.75 5.50074 3.75C6.09298 3.75 6.66095 3.98705 7.07973 4.40901C7.4985 4.83097 7.73376 5.40326 7.73376 6Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]})]}),a&&n.jsxs(hE,{children:[n.jsxs(fE,{children:[n.jsx("div",{children:"Label"}),n.jsx(Ue,{value:e.item.label,onChange:d})]}),n.jsxs(pE,{children:[n.jsx("div",{children:"Link"}),n.jsx(Ue,{value:e.item.url,onChange:u})]})]})]})};function iE(e){const{builder:t}=md(Pe),r=tE(()=>e.value??e.default_value,[e.value,e.default_value]),i=re(t)(s=>{var l;return(l=s.chosenElement)==null?void 0:l.id}),o=s=>{JSON.stringify(r)!==JSON.stringify(s)&&(e.onChange(s),Ee().refreshPartial(`${t}_${i}`))},a=()=>{const s=JSON.parse(JSON.stringify(r));s.push({label:"Custom link",url:"#"}),e.onChange(s),Ee().refreshPartial(`${t}_${i}`)};return n.jsxs(gE,{children:[n.jsxs(xE,{children:[n.jsx(Be,{className:"m-0",children:"List Link"}),n.jsx(mE,{className:"group",onClick:a,children:n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx(wE,{d:"M12 5.3H7.2V0.5H4.8V5.3H0V7.7H4.8V12.5H7.2V7.7H12V5.3Z",fill:window.brandyCustomizerData.colors.icon.normal})})})]}),n.jsx(hn.ReactSortable,{list:r,setList:o,className:"flex flex-col gap-4 w-full",animation:150,easing:"ease-in-out",handle:".brandy-link-drag-handle",children:r.map((s,l)=>n.jsx(rE,{item:s,position:l},l))})]})}var oE=g("div")`${e=>e.$_css2}`,aE=g("div")`${e=>e.$_css3}`,sE=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),lE=g("span")({cursor:"grab",padding:"0.5rem"}),cE=g("div")`${e=>e.$_css4}`,dE=g("span")`${e=>e.$_css5}`,uE=g("span")`${e=>e.$_css6}`,hE=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"1rem"}),fE=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),pE=g("div")({display:"flex",flexDirection:"column",gap:"0.5rem"}),gE=g("div")({display:"flex",flexDirection:"column",gap:"1rem"}),xE=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),mE=g("div")({cursor:"pointer",borderRadius:"5px",padding:"0.5rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s","&:hover":{backgroundColor:"#D1EAFFB2"}}),wE=g("path").withConfig({displayName:"ListLink___StyledPath",componentId:"sc-1tosjmf-0"})({transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s",".group:hover &":{fill:"#2271B1"}});function vE(e){return{ButtonGroup:un,IconGroup:$1,BoxShadow:Kg,ColorGroup:fx,Dimension:mx,Image:Hx,Switcher:w2,Typography:vm,EnabledDevices:bm,TextInput:v2,Spacing:Dm,Alignment:km,Position:$m,Dropdown:C2,Reset:Ua,MultipleChoice:Tm,Background:Bw,FlexibleContent:Zw,VerticalAlignment:Nw,HorizontalAlignment:Yw,PrefilledHTML:nv,HTML:iv,Widget:Uy,MultipleSelect:qy,ListLanguages:Jb,ListCurrencies:__,CanvasTitle:X_,MenuSelection:Nj,MenuActiveType:Bj,ListSocials:oS,ListPayments:VS,AccountLoggedInTitle:tj,AccountLoggedOutTitle:nj,AccountIconSelection:q_,AccountClickAction:dD,ButtonIconSelection:oj,ButtonType:pD,ButtonSize:hD,SearchIconSelection:Wj,LiveResultsType:Uj,SearchSuggestions:Jj,CartIconSelection:cj,ListContacts:pj,WishlistIconSelection:sD,NewsletterLayoutType:ED,FooterColumnLayout:CD,FooterNumberColumn:yD,FooterStretchItem:ID,ColumnContentLayout:BD,HeaderStretchItem:VD,ToggleOffCanvasType:_D,ToggleOffCanvasAlignBottomFrom:kD,SiteTitle:LD,SiteTagline:AD,ListLink:iE}[e]}const CE=window.React.useCallback,kn=window.React.useMemo,wd=({conditions:e,settings:t,device:r="desktop",inToggle:i=!1})=>{if(e==null)return!0;let o=[];const a=e.relation==="OR"?"some":"every";return e.relation!=null?o=Object.values(e).filter(s=>typeof s!="string"):o=e,o[a](s=>{let l=!0;if(s.devices!=null)l=(s.devices??[]).includes(r);else if(s.in_toggle!=null)l=s.in_toggle?i:!i;else{let c=Ie(t,s.value_path);if(c==null)return!1;c=Ai(c)?_e(c,r):c,s.operator==="CONTAIN"?l=c.filter(d=>s.value.includes(d)).length>0:s.operator==="NOT_CONTAIN"?l=c.filter(d=>s.value.includes(d)).length===0:l=c===s.value}return s.operator==="NOT"?!l:l})};function oo({section:e,sectionId:t,settings:r,onChange:i,builder:o="header",clonedFromId:a}){var d,u;const{current:s}=Ce(),l=re(o)(f=>{var h;return t.includes("menu")&&((h=f.previewTemplate.placements[Ge(s)].toggle)==null?void 0:h.includes(t))});return!kn(()=>wd({conditions:e.visible_conditions,settings:r,device:s,inToggle:l}),[e.visible_conditions,r,s])||(u=(d=e.components[0])==null?void 0:d.value_path)!=null&&u.includes("expand_on_mobile")&&t!=="top_header"?!1:n.jsx(Ji,{children:e.components.map((f,h)=>n.jsx(yE,{data:f,sectionId:t,settings:r,onChange:i,builder:o,clonedFromId:a},h))})}function yE(e){var d;const t=kn(()=>e.data,[e.data]),{current:r}=Ce(),i=kn(()=>e.builder??"header",[e.builder]),o=kn(()=>vE(t.type)??!1,[t.type]),a=kn(()=>Ie(e.settings,t.value_path),[e.settings,t.value_path]),s=kn(()=>t.default_value,[t.default_value]),l=kn(()=>wd({conditions:t.visible_conditions,settings:e.settings,device:r}),[t.visible_conditions,e.settings,r]),c=CE((u,f=null)=>{e.onChange(h=>{var w,E,_,k;const x=f??t.value_path,p=Ie(h,x);if(Ai(p)&&!Ai(u)?xt(h,x,{...p,[r]:u}):xt(h,x,u),((w=t.render_options)==null?void 0:w.type)==="force_refresh")if(["top_header","bottom_header","middle_header","top_footer","bottom_footer","middle_footer"].includes(e.sectionId))["desktop","tablet","mobile"].forEach(H=>{Ee().refreshPartial(`${e.sectionId}_${H}`)});else{let H="";["header","toggle_off_canvas","footer"].includes(e.sectionId)?H=e.sectionId:H=`${i}_${e.sectionId}`,Ee().refreshPartial(H)}let m=null;((E=t.render_options)==null?void 0:E.type)==="content"&&(m=bu),((_=t.render_options)==null?void 0:_.type)==="data_attribute"&&(m=A3),((k=t.render_options)==null?void 0:k.type)==="variable"&&(m=y1),m!=null&&m({builder:i,sectionId:e.sectionId,settings:gl(x,Ie(h,x)),device:r,clonedFromId:e.clonedFromId})})},[e.onChange,t.value_path,r,(d=t.render_options)==null?void 0:d.type,e.sectionId,i]);return o===!1||!l?!1:n.jsx(o,{...t,value:a??s,onChange:c,sectionId:e.sectionId,builder:i,settings:e.settings})}const st=e=>e.title?n.jsxs(bE,{className:e.className??(e.title.show_devices?"mb-0":"mb-[8px]"),children:[n.jsx("div",{className:Se([e.title.type==="bold"&&"font-bold"]),children:e.title.text}),e.title.show_devices&&n.jsx(zn,{})]}):!1;var bE=g("div").withConfig({displayName:"LayoutFactory___StyledDiv",componentId:"sc-1m8i77u-0"})({display:"flex",alignItems:"center","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"});const _E={isDragging:!1},Zi=Gi()(e=>({..._E,startDragging:()=>{e(()=>({isDragging:!0}))},stopDragging:()=>{e(()=>({isDragging:!1}))}}));function F2(){return n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",children:[n.jsx("path",{d:"M2.27332 4.27275C2.16659 3.58035 2.70226 2.95578 3.40284 2.95578H11.5962C12.2967 2.95578 12.8324 3.58035 12.7257 4.27275L11.1994 14.174C11.1135 14.7314 10.6338 15.1428 10.0699 15.1428H4.92911C4.36515 15.1428 3.88551 14.7314 3.79959 14.174L2.27332 4.27275Z",fill:window.brandyCustomizerData.colors.icon.normal,stroke:window.brandyCustomizerData.colors.icon.normal,strokeWidth:"1.71429"}),n.jsx("rect",{x:"-0.00012207",y:"2.09869",width:"15",height:"1.83603",fill:window.brandyCustomizerData.colors.icon.normal}),n.jsx("path",{d:"M9.64204 2.09825C9.64204 2.09825 8.68265 2.09825 7.49918 2.09825C6.31571 2.09825 5.35632 2.09825 5.35632 2.09825C5.35632 0.939383 6.31571 -6.41293e-05 7.49918 -6.41293e-05C8.68265 -6.41293e-05 9.64204 0.939383 9.64204 2.09825Z",fill:window.brandyCustomizerData.colors.icon.normal})]})}const jE=window.React.useEffect,Y5=window.React.useRef,SE=window.React.useState;function vd({items:e,builder:t,disabledItems:r=[]}){const i=re(t)(c=>c.removeElementItem),{startDragging:o,stopDragging:a}=Zi(c=>({startDragging:c.startDragging,stopDragging:c.stopDragging})),s=()=>!1,l=c=>d=>{d.stopPropagation(),i(c)};return n.jsx(hn.ReactSortable,{list:e,setList:s,group:{name:`${t}-elements-builder`,pull:"clone"},sort:!1,className:"flex flex-col justify-center gap-3",tag:"div",filter:".brandy-undraggable-item",preventOnFilter:!0,forceFallback:!0,fallbackOnBody:!0,fallbackClass:"brandy-sortable-fallback",dragClass:"brandy-sortable-drag",chosenClass:"brandy-sortable-chosen",removeCloneOnHide:!0,onStart:()=>{o()},onEnd:()=>{a()},children:e.map(({id:c,title:d,cloned_from:u})=>n.jsxs(EE,{className:`element-item ${r.includes(c)?"brandy-undraggable-item":""}`,$_css2:[{height:"44px"},{display:"flex",alignItems:"center",gap:"12px","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.75rem",paddingBottom:"0.75rem","&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"}},{borderRadius:"5px"},{cursor:"grab",backgroundColor:"rgba(255, 255, 255, 0.80)","--tw-text-opacity":"1",color:"rgb(96 96 96 / var(--tw-text-opacity))"},{"--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},{transitionProperty:"box-shadow",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},{"&:hover":{"--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}},ce(["&.brandy-undraggable-item{cursor:initial;"," display:none;}&:hover{&:.brandy-undraggable-item .drag-icon{svg{*[fill]{","}*[stroke]{","}}}.duplicate-icon,.remove-icon{visibility:visible;opacity:1;transition:all ease-in-out 0.2s;svg *[fill],svg *[stroke]{transition:all ease-in-out 0.2s;}&:hover{svg{*[fill]{","}*[stroke]{","}}}}.remove-icon{&:hover{svg{*[fill]{","}*[stroke]{","}}}}}"],{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 221 227 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{fill:"#1E1E1E"},{stroke:"#1E1E1E"},{fill:"#1E1E1E"},{stroke:"#1E1E1E"},{fill:"#FF5F5D"},{stroke:"#FF5F5D"})],children:[n.jsx("span",{className:"drag-icon",children:n.jsx(bp,{})}),n.jsx(DE,{name:d,id:c,builder:t,disabled:r.includes(c),isClone:u!=null}),u&&n.jsx(HE,{children:"clone"}),!r.includes(c)&&u!=null&&n.jsx(kE,{className:"remove-icon",onClick:l(c),children:n.jsx(F2,{})})]},c))})}function DE({id:e,name:t,builder:r,disabled:i=!1,isClone:o}){if(!o)return n.jsx("span",{children:t});const[a,s]=SE(!1),l=u=>{let f=Ae;r==="footer"&&(f=Fe),f.getState().changeElementItemTitle(e,u)},c=Y5(null),d=Y5(null);return jE(()=>{function u(f){if(!a&&d.current!=null&&d.current.contains(f.target)&&!i){s(!0);return}c.current!=null&&a&&(c.current.contains(f.target)||s(!1))}return window.addEventListener("click",u),()=>{window.removeEventListener("click",u)}},[c.current,a,d]),a?n.jsx(ME,{value:t,type:"text",onChange:l,ref:c}):n.jsx("span",{ref:d,children:t||""})}var EE=g("span")`${e=>e.$_css2}`,HE=g("span")({borderRadius:"5px","--tw-bg-opacity":"1",backgroundColor:"rgb(161 171 183 / var(--tw-bg-opacity))",paddingLeft:"5px",paddingRight:"5px",paddingTop:"2px",paddingBottom:"2px","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}),kE=g("span")({visibility:"hidden",cursor:"pointer",opacity:"0"}),ME=g(Ue).withConfig({displayName:"ElementDraggable___StyledInput",componentId:"sc-19ouxax-0"})({borderRadius:"0px !important",borderLeftWidth:"0px !important",borderRightWidth:"0px !important",borderTopWidth:"0px !important",padding:"0px !important"});const LE=window.React.useMemo;function O2(e,t="header"){const r=re(t)(o=>o.previewTemplate.elements),i=LE(()=>y3(e),[e]);return{allElements:Object.values(r),usingElementIds:i,unusedElements:Object.values(r).filter(o=>(o.builders??["header"]).includes(t)&&!i.includes(o.id))}}const $E=window.React.useMemo,AE=window.React.useState,VE=()=>n.jsx("div",{className:"text-brandy-text-secondary",children:"No element found"});function IE(){const{current:e}=Ce(),t=re("header")(c=>c.previewTemplate.placements[Ge(e)]),[r,i]=AE(""),o=c=>{typeof c!="number"&&i(c)},{allElements:a,usingElementIds:s}=O2(t,"header"),l=$E(()=>a.filter(c=>r===""||c.title.toLowerCase().includes(r.toLowerCase())),[r,a]);return n.jsxs("div",{className:"",children:[n.jsx("div",{className:"p-[16px] bg-gutenberg-white border-solid border-[#DDD] border-t border-b",children:n.jsx(fn,{searchText:r,onSearch:o,placeholder:D("Search element")})}),n.jsx(V3,{children:n.jsx(Ji,{children:l.length<=0?n.jsx(VE,{}):n.jsx(vd,{items:l,disabledItems:s,builder:"header"})})})]})}const TE=window.React.useMemo;function BE(){const e=Ae(i=>i.previewTemplate.settings),t=TE(()=>window.brandyCustomizerData.settings_layouts.header,[]),r=Ae(i=>i.changeTemplateSettings);return t==null?!1:n.jsx(n.Fragment,{children:t.general.sections.map((i,o)=>n.jsx(oo,{section:i,sectionKey:`header-${o}`,sectionId:"header",settings:e,onChange:r,builder:"header"},`header-${o}`))})}const RE=[{label:D("Elements"),key:"elements"},{label:D("Settings"),key:"settings"}];function FE(){const{contextHolder:e,currentTab:t}=Nr({items:RE}),r=Ae(o=>{var a,s;return((s=(a=o.previewTemplate)==null?void 0:a.settings)==null?void 0:s.name)??""}),i=()=>{Mt()};return n.jsxs(Qa,{children:[n.jsx(A1,{onGoBack:i,builder:"header",title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("Header")]}),n.jsx("div",{className:"font-[300] text-[20px] text-brandy-text",children:r})]})}),e,t==="elements"?n.jsx(IE,{}):n.jsx(BE,{})]})}const X5=window.React.useCallback,OE=window.React.useEffect,hi=window.React.useMemo,Io=window.React.useState,PE=[{value:"preset_default",label:"Default header",icon:{desktop:n.jsxs("svg",{width:"286",height:"52",viewBox:"0 0 286 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"51",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"51",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("path",{d:"M1 5C1 2.79086 2.79086 1 5 1H281C283.209 1 285 2.79086 285 5V23H1V5Z",fill:"url(#paint0_linear_6147_167127)"}),n.jsx("rect",{x:"14",y:"10",width:"12",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"31",y:"10",width:"12",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"48",y:"10",width:"12",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"247",y:"10",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"262",y:"10",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"118",y:"10",width:"55",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M36.3976 28.203C36.3976 29.4196 35.4111 30.4061 34.1945 30.4061C32.9779 30.4061 31.9914 29.4196 31.9914 28.203C31.9914 26.9865 32.9775 26 34.1945 26C35.4116 26 36.3976 26.9865 36.3976 28.203ZM20.9002 33.9036C20.4246 33.9515 20.3494 34.6137 20.8021 34.7668C23.6811 35.7405 27.8219 36.6544 29.8671 37.0803C30.5715 37.2268 31.0269 37.9101 30.8954 38.6176C30.3124 41.7455 29.2238 45.0872 28.533 47.4271C28.4014 47.8728 28.9558 48.1962 29.2788 47.8623C36.7285 40.1629 40.9151 32.2558 42.4551 28.9985C42.6457 28.5955 42.1907 28.1956 41.8141 28.434C36.1033 32.0521 25.2629 33.4653 20.9002 33.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"88",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"117",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"146",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"175",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"237",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"247",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"267",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("defs",{children:n.jsxs("linearGradient",{id:"paint0_linear_6147_167127",x1:"154.198",y1:"1",x2:"154.198",y2:"23",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"white",stopOpacity:"0.71"}),n.jsx("stop",{offset:"1",stopColor:"#F1F6FE",stopOpacity:"0.55"})]})})]}),mobile:n.jsxs("svg",{width:"286",height:"70",viewBox:"0 0 286 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"69.0007",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"69.0007",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("path",{d:"M1 5C1 2.79086 2.79086 1 5 1H281C283.209 1 285 2.79086 285 5V31.1797H1V5Z",fill:"url(#paint0_linear_6147_167365)"}),n.jsx("rect",{x:"16",y:"13.5",width:"130",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("path",{opacity:"0.7",fillRule:"evenodd",clipRule:"evenodd",d:"M263.249 15.7507L263.249 19.0007H264.749V15.7507H268V14.2505H264.749V11H263.249L263.249 14.2505H260V15.7507H263.249Z",fill:"#5A6D80"}),n.jsx("g",{clipPath:"url(#clip0_6147_167365)",children:n.jsx("path",{d:"M31.8976 40.203C31.8976 41.4196 30.9111 42.4061 29.6945 42.4061C28.4779 42.4061 27.4914 41.4196 27.4914 40.203C27.4914 38.9865 28.4775 38 29.6945 38C30.9116 38 31.8976 38.9865 31.8976 40.203ZM16.4002 45.9036C15.9246 45.9515 15.8494 46.6137 16.3021 46.7668C19.1811 47.7405 23.3219 48.6544 25.3671 49.0803C26.0715 49.2268 26.5269 49.9101 26.3954 50.6176C25.8124 53.7455 24.7238 57.0872 24.033 59.4271C23.9014 59.8728 24.4558 60.1962 24.7788 59.8623C32.2285 52.1629 36.4151 44.2558 37.9551 40.9985C38.1457 40.5955 37.6907 40.1956 37.3141 40.434C31.6033 44.0521 20.7629 45.4653 16.4002 45.9036Z",fill:"#A1ABB7"})}),n.jsx("rect",{x:"194",y:"42",width:"14",height:"14",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"224",y:"42",width:"14",height:"14",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"254",y:"43",width:"16",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"254",y:"48",width:"16",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"254",y:"53",width:"16",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_6147_167365",x1:"145.5",y1:"2.21756",x2:"145.5",y2:"31.1797",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"white",stopOpacity:"0.71"}),n.jsx("stop",{offset:"1",stopColor:"#F1F6FE",stopOpacity:"0.55"})]}),n.jsx("clipPath",{id:"clip0_6147_167365",children:n.jsx("rect",{width:"22",height:"22",fill:"white",transform:"translate(16 38)"})})]})]})}},{value:"preset_1",label:"Header Preset 1",icon:{desktop:n.jsxs("svg",{width:"286",height:"54",viewBox:"0 0 286 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"53",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"14",y:"24.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"24",y:"24.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"34",y:"24.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"67.5",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"96.5",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("path",{d:"M147.898 18.203C147.898 19.4196 146.911 20.4061 145.695 20.4061C144.478 20.4061 143.491 19.4196 143.491 18.203C143.491 16.9865 144.477 16 145.695 16C146.912 16 147.898 16.9865 147.898 18.203ZM132.4 23.9036C131.925 23.9515 131.849 24.6137 132.302 24.7668C135.181 25.7405 139.322 26.6544 141.367 27.0803C142.072 27.2268 142.527 27.9101 142.395 28.6176C141.812 31.7455 140.724 35.0872 140.033 37.4271C139.901 37.8728 140.456 38.1962 140.779 37.8623C148.228 30.1629 152.415 22.2558 153.955 18.9985C154.146 18.5955 153.691 18.1956 153.314 18.434C147.603 22.0521 136.763 23.4653 132.4 23.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"167.5",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"196.5",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"247",y:"24.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"24.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"267",y:"24.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"53",rx:"4.5",stroke:"#E3E8EE"})]}),mobile:n.jsxs("svg",{width:"286",height:"93",viewBox:"0 0 286 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"92",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"92",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("path",{d:"M272 47.75H14V48.25H272V47.75Z",fill:"#E3E8EE"}),n.jsx("path",{d:"M147.898 18.203C147.898 19.4196 146.911 20.4061 145.695 20.4061C144.478 20.4061 143.491 19.4196 143.491 18.203C143.491 16.9865 144.477 16 145.695 16C146.912 16 147.898 16.9865 147.898 18.203ZM132.4 23.9036C131.925 23.9515 131.849 24.6137 132.302 24.7668C135.181 25.7405 139.322 26.6544 141.367 27.0803C142.072 27.2268 142.527 27.9101 142.395 28.6176C141.812 31.7455 140.724 35.0872 140.033 37.4271C139.901 37.8728 140.456 38.1962 140.779 37.8623C148.228 30.1629 152.415 22.2558 153.955 18.9985C154.146 18.5955 153.691 18.1956 153.314 18.434C147.603 22.0521 136.763 23.4653 132.4 23.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"14",y:"59.5",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"66.5",width:"18",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"73.5",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"75.5",y:"59.5",width:"16",height:"16",rx:"5",fill:"#DCDDE3"}),n.jsx("rect",{x:"135",y:"59.5",width:"16",height:"16",rx:"5",fill:"#DCDDE3"}),n.jsx("rect",{x:"194.5",y:"61",width:"16",height:"16",rx:"5",fill:"#DCDDE3"}),n.jsx("rect",{width:"10",height:"10",rx:"5",transform:"matrix(1 0 0 -1 202.5 68)",fill:"#377E62"}),n.jsx("rect",{x:"256",y:"59.5",width:"16",height:"16",rx:"5",fill:"#DCDDE3"})]})}},{value:"preset_3",label:"Header Preset 3",icon:{desktop:n.jsxs("svg",{width:"286",height:"54",viewBox:"0 0 286 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"53",rx:"4.5",fill:"white"}),n.jsx("path",{d:"M36.3976 18.203C36.3976 19.4196 35.4111 20.4061 34.1945 20.4061C32.9779 20.4061 31.9914 19.4196 31.9914 18.203C31.9914 16.9865 32.9775 16 34.1945 16C35.4116 16 36.3976 16.9865 36.3976 18.203ZM20.9002 23.9036C20.4246 23.9515 20.3494 24.6137 20.8021 24.7668C23.6811 25.7405 27.8219 26.6544 29.8671 27.0803C30.5715 27.2268 31.0269 27.9101 30.8954 28.6176C30.3124 31.7455 29.2238 35.0872 28.533 37.4271C28.4014 37.8728 28.9558 38.1962 29.2788 37.8623C36.7285 30.1629 40.9151 22.2558 42.4551 18.9985C42.6457 18.5955 42.1907 18.1956 41.8141 18.434C36.1033 22.0521 25.2629 23.4653 20.9002 23.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"245",y:"21.5",width:"27",height:"11",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"88",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"117",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"146",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"175",y:"25",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"53",rx:"4.5",stroke:"#E3E8EE"})]}),mobile:n.jsxs("svg",{width:"286",height:"54",viewBox:"0 0 286 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"53",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"53",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14",y:"19",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"26",width:"18",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"33",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M63.8976 18.203C63.8976 19.4196 62.9111 20.4061 61.6945 20.4061C60.4779 20.4061 59.4914 19.4196 59.4914 18.203C59.4914 16.9865 60.4775 16 61.6945 16C62.9116 16 63.8976 16.9865 63.8976 18.203ZM48.4002 23.9036C47.9246 23.9515 47.8494 24.6137 48.3021 24.7668C51.1811 25.7405 55.3219 26.6544 57.3671 27.0803C58.0715 27.2268 58.5269 27.9101 58.3954 28.6176C57.8124 31.7455 56.7238 35.0872 56.033 37.4271C55.9014 37.8728 56.4558 38.1962 56.7788 37.8623C64.2285 30.1629 68.4151 22.2558 69.9551 18.9985C70.1457 18.5955 69.6907 18.1956 69.3141 18.434C63.6033 22.0521 52.7629 23.4653 48.4002 23.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"222",y:"19.5",width:"50",height:"15",fill:"#DCDDE3"})]})}},{value:"preset_4",label:"Header Preset 4",icon:{desktop:n.jsxs("svg",{width:"286",height:"52",viewBox:"0 0 286 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"51",rx:"4.5",fill:"white"}),n.jsx("path",{d:"M1 22H285V47C285 49.2091 283.209 51 281 51H5C2.79086 51 1 49.2091 1 47V22Z",fill:"url(#paint0_linear_4884_153912)"}),n.jsx("rect",{x:"14",y:"10",width:"35",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"54",y:"10",width:"11",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"173",y:"10",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{width:"1",height:"2",transform:"matrix(-1 0 0 1 194 10)",fill:"#E4E7F3"}),n.jsx("rect",{x:"199",y:"10",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{width:"1",height:"2",transform:"matrix(-1 0 0 1 220 10)",fill:"#E4E7F3"}),n.jsx("rect",{x:"225",y:"10",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{width:"1",height:"2",transform:"matrix(-1 0 0 1 246 10)",fill:"#E4E7F3"}),n.jsx("rect",{x:"251",y:"10",width:"4",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"10",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M36.3976 28.203C36.3976 29.4196 35.4111 30.4061 34.1945 30.4061C32.9779 30.4061 31.9914 29.4196 31.9914 28.203C31.9914 26.9865 32.9775 26 34.1945 26C35.4116 26 36.3976 26.9865 36.3976 28.203ZM20.9002 33.9036C20.4246 33.9515 20.3494 34.6137 20.8021 34.7668C23.6811 35.7405 27.8219 36.6544 29.8671 37.0803C30.5715 37.2268 31.0269 37.9101 30.8954 38.6176C30.3124 41.7455 29.2238 45.0872 28.533 47.4271C28.4014 47.8728 28.9558 48.1962 29.2788 47.8623C36.7285 40.1629 40.9151 32.2558 42.4551 28.9985C42.6457 28.5955 42.1907 28.1956 41.8141 28.434C36.1033 32.0521 25.2629 33.4653 20.9002 33.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"88",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"117",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"146",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"175",y:"35",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"247",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"267",y:"34.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"51",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("defs",{children:n.jsxs("linearGradient",{id:"paint0_linear_4884_153912",x1:"145.5",y1:"52.5",x2:"145.5",y2:"22",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"white",stopOpacity:"0.71"}),n.jsx("stop",{offset:"1",stopColor:"#F1F6FE",stopOpacity:"0.55"})]})})]}),mobile:n.jsxs("svg",{width:"286",height:"70",viewBox:"0 0 286 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"69.0007",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"69.0007",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("path",{d:"M1 29H285V65C285 67.2091 283.209 69 281 69H5C2.79086 69 1 67.2091 1 65V29Z",fill:"url(#paint0_linear_5064_153134)"}),n.jsx("rect",{x:"14",y:"14",width:"58",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"88",y:"14",width:"24",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"262",y:"10",width:"10.0007",height:"10.0007",rx:"2",fill:"#E6ECF2",fillOpacity:"0.4"}),n.jsx("path",{opacity:"0.7",fillRule:"evenodd",clipRule:"evenodd",d:"M266.437 15.5625V18.0007H267.562V15.5625H270.001V14.4374H267.562V12H266.437V14.4374H264V15.5625H266.437Z",fill:"#5A6D80"}),n.jsx("path",{d:"M36.3976 40.203C36.3976 41.4196 35.4111 42.4061 34.1945 42.4061C32.9779 42.4061 31.9914 41.4196 31.9914 40.203C31.9914 38.9865 32.9775 38 34.1945 38C35.4116 38 36.3976 38.9865 36.3976 40.203ZM20.9002 45.9036C20.4246 45.9515 20.3494 46.6137 20.8021 46.7668C23.6811 47.7405 27.8219 48.6544 29.8671 49.0803C30.5715 49.2268 31.0269 49.9101 30.8954 50.6176C30.3124 53.7455 29.2238 57.0872 28.533 59.4271C28.4014 59.8728 28.9558 60.1962 29.2788 59.8623C36.7285 52.1629 40.9151 44.2558 42.4551 40.9985C42.6457 40.5955 42.1907 40.1956 41.8141 40.434C36.1033 44.0521 25.2629 45.4653 20.9002 45.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"170",y:"43",width:"12",height:"12",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"198",y:"43",width:"12",height:"12",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"226",y:"43",width:"12",height:"12",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"254",y:"41",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"254",y:"48",width:"18",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"262",y:"55",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("defs",{children:n.jsxs("linearGradient",{id:"paint0_linear_5064_153134",x1:"145.5",y1:"71.069",x2:"145.5",y2:"29",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"white",stopOpacity:"0.71"}),n.jsx("stop",{offset:"1",stopColor:"#F1F6FE",stopOpacity:"0.55"})]})})]})}},{value:"preset_7",label:"Header Preset 7",icon:{desktop:n.jsxs("svg",{width:"286",height:"70",viewBox:"0 0 286 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"69",rx:"4.5",fill:"white"}),n.jsx("path",{d:"M1 5C1 2.79086 2.79086 1 5 1H281C283.209 1 285 2.79086 285 5V19H1V5Z",fill:"url(#paint0_linear_4884_153957)"}),n.jsx("rect",{x:"1",y:"50",width:"284",height:"0.5",fill:"#F5F6F6"}),n.jsx("rect",{x:"14",y:"8",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"24",y:"8",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"34",y:"8",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"173",y:"9.5",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{width:"1",height:"2",transform:"matrix(-1 0 0 1 194 9.5)",fill:"#E4E7F3"}),n.jsx("rect",{x:"199",y:"9.5",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{width:"1",height:"2",transform:"matrix(-1 0 0 1 220 9.5)",fill:"#E4E7F3"}),n.jsx("rect",{x:"225",y:"9.5",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{width:"1",height:"2",transform:"matrix(-1 0 0 1 246 9.5)",fill:"#E4E7F3"}),n.jsx("rect",{x:"251",y:"9.5",width:"4",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"9.5",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M36.3976 26.203C36.3976 27.4196 35.4111 28.4061 34.1945 28.4061C32.9779 28.4061 31.9914 27.4196 31.9914 26.203C31.9914 24.9865 32.9775 24 34.1945 24C35.4116 24 36.3976 24.9865 36.3976 26.203ZM20.9002 31.9036C20.4246 31.9515 20.3494 32.6137 20.8021 32.7668C23.6811 33.7405 27.8219 34.6544 29.8671 35.0803C30.5715 35.2268 31.0269 35.9101 30.8954 36.6176C30.3124 39.7455 29.2238 43.0872 28.533 45.4271C28.4014 45.8728 28.9558 46.1962 29.2788 45.8623C36.7285 38.1629 40.9151 30.2558 42.4551 26.9985C42.6457 26.5955 42.1907 26.1956 41.8141 26.434C36.1033 30.0521 25.2629 31.4653 20.9002 31.9036Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"247",y:"32.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"32.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"267",y:"32.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"95.25",y:"29.25",width:"95.5",height:"11.5",rx:"5.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M101.41 37.06C100.994 37.06 100.642 36.988 100.354 36.844C100.07 36.696 99.8262 36.488 99.6222 36.22L100.246 35.518C100.442 35.786 100.64 35.966 100.84 36.058C101.04 36.15 101.246 36.196 101.458 36.196C101.566 36.196 101.662 36.182 101.746 36.154C101.834 36.126 101.902 36.086 101.95 36.034C102.002 35.978 102.028 35.912 102.028 35.836C102.028 35.776 102.012 35.722 101.98 35.674C101.952 35.626 101.912 35.584 101.86 35.548C101.808 35.512 101.748 35.48 101.68 35.452C101.612 35.42 101.536 35.394 101.452 35.374C101.372 35.354 101.29 35.336 101.206 35.32C100.974 35.272 100.772 35.21 100.6 35.134C100.432 35.054 100.29 34.96 100.174 34.852C100.062 34.74 99.9782 34.614 99.9222 34.474C99.8662 34.33 99.8382 34.168 99.8382 33.988C99.8382 33.732 99.9102 33.508 100.054 33.316C100.202 33.124 100.396 32.974 100.636 32.866C100.876 32.758 101.136 32.704 101.416 32.704C101.824 32.704 102.152 32.77 102.4 32.902C102.652 33.03 102.852 33.208 103 33.436L102.364 34.054C102.24 33.894 102.098 33.774 101.938 33.694C101.782 33.614 101.618 33.574 101.446 33.574C101.33 33.574 101.228 33.588 101.14 33.616C101.052 33.644 100.984 33.686 100.936 33.742C100.892 33.794 100.87 33.858 100.87 33.934C100.87 33.998 100.888 34.056 100.924 34.108C100.964 34.156 101.018 34.198 101.086 34.234C101.154 34.27 101.232 34.302 101.32 34.33C101.408 34.354 101.5 34.374 101.596 34.39C101.816 34.434 102.014 34.492 102.19 34.564C102.37 34.636 102.524 34.726 102.652 34.834C102.78 34.938 102.878 35.062 102.946 35.206C103.018 35.346 103.054 35.508 103.054 35.692C103.054 35.98 102.984 36.226 102.844 36.43C102.704 36.634 102.51 36.79 102.262 36.898C102.014 37.006 101.73 37.06 101.41 37.06ZM105.243 37.06C104.891 37.06 104.583 36.99 104.319 36.85C104.059 36.71 103.857 36.518 103.713 36.274C103.573 36.026 103.503 35.744 103.503 35.428C103.503 35.18 103.543 34.954 103.623 34.75C103.703 34.542 103.815 34.364 103.959 34.216C104.107 34.068 104.279 33.954 104.475 33.874C104.675 33.79 104.893 33.748 105.129 33.748C105.353 33.748 105.557 33.788 105.741 33.868C105.925 33.948 106.085 34.06 106.221 34.204C106.357 34.348 106.461 34.518 106.533 34.714C106.605 34.91 106.639 35.124 106.635 35.356L106.629 35.62H104.097L103.953 35.074H105.843L105.741 35.182V35.062C105.733 34.962 105.701 34.876 105.645 34.804C105.593 34.728 105.523 34.668 105.435 34.624C105.351 34.58 105.255 34.558 105.147 34.558C104.987 34.558 104.851 34.59 104.739 34.654C104.631 34.714 104.549 34.802 104.493 34.918C104.437 35.034 104.409 35.178 104.409 35.35C104.409 35.522 104.445 35.674 104.517 35.806C104.593 35.938 104.701 36.04 104.841 36.112C104.985 36.184 105.155 36.22 105.351 36.22C105.483 36.22 105.603 36.2 105.711 36.16C105.819 36.12 105.935 36.052 106.059 35.956L106.509 36.592C106.385 36.696 106.253 36.784 106.113 36.856C105.973 36.924 105.829 36.974 105.681 37.006C105.537 37.042 105.391 37.06 105.243 37.06ZM108.944 37V35.044C108.944 34.88 108.898 34.76 108.806 34.684C108.718 34.604 108.594 34.564 108.434 34.564C108.278 34.564 108.138 34.594 108.014 34.654C107.894 34.71 107.778 34.804 107.666 34.936L107.09 34.378C107.282 34.182 107.502 34.028 107.75 33.916C107.998 33.804 108.268 33.748 108.56 33.748C108.828 33.748 109.06 33.788 109.256 33.868C109.452 33.948 109.604 34.07 109.712 34.234C109.82 34.398 109.874 34.606 109.874 34.858V37H108.944ZM108.116 37.06C107.916 37.06 107.734 37.02 107.57 36.94C107.41 36.86 107.282 36.75 107.186 36.61C107.094 36.466 107.048 36.298 107.048 36.106C107.048 35.942 107.078 35.798 107.138 35.674C107.198 35.55 107.286 35.448 107.402 35.368C107.522 35.284 107.67 35.222 107.846 35.182C108.026 35.138 108.234 35.116 108.47 35.116H109.436L109.382 35.722H108.494C108.41 35.722 108.336 35.73 108.272 35.746C108.208 35.758 108.154 35.78 108.11 35.812C108.066 35.84 108.032 35.874 108.008 35.914C107.988 35.954 107.978 36.002 107.978 36.058C107.978 36.118 107.994 36.17 108.026 36.214C108.058 36.258 108.1 36.292 108.152 36.316C108.208 36.34 108.272 36.352 108.344 36.352C108.448 36.352 108.546 36.336 108.638 36.304C108.734 36.268 108.818 36.218 108.89 36.154C108.966 36.09 109.026 36.016 109.07 35.932L109.238 36.364C109.154 36.5 109.052 36.62 108.932 36.724C108.816 36.828 108.688 36.91 108.548 36.97C108.412 37.03 108.268 37.06 108.116 37.06ZM110.645 37V33.814H111.563L111.605 34.852L111.425 34.648C111.477 34.48 111.557 34.328 111.665 34.192C111.773 34.056 111.901 33.948 112.049 33.868C112.201 33.788 112.359 33.748 112.523 33.748C112.595 33.748 112.661 33.754 112.721 33.766C112.785 33.774 112.841 33.788 112.889 33.808L112.631 34.87C112.587 34.846 112.527 34.826 112.451 34.81C112.379 34.79 112.303 34.78 112.223 34.78C112.135 34.78 112.053 34.796 111.977 34.828C111.905 34.856 111.841 34.898 111.785 34.954C111.733 35.01 111.691 35.076 111.659 35.152C111.631 35.228 111.617 35.314 111.617 35.41V37H110.645ZM114.644 37.06C114.336 37.06 114.058 36.988 113.81 36.844C113.566 36.7 113.374 36.504 113.234 36.256C113.094 36.004 113.024 35.722 113.024 35.41C113.024 35.09 113.094 34.806 113.234 34.558C113.374 34.306 113.566 34.108 113.81 33.964C114.058 33.82 114.336 33.748 114.644 33.748C114.928 33.748 115.188 33.8 115.424 33.904C115.664 34.004 115.852 34.142 115.988 34.318L115.466 34.954C115.414 34.886 115.35 34.824 115.274 34.768C115.198 34.712 115.114 34.668 115.022 34.636C114.93 34.604 114.834 34.588 114.734 34.588C114.582 34.588 114.448 34.624 114.332 34.696C114.216 34.764 114.126 34.86 114.062 34.984C113.998 35.108 113.966 35.248 113.966 35.404C113.966 35.556 113.998 35.694 114.062 35.818C114.13 35.938 114.222 36.034 114.338 36.106C114.454 36.178 114.584 36.214 114.728 36.214C114.832 36.214 114.928 36.2 115.016 36.172C115.104 36.144 115.184 36.104 115.256 36.052C115.332 36 115.402 35.938 115.466 35.866L115.988 36.502C115.852 36.67 115.662 36.806 115.418 36.91C115.174 37.01 114.916 37.06 114.644 37.06ZM116.516 37V32.56H117.47V34.462L117.272 34.534C117.316 34.39 117.394 34.26 117.506 34.144C117.622 34.024 117.76 33.928 117.92 33.856C118.08 33.784 118.248 33.748 118.424 33.748C118.664 33.748 118.866 33.798 119.03 33.898C119.194 33.994 119.316 34.14 119.396 34.336C119.48 34.528 119.522 34.766 119.522 35.05V37H118.556V35.122C118.556 34.994 118.538 34.888 118.502 34.804C118.466 34.72 118.412 34.658 118.34 34.618C118.268 34.578 118.178 34.56 118.07 34.564C117.986 34.564 117.908 34.578 117.836 34.606C117.764 34.63 117.7 34.668 117.644 34.72C117.592 34.768 117.552 34.824 117.524 34.888C117.496 34.952 117.482 35.024 117.482 35.104V37H116.996C116.892 37 116.798 37 116.714 37C116.634 37 116.568 37 116.516 37ZM120.672 37.066C120.508 37.066 120.38 37.02 120.288 36.928C120.2 36.832 120.156 36.698 120.156 36.526C120.156 36.366 120.202 36.236 120.294 36.136C120.39 36.032 120.516 35.98 120.672 35.98C120.836 35.98 120.964 36.028 121.056 36.124C121.148 36.216 121.194 36.35 121.194 36.526C121.194 36.686 121.144 36.816 121.044 36.916C120.948 37.016 120.824 37.066 120.672 37.066ZM122.207 37.066C122.043 37.066 121.915 37.02 121.823 36.928C121.735 36.832 121.691 36.698 121.691 36.526C121.691 36.366 121.737 36.236 121.829 36.136C121.925 36.032 122.051 35.98 122.207 35.98C122.371 35.98 122.499 36.028 122.591 36.124C122.683 36.216 122.729 36.35 122.729 36.526C122.729 36.686 122.679 36.816 122.579 36.916C122.483 37.016 122.359 37.066 122.207 37.066ZM123.743 37.066C123.579 37.066 123.451 37.02 123.359 36.928C123.271 36.832 123.227 36.698 123.227 36.526C123.227 36.366 123.273 36.236 123.365 36.136C123.461 36.032 123.587 35.98 123.743 35.98C123.907 35.98 124.035 36.028 124.127 36.124C124.219 36.216 124.265 36.35 124.265 36.526C124.265 36.686 124.215 36.816 124.115 36.916C124.019 37.016 123.895 37.066 123.743 37.066Z",fill:"#DCDDE3"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M183 34.9568C183 34.1525 183.653 33.5 184.459 33.5C185.265 33.5 185.917 34.1525 185.917 34.9568C185.917 35.7611 185.265 36.4136 184.459 36.4136C183.653 36.4136 183 35.7611 183 34.9568ZM184.459 33C183.377 33 182.5 33.8758 182.5 34.9568C182.5 36.0378 183.377 36.9136 184.459 36.9136C184.926 36.9136 185.356 36.7499 185.693 36.4767L186.222 36.9799C186.323 37.075 186.481 37.0709 186.576 36.9708C186.671 36.8706 186.667 36.7124 186.567 36.6173L186.038 36.115C186.276 35.7907 186.417 35.3903 186.417 34.9568C186.417 33.8758 185.54 33 184.459 33Z",fill:"#808890"}),n.jsx("rect",{x:"74",y:"58",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"103",y:"58",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"58",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"161",y:"58",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"190",y:"58",width:"22",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"69",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("defs",{children:n.jsxs("linearGradient",{id:"paint0_linear_4884_153957",x1:"143",y1:"19",x2:"143",y2:"2.09981e-08",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#EFF2F7"}),n.jsx("stop",{offset:"1",stopColor:"#EFF2F7",stopOpacity:"0"})]})})]}),mobile:n.jsxs("svg",{width:"286",height:"93",viewBox:"0 0 286 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"92.0007",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"92.0007",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("path",{d:"M1 5C1 2.79086 2.79086 1 5 1H281C283.209 1 285 2.79086 285 5V23H1V5Z",fill:"url(#paint0_linear_5064_153218)"}),n.jsx("rect",{x:"1",y:"58",width:"284",height:"0.5",fill:"#F5F6F6"}),n.jsx("rect",{x:"14",y:"10.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"24",y:"10.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"34",y:"10.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"262",y:"8",width:"10.0007",height:"10.0007",rx:"2",fill:"#E6ECF2",fillOpacity:"0.4"}),n.jsx("path",{opacity:"0.7",fillRule:"evenodd",clipRule:"evenodd",d:"M266.437 13.5625V16.0007H267.562V13.5625H270.001V12.4374H267.562V10H266.437V12.4374H264V13.5625H266.437Z",fill:"#5A6D80"}),n.jsx("g",{clipPath:"url(#clip0_5064_153218)",children:n.jsx("path",{d:"M29.8976 31.203C29.8976 32.4196 28.9111 33.4061 27.6945 33.4061C26.4779 33.4061 25.4914 32.4196 25.4914 31.203C25.4914 29.9865 26.4775 29 27.6945 29C28.9116 29 29.8976 29.9865 29.8976 31.203ZM14.4002 36.9036C13.9246 36.9515 13.8494 37.6137 14.3021 37.7668C17.1811 38.7405 21.3219 39.6544 23.3671 40.0803C24.0715 40.2268 24.5269 40.9101 24.3954 41.6176C23.8124 44.7455 22.7238 48.0872 22.033 50.4271C21.9014 50.8728 22.4558 51.1962 22.7788 50.8623C30.2285 43.1629 34.4151 35.2558 35.9551 31.9985C36.1457 31.5955 35.6907 31.1956 35.3141 31.434C29.6033 35.0521 18.7629 36.4653 14.4002 36.9036Z",fill:"#A1ABB7"})}),n.jsx("rect",{x:"212",y:"34",width:"12",height:"12",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"236",y:"34",width:"12",height:"12",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"260",y:"34",width:"12",height:"12",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"67",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"74",width:"18",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"81",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"91.25",y:"65.25",width:"180.5",height:"19.5",rx:"8.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M97.4102 77.06C96.9942 77.06 96.6422 76.988 96.3542 76.844C96.0702 76.696 95.8262 76.488 95.6222 76.22L96.2462 75.518C96.4422 75.786 96.6402 75.966 96.8402 76.058C97.0402 76.15 97.2462 76.196 97.4582 76.196C97.5662 76.196 97.6622 76.182 97.7462 76.154C97.8342 76.126 97.9022 76.086 97.9502 76.034C98.0022 75.978 98.0282 75.912 98.0282 75.836C98.0282 75.776 98.0122 75.722 97.9802 75.674C97.9522 75.626 97.9122 75.584 97.8602 75.548C97.8082 75.512 97.7482 75.48 97.6802 75.452C97.6122 75.42 97.5362 75.394 97.4522 75.374C97.3722 75.354 97.2902 75.336 97.2062 75.32C96.9742 75.272 96.7722 75.21 96.6002 75.134C96.4322 75.054 96.2902 74.96 96.1742 74.852C96.0622 74.74 95.9782 74.614 95.9222 74.474C95.8662 74.33 95.8382 74.168 95.8382 73.988C95.8382 73.732 95.9102 73.508 96.0542 73.316C96.2022 73.124 96.3962 72.974 96.6362 72.866C96.8762 72.758 97.1362 72.704 97.4162 72.704C97.8242 72.704 98.1522 72.77 98.4002 72.902C98.6522 73.03 98.8522 73.208 99.0002 73.436L98.3642 74.054C98.2402 73.894 98.0982 73.774 97.9382 73.694C97.7822 73.614 97.6182 73.574 97.4462 73.574C97.3302 73.574 97.2282 73.588 97.1402 73.616C97.0522 73.644 96.9842 73.686 96.9362 73.742C96.8922 73.794 96.8702 73.858 96.8702 73.934C96.8702 73.998 96.8882 74.056 96.9242 74.108C96.9642 74.156 97.0182 74.198 97.0862 74.234C97.1542 74.27 97.2322 74.302 97.3202 74.33C97.4082 74.354 97.5002 74.374 97.5962 74.39C97.8162 74.434 98.0142 74.492 98.1902 74.564C98.3702 74.636 98.5242 74.726 98.6522 74.834C98.7802 74.938 98.8782 75.062 98.9462 75.206C99.0182 75.346 99.0542 75.508 99.0542 75.692C99.0542 75.98 98.9842 76.226 98.8442 76.43C98.7042 76.634 98.5102 76.79 98.2622 76.898C98.0142 77.006 97.7302 77.06 97.4102 77.06ZM101.243 77.06C100.891 77.06 100.583 76.99 100.319 76.85C100.059 76.71 99.8568 76.518 99.7128 76.274C99.5728 76.026 99.5028 75.744 99.5028 75.428C99.5028 75.18 99.5428 74.954 99.6228 74.75C99.7028 74.542 99.8148 74.364 99.9588 74.216C100.107 74.068 100.279 73.954 100.475 73.874C100.675 73.79 100.893 73.748 101.129 73.748C101.353 73.748 101.557 73.788 101.741 73.868C101.925 73.948 102.085 74.06 102.221 74.204C102.357 74.348 102.461 74.518 102.533 74.714C102.605 74.91 102.639 75.124 102.635 75.356L102.629 75.62H100.097L99.9528 75.074H101.843L101.741 75.182V75.062C101.733 74.962 101.701 74.876 101.645 74.804C101.593 74.728 101.523 74.668 101.435 74.624C101.351 74.58 101.255 74.558 101.147 74.558C100.987 74.558 100.851 74.59 100.739 74.654C100.631 74.714 100.549 74.802 100.493 74.918C100.437 75.034 100.409 75.178 100.409 75.35C100.409 75.522 100.445 75.674 100.517 75.806C100.593 75.938 100.701 76.04 100.841 76.112C100.985 76.184 101.155 76.22 101.351 76.22C101.483 76.22 101.603 76.2 101.711 76.16C101.819 76.12 101.935 76.052 102.059 75.956L102.509 76.592C102.385 76.696 102.253 76.784 102.113 76.856C101.973 76.924 101.829 76.974 101.681 77.006C101.537 77.042 101.391 77.06 101.243 77.06ZM104.944 77V75.044C104.944 74.88 104.898 74.76 104.806 74.684C104.718 74.604 104.594 74.564 104.434 74.564C104.278 74.564 104.138 74.594 104.014 74.654C103.894 74.71 103.778 74.804 103.666 74.936L103.09 74.378C103.282 74.182 103.502 74.028 103.75 73.916C103.998 73.804 104.268 73.748 104.56 73.748C104.828 73.748 105.06 73.788 105.256 73.868C105.452 73.948 105.604 74.07 105.712 74.234C105.82 74.398 105.874 74.606 105.874 74.858V77H104.944ZM104.116 77.06C103.916 77.06 103.734 77.02 103.57 76.94C103.41 76.86 103.282 76.75 103.186 76.61C103.094 76.466 103.048 76.298 103.048 76.106C103.048 75.942 103.078 75.798 103.138 75.674C103.198 75.55 103.286 75.448 103.402 75.368C103.522 75.284 103.67 75.222 103.846 75.182C104.026 75.138 104.234 75.116 104.47 75.116H105.436L105.382 75.722H104.494C104.41 75.722 104.336 75.73 104.272 75.746C104.208 75.758 104.154 75.78 104.11 75.812C104.066 75.84 104.032 75.874 104.008 75.914C103.988 75.954 103.978 76.002 103.978 76.058C103.978 76.118 103.994 76.17 104.026 76.214C104.058 76.258 104.1 76.292 104.152 76.316C104.208 76.34 104.272 76.352 104.344 76.352C104.448 76.352 104.546 76.336 104.638 76.304C104.734 76.268 104.818 76.218 104.89 76.154C104.966 76.09 105.026 76.016 105.07 75.932L105.238 76.364C105.154 76.5 105.052 76.62 104.932 76.724C104.816 76.828 104.688 76.91 104.548 76.97C104.412 77.03 104.268 77.06 104.116 77.06ZM106.645 77V73.814H107.563L107.605 74.852L107.425 74.648C107.477 74.48 107.557 74.328 107.665 74.192C107.773 74.056 107.901 73.948 108.049 73.868C108.201 73.788 108.359 73.748 108.523 73.748C108.595 73.748 108.661 73.754 108.721 73.766C108.785 73.774 108.841 73.788 108.889 73.808L108.631 74.87C108.587 74.846 108.527 74.826 108.451 74.81C108.379 74.79 108.303 74.78 108.223 74.78C108.135 74.78 108.053 74.796 107.977 74.828C107.905 74.856 107.841 74.898 107.785 74.954C107.733 75.01 107.691 75.076 107.659 75.152C107.631 75.228 107.617 75.314 107.617 75.41V77H106.645ZM110.644 77.06C110.336 77.06 110.058 76.988 109.81 76.844C109.566 76.7 109.374 76.504 109.234 76.256C109.094 76.004 109.024 75.722 109.024 75.41C109.024 75.09 109.094 74.806 109.234 74.558C109.374 74.306 109.566 74.108 109.81 73.964C110.058 73.82 110.336 73.748 110.644 73.748C110.928 73.748 111.188 73.8 111.424 73.904C111.664 74.004 111.852 74.142 111.988 74.318L111.466 74.954C111.414 74.886 111.35 74.824 111.274 74.768C111.198 74.712 111.114 74.668 111.022 74.636C110.93 74.604 110.834 74.588 110.734 74.588C110.582 74.588 110.448 74.624 110.332 74.696C110.216 74.764 110.126 74.86 110.062 74.984C109.998 75.108 109.966 75.248 109.966 75.404C109.966 75.556 109.998 75.694 110.062 75.818C110.13 75.938 110.222 76.034 110.338 76.106C110.454 76.178 110.584 76.214 110.728 76.214C110.832 76.214 110.928 76.2 111.016 76.172C111.104 76.144 111.184 76.104 111.256 76.052C111.332 76 111.402 75.938 111.466 75.866L111.988 76.502C111.852 76.67 111.662 76.806 111.418 76.91C111.174 77.01 110.916 77.06 110.644 77.06ZM112.516 77V72.56H113.47V74.462L113.272 74.534C113.316 74.39 113.394 74.26 113.506 74.144C113.622 74.024 113.76 73.928 113.92 73.856C114.08 73.784 114.248 73.748 114.424 73.748C114.664 73.748 114.866 73.798 115.03 73.898C115.194 73.994 115.316 74.14 115.396 74.336C115.48 74.528 115.522 74.766 115.522 75.05V77H114.556V75.122C114.556 74.994 114.538 74.888 114.502 74.804C114.466 74.72 114.412 74.658 114.34 74.618C114.268 74.578 114.178 74.56 114.07 74.564C113.986 74.564 113.908 74.578 113.836 74.606C113.764 74.63 113.7 74.668 113.644 74.72C113.592 74.768 113.552 74.824 113.524 74.888C113.496 74.952 113.482 75.024 113.482 75.104V77H112.996C112.892 77 112.798 77 112.714 77C112.634 77 112.568 77 112.516 77ZM116.672 77.066C116.508 77.066 116.38 77.02 116.288 76.928C116.2 76.832 116.156 76.698 116.156 76.526C116.156 76.366 116.202 76.236 116.294 76.136C116.39 76.032 116.516 75.98 116.672 75.98C116.836 75.98 116.964 76.028 117.056 76.124C117.148 76.216 117.194 76.35 117.194 76.526C117.194 76.686 117.144 76.816 117.044 76.916C116.948 77.016 116.824 77.066 116.672 77.066ZM118.207 77.066C118.043 77.066 117.915 77.02 117.823 76.928C117.735 76.832 117.691 76.698 117.691 76.526C117.691 76.366 117.737 76.236 117.829 76.136C117.925 76.032 118.051 75.98 118.207 75.98C118.371 75.98 118.499 76.028 118.591 76.124C118.683 76.216 118.729 76.35 118.729 76.526C118.729 76.686 118.679 76.816 118.579 76.916C118.483 77.016 118.359 77.066 118.207 77.066ZM119.743 77.066C119.579 77.066 119.451 77.02 119.359 76.928C119.271 76.832 119.227 76.698 119.227 76.526C119.227 76.366 119.273 76.236 119.365 76.136C119.461 76.032 119.587 75.98 119.743 75.98C119.907 75.98 120.035 76.028 120.127 76.124C120.219 76.216 120.265 76.35 120.265 76.526C120.265 76.686 120.215 76.816 120.115 76.916C120.019 77.016 119.895 77.066 119.743 77.066Z",fill:"#DCDDE3"}),n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M257.193 74.8019C257.193 72.1458 259.349 69.9922 262.009 69.9922C264.669 69.9922 266.824 72.1458 266.824 74.8019C266.824 77.4579 264.669 79.6116 262.009 79.6116C259.349 79.6116 257.193 77.4579 257.193 74.8019ZM262.009 69.4922C259.073 69.4922 256.693 71.8692 256.693 74.8019C256.693 77.7346 259.073 80.1116 262.009 80.1116C263.433 80.1116 264.726 79.5521 265.681 78.641L267.578 80.443C267.678 80.5381 267.836 80.534 267.932 80.4339C268.027 80.3337 268.023 80.1755 267.922 80.0804L266.026 78.2793C266.835 77.3477 267.324 76.132 267.324 74.8019C267.324 71.8692 264.944 69.4922 262.009 69.4922Z",fill:"#808890"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_5064_153218",x1:"143",y1:"23",x2:"143",y2:"-0.222222",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#EFF2F7"}),n.jsx("stop",{offset:"1",stopColor:"#EFF2F7",stopOpacity:"0"})]}),n.jsx("clipPath",{id:"clip0_5064_153218",children:n.jsx("rect",{width:"22",height:"22",fill:"white",transform:"translate(14 29)"})})]})]})}},{value:"preset_11",label:"Header Preset 11",icon:{desktop:n.jsxs("svg",{width:"286",height:"44",viewBox:"0 0 286 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"43",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"43",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14",y:"16",width:"8",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"21",width:"18",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"26",width:"13",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"232",y:"19.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"242",y:"19.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"252",y:"18",width:"20",height:"8",rx:"2",fill:"#DCDDE3"}),n.jsx("path",{d:"M147.398 13.203C147.398 14.4196 146.411 15.4061 145.195 15.4061C143.978 15.4061 142.991 14.4196 142.991 13.203C142.991 11.9865 143.977 11 145.195 11C146.412 11 147.398 11.9865 147.398 13.203ZM131.9 18.9036C131.425 18.9515 131.349 19.6137 131.802 19.7668C134.681 20.7405 138.822 21.6544 140.867 22.0803C141.572 22.2268 142.027 22.9101 141.895 23.6176C141.312 26.7455 140.224 30.0872 139.533 32.4271C139.401 32.8728 139.956 33.1962 140.279 32.8623C147.728 25.1629 151.915 17.2558 153.455 13.9985C153.646 13.5955 153.191 13.1956 152.814 13.434C147.103 17.0521 136.263 18.4653 131.9 18.9036Z",fill:"#A1ABB7"})]}),mobile:n.jsxs("svg",{width:"286",height:"72",viewBox:"0 0 286 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"71",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"71",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"1",y:"36",width:"284",height:"1",fill:"#F5F6F6"}),n.jsx("g",{clipPath:"url(#clip0_5803_157108)",children:n.jsx("path",{d:"M147.898 10.203C147.898 11.4196 146.911 12.4061 145.695 12.4061C144.478 12.4061 143.491 11.4196 143.491 10.203C143.491 8.98646 144.477 8 145.695 8C146.912 8 147.898 8.98646 147.898 10.203ZM132.4 15.9036C131.925 15.9515 131.849 16.6137 132.302 16.7668C135.181 17.7405 139.322 18.6544 141.367 19.0803C142.072 19.2268 142.527 19.9101 142.395 20.6176C141.812 23.7455 140.724 27.0872 140.033 29.4271C139.901 29.8728 140.456 30.1962 140.779 29.8623C148.228 22.1629 152.415 14.2558 153.955 10.9985C154.146 10.5955 153.691 10.1956 153.314 10.434C147.603 14.0521 136.763 15.4653 132.4 15.9036Z",fill:"#A1ABB7"})}),n.jsx("rect",{x:"16",y:"46",width:"8",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"16",y:"51",width:"18",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"16",y:"56",width:"13",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"230",y:"49.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"240",y:"49.5",width:"5",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"250",y:"48",width:"20",height:"8",rx:"2",fill:"#DCDDE3"}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_5803_157108",children:n.jsx("rect",{width:"22",height:"22",fill:"white",transform:"translate(132 8)"})})})]})}}],nl=({children:e})=>n.jsx(Be,{className:"mb-2 font-semibold",children:e});function NE(){const e=Ae(j=>j.addTemplate),t=Ae(j=>j.choosePreviewTemplate),r=Ae(j=>j.removeTemplate),i=Ae(j=>j.templates),o=Ae(j=>j.previewTemplate),[a]=Io(o.id),s=hi(()=>`template-${Date.now()}`,[]),[l,c]=Io(`Header #${i.length+1}`),[d,u]=Io(""),[f,h]=Io(""),x=hi(()=>[{label:"Select header",value:""},...i.filter(j=>j.id!==s).map(j=>({label:j.id==="default"?"Default header":j.settings.name,value:j.id}))],[i]),p=j=>{typeof j!="number"&&c(j)};OE(()=>()=>{_3()},[]);const m=X5(j=>i.find(V=>V.id===j)??window.brandyCustomizerData.default_settings.header.settings.templates[0],[i]),w=X5(j=>window.brandyCustomizerData.default_settings.header.presets[j],[]),E=()=>{Mt()},_=(j,V)=>{let F=null,z=null;return j?F=m(j):F=w(V),F!=null&&(z=JSON.parse(JSON.stringify(F)),z.id=s,z.settings.name=l),z},k=j=>{j.preventDefault();const V=_(f,d);if(V==null)return;const F=JSON.parse(JSON.stringify(V));r(s),e({...F,id:s,settings:{...F.settings,name:l}}),t(s),E()},H=hi(()=>i.filter(j=>j.settings.name===l||l==="Default header").length>1,[l,i]),$=hi(()=>l===""||d===""&&f===""||H,[f,d,l,H]),C=(j,V)=>{const F=_(j,V);if(F==null)return;const z=JSON.parse(JSON.stringify(F));r(s),e({...z,id:s,settings:{...z.settings,name:l}}),t(s),setTimeout(()=>{b3()},200)},b=j=>{j!==d&&(u(j),C(f,j))},T=j=>{h(j),j==""?C(f,d):(u(""),C(j,d))},M=()=>{t(a),r(s),E()};return n.jsxs(Qa,{children:[n.jsx(A1,{onGoBack:M,title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("Header")]}),n.jsx("div",{className:"font-[300] text-[20px] text-brandy-text",children:D("Create new header")})]}),hasBottomPart:!1}),n.jsx(Ji,{className:"after:hidden",children:n.jsxs("div",{className:"flex flex-col gap-4",children:[n.jsx("p",{className:"text-[#757575] text-xs",children:D("Create a new header and assign it to different pages or posts based on your conditions.")}),n.jsxs("div",{children:[n.jsx(nl,{children:D("Header name")}),n.jsx(Ue,{value:l,onChange:p,className:H?"!border-red-500 focus-within:!border-red-500":"",placeholder:D("Your header name")}),H&&n.jsx("div",{className:"text-red-500 mt-[3px]",children:D("Theme name has existed")})]}),n.jsxs("div",{children:[n.jsx(nl,{children:D("Copy elements & styles from")}),n.jsx(et,{options:x,onChange:T,selected:f})]}),f===""&&n.jsxs("div",{children:[n.jsx(nl,{children:D("Using header presets")}),n.jsx("div",{className:"flex flex-col gap-4",children:PE.map(j=>n.jsx(zE,{isActive:j.value===d,data:j,onSelect:()=>{b(j.value)}},j.value))})]})]})}),n.jsx(ZE,{className:"sticky p-4 bottom-0",$_css:[f!==""&&{position:"absolute !important",width:"100%"},{borderRightWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(240 240 241 / var(--tw-bg-opacity))","--tw-shadow":"0px -1px 10px 0px rgba(90, 90, 90, 0.10)","--tw-shadow-colored":"0px -1px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:n.jsx(Xi,{primary:!0,onClick:k,disabled:$,children:D("Create header")})})]})}const zE=({isActive:e=!1,data:t,onSelect:r})=>{var a;const{current:i}=Ce(),o=hi(()=>i==="tablet"?"mobile":i,[i]);return n.jsxs(WE,{onClick:r,$_css2:[{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent"},e&&{"--tw-border-opacity":"1",borderColor:"rgb(0 0 0 / var(--tw-border-opacity))"},{cursor:"pointer",borderRadius:"5px",backgroundColor:"rgba(255, 255, 255, 0.70)",padding:"1rem","--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},{transitionProperty:"box-shadow",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"}],children:[n.jsx(GE,{children:(a=t==null?void 0:t.icon)==null?void 0:a[o]}),n.jsx(UE,{$_css3:[{textAlign:"center",fontSize:"0.875rem",lineHeight:"1.25rem",fontStyle:"italic"},e?{"--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}:{"--tw-text-opacity":"1",color:"rgb(96 96 96 / var(--tw-text-opacity))"}],children:t==null?void 0:t.label})]})};var ZE=g("div")`${e=>e.$_css}`,WE=g("div")`${e=>e.$_css2}`,GE=g("div")({marginBottom:"0.75rem",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"5px"}),UE=g("p").withConfig({displayName:"NewHeader___StyledP",componentId:"sc-6re12p-0"})(["",""],e=>e.$_css3);const YE=window.React,XE=window.React.memo,JE=window.React.useCallback,Cd=window.React.useContext,yd=window.React.useMemo,bd=YE.createContext({});function KE(){const{builder:e}=Cd(h1),t=re(e)(s=>s.deselectRow),r=re(e)(s=>s.chosenRow??"not found"),i=re(e)(s=>{var l,c;return((c=(l=s.previewTemplate)==null?void 0:l.settings)==null?void 0:c.name)??e}),o=JE(()=>{Mt(),t()},[Mt,t]),a=yd(()=>({builder:e,goBack:o}),[e,o]);return n.jsxs(bd.Provider,{value:a,children:[n.jsx(A1,{onGoBack:o,builder:e,title:n.jsxs(n.Fragment,{children:[n.jsxs(eH,{children:[D("Customizing")," ▸ ",i]}),n.jsxs(tH,{children:[r," ",e]})]})}),n.jsx(QE,{})]})}function qE(){const{builder:e}=Cd(bd),t=re(e)(l=>l.chosenRow),{contextHolder:r,currentTab:i}=Nr(),o=yd(()=>window.brandyCustomizerData.settings_layouts[`${t}_${e}`],[t,e]),a=re(e)(l=>t!=null&&l.previewTemplate.row_configurations[t]||{}),s=re(e)(l=>l.changeRowSettings);return t==null||o==null||a==null?!1:n.jsxs(n.Fragment,{children:[r,n.jsx(a2,{children:o[i].sections.map((l,c)=>n.jsx(oo,{section:l,sectionKey:`${i}-${c}`,sectionId:`${t}_${e}`,settings:a,onChange:s,builder:e},`${i}-${c}`))})]})}const QE=XE(qE);var eH=g("div")({fontSize:"13px",fontWeight:"300",textTransform:"capitalize","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),tH=g("div").withConfig({displayName:"RowSettingsSection___StyledDiv2",componentId:"sc-1y9zy4h-0"})({fontSize:"20px",fontWeight:"300",textTransform:"capitalize","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"});const nH=window.React.useMemo,rH=window.React.useState,iH=()=>n.jsx("div",{className:"text-brandy-text-secondary",children:"No element found"});function oH(){const{current:e}=Ce(),t=re("footer")(c=>c.previewTemplate.placements[Ge(e)]),[r,i]=rH(""),o=c=>{typeof c!="number"&&i(c)},{allElements:a,usingElementIds:s}=O2(t,"footer"),l=nH(()=>a.filter(c=>r===""||c.title.toLowerCase().includes(r.toLowerCase())),[r,a]);return n.jsxs("div",{className:"",children:[n.jsx("div",{className:"p-[16px] bg-gutenberg-white border-solid border-[#DDD] border-t border-b",children:n.jsx(fn,{searchText:r,onSearch:o,placeholder:D("Search element")})}),n.jsx(V3,{children:n.jsx(Ji,{children:l.length<=0?n.jsx(iH,{}):n.jsx(vd,{items:l,builder:"footer",disabledItems:s})})})]})}const aH=window.React.useMemo;function sH(){const e=Fe(i=>i.previewTemplate.settings),t=aH(()=>window.brandyCustomizerData.settings_layouts.footer,[]),r=Fe(i=>i.changeTemplateSettings);return t==null?!1:n.jsx(n.Fragment,{children:t.general.sections.map((i,o)=>n.jsx(oo,{section:i,sectionKey:`footer-${o}`,sectionId:"footer",settings:e,onChange:r,builder:"footer"},`footer-${o}`))})}const lH=[{label:D("Elements"),key:"elements"},{label:D("Settings"),key:"settings"}];function cH(){const{contextHolder:e,currentTab:t}=Nr({items:lH}),r=Fe(o=>{var a,s;return((s=(a=o.previewTemplate)==null?void 0:a.settings)==null?void 0:s.name)??""}),i=()=>{Mt()};return n.jsxs(Qa,{children:[n.jsx(A1,{onGoBack:i,builder:"footer",title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("Footer")]}),n.jsx("div",{className:"font-[300] text-[20px] text-brandy-text",children:r})]})}),e,t==="elements"?n.jsx(oH,{}):n.jsx(sH,{})]})}const J5=window.React.useCallback,dH=window.React.useEffect,fi=window.React.useMemo,To=window.React.useState,uH=[{value:"preset_default",label:"Default footer",icon:{desktop:n.jsxs("svg",{width:"286",height:"75",viewBox:"0 0 286 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{y:"0.820312",width:"286",height:"73.5",rx:"5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"1.32031",width:"285",height:"72.5",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("path",{d:"M23.3948 18.7969L22.3431 20.4384V21.4885H21.746V20.4384L20.6982 18.7969H21.3743L22.0465 19.847L22.7187 18.7969H23.3948Z",fill:"#FFC900"}),n.jsx("path",{d:"M24.0592 19.5312C24.3755 19.5312 24.6127 19.6829 24.7076 19.8649L24.7432 19.5692H25.3047V21.4874H24.7432L24.7076 21.1917C24.6127 21.3737 24.3755 21.5253 24.0592 21.5253C23.4859 21.5253 23.0786 21.078 23.0786 20.5283C23.0786 19.9786 23.4859 19.5312 24.0592 19.5312ZM24.162 20.9832C24.4506 20.9832 24.6364 20.7747 24.6364 20.5283C24.6364 20.2819 24.4506 20.0696 24.162 20.0696C23.8694 20.0696 23.6757 20.2819 23.6757 20.5283C23.6757 20.7747 23.8694 20.9832 24.162 20.9832Z",fill:"#FFC900"}),n.jsx("path",{d:"M26.1781 19.5703L26.6961 20.7758L27.2101 19.5703H27.8506L26.617 22.3605H25.9883L26.3758 21.4885L25.5376 19.5703H26.1781Z",fill:"#FFC900"}),n.jsx("path",{d:"M31.1304 19.1976C30.6006 19.1976 30.1538 19.588 30.1538 20.1415C30.1538 20.695 30.6006 21.0854 31.1304 21.0854C31.5337 21.0854 31.7947 20.8921 31.8935 20.7898V21.2598C31.7709 21.3622 31.4981 21.5252 31.0711 21.5252C30.2882 21.5252 29.6675 20.9224 29.6675 20.1415C29.6675 19.3606 30.2882 18.7578 31.0711 18.7578C31.4981 18.7578 31.7709 18.9208 31.8935 19.0232V19.4933C31.7907 19.3871 31.5337 19.1976 31.1304 19.1976Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M32.1821 20.5283C32.1821 19.9786 32.6289 19.5312 33.2576 19.5312C33.8823 19.5312 34.3251 19.9786 34.3251 20.5283C34.3251 21.078 33.8823 21.5253 33.2576 21.5253C32.6289 21.5253 32.1821 21.078 32.1821 20.5283ZM33.8388 20.5283C33.8388 20.225 33.5976 19.971 33.2576 19.971C32.9136 19.971 32.6684 20.225 32.6684 20.5283C32.6684 20.8315 32.9136 21.0855 33.2576 21.0855C33.5976 21.0855 33.8388 20.8315 33.8388 20.5283Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M37.773 20.2819V21.4874H37.2867V20.4411C37.2867 20.1606 37.1641 19.971 36.9308 19.971C36.6422 19.971 36.4682 20.2667 36.4563 20.661V21.4874H35.97V20.4411C35.97 20.1606 35.8474 19.971 35.6142 19.971C35.3255 19.971 35.1516 20.2667 35.1357 20.661V21.4874H34.6494V19.5692H35.1081L35.1318 19.8383C35.3057 19.6601 35.5311 19.5312 35.8 19.5312C36.0926 19.5312 36.2903 19.6753 36.3852 19.9066C36.571 19.6943 36.8161 19.5312 37.1206 19.5312C37.5476 19.5312 37.773 19.8421 37.773 20.2819Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M41.3116 20.2819V21.4874H40.8252V20.4411C40.8252 20.1606 40.7027 19.971 40.4694 19.971C40.1808 19.971 40.0068 20.2667 39.9949 20.661V21.4874H39.5086V20.4411C39.5086 20.1606 39.386 19.971 39.1527 19.971C38.8641 19.971 38.6901 20.2667 38.6743 20.661V21.4874H38.188V19.5692H38.6466L38.6704 19.8383C38.8443 19.6601 39.0697 19.5312 39.3386 19.5312C39.6311 19.5312 39.8288 19.6753 39.9237 19.9066C40.1096 19.6943 40.3547 19.5312 40.6592 19.5312C41.0862 19.5312 41.3116 19.8421 41.3116 20.2819Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M43.6208 20.6723H42.1064C42.1183 20.9074 42.3041 21.1121 42.656 21.1121C42.9091 21.1121 43.0712 20.9832 43.1503 20.8505L43.5773 20.896C43.518 21.1576 43.2056 21.5253 42.6521 21.5253C42.0353 21.5253 41.6201 21.078 41.6201 20.5169C41.6201 19.9824 42.0155 19.5312 42.6205 19.5312C43.2373 19.5312 43.6208 20.0013 43.6208 20.551V20.6723ZM42.1064 20.3501H43.1345C43.1186 20.1378 42.9249 19.9444 42.6205 19.9444C42.3239 19.9445 42.1183 20.1302 42.1064 20.3501Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M45.1033 19.6146L45.0321 20.0203C44.9926 19.9975 44.9135 19.971 44.8344 19.971C44.5735 19.971 44.4311 20.2288 44.4311 20.6344V21.4874H43.9448V19.5692H44.4035L44.4232 19.7777C44.5498 19.6298 44.6961 19.5313 44.8621 19.5313C44.9768 19.5312 45.0598 19.5729 45.1033 19.6146Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M46.2975 19.971C46.001 19.971 45.7044 20.1947 45.7044 20.5283C45.7044 20.8619 46.001 21.0855 46.2975 21.0855C46.4834 21.0855 46.6494 21.0249 46.8076 20.8808V21.3282C46.6731 21.4419 46.4754 21.5253 46.2184 21.5253C45.6253 21.5253 45.1904 21.0704 45.1904 20.5283C45.1904 19.99 45.6253 19.5312 46.2184 19.5312C46.4754 19.5312 46.6731 19.6147 46.8076 19.7284V20.1719C46.6494 20.0279 46.4834 19.971 46.2975 19.971Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M49.0768 20.6723H47.5625C47.5744 20.9074 47.7602 21.1121 48.1121 21.1121C48.3651 21.1121 48.5273 20.9832 48.6063 20.8505L49.0333 20.896C48.974 21.1576 48.6617 21.5253 48.1081 21.5253C47.4913 21.5253 47.0762 21.078 47.0762 20.5169C47.0762 19.9824 47.4715 19.5312 48.0765 19.5312C48.6933 19.5312 49.0768 20.0013 49.0768 20.551V20.6723ZM47.5625 20.3501H48.5905C48.5747 20.1378 48.381 19.9444 48.0765 19.9444C47.78 19.9445 47.5744 20.1302 47.5625 20.3501Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M28.1108 21.2533C28.1108 21.0976 28.2371 20.9766 28.3994 20.9766C28.5618 20.9766 28.6881 21.0976 28.6881 21.2533C28.6881 21.4089 28.5618 21.53 28.3994 21.53C28.2371 21.53 28.1108 21.4089 28.1108 21.2533Z",fill:"#FFC900"}),n.jsx("path",{d:"M28.5576 18.7969H29.1543L28.7555 20.6844H28.2725L28.5576 18.7969Z",fill:"#FFC900"}),n.jsx("path",{d:"M18.522 17.4211C18.522 17.753 18.2415 18.022 17.8954 18.022C17.5493 18.022 17.2687 17.753 17.2687 17.4211C17.2687 17.0893 17.5493 16.8203 17.8954 16.8203C18.2415 16.8203 18.522 17.0893 18.522 17.4211ZM14.1139 18.9759C13.9786 18.9889 13.9571 19.1695 14.0859 19.2113C14.9048 19.4768 16.0827 19.726 16.6645 19.8422C16.8648 19.8822 16.9944 20.0686 16.9569 20.2615C16.7911 21.1146 16.4814 22.026 16.285 22.6641C16.2475 22.7856 16.4052 22.8738 16.4971 22.7828C18.6161 20.683 19.807 18.5265 20.2451 17.6381C20.2993 17.5282 20.1699 17.4191 20.0628 17.4842C18.4384 18.4709 15.3548 18.8564 14.1139 18.9759Z",fill:"#FFC900"}),n.jsx("rect",{x:"14",y:"26.8203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"32.3203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"37.8203",width:"35.0767",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"43.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"43.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"30",y:"43.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"38",y:"43.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"76.6665",y:"19.3203",width:"17",height:"2.5",rx:"1.25",fill:"#DCDDE3"}),n.jsx("rect",{x:"76.6665",y:"25.8203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"76.6665",y:"31.3203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"76.6665",y:"36.8203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"76.6665",y:"42.3203",width:"22",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"139.333",y:"19.3203",width:"17",height:"2.5",rx:"1.25",fill:"#DCDDE3"}),n.jsx("rect",{x:"139.333",y:"25.8203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"139.333",y:"31.3203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"139.333",y:"36.8203",width:"46.6667",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"139.333",y:"42.3203",width:"22",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"202",y:"18.8203",width:"17",height:"2.5",rx:"1.25",fill:"#DCDDE3"}),n.jsx("rect",{x:"202",y:"24.3203",width:"45.7817",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"202",y:"29.8203",width:"70",height:"9",rx:"1",fill:"#F6F7F7"}),n.jsx("rect",{x:"256.022",y:"29.8203",width:"15.9557",height:"9",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"202",y:"42.8203",width:"18.5132",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 62.4453H272V62.1953H14V62.4453Z",fill:"#E3E8EE"}),n.jsx("rect",{x:"115",y:"67.3203",width:"56",height:"2",rx:"1",fill:"#DCDDE3"})]}),mobile:n.jsxs("svg",{width:"286",height:"184",viewBox:"0 0 286 184",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"1.32031",width:"285",height:"182",rx:"4.5",stroke:"#E3E8EE"}),n.jsxs("g",{clipPath:"url(#clip0_6109_159963)",children:[n.jsx("path",{d:"M23.7977 18.1221C23.7977 18.8411 23.1898 19.4239 22.44 19.4239C21.6901 19.4239 21.0822 18.8411 21.0822 18.1221C21.0822 17.4031 21.6901 16.8203 22.44 16.8203C23.1898 16.8203 23.7977 17.4031 23.7977 18.1221ZM14.2467 21.4907C13.9535 21.5189 13.9071 21.9102 14.1862 22.0007C15.9604 22.5761 18.5126 23.1161 19.773 23.3678C20.2071 23.4545 20.4879 23.8582 20.4067 24.2762C20.0473 26.1246 19.3765 28.0992 18.9507 29.4818C18.8697 29.745 19.2112 29.9362 19.4103 29.739C24.0016 25.1895 26.5819 20.5171 27.5311 18.5922C27.6485 18.354 27.3682 18.1176 27.1361 18.2586C23.6165 20.3965 16.9355 21.2317 14.2467 21.4907Z",fill:"#FFC900"}),n.jsx("path",{d:"M34.4011 16.8984L32.1224 20.455V22.7302H30.8288V20.455L28.5586 16.8984H30.0235L31.4799 19.1737L32.9362 16.8984H34.4011Z",fill:"#FFC900"}),n.jsx("path",{d:"M35.8409 18.4922C36.5262 18.4922 37.0402 18.8207 37.2458 19.215L37.3229 18.5743H38.5394V22.7305H37.3229L37.2458 22.0898C37.0402 22.4841 36.5262 22.8126 35.8409 22.8126C34.5987 22.8126 33.7163 21.8434 33.7163 20.6524C33.7163 19.4615 34.5987 18.4922 35.8409 18.4922ZM36.0636 21.6381C36.689 21.6381 37.0916 21.1863 37.0916 20.6524C37.0916 20.1185 36.689 19.6585 36.0636 19.6585C35.4297 19.6585 35.0099 20.1185 35.0099 20.6524C35.0099 21.1863 35.4297 21.6381 36.0636 21.6381Z",fill:"#FFC900"}),n.jsx("path",{d:"M40.4313 18.5781L41.5535 21.1901L42.6672 18.5781H44.055L41.3822 24.6234H40.0201L40.8596 22.7343L39.0435 18.5781H40.4313Z",fill:"#FFC900"}),n.jsx("path",{d:"M51.1614 17.7731C50.0135 17.7731 49.0454 18.6191 49.0454 19.8183C49.0454 21.0175 50.0135 21.8635 51.1614 21.8635C52.0352 21.8635 52.6006 21.4446 52.8148 21.2229V22.2414C52.5492 22.4631 51.9581 22.8164 51.0329 22.8164C49.3367 22.8164 47.9917 21.5104 47.9917 19.8183C47.9917 18.1263 49.3367 16.8203 51.0329 16.8203C51.9581 16.8203 52.5492 17.1735 52.8148 17.3953V18.4138C52.5921 18.1838 52.0352 17.7731 51.1614 17.7731Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M53.4399 20.6524C53.4399 19.4614 54.408 18.4922 55.7701 18.4922C57.1236 18.4922 58.0831 19.4614 58.0831 20.6524C58.0831 21.8434 57.1236 22.8126 55.7701 22.8126C54.408 22.8126 53.4399 21.8434 53.4399 20.6524ZM57.0294 20.6524C57.0294 19.9953 56.5068 19.445 55.7701 19.445C55.0248 19.445 54.4936 19.9953 54.4936 20.6524C54.4936 21.3095 55.0248 21.8598 55.7701 21.8598C56.5068 21.8598 57.0294 21.3095 57.0294 20.6524Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M65.5539 20.1185V22.7305H64.5002V20.4635C64.5002 19.8557 64.2346 19.445 63.7291 19.445C63.1038 19.445 62.7268 20.0857 62.7011 20.9399V22.7305H61.6474V20.4635C61.6474 19.8557 61.3819 19.445 60.8764 19.445C60.251 19.445 59.8741 20.0857 59.8398 20.9399V22.7305H58.7861V18.5743H59.7799L59.8313 19.1575C60.2082 18.7714 60.6965 18.4922 61.279 18.4922C61.913 18.4922 62.3413 18.8043 62.5469 19.3053C62.9496 18.8454 63.4807 18.4922 64.1403 18.4922C65.0656 18.4922 65.5539 19.1657 65.5539 20.1185Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M73.2204 20.1185V22.7305H72.1667V20.4635C72.1667 19.8557 71.9011 19.445 71.3957 19.445C70.7703 19.445 70.3934 20.0857 70.3676 20.9399V22.7305H69.3139V20.4635C69.3139 19.8557 69.0484 19.445 68.5429 19.445C67.9175 19.445 67.5406 20.0857 67.5063 20.9399V22.7305H66.4526V18.5743H67.4464L67.4978 19.1575C67.8747 18.7714 68.363 18.4922 68.9455 18.4922C69.5795 18.4922 70.0078 18.8043 70.2134 19.3053C70.6161 18.8454 71.1472 18.4922 71.8068 18.4922C72.7321 18.4922 73.2204 19.1657 73.2204 20.1185Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M78.2235 20.9645H74.9424C74.9681 21.4738 75.3707 21.9173 76.1332 21.9173C76.6814 21.9173 77.0327 21.6381 77.204 21.3506L78.1292 21.4491C78.0007 22.0159 77.3239 22.8126 76.1246 22.8126C74.7882 22.8126 73.8887 21.8434 73.8887 20.6278C73.8887 19.4696 74.7453 18.4922 76.0561 18.4922C77.3925 18.4922 78.2235 19.5107 78.2235 20.7017V20.9645ZM74.9424 20.2663H77.1697C77.1355 19.8064 76.7157 19.3874 76.0561 19.3874C75.4136 19.3875 74.9681 19.7899 74.9424 20.2663Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M81.4358 18.6729L81.2816 19.5517C81.1959 19.5025 81.0246 19.445 80.8533 19.445C80.2879 19.445 79.9795 20.0035 79.9795 20.8824V22.7305H78.9258V18.5743H79.9195L79.9623 19.0261C80.2365 18.7057 80.5535 18.4922 80.9133 18.4922C81.1617 18.4922 81.3415 18.5825 81.4358 18.6729Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M84.0237 19.445C83.3812 19.445 82.7387 19.9296 82.7387 20.6524C82.7387 21.3752 83.3812 21.8598 84.0237 21.8598C84.4263 21.8598 84.7861 21.7284 85.1288 21.4163V22.3855C84.8375 22.6319 84.4092 22.8126 83.8524 22.8126C82.5673 22.8126 81.625 21.827 81.625 20.6524C81.625 19.486 82.5673 18.4922 83.8524 18.4922C84.4092 18.4922 84.8375 18.6729 85.1288 18.9193V19.8803C84.7861 19.5682 84.4263 19.445 84.0237 19.445Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M90.0457 20.9645H86.7647C86.7904 21.4738 87.193 21.9173 87.9554 21.9173C88.5037 21.9173 88.855 21.6381 89.0263 21.3506L89.9515 21.4491C89.823 22.0159 89.1462 22.8126 87.9469 22.8126C86.6104 22.8126 85.7109 21.8434 85.7109 20.6278C85.7109 19.4696 86.5676 18.4922 87.8783 18.4922C89.2147 18.4922 90.0457 19.5107 90.0457 20.7017V20.9645ZM86.7647 20.2663H88.992C88.9578 19.8064 88.538 19.3874 87.8784 19.3874C87.2358 19.3875 86.7903 19.7899 86.7647 20.2663Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M44.6187 22.2246C44.6187 21.8873 44.8922 21.625 45.244 21.625C45.5957 21.625 45.8693 21.8873 45.8693 22.2246C45.8693 22.5618 45.5957 22.8241 45.244 22.8241C44.8922 22.8241 44.6187 22.5618 44.6187 22.2246Z",fill:"#FFC900"}),n.jsx("path",{d:"M45.587 16.9062H46.8798L46.0158 20.9958H44.9692L45.587 16.9062Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"14",y:"36.8203",width:"191.254",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"42.3203",width:"120",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"47.8203",width:"35.0767",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"53.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"53.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"30",y:"53.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"38",y:"53.3203",width:"3",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"72.3203",width:"17",height:"2.5",rx:"1.25",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"78.8203",width:"116",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"84.3203",width:"80",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"89.8203",width:"50",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"95.3203",width:"22",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"72.3203",width:"17",height:"2.5",rx:"1.25",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"78.8203",width:"116",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"84.3203",width:"80",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"89.8203",width:"50",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"95.3203",width:"22",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"110.57",width:"17",height:"2.5",rx:"1.25",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"116.07",width:"153.726",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"121.57",width:"258",height:"16",rx:"1",fill:"#F6F7F7"}),n.jsx("rect",{x:"234.519",y:"121.57",width:"37.4591",height:"16",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"141.57",width:"100.134",height:"1.5",rx:"0.75",fill:"#DCDDE3"}),n.jsx("rect",{x:"115",y:"171.82",width:"56",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_6109_159963",children:n.jsx("rect",{width:"76.0458",height:"16",fill:"white",transform:"translate(14 16.8203)"})})})]})}},{value:"preset_1",label:"Footer Preset 1",icon:{desktop:n.jsxs("svg",{width:"286",height:"92",viewBox:"0 0 286 92",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"91",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"91",rx:"4.5",stroke:"#E3E8EE"}),n.jsxs("g",{clipPath:"url(#clip0_4904_157464)",children:[n.jsx("path",{d:"M125.355 20.2969L123.076 23.8534V26.1286H121.783V23.8534L119.513 20.2969H120.978L122.434 22.5721L123.89 20.2969H125.355Z",fill:"#FFC900"}),n.jsx("path",{d:"M126.795 21.8906C127.48 21.8906 127.994 22.2192 128.199 22.6134L128.277 21.9728H129.493V26.1289H128.277L128.199 25.4883C127.994 25.8825 127.48 26.2111 126.795 26.2111C125.552 26.2111 124.67 25.2419 124.67 24.0509C124.67 22.8599 125.552 21.8906 126.795 21.8906ZM127.017 25.0365C127.643 25.0365 128.045 24.5847 128.045 24.0509C128.045 23.5169 127.643 23.057 127.017 23.057C126.383 23.057 125.964 23.5169 125.964 24.0509C125.964 24.5847 126.383 25.0365 127.017 25.0365Z",fill:"#FFC900"}),n.jsx("path",{d:"M131.386 21.9727L132.508 24.5846L133.622 21.9727H135.01L132.337 28.018H130.975L131.814 26.1288L129.998 21.9727H131.386Z",fill:"#FFC900"}),n.jsx("path",{d:"M142.116 21.1676C140.968 21.1676 140 22.0136 140 23.2128C140 24.4121 140.968 25.2581 142.116 25.2581C142.99 25.2581 143.555 24.8392 143.769 24.6174V25.6359C143.504 25.8577 142.913 26.2109 141.988 26.2109C140.291 26.2109 138.946 24.9049 138.946 23.2129C138.946 21.5208 140.291 20.2148 141.988 20.2148C142.913 20.2148 143.504 20.568 143.769 20.7898V21.8083C143.547 21.5783 142.99 21.1676 142.116 21.1676Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M144.395 24.0508C144.395 22.8598 145.363 21.8906 146.725 21.8906C148.078 21.8906 149.038 22.8598 149.038 24.0508C149.038 25.2418 148.078 26.211 146.725 26.211C145.363 26.211 144.395 25.2418 144.395 24.0508ZM147.984 24.0508C147.984 23.3937 147.461 22.8434 146.725 22.8434C145.979 22.8434 145.448 23.3937 145.448 24.0508C145.448 24.7079 145.979 25.2583 146.725 25.2583C147.461 25.2583 147.984 24.7079 147.984 24.0508Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M156.508 23.5169V26.1289H155.454V23.8619C155.454 23.2541 155.189 22.8434 154.683 22.8434C154.058 22.8434 153.681 23.4841 153.655 24.3383V26.1289H152.602V23.8619C152.602 23.2541 152.336 22.8434 151.831 22.8434C151.205 22.8434 150.828 23.4841 150.794 24.3383V26.1289H149.74V21.9728H150.734L150.785 22.5559C151.162 22.1699 151.651 21.8906 152.233 21.8906C152.867 21.8906 153.295 22.2027 153.501 22.7038C153.904 22.2438 154.435 21.8906 155.094 21.8906C156.02 21.8906 156.508 22.5641 156.508 23.5169Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M164.175 23.5169V26.1289H163.121V23.8619C163.121 23.2541 162.856 22.8434 162.35 22.8434C161.725 22.8434 161.348 23.4841 161.322 24.3383V26.1289H160.269V23.8619C160.269 23.2541 160.003 22.8434 159.498 22.8434C158.872 22.8434 158.495 23.4841 158.461 24.3383V26.1289H157.407V21.9728H158.401L158.452 22.5559C158.829 22.1699 159.318 21.8906 159.9 21.8906C160.534 21.8906 160.962 22.2027 161.168 22.7038C161.571 22.2438 162.102 21.8906 162.761 21.8906C163.687 21.8906 164.175 22.5641 164.175 23.5169Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M169.179 24.363H165.897C165.923 24.8722 166.326 25.3158 167.088 25.3158C167.637 25.3158 167.988 25.0365 168.159 24.749L169.084 24.8476C168.956 25.4143 168.279 26.2111 167.08 26.2111C165.743 26.2111 164.844 25.2418 164.844 24.0262C164.844 22.8681 165.7 21.8906 167.011 21.8906C168.348 21.8906 169.179 22.9091 169.179 24.1001V24.363ZM165.897 23.6648H168.125C168.091 23.2048 167.671 22.7859 167.011 22.7859C166.369 22.7859 165.923 23.1884 165.897 23.6648Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M172.391 22.0713L172.237 22.9502C172.151 22.9009 171.98 22.8434 171.808 22.8434C171.243 22.8434 170.935 23.4019 170.935 24.2808V26.1289H169.881V21.9727H170.875L170.917 22.4245C171.192 22.1042 171.509 21.8906 171.868 21.8906C172.117 21.8906 172.297 21.981 172.391 22.0713Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M174.978 22.8434C174.335 22.8434 173.693 23.328 173.693 24.0508C173.693 24.7736 174.335 25.2583 174.978 25.2583C175.38 25.2583 175.74 25.1269 176.083 24.8147V25.7839C175.792 26.0303 175.363 26.211 174.806 26.211C173.521 26.211 172.579 25.2254 172.579 24.0508C172.579 22.8845 173.521 21.8906 174.806 21.8906C175.363 21.8906 175.792 22.0713 176.083 22.3177V23.2787C175.74 22.9666 175.38 22.8434 174.978 22.8434Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M181 24.363H177.719C177.744 24.8722 178.147 25.3158 178.91 25.3158C179.458 25.3158 179.809 25.0365 179.98 24.749L180.906 24.8476C180.777 25.4143 180.1 26.2111 178.901 26.2111C177.565 26.2111 176.665 25.2418 176.665 24.0262C176.665 22.8681 177.522 21.8906 178.832 21.8906C180.169 21.8906 181 22.9091 181 24.1001V24.363ZM177.719 23.6648H179.946C179.912 23.2048 179.492 22.7859 178.832 22.7859C178.19 22.7859 177.744 23.1884 177.719 23.6648Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M135.573 25.6133C135.573 25.276 135.847 25.0137 136.199 25.0137C136.55 25.0137 136.824 25.276 136.824 25.6133C136.824 25.9505 136.55 26.2128 136.199 26.2128C135.847 26.2128 135.573 25.9505 135.573 25.6133Z",fill:"#FFC900"}),n.jsx("path",{d:"M136.541 20.2969H137.833L136.969 24.3865H135.923L136.541 20.2969Z",fill:"#FFC900"}),n.jsx("path",{d:"M114.798 17.3018C114.798 18.0208 114.19 18.6036 113.44 18.6036C112.69 18.6036 112.082 18.0208 112.082 17.3018C112.082 16.5828 112.69 16 113.44 16C114.19 16 114.798 16.5828 114.798 17.3018ZM105.247 20.6704C104.954 20.6986 104.907 21.0899 105.186 21.1804C106.96 21.7558 109.513 22.2958 110.773 22.5475C111.207 22.6342 111.488 23.0379 111.407 23.4559C111.047 25.3043 110.376 27.2789 109.951 28.6615C109.87 28.9247 110.211 29.1159 110.41 28.9187C115.002 24.3692 117.582 19.6968 118.531 17.7719C118.649 17.5337 118.368 17.2973 118.136 17.4383C114.616 19.5762 107.935 20.4114 105.247 20.6704Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"36",y:"39",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"82",y:"39",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"128",y:"39",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"174",y:"39",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"220",y:"39",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"92",y:"50",width:"102",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"116",y:"60",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"60",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"60",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"164",y:"60",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"74",width:"22",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_4904_157464",children:n.jsx("rect",{width:"76",height:"13",fill:"white",transform:"translate(105 16)"})})})]}),mobile:n.jsxs("svg",{width:"286",height:"93",viewBox:"0 0 286 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"91",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"91",rx:"4.5",stroke:"#E3E8EE"}),n.jsxs("g",{clipPath:"url(#clip0_5080_156944)",children:[n.jsx("path",{d:"M125.355 20.3164L123.076 23.873V26.1482H121.783V23.873L119.513 20.3164H120.978L122.434 22.5916L123.89 20.3164H125.355Z",fill:"#FFC900"}),n.jsx("path",{d:"M126.795 21.9102C127.48 21.9102 127.994 22.2387 128.199 22.633L128.277 21.9923H129.493V26.1485H128.277L128.199 25.5078C127.994 25.9021 127.48 26.2306 126.795 26.2306C125.552 26.2306 124.67 25.2614 124.67 24.0704C124.67 22.8794 125.552 21.9102 126.795 21.9102ZM127.017 25.056C127.643 25.056 128.045 24.6043 128.045 24.0704C128.045 23.5365 127.643 23.0765 127.017 23.0765C126.383 23.0765 125.964 23.5365 125.964 24.0704C125.964 24.6043 126.383 25.056 127.017 25.056Z",fill:"#FFC900"}),n.jsx("path",{d:"M131.386 21.9922L132.508 24.6042L133.622 21.9922H135.01L132.337 28.0375H130.975L131.814 26.1484L129.998 21.9922H131.386Z",fill:"#FFC900"}),n.jsx("path",{d:"M142.116 21.1872C140.968 21.1872 140 22.0332 140 23.2324C140 24.4316 140.968 25.2776 142.116 25.2776C142.99 25.2776 143.555 24.8587 143.769 24.6369V25.6554C143.504 25.8772 142.913 26.2304 141.988 26.2304C140.291 26.2304 138.946 24.9244 138.946 23.2324C138.946 21.5404 140.291 20.2344 141.988 20.2344C142.913 20.2344 143.504 20.5876 143.769 20.8094V21.8279C143.547 21.5978 142.99 21.1872 142.116 21.1872Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M144.395 24.0704C144.395 22.8794 145.363 21.9102 146.725 21.9102C148.078 21.9102 149.038 22.8794 149.038 24.0704C149.038 25.2613 148.078 26.2306 146.725 26.2306C145.363 26.2306 144.395 25.2613 144.395 24.0704ZM147.984 24.0704C147.984 23.4133 147.461 22.8629 146.725 22.8629C145.979 22.8629 145.448 23.4133 145.448 24.0704C145.448 24.7275 145.979 25.2778 146.725 25.2778C147.461 25.2778 147.984 24.7275 147.984 24.0704Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M156.508 23.5365V26.1485H155.454V23.8815C155.454 23.2736 155.189 22.863 154.683 22.863C154.058 22.863 153.681 23.5036 153.655 24.3579V26.1485H152.602V23.8815C152.602 23.2736 152.336 22.863 151.831 22.863C151.205 22.863 150.828 23.5036 150.794 24.3579V26.1485H149.74V21.9923H150.734L150.785 22.5755C151.162 22.1894 151.651 21.9102 152.233 21.9102C152.867 21.9102 153.295 22.2223 153.501 22.7233C153.904 22.2633 154.435 21.9102 155.094 21.9102C156.02 21.9102 156.508 22.5837 156.508 23.5365Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M164.175 23.5365V26.1485H163.121V23.8815C163.121 23.2736 162.856 22.863 162.35 22.863C161.725 22.863 161.348 23.5036 161.322 24.3579V26.1485H160.269V23.8815C160.269 23.2736 160.003 22.863 159.498 22.863C158.872 22.863 158.495 23.5036 158.461 24.3579V26.1485H157.407V21.9923H158.401L158.452 22.5755C158.829 22.1894 159.318 21.9102 159.9 21.9102C160.534 21.9102 160.962 22.2223 161.168 22.7233C161.571 22.2633 162.102 21.9102 162.761 21.9102C163.687 21.9102 164.175 22.5837 164.175 23.5365Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M169.179 24.3825H165.897C165.923 24.8917 166.326 25.3353 167.088 25.3353C167.637 25.3353 167.988 25.056 168.159 24.7685L169.084 24.8671C168.956 25.4339 168.279 26.2306 167.08 26.2306C165.743 26.2306 164.844 25.2614 164.844 24.0457C164.844 22.8876 165.7 21.9102 167.011 21.9102C168.348 21.9102 169.179 22.9287 169.179 24.1196V24.3825ZM165.897 23.6843H168.125C168.091 23.2243 167.671 22.8054 167.011 22.8054C166.369 22.8054 165.923 23.2079 165.897 23.6843Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M172.391 22.0908L172.237 22.9697C172.151 22.9204 171.98 22.8629 171.808 22.8629C171.243 22.8629 170.935 23.4215 170.935 24.3003V26.1484H169.881V21.9923H170.875L170.917 22.444C171.192 22.1237 171.509 21.9102 171.868 21.9102C172.117 21.9101 172.297 22.0005 172.391 22.0908Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M174.978 22.8629C174.335 22.8629 173.693 23.3476 173.693 24.0704C173.693 24.7932 174.335 25.2778 174.978 25.2778C175.38 25.2778 175.74 25.1464 176.083 24.8342V25.8035C175.792 26.0499 175.363 26.2306 174.806 26.2306C173.521 26.2306 172.579 25.2449 172.579 24.0704C172.579 22.904 173.521 21.9102 174.806 21.9102C175.363 21.9102 175.792 22.0909 176.083 22.3373V23.2983C175.74 22.9861 175.38 22.8629 174.978 22.8629Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M181 24.3825H177.719C177.744 24.8917 178.147 25.3353 178.91 25.3353C179.458 25.3353 179.809 25.056 179.98 24.7685L180.906 24.8671C180.777 25.4339 180.1 26.2306 178.901 26.2306C177.565 26.2306 176.665 25.2614 176.665 24.0457C176.665 22.8876 177.522 21.9102 178.832 21.9102C180.169 21.9102 181 22.9287 181 24.1196V24.3825ZM177.719 23.6843H179.946C179.912 23.2243 179.492 22.8054 178.832 22.8054C178.19 22.8054 177.744 23.2079 177.719 23.6843Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M135.573 25.6328C135.573 25.2955 135.847 25.0332 136.199 25.0332C136.55 25.0332 136.824 25.2955 136.824 25.6328C136.824 25.97 136.55 26.2323 136.199 26.2323C135.847 26.2323 135.573 25.97 135.573 25.6328Z",fill:"#FFC900"}),n.jsx("path",{d:"M136.541 20.3164H137.833L136.969 24.406H135.923L136.541 20.3164Z",fill:"#FFC900"}),n.jsx("path",{d:"M114.798 17.3213C114.798 18.0403 114.19 18.6231 113.44 18.6231C112.69 18.6231 112.082 18.0403 112.082 17.3213C112.082 16.6024 112.69 16.0195 113.44 16.0195C114.19 16.0195 114.798 16.6024 114.798 17.3213ZM105.247 20.6899C104.954 20.7181 104.907 21.1094 105.186 21.1999C106.96 21.7753 109.513 22.3153 110.773 22.567C111.207 22.6537 111.488 23.0574 111.407 23.4754C111.047 25.3238 110.376 27.2985 109.951 28.681C109.87 28.9443 110.211 29.1355 110.41 28.9382C115.002 24.3887 117.582 19.7163 118.531 17.7914C118.649 17.5532 118.368 17.3169 118.136 17.4579C114.616 19.5957 107.935 20.431 105.247 20.6899Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"36",y:"39.0195",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"82",y:"39.0195",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"128",y:"39.0195",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"174",y:"39.0195",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"220",y:"39.0195",width:"30",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"92",y:"50.0195",width:"102",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"116",y:"60.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"60.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"60.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"164",y:"60.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"74.0195",width:"22",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_5080_156944",children:n.jsx("rect",{width:"76",height:"13",fill:"white",transform:"translate(105 16.0195)"})})})]})}},{value:"preset_3",label:"Footer Preset 3",icon:{desktop:n.jsxs("svg",{width:"286",height:"94",viewBox:"0 0 286 94",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"286",height:"94",rx:"5",fill:"white"}),n.jsx("path",{d:"M1 83H285V89C285 91.2091 283.209 93 281 93H5C2.79086 93 1 91.2091 1 89V83Z",fill:"url(#paint0_linear_4904_157516)"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"93",rx:"4.5",stroke:"#E3E8EE"}),n.jsxs("g",{clipPath:"url(#clip0_4904_157516)",children:[n.jsx("path",{d:"M125.355 20.2969L123.076 23.8534V26.1286H121.783V23.8534L119.513 20.2969H120.978L122.434 22.5721L123.89 20.2969H125.355Z",fill:"#FFC900"}),n.jsx("path",{d:"M126.795 21.8906C127.48 21.8906 127.994 22.2192 128.199 22.6134L128.277 21.9728H129.493V26.1289H128.277L128.199 25.4883C127.994 25.8825 127.48 26.2111 126.795 26.2111C125.552 26.2111 124.67 25.2419 124.67 24.0509C124.67 22.8599 125.552 21.8906 126.795 21.8906ZM127.017 25.0365C127.643 25.0365 128.045 24.5847 128.045 24.0509C128.045 23.5169 127.643 23.057 127.017 23.057C126.383 23.057 125.964 23.5169 125.964 24.0509C125.964 24.5847 126.383 25.0365 127.017 25.0365Z",fill:"#FFC900"}),n.jsx("path",{d:"M131.386 21.9727L132.508 24.5846L133.622 21.9727H135.01L132.337 28.018H130.975L131.814 26.1288L129.998 21.9727H131.386Z",fill:"#FFC900"}),n.jsx("path",{d:"M142.116 21.1676C140.968 21.1676 140 22.0136 140 23.2128C140 24.4121 140.968 25.2581 142.116 25.2581C142.99 25.2581 143.555 24.8392 143.769 24.6174V25.6359C143.504 25.8577 142.913 26.2109 141.988 26.2109C140.291 26.2109 138.946 24.9049 138.946 23.2129C138.946 21.5208 140.291 20.2148 141.988 20.2148C142.913 20.2148 143.504 20.568 143.769 20.7898V21.8083C143.547 21.5783 142.99 21.1676 142.116 21.1676Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M144.395 24.0508C144.395 22.8598 145.363 21.8906 146.725 21.8906C148.078 21.8906 149.038 22.8598 149.038 24.0508C149.038 25.2418 148.078 26.211 146.725 26.211C145.363 26.211 144.395 25.2418 144.395 24.0508ZM147.984 24.0508C147.984 23.3937 147.461 22.8434 146.725 22.8434C145.979 22.8434 145.448 23.3937 145.448 24.0508C145.448 24.7079 145.979 25.2583 146.725 25.2583C147.461 25.2583 147.984 24.7079 147.984 24.0508Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M156.508 23.5169V26.1289H155.454V23.8619C155.454 23.2541 155.189 22.8434 154.683 22.8434C154.058 22.8434 153.681 23.4841 153.655 24.3383V26.1289H152.602V23.8619C152.602 23.2541 152.336 22.8434 151.831 22.8434C151.205 22.8434 150.828 23.4841 150.794 24.3383V26.1289H149.74V21.9728H150.734L150.785 22.5559C151.162 22.1699 151.651 21.8906 152.233 21.8906C152.867 21.8906 153.295 22.2027 153.501 22.7038C153.904 22.2438 154.435 21.8906 155.094 21.8906C156.02 21.8906 156.508 22.5641 156.508 23.5169Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M164.175 23.5169V26.1289H163.121V23.8619C163.121 23.2541 162.856 22.8434 162.35 22.8434C161.725 22.8434 161.348 23.4841 161.322 24.3383V26.1289H160.269V23.8619C160.269 23.2541 160.003 22.8434 159.498 22.8434C158.872 22.8434 158.495 23.4841 158.461 24.3383V26.1289H157.407V21.9728H158.401L158.452 22.5559C158.829 22.1699 159.318 21.8906 159.9 21.8906C160.534 21.8906 160.962 22.2027 161.168 22.7038C161.571 22.2438 162.102 21.8906 162.761 21.8906C163.687 21.8906 164.175 22.5641 164.175 23.5169Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M169.179 24.363H165.897C165.923 24.8722 166.326 25.3158 167.088 25.3158C167.637 25.3158 167.988 25.0365 168.159 24.749L169.084 24.8476C168.956 25.4143 168.279 26.2111 167.08 26.2111C165.743 26.2111 164.844 25.2418 164.844 24.0262C164.844 22.8681 165.7 21.8906 167.011 21.8906C168.348 21.8906 169.179 22.9091 169.179 24.1001V24.363ZM165.897 23.6648H168.125C168.091 23.2048 167.671 22.7859 167.011 22.7859C166.369 22.7859 165.923 23.1884 165.897 23.6648Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M172.391 22.0713L172.237 22.9502C172.151 22.9009 171.98 22.8434 171.808 22.8434C171.243 22.8434 170.935 23.4019 170.935 24.2808V26.1289H169.881V21.9727H170.875L170.917 22.4245C171.192 22.1042 171.509 21.8906 171.868 21.8906C172.117 21.8906 172.297 21.981 172.391 22.0713Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M174.978 22.8434C174.335 22.8434 173.693 23.328 173.693 24.0508C173.693 24.7736 174.335 25.2583 174.978 25.2583C175.38 25.2583 175.74 25.1269 176.083 24.8147V25.7839C175.792 26.0303 175.363 26.211 174.806 26.211C173.521 26.211 172.579 25.2254 172.579 24.0508C172.579 22.8845 173.521 21.8906 174.806 21.8906C175.363 21.8906 175.792 22.0713 176.083 22.3177V23.2787C175.74 22.9666 175.38 22.8434 174.978 22.8434Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M181 24.363H177.719C177.744 24.8722 178.147 25.3158 178.91 25.3158C179.458 25.3158 179.809 25.0365 179.98 24.749L180.906 24.8476C180.777 25.4143 180.1 26.2111 178.901 26.2111C177.565 26.2111 176.665 25.2418 176.665 24.0262C176.665 22.8681 177.522 21.8906 178.832 21.8906C180.169 21.8906 181 22.9091 181 24.1001V24.363ZM177.719 23.6648H179.946C179.912 23.2048 179.492 22.7859 178.832 22.7859C178.19 22.7859 177.744 23.1884 177.719 23.6648Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M135.573 25.6133C135.573 25.276 135.847 25.0137 136.199 25.0137C136.55 25.0137 136.824 25.276 136.824 25.6133C136.824 25.9505 136.55 26.2128 136.199 26.2128C135.847 26.2128 135.573 25.9505 135.573 25.6133Z",fill:"#FFC900"}),n.jsx("path",{d:"M136.541 20.2969H137.833L136.969 24.3865H135.923L136.541 20.2969Z",fill:"#FFC900"}),n.jsx("path",{d:"M114.798 17.3018C114.798 18.0208 114.19 18.6036 113.44 18.6036C112.69 18.6036 112.082 18.0208 112.082 17.3018C112.082 16.5828 112.69 16 113.44 16C114.19 16 114.798 16.5828 114.798 17.3018ZM105.247 20.6704C104.954 20.6986 104.907 21.0899 105.186 21.1804C106.96 21.7558 109.513 22.2958 110.773 22.5475C111.207 22.6342 111.488 23.0379 111.407 23.4559C111.047 25.3043 110.376 27.2789 109.951 28.6615C109.87 28.9247 110.211 29.1159 110.41 28.9187C115.002 24.3692 117.582 19.6968 118.531 17.7719C118.649 17.5337 118.368 17.2973 118.136 17.4383C114.616 19.5762 107.935 20.4114 105.247 20.6704Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"126.5",y:"39",width:"33",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"113",y:"46",width:"60",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"80.25",y:"52.25",width:"125.5",height:"11.5",rx:"5.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M85.8872 60V55.8H88.8152V56.676H86.8892V59.124H88.8812V60H85.8872ZM86.3732 58.284V57.444H88.5512V58.284H86.3732ZM89.6584 60V56.814H90.5764L90.6124 57.462L90.4144 57.534C90.4584 57.39 90.5364 57.26 90.6484 57.144C90.7644 57.024 90.9024 56.928 91.0624 56.856C91.2224 56.784 91.3904 56.748 91.5664 56.748C91.8064 56.748 92.0084 56.798 92.1724 56.898C92.3364 56.994 92.4584 57.14 92.5384 57.336C92.6224 57.528 92.6644 57.766 92.6644 58.05V60H91.6984V58.122C91.6984 57.994 91.6804 57.888 91.6444 57.804C91.6084 57.72 91.5544 57.658 91.4824 57.618C91.4104 57.578 91.3204 57.56 91.2124 57.564C91.1284 57.564 91.0504 57.578 90.9784 57.606C90.9064 57.63 90.8424 57.668 90.7864 57.72C90.7344 57.768 90.6944 57.824 90.6664 57.888C90.6384 57.952 90.6244 58.024 90.6244 58.104V60H90.1384C90.0344 60 89.9404 60 89.8564 60C89.7764 60 89.7104 60 89.6584 60ZM93.7369 60V56.01H94.7029V60H93.7369ZM93.1729 57.66V56.814H95.3149V57.66H93.1729ZM97.3581 60.06C97.0061 60.06 96.6981 59.99 96.4341 59.85C96.1741 59.71 95.9721 59.518 95.8281 59.274C95.6881 59.026 95.6181 58.744 95.6181 58.428C95.6181 58.18 95.6581 57.954 95.7381 57.75C95.8181 57.542 95.9301 57.364 96.0741 57.216C96.2221 57.068 96.3941 56.954 96.5901 56.874C96.7901 56.79 97.0081 56.748 97.2441 56.748C97.4681 56.748 97.6721 56.788 97.8561 56.868C98.0401 56.948 98.2001 57.06 98.3361 57.204C98.4721 57.348 98.5761 57.518 98.6481 57.714C98.7201 57.91 98.7541 58.124 98.7501 58.356L98.7441 58.62H96.2121L96.0681 58.074H97.9581L97.8561 58.182V58.062C97.8481 57.962 97.8161 57.876 97.7601 57.804C97.7081 57.728 97.6381 57.668 97.5501 57.624C97.4661 57.58 97.3701 57.558 97.2621 57.558C97.1021 57.558 96.9661 57.59 96.8541 57.654C96.7461 57.714 96.6641 57.802 96.6081 57.918C96.5521 58.034 96.5241 58.178 96.5241 58.35C96.5241 58.522 96.5601 58.674 96.6321 58.806C96.7081 58.938 96.8161 59.04 96.9561 59.112C97.1001 59.184 97.2701 59.22 97.4661 59.22C97.5981 59.22 97.7181 59.2 97.8261 59.16C97.9341 59.12 98.0501 59.052 98.1741 58.956L98.6241 59.592C98.5001 59.696 98.3681 59.784 98.2281 59.856C98.0881 59.924 97.9441 59.974 97.7961 60.006C97.6521 60.042 97.5061 60.06 97.3581 60.06ZM99.3615 60V56.814H100.28L100.322 57.852L100.142 57.648C100.194 57.48 100.274 57.328 100.382 57.192C100.49 57.056 100.618 56.948 100.766 56.868C100.918 56.788 101.076 56.748 101.24 56.748C101.312 56.748 101.378 56.754 101.438 56.766C101.502 56.774 101.558 56.788 101.606 56.808L101.348 57.87C101.304 57.846 101.244 57.826 101.168 57.81C101.096 57.79 101.02 57.78 100.94 57.78C100.852 57.78 100.77 57.796 100.694 57.828C100.622 57.856 100.558 57.898 100.502 57.954C100.45 58.01 100.408 58.076 100.376 58.152C100.348 58.228 100.334 58.314 100.334 58.41V60H99.3615ZM105.532 60.06C105.18 60.06 104.872 59.99 104.608 59.85C104.348 59.71 104.146 59.518 104.002 59.274C103.862 59.026 103.792 58.744 103.792 58.428C103.792 58.18 103.832 57.954 103.912 57.75C103.992 57.542 104.104 57.364 104.248 57.216C104.396 57.068 104.568 56.954 104.764 56.874C104.964 56.79 105.182 56.748 105.418 56.748C105.642 56.748 105.846 56.788 106.03 56.868C106.214 56.948 106.374 57.06 106.51 57.204C106.646 57.348 106.75 57.518 106.822 57.714C106.894 57.91 106.928 58.124 106.924 58.356L106.918 58.62H104.386L104.242 58.074H106.132L106.03 58.182V58.062C106.022 57.962 105.99 57.876 105.934 57.804C105.882 57.728 105.812 57.668 105.724 57.624C105.64 57.58 105.544 57.558 105.436 57.558C105.276 57.558 105.14 57.59 105.028 57.654C104.92 57.714 104.838 57.802 104.782 57.918C104.726 58.034 104.698 58.178 104.698 58.35C104.698 58.522 104.734 58.674 104.806 58.806C104.882 58.938 104.99 59.04 105.13 59.112C105.274 59.184 105.444 59.22 105.64 59.22C105.772 59.22 105.892 59.2 106 59.16C106.108 59.12 106.224 59.052 106.348 58.956L106.798 59.592C106.674 59.696 106.542 59.784 106.402 59.856C106.262 59.924 106.118 59.974 105.97 60.006C105.826 60.042 105.68 60.06 105.532 60.06ZM107.529 60V56.814H108.447L108.477 57.39L108.345 57.402C108.389 57.298 108.449 57.206 108.525 57.126C108.601 57.046 108.685 56.98 108.777 56.928C108.873 56.872 108.973 56.83 109.077 56.802C109.181 56.77 109.285 56.754 109.389 56.754C109.549 56.754 109.691 56.778 109.815 56.826C109.943 56.874 110.053 56.952 110.145 57.06C110.241 57.168 110.317 57.312 110.373 57.492L110.229 57.468L110.271 57.384C110.327 57.288 110.395 57.202 110.475 57.126C110.559 57.046 110.651 56.978 110.751 56.922C110.851 56.866 110.953 56.824 111.057 56.796C111.165 56.768 111.269 56.754 111.369 56.754C111.621 56.754 111.831 56.804 111.999 56.904C112.167 57.004 112.293 57.152 112.377 57.348C112.461 57.54 112.503 57.778 112.503 58.062V60H111.537V58.134C111.537 57.946 111.497 57.806 111.417 57.714C111.341 57.618 111.225 57.57 111.069 57.57C110.985 57.57 110.907 57.584 110.835 57.612C110.767 57.636 110.707 57.674 110.655 57.726C110.607 57.774 110.569 57.83 110.541 57.894C110.513 57.958 110.499 58.03 110.499 58.11V60H109.533V58.128C109.533 57.948 109.491 57.81 109.407 57.714C109.327 57.618 109.213 57.57 109.065 57.57C108.985 57.57 108.909 57.584 108.837 57.612C108.769 57.636 108.709 57.674 108.657 57.726C108.609 57.774 108.571 57.83 108.543 57.894C108.515 57.958 108.501 58.03 108.501 58.11V60H107.529ZM115.005 60V58.044C115.005 57.88 114.959 57.76 114.867 57.684C114.779 57.604 114.655 57.564 114.495 57.564C114.339 57.564 114.199 57.594 114.075 57.654C113.955 57.71 113.839 57.804 113.727 57.936L113.151 57.378C113.343 57.182 113.563 57.028 113.811 56.916C114.059 56.804 114.329 56.748 114.621 56.748C114.889 56.748 115.121 56.788 115.317 56.868C115.513 56.948 115.665 57.07 115.773 57.234C115.881 57.398 115.935 57.606 115.935 57.858V60H115.005ZM114.177 60.06C113.977 60.06 113.795 60.02 113.631 59.94C113.471 59.86 113.343 59.75 113.247 59.61C113.155 59.466 113.109 59.298 113.109 59.106C113.109 58.942 113.139 58.798 113.199 58.674C113.259 58.55 113.347 58.448 113.463 58.368C113.583 58.284 113.731 58.222 113.907 58.182C114.087 58.138 114.295 58.116 114.531 58.116H115.497L115.443 58.722H114.555C114.471 58.722 114.397 58.73 114.333 58.746C114.269 58.758 114.215 58.78 114.171 58.812C114.127 58.84 114.093 58.874 114.069 58.914C114.049 58.954 114.039 59.002 114.039 59.058C114.039 59.118 114.055 59.17 114.087 59.214C114.119 59.258 114.161 59.292 114.213 59.316C114.269 59.34 114.333 59.352 114.405 59.352C114.509 59.352 114.607 59.336 114.699 59.304C114.795 59.268 114.879 59.218 114.951 59.154C115.027 59.09 115.087 59.016 115.131 58.932L115.299 59.364C115.215 59.5 115.113 59.62 114.993 59.724C114.877 59.828 114.749 59.91 114.609 59.97C114.473 60.03 114.329 60.06 114.177 60.06ZM116.759 60V56.814H117.725V60H116.759ZM117.245 56.184C117.061 56.184 116.917 56.142 116.813 56.058C116.713 55.97 116.663 55.846 116.663 55.686C116.663 55.538 116.715 55.418 116.819 55.326C116.923 55.234 117.065 55.188 117.245 55.188C117.421 55.188 117.559 55.232 117.659 55.32C117.763 55.404 117.815 55.526 117.815 55.686C117.815 55.834 117.763 55.954 117.659 56.046C117.559 56.138 117.421 56.184 117.245 56.184ZM118.633 60V55.56H119.599V60H118.633ZM120.797 60.066C120.633 60.066 120.505 60.02 120.413 59.928C120.325 59.832 120.281 59.698 120.281 59.526C120.281 59.366 120.327 59.236 120.419 59.136C120.515 59.032 120.641 58.98 120.797 58.98C120.961 58.98 121.089 59.028 121.181 59.124C121.273 59.216 121.319 59.35 121.319 59.526C121.319 59.686 121.269 59.816 121.169 59.916C121.073 60.016 120.949 60.066 120.797 60.066ZM122.332 60.066C122.168 60.066 122.04 60.02 121.948 59.928C121.86 59.832 121.816 59.698 121.816 59.526C121.816 59.366 121.862 59.236 121.954 59.136C122.05 59.032 122.176 58.98 122.332 58.98C122.496 58.98 122.624 59.028 122.716 59.124C122.808 59.216 122.854 59.35 122.854 59.526C122.854 59.686 122.804 59.816 122.704 59.916C122.608 60.016 122.484 60.066 122.332 60.066ZM123.868 60.066C123.704 60.066 123.576 60.02 123.484 59.928C123.396 59.832 123.352 59.698 123.352 59.526C123.352 59.366 123.398 59.236 123.49 59.136C123.586 59.032 123.712 58.98 123.868 58.98C124.032 58.98 124.16 59.028 124.252 59.124C124.344 59.216 124.39 59.35 124.39 59.526C124.39 59.686 124.34 59.816 124.24 59.916C124.144 60.016 124.02 60.066 123.868 60.066Z",fill:"#DCDDE3"}),n.jsx("path",{d:"M197.155 58L197.003 56.5806C196.96 56.1744 197.362 55.8761 197.717 56.0511L200.713 57.5281C201.096 57.7167 201.096 58.2833 200.713 58.4719L197.717 59.9489C197.362 60.1239 196.96 59.8256 197.003 59.4194L197.155 58ZM197.155 58H198.911",stroke:"#A1ABB7",strokeWidth:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M14 72.25H272V71.75H14V72.25Z",fill:"#E3E8EE",mask:"url(#path-24-inside-1_4904_157516)"}),n.jsx("rect",{x:"14",y:"77",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"29",y:"77",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"44",y:"77",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"59",y:"77",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"237",y:"77",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"77",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"121.5",y:"87",width:"43",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_4904_157516",x1:"143",y1:"77.5",x2:"143",y2:"97.5",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F4F7FB"}),n.jsx("stop",{offset:"1",stopColor:"#F4F7FB",stopOpacity:"0"})]}),n.jsx("clipPath",{id:"clip0_4904_157516",children:n.jsx("rect",{width:"76",height:"13",fill:"white",transform:"translate(105 16)"})})]})]}),mobile:n.jsxs("svg",{width:"286",height:"137",viewBox:"0 0 286 137",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{y:"0.0195312",width:"286",height:"136",rx:"5",fill:"white"}),n.jsx("path",{d:"M1 113H285V131C285 133.209 283.209 135 281 135H5C2.79086 135 1 133.209 1 131V113Z",fill:"url(#paint0_linear_5080_157048)"}),n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"135",rx:"4.5",stroke:"#E3E8EE"}),n.jsxs("g",{clipPath:"url(#clip0_5080_157048)",children:[n.jsx("path",{d:"M125.355 20.3164L123.076 23.873V26.1482H121.783V23.873L119.513 20.3164H120.978L122.434 22.5916L123.89 20.3164H125.355Z",fill:"#FFC900"}),n.jsx("path",{d:"M126.795 21.9102C127.48 21.9102 127.994 22.2387 128.199 22.633L128.277 21.9923H129.493V26.1485H128.277L128.199 25.5078C127.994 25.9021 127.48 26.2306 126.795 26.2306C125.552 26.2306 124.67 25.2614 124.67 24.0704C124.67 22.8794 125.552 21.9102 126.795 21.9102ZM127.017 25.056C127.643 25.056 128.045 24.6043 128.045 24.0704C128.045 23.5365 127.643 23.0765 127.017 23.0765C126.383 23.0765 125.964 23.5365 125.964 24.0704C125.964 24.6043 126.383 25.056 127.017 25.056Z",fill:"#FFC900"}),n.jsx("path",{d:"M131.386 21.9922L132.508 24.6042L133.622 21.9922H135.01L132.337 28.0375H130.975L131.814 26.1484L129.998 21.9922H131.386Z",fill:"#FFC900"}),n.jsx("path",{d:"M142.116 21.1872C140.968 21.1872 140 22.0332 140 23.2324C140 24.4316 140.968 25.2776 142.116 25.2776C142.99 25.2776 143.555 24.8587 143.769 24.6369V25.6554C143.504 25.8772 142.913 26.2304 141.988 26.2304C140.291 26.2304 138.946 24.9244 138.946 23.2324C138.946 21.5404 140.291 20.2344 141.988 20.2344C142.913 20.2344 143.504 20.5876 143.769 20.8094V21.8279C143.547 21.5978 142.99 21.1872 142.116 21.1872Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M144.395 24.0704C144.395 22.8794 145.363 21.9102 146.725 21.9102C148.078 21.9102 149.038 22.8794 149.038 24.0704C149.038 25.2613 148.078 26.2306 146.725 26.2306C145.363 26.2306 144.395 25.2613 144.395 24.0704ZM147.984 24.0704C147.984 23.4133 147.461 22.8629 146.725 22.8629C145.979 22.8629 145.448 23.4133 145.448 24.0704C145.448 24.7275 145.979 25.2778 146.725 25.2778C147.461 25.2778 147.984 24.7275 147.984 24.0704Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M156.508 23.5365V26.1485H155.454V23.8815C155.454 23.2736 155.189 22.863 154.683 22.863C154.058 22.863 153.681 23.5036 153.655 24.3579V26.1485H152.602V23.8815C152.602 23.2736 152.336 22.863 151.831 22.863C151.205 22.863 150.828 23.5036 150.794 24.3579V26.1485H149.74V21.9923H150.734L150.785 22.5755C151.162 22.1894 151.651 21.9102 152.233 21.9102C152.867 21.9102 153.295 22.2223 153.501 22.7233C153.904 22.2633 154.435 21.9102 155.094 21.9102C156.02 21.9102 156.508 22.5837 156.508 23.5365Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M164.175 23.5365V26.1485H163.121V23.8815C163.121 23.2736 162.856 22.863 162.35 22.863C161.725 22.863 161.348 23.5036 161.322 24.3579V26.1485H160.269V23.8815C160.269 23.2736 160.003 22.863 159.498 22.863C158.872 22.863 158.495 23.5036 158.461 24.3579V26.1485H157.407V21.9923H158.401L158.452 22.5755C158.829 22.1894 159.318 21.9102 159.9 21.9102C160.534 21.9102 160.962 22.2223 161.168 22.7233C161.571 22.2633 162.102 21.9102 162.761 21.9102C163.687 21.9102 164.175 22.5837 164.175 23.5365Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M169.179 24.3825H165.897C165.923 24.8917 166.326 25.3353 167.088 25.3353C167.637 25.3353 167.988 25.056 168.159 24.7685L169.084 24.8671C168.956 25.4339 168.279 26.2306 167.08 26.2306C165.743 26.2306 164.844 25.2614 164.844 24.0457C164.844 22.8876 165.7 21.9102 167.011 21.9102C168.348 21.9102 169.179 22.9287 169.179 24.1196V24.3825ZM165.897 23.6843H168.125C168.091 23.2243 167.671 22.8054 167.011 22.8054C166.369 22.8054 165.923 23.2079 165.897 23.6843Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M172.391 22.0908L172.237 22.9697C172.151 22.9204 171.98 22.8629 171.808 22.8629C171.243 22.8629 170.935 23.4215 170.935 24.3003V26.1484H169.881V21.9923H170.875L170.917 22.444C171.192 22.1237 171.509 21.9102 171.868 21.9102C172.117 21.9101 172.297 22.0005 172.391 22.0908Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M174.978 22.8629C174.335 22.8629 173.693 23.3476 173.693 24.0704C173.693 24.7932 174.335 25.2778 174.978 25.2778C175.38 25.2778 175.74 25.1464 176.083 24.8342V25.8035C175.792 26.0499 175.363 26.2306 174.806 26.2306C173.521 26.2306 172.579 25.2449 172.579 24.0704C172.579 22.904 173.521 21.9102 174.806 21.9102C175.363 21.9102 175.792 22.0909 176.083 22.3373V23.2983C175.74 22.9861 175.38 22.8629 174.978 22.8629Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M181 24.3825H177.719C177.744 24.8917 178.147 25.3353 178.91 25.3353C179.458 25.3353 179.809 25.056 179.98 24.7685L180.906 24.8671C180.777 25.4339 180.1 26.2306 178.901 26.2306C177.565 26.2306 176.665 25.2614 176.665 24.0457C176.665 22.8876 177.522 21.9102 178.832 21.9102C180.169 21.9102 181 22.9287 181 24.1196V24.3825ZM177.719 23.6843H179.946C179.912 23.2243 179.492 22.8054 178.832 22.8054C178.19 22.8054 177.744 23.2079 177.719 23.6843Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M135.573 25.6328C135.573 25.2955 135.847 25.0332 136.199 25.0332C136.55 25.0332 136.824 25.2955 136.824 25.6328C136.824 25.97 136.55 26.2323 136.199 26.2323C135.847 26.2323 135.573 25.97 135.573 25.6328Z",fill:"#FFC900"}),n.jsx("path",{d:"M136.541 20.3164H137.833L136.969 24.406H135.923L136.541 20.3164Z",fill:"#FFC900"}),n.jsx("path",{d:"M114.798 17.3213C114.798 18.0403 114.19 18.6231 113.44 18.6231C112.69 18.6231 112.082 18.0403 112.082 17.3213C112.082 16.6024 112.69 16.0195 113.44 16.0195C114.19 16.0195 114.798 16.6024 114.798 17.3213ZM105.247 20.6899C104.954 20.7181 104.907 21.1094 105.186 21.1999C106.96 21.7753 109.513 22.3153 110.773 22.567C111.207 22.6537 111.488 23.0574 111.407 23.4754C111.047 25.3238 110.376 27.2985 109.951 28.681C109.87 28.9443 110.211 29.1355 110.41 28.9382C115.002 24.3887 117.582 19.7163 118.531 17.7914C118.649 17.5532 118.368 17.3169 118.136 17.4579C114.616 19.5957 107.935 20.431 105.247 20.6899Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"126.5",y:"39.0195",width:"33",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"113",y:"48.0195",width:"60",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"80.25",y:"56.2695",width:"125.5",height:"15.5",rx:"7.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M88.8872 66.0195V61.8195H91.8152V62.6955H89.8892V65.1435H91.8812V66.0195H88.8872ZM89.3732 64.3035V63.4635H91.5512V64.3035H89.3732ZM92.6584 66.0195V62.8335H93.5764L93.6124 63.4815L93.4144 63.5535C93.4584 63.4095 93.5364 63.2795 93.6484 63.1635C93.7644 63.0435 93.9024 62.9475 94.0624 62.8755C94.2224 62.8035 94.3904 62.7675 94.5664 62.7675C94.8064 62.7675 95.0084 62.8175 95.1724 62.9175C95.3364 63.0135 95.4584 63.1595 95.5384 63.3555C95.6224 63.5475 95.6644 63.7855 95.6644 64.0695V66.0195H94.6984V64.1415C94.6984 64.0135 94.6804 63.9075 94.6444 63.8235C94.6084 63.7395 94.5544 63.6775 94.4824 63.6375C94.4104 63.5975 94.3204 63.5795 94.2124 63.5835C94.1284 63.5835 94.0504 63.5975 93.9784 63.6255C93.9064 63.6495 93.8424 63.6875 93.7864 63.7395C93.7344 63.7875 93.6944 63.8435 93.6664 63.9075C93.6384 63.9715 93.6244 64.0435 93.6244 64.1235V66.0195H93.1384C93.0344 66.0195 92.9404 66.0195 92.8564 66.0195C92.7764 66.0195 92.7104 66.0195 92.6584 66.0195ZM96.7369 66.0195V62.0295H97.7029V66.0195H96.7369ZM96.1729 63.6795V62.8335H98.3149V63.6795H96.1729ZM100.358 66.0795C100.006 66.0795 99.6981 66.0095 99.4341 65.8695C99.1741 65.7295 98.9721 65.5375 98.8281 65.2935C98.6881 65.0455 98.6181 64.7635 98.6181 64.4475C98.6181 64.1995 98.6581 63.9735 98.7381 63.7695C98.8181 63.5615 98.9301 63.3835 99.0741 63.2355C99.2221 63.0875 99.3941 62.9735 99.5901 62.8935C99.7901 62.8095 100.008 62.7675 100.244 62.7675C100.468 62.7675 100.672 62.8075 100.856 62.8875C101.04 62.9675 101.2 63.0795 101.336 63.2235C101.472 63.3675 101.576 63.5375 101.648 63.7335C101.72 63.9295 101.754 64.1435 101.75 64.3755L101.744 64.6395H99.2121L99.0681 64.0935H100.958L100.856 64.2015V64.0815C100.848 63.9815 100.816 63.8955 100.76 63.8235C100.708 63.7475 100.638 63.6875 100.55 63.6435C100.466 63.5995 100.37 63.5775 100.262 63.5775C100.102 63.5775 99.9661 63.6095 99.8541 63.6735C99.7461 63.7335 99.6641 63.8215 99.6081 63.9375C99.5521 64.0535 99.5241 64.1975 99.5241 64.3695C99.5241 64.5415 99.5601 64.6935 99.6321 64.8255C99.7081 64.9575 99.8161 65.0595 99.9561 65.1315C100.1 65.2035 100.27 65.2395 100.466 65.2395C100.598 65.2395 100.718 65.2195 100.826 65.1795C100.934 65.1395 101.05 65.0715 101.174 64.9755L101.624 65.6115C101.5 65.7155 101.368 65.8035 101.228 65.8755C101.088 65.9435 100.944 65.9935 100.796 66.0255C100.652 66.0615 100.506 66.0795 100.358 66.0795ZM102.362 66.0195V62.8335H103.28L103.322 63.8715L103.142 63.6675C103.194 63.4995 103.274 63.3475 103.382 63.2115C103.49 63.0755 103.618 62.9675 103.766 62.8875C103.918 62.8075 104.076 62.7675 104.24 62.7675C104.312 62.7675 104.378 62.7735 104.438 62.7855C104.502 62.7935 104.558 62.8075 104.606 62.8275L104.348 63.8895C104.304 63.8655 104.244 63.8455 104.168 63.8295C104.096 63.8095 104.02 63.7995 103.94 63.7995C103.852 63.7995 103.77 63.8155 103.694 63.8475C103.622 63.8755 103.558 63.9175 103.502 63.9735C103.45 64.0295 103.408 64.0955 103.376 64.1715C103.348 64.2475 103.334 64.3335 103.334 64.4295V66.0195H102.362ZM108.532 66.0795C108.18 66.0795 107.872 66.0095 107.608 65.8695C107.348 65.7295 107.146 65.5375 107.002 65.2935C106.862 65.0455 106.792 64.7635 106.792 64.4475C106.792 64.1995 106.832 63.9735 106.912 63.7695C106.992 63.5615 107.104 63.3835 107.248 63.2355C107.396 63.0875 107.568 62.9735 107.764 62.8935C107.964 62.8095 108.182 62.7675 108.418 62.7675C108.642 62.7675 108.846 62.8075 109.03 62.8875C109.214 62.9675 109.374 63.0795 109.51 63.2235C109.646 63.3675 109.75 63.5375 109.822 63.7335C109.894 63.9295 109.928 64.1435 109.924 64.3755L109.918 64.6395H107.386L107.242 64.0935H109.132L109.03 64.2015V64.0815C109.022 63.9815 108.99 63.8955 108.934 63.8235C108.882 63.7475 108.812 63.6875 108.724 63.6435C108.64 63.5995 108.544 63.5775 108.436 63.5775C108.276 63.5775 108.14 63.6095 108.028 63.6735C107.92 63.7335 107.838 63.8215 107.782 63.9375C107.726 64.0535 107.698 64.1975 107.698 64.3695C107.698 64.5415 107.734 64.6935 107.806 64.8255C107.882 64.9575 107.99 65.0595 108.13 65.1315C108.274 65.2035 108.444 65.2395 108.64 65.2395C108.772 65.2395 108.892 65.2195 109 65.1795C109.108 65.1395 109.224 65.0715 109.348 64.9755L109.798 65.6115C109.674 65.7155 109.542 65.8035 109.402 65.8755C109.262 65.9435 109.118 65.9935 108.97 66.0255C108.826 66.0615 108.68 66.0795 108.532 66.0795ZM110.529 66.0195V62.8335H111.447L111.477 63.4095L111.345 63.4215C111.389 63.3175 111.449 63.2255 111.525 63.1455C111.601 63.0655 111.685 62.9995 111.777 62.9475C111.873 62.8915 111.973 62.8495 112.077 62.8215C112.181 62.7895 112.285 62.7735 112.389 62.7735C112.549 62.7735 112.691 62.7975 112.815 62.8455C112.943 62.8935 113.053 62.9715 113.145 63.0795C113.241 63.1875 113.317 63.3315 113.373 63.5115L113.229 63.4875L113.271 63.4035C113.327 63.3075 113.395 63.2215 113.475 63.1455C113.559 63.0655 113.651 62.9975 113.751 62.9415C113.851 62.8855 113.953 62.8435 114.057 62.8155C114.165 62.7875 114.269 62.7735 114.369 62.7735C114.621 62.7735 114.831 62.8235 114.999 62.9235C115.167 63.0235 115.293 63.1715 115.377 63.3675C115.461 63.5595 115.503 63.7975 115.503 64.0815V66.0195H114.537V64.1535C114.537 63.9655 114.497 63.8255 114.417 63.7335C114.341 63.6375 114.225 63.5895 114.069 63.5895C113.985 63.5895 113.907 63.6035 113.835 63.6315C113.767 63.6555 113.707 63.6935 113.655 63.7455C113.607 63.7935 113.569 63.8495 113.541 63.9135C113.513 63.9775 113.499 64.0495 113.499 64.1295V66.0195H112.533V64.1475C112.533 63.9675 112.491 63.8295 112.407 63.7335C112.327 63.6375 112.213 63.5895 112.065 63.5895C111.985 63.5895 111.909 63.6035 111.837 63.6315C111.769 63.6555 111.709 63.6935 111.657 63.7455C111.609 63.7935 111.571 63.8495 111.543 63.9135C111.515 63.9775 111.501 64.0495 111.501 64.1295V66.0195H110.529ZM118.005 66.0195V64.0635C118.005 63.8995 117.959 63.7795 117.867 63.7035C117.779 63.6235 117.655 63.5835 117.495 63.5835C117.339 63.5835 117.199 63.6135 117.075 63.6735C116.955 63.7295 116.839 63.8235 116.727 63.9555L116.151 63.3975C116.343 63.2015 116.563 63.0475 116.811 62.9355C117.059 62.8235 117.329 62.7675 117.621 62.7675C117.889 62.7675 118.121 62.8075 118.317 62.8875C118.513 62.9675 118.665 63.0895 118.773 63.2535C118.881 63.4175 118.935 63.6255 118.935 63.8775V66.0195H118.005ZM117.177 66.0795C116.977 66.0795 116.795 66.0395 116.631 65.9595C116.471 65.8795 116.343 65.7695 116.247 65.6295C116.155 65.4855 116.109 65.3175 116.109 65.1255C116.109 64.9615 116.139 64.8175 116.199 64.6935C116.259 64.5695 116.347 64.4675 116.463 64.3875C116.583 64.3035 116.731 64.2415 116.907 64.2015C117.087 64.1575 117.295 64.1355 117.531 64.1355H118.497L118.443 64.7415H117.555C117.471 64.7415 117.397 64.7495 117.333 64.7655C117.269 64.7775 117.215 64.7995 117.171 64.8315C117.127 64.8595 117.093 64.8935 117.069 64.9335C117.049 64.9735 117.039 65.0215 117.039 65.0775C117.039 65.1375 117.055 65.1895 117.087 65.2335C117.119 65.2775 117.161 65.3115 117.213 65.3355C117.269 65.3595 117.333 65.3715 117.405 65.3715C117.509 65.3715 117.607 65.3555 117.699 65.3235C117.795 65.2875 117.879 65.2375 117.951 65.1735C118.027 65.1095 118.087 65.0355 118.131 64.9515L118.299 65.3835C118.215 65.5195 118.113 65.6395 117.993 65.7435C117.877 65.8475 117.749 65.9295 117.609 65.9895C117.473 66.0495 117.329 66.0795 117.177 66.0795ZM119.759 66.0195V62.8335H120.725V66.0195H119.759ZM120.245 62.2035C120.061 62.2035 119.917 62.1615 119.813 62.0775C119.713 61.9895 119.663 61.8655 119.663 61.7055C119.663 61.5575 119.715 61.4375 119.819 61.3455C119.923 61.2535 120.065 61.2075 120.245 61.2075C120.421 61.2075 120.559 61.2515 120.659 61.3395C120.763 61.4235 120.815 61.5455 120.815 61.7055C120.815 61.8535 120.763 61.9735 120.659 62.0655C120.559 62.1575 120.421 62.2035 120.245 62.2035ZM121.633 66.0195V61.5795H122.599V66.0195H121.633ZM123.797 66.0855C123.633 66.0855 123.505 66.0395 123.413 65.9475C123.325 65.8515 123.281 65.7175 123.281 65.5455C123.281 65.3855 123.327 65.2555 123.419 65.1555C123.515 65.0515 123.641 64.9995 123.797 64.9995C123.961 64.9995 124.089 65.0475 124.181 65.1435C124.273 65.2355 124.319 65.3695 124.319 65.5455C124.319 65.7055 124.269 65.8355 124.169 65.9355C124.073 66.0355 123.949 66.0855 123.797 66.0855ZM125.332 66.0855C125.168 66.0855 125.04 66.0395 124.948 65.9475C124.86 65.8515 124.816 65.7175 124.816 65.5455C124.816 65.3855 124.862 65.2555 124.954 65.1555C125.05 65.0515 125.176 64.9995 125.332 64.9995C125.496 64.9995 125.624 65.0475 125.716 65.1435C125.808 65.2355 125.854 65.3695 125.854 65.5455C125.854 65.7055 125.804 65.8355 125.704 65.9355C125.608 66.0355 125.484 66.0855 125.332 66.0855ZM126.868 66.0855C126.704 66.0855 126.576 66.0395 126.484 65.9475C126.396 65.8515 126.352 65.7175 126.352 65.5455C126.352 65.3855 126.398 65.2555 126.49 65.1555C126.586 65.0515 126.712 64.9995 126.868 64.9995C127.032 64.9995 127.16 65.0475 127.252 65.1435C127.344 65.2355 127.39 65.3695 127.39 65.5455C127.39 65.7055 127.34 65.8355 127.24 65.9355C127.144 66.0355 127.02 66.0855 126.868 66.0855Z",fill:"#DCDDE3"}),n.jsx("path",{d:"M195.232 64L195.005 61.871C194.94 61.2615 195.542 60.8142 196.075 61.0767L200.57 63.2922C201.143 63.5751 201.143 64.4249 200.57 64.7078L196.075 66.9233C195.542 67.1858 194.94 66.7385 195.005 66.129L195.232 64ZM195.232 64H197.866",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"73",y:"90.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"103",y:"90.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"133",y:"90.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"163",y:"90.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"193",y:"90.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"100",y:"100.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"124",y:"100.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"100.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"172",y:"100.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"121.5",y:"123.02",width:"43",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M1 81.0195L285 81.0196",stroke:"#EDF1F5",strokeWidth:"0.5"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_5080_157048",x1:"143",y1:"100.9",x2:"143",y2:"144.9",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F4F7FB"}),n.jsx("stop",{offset:"1",stopColor:"#F4F7FB",stopOpacity:"0"})]}),n.jsx("clipPath",{id:"clip0_5080_157048",children:n.jsx("rect",{width:"76",height:"13",fill:"white",transform:"translate(105 16.0195)"})})]})]})}},{value:"preset_5",label:"Footer Preset 5",icon:{desktop:n.jsxs("svg",{width:"286",height:"113",viewBox:"0 0 286 113",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"112",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"112",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14.125",y:"16.125",width:"257.75",height:"27.75",rx:"1.875",fill:"url(#paint0_linear_4904_157605)"}),n.jsx("rect",{x:"14.125",y:"16.125",width:"257.75",height:"27.75",rx:"1.875",stroke:"#E3E8EE",strokeWidth:"0.25"}),n.jsx("rect",{x:"22",y:"25.5",width:"33",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"32.5",width:"60",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"138.25",y:"24.25",width:"125.5",height:"11.5",rx:"5.75",fill:"white"}),n.jsx("rect",{x:"138.25",y:"24.25",width:"125.5",height:"11.5",rx:"5.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M143.887 32V27.8H146.815V28.676H144.889V31.124H146.881V32H143.887ZM144.373 30.284V29.444H146.551V30.284H144.373ZM147.658 32V28.814H148.576L148.612 29.462L148.414 29.534C148.458 29.39 148.536 29.26 148.648 29.144C148.764 29.024 148.902 28.928 149.062 28.856C149.222 28.784 149.39 28.748 149.566 28.748C149.806 28.748 150.008 28.798 150.172 28.898C150.336 28.994 150.458 29.14 150.538 29.336C150.622 29.528 150.664 29.766 150.664 30.05V32H149.698V30.122C149.698 29.994 149.68 29.888 149.644 29.804C149.608 29.72 149.554 29.658 149.482 29.618C149.41 29.578 149.32 29.56 149.212 29.564C149.128 29.564 149.05 29.578 148.978 29.606C148.906 29.63 148.842 29.668 148.786 29.72C148.734 29.768 148.694 29.824 148.666 29.888C148.638 29.952 148.624 30.024 148.624 30.104V32H148.138C148.034 32 147.94 32 147.856 32C147.776 32 147.71 32 147.658 32ZM151.737 32V28.01H152.703V32H151.737ZM151.173 29.66V28.814H153.315V29.66H151.173ZM155.358 32.06C155.006 32.06 154.698 31.99 154.434 31.85C154.174 31.71 153.972 31.518 153.828 31.274C153.688 31.026 153.618 30.744 153.618 30.428C153.618 30.18 153.658 29.954 153.738 29.75C153.818 29.542 153.93 29.364 154.074 29.216C154.222 29.068 154.394 28.954 154.59 28.874C154.79 28.79 155.008 28.748 155.244 28.748C155.468 28.748 155.672 28.788 155.856 28.868C156.04 28.948 156.2 29.06 156.336 29.204C156.472 29.348 156.576 29.518 156.648 29.714C156.72 29.91 156.754 30.124 156.75 30.356L156.744 30.62H154.212L154.068 30.074H155.958L155.856 30.182V30.062C155.848 29.962 155.816 29.876 155.76 29.804C155.708 29.728 155.638 29.668 155.55 29.624C155.466 29.58 155.37 29.558 155.262 29.558C155.102 29.558 154.966 29.59 154.854 29.654C154.746 29.714 154.664 29.802 154.608 29.918C154.552 30.034 154.524 30.178 154.524 30.35C154.524 30.522 154.56 30.674 154.632 30.806C154.708 30.938 154.816 31.04 154.956 31.112C155.1 31.184 155.27 31.22 155.466 31.22C155.598 31.22 155.718 31.2 155.826 31.16C155.934 31.12 156.05 31.052 156.174 30.956L156.624 31.592C156.5 31.696 156.368 31.784 156.228 31.856C156.088 31.924 155.944 31.974 155.796 32.006C155.652 32.042 155.506 32.06 155.358 32.06ZM157.362 32V28.814H158.28L158.322 29.852L158.142 29.648C158.194 29.48 158.274 29.328 158.382 29.192C158.49 29.056 158.618 28.948 158.766 28.868C158.918 28.788 159.076 28.748 159.24 28.748C159.312 28.748 159.378 28.754 159.438 28.766C159.502 28.774 159.558 28.788 159.606 28.808L159.348 29.87C159.304 29.846 159.244 29.826 159.168 29.81C159.096 29.79 159.02 29.78 158.94 29.78C158.852 29.78 158.77 29.796 158.694 29.828C158.622 29.856 158.558 29.898 158.502 29.954C158.45 30.01 158.408 30.076 158.376 30.152C158.348 30.228 158.334 30.314 158.334 30.41V32H157.362ZM163.532 32.06C163.18 32.06 162.872 31.99 162.608 31.85C162.348 31.71 162.146 31.518 162.002 31.274C161.862 31.026 161.792 30.744 161.792 30.428C161.792 30.18 161.832 29.954 161.912 29.75C161.992 29.542 162.104 29.364 162.248 29.216C162.396 29.068 162.568 28.954 162.764 28.874C162.964 28.79 163.182 28.748 163.418 28.748C163.642 28.748 163.846 28.788 164.03 28.868C164.214 28.948 164.374 29.06 164.51 29.204C164.646 29.348 164.75 29.518 164.822 29.714C164.894 29.91 164.928 30.124 164.924 30.356L164.918 30.62H162.386L162.242 30.074H164.132L164.03 30.182V30.062C164.022 29.962 163.99 29.876 163.934 29.804C163.882 29.728 163.812 29.668 163.724 29.624C163.64 29.58 163.544 29.558 163.436 29.558C163.276 29.558 163.14 29.59 163.028 29.654C162.92 29.714 162.838 29.802 162.782 29.918C162.726 30.034 162.698 30.178 162.698 30.35C162.698 30.522 162.734 30.674 162.806 30.806C162.882 30.938 162.99 31.04 163.13 31.112C163.274 31.184 163.444 31.22 163.64 31.22C163.772 31.22 163.892 31.2 164 31.16C164.108 31.12 164.224 31.052 164.348 30.956L164.798 31.592C164.674 31.696 164.542 31.784 164.402 31.856C164.262 31.924 164.118 31.974 163.97 32.006C163.826 32.042 163.68 32.06 163.532 32.06ZM165.529 32V28.814H166.447L166.477 29.39L166.345 29.402C166.389 29.298 166.449 29.206 166.525 29.126C166.601 29.046 166.685 28.98 166.777 28.928C166.873 28.872 166.973 28.83 167.077 28.802C167.181 28.77 167.285 28.754 167.389 28.754C167.549 28.754 167.691 28.778 167.815 28.826C167.943 28.874 168.053 28.952 168.145 29.06C168.241 29.168 168.317 29.312 168.373 29.492L168.229 29.468L168.271 29.384C168.327 29.288 168.395 29.202 168.475 29.126C168.559 29.046 168.651 28.978 168.751 28.922C168.851 28.866 168.953 28.824 169.057 28.796C169.165 28.768 169.269 28.754 169.369 28.754C169.621 28.754 169.831 28.804 169.999 28.904C170.167 29.004 170.293 29.152 170.377 29.348C170.461 29.54 170.503 29.778 170.503 30.062V32H169.537V30.134C169.537 29.946 169.497 29.806 169.417 29.714C169.341 29.618 169.225 29.57 169.069 29.57C168.985 29.57 168.907 29.584 168.835 29.612C168.767 29.636 168.707 29.674 168.655 29.726C168.607 29.774 168.569 29.83 168.541 29.894C168.513 29.958 168.499 30.03 168.499 30.11V32H167.533V30.128C167.533 29.948 167.491 29.81 167.407 29.714C167.327 29.618 167.213 29.57 167.065 29.57C166.985 29.57 166.909 29.584 166.837 29.612C166.769 29.636 166.709 29.674 166.657 29.726C166.609 29.774 166.571 29.83 166.543 29.894C166.515 29.958 166.501 30.03 166.501 30.11V32H165.529ZM173.005 32V30.044C173.005 29.88 172.959 29.76 172.867 29.684C172.779 29.604 172.655 29.564 172.495 29.564C172.339 29.564 172.199 29.594 172.075 29.654C171.955 29.71 171.839 29.804 171.727 29.936L171.151 29.378C171.343 29.182 171.563 29.028 171.811 28.916C172.059 28.804 172.329 28.748 172.621 28.748C172.889 28.748 173.121 28.788 173.317 28.868C173.513 28.948 173.665 29.07 173.773 29.234C173.881 29.398 173.935 29.606 173.935 29.858V32H173.005ZM172.177 32.06C171.977 32.06 171.795 32.02 171.631 31.94C171.471 31.86 171.343 31.75 171.247 31.61C171.155 31.466 171.109 31.298 171.109 31.106C171.109 30.942 171.139 30.798 171.199 30.674C171.259 30.55 171.347 30.448 171.463 30.368C171.583 30.284 171.731 30.222 171.907 30.182C172.087 30.138 172.295 30.116 172.531 30.116H173.497L173.443 30.722H172.555C172.471 30.722 172.397 30.73 172.333 30.746C172.269 30.758 172.215 30.78 172.171 30.812C172.127 30.84 172.093 30.874 172.069 30.914C172.049 30.954 172.039 31.002 172.039 31.058C172.039 31.118 172.055 31.17 172.087 31.214C172.119 31.258 172.161 31.292 172.213 31.316C172.269 31.34 172.333 31.352 172.405 31.352C172.509 31.352 172.607 31.336 172.699 31.304C172.795 31.268 172.879 31.218 172.951 31.154C173.027 31.09 173.087 31.016 173.131 30.932L173.299 31.364C173.215 31.5 173.113 31.62 172.993 31.724C172.877 31.828 172.749 31.91 172.609 31.97C172.473 32.03 172.329 32.06 172.177 32.06ZM174.759 32V28.814H175.725V32H174.759ZM175.245 28.184C175.061 28.184 174.917 28.142 174.813 28.058C174.713 27.97 174.663 27.846 174.663 27.686C174.663 27.538 174.715 27.418 174.819 27.326C174.923 27.234 175.065 27.188 175.245 27.188C175.421 27.188 175.559 27.232 175.659 27.32C175.763 27.404 175.815 27.526 175.815 27.686C175.815 27.834 175.763 27.954 175.659 28.046C175.559 28.138 175.421 28.184 175.245 28.184ZM176.633 32V27.56H177.599V32H176.633ZM178.797 32.066C178.633 32.066 178.505 32.02 178.413 31.928C178.325 31.832 178.281 31.698 178.281 31.526C178.281 31.366 178.327 31.236 178.419 31.136C178.515 31.032 178.641 30.98 178.797 30.98C178.961 30.98 179.089 31.028 179.181 31.124C179.273 31.216 179.319 31.35 179.319 31.526C179.319 31.686 179.269 31.816 179.169 31.916C179.073 32.016 178.949 32.066 178.797 32.066ZM180.332 32.066C180.168 32.066 180.04 32.02 179.948 31.928C179.86 31.832 179.816 31.698 179.816 31.526C179.816 31.366 179.862 31.236 179.954 31.136C180.05 31.032 180.176 30.98 180.332 30.98C180.496 30.98 180.624 31.028 180.716 31.124C180.808 31.216 180.854 31.35 180.854 31.526C180.854 31.686 180.804 31.816 180.704 31.916C180.608 32.016 180.484 32.066 180.332 32.066ZM181.868 32.066C181.704 32.066 181.576 32.02 181.484 31.928C181.396 31.832 181.352 31.698 181.352 31.526C181.352 31.366 181.398 31.236 181.49 31.136C181.586 31.032 181.712 30.98 181.868 30.98C182.032 30.98 182.16 31.028 182.252 31.124C182.344 31.216 182.39 31.35 182.39 31.526C182.39 31.686 182.34 31.816 182.24 31.916C182.144 32.016 182.02 32.066 181.868 32.066Z",fill:"#DCDDE3"}),n.jsx("path",{d:"M255.155 30L255.003 28.5806C254.96 28.1744 255.362 27.8761 255.717 28.0511L258.713 29.5281C259.096 29.7167 259.096 30.2833 258.713 30.4719L255.717 31.9489C255.362 32.1239 254.96 31.8256 255.003 31.4194L255.155 30ZM255.155 30H256.911",stroke:"#A1ABB7",strokeWidth:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"14",y:"54",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"29",y:"54",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"44",y:"54",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"59",y:"54",width:"10",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"233",y:"52",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"244",y:"52",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"255",y:"52",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"266",y:"52",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 66.25H272V65.75H14V66.25Z",fill:"#E3E8EE",mask:"url(#path-18-inside-1_4904_157605)"}),n.jsxs("g",{clipPath:"url(#clip0_4904_157605)",children:[n.jsx("path",{d:"M125.355 78.2969L123.076 81.8534V84.1286H121.783V81.8534L119.513 78.2969H120.978L122.434 80.5721L123.89 78.2969H125.355Z",fill:"#FFC900"}),n.jsx("path",{d:"M126.795 79.8906C127.48 79.8906 127.994 80.2192 128.199 80.6134L128.277 79.9728H129.493V84.1289H128.277L128.199 83.4883C127.994 83.8825 127.48 84.2111 126.795 84.2111C125.552 84.2111 124.67 83.2419 124.67 82.0509C124.67 80.8599 125.552 79.8906 126.795 79.8906ZM127.017 83.0365C127.643 83.0365 128.045 82.5847 128.045 82.0509C128.045 81.5169 127.643 81.057 127.017 81.057C126.383 81.057 125.964 81.5169 125.964 82.0509C125.964 82.5847 126.383 83.0365 127.017 83.0365Z",fill:"#FFC900"}),n.jsx("path",{d:"M131.386 79.9727L132.508 82.5846L133.622 79.9727H135.01L132.337 86.018H130.975L131.814 84.1288L129.998 79.9727H131.386Z",fill:"#FFC900"}),n.jsx("path",{d:"M142.116 79.1676C140.968 79.1676 140 80.0136 140 81.2128C140 82.4121 140.968 83.2581 142.116 83.2581C142.99 83.2581 143.555 82.8392 143.769 82.6174V83.6359C143.504 83.8577 142.913 84.2109 141.988 84.2109C140.291 84.2109 138.946 82.9049 138.946 81.2129C138.946 79.5208 140.291 78.2148 141.988 78.2148C142.913 78.2148 143.504 78.568 143.769 78.7898V79.8083C143.547 79.5783 142.99 79.1676 142.116 79.1676Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M144.395 82.0508C144.395 80.8598 145.363 79.8906 146.725 79.8906C148.078 79.8906 149.038 80.8598 149.038 82.0508C149.038 83.2418 148.078 84.211 146.725 84.211C145.363 84.211 144.395 83.2418 144.395 82.0508ZM147.984 82.0508C147.984 81.3937 147.461 80.8434 146.725 80.8434C145.979 80.8434 145.448 81.3937 145.448 82.0508C145.448 82.7079 145.979 83.2583 146.725 83.2583C147.461 83.2583 147.984 82.7079 147.984 82.0508Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M156.508 81.5169V84.1289H155.454V81.8619C155.454 81.2541 155.189 80.8434 154.683 80.8434C154.058 80.8434 153.681 81.4841 153.655 82.3383V84.1289H152.602V81.8619C152.602 81.2541 152.336 80.8434 151.831 80.8434C151.205 80.8434 150.828 81.4841 150.794 82.3383V84.1289H149.74V79.9728H150.734L150.785 80.5559C151.162 80.1699 151.651 79.8906 152.233 79.8906C152.867 79.8906 153.295 80.2027 153.501 80.7038C153.904 80.2438 154.435 79.8906 155.094 79.8906C156.02 79.8906 156.508 80.5641 156.508 81.5169Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M164.175 81.5169V84.1289H163.121V81.8619C163.121 81.2541 162.856 80.8434 162.35 80.8434C161.725 80.8434 161.348 81.4841 161.322 82.3383V84.1289H160.269V81.8619C160.269 81.2541 160.003 80.8434 159.498 80.8434C158.872 80.8434 158.495 81.4841 158.461 82.3383V84.1289H157.407V79.9728H158.401L158.452 80.5559C158.829 80.1699 159.318 79.8906 159.9 79.8906C160.534 79.8906 160.962 80.2027 161.168 80.7038C161.571 80.2438 162.102 79.8906 162.761 79.8906C163.687 79.8906 164.175 80.5641 164.175 81.5169Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M169.179 82.363H165.897C165.923 82.8722 166.326 83.3158 167.088 83.3158C167.637 83.3158 167.988 83.0365 168.159 82.749L169.084 82.8476C168.956 83.4143 168.279 84.2111 167.08 84.2111C165.743 84.2111 164.844 83.2418 164.844 82.0262C164.844 80.8681 165.7 79.8906 167.011 79.8906C168.348 79.8906 169.179 80.9091 169.179 82.1001V82.363ZM165.897 81.6648H168.125C168.091 81.2048 167.671 80.7859 167.011 80.7859C166.369 80.7859 165.923 81.1884 165.897 81.6648Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M172.391 80.0713L172.237 80.9502C172.151 80.9009 171.98 80.8434 171.808 80.8434C171.243 80.8434 170.935 81.4019 170.935 82.2808V84.1289H169.881V79.9727H170.875L170.917 80.4245C171.192 80.1042 171.509 79.8906 171.868 79.8906C172.117 79.8906 172.297 79.981 172.391 80.0713Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M174.978 80.8434C174.335 80.8434 173.693 81.328 173.693 82.0508C173.693 82.7736 174.335 83.2583 174.978 83.2583C175.38 83.2583 175.74 83.1269 176.083 82.8147V83.7839C175.792 84.0303 175.363 84.211 174.806 84.211C173.521 84.211 172.579 83.2254 172.579 82.0508C172.579 80.8845 173.521 79.8906 174.806 79.8906C175.363 79.8906 175.792 80.0713 176.083 80.3177V81.2787C175.74 80.9666 175.38 80.8434 174.978 80.8434Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M181 82.363H177.719C177.744 82.8722 178.147 83.3158 178.91 83.3158C179.458 83.3158 179.809 83.0365 179.98 82.749L180.906 82.8476C180.777 83.4143 180.1 84.2111 178.901 84.2111C177.565 84.2111 176.665 83.2418 176.665 82.0262C176.665 80.8681 177.522 79.8906 178.832 79.8906C180.169 79.8906 181 80.9091 181 82.1001V82.363ZM177.719 81.6648H179.946C179.912 81.2048 179.492 80.7859 178.832 80.7859C178.19 80.7859 177.744 81.1884 177.719 81.6648Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M135.573 83.6133C135.573 83.276 135.847 83.0137 136.199 83.0137C136.55 83.0137 136.824 83.276 136.824 83.6133C136.824 83.9505 136.55 84.2128 136.199 84.2128C135.847 84.2128 135.573 83.9505 135.573 83.6133Z",fill:"#FFC900"}),n.jsx("path",{d:"M136.541 78.2969H137.833L136.969 82.3865H135.923L136.541 78.2969Z",fill:"#FFC900"}),n.jsx("path",{d:"M114.798 75.3018C114.798 76.0208 114.19 76.6036 113.44 76.6036C112.69 76.6036 112.082 76.0208 112.082 75.3018C112.082 74.5828 112.69 74 113.44 74C114.19 74 114.798 74.5828 114.798 75.3018ZM105.247 78.6704C104.954 78.6986 104.907 79.0899 105.186 79.1804C106.96 79.7558 109.513 80.2958 110.773 80.5475C111.207 80.6342 111.488 81.0379 111.407 81.4559C111.047 83.3043 110.376 85.2789 109.951 86.6615C109.87 86.9247 110.211 87.1159 110.41 86.9187C115.002 82.3692 117.582 77.6968 118.531 75.7719C118.649 75.5337 118.368 75.2973 118.136 75.4383C114.616 77.5762 107.935 78.4114 105.247 78.6704Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"92",y:"95",width:"102",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_4904_157605",x1:"143",y1:"50.3636",x2:"143",y2:"16",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F4F7FB"}),n.jsx("stop",{offset:"1",stopColor:"#F4F7FB",stopOpacity:"0"})]}),n.jsx("clipPath",{id:"clip0_4904_157605",children:n.jsx("rect",{width:"76",height:"13",fill:"white",transform:"translate(105 74)"})})]})]}),mobile:n.jsxs("svg",{width:"286",height:"149",viewBox:"0 0 286 149",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"147",rx:"4.5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"147",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14.125",y:"16.1445",width:"257.75",height:"52.75",rx:"1.875",fill:"url(#paint0_linear_5080_157143)"}),n.jsx("rect",{x:"14.125",y:"16.1445",width:"257.75",height:"52.75",rx:"1.875",stroke:"#E3E8EE",strokeWidth:"0.25"}),n.jsx("rect",{x:"126.5",y:"26.0195",width:"33",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"113",y:"35.0195",width:"60",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"24.25",y:"43.2695",width:"237.5",height:"15.5",rx:"1.75",fill:"white"}),n.jsx("rect",{x:"24.25",y:"43.2695",width:"237.5",height:"15.5",rx:"1.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M32.8872 53.0195V48.8195H35.8152V49.6955H33.8892V52.1435H35.8812V53.0195H32.8872ZM33.3732 51.3035V50.4635H35.5512V51.3035H33.3732ZM36.6584 53.0195V49.8335H37.5764L37.6124 50.4815L37.4144 50.5535C37.4584 50.4095 37.5364 50.2795 37.6484 50.1635C37.7644 50.0435 37.9024 49.9475 38.0624 49.8755C38.2224 49.8035 38.3904 49.7675 38.5664 49.7675C38.8064 49.7675 39.0084 49.8175 39.1724 49.9175C39.3364 50.0135 39.4584 50.1595 39.5384 50.3555C39.6224 50.5475 39.6644 50.7855 39.6644 51.0695V53.0195H38.6984V51.1415C38.6984 51.0135 38.6804 50.9075 38.6444 50.8235C38.6084 50.7395 38.5544 50.6775 38.4824 50.6375C38.4104 50.5975 38.3204 50.5795 38.2124 50.5835C38.1284 50.5835 38.0504 50.5975 37.9784 50.6255C37.9064 50.6495 37.8424 50.6875 37.7864 50.7395C37.7344 50.7875 37.6944 50.8435 37.6664 50.9075C37.6384 50.9715 37.6244 51.0435 37.6244 51.1235V53.0195H37.1384C37.0344 53.0195 36.9404 53.0195 36.8564 53.0195C36.7764 53.0195 36.7104 53.0195 36.6584 53.0195ZM40.7369 53.0195V49.0295H41.7029V53.0195H40.7369ZM40.1729 50.6795V49.8335H42.3149V50.6795H40.1729ZM44.3581 53.0795C44.0061 53.0795 43.6981 53.0095 43.4341 52.8695C43.1741 52.7295 42.9721 52.5375 42.8281 52.2935C42.6881 52.0455 42.6181 51.7635 42.6181 51.4475C42.6181 51.1995 42.6581 50.9735 42.7381 50.7695C42.8181 50.5615 42.9301 50.3835 43.0741 50.2355C43.2221 50.0875 43.3941 49.9735 43.5901 49.8935C43.7901 49.8095 44.0081 49.7675 44.2441 49.7675C44.4681 49.7675 44.6721 49.8075 44.8561 49.8875C45.0401 49.9675 45.2001 50.0795 45.3361 50.2235C45.4721 50.3675 45.5761 50.5375 45.6481 50.7335C45.7201 50.9295 45.7541 51.1435 45.7501 51.3755L45.7441 51.6395H43.2121L43.0681 51.0935H44.9581L44.8561 51.2015V51.0815C44.8481 50.9815 44.8161 50.8955 44.7601 50.8235C44.7081 50.7475 44.6381 50.6875 44.5501 50.6435C44.4661 50.5995 44.3701 50.5775 44.2621 50.5775C44.1021 50.5775 43.9661 50.6095 43.8541 50.6735C43.7461 50.7335 43.6641 50.8215 43.6081 50.9375C43.5521 51.0535 43.5241 51.1975 43.5241 51.3695C43.5241 51.5415 43.5601 51.6935 43.6321 51.8255C43.7081 51.9575 43.8161 52.0595 43.9561 52.1315C44.1001 52.2035 44.2701 52.2395 44.4661 52.2395C44.5981 52.2395 44.7181 52.2195 44.8261 52.1795C44.9341 52.1395 45.0501 52.0715 45.1741 51.9755L45.6241 52.6115C45.5001 52.7155 45.3681 52.8035 45.2281 52.8755C45.0881 52.9435 44.9441 52.9935 44.7961 53.0255C44.6521 53.0615 44.5061 53.0795 44.3581 53.0795ZM46.3615 53.0195V49.8335H47.2795L47.3215 50.8715L47.1415 50.6675C47.1935 50.4995 47.2735 50.3475 47.3815 50.2115C47.4895 50.0755 47.6175 49.9675 47.7655 49.8875C47.9175 49.8075 48.0755 49.7675 48.2395 49.7675C48.3115 49.7675 48.3775 49.7735 48.4375 49.7855C48.5015 49.7935 48.5575 49.8075 48.6055 49.8275L48.3475 50.8895C48.3035 50.8655 48.2435 50.8455 48.1675 50.8295C48.0955 50.8095 48.0195 50.7995 47.9395 50.7995C47.8515 50.7995 47.7695 50.8155 47.6935 50.8475C47.6215 50.8755 47.5575 50.9175 47.5015 50.9735C47.4495 51.0295 47.4075 51.0955 47.3755 51.1715C47.3475 51.2475 47.3335 51.3335 47.3335 51.4295V53.0195H46.3615ZM52.5319 53.0795C52.1799 53.0795 51.8719 53.0095 51.6079 52.8695C51.3479 52.7295 51.1459 52.5375 51.0019 52.2935C50.8619 52.0455 50.7919 51.7635 50.7919 51.4475C50.7919 51.1995 50.8319 50.9735 50.9119 50.7695C50.9919 50.5615 51.1039 50.3835 51.2479 50.2355C51.3959 50.0875 51.5679 49.9735 51.7639 49.8935C51.9639 49.8095 52.1819 49.7675 52.4179 49.7675C52.6419 49.7675 52.8459 49.8075 53.0299 49.8875C53.2139 49.9675 53.3739 50.0795 53.5099 50.2235C53.6459 50.3675 53.7499 50.5375 53.8219 50.7335C53.8939 50.9295 53.9279 51.1435 53.9239 51.3755L53.9179 51.6395H51.3859L51.2419 51.0935H53.1319L53.0299 51.2015V51.0815C53.0219 50.9815 52.9899 50.8955 52.9339 50.8235C52.8819 50.7475 52.8119 50.6875 52.7239 50.6435C52.6399 50.5995 52.5439 50.5775 52.4359 50.5775C52.2759 50.5775 52.1399 50.6095 52.0279 50.6735C51.9199 50.7335 51.8379 50.8215 51.7819 50.9375C51.7259 51.0535 51.6979 51.1975 51.6979 51.3695C51.6979 51.5415 51.7339 51.6935 51.8059 51.8255C51.8819 51.9575 51.9899 52.0595 52.1299 52.1315C52.2739 52.2035 52.4439 52.2395 52.6399 52.2395C52.7719 52.2395 52.8919 52.2195 52.9999 52.1795C53.1079 52.1395 53.2239 52.0715 53.3479 51.9755L53.7979 52.6115C53.6739 52.7155 53.5419 52.8035 53.4019 52.8755C53.2619 52.9435 53.1179 52.9935 52.9699 53.0255C52.8259 53.0615 52.6799 53.0795 52.5319 53.0795ZM54.5294 53.0195V49.8335H55.4474L55.4774 50.4095L55.3454 50.4215C55.3894 50.3175 55.4494 50.2255 55.5254 50.1455C55.6014 50.0655 55.6854 49.9995 55.7774 49.9475C55.8734 49.8915 55.9734 49.8495 56.0774 49.8215C56.1814 49.7895 56.2854 49.7735 56.3894 49.7735C56.5494 49.7735 56.6914 49.7975 56.8154 49.8455C56.9434 49.8935 57.0534 49.9715 57.1454 50.0795C57.2414 50.1875 57.3174 50.3315 57.3734 50.5115L57.2294 50.4875L57.2714 50.4035C57.3274 50.3075 57.3954 50.2215 57.4754 50.1455C57.5594 50.0655 57.6514 49.9975 57.7514 49.9415C57.8514 49.8855 57.9534 49.8435 58.0574 49.8155C58.1654 49.7875 58.2694 49.7735 58.3694 49.7735C58.6214 49.7735 58.8314 49.8235 58.9994 49.9235C59.1674 50.0235 59.2934 50.1715 59.3774 50.3675C59.4614 50.5595 59.5034 50.7975 59.5034 51.0815V53.0195H58.5374V51.1535C58.5374 50.9655 58.4974 50.8255 58.4174 50.7335C58.3414 50.6375 58.2254 50.5895 58.0694 50.5895C57.9854 50.5895 57.9074 50.6035 57.8354 50.6315C57.7674 50.6555 57.7074 50.6935 57.6554 50.7455C57.6074 50.7935 57.5694 50.8495 57.5414 50.9135C57.5134 50.9775 57.4994 51.0495 57.4994 51.1295V53.0195H56.5334V51.1475C56.5334 50.9675 56.4914 50.8295 56.4074 50.7335C56.3274 50.6375 56.2134 50.5895 56.0654 50.5895C55.9854 50.5895 55.9094 50.6035 55.8374 50.6315C55.7694 50.6555 55.7094 50.6935 55.6574 50.7455C55.6094 50.7935 55.5714 50.8495 55.5434 50.9135C55.5154 50.9775 55.5014 51.0495 55.5014 51.1295V53.0195H54.5294ZM62.0049 53.0195V51.0635C62.0049 50.8995 61.9589 50.7795 61.8669 50.7035C61.7789 50.6235 61.6549 50.5835 61.4949 50.5835C61.3389 50.5835 61.1989 50.6135 61.0749 50.6735C60.9549 50.7295 60.8389 50.8235 60.7269 50.9555L60.1509 50.3975C60.3429 50.2015 60.5629 50.0475 60.8109 49.9355C61.0589 49.8235 61.3289 49.7675 61.6209 49.7675C61.8889 49.7675 62.1209 49.8075 62.3169 49.8875C62.5129 49.9675 62.6649 50.0895 62.7729 50.2535C62.8809 50.4175 62.9349 50.6255 62.9349 50.8775V53.0195H62.0049ZM61.1769 53.0795C60.9769 53.0795 60.7949 53.0395 60.6309 52.9595C60.4709 52.8795 60.3429 52.7695 60.2469 52.6295C60.1549 52.4855 60.1089 52.3175 60.1089 52.1255C60.1089 51.9615 60.1389 51.8175 60.1989 51.6935C60.2589 51.5695 60.3469 51.4675 60.4629 51.3875C60.5829 51.3035 60.7309 51.2415 60.9069 51.2015C61.0869 51.1575 61.2949 51.1355 61.5309 51.1355H62.4969L62.4429 51.7415H61.5549C61.4709 51.7415 61.3969 51.7495 61.3329 51.7655C61.2689 51.7775 61.2149 51.7995 61.1709 51.8315C61.1269 51.8595 61.0929 51.8935 61.0689 51.9335C61.0489 51.9735 61.0389 52.0215 61.0389 52.0775C61.0389 52.1375 61.0549 52.1895 61.0869 52.2335C61.1189 52.2775 61.1609 52.3115 61.2129 52.3355C61.2689 52.3595 61.3329 52.3715 61.4049 52.3715C61.5089 52.3715 61.6069 52.3555 61.6989 52.3235C61.7949 52.2875 61.8789 52.2375 61.9509 52.1735C62.0269 52.1095 62.0869 52.0355 62.1309 51.9515L62.2989 52.3835C62.2149 52.5195 62.1129 52.6395 61.9929 52.7435C61.8769 52.8475 61.7489 52.9295 61.6089 52.9895C61.4729 53.0495 61.3289 53.0795 61.1769 53.0795ZM63.7593 53.0195V49.8335H64.7253V53.0195H63.7593ZM64.2453 49.2035C64.0613 49.2035 63.9173 49.1615 63.8133 49.0775C63.7133 48.9895 63.6633 48.8655 63.6633 48.7055C63.6633 48.5575 63.7153 48.4375 63.8193 48.3455C63.9233 48.2535 64.0653 48.2075 64.2453 48.2075C64.4213 48.2075 64.5593 48.2515 64.6593 48.3395C64.7633 48.4235 64.8153 48.5455 64.8153 48.7055C64.8153 48.8535 64.7633 48.9735 64.6593 49.0655C64.5593 49.1575 64.4213 49.2035 64.2453 49.2035ZM65.633 53.0195V48.5795H66.599V53.0195H65.633ZM67.7973 53.0855C67.6333 53.0855 67.5053 53.0395 67.4133 52.9475C67.3253 52.8515 67.2813 52.7175 67.2813 52.5455C67.2813 52.3855 67.3273 52.2555 67.4193 52.1555C67.5153 52.0515 67.6413 51.9995 67.7973 51.9995C67.9613 51.9995 68.0893 52.0475 68.1813 52.1435C68.2733 52.2355 68.3193 52.3695 68.3193 52.5455C68.3193 52.7055 68.2693 52.8355 68.1693 52.9355C68.0733 53.0355 67.9493 53.0855 67.7973 53.0855ZM69.3325 53.0855C69.1685 53.0855 69.0405 53.0395 68.9485 52.9475C68.8605 52.8515 68.8165 52.7175 68.8165 52.5455C68.8165 52.3855 68.8625 52.2555 68.9545 52.1555C69.0505 52.0515 69.1765 51.9995 69.3325 51.9995C69.4965 51.9995 69.6245 52.0475 69.7165 52.1435C69.8085 52.2355 69.8545 52.3695 69.8545 52.5455C69.8545 52.7055 69.8045 52.8355 69.7045 52.9355C69.6085 53.0355 69.4845 53.0855 69.3325 53.0855ZM70.8676 53.0855C70.7036 53.0855 70.5756 53.0395 70.4836 52.9475C70.3956 52.8515 70.3516 52.7175 70.3516 52.5455C70.3516 52.3855 70.3976 52.2555 70.4896 52.1555C70.5856 52.0515 70.7116 51.9995 70.8676 51.9995C71.0316 51.9995 71.1596 52.0475 71.2516 52.1435C71.3436 52.2355 71.3896 52.3695 71.3896 52.5455C71.3896 52.7055 71.3396 52.8355 71.2396 52.9355C71.1436 53.0355 71.0196 53.0855 70.8676 53.0855Z",fill:"#DCDDE3"}),n.jsx("path",{d:"M251.232 51L251.005 48.871C250.94 48.2615 251.542 47.8142 252.075 48.0767L256.57 50.2922C257.143 50.5751 257.143 51.4249 256.57 51.7078L252.075 53.9233C251.542 54.1858 250.94 53.7385 251.005 53.129L251.232 51ZM251.232 51H253.866",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"88",y:"77.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"118",y:"77.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"77.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"178",y:"77.0195",width:"20",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"116",y:"85.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"85.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"85.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"164",y:"85.0195",width:"6",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 99.2695H272V98.7695H14V99.2695Z",fill:"#E3E8EE",mask:"url(#path-19-inside-1_5080_157143)"}),n.jsxs("g",{clipPath:"url(#clip0_5080_157143)",children:[n.jsx("path",{d:"M125.355 113.316L123.076 116.873V119.148H121.783V116.873L119.513 113.316H120.978L122.434 115.592L123.89 113.316H125.355Z",fill:"#FFC900"}),n.jsx("path",{d:"M126.795 114.91C127.48 114.91 127.994 115.239 128.199 115.633L128.277 114.992H129.493V119.148H128.277L128.199 118.508C127.994 118.902 127.48 119.231 126.795 119.231C125.552 119.231 124.67 118.261 124.67 117.07C124.67 115.879 125.552 114.91 126.795 114.91ZM127.017 118.056C127.643 118.056 128.045 117.604 128.045 117.07C128.045 116.536 127.643 116.077 127.017 116.077C126.383 116.077 125.964 116.536 125.964 117.07C125.964 117.604 126.383 118.056 127.017 118.056Z",fill:"#FFC900"}),n.jsx("path",{d:"M131.386 114.992L132.508 117.604L133.622 114.992H135.01L132.337 121.038H130.975L131.814 119.148L129.998 114.992H131.386Z",fill:"#FFC900"}),n.jsx("path",{d:"M142.116 114.187C140.968 114.187 140 115.033 140 116.232C140 117.432 140.968 118.278 142.116 118.278C142.99 118.278 143.555 117.859 143.769 117.637V118.655C143.504 118.877 142.913 119.23 141.988 119.23C140.291 119.23 138.946 117.924 138.946 116.232C138.946 114.54 140.291 113.234 141.988 113.234C142.913 113.234 143.504 113.588 143.769 113.809V114.828C143.547 114.598 142.99 114.187 142.116 114.187Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M144.395 117.07C144.395 115.879 145.363 114.91 146.725 114.91C148.078 114.91 149.038 115.879 149.038 117.07C149.038 118.261 148.078 119.231 146.725 119.231C145.363 119.231 144.395 118.261 144.395 117.07ZM147.984 117.07C147.984 116.413 147.461 115.863 146.725 115.863C145.979 115.863 145.448 116.413 145.448 117.07C145.448 117.727 145.979 118.278 146.725 118.278C147.461 118.278 147.984 117.727 147.984 117.07Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M156.508 116.536V119.148H155.454V116.881C155.454 116.274 155.189 115.863 154.683 115.863C154.058 115.863 153.681 116.504 153.655 117.358V119.148H152.602V116.881C152.602 116.274 152.336 115.863 151.831 115.863C151.205 115.863 150.828 116.504 150.794 117.358V119.148H149.74V114.992H150.734L150.785 115.575C151.162 115.189 151.651 114.91 152.233 114.91C152.867 114.91 153.295 115.222 153.501 115.723C153.904 115.263 154.435 114.91 155.094 114.91C156.02 114.91 156.508 115.584 156.508 116.536Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M164.175 116.536V119.148H163.121V116.881C163.121 116.274 162.856 115.863 162.35 115.863C161.725 115.863 161.348 116.504 161.322 117.358V119.148H160.269V116.881C160.269 116.274 160.003 115.863 159.498 115.863C158.872 115.863 158.495 116.504 158.461 117.358V119.148H157.407V114.992H158.401L158.452 115.575C158.829 115.189 159.318 114.91 159.9 114.91C160.534 114.91 160.962 115.222 161.168 115.723C161.571 115.263 162.102 114.91 162.761 114.91C163.687 114.91 164.175 115.584 164.175 116.536Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M169.179 117.382H165.897C165.923 117.892 166.326 118.335 167.088 118.335C167.637 118.335 167.988 118.056 168.159 117.769L169.084 117.867C168.956 118.434 168.279 119.231 167.08 119.231C165.743 119.231 164.844 118.261 164.844 117.046C164.844 115.888 165.7 114.91 167.011 114.91C168.348 114.91 169.179 115.929 169.179 117.12V117.382ZM165.897 116.684H168.125C168.091 116.224 167.671 115.805 167.011 115.805C166.369 115.805 165.923 116.208 165.897 116.684Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M172.391 115.091L172.237 115.97C172.151 115.92 171.98 115.863 171.808 115.863C171.243 115.863 170.935 116.421 170.935 117.3V119.148H169.881V114.992H170.875L170.917 115.444C171.192 115.124 171.509 114.91 171.868 114.91C172.117 114.91 172.297 115 172.391 115.091Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M174.978 115.863C174.335 115.863 173.693 116.348 173.693 117.07C173.693 117.793 174.335 118.278 174.978 118.278C175.38 118.278 175.74 118.146 176.083 117.834V118.803C175.792 119.05 175.363 119.231 174.806 119.231C173.521 119.231 172.579 118.245 172.579 117.07C172.579 115.904 173.521 114.91 174.806 114.91C175.363 114.91 175.792 115.091 176.083 115.337V116.298C175.74 115.986 175.38 115.863 174.978 115.863Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M181 117.382H177.719C177.744 117.892 178.147 118.335 178.91 118.335C179.458 118.335 179.809 118.056 179.98 117.769L180.906 117.867C180.777 118.434 180.1 119.231 178.901 119.231C177.565 119.231 176.665 118.261 176.665 117.046C176.665 115.888 177.522 114.91 178.832 114.91C180.169 114.91 181 115.929 181 117.12V117.382ZM177.719 116.684H179.946C179.912 116.224 179.492 115.805 178.832 115.805C178.19 115.805 177.744 116.208 177.719 116.684Z",fill:"#A5A5A5"}),n.jsx("path",{d:"M135.573 118.631C135.573 118.294 135.847 118.031 136.199 118.031C136.55 118.031 136.824 118.294 136.824 118.631C136.824 118.968 136.55 119.23 136.199 119.23C135.847 119.23 135.573 118.968 135.573 118.631Z",fill:"#FFC900"}),n.jsx("path",{d:"M136.541 113.316H137.833L136.969 117.406H135.923L136.541 113.316Z",fill:"#FFC900"}),n.jsx("path",{d:"M114.798 110.321C114.798 111.04 114.19 111.623 113.44 111.623C112.69 111.623 112.082 111.04 112.082 110.321C112.082 109.602 112.69 109.02 113.44 109.02C114.19 109.02 114.798 109.602 114.798 110.321ZM105.247 113.69C104.954 113.718 104.907 114.109 105.186 114.2C106.96 114.775 109.513 115.315 110.773 115.567C111.207 115.654 111.488 116.057 111.407 116.475C111.047 118.324 110.376 120.298 109.951 121.681C109.87 121.944 110.211 122.135 110.41 121.938C115.002 117.389 117.582 112.716 118.531 110.791C118.649 110.553 118.368 110.317 118.136 110.458C114.616 112.596 107.935 113.431 105.247 113.69Z",fill:"#FFC900"})]}),n.jsx("rect",{x:"118.5",y:"130.02",width:"49",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_5080_157143",x1:"143",y1:"81.065",x2:"143",y2:"16.0195",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F4F7FB"}),n.jsx("stop",{offset:"1",stopColor:"#F4F7FB",stopOpacity:"0"})]}),n.jsx("clipPath",{id:"clip0_5080_157143",children:n.jsx("rect",{width:"76",height:"13",fill:"white",transform:"translate(105 109.02)"})})]})]})}},{value:"preset_13",label:"Footer Preset 13",icon:{desktop:n.jsxs("svg",{width:"286",height:"124",viewBox:"0 0 286 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"286",height:"124",rx:"5",fill:"white"}),n.jsx("path",{d:"M1 113H285V119C285 121.209 283.209 123 281 123H5C2.79086 123 1 121.209 1 119V113Z",fill:"url(#paint0_linear_4904_157707)"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"123",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14",y:"21",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"30",y:"23",width:"17",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"30",y:"29",width:"41",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"81",y:"21",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"97",y:"23",width:"17",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"97",y:"29",width:"41",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"21",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"164",y:"23",width:"17",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"164",y:"29",width:"41",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"215",y:"21",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"231",y:"23",width:"17",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"231",y:"29",width:"41",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 43.5H272V42.5H14V43.5Z",fill:"#E3E8EE",mask:"url(#path-18-inside-1_4904_157707)"}),n.jsx("rect",{x:"14",y:"51",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"24",y:"51",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"34",y:"51",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"44",y:"51",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"225",y:"51",width:"8",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"238",y:"51",width:"8",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"251",y:"51",width:"8",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"264",y:"51",width:"8",height:"5",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"68",width:"43.6",height:"32",rx:"2",fill:"url(#paint1_linear_4904_157707)"}),n.jsx("rect",{x:"19",y:"73",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"19",y:"79",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"19",y:"84",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"19",y:"89",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"19",y:"94",width:"22",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"67.5996",y:"68",width:"43.6",height:"32",rx:"2",fill:"url(#paint2_linear_4904_157707)"}),n.jsx("rect",{x:"72.5996",y:"73",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"72.5996",y:"79",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"72.5996",y:"84",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"72.5996",y:"89",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"72.5996",y:"94",width:"22",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"121.2",y:"68",width:"43.6",height:"32",rx:"2",fill:"url(#paint3_linear_4904_157707)"}),n.jsx("rect",{x:"126.2",y:"73",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"126.2",y:"79",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"126.2",y:"84",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"126.2",y:"89",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"126.2",y:"94",width:"22",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"174.8",y:"68",width:"43.6",height:"32",rx:"2",fill:"url(#paint4_linear_4904_157707)"}),n.jsx("rect",{x:"179.8",y:"73",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"179.8",y:"79",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"179.8",y:"84",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"179.8",y:"89",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"179.8",y:"94",width:"22",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"228.4",y:"66",width:"43.6",height:"36",rx:"2",fill:"url(#paint5_linear_4904_157707)"}),n.jsx("rect",{x:"233.4",y:"71",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"233.4",y:"76",width:"33.6",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"233.65",y:"81.25",width:"33.1",height:"8.5",rx:"4.25",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M259.055 85.5L258.904 84.0806C258.86 83.6744 259.262 83.3761 259.617 83.5511L262.613 85.0281C262.996 85.2167 262.996 85.7833 262.613 85.9719L259.617 87.4489C259.262 87.6239 258.86 87.3256 258.904 86.9194L259.055 85.5ZM259.055 85.5H260.811",stroke:"#A1ABB7",strokeWidth:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"233.4",y:"93",width:"17",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"115",y:"117",width:"56",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_4904_157707",x1:"143",y1:"109.5",x2:"143",y2:"123",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F4F7FB"}),n.jsx("stop",{offset:"1",stopColor:"#F4F7FB",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint1_linear_4904_157707",x1:"35.8",y1:"68",x2:"35.8",y2:"100",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint2_linear_4904_157707",x1:"89.3996",y1:"68",x2:"89.3996",y2:"100",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint3_linear_4904_157707",x1:"143",y1:"68",x2:"143",y2:"100",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint4_linear_4904_157707",x1:"196.6",y1:"68",x2:"196.6",y2:"100",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint5_linear_4904_157707",x1:"250.2",y1:"66",x2:"250.2",y2:"102",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})]})]}),mobile:n.jsxs("svg",{width:"286",height:"193",viewBox:"0 0 286 193",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{y:"0.0195312",width:"286",height:"192",rx:"5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"191",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14",y:"16.0195",width:"120",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"27.0195",width:"47",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14.25",y:"35.2695",width:"257.5",height:"19.5",rx:"1.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M22.8872 47.0195V42.8195H25.8152V43.6955H23.8892V46.1435H25.8812V47.0195H22.8872ZM23.3732 45.3035V44.4635H25.5512V45.3035H23.3732ZM26.6584 47.0195V43.8335H27.5764L27.6124 44.4815L27.4144 44.5535C27.4584 44.4095 27.5364 44.2795 27.6484 44.1635C27.7644 44.0435 27.9024 43.9475 28.0624 43.8755C28.2224 43.8035 28.3904 43.7675 28.5664 43.7675C28.8064 43.7675 29.0084 43.8175 29.1724 43.9175C29.3364 44.0135 29.4584 44.1595 29.5384 44.3555C29.6224 44.5475 29.6644 44.7855 29.6644 45.0695V47.0195H28.6984V45.1415C28.6984 45.0135 28.6804 44.9075 28.6444 44.8235C28.6084 44.7395 28.5544 44.6775 28.4824 44.6375C28.4104 44.5975 28.3204 44.5795 28.2124 44.5835C28.1284 44.5835 28.0504 44.5975 27.9784 44.6255C27.9064 44.6495 27.8424 44.6875 27.7864 44.7395C27.7344 44.7875 27.6944 44.8435 27.6664 44.9075C27.6384 44.9715 27.6244 45.0435 27.6244 45.1235V47.0195H27.1384C27.0344 47.0195 26.9404 47.0195 26.8564 47.0195C26.7764 47.0195 26.7104 47.0195 26.6584 47.0195ZM30.7369 47.0195V43.0295H31.7029V47.0195H30.7369ZM30.1729 44.6795V43.8335H32.3149V44.6795H30.1729ZM34.3581 47.0795C34.0061 47.0795 33.6981 47.0095 33.4341 46.8695C33.1741 46.7295 32.9721 46.5375 32.8281 46.2935C32.6881 46.0455 32.6181 45.7635 32.6181 45.4475C32.6181 45.1995 32.6581 44.9735 32.7381 44.7695C32.8181 44.5615 32.9301 44.3835 33.0741 44.2355C33.2221 44.0875 33.3941 43.9735 33.5901 43.8935C33.7901 43.8095 34.0081 43.7675 34.2441 43.7675C34.4681 43.7675 34.6721 43.8075 34.8561 43.8875C35.0401 43.9675 35.2001 44.0795 35.3361 44.2235C35.4721 44.3675 35.5761 44.5375 35.6481 44.7335C35.7201 44.9295 35.7541 45.1435 35.7501 45.3755L35.7441 45.6395H33.2121L33.0681 45.0935H34.9581L34.8561 45.2015V45.0815C34.8481 44.9815 34.8161 44.8955 34.7601 44.8235C34.7081 44.7475 34.6381 44.6875 34.5501 44.6435C34.4661 44.5995 34.3701 44.5775 34.2621 44.5775C34.1021 44.5775 33.9661 44.6095 33.8541 44.6735C33.7461 44.7335 33.6641 44.8215 33.6081 44.9375C33.5521 45.0535 33.5241 45.1975 33.5241 45.3695C33.5241 45.5415 33.5601 45.6935 33.6321 45.8255C33.7081 45.9575 33.8161 46.0595 33.9561 46.1315C34.1001 46.2035 34.2701 46.2395 34.4661 46.2395C34.5981 46.2395 34.7181 46.2195 34.8261 46.1795C34.9341 46.1395 35.0501 46.0715 35.1741 45.9755L35.6241 46.6115C35.5001 46.7155 35.3681 46.8035 35.2281 46.8755C35.0881 46.9435 34.9441 46.9935 34.7961 47.0255C34.6521 47.0615 34.5061 47.0795 34.3581 47.0795ZM36.3615 47.0195V43.8335H37.2795L37.3215 44.8715L37.1415 44.6675C37.1935 44.4995 37.2735 44.3475 37.3815 44.2115C37.4895 44.0755 37.6175 43.9675 37.7655 43.8875C37.9175 43.8075 38.0755 43.7675 38.2395 43.7675C38.3115 43.7675 38.3775 43.7735 38.4375 43.7855C38.5015 43.7935 38.5575 43.8075 38.6055 43.8275L38.3475 44.8895C38.3035 44.8655 38.2435 44.8455 38.1675 44.8295C38.0955 44.8095 38.0195 44.7995 37.9395 44.7995C37.8515 44.7995 37.7695 44.8155 37.6935 44.8475C37.6215 44.8755 37.5575 44.9175 37.5015 44.9735C37.4495 45.0295 37.4075 45.0955 37.3755 45.1715C37.3475 45.2475 37.3335 45.3335 37.3335 45.4295V47.0195H36.3615ZM42.5319 47.0795C42.1799 47.0795 41.8719 47.0095 41.6079 46.8695C41.3479 46.7295 41.1459 46.5375 41.0019 46.2935C40.8619 46.0455 40.7919 45.7635 40.7919 45.4475C40.7919 45.1995 40.8319 44.9735 40.9119 44.7695C40.9919 44.5615 41.1039 44.3835 41.2479 44.2355C41.3959 44.0875 41.5679 43.9735 41.7639 43.8935C41.9639 43.8095 42.1819 43.7675 42.4179 43.7675C42.6419 43.7675 42.8459 43.8075 43.0299 43.8875C43.2139 43.9675 43.3739 44.0795 43.5099 44.2235C43.6459 44.3675 43.7499 44.5375 43.8219 44.7335C43.8939 44.9295 43.9279 45.1435 43.9239 45.3755L43.9179 45.6395H41.3859L41.2419 45.0935H43.1319L43.0299 45.2015V45.0815C43.0219 44.9815 42.9899 44.8955 42.9339 44.8235C42.8819 44.7475 42.8119 44.6875 42.7239 44.6435C42.6399 44.5995 42.5439 44.5775 42.4359 44.5775C42.2759 44.5775 42.1399 44.6095 42.0279 44.6735C41.9199 44.7335 41.8379 44.8215 41.7819 44.9375C41.7259 45.0535 41.6979 45.1975 41.6979 45.3695C41.6979 45.5415 41.7339 45.6935 41.8059 45.8255C41.8819 45.9575 41.9899 46.0595 42.1299 46.1315C42.2739 46.2035 42.4439 46.2395 42.6399 46.2395C42.7719 46.2395 42.8919 46.2195 42.9999 46.1795C43.1079 46.1395 43.2239 46.0715 43.3479 45.9755L43.7979 46.6115C43.6739 46.7155 43.5419 46.8035 43.4019 46.8755C43.2619 46.9435 43.1179 46.9935 42.9699 47.0255C42.8259 47.0615 42.6799 47.0795 42.5319 47.0795ZM44.5294 47.0195V43.8335H45.4474L45.4774 44.4095L45.3454 44.4215C45.3894 44.3175 45.4494 44.2255 45.5254 44.1455C45.6014 44.0655 45.6854 43.9995 45.7774 43.9475C45.8734 43.8915 45.9734 43.8495 46.0774 43.8215C46.1814 43.7895 46.2854 43.7735 46.3894 43.7735C46.5494 43.7735 46.6914 43.7975 46.8154 43.8455C46.9434 43.8935 47.0534 43.9715 47.1454 44.0795C47.2414 44.1875 47.3174 44.3315 47.3734 44.5115L47.2294 44.4875L47.2714 44.4035C47.3274 44.3075 47.3954 44.2215 47.4754 44.1455C47.5594 44.0655 47.6514 43.9975 47.7514 43.9415C47.8514 43.8855 47.9534 43.8435 48.0574 43.8155C48.1654 43.7875 48.2694 43.7735 48.3694 43.7735C48.6214 43.7735 48.8314 43.8235 48.9994 43.9235C49.1674 44.0235 49.2934 44.1715 49.3774 44.3675C49.4614 44.5595 49.5034 44.7975 49.5034 45.0815V47.0195H48.5374V45.1535C48.5374 44.9655 48.4974 44.8255 48.4174 44.7335C48.3414 44.6375 48.2254 44.5895 48.0694 44.5895C47.9854 44.5895 47.9074 44.6035 47.8354 44.6315C47.7674 44.6555 47.7074 44.6935 47.6554 44.7455C47.6074 44.7935 47.5694 44.8495 47.5414 44.9135C47.5134 44.9775 47.4994 45.0495 47.4994 45.1295V47.0195H46.5334V45.1475C46.5334 44.9675 46.4914 44.8295 46.4074 44.7335C46.3274 44.6375 46.2134 44.5895 46.0654 44.5895C45.9854 44.5895 45.9094 44.6035 45.8374 44.6315C45.7694 44.6555 45.7094 44.6935 45.6574 44.7455C45.6094 44.7935 45.5714 44.8495 45.5434 44.9135C45.5154 44.9775 45.5014 45.0495 45.5014 45.1295V47.0195H44.5294ZM52.0049 47.0195V45.0635C52.0049 44.8995 51.9589 44.7795 51.8669 44.7035C51.7789 44.6235 51.6549 44.5835 51.4949 44.5835C51.3389 44.5835 51.1989 44.6135 51.0749 44.6735C50.9549 44.7295 50.8389 44.8235 50.7269 44.9555L50.1509 44.3975C50.3429 44.2015 50.5629 44.0475 50.8109 43.9355C51.0589 43.8235 51.3289 43.7675 51.6209 43.7675C51.8889 43.7675 52.1209 43.8075 52.3169 43.8875C52.5129 43.9675 52.6649 44.0895 52.7729 44.2535C52.8809 44.4175 52.9349 44.6255 52.9349 44.8775V47.0195H52.0049ZM51.1769 47.0795C50.9769 47.0795 50.7949 47.0395 50.6309 46.9595C50.4709 46.8795 50.3429 46.7695 50.2469 46.6295C50.1549 46.4855 50.1089 46.3175 50.1089 46.1255C50.1089 45.9615 50.1389 45.8175 50.1989 45.6935C50.2589 45.5695 50.3469 45.4675 50.4629 45.3875C50.5829 45.3035 50.7309 45.2415 50.9069 45.2015C51.0869 45.1575 51.2949 45.1355 51.5309 45.1355H52.4969L52.4429 45.7415H51.5549C51.4709 45.7415 51.3969 45.7495 51.3329 45.7655C51.2689 45.7775 51.2149 45.7995 51.1709 45.8315C51.1269 45.8595 51.0929 45.8935 51.0689 45.9335C51.0489 45.9735 51.0389 46.0215 51.0389 46.0775C51.0389 46.1375 51.0549 46.1895 51.0869 46.2335C51.1189 46.2775 51.1609 46.3115 51.2129 46.3355C51.2689 46.3595 51.3329 46.3715 51.4049 46.3715C51.5089 46.3715 51.6069 46.3555 51.6989 46.3235C51.7949 46.2875 51.8789 46.2375 51.9509 46.1735C52.0269 46.1095 52.0869 46.0355 52.1309 45.9515L52.2989 46.3835C52.2149 46.5195 52.1129 46.6395 51.9929 46.7435C51.8769 46.8475 51.7489 46.9295 51.6089 46.9895C51.4729 47.0495 51.3289 47.0795 51.1769 47.0795ZM53.7593 47.0195V43.8335H54.7253V47.0195H53.7593ZM54.2453 43.2035C54.0613 43.2035 53.9173 43.1615 53.8133 43.0775C53.7133 42.9895 53.6633 42.8655 53.6633 42.7055C53.6633 42.5575 53.7153 42.4375 53.8193 42.3455C53.9233 42.2535 54.0653 42.2075 54.2453 42.2075C54.4213 42.2075 54.5593 42.2515 54.6593 42.3395C54.7633 42.4235 54.8153 42.5455 54.8153 42.7055C54.8153 42.8535 54.7633 42.9735 54.6593 43.0655C54.5593 43.1575 54.4213 43.2035 54.2453 43.2035ZM55.633 47.0195V42.5795H56.599V47.0195H55.633ZM57.7973 47.0855C57.6333 47.0855 57.5053 47.0395 57.4133 46.9475C57.3253 46.8515 57.2813 46.7175 57.2813 46.5455C57.2813 46.3855 57.3273 46.2555 57.4193 46.1555C57.5153 46.0515 57.6413 45.9995 57.7973 45.9995C57.9613 45.9995 58.0893 46.0475 58.1813 46.1435C58.2733 46.2355 58.3193 46.3695 58.3193 46.5455C58.3193 46.7055 58.2693 46.8355 58.1693 46.9355C58.0733 47.0355 57.9493 47.0855 57.7973 47.0855ZM59.3325 47.0855C59.1685 47.0855 59.0405 47.0395 58.9485 46.9475C58.8605 46.8515 58.8165 46.7175 58.8165 46.5455C58.8165 46.3855 58.8625 46.2555 58.9545 46.1555C59.0505 46.0515 59.1765 45.9995 59.3325 45.9995C59.4965 45.9995 59.6245 46.0475 59.7165 46.1435C59.8085 46.2355 59.8545 46.3695 59.8545 46.5455C59.8545 46.7055 59.8045 46.8355 59.7045 46.9355C59.6085 47.0355 59.4845 47.0855 59.3325 47.0855ZM60.8676 47.0855C60.7036 47.0855 60.5756 47.0395 60.4836 46.9475C60.3956 46.8515 60.3516 46.7175 60.3516 46.5455C60.3516 46.3855 60.3976 46.2555 60.4896 46.1555C60.5856 46.0515 60.7116 45.9995 60.8676 45.9995C61.0316 45.9995 61.1596 46.0475 61.2516 46.1435C61.3436 46.2355 61.3896 46.3695 61.3896 46.5455C61.3896 46.7055 61.3396 46.8355 61.2396 46.9355C61.1436 47.0355 61.0196 47.0855 60.8676 47.0855Z",fill:"#DCDDE3"}),n.jsx("path",{d:"M257.31 45.0195L257.006 42.1808C256.92 41.3683 257.723 40.7718 258.433 41.1218L264.426 44.0758C265.191 44.453 265.191 45.5861 264.426 45.9632L258.433 48.9173C257.723 49.2673 256.92 48.6708 257.006 47.8583L257.31 45.0195ZM257.31 45.0195H260.822",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"14",y:"75.0195",width:"102",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M267 75.0195L268.875 76.5198C269.241 76.8119 269.759 76.812 270.125 76.5198L272 75.0195",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M14 87.0195H272",stroke:"#E3E8EE",strokeWidth:"0.5"}),n.jsx("rect",{x:"14",y:"97.0195",width:"67",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M267 97.0195L268.875 98.5198C269.241 98.8119 269.759 98.812 270.125 98.5198L272 97.0195",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M14 109.02H272",stroke:"#E3E8EE",strokeWidth:"0.5"}),n.jsx("rect",{x:"14",y:"119.02",width:"45",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M267 119.02L268.875 120.52C269.241 120.812 269.759 120.812 270.125 120.52L272 119.02",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"123",y:"146.02",width:"40",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"100",y:"158.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"124",y:"158.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"158.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"172",y:"158.02",width:"14",height:"6",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"115.5",y:"174.02",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"135.5",y:"174.02",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"155.5",y:"174.02",width:"15",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M0 65.0195H286",stroke:"#E3E8EE",strokeWidth:"0.5"}),n.jsx("path",{d:"M0 131.02H286",stroke:"#E3E8EE",strokeWidth:"0.5"}),n.jsx("path",{d:"M1 131H285V187C285 189.209 283.209 191 281 191H5C2.79086 191 1 189.209 1 187V131Z",fill:"url(#paint0_linear_5080_157247)"}),n.jsx("defs",{children:n.jsxs("linearGradient",{id:"paint0_linear_5080_157247",x1:"143",y1:"110",x2:"143",y2:"191",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F4F7FB"}),n.jsx("stop",{offset:"1",stopColor:"#F4F7FB",stopOpacity:"0"})]})})]})}},{value:"preset_15",label:"Footer Preset 15",icon:{desktop:n.jsxs("svg",{width:"286",height:"98",viewBox:"0 0 286 98",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"286",height:"98",rx:"5",fill:"white"}),n.jsx("rect",{x:"0.5",y:"0.5",width:"285",height:"97",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"14",y:"18",width:"24",height:"4",rx:"2",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"26",width:"55",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"30",width:"88",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"146.25",y:"16.25",width:"125.5",height:"11.5",rx:"5.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M151.887 24V19.8H154.815V20.676H152.889V23.124H154.881V24H151.887ZM152.373 22.284V21.444H154.551V22.284H152.373ZM155.658 24V20.814H156.576L156.612 21.462L156.414 21.534C156.458 21.39 156.536 21.26 156.648 21.144C156.764 21.024 156.902 20.928 157.062 20.856C157.222 20.784 157.39 20.748 157.566 20.748C157.806 20.748 158.008 20.798 158.172 20.898C158.336 20.994 158.458 21.14 158.538 21.336C158.622 21.528 158.664 21.766 158.664 22.05V24H157.698V22.122C157.698 21.994 157.68 21.888 157.644 21.804C157.608 21.72 157.554 21.658 157.482 21.618C157.41 21.578 157.32 21.56 157.212 21.564C157.128 21.564 157.05 21.578 156.978 21.606C156.906 21.63 156.842 21.668 156.786 21.72C156.734 21.768 156.694 21.824 156.666 21.888C156.638 21.952 156.624 22.024 156.624 22.104V24H156.138C156.034 24 155.94 24 155.856 24C155.776 24 155.71 24 155.658 24ZM159.737 24V20.01H160.703V24H159.737ZM159.173 21.66V20.814H161.315V21.66H159.173ZM163.358 24.06C163.006 24.06 162.698 23.99 162.434 23.85C162.174 23.71 161.972 23.518 161.828 23.274C161.688 23.026 161.618 22.744 161.618 22.428C161.618 22.18 161.658 21.954 161.738 21.75C161.818 21.542 161.93 21.364 162.074 21.216C162.222 21.068 162.394 20.954 162.59 20.874C162.79 20.79 163.008 20.748 163.244 20.748C163.468 20.748 163.672 20.788 163.856 20.868C164.04 20.948 164.2 21.06 164.336 21.204C164.472 21.348 164.576 21.518 164.648 21.714C164.72 21.91 164.754 22.124 164.75 22.356L164.744 22.62H162.212L162.068 22.074H163.958L163.856 22.182V22.062C163.848 21.962 163.816 21.876 163.76 21.804C163.708 21.728 163.638 21.668 163.55 21.624C163.466 21.58 163.37 21.558 163.262 21.558C163.102 21.558 162.966 21.59 162.854 21.654C162.746 21.714 162.664 21.802 162.608 21.918C162.552 22.034 162.524 22.178 162.524 22.35C162.524 22.522 162.56 22.674 162.632 22.806C162.708 22.938 162.816 23.04 162.956 23.112C163.1 23.184 163.27 23.22 163.466 23.22C163.598 23.22 163.718 23.2 163.826 23.16C163.934 23.12 164.05 23.052 164.174 22.956L164.624 23.592C164.5 23.696 164.368 23.784 164.228 23.856C164.088 23.924 163.944 23.974 163.796 24.006C163.652 24.042 163.506 24.06 163.358 24.06ZM165.362 24V20.814H166.28L166.322 21.852L166.142 21.648C166.194 21.48 166.274 21.328 166.382 21.192C166.49 21.056 166.618 20.948 166.766 20.868C166.918 20.788 167.076 20.748 167.24 20.748C167.312 20.748 167.378 20.754 167.438 20.766C167.502 20.774 167.558 20.788 167.606 20.808L167.348 21.87C167.304 21.846 167.244 21.826 167.168 21.81C167.096 21.79 167.02 21.78 166.94 21.78C166.852 21.78 166.77 21.796 166.694 21.828C166.622 21.856 166.558 21.898 166.502 21.954C166.45 22.01 166.408 22.076 166.376 22.152C166.348 22.228 166.334 22.314 166.334 22.41V24H165.362ZM171.532 24.06C171.18 24.06 170.872 23.99 170.608 23.85C170.348 23.71 170.146 23.518 170.002 23.274C169.862 23.026 169.792 22.744 169.792 22.428C169.792 22.18 169.832 21.954 169.912 21.75C169.992 21.542 170.104 21.364 170.248 21.216C170.396 21.068 170.568 20.954 170.764 20.874C170.964 20.79 171.182 20.748 171.418 20.748C171.642 20.748 171.846 20.788 172.03 20.868C172.214 20.948 172.374 21.06 172.51 21.204C172.646 21.348 172.75 21.518 172.822 21.714C172.894 21.91 172.928 22.124 172.924 22.356L172.918 22.62H170.386L170.242 22.074H172.132L172.03 22.182V22.062C172.022 21.962 171.99 21.876 171.934 21.804C171.882 21.728 171.812 21.668 171.724 21.624C171.64 21.58 171.544 21.558 171.436 21.558C171.276 21.558 171.14 21.59 171.028 21.654C170.92 21.714 170.838 21.802 170.782 21.918C170.726 22.034 170.698 22.178 170.698 22.35C170.698 22.522 170.734 22.674 170.806 22.806C170.882 22.938 170.99 23.04 171.13 23.112C171.274 23.184 171.444 23.22 171.64 23.22C171.772 23.22 171.892 23.2 172 23.16C172.108 23.12 172.224 23.052 172.348 22.956L172.798 23.592C172.674 23.696 172.542 23.784 172.402 23.856C172.262 23.924 172.118 23.974 171.97 24.006C171.826 24.042 171.68 24.06 171.532 24.06ZM173.529 24V20.814H174.447L174.477 21.39L174.345 21.402C174.389 21.298 174.449 21.206 174.525 21.126C174.601 21.046 174.685 20.98 174.777 20.928C174.873 20.872 174.973 20.83 175.077 20.802C175.181 20.77 175.285 20.754 175.389 20.754C175.549 20.754 175.691 20.778 175.815 20.826C175.943 20.874 176.053 20.952 176.145 21.06C176.241 21.168 176.317 21.312 176.373 21.492L176.229 21.468L176.271 21.384C176.327 21.288 176.395 21.202 176.475 21.126C176.559 21.046 176.651 20.978 176.751 20.922C176.851 20.866 176.953 20.824 177.057 20.796C177.165 20.768 177.269 20.754 177.369 20.754C177.621 20.754 177.831 20.804 177.999 20.904C178.167 21.004 178.293 21.152 178.377 21.348C178.461 21.54 178.503 21.778 178.503 22.062V24H177.537V22.134C177.537 21.946 177.497 21.806 177.417 21.714C177.341 21.618 177.225 21.57 177.069 21.57C176.985 21.57 176.907 21.584 176.835 21.612C176.767 21.636 176.707 21.674 176.655 21.726C176.607 21.774 176.569 21.83 176.541 21.894C176.513 21.958 176.499 22.03 176.499 22.11V24H175.533V22.128C175.533 21.948 175.491 21.81 175.407 21.714C175.327 21.618 175.213 21.57 175.065 21.57C174.985 21.57 174.909 21.584 174.837 21.612C174.769 21.636 174.709 21.674 174.657 21.726C174.609 21.774 174.571 21.83 174.543 21.894C174.515 21.958 174.501 22.03 174.501 22.11V24H173.529ZM181.005 24V22.044C181.005 21.88 180.959 21.76 180.867 21.684C180.779 21.604 180.655 21.564 180.495 21.564C180.339 21.564 180.199 21.594 180.075 21.654C179.955 21.71 179.839 21.804 179.727 21.936L179.151 21.378C179.343 21.182 179.563 21.028 179.811 20.916C180.059 20.804 180.329 20.748 180.621 20.748C180.889 20.748 181.121 20.788 181.317 20.868C181.513 20.948 181.665 21.07 181.773 21.234C181.881 21.398 181.935 21.606 181.935 21.858V24H181.005ZM180.177 24.06C179.977 24.06 179.795 24.02 179.631 23.94C179.471 23.86 179.343 23.75 179.247 23.61C179.155 23.466 179.109 23.298 179.109 23.106C179.109 22.942 179.139 22.798 179.199 22.674C179.259 22.55 179.347 22.448 179.463 22.368C179.583 22.284 179.731 22.222 179.907 22.182C180.087 22.138 180.295 22.116 180.531 22.116H181.497L181.443 22.722H180.555C180.471 22.722 180.397 22.73 180.333 22.746C180.269 22.758 180.215 22.78 180.171 22.812C180.127 22.84 180.093 22.874 180.069 22.914C180.049 22.954 180.039 23.002 180.039 23.058C180.039 23.118 180.055 23.17 180.087 23.214C180.119 23.258 180.161 23.292 180.213 23.316C180.269 23.34 180.333 23.352 180.405 23.352C180.509 23.352 180.607 23.336 180.699 23.304C180.795 23.268 180.879 23.218 180.951 23.154C181.027 23.09 181.087 23.016 181.131 22.932L181.299 23.364C181.215 23.5 181.113 23.62 180.993 23.724C180.877 23.828 180.749 23.91 180.609 23.97C180.473 24.03 180.329 24.06 180.177 24.06ZM182.759 24V20.814H183.725V24H182.759ZM183.245 20.184C183.061 20.184 182.917 20.142 182.813 20.058C182.713 19.97 182.663 19.846 182.663 19.686C182.663 19.538 182.715 19.418 182.819 19.326C182.923 19.234 183.065 19.188 183.245 19.188C183.421 19.188 183.559 19.232 183.659 19.32C183.763 19.404 183.815 19.526 183.815 19.686C183.815 19.834 183.763 19.954 183.659 20.046C183.559 20.138 183.421 20.184 183.245 20.184ZM184.633 24V19.56H185.599V24H184.633ZM186.797 24.066C186.633 24.066 186.505 24.02 186.413 23.928C186.325 23.832 186.281 23.698 186.281 23.526C186.281 23.366 186.327 23.236 186.419 23.136C186.515 23.032 186.641 22.98 186.797 22.98C186.961 22.98 187.089 23.028 187.181 23.124C187.273 23.216 187.319 23.35 187.319 23.526C187.319 23.686 187.269 23.816 187.169 23.916C187.073 24.016 186.949 24.066 186.797 24.066ZM188.332 24.066C188.168 24.066 188.04 24.02 187.948 23.928C187.86 23.832 187.816 23.698 187.816 23.526C187.816 23.366 187.862 23.236 187.954 23.136C188.05 23.032 188.176 22.98 188.332 22.98C188.496 22.98 188.624 23.028 188.716 23.124C188.808 23.216 188.854 23.35 188.854 23.526C188.854 23.686 188.804 23.816 188.704 23.916C188.608 24.016 188.484 24.066 188.332 24.066ZM189.868 24.066C189.704 24.066 189.576 24.02 189.484 23.928C189.396 23.832 189.352 23.698 189.352 23.526C189.352 23.366 189.398 23.236 189.49 23.136C189.586 23.032 189.712 22.98 189.868 22.98C190.032 22.98 190.16 23.028 190.252 23.124C190.344 23.216 190.39 23.35 190.39 23.526C190.39 23.686 190.34 23.816 190.24 23.916C190.144 24.016 190.02 24.066 189.868 24.066Z",fill:"#DCDDE3"}),n.jsx("path",{d:"M263.155 22L263.003 20.5806C262.96 20.1744 263.362 19.8761 263.717 20.0511L266.713 21.5281C267.096 21.7167 267.096 22.2833 266.713 22.4719L263.717 23.9489C263.362 24.1239 262.96 23.8256 263.003 23.4194L263.155 22ZM263.155 22H264.911",stroke:"#A1ABB7",strokeWidth:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"146",y:"31",width:"60",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 42.25H272V41.75H14V42.25Z",fill:"#E3E8EE",mask:"url(#path-12-inside-1_4904_157842)"}),n.jsx("rect",{x:"14",y:"50",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"56",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"61",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"66",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"71",width:"23",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"58.667",y:"50",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"58.667",y:"56",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"58.667",y:"61",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"58.667",y:"66",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"58.667",y:"71",width:"23",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"103.333",y:"50",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"103.333",y:"56",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"103.333",y:"61",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"103.333",y:"66",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"103.333",y:"71",width:"23",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"50",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"56",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"61",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"66",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"71",width:"23",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"192.667",y:"50",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"192.667",y:"56",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"192.667",y:"61",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"192.667",y:"66",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"192.667",y:"71",width:"23",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"237.333",y:"50",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"237.333",y:"56",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"237.333",y:"61",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"237.333",y:"66",width:"34.6667",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"237.333",y:"71",width:"23",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 82.25H272V81.75H14V82.25Z",fill:"#E3E8EE",mask:"url(#path-50-inside-2_4904_157842)"}),n.jsx("rect",{x:"14",y:"89.5",width:"40",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"217",y:"89.5",width:"15",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"237",y:"89.5",width:"15",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"257",y:"89.5",width:"15",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"119",y:"89",width:"8",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"132",y:"89",width:"8",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"145",y:"89",width:"8",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"89",width:"8",height:"3",rx:"1.5",fill:"#DCDDE3"})]}),mobile:n.jsxs("svg",{width:"286",height:"329",viewBox:"0 0 286 329",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.519531",width:"285",height:"327",rx:"4.5",stroke:"#E3E8EE"}),n.jsx("rect",{x:"70",y:"16.0195",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"53.5",y:"32.0195",width:"45",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"36",y:"38.0195",width:"80",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"204",y:"16.0195",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"187.5",y:"32.0195",width:"45",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"170",y:"38.0195",width:"80",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"70",y:"50.0195",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"53.5",y:"66.0195",width:"45",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"36",y:"72.0195",width:"80",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"204",y:"50.0195",width:"12",height:"12",rx:"6",fill:"#DCDDE3"}),n.jsx("rect",{x:"187.5",y:"66.0195",width:"45",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"170",y:"72.0195",width:"80",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("path",{d:"M14 90.5195H272V89.5195H14V90.5195Z",fill:"#E3E8EE",mask:"url(#path-15-inside-1_5080_157390)"}),n.jsx("rect",{x:"96",y:"106.02",width:"16",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"122",y:"106.02",width:"16",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"106.02",width:"16",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"174",y:"106.02",width:"16",height:"3",rx:"1.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"118",y:"115.02",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"133",y:"115.02",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"148",y:"115.02",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"163",y:"115.02",width:"5",height:"5",rx:"2.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"136.02",width:"122",height:"33",rx:"2",fill:"url(#paint0_linear_5080_157390)"}),n.jsx("rect",{x:"22",y:"144.02",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"150.02",width:"106",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"155.02",width:"80",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"160.02",width:"53",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"136.02",width:"122",height:"33",rx:"2",fill:"url(#paint1_linear_5080_157390)"}),n.jsx("rect",{x:"158",y:"144.02",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"150.02",width:"106",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"155.02",width:"73",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"160.02",width:"44",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"183.02",width:"122",height:"33",rx:"2",fill:"url(#paint2_linear_5080_157390)"}),n.jsx("rect",{x:"22",y:"191.02",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"197.02",width:"106",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"202.02",width:"80",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"207.02",width:"41",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"150",y:"183.02",width:"122",height:"33",rx:"2",fill:"url(#paint3_linear_5080_157390)"}),n.jsx("rect",{x:"158",y:"191.02",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"197.02",width:"106",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"202.02",width:"72",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"158",y:"207.02",width:"52",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"14",y:"230.02",width:"258",height:"55",rx:"2",fill:"url(#paint4_linear_5080_157390)"}),n.jsx("rect",{x:"22",y:"238.02",width:"17",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"245.02",width:"75",height:"1",rx:"0.5",fill:"#DCDDE3"}),n.jsx("rect",{x:"22.25",y:"250.27",width:"241.5",height:"15.5",rx:"3.75",stroke:"#DCDDE3",strokeWidth:"0.5"}),n.jsx("path",{d:"M252.232 258.02L252.005 255.89C251.94 255.281 252.542 254.834 253.075 255.096L257.57 257.312C258.143 257.595 258.143 258.444 257.57 258.727L253.075 260.943C252.542 261.205 251.94 260.758 252.005 260.149L252.232 258.02ZM252.232 258.02H254.866",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M30.8872 260.02V255.82H33.8152V256.696H31.8892V259.144H33.8812V260.02H30.8872ZM31.3732 258.304V257.464H33.5512V258.304H31.3732ZM34.6584 260.02V256.834H35.5764L35.6124 257.482L35.4144 257.554C35.4584 257.41 35.5364 257.28 35.6484 257.164C35.7644 257.044 35.9024 256.948 36.0624 256.876C36.2224 256.804 36.3904 256.768 36.5664 256.768C36.8064 256.768 37.0084 256.818 37.1724 256.918C37.3364 257.014 37.4584 257.16 37.5384 257.356C37.6224 257.548 37.6644 257.786 37.6644 258.07V260.02H36.6984V258.142C36.6984 258.014 36.6804 257.908 36.6444 257.824C36.6084 257.74 36.5544 257.678 36.4824 257.638C36.4104 257.598 36.3204 257.58 36.2124 257.584C36.1284 257.584 36.0504 257.598 35.9784 257.626C35.9064 257.65 35.8424 257.688 35.7864 257.74C35.7344 257.788 35.6944 257.844 35.6664 257.908C35.6384 257.972 35.6244 258.044 35.6244 258.124V260.02H35.1384C35.0344 260.02 34.9404 260.02 34.8564 260.02C34.7764 260.02 34.7104 260.02 34.6584 260.02ZM38.7369 260.02V256.03H39.7029V260.02H38.7369ZM38.1729 257.68V256.834H40.3149V257.68H38.1729ZM42.3581 260.08C42.0061 260.08 41.6981 260.01 41.4341 259.87C41.1741 259.73 40.9721 259.538 40.8281 259.294C40.6881 259.046 40.6181 258.764 40.6181 258.448C40.6181 258.2 40.6581 257.974 40.7381 257.77C40.8181 257.562 40.9301 257.384 41.0741 257.236C41.2221 257.088 41.3941 256.974 41.5901 256.894C41.7901 256.81 42.0081 256.768 42.2441 256.768C42.4681 256.768 42.6721 256.808 42.8561 256.888C43.0401 256.968 43.2001 257.08 43.3361 257.224C43.4721 257.368 43.5761 257.538 43.6481 257.734C43.7201 257.93 43.7541 258.144 43.7501 258.376L43.7441 258.64H41.2121L41.0681 258.094H42.9581L42.8561 258.202V258.082C42.8481 257.982 42.8161 257.896 42.7601 257.824C42.7081 257.748 42.6381 257.688 42.5501 257.644C42.4661 257.6 42.3701 257.578 42.2621 257.578C42.1021 257.578 41.9661 257.61 41.8541 257.674C41.7461 257.734 41.6641 257.822 41.6081 257.938C41.5521 258.054 41.5241 258.198 41.5241 258.37C41.5241 258.542 41.5601 258.694 41.6321 258.826C41.7081 258.958 41.8161 259.06 41.9561 259.132C42.1001 259.204 42.2701 259.24 42.4661 259.24C42.5981 259.24 42.7181 259.22 42.8261 259.18C42.9341 259.14 43.0501 259.072 43.1741 258.976L43.6241 259.612C43.5001 259.716 43.3681 259.804 43.2281 259.876C43.0881 259.944 42.9441 259.994 42.7961 260.026C42.6521 260.062 42.5061 260.08 42.3581 260.08ZM44.3615 260.02V256.834H45.2795L45.3215 257.872L45.1415 257.668C45.1935 257.5 45.2735 257.348 45.3815 257.212C45.4895 257.076 45.6175 256.968 45.7655 256.888C45.9175 256.808 46.0755 256.768 46.2395 256.768C46.3115 256.768 46.3775 256.774 46.4375 256.786C46.5015 256.794 46.5575 256.808 46.6055 256.828L46.3475 257.89C46.3035 257.866 46.2435 257.846 46.1675 257.83C46.0955 257.81 46.0195 257.8 45.9395 257.8C45.8515 257.8 45.7695 257.816 45.6935 257.848C45.6215 257.876 45.5575 257.918 45.5015 257.974C45.4495 258.03 45.4075 258.096 45.3755 258.172C45.3475 258.248 45.3335 258.334 45.3335 258.43V260.02H44.3615ZM50.5319 260.08C50.1799 260.08 49.8719 260.01 49.6079 259.87C49.3479 259.73 49.1459 259.538 49.0019 259.294C48.8619 259.046 48.7919 258.764 48.7919 258.448C48.7919 258.2 48.8319 257.974 48.9119 257.77C48.9919 257.562 49.1039 257.384 49.2479 257.236C49.3959 257.088 49.5679 256.974 49.7639 256.894C49.9639 256.81 50.1819 256.768 50.4179 256.768C50.6419 256.768 50.8459 256.808 51.0299 256.888C51.2139 256.968 51.3739 257.08 51.5099 257.224C51.6459 257.368 51.7499 257.538 51.8219 257.734C51.8939 257.93 51.9279 258.144 51.9239 258.376L51.9179 258.64H49.3859L49.2419 258.094H51.1319L51.0299 258.202V258.082C51.0219 257.982 50.9899 257.896 50.9339 257.824C50.8819 257.748 50.8119 257.688 50.7239 257.644C50.6399 257.6 50.5439 257.578 50.4359 257.578C50.2759 257.578 50.1399 257.61 50.0279 257.674C49.9199 257.734 49.8379 257.822 49.7819 257.938C49.7259 258.054 49.6979 258.198 49.6979 258.37C49.6979 258.542 49.7339 258.694 49.8059 258.826C49.8819 258.958 49.9899 259.06 50.1299 259.132C50.2739 259.204 50.4439 259.24 50.6399 259.24C50.7719 259.24 50.8919 259.22 50.9999 259.18C51.1079 259.14 51.2239 259.072 51.3479 258.976L51.7979 259.612C51.6739 259.716 51.5419 259.804 51.4019 259.876C51.2619 259.944 51.1179 259.994 50.9699 260.026C50.8259 260.062 50.6799 260.08 50.5319 260.08ZM52.5294 260.02V256.834H53.4474L53.4774 257.41L53.3454 257.422C53.3894 257.318 53.4494 257.226 53.5254 257.146C53.6014 257.066 53.6854 257 53.7774 256.948C53.8734 256.892 53.9734 256.85 54.0774 256.822C54.1814 256.79 54.2854 256.774 54.3894 256.774C54.5494 256.774 54.6914 256.798 54.8154 256.846C54.9434 256.894 55.0534 256.972 55.1454 257.08C55.2414 257.188 55.3174 257.332 55.3734 257.512L55.2294 257.488L55.2714 257.404C55.3274 257.308 55.3954 257.222 55.4754 257.146C55.5594 257.066 55.6514 256.998 55.7514 256.942C55.8514 256.886 55.9534 256.844 56.0574 256.816C56.1654 256.788 56.2694 256.774 56.3694 256.774C56.6214 256.774 56.8314 256.824 56.9994 256.924C57.1674 257.024 57.2934 257.172 57.3774 257.368C57.4614 257.56 57.5034 257.798 57.5034 258.082V260.02H56.5374V258.154C56.5374 257.966 56.4974 257.826 56.4174 257.734C56.3414 257.638 56.2254 257.59 56.0694 257.59C55.9854 257.59 55.9074 257.604 55.8354 257.632C55.7674 257.656 55.7074 257.694 55.6554 257.746C55.6074 257.794 55.5694 257.85 55.5414 257.914C55.5134 257.978 55.4994 258.05 55.4994 258.13V260.02H54.5334V258.148C54.5334 257.968 54.4914 257.83 54.4074 257.734C54.3274 257.638 54.2134 257.59 54.0654 257.59C53.9854 257.59 53.9094 257.604 53.8374 257.632C53.7694 257.656 53.7094 257.694 53.6574 257.746C53.6094 257.794 53.5714 257.85 53.5434 257.914C53.5154 257.978 53.5014 258.05 53.5014 258.13V260.02H52.5294ZM60.0049 260.02V258.064C60.0049 257.9 59.9589 257.78 59.8669 257.704C59.7789 257.624 59.6549 257.584 59.4949 257.584C59.3389 257.584 59.1989 257.614 59.0749 257.674C58.9549 257.73 58.8389 257.824 58.7269 257.956L58.1509 257.398C58.3429 257.202 58.5629 257.048 58.8109 256.936C59.0589 256.824 59.3289 256.768 59.6209 256.768C59.8889 256.768 60.1209 256.808 60.3169 256.888C60.5129 256.968 60.6649 257.09 60.7729 257.254C60.8809 257.418 60.9349 257.626 60.9349 257.878V260.02H60.0049ZM59.1769 260.08C58.9769 260.08 58.7949 260.04 58.6309 259.96C58.4709 259.88 58.3429 259.77 58.2469 259.63C58.1549 259.486 58.1089 259.318 58.1089 259.126C58.1089 258.962 58.1389 258.818 58.1989 258.694C58.2589 258.57 58.3469 258.468 58.4629 258.388C58.5829 258.304 58.7309 258.242 58.9069 258.202C59.0869 258.158 59.2949 258.136 59.5309 258.136H60.4969L60.4429 258.742H59.5549C59.4709 258.742 59.3969 258.75 59.3329 258.766C59.2689 258.778 59.2149 258.8 59.1709 258.832C59.1269 258.86 59.0929 258.894 59.0689 258.934C59.0489 258.974 59.0389 259.022 59.0389 259.078C59.0389 259.138 59.0549 259.19 59.0869 259.234C59.1189 259.278 59.1609 259.312 59.2129 259.336C59.2689 259.36 59.3329 259.372 59.4049 259.372C59.5089 259.372 59.6069 259.356 59.6989 259.324C59.7949 259.288 59.8789 259.238 59.9509 259.174C60.0269 259.11 60.0869 259.036 60.1309 258.952L60.2989 259.384C60.2149 259.52 60.1129 259.64 59.9929 259.744C59.8769 259.848 59.7489 259.93 59.6089 259.99C59.4729 260.05 59.3289 260.08 59.1769 260.08ZM61.7593 260.02V256.834H62.7253V260.02H61.7593ZM62.2453 256.204C62.0613 256.204 61.9173 256.162 61.8133 256.078C61.7133 255.99 61.6633 255.866 61.6633 255.706C61.6633 255.558 61.7153 255.438 61.8193 255.346C61.9233 255.254 62.0653 255.208 62.2453 255.208C62.4213 255.208 62.5593 255.252 62.6593 255.34C62.7633 255.424 62.8153 255.546 62.8153 255.706C62.8153 255.854 62.7633 255.974 62.6593 256.066C62.5593 256.158 62.4213 256.204 62.2453 256.204ZM63.633 260.02V255.58H64.599V260.02H63.633ZM65.7973 260.086C65.6333 260.086 65.5053 260.04 65.4133 259.948C65.3253 259.852 65.2813 259.718 65.2813 259.546C65.2813 259.386 65.3273 259.256 65.4193 259.156C65.5153 259.052 65.6413 259 65.7973 259C65.9613 259 66.0893 259.048 66.1813 259.144C66.2733 259.236 66.3193 259.37 66.3193 259.546C66.3193 259.706 66.2693 259.836 66.1693 259.936C66.0733 260.036 65.9493 260.086 65.7973 260.086ZM67.3325 260.086C67.1685 260.086 67.0405 260.04 66.9485 259.948C66.8605 259.852 66.8165 259.718 66.8165 259.546C66.8165 259.386 66.8625 259.256 66.9545 259.156C67.0505 259.052 67.1765 259 67.3325 259C67.4965 259 67.6245 259.048 67.7165 259.144C67.8085 259.236 67.8545 259.37 67.8545 259.546C67.8545 259.706 67.8045 259.836 67.7045 259.936C67.6085 260.036 67.4845 260.086 67.3325 260.086ZM68.8676 260.086C68.7036 260.086 68.5756 260.04 68.4836 259.948C68.3956 259.852 68.3516 259.718 68.3516 259.546C68.3516 259.386 68.3976 259.256 68.4896 259.156C68.5856 259.052 68.7116 259 68.8676 259C69.0316 259 69.1596 259.048 69.2516 259.144C69.3436 259.236 69.3896 259.37 69.3896 259.546C69.3896 259.706 69.3396 259.836 69.2396 259.936C69.1436 260.036 69.0196 260.086 68.8676 260.086Z",fill:"#DCDDE3"}),n.jsx("rect",{x:"22",y:"271.02",width:"54",height:"6",rx:"3",fill:"#DCDDE3"}),n.jsx("rect",{x:"115",y:"316.02",width:"56",height:"2",rx:"1",fill:"#DCDDE3"}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"paint0_linear_5080_157390",x1:"75",y1:"136.02",x2:"75",y2:"169.02",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint1_linear_5080_157390",x1:"211",y1:"136.02",x2:"211",y2:"169.02",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint2_linear_5080_157390",x1:"75",y1:"183.02",x2:"75",y2:"216.02",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint3_linear_5080_157390",x1:"211",y1:"183.02",x2:"211",y2:"216.02",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"paint4_linear_5080_157390",x1:"143",y1:"230.02",x2:"143",y2:"285.02",gradientUnits:"userSpaceOnUse",children:[n.jsx("stop",{stopColor:"#F7F9FB"}),n.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})]})]})}}],rl=({children:e})=>n.jsx(Be,{className:"mb-2 font-semibold",children:e});function hH(){const e=Fe(j=>j.addTemplate),t=Fe(j=>j.choosePreviewTemplate),r=Fe(j=>j.removeTemplate),i=Fe(j=>j.templates),o=Fe(j=>j.previewTemplate),[a]=To(o.id),s=fi(()=>`template-${Date.now()}`,[]),[l,c]=To(`Footer #${i.length+1}`),[d,u]=To(""),[f,h]=To(""),x=fi(()=>[{label:"Select footer",value:""},...i.filter(j=>j.id!==s).map(j=>({label:j.id==="default"?"Default footer":j.settings.name,value:j.id}))],[i,s]),p=j=>{typeof j!="number"&&c(j)};dH(()=>()=>{_3()},[]);const m=J5(j=>i.find(V=>V.id===j)??window.brandyCustomizerData.default_settings.footer.settings.templates[0],[i]),w=J5(j=>window.brandyCustomizerData.default_settings.footer.presets[j],[]),E=()=>{Mt()},_=(j,V)=>{let F=null,z=null;return j?F=m(j):F=w(V),F!=null&&(z=JSON.parse(JSON.stringify(F)),z.id=s,z.settings.name=l),z},k=j=>{j.preventDefault();const V=_(f,d);if(V==null)return;const F=JSON.parse(JSON.stringify(V));r(s),e({...F,id:s,settings:{...F.settings,name:l}}),t(s),E()},H=fi(()=>i.filter(j=>j.settings.name===l||l==="Default footer").length>1,[l,i]),$=fi(()=>l===""||d===""&&f===""||H,[f,d,l,H]),C=(j,V)=>{const F=_(j,V);if(F==null)return;const z=JSON.parse(JSON.stringify(F));r(s),e({...z,id:s,settings:{...z.settings,name:l}}),t(s),setTimeout(()=>{b3()},200)},b=j=>{j!==d&&(u(j),C(f,j))},T=j=>{h(j),j==""?C(f,d):(u(""),C(j,d))},M=()=>{t(a),r(s),E()};return n.jsxs(Qa,{children:[n.jsx(A1,{onGoBack:M,title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("Footer")]}),n.jsx("div",{className:"font-[300] text-[20px] text-brandy-text",children:D("Create new footer")})]}),hasBottomPart:!1}),n.jsx(Ji,{className:"after:hidden",children:n.jsxs("div",{className:"flex flex-col gap-4",children:[n.jsx("p",{className:"text-[#757575] text-xs",children:D("Create a new footer and assign it to different pages or posts based on your conditions.")}),n.jsxs("div",{children:[n.jsx(rl,{children:D("Footer name")}),n.jsx(Ue,{value:l,onChange:p,className:H?"!border-red-500 focus-within:!border-red-500":"",placeholder:D("Your footer name")}),H&&n.jsx("div",{className:"text-red-500 mt-[3px]",children:D("Theme name has existed")})]}),n.jsxs("div",{children:[n.jsx(rl,{children:D("Copy elements & styles from")}),n.jsx(et,{options:x,onChange:T,selected:f})]}),f===""&&n.jsxs("div",{children:[n.jsx(rl,{children:D("Using footer presets")}),n.jsx("div",{className:"flex flex-col gap-4",children:uH.map(j=>n.jsx(fH,{isActive:j.value===d,data:j,onSelect:()=>{b(j.value)}},j.value))})]})]})}),n.jsx(pH,{className:"sticky p-4 bottom-0",$_css:[f!==""&&{position:"absolute !important",width:"100%"},{borderRightWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(240 240 241 / var(--tw-bg-opacity))","--tw-shadow":"0px -1px 10px 0px rgba(90, 90, 90, 0.10)","--tw-shadow-colored":"0px -1px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:n.jsx(Xi,{primary:!0,onClick:k,disabled:$,children:D("Create footer")})})]})}const fH=({isActive:e=!1,data:t,onSelect:r})=>{var a;const{current:i}=Ce(),o=fi(()=>i==="tablet"?"mobile":i,[i]);return n.jsxs(gH,{onClick:r,$_css2:[{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent"},e&&{"--tw-border-opacity":"1",borderColor:"rgb(0 0 0 / var(--tw-border-opacity))"},{cursor:"pointer",borderRadius:"5px",backgroundColor:"rgba(255, 255, 255, 0.70)",padding:"1rem","--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},{transitionProperty:"box-shadow",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"}],children:[n.jsx(xH,{children:(a=t==null?void 0:t.icon)==null?void 0:a[o]}),n.jsx(mH,{$_css3:[{textAlign:"center",fontSize:"0.875rem",lineHeight:"1.25rem",fontStyle:"italic"},e?{"--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}:{"--tw-text-opacity":"1",color:"rgb(96 96 96 / var(--tw-text-opacity))"}],children:t==null?void 0:t.label})]})};var pH=g("div")`${e=>e.$_css}`,gH=g("div")`${e=>e.$_css2}`,xH=g("div")({marginBottom:"0.75rem",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"5px"}),mH=g("p").withConfig({displayName:"NewFooter___StyledP",componentId:"sc-15uicft-0"})(["",""],e=>e.$_css3);const wH=window.React,vH=window.React.memo,CH=window.React.useCallback,_d=window.React.useContext,jd=window.React.useMemo,Sd=wH.createContext({});function K5(){const{builder:e}=_d(h1),t=re(e)(a=>a.deselectRow),r=re(e)(a=>{var s,l;return((l=(s=a.previewTemplate)==null?void 0:s.settings)==null?void 0:l.name)??e}),i=CH(()=>{Mt(),t()},[Mt,t]),o=jd(()=>({builder:e,goBack:i}),[e,i]);return n.jsxs(Sd.Provider,{value:o,children:[n.jsx(A1,{onGoBack:i,builder:e,title:n.jsxs(n.Fragment,{children:[n.jsxs(_H,{children:[D("Customizing")," ▸ ",r]}),n.jsx(jH,{children:D("Toggle off canvas")})]})}),n.jsx(bH,{})]})}function yH(){const{builder:e}=_d(Sd),t=re(e)(l=>l.chosenRow),{contextHolder:r,currentTab:i}=Nr(),o=jd(()=>window.brandyCustomizerData.settings_layouts.toggle_off_canvas,[t,e]),a=re(e)(l=>t!=null&&l.previewTemplate.row_configurations.toggle||{}),s=re(e)(l=>l.changeRowSettings);return t==null||o==null||a==null?!1:n.jsxs(n.Fragment,{children:[r,n.jsx(a2,{children:o[i].sections.map((l,c)=>n.jsx(oo,{section:l,sectionKey:`${i}-${c}`,sectionId:"toggle_off_canvas",settings:a,onChange:s,builder:e},`${i}-${c}`))})]})}const bH=vH(yH);var _H=g("div")({fontSize:"13px",fontWeight:"300",textTransform:"capitalize","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),jH=g("div").withConfig({displayName:"ToggleOffCanvasSection___StyledDiv2",componentId:"sc-1fkkjdj-0"})({fontSize:"20px",fontWeight:"300",textTransform:"capitalize","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"});const qa=g.div.withConfig({displayName:"Styleds__SettingLine",componentId:"sc-1ff79ea-0"})(["",""],{marginTop:"0.75rem"}),_n=window.React.useState,il=[{label:D("Hidden"),value:"hidden"},{label:D("Optional"),value:"optional"},{label:D("Required"),value:"required"}],q5=Object.entries(window.brandyCustomizerData.pages).map(([e,t])=>({label:t.title,value:e})),SH=g(qa)` ${{marginTop:"0px"}} `;function cr({title:e,description:t,children:r}){return n.jsxs(SH,{children:[n.jsx(EH,{children:e}),t&&n.jsx(HH,{children:t}),r]})}function DH(){const[e,t]=_n(()=>window.wp.customize("woocommerce_checkout_company_field")()),[r,i]=_n(()=>window.wp.customize("woocommerce_checkout_address_2_field")()),[o,a]=_n(()=>window.wp.customize("woocommerce_checkout_phone_field")()),[s,l]=_n(()=>window.wp.customize("woocommerce_checkout_highlight_required_fields")()),[c,d]=_n(()=>window.wp.customize("wp_page_for_privacy_policy")()),[u,f]=_n(()=>window.wp.customize("woocommerce_terms_page_id")()),[h,x]=_n(()=>window.wp.customize("woocommerce_checkout_privacy_policy_text")()),p=$=>{t($),window.wp.customize("woocommerce_checkout_company_field")($)},m=$=>{i($),window.wp.customize("woocommerce_checkout_address_2_field")($)},w=$=>{a($),window.wp.customize("woocommerce_checkout_phone_field")($)},E=$=>{const C=$.target.checked;l(C),window.wp.customize("woocommerce_checkout_highlight_required_fields")(C)},_=$=>{d($),window.wp.customize("wp_page_for_privacy_policy")($)},k=$=>{f($),window.wp.customize("woocommerce_terms_page_id")($)},H=$=>{const C=$.target.value;x(C),window.wp.customize("woocommerce_checkout_privacy_policy_text")(C)};return n.jsxs(kH,{children:[n.jsx("div",{children:D("These options let you change the appearance of the WooCommerce checkout.")}),n.jsx(cr,{title:D("Company name field"),children:n.jsx(et,{options:il,selected:e,onChange:p})}),n.jsx(cr,{title:D("Address line 2 field"),children:n.jsx(et,{options:il,selected:r,onChange:m})}),n.jsx(cr,{title:D("Phone field"),children:n.jsx(et,{options:il,selected:o,onChange:w})}),n.jsxs(MH,{children:[n.jsx(LH,{type:"checkbox",checked:s,onChange:E}),n.jsx("label",{children:D("Highlight required fields with an asterisk")})]}),n.jsx(cr,{title:D("Privacy policy page"),children:n.jsx(et,{options:q5,selected:c,onChange:_})}),n.jsx(cr,{title:D("Terms and conditions page"),children:n.jsx(et,{options:q5,selected:u,onChange:k})}),n.jsx(cr,{title:D("Privacy policy"),description:D("Optionally add some text about your store privacy policy to show during checkout."),children:n.jsx($H,{value:h,onChange:H,rows:4})})]})}var EH=g("label")({marginBottom:"0.5rem",display:"inline-block",width:"100%",fontWeight:"500",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),HH=g("div")({marginBottom:"0.5rem"}),kH=g("div")({display:"flex",flexDirection:"column",gap:"1.5rem",borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),MH=g("div")({display:"flex",alignItems:"center",gap:"0.25rem"}),LH=g("input")({margin:"0px"}),$H=g("textarea").withConfig({displayName:"Checkout___StyledTextarea",componentId:"sc-1q6zqyc-0"})({width:"100%",borderWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"0.5rem","&:focus":{"--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",outlineWidth:"0px"}});const Q5=window.React.useMemo,Bo=window.React.useState,ec=[{label:D("Show products"),value:""},{label:D("Show categories"),value:"subcategories"},{label:D("Show categories & products"),value:"both"}],AH=[{label:D("Default sorting (custom ordering + name)"),value:"menu_order"},{label:D("Popularity (sales)"),value:"popularity"},{label:D("Average rating"),value:"rating"},{label:D("Sort by most recent"),value:"date"},{label:D("Sort by price (asc)"),value:"price"},{label:D("Sort by price (desc)"),value:"price-desc"}],VH=g(qa).withConfig({displayName:"ProductCatalog__ThisSettingLine",componentId:"sc-1b5kzi6-0"})(["",""],{marginTop:"0px"});function jn({title:e,description:t="",children:r}){return n.jsxs(VH,{children:[n.jsx(RH,{children:e}),n.jsx(FH,{children:t}),r]})}function IH(){const[e,t]=Bo(()=>window.wp.customize("woocommerce_shop_page_display")()),[r,i]=Bo(()=>window.wp.customize("woocommerce_category_archive_display")()),[o,a]=Bo(()=>window.wp.customize("woocommerce_default_catalog_orderby")()),[s,l]=Bo(()=>window.wp.customize("wc_product_catalog")()),c=_=>{t(_),window.wp.customize("woocommerce_shop_page_display")(_)},d=_=>{i(_),window.wp.customize("woocommerce_shop_page_display")(_)},u=_=>{a(_),window.wp.customize("woocommerce_default_catalog_orderby")(_)},f=_=>{const k={...s,products_per_page:_};l(k),window.wp.customize("wc_product_catalog")(k),window.wp.customize("woocommerce_catalog_rows")(_)},h=_=>{const k={...s,product_layout:_};l(k),window.wp.customize("wc_product_catalog")(k),cn.refreshView()},x=_=>{const k={...s,product_thumb_size:_};l(k),window.wp.customize("wc_product_catalog")(k),window.jQuery(ie("body")).attr("data-loop-product-thumb-size",_)},{current:p}=Aa(),m=_=>{const k={...s,products_per_row:{...s.products_per_row,[p]:_}};l(k),window.wp.customize("wc_product_catalog")(k);const H=ie(".products.brandy-product-list");window.jQuery(H).attr(`${p}-columns`,_)},w=Q5(()=>p==="desktop"?2:1,[p]),E=Q5(()=>p==="tablet"?3:p==="mobile"?2:20,[p]);return n.jsxs(OH,{children:[n.jsx(jn,{title:D("Shop page display"),description:D("Choose what to display on the main shop page."),children:n.jsx(et,{options:ec,selected:e,onChange:c})}),n.jsx(jn,{title:D("Category display"),description:D("Choose what to display on product category pages."),children:n.jsx(et,{options:ec,selected:r,onChange:d})}),n.jsx(jn,{title:D("Default product sorting"),description:D("How should products be sorted in the catalog by default?"),children:n.jsx(et,{options:AH,selected:o,onChange:u})}),n.jsx(jn,{title:D("Products per page"),description:D("How many products should be shown per page?"),children:n.jsx(PH,{type:"number",value:s.products_per_page,onChange:f})}),n.jsx(jn,{title:n.jsxs(NH,{children:[n.jsx(zH,{children:D("Products per row")}),n.jsx(zn,{})]}),description:D("How many products should be shown per row?"),children:n.jsx(ZH,{type:"number",value:s.products_per_row[p],onChange:m,min:w,max:E})}),n.jsx(jn,{title:D("Item layout"),description:D("Layout you choose will display whole shop pages and blocks"),children:n.jsx(mt,{className:"mt-3 grid grid-cols-2 gap-4 [&_.brandy-radio-item]:p-0 [&_.brandy-radio-item]:rounded-[5px] [&_.brandy-radio-item]:block [&_.brandy-radio-item_svg]:w-full [&_.brandy-radio-item_svg]:h-full [&_.brandy-radio-item]:!border-r-[1px]",itemCss:[ce` width: 100% !important; &.selected { border-color: #000000 !important; } &:hover, &.selected { background-color: #ffffff !important; } svg * { transition: all ease-in-out 0.1s; } `],options:[{value:"option_1",label:BH},{value:"option_2",label:TH}],selected:s.product_layout??"option_1",onChange:h})}),n.jsx(jn,{title:D("Products thumb size"),children:n.jsx(mt,{options:[{value:"size_1",label:D("Rectangular")},{value:"size_2",label:D("Square")}],selected:s.product_thumb_size??"size_1",onChange:x})})]})}const TH=n.jsxs("svg",{width:"151",height:"210",viewBox:"0 0 151 210",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"151",height:"210",rx:"5",fill:"#FAFAFA"}),n.jsx("rect",{x:"10",y:"140",width:"30",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"10",y:"161",width:"79",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"10",y:"169",width:"49",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"10",y:"10",width:"131",height:"120",rx:"2",fill:"#E6E6E6"}),n.jsx("path",{d:"M14.2166 148.815C14.31 148.546 14.69 148.546 14.7834 148.815L15.4923 150.854C15.5342 150.975 15.6479 151.056 15.7756 151.056H18.0242C18.3197 151.056 18.4372 151.438 18.1927 151.604L16.4093 152.815C16.2969 152.891 16.2498 153.033 16.2944 153.162L16.9837 155.144C17.0786 155.417 16.7708 155.653 16.5318 155.491L14.6685 154.226C14.5668 154.157 14.4332 154.157 14.3315 154.226L12.4682 155.491C12.2292 155.653 11.9214 155.417 12.0163 155.144L12.7056 153.162C12.7502 153.033 12.7031 152.891 12.5907 152.815L10.8073 151.604C10.5628 151.438 10.6803 151.056 10.9758 151.056H13.2244C13.3521 151.056 13.4658 150.975 13.5077 150.854L14.2166 148.815Z",fill:"#E1E1E1"}),n.jsx("path",{d:"M23.2166 148.815C23.31 148.546 23.69 148.546 23.7834 148.815L24.4923 150.854C24.5342 150.975 24.6479 151.056 24.7756 151.056H27.0242C27.3197 151.056 27.4372 151.438 27.1927 151.604L25.4093 152.815C25.2969 152.891 25.2498 153.033 25.2944 153.162L25.9837 155.144C26.0786 155.417 25.7708 155.653 25.5318 155.491L23.6685 154.226C23.5668 154.157 23.4332 154.157 23.3315 154.226L21.4682 155.491C21.2292 155.653 20.9214 155.417 21.0163 155.144L21.7056 153.162C21.7502 153.033 21.7031 152.891 21.5907 152.815L19.8073 151.604C19.5628 151.438 19.6803 151.056 19.9758 151.056H22.2244C22.3521 151.056 22.4658 150.975 22.5077 150.854L23.2166 148.815Z",fill:"#E1E1E1"}),n.jsx("path",{d:"M32.2166 148.815C32.31 148.546 32.69 148.546 32.7834 148.815L33.4923 150.854C33.5342 150.975 33.6479 151.056 33.7756 151.056H36.0242C36.3197 151.056 36.4372 151.438 36.1927 151.604L34.4093 152.815C34.2969 152.891 34.2498 153.033 34.2944 153.162L34.9837 155.144C35.0786 155.417 34.7708 155.653 34.5318 155.491L32.6685 154.226C32.5668 154.157 32.4332 154.157 32.3315 154.226L30.4682 155.491C30.2292 155.653 29.9214 155.417 30.0163 155.144L30.7056 153.162C30.7502 153.033 30.7031 152.891 30.5907 152.815L28.8073 151.604C28.5628 151.438 28.6803 151.056 28.9758 151.056H31.2244C31.3521 151.056 31.4658 150.975 31.5077 150.854L32.2166 148.815Z",fill:"#E1E1E1"}),n.jsx("path",{d:"M41.7202 148.724C41.819 148.469 42.181 148.469 42.2798 148.724L43.1062 150.864C43.1509 150.979 43.2621 151.056 43.3861 151.056H45.9338C46.2368 151.056 46.3488 151.454 46.0903 151.612L44.1234 152.814C43.9997 152.889 43.9478 153.043 44 153.178L44.7713 155.174C44.8746 155.442 44.5797 155.688 44.335 155.538L42.1564 154.207C42.0604 154.148 41.9396 154.148 41.8436 154.207L39.665 155.538C39.4203 155.688 39.1254 155.442 39.2287 155.174L40 153.178C40.0522 153.043 40.0003 152.889 39.8766 152.814L37.9097 151.612C37.6512 151.454 37.7632 151.056 38.0662 151.056H40.6139C40.7379 151.056 40.8491 150.979 40.8938 150.864L41.7202 148.724Z",fill:"#E1E1E1"}),n.jsx("path",{d:"M51.2166 148.815C51.31 148.546 51.69 148.546 51.7834 148.815L52.4923 150.854C52.5342 150.975 52.6479 151.056 52.7756 151.056H55.0242C55.3197 151.056 55.4372 151.438 55.1927 151.604L53.4093 152.815C53.2969 152.891 53.2498 153.033 53.2944 153.162L53.9837 155.144C54.0786 155.417 53.7708 155.653 53.5318 155.491L51.6685 154.226C51.5668 154.157 51.4332 154.157 51.3315 154.226L49.4682 155.491C49.2292 155.653 48.9214 155.417 49.0163 155.144L49.7056 153.162C49.7502 153.033 49.7031 152.891 49.5907 152.815L47.8073 151.604C47.5628 151.438 47.6803 151.056 47.9758 151.056H50.2244C50.3521 151.056 50.4658 150.975 50.5077 150.854L51.2166 148.815Z",fill:"#E1E1E1"}),n.jsx("rect",{x:"10",y:"180",width:"60",height:"20",rx:"3",fill:"#D9D9D9"})]}),BH=n.jsxs("svg",{width:"153",height:"212",viewBox:"0 0 153 212",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{x:"0.5",y:"0.5",width:"152",height:"211",rx:"5.5",fill:"#FAFAFA"}),n.jsx("rect",{x:"32",y:"168",width:"90",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"52",y:"178",width:"50",height:"3",rx:"1.5",fill:"black","fill-opacity":"0.1"}),n.jsx("rect",{x:"11",y:"11",width:"131",height:"147",rx:"2",fill:"#E6E6E6"}),n.jsx("circle",{cx:"51",cy:"196",r:"5",fill:"#D9D9D9"}),n.jsx("circle",{cx:"68",cy:"196",r:"5",fill:"#D9D9D9"}),n.jsx("circle",{cx:"85",cy:"196",r:"5",fill:"#D9D9D9"}),n.jsx("circle",{cx:"102",cy:"196",r:"5",fill:"#D9D9D9"})]});var RH=g("label").withConfig({displayName:"ProductCatalog___StyledLabel",componentId:"sc-1b5kzi6-1"})({marginBottom:"0.5rem",display:"inline-block",width:"100%",fontWeight:"500",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),FH=g("div").withConfig({displayName:"ProductCatalog___StyledDiv",componentId:"sc-1b5kzi6-2"})({marginBottom:"0.5rem"}),OH=g("div").withConfig({displayName:"ProductCatalog___StyledDiv2",componentId:"sc-1b5kzi6-3"})({display:"flex",flexDirection:"column",gap:"1.5rem",borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),PH=g(Ue).withConfig({displayName:"ProductCatalog___StyledInput",componentId:"sc-1b5kzi6-4"})({width:"100px"}),NH=g("div").withConfig({displayName:"ProductCatalog___StyledDiv3",componentId:"sc-1b5kzi6-5"})({display:"flex",alignItems:"center",justifyContent:"space-between"}),zH=g("span").withConfig({displayName:"ProductCatalog___StyledSpan",componentId:"sc-1b5kzi6-6"})({display:"inline-block"}),ZH=g(Ue).withConfig({displayName:"ProductCatalog___StyledInput2",componentId:"sc-1b5kzi6-7"})({width:"100px"});const WH=window.React.useState;function GH(){const[e,t]=WH(window.wp.customize("sale_badge")()??window.brandyCustomizerData.woocommerce.default_settings.sale_badge),r=u=>f=>{const h=JSON.parse(JSON.stringify({...e,[u]:f}));t(h),window.wp.customize("sale_badge")(h)},i=u=>{r("text_color")(u);const f=ie("body");window.jQuery(f).css("--wc-sale-badge-text-color",u)},o=u=>{r("background_color")(u);const f=ie("body");window.jQuery(f).css("--wc-sale-badge-background-color",u)},a=u=>{r("font_size")(u);const f=ie("body");window.jQuery(f).css("--wc-sale-badge-font-size",ft(u))},s=u=>{r("border")({...e.border,color:u});const f=ie("body");window.jQuery(f).css("--wc-sale-badge-border-color",u)},l=u=>{r("border")({...e.border,width:u});const f=ie("body");window.jQuery(f).css("--wc-sale-badge-border-width",ft(u))},c=u=>{r("border")({...e.border,radius:u});const f=ie("body");window.jQuery(f).css("--wc-sale-badge-border-radius",ft(u))},d=u=>{r("padding")(u);const f=ie("body");window.jQuery(f).css("--wc-sale-badge-padding",Yi(u))};return n.jsxs(UH,{children:[n.jsxs(YH,{children:[n.jsx("label",{children:D("Text color")}),n.jsx(XH,{children:n.jsx(me,{color:e.text_color,onChange:i})})]}),n.jsxs(JH,{children:[n.jsx("label",{children:D("Background color")}),n.jsx(KH,{children:n.jsx(me,{color:e.background_color,onChange:o})})]}),n.jsx(Ye,{title:D("Text size"),value:e.font_size,onChange:a,units:["px","rem"]}),n.jsxs(qH,{children:[n.jsx("label",{children:D("Border color")}),n.jsx(QH,{children:n.jsx(me,{color:e.border.color,onChange:s})})]}),n.jsx(Ye,{title:D("Border width"),value:e.border.width,onChange:l,units:["px"]}),n.jsx(Ye,{title:D("Border radius"),value:e.border.radius,onChange:c,units:["px","%"]}),n.jsx(no,{title:D("Padding"),value:e.padding,onChange:d,units:["px"]})]})}var UH=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),YH=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),XH=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),JH=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),KH=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),qH=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),QH=g("div").withConfig({displayName:"SaleBadge___StyledDiv7",componentId:"sc-9dtrrq-0"})({display:"flex",alignItems:"center",gap:"1rem"});const ek=window.React.useState,ol=g(qa)` ${{display:"flex",alignItems:"center",justifyContent:"space-between"}} `,al=({title:e="",settings:t,onChange:r,dataKey:i})=>{const o=(a,s=null)=>l=>{const c=JSON.parse(JSON.stringify(t));if(xt(c,a,l),r(c),s==null)return;const d=ie("body");let u=l;switch(s){case"dimension":u=ft(l);break}window.jQuery(d).css(`--wc-${i}-${a.join("-")}`,u)};return n.jsxs(nk,{children:[n.jsx(rk,{children:e}),n.jsxs(ol,{children:[n.jsx("label",{children:D("Text color")}),n.jsxs(ik,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:t.text_color.normal,onChange:o(["text_color","normal"],"color")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:t.text_color.hover,onChange:o(["text_color","hover"],"color")})})]})]}),n.jsxs(ol,{children:[n.jsx("label",{children:D("Background")}),n.jsx(ok,{children:n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:t.background.normal,onChange:o(["background","normal"],"color")})})})]}),n.jsxs(ol,{children:[n.jsx("label",{children:D("Border color")}),n.jsx(ak,{children:n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:t.border.color.normal,onChange:o(["border","color","normal"],"color")})})})]}),n.jsx(qa,{children:n.jsx(Ye,{title:D("Border width"),value:t.border.width,units:["px"],onChange:o(["border","width"],"dimension"),min:t.border.width.min,max:t.border.width.max})})]})};function tk(){const[e,t]=ek(window.wp.customize("wc_store_notices")()??window.brandyCustomizerData.woocommerce.default_settings.wc_store_notices),r=i=>o=>{const a=JSON.parse(JSON.stringify({...e,[i]:o}));t(a),window.wp.customize("wc_store_notices")(a)};return n.jsxs("div",{children:[n.jsx(al,{settings:e.information,title:D("Information notice"),onChange:r("information"),dataKey:"information"}),n.jsx(al,{settings:e.success,title:D("Success notice"),onChange:r("success"),dataKey:"success"}),n.jsx(al,{settings:e.error,title:D("Error notice"),onChange:r("error"),dataKey:"error"})]})}var nk=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),rk=g("h3")({fontWeight:"500",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),ik=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),ok=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),ak=g("div").withConfig({displayName:"StoreNotices___StyledDiv4",componentId:"sc-69yra-0"})({display:"flex",alignItems:"center",gap:"1rem"});const sk=window.React.useContext,lk=window.React.useEffect,tc=window.React.useMemo;function ck(){const{sectionId:e}=sk(h1);lk(()=>{e==="wc_checkout"&&!window.wp.customize.previewer.previewUrl().includes(window.brandyCustomizerData.paths.wc_checkout_page)&&window.wp.customize.previewer.previewUrl.set(window.brandyCustomizerData.paths.wc_checkout_page),e==="wc_product_catalog"&&!window.wp.customize.previewer.previewUrl().includes(window.brandyCustomizerData.paths.wc_shop_page)&&window.wp.customize.previewer.previewUrl.set(window.brandyCustomizerData.paths.wc_shop_page)},[e]);const t=tc(()=>{switch(e){case"wc_store_notices":return tk;case"wc_product_catalog":return IH;case"wc_checkout":return DH;case"sale_badge":return GH;default:return!1}},[e]),r=tc(()=>window.brandyCustomizerData.woocommerce.sections.find(i=>i.id===e),[e]);return n.jsxs(n.Fragment,{children:[n.jsx(A1,{title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("WooCommerce")]}),n.jsx("div",{className:"text-[20px] text-brandy-text font-[300]",children:(r==null?void 0:r.title)??D("Not found")})]}),hasBottomPart:!1,onGoBack:Mt}),n.jsx(dk,{children:n.jsx(t,{})})]})}var dk=g("div").withConfig({displayName:"Section___StyledDiv",componentId:"sc-gsppkr-0"})({marginTop:"1rem"});const uk=window.React.useState,D1=window.brandyCustomizerData.general.default_settings.button_settings;function hk(){const[e,t]=uk(window.wp.customize("button_settings")()??D1),r=(c,d)=>u=>{const f=JSON.parse(JSON.stringify(e));xt(f,[c,"color",d],u),t(f),window.wp.customize("button_settings")(f);const h=ie("body");window.jQuery(h).css(`--button-${c}-color-${d}`,u)},i=(c,d)=>u=>{const f=JSON.parse(JSON.stringify(e));xt(f,[c,"background",d],u),t(f),window.wp.customize("button_settings")(f);const h=ie("body");window.jQuery(h).css(`--button-${c}-background-${d}`,u)},o=(c,d)=>u=>{const f=JSON.parse(JSON.stringify(e));xt(f,[c,"border_color",d],u),t(f),window.wp.customize("button_settings")(f);const h=ie("body");window.jQuery(h).css(`--button-${c}-border-color-${d}`,u)},a=c=>d=>{Ti(()=>{const u=JSON.parse(JSON.stringify(e));xt(u,[c,"border_width"],d),t(u),window.wp.customize("button_settings")(u);const f=ie("body");window.jQuery(f).css(`--button-${c}-border-width`,ft(d))})},s=c=>d=>{Ti(()=>{const u=JSON.parse(JSON.stringify(e));xt(u,[c,"border_radius"],d),t(u),window.wp.customize("button_settings")(u);const f=ie("body");window.jQuery(f).css(`--button-${c}-border-radius`,ft(d))})},l=c=>d=>{const u=JSON.parse(JSON.stringify(e));xt(u,[c,"padding"],d),t(u),window.wp.customize("button_settings")(u);const f=ie("body");window.jQuery(f).css(`--button-${c}-padding`,Yi(d))};return n.jsx(fk,{children:["primary","secondary"].map(c=>{var d,u,f,h,x,p,m,w,E,_,k,H,$,C,b,T,M,j,V,F,z,Z,B,O,I,P,L,W,Q,Y;return n.jsxs(pk,{children:[n.jsx(gk,{children:c}),n.jsxs(xk,{children:[n.jsx("label",{children:D("Text color")}),n.jsxs(mk,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((u=(d=e[c])==null?void 0:d.color)==null?void 0:u.normal)??((h=(f=D1[c])==null?void 0:f.color)==null?void 0:h.normal),onChange:r(c,"normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((p=(x=e[c])==null?void 0:x.color)==null?void 0:p.hover)??((w=(m=D1[c])==null?void 0:m.color)==null?void 0:w.hover),onChange:r(c,"hover")})})]})]}),n.jsxs(wk,{children:[n.jsx("label",{children:D("Background color")}),n.jsxs(vk,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((_=(E=e[c])==null?void 0:E.background)==null?void 0:_.normal)??((H=(k=D1[c])==null?void 0:k.background)==null?void 0:H.normal),onChange:i(c,"normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((C=($=e[c])==null?void 0:$.background)==null?void 0:C.hover)??((T=(b=D1[c])==null?void 0:b.background)==null?void 0:T.hover),onChange:i(c,"hover")})})]})]}),n.jsxs(Ck,{children:[n.jsx("label",{children:D("Border color")}),n.jsxs(yk,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((j=(M=e[c])==null?void 0:M.border_color)==null?void 0:j.normal)??((F=(V=D1[c])==null?void 0:V.border_color)==null?void 0:F.normal),onChange:o(c,"normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((Z=(z=e[c])==null?void 0:z.border_color)==null?void 0:Z.hover)??((O=(B=D1[c])==null?void 0:B.border_color)==null?void 0:O.hover),onChange:o(c,"hover")})})]})]}),n.jsx(Ye,{title:D("Border width"),value:((I=e[c])==null?void 0:I.border_width)??((P=D1[c])==null?void 0:P.border_width),onChange:a(c)}),n.jsx(Ye,{title:D("Border radius"),value:((L=e[c])==null?void 0:L.border_radius)??((W=D1[c])==null?void 0:W.border_radius),onChange:s(c)}),n.jsx(no,{title:D("Padding"),units:["px"],value:((Q=e[c])==null?void 0:Q.padding)??((Y=D1[c])==null?void 0:Y.padding),onChange:l(c)})]})})})}var fk=g("div")({display:"flex",flexDirection:"column",gap:"1rem"}),pk=g("div")({display:"flex",flexDirection:"column",gap:"1rem",borderTopWidth:"1px",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem","&:first-child":{borderTopWidth:"0px"}}),gk=g("div")({fontWeight:"600",textTransform:"capitalize"}),xk=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),mk=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),wk=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),vk=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),Ck=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),yk=g("div").withConfig({displayName:"ButtonSettings___StyledDiv9",componentId:"sc-a0rhg7-0"})({display:"flex",alignItems:"center",gap:"1rem"});const nc=window.React.useState;function Dd(e){return e.includes("thin")?"100":e.includes("extra_light")?"200":e.includes("light")?"300":e.includes("regular")?"400":e.includes("medium")?"500":e.includes("semibold")?"600":e.includes("extra_bold")?"800":e.includes("bold")?"700":e.includes("black")?"900":"400"}function Ed(e){return e.includes("italic")?"italic":"normal"}const rc=[{label:"Roboto",value:"Roboto"},{label:"Outfit",value:"Outfit"},{label:"Readex Pro",value:"Readex Pro"},{label:"Lexend",value:"Lexend"},{label:"Jost",value:"Jost"},{label:"Red Hat Mono",value:"Red Hat Mono"},{label:"Amiri",value:"Amiri"},{label:"Prata",value:"Prata"},{label:"System Font",value:"system"}].map(e=>({...e,label:n.jsx("span",{style:{fontFamily:e.value},children:e.label})})),bk=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"}],ic=[{label:"Thin",value:"thin"},{label:"Extra Light",value:"extra_light"},{label:"Light",value:"light"},{label:"Regular",value:"regular"},{label:"Medium",value:"medium"},{label:"Semi Bold",value:"semibold"},{label:"Bold",value:"bold"},{label:"Extra Bold",value:"extra_bold"},{label:"Black",value:"black"},{label:"Thin Italic",value:"thin_italic"},{label:"Extra Light Italic",value:"extra_light_italic"},{label:"Light Italic",value:"light_italic"},{label:"Regular Italic",value:"regular_italic"},{label:"Medium Italic",value:"medium_italic"},{label:"Semi Bold Italic",value:"semibold_italic"},{label:"Bold Italic",value:"bold_italic"},{label:"Extra Bold Italic",value:"extra_bold_italic"},{label:"Black Italic",value:"black_italic"}].map(e=>({...e,label:n.jsx("span",{style:{fontWeight:Dd(e.value),fontStyle:Ed(e.value)},children:e.label})})),Sn=window.brandyCustomizerData.general.default_settings.typography_settings,oc=(e,t)=>{const r=ie("body");window.jQuery(r).css(`--${e}-font-family`,t!=="system"?t:"var(--theme-system-font)")},ac=(e,t)=>{const r=ie("body");window.jQuery(r).css(`--${e}-font-size`,ft(t))},sc=(e,t)=>{const r=ie("body");window.jQuery(r).css(`--${e}-line-height`,t)},lc=(e,t)=>{const r=ie("body");window.jQuery(r).css(`--${e}-font-weight`,Dd(t)),window.jQuery(r).css(`--${e}-font-style`,Ed(t))};function _k(){var d,u,f;const[e,t]=nc(window.wp.customize("typography_settings")()??Sn),[r,i]=nc("h1"),o=h=>x=>{const p=JSON.parse(JSON.stringify({...e,[h]:{...e[h],font_family:x}}));t(p),window.wp.customize("typography_settings")(p),oc(h,x)},a=h=>x=>{const p=JSON.parse(JSON.stringify({...e,[h]:{...e[h],font_size:x}}));t(p),window.wp.customize("typography_settings")(p),ac(h,x)},s=h=>x=>{const p=JSON.parse(JSON.stringify({...e,[h]:{...e[h],line_height:x.value}}));t(p),window.wp.customize("typography_settings")(p),sc(h,x.value)},l=h=>x=>{const p=JSON.parse(JSON.stringify({...e,[h]:{...e[h],appearance:x}}));t(p),window.wp.customize("typography_settings")(p),lc(h,x)},c=h=>x=>{const p=JSON.parse(JSON.stringify({...e,[h]:{...e[h],...x}}));t(p),window.wp.customize("typography_settings")(p),oc(h,p[h].font_family),ac(h,p[h].font_size),sc(h,p[h].line_height),lc(h,p[h].appearance)};return n.jsxs(jk,{children:[n.jsxs("div",{children:[n.jsx(Sk,{children:D("Heading")}),n.jsxs(Dk,{children:[n.jsx("label",{children:D("Font family")}),n.jsx(wi,{hasChanged:e.heading.font_family!==Sn.heading.font_family,onReset:()=>{o("heading")(Sn.heading.font_family)}})]}),n.jsx(et,{options:rc,selected:e.heading.font_family,onChange:o("heading")}),n.jsxs(Ek,{children:[n.jsx(Hk,{children:n.jsx(kk,{children:bk.map(h=>n.jsx(Mk,{onClick:()=>{i(h.value)},$_css:[{flex:"1 1 0%",cursor:"pointer",borderRadius:"3px",paddingLeft:"10px",paddingRight:"10px",paddingTop:"5px",paddingBottom:"5px",textAlign:"center",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","&:hover":{backgroundColor:"#2271B10D"}},h.value===r&&{"--tw-bg-opacity":"1 !important",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity)) !important","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}],children:h.label},h.value))})}),n.jsxs(Lk,{children:[n.jsx($k,{children:n.jsxs(Ak,{children:[n.jsxs(Vk,{children:[n.jsx(Ik,{children:D("Appearance")}),n.jsx(wi,{hasChanged:JSON.stringify(Sn[r])!==JSON.stringify(e[r]),onReset:()=>{c(r)(Sn[r])}})]}),n.jsx(et,{options:ic,selected:e[r].appearance,onChange:l(r)})]})}),n.jsx(Tk,{children:n.jsx(Ye,{title:D("Font size"),value:e[r].font_size,onChange:a(r),units:e[r].font_size.units,min:e[r].font_size.min,max:e[r].font_size.max})}),n.jsx(Bk,{children:n.jsx(Ye,{title:D("Line height"),value:{value:e[r].line_height,unit:"px",min:0,max:10},onChange:s(r),min:0,max:10,step:.1,units:[]})})]})]})]}),n.jsxs(Rk,{children:[n.jsxs(Fk,{children:[n.jsx(Be,{children:D("Body")}),n.jsx(wi,{hasChanged:JSON.stringify(Sn.body)!==JSON.stringify(e.body),onReset:()=>{c("body")(Sn.body)}})]}),n.jsx(Ok,{children:D("Font family")}),n.jsx(et,{options:rc,selected:e.body.font_family,onChange:o("body")}),n.jsx(Pk,{children:n.jsxs(Nk,{children:[n.jsx(zk,{children:D("Appearance")}),n.jsx(et,{options:ic,selected:e.body.appearance??"regular",onChange:l("body")})]})}),n.jsx(Zk,{children:n.jsx(Ye,{title:D("Font size"),value:e.body.font_size??{value:16,unit:"px"},onChange:a("body"),units:((d=e.body.font_size)==null?void 0:d.units)??["px","rem"],min:((u=e.body.font_size)==null?void 0:u.min)??10,max:((f=e.body.font_size)==null?void 0:f.max)??30})}),n.jsx(Wk,{children:n.jsx(Ye,{title:D("Line height"),value:{value:e.body.line_height??2,unit:"px",min:0,max:10},onChange:s("body"),min:0,max:10,step:.1,units:[]})})]})]})}var jk=g("div")({display:"flex",flexDirection:"column",gap:"1.25rem",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),Sk=g(Be)({marginBottom:"0.5rem"}),Dk=g("div")({marginBottom:"0.5rem",display:"flex",alignItems:"center",gap:"0.5rem"}),Ek=g("div")({marginTop:"1rem"}),Hk=g("div")({borderStartEndRadius:"3px",borderStartStartRadius:"3px",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"4px"}),kk=g("div")({display:"flex",justifyContent:"space-between",gap:"5px"}),Mk=g("span")`${e=>e.$_css}`,Lk=g("div")({borderEndEndRadius:"3px",borderEndStartRadius:"3px",borderWidth:"1px",borderTopWidth:"0px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(246 247 247 / var(--tw-bg-opacity))",padding:"1rem"}),$k=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem"}),Ak=g("div")({width:"100%"}),Vk=g("div")({marginBottom:"0.5rem",display:"flex",alignItems:"center",gap:"0.5rem"}),Ik=g("label")({display:"block"}),Tk=g("div")({marginTop:"1rem"}),Bk=g("div")({marginTop:"1rem"}),Rk=g("div")({borderTopWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderTopColor:"rgb(227 225 225 / var(--tw-border-opacity))",paddingTop:"1rem"}),Fk=g("div")({marginBottom:"0.5rem",display:"flex",alignItems:"center",gap:"0.5rem"}),Ok=g("label")({marginBottom:"0.5rem",display:"block"}),Pk=g("div")({marginTop:"1rem"}),Nk=g("div")({width:"100%"}),zk=g("label")({marginBottom:"0.5rem",display:"block"}),Zk=g("div")({marginTop:"1rem"}),Wk=g("div").withConfig({displayName:"TypographySettings___StyledDiv17",componentId:"sc-14dp5tk-0"})({marginTop:"1rem"});const cc=window.React.useEffect,Ro=window.React.useMemo,dc=window.React.useState,Gk=[{label:D("Tight"),value:"tight"},{label:D("Normal"),value:"normal"},{label:D("Loose"),value:"loose"}];function Uk(e){return e=="normal"?"1.5em":e=="loose"?"3em":".7em"}const Yk=[{label:D("Home"),value:"home"},{label:D("Post"),value:"post"},{label:D("Page"),value:"page"}];function Xk(){const[e,t]=dc(window.wp.customize("content_settings")()??window.brandyCustomizerData.general.default_settings.content_settings),[r,i]=dc("home"),{current:o}=Ce(),a=Ro(()=>_e(e[r].container_width,o),[e[r].container_width,o]),s=Ro(()=>_e(e[r].container_max_width,o),[e[r].container_max_width,o]),l=h=>{const x=JSON.parse(JSON.stringify({...e,[r]:{...e[r],container_width:{...e.container_width,[o]:{...h}}}}));t(x),window.wp.customize("content_settings")(x);const p=ie(`html body[page-type="${r}"]`);window.jQuery(p).css("--theme-container-width",ft(h))};cc(()=>{const{value:h,unit:x}=a;l({...a,value:x==="px"?Math.max(300,Math.min(3e3,h)):Math.max(30,Math.min(100,h))})},[a.unit]),cc(()=>{const{value:h,unit:x}=s;c({...s,value:x==="px"?Math.max(300,Math.min(3e3,h)):Math.max(30,Math.min(100,h))})},[s.unit]);const c=h=>{const x=JSON.parse(JSON.stringify({...e,[r]:{...e[r],container_max_width:{...e.container_max_width,[o]:{...h}}}}));t(x),window.wp.customize("content_settings")(x);const p=ie(`html body[page-type="${r}"]`);window.jQuery(p).css("--theme-container-max-width",ft(h))},d=h=>{const x=JSON.parse(JSON.stringify({...e,content_spacing:h}));t(x),window.wp.customize("content_settings")(x);const p=ie("body");window.jQuery(p).css("--content-spacing",Uk(h))},u=Ro(()=>a.unit=="px"?{min:300,max:3e3}:{min:30,max:100},[a.unit]),f=Ro(()=>s.unit=="px"?{min:300,max:3e3}:{min:30,max:100},[s.unit]);return n.jsxs(Jk,{children:[n.jsxs("div",{children:[n.jsx(Kk,{children:D("Select page type")}),n.jsx(mt,{options:Yk,selected:r,onChange:h=>{i(h)}})]}),n.jsx(Ye,{title:n.jsxs(qk,{children:[n.jsx("span",{children:D("Container width")}),n.jsx(zn,{})]}),units:["px","%"],value:a,onChange:l,min:u.min,max:u.max}),n.jsx(Ye,{title:n.jsxs(Qk,{children:[n.jsx("span",{children:D("Container max width")}),n.jsx(zn,{})]}),units:["px","%"],value:s,onChange:c,min:f.min,max:f.max}),n.jsx("div",{className:"w-full h-[1px] bg-slate-200"}),n.jsxs("div",{children:[n.jsx(eM,{children:D("Content spacing")}),n.jsx(mt,{options:Gk,selected:e.content_spacing,onChange:d})]})]})}var Jk=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),Kk=g("div")({marginBottom:"0.5rem",fontWeight:"600"}),qk=g("div")({display:"flex",alignItems:"center"}),Qk=g("div")({display:"flex",alignItems:"center"}),eM=g("label").withConfig({displayName:"ContentSettings___StyledLabel",componentId:"sc-1bv6y1i-0"})({marginBottom:"0.5rem",display:"block"});const tM=[{value:"type_1",label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_6704_160336",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_6704_160336)"}),n.jsx("g",{opacity:"0.3",children:n.jsx("rect",{x:"27",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M77 39L81 43L77 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"92",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7",fillOpacity:"0.5"}),n.jsx("path",{d:"M142 39L146 43L142 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("g",{opacity:"0.7",children:n.jsx("rect",{x:"157",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M207 39L211 43L207 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"222",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7"})]})},{value:"type_2",label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_6704_143530",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_6704_143530)"}),n.jsx("g",{opacity:"0.3",children:n.jsx("rect",{x:"27",y:"35",width:"37.5",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M74.5 39L78.5 43L74.5 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M78.5 39L82.5 43L78.5 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"92.5",y:"35",width:"37.5",height:"16",rx:"2",fill:"#A1ABB7",fillOpacity:"0.5"}),n.jsx("path",{d:"M140 39L144 43L140 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M144 39L148 43L144 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("g",{opacity:"0.7",children:n.jsx("rect",{x:"158",y:"35",width:"37.5",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M205.5 39L209.5 43L205.5 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("path",{d:"M209.5 39L213.5 43L209.5 47",stroke:"#A1ABB7",strokeLinecap:"round",strokeLinejoin:"round"}),n.jsx("rect",{x:"223.5",y:"35",width:"37.5",height:"16",rx:"2",fill:"#A1ABB7"})]})},{value:"type_3",label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_6704_156713",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_6704_156713)"}),n.jsx("g",{opacity:"0.25",children:n.jsx("rect",{x:"27",y:"35",width:"41.25",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M78.2502 48.3695L81.2502 37.6329",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("rect",{x:"91.25",y:"35",width:"41.25",height:"16",rx:"2",fill:"#A1ABB7",fillOpacity:"0.4"}),n.jsx("path",{d:"M142.5 48.3695L145.5 37.6329",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"155.5",y:"35",width:"41.25",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M206.75 48.3695L209.75 37.6329",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("g",{opacity:"0.8",children:n.jsx("rect",{x:"219.75",y:"35",width:"41.25",height:"16",rx:"2",fill:"#A1ABB7"})})]})},{value:"type_4",label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_6704_164424",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_6704_164424)"}),n.jsx("g",{opacity:"0.25",children:n.jsx("rect",{x:"27",y:"35",width:"40.5",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M77.5001 47L79.5001 39",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("path",{d:"M79.5001 47L81.5001 39",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("rect",{x:"91.5",y:"35",width:"40.5",height:"16",rx:"2",fill:"#A1ABB7",fillOpacity:"0.4"}),n.jsx("path",{d:"M142 47L144 39",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("path",{d:"M144 47L146 39",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"156",y:"35",width:"40.5",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M206.5 47L208.5 39",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("path",{d:"M208.5 47L210.5 39",stroke:"#A1ABB7",strokeLinecap:"round"}),n.jsx("g",{opacity:"0.8",children:n.jsx("rect",{x:"220.5",y:"35",width:"40.5",height:"16",rx:"2",fill:"#A1ABB7"})})]})},{value:"type_5",label:n.jsxs("svg",{width:"288",height:"85",viewBox:"0 0 288 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("mask",{id:"path-1-outside-1_6704_59859",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"288",height:"85",fill:"black",children:[n.jsx("rect",{fill:"white",width:"288",height:"85"}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z"})]}),n.jsx("path",{d:"M1 4C1 2.34314 2.34315 1 4 1H284C285.657 1 287 2.34315 287 4V85H1V4Z",fill:"white"}),n.jsx("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H284C286.209 0 288 1.79086 288 4H286C286 2.89543 285.105 2 284 2H4C2.89543 2 2 2.89543 2 4H0ZM287 85H1H287ZM0 85V4C0 1.79086 1.79086 0 4 0V2C2.89543 2 2 2.89543 2 4V85H0ZM284 0C286.209 0 288 1.79086 288 4V85H286V4C286 2.89543 285.105 2 284 2V0Z",fill:"#E3E8EE",mask:"url(#path-1-outside-1_6704_59859)"}),n.jsx("g",{opacity:"0.25",children:n.jsx("rect",{x:"27",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M76.5 48L81.5 43L76.5 38L76.5 48Z",fill:"#A1ABB7"}),n.jsx("rect",{x:"92",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7",fillOpacity:"0.4"}),n.jsx("path",{d:"M141.5 48L146.5 43L141.5 38L141.5 48Z",fill:"#A1ABB7"}),n.jsx("g",{opacity:"0.6",children:n.jsx("rect",{x:"157",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7"})}),n.jsx("path",{d:"M206.5 48L211.5 43L206.5 38L206.5 48Z",fill:"#A1ABB7"}),n.jsx("g",{opacity:"0.8",children:n.jsx("rect",{x:"222",y:"35",width:"39",height:"16",rx:"2",fill:"#A1ABB7"})})]})}],nM=window.React.useState,uc="breadcrumb_settings";function rM(){const[e,t]=nM(window.wp.customize(uc)()??window.brandyCustomizerData.general.default_settings.breadcrumb_settings),{contextHolder:r,currentTab:i}=Nr({items:[{label:D("General"),key:"general"},{label:D("Design"),key:"design"}]}),o=a=>s=>{Ti(()=>{const l=JSON.parse(JSON.stringify(e));xt(l,a,s),t(l),window.wp.customize(uc)(l)})};return n.jsxs("div",{children:[n.jsx(dM,{children:D("Customizing: Breadcrumb")}),r,n.jsx(uM,{children:i==="general"?n.jsx(iM,{value:e.separator_type,onChange:o}):n.jsxs(n.Fragment,{children:[n.jsx(oM,{value:e.typography,onChange:o}),n.jsx(aM,{value:e.text_color,onChange:o}),n.jsx(sM,{bgColor:e.container_background_color,borderRadius:e.container_border_radius,onChange:o}),n.jsx(lM,{bgColor:e.item_background_color,borderRadius:e.item_border_radius,padding:e.item_padding??{unit:"px",top:0,bottom:0,right:0,left:0},onChange:o}),n.jsx(cM,{value:e.item_spacing,onChange:o})]})})]})}function iM({value:e,onChange:t}){const r=i=>o=>{t(i)(o),cn.refreshView()};return n.jsxs("div",{children:[n.jsx(Be,{children:D("Type separator")}),n.jsx(mt,{className:"mt-3 grid grid-cols-1 gap-4 [&_.brandy-radio-item]:bg-[#FFFFFFA6] [&_.brandy-radio-item]:p-[16px] [&_.brandy-radio-item]:pb-0 [&_.brandy-radio-item]:rounded-[5px] [&_.brandy-radio-item]:border-transparent [&_.brandy-radio-item]:!border-r-[1px]",itemCss:[ce(["&.selected{border-color:#000000 !important;}&:hover,&.selected{background-color:#ffffff !important;}svg *{transition:all ease-in-out 0.1s;}"])],selected:e,onChange:r(["separator_type"]),options:tM})]})}function oM({value:e,onChange:t}){return n.jsxs(hM,{children:[n.jsx(Be,{children:D("Typography")}),n.jsx(y4,{value:e,onChange:t(["typography"])})]})}function aM({value:e,onChange:t}){const r=i=>o=>{t(["text_color",i]);const a=ie("body");window.jQuery(a).css(`--breadcrumb-text-color-${i}`,o)};return n.jsxs(fM,{children:[n.jsx(Be,{children:D("Text color")}),n.jsxs(pM,{children:[n.jsx(He,{title:"Normal",style:{textTransform:"capitalize"},children:n.jsx(me,{color:e.normal,onChange:r("normal")})}),n.jsx(He,{title:"Hover",style:{textTransform:"capitalize"},children:n.jsx(me,{color:e.hover,onChange:r("hover")})}),n.jsx(He,{title:"Active",style:{textTransform:"capitalize"},children:n.jsx(me,{color:e.active,onChange:r("active")})})]})]})}function sM({bgColor:e,borderRadius:t,onChange:r}){const i=a=>{r(["container_background_color"])(a);const s=ie("body");window.jQuery(s).css("--breadcrumb-container-background-color",a)},o=a=>{r(["container_border_radius"])(a);const s=ie("body");window.jQuery(s).css("--breadcrumb-container-border-radius",ft(a))};return n.jsxs("div",{children:[n.jsx(Be,{children:D("Container")}),n.jsxs(gM,{children:[n.jsx("span",{children:D("Background color")}),n.jsx(me,{color:e,onChange:i})]}),n.jsx(xM,{children:n.jsx(Ye,{title:D("Border radius"),value:t,onChange:o,units:["px","%"],min:0,max:50})})]})}function lM({bgColor:e,borderRadius:t,padding:r,onChange:i}){const o=l=>{i(["item_background_color"])(l);const c=ie("body");window.jQuery(c).css("--breadcrumb-item-background-color",l)},a=l=>{i(["item_border_radius"])(l);const c=ie("body");window.jQuery(c).css("--breadcrumb-item-border-radius",ft(l))},s=l=>{i(["padding"])(l);const c=ie("body");window.jQuery(c).css("--breadcrumb-item-padding",Yi(l))};return n.jsxs("div",{children:[n.jsx(Be,{children:D("Item")}),n.jsxs(mM,{children:[n.jsx("span",{children:D("Background color")}),n.jsx(me,{color:e,onChange:o})]}),n.jsx(wM,{children:n.jsx(Ye,{title:D("Border radius"),value:t,onChange:a,units:["px","%"],min:0,max:50})}),n.jsx(vM,{children:n.jsx(no,{title:D("Padding"),value:r,onChange:s,units:["px"]})})]})}function cM({value:e,onChange:t}){const{current:r}=Aa(),i=_e(e,r),o=a=>{t(["item_spacing"])(a);const s=ie("body");window.jQuery(s).css("--breadcrumb-item-spacing",ft(a))};return n.jsx(Ye,{title:n.jsx(Be,{children:D("Item spacing")}),value:i,onChange:o,units:["px"],min:5,max:30})}var dM=g("div")({padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem",fontSize:"14px",fontWeight:"500"}),uM=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),hM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),fM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),pM=g("div")({display:"flex",alignItems:"center",gap:"0.75rem"}),gM=g("div")({marginTop:"1rem",display:"flex",alignItems:"center",justifyContent:"space-between"}),xM=g("div")({marginTop:"1rem"}),mM=g("div")({marginTop:"1rem",display:"flex",alignItems:"center",justifyContent:"space-between"}),wM=g("div")({marginTop:"1rem"}),vM=g("div").withConfig({displayName:"BreadcrumbSettings___StyledDiv10",componentId:"sc-zf9q46-0"})({marginTop:"1rem"});const CM=window.React.useState;function yM(){const[e,t]=CM(window.wp.customize("blog_settings")()??window.brandyCustomizerData.general.default_settings.blog_settings),r=i=>o=>{const a={...e,[i]:o};t(a),window.wp.customize("blog_settings")(a),cn.refreshView()};return n.jsxs(bM,{children:[n.jsx(_M,{children:D("Blog archive")}),n.jsxs("div",{children:[n.jsx(jM,{children:D("Blog archive layout")}),n.jsx(mt,{options:[{label:"Grid",value:"grid"},{label:"List",value:"list"}],selected:e.blog_archive_layout??"grid",onChange:r("blog_archive_layout")})]}),e.blog_archive_layout==="grid"&&n.jsxs(SM,{children:[n.jsx(DM,{children:D("Grid columns")}),n.jsx(EM,{type:"number",value:e.blog_archive_grid_columns??3,onChange:r("blog_archive_grid_columns"),min:1,max:5})]}),n.jsxs(HM,{children:[n.jsx(kM,{children:D("Has sidebar")}),n.jsx(Vn,{checked:e.blog_archive_has_sidebar,onChange:r("blog_archive_has_sidebar")})]}),n.jsx("div",{className:"w-full h-[1px] bg-slate-200"}),n.jsx(MM,{children:D("Single blog")}),n.jsxs(LM,{children:[n.jsx($M,{children:D("Has sidebar")}),n.jsx(Vn,{checked:e.single_blog_has_sidebar,onChange:r("single_blog_has_sidebar")})]}),n.jsxs(AM,{children:[n.jsx(VM,{children:D("Has relative blogs")}),n.jsx(Vn,{checked:e.single_blog_has_relative_blogs,onChange:r("single_blog_has_relative_blogs")})]})]})}var bM=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),_M=g("div")({fontWeight:"600",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),jM=g("div")({marginBottom:"0.5rem"}),SM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),DM=g("div")({marginBottom:"0.5rem"}),EM=g(Ue)({width:"70px"}),HM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),kM=g("div")({marginBottom:"0.5rem"}),MM=g("div")({fontWeight:"600",textTransform:"uppercase","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),LM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),$M=g("div")({marginBottom:"0.5rem"}),AM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),VM=g("div").withConfig({displayName:"BlogSettings___StyledDiv12",componentId:"sc-1ts9mpr-0"})({marginBottom:"0.5rem"});const IM=window.React.useState,Vt=window.brandyCustomizerData.general.default_settings.select_settings;function TM(){var c,d,u,f,h,x,p,m,w,E,_,k,H,$,C,b,T,M;const[e,t]=IM(window.wp.customize("select_settings")()??Vt),r=j=>V=>{const F=JSON.parse(JSON.stringify(e));xt(F,["text_color",j],V),t(F),window.wp.customize("select_settings")(F);const z=ie("body");window.jQuery(z).css(`--select-text-color-${j}`,V)},i=j=>V=>{const F=JSON.parse(JSON.stringify(e));xt(F,["background_color",j],V),t(F),window.wp.customize("select_settings")(F);const z=ie("body");window.jQuery(z).css(`--select-background-color-${j}`,V)},o=j=>V=>{const F=JSON.parse(JSON.stringify(e));xt(F,["border","color",j],V),t(F),window.wp.customize("select_settings")(F);const z=ie("body");window.jQuery(z).css(`--select-border-color-${j}`,V)},a=j=>{Ti(()=>{const V=JSON.parse(JSON.stringify(e));xt(V,["border","width"],j),t(V),window.wp.customize("select_settings")(V);const F=ie("body");window.jQuery(F).css("--select-border-width",ft(j))})},s=j=>{Ti(()=>{const V=JSON.parse(JSON.stringify(e));xt(V,["border","radius"],j),t(V),window.wp.customize("select_settings")(V);const F=ie("body");window.jQuery(F).css("--select-border-radius",ft(j))})},l=j=>{const V=JSON.parse(JSON.stringify(e));xt(V,["padding"],j),t(V),window.wp.customize("select_settings")(V);const F=ie("body");window.jQuery(F).css("--select-padding",Yi(j))};return n.jsxs(BM,{children:[n.jsxs(RM,{children:[n.jsx("label",{children:D("Text color")}),n.jsxs(FM,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((c=e==null?void 0:e.text_color)==null?void 0:c.normal)??((d=Vt.text_color)==null?void 0:d.normal),onChange:r("normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((u=e==null?void 0:e.text_color)==null?void 0:u.hover)??((f=Vt.text_color)==null?void 0:f.hover),onChange:r("hover")})})]})]}),n.jsxs(OM,{children:[n.jsx("label",{children:D("Background color")}),n.jsxs(PM,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((h=e==null?void 0:e.background_color)==null?void 0:h.normal)??((x=Vt==null?void 0:Vt.background_color)==null?void 0:x.normal),onChange:i("normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((p=e==null?void 0:e.background_color)==null?void 0:p.hover)??((m=Vt.background_color)==null?void 0:m.hover),onChange:i("hover")})})]})]}),n.jsxs(NM,{children:[n.jsx("label",{children:D("Border color")}),n.jsxs(zM,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((E=(w=e==null?void 0:e.border)==null?void 0:w.color)==null?void 0:E.normal)??((k=(_=Vt==null?void 0:Vt.border)==null?void 0:_.color)==null?void 0:k.normal),onChange:o("normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:(($=(H=e==null?void 0:e.border)==null?void 0:H.color)==null?void 0:$.hover)??((b=(C=Vt.border)==null?void 0:C.color)==null?void 0:b.hover),onChange:o("hover")})})]})]}),n.jsx(Ye,{title:D("Border width"),value:((T=e==null?void 0:e.border)==null?void 0:T.width)??Vt.border.width,onChange:a}),n.jsx(Ye,{title:D("Border radius"),value:((M=e==null?void 0:e.border)==null?void 0:M.radius)??Vt.border.radius,onChange:s}),n.jsx(no,{title:D("Padding"),units:["px"],value:(e==null?void 0:e.padding)??Vt.padding,onChange:l})]})}var BM=g("div")({display:"flex",flexDirection:"column",gap:"1rem",padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),RM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),FM=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),OM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),PM=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),NM=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),zM=g("div").withConfig({displayName:"SelectSettings___StyledDiv7",componentId:"sc-13p5h44-0"})({display:"flex",alignItems:"center",gap:"1rem"});const ZM=window.React.useContext,hc=window.React.useMemo;function WM(){const{sectionId:e}=ZM(h1),t=hc(()=>{switch(e){case"button_settings":return hk;case"typography_settings":return _k;case"content_settings":return Xk;case"breadcrumb_settings":return rM;case"blog_settings":return yM;case"select_settings":return TM;default:return null}},[e]),r=hc(()=>window.brandyCustomizerData.general.sections.find(i=>i.id===e),[e]);return n.jsxs(n.Fragment,{children:[n.jsx(A1,{title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("General")]}),n.jsx("div",{className:"text-[20px] text-brandy-text font-[300]",children:(r==null?void 0:r.title)??"Not found"})]}),hasBottomPart:!1,onGoBack:Mt}),n.jsx("div",{tw:"mt-4",children:n.jsx(t,{})})]})}const GM=window.React.useState,UM={sync_enabled:!0};function YM(){const[e,t]=GM(window.wp.customize("elementor_settings")()??UM),r=i=>{const o=JSON.parse(JSON.stringify({data:e}));o.sync_enabled=i,t(o),cn.refreshView()};return n.jsxs(XM,{children:[n.jsx(JM,{children:D("Choose items you want to sync with Brandy")}),n.jsxs(KM,{children:[n.jsx("span",{children:D("Button")}),n.jsx(Vn,{checked:e.sync_enabled,onChange:r})]})]})}var XM=g("div")({padding:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),JM=g("label")({marginBottom:"0.5rem",display:"block",fontWeight:"600"}),KM=g("div").withConfig({displayName:"OverrideSettings___StyledDiv2",componentId:"sc-vdgna1-0"})({display:"flex",alignItems:"center",justifyContent:"space-between"});const qM=window.React.useContext,fc=window.React.useMemo;function QM(){const{sectionId:e}=qM(h1),t=fc(()=>{switch(e){case"elementor_override_settings":return YM}},[e]),r=fc(()=>window.brandyCustomizerData.elementor.sections.find(i=>i.id===e),[e]);return n.jsxs(n.Fragment,{children:[n.jsx(A1,{title:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"font-[300] text-[13px] text-brandy-text-secondary",children:[D("Customizing")," ▸ ",D("Elementor")]}),n.jsx("div",{className:"text-[20px] text-brandy-text font-[300]",children:(r==null?void 0:r.title)??"Not found"})]}),hasBottomPart:!1,onGoBack:Mt}),n.jsx("div",{tw:"mt-4",children:n.jsx(t,{})})]})}const eL=window.React.createContext,pc=window.React.useMemo,Qa=g.div.withConfig({displayName:"BrandySection__StyledSectionWrapper",componentId:"sc-ywrqgm-0"})({height:"100%"}),h1=eL({});function tL(e){const{sectionId:t,builder:r,clonedFromId:i}=e,o=pc(()=>({sectionId:t,builder:r}),[t,r]),a=pc(()=>t==="new_header"&&r==="header"?n.jsx(NE,{}):t==="new_footer"&&r==="footer"?n.jsx(hH,{}):t==="settings"&&r==="header"?n.jsx(FE,{}):t==="settings"&&r==="footer"?n.jsx(cH,{}):t.endsWith("_header")&&r==="header"||t.endsWith("_footer")&&r==="footer"?n.jsx(KE,{}):t==="toggle_off_canvas"?n.jsx(K5,{}):t==="toggle"?n.jsx(K5,{}):r==="woocommerce-settings"?n.jsx(ck,{}):r==="general-settings"?n.jsx(WM,{}):r==="elementor-settings"?n.jsx(QM,{}):n.jsx(ky,{elementId:t,clonedFromId:i}),[t,r]);return n.jsx(h1.Provider,{value:o,children:a})}const o1=[],nL=(e,t)=>{if(t.endsWith("_header")&&e==="header"||t.endsWith("_footer")&&e==="footer"){iL(e,t);return}if(t==="toggle_off_canvas"){rL();return}oL(e,t)},rL=()=>{Ae.setState(e=>{e.chosenRow="toggle",e.chosenElement=null})},iL=(e,t)=>{let r=Ae;e==="footer"&&(r=Fe),["top","middle","bottom"].forEach(o=>{t.includes(o)&&r.setState(a=>{a.chosenRow=o,a.chosenElement=null})})},oL=(e,t)=>{let r=Ae;e==="footer"&&(r=Fe),r.setState(i=>{const o=i.previewTemplate.elements[t];o!=null&&(i.chosenElement=o,i.chosenRow=null)})},Hd=300,u1=(e,t,r,i)=>{const o=document.querySelector("#brandy-section .current-panel");if((o==null?void 0:o.dataset.sectionId)==="new_header")return;const a=window.wp.customize.panel(e);a.expanded()||a.expanded(!0);const s=document.querySelector("#brandy-section");if(o1==null?void 0:o1.find(d=>d.dom.dataset.sectionId===t&&d.dom.dataset.builder===e))return;if(o1.length>0&&o1.forEach(d=>{let u=d.dom.cloneNode(!0);d.dom.replaceWith(u),d.root.unmount(),setTimeout(()=>{window.jQuery(u).remove(),o1.shift()},Hd)}),i!=null){const d=gc(e,i);s==null||s.appendChild(d)}const c=gc(e,t);s==null||s.appendChild(c)};function gc(e,t){const r=document.createElement("div");r.className="customize-pane-child",r.dataset.sectionId=t,r.dataset.builder=e,nL(e,t);const i=Bn.createRoot(r);return o1.push({root:i,dom:r}),i.render(n.jsx(tL,{builder:e,sectionId:t})),setTimeout(()=>{r.classList.add("current-panel")},100),r}const Mt=()=>{o1.length>0&&o1.forEach((e,t)=>{o1.length>1&&t!=o1.length-1||(e.dom.classList.add("section-close"),setTimeout(()=>{e.root.unmount(),e.dom.remove(),o1.pop()},Hd))})},ie=e=>{const t=x7();return t==null||t.contentDocument==null?[]:t.contentDocument.querySelectorAll(e)},b1=(e,t)=>e==="header"||e==="footer"?`[data-section-id="${e}"]`:`[data-section-id="${e}"][data-builder="${t}"]`;x3(!1);let Ae;const en="header";Vr.panel(en,function(){const e=Ee().getPreviewTemplate(en),t=()=>e.toggle_off_canvas,r=()=>Ee().getTemplates(en),i=()=>{const s=r(),l=Ee().getPreviewTemplate(en).id;return s.find(c=>c.id===l)??s[0]},o=()=>{const s=r(),l=Ee().getCurrentTemplate(en).id;return(s.find(c=>c.id===l)??s[0]).id},a=()=>{Ee().refreshPartial(`${en}_placements`)};Ae=Gi(m3(w3((s,l)=>({templates:r(),previewTemplate:i(),currentTemplateId:o(),chosenElement:null,chosenRow:null,toggleOffCanvas:t(),reset:()=>{s(c=>{c.previewTemplate={...window.brandyCustomizerData.default_settings.empty_header_template,id:c.previewTemplate.id,settings:{...window.brandyCustomizerData.default_settings.empty_header_template.settings,name:c.previewTemplate.settings.name}},a()})},addTemplate:c=>{s(d=>{d.templates.push(c)}),a()},removeTemplate:c=>{const d=r().filter(u=>u.id!==c);s(u=>{u.templates=d,c===u.previewTemplate.id&&(u.previewTemplate=d[0])})},choosePreviewTemplate:c=>{const d=l().templates;l().previewTemplate.id!==c&&(s(f=>{f.previewTemplate=d.find(h=>h.id===c)??d[0]}),a())},setCurrentTemplateId:c=>{const d=l().templates;if(l().currentTemplateId===c)return;const u=d.find(f=>f.id===c)==null?d[0].id:c;s(f=>{f.currentTemplateId=u}),Ee().updateCurrentTemplateId("header",u)},cloneElementItem:c=>{s(d=>{const u=d.previewTemplate.elements[c];if(u==null)return;const f=u.cloned_from??c,h=f+new Date().getTime(),x=`Cloned ${u.title}`,p={...u,id:h,title:x,cloned_from:f},m={};Object.keys(d.previewTemplate.elements).forEach(w=>{m[w]=d.previewTemplate.elements[w],w===c&&(m[h]=p)}),d.previewTemplate.elements=JSON.parse(JSON.stringify(m))})},removeElementItem:c=>{s(d=>{delete d.previewTemplate.elements[c],d.previewTemplate.elements=JSON.parse(JSON.stringify(d.previewTemplate.elements))})},changeElementItemTitle:(c,d)=>{s(u=>{u.previewTemplate.elements[c]!=null&&(u.previewTemplate.elements[c].title=d)})},addElement:c=>{v3({...c,template:l().previewTemplate}).then(d=>{s(u=>{u.previewTemplate.placements[Ge(c.device)]=d}),a()})},setElements:({row:c,col:d,changedList:u,device:f})=>{const h=l().previewTemplate,x=JSON.parse(JSON.stringify(h.placements[Ge(f)]));c==="toggle"&&(x.toggle=u),c!=="toggle"&&d!=null&&(x[c][d]=u),s(p=>{p.previewTemplate.placements[Ge(f)]=x}),Ui(x,h.placements[Ge(f)])||a()},removeElement:c=>{var d;C3({...c,template:l().previewTemplate}).then(u=>{s(f=>{var h;f.previewTemplate.placements[Ge(c.device)]=u,c.removeId===((h=f.chosenElement)==null?void 0:h.id)&&(f.chosenElement=null)}),a()}),c.removeId===((d=l().chosenElement)==null?void 0:d.id)&&Mt()},selectElement:c=>{s(d=>{d.chosenElement=c.element}),s(d=>{d.chosenRow=null})},deselectSection:()=>{s(c=>{c.chosenElement=null}),s(c=>{c.chosenRow=null})},changeElementSettings:c=>{s(d=>{var u;return c((u=d.chosenElement)==null?void 0:u.settings)})},changeTemplateSettings:c=>{s(d=>{var u;return c((u=d.previewTemplate)==null?void 0:u.settings)})},changeRowSettings:c=>{s(d=>{d.previewTemplate&&d.chosenRow&&d.chosenRow in d.previewTemplate.row_configurations&&c(d.previewTemplate.row_configurations[d.chosenRow])})},selectRow:c=>{s(d=>{c in d.previewTemplate.row_configurations&&(d.chosenRow=c,d.chosenElement=null)})},deselectRow:()=>{s(c=>{c.chosenRow=null})}})))),Ae.subscribe(s=>s.chosenElement,(s,l)=>{l==null||s==null||Ae.setState(c=>{c.previewTemplate.elements[s==null?void 0:s.id]=s})},{equalityFn:pr}),Ae.subscribe(s=>s.previewTemplate,s=>{Ae.setState(l=>{const c=l.templates.findIndex(d=>d.id===s.id)||0;l.templates[c]=s})},{equalityFn:pr}),Ae.subscribe(s=>s.previewTemplate.id,(s,l)=>{s!==l&&Ee().updatePreviewTemplateId(en,s??"default")}),Ae.subscribe(s=>s.templates,(s,l)=>{JSON.stringify(s)!==JSON.stringify(l)&&Ee().updateTemplates(en,s)},{equalityFn:pr})});function aL({template:e,device:t,builder:r}){const i=Ge(t),o=e.placements[i];o.toggle&&Array.isArray(o.toggle)&&o.toggle.forEach(a=>{const s=e.elements[a];s!=null&&y1({sectionId:s.id,settings:s.settings,device:t,builder:r,clonedFromId:s.cloned_from})})}function sL({template:e,device:t,builder:r}){const i=Ge(t),o=e.placements[i];Object.keys(o).forEach(a=>{a!=="toggle"&&o[a].forEach(s=>{Array.isArray(s)&&s.forEach(l=>{const c=e.elements[l];c!=null&&y1({sectionId:c.id,settings:c.settings,device:t,builder:r,clonedFromId:c.cloned_from})})})})}function lL({template:e,device:t,builder:r}){Object.keys(e.row_configurations).forEach(i=>{const o=e.row_configurations[i],a=i+"_"+r;y1({sectionId:a,settings:o,device:t,builder:r})})}const cn={updateResponsiveControl(e,t){const i=(e==="header"?Ae:Fe).getState().previewTemplate;aL({template:i,device:t,builder:e}),sL({template:i,device:t,builder:e}),lL({template:i,device:t,builder:e})},refreshView(){var e,t;(t=(e=window.wp.customize)==null?void 0:e.previewer)==null||t.refresh()},getPreviewerWindow(){var e,t,r;return(r=(t=(e=window.wp)==null?void 0:e.customize)==null?void 0:t.previewer)==null?void 0:r.targetWindow()}},cL=()=>{const e=document.querySelector("#customize-theme-controls");if(e){const t=document.createElement("div");t.className="customize-pane-child",t.id="brandy-panel",e.appendChild(t)}},dL=()=>{const e=document.querySelector("#customize-theme-controls");if(e){const t=document.createElement("div");t.id="brandy-section",e.appendChild(t)}},uL=()=>{const e=document.getElementById("customize-preview");if(e){const t=document.createElement("brandy-placements");t.id="brandy-header-placements",window.jQuery(t).insertAfter(e)}},hL=()=>{const e=document.getElementById("customize-preview");if(e){const t=document.createElement("brandy-placements");t.id="brandy-footer-placements",window.jQuery(t).insertAfter(e)}},fL=()=>{const e=document.getElementById("customize-preview");if(e){const t=document.createElement("brandy-block-inserter");t.id="brandy-block-inserter",window.jQuery(t).insertBefore(e)}},pL=()=>{const e=document.getElementById("customize-preview");if(e){const t=document.createElement("brandy-string-variables");t.id="brandy-string-variables",window.jQuery(t).insertAfter(e)}},gL=()=>{cL(),dL(),uL(),hL(),fL(),pL()};function kd(){return n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:n.jsx("path",{d:"M9.49988 6L15.4999 12L9.49988 18",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}const xL=window.React.createContext,mL=window.React.useMemo;xL({});function wL(){const e=Ae(u=>u.templates),t=Ae(u=>u.currentTemplateId),r=Ae(u=>u.setCurrentTemplateId),i=Ae(u=>u.previewTemplate),o=Ae(u=>u.choosePreviewTemplate),a=Ae(u=>u.removeTemplate),s=mL(()=>i.id,[i.id]),l=u=>{u.preventDefault(),u.stopPropagation(),u1("header","new_header")},c=u=>{s===u?u1("header","settings"):o(u)},d=u=>{u===s&&c("preset_default"),u===t&&r("preset_default"),a(u)};return n.jsxs(CL,{children:[n.jsxs(yL,{children:[n.jsx(bL,{children:D("Global header")}),n.jsx(et,{options:e.map(u=>({label:u.settings.name,value:u.id})),selected:t,onChange:r})]}),n.jsx(_L,{children:D("Your headers")}),n.jsx(jL,{children:D("Choose to preview and click again to customize")}),n.jsx(SL,{children:e.map(u=>{var f;return n.jsx(vL,{isActive:u.id===s,templateId:u.id,onChoose:h=>{h.preventDefault(),h.stopPropagation(),c(u.id)},onRemove:h=>{h.preventDefault(),h.stopPropagation(),d(u.id)},children:(f=u.settings)==null?void 0:f.name},u.id)})}),n.jsx(DL,{children:n.jsx(Xi,{primary:!0,onClick:l,children:D("Create new header")})})]})}const vL=({children:e,isActive:t,templateId:r="preset_default",onChoose:i,onRemove:o},a)=>{const s=n.jsx(EL,{children:e});return n.jsxs(HL,{className:`flex items-center justify-between rounded-[5px] group bg-white pl-4 pr-1 py-3 text-[#606060] text-[14px] cursor-pointer ${t&&"border-black [&_svg_*]:stroke-black"}`,onClick:i,$_css2:[{transitionProperty:"box-shadow",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms"},{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},ce(["&:hover .arrow-icon svg *{","}"],{stroke:"#000 !important"})],children:[(e??"").toString().length>28?n.jsx(He,{title:e,children:s}):s,n.jsxs("span",{className:"flex gap-2 items-center",children:[r!=="preset_default"&&n.jsx("div",{className:"trash-icon invisible opacity-0 group-hover:visible group-hover:opacity-100 block [&_svg_*]:fill-delete-color [&_svg_*]:stroke-delete-color transition-all ease-in-out duration-200",onClick:o,children:n.jsx(F2,{})}),n.jsx("span",{className:"arrow-icon [&_*]:stroke-icon",children:n.jsx(kd,{})})]})]},a)};var CL=g("div")({display:"flex",flexGrow:"1",flexDirection:"column"}),yL=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem"}),bL=g("p")({marginBottom:"0.25rem",fontWeight:"600"}),_L=g("div")({"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"16px",fontSize:"14px",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}),jL=g("div")({padding:"1rem",paddingBottom:"0px"}),SL=g("div")({display:"grid",gap:"1rem",padding:"1rem"}),DL=g("div")({marginTop:"auto",borderRightWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(240 240 241 / var(--tw-bg-opacity))",padding:"1rem","--tw-shadow":"0px -1px 10px 0px rgba(90, 90, 90, 0.10)","--tw-shadow-colored":"0px -1px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}),EL=g("span")` overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; `,HL=g("div").withConfig({displayName:"Headers___StyledDiv7",componentId:"sc-1aiksvl-0"})(["",""],e=>e.$_css2);function kL(){return n.jsx(wL,{})}const ea=window.React.useMemo,ML=window.React.useState;function LL(){const e=Rt(l=>l.settings),t=Rt(l=>l.updateSettings),r=l=>c=>{t(d=>({...d,[l]:c}))},i=ea(()=>Object.entries(e).filter(([l])=>l.includes("palette")),[e]),o=ea(()=>window.brandyCustomizerData.colors.default_palette,[]),a=()=>{t(l=>({...l,...o}))},s=ea(()=>!Ui(o,e),[e,o]);return n.jsxs(VL,{children:[n.jsxs(IL,{children:[n.jsx(st,{title:{text:D("Global color palette"),type:"bold",show_devices:!1}}),n.jsx(wi,{onReset:a,hasChanged:s})]}),n.jsx(TL,{children:i.map(([l,c],d)=>n.jsx("div",{children:n.jsx(He,{title:`Palette ${d+1}`,children:n.jsx(me,{color:c,onChange:r(l),hideGlobals:!0},l)})},l))}),n.jsx($L,{})]})}function $L(){const[e,t]=ML(!1),r=()=>{t(o=>!o)},i=Rt(o=>o.globalPalettes);return n.jsxs(BL,{children:[n.jsxs(RL,{onClick:r,children:[n.jsx("span",{children:D("Presets")}),n.jsx(FL,{$_css2:[{display:"inline-flex",height:"fit-content",width:"fit-content",alignItems:"center",justifyContent:"center",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms"},e&&{"--tw-rotate":"180deg",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}],children:n.jsx("svg",{width:"13",height:"6",viewBox:"0 0 13 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M12.9998 4.71428L6.88443 0L0.769043 4.71428L1.76974 6L6.88443 2.14286L11.8879 6L12.9998 4.71428Z",fill:"#A1ABB7"})})})]}),e&&n.jsx(OL,{children:Object.entries(i).map(([o,a])=>n.jsx(AL,{data:a},o))})]})}function AL({data:e}){const t=Rt(l=>l.settings),r=Rt(l=>l.updateSettings),{title:i,colors:o}=e,a=()=>{r(l=>({...l,...o}))},s=ea(()=>t.accent===o.accent&&t.body_text.primary===o.body_text.primary&&t.body_text.secondary===o.body_text.secondary&&t.border===o.border&&t.heading===o.heading&&t.links.normal===o.links.normal&&t.links.hover===o.links.hover&&t.palette_1===o.palette_1&&t.palette_2===o.palette_2&&t.palette_3===o.palette_3&&t.palette_4===o.palette_4&&t.palette_5===o.palette_5&&t.palette_6===o.palette_6&&t.palette_7===o.palette_7&&t.palette_8===o.palette_8,[t,o]);return n.jsxs(PL,{onClick:a,$_css3:[{cursor:"pointer",borderRadius:"5px",borderWidth:"1px",borderColor:"transparent",backgroundColor:"rgba(255, 255, 255, 0.65)",padding:"8px"},s&&{"--tw-border-opacity":"1",borderColor:"rgb(0 0 0 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"}],children:[n.jsx(NL,{children:Object.entries(o).filter(([l])=>l.includes("palette")).slice(0,5).map(([l,c])=>n.jsx(zL,{$_css4:[{height:"20px",width:"20px",borderRadius:"5px"},ce(["background:",";"],c)]},l))}),n.jsx(ZL,{children:i})]})}var VL=g("div")({borderBottomWidth:"1px",paddingBottom:"1.5rem"}),IL=g("div")({display:"flex",justifyContent:"space-between"}),TL=g("div")({marginTop:"1rem",display:"flex",alignItems:"center",justifyContent:"space-between"}),BL=g("div")({marginTop:"1rem"}),RL=g("div")({display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"space-between"}),FL=g("span")`${e=>e.$_css2}`,OL=g("div")({marginTop:"0.5rem",display:"flex",flexWrap:"wrap",justifyContent:"space-between",rowGap:"1rem"}),PL=g("div")`${e=>e.$_css3}`,NL=g("div")({display:"flex",gap:"8px"}),zL=g("div")`${e=>e.$_css4}`,ZL=g("div").withConfig({displayName:"GlobalPalettes___StyledDiv10",componentId:"sc-bmvb71-0"})({marginTop:"1rem",textAlign:"center",fontSize:"12px",fontWeight:"400",fontStyle:"italic"});const WL=window.React.useMemo;function GL(){const e=Rt(a=>a.settings),t=Rt(a=>a.updateSettings),{current:r}=Ce(),i=a=>s=>{t(l=>({...l,[a]:{...l[a],[r]:s}}))},o=WL(()=>_e(e.surface_background,r),[e.surface_background,r]);return n.jsx(UL,{children:n.jsxs(YL,{children:[n.jsxs(XL,{children:[n.jsx(st,{title:{text:"Surface color",type:"bold",show_devices:!1}}),n.jsx(zn,{})]}),n.jsxs(JL,{children:[n.jsx("span",{children:D("Site background")}),n.jsx(me,{color:o==""?"#ffffff00":o,onChange:i("surface_background")})]})]})})}var UL=g("div")({marginTop:"1.5rem",borderTopWidth:"1px",paddingTop:"1.5rem"}),YL=g("div")({display:"flex",flexDirection:"column",gap:"0.75rem"}),XL=g("div")({display:"flex",justifyContent:"space-between"}),JL=g("div").withConfig({displayName:"SurfaceColors___StyledDiv4",componentId:"sc-4m6l0c-0"})({display:"flex",justifyContent:"space-between"});const KL=window.React.useState;function qL(){const e=Rt(u=>u.settings),[t,r]=KL(window.wp.customize("button_settings")()??window.brandyCustomizerData.general.default_settings.button_settings),i=Rt(u=>u.updateSettings),o=u=>f=>{i(h=>({...h,[u]:f}))},a=u=>{i(h=>({...h,border:u}));const f=ie("body");window.jQuery(f).css("--brandy-border-color",u)},s=u=>f=>{i(h=>({...h,body_text:{...h.body_text,[u]:f}}))},l=u=>f=>{i(h=>({...h,links:{...h.links,[u]:f}}))},c=u=>f=>{const h=JSON.parse(JSON.stringify({...t,primary:{...t.primary,background:{...t.background,[u]:f}}}));r(h),window.wp.customize("button_settings")(h);const x=ie("body");window.jQuery(x).css(`--button-primary-background-${u}`,f)},d=u=>f=>{const h=JSON.parse(JSON.stringify({...t,primary:{...t.primary,color:{...t.color,[u]:f}}}));r(h),window.wp.customize("button_settings")(h);const x=ie("body");window.jQuery(x).css(`--button-primary-color-${u}`,f)};return n.jsx(QL,{children:n.jsxs(e$,{children:[n.jsx(t$,{children:n.jsx(st,{title:{text:"Theme colors",type:"bold",show_devices:!1}})}),n.jsxs(n$,{children:[n.jsx("span",{children:D("Accent")}),n.jsx(me,{color:e.accent,onChange:o("accent")})]}),n.jsxs(r$,{children:[n.jsx("span",{children:D("Links")}),n.jsxs(i$,{children:[n.jsx(He,{title:D("Normal"),children:n.jsx(me,{color:e.links.normal,onChange:l("normal")})}),n.jsx(He,{title:D("Hover"),children:n.jsx(me,{color:e.links.hover,onChange:l("hover")})})]})]}),n.jsxs(o$,{children:[n.jsx("span",{children:D("Body text")}),n.jsxs(a$,{children:[n.jsx(He,{title:D("Primary"),children:n.jsx(me,{color:e.body_text.primary??e.palette_3,onChange:s("primary")})}),n.jsx(He,{title:D("Secondary"),children:n.jsx(me,{color:e.body_text.secondary??e.palette_4,onChange:s("secondary")})})]})]}),n.jsxs(s$,{children:[n.jsx("span",{children:D("Border")}),n.jsx(me,{color:e.border,onChange:a})]}),n.jsxs(l$,{children:[n.jsx("span",{children:D("All Headings (H1 - H6)")}),n.jsx(me,{color:e.heading,onChange:o("heading")})]}),n.jsxs(c$,{children:[n.jsx("span",{children:D("Button background")}),n.jsxs(d$,{children:[n.jsx(He,{title:D("Normal"),children:n.jsx(me,{color:t.primary.background.normal??e.palette_1,onChange:c("normal")})}),n.jsx(He,{title:D("Hover"),children:n.jsx(me,{color:t.primary.background.hover??e.palette_2,onChange:c("hover")})})]})]}),n.jsxs(u$,{children:[n.jsx("span",{children:D("Button color")}),n.jsxs(h$,{children:[n.jsx(He,{title:D("Normal"),children:n.jsx(me,{color:t.primary.color.normal??e.palette_1,onChange:d("normal")})}),n.jsx(He,{title:D("Hover"),children:n.jsx(me,{color:t.primary.color.hover??e.palette_2,onChange:d("hover")})})]})]})]})})}var QL=g("div")({marginTop:"1.5rem"}),e$=g("div")({display:"flex",flexDirection:"column",gap:"0.75rem"}),t$=g("div")({display:"flex",justifyContent:"space-between"}),n$=g("div")({display:"flex",justifyContent:"space-between"}),r$=g("div")({display:"flex",justifyContent:"space-between"}),i$=g("div")({display:"flex",gap:"0.5rem"}),o$=g("div")({display:"flex",justifyContent:"space-between"}),a$=g("div")({display:"flex",gap:"0.5rem"}),s$=g("div")({display:"flex",justifyContent:"space-between"}),l$=g("div")({display:"flex",justifyContent:"space-between"}),c$=g("div")({display:"flex",justifyContent:"space-between"}),d$=g("div")({display:"flex",gap:"0.5rem"}),u$=g("div")({display:"flex",justifyContent:"space-between"}),h$=g("div").withConfig({displayName:"ThemeColors___StyledDiv14",componentId:"sc-1y7cpqj-0"})({display:"flex",gap:"0.5rem"});const f$=window.React.createContext,p$=window.React.useEffect;f$({});function g$(){const{current:e}=Ce(),t=Rt(o=>o.settings),r=Rt(o=>o.updateSettings),i=()=>{window.wp.customize("colors_settings")(window.brandyCustomizerData.colors.default_palette),r(()=>({...window.brandyCustomizerData.colors.default_palette}))};return p$(()=>{window.wp.customize("colors_settings")(t);const o=ie("style#brandy-colors-variables");let a="";Object.entries(t).forEach(([s,l])=>{s.includes("palette")&&(a+=`--${s}:${l};`)}),Object.entries(t).forEach(([s,l])=>{s.includes("heading")&&(l===""?a+=`--${s}:${t.heading};`:a+=`--${s}:${l};`)}),Object.entries(t).forEach(([s,l])=>{if(!(s.includes("heading")||s.includes("palette"))){if(s==="body_text"){a+=`--primary_text:${l.primary??"var(--palette_3)"};--secondary_text:${l.secondary??"var(--palette_4)"};`;return}if(s==="links"){a+=`--brandy-link-normal:${l.normal};--brandy-link-hover:${l.hover};`;return}if(s==="surface_background"||s==="content_background"){const c=l[e]??l.desktop;a+=`--${s}:${c};`;return}a+=`--${s}:${l};`}}),a!==""&&window.jQuery(o).html(`html{${a}}`)},[t,e]),n.jsxs("div",{className:"px-4 py-5",children:[n.jsx(Xi,{onClick:o=>{o.stopPropagation(),o.preventDefault(),i()},className:"mb-6",children:"Reset colors"}),n.jsx(LL,{}),n.jsx(qL,{}),n.jsx(GL,{})]})}const x$=window.React.createContext,m$=window.React.useMemo;x$({});function w$(){const e=Fe(u=>u.templates),t=Fe(u=>u.currentTemplateId),r=Fe(u=>u.setCurrentTemplateId),i=Fe(u=>u.previewTemplate),o=Fe(u=>u.choosePreviewTemplate),a=Fe(u=>u.removeTemplate),s=m$(()=>i.id,[i.id]),l=u=>{u.preventDefault(),u.stopPropagation(),u1("footer","new_footer")},c=u=>{s===u?u1("footer","settings"):o(u)},d=u=>{u===s&&c("preset_default"),u===t&&r("preset_default"),a(u)};return n.jsxs("div",{className:"flex flex-col grow",children:[n.jsxs(C$,{children:[n.jsx(y$,{children:D("Global footer")}),n.jsx(et,{options:e.map(u=>({label:u.settings.name,value:u.id})),selected:t,onChange:r})]}),n.jsx(b$,{children:D("Your footers")}),n.jsx(_$,{children:D("Choose your footer to preview then click again to customize")}),n.jsx("div",{className:"grid gap-4 p-4",children:e.map(u=>{var f;return n.jsx(v$,{isActive:u.id===s,templateId:u.id,onChoose:h=>{h.preventDefault(),h.stopPropagation(),c(u.id)},onRemove:h=>{h.preventDefault(),h.stopPropagation(),d(u.id)},children:(f=u.settings)==null?void 0:f.name},u.id)})}),n.jsx(j$,{className:"p-4 mt-auto",$_css2:[{borderRightWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(240 240 241 / var(--tw-bg-opacity))","--tw-shadow":"0px -1px 10px 0px rgba(90, 90, 90, 0.10)","--tw-shadow-colored":"0px -1px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}],children:n.jsx(Xi,{primary:!0,onClick:l,children:D("Create new footer")})})]})}const v$=({children:e,isActive:t,templateId:r="preset_default",onChoose:i,onRemove:o},a)=>n.jsxs(S$,{className:`flex items-center justify-between rounded-[5px] group bg-white pl-4 pr-1 py-3 text-[#606060] text-[14px] cursor-pointer ${t&&"border-black [&_svg_*]:stroke-black"}`,onClick:i,$_css3:[{transitionProperty:"box-shadow",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms"},{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},{"&:hover":{"--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},ce(["&:hover .arrow-icon svg *{","}"],{stroke:"#000 !important"})],children:[e,n.jsxs("span",{className:"flex gap-2 items-center",children:[r!=="preset_default"&&n.jsx("div",{className:"invisible opacity-0 group-hover:visible group-hover:opacity-100 block [&_svg_*]:fill-delete-color [&_svg_*]:stroke-delete-color transition-all ease-in-out duration-200",onClick:o,children:n.jsx(F2,{})}),n.jsx("span",{className:"arrow-icon [&_*]:stroke-icon",children:n.jsx(kd,{})})]})]},a);var C$=g("div")({borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))",padding:"1rem"}),y$=g("p")({marginBottom:"0.25rem",fontWeight:"600"}),b$=g("div")({"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"16px",fontSize:"14px",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"}),_$=g("div")({padding:"1rem",paddingBottom:"0px"}),j$=g("div")`${e=>e.$_css2}`,S$=g("div").withConfig({displayName:"Footers___StyledDiv5",componentId:"sc-1jo1m6-0"})(["",""],e=>e.$_css3);function D$(){return n.jsx(w$,{})}var vc,Cc;const E$=((Cc=(vc=window.brandyCustomizerData)==null?void 0:vc.general)==null?void 0:Cc.sections)??[];function H$(){return n.jsx(k$,{className:"brandy-general-panel__content",children:n.jsx("div",{className:"general-settings__navigations",children:E$.map(e=>n.jsxs(M$,{className:"group",onClick:t=>{t.preventDefault(),t.stopPropagation(),u1("general-settings",e.id)},children:[n.jsx(L$,{children:e.title}),n.jsx("span",{children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"24",height:"24",rx:"2",fill:"transparent"}),n.jsx($$,{d:"M10.6 6L9.40002 7L14 12L9.40002 17L10.6 18L16 12L10.6 6Z",fill:"black"})]})})]},e.id))})})}var k$=g("div")({marginTop:"1rem"}),M$=g("div")({display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"space-between",borderBottomWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"0.75rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms","&:last-child":{borderBottomWidth:"0px"},"&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(246 247 247 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}}),L$=g("span")({fontWeight:"500"}),$$=g("path").withConfig({displayName:"Panel___StyledPath",componentId:"sc-1qa3lxj-0"})({".group:hover &":{fill:"#2271B1"}});const A$=window.React.useState,Dn=({label:e,children:t})=>n.jsxs(T$,{children:[e&&n.jsx(B$,{children:e}),t]}),V$=Object.entries(window.brandyCustomizerData.pages).map(([e,t])=>({label:t.title,value:e}));function I$(){var d,u,f,h,x;const[e,t]=A$(window.wp.customize("wishlist_settings")()??window.brandyCustomizerData.wishlist.default_settings),r=p=>{const m={...e,add_to_wishlist_text:p};t(m),window.wp.customize("wishlist_settings")(m),window.jQuery(ie(".brandy-add-to-wishlist-text")).text(p)},i=p=>{const m={...e,already_in_package_text:p};t(m),window.wp.customize("wishlist_settings")(m),window.jQuery(ie(".brandy-wishlist-already-text")).text(p)},o=p=>{const m={...e,added_text:p};t(m),window.wp.customize("wishlist_settings")(m),window.jQuery(ie(".brandy-wishlist-added-text")).text(p)},a=p=>{const m={...e,view_wishlist_text:p};t(m),window.wp.customize("wishlist_settings")(m),window.jQuery(ie(".brandy-view-wishlist")).text(p)},s=p=>{var w;const m={...e,wishlist_page:p};t(m),window.wp.customize("wishlist_settings")(m),window.jQuery(ie(".brandy-view-wishlist")).attr("href",((w=window.brandyCustomizerData.pages[p])==null?void 0:w.link)??"#")},l=p=>m=>{const w={...e,icon_color:{...e.icon_color??window.brandyCustomizerData.wishlist.default_settings.icon_color,[p]:m}};t(w),window.wp.customize("wishlist_settings")(w),window.jQuery(ie("body")).css(`--brandy-global-wishlist-icon-color-${p}`,m)},c=p=>m=>{const w={...e,text_color:{...e.text_color??window.brandyCustomizerData.wishlist.default_settings.text_color,[p]:m}};t(w),window.wp.customize("wishlist_settings")(w),window.jQuery(ie("body")).css(`--brandy-global-wishlist-text-color-${p}`,m)};return n.jsxs(R$,{children:[n.jsx(Dn,{label:D("Add to wishlist text"),children:n.jsx(Ue,{value:e.add_to_wishlist_text,onChange:r})}),n.jsx(Dn,{label:D("Already in package text"),children:n.jsx(Ue,{value:e.already_in_package_text,onChange:i})}),n.jsx(Dn,{label:D("Added text"),children:n.jsx(Ue,{value:e.added_text,onChange:o})}),n.jsx(Dn,{label:D("View wishlist text"),children:n.jsx(Ue,{value:e.view_wishlist_text,onChange:a})}),n.jsxs(Dn,{label:D("Wishlist page"),children:[n.jsx(et,{options:V$,selected:e.wishlist_page,onChange:s}),n.jsx(F$,{dangerouslySetInnerHTML:{__html:D("Add shortcode [brandy_wishlist] to display Wishlist table.")}})]}),n.jsx(Dn,{children:n.jsxs(O$,{children:[n.jsx("label",{children:D("Icon color")}),n.jsxs(P$,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((d=e.icon_color)==null?void 0:d.normal)??window.brandyCustomizerData.wishlist.default_settings.icon_color.normal,onChange:l("normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((u=e.icon_color)==null?void 0:u.hover)??window.brandyCustomizerData.wishlist.default_settings.icon_color.hover,onChange:l("hover")})}),n.jsx(He,{title:D("Active"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((f=e.icon_color)==null?void 0:f.active)??window.brandyCustomizerData.wishlist.default_settings.icon_color.active,onChange:l("active")})})]})]})}),n.jsx(Dn,{children:n.jsxs(N$,{children:[n.jsx("label",{children:D("Text color")}),n.jsxs(z$,{children:[n.jsx(He,{title:D("Normal"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((h=e.text_color)==null?void 0:h.normal)??window.brandyCustomizerData.wishlist.default_settings.text_color.normal,onChange:c("normal")})}),n.jsx(He,{title:D("Hover"),style:{textTransform:"capitalize"},children:n.jsx(me,{color:((x=e.text_color)==null?void 0:x.hover)??window.brandyCustomizerData.wishlist.default_settings.text_color.hover,onChange:c("hover")})})]})]})})]})}var T$=g("div")({marginBottom:"0.5rem"}),B$=g("label")({marginBottom:"0.25rem",display:"inline-block"}),R$=g("div")({display:"flex",flexDirection:"column",gap:"0.75rem",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.25rem",paddingBottom:"1.25rem"}),F$=g("span")({marginTop:"0.5rem",display:"inline-block",fontSize:"12px",fontStyle:"italic"}),O$=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),P$=g("div")({display:"flex",alignItems:"center",gap:"1rem"}),N$=g("div")({display:"flex",alignItems:"center",justifyContent:"space-between"}),z$=g("div").withConfig({displayName:"Wishlist___StyledDiv6",componentId:"sc-1buip45-0"})({display:"flex",alignItems:"center",gap:"1rem"}),yc,bc;const Z$=((bc=(yc=window.brandyCustomizerData)==null?void 0:yc.woocommerce)==null?void 0:bc.sections)??[];function W$(){return n.jsx(G$,{className:"brandy-woocommerce-panel__content",children:n.jsx("div",{className:"woocommerce-settings__navigations",children:Z$.map(e=>n.jsxs(U$,{className:"group",onClick:t=>{t.preventDefault(),t.stopPropagation(),u1("woocommerce-settings",e.id)},children:[n.jsx(Y$,{children:e.title}),n.jsx("span",{children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"24",height:"24",rx:"2",fill:"transparent"}),n.jsx(X$,{d:"M10.6 6L9.40002 7L14 12L9.40002 17L10.6 18L16 12L10.6 6Z",fill:"black"})]})})]},e.id))})})}var G$=g("div")({marginTop:"1rem"}),U$=g("div")({display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"space-between",borderBottomWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"0.75rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms","&:last-child":{borderBottomWidth:"0px"},"&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(246 247 247 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}}),Y$=g("span")({fontWeight:"500"}),X$=g("path").withConfig({displayName:"Panel___StyledPath",componentId:"sc-1n2dri3-0"})({".group:hover &":{fill:"#2271B1"}}),_c,jc;const J$=((jc=(_c=window.brandyCustomizerData)==null?void 0:_c.elementor)==null?void 0:jc.sections)??[];function K$(){return n.jsx(q$,{className:"brandy-elementor-panel__content",children:n.jsx("div",{className:"elementor-settings__navigations",children:J$.map(e=>n.jsxs(Q$,{className:"group",onClick:t=>{t.preventDefault(),t.stopPropagation(),u1("elementor-settings",e.id)},children:[n.jsx(eA,{children:e.title}),n.jsx("span",{children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("rect",{width:"24",height:"24",rx:"2",fill:"transparent"}),n.jsx(tA,{d:"M10.6 6L9.40002 7L14 12L9.40002 17L10.6 18L16 12L10.6 6Z",fill:"black"})]})})]},e.id))})})}var q$=g("div")({marginTop:"1rem"}),Q$=g("div")({display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"space-between",borderBottomWidth:"1px",borderStyle:"solid","--tw-border-opacity":"1",borderColor:"rgb(227 232 238 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"0.75rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms","&:last-child":{borderBottomWidth:"0px"},"&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(246 247 247 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}}),eA=g("span")({fontWeight:"500"}),tA=g("path").withConfig({displayName:"Panel___StyledPath",componentId:"sc-d7ecr8-0"})({".group:hover &":{fill:"#2271B1"}});const nA=window.React.useContext;function rA(){const{panelData:e}=nA(P2);return e.id==="header"?n.jsx(kL,{}):e.id==="footer"?n.jsx(D$,{}):e.id==="colors"?n.jsx(g$,{}):e.id==="wishlist-settings"?n.jsx(I$,{}):e.id==="woocommerce-settings"?n.jsx(W$,{}):e.id==="general-settings"?n.jsx(H$,{}):e.id==="elementor-settings"?n.jsx(K$,{}):"Not found"}const iA=window.React.useContext;function oA(){const{panelData:e,goBack:t}=iA(P2);return n.jsxs(aA,{className:"brandy-panel-header",children:[n.jsx("div",{className:"customize-section-back",onClick:t}),n.jsxs(sA,{children:[n.jsx(lA,{children:D("Customizing")}),n.jsx(cA,{children:(e==null?void 0:e.title)??"Not found"})]})]})}var aA=g("div")({display:"flex",alignItems:"center",borderBottomWidth:"1px",borderTopWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgb(227 232 238 / var(--tw-border-opacity))",borderTopColor:"rgb(227 232 238 / var(--tw-border-opacity))"}),sA=g("div")({width:"100%","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"0.75rem"}),lA=g("div")({fontSize:"13px",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),cA=g("div").withConfig({displayName:"Header___StyledDiv4",componentId:"sc-1uapsz7-0"})({fontSize:"20px",fontWeight:"300","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"});const dA=window.React.createContext,uA=window.React.useCallback,xc=window.React.useMemo,P2=dA({});function Md({builder:e,title:t}){const r=uA(()=>{const a=window.wp.customize.panel(e);a&&a.expanded(!1)},[e]),i=xc(()=>({id:e,title:t||(e==="header"?"Header":"Footer")}),[e,t]),o=xc(()=>({goBack:r,panelData:i,builder:e}),[r,i,e]);return n.jsx(P2.Provider,{value:o,children:n.jsxs(hA,{className:"brandy-panel-wrapper",children:[n.jsx(oA,{}),n.jsx(rA,{})]})})}var hA=g("div").withConfig({displayName:"BrandyPanel___StyledDiv",componentId:"sc-1y7egfl-0"})({display:"flex",height:"100%",flexDirection:"column"});function Ld(){return n.jsxs("svg",{width:"12",height:"13",viewBox:"0 0 12 13",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("g",{clipPath:"url(#clip0_1979_2534)",children:n.jsx("path",{d:"M11.7465 11.0349C11.9074 11.1958 11.9979 11.4141 11.9979 11.6417C11.9979 11.8694 11.9074 12.0877 11.7465 12.2486C11.5855 12.4096 11.3672 12.5 11.1396 12.5C10.912 12.5 10.6937 12.4096 10.5327 12.2486L5.99964 7.71412L1.46515 12.2472C1.30419 12.4081 1.08589 12.4986 0.858264 12.4986C0.630638 12.4986 0.412335 12.4081 0.25138 12.2472C0.0904241 12.0862 2.39843e-09 11.8679 0 11.6403C-2.39843e-09 11.4127 0.0904241 11.1944 0.25138 11.0334L4.78587 6.50036L0.252807 1.96586C0.0918518 1.80491 0.00142799 1.5866 0.001428 1.35898C0.001428 1.13135 0.0918518 0.913049 0.252807 0.752094C0.413763 0.591138 0.632066 0.500714 0.859692 0.500714C1.08732 0.500714 1.30562 0.591138 1.46658 0.752094L5.99964 5.28659L10.5341 0.751379C10.6951 0.590424 10.9134 0.5 11.141 0.5C11.3686 0.5 11.5869 0.590424 11.7479 0.751379C11.9089 0.912335 11.9993 1.13064 11.9993 1.35826C11.9993 1.58589 11.9089 1.80419 11.7479 1.96515L7.21341 6.50036L11.7465 11.0349Z"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_1979_2534",children:n.jsx("rect",{width:"12",height:"12",transform:"translate(0 0.5)"})})})]})}function $d({items:e,builder:t,row:r,col:i=0}){const o=re(t)(p=>p.setElements),{current:a}=Ce(),s=re(t)(p=>p.removeElement),l=re(t)(p=>p.selectElement),c=re(t)(p=>{var m;return(m=p.chosenElement)==null?void 0:m.id}),d=Zi(p=>p.startDragging),u=Zi(p=>p.stopDragging),f=p=>{o({row:r,col:i,changedList:p.map(m=>m.id),device:a})},h=p=>m=>{m.preventDefault(),m.stopPropagation(),s({row:r,col:i,removeId:p,device:a})},x=p=>m=>{m.preventDefault(),m.stopPropagation(),setTimeout(()=>{l({element:p})},200),u1(t,p.id,p.cloned_from,"settings")};return n.jsx(hn.ReactSortable,{list:e,setList:f,group:`${t}-elements-builder`,className:"flex gap-3 items-center w-full h-full element-sortable-container",tag:"div",animation:150,easing:"ease-in-out",ghostClass:"element-builder-sortable-ghost",chosenClass:"element-builder-sortable-chosen",onStart:()=>{d()},onEnd:()=>{u()},children:e.map(p=>n.jsxs(fA,{className:"builder-item",onClick:x(p),$_css:[{position:"relative",display:"flex",width:"fit-content",alignItems:"center",justifyContent:"space-between","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",paddingLeft:"12px",paddingRight:"3px",paddingTop:"6px",paddingBottom:"6px",fontSize:"14px","--tw-text-opacity":"1",color:"rgb(96 96 96 / var(--tw-text-opacity))"},{borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","--tw-shadow":"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px -1px 0px 0px rgba(0, 0, 0, 0.02)","--tw-shadow-colored":"0px 1px 1px 0px var(--tw-shadow-color), 0px -1px 0px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",outlineStyle:"solid",outlineWidth:"1px",outlineColor:"transparent"},{"&:hover":{"--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))","--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}},{transitionProperty:"box-shadow",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},c===p.id&&{"--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))",outlineColor:"#1E1E1E"}],children:[n.jsx("span",{children:p.title}),n.jsx(pA,{onClick:h(p.id),children:n.jsx(Ld,{})})]},p.id))})}var fA=g("span")`${e=>e.$_css}`,pA=g("button").withConfig({displayName:"ElementSortable___StyledButton",componentId:"sc-14le66y-0"})({position:"relative",display:"inline-flex",height:"24px",width:"24px",alignItems:"center",justifyContent:"flex-end",padding:"8px","--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"});const gA=window.React,Zl=window.React.useEffect,xA=window.React.useMemo,Ad=window.React.useRef,Vd=window.React.useState,mA=g.div.withConfig({displayName:"useAddElementPopup__StyledListItem",componentId:"sc-hvpjws-0"})({display:"grid",gridAutoRows:"minmax(0, 1fr)",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",gap:"5px"}),wA=g.div.withConfig({displayName:"useAddElementPopup__StyledItem",componentId:"sc-hvpjws-1"})({display:"flex",minHeight:"100px",cursor:"pointer",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"5px",borderRadius:"0.375rem","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",paddingLeft:"8px",paddingRight:"8px",paddingTop:"10px",paddingBottom:"10px",textAlign:"center",fontSize:"12px","--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"100ms","&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 248 252 / var(--tw-bg-opacity))"}});var vA=g(wA).withConfig({displayName:"useAddElementPopup___StyledStyledItem",componentId:"sc-hvpjws-2"})(["",""],e=>e.$_css5);const CA=()=>n.jsx("div",{className:"text-brandy-text text-center",children:"No element found"}),yA=gA.forwardRef(({builder:e="header",onClose:t,row:r,col:i,lastPush:o=!0},a)=>{const{current:s}=Ce(),l=re(e)(w=>w.previewTemplate.placements[Ge(s)]),c=re(e)(w=>w.addElement),[d,u]=Vd(""),f=w=>()=>{c({row:r,col:i,lastPush:o,addId:w,device:s}),t()},h=w=>{typeof w!="number"&&u(w)},{unusedElements:x}=O2(l,e),p=xA(()=>d===""?x:x.filter(w=>w.title.toLowerCase().includes(d.toLowerCase())),[l,d,x]),m=Ad(null);return Zl(()=>{var w,E;(E=(w=m.current)==null?void 0:w.querySelector("input"))==null||E.focus()},[m]),n.jsx(bA,{className:"add-element-popup",ref:a,$_css2:[{zIndex:"99",cursor:"default",padding:"1rem"},{backgroundColor:"transparent"},{position:"absolute",bottom:"calc(100% - 7px)",left:"50%","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},{"@keyframes reveal":{"0%":{transform:"translateX(-50%) scale(.8) translateY(50px)",opacity:"0.7"},"100%":{transform:"translateX(-50%) scale(1) translateY(0px)",opacity:"1"}},animation:"reveal .3s forwards"}],children:n.jsxs(_A,{style:{filter:"drop-shadow(0px 0px 30px rgba(42, 48, 57, 0.20))"},onClick:w=>{w.stopPropagation(),w.preventDefault()},$_css3:[{"&::before":{content:"var(--tw-content)",position:"absolute",left:"50%",top:"calc(100% - 25px)","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-rotate":"225deg",borderRadius:"5px",borderWidth:"15px",borderStyle:"solid",borderBottomColor:"transparent","--tw-border-opacity":"1",borderLeftColor:"rgb(255 255 255 / var(--tw-border-opacity))",borderRightColor:"transparent",borderTopColor:"rgb(255 255 255 / var(--tw-border-opacity))","--tw-content":"''"}},{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},{borderRadius:"5px"},{cursor:"auto"},{width:"66.666667%",minWidth:"360px"}],children:[n.jsxs(jA,{children:[n.jsxs(SA,{children:[n.jsx(DA,{children:D("Add an element")}),n.jsx(EA,{onClick:t,$_css4:[{cursor:"pointer",padding:"7px","& svg":{height:"12px",width:"12px"}},ce` svg * { ${{fill:"#A1ABB7"}} } `],children:n.jsx(Ld,{})})]}),n.jsx(HA,{searchText:d,onSearch:h,ref:m,placeholder:D("Search element")})]}),n.jsx(G1,{className:"h-[300px]",autoHide:!0,children:n.jsx("div",{className:"p-4",children:p.length<=0?n.jsx(CA,{}):n.jsx(mA,{children:p.map(w=>n.jsxs(vA,{onClick:f(w.id),$_css5:[ce` &:hover svg { *[fill] { ${{fill:"#2271B1"}} } *[stroke] { ${{stroke:"#2271B1"}} } } `],children:[n.jsx("span",{dangerouslySetInnerHTML:{__html:w.icon}}),w.title]},w.id))})})})]})})});function Id({activatorNode:e=null,builder:t="header",col:r=1,row:i="top",lastPush:o=!0}){const a=Ad(null),[s,l]=Vd(!1);Zl(()=>{s?window.jQuery("brandy-placements").css("zIndex",10):window.jQuery("brandy-placements").css("zIndex",9)},[s]);const c=()=>{var h;const f=document.querySelector("#customize-preview > iframe");window.jQuery((h=f==null?void 0:f.contentWindow)==null?void 0:h.document).off("click",c),l(!1)},d=()=>{var h;const f=document.querySelector("#customize-preview > iframe");window.jQuery((h=f==null?void 0:f.contentWindow)==null?void 0:h.document).on("click",c),l(!0)};return Zl(()=>{const f=h=>{e==null&&a.current==null&&c();const x=e??a.current;x!=null&&x.contains(h.target)||c()};return window.jQuery(document).on("click","body",f),()=>{window.jQuery(document).off("click","body",f)}},[e]),{contextHolder:s?n.jsx(yA,{ref:a,builder:t,row:i,col:r,onClose:()=>{c()},lastPush:o}):!1,popupApi:{open:d,close:c}}}var bA=g("div").withConfig({displayName:"useAddElementPopup___StyledDiv",componentId:"sc-hvpjws-3"})(["",""],e=>e.$_css2),_A=g("div").withConfig({displayName:"useAddElementPopup___StyledDiv2",componentId:"sc-hvpjws-4"})(["",""],e=>e.$_css3),jA=g("div").withConfig({displayName:"useAddElementPopup___StyledDiv3",componentId:"sc-hvpjws-5"})({borderBottomWidth:"1px",borderColor:"#dddddd4d",padding:"1rem"}),SA=g("div").withConfig({displayName:"useAddElementPopup___StyledDiv4",componentId:"sc-hvpjws-6"})({marginBottom:"16px",display:"flex",alignItems:"center",justifyContent:"space-between"}),DA=g("h4").withConfig({displayName:"useAddElementPopup___StyledH",componentId:"sc-hvpjws-7"})({fontSize:"16px",fontWeight:"500"}),EA=g("div").withConfig({displayName:"useAddElementPopup___StyledDiv5",componentId:"sc-hvpjws-8"})(["",""],e=>e.$_css4),HA=g(fn).withConfig({displayName:"useAddElementPopup___StyledSearchBox",componentId:"sc-hvpjws-9"})({height:"44px !important",gap:"3px !important","& input":{"--tw-text-opacity":"1",color:"rgb(30 30 30 / var(--tw-text-opacity))"},"& svg *":{fill:"#757575"}});const kA=window.React.useContext,MA=window.React.useMemo,LA=window.React.useRef,$A=window.React.useState,AA=ce([".add-icon{transition:all ease-in-out .2s;}&:hover{.add-icon{visibility:visible;opacity:1;}}"]);function VA({row:e,colPosition:t,elements:r,position:i},o){const[a,s]=$A(!1),l=Zi(x=>x.isDragging),c=LA(null),{builder:d}=kA(N2),u=MA(()=>!l&&a,[l,a]),{popupApi:f,contextHolder:h}=Id({activatorNode:c.current,builder:d,row:e,col:t,lastPush:i==="left"||i==="middle"});return n.jsxs(IA,{onClick:()=>{f.open()},ref:c,className:Se(["builder-col",`${i}-col`,l&&"is-on-dragging",u&&"show-add-btn"]),"data-is-empty":r.length<1,"data-builder":d,onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)},$_css2:[{position:"relative",display:"flex",flex:"1 1 0%",alignItems:"center",justifyContent:"center",padding:"0.5rem"},{borderLeftWidth:"1px",borderStyle:"dashed","--tw-border-opacity":"1",borderColor:"rgb(161 171 183 / var(--tw-border-opacity))","&:first-child":{borderLeftWidth:"0px"}},{"&:last-child":{borderEndEndRadius:"5px",borderStartEndRadius:"5px",borderRightWidth:"1px"}},{borderBottomWidth:"1px",borderTopWidth:"1px",borderStyle:"dashed","--tw-border-opacity":"1",borderColor:"rgb(161 171 183 / var(--tw-border-opacity))"},AA],children:[n.jsx($d,{builder:d,items:r,row:e,col:t}),h]},o)}var IA=g("div").withConfig({displayName:"PlacementCol___StyledDiv",componentId:"sc-1qvtqv7-0"})(["",""],e=>e.$_css2);const TA=window.React.useContext,BA=window.React.useMemo,Td=ce` ${{transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"}} `,RA=g.div.withConfig({displayName:"RowPlacement__StyledRowWrapper",componentId:"sc-1g1fjfw-0"})(()=>[{display:"flex",minHeight:"50px",cursor:"pointer",borderRadius:"0.375rem"},Td,{"&:hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(249 249 249 / var(--tw-bg-opacity))"}},{"&:hover":{borderColor:"transparent"}},{"&:hover":{"--tw-shadow":"0px 4px 10px 0px rgba(177, 177, 177, 0.15)","--tw-shadow-colored":"0px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}]);function sl({row:e}){const{builder:t}=TA(N2),r=re(t)(l=>l.chosenRow),i=()=>{u1(t,`${e}_${t}`,null,"settings")},{current:o}=Ce(),a=re(t)(l=>l.previewTemplate.placements[Ge(o)][e].reduce((c,d)=>(c.push(d.filter(u=>l.previewTemplate.elements[u]!=null).map(u=>l.previewTemplate.elements[u])),c),[])),s=BA(()=>r==null?void 0:r.includes(e),[r,e]);return n.jsxs(RA,{className:"group builder-row",children:[n.jsx(FA,{onClick:i,$_css2:[{borderRadius:"5px 0 0 5px",borderWidth:"1px",borderStyle:"dashed","--tw-border-opacity":"1",borderColor:"rgb(161 171 183 / var(--tw-border-opacity))",padding:"10px"},s&&{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity))","& svg *":{fill:"#fff"}},{".group:hover &":{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity))"},"& svg *":{transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s"},".group:hover & svg *":{fill:"#fff"}},Td],children:n.jsx(d4,{})}),n.jsx("div",{className:"w-full flex",children:a.map((l,c)=>{const d=Math.round(a.length/2);let u="left";return c+1===d&&a.length%2!=0&&(u="middle"),c+1>d&&(u="right"),n.jsx(VA,{row:e,colPosition:c,position:u,elements:l},c)})})]})}var FA=g("button").withConfig({displayName:"RowPlacement___StyledButton",componentId:"sc-1g1fjfw-1"})(["",""],e=>e.$_css2);const OA=window.React.useMemo,PA=window.React.useRef,NA=window.React.useState;function zA(){const{current:e}=Ce(),t=re("header")(f=>f.previewTemplate.placements[Ge(e)].toggle.map(h=>f.previewTemplate.elements[h])),r=re("header")(f=>f.chosenRow),i=PA(null),{contextHolder:o,popupApi:a}=Id({activatorNode:i.current,row:"toggle",builder:"header",col:1}),[s,l]=NA(!1),{isDragging:c}=Zi(),d=OA(()=>!c&&s,[c,s]),u=()=>{u1("header","toggle_off_canvas",null,"settings")};return n.jsxs(ZA,{className:"group",children:[n.jsxs(WA,{className:"toggle-header",onClick:u,$_css2:[{display:"flex",alignItems:"center",gap:"0.5rem",borderStartEndRadius:"5px",borderStartStartRadius:"5px",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(161 171 183 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"10px",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"0.2s",".group:hover &":{"--tw-border-opacity":"1",borderColor:"rgb(34 113 177 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},".group:hover & svg *":{fill:"#fff"}},r==="toggle"&&ce([""," svg{*[fill]{fill:white;}*[stroke]{stroke:white;}}"],{"--tw-bg-opacity":"1 !important",backgroundColor:"rgb(34 113 177 / var(--tw-bg-opacity)) !important","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}),ce(["svg{*{transition:all ease-in-out 0.2s;}}"])],children:[n.jsx("span",{children:n.jsx(d4,{})}),n.jsx(GA,{children:"Toggle off-canvas"})]}),n.jsx(s2.Scrollbars,{className:"flex-1 group-hover:border-transparent group-hover:bg-gutenberg-white border border-dashed border-brandy-border border-t-0 rounded-es-[5px] rounded-ee-[5px transition-all ease-in-out duration-base",onClick:a.open,onMouseEnter:()=>{l(!0)},onMouseLeave:()=>{l(!1)},children:n.jsx(UA,{className:Se(["toggle-off-elements",d?"show-add-btn":""]),ref:i,children:n.jsx($d,{builder:"header",items:t||[],row:"toggle"})})}),o]})}var ZA=g("div")({position:"relative",display:"flex",height:"100%",cursor:"pointer",flexDirection:"column"}),WA=g("div")`${e=>e.$_css2}`,GA=g("span")({fontSize:"12px",fontWeight:"600"}),UA=g("div").withConfig({displayName:"Toggle___StyledDiv3",componentId:"sc-15k3s0k-0"})({position:"relative",height:"100%",minHeight:"100px",padding:"10px"});const YA=window.React.createContext,XA=window.React.useMemo,N2=YA({});function JA({builder:e}){const{current:t}=Ce(),r=re(e)(o=>{const s=o.previewTemplate.placements[Ge(t)];return!!y3(s).includes("toggle_button")}),i=XA(()=>({builder:e}),[e]);return n.jsx(KA,{$_css:[{display:"grid",gap:"16px",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem"},r?{gridTemplateColumns:"auto 1fr"}:{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}],children:n.jsxs(N2.Provider,{value:i,children:[r&&n.jsx(qA,{children:n.jsx(zA,{})}),n.jsxs(QA,{children:[n.jsx(sl,{row:"top"}),n.jsx(sl,{row:"middle"}),n.jsx(sl,{row:"bottom"})]})]})})}var KA=g("div")`${e=>e.$_css}`,qA=g("div")({height:"100%",width:"170px"}),QA=g("div").withConfig({displayName:"PlacementsBuilder___StyledDiv3",componentId:"sc-1m09crd-0"})({display:"flex",flex:"1 1 auto",flexDirection:"column",gap:"1rem"}),eV=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],i=0;i"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=mc[t.format]||mc.default;window.clipboardData.setData(f,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(l),a.selectNodeContents(l),s.addRange(a);var d=document.execCommand("copy");if(!d)throw new Error("copy command was unsuccessful");c=!0}catch(u){r&&console.error("unable to copy using execCommand: ",u),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){r&&console.error("unable to copy using clipboardData: ",f),r&&console.error("falling back to prompt"),i=rV("message"in t?t.message:nV),window.prompt(i,e)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(a):s.removeAllRanges()),l&&document.body.removeChild(l),o()}return c}var oV=iV;const aV=Ut(oV);const Bd=window.React.useState,sV=window.ReactDOM.createPortal,lV=window.brandyCustomizerData.content_variables??{};function cV(){const[e,t]=Bd(!1);return n.jsxs(uV,{onClick:()=>{t(r=>!r)},children:[n.jsx("span",{children:"Variables selection"}),e&&sV(n.jsx(dV,{onClose:()=>{t(!1)}}),document.querySelector("body"))]})}let wc;function dV({onClose:e}){const[t,r]=Bd(!1);return n.jsxs(hV,{className:"variable-modal",onClick:i=>{i.stopPropagation()},children:[n.jsxs(fV,{children:[n.jsx(pV,{children:D("Click to copy and paste to use in some input settings")}),n.jsx(gV,{onClick:e,className:"group",children:n.jsxs("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("g",{clipPath:"url(#clip0_4112_69147)",children:n.jsx(xV,{d:"M11.7465 11.0349C11.9074 11.1958 11.9979 11.4141 11.9979 11.6417C11.9979 11.8694 11.9074 12.0877 11.7465 12.2486C11.5855 12.4096 11.3672 12.5 11.1396 12.5C10.912 12.5 10.6937 12.4096 10.5327 12.2486L5.99964 7.71412L1.46515 12.2472C1.30419 12.4081 1.08589 12.4986 0.858264 12.4986C0.630638 12.4986 0.412335 12.4081 0.25138 12.2472C0.0904241 12.0862 2.39843e-09 11.8679 0 11.6403C-2.39843e-09 11.4127 0.0904241 11.1944 0.25138 11.0334L4.78587 6.50036L0.252807 1.96586C0.0918518 1.80491 0.00142799 1.5866 0.001428 1.35898C0.001428 1.13135 0.0918518 0.913049 0.252807 0.752094C0.413763 0.591138 0.632066 0.500714 0.859692 0.500714C1.08732 0.500714 1.30562 0.591138 1.46658 0.752094L5.99964 5.28659L10.5341 0.751379C10.6951 0.590424 10.9134 0.5 11.141 0.5C11.3686 0.5 11.5869 0.590424 11.7479 0.751379C11.9089 0.912335 11.9993 1.13064 11.9993 1.35826C11.9993 1.58589 11.9089 1.80419 11.7479 1.96515L7.21341 6.50036L11.7465 11.0349Z",fill:"#A1ABB7"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_4112_69147",children:n.jsx("rect",{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"})})})]})})]}),n.jsx(mV,{children:Object.entries(lV).map(([i,o],a)=>n.jsxs(wV,{onClick:()=>{aV(`[${i}]`),clearTimeout(wc),r(a),wc=setTimeout(()=>{r(!1)},2e3)},children:[n.jsxs(vV,{children:["[",i,"]",t===a&&n.jsx(CV,{children:D("Copied")})]}),n.jsx(yV,{dangerouslySetInnerHTML:{__html:o}})]},a))})]})}var uV=g("div")({cursor:"pointer",borderRadius:"3px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",fontSize:"12px",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms","&:hover":{backgroundColor:"rgba(209, 234, 255, 0.70)","--tw-text-opacity":"1",color:"rgb(34 113 177 / var(--tw-text-opacity))"}}),hV=g("div")({position:"absolute",left:"50%",top:"50%",zIndex:"100000000",maxWidth:"700px","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%",borderRadius:"2px",borderWidth:"1px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",padding:"1rem","--tw-shadow":"2px 4px 10px 0px rgba(105, 116, 132, 0.20)","--tw-shadow-colored":"2px 4px 10px 0px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}),fV=g("div")({marginBottom:"1rem",display:"flex",alignItems:"center",justifyContent:"space-between"}),pV=g("p")({"--tw-text-opacity":"1",color:"rgb(90 109 128 / var(--tw-text-opacity))"}),gV=g("span")({cursor:"pointer",padding:"0.25rem"}),xV=g("path")({".group:hover &":{fill:"#000"}}),mV=g("div")({display:"flex",maxHeight:"400px",flexDirection:"column",overflow:"auto"}),wV=g("div")({display:"grid",cursor:"pointer",gridTemplateColumns:"250px 1fr",borderWidth:"1px",borderBottomWidth:"0px",borderStyle:"solid","&:last-child":{borderBottomWidth:"1px"},"& *":{padding:"0.75rem",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms"},"&:hover *":{"--tw-bg-opacity":"1",backgroundColor:"rgb(248 248 248 / var(--tw-bg-opacity))"}}),vV=g("span")({fontWeight:"600"}),CV=g("span")({fontSize:"12px",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(20 134 92 / var(--tw-text-opacity))"}),yV=g("span").withConfig({displayName:"StringVariablesSelection___StyledSpan4",componentId:"sc-u8jk1j-0"})({borderLeftWidth:"1px"});const bV=(e="header")=>{let t=null;Vr.panel(e,function(r){const i=document.getElementById("customize-preview");i!=null&&r.expanded.bind(function(o){const a=document.getElementById(`brandy-${e}-placements`);a!=null&&(a.classList.add("opened"),o&&(i.classList.add("with-opened-placements"),t=Bn.createRoot(a),t.render(n.jsx(JA,{builder:e}))),o===!1&&(i.classList.remove("with-opened-placements"),a.classList.remove("opened"),setTimeout(()=>{t&&(t.unmount(),t=null)},200)))})})},_V=(e="header")=>{let t=null;Vr.panel(e,function(r){const i=document.querySelector(`#sub-accordion-panel-${e}`);i!=null&&r.expanded.bind(function(o){const a=cn.getPreviewerWindow();o&&a!=null&&(e==="header"&&a.scrollTo({top:0,behavior:"smooth"}),e==="footer"&&setTimeout(()=>{a.scrollTo({top:a.document.body.scrollHeight+1e4,behavior:"smooth"})},300)),o&&t==null&&(t=Bn.createRoot(i),t.render(n.jsx(Md,{builder:e,children:void 0}))),o===!1&&setTimeout(()=>{t!=null&&(t.unmount(),t=null)},500)})})},jV=(e,t)=>{let r=null;const i=e;Vr.panel(i,function(o){const a=document.querySelector(`#sub-accordion-panel-${i}`);a!=null&&o.expanded.bind(function(s){s&&r==null&&(r=Bn.createRoot(a),r.render(n.jsx(Md,{builder:i,title:t,children:void 0}))),s===!1&&setTimeout(()=>{r!=null&&(r.unmount(),r=null)},500)})})},SV=()=>{let e=null;if(document.getElementById("customize-preview")==null)return;const r=document.getElementById("brandy-string-variables");r!=null&&(e=Bn.createRoot(r),e.render(n.jsx(cV,{})))};document.addEventListener("DOMContentLoaded",function(){gL(),["header","footer"].forEach(t=>{bV(t),_V(t)}),(window.brandyCustomizerData.extra_panels??[]).forEach(t=>{jV(t.id,t.title)}),SV()});setTimeout(()=>{window.jQuery(document).ready(function(){var t;const e=new URLSearchParams(window.location.search);if(e.get("action")==="brandy_quick_setting"){const r=e.get("panel"),i=e.get("section"),o=e.get("child");let a=window.wp.customize.panel(r);r!=null&&a!=null&&a.expand(),a=window.wp.customize.panel(i),i!=null&&a!=null&&(o!=null?u1(i,o):(t=window.wp.customize.section(i))==null||t.expand())}}),window.wp.customize.previewer.bind("ready",function(){var t,r,i,o,a,s,l,c,d,u,f;const e=cn.getPreviewerWindow();(o=(i=(r=(t=e==null?void 0:e.wp)==null?void 0:t.customize)==null?void 0:r.selectiveRefresh)==null?void 0:i.partial("brandy_dynamic_css"))==null||o.refresh(),(l=(s=(a=e==null?void 0:e.wp)==null?void 0:a.customize)==null?void 0:s.selectiveRefresh)==null||l.bind("render-partials-response",function(){setTimeout(()=>{e==null||e.dispatchEvent(new Event("resize"))},0),setTimeout(()=>{e==null||e.dispatchEvent(new Event("partials-refreshed"))},0)}),window.jQuery((f=(u=(d=(c=window.wp)==null?void 0:c.customize)==null?void 0:d.previewer)==null?void 0:u.targetWindow())==null?void 0:f.document).on("click",".edit-button",function(h){const x=h.target.closest(".editable-part");if(x){h.preventDefault(),h.stopPropagation();const p=x.dataset.sectionId,m=x.dataset.builder;p&&u1(m,p,null,"settings")}})})},1);window.wp.customize.bind("ready",function(){window.wp.customize.previewer.bind("ready",function(){window.wp.customize.previewedDevice.bind(function(e){Aa.setState(()=>({current:e})),cn.updateResponsiveControl("header",e),cn.updateResponsiveControl("footer",e)})})});