@canaia/ui-kit 0.0.10-alpha.37 → 0.0.10-alpha.38

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.
@@ -23316,7 +23316,7 @@ const yR = ({
23316
23316
  typeAccept: n = "file",
23317
23317
  fileAccept: r = [".pdf", ".doc", ".docx", ".xls", ".xlsx", ".txt", ".csv"],
23318
23318
  maxSize: o = "5MB",
23319
- title: i = "Subir tus archivos",
23319
+ title: i = "",
23320
23320
  description: a = "Arrastra y suelta tus archivos aquí",
23321
23321
  buttonText: s = "Seleccionar archivos"
23322
23322
  }) => {
@@ -23378,6 +23378,7 @@ const yR = ({
23378
23378
  });
23379
23379
  }), Y.length > 0 && e(Y);
23380
23380
  },
23381
+ // eslint-disable-next-line react-hooks/exhaustive-deps
23381
23382
  [x, e, c]
23382
23383
  ), { getRootProps: C, getInputProps: O, isDragActive: j } = O4({
23383
23384
  onDrop: _,
@@ -23386,7 +23387,7 @@ const yR = ({
23386
23387
  maxSize: g
23387
23388
  }), D = g ? `Tamaño máximo: ${g / 1024 / 1024} MB` : "Sin límite de tamaño";
23388
23389
  return /* @__PURE__ */ d.jsxs(At, { children: [
23389
- /* @__PURE__ */ d.jsx(bt, { mt: 4, alignItems: "flex-start", children: /* @__PURE__ */ d.jsx(Ke, { fontSize: "20px", fontWeight: "700", color: u, mb: 2, children: i }) }),
23390
+ /* @__PURE__ */ d.jsx(bt, { mt: 4, alignItems: "flex-start", children: i.trim() && /* @__PURE__ */ d.jsx(Ke, { fontSize: "20px", fontWeight: "700", color: u, mb: 2, children: i }) }),
23390
23391
  /* @__PURE__ */ d.jsxs(
23391
23392
  At,
23392
23393
  {
@@ -393,7 +393,7 @@ Valid keys: `+JSON.stringify(Object.keys(M),null," "));var U=_e(te,ce,z,x,K+"."
393
393
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RA(e){if(Array.isArray(e))return Gd(e)}function M3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function O3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?M3(Object(n),!0).forEach(function(r){D3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function D3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e,t){return WA(e)||VA(e,t)||I3(e,t)||NA()}function NA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
394
394
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I3(e,t){if(e){if(typeof e=="string")return Gd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gd(e,t)}}function Gd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VA(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function WA(e){if(Array.isArray(e))return e}var HA=typeof Zd=="function"?Zd:Zd.default,UA="file-invalid-type",qA="file-too-large",ZA="file-too-small",GA="too-many-files",KA=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=t.split(","),r=n.length>1?"one of ".concat(n.join(", ")):n[0];return{code:UA,message:"File type must be ".concat(r)}},$3=function(t){return{code:qA,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},F3=function(t){return{code:ZA,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},YA={code:GA,message:"Too many files"};function z3(e,t){var n=e.type==="application/x-moz-file"||HA(e,t);return[n,n?null:KA(t)]}function L3(e,t,n){if(ho(e.size))if(ho(t)&&ho(n)){if(e.size>n)return[!1,$3(n)];if(e.size<t)return[!1,F3(t)]}else{if(ho(t)&&e.size<t)return[!1,F3(t)];if(ho(n)&&e.size>n)return[!1,$3(n)]}return[!0,null]}function ho(e){return e!=null}function XA(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,s=e.validator;return!i&&t.length>1||i&&a>=1&&t.length>a?!1:t.every(function(l){var c=z3(l,n),u=Aa(c,1),f=u[0],p=L3(l,r,o),h=Aa(p,1),b=h[0],m=s?s(l):null;return f&&b&&!m})}function bl(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function yl(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function B3(e){e.preventDefault()}function JA(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function QA(e){return e.indexOf("Edge/")!==-1}function eM(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return JA(e)||QA(e)}function or(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return t.some(function(s){return!bl(r)&&s&&s.apply(void 0,[r].concat(i)),bl(r)})}}function tM(){return"showOpenFilePicker"in window}function nM(e){if(ho(e)){var t=Object.entries(e).filter(function(n){var r=Aa(n,2),o=r[0],i=r[1],a=!0;return R3(o)||(console.warn('Skipped "'.concat(o,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),(!Array.isArray(i)||!i.every(N3))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(n,r){var o=Aa(r,2),i=o[0],a=o[1];return O3(O3({},n),{},D3({},i,a))},{});return[{description:"Files",accept:t}]}return e}function rM(e){if(ho(e))return Object.entries(e).reduce(function(t,n){var r=Aa(n,2),o=r[0],i=r[1];return[].concat(A3(t),[o],A3(i))},[]).filter(function(t){return R3(t)||N3(t)}).join(",")}function oM(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function iM(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function R3(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function N3(e){return/^.*\.[\w]+$/.test(e)}var aM=["children"],sM=["open"],lM=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],cM=["refKey","onChange","onClick"];function uM(e){return pM(e)||fM(e)||V3(e)||dM()}function dM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
395
395
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pM(e){if(Array.isArray(e))return Yd(e)}function Kd(e,t){return gM(e)||mM(e,t)||V3(e,t)||hM()}function hM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
396
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V3(e,t){if(e){if(typeof e=="string")return Yd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yd(e,t)}}function Yd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mM(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function gM(e){if(Array.isArray(e))return e}function W3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function yt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?W3(Object(n),!0).forEach(function(r){Xd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e,t){if(e==null)return{};var n=vM(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vM(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Jd=v.forwardRef(function(e,t){var n=e.children,r=xl(e,aM),o=U3(r),i=o.open,a=xl(o,sM);return v.useImperativeHandle(t,function(){return{open:i}},[i]),v.createElement(v.Fragment,null,n(yt(yt({},a),{},{open:i})))});Jd.displayName="Dropzone";var H3={disabled:!1,getFilesFromEvent:EA,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Jd.defaultProps=H3,Jd.propTypes={children:ot.func,accept:ot.objectOf(ot.arrayOf(ot.string)),multiple:ot.bool,preventDropOnDocument:ot.bool,noClick:ot.bool,noKeyboard:ot.bool,noDrag:ot.bool,noDragEventsBubbling:ot.bool,minSize:ot.number,maxSize:ot.number,maxFiles:ot.number,disabled:ot.bool,getFilesFromEvent:ot.func,onFileDialogCancel:ot.func,onFileDialogOpen:ot.func,useFsAccessApi:ot.bool,autoFocus:ot.bool,onDragEnter:ot.func,onDragLeave:ot.func,onDragOver:ot.func,onDrop:ot.func,onDropAccepted:ot.func,onDropRejected:ot.func,onError:ot.func,validator:ot.func};var Qd={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function U3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=yt(yt({},H3),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,c=t.onDragEnter,u=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,b=t.onDropRejected,m=t.onFileDialogCancel,g=t.onFileDialogOpen,C=t.useFsAccessApi,y=t.autoFocus,k=t.preventDropOnDocument,T=t.noClick,w=t.noKeyboard,O=t.noDrag,P=t.noDragEventsBubbling,$=t.onError,L=t.validator,R=v.useMemo(function(){return rM(n)},[n]),X=v.useMemo(function(){return nM(n)},[n]),be=v.useMemo(function(){return typeof g=="function"?g:q3},[g]),se=v.useMemo(function(){return typeof m=="function"?m:q3},[m]),V=v.useRef(null),Y=v.useRef(null),J=v.useReducer(bM,Qd),B=Kd(J,2),ge=B[0],ye=B[1],M=ge.isFocused,I=ge.isFileDialogActive,G=v.useRef(typeof window<"u"&&window.isSecureContext&&C&&tM()),N=function(){!G.current&&I&&setTimeout(function(){if(Y.current){var re=Y.current.files;re.length||(ye({type:"closeDialog"}),se())}},300)};v.useEffect(function(){return window.addEventListener("focus",N,!1),function(){window.removeEventListener("focus",N,!1)}},[Y,I,se,G]);var z=v.useRef([]),x=function(re){V.current&&V.current.contains(re.target)||(re.preventDefault(),z.current=[])};v.useEffect(function(){return k&&(document.addEventListener("dragover",B3,!1),document.addEventListener("drop",x,!1)),function(){k&&(document.removeEventListener("dragover",B3),document.removeEventListener("drop",x))}},[V,k]),v.useEffect(function(){return!r&&y&&V.current&&V.current.focus(),function(){}},[V,y,r]);var K=v.useCallback(function(H){$?$(H):console.error(H)},[$]),te=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H),z.current=[].concat(uM(z.current),[H.target]),yl(H)&&Promise.resolve(o(H)).then(function(re){if(!(bl(H)&&!P)){var oe=re.length,ae=oe>0&&XA({files:re,accept:R,minSize:a,maxSize:i,multiple:s,maxFiles:l,validator:L}),Oe=oe>0&&!ae;ye({isDragAccept:ae,isDragReject:Oe,isDragActive:!0,type:"setDraggedFiles"}),c&&c(H)}}).catch(function(re){return K(re)})},[o,c,K,P,R,a,i,s,l,L]),ne=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H);var re=yl(H);if(re&&H.dataTransfer)try{H.dataTransfer.dropEffect="copy"}catch{}return re&&f&&f(H),!1},[f,P]),de=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H);var re=z.current.filter(function(ae){return V.current&&V.current.contains(ae)}),oe=re.indexOf(H.target);oe!==-1&&re.splice(oe,1),z.current=re,!(re.length>0)&&(ye({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),yl(H)&&u&&u(H))},[V,u,P]),ce=v.useCallback(function(H,re){var oe=[],ae=[];H.forEach(function(Oe){var ft=z3(Oe,R),tt=Kd(ft,2),xt=tt[0],It=tt[1],Gt=L3(Oe,a,i),it=Kd(Gt,2),Pt=it[0],Ht=it[1],Ln=L?L(Oe):null;if(xt&&Pt&&!Ln)oe.push(Oe);else{var ln=[It,Ht];Ln&&(ln=ln.concat(Ln)),ae.push({file:Oe,errors:ln.filter(function(gn){return gn})})}}),(!s&&oe.length>1||s&&l>=1&&oe.length>l)&&(oe.forEach(function(Oe){ae.push({file:Oe,errors:[YA]})}),oe.splice(0)),ye({acceptedFiles:oe,fileRejections:ae,isDragReject:ae.length>0,type:"setFiles"}),p&&p(oe,ae,re),ae.length>0&&b&&b(ae,re),oe.length>0&&h&&h(oe,re)},[ye,s,R,a,i,l,p,h,b,L]),_e=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H),z.current=[],yl(H)&&Promise.resolve(o(H)).then(function(re){bl(H)&&!P||ce(re,H)}).catch(function(re){return K(re)}),ye({type:"reset"})},[o,ce,K,P]),U=v.useCallback(function(){if(G.current){ye({type:"openDialog"}),be();var H={multiple:s,types:X};window.showOpenFilePicker(H).then(function(re){return o(re)}).then(function(re){ce(re,null),ye({type:"closeDialog"})}).catch(function(re){oM(re)?(se(re),ye({type:"closeDialog"})):iM(re)?(G.current=!1,Y.current?(Y.current.value=null,Y.current.click()):K(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):K(re)});return}Y.current&&(ye({type:"openDialog"}),be(),Y.current.value=null,Y.current.click())},[ye,be,se,C,ce,K,X,s]),je=v.useCallback(function(H){!V.current||!V.current.isEqualNode(H.target)||(H.key===" "||H.key==="Enter"||H.keyCode===32||H.keyCode===13)&&(H.preventDefault(),U())},[V,U]),$e=v.useCallback(function(){ye({type:"focus"})},[]),F=v.useCallback(function(){ye({type:"blur"})},[]),Z=v.useCallback(function(){T||(eM()?setTimeout(U,0):U())},[T,U]),ie=function(re){return r?null:re},xe=function(re){return w?null:ie(re)},fe=function(re){return O?null:ie(re)},pe=function(re){P&&re.stopPropagation()},Te=v.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=H.refKey,oe=re===void 0?"ref":re,ae=H.role,Oe=H.onKeyDown,ft=H.onFocus,tt=H.onBlur,xt=H.onClick,It=H.onDragEnter,Gt=H.onDragOver,it=H.onDragLeave,Pt=H.onDrop,Ht=xl(H,lM);return yt(yt(Xd({onKeyDown:xe(or(Oe,je)),onFocus:xe(or(ft,$e)),onBlur:xe(or(tt,F)),onClick:ie(or(xt,Z)),onDragEnter:fe(or(It,te)),onDragOver:fe(or(Gt,ne)),onDragLeave:fe(or(it,de)),onDrop:fe(or(Pt,_e)),role:typeof ae=="string"&&ae!==""?ae:"presentation"},oe,V),!r&&!w?{tabIndex:0}:{}),Ht)}},[V,je,$e,F,Z,te,ne,de,_e,w,O,r]),Ie=v.useCallback(function(H){H.stopPropagation()},[]),le=v.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=H.refKey,oe=re===void 0?"ref":re,ae=H.onChange,Oe=H.onClick,ft=xl(H,cM),tt=Xd({accept:R,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:ie(or(ae,_e)),onClick:ie(or(Oe,Ie)),tabIndex:-1},oe,Y);return yt(yt({},tt),ft)}},[Y,n,s,_e,r]);return yt(yt({},ge),{},{isFocused:M&&!r,getRootProps:Te,getInputProps:le,rootRef:V,inputRef:Y,open:ie(U)})}function bM(e,t){switch(t.type){case"focus":return yt(yt({},e),{},{isFocused:!0});case"blur":return yt(yt({},e),{},{isFocused:!1});case"openDialog":return yt(yt({},Qd),{},{isFileDialogActive:!0});case"closeDialog":return yt(yt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return yt(yt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return yt(yt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return yt({},Qd);default:return e}}function q3(){}function yM(e){return bt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M13 19v-4h3l-4-5-4 5h3v4z"},child:[]},{tag:"path",attr:{d:"M7 19h2v-2H7c-1.654 0-3-1.346-3-3 0-1.404 1.199-2.756 2.673-3.015l.581-.102.192-.558C8.149 8.274 9.895 7 12 7c2.757 0 5 2.243 5 5v1h1c1.103 0 2 .897 2 2s-.897 2-2 2h-3v2h3c2.206 0 4-1.794 4-4a4.01 4.01 0 0 0-3.056-3.888C18.507 7.67 15.56 5 12 5 9.244 5 6.85 6.611 5.757 9.15 3.609 9.792 2 11.82 2 14c0 2.757 2.243 5 5 5z"},child:[]}]})(e)}const xM=({onFilesDropped:e,color:t="elevate.500",typeAccept:n="file",fileAccept:r=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"],maxSize:o="5MB",title:i="Subir tus archivos",description:a="Arrastra y suelta tus archivos aquí",buttonText:s="Seleccionar archivos"})=>{const l=h3(),[c,u,f,p]=qs("colors",[t,"black.600","white.50","black.300"]),h=zt(c,.7)({}),[b,m]=v.useState(""),g=typeof o=="string"&&o.includes("MB")?parseInt(o)*1024*1024:parseInt(o),C=v.useMemo(()=>r.length>0?r.map(L=>L.startsWith(".")?L:`.${L}`):n==="image"?[".jpeg",".jpg",".png",".gif"]:n==="file"?[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"]:[],[r,n]),y={".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".txt":"text/plain",".csv":"text/csv",".jpeg":"image/jpeg",".jpg":"image/jpeg",".png":"image/png",".gif":"image/gif"},k=C.length>0?C.reduce((L,R)=>{const X=y[R];return X&&(L[X]=[...L[X]||[],R]),L},{}):void 0;v.useEffect(()=>{C.length>0?m(`Formato soportado: ${C.map(L=>L.replace(".","")).join(", ")}`):m("Acepta cualquier archivo")},[C]);const T=v.useCallback((L,R)=>{const X=L.filter(be=>C.some(se=>be.name.endsWith(se)));R.forEach(be=>{const{file:se,errors:V}=be;V.forEach(Y=>{Y.code==="file-too-large"?l({title:"Archivo demasiado grande",description:`El archivo "${se.name}" supera el tamaño máximo permitido.`,status:"warning",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${f} !important`}}):Y.code==="file-invalid-type"&&l({title:"Extensión no permitida",description:`El archivo "${se.name}" no tiene una extensión válida.`,status:"info",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${f} !important`}})})}),X.length>0&&e(X)},[C,e,l]),{getRootProps:w,getInputProps:O,isDragActive:P}=U3({onDrop:T,multiple:!0,accept:k,maxSize:g}),$=g?`Tamaño máximo: ${g/1024/1024} MB`:"Sin límite de tamaño";return d.jsxs(_t,{children:[d.jsx(pt,{mt:4,alignItems:"flex-start",children:d.jsx(Ue,{fontSize:"20px",fontWeight:"700",color:u,mb:2,children:i})}),d.jsxs(_t,{...w(),py:"70px",px:"41px",border:`2px dashed ${P?c:p}`,borderRadius:"lg",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",_hover:{borderColor:h},bg:P?zt(c,.1)({}):"transparent",children:[d.jsx("input",{...O()}),d.jsx(_n,{as:yM,boxSize:"40px",color:c,mb:"16px"}),d.jsx(Ue,{fontSize:"16px",fontWeight:"16px",color:u,mb:4,children:a}),d.jsx(Fn,{bg:c,color:f,_hover:{bg:h},size:"lg",children:s})]}),d.jsxs(pt,{mt:4,justifyContent:"space-between",children:[b&&d.jsx(Ue,{fontSize:"14px",color:p,children:b}),$&&d.jsx(Ue,{fontSize:"14px",color:p,children:$})]})]})},CM=({text:e,fontSize:t="md"})=>d.jsx(Ue,{fontSize:t,fontFamily:"Lato",children:e}),wM=({label:e,placeholder:t,value:n="",onChange:r=f=>{console.log(f)},isRequired:o=!1,info:i=!1,infoText:a="",product:s="info",textArea:l=!1,description:c="",dropdown:u=!1})=>{const[f,p]=v.useState(!0),h=C=>{r(C.target.value)},b=Zt[s],m=b[200],g=b[300];return d.jsxs(Ks,{isRequired:o,children:[d.jsxs(Xs,{display:"flex",alignItems:"center",fontSize:"16px",children:[u&&d.jsx(Tn,{"aria-label":"Toggle Description",icon:f?d.jsx(Ud,{}):d.jsx(C3,{}),size:"sm",variant:"ghost",onClick:()=>p(!f),_hover:{bg:"transparent"}}),e,i&&a&&d.jsx(Hd,{label:a,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:m,border:`1px solid ${g}`,color:"black.500",placement:"top",hasArrow:!0,children:d.jsx(Tn,{icon:d.jsx(S3,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),u&&f&&c&&d.jsx(Ue,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:c}),l?d.jsx(Nd,{placeholder:t,value:n,onChange:C=>h(C),bg:"white"}):d.jsx(va,{placeholder:t,value:n,onChange:h,bg:"white"})]})};var SM=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(r,o,i){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var a in r)n.d(i,a,(function(s){return r[s]}).bind(null,a));return i},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=9)}([function(e,t){e.exports=v},function(e,t,n){var r;/*!
396
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V3(e,t){if(e){if(typeof e=="string")return Yd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yd(e,t)}}function Yd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mM(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function gM(e){if(Array.isArray(e))return e}function W3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function yt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?W3(Object(n),!0).forEach(function(r){Xd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e,t){if(e==null)return{};var n=vM(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vM(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Jd=v.forwardRef(function(e,t){var n=e.children,r=xl(e,aM),o=U3(r),i=o.open,a=xl(o,sM);return v.useImperativeHandle(t,function(){return{open:i}},[i]),v.createElement(v.Fragment,null,n(yt(yt({},a),{},{open:i})))});Jd.displayName="Dropzone";var H3={disabled:!1,getFilesFromEvent:EA,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Jd.defaultProps=H3,Jd.propTypes={children:ot.func,accept:ot.objectOf(ot.arrayOf(ot.string)),multiple:ot.bool,preventDropOnDocument:ot.bool,noClick:ot.bool,noKeyboard:ot.bool,noDrag:ot.bool,noDragEventsBubbling:ot.bool,minSize:ot.number,maxSize:ot.number,maxFiles:ot.number,disabled:ot.bool,getFilesFromEvent:ot.func,onFileDialogCancel:ot.func,onFileDialogOpen:ot.func,useFsAccessApi:ot.bool,autoFocus:ot.bool,onDragEnter:ot.func,onDragLeave:ot.func,onDragOver:ot.func,onDrop:ot.func,onDropAccepted:ot.func,onDropRejected:ot.func,onError:ot.func,validator:ot.func};var Qd={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function U3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=yt(yt({},H3),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,c=t.onDragEnter,u=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,b=t.onDropRejected,m=t.onFileDialogCancel,g=t.onFileDialogOpen,C=t.useFsAccessApi,y=t.autoFocus,k=t.preventDropOnDocument,T=t.noClick,w=t.noKeyboard,O=t.noDrag,P=t.noDragEventsBubbling,$=t.onError,L=t.validator,R=v.useMemo(function(){return rM(n)},[n]),X=v.useMemo(function(){return nM(n)},[n]),be=v.useMemo(function(){return typeof g=="function"?g:q3},[g]),se=v.useMemo(function(){return typeof m=="function"?m:q3},[m]),V=v.useRef(null),Y=v.useRef(null),J=v.useReducer(bM,Qd),B=Kd(J,2),ge=B[0],ye=B[1],M=ge.isFocused,I=ge.isFileDialogActive,G=v.useRef(typeof window<"u"&&window.isSecureContext&&C&&tM()),N=function(){!G.current&&I&&setTimeout(function(){if(Y.current){var re=Y.current.files;re.length||(ye({type:"closeDialog"}),se())}},300)};v.useEffect(function(){return window.addEventListener("focus",N,!1),function(){window.removeEventListener("focus",N,!1)}},[Y,I,se,G]);var z=v.useRef([]),x=function(re){V.current&&V.current.contains(re.target)||(re.preventDefault(),z.current=[])};v.useEffect(function(){return k&&(document.addEventListener("dragover",B3,!1),document.addEventListener("drop",x,!1)),function(){k&&(document.removeEventListener("dragover",B3),document.removeEventListener("drop",x))}},[V,k]),v.useEffect(function(){return!r&&y&&V.current&&V.current.focus(),function(){}},[V,y,r]);var K=v.useCallback(function(H){$?$(H):console.error(H)},[$]),te=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H),z.current=[].concat(uM(z.current),[H.target]),yl(H)&&Promise.resolve(o(H)).then(function(re){if(!(bl(H)&&!P)){var oe=re.length,ae=oe>0&&XA({files:re,accept:R,minSize:a,maxSize:i,multiple:s,maxFiles:l,validator:L}),Oe=oe>0&&!ae;ye({isDragAccept:ae,isDragReject:Oe,isDragActive:!0,type:"setDraggedFiles"}),c&&c(H)}}).catch(function(re){return K(re)})},[o,c,K,P,R,a,i,s,l,L]),ne=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H);var re=yl(H);if(re&&H.dataTransfer)try{H.dataTransfer.dropEffect="copy"}catch{}return re&&f&&f(H),!1},[f,P]),de=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H);var re=z.current.filter(function(ae){return V.current&&V.current.contains(ae)}),oe=re.indexOf(H.target);oe!==-1&&re.splice(oe,1),z.current=re,!(re.length>0)&&(ye({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),yl(H)&&u&&u(H))},[V,u,P]),ce=v.useCallback(function(H,re){var oe=[],ae=[];H.forEach(function(Oe){var ft=z3(Oe,R),tt=Kd(ft,2),xt=tt[0],It=tt[1],Gt=L3(Oe,a,i),it=Kd(Gt,2),Pt=it[0],Ht=it[1],Ln=L?L(Oe):null;if(xt&&Pt&&!Ln)oe.push(Oe);else{var ln=[It,Ht];Ln&&(ln=ln.concat(Ln)),ae.push({file:Oe,errors:ln.filter(function(gn){return gn})})}}),(!s&&oe.length>1||s&&l>=1&&oe.length>l)&&(oe.forEach(function(Oe){ae.push({file:Oe,errors:[YA]})}),oe.splice(0)),ye({acceptedFiles:oe,fileRejections:ae,isDragReject:ae.length>0,type:"setFiles"}),p&&p(oe,ae,re),ae.length>0&&b&&b(ae,re),oe.length>0&&h&&h(oe,re)},[ye,s,R,a,i,l,p,h,b,L]),_e=v.useCallback(function(H){H.preventDefault(),H.persist(),pe(H),z.current=[],yl(H)&&Promise.resolve(o(H)).then(function(re){bl(H)&&!P||ce(re,H)}).catch(function(re){return K(re)}),ye({type:"reset"})},[o,ce,K,P]),U=v.useCallback(function(){if(G.current){ye({type:"openDialog"}),be();var H={multiple:s,types:X};window.showOpenFilePicker(H).then(function(re){return o(re)}).then(function(re){ce(re,null),ye({type:"closeDialog"})}).catch(function(re){oM(re)?(se(re),ye({type:"closeDialog"})):iM(re)?(G.current=!1,Y.current?(Y.current.value=null,Y.current.click()):K(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):K(re)});return}Y.current&&(ye({type:"openDialog"}),be(),Y.current.value=null,Y.current.click())},[ye,be,se,C,ce,K,X,s]),je=v.useCallback(function(H){!V.current||!V.current.isEqualNode(H.target)||(H.key===" "||H.key==="Enter"||H.keyCode===32||H.keyCode===13)&&(H.preventDefault(),U())},[V,U]),$e=v.useCallback(function(){ye({type:"focus"})},[]),F=v.useCallback(function(){ye({type:"blur"})},[]),Z=v.useCallback(function(){T||(eM()?setTimeout(U,0):U())},[T,U]),ie=function(re){return r?null:re},xe=function(re){return w?null:ie(re)},fe=function(re){return O?null:ie(re)},pe=function(re){P&&re.stopPropagation()},Te=v.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=H.refKey,oe=re===void 0?"ref":re,ae=H.role,Oe=H.onKeyDown,ft=H.onFocus,tt=H.onBlur,xt=H.onClick,It=H.onDragEnter,Gt=H.onDragOver,it=H.onDragLeave,Pt=H.onDrop,Ht=xl(H,lM);return yt(yt(Xd({onKeyDown:xe(or(Oe,je)),onFocus:xe(or(ft,$e)),onBlur:xe(or(tt,F)),onClick:ie(or(xt,Z)),onDragEnter:fe(or(It,te)),onDragOver:fe(or(Gt,ne)),onDragLeave:fe(or(it,de)),onDrop:fe(or(Pt,_e)),role:typeof ae=="string"&&ae!==""?ae:"presentation"},oe,V),!r&&!w?{tabIndex:0}:{}),Ht)}},[V,je,$e,F,Z,te,ne,de,_e,w,O,r]),Ie=v.useCallback(function(H){H.stopPropagation()},[]),le=v.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=H.refKey,oe=re===void 0?"ref":re,ae=H.onChange,Oe=H.onClick,ft=xl(H,cM),tt=Xd({accept:R,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:ie(or(ae,_e)),onClick:ie(or(Oe,Ie)),tabIndex:-1},oe,Y);return yt(yt({},tt),ft)}},[Y,n,s,_e,r]);return yt(yt({},ge),{},{isFocused:M&&!r,getRootProps:Te,getInputProps:le,rootRef:V,inputRef:Y,open:ie(U)})}function bM(e,t){switch(t.type){case"focus":return yt(yt({},e),{},{isFocused:!0});case"blur":return yt(yt({},e),{},{isFocused:!1});case"openDialog":return yt(yt({},Qd),{},{isFileDialogActive:!0});case"closeDialog":return yt(yt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return yt(yt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return yt(yt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return yt({},Qd);default:return e}}function q3(){}function yM(e){return bt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M13 19v-4h3l-4-5-4 5h3v4z"},child:[]},{tag:"path",attr:{d:"M7 19h2v-2H7c-1.654 0-3-1.346-3-3 0-1.404 1.199-2.756 2.673-3.015l.581-.102.192-.558C8.149 8.274 9.895 7 12 7c2.757 0 5 2.243 5 5v1h1c1.103 0 2 .897 2 2s-.897 2-2 2h-3v2h3c2.206 0 4-1.794 4-4a4.01 4.01 0 0 0-3.056-3.888C18.507 7.67 15.56 5 12 5 9.244 5 6.85 6.611 5.757 9.15 3.609 9.792 2 11.82 2 14c0 2.757 2.243 5 5 5z"},child:[]}]})(e)}const xM=({onFilesDropped:e,color:t="elevate.500",typeAccept:n="file",fileAccept:r=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"],maxSize:o="5MB",title:i="",description:a="Arrastra y suelta tus archivos aquí",buttonText:s="Seleccionar archivos"})=>{const l=h3(),[c,u,f,p]=qs("colors",[t,"black.600","white.50","black.300"]),h=zt(c,.7)({}),[b,m]=v.useState(""),g=typeof o=="string"&&o.includes("MB")?parseInt(o)*1024*1024:parseInt(o),C=v.useMemo(()=>r.length>0?r.map(L=>L.startsWith(".")?L:`.${L}`):n==="image"?[".jpeg",".jpg",".png",".gif"]:n==="file"?[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"]:[],[r,n]),y={".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".txt":"text/plain",".csv":"text/csv",".jpeg":"image/jpeg",".jpg":"image/jpeg",".png":"image/png",".gif":"image/gif"},k=C.length>0?C.reduce((L,R)=>{const X=y[R];return X&&(L[X]=[...L[X]||[],R]),L},{}):void 0;v.useEffect(()=>{C.length>0?m(`Formato soportado: ${C.map(L=>L.replace(".","")).join(", ")}`):m("Acepta cualquier archivo")},[C]);const T=v.useCallback((L,R)=>{const X=L.filter(be=>C.some(se=>be.name.endsWith(se)));R.forEach(be=>{const{file:se,errors:V}=be;V.forEach(Y=>{Y.code==="file-too-large"?l({title:"Archivo demasiado grande",description:`El archivo "${se.name}" supera el tamaño máximo permitido.`,status:"warning",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${f} !important`}}):Y.code==="file-invalid-type"&&l({title:"Extensión no permitida",description:`El archivo "${se.name}" no tiene una extensión válida.`,status:"info",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${f} !important`}})})}),X.length>0&&e(X)},[C,e,l]),{getRootProps:w,getInputProps:O,isDragActive:P}=U3({onDrop:T,multiple:!0,accept:k,maxSize:g}),$=g?`Tamaño máximo: ${g/1024/1024} MB`:"Sin límite de tamaño";return d.jsxs(_t,{children:[d.jsx(pt,{mt:4,alignItems:"flex-start",children:i.trim()&&d.jsx(Ue,{fontSize:"20px",fontWeight:"700",color:u,mb:2,children:i})}),d.jsxs(_t,{...w(),py:"70px",px:"41px",border:`2px dashed ${P?c:p}`,borderRadius:"lg",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",_hover:{borderColor:h},bg:P?zt(c,.1)({}):"transparent",children:[d.jsx("input",{...O()}),d.jsx(_n,{as:yM,boxSize:"40px",color:c,mb:"16px"}),d.jsx(Ue,{fontSize:"16px",fontWeight:"16px",color:u,mb:4,children:a}),d.jsx(Fn,{bg:c,color:f,_hover:{bg:h},size:"lg",children:s})]}),d.jsxs(pt,{mt:4,justifyContent:"space-between",children:[b&&d.jsx(Ue,{fontSize:"14px",color:p,children:b}),$&&d.jsx(Ue,{fontSize:"14px",color:p,children:$})]})]})},CM=({text:e,fontSize:t="md"})=>d.jsx(Ue,{fontSize:t,fontFamily:"Lato",children:e}),wM=({label:e,placeholder:t,value:n="",onChange:r=f=>{console.log(f)},isRequired:o=!1,info:i=!1,infoText:a="",product:s="info",textArea:l=!1,description:c="",dropdown:u=!1})=>{const[f,p]=v.useState(!0),h=C=>{r(C.target.value)},b=Zt[s],m=b[200],g=b[300];return d.jsxs(Ks,{isRequired:o,children:[d.jsxs(Xs,{display:"flex",alignItems:"center",fontSize:"16px",children:[u&&d.jsx(Tn,{"aria-label":"Toggle Description",icon:f?d.jsx(Ud,{}):d.jsx(C3,{}),size:"sm",variant:"ghost",onClick:()=>p(!f),_hover:{bg:"transparent"}}),e,i&&a&&d.jsx(Hd,{label:a,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:m,border:`1px solid ${g}`,color:"black.500",placement:"top",hasArrow:!0,children:d.jsx(Tn,{icon:d.jsx(S3,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),u&&f&&c&&d.jsx(Ue,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:c}),l?d.jsx(Nd,{placeholder:t,value:n,onChange:C=>h(C),bg:"white"}):d.jsx(va,{placeholder:t,value:n,onChange:h,bg:"white"})]})};var SM=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(r,o,i){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var a in r)n.d(i,a,(function(s){return r[s]}).bind(null,a));return i},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=9)}([function(e,t){e.exports=v},function(e,t,n){var r;/*!
397
397
  Copyright (c) 2017 Jed Watson.
398
398
  Licensed under the MIT License (MIT), see
399
399
  http://jedwatson.github.io/classnames
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canaia/ui-kit",
3
- "version": "0.0.10-alpha.37",
3
+ "version": "0.0.10-alpha.38",
4
4
  "main": "dist/canaia-ui-kit.umd.js",
5
5
  "module": "dist/canaia-ui-kit.es.js",
6
6
  "type": "module",