ixc-library-portal 1.1.32 → 1.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ixc-library.es.js +1262 -1255
- package/dist/ixc-library.umd.js +21 -21
- package/package.json +1 -1
package/dist/ixc-library.umd.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*{box-sizing:border-box;padding:0;margin:0;font-family:Roboto,sans-serif}:scope::placeholder{color:#d0d0ce;font-weight:200!important}.label-library{margin-bottom:5px;color:#2f3131;font-weight:700;font-size:1vw}.sub-label{font-style:italic;font-weight:400;font-size:1vw}:scope::-webkit-input-placeholder{color:#d0d0ce;font-weight:200!important}:scope:-ms-input-placeholder{color:#d0d0ce;font-weight:200!important}:scope::-moz-placeholder{color:#d0d0ce;font-weight:200!important}:scope:-moz-placeholder{color:#d0d0ce;font-weight:200!important}input::-webkit-input-placeholder{font-weight:lighter}input::-moz-placeholder{font-weight:lighter}input:-ms-input-placeholder{font-weight:lighter}input::-ms-input-placeholder{font-weight:lighter}input::placeholder{font-weight:lighter}.arrow-grey-container{border:solid #8598AD;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.arrow-blue-container{border:solid #33a1dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.icon-basicSelect{transition:transform .3s ease}.icon-basicSelect.up{transform:rotate(180deg)}.arrow-blue-container.up{transform:rotate(-135deg)}.arrow-blue-container.down{transform:rotate(45deg)}.arrow-grey-container.up{transform:rotate(-135deg)}.arrow-grey-container.down{transform:rotate(45deg)}.center-flex{display:flex;justify-content:center;align-items:center}.full-height{height:100%}.absolute{position:absolute}.hidden{display:none!important}.TooltipsWhiteContainer{width:100%;max-width:150px;margin:0 auto;padding:10px;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:start;position:relative}.TooltipsWhiteContainer>.triangle{position:absolute;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:13px solid #21459c;top:-13px;left:50%;transform:translate(-50%)}.TooltipsWhiteContainer .card-children{color:#21459c;font-size:1vw;font-weight:500;font-family:Roboto,sans-serif}.td-tooltip-container{position:fixed;z-index:1000;pointer-events:none;background:#fff;color:#2f3131;padding:6px 8px;border-radius:4px;font-size:12px;white-space:normal;max-width:300px;word-wrap:break-word;box-shadow:#5a4696 0 0 2px;border:1px solid #5a4696;pointer-events:auto;font-family:Roboto,sans-serif}*{margin:0;padding:0;box-sizing:border-box;font-family:Roboto,sans-serif}.switch-container{display:flex;flex-direction:column;align-items:center;position:relative;font-weight:500}.switch-label{position:absolute;margin-bottom:5px;font-size:14px;color:#333;font-weight:500}.react-switch-checkbox{height:0;width:0;visibility:hidden;font-weight:500}.react-switch-label{display:flex;align-items:center;justify-content:space-between;cursor:pointer;width:40px;height:20px;background:gray;border-radius:20px;position:relative;transition:background-color .2s;font-weight:500}.react-switch-label .react-switch-button{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;transition:.2s;background:#fff;box-shadow:0 0 2px #0a0a0a4a;font-weight:500}.react-switch-checkbox:checked+.react-switch-label .react-switch-button{left:calc(100% - 16px);transform:translate(-2px);font-weight:500}.text-area-library{border:1px solid #707070!important;border-radius:4px;padding:5px 10px;color:#2f3131}.text-area-library::placeholder{font-style:normal;color:#60717e;font-weight:300!important}.text-area-library:focus{outline:none;border:1px solid #33a4dd!important}.max-characters-library{display:flex;justify-content:end;color:#7c7c7c;font-size:.9vw;font-weight:400}.dropdown{width:200px;position:relative;font-family:Roboto,sans-serif}.dropdown-header{border-radius:4px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.dropdown-header.white{color:#2f3131;background:#fff;border:1px solid #D0D0CE;padding:0 1vw;height:40px}.dropdown-header.grey{background:#f5f6fa;padding:13.6px 10px;border:none;box-shadow:0 2px 4px #0003}.dropdown.error .dropdown-header{border-color:#d32f2f;color:#d32f2f}.dropdown.open .dropdown-header.white{border-color:#1870c6;color:#1870c6}.dropdown-header span{font-size:1vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-weight:400;color:#2f3131}.arrow-white{border:solid #33a4dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.arrow-white.down{transform:rotate(45deg)}.arrow-white.up{transform:rotate(-135deg)}.arrow-grey{border:solid #8598ad;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.arrow-grey.down{transform:rotate(45deg)}.arrow-grey.up{transform:rotate(-135deg)}.dropdown-options{position:absolute;top:100%;right:0;border-top:none;list-style-type:none;padding:0;margin:0;overflow-y:auto;z-index:5000;border-radius:4px;box-shadow:0 2px 5px #0000001a;border:1px solid #707070}.dropdown-options.grey{background:#f5f6fa}.dropdown-options.white{background:#fff}.dropdown-options li{cursor:pointer;font-size:.9vw}.dropdown-options li:last-child{margin-bottom:0!important}.dropdown-options.white li:hover{background-color:#f4f4f4}.dropdown-options.grey li:hover{background-color:#d0d4dd}.align-center{align-items:center}.flex-wrap{flex-wrap:wrap}.dropdown.disabled .dropdown-header{color:#9e9e9e;border:1px solid #bdbdbd}.dropdown.disabled .arrow-white,.dropdown.disabled .arrow-grey{border-color:#9e9e9e}.item-filter{min-width:100%;position:absolute;top:100%;border-top:none;list-style-type:none;padding:0;margin:0;overflow-y:auto;z-index:5000;border-radius:4px;box-shadow:0 2px 5px #0000001a;background-color:#fff;border:1px solid #707070}.select-all{display:flex;align-items:center;padding:6px 15px;font-size:1vw;height:55px}.search-container{position:relative;margin-bottom:16px}.search-icon{position:absolute;left:8px;top:50%;transform:translateY(-50%);color:#6b7280}.search-container input{width:100%;padding:8px 8px 8px 32px;border:1px solid #d1d5db;border-radius:4px}.items-list{height:auto;overflow-y:auto;position:relative;max-height:300px}.item-group h3{padding:0 0 0 15px;margin-bottom:15px}.item-group{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:15px}.item{display:flex;align-items:center;gap:8px;cursor:pointer;padding:1px 15px;width:100%}.select-button{width:100%;padding:8px;background-color:#3b82f6;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:700}.select-button:hover{background-color:#2563eb}.item:hover{background-color:#dde3f1}.item label{font-size:1vw}.containerButtonSelectAll{position:absolute;bottom:0;background:#fff;width:100%;padding:5px 0;display:flex;justify-content:center}.border-bottom-select{border-bottom:1px solid #dde3f1}.item-filter .item-group:last-child{margin-bottom:0}.flex-column-select-all{flex-direction:column-reverse;height:auto;align-items:flex-start}.VibrantBlueStyle:disabled svg path{fill:#fff}.VibrantBlueStyle:disabled{cursor:not-allowed}.multiselect{width:200px;position:relative;font-family:Roboto,sans-serif}.multiselect.error .multiselect-header{border-color:#d32f2f;color:#d32f2f}.multiselect-header{padding:10px;background:#fff;border:1px solid #c4c4c4;border-radius:4px;color:#2f3131;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.multiselect.open .multiselect-header{border-color:#1870c6;color:#1870c6}.multiselect-header span{font-size:1vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.arrow{border:solid #33a4dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.arrow.down{transform:rotate(45deg);-webkit-transform:rotate(45deg)}.arrow.up{transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.multiselect-options{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:none;list-style-type:none;padding:0;margin:0;max-height:200px;overflow-y:auto;z-index:5000;box-shadow:0 2px 5px #0000001a;border:1px solid #707070;border-radius:4px}.multiselect-options li{padding:0 8px;cursor:pointer;font-size:.9vw;display:flex;align-items:center;height:40px}.multiselect-options li{margin-bottom:0}.multiselect-options li:hover{background-color:#f1f1f1}.multiselect-options li.selected{background-color:#e6f2ff}.multiselect-options li input[type=checkbox]{margin-right:10px}.multiselect-options li:first-child{border-top:1px solid #ccc}.multiselect.disabled .multiselect-header{color:#9e9e9e;border:1px solid #bdbdbd;cursor:not-allowed}.drag-drop-upload{display:flex;align-items:center;width:100%;height:40px;border:1px solid #0047AB;border-radius:4px;padding:0 15px;cursor:pointer;transition:background-color .3s ease;gap:15px}.drag-drop-upload.dragging{background-color:#e3f2fd}.upload-text{font-size:.9vw;color:#8598ad;border-bottom:1px solid #8598ad}.upload-text>span{color:#0047ab;border-bottom:1px solid #0047AB;font-weight:700}.file-name{max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-picker-container{position:relative;width:200px;font-family:Arial,sans-serif}.time-picker-button{width:100%;padding:7px;display:flex;justify-content:end;align-items:center;background-color:#fff;border:1px solid #D0D0CE;border-radius:4px;cursor:pointer;height:40px}.time-picker-dropdown{position:absolute;width:100%;top:100%;right:0;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 5px #0000001a;z-index:1000}.time-display{text-align:center;padding:10px;font-size:1vw;border-bottom:1px solid #eee}.time-columns{display:flex;max-height:240px;overflow-y:auto;margin-bottom:40px}.time-column{flex:1;border-right:1px solid #eee}.time-column:last-child{border-right:none}.time-option{padding:15px;text-align:center;cursor:pointer;font-size:1vw;font-weight:500}.time-option:hover{background-color:#f0f0f0}.time-picker-button span{font-size:1vw}.time-option.selected{background-color:#33a4dd;color:#fff}.ok-button{width:100%;padding:10px;color:#33a4dd;background-color:#fff;border:none;border-radius:0 0 4px 4px;cursor:pointer;height:45px;position:absolute;bottom:0;font-size:1vw;font-weight:600}.time-picker-input{position:absolute;height:35px;padding:10px;width:80%;border:none;top:2px;left:4px;outline:none;font-size:1vw}input:focus{outline:none;box-shadow:none}.time-picker-input-wrapper{display:flex;flex-direction:column;justify-content:end}.button-search{height:100%;border:none;padding:10px;background:#21459c;border-top-right-radius:4px;border-bottom-right-radius:4px;display:flex;justify-content:center;align-items:center;cursor:pointer}.button-search:disabled{background:#d3d3d3;cursor:not-allowed}.number-spinner{display:inline-flex;border:1px solid #D0D0CE;border-radius:4px;overflow:hidden;height:40px;padding:10px}.number-spinner .number-input{max-width:50px;border:none;text-align:center;font-size:1.3vw;padding:5px}.number-spinner .spinner-buttons{display:flex;flex-direction:column;justify-content:center}.number-spinner .spinner-button{background:none;border:none;cursor:pointer;font-size:.9vw;line-height:1;padding:0}.number-input{appearance:none;-moz-appearance:textfield;-webkit-appearance:none}.number-input::-webkit-inner-spin-button,.number-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.file-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border:2px dashed #21459c;border-radius:4px;cursor:pointer;transition:all .3s ease;height:15vh}.file-upload.dragging{border-color:#007bff;background-color:#007bff0d}.file-input{display:none}.upload-text{font-size:14px;color:#21459c;text-align:center;font-weight:500}.sub-text{font-size:12px;color:#8598ad;text-align:center;font-weight:400}.button-reset{border:none;background-color:#dde3f1;box-shadow:#0003 2.12132px 2.12132px 6px;display:flex;align-items:center;place-content:center;height:40px;width:35px;cursor:pointer}.button-reset:hover{background-color:#f5f6fa;cursor:pointer;border:1px solid rgb(221,227,241)}.button-reset.disabled{background-color:#f5f6fa;cursor:not-allowed;border:1px solid rgb(221,227,241)}.download-button-container{display:inline-block;color:#fff;padding:0 0 0 7px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:4px;font-family:Roboto,sans-serif;height:40px;background-color:#33a4dd;position:relative}.download-button-container.disabled{background-color:#7e8080;color:#fff;cursor:not-allowed}.download-button-container .download-button{height:40px;width:80%;font-size:1vw;border:none;background-color:transparent;display:flex;color:#fff;font-family:Roboto,sans-serif;align-items:center}.download-button-container .arrow{margin-left:10px;font-size:12px;transition:transform .3s ease}.download-button-container .arrow.open{transform:rotate(180deg)}.download-button-container .dropdown-menu{position:absolute;background-color:#f9f9f9;box-shadow:0 8px 16px #0003;z-index:1;top:40px;right:0;display:flex;flex-direction:column;border-radius:4px;width:100%}.download-button-container .dropdown-menu button{padding:15px;font-size:.9vw;border:none;background:#fff;cursor:pointer}.download-button-container .dropdown-menu button:hover{background-color:#dde3f1}.download-button-container .arrow-white{border:solid #33a4dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.download-button-container .arrow-white.open .dropdown-header.white{border-color:#1870c6;color:#1870c6}.download-button-container .arrow-white.down{transform:rotate(45deg)}.download-button-container .arrow-white.up{transform:rotate(-135deg)}.download-button-container .arrowContainer{background:#fff;width:40%;height:96%;border:1px solid #33a4dd;display:flex;justify-content:center;align-items:center;border-top-right-radius:4px;border-bottom-right-radius:4px;margin-right:1.2px}.download-button-container .arrowContainer.disabled{border:1px solid #7e8080;color:#7e8080}.arrowContainer.disabled .arrow-white{border:solid #7e8080;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.button-plus{padding:5px;border:2px solid #33a1dd;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:4px;cursor:pointer}.hoverclass:hover{background-color:#d9d9d9;border:none;cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center;transition:transform .3s ease}.button-clean-filters{all:unset;display:flex;justify-content:center;align-items:center;gap:4px;background:none;cursor:pointer;font-size:1vw;color:#707070}.button-clean-filters span{margin:0;border-bottom:1px solid #707070}.button-vibrant-blue{border:1px solid rgb(51,164,221);border-radius:4px;height:40px;display:flex;justify-content:center;align-items:center;gap:8px;background-color:transparent;cursor:pointer;width:300px}.button-eye-text{font-size:14px;font-weight:600;color:#33a4dd;cursor:pointer;transition:all .3s ease}.button-vibrant-blue svg{cursor:pointer}.button-white-border-blue-send-email{background-color:#fff;border:1px solid #33a4dd;color:#33a4dd;padding:0 14px;font-size:1vw;border-radius:4px;cursor:pointer;font-family:Roboto,sans-serif;width:180px;min-height:32px;display:flex;align-items:center;gap:15px;justify-content:center;position:relative}.button-white-border-blue-send-email .arrow-white{border:solid #33a4dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease}.button-white-border-blue-send-email .arrow-white.open .dropdown-header.white{border-color:#1870c6;color:#1870c6}.button-white-border-blue-send-email .arrow-white.down{transform:rotate(45deg)}.button-white-border-blue-send-email .arrow-white.up{transform:rotate(-135deg)}.dropdown-options--button-white-border{position:absolute;background:#fff;width:100%;left:0;right:0;top:102%;display:flex;flex-direction:column;border:1px solid #707070;border-top:0;border-radius:4px;box-shadow:0 2px 5px #0000001a;z-index:100000;padding:0!important;margin:0!important}.dropdown-options--button-white-border-li{list-style:none;padding:15px;font-size:.9vw;text-align:start;color:#000}.dropdown-options--button-white-border-li:hover{background-color:#f4f4f4}.dropdown-options--button-white-border-li:first-child:hover{border-radius:4px 4px 0 0}.dropdown-options--button-white-border-li:last-child:hover{border-radius:0 0 4px 4px}.ButtonVibrantBlueSend:disabled svg path{fill:#bbd1dc!important}.ButtonVibrantBlueSend svg path{fill:#fff!important}.ButtonVibrantBlueSend:disabled{cursor:not-allowed;color:#bbd1dc!important}.state-basic{padding:0 10px;border-radius:4px;display:flex;align-items:center;gap:6px;font-size:.7vw;font-weight:600;font-style:normal;white-space:nowrap;min-width:80px;justify-content:start;height:27px;color:#000}.states-active{background:#dff0d4}.states-inactive{background:#e5e5e5}.states-inTransit{background:#e4f6ff;position:relative}.state-icon-inTransit{position:absolute;top:0;height:100%;display:flex;justify-content:center;align-items:center;right:0}.states-completed{background:#cfebe4;position:relative}.states-canceled{background:#feeaea}.states-InProcessing{background:#fdf2da}.states-ToStart{background:#dde3f1}.hoverStates{background:#fff;padding:10px;border-radius:5px;right:-50%;font-weight:400;font-style:normal;box-shadow:0 0 10px #0000001a}.chip{display:flex;align-items:center;padding:6px 10px;border-radius:50px;background-color:#dde3f1;font-size:.8vw;gap:0}.chip-with-icon{gap:.5vw}.chip button{display:flex;justify-content:center;align-items:center}.toggle-chip{background:#fff;border:1px solid #8598ad;padding:5px;border-radius:50px;cursor:pointer;color:#000;font-size:.8vw;font-weight:700;align-items:center;display:flex;justify-content:center;height:27px}.toggle-chip:hover{border-color:#33a1dd;color:#7c7c7c}.toggle-chip.active{background:#afddf5;border-color:#afddf5;font-weight:700}.toggle-chip.active:hover{border-color:#afddf5;color:#000}.chip-section{background:#c2e6f8;padding:10px;justify-content:center;align-items:center;display:flex;color:#2f3131;font-weight:500;border-radius:8px}*{font-family:Roboto,sans-serif;box-sizing:border-box}.last-update-container{position:relative;height:auto}.last-update-container .last-update-header{position:absolute;top:-20%;width:90%;text-align:center;left:50%;transform:translate(-50%);background:#fff}.last-update-container .last-update-header h2{font-size:.6vw;color:#33a4dd}.last-update-container .last-update-content{padding:10.8px;height:40px;border:1px solid #33a4dd;border-radius:4px;display:flex;justify-content:center;align-items:center}.last-update-container .last-update-content p{font-size:.7vw;font-weight:600}.FilePreview.container{display:flex;align-items:center;justify-content:center;width:100%;height:40px;background-color:#d0d4dd;border-radius:4px;padding:.6vw;gap:1.1vw}.FilePreview.container button{background-color:transparent;border:none;cursor:pointer;height:20px}.FilePreview.container p{font-size:1vw;color:#21459c;margin:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FilePreview.container span{font-weight:400;font-size:1vw;color:#000;white-space:nowrap;overflow:visible}.menu-options{width:250px;display:flex;flex-direction:column;background:#fff;position:absolute;box-shadow:0 2px 4px #0000001a;right:0;z-index:10000000}.menu-options__container{position:relative;width:28px}.menu-button{display:flex;align-items:center;background:none}.menu-button:hover,.menu-button.open{text-align:left;cursor:pointer;transition:background-color .2s ease;border-radius:4px;background:#dde3f1;border:2px solid #8598ad}.menu-options .menu-item{display:flex;align-items:center;padding:12px 16px;border:none;background:none;width:100%;text-align:left;cursor:pointer;transition:background-color .2s ease}.menu-options .menu-options__group{border-bottom:2px solid #dde3f1}.menu-options .menu-item:last-child{border-bottom:none}.menu-options .menu-item:hover{background-color:#f4f4f4;color:#000}.menu-options .menu-item:hover .menu-text{font-weight:600;color:#000}.menu-options__container .menu-icon{display:flex;justify-content:center;align-items:center;height:20px;padding:5px}.menu-options .menu-text{font-size:1vw;font-style:normal;color:#2f3131;font-weight:500}.file-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:108px;padding:8px 4px;border-radius:8px;box-sizing:border-box;overflow:hidden;gap:4px;transition:background-color .2s ease}.file-card--clickable{cursor:pointer}.file-card--clickable:focus{outline:2px solid #33A1DD;outline-offset:2px}.file-card__icon-container{display:flex;align-items:center;justify-content:center;padding:10px 15px;position:relative}.file-card:hover .file-card__icon-container{background-color:#c2e6f8;border-radius:10px}.file-card__download-icon{position:absolute;top:4px;left:2px;opacity:0;transition:opacity .2s ease}.file-card:hover .file-card__download-icon{opacity:1}.file-card__filename{font-family:Roboto,sans-serif;font-weight:400;font-size:1vw;line-height:18px;text-align:center;color:#2f3131;width:100%}.file-card__title{font-size:1vw;text-align:center}.file-card-minimized{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:100%;padding:8px 12px;box-sizing:border-box;gap:12px;transition:background-color .2s ease;border:1px solid transparent}.file-card-minimized--clickable{cursor:pointer}.file-card-minimized--clickable:hover{background-color:#c2e6f8}.file-card-minimized--clickable:active{background-color:#a8d4f0}.file-card-minimized--selected{background-color:#c2e6f8;border-color:#33a1dd}.file-card-minimized__icon-container{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:26px;position:relative}.file-card-minimized__download-icon{position:absolute;top:-9px;opacity:0;transition:opacity .2s ease;left:-11px}.file-card-minimized:hover .file-card-minimized__download-icon{opacity:1}.file-card-minimized__filename{font-family:Roboto,sans-serif;font-weight:400;font-size:14px;line-height:20px;color:#2f3131;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:8px;box-sizing:border-box;overflow:hidden;gap:4px;transition:background-color .2s ease;position:relative}.folder-card--clickable{cursor:pointer}.folder-card--selected{background-color:#c2e6f8;border:1px solid #707070}.folder-card--has-download:hover{background-color:#c2e6f8}.folder-card--clickable:active{background-color:#e0e0e0}.folder-card__icon-container{display:flex;flex-direction:column;gap:8px;align-items:flex-start;justify-content:flex-start;padding:10px;flex-shrink:0}.folder-card__default-icon,.folder-card__default-icon-hover{padding:8px}.folder-card__default-icon-hover:hover{background-color:#c2e6f8;border-radius:10px}.folder-card__custom-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.folder-card__title{font-family:Roboto,sans-serif;font-weight:400;font-size:13px;line-height:18px;text-align:center;color:#2f3131;text-overflow:ellipsis;-webkit-hyphens:auto;hyphens:auto}.folder-card__checkbox-container{position:absolute;top:-7px;left:3px}.folder-card-minimized{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:100%;padding:8px;box-sizing:border-box;gap:12px;transition:background-color .2s ease;border:1px solid transparent}.folder-card-minimized--clickable{cursor:pointer}.folder-card-minimized--clickable:hover{background-color:#c2e6f8}.folder-card-minimized--clickable:active{background-color:#a8d4f0}.folder-card-minimized__icon-container{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px}.folder-card-minimized__default-icon,.folder-card-minimized__custom-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.folder-card-minimized__title{font-family:Roboto,sans-serif;font-weight:400;font-size:14px;line-height:20px;color:#2f3131;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.state{display:inline-flex;align-items:center;gap:5px;border-radius:5px;font-family:Roboto,sans-serif;font-size:11px;font-weight:600;line-height:14px;min-width:100px;box-sizing:border-box;position:relative;height:18px}.state__indicator{padding:4px 0 4px 8px}.state__content{padding:4px 0}.state__indicator{display:flex;align-items:center;justify-content:center;flex-shrink:0}.state__content{flex:1;color:#2f3131}.state__alert{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:20%;height:100%;border-top-right-radius:5px;border-bottom-right-radius:5px}.state.state--active.state--has-alerts>.state__alert{background-color:#348bd7}.state.state--process.state--has-alerts>.state__alert{background-color:#ffcd7c}.state.state--completed.state--has-alerts>.state__alert{background-color:#cdf6b2}.state.state--rejected.state--has-alerts>.state__alert{background-color:#fdcece}.state.state--inactive.state--has-alerts>.state__alert{background-color:#d2d1d1}.state--active,.state--active.state--has-alerts{background-color:#d6ecff}.state--active .state__indicator svg circle{fill:#348bd7}.state--process,.state--process.state--has-alerts{background-color:#fdf2da}.state--process .state__indicator svg circle{fill:#d0aa00}.state--completed,.state--completed.state--has-alerts{background-color:#dfefd4}.state--completed .state__indicator svg circle{fill:#54ac1b}.state--rejected,.state--rejected.state--has-alerts{background-color:#f5e1e1}.state--rejected .state__indicator svg circle{fill:red}.state--inactive,.state--inactive.state--has-alerts{background-color:#e5e5e5}.state--inactive .state__indicator svg circle{fill:#7c7c7c}.state--toStart{background-color:#ecedff}.state--toStart .state__indicator svg circle{fill:#575ee0}*{box-sizing:border-box;font-family:Roboto,sans-serif}.count-card{display:flex;justify-content:center;align-items:center;box-shadow:0 1.5px 3px #00000029;background:#fff;width:400px;height:65px;gap:4px}span.count-card__title{font-weight:700}.count-card__count{font-size:2vw;font-weight:600;color:#000}.count-card__title-container{border-bottom:1px solid #21459c;display:flex;gap:5px}.pagination{font-family:Roboto,sans-serif;font-size:1vw}.pagination-list li{-webkit-user-select:none;user-select:none}.pagination-list{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0;align-items:center}.pagination-list.diseable{pointer-events:none;opacity:.5}.pagination-list.diseable li{pointer-events:none;color:#dde5ef}.pagination-list li{margin:2px;color:#8598ad;display:flex;align-items:center}.pagination-link{display:flex;align-items:center;justify-content:center;height:8.466vh;min-width:2.53vw;color:#6b7280;text-decoration:none;cursor:pointer;border-radius:4px;transition:all .3s ease}.pagination-link:hover{color:#fff;background-color:#33a4dd}.pagination-link.disabled:hover{background-color:#fff;color:#dde5ef}.pagination-link.active{border:2px solid #33A1DD}.pagination-link.active:hover{background-color:#0000001f}.pagination-link.active.disabled{background-color:#fff;color:#dde5ef;border:2px solid #dde5ef}.pagination-link.disabled{color:#dde5ef;cursor:not-allowed}.pagination-prev,.pagination-next{display:flex;align-items:center;text-decoration:none;cursor:pointer;color:#3b82f6;transition:color .3s ease}.pagination-prev:hover,.pagination-next:hover{color:#97a7b9;background-color:#0000001f}.pagination-prev.disabled:hover,.pagination-next.disabled:hover{color:#dde5ef;background-color:#fff}.pagination-next svg{width:16px;height:16px;margin-left:4px}.pagination-prev.disabled,.pagination-next.disabled{color:#dde5ef;cursor:not-allowed}.pagination-prev,.pagination-next{display:flex;align-items:center;text-decoration:none;cursor:pointer;color:#3b82f6;transition:color .3s ease;height:8.466vh;padding:0 8px;border-radius:4px}.pagination-prev svg,.pagination-next svg{width:16px;height:16px;margin:0 4px}.single-date-picker-container,.container-date-range-picker{padding:0;box-sizing:border-box;margin:0;font-family:Roboto,sans-serif}.date-range-picker{position:relative;width:20vw}.date-picker-toggle{width:100%;background-color:#fff;border:1px solid #D0D0CE;border-radius:4px;cursor:pointer;text-align:left;display:flex;align-items:center;height:40px;padding:0}.date-picker-toggle.disabled{cursor:not-allowed;color:#9e9e9e;border:1px solid #9e9e9e;opacity:.5}.p-formate-date{display:flex;justify-content:center;align-items:center;font-size:.92vw;height:100%;color:#2f3131;padding-left:5px;padding-right:5px}.p-formate-date.disabled{color:#9e9e9e}.container-formate{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.calendar-icon{margin-right:10px}.date-picker-dropdown{position:absolute;top:135%;right:0;z-index:1000;background-color:#fff;border-radius:4px;box-shadow:0 2px 5px #00000026;margin-top:5px}.calendars-wrapper{display:flex;padding:15px}.calendar{width:auto;margin-right:20px}.calendar:last-child{margin-right:0}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.calendar-nav-button{background:none;border:none;cursor:pointer;font-size:.92vw}.calendar-nav-button:disabled{cursor:not-allowed;color:#ddd}span{font-size:.8vw}.calendar-title{font-size:.92vw;font-weight:700;display:flex;justify-content:center;text-align:center;align-items:center;flex-direction:column;margin-bottom:10px}.calendar-title>p{color:#b3b3b3;font-size:.85vw;font-weight:600}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);position:relative;gap:6px 0}.background-days{width:100%;background:#dde3f1;height:40px;z-index:-1;top:-12px;position:absolute}.calendar-day-header{text-align:center;font-weight:700;margin-bottom:20px;color:#8598ad;font-size:.8vw}.calendar-day-wrapper{aspect-ratio:1}.calendar-day{width:100%;height:100%;display:flex;justify-content:center;align-items:center;background:none;border:none;color:#8598ad;font-weight:700;cursor:pointer;border-radius:50%;opacity:1}.calendar-day.in-range{background-color:#dde3f1;color:#8598ad;border-radius:0;font-weight:700}.calendar-day.hover-range:not(.in-range){background-color:#f0f7ff;color:#8598ad!important}.calendar-day.selected{background-color:#0047ab;color:#fff;font-weight:700;border-radius:50%}.calendar-day:disabled{opacity:.5;cursor:not-allowed}.day-text.text-muted{color:#999}.date-picker-footer{display:flex;justify-content:space-between;align-items:center;padding:0 20px;border-top:1px solid #eee;height:66px}.days-selected{font-size:.92vw;color:#8598ad}.date-picker-actions{display:flex;justify-content:center;align-items:center;gap:20px}.cancel-button{background-color:#f0f0f0;color:#333}.search-button{background-color:#0047ab;color:#fff}.container-triangle{display:flex;align-items:center;justify-content:center;height:30px;position:absolute;right:60px;z-index:500;top:35px}.square{width:58px;height:0px;border-right:20px solid transparent;border-left:20px solid transparent;border-bottom:11px solid white;position:absolute;right:46px;bottom:-27px;z-index:2000}.triangle{position:relative;width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:20px solid white;filter:drop-shadow(0 4px 6px rgba(0,0,0,.1))}.triangle-blur{position:absolute;top:0;left:-150px;width:0;height:0;border-left:150px solid transparent;border-right:150px solid transparent;border-bottom:260px solid rgba(0,0,0,0-.95);filter:blur(20px)}.single-date-picker-container .css-3dzjca-MuiPaper-root-MuiPopover-paper-MuiMenu-paper{display:none!important}.single-date-picker-container div.date-picker-individual{top:100%;right:0}.single-date-picker-container .rotate-icon{transition:transform .3s ease}.single-date-picker-container .rotate-icon.open{transform:rotate(180deg)}.calendar-day.other-month .day-text{color:#b3b3b3;opacity:.5}.single-date-picker-container legend{display:none!important}.css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root.Mui-focused{color:#9c9ca0!important}.container-date-range-picker .button-reset{border:none;background-color:#dde3f1;box-shadow:#0003 2.12132px 2.12132px 6px;display:flex;align-items:center;place-content:center;height:40px;width:35px;cursor:pointer}.container-date-range-picker .button-reset:hover{background-color:#f5f6fa;cursor:pointer;border:1px solid rgb(221,227,241)}.container-date-range-picker{display:flex;justify-content:center;align-items:center;gap:10px}.single-date-picker-container .css-1pysi21-MuiFormLabel-root-MuiInputLabel-root{top:-5px!important}.single-date-picker-container .css-jedpe8-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input{padding:6.5px 32px 6.5px 14px!important}section.info-action-card{padding:16px;border:1px solid #d0d0ce;border-radius:4px;display:flex;flex-direction:column;gap:10px;cursor:pointer;justify-content:center;background:#fff;transition:.2s ease-in-out}.info-action-card:hover{background:#f4f4f4}.info-action-card__content__text__container{display:flex;flex-direction:column;gap:10px;max-width:80%}.info-action-card__content__text__container h3{font-size:1vw;color:#2f3131;line-height:22px;font-weight:700;font-style:normal}.info-action-card__content__text__container p{font-size:.9vw;color:#7c7c7c;font-style:normal;line-height:20px}.info-action-card__action button{border:none;border-bottom:1px solid #33A1DD;color:#33a1dd;cursor:pointer;font-size:.9vw;background:transparent}.line-grey{border-bottom:1px solid #E1E1E1}.toggle-filter-component{position:relative}.button-filter-component{font-size:.8vw;font-weight:700}.button-filter-component:disabled{cursor:not-allowed;color:#d1d5db}.filter-container-component{width:380px;position:absolute;background:#fff;z-index:1000;right:0;top:0;box-shadow:0 4px 5px #0000001a;animation:slideInFromRight .3s ease-out;height:400px;overflow-y:auto}@keyframes slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.filter-container-component .filter-header{display:flex;justify-content:space-between;align-items:center;padding:6px 10px}.filter-container-component .filter-title{font-size:.8vw;font-weight:700;margin:0}.filter-container-component .filter-count{background:#ebf5ff;color:#1e40af;padding:2px 8px;border-radius:12px;font-size:.9vw}.filter-container-component .applied-filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.filter-container-component .applied-filters-title{color:#666;font-size:1vw}.filter-container-component .clear-all{background:none;border:none;color:#000;font-size:.8vw;cursor:pointer;display:flex;align-items:center;padding:4px 8px;font-weight:400;gap:4px}.filter-container-component .clear-all:hover{color:#333}.filter-container-component .filter-tags{display:flex;flex-wrap:wrap;gap:8px}.filter-container-component .filter-tag{background:#ebf5ff;color:#1e40af;padding:4px 12px;border-radius:16px;font-size:1vw;display:flex;align-items:center;gap:4px;cursor:pointer;border:none}.filter-container-component .filter-tag.outline{background:#fff;border:1px solid #e5e7eb;color:#374151}.filter-container-component .filter-tag.outline:hover{background:#f3f4f6}.filter-container-component .filter-section{border-top:1px solid #d9d9d9;padding:6px 0}.filter-container-component .section-header{width:100%;display:flex;align-items:center;background:none;border:none;padding:5px 15px;cursor:pointer;font-weight:500;gap:.8vw}.section-header-title{font-size:.8vw;font-weight:700}.filter-container-component .section-content{display:flex;flex-wrap:wrap;gap:8px;padding:0 10px;margin-top:8px}.filter-container-component .view-more{color:#33a1dd;background:none;border:none;font-size:.9vw;cursor:pointer;border-bottom:1px solid #33a1dd}.filter-container-component .view-more:hover{color:#37d;border-bottom:1px solid #3377dd}.filter-container-component .filter-container-icon{width:8px;height:8px;display:flex;justify-content:center;align-items:center;cursor:pointer}.filter-container-component .filter-container-close-icon{font-size:1vw;font-weight:600}.spanNumber-filter{background:#21459c;border-radius:50%;width:20px;height:20px;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:600;font-size:.6vw;right:-8%;top:-24%}.toggle-filter-component{display:flex;justify-content:center;align-items:center;font-size:1vw;font-weight:600;background:#fff;border-radius:4px;height:40px;padding:10px;cursor:pointer}.button-filter-component:disabled svg circle{fill:#d1d5db!important}.button-filter-component:disabled svg path{fill:#d1d5db!important;stroke:#d1d5db!important}.filter-header-buttons{display:flex;align-items:center;gap:10px}section.info-action-card{padding:16px;border:2px solid #d0d0ce;border-radius:4px;display:flex;flex-direction:column;gap:10px}section.info-action-card:hover{box-shadow:#6b6b6b1a 0 4px 8px}section#info-action-card-download-template{border:1px solid #d0d0ce;padding:0;height:247px}.info-action-card__content{display:flex;justify-content:space-between;align-items:center}div.info-action-card__content-download-template{align-items:start;padding:20px 10px 0 15px}.info-action-card__content__text{display:flex;flex-direction:column;gap:10px;max-width:85%}.info-action-card__content__icon{display:flex;justify-content:end;align-items:center}div.info-action-card__content__text-download-template{gap:25px;max-width:68%}.info-action-card__content__text h3{font-size:1.4vw}.info-action-card__content__text p{font-size:1.2vw;color:#7c7c7c;padding-bottom:5px;border-bottom:2px solid #d0d0ce}div.info-action-card__content__text-download-template p{border-bottom:none}.info-action-card__action{display:flex;gap:10px;align-items:center}.info-action-card__action button{background:transparent;border:none;border-bottom:1px solid #33a1dd;color:#33a1dd;cursor:pointer}div.info-action-card__action-download-template{border-top:1px solid #d0d0ce;height:20%}.ProcessFilter{background:#f7f8fb;box-shadow:0 1px 3px #0000001a;width:322px;padding:10px;border-top:2px solid black}.ProcessFilter .ProcessFilter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:5px}.ProcessFilter-titleWrapper{display:flex;align-items:center;gap:8px}.ProcessFilter .ProcessFilter-title{color:#000;font-size:.8vw;font-weight:600;margin:0}.ProcessFilter .ProcessFilter-statsWrapper{display:flex;align-items:center;gap:4px;color:#000;font-weight:600}.ProcessFilter .ProcessFilter-numberTitle{font-size:.8vw}.ProcessFilter .ProcessFilter-mainData{margin-bottom:8px}.ProcessFilter .ProcessFilter-icon{width:20px;height:20px}.ProcessFilter-item-wrapper{display:flex;justify-content:space-between;background:#fff;padding:10px;border-bottom:1px solid #d0d4dd}.ProcessFilter-item-icon{width:10px;height:10px;color:#fff}.ProcessFilter-item-wrapper:hover,.ProcessFilter-item-wrapper.selected{background:#c9d3eb;cursor:pointer}.ProcessFilter-item-wrapper.selected.disabled,.ProcessFilter-item-wrapper.selected.disabled:hover{background:#f7f8fb;cursor:not-allowed}.ProcessFilter-item-wrapper.selected.disabled .ProcessFilter-item-title,.ProcessFilter-item-wrapper.selected.disabled .ProcessFilter-item-quantity,.ProcessFilter-item-wrapper.selected.disabled .ProcessFilter-item-content-icon-title{color:#7c7c7c}.ProcessFilter-item-wrapper.selected.disabled .ProcessFilter-item-content-icon-title svg path,.ProcessFilter-item-wrapper.disabled .ProcessFilter-item-content-icon-title svg path{fill:#e4e4e4;opacity:.5}.ProcessFilter-item-wrapper.disabled{background:#e4e4e4;cursor:not-allowed;opacity:.5}.ProcessFilter-item-title,.ProcessFilter-item-quantity{font-size:.7vw}.ProcessFilter-item-title{color:#000;font-weight:600}.ProcessFilter-item-content-icon-title{display:flex;gap:5px;align-items:center;justify-content:center}.ProcessFilter-newsTitle{font-size:.7vw;margin-bottom:4px;color:#7c7c7c}.modal-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:10000}.modal-listAplication{background-color:#fff;width:100%;max-width:530px;padding:20px}.relative-onehundredpercent{position:relative;width:100%;margin-top:20px}.modal-listAplication-header{display:flex;width:85%;margin:0 auto;border-bottom:1.5px solid #707070}.modal-listAplication-header h2{font-size:1.6rem;font-weight:500;text-align:center;width:100%;padding-bottom:5px}.close-button{position:absolute;top:-80%;right:0}.close-button,.remove-button{background:none;border:none;font-size:1.5rem;cursor:pointer}.modal-listAplication-content{width:85%;margin:0 auto}.application-item{margin:10px 0;display:flex;flex-direction:column;gap:5px}.application-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.application-title{display:flex;align-items:center;font-weight:600;margin-bottom:5px}.app-logo{width:60%;height:60px;margin-right:10px;object-fit:contain}.application-manager{font-size:.875rem;color:#666}.container-center-between{display:flex;justify-content:space-between;align-items:center}hr{margin:20px 0;border:none;border-top:1px solid #e0e0e0}.modal-listAplication-footer{border-top:1.5px solid #707070;padding:20px 0;display:flex;justify-content:space-between;margin:0 auto;width:85%}.modal-listAplication h3,.application-manager{font-size:1rem;font-weight:500}.overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center}.content-ticket{display:flex;justify-content:space-between;align-items:center;width:70%;margin:0 auto;gap:1vw}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center}.modal-VisualizationModaLogin{background-color:#fff;padding:20px;width:90%;max-width:400px;position:relative;z-index:50000}.backgroundTicket{position:absolute;width:100%;left:0;top:0;height:15%}.TicketImageUserReadOnly{width:100%;height:90px;position:relative}.close-button-VisualizationModaLogin{position:absolute;right:10px;top:5px;background:none;border:none;font-size:24px;cursor:pointer;z-index:10000000}.modal-header{display:flex;align-items:center;margin-bottom:20px}.modal-header>h2{font-size:1.2vw;font-weight:400}.icon{width:32px;height:32px;margin-right:10px;color:#10b981}.modal-header h2{margin:0}.modal-content p{color:#666;margin-bottom:20px}.modal-content h3{margin-bottom:10px}.modal-content ul{list-style-type:disc;padding-left:20px;margin-bottom:20px}.modal-content ul>li{color:#666;margin-bottom:5px}.checkbox-container{display:flex;align-items:center;margin-bottom:20px;background-color:#dde3f1;padding:0 10px;margin-top:3vh;margin-bottom:4vh}.checkbox-container label{font-size:.9vw}.checkbox-container input{margin-right:10px}.UserReadOnlyIconCenter{position:absolute;z-index:10000000;top:20%;left:50%;transform:translate(-50%,-50%)}.container-content{display:flex;justify-content:center;align-items:start;flex-direction:column;gap:15px;margin-top:20px}.modal-content p{font-size:.9vw}.modal-content h3{font-size:1.2vw;font-weight:400;margin-top:3vh;margin-bottom:3vh}.modal-content ul li{font-size:.9vw}.container-button-modal{width:100%;display:flex;justify-content:center;align-items:center}.css-j204z7-MuiFormControlLabel-root{margin-right:0!important}label.dontShow,.css-ahj2mt-MuiTypography-root{font-size:.9vw!important}.overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:40000}.modal-ticket-modal{background-color:#fff;padding:20px;width:90%;max-width:500px;position:relative;z-index:50000}.warning-modal-description{font-size:1vw;text-align:center;margin-bottom:20px}.closeButton{position:absolute;right:10px;top:10px;border:none;background:none;font-size:18px;cursor:pointer}.alert{background-color:#cff8ed;color:#000;padding:10px;border-radius:4px;margin-bottom:20px;display:flex;justify-content:center;align-items:center}.alert p{font-size:1vw}.title{text-align:center;font-size:1.4vw;font-weight:400;border-bottom:1px solid #d0d0ce;width:70%;margin:0 auto 20px}.iconContainer{display:flex;justify-content:center;align-items:center;margin-bottom:20px;position:relative}.iconBackground{position:absolute;width:60px;height:60px;border-radius:50%;background-color:#10b981;opacity:.3;animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.content{margin-bottom:20px;display:flex;flex-direction:column;gap:15px}.content p,.content div p{font-size:1vw}.label{font-weight:700;margin-bottom:5px}.content div .ticketNumber{color:#10b981;font-size:1.3vw}.outlineButton{flex:1;padding:10px;border:1px solid #ccc;border-radius:4px;background-color:#fff;cursor:pointer}.primaryButton{flex:1;padding:10px;border:none;border-radius:4px;background-color:#38bdf8;color:#fff;cursor:pointer}.main-content{margin-top:40px}.content-ticket{display:flex;justify-content:space-between;align-items:center;width:70%;margin:0 auto}.content-date{display:flex;gap:5px}.table-ixc{overflow:visible!important;border-collapse:collapse}thead .messageEmpty{color:#dde3f1}.table-ixc thead{background-color:#dde3f1;padding:10px;text-align:left;border-bottom:2px solid #21459c}.table-ixc td{padding:0 10px;color:#8598ad;border-bottom:1px solid #ddd}.edit-button{color:#33a1dd;background:none;border:none;cursor:pointer;text-decoration:underline;font-weight:500;font-size:1vw}th{font-size:1vw}td{font-size:.9vw}.relative{position:relative}.tooltipTable{position:absolute;top:50px;z-index:10000000}.table-ixc th p,.table-ixc td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-icon{display:flex;gap:10px}.edit-icon{border:none;background:none;cursor:pointer}.expandable-table{width:100%;border-collapse:collapse;font-family:Arial,sans-serif}.expandable-table thead{text-align:left;border-bottom:2px solid #21459c}.expandable-table th{font-size:1vw}.main-row td{padding:0 10px;color:#8598ad;border-bottom:1px solid #ddd}.sub-row td{padding:10px;color:#8598ad;border-bottom:1px solid #ddd}.toggle-button{background:none;border:none;cursor:pointer;font-size:1.2vw;color:#21459c;font-weight:700}.sub-id{padding-left:20px}.action-link{color:#33a1dd;text-decoration:underline;font-weight:500;font-size:1vw}.action-link:hover{color:#1f7eb5}.log-container{padding:20px;background:#f5f6fa}.log-title{font-size:2vw;font-weight:600;color:#000;margin-bottom:20px}.log-table{width:100%;border-collapse:collapse}.log-table th{text-align:left;padding:12px 16px;border-bottom:1px solid black;color:#000;font-weight:500}.log-table td{padding:12px 16px;border-bottom:1px solid #d0d0ce;color:#7c7c7c}.container-menu-options-table{padding:12px;border-bottom:1px solid #ddd;width:100%}thead *,tbody *{font-style:normal}.table-ixc th{padding:10px}.table-ixc th,.table-ixc td{font-weight:400}.reset-styles-button{background-color:transparent;border:none;cursor:pointer}.arrow-button{padding:2px;height:20px;display:flex;justify-content:center;align-items:center}.arrow-button:hover{background-color:#d9d9d9;cursor:pointer;transition:background-color .3s ease;border-radius:50%}.ticket-component-v2{padding:20px;width:40vw;box-shadow:0 0 10px #0000001a}.ticket-component-v2 .closeButton{position:absolute;right:10px;top:10px;border:none;background:none;font-size:18px;cursor:pointer}.ticket-component-v2 .alert{background-color:#cff8ed;color:#000;padding:10px;border-radius:4px;margin-bottom:20px;display:flex;justify-content:center;align-items:center}.ticket-component-v2 .alert p{font-size:1vw}.ticket-component-v2 .title{text-align:center;font-size:1.4vw;font-weight:400;border-bottom:1px solid #d0d0ce;width:70%;margin:0 auto 20px}.ticket-component-v2 .iconContainer{display:flex;justify-content:center;align-items:center;margin-bottom:20px;position:relative}.ticket-component-v2 .iconBackground{position:absolute;width:60px;height:60px;border-radius:50%;background-color:#10b981;opacity:.3;animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.icon{width:60px;height:60px;border-radius:50%;background-color:#10b981;color:#fff;display:flex;justify-content:center;align-items:center;font-size:24px}.ticket-component-v2 .content{margin-bottom:20px;display:flex;flex-direction:column;gap:15px}.ticket-component-v2 .content p,.ticket-component-v2 .content div p{font-size:1vw}.ticket-component-v2 .label{font-weight:700;margin-bottom:5px}.ticket-component-v2 .content div .ticketNumber{color:#10b981;font-size:1.3vw}.buttonContainer{display:flex;justify-content:space-between;gap:10px;margin:30px auto;width:70%}.ticket-component-v2 .outlineButton{flex:1;padding:10px;border:1px solid #ccc;border-radius:4px;background-color:#fff;cursor:pointer}.ticket-component-v2 .primaryButton{flex:1;padding:10px;border:none;border-radius:4px;background-color:#38bdf8;color:#fff;cursor:pointer}.ticket-component-v2 .main-content{margin-top:40px}.ticket-component-v2 .content-ticket{display:flex;justify-content:space-between;align-items:center;width:70%;margin:0 auto}.ticket-component-v2 .content-date{display:flex;gap:5px}.dynamic-menu{height:11.5vh;background-color:#fff;box-shadow:0 2px 4px #0000001a;border-radius:4px}.dynamic-menu ul{display:flex;list-style-type:none;padding:0;margin:0;height:100%}.dynamic-menu li{text-align:center;cursor:pointer;height:100%;display:flex;align-items:end;word-wrap:break-word}.dynamic-menu li:hover{color:#33a1dd;background:#f5f6fa;transition:.5s}.dynamic-menu li:hover button{color:#33a1dd;transition:.5s}.dynamic-menu button{width:100%;padding:0 1.56vw .5vw;border:none;font-size:1vw;background:none;cursor:pointer;font-weight:400;border-bottom:2px solid #D0D0CE;transition:background-color .3s,color .3s;margin-bottom:20px}.dynamic-menu li.selected{background-color:#d0d4dd}.dynamic-menu li.selected button{font-weight:500;border-bottom:2px solid rgb(33,69,156);color:#21459c}.dynamic-menu li:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.dynamic-menu li:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.tabs-container{overflow-x:auto}.tabs-wrapper{display:flex;min-width:max-content;border-bottom:1px solid #e5e7eb}.tab-button{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:8px;text-align:left;background-color:#dde3f1;border:none;cursor:pointer;transition:background-color .2s ease}.tab-button:hover{background-color:#f3f4f6}.tab-button.active{background-color:#fff;border-bottom:none;position:relative;border-left:3px solid #21459c}.tab-button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background-color:#fff}.tab-title{font-size:.8vw;font-weight:500;color:#7c7c7c}.tab-button.active .tab-title{color:#000}span.tab-subtitle,span.tab-subtitle span{margin-top:4px;font-size:.7vw!important;color:#6b7280}.DeliveryTabs-tabs-container{width:auto}.DeliveryTabs-tabs-container .tabs-wrapper{display:grid;border-radius:4px;overflow:hidden}.DeliveryTabs-tabs-container .tab{border:1px solid #8598ad;height:35px;color:#8598ad;padding:10px;font-weight:600;cursor:pointer;transition:all .3s ease;background:#f4f4f4;position:relative;font-size:.7vw}.DeliveryTabs-tabs-container .tab.active{color:#33a1dd;border:1px solid #33a1dd;background:#fff}.DeliveryTabs-tabs-container .tab:disabled,.DeliveryTabs-tabs-container .tab.tab.active:disabled{color:#8598ad;border:1px solid #8598ad;cursor:not-allowed}.DeliveryTabs-tabs-container .tab:hover:not(.active){background-color:#f8fafc}.DeliveryTabs-tabs-container .first-tab{border-top-left-radius:4px;border-bottom-left-radius:4px}.DeliveryTabs-tabs-container .last-tab{border-top-right-radius:4px;border-bottom-right-radius:4px}.DeliveryTabs-tabs-container .tab:not(.first-tab):not(.last-tab){border-left:none;border-right:none}.tabs-simple-container{width:100%;max-width:400px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.tabs-simple-header{display:flex;border-bottom:2px solid #7c7c7c}.tabs-simple-button{flex:1;padding:16px;background:none;border:none;font-size:14px;font-weight:500;cursor:pointer;position:relative;transition:all .2s ease;color:#7c7c7c}.tabs-simple-button:hover,.tabs-simple-button-active{color:#21459c}.tabs-simple-button-active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background-color:#21459c}.stepper{width:80vw;position:relative}.stepper-progress{position:absolute;left:0;top:50%;width:100%;height:2px;background-color:#7c7c7c}.stepper-titles{width:110%;display:flex;justify-content:space-between;position:absolute;left:-7%;top:-40%}.stepper-progress-bar{height:100%;background-color:#33a1dd;transition:width .5s ease}.stepper-steps{display:flex;justify-content:space-between;position:relative}.stepper-step{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative}.stepper-step:first-child{display:flex;flex-direction:column;justify-content:center;align-items:start}.stepper-step:last-child{display:flex;flex-direction:column;justify-content:center;align-items:end}.stepper-icon{width:80px;height:80px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid #7c7c7c;background-color:#e5e5e5;transition:all .3s ease}.stepper-step.active .stepper-icon{border-color:#33a1dd;background-color:#e4f6ff}.stepper-step .checkBackground{fill:#d0d0ce!important;transition:all .3s ease}.stepper-step .checkStroke{fill:#7c7c7c!important;transition:all .3s ease}.stepper-step.active .checkBackground{fill:#e4f6ff!important}.stepper-step.active .checkStroke{fill:#33a1dd!important}.stepper-step .checkIcon-background{fill:#c1c1c1!important;stroke:#707070!important;transition:all .3s ease}.stepper-step.active .checkIcon-background{fill:#afddf5!important;stroke:#33a1dd!important}.stepper-title{font-size:1vw;position:absolute;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;left:50%;transform:translate(-50%);top:-32%;font-weight:500;color:#2f3131}.stepper-icon svg{width:50%;height:50%}.flex{display:flex}.list-none{list-style-type:none;font-size:1vw}.gap{gap:10px}.w-full{width:90vw}.color-tab{color:#7c7c7c}.border-bottom{border-bottom:1px solid}.items-center{align-items:center}.pointer{cursor:pointer}.mt-4{margin-top:4px}ul.ulBreadcrumbs{padding-left:0!important;margin-bottom:0!important}.stepper-container{position:relative;margin:40px 0}.stepper-line{position:absolute;top:25px;left:-50px;right:-50px;height:4px;background-color:#e5e7eb;z-index:1;transition:all .3s ease}.stepper-line:before{content:"";position:absolute;top:0;left:0;height:100%;background-color:#21459c;width:var(--progress-width, 0%);transition:width .6s cubic-bezier(.4,0,.2,1);z-index:1}.stepper-steps{display:flex;justify-content:space-between;align-items:flex-start;position:relative;z-index:2}.step-wrapper{display:flex;flex-direction:column;align-items:center;position:relative}.step-circle{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;transition:all .4s cubic-bezier(.4,0,.2,1);transform:scale(1);position:relative;z-index:3}.step-circle:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.step-circle.completed{background-color:#21459c;color:#fff}.step-circle.current{border:4px solid #3377dd;background-color:#21459c;color:#fff}.step-circle.inactive{background-color:#e5e7eb;color:#9ca3af;transition:all .3s ease}.step-number{font-size:18px;font-weight:700;transition:all .3s ease}.checkmark{width:24px;height:24px;stroke-width:3;animation:checkmarkDraw .5s ease-out}.step-label{margin-top:12px;font-size:14px;font-weight:500;color:#374151;text-align:center;transition:all .3s ease;opacity:0;transform:translateY(10px);animation:labelFadeIn .5s ease-out .2s forwards}@keyframes completedPulse{0%{transform:scale(1);box-shadow:0 2px 8px #0000001a}50%{transform:scale(1.1);box-shadow:0 4px 16px #2563eb4d}to{transform:scale(1);box-shadow:0 2px 8px #0000001a}}@keyframes currentPulse{0%{box-shadow:0 2px 8px #0000001a}to{box-shadow:0 4px 16px #2563eb66}}@keyframes checkmarkDraw{0%{stroke-dasharray:0 100;opacity:0}50%{opacity:1}to{stroke-dasharray:100 0;opacity:1}}@keyframes labelFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.data-section{border-radius:8px;padding:10px;background:#f7f8fb}.data-section-header{display:flex;align-items:center;gap:8px}.data-section-icon{width:24px;height:24px;color:#374151}.data-section-title{margin:0;font-size:18px;font-weight:600;color:#1f2937}.data-section-content{display:flex;flex-direction:column;gap:16px}.data-section-item{padding:12px 0;border-bottom:1px solid #F3F4F6}.data-section-item:last-child{border-bottom:none;padding-bottom:0}.observations{border:1px solid #E5E7EB;border-radius:8px;padding:24px;background:#f7f8fb;margin-bottom:16px}.observations-header{display:flex;align-items:center;gap:8px;margin-bottom:16px}.observations-icon{width:24px;height:24px;color:#374151}.observations-title{margin:0;font-size:18px;font-weight:600;color:#1f2937}.observations-content{width:100%}.observations-textarea{width:100%;min-height:100px;padding:12px;border:1px solid #D1D5DB;border-radius:6px;font-family:inherit;font-size:14px;color:#374151;resize:vertical;outline:none;box-sizing:border-box;background:#fff}.observations-textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.observations-textarea::placeholder{color:#9ca3af}*{box-sizing:border-box}table.table-v2{border-collapse:collapse}thead.thead-table-ixc{background-color:#f5f6fa;border-bottom:1px solid #5A4696;font-family:Roboto,sans-serif;font-weight:500}th.th-table-ixc{padding:6px 16px;font-size:14px;font-weight:500;color:#2f3131;font-family:Roboto,sans-serif;height:30px}td.td-table-ixc-base{padding:8px 16px;font-weight:400;font-size:12px;height:32px}tr.tr-table-ixc-first{font-weight:500;color:#2f3131}tr.tr-table-ixc-first td.td-table-ixc-base{font-weight:500}tr.tr-table-ixc-dark{background-color:#fcfbfe;color:#3e5074;font-weight:400}tr.tr-table-ixc-white{background-color:#fff;color:#3e5074;font-weight:400}tr.tr-table-ixc-body{border-bottom:.5px solid #E3EBFF}tr.tr-table-ixc-body:hover{background-color:#f6fbfe}td.td-table-ixc-truncated{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-tooltip-container{position:fixed;z-index:1000;pointer-events:none;background:#fff;color:#2f3131;padding:6px 8px;border-radius:4px;font-size:12px;white-space:normal;max-width:300px;word-wrap:break-word;box-shadow:#5a4696 0 0 2px;border:1px solid #5a4696;pointer-events:auto}.blue-title{color:#21459c;font-size:1.2vw}.ions-link{color:#33a4dd;background:none;border:none;cursor:pointer;text-decoration:underline;font-weight:500;font-size:1vw}.simple-title{margin:0;font-size:24px;font-weight:600;color:#2f3131}.paragraph{margin:0;color:#7c7c7c;line-height:1.5;font-size:16px}.template-container{margin:0 auto;padding:32px;display:flex;flex-direction:column;gap:24px;box-sizing:border-box}.header-section{display:flex;gap:1vw;align-items:center}.data-grid{display:flex;flex-direction:column;gap:0}.data-item{flex:1;border-bottom:1px solid #D0D0CE}.data-row{display:flex;justify-content:space-between;gap:1vw}.data-item{display:flex;flex-direction:column;padding:16px 0}.data-label{font-size:14px;color:#2f3131;font-weight:600;margin-bottom:4px}.data-value{font-size:14px;color:#2f3131;font-weight:400}.footer{display:flex;flex-direction:column;gap:24px;margin-top:auto}.footer .MuiFormControlLabel-root{margin:0}.footer .paragraph{margin:0;display:inline}.buttons{display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap}.buttons button{min-width:120px;padding:12px 24px}.data-icon:before{content:"🔧";font-size:20px;display:inline-block}.observations-icon:before{content:"💬";font-size:20px;display:inline-block}@media (max-width: 768px){.template-container{padding:16px;margin:0;border-radius:0}.buttons{justify-content:center;flex-direction:column-reverse}.buttons button{width:100%}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
(function(
|
|
2
|
+
(function(T,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("react"),require("styled-components"),require("@emotion/styled"),require("@emotion/react"),require("@mui/material"),require("lodash"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","styled-components","@emotion/styled","@emotion/react","@mui/material","lodash","react-dom"],C):(T=typeof globalThis<"u"?globalThis:T||self,C(T.IxcLibrary={},T.React,T.styled,T.EmotionStyled,T.EmotionReact,T.MaterialUI,T._,T.ReactDOM))})(this,function(T,C,me,oa,Rn,Je,pt,la){"use strict";var Mh=Object.defineProperty;var zh=(T,C,me)=>C in T?Mh(T,C,{enumerable:!0,configurable:!0,writable:!0,value:me}):T[C]=me;var Qt=(T,C,me)=>zh(T,typeof C!="symbol"?C+"":C,me);function aa(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,i.get?i:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const re=aa(C);function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pn={exports:{}},en={exports:{}},ye={};/** @license React v16.13.1
|
|
3
3
|
* react-is.production.min.js
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var us;function da(){if(us)return ye;us=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,s=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,
|
|
9
|
+
*/var us;function da(){if(us)return ye;us=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,s=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function S(w){if(typeof w=="object"&&w!==null){var O=w.$$typeof;switch(O){case r:switch(w=w.type,w){case d:case u:case i:case l:case o:case p:return w;default:switch(w=w&&w.$$typeof,w){case c:case g:case v:case x:case a:return w;default:return O}}case s:return O}}}function k(w){return S(w)===u}return ye.AsyncMode=d,ye.ConcurrentMode=u,ye.ContextConsumer=c,ye.ContextProvider=a,ye.Element=r,ye.ForwardRef=g,ye.Fragment=i,ye.Lazy=v,ye.Memo=x,ye.Portal=s,ye.Profiler=l,ye.StrictMode=o,ye.Suspense=p,ye.isAsyncMode=function(w){return k(w)||S(w)===d},ye.isConcurrentMode=k,ye.isContextConsumer=function(w){return S(w)===c},ye.isContextProvider=function(w){return S(w)===a},ye.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===r},ye.isForwardRef=function(w){return S(w)===g},ye.isFragment=function(w){return S(w)===i},ye.isLazy=function(w){return S(w)===v},ye.isMemo=function(w){return S(w)===x},ye.isPortal=function(w){return S(w)===s},ye.isProfiler=function(w){return S(w)===l},ye.isStrictMode=function(w){return S(w)===o},ye.isSuspense=function(w){return S(w)===p},ye.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===i||w===u||w===l||w===o||w===p||w===m||typeof w=="object"&&w!==null&&(w.$$typeof===v||w.$$typeof===x||w.$$typeof===a||w.$$typeof===c||w.$$typeof===g||w.$$typeof===j||w.$$typeof===M||w.$$typeof===D||w.$$typeof===h)},ye.typeOf=S,ye}var xe={};/** @license React v16.13.1
|
|
10
10
|
* react-is.development.js
|
|
11
11
|
*
|
|
12
12
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/var fs;function ha(){return fs||(fs=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,s=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,
|
|
16
|
+
*/var fs;function ha(){return fs||(fs=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,s=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function S(q){return typeof q=="string"||typeof q=="function"||q===i||q===u||q===l||q===o||q===p||q===m||typeof q=="object"&&q!==null&&(q.$$typeof===v||q.$$typeof===x||q.$$typeof===a||q.$$typeof===c||q.$$typeof===g||q.$$typeof===j||q.$$typeof===M||q.$$typeof===D||q.$$typeof===h)}function k(q){if(typeof q=="object"&&q!==null){var ue=q.$$typeof;switch(ue){case r:var le=q.type;switch(le){case d:case u:case i:case l:case o:case p:return le;default:var fe=le&&le.$$typeof;switch(fe){case c:case g:case v:case x:case a:return fe;default:return ue}}case s:return ue}}}var w=d,O=u,H=c,G=a,V=r,f=g,L=i,F=v,Z=x,Q=s,K=l,te=o,U=p,$=!1;function R(q){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),y(q)||k(q)===d}function y(q){return k(q)===u}function E(q){return k(q)===c}function P(q){return k(q)===a}function N(q){return typeof q=="object"&&q!==null&&q.$$typeof===r}function A(q){return k(q)===g}function z(q){return k(q)===i}function B(q){return k(q)===v}function W(q){return k(q)===x}function I(q){return k(q)===s}function J(q){return k(q)===l}function X(q){return k(q)===o}function se(q){return k(q)===p}xe.AsyncMode=w,xe.ConcurrentMode=O,xe.ContextConsumer=H,xe.ContextProvider=G,xe.Element=V,xe.ForwardRef=f,xe.Fragment=L,xe.Lazy=F,xe.Memo=Z,xe.Portal=Q,xe.Profiler=K,xe.StrictMode=te,xe.Suspense=U,xe.isAsyncMode=R,xe.isConcurrentMode=y,xe.isContextConsumer=E,xe.isContextProvider=P,xe.isElement=N,xe.isForwardRef=A,xe.isFragment=z,xe.isLazy=B,xe.isMemo=W,xe.isPortal=I,xe.isProfiler=J,xe.isStrictMode=X,xe.isSuspense=se,xe.isValidElementType=S,xe.typeOf=k}()),xe}var ps;function gs(){return ps||(ps=1,process.env.NODE_ENV==="production"?en.exports=da():en.exports=ha()),en.exports}/*
|
|
17
17
|
object-assign
|
|
18
18
|
(c) Sindre Sorhus
|
|
19
19
|
@license MIT
|
|
20
|
-
*/var Wn,ms;function ua(){if(ms)return Wn;ms=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function i(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function o(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(a).map(function(g){return a[g]});if(d.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(g){u[g]=g}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Wn=o()?Object.assign:function(l,a){for(var c,d=i(l),u,g=1;g<arguments.length;g++){c=Object(arguments[g]);for(var p in c)r.call(c,p)&&(d[p]=c[p]);if(e){u=e(c);for(var m=0;m<u.length;m++)s.call(c,u[m])&&(d[u[m]]=c[u[m]])}}return d},Wn}var $n,ys;function _n(){if(ys)return $n;ys=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $n=e,$n}var Bn,xs;function vs(){return xs||(xs=1,Bn=Function.call.bind(Object.prototype.hasOwnProperty)),Bn}var Ln,bs;function fa(){if(bs)return Ln;bs=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=_n(),s={},i=vs();e=function(l){var a="Warning: "+l;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(l,a,c,d,u){if(process.env.NODE_ENV!=="production"){for(var g in l)if(i(l,g)){var p;try{if(typeof l[g]!="function"){var m=Error((d||"React class")+": "+c+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=l[g](a,g,d,c,null,r)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((d||"React class")+": type specification of "+c+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in s)){s[p.message]=!0;var x=u?u():"";e("Failed "+c+" type: "+p.message+(x??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(s={})},Ln=o,Ln}var Fn,js;function pa(){if(js)return Fn;js=1;var e=gs(),r=ua(),s=_n(),i=vs(),o=fa(),l=function(){};process.env.NODE_ENV!=="production"&&(l=function(c){var d="Warning: "+c;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return Fn=function(c,d){var u=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function p(y){var
|
|
21
|
-
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var q=se(W,
|
|
20
|
+
*/var Wn,ms;function ua(){if(ms)return Wn;ms=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function i(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function o(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(a).map(function(g){return a[g]});if(d.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(g){u[g]=g}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Wn=o()?Object.assign:function(l,a){for(var c,d=i(l),u,g=1;g<arguments.length;g++){c=Object(arguments[g]);for(var p in c)r.call(c,p)&&(d[p]=c[p]);if(e){u=e(c);for(var m=0;m<u.length;m++)s.call(c,u[m])&&(d[u[m]]=c[u[m]])}}return d},Wn}var $n,ys;function _n(){if(ys)return $n;ys=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $n=e,$n}var Bn,xs;function vs(){return xs||(xs=1,Bn=Function.call.bind(Object.prototype.hasOwnProperty)),Bn}var Ln,bs;function fa(){if(bs)return Ln;bs=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=_n(),s={},i=vs();e=function(l){var a="Warning: "+l;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(l,a,c,d,u){if(process.env.NODE_ENV!=="production"){for(var g in l)if(i(l,g)){var p;try{if(typeof l[g]!="function"){var m=Error((d||"React class")+": "+c+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=l[g](a,g,d,c,null,r)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((d||"React class")+": type specification of "+c+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in s)){s[p.message]=!0;var x=u?u():"";e("Failed "+c+" type: "+p.message+(x??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(s={})},Ln=o,Ln}var Fn,js;function pa(){if(js)return Fn;js=1;var e=gs(),r=ua(),s=_n(),i=vs(),o=fa(),l=function(){};process.env.NODE_ENV!=="production"&&(l=function(c){var d="Warning: "+c;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return Fn=function(c,d){var u=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function p(y){var E=y&&(u&&y[u]||y[g]);if(typeof E=="function")return E}var m="<<anonymous>>",x={array:M("array"),bigint:M("bigint"),bool:M("boolean"),func:M("function"),number:M("number"),object:M("object"),string:M("string"),symbol:M("symbol"),any:D(),arrayOf:S,element:k(),elementType:w(),instanceOf:O,node:f(),objectOf:G,oneOf:H,oneOfType:V,shape:F,exact:Z};function v(y,E){return y===E?y!==0||1/y===1/E:y!==y&&E!==E}function h(y,E){this.message=y,this.data=E&&typeof E=="object"?E:{},this.stack=""}h.prototype=Error.prototype;function j(y){if(process.env.NODE_ENV!=="production")var E={},P=0;function N(z,B,W,I,J,X,se){if(I=I||m,X=X||W,se!==s){if(d){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ue=I+":"+W;!E[ue]&&P<3&&(l("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+I+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),E[ue]=!0,P++)}}return B[W]==null?z?B[W]===null?new h("The "+J+" `"+X+"` is marked as required "+("in `"+I+"`, but its value is `null`.")):new h("The "+J+" `"+X+"` is marked as required in "+("`"+I+"`, but its value is `undefined`.")):null:y(B,W,I,J,X)}var A=N.bind(null,!1);return A.isRequired=N.bind(null,!0),A}function M(y){function E(P,N,A,z,B,W){var I=P[N],J=te(I);if(J!==y){var X=U(I);return new h("Invalid "+z+" `"+B+"` of type "+("`"+X+"` supplied to `"+A+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return j(E)}function D(){return j(a)}function S(y){function E(P,N,A,z,B){if(typeof y!="function")return new h("Property `"+B+"` of component `"+A+"` has invalid PropType notation inside arrayOf.");var W=P[N];if(!Array.isArray(W)){var I=te(W);return new h("Invalid "+z+" `"+B+"` of type "+("`"+I+"` supplied to `"+A+"`, expected an array."))}for(var J=0;J<W.length;J++){var X=y(W,J,A,z,B+"["+J+"]",s);if(X instanceof Error)return X}return null}return j(E)}function k(){function y(E,P,N,A,z){var B=E[P];if(!c(B)){var W=te(B);return new h("Invalid "+A+" `"+z+"` of type "+("`"+W+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return j(y)}function w(){function y(E,P,N,A,z){var B=E[P];if(!e.isValidElementType(B)){var W=te(B);return new h("Invalid "+A+" `"+z+"` of type "+("`"+W+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return j(y)}function O(y){function E(P,N,A,z,B){if(!(P[N]instanceof y)){var W=y.name||m,I=R(P[N]);return new h("Invalid "+z+" `"+B+"` of type "+("`"+I+"` supplied to `"+A+"`, expected ")+("instance of `"+W+"`."))}return null}return j(E)}function H(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?l("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):l("Invalid argument supplied to oneOf, expected an array.")),a;function E(P,N,A,z,B){for(var W=P[N],I=0;I<y.length;I++)if(v(W,y[I]))return null;var J=JSON.stringify(y,function(se,q){var ue=U(q);return ue==="symbol"?String(q):q});return new h("Invalid "+z+" `"+B+"` of value `"+String(W)+"` "+("supplied to `"+A+"`, expected one of "+J+"."))}return j(E)}function G(y){function E(P,N,A,z,B){if(typeof y!="function")return new h("Property `"+B+"` of component `"+A+"` has invalid PropType notation inside objectOf.");var W=P[N],I=te(W);if(I!=="object")return new h("Invalid "+z+" `"+B+"` of type "+("`"+I+"` supplied to `"+A+"`, expected an object."));for(var J in W)if(i(W,J)){var X=y(W,J,A,z,B+"."+J,s);if(X instanceof Error)return X}return null}return j(E)}function V(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&l("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var E=0;E<y.length;E++){var P=y[E];if(typeof P!="function")return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+$(P)+" at index "+E+"."),a}function N(A,z,B,W,I){for(var J=[],X=0;X<y.length;X++){var se=y[X],q=se(A,z,B,W,I,s);if(q==null)return null;q.data&&i(q.data,"expectedType")&&J.push(q.data.expectedType)}var ue=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new h("Invalid "+W+" `"+I+"` supplied to "+("`"+B+"`"+ue+"."))}return j(N)}function f(){function y(E,P,N,A,z){return Q(E[P])?null:new h("Invalid "+A+" `"+z+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return j(y)}function L(y,E,P,N,A){return new h((y||"React class")+": "+E+" type `"+P+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+A+"`.")}function F(y){function E(P,N,A,z,B){var W=P[N],I=te(W);if(I!=="object")return new h("Invalid "+z+" `"+B+"` of type `"+I+"` "+("supplied to `"+A+"`, expected `object`."));for(var J in y){var X=y[J];if(typeof X!="function")return L(A,z,B,J,U(X));var se=X(W,J,A,z,B+"."+J,s);if(se)return se}return null}return j(E)}function Z(y){function E(P,N,A,z,B){var W=P[N],I=te(W);if(I!=="object")return new h("Invalid "+z+" `"+B+"` of type `"+I+"` "+("supplied to `"+A+"`, expected `object`."));var J=r({},P[N],y);for(var X in J){var se=y[X];if(i(y,X)&&typeof se!="function")return L(A,z,B,X,U(se));if(!se)return new h("Invalid "+z+" `"+B+"` key `"+X+"` supplied to `"+A+"`.\nBad object: "+JSON.stringify(P[N],null," ")+`
|
|
21
|
+
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var q=se(W,X,A,z,B+"."+X,s);if(q)return q}return null}return j(E)}function Q(y){switch(typeof y){case"number":case"string":case"undefined":return!0;case"boolean":return!y;case"object":if(Array.isArray(y))return y.every(Q);if(y===null||c(y))return!0;var E=p(y);if(E){var P=E.call(y),N;if(E!==y.entries){for(;!(N=P.next()).done;)if(!Q(N.value))return!1}else for(;!(N=P.next()).done;){var A=N.value;if(A&&!Q(A[1]))return!1}}else return!1;return!0;default:return!1}}function K(y,E){return y==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function te(y){var E=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":K(E,y)?"symbol":E}function U(y){if(typeof y>"u"||y===null)return""+y;var E=te(y);if(E==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return E}function $(y){var E=U(y);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function R(y){return!y.constructor||!y.constructor.name?m:y.constructor.name}return x.checkPropTypes=o,x.resetWarningCache=o.resetWarningCache,x.PropTypes=x,x},Fn}var Hn,ws;function ga(){if(ws)return Hn;ws=1;var e=_n();function r(){}function s(){}return s.resetWarningCache=r,Hn=function(){function i(a,c,d,u,g,p){if(p!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}i.isRequired=i;function o(){return i}var l={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:o,element:i,elementType:i,instanceOf:o,node:i,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:s,resetWarningCache:r};return l.PropTypes=l,l},Hn}if(process.env.NODE_ENV!=="production"){var ma=gs(),ya=!0;Pn.exports=pa()(ma.isElement,ya)}else Pn.exports=ga()();var xa=Pn.exports;const n=ca(xa);var Vn={exports:{}},It={};/**
|
|
22
22
|
* @license React
|
|
23
23
|
* react-jsx-runtime.production.min.js
|
|
24
24
|
*
|
|
@@ -34,15 +34,15 @@ Valid keys: `+JSON.stringify(Object.keys(y),null," "));var q=se(W,J,O,E,L+"."+J
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/var Cs;function ba(){return Cs||(Cs=1,process.env.NODE_ENV!=="production"&&function(){var e=C,r=Symbol.for("react.element"),s=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),v=Symbol.iterator,h="@@iterator";function j(b){if(b===null||typeof b!="object")return null;var Y=v&&b[v]||b[h];return typeof Y=="function"?Y:null}var
|
|
38
|
-
`+W+b}}var
|
|
37
|
+
*/var Cs;function ba(){return Cs||(Cs=1,process.env.NODE_ENV!=="production"&&function(){var e=C,r=Symbol.for("react.element"),s=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),v=Symbol.iterator,h="@@iterator";function j(b){if(b===null||typeof b!="object")return null;var Y=v&&b[v]||b[h];return typeof Y=="function"?Y:null}var M=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function D(b){{for(var Y=arguments.length,ne=new Array(Y>1?Y-1:0),he=1;he<Y;he++)ne[he-1]=arguments[he];S("error",b,ne)}}function S(b,Y,ne){{var he=M.ReactDebugCurrentFrame,ve=he.getStackAddendum();ve!==""&&(Y+="%s",ne=ne.concat([ve]));var Te=ne.map(function(ge){return String(ge)});Te.unshift("Warning: "+Y),Function.prototype.apply.call(console[b],console,Te)}}var k=!1,w=!1,O=!1,H=!1,G=!1,V;V=Symbol.for("react.module.reference");function f(b){return!!(typeof b=="string"||typeof b=="function"||b===i||b===l||G||b===o||b===u||b===g||H||b===x||k||w||O||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===p||b.$$typeof===a||b.$$typeof===c||b.$$typeof===d||b.$$typeof===V||b.getModuleId!==void 0))}function L(b,Y,ne){var he=b.displayName;if(he)return he;var ve=Y.displayName||Y.name||"";return ve!==""?ne+"("+ve+")":ne}function F(b){return b.displayName||"Context"}function Z(b){if(b==null)return null;if(typeof b.tag=="number"&&D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case i:return"Fragment";case s:return"Portal";case l:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case g:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case c:var Y=b;return F(Y)+".Consumer";case a:var ne=b;return F(ne._context)+".Provider";case d:return L(b,b.render,"ForwardRef");case p:var he=b.displayName||null;return he!==null?he:Z(b.type)||"Memo";case m:{var ve=b,Te=ve._payload,ge=ve._init;try{return Z(ge(Te))}catch{return null}}}return null}var Q=Object.assign,K=0,te,U,$,R,y,E,P;function N(){}N.__reactDisabledLog=!0;function A(){{if(K===0){te=console.log,U=console.info,$=console.warn,R=console.error,y=console.group,E=console.groupCollapsed,P=console.groupEnd;var b={configurable:!0,enumerable:!0,value:N,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}K++}}function z(){{if(K--,K===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},b,{value:te}),info:Q({},b,{value:U}),warn:Q({},b,{value:$}),error:Q({},b,{value:R}),group:Q({},b,{value:y}),groupCollapsed:Q({},b,{value:E}),groupEnd:Q({},b,{value:P})})}K<0&&D("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var B=M.ReactCurrentDispatcher,W;function I(b,Y,ne){{if(W===void 0)try{throw Error()}catch(ve){var he=ve.stack.trim().match(/\n( *(at )?)/);W=he&&he[1]||""}return`
|
|
38
|
+
`+W+b}}var J=!1,X;{var se=typeof WeakMap=="function"?WeakMap:Map;X=new se}function q(b,Y){if(!b||J)return"";{var ne=X.get(b);if(ne!==void 0)return ne}var he;J=!0;var ve=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Te;Te=B.current,B.current=null,A();try{if(Y){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(He){he=He}Reflect.construct(b,[],ge)}else{try{ge.call()}catch(He){he=He}b.call(ge.prototype)}}else{try{throw Error()}catch(He){he=He}b()}}catch(He){if(He&&he&&typeof He.stack=="string"){for(var pe=He.stack.split(`
|
|
39
39
|
`),Le=he.stack.split(`
|
|
40
40
|
`),Pe=pe.length-1,$e=Le.length-1;Pe>=1&&$e>=0&&pe[Pe]!==Le[$e];)$e--;for(;Pe>=1&&$e>=0;Pe--,$e--)if(pe[Pe]!==Le[$e]){if(Pe!==1||$e!==1)do if(Pe--,$e--,$e<0||pe[Pe]!==Le[$e]){var Xe=`
|
|
41
|
-
`+pe[Pe].replace(" at new "," at ");return b.displayName&&Xe.includes("<anonymous>")&&(Xe=Xe.replace("<anonymous>",b.displayName)),typeof b=="function"&&
|
|
41
|
+
`+pe[Pe].replace(" at new "," at ");return b.displayName&&Xe.includes("<anonymous>")&&(Xe=Xe.replace("<anonymous>",b.displayName)),typeof b=="function"&&X.set(b,Xe),Xe}while(Pe>=1&&$e>=0);break}}}finally{J=!1,B.current=Te,z(),Error.prepareStackTrace=ve}var Ot=b?b.displayName||b.name:"",wt=Ot?I(Ot):"";return typeof b=="function"&&X.set(b,wt),wt}function ue(b,Y,ne){return q(b,!1)}function le(b){var Y=b.prototype;return!!(Y&&Y.isReactComponent)}function fe(b,Y,ne){if(b==null)return"";if(typeof b=="function")return q(b,le(b));if(typeof b=="string")return I(b);switch(b){case u:return I("Suspense");case g:return I("SuspenseList")}if(typeof b=="object")switch(b.$$typeof){case d:return ue(b.render);case p:return fe(b.type,Y,ne);case m:{var he=b,ve=he._payload,Te=he._init;try{return fe(Te(ve),Y,ne)}catch{}}}return""}var Be=Object.prototype.hasOwnProperty,we={},Re=M.ReactDebugCurrentFrame;function ce(b){if(b){var Y=b._owner,ne=fe(b.type,b._source,Y?Y.type:null);Re.setExtraStackFrame(ne)}else Re.setExtraStackFrame(null)}function oe(b,Y,ne,he,ve){{var Te=Function.call.bind(Be);for(var ge in b)if(Te(b,ge)){var pe=void 0;try{if(typeof b[ge]!="function"){var Le=Error((he||"React class")+": "+ne+" type `"+ge+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof b[ge]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}pe=b[ge](Y,ge,he,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Pe){pe=Pe}pe&&!(pe instanceof Error)&&(ce(ve),D("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",he||"React class",ne,ge,typeof pe),ce(null)),pe instanceof Error&&!(pe.message in we)&&(we[pe.message]=!0,ce(ve),D("Failed %s type: %s",ne,pe.message),ce(null))}}}var de=Array.isArray;function ee(b){return de(b)}function ie(b){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,ne=Y&&b[Symbol.toStringTag]||b.constructor.name||"Object";return ne}}function Me(b){try{return Ee(b),!1}catch{return!0}}function Ee(b){return""+b}function Ne(b){if(Me(b))return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ie(b)),Ee(b)}var ae=M.ReactCurrentOwner,Se={key:!0,ref:!0,__self:!0,__source:!0},Ye,nt,jt;jt={};function ls(b){if(Be.call(b,"ref")){var Y=Object.getOwnPropertyDescriptor(b,"ref").get;if(Y&&Y.isReactWarning)return!1}return b.ref!==void 0}function In(b){if(Be.call(b,"key")){var Y=Object.getOwnPropertyDescriptor(b,"key").get;if(Y&&Y.isReactWarning)return!1}return b.key!==void 0}function uh(b,Y){if(typeof b.ref=="string"&&ae.current&&Y&&ae.current.stateNode!==Y){var ne=Z(ae.current.type);jt[ne]||(D('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Z(ae.current.type),b.ref),jt[ne]=!0)}}function fh(b,Y){{var ne=function(){Ye||(Ye=!0,D("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};ne.isReactWarning=!0,Object.defineProperty(b,"key",{get:ne,configurable:!0})}}function ph(b,Y){{var ne=function(){nt||(nt=!0,D("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};ne.isReactWarning=!0,Object.defineProperty(b,"ref",{get:ne,configurable:!0})}}var gh=function(b,Y,ne,he,ve,Te,ge){var pe={$$typeof:r,type:b,key:Y,ref:ne,props:ge,_owner:Te};return pe._store={},Object.defineProperty(pe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.defineProperty(pe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ve}),Object.freeze&&(Object.freeze(pe.props),Object.freeze(pe)),pe};function mh(b,Y,ne,he,ve){{var Te,ge={},pe=null,Le=null;ne!==void 0&&(Ne(ne),pe=""+ne),In(Y)&&(Ne(Y.key),pe=""+Y.key),ls(Y)&&(Le=Y.ref,uh(Y,ve));for(Te in Y)Be.call(Y,Te)&&!Se.hasOwnProperty(Te)&&(ge[Te]=Y[Te]);if(b&&b.defaultProps){var Pe=b.defaultProps;for(Te in Pe)ge[Te]===void 0&&(ge[Te]=Pe[Te])}if(pe||Le){var $e=typeof b=="function"?b.displayName||b.name||"Unknown":b;pe&&fh(ge,$e),Le&&ph(ge,$e)}return gh(b,pe,Le,ve,he,ae.current,ge)}}var as=M.ReactCurrentOwner,Ql=M.ReactDebugCurrentFrame;function At(b){if(b){var Y=b._owner,ne=fe(b.type,b._source,Y?Y.type:null);Ql.setExtraStackFrame(ne)}else Ql.setExtraStackFrame(null)}var cs;cs=!1;function ds(b){return typeof b=="object"&&b!==null&&b.$$typeof===r}function ea(){{if(as.current){var b=Z(as.current.type);if(b)return`
|
|
42
42
|
|
|
43
43
|
Check the render method of \``+b+"`."}return""}}function yh(b){return""}var ta={};function xh(b){{var Y=ea();if(!Y){var ne=typeof b=="string"?b:b.displayName||b.name;ne&&(Y=`
|
|
44
44
|
|
|
45
|
-
Check the top-level render call using <`+ne+">.")}return Y}}function na(b,Y){{if(!b._store||b._store.validated||b.key!=null)return;b._store.validated=!0;var ne=xh(Y);if(ta[ne])return;ta[ne]=!0;var he="";b&&b._owner&&b._owner!==as.current&&(he=" It was passed a child from "+
|
|
45
|
+
Check the top-level render call using <`+ne+">.")}return Y}}function na(b,Y){{if(!b._store||b._store.validated||b.key!=null)return;b._store.validated=!0;var ne=xh(Y);if(ta[ne])return;ta[ne]=!0;var he="";b&&b._owner&&b._owner!==as.current&&(he=" It was passed a child from "+Z(b._owner.type)+"."),At(b),D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,he),At(null)}}function ra(b,Y){{if(typeof b!="object")return;if(ee(b))for(var ne=0;ne<b.length;ne++){var he=b[ne];ds(he)&&na(he,Y)}else if(ds(b))b._store&&(b._store.validated=!0);else if(b){var ve=j(b);if(typeof ve=="function"&&ve!==b.entries)for(var Te=ve.call(b),ge;!(ge=Te.next()).done;)ds(ge.value)&&na(ge.value,Y)}}}function vh(b){{var Y=b.type;if(Y==null||typeof Y=="string")return;var ne;if(typeof Y=="function")ne=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===d||Y.$$typeof===p))ne=Y.propTypes;else return;if(ne){var he=Z(Y);oe(ne,b.props,"prop",he,b)}else if(Y.PropTypes!==void 0&&!cs){cs=!0;var ve=Z(Y);D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ve||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function bh(b){{for(var Y=Object.keys(b.props),ne=0;ne<Y.length;ne++){var he=Y[ne];if(he!=="children"&&he!=="key"){At(b),D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",he),At(null);break}}b.ref!==null&&(At(b),D("Invalid attribute `ref` supplied to `React.Fragment`."),At(null))}}var sa={};function ia(b,Y,ne,he,ve,Te){{var ge=f(b);if(!ge){var pe="";(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(pe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=yh();Le?pe+=Le:pe+=ea();var Pe;b===null?Pe="null":ee(b)?Pe="array":b!==void 0&&b.$$typeof===r?(Pe="<"+(Z(b.type)||"Unknown")+" />",pe=" Did you accidentally export a JSX literal instead of a component?"):Pe=typeof b,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Pe,pe)}var $e=mh(b,Y,ne,ve,Te);if($e==null)return $e;if(ge){var Xe=Y.children;if(Xe!==void 0)if(he)if(ee(Xe)){for(var Ot=0;Ot<Xe.length;Ot++)ra(Xe[Ot],b);Object.freeze&&Object.freeze(Xe)}else D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ra(Xe,b)}if(Be.call(Y,"key")){var wt=Z(b),He=Object.keys(Y).filter(function(Th){return Th!=="key"}),hs=He.length>0?"{key: someKey, "+He.join(": ..., ")+": ...}":"{key: someKey}";if(!sa[wt+hs]){var Sh=He.length>0?"{"+He.join(": ..., ")+": ...}":"{}";D(`A props object containing a "key" prop is being spread into JSX:
|
|
46
46
|
let props = %s;
|
|
47
47
|
<%s {...props} />
|
|
48
48
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -93,11 +93,11 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:at(18,`(${r})`));return
|
|
|
93
93
|
* This source code is licensed under the MIT license found in the
|
|
94
94
|
* LICENSE file in the root directory of this source tree.
|
|
95
95
|
*/function ed(e,r){const s=oa(e,r);return process.env.NODE_ENV!=="production"?(...i)=>{const o=typeof e=="string"?`"${e}"`:"component";return i.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
96
|
-
`)):i.some(l=>l===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),s(...i)}:s}function td(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const Gs=[];function mt(e){return Gs[0]=e,Qc(Gs)}const nd=e=>{const r=Object.keys(e).map(s=>({key:s,val:e[s]}))||[];return r.sort((s,i)=>s.val-i.val),r.reduce((s,i)=>({...s,[i.key]:i.val}),{})};function rd(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:s="px",step:i=5,...o}=e,l=nd(r),a=Object.keys(l);function c(m){return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${s})`}function d(m){return`@media (max-width:${(typeof r[m]=="number"?r[m]:m)-i/100}${s})`}function u(m,x){const v=a.indexOf(x);return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${s}) and (max-width:${(v!==-1&&typeof r[a[v]]=="number"?r[a[v]]:x)-i/100}${s})`}function g(m){return a.indexOf(m)+1<a.length?u(m,a[a.indexOf(m)+1]):c(m)}function p(m){const x=a.indexOf(m);return x===0?c(a[1]):x===a.length-1?d(a[x]):u(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:a,values:l,up:c,down:d,between:u,only:g,not:p,unit:s,...o}}const sd={borderRadius:4};function Ks(e=8,r=Kn({spacing:e})){if(e.mui)return e;const s=(...i)=>(process.env.NODE_ENV!=="production"&&(i.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${i.length}`)),(i.length===0?[1]:i).map(l=>{const a=r(l);return typeof a=="number"?`${a}px`:a}).join(" "));return s.mui=!0,s}function id(e,r){var i;const s=this;if(s.vars){if(!((i=s.colorSchemes)!=null&&i[e])||typeof s.getColorSchemeSelector!="function")return{};let o=s.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return s.palette.mode===e?r:{}}function Xs(e={},...r){const{breakpoints:s={},palette:i={},spacing:o,shape:l={},...a}=e,c=rd(s),d=Ks(o);let u=Ve({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:d,shape:{...sd,...l}},a);return u=ec(u),u.applyStyles=id,u=r.reduce((g,p)=>Ve(g,p),u),u.unstable_sxConfig={..._t,...a==null?void 0:a.unstable_sxConfig},u.unstable_sx=function(p){return Ct({sx:p,theme:this})},u}function Js(e){const{variants:r,...s}=e,i={variants:r,style:mt(s),isProcessed:!0};return i.style===s||r&&r.forEach(o=>{typeof o.style!="function"&&(o.style=mt(o.style))}),i}const od=Xs();function Qn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function yt(e,r){return r&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${r}{${String(e.styles)}}`),e}function ld(e){return e?(r,s)=>s[e]:null}function ad(e,r,s){e.theme=ud(e.theme)?s:e.theme[r]||e.theme}function xn(e,r,s){const i=typeof r=="function"?r(e):r;if(Array.isArray(i))return i.flatMap(o=>xn(e,o,s));if(Array.isArray(i==null?void 0:i.variants)){let o;if(i.isProcessed)o=s?yt(i.style,s):i.style;else{const{variants:l,...a}=i;o=s?yt(mt(a),s):a}return Qs(e,i.variants,[o],s)}return i!=null&&i.isProcessed?s?yt(mt(i.style),s):i.style:s?yt(mt(i),s):i}function Qs(e,r,s=[],i=void 0){var l;let o;e:for(let a=0;a<r.length;a+=1){const c=r[a];if(typeof c.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!c.props(o))continue}else for(const d in c.props)if(e[d]!==c.props[d]&&((l=e.ownerState)==null?void 0:l[d])!==c.props[d])continue e;typeof c.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),s.push(i?yt(mt(c.style(o)),i):c.style(o))):s.push(i?yt(mt(c.style),i):c.style)}return s}function cd(e={}){const{themeId:r,defaultTheme:s=od,rootShouldForwardProp:i=Qn,slotShouldForwardProp:o=Qn}=e;function l(c){ad(c,r,s)}return(c,d={})=>{td(c,
|
|
96
|
+
`)):i.some(l=>l===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),s(...i)}:s}function td(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const Gs=[];function mt(e){return Gs[0]=e,Qc(Gs)}const nd=e=>{const r=Object.keys(e).map(s=>({key:s,val:e[s]}))||[];return r.sort((s,i)=>s.val-i.val),r.reduce((s,i)=>({...s,[i.key]:i.val}),{})};function rd(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:s="px",step:i=5,...o}=e,l=nd(r),a=Object.keys(l);function c(m){return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${s})`}function d(m){return`@media (max-width:${(typeof r[m]=="number"?r[m]:m)-i/100}${s})`}function u(m,x){const v=a.indexOf(x);return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${s}) and (max-width:${(v!==-1&&typeof r[a[v]]=="number"?r[a[v]]:x)-i/100}${s})`}function g(m){return a.indexOf(m)+1<a.length?u(m,a[a.indexOf(m)+1]):c(m)}function p(m){const x=a.indexOf(m);return x===0?c(a[1]):x===a.length-1?d(a[x]):u(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:a,values:l,up:c,down:d,between:u,only:g,not:p,unit:s,...o}}const sd={borderRadius:4};function Ks(e=8,r=Kn({spacing:e})){if(e.mui)return e;const s=(...i)=>(process.env.NODE_ENV!=="production"&&(i.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${i.length}`)),(i.length===0?[1]:i).map(l=>{const a=r(l);return typeof a=="number"?`${a}px`:a}).join(" "));return s.mui=!0,s}function id(e,r){var i;const s=this;if(s.vars){if(!((i=s.colorSchemes)!=null&&i[e])||typeof s.getColorSchemeSelector!="function")return{};let o=s.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return s.palette.mode===e?r:{}}function Xs(e={},...r){const{breakpoints:s={},palette:i={},spacing:o,shape:l={},...a}=e,c=rd(s),d=Ks(o);let u=Ve({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:d,shape:{...sd,...l}},a);return u=ec(u),u.applyStyles=id,u=r.reduce((g,p)=>Ve(g,p),u),u.unstable_sxConfig={..._t,...a==null?void 0:a.unstable_sxConfig},u.unstable_sx=function(p){return Ct({sx:p,theme:this})},u}function Js(e){const{variants:r,...s}=e,i={variants:r,style:mt(s),isProcessed:!0};return i.style===s||r&&r.forEach(o=>{typeof o.style!="function"&&(o.style=mt(o.style))}),i}const od=Xs();function Qn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function yt(e,r){return r&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${r}{${String(e.styles)}}`),e}function ld(e){return e?(r,s)=>s[e]:null}function ad(e,r,s){e.theme=ud(e.theme)?s:e.theme[r]||e.theme}function xn(e,r,s){const i=typeof r=="function"?r(e):r;if(Array.isArray(i))return i.flatMap(o=>xn(e,o,s));if(Array.isArray(i==null?void 0:i.variants)){let o;if(i.isProcessed)o=s?yt(i.style,s):i.style;else{const{variants:l,...a}=i;o=s?yt(mt(a),s):a}return Qs(e,i.variants,[o],s)}return i!=null&&i.isProcessed?s?yt(mt(i.style),s):i.style:s?yt(mt(i),s):i}function Qs(e,r,s=[],i=void 0){var l;let o;e:for(let a=0;a<r.length;a+=1){const c=r[a];if(typeof c.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!c.props(o))continue}else for(const d in c.props)if(e[d]!==c.props[d]&&((l=e.ownerState)==null?void 0:l[d])!==c.props[d])continue e;typeof c.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),s.push(i?yt(mt(c.style(o)),i):c.style(o))):s.push(i?yt(mt(c.style),i):c.style)}return s}function cd(e={}){const{themeId:r,defaultTheme:s=od,rootShouldForwardProp:i=Qn,slotShouldForwardProp:o=Qn}=e;function l(c){ad(c,r,s)}return(c,d={})=>{td(c,O=>O.filter(H=>H!==Ct));const{name:u,slot:g,skipVariantsResolver:p,skipSx:m,overridesResolver:x=ld(ei(g)),...v}=d,h=u&&u.startsWith("Mui")||g?"components":"custom",j=p!==void 0?p:g&&g!=="Root"&&g!=="root"||!1,M=m||!1;let D=Qn;g==="Root"||g==="root"?D=i:g?D=o:fd(c)&&(D=void 0);const S=ed(c,{shouldForwardProp:D,label:hd(u,g),...v}),k=O=>{if(O.__emotion_real===O)return O;if(typeof O=="function")return function(G){return xn(G,O,G.theme.modularCssLayers?h:void 0)};if(et(O)){const H=Js(O);return function(V){return H.variants?xn(V,H,V.theme.modularCssLayers?h:void 0):V.theme.modularCssLayers?yt(H.style,h):H.style}}return O},w=(...O)=>{const H=[],G=O.map(k),V=[];if(H.push(l),u&&x&&V.push(function(Z){var U,$;const K=($=(U=Z.theme.components)==null?void 0:U[u])==null?void 0:$.styleOverrides;if(!K)return null;const te={};for(const R in K)te[R]=xn(Z,K[R],Z.theme.modularCssLayers?"theme":void 0);return x(Z,te)}),u&&!j&&V.push(function(Z){var te,U;const Q=Z.theme,K=(U=(te=Q==null?void 0:Q.components)==null?void 0:te[u])==null?void 0:U.variants;return K?Qs(Z,K,[],Z.theme.modularCssLayers?"theme":void 0):null}),M||V.push(Ct),Array.isArray(G[0])){const F=G.shift(),Z=new Array(H.length).fill(""),Q=new Array(V.length).fill("");let K;K=[...Z,...F,...Q],K.raw=[...Z,...F.raw,...Q],H.unshift(K)}const f=[...H,...G,...V],L=S(...f);return c.muiName&&(L.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(L.displayName=dd(u,g,c)),L};return S.withConfig&&(w.withConfig=S.withConfig),w}}function dd(e,r,s){return e?`${e}${Oe(r||"")}`:`Styled(${Wa(s)})`}function hd(e,r){let s;return process.env.NODE_ENV!=="production"&&e&&(s=`${e}-${ei(r||"Root")}`),s}function ud(e){for(const r in e)return!1;return!0}function fd(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ei(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function er(e,r=0,s=1){return process.env.NODE_ENV!=="production"&&(e<r||e>s)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${s}].`),Ua(e,r,s)}function pd(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let s=e.match(r);return s&&s[0].length===1&&(s=s.map(i=>i+i)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),s?`rgb${s.length===4?"a":""}(${s.map((i,o)=>o<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function ut(e){if(e.type)return e;if(e.charAt(0)==="#")return ut(pd(e));const r=e.indexOf("("),s=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(s))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
97
97
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:at(9,e));let i=e.substring(r+1,e.length-1),o;if(s==="color"){if(i=i.split(" "),o=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
98
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:at(10,o))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:s,values:i,colorSpace:o}}const gd=e=>{const r=ut(e);return r.values.slice(0,3).map((s,i)=>r.type.includes("hsl")&&i!==0?`${s}%`:s).join(" ")},Bt=(e,r)=>{try{return gd(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function vn(e){const{type:r,colorSpace:s}=e;let{values:i}=e;return r.includes("rgb")?i=i.map((o,l)=>l<3?parseInt(o,10):o):r.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),r.includes("color")?i=`${s} ${i.join(" ")}`:i=`${i.join(", ")}`,`${r}(${i})`}function ti(e){e=ut(e);const{values:r}=e,s=r[0],i=r[1]/100,o=r[2]/100,l=i*Math.min(o,1-o),a=(u,g=(u+s/30)%12)=>o-l*Math.max(Math.min(g-3,9-g,1),-1);let c="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",d.push(r[3])),vn({type:c,values:d})}function tr(e){e=ut(e);let r=e.type==="hsl"||e.type==="hsla"?ut(ti(e)).values:e.values;return r=r.map(s=>(e.type!=="color"&&(s/=255),s<=.03928?s/12.92:((s+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function ni(e,r){const s=tr(e),i=tr(r);return(Math.max(s,i)+.05)/(Math.min(s,i)+.05)}function Lt(e,r){return e=ut(e),r=er(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,vn(e)}function bn(e,r,s){try{return Lt(e,r)}catch{return e}}function nr(e,r){if(e=ut(e),r=er(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let s=0;s<3;s+=1)e.values[s]*=1-r;return vn(e)}function ke(e,r,s){try{return nr(e,r)}catch{return e}}function rr(e,r){if(e=ut(e),r=er(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let s=0;s<3;s+=1)e.values[s]+=(255-e.values[s])*r;else if(e.type.includes("color"))for(let s=0;s<3;s+=1)e.values[s]+=(1-e.values[s])*r;return vn(e)}function Ce(e,r,s){try{return rr(e,r)}catch{return e}}function md(e,r=.15){return tr(e)>.5?nr(e,r):rr(e,r)}function jn(e,r,s){try{return md(e,r)}catch{return e}}const yd=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(n.node,n.object);function xd(e){const{theme:r,name:s,props:i}=e;if(!r||!r.components||!r.components[s])return i;const o=r.components[s];return o.defaultProps?Gn(o.defaultProps,i):!o.styleOverrides&&!o.variants?Gn(o,i):i}function vd({props:e,name:r}){const s=re.useContext(yd);return xd({props:e,name:r,theme:{components:s}})}const ri={theme:void 0};function bd(e){let r,s;return function(o){let l=r;return(l===void 0||o.theme!==s)&&(ri.theme=o.theme,l=Js(e(ri)),r=l,s=o.theme),l}}function jd(e=""){function r(...i){if(!i.length)return"";const o=i[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${r(...i.slice(1))})`:`, ${o}`}return(i,...o)=>`var(--${e?`${e}-`:""}${i}${r(...o)})`}const si=(e,r,s,i=[])=>{let o=e;r.forEach((l,a)=>{a===r.length-1?Array.isArray(o)?o[Number(l)]=s:o&&typeof o=="object"&&(o[l]=s):o&&typeof o=="object"&&(o[l]||(o[l]=i.includes(l)?[]:{}),o=o[l])})},wd=(e,r,s)=>{function i(o,l=[],a=[]){Object.entries(o).forEach(([c,d])=>{(!s||s&&!s([...l,c]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?i(d,[...l,c],Array.isArray(d)?[...a,c]:a):r([...l,c],d,a))})}i(e)},kd=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function sr(e,r){const{prefix:s,shouldSkipGeneratingVar:i}=r||{},o={},l={},a={};return wd(e,(c,d,u)=>{if((typeof d=="string"||typeof d=="number")&&(!i||!i(c,d))){const g=`--${s?`${s}-`:""}${c.join("-")}`,p=kd(c,d);Object.assign(o,{[g]:p}),si(l,c,`var(${g})`,u),si(a,c,`var(${g}, ${p})`,u)}},c=>c[0]==="vars"),{css:o,vars:l,varsWithDefaults:a}}function Cd(e,r={}){const{getSelector:s=j,disableCssColorScheme:i,colorSchemeSelector:o}=r,{colorSchemes:l={},components:a,defaultColorScheme:c="light",...d}=e,{vars:u,css:g,varsWithDefaults:p}=sr(d,r);let m=p;const x={},{[c]:v,...h}=l;if(Object.entries(h||{}).forEach(([
|
|
99
|
-
`))}return j}const m=({color:h,name:j,mainShade:
|
|
100
|
-
The color object needs to have a \`main\` property or a \`${
|
|
98
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:at(10,o))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:s,values:i,colorSpace:o}}const gd=e=>{const r=ut(e);return r.values.slice(0,3).map((s,i)=>r.type.includes("hsl")&&i!==0?`${s}%`:s).join(" ")},Bt=(e,r)=>{try{return gd(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function vn(e){const{type:r,colorSpace:s}=e;let{values:i}=e;return r.includes("rgb")?i=i.map((o,l)=>l<3?parseInt(o,10):o):r.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),r.includes("color")?i=`${s} ${i.join(" ")}`:i=`${i.join(", ")}`,`${r}(${i})`}function ti(e){e=ut(e);const{values:r}=e,s=r[0],i=r[1]/100,o=r[2]/100,l=i*Math.min(o,1-o),a=(u,g=(u+s/30)%12)=>o-l*Math.max(Math.min(g-3,9-g,1),-1);let c="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",d.push(r[3])),vn({type:c,values:d})}function tr(e){e=ut(e);let r=e.type==="hsl"||e.type==="hsla"?ut(ti(e)).values:e.values;return r=r.map(s=>(e.type!=="color"&&(s/=255),s<=.03928?s/12.92:((s+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function ni(e,r){const s=tr(e),i=tr(r);return(Math.max(s,i)+.05)/(Math.min(s,i)+.05)}function Lt(e,r){return e=ut(e),r=er(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,vn(e)}function bn(e,r,s){try{return Lt(e,r)}catch{return e}}function nr(e,r){if(e=ut(e),r=er(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let s=0;s<3;s+=1)e.values[s]*=1-r;return vn(e)}function ke(e,r,s){try{return nr(e,r)}catch{return e}}function rr(e,r){if(e=ut(e),r=er(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let s=0;s<3;s+=1)e.values[s]+=(255-e.values[s])*r;else if(e.type.includes("color"))for(let s=0;s<3;s+=1)e.values[s]+=(1-e.values[s])*r;return vn(e)}function Ce(e,r,s){try{return rr(e,r)}catch{return e}}function md(e,r=.15){return tr(e)>.5?nr(e,r):rr(e,r)}function jn(e,r,s){try{return md(e,r)}catch{return e}}const yd=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(n.node,n.object);function xd(e){const{theme:r,name:s,props:i}=e;if(!r||!r.components||!r.components[s])return i;const o=r.components[s];return o.defaultProps?Gn(o.defaultProps,i):!o.styleOverrides&&!o.variants?Gn(o,i):i}function vd({props:e,name:r}){const s=re.useContext(yd);return xd({props:e,name:r,theme:{components:s}})}const ri={theme:void 0};function bd(e){let r,s;return function(o){let l=r;return(l===void 0||o.theme!==s)&&(ri.theme=o.theme,l=Js(e(ri)),r=l,s=o.theme),l}}function jd(e=""){function r(...i){if(!i.length)return"";const o=i[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${r(...i.slice(1))})`:`, ${o}`}return(i,...o)=>`var(--${e?`${e}-`:""}${i}${r(...o)})`}const si=(e,r,s,i=[])=>{let o=e;r.forEach((l,a)=>{a===r.length-1?Array.isArray(o)?o[Number(l)]=s:o&&typeof o=="object"&&(o[l]=s):o&&typeof o=="object"&&(o[l]||(o[l]=i.includes(l)?[]:{}),o=o[l])})},wd=(e,r,s)=>{function i(o,l=[],a=[]){Object.entries(o).forEach(([c,d])=>{(!s||s&&!s([...l,c]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?i(d,[...l,c],Array.isArray(d)?[...a,c]:a):r([...l,c],d,a))})}i(e)},kd=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function sr(e,r){const{prefix:s,shouldSkipGeneratingVar:i}=r||{},o={},l={},a={};return wd(e,(c,d,u)=>{if((typeof d=="string"||typeof d=="number")&&(!i||!i(c,d))){const g=`--${s?`${s}-`:""}${c.join("-")}`,p=kd(c,d);Object.assign(o,{[g]:p}),si(l,c,`var(${g})`,u),si(a,c,`var(${g}, ${p})`,u)}},c=>c[0]==="vars"),{css:o,vars:l,varsWithDefaults:a}}function Cd(e,r={}){const{getSelector:s=j,disableCssColorScheme:i,colorSchemeSelector:o}=r,{colorSchemes:l={},components:a,defaultColorScheme:c="light",...d}=e,{vars:u,css:g,varsWithDefaults:p}=sr(d,r);let m=p;const x={},{[c]:v,...h}=l;if(Object.entries(h||{}).forEach(([S,k])=>{const{vars:w,css:O,varsWithDefaults:H}=sr(k,r);m=Ve(m,H),x[S]={css:O,vars:w}}),v){const{css:S,vars:k,varsWithDefaults:w}=sr(v,r);m=Ve(m,w),x[c]={css:S,vars:k}}function j(S,k){var O,H;let w=o;if(o==="class"&&(w=".%s"),o==="data"&&(w="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(w=`[${o}="%s"]`),S){if(w==="media")return e.defaultColorScheme===S?":root":{[`@media (prefers-color-scheme: ${((H=(O=l[S])==null?void 0:O.palette)==null?void 0:H.mode)||S})`]:{":root":k}};if(w)return e.defaultColorScheme===S?`:root, ${w.replace("%s",String(S))}`:w.replace("%s",String(S))}return":root"}return{vars:m,generateThemeVars:()=>{let S={...u};return Object.entries(x).forEach(([,{vars:k}])=>{S=Ve(S,k)}),S},generateStyleSheets:()=>{var G,V;const S=[],k=e.defaultColorScheme||"light";function w(f,L){Object.keys(L).length&&S.push(typeof f=="string"?{[f]:{...L}}:f)}w(s(void 0,{...g}),g);const{[k]:O,...H}=x;if(O){const{css:f}=O,L=(V=(G=l[k])==null?void 0:G.palette)==null?void 0:V.mode,F=!i&&L?{colorScheme:L,...f}:{...f};w(s(k,{...F}),F)}return Object.entries(H).forEach(([f,{css:L}])=>{var Q,K;const F=(K=(Q=l[f])==null?void 0:Q.palette)==null?void 0:K.mode,Z=!i&&F?{colorScheme:F,...L}:{...L};w(s(f,{...Z}),Z)}),S}}}function Sd(e){return function(s){return e==="media"?(process.env.NODE_ENV!=="production"&&s!=="light"&&s!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${s}'.`),`@media (prefers-color-scheme: ${s})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${s}"] &`:e==="class"?`.${s} &`:e==="data"?`[data-${s}] &`:`${e.replace("%s",s)} &`:"&"}}const Ft={black:"#000",white:"#fff"},Td={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},St={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tt={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ht={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Mt={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},zt={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Et={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function ii(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ft.white,default:Ft.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Md=ii();function oi(){return{text:{primary:Ft.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ft.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const li=oi();function ai(e,r,s,i){const o=i.light||i,l=i.dark||i*1.5;e[r]||(e.hasOwnProperty(s)?e[r]=e[s]:r==="light"?e.light=rr(e.main,o):r==="dark"&&(e.dark=nr(e.main,l)))}function zd(e="light"){return e==="dark"?{main:Mt[200],light:Mt[50],dark:Mt[400]}:{main:Mt[700],light:Mt[400],dark:Mt[800]}}function Ed(e="light"){return e==="dark"?{main:St[200],light:St[50],dark:St[400]}:{main:St[500],light:St[300],dark:St[700]}}function Nd(e="light"){return e==="dark"?{main:Tt[500],light:Tt[300],dark:Tt[700]}:{main:Tt[700],light:Tt[400],dark:Tt[800]}}function Dd(e="light"){return e==="dark"?{main:zt[400],light:zt[300],dark:zt[700]}:{main:zt[700],light:zt[500],dark:zt[900]}}function Ad(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[800],light:Et[500],dark:Et[900]}}function Od(e="light"){return e==="dark"?{main:Ht[400],light:Ht[300],dark:Ht[700]}:{main:"#ed6c02",light:Ht[500],dark:Ht[900]}}function ir(e){const{mode:r="light",contrastThreshold:s=3,tonalOffset:i=.2,...o}=e,l=e.primary||zd(r),a=e.secondary||Ed(r),c=e.error||Nd(r),d=e.info||Dd(r),u=e.success||Ad(r),g=e.warning||Od(r);function p(h){const j=ni(h,li.text.primary)>=s?li.text.primary:Md.text.primary;if(process.env.NODE_ENV!=="production"){const M=ni(h,j);M<3&&console.error([`MUI: The contrast ratio of ${M}:1 for ${j} on ${h}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
99
|
+
`))}return j}const m=({color:h,name:j,mainShade:M=500,lightShade:D=300,darkShade:S=700})=>{if(h={...h},!h.main&&h[M]&&(h.main=h[M]),!h.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${j?` (${j})`:""} provided to augmentColor(color) is invalid.
|
|
100
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.`:at(11,j?` (${j})`:"",M));if(typeof h.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${j?` (${j})`:""} provided to augmentColor(color) is invalid.
|
|
101
101
|
\`color.main\` should be a string, but \`${JSON.stringify(h.main)}\` was provided instead.
|
|
102
102
|
|
|
103
103
|
Did you intend to use one of the following approaches?
|
|
@@ -110,7 +110,7 @@ const theme1 = createTheme({ palette: {
|
|
|
110
110
|
|
|
111
111
|
const theme2 = createTheme({ palette: {
|
|
112
112
|
primary: { main: green[500] },
|
|
113
|
-
} });`:at(12,j?` (${j})`:"",JSON.stringify(h.main)));return ai(h,"light",D,i),ai(h,"dark",
|
|
113
|
+
} });`:at(12,j?` (${j})`:"",JSON.stringify(h.main)));return ai(h,"light",D,i),ai(h,"dark",S,i),h.contrastText||(h.contrastText=p(h.main)),h};let x;return r==="light"?x=ii():r==="dark"&&(x=oi()),process.env.NODE_ENV!=="production"&&(x||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),Ve({common:{...Ft},mode:r,primary:m({color:l,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:g,name:"warning"}),info:m({color:d,name:"info"}),success:m({color:u,name:"success"}),grey:Td,contrastThreshold:s,getContrastText:p,augmentColor:m,tonalOffset:i,...x},o)}function Id(e){const r={};return Object.entries(e).forEach(i=>{const[o,l]=i;typeof l=="object"&&(r[o]=`${l.fontStyle?`${l.fontStyle} `:""}${l.fontVariant?`${l.fontVariant} `:""}${l.fontWeight?`${l.fontWeight} `:""}${l.fontStretch?`${l.fontStretch} `:""}${l.fontSize||""}${l.lineHeight?`/${l.lineHeight} `:""}${l.fontFamily||""}`)}),r}function Rd(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Pd(e){return Math.round(e*1e5)/1e5}const ci={textTransform:"uppercase"},di='"Roboto", "Helvetica", "Arial", sans-serif';function Wd(e,r){const{fontFamily:s=di,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:l=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:u,pxToRem:g,...p}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=i/14,x=g||(j=>`${j/d*m}rem`),v=(j,M,D,S,k)=>({fontFamily:s,fontWeight:j,fontSize:x(M),lineHeight:D,...s===di?{letterSpacing:`${Pd(S/M)}em`}:{},...k,...u}),h={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(l,48,1.167,0),h4:v(l,34,1.235,.25),h5:v(l,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(l,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(l,16,1.5,.15),body2:v(l,14,1.43,.15),button:v(a,14,1.75,.4,ci),caption:v(l,12,1.66,.4),overline:v(l,12,2.66,1,ci),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ve({htmlFontSize:d,pxToRem:x,fontFamily:s,fontSize:i,fontWeightLight:o,fontWeightRegular:l,fontWeightMedium:a,fontWeightBold:c,...h},p,{clone:!1})}const $d=.2,_d=.14,Bd=.12;function ze(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$d})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_d})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Bd})`].join(",")}const Ld=["none",ze(0,2,1,-1,0,1,1,0,0,1,3,0),ze(0,3,1,-2,0,2,2,0,0,1,5,0),ze(0,3,3,-2,0,3,4,0,0,1,8,0),ze(0,2,4,-1,0,4,5,0,0,1,10,0),ze(0,3,5,-1,0,5,8,0,0,1,14,0),ze(0,3,5,-1,0,6,10,0,0,1,18,0),ze(0,4,5,-2,0,7,10,1,0,2,16,1),ze(0,5,5,-3,0,8,10,1,0,3,14,2),ze(0,5,6,-3,0,9,12,1,0,3,16,2),ze(0,6,6,-3,0,10,14,1,0,4,18,3),ze(0,6,7,-4,0,11,15,1,0,4,20,3),ze(0,7,8,-4,0,12,17,2,0,5,22,4),ze(0,7,8,-4,0,13,19,2,0,5,24,4),ze(0,7,9,-4,0,14,21,2,0,5,26,4),ze(0,8,9,-5,0,15,22,2,0,6,28,5),ze(0,8,10,-5,0,16,24,2,0,6,30,5),ze(0,8,11,-5,0,17,26,2,0,6,32,5),ze(0,9,11,-5,0,18,28,2,0,7,34,6),ze(0,9,12,-6,0,19,29,2,0,7,36,6),ze(0,10,13,-6,0,20,31,3,0,8,38,7),ze(0,10,13,-6,0,21,33,3,0,8,40,7),ze(0,10,14,-6,0,22,35,3,0,8,42,7),ze(0,11,14,-7,0,23,36,3,0,9,44,8),ze(0,11,15,-7,0,24,38,3,0,9,46,8)],Fd={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Hd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function hi(e){return`${Math.round(e)}ms`}function Vd(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Zd(e){const r={...Fd,...e.easing},s={...Hd,...e.duration};return{getAutoHeightDuration:Vd,create:(o=["all"],l={})=>{const{duration:a=s.standard,easing:c=r.easeInOut,delay:d=0,...u}=l;if(process.env.NODE_ENV!=="production"){const g=m=>typeof m=="string",p=m=>!Number.isNaN(parseFloat(m));!g(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!g(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),g(c)||console.error('MUI: Argument "easing" must be a string.'),!p(d)&&!g(d)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof l!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
114
114
|
`)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof a=="string"?a:hi(a)} ${c} ${typeof d=="string"?d:hi(d)}`).join(",")},...e,easing:r,duration:s}}const Ud={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Yd(e){return et(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function ui(e={}){const r={...e};function s(i){const o=Object.entries(i);for(let l=0;l<o.length;l++){const[a,c]=o[l];!Yd(c)||a.startsWith("unstable_")?delete i[a]:et(c)&&(i[a]={...c},s(i[a]))}}return s(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
115
115
|
|
|
116
116
|
const theme = ${JSON.stringify(r,null,2)};
|
|
@@ -118,9 +118,9 @@ const theme = ${JSON.stringify(r,null,2)};
|
|
|
118
118
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
119
119
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
120
120
|
|
|
121
|
-
export default theme;`}function or(e={},...r){const{breakpoints:s,mixins:i={},spacing:o,palette:l={},transitions:a={},typography:c={},shape:d,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":at(20));const g=ir(l),p=Xs(e);let m=Ve(p,{mixins:Rd(p.breakpoints,i),palette:g,shadows:Ld.slice(),typography:Wd(g,c),transitions:Zd(a),zIndex:{...Ud}});if(m=Ve(m,u),m=r.reduce((x,v)=>Ve(x,v),m),process.env.NODE_ENV!=="production"){const x=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],v=(h,j)=>{let
|
|
122
|
-
`))}h[
|
|
123
|
-
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function t1(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const tt=e=>{try{return e()}catch{}},n1=(e="mui")=>jd(e);function lr(e,r,s,i){if(!r)return;r=r===!0?{}:r;const o=i==="dark"?"dark":"light";if(!s){e[i]=Kd({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:l,...a}=or({...s,palette:{mode:o,...r==null?void 0:r.palette}});return e[i]={...r,palette:l,opacity:{...fi(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||pi(o)},a}function r1(e={},...r){const{colorSchemes:s={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:l="mui",shouldSkipGeneratingVar:a=Xd,colorSchemeSelector:c=s.light&&s.dark?"media":void 0,rootSelector:d=":root",...u}=e,g=Object.keys(s)[0],p=i||(s.light&&g!=="light"?"light":g),m=n1(l),{[p]:x,light:v,dark:h,...j}=s,z={...j};let D=x;if((p==="dark"&&!("dark"in s)||p==="light"&&!("light"in s))&&(D=!0),!D)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:at(21,p));const T=lr(z,D,u,p);v&&!z.light&&lr(z,v,void 0,"light"),h&&!z.dark&&lr(z,h,void 0,"dark");let k={defaultColorScheme:p,...T,cssVarPrefix:l,colorSchemeSelector:c,rootSelector:d,getCssVar:m,colorSchemes:z,font:{...Id(T.typography),...T.font},spacing:t1(u.spacing)};Object.keys(k.colorSchemes).forEach(Z=>{const f=k.colorSchemes[Z].palette,B=F=>{const V=F.split("-"),Q=V[1],K=V[2];return m(F,f[Q][K])};if(f.mode==="light"&&($(f.common,"background","#fff"),$(f.common,"onBackground","#000")),f.mode==="dark"&&($(f.common,"background","#000"),$(f.common,"onBackground","#fff")),e1(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){$(f.Alert,"errorColor",ke(f.error.light,.6)),$(f.Alert,"infoColor",ke(f.info.light,.6)),$(f.Alert,"successColor",ke(f.success.light,.6)),$(f.Alert,"warningColor",ke(f.warning.light,.6)),$(f.Alert,"errorFilledBg",B("palette-error-main")),$(f.Alert,"infoFilledBg",B("palette-info-main")),$(f.Alert,"successFilledBg",B("palette-success-main")),$(f.Alert,"warningFilledBg",B("palette-warning-main")),$(f.Alert,"errorFilledColor",tt(()=>f.getContrastText(f.error.main))),$(f.Alert,"infoFilledColor",tt(()=>f.getContrastText(f.info.main))),$(f.Alert,"successFilledColor",tt(()=>f.getContrastText(f.success.main))),$(f.Alert,"warningFilledColor",tt(()=>f.getContrastText(f.warning.main))),$(f.Alert,"errorStandardBg",Ce(f.error.light,.9)),$(f.Alert,"infoStandardBg",Ce(f.info.light,.9)),$(f.Alert,"successStandardBg",Ce(f.success.light,.9)),$(f.Alert,"warningStandardBg",Ce(f.warning.light,.9)),$(f.Alert,"errorIconColor",B("palette-error-main")),$(f.Alert,"infoIconColor",B("palette-info-main")),$(f.Alert,"successIconColor",B("palette-success-main")),$(f.Alert,"warningIconColor",B("palette-warning-main")),$(f.AppBar,"defaultBg",B("palette-grey-100")),$(f.Avatar,"defaultBg",B("palette-grey-400")),$(f.Button,"inheritContainedBg",B("palette-grey-300")),$(f.Button,"inheritContainedHoverBg",B("palette-grey-A100")),$(f.Chip,"defaultBorder",B("palette-grey-400")),$(f.Chip,"defaultAvatarColor",B("palette-grey-700")),$(f.Chip,"defaultIconColor",B("palette-grey-700")),$(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),$(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),$(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),$(f.LinearProgress,"primaryBg",Ce(f.primary.main,.62)),$(f.LinearProgress,"secondaryBg",Ce(f.secondary.main,.62)),$(f.LinearProgress,"errorBg",Ce(f.error.main,.62)),$(f.LinearProgress,"infoBg",Ce(f.info.main,.62)),$(f.LinearProgress,"successBg",Ce(f.success.main,.62)),$(f.LinearProgress,"warningBg",Ce(f.warning.main,.62)),$(f.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.11)`),$(f.Slider,"primaryTrack",Ce(f.primary.main,.62)),$(f.Slider,"secondaryTrack",Ce(f.secondary.main,.62)),$(f.Slider,"errorTrack",Ce(f.error.main,.62)),$(f.Slider,"infoTrack",Ce(f.info.main,.62)),$(f.Slider,"successTrack",Ce(f.success.main,.62)),$(f.Slider,"warningTrack",Ce(f.warning.main,.62));const F=jn(f.background.default,.8);$(f.SnackbarContent,"bg",F),$(f.SnackbarContent,"color",tt(()=>f.getContrastText(F))),$(f.SpeedDialAction,"fabHoverBg",jn(f.background.paper,.15)),$(f.StepConnector,"border",B("palette-grey-400")),$(f.StepContent,"border",B("palette-grey-400")),$(f.Switch,"defaultColor",B("palette-common-white")),$(f.Switch,"defaultDisabledColor",B("palette-grey-100")),$(f.Switch,"primaryDisabledColor",Ce(f.primary.main,.62)),$(f.Switch,"secondaryDisabledColor",Ce(f.secondary.main,.62)),$(f.Switch,"errorDisabledColor",Ce(f.error.main,.62)),$(f.Switch,"infoDisabledColor",Ce(f.info.main,.62)),$(f.Switch,"successDisabledColor",Ce(f.success.main,.62)),$(f.Switch,"warningDisabledColor",Ce(f.warning.main,.62)),$(f.TableCell,"border",Ce(bn(f.divider,1),.88)),$(f.Tooltip,"bg",bn(f.grey[700],.92))}if(f.mode==="dark"){$(f.Alert,"errorColor",Ce(f.error.light,.6)),$(f.Alert,"infoColor",Ce(f.info.light,.6)),$(f.Alert,"successColor",Ce(f.success.light,.6)),$(f.Alert,"warningColor",Ce(f.warning.light,.6)),$(f.Alert,"errorFilledBg",B("palette-error-dark")),$(f.Alert,"infoFilledBg",B("palette-info-dark")),$(f.Alert,"successFilledBg",B("palette-success-dark")),$(f.Alert,"warningFilledBg",B("palette-warning-dark")),$(f.Alert,"errorFilledColor",tt(()=>f.getContrastText(f.error.dark))),$(f.Alert,"infoFilledColor",tt(()=>f.getContrastText(f.info.dark))),$(f.Alert,"successFilledColor",tt(()=>f.getContrastText(f.success.dark))),$(f.Alert,"warningFilledColor",tt(()=>f.getContrastText(f.warning.dark))),$(f.Alert,"errorStandardBg",ke(f.error.light,.9)),$(f.Alert,"infoStandardBg",ke(f.info.light,.9)),$(f.Alert,"successStandardBg",ke(f.success.light,.9)),$(f.Alert,"warningStandardBg",ke(f.warning.light,.9)),$(f.Alert,"errorIconColor",B("palette-error-main")),$(f.Alert,"infoIconColor",B("palette-info-main")),$(f.Alert,"successIconColor",B("palette-success-main")),$(f.Alert,"warningIconColor",B("palette-warning-main")),$(f.AppBar,"defaultBg",B("palette-grey-900")),$(f.AppBar,"darkBg",B("palette-background-paper")),$(f.AppBar,"darkColor",B("palette-text-primary")),$(f.Avatar,"defaultBg",B("palette-grey-600")),$(f.Button,"inheritContainedBg",B("palette-grey-800")),$(f.Button,"inheritContainedHoverBg",B("palette-grey-700")),$(f.Chip,"defaultBorder",B("palette-grey-700")),$(f.Chip,"defaultAvatarColor",B("palette-grey-300")),$(f.Chip,"defaultIconColor",B("palette-grey-300")),$(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),$(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),$(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),$(f.LinearProgress,"primaryBg",ke(f.primary.main,.5)),$(f.LinearProgress,"secondaryBg",ke(f.secondary.main,.5)),$(f.LinearProgress,"errorBg",ke(f.error.main,.5)),$(f.LinearProgress,"infoBg",ke(f.info.main,.5)),$(f.LinearProgress,"successBg",ke(f.success.main,.5)),$(f.LinearProgress,"warningBg",ke(f.warning.main,.5)),$(f.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.13)`),$(f.Slider,"primaryTrack",ke(f.primary.main,.5)),$(f.Slider,"secondaryTrack",ke(f.secondary.main,.5)),$(f.Slider,"errorTrack",ke(f.error.main,.5)),$(f.Slider,"infoTrack",ke(f.info.main,.5)),$(f.Slider,"successTrack",ke(f.success.main,.5)),$(f.Slider,"warningTrack",ke(f.warning.main,.5));const F=jn(f.background.default,.98);$(f.SnackbarContent,"bg",F),$(f.SnackbarContent,"color",tt(()=>f.getContrastText(F))),$(f.SpeedDialAction,"fabHoverBg",jn(f.background.paper,.15)),$(f.StepConnector,"border",B("palette-grey-600")),$(f.StepContent,"border",B("palette-grey-600")),$(f.Switch,"defaultColor",B("palette-grey-300")),$(f.Switch,"defaultDisabledColor",B("palette-grey-600")),$(f.Switch,"primaryDisabledColor",ke(f.primary.main,.55)),$(f.Switch,"secondaryDisabledColor",ke(f.secondary.main,.55)),$(f.Switch,"errorDisabledColor",ke(f.error.main,.55)),$(f.Switch,"infoDisabledColor",ke(f.info.main,.55)),$(f.Switch,"successDisabledColor",ke(f.success.main,.55)),$(f.Switch,"warningDisabledColor",ke(f.warning.main,.55)),$(f.TableCell,"border",ke(bn(f.divider,1),.68)),$(f.Tooltip,"bg",bn(f.grey[700],.92))}it(f.background,"default"),it(f.background,"paper"),it(f.common,"background"),it(f.common,"onBackground"),it(f,"divider"),Object.keys(f).forEach(F=>{const V=f[F];F!=="tonalOffset"&&V&&typeof V=="object"&&(V.main&&$(f[F],"mainChannel",Bt(Vt(V.main))),V.light&&$(f[F],"lightChannel",Bt(Vt(V.light))),V.dark&&$(f[F],"darkChannel",Bt(Vt(V.dark))),V.contrastText&&$(f[F],"contrastTextChannel",Bt(Vt(V.contrastText))),F==="text"&&(it(f[F],"primary"),it(f[F],"secondary")),F==="action"&&(V.active&&it(f[F],"active"),V.selected&&it(f[F],"selected")))})}),k=r.reduce((Z,f)=>Ve(Z,f),k);const w={prefix:l,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Qd(k)},{vars:A,generateThemeVars:H,generateStyleSheets:G}=Cd(k,w);return k.vars=A,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([Z,f])=>{k[Z]=f}),k.generateThemeVars=H,k.generateStyleSheets=G,k.generateSpacing=function(){return Ks(u.spacing,Kn(this))},k.getColorSchemeSelector=Sd(c),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=a,k.unstable_sxConfig={..._t,...u==null?void 0:u.unstable_sxConfig},k.unstable_sx=function(f){return Ct({sx:f,theme:this})},k.toRuntimeSource=ui,k}function gi(e,r,s){e.colorSchemes&&s&&(e.colorSchemes[r]={...s!==!0&&s,palette:ir({...s===!0?{}:s.palette,mode:r})})}function s1(e={},...r){const{palette:s,cssVariables:i=!1,colorSchemes:o=s?void 0:{light:!0},defaultColorScheme:l=s==null?void 0:s.mode,...a}=e,c=l||"light",d=o==null?void 0:o[c],u={...o,...s?{[c]:{...typeof d!="boolean"&&d,palette:s}}:void 0};if(i===!1){if(!("colorSchemes"in e))return or(e,...r);let g=s;"palette"in e||u[c]&&(u[c]!==!0?g=u[c].palette:c==="dark"&&(g={mode:"dark"}));const p=or({...e,palette:g},...r);return p.defaultColorScheme=c,p.colorSchemes=u,p.palette.mode==="light"&&(p.colorSchemes.light={...u.light!==!0&&u.light,palette:p.palette},gi(p,"dark",u.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:p.palette},gi(p,"light",u.light)),p}return!s&&!("light"in u)&&c==="light"&&(u.light=!0),r1({...a,colorSchemes:u,defaultColorScheme:c,...typeof i!="boolean"&&i},...r)}const i1=s1(),o1="$$material";function l1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zt=e=>l1(e)&&e!=="classes",Fe=cd({themeId:o1,defaultTheme:i1,rootShouldForwardProp:Zt});function a1(){return Vc}const xt=bd;process.env.NODE_ENV!=="production"&&(n.node,n.object.isRequired);function vt(e){return vd(e)}function c1(e){return rt("MuiSvgIcon",e)}ct("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const d1=e=>{const{color:r,fontSize:s,classes:i}=e,o={root:["root",r!=="inherit"&&`color${Oe(r)}`,`fontSize${Oe(s)}`]};return gt(o,c1,i)},h1=Fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.color!=="inherit"&&r[`color${Oe(s.color)}`],r[`fontSize${Oe(s.fontSize)}`]]}})(xt(({theme:e})=>{var r,s,i,o,l,a,c,d,u,g,p,m,x,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(r=e.transitions)==null?void 0:r.create)==null?void 0:o.call(r,"fill",{duration:(i=(s=(e.vars??e).transitions)==null?void 0:s.duration)==null?void 0:i.shorter}),variants:[{props:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:a.call(l,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((d=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:d.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((g=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:g.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var j,z;return{props:{color:h},style:{color:(z=(j=(e.vars??e).palette)==null?void 0:j[h])==null?void 0:z.main}}}),{props:{color:"action"},style:{color:(m=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(v=(x=(e.vars??e).palette)==null?void 0:x.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),wn=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiSvgIcon"}),{children:o,className:l,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:u,inheritViewBox:g=!1,titleAccess:p,viewBox:m="0 0 24 24",...x}=i,v=re.isValidElement(o)&&o.type==="svg",h={...i,color:a,component:c,fontSize:d,instanceFontSize:r.fontSize,inheritViewBox:g,viewBox:m,hasSvgAsChild:v},j={};g||(j.viewBox=m);const z=d1(h);return t.jsxs(h1,{as:c,className:We(z.root,l),focusable:"false",color:u,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:s,...j,...x,...v&&o.props,ownerState:h,children:[v?o.props.children:o,p?t.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(wn.propTypes={children:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),n.string]),component:n.elementType,fontSize:n.oneOfType([n.oneOf(["inherit","large","medium","small"]),n.string]),htmlColor:n.string,inheritViewBox:n.bool,shapeRendering:n.string,sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),titleAccess:n.string,viewBox:n.string}),wn.muiName="SvgIcon";function _e(e,r){function s(i,o){return t.jsx(wn,{"data-testid":`${r}Icon`,ref:o,...i,children:e})}return process.env.NODE_ENV!=="production"&&(s.displayName=`${r}Icon`),s.muiName=wn.muiName,re.memo(re.forwardRef(s))}function u1(e,r){if(!e)return r;if(typeof e=="function"||typeof r=="function")return o=>{const l=typeof r=="function"?r(o):r,a=typeof e=="function"?e({...o,...l}):e,c=We(o==null?void 0:o.className,l==null?void 0:l.className,a==null?void 0:a.className);return{...l,...a,...!!c&&{className:c},...(l==null?void 0:l.style)&&(a==null?void 0:a.style)&&{style:{...l.style,...a.style}},...(l==null?void 0:l.sx)&&(a==null?void 0:a.sx)&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};const s=r,i=We(s==null?void 0:s.className,e==null?void 0:e.className);return{...r,...e,...!!i&&{className:i},...(s==null?void 0:s.style)&&(e==null?void 0:e.style)&&{style:{...s.style,...e.style}},...(s==null?void 0:s.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const f1=_e(t.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),p1=e=>t.jsx(Zn,{...e,Icon:t.jsx(f1,{sx:{color:"#fcb035"}}),backgroundColor:"#fff5e5",textColor:"black"}),mi=_e(t.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),g1=_e(t.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDownOutlined"),ar=me.div`
|
|
121
|
+
export default theme;`}function or(e={},...r){const{breakpoints:s,mixins:i={},spacing:o,palette:l={},transitions:a={},typography:c={},shape:d,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":at(20));const g=ir(l),p=Xs(e);let m=Ve(p,{mixins:Rd(p.breakpoints,i),palette:g,shadows:Ld.slice(),typography:Wd(g,c),transitions:Zd(a),zIndex:{...Ud}});if(m=Ve(m,u),m=r.reduce((x,v)=>Ve(x,v),m),process.env.NODE_ENV!=="production"){const x=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],v=(h,j)=>{let M;for(M in h){const D=h[M];if(x.includes(M)&&Object.keys(D).length>0){if(process.env.NODE_ENV!=="production"){const S=rt("",M);console.error([`MUI: The \`${j}\` component increases the CSS specificity of the \`${M}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${S}' syntax:`,JSON.stringify({root:{[`&.${S}`]:D}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
122
|
+
`))}h[M]={}}}};Object.keys(m.components).forEach(h=>{const j=m.components[h].styleOverrides;j&&h.startsWith("Mui")&&v(j,h)})}return m.unstable_sxConfig={..._t,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(v){return Ct({sx:v,theme:this})},m.toRuntimeSource=ui,m}function qd(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Gd=[...Array(25)].map((e,r)=>{if(r===0)return"none";const s=qd(r);return`linear-gradient(rgba(255 255 255 / ${s}), rgba(255 255 255 / ${s}))`});function fi(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function pi(e){return e==="dark"?Gd:[]}function Kd(e){const{palette:r={mode:"light"},opacity:s,overlays:i,...o}=e,l=ir(r);return{palette:l,opacity:{...fi(l.mode),...s},overlays:i||pi(l.mode),...o}}function Xd(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Jd=e=>[...[...Array(25)].map((r,s)=>`--${e?`${e}-`:""}overlays-${s}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Qd=e=>(r,s)=>{const i=e.rootSelector||":root",o=e.colorSchemeSelector;let l=o;if(o==="class"&&(l=".%s"),o==="data"&&(l="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(l=`[${o}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const a={};return Jd(e.cssVarPrefix).forEach(c=>{a[c]=s[c],delete s[c]}),l==="media"?{[i]:s,"@media (prefers-color-scheme: dark)":{[i]:a}}:l?{[l.replace("%s",r)]:a,[`${i}, ${l.replace("%s",r)}`]:s}:{[i]:{...s,...a}}}if(l&&l!=="media")return`${i}, ${l.replace("%s",String(r))}`}else if(r){if(l==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[i]:s}};if(l)return l.replace("%s",String(r))}return i};function e1(e,r){r.forEach(s=>{e[s]||(e[s]={})})}function _(e,r,s){!e[r]&&s&&(e[r]=s)}function Vt(e){return typeof e!="string"||!e.startsWith("hsl")?e:ti(e)}function it(e,r){`${r}Channel`in e||(e[`${r}Channel`]=Bt(Vt(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
123
|
+
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function t1(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const tt=e=>{try{return e()}catch{}},n1=(e="mui")=>jd(e);function lr(e,r,s,i){if(!r)return;r=r===!0?{}:r;const o=i==="dark"?"dark":"light";if(!s){e[i]=Kd({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:l,...a}=or({...s,palette:{mode:o,...r==null?void 0:r.palette}});return e[i]={...r,palette:l,opacity:{...fi(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||pi(o)},a}function r1(e={},...r){const{colorSchemes:s={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:l="mui",shouldSkipGeneratingVar:a=Xd,colorSchemeSelector:c=s.light&&s.dark?"media":void 0,rootSelector:d=":root",...u}=e,g=Object.keys(s)[0],p=i||(s.light&&g!=="light"?"light":g),m=n1(l),{[p]:x,light:v,dark:h,...j}=s,M={...j};let D=x;if((p==="dark"&&!("dark"in s)||p==="light"&&!("light"in s))&&(D=!0),!D)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:at(21,p));const S=lr(M,D,u,p);v&&!M.light&&lr(M,v,void 0,"light"),h&&!M.dark&&lr(M,h,void 0,"dark");let k={defaultColorScheme:p,...S,cssVarPrefix:l,colorSchemeSelector:c,rootSelector:d,getCssVar:m,colorSchemes:M,font:{...Id(S.typography),...S.font},spacing:t1(u.spacing)};Object.keys(k.colorSchemes).forEach(V=>{const f=k.colorSchemes[V].palette,L=F=>{const Z=F.split("-"),Q=Z[1],K=Z[2];return m(F,f[Q][K])};if(f.mode==="light"&&(_(f.common,"background","#fff"),_(f.common,"onBackground","#000")),f.mode==="dark"&&(_(f.common,"background","#000"),_(f.common,"onBackground","#fff")),e1(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){_(f.Alert,"errorColor",ke(f.error.light,.6)),_(f.Alert,"infoColor",ke(f.info.light,.6)),_(f.Alert,"successColor",ke(f.success.light,.6)),_(f.Alert,"warningColor",ke(f.warning.light,.6)),_(f.Alert,"errorFilledBg",L("palette-error-main")),_(f.Alert,"infoFilledBg",L("palette-info-main")),_(f.Alert,"successFilledBg",L("palette-success-main")),_(f.Alert,"warningFilledBg",L("palette-warning-main")),_(f.Alert,"errorFilledColor",tt(()=>f.getContrastText(f.error.main))),_(f.Alert,"infoFilledColor",tt(()=>f.getContrastText(f.info.main))),_(f.Alert,"successFilledColor",tt(()=>f.getContrastText(f.success.main))),_(f.Alert,"warningFilledColor",tt(()=>f.getContrastText(f.warning.main))),_(f.Alert,"errorStandardBg",Ce(f.error.light,.9)),_(f.Alert,"infoStandardBg",Ce(f.info.light,.9)),_(f.Alert,"successStandardBg",Ce(f.success.light,.9)),_(f.Alert,"warningStandardBg",Ce(f.warning.light,.9)),_(f.Alert,"errorIconColor",L("palette-error-main")),_(f.Alert,"infoIconColor",L("palette-info-main")),_(f.Alert,"successIconColor",L("palette-success-main")),_(f.Alert,"warningIconColor",L("palette-warning-main")),_(f.AppBar,"defaultBg",L("palette-grey-100")),_(f.Avatar,"defaultBg",L("palette-grey-400")),_(f.Button,"inheritContainedBg",L("palette-grey-300")),_(f.Button,"inheritContainedHoverBg",L("palette-grey-A100")),_(f.Chip,"defaultBorder",L("palette-grey-400")),_(f.Chip,"defaultAvatarColor",L("palette-grey-700")),_(f.Chip,"defaultIconColor",L("palette-grey-700")),_(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),_(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),_(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),_(f.LinearProgress,"primaryBg",Ce(f.primary.main,.62)),_(f.LinearProgress,"secondaryBg",Ce(f.secondary.main,.62)),_(f.LinearProgress,"errorBg",Ce(f.error.main,.62)),_(f.LinearProgress,"infoBg",Ce(f.info.main,.62)),_(f.LinearProgress,"successBg",Ce(f.success.main,.62)),_(f.LinearProgress,"warningBg",Ce(f.warning.main,.62)),_(f.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.11)`),_(f.Slider,"primaryTrack",Ce(f.primary.main,.62)),_(f.Slider,"secondaryTrack",Ce(f.secondary.main,.62)),_(f.Slider,"errorTrack",Ce(f.error.main,.62)),_(f.Slider,"infoTrack",Ce(f.info.main,.62)),_(f.Slider,"successTrack",Ce(f.success.main,.62)),_(f.Slider,"warningTrack",Ce(f.warning.main,.62));const F=jn(f.background.default,.8);_(f.SnackbarContent,"bg",F),_(f.SnackbarContent,"color",tt(()=>f.getContrastText(F))),_(f.SpeedDialAction,"fabHoverBg",jn(f.background.paper,.15)),_(f.StepConnector,"border",L("palette-grey-400")),_(f.StepContent,"border",L("palette-grey-400")),_(f.Switch,"defaultColor",L("palette-common-white")),_(f.Switch,"defaultDisabledColor",L("palette-grey-100")),_(f.Switch,"primaryDisabledColor",Ce(f.primary.main,.62)),_(f.Switch,"secondaryDisabledColor",Ce(f.secondary.main,.62)),_(f.Switch,"errorDisabledColor",Ce(f.error.main,.62)),_(f.Switch,"infoDisabledColor",Ce(f.info.main,.62)),_(f.Switch,"successDisabledColor",Ce(f.success.main,.62)),_(f.Switch,"warningDisabledColor",Ce(f.warning.main,.62)),_(f.TableCell,"border",Ce(bn(f.divider,1),.88)),_(f.Tooltip,"bg",bn(f.grey[700],.92))}if(f.mode==="dark"){_(f.Alert,"errorColor",Ce(f.error.light,.6)),_(f.Alert,"infoColor",Ce(f.info.light,.6)),_(f.Alert,"successColor",Ce(f.success.light,.6)),_(f.Alert,"warningColor",Ce(f.warning.light,.6)),_(f.Alert,"errorFilledBg",L("palette-error-dark")),_(f.Alert,"infoFilledBg",L("palette-info-dark")),_(f.Alert,"successFilledBg",L("palette-success-dark")),_(f.Alert,"warningFilledBg",L("palette-warning-dark")),_(f.Alert,"errorFilledColor",tt(()=>f.getContrastText(f.error.dark))),_(f.Alert,"infoFilledColor",tt(()=>f.getContrastText(f.info.dark))),_(f.Alert,"successFilledColor",tt(()=>f.getContrastText(f.success.dark))),_(f.Alert,"warningFilledColor",tt(()=>f.getContrastText(f.warning.dark))),_(f.Alert,"errorStandardBg",ke(f.error.light,.9)),_(f.Alert,"infoStandardBg",ke(f.info.light,.9)),_(f.Alert,"successStandardBg",ke(f.success.light,.9)),_(f.Alert,"warningStandardBg",ke(f.warning.light,.9)),_(f.Alert,"errorIconColor",L("palette-error-main")),_(f.Alert,"infoIconColor",L("palette-info-main")),_(f.Alert,"successIconColor",L("palette-success-main")),_(f.Alert,"warningIconColor",L("palette-warning-main")),_(f.AppBar,"defaultBg",L("palette-grey-900")),_(f.AppBar,"darkBg",L("palette-background-paper")),_(f.AppBar,"darkColor",L("palette-text-primary")),_(f.Avatar,"defaultBg",L("palette-grey-600")),_(f.Button,"inheritContainedBg",L("palette-grey-800")),_(f.Button,"inheritContainedHoverBg",L("palette-grey-700")),_(f.Chip,"defaultBorder",L("palette-grey-700")),_(f.Chip,"defaultAvatarColor",L("palette-grey-300")),_(f.Chip,"defaultIconColor",L("palette-grey-300")),_(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),_(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),_(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),_(f.LinearProgress,"primaryBg",ke(f.primary.main,.5)),_(f.LinearProgress,"secondaryBg",ke(f.secondary.main,.5)),_(f.LinearProgress,"errorBg",ke(f.error.main,.5)),_(f.LinearProgress,"infoBg",ke(f.info.main,.5)),_(f.LinearProgress,"successBg",ke(f.success.main,.5)),_(f.LinearProgress,"warningBg",ke(f.warning.main,.5)),_(f.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.13)`),_(f.Slider,"primaryTrack",ke(f.primary.main,.5)),_(f.Slider,"secondaryTrack",ke(f.secondary.main,.5)),_(f.Slider,"errorTrack",ke(f.error.main,.5)),_(f.Slider,"infoTrack",ke(f.info.main,.5)),_(f.Slider,"successTrack",ke(f.success.main,.5)),_(f.Slider,"warningTrack",ke(f.warning.main,.5));const F=jn(f.background.default,.98);_(f.SnackbarContent,"bg",F),_(f.SnackbarContent,"color",tt(()=>f.getContrastText(F))),_(f.SpeedDialAction,"fabHoverBg",jn(f.background.paper,.15)),_(f.StepConnector,"border",L("palette-grey-600")),_(f.StepContent,"border",L("palette-grey-600")),_(f.Switch,"defaultColor",L("palette-grey-300")),_(f.Switch,"defaultDisabledColor",L("palette-grey-600")),_(f.Switch,"primaryDisabledColor",ke(f.primary.main,.55)),_(f.Switch,"secondaryDisabledColor",ke(f.secondary.main,.55)),_(f.Switch,"errorDisabledColor",ke(f.error.main,.55)),_(f.Switch,"infoDisabledColor",ke(f.info.main,.55)),_(f.Switch,"successDisabledColor",ke(f.success.main,.55)),_(f.Switch,"warningDisabledColor",ke(f.warning.main,.55)),_(f.TableCell,"border",ke(bn(f.divider,1),.68)),_(f.Tooltip,"bg",bn(f.grey[700],.92))}it(f.background,"default"),it(f.background,"paper"),it(f.common,"background"),it(f.common,"onBackground"),it(f,"divider"),Object.keys(f).forEach(F=>{const Z=f[F];F!=="tonalOffset"&&Z&&typeof Z=="object"&&(Z.main&&_(f[F],"mainChannel",Bt(Vt(Z.main))),Z.light&&_(f[F],"lightChannel",Bt(Vt(Z.light))),Z.dark&&_(f[F],"darkChannel",Bt(Vt(Z.dark))),Z.contrastText&&_(f[F],"contrastTextChannel",Bt(Vt(Z.contrastText))),F==="text"&&(it(f[F],"primary"),it(f[F],"secondary")),F==="action"&&(Z.active&&it(f[F],"active"),Z.selected&&it(f[F],"selected")))})}),k=r.reduce((V,f)=>Ve(V,f),k);const w={prefix:l,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Qd(k)},{vars:O,generateThemeVars:H,generateStyleSheets:G}=Cd(k,w);return k.vars=O,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([V,f])=>{k[V]=f}),k.generateThemeVars=H,k.generateStyleSheets=G,k.generateSpacing=function(){return Ks(u.spacing,Kn(this))},k.getColorSchemeSelector=Sd(c),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=a,k.unstable_sxConfig={..._t,...u==null?void 0:u.unstable_sxConfig},k.unstable_sx=function(f){return Ct({sx:f,theme:this})},k.toRuntimeSource=ui,k}function gi(e,r,s){e.colorSchemes&&s&&(e.colorSchemes[r]={...s!==!0&&s,palette:ir({...s===!0?{}:s.palette,mode:r})})}function s1(e={},...r){const{palette:s,cssVariables:i=!1,colorSchemes:o=s?void 0:{light:!0},defaultColorScheme:l=s==null?void 0:s.mode,...a}=e,c=l||"light",d=o==null?void 0:o[c],u={...o,...s?{[c]:{...typeof d!="boolean"&&d,palette:s}}:void 0};if(i===!1){if(!("colorSchemes"in e))return or(e,...r);let g=s;"palette"in e||u[c]&&(u[c]!==!0?g=u[c].palette:c==="dark"&&(g={mode:"dark"}));const p=or({...e,palette:g},...r);return p.defaultColorScheme=c,p.colorSchemes=u,p.palette.mode==="light"&&(p.colorSchemes.light={...u.light!==!0&&u.light,palette:p.palette},gi(p,"dark",u.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:p.palette},gi(p,"light",u.light)),p}return!s&&!("light"in u)&&c==="light"&&(u.light=!0),r1({...a,colorSchemes:u,defaultColorScheme:c,...typeof i!="boolean"&&i},...r)}const i1=s1(),o1="$$material";function l1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zt=e=>l1(e)&&e!=="classes",Fe=cd({themeId:o1,defaultTheme:i1,rootShouldForwardProp:Zt});function a1(){return Vc}const xt=bd;process.env.NODE_ENV!=="production"&&(n.node,n.object.isRequired);function vt(e){return vd(e)}function c1(e){return rt("MuiSvgIcon",e)}ct("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const d1=e=>{const{color:r,fontSize:s,classes:i}=e,o={root:["root",r!=="inherit"&&`color${Oe(r)}`,`fontSize${Oe(s)}`]};return gt(o,c1,i)},h1=Fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.color!=="inherit"&&r[`color${Oe(s.color)}`],r[`fontSize${Oe(s.fontSize)}`]]}})(xt(({theme:e})=>{var r,s,i,o,l,a,c,d,u,g,p,m,x,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(r=e.transitions)==null?void 0:r.create)==null?void 0:o.call(r,"fill",{duration:(i=(s=(e.vars??e).transitions)==null?void 0:s.duration)==null?void 0:i.shorter}),variants:[{props:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:a.call(l,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((d=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:d.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((g=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:g.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var j,M;return{props:{color:h},style:{color:(M=(j=(e.vars??e).palette)==null?void 0:j[h])==null?void 0:M.main}}}),{props:{color:"action"},style:{color:(m=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(v=(x=(e.vars??e).palette)==null?void 0:x.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),wn=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiSvgIcon"}),{children:o,className:l,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:u,inheritViewBox:g=!1,titleAccess:p,viewBox:m="0 0 24 24",...x}=i,v=re.isValidElement(o)&&o.type==="svg",h={...i,color:a,component:c,fontSize:d,instanceFontSize:r.fontSize,inheritViewBox:g,viewBox:m,hasSvgAsChild:v},j={};g||(j.viewBox=m);const M=d1(h);return t.jsxs(h1,{as:c,className:We(M.root,l),focusable:"false",color:u,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:s,...j,...x,...v&&o.props,ownerState:h,children:[v?o.props.children:o,p?t.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(wn.propTypes={children:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),n.string]),component:n.elementType,fontSize:n.oneOfType([n.oneOf(["inherit","large","medium","small"]),n.string]),htmlColor:n.string,inheritViewBox:n.bool,shapeRendering:n.string,sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),titleAccess:n.string,viewBox:n.string}),wn.muiName="SvgIcon";function _e(e,r){function s(i,o){return t.jsx(wn,{"data-testid":`${r}Icon`,ref:o,...i,children:e})}return process.env.NODE_ENV!=="production"&&(s.displayName=`${r}Icon`),s.muiName=wn.muiName,re.memo(re.forwardRef(s))}function u1(e,r){if(!e)return r;if(typeof e=="function"||typeof r=="function")return o=>{const l=typeof r=="function"?r(o):r,a=typeof e=="function"?e({...o,...l}):e,c=We(o==null?void 0:o.className,l==null?void 0:l.className,a==null?void 0:a.className);return{...l,...a,...!!c&&{className:c},...(l==null?void 0:l.style)&&(a==null?void 0:a.style)&&{style:{...l.style,...a.style}},...(l==null?void 0:l.sx)&&(a==null?void 0:a.sx)&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};const s=r,i=We(s==null?void 0:s.className,e==null?void 0:e.className);return{...r,...e,...!!i&&{className:i},...(s==null?void 0:s.style)&&(e==null?void 0:e.style)&&{style:{...s.style,...e.style}},...(s==null?void 0:s.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const f1=_e(t.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),p1=e=>t.jsx(Zn,{...e,Icon:t.jsx(f1,{sx:{color:"#fcb035"}}),backgroundColor:"#fff5e5",textColor:"black"}),mi=_e(t.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),g1=_e(t.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDownOutlined"),ar=me.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: center;
|
|
126
126
|
border: 1px solid
|
|
@@ -305,7 +305,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
305
305
|
box-shadow: 0 2px 0 #ff3d00 inset;
|
|
306
306
|
animation: ${qi} 2s linear infinite;
|
|
307
307
|
}
|
|
308
|
-
`,Gi=({type:e="default"})=>{const r={default:"default",red:"red",icon:"icon",withOutContainer:"withOutContainer"};switch(e){case r.red:return t.jsx(Er,{children:t.jsx(N1,{})});case r.icon:return t.jsx(Er,{children:t.jsx(Nr,{children:t.jsx(E1,{width:"50px",height:"50px"})})});case r.withOutContainer:return t.jsx(Nr,{});default:return t.jsx(Er,{children:t.jsx(Nr,{})})}};Gi.propTypes={type:n.oneOf(["default","red","icon","withOutContainer"])};const Ki=e=>{const{id:r,onchange:s,label:i,colors:o,onChangeFunction:l,value:a}=e,[c,d]=C.useState(a||!1),u=m=>{d(m.target.checked),s&&s(m.target.checked),l&&l({id:r,value:m.target.checked})},g={height:"0",width:"0",visibility:"hidden",fontWeight:"500"},p={height:"0",width:"0",opacity:"0",position:"absolute"};return t.jsxs("div",{className:"switch-container",children:[i&&t.jsx("span",{className:"switch-label",children:c?"Activo":"Inactivo"}),t.jsxs("div",{children:[t.jsx("input",{className:"react-switch-checkbox",id:`react-switch-new-${r}`,type:"checkbox",checked:c,onChange:u,style:i?g:p}),t.jsx("label",{className:"react-switch-label",htmlFor:`react-switch-new-${r}`,style:{background:c?o.active:o.inactive},children:t.jsx("span",{className:"react-switch-button"})})]})]})};Ki.propTypes={id:n.string,onchange:n.func,label:n.string,colors:n.shape({active:n.string,inactive:n.string}),onChangeFunction:n.func,value:n.bool};const Yt=({title:e,tooltip:r,top:s,left:i,fontSizeTitle:o,fontSizeTooltip:l,widthTooltip:a,heightTooltip:c,marginTop:d,marginBottom:u,style:g,isTooltipVisibleProp:p,fontWeight:m="700",fontSizeSubTitle:x="1vw",subTitle:v,htmlFor:h})=>{const[j,z]=C.useState(p||!1),D=()=>{z(!0)},T=()=>{z(!1)};return t.jsxs("label",{htmlFor:h,className:"flex align-items-center",style:{...g,marginTop:d,marginBottom:u,display:"flex",alignItems:"center",gap:"5px"},children:[t.jsx("p",{className:"flex align-items-center",style:{fontSize:o,fontWeight:m,color:"#2F3131"},children:e}),v&&t.jsx("p",{style:{fontSize:x,color:"#2F3131"},className:"sub-label",children:v}),r&&t.jsxs("div",{style:{position:"relative",width:"24px",height:"26px",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:D,onMouseLeave:T,children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:26,fill:"none",viewBox:"0 0 24 26",children:t.jsx("path",{fill:"#21459C",d:"M12 2.43c-2.652 0-5.196 1.112-7.071 3.091S2 10.183 2 12.981s1.054 5.482 2.929 7.46c1.875 1.979 4.419 3.09 7.071 3.09s5.196-1.111 7.071-3.09C20.946 18.463 22 15.78 22 12.982s-1.054-5.481-2.929-7.46c-1.875-1.979-4.419-3.09-7.071-3.09Zm1 15.826h-2v-6.33h2v6.33Zm0-8.44h-2v-2.11h2v2.11Z"})}),j&&t.jsx("p",{style:{position:"absolute",width:a,height:c,display:"flex",alignItems:"center",justifyContent:"center",background:"white",left:i,border:"1px solid #707070",padding:"5px",borderRadius:"10px",color:"#707070",fontWeight:"400",fontSize:l,top:s,zIndex:1e3},children:r})]})]})};Yt.propTypes={title:n.string||n.any,tooltip:n.string||n.node||n.array||n.element||n.elementType,top:n.string||n.any,left:n.string||n.any,fontSizeTitle:n.string||n.any,fontSizeTooltip:n.string||n.any,widthTooltip:n.string||n.any,heightTooltip:n.string||n.any,marginTop:n.string||n.any,marginBottom:n.string||n.any,style:n.object||n.any,isTooltipVisibleProp:n.bool||n.any,fontWeight:n.string||n.any,fontSizeSubTitle:n.string||n.any,subTitle:n.string||n.any,htmlFor:n.string||n.any};const Xi=({width:e,height:r,minheight:s,maxHeight:i,id:o,name:l,onChange:a,label:c,subLabel:d,placeholder:u,maxCharacters:g,fontSizeLabel:p,fontSize:m,fontSizeTooltip:x,heightTooltip:v,leftTooltip:h,tooltip:j,topTooltip:z,widthTooltip:D,isTooltipVisible:T,onChangeFunction:k})=>{const w=A=>{const{name:H,value:G}=A.target;a&&a({name:H,value:G,id:o}),k&&k(A)};return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"5px",width:e},children:[c&&t.jsx(Yt,{fontSizeTitle:p,fontSizeTooltip:x,heightTooltip:v,left:h,subTitle:d,title:c,tooltip:j,top:z,widthTooltip:D,isTooltipVisibleProp:T,marginBottom:"5px",htmlFor:o}),t.jsx("textarea",{name:l,id:o,onChange:w,placeholder:u,className:"text-area-library",maxLength:g,style:{width:e,height:r,minHeight:s,maxHeight:i,fontSize:m}}),g&&t.jsxs("div",{className:"max-characters-library",children:[g," caracteres"]})]})};Xi.propTypes={width:n.string,height:n.string,minheight:n.string,maxHeight:n.string,id:n.string,name:n.string,onChange:n.func,label:n.string,subLabel:n.string,placeholder:n.string,maxCharacters:n.number,fontSizeLabel:n.string,fontSize:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,onChangeFunction:n.func};const Dr=e=>{const{inputProperties:r,label:s,subLabel:i,color:o,colorLabel:l,size:a="medium"}=e;return t.jsx("div",{children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{...r,sx:{"&.Mui-checked":{color:o||"#119672"}},size:a}),label:t.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"5px",alignItems:"center"},children:[t.jsx("span",{className:"label-library",style:{marginBottom:"0",color:l||"black"},children:s}),i&&t.jsx("span",{className:"sub-label",style:{marginBottom:"0"},children:i})]})})})};Dr.propTypes={inputProperties:n.object,label:n.string,subLabel:n.string,color:n.string,colorLabel:n.string};const Ji=e=>{const{inputProperties:r,size:s}=e;return t.jsx(k1,{style:{width:s},children:t.jsx("input",{...r})})};Ji.propTypes={inputProperties:n.object,size:n.string};const Qi=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(Qi.displayName="FormControlContext");function Ar(){return re.useContext(Qi)}class Nn{constructor(){Qt(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Nn}static use(){const r=Rs(Nn.create).current,[s,i]=re.useState(!1);return r.shouldMount=s,r.setShouldMount=i,re.useEffect(r.mountEffect,[s]),r}mount(){return this.mounted||(this.mounted=A1(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...r){this.mount().then(()=>{var s;return(s=this.ref.current)==null?void 0:s.start(...r)})}stop(...r){this.mount().then(()=>{var s;return(s=this.ref.current)==null?void 0:s.stop(...r)})}pulsate(...r){this.mount().then(()=>{var s;return(s=this.ref.current)==null?void 0:s.pulsate(...r)})}}function D1(){return Nn.use()}function A1(){let e,r;const s=new Promise((i,o)=>{e=i,r=o});return s.resolve=e,s.reject=r,s}function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Or.apply(null,arguments)}function O1(e,r){if(e==null)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(r.includes(i))continue;s[i]=e[i]}return s}function Ir(e,r){return Ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,i){return s.__proto__=i,s},Ir(e,r)}function I1(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,Ir(e,r)}const eo=C.createContext(null);function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rr(e,r){var s=function(l){return r&&C.isValidElement(l)?r(l):l},i=Object.create(null);return e&&C.Children.map(e,function(o){return o}).forEach(function(o){i[o.key]=s(o)}),i}function P1(e,r){e=e||{},r=r||{};function s(g){return g in r?r[g]:e[g]}var i=Object.create(null),o=[];for(var l in e)l in r?o.length&&(i[l]=o,o=[]):o.push(l);var a,c={};for(var d in r){if(i[d])for(a=0;a<i[d].length;a++){var u=i[d][a];c[i[d][a]]=s(u)}c[d]=s(d)}for(a=0;a<o.length;a++)c[o[a]]=s(o[a]);return c}function bt(e,r,s){return s[r]!=null?s[r]:e.props[r]}function W1(e,r){return Rr(e.children,function(s){return C.cloneElement(s,{onExited:r.bind(null,s),in:!0,appear:bt(s,"appear",e),enter:bt(s,"enter",e),exit:bt(s,"exit",e)})})}function $1(e,r,s){var i=Rr(e.children),o=P1(r,i);return Object.keys(o).forEach(function(l){var a=o[l];if(C.isValidElement(a)){var c=l in r,d=l in i,u=r[l],g=C.isValidElement(u)&&!u.props.in;d&&(!c||g)?o[l]=C.cloneElement(a,{onExited:s.bind(null,a),in:!0,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}):!d&&c&&!g?o[l]=C.cloneElement(a,{in:!1}):d&&c&&C.isValidElement(u)&&(o[l]=C.cloneElement(a,{onExited:s.bind(null,a),in:u.props.in,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}))}}),o}var _1=Object.values||function(e){return Object.keys(e).map(function(r){return e[r]})},B1={component:"div",childFactory:function(r){return r}},Pr=function(e){I1(r,e);function r(i,o){var l;l=e.call(this,i,o)||this;var a=l.handleExited.bind(R1(l));return l.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},l}var s=r.prototype;return s.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},s.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(o,l){var a=l.children,c=l.handleExited,d=l.firstRender;return{children:d?W1(o,c):$1(o,a,c),firstRender:!1}},s.handleExited=function(o,l){var a=Rr(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(l),this.mounted&&this.setState(function(c){var d=Or({},c.children);return delete d[o.key],{children:d}}))},s.render=function(){var o=this.props,l=o.component,a=o.childFactory,c=O1(o,["component","childFactory"]),d=this.state.contextValue,u=_1(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,l===null?C.createElement(eo.Provider,{value:d},u):C.createElement(eo.Provider,{value:d},C.createElement(l,c,u))},r}(C.Component);Pr.propTypes=process.env.NODE_ENV!=="production"?{component:n.any,children:n.node,appear:n.bool,enter:n.bool,exit:n.bool,childFactory:n.func}:{},Pr.defaultProps=B1;function to(e){const{className:r,classes:s,pulsate:i=!1,rippleX:o,rippleY:l,rippleSize:a,in:c,onExited:d,timeout:u}=e,[g,p]=re.useState(!1),m=We(r,s.ripple,s.rippleVisible,i&&s.ripplePulsate),x={width:a,height:a,top:-(a/2)+l,left:-(a/2)+o},v=We(s.child,g&&s.childLeaving,i&&s.childPulsate);return!c&&!g&&p(!0),re.useEffect(()=>{if(!c&&d!=null){const h=setTimeout(d,u);return()=>{clearTimeout(h)}}},[d,c,u]),t.jsx("span",{className:m,style:x,children:t.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(to.propTypes={classes:n.object.isRequired,className:n.string,in:n.bool,onExited:n.func,pulsate:n.bool,rippleSize:n.number,rippleX:n.number,rippleY:n.number,timeout:n.number.isRequired});const Ke=ct("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wr=550,L1=80,F1=Rn.keyframes`
|
|
308
|
+
`,Gi=({type:e="default"})=>{const r={default:"default",red:"red",icon:"icon",withOutContainer:"withOutContainer"};switch(e){case r.red:return t.jsx(Er,{children:t.jsx(N1,{})});case r.icon:return t.jsx(Er,{children:t.jsx(Nr,{children:t.jsx(E1,{width:"50px",height:"50px"})})});case r.withOutContainer:return t.jsx(Nr,{});default:return t.jsx(Er,{children:t.jsx(Nr,{})})}};Gi.propTypes={type:n.oneOf(["default","red","icon","withOutContainer"])};const Ki=e=>{const{id:r,onchange:s,label:i,colors:o,onChangeFunction:l,value:a}=e,[c,d]=C.useState(a||!1),u=m=>{d(m.target.checked),s&&s(m.target.checked),l&&l({id:r,value:m.target.checked})},g={height:"0",width:"0",visibility:"hidden",fontWeight:"500"},p={height:"0",width:"0",opacity:"0",position:"absolute"};return t.jsxs("div",{className:"switch-container",children:[i&&t.jsx("span",{className:"switch-label",children:c?"Activo":"Inactivo"}),t.jsxs("div",{children:[t.jsx("input",{className:"react-switch-checkbox",id:`react-switch-new-${r}`,type:"checkbox",checked:c,onChange:u,style:i?g:p}),t.jsx("label",{className:"react-switch-label",htmlFor:`react-switch-new-${r}`,style:{background:c?o.active:o.inactive},children:t.jsx("span",{className:"react-switch-button"})})]})]})};Ki.propTypes={id:n.string,onchange:n.func,label:n.string,colors:n.shape({active:n.string,inactive:n.string}),onChangeFunction:n.func,value:n.bool};const Yt=({title:e,tooltip:r,top:s,left:i,fontSizeTitle:o,fontSizeTooltip:l,widthTooltip:a,heightTooltip:c,marginTop:d,marginBottom:u,style:g,isTooltipVisibleProp:p,fontWeight:m="700",fontSizeSubTitle:x="1vw",subTitle:v,htmlFor:h})=>{const[j,M]=C.useState(p||!1),D=()=>{M(!0)},S=()=>{M(!1)};return t.jsxs("label",{htmlFor:h,className:"flex align-items-center",style:{...g,marginTop:d,marginBottom:u,display:"flex",alignItems:"center",gap:"5px"},children:[t.jsx("p",{className:"flex align-items-center",style:{fontSize:o,fontWeight:m,color:"#2F3131"},children:e}),v&&t.jsx("p",{style:{fontSize:x,color:"#2F3131"},className:"sub-label",children:v}),r&&t.jsxs("div",{style:{position:"relative",width:"24px",height:"26px",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:D,onMouseLeave:S,children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:26,fill:"none",viewBox:"0 0 24 26",children:t.jsx("path",{fill:"#21459C",d:"M12 2.43c-2.652 0-5.196 1.112-7.071 3.091S2 10.183 2 12.981s1.054 5.482 2.929 7.46c1.875 1.979 4.419 3.09 7.071 3.09s5.196-1.111 7.071-3.09C20.946 18.463 22 15.78 22 12.982s-1.054-5.481-2.929-7.46c-1.875-1.979-4.419-3.09-7.071-3.09Zm1 15.826h-2v-6.33h2v6.33Zm0-8.44h-2v-2.11h2v2.11Z"})}),j&&t.jsx("p",{style:{position:"absolute",width:a,height:c,display:"flex",alignItems:"center",justifyContent:"center",background:"white",left:i,border:"1px solid #707070",padding:"5px",borderRadius:"10px",color:"#707070",fontWeight:"400",fontSize:l,top:s,zIndex:1e3},children:r})]})]})};Yt.propTypes={title:n.string||n.any,tooltip:n.string||n.node||n.array||n.element||n.elementType,top:n.string||n.any,left:n.string||n.any,fontSizeTitle:n.string||n.any,fontSizeTooltip:n.string||n.any,widthTooltip:n.string||n.any,heightTooltip:n.string||n.any,marginTop:n.string||n.any,marginBottom:n.string||n.any,style:n.object||n.any,isTooltipVisibleProp:n.bool||n.any,fontWeight:n.string||n.any,fontSizeSubTitle:n.string||n.any,subTitle:n.string||n.any,htmlFor:n.string||n.any};const Xi=({width:e,height:r,minheight:s,maxHeight:i,id:o,name:l,value:a,onChange:c,label:d,subLabel:u,placeholder:g,maxCharacters:p,fontSizeLabel:m,fontSize:x,fontSizeTooltip:v,heightTooltip:h,leftTooltip:j,tooltip:M,topTooltip:D,widthTooltip:S,isTooltipVisible:k,onChangeFunction:w})=>{const O=H=>{const{name:G,value:V}=H.target;c&&c({name:G,value:V,id:o}),w&&w(H)};return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"5px",width:e},children:[d&&t.jsx(Yt,{fontSizeTitle:m,fontSizeTooltip:v,heightTooltip:h,left:j,subTitle:u,title:d,tooltip:M,top:D,widthTooltip:S,isTooltipVisibleProp:k,marginBottom:"5px",htmlFor:o}),t.jsx("textarea",{name:l,id:o,value:a,onChange:O,placeholder:g,className:"text-area-library",maxLength:p,style:{width:e,height:r,minHeight:s,maxHeight:i,fontSize:x}}),p&&t.jsxs("div",{className:"max-characters-library",children:[p," caracteres"]})]})};Xi.propTypes={width:n.string,height:n.string,minheight:n.string,maxHeight:n.string,id:n.string,name:n.string,value:n.string,onChange:n.func,label:n.string,subLabel:n.string,placeholder:n.string,maxCharacters:n.number,fontSizeLabel:n.string,fontSize:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,onChangeFunction:n.func};const Dr=e=>{const{inputProperties:r,label:s,subLabel:i,color:o,colorLabel:l,size:a="medium"}=e;return t.jsx("div",{children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{...r,sx:{"&.Mui-checked":{color:o||"#119672"}},size:a}),label:t.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"5px",alignItems:"center"},children:[t.jsx("span",{className:"label-library",style:{marginBottom:"0",color:l||"black"},children:s}),i&&t.jsx("span",{className:"sub-label",style:{marginBottom:"0"},children:i})]})})})};Dr.propTypes={inputProperties:n.object,label:n.string,subLabel:n.string,color:n.string,colorLabel:n.string};const Ji=e=>{const{inputProperties:r,size:s}=e;return t.jsx(k1,{style:{width:s},children:t.jsx("input",{...r})})};Ji.propTypes={inputProperties:n.object,size:n.string};const Qi=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(Qi.displayName="FormControlContext");function Ar(){return re.useContext(Qi)}class Nn{constructor(){Qt(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Nn}static use(){const r=Rs(Nn.create).current,[s,i]=re.useState(!1);return r.shouldMount=s,r.setShouldMount=i,re.useEffect(r.mountEffect,[s]),r}mount(){return this.mounted||(this.mounted=A1(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...r){this.mount().then(()=>{var s;return(s=this.ref.current)==null?void 0:s.start(...r)})}stop(...r){this.mount().then(()=>{var s;return(s=this.ref.current)==null?void 0:s.stop(...r)})}pulsate(...r){this.mount().then(()=>{var s;return(s=this.ref.current)==null?void 0:s.pulsate(...r)})}}function D1(){return Nn.use()}function A1(){let e,r;const s=new Promise((i,o)=>{e=i,r=o});return s.resolve=e,s.reject=r,s}function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Or.apply(null,arguments)}function O1(e,r){if(e==null)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(r.includes(i))continue;s[i]=e[i]}return s}function Ir(e,r){return Ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,i){return s.__proto__=i,s},Ir(e,r)}function I1(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,Ir(e,r)}const eo=C.createContext(null);function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rr(e,r){var s=function(l){return r&&C.isValidElement(l)?r(l):l},i=Object.create(null);return e&&C.Children.map(e,function(o){return o}).forEach(function(o){i[o.key]=s(o)}),i}function P1(e,r){e=e||{},r=r||{};function s(g){return g in r?r[g]:e[g]}var i=Object.create(null),o=[];for(var l in e)l in r?o.length&&(i[l]=o,o=[]):o.push(l);var a,c={};for(var d in r){if(i[d])for(a=0;a<i[d].length;a++){var u=i[d][a];c[i[d][a]]=s(u)}c[d]=s(d)}for(a=0;a<o.length;a++)c[o[a]]=s(o[a]);return c}function bt(e,r,s){return s[r]!=null?s[r]:e.props[r]}function W1(e,r){return Rr(e.children,function(s){return C.cloneElement(s,{onExited:r.bind(null,s),in:!0,appear:bt(s,"appear",e),enter:bt(s,"enter",e),exit:bt(s,"exit",e)})})}function $1(e,r,s){var i=Rr(e.children),o=P1(r,i);return Object.keys(o).forEach(function(l){var a=o[l];if(C.isValidElement(a)){var c=l in r,d=l in i,u=r[l],g=C.isValidElement(u)&&!u.props.in;d&&(!c||g)?o[l]=C.cloneElement(a,{onExited:s.bind(null,a),in:!0,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}):!d&&c&&!g?o[l]=C.cloneElement(a,{in:!1}):d&&c&&C.isValidElement(u)&&(o[l]=C.cloneElement(a,{onExited:s.bind(null,a),in:u.props.in,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}))}}),o}var _1=Object.values||function(e){return Object.keys(e).map(function(r){return e[r]})},B1={component:"div",childFactory:function(r){return r}},Pr=function(e){I1(r,e);function r(i,o){var l;l=e.call(this,i,o)||this;var a=l.handleExited.bind(R1(l));return l.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},l}var s=r.prototype;return s.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},s.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(o,l){var a=l.children,c=l.handleExited,d=l.firstRender;return{children:d?W1(o,c):$1(o,a,c),firstRender:!1}},s.handleExited=function(o,l){var a=Rr(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(l),this.mounted&&this.setState(function(c){var d=Or({},c.children);return delete d[o.key],{children:d}}))},s.render=function(){var o=this.props,l=o.component,a=o.childFactory,c=O1(o,["component","childFactory"]),d=this.state.contextValue,u=_1(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,l===null?C.createElement(eo.Provider,{value:d},u):C.createElement(eo.Provider,{value:d},C.createElement(l,c,u))},r}(C.Component);Pr.propTypes=process.env.NODE_ENV!=="production"?{component:n.any,children:n.node,appear:n.bool,enter:n.bool,exit:n.bool,childFactory:n.func}:{},Pr.defaultProps=B1;function to(e){const{className:r,classes:s,pulsate:i=!1,rippleX:o,rippleY:l,rippleSize:a,in:c,onExited:d,timeout:u}=e,[g,p]=re.useState(!1),m=We(r,s.ripple,s.rippleVisible,i&&s.ripplePulsate),x={width:a,height:a,top:-(a/2)+l,left:-(a/2)+o},v=We(s.child,g&&s.childLeaving,i&&s.childPulsate);return!c&&!g&&p(!0),re.useEffect(()=>{if(!c&&d!=null){const h=setTimeout(d,u);return()=>{clearTimeout(h)}}},[d,c,u]),t.jsx("span",{className:m,style:x,children:t.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(to.propTypes={classes:n.object.isRequired,className:n.string,in:n.bool,onExited:n.func,pulsate:n.bool,rippleSize:n.number,rippleX:n.number,rippleY:n.number,timeout:n.number.isRequired});const Ke=ct("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wr=550,L1=80,F1=Rn.keyframes`
|
|
309
309
|
0% {
|
|
310
310
|
transform: scale(0);
|
|
311
311
|
opacity: 0.1;
|
|
@@ -378,7 +378,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
378
378
|
animation-iteration-count: infinite;
|
|
379
379
|
animation-delay: 200ms;
|
|
380
380
|
}
|
|
381
|
-
`,no=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:a,...c}=i,[d,u]=re.useState([]),g=re.useRef(0),p=re.useRef(null);re.useEffect(()=>{p.current&&(p.current(),p.current=null)},[d]);const m=re.useRef(!1),x=Ha(),v=re.useRef(null),h=re.useRef(null),j=re.useCallback(k=>{const{pulsate:w,rippleX:A,rippleY:H,rippleSize:G,cb:Z}=k;u(f=>[...f,t.jsx(U1,{classes:{ripple:We(l.ripple,Ke.ripple),rippleVisible:We(l.rippleVisible,Ke.rippleVisible),ripplePulsate:We(l.ripplePulsate,Ke.ripplePulsate),child:We(l.child,Ke.child),childLeaving:We(l.childLeaving,Ke.childLeaving),childPulsate:We(l.childPulsate,Ke.childPulsate)},timeout:Wr,pulsate:w,rippleX:A,rippleY:H,rippleSize:G},g.current)]),g.current+=1,p.current=Z},[l]),z=re.useCallback((k={},w={},A=()=>{})=>{const{pulsate:H=!1,center:G=o||w.pulsate,fakeElement:Z=!1}=w;if((k==null?void 0:k.type)==="mousedown"&&m.current){m.current=!1;return}(k==null?void 0:k.type)==="touchstart"&&(m.current=!0);const f=Z?null:h.current,B=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,V,Q;if(G||k===void 0||k.clientX===0&&k.clientY===0||!k.clientX&&!k.touches)F=Math.round(B.width/2),V=Math.round(B.height/2);else{const{clientX:K,clientY:te}=k.touches&&k.touches.length>0?k.touches[0]:k;F=Math.round(K-B.left),V=Math.round(te-B.top)}if(G)Q=Math.sqrt((2*B.width**2+B.height**2)/3),Q%2===0&&(Q+=1);else{const K=Math.max(Math.abs((f?f.clientWidth:0)-F),F)*2+2,te=Math.max(Math.abs((f?f.clientHeight:0)-V),V)*2+2;Q=Math.sqrt(K**2+te**2)}k!=null&&k.touches?v.current===null&&(v.current=()=>{j({pulsate:H,rippleX:F,rippleY:V,rippleSize:Q,cb:A})},x.start(L1,()=>{v.current&&(v.current(),v.current=null)})):j({pulsate:H,rippleX:F,rippleY:V,rippleSize:Q,cb:A})},[o,j,x]),D=re.useCallback(()=>{z({},{pulsate:!0})},[z]),T=re.useCallback((k,w)=>{if(x.clear(),(k==null?void 0:k.type)==="touchend"&&v.current){v.current(),v.current=null,x.start(0,()=>{T(k,w)});return}v.current=null,u(A=>A.length>0?A.slice(1):A),p.current=w},[x]);return re.useImperativeHandle(s,()=>({pulsate:D,start:z,stop:T}),[D,z,T]),t.jsx(Z1,{className:We(Ke.root,l.root,a),ref:h,...c,children:t.jsx(Pr,{component:null,exit:!0,children:d})})});process.env.NODE_ENV!=="production"&&(no.propTypes={center:n.bool,classes:n.object,className:n.string});function Y1(e){return rt("MuiButtonBase",e)}const q1=ct("MuiButtonBase",["root","disabled","focusVisible"]),G1=e=>{const{disabled:r,focusVisible:s,focusVisibleClassName:i,classes:o}=e,a=gt({root:["root",r&&"disabled",s&&"focusVisible"]},Y1,o);return s&&i&&(a.root+=` ${i}`),a},K1=Fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,r)=>r.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${q1.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ro=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:a,className:c,component:d="button",disabled:u=!1,disableRipple:g=!1,disableTouchRipple:p=!1,focusRipple:m=!1,focusVisibleClassName:x,LinkComponent:v="a",onBlur:h,onClick:j,onContextMenu:z,onDragLeave:D,onFocus:T,onFocusVisible:k,onKeyDown:w,onKeyUp:A,onMouseDown:H,onMouseLeave:G,onMouseUp:Z,onTouchEnd:f,onTouchMove:B,onTouchStart:F,tabIndex:V=0,TouchRippleProps:Q,touchRippleRef:K,type:te,...U}=i,_=re.useRef(null),I=D1(),y=Yn(I.ref,K),[N,P]=re.useState(!1);u&&N&&P(!1),re.useImperativeHandle(o,()=>({focusVisible:()=>{P(!0),_.current.focus()}}),[]);const S=I.shouldMount&&!g&&!u;re.useEffect(()=>{N&&m&&!g&&I.pulsate()},[g,m,N,I]);const O=ot(I,"start",H,p),E=ot(I,"stop",z,p),L=ot(I,"stop",D,p),W=ot(I,"stop",Z,p),R=ot(I,"stop",ee=>{N&&ee.preventDefault(),G&&G(ee)},p),X=ot(I,"start",F,p),J=ot(I,"stop",f,p),se=ot(I,"stop",B,p),q=ot(I,"stop",ee=>{Ps(ee.target)||P(!1),h&&h(ee)},!1),ue=on(ee=>{_.current||(_.current=ee.currentTarget),Ps(ee.target)&&(P(!0),k&&k(ee)),T&&T(ee)}),le=()=>{const ee=_.current;return d&&d!=="button"&&!(ee.tagName==="A"&&ee.href)},fe=on(ee=>{m&&!ee.repeat&&N&&ee.key===" "&&I.stop(ee,()=>{I.start(ee)}),ee.target===ee.currentTarget&&le()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&le()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),j&&j(ee))}),Be=on(ee=>{m&&ee.key===" "&&N&&!ee.defaultPrevented&&I.stop(ee,()=>{I.pulsate(ee)}),A&&A(ee),j&&ee.target===ee.currentTarget&&le()&&ee.key===" "&&!ee.defaultPrevented&&j(ee)});let we=d;we==="button"&&(U.href||U.to)&&(we=v);const Re={};we==="button"?(Re.type=te===void 0?"button":te,Re.disabled=u):(!U.href&&!U.to&&(Re.role="button"),u&&(Re["aria-disabled"]=u));const ce=Yn(s,_),oe={...i,centerRipple:l,component:d,disabled:u,disableRipple:g,disableTouchRipple:p,focusRipple:m,tabIndex:V,focusVisible:N},de=G1(oe);return t.jsxs(K1,{as:we,className:We(de.root,c),ownerState:oe,onBlur:q,onClick:j,onContextMenu:E,onFocus:ue,onKeyDown:fe,onKeyUp:Be,onMouseDown:O,onMouseLeave:R,onMouseUp:W,onDragLeave:L,onTouchEnd:J,onTouchMove:se,onTouchStart:X,ref:ce,tabIndex:u?-1:V,type:te,...Re,...U,children:[a,S?t.jsx(no,{ref:y,center:l,...Q}):null]})});function ot(e,r,s,i=!1){return on(o=>(s&&s(o),i||e[r](o),!0))}process.env.NODE_ENV!=="production"&&(ro.propTypes={action:sn,centerRipple:n.bool,children:n.node,classes:n.object,className:n.string,component:Pa,disabled:n.bool,disableRipple:n.bool,disableTouchRipple:n.bool,focusRipple:n.bool,focusVisibleClassName:n.string,href:n.any,LinkComponent:n.elementType,onBlur:n.func,onClick:n.func,onContextMenu:n.func,onDragLeave:n.func,onFocus:n.func,onFocusVisible:n.func,onKeyDown:n.func,onKeyUp:n.func,onMouseDown:n.func,onMouseLeave:n.func,onMouseUp:n.func,onTouchEnd:n.func,onTouchMove:n.func,onTouchStart:n.func,sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),tabIndex:n.number,TouchRippleProps:n.object,touchRippleRef:n.oneOfType([n.func,n.shape({current:n.shape({pulsate:n.func.isRequired,start:n.func.isRequired,stop:n.func.isRequired})})]),type:n.oneOfType([n.oneOf(["button","reset","submit"]),n.string])});function X1(e){return rt("PrivateSwitchBase",e)}ct("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);function qt(e,r){const{className:s,elementType:i,ownerState:o,externalForwardedProps:l,internalForwardedProps:a,shouldForwardComponentProp:c=!1,...d}=r,{component:u,slots:g={[e]:void 0},slotProps:p={[e]:void 0},...m}=l,x=g[e]||i,v=Xa(p[e],o),{props:{component:h,...j},internalRef:z}=Ka({className:s,...d,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:v}),D=Yn(z,v==null?void 0:v.ref,r.ref),T=e==="root"?h||u:h,k=qa(x,{...e==="root"&&!u&&!g[e]&&a,...e!=="root"&&!g[e]&&a,...j,...T&&!c&&{as:T},...T&&c&&{component:T},ref:D},o);return[x,k]}const J1=e=>{const{classes:r,checked:s,disabled:i,edge:o}=e,l={root:["root",s&&"checked",i&&"disabled",o&&`edge${Oe(o)}`],input:["input"]};return gt(l,X1,r)},Q1=Fe(ro,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:r})=>e==="start"&&r.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:r})=>e==="end"&&r.size!=="small",style:{marginRight:-12}}]}),e0=Fe("input",{name:"MuiSwitchBase",shouldForwardProp:Zt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),$r=re.forwardRef(function(r,s){const{autoFocus:i,checked:o,checkedIcon:l,defaultChecked:a,disabled:c,disableFocusRipple:d=!1,edge:u=!1,icon:g,id:p,inputProps:m,inputRef:x,name:v,onBlur:h,onChange:j,onFocus:z,readOnly:D,required:T=!1,tabIndex:k,type:w,value:A,slots:H={},slotProps:G={},...Z}=r,[f,B]=Ba({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),F=Ar(),V=E=>{z&&z(E),F&&F.onFocus&&F.onFocus(E)},Q=E=>{h&&h(E),F&&F.onBlur&&F.onBlur(E)},K=E=>{if(E.nativeEvent.defaultPrevented)return;const L=E.target.checked;B(L),j&&j(E,L)};let te=c;F&&typeof te>"u"&&(te=F.disabled);const U=w==="checkbox"||w==="radio",_={...r,checked:f,disabled:te,disableFocusRipple:d,edge:u},I=J1(_),y={slots:H,slotProps:{input:m,...G}},[N,P]=qt("root",{ref:s,elementType:Q1,className:I.root,shouldForwardComponentProp:!0,externalForwardedProps:{...y,component:"span",...Z},getSlotProps:E=>({...E,onFocus:L=>{var W;(W=E.onFocus)==null||W.call(E,L),V(L)},onBlur:L=>{var W;(W=E.onBlur)==null||W.call(E,L),Q(L)}}),ownerState:_,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:te,role:void 0,tabIndex:null}}),[S,O]=qt("input",{ref:x,elementType:e0,className:I.input,externalForwardedProps:y,getSlotProps:E=>({onChange:L=>{var W;(W=E.onChange)==null||W.call(E,L),K(L)}}),ownerState:_,additionalProps:{autoFocus:i,checked:o,defaultChecked:a,disabled:te,id:U?p:void 0,name:v,readOnly:D,required:T,tabIndex:k,type:w,...w==="checkbox"&&A===void 0?{}:{value:A}}});return t.jsxs(N,{...P,children:[t.jsx(S,{...O}),f?l:g]})});process.env.NODE_ENV!=="production"&&($r.propTypes={autoFocus:n.bool,checked:n.bool,checkedIcon:n.node.isRequired,classes:n.object,className:n.string,defaultChecked:n.bool,disabled:n.bool,disableFocusRipple:n.bool,edge:n.oneOf(["end","start",!1]),icon:n.node.isRequired,id:n.string,inputProps:n.object,inputRef:sn,name:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,readOnly:n.bool,required:n.bool,slotProps:n.shape({input:n.oneOfType([n.func,n.object]),root:n.oneOfType([n.func,n.object])}),slots:n.shape({input:n.elementType,root:n.elementType}),sx:n.object,tabIndex:n.oneOfType([n.number,n.string]),type:n.string.isRequired,value:n.any});const t0=_e(t.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),n0=_e(t.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),r0=Fe("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Zt})({position:"relative",display:"flex"}),s0=Fe(t0,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),i0=Fe(n0,{name:"MuiRadioButtonIcon"})(xt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function _r(e){const{checked:r=!1,classes:s={},fontSize:i}=e,o={...e,checked:r};return t.jsxs(r0,{className:s.root,ownerState:o,children:[t.jsx(s0,{fontSize:i,className:s.background,ownerState:o}),t.jsx(i0,{fontSize:i,className:s.dot,ownerState:o})]})}process.env.NODE_ENV!=="production"&&(_r.propTypes={checked:n.bool,classes:n.object,fontSize:n.oneOf(["small","medium"])});const so=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(so.displayName="RadioGroupContext");function o0(){return re.useContext(so)}function l0(e){return rt("MuiRadio",e)}const io=ct("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);function a0(e){return typeof e.main=="string"}function c0(e,r=[]){if(!a0(e))return!1;for(const s of r)if(!e.hasOwnProperty(s)||typeof e[s]!="string")return!1;return!0}function Gt(e=[]){return([,r])=>r&&c0(r,e)}const d0=e=>{const{classes:r,color:s,size:i}=e,o={root:["root",`color${Oe(s)}`,i!=="medium"&&`size${Oe(i)}`]};return{...r,...gt(o,l0,r)}},h0=Fe($r,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.size!=="medium"&&r[`size${Oe(s.size)}`],r[`color${Oe(s.color)}`]]}})(xt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${io.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[r].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r,disabled:!1},style:{[`&.${io.checked}`]:{color:(e.vars||e).palette[r].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function u0(e,r){return typeof r=="object"&&r!==null?e===r:String(e)===String(r)}const f0=t.jsx(_r,{checked:!0}),p0=t.jsx(_r,{}),oo=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiRadio"}),{checked:o,checkedIcon:l=f0,color:a="primary",icon:c=p0,name:d,onChange:u,size:g="medium",className:p,disabled:m,disableRipple:x=!1,slots:v={},slotProps:h={},inputProps:j,...z}=i,D=Ar();let T=m;D&&typeof T>"u"&&(T=D.disabled),T??(T=!1);const k={...i,disabled:T,disableRipple:x,color:a,size:g},w=d0(k),A=o0();let H=o;const G=$a(u,A&&A.onChange);let Z=d;A&&(typeof H>"u"&&(H=u0(A.value,i.value)),typeof Z>"u"&&(Z=A.name));const f=h.input??j,[B,F]=qt("root",{ref:s,elementType:h0,className:We(w.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:v,slotProps:h,...z},getSlotProps:V=>({...V,onChange:(Q,...K)=>{var te;(te=V.onChange)==null||te.call(V,Q,...K),G(Q,...K)}}),ownerState:k,additionalProps:{type:"radio",icon:re.cloneElement(c,{fontSize:c.props.fontSize??g}),checkedIcon:re.cloneElement(l,{fontSize:l.props.fontSize??g}),disabled:T,name:Z,checked:H,slots:v,slotProps:{input:typeof f=="function"?f(k):f}}});return t.jsx(B,{...F,classes:w})});process.env.NODE_ENV!=="production"&&(oo.propTypes={checked:n.bool,checkedIcon:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["default","primary","secondary","error","info","success","warning"]),n.string]),disabled:n.bool,disableRipple:n.bool,icon:n.node,id:n.string,inputProps:n.object,inputRef:sn,name:n.string,onChange:n.func,required:n.bool,size:n.oneOfType([n.oneOf(["medium","small"]),n.string]),slotProps:n.shape({input:n.oneOfType([n.func,n.object]),root:n.oneOfType([n.func,n.object])}),slots:n.shape({input:n.elementType,root:n.elementType}),sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),value:n.any});function g0(e){return rt("MuiTypography",e)}ct("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const m0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},y0=a1(),x0=e=>{const{align:r,gutterBottom:s,noWrap:i,paragraph:o,variant:l,classes:a}=e,c={root:["root",l,e.align!=="inherit"&&`align${Oe(r)}`,s&&"gutterBottom",i&&"noWrap",o&&"paragraph"]};return gt(c,g0,a)},v0=Fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.variant&&r[s.variant],s.align!=="inherit"&&r[`align${Oe(s.align)}`],s.noWrap&&r.noWrap,s.gutterBottom&&r.gutterBottom,s.paragraph&&r.paragraph]}})(xt(({theme:e})=>{var r;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([s,i])=>s!=="inherit"&&i&&typeof i=="object").map(([s,i])=>({props:{variant:s},style:i})),...Object.entries(e.palette).filter(Gt()).map(([s])=>({props:{color:s},style:{color:(e.vars||e).palette[s].main}})),...Object.entries(((r=e.palette)==null?void 0:r.text)||{}).filter(([,s])=>typeof s=="string").map(([s])=>({props:{color:`text${Oe(s)}`},style:{color:(e.vars||e).palette.text[s]}})),{props:({ownerState:s})=>s.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:s})=>s.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:s})=>s.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:s})=>s.paragraph,style:{marginBottom:16}}]}})),lo={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Br=re.forwardRef(function(r,s){const{color:i,...o}=vt({props:r,name:"MuiTypography"}),l=!m0[i],a=y0({...o,...l&&{color:i}}),{align:c="inherit",className:d,component:u,gutterBottom:g=!1,noWrap:p=!1,paragraph:m=!1,variant:x="body1",variantMapping:v=lo,...h}=a,j={...a,align:c,color:i,className:d,component:u,gutterBottom:g,noWrap:p,paragraph:m,variant:x,variantMapping:v},z=u||(m?"p":v[x]||lo[x])||"span",D=x0(j);return t.jsx(v0,{as:z,ref:s,className:We(D.root,d),...h,ownerState:j,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...h.style}})});process.env.NODE_ENV!=="production"&&(Br.propTypes={align:n.oneOf(["center","inherit","justify","left","right"]),children:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),n.string]),component:n.elementType,gutterBottom:n.bool,noWrap:n.bool,paragraph:n.bool,style:n.object,sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),variant:n.oneOfType([n.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),n.string]),variantMapping:n.object});function b0(e){return rt("MuiFormControlLabel",e)}const Kt=ct("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function j0({props:e,states:r,muiFormControl:s}){return r.reduce((i,o)=>(i[o]=e[o],s&&typeof e[o]>"u"&&(i[o]=s[o]),i),{})}const w0=e=>{const{classes:r,disabled:s,labelPlacement:i,error:o,required:l}=e,a={root:["root",s&&"disabled",`labelPlacement${Oe(i)}`,o&&"error",l&&"required"],label:["label",s&&"disabled"],asterisk:["asterisk",o&&"error"]};return gt(a,b0,r)},k0=Fe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[{[`& .${Kt.label}`]:r.label},r.root,r[`labelPlacement${Oe(s.labelPlacement)}`]]}})(xt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Kt.disabled}`]:{cursor:"default"},[`& .${Kt.label}`]:{[`&.${Kt.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:r})=>r==="start"||r==="top"||r==="bottom",style:{marginLeft:16}}]}))),C0=Fe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})(xt(({theme:e})=>({[`&.${Kt.error}`]:{color:(e.vars||e).palette.error.main}}))),ao=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiFormControlLabel"}),{checked:o,className:l,componentsProps:a={},control:c,disabled:d,disableTypography:u,inputRef:g,label:p,labelPlacement:m="end",name:x,onChange:v,required:h,slots:j={},slotProps:z={},value:D,...T}=i,k=Ar(),w=d??c.props.disabled??(k==null?void 0:k.disabled),A=h??c.props.required,H={disabled:w,required:A};["checked","name","onChange","value","inputRef"].forEach(K=>{typeof c.props[K]>"u"&&typeof i[K]<"u"&&(H[K]=i[K])});const G=j0({props:i,muiFormControl:k,states:["error"]}),Z={...i,disabled:w,labelPlacement:m,required:A,error:G.error},f=w0(Z),B={slots:j,slotProps:{...a,...z}},[F,V]=qt("typography",{elementType:Br,externalForwardedProps:B,ownerState:Z});let Q=p;return Q!=null&&Q.type!==Br&&!u&&(Q=t.jsx(F,{component:"span",...V,className:We(f.label,V==null?void 0:V.className),children:Q})),t.jsxs(k0,{className:We(f.root,l),ownerState:Z,ref:s,...T,children:[re.cloneElement(c,H),A?t.jsxs("div",{children:[Q,t.jsxs(C0,{ownerState:Z,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}):Q]})});process.env.NODE_ENV!=="production"&&(ao.propTypes={checked:n.bool,classes:n.object,className:n.string,componentsProps:n.shape({typography:n.object}),control:n.element.isRequired,disabled:n.bool,disableTypography:n.bool,inputRef:sn,label:n.node,labelPlacement:n.oneOf(["bottom","end","start","top"]),name:n.string,onChange:n.func,required:n.bool,slotProps:n.shape({typography:n.oneOfType([n.func,n.object])}),slots:n.shape({typography:n.elementType}),sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),value:n.any});const Lr=e=>{const{inputProperties:r,label:s,checked:i,onChange:o,fontSize:l}=e;return t.jsx(ao,{label:s,sx:{margin:"0px","& .MuiTypography-root":{fontSize:l||"1vw"}},control:t.jsx(oo,{...r,checked:i,onChange:o,sx:{"&.Mui-checked":{color:"#0047ab"}}})})};Lr.propTypes={inputProperties:n.object,label:n.string};const Xt=e=>{const[r,s]=C.useState(!1),{inputProperties:i}=e,o=l=>{i!=null&&i.handleChange&&typeof i.handleChange=="function"?i.handleChange(l):i!=null&&i.onChange&&typeof i.onChange=="function"&&i.onChange(l)};return t.jsxs(ar,{isfocused:r,style:{...i==null?void 0:i.size},children:[t.jsx(cr,{onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:o,fontStyle:i==null?void 0:i.fontStyle,...i}),t.jsx(m1,{isfocused:r})]})};Xt.propTypes={inputProperties:n.object};const Fr=4,Qe=e=>{const{size:r,label:s,options:i,onchange:o,error:l,inputRadio:a,sizeOptions:c,heightOptions:d="auto",maxHeightOptions:u="auto",isOpen:g,setIsOpen:p,disabledClickOutside:m,keyReset:x,value:v,color:h="white",fontSizeLabel:j="1vw",fontSizeOptions:z="0.9vw",border:D,backgroundColor:T,disableColorOpen:k,disabled:w=!1,Icon:A,displayOptions:H,height:G,paddingDropdownHeader:Z,widthIcon:f,heightIcon:B,placeholderInputSearch:F="Buscar...",borderRadiusRight:V="4px",borderRadiusLeft:Q="4px",labelText:K,subLabelText:te,gap:U="0",justifyContent:_="flex-start",id:I,fontSizeLabelText:y,fontSizeTooltip:N,heightTooltip:P,leftTooltip:S,tooltip:O,topTooltip:E,widthTooltip:L,isTooltipVisible:W,position:R="absolute",withoutOptions:X=!1,sortAlphabetically:J=!0}=e,[se,q]=C.useState(i),[ue,le]=C.useState(i),[fe,Be]=C.useState(!1),we=g!==void 0?g:fe,Re=p!==void 0?p:Be,[ce,oe]=C.useState(""),de=C.useRef(null),ee=()=>!w&&Re(!we);C.useEffect(()=>{if(v!=null)if(v!==""){const ae=i.find(Se=>Se.value===v||Se.label===v);oe(ae?ae.label:v)}else oe("")},[v,i]),C.useEffect(()=>{const ae=J?[...i].sort((Se,Ye)=>{var nt;return(nt=Se.label)==null?void 0:nt.localeCompare(Ye.label)}):[...i];q(ae),le(ae)},[i,J]);const ie=ae=>{oe(ae.label),Re(!1),o&&o({...ae,id:I})},[Me,Ee]=C.useState(""),Ne=ae=>{const Se=ae.target.value;Ee(Se);const Ye=se.filter(jt=>jt.label.toLowerCase().includes(Se.toLowerCase())),nt=J?Ye.sort((jt,ls)=>{var In;return(In=jt.label)==null?void 0:In.localeCompare(ls.label)}):Ye;le(nt)};return C.useEffect(()=>{if(m)return;const ae=Se=>{de.current&&!de.current.contains(Se.target)&&Re(!1)};return document.addEventListener("mousedown",ae),()=>{document.removeEventListener("mousedown",ae)}},[Re,de,m]),C.useEffect(()=>{x!==void 0&&v==null&&oe("")},[x,v]),C.useEffect(()=>{we||(le(se),Ee(""))},[we,se]),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:U,justifyContent:_},children:[K&&t.jsx(Yt,{fontSizeTitle:y,fontSizeTooltip:N,heightTooltip:P,left:S,subTitle:te,title:K,tooltip:O,top:E,widthTooltip:L,isTooltipVisibleProp:W,marginBottom:"5px"}),t.jsxs("div",{ref:de,className:`dropdown ${l?"error":""} ${we&&!k?"open":""} ${w?"disabled":""}`,style:{width:r},children:[t.jsxs("div",{className:`dropdown-header ${h}`,onClick:ee,role:"button","aria-haspopup":"listbox","aria-expanded":we,style:{border:D,backgroundColor:T,cursor:w?"not-allowed":"pointer",opacity:w?.5:1,padding:Z,height:G,borderTopRightRadius:V,borderBottomRightRadius:V,borderTopLeftRadius:Q,borderBottomLeftRadius:Q},children:[t.jsx("span",{style:{fontSize:j},children:ce||s}),A?t.jsx(A,{className:`icon-basicSelect ${we?"up":"down"}`,style:{width:f,height:B}}):t.jsx("i",{className:`arrow-${h} ${we?"up":"down"}`})]}),we&&!X&&t.jsxs("ul",{className:`dropdown-options ${h} ${R}`,role:"listbox",id:`dropdown-options-basicSelect ${I}`,style:{width:c||"100%",height:d,maxHeight:u,display:H},children:[i.length>=Fr&&i.length>0&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(Xt,{inputProperties:{placeholder:F,size:{width:"100%",height:"28px"},type:"text",onChange:ae=>Ne(ae),fontStyle:"italic"}})}),i.length===0&&!X&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:z,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"}),ue.length===0&&Me.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:z,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',Me,'"']}):ue.map((ae,Se)=>t.jsxs("li",{onClick:()=>ie(ae),role:"option",style:{padding:a?"5px 0":"15px",fontSize:z},className:"flex align-center flex-wrap",children:[t.jsxs("div",{className:"flex align-center",style:{fontWeight:"400"},children:[a&&t.jsx(Lr,{inputProperties:{checked:ce===ae.label,onChange:()=>ie(ae)}}),ae.label]}),(ae==null?void 0:ae.description)&&t.jsx(w1,{children:ae==null?void 0:ae.description})]},ae.id||Se))]})]})]})};Qe.propTypes={size:n.string,options:n.array,label:n.string,onchange:n.func,error:n.bool,inputRadio:n.bool,sizeOptions:n.string,heightOptions:n.string,isOpen:n.bool,setIsOpen:n.func,disabledClickOutside:n.bool,keyReset:n.number,value:n.string,maxHeightOptions:n.string,color:n.oneOf(["white","grey"]),fontSizeLabel:n.string,fontSizeOptions:n.string,border:n.string,backgroundColor:n.string,disableColorOpen:n.bool,disabled:n.bool,Icon:n.elementType||n.element||n.func||n.node||n.object||n.any,displayOptions:n.string,height:n.string,paddingDropdownHeader:n.string,widthIcon:n.string,heightIcon:n.string,placeholderInputSearch:n.string,borderRadiusRight:n.string,borderRadiusLeft:n.string,labelText:n.string,subLabelText:n.any,gap:n.string,justifyContent:n.string,id:n.string,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,position:n.string,withoutOptions:n.bool,sortAlphabetically:n.bool};const S0=(e,r)=>{var s,i,o;if(!Array.isArray(e)&&typeof e!="object")throw new Error("Invalid data format. Expected an array or an object.");if(r){if(typeof e=="object"&&!Array.isArray(e))return(i=(s=Object.entries(e))==null?void 0:s.sort(([l],[a])=>l==null?void 0:l.localeCompare(a)))==null?void 0:i.reduce((l,[a,c])=>{var d;return l[a]=Array.isArray(c)?(d=c.map(u=>({id:u==null?void 0:u.id,name:u==null?void 0:u.name})))==null?void 0:d.sort((u,g)=>{var p;return(p=u.name)==null?void 0:p.localeCompare(g==null?void 0:g.name)}):[],l},{});throw new Error("Grouped mode requires data to be an object.")}if(Array.isArray(e))return{all:(o=e==null?void 0:e.map(l=>({id:l==null?void 0:l.id,name:l==null?void 0:l.name})))==null?void 0:o.sort((l,a)=>{var c;return(c=l.name)==null?void 0:c.localeCompare(a==null?void 0:a.name)})};throw new Error("Ungrouped mode requires data to be an array.")},T0=me.button`
|
|
381
|
+
`,no=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:a,...c}=i,[d,u]=re.useState([]),g=re.useRef(0),p=re.useRef(null);re.useEffect(()=>{p.current&&(p.current(),p.current=null)},[d]);const m=re.useRef(!1),x=Ha(),v=re.useRef(null),h=re.useRef(null),j=re.useCallback(k=>{const{pulsate:w,rippleX:O,rippleY:H,rippleSize:G,cb:V}=k;u(f=>[...f,t.jsx(U1,{classes:{ripple:We(l.ripple,Ke.ripple),rippleVisible:We(l.rippleVisible,Ke.rippleVisible),ripplePulsate:We(l.ripplePulsate,Ke.ripplePulsate),child:We(l.child,Ke.child),childLeaving:We(l.childLeaving,Ke.childLeaving),childPulsate:We(l.childPulsate,Ke.childPulsate)},timeout:Wr,pulsate:w,rippleX:O,rippleY:H,rippleSize:G},g.current)]),g.current+=1,p.current=V},[l]),M=re.useCallback((k={},w={},O=()=>{})=>{const{pulsate:H=!1,center:G=o||w.pulsate,fakeElement:V=!1}=w;if((k==null?void 0:k.type)==="mousedown"&&m.current){m.current=!1;return}(k==null?void 0:k.type)==="touchstart"&&(m.current=!0);const f=V?null:h.current,L=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,Z,Q;if(G||k===void 0||k.clientX===0&&k.clientY===0||!k.clientX&&!k.touches)F=Math.round(L.width/2),Z=Math.round(L.height/2);else{const{clientX:K,clientY:te}=k.touches&&k.touches.length>0?k.touches[0]:k;F=Math.round(K-L.left),Z=Math.round(te-L.top)}if(G)Q=Math.sqrt((2*L.width**2+L.height**2)/3),Q%2===0&&(Q+=1);else{const K=Math.max(Math.abs((f?f.clientWidth:0)-F),F)*2+2,te=Math.max(Math.abs((f?f.clientHeight:0)-Z),Z)*2+2;Q=Math.sqrt(K**2+te**2)}k!=null&&k.touches?v.current===null&&(v.current=()=>{j({pulsate:H,rippleX:F,rippleY:Z,rippleSize:Q,cb:O})},x.start(L1,()=>{v.current&&(v.current(),v.current=null)})):j({pulsate:H,rippleX:F,rippleY:Z,rippleSize:Q,cb:O})},[o,j,x]),D=re.useCallback(()=>{M({},{pulsate:!0})},[M]),S=re.useCallback((k,w)=>{if(x.clear(),(k==null?void 0:k.type)==="touchend"&&v.current){v.current(),v.current=null,x.start(0,()=>{S(k,w)});return}v.current=null,u(O=>O.length>0?O.slice(1):O),p.current=w},[x]);return re.useImperativeHandle(s,()=>({pulsate:D,start:M,stop:S}),[D,M,S]),t.jsx(Z1,{className:We(Ke.root,l.root,a),ref:h,...c,children:t.jsx(Pr,{component:null,exit:!0,children:d})})});process.env.NODE_ENV!=="production"&&(no.propTypes={center:n.bool,classes:n.object,className:n.string});function Y1(e){return rt("MuiButtonBase",e)}const q1=ct("MuiButtonBase",["root","disabled","focusVisible"]),G1=e=>{const{disabled:r,focusVisible:s,focusVisibleClassName:i,classes:o}=e,a=gt({root:["root",r&&"disabled",s&&"focusVisible"]},Y1,o);return s&&i&&(a.root+=` ${i}`),a},K1=Fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,r)=>r.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${q1.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ro=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:a,className:c,component:d="button",disabled:u=!1,disableRipple:g=!1,disableTouchRipple:p=!1,focusRipple:m=!1,focusVisibleClassName:x,LinkComponent:v="a",onBlur:h,onClick:j,onContextMenu:M,onDragLeave:D,onFocus:S,onFocusVisible:k,onKeyDown:w,onKeyUp:O,onMouseDown:H,onMouseLeave:G,onMouseUp:V,onTouchEnd:f,onTouchMove:L,onTouchStart:F,tabIndex:Z=0,TouchRippleProps:Q,touchRippleRef:K,type:te,...U}=i,$=re.useRef(null),R=D1(),y=Yn(R.ref,K),[E,P]=re.useState(!1);u&&E&&P(!1),re.useImperativeHandle(o,()=>({focusVisible:()=>{P(!0),$.current.focus()}}),[]);const N=R.shouldMount&&!g&&!u;re.useEffect(()=>{E&&m&&!g&&R.pulsate()},[g,m,E,R]);const A=ot(R,"start",H,p),z=ot(R,"stop",M,p),B=ot(R,"stop",D,p),W=ot(R,"stop",V,p),I=ot(R,"stop",ee=>{E&&ee.preventDefault(),G&&G(ee)},p),J=ot(R,"start",F,p),X=ot(R,"stop",f,p),se=ot(R,"stop",L,p),q=ot(R,"stop",ee=>{Ps(ee.target)||P(!1),h&&h(ee)},!1),ue=on(ee=>{$.current||($.current=ee.currentTarget),Ps(ee.target)&&(P(!0),k&&k(ee)),S&&S(ee)}),le=()=>{const ee=$.current;return d&&d!=="button"&&!(ee.tagName==="A"&&ee.href)},fe=on(ee=>{m&&!ee.repeat&&E&&ee.key===" "&&R.stop(ee,()=>{R.start(ee)}),ee.target===ee.currentTarget&&le()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&le()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),j&&j(ee))}),Be=on(ee=>{m&&ee.key===" "&&E&&!ee.defaultPrevented&&R.stop(ee,()=>{R.pulsate(ee)}),O&&O(ee),j&&ee.target===ee.currentTarget&&le()&&ee.key===" "&&!ee.defaultPrevented&&j(ee)});let we=d;we==="button"&&(U.href||U.to)&&(we=v);const Re={};we==="button"?(Re.type=te===void 0?"button":te,Re.disabled=u):(!U.href&&!U.to&&(Re.role="button"),u&&(Re["aria-disabled"]=u));const ce=Yn(s,$),oe={...i,centerRipple:l,component:d,disabled:u,disableRipple:g,disableTouchRipple:p,focusRipple:m,tabIndex:Z,focusVisible:E},de=G1(oe);return t.jsxs(K1,{as:we,className:We(de.root,c),ownerState:oe,onBlur:q,onClick:j,onContextMenu:z,onFocus:ue,onKeyDown:fe,onKeyUp:Be,onMouseDown:A,onMouseLeave:I,onMouseUp:W,onDragLeave:B,onTouchEnd:X,onTouchMove:se,onTouchStart:J,ref:ce,tabIndex:u?-1:Z,type:te,...Re,...U,children:[a,N?t.jsx(no,{ref:y,center:l,...Q}):null]})});function ot(e,r,s,i=!1){return on(o=>(s&&s(o),i||e[r](o),!0))}process.env.NODE_ENV!=="production"&&(ro.propTypes={action:sn,centerRipple:n.bool,children:n.node,classes:n.object,className:n.string,component:Pa,disabled:n.bool,disableRipple:n.bool,disableTouchRipple:n.bool,focusRipple:n.bool,focusVisibleClassName:n.string,href:n.any,LinkComponent:n.elementType,onBlur:n.func,onClick:n.func,onContextMenu:n.func,onDragLeave:n.func,onFocus:n.func,onFocusVisible:n.func,onKeyDown:n.func,onKeyUp:n.func,onMouseDown:n.func,onMouseLeave:n.func,onMouseUp:n.func,onTouchEnd:n.func,onTouchMove:n.func,onTouchStart:n.func,sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),tabIndex:n.number,TouchRippleProps:n.object,touchRippleRef:n.oneOfType([n.func,n.shape({current:n.shape({pulsate:n.func.isRequired,start:n.func.isRequired,stop:n.func.isRequired})})]),type:n.oneOfType([n.oneOf(["button","reset","submit"]),n.string])});function X1(e){return rt("PrivateSwitchBase",e)}ct("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);function qt(e,r){const{className:s,elementType:i,ownerState:o,externalForwardedProps:l,internalForwardedProps:a,shouldForwardComponentProp:c=!1,...d}=r,{component:u,slots:g={[e]:void 0},slotProps:p={[e]:void 0},...m}=l,x=g[e]||i,v=Xa(p[e],o),{props:{component:h,...j},internalRef:M}=Ka({className:s,...d,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:v}),D=Yn(M,v==null?void 0:v.ref,r.ref),S=e==="root"?h||u:h,k=qa(x,{...e==="root"&&!u&&!g[e]&&a,...e!=="root"&&!g[e]&&a,...j,...S&&!c&&{as:S},...S&&c&&{component:S},ref:D},o);return[x,k]}const J1=e=>{const{classes:r,checked:s,disabled:i,edge:o}=e,l={root:["root",s&&"checked",i&&"disabled",o&&`edge${Oe(o)}`],input:["input"]};return gt(l,X1,r)},Q1=Fe(ro,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:r})=>e==="start"&&r.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:r})=>e==="end"&&r.size!=="small",style:{marginRight:-12}}]}),e0=Fe("input",{name:"MuiSwitchBase",shouldForwardProp:Zt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),$r=re.forwardRef(function(r,s){const{autoFocus:i,checked:o,checkedIcon:l,defaultChecked:a,disabled:c,disableFocusRipple:d=!1,edge:u=!1,icon:g,id:p,inputProps:m,inputRef:x,name:v,onBlur:h,onChange:j,onFocus:M,readOnly:D,required:S=!1,tabIndex:k,type:w,value:O,slots:H={},slotProps:G={},...V}=r,[f,L]=Ba({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),F=Ar(),Z=z=>{M&&M(z),F&&F.onFocus&&F.onFocus(z)},Q=z=>{h&&h(z),F&&F.onBlur&&F.onBlur(z)},K=z=>{if(z.nativeEvent.defaultPrevented)return;const B=z.target.checked;L(B),j&&j(z,B)};let te=c;F&&typeof te>"u"&&(te=F.disabled);const U=w==="checkbox"||w==="radio",$={...r,checked:f,disabled:te,disableFocusRipple:d,edge:u},R=J1($),y={slots:H,slotProps:{input:m,...G}},[E,P]=qt("root",{ref:s,elementType:Q1,className:R.root,shouldForwardComponentProp:!0,externalForwardedProps:{...y,component:"span",...V},getSlotProps:z=>({...z,onFocus:B=>{var W;(W=z.onFocus)==null||W.call(z,B),Z(B)},onBlur:B=>{var W;(W=z.onBlur)==null||W.call(z,B),Q(B)}}),ownerState:$,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:te,role:void 0,tabIndex:null}}),[N,A]=qt("input",{ref:x,elementType:e0,className:R.input,externalForwardedProps:y,getSlotProps:z=>({onChange:B=>{var W;(W=z.onChange)==null||W.call(z,B),K(B)}}),ownerState:$,additionalProps:{autoFocus:i,checked:o,defaultChecked:a,disabled:te,id:U?p:void 0,name:v,readOnly:D,required:S,tabIndex:k,type:w,...w==="checkbox"&&O===void 0?{}:{value:O}}});return t.jsxs(E,{...P,children:[t.jsx(N,{...A}),f?l:g]})});process.env.NODE_ENV!=="production"&&($r.propTypes={autoFocus:n.bool,checked:n.bool,checkedIcon:n.node.isRequired,classes:n.object,className:n.string,defaultChecked:n.bool,disabled:n.bool,disableFocusRipple:n.bool,edge:n.oneOf(["end","start",!1]),icon:n.node.isRequired,id:n.string,inputProps:n.object,inputRef:sn,name:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,readOnly:n.bool,required:n.bool,slotProps:n.shape({input:n.oneOfType([n.func,n.object]),root:n.oneOfType([n.func,n.object])}),slots:n.shape({input:n.elementType,root:n.elementType}),sx:n.object,tabIndex:n.oneOfType([n.number,n.string]),type:n.string.isRequired,value:n.any});const t0=_e(t.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),n0=_e(t.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),r0=Fe("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Zt})({position:"relative",display:"flex"}),s0=Fe(t0,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),i0=Fe(n0,{name:"MuiRadioButtonIcon"})(xt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function _r(e){const{checked:r=!1,classes:s={},fontSize:i}=e,o={...e,checked:r};return t.jsxs(r0,{className:s.root,ownerState:o,children:[t.jsx(s0,{fontSize:i,className:s.background,ownerState:o}),t.jsx(i0,{fontSize:i,className:s.dot,ownerState:o})]})}process.env.NODE_ENV!=="production"&&(_r.propTypes={checked:n.bool,classes:n.object,fontSize:n.oneOf(["small","medium"])});const so=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(so.displayName="RadioGroupContext");function o0(){return re.useContext(so)}function l0(e){return rt("MuiRadio",e)}const io=ct("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);function a0(e){return typeof e.main=="string"}function c0(e,r=[]){if(!a0(e))return!1;for(const s of r)if(!e.hasOwnProperty(s)||typeof e[s]!="string")return!1;return!0}function Gt(e=[]){return([,r])=>r&&c0(r,e)}const d0=e=>{const{classes:r,color:s,size:i}=e,o={root:["root",`color${Oe(s)}`,i!=="medium"&&`size${Oe(i)}`]};return{...r,...gt(o,l0,r)}},h0=Fe($r,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.size!=="medium"&&r[`size${Oe(s.size)}`],r[`color${Oe(s.color)}`]]}})(xt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${io.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[r].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r,disabled:!1},style:{[`&.${io.checked}`]:{color:(e.vars||e).palette[r].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function u0(e,r){return typeof r=="object"&&r!==null?e===r:String(e)===String(r)}const f0=t.jsx(_r,{checked:!0}),p0=t.jsx(_r,{}),oo=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiRadio"}),{checked:o,checkedIcon:l=f0,color:a="primary",icon:c=p0,name:d,onChange:u,size:g="medium",className:p,disabled:m,disableRipple:x=!1,slots:v={},slotProps:h={},inputProps:j,...M}=i,D=Ar();let S=m;D&&typeof S>"u"&&(S=D.disabled),S??(S=!1);const k={...i,disabled:S,disableRipple:x,color:a,size:g},w=d0(k),O=o0();let H=o;const G=$a(u,O&&O.onChange);let V=d;O&&(typeof H>"u"&&(H=u0(O.value,i.value)),typeof V>"u"&&(V=O.name));const f=h.input??j,[L,F]=qt("root",{ref:s,elementType:h0,className:We(w.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:v,slotProps:h,...M},getSlotProps:Z=>({...Z,onChange:(Q,...K)=>{var te;(te=Z.onChange)==null||te.call(Z,Q,...K),G(Q,...K)}}),ownerState:k,additionalProps:{type:"radio",icon:re.cloneElement(c,{fontSize:c.props.fontSize??g}),checkedIcon:re.cloneElement(l,{fontSize:l.props.fontSize??g}),disabled:S,name:V,checked:H,slots:v,slotProps:{input:typeof f=="function"?f(k):f}}});return t.jsx(L,{...F,classes:w})});process.env.NODE_ENV!=="production"&&(oo.propTypes={checked:n.bool,checkedIcon:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["default","primary","secondary","error","info","success","warning"]),n.string]),disabled:n.bool,disableRipple:n.bool,icon:n.node,id:n.string,inputProps:n.object,inputRef:sn,name:n.string,onChange:n.func,required:n.bool,size:n.oneOfType([n.oneOf(["medium","small"]),n.string]),slotProps:n.shape({input:n.oneOfType([n.func,n.object]),root:n.oneOfType([n.func,n.object])}),slots:n.shape({input:n.elementType,root:n.elementType}),sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),value:n.any});function g0(e){return rt("MuiTypography",e)}ct("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const m0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},y0=a1(),x0=e=>{const{align:r,gutterBottom:s,noWrap:i,paragraph:o,variant:l,classes:a}=e,c={root:["root",l,e.align!=="inherit"&&`align${Oe(r)}`,s&&"gutterBottom",i&&"noWrap",o&&"paragraph"]};return gt(c,g0,a)},v0=Fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.variant&&r[s.variant],s.align!=="inherit"&&r[`align${Oe(s.align)}`],s.noWrap&&r.noWrap,s.gutterBottom&&r.gutterBottom,s.paragraph&&r.paragraph]}})(xt(({theme:e})=>{var r;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([s,i])=>s!=="inherit"&&i&&typeof i=="object").map(([s,i])=>({props:{variant:s},style:i})),...Object.entries(e.palette).filter(Gt()).map(([s])=>({props:{color:s},style:{color:(e.vars||e).palette[s].main}})),...Object.entries(((r=e.palette)==null?void 0:r.text)||{}).filter(([,s])=>typeof s=="string").map(([s])=>({props:{color:`text${Oe(s)}`},style:{color:(e.vars||e).palette.text[s]}})),{props:({ownerState:s})=>s.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:s})=>s.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:s})=>s.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:s})=>s.paragraph,style:{marginBottom:16}}]}})),lo={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Br=re.forwardRef(function(r,s){const{color:i,...o}=vt({props:r,name:"MuiTypography"}),l=!m0[i],a=y0({...o,...l&&{color:i}}),{align:c="inherit",className:d,component:u,gutterBottom:g=!1,noWrap:p=!1,paragraph:m=!1,variant:x="body1",variantMapping:v=lo,...h}=a,j={...a,align:c,color:i,className:d,component:u,gutterBottom:g,noWrap:p,paragraph:m,variant:x,variantMapping:v},M=u||(m?"p":v[x]||lo[x])||"span",D=x0(j);return t.jsx(v0,{as:M,ref:s,className:We(D.root,d),...h,ownerState:j,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...h.style}})});process.env.NODE_ENV!=="production"&&(Br.propTypes={align:n.oneOf(["center","inherit","justify","left","right"]),children:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),n.string]),component:n.elementType,gutterBottom:n.bool,noWrap:n.bool,paragraph:n.bool,style:n.object,sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),variant:n.oneOfType([n.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),n.string]),variantMapping:n.object});function b0(e){return rt("MuiFormControlLabel",e)}const Kt=ct("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function j0({props:e,states:r,muiFormControl:s}){return r.reduce((i,o)=>(i[o]=e[o],s&&typeof e[o]>"u"&&(i[o]=s[o]),i),{})}const w0=e=>{const{classes:r,disabled:s,labelPlacement:i,error:o,required:l}=e,a={root:["root",s&&"disabled",`labelPlacement${Oe(i)}`,o&&"error",l&&"required"],label:["label",s&&"disabled"],asterisk:["asterisk",o&&"error"]};return gt(a,b0,r)},k0=Fe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[{[`& .${Kt.label}`]:r.label},r.root,r[`labelPlacement${Oe(s.labelPlacement)}`]]}})(xt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Kt.disabled}`]:{cursor:"default"},[`& .${Kt.label}`]:{[`&.${Kt.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:r})=>r==="start"||r==="top"||r==="bottom",style:{marginLeft:16}}]}))),C0=Fe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})(xt(({theme:e})=>({[`&.${Kt.error}`]:{color:(e.vars||e).palette.error.main}}))),ao=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiFormControlLabel"}),{checked:o,className:l,componentsProps:a={},control:c,disabled:d,disableTypography:u,inputRef:g,label:p,labelPlacement:m="end",name:x,onChange:v,required:h,slots:j={},slotProps:M={},value:D,...S}=i,k=Ar(),w=d??c.props.disabled??(k==null?void 0:k.disabled),O=h??c.props.required,H={disabled:w,required:O};["checked","name","onChange","value","inputRef"].forEach(K=>{typeof c.props[K]>"u"&&typeof i[K]<"u"&&(H[K]=i[K])});const G=j0({props:i,muiFormControl:k,states:["error"]}),V={...i,disabled:w,labelPlacement:m,required:O,error:G.error},f=w0(V),L={slots:j,slotProps:{...a,...M}},[F,Z]=qt("typography",{elementType:Br,externalForwardedProps:L,ownerState:V});let Q=p;return Q!=null&&Q.type!==Br&&!u&&(Q=t.jsx(F,{component:"span",...Z,className:We(f.label,Z==null?void 0:Z.className),children:Q})),t.jsxs(k0,{className:We(f.root,l),ownerState:V,ref:s,...S,children:[re.cloneElement(c,H),O?t.jsxs("div",{children:[Q,t.jsxs(C0,{ownerState:V,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}):Q]})});process.env.NODE_ENV!=="production"&&(ao.propTypes={checked:n.bool,classes:n.object,className:n.string,componentsProps:n.shape({typography:n.object}),control:n.element.isRequired,disabled:n.bool,disableTypography:n.bool,inputRef:sn,label:n.node,labelPlacement:n.oneOf(["bottom","end","start","top"]),name:n.string,onChange:n.func,required:n.bool,slotProps:n.shape({typography:n.oneOfType([n.func,n.object])}),slots:n.shape({typography:n.elementType}),sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),value:n.any});const Lr=e=>{const{inputProperties:r,label:s,checked:i,onChange:o,fontSize:l}=e;return t.jsx(ao,{label:s,sx:{margin:"0px","& .MuiTypography-root":{fontSize:l||"1vw"}},control:t.jsx(oo,{...r,checked:i,onChange:o,sx:{"&.Mui-checked":{color:"#0047ab"}}})})};Lr.propTypes={inputProperties:n.object,label:n.string};const Xt=e=>{const[r,s]=C.useState(!1),{inputProperties:i}=e,o=l=>{i!=null&&i.handleChange&&typeof i.handleChange=="function"?i.handleChange(l):i!=null&&i.onChange&&typeof i.onChange=="function"&&i.onChange(l)};return t.jsxs(ar,{isfocused:r,style:{...i==null?void 0:i.size},children:[t.jsx(cr,{onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:o,fontStyle:i==null?void 0:i.fontStyle,...i}),t.jsx(m1,{isfocused:r})]})};Xt.propTypes={inputProperties:n.object};const Fr=4,Qe=e=>{const{size:r,label:s,options:i,onchange:o,error:l,inputRadio:a,sizeOptions:c,heightOptions:d="auto",maxHeightOptions:u="auto",isOpen:g,setIsOpen:p,disabledClickOutside:m,keyReset:x,value:v,color:h="white",fontSizeLabel:j="1vw",fontSizeOptions:M="0.9vw",border:D,backgroundColor:S,disableColorOpen:k,disabled:w=!1,Icon:O,displayOptions:H,height:G,paddingDropdownHeader:V,widthIcon:f,heightIcon:L,placeholderInputSearch:F="Buscar...",borderRadiusRight:Z="4px",borderRadiusLeft:Q="4px",labelText:K,subLabelText:te,gap:U="0",justifyContent:$="flex-start",id:R,fontSizeLabelText:y,fontSizeTooltip:E,heightTooltip:P,leftTooltip:N,tooltip:A,topTooltip:z,widthTooltip:B,isTooltipVisible:W,position:I="absolute",withoutOptions:J=!1,sortAlphabetically:X=!0}=e,[se,q]=C.useState(i),[ue,le]=C.useState(i),[fe,Be]=C.useState(!1),we=g!==void 0?g:fe,Re=p!==void 0?p:Be,[ce,oe]=C.useState(""),de=C.useRef(null),ee=()=>!w&&Re(!we);C.useEffect(()=>{if(v!=null)if(v!==""){const ae=i.find(Se=>Se.value===v||Se.label===v);oe(ae?ae.label:v)}else oe("")},[v,i]),C.useEffect(()=>{const ae=X?[...i].sort((Se,Ye)=>{var nt;return(nt=Se.label)==null?void 0:nt.localeCompare(Ye.label)}):[...i];q(ae),le(ae)},[i,X]);const ie=ae=>{oe(ae.label),Re(!1),o&&o({...ae,id:R})},[Me,Ee]=C.useState(""),Ne=ae=>{const Se=ae.target.value;Ee(Se);const Ye=se.filter(jt=>jt.label.toLowerCase().includes(Se.toLowerCase())),nt=X?Ye.sort((jt,ls)=>{var In;return(In=jt.label)==null?void 0:In.localeCompare(ls.label)}):Ye;le(nt)};return C.useEffect(()=>{if(m)return;const ae=Se=>{de.current&&!de.current.contains(Se.target)&&Re(!1)};return document.addEventListener("mousedown",ae),()=>{document.removeEventListener("mousedown",ae)}},[Re,de,m]),C.useEffect(()=>{x!==void 0&&v==null&&oe("")},[x,v]),C.useEffect(()=>{we||(le(se),Ee(""))},[we,se]),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:U,justifyContent:$},children:[K&&t.jsx(Yt,{fontSizeTitle:y,fontSizeTooltip:E,heightTooltip:P,left:N,subTitle:te,title:K,tooltip:A,top:z,widthTooltip:B,isTooltipVisibleProp:W,marginBottom:"5px"}),t.jsxs("div",{ref:de,className:`dropdown ${l?"error":""} ${we&&!k?"open":""} ${w?"disabled":""}`,style:{width:r},children:[t.jsxs("div",{className:`dropdown-header ${h}`,onClick:ee,role:"button","aria-haspopup":"listbox","aria-expanded":we,style:{border:D,backgroundColor:S,cursor:w?"not-allowed":"pointer",opacity:w?.5:1,padding:V,height:G,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderTopLeftRadius:Q,borderBottomLeftRadius:Q},children:[t.jsx("span",{style:{fontSize:j},children:ce||s}),O?t.jsx(O,{className:`icon-basicSelect ${we?"up":"down"}`,style:{width:f,height:L}}):t.jsx("i",{className:`arrow-${h} ${we?"up":"down"}`})]}),we&&!J&&t.jsxs("ul",{className:`dropdown-options ${h} ${I}`,role:"listbox",id:`dropdown-options-basicSelect ${R}`,style:{width:c||"100%",height:d,maxHeight:u,display:H},children:[i.length>=Fr&&i.length>0&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(Xt,{inputProperties:{placeholder:F,size:{width:"100%",height:"28px"},type:"text",onChange:ae=>Ne(ae),fontStyle:"italic"}})}),i.length===0&&!J&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:M,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"}),ue.length===0&&Me.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:M,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',Me,'"']}):ue.map((ae,Se)=>t.jsxs("li",{onClick:()=>ie(ae),role:"option",style:{padding:a?"5px 0":"15px",fontSize:M},className:"flex align-center flex-wrap",children:[t.jsxs("div",{className:"flex align-center",style:{fontWeight:"400"},children:[a&&t.jsx(Lr,{inputProperties:{checked:ce===ae.label,onChange:()=>ie(ae)}}),ae.label]}),(ae==null?void 0:ae.description)&&t.jsx(w1,{children:ae==null?void 0:ae.description})]},ae.id||Se))]})]})]})};Qe.propTypes={size:n.string,options:n.array,label:n.string,onchange:n.func,error:n.bool,inputRadio:n.bool,sizeOptions:n.string,heightOptions:n.string,isOpen:n.bool,setIsOpen:n.func,disabledClickOutside:n.bool,keyReset:n.number,value:n.string,maxHeightOptions:n.string,color:n.oneOf(["white","grey"]),fontSizeLabel:n.string,fontSizeOptions:n.string,border:n.string,backgroundColor:n.string,disableColorOpen:n.bool,disabled:n.bool,Icon:n.elementType||n.element||n.func||n.node||n.object||n.any,displayOptions:n.string,height:n.string,paddingDropdownHeader:n.string,widthIcon:n.string,heightIcon:n.string,placeholderInputSearch:n.string,borderRadiusRight:n.string,borderRadiusLeft:n.string,labelText:n.string,subLabelText:n.any,gap:n.string,justifyContent:n.string,id:n.string,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,position:n.string,withoutOptions:n.bool,sortAlphabetically:n.bool};const S0=(e,r)=>{var s,i,o;if(!Array.isArray(e)&&typeof e!="object")throw new Error("Invalid data format. Expected an array or an object.");if(r){if(typeof e=="object"&&!Array.isArray(e))return(i=(s=Object.entries(e))==null?void 0:s.sort(([l],[a])=>l==null?void 0:l.localeCompare(a)))==null?void 0:i.reduce((l,[a,c])=>{var d;return l[a]=Array.isArray(c)?(d=c.map(u=>({id:u==null?void 0:u.id,name:u==null?void 0:u.name})))==null?void 0:d.sort((u,g)=>{var p;return(p=u.name)==null?void 0:p.localeCompare(g==null?void 0:g.name)}):[],l},{});throw new Error("Grouped mode requires data to be an object.")}if(Array.isArray(e))return{all:(o=e==null?void 0:e.map(l=>({id:l==null?void 0:l.id,name:l==null?void 0:l.name})))==null?void 0:o.sort((l,a)=>{var c;return(c=l.name)==null?void 0:c.localeCompare(a==null?void 0:a.name)})};throw new Error("Ungrouped mode requires data to be an array.")},T0=me.button`
|
|
382
382
|
display: flex;
|
|
383
383
|
font-family: Roboto, sans-serif;
|
|
384
384
|
width: 410px;
|
|
@@ -435,7 +435,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
435
435
|
display: flex;
|
|
436
436
|
justify-content: center;
|
|
437
437
|
align-items: center;
|
|
438
|
-
`,Ue=e=>{const{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconProp:c}=e;return t.jsxs(co,{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,className:"VibrantBlueStyle",style:{...a,display:"flex",alignItems:"center",gap:"15px",justifyContent:"center"},children:[e.children,c&&t.jsx(c,{style:{width:"30px",height:"25px"}})]})};Ue.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,backgroundcolor:n.string,border:n.string,color:n.string,style:n.object}),children:n.node||n.string,IconProp:n.any};const Vr=({data:e,grouped:r,divideColumns:s=!1,selectButton:i,onChange:o,onChangeFunction:l,label:a,width:c,textButton:d,maxHeight:u,keyReset:g,left:p=!1,minWidthDropdown:m="100%",disabled:x,textOverflow:v=!0,widthDropdown:h,error:j,fontSizeLabelText:z,fontSizeTooltip:D,heightTooltip:T,leftTooltip:k,tooltip:w,topTooltip:A,widthTooltip:H,isTooltipVisible:G,subLabelText:Z,labelText:f,language:B="es",textSelectAll:F="Seleccionar Todo",placeholderSearch:V="Buscar...",isRelative:Q=!1,selectedValues:K,fontSizeLabel:te,fontSizeOptions:U="1vw"})=>{const[_,I]=C.useState([]),[y,N]=C.useState(""),[P,S]=C.useState(!1),O=C.useRef(null),E=C.useRef(!1),L=C.useRef(K!==void 0);C.useEffect(()=>{K!==void 0&&(I(K),L.current=!0)},[K]);const W=S0(e,r),X=Object.values(W).flat().length>=Fr,J=()=>{if(y.trim()==="")return Object.values(W).flat();const ce=y.toLowerCase(),oe=[];return Object.entries(W).forEach(([de,ee])=>{if(!Array.isArray(ee)||ee.length===0)return;if(de.toLowerCase().includes(ce))oe.push(...ee);else{const Me=ee.filter(Ee=>Ee.name.toLowerCase().includes(ce));oe.push(...Me)}}),oe},q=J().length>0,ue=ce=>ce.map(oe=>{let de=null;if(r&&typeof e=="object"&&!Array.isArray(e)){for(const ee of Object.values(e))if(Array.isArray(ee)&&(de=ee.find(ie=>ie.id===oe),de))break}else Array.isArray(e)&&(de=e.find(ee=>ee.id===oe));if(de){const ee={id:de.id,name:de.name};return de.value!==void 0&&(ee.value=de.value),Object.keys(de).forEach(ie=>{Object.prototype.hasOwnProperty.call(ee,ie)||(ee[ie]=de[ie])}),ee}return null}).filter(Boolean),le=ce=>{if(E.current=!0,ce.target.checked){const oe=J(),de=oe.map(Me=>Me.id),ie=[..._.filter(Me=>!oe.some(Ne=>Ne.id===Me)),...de];if(I(ie),o&&o(ie),l){const Me=ue(ie);l(Me)}}else{const de=J().map(ie=>ie.id),ee=_.filter(ie=>!de.includes(ie));if(I(ee),o&&o(ee),l){const ie=ue(ee);l(ie)}}},fe=ce=>{E.current=!0,I(oe=>{const de=oe.includes(ce)?oe.filter(ee=>ee!==ce):[...oe,ce];if(o&&o(de),l){const ee=ue(de);l(ee)}return de})},Be=()=>{if(o&&o(_),l){const ce=ue(_);l(ce)}S(!1)};C.useEffect(()=>{const ce=oe=>{O.current&&!O.current.contains(oe.target)&&S(!1)};return document.addEventListener("mousedown",ce),()=>{document.removeEventListener("mousedown",ce)}},[O]),C.useEffect(()=>{P||N("")},[P]);const we=()=>_.map(oe=>{for(const de of Object.values(W)){const ee=de.find(ie=>ie.id===oe);if(ee)return ee.name}return null}).filter(Boolean).join(", ");C.useEffect(()=>{I([]),E.current=!1,K===void 0&&(L.current=!1)},[g,K]),C.useEffect(()=>{if(L.current&&!E.current){const ce=K||[];I(oe=>JSON.stringify(oe.sort())!==JSON.stringify(ce.sort())?ce:oe)}E.current=!1},[K]);const Re=Object.values(W).every(ce=>Array.isArray(ce)&&ce.length===0);return t.jsxs("div",{className:"relative",ref:O,children:[t.jsx(Qe,{label:_.length>0?we():a,onchange:()=>{},options:[],size:c,isOpen:P,setIsOpen:S,disabledClickOutside:!0,disabled:x,error:j,fontSizeLabelText:z,fontSizeTooltip:D,heightTooltip:T,leftTooltip:k,tooltip:w,topTooltip:A,widthTooltip:H,isTooltipVisible:G,labelText:f,subLabelText:Z,fontSizeLabel:te}),P&&t.jsxs("div",{className:"item-filter",style:{left:p?"0":"auto",right:p?"auto":"0",minWidth:m,width:h,position:Q?"relative":"absolute"},children:[t.jsxs("div",{children:[X&&t.jsx("div",{style:{padding:"4px 8px",fontSize:U,backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(Xt,{inputProperties:{placeholder:V,size:{width:"100%",height:"28px"},type:"text",onChange:ce=>N(ce.target.value),fontStyle:"italic"}})}),q&&t.jsx("div",{style:{padding:"0px 15px",fontSize:U,borderBottom:"1px solid #D0D0CE",backgroundColor:(()=>{const ce=J();return ce.length>0&&ce.every(de=>_.includes(de.id))?"#f4f4f4":"transparent"})()},children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{checked:(()=>{const ce=J();return ce.length>0&&(ce==null?void 0:ce.every(oe=>_==null?void 0:_.includes(oe.id)))})(),onChange:le,sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:F,sx:{"& .MuiFormControlLabel-label":{fontSize:U,whiteSpace:v?"nowrap":"normal",overflow:"hidden",textOverflow:v?"ellipsis":"clip",textAlign:"start"}}})})]}),t.jsxs("div",{className:"items-list",children:[!q&&y.trim()!==""?t.jsxs("div",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:U,overflowWrap:"break-word"},children:['No se encontraron resultados para "',y,'"']}):(()=>{const ce=Object.entries(W).filter(([oe,de])=>{var Ee;if(!Array.isArray(de)||de.length===0)return!1;if(y.trim()==="")return!0;const ee=y.toLowerCase(),ie=(Ee=oe==null?void 0:oe.toLowerCase())==null?void 0:Ee.includes(ee),Me=de==null?void 0:de.some(Ne=>{var ae,Se;return(Se=(ae=Ne==null?void 0:Ne.name)==null?void 0:ae.toLowerCase())==null?void 0:Se.includes(ee)});return ie||Me});return ce==null?void 0:ce.map(([oe,de],ee)=>t.jsxs("div",{className:"item-group",style:{margin:r&&ee===0?"8px":"0"},children:[oe!=="Ungrouped"&&r&&t.jsxs(t.Fragment,{children:[t.jsx("h3",{style:{fontSize:U,margin:"0",fontStyle:"italic",fontWeight:"600",lineHeight:"22px"},children:oe}),t.jsx("div",{className:"item",style:{backgroundColor:(()=>{const ie=de==null?void 0:de.filter(Ee=>{var Se,Ye,nt;if((y==null?void 0:y.trim())==="")return!0;const Ne=y==null?void 0:y.toLowerCase();return((Se=oe==null?void 0:oe.toLowerCase())==null?void 0:Se.includes(Ne))?!0:(nt=(Ye=Ee==null?void 0:Ee.name)==null?void 0:Ye.toLowerCase())==null?void 0:nt.includes(Ne)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(Ee=>_==null?void 0:_.includes(Ee.id)))?"#f4f4f4":"transparent"})()},children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{checked:(()=>{const ie=de.filter(Me=>{var ae,Se,Ye;if((y==null?void 0:y.trim())==="")return!0;const Ee=y==null?void 0:y.toLowerCase();return((ae=oe==null?void 0:oe.toLowerCase())==null?void 0:ae.includes(Ee))?!0:(Ye=(Se=Me==null?void 0:Me.name)==null?void 0:Se.toLowerCase())==null?void 0:Ye.includes(Ee)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(Me=>_==null?void 0:_.includes(Me.id)))})(),onChange:ie=>{E.current=!0;const Ee=de.filter(Ne=>{if(y.trim()==="")return!0;const ae=y.toLowerCase();return oe.toLowerCase().includes(ae)?!0:Ne.name.toLowerCase().includes(ae)}).map(Ne=>Ne.id);if(ie.target.checked){const Ne=Ee.filter(Se=>!_.includes(Se)),ae=[..._,...Ne];if(I(ae),o&&o(ae),l){const Se=ue(ae);l(Se)}}else{const Ne=_.filter(ae=>!Ee.includes(ae));if(I(Ne),o&&o(Ne),l){const ae=ue(Ne);l(ae)}}},sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:(()=>{if(r&&typeof e=="object"&&!Array.isArray(e)){const ie=e[oe];if(Array.isArray(ie)&&ie.length>0&&ie[0].groupLabel)return ie[0].groupLabel}return`Seleccionar ${oe}`})(),sx:{"& .MuiFormControlLabel-label":{fontSize:U,fontWeight:"400",lineHeight:"22px",whiteSpace:v?"nowrap":"normal",overflow:"hidden",textOverflow:v?"ellipsis":"clip"}}})})]}),de.filter(ie=>{if(y.trim()==="")return!0;const Me=y.toLowerCase();return oe.toLowerCase().includes(Me)?!0:ie.name.toLowerCase().includes(Me)}).map(ie=>t.jsx("div",{className:"item",style:{backgroundColor:_.includes(ie.id)?"#f4f4f4":"transparent"},children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{checked:_.includes(ie.id),onChange:()=>fe(ie.id),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:ie.name,sx:{"& .MuiFormControlLabel-label":{fontSize:U,fontWeight:"400",lineHeight:"22px",whiteSpace:v?"nowrap":"normal",overflow:"hidden",textOverflow:v?"ellipsis":"clip"}}})},ie.id))]},oe))})(),Re&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:U,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]}),i&&t.jsx("div",{className:"containerButtonSelectAll",children:t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>Be()},children:d})})]})]})};Vr.propTypes={data:n.array,grouped:n.bool,divideColumns:n.bool,selectButton:n.bool,onChange:n.func,onChangeFunction:n.func,label:n.string,width:n.string,textButton:n.string,maxHeight:n.string,keyReset:n.number,left:n.bool,minWidthDropdown:n.string,disabled:n.bool,textOverflow:n.bool,widthDropdown:n.string,error:n.bool,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,subLabelText:n.string,labelText:n.string,language:n.string,textSelectAll:n.string,placeholderSearch:n.string,isRelative:n.bool,selectedValues:n.array,fontSizeLabel:n.string,fontSizeOptions:n.string};const E0=e=>t.jsx(Qe,{color:"grey",...e}),N0=_e(t.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),D0=_e(t.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),A0=_e(t.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function O0(e){return rt("MuiCheckbox",e)}const Zr=ct("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),I0=e=>{const{classes:r,indeterminate:s,color:i,size:o}=e,l={root:["root",s&&"indeterminate",`color${Oe(i)}`,`size${Oe(o)}`]},a=gt(l,O0,r);return{...r,...a}},R0=Fe($r,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.indeterminate&&r.indeterminate,r[`size${Oe(s.size)}`],s.color!=="default"&&r[`color${Oe(s.color)}`]]}})(xt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[r].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r},style:{[`&.${Zr.checked}, &.${Zr.indeterminate}`]:{color:(e.vars||e).palette[r].main},[`&.${Zr.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),P0=t.jsx(D0,{}),W0=t.jsx(N0,{}),$0=t.jsx(A0,{}),ho=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiCheckbox"}),{checkedIcon:o=P0,color:l="primary",icon:a=W0,indeterminate:c=!1,indeterminateIcon:d=$0,inputProps:u,size:g="medium",disableRipple:p=!1,className:m,slots:x={},slotProps:v={},...h}=i,j=c?d:a,z=c?d:o,D={...i,disableRipple:p,color:l,indeterminate:c,size:g},T=I0(D),k=v.input??u,[w,A]=qt("root",{ref:s,elementType:R0,className:We(T.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:x,slotProps:v,...h},ownerState:D,additionalProps:{type:"checkbox",icon:re.cloneElement(j,{fontSize:j.props.fontSize??g}),checkedIcon:re.cloneElement(z,{fontSize:z.props.fontSize??g}),disableRipple:p,slots:x,slotProps:{input:u1(typeof k=="function"?k(D):k,{"data-indeterminate":c})}}});return t.jsx(w,{...A,classes:T})});process.env.NODE_ENV!=="production"&&(ho.propTypes={checked:n.bool,checkedIcon:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["default","primary","secondary","error","info","success","warning"]),n.string]),defaultChecked:n.bool,disabled:n.bool,disableRipple:n.bool,icon:n.node,id:n.string,indeterminate:n.bool,indeterminateIcon:n.node,inputProps:n.object,onChange:n.func,required:n.bool,size:n.oneOfType([n.oneOf(["medium","small"]),n.string]),slotProps:n.shape({input:n.oneOfType([n.func,n.object]),root:n.oneOfType([n.func,n.object])}),slots:n.shape({input:n.elementType,root:n.elementType}),sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),value:n.any});const uo=e=>{const[r,s]=C.useState(!1),[i,o]=C.useState([]),l=C.useRef(null),{options:a,onchange:c,label:d,size:u,error:g,keyReset:p,fontSizeOptions:m="0.9vw",disabled:x,maxHeightOptions:v,labelText:h,subLabelText:j,gap:z="0",fontSizeLabel:D="0.9vw",onChangeFunction:T,id:k,fontSizeLabelText:w,fontSizeTooltip:A,heightTooltip:H,leftTooltip:G,tooltip:Z,topTooltip:f,widthTooltip:B,isTooltipVisible:F,placeholderInputSearch:V="Buscar...",sortAlphabetically:Q=!0}=e,[K,te]=C.useState(a);C.useEffect(()=>{const S=Q?[...a].sort((O,E)=>{var L;return(L=O.label)==null?void 0:L.localeCompare(E.label)}):[...a];te(S)},[a,Q]);const U=S=>{o(O=>O.some(E=>pt.isEqual(E,S))?(c&&c(O.filter(E=>!pt.isEqual(E,S))),T&&T({id:k,value:O.filter(E=>!pt.isEqual(E,S))}),O.filter(E=>!pt.isEqual(E,S))):(c&&c([...O,S]),T&&T({id:k,value:[...O,S]}),[...O,S]))},_=()=>i.length===0?d:i.map(S=>{const O=a.find(E=>pt.isEqual(E.value,S));return O?O.label:""}).filter(Boolean).join(", ");C.useEffect(()=>{o([])},[p]);const I=S=>{l.current&&!l.current.contains(S.target)&&s(!1)};C.useEffect(()=>(document.addEventListener("mousedown",I),()=>{document.removeEventListener("mousedown",I)}),[]),C.useEffect(()=>{if(!r){const S=Q?[...a].sort((O,E)=>{var L;return(L=O.label)==null?void 0:L.localeCompare(E.label)}):[...a];te(S),N("")}},[r,a,Q]);const[y,N]=C.useState(""),P=S=>{const O=S.target.value;N(O);const E=a.filter(W=>W.label.toLowerCase().includes(O.toLowerCase())),L=Q?E.sort((W,R)=>{var X;return(X=W.label)==null?void 0:X.localeCompare(R.label)}):E;te(L)};return t.jsxs("div",{ref:l,className:"relative",style:{width:u},children:[t.jsx(Qe,{label:_(),onchange:()=>{},options:[],size:u,isOpen:r,setIsOpen:s,disabledClickOutside:!0,disabled:x,error:g,labelText:h,gap:z,subLabelText:j,fontSizeLabel:D,fontSizeLabelText:w,fontSizeTooltip:A,heightTooltip:H,leftTooltip:G,tooltip:Z,topTooltip:f,widthTooltip:B,isTooltipVisible:F}),r&&t.jsxs("ul",{className:"multiselect-options",style:{maxHeight:v},children:[a.length>=Fr&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(Xt,{inputProperties:{placeholder:V,size:{width:"100%",height:"28px"},type:"text",onChange:S=>P(S),fontStyle:"italic"}})}),K.length===0&&y.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:m,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',y,'"']}):K.map(S=>t.jsxs("li",{onClick:()=>U(S.value),className:i.some(O=>pt.isEqual(O,S.value))?"selected":"",style:{fontSize:m},children:[t.jsx(ho,{checked:i.some(O=>pt.isEqual(O,S.value)),onChange:O=>{O.stopPropagation(),U(S.value)},onClick:()=>U(S.value),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),S.label]},S.value.title||S.value)),a.length===0&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:m,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]})]})};uo.propTypes={options:n.array,onchange:n.func,label:n.string,size:n.string,error:n.bool,keyReset:n.number,fontSizeOptions:n.string,disabled:n.bool,maxHeightOptions:n.string,labelText:n.string,subLabelText:n.any,gap:n.string,onChangeFunction:n.func,id:n.string,fontSizeLabel:n.string,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,placeholderInputSearch:n.string,inputProperties:n.object,sortAlphabetically:n.bool};const fo=e=>t.jsx(Qe,{...e,inputRadio:!0});fo.propTypes={size:n.string,options:n.array,label:n.string,onchange:n.func,error:n.bool};const po=({width:e,fontSize:r,onchange:s})=>{const[i,o]=C.useState(!1),[l,a]=C.useState(""),c=C.useRef(null),d=x=>{x.preventDefault(),o(!0)},u=x=>{x.preventDefault(),o(!1)},g=x=>{if(x.preventDefault(),o(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0){const v=x.dataTransfer.files[0];s(v),a(v.name)}},p=x=>{if(x.target.files&&x.target.files.length>0){const v=x.target.files[0];s(v),a(v.name)}},m=()=>{var x;(x=c.current)==null||x.click()};return t.jsxs("div",{className:`drag-drop-upload ${i?"dragging":""}`,onDragOver:d,onDragLeave:u,onDrop:g,onClick:m,style:{width:e},children:[t.jsx(Sn,{}),l?t.jsx("p",{className:"upload-text file-name",style:{fontSize:r},children:l}):t.jsxs("p",{className:"upload-text",style:{fontSize:r},children:[t.jsx("span",{children:"Seleccione archivo"})," o arrastre hasta aquí (word, excel, png, jpg o pdf)"]}),t.jsx("input",{type:"file",ref:c,onChange:p,style:{display:"none"},accept:".pdf,.doc,.docx,.xlsx,.png,.jpg,.jpeg"})]})};po.propTypes={width:n.string,fontSize:n.string,onchange:n.func};const go=e=>{const{inputProperties:r,size:s,height:i="200px"}=e,[o,l]=C.useState(0),a=c=>{l(c.target.value.length),r.onChange&&r.onChange(c)};return t.jsxs(C1,{style:{width:s,height:i},children:[t.jsx("textarea",{...r,maxLength:220,onChange:a}),t.jsxs("p",{children:[o,"/220"]})]})};go.propTypes={inputProperties:n.object,size:n.string,height:n.string,handleChange:n.func};const mo=e=>{var s,i,o;const{inputProperties:r}=e;return t.jsxs(v1,{style:{...r==null?void 0:r.size},isSuccessful:(s=r==null?void 0:r.state)==null?void 0:s.success,children:[t.jsx(b1,{...r}),((i=r==null?void 0:r.state)==null?void 0:i.error)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{children:"*"})}),((o=r==null?void 0:r.state)==null?void 0:o.success)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{style:{color:"#009470",fontSize:"15px"},children:"✔"})})]})};mo.propTypes={inputProperties:n.object};const yo=({label:e,onchange:r,textSelect:s,width:i,labelText:o,subLabelText:l,fontSize:a})=>{const[c,d]=C.useState("00"),[u,g]=C.useState("00"),[p,m]=C.useState(!1),[x,v]=C.useState(e??"Hora Inicio"),h=C.useRef(),j=C.useRef(),z=Array.from({length:24},(A,H)=>H.toString().padStart(2,"0")),D=Array.from({length:60},(A,H)=>H.toString().padStart(2,"0"));C.useEffect(()=>{const A=H=>{j.current&&!j.current.contains(H.target)&&m(!1)};return document.addEventListener("mousedown",A),()=>{document.removeEventListener("mousedown",A)}},[]);const T=()=>{m(!1);const A=`${c}:${u}`;v(A),r(A)},k=A=>{let H=A.target.value.replace(/\D/g,"");H.length>4&&(H=H.slice(0,4));let G=H;if(H.length>=3&&(G=`${H.slice(0,2)}:${H.slice(2)}`),v(G),G.length===5){const[Z,f]=G.split(":");parseInt(Z,10)>=0&&parseInt(Z,10)<24&&parseInt(f,10)>=0&&parseInt(f,10)<60?(d(Z),g(f),r(G)):v(`${c}:${u}`)}},w=()=>{m(!p),h.current.focus()};return t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"flex",gap:"5px"},children:[o&&t.jsx("label",{className:"label-library",children:o}),l&&t.jsx("label",{className:"sub-label",children:l})]}),t.jsxs("div",{className:"time-picker-container",ref:j,style:{width:i},children:[t.jsxs("div",{className:"time-picker-input-wrapper",children:[t.jsx("input",{type:"text",ref:h,value:x,onChange:k,placeholder:"00:00",className:"time-picker-input",maxLength:5,style:{fontSize:a}}),t.jsx("button",{className:"time-picker-button",onClick:w,"aria-label":"Abrir selector de tiempo",children:t.jsx(ki,{})})]}),p&&t.jsxs("div",{className:"time-picker-dropdown",children:[t.jsxs("div",{className:"time-columns",children:[t.jsx("div",{className:"time-column",children:z.map(A=>t.jsx("div",{className:`time-option ${c===A?"selected":""}`,onClick:()=>d(A),children:A},A))}),t.jsx("div",{className:"time-column",children:D.map(A=>t.jsx("div",{className:`time-option ${u===A?"selected":""}`,onClick:()=>g(A),children:A},A))})]}),t.jsx("button",{className:"ok-button",onClick:T,children:s??"Seleccionar"})]})]})]})};yo.propTypes={label:n.string,onchange:n.func,textSelect:n.string,width:n.string,labelText:n.string,subLabelText:n.any,fontSize:n.string};const xo=e=>{var H;const[r,s]=C.useState(!1),{label:i,inputProperties:o,error:l,fontSizeLabel:a,subLabel:c,fontSizeInput:d,disabled:u,fontSizeTooltip:g,heightTooltip:p,leftTooltip:m,tooltip:x,topTooltip:v,widthTooltip:h,isTooltipVisible:j,keyReset:z}=e,D=G=>{o.handleChange&&o.handleChange(G)},T={...o};if(T.style&&T.style.width){const{width:G,...Z}=T.style;T.style=Z}const k=o==null?void 0:o.value,[w,A]=C.useState(k??"");return C.useEffect(()=>{k!==void 0&&A(k)},[k]),C.useEffect(()=>{z&&A("")},[z]),t.jsxs("div",{style:{width:(H=o==null?void 0:o.style)==null?void 0:H.width},children:[i&&t.jsx(Yt,{fontSizeTitle:a,fontSizeTooltip:g,heightTooltip:p,left:m,subTitle:c,title:i,tooltip:x,top:v,widthTooltip:h,isTooltipVisibleProp:j,marginBottom:"5px",htmlFor:(o==null?void 0:o.id)||"text-input"}),t.jsx(ar,{isfocused:r,haserror:l,style:{width:"100%"},children:t.jsx(cr,{id:o==null?void 0:o.id,onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:D,fontSizeInput:d,...k!==void 0?{value:w}:{},disabled:u,style:{width:"90%"},...T})}),l&&t.jsx(yi,{children:l})]})};xo.propTypes={label:n.string,inputProperties:n.object,error:n.bool,fontSizeLabel:n.string,subLabel:n.string,fontSizeInput:n.string,value:n.string,disabled:n.bool,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,keyReset:n.bool};const vo=e=>t.jsx("button",{className:"button-search",...e,children:t.jsx(y1,{})}),bo=e=>{const[r,s]=C.useState(!1),[i,o]=C.useState(""),{label:l,inputProperties:a,error:c,fontSizeLabel:d,borderRadiusRight:u="4px",borderRadiusLeft:g="4px"}=e,p=x=>{o(x.target.value),a.handleChange(x)},m=x=>{x.preventDefault();const v={target:{value:i,id:a.id||"text-input"},preventDefault:()=>{}};a.handleChange(v)};return t.jsxs("form",{style:{...a==null?void 0:a.size},onSubmit:m,children:[l&&t.jsx(x1,{htmlFor:a.id||"text-input",style:{fontSize:d},children:l}),t.jsxs(ar,{isfocused:r,haserror:c,disabled:a.disabled,style:{width:"100%",position:"relative",borderTopRightRadius:u,borderBottomRightRadius:u,borderTopLeftRadius:g,borderBottomLeftRadius:g},children:[t.jsx(cr,{onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:p,value:i,...a}),t.jsx("div",{style:{display:"flex",alignItems:"center",position:"absolute",right:"0px",height:"100%"},children:t.jsx(vo,{disabled:a.disabled})})]}),c&&t.jsx(yi,{children:c})]})};bo.propTypes={label:n.string,inputProperties:n.object,error:n.bool,fontSizeLabel:n.string,borderRadiusRight:n.string,borderRadiusLeft:n.string};const _0=()=>{const[e,r]=C.useState(15),s=()=>{r(l=>l+1)},i=()=>{r(l=>l-1)},o=l=>{const a=parseInt(l.target.value);isNaN(a)||r(a)};return t.jsxs("div",{className:"number-spinner",children:[t.jsx("input",{type:"number",value:e,onChange:o,className:"number-input"}),t.jsxs("div",{className:"spinner-buttons",children:[t.jsx("button",{onClick:s,className:"spinner-button up",children:"▲"}),t.jsx("button",{onClick:i,className:"spinner-button down",children:"▼"})]})]})},jo=({options:e,value:r,onChange:s,width:i,disabled:o,height:l,widthIcon:a,heightIcon:c,keyReset:d})=>{const u=({value:p})=>{s(p)},g=p=>p.map(m=>({label:m.toString(),value:m}));return t.jsx(Qe,{label:r,onchange:u,options:g(e),Icon:$i,size:i,disabled:o,paddingDropdownHeader:"0 0.5vw",height:l,widthIcon:a,heightIcon:c,keyReset:d,sortAlphabetically:!1})};jo.propTypes={options:n.array,value:n.any,onChange:n.func,disabled:n.bool,width:n.string,height:n.string,widthIcon:n.string,heightIcon:n.string,keyReset:n.number};const wo=e=>{const{data:r,onChange:s,label:i,size:o,error:l,keyReset:a,fontSizeOptions:c="0.9vw",fontSizeTitleOptions:d="1vw",fontSizeLabel:u,disabled:g,maxHeightOptions:p,value:m,hasDivisions:x,fontSizeLabelText:v,fontSizeTooltip:h,heightTooltip:j,leftTooltip:z,tooltip:D,topTooltip:T,widthTooltip:k,isTooltipVisible:w,labelText:A,subLabelText:H}=e,[G,Z]=C.useState(!1),f=C.useRef(null),[B,F]=C.useState(m||""),V=K=>{F(K),Z(!1),s&&s(K)};C.useEffect(()=>{F("")},[a]);const Q=K=>{f.current&&!f.current.contains(K.target)&&Z(!1)};return C.useEffect(()=>(document.addEventListener("mousedown",Q),()=>{document.removeEventListener("mousedown",Q)}),[]),t.jsxs("div",{ref:f,className:"relative",style:{width:o},children:[t.jsx(Qe,{label:B.label||i,onchange:()=>{},options:[],size:o,isOpen:G,setIsOpen:Z,disabledClickOutside:!0,disabled:g,error:l,fontSizeLabel:u,fontSizeLabelText:v,fontSizeTooltip:h,heightTooltip:j,leftTooltip:z,tooltip:D,topTooltip:T,widthTooltip:k,isTooltipVisible:w,labelText:A,subLabelText:H}),G&&t.jsx("ul",{className:"item-filter",style:{width:"100%",maxHeight:p},children:r.map(K=>t.jsxs("div",{className:`item-group ${x?"border-bottom-select":""}`,style:{marginTop:"15px"},children:[t.jsx("h3",{style:{fontSize:d,fontWeight:"700"},children:K.title}),K.options.map(te=>t.jsx("div",{onClick:()=>V(te),className:"item",style:{padding:"15px 20px",width:"100%",fontSize:c,cursor:"pointer",fontWeight:"400"},children:te.label},te.label))]},K.title))})]})};wo.propTypes={data:n.array,onChange:n.func,label:n.string,size:n.string,error:n.bool,keyReset:n.number,fontSizeLabel:n.string,fontSizeOptions:n.string,disabled:n.bool,maxHeightOptions:n.string,value:n.string,fontSizeTitleOptions:n.string,hasDivisions:n.bool,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,labelText:n.string,subLabelText:n.string};const ko=({onChange:e,text:r,subText:s,fontSize:i,fileTypes:o,id:l,ref:a=null,multiple:c=!1})=>{const d=a||C.useRef(null),[u,g]=C.useState(!1),p=j=>{j.preventDefault(),g(!0)},m=j=>{j.preventDefault(),g(!1)},x=j=>{j.preventDefault(),g(!1),j.dataTransfer.files&&j.dataTransfer.files[0]&&e({file:j.dataTransfer.files[0],id:l})},v=()=>{d.current.click()},h=j=>{j.target.files&&j.target.files[0]&&e({file:j.target.files[0],id:l}),j.target.value=""};return t.jsxs("div",{className:`file-upload ${u?"dragging":""}`,onDragOver:p,onDragLeave:m,onDrop:x,onClick:v,style:{backgroundColor:"white"},children:[t.jsx("input",{ref:d,type:"file",className:"file-input",accept:o,onChange:h,multiple:c}),t.jsxs("div",{className:"flex align-center",style:{gap:"0.8vw"},children:[t.jsx(Sn,{fill:"#8598AD"}),t.jsxs("div",{className:"flex gap-05",style:{borderBottom:"1px solid #8598AD"},children:[t.jsx("p",{className:"upload-text",style:{fontSize:i,borderBottom:"0px",paddingRight:"4px"},children:r}),t.jsx("p",{className:"sub-text",style:{fontSize:i,borderBottom:"0px"},children:s})]})]})]})};ko.propTypes={onChange:n.func,text:n.string,subText:n.string,fontSize:n.string,fileTypes:n.string,id:n.string,multiple:n.bool};const Co=({handleReset:e,disabled:r})=>t.jsx("button",{className:`button-reset ${r?"disabled":""}`,onClick:()=>e(),disabled:r,children:t.jsx(Cn,{})});Co.propTypes={handleReset:n.func,disabled:n.bool};const So=({width:e})=>t.jsxs(z0,{style:{backgroundColor:"#f5f6fa",width:e},children:[t.jsx(Hr,{children:t.jsx(ur,{width:"100%",height:"30px"})}),t.jsx(Hr,{children:t.jsx(hr,{width:"100%",height:"30px"})}),t.jsx(Hr,{children:t.jsx(dr,{width:"60%",height:"30px"})})]});So.propTypes={width:n.string};const B0={colors:{backgroundPrimary:"#f5f6fa",backgroundSecondary:"#ffffff",backgroundThird:"#DDE3F1",contrastPrimary:"#0b14a7",contrastSecondary:"#33A4DD",contrastBackground:"#d4eaf5",dangerPrimary:"#FF3F3F",textSecondary:"#97A7B9",secondaryColor:"#0047AB",circularComponentContrast:"#797979",bottonSecondary:"#d3ecf8",bottonSuccess:"#119672",circularComponentBackground:"#d3ecf8",circularComponentCheckBackground:"#c4ebe0",circularComponentBackgroundDisabled:"#797979",buttonBlueBackground:"#21459c"},size:{xs:"0.8vw",s:"1vw",m:"1.3vw",l:"1.5vw",xl:"2vw"},gap:{xs:"0.5vw",s:"1vw",m:"1.5vw",l:"2vw",xl:"2.5vw"},typography:{body1:{fontSize:"1rem"}}},Jt=e=>{const r=e==null?void 0:e.IconProp;return t.jsx(me.ThemeProvider,{theme:B0,children:t.jsxs(T0,{...e.buttonProperties,children:[r&&t.jsx(r,{style:{width:"30px",height:"30px"}}),e.children]})})};Jt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.any};const To=e=>{const r={...e,buttonProperties:{backgroundcolor:"#119672",...e.buttonProperties,style:{color:"white",...e.buttonProperties.style}}};return t.jsx(Ue,{...r,children:e.children})};To.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Mo=({onClick:e,width:r,fontSize:s,disabled:i,children:o="DESCARGAR",icon:l,diseableOption:a})=>{const[c,d]=C.useState(!1),u=C.useRef(null);C.useEffect(()=>{const p=m=>{u.current&&!u.current.contains(m.target)&&d(!1)};return document.addEventListener("mousedown",p),()=>{document.removeEventListener("mousedown",p)}},[]);const g=p=>{e(p),d(!1)};return t.jsxs("div",{className:`download-button-container ${i?"disabled":""}`,ref:u,style:{width:r},children:[t.jsx("button",{className:"download-button",onClick:()=>!i&&d(!c),children:t.jsxs("span",{style:{display:"flex",alignItems:"center",gap:"0.2vw",fontSize:s},children:[l,o]})}),t.jsx("div",{className:`arrowContainer ${i?"disabled":""}`,onClick:()=>!i&&d(!c),children:t.jsx("i",{className:`arrow-white ${c?"up":"down"}`})}),c&&t.jsxs("div",{className:"dropdown-menu",style:{width:r},children:[!(a!=null&&a.csv)&&t.jsx("button",{onClick:()=>g("csv"),children:"CSV"}),!(a!=null&&a.xlsx)&&t.jsx("button",{onClick:()=>g("xlsx"),children:"XLSX"})]})]})};Mo.propTypes={onClick:n.func,width:n.string,fontSize:n.string,disabled:n.bool,children:n.string,icon:n.element,diseableOption:n.object};const zo=({onclick:e,height:r})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:r},children:t.jsx(Ei,{})});zo.propTypes={onclick:n.func,height:n.string};const Eo=({onclick:e,height:r})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:r},children:t.jsx(Ni,{})});Eo.propTypes={onclick:n.func,height:n.string};const L0=_e(t.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle"),No=e=>{const s={IconProp:L0,...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",border:"1px solid #21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Jt,{...s,children:e.children})};No.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Do=e=>{const s={...e,IconProp:kn};return t.jsx(Jt,{...s})};Do.propTypes={buttonProperties:n.shape({disabled:n.bool}),children:n.node||n.string,IconProp:n.node};const Ur=e=>t.jsx(M0,{...e.buttonProperties,children:e.children});Ur.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string};const Nt=e=>{const r={...e,buttonProperties:{backgroundcolor:"white",border:"1px solid #33a4dd",color:"#33a4dd",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Ue,{...r})};Nt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const F0=_e(t.jsx("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 10V8h-2v4H8l4 4 4-4z"}),"ArrowCircleDown"),Ao=e=>{const s={...e,IconProp:F0};return t.jsx(Jt,{...s})};Ao.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.node};const Oo=e=>{const{children:r,onChange:s,disabled:i,width:o,fontSize:l,id:a}=e,c={width:o||"auto",display:"inline-flex",alignItems:"center",justifyContent:"space-between",padding:"10px 20px",backgroundColor:i?"#7e8080":"#33a4dd",color:"white",borderRadius:"4px",border:"none",cursor:i?"not-allowed":"pointer",fontSize:l||"14px",transition:"background-color 0.3s",fontFamily:"'Roboto', sans-serif"},d={marginLeft:"10px",width:"20px",height:"20px"},u=g=>{const p=g.target.files[0];s(p)};return t.jsxs("div",{children:[t.jsx("input",{type:"file",id:a,accept:"image/*",disabled:i,style:{display:"none"},onChange:g=>u(g)}),t.jsxs("label",{htmlFor:a,style:c,children:[r,t.jsx(kn,{style:d})]})]})};Oo.propTypes={children:n.node||n.string,onChange:n.func,disabled:n.bool,width:n.string,fontSize:n.string,id:n.string};const Dn=({buttonProperties:e={},...r})=>{const s={backgroundcolor:"transparent",border:"1px solid #fcb035",color:"black",...e,style:{...e.style}};return t.jsx(Ue,{...r,buttonProperties:s,children:r.children})};Dn.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const H0=_e(t.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1"}),"AddBoxRounded"),Io=({marginBottom:e,onClick:r})=>t.jsx(H0,{sx:{color:"#8598ad",width:20,height:20,marginBottom:e,cursor:"pointer"},onClick:r});Io.propTypes={marginBottom:n.string,onClick:n.func};const Ro=e=>{const r={...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Ur,{...r})};Ro.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Yr=({children:e,buttonProperties:r,widthIcon:s="70%",icon:i=t.jsx(xr,{width:s})})=>t.jsxs(Nt,{buttonProperties:r,children:[i,e]});Yr.propTypes={children:n.string,icon:n.node,buttonProperties:n.object,widthIcon:n.string};const Po=({onChange:e,isOpen:r})=>{const[s,i]=C.useState(r),o=()=>{i(!s),e&&e(s)};return t.jsx("button",{className:"reset-styles-button",onClick:o,children:s?t.jsx(br,{}):t.jsx(vr,{})})};Po.propTypes={onChange:n.func,isOpen:n.bool};const qr=({onChange:e,isOpen:r,color:s,hasHover:i,padding:o,display:l,height:a,width:c})=>t.jsx("button",{type:"button",onClick:()=>e(!r),className:`reset-styles-button arrow-button ${i?"hoverclass":""}`,style:{height:a,width:c,transition:"transform 0.3s ease",display:l},children:t.jsx("i",{className:`arrow-blue-container ${r?"up":"down"}`,style:{borderColor:s,padding:o}})});qr.propTypes={onChange:n.func,isOpen:n.bool,color:n.string,hasHover:n.bool,padding:n.string,display:n.string,height:n.string,width:n.string};const Wo=({className:e,text:r,onClick:s})=>t.jsxs("button",{className:`button-clean-filters ${e} `,onClick:s,children:[t.jsx(kr,{})," ",t.jsx("span",{children:r})]});Wo.propTypes={className:n.string,text:n.string,onClick:n.func};const $o=({textOpen:e,textClose:r,isOpen:s,onChange:i,className:o})=>{const[l,a]=C.useState(s);C.useEffect(()=>{a(s)},[s]);const c=()=>{const d=!l;a(d),i&&i(d)};return t.jsxs("button",{className:`button-vibrant-blue ${o}`,onClick:c,children:[t.jsx("span",{className:"button-eye-text",children:l?r:e}),l?t.jsx(br,{}):t.jsx(vr,{})]})};$o.propTypes={textOpen:n.string,textClose:n.string,isOpen:n.bool,onChange:n.func,className:n.string};const _o=({children:e,widthIcon:r="10%",width:s,icon:i=t.jsx(Zi,{width:r}),arrowRightIcon:o=t.jsx(Mr,{width:r}),hasOptions:l=!1,onClick:a,onOptionSelect:c,options:d,className:u,...g})=>{const[p,m]=C.useState(!1),x=C.useRef(null),v=h=>{m(!1),c==null||c(h)};return C.useEffect(()=>{const h=j=>{x.current&&!x.current.contains(j.target)&&m(!1)};return p&&document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[p]),t.jsxs("button",{ref:x,className:`button-white-border-blue-send-email ${u}`,...g,style:{width:s},onClick:()=>{l&&m(!p),a==null||a()},children:[i,e,l?t.jsx("i",{className:`arrow-white ${p?"up":"down"}`}):o,p&&d&&t.jsx("ul",{className:"dropdown-options--button-white-border",style:{width:s},children:d.map(h=>t.jsx("li",{className:"dropdown-options--button-white-border-li",onClick:()=>v(h),children:h.value},h.id))})]})};_o.propTypes={children:n.string,icon:n.node,widthIcon:n.string,arrowRightIcon:n.node,hasOptions:n.bool,onClick:n.func,onOptionSelect:n.func,options:n.arrayOf(n.object),width:n.string,className:n.string};const Bo=e=>{const{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconLeft:c=t.jsx(Ui,{}),IconRight:d=t.jsx(Mr,{})}=e;return t.jsxs(co,{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,className:"VibrantBlueStyle ButtonVibrantBlueSend",style:{...a,display:"flex",alignItems:"center",gap:"15px",justifyContent:"center"},children:[c,e.children,d]})};Bo.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,backgroundcolor:n.string,border:n.string,color:n.string,style:n.object}),children:n.node||n.string,IconLeft:n.any,IconRight:n.any};const Gr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-active",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(Mn,{}),"Activo"]});Gr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Kr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-inactive",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(Mi,{}),"Inactivo"]});Kr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Xr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-canceled",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(Di,{}),"Cancelada"]});Xr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Jr=({width:e,fontSize:r,icon:s,marginAuto:i,height:o})=>{const[l,a]=C.useState(!1);return t.jsxs("div",{className:"state-basic states-completed",style:{width:e,fontSize:r,margin:i?"auto":"",height:o},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[t.jsx(Ti,{}),"Finalizada",s&&t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(En,{height:27,background:"#d8f6c4",fillIcon:"#ff0000"})}),s&&l&&t.jsx("div",{className:"absolute hoverStates",children:"Devoluciones"})]})};Jr.propTypes={width:n.string,fontSize:n.string,icon:n.bool,marginAuto:n.bool,height:n.string};const Qr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-inTransit",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(zi,{}),"En tránsito",t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(En,{height:i})})]});Qr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Lo=({children:e,className:r="",classNameIcon:s="",fill:i="#54AC1B",...o})=>t.jsxs("div",{className:`state-basic ${r}`.trim(),...o,children:[t.jsx(Mn,{className:s,fill:i}),e]});Lo.propTypes={children:n.node,className:n.string,classNameIcon:n.string,fill:n.string};const ft=_e(t.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),Fo=({width:e,fontSize:r,children:s,onDelete:i,background:o,fontWeight:l,id:a,className:c})=>t.jsxs("div",{className:`chip ${c}`,style:{width:e,fontSize:r,background:o,fontWeight:l},children:[s,t.jsx("button",{className:"reset-styles-button",onClick:()=>i({children:s,id:a}),children:t.jsx(ft,{sx:{color:"#8598ad",height:"16px"}})})]});Fo.propTypes={width:n.string,fontSize:n.string,children:n.any,onDelete:n.func,background:n.string,fontWeight:n.string,id:n.string,className:n.string};const es=({children:e,onChange:r,isSelect:s,height:i})=>t.jsx("div",{className:`toggle-chip ${s?"active":""}`,style:{height:i},onClick:()=>r({isSelect:!s,value:e}),children:e});es.propTypes={children:n.any,onChange:n.func,isSelect:n.bool,height:n.string};const Ho=({children:e,className:r=""})=>t.jsx("div",{className:`chip-section ${r}`,children:e});Ho.propTypes={children:n.node,className:n.string};const Vo=({text:e,icon:r,className:s,color:i,background:o,onDelete:l})=>t.jsxs("div",{className:`chip chip-with-icon ${s}`,style:{background:o},children:[r,t.jsx("span",{className:"chip-text",children:e}),l&&t.jsx("button",{className:"reset-styles-button",onClick:()=>l(e),children:t.jsx(ft,{sx:{color:i,height:"16px"}})}),!l&&t.jsx(ft,{sx:{color:i,height:"16px"}})]});Vo.propTypes={text:n.string,icon:n.element,className:n.string,color:n.string,background:n.string,onDelete:n.func};const V0=(e,r="en")=>{const s={en:"en-US",es:"es-ES"},i={day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1};return e.toLocaleDateString(r[s],i)},Zo=({date:e,language:r="es"})=>{const s=V0(e,r),i=r==="es"?"Última Actualización":"Last Update";return t.jsxs("div",{className:"last-update-container",children:[t.jsx("div",{className:"last-update-header",children:t.jsx("h2",{children:i})}),t.jsx("div",{className:"last-update-content",children:t.jsx("p",{children:s})})]})};Zo.propTypes={date:n.instanceOf(Date),language:n.string};const Uo=({title:e,sizeFile:r,onDelete:s,width:i,fontSize:o,typeFile:l="excel",widthIcon:a="30%",heightIcon:c="100%",gap:d="1.1vw"})=>t.jsxs("div",{className:"FilePreview container",style:{width:i,gap:d},children:[l==="excel"?t.jsx(gr,{width:a,height:c}):t.jsx(Ci,{width:a,height:c}),t.jsx("p",{style:{fontSize:o},children:e}),t.jsxs("span",{style:{fontSize:o},children:["(",r," K)"]}),t.jsx("button",{onClick:s,children:t.jsx(Si,{})})]});Uo.propTypes={title:n.string,sizeFile:n.string,onDelete:n.func,width:n.string,fontSize:n.string,typeFile:n.oneOf(["excel","pdf"]),widthIcon:n.string,heightIcon:n.string,gap:n.string};const Dt=({options:e,onClick:r,fontSize:s,width:i})=>{const[o,l]=C.useState(!1),a=C.useRef(null),c=d=>{r(d),l(!1)};return C.useEffect(()=>{const d=u=>{a.current&&!a.current.contains(u.target)&&l(!1)};return document.addEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d)}},[]),t.jsxs("div",{className:"menu-options__container",ref:a,children:[t.jsx("button",{className:`menu-button reset-styles-button ${o?"open":""}`,onClick:()=>l(!o),children:t.jsx("span",{className:"menu-icon",children:t.jsx(Oi,{})})}),o&&t.jsx("nav",{className:"menu-options",style:{width:i},children:e.map((d,u)=>t.jsx("div",{className:"menu-options__group",children:d.data.map((g,p)=>t.jsxs("button",{className:"menu-item",onClick:()=>c(g.text),children:[t.jsx("span",{className:"menu-icon",children:g.icon}),t.jsx("span",{className:"menu-text",style:{fontSize:s},children:g.text})]},p))},u))})]})};Dt.propTypes={options:n.arrayOf(n.shape({icon:n.element,text:n.string})),onClick:n.func,fontSize:n.string,width:n.string};const Yo=me.div`
|
|
438
|
+
`,Ue=e=>{const{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconProp:c}=e;return t.jsxs(co,{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,className:"VibrantBlueStyle",style:{...a,display:"flex",alignItems:"center",gap:"15px",justifyContent:"center"},children:[e.children,c&&t.jsx(c,{style:{width:"30px",height:"25px"}})]})};Ue.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,backgroundcolor:n.string,border:n.string,color:n.string,style:n.object}),children:n.node||n.string,IconProp:n.any};const Vr=({data:e,grouped:r,divideColumns:s=!1,selectButton:i,onChange:o,onChangeFunction:l,label:a,width:c,textButton:d,maxHeight:u,keyReset:g,left:p=!1,minWidthDropdown:m="100%",disabled:x,textOverflow:v=!0,widthDropdown:h,error:j,fontSizeLabelText:M,fontSizeTooltip:D,heightTooltip:S,leftTooltip:k,tooltip:w,topTooltip:O,widthTooltip:H,isTooltipVisible:G,subLabelText:V,labelText:f,language:L="es",textSelectAll:F="Seleccionar Todo",placeholderSearch:Z="Buscar...",isRelative:Q=!1,selectedValues:K,fontSizeLabel:te,fontSizeOptions:U="1vw"})=>{const[$,R]=C.useState([]),[y,E]=C.useState(""),[P,N]=C.useState(!1),A=C.useRef(null),z=C.useRef(!1),B=C.useRef(K!==void 0);C.useEffect(()=>{K!==void 0&&(R(K),B.current=!0)},[K]);const W=S0(e,r),J=Object.values(W).flat().length>=Fr,X=()=>{if(y.trim()==="")return Object.values(W).flat();const ce=y.toLowerCase(),oe=[];return Object.entries(W).forEach(([de,ee])=>{if(!Array.isArray(ee)||ee.length===0)return;if(de.toLowerCase().includes(ce))oe.push(...ee);else{const Me=ee.filter(Ee=>Ee.name.toLowerCase().includes(ce));oe.push(...Me)}}),oe},q=X().length>0,ue=ce=>ce.map(oe=>{let de=null;if(r&&typeof e=="object"&&!Array.isArray(e)){for(const ee of Object.values(e))if(Array.isArray(ee)&&(de=ee.find(ie=>ie.id===oe),de))break}else Array.isArray(e)&&(de=e.find(ee=>ee.id===oe));if(de){const ee={id:de.id,name:de.name};return de.value!==void 0&&(ee.value=de.value),Object.keys(de).forEach(ie=>{Object.prototype.hasOwnProperty.call(ee,ie)||(ee[ie]=de[ie])}),ee}return null}).filter(Boolean),le=ce=>{if(z.current=!0,ce.target.checked){const oe=X(),de=oe.map(Me=>Me.id),ie=[...$.filter(Me=>!oe.some(Ne=>Ne.id===Me)),...de];if(R(ie),o&&o(ie),l){const Me=ue(ie);l(Me)}}else{const de=X().map(ie=>ie.id),ee=$.filter(ie=>!de.includes(ie));if(R(ee),o&&o(ee),l){const ie=ue(ee);l(ie)}}},fe=ce=>{z.current=!0,R(oe=>{const de=oe.includes(ce)?oe.filter(ee=>ee!==ce):[...oe,ce];if(o&&o(de),l){const ee=ue(de);l(ee)}return de})},Be=()=>{if(o&&o($),l){const ce=ue($);l(ce)}N(!1)};C.useEffect(()=>{const ce=oe=>{A.current&&!A.current.contains(oe.target)&&N(!1)};return document.addEventListener("mousedown",ce),()=>{document.removeEventListener("mousedown",ce)}},[A]),C.useEffect(()=>{P||E("")},[P]);const we=()=>$.map(oe=>{for(const de of Object.values(W)){const ee=de.find(ie=>ie.id===oe);if(ee)return ee.name}return null}).filter(Boolean).join(", ");C.useEffect(()=>{R([]),z.current=!1,K===void 0&&(B.current=!1)},[g,K]),C.useEffect(()=>{if(B.current&&!z.current){const ce=K||[];R(oe=>JSON.stringify(oe.sort())!==JSON.stringify(ce.sort())?ce:oe)}z.current=!1},[K]);const Re=Object.values(W).every(ce=>Array.isArray(ce)&&ce.length===0);return t.jsxs("div",{className:"relative",ref:A,children:[t.jsx(Qe,{label:$.length>0?we():a,onchange:()=>{},options:[],size:c,isOpen:P,setIsOpen:N,disabledClickOutside:!0,disabled:x,error:j,fontSizeLabelText:M,fontSizeTooltip:D,heightTooltip:S,leftTooltip:k,tooltip:w,topTooltip:O,widthTooltip:H,isTooltipVisible:G,labelText:f,subLabelText:V,fontSizeLabel:te}),P&&t.jsxs("div",{className:"item-filter",style:{left:p?"0":"auto",right:p?"auto":"0",minWidth:m,width:h,position:Q?"relative":"absolute"},children:[t.jsxs("div",{children:[J&&t.jsx("div",{style:{padding:"4px 8px",fontSize:U,backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(Xt,{inputProperties:{placeholder:Z,size:{width:"100%",height:"28px"},type:"text",onChange:ce=>E(ce.target.value),fontStyle:"italic"}})}),q&&t.jsx("div",{style:{padding:"0px 15px",fontSize:U,borderBottom:"1px solid #D0D0CE",backgroundColor:(()=>{const ce=X();return ce.length>0&&ce.every(de=>$.includes(de.id))?"#f4f4f4":"transparent"})()},children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{checked:(()=>{const ce=X();return ce.length>0&&(ce==null?void 0:ce.every(oe=>$==null?void 0:$.includes(oe.id)))})(),onChange:le,sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:F,sx:{"& .MuiFormControlLabel-label":{fontSize:U,whiteSpace:v?"nowrap":"normal",overflow:"hidden",textOverflow:v?"ellipsis":"clip",textAlign:"start"}}})})]}),t.jsxs("div",{className:"items-list",children:[!q&&y.trim()!==""?t.jsxs("div",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:U,overflowWrap:"break-word"},children:['No se encontraron resultados para "',y,'"']}):(()=>{const ce=Object.entries(W).filter(([oe,de])=>{var Ee;if(!Array.isArray(de)||de.length===0)return!1;if(y.trim()==="")return!0;const ee=y.toLowerCase(),ie=(Ee=oe==null?void 0:oe.toLowerCase())==null?void 0:Ee.includes(ee),Me=de==null?void 0:de.some(Ne=>{var ae,Se;return(Se=(ae=Ne==null?void 0:Ne.name)==null?void 0:ae.toLowerCase())==null?void 0:Se.includes(ee)});return ie||Me});return ce==null?void 0:ce.map(([oe,de],ee)=>t.jsxs("div",{className:"item-group",style:{margin:r&&ee===0?"8px":"0"},children:[oe!=="Ungrouped"&&r&&t.jsxs(t.Fragment,{children:[t.jsx("h3",{style:{fontSize:U,margin:"0",fontStyle:"italic",fontWeight:"600",lineHeight:"22px"},children:oe}),t.jsx("div",{className:"item",style:{backgroundColor:(()=>{const ie=de==null?void 0:de.filter(Ee=>{var Se,Ye,nt;if((y==null?void 0:y.trim())==="")return!0;const Ne=y==null?void 0:y.toLowerCase();return((Se=oe==null?void 0:oe.toLowerCase())==null?void 0:Se.includes(Ne))?!0:(nt=(Ye=Ee==null?void 0:Ee.name)==null?void 0:Ye.toLowerCase())==null?void 0:nt.includes(Ne)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(Ee=>$==null?void 0:$.includes(Ee.id)))?"#f4f4f4":"transparent"})()},children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{checked:(()=>{const ie=de.filter(Me=>{var ae,Se,Ye;if((y==null?void 0:y.trim())==="")return!0;const Ee=y==null?void 0:y.toLowerCase();return((ae=oe==null?void 0:oe.toLowerCase())==null?void 0:ae.includes(Ee))?!0:(Ye=(Se=Me==null?void 0:Me.name)==null?void 0:Se.toLowerCase())==null?void 0:Ye.includes(Ee)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(Me=>$==null?void 0:$.includes(Me.id)))})(),onChange:ie=>{z.current=!0;const Ee=de.filter(Ne=>{if(y.trim()==="")return!0;const ae=y.toLowerCase();return oe.toLowerCase().includes(ae)?!0:Ne.name.toLowerCase().includes(ae)}).map(Ne=>Ne.id);if(ie.target.checked){const Ne=Ee.filter(Se=>!$.includes(Se)),ae=[...$,...Ne];if(R(ae),o&&o(ae),l){const Se=ue(ae);l(Se)}}else{const Ne=$.filter(ae=>!Ee.includes(ae));if(R(Ne),o&&o(Ne),l){const ae=ue(Ne);l(ae)}}},sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:(()=>{if(r&&typeof e=="object"&&!Array.isArray(e)){const ie=e[oe];if(Array.isArray(ie)&&ie.length>0&&ie[0].groupLabel)return ie[0].groupLabel}return`Seleccionar ${oe}`})(),sx:{"& .MuiFormControlLabel-label":{fontSize:U,fontWeight:"400",lineHeight:"22px",whiteSpace:v?"nowrap":"normal",overflow:"hidden",textOverflow:v?"ellipsis":"clip"}}})})]}),de.filter(ie=>{if(y.trim()==="")return!0;const Me=y.toLowerCase();return oe.toLowerCase().includes(Me)?!0:ie.name.toLowerCase().includes(Me)}).map(ie=>t.jsx("div",{className:"item",style:{backgroundColor:$.includes(ie.id)?"#f4f4f4":"transparent"},children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{checked:$.includes(ie.id),onChange:()=>fe(ie.id),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:ie.name,sx:{"& .MuiFormControlLabel-label":{fontSize:U,fontWeight:"400",lineHeight:"22px",whiteSpace:v?"nowrap":"normal",overflow:"hidden",textOverflow:v?"ellipsis":"clip"}}})},ie.id))]},oe))})(),Re&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:U,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]}),i&&t.jsx("div",{className:"containerButtonSelectAll",children:t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>Be()},children:d})})]})]})};Vr.propTypes={data:n.array,grouped:n.bool,divideColumns:n.bool,selectButton:n.bool,onChange:n.func,onChangeFunction:n.func,label:n.string,width:n.string,textButton:n.string,maxHeight:n.string,keyReset:n.number,left:n.bool,minWidthDropdown:n.string,disabled:n.bool,textOverflow:n.bool,widthDropdown:n.string,error:n.bool,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,subLabelText:n.string,labelText:n.string,language:n.string,textSelectAll:n.string,placeholderSearch:n.string,isRelative:n.bool,selectedValues:n.array,fontSizeLabel:n.string,fontSizeOptions:n.string};const E0=e=>t.jsx(Qe,{color:"grey",...e}),N0=_e(t.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),D0=_e(t.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),A0=_e(t.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function O0(e){return rt("MuiCheckbox",e)}const Zr=ct("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),I0=e=>{const{classes:r,indeterminate:s,color:i,size:o}=e,l={root:["root",s&&"indeterminate",`color${Oe(i)}`,`size${Oe(o)}`]},a=gt(l,O0,r);return{...r,...a}},R0=Fe($r,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,s.indeterminate&&r.indeterminate,r[`size${Oe(s.size)}`],s.color!=="default"&&r[`color${Oe(s.color)}`]]}})(xt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[r].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Gt()).map(([r])=>({props:{color:r},style:{[`&.${Zr.checked}, &.${Zr.indeterminate}`]:{color:(e.vars||e).palette[r].main},[`&.${Zr.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),P0=t.jsx(D0,{}),W0=t.jsx(N0,{}),$0=t.jsx(A0,{}),ho=re.forwardRef(function(r,s){const i=vt({props:r,name:"MuiCheckbox"}),{checkedIcon:o=P0,color:l="primary",icon:a=W0,indeterminate:c=!1,indeterminateIcon:d=$0,inputProps:u,size:g="medium",disableRipple:p=!1,className:m,slots:x={},slotProps:v={},...h}=i,j=c?d:a,M=c?d:o,D={...i,disableRipple:p,color:l,indeterminate:c,size:g},S=I0(D),k=v.input??u,[w,O]=qt("root",{ref:s,elementType:R0,className:We(S.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:x,slotProps:v,...h},ownerState:D,additionalProps:{type:"checkbox",icon:re.cloneElement(j,{fontSize:j.props.fontSize??g}),checkedIcon:re.cloneElement(M,{fontSize:M.props.fontSize??g}),disableRipple:p,slots:x,slotProps:{input:u1(typeof k=="function"?k(D):k,{"data-indeterminate":c})}}});return t.jsx(w,{...O,classes:S})});process.env.NODE_ENV!=="production"&&(ho.propTypes={checked:n.bool,checkedIcon:n.node,classes:n.object,className:n.string,color:n.oneOfType([n.oneOf(["default","primary","secondary","error","info","success","warning"]),n.string]),defaultChecked:n.bool,disabled:n.bool,disableRipple:n.bool,icon:n.node,id:n.string,indeterminate:n.bool,indeterminateIcon:n.node,inputProps:n.object,onChange:n.func,required:n.bool,size:n.oneOfType([n.oneOf(["medium","small"]),n.string]),slotProps:n.shape({input:n.oneOfType([n.func,n.object]),root:n.oneOfType([n.func,n.object])}),slots:n.shape({input:n.elementType,root:n.elementType}),sx:n.oneOfType([n.arrayOf(n.oneOfType([n.func,n.object,n.bool])),n.func,n.object]),value:n.any});const uo=e=>{const[r,s]=C.useState(!1),[i,o]=C.useState([]),l=C.useRef(null),{options:a,onchange:c,label:d,size:u,error:g,keyReset:p,fontSizeOptions:m="0.9vw",disabled:x,maxHeightOptions:v,labelText:h,subLabelText:j,gap:M="0",fontSizeLabel:D="0.9vw",onChangeFunction:S,id:k,fontSizeLabelText:w,fontSizeTooltip:O,heightTooltip:H,leftTooltip:G,tooltip:V,topTooltip:f,widthTooltip:L,isTooltipVisible:F,placeholderInputSearch:Z="Buscar...",sortAlphabetically:Q=!0,value:K}=e,[te,U]=C.useState(a);C.useEffect(()=>{const A=Q?[...a].sort((z,B)=>{var W;return(W=z.label)==null?void 0:W.localeCompare(B.label)}):[...a];U(A)},[a,Q]);const $=A=>{o(z=>z.some(B=>pt.isEqual(B,A))?(c&&c(z.filter(B=>!pt.isEqual(B,A))),S&&S({id:k,value:z.filter(B=>!pt.isEqual(B,A))}),z.filter(B=>!pt.isEqual(B,A))):(c&&c([...z,A]),S&&S({id:k,value:[...z,A]}),[...z,A]))},R=()=>i.length===0?d:i.map(A=>{const z=a.find(B=>pt.isEqual(B.value,A));return z?z.label:""}).filter(Boolean).join(", ");C.useEffect(()=>{o([])},[p]),C.useEffect(()=>{K!=null&&(Array.isArray(K)?o(K):o([]))},[K]);const y=A=>{l.current&&!l.current.contains(A.target)&&s(!1)};C.useEffect(()=>(document.addEventListener("mousedown",y),()=>{document.removeEventListener("mousedown",y)}),[]),C.useEffect(()=>{if(!r){const A=Q?[...a].sort((z,B)=>{var W;return(W=z.label)==null?void 0:W.localeCompare(B.label)}):[...a];U(A),P("")}},[r,a,Q]);const[E,P]=C.useState(""),N=A=>{const z=A.target.value;P(z);const B=a.filter(I=>I.label.toLowerCase().includes(z.toLowerCase())),W=Q?B.sort((I,J)=>{var X;return(X=I.label)==null?void 0:X.localeCompare(J.label)}):B;U(W)};return t.jsxs("div",{ref:l,className:"relative",style:{width:u},children:[t.jsx(Qe,{label:R(),onchange:()=>{},options:[],size:u,isOpen:r,setIsOpen:s,disabledClickOutside:!0,disabled:x,error:g,labelText:h,gap:M,subLabelText:j,fontSizeLabel:D,fontSizeLabelText:w,fontSizeTooltip:O,heightTooltip:H,leftTooltip:G,tooltip:V,topTooltip:f,widthTooltip:L,isTooltipVisible:F}),r&&t.jsxs("ul",{className:"multiselect-options",style:{maxHeight:v},children:[a.length>=Fr&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(Xt,{inputProperties:{placeholder:Z,size:{width:"100%",height:"28px"},type:"text",onChange:A=>N(A),fontStyle:"italic"}})}),te.length===0&&E.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:m,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',E,'"']}):te.map(A=>t.jsxs("li",{onClick:()=>$(A.value),className:i.some(z=>pt.isEqual(z,A.value))?"selected":"",style:{fontSize:m},children:[t.jsx(ho,{checked:i.some(z=>pt.isEqual(z,A.value)),onChange:z=>{z.stopPropagation(),$(A.value)},onClick:()=>$(A.value),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),A.label]},A.value.title||A.value)),a.length===0&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:m,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]})]})};uo.propTypes={options:n.array,onchange:n.func,label:n.string,size:n.string,error:n.bool,keyReset:n.number,fontSizeOptions:n.string,disabled:n.bool,maxHeightOptions:n.string,labelText:n.string,subLabelText:n.any,gap:n.string,onChangeFunction:n.func,id:n.string,fontSizeLabel:n.string,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,placeholderInputSearch:n.string,inputProperties:n.object,sortAlphabetically:n.bool,value:n.array};const fo=e=>t.jsx(Qe,{...e,inputRadio:!0});fo.propTypes={size:n.string,options:n.array,label:n.string,onchange:n.func,error:n.bool};const po=({width:e,fontSize:r,onchange:s})=>{const[i,o]=C.useState(!1),[l,a]=C.useState(""),c=C.useRef(null),d=x=>{x.preventDefault(),o(!0)},u=x=>{x.preventDefault(),o(!1)},g=x=>{if(x.preventDefault(),o(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0){const v=x.dataTransfer.files[0];s(v),a(v.name)}},p=x=>{if(x.target.files&&x.target.files.length>0){const v=x.target.files[0];s(v),a(v.name)}},m=()=>{var x;(x=c.current)==null||x.click()};return t.jsxs("div",{className:`drag-drop-upload ${i?"dragging":""}`,onDragOver:d,onDragLeave:u,onDrop:g,onClick:m,style:{width:e},children:[t.jsx(Sn,{}),l?t.jsx("p",{className:"upload-text file-name",style:{fontSize:r},children:l}):t.jsxs("p",{className:"upload-text",style:{fontSize:r},children:[t.jsx("span",{children:"Seleccione archivo"})," o arrastre hasta aquí (word, excel, png, jpg o pdf)"]}),t.jsx("input",{type:"file",ref:c,onChange:p,style:{display:"none"},accept:".pdf,.doc,.docx,.xlsx,.png,.jpg,.jpeg"})]})};po.propTypes={width:n.string,fontSize:n.string,onchange:n.func};const go=e=>{const{inputProperties:r,size:s,height:i="200px"}=e,[o,l]=C.useState(0),a=c=>{l(c.target.value.length),r.onChange&&r.onChange(c)};return t.jsxs(C1,{style:{width:s,height:i},children:[t.jsx("textarea",{...r,maxLength:220,onChange:a}),t.jsxs("p",{children:[o,"/220"]})]})};go.propTypes={inputProperties:n.object,size:n.string,height:n.string,handleChange:n.func};const mo=e=>{var s,i,o;const{inputProperties:r}=e;return t.jsxs(v1,{style:{...r==null?void 0:r.size},isSuccessful:(s=r==null?void 0:r.state)==null?void 0:s.success,children:[t.jsx(b1,{...r}),((i=r==null?void 0:r.state)==null?void 0:i.error)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{children:"*"})}),((o=r==null?void 0:r.state)==null?void 0:o.success)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{style:{color:"#009470",fontSize:"15px"},children:"✔"})})]})};mo.propTypes={inputProperties:n.object};const yo=({label:e,onchange:r,textSelect:s,width:i,labelText:o,subLabelText:l,fontSize:a})=>{const[c,d]=C.useState("00"),[u,g]=C.useState("00"),[p,m]=C.useState(!1),[x,v]=C.useState(e??"Hora Inicio"),h=C.useRef(),j=C.useRef(),M=Array.from({length:24},(O,H)=>H.toString().padStart(2,"0")),D=Array.from({length:60},(O,H)=>H.toString().padStart(2,"0"));C.useEffect(()=>{const O=H=>{j.current&&!j.current.contains(H.target)&&m(!1)};return document.addEventListener("mousedown",O),()=>{document.removeEventListener("mousedown",O)}},[]);const S=()=>{m(!1);const O=`${c}:${u}`;v(O),r(O)},k=O=>{let H=O.target.value.replace(/\D/g,"");H.length>4&&(H=H.slice(0,4));let G=H;if(H.length>=3&&(G=`${H.slice(0,2)}:${H.slice(2)}`),v(G),G.length===5){const[V,f]=G.split(":");parseInt(V,10)>=0&&parseInt(V,10)<24&&parseInt(f,10)>=0&&parseInt(f,10)<60?(d(V),g(f),r(G)):v(`${c}:${u}`)}},w=()=>{m(!p),h.current.focus()};return t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"flex",gap:"5px"},children:[o&&t.jsx("label",{className:"label-library",children:o}),l&&t.jsx("label",{className:"sub-label",children:l})]}),t.jsxs("div",{className:"time-picker-container",ref:j,style:{width:i},children:[t.jsxs("div",{className:"time-picker-input-wrapper",children:[t.jsx("input",{type:"text",ref:h,value:x,onChange:k,placeholder:"00:00",className:"time-picker-input",maxLength:5,style:{fontSize:a}}),t.jsx("button",{className:"time-picker-button",onClick:w,"aria-label":"Abrir selector de tiempo",children:t.jsx(ki,{})})]}),p&&t.jsxs("div",{className:"time-picker-dropdown",children:[t.jsxs("div",{className:"time-columns",children:[t.jsx("div",{className:"time-column",children:M.map(O=>t.jsx("div",{className:`time-option ${c===O?"selected":""}`,onClick:()=>d(O),children:O},O))}),t.jsx("div",{className:"time-column",children:D.map(O=>t.jsx("div",{className:`time-option ${u===O?"selected":""}`,onClick:()=>g(O),children:O},O))})]}),t.jsx("button",{className:"ok-button",onClick:S,children:s??"Seleccionar"})]})]})]})};yo.propTypes={label:n.string,onchange:n.func,textSelect:n.string,width:n.string,labelText:n.string,subLabelText:n.any,fontSize:n.string};const xo=e=>{var H;const[r,s]=C.useState(!1),{label:i,inputProperties:o,error:l,fontSizeLabel:a,subLabel:c,fontSizeInput:d,disabled:u,fontSizeTooltip:g,heightTooltip:p,leftTooltip:m,tooltip:x,topTooltip:v,widthTooltip:h,isTooltipVisible:j,keyReset:M}=e,D=G=>{o.handleChange&&o.handleChange(G)},S={...o};if(S.style&&S.style.width){const{width:G,...V}=S.style;S.style=V}const k=o==null?void 0:o.value,[w,O]=C.useState(k??"");return C.useEffect(()=>{k!==void 0&&O(k)},[k]),C.useEffect(()=>{M&&O("")},[M]),t.jsxs("div",{style:{width:(H=o==null?void 0:o.style)==null?void 0:H.width},children:[i&&t.jsx(Yt,{fontSizeTitle:a,fontSizeTooltip:g,heightTooltip:p,left:m,subTitle:c,title:i,tooltip:x,top:v,widthTooltip:h,isTooltipVisibleProp:j,marginBottom:"5px",htmlFor:(o==null?void 0:o.id)||"text-input"}),t.jsx(ar,{isfocused:r,haserror:l,style:{width:"100%"},children:t.jsx(cr,{id:o==null?void 0:o.id,onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:D,fontSizeInput:d,...k!==void 0?{value:w}:{},disabled:u,style:{width:"90%"},...S})}),l&&t.jsx(yi,{children:l})]})};xo.propTypes={label:n.string,inputProperties:n.object,error:n.bool,fontSizeLabel:n.string,subLabel:n.string,fontSizeInput:n.string,value:n.string,disabled:n.bool,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,keyReset:n.bool};const vo=e=>t.jsx("button",{className:"button-search",...e,children:t.jsx(y1,{})}),bo=e=>{const[r,s]=C.useState(!1),[i,o]=C.useState(""),{label:l,inputProperties:a,error:c,fontSizeLabel:d,borderRadiusRight:u="4px",borderRadiusLeft:g="4px"}=e,p=x=>{o(x.target.value),a.handleChange(x)},m=x=>{x.preventDefault();const v={target:{value:i,id:a.id||"text-input"},preventDefault:()=>{}};a.handleChange(v)};return t.jsxs("form",{style:{...a==null?void 0:a.size},onSubmit:m,children:[l&&t.jsx(x1,{htmlFor:a.id||"text-input",style:{fontSize:d},children:l}),t.jsxs(ar,{isfocused:r,haserror:c,disabled:a.disabled,style:{width:"100%",position:"relative",borderTopRightRadius:u,borderBottomRightRadius:u,borderTopLeftRadius:g,borderBottomLeftRadius:g},children:[t.jsx(cr,{onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:p,value:i,...a}),t.jsx("div",{style:{display:"flex",alignItems:"center",position:"absolute",right:"0px",height:"100%"},children:t.jsx(vo,{disabled:a.disabled})})]}),c&&t.jsx(yi,{children:c})]})};bo.propTypes={label:n.string,inputProperties:n.object,error:n.bool,fontSizeLabel:n.string,borderRadiusRight:n.string,borderRadiusLeft:n.string};const _0=()=>{const[e,r]=C.useState(15),s=()=>{r(l=>l+1)},i=()=>{r(l=>l-1)},o=l=>{const a=parseInt(l.target.value);isNaN(a)||r(a)};return t.jsxs("div",{className:"number-spinner",children:[t.jsx("input",{type:"number",value:e,onChange:o,className:"number-input"}),t.jsxs("div",{className:"spinner-buttons",children:[t.jsx("button",{onClick:s,className:"spinner-button up",children:"▲"}),t.jsx("button",{onClick:i,className:"spinner-button down",children:"▼"})]})]})},jo=({options:e,value:r,onChange:s,width:i,disabled:o,height:l,widthIcon:a,heightIcon:c,keyReset:d})=>{const u=({value:p})=>{s(p)},g=p=>p.map(m=>({label:m.toString(),value:m}));return t.jsx(Qe,{label:r,onchange:u,options:g(e),Icon:$i,size:i,disabled:o,paddingDropdownHeader:"0 0.5vw",height:l,widthIcon:a,heightIcon:c,keyReset:d,sortAlphabetically:!1})};jo.propTypes={options:n.array,value:n.any,onChange:n.func,disabled:n.bool,width:n.string,height:n.string,widthIcon:n.string,heightIcon:n.string,keyReset:n.number};const wo=e=>{const{data:r,onChange:s,label:i,size:o,error:l,keyReset:a,fontSizeOptions:c="0.9vw",fontSizeTitleOptions:d="1vw",fontSizeLabel:u,disabled:g,maxHeightOptions:p,value:m,hasDivisions:x,fontSizeLabelText:v,fontSizeTooltip:h,heightTooltip:j,leftTooltip:M,tooltip:D,topTooltip:S,widthTooltip:k,isTooltipVisible:w,labelText:O,subLabelText:H}=e,[G,V]=C.useState(!1),f=C.useRef(null),[L,F]=C.useState(m||""),Z=K=>{F(K),V(!1),s&&s(K)};C.useEffect(()=>{F("")},[a]);const Q=K=>{f.current&&!f.current.contains(K.target)&&V(!1)};return C.useEffect(()=>(document.addEventListener("mousedown",Q),()=>{document.removeEventListener("mousedown",Q)}),[]),t.jsxs("div",{ref:f,className:"relative",style:{width:o},children:[t.jsx(Qe,{label:L.label||i,onchange:()=>{},options:[],size:o,isOpen:G,setIsOpen:V,disabledClickOutside:!0,disabled:g,error:l,fontSizeLabel:u,fontSizeLabelText:v,fontSizeTooltip:h,heightTooltip:j,leftTooltip:M,tooltip:D,topTooltip:S,widthTooltip:k,isTooltipVisible:w,labelText:O,subLabelText:H}),G&&t.jsx("ul",{className:"item-filter",style:{width:"100%",maxHeight:p},children:r.map(K=>t.jsxs("div",{className:`item-group ${x?"border-bottom-select":""}`,style:{marginTop:"15px"},children:[t.jsx("h3",{style:{fontSize:d,fontWeight:"700"},children:K.title}),K.options.map(te=>t.jsx("div",{onClick:()=>Z(te),className:"item",style:{padding:"15px 20px",width:"100%",fontSize:c,cursor:"pointer",fontWeight:"400"},children:te.label},te.label))]},K.title))})]})};wo.propTypes={data:n.array,onChange:n.func,label:n.string,size:n.string,error:n.bool,keyReset:n.number,fontSizeLabel:n.string,fontSizeOptions:n.string,disabled:n.bool,maxHeightOptions:n.string,value:n.string,fontSizeTitleOptions:n.string,hasDivisions:n.bool,fontSizeLabelText:n.string,fontSizeTooltip:n.string,heightTooltip:n.string,leftTooltip:n.string,tooltip:n.string,topTooltip:n.string,widthTooltip:n.string,isTooltipVisible:n.bool,labelText:n.string,subLabelText:n.string};const ko=({onChange:e,text:r,subText:s,fontSize:i,fileTypes:o,id:l,ref:a=null,multiple:c=!1})=>{const d=a||C.useRef(null),[u,g]=C.useState(!1),p=j=>{j.preventDefault(),g(!0)},m=j=>{j.preventDefault(),g(!1)},x=j=>{j.preventDefault(),g(!1),j.dataTransfer.files&&j.dataTransfer.files[0]&&e({file:j.dataTransfer.files[0],id:l})},v=()=>{d.current.click()},h=j=>{j.target.files&&j.target.files[0]&&e({file:j.target.files[0],id:l}),j.target.value=""};return t.jsxs("div",{className:`file-upload ${u?"dragging":""}`,onDragOver:p,onDragLeave:m,onDrop:x,onClick:v,style:{backgroundColor:"white"},children:[t.jsx("input",{ref:d,type:"file",className:"file-input",accept:o,onChange:h,multiple:c}),t.jsxs("div",{className:"flex align-center",style:{gap:"0.8vw"},children:[t.jsx(Sn,{fill:"#8598AD"}),t.jsxs("div",{className:"flex gap-05",style:{borderBottom:"1px solid #8598AD"},children:[t.jsx("p",{className:"upload-text",style:{fontSize:i,borderBottom:"0px",paddingRight:"4px"},children:r}),t.jsx("p",{className:"sub-text",style:{fontSize:i,borderBottom:"0px"},children:s})]})]})]})};ko.propTypes={onChange:n.func,text:n.string,subText:n.string,fontSize:n.string,fileTypes:n.string,id:n.string,multiple:n.bool};const Co=({handleReset:e,disabled:r})=>t.jsx("button",{className:`button-reset ${r?"disabled":""}`,onClick:()=>e(),disabled:r,children:t.jsx(Cn,{})});Co.propTypes={handleReset:n.func,disabled:n.bool};const So=({width:e})=>t.jsxs(z0,{style:{backgroundColor:"#f5f6fa",width:e},children:[t.jsx(Hr,{children:t.jsx(ur,{width:"100%",height:"30px"})}),t.jsx(Hr,{children:t.jsx(hr,{width:"100%",height:"30px"})}),t.jsx(Hr,{children:t.jsx(dr,{width:"60%",height:"30px"})})]});So.propTypes={width:n.string};const B0={colors:{backgroundPrimary:"#f5f6fa",backgroundSecondary:"#ffffff",backgroundThird:"#DDE3F1",contrastPrimary:"#0b14a7",contrastSecondary:"#33A4DD",contrastBackground:"#d4eaf5",dangerPrimary:"#FF3F3F",textSecondary:"#97A7B9",secondaryColor:"#0047AB",circularComponentContrast:"#797979",bottonSecondary:"#d3ecf8",bottonSuccess:"#119672",circularComponentBackground:"#d3ecf8",circularComponentCheckBackground:"#c4ebe0",circularComponentBackgroundDisabled:"#797979",buttonBlueBackground:"#21459c"},size:{xs:"0.8vw",s:"1vw",m:"1.3vw",l:"1.5vw",xl:"2vw"},gap:{xs:"0.5vw",s:"1vw",m:"1.5vw",l:"2vw",xl:"2.5vw"},typography:{body1:{fontSize:"1rem"}}},Jt=e=>{const r=e==null?void 0:e.IconProp;return t.jsx(me.ThemeProvider,{theme:B0,children:t.jsxs(T0,{...e.buttonProperties,children:[r&&t.jsx(r,{style:{width:"30px",height:"30px"}}),e.children]})})};Jt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.any};const To=e=>{const r={...e,buttonProperties:{backgroundcolor:"#119672",...e.buttonProperties,style:{color:"white",...e.buttonProperties.style}}};return t.jsx(Ue,{...r,children:e.children})};To.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Mo=({onClick:e,width:r,fontSize:s,disabled:i,children:o="DESCARGAR",icon:l,diseableOption:a})=>{const[c,d]=C.useState(!1),u=C.useRef(null);C.useEffect(()=>{const p=m=>{u.current&&!u.current.contains(m.target)&&d(!1)};return document.addEventListener("mousedown",p),()=>{document.removeEventListener("mousedown",p)}},[]);const g=p=>{e(p),d(!1)};return t.jsxs("div",{className:`download-button-container ${i?"disabled":""}`,ref:u,style:{width:r},children:[t.jsx("button",{className:"download-button",onClick:()=>!i&&d(!c),children:t.jsxs("span",{style:{display:"flex",alignItems:"center",gap:"0.2vw",fontSize:s},children:[l,o]})}),t.jsx("div",{className:`arrowContainer ${i?"disabled":""}`,onClick:()=>!i&&d(!c),children:t.jsx("i",{className:`arrow-white ${c?"up":"down"}`})}),c&&t.jsxs("div",{className:"dropdown-menu",style:{width:r},children:[!(a!=null&&a.csv)&&t.jsx("button",{onClick:()=>g("csv"),children:"CSV"}),!(a!=null&&a.xlsx)&&t.jsx("button",{onClick:()=>g("xlsx"),children:"XLSX"})]})]})};Mo.propTypes={onClick:n.func,width:n.string,fontSize:n.string,disabled:n.bool,children:n.string,icon:n.element,diseableOption:n.object};const zo=({onclick:e,height:r})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:r},children:t.jsx(Ei,{})});zo.propTypes={onclick:n.func,height:n.string};const Eo=({onclick:e,height:r})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:r},children:t.jsx(Ni,{})});Eo.propTypes={onclick:n.func,height:n.string};const L0=_e(t.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle"),No=e=>{const s={IconProp:L0,...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",border:"1px solid #21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Jt,{...s,children:e.children})};No.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Do=e=>{const s={...e,IconProp:kn};return t.jsx(Jt,{...s})};Do.propTypes={buttonProperties:n.shape({disabled:n.bool}),children:n.node||n.string,IconProp:n.node};const Ur=e=>t.jsx(M0,{...e.buttonProperties,children:e.children});Ur.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string};const Nt=e=>{const r={...e,buttonProperties:{backgroundcolor:"white",border:"1px solid #33a4dd",color:"#33a4dd",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Ue,{...r})};Nt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const F0=_e(t.jsx("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 10V8h-2v4H8l4 4 4-4z"}),"ArrowCircleDown"),Ao=e=>{const s={...e,IconProp:F0};return t.jsx(Jt,{...s})};Ao.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.node};const Oo=e=>{const{children:r,onChange:s,disabled:i,width:o,fontSize:l,id:a}=e,c={width:o||"auto",display:"inline-flex",alignItems:"center",justifyContent:"space-between",padding:"10px 20px",backgroundColor:i?"#7e8080":"#33a4dd",color:"white",borderRadius:"4px",border:"none",cursor:i?"not-allowed":"pointer",fontSize:l||"14px",transition:"background-color 0.3s",fontFamily:"'Roboto', sans-serif"},d={marginLeft:"10px",width:"20px",height:"20px"},u=g=>{const p=g.target.files[0];s(p)};return t.jsxs("div",{children:[t.jsx("input",{type:"file",id:a,accept:"image/*",disabled:i,style:{display:"none"},onChange:g=>u(g)}),t.jsxs("label",{htmlFor:a,style:c,children:[r,t.jsx(kn,{style:d})]})]})};Oo.propTypes={children:n.node||n.string,onChange:n.func,disabled:n.bool,width:n.string,fontSize:n.string,id:n.string};const Dn=({buttonProperties:e={},...r})=>{const s={backgroundcolor:"transparent",border:"1px solid #fcb035",color:"black",...e,style:{...e.style}};return t.jsx(Ue,{...r,buttonProperties:s,children:r.children})};Dn.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const H0=_e(t.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1"}),"AddBoxRounded"),Io=({marginBottom:e,onClick:r})=>t.jsx(H0,{sx:{color:"#8598ad",width:20,height:20,marginBottom:e,cursor:"pointer"},onClick:r});Io.propTypes={marginBottom:n.string,onClick:n.func};const Ro=e=>{const r={...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Ur,{...r})};Ro.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Yr=({children:e,buttonProperties:r,widthIcon:s="70%",icon:i=t.jsx(xr,{width:s})})=>t.jsxs(Nt,{buttonProperties:r,children:[i,e]});Yr.propTypes={children:n.string,icon:n.node,buttonProperties:n.object,widthIcon:n.string};const Po=({onChange:e,isOpen:r})=>{const[s,i]=C.useState(r),o=()=>{i(!s),e&&e(s)};return t.jsx("button",{className:"reset-styles-button",onClick:o,children:s?t.jsx(br,{}):t.jsx(vr,{})})};Po.propTypes={onChange:n.func,isOpen:n.bool};const qr=({onChange:e,isOpen:r,color:s,hasHover:i,padding:o,display:l,height:a,width:c})=>t.jsx("button",{type:"button",onClick:()=>e(!r),className:`reset-styles-button arrow-button ${i?"hoverclass":""}`,style:{height:a,width:c,transition:"transform 0.3s ease",display:l},children:t.jsx("i",{className:`arrow-blue-container ${r?"up":"down"}`,style:{borderColor:s,padding:o}})});qr.propTypes={onChange:n.func,isOpen:n.bool,color:n.string,hasHover:n.bool,padding:n.string,display:n.string,height:n.string,width:n.string};const Wo=({className:e,text:r,onClick:s})=>t.jsxs("button",{className:`button-clean-filters ${e} `,onClick:s,children:[t.jsx(kr,{})," ",t.jsx("span",{children:r})]});Wo.propTypes={className:n.string,text:n.string,onClick:n.func};const $o=({textOpen:e,textClose:r,isOpen:s,onChange:i,className:o})=>{const[l,a]=C.useState(s);C.useEffect(()=>{a(s)},[s]);const c=()=>{const d=!l;a(d),i&&i(d)};return t.jsxs("button",{className:`button-vibrant-blue ${o}`,onClick:c,children:[t.jsx("span",{className:"button-eye-text",children:l?r:e}),l?t.jsx(br,{}):t.jsx(vr,{})]})};$o.propTypes={textOpen:n.string,textClose:n.string,isOpen:n.bool,onChange:n.func,className:n.string};const _o=({children:e,widthIcon:r="10%",width:s,icon:i=t.jsx(Zi,{width:r}),arrowRightIcon:o=t.jsx(Mr,{width:r}),hasOptions:l=!1,onClick:a,onOptionSelect:c,options:d,className:u,...g})=>{const[p,m]=C.useState(!1),x=C.useRef(null),v=h=>{m(!1),c==null||c(h)};return C.useEffect(()=>{const h=j=>{x.current&&!x.current.contains(j.target)&&m(!1)};return p&&document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[p]),t.jsxs("button",{ref:x,className:`button-white-border-blue-send-email ${u}`,...g,style:{width:s},onClick:()=>{l&&m(!p),a==null||a()},children:[i,e,l?t.jsx("i",{className:`arrow-white ${p?"up":"down"}`}):o,p&&d&&t.jsx("ul",{className:"dropdown-options--button-white-border",style:{width:s},children:d.map(h=>t.jsx("li",{className:"dropdown-options--button-white-border-li",onClick:()=>v(h),children:h.value},h.id))})]})};_o.propTypes={children:n.string,icon:n.node,widthIcon:n.string,arrowRightIcon:n.node,hasOptions:n.bool,onClick:n.func,onOptionSelect:n.func,options:n.arrayOf(n.object),width:n.string,className:n.string};const Bo=e=>{const{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconLeft:c=t.jsx(Ui,{}),IconRight:d=t.jsx(Mr,{})}=e;return t.jsxs(co,{disabled:r,onClick:s,backgroundcolor:i,border:o,color:l,className:"VibrantBlueStyle ButtonVibrantBlueSend",style:{...a,display:"flex",alignItems:"center",gap:"15px",justifyContent:"center"},children:[c,e.children,d]})};Bo.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,backgroundcolor:n.string,border:n.string,color:n.string,style:n.object}),children:n.node||n.string,IconLeft:n.any,IconRight:n.any};const Gr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-active",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(Mn,{}),"Activo"]});Gr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Kr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-inactive",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(Mi,{}),"Inactivo"]});Kr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Xr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-canceled",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(Di,{}),"Cancelada"]});Xr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Jr=({width:e,fontSize:r,icon:s,marginAuto:i,height:o})=>{const[l,a]=C.useState(!1);return t.jsxs("div",{className:"state-basic states-completed",style:{width:e,fontSize:r,margin:i?"auto":"",height:o},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[t.jsx(Ti,{}),"Finalizada",s&&t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(En,{height:27,background:"#d8f6c4",fillIcon:"#ff0000"})}),s&&l&&t.jsx("div",{className:"absolute hoverStates",children:"Devoluciones"})]})};Jr.propTypes={width:n.string,fontSize:n.string,icon:n.bool,marginAuto:n.bool,height:n.string};const Qr=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-inTransit",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(zi,{}),"En tránsito",t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(En,{height:i})})]});Qr.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Lo=({children:e,className:r="",classNameIcon:s="",fill:i="#54AC1B",...o})=>t.jsxs("div",{className:`state-basic ${r}`.trim(),...o,children:[t.jsx(Mn,{className:s,fill:i}),e]});Lo.propTypes={children:n.node,className:n.string,classNameIcon:n.string,fill:n.string};const ft=_e(t.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),Fo=({width:e,fontSize:r,children:s,onDelete:i,background:o,fontWeight:l,id:a,className:c})=>t.jsxs("div",{className:`chip ${c}`,style:{width:e,fontSize:r,background:o,fontWeight:l},children:[s,t.jsx("button",{className:"reset-styles-button",onClick:()=>i({children:s,id:a}),children:t.jsx(ft,{sx:{color:"#8598ad",height:"16px"}})})]});Fo.propTypes={width:n.string,fontSize:n.string,children:n.any,onDelete:n.func,background:n.string,fontWeight:n.string,id:n.string,className:n.string};const es=({children:e,onChange:r,isSelect:s,height:i})=>t.jsx("div",{className:`toggle-chip ${s?"active":""}`,style:{height:i},onClick:()=>r({isSelect:!s,value:e}),children:e});es.propTypes={children:n.any,onChange:n.func,isSelect:n.bool,height:n.string};const Ho=({children:e,className:r=""})=>t.jsx("div",{className:`chip-section ${r}`,children:e});Ho.propTypes={children:n.node,className:n.string};const Vo=({text:e,icon:r,className:s,color:i,background:o,onDelete:l})=>t.jsxs("div",{className:`chip chip-with-icon ${s}`,style:{background:o},children:[r,t.jsx("span",{className:"chip-text",children:e}),l&&t.jsx("button",{className:"reset-styles-button",onClick:()=>l(e),children:t.jsx(ft,{sx:{color:i,height:"16px"}})}),!l&&t.jsx(ft,{sx:{color:i,height:"16px"}})]});Vo.propTypes={text:n.string,icon:n.element,className:n.string,color:n.string,background:n.string,onDelete:n.func};const V0=(e,r="en")=>{const s={en:"en-US",es:"es-ES"},i={day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1};return e.toLocaleDateString(r[s],i)},Zo=({date:e,language:r="es"})=>{const s=V0(e,r),i=r==="es"?"Última Actualización":"Last Update";return t.jsxs("div",{className:"last-update-container",children:[t.jsx("div",{className:"last-update-header",children:t.jsx("h2",{children:i})}),t.jsx("div",{className:"last-update-content",children:t.jsx("p",{children:s})})]})};Zo.propTypes={date:n.instanceOf(Date),language:n.string};const Uo=({title:e,sizeFile:r,onDelete:s,width:i,fontSize:o,typeFile:l="excel",widthIcon:a="30%",heightIcon:c="100%",gap:d="1.1vw"})=>t.jsxs("div",{className:"FilePreview container",style:{width:i,gap:d},children:[l==="excel"?t.jsx(gr,{width:a,height:c}):t.jsx(Ci,{width:a,height:c}),t.jsx("p",{style:{fontSize:o},children:e}),t.jsxs("span",{style:{fontSize:o},children:["(",r," K)"]}),t.jsx("button",{onClick:s,children:t.jsx(Si,{})})]});Uo.propTypes={title:n.string,sizeFile:n.string,onDelete:n.func,width:n.string,fontSize:n.string,typeFile:n.oneOf(["excel","pdf"]),widthIcon:n.string,heightIcon:n.string,gap:n.string};const Dt=({options:e,onClick:r,fontSize:s,width:i})=>{const[o,l]=C.useState(!1),a=C.useRef(null),c=d=>{r(d),l(!1)};return C.useEffect(()=>{const d=u=>{a.current&&!a.current.contains(u.target)&&l(!1)};return document.addEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d)}},[]),t.jsxs("div",{className:"menu-options__container",ref:a,children:[t.jsx("button",{className:`menu-button reset-styles-button ${o?"open":""}`,onClick:()=>l(!o),children:t.jsx("span",{className:"menu-icon",children:t.jsx(Oi,{})})}),o&&t.jsx("nav",{className:"menu-options",style:{width:i},children:e.map((d,u)=>t.jsx("div",{className:"menu-options__group",children:d.data.map((g,p)=>t.jsxs("button",{className:"menu-item",onClick:()=>c(g.text),children:[t.jsx("span",{className:"menu-icon",children:g.icon}),t.jsx("span",{className:"menu-text",style:{fontSize:s},children:g.text})]},p))},u))})]})};Dt.propTypes={options:n.arrayOf(n.shape({icon:n.element,text:n.string})),onClick:n.func,fontSize:n.string,width:n.string};const Yo=me.div`
|
|
439
439
|
width: 500px;
|
|
440
440
|
padding: 12.4px;
|
|
441
441
|
display: flex;
|
|
@@ -448,4 +448,4 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
448
448
|
border: none;
|
|
449
449
|
background: none;
|
|
450
450
|
cursor: pointer;
|
|
451
|
-
`,qo=({children:e,height:r,width:s,style:i})=>t.jsx(Yo,{style:{height:r,width:s,...i},children:e});qo.propTypes={children:n.any,width:n.string,height:n.string,style:n.object};const Go=({title:e,height:r,width:s,style:i,children:o})=>{const[l,a]=C.useState(!1);return t.jsxs(Yo,{style:{height:l?"auto":r,width:s,...i,borderRadius:"0px",boxShadow:"none",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[e,t.jsx(Z0,{onClick:()=>a(!l),children:t.jsx("i",{className:`arrow-grey-container ${l?"up":"down"}`})})]}),l&&t.jsx("div",{style:{paddingTop:"8px"},children:o})," "]})};Go.propTypes={title:n.node,width:n.string,height:n.string,style:n.object,children:n.node};const Ko=({fileType:e="excel",onClick:r,className:s="",icon:i,isClickable:o=!0,data:l,fontSize:a})=>{const{title:c}=l,d=()=>{o&&r&&r(l)},u=p=>{o&&r&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),r(l))},g=()=>{switch(e){case"excel":return t.jsx(Sr,{});case"word":return t.jsxs("svg",{width:"76",height:"63",viewBox:"0 0 76 63",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"8",y:"8",width:"60",height:"47",rx:"4",fill:"#2B579A"}),t.jsx("rect",{x:"12",y:"12",width:"52",height:"39",rx:"2",fill:"#2F5F8F"}),t.jsx("text",{x:"38",y:"20",textAnchor:"middle",fill:"white",fontSize:"8",fontWeight:"bold",children:"DOC"}),t.jsx("rect",{x:"18",y:"25",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"29",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"33",width:"30",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"37",width:"35",height:"2",fill:"white"})]});case"pdf":return t.jsxs("svg",{width:"76",height:"63",viewBox:"0 0 76 63",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"8",y:"8",width:"60",height:"47",rx:"4",fill:"#D93025"}),t.jsx("rect",{x:"12",y:"12",width:"52",height:"39",rx:"2",fill:"#EA4335"}),t.jsx("text",{x:"38",y:"20",textAnchor:"middle",fill:"white",fontSize:"8",fontWeight:"bold",children:"PDF"}),t.jsx("rect",{x:"18",y:"25",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"29",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"33",width:"30",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"37",width:"35",height:"2",fill:"white"})]});default:return t.jsxs("svg",{width:"76",height:"63",viewBox:"0 0 76 63",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"8",y:"8",width:"60",height:"47",rx:"4",fill:"#9AA0A6"}),t.jsx("rect",{x:"12",y:"12",width:"52",height:"39",rx:"2",fill:"#BDC1C6"}),t.jsx("rect",{x:"18",y:"25",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"29",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"33",width:"30",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"37",width:"35",height:"2",fill:"white"})]})}};return t.jsxs("div",{className:`file-card ${o?"file-card--clickable":""} ${s}`,onClick:d,onKeyDown:u,tabIndex:o?0:-1,role:o?"button":"presentation","aria-label":o?`Abrir archivo ${c}`:void 0,children:[t.jsxs("div",{className:"file-card__icon-container",children:[i||g(),t.jsx("div",{className:"file-card__download-icon",children:t.jsx(Tr,{width:16,height:16})})]}),t.jsx("div",{className:"file-card__title",style:{fontSize:a},children:c})]})};Ko.propTypes={data:n.object.isRequired,fileType:n.oneOf(["excel","word","pdf","generic"]),onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool};const Xo=({data:e,fileType:r="excel",onClick:s,className:i="",icon:o,isClickable:l=!0,isSelected:a=!1})=>{const{title:c}=e,d=()=>{l&&s&&s(e)},u=p=>{l&&s&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),s(e))},g=()=>{switch(r){case"excel":return t.jsx(Sr,{width:"32px"});case"word":return t.jsxs("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"2",width:"28",height:"22",rx:"2",fill:"#2B579A"}),t.jsx("rect",{x:"4",y:"4",width:"24",height:"18",rx:"1",fill:"#2F5F8F"}),t.jsx("text",{x:"16",y:"10",textAnchor:"middle",fill:"white",fontSize:"6",fontWeight:"bold",children:"DOC"}),t.jsx("rect",{x:"7",y:"12",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"14",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"16",width:"14",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"18",width:"16",height:"1",fill:"white"})]});case"pdf":return t.jsxs("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"2",width:"28",height:"22",rx:"2",fill:"#D93025"}),t.jsx("rect",{x:"4",y:"4",width:"24",height:"18",rx:"1",fill:"#EA4335"}),t.jsx("text",{x:"16",y:"10",textAnchor:"middle",fill:"white",fontSize:"6",fontWeight:"bold",children:"PDF"}),t.jsx("rect",{x:"7",y:"12",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"14",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"16",width:"14",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"18",width:"16",height:"1",fill:"white"})]});default:return t.jsxs("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"2",width:"28",height:"22",rx:"2",fill:"#9AA0A6"}),t.jsx("rect",{x:"4",y:"4",width:"24",height:"18",rx:"1",fill:"#BDC1C6"}),t.jsx("rect",{x:"7",y:"12",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"14",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"16",width:"14",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"18",width:"16",height:"1",fill:"white"})]})}};return t.jsxs("div",{className:`file-card-minimized ${l?"file-card-minimized--clickable":""} ${a?"file-card-minimized--selected":""} ${i}`,onClick:d,onKeyDown:u,tabIndex:l?0:-1,role:l?"button":"presentation","aria-label":l?`Abrir archivo ${c}`:void 0,children:[t.jsxs("div",{className:"file-card-minimized__icon-container",children:[o||g(),t.jsx("div",{className:"file-card-minimized__download-icon",children:t.jsx(Tr,{width:12,height:12})})]}),t.jsx("div",{className:"file-card-minimized__filename",children:c})]})};Xo.propTypes={data:n.object.isRequired,fileType:n.oneOf(["excel","word","pdf","generic"]),onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool,isSelected:n.bool};const Jo=({onClick:e,className:r="",icon:s,isClickable:i=!0,fontSize:o,hasDownload:l=!1,onChange:a,isSelected:c=!1,data:d})=>{const{id:u,title:g}=d,p=()=>{i&&e&&e(d)},m=x=>{i&&e&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),e(d))};return t.jsxs("div",{className:`folder-card ${i?"folder-card--clickable":""} ${r} ${c?"folder-card--selected":""} ${l?"folder-card--has-download":""}`,onClick:p,onKeyDown:m,tabIndex:i?0:-1,role:i?"button":"presentation","aria-label":i?`Abrir carpeta ${g}`:void 0,style:{border:l?"1px solid #707070":"none"},children:[l&&t.jsx("div",{className:"folder-card__checkbox-container",children:t.jsx(Dr,{inputProperties:{id:u,checked:c,onChange:a},color:"#33A1DD",size:"small"})}),t.jsx("div",{className:"folder-card__icon-container",children:s?t.jsx("div",{className:"folder-card__custom-icon",children:s}):t.jsx("div",{className:`${l?"folder-card__default-icon":"folder-card__default-icon-hover"}`,children:t.jsx(Cr,{width:"60px"})})}),t.jsx("div",{className:"folder-card__title",style:{width:"70px",fontSize:o},children:g})]})};Jo.propTypes={title:n.string.isRequired,onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool,fontSize:n.string,id:n.string,value:n.any,hasDownload:n.bool,onChange:n.func,isSelected:n.bool};const Qo=({onClick:e,className:r="",icon:s,isClickable:i=!0,fontSize:o,isSelected:l=!1,data:a})=>{const{id:c,title:d}=a,u=()=>{i&&e&&e(a)},g=p=>{i&&e&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),e(a))};return t.jsxs("div",{className:`folder-card-minimized ${i?"folder-card-minimized--clickable":""} ${l?"folder-card-minimized--selected":""} ${r}`,onClick:u,onKeyDown:g,tabIndex:i?0:-1,role:i?"button":"presentation","aria-label":i?`Abrir carpeta ${d}`:void 0,children:[t.jsx("div",{className:"folder-card-minimized__icon-container",children:s?t.jsx("div",{className:"folder-card-minimized__custom-icon",children:s}):t.jsx("div",{className:"folder-card-minimized__default-icon",children:t.jsx(Cr,{width:"32px"})})}),t.jsx("div",{className:"folder-card-minimized__title",style:{fontSize:o},children:d})]})};Qo.propTypes={onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool,fontSize:n.string,isSelected:n.bool,data:n.object};const el=({color:e="#33A1DD",size:r=8})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:"none",children:t.jsx("circle",{cx:r/2,cy:r/2,r:r/2-.5,fill:e})});el.propTypes={color:n.string,size:n.number};const tl=({width:e=3,height:r=12,color:s="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,fill:"none",viewBox:"0 0 3 12",children:t.jsx("path",{fill:s,stroke:s,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M1.43 1.275c-.232 0-.445.198-.43.43l.216 5.798a.215.215 0 0 0 .43 0l.214-5.798c.015-.232-.197-.43-.43-.43ZM1.43 10.725a.43.43 0 1 0 0-.86.43.43 0 0 0 0 .86Z"})});tl.propTypes={width:n.number,height:n.number,color:n.string};const nl=({width:e=8,height:r=8,color:s="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,fill:"none",viewBox:"0 0 8 8",children:t.jsx("path",{fill:s,d:"M4 .667a3.33 3.33 0 0 0-3.08 4.61A3.33 3.33 0 0 0 5.276 7.08a3.33 3.33 0 0 0 1.805-4.356A3.33 3.33 0 0 0 4 .667Zm1.667 4.53-.47.47L4 4.47 2.804 5.667l-.47-.47L3.53 4 2.334 2.803l.47-.47L4 3.53l1.197-1.197.47.47L4.47 4l1.197 1.197Z"})});nl.propTypes={width:n.number||n.string,height:n.number||n.string,color:n.string};const rl=({className:e="",hasAlerts:r=!1,children:s,hasError:i=!1,...o})=>{const c=["state",e,r?"state--has-alerts":""].filter(Boolean).join(" ");return t.jsxs("div",{className:c,...o,children:[t.jsx("div",{className:"state__indicator",children:i?t.jsx(nl,{width:8,height:8}):t.jsx(el,{size:8})}),t.jsx("div",{className:"state__content",children:s}),r&&t.jsx("div",{className:"state__alert",children:t.jsx(tl,{color:"red",width:"80%"})})]})};rl.propTypes={className:n.string,hasAlerts:n.bool,hasError:n.bool,children:n.node.isRequired};const sl=({children:e,count:r,className:s,classNameCount:i})=>t.jsxs("div",{className:`count-card ${s}`,children:[e,t.jsx("span",{className:`count-card__count ${i}`,children:r})]});sl.propTypes={children:n.node,count:n.number||n.string,className:n.string,classNameCount:n.string};const il=({totalPages:e=50,currentPage:r=1,onChange:s,nextLabel:i,prevLabel:o,height:l,disabled:a,fontSize:c})=>{const d=h=>{h>0&&h<=e&&s(h)},u=()=>{r<e&&s(r+1)},g=()=>{r>1&&s(r-1)},m=[],x=Math.max(1,r-4),v=Math.min(e,x+9-1);for(let h=x;h<=v;h++)m.push(h);if(r>e-4){m.length=0;for(let h=e-9+1;h<=e;h++)h>0&&m.push(h)}return t.jsx("nav",{className:"pagination",children:t.jsxs("ul",{className:"pagination-list",children:[r>1&&t.jsxs("li",{className:`pagination-prev ${a?"disabled":""}`,onClick:a?null:g,style:{height:l,fontSize:c},children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"15 18 9 12 15 6"})}),o]}),x>1&&t.jsxs(t.Fragment,{children:[t.jsx("li",{className:`pagination-link ${a?"disabled":""}`,onClick:()=>a?null:d(1),style:{height:l,fontSize:c},children:"1"}),x>2&&t.jsx("li",{className:"pagination-list",style:{height:l,fontSize:c},children:"..."})]}),m.map(h=>t.jsx("li",{className:`pagination-link ${r===h?"active":""} ${a?"disabled":""}`,onClick:()=>a?null:d(h),style:{height:l,fontSize:c},children:h},h)),v<e&&t.jsxs(t.Fragment,{children:[v<e-1&&t.jsx("li",{className:`pagination-list ${a?"disabled":""}`,style:{height:l,fontSize:c},children:"..."}),t.jsx("li",{className:`pagination-link ${a?"disabled":""}`,onClick:()=>a?null:d(e),style:{height:l,fontSize:c},children:e})]}),r<e&&t.jsxs("li",{className:`pagination-next ${a?"disabled":""}`,onClick:a?null:u,style:{height:l,fontSize:c},children:[i,t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"9 18 15 12 9 6"})})]})]})})};il.propTypes={totalPages:n.number,currentPage:n.number,onChange:n.func,nextLabel:n.string,prevLabel:n.string,height:n.string,disabled:n.bool,fontSize:n.string};const ts=_e(t.jsx("path",{d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76"}),"ArrowBackIosRounded"),ns=_e(t.jsx("path",{d:"M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31c.39-.39.39-1.02 0-1.41L9.15 2.98c-.49-.49-1.28-.49-1.77 0s-.49 1.28 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76"}),"ArrowForwardIosRounded"),ol=_e(t.jsx("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V10h16zm0-13H4V5h16z"}),"CalendarTodayOutlined"),rs={DAYS:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],MONTHS:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],code:"es-ES",selectRange:"Selecciona un Rango de fechas",days:"días",cancel:"CANCELAR",search:"BUSCAR"},ss={DAYS:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],MONTHS:["January","February","March","April","May","June","July","August","September","October","November","December"],code:"en-US",selectRange:"Select a date range",days:"days",cancel:"CANCEL",search:"SEARCH"},lt=e=>{e instanceof Date||(e=new Date(e));const r=String(e.getDate()).padStart(2,"0"),s=String(e.getMonth()+1).padStart(2,"0"),i=e.getFullYear();return{formatDDMMYYYY:`${r}-${s}-${i}`,formatMMDDYYYY:`${s}-${r}-${i}`,formatYYYYMMDD:`${i}-${s}-${r}`,originalFormat:e}},ll=(e,r,s)=>{if(!r||s<=0)return!1;const i=new Date(r);return i.setMonth(i.getMonth()+s),i.setDate(i.getDate()-1),e>i},U0=({locale:e="es",disablePastDates:r,onDateRangeChange:s,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,u]=C.useReducer(y=>y+1,0),g=e==="es"?rs:ss,[p,m]=C.useState(null),[x,v]=C.useState(null),[h,j]=C.useState(null),[z,D]=C.useState(new Date),[T,k]=C.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[w,A]=C.useState(!1),H=(y,N)=>{const P=new Date;if(P.setHours(0,0,0,0),c){const S=new Date(P);if(S.setDate(P.getDate()+c),y>S)return!0}return N&&r&&y<P||!N&&a&&y>P||r&&y<P||a&&y>P?!0:l>0&&p?ll(y,p,l):!1},G=y=>{const N=y.getFullYear(),P=y.getMonth(),O=new Date(N,P,1).getDay(),E=new Date(N,P+1,0),L=[],W=new Date(N,P,0).getDate();for(let J=O-1;J>=0;J--)L.push(new Date(N,P-1,W-J));for(let J=1;J<=E.getDate();J++)L.push(new Date(N,P,J));const X=42-L.length;for(let J=1;J<=X;J++)L.push(new Date(N,P+1,J));return L},Z=y=>!p||!x?!1:y>=p&&y<=x,f=y=>!p||!h?!1:y>=p&&y<=h||y<=p&&y>=h,B=y=>{!p||x?(m(y),v(null)):y<p?(v(p),m(y),i&&I(y,p)):(v(y),i&&I(p,y))},F=y=>{j(y)},V=()=>!p||!x?0:Math.round((x.getTime()-p.getTime())/(1e3*60*60*24))+1,Q=(y,N)=>{const P=new Date(y.getFullYear(),y.getMonth()-1,1);r&&P<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&N||(N?D(P):(k(P),P.getMonth()===z.getMonth()&&D(new Date(P.getFullYear(),P.getMonth()-1,1))))},K=(y,N)=>{const P=new Date(y.getFullYear(),y.getMonth()+1,1);N?(D(P),P.getMonth()===T.getMonth()&&k(new Date(P.getFullYear(),P.getMonth()+1,1))):k(P)},te=y=>{const P=y.toLocaleDateString(g.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),S=P[0].charAt(0).toUpperCase()+P[0].slice(1),O=P[1],E=P[2].charAt(0).toUpperCase()+P[2].slice(1),L=P[3];return`${S} ${O} de ${E} ${L}`},U=()=>{const y=new Date;m(null),v(null),D(y),k(new Date(new Date().setMonth(new Date().getMonth()+1))),A(!1),o({startDate:null,endDate:null}),u()},_=()=>{A(!1);const y=lt(p),N=lt(x);s({startDate:y,endDate:N})},I=(y,N)=>{m(y),v(N),A(!1);const P=lt(y),S=lt(N);s({startDate:P,endDate:S})};return{isOpen:w,endDate:x,language:g,leftMonth:z,startDate:p,setIsOpen:A,hoverDate:h,rightMonth:T,formatDate:te,handleSearch:_,handleCancel:U,isDateInRange:Z,getDaysInMonth:G,isDateDisabled:H,handleDateClick:B,handleDateHover:F,handlePrevClick:Q,handleNextClick:K,getDaysSelected:V,isDateInHoverRange:f,keyReset:d,resetSelect:u}},An=(e,r,s,i)=>{if(!s||i<=0)return!1;const o=new Date(s);o.setMonth(o.getMonth()+i),o.setDate(o.getDate()-1);const l=new Date(s);return l.setDate(1),r?e<l:e>o},al=({locale:e="es",onDateRangeChange:r,disablePastDates:s,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:u,disableFutureDates:g,withoutSearchButton:p,disablePastDaysCount:m,value:x})=>{const{keyReset:v,isOpen:h,endDate:j,language:z,leftMonth:D,startDate:T,setIsOpen:k,rightMonth:w,formatDate:A,handleSearch:H,handleCancel:G,isDateInRange:Z,getDaysInMonth:f,isDateDisabled:B,handleDateClick:F,handleDateHover:V,handlePrevClick:Q,handleNextClick:K,getDaysSelected:te,isDateInHoverRange:U}=U0({locale:e,onReset:l,onDateRangeChange:r,disablePastDates:s,withoutSearchButton:p,limitRange:i,disableFutureDates:g,disablePastDaysCount:m}),_=(x==null?void 0:x.startDate)instanceof Date?x.startDate:T,I=(x==null?void 0:x.endDate)instanceof Date?x.endDate:j,y=C.useRef(null);C.useEffect(()=>{const P=S=>{y.current&&!y.current.contains(S.target)&&h&&(k(!1),o||G())};return document.addEventListener("mousedown",P),()=>{document.removeEventListener("mousedown",P)}},[j,G,h,k,T,o]);const N=(P,S=!0)=>{const O=f(P),E=P.getMonth(),L=(R,X)=>[R&&R.getMonth()!==E?"other-month":"",R&&Z(R)?"in-range":"",R&&U(R)?"hover-range":"",R&&(R.getTime()===(_==null?void 0:_.getTime())||R.getTime()===(I==null?void 0:I.getTime()))?"selected":"",B(R,X)?"disabled":""].join(" "),W=({date:R,isLeftCalendar:X,disablePastDates:J,leftMonth:se})=>{const q=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),ue=new Date(R.getFullYear(),R.getMonth()-1,1).getTime();return!!(J&&(ue<q||!X&&new Date(se.getFullYear(),se.getMonth(),1).getTime()<=q))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>Q(P,S),disabled:An(new Date(P.getFullYear(),P.getMonth()-1,1),!0,T,i)||W({date:P,isLeftCalendar:S,disablePastDates:s,leftMonth:D}),children:t.jsx("span",{className:"sr-only",children:t.jsx(ts,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[z.MONTHS[P.getMonth()],t.jsx("p",{children:P.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>K(P,S),disabled:An(new Date(P.getFullYear(),P.getMonth()+1,1),!1,T,i)||g&&new Date(P.getFullYear(),P.getMonth(),1).getTime()>=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),children:t.jsx("span",{className:"sr-only",children:t.jsx(ns,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),z.DAYS.map(R=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:R},R)),O.map((R,X)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${L(R,S)}`,disabled:!R||B(R),onClick:()=>R&&!B(R)&&F(R),onMouseEnter:()=>R&&!B(R)&&V(R),onMouseLeave:()=>V(null),children:t.jsx("span",{className:`day-text ${R?"":"text-muted"}`,style:{fontSize:d},children:R?R.getDate():""})})},`${R}_${X}`))]})]})};return C.useEffect(()=>{v&&G()},[v]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:y,children:[t.jsx("button",{className:`date-picker-toggle ${u?"disabled":""}`,disabled:u,onClick:()=>k(!h),children:_&&I?t.jsxs("div",{className:"container-formate",children:[t.jsxs("p",{className:`p-formate-date ${u?"disabled":""}`,style:{borderRight:"1px solid #9c9ca0"},children:[A(_)," ",t.jsx(ol,{sx:{color:"#9c9ca0"},style:{width:"15px",marginLeft:"5px"}})]}),t.jsxs("p",{className:`p-formate-date ${u?"disabled":""}`,children:[A(I),t.jsx(ol,{sx:{color:"#9c9ca0"},style:{width:"15px",marginLeft:"5px"}})]})]}):t.jsxs("div",{className:"container-formate",children:[t.jsx("p",{className:`p-formate-date ${u?"disabled":""}`,style:{height:"34px",fontSize:d},children:z.selectRange}),t.jsx(Vi,{width:"10%",height:"50%"})]})}),h&&t.jsx("div",{className:"square"}),h&&t.jsx("div",{className:"container-triangle",children:t.jsx("div",{className:"triangle",children:t.jsx("div",{className:"triangle-blur"})})}),h&&t.jsxs("div",{className:"date-picker-dropdown",style:{right:a==="right"?"0":"auto",left:a==="left"?"0":"auto",top:"135%"},children:[t.jsxs("div",{className:"calendars-wrapper",children:[N(D,!0),N(w,!1)]}),!p&&t.jsx("div",{className:"date-picker-footer",children:_&&I&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[te()," ",z.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(Dn,{buttonProperties:{onClick:()=>G(),style:{width:"115px",textAlign:"center"}},children:z.cancel}),t.jsx(Ue,{buttonProperties:{onClick:()=>H(),style:{width:"115px",textAlign:"center"}},children:z.search})]})]})})]})]}),_&&I&&o&&t.jsx("button",{className:"button-reset",onClick:()=>G(),children:t.jsx(Cn,{})})]})};al.propTypes={locale:n.oneOf(["es","en"]),heightBoxes:n.string,onDateRangeChange:n.func,disablePastDates:n.bool,resetButton:n.bool,withoutSearchButton:n.bool,onReset:n.func,direction:n.oneOf(["left","right"]),fontSize:n.string,limitRange:n.number,keyReset:n.number,disabled:n.bool,disableFutureDates:n.bool,disablePastDaysCount:n.number,value:n.shape({startDate:n.instanceOf(Date),endDate:n.instanceOf(Date)})};const cl=(e,{disablePastDates:r,disableBusinessDays:s})=>{const i=new Date;if(i.setHours(0,0,0,0),r&&e<i)return!1;if(s&&typeof s=="number"&&s>0){let o=new Date(i),l=0;for(;l<s;){o.setDate(o.getDate()+1);const a=o.getDay();a!==0&&a!==6&&l++}if(e<o)return!1}return!0},Y0=e=>{const r=new Date;r.setHours(0,0,0,0);const s=new Date(r);s.setDate(r.getDate()+1);const i=new Date(r);return i.setDate(r.getDate()+2),e.getTime()===r.getTime()||e.getTime()===s.getTime()||e.getTime()===i.getTime()},q0=(e,r)=>{const s=new Date(r);return s.setHours(0,0,0,0),e.getTime()<=s.getTime()},G0="America/Bogota",K0=16,X0=3,J0=4,dl=0,hl=6,Q0=()=>{const e=new Date().toLocaleString("en-US",{timeZone:G0});return new Date(e)},eh=(e,r)=>{const s=r??Q0(),o=s.getHours()<K0?X0:J0;let l=0;const a=new Date(s);for(a.setDate(a.getDate()+1);l<o;){const g=a.getDay();g!==dl&&g!==hl&&l++,a.setDate(a.getDate()+1)}for(;a.getDay()===dl||a.getDay()===hl;)a.setDate(a.getDate()+1);const c=new Date(e);c.setHours(0,0,0,0);const d=new Date(a);return d.setHours(0,0,0,0),c<d},th=e=>{let r=0,s=new Date;for(s.setHours(0,0,0,0),s.setDate(s.getDate()+1);r<5;){const i=s.getDay();i!==0&&i!==6&&r++,s.setDate(s.getDate()+1)}for(;s.getDay()===0||s.getDay()===6;)s.setDate(s.getDate()+1);return e<s},nh=e=>e.getDay()===0||e.getDay()===6,rh=(e,r)=>{const s=new Date(r);s.setHours(0,0,0,0);let i=new Date(s);do i.setDate(i.getDate()+1);while(i.getDay()===0||i.getDay()===6);return e.getTime()<=i.getTime()},sh=({locale:e="es",onDateChange:r,onChangeFunction:s,disablePastDates:i,disableBusinessDays:o,disableNextTwoDays:l,disableSpecificDate:a,disableDaysBasedOnTime:c,disableFiveBusinessDays:d,disableWeekends:u,disableNextBusinessDayAfter:g,hourDisableDaysBasedOnHour:p,id:m})=>{const x=e==="es"?rs:ss,[v,h]=C.useState(new Date),[j,z]=C.useState(new Date),[D,T]=C.useState(!1),[k,w]=C.useState(null),A=C.useRef(null),H=U=>{const _=U.getFullYear(),I=U.getMonth(),N=new Date(_,I,1).getDay(),P=new Date(_,I+1,0),S=[],O=new Date(_,I,0).getDate();for(let W=N-1;W>=0;W--)S.push(new Date(_,I-1,O-W));for(let W=1;W<=P.getDate();W++)S.push(new Date(_,I,W));const L=42-S.length;for(let W=1;W<=L;W++)S.push(new Date(_,I+1,W));return S};C.useEffect(()=>{if(o&&typeof o=="number"&&o>0){let U=new Date;U.setHours(0,0,0,0);let _=new Date(U),I=0;for(;I<o;){_.setDate(_.getDate()+1);const y=_.getDay();y!==0&&y!==6&&I++}_.getMonth()>U.getMonth()&&z(_)}},[i,o]);const G=C.useMemo(()=>U=>U?i&&!cl(U,{disablePastDates:i})||o&&!cl(U,{disableBusinessDays:o})||l&&Y0(U)||a&&q0(U,new Date(a))||c&&eh(U,p)||d&&th(U)||u&&nh(U)||g&&rh(U,g):!1,[i,o,l,a,c,d,u,g,p]),Z=U=>{const _=new Date,I=new Date(_.getFullYear(),_.getMonth(),1).setHours(0,0,0,0);if(i&&U<I)return!0;if(a){const y=new Date(a).setHours(0,0,0,0);return U<y}return!1},f=U=>v&&U.getTime()===v.getTime(),B=U=>{const _=U.getMonth(),I=j.getMonth();_!==I&&z(new Date(U.getFullYear(),_,1)),w(Q(U)),h(U);const y=lt(U);r&&r(y),s&&s({id:m,date:y}),T(!1)},F=U=>{const _=new Date(U.getFullYear(),U.getMonth()-1,1),I=new Date;I.setHours(0,0,0,0),!(i&&_<new Date(I.getFullYear(),I.getMonth(),1))&&z(_)},V=U=>{const _=new Date(U.getFullYear(),U.getMonth()+1,1);z(_)},Q=U=>{const I=U.toLocaleDateString(x.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),y=I[0].charAt(0).toUpperCase()+I[0].slice(1),N=I[1],P=I[2].charAt(0).toUpperCase()+I[2].slice(1),S=I[3];return`${y} ${N} de ${P} ${S}`},K=()=>{h(new Date),T(!1)},te=()=>{T(!1),r&&r(v),s&&s({id:m,date:v})};return C.useEffect(()=>{const U=_=>{A.current&&!A.current.contains(_.target)&&T(!1)};return document.addEventListener("mousedown",U),()=>{document.removeEventListener("mousedown",U)}},[A]),{date:k,isOpen:D,setDate:w,language:x,leftMonth:j,setIsOpen:T,formatDate:Q,setLeftMonth:z,handleSearch:te,disablePrev:Z,handleCancel:K,selectedDate:v,isDateInRange:f,datePickerRef:A,getDaysInMonth:H,isDateDisabled:G,handlePrevClick:F,handleNextClick:V,handleDateClick:B,setSelectedDate:h}},ul=({label:e,error:r,locale:s,disabled:i,size:o="180px",onDateChange:l,onChangeFunction:a,disableWeekends:c,keyResetCalendar:d,disablePastDates:u,disableNextTwoDays:g,disableSpecificDate:p,disableBusinessDays:m,disableDaysBasedOnTime:x,disableFiveBusinessDays:v,disableNextBusinessDayAfter:h,hourDisableDaysBasedOnHour:j,heightBoxes:z="40px",labelText:D,subLabelText:T,id:k,value:w,fontSize:A})=>{const{date:H,isOpen:G,setDate:Z,language:f,leftMonth:B,setIsOpen:F,disablePrev:V,isDateInRange:Q,getDaysInMonth:K,isDateDisabled:te,handleDateClick:U,handlePrevClick:_,handleNextClick:I,datePickerRef:y,setSelectedDate:N,setLeftMonth:P,selectedDate:S}=sh({locale:s,onDateChange:l,onChangeFunction:a,disableWeekends:c,disablePastDates:u,disableBusinessDays:m,disableNextTwoDays:g,disableSpecificDate:p,disableDaysBasedOnTime:x,disableFiveBusinessDays:v,disableNextBusinessDayAfter:h,hourDisableDaysBasedOnHour:j,id:k}),O=w instanceof Date?w:void 0,E=W=>{if(!W)return null;const X=W.toLocaleDateString(f.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),J=X[0].charAt(0).toUpperCase()+X[0].slice(1),se=X[1],q=X[2].charAt(0).toUpperCase()+X[2].slice(1),ue=X[3];return`${J} ${se} de ${q} ${ue}`};C.useEffect(()=>{Z(null),N(null)},[d,Z,N]),C.useEffect(()=>{if(O){(B.getMonth()!==O.getMonth()||B.getFullYear()!==O.getFullYear())&&P(new Date(O.getFullYear(),O.getMonth(),1));const W=new Date(O.getFullYear(),O.getMonth(),O.getDate()),R=S?new Date(S.getFullYear(),S.getMonth(),S.getDate()):null;(!R||W.getTime()!==R.getTime())&&N(W)}},[O,B,S,P,N]);const L=W=>{const R=K(W),X=W.getMonth(),J=se=>{const q=!!O&&se&&se.getFullYear()===O.getFullYear()&&se.getMonth()===O.getMonth()&&se.getDate()===O.getDate();return[se&&se.getMonth()!==X?"other-month":"",se&&(Q(se)||q)?"selected":"",te(se)?"disabled":""].join(" ")};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>_(W),disabled:V(new Date(W.getFullYear(),W.getMonth()-1,1)),children:t.jsx("span",{className:"sr-only",children:t.jsx(ts,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[f.MONTHS[W.getMonth()],t.jsx("p",{children:W.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>I(W),children:t.jsx("span",{className:"sr-only",children:t.jsx(ns,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${z})`},children:[t.jsx("div",{className:"background-days"}),f.DAYS.map(se=>t.jsx("div",{className:"calendar-day-header",children:se},se)),R.map((se,q)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${J(se)}`,disabled:!se||te(se),onClick:()=>se&&!te(se)&&U(se),children:t.jsx("span",{className:`day-text ${se?"":"text-muted"}`,children:se?se.getDate():""})})},`${se}_${q}`))]})]})};return t.jsxs("div",{className:"single-date-picker-container relative",ref:y,children:[t.jsx(Qe,{label:O?E(O):H??e,onchange:()=>{},options:[],size:o,isOpen:G,setIsOpen:F,error:r,disabledClickOutside:!0,disabled:i,keyReset:d,Icon:wi,labelText:D,subLabelText:T,fontSizeLabel:A,withoutOptions:!0}),G&&t.jsx("div",{className:"date-picker-dropdown date-picker-individual",children:t.jsx("div",{className:"calendars-wrapper",children:L(B)})})]})};ul.propTypes={locale:n.oneOf(["es-ES","en-US"]),onDateChange:n.func,disableBusinessDays:n.number,disablePastDates:n.bool,label:n.string,size:n.string,disableNextTwoDays:n.bool,disableSpecificDate:n.instanceOf(Date),keyResetCalendar:n.number,error:n.bool,disableDaysBasedOnTime:n.bool,disableFiveBusinessDays:n.bool,disabled:n.bool,disableWeekends:n.bool,disableNextBusinessDayAfter:n.instanceOf(Date),hourDisableDaysBasedOnHour:n.instanceOf(Date),heightBoxes:n.string,labelText:n.string,subLabelText:n.any,id:n.string,onChangeFunction:n.func,value:n.instanceOf(Date),fontSize:n.string};const fl=({title:e,description:r,linkText:s,icon:i,fnNavigate:o,width:l,height:a,id:c})=>{const d=()=>{o(c)};return t.jsxs("section",{className:"info-action-card",style:{width:l,height:a},onClick:d,children:[t.jsxs("div",{className:"info-action-card__content",children:[t.jsxs("div",{className:"info-action-card__content__text__container",children:[t.jsx("h3",{children:e}),t.jsx("p",{children:r})]}),i]}),t.jsx("div",{className:"line-grey"}),t.jsxs("div",{className:"info-action-card__action",children:[t.jsx("button",{children:s}),t.jsx(mr,{})]})]})};fl.propTypes={title:n.string,description:n.string,linkText:n.string,icon:n.node,fnNavigate:n.func,width:n.string,height:n.string,id:n.string};const is=e=>e.map(r=>({id:r.id,title:r.title,optionsSelect:[]})),ih=(e,r)=>{const[s,i]=C.useState([]),[o,l]=C.useState(is(e)),[a,c]=C.useState(!1),d=C.useRef(null),u=C.useRef(!1),g=j=>{const z={};return e.forEach(D=>{const T=j.find(k=>k.id===D.id);T?z[D.id]={value:T.optionsSelect.map(k=>k.id),allData:T.optionsSelect}:z[D.id]={value:[],allData:[]}}),z},p=j=>{i(z=>z.includes(j)?z.filter(D=>D!==j):[...z,j])},m=(j,z)=>{u.current=!0,l(D=>{var G;const T=D.findIndex(Z=>Z.id===j);let k=[...D],w=[];const A=e.find(Z=>Z.id===j)||{};if(A.multiple!==!1)if(T===-1)w=[z],k.push({id:j,title:A.title||"",optionsSelect:w});else{const Z=D[T].optionsSelect;Z.some(B=>B.id===z.id)?w=Z.filter(B=>B.id!==z.id):w=[...Z,z],w.length===0?k.splice(T,1):(w.sort((B,F)=>{var V;return(V=B.label)==null?void 0:V.localeCompare(F.label)}),k[T].optionsSelect=w)}else if(T===-1||((G=D[T].optionsSelect[0])==null?void 0:G.id)!==z.id?w=[z]:w=[],w.length===0)T>-1&&k.splice(T,1);else{const Z={id:j,title:A.title||"",optionsSelect:w};T===-1?k.push(Z):k[T]=Z}if(r){const Z=g(k);r(Z)}return k})},x=()=>{u.current=!0;const j=is(e);if(l(j),r){const z=g(j);r(z)}},v=C.useCallback(j=>{u.current=!0,l(j)},[]),h=()=>o.reduce((j,z)=>j+z.optionsSelect.length,0);return C.useEffect(()=>{u.current||l(is(e))},[e]),C.useEffect(()=>{const j=z=>{d.current&&!d.current.contains(z.target)&&c(!1)};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[]),{expandedSections:s,selectedFilters:o,toggleSection:p,toggleFilter:m,clearAllFilters:x,open:a,setOpen:c,getLengthFilters:h,filterRef:d,setSelectedFilters:v}},On=(e,r)=>{var s;return r?typeof e=="object"&&!Array.isArray(e)?(s=Object.values(e))==null?void 0:s.flat():Array.isArray(e)?e:[]:Array.isArray(e)?e:[]},oh=(e,r)=>r||Array.isArray(e)?e:[],pl=({data:e=[],onChange:r,disabled:s,keyRest:i,value:o,fontSizeLabel:l="0.8vw",fontSizeTitles:a,fontSizeSelects:c="0.8vw",widthFilterComponent:d="380px",heightFilterComponent:u="400px",right:g="0",top:p="0"})=>{const{open:m,setOpen:x,toggleFilter:v,toggleSection:h,selectedFilters:j,clearAllFilters:z,getLengthFilters:D,expandedSections:T,filterRef:k,setSelectedFilters:w}=ih(e,r),[A,H]=C.useState({}),[G,Z]=C.useState({}),f=C.useRef({}),B=C.useRef(!0),F=132,V=220,Q=I=>{H(y=>({...y,[I]:!y[I]}))};C.useEffect(()=>{e.forEach(I=>{(I.selectAll||I.basicSelect)&&!(T!=null&&T.includes(I==null?void 0:I.id))&&h(I==null?void 0:I.id)})},[e,T,h]);const K=(I,y,N,P)=>{const S=N==null?void 0:N.filter(E=>P.includes(E.id)),O=o!==void 0?o:j;w(()=>{const E=O==null?void 0:O.findIndex(W=>(W==null?void 0:W.id)===I);let L=[...O];if(S.length===0)E>-1&&L.splice(E,1);else{const W={id:I,title:y,optionsSelect:S};E===-1?L.push(W):L[E]=W}if(r){const W={};e.forEach(R=>{if((R==null?void 0:R.id)===I)W[R==null?void 0:R.id]={value:P,allData:S};else{const X=L==null?void 0:L.find(J=>(J==null?void 0:J.id)===(R==null?void 0:R.id));X&&X.optionsSelect.length>0?W[R==null?void 0:R.id]={value:X.optionsSelect.map(J=>J.id),allData:X.optionsSelect}:W[R==null?void 0:R.id]={value:[],allData:[]}}}),r(W)}return L})},te=(I,y,N,P)=>{const S=N==null?void 0:N.find(E=>E.value===P||E.label===P),O=o!==void 0?o:j;w(()=>{const E=O==null?void 0:O.findIndex(W=>(W==null?void 0:W.id)===I);let L=[...O];if(!S)E>-1&&L.splice(E,1);else{const W={id:I,title:y,optionsSelect:[S]};E===-1?L.push(W):L[E]=W}if(r){const W={};e.forEach(R=>{if((R==null?void 0:R.id)===I)W[R==null?void 0:R.id]={value:P,allData:S?[S]:[]};else{const X=L==null?void 0:L.find(J=>(J==null?void 0:J.id)===(R==null?void 0:R.id));X&&X.optionsSelect.length>0?W[R==null?void 0:R.id]={value:X.optionsSelect.map(J=>J.value||J.id),allData:X.optionsSelect}:W[R==null?void 0:R.id]={value:[],allData:[]}}}),r(W)}return L})};C.useEffect(()=>{const I={};T==null||T.forEach(y=>{const N=f.current[y];N&&N.scrollHeight>F&&(I[y]=!0)}),Z(I)},[T,e]);const U=o!==void 0?o:j;C.useEffect(()=>{if(B.current){B.current=!1;return}w(o===void 0?[]:o)},[i,w,o]),C.useEffect(()=>{o!==void 0&&!B.current&&w(o)},[o,w]);const _=o!==void 0?U==null?void 0:U.reduce((I,y)=>{var N;return I+((N=y==null?void 0:y.optionsSelect)==null?void 0:N.length)},0):D();return t.jsxs("div",{className:"toggle-filter-component",ref:k,children:[t.jsxs("button",{className:"reset-styles-button center-flex relative button-filter-component",disabled:s,onClick:()=>x(!m),style:{fontSize:a},children:["Filtro ",_?`(${_})`:"",t.jsx(Ai,{})]}),m&&t.jsxs("div",{className:"filter-container-component",style:{width:d,height:u,right:g,top:p},children:[t.jsxs("div",{className:"filter-header",children:[t.jsx("h2",{className:"filter-title",style:{fontSize:a},children:"Filtros"}),t.jsxs("div",{className:"filter-header-buttons",children:[(o!==void 0?U.reduce((y,N)=>{var P;return y+((P=N==null?void 0:N.optionsSelect)==null?void 0:P.length)},0):D())>0&&t.jsxs("button",{className:"clear-all",onClick:z,style:{fontSize:a},children:["Borrar todo",t.jsx(wr,{width:"15px",height:"15px"})]}),t.jsx(ft,{sx:{color:"#8598ad"},style:{width:"14px",height:"14px"},onClick:()=>x(!m)})]})]}),e.map(({id:I,title:y,options:N,selectAll:P,basicSelect:S,placeholderInput:O,label:E,textSelectAll:L,grouped:W,disabledSection:R})=>{var X,J,se,q,ue,le;return t.jsxs("div",{className:"filter-section",children:[t.jsxs("button",{className:"section-header",onClick:()=>!(P||S)&&h(I),style:{cursor:P||S?"default":"pointer"},children:[t.jsxs("span",{className:"section-header-title",style:{fontSize:l},children:["Por ",y]}),!(P||S)&&(T==null?void 0:T.includes(I))&&t.jsx("span",{className:"filter-container-icon",children:t.jsx(qr,{isOpen:T==null?void 0:T.includes(I),onChange:()=>{},color:"#8598AD",padding:"2px",display:"flex",height:"auto",width:"auto"})})]}),(T==null?void 0:T.includes(I))&&t.jsx(t.Fragment,{children:P?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(Vr,{data:oh(N,W),grouped:W||!1,label:E||y,maxheight:"200px",onChange:fe=>{K(I,y,On(N,W),fe)},placeholderSearch:O||`Buscar ${y==null?void 0:y.toLowerCase()}`,textSelectAll:L||`Todos los ${y==null?void 0:y.toLowerCase()}`,width:"100%",widthDropdown:"100%",isRelative:!0,selectedValues:((J=(X=U.find(fe=>(fe==null?void 0:fe.id)===I))==null?void 0:X.optionsSelect)==null?void 0:J.map(fe=>fe.id))||[],fontSizeLabel:l,disabled:R,fontSizeOptions:c})}):S?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(Qe,{label:E||y,options:On(N,W),onchange:fe=>{te(I,y,On(N,W),fe.value)},placeholderInputSearch:O||`Buscar ${y==null?void 0:y.toLowerCase()}`,size:"100%",value:((ue=(q=(se=U==null?void 0:U.find(fe=>(fe==null?void 0:fe.id)===I))==null?void 0:se.optionsSelect)==null?void 0:q[0])==null?void 0:ue.value)||"",position:"relative",fontSizeLabel:l,disabled:R,fontSizeOptions:c})}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"section-content",ref:fe=>f.current[I]=fe,style:G[I]?A[I]?{maxHeight:V,overflowY:"scroll"}:{maxHeight:F,overflow:"hidden"}:{},children:(le=On(N,W))==null?void 0:le.map(fe=>{const Be=U==null?void 0:U.some(we=>{var Re;return(we==null?void 0:we.id)===I&&((Re=we==null?void 0:we.optionsSelect)==null?void 0:Re.some(ce=>ce.id===fe.id))});return t.jsx(es,{height:"27px",onChange:()=>v(I,fe),isSelect:Be,children:fe.label},fe.id)})}),t.jsx("div",{style:{display:"flex",justifyContent:"end",padding:"0 8%",marginTop:"10px"},children:(G==null?void 0:G[I])&&t.jsx("button",{className:"view-more",onClick:()=>Q(I),children:A[I]?"Ver menos":"Ver más"})})]})})]},I)})]})]})};pl.propTypes={data:n.arrayOf(n.shape({id:n.string.isRequired,title:n.string.isRequired,selectAll:n.bool,basicSelect:n.bool,grouped:n.bool,placeholderInput:n.string,label:n.string,textSelectAll:n.string,options:n.oneOfType([n.arrayOf(n.shape({id:n.string.isRequired,label:n.string.isRequired,name:n.string,value:n.string})),n.object]).isRequired})),onChange:n.func,disabled:n.bool,keyRest:n.oneOfType([n.number,n.string]),value:n.array,fontSizeLabel:n.string,fontSizeTitles:n.string,widthFilterComponent:n.string,heightFilterComponent:n.string,right:n.string,fontSizeSelects:n.string,top:n.string};const gl=({title:e,description:r,linkText:s,icon:i,fnNavigate:o,width:l,fnDownload:a,gapTitleDescription:c,height:d,hasDownloadButton:u,fontSizeTitle:g,fontSizeDescription:p,fontSizeButton:m,textButton:x,widthButton:v="7.5vw",id:h})=>t.jsxs("section",{id:"info-action-card-download-template",className:"info-action-card",style:{width:l,height:d},onClick:()=>o(h),children:[t.jsxs("div",{style:{height:"80%",display:"flex",flexDirection:"column",justifyContent:"space-evenly"},children:[t.jsxs("div",{className:"info-action-card__content info-action-card__content-download-template",children:[t.jsxs("div",{className:"info-action-card__content__text info-action-card__content__text-download-template",style:{gap:c},children:[t.jsx("h3",{style:{fontSize:g},children:e}),t.jsx("p",{style:{fontSize:p},children:r})]}),t.jsx("div",{className:"info-action-card__content__icon",children:i})]}),u&&t.jsx(Yr,{buttonProperties:{disabled:!1,onClick:()=>a(),style:{minHeight:"32px",width:v,marginLeft:"10px",fontSize:m,display:"flex",justifyContent:"space-between",alignItems:"center"}},children:x})]}),t.jsx("div",{className:"info-action-card__action info-action-card__action-download-template",children:t.jsxs("div",{style:{display:"flex",alignItems:"center",padding:" 15px",gap:"10px",fontSize:p},children:[t.jsx("button",{children:s}),t.jsx(mr,{})]})})]});gl.propTypes={title:n.string,description:n.string,linkText:n.string,icon:n.node,fnNavigate:n.func,width:n.string,fnDownload:n.func,gapTitleDescription:n.string,height:n.string,hasDownloadButton:n.bool,fontSizeTitle:n.string,fontSizeDescription:n.string,fontSizeButton:n.string,textButton:n.string,widthButton:n.string,id:n.string};const ml=({iconTitle:e,title:r,mainData:s,news:i,width:o,height:l,onChange:a,isSelected:c,value:d,disabled:u,keyReset:g,heightTitleFilter:p="20px",color:m="#575EE0"})=>{const[x,v]=C.useState({isSelected:c||!1,value:d||null}),h=D=>d===D.title,j=({item:D,from:T})=>{const k={isSelected:x.value!==D.title,value:x.value===D.title?null:D.title};v(k),a({item:D,from:T,title:r,selected:k.value,isSelected:k.isSelected})};C.useEffect(()=>{v({isSelected:!1,value:null})},[g]);const z=D=>!!(Number(D.quantity)===0||u);return t.jsxs("div",{className:"ProcessFilter",style:{width:o,height:l,borderColor:m},children:[t.jsxs("div",{className:"ProcessFilter-header",style:{height:p},children:[t.jsxs("div",{className:"ProcessFilter-titleWrapper",children:[e,t.jsx("h2",{className:"ProcessFilter-title",style:{color:m},children:r})]}),t.jsx("div",{className:"ProcessFilter-statsWrapper",children:t.jsx(Ii,{})})]}),t.jsx("div",{className:"ProcessFilter-mainData",children:s.map(D=>t.jsxs("div",{onClick:()=>z(D)?null:j({item:D,from:"main"}),className:`ProcessFilter-item-wrapper ${h(D)?"selected":""} ${z(D)?"disabled":""}`,children:[t.jsxs("div",{className:"ProcessFilter-item-content-icon-title",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:11,fill:"none",children:t.jsx("path",{fill:"#fff",d:"M13.407 1.545 11.832 0 4.469 7.172l-2.883-2.8L0 5.91l4.469 4.343 8.938-8.708Z"})}),t.jsx("span",{className:"ProcessFilter-item-title",children:D.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:D.quantity})]},D.id))}),i.length>0&&t.jsxs("div",{className:"",children:[t.jsxs("h3",{className:"ProcessFilter-newsTitle",children:["Novedades (",i.reduce((D,T)=>D+(parseInt(T.quantity)||0),0),")"]}),i.map(D=>t.jsxs("div",{onClick:()=>z(D)?null:j({item:D,from:"news"}),className:`ProcessFilter-item-wrapper ${h(D)?"selected":""} ${z(D)?"disabled":""}`,children:[t.jsxs("div",{className:"ProcessFilter-item-content-icon-title",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:11,fill:"none",children:t.jsx("path",{fill:"#fff",d:"M13.407 1.545 11.832 0 4.469 7.172l-2.883-2.8L0 5.91l4.469 4.343 8.938-8.708Z"})}),t.jsx("span",{className:"ProcessFilter-item-title",children:D.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:D.quantity})]},D.id))]})]})};ml.propTypes={iconTitle:n.any,title:n.string,mainData:n.array,news:n.array,width:n.string,height:n.string,onChange:n.func,isSelected:n.bool,value:n.string,disabled:n.bool,keyReset:n.number,heightTitleFilter:n.string,color:n.string};const lh=({locale:e="es",disablePastDates:r,onDateRangeChange:s,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,u]=C.useState(!1),[g,p]=C.useReducer(S=>S+1,0),m=e==="es"?rs:ss,[x,v]=C.useState(null),[h,j]=C.useState(null),[z,D]=C.useState(null),[T,k]=C.useState(new Date),[w,A]=C.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[H,G]=C.useState(!1),Z=(S,O)=>{const E=new Date;if(E.setHours(0,0,0,0),c){const L=new Date(E);if(L.setDate(E.getDate()-c),S<L||S>E)return!0}return O&&r&&S<E||!O&&a&&S>E||r&&S<E||a&&S>E?!0:l>0&&x?ll(S,x,l):!1},f=S=>{const O=S.getFullYear(),E=S.getMonth(),W=new Date(O,E,1).getDay(),R=new Date(O,E+1,0),X=[],J=new Date(O,E,0).getDate();for(let ue=W-1;ue>=0;ue--)X.push(new Date(O,E-1,J-ue));for(let ue=1;ue<=R.getDate();ue++)X.push(new Date(O,E,ue));const q=42-X.length;for(let ue=1;ue<=q;ue++)X.push(new Date(O,E+1,ue));return X},B=S=>!x||!h?!1:S>=x&&S<=h,F=S=>!x||!z?!1:S>=x&&S<=z||S<=x&&S>=z,V=S=>{!x||h?(v(S),j(null)):S<x?(j(x),v(S),i&&N(S,x)):(j(S),i&&N(x,S))},Q=S=>{D(S)},K=()=>!x||!h?0:Math.round((h.getTime()-x.getTime())/(1e3*60*60*24))+1,te=(S,O)=>{const E=new Date(S.getFullYear(),S.getMonth()-1,1);r&&E<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&O||(O?k(E):(A(E),E.getMonth()===T.getMonth()&&k(new Date(E.getFullYear(),E.getMonth()-1,1))))},U=(S,O)=>{const E=new Date(S.getFullYear(),S.getMonth()+1,1);O?(k(E),E.getMonth()===w.getMonth()&&A(new Date(E.getFullYear(),E.getMonth()+1,1))):A(E)},_=S=>{const E=S.toLocaleDateString(m.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),L=E[0].charAt(0).toUpperCase()+E[0].slice(1),W=E[1],R=E[2].charAt(0).toUpperCase()+E[2].slice(1),X=E[3];return`${L} ${W} de ${R} ${X}`},I=()=>{const S=new Date;v(null),j(null),k(S),A(new Date(new Date().setMonth(new Date().getMonth()+1))),G(!1),o({startDate:null,endDate:null}),p()},y=()=>{G(!1);const S=lt(x),O=lt(h);s({startDate:S,endDate:O}),u(!1)},N=(S,O)=>{v(S),j(O),G(!1);const E=lt(S),L=lt(O);s({startDate:E,endDate:L}),u(!1)};return{isOpen:H,endDate:h,language:m,leftMonth:T,startDate:x,setIsOpen:G,hoverDate:z,rightMonth:w,formatDate:_,handleSearch:y,handleCancel:I,isDateInRange:B,getDaysInMonth:f,isDateDisabled:Z,handleDateClick:V,handleDateHover:Q,handlePrevClick:te,handleNextClick:U,getDaysSelected:K,isDateInHoverRange:F,keyReset:g,resetSelect:p,handleBasicSelect:({value:S})=>{S==="custom"?(u(!0),G(!1)):s({value:S})},isOpenCalendar:d,setIsOpenCalendar:u}},yl=({locale:e="es",onDateRangeChange:r,disablePastDates:s,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:u,disableFutureDates:g,optionsBasicSelect:p,withoutSearchButton:m,widthBasicSelect:x,fontSizeLabelBasicSelect:v,fontSizeOptionsBasicSelect:h,labelText:j,subLabelText:z,disablePastDaysCount:D,keyResetBasicSelect:T})=>{const{keyReset:k,isOpen:w,endDate:A,language:H,leftMonth:G,startDate:Z,setIsOpen:f,rightMonth:B,handleSearch:F,handleCancel:V,isDateInRange:Q,getDaysInMonth:K,isDateDisabled:te,handleDateClick:U,handleDateHover:_,handlePrevClick:I,handleNextClick:y,getDaysSelected:N,isDateInHoverRange:P,handleBasicSelect:S,isOpenCalendar:O,setIsOpenCalendar:E}=lh({locale:e,onReset:l,onDateRangeChange:r,disablePastDates:s,withoutSearchButton:m,limitRange:i,disableFutureDates:g,disablePastDaysCount:D}),L=C.useRef(null);C.useEffect(()=>{const R=X=>{L.current&&!L.current.contains(X.target)&&(w||O)&&(f(!1),E(!1),o||V())};return document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[A,V,w,f,Z,o,O,E]);const W=(R,X=!0)=>{const J=K(R),se=R.getMonth(),q=(le,fe)=>[le&&le.getMonth()!==se?"other-month":"",le&&Q(le)?"in-range":"",le&&P(le)?"hover-range":"",le&&(le.getTime()===(Z==null?void 0:Z.getTime())||le.getTime()===(A==null?void 0:A.getTime()))?"selected":"",te(le,fe)?"disabled":""].join(" "),ue=({date:le,isLeftCalendar:fe,disablePastDates:Be,leftMonth:we})=>{const Re=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),ce=new Date(le.getFullYear(),le.getMonth()-1,1).getTime();return!!(Be&&(ce<Re||!fe&&new Date(we.getFullYear(),we.getMonth(),1).getTime()<=Re))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>I(R,X),disabled:An(new Date(R.getFullYear(),R.getMonth()-1,1),!0,Z,i)||ue({date:R,isLeftCalendar:X,disablePastDates:s,leftMonth:G}),children:t.jsx("span",{className:"sr-only",children:t.jsx(ts,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[H.MONTHS[R.getMonth()],t.jsx("p",{children:R.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>y(R,X),disabled:An(new Date(R.getFullYear(),R.getMonth()+1,1),!1,Z,i)||g&&new Date(R.getFullYear(),R.getMonth(),1).getTime()>=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),children:t.jsx("span",{className:"sr-only",children:t.jsx(ns,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),H.DAYS.map(le=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:le},le)),J.map((le,fe)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${q(le,X)}`,disabled:!le||te(le),onClick:()=>le&&!te(le)&&U(le),onMouseEnter:()=>le&&!te(le)&&_(le),onMouseLeave:()=>_(null),children:t.jsx("span",{className:`day-text ${le?"":"text-muted"}`,style:{fontSize:d},children:le?le.getDate():""})})},`${le}_${fe}`))]})]})};return C.useEffect(()=>{T&&V()},[T]),C.useEffect(()=>{w&&E(!1)},[w]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:L,style:{width:x},children:[t.jsx(Qe,{label:"Buscar por fecha",options:p,size:x,isOpen:w,setIsOpen:f,disabledClickOutside:!0,disabled:u,onchange:S,fontSizeLabel:v,fontSizeOptions:h,keyReset:k,labelText:j,subLabelText:z,sortAlphabetically:!1}),O&&t.jsxs("div",{className:"date-picker-dropdown",style:{right:a==="right"?"0":"auto",left:a==="left"?"0":"auto",top:"90%"},children:[t.jsxs("div",{className:"calendars-wrapper",children:[W(G,!0),W(B,!1)]}),!m&&t.jsx("div",{className:"date-picker-footer",children:Z&&A&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[N()," ",H.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(Dn,{buttonProperties:{onClick:()=>V(),style:{width:"115px",textAlign:"center"}},children:H.cancel}),t.jsx(Ue,{buttonProperties:{onClick:()=>F(),style:{width:"115px",textAlign:"center"}},children:H.search})]})]})})]})]}),Z&&A&&o&&t.jsx("button",{className:"button-reset",onClick:()=>V(),children:t.jsx(Cn,{})})]})};yl.propTypes={locale:n.oneOf(["es","en"]),heightBoxes:n.string,onDateRangeChange:n.func,disablePastDates:n.bool,resetButton:n.bool,withoutSearchButton:n.bool,onReset:n.func,direction:n.oneOf(["left","right"]),fontSize:n.string,limitRange:n.number,keyReset:n.number,disabled:n.bool,disableFutureDates:n.bool,optionsBasicSelect:n.array,widthBasicSelect:n.string,fontSizeLabelBasicSelect:n.string,fontSizeOptionsBasicSelect:n.string,labelText:n.string,subLabelText:n.any,disablePastDaysCount:n.number,keyResetBasicSelect:n.number};const ah=_e(t.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined"),xl=({data:e,language:r,onSave:s,onCancel:i,isUpdate:o})=>{const[l,a]=C.useState(e),c={en:{title:"Application list",update:"Update application",cancel:"CANCEL",save:"SAVE"},es:{title:"Lista de aplicaciones",update:"Editar aplicación",cancel:"CANCELAR",save:"GUARDAR"}},d=c[r]??c.es,u=p=>{const m=l.filter((x,v)=>v!==p);a(m)},g=()=>{s(l)};return t.jsx("div",{className:"modal-overlay",children:t.jsxs("div",{className:"modal-listAplication",children:[t.jsxs("div",{className:"relative-onehundredpercent",children:[t.jsx("div",{className:"modal-listAplication-header",children:t.jsx("h2",{children:o?d.update:d.title})}),t.jsx("button",{className:"close-button",onClick:i,children:t.jsx(ft,{sx:{color:"#8598ad"}})})]}),t.jsx("div",{className:"modal-listAplication-content",children:l==null?void 0:l.map((p,m)=>t.jsxs("div",{className:"application-item",children:[t.jsx("div",{className:"application-header",children:t.jsx("h3",{children:p.title})}),t.jsxs("div",{className:"container-center-between",children:[t.jsx("div",{className:"application-title",children:typeof p.logo=="string"?t.jsx("div",{children:t.jsx("img",{src:p==null?void 0:p.logo,alt:`${p.title} logo`,className:"app-logo"})}):t.jsx("div",{children:t.jsx(p.logo,{})})}),l.length>1&&t.jsx("button",{className:"remove-button",onClick:()=>u(m),children:t.jsx(ah,{sx:{color:"#8598ad"}})})]}),t.jsx("p",{className:"application-manager",children:p.manager}),m<e.length-1&&t.jsx("hr",{})]},m))}),t.jsxs("div",{className:"modal-listAplication-footer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>i(),style:{width:"45%"}},children:d.cancel}),t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"45%"}},children:d.save})]})]})})};xl.propTypes={data:n.array,language:n.oneOf(["en","es"]),onSave:n.func,onCancel:n.func,isUpdate:n.bool};const vl=e=>e.toLocaleDateString("es-ES",{day:"numeric",month:"long",year:"numeric"}),bl=({isOpen:e,ticketNumber:r="##000",date:s=new Date,setIsOpen:i,isReadOnly:o=!1,fontSize:l="1vw",fontSizeButton:a="0.8vw",fontSizeTicketNumber:c="1.3vw",width:d="40vw",onAccept:u,onCreateNewTicket:g,createNewTicket:p=!0})=>{if(!e)return null;const m=()=>i(!1),x=()=>{m(),u()},v=()=>{m(),g()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:d},children:[t.jsx("button",{onClick:m,className:"closeButton",children:t.jsx(ft,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"main-content",children:[o&&t.jsxs("div",{className:"alert",children:[t.jsx(Ut,{width:30}),t.jsx("p",{style:{fontSize:l},children:"Estás usando un usuario de prueba. No se va a generar ningún Ticket"})]}),t.jsx("h2",{className:"title",children:"Se ha cargado su solicitud correctamente"}),t.jsxs("div",{className:"content-ticket",children:[t.jsx(Tn,{width:"35%"}),t.jsxs("div",{className:"content",children:[t.jsx("p",{style:{fontSize:l},children:"Se ha creado una nueva solicitud"}),t.jsxs("div",{children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Número de ticket"}),t.jsx("p",{className:"ticketNumber",style:{fontSize:c},children:r})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:vl(s)})]})]})]}),t.jsxs("div",{className:"buttonContainer",style:{justifyContent:p?"space-between":"center"},children:[p&&t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>v(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>x(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})]})})};bl.propTypes={isOpen:n.bool,ticketNumber:n.string,date:n.instanceOf(Date),setIsOpen:n.func,isReadOnly:n.bool,fontSize:n.string,fontSizeButton:n.string,fontSizeTicketNumber:n.string,width:n.string,onAccept:n.func,onCreateNewTicket:n.func,createNewTicket:n.bool};const ch="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAugAAACTCAMAAADr/hyJAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAJhUExURQAAANzz7dzz7dz07P///9zz7dzz7dvt7dzz7dvz7dzz7t3y7t307dvz7dv//9zz7d307eD169zz7dr079vz7dvz7dzz7d307b///9zz7tzz7dzz7tjr69vz69zy7dzz7dzy7tz27d307Nzz7f///9z07dzz7dX//9zz7tzz7dzz7dXq6t3y7tzz7dzz7f///9vz89v07Nzz7Nzz7d//397379zz7dzz7d/v793u7tjw8N/v79rz7Nzy7tzz7eHw8Nvz7dzz6N3z7dzz7dny8tvw8Nzz7d706dzz7eP/49zz7d307dzz7dzz7N307tvy7tzz7dv07N317N3y7t3z7dzx6uPx8dj169307tvy7dzz7tzz7dz169v07dzz7d3z7d3z7Nrw8Nzz7tvz7dzz7d337tzz7dzz7dz07Nzz7dzz7Nfy8tzz7dzz69zz7d3x6ub/5tHo6Nzz7N3z7dzy7dzy7Nzy7tvz7dv07sz//931693z7dzy7dz07d3z7tzz7d307dvz7dvz7N3x7tzy7dvy7Nrx7Nv07Nzz7dzz7dz07dzz7dv07dvy7dzy7Nzz7dzy7tzz7tzz7dvy69v169zy7dzz7drz79zz7dzy7dzz7t307tv179zz7t307dvz7Nvz7dzz7tzz7dvz7t/y7Nzz7dv07dv07dz07dzz7dzz7Nvz7d3z7dzy7d7y69zz7tzz7dzz7dzz7N3y7d3y7d7x7Nzy7tz07N3z7N3y7Nzz7tzz7Nz07dzz7tzz7Nzy7dzz7tzz7dzz7d3z7tz17t707t/06tzz7tv07dzz7f///6DK0vIAAADJdFJOUwDE5l4B+pEOuyrbTPSAB/ycGbww11XsbwSw9oUNQMv9oR1E0gLfxwZm6dUMd/LhAxWI+OsIH5n7IA8hECmi8xErFqvwFCP3F/UJ7959zllNxbM1PKokEhqGY8zZM3LYuVIize3jHv75ieVsE91B2iUKC3vPtmB1rFwFNH/KtGjocLqkS4x5N12a8XSunWRR7naSgk4ytag+kLeEWzGvyKVUsadqKL2ecZ/il4FTOieTprjqjmE2O1+Vo75tSFhui7/W0WlJLhgsR8ixHpYAAAABYktHRASPaNlRAAAAB3RJTUUH6AsMDjsfsOFyIQAAAAFvck5UAc+id5oAAAbYSURBVHja7d3pdxNVGIDxSQJp0CYBYRqEQiEt0tYUmBZiEdKWpSxWSWMK1RjAqlCWVmUTlEWxgKJAFdwRFUFUVNz3fdf/ykY8AkJqs74zc5/fx36aufOcnDt3bme0PwEFaNIHABQDoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOpRA6FACoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOpRA6FACoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOpRA6FACoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOlTgIHTYn9M1jNBhd8PdJZpG6LA5zwhNI3TY3FVXaxqhw+ZKvT6N0GFz/pGjNI3QYXPXjNY0QofNjdE1jdBhc2WBsZd2rl0rfUhAvo0bX65dZsJE6cMC8qli0mTtioKV0ocG5I1ntJZOlT5F+uiAvLhugjaYqdU10kcI5KxW1/7P9aE66aMEcjKtevr/dj5ghlEvfaRA1hpCM4eSecqs8A3SRwtkpcxbMtTMUxpJHRZUZ8zOJPOUG8N+6aMGMlJnzMk085S5EVKHdTQZzdlkntISqZA+emBISt3zss08ZfR8Uof5LRi/MJfMU1q5LYXJlXmznrRcrNG9SPpMgLRqvBmvtKSz2FgifTbAFU0LLM1X5ikLvTdJnxFwmbaAL/e4L9V8c430WQGXuGXZkPa0ZMrnGiN9ZsC/HNFhhcg8pSraLn12QEpF7NZCVX5evIPHpZDW5J5V2MxTlrPaCFE13hWFzzyl87Yy6XOFsipvH/J289z5XPwfNQRUeAp3B5oGk3UUW1N4bpEr/1urwUMkFE9bqEhT88uVBHg9Booj4Rqbe7DZqwoyg0HBLYqMzr3VXLUaDdLjAFu7Q27Ocimf7pEeC9iVPxYs9jrLYJLhUukRgQ05jcm5x5lfK1aukh4V2EvF6jtFb0DT4mcd+eM0uqSDTm929V3S4wM7qPDo5vwxvyDpvlt6lGBx9xhrpDMeipm6Z630UMGyujuiBfm/oYIYsW699HjBkiZu2Cgdb2aq4tyZIkNOtwkegGauxMUUBkNWHzP9/Wd6a0I90uMHS0gELDZl+a+q3pFs5sXg7vXeJ91pPviiEabrSKcsHDfTZpbc3K/HhksPKExoQSRq3Yn5la2odnBriovVx1ybpLMsiNbNW6THFmbRvXVb3l6Ca0KNAX7X8affEcjp+xSWMIvW1TZQ+QzpCGkdhVUfq1al8vO6Hmjn60iqKd2+w87z8nQWujpYX1dHWUS/Xjo5MfdHIzw3VcEUd/BB6diETY+775G+DCioWsNGzz5zMeyhnbuYsNvTuN17LPHfQkWzUI8skL4oyLOHI3q5dFgmND1uJKQvDfLFn/AmmbCkdd8je/mehvXVPLrMJG+RM7GlQSPB4yTruiFhxKukI7KKxXrYKX3BkIWesK7iI6FcVCVDnm7p64YMlHoCjdLVWFR53767WHe0giV79x+w239QFFk5U3aTG5iUB4v4oTg7m6e7WXg0JX/CiJZI52Evax57fIz0ZcXFutuNPiIviHlRw8ENqhmUOozgUukc7G1TPOQZJ32dlXbQE4pPlc5ADb74E0+yzi6govbQ4RE82C+uzoF5DNsFiqfOYUQt/to463owGYi0SReggJ5IIMljfWmTj4zf2y+dgm21dTzVy9qKeXRGvTG+KZNfzpg3av/Xr1hQ1VzX0+1N0nnYgnPr0WOd0tcTgxr4be+oZdNAtvw9A7/jo6QvIoZoTjwQdtRLR2MxTYlIIG7P137am+8Z17pnp0jnYwXdlc9tPrKcdRVLK0+6jFgPc5k0nDHDlWTzoW2seH7PCy+2sbn9gvrK+S8df5nEbWlqVzQUdhyUbkxYfyIS0lus89VaZKuzd8++E5VLpIMruoZXXj2641Ye/6imOamHwh4VPhDZn+gYmInPkR5wiJqTfG2l++QWG+4iWLu+/fV1p/pO+6SHGGZS3tJ3yni9fb1fus+cLbrqjTM7t/W2smscg2luCVZ7w7GE1ba899d6IkZAT3ayII6MbDo9Ycebxlu7d71t3o3vdXc4Tpx9Z8O7763h9xu5KzkXP3Jq5/sffLirTfytv/6PVrXHJn28/5OrP53MOjgKZuy8059FP1/50hdfnvwq0dNQ+C01Tc5Vuzzbz7yw8+vj33zayuIJZPhmdCV7j31b/V1o/PfhSMfqHxI/9jT0Z7GKM7y/39nz00TP7o5DZw1v6OfD+i/xXxubmXLD3KY3N//W1fV7MhkPntenX/DHP387kEye6+ra2MzLOQEAyMBf4Qb2Ap6Bh4QAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjQtMTEtMTJUMTQ6NTk6MTIrMDA6MDBpf70TAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI0LTExLTEyVDE0OjU5OjEyKzAwOjAwGCIFrwAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNC0xMS0xMlQxNDo1OTozMSswMDowMDz6OZAAAAAASUVORK5CYII=",jl=({onChange:e,handleClose:r})=>{const[s,i]=C.useState(!1),o=()=>{e(s),r()};return t.jsx("div",{className:"modal-overlay",children:t.jsxs("div",{className:"modal-VisualizationModaLogin",children:[t.jsx("img",{src:ch,alt:"",className:"backgroundTicket"}),t.jsx("div",{className:"TicketImageUserReadOnly",style:{height:"95px"},children:t.jsx("div",{className:"UserReadOnlyIconCenter",children:t.jsx(Ut,{width:80})})}),t.jsx("button",{className:"close-button-VisualizationModaLogin",onClick:r,children:t.jsx(ft,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"container-content",children:[t.jsx("div",{className:"modal-header",children:t.jsx("h2",{children:"¿Qué es un usuario de Visualización?"})}),t.jsxs("div",{className:"modal-content",children:[t.jsx("p",{children:"Este perfil se puede utilizar para realizar ensayos o simulaciones dentro del portal, aplicación o plataforma. Este tipo de usuario se creo con el objetivo de evaluar funcionalidades, detectar errores o problemas, y verificar que el sistema funciona correctamente antes de que esté disponible para usuarios reales."}),t.jsx("h3",{children:"¿Qué puedo y que no puedo hacer?"}),t.jsxs("ul",{children:[t.jsx("li",{children:"Puedes Visualizar y hacer el flujo de una sección dentro del portal"}),t.jsx("li",{children:"Puedes hacer la navegación pero no es posible guardar o realizar solicitudes de Tickets"})]}),t.jsx("div",{className:"checkbox-container",children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{onChange:l=>i(l.target.checked),sx:{"&.Mui-checked":{color:"#33a4dd"}}}),label:"No volver a mostrar al iniciar sesión"})}),t.jsx("div",{className:"container-button-modal",children:t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>{o()},style:{width:"40%"}},children:"ACEPTAR"})})]})]})]})})};jl.propTypes={onChange:n.func,handleClose:n.func};const wl=({isOpen:e,setIsOpen:r,width:s="30vw",fontSizeTitle:i="1.5vw",fontSizeDescription:o="1vw",fontSizeButton:l="1vw",description:a="Al cancelar perderás los datos proporcionado en la acción.",title:c="¿Estas seguro que deseas cancelar dia y hora específicos de la promoción?",textButton:d="ACEPTAR",onAccept:u})=>{if(!e)return null;const g=()=>r(!1),p=()=>{r(!1),u()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:s},children:[t.jsx("button",{onClick:g,className:"closeButton",children:t.jsx(ft,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"main-content",children:[t.jsx("div",{className:"iconContainer",children:t.jsx(jr,{})}),t.jsx("h2",{className:"title",style:{border:"none",fontSize:i},children:c}),t.jsx("p",{className:"warning-modal-description",style:{fontSize:o},children:a}),t.jsx("div",{className:"buttonContainer",children:t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>p(),style:{width:"100%",fontSize:l}},children:d})})]})]})})};wl.propTypes={isOpen:n.bool,setIsOpen:n.func,width:n.string,fontSizeTitle:n.string,fontSizeDescription:n.string,fontSizeButton:n.string,textButton:n.string,onAccept:n.func};const kl=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-InProcessing",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(zn,{fill:"#d0aa00"}),"En Procesamiento"]});kl.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Cl=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-ToStart",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(zn,{fill:"#7c92c5"}),"Por Iniciar"]});Cl.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const os=(e,r="100px",s,i,o)=>({Activo:t.jsx(Gr,{width:r,fontSize:s,marginAuto:i,height:o}),Cancelada:t.jsx(Xr,{width:r,fontSize:s,marginAuto:i,height:o}),Finalizada:t.jsx(Jr,{width:r,fontSize:s,marginAuto:i,height:o}),Inactivo:t.jsx(Kr,{width:r,fontSize:s,marginAuto:i,height:o}),"En Procesamiento":t.jsx(kl,{width:r,fontSize:s,marginAuto:i,height:o}),"Por Iniciar":t.jsx(Cl,{width:r,fontSize:s,marginAuto:i,height:o}),"En tránsito":t.jsx(Qr,{width:r,fontSize:s,marginAuto:i,height:o})})[e]||e,Sl=({data:e,onEdit:r,width:s,dataKeysNotToRender:i=[],textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeight:d,onFnIcon:u,icon:g=t.jsx(yr,{}),widthState:p,onEditSubData:m,onFnIconSubData:x,subMessage:v,onClickOptions:h,onClickSubOptions:j,fontSizeTHead:z,fontSizeTBody:D,widthOptions:T,fontSizeOptions:k,nameOfKeyState:w="Estado",texAlignTHead:A="start",textAlignTBody:H="start",fontSizeState:G,fontStyleTBody:Z="normal",fontStyleTHead:f="normal"})=>{const[B,F]=C.useState({}),V=_=>{F(I=>({...I,[_]:!I[_]}))},Q=_=>{r(_)},K=_=>{m(_)},te=e.length>0?Object.keys(e[0]).filter(_=>_!=="subData"&&!i.includes(_)):[],U=_=>_!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{}),te.map((_,I)=>t.jsx("th",{style:{fontSize:z,textAlign:A,fontStyle:f},children:_.replace(/_/g," ")},I)),te.length>0?t.jsx("th",{style:{fontSize:z,textAlign:A,fontStyle:f},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:te.length+1,style:{fontSize:c,textAlign:"center",fontStyle:Z},children:a})}),e==null?void 0:e.map(_=>{var I;return t.jsxs(C.Fragment,{children:[t.jsxs("tr",{className:"main-row",children:[t.jsx("td",{children:t.jsx("button",{onClick:()=>V(_.id),className:"reset-styles-button",style:{width:"100%"},children:t.jsx("i",{className:`arrow-grey-container ${B[_.id]?"up":"down"}`})})}),te.map((y,N)=>t.jsx("td",{style:{color:y!==w?U(_.Estado):"black",padding:y===w?"0 9px":"10px",fontSize:D,textAlign:H,fontStyle:Z},children:y===w?os(_[y],p,G,H==="center"):_[y]||"-"},N)),((I=_==null?void 0:_.options)==null?void 0:I.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:y=>{h({option:y,row:_})},options:[..._.options],fontSize:k,width:T})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>Q(_),style:{fontSize:D,fontStyle:Z},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>u(_),children:g})]})})]}),B[_.id]&&t.jsx("tr",{className:"sub-row",style:{fontStyle:"italic"},children:Array.from({length:te.length+2},(y,N)=>t.jsx("td",{className:"td-empty",style:{fontWeight:"600"},children:N===1?`${v}`:""},N))}),B[_.id]&&_.subData.length>0&&_.subData.map((y,N)=>{var P;return t.jsxs("tr",{className:"sub-row",children:[t.jsx("td",{})," ",te.map((S,O)=>t.jsx("td",{style:{color:S!==w?U(y.Estado):"black",padding:S===w?"0 9px":"10px",fontSize:D,textAlign:H,fontStyle:Z},children:S===w?os(y[S],p,G,H==="center"):y[S]||"-"},O)),((P=y==null?void 0:y.options)==null?void 0:P.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:S=>{j({option:S,row:y})},options:[...y.options],fontSize:k,width:T})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>K(y),style:{fontSize:D,fontStyle:Z},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>x(y),children:g})]})})]},N)})]},_.id)})]})]})};Sl.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeight:n.string,icon:n.node,onFnIcon:n.func,widthState:n.string,onEditSubData:n.func,onFnIconSubData:n.func,subMessage:n.string,onClickOptions:n.func,onClickSubOptions:n.func,fontSizeTHead:n.string,fontSizeTBody:n.string,fontSizeOptions:n.string,texAlignTHead:n.string,widthOptions:n.string,nameOfKeyState:n.string,textAlignTBody:n.string,fontSizeState:n.string,fontStyleTBody:n.string,fontStyleTHead:n.string};const Tl=({data:e,dataKeysNotToRender:r,title:s,minWidth:i,texAlignTHead:o="start",textAlignTBody:l="start",fontSizeTHead:a,fontSizeTBody:c,fontSizeTitle:d})=>{const u=e.length>0?Object.keys(e[0]).filter(g=>!r.includes(g)):[];return t.jsxs("div",{className:"log-container",style:{minWidth:i},children:[t.jsx("h1",{className:"log-title",style:{fontSize:d},children:s}),t.jsxs("table",{className:"log-table",children:[t.jsx("thead",{children:t.jsx("tr",{children:u.map((g,p)=>t.jsx("th",{style:{textAlign:o,fontSize:a},children:t.jsx("p",{children:g})},p))})}),t.jsx("tbody",{children:e.map((g,p)=>t.jsx("tr",{style:{textAlign:l,fontSize:c},children:u.map((m,x)=>t.jsx("td",{children:t.jsx("p",{children:g[m]})},x))},p))})]})]})};Tl.propTypes={title:n.string,data:n.array,dataKeysNotToRender:n.array,minWidth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,fontSizeTitle:n.string};const Ml=({data:e,minWidth:r,dataKeysNotToRender:s,topToolTip:i,toolTips:o,fontSizeToolTip:l,messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:u="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:m,heightTd:x="30px",isWrap:v=!1,width:h="100%"})=>{const[j,z]=C.useState(null),D=w=>{z(w)},T=()=>{z(null)},k=e.length>0?Object.keys(e[0]).filter(w=>!s.includes(w)):[];return t.jsxs("table",{className:"table-ixc",style:{minWidth:r,minHeight:d,width:h},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[k.map((w,A)=>t.jsxs("th",{className:"relative",onMouseEnter:()=>D(w),onMouseLeave:T,style:{height:x},children:[t.jsx("p",{style:{textAlign:u,fontSize:p,whiteSpace:v?"wrap":"nowrap",textOverflow:v?"clip":"ellipsis",overflow:v?"auto":"hidden"},children:w}),o&&o[w]&&j===w&&t.jsx("div",{className:"tooltipTable",style:{top:i},children:t.jsx(zr,{fontSize:l,children:o[w]})})]},A)),k.length===0&&t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:k.length+1,style:{fontSize:c,textAlign:"center",whiteSpace:v?"wrap":"nowrap",textOverflow:v?"clip":"ellipsis",overflow:v?"auto":"hidden"},children:a})}),e.map((w,A)=>t.jsx("tr",{children:k.map((H,G)=>t.jsx("td",{style:{textAlign:g,fontSize:m,whiteSpace:v?"wrap":"nowrap",textOverflow:v?"clip":"ellipsis",overflow:v?"auto":"hidden",height:x},children:w[H]},G))},(w==null?void 0:w.id)||A))]})]})};Ml.propTypes={minWidth:n.string,toolTips:n.object,topToolTip:n.string,data:n.arrayOf(n.object),dataKeysNotToRender:n.arrayOf(n.string),fontSizeToolTip:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,heightTd:n.string,isWrap:n.bool,width:n.string};const zl=({data:e,onEdit:r,width:s,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,icon:u,onFnIcon:g,onClickOptions:p,widthOptions:m,fontSizeOptions:x,texAlignTHead:v="start",textAlignTBody:h="start",fontSizeTHead:j,fontSizeTBody:z})=>{const D=k=>{r(k)},T=e.length>0?Object.keys(e[0]).filter(k=>k!=="options"&&!i.includes(k)):[];return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[T.map((k,w)=>t.jsx("th",{style:{textAlign:v,fontSize:j},children:k},w)),T.length>0?t.jsx("th",{style:{textAlign:v,fontSize:j},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:T.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((k,w)=>{var A;return t.jsxs("tr",{children:[T.map((H,G)=>t.jsx("td",{style:{textAlign:h,fontSize:z},children:k[H]},G)),((A=k==null?void 0:k.options)==null?void 0:A.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:H=>{p({option:H,row:k})},options:[...k.options],fontSize:x,width:m})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>D(k),style:{fontSize:z,textAlign:h},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>g(k),style:{textAlign:o?h:"center"},children:u})]})})]},(k==null?void 0:k.id)||w)})]})]})};zl.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),language:n.oneOf(["en","es"]),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,icon:n.node,onFnIcon:n.func,onClickOptions:n.func,widthOptions:n.string,fontSizeOptions:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string};const El=({data:e,onEdit:r,width:s,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:u="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:m,heightTd:x="30px"})=>{const v=j=>{r(j)},h=e.length>0?Object.keys(e[0]).filter(j=>!i.includes(j)):[];return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[h.map((j,z)=>t.jsx("th",{style:{textAlign:u,fontSize:p},children:j},z)),h.length>0?t.jsx("th",{style:{textAlign:u,fontSize:p},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:h.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((j,z)=>t.jsxs("tr",{children:[h.map((D,T)=>t.jsx("td",{style:{textAlign:g,fontSize:m},children:j[D]},T)),t.jsx("td",{children:t.jsx("button",{className:"edit-button",onClick:()=>v(j),style:{fontSize:m,textAlign:g,height:x},children:o})})]},(j==null?void 0:j.id)||z))]})]})};El.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),language:n.oneOf(["en","es"]),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,heightTd:n.string};const Nl=({data:e,children:r,width:s,dataKeysNotToRender:i=[],textHeader:o="Acciones",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeigth:c,texAlignTHead:d="start",textAlignTBody:u="start",fontSizeTHead:g,fontSizeTBody:p,heightTd:m="30px"})=>{const x=e.length>0?Object.keys(e[0]).filter(h=>!i.includes(h)):[],v=h=>{if(!r)return null;const j=z=>{if(!z.props.onClick)return z;const D=z.props.onClick,T=k=>{k.rowData=h,D(k)};return C.cloneElement(z,{...z.props,onClick:T})};return Array.isArray(r)?r.map((z,D)=>j(C.cloneElement(z,{key:D,rowData:h,...z.props}))):j(C.cloneElement(r,{rowData:h}))};return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:c},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[x.map((h,j)=>t.jsx("th",{style:{textAlign:d,fontSize:g},children:h},j)),x.length>0?t.jsx("th",{style:{textAlign:d,fontSize:g},children:o}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:x.length+1,style:{fontSize:a,textAlign:"center"},children:l})}),e.map((h,j)=>t.jsxs("tr",{children:[x.map((z,D)=>t.jsx("td",{style:{textAlign:u,fontSize:p},children:h[z]},D)),t.jsx("td",{children:t.jsx("div",{className:"action-icon",style:{height:m,display:"flex",alignItems:"center",gap:"10px"},children:v(h)})})]},(h==null?void 0:h.id)||j))]})]})};Nl.propTypes={data:n.arrayOf(n.object),children:n.oneOfType([n.element,n.arrayOf(n.element)]),width:n.string,dataKeysNotToRender:n.arrayOf(n.string),textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,heightTd:n.string};const Dl=({data:e,onEdit:r,width:s,textButton:i="Editar",textHeader:o="Acción",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeight:c,onFnIcon:d,icon:u=t.jsx(yr,{}),widthState:g,onClickOptions:p,fontSizeTHead:m,fontSizeTBody:x,widthOptions:v,fontSizeOptions:h,dataKeysNotToRender:j=[],nameOfKeyState:z="Estado",texAlignTHead:D="start",textAlignTBody:T="start",fontSizeState:k,heightStates:w="18px",heightTd:A="30px",fontStyleTBody:H="normal",fontStyleTHead:G="normal"})=>{const Z=F=>{r(F)},f=(e==null?void 0:e.length)>0?Object.keys(e[0]).filter(F=>F!=="options"&&!j.includes(F)):[],B=F=>F!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:c,fontStyle:H},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[f.map((F,V)=>t.jsx("th",{style:{fontSize:m,textAlign:D,fontStyle:G},children:F},V)),f.length>0?t.jsx("th",{style:{fontSize:m,textAlign:D,fontStyle:G},children:o}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:f.length+1,style:{fontSize:a,textAlign:"center",fontStyle:H},children:l})}),e.map((F,V)=>{var Q;return t.jsxs("tr",{children:[f.map((K,te)=>t.jsx("td",{style:{fontSize:x,textAlign:T,color:K!==z?B(F.Estado):"black",height:A,fontStyle:H},children:K===z?os(F[K],g,k,T==="center",w):F[K]},te)),((Q=F==null?void 0:F.options)==null?void 0:Q.length)>0?t.jsx("td",{style:{overflow:"visible",height:A,fontStyle:H},children:t.jsx(Dt,{onClick:K=>{p({option:K,row:F})},options:[...F.options],fontSize:h,width:v})}):t.jsx("td",{style:{height:A,fontStyle:H},children:t.jsxs("div",{className:"action-icon",children:[i&&t.jsx("button",{className:"edit-button",onClick:()=>Z(F),style:{fontSize:x,textAlign:T,fontStyle:H},children:i}),t.jsx("button",{className:"edit-icon",onClick:()=>d(F),children:u})]})})]},(F==null?void 0:F.id)||V)})]})]})};Dl.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeight:n.string,icon:n.node,onFnIcon:n.func,widthState:n.string,onClickOptions:n.func,fontSizeTHead:n.string,fontSizeTBody:n.string,fontSizeOptions:n.string,texAlignTHead:n.string,widthOptions:n.string,nameOfKeyState:n.string,textAlignTBody:n.string,fontSizeState:n.string,heightStates:n.string,heightTd:n.string,fontStyleTBody:n.string,fontStyleTHead:n.string};const Al=({isOpen:e,ticketNumber:r="##000",date:s=new Date,setIsOpen:i,isReadOnly:o=!1,fontSize:l="1vw",fontSizeButton:a="0.8vw",fontSizeTicketNumber:c="1.3vw",width:d="40vw"})=>{if(!e)return null;const u=()=>i(!1),g=()=>{u()};return t.jsx("div",{className:"ticket-component-v2",style:{width:d},children:t.jsxs("div",{className:"main-content",children:[o&&t.jsxs("div",{className:"alert",children:[t.jsx(Ut,{width:30}),t.jsx("p",{style:{fontSize:l},children:"Estás usando un usuario de prueba. No se va a generar ningún Ticket"})]}),t.jsx("h2",{className:"title",children:"Se ha cargado su solicitud correctamente"}),t.jsxs("div",{className:"content-ticket",children:[t.jsx(Tn,{width:"35%"}),t.jsxs("div",{className:"content",children:[t.jsx("p",{style:{fontSize:l},children:"Se ha creado una nueva solicitud"}),t.jsxs("div",{children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Número de ticket"}),t.jsx("p",{className:"ticketNumber",style:{fontSize:c},children:r})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:vl(s)})]})]})]}),t.jsxs("div",{className:"buttonContainer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>u(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})})};Al.propTypes={isOpen:n.bool,width:n.string,onClose:n.func,setIsOpen:n.func,isReadOnly:n.bool,fontSize:n.string,ticketNumber:n.string,date:n.instanceOf(Date),fontSizeButton:n.string,fontSizeTicketNumber:n.string};const Ol=({menus:e,size:r,onclick:s,height:i,fontSize:o})=>{var p;const l=e||[],[a,c]=C.useState(((p=l[0])==null?void 0:p.id)||""),[d,u]=C.useState(100/l.length),g=m=>{c(m.id),s(m)};return C.useEffect(()=>{const m=()=>{const x=100/l.length;u(x)};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[l.length]),t.jsx("nav",{className:"dynamic-menu",style:{width:r,height:i},children:t.jsx("ul",{children:l.map(m=>t.jsx("li",{className:a===m.id?"selected":"",style:{width:`${d}%`},onClick:()=>g(m),children:t.jsx("button",{style:{fontSize:o},children:m.label})},m.id))})})};Ol.propTypes={menus:n.array,size:n.string,onclick:n.func,height:n.string,fontSize:n.string};const Il=({children:e,onChange:r,tabs:s,value:i,minHeight:o,width:l})=>{const[a,c]=C.useState(i),d=u=>{c(u),r(u)};return t.jsxs("div",{className:"tabs-container",style:{width:l},children:[t.jsx("div",{className:"tabs-wrapper",children:s.map(u=>t.jsxs("button",{onClick:()=>d(u.id),className:`tab-button ${a===u.id?"active":""}`,children:[t.jsx("span",{className:"tab-title",children:u.title}),t.jsx("span",{className:"tab-subtitle",children:u.subtitle})]},u.id))}),t.jsx("div",{style:{minHeight:o},children:e})]})};Il.propTypes={children:n.node,onChange:n.func,tabs:n.arrayOf(n.shape({id:n.string,title:n.string,subtitle:n.any})),value:n.string,minHeight:n.string,width:n.string};const Rl=({tabs:e,width:r,onChange:s,disabled:i,defaultValue:o})=>{var d;const[l,a]=C.useState(o||((d=e[0])==null?void 0:d.key)||"");C.useEffect(()=>{o&&a(o)},[o]);const c=u=>{a(u),s(u)};return t.jsx("div",{className:"DeliveryTabs-tabs-container",style:{width:r},children:t.jsx("div",{className:"tabs-wrapper",style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((u,g)=>t.jsx("button",{disabled:i,className:`tab ${l===u.key?"active":""} ${g===0?"first-tab":""} ${g===e.length-1?"last-tab":""}`,onClick:()=>c(u.key),role:"tab","aria-selected":l===u.key,children:u.label},u.key))})})};Rl.propTypes={tabs:n.arrayOf(n.shape({key:n.string,label:n.string})),width:n.string,onChange:n.func,disabled:n.bool,defaultValue:n.string};const Pl=({tabs:e,width:r,onChange:s})=>{const[i,o]=C.useState(e[0].id),l=a=>{o(a),s(a)};return t.jsx("div",{className:"tabs-simple-container",style:{width:r},children:t.jsx("div",{className:"tabs-simple-header",children:e.map(a=>t.jsx("button",{className:`tabs-simple-button ${i===a.id?"tabs-simple-button-active":""}`,onClick:()=>l(a.id),children:a.label},a.id))})})};Pl.propTypes={tabs:n.array,width:n.string,onChange:n.func};const Wl=({titles:e=["1. Cargar Datos de Cancelación","2. Validar los Datos Cargados","3. Aceptar o Rechazar"],currentStep:r=1,fontSizeTitles:s,widthIcon:i,heightIcon:o,width:l})=>{const a=[Pi,Ri,Wi],c=e.map((d,u)=>({number:u+1,title:d,icon:a[u]}));return t.jsxs("div",{className:"stepper",style:{width:l},children:[t.jsx("div",{className:"stepper-progress",children:t.jsx("div",{className:"stepper-progress-bar",style:{width:r===1?"0%":r===2?"52%":"100%"}})}),t.jsx("div",{className:"stepper-steps",children:c.map(d=>{const u=d.icon,g=r>=d.number;return t.jsxs("div",{className:`stepper-step ${g?"active":""}`,style:{height:o},children:[t.jsx("span",{className:"stepper-title",style:{fontSize:s},children:d.title},d.number),t.jsx("div",{className:"stepper-icon",style:{width:i,height:o},children:t.jsx(u,{})})]},d.number)})})]})};Wl.propTypes={titles:n.arrayOf(n.string),currentStep:n.number,fontSizeTitles:n.string,widthIcon:n.string,heightIcon:n.string,width:n.string};const $l=({width:e,menu:r,submenu:s,tab:i,navigateFn:o,fontSize:l,Icon:a,marginTop:c})=>{const d=()=>{o({submenu:s,tab:i})};return t.jsxs("div",{className:"flex gap w-full",style:{width:e},children:[t.jsxs("ul",{className:"flex gap items-center ulBreadcrumbs",children:[t.jsx("li",{className:"list-none flex",style:{marginTop:c??"4px"},children:a||t.jsx(fr,{width:25,height:25})}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:r}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(pr,{})})]}),t.jsxs("ul",{className:"flex gap items-center pointer ulBreadcrumbs",children:[t.jsx("li",{className:`list-none ${i?"border-bottom":"color-tab"}`,onClick:d,style:{fontSize:l},children:s}),i&&t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(pr,{})}),i&&t.jsx("li",{className:"list-none color-tab",style:{fontSize:l},children:i})]})]})};$l.propTypes={width:n.string,menu:n.string,submenu:n.string,tab:n.string,navigateFn:n.func,fontSize:n.string,Icon:n.element,marginTop:n.string};const _l=({steps:e=[],currentStep:r=1,width:s="600px"})=>{const i=()=>e.length<=1?0:r/e.length*100;return t.jsxs("div",{className:"stepper-container",style:{width:s},children:[t.jsx("div",{className:"stepper-line",style:{"--progress-width":`${i()}%`}}),t.jsx("div",{className:"stepper-steps",children:e.map((o,l)=>{const a=l+1,c=a<r,d=a===r;return t.jsxs("div",{className:"step-wrapper",children:[t.jsx("div",{className:`step-circle ${c?"completed":d?"current":"inactive"}`,children:c?t.jsx("svg",{className:"checkmark",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:t.jsx("polyline",{points:"20,6 9,17 4,12"})}):t.jsx("span",{className:"step-number",children:a})}),t.jsx("div",{className:"step-label",children:o.title})]},l)})})]})};_l.propTypes={steps:n.array,currentStep:n.number,width:n.string};const Bl=({icon:e,title:r,className:s="",children:i})=>t.jsxs("div",{className:`data-section ${s}`,children:[t.jsxs("div",{className:"data-section-header",children:[e&&t.jsx(e,{className:"data-section-icon"}),t.jsx("h3",{className:"data-section-title",children:r})]}),t.jsx("div",{className:"data-section-content",children:Array.isArray(i)?i.map((o,l)=>t.jsx("div",{className:"data-section-item",children:o},l)):t.jsx("div",{className:"data-section-item",children:i})})]});Bl.propTypes={icon:n.elementType,title:n.string,className:n.string,children:n.oneOfType([n.node,n.arrayOf(n.node)])};const Ll=({title:e,icon:r,className:s="",classNameTextArea:i="",value:o="",onChange:l,placeholder:a="Modificación de la promoción por cambios de Stock.",disabled:c=!1})=>t.jsxs("div",{className:`observations ${s}`,children:[t.jsxs("div",{className:"observations-header",children:[r&&t.jsx(r,{className:"observations-icon"}),t.jsx("h3",{className:"observations-title",children:e})]}),t.jsx("div",{className:"observations-content",children:t.jsx("textarea",{className:`observations-textarea ${i}`,value:o,onChange:l,placeholder:a,rows:4,disabled:c})})]});Ll.propTypes={title:n.string,icon:n.elementType,className:n.string,classNameTextArea:n.string,value:n.string,onChange:n.func,placeholder:n.string,disabled:n.bool};const Fl=({children:e,className:r="",...s})=>t.jsx("th",{className:`th-table-ixc ${r}`.trim(),...s,children:e});Fl.propTypes={children:n.node,className:n.string};const dh=(e=[])=>{const r=C.useRef(null),[s,i]=C.useState(!1),o=C.useCallback(()=>{if(r.current){const l=r.current,a=l.scrollWidth>l.clientWidth;return i(a),a}return!1},[]);return C.useEffect(()=>{const a=setTimeout(()=>{o()},0);return window.addEventListener("resize",o),()=>{clearTimeout(a),window.removeEventListener("resize",o)}},e),{ref:r,isTruncated:s,checkTruncation:o}},Hl=({children:e,className:r="",classTooltip:s="",showTooltipOnTruncate:i=!1,left:o=120,top:l=0,...a})=>{const{ref:c,isTruncated:d}=dh([e]),[u,g]=C.useState(!1),[p,m]=C.useState({top:0,left:0}),x=h=>{if(d&&i){const j=h.currentTarget.getBoundingClientRect();m({top:j.top+l,left:j.left+o}),g(!0)}},v=h=>{const j=h.relatedTarget;j&&typeof j.closest=="function"&&j.closest(".td-tooltip-container")||g(!1)};return t.jsxs(t.Fragment,{children:[t.jsx("td",{ref:c,className:`td-table-ixc-base ${r}`.trim(),onMouseEnter:x,onMouseLeave:v,...a,children:e}),u&&la.createPortal(t.jsx("div",{className:`td-tooltip-container ${s}`.trim(),style:{top:`${p.top}px`,left:`${p.left}px`},onMouseEnter:()=>g(!0),onMouseLeave:h=>{var z;const j=h.relatedTarget;j&&typeof j.closest=="function"&&((z=c.current)!=null&&z.contains(j))||g(!1)},children:e}),document.body)]})};Hl.propTypes={children:n.node,className:n.string,classTooltip:n.string,showTooltipOnTruncate:n.bool,left:n.number,top:n.number};const Vl=({children:e,className:r="",...s})=>t.jsx("thead",{className:`thead-table-ixc ${r}`.trim(),...s,children:e});Vl.propTypes={children:n.node,className:n.string};const Zl=({children:e,className:r="",...s})=>t.jsx("tr",{className:`tr-table-ixc ${r}`.trim(),...s,children:e});Zl.propTypes={children:n.node,className:n.string};const Ul=({children:e,className:r="",...s})=>t.jsx("tbody",{className:`tbody-table-ixc-base ${r}`.trim(),...s,children:e});Ul.propTypes={children:n.node,className:n.string};const Yl=({children:e,className:r,...s})=>t.jsx("table",{className:`table-v2 ${r}`,...s,children:e});Yl.propTypes={children:n.node,className:n.string};const hh=Object.assign(Yl,{Th:Fl,Td:Hl,Thead:Vl,Tr:Zl,Tbody:Ul}),ql=({children:e,style:r})=>t.jsx("h3",{className:"blue-title",style:{...r},children:e});ql.propTypes={children:n.any,style:n.object};const Gl=({children:e,navigateTo:r,style:s})=>t.jsx("button",{onClick:()=>r(),style:{...s},className:"ions-link",children:e});Gl.propTypes={children:n.node,navigateTo:n.func,style:n.object};const Kl=({children:e,className:r=""})=>t.jsx("h2",{className:`simple-title ${r}`,children:e});Kl.propTypes={children:n.node,className:n.string};const Xl=({children:e,className:r=""})=>t.jsx("p",{className:`paragraph ${r}`,children:e});Xl.propTypes={children:n.node,className:n.string};const Jl=({children:e,className:r=""})=>t.jsx("div",{className:`template-container ${r}`,children:e});Jl.propTypes={children:n.node,className:n.string},n.checkPropTypes=()=>{},M.Active=Gr,M.BasicSelect=Qe,M.BlueTitle=ql,M.BoldIcon=ur,M.Breadcrumbs=$l,M.ButtonAddBoxRoundedIcon=Io,M.ButtonArrow=qr,M.ButtonCleanFilters=Wo,M.ButtonDarkBlue=Jt,M.ButtonDarkBlueRounded=Ur,M.ButtonDarkGreen=To,M.ButtonDownloadFile=Mo,M.ButtonDownloadTemplate=Ao,M.ButtonEye=$o,M.ButtonLetters=So,M.ButtonMinus=Eo,M.ButtonPlus=zo,M.ButtonReset=Co,M.ButtonSearch=vo,M.ButtonSoftPastelBlue=No,M.ButtonSoftPastelBlueRounded=Ro,M.ButtonUploadTemplate=Do,M.ButtonVibrantBlue=Ue,M.ButtonVibrantBlueSend=Bo,M.ButtonVibrantBlueUpload=Oo,M.ButtonWhiteBorderBlue=Nt,M.ButtonWhiteBorderBlueDownloadTemplate=Yr,M.ButtonWhiteBorderBlueSendEmail=_o,M.ButtonWhiteBorderOrange=Dn,M.Canceled=Xr,M.CanceledIcon=Di,M.CheckBox=Dr,M.CheckIcon=Wi,M.CheckTicketIcon=Tn,M.Chip=Fo,M.ChipSection=Ho,M.ChipWithIcon=Vo,M.CleanFiltersIcon=kr,M.ClearFilterIcon=Cn,M.ClosedEye=br,M.Completed=Jr,M.CompletedIcon=Hi,M.CountCard=sl,M.CustomArrowIcon=S1,M.DataEnteredIcon=_i,M.DataMasterArrow=mr,M.DataMasterCountryConfiguration=T1,M.DataSection=Bl,M.DateIcon=wi,M.DateRangePicker=al,M.DateRangePickerBasicSelect=yl,M.DeliveryTabs=Rl,M.DesSelectAllIcon=ji,M.DownloadTemplateIcon=xr,M.DropFile=ko,M.EditIcon=yr,M.EllipseBase=zn,M.EllipseBlueIcon=zi,M.EllipseDarkGreenIcon=Ti,M.EllipseGreenIcon=Mn,M.EllipseGreyIcon=Mi,M.EraserIcon=fr,M.ExcelIcon=gr,M.ExcelSvgIcon=Pi,M.ExpandableTable=Sl,M.EyeButton=Po,M.FileCard=Ko,M.FileCardMinimized=Xo,M.FilePreview=Uo,M.FilterComponent=pl,M.FilterIcon=Ai,M.FolderCard=Jo,M.FolderCardMinimized=Qo,M.GreyContainer=qo,M.GreyContainerDropdown=Go,M.GreyInput=Ji,M.GreySelect=E0,M.GreyTextArea=go,M.HeaderItemsComponent=Ol,M.InProcessIcon=z1,M.InProcessingIcon=Fi,M.InTransit=Qr,M.InTransitIcon=En,M.Inactive=Kr,M.InfoActionCard=fl,M.InfoActionCardDownloadTemplate=gl,M.InputRadio=Lr,M.InputSearch=Xt,M.InputUpload=po,M.InputWithButtonSearch=bo,M.InputWithLabel=xo,M.ItalicIcon=hr,M.KeyboardArrowDownOutlinedIconColorCustom=vi,M.LastUpdate=Zo,M.Link=Gl,M.Loader=Gi,M.LogTable=Tl,M.MarksIcon=dr,M.MenuIconOption=Oi,M.MenuOptions=Dt,M.MinusIcon=Ni,M.ModalListAplications=xl,M.MultiSelect=uo,M.NumberSpinner=_0,M.NumberSpinnerByRange=jo,M.ObservationIcon=Bi,M.Observations=Ll,M.OpenEye=vr,M.Pagination=il,M.Paragraph=Xl,M.PlusIcon=Ei,M.ProcessFilter=ml,M.ProductRecallIcon=M1,M.RightArrowIcon=pr,M.RoundedInput=mo,M.SelectAll=Vr,M.SelectAllIcon=bi,M.SelectRadio=fo,M.SelectWithTitle=wo,M.SimpleTap=Pl,M.SimpleTitle=Kl,M.SingleDatePicker=ul,M.State=rl,M.StateBasic=Lo,M.StatsIcon=Ii,M.Stepper=Wl,M.StepsComponent=_l,M.Switch=Ki,M.Table=Ml,M.TableActionIcon=zl,M.TableComponent=hh,M.TableEdit=El,M.TableMultipleIcon=Nl,M.TableStates=Dl,M.TabsNavigation=Il,M.TemplateTicketConfirm=Jl,M.TextArea=Xi,M.TicketComponentV2=Al,M.TicketModal=bl,M.TimeComponent=yo,M.TimeIcon=ki,M.TitleWithTooltip=Yt,M.ToStartProcessingIcon=Li,M.ToggleChip=es,M.TooltipTable=Yi,M.TooltipsWhite=zr,M.TrashIcon=wr,M.TriangleIconForNumberSpinnerByRange=$i,M.UpLoadSvgIcon=kn,M.UpdateBanner=Zn,M.UploadFileIcon=Sn,M.UserReadOnlyIcon=Ut,M.VisualizationModaLogin=jl,M.WaringBanner=p1,M.WarningIcon=jr,M.WarningModal=wl,M.WindowCheck=Ri,M.XIcon=Si,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})});
|
|
451
|
+
`,qo=({children:e,height:r,width:s,style:i})=>t.jsx(Yo,{style:{height:r,width:s,...i},children:e});qo.propTypes={children:n.any,width:n.string,height:n.string,style:n.object};const Go=({title:e,height:r,width:s,style:i,children:o})=>{const[l,a]=C.useState(!1);return t.jsxs(Yo,{style:{height:l?"auto":r,width:s,...i,borderRadius:"0px",boxShadow:"none",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[e,t.jsx(Z0,{onClick:()=>a(!l),children:t.jsx("i",{className:`arrow-grey-container ${l?"up":"down"}`})})]}),l&&t.jsx("div",{style:{paddingTop:"8px"},children:o})," "]})};Go.propTypes={title:n.node,width:n.string,height:n.string,style:n.object,children:n.node};const Ko=({fileType:e="excel",onClick:r,className:s="",icon:i,isClickable:o=!0,data:l,fontSize:a})=>{const{title:c}=l,d=()=>{o&&r&&r(l)},u=p=>{o&&r&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),r(l))},g=()=>{switch(e){case"excel":return t.jsx(Sr,{});case"word":return t.jsxs("svg",{width:"76",height:"63",viewBox:"0 0 76 63",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"8",y:"8",width:"60",height:"47",rx:"4",fill:"#2B579A"}),t.jsx("rect",{x:"12",y:"12",width:"52",height:"39",rx:"2",fill:"#2F5F8F"}),t.jsx("text",{x:"38",y:"20",textAnchor:"middle",fill:"white",fontSize:"8",fontWeight:"bold",children:"DOC"}),t.jsx("rect",{x:"18",y:"25",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"29",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"33",width:"30",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"37",width:"35",height:"2",fill:"white"})]});case"pdf":return t.jsxs("svg",{width:"76",height:"63",viewBox:"0 0 76 63",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"8",y:"8",width:"60",height:"47",rx:"4",fill:"#D93025"}),t.jsx("rect",{x:"12",y:"12",width:"52",height:"39",rx:"2",fill:"#EA4335"}),t.jsx("text",{x:"38",y:"20",textAnchor:"middle",fill:"white",fontSize:"8",fontWeight:"bold",children:"PDF"}),t.jsx("rect",{x:"18",y:"25",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"29",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"33",width:"30",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"37",width:"35",height:"2",fill:"white"})]});default:return t.jsxs("svg",{width:"76",height:"63",viewBox:"0 0 76 63",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"8",y:"8",width:"60",height:"47",rx:"4",fill:"#9AA0A6"}),t.jsx("rect",{x:"12",y:"12",width:"52",height:"39",rx:"2",fill:"#BDC1C6"}),t.jsx("rect",{x:"18",y:"25",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"29",width:"40",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"33",width:"30",height:"2",fill:"white"}),t.jsx("rect",{x:"18",y:"37",width:"35",height:"2",fill:"white"})]})}};return t.jsxs("div",{className:`file-card ${o?"file-card--clickable":""} ${s}`,onClick:d,onKeyDown:u,tabIndex:o?0:-1,role:o?"button":"presentation","aria-label":o?`Abrir archivo ${c}`:void 0,children:[t.jsxs("div",{className:"file-card__icon-container",children:[i||g(),t.jsx("div",{className:"file-card__download-icon",children:t.jsx(Tr,{width:16,height:16})})]}),t.jsx("div",{className:"file-card__title",style:{fontSize:a},children:c})]})};Ko.propTypes={data:n.object.isRequired,fileType:n.oneOf(["excel","word","pdf","generic"]),onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool};const Xo=({data:e,fileType:r="excel",onClick:s,className:i="",icon:o,isClickable:l=!0,isSelected:a=!1})=>{const{title:c}=e,d=()=>{l&&s&&s(e)},u=p=>{l&&s&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),s(e))},g=()=>{switch(r){case"excel":return t.jsx(Sr,{width:"32px"});case"word":return t.jsxs("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"2",width:"28",height:"22",rx:"2",fill:"#2B579A"}),t.jsx("rect",{x:"4",y:"4",width:"24",height:"18",rx:"1",fill:"#2F5F8F"}),t.jsx("text",{x:"16",y:"10",textAnchor:"middle",fill:"white",fontSize:"6",fontWeight:"bold",children:"DOC"}),t.jsx("rect",{x:"7",y:"12",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"14",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"16",width:"14",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"18",width:"16",height:"1",fill:"white"})]});case"pdf":return t.jsxs("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"2",width:"28",height:"22",rx:"2",fill:"#D93025"}),t.jsx("rect",{x:"4",y:"4",width:"24",height:"18",rx:"1",fill:"#EA4335"}),t.jsx("text",{x:"16",y:"10",textAnchor:"middle",fill:"white",fontSize:"6",fontWeight:"bold",children:"PDF"}),t.jsx("rect",{x:"7",y:"12",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"14",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"16",width:"14",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"18",width:"16",height:"1",fill:"white"})]});default:return t.jsxs("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("rect",{x:"2",y:"2",width:"28",height:"22",rx:"2",fill:"#9AA0A6"}),t.jsx("rect",{x:"4",y:"4",width:"24",height:"18",rx:"1",fill:"#BDC1C6"}),t.jsx("rect",{x:"7",y:"12",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"14",width:"18",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"16",width:"14",height:"1",fill:"white"}),t.jsx("rect",{x:"7",y:"18",width:"16",height:"1",fill:"white"})]})}};return t.jsxs("div",{className:`file-card-minimized ${l?"file-card-minimized--clickable":""} ${a?"file-card-minimized--selected":""} ${i}`,onClick:d,onKeyDown:u,tabIndex:l?0:-1,role:l?"button":"presentation","aria-label":l?`Abrir archivo ${c}`:void 0,children:[t.jsxs("div",{className:"file-card-minimized__icon-container",children:[o||g(),t.jsx("div",{className:"file-card-minimized__download-icon",children:t.jsx(Tr,{width:12,height:12})})]}),t.jsx("div",{className:"file-card-minimized__filename",children:c})]})};Xo.propTypes={data:n.object.isRequired,fileType:n.oneOf(["excel","word","pdf","generic"]),onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool,isSelected:n.bool};const Jo=({onClick:e,className:r="",icon:s,isClickable:i=!0,fontSize:o,hasDownload:l=!1,onChange:a,isSelected:c=!1,data:d})=>{const{id:u,title:g}=d,p=()=>{i&&e&&e(d)},m=x=>{i&&e&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),e(d))};return t.jsxs("div",{className:`folder-card ${i?"folder-card--clickable":""} ${r} ${c?"folder-card--selected":""} ${l?"folder-card--has-download":""}`,onClick:p,onKeyDown:m,tabIndex:i?0:-1,role:i?"button":"presentation","aria-label":i?`Abrir carpeta ${g}`:void 0,style:{border:l?"1px solid #707070":"none"},children:[l&&t.jsx("div",{className:"folder-card__checkbox-container",children:t.jsx(Dr,{inputProperties:{id:u,checked:c,onChange:a},color:"#33A1DD",size:"small"})}),t.jsx("div",{className:"folder-card__icon-container",children:s?t.jsx("div",{className:"folder-card__custom-icon",children:s}):t.jsx("div",{className:`${l?"folder-card__default-icon":"folder-card__default-icon-hover"}`,children:t.jsx(Cr,{width:"60px"})})}),t.jsx("div",{className:"folder-card__title",style:{width:"70px",fontSize:o},children:g})]})};Jo.propTypes={title:n.string.isRequired,onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool,fontSize:n.string,id:n.string,value:n.any,hasDownload:n.bool,onChange:n.func,isSelected:n.bool};const Qo=({onClick:e,className:r="",icon:s,isClickable:i=!0,fontSize:o,isSelected:l=!1,data:a})=>{const{id:c,title:d}=a,u=()=>{i&&e&&e(a)},g=p=>{i&&e&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),e(a))};return t.jsxs("div",{className:`folder-card-minimized ${i?"folder-card-minimized--clickable":""} ${l?"folder-card-minimized--selected":""} ${r}`,onClick:u,onKeyDown:g,tabIndex:i?0:-1,role:i?"button":"presentation","aria-label":i?`Abrir carpeta ${d}`:void 0,children:[t.jsx("div",{className:"folder-card-minimized__icon-container",children:s?t.jsx("div",{className:"folder-card-minimized__custom-icon",children:s}):t.jsx("div",{className:"folder-card-minimized__default-icon",children:t.jsx(Cr,{width:"32px"})})}),t.jsx("div",{className:"folder-card-minimized__title",style:{fontSize:o},children:d})]})};Qo.propTypes={onClick:n.func,className:n.string,icon:n.node,isClickable:n.bool,fontSize:n.string,isSelected:n.bool,data:n.object};const el=({color:e="#33A1DD",size:r=8})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:"none",children:t.jsx("circle",{cx:r/2,cy:r/2,r:r/2-.5,fill:e})});el.propTypes={color:n.string,size:n.number};const tl=({width:e=3,height:r=12,color:s="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,fill:"none",viewBox:"0 0 3 12",children:t.jsx("path",{fill:s,stroke:s,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M1.43 1.275c-.232 0-.445.198-.43.43l.216 5.798a.215.215 0 0 0 .43 0l.214-5.798c.015-.232-.197-.43-.43-.43ZM1.43 10.725a.43.43 0 1 0 0-.86.43.43 0 0 0 0 .86Z"})});tl.propTypes={width:n.number,height:n.number,color:n.string};const nl=({width:e=8,height:r=8,color:s="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,fill:"none",viewBox:"0 0 8 8",children:t.jsx("path",{fill:s,d:"M4 .667a3.33 3.33 0 0 0-3.08 4.61A3.33 3.33 0 0 0 5.276 7.08a3.33 3.33 0 0 0 1.805-4.356A3.33 3.33 0 0 0 4 .667Zm1.667 4.53-.47.47L4 4.47 2.804 5.667l-.47-.47L3.53 4 2.334 2.803l.47-.47L4 3.53l1.197-1.197.47.47L4.47 4l1.197 1.197Z"})});nl.propTypes={width:n.number||n.string,height:n.number||n.string,color:n.string};const rl=({className:e="",hasAlerts:r=!1,children:s,hasError:i=!1,...o})=>{const c=["state",e,r?"state--has-alerts":""].filter(Boolean).join(" ");return t.jsxs("div",{className:c,...o,children:[t.jsx("div",{className:"state__indicator",children:i?t.jsx(nl,{width:8,height:8}):t.jsx(el,{size:8})}),t.jsx("div",{className:"state__content",children:s}),r&&t.jsx("div",{className:"state__alert",children:t.jsx(tl,{color:"red",width:"80%"})})]})};rl.propTypes={className:n.string,hasAlerts:n.bool,hasError:n.bool,children:n.node.isRequired};const sl=({children:e,count:r,className:s,classNameCount:i})=>t.jsxs("div",{className:`count-card ${s}`,children:[e,t.jsx("span",{className:`count-card__count ${i}`,children:r})]});sl.propTypes={children:n.node,count:n.number||n.string,className:n.string,classNameCount:n.string};const il=({totalPages:e=50,currentPage:r=1,onChange:s,nextLabel:i,prevLabel:o,height:l,disabled:a,fontSize:c})=>{const d=h=>{h>0&&h<=e&&s(h)},u=()=>{r<e&&s(r+1)},g=()=>{r>1&&s(r-1)},m=[],x=Math.max(1,r-4),v=Math.min(e,x+9-1);for(let h=x;h<=v;h++)m.push(h);if(r>e-4){m.length=0;for(let h=e-9+1;h<=e;h++)h>0&&m.push(h)}return t.jsx("nav",{className:"pagination",children:t.jsxs("ul",{className:"pagination-list",children:[r>1&&t.jsxs("li",{className:`pagination-prev ${a?"disabled":""}`,onClick:a?null:g,style:{height:l,fontSize:c},children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"15 18 9 12 15 6"})}),o]}),x>1&&t.jsxs(t.Fragment,{children:[t.jsx("li",{className:`pagination-link ${a?"disabled":""}`,onClick:()=>a?null:d(1),style:{height:l,fontSize:c},children:"1"}),x>2&&t.jsx("li",{className:"pagination-list",style:{height:l,fontSize:c},children:"..."})]}),m.map(h=>t.jsx("li",{className:`pagination-link ${r===h?"active":""} ${a?"disabled":""}`,onClick:()=>a?null:d(h),style:{height:l,fontSize:c},children:h},h)),v<e&&t.jsxs(t.Fragment,{children:[v<e-1&&t.jsx("li",{className:`pagination-list ${a?"disabled":""}`,style:{height:l,fontSize:c},children:"..."}),t.jsx("li",{className:`pagination-link ${a?"disabled":""}`,onClick:()=>a?null:d(e),style:{height:l,fontSize:c},children:e})]}),r<e&&t.jsxs("li",{className:`pagination-next ${a?"disabled":""}`,onClick:a?null:u,style:{height:l,fontSize:c},children:[i,t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"9 18 15 12 9 6"})})]})]})})};il.propTypes={totalPages:n.number,currentPage:n.number,onChange:n.func,nextLabel:n.string,prevLabel:n.string,height:n.string,disabled:n.bool,fontSize:n.string};const ts=_e(t.jsx("path",{d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76"}),"ArrowBackIosRounded"),ns=_e(t.jsx("path",{d:"M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31c.39-.39.39-1.02 0-1.41L9.15 2.98c-.49-.49-1.28-.49-1.77 0s-.49 1.28 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76"}),"ArrowForwardIosRounded"),ol=_e(t.jsx("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V10h16zm0-13H4V5h16z"}),"CalendarTodayOutlined"),rs={DAYS:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],MONTHS:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],code:"es-ES",selectRange:"Selecciona un Rango de fechas",days:"días",cancel:"CANCELAR",search:"BUSCAR"},ss={DAYS:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],MONTHS:["January","February","March","April","May","June","July","August","September","October","November","December"],code:"en-US",selectRange:"Select a date range",days:"days",cancel:"CANCEL",search:"SEARCH"},lt=e=>{e instanceof Date||(e=new Date(e));const r=String(e.getDate()).padStart(2,"0"),s=String(e.getMonth()+1).padStart(2,"0"),i=e.getFullYear();return{formatDDMMYYYY:`${r}-${s}-${i}`,formatMMDDYYYY:`${s}-${r}-${i}`,formatYYYYMMDD:`${i}-${s}-${r}`,originalFormat:e}},ll=(e,r,s)=>{if(!r||s<=0)return!1;const i=new Date(r);return i.setMonth(i.getMonth()+s),i.setDate(i.getDate()-1),e>i},U0=({locale:e="es",disablePastDates:r,onDateRangeChange:s,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,u]=C.useReducer(y=>y+1,0),g=e==="es"?rs:ss,[p,m]=C.useState(null),[x,v]=C.useState(null),[h,j]=C.useState(null),[M,D]=C.useState(new Date),[S,k]=C.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[w,O]=C.useState(!1),H=(y,E)=>{const P=new Date;if(P.setHours(0,0,0,0),c){const N=new Date(P);if(N.setDate(P.getDate()+c),y>N)return!0}return E&&r&&y<P||!E&&a&&y>P||r&&y<P||a&&y>P?!0:l>0&&p?ll(y,p,l):!1},G=y=>{const E=y.getFullYear(),P=y.getMonth(),A=new Date(E,P,1).getDay(),z=new Date(E,P+1,0),B=[],W=new Date(E,P,0).getDate();for(let X=A-1;X>=0;X--)B.push(new Date(E,P-1,W-X));for(let X=1;X<=z.getDate();X++)B.push(new Date(E,P,X));const J=42-B.length;for(let X=1;X<=J;X++)B.push(new Date(E,P+1,X));return B},V=y=>!p||!x?!1:y>=p&&y<=x,f=y=>!p||!h?!1:y>=p&&y<=h||y<=p&&y>=h,L=y=>{!p||x?(m(y),v(null)):y<p?(v(p),m(y),i&&R(y,p)):(v(y),i&&R(p,y))},F=y=>{j(y)},Z=()=>!p||!x?0:Math.round((x.getTime()-p.getTime())/(1e3*60*60*24))+1,Q=(y,E)=>{const P=new Date(y.getFullYear(),y.getMonth()-1,1);r&&P<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&E||(E?D(P):(k(P),P.getMonth()===M.getMonth()&&D(new Date(P.getFullYear(),P.getMonth()-1,1))))},K=(y,E)=>{const P=new Date(y.getFullYear(),y.getMonth()+1,1);E?(D(P),P.getMonth()===S.getMonth()&&k(new Date(P.getFullYear(),P.getMonth()+1,1))):k(P)},te=y=>{const P=y.toLocaleDateString(g.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),N=P[0].charAt(0).toUpperCase()+P[0].slice(1),A=P[1],z=P[2].charAt(0).toUpperCase()+P[2].slice(1),B=P[3];return`${N} ${A} de ${z} ${B}`},U=()=>{const y=new Date;m(null),v(null),D(y),k(new Date(new Date().setMonth(new Date().getMonth()+1))),O(!1),o({startDate:null,endDate:null}),u()},$=()=>{O(!1);const y=lt(p),E=lt(x);s({startDate:y,endDate:E})},R=(y,E)=>{m(y),v(E),O(!1);const P=lt(y),N=lt(E);s({startDate:P,endDate:N})};return{isOpen:w,endDate:x,language:g,leftMonth:M,startDate:p,setIsOpen:O,hoverDate:h,rightMonth:S,formatDate:te,handleSearch:$,handleCancel:U,isDateInRange:V,getDaysInMonth:G,isDateDisabled:H,handleDateClick:L,handleDateHover:F,handlePrevClick:Q,handleNextClick:K,getDaysSelected:Z,isDateInHoverRange:f,keyReset:d,resetSelect:u}},An=(e,r,s,i)=>{if(!s||i<=0)return!1;const o=new Date(s);o.setMonth(o.getMonth()+i),o.setDate(o.getDate()-1);const l=new Date(s);return l.setDate(1),r?e<l:e>o},al=({locale:e="es",onDateRangeChange:r,disablePastDates:s,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:u,disableFutureDates:g,withoutSearchButton:p,disablePastDaysCount:m,value:x})=>{const{keyReset:v,isOpen:h,endDate:j,language:M,leftMonth:D,startDate:S,setIsOpen:k,rightMonth:w,formatDate:O,handleSearch:H,handleCancel:G,isDateInRange:V,getDaysInMonth:f,isDateDisabled:L,handleDateClick:F,handleDateHover:Z,handlePrevClick:Q,handleNextClick:K,getDaysSelected:te,isDateInHoverRange:U}=U0({locale:e,onReset:l,onDateRangeChange:r,disablePastDates:s,withoutSearchButton:p,limitRange:i,disableFutureDates:g,disablePastDaysCount:m}),$=(x==null?void 0:x.startDate)instanceof Date?x.startDate:S,R=(x==null?void 0:x.endDate)instanceof Date?x.endDate:j,y=C.useRef(null);C.useEffect(()=>{const P=N=>{y.current&&!y.current.contains(N.target)&&h&&(k(!1),o||G())};return document.addEventListener("mousedown",P),()=>{document.removeEventListener("mousedown",P)}},[j,G,h,k,S,o]);const E=(P,N=!0)=>{const A=f(P),z=P.getMonth(),B=(I,J)=>[I&&I.getMonth()!==z?"other-month":"",I&&V(I)?"in-range":"",I&&U(I)?"hover-range":"",I&&(I.getTime()===($==null?void 0:$.getTime())||I.getTime()===(R==null?void 0:R.getTime()))?"selected":"",L(I,J)?"disabled":""].join(" "),W=({date:I,isLeftCalendar:J,disablePastDates:X,leftMonth:se})=>{const q=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),ue=new Date(I.getFullYear(),I.getMonth()-1,1).getTime();return!!(X&&(ue<q||!J&&new Date(se.getFullYear(),se.getMonth(),1).getTime()<=q))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>Q(P,N),disabled:An(new Date(P.getFullYear(),P.getMonth()-1,1),!0,S,i)||W({date:P,isLeftCalendar:N,disablePastDates:s,leftMonth:D}),children:t.jsx("span",{className:"sr-only",children:t.jsx(ts,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[M.MONTHS[P.getMonth()],t.jsx("p",{children:P.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>K(P,N),disabled:An(new Date(P.getFullYear(),P.getMonth()+1,1),!1,S,i)||g&&new Date(P.getFullYear(),P.getMonth(),1).getTime()>=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),children:t.jsx("span",{className:"sr-only",children:t.jsx(ns,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),M.DAYS.map(I=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:I},I)),A.map((I,J)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${B(I,N)}`,disabled:!I||L(I),onClick:()=>I&&!L(I)&&F(I),onMouseEnter:()=>I&&!L(I)&&Z(I),onMouseLeave:()=>Z(null),children:t.jsx("span",{className:`day-text ${I?"":"text-muted"}`,style:{fontSize:d},children:I?I.getDate():""})})},`${I}_${J}`))]})]})};return C.useEffect(()=>{v&&G()},[v]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:y,children:[t.jsx("button",{className:`date-picker-toggle ${u?"disabled":""}`,disabled:u,onClick:()=>k(!h),children:$&&R?t.jsxs("div",{className:"container-formate",children:[t.jsxs("p",{className:`p-formate-date ${u?"disabled":""}`,style:{borderRight:"1px solid #9c9ca0"},children:[O($)," ",t.jsx(ol,{sx:{color:"#9c9ca0"},style:{width:"15px",marginLeft:"5px"}})]}),t.jsxs("p",{className:`p-formate-date ${u?"disabled":""}`,children:[O(R),t.jsx(ol,{sx:{color:"#9c9ca0"},style:{width:"15px",marginLeft:"5px"}})]})]}):t.jsxs("div",{className:"container-formate",children:[t.jsx("p",{className:`p-formate-date ${u?"disabled":""}`,style:{height:"34px",fontSize:d},children:M.selectRange}),t.jsx(Vi,{width:"10%",height:"50%"})]})}),h&&t.jsx("div",{className:"square"}),h&&t.jsx("div",{className:"container-triangle",children:t.jsx("div",{className:"triangle",children:t.jsx("div",{className:"triangle-blur"})})}),h&&t.jsxs("div",{className:"date-picker-dropdown",style:{right:a==="right"?"0":"auto",left:a==="left"?"0":"auto",top:"135%"},children:[t.jsxs("div",{className:"calendars-wrapper",children:[E(D,!0),E(w,!1)]}),!p&&t.jsx("div",{className:"date-picker-footer",children:$&&R&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[te()," ",M.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(Dn,{buttonProperties:{onClick:()=>G(),style:{width:"115px",textAlign:"center"}},children:M.cancel}),t.jsx(Ue,{buttonProperties:{onClick:()=>H(),style:{width:"115px",textAlign:"center"}},children:M.search})]})]})})]})]}),$&&R&&o&&t.jsx("button",{className:"button-reset",onClick:()=>G(),children:t.jsx(Cn,{})})]})};al.propTypes={locale:n.oneOf(["es","en"]),heightBoxes:n.string,onDateRangeChange:n.func,disablePastDates:n.bool,resetButton:n.bool,withoutSearchButton:n.bool,onReset:n.func,direction:n.oneOf(["left","right"]),fontSize:n.string,limitRange:n.number,keyReset:n.number,disabled:n.bool,disableFutureDates:n.bool,disablePastDaysCount:n.number,value:n.shape({startDate:n.instanceOf(Date),endDate:n.instanceOf(Date)})};const cl=(e,{disablePastDates:r,disableBusinessDays:s})=>{const i=new Date;if(i.setHours(0,0,0,0),r&&e<i)return!1;if(s&&typeof s=="number"&&s>0){let o=new Date(i),l=0;for(;l<s;){o.setDate(o.getDate()+1);const a=o.getDay();a!==0&&a!==6&&l++}if(e<o)return!1}return!0},Y0=e=>{const r=new Date;r.setHours(0,0,0,0);const s=new Date(r);s.setDate(r.getDate()+1);const i=new Date(r);return i.setDate(r.getDate()+2),e.getTime()===r.getTime()||e.getTime()===s.getTime()||e.getTime()===i.getTime()},q0=(e,r)=>{const s=new Date(r);return s.setHours(0,0,0,0),e.getTime()<=s.getTime()},G0="America/Bogota",K0=16,X0=3,J0=4,dl=0,hl=6,Q0=()=>{const e=new Date().toLocaleString("en-US",{timeZone:G0});return new Date(e)},eh=(e,r)=>{const s=r??Q0(),o=s.getHours()<K0?X0:J0;let l=0;const a=new Date(s);for(a.setDate(a.getDate()+1);l<o;){const g=a.getDay();g!==dl&&g!==hl&&l++,a.setDate(a.getDate()+1)}for(;a.getDay()===dl||a.getDay()===hl;)a.setDate(a.getDate()+1);const c=new Date(e);c.setHours(0,0,0,0);const d=new Date(a);return d.setHours(0,0,0,0),c<d},th=e=>{let r=0,s=new Date;for(s.setHours(0,0,0,0),s.setDate(s.getDate()+1);r<5;){const i=s.getDay();i!==0&&i!==6&&r++,s.setDate(s.getDate()+1)}for(;s.getDay()===0||s.getDay()===6;)s.setDate(s.getDate()+1);return e<s},nh=e=>e.getDay()===0||e.getDay()===6,rh=(e,r)=>{const s=new Date(r);s.setHours(0,0,0,0);let i=new Date(s);do i.setDate(i.getDate()+1);while(i.getDay()===0||i.getDay()===6);return e.getTime()<=i.getTime()},sh=({locale:e="es",onDateChange:r,onChangeFunction:s,disablePastDates:i,disableBusinessDays:o,disableNextTwoDays:l,disableSpecificDate:a,disableDaysBasedOnTime:c,disableFiveBusinessDays:d,disableWeekends:u,disableNextBusinessDayAfter:g,hourDisableDaysBasedOnHour:p,id:m})=>{const x=e==="es"?rs:ss,[v,h]=C.useState(new Date),[j,M]=C.useState(new Date),[D,S]=C.useState(!1),[k,w]=C.useState(null),O=C.useRef(null),H=U=>{const $=U.getFullYear(),R=U.getMonth(),E=new Date($,R,1).getDay(),P=new Date($,R+1,0),N=[],A=new Date($,R,0).getDate();for(let W=E-1;W>=0;W--)N.push(new Date($,R-1,A-W));for(let W=1;W<=P.getDate();W++)N.push(new Date($,R,W));const B=42-N.length;for(let W=1;W<=B;W++)N.push(new Date($,R+1,W));return N};C.useEffect(()=>{if(o&&typeof o=="number"&&o>0){let U=new Date;U.setHours(0,0,0,0);let $=new Date(U),R=0;for(;R<o;){$.setDate($.getDate()+1);const y=$.getDay();y!==0&&y!==6&&R++}$.getMonth()>U.getMonth()&&M($)}},[i,o]);const G=C.useMemo(()=>U=>U?i&&!cl(U,{disablePastDates:i})||o&&!cl(U,{disableBusinessDays:o})||l&&Y0(U)||a&&q0(U,new Date(a))||c&&eh(U,p)||d&&th(U)||u&&nh(U)||g&&rh(U,g):!1,[i,o,l,a,c,d,u,g,p]),V=U=>{const $=new Date,R=new Date($.getFullYear(),$.getMonth(),1).setHours(0,0,0,0);if(i&&U<R)return!0;if(a){const y=new Date(a).setHours(0,0,0,0);return U<y}return!1},f=U=>v&&U.getTime()===v.getTime(),L=U=>{const $=U.getMonth(),R=j.getMonth();$!==R&&M(new Date(U.getFullYear(),$,1)),w(Q(U)),h(U);const y=lt(U);r&&r(y),s&&s({id:m,date:y}),S(!1)},F=U=>{const $=new Date(U.getFullYear(),U.getMonth()-1,1),R=new Date;R.setHours(0,0,0,0),!(i&&$<new Date(R.getFullYear(),R.getMonth(),1))&&M($)},Z=U=>{const $=new Date(U.getFullYear(),U.getMonth()+1,1);M($)},Q=U=>{const R=U.toLocaleDateString(x.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),y=R[0].charAt(0).toUpperCase()+R[0].slice(1),E=R[1],P=R[2].charAt(0).toUpperCase()+R[2].slice(1),N=R[3];return`${y} ${E} de ${P} ${N}`},K=()=>{h(new Date),S(!1)},te=()=>{S(!1),r&&r(v),s&&s({id:m,date:v})};return C.useEffect(()=>{const U=$=>{O.current&&!O.current.contains($.target)&&S(!1)};return document.addEventListener("mousedown",U),()=>{document.removeEventListener("mousedown",U)}},[O]),{date:k,isOpen:D,setDate:w,language:x,leftMonth:j,setIsOpen:S,formatDate:Q,setLeftMonth:M,handleSearch:te,disablePrev:V,handleCancel:K,selectedDate:v,isDateInRange:f,datePickerRef:O,getDaysInMonth:H,isDateDisabled:G,handlePrevClick:F,handleNextClick:Z,handleDateClick:L,setSelectedDate:h}},ul=({label:e,error:r,locale:s,disabled:i,size:o="180px",onDateChange:l,onChangeFunction:a,disableWeekends:c,keyResetCalendar:d,disablePastDates:u,disableNextTwoDays:g,disableSpecificDate:p,disableBusinessDays:m,disableDaysBasedOnTime:x,disableFiveBusinessDays:v,disableNextBusinessDayAfter:h,hourDisableDaysBasedOnHour:j,heightBoxes:M="40px",labelText:D,subLabelText:S,id:k,value:w,fontSize:O})=>{const{date:H,isOpen:G,setDate:V,language:f,leftMonth:L,setIsOpen:F,disablePrev:Z,isDateInRange:Q,getDaysInMonth:K,isDateDisabled:te,handleDateClick:U,handlePrevClick:$,handleNextClick:R,datePickerRef:y,setSelectedDate:E,setLeftMonth:P,selectedDate:N}=sh({locale:s,onDateChange:l,onChangeFunction:a,disableWeekends:c,disablePastDates:u,disableBusinessDays:m,disableNextTwoDays:g,disableSpecificDate:p,disableDaysBasedOnTime:x,disableFiveBusinessDays:v,disableNextBusinessDayAfter:h,hourDisableDaysBasedOnHour:j,id:k}),A=w instanceof Date?w:void 0,z=W=>{if(!W)return null;const J=W.toLocaleDateString(f.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),X=J[0].charAt(0).toUpperCase()+J[0].slice(1),se=J[1],q=J[2].charAt(0).toUpperCase()+J[2].slice(1),ue=J[3];return`${X} ${se} de ${q} ${ue}`};C.useEffect(()=>{V(null),E(null)},[d,V,E]),C.useEffect(()=>{if(A){(L.getMonth()!==A.getMonth()||L.getFullYear()!==A.getFullYear())&&P(new Date(A.getFullYear(),A.getMonth(),1));const W=new Date(A.getFullYear(),A.getMonth(),A.getDate()),I=N?new Date(N.getFullYear(),N.getMonth(),N.getDate()):null;(!I||W.getTime()!==I.getTime())&&E(W)}},[A,L,N,P,E]);const B=W=>{const I=K(W),J=W.getMonth(),X=se=>{const q=!!A&&se&&se.getFullYear()===A.getFullYear()&&se.getMonth()===A.getMonth()&&se.getDate()===A.getDate();return[se&&se.getMonth()!==J?"other-month":"",se&&(Q(se)||q)?"selected":"",te(se)?"disabled":""].join(" ")};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>$(W),disabled:Z(new Date(W.getFullYear(),W.getMonth()-1,1)),children:t.jsx("span",{className:"sr-only",children:t.jsx(ts,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[f.MONTHS[W.getMonth()],t.jsx("p",{children:W.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>R(W),children:t.jsx("span",{className:"sr-only",children:t.jsx(ns,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${M})`},children:[t.jsx("div",{className:"background-days"}),f.DAYS.map(se=>t.jsx("div",{className:"calendar-day-header",children:se},se)),I.map((se,q)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${X(se)}`,disabled:!se||te(se),onClick:()=>se&&!te(se)&&U(se),children:t.jsx("span",{className:`day-text ${se?"":"text-muted"}`,children:se?se.getDate():""})})},`${se}_${q}`))]})]})};return t.jsxs("div",{className:"single-date-picker-container relative",ref:y,children:[t.jsx(Qe,{label:A?z(A):H??e,onchange:()=>{},options:[],size:o,isOpen:G,setIsOpen:F,error:r,disabledClickOutside:!0,disabled:i,keyReset:d,Icon:wi,labelText:D,subLabelText:S,fontSizeLabel:O,withoutOptions:!0}),G&&t.jsx("div",{className:"date-picker-dropdown date-picker-individual",children:t.jsx("div",{className:"calendars-wrapper",children:B(L)})})]})};ul.propTypes={locale:n.oneOf(["es-ES","en-US"]),onDateChange:n.func,disableBusinessDays:n.number,disablePastDates:n.bool,label:n.string,size:n.string,disableNextTwoDays:n.bool,disableSpecificDate:n.instanceOf(Date),keyResetCalendar:n.number,error:n.bool,disableDaysBasedOnTime:n.bool,disableFiveBusinessDays:n.bool,disabled:n.bool,disableWeekends:n.bool,disableNextBusinessDayAfter:n.instanceOf(Date),hourDisableDaysBasedOnHour:n.instanceOf(Date),heightBoxes:n.string,labelText:n.string,subLabelText:n.any,id:n.string,onChangeFunction:n.func,value:n.instanceOf(Date),fontSize:n.string};const fl=({title:e,description:r,linkText:s,icon:i,fnNavigate:o,width:l,height:a,id:c})=>{const d=()=>{o(c)};return t.jsxs("section",{className:"info-action-card",style:{width:l,height:a},onClick:d,children:[t.jsxs("div",{className:"info-action-card__content",children:[t.jsxs("div",{className:"info-action-card__content__text__container",children:[t.jsx("h3",{children:e}),t.jsx("p",{children:r})]}),i]}),t.jsx("div",{className:"line-grey"}),t.jsxs("div",{className:"info-action-card__action",children:[t.jsx("button",{children:s}),t.jsx(mr,{})]})]})};fl.propTypes={title:n.string,description:n.string,linkText:n.string,icon:n.node,fnNavigate:n.func,width:n.string,height:n.string,id:n.string};const is=e=>e.map(r=>({id:r.id,title:r.title,optionsSelect:[]})),ih=(e,r)=>{const[s,i]=C.useState([]),[o,l]=C.useState(is(e)),[a,c]=C.useState(!1),d=C.useRef(null),u=C.useRef(!1),g=j=>{const M={};return e.forEach(D=>{const S=j.find(k=>k.id===D.id);S?M[D.id]={value:S.optionsSelect.map(k=>k.id),allData:S.optionsSelect}:M[D.id]={value:[],allData:[]}}),M},p=j=>{i(M=>M.includes(j)?M.filter(D=>D!==j):[...M,j])},m=(j,M)=>{u.current=!0,l(D=>{var G;const S=D.findIndex(V=>V.id===j);let k=[...D],w=[];const O=e.find(V=>V.id===j)||{};if(O.multiple!==!1)if(S===-1)w=[M],k.push({id:j,title:O.title||"",optionsSelect:w});else{const V=D[S].optionsSelect;V.some(L=>L.id===M.id)?w=V.filter(L=>L.id!==M.id):w=[...V,M],w.length===0?k.splice(S,1):(w.sort((L,F)=>{var Z;return(Z=L.label)==null?void 0:Z.localeCompare(F.label)}),k[S].optionsSelect=w)}else if(S===-1||((G=D[S].optionsSelect[0])==null?void 0:G.id)!==M.id?w=[M]:w=[],w.length===0)S>-1&&k.splice(S,1);else{const V={id:j,title:O.title||"",optionsSelect:w};S===-1?k.push(V):k[S]=V}if(r){const V=g(k);r(V)}return k})},x=()=>{u.current=!0;const j=is(e);if(l(j),r){const M=g(j);r(M)}},v=C.useCallback(j=>{u.current=!0,l(j)},[]),h=()=>o.reduce((j,M)=>j+M.optionsSelect.length,0);return C.useEffect(()=>{u.current||l(is(e))},[e]),C.useEffect(()=>{const j=M=>{d.current&&!d.current.contains(M.target)&&c(!1)};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[]),{expandedSections:s,selectedFilters:o,toggleSection:p,toggleFilter:m,clearAllFilters:x,open:a,setOpen:c,getLengthFilters:h,filterRef:d,setSelectedFilters:v}},On=(e,r)=>{var s;return r?typeof e=="object"&&!Array.isArray(e)?(s=Object.values(e))==null?void 0:s.flat():Array.isArray(e)?e:[]:Array.isArray(e)?e:[]},oh=(e,r)=>r||Array.isArray(e)?e:[],pl=({data:e=[],onChange:r,disabled:s,keyRest:i,value:o,fontSizeLabel:l="0.8vw",fontSizeTitles:a,fontSizeSelects:c="0.8vw",widthFilterComponent:d="380px",heightFilterComponent:u="400px",right:g="0",top:p="0"})=>{const{open:m,setOpen:x,toggleFilter:v,toggleSection:h,selectedFilters:j,clearAllFilters:M,getLengthFilters:D,expandedSections:S,filterRef:k,setSelectedFilters:w}=ih(e,r),[O,H]=C.useState({}),[G,V]=C.useState({}),f=C.useRef({}),L=C.useRef(!0),F=132,Z=220,Q=R=>{H(y=>({...y,[R]:!y[R]}))};C.useEffect(()=>{e.forEach(R=>{(R.selectAll||R.basicSelect)&&!(S!=null&&S.includes(R==null?void 0:R.id))&&h(R==null?void 0:R.id)})},[e,S,h]);const K=(R,y,E,P)=>{const N=E==null?void 0:E.filter(z=>P.includes(z.id)),A=o!==void 0?o:j;w(()=>{const z=A==null?void 0:A.findIndex(W=>(W==null?void 0:W.id)===R);let B=[...A];if(N.length===0)z>-1&&B.splice(z,1);else{const W={id:R,title:y,optionsSelect:N};z===-1?B.push(W):B[z]=W}if(r){const W={};e.forEach(I=>{if((I==null?void 0:I.id)===R)W[I==null?void 0:I.id]={value:P,allData:N};else{const J=B==null?void 0:B.find(X=>(X==null?void 0:X.id)===(I==null?void 0:I.id));J&&J.optionsSelect.length>0?W[I==null?void 0:I.id]={value:J.optionsSelect.map(X=>X.id),allData:J.optionsSelect}:W[I==null?void 0:I.id]={value:[],allData:[]}}}),r(W)}return B})},te=(R,y,E,P)=>{const N=E==null?void 0:E.find(z=>z.value===P||z.label===P),A=o!==void 0?o:j;w(()=>{const z=A==null?void 0:A.findIndex(W=>(W==null?void 0:W.id)===R);let B=[...A];if(!N)z>-1&&B.splice(z,1);else{const W={id:R,title:y,optionsSelect:[N]};z===-1?B.push(W):B[z]=W}if(r){const W={};e.forEach(I=>{if((I==null?void 0:I.id)===R)W[I==null?void 0:I.id]={value:P,allData:N?[N]:[]};else{const J=B==null?void 0:B.find(X=>(X==null?void 0:X.id)===(I==null?void 0:I.id));J&&J.optionsSelect.length>0?W[I==null?void 0:I.id]={value:J.optionsSelect.map(X=>X.value||X.id),allData:J.optionsSelect}:W[I==null?void 0:I.id]={value:[],allData:[]}}}),r(W)}return B})};C.useEffect(()=>{const R={};S==null||S.forEach(y=>{const E=f.current[y];E&&E.scrollHeight>F&&(R[y]=!0)}),V(R)},[S,e]);const U=o!==void 0?o:j;C.useEffect(()=>{if(L.current){L.current=!1;return}w(o===void 0?[]:o)},[i,w,o]),C.useEffect(()=>{o!==void 0&&!L.current&&w(o)},[o,w]);const $=o!==void 0?U==null?void 0:U.reduce((R,y)=>{var E;return R+((E=y==null?void 0:y.optionsSelect)==null?void 0:E.length)},0):D();return t.jsxs("div",{className:"toggle-filter-component",ref:k,children:[t.jsxs("button",{className:"reset-styles-button center-flex relative button-filter-component",disabled:s,onClick:()=>x(!m),style:{fontSize:a},children:["Filtro ",$?`(${$})`:"",t.jsx(Ai,{})]}),m&&t.jsxs("div",{className:"filter-container-component",style:{width:d,height:u,right:g,top:p},children:[t.jsxs("div",{className:"filter-header",children:[t.jsx("h2",{className:"filter-title",style:{fontSize:a},children:"Filtros"}),t.jsxs("div",{className:"filter-header-buttons",children:[(o!==void 0?U.reduce((y,E)=>{var P;return y+((P=E==null?void 0:E.optionsSelect)==null?void 0:P.length)},0):D())>0&&t.jsxs("button",{className:"clear-all",onClick:M,style:{fontSize:a},children:["Borrar todo",t.jsx(wr,{width:"15px",height:"15px"})]}),t.jsx(ft,{sx:{color:"#8598ad"},style:{width:"14px",height:"14px"},onClick:()=>x(!m)})]})]}),e.map(({id:R,title:y,options:E,selectAll:P,basicSelect:N,placeholderInput:A,label:z,textSelectAll:B,grouped:W,disabledSection:I})=>{var J,X,se,q,ue,le;return t.jsxs("div",{className:"filter-section",children:[t.jsxs("button",{className:"section-header",onClick:()=>!(P||N)&&h(R),style:{cursor:P||N?"default":"pointer"},children:[t.jsxs("span",{className:"section-header-title",style:{fontSize:l},children:["Por ",y]}),!(P||N)&&(S==null?void 0:S.includes(R))&&t.jsx("span",{className:"filter-container-icon",children:t.jsx(qr,{isOpen:S==null?void 0:S.includes(R),onChange:()=>{},color:"#8598AD",padding:"2px",display:"flex",height:"auto",width:"auto"})})]}),(S==null?void 0:S.includes(R))&&t.jsx(t.Fragment,{children:P?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(Vr,{data:oh(E,W),grouped:W||!1,label:z||y,maxheight:"200px",onChange:fe=>{K(R,y,On(E,W),fe)},placeholderSearch:A||`Buscar ${y==null?void 0:y.toLowerCase()}`,textSelectAll:B||`Todos los ${y==null?void 0:y.toLowerCase()}`,width:"100%",widthDropdown:"100%",isRelative:!0,selectedValues:((X=(J=U.find(fe=>(fe==null?void 0:fe.id)===R))==null?void 0:J.optionsSelect)==null?void 0:X.map(fe=>fe.id))||[],fontSizeLabel:l,disabled:I,fontSizeOptions:c})}):N?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(Qe,{label:z||y,options:On(E,W),onchange:fe=>{te(R,y,On(E,W),fe.value)},placeholderInputSearch:A||`Buscar ${y==null?void 0:y.toLowerCase()}`,size:"100%",value:((ue=(q=(se=U==null?void 0:U.find(fe=>(fe==null?void 0:fe.id)===R))==null?void 0:se.optionsSelect)==null?void 0:q[0])==null?void 0:ue.value)||"",position:"relative",fontSizeLabel:l,disabled:I,fontSizeOptions:c})}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"section-content",ref:fe=>f.current[R]=fe,style:G[R]?O[R]?{maxHeight:Z,overflowY:"scroll"}:{maxHeight:F,overflow:"hidden"}:{},children:(le=On(E,W))==null?void 0:le.map(fe=>{const Be=U==null?void 0:U.some(we=>{var Re;return(we==null?void 0:we.id)===R&&((Re=we==null?void 0:we.optionsSelect)==null?void 0:Re.some(ce=>ce.id===fe.id))});return t.jsx(es,{height:"27px",onChange:()=>v(R,fe),isSelect:Be,children:fe.label},fe.id)})}),t.jsx("div",{style:{display:"flex",justifyContent:"end",padding:"0 8%",marginTop:"10px"},children:(G==null?void 0:G[R])&&t.jsx("button",{className:"view-more",onClick:()=>Q(R),children:O[R]?"Ver menos":"Ver más"})})]})})]},R)})]})]})};pl.propTypes={data:n.arrayOf(n.shape({id:n.string.isRequired,title:n.string.isRequired,selectAll:n.bool,basicSelect:n.bool,grouped:n.bool,placeholderInput:n.string,label:n.string,textSelectAll:n.string,options:n.oneOfType([n.arrayOf(n.shape({id:n.string.isRequired,label:n.string.isRequired,name:n.string,value:n.string})),n.object]).isRequired})),onChange:n.func,disabled:n.bool,keyRest:n.oneOfType([n.number,n.string]),value:n.array,fontSizeLabel:n.string,fontSizeTitles:n.string,widthFilterComponent:n.string,heightFilterComponent:n.string,right:n.string,fontSizeSelects:n.string,top:n.string};const gl=({title:e,description:r,linkText:s,icon:i,fnNavigate:o,width:l,fnDownload:a,gapTitleDescription:c,height:d,hasDownloadButton:u,fontSizeTitle:g,fontSizeDescription:p,fontSizeButton:m,textButton:x,widthButton:v="7.5vw",id:h})=>t.jsxs("section",{id:"info-action-card-download-template",className:"info-action-card",style:{width:l,height:d},onClick:()=>o(h),children:[t.jsxs("div",{style:{height:"80%",display:"flex",flexDirection:"column",justifyContent:"space-evenly"},children:[t.jsxs("div",{className:"info-action-card__content info-action-card__content-download-template",children:[t.jsxs("div",{className:"info-action-card__content__text info-action-card__content__text-download-template",style:{gap:c},children:[t.jsx("h3",{style:{fontSize:g},children:e}),t.jsx("p",{style:{fontSize:p},children:r})]}),t.jsx("div",{className:"info-action-card__content__icon",children:i})]}),u&&t.jsx(Yr,{buttonProperties:{disabled:!1,onClick:()=>a(),style:{minHeight:"32px",width:v,marginLeft:"10px",fontSize:m,display:"flex",justifyContent:"space-between",alignItems:"center"}},children:x})]}),t.jsx("div",{className:"info-action-card__action info-action-card__action-download-template",children:t.jsxs("div",{style:{display:"flex",alignItems:"center",padding:" 15px",gap:"10px",fontSize:p},children:[t.jsx("button",{children:s}),t.jsx(mr,{})]})})]});gl.propTypes={title:n.string,description:n.string,linkText:n.string,icon:n.node,fnNavigate:n.func,width:n.string,fnDownload:n.func,gapTitleDescription:n.string,height:n.string,hasDownloadButton:n.bool,fontSizeTitle:n.string,fontSizeDescription:n.string,fontSizeButton:n.string,textButton:n.string,widthButton:n.string,id:n.string};const ml=({iconTitle:e,title:r,mainData:s,news:i,width:o,height:l,onChange:a,isSelected:c,value:d,disabled:u,keyReset:g,heightTitleFilter:p="20px",color:m="#575EE0"})=>{const[x,v]=C.useState({isSelected:c||!1,value:d||null}),h=D=>d===D.title,j=({item:D,from:S})=>{const k={isSelected:x.value!==D.title,value:x.value===D.title?null:D.title};v(k),a({item:D,from:S,title:r,selected:k.value,isSelected:k.isSelected})};C.useEffect(()=>{v({isSelected:!1,value:null})},[g]);const M=D=>!!(Number(D.quantity)===0||u);return t.jsxs("div",{className:"ProcessFilter",style:{width:o,height:l,borderColor:m},children:[t.jsxs("div",{className:"ProcessFilter-header",style:{height:p},children:[t.jsxs("div",{className:"ProcessFilter-titleWrapper",children:[e,t.jsx("h2",{className:"ProcessFilter-title",style:{color:m},children:r})]}),t.jsx("div",{className:"ProcessFilter-statsWrapper",children:t.jsx(Ii,{})})]}),t.jsx("div",{className:"ProcessFilter-mainData",children:s.map(D=>t.jsxs("div",{onClick:()=>M(D)?null:j({item:D,from:"main"}),className:`ProcessFilter-item-wrapper ${h(D)?"selected":""} ${M(D)?"disabled":""}`,children:[t.jsxs("div",{className:"ProcessFilter-item-content-icon-title",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:11,fill:"none",children:t.jsx("path",{fill:"#fff",d:"M13.407 1.545 11.832 0 4.469 7.172l-2.883-2.8L0 5.91l4.469 4.343 8.938-8.708Z"})}),t.jsx("span",{className:"ProcessFilter-item-title",children:D.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:D.quantity})]},D.id))}),i.length>0&&t.jsxs("div",{className:"",children:[t.jsxs("h3",{className:"ProcessFilter-newsTitle",children:["Novedades (",i.reduce((D,S)=>D+(parseInt(S.quantity)||0),0),")"]}),i.map(D=>t.jsxs("div",{onClick:()=>M(D)?null:j({item:D,from:"news"}),className:`ProcessFilter-item-wrapper ${h(D)?"selected":""} ${M(D)?"disabled":""}`,children:[t.jsxs("div",{className:"ProcessFilter-item-content-icon-title",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:11,fill:"none",children:t.jsx("path",{fill:"#fff",d:"M13.407 1.545 11.832 0 4.469 7.172l-2.883-2.8L0 5.91l4.469 4.343 8.938-8.708Z"})}),t.jsx("span",{className:"ProcessFilter-item-title",children:D.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:D.quantity})]},D.id))]})]})};ml.propTypes={iconTitle:n.any,title:n.string,mainData:n.array,news:n.array,width:n.string,height:n.string,onChange:n.func,isSelected:n.bool,value:n.string,disabled:n.bool,keyReset:n.number,heightTitleFilter:n.string,color:n.string};const lh=({locale:e="es",disablePastDates:r,onDateRangeChange:s,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,u]=C.useState(!1),[g,p]=C.useReducer(N=>N+1,0),m=e==="es"?rs:ss,[x,v]=C.useState(null),[h,j]=C.useState(null),[M,D]=C.useState(null),[S,k]=C.useState(new Date),[w,O]=C.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[H,G]=C.useState(!1),V=(N,A)=>{const z=new Date;if(z.setHours(0,0,0,0),c){const B=new Date(z);if(B.setDate(z.getDate()-c),N<B||N>z)return!0}return A&&r&&N<z||!A&&a&&N>z||r&&N<z||a&&N>z?!0:l>0&&x?ll(N,x,l):!1},f=N=>{const A=N.getFullYear(),z=N.getMonth(),W=new Date(A,z,1).getDay(),I=new Date(A,z+1,0),J=[],X=new Date(A,z,0).getDate();for(let ue=W-1;ue>=0;ue--)J.push(new Date(A,z-1,X-ue));for(let ue=1;ue<=I.getDate();ue++)J.push(new Date(A,z,ue));const q=42-J.length;for(let ue=1;ue<=q;ue++)J.push(new Date(A,z+1,ue));return J},L=N=>!x||!h?!1:N>=x&&N<=h,F=N=>!x||!M?!1:N>=x&&N<=M||N<=x&&N>=M,Z=N=>{!x||h?(v(N),j(null)):N<x?(j(x),v(N),i&&E(N,x)):(j(N),i&&E(x,N))},Q=N=>{D(N)},K=()=>!x||!h?0:Math.round((h.getTime()-x.getTime())/(1e3*60*60*24))+1,te=(N,A)=>{const z=new Date(N.getFullYear(),N.getMonth()-1,1);r&&z<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&A||(A?k(z):(O(z),z.getMonth()===S.getMonth()&&k(new Date(z.getFullYear(),z.getMonth()-1,1))))},U=(N,A)=>{const z=new Date(N.getFullYear(),N.getMonth()+1,1);A?(k(z),z.getMonth()===w.getMonth()&&O(new Date(z.getFullYear(),z.getMonth()+1,1))):O(z)},$=N=>{const z=N.toLocaleDateString(m.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),B=z[0].charAt(0).toUpperCase()+z[0].slice(1),W=z[1],I=z[2].charAt(0).toUpperCase()+z[2].slice(1),J=z[3];return`${B} ${W} de ${I} ${J}`},R=()=>{const N=new Date;v(null),j(null),k(N),O(new Date(new Date().setMonth(new Date().getMonth()+1))),G(!1),o({startDate:null,endDate:null}),p()},y=()=>{G(!1);const N=lt(x),A=lt(h);s({startDate:N,endDate:A}),u(!1)},E=(N,A)=>{v(N),j(A),G(!1);const z=lt(N),B=lt(A);s({startDate:z,endDate:B}),u(!1)};return{isOpen:H,endDate:h,language:m,leftMonth:S,startDate:x,setIsOpen:G,hoverDate:M,rightMonth:w,formatDate:$,handleSearch:y,handleCancel:R,isDateInRange:L,getDaysInMonth:f,isDateDisabled:V,handleDateClick:Z,handleDateHover:Q,handlePrevClick:te,handleNextClick:U,getDaysSelected:K,isDateInHoverRange:F,keyReset:g,resetSelect:p,handleBasicSelect:({value:N})=>{N==="custom"?(u(!0),G(!1)):s({value:N})},isOpenCalendar:d,setIsOpenCalendar:u}},yl=({locale:e="es",onDateRangeChange:r,disablePastDates:s,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:u,disableFutureDates:g,optionsBasicSelect:p,withoutSearchButton:m,widthBasicSelect:x,fontSizeLabelBasicSelect:v,fontSizeOptionsBasicSelect:h,labelText:j,subLabelText:M,disablePastDaysCount:D,keyResetBasicSelect:S})=>{const{keyReset:k,isOpen:w,endDate:O,language:H,leftMonth:G,startDate:V,setIsOpen:f,rightMonth:L,handleSearch:F,handleCancel:Z,isDateInRange:Q,getDaysInMonth:K,isDateDisabled:te,handleDateClick:U,handleDateHover:$,handlePrevClick:R,handleNextClick:y,getDaysSelected:E,isDateInHoverRange:P,handleBasicSelect:N,isOpenCalendar:A,setIsOpenCalendar:z}=lh({locale:e,onReset:l,onDateRangeChange:r,disablePastDates:s,withoutSearchButton:m,limitRange:i,disableFutureDates:g,disablePastDaysCount:D}),B=C.useRef(null);C.useEffect(()=>{const I=J=>{B.current&&!B.current.contains(J.target)&&(w||A)&&(f(!1),z(!1),o||Z())};return document.addEventListener("mousedown",I),()=>{document.removeEventListener("mousedown",I)}},[O,Z,w,f,V,o,A,z]);const W=(I,J=!0)=>{const X=K(I),se=I.getMonth(),q=(le,fe)=>[le&&le.getMonth()!==se?"other-month":"",le&&Q(le)?"in-range":"",le&&P(le)?"hover-range":"",le&&(le.getTime()===(V==null?void 0:V.getTime())||le.getTime()===(O==null?void 0:O.getTime()))?"selected":"",te(le,fe)?"disabled":""].join(" "),ue=({date:le,isLeftCalendar:fe,disablePastDates:Be,leftMonth:we})=>{const Re=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),ce=new Date(le.getFullYear(),le.getMonth()-1,1).getTime();return!!(Be&&(ce<Re||!fe&&new Date(we.getFullYear(),we.getMonth(),1).getTime()<=Re))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>R(I,J),disabled:An(new Date(I.getFullYear(),I.getMonth()-1,1),!0,V,i)||ue({date:I,isLeftCalendar:J,disablePastDates:s,leftMonth:G}),children:t.jsx("span",{className:"sr-only",children:t.jsx(ts,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[H.MONTHS[I.getMonth()],t.jsx("p",{children:I.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>y(I,J),disabled:An(new Date(I.getFullYear(),I.getMonth()+1,1),!1,V,i)||g&&new Date(I.getFullYear(),I.getMonth(),1).getTime()>=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),children:t.jsx("span",{className:"sr-only",children:t.jsx(ns,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),H.DAYS.map(le=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:le},le)),X.map((le,fe)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${q(le,J)}`,disabled:!le||te(le),onClick:()=>le&&!te(le)&&U(le),onMouseEnter:()=>le&&!te(le)&&$(le),onMouseLeave:()=>$(null),children:t.jsx("span",{className:`day-text ${le?"":"text-muted"}`,style:{fontSize:d},children:le?le.getDate():""})})},`${le}_${fe}`))]})]})};return C.useEffect(()=>{S&&Z()},[S]),C.useEffect(()=>{w&&z(!1)},[w]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:B,style:{width:x},children:[t.jsx(Qe,{label:"Buscar por fecha",options:p,size:x,isOpen:w,setIsOpen:f,disabledClickOutside:!0,disabled:u,onchange:N,fontSizeLabel:v,fontSizeOptions:h,keyReset:k,labelText:j,subLabelText:M,sortAlphabetically:!1}),A&&t.jsxs("div",{className:"date-picker-dropdown",style:{right:a==="right"?"0":"auto",left:a==="left"?"0":"auto",top:"90%"},children:[t.jsxs("div",{className:"calendars-wrapper",children:[W(G,!0),W(L,!1)]}),!m&&t.jsx("div",{className:"date-picker-footer",children:V&&O&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[E()," ",H.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(Dn,{buttonProperties:{onClick:()=>Z(),style:{width:"115px",textAlign:"center"}},children:H.cancel}),t.jsx(Ue,{buttonProperties:{onClick:()=>F(),style:{width:"115px",textAlign:"center"}},children:H.search})]})]})})]})]}),V&&O&&o&&t.jsx("button",{className:"button-reset",onClick:()=>Z(),children:t.jsx(Cn,{})})]})};yl.propTypes={locale:n.oneOf(["es","en"]),heightBoxes:n.string,onDateRangeChange:n.func,disablePastDates:n.bool,resetButton:n.bool,withoutSearchButton:n.bool,onReset:n.func,direction:n.oneOf(["left","right"]),fontSize:n.string,limitRange:n.number,keyReset:n.number,disabled:n.bool,disableFutureDates:n.bool,optionsBasicSelect:n.array,widthBasicSelect:n.string,fontSizeLabelBasicSelect:n.string,fontSizeOptionsBasicSelect:n.string,labelText:n.string,subLabelText:n.any,disablePastDaysCount:n.number,keyResetBasicSelect:n.number};const ah=_e(t.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined"),xl=({data:e,language:r,onSave:s,onCancel:i,isUpdate:o})=>{const[l,a]=C.useState(e),c={en:{title:"Application list",update:"Update application",cancel:"CANCEL",save:"SAVE"},es:{title:"Lista de aplicaciones",update:"Editar aplicación",cancel:"CANCELAR",save:"GUARDAR"}},d=c[r]??c.es,u=p=>{const m=l.filter((x,v)=>v!==p);a(m)},g=()=>{s(l)};return t.jsx("div",{className:"modal-overlay",children:t.jsxs("div",{className:"modal-listAplication",children:[t.jsxs("div",{className:"relative-onehundredpercent",children:[t.jsx("div",{className:"modal-listAplication-header",children:t.jsx("h2",{children:o?d.update:d.title})}),t.jsx("button",{className:"close-button",onClick:i,children:t.jsx(ft,{sx:{color:"#8598ad"}})})]}),t.jsx("div",{className:"modal-listAplication-content",children:l==null?void 0:l.map((p,m)=>t.jsxs("div",{className:"application-item",children:[t.jsx("div",{className:"application-header",children:t.jsx("h3",{children:p.title})}),t.jsxs("div",{className:"container-center-between",children:[t.jsx("div",{className:"application-title",children:typeof p.logo=="string"?t.jsx("div",{children:t.jsx("img",{src:p==null?void 0:p.logo,alt:`${p.title} logo`,className:"app-logo"})}):t.jsx("div",{children:t.jsx(p.logo,{})})}),l.length>1&&t.jsx("button",{className:"remove-button",onClick:()=>u(m),children:t.jsx(ah,{sx:{color:"#8598ad"}})})]}),t.jsx("p",{className:"application-manager",children:p.manager}),m<e.length-1&&t.jsx("hr",{})]},m))}),t.jsxs("div",{className:"modal-listAplication-footer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>i(),style:{width:"45%"}},children:d.cancel}),t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"45%"}},children:d.save})]})]})})};xl.propTypes={data:n.array,language:n.oneOf(["en","es"]),onSave:n.func,onCancel:n.func,isUpdate:n.bool};const vl=e=>e.toLocaleDateString("es-ES",{day:"numeric",month:"long",year:"numeric"}),bl=({isOpen:e,ticketNumber:r="##000",date:s=new Date,setIsOpen:i,isReadOnly:o=!1,fontSize:l="1vw",fontSizeButton:a="0.8vw",fontSizeTicketNumber:c="1.3vw",width:d="40vw",onAccept:u,onCreateNewTicket:g,createNewTicket:p=!0})=>{if(!e)return null;const m=()=>i(!1),x=()=>{m(),u()},v=()=>{m(),g()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:d},children:[t.jsx("button",{onClick:m,className:"closeButton",children:t.jsx(ft,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"main-content",children:[o&&t.jsxs("div",{className:"alert",children:[t.jsx(Ut,{width:30}),t.jsx("p",{style:{fontSize:l},children:"Estás usando un usuario de prueba. No se va a generar ningún Ticket"})]}),t.jsx("h2",{className:"title",children:"Se ha cargado su solicitud correctamente"}),t.jsxs("div",{className:"content-ticket",children:[t.jsx(Tn,{width:"35%"}),t.jsxs("div",{className:"content",children:[t.jsx("p",{style:{fontSize:l},children:"Se ha creado una nueva solicitud"}),t.jsxs("div",{children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Número de ticket"}),t.jsx("p",{className:"ticketNumber",style:{fontSize:c},children:r})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:vl(s)})]})]})]}),t.jsxs("div",{className:"buttonContainer",style:{justifyContent:p?"space-between":"center"},children:[p&&t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>v(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>x(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})]})})};bl.propTypes={isOpen:n.bool,ticketNumber:n.string,date:n.instanceOf(Date),setIsOpen:n.func,isReadOnly:n.bool,fontSize:n.string,fontSizeButton:n.string,fontSizeTicketNumber:n.string,width:n.string,onAccept:n.func,onCreateNewTicket:n.func,createNewTicket:n.bool};const ch="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAugAAACTCAMAAADr/hyJAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAJhUExURQAAANzz7dzz7dz07P///9zz7dzz7dvt7dzz7dvz7dzz7t3y7t307dvz7dv//9zz7d307eD169zz7dr079vz7dvz7dzz7d307b///9zz7tzz7dzz7tjr69vz69zy7dzz7dzy7tz27d307Nzz7f///9z07dzz7dX//9zz7tzz7dzz7dXq6t3y7tzz7dzz7f///9vz89v07Nzz7Nzz7d//397379zz7dzz7d/v793u7tjw8N/v79rz7Nzy7tzz7eHw8Nvz7dzz6N3z7dzz7dny8tvw8Nzz7d706dzz7eP/49zz7d307dzz7dzz7N307tvy7tzz7dv07N317N3y7t3z7dzx6uPx8dj169307tvy7dzz7tzz7dz169v07dzz7d3z7d3z7Nrw8Nzz7tvz7dzz7d337tzz7dzz7dz07Nzz7dzz7Nfy8tzz7dzz69zz7d3x6ub/5tHo6Nzz7N3z7dzy7dzy7Nzy7tvz7dv07sz//931693z7dzy7dz07d3z7tzz7d307dvz7dvz7N3x7tzy7dvy7Nrx7Nv07Nzz7dzz7dz07dzz7dv07dvy7dzy7Nzz7dzy7tzz7tzz7dvy69v169zy7dzz7drz79zz7dzy7dzz7t307tv179zz7t307dvz7Nvz7dzz7tzz7dvz7t/y7Nzz7dv07dv07dz07dzz7dzz7Nvz7d3z7dzy7d7y69zz7tzz7dzz7dzz7N3y7d3y7d7x7Nzy7tz07N3z7N3y7Nzz7tzz7Nz07dzz7tzz7Nzy7dzz7tzz7dzz7d3z7tz17t707t/06tzz7tv07dzz7f///6DK0vIAAADJdFJOUwDE5l4B+pEOuyrbTPSAB/ycGbww11XsbwSw9oUNQMv9oR1E0gLfxwZm6dUMd/LhAxWI+OsIH5n7IA8hECmi8xErFqvwFCP3F/UJ7959zllNxbM1PKokEhqGY8zZM3LYuVIize3jHv75ieVsE91B2iUKC3vPtmB1rFwFNH/KtGjocLqkS4x5N12a8XSunWRR7naSgk4ytag+kLeEWzGvyKVUsadqKL2ecZ/il4FTOieTprjqjmE2O1+Vo75tSFhui7/W0WlJLhgsR8ixHpYAAAABYktHRASPaNlRAAAAB3RJTUUH6AsMDjsfsOFyIQAAAAFvck5UAc+id5oAAAbYSURBVHja7d3pdxNVGIDxSQJp0CYBYRqEQiEt0tYUmBZiEdKWpSxWSWMK1RjAqlCWVmUTlEWxgKJAFdwRFUFUVNz3fdf/ykY8AkJqs74zc5/fx36aufOcnDt3bme0PwEFaNIHABQDoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOpRA6FACoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOpRA6FACoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOpRA6FACoUMJhA4lEDqUQOhQAqFDCYQOJRA6lEDoUAKhQwmEDiUQOlTgIHTYn9M1jNBhd8PdJZpG6LA5zwhNI3TY3FVXaxqhw+ZKvT6N0GFz/pGjNI3QYXPXjNY0QofNjdE1jdBhc2WBsZd2rl0rfUhAvo0bX65dZsJE6cMC8qli0mTtioKV0ocG5I1ntJZOlT5F+uiAvLhugjaYqdU10kcI5KxW1/7P9aE66aMEcjKtevr/dj5ghlEvfaRA1hpCM4eSecqs8A3SRwtkpcxbMtTMUxpJHRZUZ8zOJPOUG8N+6aMGMlJnzMk085S5EVKHdTQZzdlkntISqZA+emBISt3zss08ZfR8Uof5LRi/MJfMU1q5LYXJlXmznrRcrNG9SPpMgLRqvBmvtKSz2FgifTbAFU0LLM1X5ikLvTdJnxFwmbaAL/e4L9V8c430WQGXuGXZkPa0ZMrnGiN9ZsC/HNFhhcg8pSraLn12QEpF7NZCVX5evIPHpZDW5J5V2MxTlrPaCFE13hWFzzyl87Yy6XOFsipvH/J289z5XPwfNQRUeAp3B5oGk3UUW1N4bpEr/1urwUMkFE9bqEhT88uVBHg9Booj4Rqbe7DZqwoyg0HBLYqMzr3VXLUaDdLjAFu7Q27Ocimf7pEeC9iVPxYs9jrLYJLhUukRgQ05jcm5x5lfK1aukh4V2EvF6jtFb0DT4mcd+eM0uqSDTm929V3S4wM7qPDo5vwxvyDpvlt6lGBx9xhrpDMeipm6Z630UMGyujuiBfm/oYIYsW699HjBkiZu2Cgdb2aq4tyZIkNOtwkegGauxMUUBkNWHzP9/Wd6a0I90uMHS0gELDZl+a+q3pFs5sXg7vXeJ91pPviiEabrSKcsHDfTZpbc3K/HhksPKExoQSRq3Yn5la2odnBriovVx1ybpLMsiNbNW6THFmbRvXVb3l6Ca0KNAX7X8affEcjp+xSWMIvW1TZQ+QzpCGkdhVUfq1al8vO6Hmjn60iqKd2+w87z8nQWujpYX1dHWUS/Xjo5MfdHIzw3VcEUd/BB6diETY+775G+DCioWsNGzz5zMeyhnbuYsNvTuN17LPHfQkWzUI8skL4oyLOHI3q5dFgmND1uJKQvDfLFn/AmmbCkdd8je/mehvXVPLrMJG+RM7GlQSPB4yTruiFhxKukI7KKxXrYKX3BkIWesK7iI6FcVCVDnm7p64YMlHoCjdLVWFR53767WHe0giV79x+w239QFFk5U3aTG5iUB4v4oTg7m6e7WXg0JX/CiJZI52Evax57fIz0ZcXFutuNPiIviHlRw8ENqhmUOozgUukc7G1TPOQZJ32dlXbQE4pPlc5ADb74E0+yzi6govbQ4RE82C+uzoF5DNsFiqfOYUQt/to463owGYi0SReggJ5IIMljfWmTj4zf2y+dgm21dTzVy9qKeXRGvTG+KZNfzpg3av/Xr1hQ1VzX0+1N0nnYgnPr0WOd0tcTgxr4be+oZdNAtvw9A7/jo6QvIoZoTjwQdtRLR2MxTYlIIG7P137am+8Z17pnp0jnYwXdlc9tPrKcdRVLK0+6jFgPc5k0nDHDlWTzoW2seH7PCy+2sbn9gvrK+S8df5nEbWlqVzQUdhyUbkxYfyIS0lus89VaZKuzd8++E5VLpIMruoZXXj2641Ye/6imOamHwh4VPhDZn+gYmInPkR5wiJqTfG2l++QWG+4iWLu+/fV1p/pO+6SHGGZS3tJ3yni9fb1fus+cLbrqjTM7t/W2smscg2luCVZ7w7GE1ba899d6IkZAT3ayII6MbDo9Ycebxlu7d71t3o3vdXc4Tpx9Z8O7763h9xu5KzkXP3Jq5/sffLirTfytv/6PVrXHJn28/5OrP53MOjgKZuy8059FP1/50hdfnvwq0dNQ+C01Tc5Vuzzbz7yw8+vj33zayuIJZPhmdCV7j31b/V1o/PfhSMfqHxI/9jT0Z7GKM7y/39nz00TP7o5DZw1v6OfD+i/xXxubmXLD3KY3N//W1fV7MhkPntenX/DHP387kEye6+ra2MzLOQEAyMBf4Qb2Ap6Bh4QAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjQtMTEtMTJUMTQ6NTk6MTIrMDA6MDBpf70TAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI0LTExLTEyVDE0OjU5OjEyKzAwOjAwGCIFrwAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNC0xMS0xMlQxNDo1OTozMSswMDowMDz6OZAAAAAASUVORK5CYII=",jl=({onChange:e,handleClose:r})=>{const[s,i]=C.useState(!1),o=()=>{e(s),r()};return t.jsx("div",{className:"modal-overlay",children:t.jsxs("div",{className:"modal-VisualizationModaLogin",children:[t.jsx("img",{src:ch,alt:"",className:"backgroundTicket"}),t.jsx("div",{className:"TicketImageUserReadOnly",style:{height:"95px"},children:t.jsx("div",{className:"UserReadOnlyIconCenter",children:t.jsx(Ut,{width:80})})}),t.jsx("button",{className:"close-button-VisualizationModaLogin",onClick:r,children:t.jsx(ft,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"container-content",children:[t.jsx("div",{className:"modal-header",children:t.jsx("h2",{children:"¿Qué es un usuario de Visualización?"})}),t.jsxs("div",{className:"modal-content",children:[t.jsx("p",{children:"Este perfil se puede utilizar para realizar ensayos o simulaciones dentro del portal, aplicación o plataforma. Este tipo de usuario se creo con el objetivo de evaluar funcionalidades, detectar errores o problemas, y verificar que el sistema funciona correctamente antes de que esté disponible para usuarios reales."}),t.jsx("h3",{children:"¿Qué puedo y que no puedo hacer?"}),t.jsxs("ul",{children:[t.jsx("li",{children:"Puedes Visualizar y hacer el flujo de una sección dentro del portal"}),t.jsx("li",{children:"Puedes hacer la navegación pero no es posible guardar o realizar solicitudes de Tickets"})]}),t.jsx("div",{className:"checkbox-container",children:t.jsx(Je.FormControlLabel,{control:t.jsx(Je.Checkbox,{onChange:l=>i(l.target.checked),sx:{"&.Mui-checked":{color:"#33a4dd"}}}),label:"No volver a mostrar al iniciar sesión"})}),t.jsx("div",{className:"container-button-modal",children:t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>{o()},style:{width:"40%"}},children:"ACEPTAR"})})]})]})]})})};jl.propTypes={onChange:n.func,handleClose:n.func};const wl=({isOpen:e,setIsOpen:r,width:s="30vw",fontSizeTitle:i="1.5vw",fontSizeDescription:o="1vw",fontSizeButton:l="1vw",description:a="Al cancelar perderás los datos proporcionado en la acción.",title:c="¿Estas seguro que deseas cancelar dia y hora específicos de la promoción?",textButton:d="ACEPTAR",onAccept:u})=>{if(!e)return null;const g=()=>r(!1),p=()=>{r(!1),u()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:s},children:[t.jsx("button",{onClick:g,className:"closeButton",children:t.jsx(ft,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"main-content",children:[t.jsx("div",{className:"iconContainer",children:t.jsx(jr,{})}),t.jsx("h2",{className:"title",style:{border:"none",fontSize:i},children:c}),t.jsx("p",{className:"warning-modal-description",style:{fontSize:o},children:a}),t.jsx("div",{className:"buttonContainer",children:t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>p(),style:{width:"100%",fontSize:l}},children:d})})]})]})})};wl.propTypes={isOpen:n.bool,setIsOpen:n.func,width:n.string,fontSizeTitle:n.string,fontSizeDescription:n.string,fontSizeButton:n.string,textButton:n.string,onAccept:n.func};const kl=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-InProcessing",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(zn,{fill:"#d0aa00"}),"En Procesamiento"]});kl.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Cl=({width:e,fontSize:r,marginAuto:s,height:i})=>t.jsxs("div",{className:"state-basic states-ToStart",style:{width:e,fontSize:r,margin:s?"auto":"",height:i},children:[t.jsx(zn,{fill:"#7c92c5"}),"Por Iniciar"]});Cl.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const os=(e,r="100px",s,i,o)=>({Activo:t.jsx(Gr,{width:r,fontSize:s,marginAuto:i,height:o}),Cancelada:t.jsx(Xr,{width:r,fontSize:s,marginAuto:i,height:o}),Finalizada:t.jsx(Jr,{width:r,fontSize:s,marginAuto:i,height:o}),Inactivo:t.jsx(Kr,{width:r,fontSize:s,marginAuto:i,height:o}),"En Procesamiento":t.jsx(kl,{width:r,fontSize:s,marginAuto:i,height:o}),"Por Iniciar":t.jsx(Cl,{width:r,fontSize:s,marginAuto:i,height:o}),"En tránsito":t.jsx(Qr,{width:r,fontSize:s,marginAuto:i,height:o})})[e]||e,Sl=({data:e,onEdit:r,width:s,dataKeysNotToRender:i=[],textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeight:d,onFnIcon:u,icon:g=t.jsx(yr,{}),widthState:p,onEditSubData:m,onFnIconSubData:x,subMessage:v,onClickOptions:h,onClickSubOptions:j,fontSizeTHead:M,fontSizeTBody:D,widthOptions:S,fontSizeOptions:k,nameOfKeyState:w="Estado",texAlignTHead:O="start",textAlignTBody:H="start",fontSizeState:G,fontStyleTBody:V="normal",fontStyleTHead:f="normal"})=>{const[L,F]=C.useState({}),Z=$=>{F(R=>({...R,[$]:!R[$]}))},Q=$=>{r($)},K=$=>{m($)},te=e.length>0?Object.keys(e[0]).filter($=>$!=="subData"&&!i.includes($)):[],U=$=>$!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{}),te.map(($,R)=>t.jsx("th",{style:{fontSize:M,textAlign:O,fontStyle:f},children:$.replace(/_/g," ")},R)),te.length>0?t.jsx("th",{style:{fontSize:M,textAlign:O,fontStyle:f},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:te.length+1,style:{fontSize:c,textAlign:"center",fontStyle:V},children:a})}),e==null?void 0:e.map($=>{var R;return t.jsxs(C.Fragment,{children:[t.jsxs("tr",{className:"main-row",children:[t.jsx("td",{children:t.jsx("button",{onClick:()=>Z($.id),className:"reset-styles-button",style:{width:"100%"},children:t.jsx("i",{className:`arrow-grey-container ${L[$.id]?"up":"down"}`})})}),te.map((y,E)=>t.jsx("td",{style:{color:y!==w?U($.Estado):"black",padding:y===w?"0 9px":"10px",fontSize:D,textAlign:H,fontStyle:V},children:y===w?os($[y],p,G,H==="center"):$[y]||"-"},E)),((R=$==null?void 0:$.options)==null?void 0:R.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:y=>{h({option:y,row:$})},options:[...$.options],fontSize:k,width:S})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>Q($),style:{fontSize:D,fontStyle:V},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>u($),children:g})]})})]}),L[$.id]&&t.jsx("tr",{className:"sub-row",style:{fontStyle:"italic"},children:Array.from({length:te.length+2},(y,E)=>t.jsx("td",{className:"td-empty",style:{fontWeight:"600"},children:E===1?`${v}`:""},E))}),L[$.id]&&$.subData.length>0&&$.subData.map((y,E)=>{var P;return t.jsxs("tr",{className:"sub-row",children:[t.jsx("td",{})," ",te.map((N,A)=>t.jsx("td",{style:{color:N!==w?U(y.Estado):"black",padding:N===w?"0 9px":"10px",fontSize:D,textAlign:H,fontStyle:V},children:N===w?os(y[N],p,G,H==="center"):y[N]||"-"},A)),((P=y==null?void 0:y.options)==null?void 0:P.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:N=>{j({option:N,row:y})},options:[...y.options],fontSize:k,width:S})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>K(y),style:{fontSize:D,fontStyle:V},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>x(y),children:g})]})})]},E)})]},$.id)})]})]})};Sl.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeight:n.string,icon:n.node,onFnIcon:n.func,widthState:n.string,onEditSubData:n.func,onFnIconSubData:n.func,subMessage:n.string,onClickOptions:n.func,onClickSubOptions:n.func,fontSizeTHead:n.string,fontSizeTBody:n.string,fontSizeOptions:n.string,texAlignTHead:n.string,widthOptions:n.string,nameOfKeyState:n.string,textAlignTBody:n.string,fontSizeState:n.string,fontStyleTBody:n.string,fontStyleTHead:n.string};const Tl=({data:e,dataKeysNotToRender:r,title:s,minWidth:i,texAlignTHead:o="start",textAlignTBody:l="start",fontSizeTHead:a,fontSizeTBody:c,fontSizeTitle:d})=>{const u=e.length>0?Object.keys(e[0]).filter(g=>!r.includes(g)):[];return t.jsxs("div",{className:"log-container",style:{minWidth:i},children:[t.jsx("h1",{className:"log-title",style:{fontSize:d},children:s}),t.jsxs("table",{className:"log-table",children:[t.jsx("thead",{children:t.jsx("tr",{children:u.map((g,p)=>t.jsx("th",{style:{textAlign:o,fontSize:a},children:t.jsx("p",{children:g})},p))})}),t.jsx("tbody",{children:e.map((g,p)=>t.jsx("tr",{style:{textAlign:l,fontSize:c},children:u.map((m,x)=>t.jsx("td",{children:t.jsx("p",{children:g[m]})},x))},p))})]})]})};Tl.propTypes={title:n.string,data:n.array,dataKeysNotToRender:n.array,minWidth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,fontSizeTitle:n.string};const Ml=({data:e,minWidth:r,dataKeysNotToRender:s,topToolTip:i,toolTips:o,fontSizeToolTip:l,messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:u="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:m,heightTd:x="30px",isWrap:v=!1,width:h="100%"})=>{const[j,M]=C.useState(null),D=w=>{M(w)},S=()=>{M(null)},k=e.length>0?Object.keys(e[0]).filter(w=>!s.includes(w)):[];return t.jsxs("table",{className:"table-ixc",style:{minWidth:r,minHeight:d,width:h},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[k.map((w,O)=>t.jsxs("th",{className:"relative",onMouseEnter:()=>D(w),onMouseLeave:S,style:{height:x},children:[t.jsx("p",{style:{textAlign:u,fontSize:p,whiteSpace:v?"wrap":"nowrap",textOverflow:v?"clip":"ellipsis",overflow:v?"auto":"hidden"},children:w}),o&&o[w]&&j===w&&t.jsx("div",{className:"tooltipTable",style:{top:i},children:t.jsx(zr,{fontSize:l,children:o[w]})})]},O)),k.length===0&&t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:k.length+1,style:{fontSize:c,textAlign:"center",whiteSpace:v?"wrap":"nowrap",textOverflow:v?"clip":"ellipsis",overflow:v?"auto":"hidden"},children:a})}),e.map((w,O)=>t.jsx("tr",{children:k.map((H,G)=>t.jsx("td",{style:{textAlign:g,fontSize:m,whiteSpace:v?"wrap":"nowrap",textOverflow:v?"clip":"ellipsis",overflow:v?"auto":"hidden",height:x},children:w[H]},G))},(w==null?void 0:w.id)||O))]})]})};Ml.propTypes={minWidth:n.string,toolTips:n.object,topToolTip:n.string,data:n.arrayOf(n.object),dataKeysNotToRender:n.arrayOf(n.string),fontSizeToolTip:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,heightTd:n.string,isWrap:n.bool,width:n.string};const zl=({data:e,onEdit:r,width:s,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,icon:u,onFnIcon:g,onClickOptions:p,widthOptions:m,fontSizeOptions:x,texAlignTHead:v="start",textAlignTBody:h="start",fontSizeTHead:j,fontSizeTBody:M})=>{const D=k=>{r(k)},S=e.length>0?Object.keys(e[0]).filter(k=>k!=="options"&&!i.includes(k)):[];return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[S.map((k,w)=>t.jsx("th",{style:{textAlign:v,fontSize:j},children:k},w)),S.length>0?t.jsx("th",{style:{textAlign:v,fontSize:j},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:S.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((k,w)=>{var O;return t.jsxs("tr",{children:[S.map((H,G)=>t.jsx("td",{style:{textAlign:h,fontSize:M},children:k[H]},G)),((O=k==null?void 0:k.options)==null?void 0:O.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:H=>{p({option:H,row:k})},options:[...k.options],fontSize:x,width:m})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>D(k),style:{fontSize:M,textAlign:h},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>g(k),style:{textAlign:o?h:"center"},children:u})]})})]},(k==null?void 0:k.id)||w)})]})]})};zl.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),language:n.oneOf(["en","es"]),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,icon:n.node,onFnIcon:n.func,onClickOptions:n.func,widthOptions:n.string,fontSizeOptions:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string};const El=({data:e,onEdit:r,width:s,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:u="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:m,heightTd:x="30px"})=>{const v=j=>{r(j)},h=e.length>0?Object.keys(e[0]).filter(j=>!i.includes(j)):[];return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[h.map((j,M)=>t.jsx("th",{style:{textAlign:u,fontSize:p},children:j},M)),h.length>0?t.jsx("th",{style:{textAlign:u,fontSize:p},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:h.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((j,M)=>t.jsxs("tr",{children:[h.map((D,S)=>t.jsx("td",{style:{textAlign:g,fontSize:m},children:j[D]},S)),t.jsx("td",{children:t.jsx("button",{className:"edit-button",onClick:()=>v(j),style:{fontSize:m,textAlign:g,height:x},children:o})})]},(j==null?void 0:j.id)||M))]})]})};El.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),language:n.oneOf(["en","es"]),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,heightTd:n.string};const Nl=({data:e,children:r,width:s,dataKeysNotToRender:i=[],textHeader:o="Acciones",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeigth:c,texAlignTHead:d="start",textAlignTBody:u="start",fontSizeTHead:g,fontSizeTBody:p,heightTd:m="30px"})=>{const x=e.length>0?Object.keys(e[0]).filter(h=>!i.includes(h)):[],v=h=>{if(!r)return null;const j=M=>{if(!M.props.onClick)return M;const D=M.props.onClick,S=k=>{k.rowData=h,D(k)};return C.cloneElement(M,{...M.props,onClick:S})};return Array.isArray(r)?r.map((M,D)=>j(C.cloneElement(M,{key:D,rowData:h,...M.props}))):j(C.cloneElement(r,{rowData:h}))};return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:c},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[x.map((h,j)=>t.jsx("th",{style:{textAlign:d,fontSize:g},children:h},j)),x.length>0?t.jsx("th",{style:{textAlign:d,fontSize:g},children:o}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:x.length+1,style:{fontSize:a,textAlign:"center"},children:l})}),e.map((h,j)=>t.jsxs("tr",{children:[x.map((M,D)=>t.jsx("td",{style:{textAlign:u,fontSize:p},children:h[M]},D)),t.jsx("td",{children:t.jsx("div",{className:"action-icon",style:{height:m,display:"flex",alignItems:"center",gap:"10px"},children:v(h)})})]},(h==null?void 0:h.id)||j))]})]})};Nl.propTypes={data:n.arrayOf(n.object),children:n.oneOfType([n.element,n.arrayOf(n.element)]),width:n.string,dataKeysNotToRender:n.arrayOf(n.string),textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeigth:n.string,texAlignTHead:n.string,textAlignTBody:n.string,fontSizeTHead:n.string,fontSizeTBody:n.string,heightTd:n.string};const Dl=({data:e,onEdit:r,width:s,textButton:i="Editar",textHeader:o="Acción",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeight:c,onFnIcon:d,icon:u=t.jsx(yr,{}),widthState:g,onClickOptions:p,fontSizeTHead:m,fontSizeTBody:x,widthOptions:v,fontSizeOptions:h,dataKeysNotToRender:j=[],nameOfKeyState:M="Estado",texAlignTHead:D="start",textAlignTBody:S="start",fontSizeState:k,heightStates:w="18px",heightTd:O="30px",fontStyleTBody:H="normal",fontStyleTHead:G="normal"})=>{const V=F=>{r(F)},f=(e==null?void 0:e.length)>0?Object.keys(e[0]).filter(F=>F!=="options"&&!j.includes(F)):[],L=F=>F!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:s,minHeight:c,fontStyle:H},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[f.map((F,Z)=>t.jsx("th",{style:{fontSize:m,textAlign:D,fontStyle:G},children:F},Z)),f.length>0?t.jsx("th",{style:{fontSize:m,textAlign:D,fontStyle:G},children:o}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:f.length+1,style:{fontSize:a,textAlign:"center",fontStyle:H},children:l})}),e.map((F,Z)=>{var Q;return t.jsxs("tr",{children:[f.map((K,te)=>t.jsx("td",{style:{fontSize:x,textAlign:S,color:K!==M?L(F.Estado):"black",height:O,fontStyle:H},children:K===M?os(F[K],g,k,S==="center",w):F[K]},te)),((Q=F==null?void 0:F.options)==null?void 0:Q.length)>0?t.jsx("td",{style:{overflow:"visible",height:O,fontStyle:H},children:t.jsx(Dt,{onClick:K=>{p({option:K,row:F})},options:[...F.options],fontSize:h,width:v})}):t.jsx("td",{style:{height:O,fontStyle:H},children:t.jsxs("div",{className:"action-icon",children:[i&&t.jsx("button",{className:"edit-button",onClick:()=>V(F),style:{fontSize:x,textAlign:S,fontStyle:H},children:i}),t.jsx("button",{className:"edit-icon",onClick:()=>d(F),children:u})]})})]},(F==null?void 0:F.id)||Z)})]})]})};Dl.propTypes={data:n.arrayOf(n.object),onEdit:n.func,width:n.string,dataKeysNotToRender:n.arrayOf(n.string),textButton:n.string,textHeader:n.string,messageWhenEmpty:n.string,fontSizeMessageEmpty:n.string,minHeight:n.string,icon:n.node,onFnIcon:n.func,widthState:n.string,onClickOptions:n.func,fontSizeTHead:n.string,fontSizeTBody:n.string,fontSizeOptions:n.string,texAlignTHead:n.string,widthOptions:n.string,nameOfKeyState:n.string,textAlignTBody:n.string,fontSizeState:n.string,heightStates:n.string,heightTd:n.string,fontStyleTBody:n.string,fontStyleTHead:n.string};const Al=({isOpen:e,ticketNumber:r="##000",date:s=new Date,setIsOpen:i,isReadOnly:o=!1,fontSize:l="1vw",fontSizeButton:a="0.8vw",fontSizeTicketNumber:c="1.3vw",width:d="40vw"})=>{if(!e)return null;const u=()=>i(!1),g=()=>{u()};return t.jsx("div",{className:"ticket-component-v2",style:{width:d},children:t.jsxs("div",{className:"main-content",children:[o&&t.jsxs("div",{className:"alert",children:[t.jsx(Ut,{width:30}),t.jsx("p",{style:{fontSize:l},children:"Estás usando un usuario de prueba. No se va a generar ningún Ticket"})]}),t.jsx("h2",{className:"title",children:"Se ha cargado su solicitud correctamente"}),t.jsxs("div",{className:"content-ticket",children:[t.jsx(Tn,{width:"35%"}),t.jsxs("div",{className:"content",children:[t.jsx("p",{style:{fontSize:l},children:"Se ha creado una nueva solicitud"}),t.jsxs("div",{children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Número de ticket"}),t.jsx("p",{className:"ticketNumber",style:{fontSize:c},children:r})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:vl(s)})]})]})]}),t.jsxs("div",{className:"buttonContainer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>u(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ue,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})})};Al.propTypes={isOpen:n.bool,width:n.string,onClose:n.func,setIsOpen:n.func,isReadOnly:n.bool,fontSize:n.string,ticketNumber:n.string,date:n.instanceOf(Date),fontSizeButton:n.string,fontSizeTicketNumber:n.string};const Ol=({menus:e,size:r,onclick:s,height:i,fontSize:o})=>{var p;const l=e||[],[a,c]=C.useState(((p=l[0])==null?void 0:p.id)||""),[d,u]=C.useState(100/l.length),g=m=>{c(m.id),s(m)};return C.useEffect(()=>{const m=()=>{const x=100/l.length;u(x)};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[l.length]),t.jsx("nav",{className:"dynamic-menu",style:{width:r,height:i},children:t.jsx("ul",{children:l.map(m=>t.jsx("li",{className:a===m.id?"selected":"",style:{width:`${d}%`},onClick:()=>g(m),children:t.jsx("button",{style:{fontSize:o},children:m.label})},m.id))})})};Ol.propTypes={menus:n.array,size:n.string,onclick:n.func,height:n.string,fontSize:n.string};const Il=({children:e,onChange:r,tabs:s,value:i,minHeight:o,width:l})=>{const[a,c]=C.useState(i),d=u=>{c(u),r(u)};return t.jsxs("div",{className:"tabs-container",style:{width:l},children:[t.jsx("div",{className:"tabs-wrapper",children:s.map(u=>t.jsxs("button",{onClick:()=>d(u.id),className:`tab-button ${a===u.id?"active":""}`,children:[t.jsx("span",{className:"tab-title",children:u.title}),t.jsx("span",{className:"tab-subtitle",children:u.subtitle})]},u.id))}),t.jsx("div",{style:{minHeight:o},children:e})]})};Il.propTypes={children:n.node,onChange:n.func,tabs:n.arrayOf(n.shape({id:n.string,title:n.string,subtitle:n.any})),value:n.string,minHeight:n.string,width:n.string};const Rl=({tabs:e,width:r,onChange:s,disabled:i,defaultValue:o})=>{var d;const[l,a]=C.useState(o||((d=e[0])==null?void 0:d.key)||"");C.useEffect(()=>{o&&a(o)},[o]);const c=u=>{a(u),s(u)};return t.jsx("div",{className:"DeliveryTabs-tabs-container",style:{width:r},children:t.jsx("div",{className:"tabs-wrapper",style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((u,g)=>t.jsx("button",{disabled:i,className:`tab ${l===u.key?"active":""} ${g===0?"first-tab":""} ${g===e.length-1?"last-tab":""}`,onClick:()=>c(u.key),role:"tab","aria-selected":l===u.key,children:u.label},u.key))})})};Rl.propTypes={tabs:n.arrayOf(n.shape({key:n.string,label:n.string})),width:n.string,onChange:n.func,disabled:n.bool,defaultValue:n.string};const Pl=({tabs:e,width:r,onChange:s})=>{const[i,o]=C.useState(e[0].id),l=a=>{o(a),s(a)};return t.jsx("div",{className:"tabs-simple-container",style:{width:r},children:t.jsx("div",{className:"tabs-simple-header",children:e.map(a=>t.jsx("button",{className:`tabs-simple-button ${i===a.id?"tabs-simple-button-active":""}`,onClick:()=>l(a.id),children:a.label},a.id))})})};Pl.propTypes={tabs:n.array,width:n.string,onChange:n.func};const Wl=({titles:e=["1. Cargar Datos de Cancelación","2. Validar los Datos Cargados","3. Aceptar o Rechazar"],currentStep:r=1,fontSizeTitles:s,widthIcon:i,heightIcon:o,width:l})=>{const a=[Pi,Ri,Wi],c=e.map((d,u)=>({number:u+1,title:d,icon:a[u]}));return t.jsxs("div",{className:"stepper",style:{width:l},children:[t.jsx("div",{className:"stepper-progress",children:t.jsx("div",{className:"stepper-progress-bar",style:{width:r===1?"0%":r===2?"52%":"100%"}})}),t.jsx("div",{className:"stepper-steps",children:c.map(d=>{const u=d.icon,g=r>=d.number;return t.jsxs("div",{className:`stepper-step ${g?"active":""}`,style:{height:o},children:[t.jsx("span",{className:"stepper-title",style:{fontSize:s},children:d.title},d.number),t.jsx("div",{className:"stepper-icon",style:{width:i,height:o},children:t.jsx(u,{})})]},d.number)})})]})};Wl.propTypes={titles:n.arrayOf(n.string),currentStep:n.number,fontSizeTitles:n.string,widthIcon:n.string,heightIcon:n.string,width:n.string};const $l=({width:e,menu:r,submenu:s,tab:i,navigateFn:o,fontSize:l,Icon:a,marginTop:c})=>{const d=()=>{o({submenu:s,tab:i})};return t.jsxs("div",{className:"flex gap w-full",style:{width:e},children:[t.jsxs("ul",{className:"flex gap items-center ulBreadcrumbs",children:[t.jsx("li",{className:"list-none flex",style:{marginTop:c??"4px"},children:a||t.jsx(fr,{width:25,height:25})}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:r}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(pr,{})})]}),t.jsxs("ul",{className:"flex gap items-center pointer ulBreadcrumbs",children:[t.jsx("li",{className:`list-none ${i?"border-bottom":"color-tab"}`,onClick:d,style:{fontSize:l},children:s}),i&&t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(pr,{})}),i&&t.jsx("li",{className:"list-none color-tab",style:{fontSize:l},children:i})]})]})};$l.propTypes={width:n.string,menu:n.string,submenu:n.string,tab:n.string,navigateFn:n.func,fontSize:n.string,Icon:n.element,marginTop:n.string};const _l=({steps:e=[],currentStep:r=1,width:s="600px"})=>{const i=()=>e.length<=1?0:r/e.length*100;return t.jsxs("div",{className:"stepper-container",style:{width:s},children:[t.jsx("div",{className:"stepper-line",style:{"--progress-width":`${i()}%`}}),t.jsx("div",{className:"stepper-steps",children:e.map((o,l)=>{const a=l+1,c=a<r,d=a===r;return t.jsxs("div",{className:"step-wrapper",children:[t.jsx("div",{className:`step-circle ${c?"completed":d?"current":"inactive"}`,children:c?t.jsx("svg",{className:"checkmark",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:t.jsx("polyline",{points:"20,6 9,17 4,12"})}):t.jsx("span",{className:"step-number",children:a})}),t.jsx("div",{className:"step-label",children:o.title})]},l)})})]})};_l.propTypes={steps:n.array,currentStep:n.number,width:n.string};const Bl=({icon:e,title:r,className:s="",children:i})=>t.jsxs("div",{className:`data-section ${s}`,children:[t.jsxs("div",{className:"data-section-header",children:[e&&t.jsx(e,{className:"data-section-icon"}),t.jsx("h3",{className:"data-section-title",children:r})]}),t.jsx("div",{className:"data-section-content",children:Array.isArray(i)?i.map((o,l)=>t.jsx("div",{className:"data-section-item",children:o},l)):t.jsx("div",{className:"data-section-item",children:i})})]});Bl.propTypes={icon:n.elementType,title:n.string,className:n.string,children:n.oneOfType([n.node,n.arrayOf(n.node)])};const Ll=({title:e,icon:r,className:s="",classNameTextArea:i="",value:o="",onChange:l,placeholder:a="Modificación de la promoción por cambios de Stock.",disabled:c=!1})=>t.jsxs("div",{className:`observations ${s}`,children:[t.jsxs("div",{className:"observations-header",children:[r&&t.jsx(r,{className:"observations-icon"}),t.jsx("h3",{className:"observations-title",children:e})]}),t.jsx("div",{className:"observations-content",children:t.jsx("textarea",{className:`observations-textarea ${i}`,value:o,onChange:l,placeholder:a,rows:4,disabled:c})})]});Ll.propTypes={title:n.string,icon:n.elementType,className:n.string,classNameTextArea:n.string,value:n.string,onChange:n.func,placeholder:n.string,disabled:n.bool};const Fl=({children:e,className:r="",...s})=>t.jsx("th",{className:`th-table-ixc ${r}`.trim(),...s,children:e});Fl.propTypes={children:n.node,className:n.string};const dh=(e=[])=>{const r=C.useRef(null),[s,i]=C.useState(!1),o=C.useCallback(()=>{if(r.current){const l=r.current,a=l.scrollWidth>l.clientWidth;return i(a),a}return!1},[]);return C.useEffect(()=>{const a=setTimeout(()=>{o()},0);return window.addEventListener("resize",o),()=>{clearTimeout(a),window.removeEventListener("resize",o)}},e),{ref:r,isTruncated:s,checkTruncation:o}},Hl=({children:e,className:r="",classTooltip:s="",showTooltipOnTruncate:i=!1,left:o=120,top:l=0,...a})=>{const{ref:c,isTruncated:d}=dh([e]),[u,g]=C.useState(!1),[p,m]=C.useState({top:0,left:0}),x=h=>{if(d&&i){const j=h.currentTarget.getBoundingClientRect();m({top:j.top+l,left:j.left+o}),g(!0)}},v=h=>{const j=h.relatedTarget;j&&typeof j.closest=="function"&&j.closest(".td-tooltip-container")||g(!1)};return t.jsxs(t.Fragment,{children:[t.jsx("td",{ref:c,className:`td-table-ixc-base ${r}`.trim(),onMouseEnter:x,onMouseLeave:v,...a,children:e}),u&&la.createPortal(t.jsx("div",{className:`td-tooltip-container ${s}`.trim(),style:{top:`${p.top}px`,left:`${p.left}px`},onMouseEnter:()=>g(!0),onMouseLeave:h=>{var M;const j=h.relatedTarget;j&&typeof j.closest=="function"&&((M=c.current)!=null&&M.contains(j))||g(!1)},children:e}),document.body)]})};Hl.propTypes={children:n.node,className:n.string,classTooltip:n.string,showTooltipOnTruncate:n.bool,left:n.number,top:n.number};const Vl=({children:e,className:r="",...s})=>t.jsx("thead",{className:`thead-table-ixc ${r}`.trim(),...s,children:e});Vl.propTypes={children:n.node,className:n.string};const Zl=({children:e,className:r="",...s})=>t.jsx("tr",{className:`tr-table-ixc ${r}`.trim(),...s,children:e});Zl.propTypes={children:n.node,className:n.string};const Ul=({children:e,className:r="",...s})=>t.jsx("tbody",{className:`tbody-table-ixc-base ${r}`.trim(),...s,children:e});Ul.propTypes={children:n.node,className:n.string};const Yl=({children:e,className:r,...s})=>t.jsx("table",{className:`table-v2 ${r}`,...s,children:e});Yl.propTypes={children:n.node,className:n.string};const hh=Object.assign(Yl,{Th:Fl,Td:Hl,Thead:Vl,Tr:Zl,Tbody:Ul}),ql=({children:e,style:r})=>t.jsx("h3",{className:"blue-title",style:{...r},children:e});ql.propTypes={children:n.any,style:n.object};const Gl=({children:e,navigateTo:r,style:s})=>t.jsx("button",{onClick:()=>r(),style:{...s},className:"ions-link",children:e});Gl.propTypes={children:n.node,navigateTo:n.func,style:n.object};const Kl=({children:e,className:r=""})=>t.jsx("h2",{className:`simple-title ${r}`,children:e});Kl.propTypes={children:n.node,className:n.string};const Xl=({children:e,className:r=""})=>t.jsx("p",{className:`paragraph ${r}`,children:e});Xl.propTypes={children:n.node,className:n.string};const Jl=({children:e,className:r=""})=>t.jsx("div",{className:`template-container ${r}`,children:e});Jl.propTypes={children:n.node,className:n.string},n.checkPropTypes=()=>{},T.Active=Gr,T.BasicSelect=Qe,T.BlueTitle=ql,T.BoldIcon=ur,T.Breadcrumbs=$l,T.ButtonAddBoxRoundedIcon=Io,T.ButtonArrow=qr,T.ButtonCleanFilters=Wo,T.ButtonDarkBlue=Jt,T.ButtonDarkBlueRounded=Ur,T.ButtonDarkGreen=To,T.ButtonDownloadFile=Mo,T.ButtonDownloadTemplate=Ao,T.ButtonEye=$o,T.ButtonLetters=So,T.ButtonMinus=Eo,T.ButtonPlus=zo,T.ButtonReset=Co,T.ButtonSearch=vo,T.ButtonSoftPastelBlue=No,T.ButtonSoftPastelBlueRounded=Ro,T.ButtonUploadTemplate=Do,T.ButtonVibrantBlue=Ue,T.ButtonVibrantBlueSend=Bo,T.ButtonVibrantBlueUpload=Oo,T.ButtonWhiteBorderBlue=Nt,T.ButtonWhiteBorderBlueDownloadTemplate=Yr,T.ButtonWhiteBorderBlueSendEmail=_o,T.ButtonWhiteBorderOrange=Dn,T.Canceled=Xr,T.CanceledIcon=Di,T.CheckBox=Dr,T.CheckIcon=Wi,T.CheckTicketIcon=Tn,T.Chip=Fo,T.ChipSection=Ho,T.ChipWithIcon=Vo,T.CleanFiltersIcon=kr,T.ClearFilterIcon=Cn,T.ClosedEye=br,T.Completed=Jr,T.CompletedIcon=Hi,T.CountCard=sl,T.CustomArrowIcon=S1,T.DataEnteredIcon=_i,T.DataMasterArrow=mr,T.DataMasterCountryConfiguration=T1,T.DataSection=Bl,T.DateIcon=wi,T.DateRangePicker=al,T.DateRangePickerBasicSelect=yl,T.DeliveryTabs=Rl,T.DesSelectAllIcon=ji,T.DownloadTemplateIcon=xr,T.DropFile=ko,T.EditIcon=yr,T.EllipseBase=zn,T.EllipseBlueIcon=zi,T.EllipseDarkGreenIcon=Ti,T.EllipseGreenIcon=Mn,T.EllipseGreyIcon=Mi,T.EraserIcon=fr,T.ExcelIcon=gr,T.ExcelSvgIcon=Pi,T.ExpandableTable=Sl,T.EyeButton=Po,T.FileCard=Ko,T.FileCardMinimized=Xo,T.FilePreview=Uo,T.FilterComponent=pl,T.FilterIcon=Ai,T.FolderCard=Jo,T.FolderCardMinimized=Qo,T.GreyContainer=qo,T.GreyContainerDropdown=Go,T.GreyInput=Ji,T.GreySelect=E0,T.GreyTextArea=go,T.HeaderItemsComponent=Ol,T.InProcessIcon=z1,T.InProcessingIcon=Fi,T.InTransit=Qr,T.InTransitIcon=En,T.Inactive=Kr,T.InfoActionCard=fl,T.InfoActionCardDownloadTemplate=gl,T.InputRadio=Lr,T.InputSearch=Xt,T.InputUpload=po,T.InputWithButtonSearch=bo,T.InputWithLabel=xo,T.ItalicIcon=hr,T.KeyboardArrowDownOutlinedIconColorCustom=vi,T.LastUpdate=Zo,T.Link=Gl,T.Loader=Gi,T.LogTable=Tl,T.MarksIcon=dr,T.MenuIconOption=Oi,T.MenuOptions=Dt,T.MinusIcon=Ni,T.ModalListAplications=xl,T.MultiSelect=uo,T.NumberSpinner=_0,T.NumberSpinnerByRange=jo,T.ObservationIcon=Bi,T.Observations=Ll,T.OpenEye=vr,T.Pagination=il,T.Paragraph=Xl,T.PlusIcon=Ei,T.ProcessFilter=ml,T.ProductRecallIcon=M1,T.RightArrowIcon=pr,T.RoundedInput=mo,T.SelectAll=Vr,T.SelectAllIcon=bi,T.SelectRadio=fo,T.SelectWithTitle=wo,T.SimpleTap=Pl,T.SimpleTitle=Kl,T.SingleDatePicker=ul,T.State=rl,T.StateBasic=Lo,T.StatsIcon=Ii,T.Stepper=Wl,T.StepsComponent=_l,T.Switch=Ki,T.Table=Ml,T.TableActionIcon=zl,T.TableComponent=hh,T.TableEdit=El,T.TableMultipleIcon=Nl,T.TableStates=Dl,T.TabsNavigation=Il,T.TemplateTicketConfirm=Jl,T.TextArea=Xi,T.TicketComponentV2=Al,T.TicketModal=bl,T.TimeComponent=yo,T.TimeIcon=ki,T.TitleWithTooltip=Yt,T.ToStartProcessingIcon=Li,T.ToggleChip=es,T.TooltipTable=Yi,T.TooltipsWhite=zr,T.TrashIcon=wr,T.TriangleIconForNumberSpinnerByRange=$i,T.UpLoadSvgIcon=kn,T.UpdateBanner=Zn,T.UploadFileIcon=Sn,T.UserReadOnlyIcon=Ut,T.VisualizationModaLogin=jl,T.WaringBanner=p1,T.WarningIcon=jr,T.WarningModal=wl,T.WindowCheck=Ri,T.XIcon=Si,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|