dgrcorrientes-modulos 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.js +5 -5
- package/components.umd.cjs +2 -2
- package/package.json +1 -1
package/components.js
CHANGED
|
@@ -2236,7 +2236,7 @@ const Ub = ({
|
|
|
2236
2236
|
visibleBtnGuardar: J,
|
|
2237
2237
|
...G
|
|
2238
2238
|
}) => {
|
|
2239
|
-
const [B, te] = Ge(0), [ie, le] = Ge(0), [Q, de] = Ge($), [fe, ve] = Ge(g == null ? void 0 : g.labelNumberI), _e = () => {
|
|
2239
|
+
const [B, te] = Ge(Number(s == null ? void 0 : s.defaultValue) || 1), [ie, le] = Ge(0), [Q, de] = Ge($), [fe, ve] = Ge(g == null ? void 0 : g.labelNumberI), _e = () => {
|
|
2240
2240
|
de(!Q);
|
|
2241
2241
|
}, he = () => {
|
|
2242
2242
|
Q || (N ? _ && _({
|
|
@@ -2255,11 +2255,11 @@ const Ub = ({
|
|
|
2255
2255
|
aliquot: m != null && m.labelNumberA ? m.labelNumberA : 0
|
|
2256
2256
|
}));
|
|
2257
2257
|
}, Se = () => {
|
|
2258
|
-
!Q || ve(N ? B && ie && (m == null ? void 0 : m.labelNumberA) ? B * ie * (m == null ? void 0 : m.labelNumberA) : 0 : ie && (m == null ? void 0 : m.labelNumberA) ? ie * (m == null ? void 0 : m.labelNumberA) : 0);
|
|
2258
|
+
!Q || ve(N ? B && ie && (m == null ? void 0 : m.labelNumberA) ? parseFloat((B * ie * (m == null ? void 0 : m.labelNumberA)).toFixed(2)) : 0 : ie && (m == null ? void 0 : m.labelNumberA) ? parseFloat((ie * (m == null ? void 0 : m.labelNumberA)).toFixed(2)) : 0);
|
|
2259
2259
|
}, Ee = (qe) => {
|
|
2260
|
-
Q || (te(parseInt(qe.toString())), ve(N ? qe && ie && (m == null ? void 0 : m.labelNumberA) ? qe * ie * (m == null ? void 0 : m.labelNumberA) : 0 : ie && (m == null ? void 0 : m.labelNumberA) ? ie * (m == null ? void 0 : m.labelNumberA) : 0), R && De(qe, ie));
|
|
2260
|
+
Q || (te(parseInt(qe.toString())), ve(N ? qe && ie && (m == null ? void 0 : m.labelNumberA) ? parseFloat((qe * ie * (m == null ? void 0 : m.labelNumberA)).toFixed(2)) : 0 : ie && (m == null ? void 0 : m.labelNumberA) ? ie * (m == null ? void 0 : m.labelNumberA) : 0), R && De(qe, ie));
|
|
2261
2261
|
}, ot = (qe) => {
|
|
2262
|
-
Q || (le(parseInt(qe.toString())), ve(N ? B && qe && (m == null ? void 0 : m.labelNumberA) ? B * qe * (m == null ? void 0 : m.labelNumberA) : 0 : qe && (m == null ? void 0 : m.labelNumberA) ? qe * (m == null ? void 0 : m.labelNumberA) : 0), P && De(B, qe));
|
|
2262
|
+
Q || (le(parseInt(qe.toString())), ve(N ? B && qe && (m == null ? void 0 : m.labelNumberA) ? parseFloat((B * qe * (m == null ? void 0 : m.labelNumberA)).toFixed(2)) : 0 : qe && (m == null ? void 0 : m.labelNumberA) ? parseFloat((qe * (m == null ? void 0 : m.labelNumberA)).toFixed(2)) : 0), P && De(B, qe));
|
|
2263
2263
|
};
|
|
2264
2264
|
return /* @__PURE__ */ b("div", {
|
|
2265
2265
|
className: "elv-component elv-collapsedit",
|
|
@@ -31084,7 +31084,7 @@ const yA = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZX
|
|
|
31084
31084
|
...he.buttonIcon,
|
|
31085
31085
|
onClick: () => {
|
|
31086
31086
|
var Se;
|
|
31087
|
-
le(he.uniqueValue), (Se = he.buttonIcon)
|
|
31087
|
+
le(he.uniqueValue), (Se = he.buttonIcon) != null && Se.onClick && he.buttonIcon.onClick();
|
|
31088
31088
|
}
|
|
31089
31089
|
})
|
|
31090
31090
|
}), he.badge && /* @__PURE__ */ b(on, {
|
package/components.umd.cjs
CHANGED
|
@@ -26,7 +26,7 @@ Check the render method of \``+H+"`."}return""}}function wn(H){{if(H!==void 0){v
|
|
|
26
26
|
|
|
27
27
|
Check your code at `+xe+":"+Ae+"."}return""}}var Hr={};function gl(H){{var xe=An();if(!xe){var Ae=typeof H=="string"?H:H.displayName||H.name;Ae&&(xe=`
|
|
28
28
|
|
|
29
|
-
Check the top-level render call using <`+Ae+">.")}return xe}}function Sa(H,xe){{if(!H._store||H._store.validated||H.key!=null)return;H._store.validated=!0;var Ae=gl(xe);if(Hr[Ae])return;Hr[Ae]=!0;var ut="";H&&H._owner&&H._owner!==mt.current&&(ut=" It was passed a child from "+ve(H._owner.type)+"."),vn(H),le('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ae,ut),vn(null)}}function wr(H,xe){{if(typeof H!="object")return;if(Array.isArray(H))for(var Ae=0;Ae<H.length;Ae++){var ut=H[Ae];dn(ut)&&Sa(ut,xe)}else if(dn(H))H._store&&(H._store.validated=!0);else if(H){var At=te(H);if(typeof At=="function"&&At!==H.entries)for(var ct=At.call(H),Lt;!(Lt=ct.next()).done;)dn(Lt.value)&&Sa(Lt.value,xe)}}}function si(H){{var xe=H.type;if(xe==null||typeof xe=="string")return;var Ae;if(typeof xe=="function")Ae=xe.propTypes;else if(typeof xe=="object"&&(xe.$$typeof===k||xe.$$typeof===R))Ae=xe.propTypes;else return;if(Ae){var ut=ve(xe);un(Ae,H.props,"prop",ut,H)}else if(xe.PropTypes!==void 0&&!cn){cn=!0;var At=ve(xe);le("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",At||"Unknown")}typeof xe.getDefaultProps=="function"&&!xe.getDefaultProps.isReactClassApproved&&le("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fa(H){{for(var xe=Object.keys(H.props),Ae=0;Ae<xe.length;Ae++){var ut=xe[Ae];if(ut!=="children"&&ut!=="key"){vn(H),le("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ut),vn(null);break}}H.ref!==null&&(vn(H),le("Invalid attribute `ref` supplied to `React.Fragment`."),vn(null))}}function Lr(H,xe,Ae,ut,At,ct){{var Lt=pe(H);if(!Lt){var jt="";(H===void 0||typeof H=="object"&&H!==null&&Object.keys(H).length===0)&&(jt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var fn=wn(At);fn?jt+=fn:jt+=An();var en;H===null?en="null":Array.isArray(H)?en="array":H!==void 0&&H.$$typeof===a?(en="<"+(ve(H.type)||"Unknown")+" />",jt=" Did you accidentally export a JSX literal instead of a component?"):en=typeof H,le("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",en,jt)}var pn=nt(H,xe,Ae,At,ct);if(pn==null)return pn;if(Lt){var ea=xe.children;if(ea!==void 0)if(ut)if(Array.isArray(ea)){for(var Yr=0;Yr<ea.length;Yr++)wr(ea[Yr],H);Object.freeze&&Object.freeze(ea)}else le("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wr(ea,H)}return H===u.Fragment?fa(pn):si(pn),pn}}function $r(H,xe,Ae){return Lr(H,xe,Ae,!0)}function Ha(H,xe,Ae){return Lr(H,xe,Ae,!1)}var Ur=Ha,Hi=$r;u.jsx=Ur,u.jsxs=Hi}()}(Ag)),Ag}(function(u){process.env.NODE_ENV==="production"?u.exports=e_():u.exports=t_()})($h);const rn=$h.exports.Fragment,b=$h.exports.jsx,L=$h.exports.jsxs,it=({icon:u,className:l,type:s,size:a="16px",size_height:r,color:p,onClick:f,...g})=>{const m=de.useRef(null);de.useEffect(()=>{s=="svg_icon"&&k(u).then(_=>{m.current&&u&&(m.current.innerHTML=_)})},[m.current,u]);function k(_){return fetch(_).then(N=>N.text())}return s==="svg_icon"?b("span",{className:`svg_icon ${l}`,ref:m,style:{fill:p,width:a,height:r},onClick:()=>{f&&f()},...g}):b("div",{className:"elv-component elv-icon",...g,children:b("i",{className:`fa_icon ${u} ${l}`,style:{fontSize:a,color:p},onClick:()=>{f&&f()}})})},$e=({color:u="primary",type:l="button",size:s="normal",fill:a="solid",isFullWidth:r,isRounded:p,isOnlyIcon:f,loading:g=!1,disabled:m=!1,icon:k,icon_type:_="fa_icon",icon_size:N,icon_size_height:R,icon_color:P,icon_className:$,trailingIcon:K=!1,label:A,onClick:re,className:se,...J})=>{const G=B=>{B.stopPropagation(),re&&re()};return b("div",{className:`elv-component elv-button ${r?"is-fullw":""}`,...J,children:b("button",{type:l,className:["button",`${a==="solid"||a==="outline"?" is-"+u+"-600":""}`,`${a==="link"?" is-linked":""}`,`${a==="outline"?" is-outlined":""}`,`${a==="unstyled"?" is-unstyled":""}`,`${s!=="normal"?" is-"+s:""}`,`${K?" button__icon--trailing":""}`,`${g?" is-loading":""}`,`${r?" is-fullwidth":""}`,`${f?" is-only-icon":""}`,`${p?" is-rounded":""}`,`${se?" "+se:""}`].join(""),onClick:B=>{G(B)},disabled:m,children:b("div",{className:"button-content is-flex",children:K?L(rn,{children:[A,k&&b(it,{icon:k,type:_,color:P,size:N,size_height:R,className:"button__icon "+$})]}):L(rn,{children:[k&&b(it,{icon:k,type:_,color:P,size:N,size_height:R,className:"button__icon "+$}),A]})})})})},eL="",n_=({type:u,className:l,fill:s,accent:a,icon:r,labelTitle:p,label:f,isButton:g,button:m,...k})=>b("div",{className:"elv-component elv-notification",...k,children:L("div",{className:`notification --type-${u} --fill-${s} --accent-${a} ${l||""}`,children:[r&&b("div",{className:"notification__icon",children:b("i",{className:`__icon ${r}`})}),L("div",{className:"notification__text",children:[p!==void 0&&b("p",{className:"__title",children:b("div",{dangerouslySetInnerHTML:{__html:p}})}),b("p",{className:"__label",children:b("div",{dangerouslySetInnerHTML:{__html:f}})}),g&&m!==void 0&&b("div",{className:"notification__button",children:b($e,{...m[0]})})]})]})}),tL="",yo=({color:u,className:l,text:s,colorText:a,...r})=>b("div",{className:"elv-component elv-badge",...r,children:b("span",{style:{backgroundColor:u,color:a},className:`badge badge--${u} ${l||""}`,children:s})}),nL="",k0=({color:u="primary",size:l="normal",max:s,value:a,className:r,...p})=>b("div",{className:"elv-component elv-progressbar",...p,children:b("div",{className:["progressbar ",`${r?" "+r:""}`].join(""),children:b("progress",{className:[`progress progress--${l}`,`${" is-"+u}`].join(""),value:a,max:s})})}),rL="",r_=({title:u,option:l,onSeeAll:s,className:a})=>b("div",{className:"elv-component elv-assistancediary",children:L("div",{className:["assistancediary is-flex is-flex-direction-column p-5 is-gap-5 box",`${a?" "+a:""}`].join(""),children:[b("div",{className:"is-size-4 has-text-weight-bold has-text-grey-dark",children:u}),b("div",{className:"is-flex is-flex-direction-column is-gap-4",children:l==null?void 0:l.map(r=>L("div",{className:"is-flex is-size-7 is-justify-content-space-between py-2 is-align-items-center is-gap-2",children:[b("div",{className:"has-text-grey-dark has-text-weight-medium",children:r.detail}),b("div",{className:"assistancediary__date has-text-weight-medium",children:r.date}),b("div",{className:"assistancediary__widthstate p-1",children:b("div",{className:"assistancediary__status has-text-centered",style:{backgroundColor:r.stateBackground},children:r.state})})]}))}),b("div",{children:b($e,{label:"Ver todo",fill:"unstyled",icon:"fa-solid fa-arrow-right",trailingIcon:!0,className:"is-size-7 has-text-weight-medium has-text-grey px-4 py-3",onClick:()=>s&&s()})})]})}),aL="",a_=({option:u,option2:l,option3:s,Call:a,className:r})=>{const[p,f]=de.useState(0),[g,m]=de.useState(0),[k,_]=de.useState(0),[N,R]=de.useState(null),[P,$]=de.useState(null),[K,A]=de.useState(null),[re,se]=de.useState(null);de.useEffect(()=>{const fe=new Date().getWeek(),pe=fe-1,me=a.filter(Tt=>Tt.date.getWeek()===fe),De=a.filter(Tt=>Tt.date.getWeek()===pe);f(me.length),m(De.length);const ve=De.length!==0?(me.length-De.length)/De.length:0,Ee=parseFloat(ve.toFixed(2));_(Ee);const ke=a[a.length-1];if(ke){const Tt=new Date,be=ke.arrivalTime,Re=ke.serviceStartTime||be,Me=(Re||Tt).getTime()-be.getTime();R(Me/(1e3*60));const Ze=Tt.getTime()-(Re||be).getTime(),We=Math.floor(Ze/(1e3*60));$(We);const lt=te(me),ht=te(De),je=B(lt,ht,me.length,De.length);se(je)}else R(null),$(null);const Ne=ie(me),ot=ie(De),Qe=le(Ne,ot,me.length,De.length);A(Qe)},[a]),de.useEffect(()=>{const Q=setInterval(()=>{const fe=a[a.length-1];if(fe&&fe.serviceStartTime){const me=new Date().getTime()-fe.serviceStartTime.getTime();$(me/6e4)}else $(null)},1e3);return()=>clearInterval(Q)},[a]);const J=P!==null?`${Math.floor(P/60)}:${(P%60).toFixed(0).padStart(2,"0")}`:"N/A",G=N!==null?`${Math.floor(N/60)}:${(N%60).toFixed(0).padStart(2,"0")}`:"N/A";K!==null&&`${Math.floor(K/60)}${(K%60).toFixed(0).padStart(2,"0")}`;const B=(Q,fe,pe,me)=>{const De=pe>0?pe:1,ve=me>0?me:1,Ee=(Q/De-fe/ve)/(1e3*60);return parseFloat(Ee.toFixed(2))/100},te=Q=>Q.reduce((fe,pe)=>{if(pe.serviceStartTime&&pe.arrivalTime){const me=new Date().getTime()-pe.serviceStartTime.getTime();return fe+me}return fe},0),ie=Q=>Q.reduce((fe,pe)=>{if(pe.serviceStartTime&&pe.arrivalTime){const me=pe.serviceStartTime.getTime()-pe.arrivalTime.getTime();return fe+me}return fe},0),le=(Q,fe,pe,me)=>{const De=pe>0?pe:1,ve=me>0?me:1,Ee=(Q/De-fe/ve)/(1e3*60);return parseFloat(Ee.toFixed(2))};return Date.prototype.getWeek=function(){var Q=new Date(this.getTime());Q.setHours(0,0,0,0),Q.setDate(Q.getDate()+4-(Q.getDay()||7));var fe=new Date(Q.getFullYear(),0,1),pe=Math.ceil(((Q.getTime()-fe.getTime())/864e5+1)/7);return pe},b("div",{className:"elv-component elv-averageAttended",children:L("div",{className:["averageAttended box is-flex is-gap-4 is-justify-content-space-between",`${r?" "+r:""}`].join(""),children:[u==null?void 0:u.map(Q=>L("div",{className:"averageAttended__option is-flex is-align-items-center is-fullw",children:[b("div",{children:b(it,{icon:Q.icon,color:Q.iconColor,className:"is-size-1"})}),L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"averageAttended__colorDark has-text-weight-semibold",children:Q.status}),b("div",{className:"averageAttended__colorDark has-text-weight-bold is-size-3",children:p}),L("div",{className:"is-flex is-align-items-center",children:[b(yo,{text:`${k<0?Q.labelButtom:Q.labelTop}${k.toString()}%`,color:Q.color,colorText:`${k<0?Q.colorText:Q.colorTextPositive}`,className:"badge"}),b("p",{className:"ml-3 is-size-14px has-text-grey",children:Q.description})]})]})]})),l==null?void 0:l.map(Q=>L("div",{className:"averageAttended__option is-flex is-align-items-center is-fullw",children:[b("div",{children:b(it,{icon:Q.icon,color:Q.iconColor,className:"is-size-1"})}),L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"averageAttended__colorDark has-text-weight-semibold",children:Q.status}),G!==null&&b("div",{className:"averageAttended__colorDark has-text-weight-bold is-size-3",children:`${G}${Q.amountCall}`}),L("div",{className:"is-flex is-align-items-center",children:[b(yo,{text:`${K!==null&&K<0?Q.labelButtom:Q.labelTop}${K!==null&&K.toFixed(1)}%`,color:Q.color,colorText:K!=null&&K<0?Q.colorText:Q.colorTextPositive,className:"badge"}),b("p",{className:"ml-3 is-size-14px has-text-grey",children:Q.description})]})]})]})),s==null?void 0:s.map(Q=>L("div",{className:"averageAttended__option is-flex is-align-items-center is-fullw",children:[b("div",{children:b(it,{icon:Q.icon,color:Q.iconColor,className:"is-size-1"})}),L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"averageAttended__colorDark has-text-weight-semibold",children:Q.status}),J!==null&&b("div",{className:"averageAttended__colorDark has-text-weight-bold is-size-3",children:`${J}${Q.amountCall}`}),L("div",{className:"is-flex is-align-items-center",children:[b(yo,{text:`${re!=null&&re<0?Q.labelButtom:Q.labelTop}${re!=null&&re.toFixed(1)}%`,color:Q.color,colorText:`${re!=null&&re<0?Q.colorText:Q.colorTextPositive}`,className:"badge"}),b("p",{className:"ml-3 is-size-14px has-text-grey",children:Q.description})]})]})]}))]})})},iL="";function Vt(u,l){return u.length<l?u:u.slice(0,l)+"..."}function ar(){return`${Math.random().toString(36).substr(2,9)}`}function _0(u){return u<1024?u+" bytes":u<1024*1024?(u/1024).toFixed(2)+" KB":u<1024*1024*1024?(u/(1024*1024)).toFixed(2)+" MB":(u/(1024*1024*1024)).toFixed(2)+" GB"}function i_(u){const l=u.split(".");switch(l[l.length-1].toLowerCase()){case"jpg":case"jpeg":case"png":case"gif":case"bmp":case"svg":return"far fa-file-image";case"csv":return"fas fa-file-csv";case"pdf":return"fas fa-file-pdf";default:return"fas fa-file"}}const o_=({type:u,defaultActiveLabel:l,items:s,handleActive:a,className:r,...p})=>{const f=s.find(_=>_.label===l),[g,m]=de.useState(f),k=_=>{m(_),a&&a(_),_.onClick&&_.onClick()};return b("div",{className:"elv-component elv-nav_bc",...p,children:b("nav",{"aria-label":"nav_bc",className:`nav_bc nav_bc--${u} ${r||""}`,children:b("ol",{className:"bc-list",children:s.map((_,N)=>L("li",{className:`bc-item ${_===g?"bc-item--active":""}`,children:[L("p",{className:"bc-item__bc-link",onClick:()=>{k(_)},children:[_.icon&&_.icon!==""&&b("i",{className:`${_.icon} item-icon ${_.label&&_.label!==""?"--and-label":""}`}),_.label&&_.label!==""&&Vt(_.label,25)]}),N<s.length-1&&b("i",{className:"fa-solid fa-chevron-right bc-item__chebron"})]},_.label))})})})},oL="",l_=({img:u,title:l,icon:s,date:a,description:r,button:p,className:f,isBorderless:g,isClickable:m,onClick:k,..._})=>b("div",{className:"elv-component elv-card",..._,children:L("div",{className:["card card-cta",`${f?" "+f:""}`,`${m?" is-clickable":""}`,`${g?" is-shadowless":" card-box"}`].join(""),onClick:()=>{m&&k&&k()},children:[L("div",{className:"card-content",style:{flexGrow:1},children:[b("div",{className:"card-header",children:L("div",{className:"card__text",children:[b("p",{className:"title is-3",children:Vt(l,54)}),r&&b("p",{children:Vt(r,198)})]})}),L("div",{className:"card-footer",children:[L("div",{className:"card__date",children:[s&&b(it,{...s[0]}),b("span",{className:"date",children:a})]}),p&&b("div",{className:"card__button",children:b($e,{...p})})]})]}),b("div",{className:"card-image",children:b("img",{src:u,alt:""})})]})}),lL="",s_=({dataBig:u,bigNumber:l,bigMonth:s,dataSmall:a,iconCalendar:r,day:p,fullDay:f,list:g,className:m,isBorderless:k,isClickable:_,onClick:N,...R})=>b("div",{className:"elv-component elv-card",...R,children:b("div",{className:["card card-expiration",`${m?" "+m:""}`,`${_?" is-clickable":""}`,`${k?" is-shadowless":" card-box"}`].join(""),onClick:()=>{_&&N&&N()},children:L("div",{className:"card-expiration__content",children:[L("div",{className:"card_header",children:[u&&L("div",{className:["date__big",`${a?"mb-20":""}`].join(" "),children:[b("h1",{children:l}),b("h4",{children:s})]}),a&&L("div",{className:"date__small",children:[r&&b("div",{className:"card__icon",children:b("div",{className:"icon",children:r?b(it,{icon:r[0].icon,className:"icon"}):null})}),b("p",{className:"title is-5",children:p}),b("p",{className:"title is-3",children:f})]})]}),b("div",{className:"card-footer",children:b("div",{className:"data__expiration",children:b("div",{className:"list",children:g.map(P=>L("p",{className:"title is-6",children:[P.type,": ",b("span",{children:P.text})]},ar()))})})})]})})}),sL="",u_=({image:u,img:l,badge:s,avatar:a,imgAvatar:r,icon:p,title:f,iconDate:g,date:m,description:k,button:_,className:N,isClickable:R,isBorderless:P,onClick:$,...K})=>b("div",{className:"elv-component elv-card",...K,children:L("div",{className:["card card-vertical",`${N?" "+N:""}`,`${R?" is-clickable":""}`,`${P?" is-shadowless":" card-box"}`].join(""),onClick:()=>{R&&$&&$()},children:[L("div",{className:"card-header",children:[u&&L("div",{className:"card__img",children:[b("img",{src:l,alt:""}),s&&b(yo,{...s[0]})]}),p&&b("div",{className:"card__icon",children:b("div",{className:"icon",children:g?b(it,{...g[0],className:"icon"}):null})}),a&&b("div",{className:"card__avatar",children:b("img",{src:r,alt:""})})]}),L("div",{className:"card-body",children:[b("div",{className:"card__title",children:b("p",{className:"title is-5",children:f})}),L("div",{className:"card__date",children:[g&&b(it,{...g[0],className:"icon"}),b("span",{className:"date",children:m})]}),b("div",{className:"card__description",children:b("p",{children:k})})]}),b("div",{className:"card-footer",children:b("div",{className:"card__button",children:b($e,{..._})})})]})}),uL="",c_=({fill:u,className:l,title:s,description:a,secondaryDescription:r,isClickable:p,onClick:f,...g})=>b("div",{className:"elv-component elv-card",...g,children:L("div",{className:["card-activity is-flex is-flex-direction-column",`${p?" is-clickable":""}`,` ${l||""}`].join(""),onClick:()=>{p&&f&&f()},children:[b("p",{className:"card-activity__title",children:s}),b("p",{className:"card-activity__description",children:a}),b("p",{className:"card-activity__secondaryDescription",children:r})]})}),cL="",d_=({iconLeft:u,icon:l,image:s,trailingIcon:a,title:r,subtitle:p,menu:f,menuButton:g,button:m,buttonsArray:k,buttons:_,className:N,isClickable:R,isBorderless:P,onClick:$,...K})=>b("div",{className:"elv-component elv-card",...K,children:L("div",{className:["card-horizontal",`${N?" "+N:""}`,`${R?" is-clickable":""}`,`${P?" is-shadowless":" card-box"}`].join(""),onClick:()=>{R&&$&&$()},children:[L("div",{className:["card-header pb-0 ",`${l||s?`icon--${a?"trailing":"leading"}`:""}`,,].join(" "),children:[u&&(l||s)?b("div",{className:"card__icon",children:l?b(it,{...l[0]}):s?b("img",{src:s,alt:"Card-Image"}):null}):b(rn,{}),L("div",{className:"card__text",children:[b("p",{className:"title is-6 mb-1",children:r}),b("p",{className:"is-size-14px has-tc-truegray-500",children:p})]}),f&&b("div",{className:"card__menu ml-auto",children:b($e,{...g})})]}),L("div",{className:"card-body px-4 pb-4 pt-0",children:[m&&b($e,{...m}),k&&b("div",{children:_==null?void 0:_.map((A,re)=>b($e,{...A},ar()))})]})]})}),dL="",f_=({fill:u,list:l,badge:s,button:a,className:r,isClickable:p,onClick:f,...g})=>b("div",{className:"elv-component elv-card",...g,children:L("div",{className:[`card card-user ${u==="outline"&&"outline"} ${r||""}`,`${p?" is-clickable":""}`].join(""),onClick:()=>{p&&f&&f()},children:[b("div",{className:"card-body",children:l.map((m,k)=>{var _;return L("div",{className:"list-item",children:[m.iconType=="img"?b(rn,{children:m.img&&b("div",{className:"list-item__img",children:b("img",{src:m.img,className:"img-p"},k)})}):b(rn,{children:m.icon&&b("div",{className:"list-item__img",children:b(it,{className:"img-p",...m.icon},k)})}),L("div",{className:"list-item__text",children:[b("p",{className:"text__subtitle",children:m.title}),b("p",{className:"text__title",children:m.subtitle})]}),m.button&&b("div",{className:"list-item__button left",children:(_=m==null?void 0:m.button)==null?void 0:_.map(N=>b($e,{...N}))}),m.menuButton&&b("div",{className:"list-item__menu",children:b($e,{...m.menuButton})})]},k)})}),s||a?L("div",{className:"card-footer p-4 mt-4 is-flex is-justify-content-space-between",children:[s&&b(rn,{children:a?b("div",{className:"card-footer__badges card-footer__badges--button",children:s==null?void 0:s.map((m,k)=>b(yo,{...m},k))}):b("div",{className:["card-footer__badges "].join(""),style:{maxWidth:`${s.length*100<400?s.length*100:400}px`},children:s.map((m,k)=>b(yo,{...m},k))})}),a==null?void 0:a.map((m,k)=>b($e,{...m,className:"px-6"}))]}):b(rn,{})]})}),fL="",p_=({button:u,title:l,optionButton:s,sub_list:a,wallet:r,walletIcon:p,walletSVG:f,contentType:g,footerType:m,interLabel:k,isInterLabelCenter:_,list:N,total:R,className:P,...$})=>b("div",{className:"elv-component elv-cart",...$,children:L("div",{className:`cart ${P||""}`,children:[r==="icon"&&b("div",{className:"cart__wallet--icon is-flex is-align-items-center is-justify-content-center",children:f?b(it,{type:"svg_icon",icon:f}):b(it,{icon:p||"fa-solid fa-wallet"})}),r==="dropdownButton"&&b("div",{className:"cart__wallet--dropdownButton is-flex is-justify-content-end",children:s&&b($e,{type:s.type,size:s.size,fill:s.fill,loading:!1,disabled:s.disabled,icon:s.icon,label:s.label!==void 0?Vt(s.label,25):"",trailingIcon:s.trailingIcon,onClick:s.onClick})}),L("div",{className:"cart__content",children:[g==="perception"&&L("div",{className:"perception is-flex is-flex-direction-column",children:[L("div",{className:"perception__title is-flex is-justify-content-space-between",children:[b("p",{className:"title is-5",children:l}),s&&b($e,{type:s.type,size:s.size,fill:s.fill,loading:!1,disabled:s.disabled,icon:s.icon,label:s.label!==void 0?Vt(s.label,25):"",trailingIcon:s.trailingIcon,onClick:s.onClick})]}),b("div",{className:"perception__labels",children:N==null?void 0:N.map(K=>L("div",{className:"item is-flex is-justify-content-space-between",children:[b("p",{className:"item__label",children:K.label}),b("p",{className:"item__value",children:K.value})]},ar()))}),a&&b("div",{className:"perception__sub-list",children:a==null?void 0:a.map(K=>L("div",{className:"item is-flex is-justify-content-space-between",style:{color:K.color},children:[b("p",{className:"item__label",children:K.label}),b("p",{className:"item__value",children:K.value})]},ar()))}),L("div",{className:"perception__total is-flex is-justify-content-space-between",children:[b("p",{className:"total-label",style:R!=null&&R.label_color?{color:R.label_color}:{},children:R==null?void 0:R.label}),b("p",{className:"total-value",style:R!=null&&R.values[0].value_color?{color:R.values[0].value_color}:{},children:R==null?void 0:R.values[0].value})]})]}),g==="bonds"&&b("div",{className:"bods is-flex is-flex-direction-column",children:N&&L("div",{className:"bonds__labels",children:[L("div",{className:"item is-flex is-justify-content-space-between is-align-items-center",children:[L("div",{className:"item__label",children:[b("p",{className:"micro-label is-4",children:N[0].label}),b("p",{className:"micro-sub_label",children:N[0].sub_label})]}),b("p",{className:"item__value",children:N[0].value})]}),b("div",{className:`inter-label is-flex ${_?"is-justify-content-center":""}`,children:b("p",{children:k})}),L("div",{className:"item is-flex is-justify-content-space-between is-align-items-center",children:[L("div",{className:"item__label",children:[b("p",{className:"micro-label",children:N[1].label}),b("p",{className:"micro-sub_label",children:N[1].sub_label})]}),b("p",{className:"item__value",children:N[1].value})]})]})}),m==="button"&&b("div",{className:"footer--button",children:u&&L("div",{className:"button-list is-flex is-flex-direction-column",children:[u[0]&&b($e,{...u[0]}),u[1]&&b($e,{...u[1]})]})}),m==="total-button"&&L("div",{className:"footer--total-button is-flex is-justify-content-space-between is-align-items-center",children:[R&&L("div",{className:"total",children:[b("p",{className:"total__label",children:Vt(R.label,25)}),b("p",{className:"total__value",children:Vt(R.values[0].value,25)})]}),u&&b($e,{...u[0]})]}),m==="big-total-button"&&L("div",{className:"footer--big-total-button is-flex is-flex-direction-column is-justify-content-center is-align-items-center",children:[R&&L(rn,{children:[b("p",{className:"total__label",children:Vt(R.label,25)}),b("p",{className:"total__value",children:Vt(R.values[0].value,25)})]}),u&&L("div",{className:"button-list is-flex is-flex-direction-column",children:[u[0]&&b($e,{...u[0]}),u[1]&&b($e,{...u[1]})]})]}),m==="big-total-button-sub"&&L("div",{className:"footer--big-total-button-sub is-flex is-flex-direction-column is-justify-content-center is-align-items-center",children:[R&&L(rn,{children:[b("p",{className:"total__label",children:Vt(R.label,35)}),R.sub_label&&b("p",{className:"total__sub_label",style:R!=null&&R.label_color?{color:R.label_color}:{},children:Vt(R.sub_label,35)}),R.values[0].sub_value&&b("p",{className:"total__sub_value",style:R!=null&&R.values[0].value_color?{color:R.values[0].value_color}:{},children:Vt(R.values[0].sub_value,35)}),R.values.map(K=>L(rn,{children:[K.sub_desc&&b("p",{className:"total__sub_desc",style:K.sub_desc_color?{color:K.sub_desc_color}:{},children:Vt(K.sub_desc,35)},ar()),b("p",{className:"total__value",style:K.value_color?{color:K.value_color}:{},children:Vt(K.value,35)})]})),R.value_description&&b("p",{className:"total__description",children:R.value_description})]}),u&&L("div",{className:"button-list is-flex is-flex-direction-column",children:[u[0]&&b($e,{...u[0]}),u[1]&&b($e,{...u[1]})]})]}),m==="total-button-sub-mobile"&&L("div",{className:"footer--total-button-sub-mobile is-flex is-justify-content-space-between is-align-items-center",children:[R&&L("div",{className:"total",children:[b("p",{className:"total__label",children:Vt(R.label,18)}),R.sub_label&&b("p",{className:"total__sub_label",children:Vt(R.sub_label,50)}),R.values[0].sub_value&&b("p",{className:"total__sub_value",children:Vt(R.values[0].sub_value,21)}),b("p",{className:"total__value",children:Vt(R.values[0].value,16)})]}),u&&b($e,{...u[0]})]})]})]})}),pL="",hL="",vL="",$f=({size:u="md",label:l="checkbox",value:s,name:a,className:r,key:p,defaultChecked:f,checked:g,error:m,disabled:k=!1,onCheck:_,onChange:N,...R})=>{const[P,$]=de.useState(f||!1),K=A=>{$(!P),_&&_(!P),N&&N(A)};return b("div",{className:"elv-component elv-checkbox elv-control",...R,children:L("label",{className:["e-control e-checkbox",` e-control--${u} e-checkbox--${u}`,`${m?" e-control--error e-checkbox--error":""}`,`${k?" e-control--disabled e-checkbox--disabled":""}`," is-relative"," is-flex is-flex-direction-row-reverse is-justify-content-flex-end"," has-text-dark"," is-clickable",`${r?" "+r:""}`].join(""),children:[b("input",{type:"checkbox",onChange:A=>{K(A)},defaultChecked:f,id:s,value:s,name:a,checked:g,className:["e-control__input e-checkbox__input"].join(""),disabled:k}),l&&b("span",{className:"label-text is-flex is-align-items-center",children:l}),b("span",{className:["e-control__checkmark e-checkbox__checkmark"," is-flex is-align-items-center is-justify-content-center is-relative"].join("")})]})})},mL="",Lg=({contentType:u,trianglePos:l,className:s,active:a,text:r,date:p,sub_title:f,principal_item:g,sections:m,total:k,amount:_,notification:N,doubleStates:R,tripleStates:P,alert:$,...K})=>{var A,re,se,J,G,B,te,ie,le,Q,fe,pe,me,De,ve,Ee,ke,Ne,ot,Qe,Tt,be,Re,Me,Ze,We,lt,ht,je,ze;return b(rn,{children:a?b("div",{className:"elv-component elv-tooltip",...K,children:b("div",{className:`tooltip ${s||""}`,children:b("div",{className:`tooltip__content ${u&&"tooltip__content--"+u} ${l!=="none"&&"tp tp--"+l}`,children:L("div",{className:"labels is-flex flex-column",children:[u==="calendar"&&L(rn,{children:[b("p",{className:"labels__date",children:p}),b("p",{className:"labels__text",children:r}),b("p",{className:"labels__sub_title",children:f})]}),u==="text"&&b(rn,{children:r&&b("p",{className:"labels__text",children:r})}),u==="taxes"&&L(rn,{children:[g&&L("div",{className:"principal-item is-flex is-justify-content-space-between",children:[b("p",{className:"principal-item__label",children:g==null?void 0:g.label}),b("p",{className:"principal-item__value",children:g==null?void 0:g.value})]}),m&&b("div",{className:"tax-sections",children:m==null?void 0:m.map(ft=>L("div",{className:"tax-sections__sec",children:[ft.title&&b("div",{className:"sec-title",children:ft.title}),ft.labels.map(Nt=>L("div",{className:"sec-label is-flex is-justify-content-space-between",children:[b("p",{className:"sec-label__label",children:Nt.label}),b("p",{className:"sec-label__value",children:Nt.value})]},Nt.label))]},ft.title))}),k&&L("div",{className:"total is-flex is-justify-content-space-between",children:[b("p",{className:"total__label",children:k==null?void 0:k.label}),b("p",{className:"total__value",children:k==null?void 0:k.value})]}),_&&L("div",{className:"amount is-flex is-justify-content-space-between",children:[b("p",{className:"amount__label",children:_==null?void 0:_.label}),b("p",{className:"amount__value",children:_==null?void 0:_.value})]}),N&&b("div",{className:"tax-notification",children:N}),R&&L("div",{className:"double-state columns is-mobile",children:[L("div",{className:"double-state__state column is-6",children:[b("p",{className:"state-label",children:(A=R[0])==null?void 0:A.label}),R[0].type==="state"?L("div",{className:"state-status",style:{color:(re=R[0])==null?void 0:re.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(se=R[0])==null?void 0:se.sub_label_color},children:(J=R[0])==null?void 0:J.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(G=R[0])==null?void 0:G.sub_label_color},children:(B=R[0])==null?void 0:B.sub_label})]}),L("div",{className:"double-state__state column is-6",children:[b("p",{className:"state-label",children:(te=R[1])==null?void 0:te.label}),R[1].type==="state"?L("div",{className:"state-status",style:{color:(ie=R[1])==null?void 0:ie.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(le=R[1])==null?void 0:le.sub_label_color},children:(Q=R[1])==null?void 0:Q.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(fe=R[1])==null?void 0:fe.sub_label_color},children:(pe=R[1])==null?void 0:pe.sub_label})]})]}),P&&L("div",{className:"triple-state columns is-mobile",children:[L("div",{className:"triple-state__state column is-4",children:[b("p",{className:"state-label",children:(me=P[0])==null?void 0:me.label}),P[0].type==="state"?L("div",{className:"state-status",style:{color:(De=P[0])==null?void 0:De.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(ve=P[0])==null?void 0:ve.sub_label_color},children:(Ee=P[0])==null?void 0:Ee.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(ke=P[0])==null?void 0:ke.sub_label_color},children:(Ne=P[0])==null?void 0:Ne.sub_label})]}),L("div",{className:"triple-state__state column is-4",children:[b("p",{className:"state-label",children:(ot=P[1])==null?void 0:ot.label}),P[1].type==="state"?L("div",{className:"state-status",style:{color:(Qe=P[1])==null?void 0:Qe.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(Tt=P[1])==null?void 0:Tt.sub_label_color},children:(be=P[1])==null?void 0:be.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(Re=P[1])==null?void 0:Re.sub_label_color},children:(Me=P[1])==null?void 0:Me.sub_label})]}),L("div",{className:"triple-state__state column is-4",children:[b("p",{className:"state-label",children:(Ze=P[2])==null?void 0:Ze.label}),P[2].type==="state"?L("div",{className:"state-status",style:{color:(We=P[2])==null?void 0:We.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(lt=P[2])==null?void 0:lt.sub_label_color},children:(ht=P[2])==null?void 0:ht.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(je=P[2])==null?void 0:je.sub_label_color},children:(ze=P[2])==null?void 0:ze.sub_label})]})]}),$&&L("div",{className:"tax-alert is-flex",children:[($==null?void 0:$.icon)&&b(it,{icon:$==null?void 0:$.icon}),b("p",{className:"tax-alert__label",children:$==null?void 0:$.label})]})]})]})})})}):b(rn,{})})},gL="",Ug=({size:u="md",disabled:l=!1,label:s="radio",name:a,value:r,defaultChecked:p,onCheck:f,error:g,className:m,...k})=>{const _=de.useRef(null),N=()=>{_.current&&_.current.checked&&f&&f()};return b("div",{className:"elv-component elv-radio elv-control",...k,children:L("label",{className:["e-control e-radio",` e-control--${u} e-radio--${u}`,`${g?" e-control--error e-radio--error":""}`,`${l?" e-control--disabled e-radio--disabled":""}`," is-relative"," is-flex is-flex-direction-row-reverse is-justify-content-flex-end"," has-text-dark"," is-clickable",`${m?" "+m:""}`].join(""),children:[b("input",{type:"radio",defaultChecked:p,id:r,name:a,value:r,className:["e-control__input e-radio__input","m-0","is-clickable"].join(""),onChange:()=>{N()},disabled:l,ref:_}),s&&b("span",{className:"label-text is-flex is-align-items-center",children:s}),b("span",{className:["e-control__checkmark e-radio__checkmark"," is-flex is-align-items-center is-justify-content-center is-relative"].join("")})]})})},yL="",Wh=({size:u="md",fill:l="outline",disabled:s=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:g,maxCharacters:m=30,onChangeSelect:k,className:_,...N})=>{const[R,P]=de.useState(""),[$,K]=de.useState(a||""),[A,re]=de.useState(!1);de.useEffect(()=>{if(f&&p){const B=p.find(te=>te.value===f);B&&(P(B.value),K(B.label))}},[f,p]);function se(){return B=>{re(!1)}}function J(){return B=>{re(!A)}}function G(B,te){return ie=>{k&&k(B),P(B),K(te),re(!1)}}return b("div",{className:"elv-component elv-select",style:{minWidth:g},...N,children:L("div",{className:`select-container ${_||""}`,onMouseLeave:se(),children:[b("div",{className:["select-container__select",`select--${l}`,`select--${u}`,`${r?"select--error":""} ${s?"select--disabled":""}`,,].join(" "),onClick:J(),children:f!==void 0||!f?$&&b("span",{children:Vt($,m)}):b("span",{children:Vt(a||"",m)})}),b("div",{className:`select-container__dropdown select--${u} ${A?"select-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&b("li",{className:`list__item list__item--default ${R==a?"list__item--active":""}`,onClick:()=>G("",a),children:Vt(a,m)}),p==null?void 0:p.map((B,te)=>L("li",{className:"list__item",onClick:G(B.value,B.label),children:[B.icon&&b("i",{className:`item__icon ${B.icon}`}),Vt(B.label,m)]},te))]})})]})})},wL="",bL="",Vh=({type:u,color:l,size:s,placeholder:a,defaultValue:r,iconLeft:p,iconRight:f,isRounded:g,isLoading:m,isDisabled:k,hasError:_,className:N,onChangeInput:R,...P})=>b("div",{className:"elv-component elv-input",...P,children:b("div",{className:`field e-input ${N||""}`,children:L("p",{className:["control",`${p?" has-icons-left":""}`,`${f?" has-icons-right":""}`,`${m?" is-loading":""}`].join(""),children:[b("input",{className:["input",`${" is-"+s}`,`${l!=="none"?" is-"+l:""}`,`${g?" is-rounded":""}`,`${_?" has-error":""}`].join(""),type:u,placeholder:a,defaultValue:r,disabled:k,onChange:$=>{R&&R($)}}),p&&b("span",{className:`icon is-left ${"is-"+s}`,children:b(it,{...p})}),f&&b("span",{className:`icon is-right ${"is-"+s}`,children:b(it,{...f})})]})})}),D0=({labelDescription:u,checkbox:l,input:s,inputAmount:a,buttonRecalculate:r,buttonCancel:p,className:f,priceTopEdit:g,priceBottomEdit:m,onCantidadChange:k,onSaveData:_,showAmountinEdit:N,calculateOnChangeCant:R,calculateOnChangeTax:P,exento:$,disabledInputTax:K,visibleInputCant:A,visibleBtnRecalculate:re,visibleBtnCancelar:se,visibleBtnGuardar:J,...G})=>{const[B,te]=de.useState(0),[ie,le]=de.useState(0),[Q,fe]=de.useState($),[pe,me]=de.useState(g==null?void 0:g.labelNumberI),De=()=>{fe(!Q)},ve=()=>{Q||(N?_&&_({calculatedtax:B&&ie&&(m==null?void 0:m.labelNumberA)?B*ie*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}):_&&_({calculatedtax:ie&&(m==null?void 0:m.labelNumberA)?ie*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}))},Ee=(Qe,Tt)=>{Q||(N?_&&_({calculatedtax:Qe&&Tt&&(m==null?void 0:m.labelNumberA)?Qe*Tt*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}):_&&_({calculatedtax:Tt&&(m==null?void 0:m.labelNumberA)?Tt*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}))},ke=()=>{!Q||me(N?B&&ie&&(m==null?void 0:m.labelNumberA)?B*ie*(m==null?void 0:m.labelNumberA):0:ie&&(m==null?void 0:m.labelNumberA)?ie*(m==null?void 0:m.labelNumberA):0)},Ne=Qe=>{Q||(te(parseInt(Qe.toString())),me(N?Qe&&ie&&(m==null?void 0:m.labelNumberA)?Qe*ie*(m==null?void 0:m.labelNumberA):0:ie&&(m==null?void 0:m.labelNumberA)?ie*(m==null?void 0:m.labelNumberA):0),R&&Ee(Qe,ie))},ot=Qe=>{Q||(le(parseInt(Qe.toString())),me(N?B&&Qe&&(m==null?void 0:m.labelNumberA)?B*Qe*(m==null?void 0:m.labelNumberA):0:Qe&&(m==null?void 0:m.labelNumberA)?Qe*(m==null?void 0:m.labelNumberA):0),P&&Ee(B,Qe))};return b("div",{className:"elv-component elv-collapsedit",...G,children:b("div",{className:["collapsedit box is-flex is-align-items-center px-4 py-2 has-background-white",`${f?" "+f:""}`].join(""),children:L("div",{className:"collapsedit__breakpoint4 is-flex is-align-items-center justify-content-space-between is-fullw ",children:[L("div",{className:"collapsedit__breakpoint3 is-align-items-center is-flex is-fullw ",children:[L("div",{className:"collapsedit__breakpoint2 is-flex is-align-items-center is-gap-4",children:[L("div",{className:"collapsedit__breakpoint1 is-flex is-align-items-center is-gap-4",children:[L("div",{className:"collapsedit__desc-cont is-flex is-gap-4 mr-4 is-align-items-center",children:[b("div",{className:"collapsedit__desc has-text-grey-dark is-size-14px",children:u}),b("div",{className:"collapsedit__check is-size-14px",children:l&&b($f,{...l,defaultChecked:$,onCheck:De,className:""})})]}),b("div",{className:"collapsedit__input",children:N&&b(rn,{children:s&&A&&L("div",{children:[b("p",{style:{marginLeft:"6px",fontSize:"10px",color:"hsl(0, 0%, 71%)"},children:"Cantidad"}),b(Vh,{...s,className:"",onChangeInput:Qe=>Ne(Number(Qe.target.value))})]})})})]}),b("div",{className:"collapsedit__inputAmount mr-4 ",children:a&&L("div",{children:[b("p",{style:{marginLeft:"6px",fontSize:"10px",color:"hsl(0, 0%, 71%)"},children:"Monto imponible"}),b(Vh,{...a,isDisabled:K,onChangeInput:Qe=>ot(Number(Qe.target.value))})]})})]}),L("div",{className:"collapsedit__taxes is-flex is-gap-4",children:[m&&L("div",{className:"collapsedit__bottom is-flex is-flex-direction-column is-align-items-flex-end",children:[b("div",{className:"is-size-10px has-text-grey-light",children:m.labelAliquot}),b("div",{className:"is-size-14px has-text-grey-dark",children:m.labelNumberA})]}),g&&L("div",{className:"collapsedit__top is-flex is-flex-direction-column is-align-items-flex-end",children:[b("div",{className:"is-size-10px has-text-grey-light",children:g.labelImpost}),L("div",{className:"is-size-14px has-text-grey-dark",children:["$ ",pe]})]})]})]}),L("div",{className:"collapsedit__buttonCont is-flex is-gap-3 is-align-items-center",children:[b("div",{className:"",children:r&&re&&b($e,{...r,className:"collapsedit__buttonRec is-size-14px",onClick:()=>{ke()}})}),L("div",{className:"collapsedit__button is-flex is-gap-4 is-align-items-center ",children:[b("div",{className:"button-cancel ml-4",children:p&&se&&b($e,{...p,isFullWidth:!0,className:"has-text-danger is-full-tablet is-size-14px"})}),b("div",{className:"button-save",children:J&&b($e,{fill:"solid",color:"primary",size:"normal",label:"Guardar",className:"button-save- is-size-14px",isFullWidth:!0,onClick:()=>{ve()}})})]})]})]})})})},E0=({type:u,paddingLeft:l,isFather:s,className:a,show:r,initialState:p,childCollapse:f,disabled:g,colored:m,borderBottom:k,borderTop:_,title:N,stateTitle:R,titleWeight:P,titleIcon:$,description:K,badge:A,details:re,dateDays:se,dateTime:J,price:G,priceColor:B,priceTop:te,priceBottom:ie,priceLeft:le,buttonMenu:Q,buttonLink:fe,buttonDetail:pe,dropRightButton:me,buttonEdit:De,checkbox:ve,collapseEdit:Ee,callBackCheckbox:ke,radio:Ne,onSaveData:ot,showAmountinEdit:Qe,...Tt})=>{const[be,Re]=de.useState(p),[Me,Ze]=de.useState(!1),[We,lt]=de.useState(!1),[ht,je]=de.useState(!1),[ze,ft]=de.useState(g);de.useState(G);const[Nt,Ot]=de.useState(!1),_n=()=>{Re(!be)},En=()=>{je(!ht),ft(!ze)},vt=de.useRef(null);de.useEffect(()=>{function Ge($t){vt.current&&!vt.current.contains($t.target)&<(!1)}return document.addEventListener("click",Ge),()=>{document.removeEventListener("click",Ge)}},[vt]);const Ht=de.useRef(null);return de.useEffect(()=>{function Ge($t){Ht.current&&!Ht.current.contains($t.target)&&Ze(!1)}return document.addEventListener("click",Ge),()=>{document.removeEventListener("click",Ge)}},[Ht]),b("div",{className:`elv-component elv-collapse ${a||""}`,...Tt,children:!ht&&!ze?L("div",{className:["e-collapse",`${r?" e-collapse--show":" e-collapse--hide"}`,`${m?" e-collapse--colored-gray":""}`,`${_?" e-collapse--borderTop":""}`,`${a?" "+a:""}`].join(""),children:[L("div",{className:`e-collapse__container ${"e-collapse__container--"+u} ${l&&l==="short"?"e-collapse__container--"+u+"--short":"e-collapse__container--"+u+"--long"} ${g?"e-collapse__container--disabled":""} ${k?"e-collapse__container--borderBottom":""} ${N&&!K&&!re?"e-collapse__container--"+u+"--onlyTitle ":""}is-flex is-justify-content-space-between`,children:[L("div",{className:"left-container is-flex",style:{cursor:s&&!g?"pointer":"auto"},onClick:()=>{s&&!g&&_n()},children:[s&&b("div",{className:"left-container__dropIcon",style:R&&{paddingTop:"28px"},children:b(it,{icon:"fa-solid fa-chevron-right",className:`icon-drop ${be&&"rotate"}`})}),L("div",{className:"left-container__texts is-flex is-flex-direction-column is-justify-content-center",children:[R&&L("div",{className:"state-title is-flex",style:{color:R==null?void 0:R.color},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-title__text",children:R==null?void 0:R.label})]}),L("div",{className:"title-container is-flex is-align-items-center",children:[$&&b(it,{...$}),A&&b(yo,{...A}),N&&b("p",{className:`title-container__title title-container__title${P&&P=="regular"?"--regular":"--semibold"}`,children:N})]}),K&&b("p",{className:"description",children:K}),re&&b("p",{className:"details",children:re}),(se||J)&&L("div",{className:"date is-flex",children:[se&&L("span",{className:"date__days is-flex is-align-items-center",children:[b(it,{icon:"fa-solid fa-calendar-days"}),b("p",{children:se})]}),J&&L("span",{className:"date__time is-flex is-align-items-center",children:[b(it,{icon:"fa-solid fa-clock"}),b("p",{children:J})]})]})]})]}),L("div",{className:"right-container is-flex is-align-items-center",children:[pe&&L("span",{className:"right-container__buttonDetail",ref:Ht,children:[b($e,{...pe.button,onClick:()=>{Ze(!Me),pe.button.onClick&&pe.button.onClick()}}),pe.tooltip?b("div",{className:`detail-tooltip ${pe.tooltipPos==="top"?"detail-tooltip--top":"detail-tooltip--bottom"}`,children:b(Lg,{...pe.tooltip,active:Me})}):b(rn,{})]}),L("div",{className:"right-container__price is-flex",children:[le&&le.checkbox&&b("div",{className:"is-flex is-align-items-center",children:b($f,{...le.checkbox})}),L("div",{className:"col-price is-flex is-flex-direction-column is-align-items-end",children:[te&&L("span",{className:"col-price__top is-flex is-align-items-center",children:[b("p",{className:"desc",children:te.description}),L("p",{className:"value",children:["$ ",te.value]})]}),G&&L("p",{className:"col-price__price",style:B&&B!=""?{color:B}:{color:"none"},children:["$",G]}),ie&&L("span",{className:"col-price__bottom is-flex is-align-items-center",children:[b("p",{className:"desc",children:ie.description}),L("p",{className:"value",children:["$ ",ie.value]})]})]})]}),Q&&L("div",{className:"right-container__buttonMenu is-flex is-align-items-center is-relative",ref:vt,children:[b("span",{className:"menu-button ",children:b($e,{...Q.button,onClick:()=>{lt(!We),Q.onEllipse&&Q.onEllipse()}})}),We&&Q.menuDropComponent&&b("div",{className:"menu-drop-component is-absolute",children:Q.menuDropComponent}),Q.select&&b("div",{className:"menu-select",style:We?{display:"block"}:{display:"none"},children:b(Wh,{...Q.select})})]}),me&&b("div",{className:"right-container__dropLeftButton is-flex",children:b($e,{...me})}),fe&&b("div",{className:"right-container__buttonLink is-flex is-align-items-center",children:b($e,{...fe})}),De||ve||Ne?L("div",{className:"right-container__editCheckbox is-flex",children:[De&&b("div",{className:"buttonEdit is-flex is-align-items-center",children:b($e,{...De,onClick:()=>{En()}})}),ve&&b("div",{className:"_checkbox is-flex is-align-items-center",children:b($f,{...ve,onCheck:Ge=>{Ot(Ge),ke&&ke(Ge?{type:u,paddingLeft:l,isFather:s,show:r,initialState:p,childCollapse:f,disabled:g,colored:m,borderBottom:k,borderTop:_,title:N,stateTitle:R,titleWeight:P,titleIcon:$,description:K,badge:A,details:re,dateDays:se,dateTime:J,price:G,priceColor:B,priceTop:te,priceBottom:ie,priceLeft:le,buttonMenu:Q,buttonLink:fe,buttonDetail:pe,dropRightButton:me,buttonEdit:De}:{})}})}),Ne&&b("div",{className:"_radio is-flex is-align-items-center",children:b(Ug,{...Ne,onCheck:()=>{ke&&ke({type:u,paddingLeft:l,isFather:s,show:r,initialState:p,childCollapse:f,disabled:g,colored:m,borderBottom:k,borderTop:_,title:N,stateTitle:R,titleWeight:P,titleIcon:$,description:K,badge:A,details:re,dateDays:se,dateTime:J,price:G,priceColor:B,priceTop:te,priceBottom:ie,priceLeft:le,buttonMenu:Q,buttonLink:fe,buttonDetail:pe,dropRightButton:me,buttonEdit:De}),Ne.onCheck&&Ne.onCheck()}})})]}):b(rn,{})]})]}),f&&f.map(Ge=>b(E0,{...Ge,show:be},ar()))]}):b("div",{className:"",children:b(D0,{labelDescription:"1001 - Tambos",priceTopEdit:{labelImpost:"Impuesto",labelNumberI:te==null?void 0:te.value},priceBottomEdit:{labelAliquot:"Al\xEDcuota",labelNumberA:ie==null?void 0:ie.value},className:"collapseEdit",checkbox:{label:"Exento",disabled:!1,size:"sm",value:"",name:"",onCheck(Ge){}},inputAmount:{type:"number",color:"none",placeholder:"Monto imponible",size:"normal",onChange(Ge){}},input:{type:"number",color:"none",placeholder:"Cantidad",size:"normal",onChange(Ge){}},buttonRecalculate:{fill:"unstyled",label:"Recalcular",icon:"fa-solid fa-rotate-right",trailingIcon:!1,onClick(){}},buttonCancel:{fill:"unstyled",color:"secondary",size:"normal",label:"Cancelar",onClick(){je(!1),ft(!1)}},onSaveData:Ge=>{ot&&ot({aliquot:Ge.aliquot,calculatedtax:Ge.calculatedtax}),je(!1),ft(!1)},showAmountinEdit:Qe})})})},CL="";var T0={exports:{}};/*!
|
|
29
|
+
Check the top-level render call using <`+Ae+">.")}return xe}}function Sa(H,xe){{if(!H._store||H._store.validated||H.key!=null)return;H._store.validated=!0;var Ae=gl(xe);if(Hr[Ae])return;Hr[Ae]=!0;var ut="";H&&H._owner&&H._owner!==mt.current&&(ut=" It was passed a child from "+ve(H._owner.type)+"."),vn(H),le('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ae,ut),vn(null)}}function wr(H,xe){{if(typeof H!="object")return;if(Array.isArray(H))for(var Ae=0;Ae<H.length;Ae++){var ut=H[Ae];dn(ut)&&Sa(ut,xe)}else if(dn(H))H._store&&(H._store.validated=!0);else if(H){var At=te(H);if(typeof At=="function"&&At!==H.entries)for(var ct=At.call(H),Lt;!(Lt=ct.next()).done;)dn(Lt.value)&&Sa(Lt.value,xe)}}}function si(H){{var xe=H.type;if(xe==null||typeof xe=="string")return;var Ae;if(typeof xe=="function")Ae=xe.propTypes;else if(typeof xe=="object"&&(xe.$$typeof===k||xe.$$typeof===R))Ae=xe.propTypes;else return;if(Ae){var ut=ve(xe);un(Ae,H.props,"prop",ut,H)}else if(xe.PropTypes!==void 0&&!cn){cn=!0;var At=ve(xe);le("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",At||"Unknown")}typeof xe.getDefaultProps=="function"&&!xe.getDefaultProps.isReactClassApproved&&le("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fa(H){{for(var xe=Object.keys(H.props),Ae=0;Ae<xe.length;Ae++){var ut=xe[Ae];if(ut!=="children"&&ut!=="key"){vn(H),le("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ut),vn(null);break}}H.ref!==null&&(vn(H),le("Invalid attribute `ref` supplied to `React.Fragment`."),vn(null))}}function Lr(H,xe,Ae,ut,At,ct){{var Lt=pe(H);if(!Lt){var jt="";(H===void 0||typeof H=="object"&&H!==null&&Object.keys(H).length===0)&&(jt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var fn=wn(At);fn?jt+=fn:jt+=An();var en;H===null?en="null":Array.isArray(H)?en="array":H!==void 0&&H.$$typeof===a?(en="<"+(ve(H.type)||"Unknown")+" />",jt=" Did you accidentally export a JSX literal instead of a component?"):en=typeof H,le("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",en,jt)}var pn=nt(H,xe,Ae,At,ct);if(pn==null)return pn;if(Lt){var ea=xe.children;if(ea!==void 0)if(ut)if(Array.isArray(ea)){for(var Yr=0;Yr<ea.length;Yr++)wr(ea[Yr],H);Object.freeze&&Object.freeze(ea)}else le("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else wr(ea,H)}return H===u.Fragment?fa(pn):si(pn),pn}}function $r(H,xe,Ae){return Lr(H,xe,Ae,!0)}function Ha(H,xe,Ae){return Lr(H,xe,Ae,!1)}var Ur=Ha,Hi=$r;u.jsx=Ur,u.jsxs=Hi}()}(Ag)),Ag}(function(u){process.env.NODE_ENV==="production"?u.exports=e_():u.exports=t_()})($h);const rn=$h.exports.Fragment,b=$h.exports.jsx,L=$h.exports.jsxs,it=({icon:u,className:l,type:s,size:a="16px",size_height:r,color:p,onClick:f,...g})=>{const m=de.useRef(null);de.useEffect(()=>{s=="svg_icon"&&k(u).then(_=>{m.current&&u&&(m.current.innerHTML=_)})},[m.current,u]);function k(_){return fetch(_).then(N=>N.text())}return s==="svg_icon"?b("span",{className:`svg_icon ${l}`,ref:m,style:{fill:p,width:a,height:r},onClick:()=>{f&&f()},...g}):b("div",{className:"elv-component elv-icon",...g,children:b("i",{className:`fa_icon ${u} ${l}`,style:{fontSize:a,color:p},onClick:()=>{f&&f()}})})},$e=({color:u="primary",type:l="button",size:s="normal",fill:a="solid",isFullWidth:r,isRounded:p,isOnlyIcon:f,loading:g=!1,disabled:m=!1,icon:k,icon_type:_="fa_icon",icon_size:N,icon_size_height:R,icon_color:P,icon_className:$,trailingIcon:K=!1,label:A,onClick:re,className:se,...J})=>{const G=B=>{B.stopPropagation(),re&&re()};return b("div",{className:`elv-component elv-button ${r?"is-fullw":""}`,...J,children:b("button",{type:l,className:["button",`${a==="solid"||a==="outline"?" is-"+u+"-600":""}`,`${a==="link"?" is-linked":""}`,`${a==="outline"?" is-outlined":""}`,`${a==="unstyled"?" is-unstyled":""}`,`${s!=="normal"?" is-"+s:""}`,`${K?" button__icon--trailing":""}`,`${g?" is-loading":""}`,`${r?" is-fullwidth":""}`,`${f?" is-only-icon":""}`,`${p?" is-rounded":""}`,`${se?" "+se:""}`].join(""),onClick:B=>{G(B)},disabled:m,children:b("div",{className:"button-content is-flex",children:K?L(rn,{children:[A,k&&b(it,{icon:k,type:_,color:P,size:N,size_height:R,className:"button__icon "+$})]}):L(rn,{children:[k&&b(it,{icon:k,type:_,color:P,size:N,size_height:R,className:"button__icon "+$}),A]})})})})},eL="",n_=({type:u,className:l,fill:s,accent:a,icon:r,labelTitle:p,label:f,isButton:g,button:m,...k})=>b("div",{className:"elv-component elv-notification",...k,children:L("div",{className:`notification --type-${u} --fill-${s} --accent-${a} ${l||""}`,children:[r&&b("div",{className:"notification__icon",children:b("i",{className:`__icon ${r}`})}),L("div",{className:"notification__text",children:[p!==void 0&&b("p",{className:"__title",children:b("div",{dangerouslySetInnerHTML:{__html:p}})}),b("p",{className:"__label",children:b("div",{dangerouslySetInnerHTML:{__html:f}})}),g&&m!==void 0&&b("div",{className:"notification__button",children:b($e,{...m[0]})})]})]})}),tL="",yo=({color:u,className:l,text:s,colorText:a,...r})=>b("div",{className:"elv-component elv-badge",...r,children:b("span",{style:{backgroundColor:u,color:a},className:`badge badge--${u} ${l||""}`,children:s})}),nL="",k0=({color:u="primary",size:l="normal",max:s,value:a,className:r,...p})=>b("div",{className:"elv-component elv-progressbar",...p,children:b("div",{className:["progressbar ",`${r?" "+r:""}`].join(""),children:b("progress",{className:[`progress progress--${l}`,`${" is-"+u}`].join(""),value:a,max:s})})}),rL="",r_=({title:u,option:l,onSeeAll:s,className:a})=>b("div",{className:"elv-component elv-assistancediary",children:L("div",{className:["assistancediary is-flex is-flex-direction-column p-5 is-gap-5 box",`${a?" "+a:""}`].join(""),children:[b("div",{className:"is-size-4 has-text-weight-bold has-text-grey-dark",children:u}),b("div",{className:"is-flex is-flex-direction-column is-gap-4",children:l==null?void 0:l.map(r=>L("div",{className:"is-flex is-size-7 is-justify-content-space-between py-2 is-align-items-center is-gap-2",children:[b("div",{className:"has-text-grey-dark has-text-weight-medium",children:r.detail}),b("div",{className:"assistancediary__date has-text-weight-medium",children:r.date}),b("div",{className:"assistancediary__widthstate p-1",children:b("div",{className:"assistancediary__status has-text-centered",style:{backgroundColor:r.stateBackground},children:r.state})})]}))}),b("div",{children:b($e,{label:"Ver todo",fill:"unstyled",icon:"fa-solid fa-arrow-right",trailingIcon:!0,className:"is-size-7 has-text-weight-medium has-text-grey px-4 py-3",onClick:()=>s&&s()})})]})}),aL="",a_=({option:u,option2:l,option3:s,Call:a,className:r})=>{const[p,f]=de.useState(0),[g,m]=de.useState(0),[k,_]=de.useState(0),[N,R]=de.useState(null),[P,$]=de.useState(null),[K,A]=de.useState(null),[re,se]=de.useState(null);de.useEffect(()=>{const fe=new Date().getWeek(),pe=fe-1,me=a.filter(Tt=>Tt.date.getWeek()===fe),De=a.filter(Tt=>Tt.date.getWeek()===pe);f(me.length),m(De.length);const ve=De.length!==0?(me.length-De.length)/De.length:0,Ee=parseFloat(ve.toFixed(2));_(Ee);const ke=a[a.length-1];if(ke){const Tt=new Date,be=ke.arrivalTime,Re=ke.serviceStartTime||be,Me=(Re||Tt).getTime()-be.getTime();R(Me/(1e3*60));const Ze=Tt.getTime()-(Re||be).getTime(),We=Math.floor(Ze/(1e3*60));$(We);const lt=te(me),ht=te(De),je=B(lt,ht,me.length,De.length);se(je)}else R(null),$(null);const Ne=ie(me),ot=ie(De),Qe=le(Ne,ot,me.length,De.length);A(Qe)},[a]),de.useEffect(()=>{const Q=setInterval(()=>{const fe=a[a.length-1];if(fe&&fe.serviceStartTime){const me=new Date().getTime()-fe.serviceStartTime.getTime();$(me/6e4)}else $(null)},1e3);return()=>clearInterval(Q)},[a]);const J=P!==null?`${Math.floor(P/60)}:${(P%60).toFixed(0).padStart(2,"0")}`:"N/A",G=N!==null?`${Math.floor(N/60)}:${(N%60).toFixed(0).padStart(2,"0")}`:"N/A";K!==null&&`${Math.floor(K/60)}${(K%60).toFixed(0).padStart(2,"0")}`;const B=(Q,fe,pe,me)=>{const De=pe>0?pe:1,ve=me>0?me:1,Ee=(Q/De-fe/ve)/(1e3*60);return parseFloat(Ee.toFixed(2))/100},te=Q=>Q.reduce((fe,pe)=>{if(pe.serviceStartTime&&pe.arrivalTime){const me=new Date().getTime()-pe.serviceStartTime.getTime();return fe+me}return fe},0),ie=Q=>Q.reduce((fe,pe)=>{if(pe.serviceStartTime&&pe.arrivalTime){const me=pe.serviceStartTime.getTime()-pe.arrivalTime.getTime();return fe+me}return fe},0),le=(Q,fe,pe,me)=>{const De=pe>0?pe:1,ve=me>0?me:1,Ee=(Q/De-fe/ve)/(1e3*60);return parseFloat(Ee.toFixed(2))};return Date.prototype.getWeek=function(){var Q=new Date(this.getTime());Q.setHours(0,0,0,0),Q.setDate(Q.getDate()+4-(Q.getDay()||7));var fe=new Date(Q.getFullYear(),0,1),pe=Math.ceil(((Q.getTime()-fe.getTime())/864e5+1)/7);return pe},b("div",{className:"elv-component elv-averageAttended",children:L("div",{className:["averageAttended box is-flex is-gap-4 is-justify-content-space-between",`${r?" "+r:""}`].join(""),children:[u==null?void 0:u.map(Q=>L("div",{className:"averageAttended__option is-flex is-align-items-center is-fullw",children:[b("div",{children:b(it,{icon:Q.icon,color:Q.iconColor,className:"is-size-1"})}),L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"averageAttended__colorDark has-text-weight-semibold",children:Q.status}),b("div",{className:"averageAttended__colorDark has-text-weight-bold is-size-3",children:p}),L("div",{className:"is-flex is-align-items-center",children:[b(yo,{text:`${k<0?Q.labelButtom:Q.labelTop}${k.toString()}%`,color:Q.color,colorText:`${k<0?Q.colorText:Q.colorTextPositive}`,className:"badge"}),b("p",{className:"ml-3 is-size-14px has-text-grey",children:Q.description})]})]})]})),l==null?void 0:l.map(Q=>L("div",{className:"averageAttended__option is-flex is-align-items-center is-fullw",children:[b("div",{children:b(it,{icon:Q.icon,color:Q.iconColor,className:"is-size-1"})}),L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"averageAttended__colorDark has-text-weight-semibold",children:Q.status}),G!==null&&b("div",{className:"averageAttended__colorDark has-text-weight-bold is-size-3",children:`${G}${Q.amountCall}`}),L("div",{className:"is-flex is-align-items-center",children:[b(yo,{text:`${K!==null&&K<0?Q.labelButtom:Q.labelTop}${K!==null&&K.toFixed(1)}%`,color:Q.color,colorText:K!=null&&K<0?Q.colorText:Q.colorTextPositive,className:"badge"}),b("p",{className:"ml-3 is-size-14px has-text-grey",children:Q.description})]})]})]})),s==null?void 0:s.map(Q=>L("div",{className:"averageAttended__option is-flex is-align-items-center is-fullw",children:[b("div",{children:b(it,{icon:Q.icon,color:Q.iconColor,className:"is-size-1"})}),L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"averageAttended__colorDark has-text-weight-semibold",children:Q.status}),J!==null&&b("div",{className:"averageAttended__colorDark has-text-weight-bold is-size-3",children:`${J}${Q.amountCall}`}),L("div",{className:"is-flex is-align-items-center",children:[b(yo,{text:`${re!=null&&re<0?Q.labelButtom:Q.labelTop}${re!=null&&re.toFixed(1)}%`,color:Q.color,colorText:`${re!=null&&re<0?Q.colorText:Q.colorTextPositive}`,className:"badge"}),b("p",{className:"ml-3 is-size-14px has-text-grey",children:Q.description})]})]})]}))]})})},iL="";function Vt(u,l){return u.length<l?u:u.slice(0,l)+"..."}function ar(){return`${Math.random().toString(36).substr(2,9)}`}function _0(u){return u<1024?u+" bytes":u<1024*1024?(u/1024).toFixed(2)+" KB":u<1024*1024*1024?(u/(1024*1024)).toFixed(2)+" MB":(u/(1024*1024*1024)).toFixed(2)+" GB"}function i_(u){const l=u.split(".");switch(l[l.length-1].toLowerCase()){case"jpg":case"jpeg":case"png":case"gif":case"bmp":case"svg":return"far fa-file-image";case"csv":return"fas fa-file-csv";case"pdf":return"fas fa-file-pdf";default:return"fas fa-file"}}const o_=({type:u,defaultActiveLabel:l,items:s,handleActive:a,className:r,...p})=>{const f=s.find(_=>_.label===l),[g,m]=de.useState(f),k=_=>{m(_),a&&a(_),_.onClick&&_.onClick()};return b("div",{className:"elv-component elv-nav_bc",...p,children:b("nav",{"aria-label":"nav_bc",className:`nav_bc nav_bc--${u} ${r||""}`,children:b("ol",{className:"bc-list",children:s.map((_,N)=>L("li",{className:`bc-item ${_===g?"bc-item--active":""}`,children:[L("p",{className:"bc-item__bc-link",onClick:()=>{k(_)},children:[_.icon&&_.icon!==""&&b("i",{className:`${_.icon} item-icon ${_.label&&_.label!==""?"--and-label":""}`}),_.label&&_.label!==""&&Vt(_.label,25)]}),N<s.length-1&&b("i",{className:"fa-solid fa-chevron-right bc-item__chebron"})]},_.label))})})})},oL="",l_=({img:u,title:l,icon:s,date:a,description:r,button:p,className:f,isBorderless:g,isClickable:m,onClick:k,..._})=>b("div",{className:"elv-component elv-card",..._,children:L("div",{className:["card card-cta",`${f?" "+f:""}`,`${m?" is-clickable":""}`,`${g?" is-shadowless":" card-box"}`].join(""),onClick:()=>{m&&k&&k()},children:[L("div",{className:"card-content",style:{flexGrow:1},children:[b("div",{className:"card-header",children:L("div",{className:"card__text",children:[b("p",{className:"title is-3",children:Vt(l,54)}),r&&b("p",{children:Vt(r,198)})]})}),L("div",{className:"card-footer",children:[L("div",{className:"card__date",children:[s&&b(it,{...s[0]}),b("span",{className:"date",children:a})]}),p&&b("div",{className:"card__button",children:b($e,{...p})})]})]}),b("div",{className:"card-image",children:b("img",{src:u,alt:""})})]})}),lL="",s_=({dataBig:u,bigNumber:l,bigMonth:s,dataSmall:a,iconCalendar:r,day:p,fullDay:f,list:g,className:m,isBorderless:k,isClickable:_,onClick:N,...R})=>b("div",{className:"elv-component elv-card",...R,children:b("div",{className:["card card-expiration",`${m?" "+m:""}`,`${_?" is-clickable":""}`,`${k?" is-shadowless":" card-box"}`].join(""),onClick:()=>{_&&N&&N()},children:L("div",{className:"card-expiration__content",children:[L("div",{className:"card_header",children:[u&&L("div",{className:["date__big",`${a?"mb-20":""}`].join(" "),children:[b("h1",{children:l}),b("h4",{children:s})]}),a&&L("div",{className:"date__small",children:[r&&b("div",{className:"card__icon",children:b("div",{className:"icon",children:r?b(it,{icon:r[0].icon,className:"icon"}):null})}),b("p",{className:"title is-5",children:p}),b("p",{className:"title is-3",children:f})]})]}),b("div",{className:"card-footer",children:b("div",{className:"data__expiration",children:b("div",{className:"list",children:g.map(P=>L("p",{className:"title is-6",children:[P.type,": ",b("span",{children:P.text})]},ar()))})})})]})})}),sL="",u_=({image:u,img:l,badge:s,avatar:a,imgAvatar:r,icon:p,title:f,iconDate:g,date:m,description:k,button:_,className:N,isClickable:R,isBorderless:P,onClick:$,...K})=>b("div",{className:"elv-component elv-card",...K,children:L("div",{className:["card card-vertical",`${N?" "+N:""}`,`${R?" is-clickable":""}`,`${P?" is-shadowless":" card-box"}`].join(""),onClick:()=>{R&&$&&$()},children:[L("div",{className:"card-header",children:[u&&L("div",{className:"card__img",children:[b("img",{src:l,alt:""}),s&&b(yo,{...s[0]})]}),p&&b("div",{className:"card__icon",children:b("div",{className:"icon",children:g?b(it,{...g[0],className:"icon"}):null})}),a&&b("div",{className:"card__avatar",children:b("img",{src:r,alt:""})})]}),L("div",{className:"card-body",children:[b("div",{className:"card__title",children:b("p",{className:"title is-5",children:f})}),L("div",{className:"card__date",children:[g&&b(it,{...g[0],className:"icon"}),b("span",{className:"date",children:m})]}),b("div",{className:"card__description",children:b("p",{children:k})})]}),b("div",{className:"card-footer",children:b("div",{className:"card__button",children:b($e,{..._})})})]})}),uL="",c_=({fill:u,className:l,title:s,description:a,secondaryDescription:r,isClickable:p,onClick:f,...g})=>b("div",{className:"elv-component elv-card",...g,children:L("div",{className:["card-activity is-flex is-flex-direction-column",`${p?" is-clickable":""}`,` ${l||""}`].join(""),onClick:()=>{p&&f&&f()},children:[b("p",{className:"card-activity__title",children:s}),b("p",{className:"card-activity__description",children:a}),b("p",{className:"card-activity__secondaryDescription",children:r})]})}),cL="",d_=({iconLeft:u,icon:l,image:s,trailingIcon:a,title:r,subtitle:p,menu:f,menuButton:g,button:m,buttonsArray:k,buttons:_,className:N,isClickable:R,isBorderless:P,onClick:$,...K})=>b("div",{className:"elv-component elv-card",...K,children:L("div",{className:["card-horizontal",`${N?" "+N:""}`,`${R?" is-clickable":""}`,`${P?" is-shadowless":" card-box"}`].join(""),onClick:()=>{R&&$&&$()},children:[L("div",{className:["card-header pb-0 ",`${l||s?`icon--${a?"trailing":"leading"}`:""}`,,].join(" "),children:[u&&(l||s)?b("div",{className:"card__icon",children:l?b(it,{...l[0]}):s?b("img",{src:s,alt:"Card-Image"}):null}):b(rn,{}),L("div",{className:"card__text",children:[b("p",{className:"title is-6 mb-1",children:r}),b("p",{className:"is-size-14px has-tc-truegray-500",children:p})]}),f&&b("div",{className:"card__menu ml-auto",children:b($e,{...g})})]}),L("div",{className:"card-body px-4 pb-4 pt-0",children:[m&&b($e,{...m}),k&&b("div",{children:_==null?void 0:_.map((A,re)=>b($e,{...A},ar()))})]})]})}),dL="",f_=({fill:u,list:l,badge:s,button:a,className:r,isClickable:p,onClick:f,...g})=>b("div",{className:"elv-component elv-card",...g,children:L("div",{className:[`card card-user ${u==="outline"&&"outline"} ${r||""}`,`${p?" is-clickable":""}`].join(""),onClick:()=>{p&&f&&f()},children:[b("div",{className:"card-body",children:l.map((m,k)=>{var _;return L("div",{className:"list-item",children:[m.iconType=="img"?b(rn,{children:m.img&&b("div",{className:"list-item__img",children:b("img",{src:m.img,className:"img-p"},k)})}):b(rn,{children:m.icon&&b("div",{className:"list-item__img",children:b(it,{className:"img-p",...m.icon},k)})}),L("div",{className:"list-item__text",children:[b("p",{className:"text__subtitle",children:m.title}),b("p",{className:"text__title",children:m.subtitle})]}),m.button&&b("div",{className:"list-item__button left",children:(_=m==null?void 0:m.button)==null?void 0:_.map(N=>b($e,{...N}))}),m.menuButton&&b("div",{className:"list-item__menu",children:b($e,{...m.menuButton})})]},k)})}),s||a?L("div",{className:"card-footer p-4 mt-4 is-flex is-justify-content-space-between",children:[s&&b(rn,{children:a?b("div",{className:"card-footer__badges card-footer__badges--button",children:s==null?void 0:s.map((m,k)=>b(yo,{...m},k))}):b("div",{className:["card-footer__badges "].join(""),style:{maxWidth:`${s.length*100<400?s.length*100:400}px`},children:s.map((m,k)=>b(yo,{...m},k))})}),a==null?void 0:a.map((m,k)=>b($e,{...m,className:"px-6"}))]}):b(rn,{})]})}),fL="",p_=({button:u,title:l,optionButton:s,sub_list:a,wallet:r,walletIcon:p,walletSVG:f,contentType:g,footerType:m,interLabel:k,isInterLabelCenter:_,list:N,total:R,className:P,...$})=>b("div",{className:"elv-component elv-cart",...$,children:L("div",{className:`cart ${P||""}`,children:[r==="icon"&&b("div",{className:"cart__wallet--icon is-flex is-align-items-center is-justify-content-center",children:f?b(it,{type:"svg_icon",icon:f}):b(it,{icon:p||"fa-solid fa-wallet"})}),r==="dropdownButton"&&b("div",{className:"cart__wallet--dropdownButton is-flex is-justify-content-end",children:s&&b($e,{type:s.type,size:s.size,fill:s.fill,loading:!1,disabled:s.disabled,icon:s.icon,label:s.label!==void 0?Vt(s.label,25):"",trailingIcon:s.trailingIcon,onClick:s.onClick})}),L("div",{className:"cart__content",children:[g==="perception"&&L("div",{className:"perception is-flex is-flex-direction-column",children:[L("div",{className:"perception__title is-flex is-justify-content-space-between",children:[b("p",{className:"title is-5",children:l}),s&&b($e,{type:s.type,size:s.size,fill:s.fill,loading:!1,disabled:s.disabled,icon:s.icon,label:s.label!==void 0?Vt(s.label,25):"",trailingIcon:s.trailingIcon,onClick:s.onClick})]}),b("div",{className:"perception__labels",children:N==null?void 0:N.map(K=>L("div",{className:"item is-flex is-justify-content-space-between",children:[b("p",{className:"item__label",children:K.label}),b("p",{className:"item__value",children:K.value})]},ar()))}),a&&b("div",{className:"perception__sub-list",children:a==null?void 0:a.map(K=>L("div",{className:"item is-flex is-justify-content-space-between",style:{color:K.color},children:[b("p",{className:"item__label",children:K.label}),b("p",{className:"item__value",children:K.value})]},ar()))}),L("div",{className:"perception__total is-flex is-justify-content-space-between",children:[b("p",{className:"total-label",style:R!=null&&R.label_color?{color:R.label_color}:{},children:R==null?void 0:R.label}),b("p",{className:"total-value",style:R!=null&&R.values[0].value_color?{color:R.values[0].value_color}:{},children:R==null?void 0:R.values[0].value})]})]}),g==="bonds"&&b("div",{className:"bods is-flex is-flex-direction-column",children:N&&L("div",{className:"bonds__labels",children:[L("div",{className:"item is-flex is-justify-content-space-between is-align-items-center",children:[L("div",{className:"item__label",children:[b("p",{className:"micro-label is-4",children:N[0].label}),b("p",{className:"micro-sub_label",children:N[0].sub_label})]}),b("p",{className:"item__value",children:N[0].value})]}),b("div",{className:`inter-label is-flex ${_?"is-justify-content-center":""}`,children:b("p",{children:k})}),L("div",{className:"item is-flex is-justify-content-space-between is-align-items-center",children:[L("div",{className:"item__label",children:[b("p",{className:"micro-label",children:N[1].label}),b("p",{className:"micro-sub_label",children:N[1].sub_label})]}),b("p",{className:"item__value",children:N[1].value})]})]})}),m==="button"&&b("div",{className:"footer--button",children:u&&L("div",{className:"button-list is-flex is-flex-direction-column",children:[u[0]&&b($e,{...u[0]}),u[1]&&b($e,{...u[1]})]})}),m==="total-button"&&L("div",{className:"footer--total-button is-flex is-justify-content-space-between is-align-items-center",children:[R&&L("div",{className:"total",children:[b("p",{className:"total__label",children:Vt(R.label,25)}),b("p",{className:"total__value",children:Vt(R.values[0].value,25)})]}),u&&b($e,{...u[0]})]}),m==="big-total-button"&&L("div",{className:"footer--big-total-button is-flex is-flex-direction-column is-justify-content-center is-align-items-center",children:[R&&L(rn,{children:[b("p",{className:"total__label",children:Vt(R.label,25)}),b("p",{className:"total__value",children:Vt(R.values[0].value,25)})]}),u&&L("div",{className:"button-list is-flex is-flex-direction-column",children:[u[0]&&b($e,{...u[0]}),u[1]&&b($e,{...u[1]})]})]}),m==="big-total-button-sub"&&L("div",{className:"footer--big-total-button-sub is-flex is-flex-direction-column is-justify-content-center is-align-items-center",children:[R&&L(rn,{children:[b("p",{className:"total__label",children:Vt(R.label,35)}),R.sub_label&&b("p",{className:"total__sub_label",style:R!=null&&R.label_color?{color:R.label_color}:{},children:Vt(R.sub_label,35)}),R.values[0].sub_value&&b("p",{className:"total__sub_value",style:R!=null&&R.values[0].value_color?{color:R.values[0].value_color}:{},children:Vt(R.values[0].sub_value,35)}),R.values.map(K=>L(rn,{children:[K.sub_desc&&b("p",{className:"total__sub_desc",style:K.sub_desc_color?{color:K.sub_desc_color}:{},children:Vt(K.sub_desc,35)},ar()),b("p",{className:"total__value",style:K.value_color?{color:K.value_color}:{},children:Vt(K.value,35)})]})),R.value_description&&b("p",{className:"total__description",children:R.value_description})]}),u&&L("div",{className:"button-list is-flex is-flex-direction-column",children:[u[0]&&b($e,{...u[0]}),u[1]&&b($e,{...u[1]})]})]}),m==="total-button-sub-mobile"&&L("div",{className:"footer--total-button-sub-mobile is-flex is-justify-content-space-between is-align-items-center",children:[R&&L("div",{className:"total",children:[b("p",{className:"total__label",children:Vt(R.label,18)}),R.sub_label&&b("p",{className:"total__sub_label",children:Vt(R.sub_label,50)}),R.values[0].sub_value&&b("p",{className:"total__sub_value",children:Vt(R.values[0].sub_value,21)}),b("p",{className:"total__value",children:Vt(R.values[0].value,16)})]}),u&&b($e,{...u[0]})]})]})]})}),pL="",hL="",vL="",$f=({size:u="md",label:l="checkbox",value:s,name:a,className:r,key:p,defaultChecked:f,checked:g,error:m,disabled:k=!1,onCheck:_,onChange:N,...R})=>{const[P,$]=de.useState(f||!1),K=A=>{$(!P),_&&_(!P),N&&N(A)};return b("div",{className:"elv-component elv-checkbox elv-control",...R,children:L("label",{className:["e-control e-checkbox",` e-control--${u} e-checkbox--${u}`,`${m?" e-control--error e-checkbox--error":""}`,`${k?" e-control--disabled e-checkbox--disabled":""}`," is-relative"," is-flex is-flex-direction-row-reverse is-justify-content-flex-end"," has-text-dark"," is-clickable",`${r?" "+r:""}`].join(""),children:[b("input",{type:"checkbox",onChange:A=>{K(A)},defaultChecked:f,id:s,value:s,name:a,checked:g,className:["e-control__input e-checkbox__input"].join(""),disabled:k}),l&&b("span",{className:"label-text is-flex is-align-items-center",children:l}),b("span",{className:["e-control__checkmark e-checkbox__checkmark"," is-flex is-align-items-center is-justify-content-center is-relative"].join("")})]})})},mL="",Lg=({contentType:u,trianglePos:l,className:s,active:a,text:r,date:p,sub_title:f,principal_item:g,sections:m,total:k,amount:_,notification:N,doubleStates:R,tripleStates:P,alert:$,...K})=>{var A,re,se,J,G,B,te,ie,le,Q,fe,pe,me,De,ve,Ee,ke,Ne,ot,Qe,Tt,be,Re,Me,Ze,We,lt,ht,je,ze;return b(rn,{children:a?b("div",{className:"elv-component elv-tooltip",...K,children:b("div",{className:`tooltip ${s||""}`,children:b("div",{className:`tooltip__content ${u&&"tooltip__content--"+u} ${l!=="none"&&"tp tp--"+l}`,children:L("div",{className:"labels is-flex flex-column",children:[u==="calendar"&&L(rn,{children:[b("p",{className:"labels__date",children:p}),b("p",{className:"labels__text",children:r}),b("p",{className:"labels__sub_title",children:f})]}),u==="text"&&b(rn,{children:r&&b("p",{className:"labels__text",children:r})}),u==="taxes"&&L(rn,{children:[g&&L("div",{className:"principal-item is-flex is-justify-content-space-between",children:[b("p",{className:"principal-item__label",children:g==null?void 0:g.label}),b("p",{className:"principal-item__value",children:g==null?void 0:g.value})]}),m&&b("div",{className:"tax-sections",children:m==null?void 0:m.map(ft=>L("div",{className:"tax-sections__sec",children:[ft.title&&b("div",{className:"sec-title",children:ft.title}),ft.labels.map(Nt=>L("div",{className:"sec-label is-flex is-justify-content-space-between",children:[b("p",{className:"sec-label__label",children:Nt.label}),b("p",{className:"sec-label__value",children:Nt.value})]},Nt.label))]},ft.title))}),k&&L("div",{className:"total is-flex is-justify-content-space-between",children:[b("p",{className:"total__label",children:k==null?void 0:k.label}),b("p",{className:"total__value",children:k==null?void 0:k.value})]}),_&&L("div",{className:"amount is-flex is-justify-content-space-between",children:[b("p",{className:"amount__label",children:_==null?void 0:_.label}),b("p",{className:"amount__value",children:_==null?void 0:_.value})]}),N&&b("div",{className:"tax-notification",children:N}),R&&L("div",{className:"double-state columns is-mobile",children:[L("div",{className:"double-state__state column is-6",children:[b("p",{className:"state-label",children:(A=R[0])==null?void 0:A.label}),R[0].type==="state"?L("div",{className:"state-status",style:{color:(re=R[0])==null?void 0:re.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(se=R[0])==null?void 0:se.sub_label_color},children:(J=R[0])==null?void 0:J.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(G=R[0])==null?void 0:G.sub_label_color},children:(B=R[0])==null?void 0:B.sub_label})]}),L("div",{className:"double-state__state column is-6",children:[b("p",{className:"state-label",children:(te=R[1])==null?void 0:te.label}),R[1].type==="state"?L("div",{className:"state-status",style:{color:(ie=R[1])==null?void 0:ie.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(le=R[1])==null?void 0:le.sub_label_color},children:(Q=R[1])==null?void 0:Q.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(fe=R[1])==null?void 0:fe.sub_label_color},children:(pe=R[1])==null?void 0:pe.sub_label})]})]}),P&&L("div",{className:"triple-state columns is-mobile",children:[L("div",{className:"triple-state__state column is-4",children:[b("p",{className:"state-label",children:(me=P[0])==null?void 0:me.label}),P[0].type==="state"?L("div",{className:"state-status",style:{color:(De=P[0])==null?void 0:De.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(ve=P[0])==null?void 0:ve.sub_label_color},children:(Ee=P[0])==null?void 0:Ee.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(ke=P[0])==null?void 0:ke.sub_label_color},children:(Ne=P[0])==null?void 0:Ne.sub_label})]}),L("div",{className:"triple-state__state column is-4",children:[b("p",{className:"state-label",children:(ot=P[1])==null?void 0:ot.label}),P[1].type==="state"?L("div",{className:"state-status",style:{color:(Qe=P[1])==null?void 0:Qe.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(Tt=P[1])==null?void 0:Tt.sub_label_color},children:(be=P[1])==null?void 0:be.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(Re=P[1])==null?void 0:Re.sub_label_color},children:(Me=P[1])==null?void 0:Me.sub_label})]}),L("div",{className:"triple-state__state column is-4",children:[b("p",{className:"state-label",children:(Ze=P[2])==null?void 0:Ze.label}),P[2].type==="state"?L("div",{className:"state-status",style:{color:(We=P[2])==null?void 0:We.colorStatus},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-status__text",style:{color:(lt=P[2])==null?void 0:lt.sub_label_color},children:(ht=P[2])==null?void 0:ht.sub_label})]}):b("p",{className:"state-sub_label",style:{color:(je=P[2])==null?void 0:je.sub_label_color},children:(ze=P[2])==null?void 0:ze.sub_label})]})]}),$&&L("div",{className:"tax-alert is-flex",children:[($==null?void 0:$.icon)&&b(it,{icon:$==null?void 0:$.icon}),b("p",{className:"tax-alert__label",children:$==null?void 0:$.label})]})]})]})})})}):b(rn,{})})},gL="",Ug=({size:u="md",disabled:l=!1,label:s="radio",name:a,value:r,defaultChecked:p,onCheck:f,error:g,className:m,...k})=>{const _=de.useRef(null),N=()=>{_.current&&_.current.checked&&f&&f()};return b("div",{className:"elv-component elv-radio elv-control",...k,children:L("label",{className:["e-control e-radio",` e-control--${u} e-radio--${u}`,`${g?" e-control--error e-radio--error":""}`,`${l?" e-control--disabled e-radio--disabled":""}`," is-relative"," is-flex is-flex-direction-row-reverse is-justify-content-flex-end"," has-text-dark"," is-clickable",`${m?" "+m:""}`].join(""),children:[b("input",{type:"radio",defaultChecked:p,id:r,name:a,value:r,className:["e-control__input e-radio__input","m-0","is-clickable"].join(""),onChange:()=>{N()},disabled:l,ref:_}),s&&b("span",{className:"label-text is-flex is-align-items-center",children:s}),b("span",{className:["e-control__checkmark e-radio__checkmark"," is-flex is-align-items-center is-justify-content-center is-relative"].join("")})]})})},yL="",Wh=({size:u="md",fill:l="outline",disabled:s=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:g,maxCharacters:m=30,onChangeSelect:k,className:_,...N})=>{const[R,P]=de.useState(""),[$,K]=de.useState(a||""),[A,re]=de.useState(!1);de.useEffect(()=>{if(f&&p){const B=p.find(te=>te.value===f);B&&(P(B.value),K(B.label))}},[f,p]);function se(){return B=>{re(!1)}}function J(){return B=>{re(!A)}}function G(B,te){return ie=>{k&&k(B),P(B),K(te),re(!1)}}return b("div",{className:"elv-component elv-select",style:{minWidth:g},...N,children:L("div",{className:`select-container ${_||""}`,onMouseLeave:se(),children:[b("div",{className:["select-container__select",`select--${l}`,`select--${u}`,`${r?"select--error":""} ${s?"select--disabled":""}`,,].join(" "),onClick:J(),children:f!==void 0||!f?$&&b("span",{children:Vt($,m)}):b("span",{children:Vt(a||"",m)})}),b("div",{className:`select-container__dropdown select--${u} ${A?"select-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&b("li",{className:`list__item list__item--default ${R==a?"list__item--active":""}`,onClick:()=>G("",a),children:Vt(a,m)}),p==null?void 0:p.map((B,te)=>L("li",{className:"list__item",onClick:G(B.value,B.label),children:[B.icon&&b("i",{className:`item__icon ${B.icon}`}),Vt(B.label,m)]},te))]})})]})})},wL="",bL="",Vh=({type:u,color:l,size:s,placeholder:a,defaultValue:r,iconLeft:p,iconRight:f,isRounded:g,isLoading:m,isDisabled:k,hasError:_,className:N,onChangeInput:R,...P})=>b("div",{className:"elv-component elv-input",...P,children:b("div",{className:`field e-input ${N||""}`,children:L("p",{className:["control",`${p?" has-icons-left":""}`,`${f?" has-icons-right":""}`,`${m?" is-loading":""}`].join(""),children:[b("input",{className:["input",`${" is-"+s}`,`${l!=="none"?" is-"+l:""}`,`${g?" is-rounded":""}`,`${_?" has-error":""}`].join(""),type:u,placeholder:a,defaultValue:r,disabled:k,onChange:$=>{R&&R($)}}),p&&b("span",{className:`icon is-left ${"is-"+s}`,children:b(it,{...p})}),f&&b("span",{className:`icon is-right ${"is-"+s}`,children:b(it,{...f})})]})})}),D0=({labelDescription:u,checkbox:l,input:s,inputAmount:a,buttonRecalculate:r,buttonCancel:p,className:f,priceTopEdit:g,priceBottomEdit:m,onCantidadChange:k,onSaveData:_,showAmountinEdit:N,calculateOnChangeCant:R,calculateOnChangeTax:P,exento:$,disabledInputTax:K,visibleInputCant:A,visibleBtnRecalculate:re,visibleBtnCancelar:se,visibleBtnGuardar:J,...G})=>{const[B,te]=de.useState(Number(s==null?void 0:s.defaultValue)||1),[ie,le]=de.useState(0),[Q,fe]=de.useState($),[pe,me]=de.useState(g==null?void 0:g.labelNumberI),De=()=>{fe(!Q)},ve=()=>{Q||(N?_&&_({calculatedtax:B&&ie&&(m==null?void 0:m.labelNumberA)?B*ie*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}):_&&_({calculatedtax:ie&&(m==null?void 0:m.labelNumberA)?ie*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}))},Ee=(Qe,Tt)=>{Q||(N?_&&_({calculatedtax:Qe&&Tt&&(m==null?void 0:m.labelNumberA)?Qe*Tt*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}):_&&_({calculatedtax:Tt&&(m==null?void 0:m.labelNumberA)?Tt*(m==null?void 0:m.labelNumberA):0,aliquot:m!=null&&m.labelNumberA?m.labelNumberA:0}))},ke=()=>{!Q||me(N?B&&ie&&(m==null?void 0:m.labelNumberA)?parseFloat((B*ie*(m==null?void 0:m.labelNumberA)).toFixed(2)):0:ie&&(m==null?void 0:m.labelNumberA)?parseFloat((ie*(m==null?void 0:m.labelNumberA)).toFixed(2)):0)},Ne=Qe=>{Q||(te(parseInt(Qe.toString())),me(N?Qe&&ie&&(m==null?void 0:m.labelNumberA)?parseFloat((Qe*ie*(m==null?void 0:m.labelNumberA)).toFixed(2)):0:ie&&(m==null?void 0:m.labelNumberA)?ie*(m==null?void 0:m.labelNumberA):0),R&&Ee(Qe,ie))},ot=Qe=>{Q||(le(parseInt(Qe.toString())),me(N?B&&Qe&&(m==null?void 0:m.labelNumberA)?parseFloat((B*Qe*(m==null?void 0:m.labelNumberA)).toFixed(2)):0:Qe&&(m==null?void 0:m.labelNumberA)?parseFloat((Qe*(m==null?void 0:m.labelNumberA)).toFixed(2)):0),P&&Ee(B,Qe))};return b("div",{className:"elv-component elv-collapsedit",...G,children:b("div",{className:["collapsedit box is-flex is-align-items-center px-4 py-2 has-background-white",`${f?" "+f:""}`].join(""),children:L("div",{className:"collapsedit__breakpoint4 is-flex is-align-items-center justify-content-space-between is-fullw ",children:[L("div",{className:"collapsedit__breakpoint3 is-align-items-center is-flex is-fullw ",children:[L("div",{className:"collapsedit__breakpoint2 is-flex is-align-items-center is-gap-4",children:[L("div",{className:"collapsedit__breakpoint1 is-flex is-align-items-center is-gap-4",children:[L("div",{className:"collapsedit__desc-cont is-flex is-gap-4 mr-4 is-align-items-center",children:[b("div",{className:"collapsedit__desc has-text-grey-dark is-size-14px",children:u}),b("div",{className:"collapsedit__check is-size-14px",children:l&&b($f,{...l,defaultChecked:$,onCheck:De,className:""})})]}),b("div",{className:"collapsedit__input",children:N&&b(rn,{children:s&&A&&L("div",{children:[b("p",{style:{marginLeft:"6px",fontSize:"10px",color:"hsl(0, 0%, 71%)"},children:"Cantidad"}),b(Vh,{...s,className:"",onChangeInput:Qe=>Ne(Number(Qe.target.value))})]})})})]}),b("div",{className:"collapsedit__inputAmount mr-4 ",children:a&&L("div",{children:[b("p",{style:{marginLeft:"6px",fontSize:"10px",color:"hsl(0, 0%, 71%)"},children:"Monto imponible"}),b(Vh,{...a,isDisabled:K,onChangeInput:Qe=>ot(Number(Qe.target.value))})]})})]}),L("div",{className:"collapsedit__taxes is-flex is-gap-4",children:[m&&L("div",{className:"collapsedit__bottom is-flex is-flex-direction-column is-align-items-flex-end",children:[b("div",{className:"is-size-10px has-text-grey-light",children:m.labelAliquot}),b("div",{className:"is-size-14px has-text-grey-dark",children:m.labelNumberA})]}),g&&L("div",{className:"collapsedit__top is-flex is-flex-direction-column is-align-items-flex-end",children:[b("div",{className:"is-size-10px has-text-grey-light",children:g.labelImpost}),L("div",{className:"is-size-14px has-text-grey-dark",children:["$ ",pe]})]})]})]}),L("div",{className:"collapsedit__buttonCont is-flex is-gap-3 is-align-items-center",children:[b("div",{className:"",children:r&&re&&b($e,{...r,className:"collapsedit__buttonRec is-size-14px",onClick:()=>{ke()}})}),L("div",{className:"collapsedit__button is-flex is-gap-4 is-align-items-center ",children:[b("div",{className:"button-cancel ml-4",children:p&&se&&b($e,{...p,isFullWidth:!0,className:"has-text-danger is-full-tablet is-size-14px"})}),b("div",{className:"button-save",children:J&&b($e,{fill:"solid",color:"primary",size:"normal",label:"Guardar",className:"button-save- is-size-14px",isFullWidth:!0,onClick:()=>{ve()}})})]})]})]})})})},E0=({type:u,paddingLeft:l,isFather:s,className:a,show:r,initialState:p,childCollapse:f,disabled:g,colored:m,borderBottom:k,borderTop:_,title:N,stateTitle:R,titleWeight:P,titleIcon:$,description:K,badge:A,details:re,dateDays:se,dateTime:J,price:G,priceColor:B,priceTop:te,priceBottom:ie,priceLeft:le,buttonMenu:Q,buttonLink:fe,buttonDetail:pe,dropRightButton:me,buttonEdit:De,checkbox:ve,collapseEdit:Ee,callBackCheckbox:ke,radio:Ne,onSaveData:ot,showAmountinEdit:Qe,...Tt})=>{const[be,Re]=de.useState(p),[Me,Ze]=de.useState(!1),[We,lt]=de.useState(!1),[ht,je]=de.useState(!1),[ze,ft]=de.useState(g);de.useState(G);const[Nt,Ot]=de.useState(!1),_n=()=>{Re(!be)},En=()=>{je(!ht),ft(!ze)},vt=de.useRef(null);de.useEffect(()=>{function Ge($t){vt.current&&!vt.current.contains($t.target)&<(!1)}return document.addEventListener("click",Ge),()=>{document.removeEventListener("click",Ge)}},[vt]);const Ht=de.useRef(null);return de.useEffect(()=>{function Ge($t){Ht.current&&!Ht.current.contains($t.target)&&Ze(!1)}return document.addEventListener("click",Ge),()=>{document.removeEventListener("click",Ge)}},[Ht]),b("div",{className:`elv-component elv-collapse ${a||""}`,...Tt,children:!ht&&!ze?L("div",{className:["e-collapse",`${r?" e-collapse--show":" e-collapse--hide"}`,`${m?" e-collapse--colored-gray":""}`,`${_?" e-collapse--borderTop":""}`,`${a?" "+a:""}`].join(""),children:[L("div",{className:`e-collapse__container ${"e-collapse__container--"+u} ${l&&l==="short"?"e-collapse__container--"+u+"--short":"e-collapse__container--"+u+"--long"} ${g?"e-collapse__container--disabled":""} ${k?"e-collapse__container--borderBottom":""} ${N&&!K&&!re?"e-collapse__container--"+u+"--onlyTitle ":""}is-flex is-justify-content-space-between`,children:[L("div",{className:"left-container is-flex",style:{cursor:s&&!g?"pointer":"auto"},onClick:()=>{s&&!g&&_n()},children:[s&&b("div",{className:"left-container__dropIcon",style:R&&{paddingTop:"28px"},children:b(it,{icon:"fa-solid fa-chevron-right",className:`icon-drop ${be&&"rotate"}`})}),L("div",{className:"left-container__texts is-flex is-flex-direction-column is-justify-content-center",children:[R&&L("div",{className:"state-title is-flex",style:{color:R==null?void 0:R.color},children:[b(it,{icon:"fa-solid fa-circle"})," ",b("p",{className:"state-title__text",children:R==null?void 0:R.label})]}),L("div",{className:"title-container is-flex is-align-items-center",children:[$&&b(it,{...$}),A&&b(yo,{...A}),N&&b("p",{className:`title-container__title title-container__title${P&&P=="regular"?"--regular":"--semibold"}`,children:N})]}),K&&b("p",{className:"description",children:K}),re&&b("p",{className:"details",children:re}),(se||J)&&L("div",{className:"date is-flex",children:[se&&L("span",{className:"date__days is-flex is-align-items-center",children:[b(it,{icon:"fa-solid fa-calendar-days"}),b("p",{children:se})]}),J&&L("span",{className:"date__time is-flex is-align-items-center",children:[b(it,{icon:"fa-solid fa-clock"}),b("p",{children:J})]})]})]})]}),L("div",{className:"right-container is-flex is-align-items-center",children:[pe&&L("span",{className:"right-container__buttonDetail",ref:Ht,children:[b($e,{...pe.button,onClick:()=>{Ze(!Me),pe.button.onClick&&pe.button.onClick()}}),pe.tooltip?b("div",{className:`detail-tooltip ${pe.tooltipPos==="top"?"detail-tooltip--top":"detail-tooltip--bottom"}`,children:b(Lg,{...pe.tooltip,active:Me})}):b(rn,{})]}),L("div",{className:"right-container__price is-flex",children:[le&&le.checkbox&&b("div",{className:"is-flex is-align-items-center",children:b($f,{...le.checkbox})}),L("div",{className:"col-price is-flex is-flex-direction-column is-align-items-end",children:[te&&L("span",{className:"col-price__top is-flex is-align-items-center",children:[b("p",{className:"desc",children:te.description}),L("p",{className:"value",children:["$ ",te.value]})]}),G&&L("p",{className:"col-price__price",style:B&&B!=""?{color:B}:{color:"none"},children:["$",G]}),ie&&L("span",{className:"col-price__bottom is-flex is-align-items-center",children:[b("p",{className:"desc",children:ie.description}),L("p",{className:"value",children:["$ ",ie.value]})]})]})]}),Q&&L("div",{className:"right-container__buttonMenu is-flex is-align-items-center is-relative",ref:vt,children:[b("span",{className:"menu-button ",children:b($e,{...Q.button,onClick:()=>{lt(!We),Q.onEllipse&&Q.onEllipse()}})}),We&&Q.menuDropComponent&&b("div",{className:"menu-drop-component is-absolute",children:Q.menuDropComponent}),Q.select&&b("div",{className:"menu-select",style:We?{display:"block"}:{display:"none"},children:b(Wh,{...Q.select})})]}),me&&b("div",{className:"right-container__dropLeftButton is-flex",children:b($e,{...me})}),fe&&b("div",{className:"right-container__buttonLink is-flex is-align-items-center",children:b($e,{...fe})}),De||ve||Ne?L("div",{className:"right-container__editCheckbox is-flex",children:[De&&b("div",{className:"buttonEdit is-flex is-align-items-center",children:b($e,{...De,onClick:()=>{En()}})}),ve&&b("div",{className:"_checkbox is-flex is-align-items-center",children:b($f,{...ve,onCheck:Ge=>{Ot(Ge),ke&&ke(Ge?{type:u,paddingLeft:l,isFather:s,show:r,initialState:p,childCollapse:f,disabled:g,colored:m,borderBottom:k,borderTop:_,title:N,stateTitle:R,titleWeight:P,titleIcon:$,description:K,badge:A,details:re,dateDays:se,dateTime:J,price:G,priceColor:B,priceTop:te,priceBottom:ie,priceLeft:le,buttonMenu:Q,buttonLink:fe,buttonDetail:pe,dropRightButton:me,buttonEdit:De}:{})}})}),Ne&&b("div",{className:"_radio is-flex is-align-items-center",children:b(Ug,{...Ne,onCheck:()=>{ke&&ke({type:u,paddingLeft:l,isFather:s,show:r,initialState:p,childCollapse:f,disabled:g,colored:m,borderBottom:k,borderTop:_,title:N,stateTitle:R,titleWeight:P,titleIcon:$,description:K,badge:A,details:re,dateDays:se,dateTime:J,price:G,priceColor:B,priceTop:te,priceBottom:ie,priceLeft:le,buttonMenu:Q,buttonLink:fe,buttonDetail:pe,dropRightButton:me,buttonEdit:De}),Ne.onCheck&&Ne.onCheck()}})})]}):b(rn,{})]})]}),f&&f.map(Ge=>b(E0,{...Ge,show:be},ar()))]}):b("div",{className:"",children:b(D0,{labelDescription:"1001 - Tambos",priceTopEdit:{labelImpost:"Impuesto",labelNumberI:te==null?void 0:te.value},priceBottomEdit:{labelAliquot:"Al\xEDcuota",labelNumberA:ie==null?void 0:ie.value},className:"collapseEdit",checkbox:{label:"Exento",disabled:!1,size:"sm",value:"",name:"",onCheck(Ge){}},inputAmount:{type:"number",color:"none",placeholder:"Monto imponible",size:"normal",onChange(Ge){}},input:{type:"number",color:"none",placeholder:"Cantidad",size:"normal",onChange(Ge){}},buttonRecalculate:{fill:"unstyled",label:"Recalcular",icon:"fa-solid fa-rotate-right",trailingIcon:!1,onClick(){}},buttonCancel:{fill:"unstyled",color:"secondary",size:"normal",label:"Cancelar",onClick(){je(!1),ft(!1)}},onSaveData:Ge=>{ot&&ot({aliquot:Ge.aliquot,calculatedtax:Ge.calculatedtax}),je(!1),ft(!1)},showAmountinEdit:Qe})})})},CL="";var T0={exports:{}};/*!
|
|
30
30
|
Copyright (c) 2018 Jed Watson.
|
|
31
31
|
Licensed under the MIT License (MIT), see
|
|
32
32
|
http://jedwatson.github.io/classnames
|
|
@@ -308,4 +308,4 @@ https://sweetalert2.github.io/#ajax-request`),Fd(w),typeof w.title=="string"&&(w
|
|
|
308
308
|
m 0,-`+a+`
|
|
309
309
|
a `+a+","+a+" "+r+" 1 1 0,"+2*a+`
|
|
310
310
|
a `+a+","+a+" "+r+" 1 1 0,-"+2*a+`
|
|
311
|
-
`}function I2(u){var l=u.counterClockwise,s=u.dashRatio,a=u.pathRadius,r=Math.PI*2*a,p=(1-s)*r;return{strokeDasharray:r+"px "+r+"px",strokeDashoffset:(l?-p:p)+"px"}}var j2=function(u){M2(l,u);function l(){return u!==null&&u.apply(this,arguments)||this}return l.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},l.prototype.getPathRadius=function(){return gx-this.props.strokeWidth/2-this.getBackgroundPadding()},l.prototype.getPathRatio=function(){var s=this.props,a=s.value,r=s.minValue,p=s.maxValue,f=Math.min(Math.max(a,r),p);return(f-r)/(p-r)},l.prototype.render=function(){var s=this.props,a=s.circleRatio,r=s.className,p=s.classes,f=s.counterClockwise,g=s.styles,m=s.strokeWidth,k=s.text,_=this.getPathRadius(),N=this.getPathRatio();return de.createElement("svg",{className:p.root+" "+r,style:g.root,viewBox:"0 0 "+A2+" "+L2,"data-test-id":"CircularProgressbar"},this.props.background?de.createElement("circle",{className:p.background,style:g.background,cx:Ny,cy:Oy,r:gx}):null,de.createElement(yx,{className:p.trail,counterClockwise:f,dashRatio:a,pathRadius:_,strokeWidth:m,style:g.trail}),de.createElement(yx,{className:p.path,counterClockwise:f,dashRatio:N*a,pathRadius:_,strokeWidth:m,style:g.path}),k?de.createElement("text",{className:p.text,style:g.text,x:Ny,y:Oy},k):null)},l.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},l}(de.Component);function z2(u){u.children;var l=P2(u,["children"]);return de.createElement("div",{"data-test-id":"CircularProgressbarWithChildren"},de.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},de.createElement(j2,Ty({},l)),u.children?de.createElement("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},u.children):null))}function F2(u){var l=u.rotation,s=u.strokeLinecap,a=u.textColor,r=u.textSize,p=u.pathColor,f=u.pathTransition,g=u.pathTransitionDuration,m=u.trailColor,k=u.backgroundColor,_=l==null?void 0:"rotate("+l+"turn)",N=l==null?void 0:"center center";return{root:{},path:yv({stroke:p,strokeLinecap:s,transform:_,transformOrigin:N,transition:f,transitionDuration:g==null?void 0:g+"s"}),trail:yv({stroke:m,strokeLinecap:s,transform:_,transformOrigin:N}),text:yv({fill:a,fontSize:r}),background:yv({fill:k})}}function yv(u){return Object.keys(u).forEach(function(l){u[l]==null&&delete u[l]}),u}const H2=({labelPerformance:u,dataTime:l,percentage:s,description:a,star:r,qualification:p,rating:f,className:g})=>{const m=Math.round(f*2)/2;return b("div",{className:"elv-component elv-performanceAssessment",children:L("div",{className:["performanceAssessment box is-flex is-flex-direction-column p-5 is-gap-6 is-align-items-center",`${g?" "+g:""}`].join(""),children:[L("div",{className:"is-flex is-flex-direction-column is-gap-3",children:[b("div",{className:"has-text-weight-bold has-text-grey-dark",children:u}),b("div",{children:l==null?void 0:l.map(k=>b("div",{className:"performanceAssessment__date is-size-14px has-text-weight-medium",children:k.date}))})]}),b("div",{style:{maxWidth:"214.277px"},className:"progressCircular",children:L(z2,{value:s,text:"",strokeWidth:15,background:!0,backgroundPadding:10,styles:F2({backgroundColor:"#FFFFFF",pathColor:"#7DAFFF",trailColor:"#CED4DA4D",strokeLinecap:"butt"}),children:[b("div",{className:"is-size-4",children:b("strong",{children:`${s}%`})}),b("div",{className:"progressCircular__desc is-size-7 has-text-centered",children:a})]})}),L("div",{className:"mt-2",children:[b("div",{className:"is-flex",children:r==null?void 0:r.map((k,_)=>{const N=m-_===.5;return L("div",{children:[!N&&b(it,{icon:k.star,className:"iconStar mr-3 is-size-5",color:_<m?"#16A34A":"#CED4DA"}),N&&b(it,{icon:k.starStroke,className:"iconStar mr-3 is-size-5",color:"#16A34A"})]},_)})}),L("p",{className:"has-text-grey is-size-14px mt-3",children:[" ",f," ",p]})]})]})})},PL="",$2=({title:u,option:l,labelQuantity:s,totalNumber:a,labelAssigned:r,numberAssigned:p,onSeeMore:f,className:g})=>b("div",{className:"elv-component elv-shiftdiary",children:L("div",{className:["shiftdiary box is-flex is-flex-direction-column p-5 is-gap-5",`${g?" "+g:""}`].join(""),children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center",children:[b("p",{className:"is-size-4 has-text-weight-bold has-text-grey-dark",children:u}),b($e,{label:"Ver m\xE1s",fill:"unstyled",color:"primary",className:"shiftdiary__button is-size-10px has-text-weight-medium",onClick:()=>f&&f()})]}),L("div",{className:" shiftdiary__boxdiary is-flex is-gap-5",children:[b("div",{className:"item is-flex is-flex-direction-column is-gap-4",children:l==null?void 0:l.map(m=>L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"has-text-grey-dark",children:m.time}),L("div",{className:"is-flex is-align-items-center py-4 is-justify-content-space-between",children:[L("div",{className:"is-flex is-gap-4",children:[b("div",{className:"has-text-weight-semibold has-text-grey-dark",children:m.name}),b("div",{className:"has-text-grey-dark",children:m.age})]}),L("div",{className:"shiftdiary__status is-flex",style:{backgroundColor:m.colorContains},children:[b(it,{icon:"fa-solid fa-circle",color:m.colorIcon,className:"mr-2"}),b("p",{className:"has-text-light is-size-7",children:m.state})]})]})]}))}),L("div",{className:"item is-flex is-flex-direction-column is-align-items-start is-gap-4",children:[L("div",{className:"shiftdiary__present radius is-flex p-4 is-align-items-center is-justify-content-space-between is-fullw",children:[L("div",{className:"is-flex",children:[b(it,{icon:"fa-regular fa-circle-check",className:"icon mr-2",size:"24px"}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:s})]}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:a})]}),L("div",{className:"shiftdiary__assigned radius is-flex p-4 is-align-items-center is-fullw is-justify-content-space-between",children:[L("div",{className:"is-flex",children:[b(it,{icon:"fa-regular fa-calendar",className:"icon2 mr-2",size:"24px"}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:r})]}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:p})]})]})]})]})}),AL="",Y2=({items:u,activeLabel:l,handlePosition:s,className:a,...r})=>{var p=0;const f=u.find(R=>R.label===l),[g,m]=de.useState(f),[k,_]=de.useState(f);if(g)var p=u.indexOf(g);de.useEffect(()=>{var R=u.find(P=>P.label===l);m(R),g&&(p=u.indexOf(g)),_(R)},[l,u]);const N=R=>{_(R),s&&s(R),R.onClick&&R.onClick()};return b("div",{className:"elv-component elv-steps",...r,children:b("ul",{className:`steps has-content-centered is-horizontal ${a||""}`,children:u.map((R,P)=>L("li",{className:`steps-segment ${u[P+1]!==void 0&&u[P+1]==g?"is-pre-active":""} ${R==g?"is-active":""}`,children:[b("span",{className:"steps-marker",onClick:()=>{P<=p?N(R):R.onClick&&R.onClick()},children:P<p?b("span",{className:"icon",children:b("i",{className:`${R.icon}`})}):b("span",{children:P+1})}),b("div",{className:`steps-content ${P<=p?"steps-content--completed":"steps-content--incompleted"} ${R===k&&"steps-content--position"}`,children:b("p",{className:"steps-content__item-label",children:R.label})})]},P))})})},LL="",W2=({items:u,type:l,activeTab:s,handleActive:a,handleSubActive:r,subactiveTab:p,className:f,...g})=>b("div",{className:"elv-component elv-tabs",...g,children:b("ul",{className:`tabs tabs--${l} ${f||""}`,children:u.map((m,k)=>L("div",{className:"tabs__item",children:[l==="boxed"&&m.icon&&m.subtitle?L("li",{onClick:()=>{a&&a(m),m.sub_labels&&r&&r(m.sub_labels[0]),m.onClick&&m.onClick()},className:`item is-clickable ${k!==0?"ml-3":""} ${m.label==(s==null?void 0:s.label)?"item--active":""} ${m.disabled?"item--disabled":""}`,children:[L("div",{className:"boxed-container is-flex is-justify-content-center mb-1",children:[b(it,{...m.icon,className:"boxed-container__icon mb-1 mr-1"}),b("p",{className:"boxed-container__label",children:Vt(m.label,30)})]}),b("p",{className:"boxed-subtitle mb-1 is-size-7 has-text-weight-normal has-tc-truegray-600 has-text-centered",children:Vt(m.subtitle,20)})]}):b("li",{onClick:()=>{a&&a(m),m.sub_labels&&r&&r(m.sub_labels[0]),m.onClick&&m.onClick()},className:`item is-clickable ${k===0?"item--is-first":""} ${m.label==(s==null?void 0:s.label)?"item--active":""} ${m.disabled?"item--disabled":""}`,children:Vt(m.label,30)}),m.sub_labels!==void 0&&l==="vertical"&&m.sub_labels.map((_,N)=>b("li",{onClick:()=>{a&&a(m),r&&r(_),_.onClick&&_.onClick()},className:`sub-item ${k===0?"sub-item__--first":""} ${m.label==(s==null?void 0:s.label)&&_.label==(p==null?void 0:p.label)?"sub-item--active":""} ${_.disabled?"sub-item--inactive":""}`,children:Vt(_.label,25)},ar()))]},m.label+ar()))})}),UL="",V2=({size:u="md",fill:l="outline",disabled:s=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:g,maxCharacters:m=30,onChangeSelect:k,className:_,...N})=>{const[R,P]=de.useState(f||""),[$,K]=de.useState(""),[A,re]=de.useState(f||""),[se,J]=de.useState(!1),G=(le,Q)=>{le==""?P(""):P(Q),K(le),re(Q),k&&k(le),J(!1)};function B(le){const Q=le.target.value;P(Q),J(!0)}const te=p.filter(le=>le.label.toLowerCase().includes(R?R.toLowerCase():"")),ie=de.useRef(null);return de.useEffect(()=>{function le(Q){ie.current&&!ie.current.contains(Q.target)&&J(!1)}return document.addEventListener("click",le),()=>{document.removeEventListener("click",le)}},[ie]),de.useEffect(()=>{const le=p.find(Q=>Q.value===f);le?G(le.value,le.label):G("","")},[f,p]),b("div",{className:"elv-component elv-autocomplete",style:{minWidth:g},...N,children:L("div",{className:`autocomplete-container ${_||""}`,ref:ie,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${u}`,`${r?"autocomplete--error":""} ${s?"autocomplete--disabled":""}`,,].join(" "),children:[b("input",{className:"input-autocomplete is-clickable ",type:"text",value:R||A,onChange:B,placeholder:a||"",onFocus:()=>J(!0),readOnly:!!$}),$&&A!=""?b("div",{onClick:()=>{G("","")},className:"",children:b(it,{icon:"fa-solid fa-circle-xmark fa-2xl"})}):null]}),b("div",{className:`autocomplete-container__dropdown autocomplete--${u} ${se?"autocomplete-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&b("li",{className:`list__item list__item--default ${$==a?"list__item--active":""}`,onClick:()=>{G("",a)},children:Vt(a,m||30)}),te==null?void 0:te.map((le,Q)=>L("li",{className:"list__item",onClick:()=>{G(le.value,le.label)},children:[le.icon&&b("i",{className:`item__icon ${le.icon}`}),Vt(le.label,m||30)]},Q))]})})]})})},IL="",B2=({type:u,dateFormat:l,startDate:s,endDate:a,showIcon:r,withPortal:p,isRange:f,onStartDateChange:g,onEndDateChange:m,className:k,..._})=>{const[N,R]=de.useState(s||new Date),[P,$]=de.useState(a||new Date);return de.useEffect(()=>{g&&g(N)},[N]),de.useEffect(()=>{m&&m(P)},[P]),f?L("div",{className:"elv-component elv-datepicker",..._,children:[b(gv,{selected:N,onChange:K=>R(K),withPortal:p,showMonthYearPicker:u=="months",showYearPicker:u=="year",dateFormat:l,showIcon:r,selectsStart:!0,startDate:N,endDate:P,className:k}),b(gv,{selected:P,onChange:K=>$(K),withPortal:p,showMonthYearPicker:u=="months",showYearPicker:u=="year",dateFormat:l,showIcon:r,selectsEnd:!0,startDate:N,endDate:P,minDate:N,className:k})]}):b("div",{className:"elv-component elv-datepicker",..._,children:b(gv,{selected:N,onChange:K=>R(K),withPortal:p,showMonthYearPicker:u=="months",showYearPicker:u=="year",dateFormat:l,showIcon:r,className:k})})},jL="",q2=({size:u="sm",fill:l="outline",disabled:s=!1,placeholder:a,error:r,section:p,button:f,buttonCleaner:g,onChangeFilters:m,className:k,..._})=>{const[N,R]=de.useState(!1),[P,$]=de.useState(!1),[K,A]=de.useState(!1),[re,se]=de.useState([]),[J,G]=de.useState([]),B=(fe,pe,me)=>{var Ee,ke,Ne;const De=re.findIndex(ot=>ot.name===pe),ve=[...re];if(fe==="radio")De>=0?ve[De]={name:pe,value:[me]}:ve.push({name:pe,value:[me]});else{const ot=(ke=(Ee=re[De])==null?void 0:Ee.value)==null?void 0:ke.indexOf(me);De>=0&&ot>=0?ve[De].value.splice(ot,1):De>=0?ve[De].value.push(me):ve.push({name:pe,value:[me]})}((Ne=ve[De])==null?void 0:Ne.value.length)===0&&ve.splice(De,1),ve.length>0&&A(!0),se(ve)},te=()=>{m&&(m(re),G(re),A(!1),re.length===0?$(!1):$(!0))},ie=()=>{se([]),document.querySelectorAll(".section__options").forEach(pe=>{pe.querySelectorAll("label").forEach(De=>{De.querySelectorAll("input").forEach(Ee=>{Ee.checked=!1})})}),$(!1),A(!1),m&&(m([]),G([]))};function le(){return fe=>{R(!N)}}const Q=de.useRef(null);return de.useEffect(()=>{function fe(pe){Q.current&&!Q.current.contains(pe.target)&&R(!1)}return document.addEventListener("click",fe),()=>{document.removeEventListener("click",fe)}},[Q]),b("div",{className:"elv-component elv-filters",..._,children:L("div",{className:`filter-container ${k||""}`,ref:Q,children:[L("div",{className:["filter-container__filter",`filter--${l}`,`filter--${u}`,`${r?"filter--error":""} ${s?"filter--disabled":""}`,,].join(" "),onClick:le(),children:[b(it,{icon:"fa-solid fa-filter",className:"filter"}),b("span",{className:"placeholder",children:Vt(a,25)}),J.length>0&&b(yo,{color:"primary",text:J.length.toString()}),b(it,{icon:"fa-solid fa-chevron-down",className:"chebron"})]}),L("div",{className:`filter-container__dropdown filter--${u} ${N?"filter-container__dropdown--active":""}`,children:[p==null?void 0:p.map(fe=>{var pe;return L("div",{className:"section",children:[b("p",{className:"section__title is-5",children:fe.label}),b("div",{className:`section__options ${fe.type=="radio"?"control":"checkbox"} is-flex is-flex-direction-column`,children:(pe=fe.options)==null?void 0:pe.map(me=>b("div",{children:L("label",{htmlFor:me.name,className:`filter-label ${fe.type=="radio"?"radio":"checkbox"} is-flex is-justify-content-space-between`,children:[L("span",{className:"filter-label__name is-flex",children:[me.iconItem&&b(it,{...me.iconItem}),b("p",{className:"",children:me.name})]}),fe.type=="radio"?b(Ug,{label:"",name:fe.name,size:"md",value:me.name,onCheck:()=>B(fe.type,fe.name,me.name)}):b($f,{label:"",size:"md",value:me.name,name:fe.name,onCheck:()=>B(fe.type,fe.name,me.name)})]})},me.name))})]},fe.name)}),K||P?L("div",{className:"actionButtons is-flex is-flex-direction-column",children:[K&&b("span",{className:"button-aplicate is-flex is-justify-content-center",children:b($e,{label:f.label!==void 0?Vt(f.label,25):"",trailingIcon:f.trailingIcon,isFullWidth:!0,onClick:te,...f})}),P&&b("span",{className:"button-cleaner is-flex is-justify-content-center",children:b($e,{...g,label:g.label!==void 0?Vt(g.label,25):"",trailingIcon:g.trailingIcon,onClick:ie})})]}):b(rn,{})]})]})})},zL="",Q2=({input:u,label:l,helperText:s,defaultValue:a,maxLength:r,error:p,className:f,...g})=>b("div",{className:["elv-component"," elv-form-control"].join(""),...g,children:L("div",{className:`e-input-form ${f||""}`,children:[b("div",{children:l}),b(Vh,{...u}),L("div",{children:[b("span",{className:["helper",`${p?"text--error":""}`,`${a.length>r?"text--error":""}`,`${f||""}`].join(" "),children:s}),a.length&&r?L("span",{className:["length",,].join(" "),children:[a.length,"/",r]}):null]})]})}),FL="",wv=({size:u,backgroundColor:l,placeholder:s,defaultValue:a,buttonSearch:r,name:p,id:f,isDisabled:g,onChangeInput:m,onSearch:k,className:_,...N})=>{const R=de.useRef(null),P=K=>{K.key==="Enter"&&$()},$=()=>{var A;const K=(A=R.current)==null?void 0:A.value;k&&k(K||"")};return b("div",{className:"elv-component elv-search",...N,children:L("div",{className:`elv-component search-container search-container--${u} ${_||""}`,style:{backgroundColor:l},children:[b("input",{className:`search-container__input + ${g?"is-disabled":""}`,type:"text",name:p,id:f,placeholder:s,onChange:K=>m&&m(K.target.value),defaultValue:a,ref:R,disabled:g,onKeyDown:P}),b("span",{className:"search-container__button-search",children:b($e,{...r,size:u,onClick:()=>{$()}})})]})})},HL="",wx=({size:u="md",disabled:l=!1,defaultChecked:s,error:a,onCheck:r,className:p,...f})=>{const[g,m]=de.useState(),k=()=>{m(!g),r&&r(!g)};return b("div",{className:"elv-component elv-switch",...f,children:L("label",{className:["switch",` switch--${u}`,`${a?" switch--error":""}`,`${p?" "+p:""}`].join(""),children:[b("input",{type:"checkbox",disabled:l,defaultChecked:s,onChange:k}),b("span",{className:"slider round"})]})})},$L="",K2=({value:u,error:l,onChangeInput:s,placeholder:a,defaultValue:r,disabled:p,required:f,rows:g=5,cols:m=50,className:k,..._})=>b("div",{className:"elv-component elv-textArea",children:b("textarea",{className:["textarea",`${l?" textarea--error":""}`,`${k?" "+k:""}`].join(""),onChange:N=>s(N.target.value),placeholder:a,disabled:p,defaultValue:r,required:f,rows:g,cols:m,..._})}),YL="",WL="",bx=({className:u,progressBar:l,showBar:s,file:a,file_name:r,file_size:p,onPreview:f,onDelete:g,...m})=>b("div",{className:"elv-component elv-uploadfile",...m,children:L("div",{className:["uploadfile p-4 is-flex is-align-items-center is-relative ",`${u?" "+u:""}`].join(""),children:[b("div",{className:"mr-5",children:r&&b(it,{icon:i_(r),className:"has-tc-primary-600",size:"24px"})}),L("div",{className:"uploadfile__info is-flex-direction-column ",children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center ",children:[L("div",{className:"is-flex is-align-items-center",children:[r?b("p",{className:"file_name is-size-7",children:r}):a?b("p",{className:"file_name is-size-7",children:a.name}):b(rn,{}),b("span",{className:"uploadfile__elipse has-background-grey mt-2 mr-2 ml-2"}),b($e,{label:"Previsualizar",fill:"unstyled",className:"preview",onClick:()=>{a&&f&&f(a)}})]}),p?b("div",{className:"is-size-7",children:_0(p)}):a?b("div",{className:"is-size-7",children:_0(a.size)}):b(rn,{})]}),s&&b("div",{className:"uploadfile__progress pt-2",children:b(k0,{...l})})]}),b("div",{className:"uploadfile__icon is-absolute",onClick:()=>{a&&g&&g(a)},children:b(it,{icon:"fa-solid fa-circle-xmark fa-2xl"})})]})}),G2=({className:u,labelSelection:l,labelData:s,maxSizeInMB:a,maxFiles:r,progressUpload:p,defaultFiles:f,acceptedExtensions:g,onProgressFile:m,onPreviewFile:k,onDeleteFile:_,onErrorSize:N,onErrorExtensions:R,...P})=>{const[$,K]=de.useState(!1),[A,re]=de.useState(()=>!g||(g==null?void 0:g.length)===0?f||[]:(f||[]).filter(le=>{var fe;const Q=(fe=le.name.split(".").pop())==null?void 0:fe.toLowerCase();return g==null?void 0:g.includes(Q||"")})),se=le=>{le.preventDefault(),K(!0)},J=()=>{K(!1)},G=le=>{le.preventDefault(),K(!1);const Q=le.dataTransfer.files;Q&&te(Q)},B=le=>{const Q=le.target.files;Q&&te(Q)},te=le=>{var Q;if(le.length<=r&&A.length+le.length<=r)for(let fe=0;fe<le.length;fe++){const pe=le[fe],me=pe.name.split("."),De=me.length>1?(Q=me.pop())==null?void 0:Q.toLowerCase():"";if((g==null?void 0:g.length)===0||(g==null?void 0:g.includes(De||""))){if(pe.size<=a*1024*1024)m&&m(pe);else{N&&N(pe);return}re(ve=>[...ve,pe])}else{R&&R(pe);return}}else{alert("La cantidad de archivos exceden el m\xE1ximo que es: "+r+".");return}},ie=le=>{const Q=A.filter(fe=>fe!==le);re(Q)};return b("div",{className:"elv-component elv-uploadfiles",...P,children:L("div",{className:["uploadfiles is-flex is-flex-direction-column is-align-items-center is-gap-4 p-5",`${u?" "+u:""}`].join(""),children:[b("div",{className:`uploadfiles__files file ${$?"dragging":""}`,onDragEnter:se,onDragLeave:J,onDragOver:le=>le.preventDefault(),onDrop:G,children:L("label",{htmlFor:"file-input",className:"file-label",children:[b("input",{id:"file-input",className:"file-input",type:"file",name:"resume",onChange:B,multiple:!0}),L("span",{className:"file-cta px-6 py-5 is-flex-direction-column",children:[b("span",{className:"file-icon",children:b(it,{icon:"fas fa-upload has-text-grey-dark mb-3"})}),b("span",{className:"file-label has-text-grey-dark",children:l})]})]})}),b("div",{className:"uploadfiles__data",children:s}),A.length>0?b("div",{children:A.map((le,Q)=>b("div",{className:"uploadfiles__download mb-3",children:b(bx,{showBar:!!(p&&p[Q]&&p[Q]!==100),file:le,file_name:le.name,file_size:le.size,onPreview:fe=>{k&&k(fe)},onDelete:fe=>{_&&_(fe),ie(fe)},progressBar:{value:p&&p[Q]?p[Q]:0}})},Q))}):null]})})},VL="",X2=({columnItems:u,finalItem:l,logo_1:s,logo_2:a,endButtonLinks:r,className:p,...f})=>{var g=new Date,m=g.getFullYear();return b("div",{className:"elv-component elv-footer",...f,children:L("div",{className:`footer-component is-flex is-flex-direction-column ${p||""}`,children:[L("div",{className:"footer-component__container",children:[u&&b(rn,{children:u.map(k=>L("div",{className:"column-item is-flex is-flex-direction-column",children:[b("p",{className:"column-item__title",children:k.title}),k.buttonLinks.map(_=>b("span",{className:"column-item__button",children:b($e,{..._})},ar())),b("span",{className:"column-item__final",children:b($e,{...k.finalLink})})]},ar()))}),l&&L("div",{className:"final-item is-flex is-flex-direction-column",children:[b("p",{className:"final-item__title",children:l.title}),l.buttonLinks.map(k=>b("span",{className:"final-item__button",children:b($e,{...k})},ar())),b("p",{className:"final-item__phoneNumber",children:l.phoneNumber})]})]}),L("div",{className:"footer-component__end",children:[L("div",{className:"logos is-flex",children:[b("img",{src:s,alt:"",width:"155px",height:"37px"}),b("img",{src:a,alt:"",width:"261px",height:"37px"})]}),L("div",{className:"copy is-flex",children:[b("div",{className:"copy__text is-flex",children:L("p",{children:["Copyright\xA9 ",m," - Rentas Corrientes"]})}),r&&b("div",{className:"end-button-links is-flex",children:r.map(k=>b("div",{className:"end-button-links__item is-flex",children:b("span",{className:"end-button-links__button",children:b($e,{...k})},k.label)},ar()))})]})]})]})})},BL="",Z2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNlZ21lbnQiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTUuODMyNSAxOC45MzA3SDMuODMyNTJWMTYuOTMwN0gxNS44MzI1VjE4LjkzMDdaTTIxLjgzMjUgNi45MzA2NlY4LjkzMDY2SDMuODMyNTJWNi45MzA2NkgyMS44MzI1Wk0xNS44MzI1IDEzLjkzMDdIMy44MzI1MlYxMS45MzA3SDE1LjgzMjVWMTMuOTMwN1oiIGZpbGw9ImJsYWNrIi8+CjwvZz4KPC9zdmc+Cg==",J2=({className:u,logged:l,logo:s,logoMobile:a,navItems:r,iconFunctions:p,buttonLogin:f,userInfo:g,notUserDropComponent:m,...k})=>{var fe,pe,me,De;const[_,N]=de.useState(!1),[R,P]=de.useState(!1),[$,K]=de.useState(window.innerWidth<1217),[A,re]=de.useState(window.innerWidth<654),[se,J]=de.useState(null),[G,B]=de.useState((fe=p==null?void 0:p.reduce((ve,Ee)=>({...ve,[Ee.uniqueValue]:{active:!1,name:null}}),{}))!=null?fe:{}),te=de.useRef(null),ie=p==null?void 0:p.map(()=>de.useRef(null)),le=ve=>{J(Ee=>Ee===ve?null:ve),B(Ee=>({...Object.keys(Ee).reduce((ke,Ne)=>(ke[Ne]={active:Ne===ve,name:Ee[Ne].name},ke),{})}))};de.useEffect(()=>{function ve(Ee){var ke;Object.values(G).some(Ne=>Ne.active)&&!Ee.defaultPrevented&&!((ke=te.current)!=null&&ke.contains(Ee.target))&&(B(Ne=>Object.keys(Ne).reduce((ot,Qe)=>({...ot,[Qe]:{active:!1,name:Ne[Qe].name}}),{})),J(null))}return document.addEventListener("click",ve),()=>{document.removeEventListener("click",ve)}},[te,G]);const Q=de.useRef(null);return de.useEffect(()=>{function ve(Ee){Q.current&&!Q.current.contains(Ee.target)&&P(!1)}return document.addEventListener("click",ve),()=>{document.removeEventListener("click",ve)}},[Q]),de.useEffect(()=>{function ve(){K(window.innerWidth<1217),re(window.innerWidth<654)}return window.addEventListener("resize",ve),()=>{window.removeEventListener("resize",ve)}},[]),b("div",{className:"elv-component elv-header",...k,children:b("div",{className:`navbar-container ${u||""}`,children:L("nav",{className:"navbar container",role:"navigation","aria-label":"main navigation",children:[L("div",{className:"navbar-brand",children:[b("a",{role:"button",className:`navbar-burger ${_?"is-active":""}`,"aria-label":"menu","aria-expanded":"false","data-target":"rentas-ctes-header",onClick:()=>N(!_),children:b("img",{src:Z2,alt:"Burger SVG"})}),s&&b(rn,{children:A?b("a",{className:"navbar-item px-1",onClick:()=>{a!=null&&a.onClick&&a.onClick()},children:b("img",{src:a==null?void 0:a.src,alt:"Logo Header",height:s.height,width:s.width})}):b("a",{className:"navbar-item pt-0",onClick:()=>{s!=null&&s.onClick&&s.onClick()},children:b("img",{src:s.src,alt:"Logo Header",height:s.height,width:s.width})})})]}),b("div",{id:"rentas-ctes-header",className:`navbar-menu ${_?"is-active":""}`,children:b("div",{className:"navbar-start",children:r&&r.map(ve=>b("a",{className:"navbar-item item-text",onClick:ve.onClick,children:ve.label},ar()))})}),L("div",{className:"navbar-end is-flex",children:[b("div",{className:"icon-functions is-flex",ref:te,children:p&&p.map((ve,Ee)=>L("div",{className:["item-icon "].join(""),ref:ie&&ie[Ee],children:[b("span",{children:b($e,{...ve.buttonIcon,onClick:()=>{var ke;le(ve.uniqueValue),(ke=ve.buttonIcon)==null||ke.onClick}})}),ve.badge&&b(rn,{children:b("span",{className:"item-icon__badge-notif",children:b(yo,{...ve.badge})})}),ve.iconDropComponent&&b("div",{className:`drop-component drop-component__icon ${G[ve.uniqueValue]&&p[Ee].uniqueValue===se?"is-active":""}`,children:ve.iconDropComponent})]},ar()))}),l?b(rn,{children:$?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:Q,children:[b("div",{className:"user-mobile__icon",children:b(it,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>P(!R)})}),g.userDropComponent&&b("div",{className:`drop-component drop-component__user ${R&&"is-active"}`,children:g.userDropComponent})]}):L("div",{className:"navbar-item user-desktop",ref:Q,children:[L("div",{className:"user-sec is-flex is-align-items-center",onClick:()=>P(!R),children:[L("div",{className:"user-sec__text",children:[L("p",{className:"names",children:["Hola, ",g.name," ",g.lastName]}),b("p",{className:"description",children:g.description})]}),L("div",{className:"user-sec__icons is-flex",children:[(pe=g.avatar)!=null&&pe.icon?L("div",{className:"user-icon",children:[b(it,{icon:g.avatar.icon.icon}),g.avatar.stateColor&&b("span",{className:"user-icon__state",children:b(it,{icon:"fa fa-circle",color:g.avatar.stateColor,size:"10px"})})]}):b("img",{src:(De=(me=g.avatar)==null?void 0:me.img)==null?void 0:De.src,width:"16px",height:"16px",style:{borderRadius:"50%"}}),b(it,{icon:"fa-solid fa-chevron-down"})]})]}),g.userDropComponent&&b("div",{className:`drop-component drop-component__user ${R&&"is-active"}`,children:g.userDropComponent})]})}):b(rn,{children:$?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:Q,children:[b("div",{className:"user-mobile__icon",children:b(it,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>P(!R)})}),m&&b("div",{className:`drop-component drop-component__user ${R&&"is-active"}`,children:m})]}):b("div",{className:"navbar-item",children:b($e,{...f})})})]})]})})})},qL="",eO=({className:u,search:l,pagination:s,selectList:a,button:r,menuButton:p,menuDropComponent:f,...g})=>{const[m,k]=de.useState(!1),_=de.useRef(null);return de.useEffect(()=>{function N(R){_.current&&!_.current.contains(R.target)&&k(!1)}return document.addEventListener("click",N),()=>{document.removeEventListener("click",N)}},[_]),b("div",{className:`elv-component elv-header-table ${u||""}`,...g,children:L("div",{className:"header-table is-flex",children:[l&&b("span",{children:b(wv,{...l})}),a&&a.map(N=>b("span",{children:b(Wh,{...N})},ar())),s&&b(Dy,{...s}),r&&b($e,{...r}),p&&L("div",{ref:_,className:"menuButton",children:[b($e,{...p,onClick:()=>{k(!m),p.onClick&&p.onClick()}}),f&&m&&b("div",{className:"menuButton__dropComponent",children:f})]})]})})},QL="",tO=({className:u,buttonShow:l,title:s,show:a,search:r,itemsPerPage:p=5,listClassName:f="",listOfComponents:g,listLineSeparation:m=!1,onShow:k,onClose:_,...N})=>{const[R,P]=de.useState(a),[$,K]=de.useState(1),[A,re]=de.useState(0),se=de.useRef(null),J=de.useRef(null),[G,B]=de.useState(p);de.useEffect(()=>{P(a)},[a]),de.useEffect(()=>{B(p)},[p]);const te=`${p*A+p}px`;return L("div",{className:"elv-component elv-sidebar",...N,children:[!R&&b("div",{className:"is-flex is-justify-content-end",children:b($e,{...l,onClick:()=>{P(!0),k&&k()}})}),R&&b("div",{className:"modal-background",onClick:()=>{P(!1),_&&_()}}),L("div",{className:`sidebar-container is-flex is-flex-direction-column ${R?"is-open":""} ${u||""}`,children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center",children:[b($e,{fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{P(!1),_&&_()}}),b("p",{className:"title is-5",children:s})]}),r&&b("div",{className:"sidebar-container__search",children:b(wv,{...r})}),b("div",{ref:J,className:`sidebar-container__list is-flex is-flex-direction-column is-gap-4 ${f} `,style:{minHeight:te},children:g.slice(($-1)*p,$*p).map((ie,le)=>b("div",{ref:se,className:`listItem ${m?" line-separation":""}`,children:ie},ar()))}),b("div",{className:"sidebar-container__pagination is-flex is-justify-content-center is-align-items-end",children:(g==null?void 0:g.length)>p&&b(Dy,{onChangePage:ie=>{K(ie)},minItemsPerPage:G,totalItems:g.length,showTotals:!0,isColumn:!0})})]})]})},KL="",nO=({className:u,title:l,show:s,button:a,buttonShow:r,optionalButton:p,optionalButton2:f,children:g,position:m="right",footerbutton:k,..._})=>{const[N,R]=de.useState(s);return de.useEffect(()=>{R(s)},[s]),L("div",{className:"elv-component elv-sidebarEmpty",..._,children:[!N&&b("div",{className:"is-flex is-justify-content-end",children:b($e,{...r,onClick:()=>{R(!0)}})}),N&&b("div",{className:"modal-background",onClick:()=>{R(!1)}}),L("div",{className:[`sidebar-container is-flex is-flex-direction-column is-justify-content-space-between ${N?"is-open":""}`,` sidebar-container--${m}`,`${u?" "+u:""}`].join(""),children:[L("div",{children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center mb-6 is-gap-4",children:[b("div",{className:"sidebar-container__button mr-3",children:b($e,{...a,fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{R(!1)}})}),b("p",{className:"title is-5 has-text-link-dark",children:l})]}),b("div",{className:"sidebar-container__content",children:g})]}),k&&b("div",{children:L("div",{className:"button-container is-flex pl-5 pb-5",children:[b("div",{className:"button-container__opt ml-5",children:p&&b($e,{...p})}),b("div",{className:"button-container__opt",children:f&&b($e,{...f})})]})})]})]})},GL="",rO=({className:u,border:l,size:s,label:a,description:r,backButton:p,leftIcon:f,rectangle:g,actionButtons:m,addButton:k,removeButton:_,linkButton:N,iconButton:R,switcherLabel:P,switcher:$,labelRight:K,...A})=>b("div",{className:"elv-component elv-subtitle",...A,children:L("div",{className:`subtitle-component ${l&&"subtitle-component--border-bot-gray"} ${u||""}`,children:[L("div",{className:"subtitle-component__left is-flex is-justify-content-start is-align-items-start",children:[p&&b("div",{className:"left-backButton",children:b($e,{...p})}),L("div",{className:"left-texts",children:[L("div",{className:"left-texts__principal is-flex is-align-items-center",children:[f&&b(it,{...f}),g&&b("span",{className:"left-texts__principal__rectangle"}),a&&b("p",{className:`left-texts__principal__label left-texts__principal__label--${s}`,children:a})]}),r&&b("p",{className:`left-texts__description left-texts__description--${s}`,children:r})]})]}),L("div",{className:"subtitle-component__right is-flex is-align-items-center",children:[k||_?L("div",{className:"right-editButtons is-flex",children:[k&&b("span",{className:"right-editButtons__addButton",children:b($e,{...k})}),_&&b("span",{className:"right-editButtons__removeButton",children:b($e,{..._})})]}):b(rn,{}),N&&b("span",{className:"right-linkButton",children:b($e,{...N})}),R&&b("span",{children:b($e,{...R})}),$&&L("div",{className:"right-switcher is-flex is-align-items-center",children:[P&&b("p",{className:"right-switcher__label",children:P}),b(wx,{...$})]}),K&&b("p",{className:"right-label",children:K})]})]})}),XL="",aO=({className:u,subtitle:l,title:s,description:a,descriptionWidth:r,secondDescription:p,actionsButtons:f,search:g,button:m,buttonWidth:k,backButton:_,searchWidth:N,align:R,...P})=>b("div",{className:"elv-component elv-title",...P,children:L("div",{className:`title-component-container ${_&&"title-component-container--backButton"} ${u||""}`,children:[_&&b("div",{className:"title-component-container__backButton is-flex",children:b($e,{..._})}),L("div",{className:`title-component title-component--${R} is-flex is-flex-direction-column`,children:[l&&b("p",{className:"title-component__subtitle",children:l.toUpperCase()}),s&&b("p",{className:"title-component__title",children:s}),L("div",{className:`title-component__content is-flex title-component__content--${R} is-flex-direction-column ${_&&"title-component__content--backButton"}`,children:[a&&b("p",{className:"title-component__description",style:{width:r},children:a}),p&&b("p",{className:"title-component__secondDescription",style:{width:r},children:p}),f&&b("span",{className:"title-component__actionButtons is-flex",children:f.map($=>b("span",{children:b($e,{...$})},$.label))}),g&&b("span",{className:"title-component__search",style:{width:N},children:b(wv,{...g})}),m&&b("span",{className:"title-component__button",style:{width:k},children:b($e,{...m})})]})]})]})});st.Alert=n_,st.AssistanceDiary=r_,st.Autocomplete=V2,st.AverageAttended=a_,st.Badge=yo,st.Breadcrumb=o_,st.Button=$e,st.CTA=S2,st.CardActivity=c_,st.CardCTA=l_,st.CardExpiration=s_,st.CardHorizontal=d_,st.CardUser=f_,st.CardVertical=u_,st.Cart=p_,st.Checkbox=$f,st.Collapse=E0,st.CollapseEdit=D0,st.CompleteDiary=x2,st.DatePickerComponent=B2,st.Dropdown=k2,st.EmptyState=_2,st.ErrorPage=D2,st.Filters=q2,st.Footer=X2,st.Header=J2,st.HeaderTable=eO,st.Icon=it,st.IncomingCall=E2,st.Input=Vh,st.InputForm=Q2,st.ModalConfirm=R2,st.Pagination=Dy,st.PerformanceAssessment=H2,st.ProgressBar=k0,st.Radio=Ug,st.Search=wv,st.Select=Wh,st.ShiftDiary=$2,st.Sidebar=tO,st.SidebarEmpty=nO,st.Stepper=Y2,st.Subtitle=rO,st.Switch=wx,st.Tabs=W2,st.Textarea=K2,st.Title=aO,st.Tooltip=Lg,st.UploadFileItem=bx,st.UploadFiles=G2,Object.defineProperties(st,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
311
|
+
`}function I2(u){var l=u.counterClockwise,s=u.dashRatio,a=u.pathRadius,r=Math.PI*2*a,p=(1-s)*r;return{strokeDasharray:r+"px "+r+"px",strokeDashoffset:(l?-p:p)+"px"}}var j2=function(u){M2(l,u);function l(){return u!==null&&u.apply(this,arguments)||this}return l.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},l.prototype.getPathRadius=function(){return gx-this.props.strokeWidth/2-this.getBackgroundPadding()},l.prototype.getPathRatio=function(){var s=this.props,a=s.value,r=s.minValue,p=s.maxValue,f=Math.min(Math.max(a,r),p);return(f-r)/(p-r)},l.prototype.render=function(){var s=this.props,a=s.circleRatio,r=s.className,p=s.classes,f=s.counterClockwise,g=s.styles,m=s.strokeWidth,k=s.text,_=this.getPathRadius(),N=this.getPathRatio();return de.createElement("svg",{className:p.root+" "+r,style:g.root,viewBox:"0 0 "+A2+" "+L2,"data-test-id":"CircularProgressbar"},this.props.background?de.createElement("circle",{className:p.background,style:g.background,cx:Ny,cy:Oy,r:gx}):null,de.createElement(yx,{className:p.trail,counterClockwise:f,dashRatio:a,pathRadius:_,strokeWidth:m,style:g.trail}),de.createElement(yx,{className:p.path,counterClockwise:f,dashRatio:N*a,pathRadius:_,strokeWidth:m,style:g.path}),k?de.createElement("text",{className:p.text,style:g.text,x:Ny,y:Oy},k):null)},l.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},l}(de.Component);function z2(u){u.children;var l=P2(u,["children"]);return de.createElement("div",{"data-test-id":"CircularProgressbarWithChildren"},de.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},de.createElement(j2,Ty({},l)),u.children?de.createElement("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},u.children):null))}function F2(u){var l=u.rotation,s=u.strokeLinecap,a=u.textColor,r=u.textSize,p=u.pathColor,f=u.pathTransition,g=u.pathTransitionDuration,m=u.trailColor,k=u.backgroundColor,_=l==null?void 0:"rotate("+l+"turn)",N=l==null?void 0:"center center";return{root:{},path:yv({stroke:p,strokeLinecap:s,transform:_,transformOrigin:N,transition:f,transitionDuration:g==null?void 0:g+"s"}),trail:yv({stroke:m,strokeLinecap:s,transform:_,transformOrigin:N}),text:yv({fill:a,fontSize:r}),background:yv({fill:k})}}function yv(u){return Object.keys(u).forEach(function(l){u[l]==null&&delete u[l]}),u}const H2=({labelPerformance:u,dataTime:l,percentage:s,description:a,star:r,qualification:p,rating:f,className:g})=>{const m=Math.round(f*2)/2;return b("div",{className:"elv-component elv-performanceAssessment",children:L("div",{className:["performanceAssessment box is-flex is-flex-direction-column p-5 is-gap-6 is-align-items-center",`${g?" "+g:""}`].join(""),children:[L("div",{className:"is-flex is-flex-direction-column is-gap-3",children:[b("div",{className:"has-text-weight-bold has-text-grey-dark",children:u}),b("div",{children:l==null?void 0:l.map(k=>b("div",{className:"performanceAssessment__date is-size-14px has-text-weight-medium",children:k.date}))})]}),b("div",{style:{maxWidth:"214.277px"},className:"progressCircular",children:L(z2,{value:s,text:"",strokeWidth:15,background:!0,backgroundPadding:10,styles:F2({backgroundColor:"#FFFFFF",pathColor:"#7DAFFF",trailColor:"#CED4DA4D",strokeLinecap:"butt"}),children:[b("div",{className:"is-size-4",children:b("strong",{children:`${s}%`})}),b("div",{className:"progressCircular__desc is-size-7 has-text-centered",children:a})]})}),L("div",{className:"mt-2",children:[b("div",{className:"is-flex",children:r==null?void 0:r.map((k,_)=>{const N=m-_===.5;return L("div",{children:[!N&&b(it,{icon:k.star,className:"iconStar mr-3 is-size-5",color:_<m?"#16A34A":"#CED4DA"}),N&&b(it,{icon:k.starStroke,className:"iconStar mr-3 is-size-5",color:"#16A34A"})]},_)})}),L("p",{className:"has-text-grey is-size-14px mt-3",children:[" ",f," ",p]})]})]})})},PL="",$2=({title:u,option:l,labelQuantity:s,totalNumber:a,labelAssigned:r,numberAssigned:p,onSeeMore:f,className:g})=>b("div",{className:"elv-component elv-shiftdiary",children:L("div",{className:["shiftdiary box is-flex is-flex-direction-column p-5 is-gap-5",`${g?" "+g:""}`].join(""),children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center",children:[b("p",{className:"is-size-4 has-text-weight-bold has-text-grey-dark",children:u}),b($e,{label:"Ver m\xE1s",fill:"unstyled",color:"primary",className:"shiftdiary__button is-size-10px has-text-weight-medium",onClick:()=>f&&f()})]}),L("div",{className:" shiftdiary__boxdiary is-flex is-gap-5",children:[b("div",{className:"item is-flex is-flex-direction-column is-gap-4",children:l==null?void 0:l.map(m=>L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[b("div",{className:"has-text-grey-dark",children:m.time}),L("div",{className:"is-flex is-align-items-center py-4 is-justify-content-space-between",children:[L("div",{className:"is-flex is-gap-4",children:[b("div",{className:"has-text-weight-semibold has-text-grey-dark",children:m.name}),b("div",{className:"has-text-grey-dark",children:m.age})]}),L("div",{className:"shiftdiary__status is-flex",style:{backgroundColor:m.colorContains},children:[b(it,{icon:"fa-solid fa-circle",color:m.colorIcon,className:"mr-2"}),b("p",{className:"has-text-light is-size-7",children:m.state})]})]})]}))}),L("div",{className:"item is-flex is-flex-direction-column is-align-items-start is-gap-4",children:[L("div",{className:"shiftdiary__present radius is-flex p-4 is-align-items-center is-justify-content-space-between is-fullw",children:[L("div",{className:"is-flex",children:[b(it,{icon:"fa-regular fa-circle-check",className:"icon mr-2",size:"24px"}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:s})]}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:a})]}),L("div",{className:"shiftdiary__assigned radius is-flex p-4 is-align-items-center is-fullw is-justify-content-space-between",children:[L("div",{className:"is-flex",children:[b(it,{icon:"fa-regular fa-calendar",className:"icon2 mr-2",size:"24px"}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:r})]}),b("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:p})]})]})]})]})}),AL="",Y2=({items:u,activeLabel:l,handlePosition:s,className:a,...r})=>{var p=0;const f=u.find(R=>R.label===l),[g,m]=de.useState(f),[k,_]=de.useState(f);if(g)var p=u.indexOf(g);de.useEffect(()=>{var R=u.find(P=>P.label===l);m(R),g&&(p=u.indexOf(g)),_(R)},[l,u]);const N=R=>{_(R),s&&s(R),R.onClick&&R.onClick()};return b("div",{className:"elv-component elv-steps",...r,children:b("ul",{className:`steps has-content-centered is-horizontal ${a||""}`,children:u.map((R,P)=>L("li",{className:`steps-segment ${u[P+1]!==void 0&&u[P+1]==g?"is-pre-active":""} ${R==g?"is-active":""}`,children:[b("span",{className:"steps-marker",onClick:()=>{P<=p?N(R):R.onClick&&R.onClick()},children:P<p?b("span",{className:"icon",children:b("i",{className:`${R.icon}`})}):b("span",{children:P+1})}),b("div",{className:`steps-content ${P<=p?"steps-content--completed":"steps-content--incompleted"} ${R===k&&"steps-content--position"}`,children:b("p",{className:"steps-content__item-label",children:R.label})})]},P))})})},LL="",W2=({items:u,type:l,activeTab:s,handleActive:a,handleSubActive:r,subactiveTab:p,className:f,...g})=>b("div",{className:"elv-component elv-tabs",...g,children:b("ul",{className:`tabs tabs--${l} ${f||""}`,children:u.map((m,k)=>L("div",{className:"tabs__item",children:[l==="boxed"&&m.icon&&m.subtitle?L("li",{onClick:()=>{a&&a(m),m.sub_labels&&r&&r(m.sub_labels[0]),m.onClick&&m.onClick()},className:`item is-clickable ${k!==0?"ml-3":""} ${m.label==(s==null?void 0:s.label)?"item--active":""} ${m.disabled?"item--disabled":""}`,children:[L("div",{className:"boxed-container is-flex is-justify-content-center mb-1",children:[b(it,{...m.icon,className:"boxed-container__icon mb-1 mr-1"}),b("p",{className:"boxed-container__label",children:Vt(m.label,30)})]}),b("p",{className:"boxed-subtitle mb-1 is-size-7 has-text-weight-normal has-tc-truegray-600 has-text-centered",children:Vt(m.subtitle,20)})]}):b("li",{onClick:()=>{a&&a(m),m.sub_labels&&r&&r(m.sub_labels[0]),m.onClick&&m.onClick()},className:`item is-clickable ${k===0?"item--is-first":""} ${m.label==(s==null?void 0:s.label)?"item--active":""} ${m.disabled?"item--disabled":""}`,children:Vt(m.label,30)}),m.sub_labels!==void 0&&l==="vertical"&&m.sub_labels.map((_,N)=>b("li",{onClick:()=>{a&&a(m),r&&r(_),_.onClick&&_.onClick()},className:`sub-item ${k===0?"sub-item__--first":""} ${m.label==(s==null?void 0:s.label)&&_.label==(p==null?void 0:p.label)?"sub-item--active":""} ${_.disabled?"sub-item--inactive":""}`,children:Vt(_.label,25)},ar()))]},m.label+ar()))})}),UL="",V2=({size:u="md",fill:l="outline",disabled:s=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:g,maxCharacters:m=30,onChangeSelect:k,className:_,...N})=>{const[R,P]=de.useState(f||""),[$,K]=de.useState(""),[A,re]=de.useState(f||""),[se,J]=de.useState(!1),G=(le,Q)=>{le==""?P(""):P(Q),K(le),re(Q),k&&k(le),J(!1)};function B(le){const Q=le.target.value;P(Q),J(!0)}const te=p.filter(le=>le.label.toLowerCase().includes(R?R.toLowerCase():"")),ie=de.useRef(null);return de.useEffect(()=>{function le(Q){ie.current&&!ie.current.contains(Q.target)&&J(!1)}return document.addEventListener("click",le),()=>{document.removeEventListener("click",le)}},[ie]),de.useEffect(()=>{const le=p.find(Q=>Q.value===f);le?G(le.value,le.label):G("","")},[f,p]),b("div",{className:"elv-component elv-autocomplete",style:{minWidth:g},...N,children:L("div",{className:`autocomplete-container ${_||""}`,ref:ie,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${u}`,`${r?"autocomplete--error":""} ${s?"autocomplete--disabled":""}`,,].join(" "),children:[b("input",{className:"input-autocomplete is-clickable ",type:"text",value:R||A,onChange:B,placeholder:a||"",onFocus:()=>J(!0),readOnly:!!$}),$&&A!=""?b("div",{onClick:()=>{G("","")},className:"",children:b(it,{icon:"fa-solid fa-circle-xmark fa-2xl"})}):null]}),b("div",{className:`autocomplete-container__dropdown autocomplete--${u} ${se?"autocomplete-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&b("li",{className:`list__item list__item--default ${$==a?"list__item--active":""}`,onClick:()=>{G("",a)},children:Vt(a,m||30)}),te==null?void 0:te.map((le,Q)=>L("li",{className:"list__item",onClick:()=>{G(le.value,le.label)},children:[le.icon&&b("i",{className:`item__icon ${le.icon}`}),Vt(le.label,m||30)]},Q))]})})]})})},IL="",B2=({type:u,dateFormat:l,startDate:s,endDate:a,showIcon:r,withPortal:p,isRange:f,onStartDateChange:g,onEndDateChange:m,className:k,..._})=>{const[N,R]=de.useState(s||new Date),[P,$]=de.useState(a||new Date);return de.useEffect(()=>{g&&g(N)},[N]),de.useEffect(()=>{m&&m(P)},[P]),f?L("div",{className:"elv-component elv-datepicker",..._,children:[b(gv,{selected:N,onChange:K=>R(K),withPortal:p,showMonthYearPicker:u=="months",showYearPicker:u=="year",dateFormat:l,showIcon:r,selectsStart:!0,startDate:N,endDate:P,className:k}),b(gv,{selected:P,onChange:K=>$(K),withPortal:p,showMonthYearPicker:u=="months",showYearPicker:u=="year",dateFormat:l,showIcon:r,selectsEnd:!0,startDate:N,endDate:P,minDate:N,className:k})]}):b("div",{className:"elv-component elv-datepicker",..._,children:b(gv,{selected:N,onChange:K=>R(K),withPortal:p,showMonthYearPicker:u=="months",showYearPicker:u=="year",dateFormat:l,showIcon:r,className:k})})},jL="",q2=({size:u="sm",fill:l="outline",disabled:s=!1,placeholder:a,error:r,section:p,button:f,buttonCleaner:g,onChangeFilters:m,className:k,..._})=>{const[N,R]=de.useState(!1),[P,$]=de.useState(!1),[K,A]=de.useState(!1),[re,se]=de.useState([]),[J,G]=de.useState([]),B=(fe,pe,me)=>{var Ee,ke,Ne;const De=re.findIndex(ot=>ot.name===pe),ve=[...re];if(fe==="radio")De>=0?ve[De]={name:pe,value:[me]}:ve.push({name:pe,value:[me]});else{const ot=(ke=(Ee=re[De])==null?void 0:Ee.value)==null?void 0:ke.indexOf(me);De>=0&&ot>=0?ve[De].value.splice(ot,1):De>=0?ve[De].value.push(me):ve.push({name:pe,value:[me]})}((Ne=ve[De])==null?void 0:Ne.value.length)===0&&ve.splice(De,1),ve.length>0&&A(!0),se(ve)},te=()=>{m&&(m(re),G(re),A(!1),re.length===0?$(!1):$(!0))},ie=()=>{se([]),document.querySelectorAll(".section__options").forEach(pe=>{pe.querySelectorAll("label").forEach(De=>{De.querySelectorAll("input").forEach(Ee=>{Ee.checked=!1})})}),$(!1),A(!1),m&&(m([]),G([]))};function le(){return fe=>{R(!N)}}const Q=de.useRef(null);return de.useEffect(()=>{function fe(pe){Q.current&&!Q.current.contains(pe.target)&&R(!1)}return document.addEventListener("click",fe),()=>{document.removeEventListener("click",fe)}},[Q]),b("div",{className:"elv-component elv-filters",..._,children:L("div",{className:`filter-container ${k||""}`,ref:Q,children:[L("div",{className:["filter-container__filter",`filter--${l}`,`filter--${u}`,`${r?"filter--error":""} ${s?"filter--disabled":""}`,,].join(" "),onClick:le(),children:[b(it,{icon:"fa-solid fa-filter",className:"filter"}),b("span",{className:"placeholder",children:Vt(a,25)}),J.length>0&&b(yo,{color:"primary",text:J.length.toString()}),b(it,{icon:"fa-solid fa-chevron-down",className:"chebron"})]}),L("div",{className:`filter-container__dropdown filter--${u} ${N?"filter-container__dropdown--active":""}`,children:[p==null?void 0:p.map(fe=>{var pe;return L("div",{className:"section",children:[b("p",{className:"section__title is-5",children:fe.label}),b("div",{className:`section__options ${fe.type=="radio"?"control":"checkbox"} is-flex is-flex-direction-column`,children:(pe=fe.options)==null?void 0:pe.map(me=>b("div",{children:L("label",{htmlFor:me.name,className:`filter-label ${fe.type=="radio"?"radio":"checkbox"} is-flex is-justify-content-space-between`,children:[L("span",{className:"filter-label__name is-flex",children:[me.iconItem&&b(it,{...me.iconItem}),b("p",{className:"",children:me.name})]}),fe.type=="radio"?b(Ug,{label:"",name:fe.name,size:"md",value:me.name,onCheck:()=>B(fe.type,fe.name,me.name)}):b($f,{label:"",size:"md",value:me.name,name:fe.name,onCheck:()=>B(fe.type,fe.name,me.name)})]})},me.name))})]},fe.name)}),K||P?L("div",{className:"actionButtons is-flex is-flex-direction-column",children:[K&&b("span",{className:"button-aplicate is-flex is-justify-content-center",children:b($e,{label:f.label!==void 0?Vt(f.label,25):"",trailingIcon:f.trailingIcon,isFullWidth:!0,onClick:te,...f})}),P&&b("span",{className:"button-cleaner is-flex is-justify-content-center",children:b($e,{...g,label:g.label!==void 0?Vt(g.label,25):"",trailingIcon:g.trailingIcon,onClick:ie})})]}):b(rn,{})]})]})})},zL="",Q2=({input:u,label:l,helperText:s,defaultValue:a,maxLength:r,error:p,className:f,...g})=>b("div",{className:["elv-component"," elv-form-control"].join(""),...g,children:L("div",{className:`e-input-form ${f||""}`,children:[b("div",{children:l}),b(Vh,{...u}),L("div",{children:[b("span",{className:["helper",`${p?"text--error":""}`,`${a.length>r?"text--error":""}`,`${f||""}`].join(" "),children:s}),a.length&&r?L("span",{className:["length",,].join(" "),children:[a.length,"/",r]}):null]})]})}),FL="",wv=({size:u,backgroundColor:l,placeholder:s,defaultValue:a,buttonSearch:r,name:p,id:f,isDisabled:g,onChangeInput:m,onSearch:k,className:_,...N})=>{const R=de.useRef(null),P=K=>{K.key==="Enter"&&$()},$=()=>{var A;const K=(A=R.current)==null?void 0:A.value;k&&k(K||"")};return b("div",{className:"elv-component elv-search",...N,children:L("div",{className:`elv-component search-container search-container--${u} ${_||""}`,style:{backgroundColor:l},children:[b("input",{className:`search-container__input + ${g?"is-disabled":""}`,type:"text",name:p,id:f,placeholder:s,onChange:K=>m&&m(K.target.value),defaultValue:a,ref:R,disabled:g,onKeyDown:P}),b("span",{className:"search-container__button-search",children:b($e,{...r,size:u,onClick:()=>{$()}})})]})})},HL="",wx=({size:u="md",disabled:l=!1,defaultChecked:s,error:a,onCheck:r,className:p,...f})=>{const[g,m]=de.useState(),k=()=>{m(!g),r&&r(!g)};return b("div",{className:"elv-component elv-switch",...f,children:L("label",{className:["switch",` switch--${u}`,`${a?" switch--error":""}`,`${p?" "+p:""}`].join(""),children:[b("input",{type:"checkbox",disabled:l,defaultChecked:s,onChange:k}),b("span",{className:"slider round"})]})})},$L="",K2=({value:u,error:l,onChangeInput:s,placeholder:a,defaultValue:r,disabled:p,required:f,rows:g=5,cols:m=50,className:k,..._})=>b("div",{className:"elv-component elv-textArea",children:b("textarea",{className:["textarea",`${l?" textarea--error":""}`,`${k?" "+k:""}`].join(""),onChange:N=>s(N.target.value),placeholder:a,disabled:p,defaultValue:r,required:f,rows:g,cols:m,..._})}),YL="",WL="",bx=({className:u,progressBar:l,showBar:s,file:a,file_name:r,file_size:p,onPreview:f,onDelete:g,...m})=>b("div",{className:"elv-component elv-uploadfile",...m,children:L("div",{className:["uploadfile p-4 is-flex is-align-items-center is-relative ",`${u?" "+u:""}`].join(""),children:[b("div",{className:"mr-5",children:r&&b(it,{icon:i_(r),className:"has-tc-primary-600",size:"24px"})}),L("div",{className:"uploadfile__info is-flex-direction-column ",children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center ",children:[L("div",{className:"is-flex is-align-items-center",children:[r?b("p",{className:"file_name is-size-7",children:r}):a?b("p",{className:"file_name is-size-7",children:a.name}):b(rn,{}),b("span",{className:"uploadfile__elipse has-background-grey mt-2 mr-2 ml-2"}),b($e,{label:"Previsualizar",fill:"unstyled",className:"preview",onClick:()=>{a&&f&&f(a)}})]}),p?b("div",{className:"is-size-7",children:_0(p)}):a?b("div",{className:"is-size-7",children:_0(a.size)}):b(rn,{})]}),s&&b("div",{className:"uploadfile__progress pt-2",children:b(k0,{...l})})]}),b("div",{className:"uploadfile__icon is-absolute",onClick:()=>{a&&g&&g(a)},children:b(it,{icon:"fa-solid fa-circle-xmark fa-2xl"})})]})}),G2=({className:u,labelSelection:l,labelData:s,maxSizeInMB:a,maxFiles:r,progressUpload:p,defaultFiles:f,acceptedExtensions:g,onProgressFile:m,onPreviewFile:k,onDeleteFile:_,onErrorSize:N,onErrorExtensions:R,...P})=>{const[$,K]=de.useState(!1),[A,re]=de.useState(()=>!g||(g==null?void 0:g.length)===0?f||[]:(f||[]).filter(le=>{var fe;const Q=(fe=le.name.split(".").pop())==null?void 0:fe.toLowerCase();return g==null?void 0:g.includes(Q||"")})),se=le=>{le.preventDefault(),K(!0)},J=()=>{K(!1)},G=le=>{le.preventDefault(),K(!1);const Q=le.dataTransfer.files;Q&&te(Q)},B=le=>{const Q=le.target.files;Q&&te(Q)},te=le=>{var Q;if(le.length<=r&&A.length+le.length<=r)for(let fe=0;fe<le.length;fe++){const pe=le[fe],me=pe.name.split("."),De=me.length>1?(Q=me.pop())==null?void 0:Q.toLowerCase():"";if((g==null?void 0:g.length)===0||(g==null?void 0:g.includes(De||""))){if(pe.size<=a*1024*1024)m&&m(pe);else{N&&N(pe);return}re(ve=>[...ve,pe])}else{R&&R(pe);return}}else{alert("La cantidad de archivos exceden el m\xE1ximo que es: "+r+".");return}},ie=le=>{const Q=A.filter(fe=>fe!==le);re(Q)};return b("div",{className:"elv-component elv-uploadfiles",...P,children:L("div",{className:["uploadfiles is-flex is-flex-direction-column is-align-items-center is-gap-4 p-5",`${u?" "+u:""}`].join(""),children:[b("div",{className:`uploadfiles__files file ${$?"dragging":""}`,onDragEnter:se,onDragLeave:J,onDragOver:le=>le.preventDefault(),onDrop:G,children:L("label",{htmlFor:"file-input",className:"file-label",children:[b("input",{id:"file-input",className:"file-input",type:"file",name:"resume",onChange:B,multiple:!0}),L("span",{className:"file-cta px-6 py-5 is-flex-direction-column",children:[b("span",{className:"file-icon",children:b(it,{icon:"fas fa-upload has-text-grey-dark mb-3"})}),b("span",{className:"file-label has-text-grey-dark",children:l})]})]})}),b("div",{className:"uploadfiles__data",children:s}),A.length>0?b("div",{children:A.map((le,Q)=>b("div",{className:"uploadfiles__download mb-3",children:b(bx,{showBar:!!(p&&p[Q]&&p[Q]!==100),file:le,file_name:le.name,file_size:le.size,onPreview:fe=>{k&&k(fe)},onDelete:fe=>{_&&_(fe),ie(fe)},progressBar:{value:p&&p[Q]?p[Q]:0}})},Q))}):null]})})},VL="",X2=({columnItems:u,finalItem:l,logo_1:s,logo_2:a,endButtonLinks:r,className:p,...f})=>{var g=new Date,m=g.getFullYear();return b("div",{className:"elv-component elv-footer",...f,children:L("div",{className:`footer-component is-flex is-flex-direction-column ${p||""}`,children:[L("div",{className:"footer-component__container",children:[u&&b(rn,{children:u.map(k=>L("div",{className:"column-item is-flex is-flex-direction-column",children:[b("p",{className:"column-item__title",children:k.title}),k.buttonLinks.map(_=>b("span",{className:"column-item__button",children:b($e,{..._})},ar())),b("span",{className:"column-item__final",children:b($e,{...k.finalLink})})]},ar()))}),l&&L("div",{className:"final-item is-flex is-flex-direction-column",children:[b("p",{className:"final-item__title",children:l.title}),l.buttonLinks.map(k=>b("span",{className:"final-item__button",children:b($e,{...k})},ar())),b("p",{className:"final-item__phoneNumber",children:l.phoneNumber})]})]}),L("div",{className:"footer-component__end",children:[L("div",{className:"logos is-flex",children:[b("img",{src:s,alt:"",width:"155px",height:"37px"}),b("img",{src:a,alt:"",width:"261px",height:"37px"})]}),L("div",{className:"copy is-flex",children:[b("div",{className:"copy__text is-flex",children:L("p",{children:["Copyright\xA9 ",m," - Rentas Corrientes"]})}),r&&b("div",{className:"end-button-links is-flex",children:r.map(k=>b("div",{className:"end-button-links__item is-flex",children:b("span",{className:"end-button-links__button",children:b($e,{...k})},k.label)},ar()))})]})]})]})})},BL="",Z2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNlZ21lbnQiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTUuODMyNSAxOC45MzA3SDMuODMyNTJWMTYuOTMwN0gxNS44MzI1VjE4LjkzMDdaTTIxLjgzMjUgNi45MzA2NlY4LjkzMDY2SDMuODMyNTJWNi45MzA2NkgyMS44MzI1Wk0xNS44MzI1IDEzLjkzMDdIMy44MzI1MlYxMS45MzA3SDE1LjgzMjVWMTMuOTMwN1oiIGZpbGw9ImJsYWNrIi8+CjwvZz4KPC9zdmc+Cg==",J2=({className:u,logged:l,logo:s,logoMobile:a,navItems:r,iconFunctions:p,buttonLogin:f,userInfo:g,notUserDropComponent:m,...k})=>{var fe,pe,me,De;const[_,N]=de.useState(!1),[R,P]=de.useState(!1),[$,K]=de.useState(window.innerWidth<1217),[A,re]=de.useState(window.innerWidth<654),[se,J]=de.useState(null),[G,B]=de.useState((fe=p==null?void 0:p.reduce((ve,Ee)=>({...ve,[Ee.uniqueValue]:{active:!1,name:null}}),{}))!=null?fe:{}),te=de.useRef(null),ie=p==null?void 0:p.map(()=>de.useRef(null)),le=ve=>{J(Ee=>Ee===ve?null:ve),B(Ee=>({...Object.keys(Ee).reduce((ke,Ne)=>(ke[Ne]={active:Ne===ve,name:Ee[Ne].name},ke),{})}))};de.useEffect(()=>{function ve(Ee){var ke;Object.values(G).some(Ne=>Ne.active)&&!Ee.defaultPrevented&&!((ke=te.current)!=null&&ke.contains(Ee.target))&&(B(Ne=>Object.keys(Ne).reduce((ot,Qe)=>({...ot,[Qe]:{active:!1,name:Ne[Qe].name}}),{})),J(null))}return document.addEventListener("click",ve),()=>{document.removeEventListener("click",ve)}},[te,G]);const Q=de.useRef(null);return de.useEffect(()=>{function ve(Ee){Q.current&&!Q.current.contains(Ee.target)&&P(!1)}return document.addEventListener("click",ve),()=>{document.removeEventListener("click",ve)}},[Q]),de.useEffect(()=>{function ve(){K(window.innerWidth<1217),re(window.innerWidth<654)}return window.addEventListener("resize",ve),()=>{window.removeEventListener("resize",ve)}},[]),b("div",{className:"elv-component elv-header",...k,children:b("div",{className:`navbar-container ${u||""}`,children:L("nav",{className:"navbar container",role:"navigation","aria-label":"main navigation",children:[L("div",{className:"navbar-brand",children:[b("a",{role:"button",className:`navbar-burger ${_?"is-active":""}`,"aria-label":"menu","aria-expanded":"false","data-target":"rentas-ctes-header",onClick:()=>N(!_),children:b("img",{src:Z2,alt:"Burger SVG"})}),s&&b(rn,{children:A?b("a",{className:"navbar-item px-1",onClick:()=>{a!=null&&a.onClick&&a.onClick()},children:b("img",{src:a==null?void 0:a.src,alt:"Logo Header",height:s.height,width:s.width})}):b("a",{className:"navbar-item pt-0",onClick:()=>{s!=null&&s.onClick&&s.onClick()},children:b("img",{src:s.src,alt:"Logo Header",height:s.height,width:s.width})})})]}),b("div",{id:"rentas-ctes-header",className:`navbar-menu ${_?"is-active":""}`,children:b("div",{className:"navbar-start",children:r&&r.map(ve=>b("a",{className:"navbar-item item-text",onClick:ve.onClick,children:ve.label},ar()))})}),L("div",{className:"navbar-end is-flex",children:[b("div",{className:"icon-functions is-flex",ref:te,children:p&&p.map((ve,Ee)=>L("div",{className:["item-icon "].join(""),ref:ie&&ie[Ee],children:[b("span",{children:b($e,{...ve.buttonIcon,onClick:()=>{var ke;le(ve.uniqueValue),(ke=ve.buttonIcon)!=null&&ke.onClick&&ve.buttonIcon.onClick()}})}),ve.badge&&b(rn,{children:b("span",{className:"item-icon__badge-notif",children:b(yo,{...ve.badge})})}),ve.iconDropComponent&&b("div",{className:`drop-component drop-component__icon ${G[ve.uniqueValue]&&p[Ee].uniqueValue===se?"is-active":""}`,children:ve.iconDropComponent})]},ar()))}),l?b(rn,{children:$?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:Q,children:[b("div",{className:"user-mobile__icon",children:b(it,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>P(!R)})}),g.userDropComponent&&b("div",{className:`drop-component drop-component__user ${R&&"is-active"}`,children:g.userDropComponent})]}):L("div",{className:"navbar-item user-desktop",ref:Q,children:[L("div",{className:"user-sec is-flex is-align-items-center",onClick:()=>P(!R),children:[L("div",{className:"user-sec__text",children:[L("p",{className:"names",children:["Hola, ",g.name," ",g.lastName]}),b("p",{className:"description",children:g.description})]}),L("div",{className:"user-sec__icons is-flex",children:[(pe=g.avatar)!=null&&pe.icon?L("div",{className:"user-icon",children:[b(it,{icon:g.avatar.icon.icon}),g.avatar.stateColor&&b("span",{className:"user-icon__state",children:b(it,{icon:"fa fa-circle",color:g.avatar.stateColor,size:"10px"})})]}):b("img",{src:(De=(me=g.avatar)==null?void 0:me.img)==null?void 0:De.src,width:"16px",height:"16px",style:{borderRadius:"50%"}}),b(it,{icon:"fa-solid fa-chevron-down"})]})]}),g.userDropComponent&&b("div",{className:`drop-component drop-component__user ${R&&"is-active"}`,children:g.userDropComponent})]})}):b(rn,{children:$?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:Q,children:[b("div",{className:"user-mobile__icon",children:b(it,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>P(!R)})}),m&&b("div",{className:`drop-component drop-component__user ${R&&"is-active"}`,children:m})]}):b("div",{className:"navbar-item",children:b($e,{...f})})})]})]})})})},qL="",eO=({className:u,search:l,pagination:s,selectList:a,button:r,menuButton:p,menuDropComponent:f,...g})=>{const[m,k]=de.useState(!1),_=de.useRef(null);return de.useEffect(()=>{function N(R){_.current&&!_.current.contains(R.target)&&k(!1)}return document.addEventListener("click",N),()=>{document.removeEventListener("click",N)}},[_]),b("div",{className:`elv-component elv-header-table ${u||""}`,...g,children:L("div",{className:"header-table is-flex",children:[l&&b("span",{children:b(wv,{...l})}),a&&a.map(N=>b("span",{children:b(Wh,{...N})},ar())),s&&b(Dy,{...s}),r&&b($e,{...r}),p&&L("div",{ref:_,className:"menuButton",children:[b($e,{...p,onClick:()=>{k(!m),p.onClick&&p.onClick()}}),f&&m&&b("div",{className:"menuButton__dropComponent",children:f})]})]})})},QL="",tO=({className:u,buttonShow:l,title:s,show:a,search:r,itemsPerPage:p=5,listClassName:f="",listOfComponents:g,listLineSeparation:m=!1,onShow:k,onClose:_,...N})=>{const[R,P]=de.useState(a),[$,K]=de.useState(1),[A,re]=de.useState(0),se=de.useRef(null),J=de.useRef(null),[G,B]=de.useState(p);de.useEffect(()=>{P(a)},[a]),de.useEffect(()=>{B(p)},[p]);const te=`${p*A+p}px`;return L("div",{className:"elv-component elv-sidebar",...N,children:[!R&&b("div",{className:"is-flex is-justify-content-end",children:b($e,{...l,onClick:()=>{P(!0),k&&k()}})}),R&&b("div",{className:"modal-background",onClick:()=>{P(!1),_&&_()}}),L("div",{className:`sidebar-container is-flex is-flex-direction-column ${R?"is-open":""} ${u||""}`,children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center",children:[b($e,{fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{P(!1),_&&_()}}),b("p",{className:"title is-5",children:s})]}),r&&b("div",{className:"sidebar-container__search",children:b(wv,{...r})}),b("div",{ref:J,className:`sidebar-container__list is-flex is-flex-direction-column is-gap-4 ${f} `,style:{minHeight:te},children:g.slice(($-1)*p,$*p).map((ie,le)=>b("div",{ref:se,className:`listItem ${m?" line-separation":""}`,children:ie},ar()))}),b("div",{className:"sidebar-container__pagination is-flex is-justify-content-center is-align-items-end",children:(g==null?void 0:g.length)>p&&b(Dy,{onChangePage:ie=>{K(ie)},minItemsPerPage:G,totalItems:g.length,showTotals:!0,isColumn:!0})})]})]})},KL="",nO=({className:u,title:l,show:s,button:a,buttonShow:r,optionalButton:p,optionalButton2:f,children:g,position:m="right",footerbutton:k,..._})=>{const[N,R]=de.useState(s);return de.useEffect(()=>{R(s)},[s]),L("div",{className:"elv-component elv-sidebarEmpty",..._,children:[!N&&b("div",{className:"is-flex is-justify-content-end",children:b($e,{...r,onClick:()=>{R(!0)}})}),N&&b("div",{className:"modal-background",onClick:()=>{R(!1)}}),L("div",{className:[`sidebar-container is-flex is-flex-direction-column is-justify-content-space-between ${N?"is-open":""}`,` sidebar-container--${m}`,`${u?" "+u:""}`].join(""),children:[L("div",{children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center mb-6 is-gap-4",children:[b("div",{className:"sidebar-container__button mr-3",children:b($e,{...a,fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{R(!1)}})}),b("p",{className:"title is-5 has-text-link-dark",children:l})]}),b("div",{className:"sidebar-container__content",children:g})]}),k&&b("div",{children:L("div",{className:"button-container is-flex pl-5 pb-5",children:[b("div",{className:"button-container__opt ml-5",children:p&&b($e,{...p})}),b("div",{className:"button-container__opt",children:f&&b($e,{...f})})]})})]})]})},GL="",rO=({className:u,border:l,size:s,label:a,description:r,backButton:p,leftIcon:f,rectangle:g,actionButtons:m,addButton:k,removeButton:_,linkButton:N,iconButton:R,switcherLabel:P,switcher:$,labelRight:K,...A})=>b("div",{className:"elv-component elv-subtitle",...A,children:L("div",{className:`subtitle-component ${l&&"subtitle-component--border-bot-gray"} ${u||""}`,children:[L("div",{className:"subtitle-component__left is-flex is-justify-content-start is-align-items-start",children:[p&&b("div",{className:"left-backButton",children:b($e,{...p})}),L("div",{className:"left-texts",children:[L("div",{className:"left-texts__principal is-flex is-align-items-center",children:[f&&b(it,{...f}),g&&b("span",{className:"left-texts__principal__rectangle"}),a&&b("p",{className:`left-texts__principal__label left-texts__principal__label--${s}`,children:a})]}),r&&b("p",{className:`left-texts__description left-texts__description--${s}`,children:r})]})]}),L("div",{className:"subtitle-component__right is-flex is-align-items-center",children:[k||_?L("div",{className:"right-editButtons is-flex",children:[k&&b("span",{className:"right-editButtons__addButton",children:b($e,{...k})}),_&&b("span",{className:"right-editButtons__removeButton",children:b($e,{..._})})]}):b(rn,{}),N&&b("span",{className:"right-linkButton",children:b($e,{...N})}),R&&b("span",{children:b($e,{...R})}),$&&L("div",{className:"right-switcher is-flex is-align-items-center",children:[P&&b("p",{className:"right-switcher__label",children:P}),b(wx,{...$})]}),K&&b("p",{className:"right-label",children:K})]})]})}),XL="",aO=({className:u,subtitle:l,title:s,description:a,descriptionWidth:r,secondDescription:p,actionsButtons:f,search:g,button:m,buttonWidth:k,backButton:_,searchWidth:N,align:R,...P})=>b("div",{className:"elv-component elv-title",...P,children:L("div",{className:`title-component-container ${_&&"title-component-container--backButton"} ${u||""}`,children:[_&&b("div",{className:"title-component-container__backButton is-flex",children:b($e,{..._})}),L("div",{className:`title-component title-component--${R} is-flex is-flex-direction-column`,children:[l&&b("p",{className:"title-component__subtitle",children:l.toUpperCase()}),s&&b("p",{className:"title-component__title",children:s}),L("div",{className:`title-component__content is-flex title-component__content--${R} is-flex-direction-column ${_&&"title-component__content--backButton"}`,children:[a&&b("p",{className:"title-component__description",style:{width:r},children:a}),p&&b("p",{className:"title-component__secondDescription",style:{width:r},children:p}),f&&b("span",{className:"title-component__actionButtons is-flex",children:f.map($=>b("span",{children:b($e,{...$})},$.label))}),g&&b("span",{className:"title-component__search",style:{width:N},children:b(wv,{...g})}),m&&b("span",{className:"title-component__button",style:{width:k},children:b($e,{...m})})]})]})]})});st.Alert=n_,st.AssistanceDiary=r_,st.Autocomplete=V2,st.AverageAttended=a_,st.Badge=yo,st.Breadcrumb=o_,st.Button=$e,st.CTA=S2,st.CardActivity=c_,st.CardCTA=l_,st.CardExpiration=s_,st.CardHorizontal=d_,st.CardUser=f_,st.CardVertical=u_,st.Cart=p_,st.Checkbox=$f,st.Collapse=E0,st.CollapseEdit=D0,st.CompleteDiary=x2,st.DatePickerComponent=B2,st.Dropdown=k2,st.EmptyState=_2,st.ErrorPage=D2,st.Filters=q2,st.Footer=X2,st.Header=J2,st.HeaderTable=eO,st.Icon=it,st.IncomingCall=E2,st.Input=Vh,st.InputForm=Q2,st.ModalConfirm=R2,st.Pagination=Dy,st.PerformanceAssessment=H2,st.ProgressBar=k0,st.Radio=Ug,st.Search=wv,st.Select=Wh,st.ShiftDiary=$2,st.Sidebar=tO,st.SidebarEmpty=nO,st.Stepper=Y2,st.Subtitle=rO,st.Switch=wx,st.Tabs=W2,st.Textarea=K2,st.Title=aO,st.Tooltip=Lg,st.UploadFileItem=bx,st.UploadFiles=G2,Object.defineProperties(st,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|