helppeople-ui 1.3.0 → 1.3.2

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.
@@ -9,7 +9,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9
9
  Copyright (c) 2018 Jed Watson.
10
10
  Licensed under the MIT License (MIT), see
11
11
  http://jedwatson.github.io/classnames
12
- */var Le;function sr(){return Le||(Le=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",c=0;c<arguments.length;c++){var u=arguments[c];u&&(a=s(a,n(u)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var c="";for(var u in a)t.call(a,u)&&a[u]&&(c=s(c,u));return c}function s(a,c){return c?a?a+" "+c:a+c:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ye)),ye.exports}var ar=sr();const ir=or(ar),E=Math.round;function xe(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)n[s]=t(n[s]||0,r[s]||"",s);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const Fe=(e,t,r)=>r===0?e:e/100;function ae(e,t){const r=t||255;return e>r?r:e<0?0:e}class ee{constructor(t){A(this,"isValid",!0),A(this,"r",0),A(this,"g",0),A(this,"b",0),A(this,"a",1),A(this,"_h",void 0),A(this,"_s",void 0),A(this,"_l",void 0),A(this,"_v",void 0),A(this,"_max",void 0),A(this,"_min",void 0),A(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let s=function(a){return n.startsWith(a)};const n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):s("rgb")?this.fromRgbString(n):s("hsl")?this.fromHslString(n):(s("hsv")||s("hsb"))&&this.fromHsvString(n)}else if(t instanceof ee)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=ae(t.r),this.g=ae(t.g),this.b=ae(t.b),this.a=typeof t.a=="number"?ae(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(a){const c=a/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)}const r=t(this.r),n=t(this.g),s=t(this.b);return .2126*r+.7152*n+.0722*s}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=E(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),n=this.getSaturation();let s=this.getLightness()-t/100;return s<0&&(s=0),this._c({h:r,s:n,l:s,a:this.a})}lighten(t=10){const r=this.getHue(),n=this.getSaturation();let s=this.getLightness()+t/100;return s>1&&(s=1),this._c({h:r,s:n,l:s,a:this.a})}mix(t,r=50){const n=this._c(t),s=r/100,a=u=>(n[u]-this[u])*s+this[u],c={r:E(a("r")),g:E(a("g")),b:E(a("b")),a:E(a("a")*100)/100};return this._c(c)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),n=this.a+r.a*(1-this.a),s=a=>E((this[a]*this.a+r[a]*r.a*(1-this.a))/n);return this._c({r:s("r"),g:s("g"),b:s("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=E(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=E(this.getSaturation()*100),n=E(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){const s=this.clone();return s[t]=ae(r,n),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function n(s,a){return parseInt(r[s]+r[a||s],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:s}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof s=="number"?s:1,r<=0){const g=E(n*255);this.r=g,this.g=g,this.b=g}let a=0,c=0,u=0;const d=t/60,i=(1-Math.abs(2*n-1))*r,f=i*(1-Math.abs(d%2-1));d>=0&&d<1?(a=i,c=f):d>=1&&d<2?(a=f,c=i):d>=2&&d<3?(c=i,u=f):d>=3&&d<4?(c=f,u=i):d>=4&&d<5?(a=f,u=i):d>=5&&d<6&&(a=i,u=f);const h=n-i/2;this.r=E((a+h)*255),this.g=E((c+h)*255),this.b=E((u+h)*255)}fromHsv({h:t,s:r,v:n,a:s}){this._h=t%360,this._s=r,this._v=n,this.a=typeof s=="number"?s:1;const a=E(n*255);if(this.r=a,this.g=a,this.b=a,r<=0)return;const c=t/60,u=Math.floor(c),d=c-u,i=E(n*(1-r)*255),f=E(n*(1-r*d)*255),h=E(n*(1-r*(1-d))*255);switch(u){case 0:this.g=h,this.b=i;break;case 1:this.r=f,this.b=i;break;case 2:this.r=i,this.b=h;break;case 3:this.r=i,this.g=f;break;case 4:this.r=h,this.g=i;break;case 5:default:this.g=i,this.b=f;break}}fromHsvString(t){const r=xe(t,Fe);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=xe(t,Fe);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=xe(t,(n,s)=>s.includes("%")?E(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var ue=2,Be=.16,lr=.05,cr=.05,dr=.15,rt=5,nt=4,ur=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Ae(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-ue*t:Math.round(e.h)+ue*t:n=r?Math.round(e.h)+ue*t:Math.round(e.h)-ue*t,n<0?n+=360:n>=360&&(n-=360),n}function $e(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-Be*t:t===nt?n=e.s+Be:n=e.s+lr*t,n>1&&(n=1),r&&t===rt&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function Pe(e,t,r){var n;return r?n=e.v+cr*t:n=e.v-dr*t,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function fr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=new ee(e),s=n.toHsv(),a=rt;a>0;a-=1){var c=new ee({h:Ae(s,a,!0),s:$e(s,a,!0),v:Pe(s,a,!0)});r.push(c)}r.push(n);for(var u=1;u<=nt;u+=1){var d=new ee({h:Ae(s,u),s:$e(s,u),v:Pe(s,u)});r.push(d)}return t.theme==="dark"?ur.map(function(i){var f=i.index,h=i.amount;return new ee(t.backgroundColor||"#141414").mix(r[f],h).toHexString()}):r.map(function(i){return i.toHexString()})}var ve=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ve.primary=ve[5];function hr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function mr(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Ve="data-rc-order",Ye="data-rc-priority",pr="rc-util-key",be=new Map;function ot(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):pr}function je(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function gr(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Oe(e){return Array.from((be.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function st(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!hr())return null;var r=t.csp,n=t.prepend,s=t.priority,a=s===void 0?0:s,c=gr(n),u=c==="prependQueue",d=document.createElement("style");d.setAttribute(Ve,c),u&&a&&d.setAttribute(Ye,"".concat(a)),r!=null&&r.nonce&&(d.nonce=r==null?void 0:r.nonce),d.innerHTML=e;var i=je(t),f=i.firstChild;if(n){if(u){var h=(t.styles||Oe(i)).filter(function(g){if(!["prepend","prependQueue"].includes(g.getAttribute(Ve)))return!1;var p=Number(g.getAttribute(Ye)||0);return a>=p});if(h.length)return i.insertBefore(d,h[h.length-1].nextSibling),d}i.insertBefore(d,f)}else i.appendChild(d);return d}function yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=je(t);return(t.styles||Oe(r)).find(function(n){return n.getAttribute(ot(t))===e})}function xr(e,t){var r=be.get(e);if(!r||!mr(document,r)){var n=st("",t),s=n.parentNode;be.set(e,s),e.removeChild(n)}}function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=je(r),s=Oe(n),a=_(_({},r),{},{styles:s});xr(n,a);var c=yr(t,a);if(c){var u,d;if((u=a.csp)!==null&&u!==void 0&&u.nonce&&c.nonce!==((d=a.csp)===null||d===void 0?void 0:d.nonce)){var i;c.nonce=(i=a.csp)===null||i===void 0?void 0:i.nonce}return c.innerHTML!==e&&(c.innerHTML=e),c}var f=st(e,a);return f.setAttribute(ot(a),t),f}function at(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function br(e){return at(e)instanceof ShadowRoot}function Sr(e){return br(e)?at(e):null}var Se={},ke=[],Cr=function(t){ke.push(t)};function wr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ke.reduce(function(n,s){return s(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function jr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ke.reduce(function(n,s){return s(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Or(){Se={}}function it(e,t,r){!t&&!Se[r]&&(e(!1,r),Se[r]=!0)}function he(e,t){it(wr,e,t)}function kr(e,t){it(jr,e,t)}he.preMessage=Cr;he.resetWarned=Or;he.noteOnce=kr;function Tr(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Er(e,t){he(e,"[@ant-design/icons] ".concat(t))}function qe(e){return K(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(K(e.icon)==="object"||typeof e.icon=="function")}function We(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[Tr(r)]=n}return t},{})}function Ce(e,t,r){return r?D.createElement(e.tag,_(_({key:t},We(e.attrs)),r),(e.children||[]).map(function(n,s){return Ce(n,"".concat(t,"-").concat(e.tag,"-").concat(s))})):D.createElement(e.tag,_({key:t},We(e.attrs)),(e.children||[]).map(function(n,s){return Ce(n,"".concat(t,"-").concat(e.tag,"-").concat(s))}))}function lt(e){return fr(e)[0]}function ct(e){return e?Array.isArray(e)?e:[e]:[]}var Nr=`
12
+ */var Le;function sr(){return Le||(Le=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",c=0;c<arguments.length;c++){var u=arguments[c];u&&(a=s(a,n(u)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var c="";for(var u in a)t.call(a,u)&&a[u]&&(c=s(c,u));return c}function s(a,c){return c?a?a+" "+c:a+c:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ye)),ye.exports}var ar=sr();const ir=or(ar),E=Math.round;function xe(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)n[s]=t(n[s]||0,r[s]||"",s);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const Fe=(e,t,r)=>r===0?e:e/100;function ae(e,t){const r=t||255;return e>r?r:e<0?0:e}class J{constructor(t){A(this,"isValid",!0),A(this,"r",0),A(this,"g",0),A(this,"b",0),A(this,"a",1),A(this,"_h",void 0),A(this,"_s",void 0),A(this,"_l",void 0),A(this,"_v",void 0),A(this,"_max",void 0),A(this,"_min",void 0),A(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let s=function(a){return n.startsWith(a)};const n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):s("rgb")?this.fromRgbString(n):s("hsl")?this.fromHslString(n):(s("hsv")||s("hsb"))&&this.fromHsvString(n)}else if(t instanceof J)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=ae(t.r),this.g=ae(t.g),this.b=ae(t.b),this.a=typeof t.a=="number"?ae(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(a){const c=a/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)}const r=t(this.r),n=t(this.g),s=t(this.b);return .2126*r+.7152*n+.0722*s}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=E(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),n=this.getSaturation();let s=this.getLightness()-t/100;return s<0&&(s=0),this._c({h:r,s:n,l:s,a:this.a})}lighten(t=10){const r=this.getHue(),n=this.getSaturation();let s=this.getLightness()+t/100;return s>1&&(s=1),this._c({h:r,s:n,l:s,a:this.a})}mix(t,r=50){const n=this._c(t),s=r/100,a=u=>(n[u]-this[u])*s+this[u],c={r:E(a("r")),g:E(a("g")),b:E(a("b")),a:E(a("a")*100)/100};return this._c(c)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),n=this.a+r.a*(1-this.a),s=a=>E((this[a]*this.a+r[a]*r.a*(1-this.a))/n);return this._c({r:s("r"),g:s("g"),b:s("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=E(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=E(this.getSaturation()*100),n=E(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){const s=this.clone();return s[t]=ae(r,n),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function n(s,a){return parseInt(r[s]+r[a||s],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:s}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof s=="number"?s:1,r<=0){const g=E(n*255);this.r=g,this.g=g,this.b=g}let a=0,c=0,u=0;const d=t/60,i=(1-Math.abs(2*n-1))*r,f=i*(1-Math.abs(d%2-1));d>=0&&d<1?(a=i,c=f):d>=1&&d<2?(a=f,c=i):d>=2&&d<3?(c=i,u=f):d>=3&&d<4?(c=f,u=i):d>=4&&d<5?(a=f,u=i):d>=5&&d<6&&(a=i,u=f);const h=n-i/2;this.r=E((a+h)*255),this.g=E((c+h)*255),this.b=E((u+h)*255)}fromHsv({h:t,s:r,v:n,a:s}){this._h=t%360,this._s=r,this._v=n,this.a=typeof s=="number"?s:1;const a=E(n*255);if(this.r=a,this.g=a,this.b=a,r<=0)return;const c=t/60,u=Math.floor(c),d=c-u,i=E(n*(1-r)*255),f=E(n*(1-r*d)*255),h=E(n*(1-r*(1-d))*255);switch(u){case 0:this.g=h,this.b=i;break;case 1:this.r=f,this.b=i;break;case 2:this.r=i,this.b=h;break;case 3:this.r=i,this.g=f;break;case 4:this.r=h,this.g=i;break;case 5:default:this.g=i,this.b=f;break}}fromHsvString(t){const r=xe(t,Fe);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=xe(t,Fe);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=xe(t,(n,s)=>s.includes("%")?E(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var ue=2,Be=.16,lr=.05,cr=.05,dr=.15,rt=5,nt=4,ur=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Ae(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-ue*t:Math.round(e.h)+ue*t:n=r?Math.round(e.h)+ue*t:Math.round(e.h)-ue*t,n<0?n+=360:n>=360&&(n-=360),n}function $e(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-Be*t:t===nt?n=e.s+Be:n=e.s+lr*t,n>1&&(n=1),r&&t===rt&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function Pe(e,t,r){var n;return r?n=e.v+cr*t:n=e.v-dr*t,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function fr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=new J(e),s=n.toHsv(),a=rt;a>0;a-=1){var c=new J({h:Ae(s,a,!0),s:$e(s,a,!0),v:Pe(s,a,!0)});r.push(c)}r.push(n);for(var u=1;u<=nt;u+=1){var d=new J({h:Ae(s,u),s:$e(s,u),v:Pe(s,u)});r.push(d)}return t.theme==="dark"?ur.map(function(i){var f=i.index,h=i.amount;return new J(t.backgroundColor||"#141414").mix(r[f],h).toHexString()}):r.map(function(i){return i.toHexString()})}var ve=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ve.primary=ve[5];function hr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function mr(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Ve="data-rc-order",Ye="data-rc-priority",pr="rc-util-key",be=new Map;function ot(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):pr}function je(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function gr(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Oe(e){return Array.from((be.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function st(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!hr())return null;var r=t.csp,n=t.prepend,s=t.priority,a=s===void 0?0:s,c=gr(n),u=c==="prependQueue",d=document.createElement("style");d.setAttribute(Ve,c),u&&a&&d.setAttribute(Ye,"".concat(a)),r!=null&&r.nonce&&(d.nonce=r==null?void 0:r.nonce),d.innerHTML=e;var i=je(t),f=i.firstChild;if(n){if(u){var h=(t.styles||Oe(i)).filter(function(g){if(!["prepend","prependQueue"].includes(g.getAttribute(Ve)))return!1;var p=Number(g.getAttribute(Ye)||0);return a>=p});if(h.length)return i.insertBefore(d,h[h.length-1].nextSibling),d}i.insertBefore(d,f)}else i.appendChild(d);return d}function yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=je(t);return(t.styles||Oe(r)).find(function(n){return n.getAttribute(ot(t))===e})}function xr(e,t){var r=be.get(e);if(!r||!mr(document,r)){var n=st("",t),s=n.parentNode;be.set(e,s),e.removeChild(n)}}function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=je(r),s=Oe(n),a=_(_({},r),{},{styles:s});xr(n,a);var c=yr(t,a);if(c){var u,d;if((u=a.csp)!==null&&u!==void 0&&u.nonce&&c.nonce!==((d=a.csp)===null||d===void 0?void 0:d.nonce)){var i;c.nonce=(i=a.csp)===null||i===void 0?void 0:i.nonce}return c.innerHTML!==e&&(c.innerHTML=e),c}var f=st(e,a);return f.setAttribute(ot(a),t),f}function at(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function br(e){return at(e)instanceof ShadowRoot}function Sr(e){return br(e)?at(e):null}var Se={},ke=[],Cr=function(t){ke.push(t)};function wr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ke.reduce(function(n,s){return s(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function jr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ke.reduce(function(n,s){return s(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Or(){Se={}}function it(e,t,r){!t&&!Se[r]&&(e(!1,r),Se[r]=!0)}function he(e,t){it(wr,e,t)}function kr(e,t){it(jr,e,t)}he.preMessage=Cr;he.resetWarned=Or;he.noteOnce=kr;function Tr(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Er(e,t){he(e,"[@ant-design/icons] ".concat(t))}function qe(e){return K(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(K(e.icon)==="object"||typeof e.icon=="function")}function We(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[Tr(r)]=n}return t},{})}function Ce(e,t,r){return r?D.createElement(e.tag,_(_({key:t},We(e.attrs)),r),(e.children||[]).map(function(n,s){return Ce(n,"".concat(t,"-").concat(e.tag,"-").concat(s))})):D.createElement(e.tag,_({key:t},We(e.attrs)),(e.children||[]).map(function(n,s){return Ce(n,"".concat(t,"-").concat(e.tag,"-").concat(s))}))}function lt(e){return fr(e)[0]}function ct(e){return e?Array.isArray(e)?e:[e]:[]}var Nr=`
13
13
  .anticon {
14
14
  display: inline-flex;
15
15
  align-items: center;
@@ -66,7 +66,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
66
66
  }
67
67
  `,Rr=function(t){var r=D.useContext(Je),n=r.csp,s=r.prefixCls,a=r.layer,c=Nr;s&&(c=c.replace(/anticon/g,s)),a&&(c="@layer ".concat(a,` {
68
68
  `).concat(c,`
69
- }`)),D.useEffect(function(){var u=t.current,d=Sr(u);vr(c,"@ant-design-icons",{prepend:!a,csp:n,attachTo:d})},[])},zr=["icon","className","onClick","style","primaryColor","secondaryColor"],ie={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Mr(e){var t=e.primaryColor,r=e.secondaryColor;ie.primaryColor=t,ie.secondaryColor=r||lt(t),ie.calculated=!!r}function _r(){return _({},ie)}var te=function(t){var r=t.icon,n=t.className,s=t.onClick,a=t.style,c=t.primaryColor,u=t.secondaryColor,d=tt(t,zr),i=v.useRef(),f=ie;if(c&&(f={primaryColor:c,secondaryColor:u||lt(c)}),Rr(i),Er(qe(r),"icon should be icon definiton, but got ".concat(r)),!qe(r))return null;var h=r;return h&&typeof h.icon=="function"&&(h=_(_({},h),{},{icon:h.icon(f.primaryColor,f.secondaryColor)})),Ce(h.icon,"svg-".concat(h.name),_(_({className:n,onClick:s,style:a,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:i}))};te.displayName="IconReact";te.getTwoToneColors=_r;te.setTwoToneColors=Mr;function dt(e){var t=ct(e),r=et(t,2),n=r[0],s=r[1];return te.setTwoToneColors({primaryColor:n,secondaryColor:s})}function Dr(){var e=te.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Hr=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];dt(ve.primary);var z=v.forwardRef(function(e,t){var r=e.className,n=e.icon,s=e.spin,a=e.rotate,c=e.tabIndex,u=e.onClick,d=e.twoToneColor,i=tt(e,Hr),f=v.useContext(Je),h=f.prefixCls,g=h===void 0?"anticon":h,p=f.rootClassName,w=ir(p,g,A(A({},"".concat(g,"-").concat(n.name),!!n.name),"".concat(g,"-spin"),!!s||n.name==="loading"),r),y=c;y===void 0&&u&&(y=-1);var k=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,H=ct(d),I=et(H,2),M=I[0],m=I[1];return v.createElement("span",R({role:"img","aria-label":n.name},i,{ref:t,tabIndex:y,onClick:u,className:w}),v.createElement(te,{icon:n,primaryColor:M,secondaryColor:m,style:k}))});z.displayName="AntdIcon";z.getTwoToneColor=Dr;z.setTwoToneColor=dt;var Ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Lr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Ir}))},ut=v.forwardRef(Lr);process.env.NODE_ENV!=="production"&&(ut.displayName="ArrowLeftOutlined");var Fr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},Br=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Fr}))},Te=v.forwardRef(Br);process.env.NODE_ENV!=="production"&&(Te.displayName="BellOutlined");var Ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},$r=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Ar}))},le=v.forwardRef($r);process.env.NODE_ENV!=="production"&&(le.displayName="ClearOutlined");var Pr={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Vr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Pr}))},ft=v.forwardRef(Vr);process.env.NODE_ENV!=="production"&&(ft.displayName="CloseOutlined");var Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},qr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Yr}))},ht=v.forwardRef(qr);process.env.NODE_ENV!=="production"&&(ht.displayName="DeleteOutlined");var Wr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Gr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Wr}))},Ee=v.forwardRef(Gr);process.env.NODE_ENV!=="production"&&(Ee.displayName="EditOutlined");var Ur={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},Kr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Ur}))},mt=v.forwardRef(Kr);process.env.NODE_ENV!=="production"&&(mt.displayName="FileExcelOutlined");var Xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},Zr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Xr}))},pt=v.forwardRef(Zr);process.env.NODE_ENV!=="production"&&(pt.displayName="FilePdfOutlined");var Qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},Jr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Qr}))},Ne=v.forwardRef(Jr);process.env.NODE_ENV!=="production"&&(Ne.displayName="FilterOutlined");var en={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},tn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:en}))},gt=v.forwardRef(tn);process.env.NODE_ENV!=="production"&&(gt.displayName="LoadingOutlined");var rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},nn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:rn}))},Re=v.forwardRef(nn);process.env.NODE_ENV!=="production"&&(Re.displayName="PlusOutlined");var on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},sn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:on}))},yt=v.forwardRef(sn);process.env.NODE_ENV!=="production"&&(yt.displayName="SaveOutlined");var an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ln=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:an}))},xt=v.forwardRef(ln);process.env.NODE_ENV!=="production"&&(xt.displayName="SearchOutlined");var cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},dn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:cn}))},vt=v.forwardRef(dn);process.env.NODE_ENV!=="production"&&(vt.displayName="UploadOutlined");const ze=D.forwardRef((e,t)=>o.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&o.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&o.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),o.jsx(l.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));ze.displayName="CustomInput";const un=e=>o.jsx(l.Input.Password,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),fn=e=>o.jsx(l.Input.TextArea,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),hn=e=>o.jsx(l.Input.Search,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),bt=e=>{const t=r=>{const n=r.key;!/^[0-9.]$/.test(n)&&n!=="Backspace"&&r.preventDefault()};return o.jsx(l.InputNumber,{...e,onKeyPress:t,style:{...e.style},controls:!1})},St=e=>o.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&o.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&o.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),o.jsx(l.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),mn=({fields:e,filters:t,onFilter:r,onClearFilters:n,localeCode:s="es",actions:a=[],onAdvancedFilters:c,loading:u=!1,defaultValues:d={},activeFiltersCount:i=0,onFiltersChange:f,extra:h,translations:g={}})=>{const[p,w]=D.useState(()=>t||d||{});D.useEffect(()=>{t&&w(t)},[t]);const y=(m,j)=>{const $={...p,[m]:j};w($),f==null||f($)},k=()=>{r(p)},H=()=>{w({}),n==null||n()},M=(m=>m<=2?12:m<=3?8:m<=4?6:4)(e.length);return o.jsxs("div",{style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12},children:[o.jsxs(l.Row,{justify:"end",align:"middle",children:[h&&o.jsx(l.Col,{children:h}),o.jsx(l.Col,{style:{marginLeft:h?"0":"auto"},children:o.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[a.map((m,j)=>!m.hide&&o.jsx(V,{size:"small",icon:m.icon,onClick:m.onClick,style:{border:"none",background:"none"},loading:m.loading},j)),c&&o.jsx(l.Badge,{count:i,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:o.jsx(V,{size:"small",icon:o.jsx(Ne,{}),onClick:c,style:{border:"none",background:"none"}})})]})})]}),o.jsxs(l.Row,{gutter:[8,8],children:[e.map(m=>o.jsx(l.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:o.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[m.label&&o.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:m.label}),{text:o.jsx(ze,{placeholder:m.placeholder,value:p[m.key],onChange:j=>y(m.key,j.target.value),style:{width:"100%"}}),number:o.jsx(bt,{placeholder:m.placeholder,value:p[m.key],onChange:j=>y(m.key,j),style:{width:"100%"}}),date:o.jsx(fe,{localeCode:s,onChange:(j,$)=>y(m.key,$),style:{width:"100%"}}),range:o.jsx(fe.RangePicker,{localeCode:s,value:p[m.key]&&p[m.key][0]?[De(p[m.key][0]),De(p[m.key][1])]:void 0,onChange:(j,$)=>y(m.key,$),style:{width:"100%"}}),select:o.jsx(St,{placeholder:m.placeholder,options:m.options,value:p[m.key],mode:m.mode,allowClear:m.allowClear,showSearch:m.showSearch,optionFilterProp:m.optionFilterProp,filterOption:m.filterOption,onChange:j=>y(m.key,j),style:{width:"100%"},loading:m.isLoading})}[m.type||"text"]]})},m.key)),o.jsx(l.Col,{xs:24,sm:12,md:M,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:o.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[o.jsx(V,{type:"primary",size:"small",onClick:k,loading:u,disabled:u,text:g.apply||"Aplicar",className:"force-white-text-button"}),o.jsx(V,{size:"small",icon:o.jsx(le,{}),onClick:H,disabled:u})]})})]})]})},Me=({className:e,tooltip:t,...r})=>o.jsx(l.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Me.Group=e=>o.jsx(l.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Me.BackTop=l.FloatButton.BackTop;const pn=({label:e,...t})=>o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[o.jsx(l.Switch,{...t}),e&&o.jsx("span",{children:e})]}),Ct=({title:e,children:t,...r})=>o.jsx(l.Modal,{className:"custom-modal",title:e,...r,children:t});["info","success","error","warning","confirm","destroyAll"].forEach(e=>{Ct[e]=l.Modal[e]});const gn={open:({type:e,message:t,description:r,duration:n=3,placement:s="topRight"})=>{l.notification[e]({message:o.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&o.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:n,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},wt=({label:e,...t})=>o.jsx(l.Radio,{...t,children:e});wt.Group=e=>o.jsx(l.Radio.Group,{...e});const yn=e=>o.jsx(l.Radio.Group,{...e}),xn=({loadingText:e,...t})=>o.jsxs("div",{style:{padding:"1rem"},children:[e&&o.jsx("p",{children:e}),o.jsx(l.Skeleton,{...t})]}),Ge=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return o.jsxs("div",{style:{display:"inline-block",...t()},children:[o.jsx("style",{children:`
69
+ }`)),D.useEffect(function(){var u=t.current,d=Sr(u);vr(c,"@ant-design-icons",{prepend:!a,csp:n,attachTo:d})},[])},zr=["icon","className","onClick","style","primaryColor","secondaryColor"],ie={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Mr(e){var t=e.primaryColor,r=e.secondaryColor;ie.primaryColor=t,ie.secondaryColor=r||lt(t),ie.calculated=!!r}function _r(){return _({},ie)}var ee=function(t){var r=t.icon,n=t.className,s=t.onClick,a=t.style,c=t.primaryColor,u=t.secondaryColor,d=tt(t,zr),i=v.useRef(),f=ie;if(c&&(f={primaryColor:c,secondaryColor:u||lt(c)}),Rr(i),Er(qe(r),"icon should be icon definiton, but got ".concat(r)),!qe(r))return null;var h=r;return h&&typeof h.icon=="function"&&(h=_(_({},h),{},{icon:h.icon(f.primaryColor,f.secondaryColor)})),Ce(h.icon,"svg-".concat(h.name),_(_({className:n,onClick:s,style:a,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:i}))};ee.displayName="IconReact";ee.getTwoToneColors=_r;ee.setTwoToneColors=Mr;function dt(e){var t=ct(e),r=et(t,2),n=r[0],s=r[1];return ee.setTwoToneColors({primaryColor:n,secondaryColor:s})}function Dr(){var e=ee.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Hr=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];dt(ve.primary);var z=v.forwardRef(function(e,t){var r=e.className,n=e.icon,s=e.spin,a=e.rotate,c=e.tabIndex,u=e.onClick,d=e.twoToneColor,i=tt(e,Hr),f=v.useContext(Je),h=f.prefixCls,g=h===void 0?"anticon":h,p=f.rootClassName,S=ir(p,g,A(A({},"".concat(g,"-").concat(n.name),!!n.name),"".concat(g,"-spin"),!!s||n.name==="loading"),r),y=c;y===void 0&&u&&(y=-1);var k=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,H=ct(d),I=et(H,2),M=I[0],m=I[1];return v.createElement("span",R({role:"img","aria-label":n.name},i,{ref:t,tabIndex:y,onClick:u,className:S}),v.createElement(ee,{icon:n,primaryColor:M,secondaryColor:m,style:k}))});z.displayName="AntdIcon";z.getTwoToneColor=Dr;z.setTwoToneColor=dt;var Ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Lr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Ir}))},ut=v.forwardRef(Lr);process.env.NODE_ENV!=="production"&&(ut.displayName="ArrowLeftOutlined");var Fr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},Br=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Fr}))},Te=v.forwardRef(Br);process.env.NODE_ENV!=="production"&&(Te.displayName="BellOutlined");var Ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},$r=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Ar}))},le=v.forwardRef($r);process.env.NODE_ENV!=="production"&&(le.displayName="ClearOutlined");var Pr={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Vr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Pr}))},ft=v.forwardRef(Vr);process.env.NODE_ENV!=="production"&&(ft.displayName="CloseOutlined");var Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},qr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Yr}))},ht=v.forwardRef(qr);process.env.NODE_ENV!=="production"&&(ht.displayName="DeleteOutlined");var Wr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Gr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Wr}))},Ee=v.forwardRef(Gr);process.env.NODE_ENV!=="production"&&(Ee.displayName="EditOutlined");var Ur={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},Kr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Ur}))},mt=v.forwardRef(Kr);process.env.NODE_ENV!=="production"&&(mt.displayName="FileExcelOutlined");var Xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},Zr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Xr}))},pt=v.forwardRef(Zr);process.env.NODE_ENV!=="production"&&(pt.displayName="FilePdfOutlined");var Qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},Jr=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:Qr}))},Ne=v.forwardRef(Jr);process.env.NODE_ENV!=="production"&&(Ne.displayName="FilterOutlined");var en={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},tn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:en}))},gt=v.forwardRef(tn);process.env.NODE_ENV!=="production"&&(gt.displayName="LoadingOutlined");var rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},nn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:rn}))},Re=v.forwardRef(nn);process.env.NODE_ENV!=="production"&&(Re.displayName="PlusOutlined");var on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},sn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:on}))},yt=v.forwardRef(sn);process.env.NODE_ENV!=="production"&&(yt.displayName="SaveOutlined");var an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ln=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:an}))},xt=v.forwardRef(ln);process.env.NODE_ENV!=="production"&&(xt.displayName="SearchOutlined");var cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},dn=function(t,r){return v.createElement(z,R({},t,{ref:r,icon:cn}))},vt=v.forwardRef(dn);process.env.NODE_ENV!=="production"&&(vt.displayName="UploadOutlined");const ze=D.forwardRef((e,t)=>o.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&o.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&o.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),o.jsx(l.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));ze.displayName="CustomInput";const un=e=>o.jsx(l.Input.Password,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),fn=e=>o.jsx(l.Input.TextArea,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),hn=e=>o.jsx(l.Input.Search,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),bt=e=>{const t=r=>{const n=r.key;!/^[0-9.]$/.test(n)&&n!=="Backspace"&&r.preventDefault()};return o.jsx(l.InputNumber,{...e,onKeyPress:t,style:{...e.style},controls:!1})},St=e=>o.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&o.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&o.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),o.jsx(l.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),mn=({fields:e,filters:t,onFilter:r,onClearFilters:n,localeCode:s="es",actions:a=[],onAdvancedFilters:c,loading:u=!1,defaultValues:d={},activeFiltersCount:i=0,onFiltersChange:f,extra:h,translations:g={}})=>{const[p,S]=D.useState(()=>t||d||{});D.useEffect(()=>{t&&S(t)},[t]);const y=(m,j)=>{const $={...p,[m]:j};S($),f==null||f($)},k=()=>{r(p)},H=()=>{S({}),n==null||n()},M=(m=>m<=2?12:m<=3?8:m<=4?6:4)(e.length);return o.jsxs("div",{style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12},children:[o.jsxs(l.Row,{justify:"end",align:"middle",children:[h&&o.jsx(l.Col,{children:h}),o.jsx(l.Col,{style:{marginLeft:h?"0":"auto"},children:o.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[a.map((m,j)=>!m.hide&&o.jsx(V,{size:"small",icon:m.icon,onClick:m.onClick,style:{border:"none",background:"none"},loading:m.loading},j)),c&&o.jsx(l.Badge,{count:i,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:o.jsx(V,{size:"small",icon:o.jsx(Ne,{}),onClick:c,style:{border:"none",background:"none"}})})]})})]}),o.jsxs(l.Row,{gutter:[8,8],children:[e.map(m=>o.jsx(l.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:o.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[m.label&&o.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:m.label}),{text:o.jsx(ze,{placeholder:m.placeholder,value:p[m.key],onChange:j=>y(m.key,j.target.value),style:{width:"100%"}}),number:o.jsx(bt,{placeholder:m.placeholder,value:p[m.key],onChange:j=>y(m.key,j),style:{width:"100%"}}),date:o.jsx(fe,{localeCode:s,onChange:(j,$)=>y(m.key,$),style:{width:"100%"}}),range:o.jsx(fe.RangePicker,{localeCode:s,value:p[m.key]&&p[m.key][0]?[De(p[m.key][0]),De(p[m.key][1])]:void 0,onChange:(j,$)=>y(m.key,$),style:{width:"100%"}}),select:o.jsx(St,{placeholder:m.placeholder,options:m.options,value:p[m.key],mode:m.mode,allowClear:m.allowClear,showSearch:m.showSearch,optionFilterProp:m.optionFilterProp,filterOption:m.filterOption,onChange:j=>y(m.key,j),style:{width:"100%"},loading:m.isLoading})}[m.type||"text"]]})},m.key)),o.jsx(l.Col,{xs:24,sm:12,md:M,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:o.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[o.jsx(V,{type:"primary",size:"small",onClick:k,loading:u,disabled:u,text:g.apply||"Aplicar",className:"force-white-text-button"}),o.jsx(V,{size:"small",icon:o.jsx(le,{}),onClick:H,disabled:u})]})})]})]})},Me=({className:e,tooltip:t,...r})=>o.jsx(l.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Me.Group=e=>o.jsx(l.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Me.BackTop=l.FloatButton.BackTop;const pn=({label:e,...t})=>o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[o.jsx(l.Switch,{...t}),e&&o.jsx("span",{children:e})]}),Ct=({title:e,children:t,...r})=>o.jsx(l.Modal,{className:"custom-modal",title:e,...r,children:t});["info","success","error","warning","confirm","destroyAll"].forEach(e=>{Ct[e]=l.Modal[e]});const gn={open:({type:e,message:t,description:r,duration:n=3,placement:s="topRight"})=>{l.notification[e]({message:o.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&o.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:n,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},wt=({label:e,...t})=>o.jsx(l.Radio,{...t,children:e});wt.Group=e=>o.jsx(l.Radio.Group,{...e});const yn=e=>o.jsx(l.Radio.Group,{...e}),xn=({loadingText:e,...t})=>o.jsxs("div",{style:{padding:"1rem"},children:[e&&o.jsx("p",{children:e}),o.jsx(l.Skeleton,{...t})]}),Ge=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return o.jsxs("div",{style:{display:"inline-block",...t()},children:[o.jsx("style",{children:`
70
70
  .helppeople-cloud-svg .svg-elem-1 {
71
71
  stroke-dashoffset: 472.7320556640625px;
72
72
  stroke-dasharray: 472.7320556640625px;
@@ -82,7 +82,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82
82
  }
83
83
  }
84
84
  `}),o.jsxs("svg",{className:"helppeople-cloud-svg",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 197.71 139.12",style:{width:"100%",height:"100%"},xmlSpace:"preserve",children:[o.jsx("style",{type:"text/css",children:".st0{fill:none;stroke:#28285B;stroke-width:14;stroke-linecap:round;stroke-miterlimit:10;}"}),o.jsx("g",{children:o.jsx("path",{className:"st0 svg-elem-1",d:`M105.78,63.29c6.82-13.05,20.48-21.95,36.22-21.95c22.56,0,40.84,18.28,40.84,40.84s-18.28,40.13-40.84,40.13\r
85
- H69.32c-29.13,0-52.75-23.61-52.75-52.75s23.61-52.75,52.75-52.75c21.19,0,39.46,12.49,47.85,30.52`})})]})]})},jt=({tip:e,spinning:t=!0,size:r="default",overlay:n=!1,spinType:s="antd",children:a,...c})=>{const u=()=>s==="helppeople"?o.jsx(Ge,{size:r}):o.jsx(l.Spin,{spinning:t,size:r,...c});return n&&t?o.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},children:o.jsxs("div",{style:{textAlign:"center",color:"white"},children:[u(),e&&o.jsx("div",{style:{marginTop:8,fontSize:14},children:e})]})}):s==="helppeople"?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:a?"auto":"100px"},children:[t&&o.jsxs(o.Fragment,{children:[o.jsx(Ge,{size:r}),e&&o.jsx("div",{style:{marginTop:8,fontSize:14,color:"#666"},children:e})]}),a]}):o.jsx(l.Spin,{tip:e,spinning:t,size:r,...c,children:a})},vn=({columns:e,dataSource:t,pagination:r,loading:n,...s})=>{const a=t==null?void 0:t.filter(d=>d?Object.values(d).some(f=>f!=null&&f!==""):!1),c=e==null?void 0:e.map((d,i)=>({...d,key:d.key||i,title:typeof d.title=="string"?o.jsx("span",{style:{fontSize:"var(--font-size-medium)"},children:d.title}):d.title})),u=r?{...r,showTotal:(d,i)=>`${i[1]-i[0]+1} de ${d} registros`,style:{margin:0,padding:"10px 16px",borderTop:"1px solid #e0e0e0",backgroundColor:"#ffffff",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}}:!1;return o.jsxs("div",{style:{position:"relative"},children:[o.jsx(l.Table,{...s,loading:!1,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",overflow:"visible"},scroll:{x:"max-content"},columns:c,dataSource:a,pagination:u}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.8)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10},children:o.jsx(jt,{spinning:!0,spinType:"helppeople",size:"small"})})]})},bn=({items:e,defaultActiveKey:t,activeKey:r,onChange:n,type:s="line",showCardWrapper:a=!0,topBarContent:c,topBarAlign:u="right"})=>{const d={backgroundColor:"#ffffff",border:"1px solid #e0e0e0",borderRadius:"8px",padding:"1rem",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"},f={display:"flex",justifyContent:(()=>{switch(u){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"flex-end"}})(),alignItems:"center",gap:"0.5rem",flexWrap:"wrap"},h=o.jsx(l.Tabs,{defaultActiveKey:t,activeKey:r,onChange:n,type:s,tabBarStyle:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)",lineHeight:"1.5"},items:e.map(g=>({key:g.key,label:o.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:g.label}),children:o.jsx("div",{style:{padding:"1rem",backgroundColor:"#ffffff"},children:g.content})}))});return a?o.jsxs("div",{style:d,children:[c&&o.jsx("div",{style:f,children:c}),h]}):o.jsxs(o.Fragment,{children:[c&&o.jsx("div",{style:f,children:c}),h]})},Sn=({title:e,onBack:t,onNew:r,newButtonText:n="Nueva",backButtonText:s="Volver",newButtonLoading:a=!1,newButtonDisabled:c=!1,pageType:u="list",customButtons:d=[],hideDefaultButtons:i=!1})=>{const f=()=>u==="form"?o.jsx(yt,{}):u==="detail"?o.jsx(Ee,{}):o.jsx(Re,{});return o.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"1rem 1.5rem",backgroundColor:"#ffffff",borderBottom:"1px solid #e0e0e0",marginBottom:"1rem"},children:[o.jsx("h2",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)",flex:"1 1 auto"},children:e}),o.jsxs(l.Space,{wrap:!0,children:[d.map(h=>o.jsx(V,{type:h.type||"default",onClick:h.onClick,icon:h.icon,text:h.text,loading:h.loading,disabled:h.disabled,style:{fontSize:"var(--font-size-medium)",...h.style}},h.key)),!i&&o.jsxs(o.Fragment,{children:[t&&o.jsx(V,{type:"default",onClick:t,icon:o.jsx(ut,{}),style:{fontSize:"var(--font-size-medium)"},text:s}),r&&o.jsx(V,{type:"primary",onClick:r,icon:f(),style:{fontSize:"var(--font-size-medium)"},text:n,loading:a,disabled:c})]})]})]})},Cn=({content:e,children:t,...r})=>o.jsx(l.Tooltip,{title:e,...r,style:{fontSize:"var(--font-size-medium)"},children:t}),wn=({buttonText:e="Subir archivo",...t})=>o.jsx(l.Upload,{...t,children:o.jsx(l.Button,{icon:o.jsx(vt,{}),children:e})}),jn=({visible:e,title:t,fields:r,filters:n,onClose:s,onApplyFilters:a,onClearFilters:c,onChange:u,translations:d={}})=>o.jsx(l.Drawer,{title:t,placement:"right",onClose:s,visible:e,width:400,bodyStyle:{paddingBottom:80},footer:o.jsx("div",{style:{textAlign:"right"},children:o.jsxs(l.Space,{children:[o.jsx(l.Button,{type:"primary",onClick:a,children:d.applyFilters||"Aplicar filtros"}),o.jsx(l.Tooltip,{title:d.clearFilters||"Limpiar filtros",placement:"left",children:o.jsx(l.Button,{icon:o.jsx(le,{}),onClick:c})})]})}),footerStyle:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px"},children:o.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"16px"},children:r.map(i=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"calc(50% - 8px)"},children:[o.jsx("label",{style:{marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)"},children:i.label}),{text:o.jsx(l.Input,{placeholder:i.placeholder,value:n[i.key],onChange:f=>u(i.key,f.target.value)}),number:o.jsx(l.InputNumber,{placeholder:i.placeholder,value:n[i.key],onChange:f=>u(i.key,f),style:{width:"100%"}}),select:o.jsx(l.Select,{placeholder:i.placeholder,options:i.options,value:n[i.key],onChange:f=>u(i.key,f),style:{width:"100%"}})}[i.type]]},i.key))})}),On=({visible:e,title:t,filters:r,onChange:n,onClose:s,onSubmit:a,onClear:c,children:u,loading:d=!1,translations:i={}})=>o.jsx(l.Drawer,{title:t,placement:"right",onClose:s,open:e,width:400,styles:{body:{paddingBottom:80,display:"flex",flexWrap:"wrap",gap:16},footer:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px",textAlign:"right"}},footer:o.jsx("div",{style:{textAlign:"right"},children:o.jsxs(l.Space,{children:[o.jsx(l.Button,{type:"primary",onClick:a,loading:d,disabled:d,style:{color:"#fff",backgroundColor:"#1b1464"},children:i.apply||"Aplicar"}),o.jsx(l.Tooltip,{title:i.clearFilters||"Limpiar filtros",children:o.jsx(l.Button,{icon:o.jsx(le,{}),onClick:c,disabled:d,style:{color:"#1b1464",borderColor:"#1b1464"}})})]})}),children:u({filters:r,onChange:n})}),kn=`
85
+ H69.32c-29.13,0-52.75-23.61-52.75-52.75s23.61-52.75,52.75-52.75c21.19,0,39.46,12.49,47.85,30.52`})})]})]})},jt=({tip:e,spinning:t=!0,size:r="default",overlay:n=!1,spinType:s="antd",children:a,...c})=>{const u=()=>s==="helppeople"?o.jsx(Ge,{size:r}):o.jsx(l.Spin,{spinning:t,size:r,...c});return n&&t?o.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},children:o.jsxs("div",{style:{textAlign:"center",color:"white"},children:[u(),e&&o.jsx("div",{style:{marginTop:8,fontSize:14},children:e})]})}):s==="helppeople"?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:a?"auto":"100px"},children:[t&&o.jsxs(o.Fragment,{children:[o.jsx(Ge,{size:r}),e&&o.jsx("div",{style:{marginTop:8,fontSize:14,color:"#666"},children:e})]}),a]}):o.jsx(l.Spin,{tip:e,spinning:t,size:r,...c,children:a})},vn=({columns:e,dataSource:t,pagination:r,loading:n,...s})=>{const a=t==null?void 0:t.filter(d=>d?Object.values(d).some(f=>f!=null&&f!==""):!1),c=e==null?void 0:e.map((d,i)=>{const f={...d,key:d.key||i,title:typeof d.title=="string"?o.jsx("span",{style:{fontSize:"var(--font-size-medium)"},children:d.title}):d.title};if(d.width===void 0){const h=d.onCell;return{...f,onCell:(g,p)=>{var S;return{...h?h(g,p):{},style:{...h?(S=h(g,p))==null?void 0:S.style:{},maxWidth:200,whiteSpace:"normal",wordWrap:"break-word",wordBreak:"break-word"}}}}}return f}),u=r?{...r,showTotal:(d,i)=>`${i[1]-i[0]+1} de ${d} registros`,style:{margin:0,padding:"10px 16px",borderTop:"1px solid #e0e0e0",backgroundColor:"#ffffff",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}}:!1;return o.jsxs("div",{style:{position:"relative"},children:[o.jsx(l.Table,{...s,loading:!1,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",overflow:"visible"},scroll:{x:"max-content"},columns:c,dataSource:a,pagination:u}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.8)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10},children:o.jsx(jt,{spinning:!0,spinType:"helppeople",size:"small"})})]})},bn=({items:e,defaultActiveKey:t,activeKey:r,onChange:n,type:s="line",showCardWrapper:a=!0,topBarContent:c,topBarAlign:u="right"})=>{const d={backgroundColor:"#ffffff",border:"1px solid #e0e0e0",borderRadius:"8px",padding:"1rem",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"},f={display:"flex",justifyContent:(()=>{switch(u){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"flex-end"}})(),alignItems:"center",gap:"0.5rem",flexWrap:"wrap"},h=o.jsx(l.Tabs,{defaultActiveKey:t,activeKey:r,onChange:n,type:s,tabBarStyle:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)",lineHeight:"1.5"},items:e.map(g=>({key:g.key,label:o.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:g.label}),children:o.jsx("div",{style:{padding:"1rem",backgroundColor:"#ffffff"},children:g.content})}))});return a?o.jsxs("div",{style:d,children:[c&&o.jsx("div",{style:f,children:c}),h]}):o.jsxs(o.Fragment,{children:[c&&o.jsx("div",{style:f,children:c}),h]})},Sn=({title:e,onBack:t,onNew:r,newButtonText:n="Nueva",backButtonText:s="Volver",newButtonLoading:a=!1,newButtonDisabled:c=!1,pageType:u="list",customButtons:d=[],hideDefaultButtons:i=!1})=>{const f=()=>u==="form"?o.jsx(yt,{}):u==="detail"?o.jsx(Ee,{}):o.jsx(Re,{});return o.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"1rem 1.5rem",backgroundColor:"#ffffff",borderBottom:"1px solid #e0e0e0",marginBottom:"1rem"},children:[o.jsx("h2",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)",flex:"1 1 auto"},children:e}),o.jsxs(l.Space,{wrap:!0,children:[d.map(h=>o.jsx(V,{type:h.type||"default",onClick:h.onClick,icon:h.icon,text:h.text,loading:h.loading,disabled:h.disabled,style:{fontSize:"var(--font-size-medium)",...h.style}},h.key)),!i&&o.jsxs(o.Fragment,{children:[t&&o.jsx(V,{type:"default",onClick:t,icon:o.jsx(ut,{}),style:{fontSize:"var(--font-size-medium)"},text:s}),r&&o.jsx(V,{type:"primary",onClick:r,icon:f(),style:{fontSize:"var(--font-size-medium)"},text:n,loading:a,disabled:c})]})]})]})},Cn=({content:e,children:t,...r})=>o.jsx(l.Tooltip,{title:e,...r,style:{fontSize:"var(--font-size-medium)"},children:t}),wn=({buttonText:e="Subir archivo",...t})=>o.jsx(l.Upload,{...t,children:o.jsx(l.Button,{icon:o.jsx(vt,{}),children:e})}),jn=({visible:e,title:t,fields:r,filters:n,onClose:s,onApplyFilters:a,onClearFilters:c,onChange:u,translations:d={}})=>o.jsx(l.Drawer,{title:t,placement:"right",onClose:s,visible:e,width:400,bodyStyle:{paddingBottom:80},footer:o.jsx("div",{style:{textAlign:"right"},children:o.jsxs(l.Space,{children:[o.jsx(l.Button,{type:"primary",onClick:a,children:d.applyFilters||"Aplicar filtros"}),o.jsx(l.Tooltip,{title:d.clearFilters||"Limpiar filtros",placement:"left",children:o.jsx(l.Button,{icon:o.jsx(le,{}),onClick:c})})]})}),footerStyle:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px"},children:o.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"16px"},children:r.map(i=>o.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"calc(50% - 8px)"},children:[o.jsx("label",{style:{marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)"},children:i.label}),{text:o.jsx(l.Input,{placeholder:i.placeholder,value:n[i.key],onChange:f=>u(i.key,f.target.value)}),number:o.jsx(l.InputNumber,{placeholder:i.placeholder,value:n[i.key],onChange:f=>u(i.key,f),style:{width:"100%"}}),select:o.jsx(l.Select,{placeholder:i.placeholder,options:i.options,value:n[i.key],onChange:f=>u(i.key,f),style:{width:"100%"}})}[i.type]]},i.key))})}),On=({visible:e,title:t,filters:r,onChange:n,onClose:s,onSubmit:a,onClear:c,children:u,loading:d=!1,translations:i={}})=>o.jsx(l.Drawer,{title:t,placement:"right",onClose:s,open:e,width:400,styles:{body:{paddingBottom:80,display:"flex",flexWrap:"wrap",gap:16},footer:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px",textAlign:"right"}},footer:o.jsx("div",{style:{textAlign:"right"},children:o.jsxs(l.Space,{children:[o.jsx(l.Button,{type:"primary",onClick:a,loading:d,disabled:d,style:{color:"#fff",backgroundColor:"#1b1464"},children:i.apply||"Aplicar"}),o.jsx(l.Tooltip,{title:i.clearFilters||"Limpiar filtros",children:o.jsx(l.Button,{icon:o.jsx(le,{}),onClick:c,disabled:d,style:{color:"#1b1464",borderColor:"#1b1464"}})})]})}),children:u({filters:r,onChange:n})}),kn=`
86
86
  .custom-form .ant-form-item-label > label {
87
87
  font-weight: var(--font-weight-semibold, 600) !important;
88
88
  font-family: var(--font-family, inherit) !important;
@@ -91,4 +91,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
91
91
  .custom-form .ant-form-item-required::before {
92
92
  color: #ff4d4f !important;
93
93
  }
94
- `,re=e=>{const[t]=l.Form.useForm(),r=e.form||t;return o.jsxs(o.Fragment,{children:[o.jsx("style",{children:kn}),o.jsx(l.Form,{...e,className:`custom-form ${e.className||""}`,form:r,children:typeof e.children=="function"?e.children(r):e.children})]})};re.Item=l.Form.Item;re.List=l.Form.List;re.useForm=l.Form.useForm;re.useWatch=l.Form.useWatch;re.useFormInstance=l.Form.useFormInstance;const Ot=e=>o.jsx(l.Row,{...e,children:e.children}),kt=e=>o.jsx(l.Col,{...e,children:e.children}),Tn=e=>o.jsx(l.Space,{...e,children:e.children}),Tt=e=>o.jsx(l.Card,{...e}),En=e=>o.jsx(l.Tag,{...e});var Nn={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return e==="Día"?"Hoy":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+(e==="Semana"?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},Rn={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${e===1?"":"s"}`}},zn={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return e==="Dia"?"Hoje":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+(e==="Semana"?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"};const Mn={es:Nn,en:Rn,pt:zn},_n=({events:e,initialView:t="dayGridMonth",height:r=600,selectable:n=!0,editable:s=!1,onEventClick:a,onDateSelect:c,renderEventContent:u,localeCode:d="es"})=>{const i=e;function f(p){a&&a({id:p.event.id,title:p.event.title,start:p.event.start,end:p.event.end??void 0,allDay:p.event.allDay})}function h(p){c&&c({start:p.start,end:p.end,allDay:p.allDay})}function g(p){return o.jsxs("div",{children:[o.jsx("b",{children:p.timeText})," ",o.jsx("span",{children:p.event.title})]})}return o.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",flexWrap:"nowrap",padding:"8px 12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,width:"100%",minHeight:"100vh",boxSizing:"border-box"},children:o.jsx(zt,{plugins:[Mt,_t,Dt],initialView:t,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},height:r,selectable:n,editable:s,events:i,eventContent:u??g,eventClick:f,select:h,locale:Mn[d||"es"]})})},Dn={toolbar:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"}],["link","image"],["clean"],[{color:[]},{background:[]}],[{align:[]}]],clipboard:{matchVisual:!1}},Hn=["header","bold","italic","underline","strike","blockquote","list","bullet","link","image","color","background","align"],In=({value:e="",onChange:t=()=>{},placeholder:r="Escribe aquí...",modules:n=Dn,formats:s=Hn,theme:a="snow",height:c="200px",width:u="100%",maxHeight:d="400px",minHeight:i="100px",autoResize:f=!1,className:h="",...g})=>{const p=D.useRef(null),w=D.useRef(null);D.useEffect(()=>{if(f&&p.current&&w.current){const H=p.current.getEditor(),I=w.current,M=()=>{const m=I.querySelector(".ql-editor");if(m){const j=m.scrollHeight,$=typeof i=="number"?i:parseInt(i),S=typeof d=="number"?d:parseInt(d),P=Math.min(Math.max(j+42,$),S);I.style.height=`${P}px`}};return H.on("text-change",M),M(),()=>{H.off("text-change",M)}}},[f,d,i]);const y={width:typeof u=="number"?`${u}px`:u,height:f?"auto":typeof c=="number"?`${c}px`:c,minHeight:typeof i=="number"?`${i}px`:i,maxHeight:f?typeof d=="number"?`${d}px`:d:"none",display:"flex",flexDirection:"column",border:"1px solid #d9d9d9",borderRadius:"6px",backgroundColor:"#ffffff",...g.style},k={height:"100%",display:"flex",flexDirection:"column"};return o.jsx("div",{ref:w,className:`custom-rich-text-editor ${f?"auto-resize":"fixed-height"} ${h}`,style:y,children:o.jsx(Ht,{ref:p,theme:a,value:e,onChange:t,modules:n,formats:s,placeholder:r,style:k,...g})})},ce=e=>o.jsx(l.Menu,{className:`custom-menu ${e.className||""}`,style:{fontSize:"var(--font-size-medium)",...e.style},...e});ce.Item=e=>o.jsx(l.Menu.Item,{...e,className:`custom-menu-item ${e.className||""}`});ce.SubMenu=e=>o.jsx(l.Menu.SubMenu,{...e,className:`custom-menu-submenu ${e.className||""}`});ce.ItemGroup=l.Menu.ItemGroup;ce.Divider=l.Menu.Divider;const Et=({className:e,children:t,items:r,menu:n,...s})=>{const a=r?{items:r}:n;return o.jsx(l.Dropdown,{className:`custom-dropdown ${e||""}`,menu:a,...s,children:t})};Et.Button=e=>o.jsx(l.Dropdown.Button,{className:`custom-dropdown-button ${e.className||""}`,...e});const{Title:Ln}=l.Typography,Fn=({available:e,selected:t,onChange:r,availableTitle:n="Disponibles",selectedTitle:s="Seleccionados",emptyDescription:a="Arrastra los elementos aquí"})=>{const c=d=>{const{source:i,destination:f}=d;if(f&&!(i.droppableId===f.droppableId&&i.index===f.index))if(i.droppableId===f.droppableId){const h=i.droppableId==="disponibles"?[...e]:[...t],[g]=h.splice(i.index,1);h.splice(f.index,0,g),i.droppableId==="disponibles"?r(h,t):r(e,h)}else{const h=i.droppableId==="disponibles"?[...e]:[...t],g=f.droppableId==="disponibles"?[...e]:[...t],[p]=h.splice(i.index,1);g.splice(f.index,0,p),i.droppableId==="disponibles"?r(h,g):r(g,h)}},u=(d,i,f)=>o.jsxs(kt,{span:12,children:[o.jsx(Ln,{level:4,style:{marginBottom:16,fontSize:14},children:i}),o.jsx(ge.Droppable,{droppableId:d,children:(h,g)=>o.jsxs("div",{ref:h.innerRef,...h.droppableProps,style:{minHeight:300,background:g.isDraggingOver?"#f0f9ff":"#f8fafc",padding:16,borderRadius:8,border:`2px dashed ${g.isDraggingOver?"#3b82f6":"#cbd5e1"}`,transition:"all 0.2s ease"},children:[f.length===0?o.jsx(l.Empty,{description:a,style:{opacity:.3}}):f.map((p,w)=>o.jsx(ge.Draggable,{draggableId:p.id,index:w,children:(y,k)=>o.jsx("div",{ref:y.innerRef,...y.draggableProps,...y.dragHandleProps,style:{marginBottom:8,cursor:k.isDragging?"grabbing":"grab",opacity:k.isDragging?.8:1,transform:k.isDragging?"rotate(3deg)":"none",...y.draggableProps.style},children:o.jsx(Tt,{size:"small",style:{boxShadow:k.isDragging?"0 4px 6px -1px rgb(0 0 0 / 0.1)":"none",fontSize:"var(--font-size-medium)"},children:p.content})})},p.id)),h.placeholder]})})]});return o.jsx(ge.DragDropContext,{onDragEnd:c,children:o.jsxs(Ot,{gutter:16,style:{margin:"24px 0"},children:[u("disponibles",n,e),u("seleccionados",s,t)]})})},Bn=({items:e,defaultActiveKey:t,activeKey:r,onChange:n,accordion:s=!1,bordered:a=!0,collapsible:c="header",expandIcon:u,expandIconPosition:d="start",ghost:i=!1,size:f="middle",className:h,style:g})=>{const w={items:e.map(y=>({key:y.key,label:y.header,children:y.children,disabled:y.disabled,showArrow:y.showArrow,extra:y.extra,className:y.className,style:y.style})),defaultActiveKey:t,activeKey:r,onChange:n,accordion:s,bordered:a,collapsible:c,expandIcon:u,expandIconPosition:d,ghost:i,size:f,className:h,style:g};return o.jsx("div",{style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12},children:o.jsx(l.Collapse,{...w})})},An=({dataSource:e,targetKeys:t=[],selectedKeys:r=[],onChange:n,onSelectChange:s,onSearch:a,onScroll:c,titles:u=["Origen","Destino"],operations:d=[">","<"],showSearch:i=!1,filterOption:f,disabled:h=!1,listStyle:g,className:p,style:w,render:y,children:k,showSelectAll:H=!0,selectAllLabels:I,oneWay:M=!1,pagination:m=!1,status:j,locale:$,remotePagination:S,onPageChange:P})=>{const X=e.map(C=>({key:C.key,title:C.title,description:C.description,disabled:C.disabled||!1,chosen:C.chosen||!1})),O=n?(C,F,de)=>n(C,F,de):void 0,W=s?(C,F)=>s(C,F):void 0,ne=a?(C,F)=>a(C,F):void 0,x=c?(C,F)=>c(C,F):void 0,L=["hp-transfer",p].filter(Boolean).join(" "),Z=!!S&&S.position!=="none",Q={dataSource:X,targetKeys:t,selectedKeys:r,onChange:O,onSelectChange:W,onSearch:ne,onScroll:x,titles:u,operations:d,showSearch:i,filterOption:f?(C,F)=>f(C,F):void 0,disabled:h,listStyle:g,className:L,render:y||(C=>C.title),showSelectAll:H,selectAllLabels:I,oneWay:M,pagination:Z?!1:m,status:j,locale:$,footer:Z?({direction:C})=>{const F=(S==null?void 0:S.position)??"left";if(!(F==="both"||F==="left"&&C==="left"||F==="right"&&C==="right"))return null;const b=C==="left"?S==null?void 0:S.left:S==null?void 0:S.right;if(!b)return null;const{page:N,pageSize:G,total:Y}=b,q=(S==null?void 0:S.simple)??!0,U=(S==null?void 0:S.showSizeChanger)??!0;return o.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:o.jsx(l.Pagination,{size:"small",simple:q,current:N,total:Y,pageSize:G,showSizeChanger:U,pageSizeOptions:["5","10","20","50"],onChange:(oe,se)=>{P==null||P(C,oe,se)}})})}:void 0};return o.jsx("div",{style:{marginBottom:12,...w},children:k?k(Q):o.jsx(l.Transfer,{...Q})})},$n=({dataSource:e=[],targetKeys:t=[],selectedKeys:r=[],onChange:n,onSelectChange:s,onSearch:a,onScroll:c,titles:u=["Origen","Destino"],operations:d=[">","<"],showSearch:i=!1,filterOption:f,disabled:h=!1,listStyle:g,className:p,style:w,selectAllLabels:y,oneWay:k=!1,status:H,locale:I,leftColumns:M,rightColumns:m,rowKey:j="key",tableSize:$="small",tableScroll:S,showDefaultHeaderActions:P=!0,headerActions:X=[],remotePagination:O,onPageChange:W})=>{const ne=(e??[]).map(b=>({...b,key:b.key,title:b.title||b.key||String(b.key),description:b.description,disabled:b.disabled||!1,chosen:b.chosen||!1})),x=n?(b,N,G)=>n(b,N,G):void 0,L=s?(b,N)=>s(b,N):void 0,Z=a?(b,N)=>a(b,N):void 0,Q=c?(b,N)=>c(b,N):void 0,C=["hp-transfer","hp-table-transfer",p].filter(Boolean).join(" "),F=!!O&&(O.position??"left")!=="none",de={dataSource:ne,targetKeys:t,selectedKeys:r,onChange:x,onSelectChange:L,onSearch:Z,onScroll:Q,titles:u,operations:d,showSearch:i,filterOption:f,disabled:h,listStyle:g,className:C,showSelectAll:P,selectAllLabels:y,oneWay:k,pagination:!1,status:H,locale:I,footer:F?({direction:b})=>{const N=(O==null?void 0:O.position)??"left";if(!(N==="both"||N==="left"&&b==="left"||N==="right"&&b==="right"))return null;const Y=b==="left"?O==null?void 0:O.left:O==null?void 0:O.right;if(!Y)return null;const{page:q,pageSize:U,total:oe}=Y,se=(O==null?void 0:O.simple)??!0,me=(O==null?void 0:O.showSizeChanger)??!0;return o.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:o.jsx(l.Pagination,{size:"small",simple:se,current:q,total:oe,pageSize:U,showSizeChanger:me,pageSizeOptions:["5","10","20","50"],onChange:(T,B)=>W==null?void 0:W(b,T,B)})})}:void 0};return o.jsx("div",{style:{marginBottom:12,...w},children:o.jsx(l.Transfer,{...de,children:({direction:b,filteredItems:N,onItemSelect:G,onItemSelectAll:Y,selectedKeys:q,disabled:U})=>{const oe=b==="left"?M:m??M,se={getCheckboxProps:T=>({disabled:U||T.disabled}),selectedRowKeys:q,onSelect:(T,B)=>{G(T.key,B)},hideSelectAll:!1,onChange:T=>{Y(T,"replace")},selections:(()=>{const T=[];return P&&T.push({key:"select-all-data",text:"Select all data",onSelect:()=>{const B=N.map(J=>J.key);Y(B,"replace")}},{key:"invert-current-page",text:"Invert current page",onSelect:()=>{const B=N.map(pe=>pe.key),J=q,Rt=B.filter(pe=>!J.includes(pe));Y(Rt,"replace")}}),X.forEach(B=>{T.push({key:B.key,text:B.label,onSelect:()=>{var J;(J=B.onClick)==null||J.call(B,b,q)}})}),T.length>0?T:!1})()},me=typeof j=="function"?j:T=>T[j];return o.jsx(l.Table,{showHeader:!0,size:$,columns:oe,dataSource:N,rowKey:me,pagination:!1,rowSelection:se,style:{pointerEvents:U?"none":void 0,height:"100%"},onRow:T=>({onClick:()=>{if(U||T.disabled)return;const B=!q.includes(T.key);G(T.key,B)}}),scroll:S})}})})},Nt=({count:e=0,overflowCount:t=99,dot:r=!1,color:n,size:s="default",icon:a,useButton:c=!1,buttonType:u="text",buttonShape:d="circle",onClick:i,style:f,containerStyle:h,showZero:g=!1,offset:p,className:w,disabled:y=!1})=>{const k=()=>{switch(s){case"small":return"18px";case"large":return"28px";default:return"24px"}},H=a||o.jsx(Te,{style:{fontSize:k(),...h}}),I=c?o.jsx(l.Button,{type:u,icon:H,shape:d,onClick:i,style:h,disabled:y,className:w}):o.jsx("span",{onClick:i,style:{cursor:i?"pointer":"default",display:"inline-flex",alignItems:"center",justifyContent:"center",...h},className:w,children:H});return o.jsx(l.Badge,{count:e,overflowCount:t,dot:r,color:n,showZero:g,offset:p,style:f,children:I})},Pn=({count:e,notifications:t=[],icon:r,size:n="default",useButton:s=!1,buttonType:a="text",onNotificationClick:c,onLoadMore:u,hasMore:d=!1,loading:i=!1,renderNotification:f,loadMoreText:h="Cargar más",emptyText:g="No hay notificaciones",popoverWidth:p=380,overflowCount:w=99,badgeColor:y,showZero:k=!1,containerStyle:H,popoverTitle:I="Notificaciones",onOpenChange:M,headerAction:m,maxHeight:j=400,placement:$="bottomRight"})=>{const[S,P]=D.useState(!1),X=x=>{P(x),M==null||M(x)},O=x=>{c==null||c(x)},W=x=>o.jsxs("div",{style:{padding:"12px",cursor:x.actions?"default":"pointer",backgroundColor:x.read?"transparent":"#f0f7ff",borderRadius:"4px",transition:"background-color 0.3s",width:"100%",boxSizing:"border-box"},onMouseEnter:L=>{L.currentTarget.style.backgroundColor=x.read?"#fafafa":"#e6f4ff"},onMouseLeave:L=>{L.currentTarget.style.backgroundColor=x.read?"transparent":"#f0f7ff"},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"4px"},children:[o.jsx("span",{style:{fontWeight:x.read?400:600,fontSize:"14px",color:x.read?"#595959":"#262626"},children:x.title}),!x.read&&o.jsx("span",{style:{width:"8px",height:"8px",backgroundColor:"#1890ff",borderRadius:"50%",marginLeft:"8px",flexShrink:0}})]}),x.description&&o.jsx("div",{style:{fontSize:"13px",color:"#8c8c8c",marginBottom:x.actions?"8px":"4px",lineHeight:"1.4"},children:x.description}),x.timestamp&&o.jsx("div",{style:{fontSize:"12px",color:"#bfbfbf",marginBottom:x.actions?"8px":"0"},children:x.timestamp}),x.actions&&x.actions.length>0&&o.jsx(l.Space,{size:"small",style:{marginTop:"8px"},children:x.actions.map((L,Z)=>o.jsx(l.Button,{type:L.type||"default",size:L.size||"small",icon:L.icon,danger:L.danger,disabled:L.disabled,onClick:Q=>{Q.stopPropagation(),L.onClick(x)},children:L.label},Z))})]}),ne=o.jsxs("div",{style:{width:p},children:[m&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[o.jsx("span",{style:{fontWeight:600,fontSize:"14px"},children:I}),m]}),o.jsx(l.Divider,{style:{margin:"8px 0"}})]}),o.jsx("div",{style:{maxHeight:j,overflowY:"auto"},children:t.length===0?o.jsx(l.Empty,{description:g,image:l.Empty.PRESENTED_IMAGE_SIMPLE,style:{padding:"24px 0"}}):o.jsx(l.List,{dataSource:t,renderItem:x=>o.jsx(l.List.Item,{style:{padding:0,border:"none",marginBottom:"4px",width:"100%"},onClick:()=>O(x),children:f?f(x):W(x)})})}),d&&t.length>0&&o.jsxs(o.Fragment,{children:[o.jsx(l.Divider,{style:{margin:"8px 0"}}),o.jsx("div",{style:{textAlign:"center",padding:"8px 0"},children:o.jsx(V,{text:h,onClick:u||(()=>{}),loading:i,icon:i?o.jsx(gt,{}):void 0,style:{width:"100%"}})})]})]});return o.jsx(l.Popover,{content:ne,title:m?null:I,trigger:"click",open:S,onOpenChange:X,placement:$,overlayStyle:{maxWidth:p+48},children:o.jsx(Nt,{count:e!==void 0?e:t.filter(x=>!x.read).length,icon:r||o.jsx(Te,{}),size:n,useButton:s,buttonType:a,overflowCount:w,color:y,showZero:k,containerStyle:H,onClick:()=>X(!S)})})},Vn=e=>o.jsx(l.Empty,{...e}),Yn=({className:e,style:t,...r},n)=>o.jsx(l.List,{ref:n,className:`${e}`,style:t,...r}),_e=D.forwardRef(Yn);_e.Item=l.List.Item;_e.ItemMeta=l.List.Item.Meta;const qn={INPUT_HEIGHT:25,FONT_SIZE:12,PRIMARY_COLOR:"#1b1464",FONT_FAMILY:'"Open Sans", sans-serif',TABLE_ROW_HEIGHT:25,BORDER_COLOR:"#d9d9d9",TEXT_COLOR:"#333333"},Wn=({children:e,customTokens:t={}})=>{const r={...qn,...t};return o.jsx(l.ConfigProvider,{theme:{token:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,colorPrimary:r.PRIMARY_COLOR,fontFamily:r.FONT_FAMILY,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgBase:"#ffffff"},components:{Button:{fontSize:r.FONT_SIZE,controlHeight:22,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044",colorText:r.TEXT_COLOR,colorBgContainer:"#ffffff",colorBorder:r.BORDER_COLOR},Table:{cellFontSize:r.FONT_SIZE,cellPaddingBlock:4,headerBg:"#fafafa",headerColor:r.TEXT_COLOR,headerSplitColor:r.BORDER_COLOR,colorText:"inherit"},Input:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},Select:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},DatePicker:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY,colorBorder:r.BORDER_COLOR,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",borderRadius:4,paddingInline:8},Checkbox:{colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044"},Spin:{colorPrimary:r.PRIMARY_COLOR,dotSize:20,dotSizeSM:16,dotSizeLG:24},Transfer:{listHeight:200,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgContainer:"#ffffff",fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY},Divider:{fontSize:r.FONT_SIZE,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,fontFamily:r.FONT_FAMILY}}},children:o.jsx("div",{className:"library-components-wrapper","data-input-height":r.INPUT_HEIGHT,"data-font-size":r.FONT_SIZE,"data-primary-color":r.PRIMARY_COLOR,children:e})})},Gn={open:e=>{l.message.open(e)},success:(e,t,r)=>{l.message.success(e,t,r)},error:(e,t,r)=>{l.message.error(e,t,r)},info:(e,t,r)=>{l.message.info(e,t,r)},warning:(e,t,r)=>{l.message.warning(e,t,r)},loading:(e,t,r)=>{l.message.loading(e,t,r)}};exports.Accordion=Bn;exports.Alert=Lt;exports.Button=V;exports.Calendar=_n;exports.Card=Tt;exports.CheckBox=Ue;exports.ClearOutlined=le;exports.CloseOutlined=ft;exports.Col=kt;exports.CustomFilterDrawer=jn;exports.CustomFilterDrawerHp=On;exports.DatePicker=fe;exports.DeleteOutlined=ht;exports.Divider=Zt;exports.DragAndDrop=Fn;exports.Drawer=Qt;exports.Dropdown=Et;exports.EditOutlined=Ee;exports.Empty=Vn;exports.FileExcelOutlined=mt;exports.FilePdfOutlined=pt;exports.FilterOutlined=Ne;exports.FilterToolbar=mn;exports.FloatButton=Me;exports.Form=re;exports.Input=ze;exports.InputSwitch=pn;exports.LibraryThemeProvider=Wn;exports.List=_e;exports.Menu=ce;exports.Message=Gn;exports.Modal=Ct;exports.Notification=gn;exports.NotificationBadge=Nt;exports.NotificationDropdown=Pn;exports.NumericInput=bt;exports.Password=un;exports.PlusOutlined=Re;exports.Radio=wt;exports.RadioGroup=yn;exports.RichTextEditor=In;exports.Row=Ot;exports.Search=hn;exports.SearchOutlined=xt;exports.Select=St;exports.Skeleton=xn;exports.Space=Tn;exports.Spin=jt;exports.Table=vn;exports.TableTransfer=$n;exports.Tabs=bn;exports.Tag=En;exports.TextArea=fn;exports.Toolbar=Sn;exports.Tooltip=Cn;exports.Transfer=An;exports.Upload=wn;
94
+ `,te=e=>{const[t]=l.Form.useForm(),r=e.form||t;return o.jsxs(o.Fragment,{children:[o.jsx("style",{children:kn}),o.jsx(l.Form,{...e,className:`custom-form ${e.className||""}`,form:r,children:typeof e.children=="function"?e.children(r):e.children})]})};te.Item=l.Form.Item;te.List=l.Form.List;te.useForm=l.Form.useForm;te.useWatch=l.Form.useWatch;te.useFormInstance=l.Form.useFormInstance;const Ot=e=>o.jsx(l.Row,{...e,children:e.children}),kt=e=>o.jsx(l.Col,{...e,children:e.children}),Tn=e=>o.jsx(l.Space,{...e,children:e.children}),Tt=e=>o.jsx(l.Card,{...e}),En=e=>o.jsx(l.Tag,{...e});var Nn={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return e==="Día"?"Hoy":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+(e==="Semana"?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},Rn={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${e===1?"":"s"}`}},zn={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return e==="Dia"?"Hoje":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+(e==="Semana"?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"};const Mn={es:Nn,en:Rn,pt:zn},_n=({events:e,initialView:t="dayGridMonth",height:r=600,selectable:n=!0,editable:s=!1,onEventClick:a,onDateSelect:c,renderEventContent:u,localeCode:d="es"})=>{const i=e;function f(p){a&&a({id:p.event.id,title:p.event.title,start:p.event.start,end:p.event.end??void 0,allDay:p.event.allDay})}function h(p){c&&c({start:p.start,end:p.end,allDay:p.allDay})}function g(p){return o.jsxs("div",{children:[o.jsx("b",{children:p.timeText})," ",o.jsx("span",{children:p.event.title})]})}return o.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",flexWrap:"nowrap",padding:"8px 12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,width:"100%",minHeight:"100vh",boxSizing:"border-box"},children:o.jsx(zt,{plugins:[Mt,_t,Dt],initialView:t,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},height:r,selectable:n,editable:s,events:i,eventContent:u??g,eventClick:f,select:h,locale:Mn[d||"es"]})})},Dn={toolbar:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"}],["link","image"],["clean"],[{color:[]},{background:[]}],[{align:[]}]],clipboard:{matchVisual:!1}},Hn=["header","bold","italic","underline","strike","blockquote","list","bullet","link","image","color","background","align"],In=({value:e="",onChange:t=()=>{},placeholder:r="Escribe aquí...",modules:n=Dn,formats:s=Hn,theme:a="snow",height:c="200px",width:u="100%",maxHeight:d="400px",minHeight:i="100px",autoResize:f=!1,className:h="",...g})=>{const p=D.useRef(null),S=D.useRef(null);D.useEffect(()=>{if(f&&p.current&&S.current){const H=p.current.getEditor(),I=S.current,M=()=>{const m=I.querySelector(".ql-editor");if(m){const j=m.scrollHeight,$=typeof i=="number"?i:parseInt(i),w=typeof d=="number"?d:parseInt(d),P=Math.min(Math.max(j+42,$),w);I.style.height=`${P}px`}};return H.on("text-change",M),M(),()=>{H.off("text-change",M)}}},[f,d,i]);const y={width:typeof u=="number"?`${u}px`:u,height:f?"auto":typeof c=="number"?`${c}px`:c,minHeight:typeof i=="number"?`${i}px`:i,maxHeight:f?typeof d=="number"?`${d}px`:d:"none",display:"flex",flexDirection:"column",border:"1px solid #d9d9d9",borderRadius:"6px",backgroundColor:"#ffffff",...g.style},k={height:"100%",display:"flex",flexDirection:"column"};return o.jsx("div",{ref:S,className:`custom-rich-text-editor ${f?"auto-resize":"fixed-height"} ${h}`,style:y,children:o.jsx(Ht,{ref:p,theme:a,value:e,onChange:t,modules:n,formats:s,placeholder:r,style:k,...g})})},ce=e=>o.jsx(l.Menu,{className:`custom-menu ${e.className||""}`,style:{fontSize:"var(--font-size-medium)",...e.style},...e});ce.Item=e=>o.jsx(l.Menu.Item,{...e,className:`custom-menu-item ${e.className||""}`});ce.SubMenu=e=>o.jsx(l.Menu.SubMenu,{...e,className:`custom-menu-submenu ${e.className||""}`});ce.ItemGroup=l.Menu.ItemGroup;ce.Divider=l.Menu.Divider;const Et=({className:e,children:t,items:r,menu:n,...s})=>{const a=r?{items:r}:n;return o.jsx(l.Dropdown,{className:`custom-dropdown ${e||""}`,menu:a,...s,children:t})};Et.Button=e=>o.jsx(l.Dropdown.Button,{className:`custom-dropdown-button ${e.className||""}`,...e});const{Title:Ln}=l.Typography,Fn=({available:e,selected:t,onChange:r,availableTitle:n="Disponibles",selectedTitle:s="Seleccionados",emptyDescription:a="Arrastra los elementos aquí"})=>{const c=d=>{const{source:i,destination:f}=d;if(f&&!(i.droppableId===f.droppableId&&i.index===f.index))if(i.droppableId===f.droppableId){const h=i.droppableId==="disponibles"?[...e]:[...t],[g]=h.splice(i.index,1);h.splice(f.index,0,g),i.droppableId==="disponibles"?r(h,t):r(e,h)}else{const h=i.droppableId==="disponibles"?[...e]:[...t],g=f.droppableId==="disponibles"?[...e]:[...t],[p]=h.splice(i.index,1);g.splice(f.index,0,p),i.droppableId==="disponibles"?r(h,g):r(g,h)}},u=(d,i,f)=>o.jsxs(kt,{span:12,children:[o.jsx(Ln,{level:4,style:{marginBottom:16,fontSize:14},children:i}),o.jsx(ge.Droppable,{droppableId:d,children:(h,g)=>o.jsxs("div",{ref:h.innerRef,...h.droppableProps,style:{minHeight:300,background:g.isDraggingOver?"#f0f9ff":"#f8fafc",padding:16,borderRadius:8,border:`2px dashed ${g.isDraggingOver?"#3b82f6":"#cbd5e1"}`,transition:"all 0.2s ease"},children:[f.length===0?o.jsx(l.Empty,{description:a,style:{opacity:.3}}):f.map((p,S)=>o.jsx(ge.Draggable,{draggableId:p.id,index:S,children:(y,k)=>o.jsx("div",{ref:y.innerRef,...y.draggableProps,...y.dragHandleProps,style:{marginBottom:8,cursor:k.isDragging?"grabbing":"grab",opacity:k.isDragging?.8:1,transform:k.isDragging?"rotate(3deg)":"none",...y.draggableProps.style},children:o.jsx(Tt,{size:"small",style:{boxShadow:k.isDragging?"0 4px 6px -1px rgb(0 0 0 / 0.1)":"none",fontSize:"var(--font-size-medium)"},children:p.content})})},p.id)),h.placeholder]})})]});return o.jsx(ge.DragDropContext,{onDragEnd:c,children:o.jsxs(Ot,{gutter:16,style:{margin:"24px 0"},children:[u("disponibles",n,e),u("seleccionados",s,t)]})})},Bn=({items:e,defaultActiveKey:t,activeKey:r,onChange:n,accordion:s=!1,bordered:a=!0,collapsible:c="header",expandIcon:u,expandIconPosition:d="start",ghost:i=!1,size:f="middle",className:h,style:g})=>{const S={items:e.map(y=>({key:y.key,label:y.header,children:y.children,disabled:y.disabled,showArrow:y.showArrow,extra:y.extra,className:y.className,style:y.style})),defaultActiveKey:t,activeKey:r,onChange:n,accordion:s,bordered:a,collapsible:c,expandIcon:u,expandIconPosition:d,ghost:i,size:f,className:h,style:g};return o.jsx("div",{style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12},children:o.jsx(l.Collapse,{...S})})},An=({dataSource:e,targetKeys:t=[],selectedKeys:r=[],onChange:n,onSelectChange:s,onSearch:a,onScroll:c,titles:u=["Origen","Destino"],operations:d=[">","<"],showSearch:i=!1,filterOption:f,disabled:h=!1,listStyle:g,className:p,style:S,render:y,children:k,showSelectAll:H=!0,selectAllLabels:I,oneWay:M=!1,pagination:m=!1,status:j,locale:$,remotePagination:w,onPageChange:P})=>{const re=e.map(C=>({key:C.key,title:C.title,description:C.description,disabled:C.disabled||!1,chosen:C.chosen||!1})),O=n?(C,F,de)=>n(C,F,de):void 0,W=s?(C,F)=>s(C,F):void 0,ne=a?(C,F)=>a(C,F):void 0,x=c?(C,F)=>c(C,F):void 0,L=["hp-transfer",p].filter(Boolean).join(" "),X=!!w&&w.position!=="none",Z={dataSource:re,targetKeys:t,selectedKeys:r,onChange:O,onSelectChange:W,onSearch:ne,onScroll:x,titles:u,operations:d,showSearch:i,filterOption:f?(C,F)=>f(C,F):void 0,disabled:h,listStyle:g,className:L,render:y||(C=>C.title),showSelectAll:H,selectAllLabels:I,oneWay:M,pagination:X?!1:m,status:j,locale:$,footer:X?({direction:C})=>{const F=(w==null?void 0:w.position)??"left";if(!(F==="both"||F==="left"&&C==="left"||F==="right"&&C==="right"))return null;const b=C==="left"?w==null?void 0:w.left:w==null?void 0:w.right;if(!b)return null;const{page:N,pageSize:G,total:Y}=b,q=(w==null?void 0:w.simple)??!0,U=(w==null?void 0:w.showSizeChanger)??!0;return o.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:o.jsx(l.Pagination,{size:"small",simple:q,current:N,total:Y,pageSize:G,showSizeChanger:U,pageSizeOptions:["5","10","20","50"],onChange:(oe,se)=>{P==null||P(C,oe,se)}})})}:void 0};return o.jsx("div",{style:{marginBottom:12,...S},children:k?k(Z):o.jsx(l.Transfer,{...Z})})},$n=({dataSource:e=[],targetKeys:t=[],selectedKeys:r=[],onChange:n,onSelectChange:s,onSearch:a,onScroll:c,titles:u=["Origen","Destino"],operations:d=[">","<"],showSearch:i=!1,filterOption:f,disabled:h=!1,listStyle:g,className:p,style:S,selectAllLabels:y,oneWay:k=!1,status:H,locale:I,leftColumns:M,rightColumns:m,rowKey:j="key",tableSize:$="small",tableScroll:w,showDefaultHeaderActions:P=!0,headerActions:re=[],remotePagination:O,onPageChange:W})=>{const ne=(e??[]).map(b=>({...b,key:b.key,title:b.title||b.key||String(b.key),description:b.description,disabled:b.disabled||!1,chosen:b.chosen||!1})),x=n?(b,N,G)=>n(b,N,G):void 0,L=s?(b,N)=>s(b,N):void 0,X=a?(b,N)=>a(b,N):void 0,Z=c?(b,N)=>c(b,N):void 0,C=["hp-transfer","hp-table-transfer",p].filter(Boolean).join(" "),F=!!O&&(O.position??"left")!=="none",de={dataSource:ne,targetKeys:t,selectedKeys:r,onChange:x,onSelectChange:L,onSearch:X,onScroll:Z,titles:u,operations:d,showSearch:i,filterOption:f,disabled:h,listStyle:g,className:C,showSelectAll:P,selectAllLabels:y,oneWay:k,pagination:!1,status:H,locale:I,footer:F?({direction:b})=>{const N=(O==null?void 0:O.position)??"left";if(!(N==="both"||N==="left"&&b==="left"||N==="right"&&b==="right"))return null;const Y=b==="left"?O==null?void 0:O.left:O==null?void 0:O.right;if(!Y)return null;const{page:q,pageSize:U,total:oe}=Y,se=(O==null?void 0:O.simple)??!0,me=(O==null?void 0:O.showSizeChanger)??!0;return o.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:o.jsx(l.Pagination,{size:"small",simple:se,current:q,total:oe,pageSize:U,showSizeChanger:me,pageSizeOptions:["5","10","20","50"],onChange:(T,B)=>W==null?void 0:W(b,T,B)})})}:void 0};return o.jsx("div",{style:{marginBottom:12,...S},children:o.jsx(l.Transfer,{...de,children:({direction:b,filteredItems:N,onItemSelect:G,onItemSelectAll:Y,selectedKeys:q,disabled:U})=>{const oe=b==="left"?M:m??M,se={getCheckboxProps:T=>({disabled:U||T.disabled}),selectedRowKeys:q,onSelect:(T,B)=>{G(T.key,B)},hideSelectAll:!1,onChange:T=>{Y(T,"replace")},selections:(()=>{const T=[];return P&&T.push({key:"select-all-data",text:"Select all data",onSelect:()=>{const B=N.map(Q=>Q.key);Y(B,"replace")}},{key:"invert-current-page",text:"Invert current page",onSelect:()=>{const B=N.map(pe=>pe.key),Q=q,Rt=B.filter(pe=>!Q.includes(pe));Y(Rt,"replace")}}),re.forEach(B=>{T.push({key:B.key,text:B.label,onSelect:()=>{var Q;(Q=B.onClick)==null||Q.call(B,b,q)}})}),T.length>0?T:!1})()},me=typeof j=="function"?j:T=>T[j];return o.jsx(l.Table,{showHeader:!0,size:$,columns:oe,dataSource:N,rowKey:me,pagination:!1,rowSelection:se,style:{pointerEvents:U?"none":void 0,height:"100%"},onRow:T=>({onClick:()=>{if(U||T.disabled)return;const B=!q.includes(T.key);G(T.key,B)}}),scroll:w})}})})},Nt=({count:e=0,overflowCount:t=99,dot:r=!1,color:n,size:s="default",icon:a,useButton:c=!1,buttonType:u="text",buttonShape:d="circle",onClick:i,style:f,containerStyle:h,showZero:g=!1,offset:p,className:S,disabled:y=!1})=>{const k=()=>{switch(s){case"small":return"18px";case"large":return"28px";default:return"24px"}},H=a||o.jsx(Te,{style:{fontSize:k(),...h}}),I=c?o.jsx(l.Button,{type:u,icon:H,shape:d,onClick:i,style:h,disabled:y,className:S}):o.jsx("span",{onClick:i,style:{cursor:i?"pointer":"default",display:"inline-flex",alignItems:"center",justifyContent:"center",...h},className:S,children:H});return o.jsx(l.Badge,{count:e,overflowCount:t,dot:r,color:n,showZero:g,offset:p,style:f,children:I})},Pn=({count:e,notifications:t=[],icon:r,size:n="default",useButton:s=!1,buttonType:a="text",onNotificationClick:c,onLoadMore:u,hasMore:d=!1,loading:i=!1,renderNotification:f,loadMoreText:h="Cargar más",emptyText:g="No hay notificaciones",popoverWidth:p=380,overflowCount:S=99,badgeColor:y,showZero:k=!1,containerStyle:H,popoverTitle:I="Notificaciones",onOpenChange:M,headerAction:m,maxHeight:j=400,placement:$="bottomRight"})=>{const[w,P]=D.useState(!1),re=x=>{P(x),M==null||M(x)},O=x=>{c==null||c(x)},W=x=>o.jsxs("div",{style:{padding:"12px",cursor:x.actions?"default":"pointer",backgroundColor:x.read?"transparent":"#f0f7ff",borderRadius:"4px",transition:"background-color 0.3s",width:"100%",boxSizing:"border-box"},onMouseEnter:L=>{L.currentTarget.style.backgroundColor=x.read?"#fafafa":"#e6f4ff"},onMouseLeave:L=>{L.currentTarget.style.backgroundColor=x.read?"transparent":"#f0f7ff"},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"4px"},children:[o.jsx("span",{style:{fontWeight:x.read?400:600,fontSize:"14px",color:x.read?"#595959":"#262626"},children:x.title}),!x.read&&o.jsx("span",{style:{width:"8px",height:"8px",backgroundColor:"#1890ff",borderRadius:"50%",marginLeft:"8px",flexShrink:0}})]}),x.description&&o.jsx("div",{style:{fontSize:"13px",color:"#8c8c8c",marginBottom:x.actions?"8px":"4px",lineHeight:"1.4"},children:x.description}),x.timestamp&&o.jsx("div",{style:{fontSize:"12px",color:"#bfbfbf",marginBottom:x.actions?"8px":"0"},children:x.timestamp}),x.actions&&x.actions.length>0&&o.jsx(l.Space,{size:"small",style:{marginTop:"8px"},children:x.actions.map((L,X)=>o.jsx(l.Button,{type:L.type||"default",size:L.size||"small",icon:L.icon,danger:L.danger,disabled:L.disabled,onClick:Z=>{Z.stopPropagation(),L.onClick(x)},children:L.label},X))})]}),ne=o.jsxs("div",{style:{width:p},children:[m&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[o.jsx("span",{style:{fontWeight:600,fontSize:"14px"},children:I}),m]}),o.jsx(l.Divider,{style:{margin:"8px 0"}})]}),o.jsx("div",{style:{maxHeight:j,overflowY:"auto"},children:t.length===0?o.jsx(l.Empty,{description:g,image:l.Empty.PRESENTED_IMAGE_SIMPLE,style:{padding:"24px 0"}}):o.jsx(l.List,{dataSource:t,renderItem:x=>o.jsx(l.List.Item,{style:{padding:0,border:"none",marginBottom:"4px",width:"100%"},onClick:()=>O(x),children:f?f(x):W(x)})})}),d&&t.length>0&&o.jsxs(o.Fragment,{children:[o.jsx(l.Divider,{style:{margin:"8px 0"}}),o.jsx("div",{style:{textAlign:"center",padding:"8px 0"},children:o.jsx(V,{text:h,onClick:u||(()=>{}),loading:i,icon:i?o.jsx(gt,{}):void 0,style:{width:"100%"}})})]})]});return o.jsx(l.Popover,{content:ne,title:m?null:I,trigger:"click",open:w,onOpenChange:re,placement:$,overlayStyle:{maxWidth:p+48},children:o.jsx("div",{style:{display:"inline-block",cursor:"pointer"},children:o.jsx(Nt,{count:e!==void 0?e:t.filter(x=>!x.read).length,icon:r||o.jsx(Te,{}),size:n,useButton:s,buttonType:a,overflowCount:S,color:y,showZero:k,containerStyle:H})})})},Vn=e=>o.jsx(l.Empty,{...e}),Yn=({className:e,style:t,...r},n)=>o.jsx(l.List,{ref:n,className:`${e}`,style:t,...r}),_e=D.forwardRef(Yn);_e.Item=l.List.Item;_e.ItemMeta=l.List.Item.Meta;const qn={INPUT_HEIGHT:25,FONT_SIZE:12,PRIMARY_COLOR:"#1b1464",FONT_FAMILY:'"Open Sans", sans-serif',TABLE_ROW_HEIGHT:25,BORDER_COLOR:"#d9d9d9",TEXT_COLOR:"#333333"},Wn=({children:e,customTokens:t={}})=>{const r={...qn,...t};return o.jsx(l.ConfigProvider,{theme:{token:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,colorPrimary:r.PRIMARY_COLOR,fontFamily:r.FONT_FAMILY,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgBase:"#ffffff"},components:{Button:{fontSize:r.FONT_SIZE,controlHeight:22,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044",colorText:r.TEXT_COLOR,colorBgContainer:"#ffffff",colorBorder:r.BORDER_COLOR},Table:{cellFontSize:r.FONT_SIZE,cellPaddingBlock:4,headerBg:"#fafafa",headerColor:r.TEXT_COLOR,headerSplitColor:r.BORDER_COLOR,colorText:"inherit"},Input:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},Select:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},DatePicker:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY,colorBorder:r.BORDER_COLOR,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",borderRadius:4,paddingInline:8},Checkbox:{colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044"},Spin:{colorPrimary:r.PRIMARY_COLOR,dotSize:20,dotSizeSM:16,dotSizeLG:24},Transfer:{listHeight:200,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgContainer:"#ffffff",fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY},Divider:{fontSize:r.FONT_SIZE,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,fontFamily:r.FONT_FAMILY}}},children:o.jsx("div",{className:"library-components-wrapper","data-input-height":r.INPUT_HEIGHT,"data-font-size":r.FONT_SIZE,"data-primary-color":r.PRIMARY_COLOR,children:e})})},Gn={open:e=>{l.message.open(e)},success:(e,t,r)=>{l.message.success(e,t,r)},error:(e,t,r)=>{l.message.error(e,t,r)},info:(e,t,r)=>{l.message.info(e,t,r)},warning:(e,t,r)=>{l.message.warning(e,t,r)},loading:(e,t,r)=>{l.message.loading(e,t,r)}};exports.Accordion=Bn;exports.Alert=Lt;exports.Button=V;exports.Calendar=_n;exports.Card=Tt;exports.CheckBox=Ue;exports.ClearOutlined=le;exports.CloseOutlined=ft;exports.Col=kt;exports.CustomFilterDrawer=jn;exports.CustomFilterDrawerHp=On;exports.DatePicker=fe;exports.DeleteOutlined=ht;exports.Divider=Zt;exports.DragAndDrop=Fn;exports.Drawer=Qt;exports.Dropdown=Et;exports.EditOutlined=Ee;exports.Empty=Vn;exports.FileExcelOutlined=mt;exports.FilePdfOutlined=pt;exports.FilterOutlined=Ne;exports.FilterToolbar=mn;exports.FloatButton=Me;exports.Form=te;exports.Input=ze;exports.InputSwitch=pn;exports.LibraryThemeProvider=Wn;exports.List=_e;exports.Menu=ce;exports.Message=Gn;exports.Modal=Ct;exports.Notification=gn;exports.NotificationBadge=Nt;exports.NotificationDropdown=Pn;exports.NumericInput=bt;exports.Password=un;exports.PlusOutlined=Re;exports.Radio=wt;exports.RadioGroup=yn;exports.RichTextEditor=In;exports.Row=Ot;exports.Search=hn;exports.SearchOutlined=xt;exports.Select=St;exports.Skeleton=xn;exports.Space=Tn;exports.Spin=jt;exports.Table=vn;exports.TableTransfer=$n;exports.Tabs=bn;exports.Tag=En;exports.TextArea=fn;exports.Toolbar=Sn;exports.Tooltip=Cn;exports.Transfer=An;exports.Upload=wn;
@@ -4,10 +4,10 @@
4
4
  * Copyright (c) 2014, Jason Chen
5
5
  * Copyright (c) 2013, salesforce.com
6
6
  */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.custom-rich-text-editor{position:static;z-index:1}.custom-rich-text-editor .ql-container{overflow-y:auto!important;overflow-x:hidden!important}.custom-rich-text-editor .ql-editor{overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;line-height:1.42!important}.custom-rich-text-editor.fixed-height .ql-container{height:100%!important}.custom-rich-text-editor.fixed-height .ql-editor{height:100%!important;max-height:none!important}.custom-rich-text-editor.auto-resize .ql-container{height:auto!important;min-height:inherit!important;max-height:inherit!important}.custom-rich-text-editor.auto-resize .ql-editor{height:auto!important;min-height:inherit!important;max-height:inherit!important;overflow-y:auto!important}.custom-rich-text-editor .ql-editor::-webkit-scrollbar{width:8px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.custom-rich-text-editor .ql-toolbar{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #ccc!important;flex-shrink:0!important}.custom-rich-text-editor .ql-container{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:none!important;flex:1!important;display:flex!important;flex-direction:column!important}.hp-transfer .ant-transfer-list{display:flex;flex-direction:column;overflow:hidden}.hp-transfer .ant-transfer-list-header{flex:0 0 auto}.hp-transfer .ant-transfer-list-body{flex:1 1 auto;overflow:auto}.hp-transfer .ant-transfer-list-pagination{flex:0 0 auto;border-top:1px solid #f0f0f0;padding:6px 10px;white-space:nowrap;display:flex;justify-content:center;align-items:center;gap:6px}.hp-transfer .ant-transfer-list:first-of-type{margin-right:16px}.hp-transfer .ant-transfer-list:last-of-type{margin-left:16px}.hp-transfer .ant-transfer-list:first-of-type .ant-transfer-list-body{border-right:1px dashed #eee}.hp-transfer .ant-transfer-list:last-of-type .ant-transfer-list-body{border-left:1px dashed #eee}.hp-transfer{width:100%!important}.hp-transfer .ant-transfer-list{width:100%!important;position:relative!important;padding-bottom:48px!important}.hp-transfer .ant-transfer-list-body{padding:0!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}.hp-transfer .ant-transfer-list-search{margin:8px!important}.hp-transfer .ant-transfer-list-content{flex:1 1 auto!important;overflow:auto!important;position:relative!important;height:100%!important}.hp-transfer .hp-transfer-footer{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;border-top:1px solid #f0f0f0!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important;bottom:0!important;left:0!important;right:0!important;z-index:3;background:#fff;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px;padding:8px 16px!important;border-top:1px solid #f0f0f0;height:48px!important;box-sizing:border-box!important}.hp-transfer .hp-transfer-footer .ant-pagination{margin:0!important}.hp-table-transfer .ant-transfer-list{display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-transfer-list-body{flex:1 1 auto!important;min-height:0!important}.hp-table-transfer .ant-transfer-list-body .ant-table-wrapper,.hp-table-transfer .ant-transfer-list-body .ant-table-container{height:100%!important;display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-table-header{position:static!important;z-index:auto!important;background:#fff!important;flex:0 0 auto!important;display:block!important;visibility:visible!important}.hp-table-transfer .ant-table-header table{margin-bottom:0!important}.hp-table-transfer .ant-table-header .ant-table-thead{display:table-header-group!important}.hp-table_transfer .ant-table-header .ant-table-thead>tr>th{display:table-cell!important;background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;font-weight:600!important;line-height:22px!important;padding:8px!important}.hp-table-transfer .ant-table-body{flex:1 1 auto!important;overflow:auto!important;padding-bottom:56px!important}.hp-table-transfer .ant-table-thead{display:table-header-group!important}.hp-table-transfer .ant-table-thead>tr>th{line-height:22px!important;padding-top:8px!important;padding-bottom:8px!important;font-weight:600!important;display:table-cell!important}.hp-table-transfer .ant-table-thead>tr>th,.hp-table-transfer .ant-table-tbody>tr>td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hp-table-transfer .ant-table-tbody>tr:hover>td{background:#fafafa!important}.hp-table-transfer .ant-table-placeholder{margin:0!important}.hp-transfer .ant-transfer-operation{gap:6px!important}.hp-transfer .ant-transfer-operation .ant-btn{border-radius:8px!important}.hp-transfer .ant-pagination-simple .ant-pagination-prev,.hp-transfer .ant-pagination-simple .ant-pagination-next{min-width:24px!important}.hp-table-transfer .ant-transfer-list-content{overflow:visible!important;height:auto!important}.hp-table-transfer .ant-table{height:100%!important}.hp-table-transfer .ant-table-header thead{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important}.hp-table-transfer .ant-table-header thead th{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;position:relative!important;z-index:1!important}.hp-transfer-no-header .ant-transfer-list-header{display:none!important}.hp-transfer-no-header .ant-transfer-list-body{padding-top:0!important}.hp-transfer .ant-pagination,.hp-transfer .ant-pagination .ant-pagination-prev,.hp-transfer .ant-pagination .ant-pagination-next{color:#000000e0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-pagination .ant-pagination-simple-pager{color:#000000e0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager input,.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager .ant-pagination-slash{display:inline-block!important;vertical-align:middle!important}.hp-transfer .ant-pagination .ant-select-dropdown,.hp-transfer .ant-pagination .ant-dropdown,.hp-transfer .ant-pagination .rc-virtual-list,.hp-transfer .ant-pagination .ant-select-selector{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown-menu,.hp-transfer .ant-pagination .ant-dropdown-menu,.hp-transfer .ant-pagination .ant-tooltip{display:block!important;position:absolute!important}.hp-transfer .ant-pagination .ant-select,.hp-transfer .ant-pagination .ant-select .ant-select-arrow{display:inline-block!important}.hp-transfer .ant-pagination .ant-select-item,.hp-transfer .ant-pagination .ant-select-item-option{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:absolute!important;z-index:1050!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative!important;display:flex!important;align-items:center!important}.hp-transfer .ant-pagination .ant-select-dropdown{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-dropdown-hidden{display:none!important}.hp-transfer .ant-transfer-list-footer{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-transfer-list-footer>*{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important}.hp-transfer .ant-pagination .ant-select-item{cursor:pointer!important;pointer-events:auto!important}.hp-transfer .ant-transfer-list-footer:before,.hp-transfer .ant-transfer-list-footer:after{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select-selector{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-pagination .ant-select-focused .ant-select-selector,.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important;outline:none!important}.hp-transfer .ant-pagination .ant-select{vertical-align:middle!important;line-height:normal!important}.hp-transfer .ant-pagination .ant-select-dropdown{margin-top:4px!important}.hp-transfer .ant-transfer-list-footer{overflow:visible!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:fixed!important;z-index:1050!important;pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-selection-search{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-disabled){cursor:pointer!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:pointer!important;transition:all .3s cubic-bezier(.645,.045,.355,1)!important}.hp-transfer{position:relative!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important}.hp-transfer .ant-pagination .ant-pagination-slash{color:#00000073!important;margin:0 8px!important}.hp-transfer .ant-pagination-simple-pager input{color:#000000e0!important;text-align:center!important;min-width:40px!important}.hp-transfer .ant-pagination-simple{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important}.hp-transfer .ant-transfer-list:first-child{border-right:1px solid #f0f0f0}.hp-transfer .ant-transfer-list-footer .ant-pagination-prev,.hp-transfer .ant-transfer-list-footer .ant-pagination-next{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important}.hp-transfer .ant-transfer-list-footer *{white-space:nowrap!important}.hp-transfer .ant-transfer-list-footer .ant-select-dropdown{z-index:1060!important}.hp-transfer.hp-table-transfer{min-height:420px!important}.hp-transfer .ant-pagination-simple-pager{color:#000000e0!important;font-weight:500!important}.hp-transfer .ant-table-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:8px 4px!important;text-align:center!important;vertical-align:middle!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{display:flex!important;width:100%!important;height:100%!important;min-height:32px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:4px!important;cursor:pointer!important}.hp-transfer .ant-table-selection-column .ant-checkbox{margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper:before{content:"";position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1!important}.hp-transfer .ant-table table{table-layout:fixed!important;width:100%!important}.hp-transfer .ant-table-header{overflow:hidden!important;background:#fff!important;z-index:2!important}.hp-transfer .ant-table-tbody>tr>td,.hp-transfer .ant-table-thead>tr>th{position:relative}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column,.hp-transfer .ant-table-thead>tr>th.ant-table-selection-column{position:relative!important;z-index:10!important;overflow:visible!important}.hp-transfer .ant-table-tbody>tr:hover>td.ant-table-selection-column{background-color:#f5f5f5!important}.hp-transfer .ant-table-selection-column .ant-checkbox-input{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:5!important}.hp-transfer .ant-table-selection-column *{pointer-events:auto!important}.hp-transfer .ant-table-selection-column{cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.hp-transfer .ant-table-selection-column:active{background-color:#e6f7ff!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{position:relative!important;z-index:15!important}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column:before{content:none!important}@media (hover: none) and (pointer: coarse){.hp-transfer .ant-table-selection-column{min-height:44px!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{min-height:44px!important;padding:8px!important}}`)),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
7
- import { jsx as o, jsxs as g, Fragment as ne } from "react/jsx-runtime";
8
- import { Alert as Yt, Button as W, Checkbox as it, DatePicker as st, Divider as Te, Drawer as He, Input as he, InputNumber as lt, Select as ct, Row as Ee, Col as de, Badge as dt, FloatButton as Ie, Switch as Wt, Modal as ut, notification as Gt, Radio as De, Skeleton as qt, Spin as Ye, Table as ft, Tabs as Ut, Space as me, Tooltip as Le, Upload as Kt, Form as K, Card as Xt, Tag as Zt, Menu as pe, Dropdown as ht, Typography as Qt, Empty as be, Collapse as Jt, Transfer as mt, Pagination as pt, List as fe, Popover as er, ConfigProvider as tr, message as te } from "antd";
7
+ import { jsx as o, jsxs as g, Fragment as re } from "react/jsx-runtime";
8
+ import { Alert as Yt, Button as W, Checkbox as it, DatePicker as st, Divider as Te, Drawer as He, Input as he, InputNumber as lt, Select as ct, Row as Ee, Col as de, Badge as dt, FloatButton as Ie, Switch as Wt, Modal as ut, notification as Gt, Radio as De, Skeleton as qt, Spin as Ye, Table as ft, Tabs as Ut, Space as me, Tooltip as Le, Upload as Kt, Form as K, Card as Xt, Tag as Zt, Menu as pe, Dropdown as ht, Typography as Qt, Empty as be, Collapse as Jt, Transfer as mt, Pagination as pt, List as fe, Popover as er, ConfigProvider as tr, message as ee } from "antd";
9
9
  import * as b from "react";
10
- import oe, { createContext as rr, useContext as nr, useEffect as Ae, useState as gt, useRef as We } from "react";
10
+ import ne, { createContext as rr, useContext as nr, useEffect as Ae, useState as gt, useRef as We } from "react";
11
11
  import Ge from "dayjs";
12
12
  import or from "@fullcalendar/react";
13
13
  import ar from "@fullcalendar/daygrid";
@@ -244,14 +244,14 @@ const wr = {
244
244
  rangePlaceholder: ["Data inicial", "Data final"]
245
245
  }, Cr),
246
246
  timePickerLocale: Object.assign({}, wr)
247
- }, yt = { es: vr, en: Sr, pt: Or }, vt = oe.forwardRef(
247
+ }, yt = { es: vr, en: Sr, pt: Or }, vt = ne.forwardRef(
248
248
  ({ localeCode: e = "es", ...t }, r) => {
249
249
  const n = yt[e];
250
250
  return /* @__PURE__ */ o(st, { ref: r, ...t, locale: n });
251
251
  }
252
252
  );
253
253
  vt.displayName = "CustomDatePicker";
254
- const bt = oe.forwardRef(
254
+ const bt = ne.forwardRef(
255
255
  ({ localeCode: e = "es", ...t }, r) => {
256
256
  const n = yt[e];
257
257
  return /* @__PURE__ */ o(st.RangePicker, { ref: r, ...t, locale: n });
@@ -412,7 +412,7 @@ function ce(e, t) {
412
412
  const r = t || 255;
413
413
  return e > r ? r : e < 0 ? 0 : e;
414
414
  }
415
- class re {
415
+ class te {
416
416
  constructor(t) {
417
417
  B(this, "isValid", !0), B(this, "r", 0), B(this, "g", 0), B(this, "b", 0), B(this, "a", 1), B(this, "_h", void 0), B(this, "_s", void 0), B(this, "_l", void 0), B(this, "_v", void 0), B(this, "_max", void 0), B(this, "_min", void 0), B(this, "_brightness", void 0);
418
418
  function r(n) {
@@ -424,7 +424,7 @@ class re {
424
424
  };
425
425
  const n = t.trim();
426
426
  /^#?[A-F\d]{3,8}$/i.test(n) ? this.fromHexString(n) : a("rgb") ? this.fromRgbString(n) : a("hsl") ? this.fromHslString(n) : (a("hsv") || a("hsb")) && this.fromHsvString(n);
427
- } else if (t instanceof re)
427
+ } else if (t instanceof te)
428
428
  this.r = t.r, this.g = t.g, this.b = t.b, this.a = t.a, this._h = t._h, this._s = t._s, this._l = t._l, this._v = t._v;
429
429
  else if (r("rgb"))
430
430
  this.r = ce(t.r), this.g = ce(t.g), this.b = ce(t.b), this.a = typeof t.a == "number" ? ce(t.a, 1) : 1;
@@ -768,8 +768,8 @@ function et(e, t, r) {
768
768
  return r ? n = e.v + Lr * t : n = e.v - Ar * t, n = Math.max(0, Math.min(1, n)), Math.round(n * 100) / 100;
769
769
  }
770
770
  function Br(e) {
771
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], n = new re(e), a = n.toHsv(), i = Ot; i > 0; i -= 1) {
772
- var l = new re({
771
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], n = new te(e), a = n.toHsv(), i = Ot; i > 0; i -= 1) {
772
+ var l = new te({
773
773
  h: Qe(a, i, !0),
774
774
  s: Je(a, i, !0),
775
775
  v: et(a, i, !0)
@@ -778,7 +778,7 @@ function Br(e) {
778
778
  }
779
779
  r.push(n);
780
780
  for (var d = 1; d <= kt; d += 1) {
781
- var c = new re({
781
+ var c = new te({
782
782
  h: Qe(a, d),
783
783
  s: Je(a, d),
784
784
  v: et(a, d)
@@ -787,7 +787,7 @@ function Br(e) {
787
787
  }
788
788
  return t.theme === "dark" ? $r.map(function(s) {
789
789
  var u = s.index, f = s.amount;
790
- return new re(t.backgroundColor || "#141414").mix(r[u], f).toHexString();
790
+ return new te(t.backgroundColor || "#141414").mix(r[u], f).toHexString();
791
791
  }) : r.map(function(s) {
792
792
  return s.toHexString();
793
793
  });
@@ -951,11 +951,11 @@ function ot() {
951
951
  }, {});
952
952
  }
953
953
  function Me(e, t, r) {
954
- return r ? /* @__PURE__ */ oe.createElement(e.tag, H(H({
954
+ return r ? /* @__PURE__ */ ne.createElement(e.tag, H(H({
955
955
  key: t
956
956
  }, ot(e.attrs)), r), (e.children || []).map(function(n, a) {
957
957
  return Me(n, "".concat(t, "-").concat(e.tag, "-").concat(a));
958
- })) : /* @__PURE__ */ oe.createElement(e.tag, H({
958
+ })) : /* @__PURE__ */ ne.createElement(e.tag, H({
959
959
  key: t
960
960
  }, ot(e.attrs)), (e.children || []).map(function(n, a) {
961
961
  return Me(n, "".concat(t, "-").concat(e.tag, "-").concat(a));
@@ -1046,7 +1046,7 @@ function an(e) {
1046
1046
  function sn() {
1047
1047
  return H({}, ue);
1048
1048
  }
1049
- var ae = function(t) {
1049
+ var oe = function(t) {
1050
1050
  var r = t.icon, n = t.className, a = t.onClick, i = t.style, l = t.primaryColor, d = t.secondaryColor, c = wt(t, on), s = b.useRef(), u = ue;
1051
1051
  if (l && (u = {
1052
1052
  primaryColor: l,
@@ -1069,24 +1069,24 @@ var ae = function(t) {
1069
1069
  ref: s
1070
1070
  }));
1071
1071
  };
1072
- ae.displayName = "IconReact";
1073
- ae.getTwoToneColors = sn;
1074
- ae.setTwoToneColors = an;
1072
+ oe.displayName = "IconReact";
1073
+ oe.getTwoToneColors = sn;
1074
+ oe.setTwoToneColors = an;
1075
1075
  function Mt(e) {
1076
1076
  var t = _t(e), r = Ct(t, 2), n = r[0], a = r[1];
1077
- return ae.setTwoToneColors({
1077
+ return oe.setTwoToneColors({
1078
1078
  primaryColor: n,
1079
1079
  secondaryColor: a
1080
1080
  });
1081
1081
  }
1082
1082
  function ln() {
1083
- var e = ae.getTwoToneColors();
1083
+ var e = oe.getTwoToneColors();
1084
1084
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
1085
1085
  }
1086
1086
  var cn = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
1087
1087
  Mt(ze.primary);
1088
1088
  var _ = /* @__PURE__ */ b.forwardRef(function(e, t) {
1089
- var r = e.className, n = e.icon, a = e.spin, i = e.rotate, l = e.tabIndex, d = e.onClick, c = e.twoToneColor, s = wt(e, cn), u = b.useContext(St), f = u.prefixCls, p = f === void 0 ? "anticon" : f, m = u.rootClassName, w = Ir(m, p, B(B({}, "".concat(p, "-").concat(n.name), !!n.name), "".concat(p, "-spin"), !!a || n.name === "loading"), r), y = l;
1089
+ var r = e.className, n = e.icon, a = e.spin, i = e.rotate, l = e.tabIndex, d = e.onClick, c = e.twoToneColor, s = wt(e, cn), u = b.useContext(St), f = u.prefixCls, p = f === void 0 ? "anticon" : f, m = u.rootClassName, S = Ir(m, p, B(B({}, "".concat(p, "-").concat(n.name), !!n.name), "".concat(p, "-spin"), !!a || n.name === "loading"), r), y = l;
1090
1090
  y === void 0 && d && (y = -1);
1091
1091
  var T = i ? {
1092
1092
  msTransform: "rotate(".concat(i, "deg)"),
@@ -1099,8 +1099,8 @@ var _ = /* @__PURE__ */ b.forwardRef(function(e, t) {
1099
1099
  ref: t,
1100
1100
  tabIndex: y,
1101
1101
  onClick: d,
1102
- className: w
1103
- }), /* @__PURE__ */ b.createElement(ae, {
1102
+ className: S
1103
+ }), /* @__PURE__ */ b.createElement(oe, {
1104
1104
  icon: n,
1105
1105
  primaryColor: M,
1106
1106
  secondaryColor: h,
@@ -1208,7 +1208,7 @@ var Pn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "fa
1208
1208
  }));
1209
1209
  }, Bt = /* @__PURE__ */ b.forwardRef(jn);
1210
1210
  process.env.NODE_ENV !== "production" && (Bt.displayName = "UploadOutlined");
1211
- const Ft = oe.forwardRef(
1211
+ const Ft = ne.forwardRef(
1212
1212
  (e, t) => /* @__PURE__ */ g(
1213
1213
  "div",
1214
1214
  {
@@ -1330,19 +1330,19 @@ const wo = (e) => /* @__PURE__ */ o(
1330
1330
  extra: f,
1331
1331
  translations: p = {}
1332
1332
  }) => {
1333
- const [m, w] = gt(
1333
+ const [m, S] = gt(
1334
1334
  () => t || c || {}
1335
1335
  );
1336
1336
  Ae(() => {
1337
- t && w(t);
1337
+ t && S(t);
1338
1338
  }, [t]);
1339
1339
  const y = (h, O) => {
1340
1340
  const F = { ...m, [h]: O };
1341
- w(F), u == null || u(F);
1341
+ S(F), u == null || u(F);
1342
1342
  }, T = () => {
1343
1343
  r(m);
1344
1344
  }, I = () => {
1345
- w({}), n == null || n();
1345
+ S({}), n == null || n();
1346
1346
  }, M = ((h) => h <= 2 ? 12 : h <= 3 ? 8 : h <= 4 ? 6 : 4)(e.length);
1347
1347
  return /* @__PURE__ */ g(
1348
1348
  "div",
@@ -1684,7 +1684,7 @@ const zo = (e) => /* @__PURE__ */ o(De.Group, { ...e }), Ro = ({ loadingText: e,
1684
1684
  justifyContent: "center",
1685
1685
  minHeight: i ? "auto" : "100px"
1686
1686
  }, children: [
1687
- t && /* @__PURE__ */ g(ne, { children: [
1687
+ t && /* @__PURE__ */ g(re, { children: [
1688
1688
  /* @__PURE__ */ o(at, { size: r }),
1689
1689
  e && /* @__PURE__ */ o("div", { style: { marginTop: 8, fontSize: 14, color: "#666" }, children: e })
1690
1690
  ] }),
@@ -1708,13 +1708,33 @@ const zo = (e) => /* @__PURE__ */ o(De.Group, { ...e }), Ro = ({ loadingText: e,
1708
1708
  }) => {
1709
1709
  const i = t == null ? void 0 : t.filter((c) => c ? Object.values(c).some(
1710
1710
  (u) => u != null && u !== ""
1711
- ) : !1), l = e == null ? void 0 : e.map((c, s) => ({
1712
- ...c,
1713
- key: c.key || s,
1714
- title: typeof c.title == "string" ? /* @__PURE__ */ o("span", { style: { fontSize: "var(--font-size-medium)" }, children: c.title }) : c.title
1715
- // Estilo para los títulos si son cadenas
1716
- // Solo mantener el render personalizado si existe, sin agregar uno por defecto
1717
- })), d = r ? {
1711
+ ) : !1), l = e == null ? void 0 : e.map((c, s) => {
1712
+ const u = {
1713
+ ...c,
1714
+ key: c.key || s,
1715
+ title: typeof c.title == "string" ? /* @__PURE__ */ o("span", { style: { fontSize: "var(--font-size-medium)" }, children: c.title }) : c.title
1716
+ };
1717
+ if (c.width === void 0) {
1718
+ const f = c.onCell;
1719
+ return {
1720
+ ...u,
1721
+ onCell: (p, m) => {
1722
+ var S;
1723
+ return {
1724
+ ...f ? f(p, m) : {},
1725
+ style: {
1726
+ ...f ? (S = f(p, m)) == null ? void 0 : S.style : {},
1727
+ maxWidth: 200,
1728
+ whiteSpace: "normal",
1729
+ wordWrap: "break-word",
1730
+ wordBreak: "break-word"
1731
+ }
1732
+ };
1733
+ }
1734
+ };
1735
+ }
1736
+ return u;
1737
+ }), d = r ? {
1718
1738
  ...r,
1719
1739
  showTotal: (c, s) => `${s[1] - s[0] + 1} de ${c} registros`,
1720
1740
  // Mostrar rango actual sobre el total
@@ -1759,14 +1779,7 @@ const zo = (e) => /* @__PURE__ */ o(De.Group, { ...e }), Ro = ({ loadingText: e,
1759
1779
  alignItems: "center",
1760
1780
  zIndex: 10
1761
1781
  },
1762
- children: /* @__PURE__ */ o(
1763
- qn,
1764
- {
1765
- spinning: !0,
1766
- spinType: "helppeople",
1767
- size: "small"
1768
- }
1769
- )
1782
+ children: /* @__PURE__ */ o(qn, { spinning: !0, spinType: "helppeople", size: "small" })
1770
1783
  }
1771
1784
  )
1772
1785
  ] });
@@ -1834,7 +1847,7 @@ const zo = (e) => /* @__PURE__ */ o(De.Group, { ...e }), Ro = ({ loadingText: e,
1834
1847
  return i ? /* @__PURE__ */ g("div", { style: c, children: [
1835
1848
  l && /* @__PURE__ */ o("div", { style: u, children: l }),
1836
1849
  f
1837
- ] }) : /* @__PURE__ */ g(ne, { children: [
1850
+ ] }) : /* @__PURE__ */ g(re, { children: [
1838
1851
  l && /* @__PURE__ */ o("div", { style: u, children: l }),
1839
1852
  f
1840
1853
  ] });
@@ -1902,7 +1915,7 @@ const zo = (e) => /* @__PURE__ */ o(De.Group, { ...e }), Ro = ({ loadingText: e,
1902
1915
  },
1903
1916
  f.key
1904
1917
  )),
1905
- !s && /* @__PURE__ */ g(ne, { children: [
1918
+ !s && /* @__PURE__ */ g(re, { children: [
1906
1919
  t && /* @__PURE__ */ o(
1907
1920
  Y,
1908
1921
  {
@@ -2102,7 +2115,7 @@ const zo = (e) => /* @__PURE__ */ o(De.Group, { ...e }), Ro = ({ loadingText: e,
2102
2115
  }
2103
2116
  `, ge = (e) => {
2104
2117
  const [t] = K.useForm(), r = e.form || t;
2105
- return /* @__PURE__ */ g(ne, { children: [
2118
+ return /* @__PURE__ */ g(re, { children: [
2106
2119
  /* @__PURE__ */ o("style", { children: Un }),
2107
2120
  /* @__PURE__ */ o(K, { ...e, className: `custom-form ${e.className || ""}`, form: r, children: typeof e.children == "function" ? e.children(r) : e.children })
2108
2121
  ] });
@@ -2330,13 +2343,13 @@ const to = {
2330
2343
  className: f = "",
2331
2344
  ...p
2332
2345
  }) => {
2333
- const m = We(null), w = We(null);
2346
+ const m = We(null), S = We(null);
2334
2347
  Ae(() => {
2335
- if (u && m.current && w.current) {
2336
- const I = m.current.getEditor(), D = w.current, M = () => {
2348
+ if (u && m.current && S.current) {
2349
+ const I = m.current.getEditor(), D = S.current, M = () => {
2337
2350
  const h = D.querySelector(".ql-editor");
2338
2351
  if (h) {
2339
- const O = h.scrollHeight, F = typeof s == "number" ? s : parseInt(s), S = typeof c == "number" ? c : parseInt(c), P = Math.min(Math.max(O + 42, F), S);
2352
+ const O = h.scrollHeight, F = typeof s == "number" ? s : parseInt(s), w = typeof c == "number" ? c : parseInt(c), P = Math.min(Math.max(O + 42, F), w);
2340
2353
  D.style.height = `${P}px`;
2341
2354
  }
2342
2355
  };
@@ -2364,7 +2377,7 @@ const to = {
2364
2377
  return /* @__PURE__ */ o(
2365
2378
  "div",
2366
2379
  {
2367
- ref: w,
2380
+ ref: S,
2368
2381
  className: `custom-rich-text-editor ${u ? "auto-resize" : "fixed-height"} ${f}`,
2369
2382
  style: y,
2370
2383
  children: /* @__PURE__ */ o(
@@ -2463,7 +2476,7 @@ const { Title: ao } = Qt, jo = ({
2463
2476
  description: i,
2464
2477
  style: { opacity: 0.3 }
2465
2478
  }
2466
- ) : u.map((m, w) => /* @__PURE__ */ o(ur, { draggableId: m.id, index: w, children: (y, T) => /* @__PURE__ */ o(
2479
+ ) : u.map((m, S) => /* @__PURE__ */ o(ur, { draggableId: m.id, index: S, children: (y, T) => /* @__PURE__ */ o(
2467
2480
  "div",
2468
2481
  {
2469
2482
  ref: y.innerRef,
@@ -2513,7 +2526,7 @@ const { Title: ao } = Qt, jo = ({
2513
2526
  className: f,
2514
2527
  style: p
2515
2528
  }) => {
2516
- const w = {
2529
+ const S = {
2517
2530
  items: e.map((y) => ({
2518
2531
  key: y.key,
2519
2532
  label: y.header,
@@ -2547,7 +2560,7 @@ const { Title: ao } = Qt, jo = ({
2547
2560
  borderRadius: 6,
2548
2561
  marginBottom: 12
2549
2562
  },
2550
- children: /* @__PURE__ */ o(Jt, { ...w })
2563
+ children: /* @__PURE__ */ o(Jt, { ...S })
2551
2564
  }
2552
2565
  );
2553
2566
  }, Yo = ({
@@ -2565,7 +2578,7 @@ const { Title: ao } = Qt, jo = ({
2565
2578
  disabled: f = !1,
2566
2579
  listStyle: p,
2567
2580
  className: m,
2568
- style: w,
2581
+ style: S,
2569
2582
  render: y,
2570
2583
  children: T,
2571
2584
  showSelectAll: I = !0,
@@ -2576,17 +2589,17 @@ const { Title: ao } = Qt, jo = ({
2576
2589
  status: O,
2577
2590
  locale: F,
2578
2591
  // NUEVAS
2579
- remotePagination: S,
2592
+ remotePagination: w,
2580
2593
  onPageChange: P
2581
2594
  }) => {
2582
- const Z = e.map((C) => ({
2595
+ const ae = e.map((C) => ({
2583
2596
  key: C.key,
2584
2597
  title: C.title,
2585
2598
  description: C.description,
2586
2599
  disabled: C.disabled || !1,
2587
2600
  chosen: C.chosen || !1
2588
- })), k = n ? (C, A, ye) => n(C, A, ye) : void 0, G = a ? (C, A) => a(C, A) : void 0, ie = i ? (C, A) => i(C, A) : void 0, v = l ? (C, A) => l(C, A) : void 0, L = ["hp-transfer", m].filter(Boolean).join(" "), Q = !!S && S.position !== "none", J = {
2589
- dataSource: Z,
2601
+ })), k = n ? (C, A, ye) => n(C, A, ye) : void 0, G = a ? (C, A) => a(C, A) : void 0, ie = i ? (C, A) => i(C, A) : void 0, v = l ? (C, A) => l(C, A) : void 0, L = ["hp-transfer", m].filter(Boolean).join(" "), Z = !!w && w.position !== "none", Q = {
2602
+ dataSource: ae,
2590
2603
  targetKeys: t,
2591
2604
  selectedKeys: r,
2592
2605
  onChange: k,
@@ -2604,17 +2617,17 @@ const { Title: ao } = Qt, jo = ({
2604
2617
  showSelectAll: I,
2605
2618
  selectAllLabels: D,
2606
2619
  oneWay: M,
2607
- pagination: Q ? !1 : h,
2620
+ pagination: Z ? !1 : h,
2608
2621
  // 🔸 anula paginación interna si usamos remota
2609
2622
  status: O,
2610
2623
  locale: F,
2611
2624
  // 🔸 footer por panel con Pagination (solo si hay remotePagination)
2612
- footer: Q ? ({ direction: C }) => {
2613
- const A = (S == null ? void 0 : S.position) ?? "left";
2625
+ footer: Z ? ({ direction: C }) => {
2626
+ const A = (w == null ? void 0 : w.position) ?? "left";
2614
2627
  if (!(A === "both" || A === "left" && C === "left" || A === "right" && C === "right")) return null;
2615
- const x = C === "left" ? S == null ? void 0 : S.left : S == null ? void 0 : S.right;
2628
+ const x = C === "left" ? w == null ? void 0 : w.left : w == null ? void 0 : w.right;
2616
2629
  if (!x) return null;
2617
- const { page: z, pageSize: q, total: j } = x, V = (S == null ? void 0 : S.simple) ?? !0, U = (S == null ? void 0 : S.showSizeChanger) ?? !0;
2630
+ const { page: z, pageSize: q, total: j } = x, V = (w == null ? void 0 : w.simple) ?? !0, U = (w == null ? void 0 : w.showSizeChanger) ?? !0;
2618
2631
  return /* @__PURE__ */ o("div", { style: { padding: "6px 10px", borderTop: "1px solid #f0f0f0" }, children: /* @__PURE__ */ o(
2619
2632
  pt,
2620
2633
  {
@@ -2632,7 +2645,7 @@ const { Title: ao } = Qt, jo = ({
2632
2645
  ) });
2633
2646
  } : void 0
2634
2647
  };
2635
- return /* @__PURE__ */ o("div", { style: { marginBottom: 12, ...w }, children: T ? T(J) : /* @__PURE__ */ o(mt, { ...J }) });
2648
+ return /* @__PURE__ */ o("div", { style: { marginBottom: 12, ...S }, children: T ? T(Q) : /* @__PURE__ */ o(mt, { ...Q }) });
2636
2649
  }, Wo = ({
2637
2650
  // Transfer props comunes
2638
2651
  dataSource: e = [],
@@ -2651,7 +2664,7 @@ const { Title: ao } = Qt, jo = ({
2651
2664
  disabled: f = !1,
2652
2665
  listStyle: p,
2653
2666
  className: m,
2654
- style: w,
2667
+ style: S,
2655
2668
  selectAllLabels: y,
2656
2669
  oneWay: T = !1,
2657
2670
  status: I,
@@ -2661,10 +2674,10 @@ const { Title: ao } = Qt, jo = ({
2661
2674
  rightColumns: h,
2662
2675
  rowKey: O = "key",
2663
2676
  tableSize: F = "small",
2664
- tableScroll: S,
2677
+ tableScroll: w,
2665
2678
  // Props para controlar el dropdown del header de la tabla
2666
2679
  showDefaultHeaderActions: P = !0,
2667
- headerActions: Z = [],
2680
+ headerActions: ae = [],
2668
2681
  // Paginación remota
2669
2682
  remotePagination: k,
2670
2683
  onPageChange: G
@@ -2677,7 +2690,7 @@ const { Title: ao } = Qt, jo = ({
2677
2690
  description: x.description,
2678
2691
  disabled: x.disabled || !1,
2679
2692
  chosen: x.chosen || !1
2680
- })), v = n ? (x, z, q) => n(x, z, q) : void 0, L = a ? (x, z) => a(x, z) : void 0, Q = i ? (x, z) => i(x, z) : void 0, J = l ? (x, z) => l(x, z) : void 0, C = [
2693
+ })), v = n ? (x, z, q) => n(x, z, q) : void 0, L = a ? (x, z) => a(x, z) : void 0, Z = i ? (x, z) => i(x, z) : void 0, Q = l ? (x, z) => l(x, z) : void 0, C = [
2681
2694
  "hp-transfer",
2682
2695
  "hp-table-transfer",
2683
2696
  m
@@ -2687,8 +2700,8 @@ const { Title: ao } = Qt, jo = ({
2687
2700
  selectedKeys: r,
2688
2701
  onChange: v,
2689
2702
  onSelectChange: L,
2690
- onSearch: Q,
2691
- onScroll: J,
2703
+ onSearch: Z,
2704
+ onScroll: Q,
2692
2705
  titles: d,
2693
2706
  operations: c,
2694
2707
  showSearch: s,
@@ -2727,7 +2740,7 @@ const { Title: ao } = Qt, jo = ({
2727
2740
  ) });
2728
2741
  } : void 0
2729
2742
  };
2730
- return /* @__PURE__ */ o("div", { style: { marginBottom: 12, ...w }, children: /* @__PURE__ */ o(mt, { ...ye, children: ({
2743
+ return /* @__PURE__ */ o("div", { style: { marginBottom: 12, ...S }, children: /* @__PURE__ */ o(mt, { ...ye, children: ({
2731
2744
  direction: x,
2732
2745
  filteredItems: z,
2733
2746
  onItemSelect: q,
@@ -2758,7 +2771,7 @@ const { Title: ao } = Qt, jo = ({
2758
2771
  key: "select-all-data",
2759
2772
  text: "Select all data",
2760
2773
  onSelect: () => {
2761
- const $ = z.map((ee) => ee.key);
2774
+ const $ = z.map((J) => J.key);
2762
2775
  j($, "replace");
2763
2776
  }
2764
2777
  },
@@ -2766,19 +2779,19 @@ const { Title: ao } = Qt, jo = ({
2766
2779
  key: "invert-current-page",
2767
2780
  text: "Invert current page",
2768
2781
  onSelect: () => {
2769
- const $ = z.map((we) => we.key), ee = V, Vt = $.filter(
2770
- (we) => !ee.includes(we)
2782
+ const $ = z.map((we) => we.key), J = V, Vt = $.filter(
2783
+ (we) => !J.includes(we)
2771
2784
  );
2772
2785
  j(Vt, "replace");
2773
2786
  }
2774
2787
  }
2775
- ), Z.forEach(($) => {
2788
+ ), ae.forEach(($) => {
2776
2789
  E.push({
2777
2790
  key: $.key,
2778
2791
  text: $.label,
2779
2792
  onSelect: () => {
2780
- var ee;
2781
- (ee = $.onClick) == null || ee.call($, x, V);
2793
+ var J;
2794
+ (J = $.onClick) == null || J.call($, x, V);
2782
2795
  }
2783
2796
  });
2784
2797
  }), E.length > 0 ? E : !1;
@@ -2807,7 +2820,7 @@ const { Title: ao } = Qt, jo = ({
2807
2820
  q(E.key, $);
2808
2821
  }
2809
2822
  }),
2810
- scroll: S
2823
+ scroll: w
2811
2824
  }
2812
2825
  );
2813
2826
  } }) });
@@ -2826,7 +2839,7 @@ const { Title: ao } = Qt, jo = ({
2826
2839
  containerStyle: f,
2827
2840
  showZero: p = !1,
2828
2841
  offset: m,
2829
- className: w,
2842
+ className: S,
2830
2843
  disabled: y = !1
2831
2844
  }) => {
2832
2845
  const I = i || /* @__PURE__ */ o(je, { style: { fontSize: (() => {
@@ -2847,7 +2860,7 @@ const { Title: ao } = Qt, jo = ({
2847
2860
  onClick: s,
2848
2861
  style: f,
2849
2862
  disabled: y,
2850
- className: w
2863
+ className: S
2851
2864
  }
2852
2865
  ) : /* @__PURE__ */ o(
2853
2866
  "span",
@@ -2860,7 +2873,7 @@ const { Title: ao } = Qt, jo = ({
2860
2873
  justifyContent: "center",
2861
2874
  ...f
2862
2875
  },
2863
- className: w,
2876
+ className: S,
2864
2877
  children: I
2865
2878
  }
2866
2879
  );
@@ -2892,7 +2905,7 @@ const { Title: ao } = Qt, jo = ({
2892
2905
  loadMoreText: f = "Cargar más",
2893
2906
  emptyText: p = "No hay notificaciones",
2894
2907
  popoverWidth: m = 380,
2895
- overflowCount: w = 99,
2908
+ overflowCount: S = 99,
2896
2909
  badgeColor: y,
2897
2910
  showZero: T = !1,
2898
2911
  containerStyle: I,
@@ -2902,7 +2915,7 @@ const { Title: ao } = Qt, jo = ({
2902
2915
  maxHeight: O = 400,
2903
2916
  placement: F = "bottomRight"
2904
2917
  }) => {
2905
- const [S, P] = gt(!1), Z = (v) => {
2918
+ const [w, P] = gt(!1), ae = (v) => {
2906
2919
  P(v), M == null || M(v);
2907
2920
  }, k = (v) => {
2908
2921
  l == null || l(v);
@@ -2985,7 +2998,7 @@ const { Title: ao } = Qt, jo = ({
2985
2998
  children: v.timestamp
2986
2999
  }
2987
3000
  ),
2988
- v.actions && v.actions.length > 0 && /* @__PURE__ */ o(me, { size: "small", style: { marginTop: "8px" }, children: v.actions.map((L, Q) => /* @__PURE__ */ o(
3001
+ v.actions && v.actions.length > 0 && /* @__PURE__ */ o(me, { size: "small", style: { marginTop: "8px" }, children: v.actions.map((L, Z) => /* @__PURE__ */ o(
2989
3002
  W,
2990
3003
  {
2991
3004
  type: L.type || "default",
@@ -2993,17 +3006,17 @@ const { Title: ao } = Qt, jo = ({
2993
3006
  icon: L.icon,
2994
3007
  danger: L.danger,
2995
3008
  disabled: L.disabled,
2996
- onClick: (J) => {
2997
- J.stopPropagation(), L.onClick(v);
3009
+ onClick: (Q) => {
3010
+ Q.stopPropagation(), L.onClick(v);
2998
3011
  },
2999
3012
  children: L.label
3000
3013
  },
3001
- Q
3014
+ Z
3002
3015
  )) })
3003
3016
  ]
3004
3017
  }
3005
3018
  ), ie = /* @__PURE__ */ g("div", { style: { width: m }, children: [
3006
- h && /* @__PURE__ */ g(ne, { children: [
3019
+ h && /* @__PURE__ */ g(re, { children: [
3007
3020
  /* @__PURE__ */ g(
3008
3021
  "div",
3009
3022
  {
@@ -3047,7 +3060,7 @@ const { Title: ao } = Qt, jo = ({
3047
3060
  )
3048
3061
  }
3049
3062
  ) }),
3050
- c && t.length > 0 && /* @__PURE__ */ g(ne, { children: [
3063
+ c && t.length > 0 && /* @__PURE__ */ g(re, { children: [
3051
3064
  /* @__PURE__ */ o(Te, { style: { margin: "8px 0" } }),
3052
3065
  /* @__PURE__ */ o("div", { style: { textAlign: "center", padding: "8px 0" }, children: /* @__PURE__ */ o(
3053
3066
  Y,
@@ -3068,11 +3081,11 @@ const { Title: ao } = Qt, jo = ({
3068
3081
  content: ie,
3069
3082
  title: h ? null : D,
3070
3083
  trigger: "click",
3071
- open: S,
3072
- onOpenChange: Z,
3084
+ open: w,
3085
+ onOpenChange: ae,
3073
3086
  placement: F,
3074
3087
  overlayStyle: { maxWidth: m + 48 },
3075
- children: /* @__PURE__ */ o(
3088
+ children: /* @__PURE__ */ o("div", { style: { display: "inline-block", cursor: "pointer" }, children: /* @__PURE__ */ o(
3076
3089
  io,
3077
3090
  {
3078
3091
  count: e !== void 0 ? e : t.filter((v) => !v.read).length,
@@ -3080,13 +3093,12 @@ const { Title: ao } = Qt, jo = ({
3080
3093
  size: n,
3081
3094
  useButton: a,
3082
3095
  buttonType: i,
3083
- overflowCount: w,
3096
+ overflowCount: S,
3084
3097
  color: y,
3085
3098
  showZero: T,
3086
- containerStyle: I,
3087
- onClick: () => Z(!S)
3099
+ containerStyle: I
3088
3100
  }
3089
- )
3101
+ ) })
3090
3102
  }
3091
3103
  );
3092
3104
  }, qo = (e) => /* @__PURE__ */ o(be, { ...e }), so = ({ className: e, style: t, ...r }, n) => /* @__PURE__ */ o(
@@ -3097,7 +3109,7 @@ const { Title: ao } = Qt, jo = ({
3097
3109
  style: t,
3098
3110
  ...r
3099
3111
  }
3100
- ), jt = oe.forwardRef(so);
3112
+ ), jt = ne.forwardRef(so);
3101
3113
  jt.Item = fe.Item;
3102
3114
  jt.ItemMeta = fe.Item.Meta;
3103
3115
  const lo = {
@@ -3207,22 +3219,22 @@ const lo = {
3207
3219
  );
3208
3220
  }, Ko = {
3209
3221
  open: (e) => {
3210
- te.open(e);
3222
+ ee.open(e);
3211
3223
  },
3212
3224
  success: (e, t, r) => {
3213
- te.success(e, t, r);
3225
+ ee.success(e, t, r);
3214
3226
  },
3215
3227
  error: (e, t, r) => {
3216
- te.error(e, t, r);
3228
+ ee.error(e, t, r);
3217
3229
  },
3218
3230
  info: (e, t, r) => {
3219
- te.info(e, t, r);
3231
+ ee.info(e, t, r);
3220
3232
  },
3221
3233
  warning: (e, t, r) => {
3222
- te.warning(e, t, r);
3234
+ ee.warning(e, t, r);
3223
3235
  },
3224
3236
  loading: (e, t, r) => {
3225
- te.loading(e, t, r);
3237
+ ee.loading(e, t, r);
3226
3238
  }
3227
3239
  };
3228
3240
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helppeople-ui",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Librería de componentes frontend para estilos y diseños estándar.",
5
5
  "main": "dist/my-library.cjs.js",
6
6
  "module": "dist/my-library.es.js",