ixc-library-portal 1.1.42 → 1.1.43
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 +2357 -2241
- package/dist/ixc-library.umd.js +25 -25
- package/package.json +1 -1
package/dist/ixc-library.umd.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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{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}.tooltip{position:absolute;width:auto;height:auto;display:flex;align-items:center;justify-content:center;background:#fff;left:25px;border:1px solid #707070;padding:5px;border-radius:10px;color:#707070;font-weight:400;font-size:.8vw;top:2px;z-index:1000}.container-label{display:flex;align-items:center;gap:5px}.top-y-1{margin:1vw 0}.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}.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}.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}.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}.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}.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}.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}:root{--bs-primary-color: #1870c6;--bs-text-color: #2F3131;--bs-border-color: #D0D0CE;--bs-hover-bg: #f4f4f4;--bs-error-color: #d32f2f;--bs-disabled-color: #9e9e9e;--bs-disabled-border: #bdbdbd;--bs-search-bg: #dde3f1;--bs-border-radius: 4px;--bs-dropdown-shadow: 0 2px 5px rgba(0, 0, 0, .1);--bs-font-size: 14px;--bs-option-padding: 15px;--bs-focus-color: #1870c6;--bs-selected-bg: #e3f2fd;--bs-box-shadow: 0px 4px 6px rgba(0, 0, 0, .1);--bs-submenu-shadow: 0px 2px 8px rgba(0, 0, 0, .15)}.bs-dropdown{position:relative;max-width:100%;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.bs-dropdown-header{display:flex;justify-content:space-between;padding:0 16px;height:40px;background:#fff;border:1px solid var(--bs-border-color);border-radius:var(--bs-border-radius);cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none;outline:none;align-items:center}.bs-dropdown-header:hover:not(.bs-disabled .bs-dropdown-header){border-color:var(--bs-primary-color)}.bs-dropdown-header:focus{border-color:var(--bs-primary-color)}.bs-dropdown.bs-focused .bs-dropdown-header{border-color:var(--bs-focus-color)}.bs-dropdown.bs-open .bs-dropdown-header{border-color:var(--bs-primary-color)}.bs-dropdown.bs-error .bs-dropdown-header{border-color:var(--bs-error-color)}.bs-dropdown.bs-disabled .bs-dropdown-header{background-color:#f5f5f5;border-color:var(--bs-disabled-border);color:var(--bs-disabled-color);cursor:not-allowed;opacity:.6}.bs-dropdown-value{flex:1;font-size:var(--bs-font-size);color:var(--bs-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bs-dropdown.bs-disabled .bs-dropdown-value{color:var(--bs-disabled-color)}.bs-arrow{border:solid #33a4dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease;margin-left:8px}.bs-arrow-down{transform:rotate(45deg)}.bs-arrow-up{transform:rotate(-135deg)}.bs-dropdown.bs-disabled .bs-arrow,.bs-dropdown.bs-disabled .bs-arrow-down,.bs-dropdown.bs-disabled .bs-arrow-up{border-color:var(--bs-disabled-color)}.bs-icon{transition:transform .3s ease;margin-left:8px}.bs-icon-up{transform:rotate(180deg)}.bs-dropdown-options{position:absolute;top:calc(100% + 0px);left:0;right:0;background:#fff;border:1px solid #707070;border-radius:var(--bs-border-radius);box-shadow:var(--bs-dropdown-shadow);z-index:1000;max-height:300px;overflow:hidden;display:flex;flex-direction:column;animation:bs-slideDown .2s ease}@keyframes bs-slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.bs-search-container{padding:8px;background:var(--bs-search-bg);border-bottom:1px solid #707070;position:sticky;top:0;z-index:1}.bs-search-input{width:100%;padding:6px 10px;font-size:var(--bs-font-size);border:1px solid var(--bs-border-color);border-radius:var(--bs-border-radius);background:#fff;outline:none;font-style:italic}.bs-search-input:focus{border-color:var(--bs-primary-color);box-shadow:0 0 0 2px #1870c633}.bs-search-input::placeholder{color:#d0d0ce;font-weight:300}.bs-options-list{flex:1;overflow-y:auto;list-style:none;padding:0;margin:0;max-height:inherit}.bs-option{padding:var(--bs-option-padding);cursor:pointer;transition:background-color .15s ease;display:flex;justify-content:space-between;gap:4px;font-weight:400;position:relative}.bs-option:last-child{border-bottom:none}.bs-option:hover{background-color:var(--bs-hover-bg)}.bs-option.bs-selected{background-color:#f4f4f4;color:var(--bs-primary-color);font-weight:500}.bs-option.bs-active{background-color:var(--bs-hover-bg)}.bs-option-label{flex:1;font-size:var(--bs-font-size);color:var(--bs-text-color);font-weight:inherit}.bs-option-description{font-size:calc(var(--bs-font-size) - 2px);color:#666;font-style:italic;margin-left:8px}.bs-option-arrow{color:#999;font-size:12px;margin-left:8px;transition:color .15s ease;display:flex;align-items:center;justify-content:center;width:8%;height:20px;transition:background-color .15s ease;border-radius:50%}.bs-option-arrow:hover{background-color:#d9d9d9;transition:background-color .15s ease}.bs-option:hover .bs-option-arrow,.bs-option.bs-active .bs-option-arrow{color:var(--bs-primary-color)}.bs-submenu{background-color:#fff;border:1px solid #707070;border-radius:var(--bs-border-radius);box-shadow:var(--bs-dropdown-shadow);width:auto;animation:bs-slideDown .2s ease}.bs-submenu .bs-options-list{border-radius:var(--bs-border-radius);overflow:hidden}.bs-submenu .bs-option{padding:8px 12px}.bs-no-options{padding:20px;text-align:center;color:#8598ad;font-size:var(--bs-font-size);font-style:italic}.item-group:last-child{margin-bottom:0}.bs-options-list::-webkit-scrollbar{width:8px}.bs-options-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.bs-options-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.bs-options-list::-webkit-scrollbar-thumb:hover{background:#555}.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}*{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}.react-switch-checkbox:disabled+.react-switch-label{cursor:not-allowed;opacity:.5}.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}.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-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}.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}.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}.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}.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%}.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%}*{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}.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}.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}.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(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
(function(N,v){typeof exports=="object"&&typeof module<"u"?v(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"],v):(N=typeof globalThis<"u"?globalThis:N||self,v(N.IxcLibrary={},N.React,N.styled,N.EmotionStyled,N.EmotionReact,N.MaterialUI,N._,N.ReactDOM))})(this,function(N,v,ye,aa,Pn,Le,pe,ca){"use strict";var Iu=Object.defineProperty;var Ru=(N,v,ye)=>v in N?Iu(N,v,{enumerable:!0,configurable:!0,writable:!0,value:ye}):N[v]=ye;var Xt=(N,v,ye)=>Ru(N,typeof v!="symbol"?v+"":v,ye);function da(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(s,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return s.default=e,Object.freeze(s)}const
|
|
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{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}.tooltip{position:absolute;width:auto;height:auto;display:flex;align-items:center;justify-content:center;background:#fff;left:25px;border:1px solid #707070;padding:5px;border-radius:10px;color:#707070;font-weight:400;font-size:.8vw;top:2px;z-index:1000}.container-label{display:flex;align-items:center;gap:5px}.top-y-1{margin:1vw 0}.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}.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}.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}.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}.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}.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}.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}:root{--bs-primary-color: #1870c6;--bs-text-color: #2F3131;--bs-border-color: #D0D0CE;--bs-hover-bg: #f4f4f4;--bs-error-color: #d32f2f;--bs-disabled-color: #9e9e9e;--bs-disabled-border: #bdbdbd;--bs-search-bg: #dde3f1;--bs-border-radius: 4px;--bs-dropdown-shadow: 0 2px 5px rgba(0, 0, 0, .1);--bs-font-size: 14px;--bs-option-padding: 15px;--bs-focus-color: #1870c6;--bs-selected-bg: #e3f2fd;--bs-box-shadow: 0px 4px 6px rgba(0, 0, 0, .1);--bs-submenu-shadow: 0px 2px 8px rgba(0, 0, 0, .15)}.bs-dropdown{position:relative;max-width:100%;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.bs-dropdown-header{display:flex;justify-content:space-between;padding:0 16px;height:40px;background:#fff;border:1px solid var(--bs-border-color);border-radius:var(--bs-border-radius);cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none;outline:none;align-items:center}.bs-dropdown-header:hover:not(.bs-disabled .bs-dropdown-header){border-color:var(--bs-primary-color)}.bs-dropdown-header:focus{border-color:var(--bs-primary-color)}.bs-dropdown.bs-focused .bs-dropdown-header{border-color:var(--bs-focus-color)}.bs-dropdown.bs-open .bs-dropdown-header{border-color:var(--bs-primary-color)}.bs-dropdown.bs-error .bs-dropdown-header{border-color:var(--bs-error-color)}.bs-dropdown.bs-disabled .bs-dropdown-header{background-color:#f5f5f5;border-color:var(--bs-disabled-border);color:var(--bs-disabled-color);cursor:not-allowed;opacity:.6}.bs-dropdown-value{flex:1;font-size:var(--bs-font-size);color:var(--bs-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bs-dropdown.bs-disabled .bs-dropdown-value{color:var(--bs-disabled-color)}.bs-arrow{border:solid #33a4dd;border-width:0 2px 2px 0;display:inline-block;padding:3px;transition:transform .3s ease;margin-left:8px}.bs-arrow-down{transform:rotate(45deg)}.bs-arrow-up{transform:rotate(-135deg)}.bs-dropdown.bs-disabled .bs-arrow,.bs-dropdown.bs-disabled .bs-arrow-down,.bs-dropdown.bs-disabled .bs-arrow-up{border-color:var(--bs-disabled-color)}.bs-icon{transition:transform .3s ease;margin-left:8px}.bs-icon-up{transform:rotate(180deg)}.bs-dropdown-options{position:absolute;top:calc(100% + 0px);left:0;right:0;background:#fff;border:1px solid #707070;border-radius:var(--bs-border-radius);box-shadow:var(--bs-dropdown-shadow);z-index:1000;max-height:300px;overflow:hidden;display:flex;flex-direction:column;animation:bs-slideDown .2s ease}@keyframes bs-slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.bs-search-container{padding:8px;background:var(--bs-search-bg);border-bottom:1px solid #707070;position:sticky;top:0;z-index:1}.bs-search-input{width:100%;padding:6px 10px;font-size:var(--bs-font-size);border:1px solid var(--bs-border-color);border-radius:var(--bs-border-radius);background:#fff;outline:none;font-style:italic}.bs-search-input:focus{border-color:var(--bs-primary-color);box-shadow:0 0 0 2px #1870c633}.bs-search-input::placeholder{color:#d0d0ce;font-weight:300}.bs-options-list{flex:1;overflow-y:auto;list-style:none;padding:0;margin:0;max-height:inherit}.bs-option{padding:var(--bs-option-padding);cursor:pointer;transition:background-color .15s ease;display:flex;justify-content:space-between;gap:4px;font-weight:400;position:relative}.bs-option:last-child{border-bottom:none}.bs-option:hover{background-color:var(--bs-hover-bg)}.bs-option.bs-selected{background-color:#f4f4f4;color:var(--bs-primary-color);font-weight:500}.bs-select-all{border-bottom:1px solid rgb(208,208,206)}.bs-select-all.bs-select-all-all,.bs-group-header.bs-select-all-all-header{background-color:#f4f4f4;font-weight:500}.bs-option.bs-active{background-color:var(--bs-hover-bg)}.bs-option-label{flex:1;font-size:var(--bs-font-size);color:var(--bs-text-color);font-weight:inherit}.bs-option-description{font-size:calc(var(--bs-font-size) - 2px);color:#666;font-style:italic;margin-left:8px}.bs-option-arrow{color:#999;font-size:12px;margin-left:8px;transition:color .15s ease;display:flex;align-items:center;justify-content:center;width:8%;height:20px;transition:background-color .15s ease;border-radius:50%}.bs-option-arrow:hover{background-color:#d9d9d9;transition:background-color .15s ease}.bs-option:hover .bs-option-arrow,.bs-option.bs-active .bs-option-arrow{color:var(--bs-primary-color)}.bs-submenu{background-color:#fff;border:1px solid #707070;border-radius:var(--bs-border-radius);box-shadow:var(--bs-dropdown-shadow);width:auto;animation:bs-slideDown .2s ease}.bs-submenu .bs-options-list{border-radius:var(--bs-border-radius);overflow:hidden}.bs-submenu .bs-option{padding:8px 12px}.bs-no-options{padding:20px;text-align:center;color:#8598ad;font-size:var(--bs-font-size);font-style:italic}.item-group:last-child{margin-bottom:0}.bs-options-list::-webkit-scrollbar{width:8px}.bs-options-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.bs-options-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.bs-options-list::-webkit-scrollbar-thumb:hover{background:#555}.bs-group-title{margin:0;font-style:italic;font-weight:600;line-height:22px}.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}*{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}.react-switch-checkbox:disabled+.react-switch-label{cursor:not-allowed;opacity:.5}.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}.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-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}.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}.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}.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}.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%}.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%}*{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}.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}.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}.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(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
(function(N,v){typeof exports=="object"&&typeof module<"u"?v(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"],v):(N=typeof globalThis<"u"?globalThis:N||self,v(N.IxcLibrary={},N.React,N.styled,N.EmotionStyled,N.EmotionReact,N.MaterialUI,N._,N.ReactDOM))})(this,function(N,v,ye,aa,Pn,Le,pe,ca){"use strict";var Iu=Object.defineProperty;var Ru=(N,v,ye)=>v in N?Iu(N,v,{enumerable:!0,configurable:!0,writable:!0,value:ye}):N[v]=ye;var Xt=(N,v,ye)=>Ru(N,typeof v!="symbol"?v+"":v,ye);function da(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(s,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return s.default=e,Object.freeze(s)}const re=da(v);function ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wn={exports:{}},Jt={exports:{}},xe={};/** @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 fr;function ha(){if(fr)return xe;fr=1;var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,r=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,h=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function
|
|
9
|
+
*/var fr;function ha(){if(fr)return xe;fr=1;var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,r=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,h=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function M(j){if(typeof j=="object"&&j!==null){var I=j.$$typeof;switch(I){case s:switch(j=j.type,j){case d:case h:case i:case l:case o:case p:return j;default:switch(j=j&&j.$$typeof,j){case c:case g:case b:case x:case a:return j;default:return I}}case r:return I}}}function S(j){return M(j)===h}return xe.AsyncMode=d,xe.ConcurrentMode=h,xe.ContextConsumer=c,xe.ContextProvider=a,xe.Element=s,xe.ForwardRef=g,xe.Fragment=i,xe.Lazy=b,xe.Memo=x,xe.Portal=r,xe.Profiler=l,xe.StrictMode=o,xe.Suspense=p,xe.isAsyncMode=function(j){return S(j)||M(j)===d},xe.isConcurrentMode=S,xe.isContextConsumer=function(j){return M(j)===c},xe.isContextProvider=function(j){return M(j)===a},xe.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===s},xe.isForwardRef=function(j){return M(j)===g},xe.isFragment=function(j){return M(j)===i},xe.isLazy=function(j){return M(j)===b},xe.isMemo=function(j){return M(j)===x},xe.isPortal=function(j){return M(j)===r},xe.isProfiler=function(j){return M(j)===l},xe.isStrictMode=function(j){return M(j)===o},xe.isSuspense=function(j){return M(j)===p},xe.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===i||j===h||j===l||j===o||j===p||j===y||typeof j=="object"&&j!==null&&(j.$$typeof===b||j.$$typeof===x||j.$$typeof===a||j.$$typeof===c||j.$$typeof===g||j.$$typeof===w||j.$$typeof===T||j.$$typeof===A||j.$$typeof===u)},xe.typeOf=M,xe}var be={};/** @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 pr;function fa(){return pr||(pr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,r=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,h=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function
|
|
16
|
+
*/var pr;function fa(){return pr||(pr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,r=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,h=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function M(J){return typeof J=="string"||typeof J=="function"||J===i||J===h||J===l||J===o||J===p||J===y||typeof J=="object"&&J!==null&&(J.$$typeof===b||J.$$typeof===x||J.$$typeof===a||J.$$typeof===c||J.$$typeof===g||J.$$typeof===w||J.$$typeof===T||J.$$typeof===A||J.$$typeof===u)}function S(J){if(typeof J=="object"&&J!==null){var he=J.$$typeof;switch(he){case s:var le=J.type;switch(le){case d:case h:case i:case l:case o:case p:return le;default:var fe=le&&le.$$typeof;switch(fe){case c:case g:case b:case x:case a:return fe;default:return he}}case r:return he}}}var j=d,I=h,U=c,$=a,q=s,f=g,L=i,_=b,F=x,Z=r,K=l,ee=o,G=p,O=!1;function k(J){return O||(O=!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.")),m(J)||S(J)===d}function m(J){return S(J)===h}function E(J){return S(J)===c}function R(J){return S(J)===a}function P(J){return typeof J=="object"&&J!==null&&J.$$typeof===s}function z(J){return S(J)===g}function D(J){return S(J)===i}function H(J){return S(J)===b}function W(J){return S(J)===x}function B(J){return S(J)===r}function Y(J){return S(J)===l}function Q(J){return S(J)===o}function se(J){return S(J)===p}be.AsyncMode=j,be.ConcurrentMode=I,be.ContextConsumer=U,be.ContextProvider=$,be.Element=q,be.ForwardRef=f,be.Fragment=L,be.Lazy=_,be.Memo=F,be.Portal=Z,be.Profiler=K,be.StrictMode=ee,be.Suspense=G,be.isAsyncMode=k,be.isConcurrentMode=m,be.isContextConsumer=E,be.isContextProvider=R,be.isElement=P,be.isForwardRef=z,be.isFragment=D,be.isLazy=H,be.isMemo=W,be.isPortal=B,be.isProfiler=Y,be.isStrictMode=Q,be.isSuspense=se,be.isValidElementType=M,be.typeOf=S}()),be}var gr;function mr(){return gr||(gr=1,process.env.NODE_ENV==="production"?Jt.exports=ha():Jt.exports=fa()),Jt.exports}/*
|
|
17
17
|
object-assign
|
|
18
18
|
(c) Sindre Sorhus
|
|
19
19
|
@license MIT
|
|
20
|
-
*/var $n,yr;function pa(){if(yr)return $n;yr=1;var e=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,r=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 h={};return"abcdefghijklmnopqrst".split("").forEach(function(g){h[g]=g}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $n=o()?Object.assign:function(l,a){for(var c,d=i(l),h,g=1;g<arguments.length;g++){c=Object(arguments[g]);for(var p in c)s.call(c,p)&&(d[p]=c[p]);if(e){h=e(c);for(var y=0;y<h.length;y++)r.call(c,h[y])&&(d[h[y]]=c[h[y]])}}return d},$n}var Bn,xr;function Fn(){if(xr)return Bn;xr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bn=e,Bn}var Ln,br;function vr(){return br||(br=1,Ln=Function.call.bind(Object.prototype.hasOwnProperty)),Ln}var _n,jr;function ga(){if(jr)return _n;jr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var s=Fn(),r={},i=vr();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,h){if(process.env.NODE_ENV!=="production"){for(var g in l)if(i(l,g)){var p;try{if(typeof l[g]!="function"){var y=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 y.name="Invariant Violation",y}p=l[g](a,g,d,c,null,s)}catch(b){p=b}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 r)){r[p.message]=!0;var x=h?h():"";e("Failed "+c+" type: "+p.message+(x??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},_n=o,_n}var Hn,wr;function ma(){if(wr)return Hn;wr=1;var e=mr(),s=pa(),r=Fn(),i=vr(),o=ga(),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 Hn=function(c,d){var h=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function p(m){var E=m&&(h&&m[h]||m[g]);if(typeof E=="function")return E}var y="<<anonymous>>",x={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:A(),arrayOf:
|
|
21
|
-
Valid keys: `+JSON.stringify(Object.keys(m),null," "));var
|
|
20
|
+
*/var $n,yr;function pa(){if(yr)return $n;yr=1;var e=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,r=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 h={};return"abcdefghijklmnopqrst".split("").forEach(function(g){h[g]=g}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $n=o()?Object.assign:function(l,a){for(var c,d=i(l),h,g=1;g<arguments.length;g++){c=Object(arguments[g]);for(var p in c)s.call(c,p)&&(d[p]=c[p]);if(e){h=e(c);for(var y=0;y<h.length;y++)r.call(c,h[y])&&(d[h[y]]=c[h[y]])}}return d},$n}var Bn,xr;function Fn(){if(xr)return Bn;xr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bn=e,Bn}var Ln,br;function vr(){return br||(br=1,Ln=Function.call.bind(Object.prototype.hasOwnProperty)),Ln}var _n,jr;function ga(){if(jr)return _n;jr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var s=Fn(),r={},i=vr();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,h){if(process.env.NODE_ENV!=="production"){for(var g in l)if(i(l,g)){var p;try{if(typeof l[g]!="function"){var y=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 y.name="Invariant Violation",y}p=l[g](a,g,d,c,null,s)}catch(b){p=b}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 r)){r[p.message]=!0;var x=h?h():"";e("Failed "+c+" type: "+p.message+(x??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},_n=o,_n}var Hn,wr;function ma(){if(wr)return Hn;wr=1;var e=mr(),s=pa(),r=Fn(),i=vr(),o=ga(),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 Hn=function(c,d){var h=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function p(m){var E=m&&(h&&m[h]||m[g]);if(typeof E=="function")return E}var y="<<anonymous>>",x={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:A(),arrayOf:M,element:S(),elementType:j(),instanceOf:I,node:f(),objectOf:$,oneOf:U,oneOfType:q,shape:_,exact:F};function b(m,E){return m===E?m!==0||1/m===1/E:m!==m&&E!==E}function u(m,E){this.message=m,this.data=E&&typeof E=="object"?E:{},this.stack=""}u.prototype=Error.prototype;function w(m){if(process.env.NODE_ENV!=="production")var E={},R=0;function P(D,H,W,B,Y,Q,se){if(B=B||y,Q=Q||W,se!==r){if(d){var J=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 J.name="Invariant Violation",J}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var he=B+":"+W;!E[he]&&R<3&&(l("You are manually calling a React.PropTypes validation function for the `"+Q+"` prop on `"+B+"`. 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[he]=!0,R++)}}return H[W]==null?D?H[W]===null?new u("The "+Y+" `"+Q+"` is marked as required "+("in `"+B+"`, but its value is `null`.")):new u("The "+Y+" `"+Q+"` is marked as required in "+("`"+B+"`, but its value is `undefined`.")):null:m(H,W,B,Y,Q)}var z=P.bind(null,!1);return z.isRequired=P.bind(null,!0),z}function T(m){function E(R,P,z,D,H,W){var B=R[P],Y=ee(B);if(Y!==m){var Q=G(B);return new u("Invalid "+D+" `"+H+"` of type "+("`"+Q+"` supplied to `"+z+"`, expected ")+("`"+m+"`."),{expectedType:m})}return null}return w(E)}function A(){return w(a)}function M(m){function E(R,P,z,D,H){if(typeof m!="function")return new u("Property `"+H+"` of component `"+z+"` has invalid PropType notation inside arrayOf.");var W=R[P];if(!Array.isArray(W)){var B=ee(W);return new u("Invalid "+D+" `"+H+"` of type "+("`"+B+"` supplied to `"+z+"`, expected an array."))}for(var Y=0;Y<W.length;Y++){var Q=m(W,Y,z,D,H+"["+Y+"]",r);if(Q instanceof Error)return Q}return null}return w(E)}function S(){function m(E,R,P,z,D){var H=E[R];if(!c(H)){var W=ee(H);return new u("Invalid "+z+" `"+D+"` of type "+("`"+W+"` supplied to `"+P+"`, expected a single ReactElement."))}return null}return w(m)}function j(){function m(E,R,P,z,D){var H=E[R];if(!e.isValidElementType(H)){var W=ee(H);return new u("Invalid "+z+" `"+D+"` of type "+("`"+W+"` supplied to `"+P+"`, expected a single ReactElement type."))}return null}return w(m)}function I(m){function E(R,P,z,D,H){if(!(R[P]instanceof m)){var W=m.name||y,B=k(R[P]);return new u("Invalid "+D+" `"+H+"` of type "+("`"+B+"` supplied to `"+z+"`, expected ")+("instance of `"+W+"`."))}return null}return w(E)}function U(m){if(!Array.isArray(m))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(R,P,z,D,H){for(var W=R[P],B=0;B<m.length;B++)if(b(W,m[B]))return null;var Y=JSON.stringify(m,function(se,J){var he=G(J);return he==="symbol"?String(J):J});return new u("Invalid "+D+" `"+H+"` of value `"+String(W)+"` "+("supplied to `"+z+"`, expected one of "+Y+"."))}return w(E)}function $(m){function E(R,P,z,D,H){if(typeof m!="function")return new u("Property `"+H+"` of component `"+z+"` has invalid PropType notation inside objectOf.");var W=R[P],B=ee(W);if(B!=="object")return new u("Invalid "+D+" `"+H+"` of type "+("`"+B+"` supplied to `"+z+"`, expected an object."));for(var Y in W)if(i(W,Y)){var Q=m(W,Y,z,D,H+"."+Y,r);if(Q instanceof Error)return Q}return null}return w(E)}function q(m){if(!Array.isArray(m))return process.env.NODE_ENV!=="production"&&l("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var E=0;E<m.length;E++){var R=m[E];if(typeof R!="function")return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+O(R)+" at index "+E+"."),a}function P(z,D,H,W,B){for(var Y=[],Q=0;Q<m.length;Q++){var se=m[Q],J=se(z,D,H,W,B,r);if(J==null)return null;J.data&&i(J.data,"expectedType")&&Y.push(J.data.expectedType)}var he=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new u("Invalid "+W+" `"+B+"` supplied to "+("`"+H+"`"+he+"."))}return w(P)}function f(){function m(E,R,P,z,D){return Z(E[R])?null:new u("Invalid "+z+" `"+D+"` supplied to "+("`"+P+"`, expected a ReactNode."))}return w(m)}function L(m,E,R,P,z){return new u((m||"React class")+": "+E+" type `"+R+"."+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+z+"`.")}function _(m){function E(R,P,z,D,H){var W=R[P],B=ee(W);if(B!=="object")return new u("Invalid "+D+" `"+H+"` of type `"+B+"` "+("supplied to `"+z+"`, expected `object`."));for(var Y in m){var Q=m[Y];if(typeof Q!="function")return L(z,D,H,Y,G(Q));var se=Q(W,Y,z,D,H+"."+Y,r);if(se)return se}return null}return w(E)}function F(m){function E(R,P,z,D,H){var W=R[P],B=ee(W);if(B!=="object")return new u("Invalid "+D+" `"+H+"` of type `"+B+"` "+("supplied to `"+z+"`, expected `object`."));var Y=s({},R[P],m);for(var Q in Y){var se=m[Q];if(i(m,Q)&&typeof se!="function")return L(z,D,H,Q,G(se));if(!se)return new u("Invalid "+D+" `"+H+"` key `"+Q+"` supplied to `"+z+"`.\nBad object: "+JSON.stringify(R[P],null," ")+`
|
|
21
|
+
Valid keys: `+JSON.stringify(Object.keys(m),null," "));var J=se(W,Q,z,D,H+"."+Q,r);if(J)return J}return null}return w(E)}function Z(m){switch(typeof m){case"number":case"string":case"undefined":return!0;case"boolean":return!m;case"object":if(Array.isArray(m))return m.every(Z);if(m===null||c(m))return!0;var E=p(m);if(E){var R=E.call(m),P;if(E!==m.entries){for(;!(P=R.next()).done;)if(!Z(P.value))return!1}else for(;!(P=R.next()).done;){var z=P.value;if(z&&!Z(z[1]))return!1}}else return!1;return!0;default:return!1}}function K(m,E){return m==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function ee(m){var E=typeof m;return Array.isArray(m)?"array":m instanceof RegExp?"object":K(E,m)?"symbol":E}function G(m){if(typeof m>"u"||m===null)return""+m;var E=ee(m);if(E==="object"){if(m instanceof Date)return"date";if(m instanceof RegExp)return"regexp"}return E}function O(m){var E=G(m);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function k(m){return!m.constructor||!m.constructor.name?y:m.constructor.name}return x.checkPropTypes=o,x.resetWarningCache=o.resetWarningCache,x.PropTypes=x,x},Hn}var Vn,kr;function ya(){if(kr)return Vn;kr=1;var e=Fn();function s(){}function r(){}return r.resetWarningCache=s,Vn=function(){function i(a,c,d,h,g,p){if(p!==e){var y=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 y.name="Invariant Violation",y}}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:r,resetWarningCache:s};return l.PropTypes=l,l},Vn}if(process.env.NODE_ENV!=="production"){var xa=mr(),ba=!0;Wn.exports=ma()(xa.isElement,ba)}else Wn.exports=ya()();var va=Wn.exports;const n=ua(va);var Zn={exports:{}},It={};/**
|
|
22
22
|
* @license React
|
|
23
23
|
* react-jsx-runtime.production.min.js
|
|
24
24
|
*
|
|
@@ -34,20 +34,20 @@ Valid keys: `+JSON.stringify(Object.keys(m),null," "));var X=re(B,K,M,D,$+"."+K
|
|
|
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 Sr;function wa(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&function(){var e=v,s=Symbol.for("react.element"),r=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"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),b=Symbol.iterator,u="@@iterator";function w(C){if(C===null||typeof C!="object")return null;var
|
|
38
|
-
`+
|
|
37
|
+
*/var Sr;function wa(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&function(){var e=v,s=Symbol.for("react.element"),r=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"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),b=Symbol.iterator,u="@@iterator";function w(C){if(C===null||typeof C!="object")return null;var X=b&&C[b]||C[u];return typeof X=="function"?X:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(C){{for(var X=arguments.length,ne=new Array(X>1?X-1:0),ue=1;ue<X;ue++)ne[ue-1]=arguments[ue];M("error",C,ne)}}function M(C,X,ne){{var ue=T.ReactDebugCurrentFrame,ve=ue.getStackAddendum();ve!==""&&(X+="%s",ne=ne.concat([ve]));var Me=ne.map(function(me){return String(me)});Me.unshift("Warning: "+X),Function.prototype.apply.call(console[C],console,Me)}}var S=!1,j=!1,I=!1,U=!1,$=!1,q;q=Symbol.for("react.module.reference");function f(C){return!!(typeof C=="string"||typeof C=="function"||C===i||C===l||$||C===o||C===h||C===g||U||C===x||S||j||I||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===p||C.$$typeof===a||C.$$typeof===c||C.$$typeof===d||C.$$typeof===q||C.getModuleId!==void 0))}function L(C,X,ne){var ue=C.displayName;if(ue)return ue;var ve=X.displayName||X.name||"";return ve!==""?ne+"("+ve+")":ne}function _(C){return C.displayName||"Context"}function F(C){if(C==null)return null;if(typeof C.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case i:return"Fragment";case r:return"Portal";case l:return"Profiler";case o:return"StrictMode";case h:return"Suspense";case g:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case c:var X=C;return _(X)+".Consumer";case a:var ne=C;return _(ne._context)+".Provider";case d:return L(C,C.render,"ForwardRef");case p:var ue=C.displayName||null;return ue!==null?ue:F(C.type)||"Memo";case y:{var ve=C,Me=ve._payload,me=ve._init;try{return F(me(Me))}catch{return null}}}return null}var Z=Object.assign,K=0,ee,G,O,k,m,E,R;function P(){}P.__reactDisabledLog=!0;function z(){{if(K===0){ee=console.log,G=console.info,O=console.warn,k=console.error,m=console.group,E=console.groupCollapsed,R=console.groupEnd;var C={configurable:!0,enumerable:!0,value:P,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}K++}}function D(){{if(K--,K===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},C,{value:ee}),info:Z({},C,{value:G}),warn:Z({},C,{value:O}),error:Z({},C,{value:k}),group:Z({},C,{value:m}),groupCollapsed:Z({},C,{value:E}),groupEnd:Z({},C,{value:R})})}K<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var H=T.ReactCurrentDispatcher,W;function B(C,X,ne){{if(W===void 0)try{throw Error()}catch(ve){var ue=ve.stack.trim().match(/\n( *(at )?)/);W=ue&&ue[1]||""}return`
|
|
38
|
+
`+W+C}}var Y=!1,Q;{var se=typeof WeakMap=="function"?WeakMap:Map;Q=new se}function J(C,X){if(!C||Y)return"";{var ne=Q.get(C);if(ne!==void 0)return ne}var ue;Y=!0;var ve=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Me;Me=H.current,H.current=null,z();try{if(X){var me=function(){throw Error()};if(Object.defineProperty(me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(me,[])}catch(Ze){ue=Ze}Reflect.construct(C,[],me)}else{try{me.call()}catch(Ze){ue=Ze}C.call(me.prototype)}}else{try{throw Error()}catch(Ze){ue=Ze}C()}}catch(Ze){if(Ze&&ue&&typeof Ze.stack=="string"){for(var ge=Ze.stack.split(`
|
|
39
39
|
`),He=ue.stack.split(`
|
|
40
40
|
`),We=ge.length-1,Be=He.length-1;We>=1&&Be>=0&&ge[We]!==He[Be];)Be--;for(;We>=1&&Be>=0;We--,Be--)if(ge[We]!==He[Be]){if(We!==1||Be!==1)do if(We--,Be--,Be<0||ge[We]!==He[Be]){var Je=`
|
|
41
|
-
`+ge[We].replace(" at new "," at ");return C.displayName&&Je.includes("<anonymous>")&&(Je=Je.replace("<anonymous>",C.displayName)),typeof C=="function"&&
|
|
41
|
+
`+ge[We].replace(" at new "," at ");return C.displayName&&Je.includes("<anonymous>")&&(Je=Je.replace("<anonymous>",C.displayName)),typeof C=="function"&&Q.set(C,Je),Je}while(We>=1&&Be>=0);break}}}finally{Y=!1,H.current=Me,D(),Error.prepareStackTrace=ve}var At=C?C.displayName||C.name:"",jt=At?B(At):"";return typeof C=="function"&&Q.set(C,jt),jt}function he(C,X,ne){return J(C,!1)}function le(C){var X=C.prototype;return!!(X&&X.isReactComponent)}function fe(C,X,ne){if(C==null)return"";if(typeof C=="function")return J(C,le(C));if(typeof C=="string")return B(C);switch(C){case h:return B("Suspense");case g:return B("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case d:return he(C.render);case p:return fe(C.type,X,ne);case y:{var ue=C,ve=ue._payload,Me=ue._init;try{return fe(Me(ve),X,ne)}catch{}}}return""}var _e=Object.prototype.hasOwnProperty,ke={},Pe=T.ReactDebugCurrentFrame;function ce(C){if(C){var X=C._owner,ne=fe(C.type,C._source,X?X.type:null);Pe.setExtraStackFrame(ne)}else Pe.setExtraStackFrame(null)}function oe(C,X,ne,ue,ve){{var Me=Function.call.bind(_e);for(var me in C)if(Me(C,me)){var ge=void 0;try{if(typeof C[me]!="function"){var He=Error((ue||"React class")+": "+ne+" type `"+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[me]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw He.name="Invariant Violation",He}ge=C[me](X,me,ue,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){ge=We}ge&&!(ge instanceof Error)&&(ce(ve),A("%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).",ue||"React class",ne,me,typeof ge),ce(null)),ge instanceof Error&&!(ge.message in ke)&&(ke[ge.message]=!0,ce(ve),A("Failed %s type: %s",ne,ge.message),ce(null))}}}var de=Array.isArray;function te(C){return de(C)}function ie(C){{var X=typeof Symbol=="function"&&Symbol.toStringTag,ne=X&&C[Symbol.toStringTag]||C.constructor.name||"Object";return ne}}function ze(C){try{return Ne(C),!1}catch{return!0}}function Ne(C){return""+C}function De(C){if(ze(C))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ie(C)),Ne(C)}var ae=T.ReactCurrentOwner,Te={key:!0,ref:!0,__self:!0,__source:!0},Ge,st,vt;vt={};function ar(C){if(_e.call(C,"ref")){var X=Object.getOwnPropertyDescriptor(C,"ref").get;if(X&&X.isReactWarning)return!1}return C.ref!==void 0}function Rn(C){if(_e.call(C,"key")){var X=Object.getOwnPropertyDescriptor(C,"key").get;if(X&&X.isReactWarning)return!1}return C.key!==void 0}function bu(C,X){if(typeof C.ref=="string"&&ae.current&&X&&ae.current.stateNode!==X){var ne=F(ae.current.type);vt[ne]||(A('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',F(ae.current.type),C.ref),vt[ne]=!0)}}function vu(C,X){{var ne=function(){Ge||(Ge=!0,A("%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)",X))};ne.isReactWarning=!0,Object.defineProperty(C,"key",{get:ne,configurable:!0})}}function ju(C,X){{var ne=function(){st||(st=!0,A("%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)",X))};ne.isReactWarning=!0,Object.defineProperty(C,"ref",{get:ne,configurable:!0})}}var wu=function(C,X,ne,ue,ve,Me,me){var ge={$$typeof:s,type:C,key:X,ref:ne,props:me,_owner:Me};return ge._store={},Object.defineProperty(ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.defineProperty(ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ve}),Object.freeze&&(Object.freeze(ge.props),Object.freeze(ge)),ge};function ku(C,X,ne,ue,ve){{var Me,me={},ge=null,He=null;ne!==void 0&&(De(ne),ge=""+ne),Rn(X)&&(De(X.key),ge=""+X.key),ar(X)&&(He=X.ref,bu(X,ve));for(Me in X)_e.call(X,Me)&&!Te.hasOwnProperty(Me)&&(me[Me]=X[Me]);if(C&&C.defaultProps){var We=C.defaultProps;for(Me in We)me[Me]===void 0&&(me[Me]=We[Me])}if(ge||He){var Be=typeof C=="function"?C.displayName||C.name||"Unknown":C;ge&&vu(me,Be),He&&ju(me,Be)}return wu(C,ge,He,ve,ue,ae.current,me)}}var cr=T.ReactCurrentOwner,ta=T.ReactDebugCurrentFrame;function Ot(C){if(C){var X=C._owner,ne=fe(C.type,C._source,X?X.type:null);ta.setExtraStackFrame(ne)}else ta.setExtraStackFrame(null)}var dr;dr=!1;function ur(C){return typeof C=="object"&&C!==null&&C.$$typeof===s}function na(){{if(cr.current){var C=F(cr.current.type);if(C)return`
|
|
42
42
|
|
|
43
|
-
Check the render method of \``+C+"`."}return""}}function Cu(C){return""}var sa={};function Su(C){{var
|
|
43
|
+
Check the render method of \``+C+"`."}return""}}function Cu(C){return""}var sa={};function Su(C){{var X=na();if(!X){var ne=typeof C=="string"?C:C.displayName||C.name;ne&&(X=`
|
|
44
44
|
|
|
45
|
-
Check the top-level render call using <`+ne+">.")}return
|
|
45
|
+
Check the top-level render call using <`+ne+">.")}return X}}function ra(C,X){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var ne=Su(X);if(sa[ne])return;sa[ne]=!0;var ue="";C&&C._owner&&C._owner!==cr.current&&(ue=" It was passed a child from "+F(C._owner.type)+"."),Ot(C),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,ue),Ot(null)}}function ia(C,X){{if(typeof C!="object")return;if(te(C))for(var ne=0;ne<C.length;ne++){var ue=C[ne];ur(ue)&&ra(ue,X)}else if(ur(C))C._store&&(C._store.validated=!0);else if(C){var ve=w(C);if(typeof ve=="function"&&ve!==C.entries)for(var Me=ve.call(C),me;!(me=Me.next()).done;)ur(me.value)&&ra(me.value,X)}}}function Tu(C){{var X=C.type;if(X==null||typeof X=="string")return;var ne;if(typeof X=="function")ne=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===d||X.$$typeof===p))ne=X.propTypes;else return;if(ne){var ue=F(X);oe(ne,C.props,"prop",ue,C)}else if(X.PropTypes!==void 0&&!dr){dr=!0;var ve=F(X);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ve||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mu(C){{for(var X=Object.keys(C.props),ne=0;ne<X.length;ne++){var ue=X[ne];if(ue!=="children"&&ue!=="key"){Ot(C),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ue),Ot(null);break}}C.ref!==null&&(Ot(C),A("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}var oa={};function la(C,X,ne,ue,ve,Me){{var me=f(C);if(!me){var ge="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ge+=" 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 He=Cu();He?ge+=He:ge+=na();var We;C===null?We="null":te(C)?We="array":C!==void 0&&C.$$typeof===s?(We="<"+(F(C.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):We=typeof C,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,ge)}var Be=ku(C,X,ne,ve,Me);if(Be==null)return Be;if(me){var Je=X.children;if(Je!==void 0)if(ue)if(te(Je)){for(var At=0;At<Je.length;At++)ia(Je[At],C);Object.freeze&&Object.freeze(Je)}else A("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 ia(Je,C)}if(_e.call(X,"key")){var jt=F(C),Ze=Object.keys(X).filter(function(Au){return Au!=="key"}),hr=Ze.length>0?"{key: someKey, "+Ze.join(": ..., ")+": ...}":"{key: someKey}";if(!oa[jt+hr]){var Ou=Ze.length>0?"{"+Ze.join(": ..., ")+": ...}":"{}";A(`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:
|
|
49
49
|
let props = %s;
|
|
50
|
-
<%s key={someKey} {...props} />`,hr,jt,Ou,jt),oa[jt+hr]=!0}}return C===i?Mu(Be):Tu(Be),Be}}function zu(C,
|
|
50
|
+
<%s key={someKey} {...props} />`,hr,jt,Ou,jt),oa[jt+hr]=!0}}return C===i?Mu(Be):Tu(Be),Be}}function zu(C,X,ne){return la(C,X,ne,!0)}function Eu(C,X,ne){return la(C,X,ne,!1)}var Nu=Eu,Du=zu;Rt.Fragment=i,Rt.jsx=Nu,Rt.jsxs=Du}()),Rt}process.env.NODE_ENV==="production"?Zn.exports=ja():Zn.exports=wa();var t=Zn.exports;const ka=ye.div`
|
|
51
51
|
margin-block: ${({isvisible:e})=>e?"1vh":"0"};
|
|
52
52
|
background-color: ${({backgroundcolor:e})=>e||"#f8d296"};
|
|
53
53
|
display: flex;
|
|
@@ -79,9 +79,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
79
79
|
*
|
|
80
80
|
* This source code is licensed under the MIT license found in the
|
|
81
81
|
* LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/var Dr;function Ra(){return Dr||(Dr=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(typeof u=="object"&&u!==null){var w=u.$$typeof;switch(w){case s:switch(u=u.type,u){case i:case l:case o:case h:case g:case x:return u;default:switch(u=u&&u.$$typeof,u){case c:case d:case y:case p:return u;case a:return u;default:return w}}case r:return w}}}var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");we.ContextConsumer=a,we.ContextProvider=c,we.Element=s,we.ForwardRef=d,we.Fragment=i,we.Lazy=y,we.Memo=p,we.Portal=r,we.Profiler=l,we.StrictMode=o,we.Suspense=h,we.SuspenseList=g,we.isContextConsumer=function(u){return e(u)===a},we.isContextProvider=function(u){return e(u)===c},we.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===s},we.isForwardRef=function(u){return e(u)===d},we.isFragment=function(u){return e(u)===i},we.isLazy=function(u){return e(u)===y},we.isMemo=function(u){return e(u)===p},we.isPortal=function(u){return e(u)===r},we.isProfiler=function(u){return e(u)===l},we.isStrictMode=function(u){return e(u)===o},we.isSuspense=function(u){return e(u)===h},we.isSuspenseList=function(u){return e(u)===g},we.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===i||u===l||u===o||u===h||u===g||typeof u=="object"&&u!==null&&(u.$$typeof===y||u.$$typeof===p||u.$$typeof===c||u.$$typeof===a||u.$$typeof===d||u.$$typeof===b||u.getModuleId!==void 0)},we.typeOf=e}()),we}process.env.NODE_ENV==="production"?qn.exports=Ia():qn.exports=Ra();var nn=qn.exports;function tt(e){if(typeof e!="object"||e===null)return!1;const s=Object.getPrototypeOf(e);return(s===null||s===Object.prototype||Object.getPrototypeOf(s)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Or(e){if(
|
|
83
|
-
`))},[i,r,e]);const{current:h}=
|
|
84
|
-
`))},[JSON.stringify(s)])}const d=
|
|
82
|
+
*/var Dr;function Ra(){return Dr||(Dr=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(typeof u=="object"&&u!==null){var w=u.$$typeof;switch(w){case s:switch(u=u.type,u){case i:case l:case o:case h:case g:case x:return u;default:switch(u=u&&u.$$typeof,u){case c:case d:case y:case p:return u;case a:return u;default:return w}}case r:return w}}}var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");we.ContextConsumer=a,we.ContextProvider=c,we.Element=s,we.ForwardRef=d,we.Fragment=i,we.Lazy=y,we.Memo=p,we.Portal=r,we.Profiler=l,we.StrictMode=o,we.Suspense=h,we.SuspenseList=g,we.isContextConsumer=function(u){return e(u)===a},we.isContextProvider=function(u){return e(u)===c},we.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===s},we.isForwardRef=function(u){return e(u)===d},we.isFragment=function(u){return e(u)===i},we.isLazy=function(u){return e(u)===y},we.isMemo=function(u){return e(u)===p},we.isPortal=function(u){return e(u)===r},we.isProfiler=function(u){return e(u)===l},we.isStrictMode=function(u){return e(u)===o},we.isSuspense=function(u){return e(u)===h},we.isSuspenseList=function(u){return e(u)===g},we.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===i||u===l||u===o||u===h||u===g||typeof u=="object"&&u!==null&&(u.$$typeof===y||u.$$typeof===p||u.$$typeof===c||u.$$typeof===a||u.$$typeof===d||u.$$typeof===b||u.getModuleId!==void 0)},we.typeOf=e}()),we}process.env.NODE_ENV==="production"?qn.exports=Ia():qn.exports=Ra();var nn=qn.exports;function tt(e){if(typeof e!="object"||e===null)return!1;const s=Object.getPrototypeOf(e);return(s===null||s===Object.prototype||Object.getPrototypeOf(s)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Or(e){if(re.isValidElement(e)||nn.isValidElementType(e)||!tt(e))return e;const s={};return Object.keys(e).forEach(r=>{s[r]=Or(e[r])}),s}function Ue(e,s,r={clone:!0}){const i=r.clone?{...e}:e;return tt(e)&&tt(s)&&Object.keys(s).forEach(o=>{re.isValidElement(s[o])||nn.isValidElementType(s[o])?i[o]=s[o]:tt(s[o])&&Object.prototype.hasOwnProperty.call(e,o)&&tt(e[o])?i[o]=Ue(e[o],s[o],r):r.clone?i[o]=tt(s[o])?Or(s[o]):s[o]:i[o]=s[o]}),i}function Pa(e){const{prototype:s={}}=e;return!!s.isReactComponent}function Wa(e,s,r,i,o){const l=e[s],a=o||s;if(l==null||typeof window>"u")return null;let c;return typeof l=="function"&&!Pa(l)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${i} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const $a=Aa(n.elementType,Wa);function dt(e,...s){const r=new URL(`https://mui.com/production-error/?code=${e}`);return s.forEach(i=>r.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Ar(e,s=""){return e.displayName||e.name||s}function Ir(e,s,r){const i=Ar(s);return e.displayName||(i!==""?`${r}(${i})`:r)}function Ba(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ar(e,"Component");if(typeof e=="object")switch(e.$$typeof){case nn.ForwardRef:return Ir(e,e.render,"ForwardRef");case nn.Memo:return Ir(e,e.type,"memo");default:return}}}const sn=n.oneOfType([n.func,n.object]);function Ie(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":dt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fa(...e){return e.reduce((s,r)=>r==null?s:function(...o){s.apply(this,o),r.apply(this,o)},()=>{})}const La=typeof window<"u"?re.useLayoutEffect:re.useEffect;function _a({controlled:e,default:s,name:r,state:i="value"}){const{current:o}=re.useRef(e!==void 0),[l,a]=re.useState(s),c=o?e:l;if(process.env.NODE_ENV!=="production"){re.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${i} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
83
|
+
`))},[i,r,e]);const{current:h}=re.useRef(s);re.useEffect(()=>{!o&&!Object.is(h,s)&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
|
84
|
+
`))},[JSON.stringify(s)])}const d=re.useCallback(h=>{o||a(h)},[]);return[c,d]}function rn(e){const s=re.useRef(e);return La(()=>{s.current=e}),re.useRef((...r)=>(0,s.current)(...r)).current}function Yn(...e){const s=re.useRef(void 0),r=re.useCallback(i=>{const o=e.map(l=>{if(l==null)return null;if(typeof l=="function"){const a=l,c=a(i);return typeof c=="function"?c:()=>{a(null)}}return l.current=i,()=>{l.current=null}});return()=>{o.forEach(l=>l==null?void 0:l())}},e);return re.useMemo(()=>e.every(i=>i==null)?null:i=>{s.current&&(s.current(),s.current=void 0),i!=null&&(s.current=r(i))},e)}const Rr={};function Pr(e,s){const r=re.useRef(Rr);return r.current===Rr&&(r.current=e(s)),r}const Ha=[];function Va(e){re.useEffect(e,Ha)}class Gn{constructor(){Xt(this,"currentId",null);Xt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Xt(this,"disposeEffect",()=>this.clear)}static create(){return new Gn}start(s,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},s)}}function Za(){const e=Pr(Gn.create).current;return Va(e.disposeEffect),e}function Wr(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
85
85
|
`))}return!1}function Kn(e,s){const r={...s};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const l=e[o],a=s[o];if(!a)r[o]=l||{};else if(!l)r[o]=a;else{r[o]={...a};for(const c in l)if(Object.prototype.hasOwnProperty.call(l,c)){const d=c;r[o][d]=Kn(l[d],a[d])}}}else r[o]===void 0&&(r[o]=e[o])}return r}function mt(e,s,r=void 0){const i={};for(const o in e){const l=e[o];let a="",c=!0;for(let d=0;d<l.length;d+=1){const h=l[d];h&&(a+=(c===!0?"":" ")+s(h),c=!1,r&&r[h]&&(a+=" "+r[h]))}i[o]=a}return i}const $r=e=>e,Ua=(()=>{let e=$r;return{configure(s){e=s},generate(s){return e(s)},reset(){e=$r}}})(),qa={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function rt(e,s,r="Mui"){const i=qa[s];return i?`${r}-${i}`:`${Ua.generate(e)}-${s}`}function ut(e,s,r="Mui"){const i={};return s.forEach(o=>{i[o]=rt(e,o,r)}),i}function Ya(e,s=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(e,r))}function Ga(e){return typeof e=="string"}function Ka(e,s,r){return e===void 0||Ga(e)?s:{...s,ownerState:{...s.ownerState,...r}}}function Br(e){var s,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(s=0;s<o;s++)e[s]&&(r=Br(e[s]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function $e(){for(var e,s,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(s=Br(e))&&(i&&(i+=" "),i+=s);return i}function Qa(e,s=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!s.includes(i)).forEach(i=>{r[i]=e[i]}),r}function Fr(e){if(e===void 0)return{};const s={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{s[r]=e[r]}),s}function Xa(e){const{getSlotProps:s,additionalProps:r,externalSlotProps:i,externalForwardedProps:o,className:l}=e;if(!s){const x=$e(r==null?void 0:r.className,l,o==null?void 0:o.className,i==null?void 0:i.className),b={...r==null?void 0:r.style,...o==null?void 0:o.style,...i==null?void 0:i.style},u={...r,...o,...i};return x.length>0&&(u.className=x),Object.keys(b).length>0&&(u.style=b),{props:u,internalRef:void 0}}const a=Qa({...o,...i}),c=Fr(i),d=Fr(o),h=s(a),g=$e(h==null?void 0:h.className,r==null?void 0:r.className,l,o==null?void 0:o.className,i==null?void 0:i.className),p={...h==null?void 0:h.style,...r==null?void 0:r.style,...o==null?void 0:o.style,...i==null?void 0:i.style},y={...h,...r,...d,...c};return g.length>0&&(y.className=g),Object.keys(p).length>0&&(y.style=p),{props:y,internalRef:h.ref}}function Ja(e,s,r){return typeof e=="function"?e(s,r):e}function Pt(e,s){return s?Ue(e,s,{clone:!1}):e}const ht=process.env.NODE_ENV!=="production"?n.oneOfType([n.number,n.string,n.object,n.array]):{};function ec(e,s){if(!e.containerQueries)return s;const r=Object.keys(s).filter(i=>i.startsWith("@container")).sort((i,o)=>{var a,c;const l=/min-width:\s*([0-9.]+)/;return+(((a=i.match(l))==null?void 0:a[1])||0)-+(((c=o.match(l))==null?void 0:c[1])||0)});return r.length?r.reduce((i,o)=>{const l=s[o];return delete i[o],i[o]=l,i},{...s}):s}function tc(e,s){return s==="@"||s.startsWith("@")&&(e.some(r=>s.startsWith(`@${r}`))||!!s.match(/^@\d/))}function nc(e,s){const r=s.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${s})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
86
86
|
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:dt(18,`(${s})`));return null}const[,i,o]=r,l=Number.isNaN(+i)?i||0:+i;return e.containerQueries(o).up(l)}function sc(e){const s=(l,a)=>l.replace("@media",a?`@container ${a}`:"@container");function r(l,a){l.up=(...c)=>s(e.breakpoints.up(...c),a),l.down=(...c)=>s(e.breakpoints.down(...c),a),l.between=(...c)=>s(e.breakpoints.between(...c),a),l.only=(...c)=>s(e.breakpoints.only(...c),a),l.not=(...c)=>{const d=s(e.breakpoints.not(...c),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const i={},o=l=>(r(i,l),i);return r(o),{...e,containerQueries:o}}const on={xs:0,sm:600,md:900,lg:1200,xl:1536},Lr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${on[e]}px)`},rc={containerQueries:e=>({up:s=>{let r=typeof s=="number"?s:on[s]||s;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function it(e,s,r){const i=e.theme||{};if(Array.isArray(s)){const l=i.breakpoints||Lr;return s.reduce((a,c,d)=>(a[l.up(l.keys[d])]=r(s[d]),a),{})}if(typeof s=="object"){const l=i.breakpoints||Lr;return Object.keys(s).reduce((a,c)=>{if(tc(l.keys,c)){const d=nc(i.containerQueries?i:rc,c);d&&(a[d]=r(s[c],c))}else if(Object.keys(l.values||on).includes(c)){const d=l.up(c);a[d]=r(s[c],c)}else{const d=c;a[d]=s[d]}return a},{})}return r(s)}function ic(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((i,o)=>{const l=e.up(o);return i[l]={},i},{}))||{}}function oc(e,s){return e.reduce((r,i)=>{const o=r[i];return(!o||Object.keys(o).length===0)&&delete r[i],r},s)}function ln(e,s,r=!0){if(!s||typeof s!="string")return null;if(e&&e.vars&&r){const i=`vars.${s}`.split(".").reduce((o,l)=>o&&o[l]?o[l]:null,e);if(i!=null)return i}return s.split(".").reduce((i,o)=>i&&i[o]!=null?i[o]:null,e)}function an(e,s,r,i=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||i:o=ln(e,r)||i,s&&(o=s(o,i,e)),o}function Re(e){const{prop:s,cssProperty:r=e.prop,themeKey:i,transform:o}=e,l=a=>{if(a[s]==null)return null;const c=a[s],d=a.theme,h=ln(d,i)||{};return it(a,c,p=>{let y=an(h,o,p);return p===y&&typeof p=="string"&&(y=an(h,o,`${s}${p==="default"?"":Ie(p)}`,p)),r===!1?y:{[r]:y}})};return l.propTypes=process.env.NODE_ENV!=="production"?{[s]:ht}:{},l.filterProps=[s],l}function lc(e){const s={};return r=>(s[r]===void 0&&(s[r]=e(r)),s[r])}const ac={m:"margin",p:"padding"},cc={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_r={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},dc=lc(e=>{if(e.length>2)if(_r[e])e=_r[e];else return[e];const[s,r]=e.split(""),i=ac[s],o=cc[r]||"";return Array.isArray(o)?o.map(l=>i+l):[i+o]}),cn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],dn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],uc=[...cn,...dn];function Wt(e,s,r,i){const o=ln(e,s,!0)??r;return typeof o=="number"||typeof o=="string"?l=>typeof l=="string"?l:(process.env.NODE_ENV!=="production"&&typeof l!="number"&&console.error(`MUI: Expected ${i} argument to be a number or a string, got ${l}.`),typeof o=="string"?`calc(${l} * ${o})`:o*l):Array.isArray(o)?l=>{if(typeof l=="string")return l;const a=Math.abs(l);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
87
87
|
`)):console.error([`MUI: The \`theme.${s}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${s}\` as a number.`].join(`
|
|
@@ -93,10 +93,10 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:dt(18,`(${s})`));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 rd(e,s){const r=aa(e,s);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.`),r(...i)}:r}function id(e,s){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=s(e.__emotion_styles))}const Yr=[];function Gr(e){return Yr[0]=e,sd(Yr)}const od=e=>{const s=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return s.sort((r,i)=>r.val-i.val),s.reduce((r,i)=>({...r,[i.key]:i.val}),{})};function ld(e){const{values:s={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...o}=e,l=od(s),a=Object.keys(l);function c(y){return`@media (min-width:${typeof s[y]=="number"?s[y]:y}${r})`}function d(y){return`@media (max-width:${(typeof s[y]=="number"?s[y]:y)-i/100}${r})`}function h(y,x){const b=a.indexOf(x);return`@media (min-width:${typeof s[y]=="number"?s[y]:y}${r}) and (max-width:${(b!==-1&&typeof s[a[b]]=="number"?s[a[b]]:x)-i/100}${r})`}function g(y){return a.indexOf(y)+1<a.length?h(y,a[a.indexOf(y)+1]):c(y)}function p(y){const x=a.indexOf(y);return x===0?c(a[1]):x===a.length-1?d(a[x]):h(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:a,values:l,up:c,down:d,between:h,only:g,not:p,unit:r,...o}}const ad={borderRadius:4};function Kr(e=8,s=Qn({spacing:e})){if(e.mui)return e;const r=(...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=s(l);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function cd(e,s){var i;const r=this;if(r.vars){if(!((i=r.colorSchemes)!=null&&i[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?s:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:s})}return r.palette.mode===e?s:{}}function Qr(e={},...s){const{breakpoints:r={},palette:i={},spacing:o,shape:l={},...a}=e,c=ld(r),d=Kr(o);let h=Ue({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:d,shape:{...ad,...l}},a);return h=sc(h),h.applyStyles=cd,h=s.reduce((g,p)=>Ue(g,p),h),h.unstable_sxConfig={...Bt,...a==null?void 0:a.unstable_sxConfig},h.unstable_sx=function(p){return kt({sx:p,theme:this})},h}function Xr(e){const{variants:s,...r}=e,i={variants:s,style:Gr(r),isProcessed:!0};return i.style===r||s&&s.forEach(o=>{typeof o.style!="function"&&(o.style=Gr(o.style))}),i}const dd=Qr();function es(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ud(e){return e?(s,r)=>r[e]:null}function hd(e,s,r){e.theme=md(e.theme)?r:e.theme[s]||e.theme}function yn(e,s){const r=typeof s=="function"?s(e):s;if(Array.isArray(r))return r.flatMap(i=>yn(e,i));if(Array.isArray(r==null?void 0:r.variants)){let i;if(r.isProcessed)i=r.style;else{const{variants:o,...l}=r;i=l}return Jr(e,r.variants,[i])}return r!=null&&r.isProcessed?r.style:r}function Jr(e,s,r=[]){var o;let i;e:for(let l=0;l<s.length;l+=1){const a=s[l];if(typeof a.props=="function"){if(i??(i={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(i))continue}else for(const c in a.props)if(e[c]!==a.props[c]&&((o=e.ownerState)==null?void 0:o[c])!==a.props[c])continue e;typeof a.style=="function"?(i??(i={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(i))):r.push(a.style)}return r}function fd(e={}){const{themeId:s,defaultTheme:r=dd,rootShouldForwardProp:i=es,slotShouldForwardProp:o=es}=e;function l(c){hd(c,s,r)}return(c,d={})=>{id(c,j=>j.filter(
|
|
96
|
+
`)):i.some(l=>l===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...i)}:r}function id(e,s){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=s(e.__emotion_styles))}const Yr=[];function Gr(e){return Yr[0]=e,sd(Yr)}const od=e=>{const s=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return s.sort((r,i)=>r.val-i.val),s.reduce((r,i)=>({...r,[i.key]:i.val}),{})};function ld(e){const{values:s={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...o}=e,l=od(s),a=Object.keys(l);function c(y){return`@media (min-width:${typeof s[y]=="number"?s[y]:y}${r})`}function d(y){return`@media (max-width:${(typeof s[y]=="number"?s[y]:y)-i/100}${r})`}function h(y,x){const b=a.indexOf(x);return`@media (min-width:${typeof s[y]=="number"?s[y]:y}${r}) and (max-width:${(b!==-1&&typeof s[a[b]]=="number"?s[a[b]]:x)-i/100}${r})`}function g(y){return a.indexOf(y)+1<a.length?h(y,a[a.indexOf(y)+1]):c(y)}function p(y){const x=a.indexOf(y);return x===0?c(a[1]):x===a.length-1?d(a[x]):h(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:a,values:l,up:c,down:d,between:h,only:g,not:p,unit:r,...o}}const ad={borderRadius:4};function Kr(e=8,s=Qn({spacing:e})){if(e.mui)return e;const r=(...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=s(l);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function cd(e,s){var i;const r=this;if(r.vars){if(!((i=r.colorSchemes)!=null&&i[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?s:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:s})}return r.palette.mode===e?s:{}}function Qr(e={},...s){const{breakpoints:r={},palette:i={},spacing:o,shape:l={},...a}=e,c=ld(r),d=Kr(o);let h=Ue({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:d,shape:{...ad,...l}},a);return h=sc(h),h.applyStyles=cd,h=s.reduce((g,p)=>Ue(g,p),h),h.unstable_sxConfig={...Bt,...a==null?void 0:a.unstable_sxConfig},h.unstable_sx=function(p){return kt({sx:p,theme:this})},h}function Xr(e){const{variants:s,...r}=e,i={variants:s,style:Gr(r),isProcessed:!0};return i.style===r||s&&s.forEach(o=>{typeof o.style!="function"&&(o.style=Gr(o.style))}),i}const dd=Qr();function es(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ud(e){return e?(s,r)=>r[e]:null}function hd(e,s,r){e.theme=md(e.theme)?r:e.theme[s]||e.theme}function yn(e,s){const r=typeof s=="function"?s(e):s;if(Array.isArray(r))return r.flatMap(i=>yn(e,i));if(Array.isArray(r==null?void 0:r.variants)){let i;if(r.isProcessed)i=r.style;else{const{variants:o,...l}=r;i=l}return Jr(e,r.variants,[i])}return r!=null&&r.isProcessed?r.style:r}function Jr(e,s,r=[]){var o;let i;e:for(let l=0;l<s.length;l+=1){const a=s[l];if(typeof a.props=="function"){if(i??(i={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(i))continue}else for(const c in a.props)if(e[c]!==a.props[c]&&((o=e.ownerState)==null?void 0:o[c])!==a.props[c])continue e;typeof a.style=="function"?(i??(i={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(i))):r.push(a.style)}return r}function fd(e={}){const{themeId:s,defaultTheme:r=dd,rootShouldForwardProp:i=es,slotShouldForwardProp:o=es}=e;function l(c){hd(c,s,r)}return(c,d={})=>{id(c,j=>j.filter(I=>I!==kt));const{name:h,slot:g,skipVariantsResolver:p,skipSx:y,overridesResolver:x=ud(ei(g)),...b}=d,u=p!==void 0?p:g&&g!=="Root"&&g!=="root"||!1,w=y||!1;let T=es;g==="Root"||g==="root"?T=i:g?T=o:yd(c)&&(T=void 0);const A=rd(c,{shouldForwardProp:T,label:gd(h,g),...b}),M=j=>{if(typeof j=="function"&&j.__emotion_real!==j)return function(U){return yn(U,j)};if(tt(j)){const I=Xr(j);return I.variants?function($){return yn($,I)}:I.style}return j},S=(...j)=>{const I=[],U=j.map(M),$=[];if(I.push(l),h&&x&&$.push(function(_){var ee,G;const Z=(G=(ee=_.theme.components)==null?void 0:ee[h])==null?void 0:G.styleOverrides;if(!Z)return null;const K={};for(const O in Z)K[O]=yn(_,Z[O]);return x(_,K)}),h&&!u&&$.push(function(_){var K,ee;const F=_.theme,Z=(ee=(K=F==null?void 0:F.components)==null?void 0:K[h])==null?void 0:ee.variants;return Z?Jr(_,Z):null}),w||$.push(kt),Array.isArray(U[0])){const L=U.shift(),_=new Array(I.length).fill(""),F=new Array($.length).fill("");let Z;Z=[..._,...L,...F],Z.raw=[..._,...L.raw,...F],I.unshift(Z)}const q=[...I,...U,...$],f=A(...q);return c.muiName&&(f.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(f.displayName=pd(h,g,c)),f};return A.withConfig&&(S.withConfig=A.withConfig),S}}function pd(e,s,r){return e?`${e}${Ie(s||"")}`:`Styled(${Ba(r)})`}function gd(e,s){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${ei(s||"Root")}`),r}function md(e){for(const s in e)return!1;return!0}function yd(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ei(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ts(e,s=0,r=1){return process.env.NODE_ENV!=="production"&&(e<s||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${s}, ${r}].`),Ya(e,s,r)}function xd(e){e=e.slice(1);const s=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(s);return r&&r[0].length===1&&(r=r.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.`),r?`rgb${r.length===4?"a":""}(${r.map((i,o)=>o<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function pt(e){if(e.type)return e;if(e.charAt(0)==="#")return pt(xd(e));const s=e.indexOf("("),r=e.substring(0,s);if(!["rgb","rgba","hsl","hsla","color"].includes(r))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().`:dt(9,e));let i=e.substring(s+1,e.length-1),o;if(r==="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.`:dt(10,o))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:r,values:i,colorSpace:o}}const bd=e=>{const s=pt(e);return s.values.slice(0,3).map((r,i)=>s.type.includes("hsl")&&i!==0?`${r}%`:r).join(" ")},Ft=(e,s)=>{try{return bd(e)}catch{return s&&process.env.NODE_ENV!=="production"&&console.warn(s),e}};function xn(e){const{type:s,colorSpace:r}=e;let{values:i}=e;return s.includes("rgb")?i=i.map((o,l)=>l<3?parseInt(o,10):o):s.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),s.includes("color")?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${s}(${i})`}function ti(e){e=pt(e);const{values:s}=e,r=s[0],i=s[1]/100,o=s[2]/100,l=i*Math.min(o,1-o),a=(h,g=(h+r/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(s[3])),xn({type:c,values:d})}function ns(e){e=pt(e);let s=e.type==="hsl"||e.type==="hsla"?pt(ti(e)).values:e.values;return s=s.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*s[0]+.7152*s[1]+.0722*s[2]).toFixed(3))}function ni(e,s){const r=ns(e),i=ns(s);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function Lt(e,s){return e=pt(e),s=ts(s),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${s}`:e.values[3]=s,xn(e)}function bn(e,s,r){try{return Lt(e,s)}catch{return e}}function ss(e,s){if(e=pt(e),s=ts(s),e.type.includes("hsl"))e.values[2]*=1-s;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-s;return xn(e)}function Ce(e,s,r){try{return ss(e,s)}catch{return e}}function rs(e,s){if(e=pt(e),s=ts(s),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*s;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*s;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*s;return xn(e)}function Se(e,s,r){try{return rs(e,s)}catch{return e}}function vd(e,s=.15){return ns(e)>.5?ss(e,s):rs(e,s)}function vn(e,s,r){try{return vd(e,s)}catch{return e}}const jd=
|
|
99
|
-
`))}return w}const y=({color:u,name:w,mainShade:T=500,lightShade:A=300,darkShade:
|
|
98
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:dt(10,o))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:r,values:i,colorSpace:o}}const bd=e=>{const s=pt(e);return s.values.slice(0,3).map((r,i)=>s.type.includes("hsl")&&i!==0?`${r}%`:r).join(" ")},Ft=(e,s)=>{try{return bd(e)}catch{return s&&process.env.NODE_ENV!=="production"&&console.warn(s),e}};function xn(e){const{type:s,colorSpace:r}=e;let{values:i}=e;return s.includes("rgb")?i=i.map((o,l)=>l<3?parseInt(o,10):o):s.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),s.includes("color")?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${s}(${i})`}function ti(e){e=pt(e);const{values:s}=e,r=s[0],i=s[1]/100,o=s[2]/100,l=i*Math.min(o,1-o),a=(h,g=(h+r/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(s[3])),xn({type:c,values:d})}function ns(e){e=pt(e);let s=e.type==="hsl"||e.type==="hsla"?pt(ti(e)).values:e.values;return s=s.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*s[0]+.7152*s[1]+.0722*s[2]).toFixed(3))}function ni(e,s){const r=ns(e),i=ns(s);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function Lt(e,s){return e=pt(e),s=ts(s),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${s}`:e.values[3]=s,xn(e)}function bn(e,s,r){try{return Lt(e,s)}catch{return e}}function ss(e,s){if(e=pt(e),s=ts(s),e.type.includes("hsl"))e.values[2]*=1-s;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-s;return xn(e)}function Ce(e,s,r){try{return ss(e,s)}catch{return e}}function rs(e,s){if(e=pt(e),s=ts(s),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*s;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*s;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*s;return xn(e)}function Se(e,s,r){try{return rs(e,s)}catch{return e}}function vd(e,s=.15){return ns(e)>.5?ss(e,s):rs(e,s)}function vn(e,s,r){try{return vd(e,s)}catch{return e}}const jd=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(n.node,n.object);function wd(e){const{theme:s,name:r,props:i}=e;if(!s||!s.components||!s.components[r])return i;const o=s.components[r];return o.defaultProps?Kn(o.defaultProps,i):!o.styleOverrides&&!o.variants?Kn(o,i):i}function kd({props:e,name:s}){const r=re.useContext(jd);return wd({props:e,name:s,theme:{components:r}})}const si={theme:void 0};function Cd(e){let s,r;return function(o){let l=s;return(l===void 0||o.theme!==r)&&(si.theme=o.theme,l=Xr(e(si)),s=l,r=o.theme),l}}function Sd(e=""){function s(...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}${s(...i.slice(1))})`:`, ${o}`}return(i,...o)=>`var(--${e?`${e}-`:""}${i}${s(...o)})`}const ri=(e,s,r,i=[])=>{let o=e;s.forEach((l,a)=>{a===s.length-1?Array.isArray(o)?o[Number(l)]=r:o&&typeof o=="object"&&(o[l]=r):o&&typeof o=="object"&&(o[l]||(o[l]=i.includes(l)?[]:{}),o=o[l])})},Td=(e,s,r)=>{function i(o,l=[],a=[]){Object.entries(o).forEach(([c,d])=>{(!r||r&&!r([...l,c]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?i(d,[...l,c],Array.isArray(d)?[...a,c]:a):s([...l,c],d,a))})}i(e)},Md=(e,s)=>typeof s=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?s:`${s}px`:s;function is(e,s){const{prefix:r,shouldSkipGeneratingVar:i}=s||{},o={},l={},a={};return Td(e,(c,d,h)=>{if((typeof d=="string"||typeof d=="number")&&(!i||!i(c,d))){const g=`--${r?`${r}-`:""}${c.join("-")}`,p=Md(c,d);Object.assign(o,{[g]:p}),ri(l,c,`var(${g})`,h),ri(a,c,`var(${g}, ${p})`,h)}},c=>c[0]==="vars"),{css:o,vars:l,varsWithDefaults:a}}function zd(e,s={}){const{getSelector:r=w,disableCssColorScheme:i,colorSchemeSelector:o}=s,{colorSchemes:l={},components:a,defaultColorScheme:c="light",...d}=e,{vars:h,css:g,varsWithDefaults:p}=is(d,s);let y=p;const x={},{[c]:b,...u}=l;if(Object.entries(u||{}).forEach(([M,S])=>{const{vars:j,css:I,varsWithDefaults:U}=is(S,s);y=Ue(y,U),x[M]={css:I,vars:j}}),b){const{css:M,vars:S,varsWithDefaults:j}=is(b,s);y=Ue(y,j),x[c]={css:M,vars:S}}function w(M,S){var I,U;let j=o;if(o==="class"&&(j=".%s"),o==="data"&&(j="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(j=`[${o}="%s"]`),M){if(j==="media")return e.defaultColorScheme===M?":root":{[`@media (prefers-color-scheme: ${((U=(I=l[M])==null?void 0:I.palette)==null?void 0:U.mode)||M})`]:{":root":S}};if(j)return e.defaultColorScheme===M?`:root, ${j.replace("%s",String(M))}`:j.replace("%s",String(M))}return":root"}return{vars:y,generateThemeVars:()=>{let M={...h};return Object.entries(x).forEach(([,{vars:S}])=>{M=Ue(M,S)}),M},generateStyleSheets:()=>{var $,q;const M=[],S=e.defaultColorScheme||"light";function j(f,L){Object.keys(L).length&&M.push(typeof f=="string"?{[f]:{...L}}:f)}j(r(void 0,{...g}),g);const{[S]:I,...U}=x;if(I){const{css:f}=I,L=(q=($=l[S])==null?void 0:$.palette)==null?void 0:q.mode,_=!i&&L?{colorScheme:L,...f}:{...f};j(r(S,{..._}),_)}return Object.entries(U).forEach(([f,{css:L}])=>{var Z,K;const _=(K=(Z=l[f])==null?void 0:Z.palette)==null?void 0:K.mode,F=!i&&_?{colorScheme:_,...L}:{...L};j(r(f,{...F}),F)}),M}}}function Ed(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const _t={black:"#000",white:"#fff"},Nd={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"},Ct={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"},St={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"},Tt={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"},Mt={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"},zt={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:_t.white,default:_t.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 Dd=ii();function oi(){return{text:{primary:_t.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:_t.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,s,r,i){const o=i.light||i,l=i.dark||i*1.5;e[s]||(e.hasOwnProperty(r)?e[s]=e[r]:s==="light"?e.light=rs(e.main,o):s==="dark"&&(e.dark=ss(e.main,l)))}function Od(e="light"){return e==="dark"?{main:Tt[200],light:Tt[50],dark:Tt[400]}:{main:Tt[700],light:Tt[400],dark:Tt[800]}}function Ad(e="light"){return e==="dark"?{main:Ct[200],light:Ct[50],dark:Ct[400]}:{main:Ct[500],light:Ct[300],dark:Ct[700]}}function Id(e="light"){return e==="dark"?{main:St[500],light:St[300],dark:St[700]}:{main:St[700],light:St[400],dark:St[800]}}function Rd(e="light"){return e==="dark"?{main:Mt[400],light:Mt[300],dark:Mt[700]}:{main:Mt[700],light:Mt[500],dark:Mt[900]}}function Pd(e="light"){return e==="dark"?{main:zt[400],light:zt[300],dark:zt[700]}:{main:zt[800],light:zt[500],dark:zt[900]}}function Wd(e="light"){return e==="dark"?{main:Ht[400],light:Ht[300],dark:Ht[700]}:{main:"#ed6c02",light:Ht[500],dark:Ht[900]}}function os(e){const{mode:s="light",contrastThreshold:r=3,tonalOffset:i=.2,...o}=e,l=e.primary||Od(s),a=e.secondary||Ad(s),c=e.error||Id(s),d=e.info||Rd(s),h=e.success||Pd(s),g=e.warning||Wd(s);function p(u){const w=ni(u,li.text.primary)>=r?li.text.primary:Dd.text.primary;if(process.env.NODE_ENV!=="production"){const T=ni(u,w);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${w} on ${u}`,"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 w}const y=({color:u,name:w,mainShade:T=500,lightShade:A=300,darkShade:M=700})=>{if(u={...u},!u.main&&u[T]&&(u.main=u[T]),!u.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
100
100
|
The color object needs to have a \`main\` property or a \`${T}\` property.`:dt(11,w?` (${w})`:"",T));if(typeof u.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
101
101
|
\`color.main\` should be a string, but \`${JSON.stringify(u.main)}\` was provided instead.
|
|
102
102
|
|
|
@@ -110,7 +110,7 @@ const theme1 = createTheme({ palette: {
|
|
|
110
110
|
|
|
111
111
|
const theme2 = createTheme({ palette: {
|
|
112
112
|
primary: { main: green[500] },
|
|
113
|
-
} });`:dt(12,w?` (${w})`:"",JSON.stringify(u.main)));return ai(u,"light",A,i),ai(u,"dark",
|
|
113
|
+
} });`:dt(12,w?` (${w})`:"",JSON.stringify(u.main)));return ai(u,"light",A,i),ai(u,"dark",M,i),u.contrastText||(u.contrastText=p(u.main)),u};let x;return s==="light"?x=ii():s==="dark"&&(x=oi()),process.env.NODE_ENV!=="production"&&(x||console.error(`MUI: The palette mode \`${s}\` is not supported.`)),Ue({common:{..._t},mode:s,primary:y({color:l,name:"primary"}),secondary:y({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:c,name:"error"}),warning:y({color:g,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:h,name:"success"}),grey:Nd,contrastThreshold:r,getContrastText:p,augmentColor:y,tonalOffset:i,...x},o)}function $d(e){const s={};return Object.entries(e).forEach(i=>{const[o,l]=i;typeof l=="object"&&(s[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||""}`)}),s}function Bd(e,s){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...s}}function Fd(e){return Math.round(e*1e5)/1e5}const ci={textTransform:"uppercase"},di='"Roboto", "Helvetica", "Arial", sans-serif';function Ld(e,s){const{fontFamily:r=di,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:l=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:h,pxToRem:g,...p}=typeof s=="function"?s(e):s;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 y=i/14,x=g||(w=>`${w/d*y}rem`),b=(w,T,A,M,S)=>({fontFamily:r,fontWeight:w,fontSize:x(T),lineHeight:A,...r===di?{letterSpacing:`${Fd(M/T)}em`}:{},...S,...h}),u={h1:b(o,96,1.167,-1.5),h2:b(o,60,1.2,-.5),h3:b(l,48,1.167,0),h4:b(l,34,1.235,.25),h5:b(l,24,1.334,0),h6:b(a,20,1.6,.15),subtitle1:b(l,16,1.75,.15),subtitle2:b(a,14,1.57,.1),body1:b(l,16,1.5,.15),body2:b(l,14,1.43,.15),button:b(a,14,1.75,.4,ci),caption:b(l,12,1.66,.4),overline:b(l,12,2.66,1,ci),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ue({htmlFontSize:d,pxToRem:x,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:l,fontWeightMedium:a,fontWeightBold:c,...u},p,{clone:!1})}const _d=.2,Hd=.14,Vd=.12;function Ee(...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,${Hd})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Vd})`].join(",")}const Zd=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],Ud={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)"},qd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ui(e){return`${Math.round(e)}ms`}function Yd(e){if(!e)return 0;const s=e/36;return Math.min(Math.round((4+15*s**.25+s/5)*10),3e3)}function Gd(e){const s={...Ud,...e.easing},r={...qd,...e.duration};return{getAutoHeightDuration:Yd,create:(o=["all"],l={})=>{const{duration:a=r.standard,easing:c=s.easeInOut,delay:d=0,...h}=l;if(process.env.NODE_ENV!=="production"){const g=y=>typeof y=="string",p=y=>!Number.isNaN(parseFloat(y));!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(h).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(h).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof a=="string"?a:ui(a)} ${c} ${typeof d=="string"?d:ui(d)}`).join(",")},...e,easing:s,duration:r}}const Kd={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Qd(e){return tt(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function hi(e={}){const s={...e};function r(i){const o=Object.entries(i);for(let l=0;l<o.length;l++){const[a,c]=o[l];!Qd(c)||a.startsWith("unstable_")?delete i[a]:tt(c)&&(i[a]={...c},r(i[a]))}}return r(s),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
115
115
|
|
|
116
116
|
const theme = ${JSON.stringify(s,null,2)};
|
|
@@ -118,9 +118,9 @@ const theme = ${JSON.stringify(s,null,2)};
|
|
|
118
118
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
119
119
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
120
120
|
|
|
121
|
-
export default theme;`}function ls(e={},...s){const{breakpoints:r,mixins:i={},spacing:o,palette:l={},transitions:a={},typography:c={},shape:d,...h}=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.":dt(20));const g=os(l),p=Qr(e);let y=Ue(p,{mixins:Bd(p.breakpoints,i),palette:g,shadows:Zd.slice(),typography:Ld(g,c),transitions:Gd(a),zIndex:{...Kd}});if(y=Ue(y,h),y=s.reduce((x,b)=>Ue(x,b),y),process.env.NODE_ENV!=="production"){const x=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],b=(u,w)=>{let T;for(T in u){const A=u[T];if(x.includes(T)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const
|
|
121
|
+
export default theme;`}function ls(e={},...s){const{breakpoints:r,mixins:i={},spacing:o,palette:l={},transitions:a={},typography:c={},shape:d,...h}=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.":dt(20));const g=os(l),p=Qr(e);let y=Ue(p,{mixins:Bd(p.breakpoints,i),palette:g,shadows:Zd.slice(),typography:Ld(g,c),transitions:Gd(a),zIndex:{...Kd}});if(y=Ue(y,h),y=s.reduce((x,b)=>Ue(x,b),y),process.env.NODE_ENV!=="production"){const x=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],b=(u,w)=>{let T;for(T in u){const A=u[T];if(x.includes(T)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const M=rt("",T);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(u,null,2),"",`Instead, you need to use the '&.${M}' syntax:`,JSON.stringify({root:{[`&.${M}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
122
122
|
`))}u[T]={}}}};Object.keys(y.components).forEach(u=>{const w=y.components[u].styleOverrides;w&&u.startsWith("Mui")&&b(w,u)})}return y.unstable_sxConfig={...Bt,...h==null?void 0:h.unstable_sxConfig},y.unstable_sx=function(b){return kt({sx:b,theme:this})},y.toRuntimeSource=hi,y}function Xd(e){let s;return e<1?s=5.11916*e**2:s=4.5*Math.log(e+1)+2,Math.round(s*10)/1e3}const Jd=[...Array(25)].map((e,s)=>{if(s===0)return"none";const r=Xd(s);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});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"?Jd:[]}function e1(e){const{palette:s={mode:"light"},opacity:r,overlays:i,...o}=e,l=os(s);return{palette:l,opacity:{...fi(l.mode),...r},overlays:i||pi(l.mode),...o}}function t1(e){var s;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((s=e[1])!=null&&s.match(/(mode|contrastThreshold|tonalOffset)/))}const n1=e=>[...[...Array(25)].map((s,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],s1=e=>(s,r)=>{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===s){if(s==="dark"){const a={};return n1(e.cssVarPrefix).forEach(c=>{a[c]=r[c],delete r[c]}),l==="media"?{[i]:r,"@media (prefers-color-scheme: dark)":{[i]:a}}:l?{[l.replace("%s",s)]:a,[`${i}, ${l.replace("%s",s)}`]:r}:{[i]:{...r,...a}}}if(l&&l!=="media")return`${i}, ${l.replace("%s",String(s))}`}else if(s){if(l==="media")return{[`@media (prefers-color-scheme: ${String(s)})`]:{[i]:r}};if(l)return l.replace("%s",String(s))}return i};function r1(e,s){s.forEach(r=>{e[r]||(e[r]={})})}function V(e,s,r){!e[s]&&r&&(e[s]=r)}function Vt(e){return typeof e!="string"||!e.startsWith("hsl")?e:ti(e)}function ot(e,s){`${s}Channel`in e||(e[`${s}Channel`]=Ft(Vt(e[s]),`MUI: Can't create \`palette.${s}Channel\` because \`palette.${s}\` 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.${s}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function i1(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const nt=e=>{try{return e()}catch{}},o1=(e="mui")=>Sd(e);function as(e,s,r,i){if(!s)return;s=s===!0?{}:s;const o=i==="dark"?"dark":"light";if(!r){e[i]=e1({...s,palette:{mode:o,...s==null?void 0:s.palette}});return}const{palette:l,...a}=ls({...r,palette:{mode:o,...s==null?void 0:s.palette}});return e[i]={...s,palette:l,opacity:{...fi(o),...s==null?void 0:s.opacity},overlays:(s==null?void 0:s.overlays)||pi(o)},a}function l1(e={},...s){const{colorSchemes:r={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:l="mui",shouldSkipGeneratingVar:a=t1,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...h}=e,g=Object.keys(r)[0],p=i||(r.light&&g!=="light"?"light":g),y=o1(l),{[p]:x,light:b,dark:u,...w}=r,T={...w};let A=x;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:dt(21,p));const z=as(T,A,h,p);b&&!T.light&&as(T,b,void 0,"light"),u&&!T.dark&&as(T,u,void 0,"dark");let S={defaultColorScheme:p,...z,cssVarPrefix:l,colorSchemeSelector:c,rootSelector:d,getCssVar:y,colorSchemes:T,font:{...$d(z.typography),...z.font},spacing:i1(h.spacing)};Object.keys(S.colorSchemes).forEach(q=>{const f=S.colorSchemes[q].palette,H=_=>{const F=_.split("-"),U=F[1],G=F[2];return y(_,f[U][G])};if(f.mode==="light"&&(V(f.common,"background","#fff"),V(f.common,"onBackground","#000")),f.mode==="dark"&&(V(f.common,"background","#000"),V(f.common,"onBackground","#fff")),r1(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){V(f.Alert,"errorColor",Ce(f.error.light,.6)),V(f.Alert,"infoColor",Ce(f.info.light,.6)),V(f.Alert,"successColor",Ce(f.success.light,.6)),V(f.Alert,"warningColor",Ce(f.warning.light,.6)),V(f.Alert,"errorFilledBg",H("palette-error-main")),V(f.Alert,"infoFilledBg",H("palette-info-main")),V(f.Alert,"successFilledBg",H("palette-success-main")),V(f.Alert,"warningFilledBg",H("palette-warning-main")),V(f.Alert,"errorFilledColor",nt(()=>f.getContrastText(f.error.main))),V(f.Alert,"infoFilledColor",nt(()=>f.getContrastText(f.info.main))),V(f.Alert,"successFilledColor",nt(()=>f.getContrastText(f.success.main))),V(f.Alert,"warningFilledColor",nt(()=>f.getContrastText(f.warning.main))),V(f.Alert,"errorStandardBg",Se(f.error.light,.9)),V(f.Alert,"infoStandardBg",Se(f.info.light,.9)),V(f.Alert,"successStandardBg",Se(f.success.light,.9)),V(f.Alert,"warningStandardBg",Se(f.warning.light,.9)),V(f.Alert,"errorIconColor",H("palette-error-main")),V(f.Alert,"infoIconColor",H("palette-info-main")),V(f.Alert,"successIconColor",H("palette-success-main")),V(f.Alert,"warningIconColor",H("palette-warning-main")),V(f.AppBar,"defaultBg",H("palette-grey-100")),V(f.Avatar,"defaultBg",H("palette-grey-400")),V(f.Button,"inheritContainedBg",H("palette-grey-300")),V(f.Button,"inheritContainedHoverBg",H("palette-grey-A100")),V(f.Chip,"defaultBorder",H("palette-grey-400")),V(f.Chip,"defaultAvatarColor",H("palette-grey-700")),V(f.Chip,"defaultIconColor",H("palette-grey-700")),V(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),V(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),V(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),V(f.LinearProgress,"primaryBg",Se(f.primary.main,.62)),V(f.LinearProgress,"secondaryBg",Se(f.secondary.main,.62)),V(f.LinearProgress,"errorBg",Se(f.error.main,.62)),V(f.LinearProgress,"infoBg",Se(f.info.main,.62)),V(f.LinearProgress,"successBg",Se(f.success.main,.62)),V(f.LinearProgress,"warningBg",Se(f.warning.main,.62)),V(f.Skeleton,"bg",`rgba(${H("palette-text-primaryChannel")} / 0.11)`),V(f.Slider,"primaryTrack",Se(f.primary.main,.62)),V(f.Slider,"secondaryTrack",Se(f.secondary.main,.62)),V(f.Slider,"errorTrack",Se(f.error.main,.62)),V(f.Slider,"infoTrack",Se(f.info.main,.62)),V(f.Slider,"successTrack",Se(f.success.main,.62)),V(f.Slider,"warningTrack",Se(f.warning.main,.62));const _=vn(f.background.default,.8);V(f.SnackbarContent,"bg",_),V(f.SnackbarContent,"color",nt(()=>f.getContrastText(_))),V(f.SpeedDialAction,"fabHoverBg",vn(f.background.paper,.15)),V(f.StepConnector,"border",H("palette-grey-400")),V(f.StepContent,"border",H("palette-grey-400")),V(f.Switch,"defaultColor",H("palette-common-white")),V(f.Switch,"defaultDisabledColor",H("palette-grey-100")),V(f.Switch,"primaryDisabledColor",Se(f.primary.main,.62)),V(f.Switch,"secondaryDisabledColor",Se(f.secondary.main,.62)),V(f.Switch,"errorDisabledColor",Se(f.error.main,.62)),V(f.Switch,"infoDisabledColor",Se(f.info.main,.62)),V(f.Switch,"successDisabledColor",Se(f.success.main,.62)),V(f.Switch,"warningDisabledColor",Se(f.warning.main,.62)),V(f.TableCell,"border",Se(bn(f.divider,1),.88)),V(f.Tooltip,"bg",bn(f.grey[700],.92))}if(f.mode==="dark"){V(f.Alert,"errorColor",Se(f.error.light,.6)),V(f.Alert,"infoColor",Se(f.info.light,.6)),V(f.Alert,"successColor",Se(f.success.light,.6)),V(f.Alert,"warningColor",Se(f.warning.light,.6)),V(f.Alert,"errorFilledBg",H("palette-error-dark")),V(f.Alert,"infoFilledBg",H("palette-info-dark")),V(f.Alert,"successFilledBg",H("palette-success-dark")),V(f.Alert,"warningFilledBg",H("palette-warning-dark")),V(f.Alert,"errorFilledColor",nt(()=>f.getContrastText(f.error.dark))),V(f.Alert,"infoFilledColor",nt(()=>f.getContrastText(f.info.dark))),V(f.Alert,"successFilledColor",nt(()=>f.getContrastText(f.success.dark))),V(f.Alert,"warningFilledColor",nt(()=>f.getContrastText(f.warning.dark))),V(f.Alert,"errorStandardBg",Ce(f.error.light,.9)),V(f.Alert,"infoStandardBg",Ce(f.info.light,.9)),V(f.Alert,"successStandardBg",Ce(f.success.light,.9)),V(f.Alert,"warningStandardBg",Ce(f.warning.light,.9)),V(f.Alert,"errorIconColor",H("palette-error-main")),V(f.Alert,"infoIconColor",H("palette-info-main")),V(f.Alert,"successIconColor",H("palette-success-main")),V(f.Alert,"warningIconColor",H("palette-warning-main")),V(f.AppBar,"defaultBg",H("palette-grey-900")),V(f.AppBar,"darkBg",H("palette-background-paper")),V(f.AppBar,"darkColor",H("palette-text-primary")),V(f.Avatar,"defaultBg",H("palette-grey-600")),V(f.Button,"inheritContainedBg",H("palette-grey-800")),V(f.Button,"inheritContainedHoverBg",H("palette-grey-700")),V(f.Chip,"defaultBorder",H("palette-grey-700")),V(f.Chip,"defaultAvatarColor",H("palette-grey-300")),V(f.Chip,"defaultIconColor",H("palette-grey-300")),V(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),V(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),V(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),V(f.LinearProgress,"primaryBg",Ce(f.primary.main,.5)),V(f.LinearProgress,"secondaryBg",Ce(f.secondary.main,.5)),V(f.LinearProgress,"errorBg",Ce(f.error.main,.5)),V(f.LinearProgress,"infoBg",Ce(f.info.main,.5)),V(f.LinearProgress,"successBg",Ce(f.success.main,.5)),V(f.LinearProgress,"warningBg",Ce(f.warning.main,.5)),V(f.Skeleton,"bg",`rgba(${H("palette-text-primaryChannel")} / 0.13)`),V(f.Slider,"primaryTrack",Ce(f.primary.main,.5)),V(f.Slider,"secondaryTrack",Ce(f.secondary.main,.5)),V(f.Slider,"errorTrack",Ce(f.error.main,.5)),V(f.Slider,"infoTrack",Ce(f.info.main,.5)),V(f.Slider,"successTrack",Ce(f.success.main,.5)),V(f.Slider,"warningTrack",Ce(f.warning.main,.5));const _=vn(f.background.default,.98);V(f.SnackbarContent,"bg",_),V(f.SnackbarContent,"color",nt(()=>f.getContrastText(_))),V(f.SpeedDialAction,"fabHoverBg",vn(f.background.paper,.15)),V(f.StepConnector,"border",H("palette-grey-600")),V(f.StepContent,"border",H("palette-grey-600")),V(f.Switch,"defaultColor",H("palette-grey-300")),V(f.Switch,"defaultDisabledColor",H("palette-grey-600")),V(f.Switch,"primaryDisabledColor",Ce(f.primary.main,.55)),V(f.Switch,"secondaryDisabledColor",Ce(f.secondary.main,.55)),V(f.Switch,"errorDisabledColor",Ce(f.error.main,.55)),V(f.Switch,"infoDisabledColor",Ce(f.info.main,.55)),V(f.Switch,"successDisabledColor",Ce(f.success.main,.55)),V(f.Switch,"warningDisabledColor",Ce(f.warning.main,.55)),V(f.TableCell,"border",Ce(bn(f.divider,1),.68)),V(f.Tooltip,"bg",bn(f.grey[700],.92))}ot(f.background,"default"),ot(f.background,"paper"),ot(f.common,"background"),ot(f.common,"onBackground"),ot(f,"divider"),Object.keys(f).forEach(_=>{const F=f[_];_!=="tonalOffset"&&F&&typeof F=="object"&&(F.main&&V(f[_],"mainChannel",Ft(Vt(F.main))),F.light&&V(f[_],"lightChannel",Ft(Vt(F.light))),F.dark&&V(f[_],"darkChannel",Ft(Vt(F.dark))),F.contrastText&&V(f[_],"contrastTextChannel",Ft(Vt(F.contrastText))),_==="text"&&(ot(f[_],"primary"),ot(f[_],"secondary")),_==="action"&&(F.active&&ot(f[_],"active"),F.selected&&ot(f[_],"selected")))})}),S=s.reduce((q,f)=>Ue(q,f),S);const j={prefix:l,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:s1(S)},{vars:W,generateThemeVars:Z,generateStyleSheets:L}=zd(S,j);return S.vars=W,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([q,f])=>{S[q]=f}),S.generateThemeVars=Z,S.generateStyleSheets=L,S.generateSpacing=function(){return Kr(h.spacing,Qn(this))},S.getColorSchemeSelector=Ed(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...Bt,...h==null?void 0:h.unstable_sxConfig},S.unstable_sx=function(f){return kt({sx:f,theme:this})},S.toRuntimeSource=hi,S}function gi(e,s,r){e.colorSchemes&&r&&(e.colorSchemes[s]={...r!==!0&&r,palette:os({...r===!0?{}:r.palette,mode:s})})}function a1(e={},...s){const{palette:r,cssVariables:i=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:l=r==null?void 0:r.mode,...a}=e,c=l||"light",d=o==null?void 0:o[c],h={...o,...r?{[c]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(i===!1){if(!("colorSchemes"in e))return ls(e,...s);let g=r;"palette"in e||h[c]&&(h[c]!==!0?g=h[c].palette:c==="dark"&&(g={mode:"dark"}));const p=ls({...e,palette:g},...s);return p.defaultColorScheme=c,p.colorSchemes=h,p.palette.mode==="light"&&(p.colorSchemes.light={...h.light!==!0&&h.light,palette:p.palette},gi(p,"dark",h.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:p.palette},gi(p,"light",h.light)),p}return!r&&!("light"in h)&&c==="light"&&(h.light=!0),l1({...a,colorSchemes:h,defaultColorScheme:c,...typeof i!="boolean"&&i},...s)}const c1=a1(),d1="$$material";function u1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zt=e=>u1(e)&&e!=="classes",Ve=fd({themeId:d1,defaultTheme:c1,rootShouldForwardProp:Zt});function h1(){return Yc}const yt=Cd;process.env.NODE_ENV!=="production"&&(n.node,n.object.isRequired);function xt(e){return kd(e)}function f1(e){return rt("MuiSvgIcon",e)}ut("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const p1=e=>{const{color:s,fontSize:r,classes:i}=e,o={root:["root",s!=="inherit"&&`color${Ie(s)}`,`fontSize${Ie(r)}`]};return mt(o,f1,i)},g1=Ve("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.color!=="inherit"&&s[`color${Ie(r.color)}`],s[`fontSize${Ie(r.fontSize)}`]]}})(yt(({theme:e})=>{var s,r,i,o,l,a,c,d,h,g,p,y,x,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(s=e.transitions)==null?void 0:s.create)==null?void 0:o.call(s,"fill",{duration:(i=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:i.shorter}),variants:[{props:u=>!u.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=(h=e.typography)==null?void 0:h.pxToRem)==null?void 0:g.call(h,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,u])=>u&&u.main).map(([u])=>{var w,T;return{props:{color:u},style:{color:(T=(w=(e.vars??e).palette)==null?void 0:w[u])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(y=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(b=(x=(e.vars??e).palette)==null?void 0:x.action)==null?void 0:b.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),jn=se.forwardRef(function(s,r){const i=xt({props:s,name:"MuiSvgIcon"}),{children:o,className:l,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:h,inheritViewBox:g=!1,titleAccess:p,viewBox:y="0 0 24 24",...x}=i,b=se.isValidElement(o)&&o.type==="svg",u={...i,color:a,component:c,fontSize:d,instanceFontSize:s.fontSize,inheritViewBox:g,viewBox:y,hasSvgAsChild:b},w={};g||(w.viewBox=y);const T=p1(u);return t.jsxs(g1,{as:c,className:$e(T.root,l),focusable:"false",color:h,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...w,...x,...b&&o.props,ownerState:u,children:[b?o.props.children:o,p?t.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(jn.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}),jn.muiName="SvgIcon";function Fe(e,s){function r(i,o){return t.jsx(jn,{"data-testid":`${s}Icon`,ref:o,...i,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${s}Icon`),r.muiName=jn.muiName,se.memo(se.forwardRef(r))}function m1(e,s){if(!e)return s;if(typeof e=="function"||typeof s=="function")return o=>{const l=typeof s=="function"?s(o):s,a=typeof e=="function"?e({...o,...l}):e,c=$e(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 r=s,i=$e(r==null?void 0:r.className,e==null?void 0:e.className);return{...s,...e,...!!i&&{className:i},...(r==null?void 0:r.style)&&(e==null?void 0:e.style)&&{style:{...r.style,...e.style}},...(r==null?void 0:r.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const y1=Fe(t.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),x1=e=>t.jsx(Un,{...e,Icon:t.jsx(y1,{sx:{color:"#fcb035"}}),backgroundColor:"#fff5e5",textColor:"black"}),mi=Fe(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"),b1=Fe(t.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDownOutlined"),cs=ye.div`
|
|
123
|
+
To suppress this warning, you need to explicitly provide the \`palette.${s}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function i1(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const nt=e=>{try{return e()}catch{}},o1=(e="mui")=>Sd(e);function as(e,s,r,i){if(!s)return;s=s===!0?{}:s;const o=i==="dark"?"dark":"light";if(!r){e[i]=e1({...s,palette:{mode:o,...s==null?void 0:s.palette}});return}const{palette:l,...a}=ls({...r,palette:{mode:o,...s==null?void 0:s.palette}});return e[i]={...s,palette:l,opacity:{...fi(o),...s==null?void 0:s.opacity},overlays:(s==null?void 0:s.overlays)||pi(o)},a}function l1(e={},...s){const{colorSchemes:r={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:l="mui",shouldSkipGeneratingVar:a=t1,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...h}=e,g=Object.keys(r)[0],p=i||(r.light&&g!=="light"?"light":g),y=o1(l),{[p]:x,light:b,dark:u,...w}=r,T={...w};let A=x;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:dt(21,p));const M=as(T,A,h,p);b&&!T.light&&as(T,b,void 0,"light"),u&&!T.dark&&as(T,u,void 0,"dark");let S={defaultColorScheme:p,...M,cssVarPrefix:l,colorSchemeSelector:c,rootSelector:d,getCssVar:y,colorSchemes:T,font:{...$d(M.typography),...M.font},spacing:i1(h.spacing)};Object.keys(S.colorSchemes).forEach(q=>{const f=S.colorSchemes[q].palette,L=_=>{const F=_.split("-"),Z=F[1],K=F[2];return y(_,f[Z][K])};if(f.mode==="light"&&(V(f.common,"background","#fff"),V(f.common,"onBackground","#000")),f.mode==="dark"&&(V(f.common,"background","#000"),V(f.common,"onBackground","#fff")),r1(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){V(f.Alert,"errorColor",Ce(f.error.light,.6)),V(f.Alert,"infoColor",Ce(f.info.light,.6)),V(f.Alert,"successColor",Ce(f.success.light,.6)),V(f.Alert,"warningColor",Ce(f.warning.light,.6)),V(f.Alert,"errorFilledBg",L("palette-error-main")),V(f.Alert,"infoFilledBg",L("palette-info-main")),V(f.Alert,"successFilledBg",L("palette-success-main")),V(f.Alert,"warningFilledBg",L("palette-warning-main")),V(f.Alert,"errorFilledColor",nt(()=>f.getContrastText(f.error.main))),V(f.Alert,"infoFilledColor",nt(()=>f.getContrastText(f.info.main))),V(f.Alert,"successFilledColor",nt(()=>f.getContrastText(f.success.main))),V(f.Alert,"warningFilledColor",nt(()=>f.getContrastText(f.warning.main))),V(f.Alert,"errorStandardBg",Se(f.error.light,.9)),V(f.Alert,"infoStandardBg",Se(f.info.light,.9)),V(f.Alert,"successStandardBg",Se(f.success.light,.9)),V(f.Alert,"warningStandardBg",Se(f.warning.light,.9)),V(f.Alert,"errorIconColor",L("palette-error-main")),V(f.Alert,"infoIconColor",L("palette-info-main")),V(f.Alert,"successIconColor",L("palette-success-main")),V(f.Alert,"warningIconColor",L("palette-warning-main")),V(f.AppBar,"defaultBg",L("palette-grey-100")),V(f.Avatar,"defaultBg",L("palette-grey-400")),V(f.Button,"inheritContainedBg",L("palette-grey-300")),V(f.Button,"inheritContainedHoverBg",L("palette-grey-A100")),V(f.Chip,"defaultBorder",L("palette-grey-400")),V(f.Chip,"defaultAvatarColor",L("palette-grey-700")),V(f.Chip,"defaultIconColor",L("palette-grey-700")),V(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),V(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),V(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),V(f.LinearProgress,"primaryBg",Se(f.primary.main,.62)),V(f.LinearProgress,"secondaryBg",Se(f.secondary.main,.62)),V(f.LinearProgress,"errorBg",Se(f.error.main,.62)),V(f.LinearProgress,"infoBg",Se(f.info.main,.62)),V(f.LinearProgress,"successBg",Se(f.success.main,.62)),V(f.LinearProgress,"warningBg",Se(f.warning.main,.62)),V(f.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.11)`),V(f.Slider,"primaryTrack",Se(f.primary.main,.62)),V(f.Slider,"secondaryTrack",Se(f.secondary.main,.62)),V(f.Slider,"errorTrack",Se(f.error.main,.62)),V(f.Slider,"infoTrack",Se(f.info.main,.62)),V(f.Slider,"successTrack",Se(f.success.main,.62)),V(f.Slider,"warningTrack",Se(f.warning.main,.62));const _=vn(f.background.default,.8);V(f.SnackbarContent,"bg",_),V(f.SnackbarContent,"color",nt(()=>f.getContrastText(_))),V(f.SpeedDialAction,"fabHoverBg",vn(f.background.paper,.15)),V(f.StepConnector,"border",L("palette-grey-400")),V(f.StepContent,"border",L("palette-grey-400")),V(f.Switch,"defaultColor",L("palette-common-white")),V(f.Switch,"defaultDisabledColor",L("palette-grey-100")),V(f.Switch,"primaryDisabledColor",Se(f.primary.main,.62)),V(f.Switch,"secondaryDisabledColor",Se(f.secondary.main,.62)),V(f.Switch,"errorDisabledColor",Se(f.error.main,.62)),V(f.Switch,"infoDisabledColor",Se(f.info.main,.62)),V(f.Switch,"successDisabledColor",Se(f.success.main,.62)),V(f.Switch,"warningDisabledColor",Se(f.warning.main,.62)),V(f.TableCell,"border",Se(bn(f.divider,1),.88)),V(f.Tooltip,"bg",bn(f.grey[700],.92))}if(f.mode==="dark"){V(f.Alert,"errorColor",Se(f.error.light,.6)),V(f.Alert,"infoColor",Se(f.info.light,.6)),V(f.Alert,"successColor",Se(f.success.light,.6)),V(f.Alert,"warningColor",Se(f.warning.light,.6)),V(f.Alert,"errorFilledBg",L("palette-error-dark")),V(f.Alert,"infoFilledBg",L("palette-info-dark")),V(f.Alert,"successFilledBg",L("palette-success-dark")),V(f.Alert,"warningFilledBg",L("palette-warning-dark")),V(f.Alert,"errorFilledColor",nt(()=>f.getContrastText(f.error.dark))),V(f.Alert,"infoFilledColor",nt(()=>f.getContrastText(f.info.dark))),V(f.Alert,"successFilledColor",nt(()=>f.getContrastText(f.success.dark))),V(f.Alert,"warningFilledColor",nt(()=>f.getContrastText(f.warning.dark))),V(f.Alert,"errorStandardBg",Ce(f.error.light,.9)),V(f.Alert,"infoStandardBg",Ce(f.info.light,.9)),V(f.Alert,"successStandardBg",Ce(f.success.light,.9)),V(f.Alert,"warningStandardBg",Ce(f.warning.light,.9)),V(f.Alert,"errorIconColor",L("palette-error-main")),V(f.Alert,"infoIconColor",L("palette-info-main")),V(f.Alert,"successIconColor",L("palette-success-main")),V(f.Alert,"warningIconColor",L("palette-warning-main")),V(f.AppBar,"defaultBg",L("palette-grey-900")),V(f.AppBar,"darkBg",L("palette-background-paper")),V(f.AppBar,"darkColor",L("palette-text-primary")),V(f.Avatar,"defaultBg",L("palette-grey-600")),V(f.Button,"inheritContainedBg",L("palette-grey-800")),V(f.Button,"inheritContainedHoverBg",L("palette-grey-700")),V(f.Chip,"defaultBorder",L("palette-grey-700")),V(f.Chip,"defaultAvatarColor",L("palette-grey-300")),V(f.Chip,"defaultIconColor",L("palette-grey-300")),V(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),V(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),V(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),V(f.LinearProgress,"primaryBg",Ce(f.primary.main,.5)),V(f.LinearProgress,"secondaryBg",Ce(f.secondary.main,.5)),V(f.LinearProgress,"errorBg",Ce(f.error.main,.5)),V(f.LinearProgress,"infoBg",Ce(f.info.main,.5)),V(f.LinearProgress,"successBg",Ce(f.success.main,.5)),V(f.LinearProgress,"warningBg",Ce(f.warning.main,.5)),V(f.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.13)`),V(f.Slider,"primaryTrack",Ce(f.primary.main,.5)),V(f.Slider,"secondaryTrack",Ce(f.secondary.main,.5)),V(f.Slider,"errorTrack",Ce(f.error.main,.5)),V(f.Slider,"infoTrack",Ce(f.info.main,.5)),V(f.Slider,"successTrack",Ce(f.success.main,.5)),V(f.Slider,"warningTrack",Ce(f.warning.main,.5));const _=vn(f.background.default,.98);V(f.SnackbarContent,"bg",_),V(f.SnackbarContent,"color",nt(()=>f.getContrastText(_))),V(f.SpeedDialAction,"fabHoverBg",vn(f.background.paper,.15)),V(f.StepConnector,"border",L("palette-grey-600")),V(f.StepContent,"border",L("palette-grey-600")),V(f.Switch,"defaultColor",L("palette-grey-300")),V(f.Switch,"defaultDisabledColor",L("palette-grey-600")),V(f.Switch,"primaryDisabledColor",Ce(f.primary.main,.55)),V(f.Switch,"secondaryDisabledColor",Ce(f.secondary.main,.55)),V(f.Switch,"errorDisabledColor",Ce(f.error.main,.55)),V(f.Switch,"infoDisabledColor",Ce(f.info.main,.55)),V(f.Switch,"successDisabledColor",Ce(f.success.main,.55)),V(f.Switch,"warningDisabledColor",Ce(f.warning.main,.55)),V(f.TableCell,"border",Ce(bn(f.divider,1),.68)),V(f.Tooltip,"bg",bn(f.grey[700],.92))}ot(f.background,"default"),ot(f.background,"paper"),ot(f.common,"background"),ot(f.common,"onBackground"),ot(f,"divider"),Object.keys(f).forEach(_=>{const F=f[_];_!=="tonalOffset"&&F&&typeof F=="object"&&(F.main&&V(f[_],"mainChannel",Ft(Vt(F.main))),F.light&&V(f[_],"lightChannel",Ft(Vt(F.light))),F.dark&&V(f[_],"darkChannel",Ft(Vt(F.dark))),F.contrastText&&V(f[_],"contrastTextChannel",Ft(Vt(F.contrastText))),_==="text"&&(ot(f[_],"primary"),ot(f[_],"secondary")),_==="action"&&(F.active&&ot(f[_],"active"),F.selected&&ot(f[_],"selected")))})}),S=s.reduce((q,f)=>Ue(q,f),S);const j={prefix:l,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:s1(S)},{vars:I,generateThemeVars:U,generateStyleSheets:$}=zd(S,j);return S.vars=I,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([q,f])=>{S[q]=f}),S.generateThemeVars=U,S.generateStyleSheets=$,S.generateSpacing=function(){return Kr(h.spacing,Qn(this))},S.getColorSchemeSelector=Ed(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...Bt,...h==null?void 0:h.unstable_sxConfig},S.unstable_sx=function(f){return kt({sx:f,theme:this})},S.toRuntimeSource=hi,S}function gi(e,s,r){e.colorSchemes&&r&&(e.colorSchemes[s]={...r!==!0&&r,palette:os({...r===!0?{}:r.palette,mode:s})})}function a1(e={},...s){const{palette:r,cssVariables:i=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:l=r==null?void 0:r.mode,...a}=e,c=l||"light",d=o==null?void 0:o[c],h={...o,...r?{[c]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(i===!1){if(!("colorSchemes"in e))return ls(e,...s);let g=r;"palette"in e||h[c]&&(h[c]!==!0?g=h[c].palette:c==="dark"&&(g={mode:"dark"}));const p=ls({...e,palette:g},...s);return p.defaultColorScheme=c,p.colorSchemes=h,p.palette.mode==="light"&&(p.colorSchemes.light={...h.light!==!0&&h.light,palette:p.palette},gi(p,"dark",h.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:p.palette},gi(p,"light",h.light)),p}return!r&&!("light"in h)&&c==="light"&&(h.light=!0),l1({...a,colorSchemes:h,defaultColorScheme:c,...typeof i!="boolean"&&i},...s)}const c1=a1(),d1="$$material";function u1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zt=e=>u1(e)&&e!=="classes",Ve=fd({themeId:d1,defaultTheme:c1,rootShouldForwardProp:Zt});function h1(){return Yc}const yt=Cd;process.env.NODE_ENV!=="production"&&(n.node,n.object.isRequired);function xt(e){return kd(e)}function f1(e){return rt("MuiSvgIcon",e)}ut("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const p1=e=>{const{color:s,fontSize:r,classes:i}=e,o={root:["root",s!=="inherit"&&`color${Ie(s)}`,`fontSize${Ie(r)}`]};return mt(o,f1,i)},g1=Ve("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.color!=="inherit"&&s[`color${Ie(r.color)}`],s[`fontSize${Ie(r.fontSize)}`]]}})(yt(({theme:e})=>{var s,r,i,o,l,a,c,d,h,g,p,y,x,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(s=e.transitions)==null?void 0:s.create)==null?void 0:o.call(s,"fill",{duration:(i=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:i.shorter}),variants:[{props:u=>!u.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=(h=e.typography)==null?void 0:h.pxToRem)==null?void 0:g.call(h,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,u])=>u&&u.main).map(([u])=>{var w,T;return{props:{color:u},style:{color:(T=(w=(e.vars??e).palette)==null?void 0:w[u])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(y=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(b=(x=(e.vars??e).palette)==null?void 0:x.action)==null?void 0:b.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),jn=re.forwardRef(function(s,r){const i=xt({props:s,name:"MuiSvgIcon"}),{children:o,className:l,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:h,inheritViewBox:g=!1,titleAccess:p,viewBox:y="0 0 24 24",...x}=i,b=re.isValidElement(o)&&o.type==="svg",u={...i,color:a,component:c,fontSize:d,instanceFontSize:s.fontSize,inheritViewBox:g,viewBox:y,hasSvgAsChild:b},w={};g||(w.viewBox=y);const T=p1(u);return t.jsxs(g1,{as:c,className:$e(T.root,l),focusable:"false",color:h,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...w,...x,...b&&o.props,ownerState:u,children:[b?o.props.children:o,p?t.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(jn.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}),jn.muiName="SvgIcon";function Fe(e,s){function r(i,o){return t.jsx(jn,{"data-testid":`${s}Icon`,ref:o,...i,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${s}Icon`),r.muiName=jn.muiName,re.memo(re.forwardRef(r))}function m1(e,s){if(!e)return s;if(typeof e=="function"||typeof s=="function")return o=>{const l=typeof s=="function"?s(o):s,a=typeof e=="function"?e({...o,...l}):e,c=$e(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 r=s,i=$e(r==null?void 0:r.className,e==null?void 0:e.className);return{...s,...e,...!!i&&{className:i},...(r==null?void 0:r.style)&&(e==null?void 0:e.style)&&{style:{...r.style,...e.style}},...(r==null?void 0:r.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const y1=Fe(t.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),x1=e=>t.jsx(Un,{...e,Icon:t.jsx(y1,{sx:{color:"#fcb035"}}),backgroundColor:"#fff5e5",textColor:"black"}),mi=Fe(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"),b1=Fe(t.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDownOutlined"),cs=ye.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.${s}Chann
|
|
|
305
305
|
box-shadow: 0 2px 0 #ff3d00 inset;
|
|
306
306
|
animation: ${Yi} 2s linear infinite;
|
|
307
307
|
}
|
|
308
|
-
`,Gi=({type:e="default"})=>{const s={default:"default",red:"red",icon:"icon",withOutContainer:"withOutContainer"};switch(e){case s.red:return t.jsx(zs,{children:t.jsx(I1,{})});case s.icon:return t.jsx(zs,{children:t.jsx(Es,{children:t.jsx(A1,{width:"50px",height:"50px"})})});case s.withOutContainer:return t.jsx(Es,{});default:return t.jsx(zs,{children:t.jsx(Es,{})})}};Gi.propTypes={type:n.oneOf(["default","red","icon","withOutContainer"])};const Ki=
|
|
308
|
+
`,Gi=({type:e="default"})=>{const s={default:"default",red:"red",icon:"icon",withOutContainer:"withOutContainer"};switch(e){case s.red:return t.jsx(zs,{children:t.jsx(I1,{})});case s.icon:return t.jsx(zs,{children:t.jsx(Es,{children:t.jsx(A1,{width:"50px",height:"50px"})})});case s.withOutContainer:return t.jsx(Es,{});default:return t.jsx(zs,{children:t.jsx(Es,{})})}};Gi.propTypes={type:n.oneOf(["default","red","icon","withOutContainer"])};const Ki=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(Ki.displayName="FormControlContext");function Ns(){return re.useContext(Ki)}class Dn{constructor(){Xt(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 Dn}static use(){const s=Pr(Dn.create).current,[r,i]=re.useState(!1);return s.shouldMount=r,s.setShouldMount=i,re.useEffect(s.mountEffect,[r]),s}mount(){return this.mounted||(this.mounted=P1(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...s){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...s)})}stop(...s){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...s)})}pulsate(...s){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...s)})}}function R1(){return Dn.use()}function P1(){let e,s;const r=new Promise((i,o)=>{e=i,s=o});return r.resolve=e,r.reject=s,r}function Ds(){return Ds=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var r=arguments[s];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ds.apply(null,arguments)}function W1(e,s){if(e==null)return{};var r={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(s.includes(i))continue;r[i]=e[i]}return r}function Os(e,s){return Os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Os(e,s)}function $1(e,s){e.prototype=Object.create(s.prototype),e.prototype.constructor=e,Os(e,s)}const Qi=v.createContext(null);function B1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function As(e,s){var r=function(l){return s&&v.isValidElement(l)?s(l):l},i=Object.create(null);return e&&v.Children.map(e,function(o){return o}).forEach(function(o){i[o.key]=r(o)}),i}function F1(e,s){e=e||{},s=s||{};function r(g){return g in s?s[g]:e[g]}var i=Object.create(null),o=[];for(var l in e)l in s?o.length&&(i[l]=o,o=[]):o.push(l);var a,c={};for(var d in s){if(i[d])for(a=0;a<i[d].length;a++){var h=i[d][a];c[i[d][a]]=r(h)}c[d]=r(d)}for(a=0;a<o.length;a++)c[o[a]]=r(o[a]);return c}function bt(e,s,r){return r[s]!=null?r[s]:e.props[s]}function L1(e,s){return As(e.children,function(r){return v.cloneElement(r,{onExited:s.bind(null,r),in:!0,appear:bt(r,"appear",e),enter:bt(r,"enter",e),exit:bt(r,"exit",e)})})}function _1(e,s,r){var i=As(e.children),o=F1(s,i);return Object.keys(o).forEach(function(l){var a=o[l];if(v.isValidElement(a)){var c=l in s,d=l in i,h=s[l],g=v.isValidElement(h)&&!h.props.in;d&&(!c||g)?o[l]=v.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}):!d&&c&&!g?o[l]=v.cloneElement(a,{in:!1}):d&&c&&v.isValidElement(h)&&(o[l]=v.cloneElement(a,{onExited:r.bind(null,a),in:h.props.in,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}))}}),o}var H1=Object.values||function(e){return Object.keys(e).map(function(s){return e[s]})},V1={component:"div",childFactory:function(s){return s}},Is=function(e){$1(s,e);function s(i,o){var l;l=e.call(this,i,o)||this;var a=l.handleExited.bind(B1(l));return l.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},l}var r=s.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},s.getDerivedStateFromProps=function(o,l){var a=l.children,c=l.handleExited,d=l.firstRender;return{children:d?L1(o,c):_1(o,a,c),firstRender:!1}},r.handleExited=function(o,l){var a=As(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(l),this.mounted&&this.setState(function(c){var d=Ds({},c.children);return delete d[o.key],{children:d}}))},r.render=function(){var o=this.props,l=o.component,a=o.childFactory,c=W1(o,["component","childFactory"]),d=this.state.contextValue,h=H1(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,l===null?v.createElement(Qi.Provider,{value:d},h):v.createElement(Qi.Provider,{value:d},v.createElement(l,c,h))},s}(v.Component);Is.propTypes=process.env.NODE_ENV!=="production"?{component:n.any,children:n.node,appear:n.bool,enter:n.bool,exit:n.bool,childFactory:n.func}:{},Is.defaultProps=V1;function Xi(e){const{className:s,classes:r,pulsate:i=!1,rippleX:o,rippleY:l,rippleSize:a,in:c,onExited:d,timeout:h}=e,[g,p]=re.useState(!1),y=$e(s,r.ripple,r.rippleVisible,i&&r.ripplePulsate),x={width:a,height:a,top:-(a/2)+l,left:-(a/2)+o},b=$e(r.child,g&&r.childLeaving,i&&r.childPulsate);return!c&&!g&&p(!0),re.useEffect(()=>{if(!c&&d!=null){const u=setTimeout(d,h);return()=>{clearTimeout(u)}}},[d,c,h]),t.jsx("span",{className:y,style:x,children:t.jsx("span",{className:b})})}process.env.NODE_ENV!=="production"&&(Xi.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 Xe=ut("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Rs=550,Z1=80,U1=Pn.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.${s}Chann
|
|
|
378
378
|
animation-iteration-count: infinite;
|
|
379
379
|
animation-delay: 200ms;
|
|
380
380
|
}
|
|
381
|
-
`,Ji=se.forwardRef(function(s,r){const i=xt({props:s,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:a,...c}=i,[d,h]=se.useState([]),g=se.useRef(0),p=se.useRef(null);se.useEffect(()=>{p.current&&(p.current(),p.current=null)},[d]);const y=se.useRef(!1),x=Za(),b=se.useRef(null),u=se.useRef(null),w=se.useCallback(S=>{const{pulsate:j,rippleX:W,rippleY:Z,rippleSize:L,cb:q}=S;h(f=>[...f,t.jsx(K1,{classes:{ripple:$e(l.ripple,Xe.ripple),rippleVisible:$e(l.rippleVisible,Xe.rippleVisible),ripplePulsate:$e(l.ripplePulsate,Xe.ripplePulsate),child:$e(l.child,Xe.child),childLeaving:$e(l.childLeaving,Xe.childLeaving),childPulsate:$e(l.childPulsate,Xe.childPulsate)},timeout:Rs,pulsate:j,rippleX:W,rippleY:Z,rippleSize:L},g.current)]),g.current+=1,p.current=q},[l]),T=se.useCallback((S={},j={},W=()=>{})=>{const{pulsate:Z=!1,center:L=o||j.pulsate,fakeElement:q=!1}=j;if((S==null?void 0:S.type)==="mousedown"&&y.current){y.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(y.current=!0);const f=q?null:u.current,H=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let _,F,U;if(L||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)_=Math.round(H.width/2),F=Math.round(H.height/2);else{const{clientX:G,clientY:ee}=S.touches&&S.touches.length>0?S.touches[0]:S;_=Math.round(G-H.left),F=Math.round(ee-H.top)}if(L)U=Math.sqrt((2*H.width**2+H.height**2)/3),U%2===0&&(U+=1);else{const G=Math.max(Math.abs((f?f.clientWidth:0)-_),_)*2+2,ee=Math.max(Math.abs((f?f.clientHeight:0)-F),F)*2+2;U=Math.sqrt(G**2+ee**2)}S!=null&&S.touches?b.current===null&&(b.current=()=>{w({pulsate:Z,rippleX:_,rippleY:F,rippleSize:U,cb:W})},x.start(Z1,()=>{b.current&&(b.current(),b.current=null)})):w({pulsate:Z,rippleX:_,rippleY:F,rippleSize:U,cb:W})},[o,w,x]),A=se.useCallback(()=>{T({},{pulsate:!0})},[T]),z=se.useCallback((S,j)=>{if(x.clear(),(S==null?void 0:S.type)==="touchend"&&b.current){b.current(),b.current=null,x.start(0,()=>{z(S,j)});return}b.current=null,h(W=>W.length>0?W.slice(1):W),p.current=j},[x]);return se.useImperativeHandle(r,()=>({pulsate:A,start:T,stop:z}),[A,T,z]),t.jsx(G1,{className:$e(Xe.root,l.root,a),ref:u,...c,children:t.jsx(Is,{component:null,exit:!0,children:d})})});process.env.NODE_ENV!=="production"&&(Ji.propTypes={center:n.bool,classes:n.object,className:n.string});function Q1(e){return rt("MuiButtonBase",e)}const X1=ut("MuiButtonBase",["root","disabled","focusVisible"]),J1=e=>{const{disabled:s,focusVisible:r,focusVisibleClassName:i,classes:o}=e,a=mt({root:["root",s&&"disabled",r&&"focusVisible"]},Q1,o);return r&&i&&(a.root+=` ${i}`),a},e0=Ve("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,s)=>s.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"},[`&.${X1.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),eo=se.forwardRef(function(s,r){const i=xt({props:s,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:a,className:c,component:d="button",disabled:h=!1,disableRipple:g=!1,disableTouchRipple:p=!1,focusRipple:y=!1,focusVisibleClassName:x,LinkComponent:b="a",onBlur:u,onClick:w,onContextMenu:T,onDragLeave:A,onFocus:z,onFocusVisible:S,onKeyDown:j,onKeyUp:W,onMouseDown:Z,onMouseLeave:L,onMouseUp:q,onTouchEnd:f,onTouchMove:H,onTouchStart:_,tabIndex:F=0,TouchRippleProps:U,touchRippleRef:G,type:ee,...Y}=i,O=se.useRef(null),k=R1(),m=Yn(k.ref,G),[E,P]=se.useState(!1);h&&E&&P(!1),se.useImperativeHandle(o,()=>({focusVisible:()=>{P(!0),O.current.focus()}}),[]);const I=k.shouldMount&&!g&&!h;se.useEffect(()=>{E&&y&&!g&&k.pulsate()},[g,y,E,k]);const M=lt(k,"start",Z,p),D=lt(k,"stop",T,p),$=lt(k,"stop",A,p),B=lt(k,"stop",q,p),R=lt(k,"stop",te=>{E&&te.preventDefault(),L&&L(te)},p),J=lt(k,"start",_,p),K=lt(k,"stop",f,p),re=lt(k,"stop",H,p),X=lt(k,"stop",te=>{Wr(te.target)||P(!1),u&&u(te)},!1),he=rn(te=>{O.current||(O.current=te.currentTarget),Wr(te.target)&&(P(!0),S&&S(te)),z&&z(te)}),le=()=>{const te=O.current;return d&&d!=="button"&&!(te.tagName==="A"&&te.href)},fe=rn(te=>{y&&!te.repeat&&E&&te.key===" "&&k.stop(te,()=>{k.start(te)}),te.target===te.currentTarget&&le()&&te.key===" "&&te.preventDefault(),j&&j(te),te.target===te.currentTarget&&le()&&te.key==="Enter"&&!h&&(te.preventDefault(),w&&w(te))}),_e=rn(te=>{y&&te.key===" "&&E&&!te.defaultPrevented&&k.stop(te,()=>{k.pulsate(te)}),W&&W(te),w&&te.target===te.currentTarget&&le()&&te.key===" "&&!te.defaultPrevented&&w(te)});let ke=d;ke==="button"&&(Y.href||Y.to)&&(ke=b);const Pe={};ke==="button"?(Pe.type=ee===void 0?"button":ee,Pe.disabled=h):(!Y.href&&!Y.to&&(Pe.role="button"),h&&(Pe["aria-disabled"]=h));const ce=Yn(r,O),oe={...i,centerRipple:l,component:d,disabled:h,disableRipple:g,disableTouchRipple:p,focusRipple:y,tabIndex:F,focusVisible:E},de=J1(oe);return t.jsxs(e0,{as:ke,className:$e(de.root,c),ownerState:oe,onBlur:X,onClick:w,onContextMenu:D,onFocus:he,onKeyDown:fe,onKeyUp:_e,onMouseDown:M,onMouseLeave:R,onMouseUp:B,onDragLeave:$,onTouchEnd:K,onTouchMove:re,onTouchStart:J,ref:ce,tabIndex:h?-1:F,type:ee,...Pe,...Y,children:[a,I?t.jsx(Ji,{ref:m,center:l,...U}):null]})});function lt(e,s,r,i=!1){return rn(o=>(r&&r(o),i||e[s](o),!0))}process.env.NODE_ENV!=="production"&&(eo.propTypes={action:sn,centerRipple:n.bool,children:n.node,classes:n.object,className:n.string,component:$a,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 t0(e){return rt("PrivateSwitchBase",e)}ut("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);function qt(e,s){const{className:r,elementType:i,ownerState:o,externalForwardedProps:l,internalForwardedProps:a,shouldForwardComponentProp:c=!1,...d}=s,{component:h,slots:g={[e]:void 0},slotProps:p={[e]:void 0},...y}=l,x=g[e]||i,b=Ja(p[e],o),{props:{component:u,...w},internalRef:T}=Xa({className:r,...d,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:b}),A=Yn(T,b==null?void 0:b.ref,s.ref),z=e==="root"?u||h:u,S=Ka(x,{...e==="root"&&!h&&!g[e]&&a,...e!=="root"&&!g[e]&&a,...w,...z&&!c&&{as:z},...z&&c&&{component:z},ref:A},o);return[x,S]}const n0=e=>{const{classes:s,checked:r,disabled:i,edge:o}=e,l={root:["root",r&&"checked",i&&"disabled",o&&`edge${Ie(o)}`],input:["input"]};return mt(l,t0,s)},s0=Ve(eo)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:s})=>e==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:s})=>e==="end"&&s.size!=="small",style:{marginRight:-12}}]}),r0=Ve("input",{shouldForwardProp:Zt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ps=se.forwardRef(function(s,r){const{autoFocus:i,checked:o,checkedIcon:l,defaultChecked:a,disabled:c,disableFocusRipple:d=!1,edge:h=!1,icon:g,id:p,inputProps:y,inputRef:x,name:b,onBlur:u,onChange:w,onFocus:T,readOnly:A,required:z=!1,tabIndex:S,type:j,value:W,slots:Z={},slotProps:L={},...q}=s,[f,H]=_a({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),_=Ns(),F=D=>{T&&T(D),_&&_.onFocus&&_.onFocus(D)},U=D=>{u&&u(D),_&&_.onBlur&&_.onBlur(D)},G=D=>{if(D.nativeEvent.defaultPrevented)return;const $=D.target.checked;H($),w&&w(D,$)};let ee=c;_&&typeof ee>"u"&&(ee=_.disabled);const Y=j==="checkbox"||j==="radio",O={...s,checked:f,disabled:ee,disableFocusRipple:d,edge:h},k=n0(O),m={slots:Z,slotProps:{input:y,...L}},[E,P]=qt("root",{ref:r,elementType:s0,className:k.root,shouldForwardComponentProp:!0,externalForwardedProps:{...m,component:"span",...q},getSlotProps:D=>({...D,onFocus:$=>{var B;(B=D.onFocus)==null||B.call(D,$),F($)},onBlur:$=>{var B;(B=D.onBlur)==null||B.call(D,$),U($)}}),ownerState:O,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:ee,role:void 0,tabIndex:null}}),[I,M]=qt("input",{ref:x,elementType:r0,className:k.input,externalForwardedProps:m,getSlotProps:D=>({onChange:$=>{var B;(B=D.onChange)==null||B.call(D,$),G($)}}),ownerState:O,additionalProps:{autoFocus:i,checked:o,defaultChecked:a,disabled:ee,id:Y?p:void 0,name:b,readOnly:A,required:z,tabIndex:S,type:j,...j==="checkbox"&&W===void 0?{}:{value:W}}});return t.jsxs(E,{...P,children:[t.jsx(I,{...M}),f?l:g]})});process.env.NODE_ENV!=="production"&&(Ps.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 i0=Fe(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"),o0=Fe(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"),l0=Ve("span",{shouldForwardProp:Zt})({position:"relative",display:"flex"}),a0=Ve(i0)({transform:"scale(1)"}),c0=Ve(o0)(yt(({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 Ws(e){const{checked:s=!1,classes:r={},fontSize:i}=e,o={...e,checked:s};return t.jsxs(l0,{className:r.root,ownerState:o,children:[t.jsx(a0,{fontSize:i,className:r.background,ownerState:o}),t.jsx(c0,{fontSize:i,className:r.dot,ownerState:o})]})}process.env.NODE_ENV!=="production"&&(Ws.propTypes={checked:n.bool,classes:n.object,fontSize:n.oneOf(["small","medium"])});const to=se.createContext(void 0);process.env.NODE_ENV!=="production"&&(to.displayName="RadioGroupContext");function d0(){return se.useContext(to)}function u0(e){return rt("MuiRadio",e)}const no=ut("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);function h0(e){return typeof e.main=="string"}function f0(e,s=[]){if(!h0(e))return!1;for(const r of s)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Yt(e=[]){return([,s])=>s&&f0(s,e)}const p0=e=>{const{classes:s,color:r,size:i}=e,o={root:["root",`color${Ie(r)}`,i!=="medium"&&`size${Ie(i)}`]};return{...s,...mt(o,u0,s)}},g0=Ve(Ps,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.size!=="medium"&&s[`size${Ie(r.size)}`],s[`color${Ie(r.color)}`]]}})(yt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${no.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(Yt()).map(([s])=>({props:{color:s,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[s].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Yt()).map(([s])=>({props:{color:s,disabled:!1},style:{[`&.${no.checked}`]:{color:(e.vars||e).palette[s].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function m0(e,s){return typeof s=="object"&&s!==null?e===s:String(e)===String(s)}const y0=t.jsx(Ws,{checked:!0}),x0=t.jsx(Ws,{}),so=se.forwardRef(function(s,r){const i=xt({props:s,name:"MuiRadio"}),{checked:o,checkedIcon:l=y0,color:a="primary",icon:c=x0,name:d,onChange:h,size:g="medium",className:p,disabled:y,disableRipple:x=!1,slots:b={},slotProps:u={},inputProps:w,...T}=i,A=Ns();let z=y;A&&typeof z>"u"&&(z=A.disabled),z??(z=!1);const S={...i,disabled:z,disableRipple:x,color:a,size:g},j=p0(S),W=d0();let Z=o;const L=Fa(h,W&&W.onChange);let q=d;W&&(typeof Z>"u"&&(Z=m0(W.value,i.value)),typeof q>"u"&&(q=W.name));const f=u.input??w,[H,_]=qt("root",{ref:r,elementType:g0,className:$e(j.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:b,slotProps:u,...T},getSlotProps:F=>({...F,onChange:(U,...G)=>{var ee;(ee=F.onChange)==null||ee.call(F,U,...G),L(U,...G)}}),ownerState:S,additionalProps:{type:"radio",icon:se.cloneElement(c,{fontSize:c.props.fontSize??g}),checkedIcon:se.cloneElement(l,{fontSize:l.props.fontSize??g}),disabled:z,name:q,checked:Z,slots:b,slotProps:{input:typeof f=="function"?f(S):f}}});return t.jsx(H,{..._,classes:j})});process.env.NODE_ENV!=="production"&&(so.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 b0(e){return rt("MuiTypography",e)}ut("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const v0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},j0=h1(),w0=e=>{const{align:s,gutterBottom:r,noWrap:i,paragraph:o,variant:l,classes:a}=e,c={root:["root",l,e.align!=="inherit"&&`align${Ie(s)}`,r&&"gutterBottom",i&&"noWrap",o&&"paragraph"]};return mt(c,b0,a)},k0=Ve("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.variant&&s[r.variant],r.align!=="inherit"&&s[`align${Ie(r.align)}`],r.noWrap&&s.noWrap,r.gutterBottom&&s.gutterBottom,r.paragraph&&s.paragraph]}})(yt(({theme:e})=>{var s;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,i])=>r!=="inherit"&&i&&typeof i=="object").map(([r,i])=>({props:{variant:r},style:i})),...Object.entries(e.palette).filter(Yt()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((s=e.palette)==null?void 0:s.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${Ie(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),ro={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},$s=se.forwardRef(function(s,r){const{color:i,...o}=xt({props:s,name:"MuiTypography"}),l=!v0[i],a=j0({...o,...l&&{color:i}}),{align:c="inherit",className:d,component:h,gutterBottom:g=!1,noWrap:p=!1,paragraph:y=!1,variant:x="body1",variantMapping:b=ro,...u}=a,w={...a,align:c,color:i,className:d,component:h,gutterBottom:g,noWrap:p,paragraph:y,variant:x,variantMapping:b},T=h||(y?"p":b[x]||ro[x])||"span",A=w0(w);return t.jsx(k0,{as:T,ref:r,className:$e(A.root,d),...u,ownerState:w,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...u.style}})});process.env.NODE_ENV!=="production"&&($s.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 C0(e){return rt("MuiFormControlLabel",e)}const Gt=ut("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function S0({props:e,states:s,muiFormControl:r}){return s.reduce((i,o)=>(i[o]=e[o],r&&typeof e[o]>"u"&&(i[o]=r[o]),i),{})}const T0=e=>{const{classes:s,disabled:r,labelPlacement:i,error:o,required:l}=e,a={root:["root",r&&"disabled",`labelPlacement${Ie(i)}`,o&&"error",l&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]};return mt(a,C0,s)},M0=Ve("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[{[`& .${Gt.label}`]:s.label},s.root,s[`labelPlacement${Ie(r.labelPlacement)}`]]}})(yt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Gt.disabled}`]:{cursor:"default"},[`& .${Gt.label}`]:{[`&.${Gt.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:s})=>s==="start"||s==="top"||s==="bottom",style:{marginLeft:16}}]}))),z0=Ve("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,s)=>s.asterisk})(yt(({theme:e})=>({[`&.${Gt.error}`]:{color:(e.vars||e).palette.error.main}}))),io=se.forwardRef(function(s,r){const i=xt({props:s,name:"MuiFormControlLabel"}),{checked:o,className:l,componentsProps:a={},control:c,disabled:d,disableTypography:h,inputRef:g,label:p,labelPlacement:y="end",name:x,onChange:b,required:u,slots:w={},slotProps:T={},value:A,...z}=i,S=Ns(),j=d??c.props.disabled??(S==null?void 0:S.disabled),W=u??c.props.required,Z={disabled:j,required:W};["checked","name","onChange","value","inputRef"].forEach(G=>{typeof c.props[G]>"u"&&typeof i[G]<"u"&&(Z[G]=i[G])});const L=S0({props:i,muiFormControl:S,states:["error"]}),q={...i,disabled:j,labelPlacement:y,required:W,error:L.error},f=T0(q),H={slots:w,slotProps:{...a,...T}},[_,F]=qt("typography",{elementType:$s,externalForwardedProps:H,ownerState:q});let U=p;return U!=null&&U.type!==$s&&!h&&(U=t.jsx(_,{component:"span",...F,className:$e(f.label,F==null?void 0:F.className),children:U})),t.jsxs(M0,{className:$e(f.root,l),ownerState:q,ref:r,...z,children:[se.cloneElement(c,Z),W?t.jsxs("div",{children:[U,t.jsxs(z0,{ownerState:q,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}):U]})});process.env.NODE_ENV!=="production"&&(io.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 Bs=e=>{const{inputProperties:s,label:r,checked:i,onChange:o,fontSize:l}=e;return t.jsx(io,{label:r,sx:{margin:"0px","& .MuiTypography-root":{fontSize:l||"1vw"}},control:t.jsx(so,{...s,checked:i,onChange:o,sx:{"&.Mui-checked":{color:"#0047ab"}}})})};Bs.propTypes={inputProperties:n.object,label:n.string};const at=v.forwardRef((e,s)=>{const[r,i]=v.useState(!1),{inputProperties:o}=e,l=a=>{o!=null&&o.handleChange&&typeof o.handleChange=="function"?o.handleChange(a):o!=null&&o.onChange&&typeof o.onChange=="function"&&o.onChange(a)};return t.jsxs(cs,{isfocused:r,style:{...o==null?void 0:o.size},children:[t.jsx(ds,{ref:s,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:l,fontStyle:o==null?void 0:o.fontStyle,...o}),t.jsx(v1,{isfocused:r})]})});at.displayName="InputSearch",at.propTypes={inputProperties:n.object};const Kt=({title:e,tooltip:s,top:r,left:i,fontSizeTitle:o,fontSizeTooltip:l,widthTooltip:a,heightTooltip:c,marginTop:d,marginBottom:h,style:g,isTooltipVisibleProp:p,fontWeight:y="700",fontSizeSubTitle:x="1vw",subTitle:b,htmlFor:u})=>{const[w,T]=v.useState(p||!1),A=()=>{T(!0)},z=()=>{T(!1)};return t.jsxs("label",{htmlFor:u,className:"flex align-items-center",style:{...g,marginTop:d,marginBottom:h,display:"flex",alignItems:"center",gap:"5px"},children:[t.jsx("p",{className:"flex align-items-center",style:{fontSize:o,fontWeight:y,color:"#2F3131"},children:e}),b&&t.jsx("p",{style:{fontSize:x,color:"#2F3131"},className:"sub-label",children:b}),s&&t.jsxs("div",{style:{position:"relative",width:"24px",height:"26px",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:A,onMouseLeave:z,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"})}),w&&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:r,zIndex:1e3},children:s})]})]})};Kt.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 Et=4,et=e=>{const{size:s,label:r,options:i,onchange:o,error:l,inputRadio:a,sizeOptions:c,heightOptions:d="auto",maxHeightOptions:h="auto",isOpen:g,setIsOpen:p,disabledClickOutside:y,keyReset:x,value:b,color:u="white",fontSizeLabel:w="1vw",fontSizeOptions:T="0.9vw",border:A,backgroundColor:z,disableColorOpen:S,disabled:j=!1,Icon:W,displayOptions:Z,height:L,paddingDropdownHeader:q,widthIcon:f,heightIcon:H,placeholderInputSearch:_="Buscar...",borderRadiusRight:F="4px",borderRadiusLeft:U="4px",labelText:G,subLabelText:ee,gap:Y="0",justifyContent:O="flex-start",id:k,fontSizeLabelText:m,fontSizeTooltip:E,heightTooltip:P,leftTooltip:I,tooltip:M,topTooltip:D,widthTooltip:$,isTooltipVisible:B,position:R="absolute",withoutOptions:J=!1,sortAlphabetically:K=!0}=e,[re,X]=v.useState(i),[he,le]=v.useState(i),[fe,_e]=v.useState(!1),ke=g!==void 0?g:fe,Pe=p!==void 0?p:_e,[ce,oe]=v.useState(""),de=v.useRef(null),te=()=>!j&&Pe(!ke);v.useEffect(()=>{if(b!=null)if(b!==""){const ae=i.find(Te=>Te.value===b||Te.label===b);oe(ae?ae.label:b)}else oe("")},[b,i]),v.useEffect(()=>{const ae=K?[...i].sort((Te,Ge)=>{var st;return(st=Te.label)==null?void 0:st.localeCompare(Ge.label)}):[...i];X(ae),le(ae)},[i,K]);const ie=ae=>{oe(ae.label),Pe(!1),o&&o({...ae,id:k})},[ze,Ne]=v.useState(""),De=ae=>{const Te=ae.target.value;Ne(Te);const Ge=re.filter(vt=>vt.label.toLowerCase().includes(Te.toLowerCase())),st=K?Ge.sort((vt,ar)=>{var Rn;return(Rn=vt.label)==null?void 0:Rn.localeCompare(ar.label)}):Ge;le(st)};return v.useEffect(()=>{if(y)return;const ae=Te=>{de.current&&!de.current.contains(Te.target)&&Pe(!1)};return document.addEventListener("mousedown",ae),()=>{document.removeEventListener("mousedown",ae)}},[Pe,de,y]),v.useEffect(()=>{x!==void 0&&b==null&&oe("")},[x,b]),v.useEffect(()=>{ke||(le(re),Ne(""))},[ke,re]),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:Y,justifyContent:O},children:[G&&t.jsx(Kt,{fontSizeTitle:m,fontSizeTooltip:E,heightTooltip:P,left:I,subTitle:ee,title:G,tooltip:M,top:D,widthTooltip:$,isTooltipVisibleProp:B,marginBottom:"5px"}),t.jsxs("div",{ref:de,className:`dropdown ${l?"error":""} ${ke&&!S?"open":""} ${j?"disabled":""}`,style:{width:s},children:[t.jsxs("div",{className:`dropdown-header ${u}`,onClick:te,role:"button","aria-haspopup":"listbox","aria-expanded":ke,style:{border:A,backgroundColor:z,cursor:j?"not-allowed":"pointer",opacity:j?.5:1,padding:q,height:L,borderTopRightRadius:F,borderBottomRightRadius:F,borderTopLeftRadius:U,borderBottomLeftRadius:U},children:[t.jsx("span",{style:{fontSize:w},children:ce||r}),W?t.jsx(W,{className:`icon-basicSelect ${ke?"up":"down"}`,style:{width:f,height:H}}):t.jsx("i",{className:`arrow-${u} ${ke?"up":"down"}`})]}),ke&&!J&&t.jsxs("ul",{className:`dropdown-options ${u} ${R}`,role:"listbox",id:`dropdown-options-basicSelect ${k}`,style:{width:c||"100%",height:d,maxHeight:h,display:Z},children:[i.length>=Et&&i.length>0&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(at,{inputProperties:{placeholder:_,size:{width:"100%",height:"28px"},type:"text",onChange:ae=>De(ae),fontStyle:"italic"}})}),i.length===0&&!J&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:T,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"}),he.length===0&&ze.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:T,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',ze,'"']}):he.map((ae,Te)=>t.jsxs("li",{onClick:()=>ie(ae),role:"option",style:{padding:a?"5px 0":"15px",fontSize:T},className:"flex align-center flex-wrap",children:[t.jsxs("div",{className:"flex align-center",style:{fontWeight:"400"},children:[a&&t.jsx(Bs,{inputProperties:{checked:ce===ae.label,onChange:()=>ie(ae)}}),ae.label]}),(ae==null?void 0:ae.description)&&t.jsx(T1,{children:ae==null?void 0:ae.description})]},ae.id||Te))]})]})]})};et.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 Fs=e=>{const{inputProperties:s,label:r,subLabel:i,color:o,colorLabel:l,size:a="medium"}=e;return t.jsx("div",{children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{...s,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:r}),i&&t.jsx("span",{className:"sub-label",style:{marginBottom:"0"},children:i})]})})})};Fs.propTypes={inputProperties:n.object,label:n.string,subLabel:n.string,color:n.string,colorLabel:n.string,size:n.string};const oo=({onChange:e,text:s,subText:r,fontSize:i,fileTypes:o,id:l,ref:a=null,multiple:c=!1})=>{const d=a||v.useRef(null),[h,g]=v.useState(!1),p=w=>{w.preventDefault(),g(!0)},y=w=>{w.preventDefault(),g(!1)},x=w=>{w.preventDefault(),g(!1),w.dataTransfer.files&&w.dataTransfer.files[0]&&e({file:w.dataTransfer.files[0],id:l})},b=()=>{d.current.click()},u=w=>{w.target.files&&w.target.files[0]&&e({file:w.target.files[0],id:l}),w.target.value=""};return t.jsxs("div",{className:`file-upload ${h?"dragging":""}`,onDragOver:p,onDragLeave:y,onDrop:x,onClick:b,style:{backgroundColor:"white"},children:[t.jsx("input",{ref:d,type:"file",className:"file-input",accept:o,onChange:u,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:s}),t.jsx("p",{className:"sub-text",style:{fontSize:i,borderBottom:"0px"},children:r})]})]})]})};oo.propTypes={onChange:n.func,text:n.string,subText:n.string,fontSize:n.string,fileTypes:n.string,id:n.string,multiple:n.bool};const lo=e=>{const{inputProperties:s,size:r}=e;return t.jsx(M1,{style:{width:r},children:t.jsx("input",{...s})})};lo.propTypes={inputProperties:n.object,size:n.string};const E0=e=>t.jsx(et,{color:"grey",...e}),ao=e=>{const{inputProperties:s,size:r,height:i="200px"}=e,[o,l]=v.useState(0),a=c=>{l(c.target.value.length),s.onChange&&s.onChange(c)};return t.jsxs(z1,{style:{width:r,height:i},children:[t.jsx("textarea",{...s,maxLength:220,onChange:a}),t.jsxs("p",{children:[o,"/220"]})]})};ao.propTypes={inputProperties:n.object,size:n.string,height:n.string,handleChange:n.func};const co=({width:e,fontSize:s,onchange:r})=>{const[i,o]=v.useState(!1),[l,a]=v.useState(""),c=v.useRef(null),d=x=>{x.preventDefault(),o(!0)},h=x=>{x.preventDefault(),o(!1)},g=x=>{if(x.preventDefault(),o(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0){const b=x.dataTransfer.files[0];r(b),a(b.name)}},p=x=>{if(x.target.files&&x.target.files.length>0){const b=x.target.files[0];r(b),a(b.name)}},y=()=>{var x;(x=c.current)==null||x.click()};return t.jsxs("div",{className:`drag-drop-upload ${i?"dragging":""}`,onDragOver:d,onDragLeave:h,onDrop:g,onClick:y,style:{width:e},children:[t.jsx(Sn,{}),l?t.jsx("p",{className:"upload-text file-name",style:{fontSize:s},children:l}):t.jsxs("p",{className:"upload-text",style:{fontSize:s},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"})]})};co.propTypes={width:n.string,fontSize:n.string,onchange:n.func};const uo=e=>t.jsx("button",{className:"button-search",...e,children:t.jsx(j1,{})}),ho=e=>{const[s,r]=v.useState(!1),[i,o]=v.useState(""),{label:l,inputProperties:a,error:c,fontSizeLabel:d,borderRadiusRight:h="4px",borderRadiusLeft:g="4px"}=e,p=x=>{o(x.target.value),a.handleChange(x)},y=x=>{x.preventDefault();const b={target:{value:i,id:a.id||"text-input"},preventDefault:()=>{}};a.handleChange(b)};return t.jsxs("form",{style:{...a==null?void 0:a.size},onSubmit:y,children:[l&&t.jsx(w1,{htmlFor:a.id||"text-input",style:{fontSize:d},children:l}),t.jsxs(cs,{isfocused:s,haserror:c,disabled:a.disabled,style:{width:"100%",position:"relative",borderTopRightRadius:h,borderBottomRightRadius:h,borderTopLeftRadius:g,borderBottomLeftRadius:g},children:[t.jsx(ds,{onFocus:()=>r(!0),onBlur:()=>r(!1),onChange:p,value:i,...a}),t.jsx("div",{style:{display:"flex",alignItems:"center",position:"absolute",right:"0px",height:"100%"},children:t.jsx(uo,{disabled:a.disabled})})]}),c&&t.jsx(yi,{children:c})]})};ho.propTypes={label:n.string,inputProperties:n.object,error:n.bool,fontSizeLabel:n.string,borderRadiusRight:n.string,borderRadiusLeft:n.string};const fo=e=>{var Z;const[s,r]=v.useState(!1),{label:i,inputProperties:o,error:l,fontSizeLabel:a,subLabel:c,fontSizeInput:d,disabled:h,fontSizeTooltip:g,heightTooltip:p,leftTooltip:y,tooltip:x,topTooltip:b,widthTooltip:u,isTooltipVisible:w,keyReset:T}=e,A=L=>{o.handleChange&&o.handleChange(L)},z={...o};if(z.style&&z.style.width){const{width:L,...q}=z.style;z.style=q}const S=o==null?void 0:o.value,[j,W]=v.useState(S??"");return v.useEffect(()=>{S!==void 0&&W(S)},[S]),v.useEffect(()=>{T&&W("")},[T]),t.jsxs("div",{style:{width:(Z=o==null?void 0:o.style)==null?void 0:Z.width},children:[i&&t.jsx(Kt,{fontSizeTitle:a,fontSizeTooltip:g,heightTooltip:p,left:y,subTitle:c,title:i,tooltip:x,top:b,widthTooltip:u,isTooltipVisibleProp:w,marginBottom:"5px",htmlFor:(o==null?void 0:o.id)||"text-input"}),t.jsx(cs,{isfocused:s,haserror:l,style:{width:"100%"},children:t.jsx(ds,{id:o==null?void 0:o.id,onFocus:()=>r(!0),onBlur:()=>r(!1),onChange:A,fontSizeInput:d,...S!==void 0?{value:j}:{},disabled:h,style:{width:"90%"},...z})}),l&&t.jsx(yi,{children:l})]})};fo.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 N0=Fe(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=Fe(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"),O0=Fe(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 A0(e){return rt("MuiCheckbox",e)}const Ls=ut("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),I0=e=>{const{classes:s,indeterminate:r,color:i,size:o}=e,l={root:["root",r&&"indeterminate",`color${Ie(i)}`,`size${Ie(o)}`]},a=mt(l,A0,s);return{...s,...a}},R0=Ve(Ps,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.indeterminate&&s.indeterminate,s[`size${Ie(r.size)}`],r.color!=="default"&&s[`color${Ie(r.color)}`]]}})(yt(({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(Yt()).map(([s])=>({props:{color:s,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[s].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Yt()).map(([s])=>({props:{color:s},style:{[`&.${Ls.checked}, &.${Ls.indeterminate}`]:{color:(e.vars||e).palette[s].main},[`&.${Ls.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(O0,{}),po=se.forwardRef(function(s,r){const i=xt({props:s,name:"MuiCheckbox"}),{checkedIcon:o=P0,color:l="primary",icon:a=W0,indeterminate:c=!1,indeterminateIcon:d=$0,inputProps:h,size:g="medium",disableRipple:p=!1,className:y,slots:x={},slotProps:b={},...u}=i,w=c?d:a,T=c?d:o,A={...i,disableRipple:p,color:l,indeterminate:c,size:g},z=I0(A),S=b.input??h,[j,W]=qt("root",{ref:r,elementType:R0,className:$e(z.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:x,slotProps:b,...u},ownerState:A,additionalProps:{type:"checkbox",icon:se.cloneElement(w,{fontSize:w.props.fontSize??g}),checkedIcon:se.cloneElement(T,{fontSize:T.props.fontSize??g}),disableRipple:p,slots:x,slotProps:{input:m1(typeof S=="function"?S(A):S,{"data-indeterminate":c})}}});return t.jsx(j,{...W,classes:z})});process.env.NODE_ENV!=="production"&&(po.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 go=e=>{const[s,r]=v.useState(!1),[i,o]=v.useState([]),l=v.useRef(null),{options:a,onchange:c,label:d,size:h,error:g,keyReset:p,fontSizeOptions:y="0.9vw",disabled:x,maxHeightOptions:b,labelText:u,subLabelText:w,gap:T="0",fontSizeLabel:A="0.9vw",onChangeFunction:z,id:S,fontSizeLabelText:j,fontSizeTooltip:W,heightTooltip:Z,leftTooltip:L,tooltip:q,topTooltip:f,widthTooltip:H,isTooltipVisible:_,placeholderInputSearch:F="Buscar...",sortAlphabetically:U=!0,value:G}=e,[ee,Y]=v.useState(a);v.useEffect(()=>{const M=U?[...a].sort((D,$)=>{var B;return(B=D.label)==null?void 0:B.localeCompare($.label)}):[...a];Y(M)},[a,U]);const O=M=>{console.log({value:M}),o(D=>D.some($=>pe.isEqual($,M))?(c&&c(D.filter($=>!pe.isEqual($,M))),z&&z({id:S,value:D.filter($=>!pe.isEqual($,M))}),D.filter($=>!pe.isEqual($,M))):(c&&c([...D,M]),z&&z({id:S,value:[...D,M]}),[...D,M]))},k=()=>i.length===0?d:i.map(M=>{const D=a.find($=>pe.isEqual($.value,M));return D?D.label:""}).filter(Boolean).join(", ");v.useEffect(()=>{o([])},[p]),v.useEffect(()=>{G!=null&&(Array.isArray(G)?o(G):o([]))},[G]);const m=M=>{l.current&&!l.current.contains(M.target)&&r(!1)};v.useEffect(()=>(document.addEventListener("mousedown",m),()=>{document.removeEventListener("mousedown",m)}),[]),v.useEffect(()=>{if(!s){const M=U?[...a].sort((D,$)=>{var B;return(B=D.label)==null?void 0:B.localeCompare($.label)}):[...a];Y(M),P("")}},[s,a,U]);const[E,P]=v.useState(""),I=M=>{const D=M.target.value;P(D);const $=a.filter(R=>R.label.toLowerCase().includes(D.toLowerCase())),B=U?$.sort((R,J)=>{var K;return(K=R.label)==null?void 0:K.localeCompare(J.label)}):$;Y(B)};return t.jsxs("div",{ref:l,className:"relative",style:{width:h},children:[t.jsx(et,{label:k(),onchange:()=>{},options:[],size:h,isOpen:s,setIsOpen:r,disabledClickOutside:!0,disabled:x,error:g,labelText:u,gap:T,subLabelText:w,fontSizeLabel:A,fontSizeLabelText:j,fontSizeTooltip:W,heightTooltip:Z,leftTooltip:L,tooltip:q,topTooltip:f,widthTooltip:H,isTooltipVisible:_,withoutOptions:!0}),s&&t.jsxs("ul",{className:"multiselect-options",style:{maxHeight:b},children:[a.length>=Et&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(at,{inputProperties:{placeholder:F,size:{width:"100%",height:"28px"},type:"text",onChange:M=>I(M),fontStyle:"italic"}})}),ee.length===0&&E.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:y,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',E,'"']}):ee.map(M=>t.jsxs("li",{onClick:()=>O(M.value),className:i.some(D=>pe.isEqual(D,M.value))?"selected":"",style:{fontSize:y},children:[t.jsx(po,{checked:i.some(D=>pe.isEqual(D,M.value)),onChange:D=>{D.stopPropagation(),O(M.value)},onClick:()=>O(M.value),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),M.label]},M.value.title||M.value)),a.length===0&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:y,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]})]})};go.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 B0=()=>{const[e,s]=v.useState(15),r=()=>{s(l=>l+1)},i=()=>{s(l=>l-1)},o=l=>{const a=parseInt(l.target.value);isNaN(a)||s(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:r,className:"spinner-button up",children:"▲"}),t.jsx("button",{onClick:i,className:"spinner-button down",children:"▼"})]})]})},mo=({options:e,value:s,onChange:r,width:i,disabled:o,height:l,widthIcon:a,heightIcon:c,keyReset:d})=>{const h=({value:p})=>{r(p)},g=p=>p.map(y=>({label:y.toString(),value:y}));return t.jsx(et,{label:s,onchange:h,options:g(e),Icon:$i,size:i,disabled:o,paddingDropdownHeader:"0 0.5vw",height:l,widthIcon:a,heightIcon:c,keyReset:d,sortAlphabetically:!1})};mo.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 yo=e=>{var r,i,o;const{inputProperties:s}=e;return t.jsxs(k1,{style:{...s==null?void 0:s.size},isSuccessful:(r=s==null?void 0:s.state)==null?void 0:r.success,children:[t.jsx(C1,{...s}),((i=s==null?void 0:s.state)==null?void 0:i.error)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{children:"*"})}),((o=s==null?void 0:s.state)==null?void 0:o.success)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{style:{color:"#009470",fontSize:"15px"},children:"✔"})})]})};yo.propTypes={inputProperties:n.object};const F0=e=>{const{options:s=[],value:r,onChange:i,onBlur:o,onFocus:l,sortAlphabetically:a=!0,searchable:c=!0}=e,[d,h]=v.useState([]),[g,p]=v.useState(!1),[y,x]=v.useState(!1),[b,u]=v.useState(""),[w,T]=v.useState(null),A=v.useRef(null),z=v.useRef(null),S=v.useRef(null),j=F=>F.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();v.useEffect(()=>{let F=[...s];a&&F.sort((U,G)=>(U.label||"").localeCompare(G.label||"")),h(F)},[s,a]),v.useEffect(()=>{if(r!=null){const F=s.find(U=>pe.isEqual(U.value,r));T(F||null)}else T(null)},[r,s]),v.useEffect(()=>{if(!b.trim()){let U=[...s];a&&U.sort((G,ee)=>(G.label||"").localeCompare(ee.label||"")),h(U);return}const F=s.filter(U=>j(U.label).includes(j(b)));a&&F.sort((U,G)=>(U.label||"").localeCompare(G.label||"")),h(F)},[b,s,a]),v.useEffect(()=>{y?S.current&&setTimeout(()=>{var F;return(F=S.current)==null?void 0:F.focus()},50):u("")},[y]),v.useEffect(()=>{const F=U=>{A.current&&!A.current.contains(U.target)&&(x(!1),p(!1))};return document.addEventListener("mousedown",F),()=>document.removeEventListener("mousedown",F)},[]);const W=()=>{var F;e.disabled||(x(!y),y||(F=z.current)==null||F.focus())},Z=F=>{let U;pe.isEqual(w==null?void 0:w.value,F.value)?U=null:U=F,T(U),x(!1);const G={target:{id:e.id,name:e.name,value:(U==null?void 0:U.value)||null,type:"select",checked:void 0,selectedOption:U,label:(U==null?void 0:U.label)||null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(G),o==null||o(G)},L=()=>{T(null),u("");const F={target:{id:e.id,name:e.name,value:null,type:"select",checked:void 0,selectedOption:null,label:null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(F)},q=F=>{p(!0),l==null||l(F)},f=F=>{var U;(U=A.current)!=null&&U.contains(F.relatedTarget)||(p(!1),o==null||o(F))},H=F=>{var U;if(!e.disabled)switch(F.key){case"Enter":case" ":y||(F.preventDefault(),x(!0));break;case"Escape":x(!1),(U=z.current)==null||U.focus();break;case"ArrowDown":case"ArrowUp":F.preventDefault(),y||x(!0);break}},_=c&&s.length>=Et;return{filteredOptions:d,isFocused:g,isOpen:y,searchQuery:b,setSearchQuery:u,selectedOption:w,dropdownRef:A,inputRef:z,searchInputRef:S,toggleDropdown:W,handleOptionSelect:Z,handleClear:L,handleFocus:q,handleBlur:f,handleKeyDown:H,showSearch:_}},_s=v.forwardRef((e,s)=>{const{className:r="",disabled:i=!1,dropdownClassName:o="",error:l=!1,fontSize:a="14px",icon:c,id:d,placeholder:h="Select",maxHeight:g="300px",name:p,noOptionsMessage:y="No hay opciones disponibles",noResultsMessage:x="No se encontraron resultados",options:b=[],required:u=!1,placeholderInput:w="Buscar...",width:T="300px",...A}=e,{filteredOptions:z,isFocused:S,isOpen:j,searchQuery:W,setSearchQuery:Z,selectedOption:L,dropdownRef:q,inputRef:f,searchInputRef:H,toggleDropdown:_,handleOptionSelect:F,handleClear:U,handleFocus:G,handleBlur:ee,handleKeyDown:Y,showSearch:O}=F0(e);v.useImperativeHandle(s,()=>({focus:()=>{var E;return(E=f.current)==null?void 0:E.focus()},blur:()=>{var E;return(E=f.current)==null?void 0:E.blur()},value:(L==null?void 0:L.value)||"",clear:()=>U()}));const k=["bs-dropdown",l&&"bs-error",i&&"bs-disabled",j&&"bs-open",S&&"bs-focused",r].filter(Boolean).join(" "),m=["bs-dropdown-options",o].filter(Boolean).join(" ");return t.jsxs("div",{ref:q,className:k,...A,style:{width:T},children:[t.jsx("input",{ref:f,type:"hidden",id:d,name:p,value:(L==null?void 0:L.value)||"",required:u,disabled:i}),t.jsxs("div",{className:"bs-dropdown-header",onClick:_,onFocus:G,onBlur:ee,onKeyDown:Y,role:"combobox","aria-expanded":j,"aria-haspopup":"listbox","aria-labelledby":`${d}-label`,"aria-disabled":i,tabIndex:i?-1:0,style:{fontSize:a},children:[t.jsx("span",{className:"bs-dropdown-value",children:(L==null?void 0:L.label)||h}),c?t.jsx(c,{className:`bs-icon ${j?"bs-icon-up":""}`}):t.jsx("i",{className:`bs-arrow ${j?"bs-arrow-up":"bs-arrow-down"}`})]}),j&&t.jsxs("div",{className:m,role:"listbox",children:[O&&t.jsx("div",{className:"bs-search-container",children:t.jsx(at,{ref:H,inputProperties:{placeholder:w,size:{width:"100%",height:"28px"},type:"text",onChange:E=>Z(E.target.value),onKeyDown:E=>{E.key==="Enter"&&z.length>0&&F(z[0])},fontStyle:"italic",value:W,style:{fontSize:a}}})}),t.jsx("ul",{className:"bs-options-list",style:{maxHeight:g},children:b.length===0?t.jsx("li",{className:"bs-no-options",children:y}):z.length===0?t.jsxs("li",{className:"bs-no-options",children:[x," ",W&&`"${W}"`]}):z.map((E,P)=>t.jsxs("li",{className:`bs-option ${pe.isEqual(L==null?void 0:L.value,E.value)?"bs-selected":""}`,onClick:()=>F(E),role:"option","aria-selected":pe.isEqual(L==null?void 0:L.value,E.value),style:{fontSize:a},children:[t.jsx("span",{className:"bs-option-label",children:E.label}),E.description&&t.jsx("span",{className:"bs-option-description",children:E.description})]},E.id||E.value||P))})]})]})});_s.displayName="Select",_s.propTypes={id:n.string,label:n.string,name:n.string,placeholder:n.string,options:n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string})),className:n.string,disabled:n.bool,dropdownClassName:n.string,error:n.bool,fontSize:n.string,icon:n.elementType,maxHeight:n.string,noOptionsMessage:n.string,noResultsMessage:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,required:n.bool,searchable:n.bool,placeholderInput:n.string,sortAlphabetically:n.bool,value:n.any,width:n.string};const L0=(e,s)=>{var r,i,o;if(!Array.isArray(e)&&typeof e!="object")throw new Error("Invalid data format. Expected an array or an object.");if(s){if(typeof e=="object"&&!Array.isArray(e))return(i=(r=Object.entries(e))==null?void 0:r.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(h=>({id:h==null?void 0:h.id,name:h==null?void 0:h.name})))==null?void 0:d.sort((h,g)=>{var p;return(p=h.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.")},_0=ye.button`
|
|
381
|
+
`,Ji=re.forwardRef(function(s,r){const i=xt({props:s,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:a,...c}=i,[d,h]=re.useState([]),g=re.useRef(0),p=re.useRef(null);re.useEffect(()=>{p.current&&(p.current(),p.current=null)},[d]);const y=re.useRef(!1),x=Za(),b=re.useRef(null),u=re.useRef(null),w=re.useCallback(S=>{const{pulsate:j,rippleX:I,rippleY:U,rippleSize:$,cb:q}=S;h(f=>[...f,t.jsx(K1,{classes:{ripple:$e(l.ripple,Xe.ripple),rippleVisible:$e(l.rippleVisible,Xe.rippleVisible),ripplePulsate:$e(l.ripplePulsate,Xe.ripplePulsate),child:$e(l.child,Xe.child),childLeaving:$e(l.childLeaving,Xe.childLeaving),childPulsate:$e(l.childPulsate,Xe.childPulsate)},timeout:Rs,pulsate:j,rippleX:I,rippleY:U,rippleSize:$},g.current)]),g.current+=1,p.current=q},[l]),T=re.useCallback((S={},j={},I=()=>{})=>{const{pulsate:U=!1,center:$=o||j.pulsate,fakeElement:q=!1}=j;if((S==null?void 0:S.type)==="mousedown"&&y.current){y.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(y.current=!0);const f=q?null:u.current,L=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let _,F,Z;if($||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)_=Math.round(L.width/2),F=Math.round(L.height/2);else{const{clientX:K,clientY:ee}=S.touches&&S.touches.length>0?S.touches[0]:S;_=Math.round(K-L.left),F=Math.round(ee-L.top)}if($)Z=Math.sqrt((2*L.width**2+L.height**2)/3),Z%2===0&&(Z+=1);else{const K=Math.max(Math.abs((f?f.clientWidth:0)-_),_)*2+2,ee=Math.max(Math.abs((f?f.clientHeight:0)-F),F)*2+2;Z=Math.sqrt(K**2+ee**2)}S!=null&&S.touches?b.current===null&&(b.current=()=>{w({pulsate:U,rippleX:_,rippleY:F,rippleSize:Z,cb:I})},x.start(Z1,()=>{b.current&&(b.current(),b.current=null)})):w({pulsate:U,rippleX:_,rippleY:F,rippleSize:Z,cb:I})},[o,w,x]),A=re.useCallback(()=>{T({},{pulsate:!0})},[T]),M=re.useCallback((S,j)=>{if(x.clear(),(S==null?void 0:S.type)==="touchend"&&b.current){b.current(),b.current=null,x.start(0,()=>{M(S,j)});return}b.current=null,h(I=>I.length>0?I.slice(1):I),p.current=j},[x]);return re.useImperativeHandle(r,()=>({pulsate:A,start:T,stop:M}),[A,T,M]),t.jsx(G1,{className:$e(Xe.root,l.root,a),ref:u,...c,children:t.jsx(Is,{component:null,exit:!0,children:d})})});process.env.NODE_ENV!=="production"&&(Ji.propTypes={center:n.bool,classes:n.object,className:n.string});function Q1(e){return rt("MuiButtonBase",e)}const X1=ut("MuiButtonBase",["root","disabled","focusVisible"]),J1=e=>{const{disabled:s,focusVisible:r,focusVisibleClassName:i,classes:o}=e,a=mt({root:["root",s&&"disabled",r&&"focusVisible"]},Q1,o);return r&&i&&(a.root+=` ${i}`),a},e0=Ve("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,s)=>s.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"},[`&.${X1.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),eo=re.forwardRef(function(s,r){const i=xt({props:s,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:a,className:c,component:d="button",disabled:h=!1,disableRipple:g=!1,disableTouchRipple:p=!1,focusRipple:y=!1,focusVisibleClassName:x,LinkComponent:b="a",onBlur:u,onClick:w,onContextMenu:T,onDragLeave:A,onFocus:M,onFocusVisible:S,onKeyDown:j,onKeyUp:I,onMouseDown:U,onMouseLeave:$,onMouseUp:q,onTouchEnd:f,onTouchMove:L,onTouchStart:_,tabIndex:F=0,TouchRippleProps:Z,touchRippleRef:K,type:ee,...G}=i,O=re.useRef(null),k=R1(),m=Yn(k.ref,K),[E,R]=re.useState(!1);h&&E&&R(!1),re.useImperativeHandle(o,()=>({focusVisible:()=>{R(!0),O.current.focus()}}),[]);const P=k.shouldMount&&!g&&!h;re.useEffect(()=>{E&&y&&!g&&k.pulsate()},[g,y,E,k]);const z=lt(k,"start",U,p),D=lt(k,"stop",T,p),H=lt(k,"stop",A,p),W=lt(k,"stop",q,p),B=lt(k,"stop",te=>{E&&te.preventDefault(),$&&$(te)},p),Y=lt(k,"start",_,p),Q=lt(k,"stop",f,p),se=lt(k,"stop",L,p),J=lt(k,"stop",te=>{Wr(te.target)||R(!1),u&&u(te)},!1),he=rn(te=>{O.current||(O.current=te.currentTarget),Wr(te.target)&&(R(!0),S&&S(te)),M&&M(te)}),le=()=>{const te=O.current;return d&&d!=="button"&&!(te.tagName==="A"&&te.href)},fe=rn(te=>{y&&!te.repeat&&E&&te.key===" "&&k.stop(te,()=>{k.start(te)}),te.target===te.currentTarget&&le()&&te.key===" "&&te.preventDefault(),j&&j(te),te.target===te.currentTarget&&le()&&te.key==="Enter"&&!h&&(te.preventDefault(),w&&w(te))}),_e=rn(te=>{y&&te.key===" "&&E&&!te.defaultPrevented&&k.stop(te,()=>{k.pulsate(te)}),I&&I(te),w&&te.target===te.currentTarget&&le()&&te.key===" "&&!te.defaultPrevented&&w(te)});let ke=d;ke==="button"&&(G.href||G.to)&&(ke=b);const Pe={};ke==="button"?(Pe.type=ee===void 0?"button":ee,Pe.disabled=h):(!G.href&&!G.to&&(Pe.role="button"),h&&(Pe["aria-disabled"]=h));const ce=Yn(r,O),oe={...i,centerRipple:l,component:d,disabled:h,disableRipple:g,disableTouchRipple:p,focusRipple:y,tabIndex:F,focusVisible:E},de=J1(oe);return t.jsxs(e0,{as:ke,className:$e(de.root,c),ownerState:oe,onBlur:J,onClick:w,onContextMenu:D,onFocus:he,onKeyDown:fe,onKeyUp:_e,onMouseDown:z,onMouseLeave:B,onMouseUp:W,onDragLeave:H,onTouchEnd:Q,onTouchMove:se,onTouchStart:Y,ref:ce,tabIndex:h?-1:F,type:ee,...Pe,...G,children:[a,P?t.jsx(Ji,{ref:m,center:l,...Z}):null]})});function lt(e,s,r,i=!1){return rn(o=>(r&&r(o),i||e[s](o),!0))}process.env.NODE_ENV!=="production"&&(eo.propTypes={action:sn,centerRipple:n.bool,children:n.node,classes:n.object,className:n.string,component:$a,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 t0(e){return rt("PrivateSwitchBase",e)}ut("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);function qt(e,s){const{className:r,elementType:i,ownerState:o,externalForwardedProps:l,internalForwardedProps:a,shouldForwardComponentProp:c=!1,...d}=s,{component:h,slots:g={[e]:void 0},slotProps:p={[e]:void 0},...y}=l,x=g[e]||i,b=Ja(p[e],o),{props:{component:u,...w},internalRef:T}=Xa({className:r,...d,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:b}),A=Yn(T,b==null?void 0:b.ref,s.ref),M=e==="root"?u||h:u,S=Ka(x,{...e==="root"&&!h&&!g[e]&&a,...e!=="root"&&!g[e]&&a,...w,...M&&!c&&{as:M},...M&&c&&{component:M},ref:A},o);return[x,S]}const n0=e=>{const{classes:s,checked:r,disabled:i,edge:o}=e,l={root:["root",r&&"checked",i&&"disabled",o&&`edge${Ie(o)}`],input:["input"]};return mt(l,t0,s)},s0=Ve(eo)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:s})=>e==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:s})=>e==="end"&&s.size!=="small",style:{marginRight:-12}}]}),r0=Ve("input",{shouldForwardProp:Zt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ps=re.forwardRef(function(s,r){const{autoFocus:i,checked:o,checkedIcon:l,defaultChecked:a,disabled:c,disableFocusRipple:d=!1,edge:h=!1,icon:g,id:p,inputProps:y,inputRef:x,name:b,onBlur:u,onChange:w,onFocus:T,readOnly:A,required:M=!1,tabIndex:S,type:j,value:I,slots:U={},slotProps:$={},...q}=s,[f,L]=_a({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),_=Ns(),F=D=>{T&&T(D),_&&_.onFocus&&_.onFocus(D)},Z=D=>{u&&u(D),_&&_.onBlur&&_.onBlur(D)},K=D=>{if(D.nativeEvent.defaultPrevented)return;const H=D.target.checked;L(H),w&&w(D,H)};let ee=c;_&&typeof ee>"u"&&(ee=_.disabled);const G=j==="checkbox"||j==="radio",O={...s,checked:f,disabled:ee,disableFocusRipple:d,edge:h},k=n0(O),m={slots:U,slotProps:{input:y,...$}},[E,R]=qt("root",{ref:r,elementType:s0,className:k.root,shouldForwardComponentProp:!0,externalForwardedProps:{...m,component:"span",...q},getSlotProps:D=>({...D,onFocus:H=>{var W;(W=D.onFocus)==null||W.call(D,H),F(H)},onBlur:H=>{var W;(W=D.onBlur)==null||W.call(D,H),Z(H)}}),ownerState:O,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:ee,role:void 0,tabIndex:null}}),[P,z]=qt("input",{ref:x,elementType:r0,className:k.input,externalForwardedProps:m,getSlotProps:D=>({onChange:H=>{var W;(W=D.onChange)==null||W.call(D,H),K(H)}}),ownerState:O,additionalProps:{autoFocus:i,checked:o,defaultChecked:a,disabled:ee,id:G?p:void 0,name:b,readOnly:A,required:M,tabIndex:S,type:j,...j==="checkbox"&&I===void 0?{}:{value:I}}});return t.jsxs(E,{...R,children:[t.jsx(P,{...z}),f?l:g]})});process.env.NODE_ENV!=="production"&&(Ps.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 i0=Fe(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"),o0=Fe(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"),l0=Ve("span",{shouldForwardProp:Zt})({position:"relative",display:"flex"}),a0=Ve(i0)({transform:"scale(1)"}),c0=Ve(o0)(yt(({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 Ws(e){const{checked:s=!1,classes:r={},fontSize:i}=e,o={...e,checked:s};return t.jsxs(l0,{className:r.root,ownerState:o,children:[t.jsx(a0,{fontSize:i,className:r.background,ownerState:o}),t.jsx(c0,{fontSize:i,className:r.dot,ownerState:o})]})}process.env.NODE_ENV!=="production"&&(Ws.propTypes={checked:n.bool,classes:n.object,fontSize:n.oneOf(["small","medium"])});const to=re.createContext(void 0);process.env.NODE_ENV!=="production"&&(to.displayName="RadioGroupContext");function d0(){return re.useContext(to)}function u0(e){return rt("MuiRadio",e)}const no=ut("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);function h0(e){return typeof e.main=="string"}function f0(e,s=[]){if(!h0(e))return!1;for(const r of s)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Yt(e=[]){return([,s])=>s&&f0(s,e)}const p0=e=>{const{classes:s,color:r,size:i}=e,o={root:["root",`color${Ie(r)}`,i!=="medium"&&`size${Ie(i)}`]};return{...s,...mt(o,u0,s)}},g0=Ve(Ps,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.size!=="medium"&&s[`size${Ie(r.size)}`],s[`color${Ie(r.color)}`]]}})(yt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${no.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(Yt()).map(([s])=>({props:{color:s,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[s].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Yt()).map(([s])=>({props:{color:s,disabled:!1},style:{[`&.${no.checked}`]:{color:(e.vars||e).palette[s].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function m0(e,s){return typeof s=="object"&&s!==null?e===s:String(e)===String(s)}const y0=t.jsx(Ws,{checked:!0}),x0=t.jsx(Ws,{}),so=re.forwardRef(function(s,r){const i=xt({props:s,name:"MuiRadio"}),{checked:o,checkedIcon:l=y0,color:a="primary",icon:c=x0,name:d,onChange:h,size:g="medium",className:p,disabled:y,disableRipple:x=!1,slots:b={},slotProps:u={},inputProps:w,...T}=i,A=Ns();let M=y;A&&typeof M>"u"&&(M=A.disabled),M??(M=!1);const S={...i,disabled:M,disableRipple:x,color:a,size:g},j=p0(S),I=d0();let U=o;const $=Fa(h,I&&I.onChange);let q=d;I&&(typeof U>"u"&&(U=m0(I.value,i.value)),typeof q>"u"&&(q=I.name));const f=u.input??w,[L,_]=qt("root",{ref:r,elementType:g0,className:$e(j.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:b,slotProps:u,...T},getSlotProps:F=>({...F,onChange:(Z,...K)=>{var ee;(ee=F.onChange)==null||ee.call(F,Z,...K),$(Z,...K)}}),ownerState:S,additionalProps:{type:"radio",icon:re.cloneElement(c,{fontSize:c.props.fontSize??g}),checkedIcon:re.cloneElement(l,{fontSize:l.props.fontSize??g}),disabled:M,name:q,checked:U,slots:b,slotProps:{input:typeof f=="function"?f(S):f}}});return t.jsx(L,{..._,classes:j})});process.env.NODE_ENV!=="production"&&(so.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 b0(e){return rt("MuiTypography",e)}ut("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const v0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},j0=h1(),w0=e=>{const{align:s,gutterBottom:r,noWrap:i,paragraph:o,variant:l,classes:a}=e,c={root:["root",l,e.align!=="inherit"&&`align${Ie(s)}`,r&&"gutterBottom",i&&"noWrap",o&&"paragraph"]};return mt(c,b0,a)},k0=Ve("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.variant&&s[r.variant],r.align!=="inherit"&&s[`align${Ie(r.align)}`],r.noWrap&&s.noWrap,r.gutterBottom&&s.gutterBottom,r.paragraph&&s.paragraph]}})(yt(({theme:e})=>{var s;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,i])=>r!=="inherit"&&i&&typeof i=="object").map(([r,i])=>({props:{variant:r},style:i})),...Object.entries(e.palette).filter(Yt()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((s=e.palette)==null?void 0:s.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${Ie(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),ro={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},$s=re.forwardRef(function(s,r){const{color:i,...o}=xt({props:s,name:"MuiTypography"}),l=!v0[i],a=j0({...o,...l&&{color:i}}),{align:c="inherit",className:d,component:h,gutterBottom:g=!1,noWrap:p=!1,paragraph:y=!1,variant:x="body1",variantMapping:b=ro,...u}=a,w={...a,align:c,color:i,className:d,component:h,gutterBottom:g,noWrap:p,paragraph:y,variant:x,variantMapping:b},T=h||(y?"p":b[x]||ro[x])||"span",A=w0(w);return t.jsx(k0,{as:T,ref:r,className:$e(A.root,d),...u,ownerState:w,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...u.style}})});process.env.NODE_ENV!=="production"&&($s.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 C0(e){return rt("MuiFormControlLabel",e)}const Gt=ut("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function S0({props:e,states:s,muiFormControl:r}){return s.reduce((i,o)=>(i[o]=e[o],r&&typeof e[o]>"u"&&(i[o]=r[o]),i),{})}const T0=e=>{const{classes:s,disabled:r,labelPlacement:i,error:o,required:l}=e,a={root:["root",r&&"disabled",`labelPlacement${Ie(i)}`,o&&"error",l&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]};return mt(a,C0,s)},M0=Ve("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[{[`& .${Gt.label}`]:s.label},s.root,s[`labelPlacement${Ie(r.labelPlacement)}`]]}})(yt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Gt.disabled}`]:{cursor:"default"},[`& .${Gt.label}`]:{[`&.${Gt.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:s})=>s==="start"||s==="top"||s==="bottom",style:{marginLeft:16}}]}))),z0=Ve("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,s)=>s.asterisk})(yt(({theme:e})=>({[`&.${Gt.error}`]:{color:(e.vars||e).palette.error.main}}))),io=re.forwardRef(function(s,r){const i=xt({props:s,name:"MuiFormControlLabel"}),{checked:o,className:l,componentsProps:a={},control:c,disabled:d,disableTypography:h,inputRef:g,label:p,labelPlacement:y="end",name:x,onChange:b,required:u,slots:w={},slotProps:T={},value:A,...M}=i,S=Ns(),j=d??c.props.disabled??(S==null?void 0:S.disabled),I=u??c.props.required,U={disabled:j,required:I};["checked","name","onChange","value","inputRef"].forEach(K=>{typeof c.props[K]>"u"&&typeof i[K]<"u"&&(U[K]=i[K])});const $=S0({props:i,muiFormControl:S,states:["error"]}),q={...i,disabled:j,labelPlacement:y,required:I,error:$.error},f=T0(q),L={slots:w,slotProps:{...a,...T}},[_,F]=qt("typography",{elementType:$s,externalForwardedProps:L,ownerState:q});let Z=p;return Z!=null&&Z.type!==$s&&!h&&(Z=t.jsx(_,{component:"span",...F,className:$e(f.label,F==null?void 0:F.className),children:Z})),t.jsxs(M0,{className:$e(f.root,l),ownerState:q,ref:r,...M,children:[re.cloneElement(c,U),I?t.jsxs("div",{children:[Z,t.jsxs(z0,{ownerState:q,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}):Z]})});process.env.NODE_ENV!=="production"&&(io.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 Bs=e=>{const{inputProperties:s,label:r,checked:i,onChange:o,fontSize:l}=e;return t.jsx(io,{label:r,sx:{margin:"0px","& .MuiTypography-root":{fontSize:l||"1vw"}},control:t.jsx(so,{...s,checked:i,onChange:o,sx:{"&.Mui-checked":{color:"#0047ab"}}})})};Bs.propTypes={inputProperties:n.object,label:n.string};const at=v.forwardRef((e,s)=>{const[r,i]=v.useState(!1),{inputProperties:o}=e,l=a=>{o!=null&&o.handleChange&&typeof o.handleChange=="function"?o.handleChange(a):o!=null&&o.onChange&&typeof o.onChange=="function"&&o.onChange(a)};return t.jsxs(cs,{isfocused:r,style:{...o==null?void 0:o.size},children:[t.jsx(ds,{ref:s,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:l,fontStyle:o==null?void 0:o.fontStyle,...o}),t.jsx(v1,{isfocused:r})]})});at.displayName="InputSearch",at.propTypes={inputProperties:n.object};const Kt=({title:e,tooltip:s,top:r,left:i,fontSizeTitle:o,fontSizeTooltip:l,widthTooltip:a,heightTooltip:c,marginTop:d,marginBottom:h,style:g,isTooltipVisibleProp:p,fontWeight:y="700",fontSizeSubTitle:x="1vw",subTitle:b,htmlFor:u})=>{const[w,T]=v.useState(p||!1),A=()=>{T(!0)},M=()=>{T(!1)};return t.jsxs("label",{htmlFor:u,className:"flex align-items-center",style:{...g,marginTop:d,marginBottom:h,display:"flex",alignItems:"center",gap:"5px"},children:[t.jsx("p",{className:"flex align-items-center",style:{fontSize:o,fontWeight:y,color:"#2F3131"},children:e}),b&&t.jsx("p",{style:{fontSize:x,color:"#2F3131"},className:"sub-label",children:b}),s&&t.jsxs("div",{style:{position:"relative",width:"24px",height:"26px",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:A,onMouseLeave:M,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"})}),w&&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:r,zIndex:1e3},children:s})]})]})};Kt.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 Et=4,et=e=>{const{size:s,label:r,options:i,onchange:o,error:l,inputRadio:a,sizeOptions:c,heightOptions:d="auto",maxHeightOptions:h="auto",isOpen:g,setIsOpen:p,disabledClickOutside:y,keyReset:x,value:b,color:u="white",fontSizeLabel:w="1vw",fontSizeOptions:T="0.9vw",border:A,backgroundColor:M,disableColorOpen:S,disabled:j=!1,Icon:I,displayOptions:U,height:$,paddingDropdownHeader:q,widthIcon:f,heightIcon:L,placeholderInputSearch:_="Buscar...",borderRadiusRight:F="4px",borderRadiusLeft:Z="4px",labelText:K,subLabelText:ee,gap:G="0",justifyContent:O="flex-start",id:k,fontSizeLabelText:m,fontSizeTooltip:E,heightTooltip:R,leftTooltip:P,tooltip:z,topTooltip:D,widthTooltip:H,isTooltipVisible:W,position:B="absolute",withoutOptions:Y=!1,sortAlphabetically:Q=!0}=e,[se,J]=v.useState(i),[he,le]=v.useState(i),[fe,_e]=v.useState(!1),ke=g!==void 0?g:fe,Pe=p!==void 0?p:_e,[ce,oe]=v.useState(""),de=v.useRef(null),te=()=>!j&&Pe(!ke);v.useEffect(()=>{if(b!=null)if(b!==""){const ae=i.find(Te=>Te.value===b||Te.label===b);oe(ae?ae.label:b)}else oe("")},[b,i]),v.useEffect(()=>{const ae=Q?[...i].sort((Te,Ge)=>{var st;return(st=Te.label)==null?void 0:st.localeCompare(Ge.label)}):[...i];J(ae),le(ae)},[i,Q]);const ie=ae=>{oe(ae.label),Pe(!1),o&&o({...ae,id:k})},[ze,Ne]=v.useState(""),De=ae=>{const Te=ae.target.value;Ne(Te);const Ge=se.filter(vt=>vt.label.toLowerCase().includes(Te.toLowerCase())),st=Q?Ge.sort((vt,ar)=>{var Rn;return(Rn=vt.label)==null?void 0:Rn.localeCompare(ar.label)}):Ge;le(st)};return v.useEffect(()=>{if(y)return;const ae=Te=>{de.current&&!de.current.contains(Te.target)&&Pe(!1)};return document.addEventListener("mousedown",ae),()=>{document.removeEventListener("mousedown",ae)}},[Pe,de,y]),v.useEffect(()=>{x!==void 0&&b==null&&oe("")},[x,b]),v.useEffect(()=>{ke||(le(se),Ne(""))},[ke,se]),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:G,justifyContent:O},children:[K&&t.jsx(Kt,{fontSizeTitle:m,fontSizeTooltip:E,heightTooltip:R,left:P,subTitle:ee,title:K,tooltip:z,top:D,widthTooltip:H,isTooltipVisibleProp:W,marginBottom:"5px"}),t.jsxs("div",{ref:de,className:`dropdown ${l?"error":""} ${ke&&!S?"open":""} ${j?"disabled":""}`,style:{width:s},children:[t.jsxs("div",{className:`dropdown-header ${u}`,onClick:te,role:"button","aria-haspopup":"listbox","aria-expanded":ke,style:{border:A,backgroundColor:M,cursor:j?"not-allowed":"pointer",opacity:j?.5:1,padding:q,height:$,borderTopRightRadius:F,borderBottomRightRadius:F,borderTopLeftRadius:Z,borderBottomLeftRadius:Z},children:[t.jsx("span",{style:{fontSize:w},children:ce||r}),I?t.jsx(I,{className:`icon-basicSelect ${ke?"up":"down"}`,style:{width:f,height:L}}):t.jsx("i",{className:`arrow-${u} ${ke?"up":"down"}`})]}),ke&&!Y&&t.jsxs("ul",{className:`dropdown-options ${u} ${B}`,role:"listbox",id:`dropdown-options-basicSelect ${k}`,style:{width:c||"100%",height:d,maxHeight:h,display:U},children:[i.length>=Et&&i.length>0&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(at,{inputProperties:{placeholder:_,size:{width:"100%",height:"28px"},type:"text",onChange:ae=>De(ae),fontStyle:"italic"}})}),i.length===0&&!Y&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:T,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"}),he.length===0&&ze.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:T,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',ze,'"']}):he.map((ae,Te)=>t.jsxs("li",{onClick:()=>ie(ae),role:"option",style:{padding:a?"5px 0":"15px",fontSize:T},className:"flex align-center flex-wrap",children:[t.jsxs("div",{className:"flex align-center",style:{fontWeight:"400"},children:[a&&t.jsx(Bs,{inputProperties:{checked:ce===ae.label,onChange:()=>ie(ae)}}),ae.label]}),(ae==null?void 0:ae.description)&&t.jsx(T1,{children:ae==null?void 0:ae.description})]},ae.id||Te))]})]})]})};et.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 Fs=e=>{const{inputProperties:s,label:r,subLabel:i,color:o,colorLabel:l,size:a="medium"}=e;return t.jsx("div",{children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{...s,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:r}),i&&t.jsx("span",{className:"sub-label",style:{marginBottom:"0"},children:i})]})})})};Fs.propTypes={inputProperties:n.object,label:n.string,subLabel:n.string,color:n.string,colorLabel:n.string,size:n.string};const oo=({onChange:e,text:s,subText:r,fontSize:i,fileTypes:o,id:l,ref:a=null,multiple:c=!1})=>{const d=a||v.useRef(null),[h,g]=v.useState(!1),p=w=>{w.preventDefault(),g(!0)},y=w=>{w.preventDefault(),g(!1)},x=w=>{w.preventDefault(),g(!1),w.dataTransfer.files&&w.dataTransfer.files[0]&&e({file:w.dataTransfer.files[0],id:l})},b=()=>{d.current.click()},u=w=>{w.target.files&&w.target.files[0]&&e({file:w.target.files[0],id:l}),w.target.value=""};return t.jsxs("div",{className:`file-upload ${h?"dragging":""}`,onDragOver:p,onDragLeave:y,onDrop:x,onClick:b,style:{backgroundColor:"white"},children:[t.jsx("input",{ref:d,type:"file",className:"file-input",accept:o,onChange:u,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:s}),t.jsx("p",{className:"sub-text",style:{fontSize:i,borderBottom:"0px"},children:r})]})]})]})};oo.propTypes={onChange:n.func,text:n.string,subText:n.string,fontSize:n.string,fileTypes:n.string,id:n.string,multiple:n.bool};const lo=e=>{const{inputProperties:s,size:r}=e;return t.jsx(M1,{style:{width:r},children:t.jsx("input",{...s})})};lo.propTypes={inputProperties:n.object,size:n.string};const E0=e=>t.jsx(et,{color:"grey",...e}),ao=e=>{const{inputProperties:s,size:r,height:i="200px"}=e,[o,l]=v.useState(0),a=c=>{l(c.target.value.length),s.onChange&&s.onChange(c)};return t.jsxs(z1,{style:{width:r,height:i},children:[t.jsx("textarea",{...s,maxLength:220,onChange:a}),t.jsxs("p",{children:[o,"/220"]})]})};ao.propTypes={inputProperties:n.object,size:n.string,height:n.string,handleChange:n.func};const co=({width:e,fontSize:s,onchange:r})=>{const[i,o]=v.useState(!1),[l,a]=v.useState(""),c=v.useRef(null),d=x=>{x.preventDefault(),o(!0)},h=x=>{x.preventDefault(),o(!1)},g=x=>{if(x.preventDefault(),o(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0){const b=x.dataTransfer.files[0];r(b),a(b.name)}},p=x=>{if(x.target.files&&x.target.files.length>0){const b=x.target.files[0];r(b),a(b.name)}},y=()=>{var x;(x=c.current)==null||x.click()};return t.jsxs("div",{className:`drag-drop-upload ${i?"dragging":""}`,onDragOver:d,onDragLeave:h,onDrop:g,onClick:y,style:{width:e},children:[t.jsx(Sn,{}),l?t.jsx("p",{className:"upload-text file-name",style:{fontSize:s},children:l}):t.jsxs("p",{className:"upload-text",style:{fontSize:s},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"})]})};co.propTypes={width:n.string,fontSize:n.string,onchange:n.func};const uo=e=>t.jsx("button",{className:"button-search",...e,children:t.jsx(j1,{})}),ho=e=>{const[s,r]=v.useState(!1),[i,o]=v.useState(""),{label:l,inputProperties:a,error:c,fontSizeLabel:d,borderRadiusRight:h="4px",borderRadiusLeft:g="4px"}=e,p=x=>{o(x.target.value),a.handleChange(x)},y=x=>{x.preventDefault();const b={target:{value:i,id:a.id||"text-input"},preventDefault:()=>{}};a.handleChange(b)};return t.jsxs("form",{style:{...a==null?void 0:a.size},onSubmit:y,children:[l&&t.jsx(w1,{htmlFor:a.id||"text-input",style:{fontSize:d},children:l}),t.jsxs(cs,{isfocused:s,haserror:c,disabled:a.disabled,style:{width:"100%",position:"relative",borderTopRightRadius:h,borderBottomRightRadius:h,borderTopLeftRadius:g,borderBottomLeftRadius:g},children:[t.jsx(ds,{onFocus:()=>r(!0),onBlur:()=>r(!1),onChange:p,value:i,...a}),t.jsx("div",{style:{display:"flex",alignItems:"center",position:"absolute",right:"0px",height:"100%"},children:t.jsx(uo,{disabled:a.disabled})})]}),c&&t.jsx(yi,{children:c})]})};ho.propTypes={label:n.string,inputProperties:n.object,error:n.bool,fontSizeLabel:n.string,borderRadiusRight:n.string,borderRadiusLeft:n.string};const fo=e=>{var U;const[s,r]=v.useState(!1),{label:i,inputProperties:o,error:l,fontSizeLabel:a,subLabel:c,fontSizeInput:d,disabled:h,fontSizeTooltip:g,heightTooltip:p,leftTooltip:y,tooltip:x,topTooltip:b,widthTooltip:u,isTooltipVisible:w,keyReset:T}=e,A=$=>{o.handleChange&&o.handleChange($)},M={...o};if(M.style&&M.style.width){const{width:$,...q}=M.style;M.style=q}const S=o==null?void 0:o.value,[j,I]=v.useState(S??"");return v.useEffect(()=>{S!==void 0&&I(S)},[S]),v.useEffect(()=>{T&&I("")},[T]),t.jsxs("div",{style:{width:(U=o==null?void 0:o.style)==null?void 0:U.width},children:[i&&t.jsx(Kt,{fontSizeTitle:a,fontSizeTooltip:g,heightTooltip:p,left:y,subTitle:c,title:i,tooltip:x,top:b,widthTooltip:u,isTooltipVisibleProp:w,marginBottom:"5px",htmlFor:(o==null?void 0:o.id)||"text-input"}),t.jsx(cs,{isfocused:s,haserror:l,style:{width:"100%"},children:t.jsx(ds,{id:o==null?void 0:o.id,onFocus:()=>r(!0),onBlur:()=>r(!1),onChange:A,fontSizeInput:d,...S!==void 0?{value:j}:{},disabled:h,style:{width:"90%"},...M})}),l&&t.jsx(yi,{children:l})]})};fo.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 N0=Fe(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=Fe(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"),O0=Fe(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 A0(e){return rt("MuiCheckbox",e)}const Ls=ut("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),I0=e=>{const{classes:s,indeterminate:r,color:i,size:o}=e,l={root:["root",r&&"indeterminate",`color${Ie(i)}`,`size${Ie(o)}`]},a=mt(l,A0,s);return{...s,...a}},R0=Ve(Ps,{shouldForwardProp:e=>Zt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:r}=e;return[s.root,r.indeterminate&&s.indeterminate,s[`size${Ie(r.size)}`],r.color!=="default"&&s[`color${Ie(r.color)}`]]}})(yt(({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(Yt()).map(([s])=>({props:{color:s,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Lt(e.palette[s].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Yt()).map(([s])=>({props:{color:s},style:{[`&.${Ls.checked}, &.${Ls.indeterminate}`]:{color:(e.vars||e).palette[s].main},[`&.${Ls.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(O0,{}),po=re.forwardRef(function(s,r){const i=xt({props:s,name:"MuiCheckbox"}),{checkedIcon:o=P0,color:l="primary",icon:a=W0,indeterminate:c=!1,indeterminateIcon:d=$0,inputProps:h,size:g="medium",disableRipple:p=!1,className:y,slots:x={},slotProps:b={},...u}=i,w=c?d:a,T=c?d:o,A={...i,disableRipple:p,color:l,indeterminate:c,size:g},M=I0(A),S=b.input??h,[j,I]=qt("root",{ref:r,elementType:R0,className:$e(M.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:x,slotProps:b,...u},ownerState:A,additionalProps:{type:"checkbox",icon:re.cloneElement(w,{fontSize:w.props.fontSize??g}),checkedIcon:re.cloneElement(T,{fontSize:T.props.fontSize??g}),disableRipple:p,slots:x,slotProps:{input:m1(typeof S=="function"?S(A):S,{"data-indeterminate":c})}}});return t.jsx(j,{...I,classes:M})});process.env.NODE_ENV!=="production"&&(po.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 go=e=>{const[s,r]=v.useState(!1),[i,o]=v.useState([]),l=v.useRef(null),{options:a,onchange:c,label:d,size:h,error:g,keyReset:p,fontSizeOptions:y="0.9vw",disabled:x,maxHeightOptions:b,labelText:u,subLabelText:w,gap:T="0",fontSizeLabel:A="0.9vw",onChangeFunction:M,id:S,fontSizeLabelText:j,fontSizeTooltip:I,heightTooltip:U,leftTooltip:$,tooltip:q,topTooltip:f,widthTooltip:L,isTooltipVisible:_,placeholderInputSearch:F="Buscar...",sortAlphabetically:Z=!0,value:K}=e,[ee,G]=v.useState(a);v.useEffect(()=>{const z=Z?[...a].sort((D,H)=>{var W;return(W=D.label)==null?void 0:W.localeCompare(H.label)}):[...a];G(z)},[a,Z]);const O=z=>{console.log({value:z}),o(D=>D.some(H=>pe.isEqual(H,z))?(c&&c(D.filter(H=>!pe.isEqual(H,z))),M&&M({id:S,value:D.filter(H=>!pe.isEqual(H,z))}),D.filter(H=>!pe.isEqual(H,z))):(c&&c([...D,z]),M&&M({id:S,value:[...D,z]}),[...D,z]))},k=()=>i.length===0?d:i.map(z=>{const D=a.find(H=>pe.isEqual(H.value,z));return D?D.label:""}).filter(Boolean).join(", ");v.useEffect(()=>{o([])},[p]),v.useEffect(()=>{K!=null&&(Array.isArray(K)?o(K):o([]))},[K]);const m=z=>{l.current&&!l.current.contains(z.target)&&r(!1)};v.useEffect(()=>(document.addEventListener("mousedown",m),()=>{document.removeEventListener("mousedown",m)}),[]),v.useEffect(()=>{if(!s){const z=Z?[...a].sort((D,H)=>{var W;return(W=D.label)==null?void 0:W.localeCompare(H.label)}):[...a];G(z),R("")}},[s,a,Z]);const[E,R]=v.useState(""),P=z=>{const D=z.target.value;R(D);const H=a.filter(B=>B.label.toLowerCase().includes(D.toLowerCase())),W=Z?H.sort((B,Y)=>{var Q;return(Q=B.label)==null?void 0:Q.localeCompare(Y.label)}):H;G(W)};return t.jsxs("div",{ref:l,className:"relative",style:{width:h},children:[t.jsx(et,{label:k(),onchange:()=>{},options:[],size:h,isOpen:s,setIsOpen:r,disabledClickOutside:!0,disabled:x,error:g,labelText:u,gap:T,subLabelText:w,fontSizeLabel:A,fontSizeLabelText:j,fontSizeTooltip:I,heightTooltip:U,leftTooltip:$,tooltip:q,topTooltip:f,widthTooltip:L,isTooltipVisible:_,withoutOptions:!0}),s&&t.jsxs("ul",{className:"multiselect-options",style:{maxHeight:b},children:[a.length>=Et&&t.jsx("div",{style:{padding:"4px 8px",fontSize:"1vw",backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(at,{inputProperties:{placeholder:F,size:{width:"100%",height:"28px"},type:"text",onChange:z=>P(z),fontStyle:"italic"}})}),ee.length===0&&E.trim()!==""?t.jsxs("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:y,cursor:"default",overflowWrap:"break-word"},children:['No se encontraron resultados para "',E,'"']}):ee.map(z=>t.jsxs("li",{onClick:()=>O(z.value),className:i.some(D=>pe.isEqual(D,z.value))?"selected":"",style:{fontSize:y},children:[t.jsx(po,{checked:i.some(D=>pe.isEqual(D,z.value)),onChange:D=>{D.stopPropagation(),O(z.value)},onClick:()=>O(z.value),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),z.label]},z.value.title||z.value)),a.length===0&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:y,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]})]})};go.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 B0=()=>{const[e,s]=v.useState(15),r=()=>{s(l=>l+1)},i=()=>{s(l=>l-1)},o=l=>{const a=parseInt(l.target.value);isNaN(a)||s(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:r,className:"spinner-button up",children:"▲"}),t.jsx("button",{onClick:i,className:"spinner-button down",children:"▼"})]})]})},mo=({options:e,value:s,onChange:r,width:i,disabled:o,height:l,widthIcon:a,heightIcon:c,keyReset:d})=>{const h=({value:p})=>{r(p)},g=p=>p.map(y=>({label:y.toString(),value:y}));return t.jsx(et,{label:s,onchange:h,options:g(e),Icon:$i,size:i,disabled:o,paddingDropdownHeader:"0 0.5vw",height:l,widthIcon:a,heightIcon:c,keyReset:d,sortAlphabetically:!1})};mo.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 yo=e=>{var r,i,o;const{inputProperties:s}=e;return t.jsxs(k1,{style:{...s==null?void 0:s.size},isSuccessful:(r=s==null?void 0:s.state)==null?void 0:r.success,children:[t.jsx(C1,{...s}),((i=s==null?void 0:s.state)==null?void 0:i.error)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{children:"*"})}),((o=s==null?void 0:s.state)==null?void 0:o.success)&&t.jsx("div",{style:{height:"20px"},children:t.jsx(xi,{style:{color:"#009470",fontSize:"15px"},children:"✔"})})]})};yo.propTypes={inputProperties:n.object};const F0=e=>{const{options:s=[],value:r,onChange:i,onBlur:o,onFocus:l,sortAlphabetically:a=!0,searchable:c=!0}=e,[d,h]=v.useState([]),[g,p]=v.useState(!1),[y,x]=v.useState(!1),[b,u]=v.useState(""),[w,T]=v.useState(null),A=v.useRef(null),M=v.useRef(null),S=v.useRef(null),j=F=>F.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();v.useEffect(()=>{let F=[...s];a&&F.sort((Z,K)=>(Z.label||"").localeCompare(K.label||"")),h(F)},[s,a]),v.useEffect(()=>{if(r!=null){const F=s.find(Z=>pe.isEqual(Z.value,r));T(F||null)}else T(null)},[r,s]),v.useEffect(()=>{if(!b.trim()){let Z=[...s];a&&Z.sort((K,ee)=>(K.label||"").localeCompare(ee.label||"")),h(Z);return}const F=s.filter(Z=>j(Z.label).includes(j(b)));a&&F.sort((Z,K)=>(Z.label||"").localeCompare(K.label||"")),h(F)},[b,s,a]),v.useEffect(()=>{y?S.current&&setTimeout(()=>{var F;return(F=S.current)==null?void 0:F.focus()},50):u("")},[y]),v.useEffect(()=>{const F=Z=>{A.current&&!A.current.contains(Z.target)&&(x(!1),p(!1))};return document.addEventListener("mousedown",F),()=>document.removeEventListener("mousedown",F)},[]);const I=()=>{var F;e.disabled||(x(!y),y||(F=M.current)==null||F.focus())},U=F=>{let Z;pe.isEqual(w==null?void 0:w.value,F.value)?Z=null:Z=F,T(Z),x(!1);const K={target:{id:e.id,name:e.name,value:(Z==null?void 0:Z.value)||null,type:"select",checked:void 0,selectedOption:Z,label:(Z==null?void 0:Z.label)||null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(K),o==null||o(K)},$=()=>{T(null),u("");const F={target:{id:e.id,name:e.name,value:null,type:"select",checked:void 0,selectedOption:null,label:null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(F)},q=F=>{p(!0),l==null||l(F)},f=F=>{var Z;(Z=A.current)!=null&&Z.contains(F.relatedTarget)||(p(!1),o==null||o(F))},L=F=>{var Z;if(!e.disabled)switch(F.key){case"Enter":case" ":y||(F.preventDefault(),x(!0));break;case"Escape":x(!1),(Z=M.current)==null||Z.focus();break;case"ArrowDown":case"ArrowUp":F.preventDefault(),y||x(!0);break}},_=v.useMemo(()=>c&&s.length>=Et,[c,s.length]);return{filteredOptions:d,isFocused:g,isOpen:y,searchQuery:b,setSearchQuery:u,selectedOption:w,dropdownRef:A,inputRef:M,searchInputRef:S,toggleDropdown:I,handleOptionSelect:U,handleClear:$,handleFocus:q,handleBlur:f,handleKeyDown:L,showSearch:_}},_s=v.forwardRef((e,s)=>{const{className:r="",disabled:i=!1,dropdownClassName:o="",error:l=!1,fontSize:a="14px",icon:c,id:d,placeholder:h="Select",maxHeight:g="300px",name:p,noOptionsMessage:y="No hay opciones disponibles",noResultsMessage:x="No se encontraron resultados",options:b=[],required:u=!1,placeholderInput:w="Buscar...",width:T="300px",...A}=e,{filteredOptions:M,isFocused:S,isOpen:j,searchQuery:I,setSearchQuery:U,selectedOption:$,dropdownRef:q,inputRef:f,searchInputRef:L,toggleDropdown:_,handleOptionSelect:F,handleClear:Z,handleFocus:K,handleBlur:ee,handleKeyDown:G,showSearch:O}=F0(e);v.useImperativeHandle(s,()=>({focus:()=>{var E;return(E=f.current)==null?void 0:E.focus()},blur:()=>{var E;return(E=f.current)==null?void 0:E.blur()},value:($==null?void 0:$.value)||"",clear:()=>Z()}));const k=["bs-dropdown",l&&"bs-error",i&&"bs-disabled",j&&"bs-open",S&&"bs-focused",r].filter(Boolean).join(" "),m=["bs-dropdown-options",o].filter(Boolean).join(" ");return t.jsxs("div",{ref:q,className:k,...A,style:{width:T},children:[t.jsx("input",{ref:f,type:"hidden",id:d,name:p,value:($==null?void 0:$.value)||"",required:u,disabled:i}),t.jsxs("div",{className:"bs-dropdown-header",onClick:_,onFocus:K,onBlur:ee,onKeyDown:G,role:"combobox","aria-expanded":j,"aria-haspopup":"listbox","aria-labelledby":`${d}-label`,"aria-disabled":i,tabIndex:i?-1:0,style:{fontSize:a},children:[t.jsx("span",{className:"bs-dropdown-value",children:($==null?void 0:$.label)||h}),c?t.jsx(c,{className:`bs-icon ${j?"bs-icon-up":""}`}):t.jsx("i",{className:`bs-arrow ${j?"bs-arrow-up":"bs-arrow-down"}`})]}),j&&t.jsxs("div",{className:m,role:"listbox",children:[O&&t.jsx("div",{className:"bs-search-container",children:t.jsx(at,{ref:L,inputProperties:{placeholder:w,size:{width:"100%",height:"28px"},type:"text",onChange:E=>U(E.target.value),onKeyDown:E=>{E.key==="Enter"&&M.length>0&&F(M[0])},fontStyle:"italic",value:I,style:{fontSize:a}}})}),t.jsx("ul",{className:"bs-options-list",style:{maxHeight:g},children:b.length===0?t.jsx("li",{className:"bs-no-options",children:y}):M.length===0?t.jsxs("li",{className:"bs-no-options",children:[x," ",I&&`"${I}"`]}):M.map((E,R)=>t.jsxs("li",{className:`bs-option ${pe.isEqual($==null?void 0:$.value,E.value)?"bs-selected":""}`,onClick:()=>F(E),role:"option","aria-selected":pe.isEqual($==null?void 0:$.value,E.value),style:{fontSize:a},children:[t.jsx("span",{className:"bs-option-label",children:E.label}),E.description&&t.jsx("span",{className:"bs-option-description",children:E.description})]},E.id||E.value||R))})]})]})});_s.displayName="Select",_s.propTypes={id:n.string,label:n.string,name:n.string,placeholder:n.string,options:n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string})),className:n.string,disabled:n.bool,dropdownClassName:n.string,error:n.bool,fontSize:n.string,icon:n.elementType,maxHeight:n.string,noOptionsMessage:n.string,noResultsMessage:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,required:n.bool,searchable:n.bool,placeholderInput:n.string,sortAlphabetically:n.bool,value:n.any,width:n.string};const L0=(e,s)=>{var r,i,o;if(!Array.isArray(e)&&typeof e!="object")throw new Error("Invalid data format. Expected an array or an object.");if(s){if(typeof e=="object"&&!Array.isArray(e))return(i=(r=Object.entries(e))==null?void 0:r.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(h=>({id:h==null?void 0:h.id,name:h==null?void 0:h.name})))==null?void 0:d.sort((h,g)=>{var p;return(p=h.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.")},_0=ye.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.${s}Chann
|
|
|
435
435
|
display: flex;
|
|
436
436
|
justify-content: center;
|
|
437
437
|
align-items: center;
|
|
438
|
-
`,Ye=e=>{const{disabled:s,onClick:r,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconProp:c}=e;return t.jsxs(xo,{disabled:s,onClick:r,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"}})]})};Ye.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 Vs=({data:e,grouped:s,divideColumns:r=!1,selectButton:i,onChange:o,onChangeFunction:l,label:a,width:c,textButton:d,maxHeight:h,keyReset:g,left:p=!1,minWidthDropdown:y="100%",disabled:x,textOverflow:b=!0,widthDropdown:u,error:w,fontSizeLabelText:T,fontSizeTooltip:A,heightTooltip:z,leftTooltip:S,tooltip:j,topTooltip:W,widthTooltip:Z,isTooltipVisible:L,subLabelText:q,labelText:f,language:H="es",textSelectAll:_="Seleccionar Todo",placeholderSearch:F="Buscar...",isRelative:U=!1,selectedValues:G,fontSizeLabel:ee,fontSizeOptions:Y="1vw"})=>{const[O,k]=v.useState([]),[m,E]=v.useState(""),[P,I]=v.useState(!1),M=v.useRef(null),D=v.useRef(!1),$=v.useRef(G!==void 0);v.useEffect(()=>{G!==void 0&&(k(G),$.current=!0)},[G]);const B=L0(e,s),J=Object.values(B).flat().length>=Et,K=()=>{if(m.trim()==="")return Object.values(B).flat();const ce=m.toLowerCase(),oe=[];return Object.entries(B).forEach(([de,te])=>{if(!Array.isArray(te)||te.length===0)return;if(de.toLowerCase().includes(ce))oe.push(...te);else{const ze=te.filter(Ne=>Ne.name.toLowerCase().includes(ce));oe.push(...ze)}}),oe},X=K().length>0,he=ce=>ce.map(oe=>{let de=null;if(s&&typeof e=="object"&&!Array.isArray(e)){for(const te of Object.values(e))if(Array.isArray(te)&&(de=te.find(ie=>ie.id===oe),de))break}else Array.isArray(e)&&(de=e.find(te=>te.id===oe));if(de){const te={id:de.id,name:de.name};return de.value!==void 0&&(te.value=de.value),Object.keys(de).forEach(ie=>{Object.prototype.hasOwnProperty.call(te,ie)||(te[ie]=de[ie])}),te}return null}).filter(Boolean),le=ce=>{if(D.current=!0,ce.target.checked){const oe=K(),de=oe.map(ze=>ze.id),ie=[...O.filter(ze=>!oe.some(De=>De.id===ze)),...de];if(k(ie),o&&o(ie),l){const ze=he(ie);l(ze)}}else{const de=K().map(ie=>ie.id),te=O.filter(ie=>!de.includes(ie));if(k(te),o&&o(te),l){const ie=he(te);l(ie)}}},fe=ce=>{D.current=!0,k(oe=>{const de=oe.includes(ce)?oe.filter(te=>te!==ce):[...oe,ce];if(o&&o(de),l){const te=he(de);l(te)}return de})},_e=()=>{if(o&&o(O),l){const ce=he(O);l(ce)}I(!1)};v.useEffect(()=>{const ce=oe=>{M.current&&!M.current.contains(oe.target)&&I(!1)};return document.addEventListener("mousedown",ce),()=>{document.removeEventListener("mousedown",ce)}},[M]),v.useEffect(()=>{P||E("")},[P]);const ke=()=>O.map(oe=>{for(const de of Object.values(B)){const te=de.find(ie=>ie.id===oe);if(te)return te.name}return null}).filter(Boolean).join(", ");v.useEffect(()=>{k([]),D.current=!1,G===void 0&&($.current=!1)},[g,G]),v.useEffect(()=>{if($.current&&!D.current){const ce=G||[];k(oe=>JSON.stringify(oe.sort())!==JSON.stringify(ce.sort())?ce:oe)}D.current=!1},[G]);const Pe=Object.values(B).every(ce=>Array.isArray(ce)&&ce.length===0);return t.jsxs("div",{className:"relative",ref:M,children:[t.jsx(et,{label:O.length>0?ke():a,onchange:()=>{},options:[],size:c,isOpen:P,setIsOpen:I,disabledClickOutside:!0,disabled:x,error:w,fontSizeLabelText:T,fontSizeTooltip:A,heightTooltip:z,leftTooltip:S,tooltip:j,topTooltip:W,widthTooltip:Z,isTooltipVisible:L,labelText:f,subLabelText:q,fontSizeLabel:ee,withoutOptions:!0}),P&&t.jsxs("div",{className:"item-filter",style:{left:p?"0":"auto",right:p?"auto":"0",minWidth:y,width:u,position:U?"relative":"absolute"},children:[t.jsxs("div",{children:[J&&t.jsx("div",{style:{padding:"4px 8px",fontSize:Y,backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(at,{inputProperties:{placeholder:F,size:{width:"100%",height:"28px"},type:"text",onChange:ce=>E(ce.target.value),fontStyle:"italic"}})}),X&&t.jsx("div",{style:{padding:"0px 15px",fontSize:Y,borderBottom:"1px solid #D0D0CE",backgroundColor:(()=>{const ce=K();return ce.length>0&&ce.every(de=>O.includes(de.id))?"#f4f4f4":"transparent"})()},children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{checked:(()=>{const ce=K();return ce.length>0&&(ce==null?void 0:ce.every(oe=>O==null?void 0:O.includes(oe.id)))})(),onChange:le,sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:_,sx:{"& .MuiFormControlLabel-label":{fontSize:Y,whiteSpace:b?"nowrap":"normal",overflow:"hidden",textOverflow:b?"ellipsis":"clip",textAlign:"start"}}})})]}),t.jsxs("div",{className:"items-list",children:[!X&&m.trim()!==""?t.jsxs("div",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:Y,overflowWrap:"break-word"},children:['No se encontraron resultados para "',m,'"']}):(()=>{const ce=Object.entries(B).filter(([oe,de])=>{var Ne;if(!Array.isArray(de)||de.length===0)return!1;if(m.trim()==="")return!0;const te=m.toLowerCase(),ie=(Ne=oe==null?void 0:oe.toLowerCase())==null?void 0:Ne.includes(te),ze=de==null?void 0:de.some(De=>{var ae,Te;return(Te=(ae=De==null?void 0:De.name)==null?void 0:ae.toLowerCase())==null?void 0:Te.includes(te)});return ie||ze});return ce==null?void 0:ce.map(([oe,de],te)=>t.jsxs("div",{className:"item-group",style:{margin:s&&te===0?"8px":"0"},children:[oe!=="Ungrouped"&&s&&t.jsxs(t.Fragment,{children:[t.jsx("h3",{style:{fontSize:Y,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(Ne=>{var Te,Ge,st;if((m==null?void 0:m.trim())==="")return!0;const De=m==null?void 0:m.toLowerCase();return((Te=oe==null?void 0:oe.toLowerCase())==null?void 0:Te.includes(De))?!0:(st=(Ge=Ne==null?void 0:Ne.name)==null?void 0:Ge.toLowerCase())==null?void 0:st.includes(De)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(Ne=>O==null?void 0:O.includes(Ne.id)))?"#f4f4f4":"transparent"})()},children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{checked:(()=>{const ie=de.filter(ze=>{var ae,Te,Ge;if((m==null?void 0:m.trim())==="")return!0;const Ne=m==null?void 0:m.toLowerCase();return((ae=oe==null?void 0:oe.toLowerCase())==null?void 0:ae.includes(Ne))?!0:(Ge=(Te=ze==null?void 0:ze.name)==null?void 0:Te.toLowerCase())==null?void 0:Ge.includes(Ne)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(ze=>O==null?void 0:O.includes(ze.id)))})(),onChange:ie=>{D.current=!0;const Ne=de.filter(De=>{if(m.trim()==="")return!0;const ae=m.toLowerCase();return oe.toLowerCase().includes(ae)?!0:De.name.toLowerCase().includes(ae)}).map(De=>De.id);if(ie.target.checked){const De=Ne.filter(Te=>!O.includes(Te)),ae=[...O,...De];if(k(ae),o&&o(ae),l){const Te=he(ae);l(Te)}}else{const De=O.filter(ae=>!Ne.includes(ae));if(k(De),o&&o(De),l){const ae=he(De);l(ae)}}},sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:(()=>{if(s&&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:Y,fontWeight:"400",lineHeight:"22px",whiteSpace:b?"nowrap":"normal",overflow:"hidden",textOverflow:b?"ellipsis":"clip"}}})})]}),de.filter(ie=>{if(m.trim()==="")return!0;const ze=m.toLowerCase();return oe.toLowerCase().includes(ze)?!0:ie.name.toLowerCase().includes(ze)}).map(ie=>t.jsx("div",{className:"item",style:{backgroundColor:O.includes(ie.id)?"#f4f4f4":"transparent"},children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{checked:O.includes(ie.id),onChange:()=>fe(ie.id),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:ie.name,sx:{"& .MuiFormControlLabel-label":{fontSize:Y,fontWeight:"400",lineHeight:"22px",whiteSpace:b?"nowrap":"normal",overflow:"hidden",textOverflow:b?"ellipsis":"clip"}}})},ie.id))]},oe))})(),Pe&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:Y,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]}),i&&t.jsx("div",{className:"containerButtonSelectAll",children:t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>_e()},children:d})})]})]})};Vs.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 Z0=e=>{const{options:s=[],value:r,onChange:i,onBlur:o,onFocus:l,sortAlphabetically:a=!0,searchable:c=!0,textSelectAll:d="Seleccionar Todo"}=e,[h,g]=v.useState([]),[p,y]=v.useState(!1),[x,b]=v.useState(!1),[u,w]=v.useState(""),[T,A]=v.useState([]),z=v.useRef(null),S=v.useRef(null),j=v.useRef(null),W=v.useMemo(()=>{const k=s;if(Array.isArray(k))return k.map(m=>({...m,group:null}));if(typeof k=="object"&&k!==null){const m=[];return Object.entries(k).forEach(([E,P])=>{Array.isArray(P)&&P.forEach(I=>{m.push({...I,group:E})})}),m}return[]},[s]),Z=k=>k.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();v.useEffect(()=>{let k=[...W];a&&k.sort((m,E)=>(m.label||"").localeCompare(E.label||"")),g(k)},[W,a]),v.useEffect(()=>{r!=null?Array.isArray(r)?A(r):A([]):A([])},[r,s]),v.useEffect(()=>{if(!u.trim()){let m=[...W];a&&m.sort((E,P)=>(E.label||"").localeCompare(P.label||"")),g(m);return}const k=W.filter(m=>Z(m.label).includes(Z(u)));a&&k.sort((m,E)=>(m.label||"").localeCompare(E.label||"")),g(k)},[u,W,a]),v.useEffect(()=>{x?j.current&&setTimeout(()=>{var k;return(k=j.current)==null?void 0:k.focus()},50):w("")},[x]),v.useEffect(()=>{const k=m=>{z.current&&!z.current.contains(m.target)&&(b(!1),y(!1))};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[]);const L=()=>{var k;e.disabled||(b(!x),x||(k=S.current)==null||k.focus())},q=k=>{A(m=>{const E=m.some(M=>pe.isEqual(M,k.value));let P;E?P=m.filter(M=>!pe.isEqual(M,k.value)):P=[...m,k.value];const I={target:{id:e.id,name:e.name,value:P,type:"select-multiple",checked:void 0,selectedOptions:P},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};return i==null||i(I),o==null||o(I),P})},f=()=>{const k=h.map(m=>m.value);A(m=>{const E=k.every(M=>m.some(D=>pe.isEqual(D,M)));let P;if(E)P=m.filter(M=>!k.some(D=>pe.isEqual(M,D)));else{const M=k.filter(D=>!m.some($=>pe.isEqual($,D)));P=[...m,...M]}const I={target:{id:e.id,name:e.name,value:P,type:"select-multiple",checked:void 0,selectedOptions:P},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};return i==null||i(I),o==null||o(I),P})},H=()=>{A([]),w("");const k={target:{id:e.id,name:e.name,value:[],type:"select-multiple",checked:void 0,selectedOptions:[]},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(k)},_=k=>{y(!0),l==null||l(k)},F=k=>{var m;(m=z.current)!=null&&m.contains(k.relatedTarget)||(y(!1),o==null||o(k))},U=k=>{var m;if(!e.disabled)switch(k.key){case"Enter":case" ":x||(k.preventDefault(),b(!0));break;case"Escape":b(!1),(m=S.current)==null||m.focus();break;case"ArrowDown":case"ArrowUp":k.preventDefault(),x||b(!0);break}},G=c&&s.length>=Et,ee=()=>T.length===0?e.placeholder||"Select":T.map(m=>{const E=W.find(P=>pe.isEqual(P.value,m));return E?E.label:""}).filter(Boolean).join(", "),Y=k=>{const m=k.map(M=>M.value),P=m.every(M=>T.some(D=>pe.isEqual(D,M)))?T.filter(M=>!m.some(D=>pe.isEqual(M,D))):[...T,...m.filter(M=>!T.some(D=>pe.isEqual(D,M)))];A(P);const I={target:{id:e.id,name:e.name,value:P,type:"select-multiple",checked:void 0,selectedOptions:P},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(I),o==null||o(I)},O=h.length>0&&h.every(k=>T.some(m=>pe.isEqual(m,k.value)));return{filteredOptions:h,isFocused:p,isOpen:x,searchQuery:u,setSearchQuery:w,selectedOptions:T,dropdownRef:z,inputRef:S,searchInputRef:j,toggleDropdown:L,handleOptionSelect:q,handleSelectAll:f,handleSelectGroup:Y,handleClear:H,handleFocus:_,handleBlur:F,handleKeyDown:U,showSearch:G,getDisplayLabel:ee,allVisibleSelected:O,textSelectAll:d}},Zs=v.forwardRef((e,s)=>{const{className:r="",disabled:i=!1,dropdownClassName:o="",error:l=!1,fontSize:a="14px",icon:c,id:d,maxHeight:h="300px",name:g,noOptionsMessage:p="No hay opciones disponibles",noResultsMessage:y="No se encontraron resultados",options:x=[],required:b=!1,placeholderInput:u="Buscar...",width:w="300px",...T}=e,{filteredOptions:A,isFocused:z,isOpen:S,searchQuery:j,setSearchQuery:W,selectedOptions:Z,dropdownRef:L,inputRef:q,searchInputRef:f,toggleDropdown:H,handleOptionSelect:_,handleSelectAll:F,handleSelectGroup:U,handleClear:G,handleFocus:ee,handleBlur:Y,handleKeyDown:O,showSearch:k,getDisplayLabel:m,allVisibleSelected:E,textSelectAll:P}=Z0(e),I=A.reduce(($,B)=>{const R=B.group||"Ungrouped";return $[R]||($[R]=[]),$[R].push(B),$},{});v.useImperativeHandle(s,()=>({focus:()=>{var $;return($=q.current)==null?void 0:$.focus()},blur:()=>{var $;return($=q.current)==null?void 0:$.blur()},value:Z,clear:()=>G()}));const M=["bs-dropdown",l&&"bs-error",i&&"bs-disabled",S&&"bs-open",z&&"bs-focused",r].filter(Boolean).join(" "),D=["bs-dropdown-options",o].filter(Boolean).join(" ");return t.jsxs("div",{ref:L,className:M,...T,style:{width:w},children:[t.jsx("input",{ref:q,type:"hidden",id:d,name:g,value:JSON.stringify(Z),required:b,disabled:i}),t.jsxs("div",{className:"bs-dropdown-header",onClick:H,onFocus:ee,onBlur:Y,onKeyDown:O,role:"combobox","aria-expanded":S,"aria-haspopup":"listbox","aria-labelledby":`${d}-label`,"aria-disabled":i,tabIndex:i?-1:0,style:{fontSize:a},children:[t.jsx("span",{className:"bs-dropdown-value",children:m()}),c?t.jsx(c,{className:`bs-icon ${S?"bs-icon-up":""}`}):t.jsx("i",{className:`bs-arrow ${S?"bs-arrow-up":"bs-arrow-down"}`})]}),S&&t.jsxs("div",{className:D,role:"listbox",children:[k&&t.jsx("div",{className:"bs-search-container",children:t.jsx(at,{ref:f,inputProperties:{placeholder:u,size:{width:"100%",height:"28px"},type:"text",onChange:$=>W($.target.value),onKeyDown:$=>{$.key==="Enter"&&A.length>0},fontStyle:"italic",value:j,style:{fontSize:a}}})}),A.length>0&&t.jsxs("div",{className:"bs-select-all",children:[t.jsx(Le.Checkbox,{checked:E,onChange:F,size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsx("span",{style:{fontSize:a},children:P})]}),t.jsx("div",{className:"bs-options-list",style:{maxHeight:h},children:Object.keys(I).length===0?t.jsx("div",{className:"bs-no-options",children:x.length===0?p:y+(j?` "${j}"`:"")}):Object.entries(I).map(([$,B])=>t.jsxs("div",{children:[$!=="Ungrouped"&&t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"bs-group-header",children:[t.jsx(Le.Checkbox,{checked:B.every(R=>Z.some(J=>pe.isEqual(J,R.value))),onChange:()=>U(B),size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsxs("span",{style:{fontSize:a,fontWeight:"bold"},children:["Seleccionar ",$]})]}),B.map((R,J)=>t.jsxs("div",{className:`bs-option ${Z.some(K=>pe.isEqual(K,R.value))?"bs-selected":""}`,onClick:()=>_(R),role:"option","aria-selected":Z.some(K=>pe.isEqual(K,R.value)),style:{fontSize:a},children:[t.jsx(Le.Checkbox,{checked:Z.some(K=>pe.isEqual(K,R.value)),onChange:()=>_(R),size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsx("span",{className:"bs-option-label",children:R.label}),R.description&&t.jsx("span",{className:"bs-option-description",children:R.description})]},R.id||R.value||J))]}),$==="Ungrouped"&&B.map((R,J)=>t.jsxs("div",{className:`bs-option ${Z.some(K=>pe.isEqual(K,R.value))?"bs-selected":""}`,onClick:()=>_(R),role:"option","aria-selected":Z.some(K=>pe.isEqual(K,R.value)),style:{fontSize:a},children:[t.jsx(Le.Checkbox,{checked:Z.some(K=>pe.isEqual(K,R.value)),onChange:()=>_(R),size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsx("span",{className:"bs-option-label",children:R.label}),R.description&&t.jsx("span",{className:"bs-option-description",children:R.description})]},R.id||R.value||J))]},$))})]})]})});Zs.displayName="SelectMultiple",Zs.propTypes={id:n.string,label:n.string,name:n.string,placeholder:n.string,options:n.oneOfType([n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string})),n.object]),className:n.string,disabled:n.bool,dropdownClassName:n.string,error:n.bool,fontSize:n.string,icon:n.elementType,maxHeight:n.string,noOptionsMessage:n.string,noResultsMessage:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,required:n.bool,searchable:n.bool,placeholderInput:n.string,sortAlphabetically:n.bool,value:n.array,width:n.string,textSelectAll:n.string};const U0=e=>{const{options:s=[],value:r,onChange:i,onBlur:o,onFocus:l,sortAlphabetically:a=!1,searchable:c=!1}=e,[d,h]=v.useState(!1),[g,p]=v.useState(""),[y,x]=v.useState([]),[b,u]=v.useState(null),[w,T]=v.useState(!1),[A,z]=v.useState(null),[S,j]=v.useState({top:0,left:0}),W=v.useRef(null),Z=v.useRef(null),L=v.useRef(null),q=O=>O.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();v.useEffect(()=>{let O=[...s];a&&O.sort((k,m)=>(k.label||"").localeCompare(m.label||"")),x(O)},[s,a]),v.useEffect(()=>{if(r!=null){const O=s.find(k=>pe.isEqual(k.value,r));u(O||null)}else u(null)},[r,s]),v.useEffect(()=>{if(!g.trim()){let k=[...s];a&&k.sort((m,E)=>(m.label||"").localeCompare(E.label||"")),x(k);return}const O=s.filter(k=>q(k.label).includes(q(g)));a&&O.sort((k,m)=>(k.label||"").localeCompare(m.label||"")),x(O)},[g,s,a]),v.useEffect(()=>{d?L.current&&setTimeout(()=>{var O;return(O=L.current)==null?void 0:O.focus()},50):p("")},[d]),v.useEffect(()=>{const O=k=>{W.current&&!W.current.contains(k.target)&&(h(!1),T(!1),z(null))};return document.addEventListener("mousedown",O),()=>document.removeEventListener("mousedown",O)},[]);const f=()=>{var O;e.disabled||(h(!d),d||(O=Z.current)==null||O.focus())},H=O=>{if(O.children&&O.children.length>0)return;let k;pe.isEqual(b==null?void 0:b.value,O.value)?k=null:k=O,u(k),h(!1),z(null);const m={target:{id:e.id,name:e.name,value:(k==null?void 0:k.value)||null,type:"nested-select",checked:void 0,selectedOption:k,label:(k==null?void 0:k.label)||null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(m),o==null||o(m)},_=(O,k)=>{if(k.stopPropagation(),O.children&&O.children.length>0)if(A&&A.id===O.id)z(null);else{const m=k.currentTarget.getBoundingClientRect();j({top:m.top,left:m.right}),z(O)}else H(O)},F=()=>{u(null),p("");const O={target:{id:e.id,name:e.name,value:null,type:"select",checked:void 0,selectedOption:null,label:null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(O)},U=O=>{T(!0),l==null||l(O)},G=O=>{var k;(k=W.current)!=null&&k.contains(O.relatedTarget)||(T(!1),o==null||o(O))},ee=O=>{var k;if(!e.disabled)switch(O.key){case"Enter":case" ":d||(O.preventDefault(),h(!0));break;case"Escape":h(!1),(k=Z.current)==null||k.focus();break;case"ArrowDown":case"ArrowUp":O.preventDefault(),d||h(!0);break}},Y=c&&s.length>=Et;return{filteredOptions:y,isFocused:w,isOpen:d,searchQuery:g,setSearchQuery:p,selectedOption:b,activeOption:A,subMenuPosition:S,dropdownRef:W,inputRef:Z,searchInputRef:L,toggleDropdown:f,handleOptionSelect:H,handleOptionClick:_,handleClear:F,handleFocus:U,handleBlur:G,handleKeyDown:ee,showSearch:Y}},Us=v.forwardRef((e,s)=>{const{id:r,name:i,placeholder:o="Select",options:l=[],disabled:a=!1,error:c=!1,required:d=!1,className:h="",dropdownClassName:g="",placeholderInput:p="Buscar...",noOptionsMessage:y="No hay opciones disponibles",noResultsMessage:x="No se encontraron resultados",width:b="300px",maxHeight:u="300px",fontSize:w="14px",icon:T,...A}=e,{filteredOptions:z,isFocused:S,isOpen:j,searchQuery:W,setSearchQuery:Z,selectedOption:L,activeOption:q,subMenuPosition:f,dropdownRef:H,inputRef:_,searchInputRef:F,toggleDropdown:U,handleOptionSelect:G,handleOptionClick:ee,handleClear:Y,handleFocus:O,handleBlur:k,handleKeyDown:m,showSearch:E}=U0(e);v.useImperativeHandle(s,()=>({focus:()=>{var M;return(M=_.current)==null?void 0:M.focus()},blur:()=>{var M;return(M=_.current)==null?void 0:M.blur()},value:(L==null?void 0:L.value)||"",clear:()=>Y()}));const P=["bs-dropdown",c&&"bs-error",a&&"bs-disabled",j&&"bs-open",S&&"bs-focused",h].filter(Boolean).join(" "),I=["bs-dropdown-options",g].filter(Boolean).join(" ");return t.jsxs("div",{ref:H,className:P,...A,style:{width:b},children:[t.jsx("input",{ref:_,type:"hidden",id:r,name:i,value:(L==null?void 0:L.value)||"",required:d,disabled:a}),t.jsxs("div",{className:"bs-dropdown-header",onClick:U,onFocus:O,onBlur:k,onKeyDown:m,role:"combobox","aria-expanded":j,"aria-haspopup":"listbox","aria-labelledby":`${r}-label`,"aria-disabled":a,tabIndex:a?-1:0,style:{fontSize:w},children:[t.jsx("span",{className:"bs-dropdown-value",children:(L==null?void 0:L.label)||o}),T?t.jsx(T,{className:`bs-icon ${j?"bs-icon-up":""}`}):t.jsx("i",{className:`bs-arrow ${j?"bs-arrow-up":"bs-arrow-down"}`})]}),j&&t.jsxs("div",{className:I,role:"listbox",children:[E&&t.jsx("div",{className:"bs-search-container",children:t.jsx(at,{ref:F,inputProperties:{placeholder:p,size:{width:"100%",height:"28px"},type:"text",onChange:M=>Z(M.target.value),onKeyDown:M=>{M.key==="Enter"&&z.length>0&&G(z[0])},onClick:M=>M.stopPropagation(),value:W,style:{fontSize:w}}})}),t.jsx("ul",{className:"bs-options-list",style:{maxHeight:u},children:l.length===0?t.jsx("li",{className:"bs-no-options",children:y}):z.length===0?t.jsxs("li",{className:"bs-no-options",children:[x," ",W&&`"${W}"`]}):z.map((M,D)=>t.jsxs("li",{className:`bs-option ${pe.isEqual(L==null?void 0:L.value,M.value)?"bs-selected":""} ${q&&pe.isEqual(q.value,M.value)?"bs-active":""}`,onClick:$=>ee(M,$),role:"option","aria-selected":pe.isEqual(L==null?void 0:L.value,M.value),"aria-haspopup":M.children&&M.children.length>0?"menu":void 0,"aria-expanded":!!(q&&pe.isEqual(q.value,M.value)),style:{fontSize:w},children:[t.jsx("span",{className:"bs-option-label",children:M.label}),M.description&&t.jsx("span",{className:"bs-option-description",children:M.description}),M.children&&M.children.length>0&&t.jsx("span",{className:"bs-option-arrow",children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:8,height:12,fill:"none",children:t.jsx("path",{fill:"#8598AD",fillRule:"evenodd",d:"M0 1.4 4.6 6 0 10.6 1.4 12l6-6-6-6L0 1.4Z",clipRule:"evenodd"})})})]},M.id||M.value||D))}),q&&q.children&&q.children.length>0&&t.jsx("div",{className:"bs-submenu",style:{position:"fixed",top:f.top,left:f.left,zIndex:9999,maxHeight:u},children:t.jsx("ul",{className:"bs-options-list",children:q.children.map((M,D)=>t.jsxs("li",{className:`bs-option ${pe.isEqual(L==null?void 0:L.value,M.value)?"bs-selected":""}`,onClick:$=>{$.stopPropagation(),G(M)},role:"option","aria-selected":pe.isEqual(L==null?void 0:L.value,M.value),style:{fontSize:w},children:[t.jsx("span",{className:"bs-option-label",children:M.label}),M.description&&t.jsx("span",{className:"bs-option-description",children:M.description})]},M.id||M.value||D))})})]})]})});Us.displayName="SelectNested",Us.propTypes={id:n.string,label:n.string,name:n.string,placeholder:n.string,options:n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string,children:n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string}))})),className:n.string,disabled:n.bool,dropdownClassName:n.string,error:n.bool,fontSize:n.string,icon:n.elementType,maxHeight:n.string,noOptionsMessage:n.string,noResultsMessage:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,required:n.bool,searchable:n.bool,placeholderInput:n.string,sortAlphabetically:n.bool,value:n.any,width:n.string};const bo=e=>t.jsx(et,{...e,inputRadio:!0});bo.propTypes={size:n.string,options:n.array,label:n.string,onchange:n.func,error:n.bool};const vo=e=>{const{data:s,onChange:r,label:i,size:o,error:l,keyReset:a,fontSizeOptions:c="0.9vw",fontSizeTitleOptions:d="1vw",fontSizeLabel:h,disabled:g,maxHeightOptions:p,value:y,hasDivisions:x,fontSizeLabelText:b,fontSizeTooltip:u,heightTooltip:w,leftTooltip:T,tooltip:A,topTooltip:z,widthTooltip:S,isTooltipVisible:j,labelText:W,subLabelText:Z}=e,[L,q]=v.useState(!1),f=v.useRef(null),[H,_]=v.useState(y||""),F=G=>{_(G),q(!1),r&&r(G)};v.useEffect(()=>{_("")},[a]);const U=G=>{f.current&&!f.current.contains(G.target)&&q(!1)};return v.useEffect(()=>(document.addEventListener("mousedown",U),()=>{document.removeEventListener("mousedown",U)}),[]),t.jsxs("div",{ref:f,className:"relative",style:{width:o},children:[t.jsx(et,{label:H.label||i,onchange:()=>{},options:[],size:o,isOpen:L,setIsOpen:q,disabledClickOutside:!0,disabled:g,error:l,fontSizeLabel:h,fontSizeLabelText:b,fontSizeTooltip:u,heightTooltip:w,leftTooltip:T,tooltip:A,topTooltip:z,widthTooltip:S,isTooltipVisible:j,labelText:W,subLabelText:Z}),L&&t.jsx("ul",{className:"item-filter",style:{width:"100%",maxHeight:p},children:s.map(G=>t.jsxs("div",{className:`item-group ${x?"border-bottom-select":""}`,style:{marginTop:"15px"},children:[t.jsx("h3",{style:{fontSize:d,fontWeight:"700"},children:G.title}),G.options.map(ee=>t.jsx("div",{onClick:()=>F(ee),className:"item",style:{padding:"15px 20px",width:"100%",fontSize:c,cursor:"pointer",fontWeight:"400"},children:ee.label},ee.label))]},G.title))})]})};vo.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 jo=e=>{const{id:s,onchange:r,label:i,colors:o,onChangeFunction:l,value:a,disabled:c}=e,[d,h]=v.useState(a||!1);v.useEffect(()=>{h(a||!1)},[a]);const g=x=>{c||(h(x.target.checked),r&&r(x.target.checked),l&&l({id:s,value:x.target.checked}))},p={height:"0",width:"0",visibility:"hidden",fontWeight:"500"},y={height:"0",width:"0",opacity:"0",position:"absolute"};return t.jsxs("div",{className:"switch-container",children:[i&&t.jsx("span",{className:"switch-label",children:d?"Activo":"Inactivo"}),t.jsxs("div",{children:[t.jsx("input",{className:"react-switch-checkbox",id:`react-switch-new-${s}`,type:"checkbox",checked:d,onChange:g,disabled:c,style:i?p:y}),t.jsx("label",{className:"react-switch-label",htmlFor:`react-switch-new-${s}`,style:{background:d?o.active:o.inactive},children:t.jsx("span",{className:"react-switch-button"})})]})]})};jo.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,disabled:n.bool};const wo=({width:e,height:s,minheight:r,maxHeight:i,id:o,name:l,value:a,onChange:c,label:d,subLabel:h,placeholder:g,maxCharacters:p,fontSizeLabel:y,fontSize:x,fontSizeTooltip:b,heightTooltip:u,leftTooltip:w,tooltip:T,topTooltip:A,widthTooltip:z,isTooltipVisible:S,onChangeFunction:j})=>{const W=Z=>{const{name:L,value:q}=Z.target;c&&c({name:L,value:q,id:o}),j&&j(Z)};return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"5px",width:e},children:[d&&t.jsx(Kt,{fontSizeTitle:y,fontSizeTooltip:b,heightTooltip:u,left:w,subTitle:h,title:d,tooltip:T,top:A,widthTooltip:z,isTooltipVisibleProp:S,marginBottom:"5px",htmlFor:o}),t.jsx("textarea",{name:l,id:o,value:a,onChange:W,placeholder:g,className:"text-area-library",maxLength:p,style:{width:e,height:s,minHeight:r,maxHeight:i,fontSize:x}}),p&&t.jsxs("div",{className:"max-characters-library",children:[p," caracteres"]})]})};wo.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 ko=({label:e,onchange:s,textSelect:r,width:i,labelText:o,subLabelText:l,fontSize:a})=>{const[c,d]=v.useState("00"),[h,g]=v.useState("00"),[p,y]=v.useState(!1),[x,b]=v.useState(e??"Hora Inicio"),u=v.useRef(),w=v.useRef(),T=Array.from({length:24},(W,Z)=>Z.toString().padStart(2,"0")),A=Array.from({length:60},(W,Z)=>Z.toString().padStart(2,"0"));v.useEffect(()=>{const W=Z=>{w.current&&!w.current.contains(Z.target)&&y(!1)};return document.addEventListener("mousedown",W),()=>{document.removeEventListener("mousedown",W)}},[]);const z=()=>{y(!1);const W=`${c}:${h}`;b(W),s(W)},S=W=>{let Z=W.target.value.replace(/\D/g,"");Z.length>4&&(Z=Z.slice(0,4));let L=Z;if(Z.length>=3&&(L=`${Z.slice(0,2)}:${Z.slice(2)}`),b(L),L.length===5){const[q,f]=L.split(":");parseInt(q,10)>=0&&parseInt(q,10)<24&&parseInt(f,10)>=0&&parseInt(f,10)<60?(d(q),g(f),s(L)):b(`${c}:${h}`)}},j=()=>{y(!p),u.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:w,style:{width:i},children:[t.jsxs("div",{className:"time-picker-input-wrapper",children:[t.jsx("input",{type:"text",ref:u,value:x,onChange:S,placeholder:"00:00",className:"time-picker-input",maxLength:5,style:{fontSize:a}}),t.jsx("button",{className:"time-picker-button",onClick:j,"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:T.map(W=>t.jsx("div",{className:`time-option ${c===W?"selected":""}`,onClick:()=>d(W),children:W},W))}),t.jsx("div",{className:"time-column",children:A.map(W=>t.jsx("div",{className:`time-option ${h===W?"selected":""}`,onClick:()=>g(W),children:W},W))})]}),t.jsx("button",{className:"ok-button",onClick:z,children:r??"Seleccionar"})]})]})]})};ko.propTypes={label:n.string,onchange:n.func,textSelect:n.string,width:n.string,labelText:n.string,subLabelText:n.any,fontSize:n.string};const Co=({handleReset:e,disabled:s})=>t.jsx("button",{className:`button-reset ${s?"disabled":""}`,onClick:()=>e(),disabled:s,children:t.jsx(kn,{})});Co.propTypes={handleReset:n.func,disabled:n.bool};const So=({width:e})=>t.jsxs(V0,{style:{backgroundColor:"#f5f6fa",width:e},children:[t.jsx(Hs,{children:t.jsx(fs,{width:"100%",height:"30px"})}),t.jsx(Hs,{children:t.jsx(hs,{width:"100%",height:"30px"})}),t.jsx(Hs,{children:t.jsx(us,{width:"60%",height:"30px"})})]});So.propTypes={width:n.string};const q0={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"}}},Qt=e=>{const s=e==null?void 0:e.IconProp;return t.jsx(ye.ThemeProvider,{theme:q0,children:t.jsxs(_0,{...e.buttonProperties,children:[s&&t.jsx(s,{style:{width:"30px",height:"30px"}}),e.children]})})};Qt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.any};const To=e=>{const s={...e,buttonProperties:{backgroundcolor:"#119672",...e.buttonProperties,style:{color:"white",...e.buttonProperties.style}}};return t.jsx(Ye,{...s,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:s,fontSize:r,disabled:i,children:o="DESCARGAR",icon:l,diseableOption:a})=>{const[c,d]=v.useState(!1),h=v.useRef(null);v.useEffect(()=>{const p=y=>{h.current&&!h.current.contains(y.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:h,style:{width:s},children:[t.jsx("button",{className:"download-button",onClick:()=>!i&&d(!c),children:t.jsxs("span",{style:{display:"flex",alignItems:"center",gap:"0.2vw",fontSize:r},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:s},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:s})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:s},children:t.jsx(Ei,{})});zo.propTypes={onclick:n.func,height:n.string};const Eo=({onclick:e,height:s})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:s},children:t.jsx(Ni,{})});Eo.propTypes={onclick:n.func,height:n.string};const Y0=Fe(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 r={IconProp:Y0,...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",border:"1px solid #21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Qt,{...r,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 r={...e,IconProp:wn};return t.jsx(Qt,{...r})};Do.propTypes={buttonProperties:n.shape({disabled:n.bool}),children:n.node||n.string,IconProp:n.node};const qs=e=>t.jsx(H0,{...e.buttonProperties,children:e.children});qs.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string};const Nt=e=>{const s={...e,buttonProperties:{backgroundcolor:"white",border:"1px solid #33a4dd",color:"#33a4dd",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Ye,{...s})};Nt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const G0=Fe(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"),Oo=e=>{const r={...e,IconProp:G0};return t.jsx(Qt,{...r})};Oo.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.node};const Ao=e=>{const{children:s,onChange:r,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"},h=g=>{const p=g.target.files[0];r(p)};return t.jsxs("div",{children:[t.jsx("input",{type:"file",id:a,accept:"image/*",disabled:i,style:{display:"none"},onChange:g=>h(g)}),t.jsxs("label",{htmlFor:a,style:c,children:[s,t.jsx(wn,{style:d})]})]})};Ao.propTypes={children:n.node||n.string,onChange:n.func,disabled:n.bool,width:n.string,fontSize:n.string,id:n.string};const On=({buttonProperties:e={},...s})=>{const r={backgroundcolor:"transparent",border:"1px solid #fcb035",color:"black",...e,style:{...e.style}};return t.jsx(Ye,{...s,buttonProperties:r,children:s.children})};On.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const K0=Fe(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:s})=>t.jsx(K0,{sx:{color:"#8598ad",width:20,height:20,marginBottom:e,cursor:"pointer"},onClick:s});Io.propTypes={marginBottom:n.string,onClick:n.func};const Ro=e=>{const s={...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(qs,{...s})};Ro.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Ys=({children:e,buttonProperties:s,widthIcon:r="70%",icon:i=t.jsx(ys,{width:r})})=>t.jsxs(Nt,{buttonProperties:s,children:[i,e]});Ys.propTypes={children:n.string,icon:n.node,buttonProperties:n.object,widthIcon:n.string};const Po=({onChange:e,isOpen:s})=>{const[r,i]=v.useState(s),o=()=>{i(!r),e&&e(r)};return t.jsx("button",{className:"reset-styles-button",onClick:o,children:r?t.jsx(bs,{}):t.jsx(xs,{})})};Po.propTypes={onChange:n.func,isOpen:n.bool};const Gs=({onChange:e,isOpen:s,color:r,hasHover:i,padding:o,display:l,height:a,width:c})=>t.jsx("button",{type:"button",onClick:()=>e(!s),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 ${s?"up":"down"}`,style:{borderColor:r,padding:o}})});Gs.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:s,onClick:r})=>t.jsxs("button",{className:`button-clean-filters ${e} `,onClick:r,children:[t.jsx(ws,{})," ",t.jsx("span",{children:s})]});Wo.propTypes={className:n.string,text:n.string,onClick:n.func};const $o=({textOpen:e,textClose:s,isOpen:r,onChange:i,className:o})=>{const[l,a]=v.useState(r);v.useEffect(()=>{a(r)},[r]);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?s:e}),l?t.jsx(bs,{}):t.jsx(xs,{})]})};$o.propTypes={textOpen:n.string,textClose:n.string,isOpen:n.bool,onChange:n.func,className:n.string};const Bo=({children:e,widthIcon:s="10%",width:r,icon:i=t.jsx(Zi,{width:s}),arrowRightIcon:o=t.jsx(Ts,{width:s}),hasOptions:l=!1,onClick:a,onOptionSelect:c,options:d,className:h,...g})=>{const[p,y]=v.useState(!1),x=v.useRef(null),b=u=>{y(!1),c==null||c(u)};return v.useEffect(()=>{const u=w=>{x.current&&!x.current.contains(w.target)&&y(!1)};return p&&document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[p]),t.jsxs("button",{ref:x,className:`button-white-border-blue-send-email ${h}`,...g,style:{width:r},onClick:()=>{l&&y(!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:r},children:d.map(u=>t.jsx("li",{className:"dropdown-options--button-white-border-li",onClick:()=>b(u),children:u.value},u.id))})]})};Bo.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 Fo=e=>{const{disabled:s,onClick:r,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconLeft:c=t.jsx(Ui,{}),IconRight:d=t.jsx(Ts,{})}=e;return t.jsxs(xo,{disabled:s,onClick:r,backgroundcolor:i,border:o,color:l,className:"VibrantBlueStyle ButtonVibrantBlueSend",style:{...a,display:"flex",alignItems:"center",gap:"15px",justifyContent:"center"},children:[c,e.children,d]})};Fo.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 Ks=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-active",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(zn,{}),"Activo"]});Ks.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Qs=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-inactive",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(Mi,{}),"Inactivo"]});Qs.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Xs=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-canceled",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(Di,{}),"Cancelada"]});Xs.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Js=({width:e,fontSize:s,icon:r,marginAuto:i,height:o})=>{const[l,a]=v.useState(!1);return t.jsxs("div",{className:"state-basic states-completed",style:{width:e,fontSize:s,margin:i?"auto":"",height:o},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[t.jsx(Ti,{}),"Finalizada",r&&t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(Nn,{height:27,background:"#d8f6c4",fillIcon:"#ff0000"})}),r&&l&&t.jsx("div",{className:"absolute hoverStates",children:"Devoluciones"})]})};Js.propTypes={width:n.string,fontSize:n.string,icon:n.bool,marginAuto:n.bool,height:n.string};const er=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-inTransit",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(zi,{}),"En tránsito",t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(Nn,{height:i})})]});er.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Lo=({children:e,className:s="",classNameIcon:r="",fill:i="#54AC1B",...o})=>t.jsxs("div",{className:`state-basic ${s}`.trim(),...o,children:[t.jsx(zn,{className:r,fill:i}),e]});Lo.propTypes={children:n.node,className:n.string,classNameIcon:n.string,fill:n.string};const gt=Fe(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"),_o=({width:e,fontSize:s,children:r,onDelete:i,background:o,fontWeight:l,id:a,className:c})=>t.jsxs("div",{className:`chip ${c}`,style:{width:e,fontSize:s,background:o,fontWeight:l},children:[r,t.jsx("button",{className:"reset-styles-button",onClick:()=>i({children:r,id:a}),children:t.jsx(gt,{sx:{color:"#8598ad",height:"16px"}})})]});_o.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 tr=({children:e,onChange:s,isSelect:r,height:i})=>t.jsx("div",{className:`toggle-chip ${r?"active":""}`,style:{height:i},onClick:()=>s({isSelect:!r,value:e}),children:e});tr.propTypes={children:n.any,onChange:n.func,isSelect:n.bool,height:n.string};const Ho=({children:e,className:s=""})=>t.jsx("div",{className:`chip-section ${s}`,children:e});Ho.propTypes={children:n.node,className:n.string};const Vo=({text:e,icon:s,className:r,color:i,background:o,onDelete:l})=>t.jsxs("div",{className:`chip chip-with-icon ${r}`,style:{background:o},children:[s,t.jsx("span",{className:"chip-text",children:e}),l&&t.jsx("button",{className:"reset-styles-button",onClick:()=>l(e),children:t.jsx(gt,{sx:{color:i,height:"16px"}})}),!l&&t.jsx(gt,{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 Q0=(e,s="en")=>{const r={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(s[r],i)},Zo=({date:e,language:s="es"})=>{const r=Q0(e,s),i=s==="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:r})})]})};Zo.propTypes={date:n.instanceOf(Date),language:n.string};const Uo=({title:e,sizeFile:s,onDelete:r,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(ps,{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:["(",s," K)"]}),t.jsx("button",{onClick:r,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:s,fontSize:r,width:i})=>{const[o,l]=v.useState(!1),a=v.useRef(null),c=d=>{s(d),l(!1)};return v.useEffect(()=>{const d=h=>{a.current&&!a.current.contains(h.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(Ai,{})})}),o&&t.jsx("nav",{className:"menu-options",style:{width:i},children:e.map((d,h)=>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:r},children:g.text})]},p))},h))})]})};Dt.propTypes={options:n.arrayOf(n.shape({icon:n.element,text:n.string})),onClick:n.func,fontSize:n.string,width:n.string};const qo=ye.div`
|
|
438
|
+
`,Ye=e=>{const{disabled:s,onClick:r,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconProp:c}=e;return t.jsxs(xo,{disabled:s,onClick:r,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"}})]})};Ye.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 Vs=({data:e,grouped:s,divideColumns:r=!1,selectButton:i,onChange:o,onChangeFunction:l,label:a,width:c,textButton:d,maxHeight:h,keyReset:g,left:p=!1,minWidthDropdown:y="100%",disabled:x,textOverflow:b=!0,widthDropdown:u,error:w,fontSizeLabelText:T,fontSizeTooltip:A,heightTooltip:M,leftTooltip:S,tooltip:j,topTooltip:I,widthTooltip:U,isTooltipVisible:$,subLabelText:q,labelText:f,language:L="es",textSelectAll:_="Seleccionar Todo",placeholderSearch:F="Buscar...",isRelative:Z=!1,selectedValues:K,fontSizeLabel:ee,fontSizeOptions:G="1vw"})=>{const[O,k]=v.useState([]),[m,E]=v.useState(""),[R,P]=v.useState(!1),z=v.useRef(null),D=v.useRef(!1),H=v.useRef(K!==void 0);v.useEffect(()=>{K!==void 0&&(k(K),H.current=!0)},[K]);const W=L0(e,s),Y=Object.values(W).flat().length>=Et,Q=()=>{if(m.trim()==="")return Object.values(W).flat();const ce=m.toLowerCase(),oe=[];return Object.entries(W).forEach(([de,te])=>{if(!Array.isArray(te)||te.length===0)return;if(de.toLowerCase().includes(ce))oe.push(...te);else{const ze=te.filter(Ne=>Ne.name.toLowerCase().includes(ce));oe.push(...ze)}}),oe},J=Q().length>0,he=ce=>ce.map(oe=>{let de=null;if(s&&typeof e=="object"&&!Array.isArray(e)){for(const te of Object.values(e))if(Array.isArray(te)&&(de=te.find(ie=>ie.id===oe),de))break}else Array.isArray(e)&&(de=e.find(te=>te.id===oe));if(de){const te={id:de.id,name:de.name};return de.value!==void 0&&(te.value=de.value),Object.keys(de).forEach(ie=>{Object.prototype.hasOwnProperty.call(te,ie)||(te[ie]=de[ie])}),te}return null}).filter(Boolean),le=ce=>{if(D.current=!0,ce.target.checked){const oe=Q(),de=oe.map(ze=>ze.id),ie=[...O.filter(ze=>!oe.some(De=>De.id===ze)),...de];if(k(ie),o&&o(ie),l){const ze=he(ie);l(ze)}}else{const de=Q().map(ie=>ie.id),te=O.filter(ie=>!de.includes(ie));if(k(te),o&&o(te),l){const ie=he(te);l(ie)}}},fe=ce=>{D.current=!0,k(oe=>{const de=oe.includes(ce)?oe.filter(te=>te!==ce):[...oe,ce];if(o&&o(de),l){const te=he(de);l(te)}return de})},_e=()=>{if(o&&o(O),l){const ce=he(O);l(ce)}P(!1)};v.useEffect(()=>{const ce=oe=>{z.current&&!z.current.contains(oe.target)&&P(!1)};return document.addEventListener("mousedown",ce),()=>{document.removeEventListener("mousedown",ce)}},[z]),v.useEffect(()=>{R||E("")},[R]);const ke=()=>O.map(oe=>{for(const de of Object.values(W)){const te=de.find(ie=>ie.id===oe);if(te)return te.name}return null}).filter(Boolean).join(", ");v.useEffect(()=>{k([]),D.current=!1,K===void 0&&(H.current=!1)},[g,K]),v.useEffect(()=>{if(H.current&&!D.current){const ce=K||[];k(oe=>JSON.stringify(oe.sort())!==JSON.stringify(ce.sort())?ce:oe)}D.current=!1},[K]);const Pe=Object.values(W).every(ce=>Array.isArray(ce)&&ce.length===0);return t.jsxs("div",{className:"relative",ref:z,children:[t.jsx(et,{label:O.length>0?ke():a,onchange:()=>{},options:[],size:c,isOpen:R,setIsOpen:P,disabledClickOutside:!0,disabled:x,error:w,fontSizeLabelText:T,fontSizeTooltip:A,heightTooltip:M,leftTooltip:S,tooltip:j,topTooltip:I,widthTooltip:U,isTooltipVisible:$,labelText:f,subLabelText:q,fontSizeLabel:ee,withoutOptions:!0}),R&&t.jsxs("div",{className:"item-filter",style:{left:p?"0":"auto",right:p?"auto":"0",minWidth:y,width:u,position:Z?"relative":"absolute"},children:[t.jsxs("div",{children:[Y&&t.jsx("div",{style:{padding:"4px 8px",fontSize:G,backgroundColor:"#dde3f1",borderBottom:"1px solid #707070"},children:t.jsx(at,{inputProperties:{placeholder:F,size:{width:"100%",height:"28px"},type:"text",onChange:ce=>E(ce.target.value),fontStyle:"italic"}})}),J&&t.jsx("div",{style:{padding:"0px 15px",fontSize:G,borderBottom:"1px solid #D0D0CE",backgroundColor:(()=>{const ce=Q();return ce.length>0&&ce.every(de=>O.includes(de.id))?"#f4f4f4":"transparent"})()},children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{checked:(()=>{const ce=Q();return ce.length>0&&(ce==null?void 0:ce.every(oe=>O==null?void 0:O.includes(oe.id)))})(),onChange:le,sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:_,sx:{"& .MuiFormControlLabel-label":{fontSize:G,whiteSpace:b?"nowrap":"normal",overflow:"hidden",textOverflow:b?"ellipsis":"clip",textAlign:"start"}}})})]}),t.jsxs("div",{className:"items-list",children:[!J&&m.trim()!==""?t.jsxs("div",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:G,overflowWrap:"break-word"},children:['No se encontraron resultados para "',m,'"']}):(()=>{const ce=Object.entries(W).filter(([oe,de])=>{var Ne;if(!Array.isArray(de)||de.length===0)return!1;if(m.trim()==="")return!0;const te=m.toLowerCase(),ie=(Ne=oe==null?void 0:oe.toLowerCase())==null?void 0:Ne.includes(te),ze=de==null?void 0:de.some(De=>{var ae,Te;return(Te=(ae=De==null?void 0:De.name)==null?void 0:ae.toLowerCase())==null?void 0:Te.includes(te)});return ie||ze});return ce==null?void 0:ce.map(([oe,de],te)=>t.jsxs("div",{className:"item-group",style:{margin:s&&te===0?"8px":"0"},children:[oe!=="Ungrouped"&&s&&t.jsxs(t.Fragment,{children:[t.jsx("h3",{style:{fontSize:G,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(Ne=>{var Te,Ge,st;if((m==null?void 0:m.trim())==="")return!0;const De=m==null?void 0:m.toLowerCase();return((Te=oe==null?void 0:oe.toLowerCase())==null?void 0:Te.includes(De))?!0:(st=(Ge=Ne==null?void 0:Ne.name)==null?void 0:Ge.toLowerCase())==null?void 0:st.includes(De)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(Ne=>O==null?void 0:O.includes(Ne.id)))?"#f4f4f4":"transparent"})()},children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{checked:(()=>{const ie=de.filter(ze=>{var ae,Te,Ge;if((m==null?void 0:m.trim())==="")return!0;const Ne=m==null?void 0:m.toLowerCase();return((ae=oe==null?void 0:oe.toLowerCase())==null?void 0:ae.includes(Ne))?!0:(Ge=(Te=ze==null?void 0:ze.name)==null?void 0:Te.toLowerCase())==null?void 0:Ge.includes(Ne)});return(ie==null?void 0:ie.length)>0&&(ie==null?void 0:ie.every(ze=>O==null?void 0:O.includes(ze.id)))})(),onChange:ie=>{D.current=!0;const Ne=de.filter(De=>{if(m.trim()==="")return!0;const ae=m.toLowerCase();return oe.toLowerCase().includes(ae)?!0:De.name.toLowerCase().includes(ae)}).map(De=>De.id);if(ie.target.checked){const De=Ne.filter(Te=>!O.includes(Te)),ae=[...O,...De];if(k(ae),o&&o(ae),l){const Te=he(ae);l(Te)}}else{const De=O.filter(ae=>!Ne.includes(ae));if(k(De),o&&o(De),l){const ae=he(De);l(ae)}}},sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:(()=>{if(s&&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:G,fontWeight:"400",lineHeight:"22px",whiteSpace:b?"nowrap":"normal",overflow:"hidden",textOverflow:b?"ellipsis":"clip"}}})})]}),de.filter(ie=>{if(m.trim()==="")return!0;const ze=m.toLowerCase();return oe.toLowerCase().includes(ze)?!0:ie.name.toLowerCase().includes(ze)}).map(ie=>t.jsx("div",{className:"item",style:{backgroundColor:O.includes(ie.id)?"#f4f4f4":"transparent"},children:t.jsx(Le.FormControlLabel,{control:t.jsx(Le.Checkbox,{checked:O.includes(ie.id),onChange:()=>fe(ie.id),sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}},size:"small"}),label:ie.name,sx:{"& .MuiFormControlLabel-label":{fontSize:G,fontWeight:"400",lineHeight:"22px",whiteSpace:b?"nowrap":"normal",overflow:"hidden",textOverflow:b?"ellipsis":"clip"}}})},ie.id))]},oe))})(),Pe&&t.jsx("li",{style:{padding:"15px",textAlign:"center",color:"#8598ad",fontSize:G,cursor:"default",overflowWrap:"break-word"},children:"No hay opciones disponibles"})]}),i&&t.jsx("div",{className:"containerButtonSelectAll",children:t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>_e()},children:d})})]})]})};Vs.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 Z0=e=>{const{options:s=[],value:r,onChange:i,onBlur:o,onFocus:l,sortAlphabetically:a=!0,searchable:c=!0,textSelectAll:d="Seleccionar Todo"}=e,[h,g]=v.useState([]),[p,y]=v.useState(!1),[x,b]=v.useState(!1),[u,w]=v.useState(""),[T,A]=v.useState([]),M=v.useRef(null),S=v.useRef(null),j=v.useRef(null),I=v.useMemo(()=>{const k=s;if(Array.isArray(k))return k.map(m=>({...m,group:null}));if(typeof k=="object"&&k!==null){const m=[];return Object.entries(k).forEach(([E,R])=>{Array.isArray(R)&&R.forEach(P=>{m.push({...P,group:E})})}),m}return[]},[s]),U=k=>k.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();v.useEffect(()=>{let k=[...I];a&&k.sort((m,E)=>(m.label||"").localeCompare(E.label||"")),g(k)},[I,a]),v.useEffect(()=>{r!=null?Array.isArray(r)?A(r):A([]):A([])},[r,s]),v.useEffect(()=>{if(!u.trim()){let m=[...I];a&&m.sort((E,R)=>(E.label||"").localeCompare(R.label||"")),g(m);return}const k=I.filter(m=>U(m.label).includes(U(u)));a&&k.sort((m,E)=>(m.label||"").localeCompare(E.label||"")),g(k)},[u,I,a]),v.useEffect(()=>{x?j.current&&setTimeout(()=>{var k;return(k=j.current)==null?void 0:k.focus()},50):w("")},[x]),v.useEffect(()=>{const k=m=>{M.current&&!M.current.contains(m.target)&&(b(!1),y(!1))};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[]);const $=()=>{var k;e.disabled||(b(!x),x||(k=S.current)==null||k.focus())},q=k=>{A(m=>{const E=m.some(z=>pe.isEqual(z,k.value));let R;E?R=m.filter(z=>!pe.isEqual(z,k.value)):R=[...m,k.value];const P={target:{id:e.id,name:e.name,value:R,type:"select-multiple",checked:void 0,selectedOptions:R},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};return i==null||i(P),o==null||o(P),R})},f=()=>{const k=h.map(m=>m.value);A(m=>{const E=k.every(z=>m.some(D=>pe.isEqual(D,z)));let R;if(E)R=m.filter(z=>!k.some(D=>pe.isEqual(z,D)));else{const z=k.filter(D=>!m.some(H=>pe.isEqual(H,D)));R=[...m,...z]}const P={target:{id:e.id,name:e.name,value:R,type:"select-multiple",checked:void 0,selectedOptions:R},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};return i==null||i(P),o==null||o(P),R})},L=()=>{A([]),w("");const k={target:{id:e.id,name:e.name,value:[],type:"select-multiple",checked:void 0,selectedOptions:[]},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(k)},_=k=>{y(!0),l==null||l(k)},F=k=>{var m;(m=M.current)!=null&&m.contains(k.relatedTarget)||(y(!1),o==null||o(k))},Z=k=>{var m;if(!e.disabled)switch(k.key){case"Enter":case" ":x||(k.preventDefault(),b(!0));break;case"Escape":b(!1),(m=S.current)==null||m.focus();break;case"ArrowDown":case"ArrowUp":k.preventDefault(),x||b(!0);break}},K=v.useMemo(()=>c&&I.length>=Et,[c,I.length]),ee=()=>T.length===0?e.placeholder||"Select":T.map(m=>{const E=I.find(R=>pe.isEqual(R.value,m));return E?E.label:""}).filter(Boolean).join(", "),G=k=>{const m=k.map(z=>z.value),R=m.every(z=>T.some(D=>pe.isEqual(D,z)))?T.filter(z=>!m.some(D=>pe.isEqual(z,D))):[...T,...m.filter(z=>!T.some(D=>pe.isEqual(D,z)))];A(R);const P={target:{id:e.id,name:e.name,value:R,type:"select-multiple",checked:void 0,selectedOptions:R},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(P),o==null||o(P)},O=h.length>0&&h.every(k=>T.some(m=>pe.isEqual(m,k.value)));return{filteredOptions:h,isFocused:p,isOpen:x,searchQuery:u,setSearchQuery:w,selectedOptions:T,dropdownRef:M,inputRef:S,searchInputRef:j,toggleDropdown:$,handleOptionSelect:q,handleSelectAll:f,handleSelectGroup:G,handleClear:L,handleFocus:_,handleBlur:F,handleKeyDown:Z,showSearch:K,getDisplayLabel:ee,allVisibleSelected:O,textSelectAll:d}},Zs=v.forwardRef((e,s)=>{const{className:r="",disabled:i=!1,dropdownClassName:o="",error:l=!1,fontSize:a="14px",fontSizeOptions:c="12px",icon:d,id:h,maxHeight:g="300px",name:p,noOptionsMessage:y="No hay opciones disponibles",noResultsMessage:x="No se encontraron resultados",options:b=[],required:u=!1,placeholderInput:w="Buscar...",width:T="300px",...A}=e,{filteredOptions:M,isFocused:S,isOpen:j,searchQuery:I,setSearchQuery:U,selectedOptions:$,dropdownRef:q,inputRef:f,searchInputRef:L,toggleDropdown:_,handleOptionSelect:F,handleSelectAll:Z,handleSelectGroup:K,handleClear:ee,handleFocus:G,handleBlur:O,handleKeyDown:k,showSearch:m,getDisplayLabel:E,allVisibleSelected:R,textSelectAll:P}=Z0(e),z=M.reduce((W,B)=>{const Y=B.group||"Ungrouped";return W[Y]||(W[Y]=[]),W[Y].push(B),W},{});v.useImperativeHandle(s,()=>({focus:()=>{var W;return(W=f.current)==null?void 0:W.focus()},blur:()=>{var W;return(W=f.current)==null?void 0:W.blur()},value:$,clear:()=>ee()}));const D=["bs-dropdown",l&&"bs-error",i&&"bs-disabled",j&&"bs-open",S&&"bs-focused",r].filter(Boolean).join(" "),H=["bs-dropdown-options",o].filter(Boolean).join(" ");return t.jsxs("div",{ref:q,className:D,...A,style:{width:T},children:[t.jsx("input",{ref:f,type:"hidden",id:h,name:p,value:JSON.stringify($),required:u,disabled:i}),t.jsxs("div",{className:"bs-dropdown-header",onClick:_,onFocus:G,onBlur:O,onKeyDown:k,role:"combobox","aria-expanded":j,"aria-haspopup":"listbox","aria-labelledby":`${h}-label`,"aria-disabled":i,tabIndex:i?-1:0,style:{fontSize:a},children:[t.jsx("span",{className:"bs-dropdown-value",children:E()}),d?t.jsx(d,{className:`bs-icon ${j?"bs-icon-up":""}`}):t.jsx("i",{className:`bs-arrow ${j?"bs-arrow-up":"bs-arrow-down"}`})]}),j&&t.jsxs("div",{className:H,role:"listbox",children:[m&&t.jsx("div",{className:"bs-search-container",children:t.jsx(at,{ref:L,inputProperties:{placeholder:w,size:{width:"100%",height:"28px"},type:"text",onChange:W=>U(W.target.value),onKeyDown:W=>{W.key==="Enter"&&M.length>0},fontStyle:"italic",value:I,style:{fontSize:a}}})}),M.length>0&&t.jsxs("div",{className:`bs-select-all ${R?"bs-select-all-all":""}`,style:{padding:"6px 0px"},children:[t.jsx(Le.Checkbox,{checked:R,onChange:Z,size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsx("span",{style:{fontSize:a,cursor:"pointer"},onClick:Z,children:P})]}),t.jsx("div",{className:"bs-options-list",style:{maxHeight:g},children:Object.keys(z).length===0?t.jsx("div",{className:"bs-no-options",children:b.length===0?y:x+(I?` "${I}"`:"")}):Object.entries(z).map(([W,B])=>t.jsxs("div",{style:{marginTop:W!=="Ungrouped"?"8px":"0px"},children:[W!=="Ungrouped"&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bs-group-title",style:{fontSize:a,fontWeight:"bold",marginBottom:"8px",marginLeft:"10px"},children:W}),t.jsxs("div",{className:`bs-group-header ${B.every(Y=>$.some(Q=>pe.isEqual(Q,Y.value)))?"bs-select-all-all-header":""}`,children:[t.jsx(Le.Checkbox,{checked:B.every(Y=>$.some(Q=>pe.isEqual(Q,Y.value))),onChange:()=>K(B),size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsxs("span",{style:{fontSize:c,cursor:"pointer"},onClick:()=>K(B),children:["Seleccionar ",W]})]}),B.map((Y,Q)=>t.jsxs("div",{className:`bs-option ${$.some(se=>pe.isEqual(se,Y.value))?"bs-selected":""}`,style:{display:"flex",alignItems:"center",gap:"0px",padding:"6px 0px"},role:"option","aria-selected":$.some(se=>pe.isEqual(se,Y.value)),children:[t.jsx(Le.Checkbox,{checked:$.some(se=>pe.isEqual(se,Y.value)),onChange:()=>F(Y),size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsx("span",{className:"bs-option-label",style:{fontSize:c,cursor:"pointer"},onClick:()=>F(Y),children:Y.label}),Y.description&&t.jsx("span",{className:"bs-option-description",style:{fontSize:c},children:Y.description})]},Y.id||Y.value||Q))]}),W==="Ungrouped"&&B.map((Y,Q)=>t.jsxs("div",{className:`bs-option ${$.some(se=>pe.isEqual(se,Y.value))?"bs-selected":""}`,role:"option",style:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 0px"},"aria-selected":$.some(se=>pe.isEqual(se,Y.value)),children:[t.jsx(Le.Checkbox,{checked:$.some(se=>pe.isEqual(se,Y.value)),onChange:()=>F(Y),size:"small",sx:{color:"#CCD2DD","&.Mui-checked":{color:"#33a1dd"}}}),t.jsx("span",{className:"bs-option-label",style:{fontSize:c,cursor:"pointer"},onClick:()=>F(Y),children:Y.label}),Y.description&&t.jsx("span",{className:"bs-option-description",style:{fontSize:c},children:Y.description})]},Y.id||Y.value||Q))]},W))})]})]})});Zs.displayName="SelectMultiple",Zs.propTypes={id:n.string,label:n.string,name:n.string,placeholder:n.string,options:n.oneOfType([n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string})),n.object]),className:n.string,disabled:n.bool,dropdownClassName:n.string,error:n.bool,fontSize:n.string,fontSizeOptions:n.string,icon:n.elementType,maxHeight:n.string,noOptionsMessage:n.string,noResultsMessage:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,required:n.bool,searchable:n.bool,placeholderInput:n.string,sortAlphabetically:n.bool,value:n.array,width:n.string,textSelectAll:n.string};const U0=e=>{const{options:s=[],value:r,onChange:i,onBlur:o,onFocus:l,sortAlphabetically:a=!1,searchable:c=!1}=e,[d,h]=v.useState(!1),[g,p]=v.useState(""),[y,x]=v.useState([]),[b,u]=v.useState(null),[w,T]=v.useState(!1),[A,M]=v.useState(null),[S,j]=v.useState({top:0,left:0}),I=v.useRef(null),U=v.useRef(null),$=v.useRef(null),q=O=>O.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();v.useEffect(()=>{let O=[...s];a&&O.sort((k,m)=>(k.label||"").localeCompare(m.label||"")),x(O)},[s,a]),v.useEffect(()=>{if(r!=null){const O=s.find(k=>pe.isEqual(k.value,r));u(O||null)}else u(null)},[r,s]),v.useEffect(()=>{if(!g.trim()){let k=[...s];a&&k.sort((m,E)=>(m.label||"").localeCompare(E.label||"")),x(k);return}const O=s.filter(k=>q(k.label).includes(q(g)));a&&O.sort((k,m)=>(k.label||"").localeCompare(m.label||"")),x(O)},[g,s,a]),v.useEffect(()=>{d?$.current&&setTimeout(()=>{var O;return(O=$.current)==null?void 0:O.focus()},50):p("")},[d]),v.useEffect(()=>{const O=k=>{I.current&&!I.current.contains(k.target)&&(h(!1),T(!1),M(null))};return document.addEventListener("mousedown",O),()=>document.removeEventListener("mousedown",O)},[]);const f=()=>{var O;e.disabled||(h(!d),d||(O=U.current)==null||O.focus())},L=O=>{if(O.children&&O.children.length>0)return;let k;pe.isEqual(b==null?void 0:b.value,O.value)?k=null:k=O,u(k),h(!1),M(null);const m={target:{id:e.id,name:e.name,value:(k==null?void 0:k.value)||null,type:"nested-select",checked:void 0,selectedOption:k,label:(k==null?void 0:k.label)||null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(m),o==null||o(m)},_=(O,k)=>{if(k.stopPropagation(),O.children&&O.children.length>0)if(A&&A.id===O.id)M(null);else{const m=k.currentTarget.getBoundingClientRect();j({top:m.top,left:m.right}),M(O)}else L(O)},F=()=>{u(null),p("");const O={target:{id:e.id,name:e.name,value:null,type:"select",checked:void 0,selectedOption:null,label:null},type:"change",preventDefault:()=>{},stopPropagation:()=>{}};i==null||i(O)},Z=O=>{T(!0),l==null||l(O)},K=O=>{var k;(k=I.current)!=null&&k.contains(O.relatedTarget)||(T(!1),o==null||o(O))},ee=O=>{var k;if(!e.disabled)switch(O.key){case"Enter":case" ":d||(O.preventDefault(),h(!0));break;case"Escape":h(!1),(k=U.current)==null||k.focus();break;case"ArrowDown":case"ArrowUp":O.preventDefault(),d||h(!0);break}},G=v.useMemo(()=>c&&s.length>=Et,[c,s.length]);return{filteredOptions:y,isFocused:w,isOpen:d,searchQuery:g,setSearchQuery:p,selectedOption:b,activeOption:A,subMenuPosition:S,dropdownRef:I,inputRef:U,searchInputRef:$,toggleDropdown:f,handleOptionSelect:L,handleOptionClick:_,handleClear:F,handleFocus:Z,handleBlur:K,handleKeyDown:ee,showSearch:G}},Us=v.forwardRef((e,s)=>{const{id:r,name:i,placeholder:o="Select",options:l=[],disabled:a=!1,error:c=!1,required:d=!1,className:h="",dropdownClassName:g="",placeholderInput:p="Buscar...",noOptionsMessage:y="No hay opciones disponibles",noResultsMessage:x="No se encontraron resultados",width:b="300px",maxHeight:u="300px",fontSize:w="14px",icon:T,...A}=e,{filteredOptions:M,isFocused:S,isOpen:j,searchQuery:I,setSearchQuery:U,selectedOption:$,activeOption:q,subMenuPosition:f,dropdownRef:L,inputRef:_,searchInputRef:F,toggleDropdown:Z,handleOptionSelect:K,handleOptionClick:ee,handleClear:G,handleFocus:O,handleBlur:k,handleKeyDown:m,showSearch:E}=U0(e);v.useImperativeHandle(s,()=>({focus:()=>{var z;return(z=_.current)==null?void 0:z.focus()},blur:()=>{var z;return(z=_.current)==null?void 0:z.blur()},value:($==null?void 0:$.value)||"",clear:()=>G()}));const R=["bs-dropdown",c&&"bs-error",a&&"bs-disabled",j&&"bs-open",S&&"bs-focused",h].filter(Boolean).join(" "),P=["bs-dropdown-options",g].filter(Boolean).join(" ");return t.jsxs("div",{ref:L,className:R,...A,style:{width:b},children:[t.jsx("input",{ref:_,type:"hidden",id:r,name:i,value:($==null?void 0:$.value)||"",required:d,disabled:a}),t.jsxs("div",{className:"bs-dropdown-header",onClick:Z,onFocus:O,onBlur:k,onKeyDown:m,role:"combobox","aria-expanded":j,"aria-haspopup":"listbox","aria-labelledby":`${r}-label`,"aria-disabled":a,tabIndex:a?-1:0,style:{fontSize:w},children:[t.jsx("span",{className:"bs-dropdown-value",children:($==null?void 0:$.label)||o}),T?t.jsx(T,{className:`bs-icon ${j?"bs-icon-up":""}`}):t.jsx("i",{className:`bs-arrow ${j?"bs-arrow-up":"bs-arrow-down"}`})]}),j&&t.jsxs("div",{className:P,role:"listbox",children:[E&&t.jsx("div",{className:"bs-search-container",children:t.jsx(at,{ref:F,inputProperties:{placeholder:p,size:{width:"100%",height:"28px"},type:"text",onChange:z=>U(z.target.value),onKeyDown:z=>{z.key==="Enter"&&M.length>0&&K(M[0])},onClick:z=>z.stopPropagation(),value:I,style:{fontSize:w}}})}),t.jsx("ul",{className:"bs-options-list",style:{maxHeight:u},children:l.length===0?t.jsx("li",{className:"bs-no-options",children:y}):M.length===0?t.jsxs("li",{className:"bs-no-options",children:[x," ",I&&`"${I}"`]}):M.map((z,D)=>t.jsxs("li",{className:`bs-option ${pe.isEqual($==null?void 0:$.value,z.value)?"bs-selected":""} ${q&&pe.isEqual(q.value,z.value)?"bs-active":""}`,onClick:H=>ee(z,H),role:"option","aria-selected":pe.isEqual($==null?void 0:$.value,z.value),"aria-haspopup":z.children&&z.children.length>0?"menu":void 0,"aria-expanded":!!(q&&pe.isEqual(q.value,z.value)),style:{fontSize:w},children:[t.jsx("span",{className:"bs-option-label",children:z.label}),z.description&&t.jsx("span",{className:"bs-option-description",children:z.description}),z.children&&z.children.length>0&&t.jsx("span",{className:"bs-option-arrow",children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:8,height:12,fill:"none",children:t.jsx("path",{fill:"#8598AD",fillRule:"evenodd",d:"M0 1.4 4.6 6 0 10.6 1.4 12l6-6-6-6L0 1.4Z",clipRule:"evenodd"})})})]},z.id||z.value||D))}),q&&q.children&&q.children.length>0&&t.jsx("div",{className:"bs-submenu",style:{position:"fixed",top:f.top,left:f.left,zIndex:9999,maxHeight:u},children:t.jsx("ul",{className:"bs-options-list",children:q.children.map((z,D)=>t.jsxs("li",{className:`bs-option ${pe.isEqual($==null?void 0:$.value,z.value)?"bs-selected":""}`,onClick:H=>{H.stopPropagation(),K(z)},role:"option","aria-selected":pe.isEqual($==null?void 0:$.value,z.value),style:{fontSize:w},children:[t.jsx("span",{className:"bs-option-label",children:z.label}),z.description&&t.jsx("span",{className:"bs-option-description",children:z.description})]},z.id||z.value||D))})})]})]})});Us.displayName="SelectNested",Us.propTypes={id:n.string,label:n.string,name:n.string,placeholder:n.string,options:n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string,children:n.arrayOf(n.shape({id:n.oneOfType([n.string,n.number]),value:n.any.isRequired,label:n.string.isRequired,description:n.string}))})),className:n.string,disabled:n.bool,dropdownClassName:n.string,error:n.bool,fontSize:n.string,icon:n.elementType,maxHeight:n.string,noOptionsMessage:n.string,noResultsMessage:n.string,onBlur:n.func,onChange:n.func,onFocus:n.func,required:n.bool,searchable:n.bool,placeholderInput:n.string,sortAlphabetically:n.bool,value:n.any,width:n.string};const bo=e=>t.jsx(et,{...e,inputRadio:!0});bo.propTypes={size:n.string,options:n.array,label:n.string,onchange:n.func,error:n.bool};const vo=e=>{const{data:s,onChange:r,label:i,size:o,error:l,keyReset:a,fontSizeOptions:c="0.9vw",fontSizeTitleOptions:d="1vw",fontSizeLabel:h,disabled:g,maxHeightOptions:p,value:y,hasDivisions:x,fontSizeLabelText:b,fontSizeTooltip:u,heightTooltip:w,leftTooltip:T,tooltip:A,topTooltip:M,widthTooltip:S,isTooltipVisible:j,labelText:I,subLabelText:U}=e,[$,q]=v.useState(!1),f=v.useRef(null),[L,_]=v.useState(y||""),F=K=>{_(K),q(!1),r&&r(K)};v.useEffect(()=>{_("")},[a]);const Z=K=>{f.current&&!f.current.contains(K.target)&&q(!1)};return v.useEffect(()=>(document.addEventListener("mousedown",Z),()=>{document.removeEventListener("mousedown",Z)}),[]),t.jsxs("div",{ref:f,className:"relative",style:{width:o},children:[t.jsx(et,{label:L.label||i,onchange:()=>{},options:[],size:o,isOpen:$,setIsOpen:q,disabledClickOutside:!0,disabled:g,error:l,fontSizeLabel:h,fontSizeLabelText:b,fontSizeTooltip:u,heightTooltip:w,leftTooltip:T,tooltip:A,topTooltip:M,widthTooltip:S,isTooltipVisible:j,labelText:I,subLabelText:U}),$&&t.jsx("ul",{className:"item-filter",style:{width:"100%",maxHeight:p},children:s.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(ee=>t.jsx("div",{onClick:()=>F(ee),className:"item",style:{padding:"15px 20px",width:"100%",fontSize:c,cursor:"pointer",fontWeight:"400"},children:ee.label},ee.label))]},K.title))})]})};vo.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 jo=e=>{const{id:s,onchange:r,label:i,colors:o,onChangeFunction:l,value:a,disabled:c}=e,[d,h]=v.useState(a||!1);v.useEffect(()=>{h(a||!1)},[a]);const g=x=>{c||(h(x.target.checked),r&&r(x.target.checked),l&&l({id:s,value:x.target.checked}))},p={height:"0",width:"0",visibility:"hidden",fontWeight:"500"},y={height:"0",width:"0",opacity:"0",position:"absolute"};return t.jsxs("div",{className:"switch-container",children:[i&&t.jsx("span",{className:"switch-label",children:d?"Activo":"Inactivo"}),t.jsxs("div",{children:[t.jsx("input",{className:"react-switch-checkbox",id:`react-switch-new-${s}`,type:"checkbox",checked:d,onChange:g,disabled:c,style:i?p:y}),t.jsx("label",{className:"react-switch-label",htmlFor:`react-switch-new-${s}`,style:{background:d?o.active:o.inactive},children:t.jsx("span",{className:"react-switch-button"})})]})]})};jo.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,disabled:n.bool};const wo=({width:e,height:s,minheight:r,maxHeight:i,id:o,name:l,value:a,onChange:c,label:d,subLabel:h,placeholder:g,maxCharacters:p,fontSizeLabel:y,fontSize:x,fontSizeTooltip:b,heightTooltip:u,leftTooltip:w,tooltip:T,topTooltip:A,widthTooltip:M,isTooltipVisible:S,onChangeFunction:j})=>{const I=U=>{const{name:$,value:q}=U.target;c&&c({name:$,value:q,id:o}),j&&j(U)};return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"5px",width:e},children:[d&&t.jsx(Kt,{fontSizeTitle:y,fontSizeTooltip:b,heightTooltip:u,left:w,subTitle:h,title:d,tooltip:T,top:A,widthTooltip:M,isTooltipVisibleProp:S,marginBottom:"5px",htmlFor:o}),t.jsx("textarea",{name:l,id:o,value:a,onChange:I,placeholder:g,className:"text-area-library",maxLength:p,style:{width:e,height:s,minHeight:r,maxHeight:i,fontSize:x}}),p&&t.jsxs("div",{className:"max-characters-library",children:[p," caracteres"]})]})};wo.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 ko=({label:e,onchange:s,textSelect:r,width:i,labelText:o,subLabelText:l,fontSize:a})=>{const[c,d]=v.useState("00"),[h,g]=v.useState("00"),[p,y]=v.useState(!1),[x,b]=v.useState(e??"Hora Inicio"),u=v.useRef(),w=v.useRef(),T=Array.from({length:24},(I,U)=>U.toString().padStart(2,"0")),A=Array.from({length:60},(I,U)=>U.toString().padStart(2,"0"));v.useEffect(()=>{const I=U=>{w.current&&!w.current.contains(U.target)&&y(!1)};return document.addEventListener("mousedown",I),()=>{document.removeEventListener("mousedown",I)}},[]);const M=()=>{y(!1);const I=`${c}:${h}`;b(I),s(I)},S=I=>{let U=I.target.value.replace(/\D/g,"");U.length>4&&(U=U.slice(0,4));let $=U;if(U.length>=3&&($=`${U.slice(0,2)}:${U.slice(2)}`),b($),$.length===5){const[q,f]=$.split(":");parseInt(q,10)>=0&&parseInt(q,10)<24&&parseInt(f,10)>=0&&parseInt(f,10)<60?(d(q),g(f),s($)):b(`${c}:${h}`)}},j=()=>{y(!p),u.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:w,style:{width:i},children:[t.jsxs("div",{className:"time-picker-input-wrapper",children:[t.jsx("input",{type:"text",ref:u,value:x,onChange:S,placeholder:"00:00",className:"time-picker-input",maxLength:5,style:{fontSize:a}}),t.jsx("button",{className:"time-picker-button",onClick:j,"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:T.map(I=>t.jsx("div",{className:`time-option ${c===I?"selected":""}`,onClick:()=>d(I),children:I},I))}),t.jsx("div",{className:"time-column",children:A.map(I=>t.jsx("div",{className:`time-option ${h===I?"selected":""}`,onClick:()=>g(I),children:I},I))})]}),t.jsx("button",{className:"ok-button",onClick:M,children:r??"Seleccionar"})]})]})]})};ko.propTypes={label:n.string,onchange:n.func,textSelect:n.string,width:n.string,labelText:n.string,subLabelText:n.any,fontSize:n.string};const Co=({handleReset:e,disabled:s})=>t.jsx("button",{className:`button-reset ${s?"disabled":""}`,onClick:()=>e(),disabled:s,children:t.jsx(kn,{})});Co.propTypes={handleReset:n.func,disabled:n.bool};const So=({width:e})=>t.jsxs(V0,{style:{backgroundColor:"#f5f6fa",width:e},children:[t.jsx(Hs,{children:t.jsx(fs,{width:"100%",height:"30px"})}),t.jsx(Hs,{children:t.jsx(hs,{width:"100%",height:"30px"})}),t.jsx(Hs,{children:t.jsx(us,{width:"60%",height:"30px"})})]});So.propTypes={width:n.string};const q0={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"}}},Qt=e=>{const s=e==null?void 0:e.IconProp;return t.jsx(ye.ThemeProvider,{theme:q0,children:t.jsxs(_0,{...e.buttonProperties,children:[s&&t.jsx(s,{style:{width:"30px",height:"30px"}}),e.children]})})};Qt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.any};const To=e=>{const s={...e,buttonProperties:{backgroundcolor:"#119672",...e.buttonProperties,style:{color:"white",...e.buttonProperties.style}}};return t.jsx(Ye,{...s,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:s,fontSize:r,disabled:i,children:o="DESCARGAR",icon:l,diseableOption:a})=>{const[c,d]=v.useState(!1),h=v.useRef(null);v.useEffect(()=>{const p=y=>{h.current&&!h.current.contains(y.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:h,style:{width:s},children:[t.jsx("button",{className:"download-button",onClick:()=>!i&&d(!c),children:t.jsxs("span",{style:{display:"flex",alignItems:"center",gap:"0.2vw",fontSize:r},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:s},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:s})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:s},children:t.jsx(Ei,{})});zo.propTypes={onclick:n.func,height:n.string};const Eo=({onclick:e,height:s})=>t.jsx("button",{onClick:e,className:"button-plus",style:{height:s},children:t.jsx(Ni,{})});Eo.propTypes={onclick:n.func,height:n.string};const Y0=Fe(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 r={IconProp:Y0,...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",border:"1px solid #21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Qt,{...r,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 r={...e,IconProp:wn};return t.jsx(Qt,{...r})};Do.propTypes={buttonProperties:n.shape({disabled:n.bool}),children:n.node||n.string,IconProp:n.node};const qs=e=>t.jsx(H0,{...e.buttonProperties,children:e.children});qs.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string};const Nt=e=>{const s={...e,buttonProperties:{backgroundcolor:"white",border:"1px solid #33a4dd",color:"#33a4dd",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(Ye,{...s})};Nt.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const G0=Fe(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"),Oo=e=>{const r={...e,IconProp:G0};return t.jsx(Qt,{...r})};Oo.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func}),children:n.node||n.string,IconProp:n.node};const Ao=e=>{const{children:s,onChange:r,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"},h=g=>{const p=g.target.files[0];r(p)};return t.jsxs("div",{children:[t.jsx("input",{type:"file",id:a,accept:"image/*",disabled:i,style:{display:"none"},onChange:g=>h(g)}),t.jsxs("label",{htmlFor:a,style:c,children:[s,t.jsx(wn,{style:d})]})]})};Ao.propTypes={children:n.node||n.string,onChange:n.func,disabled:n.bool,width:n.string,fontSize:n.string,id:n.string};const On=({buttonProperties:e={},...s})=>{const r={backgroundcolor:"transparent",border:"1px solid #fcb035",color:"black",...e,style:{...e.style}};return t.jsx(Ye,{...s,buttonProperties:r,children:s.children})};On.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const K0=Fe(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:s})=>t.jsx(K0,{sx:{color:"#8598ad",width:20,height:20,marginBottom:e,cursor:"pointer"},onClick:s});Io.propTypes={marginBottom:n.string,onClick:n.func};const Ro=e=>{const s={...e,buttonProperties:{backgroundcolor:"#dde3f1",color:"#21459c",...e.buttonProperties,style:{...e.buttonProperties.style}}};return t.jsx(qs,{...s})};Ro.propTypes={buttonProperties:n.shape({disabled:n.bool,onClick:n.func,style:n.object}),children:n.node||n.string};const Ys=({children:e,buttonProperties:s,widthIcon:r="70%",icon:i=t.jsx(ys,{width:r})})=>t.jsxs(Nt,{buttonProperties:s,children:[i,e]});Ys.propTypes={children:n.string,icon:n.node,buttonProperties:n.object,widthIcon:n.string};const Po=({onChange:e,isOpen:s})=>{const[r,i]=v.useState(s),o=()=>{i(!r),e&&e(r)};return t.jsx("button",{className:"reset-styles-button",onClick:o,children:r?t.jsx(bs,{}):t.jsx(xs,{})})};Po.propTypes={onChange:n.func,isOpen:n.bool};const Gs=({onChange:e,isOpen:s,color:r,hasHover:i,padding:o,display:l,height:a,width:c})=>t.jsx("button",{type:"button",onClick:()=>e(!s),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 ${s?"up":"down"}`,style:{borderColor:r,padding:o}})});Gs.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:s,onClick:r})=>t.jsxs("button",{className:`button-clean-filters ${e} `,onClick:r,children:[t.jsx(ws,{})," ",t.jsx("span",{children:s})]});Wo.propTypes={className:n.string,text:n.string,onClick:n.func};const $o=({textOpen:e,textClose:s,isOpen:r,onChange:i,className:o})=>{const[l,a]=v.useState(r);v.useEffect(()=>{a(r)},[r]);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?s:e}),l?t.jsx(bs,{}):t.jsx(xs,{})]})};$o.propTypes={textOpen:n.string,textClose:n.string,isOpen:n.bool,onChange:n.func,className:n.string};const Bo=({children:e,widthIcon:s="10%",width:r,icon:i=t.jsx(Zi,{width:s}),arrowRightIcon:o=t.jsx(Ts,{width:s}),hasOptions:l=!1,onClick:a,onOptionSelect:c,options:d,className:h,...g})=>{const[p,y]=v.useState(!1),x=v.useRef(null),b=u=>{y(!1),c==null||c(u)};return v.useEffect(()=>{const u=w=>{x.current&&!x.current.contains(w.target)&&y(!1)};return p&&document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[p]),t.jsxs("button",{ref:x,className:`button-white-border-blue-send-email ${h}`,...g,style:{width:r},onClick:()=>{l&&y(!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:r},children:d.map(u=>t.jsx("li",{className:"dropdown-options--button-white-border-li",onClick:()=>b(u),children:u.value},u.id))})]})};Bo.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 Fo=e=>{const{disabled:s,onClick:r,backgroundcolor:i,border:o,color:l,style:a}=e.buttonProperties,{IconLeft:c=t.jsx(Ui,{}),IconRight:d=t.jsx(Ts,{})}=e;return t.jsxs(xo,{disabled:s,onClick:r,backgroundcolor:i,border:o,color:l,className:"VibrantBlueStyle ButtonVibrantBlueSend",style:{...a,display:"flex",alignItems:"center",gap:"15px",justifyContent:"center"},children:[c,e.children,d]})};Fo.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 Ks=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-active",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(zn,{}),"Activo"]});Ks.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Qs=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-inactive",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(Mi,{}),"Inactivo"]});Qs.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Xs=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-canceled",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(Di,{}),"Cancelada"]});Xs.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Js=({width:e,fontSize:s,icon:r,marginAuto:i,height:o})=>{const[l,a]=v.useState(!1);return t.jsxs("div",{className:"state-basic states-completed",style:{width:e,fontSize:s,margin:i?"auto":"",height:o},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[t.jsx(Ti,{}),"Finalizada",r&&t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(Nn,{height:27,background:"#d8f6c4",fillIcon:"#ff0000"})}),r&&l&&t.jsx("div",{className:"absolute hoverStates",children:"Devoluciones"})]})};Js.propTypes={width:n.string,fontSize:n.string,icon:n.bool,marginAuto:n.bool,height:n.string};const er=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-inTransit",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(zi,{}),"En tránsito",t.jsx("div",{className:"state-icon-inTransit",children:t.jsx(Nn,{height:i})})]});er.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Lo=({children:e,className:s="",classNameIcon:r="",fill:i="#54AC1B",...o})=>t.jsxs("div",{className:`state-basic ${s}`.trim(),...o,children:[t.jsx(zn,{className:r,fill:i}),e]});Lo.propTypes={children:n.node,className:n.string,classNameIcon:n.string,fill:n.string};const gt=Fe(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"),_o=({width:e,fontSize:s,children:r,onDelete:i,background:o,fontWeight:l,id:a,className:c})=>t.jsxs("div",{className:`chip ${c}`,style:{width:e,fontSize:s,background:o,fontWeight:l},children:[r,t.jsx("button",{className:"reset-styles-button",onClick:()=>i({children:r,id:a}),children:t.jsx(gt,{sx:{color:"#8598ad",height:"16px"}})})]});_o.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 tr=({children:e,onChange:s,isSelect:r,height:i})=>t.jsx("div",{className:`toggle-chip ${r?"active":""}`,style:{height:i},onClick:()=>s({isSelect:!r,value:e}),children:e});tr.propTypes={children:n.any,onChange:n.func,isSelect:n.bool,height:n.string};const Ho=({children:e,className:s=""})=>t.jsx("div",{className:`chip-section ${s}`,children:e});Ho.propTypes={children:n.node,className:n.string};const Vo=({text:e,icon:s,className:r,color:i,background:o,onDelete:l})=>t.jsxs("div",{className:`chip chip-with-icon ${r}`,style:{background:o},children:[s,t.jsx("span",{className:"chip-text",children:e}),l&&t.jsx("button",{className:"reset-styles-button",onClick:()=>l(e),children:t.jsx(gt,{sx:{color:i,height:"16px"}})}),!l&&t.jsx(gt,{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 Q0=(e,s="en")=>{const r={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(s[r],i)},Zo=({date:e,language:s="es"})=>{const r=Q0(e,s),i=s==="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:r})})]})};Zo.propTypes={date:n.instanceOf(Date),language:n.string};const Uo=({title:e,sizeFile:s,onDelete:r,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(ps,{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:["(",s," K)"]}),t.jsx("button",{onClick:r,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:s,fontSize:r,width:i})=>{const[o,l]=v.useState(!1),a=v.useRef(null),c=d=>{s(d),l(!1)};return v.useEffect(()=>{const d=h=>{a.current&&!a.current.contains(h.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(Ai,{})})}),o&&t.jsx("nav",{className:"menu-options",style:{width:i},children:e.map((d,h)=>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:r},children:g.text})]},p))},h))})]})};Dt.propTypes={options:n.arrayOf(n.shape({icon:n.element,text:n.string})),onClick:n.func,fontSize:n.string,width:n.string};const qo=ye.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.${s}Chann
|
|
|
448
448
|
border: none;
|
|
449
449
|
background: none;
|
|
450
450
|
cursor: pointer;
|
|
451
|
-
`,Yo=({children:e,height:s,width:r,style:i})=>t.jsx(qo,{style:{height:s,width:r,...i},children:e});Yo.propTypes={children:n.any,width:n.string,height:n.string,style:n.object};const Go=({title:e,height:s,width:r,style:i,children:o})=>{const[l,a]=v.useState(!1);return t.jsxs(qo,{style:{height:l?"auto":s,width:r,...i,borderRadius:"0px",boxShadow:"none",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[e,t.jsx(X0,{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:s,className:r="",icon:i,isClickable:o=!0,data:l,fontSize:a})=>{const{title:c}=l,d=()=>{o&&s&&s(l)},h=p=>{o&&s&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),s(l))},g=()=>{switch(e){case"excel":return t.jsx(Cs,{});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":""} ${r}`,onClick:d,onKeyDown:h,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(Ss,{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 Qo=({data:e,fileType:s="excel",onClick:r,className:i="",icon:o,isClickable:l=!0,isSelected:a=!1})=>{const{title:c}=e,d=()=>{l&&r&&r(e)},h=p=>{l&&r&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),r(e))},g=()=>{switch(s){case"excel":return t.jsx(Cs,{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:h,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(Ss,{width:12,height:12})})]}),t.jsx("div",{className:"file-card-minimized__filename",children:c})]})};Qo.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 Xo=({onClick:e,className:s="",icon:r,isClickable:i=!0,fontSize:o,hasDownload:l=!1,onChange:a,isSelected:c=!1,data:d})=>{const{id:h,title:g}=d,p=()=>{i&&e&&e(d)},y=x=>{i&&e&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),e(d))};return t.jsxs("div",{className:`folder-card ${i?"folder-card--clickable":""} ${s} ${c?"folder-card--selected":""} ${l?"folder-card--has-download":""}`,onClick:p,onKeyDown:y,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(Fs,{inputProperties:{id:h,checked:c,onChange:a},color:"#33A1DD",size:"small"})}),t.jsx("div",{className:"folder-card__icon-container",children:r?t.jsx("div",{className:"folder-card__custom-icon",children:r}):t.jsx("div",{className:`${l?"folder-card__default-icon":"folder-card__default-icon-hover"}`,children:t.jsx(ks,{width:"60px"})})}),t.jsx("div",{className:"folder-card__title",style:{width:"70px",fontSize:o},children:g})]})};Xo.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 Jo=({onClick:e,className:s="",icon:r,isClickable:i=!0,fontSize:o,isSelected:l=!1,data:a})=>{const{id:c,title:d}=a,h=()=>{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":""} ${s}`,onClick:h,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:r?t.jsx("div",{className:"folder-card-minimized__custom-icon",children:r}):t.jsx("div",{className:"folder-card-minimized__default-icon",children:t.jsx(ks,{width:"32px"})})}),t.jsx("div",{className:"folder-card-minimized__title",style:{fontSize:o},children:d})]})};Jo.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:s=8})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,fill:"none",children:t.jsx("circle",{cx:s/2,cy:s/2,r:s/2-.5,fill:e})});el.propTypes={color:n.string,size:n.number};const tl=({width:e=3,height:s=12,color:r="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:s,fill:"none",viewBox:"0 0 3 12",children:t.jsx("path",{fill:r,stroke:r,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:s=8,color:r="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:s,fill:"none",viewBox:"0 0 8 8",children:t.jsx("path",{fill:r,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 sl=({className:e="",hasAlerts:s=!1,children:r,hasError:i=!1,...o})=>{const c=["state",e,s?"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:r}),s&&t.jsx("div",{className:"state__alert",children:t.jsx(tl,{color:"red",width:"80%"})})]})};sl.propTypes={className:n.string,hasAlerts:n.bool,hasError:n.bool,children:n.node.isRequired};const rl=({children:e,count:s,className:r,classNameCount:i})=>t.jsxs("div",{className:`count-card ${r}`,children:[e,t.jsx("span",{className:`count-card__count ${i}`,children:s})]});rl.propTypes={children:n.node,count:n.number||n.string,className:n.string,classNameCount:n.string};const il=({totalPages:e=50,currentPage:s=1,onChange:r,nextLabel:i,prevLabel:o,height:l,disabled:a,fontSize:c})=>{const d=u=>{u>0&&u<=e&&r(u)},h=()=>{s<e&&r(s+1)},g=()=>{s>1&&r(s-1)},y=[],x=Math.max(1,s-4),b=Math.min(e,x+9-1);for(let u=x;u<=b;u++)y.push(u);if(s>e-4){y.length=0;for(let u=e-9+1;u<=e;u++)u>0&&y.push(u)}return t.jsx("nav",{className:"pagination",children:t.jsxs("ul",{className:"pagination-list",children:[s>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:"..."})]}),y.map(u=>t.jsx("li",{className:`pagination-link ${s===u?"active":""} ${a?"disabled":""}`,onClick:()=>a?null:d(u),style:{height:l,fontSize:c},children:u},u)),b<e&&t.jsxs(t.Fragment,{children:[b<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})]}),s<e&&t.jsxs("li",{className:`pagination-next ${a?"disabled":""}`,onClick:a?null:h,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 nr=Fe(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"),sr=Fe(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=Fe(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"),rr={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"},ir={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"},ct=e=>{e instanceof Date||(e=new Date(e));const s=String(e.getDate()).padStart(2,"0"),r=String(e.getMonth()+1).padStart(2,"0"),i=e.getFullYear();return{formatDDMMYYYY:`${s}-${r}-${i}`,formatMMDDYYYY:`${r}-${s}-${i}`,formatYYYYMMDD:`${i}-${r}-${s}`,originalFormat:e}},ll=(e,s,r)=>{if(!s||r<=0)return!1;const i=new Date(s);return i.setMonth(i.getMonth()+r),i.setDate(i.getDate()-1),e>i},J0=({locale:e="es",disablePastDates:s,onDateRangeChange:r,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,h]=v.useReducer(m=>m+1,0),g=e==="es"?rr:ir,[p,y]=v.useState(null),[x,b]=v.useState(null),[u,w]=v.useState(null),[T,A]=v.useState(new Date),[z,S]=v.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[j,W]=v.useState(!1),Z=(m,E)=>{const P=new Date;if(P.setHours(0,0,0,0),c){const I=new Date(P);if(I.setDate(P.getDate()+c),m>I)return!0}return E&&s&&m<P||!E&&a&&m>P||s&&m<P||a&&m>P?!0:l>0&&p?ll(m,p,l):!1},L=m=>{const E=m.getFullYear(),P=m.getMonth(),M=new Date(E,P,1).getDay(),D=new Date(E,P+1,0),$=[],B=new Date(E,P,0).getDate();for(let K=M-1;K>=0;K--)$.push(new Date(E,P-1,B-K));for(let K=1;K<=D.getDate();K++)$.push(new Date(E,P,K));const J=42-$.length;for(let K=1;K<=J;K++)$.push(new Date(E,P+1,K));return $},q=m=>!p||!x?!1:m>=p&&m<=x,f=m=>!p||!u?!1:m>=p&&m<=u||m<=p&&m>=u,H=m=>{!p||x?(y(m),b(null)):m<p?(b(p),y(m),i&&k(m,p)):(b(m),i&&k(p,m))},_=m=>{w(m)},F=()=>!p||!x?0:Math.round((x.getTime()-p.getTime())/(1e3*60*60*24))+1,U=(m,E)=>{const P=new Date(m.getFullYear(),m.getMonth()-1,1);s&&P<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&E||(E?A(P):(S(P),P.getMonth()===T.getMonth()&&A(new Date(P.getFullYear(),P.getMonth()-1,1))))},G=(m,E)=>{const P=new Date(m.getFullYear(),m.getMonth()+1,1);E?(A(P),P.getMonth()===z.getMonth()&&S(new Date(P.getFullYear(),P.getMonth()+1,1))):S(P)},ee=m=>{const P=m.toLocaleDateString(g.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),I=P[0].charAt(0).toUpperCase()+P[0].slice(1),M=P[1],D=P[2].charAt(0).toUpperCase()+P[2].slice(1),$=P[3];return`${I} ${M} de ${D} ${$}`},Y=()=>{const m=new Date;y(null),b(null),A(m),S(new Date(new Date().setMonth(new Date().getMonth()+1))),W(!1),o({startDate:null,endDate:null}),h()},O=()=>{W(!1);const m=ct(p),E=ct(x);r({startDate:m,endDate:E})},k=(m,E)=>{y(m),b(E),W(!1);const P=ct(m),I=ct(E);r({startDate:P,endDate:I})};return{isOpen:j,endDate:x,language:g,leftMonth:T,startDate:p,setIsOpen:W,hoverDate:u,rightMonth:z,formatDate:ee,handleSearch:O,handleCancel:Y,isDateInRange:q,getDaysInMonth:L,isDateDisabled:Z,handleDateClick:H,handleDateHover:_,handlePrevClick:U,handleNextClick:G,getDaysSelected:F,isDateInHoverRange:f,keyReset:d,resetSelect:h}},An=(e,s,r,i)=>{if(!r||i<=0)return!1;const o=new Date(r);o.setMonth(o.getMonth()+i),o.setDate(o.getDate()-1);const l=new Date(r);return l.setDate(1),s?e<l:e>o},al=({locale:e="es",onDateRangeChange:s,disablePastDates:r,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:h,disableFutureDates:g,withoutSearchButton:p,disablePastDaysCount:y,value:x})=>{const{keyReset:b,isOpen:u,endDate:w,language:T,leftMonth:A,startDate:z,setIsOpen:S,rightMonth:j,formatDate:W,handleSearch:Z,handleCancel:L,isDateInRange:q,getDaysInMonth:f,isDateDisabled:H,handleDateClick:_,handleDateHover:F,handlePrevClick:U,handleNextClick:G,getDaysSelected:ee,isDateInHoverRange:Y}=J0({locale:e,onReset:l,onDateRangeChange:s,disablePastDates:r,withoutSearchButton:p,limitRange:i,disableFutureDates:g,disablePastDaysCount:y}),O=(x==null?void 0:x.startDate)instanceof Date?x.startDate:z,k=(x==null?void 0:x.endDate)instanceof Date?x.endDate:w,m=v.useRef(null);v.useEffect(()=>{const P=I=>{m.current&&!m.current.contains(I.target)&&u&&(S(!1),o||L())};return document.addEventListener("mousedown",P),()=>{document.removeEventListener("mousedown",P)}},[w,L,u,S,z,o]);const E=(P,I=!0)=>{const M=f(P),D=P.getMonth(),$=(R,J)=>[R&&R.getMonth()!==D?"other-month":"",R&&q(R)?"in-range":"",R&&Y(R)?"hover-range":"",R&&(R.getTime()===(O==null?void 0:O.getTime())||R.getTime()===(k==null?void 0:k.getTime()))?"selected":"",H(R,J)?"disabled":""].join(" "),B=({date:R,isLeftCalendar:J,disablePastDates:K,leftMonth:re})=>{const X=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),he=new Date(R.getFullYear(),R.getMonth()-1,1).getTime();return!!(K&&(he<X||!J&&new Date(re.getFullYear(),re.getMonth(),1).getTime()<=X))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>U(P,I),disabled:An(new Date(P.getFullYear(),P.getMonth()-1,1),!0,z,i)||B({date:P,isLeftCalendar:I,disablePastDates:r,leftMonth:A}),children:t.jsx("span",{className:"sr-only",children:t.jsx(nr,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[T.MONTHS[P.getMonth()],t.jsx("p",{children:P.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>G(P,I),disabled:An(new Date(P.getFullYear(),P.getMonth()+1,1),!1,z,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(sr,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),T.DAYS.map(R=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:R},R)),M.map((R,J)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${$(R,I)}`,disabled:!R||H(R),onClick:()=>R&&!H(R)&&_(R),onMouseEnter:()=>R&&!H(R)&&F(R),onMouseLeave:()=>F(null),children:t.jsx("span",{className:`day-text ${R?"":"text-muted"}`,style:{fontSize:d},children:R?R.getDate():""})})},`${R}_${J}`))]})]})};return v.useEffect(()=>{b&&L()},[b]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:m,children:[t.jsx("button",{className:`date-picker-toggle ${h?"disabled":""}`,disabled:h,onClick:()=>S(!u),children:O&&k?t.jsxs("div",{className:"container-formate",children:[t.jsxs("p",{className:`p-formate-date ${h?"disabled":""}`,style:{borderRight:"1px solid #9c9ca0"},children:[W(O)," ",t.jsx(ol,{sx:{color:"#9c9ca0"},style:{width:"15px",marginLeft:"5px"}})]}),t.jsxs("p",{className:`p-formate-date ${h?"disabled":""}`,children:[W(k),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 ${h?"disabled":""}`,style:{height:"34px",fontSize:d},children:T.selectRange}),t.jsx(Vi,{width:"10%",height:"50%"})]})}),u&&t.jsx("div",{className:"square"}),u&&t.jsx("div",{className:"container-triangle",children:t.jsx("div",{className:"triangle",children:t.jsx("div",{className:"triangle-blur"})})}),u&&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(A,!0),E(j,!1)]}),!p&&t.jsx("div",{className:"date-picker-footer",children:O&&k&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[ee()," ",T.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(On,{buttonProperties:{onClick:()=>L(),style:{width:"115px",textAlign:"center"}},children:T.cancel}),t.jsx(Ye,{buttonProperties:{onClick:()=>Z(),style:{width:"115px",textAlign:"center"}},children:T.search})]})]})})]})]}),O&&k&&o&&t.jsx("button",{className:"button-reset",onClick:()=>L(),children:t.jsx(kn,{})})]})};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:s,disableBusinessDays:r})=>{const i=new Date;if(i.setHours(0,0,0,0),s&&e<i)return!1;if(r&&typeof r=="number"&&r>0){let o=new Date(i),l=0;for(;l<r;){o.setDate(o.getDate()+1);const a=o.getDay();a!==0&&a!==6&&l++}if(e<o)return!1}return!0},eu=e=>{const s=new Date;s.setHours(0,0,0,0);const r=new Date(s);r.setDate(s.getDate()+1);const i=new Date(s);return i.setDate(s.getDate()+2),e.getTime()===s.getTime()||e.getTime()===r.getTime()||e.getTime()===i.getTime()},tu=(e,s)=>{const r=new Date(s);return r.setHours(0,0,0,0),e.getTime()<=r.getTime()},nu="America/Bogota",su=16,ru=3,iu=4,dl=0,ul=6,ou=()=>{const e=new Date().toLocaleString("en-US",{timeZone:nu});return new Date(e)},lu=(e,s)=>{const r=s??ou(),o=r.getHours()<su?ru:iu;let l=0;const a=new Date(r);for(a.setDate(a.getDate()+1);l<o;){const g=a.getDay();g!==dl&&g!==ul&&l++,a.setDate(a.getDate()+1)}for(;a.getDay()===dl||a.getDay()===ul;)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},au=e=>{let s=0,r=new Date;for(r.setHours(0,0,0,0),r.setDate(r.getDate()+1);s<5;){const i=r.getDay();i!==0&&i!==6&&s++,r.setDate(r.getDate()+1)}for(;r.getDay()===0||r.getDay()===6;)r.setDate(r.getDate()+1);return e<r},cu=e=>e.getDay()===0||e.getDay()===6,du=(e,s)=>{const r=new Date(s);r.setHours(0,0,0,0);let i=new Date(r);do i.setDate(i.getDate()+1);while(i.getDay()===0||i.getDay()===6);return e.getTime()<=i.getTime()},uu=({locale:e="es",onDateChange:s,onChangeFunction:r,disablePastDates:i,disableBusinessDays:o,disableNextTwoDays:l,disableSpecificDate:a,disableDaysBasedOnTime:c,disableFiveBusinessDays:d,disableWeekends:h,disableNextBusinessDayAfter:g,hourDisableDaysBasedOnHour:p,id:y})=>{const x=e==="es"?rr:ir,[b,u]=v.useState(new Date),[w,T]=v.useState(new Date),[A,z]=v.useState(!1),[S,j]=v.useState(null),W=v.useRef(null),Z=Y=>{const O=Y.getFullYear(),k=Y.getMonth(),E=new Date(O,k,1).getDay(),P=new Date(O,k+1,0),I=[],M=new Date(O,k,0).getDate();for(let B=E-1;B>=0;B--)I.push(new Date(O,k-1,M-B));for(let B=1;B<=P.getDate();B++)I.push(new Date(O,k,B));const $=42-I.length;for(let B=1;B<=$;B++)I.push(new Date(O,k+1,B));return I};v.useEffect(()=>{if(o&&typeof o=="number"&&o>0){let Y=new Date;Y.setHours(0,0,0,0);let O=new Date(Y),k=0;for(;k<o;){O.setDate(O.getDate()+1);const m=O.getDay();m!==0&&m!==6&&k++}O.getMonth()>Y.getMonth()&&T(O)}},[i,o]);const L=v.useMemo(()=>Y=>Y?i&&!cl(Y,{disablePastDates:i})||o&&!cl(Y,{disableBusinessDays:o})||l&&eu(Y)||a&&tu(Y,new Date(a))||c&&lu(Y,p)||d&&au(Y)||h&&cu(Y)||g&&du(Y,g):!1,[i,o,l,a,c,d,h,g,p]),q=Y=>{const O=new Date,k=new Date(O.getFullYear(),O.getMonth(),1).setHours(0,0,0,0);if(i&&Y<k)return!0;if(a){const m=new Date(a).setHours(0,0,0,0);return Y<m}return!1},f=Y=>b&&Y.getTime()===b.getTime(),H=Y=>{const O=Y.getMonth(),k=w.getMonth();O!==k&&T(new Date(Y.getFullYear(),O,1)),j(U(Y)),u(Y);const m=ct(Y);s&&s(m),r&&r({id:y,date:m}),z(!1)},_=Y=>{const O=new Date(Y.getFullYear(),Y.getMonth()-1,1),k=new Date;k.setHours(0,0,0,0),!(i&&O<new Date(k.getFullYear(),k.getMonth(),1))&&T(O)},F=Y=>{const O=new Date(Y.getFullYear(),Y.getMonth()+1,1);T(O)},U=Y=>{const k=Y.toLocaleDateString(x.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),m=k[0].charAt(0).toUpperCase()+k[0].slice(1),E=k[1],P=k[2].charAt(0).toUpperCase()+k[2].slice(1),I=k[3];return`${m} ${E} de ${P} ${I}`},G=()=>{u(new Date),z(!1)},ee=()=>{z(!1),s&&s(b),r&&r({id:y,date:b})};return v.useEffect(()=>{const Y=O=>{W.current&&!W.current.contains(O.target)&&z(!1)};return document.addEventListener("mousedown",Y),()=>{document.removeEventListener("mousedown",Y)}},[W]),{date:S,isOpen:A,setDate:j,language:x,leftMonth:w,setIsOpen:z,formatDate:U,setLeftMonth:T,handleSearch:ee,disablePrev:q,handleCancel:G,selectedDate:b,isDateInRange:f,datePickerRef:W,getDaysInMonth:Z,isDateDisabled:L,handlePrevClick:_,handleNextClick:F,handleDateClick:H,setSelectedDate:u}},hl=({label:e,error:s,locale:r,disabled:i,size:o="180px",onDateChange:l,onChangeFunction:a,disableWeekends:c,keyResetCalendar:d,disablePastDates:h,disableNextTwoDays:g,disableSpecificDate:p,disableBusinessDays:y,disableDaysBasedOnTime:x,disableFiveBusinessDays:b,disableNextBusinessDayAfter:u,hourDisableDaysBasedOnHour:w,heightBoxes:T="40px",labelText:A,subLabelText:z,id:S,value:j,fontSize:W})=>{const{date:Z,isOpen:L,setDate:q,language:f,leftMonth:H,setIsOpen:_,disablePrev:F,isDateInRange:U,getDaysInMonth:G,isDateDisabled:ee,handleDateClick:Y,handlePrevClick:O,handleNextClick:k,datePickerRef:m,setSelectedDate:E,setLeftMonth:P,selectedDate:I}=uu({locale:r,onDateChange:l,onChangeFunction:a,disableWeekends:c,disablePastDates:h,disableBusinessDays:y,disableNextTwoDays:g,disableSpecificDate:p,disableDaysBasedOnTime:x,disableFiveBusinessDays:b,disableNextBusinessDayAfter:u,hourDisableDaysBasedOnHour:w,id:S}),M=j instanceof Date?j:void 0,D=B=>{if(!B)return null;const J=B.toLocaleDateString(f.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),K=J[0].charAt(0).toUpperCase()+J[0].slice(1),re=J[1],X=J[2].charAt(0).toUpperCase()+J[2].slice(1),he=J[3];return`${K} ${re} de ${X} ${he}`};v.useEffect(()=>{q(null),E(null)},[d,q,E]),v.useEffect(()=>{if(M){(H.getMonth()!==M.getMonth()||H.getFullYear()!==M.getFullYear())&&P(new Date(M.getFullYear(),M.getMonth(),1));const B=new Date(M.getFullYear(),M.getMonth(),M.getDate()),R=I?new Date(I.getFullYear(),I.getMonth(),I.getDate()):null;(!R||B.getTime()!==R.getTime())&&E(B)}},[M,H,I,P,E]);const $=B=>{const R=G(B),J=B.getMonth(),K=re=>{const X=!!M&&re&&re.getFullYear()===M.getFullYear()&&re.getMonth()===M.getMonth()&&re.getDate()===M.getDate();return[re&&re.getMonth()!==J?"other-month":"",re&&(U(re)||X)?"selected":"",ee(re)?"disabled":""].join(" ")};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>O(B),disabled:F(new Date(B.getFullYear(),B.getMonth()-1,1)),children:t.jsx("span",{className:"sr-only",children:t.jsx(nr,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[f.MONTHS[B.getMonth()],t.jsx("p",{children:B.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>k(B),children:t.jsx("span",{className:"sr-only",children:t.jsx(sr,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${T})`},children:[t.jsx("div",{className:"background-days"}),f.DAYS.map(re=>t.jsx("div",{className:"calendar-day-header",children:re},re)),R.map((re,X)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${K(re)}`,disabled:!re||ee(re),onClick:()=>re&&!ee(re)&&Y(re),children:t.jsx("span",{className:`day-text ${re?"":"text-muted"}`,children:re?re.getDate():""})})},`${re}_${X}`))]})]})};return t.jsxs("div",{className:"single-date-picker-container relative",ref:m,children:[t.jsx(et,{label:M?D(M):Z??e,onchange:()=>{},options:[],size:o,isOpen:L,setIsOpen:_,error:s,disabledClickOutside:!0,disabled:i,keyReset:d,Icon:wi,labelText:A,subLabelText:z,fontSizeLabel:W,withoutOptions:!0}),L&&t.jsx("div",{className:"date-picker-dropdown date-picker-individual",children:t.jsx("div",{className:"calendars-wrapper",children:$(H)})})]})};hl.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:s,linkText:r,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:s})]}),i]}),t.jsx("div",{className:"line-grey"}),t.jsxs("div",{className:"info-action-card__action",children:[t.jsx("button",{children:r}),t.jsx(gs,{})]})]})};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 or=e=>e.map(s=>({id:s.id,title:s.title,optionsSelect:[]})),hu=(e,s)=>{const[r,i]=v.useState([]),[o,l]=v.useState(or(e)),[a,c]=v.useState(!1),d=v.useRef(null),h=v.useRef(!1),g=w=>{const T={};return e.forEach(A=>{const z=w.find(S=>S.id===A.id);z?T[A.id]={value:z.optionsSelect.map(S=>S.id),allData:z.optionsSelect}:T[A.id]={value:[],allData:[]}}),T},p=w=>{i(T=>T.includes(w)?T.filter(A=>A!==w):[...T,w])},y=(w,T)=>{h.current=!0,l(A=>{var L;const z=A.findIndex(q=>q.id===w);let S=[...A],j=[];const W=e.find(q=>q.id===w)||{};if(W.multiple!==!1)if(z===-1)j=[T],S.push({id:w,title:W.title||"",optionsSelect:j});else{const q=A[z].optionsSelect;q.some(H=>H.id===T.id)?j=q.filter(H=>H.id!==T.id):j=[...q,T],j.length===0?S.splice(z,1):(j.sort((H,_)=>{var F;return(F=H.label)==null?void 0:F.localeCompare(_.label)}),S[z].optionsSelect=j)}else if(z===-1||((L=A[z].optionsSelect[0])==null?void 0:L.id)!==T.id?j=[T]:j=[],j.length===0)z>-1&&S.splice(z,1);else{const q={id:w,title:W.title||"",optionsSelect:j};z===-1?S.push(q):S[z]=q}if(s){const q=g(S);s(q)}return S})},x=()=>{h.current=!0;const w=or(e);if(l(w),s){const T=g(w);s(T)}},b=v.useCallback(w=>{h.current=!0,l(w)},[]),u=()=>o.reduce((w,T)=>w+T.optionsSelect.length,0);return v.useEffect(()=>{h.current||l(or(e))},[e]),v.useEffect(()=>{const w=T=>{d.current&&!d.current.contains(T.target)&&c(!1)};return document.addEventListener("mousedown",w),()=>document.removeEventListener("mousedown",w)},[]),{expandedSections:r,selectedFilters:o,toggleSection:p,toggleFilter:y,clearAllFilters:x,open:a,setOpen:c,getLengthFilters:u,filterRef:d,setSelectedFilters:b}},In=(e,s)=>{var r;return s?typeof e=="object"&&!Array.isArray(e)?(r=Object.values(e))==null?void 0:r.flat():Array.isArray(e)?e:[]:Array.isArray(e)?e:[]},fu=(e,s)=>s||Array.isArray(e)?e:[],pl=({data:e=[],onChange:s,disabled:r,keyRest:i,value:o,fontSizeLabel:l="0.8vw",fontSizeTitles:a,fontSizeSelects:c="0.8vw",widthFilterComponent:d="380px",heightFilterComponent:h="400px",right:g="0",top:p="0"})=>{const{open:y,setOpen:x,toggleFilter:b,toggleSection:u,selectedFilters:w,clearAllFilters:T,getLengthFilters:A,expandedSections:z,filterRef:S,setSelectedFilters:j}=hu(e,s),[W,Z]=v.useState({}),[L,q]=v.useState({}),f=v.useRef({}),H=v.useRef(!0),_=132,F=220,U=k=>{Z(m=>({...m,[k]:!m[k]}))};v.useEffect(()=>{e.forEach(k=>{(k.selectAll||k.basicSelect)&&!(z!=null&&z.includes(k==null?void 0:k.id))&&u(k==null?void 0:k.id)})},[e,z,u]);const G=(k,m,E,P)=>{const I=E==null?void 0:E.filter(D=>P.includes(D.id)),M=o!==void 0?o:w;j(()=>{const D=M==null?void 0:M.findIndex(B=>(B==null?void 0:B.id)===k);let $=[...M];if(I.length===0)D>-1&&$.splice(D,1);else{const B={id:k,title:m,optionsSelect:I};D===-1?$.push(B):$[D]=B}if(s){const B={};e.forEach(R=>{if((R==null?void 0:R.id)===k)B[R==null?void 0:R.id]={value:P,allData:I};else{const J=$==null?void 0:$.find(K=>(K==null?void 0:K.id)===(R==null?void 0:R.id));J&&J.optionsSelect.length>0?B[R==null?void 0:R.id]={value:J.optionsSelect.map(K=>K.id),allData:J.optionsSelect}:B[R==null?void 0:R.id]={value:[],allData:[]}}}),s(B)}return $})},ee=(k,m,E,P)=>{const I=E==null?void 0:E.find(D=>D.value===P||D.label===P),M=o!==void 0?o:w;j(()=>{const D=M==null?void 0:M.findIndex(B=>(B==null?void 0:B.id)===k);let $=[...M];if(!I)D>-1&&$.splice(D,1);else{const B={id:k,title:m,optionsSelect:[I]};D===-1?$.push(B):$[D]=B}if(s){const B={};e.forEach(R=>{if((R==null?void 0:R.id)===k)B[R==null?void 0:R.id]={value:P,allData:I?[I]:[]};else{const J=$==null?void 0:$.find(K=>(K==null?void 0:K.id)===(R==null?void 0:R.id));J&&J.optionsSelect.length>0?B[R==null?void 0:R.id]={value:J.optionsSelect.map(K=>K.value||K.id),allData:J.optionsSelect}:B[R==null?void 0:R.id]={value:[],allData:[]}}}),s(B)}return $})};v.useEffect(()=>{const k={};z==null||z.forEach(m=>{const E=f.current[m];E&&E.scrollHeight>_&&(k[m]=!0)}),q(k)},[z,e]);const Y=o!==void 0?o:w;v.useEffect(()=>{if(H.current){H.current=!1;return}j(o===void 0?[]:o)},[i,j,o]),v.useEffect(()=>{o!==void 0&&!H.current&&j(o)},[o,j]);const O=o!==void 0?Y==null?void 0:Y.reduce((k,m)=>{var E;return k+((E=m==null?void 0:m.optionsSelect)==null?void 0:E.length)},0):A();return t.jsxs("div",{className:"toggle-filter-component",ref:S,children:[t.jsxs("button",{className:"reset-styles-button center-flex relative button-filter-component",disabled:r,onClick:()=>x(!y),style:{fontSize:a},children:["Filtro ",O?`(${O})`:"",t.jsx(Oi,{})]}),y&&t.jsxs("div",{className:"filter-container-component",style:{width:d,height:h,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?Y.reduce((m,E)=>{var P;return m+((P=E==null?void 0:E.optionsSelect)==null?void 0:P.length)},0):A())>0&&t.jsxs("button",{className:"clear-all",onClick:T,style:{fontSize:a},children:["Borrar todo",t.jsx(js,{width:"15px",height:"15px"})]}),t.jsx(gt,{sx:{color:"#8598ad"},style:{width:"14px",height:"14px"},onClick:()=>x(!y)})]})]}),e.map(({id:k,title:m,options:E,selectAll:P,basicSelect:I,placeholderInput:M,label:D,textSelectAll:$,grouped:B,disabledSection:R})=>{var J,K,re,X,he,le;return t.jsxs("div",{className:"filter-section",children:[t.jsxs("button",{className:"section-header",onClick:()=>!(P||I)&&u(k),style:{cursor:P||I?"default":"pointer"},children:[t.jsxs("span",{className:"section-header-title",style:{fontSize:l},children:["Por ",m]}),!(P||I)&&(z==null?void 0:z.includes(k))&&t.jsx("span",{className:"filter-container-icon",children:t.jsx(Gs,{isOpen:z==null?void 0:z.includes(k),onChange:()=>{},color:"#8598AD",padding:"2px",display:"flex",height:"auto",width:"auto"})})]}),(z==null?void 0:z.includes(k))&&t.jsx(t.Fragment,{children:P?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(Vs,{data:fu(E,B),grouped:B||!1,label:D||m,maxheight:"200px",onChange:fe=>{G(k,m,In(E,B),fe)},placeholderSearch:M||`Buscar ${m==null?void 0:m.toLowerCase()}`,textSelectAll:$||`Todos los ${m==null?void 0:m.toLowerCase()}`,width:"100%",widthDropdown:"100%",isRelative:!0,selectedValues:((K=(J=Y.find(fe=>(fe==null?void 0:fe.id)===k))==null?void 0:J.optionsSelect)==null?void 0:K.map(fe=>fe.id))||[],fontSizeLabel:l,disabled:R,fontSizeOptions:c})}):I?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(et,{label:D||m,options:In(E,B),onchange:fe=>{ee(k,m,In(E,B),fe.value)},placeholderInputSearch:M||`Buscar ${m==null?void 0:m.toLowerCase()}`,size:"100%",value:((he=(X=(re=Y==null?void 0:Y.find(fe=>(fe==null?void 0:fe.id)===k))==null?void 0:re.optionsSelect)==null?void 0:X[0])==null?void 0:he.value)||"",position:"relative",fontSizeLabel:l,disabled:R,fontSizeOptions:c})}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"section-content",ref:fe=>f.current[k]=fe,style:L[k]?W[k]?{maxHeight:F,overflowY:"scroll"}:{maxHeight:_,overflow:"hidden"}:{},children:(le=In(E,B))==null?void 0:le.map(fe=>{const _e=Y==null?void 0:Y.some(ke=>{var Pe;return(ke==null?void 0:ke.id)===k&&((Pe=ke==null?void 0:ke.optionsSelect)==null?void 0:Pe.some(ce=>ce.id===fe.id))});return t.jsx(tr,{height:"27px",onChange:()=>b(k,fe),isSelect:_e,children:fe.label},fe.id)})}),t.jsx("div",{style:{display:"flex",justifyContent:"end",padding:"0 8%",marginTop:"10px"},children:(L==null?void 0:L[k])&&t.jsx("button",{className:"view-more",onClick:()=>U(k),children:W[k]?"Ver menos":"Ver más"})})]})})]},k)})]})]})};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:s,linkText:r,icon:i,fnNavigate:o,width:l,fnDownload:a,gapTitleDescription:c,height:d,hasDownloadButton:h,fontSizeTitle:g,fontSizeDescription:p,fontSizeButton:y,textButton:x,widthButton:b="7.5vw",id:u})=>t.jsxs("section",{id:"info-action-card-download-template",className:"info-action-card",style:{width:l,height:d},onClick:()=>o(u),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:s})]}),t.jsx("div",{className:"info-action-card__content__icon",children:i})]}),h&&t.jsx(Ys,{buttonProperties:{disabled:!1,onClick:()=>a(),style:{minHeight:"32px",width:b,marginLeft:"10px",fontSize:y,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:r}),t.jsx(gs,{})]})})]});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:s,mainData:r,news:i,width:o,height:l,onChange:a,isSelected:c,value:d,disabled:h,keyReset:g,heightTitleFilter:p="20px",color:y="#575EE0"})=>{const[x,b]=v.useState({isSelected:c||!1,value:d||null}),u=A=>d===A.title,w=({item:A,from:z})=>{const S={isSelected:x.value!==A.title,value:x.value===A.title?null:A.title};b(S),a({item:A,from:z,title:s,selected:S.value,isSelected:S.isSelected})};v.useEffect(()=>{b({isSelected:!1,value:null})},[g]);const T=A=>!!(Number(A.quantity)===0||h);return t.jsxs("div",{className:"ProcessFilter",style:{width:o,height:l,borderColor:y},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:y},children:s})]}),t.jsx("div",{className:"ProcessFilter-statsWrapper",children:t.jsx(Ii,{})})]}),t.jsx("div",{className:"ProcessFilter-mainData",children:r.map(A=>t.jsxs("div",{onClick:()=>T(A)?null:w({item:A,from:"main"}),className:`ProcessFilter-item-wrapper ${u(A)?"selected":""} ${T(A)?"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:A.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:A.quantity})]},A.id))}),i.length>0&&t.jsxs("div",{className:"",children:[t.jsxs("h3",{className:"ProcessFilter-newsTitle",children:["Novedades (",i.reduce((A,z)=>A+(parseInt(z.quantity)||0),0),")"]}),i.map(A=>t.jsxs("div",{onClick:()=>T(A)?null:w({item:A,from:"news"}),className:`ProcessFilter-item-wrapper ${u(A)?"selected":""} ${T(A)?"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:A.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:A.quantity})]},A.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 pu=({locale:e="es",disablePastDates:s,onDateRangeChange:r,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,h]=v.useState(!1),[g,p]=v.useReducer(I=>I+1,0),y=e==="es"?rr:ir,[x,b]=v.useState(null),[u,w]=v.useState(null),[T,A]=v.useState(null),[z,S]=v.useState(new Date),[j,W]=v.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[Z,L]=v.useState(!1),q=(I,M)=>{const D=new Date;if(D.setHours(0,0,0,0),c){const $=new Date(D);if($.setDate(D.getDate()-c),I<$||I>D)return!0}return M&&s&&I<D||!M&&a&&I>D||s&&I<D||a&&I>D?!0:l>0&&x?ll(I,x,l):!1},f=I=>{const M=I.getFullYear(),D=I.getMonth(),B=new Date(M,D,1).getDay(),R=new Date(M,D+1,0),J=[],K=new Date(M,D,0).getDate();for(let he=B-1;he>=0;he--)J.push(new Date(M,D-1,K-he));for(let he=1;he<=R.getDate();he++)J.push(new Date(M,D,he));const X=42-J.length;for(let he=1;he<=X;he++)J.push(new Date(M,D+1,he));return J},H=I=>!x||!u?!1:I>=x&&I<=u,_=I=>!x||!T?!1:I>=x&&I<=T||I<=x&&I>=T,F=I=>{!x||u?(b(I),w(null)):I<x?(w(x),b(I),i&&E(I,x)):(w(I),i&&E(x,I))},U=I=>{A(I)},G=()=>!x||!u?0:Math.round((u.getTime()-x.getTime())/(1e3*60*60*24))+1,ee=(I,M)=>{const D=new Date(I.getFullYear(),I.getMonth()-1,1);s&&D<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&M||(M?S(D):(W(D),D.getMonth()===z.getMonth()&&S(new Date(D.getFullYear(),D.getMonth()-1,1))))},Y=(I,M)=>{const D=new Date(I.getFullYear(),I.getMonth()+1,1);M?(S(D),D.getMonth()===j.getMonth()&&W(new Date(D.getFullYear(),D.getMonth()+1,1))):W(D)},O=I=>{const D=I.toLocaleDateString(y.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),$=D[0].charAt(0).toUpperCase()+D[0].slice(1),B=D[1],R=D[2].charAt(0).toUpperCase()+D[2].slice(1),J=D[3];return`${$} ${B} de ${R} ${J}`},k=()=>{const I=new Date;b(null),w(null),S(I),W(new Date(new Date().setMonth(new Date().getMonth()+1))),L(!1),o({startDate:null,endDate:null}),p()},m=()=>{L(!1);const I=ct(x),M=ct(u);r({startDate:I,endDate:M}),h(!1)},E=(I,M)=>{b(I),w(M),L(!1);const D=ct(I),$=ct(M);r({startDate:D,endDate:$}),h(!1)};return{isOpen:Z,endDate:u,language:y,leftMonth:z,startDate:x,setIsOpen:L,hoverDate:T,rightMonth:j,formatDate:O,handleSearch:m,handleCancel:k,isDateInRange:H,getDaysInMonth:f,isDateDisabled:q,handleDateClick:F,handleDateHover:U,handlePrevClick:ee,handleNextClick:Y,getDaysSelected:G,isDateInHoverRange:_,keyReset:g,resetSelect:p,handleBasicSelect:({value:I})=>{I==="custom"?(h(!0),L(!1)):r({value:I})},isOpenCalendar:d,setIsOpenCalendar:h}},yl=({locale:e="es",onDateRangeChange:s,disablePastDates:r,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:h,disableFutureDates:g,optionsBasicSelect:p,withoutSearchButton:y,widthBasicSelect:x,fontSizeLabelBasicSelect:b,fontSizeOptionsBasicSelect:u,labelText:w,subLabelText:T,disablePastDaysCount:A,keyResetBasicSelect:z})=>{const{keyReset:S,isOpen:j,endDate:W,language:Z,leftMonth:L,startDate:q,setIsOpen:f,rightMonth:H,handleSearch:_,handleCancel:F,isDateInRange:U,getDaysInMonth:G,isDateDisabled:ee,handleDateClick:Y,handleDateHover:O,handlePrevClick:k,handleNextClick:m,getDaysSelected:E,isDateInHoverRange:P,handleBasicSelect:I,isOpenCalendar:M,setIsOpenCalendar:D}=pu({locale:e,onReset:l,onDateRangeChange:s,disablePastDates:r,withoutSearchButton:y,limitRange:i,disableFutureDates:g,disablePastDaysCount:A}),$=v.useRef(null);v.useEffect(()=>{const R=J=>{$.current&&!$.current.contains(J.target)&&(j||M)&&(f(!1),D(!1),o||F())};return document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[W,F,j,f,q,o,M,D]);const B=(R,J=!0)=>{const K=G(R),re=R.getMonth(),X=(le,fe)=>[le&&le.getMonth()!==re?"other-month":"",le&&U(le)?"in-range":"",le&&P(le)?"hover-range":"",le&&(le.getTime()===(q==null?void 0:q.getTime())||le.getTime()===(W==null?void 0:W.getTime()))?"selected":"",ee(le,fe)?"disabled":""].join(" "),he=({date:le,isLeftCalendar:fe,disablePastDates:_e,leftMonth:ke})=>{const Pe=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),ce=new Date(le.getFullYear(),le.getMonth()-1,1).getTime();return!!(_e&&(ce<Pe||!fe&&new Date(ke.getFullYear(),ke.getMonth(),1).getTime()<=Pe))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>k(R,J),disabled:An(new Date(R.getFullYear(),R.getMonth()-1,1),!0,q,i)||he({date:R,isLeftCalendar:J,disablePastDates:r,leftMonth:L}),children:t.jsx("span",{className:"sr-only",children:t.jsx(nr,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[Z.MONTHS[R.getMonth()],t.jsx("p",{children:R.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>m(R,J),disabled:An(new Date(R.getFullYear(),R.getMonth()+1,1),!1,q,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(sr,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),Z.DAYS.map(le=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:le},le)),K.map((le,fe)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${X(le,J)}`,disabled:!le||ee(le),onClick:()=>le&&!ee(le)&&Y(le),onMouseEnter:()=>le&&!ee(le)&&O(le),onMouseLeave:()=>O(null),children:t.jsx("span",{className:`day-text ${le?"":"text-muted"}`,style:{fontSize:d},children:le?le.getDate():""})})},`${le}_${fe}`))]})]})};return v.useEffect(()=>{z&&F()},[z]),v.useEffect(()=>{j&&D(!1)},[j]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:$,style:{width:x},children:[t.jsx(et,{label:"Buscar por fecha",options:p,size:x,isOpen:j,setIsOpen:f,disabledClickOutside:!0,disabled:h,onchange:I,fontSizeLabel:b,fontSizeOptions:u,keyReset:S,labelText:w,subLabelText:T,sortAlphabetically:!1}),M&&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:[B(L,!0),B(H,!1)]}),!y&&t.jsx("div",{className:"date-picker-footer",children:q&&W&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[E()," ",Z.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(On,{buttonProperties:{onClick:()=>F(),style:{width:"115px",textAlign:"center"}},children:Z.cancel}),t.jsx(Ye,{buttonProperties:{onClick:()=>_(),style:{width:"115px",textAlign:"center"}},children:Z.search})]})]})})]})]}),q&&W&&o&&t.jsx("button",{className:"button-reset",onClick:()=>F(),children:t.jsx(kn,{})})]})};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 xl=({width:e,menu:s,submenu:r,tab:i,navigateFn:o,fontSize:l,Icon:a,marginTop:c})=>{const d=()=>{o({submenu:r,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(Cn,{width:25,height:25})}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:s}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(Tn,{})})]}),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:r}),i&&t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(Tn,{})}),i&&t.jsx("li",{className:"list-none color-tab",style:{fontSize:l},children:i})]})]})};xl.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 bl=({steps:e=[],currentStep:s=1,width:r="600px"})=>{const i=()=>e.length<=1?0:s/e.length*100;return t.jsxs("div",{className:"stepper-container",style:{width:r},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<s,d=a===s;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)})})]})};bl.propTypes={steps:n.array,currentStep:n.number,width:n.string};const vl=({width:e,items:s=[],onItemClick:r,fontSize:i,Icon:o,marginTop:l})=>{const a=(c,d)=>{r&&typeof r=="function"&&r(c,d)};return!s||s.length===0?null:t.jsx("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:l??"4px"},children:o||t.jsx(Cn,{width:25,height:25})}),s.map((c,d)=>{const h=d===s.length-1,g=(c==null?void 0:c.isClickable)!==!1&&!h,p=d===1;return t.jsxs("div",{className:"flex gap items-center",children:[t.jsx("li",{className:`list-none ${h?"color-tab":g||p?"pointer border-bottom":""}`,onClick:()=>g?a(c,d):null,style:{fontSize:i,cursor:g?"pointer":"default"},title:g?`Click to navigate to ${c.name||c}`:void 0,children:c.name||c}),!h&&t.jsx("li",{className:"list-none",style:{fontSize:i},children:t.jsx(Tn,{})})]},d)})]})})};vl.propTypes={width:n.string,items:n.arrayOf(n.oneOfType([n.string,n.shape({name:n.string.isRequired,path:n.string,id:n.oneOfType([n.string,n.number]),data:n.any})])).isRequired,onItemClick:n.func,fontSize:n.string,Icon:n.element,marginTop:n.string};const jl=({icon:e,title:s,className:r="",children:i})=>t.jsxs("div",{className:`data-section ${r}`,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:s})]}),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})})]});jl.propTypes={icon:n.elementType,title:n.string,className:n.string,children:n.oneOfType([n.node,n.arrayOf(n.node)])};const gu=Fe(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"),wl=({data:e,language:s,onSave:r,onCancel:i,isUpdate:o})=>{const[l,a]=v.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[s]??c.es,h=p=>{const y=l.filter((x,b)=>b!==p);a(y)},g=()=>{r(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(gt,{sx:{color:"#8598ad"}})})]}),t.jsx("div",{className:"modal-listAplication-content",children:l==null?void 0:l.map((p,y)=>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:()=>h(y),children:t.jsx(gu,{sx:{color:"#8598ad"}})})]}),t.jsx("p",{className:"application-manager",children:p.manager}),y<e.length-1&&t.jsx("hr",{})]},y))}),t.jsxs("div",{className:"modal-listAplication-footer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>i(),style:{width:"45%"}},children:d.cancel}),t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"45%"}},children:d.save})]})]})})};wl.propTypes={data:n.array,language:n.oneOf(["en","es"]),onSave:n.func,onCancel:n.func,isUpdate:n.bool};const kl=e=>e.toLocaleDateString("es-ES",{day:"numeric",month:"long",year:"numeric"}),Cl=({isOpen:e,ticketNumber:s="##000",date:r=new Date,setIsOpen:i,isReadOnly:o=!1,fontSize:l="1vw",fontSizeButton:a="0.8vw",fontSizeTicketNumber:c="1.3vw",width:d="40vw",onAccept:h,onCreateNewTicket:g,createNewTicket:p=!0})=>{if(!e)return null;const y=()=>i(!1),x=()=>{y(),h()},b=()=>{y(),g()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:d},children:[t.jsx("button",{onClick:y,className:"closeButton",children:t.jsx(gt,{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(Mn,{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:s})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:kl(r)})]})]})]}),t.jsxs("div",{className:"buttonContainer",style:{justifyContent:p?"space-between":"center"},children:[p&&t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>b(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>x(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})]})})};Cl.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 mu="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=",Sl=({onChange:e,handleClose:s})=>{const[r,i]=v.useState(!1),o=()=>{e(r),s()};return t.jsx("div",{className:"modal-overlay",children:t.jsxs("div",{className:"modal-VisualizationModaLogin",children:[t.jsx("img",{src:mu,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:s,children:t.jsx(gt,{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(Le.FormControlLabel,{control:t.jsx(Le.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(Ye,{buttonProperties:{disabled:!1,onClick:()=>{o()},style:{width:"40%"}},children:"ACEPTAR"})})]})]})]})})};Sl.propTypes={onChange:n.func,handleClose:n.func};const Tl=({isOpen:e,setIsOpen:s,width:r="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:h})=>{if(!e)return null;const g=()=>s(!1),p=()=>{s(!1),h()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:r},children:[t.jsx("button",{onClick:g,className:"closeButton",children:t.jsx(gt,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"main-content",children:[t.jsx("div",{className:"iconContainer",children:t.jsx(vs,{})}),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(Ye,{buttonProperties:{disabled:!1,onClick:()=>p(),style:{width:"100%",fontSize:l}},children:d})})]})]})})};Tl.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 Ml=({title:e,icon:s,className:r="",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 ${r}`,children:[t.jsxs("div",{className:"observations-header",children:[s&&t.jsx(s,{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})})]});Ml.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 zl=({titles:e=["1. Cargar Datos de Cancelación","2. Validar los Datos Cargados","3. Aceptar o Rechazar"],currentStep:s=1,fontSizeTitles:r,widthIcon:i,heightIcon:o,width:l})=>{const a=[Pi,Ri,Wi],c=e.map((d,h)=>({number:h+1,title:d,icon:a[h]}));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:s===1?"0%":s===2?"52%":"100%"}})}),t.jsx("div",{className:"stepper-steps",children:c.map(d=>{const h=d.icon,g=s>=d.number;return t.jsxs("div",{className:`stepper-step ${g?"active":""}`,style:{height:o},children:[t.jsx("span",{className:"stepper-title",style:{fontSize:r},children:d.title},d.number),t.jsx("div",{className:"stepper-icon",style:{width:i,height:o},children:t.jsx(h,{})})]},d.number)})})]})};zl.propTypes={titles:n.arrayOf(n.string),currentStep:n.number,fontSizeTitles:n.string,widthIcon:n.string,heightIcon:n.string,width:n.string};const El=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-InProcessing",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(En,{fill:"#d0aa00"}),"En Procesamiento"]});El.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Nl=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-ToStart",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(En,{fill:"#7c92c5"}),"Por Iniciar"]});Nl.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const lr=(e,s="100px",r,i,o)=>({Activo:t.jsx(Ks,{width:s,fontSize:r,marginAuto:i,height:o}),Cancelada:t.jsx(Xs,{width:s,fontSize:r,marginAuto:i,height:o}),Finalizada:t.jsx(Js,{width:s,fontSize:r,marginAuto:i,height:o}),Inactivo:t.jsx(Qs,{width:s,fontSize:r,marginAuto:i,height:o}),"En Procesamiento":t.jsx(El,{width:s,fontSize:r,marginAuto:i,height:o}),"Por Iniciar":t.jsx(Nl,{width:s,fontSize:r,marginAuto:i,height:o}),"En tránsito":t.jsx(er,{width:s,fontSize:r,marginAuto:i,height:o})})[e]||e,Dl=({data:e,onEdit:s,width:r,dataKeysNotToRender:i=[],textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeight:d,onFnIcon:h,icon:g=t.jsx(ms,{}),widthState:p,onEditSubData:y,onFnIconSubData:x,subMessage:b,onClickOptions:u,onClickSubOptions:w,fontSizeTHead:T,fontSizeTBody:A,widthOptions:z,fontSizeOptions:S,nameOfKeyState:j="Estado",texAlignTHead:W="start",textAlignTBody:Z="start",fontSizeState:L,fontStyleTBody:q="normal",fontStyleTHead:f="normal"})=>{const[H,_]=v.useState({}),F=O=>{_(k=>({...k,[O]:!k[O]}))},U=O=>{s(O)},G=O=>{y(O)},ee=e.length>0?Object.keys(e[0]).filter(O=>O!=="subData"&&!i.includes(O)):[],Y=O=>O!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{}),ee.map((O,k)=>t.jsx("th",{style:{fontSize:T,textAlign:W,fontStyle:f},children:O.replace(/_/g," ")},k)),ee.length>0?t.jsx("th",{style:{fontSize:T,textAlign:W,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:ee.length+1,style:{fontSize:c,textAlign:"center",fontStyle:q},children:a})}),e==null?void 0:e.map(O=>{var k;return t.jsxs(v.Fragment,{children:[t.jsxs("tr",{className:"main-row",children:[t.jsx("td",{children:t.jsx("button",{onClick:()=>F(O.id),className:"reset-styles-button",style:{width:"100%"},children:t.jsx("i",{className:`arrow-grey-container ${H[O.id]?"up":"down"}`})})}),ee.map((m,E)=>t.jsx("td",{style:{color:m!==j?Y(O.Estado):"black",padding:m===j?"0 9px":"10px",fontSize:A,textAlign:Z,fontStyle:q},children:m===j?lr(O[m],p,L,Z==="center"):O[m]||"-"},E)),((k=O==null?void 0:O.options)==null?void 0:k.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:m=>{u({option:m,row:O})},options:[...O.options],fontSize:S,width:z})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>U(O),style:{fontSize:A,fontStyle:q},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>h(O),children:g})]})})]}),H[O.id]&&t.jsx("tr",{className:"sub-row",style:{fontStyle:"italic"},children:Array.from({length:ee.length+2},(m,E)=>t.jsx("td",{className:"td-empty",style:{fontWeight:"600"},children:E===1?`${b}`:""},E))}),H[O.id]&&O.subData.length>0&&O.subData.map((m,E)=>{var P;return t.jsxs("tr",{className:"sub-row",children:[t.jsx("td",{})," ",ee.map((I,M)=>t.jsx("td",{style:{color:I!==j?Y(m.Estado):"black",padding:I===j?"0 9px":"10px",fontSize:A,textAlign:Z,fontStyle:q},children:I===j?lr(m[I],p,L,Z==="center"):m[I]||"-"},M)),((P=m==null?void 0:m.options)==null?void 0:P.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:I=>{w({option:I,row:m})},options:[...m.options],fontSize:S,width:z})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>G(m),style:{fontSize:A,fontStyle:q},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>x(m),children:g})]})})]},E)})]},O.id)})]})]})};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,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 Ol=({data:e,dataKeysNotToRender:s,title:r,minWidth:i,texAlignTHead:o="start",textAlignTBody:l="start",fontSizeTHead:a,fontSizeTBody:c,fontSizeTitle:d})=>{const h=e.length>0?Object.keys(e[0]).filter(g=>!s.includes(g)):[];return t.jsxs("div",{className:"log-container",style:{minWidth:i},children:[t.jsx("h1",{className:"log-title",style:{fontSize:d},children:r}),t.jsxs("table",{className:"log-table",children:[t.jsx("thead",{children:t.jsx("tr",{children:h.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:h.map((y,x)=>t.jsx("td",{children:t.jsx("p",{children:g[y]})},x))},p))})]})]})};Ol.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 Al=({data:e,minWidth:s,dataKeysNotToRender:r,topToolTip:i,toolTips:o,fontSizeToolTip:l,messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:h="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:y,heightTd:x="30px",isWrap:b=!1,width:u="100%"})=>{const[w,T]=v.useState(null),A=j=>{T(j)},z=()=>{T(null)},S=e.length>0?Object.keys(e[0]).filter(j=>!r.includes(j)):[];return t.jsxs("table",{className:"table-ixc",style:{minWidth:s,minHeight:d,width:u},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[S.map((j,W)=>t.jsxs("th",{className:"relative",onMouseEnter:()=>A(j),onMouseLeave:z,style:{height:x},children:[t.jsx("p",{style:{textAlign:h,fontSize:p,whiteSpace:b?"wrap":"nowrap",textOverflow:b?"clip":"ellipsis",overflow:b?"auto":"hidden"},children:j}),o&&o[j]&&w===j&&t.jsx("div",{className:"tooltipTable",style:{top:i},children:t.jsx(Ms,{fontSize:l,children:o[j]})})]},W)),S.length===0&&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",whiteSpace:b?"wrap":"nowrap",textOverflow:b?"clip":"ellipsis",overflow:b?"auto":"hidden"},children:a})}),e.map((j,W)=>t.jsx("tr",{children:S.map((Z,L)=>t.jsx("td",{style:{textAlign:g,fontSize:y,whiteSpace:b?"wrap":"nowrap",textOverflow:b?"clip":"ellipsis",overflow:b?"auto":"hidden",height:x},children:j[Z]},L))},(j==null?void 0:j.id)||W))]})]})};Al.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 Il=({data:e,onEdit:s,width:r,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,icon:h,onFnIcon:g,onClickOptions:p,widthOptions:y,fontSizeOptions:x,texAlignTHead:b="start",textAlignTBody:u="start",fontSizeTHead:w,fontSizeTBody:T})=>{const A=S=>{s(S)},z=e.length>0?Object.keys(e[0]).filter(S=>S!=="options"&&!i.includes(S)):[];return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[z.map((S,j)=>t.jsx("th",{style:{textAlign:b,fontSize:w},children:S},j)),z.length>0?t.jsx("th",{style:{textAlign:b,fontSize:w},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:z.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((S,j)=>{var W;return t.jsxs("tr",{children:[z.map((Z,L)=>t.jsx("td",{style:{textAlign:u,fontSize:T},children:S[Z]},L)),((W=S==null?void 0:S.options)==null?void 0:W.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:Z=>{p({option:Z,row:S})},options:[...S.options],fontSize:x,width:y})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>A(S),style:{fontSize:T,textAlign:u},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>g(S),style:{textAlign:o?u:"center"},children:h})]})})]},(S==null?void 0:S.id)||j)})]})]})};Il.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 Rl=({data:e,onEdit:s,width:r,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:h="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:y,heightTd:x="30px"})=>{const b=w=>{s(w)},u=e.length>0?Object.keys(e[0]).filter(w=>!i.includes(w)):[];return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[u.map((w,T)=>t.jsx("th",{style:{textAlign:h,fontSize:p},children:w},T)),u.length>0?t.jsx("th",{style:{textAlign:h,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:u.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((w,T)=>t.jsxs("tr",{children:[u.map((A,z)=>t.jsx("td",{style:{textAlign:g,fontSize:y},children:w[A]},z)),t.jsx("td",{children:t.jsx("button",{className:"edit-button",onClick:()=>b(w),style:{fontSize:y,textAlign:g,height:x},children:o})})]},(w==null?void 0:w.id)||T))]})]})};Rl.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 Pl=({data:e,children:s,width:r,dataKeysNotToRender:i=[],textHeader:o="Acciones",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeigth:c,texAlignTHead:d="start",textAlignTBody:h="start",fontSizeTHead:g,fontSizeTBody:p,heightTd:y="30px"})=>{const x=e.length>0?Object.keys(e[0]).filter(u=>!i.includes(u)):[],b=u=>{if(!s)return null;const w=T=>{if(!T.props.onClick)return T;const A=T.props.onClick,z=S=>{S.rowData=u,A(S)};return v.cloneElement(T,{...T.props,onClick:z})};return Array.isArray(s)?s.map((T,A)=>w(v.cloneElement(T,{key:A,rowData:u,...T.props}))):w(v.cloneElement(s,{rowData:u}))};return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:c},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[x.map((u,w)=>t.jsx("th",{style:{textAlign:d,fontSize:g},children:u},w)),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((u,w)=>t.jsxs("tr",{children:[x.map((T,A)=>t.jsx("td",{style:{textAlign:h,fontSize:p},children:u[T]},A)),t.jsx("td",{children:t.jsx("div",{className:"action-icon",style:{height:y,display:"flex",alignItems:"center",gap:"10px"},children:b(u)})})]},(u==null?void 0:u.id)||w))]})]})};Pl.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 Wl=({data:e,onEdit:s,width:r,textButton:i="Editar",textHeader:o="Acción",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeight:c,onFnIcon:d,icon:h=t.jsx(ms,{}),widthState:g,onClickOptions:p,fontSizeTHead:y,fontSizeTBody:x,widthOptions:b,fontSizeOptions:u,dataKeysNotToRender:w=[],nameOfKeyState:T="Estado",texAlignTHead:A="start",textAlignTBody:z="start",fontSizeState:S,heightStates:j="18px",heightTd:W="30px",fontStyleTBody:Z="normal",fontStyleTHead:L="normal"})=>{const q=_=>{s(_)},f=(e==null?void 0:e.length)>0?Object.keys(e[0]).filter(_=>_!=="options"&&!w.includes(_)):[],H=_=>_!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:c,fontStyle:Z},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[f.map((_,F)=>t.jsx("th",{style:{fontSize:y,textAlign:A,fontStyle:L},children:_},F)),f.length>0?t.jsx("th",{style:{fontSize:y,textAlign:A,fontStyle:L},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:Z},children:l})}),e.map((_,F)=>{var U;return t.jsxs("tr",{children:[f.map((G,ee)=>t.jsx("td",{style:{fontSize:x,textAlign:z,color:G!==T?H(_.Estado):"black",height:W,fontStyle:Z},children:G===T?lr(_[G],g,S,z==="center",j):_[G]},ee)),((U=_==null?void 0:_.options)==null?void 0:U.length)>0?t.jsx("td",{style:{overflow:"visible",height:W,fontStyle:Z},children:t.jsx(Dt,{onClick:G=>{p({option:G,row:_})},options:[..._.options],fontSize:u,width:b})}):t.jsx("td",{style:{height:W,fontStyle:Z},children:t.jsxs("div",{className:"action-icon",children:[i&&t.jsx("button",{className:"edit-button",onClick:()=>q(_),style:{fontSize:x,textAlign:z,fontStyle:Z},children:i}),t.jsx("button",{className:"edit-icon",onClick:()=>d(_),children:h})]})})]},(_==null?void 0:_.id)||F)})]})]})};Wl.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 $l=({children:e,className:s="",...r})=>t.jsx("th",{className:`th-table-ixc ${s}`.trim(),...r,children:e});$l.propTypes={children:n.node,className:n.string};const yu=(e=[])=>{const s=v.useRef(null),[r,i]=v.useState(!1),o=v.useCallback(()=>{if(s.current){const l=s.current,a=l.scrollWidth>l.clientWidth;return i(a),a}return!1},[]);return v.useEffect(()=>{const a=setTimeout(()=>{o()},0);return window.addEventListener("resize",o),()=>{clearTimeout(a),window.removeEventListener("resize",o)}},e),{ref:s,isTruncated:r,checkTruncation:o}},Bl=({children:e,className:s="",classTooltip:r="",showTooltipOnTruncate:i=!1,left:o=120,top:l=0,...a})=>{const{ref:c,isTruncated:d}=yu([e]),[h,g]=v.useState(!1),[p,y]=v.useState({top:0,left:0}),x=u=>{if(d&&i){const w=u.currentTarget.getBoundingClientRect();y({top:w.top+l,left:w.left+o}),g(!0)}},b=u=>{const w=u.relatedTarget;w&&typeof w.closest=="function"&&w.closest(".td-tooltip-container")||g(!1)};return t.jsxs(t.Fragment,{children:[t.jsx("td",{ref:c,className:`td-table-ixc-base ${s}`.trim(),onMouseEnter:x,onMouseLeave:b,...a,children:e}),h&&ca.createPortal(t.jsx("div",{className:`td-tooltip-container ${r}`.trim(),style:{top:`${p.top}px`,left:`${p.left}px`},onMouseEnter:()=>g(!0),onMouseLeave:u=>{var T;const w=u.relatedTarget;w&&typeof w.closest=="function"&&((T=c.current)!=null&&T.contains(w))||g(!1)},children:e}),document.body)]})};Bl.propTypes={children:n.node,className:n.string,classTooltip:n.string,showTooltipOnTruncate:n.bool,left:n.number,top:n.number};const Fl=({children:e,className:s="",...r})=>t.jsx("thead",{className:`thead-table-ixc ${s}`.trim(),...r,children:e});Fl.propTypes={children:n.node,className:n.string};const Ll=({children:e,className:s="",...r})=>t.jsx("tr",{className:`tr-table-ixc ${s}`.trim(),...r,children:e});Ll.propTypes={children:n.node,className:n.string};const _l=({children:e,className:s="",...r})=>t.jsx("tbody",{className:`tbody-table-ixc-base ${s}`.trim(),...r,children:e});_l.propTypes={children:n.node,className:n.string};const Hl=({children:e,className:s,...r})=>t.jsx("table",{className:`table-v2 ${s}`,...r,children:e});Hl.propTypes={children:n.node,className:n.string};const xu=Object.assign(Hl,{Th:$l,Td:Bl,Thead:Fl,Tr:Ll,Tbody:_l}),Vl=({menus:e,size:s,onclick:r,height:i,fontSize:o})=>{var p;const l=e||[],[a,c]=v.useState(((p=l[0])==null?void 0:p.id)||""),[d,h]=v.useState(100/l.length),g=y=>{c(y.id),r(y)};return v.useEffect(()=>{const y=()=>{const x=100/l.length;h(x)};return window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[l.length]),t.jsx("nav",{className:"dynamic-menu",style:{width:s,height:i},children:t.jsx("ul",{children:l.map(y=>t.jsx("li",{className:a===y.id?"selected":"",style:{width:`${d}%`},onClick:()=>g(y),children:t.jsx("button",{style:{fontSize:o},children:y.label})},y.id))})})};Vl.propTypes={menus:n.array,size:n.string,onclick:n.func,height:n.string,fontSize:n.string};const Zl=({children:e,onChange:s,tabs:r,value:i,minHeight:o,width:l})=>{const[a,c]=v.useState(i),d=h=>{c(h),s(h)};return t.jsxs("div",{className:"tabs-container",style:{width:l},children:[t.jsx("div",{className:"tabs-wrapper",children:r.map(h=>t.jsxs("button",{onClick:()=>d(h.id),className:`tab-button ${a===h.id?"active":""}`,children:[t.jsx("span",{className:"tab-title",children:h.title}),t.jsx("span",{className:"tab-subtitle",children:h.subtitle})]},h.id))}),t.jsx("div",{style:{minHeight:o},children:e})]})};Zl.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 Ul=({tabs:e,width:s,onChange:r,disabled:i,defaultValue:o})=>{var d;const[l,a]=v.useState(o||((d=e[0])==null?void 0:d.key)||"");v.useEffect(()=>{o&&a(o)},[o]);const c=h=>{a(h),r(h)};return t.jsx("div",{className:"DeliveryTabs-tabs-container",style:{width:s},children:t.jsx("div",{className:"tabs-wrapper",style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((h,g)=>t.jsx("button",{disabled:i,className:`tab ${l===h.key?"active":""} ${g===0?"first-tab":""} ${g===e.length-1?"last-tab":""}`,onClick:()=>c(h.key),role:"tab","aria-selected":l===h.key,children:h.label},h.key))})})};Ul.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 ql=({tabs:e,width:s,onChange:r})=>{const[i,o]=v.useState(e[0].id),l=a=>{o(a),r(a)};return t.jsx("div",{className:"tabs-simple-container",style:{width:s},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))})})};ql.propTypes={tabs:n.array,width:n.string,onChange:n.func};const Yl=({isOpen:e,ticketNumber:s="##000",date:r=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 h=()=>i(!1),g=()=>{h()};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(Mn,{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:s})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:kl(r)})]})]})]}),t.jsxs("div",{className:"buttonContainer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>h(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})})};Yl.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 Gl=({children:e,style:s})=>t.jsx("h3",{className:"blue-title",style:{...s},children:e});Gl.propTypes={children:n.any,style:n.object};const Kl=({children:e,navigateTo:s,style:r})=>t.jsx("button",{onClick:()=>s(),style:{...r},className:"ions-link",children:e});Kl.propTypes={children:n.node,navigateTo:n.func,style:n.object};const Ql=({children:e,className:s=""})=>t.jsx("h2",{className:`simple-title ${s}`,children:e});Ql.propTypes={children:n.node,className:n.string};const Xl=({children:e,className:s=""})=>t.jsx("p",{className:`paragraph ${s}`,children:e});Xl.propTypes={children:n.node,className:n.string};const Jl=({tooltip:e="tooltip",className:s,classNameLabel:r,classNameTooltip:i,debug:o=!1,children:l})=>{const[a,c]=v.useState(!1),d=()=>{c(!0)},h=()=>{c(!1)};return t.jsxs("div",{className:`container-label ${s}`,children:[t.jsx("label",{className:`label-library ${r}`,children:l}),e&&t.jsxs("div",{style:{position:"relative",width:"24px",height:"26px",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:d,onMouseLeave:h,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"})}),(a||o)&&t.jsx("p",{className:`tooltip ${i}`,children:e})]})]})};Jl.propTypes={tooltip:n.string,classNameTooltip:n.string,className:n.string,classNameLabel:n.string,debug:n.bool,children:n.string};const ea=({children:e,className:s=""})=>t.jsx("div",{className:`template-container ${s}`,children:e});ea.propTypes={children:n.node,className:n.string},n.checkPropTypes=()=>{},N.Active=Ks,N.BasicSelect=et,N.BlueTitle=Gl,N.BoldIcon=fs,N.Breadcrumbs=xl,N.BreadcrumbsNested=vl,N.ButtonAddBoxRoundedIcon=Io,N.ButtonArrow=Gs,N.ButtonCleanFilters=Wo,N.ButtonDarkBlue=Qt,N.ButtonDarkBlueRounded=qs,N.ButtonDarkGreen=To,N.ButtonDownloadFile=Mo,N.ButtonDownloadTemplate=Oo,N.ButtonEye=$o,N.ButtonLetters=So,N.ButtonMinus=Eo,N.ButtonPlus=zo,N.ButtonReset=Co,N.ButtonSearch=uo,N.ButtonSoftPastelBlue=No,N.ButtonSoftPastelBlueRounded=Ro,N.ButtonUploadTemplate=Do,N.ButtonVibrantBlue=Ye,N.ButtonVibrantBlueSend=Fo,N.ButtonVibrantBlueUpload=Ao,N.ButtonWhiteBorderBlue=Nt,N.ButtonWhiteBorderBlueDownloadTemplate=Ys,N.ButtonWhiteBorderBlueSendEmail=Bo,N.ButtonWhiteBorderOrange=On,N.Canceled=Xs,N.CanceledIcon=Di,N.CheckBox=Fs,N.CheckIcon=Wi,N.CheckTicketIcon=Mn,N.Chip=_o,N.ChipSection=Ho,N.ChipWithIcon=Vo,N.CleanFiltersIcon=ws,N.ClearFilterIcon=kn,N.ClosedEye=bs,N.Completed=Js,N.CompletedIcon=Hi,N.CountCard=rl,N.CustomArrowIcon=E1,N.DataEnteredIcon=Bi,N.DataMasterArrow=gs,N.DataMasterCountryConfiguration=N1,N.DataSection=jl,N.DateIcon=wi,N.DateRangePicker=al,N.DateRangePickerBasicSelect=yl,N.DeliveryTabs=Ul,N.DesSelectAllIcon=ji,N.DownloadTemplateIcon=ys,N.DropFile=oo,N.EditIcon=ms,N.EllipseBase=En,N.EllipseBlueIcon=zi,N.EllipseDarkGreenIcon=Ti,N.EllipseGreenIcon=zn,N.EllipseGreyIcon=Mi,N.EraserIcon=Cn,N.ExcelIcon=ps,N.ExcelSvgIcon=Pi,N.ExpandableTable=Dl,N.EyeButton=Po,N.FileCard=Ko,N.FileCardMinimized=Qo,N.FilePreview=Uo,N.FilterComponent=pl,N.FilterIcon=Oi,N.FolderCard=Xo,N.FolderCardMinimized=Jo,N.GreyContainer=Yo,N.GreyContainerDropdown=Go,N.GreyInput=lo,N.GreySelect=E0,N.GreyTextArea=ao,N.HeaderItemsComponent=Vl,N.InProcessIcon=O1,N.InProcessingIcon=_i,N.InTransit=er,N.InTransitIcon=Nn,N.Inactive=Qs,N.InfoActionCard=fl,N.InfoActionCardDownloadTemplate=gl,N.InputRadio=Bs,N.InputSearch=at,N.InputUpload=co,N.InputWithButtonSearch=ho,N.InputWithLabel=fo,N.ItalicIcon=hs,N.KeyboardArrowDownOutlinedIconColorCustom=bi,N.Label=Jl,N.LastUpdate=Zo,N.Link=Kl,N.Loader=Gi,N.LogTable=Ol,N.MarksIcon=us,N.MenuIconOption=Ai,N.MenuOptions=Dt,N.MinusIcon=Ni,N.ModalListAplications=wl,N.MultiSelect=go,N.NumberSpinner=B0,N.NumberSpinnerByRange=mo,N.ObservationIcon=Fi,N.Observations=Ml,N.OpenEye=xs,N.Pagination=il,N.Paragraph=Xl,N.PlusIcon=Ei,N.ProcessFilter=ml,N.ProductRecallIcon=D1,N.RightArrowIcon=Tn,N.RoundedInput=yo,N.Select=_s,N.SelectAll=Vs,N.SelectAllIcon=vi,N.SelectMultiple=Zs,N.SelectNested=Us,N.SelectRadio=bo,N.SelectWithTitle=vo,N.SimpleTap=ql,N.SimpleTitle=Ql,N.SingleDatePicker=hl,N.State=sl,N.StateBasic=Lo,N.StatsIcon=Ii,N.Stepper=zl,N.StepsComponent=bl,N.Switch=jo,N.Table=Al,N.TableActionIcon=Il,N.TableComponent=xu,N.TableEdit=Rl,N.TableMultipleIcon=Pl,N.TableStates=Wl,N.TabsNavigation=Zl,N.TemplateTicketConfirm=ea,N.TextArea=wo,N.TicketComponentV2=Yl,N.TicketModal=Cl,N.TimeComponent=ko,N.TimeIcon=ki,N.TitleWithTooltip=Kt,N.ToStartProcessingIcon=Li,N.ToggleChip=tr,N.TooltipTable=qi,N.TooltipsWhite=Ms,N.TrashIcon=js,N.TriangleIconForNumberSpinnerByRange=$i,N.UpLoadSvgIcon=wn,N.UpdateBanner=Un,N.UploadFileIcon=Sn,N.UserReadOnlyIcon=Ut,N.VisualizationModaLogin=Sl,N.WaringBanner=x1,N.WarningIcon=vs,N.WarningModal=Tl,N.WindowCheck=Ri,N.XIcon=Si,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
|
|
451
|
+
`,Yo=({children:e,height:s,width:r,style:i})=>t.jsx(qo,{style:{height:s,width:r,...i},children:e});Yo.propTypes={children:n.any,width:n.string,height:n.string,style:n.object};const Go=({title:e,height:s,width:r,style:i,children:o})=>{const[l,a]=v.useState(!1);return t.jsxs(qo,{style:{height:l?"auto":s,width:r,...i,borderRadius:"0px",boxShadow:"none",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[e,t.jsx(X0,{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:s,className:r="",icon:i,isClickable:o=!0,data:l,fontSize:a})=>{const{title:c}=l,d=()=>{o&&s&&s(l)},h=p=>{o&&s&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),s(l))},g=()=>{switch(e){case"excel":return t.jsx(Cs,{});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":""} ${r}`,onClick:d,onKeyDown:h,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(Ss,{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 Qo=({data:e,fileType:s="excel",onClick:r,className:i="",icon:o,isClickable:l=!0,isSelected:a=!1})=>{const{title:c}=e,d=()=>{l&&r&&r(e)},h=p=>{l&&r&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),r(e))},g=()=>{switch(s){case"excel":return t.jsx(Cs,{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:h,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(Ss,{width:12,height:12})})]}),t.jsx("div",{className:"file-card-minimized__filename",children:c})]})};Qo.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 Xo=({onClick:e,className:s="",icon:r,isClickable:i=!0,fontSize:o,hasDownload:l=!1,onChange:a,isSelected:c=!1,data:d})=>{const{id:h,title:g}=d,p=()=>{i&&e&&e(d)},y=x=>{i&&e&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),e(d))};return t.jsxs("div",{className:`folder-card ${i?"folder-card--clickable":""} ${s} ${c?"folder-card--selected":""} ${l?"folder-card--has-download":""}`,onClick:p,onKeyDown:y,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(Fs,{inputProperties:{id:h,checked:c,onChange:a},color:"#33A1DD",size:"small"})}),t.jsx("div",{className:"folder-card__icon-container",children:r?t.jsx("div",{className:"folder-card__custom-icon",children:r}):t.jsx("div",{className:`${l?"folder-card__default-icon":"folder-card__default-icon-hover"}`,children:t.jsx(ks,{width:"60px"})})}),t.jsx("div",{className:"folder-card__title",style:{width:"70px",fontSize:o},children:g})]})};Xo.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 Jo=({onClick:e,className:s="",icon:r,isClickable:i=!0,fontSize:o,isSelected:l=!1,data:a})=>{const{id:c,title:d}=a,h=()=>{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":""} ${s}`,onClick:h,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:r?t.jsx("div",{className:"folder-card-minimized__custom-icon",children:r}):t.jsx("div",{className:"folder-card-minimized__default-icon",children:t.jsx(ks,{width:"32px"})})}),t.jsx("div",{className:"folder-card-minimized__title",style:{fontSize:o},children:d})]})};Jo.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:s=8})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,fill:"none",children:t.jsx("circle",{cx:s/2,cy:s/2,r:s/2-.5,fill:e})});el.propTypes={color:n.string,size:n.number};const tl=({width:e=3,height:s=12,color:r="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:s,fill:"none",viewBox:"0 0 3 12",children:t.jsx("path",{fill:r,stroke:r,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:s=8,color:r="red"})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:s,fill:"none",viewBox:"0 0 8 8",children:t.jsx("path",{fill:r,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 sl=({className:e="",hasAlerts:s=!1,children:r,hasError:i=!1,...o})=>{const c=["state",e,s?"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:r}),s&&t.jsx("div",{className:"state__alert",children:t.jsx(tl,{color:"red",width:"80%"})})]})};sl.propTypes={className:n.string,hasAlerts:n.bool,hasError:n.bool,children:n.node.isRequired};const rl=({children:e,count:s,className:r,classNameCount:i})=>t.jsxs("div",{className:`count-card ${r}`,children:[e,t.jsx("span",{className:`count-card__count ${i}`,children:s})]});rl.propTypes={children:n.node,count:n.number||n.string,className:n.string,classNameCount:n.string};const il=({totalPages:e=50,currentPage:s=1,onChange:r,nextLabel:i,prevLabel:o,height:l,disabled:a,fontSize:c})=>{const d=u=>{u>0&&u<=e&&r(u)},h=()=>{s<e&&r(s+1)},g=()=>{s>1&&r(s-1)},y=[],x=Math.max(1,s-4),b=Math.min(e,x+9-1);for(let u=x;u<=b;u++)y.push(u);if(s>e-4){y.length=0;for(let u=e-9+1;u<=e;u++)u>0&&y.push(u)}return t.jsx("nav",{className:"pagination",children:t.jsxs("ul",{className:"pagination-list",children:[s>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:"..."})]}),y.map(u=>t.jsx("li",{className:`pagination-link ${s===u?"active":""} ${a?"disabled":""}`,onClick:()=>a?null:d(u),style:{height:l,fontSize:c},children:u},u)),b<e&&t.jsxs(t.Fragment,{children:[b<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})]}),s<e&&t.jsxs("li",{className:`pagination-next ${a?"disabled":""}`,onClick:a?null:h,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 nr=Fe(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"),sr=Fe(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=Fe(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"),rr={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"},ir={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"},ct=e=>{e instanceof Date||(e=new Date(e));const s=String(e.getDate()).padStart(2,"0"),r=String(e.getMonth()+1).padStart(2,"0"),i=e.getFullYear();return{formatDDMMYYYY:`${s}-${r}-${i}`,formatMMDDYYYY:`${r}-${s}-${i}`,formatYYYYMMDD:`${i}-${r}-${s}`,originalFormat:e}},ll=(e,s,r)=>{if(!s||r<=0)return!1;const i=new Date(s);return i.setMonth(i.getMonth()+r),i.setDate(i.getDate()-1),e>i},J0=({locale:e="es",disablePastDates:s,onDateRangeChange:r,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,h]=v.useReducer(m=>m+1,0),g=e==="es"?rr:ir,[p,y]=v.useState(null),[x,b]=v.useState(null),[u,w]=v.useState(null),[T,A]=v.useState(new Date),[M,S]=v.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[j,I]=v.useState(!1),U=(m,E)=>{const R=new Date;if(R.setHours(0,0,0,0),c){const P=new Date(R);if(P.setDate(R.getDate()+c),m>P)return!0}return E&&s&&m<R||!E&&a&&m>R||s&&m<R||a&&m>R?!0:l>0&&p?ll(m,p,l):!1},$=m=>{const E=m.getFullYear(),R=m.getMonth(),z=new Date(E,R,1).getDay(),D=new Date(E,R+1,0),H=[],W=new Date(E,R,0).getDate();for(let Q=z-1;Q>=0;Q--)H.push(new Date(E,R-1,W-Q));for(let Q=1;Q<=D.getDate();Q++)H.push(new Date(E,R,Q));const Y=42-H.length;for(let Q=1;Q<=Y;Q++)H.push(new Date(E,R+1,Q));return H},q=m=>!p||!x?!1:m>=p&&m<=x,f=m=>!p||!u?!1:m>=p&&m<=u||m<=p&&m>=u,L=m=>{!p||x?(y(m),b(null)):m<p?(b(p),y(m),i&&k(m,p)):(b(m),i&&k(p,m))},_=m=>{w(m)},F=()=>!p||!x?0:Math.round((x.getTime()-p.getTime())/(1e3*60*60*24))+1,Z=(m,E)=>{const R=new Date(m.getFullYear(),m.getMonth()-1,1);s&&R<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&E||(E?A(R):(S(R),R.getMonth()===T.getMonth()&&A(new Date(R.getFullYear(),R.getMonth()-1,1))))},K=(m,E)=>{const R=new Date(m.getFullYear(),m.getMonth()+1,1);E?(A(R),R.getMonth()===M.getMonth()&&S(new Date(R.getFullYear(),R.getMonth()+1,1))):S(R)},ee=m=>{const R=m.toLocaleDateString(g.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),P=R[0].charAt(0).toUpperCase()+R[0].slice(1),z=R[1],D=R[2].charAt(0).toUpperCase()+R[2].slice(1),H=R[3];return`${P} ${z} de ${D} ${H}`},G=()=>{const m=new Date;y(null),b(null),A(m),S(new Date(new Date().setMonth(new Date().getMonth()+1))),I(!1),o({startDate:null,endDate:null}),h()},O=()=>{I(!1);const m=ct(p),E=ct(x);r({startDate:m,endDate:E})},k=(m,E)=>{y(m),b(E),I(!1);const R=ct(m),P=ct(E);r({startDate:R,endDate:P})};return{isOpen:j,endDate:x,language:g,leftMonth:T,startDate:p,setIsOpen:I,hoverDate:u,rightMonth:M,formatDate:ee,handleSearch:O,handleCancel:G,isDateInRange:q,getDaysInMonth:$,isDateDisabled:U,handleDateClick:L,handleDateHover:_,handlePrevClick:Z,handleNextClick:K,getDaysSelected:F,isDateInHoverRange:f,keyReset:d,resetSelect:h}},An=(e,s,r,i)=>{if(!r||i<=0)return!1;const o=new Date(r);o.setMonth(o.getMonth()+i),o.setDate(o.getDate()-1);const l=new Date(r);return l.setDate(1),s?e<l:e>o},al=({locale:e="es",onDateRangeChange:s,disablePastDates:r,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:h,disableFutureDates:g,withoutSearchButton:p,disablePastDaysCount:y,value:x})=>{const{keyReset:b,isOpen:u,endDate:w,language:T,leftMonth:A,startDate:M,setIsOpen:S,rightMonth:j,formatDate:I,handleSearch:U,handleCancel:$,isDateInRange:q,getDaysInMonth:f,isDateDisabled:L,handleDateClick:_,handleDateHover:F,handlePrevClick:Z,handleNextClick:K,getDaysSelected:ee,isDateInHoverRange:G}=J0({locale:e,onReset:l,onDateRangeChange:s,disablePastDates:r,withoutSearchButton:p,limitRange:i,disableFutureDates:g,disablePastDaysCount:y}),O=(x==null?void 0:x.startDate)instanceof Date?x.startDate:M,k=(x==null?void 0:x.endDate)instanceof Date?x.endDate:w,m=v.useRef(null);v.useEffect(()=>{const R=P=>{m.current&&!m.current.contains(P.target)&&u&&(S(!1),o||$())};return document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[w,$,u,S,M,o]);const E=(R,P=!0)=>{const z=f(R),D=R.getMonth(),H=(B,Y)=>[B&&B.getMonth()!==D?"other-month":"",B&&q(B)?"in-range":"",B&&G(B)?"hover-range":"",B&&(B.getTime()===(O==null?void 0:O.getTime())||B.getTime()===(k==null?void 0:k.getTime()))?"selected":"",L(B,Y)?"disabled":""].join(" "),W=({date:B,isLeftCalendar:Y,disablePastDates:Q,leftMonth:se})=>{const J=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),he=new Date(B.getFullYear(),B.getMonth()-1,1).getTime();return!!(Q&&(he<J||!Y&&new Date(se.getFullYear(),se.getMonth(),1).getTime()<=J))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>Z(R,P),disabled:An(new Date(R.getFullYear(),R.getMonth()-1,1),!0,M,i)||W({date:R,isLeftCalendar:P,disablePastDates:r,leftMonth:A}),children:t.jsx("span",{className:"sr-only",children:t.jsx(nr,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[T.MONTHS[R.getMonth()],t.jsx("p",{children:R.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>K(R,P),disabled:An(new Date(R.getFullYear(),R.getMonth()+1,1),!1,M,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(sr,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),T.DAYS.map(B=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:B},B)),z.map((B,Y)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${H(B,P)}`,disabled:!B||L(B),onClick:()=>B&&!L(B)&&_(B),onMouseEnter:()=>B&&!L(B)&&F(B),onMouseLeave:()=>F(null),children:t.jsx("span",{className:`day-text ${B?"":"text-muted"}`,style:{fontSize:d},children:B?B.getDate():""})})},`${B}_${Y}`))]})]})};return v.useEffect(()=>{b&&$()},[b]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:m,children:[t.jsx("button",{className:`date-picker-toggle ${h?"disabled":""}`,disabled:h,onClick:()=>S(!u),children:O&&k?t.jsxs("div",{className:"container-formate",children:[t.jsxs("p",{className:`p-formate-date ${h?"disabled":""}`,style:{borderRight:"1px solid #9c9ca0"},children:[I(O)," ",t.jsx(ol,{sx:{color:"#9c9ca0"},style:{width:"15px",marginLeft:"5px"}})]}),t.jsxs("p",{className:`p-formate-date ${h?"disabled":""}`,children:[I(k),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 ${h?"disabled":""}`,style:{height:"34px",fontSize:d},children:T.selectRange}),t.jsx(Vi,{width:"10%",height:"50%"})]})}),u&&t.jsx("div",{className:"square"}),u&&t.jsx("div",{className:"container-triangle",children:t.jsx("div",{className:"triangle",children:t.jsx("div",{className:"triangle-blur"})})}),u&&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(A,!0),E(j,!1)]}),!p&&t.jsx("div",{className:"date-picker-footer",children:O&&k&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[ee()," ",T.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(On,{buttonProperties:{onClick:()=>$(),style:{width:"115px",textAlign:"center"}},children:T.cancel}),t.jsx(Ye,{buttonProperties:{onClick:()=>U(),style:{width:"115px",textAlign:"center"}},children:T.search})]})]})})]})]}),O&&k&&o&&t.jsx("button",{className:"button-reset",onClick:()=>$(),children:t.jsx(kn,{})})]})};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:s,disableBusinessDays:r})=>{const i=new Date;if(i.setHours(0,0,0,0),s&&e<i)return!1;if(r&&typeof r=="number"&&r>0){let o=new Date(i),l=0;for(;l<r;){o.setDate(o.getDate()+1);const a=o.getDay();a!==0&&a!==6&&l++}if(e<o)return!1}return!0},eu=e=>{const s=new Date;s.setHours(0,0,0,0);const r=new Date(s);r.setDate(s.getDate()+1);const i=new Date(s);return i.setDate(s.getDate()+2),e.getTime()===s.getTime()||e.getTime()===r.getTime()||e.getTime()===i.getTime()},tu=(e,s)=>{const r=new Date(s);return r.setHours(0,0,0,0),e.getTime()<=r.getTime()},nu="America/Bogota",su=16,ru=3,iu=4,dl=0,ul=6,ou=()=>{const e=new Date().toLocaleString("en-US",{timeZone:nu});return new Date(e)},lu=(e,s)=>{const r=s??ou(),o=r.getHours()<su?ru:iu;let l=0;const a=new Date(r);for(a.setDate(a.getDate()+1);l<o;){const g=a.getDay();g!==dl&&g!==ul&&l++,a.setDate(a.getDate()+1)}for(;a.getDay()===dl||a.getDay()===ul;)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},au=e=>{let s=0,r=new Date;for(r.setHours(0,0,0,0),r.setDate(r.getDate()+1);s<5;){const i=r.getDay();i!==0&&i!==6&&s++,r.setDate(r.getDate()+1)}for(;r.getDay()===0||r.getDay()===6;)r.setDate(r.getDate()+1);return e<r},cu=e=>e.getDay()===0||e.getDay()===6,du=(e,s)=>{const r=new Date(s);r.setHours(0,0,0,0);let i=new Date(r);do i.setDate(i.getDate()+1);while(i.getDay()===0||i.getDay()===6);return e.getTime()<=i.getTime()},uu=({locale:e="es",onDateChange:s,onChangeFunction:r,disablePastDates:i,disableBusinessDays:o,disableNextTwoDays:l,disableSpecificDate:a,disableDaysBasedOnTime:c,disableFiveBusinessDays:d,disableWeekends:h,disableNextBusinessDayAfter:g,hourDisableDaysBasedOnHour:p,id:y})=>{const x=e==="es"?rr:ir,[b,u]=v.useState(new Date),[w,T]=v.useState(new Date),[A,M]=v.useState(!1),[S,j]=v.useState(null),I=v.useRef(null),U=G=>{const O=G.getFullYear(),k=G.getMonth(),E=new Date(O,k,1).getDay(),R=new Date(O,k+1,0),P=[],z=new Date(O,k,0).getDate();for(let W=E-1;W>=0;W--)P.push(new Date(O,k-1,z-W));for(let W=1;W<=R.getDate();W++)P.push(new Date(O,k,W));const H=42-P.length;for(let W=1;W<=H;W++)P.push(new Date(O,k+1,W));return P};v.useEffect(()=>{if(o&&typeof o=="number"&&o>0){let G=new Date;G.setHours(0,0,0,0);let O=new Date(G),k=0;for(;k<o;){O.setDate(O.getDate()+1);const m=O.getDay();m!==0&&m!==6&&k++}O.getMonth()>G.getMonth()&&T(O)}},[i,o]);const $=v.useMemo(()=>G=>G?i&&!cl(G,{disablePastDates:i})||o&&!cl(G,{disableBusinessDays:o})||l&&eu(G)||a&&tu(G,new Date(a))||c&&lu(G,p)||d&&au(G)||h&&cu(G)||g&&du(G,g):!1,[i,o,l,a,c,d,h,g,p]),q=G=>{const O=new Date,k=new Date(O.getFullYear(),O.getMonth(),1).setHours(0,0,0,0);if(i&&G<k)return!0;if(a){const m=new Date(a).setHours(0,0,0,0);return G<m}return!1},f=G=>b&&G.getTime()===b.getTime(),L=G=>{const O=G.getMonth(),k=w.getMonth();O!==k&&T(new Date(G.getFullYear(),O,1)),j(Z(G)),u(G);const m=ct(G);s&&s(m),r&&r({id:y,date:m}),M(!1)},_=G=>{const O=new Date(G.getFullYear(),G.getMonth()-1,1),k=new Date;k.setHours(0,0,0,0),!(i&&O<new Date(k.getFullYear(),k.getMonth(),1))&&T(O)},F=G=>{const O=new Date(G.getFullYear(),G.getMonth()+1,1);T(O)},Z=G=>{const k=G.toLocaleDateString(x.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),m=k[0].charAt(0).toUpperCase()+k[0].slice(1),E=k[1],R=k[2].charAt(0).toUpperCase()+k[2].slice(1),P=k[3];return`${m} ${E} de ${R} ${P}`},K=()=>{u(new Date),M(!1)},ee=()=>{M(!1),s&&s(b),r&&r({id:y,date:b})};return v.useEffect(()=>{const G=O=>{I.current&&!I.current.contains(O.target)&&M(!1)};return document.addEventListener("mousedown",G),()=>{document.removeEventListener("mousedown",G)}},[I]),{date:S,isOpen:A,setDate:j,language:x,leftMonth:w,setIsOpen:M,formatDate:Z,setLeftMonth:T,handleSearch:ee,disablePrev:q,handleCancel:K,selectedDate:b,isDateInRange:f,datePickerRef:I,getDaysInMonth:U,isDateDisabled:$,handlePrevClick:_,handleNextClick:F,handleDateClick:L,setSelectedDate:u}},hl=({label:e,error:s,locale:r,disabled:i,size:o="180px",onDateChange:l,onChangeFunction:a,disableWeekends:c,keyResetCalendar:d,disablePastDates:h,disableNextTwoDays:g,disableSpecificDate:p,disableBusinessDays:y,disableDaysBasedOnTime:x,disableFiveBusinessDays:b,disableNextBusinessDayAfter:u,hourDisableDaysBasedOnHour:w,heightBoxes:T="40px",labelText:A,subLabelText:M,id:S,value:j,fontSize:I})=>{const{date:U,isOpen:$,setDate:q,language:f,leftMonth:L,setIsOpen:_,disablePrev:F,isDateInRange:Z,getDaysInMonth:K,isDateDisabled:ee,handleDateClick:G,handlePrevClick:O,handleNextClick:k,datePickerRef:m,setSelectedDate:E,setLeftMonth:R,selectedDate:P}=uu({locale:r,onDateChange:l,onChangeFunction:a,disableWeekends:c,disablePastDates:h,disableBusinessDays:y,disableNextTwoDays:g,disableSpecificDate:p,disableDaysBasedOnTime:x,disableFiveBusinessDays:b,disableNextBusinessDayAfter:u,hourDisableDaysBasedOnHour:w,id:S}),z=j instanceof Date?j:void 0,D=W=>{if(!W)return null;const Y=W.toLocaleDateString(f.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),Q=Y[0].charAt(0).toUpperCase()+Y[0].slice(1),se=Y[1],J=Y[2].charAt(0).toUpperCase()+Y[2].slice(1),he=Y[3];return`${Q} ${se} de ${J} ${he}`};v.useEffect(()=>{q(null),E(null)},[d,q,E]),v.useEffect(()=>{if(z){(L.getMonth()!==z.getMonth()||L.getFullYear()!==z.getFullYear())&&R(new Date(z.getFullYear(),z.getMonth(),1));const W=new Date(z.getFullYear(),z.getMonth(),z.getDate()),B=P?new Date(P.getFullYear(),P.getMonth(),P.getDate()):null;(!B||W.getTime()!==B.getTime())&&E(W)}},[z,L,P,R,E]);const H=W=>{const B=K(W),Y=W.getMonth(),Q=se=>{const J=!!z&&se&&se.getFullYear()===z.getFullYear()&&se.getMonth()===z.getMonth()&&se.getDate()===z.getDate();return[se&&se.getMonth()!==Y?"other-month":"",se&&(Z(se)||J)?"selected":"",ee(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:()=>O(W),disabled:F(new Date(W.getFullYear(),W.getMonth()-1,1)),children:t.jsx("span",{className:"sr-only",children:t.jsx(nr,{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:()=>k(W),children:t.jsx("span",{className:"sr-only",children:t.jsx(sr,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${T})`},children:[t.jsx("div",{className:"background-days"}),f.DAYS.map(se=>t.jsx("div",{className:"calendar-day-header",children:se},se)),B.map((se,J)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${Q(se)}`,disabled:!se||ee(se),onClick:()=>se&&!ee(se)&&G(se),children:t.jsx("span",{className:`day-text ${se?"":"text-muted"}`,children:se?se.getDate():""})})},`${se}_${J}`))]})]})};return t.jsxs("div",{className:"single-date-picker-container relative",ref:m,children:[t.jsx(et,{label:z?D(z):U??e,onchange:()=>{},options:[],size:o,isOpen:$,setIsOpen:_,error:s,disabledClickOutside:!0,disabled:i,keyReset:d,Icon:wi,labelText:A,subLabelText:M,fontSizeLabel:I,withoutOptions:!0}),$&&t.jsx("div",{className:"date-picker-dropdown date-picker-individual",children:t.jsx("div",{className:"calendars-wrapper",children:H(L)})})]})};hl.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:s,linkText:r,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:s})]}),i]}),t.jsx("div",{className:"line-grey"}),t.jsxs("div",{className:"info-action-card__action",children:[t.jsx("button",{children:r}),t.jsx(gs,{})]})]})};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 or=e=>e.map(s=>({id:s.id,title:s.title,optionsSelect:[]})),hu=(e,s)=>{const[r,i]=v.useState([]),[o,l]=v.useState(or(e)),[a,c]=v.useState(!1),d=v.useRef(null),h=v.useRef(!1),g=w=>{const T={};return e.forEach(A=>{const M=w.find(S=>S.id===A.id);M?T[A.id]={value:M.optionsSelect.map(S=>S.id),allData:M.optionsSelect}:T[A.id]={value:[],allData:[]}}),T},p=w=>{i(T=>T.includes(w)?T.filter(A=>A!==w):[...T,w])},y=(w,T)=>{h.current=!0,l(A=>{var $;const M=A.findIndex(q=>q.id===w);let S=[...A],j=[];const I=e.find(q=>q.id===w)||{};if(I.multiple!==!1)if(M===-1)j=[T],S.push({id:w,title:I.title||"",optionsSelect:j});else{const q=A[M].optionsSelect;q.some(L=>L.id===T.id)?j=q.filter(L=>L.id!==T.id):j=[...q,T],j.length===0?S.splice(M,1):(j.sort((L,_)=>{var F;return(F=L.label)==null?void 0:F.localeCompare(_.label)}),S[M].optionsSelect=j)}else if(M===-1||(($=A[M].optionsSelect[0])==null?void 0:$.id)!==T.id?j=[T]:j=[],j.length===0)M>-1&&S.splice(M,1);else{const q={id:w,title:I.title||"",optionsSelect:j};M===-1?S.push(q):S[M]=q}if(s){const q=g(S);s(q)}return S})},x=()=>{h.current=!0;const w=or(e);if(l(w),s){const T=g(w);s(T)}},b=v.useCallback(w=>{h.current=!0,l(w)},[]),u=()=>o.reduce((w,T)=>w+T.optionsSelect.length,0);return v.useEffect(()=>{h.current||l(or(e))},[e]),v.useEffect(()=>{const w=T=>{d.current&&!d.current.contains(T.target)&&c(!1)};return document.addEventListener("mousedown",w),()=>document.removeEventListener("mousedown",w)},[]),{expandedSections:r,selectedFilters:o,toggleSection:p,toggleFilter:y,clearAllFilters:x,open:a,setOpen:c,getLengthFilters:u,filterRef:d,setSelectedFilters:b}},In=(e,s)=>{var r;return s?typeof e=="object"&&!Array.isArray(e)?(r=Object.values(e))==null?void 0:r.flat():Array.isArray(e)?e:[]:Array.isArray(e)?e:[]},fu=(e,s)=>s||Array.isArray(e)?e:[],pl=({data:e=[],onChange:s,disabled:r,keyRest:i,value:o,fontSizeLabel:l="0.8vw",fontSizeTitles:a,fontSizeSelects:c="0.8vw",widthFilterComponent:d="380px",heightFilterComponent:h="400px",right:g="0",top:p="0"})=>{const{open:y,setOpen:x,toggleFilter:b,toggleSection:u,selectedFilters:w,clearAllFilters:T,getLengthFilters:A,expandedSections:M,filterRef:S,setSelectedFilters:j}=hu(e,s),[I,U]=v.useState({}),[$,q]=v.useState({}),f=v.useRef({}),L=v.useRef(!0),_=132,F=220,Z=k=>{U(m=>({...m,[k]:!m[k]}))};v.useEffect(()=>{e.forEach(k=>{(k.selectAll||k.basicSelect)&&!(M!=null&&M.includes(k==null?void 0:k.id))&&u(k==null?void 0:k.id)})},[e,M,u]);const K=(k,m,E,R)=>{const P=E==null?void 0:E.filter(D=>R.includes(D.id)),z=o!==void 0?o:w;j(()=>{const D=z==null?void 0:z.findIndex(W=>(W==null?void 0:W.id)===k);let H=[...z];if(P.length===0)D>-1&&H.splice(D,1);else{const W={id:k,title:m,optionsSelect:P};D===-1?H.push(W):H[D]=W}if(s){const W={};e.forEach(B=>{if((B==null?void 0:B.id)===k)W[B==null?void 0:B.id]={value:R,allData:P};else{const Y=H==null?void 0:H.find(Q=>(Q==null?void 0:Q.id)===(B==null?void 0:B.id));Y&&Y.optionsSelect.length>0?W[B==null?void 0:B.id]={value:Y.optionsSelect.map(Q=>Q.id),allData:Y.optionsSelect}:W[B==null?void 0:B.id]={value:[],allData:[]}}}),s(W)}return H})},ee=(k,m,E,R)=>{const P=E==null?void 0:E.find(D=>D.value===R||D.label===R),z=o!==void 0?o:w;j(()=>{const D=z==null?void 0:z.findIndex(W=>(W==null?void 0:W.id)===k);let H=[...z];if(!P)D>-1&&H.splice(D,1);else{const W={id:k,title:m,optionsSelect:[P]};D===-1?H.push(W):H[D]=W}if(s){const W={};e.forEach(B=>{if((B==null?void 0:B.id)===k)W[B==null?void 0:B.id]={value:R,allData:P?[P]:[]};else{const Y=H==null?void 0:H.find(Q=>(Q==null?void 0:Q.id)===(B==null?void 0:B.id));Y&&Y.optionsSelect.length>0?W[B==null?void 0:B.id]={value:Y.optionsSelect.map(Q=>Q.value||Q.id),allData:Y.optionsSelect}:W[B==null?void 0:B.id]={value:[],allData:[]}}}),s(W)}return H})};v.useEffect(()=>{const k={};M==null||M.forEach(m=>{const E=f.current[m];E&&E.scrollHeight>_&&(k[m]=!0)}),q(k)},[M,e]);const G=o!==void 0?o:w;v.useEffect(()=>{if(L.current){L.current=!1;return}j(o===void 0?[]:o)},[i,j,o]),v.useEffect(()=>{o!==void 0&&!L.current&&j(o)},[o,j]);const O=o!==void 0?G==null?void 0:G.reduce((k,m)=>{var E;return k+((E=m==null?void 0:m.optionsSelect)==null?void 0:E.length)},0):A();return t.jsxs("div",{className:"toggle-filter-component",ref:S,children:[t.jsxs("button",{className:"reset-styles-button center-flex relative button-filter-component",disabled:r,onClick:()=>x(!y),style:{fontSize:a},children:["Filtro ",O?`(${O})`:"",t.jsx(Oi,{})]}),y&&t.jsxs("div",{className:"filter-container-component",style:{width:d,height:h,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?G.reduce((m,E)=>{var R;return m+((R=E==null?void 0:E.optionsSelect)==null?void 0:R.length)},0):A())>0&&t.jsxs("button",{className:"clear-all",onClick:T,style:{fontSize:a},children:["Borrar todo",t.jsx(js,{width:"15px",height:"15px"})]}),t.jsx(gt,{sx:{color:"#8598ad"},style:{width:"14px",height:"14px"},onClick:()=>x(!y)})]})]}),e.map(({id:k,title:m,options:E,selectAll:R,basicSelect:P,placeholderInput:z,label:D,textSelectAll:H,grouped:W,disabledSection:B})=>{var Y,Q,se,J,he,le;return t.jsxs("div",{className:"filter-section",children:[t.jsxs("button",{className:"section-header",onClick:()=>!(R||P)&&u(k),style:{cursor:R||P?"default":"pointer"},children:[t.jsxs("span",{className:"section-header-title",style:{fontSize:l},children:["Por ",m]}),!(R||P)&&(M==null?void 0:M.includes(k))&&t.jsx("span",{className:"filter-container-icon",children:t.jsx(Gs,{isOpen:M==null?void 0:M.includes(k),onChange:()=>{},color:"#8598AD",padding:"2px",display:"flex",height:"auto",width:"auto"})})]}),(M==null?void 0:M.includes(k))&&t.jsx(t.Fragment,{children:R?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(Vs,{data:fu(E,W),grouped:W||!1,label:D||m,maxheight:"200px",onChange:fe=>{K(k,m,In(E,W),fe)},placeholderSearch:z||`Buscar ${m==null?void 0:m.toLowerCase()}`,textSelectAll:H||`Todos los ${m==null?void 0:m.toLowerCase()}`,width:"100%",widthDropdown:"100%",isRelative:!0,selectedValues:((Q=(Y=G.find(fe=>(fe==null?void 0:fe.id)===k))==null?void 0:Y.optionsSelect)==null?void 0:Q.map(fe=>fe.id))||[],fontSizeLabel:l,disabled:B,fontSizeOptions:c})}):P?t.jsx("div",{style:{padding:"8px 15px"},children:t.jsx(et,{label:D||m,options:In(E,W),onchange:fe=>{ee(k,m,In(E,W),fe.value)},placeholderInputSearch:z||`Buscar ${m==null?void 0:m.toLowerCase()}`,size:"100%",value:((he=(J=(se=G==null?void 0:G.find(fe=>(fe==null?void 0:fe.id)===k))==null?void 0:se.optionsSelect)==null?void 0:J[0])==null?void 0:he.value)||"",position:"relative",fontSizeLabel:l,disabled:B,fontSizeOptions:c})}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"section-content",ref:fe=>f.current[k]=fe,style:$[k]?I[k]?{maxHeight:F,overflowY:"scroll"}:{maxHeight:_,overflow:"hidden"}:{},children:(le=In(E,W))==null?void 0:le.map(fe=>{const _e=G==null?void 0:G.some(ke=>{var Pe;return(ke==null?void 0:ke.id)===k&&((Pe=ke==null?void 0:ke.optionsSelect)==null?void 0:Pe.some(ce=>ce.id===fe.id))});return t.jsx(tr,{height:"27px",onChange:()=>b(k,fe),isSelect:_e,children:fe.label},fe.id)})}),t.jsx("div",{style:{display:"flex",justifyContent:"end",padding:"0 8%",marginTop:"10px"},children:($==null?void 0:$[k])&&t.jsx("button",{className:"view-more",onClick:()=>Z(k),children:I[k]?"Ver menos":"Ver más"})})]})})]},k)})]})]})};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:s,linkText:r,icon:i,fnNavigate:o,width:l,fnDownload:a,gapTitleDescription:c,height:d,hasDownloadButton:h,fontSizeTitle:g,fontSizeDescription:p,fontSizeButton:y,textButton:x,widthButton:b="7.5vw",id:u})=>t.jsxs("section",{id:"info-action-card-download-template",className:"info-action-card",style:{width:l,height:d},onClick:()=>o(u),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:s})]}),t.jsx("div",{className:"info-action-card__content__icon",children:i})]}),h&&t.jsx(Ys,{buttonProperties:{disabled:!1,onClick:()=>a(),style:{minHeight:"32px",width:b,marginLeft:"10px",fontSize:y,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:r}),t.jsx(gs,{})]})})]});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:s,mainData:r,news:i,width:o,height:l,onChange:a,isSelected:c,value:d,disabled:h,keyReset:g,heightTitleFilter:p="20px",color:y="#575EE0"})=>{const[x,b]=v.useState({isSelected:c||!1,value:d||null}),u=A=>d===A.title,w=({item:A,from:M})=>{const S={isSelected:x.value!==A.title,value:x.value===A.title?null:A.title};b(S),a({item:A,from:M,title:s,selected:S.value,isSelected:S.isSelected})};v.useEffect(()=>{b({isSelected:!1,value:null})},[g]);const T=A=>!!(Number(A.quantity)===0||h);return t.jsxs("div",{className:"ProcessFilter",style:{width:o,height:l,borderColor:y},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:y},children:s})]}),t.jsx("div",{className:"ProcessFilter-statsWrapper",children:t.jsx(Ii,{})})]}),t.jsx("div",{className:"ProcessFilter-mainData",children:r.map(A=>t.jsxs("div",{onClick:()=>T(A)?null:w({item:A,from:"main"}),className:`ProcessFilter-item-wrapper ${u(A)?"selected":""} ${T(A)?"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:A.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:A.quantity})]},A.id))}),i.length>0&&t.jsxs("div",{className:"",children:[t.jsxs("h3",{className:"ProcessFilter-newsTitle",children:["Novedades (",i.reduce((A,M)=>A+(parseInt(M.quantity)||0),0),")"]}),i.map(A=>t.jsxs("div",{onClick:()=>T(A)?null:w({item:A,from:"news"}),className:`ProcessFilter-item-wrapper ${u(A)?"selected":""} ${T(A)?"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:A.title})]}),t.jsx("span",{className:"ProcessFilter-item-quantity",children:A.quantity})]},A.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 pu=({locale:e="es",disablePastDates:s,onDateRangeChange:r,withoutSearchButton:i=!1,onReset:o,limitRange:l,disableFutureDates:a,disablePastDaysCount:c})=>{const[d,h]=v.useState(!1),[g,p]=v.useReducer(P=>P+1,0),y=e==="es"?rr:ir,[x,b]=v.useState(null),[u,w]=v.useState(null),[T,A]=v.useState(null),[M,S]=v.useState(new Date),[j,I]=v.useState(new Date(new Date().setMonth(new Date().getMonth()+1))),[U,$]=v.useState(!1),q=(P,z)=>{const D=new Date;if(D.setHours(0,0,0,0),c){const H=new Date(D);if(H.setDate(D.getDate()-c),P<H||P>D)return!0}return z&&s&&P<D||!z&&a&&P>D||s&&P<D||a&&P>D?!0:l>0&&x?ll(P,x,l):!1},f=P=>{const z=P.getFullYear(),D=P.getMonth(),W=new Date(z,D,1).getDay(),B=new Date(z,D+1,0),Y=[],Q=new Date(z,D,0).getDate();for(let he=W-1;he>=0;he--)Y.push(new Date(z,D-1,Q-he));for(let he=1;he<=B.getDate();he++)Y.push(new Date(z,D,he));const J=42-Y.length;for(let he=1;he<=J;he++)Y.push(new Date(z,D+1,he));return Y},L=P=>!x||!u?!1:P>=x&&P<=u,_=P=>!x||!T?!1:P>=x&&P<=T||P<=x&&P>=T,F=P=>{!x||u?(b(P),w(null)):P<x?(w(x),b(P),i&&E(P,x)):(w(P),i&&E(x,P))},Z=P=>{A(P)},K=()=>!x||!u?0:Math.round((u.getTime()-x.getTime())/(1e3*60*60*24))+1,ee=(P,z)=>{const D=new Date(P.getFullYear(),P.getMonth()-1,1);s&&D<new Date(new Date().getFullYear(),new Date().getMonth(),1)&&z||(z?S(D):(I(D),D.getMonth()===M.getMonth()&&S(new Date(D.getFullYear(),D.getMonth()-1,1))))},G=(P,z)=>{const D=new Date(P.getFullYear(),P.getMonth()+1,1);z?(S(D),D.getMonth()===j.getMonth()&&I(new Date(D.getFullYear(),D.getMonth()+1,1))):I(D)},O=P=>{const D=P.toLocaleDateString(y.code,{weekday:"short",day:"numeric",month:"short",year:"2-digit"}).split(" "),H=D[0].charAt(0).toUpperCase()+D[0].slice(1),W=D[1],B=D[2].charAt(0).toUpperCase()+D[2].slice(1),Y=D[3];return`${H} ${W} de ${B} ${Y}`},k=()=>{const P=new Date;b(null),w(null),S(P),I(new Date(new Date().setMonth(new Date().getMonth()+1))),$(!1),o({startDate:null,endDate:null}),p()},m=()=>{$(!1);const P=ct(x),z=ct(u);r({startDate:P,endDate:z}),h(!1)},E=(P,z)=>{b(P),w(z),$(!1);const D=ct(P),H=ct(z);r({startDate:D,endDate:H}),h(!1)};return{isOpen:U,endDate:u,language:y,leftMonth:M,startDate:x,setIsOpen:$,hoverDate:T,rightMonth:j,formatDate:O,handleSearch:m,handleCancel:k,isDateInRange:L,getDaysInMonth:f,isDateDisabled:q,handleDateClick:F,handleDateHover:Z,handlePrevClick:ee,handleNextClick:G,getDaysSelected:K,isDateInHoverRange:_,keyReset:g,resetSelect:p,handleBasicSelect:({value:P})=>{P==="custom"?(h(!0),$(!1)):r({value:P})},isOpenCalendar:d,setIsOpenCalendar:h}},yl=({locale:e="es",onDateRangeChange:s,disablePastDates:r,limitRange:i=0,resetButton:o=!0,onReset:l,direction:a="right",heightBoxes:c="40px",fontSize:d="0.92vw",disabled:h,disableFutureDates:g,optionsBasicSelect:p,withoutSearchButton:y,widthBasicSelect:x,fontSizeLabelBasicSelect:b,fontSizeOptionsBasicSelect:u,labelText:w,subLabelText:T,disablePastDaysCount:A,keyResetBasicSelect:M})=>{const{keyReset:S,isOpen:j,endDate:I,language:U,leftMonth:$,startDate:q,setIsOpen:f,rightMonth:L,handleSearch:_,handleCancel:F,isDateInRange:Z,getDaysInMonth:K,isDateDisabled:ee,handleDateClick:G,handleDateHover:O,handlePrevClick:k,handleNextClick:m,getDaysSelected:E,isDateInHoverRange:R,handleBasicSelect:P,isOpenCalendar:z,setIsOpenCalendar:D}=pu({locale:e,onReset:l,onDateRangeChange:s,disablePastDates:r,withoutSearchButton:y,limitRange:i,disableFutureDates:g,disablePastDaysCount:A}),H=v.useRef(null);v.useEffect(()=>{const B=Y=>{H.current&&!H.current.contains(Y.target)&&(j||z)&&(f(!1),D(!1),o||F())};return document.addEventListener("mousedown",B),()=>{document.removeEventListener("mousedown",B)}},[I,F,j,f,q,o,z,D]);const W=(B,Y=!0)=>{const Q=K(B),se=B.getMonth(),J=(le,fe)=>[le&&le.getMonth()!==se?"other-month":"",le&&Z(le)?"in-range":"",le&&R(le)?"hover-range":"",le&&(le.getTime()===(q==null?void 0:q.getTime())||le.getTime()===(I==null?void 0:I.getTime()))?"selected":"",ee(le,fe)?"disabled":""].join(" "),he=({date:le,isLeftCalendar:fe,disablePastDates:_e,leftMonth:ke})=>{const Pe=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),ce=new Date(le.getFullYear(),le.getMonth()-1,1).getTime();return!!(_e&&(ce<Pe||!fe&&new Date(ke.getFullYear(),ke.getMonth(),1).getTime()<=Pe))};return t.jsxs("div",{className:"calendar",children:[t.jsxs("div",{className:"calendar-header",children:[t.jsx("button",{className:"calendar-nav-button",onClick:()=>k(B,Y),disabled:An(new Date(B.getFullYear(),B.getMonth()-1,1),!0,q,i)||he({date:B,isLeftCalendar:Y,disablePastDates:r,leftMonth:$}),children:t.jsx("span",{className:"sr-only",children:t.jsx(nr,{style:{width:"15px"}})})}),t.jsxs("h2",{className:"calendar-title",children:[U.MONTHS[B.getMonth()],t.jsx("p",{children:B.getFullYear()})]}),t.jsx("button",{className:"calendar-nav-button",onClick:()=>m(B,Y),disabled:An(new Date(B.getFullYear(),B.getMonth()+1,1),!1,q,i)||g&&new Date(B.getFullYear(),B.getMonth(),1).getTime()>=new Date(new Date().getFullYear(),new Date().getMonth(),1).getTime(),children:t.jsx("span",{className:"sr-only",children:t.jsx(sr,{style:{width:"15px"}})})})]}),t.jsxs("div",{className:"calendar-grid",style:{gridTemplateColumns:`repeat(7, ${c})`},children:[t.jsx("div",{className:"background-days"}),U.DAYS.map(le=>t.jsx("div",{className:"calendar-day-header",style:{fontSize:d},children:le},le)),Q.map((le,fe)=>t.jsx("div",{className:"calendar-day-wrapper",children:t.jsx("button",{className:`calendar-day ${J(le,Y)}`,disabled:!le||ee(le),onClick:()=>le&&!ee(le)&&G(le),onMouseEnter:()=>le&&!ee(le)&&O(le),onMouseLeave:()=>O(null),children:t.jsx("span",{className:`day-text ${le?"":"text-muted"}`,style:{fontSize:d},children:le?le.getDate():""})})},`${le}_${fe}`))]})]})};return v.useEffect(()=>{M&&F()},[M]),v.useEffect(()=>{j&&D(!1)},[j]),t.jsxs("div",{className:"container-date-range-picker",children:[t.jsxs("div",{className:"date-range-picker",ref:H,style:{width:x},children:[t.jsx(et,{label:"Buscar por fecha",options:p,size:x,isOpen:j,setIsOpen:f,disabledClickOutside:!0,disabled:h,onchange:P,fontSizeLabel:b,fontSizeOptions:u,keyReset:S,labelText:w,subLabelText:T,sortAlphabetically:!1}),z&&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($,!0),W(L,!1)]}),!y&&t.jsx("div",{className:"date-picker-footer",children:q&&I&&t.jsxs("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},children:[t.jsxs("div",{className:"days-selected",children:[E()," ",U.days]}),t.jsxs("div",{className:"date-picker-actions",children:[t.jsx(On,{buttonProperties:{onClick:()=>F(),style:{width:"115px",textAlign:"center"}},children:U.cancel}),t.jsx(Ye,{buttonProperties:{onClick:()=>_(),style:{width:"115px",textAlign:"center"}},children:U.search})]})]})})]})]}),q&&I&&o&&t.jsx("button",{className:"button-reset",onClick:()=>F(),children:t.jsx(kn,{})})]})};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 xl=({width:e,menu:s,submenu:r,tab:i,navigateFn:o,fontSize:l,Icon:a,marginTop:c})=>{const d=()=>{o({submenu:r,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(Cn,{width:25,height:25})}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:s}),t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(Tn,{})})]}),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:r}),i&&t.jsx("li",{className:"list-none",style:{fontSize:l},children:t.jsx(Tn,{})}),i&&t.jsx("li",{className:"list-none color-tab",style:{fontSize:l},children:i})]})]})};xl.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 bl=({steps:e=[],currentStep:s=1,width:r="600px"})=>{const i=()=>e.length<=1?0:s/e.length*100;return t.jsxs("div",{className:"stepper-container",style:{width:r},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<s,d=a===s;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)})})]})};bl.propTypes={steps:n.array,currentStep:n.number,width:n.string};const vl=({width:e,items:s=[],onItemClick:r,fontSize:i,Icon:o,marginTop:l})=>{const a=(c,d)=>{r&&typeof r=="function"&&r(c,d)};return!s||s.length===0?null:t.jsx("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:l??"4px"},children:o||t.jsx(Cn,{width:25,height:25})}),s.map((c,d)=>{const h=d===s.length-1,g=(c==null?void 0:c.isClickable)!==!1&&!h,p=d===1;return t.jsxs("div",{className:"flex gap items-center",children:[t.jsx("li",{className:`list-none ${h?"color-tab":g||p?"pointer border-bottom":""}`,onClick:()=>g?a(c,d):null,style:{fontSize:i,cursor:g?"pointer":"default"},title:g?`Click to navigate to ${c.name||c}`:void 0,children:c.name||c}),!h&&t.jsx("li",{className:"list-none",style:{fontSize:i},children:t.jsx(Tn,{})})]},d)})]})})};vl.propTypes={width:n.string,items:n.arrayOf(n.oneOfType([n.string,n.shape({name:n.string.isRequired,path:n.string,id:n.oneOfType([n.string,n.number]),data:n.any})])).isRequired,onItemClick:n.func,fontSize:n.string,Icon:n.element,marginTop:n.string};const jl=({icon:e,title:s,className:r="",children:i})=>t.jsxs("div",{className:`data-section ${r}`,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:s})]}),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})})]});jl.propTypes={icon:n.elementType,title:n.string,className:n.string,children:n.oneOfType([n.node,n.arrayOf(n.node)])};const gu=Fe(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"),wl=({data:e,language:s,onSave:r,onCancel:i,isUpdate:o})=>{const[l,a]=v.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[s]??c.es,h=p=>{const y=l.filter((x,b)=>b!==p);a(y)},g=()=>{r(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(gt,{sx:{color:"#8598ad"}})})]}),t.jsx("div",{className:"modal-listAplication-content",children:l==null?void 0:l.map((p,y)=>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:()=>h(y),children:t.jsx(gu,{sx:{color:"#8598ad"}})})]}),t.jsx("p",{className:"application-manager",children:p.manager}),y<e.length-1&&t.jsx("hr",{})]},y))}),t.jsxs("div",{className:"modal-listAplication-footer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>i(),style:{width:"45%"}},children:d.cancel}),t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"45%"}},children:d.save})]})]})})};wl.propTypes={data:n.array,language:n.oneOf(["en","es"]),onSave:n.func,onCancel:n.func,isUpdate:n.bool};const kl=e=>e.toLocaleDateString("es-ES",{day:"numeric",month:"long",year:"numeric"}),Cl=({isOpen:e,ticketNumber:s="##000",date:r=new Date,setIsOpen:i,isReadOnly:o=!1,fontSize:l="1vw",fontSizeButton:a="0.8vw",fontSizeTicketNumber:c="1.3vw",width:d="40vw",onAccept:h,onCreateNewTicket:g,createNewTicket:p=!0})=>{if(!e)return null;const y=()=>i(!1),x=()=>{y(),h()},b=()=>{y(),g()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:d},children:[t.jsx("button",{onClick:y,className:"closeButton",children:t.jsx(gt,{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(Mn,{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:s})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:kl(r)})]})]})]}),t.jsxs("div",{className:"buttonContainer",style:{justifyContent:p?"space-between":"center"},children:[p&&t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>b(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>x(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})]})})};Cl.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 mu="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=",Sl=({onChange:e,handleClose:s})=>{const[r,i]=v.useState(!1),o=()=>{e(r),s()};return t.jsx("div",{className:"modal-overlay",children:t.jsxs("div",{className:"modal-VisualizationModaLogin",children:[t.jsx("img",{src:mu,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:s,children:t.jsx(gt,{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(Le.FormControlLabel,{control:t.jsx(Le.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(Ye,{buttonProperties:{disabled:!1,onClick:()=>{o()},style:{width:"40%"}},children:"ACEPTAR"})})]})]})]})})};Sl.propTypes={onChange:n.func,handleClose:n.func};const Tl=({isOpen:e,setIsOpen:s,width:r="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:h})=>{if(!e)return null;const g=()=>s(!1),p=()=>{s(!1),h()};return t.jsx("div",{className:"overlay",children:t.jsxs("div",{className:"modal-ticket-modal",style:{width:r},children:[t.jsx("button",{onClick:g,className:"closeButton",children:t.jsx(gt,{sx:{color:"#8598ad"}})}),t.jsxs("div",{className:"main-content",children:[t.jsx("div",{className:"iconContainer",children:t.jsx(vs,{})}),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(Ye,{buttonProperties:{disabled:!1,onClick:()=>p(),style:{width:"100%",fontSize:l}},children:d})})]})]})})};Tl.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 Ml=({title:e,icon:s,className:r="",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 ${r}`,children:[t.jsxs("div",{className:"observations-header",children:[s&&t.jsx(s,{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})})]});Ml.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 zl=({titles:e=["1. Cargar Datos de Cancelación","2. Validar los Datos Cargados","3. Aceptar o Rechazar"],currentStep:s=1,fontSizeTitles:r,widthIcon:i,heightIcon:o,width:l})=>{const a=[Pi,Ri,Wi],c=e.map((d,h)=>({number:h+1,title:d,icon:a[h]}));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:s===1?"0%":s===2?"52%":"100%"}})}),t.jsx("div",{className:"stepper-steps",children:c.map(d=>{const h=d.icon,g=s>=d.number;return t.jsxs("div",{className:`stepper-step ${g?"active":""}`,style:{height:o},children:[t.jsx("span",{className:"stepper-title",style:{fontSize:r},children:d.title},d.number),t.jsx("div",{className:"stepper-icon",style:{width:i,height:o},children:t.jsx(h,{})})]},d.number)})})]})};zl.propTypes={titles:n.arrayOf(n.string),currentStep:n.number,fontSizeTitles:n.string,widthIcon:n.string,heightIcon:n.string,width:n.string};const El=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-InProcessing",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(En,{fill:"#d0aa00"}),"En Procesamiento"]});El.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const Nl=({width:e,fontSize:s,marginAuto:r,height:i})=>t.jsxs("div",{className:"state-basic states-ToStart",style:{width:e,fontSize:s,margin:r?"auto":"",height:i},children:[t.jsx(En,{fill:"#7c92c5"}),"Por Iniciar"]});Nl.propTypes={width:n.string,fontSize:n.string,marginAuto:n.bool,height:n.string};const lr=(e,s="100px",r,i,o)=>({Activo:t.jsx(Ks,{width:s,fontSize:r,marginAuto:i,height:o}),Cancelada:t.jsx(Xs,{width:s,fontSize:r,marginAuto:i,height:o}),Finalizada:t.jsx(Js,{width:s,fontSize:r,marginAuto:i,height:o}),Inactivo:t.jsx(Qs,{width:s,fontSize:r,marginAuto:i,height:o}),"En Procesamiento":t.jsx(El,{width:s,fontSize:r,marginAuto:i,height:o}),"Por Iniciar":t.jsx(Nl,{width:s,fontSize:r,marginAuto:i,height:o}),"En tránsito":t.jsx(er,{width:s,fontSize:r,marginAuto:i,height:o})})[e]||e,Dl=({data:e,onEdit:s,width:r,dataKeysNotToRender:i=[],textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeight:d,onFnIcon:h,icon:g=t.jsx(ms,{}),widthState:p,onEditSubData:y,onFnIconSubData:x,subMessage:b,onClickOptions:u,onClickSubOptions:w,fontSizeTHead:T,fontSizeTBody:A,widthOptions:M,fontSizeOptions:S,nameOfKeyState:j="Estado",texAlignTHead:I="start",textAlignTBody:U="start",fontSizeState:$,fontStyleTBody:q="normal",fontStyleTHead:f="normal"})=>{const[L,_]=v.useState({}),F=O=>{_(k=>({...k,[O]:!k[O]}))},Z=O=>{s(O)},K=O=>{y(O)},ee=e.length>0?Object.keys(e[0]).filter(O=>O!=="subData"&&!i.includes(O)):[],G=O=>O!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{}),ee.map((O,k)=>t.jsx("th",{style:{fontSize:T,textAlign:I,fontStyle:f},children:O.replace(/_/g," ")},k)),ee.length>0?t.jsx("th",{style:{fontSize:T,textAlign:I,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:ee.length+1,style:{fontSize:c,textAlign:"center",fontStyle:q},children:a})}),e==null?void 0:e.map(O=>{var k;return t.jsxs(v.Fragment,{children:[t.jsxs("tr",{className:"main-row",children:[t.jsx("td",{children:t.jsx("button",{onClick:()=>F(O.id),className:"reset-styles-button",style:{width:"100%"},children:t.jsx("i",{className:`arrow-grey-container ${L[O.id]?"up":"down"}`})})}),ee.map((m,E)=>t.jsx("td",{style:{color:m!==j?G(O.Estado):"black",padding:m===j?"0 9px":"10px",fontSize:A,textAlign:U,fontStyle:q},children:m===j?lr(O[m],p,$,U==="center"):O[m]||"-"},E)),((k=O==null?void 0:O.options)==null?void 0:k.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:m=>{u({option:m,row:O})},options:[...O.options],fontSize:S,width:M})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>Z(O),style:{fontSize:A,fontStyle:q},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>h(O),children:g})]})})]}),L[O.id]&&t.jsx("tr",{className:"sub-row",style:{fontStyle:"italic"},children:Array.from({length:ee.length+2},(m,E)=>t.jsx("td",{className:"td-empty",style:{fontWeight:"600"},children:E===1?`${b}`:""},E))}),L[O.id]&&O.subData.length>0&&O.subData.map((m,E)=>{var R;return t.jsxs("tr",{className:"sub-row",children:[t.jsx("td",{})," ",ee.map((P,z)=>t.jsx("td",{style:{color:P!==j?G(m.Estado):"black",padding:P===j?"0 9px":"10px",fontSize:A,textAlign:U,fontStyle:q},children:P===j?lr(m[P],p,$,U==="center"):m[P]||"-"},z)),((R=m==null?void 0:m.options)==null?void 0:R.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:P=>{w({option:P,row:m})},options:[...m.options],fontSize:S,width:M})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>K(m),style:{fontSize:A,fontStyle:q},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>x(m),children:g})]})})]},E)})]},O.id)})]})]})};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,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 Ol=({data:e,dataKeysNotToRender:s,title:r,minWidth:i,texAlignTHead:o="start",textAlignTBody:l="start",fontSizeTHead:a,fontSizeTBody:c,fontSizeTitle:d})=>{const h=e.length>0?Object.keys(e[0]).filter(g=>!s.includes(g)):[];return t.jsxs("div",{className:"log-container",style:{minWidth:i},children:[t.jsx("h1",{className:"log-title",style:{fontSize:d},children:r}),t.jsxs("table",{className:"log-table",children:[t.jsx("thead",{children:t.jsx("tr",{children:h.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:h.map((y,x)=>t.jsx("td",{children:t.jsx("p",{children:g[y]})},x))},p))})]})]})};Ol.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 Al=({data:e,minWidth:s,dataKeysNotToRender:r,topToolTip:i,toolTips:o,fontSizeToolTip:l,messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:h="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:y,heightTd:x="30px",isWrap:b=!1,width:u="100%"})=>{const[w,T]=v.useState(null),A=j=>{T(j)},M=()=>{T(null)},S=e.length>0?Object.keys(e[0]).filter(j=>!r.includes(j)):[];return t.jsxs("table",{className:"table-ixc",style:{minWidth:s,minHeight:d,width:u},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[S.map((j,I)=>t.jsxs("th",{className:"relative",onMouseEnter:()=>A(j),onMouseLeave:M,style:{height:x},children:[t.jsx("p",{style:{textAlign:h,fontSize:p,whiteSpace:b?"wrap":"nowrap",textOverflow:b?"clip":"ellipsis",overflow:b?"auto":"hidden"},children:j}),o&&o[j]&&w===j&&t.jsx("div",{className:"tooltipTable",style:{top:i},children:t.jsx(Ms,{fontSize:l,children:o[j]})})]},I)),S.length===0&&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",whiteSpace:b?"wrap":"nowrap",textOverflow:b?"clip":"ellipsis",overflow:b?"auto":"hidden"},children:a})}),e.map((j,I)=>t.jsx("tr",{children:S.map((U,$)=>t.jsx("td",{style:{textAlign:g,fontSize:y,whiteSpace:b?"wrap":"nowrap",textOverflow:b?"clip":"ellipsis",overflow:b?"auto":"hidden",height:x},children:j[U]},$))},(j==null?void 0:j.id)||I))]})]})};Al.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 Il=({data:e,onEdit:s,width:r,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,icon:h,onFnIcon:g,onClickOptions:p,widthOptions:y,fontSizeOptions:x,texAlignTHead:b="start",textAlignTBody:u="start",fontSizeTHead:w,fontSizeTBody:T})=>{const A=S=>{s(S)},M=e.length>0?Object.keys(e[0]).filter(S=>S!=="options"&&!i.includes(S)):[];return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[M.map((S,j)=>t.jsx("th",{style:{textAlign:b,fontSize:w},children:S},j)),M.length>0?t.jsx("th",{style:{textAlign:b,fontSize:w},children:l}):t.jsx("th",{className:"messageEmpty",children:"."})]})}),t.jsxs("tbody",{children:[e.length===0&&t.jsx("tr",{children:t.jsx("td",{colSpan:M.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((S,j)=>{var I;return t.jsxs("tr",{children:[M.map((U,$)=>t.jsx("td",{style:{textAlign:u,fontSize:T},children:S[U]},$)),((I=S==null?void 0:S.options)==null?void 0:I.length)>0?t.jsx("td",{style:{overflow:"visible"},children:t.jsx(Dt,{onClick:U=>{p({option:U,row:S})},options:[...S.options],fontSize:x,width:y})}):t.jsx("td",{children:t.jsxs("div",{className:"action-icon",children:[o&&t.jsx("button",{className:"edit-button",onClick:()=>A(S),style:{fontSize:T,textAlign:u},children:o}),t.jsx("button",{className:"edit-icon",onClick:()=>g(S),style:{textAlign:o?u:"center"},children:h})]})})]},(S==null?void 0:S.id)||j)})]})]})};Il.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 Rl=({data:e,onEdit:s,width:r,dataKeysNotToRender:i,textButton:o="Editar",textHeader:l="Acción",messageWhenEmpty:a="No hay datos para mostrar",fontSizeMessageEmpty:c="1.5vw",minHeigth:d,texAlignTHead:h="start",textAlignTBody:g="start",fontSizeTHead:p,fontSizeTBody:y,heightTd:x="30px"})=>{const b=w=>{s(w)},u=e.length>0?Object.keys(e[0]).filter(w=>!i.includes(w)):[];return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:d},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[u.map((w,T)=>t.jsx("th",{style:{textAlign:h,fontSize:p},children:w},T)),u.length>0?t.jsx("th",{style:{textAlign:h,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:u.length+1,style:{fontSize:c,textAlign:"center"},children:a})}),e.map((w,T)=>t.jsxs("tr",{children:[u.map((A,M)=>t.jsx("td",{style:{textAlign:g,fontSize:y},children:w[A]},M)),t.jsx("td",{children:t.jsx("button",{className:"edit-button",onClick:()=>b(w),style:{fontSize:y,textAlign:g,height:x},children:o})})]},(w==null?void 0:w.id)||T))]})]})};Rl.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 Pl=({data:e,children:s,width:r,dataKeysNotToRender:i=[],textHeader:o="Acciones",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeigth:c,texAlignTHead:d="start",textAlignTBody:h="start",fontSizeTHead:g,fontSizeTBody:p,heightTd:y="30px"})=>{const x=e.length>0?Object.keys(e[0]).filter(u=>!i.includes(u)):[],b=u=>{if(!s)return null;const w=T=>{if(!T.props.onClick)return T;const A=T.props.onClick,M=S=>{S.rowData=u,A(S)};return v.cloneElement(T,{...T.props,onClick:M})};return Array.isArray(s)?s.map((T,A)=>w(v.cloneElement(T,{key:A,rowData:u,...T.props}))):w(v.cloneElement(s,{rowData:u}))};return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:c},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[x.map((u,w)=>t.jsx("th",{style:{textAlign:d,fontSize:g},children:u},w)),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((u,w)=>t.jsxs("tr",{children:[x.map((T,A)=>t.jsx("td",{style:{textAlign:h,fontSize:p},children:u[T]},A)),t.jsx("td",{children:t.jsx("div",{className:"action-icon",style:{height:y,display:"flex",alignItems:"center",gap:"10px"},children:b(u)})})]},(u==null?void 0:u.id)||w))]})]})};Pl.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 Wl=({data:e,onEdit:s,width:r,textButton:i="Editar",textHeader:o="Acción",messageWhenEmpty:l="No hay datos para mostrar",fontSizeMessageEmpty:a="1.5vw",minHeight:c,onFnIcon:d,icon:h=t.jsx(ms,{}),widthState:g,onClickOptions:p,fontSizeTHead:y,fontSizeTBody:x,widthOptions:b,fontSizeOptions:u,dataKeysNotToRender:w=[],nameOfKeyState:T="Estado",texAlignTHead:A="start",textAlignTBody:M="start",fontSizeState:S,heightStates:j="18px",heightTd:I="30px",fontStyleTBody:U="normal",fontStyleTHead:$="normal"})=>{const q=_=>{s(_)},f=(e==null?void 0:e.length)>0?Object.keys(e[0]).filter(_=>_!=="options"&&!w.includes(_)):[],L=_=>_!=="Inactivo"?"#8598ad":"#7c7c7c";return t.jsxs("table",{className:"table-ixc",style:{width:r,minHeight:c,fontStyle:U},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[f.map((_,F)=>t.jsx("th",{style:{fontSize:y,textAlign:A,fontStyle:$},children:_},F)),f.length>0?t.jsx("th",{style:{fontSize:y,textAlign:A,fontStyle:$},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:U},children:l})}),e.map((_,F)=>{var Z;return t.jsxs("tr",{children:[f.map((K,ee)=>t.jsx("td",{style:{fontSize:x,textAlign:M,color:K!==T?L(_.Estado):"black",height:I,fontStyle:U},children:K===T?lr(_[K],g,S,M==="center",j):_[K]},ee)),((Z=_==null?void 0:_.options)==null?void 0:Z.length)>0?t.jsx("td",{style:{overflow:"visible",height:I,fontStyle:U},children:t.jsx(Dt,{onClick:K=>{p({option:K,row:_})},options:[..._.options],fontSize:u,width:b})}):t.jsx("td",{style:{height:I,fontStyle:U},children:t.jsxs("div",{className:"action-icon",children:[i&&t.jsx("button",{className:"edit-button",onClick:()=>q(_),style:{fontSize:x,textAlign:M,fontStyle:U},children:i}),t.jsx("button",{className:"edit-icon",onClick:()=>d(_),children:h})]})})]},(_==null?void 0:_.id)||F)})]})]})};Wl.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 $l=({children:e,className:s="",...r})=>t.jsx("th",{className:`th-table-ixc ${s}`.trim(),...r,children:e});$l.propTypes={children:n.node,className:n.string};const yu=(e=[])=>{const s=v.useRef(null),[r,i]=v.useState(!1),o=v.useCallback(()=>{if(s.current){const l=s.current,a=l.scrollWidth>l.clientWidth;return i(a),a}return!1},[]);return v.useEffect(()=>{const a=setTimeout(()=>{o()},0);return window.addEventListener("resize",o),()=>{clearTimeout(a),window.removeEventListener("resize",o)}},e),{ref:s,isTruncated:r,checkTruncation:o}},Bl=({children:e,className:s="",classTooltip:r="",showTooltipOnTruncate:i=!1,left:o=120,top:l=0,...a})=>{const{ref:c,isTruncated:d}=yu([e]),[h,g]=v.useState(!1),[p,y]=v.useState({top:0,left:0}),x=u=>{if(d&&i){const w=u.currentTarget.getBoundingClientRect();y({top:w.top+l,left:w.left+o}),g(!0)}},b=u=>{const w=u.relatedTarget;w&&typeof w.closest=="function"&&w.closest(".td-tooltip-container")||g(!1)};return t.jsxs(t.Fragment,{children:[t.jsx("td",{ref:c,className:`td-table-ixc-base ${s}`.trim(),onMouseEnter:x,onMouseLeave:b,...a,children:e}),h&&ca.createPortal(t.jsx("div",{className:`td-tooltip-container ${r}`.trim(),style:{top:`${p.top}px`,left:`${p.left}px`},onMouseEnter:()=>g(!0),onMouseLeave:u=>{var T;const w=u.relatedTarget;w&&typeof w.closest=="function"&&((T=c.current)!=null&&T.contains(w))||g(!1)},children:e}),document.body)]})};Bl.propTypes={children:n.node,className:n.string,classTooltip:n.string,showTooltipOnTruncate:n.bool,left:n.number,top:n.number};const Fl=({children:e,className:s="",...r})=>t.jsx("thead",{className:`thead-table-ixc ${s}`.trim(),...r,children:e});Fl.propTypes={children:n.node,className:n.string};const Ll=({children:e,className:s="",...r})=>t.jsx("tr",{className:`tr-table-ixc ${s}`.trim(),...r,children:e});Ll.propTypes={children:n.node,className:n.string};const _l=({children:e,className:s="",...r})=>t.jsx("tbody",{className:`tbody-table-ixc-base ${s}`.trim(),...r,children:e});_l.propTypes={children:n.node,className:n.string};const Hl=({children:e,className:s,...r})=>t.jsx("table",{className:`table-v2 ${s}`,...r,children:e});Hl.propTypes={children:n.node,className:n.string};const xu=Object.assign(Hl,{Th:$l,Td:Bl,Thead:Fl,Tr:Ll,Tbody:_l}),Vl=({menus:e,size:s,onclick:r,height:i,fontSize:o})=>{var p;const l=e||[],[a,c]=v.useState(((p=l[0])==null?void 0:p.id)||""),[d,h]=v.useState(100/l.length),g=y=>{c(y.id),r(y)};return v.useEffect(()=>{const y=()=>{const x=100/l.length;h(x)};return window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[l.length]),t.jsx("nav",{className:"dynamic-menu",style:{width:s,height:i},children:t.jsx("ul",{children:l.map(y=>t.jsx("li",{className:a===y.id?"selected":"",style:{width:`${d}%`},onClick:()=>g(y),children:t.jsx("button",{style:{fontSize:o},children:y.label})},y.id))})})};Vl.propTypes={menus:n.array,size:n.string,onclick:n.func,height:n.string,fontSize:n.string};const Zl=({children:e,onChange:s,tabs:r,value:i,minHeight:o,width:l})=>{const[a,c]=v.useState(i),d=h=>{c(h),s(h)};return t.jsxs("div",{className:"tabs-container",style:{width:l},children:[t.jsx("div",{className:"tabs-wrapper",children:r.map(h=>t.jsxs("button",{onClick:()=>d(h.id),className:`tab-button ${a===h.id?"active":""}`,children:[t.jsx("span",{className:"tab-title",children:h.title}),t.jsx("span",{className:"tab-subtitle",children:h.subtitle})]},h.id))}),t.jsx("div",{style:{minHeight:o},children:e})]})};Zl.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 Ul=({tabs:e,width:s,onChange:r,disabled:i,defaultValue:o})=>{var d;const[l,a]=v.useState(o||((d=e[0])==null?void 0:d.key)||"");v.useEffect(()=>{o&&a(o)},[o]);const c=h=>{a(h),r(h)};return t.jsx("div",{className:"DeliveryTabs-tabs-container",style:{width:s},children:t.jsx("div",{className:"tabs-wrapper",style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((h,g)=>t.jsx("button",{disabled:i,className:`tab ${l===h.key?"active":""} ${g===0?"first-tab":""} ${g===e.length-1?"last-tab":""}`,onClick:()=>c(h.key),role:"tab","aria-selected":l===h.key,children:h.label},h.key))})})};Ul.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 ql=({tabs:e,width:s,onChange:r})=>{const[i,o]=v.useState(e[0].id),l=a=>{o(a),r(a)};return t.jsx("div",{className:"tabs-simple-container",style:{width:s},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))})})};ql.propTypes={tabs:n.array,width:n.string,onChange:n.func};const Yl=({isOpen:e,ticketNumber:s="##000",date:r=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 h=()=>i(!1),g=()=>{h()};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(Mn,{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:s})]}),t.jsxs("div",{className:"content-date",children:[t.jsx("p",{className:"label",style:{fontSize:l},children:"Fecha:"}),t.jsx("p",{style:{fontSize:l},children:kl(r)})]})]})]}),t.jsxs("div",{className:"buttonContainer",children:[t.jsx(Nt,{buttonProperties:{disabled:!1,onClick:()=>h(),style:{width:"50%",fontSize:a}},children:"CREAR NUEVA SOLICITUD"}),t.jsx(Ye,{buttonProperties:{disabled:!1,onClick:()=>g(),style:{width:"50%",fontSize:a}},children:"ACEPTAR"})]})]})})};Yl.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 Gl=({children:e,style:s})=>t.jsx("h3",{className:"blue-title",style:{...s},children:e});Gl.propTypes={children:n.any,style:n.object};const Kl=({children:e,navigateTo:s,style:r})=>t.jsx("button",{onClick:()=>s(),style:{...r},className:"ions-link",children:e});Kl.propTypes={children:n.node,navigateTo:n.func,style:n.object};const Ql=({children:e,className:s=""})=>t.jsx("h2",{className:`simple-title ${s}`,children:e});Ql.propTypes={children:n.node,className:n.string};const Xl=({children:e,className:s=""})=>t.jsx("p",{className:`paragraph ${s}`,children:e});Xl.propTypes={children:n.node,className:n.string};const Jl=({tooltip:e,className:s,classNameLabel:r,classNameTooltip:i,debug:o=!1,children:l})=>{const[a,c]=v.useState(!1),d=()=>{c(!0)},h=()=>{c(!1)};return t.jsxs("div",{className:`container-label ${s}`,children:[t.jsx("label",{className:`label-library ${r}`,children:l}),e&&t.jsxs("div",{style:{position:"relative",width:"24px",height:"26px",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:d,onMouseLeave:h,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"})}),(a||o)&&t.jsx("p",{className:`tooltip ${i}`,children:e})]})]})};Jl.propTypes={tooltip:n.string,classNameTooltip:n.string,className:n.string,classNameLabel:n.string,debug:n.bool,children:n.string};const ea=({children:e,className:s=""})=>t.jsx("div",{className:`template-container ${s}`,children:e});ea.propTypes={children:n.node,className:n.string},n.checkPropTypes=()=>{},N.Active=Ks,N.BasicSelect=et,N.BlueTitle=Gl,N.BoldIcon=fs,N.Breadcrumbs=xl,N.BreadcrumbsNested=vl,N.ButtonAddBoxRoundedIcon=Io,N.ButtonArrow=Gs,N.ButtonCleanFilters=Wo,N.ButtonDarkBlue=Qt,N.ButtonDarkBlueRounded=qs,N.ButtonDarkGreen=To,N.ButtonDownloadFile=Mo,N.ButtonDownloadTemplate=Oo,N.ButtonEye=$o,N.ButtonLetters=So,N.ButtonMinus=Eo,N.ButtonPlus=zo,N.ButtonReset=Co,N.ButtonSearch=uo,N.ButtonSoftPastelBlue=No,N.ButtonSoftPastelBlueRounded=Ro,N.ButtonUploadTemplate=Do,N.ButtonVibrantBlue=Ye,N.ButtonVibrantBlueSend=Fo,N.ButtonVibrantBlueUpload=Ao,N.ButtonWhiteBorderBlue=Nt,N.ButtonWhiteBorderBlueDownloadTemplate=Ys,N.ButtonWhiteBorderBlueSendEmail=Bo,N.ButtonWhiteBorderOrange=On,N.Canceled=Xs,N.CanceledIcon=Di,N.CheckBox=Fs,N.CheckIcon=Wi,N.CheckTicketIcon=Mn,N.Chip=_o,N.ChipSection=Ho,N.ChipWithIcon=Vo,N.CleanFiltersIcon=ws,N.ClearFilterIcon=kn,N.ClosedEye=bs,N.Completed=Js,N.CompletedIcon=Hi,N.CountCard=rl,N.CustomArrowIcon=E1,N.DataEnteredIcon=Bi,N.DataMasterArrow=gs,N.DataMasterCountryConfiguration=N1,N.DataSection=jl,N.DateIcon=wi,N.DateRangePicker=al,N.DateRangePickerBasicSelect=yl,N.DeliveryTabs=Ul,N.DesSelectAllIcon=ji,N.DownloadTemplateIcon=ys,N.DropFile=oo,N.EditIcon=ms,N.EllipseBase=En,N.EllipseBlueIcon=zi,N.EllipseDarkGreenIcon=Ti,N.EllipseGreenIcon=zn,N.EllipseGreyIcon=Mi,N.EraserIcon=Cn,N.ExcelIcon=ps,N.ExcelSvgIcon=Pi,N.ExpandableTable=Dl,N.EyeButton=Po,N.FileCard=Ko,N.FileCardMinimized=Qo,N.FilePreview=Uo,N.FilterComponent=pl,N.FilterIcon=Oi,N.FolderCard=Xo,N.FolderCardMinimized=Jo,N.GreyContainer=Yo,N.GreyContainerDropdown=Go,N.GreyInput=lo,N.GreySelect=E0,N.GreyTextArea=ao,N.HeaderItemsComponent=Vl,N.InProcessIcon=O1,N.InProcessingIcon=_i,N.InTransit=er,N.InTransitIcon=Nn,N.Inactive=Qs,N.InfoActionCard=fl,N.InfoActionCardDownloadTemplate=gl,N.InputRadio=Bs,N.InputSearch=at,N.InputUpload=co,N.InputWithButtonSearch=ho,N.InputWithLabel=fo,N.ItalicIcon=hs,N.KeyboardArrowDownOutlinedIconColorCustom=bi,N.Label=Jl,N.LastUpdate=Zo,N.Link=Kl,N.Loader=Gi,N.LogTable=Ol,N.MarksIcon=us,N.MenuIconOption=Ai,N.MenuOptions=Dt,N.MinusIcon=Ni,N.ModalListAplications=wl,N.MultiSelect=go,N.NumberSpinner=B0,N.NumberSpinnerByRange=mo,N.ObservationIcon=Fi,N.Observations=Ml,N.OpenEye=xs,N.Pagination=il,N.Paragraph=Xl,N.PlusIcon=Ei,N.ProcessFilter=ml,N.ProductRecallIcon=D1,N.RightArrowIcon=Tn,N.RoundedInput=yo,N.Select=_s,N.SelectAll=Vs,N.SelectAllIcon=vi,N.SelectMultiple=Zs,N.SelectNested=Us,N.SelectRadio=bo,N.SelectWithTitle=vo,N.SimpleTap=ql,N.SimpleTitle=Ql,N.SingleDatePicker=hl,N.State=sl,N.StateBasic=Lo,N.StatsIcon=Ii,N.Stepper=zl,N.StepsComponent=bl,N.Switch=jo,N.Table=Al,N.TableActionIcon=Il,N.TableComponent=xu,N.TableEdit=Rl,N.TableMultipleIcon=Pl,N.TableStates=Wl,N.TabsNavigation=Zl,N.TemplateTicketConfirm=ea,N.TextArea=wo,N.TicketComponentV2=Yl,N.TicketModal=Cl,N.TimeComponent=ko,N.TimeIcon=ki,N.TitleWithTooltip=Kt,N.ToStartProcessingIcon=Li,N.ToggleChip=tr,N.TooltipTable=qi,N.TooltipsWhite=Ms,N.TrashIcon=js,N.TriangleIconForNumberSpinnerByRange=$i,N.UpLoadSvgIcon=wn,N.UpdateBanner=Un,N.UploadFileIcon=Sn,N.UserReadOnlyIcon=Ut,N.VisualizationModaLogin=Sl,N.WaringBanner=x1,N.WarningIcon=vs,N.WarningModal=Tl,N.WindowCheck=Ri,N.XIcon=Si,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
|