helppeople-ui 1.14.5 → 1.14.6

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.
@@ -1,15 +1,15 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`:root{--input-height: 25px;--table-row-height: 25px;--checkbox-size: 16px;--button-height: 22px;--font-size-small: 10px;--font-size-medium: 12px;--font-size-large: 14px;--font-family: "Open Sans", sans-serif;--font-weight-normal: 400;--font-weight-semibold: 600;--primary-color: #1b1464;--primary-hover: #2c2570;--primary-active: #151044;--text-color: #333333;--text-color-secondary: #666666;--text-color-disabled: #999999;--background-color: #ffffff;--background-color-light: #f5f5f5;--background-color-card: #ffffff;--border-color: #d9d9d9;--border-color-light: #f0f0f0;--shadow-small: 0 2px 8px rgba(0, 0, 0, .1);--shadow-medium: 0 4px 12px rgba(0, 0, 0, .15);--shadow-large: 0 6px 20px rgba(0, 0, 0, .1);--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px}.library-components-wrapper{font-family:var(--font-family);font-size:var(--font-size-medium);color:var(--text-color);line-height:1.5;box-sizing:border-box;height:100%}.ant-dropdown.library-components-wrapper,.ant-dropdown-menu-submenu-popup.library-components-wrapper{height:auto}.library-components-wrapper *,.library-components-wrapper *:before,.library-components-wrapper *:after{box-sizing:border-box}.page-layout-container{display:flex;justify-content:center;align-items:flex-start;padding:2rem;background-color:var(--background-color-light);min-height:100vh;box-sizing:border-box}.page-layout-content{width:100%;max-width:1200px;background-color:var(--background-color-card);border-radius:8px;padding:2rem;box-shadow:var(--shadow-small)}.page-layout-title{font-size:1.5rem;font-weight:var(--font-weight-semibold);color:var(--text-color);margin-bottom:1.5rem}.space-content-page{width:97%;background-color:var(--background-color-card);border-radius:6px;padding:var(--spacing-md);box-shadow:var(--shadow-medium)}.title-page{font-size:27px;font-weight:var(--font-weight-semibold);color:#645c5c}.custom-toolbar-container{display:flex;align-items:center;gap:1rem;width:100%}.custom-toolbar-search{width:300px}.custom-toolbar-buttons{display:flex;gap:.5rem;flex-wrap:nowrap}.library-components-wrapper .ant-form-item{margin-bottom:var(--spacing-xs)}.library-components-wrapper .ant-form-item-label>label{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper input[type=text],.library-components-wrapper .ant-input,.library-components-wrapper .ant-input-affix-wrapper,.library-components-wrapper .ant-input-number-input,.library-components-wrapper .ant-picker-input>input{height:var(--input-height)!important;min-height:var(--input-height)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;line-height:1.5!important;padding-top:0!important;padding-bottom:0!important}.library-components-wrapper .ant-picker,.library-components-wrapper .ant-picker-range{height:var(--input-height)!important;min-height:var(--input-height)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;border:1px solid var(--border-color)!important;border-radius:4px!important;padding:0 8px!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-picker-input{height:100%!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-picker-input>input{height:100%!important;border:none!important;outline:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.library-components-wrapper .ant-picker-suffix{display:flex!important;align-items:center!important;color:var(--text-color-secondary)!important}.library-components-wrapper .ant-picker-range .ant-picker-input{flex:1!important}.library-components-wrapper .ant-picker-range .ant-picker-range-separator{padding:0 4px!important;color:var(--text-color-secondary)!important;font-size:var(--font-size-medium)!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-picker:focus,.library-components-wrapper .ant-picker-range:focus,.library-components-wrapper .ant-picker.ant-picker-focused,.library-components-wrapper .ant-picker-range.ant-picker-focused{border-color:var(--primary-color)!important;box-shadow:0 0 0 2px #1b146433!important;outline:none!important}.library-components-wrapper .ant-picker:hover,.library-components-wrapper .ant-picker-range:hover{border-color:var(--primary-hover)!important}.library-components-wrapper .ant-picker.ant-picker-disabled,.library-components-wrapper .ant-picker-range.ant-picker-disabled{background-color:var(--background-color-light)!important;color:var(--text-color-disabled)!important;cursor:not-allowed!important}.library-components-wrapper .ant-input[type=textarea],.library-components-wrapper textarea.ant-input{height:auto!important;min-height:var(--input-height)!important;max-height:calc(var(--input-height) * 4)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;line-height:1.5!important;padding:4px 8px!important;resize:none!important;overflow-y:auto!important;transition:height .2s ease!important}.library-components-wrapper .ant-input[type=textarea]:focus,.library-components-wrapper textarea.ant-input:focus{box-shadow:0 0 0 2px #1b146433!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-btn{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;height:var(--button-height)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--border-color)!important;border-radius:4px!important;padding:0 12px!important;cursor:pointer!important;transition:all .2s ease!important}.library-components-wrapper .ant-btn-link{border-color:transparent!important;background-color:transparent!important;box-shadow:none!important}.library-components-wrapper .ant-btn-link:focus-visible{outline:2px solid var(--primary-color)!important;outline-offset:2px!important}.library-components-wrapper .ant-btn-default{background-color:var(--background-color)!important;border-color:var(--border-color)!important;color:var(--text-color)!important}.library-components-wrapper .ant-btn-default:hover{background-color:var(--background-color-light)!important;border-color:var(--primary-color)!important;color:var(--primary-color)!important}.library-components-wrapper .ant-btn-default .anticon{color:var(--text-color)!important}.library-components-wrapper .ant-btn-default:hover .anticon{color:var(--primary-color)!important}.library-components-wrapper .ant-btn-primary{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important;color:#fff!important}.library-components-wrapper .ant-btn-primary:hover{background-color:var(--primary-hover)!important;border-color:var(--primary-hover)!important;color:#fff!important}.library-components-wrapper .ant-btn-primary:active{background-color:var(--primary-active)!important;border-color:var(--primary-active)!important;color:#fff!important}.library-components-wrapper .ant-btn-primary .anticon,.library-components-wrapper .ant-btn-primary:hover .ant-btn-primary:active .anticon{color:#fff!important}.library-components-wrapper .ant-btn-dangerous{background-color:#ff4d4f!important;border-color:#ff4d4f!important;color:#fff!important}.library-components-wrapper .ant-btn-dangerous:hover{background-color:#ff7875!important;border-color:#ff7875!important;color:#fff!important}.library-components-wrapper .ant-btn-dangerous .anticon,.library-components-wrapper .ant-btn-dangerous:hover .anticon{color:#fff!important}.library-components-wrapper .ant-btn span:not(.anticon){color:inherit!important}.library-components-wrapper .ant-table,.library-components-wrapper .ant-table-container{overflow:visible!important}.library-components-wrapper .ant-table-body{overflow:auto!important;scrollbar-width:thin;scrollbar-color:#888 #f1f1f1}.library-components-wrapper .ant-table-body::-webkit-scrollbar{width:6px;height:6px}.library-components-wrapper .ant-table-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.library-components-wrapper .ant-table-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.library-components-wrapper .ant-table-body::-webkit-scrollbar-thumb:hover{background:#888}.library-components-wrapper .ant-table-thead>tr>th{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;font-weight:var(--font-weight-semibold)!important;height:var(--table-row-height)!important;padding:var(--spacing-xs)!important;background-color:#fafafa!important;border-bottom:1px solid var(--border-color)!important;overflow:visible!important}.library-components-wrapper .ant-table-tbody>tr>td{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;height:var(--table-row-height)!important;padding:var(--spacing-xs)!important;border-bottom:1px solid var(--border-color-light)!important;overflow:visible!important;position:relative!important}.library-components-wrapper .ant-table-tbody>tr>td .anticon{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important}.library-components-wrapper .ant-checkbox{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;min-width:var(--checkbox-size)!important;min-height:var(--checkbox-size)!important}.library-components-wrapper .ant-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;background-color:var(--background-color)!important;border:1px solid var(--border-color)!important;border-radius:2px!important}.library-components-wrapper .ant-checkbox-checked .ant-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-spin-dot-item{background-color:var(--primary-color)!important}.library-components-wrapper .ant-spin{color:var(--primary-color)!important}@media screen and (max-width: 768px){.custom-toolbar-container{flex-direction:column;align-items:stretch}.custom-toolbar-search{width:100%}.custom-toolbar-buttons{margin-top:1rem;flex-wrap:wrap}}@media screen and (max-width: 640px){.custom-toolbar-search{width:100%;margin-bottom:1rem}.custom-toolbar-buttons{display:flex;gap:.5rem;margin-top:1rem}}.table-action-buttons{display:flex!important;align-items:center!important;gap:var(--spacing-sm)!important;min-height:20px!important;position:relative!important;overflow:visible!important}.library-components-wrapper .ant-transfer-list-content-item{color:var(--text-color)!important;background-color:var(--background-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;line-height:1.5!important;padding:8px 12px!important;border-bottom:1px solid var(--border-color-light)!important;min-height:var(--input-height)!important;display:flex!important;align-items:center!important;gap:8px!important}.library-components-wrapper .ant-transfer-list-content-item:hover{background-color:var(--background-color-light)!important;color:var(--text-color)!important}.library-components-wrapper .ant-transfer-list-content-item>span:not(.ant-checkbox-wrapper){color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;flex:1!important;display:block!important;overflow:visible!important}.library-components-wrapper .ant-transfer-list-content-item-text{color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;flex:1!important}.library-components-wrapper .ant-transfer-list-content-item-disabled{color:var(--text-color-disabled)!important;background-color:var(--background-color-light)!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;min-width:var(--checkbox-size)!important;min-height:var(--checkbox-size)!important;flex-shrink:0!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-wrapper{width:auto!important;flex-shrink:0!important;margin-right:8px!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;background-color:var(--background-color)!important;border:1px solid var(--border-color)!important;border-radius:2px!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-checked .ant-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-wrapper:focus{box-shadow:none!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox:focus{box-shadow:none!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-input:focus+.ant-checkbox-inner{box-shadow:none!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-transfer-list-content-item label.ant-checkbox-wrapper{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;gap:8px!important}.library-components-wrapper .ant-transfer-list-content-item label.ant-checkbox-wrapper .ant-checkbox{flex-shrink:0!important}.library-components-wrapper .ant-transfer-list-content-item label.ant-checkbox-wrapper>span:last-child{flex:1!important;color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;display:block!important;overflow:visible!important}.library-components-wrapper .ant-transfer .ant-transfer-list{background:var(--background-color)!important}.library-components-wrapper .custom-transfer-item-text{color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;display:inline-block!important;text-decoration:none!important;font-weight:400!important;line-height:inherit!important;white-space:normal!important;overflow:visible!important;width:auto!important;flex:1!important;margin-left:8px!important}.library-components-wrapper .ant-transfer-list-header{background:#fafafa!important;color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.text-primary{color:var(--primary-color)!important}.text-secondary{color:var(--text-color-secondary)!important}.text-success{color:#52c41a!important}.text-warning{color:#faad14!important}.text-error{color:#ff4d4f!important}.library-components-wrapper .ant-btn[disabled]{opacity:.6!important;cursor:not-allowed!important}.library-components-wrapper .ant-btn[disabled] .anticon{opacity:.6!important}.hp-divider,.hp-divider.font-semibold{font-weight:600}.hp-divider.text-sm{font-size:12px}.library-components-wrapper .hp-textarea-resizable textarea.ant-input{resize:vertical!important;max-height:none!important;min-height:56px!important}.custom-primary-button.ant-btn-primary,.custom-primary-button.ant-btn-primary:hover,.custom-primary-button.ant-btn-primary:focus,.custom-primary-button.ant-btn-primary:active,.custom-primary-button.ant-btn-primary:disabled{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}.custom-primary-button.ant-btn-primary span,.custom-primary-button.ant-btn-primary:hover span,.custom-primary-button.ant-btn-primary:focus span,.custom-primary-button.ant-btn-primary:active span,.custom-primary-button.ant-btn-primary:disabled span{color:#fff!important}.custom-primary-button.ant-btn-primary *,.custom-primary-button.ant-btn-primary:hover *,.custom-primary-button.ant-btn-primary:focus *,.custom-primary-button.ant-btn-primary:active *,.custom-primary-button.ant-btn-primary:disabled *{color:#fff!important}button.custom-primary-button,button.custom-primary-button:hover,button.custom-primary-button:focus,button.custom-primary-button:active{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}button.custom-primary-button *,button.custom-primary-button:hover *,button.custom-primary-button:focus *,button.custom-primary-button:active *{color:#fff!important}.custom-primary-button .anticon,.custom-primary-button svg,.custom-primary-button span,.custom-primary-button div{color:#fff!important}.custom-filter-toolbar-field{width:100%!important;max-width:100%!important;overflow:hidden!important}.custom-filter-toolbar-field .ant-input,.custom-filter-toolbar-field .ant-input-affix-wrapper,.custom-filter-toolbar-field .ant-input-number,.custom-filter-toolbar-field .ant-picker,.custom-filter-toolbar-field .ant-select{width:100%!important;max-width:100%!important;min-width:0!important}.custom-filter-toolbar-field .ant-select{width:100%!important;max-width:100%!important}.custom-filter-toolbar-field .ant-select .ant-select-selector{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-overflow{gap:2px!important}.custom-filter-toolbar-field .ant-select-multiple{height:var(--input-height)!important;min-height:var(--input-height)!important;max-height:var(--input-height)!important;align-items:center!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-content{flex-wrap:nowrap!important;overflow:hidden!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-content-item{line-height:1!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-item{max-width:none!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-item-content{max-width:120px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-search{flex-shrink:1!important;min-width:0!important}.custom-filter-toolbar-field .ant-select .ant-select-selection-search{width:100%!important;max-width:100%!important}.custom-filter-toolbar-field .ant-select:not(.ant-select-multiple) .ant-select-selection-item{max-width:calc(100% - 24px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.custom-filter-toolbar-field .ant-picker-range{width:100%!important;max-width:100%!important;min-width:0!important}.custom-filter-toolbar-field .ant-picker-range .ant-picker-input{flex:1!important;min-width:0!important}.custom-filter-toolbar-field .ant-picker-range .ant-picker-range-separator{flex-shrink:0!important}.custom-filter-toolbar-field .ant-input-number{width:100%!important;max-width:100%!important}.custom-filter-toolbar-field .ant-input-number .ant-input-number-input{width:100%!important;max-width:100%!important;min-width:0!important}.custom-filter-toolbar-field label{width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;display:block!important}.custom-apply-button{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important;font-family:inherit;transition:all .3s ease}.custom-apply-button:hover{background-color:#2c2570!important;border-color:#2c2570!important;color:#fff!important}.custom-apply-button:active{background-color:#151044!important;border-color:#151044!important;color:#fff!important}.custom-button-wrapper .force-white-text-button{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}.custom-button-wrapper .force-white-text-button:hover{background-color:#2c2570!important;border-color:#2c2570!important;color:#fff!important}.custom-button-wrapper .force-white-text-button span,.custom-button-wrapper .force-white-text-button *{color:#fff!important}.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:hover,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:focus,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:active{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary span,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:hover span,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:focus span,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:active span{color:#fff!important}.force-white-text-direct.ant-btn-primary,.force-white-text-direct.ant-btn-primary span{color:#fff!important}.library-components-wrapper .ant-pagination{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-pagination-item{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;border-color:var(--border-color)!important;border-radius:4px!important}.library-components-wrapper .ant-pagination-item a{color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-pagination-item-active{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-item-active a{color:#fff!important}.library-components-wrapper .ant-pagination-item:hover{border-color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-item:hover a{color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-prev .ant-pagination-item-link,.library-components-wrapper .ant-pagination-next .ant-pagination-item-link{border-color:var(--border-color)!important;border-radius:4px!important;color:var(--text-color)!important;font-size:var(--font-size-medium)!important;display:flex!important;align-items:center!important;justify-content:center!important}.library-components-wrapper .ant-pagination-prev:hover .ant-pagination-item-link,.library-components-wrapper .ant-pagination-next:hover .ant-pagination-item-link{border-color:var(--primary-color)!important;color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-disabled .ant-pagination-item-link{color:var(--text-color-disabled)!important;border-color:var(--border-color)!important;cursor:not-allowed!important}.library-components-wrapper .ant-pagination-options .ant-select{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-pagination-options-quick-jumper{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-pagination-options-quick-jumper input{height:var(--input-height)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;border-color:var(--border-color)!important;border-radius:4px!important}.library-components-wrapper .ant-pagination-total-text{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color-secondary)!important}.library-components-wrapper .ant-progress-text{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-progress-inner{background-color:var(--background-color-light)!important;border-radius:4px!important}.library-components-wrapper .ant-progress-bg{border-radius:4px!important;transition:width .4s ease!important}.library-components-wrapper .ant-progress-status-success .ant-progress-bg{background-color:#52c41a!important}.library-components-wrapper .ant-progress-status-success .ant-progress-text{color:#52c41a!important}.library-components-wrapper .ant-progress-status-exception .ant-progress-bg{background-color:#ff4d4f!important}.library-components-wrapper .ant-progress-status-exception .ant-progress-text{color:#ff4d4f!important}.library-components-wrapper .ant-progress-status-active .ant-progress-bg:before{border-radius:4px!important}.library-components-wrapper .ant-progress-status-success .ant-progress-text .anticon,.library-components-wrapper .ant-progress-status-exception .ant-progress-text .anticon{font-size:var(--font-size-large)!important}.library-components-wrapper .ant-progress-circle .ant-progress-text{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-progress-steps-item{border-radius:2px!important}.library-components-wrapper .ant-progress-steps-item-active{background-color:var(--primary-color)!important}.ant-table-thead>tr>th{font-family:Open Sans,sans-serif!important;font-size:10px;font-weight:600}.ant-table-tbody>tr>td{font-family:var(--font-family)!important;font-size:var(--font-size-medium)!important}.ant-table-selection-column,.custom-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:0!important;text-align:center!important;vertical-align:middle!important}.ant-checkbox-wrapper{display:flex!important;justify-content:flex-start!important;align-items:center!important;height:25px!important;width:100%!important;margin:0!important;padding:0!important}.ant-checkbox{top:0!important;margin:0!important;height:16px!important;width:16px!important;min-width:16px!important;min-height:16px!important;position:relative!important;display:inline-block!important;line-height:1!important;box-sizing:border-box!important;transform:none!important;flex:none!important}.ant-checkbox-inner{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;position:relative!important;top:0!important;left:0!important;display:block!important;background-color:#fff!important;border:1px solid #d9d9d9!important;border-radius:2px!important;box-sizing:border-box!important}.library-components-wrapper .ant-checkbox-checked .ant-checkbox-inner{background-color:#1b1464!important;border-color:#1b1464!important}.library-components-wrapper .ant-checkbox-checked .ant-checkbox-inner:after{position:absolute!important;display:table!important;border:2px solid #fff!important;border-top:0!important;border-left:0!important;transform:rotate(45deg) scale(1)!important;opacity:1!important;content:" "!important;top:47%!important;left:22%!important;width:5.5px!important;height:9px!important;margin-top:-5px!important}.ant-table-row{height:25px!important}.ant-table-thead .ant-table-selection-column{text-align:center!important;vertical-align:middle!important}.ant-table-tbody>tr:empty{display:none!important}.ant-table-measure-row{display:none!important;height:0!important;visibility:hidden!important}.ant-table-tbody>tr>td:empty{min-height:0!important;height:auto!important}.ant-table-tbody>tr>td{padding:8px 16px!important;vertical-align:middle!important}.ant-table-wrapper,.ant-table{margin:0!important}.ant-table-thead .ant-checkbox-wrapper{margin:0!important;padding:0!important}.custom-table-container{width:100%;overflow-x:auto;overflow-y:visible}.custom-table-container .ant-table{min-width:100%}.custom-table-container .ant-table-wrapper{width:100%}.custom-table-container{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}.custom-table-container::-webkit-scrollbar{height:6px;width:6px}.custom-table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.custom-table-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.custom-table-container::-webkit-scrollbar-thumb:hover{background:#888}.fc{font-family:Open Sans,sans-serif;background:#fff;font-size:12px!important;width:100%!important}.fc-toolbar{background:#fff;border-bottom:1px solid #f0f0f0;padding:12px 0 8px}.fc-toolbar-title{color:#262626;font-size:12px!important;font-weight:600;letter-spacing:.5px;text-transform:capitalize}.fc-button,.fc-button-primary{background:#fff!important;border:1px solid #d9d9d9!important;color:#262626!important;font-weight:500;font-size:12px!important;padding:0 12px!important;border-radius:6px!important;height:24px!important;line-height:22px!important;margin:0 2px;transition:all .2s;box-shadow:none!important}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background:#e6f4ff;border-color:#1677ff;color:#1677ff}.fc .fc-button-primary:not(:disabled):hover{background:#f0f5ff;border-color:#1677ff;color:#1677ff}.fc .fc-button:focus{outline:none;box-shadow:0 0 0 2px #91caff33}.fc-button-active,.fc-button:active,.fc-button-primary:active{background:#e6f4ff!important;border-color:#1677ff!important;color:#1677ff!important}.fc-button-primary:hover,.fc-button:hover{background:#f5f5f5!important;color:#1677ff!important}.fc-col-header-cell{background:#fafafa;color:#262626;font-weight:500;border-bottom:1px solid #f0f0f0;padding:8px 0}.fc-daygrid-day,.fc-timegrid-col{background:#fff;border:1px solid #f0f0f0;transition:background .2s}.fc-daygrid-day.fc-day-today,.fc-timegrid-col.fc-day-today{background:#e6f7ff!important;border-color:#91d5ff!important}.fc-daygrid-day.fc-day-selected,.fc-timegrid-col.fc-day-selected{background:#bae7ff!important}.fc-event,.fc-daygrid-event,.fc-timegrid-event{background:#1677ff!important;color:#fff!important;border-radius:4px!important;border:none!important;font-size:.98em;font-weight:500;padding:2px 8px;box-shadow:0 1px 2px #1890ff1a;transition:background .2s}.fc-event:hover,.fc-daygrid-event:hover,.fc-timegrid-event:hover{background:#40a9ff!important}.fc-day-sat,.fc-day-sun{background:#fafafa}.fc-daygrid-day-number{color:#262626;font-weight:500;padding:4px}.fc-day-today .fc-daygrid-day-number,.fc-day-today .fc-timegrid-axis-cushion{background:#1677ff;color:#fff!important;border-radius:50%;padding:4px 8px}.fc-scrollgrid,.fc-scrollgrid-section,.fc-scrollgrid-sync-table,.fc-daygrid-body,.fc-daygrid{border:none!important}.fc-timegrid-slot{border-top:1px solid #f0f0f0!important}.fc-timegrid-axis,.fc-timegrid-divider{background:#fafafa!important}.fc-timegrid-event{margin:2px 0}.fc .fc-daygrid-day-frame{padding:2px 2px 5px}.fc,.fc-scrollgrid,.fc-scrollgrid-section,.fc-scrollgrid-sync-table,.fc-daygrid,.fc-daygrid-body{border:none!important;box-shadow:none!important}.fc-daygrid-day,.fc-timegrid-col{border:1px solid #f0f0f0;border-top:none;border-left:none}.fc-daygrid-day:first-child,.fc-timegrid-col:first-child{border-left:none}.fc-daygrid-week:first-child .fc-daygrid-day{border-top:none}.fc-daygrid-day:last-child{border-right:none}.fc-daygrid-week:last-child .fc-daygrid-day{border-bottom:none}/*!
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`:root{--input-height: 25px;--table-row-height: 25px;--checkbox-size: 16px;--button-height: 22px;--font-size-small: 10px;--font-size-medium: 12px;--font-size-large: 14px;--font-family: "Open Sans", sans-serif;--font-weight-normal: 400;--font-weight-semibold: 600;--primary-color: #1b1464;--primary-hover: #2c2570;--primary-active: #151044;--text-color: #333333;--text-color-secondary: #666666;--text-color-disabled: #999999;--background-color: #ffffff;--background-color-light: #f5f5f5;--background-color-card: #ffffff;--border-color: #d9d9d9;--border-color-light: #f0f0f0;--shadow-small: 0 2px 8px rgba(0, 0, 0, .1);--shadow-medium: 0 4px 12px rgba(0, 0, 0, .15);--shadow-large: 0 6px 20px rgba(0, 0, 0, .1);--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px}.library-components-wrapper{font-family:var(--font-family);font-size:var(--font-size-medium);color:var(--text-color);line-height:1.5;box-sizing:border-box;height:100%}.ant-dropdown.library-components-wrapper,.ant-dropdown-menu-submenu-popup.library-components-wrapper{height:auto}.library-components-wrapper *,.library-components-wrapper *:before,.library-components-wrapper *:after{box-sizing:border-box}.page-layout-container{display:flex;justify-content:center;align-items:flex-start;padding:2rem;background-color:var(--background-color-light);min-height:100vh;box-sizing:border-box}.page-layout-content{width:100%;max-width:1200px;background-color:var(--background-color-card);border-radius:8px;padding:2rem;box-shadow:var(--shadow-small)}.page-layout-title{font-size:1.5rem;font-weight:var(--font-weight-semibold);color:var(--text-color);margin-bottom:1.5rem}.space-content-page{width:97%;background-color:var(--background-color-card);border-radius:6px;padding:var(--spacing-md);box-shadow:var(--shadow-medium)}.title-page{font-size:27px;font-weight:var(--font-weight-semibold);color:#645c5c}.custom-toolbar-container{display:flex;align-items:center;gap:1rem;width:100%}.custom-toolbar-search{width:300px}.custom-toolbar-buttons{display:flex;gap:.5rem;flex-wrap:nowrap}.library-components-wrapper .ant-form-item{margin-bottom:var(--spacing-xs)}.library-components-wrapper .ant-form-item-label>label{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper input[type=text],.library-components-wrapper .ant-input,.library-components-wrapper .ant-input-affix-wrapper,.library-components-wrapper .ant-input-number-input,.library-components-wrapper .ant-picker-input>input{height:var(--input-height)!important;min-height:var(--input-height)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;line-height:1.5!important;padding-top:0!important;padding-bottom:0!important}.library-components-wrapper .ant-picker,.library-components-wrapper .ant-picker-range{height:var(--input-height)!important;min-height:var(--input-height)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;border:1px solid var(--border-color)!important;border-radius:4px!important;padding:0 8px!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-picker-input{height:100%!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-picker-input>input{height:100%!important;border:none!important;outline:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.library-components-wrapper .ant-picker-suffix{display:flex!important;align-items:center!important;color:var(--text-color-secondary)!important}.library-components-wrapper .ant-picker-range .ant-picker-input{flex:1!important}.library-components-wrapper .ant-picker-range .ant-picker-range-separator{padding:0 4px!important;color:var(--text-color-secondary)!important;font-size:var(--font-size-medium)!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-picker:focus,.library-components-wrapper .ant-picker-range:focus,.library-components-wrapper .ant-picker.ant-picker-focused,.library-components-wrapper .ant-picker-range.ant-picker-focused{border-color:var(--primary-color)!important;box-shadow:0 0 0 2px #1b146433!important;outline:none!important}.library-components-wrapper .ant-picker:hover,.library-components-wrapper .ant-picker-range:hover{border-color:var(--primary-hover)!important}.library-components-wrapper .ant-picker.ant-picker-disabled,.library-components-wrapper .ant-picker-range.ant-picker-disabled{background-color:var(--background-color-light)!important;color:var(--text-color-disabled)!important;cursor:not-allowed!important}.library-components-wrapper .ant-input[type=textarea],.library-components-wrapper textarea.ant-input{height:auto!important;min-height:var(--input-height)!important;max-height:calc(var(--input-height) * 4)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;line-height:1.5!important;padding:4px 8px!important;resize:none!important;overflow-y:auto!important;transition:height .2s ease!important}.library-components-wrapper .ant-input[type=textarea]:focus,.library-components-wrapper textarea.ant-input:focus{box-shadow:0 0 0 2px #1b146433!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-btn{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;height:var(--button-height)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--border-color)!important;border-radius:4px!important;padding:0 12px!important;cursor:pointer!important;transition:all .2s ease!important}.library-components-wrapper .ant-btn-link{border-color:transparent!important;background-color:transparent!important;box-shadow:none!important}.library-components-wrapper .ant-btn-link:focus-visible{outline:2px solid var(--primary-color)!important;outline-offset:2px!important}.library-components-wrapper .ant-btn-default{background-color:var(--background-color)!important;border-color:var(--border-color)!important;color:var(--text-color)!important}.library-components-wrapper .ant-btn-default:hover{background-color:var(--background-color-light)!important;border-color:var(--primary-color)!important;color:var(--primary-color)!important}.library-components-wrapper .ant-btn-default .anticon{color:var(--text-color)!important}.library-components-wrapper .ant-btn-default:hover .anticon{color:var(--primary-color)!important}.library-components-wrapper .ant-btn-primary{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important;color:#fff!important}.library-components-wrapper .ant-btn-primary:hover{background-color:var(--primary-hover)!important;border-color:var(--primary-hover)!important;color:#fff!important}.library-components-wrapper .ant-btn-primary:active{background-color:var(--primary-active)!important;border-color:var(--primary-active)!important;color:#fff!important}.library-components-wrapper .ant-btn-primary .anticon,.library-components-wrapper .ant-btn-primary:hover .ant-btn-primary:active .anticon{color:#fff!important}.library-components-wrapper .ant-btn-dangerous{background-color:#ff4d4f!important;border-color:#ff4d4f!important;color:#fff!important}.library-components-wrapper .ant-btn-dangerous:hover{background-color:#ff7875!important;border-color:#ff7875!important;color:#fff!important}.library-components-wrapper .ant-btn-dangerous .anticon,.library-components-wrapper .ant-btn-dangerous:hover .anticon{color:#fff!important}.library-components-wrapper .ant-btn span:not(.anticon){color:inherit!important}.library-components-wrapper .ant-table,.library-components-wrapper .ant-table-container{overflow:visible!important}.library-components-wrapper .ant-table-body{overflow:auto!important;scrollbar-width:thin;scrollbar-color:#888 #f1f1f1}.library-components-wrapper .ant-table-body::-webkit-scrollbar{width:6px;height:6px}.library-components-wrapper .ant-table-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.library-components-wrapper .ant-table-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.library-components-wrapper .ant-table-body::-webkit-scrollbar-thumb:hover{background:#888}.library-components-wrapper .ant-table-thead>tr>th{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;font-weight:var(--font-weight-semibold)!important;height:var(--table-row-height)!important;padding:var(--spacing-xs)!important;background-color:#fafafa!important;border-bottom:1px solid var(--border-color)!important;overflow:visible!important}.library-components-wrapper .ant-table-tbody>tr>td{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;height:var(--table-row-height)!important;padding:var(--spacing-xs)!important;border-bottom:1px solid var(--border-color-light)!important;overflow:visible!important;position:relative!important}.library-components-wrapper .ant-table-thead>tr>th.ant-table-cell-ellipsis,.library-components-wrapper .ant-table-tbody>tr>td.ant-table-cell-ellipsis{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}.library-components-wrapper .ant-table-tbody>tr>td .anticon{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important}.library-components-wrapper .ant-checkbox{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;min-width:var(--checkbox-size)!important;min-height:var(--checkbox-size)!important}.library-components-wrapper .ant-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;background-color:var(--background-color)!important;border:1px solid var(--border-color)!important;border-radius:2px!important}.library-components-wrapper .ant-checkbox-checked .ant-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-spin-dot-item{background-color:var(--primary-color)!important}.library-components-wrapper .ant-spin{color:var(--primary-color)!important}@media screen and (max-width: 768px){.custom-toolbar-container{flex-direction:column;align-items:stretch}.custom-toolbar-search{width:100%}.custom-toolbar-buttons{margin-top:1rem;flex-wrap:wrap}}@media screen and (max-width: 640px){.custom-toolbar-search{width:100%;margin-bottom:1rem}.custom-toolbar-buttons{display:flex;gap:.5rem;margin-top:1rem}}.table-action-buttons{display:flex!important;align-items:center!important;gap:var(--spacing-sm)!important;min-height:20px!important;position:relative!important;overflow:visible!important}.library-components-wrapper .ant-transfer-list-content-item{color:var(--text-color)!important;background-color:var(--background-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;line-height:1.5!important;padding:8px 12px!important;border-bottom:1px solid var(--border-color-light)!important;min-height:var(--input-height)!important;display:flex!important;align-items:center!important;gap:8px!important}.library-components-wrapper .ant-transfer-list-content-item:hover{background-color:var(--background-color-light)!important;color:var(--text-color)!important}.library-components-wrapper .ant-transfer-list-content-item>span:not(.ant-checkbox-wrapper){color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;flex:1!important;display:block!important;overflow:visible!important}.library-components-wrapper .ant-transfer-list-content-item-text{color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;flex:1!important}.library-components-wrapper .ant-transfer-list-content-item-disabled{color:var(--text-color-disabled)!important;background-color:var(--background-color-light)!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;min-width:var(--checkbox-size)!important;min-height:var(--checkbox-size)!important;flex-shrink:0!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-wrapper{width:auto!important;flex-shrink:0!important;margin-right:8px!important;display:flex!important;align-items:center!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;background-color:var(--background-color)!important;border:1px solid var(--border-color)!important;border-radius:2px!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-checked .ant-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-wrapper:focus{box-shadow:none!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox:focus{box-shadow:none!important}.library-components-wrapper .ant-transfer-list-content-item .ant-checkbox-input:focus+.ant-checkbox-inner{box-shadow:none!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-transfer-list-content-item label.ant-checkbox-wrapper{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;gap:8px!important}.library-components-wrapper .ant-transfer-list-content-item label.ant-checkbox-wrapper .ant-checkbox{flex-shrink:0!important}.library-components-wrapper .ant-transfer-list-content-item label.ant-checkbox-wrapper>span:last-child{flex:1!important;color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;display:block!important;overflow:visible!important}.library-components-wrapper .ant-transfer .ant-transfer-list{background:var(--background-color)!important}.library-components-wrapper .custom-transfer-item-text{color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;opacity:1!important;visibility:visible!important;display:inline-block!important;text-decoration:none!important;font-weight:400!important;line-height:inherit!important;white-space:normal!important;overflow:visible!important;width:auto!important;flex:1!important;margin-left:8px!important}.library-components-wrapper .ant-transfer-list-header{background:#fafafa!important;color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.text-primary{color:var(--primary-color)!important}.text-secondary{color:var(--text-color-secondary)!important}.text-success{color:#52c41a!important}.text-warning{color:#faad14!important}.text-error{color:#ff4d4f!important}.library-components-wrapper .ant-btn[disabled]{opacity:.6!important;cursor:not-allowed!important}.library-components-wrapper .ant-btn[disabled] .anticon{opacity:.6!important}.hp-divider,.hp-divider.font-semibold{font-weight:600}.hp-divider.text-sm{font-size:12px}.library-components-wrapper .hp-textarea-resizable textarea.ant-input{resize:vertical!important;max-height:none!important;min-height:56px!important;transition:none!important}.custom-primary-button.ant-btn-primary,.custom-primary-button.ant-btn-primary:hover,.custom-primary-button.ant-btn-primary:focus,.custom-primary-button.ant-btn-primary:active,.custom-primary-button.ant-btn-primary:disabled{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}.custom-primary-button.ant-btn-primary span,.custom-primary-button.ant-btn-primary:hover span,.custom-primary-button.ant-btn-primary:focus span,.custom-primary-button.ant-btn-primary:active span,.custom-primary-button.ant-btn-primary:disabled span{color:#fff!important}.custom-primary-button.ant-btn-primary *,.custom-primary-button.ant-btn-primary:hover *,.custom-primary-button.ant-btn-primary:focus *,.custom-primary-button.ant-btn-primary:active *,.custom-primary-button.ant-btn-primary:disabled *{color:#fff!important}button.custom-primary-button,button.custom-primary-button:hover,button.custom-primary-button:focus,button.custom-primary-button:active{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}button.custom-primary-button *,button.custom-primary-button:hover *,button.custom-primary-button:focus *,button.custom-primary-button:active *{color:#fff!important}.custom-primary-button .anticon,.custom-primary-button svg,.custom-primary-button span,.custom-primary-button div{color:#fff!important}.custom-filter-toolbar-field{width:100%!important;max-width:100%!important;overflow:hidden!important}.custom-filter-toolbar-field .ant-input,.custom-filter-toolbar-field .ant-input-affix-wrapper,.custom-filter-toolbar-field .ant-input-number,.custom-filter-toolbar-field .ant-picker,.custom-filter-toolbar-field .ant-select{width:100%!important;max-width:100%!important;min-width:0!important}.custom-filter-toolbar-field .ant-select{width:100%!important;max-width:100%!important}.custom-filter-toolbar-field .ant-select .ant-select-selector{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-overflow{gap:2px!important}.custom-filter-toolbar-field .ant-select-multiple{height:var(--input-height)!important;min-height:var(--input-height)!important;max-height:var(--input-height)!important;align-items:center!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-content{flex-wrap:nowrap!important;overflow:hidden!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-content-item{line-height:1!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-item{max-width:none!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-item-content{max-width:120px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.custom-filter-toolbar-field .ant-select-multiple .ant-select-selection-search{flex-shrink:1!important;min-width:0!important}.custom-filter-toolbar-field .ant-select .ant-select-selection-search{width:100%!important;max-width:100%!important}.custom-filter-toolbar-field .ant-select:not(.ant-select-multiple) .ant-select-selection-item{max-width:calc(100% - 24px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.custom-filter-toolbar-field .ant-picker-range{width:100%!important;max-width:100%!important;min-width:0!important}.custom-filter-toolbar-field .ant-picker-range .ant-picker-input{flex:1!important;min-width:0!important}.custom-filter-toolbar-field .ant-picker-range .ant-picker-range-separator{flex-shrink:0!important}.custom-filter-toolbar-field .ant-input-number{width:100%!important;max-width:100%!important}.custom-filter-toolbar-field .ant-input-number .ant-input-number-input{width:100%!important;max-width:100%!important;min-width:0!important}.custom-filter-toolbar-field label{width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;display:block!important}.custom-apply-button{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important;font-family:inherit;transition:all .3s ease}.custom-apply-button:hover{background-color:#2c2570!important;border-color:#2c2570!important;color:#fff!important}.custom-apply-button:active{background-color:#151044!important;border-color:#151044!important;color:#fff!important}.custom-button-wrapper .force-white-text-button{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}.custom-button-wrapper .force-white-text-button:hover{background-color:#2c2570!important;border-color:#2c2570!important;color:#fff!important}.custom-button-wrapper .force-white-text-button span,.custom-button-wrapper .force-white-text-button *{color:#fff!important}.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:hover,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:focus,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:active{background-color:#1b1464!important;border-color:#1b1464!important;color:#fff!important}.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary span,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:hover span,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:focus span,.custom-button-wrapper button.force-white-text-button.ant-btn.ant-btn-primary:active span{color:#fff!important}.force-white-text-direct.ant-btn-primary,.force-white-text-direct.ant-btn-primary span{color:#fff!important}.library-components-wrapper .ant-pagination{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-pagination-item{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;border-color:var(--border-color)!important;border-radius:4px!important}.library-components-wrapper .ant-pagination-item a{color:var(--text-color)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-pagination-item-active{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-item-active a{color:#fff!important}.library-components-wrapper .ant-pagination-item:hover{border-color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-item:hover a{color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-prev .ant-pagination-item-link,.library-components-wrapper .ant-pagination-next .ant-pagination-item-link{border-color:var(--border-color)!important;border-radius:4px!important;color:var(--text-color)!important;font-size:var(--font-size-medium)!important;display:flex!important;align-items:center!important;justify-content:center!important}.library-components-wrapper .ant-pagination-prev:hover .ant-pagination-item-link,.library-components-wrapper .ant-pagination-next:hover .ant-pagination-item-link{border-color:var(--primary-color)!important;color:var(--primary-color)!important}.library-components-wrapper .ant-pagination-disabled .ant-pagination-item-link{color:var(--text-color-disabled)!important;border-color:var(--border-color)!important;cursor:not-allowed!important}.library-components-wrapper .ant-pagination-options .ant-select{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-pagination-options-quick-jumper{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-pagination-options-quick-jumper input{height:var(--input-height)!important;font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;border-color:var(--border-color)!important;border-radius:4px!important}.library-components-wrapper .ant-pagination-total-text{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color-secondary)!important}.library-components-wrapper .ant-progress-text{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-progress-inner{background-color:var(--background-color-light)!important;border-radius:4px!important}.library-components-wrapper .ant-progress-bg{border-radius:4px!important;transition:width .4s ease!important}.library-components-wrapper .ant-progress-status-success .ant-progress-bg{background-color:#52c41a!important}.library-components-wrapper .ant-progress-status-success .ant-progress-text{color:#52c41a!important}.library-components-wrapper .ant-progress-status-exception .ant-progress-bg{background-color:#ff4d4f!important}.library-components-wrapper .ant-progress-status-exception .ant-progress-text{color:#ff4d4f!important}.library-components-wrapper .ant-progress-status-active .ant-progress-bg:before{border-radius:4px!important}.library-components-wrapper .ant-progress-status-success .ant-progress-text .anticon,.library-components-wrapper .ant-progress-status-exception .ant-progress-text .anticon{font-size:var(--font-size-large)!important}.library-components-wrapper .ant-progress-circle .ant-progress-text{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important}.library-components-wrapper .ant-progress-steps-item{border-radius:2px!important}.library-components-wrapper .ant-progress-steps-item-active{background-color:var(--primary-color)!important}.ant-table-thead>tr>th{font-family:Open Sans,sans-serif!important;font-size:10px;font-weight:600}.ant-table-tbody>tr>td{font-family:var(--font-family)!important;font-size:var(--font-size-medium)!important}.ant-table-selection-column,.custom-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:0!important;text-align:center!important;vertical-align:middle!important}.ant-checkbox-wrapper{display:flex!important;justify-content:flex-start!important;align-items:center!important;height:25px!important;width:100%!important;margin:0!important;padding:0!important}.ant-checkbox{top:0!important;margin:0!important;height:16px!important;width:16px!important;min-width:16px!important;min-height:16px!important;position:relative!important;display:inline-block!important;line-height:1!important;box-sizing:border-box!important;transform:none!important;flex:none!important}.ant-checkbox-inner{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;position:relative!important;top:0!important;left:0!important;display:block!important;background-color:#fff!important;border:1px solid #d9d9d9!important;border-radius:2px!important;box-sizing:border-box!important}.library-components-wrapper .ant-checkbox-checked .ant-checkbox-inner{background-color:#1b1464!important;border-color:#1b1464!important}.library-components-wrapper .ant-checkbox-checked .ant-checkbox-inner:after{position:absolute!important;display:table!important;border:2px solid #fff!important;border-top:0!important;border-left:0!important;transform:rotate(45deg) scale(1)!important;opacity:1!important;content:" "!important;top:47%!important;left:22%!important;width:5.5px!important;height:9px!important;margin-top:-5px!important}.ant-table-row{height:25px!important}.ant-table-thead .ant-table-selection-column{text-align:center!important;vertical-align:middle!important}.ant-table-tbody>tr:empty{display:none!important}.ant-table-measure-row{display:none!important;height:0!important;visibility:hidden!important}.ant-table-tbody>tr>td:empty{min-height:0!important;height:auto!important}.ant-table-tbody>tr>td{padding:8px 16px!important;vertical-align:middle!important}.ant-table-wrapper,.ant-table{margin:0!important}.ant-table-thead .ant-checkbox-wrapper{margin:0!important;padding:0!important}.custom-table-container{width:100%;overflow-x:auto;overflow-y:visible}.custom-table-container .ant-table{min-width:100%}.custom-table-container .ant-table-wrapper{width:100%}.custom-table-container{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}.custom-table-container::-webkit-scrollbar{height:6px;width:6px}.custom-table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.custom-table-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.custom-table-container::-webkit-scrollbar-thumb:hover{background:#888}.fc{font-family:Open Sans,sans-serif;background:#fff;font-size:12px!important;width:100%!important}.fc-toolbar{background:#fff;border-bottom:1px solid #f0f0f0;padding:12px 0 8px}.fc-toolbar-title{color:#262626;font-size:12px!important;font-weight:600;letter-spacing:.5px;text-transform:capitalize}.fc-button,.fc-button-primary{background:#fff!important;border:1px solid #d9d9d9!important;color:#262626!important;font-weight:500;font-size:12px!important;padding:0 12px!important;border-radius:6px!important;height:24px!important;line-height:22px!important;margin:0 2px;transition:all .2s;box-shadow:none!important}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background:#e6f4ff;border-color:#1677ff;color:#1677ff}.fc .fc-button-primary:not(:disabled):hover{background:#f0f5ff;border-color:#1677ff;color:#1677ff}.fc .fc-button:focus{outline:none;box-shadow:0 0 0 2px #91caff33}.fc-button-active,.fc-button:active,.fc-button-primary:active{background:#e6f4ff!important;border-color:#1677ff!important;color:#1677ff!important}.fc-button-primary:hover,.fc-button:hover{background:#f5f5f5!important;color:#1677ff!important}.fc-col-header-cell{background:#fafafa;color:#262626;font-weight:500;border-bottom:1px solid #f0f0f0;padding:8px 0}.fc-daygrid-day,.fc-timegrid-col{background:#fff;border:1px solid #f0f0f0;transition:background .2s}.fc-daygrid-day.fc-day-today,.fc-timegrid-col.fc-day-today{background:#e6f7ff!important;border-color:#91d5ff!important}.fc-daygrid-day.fc-day-selected,.fc-timegrid-col.fc-day-selected{background:#bae7ff!important}.fc-event,.fc-daygrid-event,.fc-timegrid-event{background:#1677ff!important;color:#fff!important;border-radius:4px!important;border:none!important;font-size:.98em;font-weight:500;padding:2px 8px;box-shadow:0 1px 2px #1890ff1a;transition:background .2s}.fc-event:hover,.fc-daygrid-event:hover,.fc-timegrid-event:hover{background:#40a9ff!important}.fc-day-sat,.fc-day-sun{background:#fafafa}.fc-daygrid-day-number{color:#262626;font-weight:500;padding:4px}.fc-day-today .fc-daygrid-day-number,.fc-day-today .fc-timegrid-axis-cushion{background:#1677ff;color:#fff!important;border-radius:50%;padding:4px 8px}.fc-scrollgrid,.fc-scrollgrid-section,.fc-scrollgrid-sync-table,.fc-daygrid-body,.fc-daygrid{border:none!important}.fc-timegrid-slot{border-top:1px solid #f0f0f0!important}.fc-timegrid-axis,.fc-timegrid-divider{background:#fafafa!important}.fc-timegrid-event{margin:2px 0}.fc .fc-daygrid-day-frame{padding:2px 2px 5px}.fc,.fc-scrollgrid,.fc-scrollgrid-section,.fc-scrollgrid-sync-table,.fc-daygrid,.fc-daygrid-body{border:none!important;box-shadow:none!important}.fc-daygrid-day,.fc-timegrid-col{border:1px solid #f0f0f0;border-top:none;border-left:none}.fc-daygrid-day:first-child,.fc-timegrid-col:first-child{border-left:none}.fc-daygrid-week:first-child .fc-daygrid-day{border-top:none}.fc-daygrid-day:last-child{border-right:none}.fc-daygrid-week:last-child .fc-daygrid-day{border-bottom:none}/*!
2
2
  * Quill Editor v1.3.7
3
3
  * https://quilljs.com/
4
4
  * Copyright (c) 2014, Jason Chen
5
5
  * Copyright (c) 2013, salesforce.com
6
- */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.custom-rte-shell{position:relative;display:block}.custom-rte-resizer{position:absolute;right:3px;bottom:3px;width:16px;height:16px;cursor:ns-resize;touch-action:none;opacity:.35;border-radius:2px;transition:opacity .15s ease;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><g stroke='%238c8c8c' stroke-width='1.2' stroke-linecap='round'><line x1='11' y1='3' x2='3' y2='11'></line><line x1='12' y1='7' x2='7' y2='12'></line><line x1='13' y1='11' x2='11' y2='13'></line></g></svg>")}.custom-rte-resizer:hover,.custom-rte-resizer:focus-visible{opacity:.9;outline:2px solid #1b1464;outline-offset:1px}body.hp-rte-resizing,body.hp-rte-resizing *{cursor:ns-resize!important;-webkit-user-select:none!important;user-select:none!important}.custom-rich-text-editor{position:static;z-index:1}.custom-rich-text-editor .ql-container{overflow-y:auto!important;overflow-x:hidden!important}.custom-rich-text-editor .ql-editor{overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;line-height:1.42!important}.custom-rich-text-editor.fixed-height .ql-container{height:100%!important}.custom-rich-text-editor.fixed-height .ql-editor{height:100%!important;max-height:none!important}.custom-rich-text-editor.auto-resize .ql-container{height:auto!important;min-height:inherit!important;max-height:inherit!important}.custom-rich-text-editor.auto-resize .ql-editor{height:auto!important;min-height:inherit!important;max-height:inherit!important;overflow-y:auto!important}.custom-rich-text-editor .ql-editor::-webkit-scrollbar{width:8px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.custom-rich-text-editor .ql-toolbar{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #ccc!important;flex-shrink:0!important}.custom-rich-text-editor .ql-container{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:none!important;flex:1!important;display:flex!important;flex-direction:column!important}.custom-rich-text-editor .character-counter{padding:8px 26px 4px 12px;font-size:12px;color:#8c8c8c;text-align:right;border-top:1px solid #f0f0f0;background-color:#fafafa;flex-shrink:0}.custom-rich-text-editor .character-counter.near-limit{color:#faad14;font-weight:500}.custom-rich-text-editor .character-counter.at-limit{color:#ff4d4f;font-weight:600}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:after{content:"";display:inline-block;width:18px;height:18px;background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' xmlns='http://www.w3.org/2000/svg'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'></rect><line x1='3' y1='9' x2='21' y2='9'></line><line x1='3' y1='15' x2='21' y2='15'></line><line x1='9' y1='3' x2='9' y2='21'></line><line x1='15' y1='3' x2='15' y2='21'></line></svg>");background-size:contain;background-repeat:no-repeat;background-position:center;filter:opacity(.6)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:hover:after{filter:opacity(1)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable svg{display:none!important}.ant-collapse .ant-collapse-item .ant-collapse-header{display:flex!important;align-items:center!important;min-width:0!important}.ant-collapse .ant-collapse-item .ant-collapse-header>.ant-collapse-header-text,.ant-collapse .ant-collapse-item .ant-collapse-header>.ant-collapse-title{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}.hp-transfer .ant-transfer-list{display:flex;flex-direction:column;overflow:hidden}.hp-transfer .ant-transfer-list-header{flex:0 0 auto}.hp-transfer .ant-transfer-list-body{flex:1 1 auto;overflow:auto}.hp-transfer .ant-transfer-list-pagination{flex:0 0 auto;border-top:1px solid #f0f0f0;padding:6px 10px;white-space:nowrap;display:flex;justify-content:center;align-items:center;gap:6px}.hp-transfer .ant-transfer-list:first-of-type{margin-right:16px}.hp-transfer .ant-transfer-list:last-of-type{margin-left:16px}.hp-transfer .ant-transfer-list:first-of-type .ant-transfer-list-body{border-right:1px dashed #eee}.hp-transfer .ant-transfer-list:last-of-type .ant-transfer-list-body{border-left:1px dashed #eee}.hp-transfer{width:100%!important}.hp-transfer .ant-transfer-list{width:100%!important;position:relative!important;padding-bottom:48px!important}.hp-transfer .ant-transfer-list-body{padding:0!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}.hp-transfer .ant-transfer-list-search{margin:8px!important}.hp-transfer .ant-transfer-list-content{flex:1 1 auto!important;overflow:auto!important;position:relative!important;height:100%!important}.hp-transfer .hp-transfer-footer{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;border-top:1px solid #f0f0f0!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important;bottom:0!important;left:0!important;right:0!important;z-index:3;background:#fff;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px;padding:8px 16px!important;border-top:1px solid #f0f0f0;height:48px!important;box-sizing:border-box!important}.hp-transfer .hp-transfer-footer .ant-pagination{margin:0!important}.hp-table-transfer .ant-transfer-list{display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-transfer-list-body{flex:1 1 auto!important;min-height:0!important}.hp-table-transfer .ant-transfer-list-body .ant-table-wrapper,.hp-table-transfer .ant-transfer-list-body .ant-table-container{height:100%!important;display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-table-header{position:static!important;z-index:auto!important;background:#fff!important;flex:0 0 auto!important;display:block!important;visibility:visible!important}.hp-table-transfer .ant-table-header table{margin-bottom:0!important}.hp-table-transfer .ant-table-header .ant-table-thead{display:table-header-group!important}.hp-table_transfer .ant-table-header .ant-table-thead>tr>th{display:table-cell!important;background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;font-weight:600!important;line-height:22px!important;padding:8px!important}.hp-table-transfer .ant-table-body{flex:1 1 auto!important;overflow:auto!important;padding-bottom:56px!important}.hp-table-transfer .ant-table-thead{display:table-header-group!important}.hp-table-transfer .ant-table-thead>tr>th{line-height:22px!important;padding-top:8px!important;padding-bottom:8px!important;font-weight:600!important;display:table-cell!important}.hp-table-transfer .ant-table-thead>tr>th,.hp-table-transfer .ant-table-tbody>tr>td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hp-table-transfer .ant-table-tbody>tr:hover>td{background:#fafafa!important}.hp-table-transfer .ant-table-placeholder{margin:0!important}.hp-transfer .ant-transfer-operation{gap:6px!important}.hp-transfer .ant-transfer-operation .ant-btn{border-radius:8px!important}.hp-transfer .ant-pagination-simple .ant-pagination-prev,.hp-transfer .ant-pagination-simple .ant-pagination-next{min-width:24px!important}.hp-table-transfer .ant-transfer-list-content{overflow:visible!important;height:auto!important}.hp-table-transfer .ant-table{height:100%!important}.hp-table-transfer .ant-table-header thead{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important}.hp-table-transfer .ant-table-header thead th{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;position:relative!important;z-index:1!important}.hp-transfer-no-header .ant-transfer-list-header{display:none!important}.hp-transfer-no-header .ant-transfer-list-body{padding-top:0!important}.hp-transfer .ant-pagination,.hp-transfer .ant-pagination .ant-pagination-prev,.hp-transfer .ant-pagination .ant-pagination-next{color:#000000e0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-pagination .ant-pagination-simple-pager{color:#000000e0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager input,.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager .ant-pagination-slash{display:inline-block!important;vertical-align:middle!important}.hp-transfer .ant-pagination .ant-select-dropdown,.hp-transfer .ant-pagination .ant-dropdown,.hp-transfer .ant-pagination .rc-virtual-list,.hp-transfer .ant-pagination .ant-select-selector{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown-menu,.hp-transfer .ant-pagination .ant-dropdown-menu,.hp-transfer .ant-pagination .ant-tooltip{display:block!important;position:absolute!important}.hp-transfer .ant-pagination .ant-select,.hp-transfer .ant-pagination .ant-select .ant-select-arrow{display:inline-block!important}.hp-transfer .ant-pagination .ant-select-item,.hp-transfer .ant-pagination .ant-select-item-option{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:absolute!important;z-index:1050!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative!important;display:flex!important;align-items:center!important}.hp-transfer .ant-pagination .ant-select-dropdown{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-dropdown-hidden{display:none!important}.hp-transfer .ant-transfer-list-footer{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-transfer-list-footer>*{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important}.hp-transfer .ant-pagination .ant-select-item{cursor:pointer!important;pointer-events:auto!important}.hp-transfer .ant-transfer-list-footer:before,.hp-transfer .ant-transfer-list-footer:after{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select-selector{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-pagination .ant-select-focused .ant-select-selector,.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important;outline:none!important}.hp-transfer .ant-pagination .ant-select{vertical-align:middle!important;line-height:normal!important}.hp-transfer .ant-pagination .ant-select-dropdown{margin-top:4px!important}.hp-transfer .ant-transfer-list-footer{overflow:visible!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:fixed!important;z-index:1050!important;pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-selection-search{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-disabled){cursor:pointer!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:pointer!important;transition:all .3s cubic-bezier(.645,.045,.355,1)!important}.hp-transfer{position:relative!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important}.hp-transfer .ant-pagination .ant-pagination-slash{color:#00000073!important;margin:0 8px!important}.hp-transfer .ant-pagination-simple-pager input{color:#000000e0!important;text-align:center!important;min-width:40px!important}.hp-transfer .ant-pagination-simple{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important}.hp-transfer .ant-transfer-list:first-child{border-right:1px solid #f0f0f0}.hp-transfer .ant-transfer-list-footer .ant-pagination-prev,.hp-transfer .ant-transfer-list-footer .ant-pagination-next{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important}.hp-transfer .ant-transfer-list-footer *{white-space:nowrap!important}.hp-transfer .ant-transfer-list-footer .ant-select-dropdown{z-index:1060!important}.hp-transfer.hp-table-transfer{min-height:420px!important}.hp-transfer .ant-pagination-simple-pager{color:#000000e0!important;font-weight:500!important}.hp-transfer .ant-table-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:8px 4px!important;text-align:center!important;vertical-align:middle!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{display:flex!important;width:100%!important;height:100%!important;min-height:32px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:4px!important;cursor:pointer!important}.hp-transfer .ant-table-selection-column .ant-checkbox{margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper:before{content:"";position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1!important}.hp-transfer .ant-table table{table-layout:fixed!important;width:100%!important}.hp-transfer .ant-table-header{overflow:hidden!important;background:#fff!important;z-index:2!important}.hp-transfer .ant-table-tbody>tr>td,.hp-transfer .ant-table-thead>tr>th{position:relative}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column,.hp-transfer .ant-table-thead>tr>th.ant-table-selection-column{position:relative!important;z-index:10!important;overflow:visible!important}.hp-transfer .ant-table-tbody>tr:hover>td.ant-table-selection-column{background-color:#f5f5f5!important}.hp-transfer .ant-table-selection-column .ant-checkbox-input{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:5!important}.hp-transfer .ant-table-selection-column *{pointer-events:auto!important}.hp-transfer .ant-table-selection-column{cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.hp-transfer .ant-table-selection-column:active{background-color:#e6f7ff!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{position:relative!important;z-index:15!important}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column:before{content:none!important}@media (hover: none) and (pointer: coarse){.hp-transfer .ant-table-selection-column{min-height:44px!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{min-height:44px!important;padding:8px!important}}.custom-relation-selector{width:100%}.relation-selector-card{height:100%;display:flex;flex-direction:column}.relation-selector-card .ant-card-body{flex:1;display:flex;flex-direction:column;overflow:visible!important}.relation-selector-filters{margin-bottom:0}.relation-selector-error{margin-bottom:16px}.custom-relation-selector .relation-selector-card .relation-selector-table{flex:1;margin-top:0;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-wrapper{height:auto!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-container,.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-header{overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{margin-top:0!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-body{overflow-y:auto!important;overflow-x:auto!important;position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-content{overflow:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{table-layout:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr,.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.relation-selector-action{margin-top:16px;display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid #f0f0f0}.relation-selector-list{max-height:450px;overflow-y:auto;overflow-x:hidden}.relation-selector-list .ant-list-item{padding:10px 0;transition:background-color .3s}.relation-selector-list .ant-list-item:hover{background-color:var(--background-color-light)!important;border-radius:4px}.relation-selector-loading{display:flex;justify-content:center;align-items:center;min-height:200px;padding:40px 0}@media (max-width: 768px){.relation-selector-action{justify-content:center}.relation-selector-action button{width:100%}.relation-selector-list{max-height:400px}}.custom-carousel-wrapper{width:100%}.custom-carousel-wrapper .slick-slider{position:relative}.custom-carousel-wrapper .slick-list{overflow:hidden;margin:0;padding:0}.custom-carousel-wrapper .slick-track{display:flex}.custom-carousel-wrapper .slick-dots{position:absolute;bottom:12px;display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;z-index:10}.custom-carousel-wrapper .slick-dots li{margin:0 4px}.custom-carousel-wrapper .slick-dots li button{width:16px;height:4px;border:none;border-radius:2px;background-color:#ffffff80;cursor:pointer;padding:0;transition:all .3s ease}.custom-carousel-wrapper .slick-dots li.slick-active button{width:24px;height:6px;border-radius:3px;background-color:var(--primary-color)}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{position:absolute;top:50%;transform:translateY(-50%);width:20px;height:20px;display:flex!important;align-items:center!important;justify-content:center!important;background-color:#fffc;border:1px solid var(--border-color);border-radius:50%;cursor:pointer;z-index:10;transition:all .3s ease;padding:0;color:var(--text-color);box-shadow:0 2px 4px #0000000d}.custom-carousel-wrapper .slick-prev.slick-hidden,.custom-carousel-wrapper .slick-next.slick-hidden,.custom-carousel-wrapper .slick-arrow.slick-hidden{display:none!important}.custom-carousel-wrapper .slick-prev:hover,.custom-carousel-wrapper .slick-next:hover{background-color:var(--primary-color);border-color:var(--primary-color);color:#fff}.custom-carousel-wrapper .slick-prev{left:10px}.custom-carousel-wrapper .slick-next{right:10px}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{display:flex!important;align-items:center!important;justify-content:center!important;font-size:14px!important;line-height:1!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*,.custom-carousel-wrapper .slick-prev svg,.custom-carousel-wrapper .slick-next svg{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important;width:10px!important;height:10px!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important}.custom-carousel-wrapper .slick-prev:before,.custom-carousel-wrapper .slick-next:before{display:none!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{width:10px!important;height:10px!important;position:static!important;margin:auto!important;inset:auto!important;display:block!important}.custom-carousel-wrapper .slick-prev:after{margin-right:5px!important}.custom-carousel-wrapper .slick-next:after{margin-left:5px!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{font-size:14px!important;width:8px!important;height:8px!important;line-height:1!important;background-size:contain!important}.custom-carousel-wrapper .slick-slide>div{width:100%}.custom-carousel-wrapper .slick-slide.slick-active{width:100%}.recently-viewed-list{width:100%;min-width:0;overflow:hidden;color:var(--text-color);font-family:var(--font-family);font-size:var(--font-size-medium)}.recently-viewed-list__items{display:flex;flex-flow:row nowrap;gap:var(--spacing-sm);width:100%;height:calc(var(--button-height) + (2 * var(--spacing-xs)));margin:0 0 var(--spacing-xs);padding:0;overflow:hidden;list-style:none}.recently-viewed-list__item{display:flex;flex:0 0 min(220px,100%);align-items:center;min-width:0;height:calc(var(--button-height) + (2 * var(--spacing-xs)));padding:var(--spacing-xs);overflow:hidden;border:1px solid var(--border-color);border-radius:4px;background:var(--background-color-card)}.recently-viewed-list__item--current{border-color:var(--primary-color);background:var(--background-color-light)}.recently-viewed-list__navigate.ant-btn{min-width:0;height:var(--button-height)!important;flex:1 1 auto;justify-content:flex-start!important;padding:0 var(--spacing-xs)!important;overflow:hidden;border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--text-color)!important;text-align:left}.recently-viewed-list__navigate.ant-btn>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recently-viewed-list__item--current .recently-viewed-list__navigate.ant-btn{color:var(--primary-color)!important;font-weight:var(--font-weight-semibold)}.recently-viewed-list__navigate.ant-btn:hover{color:var(--primary-hover)!important}.recently-viewed-list__remove.ant-btn{width:var(--button-height);min-width:var(--button-height);height:var(--button-height)!important;flex:0 0 var(--button-height);padding:0!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--text-color-secondary)!important}.recently-viewed-list__remove.ant-btn:hover{color:var(--primary-hover)!important}.recently-viewed-list__remove.ant-btn>.ant-btn-icon+span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.recently-viewed-list__navigate.ant-btn:focus-visible,.recently-viewed-list__remove.ant-btn:focus-visible,.recently-viewed-list:focus-visible{outline:2px solid var(--primary-color)!important;outline-offset:2px}.recently-viewed-list__announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (prefers-reduced-motion: reduce){.recently-viewed-list .ant-btn{transition:none!important}}.library-components-wrapper .ant-tree{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important;background:transparent!important}.library-components-wrapper .ant-tree .ant-tree-treenode{padding-bottom:2px!important;align-items:center!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper:hover{background-color:var(--background-color-light)!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:var(--primary-color)!important;color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-title{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-tree .ant-tree-switcher{color:var(--text-color)!important}.library-components-wrapper .ant-tree .ant-tree-switcher-noop{color:var(--text-color-disabled)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox .ant-tree-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;border-color:var(--border-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:var(--primary-hover)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-indent-unit:before{border-color:var(--border-color)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-switcher{color:var(--text-color)!important;background-color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:var(--text-color-disabled)!important;cursor:not-allowed!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background-color:transparent!important}.library-components-wrapper .ant-tree .ant-tree-iconEle{color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-node-selected .ant-tree-iconEle{color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-draggable-icon{color:var(--text-color-disabled)!important;opacity:.6!important}.library-components-wrapper .ant-tree .ant-tree-drop-indicator{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:before{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background-color:var(--background-color-light)!important}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),u=require("antd"),x=require("react"),Qe=require("dayjs"),or=require("@fullcalendar/react"),sr=require("@fullcalendar/daygrid"),ir=require("@fullcalendar/timegrid"),ar=require("@fullcalendar/interaction"),Me=require("react-quill"),Ne=require("react-beautiful-dnd");function lr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const E=lr(x),cr=e=>n.jsx(u.Alert,{...e}),J=x.forwardRef(({className:e,text:t,type:r,onClick:o,icon:s,style:i,disabled:a=!1,loading:d=!1,danger:l=!1,onMouseEnter:c,htmlType:m="button",badge:f,tooltip:p},h)=>{const v=n.jsx(u.Button,{ref:h,danger:l,type:r,onClick:o,icon:s,style:{...i,fontSize:"var(--font-size-medium)",fontWeight:"var(--font-weight-semibold",fontFamily:"var(--font-family)"},size:"small",disabled:a,loading:d,className:`${e||""}`,onMouseEnter:c,htmlType:m,children:t});let w=v;return f&&(w=n.jsx(u.Badge,{count:f.text||f.count,dot:f.dot,color:f.color,showZero:f.showZero,overflowCount:f.overflowCount,offset:f.offset,children:v})),p?n.jsx(u.Tooltip,{title:p,children:w}):w});J.displayName="CustomButton";const dr=({size:e="default",shape:t="circle",src:r,icon:o,alt:s,children:i,style:a,className:d,gap:l,...c})=>n.jsx(u.Avatar,{size:e,shape:t,src:r,icon:o,alt:s,style:{fontSize:"var(--font-size-medium)",...a},className:d,gap:l,...c,children:i}),ur=({size:e="default",shape:t="circle",max:r,className:o,style:s,children:i})=>n.jsx(u.Avatar.Group,{size:e,shape:t,max:r,className:o,style:{fontSize:"var(--font-size-medium)",...s},children:i}),gt=({label:e,...t})=>n.jsx(u.Checkbox,{...t,children:e}),fr=({groupLabel:e,direction:t="horizontal",style:r,...o})=>{const s={...r,...t==="vertical"&&{display:"flex",flexDirection:"column",gap:"8px"}};return n.jsxs("div",{children:[e&&n.jsx("div",{style:{marginBottom:"8px",fontWeight:"500"},children:e}),n.jsx(u.Checkbox.Group,{...o,style:s})]})};gt.Group=fr;function de(e){"@babel/helpers - typeof";return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},de(e)}function mr(e,t){if(de(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(de(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hr(e){var t=mr(e,"string");return de(t)=="symbol"?t:t+""}function K(e,t,r){return(t=hr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,o)}return r}function X(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Je(Object(r),!0).forEach(function(o){K(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Je(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}var Fe={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},pr=X(X({},Fe),{},{locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",week:"Semana",month:"Mes",year:"Año",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un año",decadeSelect:"Elegir una década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"Año anterior (Control + left)",nextYear:"Año siguiente (Control + right)",previousDecade:"Década anterior",nextDecade:"Década siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"});const gr={placeholder:"Seleccionar hora"},yr={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"],shortWeekDays:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],shortMonths:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]},pr),timePickerLocale:Object.assign({},gr)};var xr=X(X({},Fe),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const vr={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},br={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},xr),timePickerLocale:Object.assign({},vr)};var wr=X(X({},Fe),{},{locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"OK",clear:"Limpar",week:"Semana",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher mês",yearSelect:"Escolher ano",decadeSelect:"Escolher década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Próximo mês (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Próximo ano (Control + direita)",previousDecade:"Década anterior",nextDecade:"Próxima década",previousCentury:"Século anterior",nextCentury:"Próximo século",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]});const Cr={placeholder:"Hora"},jr={lang:Object.assign({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},wr),timePickerLocale:Object.assign({},Cr)},yt={es:yr,en:br,pt:jr},xt=e=>(e==null?void 0:e.parentElement)||document.body,vt=x.forwardRef(({localeCode:e="es",label:t,required:r,getPopupContainer:o,...s},i)=>{const a=yt[e],d=n.jsx(u.DatePicker,{ref:i,...s,getPopupContainer:o??xt,locale:a});return t?n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[r&&n.jsx("span",{style:{color:"red"},children:"* "}),t]}),d]}):d});vt.displayName="CustomDatePicker";const bt=x.forwardRef(({localeCode:e="es",label:t,required:r,getPopupContainer:o,...s},i)=>{const a=yt[e],d=n.jsx(u.DatePicker.RangePicker,{ref:i,...s,getPopupContainer:o??xt,locale:a});return t?n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[r&&n.jsx("span",{style:{color:"red"},children:"* "}),t]}),d]}):d});bt.displayName="CustomDatePicker.RangePicker";const je=vt;je.RangePicker=bt;function wt(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=wt(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Sr(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=wt(e))&&(o&&(o+=" "),o+=t);return o}const Tr=({text:e,textPosition:t="center",type:r="horizontal",className:o,...s})=>n.jsx(u.Divider,{...s,orientation:r==="horizontal"?t:void 0,type:r,className:Sr("hp-divider text-sm font-semibold",o),children:e}),kr=({title:e,children:t,...r})=>n.jsx(u.Drawer,{title:e,...r,children:t});var Ct=x.createContext({});function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},G.apply(null,arguments)}function Or(e){if(Array.isArray(e))return e}function Er(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,s,i,a,d=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(l=(o=i.call(r)).done)&&(d.push(o.value),d.length!==t);l=!0);}catch(m){c=!0,s=m}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw s}}return d}}function et(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Nr(e,t){if(e){if(typeof e=="string")return et(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?et(e,t):void 0}}function zr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.custom-rte-shell{position:relative;display:block}.custom-rte-resizer{position:static;width:16px;height:16px;cursor:ns-resize;touch-action:none;opacity:.35;border-radius:2px;transition:opacity .15s ease;flex:0 0 auto;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><g stroke='%238c8c8c' stroke-width='1.2' stroke-linecap='round'><line x1='11' y1='3' x2='3' y2='11'></line><line x1='12' y1='7' x2='7' y2='12'></line><line x1='13' y1='11' x2='11' y2='13'></line></g></svg>")}.custom-rte-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:6px 10px 4px;border-top:1px solid #f0f0f0;background-color:#fafafa;flex-shrink:0}.custom-rte-resizer:hover,.custom-rte-resizer:focus-visible{opacity:.9;outline:2px solid #1b1464;outline-offset:1px}body.hp-rte-resizing,body.hp-rte-resizing *{cursor:ns-resize!important;-webkit-user-select:none!important;user-select:none!important}.custom-rich-text-editor{position:static;z-index:1}.custom-rich-text-editor .ql-container{overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important}.custom-rich-text-editor .ql-editor{overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;line-height:1.42!important}.custom-rich-text-editor.fixed-height .ql-container{height:100%!important}.custom-rich-text-editor.fixed-height .ql-editor{height:100%!important;max-height:none!important}.custom-rich-text-editor.auto-resize .ql-container{height:auto!important;min-height:inherit!important;max-height:inherit!important}.custom-rich-text-editor.auto-resize .ql-editor{height:auto!important;min-height:inherit!important;max-height:inherit!important;overflow-y:auto!important}.custom-rich-text-editor .ql-editor::-webkit-scrollbar{width:8px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.custom-rich-text-editor .ql-toolbar{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #ccc!important;flex-shrink:0!important}.custom-rich-text-editor .ql-container{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:none!important;flex:1!important;display:flex!important;flex-direction:column!important}.custom-rich-text-editor .character-counter{font-size:12px;color:#8c8c8c;text-align:right;flex-shrink:0}.custom-rich-text-editor .character-counter.near-limit{color:#faad14;font-weight:500}.custom-rich-text-editor .character-counter.at-limit{color:#ff4d4f;font-weight:600}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:after{content:"";display:inline-block;width:18px;height:18px;background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' xmlns='http://www.w3.org/2000/svg'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'></rect><line x1='3' y1='9' x2='21' y2='9'></line><line x1='3' y1='15' x2='21' y2='15'></line><line x1='9' y1='3' x2='9' y2='21'></line><line x1='15' y1='3' x2='15' y2='21'></line></svg>");background-size:contain;background-repeat:no-repeat;background-position:center;filter:opacity(.6)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:hover:after{filter:opacity(1)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable svg{display:none!important}.ant-collapse .ant-collapse-item .ant-collapse-header{display:flex!important;align-items:center!important;min-width:0!important}.ant-collapse .ant-collapse-item .ant-collapse-header>.ant-collapse-header-text,.ant-collapse .ant-collapse-item .ant-collapse-header>.ant-collapse-title{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}.hp-transfer .ant-transfer-list{display:flex;flex-direction:column;overflow:hidden}.hp-transfer .ant-transfer-list-header{flex:0 0 auto}.hp-transfer .ant-transfer-list-body{flex:1 1 auto;overflow:auto}.hp-transfer .ant-transfer-list-pagination{flex:0 0 auto;border-top:1px solid #f0f0f0;padding:6px 10px;white-space:nowrap;display:flex;justify-content:center;align-items:center;gap:6px}.hp-transfer .ant-transfer-list:first-of-type{margin-right:16px}.hp-transfer .ant-transfer-list:last-of-type{margin-left:16px}.hp-transfer .ant-transfer-list:first-of-type .ant-transfer-list-body{border-right:1px dashed #eee}.hp-transfer .ant-transfer-list:last-of-type .ant-transfer-list-body{border-left:1px dashed #eee}.hp-transfer{width:100%!important}.hp-transfer .ant-transfer-list{width:100%!important;position:relative!important;padding-bottom:48px!important}.hp-transfer .ant-transfer-list-body{padding:0!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}.hp-transfer .ant-transfer-list-search{margin:8px!important}.hp-transfer .ant-transfer-list-content{flex:1 1 auto!important;overflow:auto!important;position:relative!important;height:100%!important}.hp-transfer .hp-transfer-footer{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;border-top:1px solid #f0f0f0!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important;bottom:0!important;left:0!important;right:0!important;z-index:3;background:#fff;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px;padding:8px 16px!important;border-top:1px solid #f0f0f0;height:48px!important;box-sizing:border-box!important}.hp-transfer .hp-transfer-footer .ant-pagination{margin:0!important}.hp-table-transfer .ant-transfer-list{display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-transfer-list-body{flex:1 1 auto!important;min-height:0!important}.hp-table-transfer .ant-transfer-list-body .ant-table-wrapper,.hp-table-transfer .ant-transfer-list-body .ant-table-container{height:100%!important;display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-table-header{position:static!important;z-index:auto!important;background:#fff!important;flex:0 0 auto!important;display:block!important;visibility:visible!important}.hp-table-transfer .ant-table-header table{margin-bottom:0!important}.hp-table-transfer .ant-table-header .ant-table-thead{display:table-header-group!important}.hp-table_transfer .ant-table-header .ant-table-thead>tr>th{display:table-cell!important;background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;font-weight:600!important;line-height:22px!important;padding:8px!important}.hp-table-transfer .ant-table-body{flex:1 1 auto!important;overflow:auto!important;padding-bottom:56px!important}.hp-table-transfer .ant-table-thead{display:table-header-group!important}.hp-table-transfer .ant-table-thead>tr>th{line-height:22px!important;padding-top:8px!important;padding-bottom:8px!important;font-weight:600!important;display:table-cell!important}.hp-table-transfer .ant-table-thead>tr>th,.hp-table-transfer .ant-table-tbody>tr>td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hp-table-transfer .ant-table-tbody>tr:hover>td{background:#fafafa!important}.hp-table-transfer .ant-table-placeholder{margin:0!important}.hp-transfer .ant-transfer-operation{gap:6px!important}.hp-transfer .ant-transfer-operation .ant-btn{border-radius:8px!important}.hp-transfer .ant-pagination-simple .ant-pagination-prev,.hp-transfer .ant-pagination-simple .ant-pagination-next{min-width:24px!important}.hp-table-transfer .ant-transfer-list-content{overflow:visible!important;height:auto!important}.hp-table-transfer .ant-table{height:100%!important}.hp-table-transfer .ant-table-header thead{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important}.hp-table-transfer .ant-table-header thead th{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;position:relative!important;z-index:1!important}.hp-transfer-no-header .ant-transfer-list-header{display:none!important}.hp-transfer-no-header .ant-transfer-list-body{padding-top:0!important}.hp-transfer .ant-pagination,.hp-transfer .ant-pagination .ant-pagination-prev,.hp-transfer .ant-pagination .ant-pagination-next{color:#000000e0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-pagination .ant-pagination-simple-pager{color:#000000e0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager input,.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager .ant-pagination-slash{display:inline-block!important;vertical-align:middle!important}.hp-transfer .ant-pagination .ant-select-dropdown,.hp-transfer .ant-pagination .ant-dropdown,.hp-transfer .ant-pagination .rc-virtual-list,.hp-transfer .ant-pagination .ant-select-selector{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown-menu,.hp-transfer .ant-pagination .ant-dropdown-menu,.hp-transfer .ant-pagination .ant-tooltip{display:block!important;position:absolute!important}.hp-transfer .ant-pagination .ant-select,.hp-transfer .ant-pagination .ant-select .ant-select-arrow{display:inline-block!important}.hp-transfer .ant-pagination .ant-select-item,.hp-transfer .ant-pagination .ant-select-item-option{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:absolute!important;z-index:1050!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative!important;display:flex!important;align-items:center!important}.hp-transfer .ant-pagination .ant-select-dropdown{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-dropdown-hidden{display:none!important}.hp-transfer .ant-transfer-list-footer{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-transfer-list-footer>*{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important}.hp-transfer .ant-pagination .ant-select-item{cursor:pointer!important;pointer-events:auto!important}.hp-transfer .ant-transfer-list-footer:before,.hp-transfer .ant-transfer-list-footer:after{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select-selector{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-pagination .ant-select-focused .ant-select-selector,.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important;outline:none!important}.hp-transfer .ant-pagination .ant-select{vertical-align:middle!important;line-height:normal!important}.hp-transfer .ant-pagination .ant-select-dropdown{margin-top:4px!important}.hp-transfer .ant-transfer-list-footer{overflow:visible!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:fixed!important;z-index:1050!important;pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-selection-search{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-disabled){cursor:pointer!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:pointer!important;transition:all .3s cubic-bezier(.645,.045,.355,1)!important}.hp-transfer{position:relative!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important}.hp-transfer .ant-pagination .ant-pagination-slash{color:#00000073!important;margin:0 8px!important}.hp-transfer .ant-pagination-simple-pager input{color:#000000e0!important;text-align:center!important;min-width:40px!important}.hp-transfer .ant-pagination-simple{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important}.hp-transfer .ant-transfer-list:first-child{border-right:1px solid #f0f0f0}.hp-transfer .ant-transfer-list-footer .ant-pagination-prev,.hp-transfer .ant-transfer-list-footer .ant-pagination-next{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important}.hp-transfer .ant-transfer-list-footer *{white-space:nowrap!important}.hp-transfer .ant-transfer-list-footer .ant-select-dropdown{z-index:1060!important}.hp-transfer.hp-table-transfer{min-height:420px!important}.hp-transfer .ant-pagination-simple-pager{color:#000000e0!important;font-weight:500!important}.hp-transfer .ant-table-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:8px 4px!important;text-align:center!important;vertical-align:middle!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{display:flex!important;width:100%!important;height:100%!important;min-height:32px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:4px!important;cursor:pointer!important}.hp-transfer .ant-table-selection-column .ant-checkbox{margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper:before{content:"";position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1!important}.hp-transfer .ant-table table{table-layout:fixed!important;width:100%!important}.hp-transfer .ant-table-header{overflow:hidden!important;background:#fff!important;z-index:2!important}.hp-transfer .ant-table-tbody>tr>td,.hp-transfer .ant-table-thead>tr>th{position:relative}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column,.hp-transfer .ant-table-thead>tr>th.ant-table-selection-column{position:relative!important;z-index:10!important;overflow:visible!important}.hp-transfer .ant-table-tbody>tr:hover>td.ant-table-selection-column{background-color:#f5f5f5!important}.hp-transfer .ant-table-selection-column .ant-checkbox-input{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:5!important}.hp-transfer .ant-table-selection-column *{pointer-events:auto!important}.hp-transfer .ant-table-selection-column{cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.hp-transfer .ant-table-selection-column:active{background-color:#e6f7ff!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{position:relative!important;z-index:15!important}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column:before{content:none!important}@media (hover: none) and (pointer: coarse){.hp-transfer .ant-table-selection-column{min-height:44px!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{min-height:44px!important;padding:8px!important}}.custom-relation-selector{width:100%}.relation-selector-card{height:100%;display:flex;flex-direction:column}.relation-selector-card .ant-card-body{flex:1;display:flex;flex-direction:column;overflow:visible!important}.relation-selector-filters{margin-bottom:0}.relation-selector-error{margin-bottom:16px}.custom-relation-selector .relation-selector-card .relation-selector-table{flex:1;margin-top:0;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-wrapper{height:auto!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-container,.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-header{overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{margin-top:0!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-body{overflow-y:auto!important;overflow-x:auto!important;position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-content{overflow:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{table-layout:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr,.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.relation-selector-action{margin-top:16px;display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid #f0f0f0}.relation-selector-list{max-height:450px;overflow-y:auto;overflow-x:hidden}.relation-selector-list .ant-list-item{padding:10px 0;transition:background-color .3s}.relation-selector-list .ant-list-item:hover{background-color:var(--background-color-light)!important;border-radius:4px}.relation-selector-loading{display:flex;justify-content:center;align-items:center;min-height:200px;padding:40px 0}@media (max-width: 768px){.relation-selector-action{justify-content:center}.relation-selector-action button{width:100%}.relation-selector-list{max-height:400px}}.custom-carousel-wrapper{width:100%}.custom-carousel-wrapper .slick-slider{position:relative}.custom-carousel-wrapper .slick-list{overflow:hidden;margin:0;padding:0}.custom-carousel-wrapper .slick-track{display:flex}.custom-carousel-wrapper .slick-dots{position:absolute;bottom:12px;display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;z-index:10}.custom-carousel-wrapper .slick-dots li{margin:0 4px}.custom-carousel-wrapper .slick-dots li button{width:16px;height:4px;border:none;border-radius:2px;background-color:#ffffff80;cursor:pointer;padding:0;transition:all .3s ease}.custom-carousel-wrapper .slick-dots li.slick-active button{width:24px;height:6px;border-radius:3px;background-color:var(--primary-color)}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{position:absolute;top:50%;transform:translateY(-50%);width:20px;height:20px;display:flex!important;align-items:center!important;justify-content:center!important;background-color:#fffc;border:1px solid var(--border-color);border-radius:50%;cursor:pointer;z-index:10;transition:all .3s ease;padding:0;color:var(--text-color);box-shadow:0 2px 4px #0000000d}.custom-carousel-wrapper .slick-prev.slick-hidden,.custom-carousel-wrapper .slick-next.slick-hidden,.custom-carousel-wrapper .slick-arrow.slick-hidden{display:none!important}.custom-carousel-wrapper .slick-prev:hover,.custom-carousel-wrapper .slick-next:hover{background-color:var(--primary-color);border-color:var(--primary-color);color:#fff}.custom-carousel-wrapper .slick-prev{left:10px}.custom-carousel-wrapper .slick-next{right:10px}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{display:flex!important;align-items:center!important;justify-content:center!important;font-size:14px!important;line-height:1!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*,.custom-carousel-wrapper .slick-prev svg,.custom-carousel-wrapper .slick-next svg{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important;width:10px!important;height:10px!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important}.custom-carousel-wrapper .slick-prev:before,.custom-carousel-wrapper .slick-next:before{display:none!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{width:10px!important;height:10px!important;position:static!important;margin:auto!important;inset:auto!important;display:block!important}.custom-carousel-wrapper .slick-prev:after{margin-right:5px!important}.custom-carousel-wrapper .slick-next:after{margin-left:5px!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{font-size:14px!important;width:8px!important;height:8px!important;line-height:1!important;background-size:contain!important}.custom-carousel-wrapper .slick-slide>div{width:100%}.custom-carousel-wrapper .slick-slide.slick-active{width:100%}.recently-viewed-list{width:100%;min-width:0;overflow:hidden;color:var(--text-color);font-family:var(--font-family);font-size:var(--font-size-medium)}.recently-viewed-list__items{display:flex;flex-flow:row nowrap;gap:var(--spacing-sm);width:100%;height:calc(var(--button-height) + (2 * var(--spacing-xs)));margin:0 0 var(--spacing-xs);padding:0;overflow:hidden;list-style:none}.recently-viewed-list__item{display:flex;flex:0 0 min(220px,100%);align-items:center;min-width:0;height:calc(var(--button-height) + (2 * var(--spacing-xs)));padding:var(--spacing-xs);overflow:hidden;border:1px solid var(--border-color);border-radius:4px;background:var(--background-color-card)}.recently-viewed-list__item--current{border-color:var(--primary-color);background:var(--primary-color)}.recently-viewed-list__navigate.ant-btn{min-width:0;height:var(--button-height)!important;flex:1 1 auto;justify-content:flex-start!important;padding:0 var(--spacing-xs)!important;overflow:hidden;border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--text-color)!important;text-align:left}.recently-viewed-list__navigate.ant-btn>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recently-viewed-list__item--current .recently-viewed-list__navigate.ant-btn{color:#fff!important;font-weight:var(--font-weight-semibold)}.recently-viewed-list__navigate.ant-btn:hover{color:var(--primary-hover)!important}.recently-viewed-list__remove.ant-btn{width:var(--button-height);min-width:var(--button-height);height:var(--button-height)!important;flex:0 0 var(--button-height);padding:0!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--text-color-secondary)!important}.recently-viewed-list__remove.ant-btn:hover{color:var(--primary-hover)!important}.recently-viewed-list__item--current .recently-viewed-list__navigate.ant-btn:hover,.recently-viewed-list__item--current .recently-viewed-list__remove.ant-btn{color:#fff!important}.recently-viewed-list__item--current .recently-viewed-list__remove.ant-btn:hover{background:var(--primary-hover)!important}.recently-viewed-list__remove.ant-btn>.ant-btn-icon+span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.recently-viewed-list__navigate.ant-btn:focus-visible,.recently-viewed-list__remove.ant-btn:focus-visible,.recently-viewed-list:focus-visible{outline:2px solid var(--primary-color)!important;outline-offset:2px}.recently-viewed-list__item--current .recently-viewed-list__navigate.ant-btn:focus-visible,.recently-viewed-list__item--current .recently-viewed-list__remove.ant-btn:focus-visible{outline-color:#fff!important;outline-offset:-2px}.recently-viewed-list__announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (prefers-reduced-motion: reduce){.recently-viewed-list .ant-btn{transition:none!important}}.library-components-wrapper .ant-tree{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important;background:transparent!important}.library-components-wrapper .ant-tree .ant-tree-treenode{padding-bottom:2px!important;align-items:center!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper:hover{background-color:var(--background-color-light)!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:var(--primary-color)!important;color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-title{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-tree .ant-tree-switcher{color:var(--text-color)!important}.library-components-wrapper .ant-tree .ant-tree-switcher-noop{color:var(--text-color-disabled)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox .ant-tree-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;border-color:var(--border-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:var(--primary-hover)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-indent-unit:before{border-color:var(--border-color)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-switcher{color:var(--text-color)!important;background-color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:var(--text-color-disabled)!important;cursor:not-allowed!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background-color:transparent!important}.library-components-wrapper .ant-tree .ant-tree-iconEle{color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-node-selected .ant-tree-iconEle{color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-draggable-icon{color:var(--text-color-disabled)!important;opacity:.6!important}.library-components-wrapper .ant-tree .ant-tree-drop-indicator{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:before{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background-color:var(--background-color-light)!important}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
7
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),u=require("antd"),x=require("react"),Qe=require("dayjs"),or=require("@fullcalendar/react"),sr=require("@fullcalendar/daygrid"),ir=require("@fullcalendar/timegrid"),ar=require("@fullcalendar/interaction"),Me=require("react-quill"),Ne=require("react-beautiful-dnd");function lr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const E=lr(x),cr=e=>n.jsx(u.Alert,{...e}),J=x.forwardRef(({className:e,text:t,type:r,onClick:o,icon:s,style:i,disabled:a=!1,loading:d=!1,danger:l=!1,onMouseEnter:c,htmlType:m="button",badge:f,tooltip:p},h)=>{const v=n.jsx(u.Button,{ref:h,danger:l,type:r,onClick:o,icon:s,style:{...i,fontSize:"var(--font-size-medium)",fontWeight:"var(--font-weight-semibold",fontFamily:"var(--font-family)"},size:"small",disabled:a,loading:d,className:`${e||""}`,onMouseEnter:c,htmlType:m,children:t});let w=v;return f&&(w=n.jsx(u.Badge,{count:f.text||f.count,dot:f.dot,color:f.color,showZero:f.showZero,overflowCount:f.overflowCount,offset:f.offset,children:v})),p?n.jsx(u.Tooltip,{title:p,children:w}):w});J.displayName="CustomButton";const dr=({size:e="default",shape:t="circle",src:r,icon:o,alt:s,children:i,style:a,className:d,gap:l,...c})=>n.jsx(u.Avatar,{size:e,shape:t,src:r,icon:o,alt:s,style:{fontSize:"var(--font-size-medium)",...a},className:d,gap:l,...c,children:i}),ur=({size:e="default",shape:t="circle",max:r,className:o,style:s,children:i})=>n.jsx(u.Avatar.Group,{size:e,shape:t,max:r,className:o,style:{fontSize:"var(--font-size-medium)",...s},children:i}),gt=({label:e,...t})=>n.jsx(u.Checkbox,{...t,children:e}),fr=({groupLabel:e,direction:t="horizontal",style:r,...o})=>{const s={...r,...t==="vertical"&&{display:"flex",flexDirection:"column",gap:"8px"}};return n.jsxs("div",{children:[e&&n.jsx("div",{style:{marginBottom:"8px",fontWeight:"500"},children:e}),n.jsx(u.Checkbox.Group,{...o,style:s})]})};gt.Group=fr;function de(e){"@babel/helpers - typeof";return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},de(e)}function mr(e,t){if(de(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(de(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hr(e){var t=mr(e,"string");return de(t)=="symbol"?t:t+""}function Z(e,t,r){return(t=hr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,o)}return r}function X(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Je(Object(r),!0).forEach(function(o){Z(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Je(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}var Fe={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},pr=X(X({},Fe),{},{locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",week:"Semana",month:"Mes",year:"Año",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un año",decadeSelect:"Elegir una década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"Año anterior (Control + left)",nextYear:"Año siguiente (Control + right)",previousDecade:"Década anterior",nextDecade:"Década siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"});const gr={placeholder:"Seleccionar hora"},yr={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"],shortWeekDays:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],shortMonths:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]},pr),timePickerLocale:Object.assign({},gr)};var xr=X(X({},Fe),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const vr={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},br={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},xr),timePickerLocale:Object.assign({},vr)};var wr=X(X({},Fe),{},{locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"OK",clear:"Limpar",week:"Semana",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher mês",yearSelect:"Escolher ano",decadeSelect:"Escolher década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Próximo mês (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Próximo ano (Control + direita)",previousDecade:"Década anterior",nextDecade:"Próxima década",previousCentury:"Século anterior",nextCentury:"Próximo século",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]});const Cr={placeholder:"Hora"},jr={lang:Object.assign({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},wr),timePickerLocale:Object.assign({},Cr)},yt={es:yr,en:br,pt:jr},xt=e=>(e==null?void 0:e.parentElement)||document.body,vt=x.forwardRef(({localeCode:e="es",label:t,required:r,getPopupContainer:o,...s},i)=>{const a=yt[e],d=n.jsx(u.DatePicker,{ref:i,...s,getPopupContainer:o??xt,locale:a});return t?n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[r&&n.jsx("span",{style:{color:"red"},children:"* "}),t]}),d]}):d});vt.displayName="CustomDatePicker";const bt=x.forwardRef(({localeCode:e="es",label:t,required:r,getPopupContainer:o,...s},i)=>{const a=yt[e],d=n.jsx(u.DatePicker.RangePicker,{ref:i,...s,getPopupContainer:o??xt,locale:a});return t?n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[r&&n.jsx("span",{style:{color:"red"},children:"* "}),t]}),d]}):d});bt.displayName="CustomDatePicker.RangePicker";const je=vt;je.RangePicker=bt;function wt(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=wt(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Sr(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=wt(e))&&(o&&(o+=" "),o+=t);return o}const Tr=({text:e,textPosition:t="center",type:r="horizontal",className:o,...s})=>n.jsx(u.Divider,{...s,orientation:r==="horizontal"?t:void 0,type:r,className:Sr("hp-divider text-sm font-semibold",o),children:e}),kr=({title:e,children:t,...r})=>n.jsx(u.Drawer,{title:e,...r,children:t});var Ct=x.createContext({});function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},G.apply(null,arguments)}function Or(e){if(Array.isArray(e))return e}function Er(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,s,i,a,d=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(l=(o=i.call(r)).done)&&(d.push(o.value),d.length!==t);l=!0);}catch(m){c=!0,s=m}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw s}}return d}}function et(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Nr(e,t){if(e){if(typeof e=="string")return et(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?et(e,t):void 0}}function zr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
8
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jt(e,t){return Or(e)||Er(e,t)||Nr(e,t)||zr()}function Rr(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function St(e,t){if(e==null)return{};var r,o,s=Rr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function Ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ze={exports:{}};/*!
9
9
  Copyright (c) 2018 Jed Watson.
10
10
  Licensed under the MIT License (MIT), see
11
11
  http://jedwatson.github.io/classnames
12
- */var tt;function Mr(){return tt||(tt=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var d=arguments[a];d&&(i=s(i,o(d)))}return i}function o(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var d in i)t.call(i,d)&&i[d]&&(a=s(a,d));return a}function s(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ze)),ze.exports}var Dr=Mr();const _r=Ir(Dr),q=Math.round;function Re(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)o[s]=t(o[s]||0,r[s]||"",s);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}const rt=(e,t,r)=>r===0?e:e/100;function pe(e,t){const r=t||255;return e>r?r:e<0?0:e}class fe{constructor(t){K(this,"isValid",!0),K(this,"r",0),K(this,"g",0),K(this,"b",0),K(this,"a",1),K(this,"_h",void 0),K(this,"_s",void 0),K(this,"_l",void 0),K(this,"_v",void 0),K(this,"_max",void 0),K(this,"_min",void 0),K(this,"_brightness",void 0);function r(o){return o[0]in t&&o[1]in t&&o[2]in t}if(t)if(typeof t=="string"){let s=function(i){return o.startsWith(i)};const o=t.trim();/^#?[A-F\d]{3,8}$/i.test(o)?this.fromHexString(o):s("rgb")?this.fromRgbString(o):s("hsl")?this.fromHslString(o):(s("hsv")||s("hsb"))&&this.fromHsvString(o)}else if(t instanceof fe)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=pe(t.r),this.g=pe(t.g),this.b=pe(t.b),this.a=typeof t.a=="number"?pe(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const a=i/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const r=t(this.r),o=t(this.g),s=t(this.b);return .2126*r+.7152*o+.0722*s}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=q(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()-t/100;return s<0&&(s=0),this._c({h:r,s:o,l:s,a:this.a})}lighten(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()+t/100;return s>1&&(s=1),this._c({h:r,s:o,l:s,a:this.a})}mix(t,r=50){const o=this._c(t),s=r/100,i=d=>(o[d]-this[d])*s+this[d],a={r:q(i("r")),g:q(i("g")),b:q(i("b")),a:q(i("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),o=this.a+r.a*(1-this.a),s=i=>q((this[i]*this.a+r[i]*r.a*(1-this.a))/o);return this._c({r:s("r"),g:s("g"),b:s("b"),a:o})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const o=(this.g||0).toString(16);t+=o.length===2?o:"0"+o;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=q(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=q(this.getSaturation()*100),o=q(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${o}%,${this.a})`:`hsl(${t},${r}%,${o}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,o){const s=this.clone();return s[t]=pe(r,o),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function o(s,i){return parseInt(r[s]+r[i||s],16)}r.length<6?(this.r=o(0),this.g=o(1),this.b=o(2),this.a=r[3]?o(3)/255:1):(this.r=o(0,1),this.g=o(2,3),this.b=o(4,5),this.a=r[6]?o(6,7)/255:1)}fromHsl({h:t,s:r,l:o,a:s}){if(this._h=t%360,this._s=r,this._l=o,this.a=typeof s=="number"?s:1,r<=0){const p=q(o*255);this.r=p,this.g=p,this.b=p}let i=0,a=0,d=0;const l=t/60,c=(1-Math.abs(2*o-1))*r,m=c*(1-Math.abs(l%2-1));l>=0&&l<1?(i=c,a=m):l>=1&&l<2?(i=m,a=c):l>=2&&l<3?(a=c,d=m):l>=3&&l<4?(a=m,d=c):l>=4&&l<5?(i=m,d=c):l>=5&&l<6&&(i=c,d=m);const f=o-c/2;this.r=q((i+f)*255),this.g=q((a+f)*255),this.b=q((d+f)*255)}fromHsv({h:t,s:r,v:o,a:s}){this._h=t%360,this._s=r,this._v=o,this.a=typeof s=="number"?s:1;const i=q(o*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const a=t/60,d=Math.floor(a),l=a-d,c=q(o*(1-r)*255),m=q(o*(1-r*l)*255),f=q(o*(1-r*(1-l))*255);switch(d){case 0:this.g=f,this.b=c;break;case 1:this.r=m,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=m;break;case 4:this.r=f,this.g=c;break;case 5:default:this.g=c,this.b=m;break}}fromHsvString(t){const r=Re(t,rt);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=Re(t,rt);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=Re(t,(o,s)=>s.includes("%")?q(o/100*255):o);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var ve=2,nt=.16,Hr=.05,Br=.05,Fr=.15,Tt=5,kt=4,Ar=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function ot(e,t,r){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=r?Math.round(e.h)-ve*t:Math.round(e.h)+ve*t:o=r?Math.round(e.h)+ve*t:Math.round(e.h)-ve*t,o<0?o+=360:o>=360&&(o-=360),o}function st(e,t,r){if(e.h===0&&e.s===0)return e.s;var o;return r?o=e.s-nt*t:t===kt?o=e.s+nt:o=e.s+Hr*t,o>1&&(o=1),r&&t===Tt&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(o*100)/100}function it(e,t,r){var o;return r?o=e.v+Br*t:o=e.v-Fr*t,o=Math.max(0,Math.min(1,o)),Math.round(o*100)/100}function Lr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=new fe(e),s=o.toHsv(),i=Tt;i>0;i-=1){var a=new fe({h:ot(s,i,!0),s:st(s,i,!0),v:it(s,i,!0)});r.push(a)}r.push(o);for(var d=1;d<=kt;d+=1){var l=new fe({h:ot(s,d),s:st(s,d),v:it(s,d)});r.push(l)}return t.theme==="dark"?Ar.map(function(c){var m=c.index,f=c.amount;return new fe(t.backgroundColor||"#141414").mix(r[m],f).toHexString()}):r.map(function(c){return c.toHexString()})}var De=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];De.primary=De[5];function $r(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pr(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var at="data-rc-order",lt="data-rc-priority",Vr="rc-util-key",_e=new Map;function Ot(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Vr}function Ae(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Wr(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Le(e){return Array.from((_e.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Et(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$r())return null;var r=t.csp,o=t.prepend,s=t.priority,i=s===void 0?0:s,a=Wr(o),d=a==="prependQueue",l=document.createElement("style");l.setAttribute(at,a),d&&i&&l.setAttribute(lt,"".concat(i)),r!=null&&r.nonce&&(l.nonce=r==null?void 0:r.nonce),l.innerHTML=e;var c=Ae(t),m=c.firstChild;if(o){if(d){var f=(t.styles||Le(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(at)))return!1;var h=Number(p.getAttribute(lt)||0);return i>=h});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,m)}else c.appendChild(l);return l}function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ae(t);return(t.styles||Le(r)).find(function(o){return o.getAttribute(Ot(t))===e})}function qr(e,t){var r=_e.get(e);if(!r||!Pr(document,r)){var o=Et("",t),s=o.parentNode;_e.set(e,s),e.removeChild(o)}}function Gr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Ae(r),s=Le(o),i=X(X({},r),{},{styles:s});qr(o,i);var a=Yr(t,i);if(a){var d,l;if((d=i.csp)!==null&&d!==void 0&&d.nonce&&a.nonce!==((l=i.csp)===null||l===void 0?void 0:l.nonce)){var c;a.nonce=(c=i.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var m=Et(e,i);return m.setAttribute(Ot(i),t),m}function Nt(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Ur(e){return Nt(e)instanceof ShadowRoot}function Xr(e){return Ur(e)?Nt(e):null}var He={},$e=[],Kr=function(t){$e.push(t)};function Zr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=$e.reduce(function(o,s){return s(o??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Qr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=$e.reduce(function(o,s){return s(o??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Jr(){He={}}function zt(e,t,r){!t&&!He[r]&&(e(!1,r),He[r]=!0)}function ke(e,t){zt(Zr,e,t)}function en(e,t){zt(Qr,e,t)}ke.preMessage=Kr;ke.resetWarned=Jr;ke.noteOnce=en;function tn(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function rn(e,t){ke(e,"[@ant-design/icons] ".concat(t))}function ct(e){return de(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(de(e.icon)==="object"||typeof e.icon=="function")}function dt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var o=e[r];switch(r){case"class":t.className=o,delete t.class;break;default:delete t[r],t[tn(r)]=o}return t},{})}function Be(e,t,r){return r?x.createElement(e.tag,X(X({key:t},dt(e.attrs)),r),(e.children||[]).map(function(o,s){return Be(o,"".concat(t,"-").concat(e.tag,"-").concat(s))})):x.createElement(e.tag,X({key:t},dt(e.attrs)),(e.children||[]).map(function(o,s){return Be(o,"".concat(t,"-").concat(e.tag,"-").concat(s))}))}function Rt(e){return Lr(e)[0]}function It(e){return e?Array.isArray(e)?e:[e]:[]}var nn=`
12
+ */var tt;function Mr(){return tt||(tt=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var d=arguments[a];d&&(i=s(i,o(d)))}return i}function o(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var d in i)t.call(i,d)&&i[d]&&(a=s(a,d));return a}function s(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ze)),ze.exports}var Dr=Mr();const _r=Ir(Dr),q=Math.round;function Re(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)o[s]=t(o[s]||0,r[s]||"",s);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}const rt=(e,t,r)=>r===0?e:e/100;function ge(e,t){const r=t||255;return e>r?r:e<0?0:e}class fe{constructor(t){Z(this,"isValid",!0),Z(this,"r",0),Z(this,"g",0),Z(this,"b",0),Z(this,"a",1),Z(this,"_h",void 0),Z(this,"_s",void 0),Z(this,"_l",void 0),Z(this,"_v",void 0),Z(this,"_max",void 0),Z(this,"_min",void 0),Z(this,"_brightness",void 0);function r(o){return o[0]in t&&o[1]in t&&o[2]in t}if(t)if(typeof t=="string"){let s=function(i){return o.startsWith(i)};const o=t.trim();/^#?[A-F\d]{3,8}$/i.test(o)?this.fromHexString(o):s("rgb")?this.fromRgbString(o):s("hsl")?this.fromHslString(o):(s("hsv")||s("hsb"))&&this.fromHsvString(o)}else if(t instanceof fe)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=ge(t.r),this.g=ge(t.g),this.b=ge(t.b),this.a=typeof t.a=="number"?ge(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const a=i/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const r=t(this.r),o=t(this.g),s=t(this.b);return .2126*r+.7152*o+.0722*s}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=q(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()-t/100;return s<0&&(s=0),this._c({h:r,s:o,l:s,a:this.a})}lighten(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()+t/100;return s>1&&(s=1),this._c({h:r,s:o,l:s,a:this.a})}mix(t,r=50){const o=this._c(t),s=r/100,i=d=>(o[d]-this[d])*s+this[d],a={r:q(i("r")),g:q(i("g")),b:q(i("b")),a:q(i("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),o=this.a+r.a*(1-this.a),s=i=>q((this[i]*this.a+r[i]*r.a*(1-this.a))/o);return this._c({r:s("r"),g:s("g"),b:s("b"),a:o})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const o=(this.g||0).toString(16);t+=o.length===2?o:"0"+o;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=q(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=q(this.getSaturation()*100),o=q(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${o}%,${this.a})`:`hsl(${t},${r}%,${o}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,o){const s=this.clone();return s[t]=ge(r,o),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function o(s,i){return parseInt(r[s]+r[i||s],16)}r.length<6?(this.r=o(0),this.g=o(1),this.b=o(2),this.a=r[3]?o(3)/255:1):(this.r=o(0,1),this.g=o(2,3),this.b=o(4,5),this.a=r[6]?o(6,7)/255:1)}fromHsl({h:t,s:r,l:o,a:s}){if(this._h=t%360,this._s=r,this._l=o,this.a=typeof s=="number"?s:1,r<=0){const p=q(o*255);this.r=p,this.g=p,this.b=p}let i=0,a=0,d=0;const l=t/60,c=(1-Math.abs(2*o-1))*r,m=c*(1-Math.abs(l%2-1));l>=0&&l<1?(i=c,a=m):l>=1&&l<2?(i=m,a=c):l>=2&&l<3?(a=c,d=m):l>=3&&l<4?(a=m,d=c):l>=4&&l<5?(i=m,d=c):l>=5&&l<6&&(i=c,d=m);const f=o-c/2;this.r=q((i+f)*255),this.g=q((a+f)*255),this.b=q((d+f)*255)}fromHsv({h:t,s:r,v:o,a:s}){this._h=t%360,this._s=r,this._v=o,this.a=typeof s=="number"?s:1;const i=q(o*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const a=t/60,d=Math.floor(a),l=a-d,c=q(o*(1-r)*255),m=q(o*(1-r*l)*255),f=q(o*(1-r*(1-l))*255);switch(d){case 0:this.g=f,this.b=c;break;case 1:this.r=m,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=m;break;case 4:this.r=f,this.g=c;break;case 5:default:this.g=c,this.b=m;break}}fromHsvString(t){const r=Re(t,rt);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=Re(t,rt);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=Re(t,(o,s)=>s.includes("%")?q(o/100*255):o);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var be=2,nt=.16,Hr=.05,Br=.05,Fr=.15,Tt=5,kt=4,Ar=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function ot(e,t,r){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=r?Math.round(e.h)-be*t:Math.round(e.h)+be*t:o=r?Math.round(e.h)+be*t:Math.round(e.h)-be*t,o<0?o+=360:o>=360&&(o-=360),o}function st(e,t,r){if(e.h===0&&e.s===0)return e.s;var o;return r?o=e.s-nt*t:t===kt?o=e.s+nt:o=e.s+Hr*t,o>1&&(o=1),r&&t===Tt&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(o*100)/100}function it(e,t,r){var o;return r?o=e.v+Br*t:o=e.v-Fr*t,o=Math.max(0,Math.min(1,o)),Math.round(o*100)/100}function Lr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=new fe(e),s=o.toHsv(),i=Tt;i>0;i-=1){var a=new fe({h:ot(s,i,!0),s:st(s,i,!0),v:it(s,i,!0)});r.push(a)}r.push(o);for(var d=1;d<=kt;d+=1){var l=new fe({h:ot(s,d),s:st(s,d),v:it(s,d)});r.push(l)}return t.theme==="dark"?Ar.map(function(c){var m=c.index,f=c.amount;return new fe(t.backgroundColor||"#141414").mix(r[m],f).toHexString()}):r.map(function(c){return c.toHexString()})}var De=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];De.primary=De[5];function $r(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pr(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var at="data-rc-order",lt="data-rc-priority",Vr="rc-util-key",_e=new Map;function Ot(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Vr}function Ae(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Wr(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Le(e){return Array.from((_e.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Et(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$r())return null;var r=t.csp,o=t.prepend,s=t.priority,i=s===void 0?0:s,a=Wr(o),d=a==="prependQueue",l=document.createElement("style");l.setAttribute(at,a),d&&i&&l.setAttribute(lt,"".concat(i)),r!=null&&r.nonce&&(l.nonce=r==null?void 0:r.nonce),l.innerHTML=e;var c=Ae(t),m=c.firstChild;if(o){if(d){var f=(t.styles||Le(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(at)))return!1;var h=Number(p.getAttribute(lt)||0);return i>=h});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,m)}else c.appendChild(l);return l}function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ae(t);return(t.styles||Le(r)).find(function(o){return o.getAttribute(Ot(t))===e})}function qr(e,t){var r=_e.get(e);if(!r||!Pr(document,r)){var o=Et("",t),s=o.parentNode;_e.set(e,s),e.removeChild(o)}}function Gr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Ae(r),s=Le(o),i=X(X({},r),{},{styles:s});qr(o,i);var a=Yr(t,i);if(a){var d,l;if((d=i.csp)!==null&&d!==void 0&&d.nonce&&a.nonce!==((l=i.csp)===null||l===void 0?void 0:l.nonce)){var c;a.nonce=(c=i.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var m=Et(e,i);return m.setAttribute(Ot(i),t),m}function Nt(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Ur(e){return Nt(e)instanceof ShadowRoot}function Xr(e){return Ur(e)?Nt(e):null}var He={},$e=[],Kr=function(t){$e.push(t)};function Zr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=$e.reduce(function(o,s){return s(o??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Qr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=$e.reduce(function(o,s){return s(o??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Jr(){He={}}function zt(e,t,r){!t&&!He[r]&&(e(!1,r),He[r]=!0)}function ke(e,t){zt(Zr,e,t)}function en(e,t){zt(Qr,e,t)}ke.preMessage=Kr;ke.resetWarned=Jr;ke.noteOnce=en;function tn(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function rn(e,t){ke(e,"[@ant-design/icons] ".concat(t))}function ct(e){return de(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(de(e.icon)==="object"||typeof e.icon=="function")}function dt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var o=e[r];switch(r){case"class":t.className=o,delete t.class;break;default:delete t[r],t[tn(r)]=o}return t},{})}function Be(e,t,r){return r?x.createElement(e.tag,X(X({key:t},dt(e.attrs)),r),(e.children||[]).map(function(o,s){return Be(o,"".concat(t,"-").concat(e.tag,"-").concat(s))})):x.createElement(e.tag,X({key:t},dt(e.attrs)),(e.children||[]).map(function(o,s){return Be(o,"".concat(t,"-").concat(e.tag,"-").concat(s))}))}function Rt(e){return Lr(e)[0]}function It(e){return e?Array.isArray(e)?e:[e]:[]}var nn=`
13
13
  .anticon {
14
14
  display: inline-flex;
15
15
  align-items: center;
@@ -66,7 +66,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
66
66
  }
67
67
  `,on=function(t){var r=x.useContext(Ct),o=r.csp,s=r.prefixCls,i=r.layer,a=nn;s&&(a=a.replace(/anticon/g,s)),i&&(a="@layer ".concat(i,` {
68
68
  `).concat(a,`
69
- }`)),x.useEffect(function(){var d=t.current,l=Xr(d);Gr(a,"@ant-design-icons",{prepend:!i,csp:o,attachTo:l})},[])},sn=["icon","className","onClick","style","primaryColor","secondaryColor"],ge={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function an(e){var t=e.primaryColor,r=e.secondaryColor;ge.primaryColor=t,ge.secondaryColor=r||Rt(t),ge.calculated=!!r}function ln(){return X({},ge)}var me=function(t){var r=t.icon,o=t.className,s=t.onClick,i=t.style,a=t.primaryColor,d=t.secondaryColor,l=St(t,sn),c=E.useRef(),m=ge;if(a&&(m={primaryColor:a,secondaryColor:d||Rt(a)}),on(c),rn(ct(r),"icon should be icon definiton, but got ".concat(r)),!ct(r))return null;var f=r;return f&&typeof f.icon=="function"&&(f=X(X({},f),{},{icon:f.icon(m.primaryColor,m.secondaryColor)})),Be(f.icon,"svg-".concat(f.name),X(X({className:o,onClick:s,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};me.displayName="IconReact";me.getTwoToneColors=ln;me.setTwoToneColors=an;function Mt(e){var t=It(e),r=jt(t,2),o=r[0],s=r[1];return me.setTwoToneColors({primaryColor:o,secondaryColor:s})}function cn(){var e=me.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var dn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Mt(De.primary);var U=E.forwardRef(function(e,t){var r=e.className,o=e.icon,s=e.spin,i=e.rotate,a=e.tabIndex,d=e.onClick,l=e.twoToneColor,c=St(e,dn),m=E.useContext(Ct),f=m.prefixCls,p=f===void 0?"anticon":f,h=m.rootClassName,v=_r(h,p,K(K({},"".concat(p,"-").concat(o.name),!!o.name),"".concat(p,"-spin"),!!s||o.name==="loading"),r),w=a;w===void 0&&d&&(w=-1);var T=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,B=It(l),P=jt(B,2),H=P[0],A=P[1];return E.createElement("span",G({role:"img","aria-label":o.name},c,{ref:t,tabIndex:w,onClick:d,className:v}),E.createElement(me,{icon:o,primaryColor:H,secondaryColor:A,style:T}))});U.displayName="AntdIcon";U.getTwoToneColor=cn;U.setTwoToneColor=Mt;var un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},fn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:un}))},Se=E.forwardRef(fn);process.env.NODE_ENV!=="production"&&(Se.displayName="ArrowLeftOutlined");var mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},hn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:mn}))},Pe=E.forwardRef(hn);process.env.NODE_ENV!=="production"&&(Pe.displayName="BellOutlined");var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},gn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:pn}))},ye=E.forwardRef(gn);process.env.NODE_ENV!=="production"&&(ye.displayName="ClearOutlined");var yn={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},xn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:yn}))},Ve=E.forwardRef(xn);process.env.NODE_ENV!=="production"&&(Ve.displayName="CloseOutlined");var vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},bn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:vn}))},Dt=E.forwardRef(bn);process.env.NODE_ENV!=="production"&&(Dt.displayName="DeleteOutlined");var wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Cn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:wn}))},We=E.forwardRef(Cn);process.env.NODE_ENV!=="production"&&(We.displayName="EditOutlined");var jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},Sn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:jn}))},_t=E.forwardRef(Sn);process.env.NODE_ENV!=="production"&&(_t.displayName="FileExcelOutlined");var Tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},kn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Tn}))},Ht=E.forwardRef(kn);process.env.NODE_ENV!=="production"&&(Ht.displayName="FilePdfOutlined");var On={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},En=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:On}))},Ye=E.forwardRef(En);process.env.NODE_ENV!=="production"&&(Ye.displayName="FilterOutlined");var Nn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},zn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Nn}))},Bt=E.forwardRef(zn);process.env.NODE_ENV!=="production"&&(Bt.displayName="InboxOutlined");var Rn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},In=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Rn}))},Ft=E.forwardRef(In);process.env.NODE_ENV!=="production"&&(Ft.displayName="LoadingOutlined");var Mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Dn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Mn}))},qe=E.forwardRef(Dn);process.env.NODE_ENV!=="production"&&(qe.displayName="PlusOutlined");var _n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},Hn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:_n}))},At=E.forwardRef(Hn);process.env.NODE_ENV!=="production"&&(At.displayName="SaveOutlined");var Bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Fn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Bn}))},Lt=E.forwardRef(Fn);process.env.NODE_ENV!=="production"&&(Lt.displayName="SearchOutlined");var An={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Ln=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:An}))},$t=E.forwardRef(Ln);process.env.NODE_ENV!=="production"&&($t.displayName="UploadOutlined");const Ge=x.forwardRef((e,t)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(u.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));Ge.displayName="CustomInput";const $n=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.Input.Password,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Pn=({label:e,required:t,resizable:r=!0,style:o,...s})=>{const i=r&&!s.autoSize;return n.jsxs("div",{className:i?"hp-textarea-resizable":void 0,style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.Input.TextArea,{...s,style:{resize:i?"vertical":"none",minHeight:i?56:void 0,fontSize:"var(--font-size-medium)",...o}})]})},Vn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},className:"custom-search-input-wrapper",children:[n.jsx("style",{children:`
69
+ }`)),x.useEffect(function(){var d=t.current,l=Xr(d);Gr(a,"@ant-design-icons",{prepend:!i,csp:o,attachTo:l})},[])},sn=["icon","className","onClick","style","primaryColor","secondaryColor"],ye={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function an(e){var t=e.primaryColor,r=e.secondaryColor;ye.primaryColor=t,ye.secondaryColor=r||Rt(t),ye.calculated=!!r}function ln(){return X({},ye)}var me=function(t){var r=t.icon,o=t.className,s=t.onClick,i=t.style,a=t.primaryColor,d=t.secondaryColor,l=St(t,sn),c=E.useRef(),m=ye;if(a&&(m={primaryColor:a,secondaryColor:d||Rt(a)}),on(c),rn(ct(r),"icon should be icon definiton, but got ".concat(r)),!ct(r))return null;var f=r;return f&&typeof f.icon=="function"&&(f=X(X({},f),{},{icon:f.icon(m.primaryColor,m.secondaryColor)})),Be(f.icon,"svg-".concat(f.name),X(X({className:o,onClick:s,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};me.displayName="IconReact";me.getTwoToneColors=ln;me.setTwoToneColors=an;function Mt(e){var t=It(e),r=jt(t,2),o=r[0],s=r[1];return me.setTwoToneColors({primaryColor:o,secondaryColor:s})}function cn(){var e=me.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var dn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Mt(De.primary);var U=E.forwardRef(function(e,t){var r=e.className,o=e.icon,s=e.spin,i=e.rotate,a=e.tabIndex,d=e.onClick,l=e.twoToneColor,c=St(e,dn),m=E.useContext(Ct),f=m.prefixCls,p=f===void 0?"anticon":f,h=m.rootClassName,v=_r(h,p,Z(Z({},"".concat(p,"-").concat(o.name),!!o.name),"".concat(p,"-spin"),!!s||o.name==="loading"),r),w=a;w===void 0&&d&&(w=-1);var T=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,B=It(l),L=jt(B,2),H=L[0],$=L[1];return E.createElement("span",G({role:"img","aria-label":o.name},c,{ref:t,tabIndex:w,onClick:d,className:v}),E.createElement(me,{icon:o,primaryColor:H,secondaryColor:$,style:T}))});U.displayName="AntdIcon";U.getTwoToneColor=cn;U.setTwoToneColor=Mt;var un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},fn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:un}))},Se=E.forwardRef(fn);process.env.NODE_ENV!=="production"&&(Se.displayName="ArrowLeftOutlined");var mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},hn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:mn}))},Pe=E.forwardRef(hn);process.env.NODE_ENV!=="production"&&(Pe.displayName="BellOutlined");var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},gn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:pn}))},xe=E.forwardRef(gn);process.env.NODE_ENV!=="production"&&(xe.displayName="ClearOutlined");var yn={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},xn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:yn}))},Ve=E.forwardRef(xn);process.env.NODE_ENV!=="production"&&(Ve.displayName="CloseOutlined");var vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},bn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:vn}))},Dt=E.forwardRef(bn);process.env.NODE_ENV!=="production"&&(Dt.displayName="DeleteOutlined");var wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Cn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:wn}))},We=E.forwardRef(Cn);process.env.NODE_ENV!=="production"&&(We.displayName="EditOutlined");var jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},Sn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:jn}))},_t=E.forwardRef(Sn);process.env.NODE_ENV!=="production"&&(_t.displayName="FileExcelOutlined");var Tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},kn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Tn}))},Ht=E.forwardRef(kn);process.env.NODE_ENV!=="production"&&(Ht.displayName="FilePdfOutlined");var On={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},En=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:On}))},Ye=E.forwardRef(En);process.env.NODE_ENV!=="production"&&(Ye.displayName="FilterOutlined");var Nn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},zn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Nn}))},Bt=E.forwardRef(zn);process.env.NODE_ENV!=="production"&&(Bt.displayName="InboxOutlined");var Rn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},In=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Rn}))},Ft=E.forwardRef(In);process.env.NODE_ENV!=="production"&&(Ft.displayName="LoadingOutlined");var Mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Dn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Mn}))},qe=E.forwardRef(Dn);process.env.NODE_ENV!=="production"&&(qe.displayName="PlusOutlined");var _n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},Hn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:_n}))},At=E.forwardRef(Hn);process.env.NODE_ENV!=="production"&&(At.displayName="SaveOutlined");var Bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Fn=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:Bn}))},Lt=E.forwardRef(Fn);process.env.NODE_ENV!=="production"&&(Lt.displayName="SearchOutlined");var An={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Ln=function(t,r){return E.createElement(U,G({},t,{ref:r,icon:An}))},$t=E.forwardRef(Ln);process.env.NODE_ENV!=="production"&&($t.displayName="UploadOutlined");const Ge=x.forwardRef((e,t)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(u.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));Ge.displayName="CustomInput";const $n=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.Input.Password,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Pn=({label:e,required:t,resizable:r=!0,style:o,...s})=>{const i=r&&!s.autoSize;return n.jsxs("div",{className:i?"hp-textarea-resizable":void 0,style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.Input.TextArea,{...s,style:{resize:i?"vertical":"none",minHeight:i?56:void 0,fontSize:"var(--font-size-medium)",...o}})]})},Vn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},className:"custom-search-input-wrapper",children:[n.jsx("style",{children:`
70
70
  .custom-search-input-wrapper .ant-input-group-wrapper {
71
71
  height: var(--input-height, 25px);
72
72
  vertical-align: top;
@@ -90,7 +90,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
90
90
  padding-bottom: 0;
91
91
  box-sizing: border-box;
92
92
  }
93
- `}),e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.Input.Search,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Pt=({label:e,required:t,...r})=>{var s;const o=i=>{const a=i.key;!/^[0-9.]$/.test(a)&&a!=="Backspace"&&i.preventDefault()};return n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.InputNumber,{...r,onKeyPress:o,style:{...r.style,width:((s=r.style)==null?void 0:s.width)??"100%"},controls:!1})]})},Vt=e=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(u.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),Wt=({content:e,children:t,mouseEnterDelay:r=.3,mouseLeaveDelay:o=0,...s})=>n.jsx(u.Tooltip,{title:e,mouseEnterDelay:r,mouseLeaveDelay:o,...s,style:{fontSize:"var(--font-size-medium)"},children:t}),Wn=({fields:e,filters:t,onFilter:r,onClearFilters:o,localeCode:s="es",actions:i=[],onAdvancedFilters:a,loading:d=!1,defaultValues:l={},activeFiltersCount:c=0,onFiltersChange:m,extra:f,translations:p={}})=>{const[h,v]=x.useState(()=>t||l||{}),w=x.useRef(null);x.useEffect(()=>{t&&v(t)},[t]);const T=(y,k)=>{const g={...h,[y]:k};v(g),m==null||m(g)},B=()=>{r(h)},P=()=>{v({}),o==null||o()},A=(y=>y<=2?12:y<=3?8:y<=4?6:4)(e.length);return n.jsxs("div",{ref:w,style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,position:"relative"},children:[n.jsxs(u.Row,{justify:"end",align:"middle",children:[f&&n.jsx(u.Col,{children:f}),n.jsx(u.Col,{style:{marginLeft:f?"0":"auto"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.map((y,k)=>!y.hide&&n.jsx(Wt,{content:y.tooltip,placement:"left",mouseEnterDelay:.3,mouseLeaveDelay:0,getPopupContainer:()=>w.current||document.body,children:n.jsx(J,{size:"small",icon:y.icon,onClick:y.onClick,style:{border:"none",background:"none"},loading:y.loading})},k)),a&&n.jsx(u.Badge,{count:c,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:n.jsx(J,{size:"small",icon:n.jsx(Ye,{}),onClick:a,style:{border:"none",background:"none"}})})]})})]}),n.jsxs(u.Row,{gutter:[8,8],children:[e.map(y=>n.jsx(u.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[y.label&&n.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:y.label}),{text:n.jsx(Ge,{placeholder:y.placeholder,value:h[y.key],onChange:k=>T(y.key,k.target.value),style:{width:"100%"}}),number:n.jsx(Pt,{placeholder:y.placeholder,value:h[y.key],onChange:k=>T(y.key,k),style:{width:"100%"}}),date:n.jsx(je,{localeCode:s,getPopupContainer:()=>document.body,onChange:(k,g)=>T(y.key,g),style:{width:"100%"}}),range:n.jsx(je.RangePicker,{localeCode:s,getPopupContainer:()=>document.body,value:h[y.key]&&h[y.key][0]?[Qe(h[y.key][0]),Qe(h[y.key][1])]:void 0,onChange:(k,g)=>T(y.key,g),style:{width:"100%"}}),select:n.jsx(Vt,{placeholder:y.placeholder,options:y.options,value:h[y.key],mode:y.mode,allowClear:y.allowClear,showSearch:y.showSearch,optionFilterProp:y.optionFilterProp,filterOption:y.filterOption,onChange:k=>T(y.key,k),style:{width:"100%"},loading:y.isLoading,maxTagCount:"responsive"})}[y.type||"text"]]})},y.key)),n.jsx(u.Col,{xs:24,sm:12,md:A,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[n.jsx(J,{type:"primary",size:"small",onClick:B,loading:d,disabled:d,text:p.apply||"Aplicar",className:"force-white-text-button"}),n.jsx(J,{size:"small",icon:n.jsx(ye,{}),onClick:P,disabled:d})]})})]})]})},Ue=({className:e,tooltip:t,...r})=>n.jsx(u.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Ue.Group=e=>n.jsx(u.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Ue.BackTop=u.FloatButton.BackTop;const Yn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[n.jsx(u.Switch,{...r}),e&&n.jsxs("span",{style:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)"},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]})]}),Yt=({title:e,children:t,rootClassName:r,...o})=>{const s=r?`library-components-wrapper ${r}`:"library-components-wrapper";return n.jsx(u.Modal,{className:"custom-modal",title:e,rootClassName:s,...o,children:t})};["info","success","error","warning","confirm","destroyAll"].forEach(e=>{Yt[e]=u.Modal[e]});const qn={open:({type:e,message:t,description:r,duration:o=3,placement:s="topRight"})=>{u.notification[e]({message:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:o,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},qt=({label:e,...t})=>n.jsx(u.Radio,{...t,children:e});qt.Group=e=>n.jsx(u.Radio.Group,{...e});const Gn=e=>n.jsx(u.Radio.Group,{...e}),Un=({loadingText:e,...t})=>n.jsxs("div",{style:{padding:"1rem"},children:[e&&n.jsx("p",{children:e}),n.jsx(u.Skeleton,{...t})]}),ut=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return n.jsxs("div",{style:{display:"inline-block",...t()},children:[n.jsx("style",{children:`
93
+ `}),e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.Input.Search,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Pt=({label:e,required:t,...r})=>{var s;const o=i=>{const a=i.key;!/^[0-9.]$/.test(a)&&a!=="Backspace"&&i.preventDefault()};return n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(u.InputNumber,{...r,onKeyPress:o,style:{...r.style,width:((s=r.style)==null?void 0:s.width)??"100%"},controls:!1})]})},Vt=e=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(u.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),Wt=({content:e,children:t,mouseEnterDelay:r=.3,mouseLeaveDelay:o=0,...s})=>n.jsx(u.Tooltip,{title:e,mouseEnterDelay:r,mouseLeaveDelay:o,...s,style:{fontSize:"var(--font-size-medium)"},children:t}),Wn=({fields:e,filters:t,onFilter:r,onClearFilters:o,localeCode:s="es",actions:i=[],onAdvancedFilters:a,loading:d=!1,defaultValues:l={},activeFiltersCount:c=0,onFiltersChange:m,extra:f,translations:p={}})=>{const[h,v]=x.useState(()=>t||l||{}),w=x.useRef(null);x.useEffect(()=>{t&&v(t)},[t]);const T=(y,k)=>{const g={...h,[y]:k};v(g),m==null||m(g)},B=()=>{r(h)},L=()=>{v({}),o==null||o()},$=(y=>y<=2?12:y<=3?8:y<=4?6:4)(e.length);return n.jsxs("div",{ref:w,style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,position:"relative"},children:[n.jsxs(u.Row,{justify:"end",align:"middle",children:[f&&n.jsx(u.Col,{children:f}),n.jsx(u.Col,{style:{marginLeft:f?"0":"auto"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.map((y,k)=>!y.hide&&n.jsx(Wt,{content:y.tooltip,placement:"left",mouseEnterDelay:.3,mouseLeaveDelay:0,getPopupContainer:()=>w.current||document.body,children:n.jsx(J,{size:"small",icon:y.icon,onClick:y.onClick,style:{border:"none",background:"none"},loading:y.loading})},k)),a&&n.jsx(u.Badge,{count:c,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:n.jsx(J,{size:"small",icon:n.jsx(Ye,{}),onClick:a,style:{border:"none",background:"none"}})})]})})]}),n.jsxs(u.Row,{gutter:[8,8],children:[e.map(y=>n.jsx(u.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[y.label&&n.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:y.label}),{text:n.jsx(Ge,{placeholder:y.placeholder,value:h[y.key],onChange:k=>T(y.key,k.target.value),style:{width:"100%"}}),number:n.jsx(Pt,{placeholder:y.placeholder,value:h[y.key],onChange:k=>T(y.key,k),style:{width:"100%"}}),date:n.jsx(je,{localeCode:s,getPopupContainer:()=>document.body,onChange:(k,g)=>T(y.key,g),style:{width:"100%"}}),range:n.jsx(je.RangePicker,{localeCode:s,getPopupContainer:()=>document.body,value:h[y.key]&&h[y.key][0]?[Qe(h[y.key][0]),Qe(h[y.key][1])]:void 0,onChange:(k,g)=>T(y.key,g),style:{width:"100%"}}),select:n.jsx(Vt,{placeholder:y.placeholder,options:y.options,value:h[y.key],mode:y.mode,allowClear:y.allowClear,showSearch:y.showSearch,optionFilterProp:y.optionFilterProp,filterOption:y.filterOption,onChange:k=>T(y.key,k),style:{width:"100%"},loading:y.isLoading,maxTagCount:"responsive"})}[y.type||"text"]]})},y.key)),n.jsx(u.Col,{xs:24,sm:12,md:$,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[n.jsx(J,{type:"primary",size:"small",onClick:B,loading:d,disabled:d,text:p.apply||"Aplicar",className:"force-white-text-button"}),n.jsx(J,{size:"small",icon:n.jsx(xe,{}),onClick:L,disabled:d})]})})]})]})},Ue=({className:e,tooltip:t,...r})=>n.jsx(u.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Ue.Group=e=>n.jsx(u.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Ue.BackTop=u.FloatButton.BackTop;const Yn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[n.jsx(u.Switch,{...r}),e&&n.jsxs("span",{style:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)"},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]})]}),Yt=({title:e,children:t,rootClassName:r,...o})=>{const s=r?`library-components-wrapper ${r}`:"library-components-wrapper";return n.jsx(u.Modal,{className:"custom-modal",title:e,rootClassName:s,...o,children:t})};["info","success","error","warning","confirm","destroyAll"].forEach(e=>{Yt[e]=u.Modal[e]});const qn={open:({type:e,message:t,description:r,duration:o=3,placement:s="topRight"})=>{u.notification[e]({message:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:o,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},qt=({label:e,...t})=>n.jsx(u.Radio,{...t,children:e});qt.Group=e=>n.jsx(u.Radio.Group,{...e});const Gn=e=>n.jsx(u.Radio.Group,{...e}),Un=({loadingText:e,...t})=>n.jsxs("div",{style:{padding:"1rem"},children:[e&&n.jsx("p",{children:e}),n.jsx(u.Skeleton,{...t})]}),ut=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return n.jsxs("div",{style:{display:"inline-block",...t()},children:[n.jsx("style",{children:`
94
94
  .helppeople-cloud-svg .svg-elem-1 {
95
95
  stroke-dashoffset: 472.7320556640625px;
96
96
  stroke-dasharray: 472.7320556640625px;
@@ -106,7 +106,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
106
106
  }
107
107
  }
108
108
  `}),n.jsxs("svg",{className:"helppeople-cloud-svg",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 197.71 139.12",style:{width:"100%",height:"100%"},xmlSpace:"preserve",children:[n.jsx("style",{type:"text/css",children:".st0{fill:none;stroke:#28285B;stroke-width:14;stroke-linecap:round;stroke-miterlimit:10;}"}),n.jsx("g",{children:n.jsx("path",{className:"st0 svg-elem-1",d:`M105.78,63.29c6.82-13.05,20.48-21.95,36.22-21.95c22.56,0,40.84,18.28,40.84,40.84s-18.28,40.13-40.84,40.13\r
109
- H69.32c-29.13,0-52.75-23.61-52.75-52.75s23.61-52.75,52.75-52.75c21.19,0,39.46,12.49,47.85,30.52`})})]})]})},Oe=({tip:e,spinning:t=!0,size:r="default",overlay:o=!1,spinType:s="antd",children:i,...a})=>{const d=()=>s==="helppeople"?n.jsx(ut,{size:r}):n.jsx(u.Spin,{spinning:t,size:r,...a});return o&&t?n.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},children:n.jsxs("div",{style:{textAlign:"center",color:"white"},children:[d(),e&&n.jsx("div",{style:{marginTop:8,fontSize:14},children:e})]})}):s==="helppeople"?n.jsx(u.Spin,{...a,indicator:n.jsx(ut,{size:r}),tip:e,spinning:t,size:r,children:i}):n.jsx(u.Spin,{tip:e,spinning:t,size:r,...a,children:i})},Xn=({showTotal:e,style:t,...r})=>{const o=(s,i)=>`${i[1]-i[0]+1} de ${s} registros`;return n.jsx(u.Pagination,{showTotal:e??o,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...t},...r})},Kn=({strokeColor:e,style:t,...r})=>{const o=e??"var(--primary-color)";return n.jsx(u.Progress,{strokeColor:o,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...t},...r})},Gt=({columns:e,dataSource:t,pagination:r,loading:o,scroll:s,containerClassName:i,...a})=>{const d=s?{scrollToFirstRowOnChange:!0,...s}:{x:!0,scrollToFirstRowOnChange:!0},l=t==null?void 0:t.filter(f=>f?Object.values(f).some(h=>h!=null&&h!==""):!1),c=e==null?void 0:e.map((f,p)=>{const h={...f,key:f.key||p,title:typeof f.title=="string"?n.jsx("span",{style:{fontSize:"var(--font-size-medium)"},children:f.title}):f.title};if(f.width===void 0){const v=f.onCell;return{...h,onCell:(w,T)=>{var B;return{...v?v(w,T):{},style:{...v?(B=v(w,T))==null?void 0:B.style:{},maxWidth:200,whiteSpace:"normal",wordWrap:"break-word",wordBreak:"break-word"}}}}}return h}),m=r?{...r,showTotal:(f,p)=>`${p[1]-p[0]+1} de ${f} registros`,style:{margin:0,padding:"10px 16px",borderTop:"1px solid #e0e0e0",backgroundColor:"#ffffff",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}}:!1;return n.jsxs("div",{className:`custom-table-container ${i||""}`,style:{width:"100%",overflowX:"auto",overflowY:"visible",position:"relative"},children:[n.jsx(u.Table,{...a,loading:!1,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",overflow:"visible"},scroll:d,columns:c,dataSource:l,pagination:m}),o&&n.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.8)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10},children:n.jsx(Oe,{spinning:!0,spinType:"helppeople",size:"small"})})]})},Zn=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,type:s="line",showCardWrapper:i=!0,topBarContent:a,topBarAlign:d="right"})=>{const l={backgroundColor:"#ffffff",border:"1px solid #e0e0e0",borderRadius:"8px",padding:"1rem",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"},m={display:"flex",justifyContent:(()=>{switch(d){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"flex-end"}})(),alignItems:"center",gap:"0.5rem",flexWrap:"wrap"},f=n.jsx(u.Tabs,{defaultActiveKey:t,activeKey:r,onChange:o,type:s,tabBarStyle:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)",lineHeight:"1.5"},items:e.map(p=>({key:p.key,label:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:p.label}),children:n.jsx("div",{style:{padding:"1rem",backgroundColor:"#ffffff"},children:p.content})}))});return i?n.jsxs("div",{style:l,children:[a&&n.jsx("div",{style:m,children:a}),f]}):n.jsxs(n.Fragment,{children:[a&&n.jsx("div",{style:m,children:a}),f]})},Qn=({title:e,onBack:t,onNew:r,newButtonText:o="Nueva",backButtonText:s="Volver",newButtonLoading:i=!1,newButtonDisabled:a=!1,pageType:d="list",customButtons:l=[],hideDefaultButtons:c=!1,rightActions:m,pageHeader:f})=>{const p=()=>d==="form"?n.jsx(At,{}):d==="detail"?n.jsx(We,{}):n.jsx(qe,{});return n.jsxs("div",{style:{marginBottom:"0.5rem"},children:[n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"1rem 1.5rem",backgroundColor:"#ffffff",borderBottom:f?"1px solid var(--border-color-light, #f0f0f0)":"1px solid #e0e0e0"},children:[n.jsx("h2",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)",flex:"1 1 auto"},children:e}),n.jsxs(u.Space,{wrap:!0,style:{alignItems:"center"},children:[l.map(h=>n.jsx(J,{type:h.type||"default",danger:h.danger,onClick:h.onClick,icon:h.icon,text:h.text,loading:h.loading,disabled:h.disabled,style:{fontSize:"var(--font-size-medium)",...h.style}},h.key)),!c&&n.jsxs(n.Fragment,{children:[t&&n.jsx(J,{type:"default",onClick:t,icon:n.jsx(Se,{}),style:{fontSize:"var(--font-size-medium)"},text:s}),r&&n.jsx(J,{type:"primary",onClick:r,icon:p(),style:{fontSize:"var(--font-size-medium)"},text:o,loading:i,disabled:a})]}),m&&n.jsx("div",{style:{display:"inline-flex",alignItems:"center"},children:m})]})]}),f&&n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"0.75rem",padding:"0.5rem 1.5rem",backgroundColor:"var(--background-color-light, #f5f5f5)",borderBottom:"1px solid #e0e0e0"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-sm, 8px)"},children:[f.onBack&&n.jsx(Se,{onClick:f.onBack,style:{fontSize:"var(--font-size-large, 14px)",cursor:"pointer",color:"var(--text-color, #333)"}}),n.jsx("h3",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)"},children:f.title})]}),f.actions&&f.actions.length>0&&n.jsx(u.Space,{wrap:!0,style:{alignItems:"center"},children:f.actions.map(h=>n.jsx(J,{type:h.type||"primary",danger:h.danger,onClick:h.onClick,icon:h.icon,text:h.text,loading:h.loading,disabled:h.disabled,style:{fontSize:"var(--font-size-medium)",...h.style}},h.key))})]})]})},Jn=({title:e,onBack:t,actions:r=[],sticky:o=!1})=>n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"0.5rem",padding:"0.4rem 1rem",backgroundColor:"var(--background-color, #ffffff)",borderBottom:"1px solid var(--border-color, #d9d9d9)",...o?{position:"sticky",top:0,zIndex:10}:{}},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-sm, 8px)"},children:[t&&n.jsx(Se,{onClick:t,style:{fontSize:"var(--font-size-large, 14px)",cursor:"pointer",color:"var(--text-color, #333)"}}),n.jsx("span",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold, 600)",fontSize:"var(--font-size-large, 14px)",color:"var(--text-color, #333)"},children:e})]}),r.length>0&&n.jsx(u.Space,{wrap:!0,style:{alignItems:"center"},children:r.map(s=>n.jsx(J,{type:s.type||"primary",onClick:s.onClick,icon:s.icon,text:s.text,loading:s.loading,disabled:s.disabled,style:{fontSize:"var(--font-size-medium)",...s.style}},s.key))})]}),{Option:eo}=u.Mentions,Ut=e=>{const{label:t,required:r,helppeopleSpin:o,loading:s,notFoundContent:i,...a}=e;let d=i;return s&&o&&(d=n.jsx("div",{style:{display:"flex",justifyContent:"center"},children:n.jsx(Oe,{spinType:"helppeople",size:"small"})})),n.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100%"},children:[t&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[r&&n.jsx("span",{style:{color:"red",marginRight:4},children:"*"}),t]}),n.jsx(u.Mentions,{loading:o?!1:s,notFoundContent:d,...a})]})};Ut.Option=eo;const to=({buttonText:e="Subir archivo",...t})=>n.jsx(u.Upload,{...t,children:n.jsx(u.Button,{icon:n.jsx($t,{}),children:e})}),{Dragger:ro}=u.Upload,no=({text:e="Haz clic o arrastra un archivo aquí",hint:t="Soporta archivos individuales",...r})=>n.jsxs(ro,{...r,children:[n.jsx("p",{className:"ant-upload-drag-icon",children:n.jsx(Bt,{})}),n.jsx("p",{className:"ant-upload-text",children:e}),n.jsx("p",{className:"ant-upload-hint",children:t})]}),oo=({visible:e,title:t,fields:r,filters:o,onClose:s,onApplyFilters:i,onClearFilters:a,onChange:d,translations:l={}})=>n.jsx(u.Drawer,{title:t,placement:"right",onClose:s,visible:e,width:400,bodyStyle:{paddingBottom:80},footer:n.jsx("div",{style:{textAlign:"right"},children:n.jsxs(u.Space,{children:[n.jsx(u.Button,{type:"primary",onClick:i,children:l.applyFilters||"Aplicar filtros"}),n.jsx(u.Tooltip,{title:l.clearFilters||"Limpiar filtros",placement:"left",children:n.jsx(u.Button,{icon:n.jsx(ye,{}),onClick:a})})]})}),footerStyle:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px"},children:n.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"16px"},children:r.map(c=>n.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"calc(50% - 8px)"},children:[n.jsx("label",{style:{marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)"},children:c.label}),{text:n.jsx(u.Input,{placeholder:c.placeholder,value:o[c.key],onChange:m=>d(c.key,m.target.value)}),number:n.jsx(u.InputNumber,{placeholder:c.placeholder,value:o[c.key],onChange:m=>d(c.key,m),style:{width:"100%"}}),select:n.jsx(u.Select,{placeholder:c.placeholder,options:c.options,value:o[c.key],onChange:m=>d(c.key,m),style:{width:"100%"}})}[c.type]]},c.key))})}),so=({visible:e,title:t,filters:r,onChange:o,onClose:s,onSubmit:i,onClear:a,children:d,loading:l=!1,translations:c={}})=>n.jsx(u.Drawer,{title:t,placement:"right",onClose:s,open:e,width:400,styles:{body:{paddingBottom:80,display:"flex",flexWrap:"wrap",gap:16},footer:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px",textAlign:"right"}},footer:n.jsx("div",{style:{textAlign:"right"},children:n.jsxs(u.Space,{children:[n.jsx(u.Button,{type:"primary",onClick:i,loading:l,disabled:l,style:{color:"#fff",backgroundColor:"#1b1464"},children:c.apply||"Aplicar"}),n.jsx(u.Tooltip,{title:c.clearFilters||"Limpiar filtros",children:n.jsx(u.Button,{icon:n.jsx(ye,{}),onClick:a,disabled:l,style:{color:"#1b1464",borderColor:"#1b1464"}})})]})}),children:d({filters:r,onChange:o})}),io=`
109
+ H69.32c-29.13,0-52.75-23.61-52.75-52.75s23.61-52.75,52.75-52.75c21.19,0,39.46,12.49,47.85,30.52`})})]})]})},Oe=({tip:e,spinning:t=!0,size:r="default",overlay:o=!1,spinType:s="antd",children:i,...a})=>{const d=()=>s==="helppeople"?n.jsx(ut,{size:r}):n.jsx(u.Spin,{spinning:t,size:r,...a});return o&&t?n.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},children:n.jsxs("div",{style:{textAlign:"center",color:"white"},children:[d(),e&&n.jsx("div",{style:{marginTop:8,fontSize:14},children:e})]})}):s==="helppeople"?n.jsx(u.Spin,{...a,indicator:n.jsx(ut,{size:r}),tip:e,spinning:t,size:r,children:i}):n.jsx(u.Spin,{tip:e,spinning:t,size:r,...a,children:i})},Xn=({showTotal:e,style:t,...r})=>{const o=(s,i)=>`${i[1]-i[0]+1} de ${s} registros`;return n.jsx(u.Pagination,{showTotal:e??o,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...t},...r})},Kn=({strokeColor:e,style:t,...r})=>{const o=e??"var(--primary-color)";return n.jsx(u.Progress,{strokeColor:o,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...t},...r})},Gt=({columns:e,dataSource:t,pagination:r,loading:o,scroll:s,containerClassName:i,...a})=>{const d=s?{scrollToFirstRowOnChange:!0,...s}:{x:!0,scrollToFirstRowOnChange:!0},l=t==null?void 0:t.filter(f=>f?Object.values(f).some(h=>h!=null&&h!==""):!1),c=e==null?void 0:e.map((f,p)=>{const h={...f,key:f.key||p,title:typeof f.title=="string"?n.jsx("span",{style:{fontSize:"var(--font-size-medium)"},children:f.title}):f.title};if(f.width===void 0){const v=f.onCell;return{...h,onCell:(w,T)=>{var B;return{...v?v(w,T):{},style:{...v?(B=v(w,T))==null?void 0:B.style:{},maxWidth:200,whiteSpace:"normal",wordWrap:"break-word",wordBreak:"break-word"}}}}}return h}),m=r?{...r,showTotal:(f,p)=>`${p[1]-p[0]+1} de ${f} registros`,style:{margin:0,padding:"10px 16px",borderTop:"1px solid #e0e0e0",backgroundColor:"#ffffff",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}}:!1;return n.jsxs("div",{className:`custom-table-container ${i||""}`,style:{width:"100%",overflowX:"auto",overflowY:"visible",position:"relative"},children:[n.jsx(u.Table,{...a,loading:!1,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",overflow:"visible"},scroll:d,columns:c,dataSource:l,pagination:m}),o&&n.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.8)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10},children:n.jsx(Oe,{spinning:!0,spinType:"helppeople",size:"small"})})]})},Zn=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,type:s="line",showCardWrapper:i=!0,topBarContent:a,topBarAlign:d="right"})=>{const l={backgroundColor:"#ffffff",border:"1px solid #e0e0e0",borderRadius:"8px",padding:"1rem",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"},m={display:"flex",justifyContent:(()=>{switch(d){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"flex-end"}})(),alignItems:"center",gap:"0.5rem",flexWrap:"wrap"},f=n.jsx(u.Tabs,{defaultActiveKey:t,activeKey:r,onChange:o,type:s,tabBarStyle:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)",lineHeight:"1.5"},items:e.map(p=>({key:p.key,label:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:p.label}),children:n.jsx("div",{style:{padding:"1rem",backgroundColor:"#ffffff"},children:p.content})}))});return i?n.jsxs("div",{style:l,children:[a&&n.jsx("div",{style:m,children:a}),f]}):n.jsxs(n.Fragment,{children:[a&&n.jsx("div",{style:m,children:a}),f]})},Qn=({title:e,onBack:t,onNew:r,newButtonText:o="Nueva",backButtonText:s="Volver",newButtonLoading:i=!1,newButtonDisabled:a=!1,pageType:d="list",customButtons:l=[],hideDefaultButtons:c=!1,rightActions:m,pageHeader:f})=>{const p=()=>d==="form"?n.jsx(At,{}):d==="detail"?n.jsx(We,{}):n.jsx(qe,{});return n.jsxs("div",{style:{marginBottom:"0.5rem"},children:[n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"1rem 1.5rem",backgroundColor:"#ffffff",borderBottom:f?"1px solid var(--border-color-light, #f0f0f0)":"1px solid #e0e0e0"},children:[n.jsx("h2",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)",flex:"1 1 auto"},children:e}),n.jsxs(u.Space,{wrap:!0,style:{alignItems:"center"},children:[l.map(h=>n.jsx(J,{type:h.type||"default",danger:h.danger,onClick:h.onClick,icon:h.icon,text:h.text,loading:h.loading,disabled:h.disabled,style:{fontSize:"var(--font-size-medium)",...h.style}},h.key)),!c&&n.jsxs(n.Fragment,{children:[t&&n.jsx(J,{type:"default",onClick:t,icon:n.jsx(Se,{}),style:{fontSize:"var(--font-size-medium)"},text:s}),r&&n.jsx(J,{type:"primary",onClick:r,icon:p(),style:{fontSize:"var(--font-size-medium)"},text:o,loading:i,disabled:a})]}),m&&n.jsx("div",{style:{display:"inline-flex",alignItems:"center"},children:m})]})]}),f&&n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"0.75rem",padding:"0.5rem 1.5rem",backgroundColor:"var(--background-color-light, #f5f5f5)",borderBottom:"1px solid #e0e0e0"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-sm, 8px)"},children:[f.onBack&&n.jsx(Se,{onClick:f.onBack,style:{fontSize:"var(--font-size-large, 14px)",cursor:"pointer",color:"var(--text-color, #333)"}}),n.jsx("h3",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)"},children:f.title})]}),f.actions&&f.actions.length>0&&n.jsx(u.Space,{wrap:!0,style:{alignItems:"center"},children:f.actions.map(h=>n.jsx(J,{type:h.type||"primary",danger:h.danger,onClick:h.onClick,icon:h.icon,text:h.text,loading:h.loading,disabled:h.disabled,style:{fontSize:"var(--font-size-medium)",...h.style}},h.key))})]})]})},Jn=({title:e,onBack:t,actions:r=[],sticky:o=!1})=>n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"0.5rem",padding:"0.4rem 1rem",backgroundColor:"var(--background-color, #ffffff)",borderBottom:"1px solid var(--border-color, #d9d9d9)",...o?{position:"sticky",top:0,zIndex:10}:{}},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-sm, 8px)"},children:[t&&n.jsx(Se,{onClick:t,style:{fontSize:"var(--font-size-large, 14px)",cursor:"pointer",color:"var(--text-color, #333)"}}),n.jsx("span",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold, 600)",fontSize:"var(--font-size-large, 14px)",color:"var(--text-color, #333)"},children:e})]}),r.length>0&&n.jsx(u.Space,{wrap:!0,style:{alignItems:"center"},children:r.map(s=>n.jsx(J,{type:s.type||"primary",onClick:s.onClick,icon:s.icon,text:s.text,loading:s.loading,disabled:s.disabled,style:{fontSize:"var(--font-size-medium)",...s.style}},s.key))})]}),{Option:eo}=u.Mentions,Ut=e=>{const{label:t,required:r,helppeopleSpin:o,loading:s,notFoundContent:i,...a}=e;let d=i;return s&&o&&(d=n.jsx("div",{style:{display:"flex",justifyContent:"center"},children:n.jsx(Oe,{spinType:"helppeople",size:"small"})})),n.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100%"},children:[t&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[r&&n.jsx("span",{style:{color:"red",marginRight:4},children:"*"}),t]}),n.jsx(u.Mentions,{loading:o?!1:s,notFoundContent:d,...a})]})};Ut.Option=eo;const to=({buttonText:e="Subir archivo",...t})=>n.jsx(u.Upload,{...t,children:n.jsx(u.Button,{icon:n.jsx($t,{}),children:e})}),{Dragger:ro}=u.Upload,no=({text:e="Haz clic o arrastra un archivo aquí",hint:t="Soporta archivos individuales",...r})=>n.jsxs(ro,{...r,children:[n.jsx("p",{className:"ant-upload-drag-icon",children:n.jsx(Bt,{})}),n.jsx("p",{className:"ant-upload-text",children:e}),n.jsx("p",{className:"ant-upload-hint",children:t})]}),oo=({visible:e,title:t,fields:r,filters:o,onClose:s,onApplyFilters:i,onClearFilters:a,onChange:d,translations:l={}})=>n.jsx(u.Drawer,{title:t,placement:"right",onClose:s,visible:e,width:400,bodyStyle:{paddingBottom:80},footer:n.jsx("div",{style:{textAlign:"right"},children:n.jsxs(u.Space,{children:[n.jsx(u.Button,{type:"primary",onClick:i,children:l.applyFilters||"Aplicar filtros"}),n.jsx(u.Tooltip,{title:l.clearFilters||"Limpiar filtros",placement:"left",children:n.jsx(u.Button,{icon:n.jsx(xe,{}),onClick:a})})]})}),footerStyle:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px"},children:n.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"16px"},children:r.map(c=>n.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"calc(50% - 8px)"},children:[n.jsx("label",{style:{marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)"},children:c.label}),{text:n.jsx(u.Input,{placeholder:c.placeholder,value:o[c.key],onChange:m=>d(c.key,m.target.value)}),number:n.jsx(u.InputNumber,{placeholder:c.placeholder,value:o[c.key],onChange:m=>d(c.key,m),style:{width:"100%"}}),select:n.jsx(u.Select,{placeholder:c.placeholder,options:c.options,value:o[c.key],onChange:m=>d(c.key,m),style:{width:"100%"}})}[c.type]]},c.key))})}),so=({visible:e,title:t,filters:r,onChange:o,onClose:s,onSubmit:i,onClear:a,children:d,loading:l=!1,translations:c={}})=>n.jsx(u.Drawer,{title:t,placement:"right",onClose:s,open:e,width:400,styles:{body:{paddingBottom:80,display:"flex",flexWrap:"wrap",gap:16},footer:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px",textAlign:"right"}},footer:n.jsx("div",{style:{textAlign:"right"},children:n.jsxs(u.Space,{children:[n.jsx(u.Button,{type:"primary",onClick:i,loading:l,disabled:l,style:{color:"#fff",backgroundColor:"#1b1464"},children:c.apply||"Aplicar"}),n.jsx(u.Tooltip,{title:c.clearFilters||"Limpiar filtros",children:n.jsx(u.Button,{icon:n.jsx(xe,{}),onClick:a,disabled:l,style:{color:"#1b1464",borderColor:"#1b1464"}})})]})}),children:d({filters:r,onChange:o})}),io=`
110
110
  .custom-form .ant-form-item-label > label {
111
111
  font-weight: var(--font-weight-semibold, 600) !important;
112
112
  font-family: var(--font-family, inherit) !important;
@@ -115,4 +115,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
115
115
  .custom-form .ant-form-item-required::before {
116
116
  color: #ff4d4f !important;
117
117
  }
118
- `,he=e=>{const[t]=u.Form.useForm(),r=e.form||t;return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:io}),n.jsx(u.Form,{...e,className:`custom-form ${e.className||""}`,form:r,children:typeof e.children=="function"?e.children(r):e.children})]})};he.Item=u.Form.Item;he.List=u.Form.List;he.useForm=u.Form.useForm;he.useWatch=u.Form.useWatch;he.useFormInstance=u.Form.useFormInstance;const Xe=e=>n.jsx(u.Row,{...e,children:e.children}),Te=e=>n.jsx(u.Col,{...e,children:e.children}),ao=e=>n.jsx(u.Space,{...e,children:e.children}),Xt=e=>n.jsx(u.Card,{...e}),lo=e=>n.jsx(u.Tag,{...e});var co={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return e==="Día"?"Hoy":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+(e==="Semana"?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},uo={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${e===1?"":"s"}`}},fo={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return e==="Dia"?"Hoje":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+(e==="Semana"?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"};const mo={es:co,en:uo,pt:fo},ho=({events:e,initialView:t="dayGridMonth",height:r=600,selectable:o=!0,editable:s=!1,onEventClick:i,onDateSelect:a,renderEventContent:d,localeCode:l="es"})=>{const c=e;function m(h){i&&i({id:h.event.id,title:h.event.title,start:h.event.start,end:h.event.end??void 0,allDay:h.event.allDay})}function f(h){a&&a({start:h.start,end:h.end,allDay:h.allDay})}function p(h){return n.jsxs("div",{children:[n.jsx("b",{children:h.timeText})," ",n.jsx("span",{children:h.event.title})]})}return n.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",flexWrap:"nowrap",padding:"8px 12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,width:"100%",minHeight:"100vh",boxSizing:"border-box"},children:n.jsx(or,{plugins:[sr,ir,ar],initialView:t,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},height:r,selectable:o,editable:s,events:c,eventContent:d??p,eventClick:m,select:f,locale:mo[l||"es"]})})},ft=Me.Quill.import("delta");function po(e){if(!e||typeof e!="string"||!e.includes("<table"))return e;try{const r=new DOMParser().parseFromString(e,"text/html");return r.querySelectorAll("table").forEach(s=>{var d;const i=document.createElement("div");s.querySelectorAll("tr").forEach(l=>{const c=document.createElement("p"),m=l.querySelectorAll("td, th");let f="";m.forEach(p=>{f+=p.innerHTML+"&nbsp;"}),c.innerHTML=f.trim(),i.appendChild(c)}),(d=s.parentNode)==null||d.replaceChild(i,s)}),r.body.innerHTML}catch(t){return console.error("Error transforming table HTML",t),e}}const mt="hp-ui:rte-height:",go=1e4;function le(e,t){if(e===void 0)return t;if(typeof e=="number")return e;const r=parseInt(e,10);return Number.isNaN(r)?t:r}function ht(e){return typeof e=="number"?`${e}px`:e}function be(e,t,r){return Math.min(Math.max(e,t),r)}function we(e){return le(e,go)}const yo=["header","bold","italic","underline","strike","blockquote","list","bullet","link","color","background","align"],xo=({value:e="",onChange:t=()=>{},placeholder:r="Escribe aquí...",modules:o,formats:s,theme:i="snow",height:a="200px",width:d="100%",maxHeight:l=void 0,minHeight:c="100px",autoResize:m=!1,className:f="",allowImages:p=!0,maxLength:h,showCharacterCount:v=void 0,resizable:w=!1,resizeStorageKey:T,resizeAriaLabel:B="Redimensionar editor",...P})=>{const H=x.useRef(null),A=x.useRef(null),[y,k]=x.useState(0),[g,O]=x.useState(a),M=x.useRef(a),C=x.useRef(null);x.useEffect(()=>{M.current!==a&&(M.current=a,O(a))},[a]),x.useEffect(()=>{if(!(!w||!T))try{const b=window.localStorage.getItem(mt+T);if(!b)return;const I=parseInt(b,10);if(Number.isNaN(I))return;const _=le(c,100),$=we(l);O(be(I,_,$))}catch{}},[w,T,c,l]),x.useEffect(()=>()=>{var b;(b=C.current)==null||b.call(C)},[]);const R=b=>{if(!(!w||!T))try{window.localStorage.setItem(mt+T,String(b))}catch{}},te=b=>{var ae,ue;if(b.button!==0)return;b.preventDefault(),(ae=C.current)==null||ae.call(C);const I=b.clientY,_=le(c,100),$=we(l),S=((ue=A.current)==null?void 0:ue.clientHeight)??_;let D=S;const F=oe=>{D=be(S+(oe.clientY-I),_,$),O(D)},ee=()=>{window.removeEventListener("pointermove",F),window.removeEventListener("pointerup",ne),window.removeEventListener("pointercancel",ne),document.body.classList.remove("hp-rte-resizing"),C.current=null},ne=()=>{ee(),R(D)};document.body.classList.add("hp-rte-resizing"),window.addEventListener("pointermove",F),window.addEventListener("pointerup",ne),window.addEventListener("pointercancel",ne),C.current=ee},se=b=>{var F;const I=le(c,100),_=we(l),$=((F=A.current)==null?void 0:F.clientHeight)??I;let S;switch(b.key){case"ArrowUp":S=$-16;break;case"ArrowDown":S=$+16;break;case"PageUp":S=$-64;break;case"PageDown":S=$+64;break;case"Home":S=le(a,I);break;default:return}b.preventDefault();const D=be(S,I,_);O(D),R(D)},re=b=>{b.preventDefault();const I=le(c,100),_=we(l),$=be(le(a,I),I,_);O($),R($)},j=x.useMemo(()=>h!==void 0?h:3e3,[h]),L=x.useMemo(()=>po(e),[e]),N=x.useMemo(()=>{if(s)return s;const b=[...yo];return p&&b.push("image"),b},[s,p]),V=x.useMemo(()=>{if(o)return o;const b=[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"}]],I=["link"];return p&&I.push("image"),b.push(I),b.push(["clean"]),b.push([{color:[]},{background:[]}]),b.push([{align:[]}]),{toolbar:b,clipboard:{matchVisual:!1}}},[o,p]);x.useEffect(()=>{if(!H.current)return;H.current.getEditor().clipboard.addMatcher("IMG",I=>{var $;if(!p)return new ft;const _=(($=I.getAttribute)==null?void 0:$.call(I,"src"))||"";if(_.startsWith("data:image/")){const S=Me.Quill.import("delta");return new S().insert({image:_})}return new ft})},[p]),x.useEffect(()=>{if(!H.current)return;const b=H.current.getEditor(),I=($,S,D)=>{if(D!=="user")return;const F=b.getText().trim(),ee=F.length;if(h===void 0){k(F.length);return}if(k(Math.min(ee,h)),ee>h){const ne=b.getContents(),ae=[];let ue=0;for(const oe of ne.ops)if(typeof oe.insert=="string"){const Ee=h-ue;if(Ee<=0)break;oe.insert.length<=Ee?(ae.push(oe),ue+=oe.insert.length):(ae.push({insert:oe.insert.substring(0,Ee),...oe.attributes?{attributes:oe.attributes}:{}}),ue=h)}else ae.push(oe);b.setContents(ae),k(h)}},_=b.getText().trim().length;return k(h===void 0?_:Math.min(_,h)),b.on("text-change",I),()=>{b.off("text-change",I)}},[h]),x.useEffect(()=>{if(!H.current)return;const b=H.current.getEditor(),_=b.getText().trim().length;if(k(h===void 0?_:Math.min(_,h)),h!==void 0&&_>h){const $=b.getContents(),S=[];let D=0;for(const F of $.ops)if(typeof F.insert=="string"){const ee=h-D;if(ee<=0)break;F.insert.length<=ee?(S.push(F),D+=F.insert.length):(S.push({insert:F.insert.substring(0,ee),...F.attributes?{attributes:F.attributes}:{}}),D=h)}else S.push(F);b.setContents(S),k(h),t(b.root.innerHTML)}},[L,h]),x.useEffect(()=>{if(m&&H.current&&A.current){const b=H.current.getEditor(),I=A.current,_=()=>{const $=I.querySelector(".ql-editor");if($){const S=$.scrollHeight,D=typeof c=="number"?c:parseInt(c),F=typeof l=="number"?l:parseInt(l??"400px"),ee=Math.min(Math.max(S+42,D),F);I.style.height=`${ee}px`}};return b.on("text-change",_),_(),()=>{b.off("text-change",_)}}},[m,l,c]);const ie={width:typeof d=="number"?`${d}px`:d,height:m?"auto":ht(g),minHeight:typeof c=="number"?`${c}px`:c,maxHeight:m?l===void 0?void 0:ht(l):"none",display:"flex",flexDirection:"column",border:"1px solid #d9d9d9",borderRadius:"6px",backgroundColor:"#ffffff",...P.style},z={width:typeof d=="number"?`${d}px`:d,position:"relative"},W={height:"100%",display:"flex",flexDirection:"column"},Y=w&&!P.readOnly&&!m,Z=v??h!==void 0,Q=h;return n.jsxs("div",{className:"custom-rte-shell",style:z,children:[n.jsxs("div",{ref:A,className:`custom-rich-text-editor ${m?"auto-resize":"fixed-height"} ${f}`,style:ie,children:[n.jsx(Me,{ref:H,theme:i,value:L,onChange:t,modules:V,formats:N,placeholder:r,style:W,...P}),Z&&n.jsx("div",{className:`character-counter ${Q!==void 0&&y>=Q?"at-limit":Q!==void 0&&y>=Q*.9?"near-limit":""}`,children:Q!==void 0?`${y}/${j}`:y})]}),Y&&n.jsx("div",{className:"custom-rte-resizer",role:"separator","aria-orientation":"horizontal","aria-label":B,title:"Arrastrar para cambiar el alto",tabIndex:0,onPointerDown:te,onDoubleClick:re,onKeyDown:se})]})},xe=e=>n.jsx(u.Menu,{className:`custom-menu ${e.className||""}`,style:{fontSize:"var(--font-size-medium)",...e.style},...e});xe.Item=e=>n.jsx(u.Menu.Item,{...e,className:`custom-menu-item ${e.className||""}`});xe.SubMenu=e=>n.jsx(u.Menu.SubMenu,{...e,className:`custom-menu-submenu ${e.className||""}`});xe.ItemGroup=u.Menu.ItemGroup;xe.Divider=u.Menu.Divider;const Kt=u.Dropdown,Zt=()=>document.body,Ke=(...e)=>e.filter(Boolean).join(" "),Qt=(e,t)=>({...e,root:Ke("library-components-wrapper",e==null?void 0:e.root,t)}),Jt=({className:e,children:t,items:r,menu:o,getPopupContainer:s,overlayClassName:i,classNames:a,...d})=>{const l=r?{items:r}:o;return n.jsx(Kt,{className:Ke("custom-dropdown",e),classNames:Qt(a,i),getPopupContainer:s??Zt,menu:l,...d,children:t})};Jt.Button=({className:e,overlayClassName:t,getPopupContainer:r,classNames:o,...s})=>n.jsx(Kt.Button,{...s,className:Ke("custom-dropdown-button",e),classNames:Qt(o,t),getPopupContainer:r??Zt});const{Title:vo}=u.Typography,bo=({available:e,selected:t,onChange:r,availableTitle:o="Disponibles",selectedTitle:s="Seleccionados",emptyDescription:i="Arrastra los elementos aquí"})=>{const a=l=>{const{source:c,destination:m}=l;if(m&&!(c.droppableId===m.droppableId&&c.index===m.index))if(c.droppableId===m.droppableId){const f=c.droppableId==="disponibles"?[...e]:[...t],[p]=f.splice(c.index,1);f.splice(m.index,0,p),c.droppableId==="disponibles"?r(f,t):r(e,f)}else{const f=c.droppableId==="disponibles"?[...e]:[...t],p=m.droppableId==="disponibles"?[...e]:[...t],[h]=f.splice(c.index,1);p.splice(m.index,0,h),c.droppableId==="disponibles"?r(f,p):r(p,f)}},d=(l,c,m)=>n.jsxs(Te,{span:12,children:[n.jsx(vo,{level:4,style:{marginBottom:16,fontSize:14},children:c}),n.jsx(Ne.Droppable,{droppableId:l,children:(f,p)=>n.jsxs("div",{ref:f.innerRef,...f.droppableProps,style:{minHeight:300,background:p.isDraggingOver?"#f0f9ff":"#f8fafc",padding:16,borderRadius:8,border:`2px dashed ${p.isDraggingOver?"#3b82f6":"#cbd5e1"}`,transition:"all 0.2s ease"},children:[m.length===0?n.jsx(u.Empty,{description:i,style:{opacity:.3}}):m.map((h,v)=>n.jsx(Ne.Draggable,{draggableId:h.id,index:v,children:(w,T)=>n.jsx("div",{ref:w.innerRef,...w.draggableProps,...w.dragHandleProps,style:{marginBottom:8,cursor:T.isDragging?"grabbing":"grab",opacity:T.isDragging?.8:1,transform:T.isDragging?"rotate(3deg)":"none",...w.draggableProps.style},children:n.jsx(Xt,{size:"small",style:{boxShadow:T.isDragging?"0 4px 6px -1px rgb(0 0 0 / 0.1)":"none",fontSize:"var(--font-size-medium)"},children:h.content})})},h.id)),f.placeholder]})})]});return n.jsx(Ne.DragDropContext,{onDragEnd:a,children:n.jsxs(Xe,{gutter:16,style:{margin:"24px 0"},children:[d("disponibles",o,e),d("seleccionados",s,t)]})})},wo=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,accordion:s=!1,bordered:i=!0,collapsible:a="header",expandIcon:d,expandIconPosition:l="start",ghost:c=!1,size:m="middle",className:f,style:p})=>{const v={items:e.map(w=>({key:w.key,label:w.header,children:w.children,disabled:w.disabled,showArrow:w.showArrow,extra:w.extra,className:w.className,style:w.style})),defaultActiveKey:t,activeKey:r,onChange:o,accordion:s,bordered:i,collapsible:a,expandIcon:d,expandIconPosition:l,ghost:c,size:m,className:f,style:p};return n.jsx(u.Collapse,{...v})},Co=({dataSource:e,targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:a,titles:d=["Origen","Destino"],operations:l=[">","<"],showSearch:c=!1,filterOption:m,disabled:f=!1,listStyle:p,className:h,style:v,render:w,children:T,showSelectAll:B=!0,selectAllLabels:P,oneWay:H=!1,pagination:A=!1,status:y,locale:k,remotePagination:g,onPageChange:O})=>{const M=e.map(N=>({key:N.key,title:N.title,description:N.description,disabled:N.disabled||!1,chosen:N.chosen||!1})),C=o?(N,V,ie)=>o(N,V,ie):void 0,R=s?(N,V)=>s(N,V):void 0,te=i?(N,V)=>i(N,V):void 0,se=a?(N,V)=>a(N,V):void 0,re=["hp-transfer",h].filter(Boolean).join(" "),j=!!g&&g.position!=="none",L={dataSource:M,targetKeys:t,selectedKeys:r,onChange:C,onSelectChange:R,onSearch:te,onScroll:se,titles:d,operations:l,showSearch:c,filterOption:m?(N,V)=>m(N,V):void 0,disabled:f,listStyle:p,className:re,render:w||(N=>N.title),showSelectAll:B,selectAllLabels:P,oneWay:H,pagination:j?!1:A,status:y,locale:k,footer:j?({direction:N})=>{const V=(g==null?void 0:g.position)??"left";if(!(V==="both"||V==="left"&&N==="left"||V==="right"&&N==="right"))return null;const z=N==="left"?g==null?void 0:g.left:g==null?void 0:g.right;if(!z)return null;const{page:W,pageSize:Y,total:Z}=z,Q=(g==null?void 0:g.simple)??!0,b=(g==null?void 0:g.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(u.Pagination,{size:"small",simple:Q,current:W,total:Z,pageSize:Y,showSizeChanger:b,pageSizeOptions:["5","10","20","50"],onChange:(I,_)=>{O==null||O(N,I,_)}})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...v},children:T?T(L):n.jsx(u.Transfer,{...L})})},jo=({dataSource:e=[],targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:a,titles:d=["Origen","Destino"],operations:l=[">","<"],showSearch:c=!1,filterOption:m,disabled:f=!1,listStyle:p,className:h,style:v,selectAllLabels:w,oneWay:T=!1,status:B,locale:P,leftColumns:H,rightColumns:A,rowKey:y="key",tableSize:k="small",tableScroll:g,showDefaultHeaderActions:O=!0,headerActions:M=[],remotePagination:C,onPageChange:R})=>{const te=(e??[]).map(z=>({...z,key:z.key,title:z.title||z.key||String(z.key),description:z.description,disabled:z.disabled||!1,chosen:z.chosen||!1})),se=o?(z,W,Y)=>o(z,W,Y):void 0,re=s?(z,W)=>s(z,W):void 0,j=i?(z,W)=>i(z,W):void 0,L=a?(z,W)=>a(z,W):void 0,N=["hp-transfer","hp-table-transfer",h].filter(Boolean).join(" "),V=!!C&&(C.position??"left")!=="none",ie={dataSource:te,targetKeys:t,selectedKeys:r,onChange:se,onSelectChange:re,onSearch:j,onScroll:L,titles:d,operations:l,showSearch:c,filterOption:m,disabled:f,listStyle:p,className:N,showSelectAll:O,selectAllLabels:w,oneWay:T,pagination:!1,status:B,locale:P,footer:V?({direction:z})=>{const W=(C==null?void 0:C.position)??"left";if(!(W==="both"||W==="left"&&z==="left"||W==="right"&&z==="right"))return null;const Z=z==="left"?C==null?void 0:C.left:C==null?void 0:C.right;if(!Z)return null;const{page:Q,pageSize:b,total:I}=Z,_=(C==null?void 0:C.simple)??!0,$=(C==null?void 0:C.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(u.Pagination,{size:"small",simple:_,current:Q,total:I,pageSize:b,showSizeChanger:$,pageSizeOptions:["5","10","20","50"],onChange:(S,D)=>R==null?void 0:R(z,S,D)})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...v},children:n.jsx(u.Transfer,{...ie,children:({direction:z,filteredItems:W,onItemSelect:Y,onItemSelectAll:Z,selectedKeys:Q,disabled:b})=>{const I=z==="left"?H:A??H,_={getCheckboxProps:S=>({disabled:b||S.disabled}),selectedRowKeys:Q,onSelect:(S,D)=>{Y(S.key,D)},hideSelectAll:!1,onChange:S=>{Z(S,"replace")},selections:(()=>{const S=[];return O&&S.push({key:"select-all-data",text:"Select all data",onSelect:()=>{const D=W.map(F=>F.key);Z(D,"replace")}},{key:"invert-current-page",text:"Invert current page",onSelect:()=>{const D=W.map(ne=>ne.key),F=Q,ee=D.filter(ne=>!F.includes(ne));Z(ee,"replace")}}),M.forEach(D=>{S.push({key:D.key,text:D.label,onSelect:()=>{var F;(F=D.onClick)==null||F.call(D,z,Q)}})}),S.length>0?S:!1})()},$=typeof y=="function"?y:S=>S[y];return n.jsx(u.Table,{showHeader:!0,size:k,columns:I,dataSource:W,rowKey:$,pagination:!1,rowSelection:_,style:{pointerEvents:b?"none":void 0,height:"100%"},onRow:S=>({onClick:()=>{if(b||S.disabled)return;const D=!Q.includes(S.key);Y(S.key,D)}}),scroll:g})}})})},So=({leftPanel:e,rightPanel:t,responsive:r={xs:24,sm:12,md:12},gutter:o=[16,8],className:s,style:i})=>{const a=(l,c)=>typeof t.rowKey=="function"?t.rowKey(l):l[t.rowKey]||String(c),d=(()=>{const l=t.pagination;return l&&{size:"small",showTotal:(c,m)=>`${m[1]-m[0]+1} de ${c} registros`,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},...l}})();return n.jsx("div",{className:`custom-relation-selector ${s||""}`,style:i,children:n.jsxs(Xe,{gutter:o,children:[n.jsx(Te,{...r,children:n.jsxs(u.Card,{title:e.title,className:`relation-selector-card ${e.cardClassName||""}`,extra:e.extra,children:[e.filters&&n.jsx("div",{className:"relation-selector-filters",children:e.filters}),e.error&&n.jsx(u.Alert,{message:e.error,type:"error",showIcon:!0,className:"relation-selector-error"}),n.jsx("div",{style:{overflowX:"auto",width:"100%",maxWidth:"100%",marginTop:10},children:n.jsx(Gt,{...e.table,showHeader:!0,scroll:e.table.scroll??{x:"max-content"},className:`relation-selector-table ${e.table.className||""}`})}),e.actionButton&&n.jsx("div",{className:"relation-selector-action",children:n.jsx(u.Button,{type:e.actionButton.type||"primary",icon:e.actionButton.icon,onClick:e.actionButton.onClick,disabled:e.actionButton.disabled,loading:e.actionButton.loading,danger:e.actionButton.danger,children:e.actionButton.text})})]})}),n.jsx(Te,{...r,children:n.jsxs(u.Card,{title:t.title,className:`relation-selector-card ${t.cardClassName||""}`,extra:t.extra,styles:{body:{overflow:t.loading?"hidden":"auto"}},children:[t.filters&&n.jsx("div",{className:"relation-selector-filters",children:t.filters}),t.loading?n.jsx("div",{className:"relation-selector-loading",children:n.jsx(Oe,{spinning:!0,indicator:t.spinType,size:"small",spinType:"helppeople"})}):t.data.length===0?n.jsx(u.Empty,{description:t.emptyText||"No hay datos"}):n.jsx(u.List,{size:"small",className:`relation-selector-list ${t.listClassName||""}`,itemLayout:t.itemLayout||"horizontal",dataSource:t.data,pagination:d,renderItem:(l,c)=>{const m=t.renderItem(l);return n.jsx(u.List.Item,{actions:m.actions,children:n.jsx(u.List.Item.Meta,{title:m.title,description:m.description})},a(l,c))}})]})})]})})},er=({count:e=0,overflowCount:t=99,dot:r=!1,color:o,size:s="default",icon:i,useButton:a=!1,buttonType:d="text",buttonShape:l="circle",onClick:c,style:m,containerStyle:f,showZero:p=!1,offset:h,className:v,disabled:w=!1})=>{const T=()=>{switch(s){case"small":return"18px";case"large":return"28px";default:return"24px"}},B=i||n.jsx(Pe,{style:{fontSize:T(),...f}}),P=a?n.jsx(u.Button,{type:d,icon:B,shape:l,onClick:c,style:f,disabled:w,className:v}):n.jsx("span",{onClick:c,style:{cursor:c?"pointer":"default",display:"inline-flex",alignItems:"center",justifyContent:"center",...f},className:v,children:B});return n.jsx(u.Badge,{count:e,overflowCount:t,dot:r,color:o,showZero:p,offset:h,style:m,children:P})},To=({count:e,notifications:t=[],icon:r,size:o="default",useButton:s=!1,buttonType:i="text",onNotificationClick:a,onLoadMore:d,hasMore:l=!1,loading:c=!1,renderNotification:m,loadMoreText:f="Cargar más",emptyText:p="No hay notificaciones",popoverWidth:h=380,overflowCount:v=99,badgeColor:w,showZero:T=!1,containerStyle:B,popoverTitle:P="Notificaciones",onOpenChange:H,headerAction:A,maxHeight:y=400,placement:k="bottomRight"})=>{const[g,O]=x.useState(!1),M=x.useRef(null),C=x.useRef(0),R=j=>{O(j),H==null||H(j)},te=j=>{a==null||a(j)};x.useEffect(()=>{if(!M.current||!l||c)return;const j=new IntersectionObserver(L=>{const N=Date.now();L[0].isIntersecting&&l&&!c&&N-C.current>1e3&&(C.current=N,d==null||d())},{threshold:.1});return j.observe(M.current),()=>j.disconnect()},[l,c,d]);const se=j=>n.jsxs("div",{style:{padding:"12px",cursor:j.actions?"default":"pointer",backgroundColor:j.read?"transparent":"#f0f7ff",borderRadius:"4px",transition:"background-color 0.3s",width:"100%",boxSizing:"border-box"},onMouseEnter:L=>{L.currentTarget.style.backgroundColor=j.read?"#fafafa":"#e6f4ff"},onMouseLeave:L=>{L.currentTarget.style.backgroundColor=j.read?"transparent":"#f0f7ff"},children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"4px"},children:[n.jsx("span",{style:{fontWeight:j.read?400:600,fontSize:"14px",color:j.read?"#595959":"#262626"},children:j.title}),!j.read&&n.jsx("span",{style:{width:"8px",height:"8px",backgroundColor:"#1890ff",borderRadius:"50%",marginLeft:"8px",flexShrink:0}})]}),j.description&&n.jsx("div",{style:{fontSize:"13px",color:"#8c8c8c",marginBottom:j.actions?"8px":"4px",lineHeight:"1.4"},children:j.description}),j.timestamp&&n.jsx("div",{style:{fontSize:"12px",color:"#bfbfbf",marginBottom:j.actions?"8px":"0"},children:j.timestamp}),j.actions&&j.actions.length>0&&n.jsx(u.Space,{size:"small",style:{marginTop:"8px"},children:j.actions.map((L,N)=>n.jsx(u.Button,{type:L.type||"default",size:L.size||"small",icon:L.icon,danger:L.danger,disabled:L.disabled,onClick:V=>{V.stopPropagation(),L.onClick(j)},children:L.label},N))})]}),re=n.jsxs("div",{style:{width:h},children:[A&&n.jsxs(n.Fragment,{children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[n.jsx("span",{style:{fontWeight:600,fontSize:"14px"},children:P}),A]}),n.jsx(u.Divider,{style:{margin:"8px 0"}})]}),n.jsxs("div",{style:{maxHeight:y,overflowY:"auto"},children:[t.length===0?n.jsx(u.Empty,{description:p,image:u.Empty.PRESENTED_IMAGE_SIMPLE,style:{padding:"24px 0"}}):n.jsx(u.List,{dataSource:t,renderItem:j=>n.jsx(u.List.Item,{style:{padding:0,border:"none",marginBottom:"4px",width:"100%"},onClick:()=>te(j),children:m?m(j):se(j)})}),c&&t.length>0&&n.jsx("div",{style:{textAlign:"center",padding:"12px 0"},children:n.jsx(Ft,{style:{fontSize:16,color:"#999"}})}),l&&t.length>0&&!c&&n.jsx("div",{style:{textAlign:"center",padding:"8px 0"},children:n.jsx(J,{text:f,onClick:d||(()=>{}),style:{width:"100%"}})}),l&&n.jsx("div",{ref:M,style:{height:1}})]})]});return n.jsx(u.Popover,{content:re,title:A?null:P,trigger:"click",open:g,onOpenChange:R,placement:k,overlayStyle:{maxWidth:h+48},children:n.jsx("div",{style:{display:"inline-block",cursor:"pointer"},children:n.jsx(er,{count:e!==void 0?e:t.filter(j=>!j.read).length,icon:r||n.jsx(Pe,{}),size:o,useButton:s,buttonType:i,overflowCount:v,color:w,showZero:T,containerStyle:B})})})};function tr({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,style:i,className:a,...d}){const l=e.map((c,m)=>s(c,m));return n.jsx(u.Timeline,{mode:t,reverse:r,pending:o,items:l,style:{fontFamily:"var(--font-family, inherit)",...i},className:a,...d})}const ko=({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,showExpediente:i=!1,showUsuario:a=!0,showFlujo:d=!1,dateFormatter:l,style:c,className:m,...f})=>{const p=v=>{if(l)return l(v);try{return new Date(v).toLocaleString("es-ES",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}catch{return v}},h=v=>({label:n.jsx("span",{style:{fontWeight:"500"},children:p(v.Fecha)}),children:n.jsxs("div",{style:{paddingBottom:"8px"},children:[i&&v.CodigoExpediente&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Expediente:"})," ",v.CodigoExpediente]}),d&&v.DescripcionFlujo&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Flujo:"})," ",v.DescripcionFlujo]}),a&&v.NombreUsuario&&n.jsxs("div",{style:{marginBottom:"4px",color:"var(--color-text-secondary, #666)",fontSize:"var(--font-size-small, 12px)"},children:[n.jsx("strong",{children:"Usuario:"})," ",v.NombreUsuario]}),n.jsx("div",{style:{marginTop:"8px"},children:v.Mensaje})]}),color:v.color||"blue",dot:v.dot});return n.jsx(tr,{data:e,mode:t,reverse:r,pending:o,renderItem:s||h,style:c,className:m,...f})},Oo=({className:e,...t})=>n.jsx("div",{className:`custom-carousel-wrapper ${e||""}`,children:n.jsx(u.Carousel,{...t})}),Eo=e=>n.jsx(u.Empty,{...e}),No=({className:e,style:t,...r},o)=>n.jsx(u.List,{ref:o,className:`${e}`,style:t,...r}),Ze=x.forwardRef(No);Ze.Item=u.List.Item;Ze.ItemMeta=u.List.Item.Meta;const pt=(...e)=>e.filter(Boolean).join(" "),zo=(e,t)=>e.length===t.length&&e.every((r,o)=>r===t[o]),Ie=(e,t,r)=>{const o=Math.min(Math.max(t,0),e.length),s=e.find(l=>l.id===r),i=e.slice(0,o);if(!s||i.some(l=>l.id===s.id))return{visibleItems:i,overflowItems:e.slice(o)};const a=[...e.slice(0,Math.max(o-1,0)),s],d=new Set(a.map(l=>l.id));return{visibleItems:a,overflowItems:e.filter(l=>!d.has(l.id))}},Ro=({items:e,currentItemId:t,navigationLabel:r,onNavigate:o,onOverflow:s,className:i,onRemove:a,getRemoveLabel:d,getFallbackFocus:l,getRemoveAnnouncement:c})=>{const m=x.useRef(null),f=x.useRef(null),p=x.useRef(new Map),h=x.useRef(new Map),v=x.useRef(),w=x.useRef(),T=x.useRef(),[B,P]=x.useState(e.length),[H,A]=x.useState({sequence:0,text:""});x.useLayoutEffect(()=>{const g=m.current,O=f.current;if(!g||!O||typeof ResizeObserver>"u"){P(e.length);return}const M=R=>{var ie,z,W;const te=O.firstElementChild;if(!te||R<=0){P(e.length);return}const se=te.getBoundingClientRect().width,re=window.getComputedStyle(O),j=Number.parseFloat(re.columnGap||re.gap)||0,L=Math.max(1,Math.floor((R+j)/(se+j))),N=document.activeElement,V=N?(ie=Array.from(p.current.entries()).find(([,Y])=>Y.contains(N)))==null?void 0:ie[0]:void 0;if(V!==void 0){const{visibleItems:Y}=Ie(e,L,t);Y.some(Z=>Z.id===V)||(w.current=((z=Y.find(Z=>Z.id===t))==null?void 0:z.id)??((W=Y[Y.length-1])==null?void 0:W.id)??null)}P(Y=>Y===L?Y:L)},C=new ResizeObserver(([R])=>{R&&M(R.contentRect.width)});return M(g.getBoundingClientRect().width),C.observe(g),()=>C.disconnect()},[t,e]);const{visibleItems:y,overflowItems:k}=Ie(e,B,t);return x.useLayoutEffect(()=>{var O,M;const g=w.current;if(g!==void 0){if(w.current=void 0,g===null){(O=m.current)==null||O.focus();return}(M=h.current.get(g))==null||M.focus()}},[y]),x.useEffect(()=>{if(k.length===0){T.current=void 0;return}const g=k.map(M=>M.id),O=T.current;(O==null?void 0:O.capacity)===B&&zo(O.ids,g)||(T.current={capacity:B,ids:g},s(k))},[s,k,B]),x.useEffect(()=>{var O;const g=v.current;if(g&&!e.some(M=>M.id===g.item.id)){v.current=void 0;const{visibleItems:M}=Ie(e,B,t),C=M[Math.min(g.index,M.length-1)];C?(O=h.current.get(C.id))==null||O.focus():l==null||l().focus();const R=c==null?void 0:c(g.item);R&&A(({sequence:te})=>({sequence:te+1,text:R}))}},[t,l,c,e,B]),e.length===0?null:n.jsxs("nav",{ref:m,"aria-label":r,className:pt("recently-viewed-list",i),tabIndex:-1,children:[n.jsx("ul",{ref:f,className:"recently-viewed-list__items",children:y.map((g,O)=>{const M=g.id===t,C=`${g.code} · ${g.label}`;return n.jsxs("li",{"aria-current":M?"page":void 0,className:pt("recently-viewed-list__item",M?"recently-viewed-list__item--current":void 0),ref:R=>{R?p.current.set(g.id,R):p.current.delete(g.id)},children:[n.jsx(J,{ref:R=>{R?h.current.set(g.id,R):h.current.delete(g.id)},className:"recently-viewed-list__navigate",type:"default",text:C,tooltip:C,onClick:()=>o(g)}),a!==void 0&&d!==void 0&&n.jsx(J,{className:"recently-viewed-list__remove",type:"default",icon:n.jsx(Ve,{"aria-hidden":"true"}),text:d(g),tooltip:d(g),onClick:()=>{v.current={item:g,index:O},a(g)}})]},g.id)})}),n.jsx("span",{"aria-atomic":"true","aria-live":"polite",className:"recently-viewed-list__announcement",role:"status",children:H.text},H.sequence)]})},rr=x.createContext(null),Io=()=>{const e=x.useContext(rr);if(!e)throw new Error("useFeedback() debe usarse dentro de <FeedbackProvider>. Asegúrate de que FeedbackProvider envuelve tu árbol de componentes.");return e},Mo=({children:e,onReady:t})=>{const{notification:r,message:o,modal:s}=u.App.useApp(),i={notification:r,message:o,modal:s},a=x.useRef(!1);return x.useEffect(()=>{!a.current&&t&&(t(i),a.current=!0)},[t,i]),n.jsx(rr.Provider,{value:i,children:e})},nr=({children:e,onReady:t})=>n.jsx(u.App,{children:n.jsx(Mo,{onReady:t,children:e})}),Do={INPUT_HEIGHT:25,FONT_SIZE:12,PRIMARY_COLOR:"#1b1464",FONT_FAMILY:'"Open Sans", sans-serif',TABLE_ROW_HEIGHT:25,BORDER_COLOR:"#d9d9d9",TEXT_COLOR:"#333333"},_o=({children:e,customTokens:t={}})=>{const r={...Do,...t};return n.jsx(u.ConfigProvider,{theme:{token:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,colorPrimary:r.PRIMARY_COLOR,fontFamily:r.FONT_FAMILY,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgBase:"#ffffff"},components:{Button:{fontSize:r.FONT_SIZE,controlHeight:22,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044",colorText:r.TEXT_COLOR,colorBgContainer:"#ffffff",colorBorder:r.BORDER_COLOR},Table:{cellFontSize:r.FONT_SIZE,cellPaddingBlock:4,headerBg:"#fafafa",headerColor:r.TEXT_COLOR,headerSplitColor:r.BORDER_COLOR,colorText:"inherit",rowSelectedBg:"#e8e6f0",rowSelectedHoverBg:"#d9d5e8",rowHoverBg:"#f5f5f5"},Input:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},Select:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},DatePicker:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY,colorBorder:r.BORDER_COLOR,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",borderRadius:4,paddingInline:8},Checkbox:{colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044"},Spin:{colorPrimary:r.PRIMARY_COLOR,dotSize:20,dotSizeSM:16,dotSizeLG:24},Transfer:{listHeight:200,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgContainer:"#ffffff",fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY},Divider:{fontSize:r.FONT_SIZE,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,fontFamily:r.FONT_FAMILY}}},children:n.jsx(nr,{children:n.jsx("div",{className:"library-components-wrapper","data-input-height":r.INPUT_HEIGHT,"data-font-size":r.FONT_SIZE,"data-primary-color":r.PRIMARY_COLOR,children:e})})})},Ho={open:e=>{u.message.open(e)},success:(e,t,r)=>{u.message.success(e,t,r)},error:(e,t,r)=>{u.message.error(e,t,r)},info:(e,t,r)=>{u.message.info(e,t,r)},warning:(e,t,r)=>{u.message.warning(e,t,r)},loading:(e,t,r)=>{u.message.loading(e,t,r)}},{DirectoryTree:Bo}=u.Tree,Fo=({style:e,...t})=>n.jsx(u.Tree,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),Ao=({style:e,...t})=>n.jsx(Bo,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),Lo=({count:e,dot:t=!1,overflowCount:r=99,showZero:o=!1,size:s="default",status:i,text:a,color:d,offset:l,children:c,style:m,className:f,...p})=>n.jsx(u.Badge,{count:e,dot:t,overflowCount:r,showZero:o,size:s,status:i,text:a,color:d,offset:l,style:{fontSize:"var(--font-size-medium)",...m},className:f,...p,children:c}),$o=({src:e,width:t,height:r,alt:o="",fallback:s,placeholder:i,preview:a=!0,style:d,className:l,...c})=>n.jsx(u.Image,{src:e,width:t,height:r,alt:o,fallback:s,placeholder:i,preview:a,style:d,className:l,...c}),Po=({children:e,preview:t,items:r,fallback:o})=>n.jsx(u.Image.PreviewGroup,{preview:t,items:r,fallback:o,children:e}),Vo={"image/jpeg":"jpg","image/jpg":"jpg","image/png":"png","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/bmp":"bmp","image/tiff":"tiff","image/x-icon":"ico","image/vnd.microsoft.icon":"ico"};function Wo(e){const t=e.toLowerCase().trim();return Vo[t]||"png"}const ce="data-rte-attachment",Ce={maxWidth:1600,quality:.85};async function Yo(e){return new Promise((t,r)=>{const o=new Image,s=new FileReader;s.onload=i=>{var a;o.src=(a=i.target)==null?void 0:a.result},o.onload=()=>{let{width:i,height:a}=o;if(i>Ce.maxWidth){const f=Ce.maxWidth/i;i=Ce.maxWidth,a=Math.round(a*f)}const d=document.createElement("canvas");d.width=i,d.height=a;const l=d.getContext("2d");if(!l){r(new Error("No se pudo crear el contexto del canvas"));return}l.drawImage(o,0,0,i,a);const c=e.type||"image/jpeg",m=c==="image/jpeg"||c==="image/webp";d.toBlob(f=>{if(!f){r(new Error("No se pudo comprimir la imagen"));return}const p=new File([f],e.name,{type:c});t(p)},c,m?Ce.quality:void 0)},o.onerror=()=>r(new Error("Error cargando imagen")),s.onerror=()=>r(new Error("Error leyendo archivo")),s.readAsDataURL(e)})}async function qo(e,t="image",r={}){const{preserveMarkers:o=!1}=r;if(!e)return{cleanHtml:"",images:[]};const i=new DOMParser().parseFromString(e,"text/html"),a=i.querySelectorAll("img"),d=[];let l=0;for(const m of Array.from(a)){const f=m.getAttribute("src")||"";if(!f.startsWith("data:image/"))continue;const p=f.match(/^data:(image\/[^;]+);base64,(.+)$/i);if(!p)continue;const h=p[1],v=p[2];let w;try{const k=atob(v),g=[];for(let O=0;O<k.length;O+=512){const M=k.slice(O,O+512),C=new Array(M.length);for(let R=0;R<M.length;R++)C[R]=M.charCodeAt(R);g.push(new Uint8Array(C))}w=new Blob(g,{type:h})}catch(k){console.error("Error converting base64 to blob:",k);continue}l++;const T=Wo(h),B=Date.now(),P=`${t}_${B}_${l}.${T}`,H=new File([w],P,{type:h});let A=H;try{A=await Yo(H)}catch(k){console.warn("No se pudo comprimir la imagen, usando original:",k)}const y=A.name;d.push({file:A,fileName:y,mimeType:A.type,originalSize:A.size}),o?(m.setAttribute(ce,y),m.removeAttribute("src")):m.remove()}return{cleanHtml:i.body.innerHTML,images:d}}async function Go(e,t){const r=[];for(const{file:o,fileName:s}of e)try{await t(o),r.push({fileName:s,success:!0})}catch(i){const a=i instanceof Error?i.message:"Unknown error";console.error(`Error uploading image ${s}:`,i),r.push({fileName:s,success:!1,error:a})}return r}function Uo(e,t=5){const r=t*1024*1024;return e.filter(o=>o.originalSize>r?(console.warn(`Image ${o.fileName} exceeds ${t}MB limit (${(o.originalSize/1024/1024).toFixed(2)}MB)`),!1):!0)}function Xo(e,t){return e===t||e.endsWith(`_${t}`)}function Ko(e,t=[]){if(!e||!e.includes(ce))return e;try{const o=new DOMParser().parseFromString(e,"text/html");return o.querySelectorAll(`img[${ce}]`).forEach(i=>{const a=i.getAttribute(ce)||"",d=t.find(l=>Xo(l.fileName,a));d!=null&&d.fileUrl?(i.setAttribute("src",d.fileUrl),i.removeAttribute(ce),i.hasAttribute("alt")||i.setAttribute("alt","")):i.remove()}),o.body.innerHTML}catch(r){return console.error("Error resolving rich text images:",r),e}}function Zo(e,t=[],r){if(!e||t.length===0)return e;const o=new Map,s=r!==void 0?`${r}_`:"";t.forEach(i=>{if(!i.fileUrl)return;const a=s&&i.fileName.startsWith(s)?i.fileName.slice(s.length):i.fileName;o.set(i.fileUrl,a)});try{const a=new DOMParser().parseFromString(e,"text/html");return a.querySelectorAll("img").forEach(l=>{const c=l.getAttribute("src")||"",m=o.get(c);m&&(l.setAttribute(ce,m),l.removeAttribute("src"))}),a.body.innerHTML}catch(i){return console.error("Error remapping attachment images:",i),e}}exports.Accordion=wo;exports.Alert=cr;exports.Avatar=dr;exports.AvatarGroup=ur;exports.Badge=Lo;exports.Button=J;exports.Calendar=ho;exports.Card=Xt;exports.Carousel=Oo;exports.CheckBox=gt;exports.ClearOutlined=ye;exports.CloseOutlined=Ve;exports.Col=Te;exports.CustomFilterDrawer=oo;exports.CustomFilterDrawerHp=so;exports.DatePicker=je;exports.DeleteOutlined=Dt;exports.DirectoryTree=Ao;exports.Divider=Tr;exports.DragAndDrop=bo;exports.Drawer=kr;exports.Dropdown=Jt;exports.EditOutlined=We;exports.Empty=Eo;exports.FeedbackProvider=nr;exports.FileExcelOutlined=_t;exports.FilePdfOutlined=Ht;exports.FilterOutlined=Ye;exports.FilterToolbar=Wn;exports.FloatButton=Ue;exports.Form=he;exports.Image=$o;exports.ImagePreviewGroup=Po;exports.Input=Ge;exports.InputSwitch=Yn;exports.LibraryThemeProvider=_o;exports.List=Ze;exports.Mentions=Ut;exports.Menu=xe;exports.Message=Ho;exports.Modal=Yt;exports.Notification=qn;exports.NotificationBadge=er;exports.NotificationDropdown=To;exports.NumericInput=Pt;exports.Pagination=Xn;exports.Password=$n;exports.PlusOutlined=qe;exports.Progress=Kn;exports.RTE_ATTACHMENT_ATTR=ce;exports.Radio=qt;exports.RadioGroup=Gn;exports.RecentlyViewedList=Ro;exports.RelationSelector=So;exports.RichTextEditor=xo;exports.Row=Xe;exports.Search=Vn;exports.SearchOutlined=Lt;exports.Select=Vt;exports.Skeleton=Un;exports.Space=ao;exports.Spin=Oe;exports.SubToolbar=Jn;exports.Table=Gt;exports.TableTransfer=jo;exports.Tabs=Zn;exports.Tag=lo;exports.TextArea=Pn;exports.Timeline=tr;exports.TimelineWithDefaults=ko;exports.Toolbar=Qn;exports.Tooltip=Wt;exports.Transfer=Co;exports.Tree=Fo;exports.Upload=to;exports.UploadDragger=no;exports.extractImagesFromHtml=qo;exports.remapAttachmentImages=Zo;exports.resolveRichTextImages=Ko;exports.uploadExtractedImages=Go;exports.useFeedback=Io;exports.validateImageSizes=Uo;
118
+ `,he=e=>{const[t]=u.Form.useForm(),r=e.form||t;return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:io}),n.jsx(u.Form,{...e,className:`custom-form ${e.className||""}`,form:r,children:typeof e.children=="function"?e.children(r):e.children})]})};he.Item=u.Form.Item;he.List=u.Form.List;he.useForm=u.Form.useForm;he.useWatch=u.Form.useWatch;he.useFormInstance=u.Form.useFormInstance;const Xe=e=>n.jsx(u.Row,{...e,children:e.children}),Te=e=>n.jsx(u.Col,{...e,children:e.children}),ao=e=>n.jsx(u.Space,{...e,children:e.children}),Xt=e=>n.jsx(u.Card,{...e}),lo=e=>n.jsx(u.Tag,{...e});var co={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return e==="Día"?"Hoy":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+(e==="Semana"?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},uo={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${e===1?"":"s"}`}},fo={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return e==="Dia"?"Hoje":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+(e==="Semana"?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"};const mo={es:co,en:uo,pt:fo},ho=({events:e,initialView:t="dayGridMonth",height:r=600,selectable:o=!0,editable:s=!1,onEventClick:i,onDateSelect:a,renderEventContent:d,localeCode:l="es"})=>{const c=e;function m(h){i&&i({id:h.event.id,title:h.event.title,start:h.event.start,end:h.event.end??void 0,allDay:h.event.allDay})}function f(h){a&&a({start:h.start,end:h.end,allDay:h.allDay})}function p(h){return n.jsxs("div",{children:[n.jsx("b",{children:h.timeText})," ",n.jsx("span",{children:h.event.title})]})}return n.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",flexWrap:"nowrap",padding:"8px 12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,width:"100%",minHeight:"100vh",boxSizing:"border-box"},children:n.jsx(or,{plugins:[sr,ir,ar],initialView:t,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},height:r,selectable:o,editable:s,events:c,eventContent:d??p,eventClick:m,select:f,locale:mo[l||"es"]})})},ft=Me.Quill.import("delta");function po(e){if(!e||typeof e!="string"||!e.includes("<table"))return e;try{const r=new DOMParser().parseFromString(e,"text/html");return r.querySelectorAll("table").forEach(s=>{var d;const i=document.createElement("div");s.querySelectorAll("tr").forEach(l=>{const c=document.createElement("p"),m=l.querySelectorAll("td, th");let f="";m.forEach(p=>{f+=p.innerHTML+"&nbsp;"}),c.innerHTML=f.trim(),i.appendChild(c)}),(d=s.parentNode)==null||d.replaceChild(i,s)}),r.body.innerHTML}catch(t){return console.error("Error transforming table HTML",t),e}}const mt="hp-ui:rte-height:",go=1e4;function ie(e,t){if(e===void 0)return t;if(typeof e=="number")return e;const r=parseInt(e,10);return Number.isNaN(r)?t:r}function ht(e){return typeof e=="number"?`${e}px`:e}function ue(e,t,r){return Math.min(Math.max(e,t),r)}function we(e){return ie(e,go)}const yo=["header","bold","italic","underline","strike","blockquote","list","bullet","link","color","background","align"],xo=({value:e="",onChange:t=()=>{},placeholder:r="Escribe aquí...",modules:o,formats:s,theme:i="snow",height:a="200px",width:d="100%",maxHeight:l=void 0,minHeight:c="100px",autoResize:m=!1,className:f="",allowImages:p=!0,maxLength:h,showCharacterCount:v=void 0,resizable:w=!1,resizeStorageKey:T,resizeAriaLabel:B="Redimensionar editor",...L})=>{const H=x.useRef(null),$=x.useRef(null),[y,k]=x.useState(0),[g,O]=x.useState(a),M=x.useRef(a),C=x.useRef(null);x.useEffect(()=>{M.current!==a&&(M.current=a,O(a))},[a]),x.useEffect(()=>{if(!(!w||!T))try{const b=window.localStorage.getItem(mt+T);if(!b)return;const R=parseInt(b,10);if(Number.isNaN(R))return;const D=ie(c,100),A=we(l);O(ue(R,D,A))}catch{}},[w,T,c,l]),x.useEffect(()=>()=>{var b;(b=C.current)==null||b.call(C)},[]);const I=b=>{if(!(!w||!T))try{window.localStorage.setItem(mt+T,String(b))}catch{}},te=b=>{var le;if(b.button!==0)return;b.preventDefault(),(le=C.current)==null||le.call(C);const R=b.clientY,D=ie(c,100),A=we(l),S=ue(ie(g,D),D,A);let _=S;const P=pe=>{_=ue(S+(pe.clientY-R),D,A),O(_)},ee=()=>{window.removeEventListener("pointermove",P),window.removeEventListener("pointerup",ne),window.removeEventListener("pointercancel",ne),document.body.classList.remove("hp-rte-resizing"),C.current=null},ne=()=>{ee(),I(_)};document.body.classList.add("hp-rte-resizing"),window.addEventListener("pointermove",P),window.addEventListener("pointerup",ne),window.addEventListener("pointercancel",ne),C.current=ee},oe=b=>{const R=ie(c,100),D=we(l),A=ue(ie(g,R),R,D);let S;switch(b.key){case"ArrowUp":S=A-16;break;case"ArrowDown":S=A+16;break;case"PageUp":S=A-64;break;case"PageDown":S=A+64;break;case"Home":S=ie(a,R);break;default:return}b.preventDefault();const _=ue(S,R,D);O(_),I(_)},re=b=>{b.preventDefault();const R=ie(c,100),D=we(l),A=ue(ie(a,R),R,D);O(A),I(A)},j=x.useMemo(()=>h!==void 0?h:3e3,[h]),F=x.useMemo(()=>po(e),[e]),N=x.useMemo(()=>{if(s)return s;const b=[...yo];return p&&b.push("image"),b},[s,p]),V=x.useMemo(()=>{if(o)return o;const b=[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"}]],R=["link"];return p&&R.push("image"),b.push(R),b.push(["clean"]),b.push([{color:[]},{background:[]}]),b.push([{align:[]}]),{toolbar:b,clipboard:{matchVisual:!1}}},[o,p]);x.useEffect(()=>{if(!H.current)return;H.current.getEditor().clipboard.addMatcher("IMG",R=>{var A;if(!p)return new ft;const D=((A=R.getAttribute)==null?void 0:A.call(R,"src"))||"";if(D.startsWith("data:image/")){const S=Me.Quill.import("delta");return new S().insert({image:D})}return new ft})},[p]),x.useEffect(()=>{if(!H.current)return;const b=H.current.getEditor(),R=(A,S,_)=>{if(_!=="user")return;const P=b.getText().trim(),ee=P.length;if(h===void 0){k(P.length);return}if(k(Math.min(ee,h)),ee>h){const ne=b.getContents(),le=[];let pe=0;for(const ae of ne.ops)if(typeof ae.insert=="string"){const Ee=h-pe;if(Ee<=0)break;ae.insert.length<=Ee?(le.push(ae),pe+=ae.insert.length):(le.push({insert:ae.insert.substring(0,Ee),...ae.attributes?{attributes:ae.attributes}:{}}),pe=h)}else le.push(ae);b.setContents(le),k(h)}},D=b.getText().trim().length;return k(h===void 0?D:Math.min(D,h)),b.on("text-change",R),()=>{b.off("text-change",R)}},[h]),x.useEffect(()=>{if(!H.current)return;const b=H.current.getEditor(),D=b.getText().trim().length;if(k(h===void 0?D:Math.min(D,h)),h!==void 0&&D>h){const A=b.getContents(),S=[];let _=0;for(const P of A.ops)if(typeof P.insert=="string"){const ee=h-_;if(ee<=0)break;P.insert.length<=ee?(S.push(P),_+=P.insert.length):(S.push({insert:P.insert.substring(0,ee),...P.attributes?{attributes:P.attributes}:{}}),_=h)}else S.push(P);b.setContents(S),k(h),t(b.root.innerHTML)}},[F,h]),x.useEffect(()=>{if(m&&H.current&&$.current){const b=H.current.getEditor(),R=$.current,D=()=>{const A=R.querySelector(".ql-editor");if(A){const S=A.scrollHeight,_=typeof c=="number"?c:parseInt(c),P=typeof l=="number"?l:parseInt(l??"400px"),ee=Math.min(Math.max(S+42,_),P);R.style.height=`${ee}px`}};return b.on("text-change",D),D(),()=>{b.off("text-change",D)}}},[m,l,c]);const se={width:typeof d=="number"?`${d}px`:d,height:m?"auto":ht(g),minHeight:typeof c=="number"?`${c}px`:c,maxHeight:m?l===void 0?void 0:ht(l):"none",display:"flex",flexDirection:"column",border:"1px solid #d9d9d9",borderRadius:"6px",backgroundColor:"#ffffff",...L.style},z={width:typeof d=="number"?`${d}px`:d,position:"relative"},W={flex:"1 1 auto",minHeight:0,display:"flex",flexDirection:"column"},Y=w&&!L.readOnly&&!m,K=v??h!==void 0,Q=h;return n.jsx("div",{className:"custom-rte-shell",style:z,children:n.jsxs("div",{ref:$,className:`custom-rich-text-editor ${m?"auto-resize":"fixed-height"} ${f}`,style:se,children:[n.jsx(Me,{ref:H,theme:i,value:F,onChange:t,modules:V,formats:N,placeholder:r,style:W,...L}),(K||Y)&&n.jsxs("div",{className:"custom-rte-footer",children:[K&&n.jsx("span",{className:`character-counter ${Q!==void 0&&y>=Q?"at-limit":Q!==void 0&&y>=Q*.9?"near-limit":""}`,children:Q!==void 0?`${y}/${j}`:y}),Y&&n.jsx("div",{className:"custom-rte-resizer",role:"separator","aria-orientation":"horizontal","aria-label":B,title:"Arrastrar para cambiar el alto",tabIndex:0,onPointerDown:te,onDoubleClick:re,onKeyDown:oe})]})]})})},ve=e=>n.jsx(u.Menu,{className:`custom-menu ${e.className||""}`,style:{fontSize:"var(--font-size-medium)",...e.style},...e});ve.Item=e=>n.jsx(u.Menu.Item,{...e,className:`custom-menu-item ${e.className||""}`});ve.SubMenu=e=>n.jsx(u.Menu.SubMenu,{...e,className:`custom-menu-submenu ${e.className||""}`});ve.ItemGroup=u.Menu.ItemGroup;ve.Divider=u.Menu.Divider;const Kt=u.Dropdown,Zt=()=>document.body,Ke=(...e)=>e.filter(Boolean).join(" "),Qt=(e,t)=>({...e,root:Ke("library-components-wrapper",e==null?void 0:e.root,t)}),Jt=({className:e,children:t,items:r,menu:o,getPopupContainer:s,overlayClassName:i,classNames:a,...d})=>{const l=r?{items:r}:o;return n.jsx(Kt,{className:Ke("custom-dropdown",e),classNames:Qt(a,i),getPopupContainer:s??Zt,menu:l,...d,children:t})};Jt.Button=({className:e,overlayClassName:t,getPopupContainer:r,classNames:o,...s})=>n.jsx(Kt.Button,{...s,className:Ke("custom-dropdown-button",e),classNames:Qt(o,t),getPopupContainer:r??Zt});const{Title:vo}=u.Typography,bo=({available:e,selected:t,onChange:r,availableTitle:o="Disponibles",selectedTitle:s="Seleccionados",emptyDescription:i="Arrastra los elementos aquí"})=>{const a=l=>{const{source:c,destination:m}=l;if(m&&!(c.droppableId===m.droppableId&&c.index===m.index))if(c.droppableId===m.droppableId){const f=c.droppableId==="disponibles"?[...e]:[...t],[p]=f.splice(c.index,1);f.splice(m.index,0,p),c.droppableId==="disponibles"?r(f,t):r(e,f)}else{const f=c.droppableId==="disponibles"?[...e]:[...t],p=m.droppableId==="disponibles"?[...e]:[...t],[h]=f.splice(c.index,1);p.splice(m.index,0,h),c.droppableId==="disponibles"?r(f,p):r(p,f)}},d=(l,c,m)=>n.jsxs(Te,{span:12,children:[n.jsx(vo,{level:4,style:{marginBottom:16,fontSize:14},children:c}),n.jsx(Ne.Droppable,{droppableId:l,children:(f,p)=>n.jsxs("div",{ref:f.innerRef,...f.droppableProps,style:{minHeight:300,background:p.isDraggingOver?"#f0f9ff":"#f8fafc",padding:16,borderRadius:8,border:`2px dashed ${p.isDraggingOver?"#3b82f6":"#cbd5e1"}`,transition:"all 0.2s ease"},children:[m.length===0?n.jsx(u.Empty,{description:i,style:{opacity:.3}}):m.map((h,v)=>n.jsx(Ne.Draggable,{draggableId:h.id,index:v,children:(w,T)=>n.jsx("div",{ref:w.innerRef,...w.draggableProps,...w.dragHandleProps,style:{marginBottom:8,cursor:T.isDragging?"grabbing":"grab",opacity:T.isDragging?.8:1,transform:T.isDragging?"rotate(3deg)":"none",...w.draggableProps.style},children:n.jsx(Xt,{size:"small",style:{boxShadow:T.isDragging?"0 4px 6px -1px rgb(0 0 0 / 0.1)":"none",fontSize:"var(--font-size-medium)"},children:h.content})})},h.id)),f.placeholder]})})]});return n.jsx(Ne.DragDropContext,{onDragEnd:a,children:n.jsxs(Xe,{gutter:16,style:{margin:"24px 0"},children:[d("disponibles",o,e),d("seleccionados",s,t)]})})},wo=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,accordion:s=!1,bordered:i=!0,collapsible:a="header",expandIcon:d,expandIconPosition:l="start",ghost:c=!1,size:m="middle",className:f,style:p})=>{const v={items:e.map(w=>({key:w.key,label:w.header,children:w.children,disabled:w.disabled,showArrow:w.showArrow,extra:w.extra,className:w.className,style:w.style})),defaultActiveKey:t,activeKey:r,onChange:o,accordion:s,bordered:i,collapsible:a,expandIcon:d,expandIconPosition:l,ghost:c,size:m,className:f,style:p};return n.jsx(u.Collapse,{...v})},Co=({dataSource:e,targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:a,titles:d=["Origen","Destino"],operations:l=[">","<"],showSearch:c=!1,filterOption:m,disabled:f=!1,listStyle:p,className:h,style:v,render:w,children:T,showSelectAll:B=!0,selectAllLabels:L,oneWay:H=!1,pagination:$=!1,status:y,locale:k,remotePagination:g,onPageChange:O})=>{const M=e.map(N=>({key:N.key,title:N.title,description:N.description,disabled:N.disabled||!1,chosen:N.chosen||!1})),C=o?(N,V,se)=>o(N,V,se):void 0,I=s?(N,V)=>s(N,V):void 0,te=i?(N,V)=>i(N,V):void 0,oe=a?(N,V)=>a(N,V):void 0,re=["hp-transfer",h].filter(Boolean).join(" "),j=!!g&&g.position!=="none",F={dataSource:M,targetKeys:t,selectedKeys:r,onChange:C,onSelectChange:I,onSearch:te,onScroll:oe,titles:d,operations:l,showSearch:c,filterOption:m?(N,V)=>m(N,V):void 0,disabled:f,listStyle:p,className:re,render:w||(N=>N.title),showSelectAll:B,selectAllLabels:L,oneWay:H,pagination:j?!1:$,status:y,locale:k,footer:j?({direction:N})=>{const V=(g==null?void 0:g.position)??"left";if(!(V==="both"||V==="left"&&N==="left"||V==="right"&&N==="right"))return null;const z=N==="left"?g==null?void 0:g.left:g==null?void 0:g.right;if(!z)return null;const{page:W,pageSize:Y,total:K}=z,Q=(g==null?void 0:g.simple)??!0,b=(g==null?void 0:g.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(u.Pagination,{size:"small",simple:Q,current:W,total:K,pageSize:Y,showSizeChanger:b,pageSizeOptions:["5","10","20","50"],onChange:(R,D)=>{O==null||O(N,R,D)}})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...v},children:T?T(F):n.jsx(u.Transfer,{...F})})},jo=({dataSource:e=[],targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:a,titles:d=["Origen","Destino"],operations:l=[">","<"],showSearch:c=!1,filterOption:m,disabled:f=!1,listStyle:p,className:h,style:v,selectAllLabels:w,oneWay:T=!1,status:B,locale:L,leftColumns:H,rightColumns:$,rowKey:y="key",tableSize:k="small",tableScroll:g,showDefaultHeaderActions:O=!0,headerActions:M=[],remotePagination:C,onPageChange:I})=>{const te=(e??[]).map(z=>({...z,key:z.key,title:z.title||z.key||String(z.key),description:z.description,disabled:z.disabled||!1,chosen:z.chosen||!1})),oe=o?(z,W,Y)=>o(z,W,Y):void 0,re=s?(z,W)=>s(z,W):void 0,j=i?(z,W)=>i(z,W):void 0,F=a?(z,W)=>a(z,W):void 0,N=["hp-transfer","hp-table-transfer",h].filter(Boolean).join(" "),V=!!C&&(C.position??"left")!=="none",se={dataSource:te,targetKeys:t,selectedKeys:r,onChange:oe,onSelectChange:re,onSearch:j,onScroll:F,titles:d,operations:l,showSearch:c,filterOption:m,disabled:f,listStyle:p,className:N,showSelectAll:O,selectAllLabels:w,oneWay:T,pagination:!1,status:B,locale:L,footer:V?({direction:z})=>{const W=(C==null?void 0:C.position)??"left";if(!(W==="both"||W==="left"&&z==="left"||W==="right"&&z==="right"))return null;const K=z==="left"?C==null?void 0:C.left:C==null?void 0:C.right;if(!K)return null;const{page:Q,pageSize:b,total:R}=K,D=(C==null?void 0:C.simple)??!0,A=(C==null?void 0:C.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(u.Pagination,{size:"small",simple:D,current:Q,total:R,pageSize:b,showSizeChanger:A,pageSizeOptions:["5","10","20","50"],onChange:(S,_)=>I==null?void 0:I(z,S,_)})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...v},children:n.jsx(u.Transfer,{...se,children:({direction:z,filteredItems:W,onItemSelect:Y,onItemSelectAll:K,selectedKeys:Q,disabled:b})=>{const R=z==="left"?H:$??H,D={getCheckboxProps:S=>({disabled:b||S.disabled}),selectedRowKeys:Q,onSelect:(S,_)=>{Y(S.key,_)},hideSelectAll:!1,onChange:S=>{K(S,"replace")},selections:(()=>{const S=[];return O&&S.push({key:"select-all-data",text:"Select all data",onSelect:()=>{const _=W.map(P=>P.key);K(_,"replace")}},{key:"invert-current-page",text:"Invert current page",onSelect:()=>{const _=W.map(ne=>ne.key),P=Q,ee=_.filter(ne=>!P.includes(ne));K(ee,"replace")}}),M.forEach(_=>{S.push({key:_.key,text:_.label,onSelect:()=>{var P;(P=_.onClick)==null||P.call(_,z,Q)}})}),S.length>0?S:!1})()},A=typeof y=="function"?y:S=>S[y];return n.jsx(u.Table,{showHeader:!0,size:k,columns:R,dataSource:W,rowKey:A,pagination:!1,rowSelection:D,style:{pointerEvents:b?"none":void 0,height:"100%"},onRow:S=>({onClick:()=>{if(b||S.disabled)return;const _=!Q.includes(S.key);Y(S.key,_)}}),scroll:g})}})})},So=({leftPanel:e,rightPanel:t,responsive:r={xs:24,sm:12,md:12},gutter:o=[16,8],className:s,style:i})=>{const a=(l,c)=>typeof t.rowKey=="function"?t.rowKey(l):l[t.rowKey]||String(c),d=(()=>{const l=t.pagination;return l&&{size:"small",showTotal:(c,m)=>`${m[1]-m[0]+1} de ${c} registros`,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},...l}})();return n.jsx("div",{className:`custom-relation-selector ${s||""}`,style:i,children:n.jsxs(Xe,{gutter:o,children:[n.jsx(Te,{...r,children:n.jsxs(u.Card,{title:e.title,className:`relation-selector-card ${e.cardClassName||""}`,extra:e.extra,children:[e.filters&&n.jsx("div",{className:"relation-selector-filters",children:e.filters}),e.error&&n.jsx(u.Alert,{message:e.error,type:"error",showIcon:!0,className:"relation-selector-error"}),n.jsx("div",{style:{overflowX:"auto",width:"100%",maxWidth:"100%",marginTop:10},children:n.jsx(Gt,{...e.table,showHeader:!0,scroll:e.table.scroll??{x:"max-content"},className:`relation-selector-table ${e.table.className||""}`})}),e.actionButton&&n.jsx("div",{className:"relation-selector-action",children:n.jsx(u.Button,{type:e.actionButton.type||"primary",icon:e.actionButton.icon,onClick:e.actionButton.onClick,disabled:e.actionButton.disabled,loading:e.actionButton.loading,danger:e.actionButton.danger,children:e.actionButton.text})})]})}),n.jsx(Te,{...r,children:n.jsxs(u.Card,{title:t.title,className:`relation-selector-card ${t.cardClassName||""}`,extra:t.extra,styles:{body:{overflow:t.loading?"hidden":"auto"}},children:[t.filters&&n.jsx("div",{className:"relation-selector-filters",children:t.filters}),t.loading?n.jsx("div",{className:"relation-selector-loading",children:n.jsx(Oe,{spinning:!0,indicator:t.spinType,size:"small",spinType:"helppeople"})}):t.data.length===0?n.jsx(u.Empty,{description:t.emptyText||"No hay datos"}):n.jsx(u.List,{size:"small",className:`relation-selector-list ${t.listClassName||""}`,itemLayout:t.itemLayout||"horizontal",dataSource:t.data,pagination:d,renderItem:(l,c)=>{const m=t.renderItem(l);return n.jsx(u.List.Item,{actions:m.actions,children:n.jsx(u.List.Item.Meta,{title:m.title,description:m.description})},a(l,c))}})]})})]})})},er=({count:e=0,overflowCount:t=99,dot:r=!1,color:o,size:s="default",icon:i,useButton:a=!1,buttonType:d="text",buttonShape:l="circle",onClick:c,style:m,containerStyle:f,showZero:p=!1,offset:h,className:v,disabled:w=!1})=>{const T=()=>{switch(s){case"small":return"18px";case"large":return"28px";default:return"24px"}},B=i||n.jsx(Pe,{style:{fontSize:T(),...f}}),L=a?n.jsx(u.Button,{type:d,icon:B,shape:l,onClick:c,style:f,disabled:w,className:v}):n.jsx("span",{onClick:c,style:{cursor:c?"pointer":"default",display:"inline-flex",alignItems:"center",justifyContent:"center",...f},className:v,children:B});return n.jsx(u.Badge,{count:e,overflowCount:t,dot:r,color:o,showZero:p,offset:h,style:m,children:L})},To=({count:e,notifications:t=[],icon:r,size:o="default",useButton:s=!1,buttonType:i="text",onNotificationClick:a,onLoadMore:d,hasMore:l=!1,loading:c=!1,renderNotification:m,loadMoreText:f="Cargar más",emptyText:p="No hay notificaciones",popoverWidth:h=380,overflowCount:v=99,badgeColor:w,showZero:T=!1,containerStyle:B,popoverTitle:L="Notificaciones",onOpenChange:H,headerAction:$,maxHeight:y=400,placement:k="bottomRight"})=>{const[g,O]=x.useState(!1),M=x.useRef(null),C=x.useRef(0),I=j=>{O(j),H==null||H(j)},te=j=>{a==null||a(j)};x.useEffect(()=>{if(!M.current||!l||c)return;const j=new IntersectionObserver(F=>{const N=Date.now();F[0].isIntersecting&&l&&!c&&N-C.current>1e3&&(C.current=N,d==null||d())},{threshold:.1});return j.observe(M.current),()=>j.disconnect()},[l,c,d]);const oe=j=>n.jsxs("div",{style:{padding:"12px",cursor:j.actions?"default":"pointer",backgroundColor:j.read?"transparent":"#f0f7ff",borderRadius:"4px",transition:"background-color 0.3s",width:"100%",boxSizing:"border-box"},onMouseEnter:F=>{F.currentTarget.style.backgroundColor=j.read?"#fafafa":"#e6f4ff"},onMouseLeave:F=>{F.currentTarget.style.backgroundColor=j.read?"transparent":"#f0f7ff"},children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"4px"},children:[n.jsx("span",{style:{fontWeight:j.read?400:600,fontSize:"14px",color:j.read?"#595959":"#262626"},children:j.title}),!j.read&&n.jsx("span",{style:{width:"8px",height:"8px",backgroundColor:"#1890ff",borderRadius:"50%",marginLeft:"8px",flexShrink:0}})]}),j.description&&n.jsx("div",{style:{fontSize:"13px",color:"#8c8c8c",marginBottom:j.actions?"8px":"4px",lineHeight:"1.4"},children:j.description}),j.timestamp&&n.jsx("div",{style:{fontSize:"12px",color:"#bfbfbf",marginBottom:j.actions?"8px":"0"},children:j.timestamp}),j.actions&&j.actions.length>0&&n.jsx(u.Space,{size:"small",style:{marginTop:"8px"},children:j.actions.map((F,N)=>n.jsx(u.Button,{type:F.type||"default",size:F.size||"small",icon:F.icon,danger:F.danger,disabled:F.disabled,onClick:V=>{V.stopPropagation(),F.onClick(j)},children:F.label},N))})]}),re=n.jsxs("div",{style:{width:h},children:[$&&n.jsxs(n.Fragment,{children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[n.jsx("span",{style:{fontWeight:600,fontSize:"14px"},children:L}),$]}),n.jsx(u.Divider,{style:{margin:"8px 0"}})]}),n.jsxs("div",{style:{maxHeight:y,overflowY:"auto"},children:[t.length===0?n.jsx(u.Empty,{description:p,image:u.Empty.PRESENTED_IMAGE_SIMPLE,style:{padding:"24px 0"}}):n.jsx(u.List,{dataSource:t,renderItem:j=>n.jsx(u.List.Item,{style:{padding:0,border:"none",marginBottom:"4px",width:"100%"},onClick:()=>te(j),children:m?m(j):oe(j)})}),c&&t.length>0&&n.jsx("div",{style:{textAlign:"center",padding:"12px 0"},children:n.jsx(Ft,{style:{fontSize:16,color:"#999"}})}),l&&t.length>0&&!c&&n.jsx("div",{style:{textAlign:"center",padding:"8px 0"},children:n.jsx(J,{text:f,onClick:d||(()=>{}),style:{width:"100%"}})}),l&&n.jsx("div",{ref:M,style:{height:1}})]})]});return n.jsx(u.Popover,{content:re,title:$?null:L,trigger:"click",open:g,onOpenChange:I,placement:k,overlayStyle:{maxWidth:h+48},children:n.jsx("div",{style:{display:"inline-block",cursor:"pointer"},children:n.jsx(er,{count:e!==void 0?e:t.filter(j=>!j.read).length,icon:r||n.jsx(Pe,{}),size:o,useButton:s,buttonType:i,overflowCount:v,color:w,showZero:T,containerStyle:B})})})};function tr({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,style:i,className:a,...d}){const l=e.map((c,m)=>s(c,m));return n.jsx(u.Timeline,{mode:t,reverse:r,pending:o,items:l,style:{fontFamily:"var(--font-family, inherit)",...i},className:a,...d})}const ko=({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,showExpediente:i=!1,showUsuario:a=!0,showFlujo:d=!1,dateFormatter:l,style:c,className:m,...f})=>{const p=v=>{if(l)return l(v);try{return new Date(v).toLocaleString("es-ES",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}catch{return v}},h=v=>({label:n.jsx("span",{style:{fontWeight:"500"},children:p(v.Fecha)}),children:n.jsxs("div",{style:{paddingBottom:"8px"},children:[i&&v.CodigoExpediente&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Expediente:"})," ",v.CodigoExpediente]}),d&&v.DescripcionFlujo&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Flujo:"})," ",v.DescripcionFlujo]}),a&&v.NombreUsuario&&n.jsxs("div",{style:{marginBottom:"4px",color:"var(--color-text-secondary, #666)",fontSize:"var(--font-size-small, 12px)"},children:[n.jsx("strong",{children:"Usuario:"})," ",v.NombreUsuario]}),n.jsx("div",{style:{marginTop:"8px"},children:v.Mensaje})]}),color:v.color||"blue",dot:v.dot});return n.jsx(tr,{data:e,mode:t,reverse:r,pending:o,renderItem:s||h,style:c,className:m,...f})},Oo=({className:e,...t})=>n.jsx("div",{className:`custom-carousel-wrapper ${e||""}`,children:n.jsx(u.Carousel,{...t})}),Eo=e=>n.jsx(u.Empty,{...e}),No=({className:e,style:t,...r},o)=>n.jsx(u.List,{ref:o,className:`${e}`,style:t,...r}),Ze=x.forwardRef(No);Ze.Item=u.List.Item;Ze.ItemMeta=u.List.Item.Meta;const pt=(...e)=>e.filter(Boolean).join(" "),zo=(e,t)=>e.length===t.length&&e.every((r,o)=>r===t[o]),Ie=(e,t,r)=>{const o=Math.min(Math.max(t,0),e.length),s=e.find(l=>l.id===r),i=e.slice(0,o);if(!s||i.some(l=>l.id===s.id))return{visibleItems:i,overflowItems:e.slice(o)};const a=[...e.slice(0,Math.max(o-1,0)),s],d=new Set(a.map(l=>l.id));return{visibleItems:a,overflowItems:e.filter(l=>!d.has(l.id))}},Ro=({items:e,currentItemId:t,navigationLabel:r,onNavigate:o,onOverflow:s,className:i,onRemove:a,getRemoveLabel:d,getFallbackFocus:l,getRemoveAnnouncement:c})=>{const m=x.useRef(null),f=x.useRef(null),p=x.useRef(new Map),h=x.useRef(new Map),v=x.useRef(),w=x.useRef(),T=x.useRef(),[B,L]=x.useState(e.length),[H,$]=x.useState({sequence:0,text:""});x.useLayoutEffect(()=>{const g=m.current,O=f.current;if(!g||!O||typeof ResizeObserver>"u"){L(e.length);return}const M=I=>{var se,z,W;const te=O.firstElementChild;if(!te||I<=0){L(e.length);return}const oe=te.getBoundingClientRect().width,re=window.getComputedStyle(O),j=Number.parseFloat(re.columnGap||re.gap)||0,F=Math.max(1,Math.floor((I+j)/(oe+j))),N=document.activeElement,V=N?(se=Array.from(p.current.entries()).find(([,Y])=>Y.contains(N)))==null?void 0:se[0]:void 0;if(V!==void 0){const{visibleItems:Y}=Ie(e,F,t);Y.some(K=>K.id===V)||(w.current=((z=Y.find(K=>K.id===t))==null?void 0:z.id)??((W=Y[Y.length-1])==null?void 0:W.id)??null)}L(Y=>Y===F?Y:F)},C=new ResizeObserver(([I])=>{I&&M(I.contentRect.width)});return M(g.getBoundingClientRect().width),C.observe(g),()=>C.disconnect()},[t,e]);const{visibleItems:y,overflowItems:k}=Ie(e,B,t);return x.useLayoutEffect(()=>{var O,M;const g=w.current;if(g!==void 0){if(w.current=void 0,g===null){(O=m.current)==null||O.focus();return}(M=h.current.get(g))==null||M.focus()}},[y]),x.useEffect(()=>{if(k.length===0){T.current=void 0;return}const g=k.map(M=>M.id),O=T.current;(O==null?void 0:O.capacity)===B&&zo(O.ids,g)||(T.current={capacity:B,ids:g},s(k))},[s,k,B]),x.useEffect(()=>{var O;const g=v.current;if(g&&!e.some(M=>M.id===g.item.id)){v.current=void 0;const{visibleItems:M}=Ie(e,B,t),C=M[Math.min(g.index,M.length-1)];C?(O=h.current.get(C.id))==null||O.focus():l==null||l().focus();const I=c==null?void 0:c(g.item);I&&$(({sequence:te})=>({sequence:te+1,text:I}))}},[t,l,c,e,B]),e.length===0?null:n.jsxs("nav",{ref:m,"aria-label":r,className:pt("recently-viewed-list",i),tabIndex:-1,children:[n.jsx("ul",{ref:f,className:"recently-viewed-list__items",children:y.map((g,O)=>{const M=g.id===t,C=`${g.code} · ${g.label}`;return n.jsxs("li",{"aria-current":M?"page":void 0,className:pt("recently-viewed-list__item",M?"recently-viewed-list__item--current":void 0),ref:I=>{I?p.current.set(g.id,I):p.current.delete(g.id)},children:[n.jsx(J,{ref:I=>{I?h.current.set(g.id,I):h.current.delete(g.id)},className:"recently-viewed-list__navigate",type:"default",text:C,tooltip:C,onClick:()=>o(g)}),a!==void 0&&d!==void 0&&n.jsx(J,{className:"recently-viewed-list__remove",type:"default",icon:n.jsx(Ve,{"aria-hidden":"true"}),text:d(g),tooltip:d(g),onClick:()=>{v.current={item:g,index:O},a(g)}})]},g.id)})}),n.jsx("span",{"aria-atomic":"true","aria-live":"polite",className:"recently-viewed-list__announcement",role:"status",children:H.text},H.sequence)]})},rr=x.createContext(null),Io=()=>{const e=x.useContext(rr);if(!e)throw new Error("useFeedback() debe usarse dentro de <FeedbackProvider>. Asegúrate de que FeedbackProvider envuelve tu árbol de componentes.");return e},Mo=({children:e,onReady:t})=>{const{notification:r,message:o,modal:s}=u.App.useApp(),i={notification:r,message:o,modal:s},a=x.useRef(!1);return x.useEffect(()=>{!a.current&&t&&(t(i),a.current=!0)},[t,i]),n.jsx(rr.Provider,{value:i,children:e})},nr=({children:e,onReady:t})=>n.jsx(u.App,{children:n.jsx(Mo,{onReady:t,children:e})}),Do={INPUT_HEIGHT:25,FONT_SIZE:12,PRIMARY_COLOR:"#1b1464",FONT_FAMILY:'"Open Sans", sans-serif',TABLE_ROW_HEIGHT:25,BORDER_COLOR:"#d9d9d9",TEXT_COLOR:"#333333"},_o=({children:e,customTokens:t={}})=>{const r={...Do,...t};return n.jsx(u.ConfigProvider,{theme:{token:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,colorPrimary:r.PRIMARY_COLOR,fontFamily:r.FONT_FAMILY,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgBase:"#ffffff"},components:{Button:{fontSize:r.FONT_SIZE,controlHeight:22,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044",colorText:r.TEXT_COLOR,colorBgContainer:"#ffffff",colorBorder:r.BORDER_COLOR},Table:{cellFontSize:r.FONT_SIZE,cellPaddingBlock:4,headerBg:"#fafafa",headerColor:r.TEXT_COLOR,headerSplitColor:r.BORDER_COLOR,colorText:"inherit",rowSelectedBg:"#e8e6f0",rowSelectedHoverBg:"#d9d5e8",rowHoverBg:"#f5f5f5"},Input:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},Select:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},DatePicker:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY,colorBorder:r.BORDER_COLOR,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",borderRadius:4,paddingInline:8},Checkbox:{colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044"},Spin:{colorPrimary:r.PRIMARY_COLOR,dotSize:20,dotSizeSM:16,dotSizeLG:24},Transfer:{listHeight:200,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgContainer:"#ffffff",fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY},Divider:{fontSize:r.FONT_SIZE,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,fontFamily:r.FONT_FAMILY}}},children:n.jsx(nr,{children:n.jsx("div",{className:"library-components-wrapper","data-input-height":r.INPUT_HEIGHT,"data-font-size":r.FONT_SIZE,"data-primary-color":r.PRIMARY_COLOR,children:e})})})},Ho={open:e=>{u.message.open(e)},success:(e,t,r)=>{u.message.success(e,t,r)},error:(e,t,r)=>{u.message.error(e,t,r)},info:(e,t,r)=>{u.message.info(e,t,r)},warning:(e,t,r)=>{u.message.warning(e,t,r)},loading:(e,t,r)=>{u.message.loading(e,t,r)}},{DirectoryTree:Bo}=u.Tree,Fo=({style:e,...t})=>n.jsx(u.Tree,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),Ao=({style:e,...t})=>n.jsx(Bo,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),Lo=({count:e,dot:t=!1,overflowCount:r=99,showZero:o=!1,size:s="default",status:i,text:a,color:d,offset:l,children:c,style:m,className:f,...p})=>n.jsx(u.Badge,{count:e,dot:t,overflowCount:r,showZero:o,size:s,status:i,text:a,color:d,offset:l,style:{fontSize:"var(--font-size-medium)",...m},className:f,...p,children:c}),$o=({src:e,width:t,height:r,alt:o="",fallback:s,placeholder:i,preview:a=!0,style:d,className:l,...c})=>n.jsx(u.Image,{src:e,width:t,height:r,alt:o,fallback:s,placeholder:i,preview:a,style:d,className:l,...c}),Po=({children:e,preview:t,items:r,fallback:o})=>n.jsx(u.Image.PreviewGroup,{preview:t,items:r,fallback:o,children:e}),Vo={"image/jpeg":"jpg","image/jpg":"jpg","image/png":"png","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/bmp":"bmp","image/tiff":"tiff","image/x-icon":"ico","image/vnd.microsoft.icon":"ico"};function Wo(e){const t=e.toLowerCase().trim();return Vo[t]||"png"}const ce="data-rte-attachment",Ce={maxWidth:1600,quality:.85};async function Yo(e){return new Promise((t,r)=>{const o=new Image,s=new FileReader;s.onload=i=>{var a;o.src=(a=i.target)==null?void 0:a.result},o.onload=()=>{let{width:i,height:a}=o;if(i>Ce.maxWidth){const f=Ce.maxWidth/i;i=Ce.maxWidth,a=Math.round(a*f)}const d=document.createElement("canvas");d.width=i,d.height=a;const l=d.getContext("2d");if(!l){r(new Error("No se pudo crear el contexto del canvas"));return}l.drawImage(o,0,0,i,a);const c=e.type||"image/jpeg",m=c==="image/jpeg"||c==="image/webp";d.toBlob(f=>{if(!f){r(new Error("No se pudo comprimir la imagen"));return}const p=new File([f],e.name,{type:c});t(p)},c,m?Ce.quality:void 0)},o.onerror=()=>r(new Error("Error cargando imagen")),s.onerror=()=>r(new Error("Error leyendo archivo")),s.readAsDataURL(e)})}async function qo(e,t="image",r={}){const{preserveMarkers:o=!1}=r;if(!e)return{cleanHtml:"",images:[]};const i=new DOMParser().parseFromString(e,"text/html"),a=i.querySelectorAll("img"),d=[];let l=0;for(const m of Array.from(a)){const f=m.getAttribute("src")||"";if(!f.startsWith("data:image/"))continue;const p=f.match(/^data:(image\/[^;]+);base64,(.+)$/i);if(!p)continue;const h=p[1],v=p[2];let w;try{const k=atob(v),g=[];for(let O=0;O<k.length;O+=512){const M=k.slice(O,O+512),C=new Array(M.length);for(let I=0;I<M.length;I++)C[I]=M.charCodeAt(I);g.push(new Uint8Array(C))}w=new Blob(g,{type:h})}catch(k){console.error("Error converting base64 to blob:",k);continue}l++;const T=Wo(h),B=Date.now(),L=`${t}_${B}_${l}.${T}`,H=new File([w],L,{type:h});let $=H;try{$=await Yo(H)}catch(k){console.warn("No se pudo comprimir la imagen, usando original:",k)}const y=$.name;d.push({file:$,fileName:y,mimeType:$.type,originalSize:$.size}),o?(m.setAttribute(ce,y),m.removeAttribute("src")):m.remove()}return{cleanHtml:i.body.innerHTML,images:d}}async function Go(e,t){const r=[];for(const{file:o,fileName:s}of e)try{await t(o),r.push({fileName:s,success:!0})}catch(i){const a=i instanceof Error?i.message:"Unknown error";console.error(`Error uploading image ${s}:`,i),r.push({fileName:s,success:!1,error:a})}return r}function Uo(e,t=5){const r=t*1024*1024;return e.filter(o=>o.originalSize>r?(console.warn(`Image ${o.fileName} exceeds ${t}MB limit (${(o.originalSize/1024/1024).toFixed(2)}MB)`),!1):!0)}function Xo(e,t){return e===t||e.endsWith(`_${t}`)}function Ko(e,t=[]){if(!e||!e.includes(ce))return e;try{const o=new DOMParser().parseFromString(e,"text/html");return o.querySelectorAll(`img[${ce}]`).forEach(i=>{const a=i.getAttribute(ce)||"",d=t.find(l=>Xo(l.fileName,a));d!=null&&d.fileUrl?(i.setAttribute("src",d.fileUrl),i.removeAttribute(ce),i.hasAttribute("alt")||i.setAttribute("alt","")):i.remove()}),o.body.innerHTML}catch(r){return console.error("Error resolving rich text images:",r),e}}function Zo(e,t=[],r){if(!e||t.length===0)return e;const o=new Map,s=r!==void 0?`${r}_`:"";t.forEach(i=>{if(!i.fileUrl)return;const a=s&&i.fileName.startsWith(s)?i.fileName.slice(s.length):i.fileName;o.set(i.fileUrl,a)});try{const a=new DOMParser().parseFromString(e,"text/html");return a.querySelectorAll("img").forEach(l=>{const c=l.getAttribute("src")||"",m=o.get(c);m&&(l.setAttribute(ce,m),l.removeAttribute("src"))}),a.body.innerHTML}catch(i){return console.error("Error remapping attachment images:",i),e}}exports.Accordion=wo;exports.Alert=cr;exports.Avatar=dr;exports.AvatarGroup=ur;exports.Badge=Lo;exports.Button=J;exports.Calendar=ho;exports.Card=Xt;exports.Carousel=Oo;exports.CheckBox=gt;exports.ClearOutlined=xe;exports.CloseOutlined=Ve;exports.Col=Te;exports.CustomFilterDrawer=oo;exports.CustomFilterDrawerHp=so;exports.DatePicker=je;exports.DeleteOutlined=Dt;exports.DirectoryTree=Ao;exports.Divider=Tr;exports.DragAndDrop=bo;exports.Drawer=kr;exports.Dropdown=Jt;exports.EditOutlined=We;exports.Empty=Eo;exports.FeedbackProvider=nr;exports.FileExcelOutlined=_t;exports.FilePdfOutlined=Ht;exports.FilterOutlined=Ye;exports.FilterToolbar=Wn;exports.FloatButton=Ue;exports.Form=he;exports.Image=$o;exports.ImagePreviewGroup=Po;exports.Input=Ge;exports.InputSwitch=Yn;exports.LibraryThemeProvider=_o;exports.List=Ze;exports.Mentions=Ut;exports.Menu=ve;exports.Message=Ho;exports.Modal=Yt;exports.Notification=qn;exports.NotificationBadge=er;exports.NotificationDropdown=To;exports.NumericInput=Pt;exports.Pagination=Xn;exports.Password=$n;exports.PlusOutlined=qe;exports.Progress=Kn;exports.RTE_ATTACHMENT_ATTR=ce;exports.Radio=qt;exports.RadioGroup=Gn;exports.RecentlyViewedList=Ro;exports.RelationSelector=So;exports.RichTextEditor=xo;exports.Row=Xe;exports.Search=Vn;exports.SearchOutlined=Lt;exports.Select=Vt;exports.Skeleton=Un;exports.Space=ao;exports.Spin=Oe;exports.SubToolbar=Jn;exports.Table=Gt;exports.TableTransfer=jo;exports.Tabs=Zn;exports.Tag=lo;exports.TextArea=Pn;exports.Timeline=tr;exports.TimelineWithDefaults=ko;exports.Toolbar=Qn;exports.Tooltip=Wt;exports.Transfer=Co;exports.Tree=Fo;exports.Upload=to;exports.UploadDragger=no;exports.extractImagesFromHtml=qo;exports.remapAttachmentImages=Zo;exports.resolveRichTextImages=Ko;exports.uploadExtractedImages=Go;exports.useFeedback=Io;exports.validateImageSizes=Uo;